@mapsindoors/map-template 1.89.0 → 1.89.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.
Files changed (43) hide show
  1. package/dist/{GoogleMapsMap-532b45c7.mjs → GoogleMapsMap-52baff50.mjs} +2 -2
  2. package/dist/{MapboxMap-56c170d9.mjs → MapboxMap-4def7f8c.mjs} +2 -2
  3. package/dist/{combo-box-item.entry-3a5faacf.mjs → combo-box-item.entry-9fa90934.mjs} +2 -2
  4. package/dist/mapsindoors-react.es.js +1 -1
  5. package/dist/mapsindoors-react.umd.js +28 -28
  6. package/dist/mapsindoors-webcomponent.es.js +877 -875
  7. package/dist/mapsindoors-webcomponent.umd.js +22 -22
  8. package/dist/{mi-card_2.entry-9bc82f82.mjs → mi-card_2.entry-802ac37a.mjs} +2 -2
  9. package/dist/{mi-chip.entry-098ec0b4.mjs → mi-chip.entry-5e280243.mjs} +2 -2
  10. package/dist/{mi-column.entry-c6d8ff92.mjs → mi-column.entry-d8d03cc3.mjs} +2 -2
  11. package/dist/{mi-combo-box.entry-b8ad28ad.mjs → mi-combo-box.entry-a25bc003.mjs} +2 -2
  12. package/dist/{mi-data-table.entry-d2cf5b2f.mjs → mi-data-table.entry-38fdabfe.mjs} +2 -2
  13. package/dist/{mi-distance_2.entry-aef3bcbb.mjs → mi-distance_2.entry-c2092d97.mjs} +2 -2
  14. package/dist/{mi-dropdown-item.entry-f6ba5610.mjs → mi-dropdown-item.entry-ca411ec6.mjs} +2 -2
  15. package/dist/{mi-dropdown.entry-fbc6b24d.mjs → mi-dropdown.entry-1c8e2c37.mjs} +2 -2
  16. package/dist/{mi-floor-selector.entry-fb2694f9.mjs → mi-floor-selector.entry-a07a669e.mjs} +2 -2
  17. package/dist/{mi-keyboard.entry-d939275c.mjs → mi-keyboard.entry-93aae114.mjs} +2 -2
  18. package/dist/{mi-list-item-category.entry-e1cf5fce.mjs → mi-list-item-category.entry-21a8e269.mjs} +2 -2
  19. package/dist/{mi-list-item-location.entry-cc1a4630.mjs → mi-list-item-location.entry-e4d6c7c4.mjs} +2 -2
  20. package/dist/{mi-list.entry-95708421.mjs → mi-list.entry-2eb6e6fb.mjs} +2 -2
  21. package/dist/{mi-location-booking.entry-0a5fead8.mjs → mi-location-booking.entry-b509de62.mjs} +2 -2
  22. package/dist/{mi-location-info.entry-9ceac587.mjs → mi-location-info.entry-154935dc.mjs} +2 -2
  23. package/dist/{mi-map-googlemaps.entry-3704d566.mjs → mi-map-googlemaps.entry-a5f9563e.mjs} +2 -2
  24. package/dist/{mi-map-mapbox.entry-a8b22483.mjs → mi-map-mapbox.entry-ce668a41.mjs} +2 -2
  25. package/dist/{mi-metric-card.entry-849ff3c9.mjs → mi-metric-card.entry-5e3e27de.mjs} +2 -2
  26. package/dist/{mi-my-position.entry-4ae00196.mjs → mi-my-position.entry-4ae16267.mjs} +2 -2
  27. package/dist/{mi-notification.entry-bf23939a.mjs → mi-notification.entry-7f79d65b.mjs} +2 -2
  28. package/dist/{mi-route-instructions-heading.entry-d0c49625.mjs → mi-route-instructions-heading.entry-83ab110e.mjs} +2 -2
  29. package/dist/{mi-route-instructions-maneuver-legacy.entry-cb445395.mjs → mi-route-instructions-maneuver-legacy.entry-40e523b3.mjs} +2 -2
  30. package/dist/{mi-route-instructions-maneuver.entry-27e18e2a.mjs → mi-route-instructions-maneuver.entry-c96d4a48.mjs} +2 -2
  31. package/dist/{mi-route-instructions-step-legacy.entry-cf228b9e.mjs → mi-route-instructions-step-legacy.entry-95b197e9.mjs} +2 -2
  32. package/dist/{mi-route-instructions-step.entry-42796d6e.mjs → mi-route-instructions-step.entry-51700897.mjs} +2 -2
  33. package/dist/{mi-route-instructions.entry-c0494032.mjs → mi-route-instructions.entry-3c705f65.mjs} +2 -2
  34. package/dist/{mi-scroll-buttons.entry-56b809db.mjs → mi-scroll-buttons.entry-f963323c.mjs} +2 -2
  35. package/dist/{mi-search.entry-1a824f73.mjs → mi-search.entry-5e9944fa.mjs} +2 -2
  36. package/dist/{mi-share-sms.entry-553795c8.mjs → mi-share-sms.entry-03f29b65.mjs} +2 -2
  37. package/dist/{mi-step-switcher.entry-f5c16587.mjs → mi-step-switcher.entry-15bdbe42.mjs} +2 -2
  38. package/dist/{mi-tab-panel.entry-06f88f72.mjs → mi-tab-panel.entry-32e39b1f.mjs} +2 -2
  39. package/dist/{mi-tab.entry-a6a8666e.mjs → mi-tab.entry-d1191ee1.mjs} +2 -2
  40. package/dist/{mi-tabs.entry-bfc0c92c.mjs → mi-tabs.entry-a517b481.mjs} +2 -2
  41. package/dist/{mi-time.entry-50a70928.mjs → mi-time.entry-eb59c534.mjs} +2 -2
  42. package/dist/{reactcomponent-d39ad999.mjs → reactcomponent-39094f44.mjs} +348 -346
  43. package/package.json +1 -1
@@ -376,7 +376,7 @@ var Oe = XL.exports, lz = { exports: {} }, xa = {}, cz = { exports: {} }, uz = {
376
376
  return w.now() - a;
377
377
  };
378
378
  }
379
- var E = [], j = [], Q = 1, K = null, W = 3, le = !1, fe = !1, we = !1, $e = typeof setTimeout == "function" ? setTimeout : null, me = typeof clearTimeout == "function" ? clearTimeout : null, ie = typeof setImmediate < "u" ? setImmediate : null;
379
+ var E = [], j = [], Q = 1, q = null, W = 3, le = !1, fe = !1, we = !1, $e = typeof setTimeout == "function" ? setTimeout : null, me = typeof clearTimeout == "function" ? clearTimeout : null, ie = typeof setImmediate < "u" ? setImmediate : null;
380
380
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
381
381
  function te(St) {
382
382
  for (var Ht = o(j); Ht !== null; ) {
@@ -402,17 +402,17 @@ var Oe = XL.exports, lz = { exports: {} }, xa = {}, cz = { exports: {} }, uz = {
402
402
  fe = !1, we && (we = !1, me(nt), nt = -1), le = !0;
403
403
  var Z = W;
404
404
  try {
405
- for (te(Ht), K = o(E); K !== null && (!(K.expirationTime > Ht) || St && !dt()); ) {
406
- var ne = K.callback;
405
+ for (te(Ht), q = o(E); q !== null && (!(q.expirationTime > Ht) || St && !dt()); ) {
406
+ var ne = q.callback;
407
407
  if (typeof ne == "function") {
408
- K.callback = null, W = K.priorityLevel;
409
- var T = ne(K.expirationTime <= Ht);
410
- Ht = e.unstable_now(), typeof T == "function" ? K.callback = T : K === o(E) && u(E), te(Ht);
408
+ q.callback = null, W = q.priorityLevel;
409
+ var T = ne(q.expirationTime <= Ht);
410
+ Ht = e.unstable_now(), typeof T == "function" ? q.callback = T : q === o(E) && u(E), te(Ht);
411
411
  } else
412
412
  u(E);
413
- K = o(E);
413
+ q = o(E);
414
414
  }
415
- if (K !== null)
415
+ if (q !== null)
416
416
  var k = !0;
417
417
  else {
418
418
  var F = o(j);
@@ -420,7 +420,7 @@ var Oe = XL.exports, lz = { exports: {} }, xa = {}, cz = { exports: {} }, uz = {
420
420
  }
421
421
  return k;
422
422
  } finally {
423
- K = null, W = Z, le = !1;
423
+ q = null, W = Z, le = !1;
424
424
  }
425
425
  }
426
426
  var _e = !1, Je = null, nt = -1, Ye = 5, xt = -1;
@@ -2222,7 +2222,7 @@ function t3(e, i, o, u, d) {
2222
2222
  u = u.return;
2223
2223
  }
2224
2224
  Az(function() {
2225
- var j = _, Q = AI(o), K = [];
2225
+ var j = _, Q = AI(o), q = [];
2226
2226
  e: {
2227
2227
  var W = n8.get(e);
2228
2228
  if (W !== void 0) {
@@ -2312,7 +2312,7 @@ function t3(e, i, o, u, d) {
2312
2312
  break;
2313
2313
  ie = ie.return;
2314
2314
  }
2315
- 0 < we.length && (W = new le(W, fe, null, o, Q), K.push({ event: W, listeners: we }));
2315
+ 0 < we.length && (W = new le(W, fe, null, o, Q), q.push({ event: W, listeners: we }));
2316
2316
  }
2317
2317
  }
2318
2318
  if (!(i & 7)) {
@@ -2339,7 +2339,7 @@ function t3(e, i, o, u, d) {
2339
2339
  }
2340
2340
  else
2341
2341
  we = null;
2342
- le !== null && PC(K, W, le, we, !1), fe !== null && $e !== null && PC(K, $e, fe, we, !0);
2342
+ le !== null && PC(q, W, le, we, !1), fe !== null && $e !== null && PC(q, $e, fe, we, !0);
2343
2343
  }
2344
2344
  }
2345
2345
  e: {
@@ -2355,7 +2355,7 @@ function t3(e, i, o, u, d) {
2355
2355
  else
2356
2356
  (le = W.nodeName) && le.toLowerCase() === "input" && (W.type === "checkbox" || W.type === "radio") && (be = DU);
2357
2357
  if (be && (be = be(e, j))) {
2358
- Gz(K, be, o, Q);
2358
+ Gz(q, be, o, Q);
2359
2359
  break e;
2360
2360
  }
2361
2361
  _e && _e(e, W, j), e === "focusout" && (_e = W._wrapperState) && _e.controlled && W.type === "number" && Y3(W, "number", W.value);
@@ -2373,14 +2373,14 @@ function t3(e, i, o, u, d) {
2373
2373
  case "contextmenu":
2374
2374
  case "mouseup":
2375
2375
  case "dragend":
2376
- o4 = !1, OC(K, o, Q);
2376
+ o4 = !1, OC(q, o, Q);
2377
2377
  break;
2378
2378
  case "selectionchange":
2379
2379
  if (EU)
2380
2380
  break;
2381
2381
  case "keydown":
2382
2382
  case "keyup":
2383
- OC(K, o, Q);
2383
+ OC(q, o, Q);
2384
2384
  }
2385
2385
  var Je;
2386
2386
  if (jI)
@@ -2400,9 +2400,9 @@ function t3(e, i, o, u, d) {
2400
2400
  }
2401
2401
  else
2402
2402
  Ap ? $z(e, o) && (nt = "onCompositionEnd") : e === "keydown" && o.keyCode === 229 && (nt = "onCompositionStart");
2403
- nt && (Hz && o.locale !== "ko" && (Ap || nt !== "onCompositionStart" ? nt === "onCompositionEnd" && Ap && (Je = Qz()) : ($u = Q, zI = "value" in $u ? $u.value : $u.textContent, Ap = !0)), _e = _x(j, nt), 0 < _e.length && (nt = new TC(nt, e, null, o, Q), K.push({ event: nt, listeners: _e }), Je ? nt.data = Je : (Je = Yz(o), Je !== null && (nt.data = Je)))), (Je = _U ? vU(e, o) : xU(e, o)) && (j = _x(j, "onBeforeInput"), 0 < j.length && (Q = new TC("onBeforeInput", "beforeinput", null, o, Q), K.push({ event: Q, listeners: j }), Q.data = Je));
2403
+ nt && (Hz && o.locale !== "ko" && (Ap || nt !== "onCompositionStart" ? nt === "onCompositionEnd" && Ap && (Je = Qz()) : ($u = Q, zI = "value" in $u ? $u.value : $u.textContent, Ap = !0)), _e = _x(j, nt), 0 < _e.length && (nt = new TC(nt, e, null, o, Q), q.push({ event: nt, listeners: _e }), Je ? nt.data = Je : (Je = Yz(o), Je !== null && (nt.data = Je)))), (Je = _U ? vU(e, o) : xU(e, o)) && (j = _x(j, "onBeforeInput"), 0 < j.length && (Q = new TC("onBeforeInput", "beforeinput", null, o, Q), q.push({ event: Q, listeners: j }), Q.data = Je));
2404
2404
  }
2405
- r8(K, i);
2405
+ r8(q, i);
2406
2406
  });
2407
2407
  }
2408
2408
  function l1(e, i, o) {
@@ -2840,7 +2840,7 @@ function Dx(e, i, o, u) {
2840
2840
  Q !== null && (Q = Q.updateQueue, a = Q.lastBaseUpdate, a !== w && (a === null ? Q.firstBaseUpdate = j : a.next = j, Q.lastBaseUpdate = E));
2841
2841
  }
2842
2842
  if (_ !== null) {
2843
- var K = d.baseState;
2843
+ var q = d.baseState;
2844
2844
  w = 0, Q = j = E = null, a = _;
2845
2845
  do {
2846
2846
  var W = a.lane, le = a.eventTime;
@@ -2858,17 +2858,17 @@ function Dx(e, i, o, u) {
2858
2858
  switch (W = i, le = o, we.tag) {
2859
2859
  case 1:
2860
2860
  if (fe = we.payload, typeof fe == "function") {
2861
- K = fe.call(le, K, W);
2861
+ q = fe.call(le, q, W);
2862
2862
  break e;
2863
2863
  }
2864
- K = fe;
2864
+ q = fe;
2865
2865
  break e;
2866
2866
  case 3:
2867
2867
  fe.flags = fe.flags & -65537 | 128;
2868
2868
  case 0:
2869
- if (fe = we.payload, W = typeof fe == "function" ? fe.call(le, K, W) : fe, W == null)
2869
+ if (fe = we.payload, W = typeof fe == "function" ? fe.call(le, q, W) : fe, W == null)
2870
2870
  break e;
2871
- K = wo({}, K, W);
2871
+ q = wo({}, q, W);
2872
2872
  break e;
2873
2873
  case 2:
2874
2874
  Uu = !0;
@@ -2876,21 +2876,21 @@ function Dx(e, i, o, u) {
2876
2876
  }
2877
2877
  a.callback !== null && a.lane !== 0 && (e.flags |= 64, W = d.effects, W === null ? d.effects = [a] : W.push(a));
2878
2878
  } else
2879
- le = { eventTime: le, lane: W, tag: a.tag, payload: a.payload, callback: a.callback, next: null }, Q === null ? (j = Q = le, E = K) : Q = Q.next = le, w |= W;
2879
+ le = { eventTime: le, lane: W, tag: a.tag, payload: a.payload, callback: a.callback, next: null }, Q === null ? (j = Q = le, E = q) : Q = Q.next = le, w |= W;
2880
2880
  if (a = a.next, a === null) {
2881
2881
  if (a = d.shared.pending, a === null)
2882
2882
  break;
2883
2883
  W = a, a = W.next, W.next = null, d.lastBaseUpdate = W, d.shared.pending = null;
2884
2884
  }
2885
2885
  } while (1);
2886
- if (Q === null && (E = K), d.baseState = E, d.firstBaseUpdate = j, d.lastBaseUpdate = Q, i = d.shared.interleaved, i !== null) {
2886
+ if (Q === null && (E = q), d.baseState = E, d.firstBaseUpdate = j, d.lastBaseUpdate = Q, i = d.shared.interleaved, i !== null) {
2887
2887
  d = i;
2888
2888
  do
2889
2889
  w |= d.lane, d = d.next;
2890
2890
  while (d !== i);
2891
2891
  } else
2892
2892
  _ === null && (d.shared.lanes = 0);
2893
- Md |= w, e.lanes = w, e.memoizedState = K;
2893
+ Md |= w, e.lanes = w, e.memoizedState = q;
2894
2894
  }
2895
2895
  }
2896
2896
  function YC(e, i, o) {
@@ -3010,7 +3010,7 @@ function g8(e) {
3010
3010
  function Q(me, ie, te, oe, be) {
3011
3011
  return ie === null || ie.tag !== 7 ? (ie = _d(te, me.mode, oe, be), ie.return = me, ie) : (ie = d(ie, te), ie.return = me, ie);
3012
3012
  }
3013
- function K(me, ie, te) {
3013
+ function q(me, ie, te) {
3014
3014
  if (typeof ie == "string" && ie !== "" || typeof ie == "number")
3015
3015
  return ie = u3("" + ie, me.mode, te), ie.return = me, ie;
3016
3016
  if (typeof ie == "object" && ie !== null) {
@@ -3021,7 +3021,7 @@ function g8(e) {
3021
3021
  return ie = h3(ie, me.mode, te), ie.return = me, ie;
3022
3022
  case Fu:
3023
3023
  var oe = ie._init;
3024
- return K(me, oe(ie._payload), te);
3024
+ return q(me, oe(ie._payload), te);
3025
3025
  }
3026
3026
  if (z0(ie) || m0(ie))
3027
3027
  return ie = _d(ie, me.mode, te, null), ie.return = me, ie;
@@ -3086,7 +3086,7 @@ function g8(e) {
3086
3086
  return o(me, Je), po && sd(me, nt), be;
3087
3087
  if (Je === null) {
3088
3088
  for (; nt < te.length; nt++)
3089
- Je = K(me, te[nt], oe), Je !== null && (ie = _(Je, ie, nt), _e === null ? be = Je : _e.sibling = Je, _e = Je);
3089
+ Je = q(me, te[nt], oe), Je !== null && (ie = _(Je, ie, nt), _e === null ? be = Je : _e.sibling = Je, _e = Je);
3090
3090
  return po && sd(me, nt), be;
3091
3091
  }
3092
3092
  for (Je = u(me, Je); nt < te.length; nt++)
@@ -3117,7 +3117,7 @@ function g8(e) {
3117
3117
  ), po && sd(me, nt), be;
3118
3118
  if (Je === null) {
3119
3119
  for (; !xt.done; nt++, xt = te.next())
3120
- xt = K(me, xt.value, oe), xt !== null && (ie = _(xt, ie, nt), _e === null ? be = xt : _e.sibling = xt, _e = xt);
3120
+ xt = q(me, xt.value, oe), xt !== null && (ie = _(xt, ie, nt), _e === null ? be = xt : _e.sibling = xt, _e = xt);
3121
3121
  return po && sd(me, nt), be;
3122
3122
  }
3123
3123
  for (Je = u(me, Je); !xt.done; nt++, xt = te.next())
@@ -3314,14 +3314,14 @@ function s3(e) {
3314
3314
  if ((bd & Q) === Q)
3315
3315
  E !== null && (E = E.next = { lane: 0, action: j.action, hasEagerState: j.hasEagerState, eagerState: j.eagerState, next: null }), u = j.hasEagerState ? j.eagerState : e(u, j.action);
3316
3316
  else {
3317
- var K = {
3317
+ var q = {
3318
3318
  lane: Q,
3319
3319
  action: j.action,
3320
3320
  hasEagerState: j.hasEagerState,
3321
3321
  eagerState: j.eagerState,
3322
3322
  next: null
3323
3323
  };
3324
- E === null ? (a = E = K, w = u) : E = E.next = K, xo.lanes |= Q, Md |= Q;
3324
+ E === null ? (a = E = q, w = u) : E = E.next = q, xo.lanes |= Q, Md |= Q;
3325
3325
  }
3326
3326
  j = j.next;
3327
3327
  } while (j !== null && j !== _);
@@ -3747,16 +3747,16 @@ function nE(e, i, o, u, d) {
3747
3747
  w.props = a;
3748
3748
  var E = w.context, j = o.contextType;
3749
3749
  typeof j == "object" && j !== null ? j = Va(j) : (j = Ks(o) ? xd : Ss.current, j = qp(i, j));
3750
- var Q = o.getDerivedStateFromProps, K = typeof Q == "function" || typeof w.getSnapshotBeforeUpdate == "function";
3751
- K || typeof w.UNSAFE_componentWillReceiveProps != "function" && typeof w.componentWillReceiveProps != "function" || (a !== u || E !== j) && ZC(i, w, u, j), Uu = !1;
3750
+ var Q = o.getDerivedStateFromProps, q = typeof Q == "function" || typeof w.getSnapshotBeforeUpdate == "function";
3751
+ q || typeof w.UNSAFE_componentWillReceiveProps != "function" && typeof w.componentWillReceiveProps != "function" || (a !== u || E !== j) && ZC(i, w, u, j), Uu = !1;
3752
3752
  var W = i.memoizedState;
3753
- w.state = W, Dx(i, u, w, d), E = i.memoizedState, a !== u || W !== E || qs.current || Uu ? (typeof Q == "function" && (g4(i, o, Q, u), E = i.memoizedState), (a = Uu || GC(i, o, a, u, W, E, j)) ? (K || typeof w.UNSAFE_componentWillMount != "function" && typeof w.componentWillMount != "function" || (typeof w.componentWillMount == "function" && w.componentWillMount(), typeof w.UNSAFE_componentWillMount == "function" && w.UNSAFE_componentWillMount()), typeof w.componentDidMount == "function" && (i.flags |= 4194308)) : (typeof w.componentDidMount == "function" && (i.flags |= 4194308), i.memoizedProps = u, i.memoizedState = E), w.props = u, w.state = E, w.context = j, u = a) : (typeof w.componentDidMount == "function" && (i.flags |= 4194308), u = !1);
3753
+ w.state = W, Dx(i, u, w, d), E = i.memoizedState, a !== u || W !== E || qs.current || Uu ? (typeof Q == "function" && (g4(i, o, Q, u), E = i.memoizedState), (a = Uu || GC(i, o, a, u, W, E, j)) ? (q || typeof w.UNSAFE_componentWillMount != "function" && typeof w.componentWillMount != "function" || (typeof w.componentWillMount == "function" && w.componentWillMount(), typeof w.UNSAFE_componentWillMount == "function" && w.UNSAFE_componentWillMount()), typeof w.componentDidMount == "function" && (i.flags |= 4194308)) : (typeof w.componentDidMount == "function" && (i.flags |= 4194308), i.memoizedProps = u, i.memoizedState = E), w.props = u, w.state = E, w.context = j, u = a) : (typeof w.componentDidMount == "function" && (i.flags |= 4194308), u = !1);
3754
3754
  } else {
3755
- w = i.stateNode, d8(e, i), a = i.memoizedProps, j = i.type === i.elementType ? a : al(i.type, a), w.props = j, K = i.pendingProps, W = w.context, E = o.contextType, typeof E == "object" && E !== null ? E = Va(E) : (E = Ks(o) ? xd : Ss.current, E = qp(i, E));
3755
+ w = i.stateNode, d8(e, i), a = i.memoizedProps, j = i.type === i.elementType ? a : al(i.type, a), w.props = j, q = i.pendingProps, W = w.context, E = o.contextType, typeof E == "object" && E !== null ? E = Va(E) : (E = Ks(o) ? xd : Ss.current, E = qp(i, E));
3756
3756
  var le = o.getDerivedStateFromProps;
3757
- (Q = typeof le == "function" || typeof w.getSnapshotBeforeUpdate == "function") || typeof w.UNSAFE_componentWillReceiveProps != "function" && typeof w.componentWillReceiveProps != "function" || (a !== K || W !== E) && ZC(i, w, u, E), Uu = !1, W = i.memoizedState, w.state = W, Dx(i, u, w, d);
3757
+ (Q = typeof le == "function" || typeof w.getSnapshotBeforeUpdate == "function") || typeof w.UNSAFE_componentWillReceiveProps != "function" && typeof w.componentWillReceiveProps != "function" || (a !== q || W !== E) && ZC(i, w, u, E), Uu = !1, W = i.memoizedState, w.state = W, Dx(i, u, w, d);
3758
3758
  var fe = i.memoizedState;
3759
- a !== K || W !== fe || qs.current || Uu ? (typeof le == "function" && (g4(i, o, le, u), fe = i.memoizedState), (j = Uu || GC(i, o, j, u, W, fe, E) || !1) ? (Q || typeof w.UNSAFE_componentWillUpdate != "function" && typeof w.componentWillUpdate != "function" || (typeof w.componentWillUpdate == "function" && w.componentWillUpdate(u, fe, E), typeof w.UNSAFE_componentWillUpdate == "function" && w.UNSAFE_componentWillUpdate(u, fe, E)), typeof w.componentDidUpdate == "function" && (i.flags |= 4), typeof w.getSnapshotBeforeUpdate == "function" && (i.flags |= 1024)) : (typeof w.componentDidUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 4), typeof w.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 1024), i.memoizedProps = u, i.memoizedState = fe), w.props = u, w.state = fe, w.context = E, u = j) : (typeof w.componentDidUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 4), typeof w.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 1024), u = !1);
3759
+ a !== q || W !== fe || qs.current || Uu ? (typeof le == "function" && (g4(i, o, le, u), fe = i.memoizedState), (j = Uu || GC(i, o, j, u, W, fe, E) || !1) ? (Q || typeof w.UNSAFE_componentWillUpdate != "function" && typeof w.componentWillUpdate != "function" || (typeof w.componentWillUpdate == "function" && w.componentWillUpdate(u, fe, E), typeof w.UNSAFE_componentWillUpdate == "function" && w.UNSAFE_componentWillUpdate(u, fe, E)), typeof w.componentDidUpdate == "function" && (i.flags |= 4), typeof w.getSnapshotBeforeUpdate == "function" && (i.flags |= 1024)) : (typeof w.componentDidUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 4), typeof w.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 1024), i.memoizedProps = u, i.memoizedState = fe), w.props = u, w.state = fe, w.context = E, u = j) : (typeof w.componentDidUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 4), typeof w.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && W === e.memoizedState || (i.flags |= 1024), u = !1);
3760
3760
  }
3761
3761
  return v4(e, i, o, u, _, d);
3762
3762
  }
@@ -4409,19 +4409,19 @@ function nV(e, i) {
4409
4409
  o = null;
4410
4410
  break e;
4411
4411
  }
4412
- var w = 0, a = -1, E = -1, j = 0, Q = 0, K = e, W = null;
4412
+ var w = 0, a = -1, E = -1, j = 0, Q = 0, q = e, W = null;
4413
4413
  t:
4414
4414
  for (; ; ) {
4415
- for (var le; K !== o || d !== 0 && K.nodeType !== 3 || (a = w + d), K !== _ || u !== 0 && K.nodeType !== 3 || (E = w + u), K.nodeType === 3 && (w += K.nodeValue.length), (le = K.firstChild) !== null; )
4416
- W = K, K = le;
4415
+ for (var le; q !== o || d !== 0 && q.nodeType !== 3 || (a = w + d), q !== _ || u !== 0 && q.nodeType !== 3 || (E = w + u), q.nodeType === 3 && (w += q.nodeValue.length), (le = q.firstChild) !== null; )
4416
+ W = q, q = le;
4417
4417
  for (; ; ) {
4418
- if (K === e)
4418
+ if (q === e)
4419
4419
  break t;
4420
- if (W === o && ++j === d && (a = w), W === _ && ++Q === u && (E = w), (le = K.nextSibling) !== null)
4420
+ if (W === o && ++j === d && (a = w), W === _ && ++Q === u && (E = w), (le = q.nextSibling) !== null)
4421
4421
  break;
4422
- K = W, W = K.parentNode;
4422
+ q = W, W = q.parentNode;
4423
4423
  }
4424
- K = le;
4424
+ q = le;
4425
4425
  }
4426
4426
  o = a === -1 || E === -1 ? null : { start: a, end: E };
4427
4427
  } else
@@ -4693,8 +4693,8 @@ function K8(e, i) {
4693
4693
  a === "input" && _.type === "radio" && _.name != null && _z(d, _), q3(a, w);
4694
4694
  var j = q3(a, _);
4695
4695
  for (w = 0; w < E.length; w += 2) {
4696
- var Q = E[w], K = E[w + 1];
4697
- Q === "style" ? Mz(d, K) : Q === "dangerouslySetInnerHTML" ? wz(d, K) : Q === "children" ? e1(d, K) : II(d, Q, K, j);
4696
+ var Q = E[w], q = E[w + 1];
4697
+ Q === "style" ? Mz(d, q) : Q === "dangerouslySetInnerHTML" ? wz(d, q) : Q === "children" ? e1(d, q) : II(d, Q, q, j);
4698
4698
  }
4699
4699
  switch (a) {
4700
4700
  case "input":
@@ -4750,7 +4750,7 @@ function K8(e, i) {
4750
4750
  if (Q = o !== null && o.memoizedState !== null, e.mode & 1 ? (Ds = (j = Ds) || Q, ol(i, e), Ds = j) : ol(i, e), Ql(e), u & 8192) {
4751
4751
  if (j = e.memoizedState !== null, (e.stateNode.isHidden = j) && !Q && e.mode & 1)
4752
4752
  for (Ln = e, Q = e.child; Q !== null; ) {
4753
- for (K = Ln = Q; Ln !== null; ) {
4753
+ for (q = Ln = Q; Ln !== null; ) {
4754
4754
  switch (W = Ln, le = W.child, W.tag) {
4755
4755
  case 0:
4756
4756
  case 11:
@@ -4775,44 +4775,44 @@ function K8(e, i) {
4775
4775
  break;
4776
4776
  case 22:
4777
4777
  if (W.memoizedState !== null) {
4778
- uE(K);
4778
+ uE(q);
4779
4779
  continue;
4780
4780
  }
4781
4781
  }
4782
- le !== null ? (le.return = W, Ln = le) : uE(K);
4782
+ le !== null ? (le.return = W, Ln = le) : uE(q);
4783
4783
  }
4784
4784
  Q = Q.sibling;
4785
4785
  }
4786
4786
  e:
4787
- for (Q = null, K = e; ; ) {
4788
- if (K.tag === 5) {
4787
+ for (Q = null, q = e; ; ) {
4788
+ if (q.tag === 5) {
4789
4789
  if (Q === null) {
4790
- Q = K;
4790
+ Q = q;
4791
4791
  try {
4792
- d = K.stateNode, j ? (_ = d.style, typeof _.setProperty == "function" ? _.setProperty("display", "none", "important") : _.display = "none") : (a = K.stateNode, E = K.memoizedProps.style, w = E != null && E.hasOwnProperty("display") ? E.display : null, a.style.display = bz("display", w));
4792
+ d = q.stateNode, j ? (_ = d.style, typeof _.setProperty == "function" ? _.setProperty("display", "none", "important") : _.display = "none") : (a = q.stateNode, E = q.memoizedProps.style, w = E != null && E.hasOwnProperty("display") ? E.display : null, a.style.display = bz("display", w));
4793
4793
  } catch (we) {
4794
4794
  Do(e, e.return, we);
4795
4795
  }
4796
4796
  }
4797
- } else if (K.tag === 6) {
4797
+ } else if (q.tag === 6) {
4798
4798
  if (Q === null)
4799
4799
  try {
4800
- K.stateNode.nodeValue = j ? "" : K.memoizedProps;
4800
+ q.stateNode.nodeValue = j ? "" : q.memoizedProps;
4801
4801
  } catch (we) {
4802
4802
  Do(e, e.return, we);
4803
4803
  }
4804
- } else if ((K.tag !== 22 && K.tag !== 23 || K.memoizedState === null || K === e) && K.child !== null) {
4805
- K.child.return = K, K = K.child;
4804
+ } else if ((q.tag !== 22 && q.tag !== 23 || q.memoizedState === null || q === e) && q.child !== null) {
4805
+ q.child.return = q, q = q.child;
4806
4806
  continue;
4807
4807
  }
4808
- if (K === e)
4808
+ if (q === e)
4809
4809
  break e;
4810
- for (; K.sibling === null; ) {
4811
- if (K.return === null || K.return === e)
4810
+ for (; q.sibling === null; ) {
4811
+ if (q.return === null || q.return === e)
4812
4812
  break e;
4813
- Q === K && (Q = null), K = K.return;
4813
+ Q === q && (Q = null), q = q.return;
4814
4814
  }
4815
- Q === K && (Q = null), K.sibling.return = K.return, K = K.sibling;
4815
+ Q === q && (Q = null), q.sibling.return = q.return, q = q.sibling;
4816
4816
  }
4817
4817
  }
4818
4818
  break;
@@ -4956,8 +4956,8 @@ function cE(e) {
4956
4956
  if (j !== null) {
4957
4957
  var Q = j.memoizedState;
4958
4958
  if (Q !== null) {
4959
- var K = Q.dehydrated;
4960
- K !== null && r1(K);
4959
+ var q = Q.dehydrated;
4960
+ q !== null && r1(q);
4961
4961
  }
4962
4962
  }
4963
4963
  }
@@ -5334,8 +5334,8 @@ function e9(e, i) {
5334
5334
  e: {
5335
5335
  var _ = e, w = o.return, a = o, E = i;
5336
5336
  if (i = ps, a.flags |= 32768, E !== null && typeof E == "object" && typeof E.then == "function") {
5337
- var j = E, Q = a, K = Q.tag;
5338
- if (!(Q.mode & 1) && (K === 0 || K === 11 || K === 15)) {
5337
+ var j = E, Q = a, q = Q.tag;
5338
+ if (!(Q.mode & 1) && (q === 0 || q === 11 || q === 15)) {
5339
5339
  var W = Q.alternate;
5340
5340
  W ? (Q.updateQueue = W.updateQueue, Q.memoizedState = W.memoizedState, Q.lanes = W.lanes) : (Q.updateQueue = null, Q.memoizedState = null);
5341
5341
  }
@@ -5520,9 +5520,9 @@ function Gp() {
5520
5520
  case 15:
5521
5521
  $0(8, Q, _);
5522
5522
  }
5523
- var K = Q.child;
5524
- if (K !== null)
5525
- K.return = Q, Ln = K;
5523
+ var q = Q.child;
5524
+ if (q !== null)
5525
+ q.return = Q, Ln = q;
5526
5526
  else
5527
5527
  for (; Ln !== null; ) {
5528
5528
  Q = Ln;
@@ -6698,14 +6698,14 @@ var lQ = aQ(function(e) {
6698
6698
  si = (si << 5) - si + yi | 0;
6699
6699
  }
6700
6700
  return si;
6701
- }, K = function(ft) {
6701
+ }, q = function(ft) {
6702
6702
  return ft -= ft >> 1 & 1431655765, ft = (ft & 858993459) + (ft >> 2 & 858993459), ft = ft + (ft >> 4) & 252645135, ft += ft >> 8, ft += ft >> 16, ft & 127;
6703
6703
  }, W = function(ft, si) {
6704
6704
  return si >>> ft & _;
6705
6705
  }, le = function(ft) {
6706
6706
  return 1 << ft;
6707
6707
  }, fe = function(ft, si) {
6708
- return K(ft & si - 1);
6708
+ return q(ft & si - 1);
6709
6709
  }, we = function(ft, si, Zt, ti) {
6710
6710
  var yi = ti;
6711
6711
  if (!ft) {
@@ -6822,20 +6822,20 @@ var lQ = aQ(function(e) {
6822
6822
  var cn = this.mask, Ji = this.children, wn = W(Zt, yi), Dt = le(wn), Vn = fe(cn, Dt), gr = cn & Dt, xr = gr ? Ji[Vn] : _e, Ze = xr._modify(ft, si, Zt + u, ti, yi, Di, Qi);
6823
6823
  if (xr === Ze)
6824
6824
  return this;
6825
- var q = $t(ft, this), ae = cn, he = void 0;
6825
+ var K = $t(ft, this), ae = cn, he = void 0;
6826
6826
  if (gr && Je(Ze)) {
6827
6827
  if (ae &= ~Dt, !ae)
6828
6828
  return _e;
6829
6829
  if (Ji.length <= 2 && Pt(Ji[Vn ^ 1]))
6830
6830
  return Ji[Vn ^ 1];
6831
- he = $e(q, Vn, Ji);
6831
+ he = $e(K, Vn, Ji);
6832
6832
  } else if (!gr && !Je(Ze)) {
6833
6833
  if (Ji.length >= w)
6834
6834
  return Tt(ft, wn, Ze, cn, Ji);
6835
- ae |= Dt, he = me(q, Vn, Ze, Ji);
6835
+ ae |= Dt, he = me(K, Vn, Ze, Ji);
6836
6836
  } else
6837
- he = we(q, Vn, Ze, Ji);
6838
- return q ? (this.mask = ae, this.children = he, this) : xt(ft, ae, he);
6837
+ he = we(K, Vn, Ze, Ji);
6838
+ return K ? (this.mask = ae, this.children = he, this) : xt(ft, ae, he);
6839
6839
  }, ne = function(ft, si, Zt, ti, yi, Di, Qi) {
6840
6840
  var cn = this.size, Ji = this.children, wn = W(Zt, yi), Dt = Ji[wn], Vn = (Dt || _e)._modify(ft, si, Zt + u, ti, yi, Di, Qi);
6841
6841
  if (Dt === Vn)
@@ -7226,14 +7226,14 @@ function yQ(e, i, o, u) {
7226
7226
  u === E.currentTree.version || u === ((d = E.nextTree) === null || d === void 0 ? void 0 : d.version) || ((_ = E.previousTree) === null || _ === void 0 || _.version);
7227
7227
  const j = o.getGraph(u);
7228
7228
  if (g3(e, i, j), u === ((w = E.previousTree) === null || w === void 0 ? void 0 : w.version)) {
7229
- const K = o.getGraph(E.currentTree.version);
7230
- g3(e, i, K, j);
7229
+ const q = o.getGraph(E.currentTree.version);
7230
+ g3(e, i, q, j);
7231
7231
  }
7232
7232
  if (u === ((a = E.previousTree) === null || a === void 0 ? void 0 : a.version) || u === E.currentTree.version) {
7233
7233
  var Q;
7234
- const K = (Q = E.nextTree) === null || Q === void 0 ? void 0 : Q.version;
7235
- if (K !== void 0) {
7236
- const W = o.getGraph(K);
7234
+ const q = (Q = E.nextTree) === null || Q === void 0 ? void 0 : Q.version;
7235
+ if (q !== void 0) {
7236
+ const W = o.getGraph(q);
7237
7237
  g3(e, i, W, j);
7238
7238
  }
7239
7239
  }
@@ -7752,12 +7752,12 @@ function vH(e, i) {
7752
7752
  // don't descend into these
7753
7753
  );
7754
7754
  for (const fe of Q) {
7755
- var K;
7755
+ var q;
7756
7756
  if (P9(fe).retainedBy === "recoilRoot") {
7757
7757
  w.add(fe);
7758
7758
  continue;
7759
7759
  }
7760
- if (((K = o.retention.referenceCounts.get(fe)) !== null && K !== void 0 ? K : 0) > 0) {
7760
+ if (((q = o.retention.referenceCounts.get(fe)) !== null && q !== void 0 ? q : 0) > 0) {
7761
7761
  w.add(fe);
7762
7762
  continue;
7763
7763
  }
@@ -7795,8 +7795,8 @@ function xH(e, i, o, u, d) {
7795
7795
  return;
7796
7796
  const Q = _.nodeToNodeSubscriptions.get(j);
7797
7797
  if (Q)
7798
- for (const K of Q)
7799
- E(K);
7798
+ for (const q of Q)
7799
+ E(q);
7800
7800
  a.add(j), o.delete(j), w.push(j);
7801
7801
  }
7802
7802
  }
@@ -8344,7 +8344,7 @@ function N$({
8344
8344
  if (fe == null) {
8345
8345
  const {
8346
8346
  transactionSubscriptions: we
8347
- } = K.current.getState(), $e = TE++;
8347
+ } = q.current.getState(), $e = TE++;
8348
8348
  return we.set($e, le), {
8349
8349
  release: () => {
8350
8350
  we.delete($e);
@@ -8353,7 +8353,7 @@ function N$({
8353
8353
  } else {
8354
8354
  const {
8355
8355
  nodeTransactionSubscriptions: we
8356
- } = K.current.getState();
8356
+ } = q.current.getState();
8357
8357
  we.has(fe) || we.set(fe, /* @__PURE__ */ new Map());
8358
8358
  const $e = TE++;
8359
8359
  return go(we.get(fe)).set($e, le), {
@@ -8364,11 +8364,11 @@ function N$({
8364
8364
  };
8365
8365
  }
8366
8366
  }, a = (le) => {
8367
- IE(K.current);
8367
+ IE(q.current);
8368
8368
  for (const fe of Object.keys(le))
8369
- go(K.current.getState().nextTree).transactionMetadata[fe] = le[fe];
8369
+ go(q.current.getState().nextTree).transactionMetadata[fe] = le[fe];
8370
8370
  }, E = (le) => {
8371
- IE(K.current);
8371
+ IE(q.current);
8372
8372
  const fe = go(d.current.nextTree);
8373
8373
  let we;
8374
8374
  try {
@@ -8376,10 +8376,10 @@ function N$({
8376
8376
  } finally {
8377
8377
  j4 = !1;
8378
8378
  }
8379
- we !== fe && (d.current.nextTree = we, W9().early && wT(K.current, d.current, we), go(j.current)());
8379
+ we !== fe && (d.current.nextTree = we, W9().early && wT(q.current, d.current, we), go(j.current)());
8380
8380
  }, j = I$(null), Q = b$((le) => {
8381
8381
  j.current = le;
8382
- }, [j]), K = ME(() => o ?? {
8382
+ }, [j]), q = ME(() => o ?? {
8383
8383
  storeID: Z9(),
8384
8384
  getState: () => d.current,
8385
8385
  replaceState: E,
@@ -8387,18 +8387,18 @@ function N$({
8387
8387
  subscribeToTransactions: w,
8388
8388
  addTransactionMetadata: a
8389
8389
  });
8390
- o != null && (K.current = o), d = ME(() => e != null ? C$(K.current, e) : i != null ? E$(i) : G9());
8390
+ o != null && (q.current = o), d = ME(() => e != null ? C$(q.current, e) : i != null ? E$(i) : G9());
8391
8391
  const W = M$(() => m3 == null ? void 0 : m3(d, () => d.current.currentTree.version), [d]);
8392
8392
  return k4(() => {
8393
- const le = K.current;
8393
+ const le = q.current;
8394
8394
  for (const fe of new Set(le.getState().knownAtoms))
8395
8395
  g$(le, fe, "get");
8396
8396
  return () => {
8397
8397
  for (const fe of le.getState().knownAtoms)
8398
8398
  f$(le, fe);
8399
8399
  };
8400
- }, [K]), /* @__PURE__ */ Er.createElement(J9.Provider, {
8401
- value: K
8400
+ }, [q]), /* @__PURE__ */ Er.createElement(J9.Provider, {
8401
+ value: q
8402
8402
  }, /* @__PURE__ */ Er.createElement(eO.Provider, {
8403
8403
  value: W
8404
8404
  }, /* @__PURE__ */ Er.createElement(A$, {
@@ -8562,7 +8562,7 @@ function tY() {
8562
8562
  }), og(() => {
8563
8563
  const E = _.current;
8564
8564
  return Z0(u.current, new Set(E.keys())).forEach((j) => {
8565
- const Q = rg(i.current, new P4(j), (K) => a(K, j), e);
8565
+ const Q = rg(i.current, new P4(j), (q) => a(q, j), e);
8566
8566
  E.set(j, Q);
8567
8567
  }), () => E.forEach((j, Q) => w(Q));
8568
8568
  }, [e, i, w, a]), rO(() => {
@@ -8580,18 +8580,18 @@ function tY() {
8580
8580
  const $e = i.current.getState();
8581
8581
  return z1(i.current, fe, _g().early && (we = $e.nextTree) !== null && we !== void 0 ? we : $e.currentTree);
8582
8582
  }
8583
- function K(fe) {
8583
+ function q(fe) {
8584
8584
  const we = Q(fe);
8585
8585
  return IT(we, fe, i);
8586
8586
  }
8587
8587
  function W(fe) {
8588
- return [K(fe), E(fe)];
8588
+ return [q(fe), E(fe)];
8589
8589
  }
8590
8590
  function le(fe) {
8591
8591
  return [Q(fe), E(fe)];
8592
8592
  }
8593
8593
  return {
8594
- getRecoilValue: K,
8594
+ getRecoilValue: q,
8595
8595
  getRecoilValueLoadable: Q,
8596
8596
  getRecoilState: W,
8597
8597
  getRecoilStateLoadable: le,
@@ -8615,8 +8615,8 @@ function nY(e) {
8615
8615
  let E;
8616
8616
  return () => {
8617
8617
  var j, Q;
8618
- const K = a();
8619
- return (j = E) !== null && j !== void 0 && j.loadable.is(K.loadable) && ((Q = E) === null || Q === void 0 ? void 0 : Q.key) === K.key ? E : (E = K, K);
8618
+ const q = a();
8619
+ return (j = E) !== null && j !== void 0 && j.loadable.is(q.loadable) && ((Q = E) === null || Q === void 0 ? void 0 : Q.key) === q.key ? E : (E = q, q);
8620
8620
  };
8621
8621
  }, []), _ = rO(() => d(u), [u, d]), w = Js((a) => {
8622
8622
  const E = i.current;
@@ -8633,11 +8633,11 @@ function nY(e) {
8633
8633
  function rY(e) {
8634
8634
  const i = tc(), o = Js(() => {
8635
8635
  var j;
8636
- const Q = i.current, K = Q.getState(), W = _g().early && (j = K.nextTree) !== null && j !== void 0 ? j : K.currentTree;
8636
+ const Q = i.current, q = Q.getState(), W = _g().early && (j = q.nextTree) !== null && j !== void 0 ? j : q.currentTree;
8637
8637
  return z1(Q, e, W);
8638
8638
  }, [i, e]), u = Js(() => o(), [o]), d = L1(), _ = Js((j, Q) => {
8639
- const K = i.current;
8640
- return rg(K, e, () => {
8639
+ const q = i.current;
8640
+ return rg(q, e, () => {
8641
8641
  if (!Kr("recoil_suppress_rerender_in_callback"))
8642
8642
  return Q();
8643
8643
  const le = o();
@@ -8654,8 +8654,8 @@ function rY(e) {
8654
8654
  function R4(e) {
8655
8655
  const i = tc(), o = L1(), u = Js(() => {
8656
8656
  var E;
8657
- const j = i.current, Q = j.getState(), K = _g().early && (E = Q.nextTree) !== null && E !== void 0 ? E : Q.currentTree;
8658
- return z1(j, e, K);
8657
+ const j = i.current, Q = j.getState(), q = _g().early && (E = Q.nextTree) !== null && E !== void 0 ? E : Q.currentTree;
8658
+ return z1(j, e, q);
8659
8659
  }, [i, e]), d = Js(() => ({
8660
8660
  loadable: u(),
8661
8661
  key: e.key
@@ -8681,7 +8681,7 @@ function oY(e) {
8681
8681
  return og(() => {
8682
8682
  w.current = _;
8683
8683
  }), og(() => {
8684
- const a = i.current, E = a.getState(), j = rg(a, e, (K) => {
8684
+ const a = i.current, E = a.getState(), j = rg(a, e, (q) => {
8685
8685
  var W;
8686
8686
  if (!Kr("recoil_suppress_rerender_in_callback"))
8687
8687
  return o([]);
@@ -8696,8 +8696,8 @@ function oY(e) {
8696
8696
  var Q;
8697
8697
  if (!Kr("recoil_suppress_rerender_in_callback"))
8698
8698
  return o([]);
8699
- const K = d();
8700
- (Q = w.current) !== null && Q !== void 0 && Q.is(K) || o(K), w.current = K;
8699
+ const q = d();
8700
+ (Q = w.current) !== null && Q !== void 0 && Q.is(q) || o(q), w.current = q;
8701
8701
  }
8702
8702
  return j.release;
8703
8703
  }, [u, d, e, i]), _;
@@ -8836,11 +8836,11 @@ function TY(e) {
8836
8836
  const u = i.getState().currentTree;
8837
8837
  o || (o = i.getState().currentTree);
8838
8838
  const d = CE(u), _ = CE(o), w = jx(xY, (E) => {
8839
- var j, Q, K, W;
8839
+ var j, Q, q, W;
8840
8840
  return {
8841
8841
  persistence_UNSTABLE: {
8842
8842
  type: (j = (Q = E.persistence_UNSTABLE) === null || Q === void 0 ? void 0 : Q.type) !== null && j !== void 0 ? j : "none",
8843
- backButton: (K = (W = E.persistence_UNSTABLE) === null || W === void 0 ? void 0 : W.backButton) !== null && K !== void 0 ? K : !1
8843
+ backButton: (q = (W = E.persistence_UNSTABLE) === null || W === void 0 ? void 0 : W.backButton) !== null && q !== void 0 ? q : !1
8844
8844
  }
8845
8845
  };
8846
8846
  }), a = gY(u.dirtyAtoms, (E) => d.has(E) || _.has(E));
@@ -9052,7 +9052,7 @@ function pO(e, i, o, u) {
9052
9052
  ...u ?? {},
9053
9053
  // flowlint-line unclear-type:off
9054
9054
  // $FlowFixMe[missing-local-annot]
9055
- set: (Q, K) => NE(e, Q, K),
9055
+ set: (Q, q) => NE(e, Q, q),
9056
9056
  // $FlowFixMe[missing-local-annot]
9057
9057
  reset: (Q) => NE(e, Q, tG),
9058
9058
  // $FlowFixMe[missing-local-annot]
@@ -9178,12 +9178,12 @@ class MG {
9178
9178
  var _, w, a, E;
9179
9179
  let j, Q;
9180
9180
  for (const [$e, me] of i) {
9181
- var K, W, le;
9181
+ var q, W, le;
9182
9182
  const ie = this._root;
9183
9183
  if ((ie == null ? void 0 : ie.type) === "leaf")
9184
9184
  throw this.invalidCacheError();
9185
9185
  const te = j;
9186
- if (j = te ? te.branches.get(Q) : ie, j = (K = j) !== null && K !== void 0 ? K : {
9186
+ if (j = te ? te.branches.get(Q) : ie, j = (q = j) !== null && q !== void 0 ? q : {
9187
9187
  type: "branch",
9188
9188
  nodeKey: $e,
9189
9189
  parent: te,
@@ -9482,7 +9482,7 @@ function wO(e) {
9482
9482
  eviction: "keep-all"
9483
9483
  }, o), E = WG(e.retainedBy_UNSTABLE), j = /* @__PURE__ */ new Map();
9484
9484
  let Q = 0;
9485
- function K() {
9485
+ function q() {
9486
9486
  return !Kr("recoil_memory_managament_2020") || Q > 0;
9487
9487
  }
9488
9488
  function W(T) {
@@ -9491,7 +9491,7 @@ function wO(e) {
9491
9491
  };
9492
9492
  }
9493
9493
  function le() {
9494
- return YG(o) !== void 0 && !K();
9494
+ return YG(o) !== void 0 && !q();
9495
9495
  }
9496
9496
  function fe(T, k, F, U, G) {
9497
9497
  wt(k, U, G), we(T, F);
@@ -9516,12 +9516,12 @@ function wO(e) {
9516
9516
  }
9517
9517
  function te(T, k, F, U, G, re) {
9518
9518
  return k.then((de) => {
9519
- if (!K())
9519
+ if (!q())
9520
9520
  throw Tt(T), D0;
9521
9521
  const ue = y3(de);
9522
9522
  return fe(T, F, G, ue, U), de;
9523
9523
  }).catch((de) => {
9524
- if (!K())
9524
+ if (!q())
9525
9525
  throw Tt(T), D0;
9526
9526
  if (ao(de))
9527
9527
  return oe(T, de, F, U, G, re);
@@ -9531,7 +9531,7 @@ function wO(e) {
9531
9531
  }
9532
9532
  function oe(T, k, F, U, G, re) {
9533
9533
  return k.then((de) => {
9534
- if (!K())
9534
+ if (!q())
9535
9535
  throw Tt(T), D0;
9536
9536
  re.loadingDepKey != null && re.loadingDepPromise === k ? F.atomValues.set(re.loadingDepKey, y3(de)) : T.getState().knownSelectors.forEach((et) => {
9537
9537
  F.atomValues.delete(et);
@@ -9554,7 +9554,7 @@ function wO(e) {
9554
9554
  }).catch((de) => {
9555
9555
  if (de instanceof xO)
9556
9556
  throw D0;
9557
- if (!K())
9557
+ if (!q())
9558
9558
  throw Tt(T), D0;
9559
9559
  const ue = iv(de);
9560
9560
  throw fe(T, F, G, ue, U), de;
@@ -9860,7 +9860,7 @@ function lZ(e) {
9860
9860
  });
9861
9861
  return oe;
9862
9862
  }
9863
- function K(ie, te, oe) {
9863
+ function q(ie, te, oe) {
9864
9864
  var be;
9865
9865
  d++;
9866
9866
  const _e = () => {
@@ -10014,7 +10014,7 @@ function lZ(e) {
10014
10014
  peek: W,
10015
10015
  get: le,
10016
10016
  set: we,
10017
- init: K,
10017
+ init: q,
10018
10018
  invalidate: fe,
10019
10019
  shouldDeleteConfigOnRelease: $e,
10020
10020
  dangerouslyAllowMutability: e.dangerouslyAllowMutability,
@@ -10179,7 +10179,7 @@ function vZ(e) {
10179
10179
  // $FlowIssue[incompatible-type] No way to refine in Flow that property is not defined
10180
10180
  e.default
10181
10181
  ) : new Promise(() => {
10182
- }), K = IO({
10182
+ }), q = IO({
10183
10183
  ...j,
10184
10184
  key: `${e.key}__${(_ = uw(d)) !== null && _ !== void 0 ? _ : "void"}`,
10185
10185
  default: typeof Q == "function" ? (
@@ -10199,9 +10199,9 @@ function vZ(e) {
10199
10199
  // @fb-only: params,
10200
10200
  // @fb-only: ),
10201
10201
  });
10202
- return u.set(d, K), _Z(K.key, () => {
10202
+ return u.set(d, q), _Z(q.key, () => {
10203
10203
  u.delete(d);
10204
- }), K;
10204
+ }), q;
10205
10205
  };
10206
10206
  }
10207
10207
  var xZ = vZ;
@@ -10230,10 +10230,10 @@ function MZ(e) {
10230
10230
  // a cache with reference equality thanks to the incrementing index.
10231
10231
  allowFunctions: !0
10232
10232
  })) !== null && _ !== void 0 ? _ : "void"}/${bZ++}`, E = (W) => e.get(d)(W), j = e.cachePolicy_UNSTABLE, Q = typeof e.retainedBy_UNSTABLE == "function" ? e.retainedBy_UNSTABLE(d) : e.retainedBy_UNSTABLE;
10233
- let K;
10233
+ let q;
10234
10234
  if (e.set != null) {
10235
10235
  const W = e.set;
10236
- K = sg({
10236
+ q = sg({
10237
10237
  key: a,
10238
10238
  get: E,
10239
10239
  set: (fe, we) => W(d)(fe, we),
@@ -10242,16 +10242,16 @@ function MZ(e) {
10242
10242
  retainedBy_UNSTABLE: Q
10243
10243
  });
10244
10244
  } else
10245
- K = sg({
10245
+ q = sg({
10246
10246
  key: a,
10247
10247
  get: E,
10248
10248
  cachePolicy_UNSTABLE: j,
10249
10249
  dangerouslyAllowMutability: e.dangerouslyAllowMutability,
10250
10250
  retainedBy_UNSTABLE: Q
10251
10251
  });
10252
- return u.set(d, K), wZ(K.key, () => {
10252
+ return u.set(d, q), wZ(q.key, () => {
10253
10253
  u.delete(d);
10254
- }), K;
10254
+ }), q;
10255
10255
  };
10256
10256
  }
10257
10257
  var uh = MZ;
@@ -10505,14 +10505,14 @@ function EO(e) {
10505
10505
  const Xe = (e, i, ...o) => {
10506
10506
  let u = null, d = null, _ = !1, w = !1;
10507
10507
  const a = [], E = (Q) => {
10508
- for (let K = 0; K < Q.length; K++)
10509
- u = Q[K], Array.isArray(u) ? E(u) : u != null && typeof u != "boolean" && ((_ = typeof e != "function" && !AT(u)) && (u = String(u)), _ && w ? a[a.length - 1].$text$ += u : a.push(_ ? U4(null, u) : u), w = _);
10508
+ for (let q = 0; q < Q.length; q++)
10509
+ u = Q[q], Array.isArray(u) ? E(u) : u != null && typeof u != "boolean" && ((_ = typeof e != "function" && !AT(u)) && (u = String(u)), _ && w ? a[a.length - 1].$text$ += u : a.push(_ ? U4(null, u) : u), w = _);
10510
10510
  };
10511
10511
  if (E(o), i) {
10512
10512
  i.key && (d = i.key);
10513
10513
  {
10514
10514
  const Q = i.className || i.class;
10515
- Q && (i.class = typeof Q != "object" ? Q : Object.keys(Q).filter((K) => Q[K]).join(" "));
10515
+ Q && (i.class = typeof Q != "object" ? Q : Object.keys(Q).filter((q) => Q[q]).join(" "));
10516
10516
  }
10517
10517
  }
10518
10518
  const j = U4(e, null);
@@ -10569,7 +10569,7 @@ const Xe = (e, i, ...o) => {
10569
10569
  let w = HE(e, i), a = i.toLowerCase();
10570
10570
  if (i === "class") {
10571
10571
  const E = e.classList, j = VE(o), Q = VE(u);
10572
- E.remove(...j.filter((K) => K && !Q.includes(K))), E.add(...Q.filter((K) => K && !j.includes(K)));
10572
+ E.remove(...j.filter((q) => q && !Q.includes(q))), E.add(...Q.filter((q) => q && !j.includes(q)));
10573
10573
  } else if (i === "style") {
10574
10574
  for (const E in o)
10575
10575
  (!u || u[E] == null) && (E.includes("-") ? e.style.removeProperty(E) : e.style[E] = "");
@@ -10622,8 +10622,8 @@ const Xe = (e, i, ...o) => {
10622
10622
  for (; i <= o; ++i)
10623
10623
  (u = e[i]) && (d = u.$elm$, jO(u), d.remove());
10624
10624
  }, TW = (e, i, o, u) => {
10625
- let d = 0, _ = 0, w = 0, a = 0, E = i.length - 1, j = i[0], Q = i[E], K = u.length - 1, W = u[0], le = u[K], fe, we;
10626
- for (; d <= E && _ <= K; )
10625
+ let d = 0, _ = 0, w = 0, a = 0, E = i.length - 1, j = i[0], Q = i[E], q = u.length - 1, W = u[0], le = u[q], fe, we;
10626
+ for (; d <= E && _ <= q; )
10627
10627
  if (j == null)
10628
10628
  j = i[++d];
10629
10629
  else if (Q == null)
@@ -10631,13 +10631,13 @@ const Xe = (e, i, ...o) => {
10631
10631
  else if (W == null)
10632
10632
  W = u[++_];
10633
10633
  else if (le == null)
10634
- le = u[--K];
10634
+ le = u[--q];
10635
10635
  else if (sv(j, W))
10636
10636
  xp(j, W), j = i[++d], W = u[++_];
10637
10637
  else if (sv(Q, le))
10638
- xp(Q, le), Q = i[--E], le = u[--K];
10638
+ xp(Q, le), Q = i[--E], le = u[--q];
10639
10639
  else if (sv(j, le))
10640
- xp(j, le), e.insertBefore(j.$elm$, Q.$elm$.nextSibling), j = i[++d], le = u[--K];
10640
+ xp(j, le), e.insertBefore(j.$elm$, Q.$elm$.nextSibling), j = i[++d], le = u[--q];
10641
10641
  else if (sv(Q, W))
10642
10642
  xp(Q, W), e.insertBefore(Q.$elm$, j.$elm$), Q = i[--E], W = u[++_];
10643
10643
  else {
@@ -10648,7 +10648,7 @@ const Xe = (e, i, ...o) => {
10648
10648
  }
10649
10649
  w >= 0 ? (we = i[w], we.$tag$ !== W.$tag$ ? fe = Bx(i && i[_], o, w) : (xp(we, W), i[w] = void 0, fe = we.$elm$), W = u[++_]) : (fe = Bx(i && i[_], o, _), W = u[++_]), fe && j.$elm$.parentNode.insertBefore(fe, j.$elm$);
10650
10650
  }
10651
- d > E ? OO(e, u[K + 1] == null ? null : u[K + 1].$elm$, o, u, _, K) : _ > K && kO(i, d, E);
10651
+ d > E ? OO(e, u[q + 1] == null ? null : u[q + 1].$elm$, o, u, _, q) : _ > q && kO(i, d, E);
10652
10652
  }, sv = (e, i) => e.$tag$ === i.$tag$ ? e.$key$ === i.$key$ : !1, xp = (e, i) => {
10653
10653
  const o = i.$elm$ = e.$elm$, u = e.$children$, d = i.$children$, _ = i.$tag$, w = i.$text$;
10654
10654
  w === null ? (ma = _ === "svg" ? !0 : _ === "foreignObject" ? !1 : ma, _ === "slot" || zO(e, i, ma), u !== null && d !== null ? TW(o, u, i, d) : d !== null ? (e.$text$ !== null && (o.textContent = ""), OO(o, null, i, d, 0, d.length - 1)) : u !== null && kO(u, 0, u.length - 1), ma && _ === "svg" && (ma = !1)) : e.$text$ !== w && (o.data = w);
@@ -10708,8 +10708,8 @@ const Xe = (e, i, ...o) => {
10708
10708
  const j = Number.isNaN(w) && Number.isNaN(o), Q = o !== w && !j;
10709
10709
  if ((!(a & 8) || w === void 0) && Q && (d.$instanceValues$.set(i, o), E)) {
10710
10710
  if (u.$watchers$ && a & 128) {
10711
- const K = u.$watchers$[i];
10712
- K && K.map((W) => {
10711
+ const q = u.$watchers$[i];
10712
+ q && q.map((W) => {
10713
10713
  try {
10714
10714
  E[W](o, w, i);
10715
10715
  } catch (le) {
@@ -10827,7 +10827,7 @@ const Xe = (e, i, ...o) => {
10827
10827
  }, jW = (e, i = {}) => {
10828
10828
  var o;
10829
10829
  const u = Hc(), d = [], _ = i.exclude || [], w = O1.customElements, a = ql.head, E = /* @__PURE__ */ a.querySelector("meta[charset]"), j = /* @__PURE__ */ ql.createElement("style"), Q = [];
10830
- let K, W = !0;
10830
+ let q, W = !0;
10831
10831
  Object.assign(rs, i), rs.$resourcesUrl$ = new URL(i.resourcesUrl || "./", ql.baseURI).href, e.map((le) => {
10832
10832
  le[1].map((fe) => {
10833
10833
  const we = {
@@ -10843,7 +10843,7 @@ const Xe = (e, i, ...o) => {
10843
10843
  super(ie), ie = this, FW(ie, we), we.$flags$ & 1 && ie.attachShadow({ mode: "open" });
10844
10844
  }
10845
10845
  connectedCallback() {
10846
- K && (clearTimeout(K), K = null), W ? Q.push(this) : rs.jmp(() => OW(this));
10846
+ q && (clearTimeout(q), q = null), W ? Q.push(this) : rs.jmp(() => OW(this));
10847
10847
  }
10848
10848
  disconnectedCallback() {
10849
10849
  rs.jmp(() => kW(this));
@@ -10865,7 +10865,7 @@ const Xe = (e, i, ...o) => {
10865
10865
  const le = (o = rs.$nonce$) !== null && o !== void 0 ? o : EO(ql);
10866
10866
  le != null && j.setAttribute("nonce", le), a.insertBefore(j, E ? E.nextSibling : a.firstChild);
10867
10867
  }
10868
- W = !1, Q.length ? Q.map((le) => le.connectedCallback()) : rs.jmp(() => K = setTimeout(RO, 30)), u();
10868
+ W = !1, Q.length ? Q.map((le) => le.connectedCallback()) : rs.jmp(() => q = setTimeout(RO, 30)), u();
10869
10869
  }, VO = (e, i, o, u) => {
10870
10870
  o && o.map(([d, _, w]) => {
10871
10871
  const a = RW(e, d), E = PW(i, w), j = BW(d);
@@ -11286,9 +11286,9 @@ class $x extends gw {
11286
11286
  usedParams: this.getUsedParamsDetails(o)
11287
11287
  } : w;
11288
11288
  }
11289
- const K = this.resolve(i, o);
11290
- let W = K && K.res;
11291
- const le = K && K.usedKey || w, fe = K && K.exactUsedKey || w, we = Object.prototype.toString.apply(W), $e = ["[object Number]", "[object Function]", "[object RegExp]"], me = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, ie = !this.i18nFormat || this.i18nFormat.handleAsObject;
11289
+ const q = this.resolve(i, o);
11290
+ let W = q && q.res;
11291
+ const le = q && q.usedKey || w, fe = q && q.exactUsedKey || w, we = Object.prototype.toString.apply(W), $e = ["[object Number]", "[object Function]", "[object RegExp]"], me = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, ie = !this.i18nFormat || this.i18nFormat.handleAsObject;
11292
11292
  if (ie && W && (typeof W != "string" && typeof W != "boolean" && typeof W != "number") && $e.indexOf(we) < 0 && !(typeof me == "string" && we === "[object Array]")) {
11293
11293
  if (!o.returnObjects && !this.options.returnObjects) {
11294
11294
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -11296,7 +11296,7 @@ class $x extends gw {
11296
11296
  ...o,
11297
11297
  ns: a
11298
11298
  }) : `key '${w} (${this.language})' returned an object instead of string.`;
11299
- return d ? (K.res = oe, K.usedParams = this.getUsedParamsDetails(o), K) : oe;
11299
+ return d ? (q.res = oe, q.usedParams = this.getUsedParamsDetails(o), q) : oe;
11300
11300
  }
11301
11301
  if (_) {
11302
11302
  const oe = we === "[object Array]", be = oe ? [] : {}, _e = oe ? fe : le;
@@ -11345,9 +11345,9 @@ class $x extends gw {
11345
11345
  });
11346
11346
  }) : wt(ci, w, xt));
11347
11347
  }
11348
- W = this.extendTranslation(W, i, o, K, u), be && W === w && this.options.appendNamespaceToMissingKey && (W = `${E}:${w}`), (be || oe) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? W = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${E}:${w}` : w, oe ? W : void 0) : W = this.options.parseMissingKeyHandler(W));
11348
+ W = this.extendTranslation(W, i, o, q, u), be && W === w && this.options.appendNamespaceToMissingKey && (W = `${E}:${w}`), (be || oe) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? W = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${E}:${w}` : w, oe ? W : void 0) : W = this.options.parseMissingKeyHandler(W));
11349
11349
  }
11350
- return d ? (K.res = W, K.usedParams = this.getUsedParamsDetails(o), K) : W;
11350
+ return d ? (q.res = W, q.usedParams = this.getUsedParamsDetails(o), q) : W;
11351
11351
  }
11352
11352
  extendTranslation(i, o, u, d, _) {
11353
11353
  var w = this;
@@ -11372,11 +11372,11 @@ class $x extends gw {
11372
11372
  const W = i.match(this.interpolator.nestingRegexp);
11373
11373
  Q = W && W.length;
11374
11374
  }
11375
- let K = u.replace && typeof u.replace != "string" ? u.replace : u;
11376
- if (this.options.interpolation.defaultVariables && (K = {
11375
+ let q = u.replace && typeof u.replace != "string" ? u.replace : u;
11376
+ if (this.options.interpolation.defaultVariables && (q = {
11377
11377
  ...this.options.interpolation.defaultVariables,
11378
- ...K
11379
- }), i = this.interpolator.interpolate(i, K, u.lng || this.language, u), j) {
11378
+ ...q
11379
+ }), i = this.interpolator.interpolate(i, q, u.lng || this.language, u), j) {
11380
11380
  const W = i.match(this.interpolator.nestingRegexp), le = W && W.length;
11381
11381
  Q < le && (u.nest = !1);
11382
11382
  }
@@ -11402,10 +11402,10 @@ class $x extends gw {
11402
11402
  return;
11403
11403
  const j = this.extractFromKey(E, o), Q = j.key;
11404
11404
  d = Q;
11405
- let K = j.namespaces;
11406
- this.options.fallbackNS && (K = K.concat(this.options.fallbackNS));
11405
+ let q = j.namespaces;
11406
+ this.options.fallbackNS && (q = q.concat(this.options.fallbackNS));
11407
11407
  const W = o.count !== void 0 && typeof o.count != "string", le = W && !o.ordinal && o.count === 0 && this.pluralResolver.shouldUseIntlApi(), fe = o.context !== void 0 && (typeof o.context == "string" || typeof o.context == "number") && o.context !== "", we = o.lngs ? o.lngs : this.languageUtils.toResolveHierarchy(o.lng || this.language, o.fallbackLng);
11408
- K.forEach(($e) => {
11408
+ q.forEach(($e) => {
11409
11409
  this.isValidLookup(u) || (a = $e, !KE[`${we[0]}-${$e}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (KE[`${we[0]}-${$e}`] = !0, this.logger.warn(`key "${d}" for languages "${we.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), we.forEach((me) => {
11410
11410
  if (this.isValidLookup(u))
11411
11411
  return;
@@ -11818,7 +11818,7 @@ class sq {
11818
11818
  });
11819
11819
  };
11820
11820
  this.resetRegExp();
11821
- const K = d && d.missingInterpolationHandler || this.options.missingInterpolationHandler, W = d && d.interpolation && d.interpolation.skipOnVariables !== void 0 ? d.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
11821
+ const q = d && d.missingInterpolationHandler || this.options.missingInterpolationHandler, W = d && d.interpolation && d.interpolation.skipOnVariables !== void 0 ? d.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
11822
11822
  return [{
11823
11823
  regex: this.regexpUnescape,
11824
11824
  safeValue: (fe) => j(fe)
@@ -11829,8 +11829,8 @@ class sq {
11829
11829
  for (a = 0; _ = fe.regex.exec(i); ) {
11830
11830
  const we = _[1].trim();
11831
11831
  if (w = Q(we), w === void 0)
11832
- if (typeof K == "function") {
11833
- const me = K(i, _, d);
11832
+ if (typeof q == "function") {
11833
+ const me = q(i, _, d);
11834
11834
  w = typeof me == "string" ? me : "";
11835
11835
  } else if (d && Object.prototype.hasOwnProperty.call(d, we))
11836
11836
  w = "";
@@ -11853,9 +11853,9 @@ class sq {
11853
11853
  const Q = this.nestingOptionsSeparator;
11854
11854
  if (E.indexOf(Q) < 0)
11855
11855
  return E;
11856
- const K = E.split(new RegExp(`${Q}[ ]*{`));
11857
- let W = `{${K[1]}`;
11858
- E = K[0], W = this.interpolate(W, w);
11856
+ const q = E.split(new RegExp(`${Q}[ ]*{`));
11857
+ let W = `{${q[1]}`;
11858
+ E = q[0], W = this.interpolate(W, w);
11859
11859
  const le = W.match(/'/g), fe = W.match(/"/g);
11860
11860
  (le && le.length % 2 === 0 && !fe || fe.length % 2 !== 0) && (W = W.replace(/'/g, '"'));
11861
11861
  try {
@@ -11875,12 +11875,12 @@ class sq {
11875
11875
  }, w = w.replace && typeof w.replace != "string" ? w.replace : w, w.applyPostProcessor = !1, delete w.defaultValue;
11876
11876
  let j = !1;
11877
11877
  if (d[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(d[1])) {
11878
- const Q = d[1].split(this.formatSeparator).map((K) => K.trim());
11878
+ const Q = d[1].split(this.formatSeparator).map((q) => q.trim());
11879
11879
  d[1] = Q.shift(), E = Q, j = !0;
11880
11880
  }
11881
11881
  if (_ = o(a.call(this, d[1].trim(), w), w), _ && d[0] === i && typeof _ != "string")
11882
11882
  return _;
11883
- typeof _ != "string" && (_ = ZE(_)), _ || (this.logger.warn(`missed to resolve ${d[1]} for nesting ${i}`), _ = ""), j && (_ = E.reduce((Q, K) => this.format(Q, K, u.lng, {
11883
+ typeof _ != "string" && (_ = ZE(_)), _ || (this.logger.warn(`missed to resolve ${d[1]} for nesting ${i}`), _ = ""), j && (_ = E.reduce((Q, q) => this.format(Q, q, u.lng, {
11884
11884
  ...u,
11885
11885
  interpolationkey: d[1].trim()
11886
11886
  }), _.trim())), i = i.replace(d[0], _), this.regexp.lastIndex = 0;
@@ -11972,10 +11972,10 @@ class lq {
11972
11972
  formatOptions: Q
11973
11973
  } = aq(E);
11974
11974
  if (this.formats[j]) {
11975
- let K = a;
11975
+ let q = a;
11976
11976
  try {
11977
11977
  const W = d && d.formatParams && d.formatParams[d.interpolationkey] || {}, le = W.locale || W.lng || d.locale || d.lng || u;
11978
- K = this.formats[j](a, le, {
11978
+ q = this.formats[j](a, le, {
11979
11979
  ...Q,
11980
11980
  ...d,
11981
11981
  ...W
@@ -11983,7 +11983,7 @@ class lq {
11983
11983
  } catch (W) {
11984
11984
  this.logger.warn(W);
11985
11985
  }
11986
- return K;
11986
+ return q;
11987
11987
  } else
11988
11988
  this.logger.warn(`there was no format function for ${j}`);
11989
11989
  return a;
@@ -12002,9 +12002,9 @@ class uq extends gw {
12002
12002
  const _ = {}, w = {}, a = {}, E = {};
12003
12003
  return i.forEach((j) => {
12004
12004
  let Q = !0;
12005
- o.forEach((K) => {
12006
- const W = `${j}|${K}`;
12007
- !u.reload && this.store.hasResourceBundle(j, K) ? this.state[W] = 2 : this.state[W] < 0 || (this.state[W] === 1 ? w[W] === void 0 && (w[W] = !0) : (this.state[W] = 1, Q = !1, w[W] === void 0 && (w[W] = !0), _[W] === void 0 && (_[W] = !0), E[K] === void 0 && (E[K] = !0)));
12005
+ o.forEach((q) => {
12006
+ const W = `${j}|${q}`;
12007
+ !u.reload && this.store.hasResourceBundle(j, q) ? this.state[W] = 2 : this.state[W] < 0 || (this.state[W] === 1 ? w[W] === void 0 && (w[W] = !0) : (this.state[W] = 1, Q = !1, w[W] === void 0 && (w[W] = !0), _[W] === void 0 && (_[W] = !0), E[q] === void 0 && (E[q] = !0)));
12008
12008
  }), Q || (a[j] = !0);
12009
12009
  }), (Object.keys(_).length || Object.keys(w).length) && this.queue.push({
12010
12010
  pending: w,
@@ -12027,8 +12027,8 @@ class uq extends gw {
12027
12027
  ZW(E.loaded, [_], w), cq(E, i), o && E.errors.push(o), E.pendingCount === 0 && !E.done && (Object.keys(E.loaded).forEach((j) => {
12028
12028
  a[j] || (a[j] = {});
12029
12029
  const Q = E.loaded[j];
12030
- Q.length && Q.forEach((K) => {
12031
- a[j][K] === void 0 && (a[j][K] = !0);
12030
+ Q.length && Q.forEach((q) => {
12031
+ a[j][q] === void 0 && (a[j][q] = !0);
12032
12032
  });
12033
12033
  }), E.done = !0, E.errors.length ? E.callback(E.errors) : E.callback());
12034
12034
  }), this.emit("loaded", a), this.queue = this.queue.filter((E) => !E.done);
@@ -12051,8 +12051,8 @@ class uq extends gw {
12051
12051
  this.readingCalls++;
12052
12052
  const a = (j, Q) => {
12053
12053
  if (this.readingCalls--, this.waitingReads.length > 0) {
12054
- const K = this.waitingReads.shift();
12055
- this.read(K.lng, K.ns, K.fcName, K.tried, K.wait, K.callback);
12054
+ const q = this.waitingReads.shift();
12055
+ this.read(q.lng, q.ns, q.fcName, q.tried, q.wait, q.callback);
12056
12056
  }
12057
12057
  if (j && Q && d < this.maxRetries) {
12058
12058
  setTimeout(() => {
@@ -12116,7 +12116,7 @@ class uq extends gw {
12116
12116
  if (j.length < 6)
12117
12117
  try {
12118
12118
  let Q;
12119
- j.length === 5 ? Q = j(i, o, u, d, E) : Q = j(i, o, u, d), Q && typeof Q.then == "function" ? Q.then((K) => a(null, K)).catch(a) : a(null, Q);
12119
+ j.length === 5 ? Q = j(i, o, u, d, E) : Q = j(i, o, u, d), Q && typeof Q.then == "function" ? Q.then((q) => a(null, q)).catch(a) : a(null, Q);
12120
12120
  } catch (Q) {
12121
12121
  a(Q);
12122
12122
  }
@@ -12229,10 +12229,10 @@ class m1 extends gw {
12229
12229
  this.modules.logger ? Kl.init(_(this.modules.logger), this.options) : Kl.init(null, this.options);
12230
12230
  let Q;
12231
12231
  this.modules.formatter ? Q = this.modules.formatter : typeof Intl < "u" && (Q = lq);
12232
- const K = new XE(this.options);
12232
+ const q = new XE(this.options);
12233
12233
  this.store = new qE(this.options.resources, this.options);
12234
12234
  const W = this.services;
12235
- W.logger = Kl, W.resourceStore = this.store, W.languageUtils = K, W.pluralResolver = new oq(K, {
12235
+ W.logger = Kl, W.resourceStore = this.store, W.languageUtils = q, W.pluralResolver = new oq(q, {
12236
12236
  prepend: this.options.pluralSeparator,
12237
12237
  compatibilityJSON: this.options.compatibilityJSON,
12238
12238
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
@@ -12264,8 +12264,8 @@ class m1 extends gw {
12264
12264
  };
12265
12265
  });
12266
12266
  const E = C0(), j = () => {
12267
- const Q = (K, W) => {
12268
- this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), E.resolve(W), u(K, W);
12267
+ const Q = (q, W) => {
12268
+ this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), E.resolve(W), u(q, W);
12269
12269
  };
12270
12270
  if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized)
12271
12271
  return Q(null, this.t.bind(this));
@@ -12342,8 +12342,8 @@ class m1 extends gw {
12342
12342
  const _ = function(w, a) {
12343
12343
  let E;
12344
12344
  if (typeof a != "object") {
12345
- for (var j = arguments.length, Q = new Array(j > 2 ? j - 2 : 0), K = 2; K < j; K++)
12346
- Q[K - 2] = arguments[K];
12345
+ for (var j = arguments.length, Q = new Array(j > 2 ? j - 2 : 0), q = 2; q < j; q++)
12346
+ Q[q - 2] = arguments[q];
12347
12347
  E = d.options.overloadTranslationOptionHandler([w, a].concat(Q));
12348
12348
  } else
12349
12349
  E = {
@@ -12623,10 +12623,10 @@ function Qo(e) {
12623
12623
  let j = e || d || _.options && _.options.defaultNS;
12624
12624
  j = typeof j == "string" ? [j] : j || ["translation"], _.reportNamespaces.addUsedNamespaces && _.reportNamespaces.addUsedNamespaces(j);
12625
12625
  const Q = (_.isInitialized || _.initializedStoreOnce) && j.every((te) => pq(te, _, w));
12626
- function K() {
12626
+ function q() {
12627
12627
  return _.getFixedT(i.lng || null, w.nsMode === "fallback" ? j : j[0], E);
12628
12628
  }
12629
- const [W, le] = xe.useState(K);
12629
+ const [W, le] = xe.useState(q);
12630
12630
  let fe = j.join();
12631
12631
  i.lng && (fe = `${i.lng}${fe}`);
12632
12632
  const we = Dq(fe), $e = xe.useRef(!0);
@@ -12636,12 +12636,12 @@ function Qo(e) {
12636
12636
  bindI18nStore: oe
12637
12637
  } = w;
12638
12638
  $e.current = !0, !Q && !a && (i.lng ? oN(_, i.lng, j, () => {
12639
- $e.current && le(K);
12639
+ $e.current && le(q);
12640
12640
  }) : rN(_, j, () => {
12641
- $e.current && le(K);
12642
- })), Q && we && we !== fe && $e.current && le(K);
12641
+ $e.current && le(q);
12642
+ })), Q && we && we !== fe && $e.current && le(q);
12643
12643
  function be() {
12644
- $e.current && le(K);
12644
+ $e.current && le(q);
12645
12645
  }
12646
12646
  return te && _ && _.on(te, be), oe && _ && _.store.on(oe, be), () => {
12647
12647
  $e.current = !1, te && _ && te.split(" ").forEach((_e) => _.off(_e, be)), oe && _ && oe.split(" ").forEach((_e) => _.store.off(_e, be));
@@ -12649,7 +12649,7 @@ function Qo(e) {
12649
12649
  }, [_, fe]);
12650
12650
  const me = xe.useRef(!0);
12651
12651
  xe.useEffect(() => {
12652
- $e.current && !me.current && le(K), me.current = !1;
12652
+ $e.current && !me.current && le(q), me.current = !1;
12653
12653
  }, [_, E]);
12654
12654
  const ie = [W, _, Q];
12655
12655
  if (ie.t = W, ie.i18n = _, ie.ready = Q, Q || !Q && !a)
@@ -13718,13 +13718,13 @@ t7.propTypes = {
13718
13718
  enableAccessibilityKioskControls: ct.bool
13719
13719
  };
13720
13720
  function t7({ mapType: e, mapsIndoorsInstance: i, mapInstance: o, onPositionControl: u, brandingColor: d, devicePosition: _, excludedElements: w = "", isKiosk: a, enableAccessibilityKioskControls: E = !1 }) {
13721
- const j = LT(), Q = xe.useRef(null), K = xe.useRef(null), W = xe.useCallback((we) => !w || typeof w != "string" ? !0 : !w.split(",").map((me) => me.trim()).includes(we), [w]), le = xe.useMemo(() => {
13721
+ const j = LT(), Q = xe.useRef(null), q = xe.useRef(null), W = xe.useCallback((we) => !w || typeof w != "string" ? !0 : !w.split(",").map((me) => me.trim()).includes(we), [w]), le = xe.useMemo(() => {
13722
13722
  const we = {};
13723
13723
  for (const [$e, me] of Object.entries(lv))
13724
13724
  we[$e] = /* @__PURE__ */ Oe.jsx("div", { className: me.className }, me.key);
13725
13725
  return we;
13726
13726
  }, []), fe = (we) => {
13727
- K.current.customPositionProvider.setPosition(we) && K.current.watchPosition();
13727
+ q.current.customPositionProvider.setPosition(we) && q.current.watchPosition();
13728
13728
  };
13729
13729
  return xe.useEffect(() => {
13730
13730
  if (!(!i || !o)) {
@@ -13732,32 +13732,32 @@ function t7({ mapType: e, mapsIndoorsInstance: i, mapInstance: o, onPositionCont
13732
13732
  const we = document.createElement("mi-floor-selector");
13733
13733
  Q.current = we;
13734
13734
  }
13735
- if (!K.current) {
13735
+ if (!q.current) {
13736
13736
  const we = document.createElement("mi-my-position");
13737
- K.current = we;
13737
+ q.current = we;
13738
13738
  }
13739
- Q.current.mapsindoors = i, K.current.mapsindoors = i, d && (Q.current.primaryColor = d), u && K.current && u(K.current);
13739
+ Q.current.mapsindoors = i, q.current.mapsindoors = i, d && (Q.current.primaryColor = d), u && q.current && u(q.current);
13740
13740
  }
13741
13741
  }, [e, i, o, u, d]), xe.useEffect(() => {
13742
- if (K.current) {
13743
- if (K.current.stopListeningForPosition && typeof K.current.stopListeningForPosition == "function" && K.current.stopListeningForPosition(), _ && typeof _ == "object") {
13744
- if (K.current.customPositionProvider || (K.current.customPositionProvider = new Vq()), Object.keys(_).length === 0)
13742
+ if (q.current) {
13743
+ if (q.current.stopListeningForPosition && typeof q.current.stopListeningForPosition == "function" && q.current.stopListeningForPosition(), _ && typeof _ == "object") {
13744
+ if (q.current.customPositionProvider || (q.current.customPositionProvider = new Vq()), Object.keys(_).length === 0)
13745
13745
  return;
13746
13746
  fe(_);
13747
13747
  }
13748
13748
  return () => {
13749
- K.current && K.current.stopListeningForPosition && typeof K.current.stopListeningForPosition == "function" && K.current.stopListeningForPosition();
13749
+ q.current && q.current.stopListeningForPosition && typeof q.current.stopListeningForPosition == "function" && q.current.stopListeningForPosition();
13750
13750
  };
13751
13751
  }
13752
13752
  }, [_]), xe.useEffect(() => {
13753
- if (!Q.current || !K.current)
13753
+ if (!Q.current || !q.current)
13754
13754
  return;
13755
13755
  const we = ($e, me) => {
13756
13756
  const ie = document.querySelector(`.${me}`);
13757
13757
  ie && !ie.contains($e) && ($e.remove(), ie.appendChild($e));
13758
13758
  };
13759
13759
  requestAnimationFrame(() => {
13760
- W("floorSelector") && we(Q.current, lv.floorSelector.className), W("myPosition") && we(K.current, lv.myPosition.className);
13760
+ W("floorSelector") && we(Q.current, lv.floorSelector.className), W("myPosition") && we(q.current, lv.myPosition.className);
13761
13761
  });
13762
13762
  }, [j, a, W]), xe.useEffect(() => {
13763
13763
  Object.entries(lv).forEach(([we, $e]) => {
@@ -13836,7 +13836,7 @@ i7.propTypes = {
13836
13836
  devicePosition: ct.object,
13837
13837
  isKiosk: ct.bool
13838
13838
  };
13839
- function i7({ apiKey: e, gmApiKey: i, mapboxAccessToken: o, center: u, zoom: d, bounds: _, bearing: w, pitch: a, resetUICounter: E, mapOptions: j, onInitialized: Q, gmMapId: K, devicePosition: W, isKiosk: le }) {
13839
+ function i7({ apiKey: e, gmApiKey: i, mapboxAccessToken: o, center: u, zoom: d, bounds: _, bearing: w, pitch: a, resetUICounter: E, mapOptions: j, onInitialized: Q, gmMapId: q, devicePosition: W, isKiosk: le }) {
13840
13840
  var ci, Ot;
13841
13841
  const [fe, we] = xe.useState(), [$e, me] = xe.useState(), [ie, te] = xe.useState(), [oe, be] = xe.useState(), [_e, Je] = xe.useState(), [nt, Ye] = xe.useState(), [xt, dt] = xe.useState(), Pt = xe.useMemo(() => {
13842
13842
  var wt;
@@ -13884,7 +13884,7 @@ function i7({ apiKey: e, gmApiKey: i, mapboxAccessToken: o, center: u, zoom: d,
13884
13884
  heading: w,
13885
13885
  tilt: a,
13886
13886
  bounds: _,
13887
- gmMapId: K
13887
+ gmMapId: q
13888
13888
  }
13889
13889
  ) }),
13890
13890
  fe === mp.Mapbox && /* @__PURE__ */ Oe.jsx(xe.Suspense, { children: /* @__PURE__ */ Oe.jsx(
@@ -14392,7 +14392,7 @@ const dK = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14392
14392
  }, Symbol.toStringTag, { value: "Module" }));
14393
14393
  function xg(e, i, o) {
14394
14394
  if (e !== null)
14395
- for (var u, d, _, w, a, E, j, Q = 0, K = 0, W, le = e.type, fe = le === "FeatureCollection", we = le === "Feature", $e = fe ? e.features.length : 1, me = 0; me < $e; me++) {
14395
+ for (var u, d, _, w, a, E, j, Q = 0, q = 0, W, le = e.type, fe = le === "FeatureCollection", we = le === "Feature", $e = fe ? e.features.length : 1, me = 0; me < $e; me++) {
14396
14396
  j = fe ? e.features[me].geometry : we ? e.geometry : e, W = j ? j.type === "GeometryCollection" : !1, a = W ? j.geometries.length : 1;
14397
14397
  for (var ie = 0; ie < a; ie++) {
14398
14398
  var te = 0, oe = 0;
@@ -14405,26 +14405,26 @@ function xg(e, i, o) {
14405
14405
  case "Point":
14406
14406
  if (i(
14407
14407
  E,
14408
- K,
14408
+ q,
14409
14409
  me,
14410
14410
  te,
14411
14411
  oe
14412
14412
  ) === !1)
14413
14413
  return !1;
14414
- K++, te++;
14414
+ q++, te++;
14415
14415
  break;
14416
14416
  case "LineString":
14417
14417
  case "MultiPoint":
14418
14418
  for (u = 0; u < E.length; u++) {
14419
14419
  if (i(
14420
14420
  E[u],
14421
- K,
14421
+ q,
14422
14422
  me,
14423
14423
  te,
14424
14424
  oe
14425
14425
  ) === !1)
14426
14426
  return !1;
14427
- K++, be === "MultiPoint" && te++;
14427
+ q++, be === "MultiPoint" && te++;
14428
14428
  }
14429
14429
  be === "LineString" && te++;
14430
14430
  break;
@@ -14434,13 +14434,13 @@ function xg(e, i, o) {
14434
14434
  for (d = 0; d < E[u].length - Q; d++) {
14435
14435
  if (i(
14436
14436
  E[u][d],
14437
- K,
14437
+ q,
14438
14438
  me,
14439
14439
  te,
14440
14440
  oe
14441
14441
  ) === !1)
14442
14442
  return !1;
14443
- K++;
14443
+ q++;
14444
14444
  }
14445
14445
  be === "MultiLineString" && te++, be === "Polygon" && oe++;
14446
14446
  }
@@ -14452,13 +14452,13 @@ function xg(e, i, o) {
14452
14452
  for (_ = 0; _ < E[u][d].length - Q; _++) {
14453
14453
  if (i(
14454
14454
  E[u][d][_],
14455
- K,
14455
+ q,
14456
14456
  me,
14457
14457
  te,
14458
14458
  oe
14459
14459
  ) === !1)
14460
14460
  return !1;
14461
- K++;
14461
+ q++;
14462
14462
  }
14463
14463
  oe++;
14464
14464
  }
@@ -14532,16 +14532,16 @@ function mK(e) {
14532
14532
  }), i;
14533
14533
  }
14534
14534
  function HT(e, i) {
14535
- var o, u, d, _, w, a, E, j, Q, K, W = 0, le = e.type === "FeatureCollection", fe = e.type === "Feature", we = le ? e.features.length : 1;
14535
+ var o, u, d, _, w, a, E, j, Q, q, W = 0, le = e.type === "FeatureCollection", fe = e.type === "Feature", we = le ? e.features.length : 1;
14536
14536
  for (o = 0; o < we; o++) {
14537
- for (a = le ? e.features[o].geometry : fe ? e.geometry : e, j = le ? e.features[o].properties : fe ? e.properties : {}, Q = le ? e.features[o].bbox : fe ? e.bbox : void 0, K = le ? e.features[o].id : fe ? e.id : void 0, E = a ? a.type === "GeometryCollection" : !1, w = E ? a.geometries.length : 1, d = 0; d < w; d++) {
14537
+ for (a = le ? e.features[o].geometry : fe ? e.geometry : e, j = le ? e.features[o].properties : fe ? e.properties : {}, Q = le ? e.features[o].bbox : fe ? e.bbox : void 0, q = le ? e.features[o].id : fe ? e.id : void 0, E = a ? a.type === "GeometryCollection" : !1, w = E ? a.geometries.length : 1, d = 0; d < w; d++) {
14538
14538
  if (_ = E ? a.geometries[d] : a, _ === null) {
14539
14539
  if (i(
14540
14540
  null,
14541
14541
  W,
14542
14542
  j,
14543
14543
  Q,
14544
- K
14544
+ q
14545
14545
  ) === !1)
14546
14546
  return !1;
14547
14547
  continue;
@@ -14558,7 +14558,7 @@ function HT(e, i) {
14558
14558
  W,
14559
14559
  j,
14560
14560
  Q,
14561
- K
14561
+ q
14562
14562
  ) === !1)
14563
14563
  return !1;
14564
14564
  break;
@@ -14570,7 +14570,7 @@ function HT(e, i) {
14570
14570
  W,
14571
14571
  j,
14572
14572
  Q,
14573
- K
14573
+ q
14574
14574
  ) === !1)
14575
14575
  return !1;
14576
14576
  break;
@@ -14625,11 +14625,11 @@ function $c(e, i) {
14625
14625
  break;
14626
14626
  }
14627
14627
  for (var j = 0; j < o.coordinates.length; j++) {
14628
- var Q = o.coordinates[j], K = {
14628
+ var Q = o.coordinates[j], q = {
14629
14629
  type: E,
14630
14630
  coordinates: Q
14631
14631
  };
14632
- if (i(Ha(K, d), u, j) === !1)
14632
+ if (i(Ha(q, d), u, j) === !1)
14633
14633
  return !1;
14634
14634
  }
14635
14635
  });
@@ -14657,13 +14657,13 @@ function m7(e, i) {
14657
14657
  var a, E = 0, j = 0, Q = 0;
14658
14658
  if (xg(
14659
14659
  o,
14660
- function(K, W, le, fe, we) {
14660
+ function(q, W, le, fe, we) {
14661
14661
  if (a === void 0 || u > E || fe > j || we > Q) {
14662
- a = K, E = u, j = fe, Q = we, _ = 0;
14662
+ a = q, E = u, j = fe, Q = we, _ = 0;
14663
14663
  return;
14664
14664
  }
14665
14665
  var $e = hl(
14666
- [a, K],
14666
+ [a, q],
14667
14667
  o.properties
14668
14668
  );
14669
14669
  if (i(
@@ -14674,7 +14674,7 @@ function m7(e, i) {
14674
14674
  _
14675
14675
  ) === !1)
14676
14676
  return !1;
14677
- _++, a = K;
14677
+ _++, a = q;
14678
14678
  }
14679
14679
  ) === !1)
14680
14680
  return !1;
@@ -14918,8 +14918,8 @@ function _1(e, i, o) {
14918
14918
  _ === "Polygon" && (a = [a]);
14919
14919
  for (var E = !1, j = 0; j < a.length && !E; j++)
14920
14920
  if (aN(u, a[j][0], o.ignoreBoundary)) {
14921
- for (var Q = !1, K = 1; K < a[j].length && !Q; )
14922
- aN(u, a[j][K], !o.ignoreBoundary) && (Q = !0), K++;
14921
+ for (var Q = !1, q = 1; q < a[j].length && !Q; )
14922
+ aN(u, a[j][q], !o.ignoreBoundary) && (Q = !0), q++;
14923
14923
  Q || (E = !0);
14924
14924
  }
14925
14925
  return E;
@@ -14931,8 +14931,8 @@ function aN(e, i, o) {
14931
14931
  var w = i[d][0], a = i[d][1], E = i[_][0], j = i[_][1], Q = e[1] * (w - E) + a * (E - e[0]) + j * (e[0] - w) === 0 && (w - e[0]) * (E - e[0]) <= 0 && (a - e[1]) * (j - e[1]) <= 0;
14932
14932
  if (Q)
14933
14933
  return !o;
14934
- var K = a > e[1] != j > e[1] && e[0] < (E - w) * (e[1] - a) / (j - a) + w;
14935
- K && (u = !u);
14934
+ var q = a > e[1] != j > e[1] && e[0] < (E - w) * (e[1] - a) / (j - a) + w;
14935
+ q && (u = !u);
14936
14936
  }
14937
14937
  return u;
14938
14938
  }
@@ -15039,7 +15039,7 @@ var $T = { exports: {} }, _7 = { exports: {} };
15039
15039
  function Q(ie, te) {
15040
15040
  return ie.minX - te.minX;
15041
15041
  }
15042
- function K(ie, te) {
15042
+ function q(ie, te) {
15043
15043
  return ie.minY - te.minY;
15044
15044
  }
15045
15045
  function W(ie) {
@@ -15191,7 +15191,7 @@ var $T = { exports: {} }, _7 = { exports: {} };
15191
15191
  }
15192
15192
  return be || oe - te;
15193
15193
  }, _.prototype._chooseSplitAxis = function(ie, te, oe) {
15194
- var be = ie.leaf ? this.compareMinX : Q, _e = ie.leaf ? this.compareMinY : K;
15194
+ var be = ie.leaf ? this.compareMinX : Q, _e = ie.leaf ? this.compareMinY : q;
15195
15195
  this._allDistMargin(ie, te, oe, be) < this._allDistMargin(ie, te, oe, _e) && ie.children.sort(be);
15196
15196
  }, _.prototype._allDistMargin = function(ie, te, oe, be) {
15197
15197
  ie.children.sort(be);
@@ -15303,7 +15303,7 @@ function uN(e, i) {
15303
15303
  throw new Error("<intersects> line1 must only contain 2 coordinates");
15304
15304
  if (u.length !== 2)
15305
15305
  throw new Error("<intersects> line2 must only contain 2 coordinates");
15306
- var d = o[0][0], _ = o[0][1], w = o[1][0], a = o[1][1], E = u[0][0], j = u[0][1], Q = u[1][0], K = u[1][1], W = (K - j) * (w - d) - (Q - E) * (a - _), le = (Q - E) * (_ - j) - (K - j) * (d - E), fe = (w - d) * (_ - j) - (a - _) * (d - E);
15306
+ var d = o[0][0], _ = o[0][1], w = o[1][0], a = o[1][1], E = u[0][0], j = u[0][1], Q = u[1][0], q = u[1][1], W = (q - j) * (w - d) - (Q - E) * (a - _), le = (Q - E) * (_ - j) - (q - j) * (d - E), fe = (w - d) * (_ - j) - (a - _) * (d - E);
15307
15307
  if (W === 0)
15308
15308
  return null;
15309
15309
  var we = le / W, $e = fe / W;
@@ -15435,12 +15435,12 @@ function YK(e, i) {
15435
15435
  }), o;
15436
15436
  }
15437
15437
  const GK = () => {
15438
- const [e, i] = xe.useState(!1), [o, u] = xe.useState(!1), d = gl(), _ = l7(), w = Ci(jT), a = Ci(j1), E = Ci(PT), j = Ci(Mw), Q = Ci(ba), K = Ci(ww), W = Ci(s7), le = Ci(P1), fe = Ci(Kq), we = Ci(RT), [$e, me] = xe.useState(!1), [ie, te] = sn(dh), oe = sn(Iw), [be] = sn(u7), [_e, Je] = xe.useState({ id: null, originalRule: null });
15438
+ const [e, i] = xe.useState(!1), [o, u] = xe.useState(!1), d = gl(), _ = l7(), w = Ci(jT), a = Ci(j1), E = Ci(PT), j = Ci(Mw), Q = Ci(ba), q = Ci(ww), W = Ci(s7), le = Ci(P1), fe = Ci(Kq), we = Ci(RT), [$e, me] = xe.useState(!1), [ie, te] = sn(dh), oe = sn(Iw), [be] = sn(u7), [_e, Je] = xe.useState({ id: null, originalRule: null });
15439
15439
  xe.useEffect(() => {
15440
15440
  _ && nt();
15441
15441
  }, [_]), xe.useEffect(() => {
15442
15442
  nt();
15443
- }, [Q, ie, j, E, K, w, W, a, be]);
15443
+ }, [Q, ie, j, E, q, w, W, a, be]);
15444
15444
  function nt() {
15445
15445
  const Pt = le.find((Tt) => Tt.name.toLowerCase() === ie.toLowerCase());
15446
15446
  if (!E && _e.id && Q && $e && (window.mapsindoors.services.LocationsService.getLocation(_e.id).then((Tt) => {
@@ -15535,7 +15535,7 @@ I7.propTypes = {
15535
15535
  isViewSelectorVisible: ct.bool
15536
15536
  };
15537
15537
  function I7({ isViewSelectorDisabled: e, isViewSelectorVisible: i }) {
15538
- const { t: o } = Qo(), [u, d] = xe.useState(!1), [_, w] = xe.useState([]), [a, E] = xe.useState(null), j = gl(), Q = Ci(ba), K = Ci(dh), W = ".view-selector-portal", [le, fe] = xe.useState(null), we = xe.useRef(null), $e = xe.useRef(null), me = 6, ie = 60;
15538
+ const { t: o } = Qo(), [u, d] = xe.useState(!1), [_, w] = xe.useState([]), [a, E] = xe.useState(null), j = gl(), Q = Ci(ba), q = Ci(dh), W = ".view-selector-portal", [le, fe] = xe.useState(null), we = xe.useRef(null), $e = xe.useRef(null), me = 6, ie = 60;
15539
15539
  xe.useEffect(() => {
15540
15540
  let nt = document.querySelector(W);
15541
15541
  if (nt) {
@@ -15560,16 +15560,16 @@ function I7({ isViewSelectorDisabled: e, isViewSelectorVisible: i }) {
15560
15560
  };
15561
15561
  }, [j]), xe.useEffect(() => {
15562
15562
  var nt;
15563
- if (Q && K) {
15563
+ if (Q && q) {
15564
15564
  const Ye = (nt = Q.getVenue()) == null ? void 0 : nt.id;
15565
15565
  Ye && E(Ye);
15566
15566
  }
15567
- }, [Q, K]), xe.useEffect(() => {
15568
- Q && K && window.mapsindoors.services.VenuesService.getVenues().then((nt) => {
15569
- const Ye = nt.find((xt) => xt.name.toLowerCase() === K.toLowerCase());
15567
+ }, [Q, q]), xe.useEffect(() => {
15568
+ Q && q && window.mapsindoors.services.VenuesService.getVenues().then((nt) => {
15569
+ const Ye = nt.find((xt) => xt.name.toLowerCase() === q.toLowerCase());
15570
15570
  Ye != null && Ye.id && E(Ye.id);
15571
15571
  });
15572
- }, [Q, K]), xe.useEffect(() => {
15572
+ }, [Q, q]), xe.useEffect(() => {
15573
15573
  a && window.mapsindoors.services.VenuesService.getBuildings(a).then((nt) => {
15574
15574
  w(nt);
15575
15575
  });
@@ -15680,15 +15680,15 @@ function pN({ supportedLanguages: e, currentLanguage: i, setLanguage: o, setIsEx
15680
15680
  )) });
15681
15681
  }
15682
15682
  function T7({ currentLanguage: e, setLanguage: i, isVisible: o }) {
15683
- const { t: u } = Qo(), [d, _] = xe.useState(!1), w = xe.useRef(null), a = xe.useRef(null), [E, j] = xe.useState(null), Q = gl(), K = ".language-selector-portal";
15683
+ const { t: u } = Qo(), [d, _] = xe.useState(!1), w = xe.useRef(null), a = xe.useRef(null), [E, j] = xe.useState(null), Q = gl(), q = ".language-selector-portal";
15684
15684
  return xe.useEffect(() => {
15685
- let W = document.querySelector(K);
15685
+ let W = document.querySelector(q);
15686
15686
  if (W) {
15687
15687
  j(W);
15688
15688
  return;
15689
15689
  }
15690
15690
  const le = new MutationObserver(() => {
15691
- W = document.querySelector(K), W && (j(W), le.disconnect());
15691
+ W = document.querySelector(q), W && (j(W), le.disconnect());
15692
15692
  });
15693
15693
  return le.observe(document.body, { childList: !0, subtree: !0 }), () => le.disconnect();
15694
15694
  }, []), xe.useEffect(() => {
@@ -15775,14 +15775,14 @@ function D7() {
15775
15775
  properties: me.properties
15776
15776
  }))
15777
15777
  };
15778
- $e.features.length > 0 && Promise.all([K(), W()]).then(([me, ie]) => {
15778
+ $e.features.length > 0 && Promise.all([q(), W()]).then(([me, ie]) => {
15779
15779
  _.goTo($e, {
15780
15780
  maxZoom: 22,
15781
15781
  padding: { bottom: me, left: ie, top: 0, right: 0 }
15782
15782
  });
15783
15783
  });
15784
15784
  }
15785
- function K() {
15785
+ function q() {
15786
15786
  return new Promise((le) => {
15787
15787
  E ? a ? bw().then((fe) => le(fe)) : le(0) : le(200);
15788
15788
  });
@@ -15835,7 +15835,7 @@ S7.propTypes = {
15835
15835
  devicePosition: ct.object
15836
15836
  };
15837
15837
  let M3;
15838
- function S7({ onLocationClick: e, onMapPositionKnown: i, useMapProviderModule: o, onMapPositionInvestigating: u, onViewModeSwitchKnown: d, resetCount: _, mapOptions: w, gmMapId: a, isWayfindingOrDirections: E, currentLanguage: j, setLanguage: Q, devicePosition: K }) {
15838
+ function S7({ onLocationClick: e, onMapPositionKnown: i, useMapProviderModule: o, onMapPositionInvestigating: u, onViewModeSwitchKnown: d, resetCount: _, mapOptions: w, gmMapId: a, isWayfindingOrDirections: E, currentLanguage: j, setLanguage: Q, devicePosition: q }) {
15839
15839
  const W = Ci(OT), le = Ci(kT), fe = Ci(_w), [we, $e] = sn(yw), [me, ie] = sn(ba), [, te] = sn(mw), [, oe] = sn(zT), be = Ci(vw), _e = Ci(xw), Je = Ci(n7), nt = Ci(jT), Ye = Ci(ww), [, xt] = sn(r7), dt = Ci(o7), [, Pt] = sn(k1), Tt = Ci(M7), ci = Ci(zd), [Ot, wt] = xe.useState(!1), [$t, St] = xe.useState(!1), Ht = fh();
15840
15840
  Wq(W);
15841
15841
  const [Z, ne] = GK();
@@ -15904,7 +15904,7 @@ function S7({ onLocationClick: e, onMapPositionKnown: i, useMapProviderModule: o
15904
15904
  resetUICounter: _,
15905
15905
  mapOptions: w,
15906
15906
  gmMapId: a,
15907
- devicePosition: K,
15907
+ devicePosition: q,
15908
15908
  isKiosk: Ht
15909
15909
  }
15910
15910
  ),
@@ -16033,7 +16033,7 @@ var N7 = function(i) {
16033
16033
  status: R0
16034
16034
  });
16035
16035
  }, o.performEnter = function(d) {
16036
- var _ = this, w = this.props.enter, a = this.context ? this.context.isMounting : d, E = this.props.nodeRef ? [a] : [j0.findDOMNode(this), a], j = E[0], Q = E[1], K = this.getTimeouts(), W = a ? K.appear : K.enter;
16036
+ var _ = this, w = this.props.enter, a = this.context ? this.context.isMounting : d, E = this.props.nodeRef ? [a] : [j0.findDOMNode(this), a], j = E[0], Q = E[1], q = this.getTimeouts(), W = a ? q.appear : q.enter;
16037
16037
  if (!d && !w || mN.disabled) {
16038
16038
  this.safeSetState({
16039
16039
  status: bp
@@ -16154,13 +16154,13 @@ var iX = function(i, o) {
16154
16154
  enter: {},
16155
16155
  exit: {}
16156
16156
  }, u.onEnter = function(a, E) {
16157
- var j = u.resolveArguments(a, E), Q = j[0], K = j[1];
16158
- u.removeClasses(Q, "exit"), u.addClass(Q, K ? "appear" : "enter", "base"), u.props.onEnter && u.props.onEnter(a, E);
16157
+ var j = u.resolveArguments(a, E), Q = j[0], q = j[1];
16158
+ u.removeClasses(Q, "exit"), u.addClass(Q, q ? "appear" : "enter", "base"), u.props.onEnter && u.props.onEnter(a, E);
16159
16159
  }, u.onEntering = function(a, E) {
16160
- var j = u.resolveArguments(a, E), Q = j[0], K = j[1], W = K ? "appear" : "enter";
16160
+ var j = u.resolveArguments(a, E), Q = j[0], q = j[1], W = q ? "appear" : "enter";
16161
16161
  u.addClass(Q, W, "active"), u.props.onEntering && u.props.onEntering(a, E);
16162
16162
  }, u.onEntered = function(a, E) {
16163
- var j = u.resolveArguments(a, E), Q = j[0], K = j[1], W = K ? "appear" : "enter";
16163
+ var j = u.resolveArguments(a, E), Q = j[0], q = j[1], W = q ? "appear" : "enter";
16164
16164
  u.removeClasses(Q, W), u.addClass(Q, W, "done"), u.props.onEntered && u.props.onEntered(a, E);
16165
16165
  }, u.onExit = function(a) {
16166
16166
  var E = u.resolveArguments(a), j = E[0];
@@ -16174,9 +16174,9 @@ var iX = function(i, o) {
16174
16174
  }, u.resolveArguments = function(a, E) {
16175
16175
  return u.props.nodeRef ? [u.props.nodeRef.current, a] : [a, E];
16176
16176
  }, u.getClassNames = function(a) {
16177
- var E = u.props.classNames, j = typeof E == "string", Q = j && E ? E + "-" : "", K = j ? "" + Q + a : E[a], W = j ? K + "-active" : E[a + "Active"], le = j ? K + "-done" : E[a + "Done"];
16177
+ var E = u.props.classNames, j = typeof E == "string", Q = j && E ? E + "-" : "", q = j ? "" + Q + a : E[a], W = j ? q + "-active" : E[a + "Active"], le = j ? q + "-done" : E[a + "Done"];
16178
16178
  return {
16179
- baseClassName: K,
16179
+ baseClassName: q,
16180
16180
  activeClassName: W,
16181
16181
  doneClassName: le
16182
16182
  };
@@ -16239,13 +16239,13 @@ z7.propTypes = {
16239
16239
  active: ct.bool
16240
16240
  };
16241
16241
  function z7({ onOpen: e, onClose: i, active: o }) {
16242
- const { t: u } = Qo(), d = xe.useRef(null), _ = Ci(P1), [, w] = sn(RT), [a, E] = sn(dh), [, j] = sn(Dw), Q = document.querySelector(".venue-selector-portal"), K = (fe) => {
16242
+ const { t: u } = Qo(), d = xe.useRef(null), _ = Ci(P1), [, w] = sn(RT), [a, E] = sn(dh), [, j] = sn(Dw), Q = document.querySelector(".venue-selector-portal"), q = (fe) => {
16243
16243
  w(!0), E(fe.name), W();
16244
16244
  }, W = () => {
16245
16245
  o ? i() : e();
16246
16246
  };
16247
16247
  function le(fe) {
16248
- K(fe), j(!1);
16248
+ q(fe), j(!1);
16249
16249
  }
16250
16250
  return /* @__PURE__ */ Oe.jsxs(Oe.Fragment, { children: [
16251
16251
  !o && Q && lh.createPortal(
@@ -16308,22 +16308,22 @@ function vN(e, i) {
16308
16308
  }
16309
16309
  function fX(e, i) {
16310
16310
  const o = (Q) => {
16311
- const K = "touches" in Q;
16312
- K && Q.touches.length > 1 || e((W, le) => {
16313
- le.trackMouse && !K && (document.addEventListener(yN, u), document.addEventListener(_N, w));
16314
- const { clientX: fe, clientY: we } = K ? Q.touches[0] : Q, $e = vN([fe, we], le.rotationAngle);
16311
+ const q = "touches" in Q;
16312
+ q && Q.touches.length > 1 || e((W, le) => {
16313
+ le.trackMouse && !q && (document.addEventListener(yN, u), document.addEventListener(_N, w));
16314
+ const { clientX: fe, clientY: we } = q ? Q.touches[0] : Q, $e = vN([fe, we], le.rotationAngle);
16315
16315
  return le.onTouchStartOrOnMouseDown && le.onTouchStartOrOnMouseDown({ event: Q }), Object.assign(Object.assign(Object.assign({}, W), K4), { initial: $e.slice(), xy: $e, start: Q.timeStamp || 0 });
16316
16316
  });
16317
16317
  }, u = (Q) => {
16318
- e((K, W) => {
16318
+ e((q, W) => {
16319
16319
  const le = "touches" in Q;
16320
16320
  if (le && Q.touches.length > 1)
16321
- return K;
16322
- if (Q.timeStamp - K.start > W.swipeDuration)
16323
- return K.swiping ? Object.assign(Object.assign({}, K), { swiping: !1 }) : K;
16324
- const { clientX: fe, clientY: we } = le ? Q.touches[0] : Q, [$e, me] = vN([fe, we], W.rotationAngle), ie = $e - K.xy[0], te = me - K.xy[1], oe = Math.abs(ie), be = Math.abs(te), _e = (Q.timeStamp || 0) - K.start, Je = Math.sqrt(oe * oe + be * be) / (_e || 1), nt = [ie / (_e || 1), te / (_e || 1)], Ye = dX(oe, be, ie, te), xt = typeof W.delta == "number" ? W.delta : W.delta[Ye.toLowerCase()] || Rp.delta;
16325
- if (oe < xt && be < xt && !K.swiping)
16326
- return K;
16321
+ return q;
16322
+ if (Q.timeStamp - q.start > W.swipeDuration)
16323
+ return q.swiping ? Object.assign(Object.assign({}, q), { swiping: !1 }) : q;
16324
+ const { clientX: fe, clientY: we } = le ? Q.touches[0] : Q, [$e, me] = vN([fe, we], W.rotationAngle), ie = $e - q.xy[0], te = me - q.xy[1], oe = Math.abs(ie), be = Math.abs(te), _e = (Q.timeStamp || 0) - q.start, Je = Math.sqrt(oe * oe + be * be) / (_e || 1), nt = [ie / (_e || 1), te / (_e || 1)], Ye = dX(oe, be, ie, te), xt = typeof W.delta == "number" ? W.delta : W.delta[Ye.toLowerCase()] || Rp.delta;
16325
+ if (oe < xt && be < xt && !q.swiping)
16326
+ return q;
16327
16327
  const dt = {
16328
16328
  absX: oe,
16329
16329
  absY: be,
@@ -16331,14 +16331,14 @@ function fX(e, i) {
16331
16331
  deltaY: te,
16332
16332
  dir: Ye,
16333
16333
  event: Q,
16334
- first: K.first,
16335
- initial: K.initial,
16334
+ first: q.first,
16335
+ initial: q.initial,
16336
16336
  velocity: Je,
16337
16337
  vxvy: nt
16338
16338
  };
16339
16339
  dt.first && W.onSwipeStart && W.onSwipeStart(dt), W.onSwiping && W.onSwiping(dt);
16340
16340
  let Pt = !1;
16341
- return (W.onSwiping || W.onSwiped || W[`onSwiped${Ye}`]) && (Pt = !0), Pt && W.preventScrollOnSwipe && W.trackTouch && Q.cancelable && Q.preventDefault(), Object.assign(Object.assign({}, K), {
16341
+ return (W.onSwiping || W.onSwiped || W[`onSwiped${Ye}`]) && (Pt = !0), Pt && W.preventScrollOnSwipe && W.trackTouch && Q.cancelable && Q.preventDefault(), Object.assign(Object.assign({}, q), {
16342
16342
  // first is now always false
16343
16343
  first: !1,
16344
16344
  eventData: dt,
@@ -16346,33 +16346,33 @@ function fX(e, i) {
16346
16346
  });
16347
16347
  });
16348
16348
  }, d = (Q) => {
16349
- e((K, W) => {
16349
+ e((q, W) => {
16350
16350
  let le;
16351
- if (K.swiping && K.eventData) {
16352
- if (Q.timeStamp - K.start < W.swipeDuration) {
16353
- le = Object.assign(Object.assign({}, K.eventData), { event: Q }), W.onSwiped && W.onSwiped(le);
16351
+ if (q.swiping && q.eventData) {
16352
+ if (Q.timeStamp - q.start < W.swipeDuration) {
16353
+ le = Object.assign(Object.assign({}, q.eventData), { event: Q }), W.onSwiped && W.onSwiped(le);
16354
16354
  const fe = W[`onSwiped${le.dir}`];
16355
16355
  fe && fe(le);
16356
16356
  }
16357
16357
  } else
16358
16358
  W.onTap && W.onTap({ event: Q });
16359
- return W.onTouchEndOrOnMouseUp && W.onTouchEndOrOnMouseUp({ event: Q }), Object.assign(Object.assign(Object.assign({}, K), K4), { eventData: le });
16359
+ return W.onTouchEndOrOnMouseUp && W.onTouchEndOrOnMouseUp({ event: Q }), Object.assign(Object.assign(Object.assign({}, q), K4), { eventData: le });
16360
16360
  });
16361
16361
  }, _ = () => {
16362
16362
  document.removeEventListener(yN, u), document.removeEventListener(_N, w);
16363
16363
  }, w = (Q) => {
16364
16364
  _(), d(Q);
16365
- }, a = (Q, K) => {
16365
+ }, a = (Q, q) => {
16366
16366
  let W = () => {
16367
16367
  };
16368
16368
  if (Q && Q.addEventListener) {
16369
- const le = Object.assign(Object.assign({}, Rp.touchEventOptions), K.touchEventOptions), fe = [
16369
+ const le = Object.assign(Object.assign({}, Rp.touchEventOptions), q.touchEventOptions), fe = [
16370
16370
  [hX, o, le],
16371
16371
  // preventScrollOnSwipe option supersedes touchEventOptions.passive
16372
16372
  [
16373
16373
  uX,
16374
16374
  u,
16375
- Object.assign(Object.assign({}, le), K.preventScrollOnSwipe ? { passive: !1 } : {})
16375
+ Object.assign(Object.assign({}, le), q.preventScrollOnSwipe ? { passive: !1 } : {})
16376
16376
  ],
16377
16377
  [cX, d, le]
16378
16378
  ];
@@ -16381,11 +16381,11 @@ function fX(e, i) {
16381
16381
  return W;
16382
16382
  }, j = {
16383
16383
  ref: (Q) => {
16384
- Q !== null && e((K, W) => {
16385
- if (K.el === Q)
16386
- return K;
16384
+ Q !== null && e((q, W) => {
16385
+ if (q.el === Q)
16386
+ return q;
16387
16387
  const le = {};
16388
- return K.el && K.el !== Q && K.cleanUpTouch && (K.cleanUpTouch(), le.cleanUpTouch = void 0), W.trackTouch && Q && (le.cleanUpTouch = a(Q, W)), Object.assign(Object.assign(Object.assign({}, K), { el: Q }), le);
16388
+ return q.el && q.el !== Q && q.cleanUpTouch && (q.cleanUpTouch(), le.cleanUpTouch = void 0), W.trackTouch && Q && (le.cleanUpTouch = a(Q, W)), Object.assign(Object.assign(Object.assign({}, q), { el: Q }), le);
16389
16389
  });
16390
16390
  }
16391
16391
  };
@@ -16412,7 +16412,7 @@ const tr = {
16412
16412
  // Sheet height is of maximum height (height of container element)
16413
16413
  };
16414
16414
  const Mp = xe.forwardRef(function({ children: i, isOpen: o, initialSnapPoint: u, minimizedHeight: d }, _) {
16415
- const w = xe.useRef(), a = xe.useRef(), E = xe.useRef(), j = xe.useRef(), Q = xe.useRef(), [K, W] = xe.useState({}), [le, fe] = xe.useState(!1), [we, $e] = xe.useState(null), me = xe.useContext(O7), ie = xe.useRef();
16415
+ const w = xe.useRef(), a = xe.useRef(), E = xe.useRef(), j = xe.useRef(), Q = xe.useRef(), [q, W] = xe.useState({}), [le, fe] = xe.useState(!1), [we, $e] = xe.useState(null), me = xe.useContext(O7), ie = xe.useRef();
16416
16416
  xe.useImperativeHandle(_, () => ({
16417
16417
  /**
16418
16418
  * Set the height of the sheet to the given snap point.
@@ -16498,8 +16498,8 @@ const Mp = xe.forwardRef(function({ children: i, isOpen: o, initialSnapPoint: u,
16498
16498
  ..._e,
16499
16499
  ref: Je,
16500
16500
  className: `sheet ${o ? "sheet--active" : ""} ${le ? "sheet--dragging" : ""} ${Q.current === tr.MAX ? "sheet--max" : ""}`,
16501
- style: K,
16502
- children: /* @__PURE__ */ Oe.jsx("div", { ref: a, className: `sheet__content ${Q.current === tr.MIN ? "sheet__content--no-scroll" : ""}`, style: K, children: nt })
16501
+ style: q,
16502
+ children: /* @__PURE__ */ Oe.jsx("div", { ref: a, className: `sheet__content ${Q.current === tr.MIN ? "sheet__content--no-scroll" : ""}`, style: q, children: nt })
16503
16503
  }
16504
16504
  );
16505
16505
  });
@@ -16552,7 +16552,7 @@ const B1 = kn({
16552
16552
  key: "shuttleBusOn",
16553
16553
  default: !1
16554
16554
  }), P7 = (e, i, o, u, d) => {
16555
- const [_, w] = xe.useState(), [a, E] = xe.useState(), [j, Q] = sn(Sw), [, K] = sn(B1), [W, le] = xe.useState(), fe = Ci(j7);
16555
+ const [_, w] = xe.useState(), [a, E] = xe.useState(), [j, Q] = sn(Sw), [, q] = sn(B1), [W, le] = xe.useState(), fe = Ci(j7);
16556
16556
  return xe.useEffect(() => {
16557
16557
  le(!1);
16558
16558
  let we = !0;
@@ -16566,7 +16566,7 @@ const B1 = kn({
16566
16566
  if (we)
16567
16567
  if ($e && $e.legs) {
16568
16568
  const me = $e.legs.reduce((te, oe) => te + oe.distance.value, 0), ie = $e.legs.reduce((te, oe) => te + oe.duration.value, 0);
16569
- w(me), E(ie), K({
16569
+ w(me), E(ie), q({
16570
16570
  originLocation: e,
16571
16571
  destinationLocation: i,
16572
16572
  totalDistance: me,
@@ -16600,21 +16600,21 @@ function R7(e, i) {
16600
16600
  xe.useEffect(() => {
16601
16601
  i && d(!1);
16602
16602
  }, [i]);
16603
- function w(E, j, Q, K) {
16603
+ function w(E, j, Q, q) {
16604
16604
  const W = (le) => {
16605
16605
  if (!Q)
16606
16606
  return;
16607
- j.getMap().queryRenderedFeatures(le.point).length ? K(!1) : K(!0);
16607
+ j.getMap().queryRenderedFeatures(le.point).length ? q(!1) : q(!0);
16608
16608
  };
16609
16609
  return E.on("click", W), () => {
16610
16610
  E.off("click", W);
16611
16611
  };
16612
16612
  }
16613
- function a(E, j, Q, K) {
16613
+ function a(E, j, Q, q) {
16614
16614
  const W = () => {
16615
- Q && K(!1);
16615
+ Q && q(!1);
16616
16616
  }, le = () => {
16617
- Q && K(!0);
16617
+ Q && q(!0);
16618
16618
  };
16619
16619
  j.addListener("click", W);
16620
16620
  const fe = E.addListener("click", le);
@@ -16658,7 +16658,7 @@ function B7({ openingHours: e, isMondayFirstDayOfTheWeek: i = !0, onExpand: o })
16658
16658
  oe.unshift(be);
16659
16659
  }
16660
16660
  return oe;
16661
- }, [i]), K = xe.useMemo(() => i ? j === 0 ? 6 : j - 1 : j, [j, i]), { standardOpeningHours: W } = e || {}, le = (oe) => {
16661
+ }, [i]), q = xe.useMemo(() => i ? j === 0 ? 6 : j - 1 : j, [j, i]), { standardOpeningHours: W } = e || {}, le = (oe) => {
16662
16662
  const [be, _e] = oe.split(":");
16663
16663
  return new Date(0, 0, 0, be, _e).toLocaleTimeString(a, {
16664
16664
  hour: "2-digit",
@@ -16680,9 +16680,9 @@ function B7({ openingHours: e, isMondayFirstDayOfTheWeek: i = !0, onExpand: o })
16680
16680
  const be = /* @__PURE__ */ new Date(), _e = be.getHours() * 60 + be.getMinutes(), [Je, nt] = oe.startTime.split(":"), [Ye, xt] = oe.endTime.split(":"), dt = parseInt(Je, 10) * 60 + parseInt(nt, 10), Pt = parseInt(Ye, 10) * 60 + parseInt(xt, 10);
16681
16681
  return _e >= dt && _e <= Pt;
16682
16682
  }, []), me = xe.useCallback(() => {
16683
- const oe = Q[K].toLocaleString("en-US", { weekday: "long" }).toLowerCase();
16683
+ const oe = Q[q].toLocaleString("en-US", { weekday: "long" }).toLowerCase();
16684
16684
  return we(W == null ? void 0 : W[oe]) ? "Open" : "Closed";
16685
- }, [W, Q, K, we, u])(), ie = (oe) => oe.charAt(0).toUpperCase() + oe.slice(1), te = () => {
16685
+ }, [W, Q, q, we, u])(), ie = (oe) => oe.charAt(0).toUpperCase() + oe.slice(1), te = () => {
16686
16686
  _((oe) => !oe);
16687
16687
  };
16688
16688
  return xe.useEffect(() => {
@@ -16697,7 +16697,7 @@ function B7({ openingHours: e, isMondayFirstDayOfTheWeek: i = !0, onExpand: o })
16697
16697
  "aria-expanded": d,
16698
16698
  children: [
16699
16699
  /* @__PURE__ */ Oe.jsx("div", { className: "contact-action-button__icon-wrapper", children: /* @__PURE__ */ Oe.jsx(_X, {}) }),
16700
- /* @__PURE__ */ Oe.jsx("div", { className: "contact-action-button__text", children: fe(Q[K]).text }),
16700
+ /* @__PURE__ */ Oe.jsx("div", { className: "contact-action-button__text", children: fe(Q[q]).text }),
16701
16701
  /* @__PURE__ */ Oe.jsx(
16702
16702
  "span",
16703
16703
  {
@@ -16743,12 +16743,12 @@ function T3(e, i, o) {
16743
16743
  }(i)) in e ? Object.defineProperty(e, i, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[i] = o, e;
16744
16744
  }
16745
16745
  var D3 = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown: "onMouseDown", mouseup: "onMouseUp", touchstart: "onTouchStart", touchend: "onTouchEnd" }, F7 = function(e) {
16746
- var i = e.children, o = e.onClickAway, u = e.focusEvent, d = u === void 0 ? "focusin" : u, _ = e.mouseEvent, w = _ === void 0 ? "click" : _, a = e.touchEvent, E = a === void 0 ? "touchend" : a, j = xe.useRef(null), Q = xe.useRef(null), K = xe.useRef(!1);
16746
+ var i = e.children, o = e.onClickAway, u = e.focusEvent, d = u === void 0 ? "focusin" : u, _ = e.mouseEvent, w = _ === void 0 ? "click" : _, a = e.touchEvent, E = a === void 0 ? "touchend" : a, j = xe.useRef(null), Q = xe.useRef(null), q = xe.useRef(!1);
16747
16747
  xe.useEffect(function() {
16748
16748
  return setTimeout(function() {
16749
- K.current = !0;
16749
+ q.current = !0;
16750
16750
  }, 0), function() {
16751
- K.current = !1;
16751
+ q.current = !1;
16752
16752
  };
16753
16753
  }, []);
16754
16754
  var W = function($e) {
@@ -16760,7 +16760,7 @@ var D3 = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
16760
16760
  };
16761
16761
  xe.useEffect(function() {
16762
16762
  var $e, me, ie = ($e = (me = j.current) === null || me === void 0 ? void 0 : me.ownerDocument) !== null && $e !== void 0 ? $e : document, te = function(oe) {
16763
- K.current && (j.current && j.current.contains(oe.target) || Q.current === oe.target || !ie.contains(oe.target) || o(oe));
16763
+ q.current && (j.current && j.current.contains(oe.target) || Q.current === oe.target || !ie.contains(oe.target) || o(oe));
16764
16764
  };
16765
16765
  return ie.addEventListener(w, te), ie.addEventListener(E, te), ie.addEventListener(d, te), function() {
16766
16766
  ie.removeEventListener(w, te), ie.removeEventListener(E, te), ie.removeEventListener(d, te);
@@ -16783,7 +16783,7 @@ const Cw = kn({
16783
16783
  }), U7 = fw({
16784
16784
  key: "baseLink",
16785
16785
  get: ({ get: e }) => {
16786
- const i = e(kT), o = e(_w), u = e(OT), d = e(nc), _ = e(Od), w = e(Cw), a = e(WT), E = e(GT), j = window.location.origin + window.location.pathname.replace(/\/$/, ""), Q = new URLSearchParams(window.location.search), K = new URLSearchParams();
16786
+ const i = e(kT), o = e(_w), u = e(OT), d = e(nc), _ = e(Od), w = e(Cw), a = e(WT), E = e(GT), j = window.location.origin + window.location.pathname.replace(/\/$/, ""), Q = new URLSearchParams(window.location.search), q = new URLSearchParams();
16787
16787
  return [
16788
16788
  ["gmApiKey", i],
16789
16789
  ["mapboxAccessToken", o],
@@ -16796,10 +16796,10 @@ const Cw = kn({
16796
16796
  ].forEach(([W, le]) => {
16797
16797
  if (Q.has(W)) {
16798
16798
  const fe = Q.get(W);
16799
- K.append(W, fe);
16799
+ q.append(W, fe);
16800
16800
  } else
16801
- le && (le === d ? K.append(W, d.replace("#", "")) : K.append(W, le));
16802
- }), `${j}?${K.toString()}`;
16801
+ le && (le === d ? q.append(W, d.replace("#", "")) : q.append(W, le));
16802
+ }), `${j}?${q.toString()}`;
16803
16803
  }
16804
16804
  });
16805
16805
  const bX = (e) => /* @__PURE__ */ xe.createElement("svg", { width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ xe.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8484 4.66738C13.3129 3.20291 15.6872 3.20291 17.1517 4.66737L19.909 7.42474C21.3735 8.8892 21.3735 11.2636 19.909 12.7281L18.2804 14.3568C17.9875 14.6497 17.5126 14.6497 17.2197 14.3568C16.9268 14.0639 16.9268 13.589 17.2197 13.2961L18.8484 11.6674C19.7271 10.7887 19.7271 9.36407 18.8484 8.4854L16.091 5.72803C15.2123 4.84936 13.7877 4.84936 12.909 5.72804L11.2804 7.35672C10.9875 7.64961 10.5126 7.64961 10.2197 7.35672C9.92681 7.06382 9.92681 6.58895 10.2197 6.29606L11.8484 4.66738ZM15.5304 9.04606C15.8233 9.33895 15.8233 9.81382 15.5304 10.1067L9.53036 16.1068C9.23747 16.3997 8.7626 16.3997 8.4697 16.1068C8.17681 15.8139 8.17681 15.339 8.4697 15.0461L14.4697 9.04606C14.7626 8.75316 15.2375 8.75316 15.5304 9.04606ZM6.78036 10.7961C7.07326 11.089 7.07326 11.5639 6.78036 11.8568L5.15169 13.4854C4.27301 14.3641 4.27301 15.7887 5.15169 16.6674L7.90905 19.4248C8.78773 20.3035 10.2123 20.3035 11.091 19.4248L12.7197 17.7961C13.0126 17.5032 13.4875 17.5032 13.7804 17.7961C14.0733 18.089 14.0733 18.5639 13.7804 18.8568L12.1517 20.4854C10.6872 21.9499 8.31285 21.9499 6.84839 20.4854L4.09102 17.7281C2.62656 16.2636 2.62656 13.8893 4.09103 12.4248L5.7197 10.7961C6.0126 10.5032 6.48747 10.5032 6.78036 10.7961Z", fill: "#646970", style: {
@@ -16854,7 +16854,7 @@ H7.propTypes = {
16854
16854
  buttonClassName: ct.string
16855
16855
  };
16856
16856
  function H7({ location: e, buttonClassName: i }) {
16857
- const { t: o } = Qo(), [u, d] = xe.useState(!1), _ = Ci(U7), [w, a] = xe.useState(), E = Ci(Q7), [j, Q] = xe.useState(!1), [K, W] = xe.useState(!1), le = Ci(ic), [, fe] = sn(Ew), we = gl();
16857
+ const { t: o } = Qo(), [u, d] = xe.useState(!1), _ = Ci(U7), [w, a] = xe.useState(), E = Ci(Q7), [j, Q] = xe.useState(!1), [q, W] = xe.useState(!1), le = Ci(ic), [, fe] = sn(Ew), we = gl();
16858
16858
  xe.useEffect(() => {
16859
16859
  _ && e && a(_ + "&locationId=" + e.id);
16860
16860
  }, [_, e]), xe.useEffect(() => {
@@ -16868,10 +16868,10 @@ function H7({ location: e, buttonClassName: i }) {
16868
16868
  }, me = () => {
16869
16869
  fe(w), d(!1);
16870
16870
  };
16871
- return (j || K) && /* @__PURE__ */ Oe.jsxs("div", { className: "share-location-link", children: [
16871
+ return (j || q) && /* @__PURE__ */ Oe.jsxs("div", { className: "share-location-link", children: [
16872
16872
  /* @__PURE__ */ Oe.jsx("button", { className: i, onClick: () => d((ie) => !ie), title: o("Share"), "aria-label": o("Share"), children: /* @__PURE__ */ Oe.jsx(MX, {}) }),
16873
16873
  u && /* @__PURE__ */ Oe.jsx(F7, { onClickAway: () => d(!1), children: /* @__PURE__ */ Oe.jsxs("ul", { children: [
16874
- K && /* @__PURE__ */ Oe.jsx("li", { children: /* @__PURE__ */ Oe.jsxs("button", { className: i, onClick: () => $e(), children: [
16874
+ q && /* @__PURE__ */ Oe.jsx("li", { children: /* @__PURE__ */ Oe.jsxs("button", { className: i, onClick: () => $e(), children: [
16875
16875
  /* @__PURE__ */ Oe.jsx(bX, {}),
16876
16876
  o("Copy link")
16877
16877
  ] }) }),
@@ -16935,7 +16935,7 @@ qT.propTypes = {
16935
16935
  };
16936
16936
  function qT({ onBack: e, onStartWayfinding: i, onSetSize: o, onStartDirections: u, isOpen: d, snapPointSwipedByUser: _ }) {
16937
16937
  var Mt, Et, di, qt;
16938
- const { t: w } = Qo(), a = xe.useRef(null), E = xe.useRef(null), j = xe.useRef(null), Q = xe.useRef(null), K = xe.useRef(null), [W, le] = xe.useState(!1), [fe, we] = xe.useState(!1), [$e, me] = xe.useState(!1), ie = xe.useRef(!1), [te, oe] = xe.useState(null), be = Ci(ba), _e = Ci(qc), Je = (Mt = _e == null ? void 0 : _e.properties) == null ? void 0 : Mt.additionalDetails, nt = (Et = Je == null ? void 0 : Je.find((ui) => ui.key.toLowerCase().includes("openinghours") && ui.active === !0)) == null ? void 0 : Et.openingHours, [Ye, xt] = yX(_e, j), dt = wg(), Pt = Ci(nc), Tt = Ci(ic), ci = Ci(zT), [Ot, wt] = xe.useState(), [$t, St] = xe.useState(), [Ht, Z] = xe.useState(!0), ne = gl(), T = Ci(F1), k = Ci(U1), [, , F] = P7($t, Ot, ci, T, k), U = Ci(Aw), G = R7(be, d), re = Ci(zd), de = (qt = (di = re == null ? void 0 : re.appSettings) == null ? void 0 : di.excludeFromUI) == null ? void 0 : qt.includes("wayfindingDisabled");
16938
+ const { t: w } = Qo(), a = xe.useRef(null), E = xe.useRef(null), j = xe.useRef(null), Q = xe.useRef(null), q = xe.useRef(null), [W, le] = xe.useState(!1), [fe, we] = xe.useState(!1), [$e, me] = xe.useState(!1), ie = xe.useRef(!1), [te, oe] = xe.useState(null), be = Ci(ba), _e = Ci(qc), Je = (Mt = _e == null ? void 0 : _e.properties) == null ? void 0 : Mt.additionalDetails, nt = (Et = Je == null ? void 0 : Je.find((ui) => ui.key.toLowerCase().includes("openinghours") && ui.active === !0)) == null ? void 0 : Et.openingHours, [Ye, xt] = yX(_e, j), dt = wg(), Pt = Ci(nc), Tt = Ci(ic), ci = Ci(zT), [Ot, wt] = xe.useState(), [$t, St] = xe.useState(), [Ht, Z] = xe.useState(!0), ne = gl(), T = Ci(F1), k = Ci(U1), [, , F] = P7($t, Ot, ci, T, k), U = Ci(Aw), G = R7(be, d), re = Ci(zd), de = (qt = (di = re == null ? void 0 : re.appSettings) == null ? void 0 : di.excludeFromUI) == null ? void 0 : qt.includes("wayfindingDisabled");
16939
16939
  xe.useEffect(() => {
16940
16940
  (() => {
16941
16941
  if (be && _e)
@@ -17010,8 +17010,8 @@ function qT({ onBack: e, onStartWayfinding: i, onSetSize: o, onStartDirections:
17010
17010
  const wi = ui.offsetHeight, Ei = E.current.offsetHeight;
17011
17011
  wi > 0 && Ei > 0 && (Ei / wi > 0.9 ? (ui.style.height = "100%", Ke()) : ui.style.height = "auto");
17012
17012
  };
17013
- return K.current ? K.current.complete ? Wt() : (K.current.onload = Wt, K.current.onerror = Wt) : Wt(), () => {
17014
- ui.style.height = "", K.current && (K.current.onload = null, K.current.onerror = null);
17013
+ return q.current ? q.current.complete ? Wt() : (q.current.onload = Wt, q.current.onerror = Wt) : Wt(), () => {
17014
+ ui.style.height = "", q.current && (q.current.onload = null, q.current.onerror = null);
17015
17015
  };
17016
17016
  }, [_e, W, d, Je]), /* @__PURE__ */ Oe.jsx("div", { className: `location-details ${ie.current === !0 ? "location-details--max-height" : ""} ${fe ? "location-details--content-above" : ""} ${$e ? "location-details--content-below" : ""}`, children: _e && /* @__PURE__ */ Oe.jsxs(Oe.Fragment, { children: [
17017
17017
  /* @__PURE__ */ Oe.jsxs("div", { className: "location-details__header", children: [
@@ -17058,7 +17058,7 @@ function qT({ onBack: e, onStartWayfinding: i, onSetSize: o, onStartDirections:
17058
17058
  onScroll: (ui) => Ke(),
17059
17059
  className: "location-details__details-content",
17060
17060
  children: [
17061
- _e.properties.imageURL && /* @__PURE__ */ Oe.jsx("img", { ref: K, alt: "", src: _e.properties.imageURL, className: "location-details__image" }),
17061
+ _e.properties.imageURL && /* @__PURE__ */ Oe.jsx("img", { ref: q, alt: "", src: _e.properties.imageURL, className: "location-details__image" }),
17062
17062
  Object.keys(_e.properties.categories).length > 0 && /* @__PURE__ */ Oe.jsx("p", { className: "location-details__categories", children: Object.values(_e.properties.categories).map((ui, Wt, wi) => /* @__PURE__ */ Oe.jsxs(Er.Fragment, { children: [
17063
17063
  ui,
17064
17064
  Wt < wi.length - 1 && /* @__PURE__ */ Oe.jsx(Oe.Fragment, { children: "・" })
@@ -17107,9 +17107,9 @@ function Nw({ location: e, locationClicked: i, icon: o, isHovered: u }) {
17107
17107
  (le = e.properties.locationSettings) != null && le.selectable || w.unhoverLocation(e);
17108
17108
  };
17109
17109
  ((W = e.properties.locationSettings) == null ? void 0 : W.selectable) === !1 && _.current.classList.add("non-selectable");
17110
- const { current: K } = _;
17111
- return K.location = e, K.icon = o || w.getDisplayRule(e).icon, K.addEventListener("locationClicked", E), K.addEventListener("mouseover", j), K.addEventListener("mouseout", Q), u ? _.current.classList.add("hovered") : _.current.classList.remove("hovered"), () => {
17112
- K.removeEventListener("locationClicked", E), K.removeEventListener("mouseover", j), K.removeEventListener("mouseout", Q);
17110
+ const { current: q } = _;
17111
+ return q.location = e, q.icon = o || w.getDisplayRule(e).icon, q.addEventListener("locationClicked", E), q.addEventListener("mouseover", j), q.addEventListener("mouseout", Q), u ? _.current.classList.add("hovered") : _.current.classList.remove("hovered"), () => {
17112
+ q.removeEventListener("locationClicked", E), q.removeEventListener("mouseover", j), q.removeEventListener("mouseout", Q);
17113
17113
  };
17114
17114
  }, [e, i, u]), /* @__PURE__ */ Oe.jsx("mi-list-item-location", { level: d("Level"), ref: _, "show-external-id": a });
17115
17115
  }
@@ -17128,7 +17128,7 @@ const DX = () => {
17128
17128
  key: "searchInput",
17129
17129
  default: void 0
17130
17130
  }), Wx = xe.forwardRef(function(i, o) {
17131
- const { placeholder: u, mapsindoors: d, results: _, clicked: w, cleared: a, changed: E, category: j, google: Q, mapbox: K, disabled: W = !1 } = i, le = xe.useRef(), fe = Ci(mw), we = Ci(Od), [, $e] = sn(KT), me = sessionStorage.getItem("mapboxPlacesSessionToken"), ie = {
17131
+ const { placeholder: u, mapsindoors: d, results: _, clicked: w, cleared: a, changed: E, category: j, google: Q, mapbox: q, disabled: W = !1 } = i, le = xe.useRef(), fe = Ci(mw), we = Ci(Od), [, $e] = sn(KT), me = sessionStorage.getItem("mapboxPlacesSessionToken"), ie = {
17132
17132
  longitude: fe == null ? void 0 : fe.coords.longitude,
17133
17133
  latitude: fe == null ? void 0 : fe.coords.latitude
17134
17134
  }, te = DX(), oe = Ci(dh), be = Ci(Cw);
@@ -17161,7 +17161,7 @@ const DX = () => {
17161
17161
  return d === !0 && (nt.mapsindoors = "true"), nt.addEventListener("results", _e), nt.addEventListener("click", w), nt.addEventListener("cleared", Je), nt.addEventListener("changed", E), () => {
17162
17162
  nt.removeEventListener("results", _e), nt.removeEventListener("click", w), nt.removeEventListener("cleared", Je), nt.removeEventListener("changed", E);
17163
17163
  };
17164
- }, [u, d, _, w, a, Q, K, E]), /* @__PURE__ */ Oe.jsx(
17164
+ }, [u, d, _, w, a, Q, q, E]), /* @__PURE__ */ Oe.jsx(
17165
17165
  "mi-search",
17166
17166
  {
17167
17167
  ref: le,
@@ -17172,7 +17172,7 @@ const DX = () => {
17172
17172
  "mi-near": te,
17173
17173
  "mi-categories": j,
17174
17174
  disabled: W,
17175
- mapbox: K,
17175
+ mapbox: q,
17176
17176
  google: Q,
17177
17177
  "mi-venue": be ? void 0 : oe,
17178
17178
  language: we
@@ -17308,7 +17308,7 @@ JT.propTypes = {
17308
17308
  };
17309
17309
  function JT({ onStartDirections: e, onBack: i, directionsToLocation: o, directionsFromLocation: u, onSetSize: d, isActive: _ }) {
17310
17310
  var Ei, jt;
17311
- const { t: w } = Qo(), a = xe.useRef(), E = xe.useRef(), j = xe.useRef(), Q = xe.useRef(), K = Ci(zT), W = Ci(mw), le = Ci(qc), fe = Ci(yw), we = Ci(nc), [$e, me] = sn(G7), [ie, te] = xe.useState(), [, oe] = sn(Sw), [be, _e] = xe.useState(!0), [Je, nt] = xe.useState(!1), [Ye, xt] = xe.useState([]), [dt, Pt] = xe.useState(), [Tt, ci] = xe.useState(), Ot = Ci(U1), wt = wg(), [$t, St] = xe.useState(!1), [Ht, Z] = sn(F1), [ne, T] = xe.useState(!1), k = Ci(_w), F = Ci(NX), [U, G, re, de] = P7(Tt, dt, K, Ht, Ot), ue = Ci(WT), Me = Ci(zd);
17311
+ const { t: w } = Qo(), a = xe.useRef(), E = xe.useRef(), j = xe.useRef(), Q = xe.useRef(), q = Ci(zT), W = Ci(mw), le = Ci(qc), fe = Ci(yw), we = Ci(nc), [$e, me] = sn(G7), [ie, te] = xe.useState(), [, oe] = sn(Sw), [be, _e] = xe.useState(!0), [Je, nt] = xe.useState(!1), [Ye, xt] = xe.useState([]), [dt, Pt] = xe.useState(), [Tt, ci] = xe.useState(), Ot = Ci(U1), wt = wg(), [$t, St] = xe.useState(!1), [Ht, Z] = sn(F1), [ne, T] = xe.useState(!1), k = Ci(_w), F = Ci(NX), [U, G, re, de] = P7(Tt, dt, q, Ht, Ot), ue = Ci(WT), Me = Ci(zd);
17312
17312
  function Fe(kt) {
17313
17313
  return fe === fs.Google && kt.properties.type === "google_places" ? SX(kt) : fe === fs.Mapbox && kt.properties.type === "mapbox_places" ? EX(kt, k) : Promise.resolve(kt);
17314
17314
  }
@@ -17521,7 +17521,7 @@ const OX = (e) => /* @__PURE__ */ xe.createElement("svg", { width: 24, height: 2
17521
17521
  default: !1
17522
17522
  }), Z7 = xe.forwardRef(function(i, o) {
17523
17523
  var we;
17524
- const { totalSteps: u, activeStep: d, previous: _, originLocation: w, directions: a } = i, E = xe.useRef(), { t: j } = Qo(), [Q, K] = sn(zw), [, W] = sn(jX), le = fh();
17524
+ const { totalSteps: u, activeStep: d, previous: _, originLocation: w, directions: a } = i, E = xe.useRef(), { t: j } = Qo(), [Q, q] = sn(zw), [, W] = sn(jX), le = fh();
17525
17525
  xe.useImperativeHandle(o, () => ({
17526
17526
  openSubsteps() {
17527
17527
  E.current.openSubsteps();
@@ -17568,7 +17568,7 @@ const OX = (e) => /* @__PURE__ */ xe.createElement("svg", { width: 24, height: 2
17568
17568
  return xe.useEffect(() => {
17569
17569
  const { current: $e } = E;
17570
17570
  function me() {
17571
- W(!0), K(!Q);
17571
+ W(!0), q(!Q);
17572
17572
  }
17573
17573
  return $e.addEventListener("substepsToggled", me), () => {
17574
17574
  $e.removeEventListener("substepsToggled", me);
@@ -17605,7 +17605,7 @@ q7.propTypes = {
17605
17605
  isOpen: ct.bool
17606
17606
  };
17607
17607
  function q7({ steps: e, onNextStep: i, onPreviousStep: o, originLocation: u, isOpen: d }) {
17608
- const { t: _ } = Qo(), w = wg(), a = xe.useRef(), [E, j] = xe.useState(), [Q, K] = sn(Lw), [W, le] = xe.useState(), fe = Ci(B1), we = Ci(zw), [, $e] = sn(W7), me = fh();
17608
+ const { t: _ } = Qo(), w = wg(), a = xe.useRef(), [E, j] = xe.useState(), [Q, q] = sn(Lw), [W, le] = xe.useState(), fe = Ci(B1), we = Ci(zw), [, $e] = sn(W7), me = fh();
17609
17609
  xe.useEffect(() => {
17610
17610
  le(e);
17611
17611
  }, [e]), xe.useEffect(() => {
@@ -17613,10 +17613,10 @@ function q7({ steps: e, onNextStep: i, onPreviousStep: o, originLocation: u, isO
17613
17613
  d && (Q === (W == null ? void 0 : W.length) - 1 && (fe != null && fe.destinationLocation) ? $e(!0) : $e(!1), we === !1 ? (oe = a.current) == null || oe.closeSubsteps() : we === !0 && ((be = a.current) == null || be.openSubsteps()));
17614
17614
  }, [d, Q, W, we]);
17615
17615
  function ie() {
17616
- j(W[Q]), K(Q + 1), i();
17616
+ j(W[Q]), q(Q + 1), i();
17617
17617
  }
17618
17618
  function te() {
17619
- j(W[Q - 2]), K(Q - 1), o();
17619
+ j(W[Q - 2]), q(Q - 1), o();
17620
17620
  }
17621
17621
  return /* @__PURE__ */ Oe.jsx("div", { className: "route-instructions prevent-scroll", ...w, children: W && /* @__PURE__ */ Oe.jsxs(Oe.Fragment, { children: [
17622
17622
  /* @__PURE__ */ Oe.jsx(
@@ -17667,12 +17667,12 @@ eD.propTypes = {
17667
17667
  snapPointSwipedByUser: ct.string
17668
17668
  };
17669
17669
  function eD({ isOpen: e, onBack: i, onSetSize: o, onRouteFinished: u, snapPointSwipedByUser: d }) {
17670
- const { t: _ } = Qo(), w = xe.useRef(), [a, E] = xe.useState(null), j = xe.useRef(null), [Q, K] = xe.useState(), W = Ci(ba), le = Ci(F1), fe = Ci(B1), [, we] = sn(Lw), [$e, me] = sn(zw), ie = Ci(ic), te = gl(), [, oe] = sn(Ew), be = Ci(W7), _e = Ci(nc), Je = fh(), nt = Ci(Aw), Ye = Ci(U7), xt = Ci(qc), dt = Ci(yw);
17670
+ const { t: _ } = Qo(), w = xe.useRef(), [a, E] = xe.useState(null), j = xe.useRef(null), [Q, q] = xe.useState(), W = Ci(ba), le = Ci(F1), fe = Ci(B1), [, we] = sn(Lw), [$e, me] = sn(zw), ie = Ci(ic), te = gl(), [, oe] = sn(Ew), be = Ci(W7), _e = Ci(nc), Je = fh(), nt = Ci(Aw), Ye = Ci(U7), xt = Ci(qc), dt = Ci(yw);
17671
17671
  xe.useEffect(() => () => {
17672
17672
  E(null);
17673
17673
  }, []), xe.useEffect(() => {
17674
17674
  if (E(null), e && fe) {
17675
- K(fe.totalTime);
17675
+ q(fe.totalTime);
17676
17676
  const k = Math.min(window.innerHeight, window.innerWidth) * 0.06;
17677
17677
  Is == null || Is.setRoute(null), Is = null, Promise.all([Pt(k), Tt(k)]).then(([F, U]) => {
17678
17678
  Is = new window.mapsindoors.directions.DirectionsRenderer({
@@ -17838,7 +17838,7 @@ J4.propTypes = {
17838
17838
  categoryOrientation: ct.oneOf(["horizontal", "vertical"])
17839
17839
  };
17840
17840
  function J4({ onSetSize: e, getFilteredLocations: i, searchFieldRef: o, isOpen: u, topLevelCategory: d, handleBack: _, selectedCategoriesArray: w, categoryOrientation: a }) {
17841
- const E = Ci(j1), j = gl(), [Q, K] = sn(tD), [, W] = sn(Ow), [, le] = sn(vw), fe = wg(), [we, $e] = xe.useState(), me = Ci(RX), ie = Ci(ek), te = Ci(ba), oe = R7(te, u), [be, _e] = xe.useState([]), [Je, nt] = xe.useState([]), { t: Ye } = Qo(), xt = fh(), dt = xe.useRef(null), [Pt, Tt] = xe.useState(!1), [ci, Ot] = xe.useState(!1), wt = (k) => {
17841
+ const E = Ci(j1), j = gl(), [Q, q] = sn(tD), [, W] = sn(Ow), [, le] = sn(vw), fe = wg(), [we, $e] = xe.useState(), me = Ci(RX), ie = Ci(ek), te = Ci(ba), oe = R7(te, u), [be, _e] = xe.useState([]), [Je, nt] = xe.useState([]), { t: Ye } = Qo(), xt = fh(), dt = xe.useRef(null), [Pt, Tt] = xe.useState(!1), [ci, Ot] = xe.useState(!1), wt = (k) => {
17842
17842
  Ht && dt.current && dt.current.scrollBy({
17843
17843
  left: k === "left" ? -200 : 200,
17844
17844
  behavior: "smooth"
@@ -17863,11 +17863,11 @@ function J4({ onSetSize: e, getFilteredLocations: i, searchFieldRef: o, isOpen:
17863
17863
  typeof e == "function" && e(k);
17864
17864
  }
17865
17865
  function T(k) {
17866
- K(k), Q === k ? (W([]), K(null), le([]), o.current.getValue() && o.current.triggerSearch()) : o.current.getValue() ? o.current.triggerSearch() : i(k);
17866
+ q(k), Q === k ? (W([]), q(null), le([]), o.current.getValue() && o.current.triggerSearch()) : o.current.getValue() ? o.current.triggerSearch() : i(k);
17867
17867
  }
17868
17868
  return xe.useEffect(() => {
17869
17869
  var k;
17870
- oe && Q && (K(null), W([]), le([]), (k = o.current) != null && k.getValue() && o.current.clear());
17870
+ oe && Q && (q(null), W([]), le([]), (k = o.current) != null && k.getValue() && o.current.clear());
17871
17871
  }, [oe]), xe.useEffect(() => {
17872
17872
  Q && (PX().then((k) => $e(k)), ne(tr.MAX));
17873
17873
  }, [Q]), xe.useEffect(() => {
@@ -17979,14 +17979,14 @@ nD.propTypes = {
17979
17979
  isOpen: ct.bool
17980
17980
  };
17981
17981
  function nD({ onSetSize: e, isOpen: i }) {
17982
- const o = Ci(zd), { t: u } = Qo(), d = xe.useRef(), _ = xe.useRef(), w = xe.useRef(), a = xe.useRef(), E = xe.useRef(), j = 100, [Q, K] = sn(Ow), W = Ci(j1), le = Ci(X7), [fe, we] = xe.useState(!1), [$e, me] = sn(tD), ie = wg(), [te, oe] = xe.useState(), be = Ci(ba), [, _e] = sn(vw), [, Je] = sn(qc), [, nt] = sn(Dw), [Ye, xt] = sn(dh), dt = Ci(Od), Pt = gl(), Tt = Ci(ic), [ci, Ot] = xe.useState(!1), wt = Ci(KT), $t = fh(), [, St] = sn(kw), [Ht, Z] = xe.useState(!1), ne = Ci(tk), T = Ci(Cw), k = Ci(P1), F = Ci(iD), [U, G] = xe.useState(!1), re = xe.useRef([]), [de, ue] = xe.useState([]), [Me, Fe] = xe.useState(!1);
17982
+ const o = Ci(zd), { t: u } = Qo(), d = xe.useRef(), _ = xe.useRef(), w = xe.useRef(), a = xe.useRef(), E = xe.useRef(), j = 100, [Q, q] = sn(Ow), W = Ci(j1), le = Ci(X7), [fe, we] = xe.useState(!1), [$e, me] = sn(tD), ie = wg(), [te, oe] = xe.useState(), be = Ci(ba), [, _e] = sn(vw), [, Je] = sn(qc), [, nt] = sn(Dw), [Ye, xt] = sn(dh), dt = Ci(Od), Pt = gl(), Tt = Ci(ic), [ci, Ot] = xe.useState(!1), wt = Ci(KT), $t = fh(), [, St] = sn(kw), [Ht, Z] = xe.useState(!1), ne = Ci(tk), T = Ci(Cw), k = Ci(P1), F = Ci(iD), [U, G] = xe.useState(!1), re = xe.useRef([]), [de, ue] = xe.useState([]), [Me, Fe] = xe.useState(!1);
17983
17983
  function et() {
17984
17984
  var jt, kt, Pi;
17985
- re.current.length === 1 ? (me(null), K([]), _e([]), Ke(tr.FIT), G(!0), ((kt = (jt = a.current) == null ? void 0 : jt.getValue()) == null ? void 0 : kt.trim()) ? a.current.triggerSearch() : (Pi = a.current) == null || Pi.clear(), re.current.pop()) : (re.current.pop(), me(re.current[0]));
17985
+ re.current.length === 1 ? (me(null), q([]), _e([]), Ke(tr.FIT), G(!0), ((kt = (jt = a.current) == null ? void 0 : jt.getValue()) == null ? void 0 : kt.trim()) ? a.current.triggerSearch() : (Pi = a.current) == null || Pi.clear(), re.current.pop()) : (re.current.pop(), me(re.current[0]));
17986
17986
  }
17987
17987
  function Ue(jt) {
17988
17988
  var kt;
17989
- re.current.includes(jt) || re.current.push(jt), $e && (me([]), K([]), _e([])), me(jt), window.mapsindoors.services.LocationsService.getLocations({
17989
+ re.current.includes(jt) || re.current.push(jt), $e && (me([]), q([]), _e([])), me(jt), window.mapsindoors.services.LocationsService.getLocations({
17990
17990
  categories: jt,
17991
17991
  venue: T || (kt = k.find((Pi) => Pi.name.toLowerCase() === Ye.toLowerCase())) == null ? void 0 : kt.name
17992
17992
  }).then((Pi) => mt(Pi, !0));
@@ -18003,7 +18003,7 @@ function nD({ onSetSize: e, isOpen: i }) {
18003
18003
  function mt(jt, kt = !1) {
18004
18004
  var Ai;
18005
18005
  const Pi = jt.slice(0, j);
18006
- Ke(tr.MAX), K(Pi), _e(Pi), we(Pi.length === 0), jt && kt && yt(jt), $t && ((Ai = d.current) == null || Ai.addEventListener("transitionend", () => {
18006
+ Ke(tr.MAX), q(Pi), _e(Pi), we(Pi.length === 0), jt && kt && yt(jt), $t && ((Ai = d.current) == null || Ai.addEventListener("transitionend", () => {
18007
18007
  var $i;
18008
18008
  ($i = _ == null ? void 0 : _.current) == null || $i.updateScrollButtons();
18009
18009
  }, { once: !0 }));
@@ -18027,7 +18027,7 @@ function nD({ onSetSize: e, isOpen: i }) {
18027
18027
  });
18028
18028
  }
18029
18029
  function Mt() {
18030
- K([]), we(!1), $e && Ue($e), _e([]), Rr(E.current) || E.current.clearInputField();
18030
+ q([]), we(!1), $e && Ue($e), _e([]), Rr(E.current) || E.current.clearInputField();
18031
18031
  }
18032
18032
  function Et() {
18033
18033
  a.current.getInputField();
@@ -18077,7 +18077,7 @@ function nD({ onSetSize: e, isOpen: i }) {
18077
18077
  ), fn = Ai.target.closest(".search__results");
18078
18078
  $i ? (Ke(tr.MAX), w.current = requestAnimationFrame(() => {
18079
18079
  G(!0);
18080
- })) : !fn && !xn && (G(!1), Ke(tr.MIN), me(null), K([]), _e([]), re.current = []);
18080
+ })) : !fn && !xn && (G(!1), Ke(tr.MIN), me(null), q([]), _e([]), re.current = []);
18081
18081
  };
18082
18082
  return i ? w.current = requestAnimationFrame(() => {
18083
18083
  document.addEventListener("click", Pi);
@@ -18087,7 +18087,9 @@ function nD({ onSetSize: e, isOpen: i }) {
18087
18087
  }, [i]), xe.useEffect(() => () => {
18088
18088
  oe();
18089
18089
  }, []), xe.useEffect(() => {
18090
- $e && Ye !== F && (K([]), me(null));
18090
+ i && !$e && (Q.length > 0 || re.current.length > 0) && (q([]), _e([]), we(!1), re.current = [], a.current && a.current.clear());
18091
+ }, [i, $e, Q.length]), xe.useEffect(() => {
18092
+ $e && Ye !== F && (q([]), me(null));
18091
18093
  }, [Ye]), xe.useEffect(() => {
18092
18094
  $e && window.mapsindoors.services.LocationsService.once("update_completed", () => {
18093
18095
  a.current.triggerSearch();
@@ -18237,7 +18239,7 @@ ik.propTypes = {
18237
18239
  onRouteFinished: ct.func.isRequired
18238
18240
  };
18239
18241
  function ik({ directionsFromLocation: e, directionsToLocation: i, pushAppView: o, currentAppView: u, appViews: d, onRouteFinished: _ }) {
18240
- const w = xe.useRef(), a = xe.useRef(), E = xe.useRef(), j = xe.useRef(), Q = xe.useRef(), K = xe.useRef(), [W, le] = sn(qc), [fe, we] = xe.useState(!1), [$e, me] = sn(xw), [, ie] = sn(Mw);
18242
+ const w = xe.useRef(), a = xe.useRef(), E = xe.useRef(), j = xe.useRef(), Q = xe.useRef(), q = xe.useRef(), [W, le] = sn(qc), [fe, we] = xe.useState(!1), [$e, me] = sn(xw), [, ie] = sn(Mw);
18241
18243
  xe.useEffect(() => {
18242
18244
  e && i && u === d.DIRECTIONS || (e && i || e ? o(d.WAYFINDING) : W ? o(d.LOCATION_DETAILS, W) : ($e == null ? void 0 : $e.length) > 1 ? o(d.EXTERNALIDS) : ($e == null ? void 0 : $e.length) === 1 ? (le($e[0]), ie($e[0].id)) : o(d.SEARCH));
18243
18245
  }, [W, e, i, $e]), xe.useEffect(() => {
@@ -18336,11 +18338,11 @@ function ik({ directionsFromLocation: e, directionsToLocation: i, pushAppView: o
18336
18338
  minimizedHeight: 273,
18337
18339
  isOpen: u === d.DIRECTIONS,
18338
18340
  initialSnapPoint: tr.FIT,
18339
- ref: K,
18341
+ ref: q,
18340
18342
  children: /* @__PURE__ */ Oe.jsx(
18341
18343
  eD,
18342
18344
  {
18343
- onSetSize: (_e) => K.current.setSnapPoint(_e),
18345
+ onSetSize: (_e) => q.current.setSnapPoint(_e),
18344
18346
  isOpen: u === d.DIRECTIONS,
18345
18347
  onBack: () => o(d.WAYFINDING),
18346
18348
  onRouteFinished: () => _()
@@ -18364,8 +18366,8 @@ const UX = {
18364
18366
  const [e, i] = xe.useState(void 0), [o, u] = xe.useState(), [d, _] = xe.useState(null);
18365
18367
  xe.useEffect(() => {
18366
18368
  function j(Q) {
18367
- var K, W;
18368
- i((K = Q.state) == null ? void 0 : K.value), u((W = Q.state) == null ? void 0 : W.payload);
18369
+ var q, W;
18370
+ i((q = Q.state) == null ? void 0 : q.value), u((W = Q.state) == null ? void 0 : W.payload);
18369
18371
  }
18370
18372
  return window.addEventListener("popstate", j), () => {
18371
18373
  window.removeEventListener("popstate", j);
@@ -18384,9 +18386,9 @@ const UX = {
18384
18386
  default: !1
18385
18387
  });
18386
18388
  function HX() {
18387
- const e = Ci(iD), [, i] = sn(dh), o = To(Lw), u = To(qc), d = To(B1), _ = To(Sw), w = To(Dw), a = To(k1), E = To(QX), j = To(zw), Q = To(F1), K = To(Ow), W = To(U1), le = To(kw), fe = To(c7), we = To(RT);
18389
+ const e = Ci(iD), [, i] = sn(dh), o = To(Lw), u = To(qc), d = To(B1), _ = To(Sw), w = To(Dw), a = To(k1), E = To(QX), j = To(zw), Q = To(F1), q = To(Ow), W = To(U1), le = To(kw), fe = To(c7), we = To(RT);
18388
18390
  return () => {
18389
- o(), u(), d(), _(), w(), a(), E(), j(), Q(), K(), W(), le(), fe(), we(), e && i(e);
18391
+ o(), u(), d(), _(), w(), a(), E(), j(), Q(), q(), W(), le(), fe(), we(), e && i(e);
18390
18392
  };
18391
18393
  }
18392
18394
  Ip.propTypes = {
@@ -18425,7 +18427,7 @@ nk.propTypes = {
18425
18427
  onRouteFinished: ct.func
18426
18428
  };
18427
18429
  function nk({ directionsFromLocation: e, directionsToLocation: i, pushAppView: o, currentAppView: u, appViews: d, onRouteFinished: _ }) {
18428
- const [w, a] = sn(qc), [E, j] = sn(xw), [, Q] = sn(Mw), K = Ci(ic);
18430
+ const [w, a] = sn(qc), [E, j] = sn(xw), [, Q] = sn(Mw), q = Ci(ic);
18429
18431
  xe.useEffect(() => {
18430
18432
  e && i && u === d.DIRECTIONS || (e && i || e ? o(d.WAYFINDING) : w ? o(d.LOCATION_DETAILS, w) : (E == null ? void 0 : E.length) > 1 ? o(d.EXTERNALIDS) : (E == null ? void 0 : E.length) === 1 ? (a(E[0]), Q(E[0].id)) : o(d.SEARCH));
18431
18433
  }, [w, e, i, E]);
@@ -18436,7 +18438,7 @@ function nk({ directionsFromLocation: e, directionsToLocation: i, pushAppView: o
18436
18438
  o(d.SEARCH), a(), j([]);
18437
18439
  }
18438
18440
  function fe() {
18439
- o(K ? d.LOCATION_DETAILS : d.WAYFINDING);
18441
+ o(q ? d.LOCATION_DETAILS : d.WAYFINDING);
18440
18442
  }
18441
18443
  const we = [
18442
18444
  /* @__PURE__ */ Oe.jsx(Ip, { isOpen: u === d.SEARCH, children: /* @__PURE__ */ Oe.jsx(nD, { isOpen: u === d.SEARCH }) }, "SEARCH"),
@@ -18701,11 +18703,11 @@ var lk = {};
18701
18703
  }, e.getPenaltyN1 = function(d) {
18702
18704
  const _ = d.size;
18703
18705
  let w = 0, a = 0, E = 0, j = null, Q = null;
18704
- for (let K = 0; K < _; K++) {
18706
+ for (let q = 0; q < _; q++) {
18705
18707
  a = E = 0, j = Q = null;
18706
18708
  for (let W = 0; W < _; W++) {
18707
- let le = d.get(K, W);
18708
- le === j ? a++ : (a >= 5 && (w += i.N1 + (a - 5)), j = le, a = 1), le = d.get(W, K), le === Q ? E++ : (E >= 5 && (w += i.N1 + (E - 5)), Q = le, E = 1);
18709
+ let le = d.get(q, W);
18710
+ le === j ? a++ : (a >= 5 && (w += i.N1 + (a - 5)), j = le, a = 1), le = d.get(W, q), le === Q ? E++ : (E >= 5 && (w += i.N1 + (E - 5)), Q = le, E = 1);
18709
18711
  }
18710
18712
  a >= 5 && (w += i.N1 + (a - 5)), E >= 5 && (w += i.N1 + (E - 5));
18711
18713
  }
@@ -19296,7 +19298,7 @@ rc.testAlphanumeric = function(i) {
19296
19298
  fe += $e + we.getBitsLength();
19297
19299
  }), fe;
19298
19300
  }
19299
- function K(W, le) {
19301
+ function q(W, le) {
19300
19302
  for (let fe = 1; fe <= 40; fe++)
19301
19303
  if (Q(W, fe) <= e.getCapacity(fe, le, d.MIXED))
19302
19304
  return fe;
@@ -19327,7 +19329,7 @@ rc.testAlphanumeric = function(i) {
19327
19329
  const $e = u.from(fe, u.M);
19328
19330
  if (Array.isArray(le)) {
19329
19331
  if (le.length > 1)
19330
- return K(le, $e);
19332
+ return q(le, $e);
19331
19333
  if (le.length === 0)
19332
19334
  return 1;
19333
19335
  we = le[0];
@@ -19523,10 +19525,10 @@ var gJ = ug, mk = { exports: {} };
19523
19525
  w[u] = 0;
19524
19526
  var a = i.PriorityQueue.make();
19525
19527
  a.push(u, 0);
19526
- for (var E, j, Q, K, W, le, fe, we, $e; !a.empty(); ) {
19527
- E = a.pop(), j = E.value, K = E.cost, W = o[j] || {};
19528
+ for (var E, j, Q, q, W, le, fe, we, $e; !a.empty(); ) {
19529
+ E = a.pop(), j = E.value, q = E.cost, W = o[j] || {};
19528
19530
  for (Q in W)
19529
- W.hasOwnProperty(Q) && (le = W[Q], fe = K + le, we = w[Q], $e = typeof w[Q] > "u", ($e || we > fe) && (w[Q] = fe, a.push(Q, fe), _[Q] = j));
19531
+ W.hasOwnProperty(Q) && (le = W[Q], fe = q + le, we = w[Q], $e = typeof w[Q] > "u", ($e || we > fe) && (w[Q] = fe, a.push(Q, fe), _[Q] = j));
19530
19532
  }
19531
19533
  if (typeof d < "u" && typeof w[d] > "u") {
19532
19534
  var me = ["Could not find a path from ", u, " to ", d, "."].join("");
@@ -19599,7 +19601,7 @@ var mJ = mk.exports;
19599
19601
  });
19600
19602
  return oe;
19601
19603
  }
19602
- function K(me) {
19604
+ function q(me) {
19603
19605
  const ie = Q(w.NUMERIC, i.NUMERIC, me), te = Q(w.ALPHANUMERIC, i.ALPHANUMERIC, me);
19604
19606
  let oe, be;
19605
19607
  return a.isKanjiModeEnabled() ? (oe = Q(w.BYTE, i.BYTE, me), be = Q(w.KANJI, i.KANJI, me)) : (oe = Q(w.BYTE_KANJI, i.BYTE, me), be = []), ie.concat(te, oe, be).sort(function(Je, nt) {
@@ -19703,13 +19705,13 @@ var mJ = mk.exports;
19703
19705
  return typeof oe == "string" ? te.push($e(oe, null)) : oe.data && te.push($e(oe.data, oe.mode)), te;
19704
19706
  }, []);
19705
19707
  }, e.fromString = function(ie, te) {
19706
- const oe = K(ie, a.isKanjiModeEnabled()), be = fe(oe), _e = we(be, te), Je = E.find_path(_e.map, "start", "end"), nt = [];
19708
+ const oe = q(ie, a.isKanjiModeEnabled()), be = fe(oe), _e = we(be, te), Je = E.find_path(_e.map, "start", "end"), nt = [];
19707
19709
  for (let Ye = 1; Ye < Je.length - 1; Ye++)
19708
19710
  nt.push(_e.table[Je[Ye]].node);
19709
19711
  return e.fromArray(le(nt));
19710
19712
  }, e.rawSplit = function(ie) {
19711
19713
  return e.fromArray(
19712
- K(ie, a.isKanjiModeEnabled())
19714
+ q(ie, a.isKanjiModeEnabled())
19713
19715
  );
19714
19716
  };
19715
19717
  })(gk);
@@ -19783,13 +19785,13 @@ function CJ(e, i, o) {
19783
19785
  return EJ(u, e, i);
19784
19786
  }
19785
19787
  function EJ(e, i, o) {
19786
- const u = Bw.getSymbolTotalCodewords(i), d = i5.getTotalCodewordsCount(i, o), _ = u - d, w = i5.getBlocksCount(i, o), a = u % w, E = w - a, j = Math.floor(u / w), Q = Math.floor(_ / w), K = Q + 1, W = j - Q, le = new wJ(W);
19788
+ const u = Bw.getSymbolTotalCodewords(i), d = i5.getTotalCodewordsCount(i, o), _ = u - d, w = i5.getBlocksCount(i, o), a = u % w, E = w - a, j = Math.floor(u / w), Q = Math.floor(_ / w), q = Q + 1, W = j - Q, le = new wJ(W);
19787
19789
  let fe = 0;
19788
19790
  const we = new Array(w), $e = new Array(w);
19789
19791
  let me = 0;
19790
19792
  const ie = new Uint8Array(e.buffer);
19791
19793
  for (let Je = 0; Je < w; Je++) {
19792
- const nt = Je < E ? Q : K;
19794
+ const nt = Je < E ? Q : q;
19793
19795
  we[Je] = ie.slice(fe, fe + nt), $e[Je] = le.encode(we[Je]), fe += nt, me = Math.max(me, nt);
19794
19796
  }
19795
19797
  const te = new Uint8Array(u);
@@ -19885,13 +19887,13 @@ var yk = {}, lD = {};
19885
19887
  const _ = e.getScale(u, d);
19886
19888
  return Math.floor((u + d.margin * 2) * _);
19887
19889
  }, e.qrToImageData = function(u, d, _) {
19888
- const w = d.modules.size, a = d.modules.data, E = e.getScale(w, _), j = Math.floor((w + _.margin * 2) * E), Q = _.margin * E, K = [_.color.light, _.color.dark];
19890
+ const w = d.modules.size, a = d.modules.data, E = e.getScale(w, _), j = Math.floor((w + _.margin * 2) * E), Q = _.margin * E, q = [_.color.light, _.color.dark];
19889
19891
  for (let W = 0; W < j; W++)
19890
19892
  for (let le = 0; le < j; le++) {
19891
19893
  let fe = (W * j + le) * 4, we = _.color.light;
19892
19894
  if (W >= Q && le >= Q && W < j - Q && le < j - Q) {
19893
19895
  const $e = Math.floor((W - Q) / E), me = Math.floor((le - Q) / E);
19894
- we = K[a[$e * w + me] ? 1 : 0];
19896
+ we = q[a[$e * w + me] ? 1 : 0];
19895
19897
  }
19896
19898
  u[fe++] = we.r, u[fe++] = we.g, u[fe++] = we.b, u[fe] = we.a;
19897
19899
  }
@@ -19912,13 +19914,13 @@ var yk = {}, lD = {};
19912
19914
  e.render = function(_, w, a) {
19913
19915
  let E = a, j = w;
19914
19916
  typeof E > "u" && (!w || !w.getContext) && (E = w, w = void 0), w || (j = u()), E = i.getOptions(E);
19915
- const Q = i.getImageWidth(_.modules.size, E), K = j.getContext("2d"), W = K.createImageData(Q, Q);
19916
- return i.qrToImageData(W.data, _, E), o(K, j, Q), K.putImageData(W, 0, 0), j;
19917
+ const Q = i.getImageWidth(_.modules.size, E), q = j.getContext("2d"), W = q.createImageData(Q, Q);
19918
+ return i.qrToImageData(W.data, _, E), o(q, j, Q), q.putImageData(W, 0, 0), j;
19917
19919
  }, e.renderToDataURL = function(_, w, a) {
19918
19920
  let E = a;
19919
19921
  typeof E > "u" && (!w || !w.getContext) && (E = w, w = void 0), E || (E = {});
19920
- const j = e.render(_, w, E), Q = E.type || "image/png", K = E.rendererOpts || {};
19921
- return j.toDataURL(Q, K.quality);
19922
+ const j = e.render(_, w, E), Q = E.type || "image/png", q = E.rendererOpts || {};
19923
+ return j.toDataURL(Q, q.quality);
19922
19924
  };
19923
19925
  })(yk);
19924
19926
  var _k = {};
@@ -20003,10 +20005,10 @@ const PJ = kn({
20003
20005
  default: void 0
20004
20006
  });
20005
20007
  function RJ() {
20006
- const { t: e } = Qo(), i = Ci(nc), o = Ci(tk), u = fh(), d = xe.useRef(), _ = xe.useRef(), w = xe.useRef(), [a, E] = sn(kw), [j, Q] = xe.useState(!1), K = xe.useRef();
20008
+ const { t: e } = Qo(), i = Ci(nc), o = Ci(tk), u = fh(), d = xe.useRef(), _ = xe.useRef(), w = xe.useRef(), [a, E] = sn(kw), [j, Q] = xe.useState(!1), q = xe.useRef();
20007
20009
  let W = 700;
20008
20010
  return xe.useEffect(() => {
20009
- a && u && Q(K.current.clientHeight > W);
20011
+ a && u && Q(q.current.clientHeight > W);
20010
20012
  }, [a, u]), xe.useEffect(() => {
20011
20013
  if (a && u && j) {
20012
20014
  const le = document.querySelector(".legend__sections");
@@ -20019,7 +20021,7 @@ function RJ() {
20019
20021
  "div",
20020
20022
  {
20021
20023
  className: `legend__sections ${j ? "legend__sections--scrollable" : ""}`,
20022
- ref: K,
20024
+ ref: q,
20023
20025
  style: { maxHeight: j ? `${W}px` : "auto", overflowY: j ? "scroll" : "auto" },
20024
20026
  children: o.map((le, fe) => /* @__PURE__ */ Oe.jsxs("div", { className: "legend__section", ref: _, children: [
20025
20027
  /* @__PURE__ */ Oe.jsx("div", { className: "legend__heading", children: le.heading }),
@@ -20040,11 +20042,11 @@ const BJ = () => {
20040
20042
  }, [e, o]), xe.useEffect(() => {
20041
20043
  e && !E && j(e);
20042
20044
  }, [e]), xe.useEffect(() => {
20043
- u && o.length && e && d && (u.setVenue(o.find((W) => W.name.toLowerCase() === e.toLowerCase())), K(), w([]), a && (a.value = ""));
20045
+ u && o.length && e && d && (u.setVenue(o.find((W) => W.name.toLowerCase() === e.toLowerCase())), q(), w([]), a && (a.value = ""));
20044
20046
  }, [u, e, o, d]);
20045
20047
  const Q = () => o.length === 1 ? o[0] : [...o].sort(function(W, le) {
20046
20048
  return W.venueInfo.name > le.venueInfo.name ? 1 : le.venueInfo.name > W.venueInfo.name ? -1 : 0;
20047
- })[0], K = async () => {
20049
+ })[0], q = async () => {
20048
20050
  var me, ie, te, oe, be;
20049
20051
  const W = await ((te = (ie = (me = window == null ? void 0 : window.mapsindoors) == null ? void 0 : me.services) == null ? void 0 : ie.SolutionsService) == null ? void 0 : te.getCategories()), le = ((oe = d == null ? void 0 : d.menuInfo) == null ? void 0 : oe.mainmenu) ?? [], fe = new Map(
20050
20052
  W.map((_e) => [_e.key, _e.childKeys])
@@ -20070,7 +20072,7 @@ const BJ = () => {
20070
20072
  _(nt);
20071
20073
  });
20072
20074
  };
20073
- return [i, K];
20075
+ return [i, q];
20074
20076
  }, FJ = kn({
20075
20077
  key: "showRoadNames",
20076
20078
  default: !0
@@ -20118,8 +20120,8 @@ xk.propTypes = {
20118
20120
  mapboxMapStyle: ct.string,
20119
20121
  devicePosition: ct.object
20120
20122
  };
20121
- function xk({ apiKey: e, gmApiKey: i, mapboxAccessToken: o, venue: u, locationId: d, primaryColor: _, logo: w, appUserRoles: a, directionsFrom: E, directionsTo: j, externalIDs: Q, tileStyle: K, startZoomLevel: W, bearing: le, pitch: fe, gmMapId: we, useMapProviderModule: $e, kioskOriginLocationId: me, language: ie, supportsUrlParameters: te, useKeyboard: oe, timeout: be, miTransitionLevel: _e, category: Je, searchAllVenues: nt, hideNonMatches: Ye, showRoadNames: xt, showExternalIDs: dt, searchExternalLocations: Pt, center: Tt, useAppTitle: ci, showMapMarkers: Ot, mapboxMapStyle: wt, devicePosition: $t }) {
20122
- const [St, Ht] = xe.useState(!1), [Z, ne] = xe.useState({ brandingColor: _ }), [, T] = sn(OT), [, k] = sn(kT), [, F] = sn(_w), [U, G] = sn(Iw), [re, de] = sn(P1), [ue, Me] = sn(qc), Fe = Ci(j1), [, et] = sn(Mw), [Ue, Ke] = sn(nc), [, Ve] = sn(GT), [, mt] = sn($X), yt = Ci(ba), [Mt, Et] = sn(Od), [, di] = sn(ic), [, qt] = sn(PT), [, ui] = sn(a7), Wt = l7(), [, wi] = sn(Q7), [, Ei] = sn(X7), [, jt] = sn(PJ), [, kt] = sn(tD), [, Pi] = sn(Cw), [, Ai] = sn(ek), [, $i] = sn(M7), [, xn] = sn(Aw), [, fn] = sn(FJ), [, tn] = sn(WT), [, On] = sn(u7), [vt, ft] = xe.useState(), si = xe.useRef(), [, Zt] = sn(G7), ti = Ci(Ew), [yi, Di] = xe.useState(!0), [Qi, cn] = xe.useState(!0), Ji = DN(E), wn = DN(j), [Dt, Vn] = xe.useState(!1), [, gr] = sn(xw), [xr, Ze] = sn(vw), [q, ae] = xe.useState(), [he, Re] = sn(zd), [, ke] = sn(o7), [, Le] = sn(n7), [, ot] = sn(s7), [, Qe] = sn(jT), [, st] = sn(ww), Ft = gl(), zt = HX(), [Ct, ii, hi, Wi, fi, ki] = VX(), [Gi, vi] = xe.useState(!1), ji = Ci(kw), [Zi, un] = xe.useState(0), [gn, zn] = BJ(), ar = UJ(), [, Rn] = sn(k1);
20123
+ function xk({ apiKey: e, gmApiKey: i, mapboxAccessToken: o, venue: u, locationId: d, primaryColor: _, logo: w, appUserRoles: a, directionsFrom: E, directionsTo: j, externalIDs: Q, tileStyle: q, startZoomLevel: W, bearing: le, pitch: fe, gmMapId: we, useMapProviderModule: $e, kioskOriginLocationId: me, language: ie, supportsUrlParameters: te, useKeyboard: oe, timeout: be, miTransitionLevel: _e, category: Je, searchAllVenues: nt, hideNonMatches: Ye, showRoadNames: xt, showExternalIDs: dt, searchExternalLocations: Pt, center: Tt, useAppTitle: ci, showMapMarkers: Ot, mapboxMapStyle: wt, devicePosition: $t }) {
20124
+ const [St, Ht] = xe.useState(!1), [Z, ne] = xe.useState({ brandingColor: _ }), [, T] = sn(OT), [, k] = sn(kT), [, F] = sn(_w), [U, G] = sn(Iw), [re, de] = sn(P1), [ue, Me] = sn(qc), Fe = Ci(j1), [, et] = sn(Mw), [Ue, Ke] = sn(nc), [, Ve] = sn(GT), [, mt] = sn($X), yt = Ci(ba), [Mt, Et] = sn(Od), [, di] = sn(ic), [, qt] = sn(PT), [, ui] = sn(a7), Wt = l7(), [, wi] = sn(Q7), [, Ei] = sn(X7), [, jt] = sn(PJ), [, kt] = sn(tD), [, Pi] = sn(Cw), [, Ai] = sn(ek), [, $i] = sn(M7), [, xn] = sn(Aw), [, fn] = sn(FJ), [, tn] = sn(WT), [, On] = sn(u7), [vt, ft] = xe.useState(), si = xe.useRef(), [, Zt] = sn(G7), ti = Ci(Ew), [yi, Di] = xe.useState(!0), [Qi, cn] = xe.useState(!0), Ji = DN(E), wn = DN(j), [Dt, Vn] = xe.useState(!1), [, gr] = sn(xw), [xr, Ze] = sn(vw), [K, ae] = xe.useState(), [he, Re] = sn(zd), [, ke] = sn(o7), [, Le] = sn(n7), [, ot] = sn(s7), [, Qe] = sn(jT), [, st] = sn(ww), Ft = gl(), zt = HX(), [Ct, ii, hi, Wi, fi, ki] = VX(), [Gi, vi] = xe.useState(!1), ji = Ci(kw), [Zi, un] = xe.useState(0), [gn, zn] = BJ(), ar = UJ(), [, Rn] = sn(k1);
20123
20125
  function lr() {
20124
20126
  return new Promise((Hi) => {
20125
20127
  if (window.mapsindoors !== void 0)
@@ -20197,13 +20199,13 @@ function xk({ apiKey: e, gmApiKey: i, mapboxAccessToken: o, venue: u, locationId
20197
20199
  si.current = gp.None;
20198
20200
  break;
20199
20201
  }
20200
- hi === fi.DIRECTIONS ? (ae(xr), Ze([])) : Ze(q);
20202
+ hi === fi.DIRECTIONS ? (ae(xr), Ze([])) : Ze(K);
20201
20203
  }, [hi]), xe.useEffect(() => {
20202
20204
  var Hi;
20203
20205
  gn(u ?? ((Hi = he == null ? void 0 : he.appSettings) == null ? void 0 : Hi.venue));
20204
20206
  }, [u, he]), xe.useEffect(() => {
20205
- Le(K);
20206
- }, [K]), xe.useEffect(() => {
20207
+ Le(q);
20208
+ }, [q]), xe.useEffect(() => {
20207
20209
  var mr;
20208
20210
  const Hi = "#003C3B";
20209
20211
  Ke(_ ?? ((mr = he == null ? void 0 : he.appSettings) == null ? void 0 : mr.primaryColor) ?? Hi);
@@ -20404,7 +20406,7 @@ function wk(e) {
20404
20406
  showExternalIDs: !1,
20405
20407
  hideNonMatches: !1,
20406
20408
  useAppTitle: !1
20407
- }, w = d.get("apiKey"), a = d.get("venue"), E = d.get("locationId"), j = d.get("logo"), Q = d.get("directionsFrom"), K = d.get("directionsTo"), W = d.get("tileStyle"), le = Number(d.get("startZoomLevel")), fe = Number(d.get("pitch")), we = Number(d.get("bearing")), $e = d.get("gmApiKey"), me = d.get("mapboxAccessToken"), ie = d.get("primaryColor"), te = (F = d.get("appUserRoles")) == null ? void 0 : F.split(","), oe = (U = d.get("externalIDs")) == null ? void 0 : U.split(","), be = d.get("gmMapId"), _e = d.get("kioskOriginLocationId"), Je = Number(d.get("timeout")), nt = d.get("language"), Ye = Number(d.get("miTransitionLevel")), xt = d.get("category"), dt = d.get("useMapProviderModule"), Pt = d.get("useKeyboard"), Tt = d.get("searchAllVenues"), ci = d.get("hideNonMatches"), Ot = d.get("showExternalIDs"), wt = d.get("showRoadNames"), $t = d.get("searchExternalLocations"), St = d.get("center"), Ht = d.get("useAppTitle"), Z = d.get("showMapMarkers"), ne = d.get("mapboxMapStyle"), T = e.supportsUrlParameters && w ? w : e.apiKey || _.apiKey;
20409
+ }, w = d.get("apiKey"), a = d.get("venue"), E = d.get("locationId"), j = d.get("logo"), Q = d.get("directionsFrom"), q = d.get("directionsTo"), W = d.get("tileStyle"), le = Number(d.get("startZoomLevel")), fe = Number(d.get("pitch")), we = Number(d.get("bearing")), $e = d.get("gmApiKey"), me = d.get("mapboxAccessToken"), ie = d.get("primaryColor"), te = (F = d.get("appUserRoles")) == null ? void 0 : F.split(","), oe = (U = d.get("externalIDs")) == null ? void 0 : U.split(","), be = d.get("gmMapId"), _e = d.get("kioskOriginLocationId"), Je = Number(d.get("timeout")), nt = d.get("language"), Ye = Number(d.get("miTransitionLevel")), xt = d.get("category"), dt = d.get("useMapProviderModule"), Pt = d.get("useKeyboard"), Tt = d.get("searchAllVenues"), ci = d.get("hideNonMatches"), Ot = d.get("showExternalIDs"), wt = d.get("showRoadNames"), $t = d.get("searchExternalLocations"), St = d.get("center"), Ht = d.get("useAppTitle"), Z = d.get("showMapMarkers"), ne = d.get("mapboxMapStyle"), T = e.supportsUrlParameters && w ? w : e.apiKey || _.apiKey;
20408
20410
  let k = e.supportsUrlParameters && a ? a : e.venue || _.venue;
20409
20411
  T === "mapspeople3d" && !k && (k = "AUSTINOFFICE"), o({
20410
20412
  apiKey: T,
@@ -20412,7 +20414,7 @@ function wk(e) {
20412
20414
  locationId: e.supportsUrlParameters && E ? E : e.locationId,
20413
20415
  logo: e.supportsUrlParameters && j ? j : e.logo,
20414
20416
  directionsFrom: e.supportsUrlParameters && Q ? Q : e.directionsFrom,
20415
- directionsTo: e.supportsUrlParameters && K ? K : e.directionsTo,
20417
+ directionsTo: e.supportsUrlParameters && q ? q : e.directionsTo,
20416
20418
  tileStyle: e.supportsUrlParameters && W ? W : e.tileStyle,
20417
20419
  startZoomLevel: e.supportsUrlParameters && le ? le : e.startZoomLevel,
20418
20420
  pitch: e.supportsUrlParameters && fe ? fe : e.pitch,
@@ -20489,10 +20491,10 @@ function qJ(e, i, o) {
20489
20491
  var u, d, _;
20490
20492
  i.props || (i.props = e.propTypes ? Object.keys(e.propTypes) : []);
20491
20493
  const w = Array.isArray(i.props) ? i.props.slice() : Object.keys(i.props), a = {}, E = {}, j = {};
20492
- for (const K of w) {
20493
- a[K] = Array.isArray(i.props) ? "string" : i.props[K];
20494
- const W = WJ(K);
20495
- E[K] = W, j[W] = K;
20494
+ for (const q of w) {
20495
+ a[q] = Array.isArray(i.props) ? "string" : i.props[q];
20496
+ const W = WJ(q);
20497
+ E[q] = W, j[W] = q;
20496
20498
  }
20497
20499
  class Q extends HTMLElement {
20498
20500
  constructor() {
@@ -20525,16 +20527,16 @@ function qJ(e, i, o) {
20525
20527
  ));
20526
20528
  }
20527
20529
  }
20528
- for (const K of w) {
20529
- const W = E[K], le = a[K];
20530
- Object.defineProperty(Q.prototype, K, {
20530
+ for (const q of w) {
20531
+ const W = E[q], le = a[q];
20532
+ Object.defineProperty(Q.prototype, q, {
20531
20533
  enumerable: !0,
20532
20534
  configurable: !0,
20533
20535
  get() {
20534
- return this[Bu][K];
20536
+ return this[Bu][q];
20535
20537
  },
20536
20538
  set(fe) {
20537
- this[Bu][K] = fe;
20539
+ this[Bu][q] = fe;
20538
20540
  const we = le ? z3[le] : null;
20539
20541
  if (we != null && we.stringify) {
20540
20542
  const $e = we.stringify(fe, W, this);
@@ -20699,7 +20701,7 @@ var Sk = H1(function(e) {
20699
20701
  if (Ot == "farzher")
20700
20702
  return [{ target: "farzher was here (^-^*)/", score: 0, _indexes: [0], obj: wt ? wt[0] : Pt }];
20701
20703
  if (!Ot)
20702
- return $t && $t.all ? K(Ot, wt, $t) : dt;
20704
+ return $t && $t.all ? q(Ot, wt, $t) : dt;
20703
20705
  var St = Q(Ot), Ht = St.bitflags, Z = $t && $t.threshold || xt, ne = $t && $t.limit || Ye, T = 0, k = 0, F = wt.length;
20704
20706
  if ($t && $t.key)
20705
20707
  for (var U = $t.key, G = 0; G < F; ++G) {
@@ -20800,7 +20802,7 @@ var Sk = H1(function(e) {
20800
20802
  return E(Ot);
20801
20803
  var wt = te.get(Ot);
20802
20804
  return wt !== void 0 || (wt = E(Ot), te.set(Ot, wt)), wt;
20803
- }, K = (Ot, wt, $t) => {
20805
+ }, q = (Ot, wt, $t) => {
20804
20806
  var St = [];
20805
20807
  St.total = wt.length;
20806
20808
  var Ht = $t && $t.limit || Ye;
@@ -23369,7 +23371,7 @@ var Pee = H1(function(e, i) {
23369
23371
  }));
23370
23372
  if (G("RegExp", yi)) {
23371
23373
  for (var Di = function(Ji, wn) {
23372
- var Dt, Vn, gr, xr, Ze, q, ae = Fe(kt, this), he = et(Ji), Re = wn === void 0, ke = [], Le = Ji;
23374
+ var Dt, Vn, gr, xr, Ze, K, ae = Fe(kt, this), he = et(Ji), Re = wn === void 0, ke = [], Le = Ji;
23373
23375
  if (!ae && he && Re && Ji.constructor === Di)
23374
23376
  return Ji;
23375
23377
  if ((he || Fe(kt, Ji)) && (Ji = Ji.source, Re && (wn = Ke(Le))), Ji = Ji === void 0 ? "" : Ue(Ji), wn = wn === void 0 ? "" : Ue(wn), Le = Ji, Wt && "dotAll" in vt && (Vn = !!wn && fn(wn, "s") > -1) && (wn = xn(wn, /s/g, "")), Dt = wn, Zt && "sticky" in vt && (gr = !!wn && fn(wn, "y") > -1) && ti && (wn = xn(wn, /y/g, "")), wi && (xr = function(ot) {
@@ -23397,11 +23399,11 @@ var Pee = H1(function(e, i) {
23397
23399
  Wi ? ki += Qe : zt += Qe;
23398
23400
  }
23399
23401
  return [zt, Ct];
23400
- }(Ji), Ji = xr[0], ke = xr[1]), Ze = re(jt(Ji, wn), ae ? this : kt, Di), (Vn || gr || ke.length) && (q = di(Ze), Vn && (q.dotAll = !0, q.raw = Di(function(ot) {
23402
+ }(Ji), Ji = xr[0], ke = xr[1]), Ze = re(jt(Ji, wn), ae ? this : kt, Di), (Vn || gr || ke.length) && (K = di(Ze), Vn && (K.dotAll = !0, K.raw = Di(function(ot) {
23401
23403
  for (var Qe, st = ot.length, Ft = 0, zt = "", Ct = !1; Ft <= st; Ft++)
23402
23404
  (Qe = $i(ot, Ft)) !== "\\" ? Ct || Qe !== "." ? (Qe === "[" ? Ct = !0 : Qe === "]" && (Ct = !1), zt += Qe) : zt += "[\\s\\S]" : zt += Qe + $i(ot, ++Ft);
23403
23405
  return zt;
23404
- }(Ji), Dt)), gr && (q.sticky = !0), ke.length && (q.groups = ke)), Ji !== Le)
23406
+ }(Ji), Dt)), gr && (K.sticky = !0), ke.length && (K.groups = ke)), Ji !== Le)
23405
23407
  try {
23406
23408
  de(Ze, "source", Le === "" ? "(?:)" : Le);
23407
23409
  } catch {
@@ -23477,12 +23479,12 @@ var Pee = H1(function(e, i) {
23477
23479
  for (var Qi, cn = "", Ji = 0, wn = 0; wn < Di.length; wn++) {
23478
23480
  for (var Dt, Vn = Ue((yi = Di[wn])[0]), gr = di(qt(Fe(yi.index), vt.length), 0), xr = [], Ze = 1; Ze < yi.length; Ze++)
23479
23481
  Wt(xr, (Qi = yi[Ze]) === void 0 ? Qi : String(Qi));
23480
- var q = yi.groups;
23482
+ var K = yi.groups;
23481
23483
  if (si) {
23482
23484
  var ae = ui([Vn], xr, gr, vt);
23483
- q !== void 0 && Wt(ae, q), Dt = Ue(k(tn, void 0, ae));
23485
+ K !== void 0 && Wt(ae, K), Dt = Ue(k(tn, void 0, ae));
23484
23486
  } else
23485
- Dt = yt(Vn, vt, gr, xr, q, tn);
23487
+ Dt = yt(Vn, vt, gr, xr, K, tn);
23486
23488
  gr >= Ji && (cn += Ei(vt, Ji, gr) + Dt, Ji = gr + Vn.length);
23487
23489
  }
23488
23490
  return cn + Ei(vt, Ji);
@@ -23618,8 +23620,8 @@ var Pee = H1(function(e, i) {
23618
23620
  }
23619
23621
  };
23620
23622
  }, 6761: function(Z, ne, T) {
23621
- var k = T(6518), F = T(4576), U = T(9565), G = T(9504), re = T(6395), de = T(3724), ue = T(4495), Me = T(9039), Fe = T(9297), et = T(1625), Ue = T(8551), Ke = T(5397), Ve = T(6969), mt = T(655), yt = T(6980), Mt = T(2360), Et = T(1072), di = T(8480), qt = T(298), ui = T(3717), Wt = T(7347), wi = T(4913), Ei = T(6801), jt = T(8773), kt = T(6840), Pi = T(2106), Ai = T(5745), $i = T(6119), xn = T(421), fn = T(3392), tn = T(8227), On = T(1951), vt = T(511), ft = T(8242), si = T(687), Zt = T(1181), ti = T(9213).forEach, yi = $i("hidden"), Di = "Symbol", Qi = "prototype", cn = Zt.set, Ji = Zt.getterFor(Di), wn = Object[Qi], Dt = F.Symbol, Vn = Dt && Dt[Qi], gr = F.RangeError, xr = F.TypeError, Ze = F.QObject, q = Wt.f, ae = wi.f, he = qt.f, Re = jt.f, ke = G([].push), Le = Ai("symbols"), ot = Ai("op-symbols"), Qe = Ai("wks"), st = !Ze || !Ze[Qi] || !Ze[Qi].findChild, Ft = function(vi, ji, Zi) {
23622
- var un = q(wn, ji);
23623
+ var k = T(6518), F = T(4576), U = T(9565), G = T(9504), re = T(6395), de = T(3724), ue = T(4495), Me = T(9039), Fe = T(9297), et = T(1625), Ue = T(8551), Ke = T(5397), Ve = T(6969), mt = T(655), yt = T(6980), Mt = T(2360), Et = T(1072), di = T(8480), qt = T(298), ui = T(3717), Wt = T(7347), wi = T(4913), Ei = T(6801), jt = T(8773), kt = T(6840), Pi = T(2106), Ai = T(5745), $i = T(6119), xn = T(421), fn = T(3392), tn = T(8227), On = T(1951), vt = T(511), ft = T(8242), si = T(687), Zt = T(1181), ti = T(9213).forEach, yi = $i("hidden"), Di = "Symbol", Qi = "prototype", cn = Zt.set, Ji = Zt.getterFor(Di), wn = Object[Qi], Dt = F.Symbol, Vn = Dt && Dt[Qi], gr = F.RangeError, xr = F.TypeError, Ze = F.QObject, K = Wt.f, ae = wi.f, he = qt.f, Re = jt.f, ke = G([].push), Le = Ai("symbols"), ot = Ai("op-symbols"), Qe = Ai("wks"), st = !Ze || !Ze[Qi] || !Ze[Qi].findChild, Ft = function(vi, ji, Zi) {
23624
+ var un = K(wn, ji);
23623
23625
  un && delete wn[ji], ae(vi, ji, Zi), un && vi !== wn && ae(wn, ji, un);
23624
23626
  }, zt = de && Me(function() {
23625
23627
  return Mt(ae({}, "a", { get: function() {
@@ -23644,7 +23646,7 @@ var Pee = H1(function(e, i) {
23644
23646
  }, fi = function(vi, ji) {
23645
23647
  var Zi = Ke(vi), un = Ve(ji);
23646
23648
  if (Zi !== wn || !Fe(Le, un) || Fe(ot, un)) {
23647
- var gn = q(Zi, un);
23649
+ var gn = K(Zi, un);
23648
23650
  return !gn || !Fe(Le, un) || Fe(Zi, yi) && Zi[yi][un] || (gn.enumerable = !0), gn;
23649
23651
  }
23650
23652
  }, ki = function(vi) {
@@ -24466,7 +24468,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
24466
24468
  k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(Z, W(k.key), k);
24467
24469
  }
24468
24470
  }
24469
- function K(Z, ne, T) {
24471
+ function q(Z, ne, T) {
24470
24472
  return (ne = W(ne)) in Z ? Object.defineProperty(Z, ne, { value: T, enumerable: !0, configurable: !0, writable: !0 }) : Z[ne] = T, Z;
24471
24473
  }
24472
24474
  function W(Z) {
@@ -24490,7 +24492,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
24490
24492
  (function(ue, Me) {
24491
24493
  if (!(ue instanceof Me))
24492
24494
  throw new TypeError("Cannot call a class as a function");
24493
- })(this, k), K(this, "getOptions", void 0), K(this, "getCaretPosition", void 0), K(this, "getCaretPositionEnd", void 0), K(this, "dispatch", void 0), K(this, "maxLengthReached", void 0), K(this, "isStandardButton", function(ue) {
24495
+ })(this, k), q(this, "getOptions", void 0), q(this, "getCaretPosition", void 0), q(this, "getCaretPositionEnd", void 0), q(this, "dispatch", void 0), q(this, "maxLengthReached", void 0), q(this, "isStandardButton", function(ue) {
24494
24496
  return ue && !(ue[0] === "{" && ue[ue.length - 1] === "}");
24495
24497
  }), this.getOptions = U, this.getCaretPosition = G, this.getCaretPositionEnd = re, this.dispatch = de, k.bindMethods(k, this);
24496
24498
  }, ne = [{ key: "getButtonType", value: function(k) {
@@ -24617,7 +24619,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
24617
24619
  } }], ne && Q(Z.prototype, ne), T && Q(Z, T), Object.defineProperty(Z, "prototype", { writable: !1 }), Z;
24618
24620
  var Z, ne, T;
24619
24621
  }();
24620
- K(le, "noop", function() {
24622
+ q(le, "noop", function() {
24621
24623
  });
24622
24624
  var fe = le;
24623
24625
  function we(Z) {
@@ -25912,10 +25914,10 @@ function N0(e) {
25912
25914
  var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, u = o.width, d = u && e.matchPatterns[u] || e.matchPatterns[e.defaultMatchWidth], _ = i.match(d);
25913
25915
  if (!_)
25914
25916
  return null;
25915
- var w = _[0], a = u && e.parsePatterns[u] || e.parsePatterns[e.defaultParseWidth], E = Array.isArray(a) ? xte(a, function(K) {
25916
- return K.test(w);
25917
- }) : vte(a, function(K) {
25918
- return K.test(w);
25917
+ var w = _[0], a = u && e.parsePatterns[u] || e.parsePatterns[e.defaultParseWidth], E = Array.isArray(a) ? xte(a, function(q) {
25918
+ return q.test(w);
25919
+ }) : vte(a, function(q) {
25920
+ return q.test(w);
25919
25921
  }), j;
25920
25922
  j = e.valueCallback ? e.valueCallback(E) : E, j = o.valueCallback ? o.valueCallback(j) : j;
25921
25923
  var Q = i.slice(w.length);
@@ -26674,24 +26676,24 @@ function $1() {
26674
26676
  function Sd(e, i) {
26675
26677
  var o, u, d, _, w, a, E, j;
26676
26678
  Wo(1, arguments);
26677
- var Q = $1(), K = ea((o = (u = (d = (_ = i == null ? void 0 : i.weekStartsOn) !== null && _ !== void 0 ? _ : i == null || (w = i.locale) === null || w === void 0 || (a = w.options) === null || a === void 0 ? void 0 : a.weekStartsOn) !== null && d !== void 0 ? d : Q.weekStartsOn) !== null && u !== void 0 ? u : (E = Q.locale) === null || E === void 0 || (j = E.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && o !== void 0 ? o : 0);
26678
- if (!(K >= 0 && K <= 6))
26679
+ var Q = $1(), q = ea((o = (u = (d = (_ = i == null ? void 0 : i.weekStartsOn) !== null && _ !== void 0 ? _ : i == null || (w = i.locale) === null || w === void 0 || (a = w.options) === null || a === void 0 ? void 0 : a.weekStartsOn) !== null && d !== void 0 ? d : Q.weekStartsOn) !== null && u !== void 0 ? u : (E = Q.locale) === null || E === void 0 || (j = E.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && o !== void 0 ? o : 0);
26680
+ if (!(q >= 0 && q <= 6))
26679
26681
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
26680
- var W = os(e), le = W.getUTCDay(), fe = (le < K ? 7 : 0) + le - K;
26682
+ var W = os(e), le = W.getUTCDay(), fe = (le < q ? 7 : 0) + le - q;
26681
26683
  return W.setUTCDate(W.getUTCDate() - fe), W.setUTCHours(0, 0, 0, 0), W;
26682
26684
  }
26683
26685
  function Gk(e, i) {
26684
26686
  var o, u, d, _, w, a, E, j;
26685
26687
  Wo(1, arguments);
26686
- var Q = os(e), K = Q.getUTCFullYear(), W = $1(), le = ea((o = (u = (d = (_ = i == null ? void 0 : i.firstWeekContainsDate) !== null && _ !== void 0 ? _ : i == null || (w = i.locale) === null || w === void 0 || (a = w.options) === null || a === void 0 ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : W.firstWeekContainsDate) !== null && u !== void 0 ? u : (E = W.locale) === null || E === void 0 || (j = E.options) === null || j === void 0 ? void 0 : j.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
26688
+ var Q = os(e), q = Q.getUTCFullYear(), W = $1(), le = ea((o = (u = (d = (_ = i == null ? void 0 : i.firstWeekContainsDate) !== null && _ !== void 0 ? _ : i == null || (w = i.locale) === null || w === void 0 || (a = w.options) === null || a === void 0 ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : W.firstWeekContainsDate) !== null && u !== void 0 ? u : (E = W.locale) === null || E === void 0 || (j = E.options) === null || j === void 0 ? void 0 : j.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
26687
26689
  if (!(le >= 1 && le <= 7))
26688
26690
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
26689
26691
  var fe = /* @__PURE__ */ new Date(0);
26690
- fe.setUTCFullYear(K + 1, 0, le), fe.setUTCHours(0, 0, 0, 0);
26692
+ fe.setUTCFullYear(q + 1, 0, le), fe.setUTCHours(0, 0, 0, 0);
26691
26693
  var we = Sd(fe, i), $e = /* @__PURE__ */ new Date(0);
26692
- $e.setUTCFullYear(K, 0, le), $e.setUTCHours(0, 0, 0, 0);
26694
+ $e.setUTCFullYear(q, 0, le), $e.setUTCHours(0, 0, 0, 0);
26693
26695
  var me = Sd($e, i);
26694
- return Q.getTime() >= we.getTime() ? K + 1 : Q.getTime() >= me.getTime() ? K : K - 1;
26696
+ return Q.getTime() >= we.getTime() ? q + 1 : Q.getTime() >= me.getTime() ? q : q - 1;
26695
26697
  }
26696
26698
  function zv(e) {
26697
26699
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? zv = function(o) {
@@ -27532,8 +27534,8 @@ var cne = /* @__PURE__ */ function(e) {
27532
27534
  function une(e, i) {
27533
27535
  var o, u, d, _, w, a, E, j;
27534
27536
  Wo(1, arguments);
27535
- var Q = $1(), K = ea((o = (u = (d = (_ = i == null ? void 0 : i.firstWeekContainsDate) !== null && _ !== void 0 ? _ : i == null || (w = i.locale) === null || w === void 0 || (a = w.options) === null || a === void 0 ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : Q.firstWeekContainsDate) !== null && u !== void 0 ? u : (E = Q.locale) === null || E === void 0 || (j = E.options) === null || j === void 0 ? void 0 : j.firstWeekContainsDate) !== null && o !== void 0 ? o : 1), W = Gk(e, i), le = /* @__PURE__ */ new Date(0);
27536
- le.setUTCFullYear(W, 0, K), le.setUTCHours(0, 0, 0, 0);
27537
+ var Q = $1(), q = ea((o = (u = (d = (_ = i == null ? void 0 : i.firstWeekContainsDate) !== null && _ !== void 0 ? _ : i == null || (w = i.locale) === null || w === void 0 || (a = w.options) === null || a === void 0 ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : Q.firstWeekContainsDate) !== null && u !== void 0 ? u : (E = Q.locale) === null || E === void 0 || (j = E.options) === null || j === void 0 ? void 0 : j.firstWeekContainsDate) !== null && o !== void 0 ? o : 1), W = Gk(e, i), le = /* @__PURE__ */ new Date(0);
27538
+ le.setUTCFullYear(W, 0, q), le.setUTCHours(0, 0, 0, 0);
27537
27539
  var fe = Sd(le, i);
27538
27540
  return fe;
27539
27541
  }
@@ -28005,7 +28007,7 @@ var Zne = /* @__PURE__ */ function(e) {
28005
28007
  function pD(e, i, o) {
28006
28008
  var u, d, _, w, a, E, j, Q;
28007
28009
  Wo(2, arguments);
28008
- var K = $1(), W = ea((u = (d = (_ = (w = o == null ? void 0 : o.weekStartsOn) !== null && w !== void 0 ? w : o == null || (a = o.locale) === null || a === void 0 || (E = a.options) === null || E === void 0 ? void 0 : E.weekStartsOn) !== null && _ !== void 0 ? _ : K.weekStartsOn) !== null && d !== void 0 ? d : (j = K.locale) === null || j === void 0 || (Q = j.options) === null || Q === void 0 ? void 0 : Q.weekStartsOn) !== null && u !== void 0 ? u : 0);
28010
+ var q = $1(), W = ea((u = (d = (_ = (w = o == null ? void 0 : o.weekStartsOn) !== null && w !== void 0 ? w : o == null || (a = o.locale) === null || a === void 0 || (E = a.options) === null || E === void 0 ? void 0 : E.weekStartsOn) !== null && _ !== void 0 ? _ : q.weekStartsOn) !== null && d !== void 0 ? d : (j = q.locale) === null || j === void 0 || (Q = j.options) === null || Q === void 0 ? void 0 : Q.weekStartsOn) !== null && u !== void 0 ? u : 0);
28009
28011
  if (!(W >= 0 && W <= 6))
28010
28012
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
28011
28013
  var le = os(e), fe = ea(i), we = le.getUTCDay(), $e = fe % 7, me = ($e + 7) % 7, ie = (me < W ? 7 : 0) + fe - we;
@@ -28234,8 +28236,8 @@ var lre = /* @__PURE__ */ function(e) {
28234
28236
  key: "parse",
28235
28237
  value: function(d, _, w, a) {
28236
28238
  var E = function(Q) {
28237
- var K = Math.floor((Q - 1) / 7) * 7;
28238
- return (Q + a.weekStartsOn + 6) % 7 + K;
28239
+ var q = Math.floor((Q - 1) / 7) * 7;
28240
+ return (Q + a.weekStartsOn + 6) % 7 + q;
28239
28241
  };
28240
28242
  switch (_) {
28241
28243
  case "e":
@@ -28382,8 +28384,8 @@ var gre = /* @__PURE__ */ function(e) {
28382
28384
  key: "parse",
28383
28385
  value: function(d, _, w, a) {
28384
28386
  var E = function(Q) {
28385
- var K = Math.floor((Q - 1) / 7) * 7;
28386
- return (Q + a.weekStartsOn + 6) % 7 + K;
28387
+ var q = Math.floor((Q - 1) / 7) * 7;
28388
+ return (Q + a.weekStartsOn + 6) % 7 + q;
28387
28389
  };
28388
28390
  switch (_) {
28389
28391
  case "c":
@@ -30181,12 +30183,12 @@ function $L(e, i) {
30181
30183
  }
30182
30184
  var mse = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, yse = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, _se = /^'([^]*?)'?$/, vse = /''/g, xse = /\S/, wse = /[a-zA-Z]/;
30183
30185
  function bse(e, i, o, u) {
30184
- var d, _, w, a, E, j, Q, K, W, le, fe, we, $e, me, ie, te, oe, be;
30186
+ var d, _, w, a, E, j, Q, q, W, le, fe, we, $e, me, ie, te, oe, be;
30185
30187
  Wo(3, arguments);
30186
30188
  var _e = String(e), Je = String(i), nt = $1(), Ye = (d = (_ = u == null ? void 0 : u.locale) !== null && _ !== void 0 ? _ : nt.locale) !== null && d !== void 0 ? d : kte;
30187
30189
  if (!Ye.match)
30188
30190
  throw new RangeError("locale must contain match property");
30189
- var xt = ea((w = (a = (E = (j = u == null ? void 0 : u.firstWeekContainsDate) !== null && j !== void 0 ? j : u == null || (Q = u.locale) === null || Q === void 0 || (K = Q.options) === null || K === void 0 ? void 0 : K.firstWeekContainsDate) !== null && E !== void 0 ? E : nt.firstWeekContainsDate) !== null && a !== void 0 ? a : (W = nt.locale) === null || W === void 0 || (le = W.options) === null || le === void 0 ? void 0 : le.firstWeekContainsDate) !== null && w !== void 0 ? w : 1);
30191
+ var xt = ea((w = (a = (E = (j = u == null ? void 0 : u.firstWeekContainsDate) !== null && j !== void 0 ? j : u == null || (Q = u.locale) === null || Q === void 0 || (q = Q.options) === null || q === void 0 ? void 0 : q.firstWeekContainsDate) !== null && E !== void 0 ? E : nt.firstWeekContainsDate) !== null && a !== void 0 ? a : (W = nt.locale) === null || W === void 0 || (le = W.options) === null || le === void 0 ? void 0 : le.firstWeekContainsDate) !== null && w !== void 0 ? w : 1);
30190
30192
  if (!(xt >= 1 && xt <= 7))
30191
30193
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
30192
30194
  var dt = ea((fe = (we = ($e = (me = u == null ? void 0 : u.weekStartsOn) !== null && me !== void 0 ? me : u == null || (ie = u.locale) === null || ie === void 0 || (te = ie.options) === null || te === void 0 ? void 0 : te.weekStartsOn) !== null && $e !== void 0 ? $e : nt.weekStartsOn) !== null && we !== void 0 ? we : (oe = nt.locale) === null || oe === void 0 || (be = oe.options) === null || be === void 0 ? void 0 : be.weekStartsOn) !== null && fe !== void 0 ? fe : 0);
@@ -30529,15 +30531,15 @@ function Cse(e, i, o, u) {
30529
30531
  function a(Q) {
30530
30532
  try {
30531
30533
  j(u.next(Q));
30532
- } catch (K) {
30533
- w(K);
30534
+ } catch (q) {
30535
+ w(q);
30534
30536
  }
30535
30537
  }
30536
30538
  function E(Q) {
30537
30539
  try {
30538
30540
  j(u.throw(Q));
30539
- } catch (K) {
30540
- w(K);
30541
+ } catch (q) {
30542
+ w(q);
30541
30543
  }
30542
30544
  }
30543
30545
  function j(Q) {
@@ -30599,8 +30601,8 @@ let zse = class Tp {
30599
30601
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
30600
30602
  * ```
30601
30603
  */
30602
- constructor({ apiKey: i, authReferrerPolicy: o, channel: u, client: d, id: _ = YL, language: w, libraries: a = [], mapIds: E, nonce: j, region: Q, retries: K = 3, url: W = "https://maps.googleapis.com/maps/api/js", version: le }) {
30603
- if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = i, this.authReferrerPolicy = o, this.channel = u, this.client = d, this.id = _ || YL, this.language = w, this.libraries = a, this.mapIds = E, this.nonce = j, this.region = Q, this.retries = K, this.url = W, this.version = le, Tp.instance) {
30604
+ constructor({ apiKey: i, authReferrerPolicy: o, channel: u, client: d, id: _ = YL, language: w, libraries: a = [], mapIds: E, nonce: j, region: Q, retries: q = 3, url: W = "https://maps.googleapis.com/maps/api/js", version: le }) {
30605
+ if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = i, this.authReferrerPolicy = o, this.channel = u, this.client = d, this.id = _ || YL, this.language = w, this.libraries = a, this.mapIds = E, this.nonce = j, this.region = Q, this.retries = q, this.url = W, this.version = le, Tp.instance) {
30604
30606
  if (!Lse(this.options, Tp.instance.options))
30605
30607
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Tp.instance.options)}`);
30606
30608
  return Tp.instance;
@@ -30697,7 +30699,7 @@ let zse = class Tp {
30697
30699
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
30698
30700
  (_) => !u[_] && delete u[_]
30699
30701
  ), !((o = (i = window == null ? void 0 : window.google) === null || i === void 0 ? void 0 : i.maps) === null || o === void 0) && o.importLibrary || ((_) => {
30700
- let w, a, E, j = "The Google Maps JavaScript API", Q = "google", K = "importLibrary", W = "__ib__", le = document, fe = window;
30702
+ let w, a, E, j = "The Google Maps JavaScript API", Q = "google", q = "importLibrary", W = "__ib__", le = document, fe = window;
30701
30703
  fe = fe[Q] || (fe[Q] = {});
30702
30704
  const we = fe.maps || (fe.maps = {}), $e = /* @__PURE__ */ new Set(), me = new URLSearchParams(), ie = () => (
30703
30705
  // @ts-ignore
@@ -30709,7 +30711,7 @@ let zse = class Tp {
30709
30711
  me.set("callback", Q + ".maps." + W), a.src = this.url + "?" + me, we[W] = te, a.onerror = () => w = oe(Error(j + " could not load.")), a.nonce = this.nonce || ((be = le.querySelector("script[nonce]")) === null || be === void 0 ? void 0 : be.nonce) || "", le.head.append(a);
30710
30712
  })))
30711
30713
  );
30712
- we[K] ? console.warn(j + " only loads once. Ignoring:", _) : we[K] = (te, ...oe) => $e.add(te) && ie().then(() => we[K](te, ...oe));
30714
+ we[q] ? console.warn(j + " only loads once. Ignoring:", _) : we[q] = (te, ...oe) => $e.add(te) && ie().then(() => we[q](te, ...oe));
30713
30715
  })(u);
30714
30716
  const d = this.libraries.map((_) => this.importLibrary(_));
30715
30717
  d.length || d.push(this.importLibrary("core")), Promise.all(d).then(() => this.callback(), (_) => {
@@ -31310,8 +31312,8 @@ var R3 = H1(function(e, i) {
31310
31312
  ii[Ct[hi].toUpperCase()] = Ct[hi];
31311
31313
  return ii;
31312
31314
  }
31313
- var _ = 500, w = "user-agent", a = "", E = "?", j = "function", Q = "undefined", K = "object", W = "string", le = "browser", fe = "cpu", we = "device", $e = "engine", me = "os", ie = "result", te = "name", oe = "type", be = "vendor", _e = "version", Je = "architecture", nt = "major", Ye = "model", xt = "console", dt = "mobile", Pt = "tablet", Tt = "smarttv", ci = "wearable", Ot = "xr", wt = "embedded", $t = "inapp", St = "brands", Ht = "formFactors", Z = "fullVersionList", ne = "platform", T = "platformVersion", k = "bitness", F = "sec-ch-ua", U = F + "-full-version-list", G = F + "-arch", re = F + "-" + k, de = F + "-form-factors", ue = F + "-" + dt, Me = F + "-" + Ye, Fe = F + "-" + ne, et = Fe + "-version", Ue = [St, Z, dt, Ye, ne, T, Je, Ht, k], Ke = "Amazon", Ve = "Apple", mt = "ASUS", yt = "BlackBerry", Mt = "Google", Et = "Huawei", di = "Microsoft", qt = "Motorola", ui = "Nvidia", Wt = "OnePlus", wi = "OPPO", Ei = "Samsung", jt = "Sony", kt = "Xiaomi", Pi = "Zebra", Ai = "Chromium", $i = "Chromecast", xn = "Firefox", fn = "Opera", tn = "Facebook", On = "Mobile ", vt = " Browser", ft = "Windows", si = typeof o !== Q, Zt = si && o.navigator ? o.navigator : u, ti = Zt && Zt.userAgentData ? Zt.userAgentData : u, yi = function(Ct, ii) {
31314
- if (typeof Ct === K && 0 < Ct.length) {
31315
+ var _ = 500, w = "user-agent", a = "", E = "?", j = "function", Q = "undefined", q = "object", W = "string", le = "browser", fe = "cpu", we = "device", $e = "engine", me = "os", ie = "result", te = "name", oe = "type", be = "vendor", _e = "version", Je = "architecture", nt = "major", Ye = "model", xt = "console", dt = "mobile", Pt = "tablet", Tt = "smarttv", ci = "wearable", Ot = "xr", wt = "embedded", $t = "inapp", St = "brands", Ht = "formFactors", Z = "fullVersionList", ne = "platform", T = "platformVersion", k = "bitness", F = "sec-ch-ua", U = F + "-full-version-list", G = F + "-arch", re = F + "-" + k, de = F + "-form-factors", ue = F + "-" + dt, Me = F + "-" + Ye, Fe = F + "-" + ne, et = Fe + "-version", Ue = [St, Z, dt, Ye, ne, T, Je, Ht, k], Ke = "Amazon", Ve = "Apple", mt = "ASUS", yt = "BlackBerry", Mt = "Google", Et = "Huawei", di = "Microsoft", qt = "Motorola", ui = "Nvidia", Wt = "OnePlus", wi = "OPPO", Ei = "Samsung", jt = "Sony", kt = "Xiaomi", Pi = "Zebra", Ai = "Chromium", $i = "Chromecast", xn = "Firefox", fn = "Opera", tn = "Facebook", On = "Mobile ", vt = " Browser", ft = "Windows", si = typeof o !== Q, Zt = si && o.navigator ? o.navigator : u, ti = Zt && Zt.userAgentData ? Zt.userAgentData : u, yi = function(Ct, ii) {
31316
+ if (typeof Ct === q && 0 < Ct.length) {
31315
31317
  for (var hi in Ct)
31316
31318
  if (Ji(Ct[hi]) == Ji(ii))
31317
31319
  return !0;
@@ -31335,7 +31337,7 @@ var R3 = H1(function(e, i) {
31335
31337
  return Qi(Ct) ? Vn(/[^\d\.]/g, Ct).split(".")[0] : u;
31336
31338
  }, Dt = function(Ct) {
31337
31339
  for (var ii in Ct)
31338
- ii = Ct[ii], typeof ii == K && ii.length == 2 ? this[ii[0]] = ii[1] : this[ii] = u;
31340
+ ii = Ct[ii], typeof ii == q && ii.length == 2 ? this[ii[0]] = ii[1] : this[ii] = u;
31339
31341
  return this;
31340
31342
  }, Vn = function(Ct, ii) {
31341
31343
  return Qi(ii) ? ii.replace(Ct, a) : ii;
@@ -31350,19 +31352,19 @@ var R3 = H1(function(e, i) {
31350
31352
  for (var ji = ii[vi], Zi = ii[vi + 1], un = hi = 0; un < ji.length && !ki && ji[un]; )
31351
31353
  if (ki = ji[un++].exec(Ct))
31352
31354
  for (Wi = 0; Wi < Zi.length; Wi++)
31353
- Gi = ki[++hi], typeof (fi = Zi[Wi]) === K && 0 < fi.length ? fi.length === 2 ? typeof fi[1] == j ? this[fi[0]] = fi[1].call(this, Gi) : this[fi[0]] = fi[1] : fi.length === 3 ? typeof fi[1] !== j || fi[1].exec && fi[1].test ? this[fi[0]] = Gi ? Gi.replace(fi[1], fi[2]) : u : this[fi[0]] = Gi ? fi[1].call(this, Gi, fi[2]) : u : fi.length === 4 && (this[fi[0]] = Gi ? fi[3].call(this, Gi.replace(fi[1], fi[2])) : u) : this[fi] = Gi || u;
31355
+ Gi = ki[++hi], typeof (fi = Zi[Wi]) === q && 0 < fi.length ? fi.length === 2 ? typeof fi[1] == j ? this[fi[0]] = fi[1].call(this, Gi) : this[fi[0]] = fi[1] : fi.length === 3 ? typeof fi[1] !== j || fi[1].exec && fi[1].test ? this[fi[0]] = Gi ? Gi.replace(fi[1], fi[2]) : u : this[fi[0]] = Gi ? fi[1].call(this, Gi, fi[2]) : u : fi.length === 4 && (this[fi[0]] = Gi ? fi[3].call(this, Gi.replace(fi[1], fi[2])) : u) : this[fi] = Gi || u;
31354
31356
  vi += 2;
31355
31357
  }
31356
- }, q = function(Ct, ii) {
31358
+ }, K = function(Ct, ii) {
31357
31359
  for (var hi in ii)
31358
- if (typeof ii[hi] === K && 0 < ii[hi].length) {
31360
+ if (typeof ii[hi] === q && 0 < ii[hi].length) {
31359
31361
  for (var Wi = 0; Wi < ii[hi].length; Wi++)
31360
31362
  if (yi(ii[hi][Wi], Ct))
31361
31363
  return hi === E ? u : hi;
31362
31364
  } else if (yi(ii[hi], Ct))
31363
31365
  return hi === E ? u : hi;
31364
31366
  return ii.hasOwnProperty("*") ? ii["*"] : Ct;
31365
- }, ae = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, he = { embedded: "Automotive", mobile: "Mobile", tablet: ["Tablet", "EInk"], smarttv: "TV", wearable: "Watch", xr: ["VR", "XR"], "?": ["Desktop", "Unknown"], "*": u }, Re = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [_e, [te, On + "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [_e, [te, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [te, _e], [/opios[\/ ]+([\w\.]+)/i], [_e, [te, fn + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [_e, [te, fn + " GX"]], [/\bopr\/([\w\.]+)/i], [_e, [te, fn]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [_e, [te, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [_e, [te, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i, /(heytap|ovi|115|surf)browser\/([\d\.]+)/i, /(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i], [te, _e], [/quark(?:pc)?\/([-\w\.]+)/i], [_e, [te, "Quark"]], [/\bddg\/([\w\.]+)/i], [_e, [te, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [_e, [te, "UCBrowser"]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [_e, [te, "WeChat"]], [/konqueror\/([\w\.]+)/i], [_e, [te, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [_e, [te, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [_e, [te, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [_e, [te, "Smart Lenovo" + vt]], [/(avast|avg)\/([\w\.]+)/i], [[te, /(.+)/, "$1 Secure" + vt], _e], [/\bfocus\/([\w\.]+)/i], [_e, [te, xn + " Focus"]], [/\bopt\/([\w\.]+)/i], [_e, [te, fn + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [_e, [te, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [_e, [te, "Dolphin"]], [/coast\/([\w\.]+)/i], [_e, [te, fn + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [_e, [te, "MIUI" + vt]], [/fxios\/([\w\.-]+)/i], [_e, [te, On + xn]], [/\bqihoobrowser\/?([\w\.]*)/i], [_e, [te, "360"]], [/\b(qq)\/([\w\.]+)/i], [[te, /(.+)/, "$1Browser"], _e], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[te, /(.+)/, "$1" + vt], _e], [/samsungbrowser\/([\w\.]+)/i], [_e, [te, Ei + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [_e, [te, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[te, "Sogou Mobile"], _e], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [te, _e], [/(lbbrowser|rekonq)/i], [te], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [_e, te], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[te, tn], _e, [oe, $t]], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(instagram|snapchat)[\/ ]([-\w\.]+)/i], [te, _e, [oe, $t]], [/\bgsa\/([\w\.]+) .*safari\//i], [_e, [te, "GSA"], [oe, $t]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [_e, [te, "TikTok"], [oe, $t]], [/\[(linkedin)app\]/i], [te, [oe, $t]], [/(chromium)[\/ ]([-\w\.]+)/i], [te, _e], [/headlesschrome(?:\/([\w\.]+)| )/i], [_e, [te, "Chrome Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[te, "Chrome WebView"], _e], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [_e, [te, "Android" + vt]], [/chrome\/([\w\.]+) mobile/i], [_e, [te, On + "Chrome"]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [te, _e], [/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i], [_e, [te, On + "Safari"]], [/iphone .*mobile(?:\/\w+ | ?)safari/i], [[te, On + "Safari"]], [/version\/([\w\.\,]+) .*(safari)/i], [_e, te], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [te, [_e, "1"]], [/(webkit|khtml)\/([\w\.]+)/i], [te, _e], [/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i], [[te, On + xn], _e], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[te, "Netscape"], _e], [/(wolvic|librewolf)\/([\w\.]+)/i], [te, _e], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [_e, [te, xn + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [te, [_e, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [te, [_e, /[^\d\.]+./, a]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[Je, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[Je, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[Je, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[Je, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[Je, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[Je, /ower/, a, Ji]], [/ sun4\w[;\)]/i], [[Je, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[Je, Ji]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [Ye, [be, Ei], [oe, Pt]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [Ye, [be, Ei], [oe, dt]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [Ye, [be, Ve], [oe, dt]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [Ye, [be, Ve], [oe, Pt]], [/(macintosh);/i], [Ye, [be, Ve]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [Ye, [be, "Sharp"], [oe, dt]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [Ye, [be, "Honor"], [oe, Pt]], [/honor([-\w ]+)[;\)]/i], [Ye, [be, "Honor"], [oe, dt]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [Ye, [be, Et], [oe, Pt]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [Ye, [be, Et], [oe, dt]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[Ye, /_/g, " "], [be, kt], [oe, Pt]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[Ye, /_/g, " "], [be, kt], [oe, dt]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [Ye, [be, wi], [oe, dt]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [Ye, [be, q, { OnePlus: ["304", "403", "203"], "*": wi }], [oe, Pt]], [/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i], [Ye, [be, "BLU"], [oe, dt]], [/; vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [Ye, [be, "Vivo"], [oe, dt]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [Ye, [be, "Realme"], [oe, dt]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [Ye, [be, qt], [oe, dt]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [Ye, [be, qt], [oe, Pt]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [Ye, [be, "LG"], [oe, Pt]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i, /\blg-?([\d\w]+) bui/i], [Ye, [be, "LG"], [oe, dt]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [Ye, [be, "Lenovo"], [oe, Pt]], [/(nokia) (t[12][01])/i], [be, Ye, [oe, Pt]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[Ye, /_/g, " "], [oe, dt], [be, "Nokia"]], [/(pixel (c|tablet))\b/i], [Ye, [be, Mt], [oe, Pt]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [Ye, [be, Mt], [oe, dt]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [Ye, [be, jt], [oe, dt]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[Ye, "Xperia Tablet"], [be, jt], [oe, Pt]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [Ye, [be, Wt], [oe, dt]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [Ye, [be, Ke], [oe, Pt]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[Ye, /(.+)/g, "Fire Phone $1"], [be, Ke], [oe, dt]], [/(playbook);[-\w\),; ]+(rim)/i], [Ye, be, [oe, Pt]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [Ye, [be, yt], [oe, dt]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [Ye, [be, mt], [oe, Pt]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [Ye, [be, mt], [oe, dt]], [/(nexus 9)/i], [Ye, [be, "HTC"], [oe, Pt]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [be, [Ye, /_/g, " "], [oe, dt]], [/tcl (xess p17aa)/i, /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i], [Ye, [be, "TCL"], [oe, Pt]], [/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i], [Ye, [be, "TCL"], [oe, dt]], [/(itel) ((\w+))/i], [[be, Ji], Ye, [oe, q, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [Ye, [be, "Acer"], [oe, Pt]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [Ye, [be, "Meizu"], [oe, dt]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [Ye, [be, "Ulefone"], [oe, dt]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [Ye, [be, "Energizer"], [oe, dt]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [Ye, [be, "Cat"], [oe, dt]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [Ye, [be, "Smartfren"], [oe, dt]], [/droid.+; (a(?:015|06[35]|142p?))/i], [Ye, [be, "Nothing"], [oe, dt]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [Ye, [be, "Archos"], [oe, Pt]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [Ye, [be, "Archos"], [oe, dt]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [be, Ye, [oe, Pt]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [be, Ye, [oe, dt]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i], [be, Ye, [oe, Pt]], [/(surface duo)/i], [Ye, [be, di], [oe, Pt]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [Ye, [be, "Fairphone"], [oe, dt]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [Ye, [be, ui], [oe, Pt]], [/(sprint) (\w+)/i], [be, Ye, [oe, dt]], [/(kin\.[onetw]{3})/i], [[Ye, /\./g, " "], [be, di], [oe, dt]], [/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [Ye, [be, Pi], [oe, Pt]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [Ye, [be, Pi], [oe, dt]], [/smart-tv.+(samsung)/i], [be, [oe, Tt]], [/hbbtv.+maple;(\d+)/i], [[Ye, /^/, "SmartTV"], [be, Ei], [oe, Tt]], [/tcast.+(lg)e?. ([-\w]+)/i], [be, Ye, [oe, Tt]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[be, "LG"], [oe, Tt]], [/(apple) ?tv/i], [be, [Ye, Ve + " TV"], [oe, Tt]], [/crkey.*devicetype\/chromecast/i], [[Ye, $i + " Third Generation"], [be, Mt], [oe, Tt]], [/crkey.*devicetype\/([^/]*)/i], [[Ye, /^/, "Chromecast "], [be, Mt], [oe, Tt]], [/fuchsia.*crkey/i], [[Ye, $i + " Nest Hub"], [be, Mt], [oe, Tt]], [/crkey/i], [[Ye, $i], [be, Mt], [oe, Tt]], [/(portaltv)/i], [Ye, [be, tn], [oe, Tt]], [/droid.+aft(\w+)( bui|\))/i], [Ye, [be, Ke], [oe, Tt]], [/(shield \w+ tv)/i], [Ye, [be, ui], [oe, Tt]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [Ye, [be, "Sharp"], [oe, Tt]], [/(bravia[\w ]+)( bui|\))/i], [Ye, [be, jt], [oe, Tt]], [/(mi(tv|box)-?\w+) bui/i], [Ye, [be, kt], [oe, Tt]], [/Hbbtv.*(technisat) (.*);/i], [be, Ye, [oe, Tt]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[be, xr], [Ye, xr], [oe, Tt]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [Ye, [oe, Tt]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[oe, Tt]], [/(ouya)/i, /(nintendo) (\w+)/i], [be, Ye, [oe, xt]], [/droid.+; (shield)( bui|\))/i], [Ye, [be, ui], [oe, xt]], [/(playstation \w+)/i], [Ye, [be, jt], [oe, xt]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [Ye, [be, di], [oe, xt]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [Ye, [be, Ei], [oe, ci]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [be, Ye, [oe, ci]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [Ye, [be, wi], [oe, ci]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [Ye, [be, Ve], [oe, ci]], [/(opwwe\d{3})/i], [Ye, [be, Wt], [oe, ci]], [/(moto 360)/i], [Ye, [be, qt], [oe, ci]], [/(smartwatch 3)/i], [Ye, [be, jt], [oe, ci]], [/(g watch r)/i], [Ye, [be, "LG"], [oe, ci]], [/droid.+; (wt63?0{2,3})\)/i], [Ye, [be, Pi], [oe, ci]], [/droid.+; (glass) \d/i], [Ye, [be, Mt], [oe, Ot]], [/(pico) (4|neo3(?: link|pro)?)/i], [be, Ye, [oe, Ot]], [/(quest( \d| pro)?s?).+vr/i], [Ye, [be, tn], [oe, Ot]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [be, [oe, wt]], [/(aeobc)\b/i], [Ye, [be, Ke], [oe, wt]], [/(homepod).+mac os/i], [Ye, [be, Ve], [oe, wt]], [/windows iot/i], [[oe, wt]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i], [Ye, [oe, q, { mobile: "Mobile", xr: "VR", "*": Pt }]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[oe, Pt]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[oe, dt]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [Ye, [be, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [_e, [te, "EdgeHTML"]], [/(arkweb)\/([\w\.]+)/i], [te, _e], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [_e, [te, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [te, _e], [/ladybird\//i], [[te, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [_e, te]], os: [[/microsoft (windows) (vista|xp)/i], [te, _e], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [te, [_e, q, ae]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[_e, q, ae], [te, ft]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[_e, /_/g, "."], [te, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[te, "macOS"], [_e, /_/g, "."]], [/android ([\d\.]+).*crkey/i], [_e, [te, $i + " Android"]], [/fuchsia.*crkey\/([\d\.]+)/i], [_e, [te, $i + " Fuchsia"]], [/crkey\/([\d\.]+).*devicetype\/smartspeaker/i], [_e, [te, $i + " SmartSpeaker"]], [/linux.*crkey\/([\d\.]+)/i], [_e, [te, $i + " Linux"]], [/crkey\/([\d\.]+)/i], [_e, [te, $i]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [_e, te], [/(ubuntu) ([\w\.]+) like android/i], [[te, /(.+)/, "$1 Touch"], _e], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i], [te, _e], [/\(bb(10);/i], [_e, [te, yt]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [_e, [te, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [_e, [te, xn + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [_e, [te, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [_e, [te, "watchOS"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[te, "Chrome OS"], _e], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) (\w+)/i, /(xbox); +xbox ([^\);]+)/i, /(pico) .+os([\w\.]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [te, _e], [/(sunos) ?([\w\.\d]*)/i], [[te, "Solaris"], _e], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [te, _e]] }, ke = (fn = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} }, Dt.call(fn.init, [[le, [te, _e, nt, oe]], [fe, [Je]], [we, [oe, Ye, be]], [$e, [te, _e]], [me, [te, _e]]]), Dt.call(fn.isIgnore, [[le, [_e, nt]], [$e, [_e]], [me, [_e]]]), Dt.call(fn.isIgnoreRgx, [[le, / ?browser$/i], [me, / ?os$/i]]), Dt.call(fn.toString, [[le, [te, _e]], [fe, [Je]], [we, [be, Ye]], [$e, [te, _e]], [me, [te, _e]]]), fn), Le = function(Ct, ii) {
31367
+ }, ae = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, he = { embedded: "Automotive", mobile: "Mobile", tablet: ["Tablet", "EInk"], smarttv: "TV", wearable: "Watch", xr: ["VR", "XR"], "?": ["Desktop", "Unknown"], "*": u }, Re = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [_e, [te, On + "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [_e, [te, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [te, _e], [/opios[\/ ]+([\w\.]+)/i], [_e, [te, fn + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [_e, [te, fn + " GX"]], [/\bopr\/([\w\.]+)/i], [_e, [te, fn]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [_e, [te, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [_e, [te, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i, /(heytap|ovi|115|surf)browser\/([\d\.]+)/i, /(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i], [te, _e], [/quark(?:pc)?\/([-\w\.]+)/i], [_e, [te, "Quark"]], [/\bddg\/([\w\.]+)/i], [_e, [te, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [_e, [te, "UCBrowser"]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [_e, [te, "WeChat"]], [/konqueror\/([\w\.]+)/i], [_e, [te, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [_e, [te, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [_e, [te, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [_e, [te, "Smart Lenovo" + vt]], [/(avast|avg)\/([\w\.]+)/i], [[te, /(.+)/, "$1 Secure" + vt], _e], [/\bfocus\/([\w\.]+)/i], [_e, [te, xn + " Focus"]], [/\bopt\/([\w\.]+)/i], [_e, [te, fn + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [_e, [te, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [_e, [te, "Dolphin"]], [/coast\/([\w\.]+)/i], [_e, [te, fn + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [_e, [te, "MIUI" + vt]], [/fxios\/([\w\.-]+)/i], [_e, [te, On + xn]], [/\bqihoobrowser\/?([\w\.]*)/i], [_e, [te, "360"]], [/\b(qq)\/([\w\.]+)/i], [[te, /(.+)/, "$1Browser"], _e], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[te, /(.+)/, "$1" + vt], _e], [/samsungbrowser\/([\w\.]+)/i], [_e, [te, Ei + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [_e, [te, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[te, "Sogou Mobile"], _e], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [te, _e], [/(lbbrowser|rekonq)/i], [te], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [_e, te], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[te, tn], _e, [oe, $t]], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(instagram|snapchat)[\/ ]([-\w\.]+)/i], [te, _e, [oe, $t]], [/\bgsa\/([\w\.]+) .*safari\//i], [_e, [te, "GSA"], [oe, $t]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [_e, [te, "TikTok"], [oe, $t]], [/\[(linkedin)app\]/i], [te, [oe, $t]], [/(chromium)[\/ ]([-\w\.]+)/i], [te, _e], [/headlesschrome(?:\/([\w\.]+)| )/i], [_e, [te, "Chrome Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[te, "Chrome WebView"], _e], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [_e, [te, "Android" + vt]], [/chrome\/([\w\.]+) mobile/i], [_e, [te, On + "Chrome"]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [te, _e], [/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i], [_e, [te, On + "Safari"]], [/iphone .*mobile(?:\/\w+ | ?)safari/i], [[te, On + "Safari"]], [/version\/([\w\.\,]+) .*(safari)/i], [_e, te], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [te, [_e, "1"]], [/(webkit|khtml)\/([\w\.]+)/i], [te, _e], [/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i], [[te, On + xn], _e], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[te, "Netscape"], _e], [/(wolvic|librewolf)\/([\w\.]+)/i], [te, _e], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [_e, [te, xn + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [te, [_e, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [te, [_e, /[^\d\.]+./, a]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[Je, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[Je, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[Je, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[Je, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[Je, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[Je, /ower/, a, Ji]], [/ sun4\w[;\)]/i], [[Je, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[Je, Ji]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [Ye, [be, Ei], [oe, Pt]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [Ye, [be, Ei], [oe, dt]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [Ye, [be, Ve], [oe, dt]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [Ye, [be, Ve], [oe, Pt]], [/(macintosh);/i], [Ye, [be, Ve]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [Ye, [be, "Sharp"], [oe, dt]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [Ye, [be, "Honor"], [oe, Pt]], [/honor([-\w ]+)[;\)]/i], [Ye, [be, "Honor"], [oe, dt]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [Ye, [be, Et], [oe, Pt]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [Ye, [be, Et], [oe, dt]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[Ye, /_/g, " "], [be, kt], [oe, Pt]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[Ye, /_/g, " "], [be, kt], [oe, dt]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [Ye, [be, wi], [oe, dt]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [Ye, [be, K, { OnePlus: ["304", "403", "203"], "*": wi }], [oe, Pt]], [/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i], [Ye, [be, "BLU"], [oe, dt]], [/; vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [Ye, [be, "Vivo"], [oe, dt]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [Ye, [be, "Realme"], [oe, dt]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [Ye, [be, qt], [oe, dt]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [Ye, [be, qt], [oe, Pt]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [Ye, [be, "LG"], [oe, Pt]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i, /\blg-?([\d\w]+) bui/i], [Ye, [be, "LG"], [oe, dt]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [Ye, [be, "Lenovo"], [oe, Pt]], [/(nokia) (t[12][01])/i], [be, Ye, [oe, Pt]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[Ye, /_/g, " "], [oe, dt], [be, "Nokia"]], [/(pixel (c|tablet))\b/i], [Ye, [be, Mt], [oe, Pt]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [Ye, [be, Mt], [oe, dt]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [Ye, [be, jt], [oe, dt]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[Ye, "Xperia Tablet"], [be, jt], [oe, Pt]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [Ye, [be, Wt], [oe, dt]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [Ye, [be, Ke], [oe, Pt]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[Ye, /(.+)/g, "Fire Phone $1"], [be, Ke], [oe, dt]], [/(playbook);[-\w\),; ]+(rim)/i], [Ye, be, [oe, Pt]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [Ye, [be, yt], [oe, dt]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [Ye, [be, mt], [oe, Pt]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [Ye, [be, mt], [oe, dt]], [/(nexus 9)/i], [Ye, [be, "HTC"], [oe, Pt]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [be, [Ye, /_/g, " "], [oe, dt]], [/tcl (xess p17aa)/i, /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i], [Ye, [be, "TCL"], [oe, Pt]], [/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i], [Ye, [be, "TCL"], [oe, dt]], [/(itel) ((\w+))/i], [[be, Ji], Ye, [oe, K, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [Ye, [be, "Acer"], [oe, Pt]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [Ye, [be, "Meizu"], [oe, dt]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [Ye, [be, "Ulefone"], [oe, dt]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [Ye, [be, "Energizer"], [oe, dt]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [Ye, [be, "Cat"], [oe, dt]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [Ye, [be, "Smartfren"], [oe, dt]], [/droid.+; (a(?:015|06[35]|142p?))/i], [Ye, [be, "Nothing"], [oe, dt]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [Ye, [be, "Archos"], [oe, Pt]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [Ye, [be, "Archos"], [oe, dt]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [be, Ye, [oe, Pt]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [be, Ye, [oe, dt]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i], [be, Ye, [oe, Pt]], [/(surface duo)/i], [Ye, [be, di], [oe, Pt]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [Ye, [be, "Fairphone"], [oe, dt]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [Ye, [be, ui], [oe, Pt]], [/(sprint) (\w+)/i], [be, Ye, [oe, dt]], [/(kin\.[onetw]{3})/i], [[Ye, /\./g, " "], [be, di], [oe, dt]], [/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [Ye, [be, Pi], [oe, Pt]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [Ye, [be, Pi], [oe, dt]], [/smart-tv.+(samsung)/i], [be, [oe, Tt]], [/hbbtv.+maple;(\d+)/i], [[Ye, /^/, "SmartTV"], [be, Ei], [oe, Tt]], [/tcast.+(lg)e?. ([-\w]+)/i], [be, Ye, [oe, Tt]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[be, "LG"], [oe, Tt]], [/(apple) ?tv/i], [be, [Ye, Ve + " TV"], [oe, Tt]], [/crkey.*devicetype\/chromecast/i], [[Ye, $i + " Third Generation"], [be, Mt], [oe, Tt]], [/crkey.*devicetype\/([^/]*)/i], [[Ye, /^/, "Chromecast "], [be, Mt], [oe, Tt]], [/fuchsia.*crkey/i], [[Ye, $i + " Nest Hub"], [be, Mt], [oe, Tt]], [/crkey/i], [[Ye, $i], [be, Mt], [oe, Tt]], [/(portaltv)/i], [Ye, [be, tn], [oe, Tt]], [/droid.+aft(\w+)( bui|\))/i], [Ye, [be, Ke], [oe, Tt]], [/(shield \w+ tv)/i], [Ye, [be, ui], [oe, Tt]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [Ye, [be, "Sharp"], [oe, Tt]], [/(bravia[\w ]+)( bui|\))/i], [Ye, [be, jt], [oe, Tt]], [/(mi(tv|box)-?\w+) bui/i], [Ye, [be, kt], [oe, Tt]], [/Hbbtv.*(technisat) (.*);/i], [be, Ye, [oe, Tt]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[be, xr], [Ye, xr], [oe, Tt]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [Ye, [oe, Tt]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[oe, Tt]], [/(ouya)/i, /(nintendo) (\w+)/i], [be, Ye, [oe, xt]], [/droid.+; (shield)( bui|\))/i], [Ye, [be, ui], [oe, xt]], [/(playstation \w+)/i], [Ye, [be, jt], [oe, xt]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [Ye, [be, di], [oe, xt]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [Ye, [be, Ei], [oe, ci]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [be, Ye, [oe, ci]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [Ye, [be, wi], [oe, ci]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [Ye, [be, Ve], [oe, ci]], [/(opwwe\d{3})/i], [Ye, [be, Wt], [oe, ci]], [/(moto 360)/i], [Ye, [be, qt], [oe, ci]], [/(smartwatch 3)/i], [Ye, [be, jt], [oe, ci]], [/(g watch r)/i], [Ye, [be, "LG"], [oe, ci]], [/droid.+; (wt63?0{2,3})\)/i], [Ye, [be, Pi], [oe, ci]], [/droid.+; (glass) \d/i], [Ye, [be, Mt], [oe, Ot]], [/(pico) (4|neo3(?: link|pro)?)/i], [be, Ye, [oe, Ot]], [/(quest( \d| pro)?s?).+vr/i], [Ye, [be, tn], [oe, Ot]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [be, [oe, wt]], [/(aeobc)\b/i], [Ye, [be, Ke], [oe, wt]], [/(homepod).+mac os/i], [Ye, [be, Ve], [oe, wt]], [/windows iot/i], [[oe, wt]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i], [Ye, [oe, K, { mobile: "Mobile", xr: "VR", "*": Pt }]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[oe, Pt]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[oe, dt]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [Ye, [be, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [_e, [te, "EdgeHTML"]], [/(arkweb)\/([\w\.]+)/i], [te, _e], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [_e, [te, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [te, _e], [/ladybird\//i], [[te, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [_e, te]], os: [[/microsoft (windows) (vista|xp)/i], [te, _e], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [te, [_e, K, ae]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[_e, K, ae], [te, ft]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[_e, /_/g, "."], [te, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[te, "macOS"], [_e, /_/g, "."]], [/android ([\d\.]+).*crkey/i], [_e, [te, $i + " Android"]], [/fuchsia.*crkey\/([\d\.]+)/i], [_e, [te, $i + " Fuchsia"]], [/crkey\/([\d\.]+).*devicetype\/smartspeaker/i], [_e, [te, $i + " SmartSpeaker"]], [/linux.*crkey\/([\d\.]+)/i], [_e, [te, $i + " Linux"]], [/crkey\/([\d\.]+)/i], [_e, [te, $i]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [_e, te], [/(ubuntu) ([\w\.]+) like android/i], [[te, /(.+)/, "$1 Touch"], _e], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i], [te, _e], [/\(bb(10);/i], [_e, [te, yt]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [_e, [te, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [_e, [te, xn + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [_e, [te, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [_e, [te, "watchOS"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[te, "Chrome OS"], _e], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) (\w+)/i, /(xbox); +xbox ([^\);]+)/i, /(pico) .+os([\w\.]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [te, _e], [/(sunos) ?([\w\.\d]*)/i], [[te, "Solaris"], _e], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [te, _e]] }, ke = (fn = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} }, Dt.call(fn.init, [[le, [te, _e, nt, oe]], [fe, [Je]], [we, [oe, Ye, be]], [$e, [te, _e]], [me, [te, _e]]]), Dt.call(fn.isIgnore, [[le, [_e, nt]], [$e, [_e]], [me, [_e]]]), Dt.call(fn.isIgnoreRgx, [[le, / ?browser$/i], [me, / ?os$/i]]), Dt.call(fn.toString, [[le, [te, _e]], [fe, [Je]], [we, [be, Ye]], [$e, [te, _e]], [me, [te, _e]]]), fn), Le = function(Ct, ii) {
31366
31368
  var hi = ke.init[ii], Wi = ke.isIgnore[ii] || 0, fi = ke.isIgnoreRgx[ii] || 0, ki = ke.toString[ii] || 0;
31367
31369
  function Gi() {
31368
31370
  Dt.call(this, hi);
@@ -31444,7 +31446,7 @@ var R3 = H1(function(e, i) {
31444
31446
  if (ji)
31445
31447
  for (var Zi in ji) {
31446
31448
  var un = ji[Zi].brand || ji[Zi], Zi = ji[Zi].version;
31447
- this.itemType != le || /not.a.brand/i.test(un) || vi && (!/chrom/i.test(vi) || un == Ai) || (un = q(un, { Chrome: "Google Chrome", Edge: "Microsoft Edge", "Chrome WebView": "Android WebView", "Chrome Headless": "HeadlessChrome", "Huawei Browser": "HuaweiBrowser", "MIUI Browser": "Miui Browser", "Opera Mobi": "OperaMobile", Yandex: "YaBrowser" }), this.set(te, un).set(_e, Zi).set(nt, wn(Zi)), vi = un), this.itemType == $e && un == Ai && this.set(_e, Zi);
31449
+ this.itemType != le || /not.a.brand/i.test(un) || vi && (!/chrom/i.test(vi) || un == Ai) || (un = K(un, { Chrome: "Google Chrome", Edge: "Microsoft Edge", "Chrome WebView": "Android WebView", "Chrome Headless": "HeadlessChrome", "Huawei Browser": "HuaweiBrowser", "MIUI Browser": "Miui Browser", "Opera Mobi": "OperaMobile", Yandex: "YaBrowser" }), this.set(te, un).set(_e, Zi).set(nt, wn(Zi)), vi = un), this.itemType == $e && un == Ai && this.set(_e, Zi);
31448
31450
  }
31449
31451
  break;
31450
31452
  case fe:
@@ -31455,9 +31457,9 @@ var R3 = H1(function(e, i) {
31455
31457
  if (ki[dt] && this.set(oe, dt), ki[Ye] && (this.set(Ye, ki[Ye]), this.get(oe) && this.get(be) || (Ze.call(Rn = {}, "droid 9; " + ki[Ye] + ")", Gi), !this.get(oe) && Rn.type && this.set(oe, Rn.type), !this.get(be) && Rn.vendor && this.set(be, Rn.vendor))), ki[Ht]) {
31456
31458
  if (typeof ki[Ht] != "string")
31457
31459
  for (var gn = 0; !fi && gn < ki[Ht].length; )
31458
- fi = q(ki[Ht][gn++], he);
31460
+ fi = K(ki[Ht][gn++], he);
31459
31461
  else
31460
- fi = q(ki[Ht], he);
31462
+ fi = K(ki[Ht], he);
31461
31463
  this.set(oe, fi);
31462
31464
  }
31463
31465
  break;
@@ -31476,7 +31478,7 @@ var R3 = H1(function(e, i) {
31476
31478
  }
31477
31479
  function st(Ct, ii, hi) {
31478
31480
  var Wi, fi, ki, Gi, vi;
31479
- return typeof Ct === K ? (ii = Di(Ct, !0) ? (typeof ii === K && (hi = ii), Ct) : (hi = Ct, u), Ct = u) : typeof Ct !== W || Di(ii, !0) || (hi = ii, ii = u), hi && typeof hi.append === j && (Wi = {}, hi.forEach(function(ji, Zi) {
31481
+ return typeof Ct === q ? (ii = Di(Ct, !0) ? (typeof ii === q && (hi = ii), Ct) : (hi = Ct, u), Ct = u) : typeof Ct !== W || Di(ii, !0) || (hi = ii, ii = u), hi && typeof hi.append === j && (Wi = {}, hi.forEach(function(ji, Zi) {
31480
31482
  Wi[Zi] = ji;
31481
31483
  }), hi = Wi), this instanceof st ? (fi = typeof Ct === W ? Ct : hi && hi[w] ? hi[w] : Zt && Zt.userAgent ? Zt.userAgent : a, ki = new ot(hi, !0), Gi = ii ? ((ji, Zi) => {
31482
31484
  var un, gn = {}, zn = Zi;
@@ -32657,10 +32659,10 @@ const dae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
32657
32659
  * @returns {JSX.Element}
32658
32660
  */
32659
32661
  renderTransitStep() {
32660
- var e, i, o, u, d, _, w, a, E, j, Q, K, W, le, fe, we, $e, me, ie, te, oe, be, _e, Je, nt, Ye, xt, dt, Pt;
32662
+ var e, i, o, u, d, _, w, a, E, j, Q, q, W, le, fe, we, $e, me, ie, te, oe, be, _e, Je, nt, Ye, xt, dt, Pt;
32661
32663
  return Xe("div", { class: "step", onClick: (Tt) => this.stepClickHandler(Tt) }, Xe("div", { class: "step__info" }, Xe("h3", { part: "step-heading", class: "step__heading" }, this.stepData.travel_mode === "TRANSIT" ? `${this.translationsData.rideTheBus}` : (e = this.stepData) === null || e === void 0 ? void 0 : e.instructions), this.renderToggleButton()), this.renderTravelMode(), Xe("div", { part: "step-description", class: "step__description" }, !((u = (o = (i = this.stepData) === null || i === void 0 ? void 0 : i.transit_information) === null || o === void 0 ? void 0 : o.line) === null || u === void 0) && u.short_name ? Xe("span", { class: "step__short-name", style: {
32662
32664
  backgroundColor: !((w = (_ = (d = this.stepData) === null || d === void 0 ? void 0 : d.transit_information) === null || _ === void 0 ? void 0 : _.line) === null || w === void 0) && w.color ? (j = (E = (a = this.stepData) === null || a === void 0 ? void 0 : a.transit_information) === null || E === void 0 ? void 0 : E.line) === null || j === void 0 ? void 0 : j.color : null,
32663
- color: !((W = (K = (Q = this.stepData) === null || Q === void 0 ? void 0 : Q.transit_information) === null || K === void 0 ? void 0 : K.line) === null || W === void 0) && W.text_color ? (we = (fe = (le = this.stepData) === null || le === void 0 ? void 0 : le.transit_information) === null || fe === void 0 ? void 0 : fe.line) === null || we === void 0 ? void 0 : we.text_color : null
32665
+ color: !((W = (q = (Q = this.stepData) === null || Q === void 0 ? void 0 : Q.transit_information) === null || q === void 0 ? void 0 : q.line) === null || W === void 0) && W.text_color ? (we = (fe = (le = this.stepData) === null || le === void 0 ? void 0 : le.transit_information) === null || fe === void 0 ? void 0 : fe.line) === null || we === void 0 ? void 0 : we.text_color : null
32664
32666
  } }, (ie = (me = ($e = this.stepData) === null || $e === void 0 ? void 0 : $e.transit_information) === null || me === void 0 ? void 0 : me.line) === null || ie === void 0 ? void 0 : ie.short_name) : null, !((oe = (te = this.stepData) === null || te === void 0 ? void 0 : te.transit_information) === null || oe === void 0) && oe.headsign ? (_e = (be = this.stepData) === null || be === void 0 ? void 0 : be.transit_information) === null || _e === void 0 ? void 0 : _e.headsign : null, Xe("br", null), Xe("span", { part: "step-info", class: "step__distance-duration" }, Xe("mi-time", { seconds: (nt = (Je = this.stepData) === null || Je === void 0 ? void 0 : Je.duration) === null || nt === void 0 ? void 0 : nt.value, translations: `{"days":"${this.translationsData.days}","hours":"${this.translationsData.hours}","minutes":"${this.translationsData.minutes}"}` }), " · ", !((xt = (Ye = this.stepData) === null || Ye === void 0 ? void 0 : Ye.transit_information) === null || xt === void 0) && xt.num_stops ? (Pt = (dt = this.stepData) === null || dt === void 0 ? void 0 : dt.transit_information) === null || Pt === void 0 ? void 0 : Pt.num_stops : null, " ", this.translationsData.stops ? this.translationsData.stops : null)), this.showSubsteps());
32665
32667
  }
32666
32668
  static get watchers() {
@@ -32770,12 +32772,12 @@ const pae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
32770
32772
  renderInstructions() {
32771
32773
  return Xe(Vo, null, this.getRouteSteps().map((e, i) => {
32772
32774
  var o, u, d, _, w;
32773
- const a = !((u = (o = this.originLocation) === null || o === void 0 ? void 0 : o.properties) === null || u === void 0) && u.name ? this.originLocation.properties.name : this.originName || "", j = e.originalLegIndex === 0 && e.originalStepIndex === 0 ? a : this.lastStepRouteContext, Q = this.lastStepTravelMode, K = this.lastStepTransitStop;
32775
+ const a = !((u = (o = this.originLocation) === null || o === void 0 ? void 0 : o.properties) === null || u === void 0) && u.name ? this.originLocation.properties.name : this.originName || "", j = e.originalLegIndex === 0 && e.originalStepIndex === 0 ? a : this.lastStepRouteContext, Q = this.lastStepTravelMode, q = this.lastStepTransitStop;
32774
32776
  return this.lastStepRouteContext = e.route_context, this.lastStepTravelMode = e.travel_mode, this.lastStepTransitStop = !((_ = (d = e.transit_information) === null || d === void 0 ? void 0 : d.arrival_stop) === null || _ === void 0) && _.name ? (w = e.transit_information) === null || w === void 0 ? void 0 : w.arrival_stop.name : null, Xe("mi-route-instructions-step-legacy", {
32775
32777
  ref: (W) => this.miStepElements.push(W),
32776
32778
  "from-travel-mode": Q,
32777
32779
  "from-route-context": j,
32778
- "from-transit-stop": K,
32780
+ "from-transit-stop": q,
32779
32781
  step: JSON.stringify(e),
32780
32782
  translations: JSON.stringify(this.translations),
32781
32783
  unit: this.unit,
@@ -32914,10 +32916,10 @@ var WL = H1(function(e, i) {
32914
32916
  function d(_) {
32915
32917
  var w = arguments.length <= 1 || arguments[1] === void 0 ? o : arguments[1], a = void 0;
32916
32918
  function E() {
32917
- for (var j = this, Q = arguments.length, K = Array(Q), W = 0; W < Q; W++)
32918
- K[W] = arguments[W];
32919
+ for (var j = this, Q = arguments.length, q = Array(Q), W = 0; W < Q; W++)
32920
+ q[W] = arguments[W];
32919
32921
  E.clear(), a = setTimeout(function() {
32920
- a = null, _.apply(j, K);
32922
+ a = null, _.apply(j, q);
32921
32923
  }, w);
32922
32924
  }
32923
32925
  return E.clear = function() {
@@ -32934,8 +32936,8 @@ var WL = H1(function(e, i) {
32934
32936
  }
32935
32937
  function u(w, a) {
32936
32938
  for (var E = Object.getOwnPropertyNames(a), j = 0; j < E.length; j++) {
32937
- var Q = E[j], K = Object.getOwnPropertyDescriptor(a, Q);
32938
- K && K.configurable && w[Q] === void 0 && Object.defineProperty(w, Q, K);
32939
+ var Q = E[j], q = Object.getOwnPropertyDescriptor(a, Q);
32940
+ q && q.configurable && w[Q] === void 0 && Object.defineProperty(w, Q, q);
32939
32941
  }
32940
32942
  return w;
32941
32943
  }
@@ -33335,7 +33337,7 @@ var pj = { exports: {} };
33335
33337
  var r = t[0], c = t[1], h = t[2], g = t[3], m = r * g - h * c;
33336
33338
  return m ? (s[0] = g * (m = 1 / m), s[1] = -c * m, s[2] = -h * m, s[3] = r * m, s) : null;
33337
33339
  }
33338
- function K() {
33340
+ function q() {
33339
33341
  var s = new j(9);
33340
33342
  return j != Float32Array && (s[1] = 0, s[2] = 0, s[3] = 0, s[5] = 0, s[6] = 0, s[7] = 0), s[0] = 1, s[4] = 1, s[8] = 1, s;
33341
33343
  }
@@ -33551,7 +33553,7 @@ var pj = { exports: {} };
33551
33553
  function ti(s, t) {
33552
33554
  return s[0] * t[0] + s[1] * t[1];
33553
33555
  }
33554
- ui(), ui(), K();
33556
+ ui(), ui(), q();
33555
33557
  var yi, Di, Qi = vt;
33556
33558
  function cn(s) {
33557
33559
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
@@ -33697,7 +33699,7 @@ var pj = { exports: {} };
33697
33699
  function Ze(s) {
33698
33700
  return s * gr;
33699
33701
  }
33700
- function q(s) {
33702
+ function K(s) {
33701
33703
  return s * xr;
33702
33704
  }
33703
33705
  const ae = [[0, 0], [1, 0], [1, 1], [0, 1]];
@@ -40634,8 +40636,8 @@ ${JSON.stringify(h, null, 2)}
40634
40636
  }
40635
40637
  const Y = [];
40636
40638
  new Hn(h, m).closestPointOnSphere(M, L, Y);
40637
- const X = G([], Rn(x, 0)), J = G([], Rn(x, 1)), pe = G([], Rn(x, 2)), ge = re(X, Y), ve = re(J, Y), je = re(pe, Y), Pe = q(Math.asin(-ve / L));
40638
- let Be = q(Math.atan2(ge, je));
40639
+ const X = G([], Rn(x, 0)), J = G([], Rn(x, 1)), pe = G([], Rn(x, 2)), ge = re(X, Y), ve = re(J, Y), je = re(pe, Y), Pe = K(Math.asin(-ve / L));
40640
+ let Be = K(Math.atan2(ge, je));
40639
40641
  Be = s.center.lng + function(Lt, it) {
40640
40642
  const Rt = (it - Lt + 180) % 360 - 180;
40641
40643
  return Rt < -180 ? Rt + 360 : Rt;
@@ -46701,7 +46703,7 @@ ${JSON.stringify(h, null, 2)}
46701
46703
  m * c < 0 && (x -= Math.PI * Math.sign(t) * Math.sign(m));
46702
46704
  const M = Ze(this.center[0]) * c;
46703
46705
  x = Qe(x, -Math.PI - M, Math.PI - M);
46704
- const D = Le(q(x / c) + this.center[0], -180, 180), A = Math.asin(Le((h - (t * t + m * m) * c * c) / (2 * c), -1, 1)), C = Le(q(A), -ze, ze);
46706
+ const D = Le(K(x / c) + this.center[0], -180, 180), A = Math.asin(Le((h - (t * t + m * m) * c * c) / (2 * c), -1, 1)), C = Le(K(A), -ze, ze);
46705
46707
  return new $(D, C);
46706
46708
  }
46707
46709
  }
@@ -46759,7 +46761,7 @@ ${JSON.stringify(h, null, 2)}
46759
46761
  const { n: c, f: h } = this, g = h - r, m = Math.sign(g), x = Math.sign(c) * Math.sqrt(t * t + g * g);
46760
46762
  let M = Math.atan2(t, Math.abs(g)) * m;
46761
46763
  g * c < 0 && (M -= Math.PI * Math.sign(t) * m);
46762
- const D = Le(q(M / c) + this.center[0], -180, 180), A = Le(q(2 * Math.atan(Math.pow(h / x, 1 / c)) - op), -ze, ze);
46764
+ const D = Le(K(M / c) + this.center[0], -180, 180), A = Le(K(2 * Math.atan(Math.pow(h / x, 1 / c)) - op), -ze, ze);
46763
46765
  return new $(D, this.southernCenter ? -A : A);
46764
46766
  }
46765
46767
  }
@@ -46790,7 +46792,7 @@ ${JSON.stringify(h, null, 2)}
46790
46792
  g = (c * (1.007226 + m * (0.015085 + D * (0.028874 * m - 0.044475 - 5916e-6 * D))) - r) / (1.007226 + m * (0.045255 + D * (0.259866 * m - 0.311325 - 5916e-6 * 11 * D))), c = Le(c - g, -Y6, Y6);
46791
46793
  } while (Math.abs(g) > 1e-6 && --h > 0);
46792
46794
  m = c * c;
46793
- const x = Le(q(t / (0.8707 + m * (m * (m * m * m * (3971e-6 - 1529e-6 * m) - 0.013791) - 0.131979))), -180, 180), M = q(c);
46795
+ const x = Le(K(t / (0.8707 + m * (m * (m * m * m * (3971e-6 - 1529e-6 * m) - 0.013791) - 0.131979))), -180, 180), M = K(c);
46794
46796
  return new $(x, M);
46795
46797
  }
46796
46798
  }
@@ -46809,7 +46811,7 @@ ${JSON.stringify(h, null, 2)}
46809
46811
  const D = Math.cos(h), A = Math.sin(h), C = 2 * A * D, L = A * A, P = D * D, R = Math.cos(c / 2), Y = Math.sin(c / 2), X = 2 * R * Y, J = Y * Y, pe = 1 - P * R * R, ge = pe ? 1 / pe : 0, ve = pe ? Math.acos(D * R) * Math.sqrt(1 / pe) : 0, je = 0.5 * (2 * ve * D * Y + 2 * c / Math.PI) - t, Pe = 0.5 * (ve * A + h) - r, Be = 0.5 * ge * (P * J + ve * D * R * L) + 1 / Math.PI, Ge = ge * (X * C / 4 - ve * A * Y), We = 0.125 * ge * (C * Y - ve * A * P * X), Lt = 0.5 * ge * (L * R + ve * J * D) + 0.5, it = Ge * We - Lt * Be;
46810
46812
  x = (Pe * Ge - je * Lt) / it, M = (je * We - Pe * Be) / it, c = Le(c - x, -Math.PI, Math.PI), h = Le(h - M, -G6, G6);
46811
46813
  } while ((Math.abs(x) > m || Math.abs(M) > m) && --g > 0);
46812
- return new $(q(c), q(h));
46814
+ return new $(K(c), K(h));
46813
46815
  }
46814
46816
  }
46815
46817
  class Z6 extends ku {
@@ -46821,7 +46823,7 @@ ${JSON.stringify(h, null, 2)}
46821
46823
  return { x: Ze(t) * h * c + 0.5, y: -Math.sin(Ze(r)) / h * c + 0.5, z: 0 };
46822
46824
  }
46823
46825
  unproject(t, r) {
46824
- const { scale: c, cosPhi: h } = this, g = -(r - 0.5) / c, m = Le(q((t - 0.5) / c) / h, -180, 180), x = Math.asin(Le(g * h, -1, 1)), M = Le(q(x), -ze, ze);
46826
+ const { scale: c, cosPhi: h } = this, g = -(r - 0.5) / c, m = Le(K((t - 0.5) / c) / h, -180, 180), x = Math.asin(Le(g * h, -1, 1)), M = Le(K(x), -ze, ze);
46825
46827
  return new $(m, M);
46826
46828
  }
46827
46829
  }
@@ -50296,7 +50298,7 @@ ${JSON.stringify(h, null, 2)}
50296
50298
  }, a.cR = te, a.cS = Zn, a.cT = oe, a.cU = function(s) {
50297
50299
  const { x: t, y: r } = s.point, { lng: c, lat: h } = s._center;
50298
50300
  return MD(t, r, s.worldSize, c, h);
50299
- }, a.cV = St, a.cW = q, a.cX = Gf, a.cY = jo, a.cZ = y, a.c_ = function(s, t, r) {
50301
+ }, a.cV = St, a.cW = K, a.cX = Gf, a.cY = jo, a.cZ = y, a.c_ = function(s, t, r) {
50300
50302
  let c = 0;
50301
50303
  for (let h = 0; h < 2; ++h)
50302
50304
  s[h] > 0 && (c += (s[h] - 0) * (s[h] - 0)), t[h] < 0 && (c += (0 - t[h]) * (0 - t[h]));
@@ -50448,7 +50450,7 @@ ${JSON.stringify(h, null, 2)}
50448
50450
  }
50449
50451
  }, a.dI = jD, a.dJ = $y, a.dK = function(s, t) {
50450
50452
  return [Math.pow(s[0], 2.2) * t, Math.pow(s[1], 2.2) * t, Math.pow(s[2], 2.2) * t];
50451
- }, a.dL = K, a.dM = function(s, t) {
50453
+ }, a.dL = q, a.dM = function(s, t) {
50452
50454
  var r = Math.sin(t), c = Math.cos(t);
50453
50455
  return s[0] = c, s[1] = r, s[2] = 0, s[3] = -r, s[4] = c, s[5] = 0, s[6] = 0, s[7] = 0, s[8] = 1, s;
50454
50456
  }, a.dN = Fe, a.dO = bD, a.dP = Oo, a.dQ = as, a.dR = 256, a.dS = function(s, t) {
@@ -50718,7 +50720,7 @@ ${JSON.stringify(h, null, 2)}
50718
50720
  return s[0] = t[0] / r[0], s[1] = t[1] / r[1], s[2] = t[2] / r[2], s;
50719
50721
  }, a.eP = mt, a.eQ = O, a.eR = F, a.eS = Ot, a.eT = function([s, t, r]) {
50720
50722
  const c = Math.hypot(s, t, r), h = Math.atan2(s, r), g = 0.5 * Math.PI - Math.acos(-t / c);
50721
- return new $(q(h), q(g));
50723
+ return new $(K(h), K(g));
50722
50724
  }, a.eU = di, a.eV = Xb, a.eW = function(s) {
50723
50725
  const t = s.navigator ? s.navigator.userAgent : null;
50724
50726
  return !!function(r) {
@@ -50904,8 +50906,8 @@ ${JSON.stringify(h, null, 2)}
50904
50906
  }, a.w = vi, a.x = LM, a.y = wh, a.z = ra;
50905
50907
  }), _(["./shared"], function(a) {
50906
50908
  function E(Ze) {
50907
- const q = Ze ? Ze.url.toString() : void 0;
50908
- return q ? performance.getEntriesByName(q) : [];
50909
+ const K = Ze ? Ze.url.toString() : void 0;
50910
+ return K ? performance.getEntriesByName(K) : [];
50909
50911
  }
50910
50912
  function j(Ze) {
50911
50913
  if (typeof Ze == "number" || typeof Ze == "boolean" || typeof Ze == "string" || Ze == null)
@@ -50916,27 +50918,27 @@ ${JSON.stringify(h, null, 2)}
50916
50918
  ae += `${j(he)},`;
50917
50919
  return `${ae}]`;
50918
50920
  }
50919
- let q = "{";
50921
+ let K = "{";
50920
50922
  for (const ae of Object.keys(Ze).sort())
50921
- q += `${ae}:${j(Ze[ae])},`;
50922
- return `${q}}`;
50923
+ K += `${ae}:${j(Ze[ae])},`;
50924
+ return `${K}}`;
50923
50925
  }
50924
50926
  function Q(Ze) {
50925
- let q = "";
50927
+ let K = "";
50926
50928
  for (const ae of a.bx)
50927
- q += `/${j(Ze[ae])}`;
50928
- return q;
50929
+ K += `/${j(Ze[ae])}`;
50930
+ return K;
50929
50931
  }
50930
- class K {
50931
- constructor(q) {
50932
- this.keyCache = {}, this._layers = {}, this._layerConfigs = {}, q && this.replace(q);
50932
+ class q {
50933
+ constructor(K) {
50934
+ this.keyCache = {}, this._layers = {}, this._layerConfigs = {}, K && this.replace(K);
50933
50935
  }
50934
- replace(q, ae) {
50935
- this._layerConfigs = {}, this._layers = {}, this.update(q, [], ae);
50936
+ replace(K, ae) {
50937
+ this._layerConfigs = {}, this._layers = {}, this.update(K, [], ae);
50936
50938
  }
50937
- update(q, ae, he) {
50939
+ update(K, ae, he) {
50938
50940
  this._options = he;
50939
- for (const ke of q)
50941
+ for (const ke of K)
50940
50942
  this._layerConfigs[ke.id] = ke, (this._layers[ke.id] = a.dq(ke, this.scope, null, this._options)).compileFilter(he), this.keyCache[ke.id] && delete this.keyCache[ke.id];
50941
50943
  for (const ke of ae)
50942
50944
  delete this.keyCache[ke], delete this._layerConfigs[ke], delete this._layers[ke];
@@ -50972,10 +50974,10 @@ ${JSON.stringify(h, null, 2)}
50972
50974
  }
50973
50975
  const W = 1 * a.fc;
50974
50976
  class le {
50975
- constructor(q) {
50977
+ constructor(K) {
50976
50978
  const ae = {}, he = [];
50977
- for (const ot in q) {
50978
- const Qe = q[ot], st = ae[ot] = {};
50979
+ for (const ot in K) {
50980
+ const Qe = K[ot], st = ae[ot] = {};
50979
50981
  for (const Ft in Qe.glyphs) {
50980
50982
  const zt = Qe.glyphs[+Ft];
50981
50983
  if (!zt || zt.bitmap.width === 0 || zt.bitmap.height === 0)
@@ -50985,8 +50987,8 @@ ${JSON.stringify(h, null, 2)}
50985
50987
  }
50986
50988
  }
50987
50989
  const { w: Re, h: ke } = a.G(he), Le = new a.fb({ width: Re || 1, height: ke || 1 });
50988
- for (const ot in q) {
50989
- const Qe = q[ot];
50990
+ for (const ot in K) {
50991
+ const Qe = K[ot];
50990
50992
  for (const st in Qe.glyphs) {
50991
50993
  const Ft = Qe.glyphs[+st];
50992
50994
  if (!Ft || Ft.bitmap.width === 0 || Ft.bitmap.height === 0)
@@ -51000,16 +51002,16 @@ ${JSON.stringify(h, null, 2)}
51000
51002
  }
51001
51003
  a.fa(le, "GlyphAtlas");
51002
51004
  class fe {
51003
- constructor(q) {
51004
- this.tileID = new a.aO(q.tileID.overscaledZ, q.tileID.wrap, q.tileID.canonical.z, q.tileID.canonical.x, q.tileID.canonical.y), this.tileZoom = q.tileZoom, this.uid = q.uid, this.zoom = q.zoom, this.lut = q.lut, this.canonical = q.tileID.canonical, this.pixelRatio = q.pixelRatio, this.tileSize = q.tileSize, this.source = q.source, this.scope = q.scope, this.overscaling = this.tileID.overscaleFactor(), this.showCollisionBoxes = q.showCollisionBoxes, this.collectResourceTiming = !!q.request && q.request.collectResourceTiming, this.promoteId = q.promoteId, this.isSymbolTile = q.isSymbolTile, this.tileTransform = a.aZ(q.tileID.canonical, q.projection), this.projection = q.projection, this.worldview = q.worldview, this.localizableLayerIds = q.localizableLayerIds, this.brightness = q.brightness, this.extraShadowCaster = !!q.extraShadowCaster, this.tessellationStep = q.tessellationStep, this.scaleFactor = q.scaleFactor, this.worldview = q.worldview;
51005
+ constructor(K) {
51006
+ this.tileID = new a.aO(K.tileID.overscaledZ, K.tileID.wrap, K.tileID.canonical.z, K.tileID.canonical.x, K.tileID.canonical.y), this.tileZoom = K.tileZoom, this.uid = K.uid, this.zoom = K.zoom, this.lut = K.lut, this.canonical = K.tileID.canonical, this.pixelRatio = K.pixelRatio, this.tileSize = K.tileSize, this.source = K.source, this.scope = K.scope, this.overscaling = this.tileID.overscaleFactor(), this.showCollisionBoxes = K.showCollisionBoxes, this.collectResourceTiming = !!K.request && K.request.collectResourceTiming, this.promoteId = K.promoteId, this.isSymbolTile = K.isSymbolTile, this.tileTransform = a.aZ(K.tileID.canonical, K.projection), this.projection = K.projection, this.worldview = K.worldview, this.localizableLayerIds = K.localizableLayerIds, this.brightness = K.brightness, this.extraShadowCaster = !!K.extraShadowCaster, this.tessellationStep = K.tessellationStep, this.scaleFactor = K.scaleFactor, this.worldview = K.worldview;
51005
51007
  }
51006
- parse(q, ae, he, Re, ke, Le) {
51007
- this.status = "parsing", this.data = q, this.collisionBoxArray = new a.b3();
51008
- const ot = new a.fd(Object.keys(q.layers).sort()), Qe = new a.fe(this.tileID, this.promoteId);
51008
+ parse(K, ae, he, Re, ke, Le) {
51009
+ this.status = "parsing", this.data = K, this.collisionBoxArray = new a.b3();
51010
+ const ot = new a.fd(Object.keys(K.layers).sort()), Qe = new a.fe(this.tileID, this.promoteId);
51009
51011
  Qe.bucketLayerIDs = [];
51010
51012
  const st = {}, Ft = new a.ff(256, 256), zt = { featureIndex: Qe, iconDependencies: /* @__PURE__ */ new Map(), patternDependencies: /* @__PURE__ */ new Map(), glyphDependencies: {}, lineAtlas: Ft, availableImages: he, brightness: this.brightness, scaleFactor: this.scaleFactor, elevationFeatures: void 0 }, Ct = [], ii = ae.familiesBySource[this.source];
51011
51013
  for (const Wi in ii) {
51012
- const fi = q.layers[Wi];
51014
+ const fi = K.layers[Wi];
51013
51015
  if (!fi)
51014
51016
  continue;
51015
51017
  let ki = !1, Gi = !1, vi = !1;
@@ -51035,7 +51037,7 @@ ${JSON.stringify(h, null, 2)}
51035
51037
  }
51036
51038
  !un && ar.properties && ar.properties.hasOwnProperty(a.fg) && (un = !0), Zi.push({ feature: ar, id: Rn, index: zn, sourceLayerIndex: ji }), zn++;
51037
51039
  }
51038
- un && !zt.elevationFeatures && q.layers.hasOwnProperty(a.fh) && (zt.elevationFeatures = a.fi.parseFrom(q.layers[a.fh], this.canonical));
51040
+ un && !zt.elevationFeatures && K.layers.hasOwnProperty(a.fh) && (zt.elevationFeatures = a.fi.parseFrom(K.layers[a.fh], this.canonical));
51039
51041
  for (const gn of ii[Wi]) {
51040
51042
  const zn = gn[0];
51041
51043
  if (this.extraShadowCaster && (!zn.is3D() || zn.type === "model") || this.isSymbolTile !== void 0 && zn.type === "symbol" !== this.isSymbolTile || zn.minzoom && this.zoom < Math.floor(zn.minzoom) || zn.maxzoom && this.zoom >= zn.maxzoom || zn.visibility === "none")
@@ -51113,7 +51115,7 @@ ${JSON.stringify(h, null, 2)}
51113
51115
  const ar = a.fk.evaluate(zn);
51114
51116
  for (const Rn of Object.values(st))
51115
51117
  if (Rn instanceof a.bb) {
51116
- const lr = q.layers[ot.decode(Rn.sourceLayerIndex)];
51118
+ const lr = K.layers[ot.decode(Rn.sourceLayerIndex)];
51117
51119
  Rn.setEvaluatedPortalGraph(ar, lr, this.tileID.canonical, zt.availableImages, zt.brightness);
51118
51120
  }
51119
51121
  }
@@ -51121,22 +51123,22 @@ ${JSON.stringify(h, null, 2)}
51121
51123
  };
51122
51124
  Ct.length > 0 ? Promise.allSettled(Ct).then(hi).catch(Le) : hi();
51123
51125
  }
51124
- rasterizeIfNeeded(q, ae, he, Re) {
51125
- Array.from(ae.values()).some((ke) => ke.usvg) ? this.rasterize(q, ae, he, Re) : Re();
51126
+ rasterizeIfNeeded(K, ae, he, Re) {
51127
+ Array.from(ae.values()).some((ke) => ke.usvg) ? this.rasterize(K, ae, he, Re) : Re();
51126
51128
  }
51127
- updateImageMapAndGetImageTaskQueue(q, ae, he) {
51129
+ updateImageMapAndGetImageTaskQueue(K, ae, he) {
51128
51130
  const Re = /* @__PURE__ */ new Map();
51129
51131
  for (const ke of ae.keys()) {
51130
51132
  const Le = he.get(ke) || [];
51131
51133
  for (const ot of Le) {
51132
51134
  const Qe = ot.toString(), st = ae.get(ot.id.toString());
51133
- st.usvg ? Re.has(Qe) || (Re.set(Qe, ot), q.set(Qe, Object.assign({}, st))) : q.set(Qe, st);
51135
+ st.usvg ? Re.has(Qe) || (Re.set(Qe, ot), K.set(Qe, Object.assign({}, st))) : K.set(Qe, st);
51134
51136
  }
51135
51137
  }
51136
51138
  return Re;
51137
51139
  }
51138
- rasterize(q, ae, he, Re) {
51139
- this.rasterizeTask = q.send("rasterizeImages", { scope: this.scope, tasks: he }, (ke, Le) => {
51140
+ rasterize(K, ae, he, Re) {
51141
+ this.rasterizeTask = K.send("rasterizeImages", { scope: this.scope, tasks: he }, (ke, Le) => {
51140
51142
  if (!ke)
51141
51143
  for (const [ot, Qe] of Le.entries()) {
51142
51144
  const st = Object.assign(ae.get(ot), { data: Qe });
@@ -51149,18 +51151,18 @@ ${JSON.stringify(h, null, 2)}
51149
51151
  this.rasterizeTask && this.rasterizeTask.cancel();
51150
51152
  }
51151
51153
  }
51152
- function we(Ze, q, ae, he, Re) {
51153
- const ke = new a.ac(q, { brightness: ae, worldview: Re });
51154
+ function we(Ze, K, ae, he, Re) {
51155
+ const ke = new a.ac(K, { brightness: ae, worldview: Re });
51154
51156
  for (const Le of Ze)
51155
51157
  Le.recalculate(ke, he);
51156
51158
  }
51157
51159
  class $e extends a.E {
51158
- constructor(q, ae, he, Re, ke, Le, ot) {
51159
- super(), this.actor = q, this.layerIndex = ae, this.availableImages = he, this.availableModels = Re, this.loadVectorData = Le || a.aL, this.loading = {}, this.loaded = {}, this.deduped = new a.aK(q.scheduler), this.isSpriteLoaded = ke, this.scheduler = q.scheduler, this.brightness = ot;
51160
+ constructor(K, ae, he, Re, ke, Le, ot) {
51161
+ super(), this.actor = K, this.layerIndex = ae, this.availableImages = he, this.availableModels = Re, this.loadVectorData = Le || a.aL, this.loading = {}, this.loaded = {}, this.deduped = new a.aK(K.scheduler), this.isSpriteLoaded = ke, this.scheduler = K.scheduler, this.brightness = ot;
51160
51162
  }
51161
- loadTile(q, ae) {
51162
- const he = q.uid, Re = q && q.request, ke = Re && Re.collectResourceTiming, Le = this.loading[he] = new fe(q);
51163
- Le.abort = this.loadVectorData(q, (ot, Qe) => {
51163
+ loadTile(K, ae) {
51164
+ const he = K.uid, Re = K && K.request, ke = Re && Re.collectResourceTiming, Le = this.loading[he] = new fe(K);
51165
+ Le.abort = this.loadVectorData(K, (ot, Qe) => {
51164
51166
  const st = !this.loading[he];
51165
51167
  if (delete this.loading[he], Le.cancelRasterize(), st || ot || !Qe)
51166
51168
  return Le.status = "done", st || (this.loaded[he] = Le), ae(ot);
@@ -51179,15 +51181,15 @@ ${JSON.stringify(h, null, 2)}
51179
51181
  });
51180
51182
  };
51181
51183
  this.isSpriteLoaded ? Ct() : this.once("isSpriteLoaded", () => {
51182
- this.scheduler ? this.scheduler.add(Ct, { type: "parseTile", isSymbolTile: q.isSymbolTile, zoom: q.tileZoom }) : Ct();
51184
+ this.scheduler ? this.scheduler.add(Ct, { type: "parseTile", isSymbolTile: K.isSymbolTile, zoom: K.tileZoom }) : Ct();
51183
51185
  }), this.loaded = this.loaded || {}, this.loaded[he] = Le;
51184
51186
  });
51185
51187
  }
51186
- reloadTile(q, ae) {
51187
- const he = this.loaded, Re = q.uid;
51188
+ reloadTile(K, ae) {
51189
+ const he = this.loaded, Re = K.uid;
51188
51190
  if (he && he[Re]) {
51189
51191
  const ke = he[Re];
51190
- ke.scaleFactor = q.scaleFactor, ke.showCollisionBoxes = q.showCollisionBoxes, ke.projection = q.projection, ke.brightness = q.brightness, ke.tileTransform = a.aZ(q.tileID.canonical, q.projection), ke.extraShadowCaster = q.extraShadowCaster, ke.lut = q.lut, ke.worldview = q.worldview;
51192
+ ke.scaleFactor = K.scaleFactor, ke.showCollisionBoxes = K.showCollisionBoxes, ke.projection = K.projection, ke.brightness = K.brightness, ke.tileTransform = a.aZ(K.tileID.canonical, K.projection), ke.extraShadowCaster = K.extraShadowCaster, ke.lut = K.lut, ke.worldview = K.worldview;
51191
51193
  const Le = (ot, Qe) => {
51192
51194
  const st = ke.reloadCallback;
51193
51195
  st && (delete ke.reloadCallback, ke.parse(ke.vectorTile, this.layerIndex, this.availableImages, this.availableModels, this.actor, st)), ae(ot, Qe);
@@ -51196,48 +51198,48 @@ ${JSON.stringify(h, null, 2)}
51196
51198
  } else
51197
51199
  ae(null, void 0);
51198
51200
  }
51199
- abortTile(q, ae) {
51200
- const he = q.uid, Re = this.loading[he];
51201
+ abortTile(K, ae) {
51202
+ const he = K.uid, Re = this.loading[he];
51201
51203
  Re && (Re.abort && Re.abort(), delete this.loading[he]), ae();
51202
51204
  }
51203
- removeTile(q, ae) {
51204
- const he = this.loaded, Re = q.uid;
51205
+ removeTile(K, ae) {
51206
+ const he = this.loaded, Re = K.uid;
51205
51207
  he && he[Re] && delete he[Re], ae();
51206
51208
  }
51207
51209
  }
51208
51210
  class me {
51209
- loadTile(q, ae) {
51210
- const { uid: he, encoding: Re, rawImageData: ke, padding: Le } = q, ot = ImageBitmap && ke instanceof ImageBitmap ? this.getImageData(ke, Le) : ke;
51211
+ loadTile(K, ae) {
51212
+ const { uid: he, encoding: Re, rawImageData: ke, padding: Le } = K, ot = ImageBitmap && ke instanceof ImageBitmap ? this.getImageData(ke, Le) : ke;
51211
51213
  ae(null, new a.fr(he, ot, Re, Le < 1));
51212
51214
  }
51213
- reloadTile(q, ae) {
51215
+ reloadTile(K, ae) {
51214
51216
  ae(null, null);
51215
51217
  }
51216
- abortTile(q, ae) {
51218
+ abortTile(K, ae) {
51217
51219
  ae();
51218
51220
  }
51219
- removeTile(q, ae) {
51221
+ removeTile(K, ae) {
51220
51222
  ae();
51221
51223
  }
51222
- getImageData(q, ae) {
51223
- this.offscreenCanvas && this.offscreenCanvasContext || (this.offscreenCanvas = new OffscreenCanvas(q.width, q.height), this.offscreenCanvasContext = this.offscreenCanvas.getContext("2d", { willReadFrequently: !0 })), this.offscreenCanvas.width = q.width, this.offscreenCanvas.height = q.height, this.offscreenCanvasContext.drawImage(q, 0, 0, q.width, q.height);
51224
- const he = this.offscreenCanvasContext.getImageData(-ae, -ae, q.width + 2 * ae, q.height + 2 * ae);
51224
+ getImageData(K, ae) {
51225
+ this.offscreenCanvas && this.offscreenCanvasContext || (this.offscreenCanvas = new OffscreenCanvas(K.width, K.height), this.offscreenCanvasContext = this.offscreenCanvas.getContext("2d", { willReadFrequently: !0 })), this.offscreenCanvas.width = K.width, this.offscreenCanvas.height = K.height, this.offscreenCanvasContext.drawImage(K, 0, 0, K.width, K.height);
51226
+ const he = this.offscreenCanvasContext.getImageData(-ae, -ae, K.width + 2 * ae, K.height + 2 * ae);
51225
51227
  return this.offscreenCanvasContext.clearRect(0, 0, this.offscreenCanvas.width, this.offscreenCanvas.height), he;
51226
51228
  }
51227
51229
  }
51228
51230
  a.bs.setPbf(a.bt);
51229
51231
  class ie {
51230
- constructor(q) {
51231
- this._mrt = new a.bs(q.partial ? 30 : 1 / 0), this._isHeaderLoaded = !1, this.uid = q.uid, this.tileID = q.tileID, this.source = q.source;
51232
+ constructor(K) {
51233
+ this._mrt = new a.bs(K.partial ? 30 : 1 / 0), this._isHeaderLoaded = !1, this.uid = K.uid, this.tileID = K.tileID, this.source = K.source;
51232
51234
  }
51233
- parse(q, ae) {
51235
+ parse(K, ae) {
51234
51236
  const he = this._mrt;
51235
- this.status = "parsing", this._entireBuffer = q;
51237
+ this.status = "parsing", this._entireBuffer = K;
51236
51238
  try {
51237
- he.parseHeader(q), this._isHeaderLoaded = !0;
51239
+ he.parseHeader(K), this._isHeaderLoaded = !0;
51238
51240
  const Re = [];
51239
51241
  for (const ke in he.layers) {
51240
- const Le = he.getLayer(ke), ot = Le.getDataRange(Le.getBandList()), Qe = he.createDecodingTask(ot), st = q.slice(ot.firstByte, ot.lastByte + 1), Ft = a.bs.performDecoding(st, Qe).then((zt) => Qe.complete(null, zt)).catch((zt) => Qe.complete(zt, null));
51242
+ const Le = he.getLayer(ke), ot = Le.getDataRange(Le.getBandList()), Qe = he.createDecodingTask(ot), st = K.slice(ot.firstByte, ot.lastByte + 1), Ft = a.bs.performDecoding(st, Qe).then((zt) => Qe.complete(null, zt)).catch((zt) => Qe.complete(zt, null));
51241
51243
  Re.push(Ft);
51242
51244
  }
51243
51245
  Promise.allSettled(Re).then(() => ae(null, he)).catch((ke) => ae(ke));
@@ -51247,11 +51249,11 @@ ${JSON.stringify(h, null, 2)}
51247
51249
  }
51248
51250
  }
51249
51251
  class te {
51250
- constructor(q) {
51251
- this.actor = q, this.loading = {}, this.loaded = {};
51252
+ constructor(K) {
51253
+ this.actor = K, this.loading = {}, this.loaded = {};
51252
51254
  }
51253
- loadTile(q, ae) {
51254
- const he = q.uid, Re = q.request, ke = this.loading[he] = new ie(q), { cancel: Le } = a.bu(Re, (ot, Qe, st, Ft) => {
51255
+ loadTile(K, ae) {
51256
+ const he = K.uid, Re = K.request, ke = this.loading[he] = new ie(K), { cancel: Le } = a.bu(Re, (ot, Qe, st, Ft) => {
51255
51257
  const zt = !this.loading[he];
51256
51258
  if (delete this.loading[he], zt || ot || !Qe)
51257
51259
  return ke.status = "done", zt || (this.loaded[he] = ke), ae(ot);
@@ -51263,61 +51265,61 @@ ${JSON.stringify(h, null, 2)}
51263
51265
  });
51264
51266
  ke.abort = Le;
51265
51267
  }
51266
- reloadTile(q, ae) {
51268
+ reloadTile(K, ae) {
51267
51269
  ae(null, void 0);
51268
51270
  }
51269
- abortTile(q, ae) {
51270
- const he = q.uid, Re = this.loading[he];
51271
+ abortTile(K, ae) {
51272
+ const he = K.uid, Re = this.loading[he];
51271
51273
  Re && (Re.abort && Re.abort(), delete this.loading[he]), ae();
51272
51274
  }
51273
- removeTile(q, ae) {
51274
- const he = q.uid;
51275
+ removeTile(K, ae) {
51276
+ const he = K.uid;
51275
51277
  this.loaded[he] && delete this.loaded[he], ae();
51276
51278
  }
51277
- decodeRasterArray(q, ae) {
51278
- a.bs.performDecoding(q.buffer, q.task).then((he) => ae(null, he)).catch((he) => ae(he));
51279
+ decodeRasterArray(K, ae) {
51280
+ a.bs.performDecoding(K.buffer, K.task).then((he) => ae(null, he)).catch((he) => ae(he));
51279
51281
  }
51280
51282
  }
51281
51283
  const oe = a.fs.prototype.toGeoJSON;
51282
51284
  class be {
51283
- constructor(q) {
51284
- this._feature = q, this.extent = a.al, this.type = q.type, this.properties = q.tags, "id" in q && !isNaN(q.id) && (this.id = parseInt(q.id, 10));
51285
+ constructor(K) {
51286
+ this._feature = K, this.extent = a.al, this.type = K.type, this.properties = K.tags, "id" in K && !isNaN(K.id) && (this.id = parseInt(K.id, 10));
51285
51287
  }
51286
51288
  loadGeometry() {
51287
51289
  if (this._feature.type === 1) {
51288
- const q = [];
51290
+ const K = [];
51289
51291
  for (const ae of this._feature.geometry)
51290
- q.push([new a.P(ae[0], ae[1])]);
51291
- return q;
51292
+ K.push([new a.P(ae[0], ae[1])]);
51293
+ return K;
51292
51294
  }
51293
51295
  {
51294
- const q = [];
51296
+ const K = [];
51295
51297
  for (const ae of this._feature.geometry) {
51296
51298
  const he = [];
51297
51299
  for (const Re of ae)
51298
51300
  he.push(new a.P(Re[0], Re[1]));
51299
- q.push(he);
51301
+ K.push(he);
51300
51302
  }
51301
- return q;
51303
+ return K;
51302
51304
  }
51303
51305
  }
51304
- toGeoJSON(q, ae, he) {
51305
- return oe.call(this, q, ae, he);
51306
+ toGeoJSON(K, ae, he) {
51307
+ return oe.call(this, K, ae, he);
51306
51308
  }
51307
51309
  }
51308
51310
  class _e {
51309
- constructor(q, ae) {
51310
- this.name = q, this.extent = a.al, this.length = ae.length, this._jsonFeatures = ae;
51311
+ constructor(K, ae) {
51312
+ this.name = K, this.extent = a.al, this.length = ae.length, this._jsonFeatures = ae;
51311
51313
  }
51312
- feature(q) {
51313
- return new be(this._jsonFeatures[q]);
51314
+ feature(K) {
51315
+ return new be(this._jsonFeatures[K]);
51314
51316
  }
51315
51317
  }
51316
51318
  class Je {
51317
- constructor(q) {
51319
+ constructor(K) {
51318
51320
  this.layers = {}, this.extent = a.al;
51319
- for (const ae of Object.keys(q))
51320
- this.layers[ae] = new _e(ae, q[ae]);
51321
+ for (const ae of Object.keys(K))
51322
+ this.layers[ae] = new _e(ae, K[ae]);
51321
51323
  }
51322
51324
  }
51323
51325
  const nt = 64 / 4096, Ye = 128;
@@ -51328,8 +51330,8 @@ ${JSON.stringify(h, null, 2)}
51328
51330
  clear() {
51329
51331
  this.features.clear();
51330
51332
  }
51331
- load(q = [], ae) {
51332
- for (const he of q) {
51333
+ load(K = [], ae) {
51334
+ for (const he of K) {
51333
51335
  const Re = he.id;
51334
51336
  if (Re == null)
51335
51337
  continue;
@@ -51337,14 +51339,14 @@ ${JSON.stringify(h, null, 2)}
51337
51339
  ke && this.updateCache(ke, ae), he.geometry ? (ke = Pt(he), this.updateCache(ke, ae), this.features.set(Re, ke)) : this.features.delete(Re), this.updateCache(ke, ae);
51338
51340
  }
51339
51341
  }
51340
- updateCache(q, ae) {
51342
+ updateCache(K, ae) {
51341
51343
  for (const { canonical: he, uid: Re } of Object.values(ae)) {
51342
51344
  const { z: ke, x: Le, y: ot } = he;
51343
- dt(q, Math.pow(2, ke), Le, ot) && delete ae[Re];
51345
+ dt(K, Math.pow(2, ke), Le, ot) && delete ae[Re];
51344
51346
  }
51345
51347
  }
51346
- getTile(q, ae, he) {
51347
- const Re = Math.pow(2, q), ke = [];
51348
+ getTile(K, ae, he) {
51349
+ const Re = Math.pow(2, K), ke = [];
51348
51350
  for (const Le of this.features.values())
51349
51351
  dt(Le, Re, ae, he) && ke.push(wt(Le, Re, ae, he));
51350
51352
  return { features: ke };
@@ -51353,16 +51355,16 @@ ${JSON.stringify(h, null, 2)}
51353
51355
  return [...this.features.values()];
51354
51356
  }
51355
51357
  }
51356
- function dt({ minX: Ze, minY: q, maxX: ae, maxY: he }, Re, ke, Le) {
51357
- return Ze < (ke + 1 + nt) / Re && q < (Le + 1 + nt) / Re && ae > (ke - nt) / Re && he > (Le - nt) / Re;
51358
+ function dt({ minX: Ze, minY: K, maxX: ae, maxY: he }, Re, ke, Le) {
51359
+ return Ze < (ke + 1 + nt) / Re && K < (Le + 1 + nt) / Re && ae > (ke - nt) / Re && he > (Le - nt) / Re;
51358
51360
  }
51359
51361
  function Pt(Ze) {
51360
- const { id: q, geometry: ae, properties: he } = Ze;
51362
+ const { id: K, geometry: ae, properties: he } = Ze;
51361
51363
  if (!ae)
51362
51364
  return;
51363
51365
  if (ae.type === "GeometryCollection")
51364
51366
  throw new Error("GeometryCollection not supported in dynamic mode.");
51365
- const { type: Re, coordinates: ke } = ae, Le = { id: q, type: 1, geometry: [], tags: he, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 }, ot = Le.geometry;
51367
+ const { type: Re, coordinates: ke } = ae, Le = { id: K, type: 1, geometry: [], tags: he, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 }, ot = Le.geometry;
51366
51368
  if (Re === "Point")
51367
51369
  Tt(ke, ot, Le);
51368
51370
  else if (Re === "MultiPoint")
@@ -51383,16 +51385,16 @@ ${JSON.stringify(h, null, 2)}
51383
51385
  }
51384
51386
  return Le;
51385
51387
  }
51386
- function Tt([Ze, q], ae, he) {
51388
+ function Tt([Ze, K], ae, he) {
51387
51389
  const Re = a.aF(Ze);
51388
- let ke = a.aJ(q);
51390
+ let ke = a.aJ(K);
51389
51391
  ke = ke < 0 ? 0 : ke > 1 ? 1 : ke, ae.push(Re, ke), he.minX = Math.min(he.minX, Re), he.minY = Math.min(he.minY, ke), he.maxX = Math.max(he.maxX, Re), he.maxY = Math.max(he.maxY, ke);
51390
51392
  }
51391
- function ci(Ze, q, ae, he = !1, Re = !1) {
51393
+ function ci(Ze, K, ae, he = !1, Re = !1) {
51392
51394
  const ke = [];
51393
51395
  for (const Le of Ze)
51394
51396
  Tt(Le, ke, ae);
51395
- q.push(ke), he && function(Le, ot) {
51397
+ K.push(ke), he && function(Le, ot) {
51396
51398
  let Qe = 0;
51397
51399
  for (let st = 0, Ft = Le.length, zt = Ft - 2; st < Ft; zt = st, st += 2)
51398
51400
  Qe += (Le[st] - Le[zt]) * (Le[st + 1] + Le[zt + 1]);
@@ -51403,11 +51405,11 @@ ${JSON.stringify(h, null, 2)}
51403
51405
  }
51404
51406
  }(ke, Re);
51405
51407
  }
51406
- function Ot(Ze, q, ae, he = !1) {
51408
+ function Ot(Ze, K, ae, he = !1) {
51407
51409
  for (let Re = 0; Re < Ze.length; Re++)
51408
- ci(Ze[Re], q, ae, he, Re === 0);
51410
+ ci(Ze[Re], K, ae, he, Re === 0);
51409
51411
  }
51410
- function wt(Ze, q, ae, he) {
51412
+ function wt(Ze, K, ae, he) {
51411
51413
  const { id: Re, type: ke, geometry: Le, tags: ot } = Ze, Qe = [];
51412
51414
  if (ke === 1)
51413
51415
  (function(st, Ft, zt, Ct, ii) {
@@ -51415,36 +51417,36 @@ ${JSON.stringify(h, null, 2)}
51415
51417
  const Wi = Math.round(a.al * (st[hi + 0] * Ft - zt)), fi = Math.round(a.al * (st[hi + 1] * Ft - Ct));
51416
51418
  ii.push([Wi, fi]);
51417
51419
  }
51418
- })(Le, q, ae, he, Qe);
51420
+ })(Le, K, ae, he, Qe);
51419
51421
  else
51420
51422
  for (const st of Le)
51421
- $t(st, q, ae, he, Qe);
51423
+ $t(st, K, ae, he, Qe);
51422
51424
  return { id: Re, type: ke, geometry: Qe, tags: ot };
51423
51425
  }
51424
- function $t(Ze, q, ae, he, Re) {
51426
+ function $t(Ze, K, ae, he, Re) {
51425
51427
  const ke = -Ye, Le = a.al + Ye;
51426
51428
  let ot;
51427
51429
  for (let Qe = 0; Qe < Ze.length - 2; Qe += 2) {
51428
- let st = Math.round(a.al * (Ze[Qe + 0] * q - ae)), Ft = Math.round(a.al * (Ze[Qe + 1] * q - he)), zt = Math.round(a.al * (Ze[Qe + 2] * q - ae)), Ct = Math.round(a.al * (Ze[Qe + 3] * q - he));
51430
+ let st = Math.round(a.al * (Ze[Qe + 0] * K - ae)), Ft = Math.round(a.al * (Ze[Qe + 1] * K - he)), zt = Math.round(a.al * (Ze[Qe + 2] * K - ae)), Ct = Math.round(a.al * (Ze[Qe + 3] * K - he));
51429
51431
  const ii = zt - st, hi = Ct - Ft;
51430
51432
  st < ke && zt < ke || (st < ke ? (Ft += Math.round(hi * ((ke - st) / ii)), st = ke) : zt < ke && (Ct = Ft + Math.round(hi * ((ke - st) / ii)), zt = ke), Ft < ke && Ct < ke || (Ft < ke ? (st += Math.round(ii * ((ke - Ft) / hi)), Ft = ke) : Ct < ke && (zt = st + Math.round(ii * ((ke - Ft) / hi)), Ct = ke), st >= Le && zt >= Le || (st >= Le ? (Ft += Math.round(hi * ((Le - st) / ii)), st = Le) : zt >= Le && (Ct = Ft + Math.round(hi * ((Le - st) / ii)), zt = Le), Ft >= Le && Ct >= Le || (Ft >= Le ? (st += Math.round(ii * ((Le - Ft) / hi)), Ft = Le) : Ct >= Le && (zt = st + Math.round(ii * ((Le - Ft) / hi)), Ct = Le), ot && st === ot[ot.length - 1][0] && Ft === ot[ot.length - 1][1] || (ot = [[st, Ft]], Re.push(ot)), ot.push([zt, Ct])))));
51431
51433
  }
51432
51434
  }
51433
- function St({ name: Ze, features: q }, ae) {
51435
+ function St({ name: Ze, features: K }, ae) {
51434
51436
  ae.writeStringField(1, Ze), ae.writeVarintField(5, a.al);
51435
51437
  const he = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new Map(), ke = { keys: he, values: Re, feature: null };
51436
- for (const Le of q)
51438
+ for (const Le of K)
51437
51439
  ke.feature = Le, ae.writeMessage(2, Ht, ke);
51438
51440
  for (const Le of he.keys())
51439
51441
  ae.writeStringField(3, Le);
51440
51442
  for (const Le of Re.keys())
51441
51443
  ae.writeMessage(4, F, Le);
51442
51444
  }
51443
- function Ht(Ze, q) {
51445
+ function Ht(Ze, K) {
51444
51446
  const ae = Ze.feature;
51445
- ae.id !== void 0 && Number.isSafeInteger(+ae.id) && q.writeVarintField(1, +ae.id), ae.tags && q.writeMessage(2, Z, Ze), q.writeVarintField(3, ae.type), q.writeMessage(4, k, ae);
51447
+ ae.id !== void 0 && Number.isSafeInteger(+ae.id) && K.writeVarintField(1, +ae.id), ae.tags && K.writeMessage(2, Z, Ze), K.writeVarintField(3, ae.type), K.writeMessage(4, k, ae);
51446
51448
  }
51447
- function Z({ keys: Ze, values: q, feature: ae }, he) {
51449
+ function Z({ keys: Ze, values: K, feature: ae }, he) {
51448
51450
  for (const Re of Object.keys(ae.tags)) {
51449
51451
  let ke = ae.tags[Re];
51450
51452
  if (ke === null)
@@ -51453,56 +51455,56 @@ ${JSON.stringify(h, null, 2)}
51453
51455
  Le === void 0 && (Le = Ze.size, Ze.set(Re, Le)), he.writeVarint(Le);
51454
51456
  const ot = typeof ke;
51455
51457
  ot !== "string" && ot !== "boolean" && ot !== "number" && (ke = JSON.stringify(ke));
51456
- let Qe = q.get(ke);
51457
- Qe === void 0 && (Qe = q.size, q.set(ke, Qe)), he.writeVarint(Qe);
51458
+ let Qe = K.get(ke);
51459
+ Qe === void 0 && (Qe = K.size, K.set(ke, Qe)), he.writeVarint(Qe);
51458
51460
  }
51459
51461
  }
51460
- function ne(Ze, q) {
51461
- return (q << 3) + (7 & Ze);
51462
+ function ne(Ze, K) {
51463
+ return (K << 3) + (7 & Ze);
51462
51464
  }
51463
51465
  function T(Ze) {
51464
51466
  return Ze << 1 ^ Ze >> 31;
51465
51467
  }
51466
- function k(Ze, q) {
51468
+ function k(Ze, K) {
51467
51469
  const { geometry: ae, type: he } = Ze;
51468
51470
  let Re = 0, ke = 0;
51469
51471
  if (he === 1) {
51470
- q.writeVarint(ne(1, ae.length));
51472
+ K.writeVarint(ne(1, ae.length));
51471
51473
  for (const Le of ae) {
51472
51474
  const ot = Le[0] - Re, Qe = Le[1] - ke;
51473
- q.writeVarint(T(ot)), q.writeVarint(T(Qe)), Re += ot, ke += Qe;
51475
+ K.writeVarint(T(ot)), K.writeVarint(T(Qe)), Re += ot, ke += Qe;
51474
51476
  }
51475
51477
  } else
51476
51478
  for (const Le of ae) {
51477
- q.writeVarint(ne(1, 1));
51479
+ K.writeVarint(ne(1, 1));
51478
51480
  const ot = Le.length - (he === 3 ? 1 : 0);
51479
51481
  for (let Qe = 0; Qe < ot; Qe++) {
51480
- Qe === 1 && q.writeVarint(ne(2, ot - 1));
51482
+ Qe === 1 && K.writeVarint(ne(2, ot - 1));
51481
51483
  const st = Le[Qe][0] - Re, Ft = Le[Qe][1] - ke;
51482
- q.writeVarint(T(st)), q.writeVarint(T(Ft)), Re += st, ke += Ft;
51484
+ K.writeVarint(T(st)), K.writeVarint(T(Ft)), Re += st, ke += Ft;
51483
51485
  }
51484
- he === 3 && q.writeVarint(ne(7, 1));
51486
+ he === 3 && K.writeVarint(ne(7, 1));
51485
51487
  }
51486
51488
  }
51487
- function F(Ze, q) {
51489
+ function F(Ze, K) {
51488
51490
  const ae = typeof Ze;
51489
- ae === "string" ? q.writeStringField(1, Ze) : ae === "boolean" ? q.writeBooleanField(7, Ze) : ae === "number" && (Ze % 1 != 0 ? q.writeDoubleField(3, Ze) : Ze < 0 ? q.writeSVarintField(6, Ze) : q.writeVarintField(5, Ze));
51491
+ ae === "string" ? K.writeStringField(1, Ze) : ae === "boolean" ? K.writeBooleanField(7, Ze) : ae === "number" && (Ze % 1 != 0 ? K.writeDoubleField(3, Ze) : Ze < 0 ? K.writeSVarintField(6, Ze) : K.writeVarintField(5, Ze));
51490
51492
  }
51491
51493
  const U = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (Ze) => Ze }, G = Math.fround || (re = new Float32Array(1), (Ze) => (re[0] = +Ze, re[0]));
51492
51494
  var re;
51493
51495
  const de = 3, ue = 5, Me = 6;
51494
51496
  class Fe {
51495
- constructor(q) {
51496
- this.options = Object.assign(Object.create(U), q), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
51497
+ constructor(K) {
51498
+ this.options = Object.assign(Object.create(U), K), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
51497
51499
  }
51498
- load(q) {
51500
+ load(K) {
51499
51501
  const { log: ae, minZoom: he, maxZoom: Re } = this.options;
51500
51502
  ae && console.time("total time");
51501
- const ke = `prepare ${q.length} points`;
51502
- ae && console.time(ke), this.points = q;
51503
+ const ke = `prepare ${K.length} points`;
51504
+ ae && console.time(ke), this.points = K;
51503
51505
  const Le = [];
51504
- for (let Qe = 0; Qe < q.length; Qe++) {
51505
- const st = q[Qe];
51506
+ for (let Qe = 0; Qe < K.length; Qe++) {
51507
+ const st = K[Qe];
51506
51508
  if (!st.geometry)
51507
51509
  continue;
51508
51510
  const [Ft, zt] = st.geometry.coordinates, Ct = G(Ke(Ft)), ii = G(Ve(zt));
@@ -51516,12 +51518,12 @@ ${JSON.stringify(h, null, 2)}
51516
51518
  }
51517
51519
  return ae && console.timeEnd("total time"), this;
51518
51520
  }
51519
- getClusters(q, ae) {
51520
- let he = ((q[0] + 180) % 360 + 360) % 360 - 180;
51521
- const Re = Math.max(-90, Math.min(90, q[1]));
51522
- let ke = q[2] === 180 ? 180 : ((q[2] + 180) % 360 + 360) % 360 - 180;
51523
- const Le = Math.max(-90, Math.min(90, q[3]));
51524
- if (q[2] - q[0] >= 360)
51521
+ getClusters(K, ae) {
51522
+ let he = ((K[0] + 180) % 360 + 360) % 360 - 180;
51523
+ const Re = Math.max(-90, Math.min(90, K[1]));
51524
+ let ke = K[2] === 180 ? 180 : ((K[2] + 180) % 360 + 360) % 360 - 180;
51525
+ const Le = Math.max(-90, Math.min(90, K[3]));
51526
+ if (K[2] - K[0] >= 360)
51525
51527
  he = -180, ke = 180;
51526
51528
  else if (he > ke) {
51527
51529
  const zt = this.getClusters([he, Re, 180, Le], ae), Ct = this.getClusters([-180, Re, ke, Le], ae);
@@ -51534,8 +51536,8 @@ ${JSON.stringify(h, null, 2)}
51534
51536
  }
51535
51537
  return Ft;
51536
51538
  }
51537
- getChildren(q) {
51538
- const ae = this._getOriginId(q), he = this._getOriginZoom(q), Re = "No cluster with the specified id.", ke = this.trees[he];
51539
+ getChildren(K) {
51540
+ const ae = this._getOriginId(K), he = this._getOriginZoom(K), Re = "No cluster with the specified id.", ke = this.trees[he];
51539
51541
  if (!ke)
51540
51542
  throw new Error(Re);
51541
51543
  const Le = ke.data;
@@ -51544,47 +51546,47 @@ ${JSON.stringify(h, null, 2)}
51544
51546
  const ot = this.options.radius / (this.options.extent * Math.pow(2, he - 1)), Qe = ke.within(Le[ae * this.stride], Le[ae * this.stride + 1], ot), st = [];
51545
51547
  for (const Ft of Qe) {
51546
51548
  const zt = Ft * this.stride;
51547
- Le[zt + 4] === q && st.push(Le[zt + ue] > 1 ? et(Le, zt, this.clusterProps) : this.points[Le[zt + de]]);
51549
+ Le[zt + 4] === K && st.push(Le[zt + ue] > 1 ? et(Le, zt, this.clusterProps) : this.points[Le[zt + de]]);
51548
51550
  }
51549
51551
  if (st.length === 0)
51550
51552
  throw new Error(Re);
51551
51553
  return st;
51552
51554
  }
51553
- getLeaves(q, ae, he) {
51555
+ getLeaves(K, ae, he) {
51554
51556
  const Re = [];
51555
- return this._appendLeaves(Re, q, ae = ae || 10, he = he || 0, 0), Re;
51557
+ return this._appendLeaves(Re, K, ae = ae || 10, he = he || 0, 0), Re;
51556
51558
  }
51557
- getTile(q, ae, he) {
51558
- const Re = this.trees[this._limitZoom(q)], ke = Math.pow(2, q), { extent: Le, radius: ot } = this.options, Qe = ot / Le, st = (he - Qe) / ke, Ft = (he + 1 + Qe) / ke, zt = { features: [] };
51559
+ getTile(K, ae, he) {
51560
+ const Re = this.trees[this._limitZoom(K)], ke = Math.pow(2, K), { extent: Le, radius: ot } = this.options, Qe = ot / Le, st = (he - Qe) / ke, Ft = (he + 1 + Qe) / ke, zt = { features: [] };
51559
51561
  return this._addTileFeatures(Re.range((ae - Qe) / ke, st, (ae + 1 + Qe) / ke, Ft), Re.data, ae, he, ke, zt), ae === 0 && this._addTileFeatures(Re.range(1 - Qe / ke, st, 1, Ft), Re.data, ke, he, ke, zt), ae === ke - 1 && this._addTileFeatures(Re.range(0, st, Qe / ke, Ft), Re.data, -1, he, ke, zt), zt.features.length ? zt : null;
51560
51562
  }
51561
- getClusterExpansionZoom(q) {
51562
- let ae = this._getOriginZoom(q) - 1;
51563
+ getClusterExpansionZoom(K) {
51564
+ let ae = this._getOriginZoom(K) - 1;
51563
51565
  for (; ae <= this.options.maxZoom; ) {
51564
- const he = this.getChildren(q);
51566
+ const he = this.getChildren(K);
51565
51567
  if (ae++, he.length !== 1)
51566
51568
  break;
51567
- q = he[0].properties.cluster_id;
51569
+ K = he[0].properties.cluster_id;
51568
51570
  }
51569
51571
  return ae;
51570
51572
  }
51571
- _appendLeaves(q, ae, he, Re, ke) {
51573
+ _appendLeaves(K, ae, he, Re, ke) {
51572
51574
  const Le = this.getChildren(ae);
51573
51575
  for (const ot of Le) {
51574
51576
  const Qe = ot.properties;
51575
- if (Qe && Qe.cluster ? ke + Qe.point_count <= Re ? ke += Qe.point_count : ke = this._appendLeaves(q, Qe.cluster_id, he, Re, ke) : ke < Re ? ke++ : q.push(ot), q.length === he)
51577
+ if (Qe && Qe.cluster ? ke + Qe.point_count <= Re ? ke += Qe.point_count : ke = this._appendLeaves(K, Qe.cluster_id, he, Re, ke) : ke < Re ? ke++ : K.push(ot), K.length === he)
51576
51578
  break;
51577
51579
  }
51578
51580
  return ke;
51579
51581
  }
51580
- _createTree(q) {
51581
- const ae = new a.c3(q.length / this.stride | 0, this.options.nodeSize, Float32Array);
51582
- for (let he = 0; he < q.length; he += this.stride)
51583
- ae.add(q[he], q[he + 1]);
51584
- return ae.finish(), ae.data = q, ae;
51582
+ _createTree(K) {
51583
+ const ae = new a.c3(K.length / this.stride | 0, this.options.nodeSize, Float32Array);
51584
+ for (let he = 0; he < K.length; he += this.stride)
51585
+ ae.add(K[he], K[he + 1]);
51586
+ return ae.finish(), ae.data = K, ae;
51585
51587
  }
51586
- _addTileFeatures(q, ae, he, Re, ke, Le) {
51587
- for (const ot of q) {
51588
+ _addTileFeatures(K, ae, he, Re, ke, Le) {
51589
+ for (const ot of K) {
51588
51590
  const Qe = ot * this.stride, st = ae[Qe + ue] > 1;
51589
51591
  let Ft, zt, Ct;
51590
51592
  if (st)
@@ -51600,16 +51602,16 @@ ${JSON.stringify(h, null, 2)}
51600
51602
  hi = st || this.options.generateId ? ae[Qe + de] : this.points[ae[Qe + de]].id, hi !== void 0 && (ii.id = hi), Le.features.push(ii);
51601
51603
  }
51602
51604
  }
51603
- _limitZoom(q) {
51604
- return Math.max(this.options.minZoom, Math.min(Math.floor(+q), this.options.maxZoom + 1));
51605
+ _limitZoom(K) {
51606
+ return Math.max(this.options.minZoom, Math.min(Math.floor(+K), this.options.maxZoom + 1));
51605
51607
  }
51606
- _cluster(q, ae) {
51607
- const { radius: he, extent: Re, reduce: ke, minPoints: Le } = this.options, ot = he / (Re * Math.pow(2, ae)), Qe = q.data, st = [], Ft = this.stride;
51608
+ _cluster(K, ae) {
51609
+ const { radius: he, extent: Re, reduce: ke, minPoints: Le } = this.options, ot = he / (Re * Math.pow(2, ae)), Qe = K.data, st = [], Ft = this.stride;
51608
51610
  for (let zt = 0; zt < Qe.length; zt += Ft) {
51609
51611
  if (Qe[zt + 2] <= ae)
51610
51612
  continue;
51611
51613
  Qe[zt + 2] = ae;
51612
- const Ct = Qe[zt], ii = Qe[zt + 1], hi = q.within(Qe[zt], Qe[zt + 1], ot), Wi = Qe[zt + ue];
51614
+ const Ct = Qe[zt], ii = Qe[zt + 1], hi = K.within(Qe[zt], Qe[zt + 1], ot), Wi = Qe[zt + ue];
51613
51615
  let fi = Wi;
51614
51616
  for (const ki of hi) {
51615
51617
  const Gi = ki * Ft;
@@ -51643,46 +51645,46 @@ ${JSON.stringify(h, null, 2)}
51643
51645
  }
51644
51646
  return st;
51645
51647
  }
51646
- _getOriginId(q) {
51647
- return q - this.points.length >> 5;
51648
+ _getOriginId(K) {
51649
+ return K - this.points.length >> 5;
51648
51650
  }
51649
- _getOriginZoom(q) {
51650
- return (q - this.points.length) % 32;
51651
+ _getOriginZoom(K) {
51652
+ return (K - this.points.length) % 32;
51651
51653
  }
51652
- _map(q, ae, he) {
51653
- if (q[ae + ue] > 1) {
51654
- const Le = this.clusterProps[q[ae + Me]];
51654
+ _map(K, ae, he) {
51655
+ if (K[ae + ue] > 1) {
51656
+ const Le = this.clusterProps[K[ae + Me]];
51655
51657
  return he ? Object.assign({}, Le) : Le;
51656
51658
  }
51657
- const Re = this.points[q[ae + de]].properties, ke = this.options.map(Re);
51659
+ const Re = this.points[K[ae + de]].properties, ke = this.options.map(Re);
51658
51660
  return he && ke === Re ? Object.assign({}, ke) : ke;
51659
51661
  }
51660
51662
  }
51661
- function et(Ze, q, ae) {
51662
- return { type: "Feature", id: Ze[q + de], properties: Ue(Ze, q, ae), geometry: { type: "Point", coordinates: [(he = Ze[q], 360 * (he - 0.5)), mt(Ze[q + 1])] } };
51663
+ function et(Ze, K, ae) {
51664
+ return { type: "Feature", id: Ze[K + de], properties: Ue(Ze, K, ae), geometry: { type: "Point", coordinates: [(he = Ze[K], 360 * (he - 0.5)), mt(Ze[K + 1])] } };
51663
51665
  var he;
51664
51666
  }
51665
- function Ue(Ze, q, ae) {
51666
- const he = Ze[q + ue], Re = he >= 1e4 ? `${Math.round(he / 1e3)}k` : he >= 1e3 ? Math.round(he / 100) / 10 + "k" : he, ke = Ze[q + Me], Le = ke === -1 ? {} : Object.assign({}, ae[ke]);
51667
- return Object.assign(Le, { cluster: !0, cluster_id: Ze[q + de], point_count: he, point_count_abbreviated: Re });
51667
+ function Ue(Ze, K, ae) {
51668
+ const he = Ze[K + ue], Re = he >= 1e4 ? `${Math.round(he / 1e3)}k` : he >= 1e3 ? Math.round(he / 100) / 10 + "k" : he, ke = Ze[K + Me], Le = ke === -1 ? {} : Object.assign({}, ae[ke]);
51669
+ return Object.assign(Le, { cluster: !0, cluster_id: Ze[K + de], point_count: he, point_count_abbreviated: Re });
51668
51670
  }
51669
51671
  function Ke(Ze) {
51670
51672
  return Ze / 360 + 0.5;
51671
51673
  }
51672
51674
  function Ve(Ze) {
51673
- const q = Math.sin(Ze * Math.PI / 180), ae = 0.5 - 0.25 * Math.log((1 + q) / (1 - q)) / Math.PI;
51675
+ const K = Math.sin(Ze * Math.PI / 180), ae = 0.5 - 0.25 * Math.log((1 + K) / (1 - K)) / Math.PI;
51674
51676
  return ae < 0 ? 0 : ae > 1 ? 1 : ae;
51675
51677
  }
51676
51678
  function mt(Ze) {
51677
- const q = (180 - 360 * Ze) * Math.PI / 180;
51678
- return 360 * Math.atan(Math.exp(q)) / Math.PI - 90;
51679
+ const K = (180 - 360 * Ze) * Math.PI / 180;
51680
+ return 360 * Math.atan(Math.exp(K)) / Math.PI - 90;
51679
51681
  }
51680
- function yt(Ze, q, ae, he) {
51682
+ function yt(Ze, K, ae, he) {
51681
51683
  let Re = he;
51682
- const ke = q + (ae - q >> 1);
51683
- let Le, ot = ae - q;
51684
- const Qe = Ze[q], st = Ze[q + 1], Ft = Ze[ae], zt = Ze[ae + 1];
51685
- for (let Ct = q + 3; Ct < ae; Ct += 3) {
51684
+ const ke = K + (ae - K >> 1);
51685
+ let Le, ot = ae - K;
51686
+ const Qe = Ze[K], st = Ze[K + 1], Ft = Ze[ae], zt = Ze[ae + 1];
51687
+ for (let Ct = K + 3; Ct < ae; Ct += 3) {
51686
51688
  const ii = Mt(Ze[Ct], Ze[Ct + 1], Qe, st, Ft, zt);
51687
51689
  if (ii > Re)
51688
51690
  Le = Ct, Re = ii;
@@ -51691,43 +51693,43 @@ ${JSON.stringify(h, null, 2)}
51691
51693
  hi < ot && (Le = Ct, ot = hi);
51692
51694
  }
51693
51695
  }
51694
- Re > he && (Le - q > 3 && yt(Ze, q, Le, he), Ze[Le + 2] = Re, ae - Le > 3 && yt(Ze, Le, ae, he));
51696
+ Re > he && (Le - K > 3 && yt(Ze, K, Le, he), Ze[Le + 2] = Re, ae - Le > 3 && yt(Ze, Le, ae, he));
51695
51697
  }
51696
- function Mt(Ze, q, ae, he, Re, ke) {
51698
+ function Mt(Ze, K, ae, he, Re, ke) {
51697
51699
  let Le = Re - ae, ot = ke - he;
51698
51700
  if (Le !== 0 || ot !== 0) {
51699
- const Qe = ((Ze - ae) * Le + (q - he) * ot) / (Le * Le + ot * ot);
51701
+ const Qe = ((Ze - ae) * Le + (K - he) * ot) / (Le * Le + ot * ot);
51700
51702
  Qe > 1 ? (ae = Re, he = ke) : Qe > 0 && (ae += Le * Qe, he += ot * Qe);
51701
51703
  }
51702
- return Le = Ze - ae, ot = q - he, Le * Le + ot * ot;
51704
+ return Le = Ze - ae, ot = K - he, Le * Le + ot * ot;
51703
51705
  }
51704
- function Et(Ze, q, ae, he) {
51705
- const Re = { id: Ze ?? null, type: q, geometry: ae, tags: he, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
51706
- if (q === "Point" || q === "MultiPoint" || q === "LineString")
51706
+ function Et(Ze, K, ae, he) {
51707
+ const Re = { id: Ze ?? null, type: K, geometry: ae, tags: he, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
51708
+ if (K === "Point" || K === "MultiPoint" || K === "LineString")
51707
51709
  di(Re, ae);
51708
- else if (q === "Polygon")
51710
+ else if (K === "Polygon")
51709
51711
  di(Re, ae[0]);
51710
- else if (q === "MultiLineString")
51712
+ else if (K === "MultiLineString")
51711
51713
  for (const ke of ae)
51712
51714
  di(Re, ke);
51713
- else if (q === "MultiPolygon")
51715
+ else if (K === "MultiPolygon")
51714
51716
  for (const ke of ae)
51715
51717
  di(Re, ke[0]);
51716
51718
  return Re;
51717
51719
  }
51718
- function di(Ze, q) {
51719
- for (let ae = 0; ae < q.length; ae += 3)
51720
- Ze.minX = Math.min(Ze.minX, q[ae]), Ze.minY = Math.min(Ze.minY, q[ae + 1]), Ze.maxX = Math.max(Ze.maxX, q[ae]), Ze.maxY = Math.max(Ze.maxY, q[ae + 1]);
51720
+ function di(Ze, K) {
51721
+ for (let ae = 0; ae < K.length; ae += 3)
51722
+ Ze.minX = Math.min(Ze.minX, K[ae]), Ze.minY = Math.min(Ze.minY, K[ae + 1]), Ze.maxX = Math.max(Ze.maxX, K[ae]), Ze.maxY = Math.max(Ze.maxY, K[ae + 1]);
51721
51723
  }
51722
- function qt(Ze, q, ae, he) {
51723
- if (!q.geometry)
51724
+ function qt(Ze, K, ae, he) {
51725
+ if (!K.geometry)
51724
51726
  return;
51725
- const Re = q.geometry.coordinates;
51727
+ const Re = K.geometry.coordinates;
51726
51728
  if (Re && Re.length === 0)
51727
51729
  return;
51728
- const ke = q.geometry.type, Le = Math.pow(ae.tolerance / ((1 << ae.maxZoom) * ae.extent), 2);
51729
- let ot = [], Qe = q.id;
51730
- if (ae.promoteId ? Qe = q.properties[ae.promoteId] : ae.generateId && (Qe = he || 0), ke === "Point")
51730
+ const ke = K.geometry.type, Le = Math.pow(ae.tolerance / ((1 << ae.maxZoom) * ae.extent), 2);
51731
+ let ot = [], Qe = K.id;
51732
+ if (ae.promoteId ? Qe = K.properties[ae.promoteId] : ae.generateId && (Qe = he || 0), ke === "Point")
51731
51733
  ui(Re, ot);
51732
51734
  else if (ke === "MultiPoint")
51733
51735
  for (const st of Re)
@@ -51737,7 +51739,7 @@ ${JSON.stringify(h, null, 2)}
51737
51739
  else if (ke === "MultiLineString") {
51738
51740
  if (ae.lineMetrics) {
51739
51741
  for (const st of Re)
51740
- ot = [], Wt(st, ot, Le, !1), Ze.push(Et(Qe, "LineString", ot, q.properties));
51742
+ ot = [], Wt(st, ot, Le, !1), Ze.push(Et(Qe, "LineString", ot, K.properties));
51741
51743
  return;
51742
51744
  }
51743
51745
  wi(Re, ot, Le, !1);
@@ -51746,8 +51748,8 @@ ${JSON.stringify(h, null, 2)}
51746
51748
  else {
51747
51749
  if (ke !== "MultiPolygon") {
51748
51750
  if (ke === "GeometryCollection") {
51749
- for (const st of q.geometry.geometries)
51750
- qt(Ze, { id: Qe, geometry: st, properties: q.properties }, ae, he);
51751
+ for (const st of K.geometry.geometries)
51752
+ qt(Ze, { id: Qe, geometry: st, properties: K.properties }, ae, he);
51751
51753
  return;
51752
51754
  }
51753
51755
  throw new Error("Input data is not a valid GeoJSON object.");
@@ -51757,35 +51759,35 @@ ${JSON.stringify(h, null, 2)}
51757
51759
  wi(st, Ft, Le, !0), ot.push(Ft);
51758
51760
  }
51759
51761
  }
51760
- Ze.push(Et(Qe, ke, ot, q.properties));
51762
+ Ze.push(Et(Qe, ke, ot, K.properties));
51761
51763
  }
51762
- function ui(Ze, q) {
51763
- q.push(Ei(Ze[0]), jt(Ze[1]), 0);
51764
+ function ui(Ze, K) {
51765
+ K.push(Ei(Ze[0]), jt(Ze[1]), 0);
51764
51766
  }
51765
- function Wt(Ze, q, ae, he) {
51767
+ function Wt(Ze, K, ae, he) {
51766
51768
  let Re, ke, Le = 0;
51767
51769
  for (let Qe = 0; Qe < Ze.length; Qe++) {
51768
51770
  const st = Ei(Ze[Qe][0]), Ft = jt(Ze[Qe][1]);
51769
- q.push(st, Ft, 0), Qe > 0 && (Le += he ? (Re * Ft - st * ke) / 2 : Math.sqrt(Math.pow(st - Re, 2) + Math.pow(Ft - ke, 2))), Re = st, ke = Ft;
51771
+ K.push(st, Ft, 0), Qe > 0 && (Le += he ? (Re * Ft - st * ke) / 2 : Math.sqrt(Math.pow(st - Re, 2) + Math.pow(Ft - ke, 2))), Re = st, ke = Ft;
51770
51772
  }
51771
- const ot = q.length - 3;
51772
- q[2] = 1, yt(q, 0, ot, ae), q[ot + 2] = 1, q.size = Math.abs(Le), q.start = 0, q.end = q.size;
51773
+ const ot = K.length - 3;
51774
+ K[2] = 1, yt(K, 0, ot, ae), K[ot + 2] = 1, K.size = Math.abs(Le), K.start = 0, K.end = K.size;
51773
51775
  }
51774
- function wi(Ze, q, ae, he) {
51776
+ function wi(Ze, K, ae, he) {
51775
51777
  for (let Re = 0; Re < Ze.length; Re++) {
51776
51778
  const ke = [];
51777
- Wt(Ze[Re], ke, ae, he), q.push(ke);
51779
+ Wt(Ze[Re], ke, ae, he), K.push(ke);
51778
51780
  }
51779
51781
  }
51780
51782
  function Ei(Ze) {
51781
51783
  return Ze / 360 + 0.5;
51782
51784
  }
51783
51785
  function jt(Ze) {
51784
- const q = Math.sin(Ze * Math.PI / 180), ae = 0.5 - 0.25 * Math.log((1 + q) / (1 - q)) / Math.PI;
51786
+ const K = Math.sin(Ze * Math.PI / 180), ae = 0.5 - 0.25 * Math.log((1 + K) / (1 - K)) / Math.PI;
51785
51787
  return ae < 0 ? 0 : ae > 1 ? 1 : ae;
51786
51788
  }
51787
- function kt(Ze, q, ae, he, Re, ke, Le, ot) {
51788
- if (he /= q, ke >= (ae /= q) && Le < he)
51789
+ function kt(Ze, K, ae, he, Re, ke, Le, ot) {
51790
+ if (he /= K, ke >= (ae /= K) && Le < he)
51789
51791
  return Ze;
51790
51792
  if (Le < ae || ke >= he)
51791
51793
  return null;
@@ -51825,61 +51827,61 @@ ${JSON.stringify(h, null, 2)}
51825
51827
  }
51826
51828
  return Qe.length ? Qe : null;
51827
51829
  }
51828
- function Pi(Ze, q, ae, he, Re) {
51830
+ function Pi(Ze, K, ae, he, Re) {
51829
51831
  for (let ke = 0; ke < Ze.length; ke += 3) {
51830
51832
  const Le = Ze[ke + Re];
51831
- Le >= ae && Le <= he && fn(q, Ze[ke], Ze[ke + 1], Ze[ke + 2]);
51833
+ Le >= ae && Le <= he && fn(K, Ze[ke], Ze[ke + 1], Ze[ke + 2]);
51832
51834
  }
51833
51835
  }
51834
- function Ai(Ze, q, ae, he, Re, ke, Le) {
51836
+ function Ai(Ze, K, ae, he, Re, ke, Le) {
51835
51837
  let ot = $i(Ze);
51836
51838
  const Qe = Re === 0 ? tn : On;
51837
51839
  let st, Ft, zt = Ze.start;
51838
51840
  for (let fi = 0; fi < Ze.length - 3; fi += 3) {
51839
51841
  const ki = Ze[fi], Gi = Ze[fi + 1], vi = Ze[fi + 2], ji = Ze[fi + 3], Zi = Ze[fi + 4], un = Re === 0 ? ki : Gi, gn = Re === 0 ? ji : Zi;
51840
51842
  let zn = !1;
51841
- Le && (st = Math.sqrt(Math.pow(ki - ji, 2) + Math.pow(Gi - Zi, 2))), un < ae ? gn > ae && (Ft = Qe(ot, ki, Gi, ji, Zi, ae), Le && (ot.start = zt + st * Ft)) : un > he ? gn < he && (Ft = Qe(ot, ki, Gi, ji, Zi, he), Le && (ot.start = zt + st * Ft)) : fn(ot, ki, Gi, vi), gn < ae && un >= ae && (Ft = Qe(ot, ki, Gi, ji, Zi, ae), zn = !0), gn > he && un <= he && (Ft = Qe(ot, ki, Gi, ji, Zi, he), zn = !0), !ke && zn && (Le && (ot.end = zt + st * Ft), q.push(ot), ot = $i(Ze)), Le && (zt += st);
51843
+ Le && (st = Math.sqrt(Math.pow(ki - ji, 2) + Math.pow(Gi - Zi, 2))), un < ae ? gn > ae && (Ft = Qe(ot, ki, Gi, ji, Zi, ae), Le && (ot.start = zt + st * Ft)) : un > he ? gn < he && (Ft = Qe(ot, ki, Gi, ji, Zi, he), Le && (ot.start = zt + st * Ft)) : fn(ot, ki, Gi, vi), gn < ae && un >= ae && (Ft = Qe(ot, ki, Gi, ji, Zi, ae), zn = !0), gn > he && un <= he && (Ft = Qe(ot, ki, Gi, ji, Zi, he), zn = !0), !ke && zn && (Le && (ot.end = zt + st * Ft), K.push(ot), ot = $i(Ze)), Le && (zt += st);
51842
51844
  }
51843
51845
  let Ct = Ze.length - 3;
51844
51846
  const ii = Ze[Ct], hi = Ze[Ct + 1], Wi = Re === 0 ? ii : hi;
51845
- Wi >= ae && Wi <= he && fn(ot, ii, hi, Ze[Ct + 2]), Ct = ot.length - 3, ke && Ct >= 3 && (ot[Ct] !== ot[0] || ot[Ct + 1] !== ot[1]) && fn(ot, ot[0], ot[1], ot[2]), ot.length && q.push(ot);
51847
+ Wi >= ae && Wi <= he && fn(ot, ii, hi, Ze[Ct + 2]), Ct = ot.length - 3, ke && Ct >= 3 && (ot[Ct] !== ot[0] || ot[Ct + 1] !== ot[1]) && fn(ot, ot[0], ot[1], ot[2]), ot.length && K.push(ot);
51846
51848
  }
51847
51849
  function $i(Ze) {
51848
- const q = [];
51849
- return q.size = Ze.size, q.start = Ze.start, q.end = Ze.end, q;
51850
+ const K = [];
51851
+ return K.size = Ze.size, K.start = Ze.start, K.end = Ze.end, K;
51850
51852
  }
51851
- function xn(Ze, q, ae, he, Re, ke) {
51853
+ function xn(Ze, K, ae, he, Re, ke) {
51852
51854
  for (const Le of Ze)
51853
- Ai(Le, q, ae, he, Re, ke, !1);
51855
+ Ai(Le, K, ae, he, Re, ke, !1);
51854
51856
  }
51855
- function fn(Ze, q, ae, he) {
51856
- Ze.push(q, ae, he);
51857
+ function fn(Ze, K, ae, he) {
51858
+ Ze.push(K, ae, he);
51857
51859
  }
51858
- function tn(Ze, q, ae, he, Re, ke) {
51859
- const Le = (ke - q) / (he - q);
51860
+ function tn(Ze, K, ae, he, Re, ke) {
51861
+ const Le = (ke - K) / (he - K);
51860
51862
  return fn(Ze, ke, ae + (Re - ae) * Le, 1), Le;
51861
51863
  }
51862
- function On(Ze, q, ae, he, Re, ke) {
51864
+ function On(Ze, K, ae, he, Re, ke) {
51863
51865
  const Le = (ke - ae) / (Re - ae);
51864
- return fn(Ze, q + (he - q) * Le, ke, 1), Le;
51866
+ return fn(Ze, K + (he - K) * Le, ke, 1), Le;
51865
51867
  }
51866
- function vt(Ze, q) {
51868
+ function vt(Ze, K) {
51867
51869
  const ae = [];
51868
51870
  for (let he = 0; he < Ze.length; he++) {
51869
51871
  const Re = Ze[he], ke = Re.type;
51870
51872
  let Le;
51871
51873
  if (ke === "Point" || ke === "MultiPoint" || ke === "LineString")
51872
- Le = ft(Re.geometry, q);
51874
+ Le = ft(Re.geometry, K);
51873
51875
  else if (ke === "MultiLineString" || ke === "Polygon") {
51874
51876
  Le = [];
51875
51877
  for (const ot of Re.geometry)
51876
- Le.push(ft(ot, q));
51878
+ Le.push(ft(ot, K));
51877
51879
  } else if (ke === "MultiPolygon") {
51878
51880
  Le = [];
51879
51881
  for (const ot of Re.geometry) {
51880
51882
  const Qe = [];
51881
51883
  for (const st of ot)
51882
- Qe.push(ft(st, q));
51884
+ Qe.push(ft(st, K));
51883
51885
  Le.push(Qe);
51884
51886
  }
51885
51887
  }
@@ -51887,14 +51889,14 @@ ${JSON.stringify(h, null, 2)}
51887
51889
  }
51888
51890
  return ae;
51889
51891
  }
51890
- function ft(Ze, q) {
51892
+ function ft(Ze, K) {
51891
51893
  const ae = [];
51892
51894
  ae.size = Ze.size, Ze.start !== void 0 && (ae.start = Ze.start, ae.end = Ze.end);
51893
51895
  for (let he = 0; he < Ze.length; he += 3)
51894
- ae.push(Ze[he] + q, Ze[he + 1], Ze[he + 2]);
51896
+ ae.push(Ze[he] + K, Ze[he + 1], Ze[he + 2]);
51895
51897
  return ae;
51896
51898
  }
51897
- function si(Ze, q) {
51899
+ function si(Ze, K) {
51898
51900
  if (Ze.transformed)
51899
51901
  return Ze;
51900
51902
  const ae = 1 << Ze.z, he = Ze.x, Re = Ze.y;
@@ -51902,29 +51904,29 @@ ${JSON.stringify(h, null, 2)}
51902
51904
  const Le = ke.geometry, ot = ke.type;
51903
51905
  if (ke.geometry = [], ot === 1)
51904
51906
  for (let Qe = 0; Qe < Le.length; Qe += 2)
51905
- ke.geometry.push(Zt(Le[Qe], Le[Qe + 1], q, ae, he, Re));
51907
+ ke.geometry.push(Zt(Le[Qe], Le[Qe + 1], K, ae, he, Re));
51906
51908
  else
51907
51909
  for (let Qe = 0; Qe < Le.length; Qe++) {
51908
51910
  const st = [];
51909
51911
  for (let Ft = 0; Ft < Le[Qe].length; Ft += 2)
51910
- st.push(Zt(Le[Qe][Ft], Le[Qe][Ft + 1], q, ae, he, Re));
51912
+ st.push(Zt(Le[Qe][Ft], Le[Qe][Ft + 1], K, ae, he, Re));
51911
51913
  ke.geometry.push(st);
51912
51914
  }
51913
51915
  }
51914
51916
  return Ze.transformed = !0, Ze;
51915
51917
  }
51916
- function Zt(Ze, q, ae, he, Re, ke) {
51917
- return [Math.round(ae * (Ze * he - Re)), Math.round(ae * (q * he - ke))];
51918
+ function Zt(Ze, K, ae, he, Re, ke) {
51919
+ return [Math.round(ae * (Ze * he - Re)), Math.round(ae * (K * he - ke))];
51918
51920
  }
51919
- function ti(Ze, q, ae, he, Re) {
51920
- const ke = q === Re.maxZoom ? 0 : Re.tolerance / ((1 << q) * Re.extent), Le = { features: [], numPoints: 0, numSimplified: 0, numFeatures: Ze.length, source: null, x: ae, y: he, z: q, transformed: !1, minX: 2, minY: 1, maxX: -1, maxY: 0 };
51921
+ function ti(Ze, K, ae, he, Re) {
51922
+ const ke = K === Re.maxZoom ? 0 : Re.tolerance / ((1 << K) * Re.extent), Le = { features: [], numPoints: 0, numSimplified: 0, numFeatures: Ze.length, source: null, x: ae, y: he, z: K, transformed: !1, minX: 2, minY: 1, maxX: -1, maxY: 0 };
51921
51923
  for (const ot of Ze)
51922
51924
  yi(Le, ot, ke, Re);
51923
51925
  return Le;
51924
51926
  }
51925
- function yi(Ze, q, ae, he) {
51926
- const Re = q.geometry, ke = q.type, Le = [];
51927
- if (Ze.minX = Math.min(Ze.minX, q.minX), Ze.minY = Math.min(Ze.minY, q.minY), Ze.maxX = Math.max(Ze.maxX, q.maxX), Ze.maxY = Math.max(Ze.maxY, q.maxY), ke === "Point" || ke === "MultiPoint")
51927
+ function yi(Ze, K, ae, he) {
51928
+ const Re = K.geometry, ke = K.type, Le = [];
51929
+ if (Ze.minX = Math.min(Ze.minX, K.minX), Ze.minY = Math.min(Ze.minY, K.minY), Ze.maxX = Math.max(Ze.maxX, K.maxX), Ze.maxY = Math.max(Ze.maxY, K.maxY), ke === "Point" || ke === "MultiPoint")
51928
51930
  for (let ot = 0; ot < Re.length; ot += 3)
51929
51931
  Le.push(Re[ot], Re[ot + 1]), Ze.numPoints++, Ze.numSimplified++;
51930
51932
  else if (ke === "LineString")
@@ -51939,24 +51941,24 @@ ${JSON.stringify(h, null, 2)}
51939
51941
  Di(Le, Qe[st], Ze, ae, !0, st === 0);
51940
51942
  }
51941
51943
  if (Le.length) {
51942
- let ot = q.tags || null;
51944
+ let ot = K.tags || null;
51943
51945
  if (ke === "LineString" && he.lineMetrics) {
51944
51946
  ot = {};
51945
- for (const st in q.tags)
51946
- ot[st] = q.tags[st];
51947
+ for (const st in K.tags)
51948
+ ot[st] = K.tags[st];
51947
51949
  ot.mapbox_clip_start = Re.start / Re.size, ot.mapbox_clip_end = Re.end / Re.size;
51948
51950
  }
51949
51951
  const Qe = { geometry: Le, type: ke === "Polygon" || ke === "MultiPolygon" ? 3 : ke === "LineString" || ke === "MultiLineString" ? 2 : 1, tags: ot };
51950
- q.id !== null && (Qe.id = q.id), Ze.features.push(Qe);
51952
+ K.id !== null && (Qe.id = K.id), Ze.features.push(Qe);
51951
51953
  }
51952
51954
  }
51953
- function Di(Ze, q, ae, he, Re, ke) {
51955
+ function Di(Ze, K, ae, he, Re, ke) {
51954
51956
  const Le = he * he;
51955
- if (he > 0 && q.size < (Re ? Le : he))
51956
- return void (ae.numPoints += q.length / 3);
51957
+ if (he > 0 && K.size < (Re ? Le : he))
51958
+ return void (ae.numPoints += K.length / 3);
51957
51959
  const ot = [];
51958
- for (let Qe = 0; Qe < q.length; Qe += 3)
51959
- (he === 0 || q[Qe + 2] > Le) && (ae.numSimplified++, ot.push(q[Qe], q[Qe + 1])), ae.numPoints++;
51960
+ for (let Qe = 0; Qe < K.length; Qe += 3)
51961
+ (he === 0 || K[Qe + 2] > Le) && (ae.numSimplified++, ot.push(K[Qe], K[Qe + 1])), ae.numPoints++;
51960
51962
  Re && function(Qe, st) {
51961
51963
  let Ft = 0;
51962
51964
  for (let zt = 0, Ct = Qe.length, ii = Ct - 2; zt < Ct; ii = zt, zt += 2)
@@ -51970,7 +51972,7 @@ ${JSON.stringify(h, null, 2)}
51970
51972
  }
51971
51973
  const Qi = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 };
51972
51974
  class cn {
51973
- constructor(q, ae) {
51975
+ constructor(K, ae) {
51974
51976
  const he = (ae = this.options = function(ke, Le) {
51975
51977
  for (const ot in Le)
51976
51978
  ke[ot] = Le[ot];
@@ -51988,7 +51990,7 @@ ${JSON.stringify(h, null, 2)}
51988
51990
  else
51989
51991
  qt(ot, ke.type === "Feature" ? ke : { geometry: ke }, Le);
51990
51992
  return ot;
51991
- }(q, ae);
51993
+ }(K, ae);
51992
51994
  this.tiles = {}, this.tileCoords = [], he && (console.timeEnd("preprocess data"), console.log("index: maxZoom: %d, maxPoints: %d", ae.indexMaxZoom, ae.indexMaxPoints), console.time("generate tiles"), this.stats = {}, this.total = 0), Re = function(ke, Le) {
51993
51995
  const ot = Le.buffer / Le.extent;
51994
51996
  let Qe = ke;
@@ -51996,18 +51998,18 @@ ${JSON.stringify(h, null, 2)}
51996
51998
  return (st || Ft) && (Qe = kt(ke, 1, -ot, 1 + ot, 0, -1, 2, Le) || [], st && (Qe = vt(st, 1).concat(Qe)), Ft && (Qe = Qe.concat(vt(Ft, -1)))), Qe;
51997
51999
  }(Re, ae), Re.length && this.splitTile(Re, 0, 0, 0), he && (Re.length && console.log("features: %d, points: %d", this.tiles[0].numFeatures, this.tiles[0].numPoints), console.timeEnd("generate tiles"), console.log("tiles generated:", this.total, JSON.stringify(this.stats)));
51998
52000
  }
51999
- splitTile(q, ae, he, Re, ke, Le, ot) {
52000
- const Qe = [q, ae, he, Re], st = this.options, Ft = st.debug;
52001
+ splitTile(K, ae, he, Re, ke, Le, ot) {
52002
+ const Qe = [K, ae, he, Re], st = this.options, Ft = st.debug;
52001
52003
  for (; Qe.length; ) {
52002
- Re = Qe.pop(), he = Qe.pop(), ae = Qe.pop(), q = Qe.pop();
52004
+ Re = Qe.pop(), he = Qe.pop(), ae = Qe.pop(), K = Qe.pop();
52003
52005
  const zt = 1 << ae, Ct = Ji(ae, he, Re);
52004
52006
  let ii = this.tiles[Ct];
52005
- if (!ii && (Ft > 1 && console.time("creation"), ii = this.tiles[Ct] = ti(q, ae, he, Re, st), this.tileCoords.push({ z: ae, x: he, y: Re }), Ft)) {
52007
+ if (!ii && (Ft > 1 && console.time("creation"), ii = this.tiles[Ct] = ti(K, ae, he, Re, st), this.tileCoords.push({ z: ae, x: he, y: Re }), Ft)) {
52006
52008
  Ft > 1 && (console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)", ae, he, Re, ii.numFeatures, ii.numPoints, ii.numSimplified), console.timeEnd("creation"));
52007
52009
  const zn = `z${ae}`;
52008
52010
  this.stats[zn] = (this.stats[zn] || 0) + 1, this.total++;
52009
52011
  }
52010
- if (ii.source = q, ke == null) {
52012
+ if (ii.source = K, ke == null) {
52011
52013
  if (ae === st.indexMaxZoom || ii.numPoints <= st.indexMaxPoints)
52012
52014
  continue;
52013
52015
  } else {
@@ -52019,39 +52021,39 @@ ${JSON.stringify(h, null, 2)}
52019
52021
  continue;
52020
52022
  }
52021
52023
  }
52022
- if (ii.source = null, q.length === 0)
52024
+ if (ii.source = null, K.length === 0)
52023
52025
  continue;
52024
52026
  Ft > 1 && console.time("clipping");
52025
52027
  const hi = 0.5 * st.buffer / st.extent, Wi = 0.5 - hi, fi = 0.5 + hi, ki = 1 + hi;
52026
- let Gi = null, vi = null, ji = null, Zi = null, un = kt(q, zt, he - hi, he + fi, 0, ii.minX, ii.maxX, st), gn = kt(q, zt, he + Wi, he + ki, 0, ii.minX, ii.maxX, st);
52027
- q = null, un && (Gi = kt(un, zt, Re - hi, Re + fi, 1, ii.minY, ii.maxY, st), vi = kt(un, zt, Re + Wi, Re + ki, 1, ii.minY, ii.maxY, st), un = null), gn && (ji = kt(gn, zt, Re - hi, Re + fi, 1, ii.minY, ii.maxY, st), Zi = kt(gn, zt, Re + Wi, Re + ki, 1, ii.minY, ii.maxY, st), gn = null), Ft > 1 && console.timeEnd("clipping"), Qe.push(Gi || [], ae + 1, 2 * he, 2 * Re), Qe.push(vi || [], ae + 1, 2 * he, 2 * Re + 1), Qe.push(ji || [], ae + 1, 2 * he + 1, 2 * Re), Qe.push(Zi || [], ae + 1, 2 * he + 1, 2 * Re + 1);
52028
+ let Gi = null, vi = null, ji = null, Zi = null, un = kt(K, zt, he - hi, he + fi, 0, ii.minX, ii.maxX, st), gn = kt(K, zt, he + Wi, he + ki, 0, ii.minX, ii.maxX, st);
52029
+ K = null, un && (Gi = kt(un, zt, Re - hi, Re + fi, 1, ii.minY, ii.maxY, st), vi = kt(un, zt, Re + Wi, Re + ki, 1, ii.minY, ii.maxY, st), un = null), gn && (ji = kt(gn, zt, Re - hi, Re + fi, 1, ii.minY, ii.maxY, st), Zi = kt(gn, zt, Re + Wi, Re + ki, 1, ii.minY, ii.maxY, st), gn = null), Ft > 1 && console.timeEnd("clipping"), Qe.push(Gi || [], ae + 1, 2 * he, 2 * Re), Qe.push(vi || [], ae + 1, 2 * he, 2 * Re + 1), Qe.push(ji || [], ae + 1, 2 * he + 1, 2 * Re), Qe.push(Zi || [], ae + 1, 2 * he + 1, 2 * Re + 1);
52028
52030
  }
52029
52031
  }
52030
- getTile(q, ae, he) {
52031
- q = +q, ae = +ae, he = +he;
52032
+ getTile(K, ae, he) {
52033
+ K = +K, ae = +ae, he = +he;
52032
52034
  const Re = this.options, { extent: ke, debug: Le } = Re;
52033
- if (q < 0 || q > 24)
52035
+ if (K < 0 || K > 24)
52034
52036
  return null;
52035
- const ot = 1 << q, Qe = Ji(q, ae = ae + ot & ot - 1, he);
52037
+ const ot = 1 << K, Qe = Ji(K, ae = ae + ot & ot - 1, he);
52036
52038
  if (this.tiles[Qe])
52037
52039
  return si(this.tiles[Qe], ke);
52038
- Le > 1 && console.log("drilling down to z%d-%d-%d", q, ae, he);
52039
- let st, Ft = q, zt = ae, Ct = he;
52040
+ Le > 1 && console.log("drilling down to z%d-%d-%d", K, ae, he);
52041
+ let st, Ft = K, zt = ae, Ct = he;
52040
52042
  for (; !st && Ft > 0; )
52041
52043
  Ft--, zt >>= 1, Ct >>= 1, st = this.tiles[Ji(Ft, zt, Ct)];
52042
- return st && st.source ? (Le > 1 && (console.log("found parent tile z%d-%d-%d", Ft, zt, Ct), console.time("drilling down")), this.splitTile(st.source, Ft, zt, Ct, q, ae, he), Le > 1 && console.timeEnd("drilling down"), this.tiles[Qe] ? si(this.tiles[Qe], ke) : null) : null;
52044
+ return st && st.source ? (Le > 1 && (console.log("found parent tile z%d-%d-%d", Ft, zt, Ct), console.time("drilling down")), this.splitTile(st.source, Ft, zt, Ct, K, ae, he), Le > 1 && console.timeEnd("drilling down"), this.tiles[Qe] ? si(this.tiles[Qe], ke) : null) : null;
52043
52045
  }
52044
52046
  }
52045
- function Ji(Ze, q, ae) {
52046
- return 32 * ((1 << Ze) * ae + q) + Ze;
52047
+ function Ji(Ze, K, ae) {
52048
+ return 32 * ((1 << Ze) * ae + K) + Ze;
52047
52049
  }
52048
- function wn(Ze, q) {
52050
+ function wn(Ze, K) {
52049
52051
  const ae = Ze.tileID.canonical;
52050
52052
  if (!this._geoJSONIndex)
52051
- return void q(null, null);
52053
+ return void K(null, null);
52052
52054
  const he = this._geoJSONIndex.getTile(ae.z, ae.x, ae.y);
52053
52055
  if (!he)
52054
- return void q(null, null);
52056
+ return void K(null, null);
52055
52057
  const Re = (st) => st.tags && "3d_elevation_id" in st.tags && "source" in st.tags && st.tags.source === "elevation", ke = he.features.filter((st) => Re(st));
52056
52058
  let Le = { _geojsonTileLayer: he.features };
52057
52059
  ke.length > 0 && (Le = { _geojsonTileLayer: he.features.filter((st) => !Re(st)), hd_road_elevation: ke });
@@ -52061,28 +52063,28 @@ ${JSON.stringify(h, null, 2)}
52061
52063
  Ft.writeMessage(3, St, { name: zt, features: st[zt] });
52062
52064
  return Ft.finish();
52063
52065
  }(Le).buffer;
52064
- q(null, { vectorTile: ot, rawData: Qe });
52066
+ K(null, { vectorTile: ot, rawData: Qe });
52065
52067
  }
52066
52068
  class Dt extends $e {
52067
- constructor(q, ae, he, Re, ke, Le, ot) {
52068
- super(q, ae, he, Re, ke, wn, ot), Le && (this.loadGeoJSON = Le), this._dynamicIndex = new xt();
52069
+ constructor(K, ae, he, Re, ke, Le, ot) {
52070
+ super(K, ae, he, Re, ke, wn, ot), Le && (this.loadGeoJSON = Le), this._dynamicIndex = new xt();
52069
52071
  }
52070
- loadData(q, ae) {
52071
- const he = q && q.request, Re = he && he.collectResourceTiming;
52072
- this._geoJSONIndex = null, this.loadGeoJSON(q, (ke, Le) => {
52072
+ loadData(K, ae) {
52073
+ const he = K && K.request, Re = he && he.collectResourceTiming;
52074
+ this._geoJSONIndex = null, this.loadGeoJSON(K, (ke, Le) => {
52073
52075
  if (ke || !Le)
52074
52076
  return ae(ke);
52075
52077
  if (typeof Le != "object")
52076
- return ae(new Error(`Input data given to '${q.source}' is not a valid GeoJSON object.`));
52078
+ return ae(new Error(`Input data given to '${K.source}' is not a valid GeoJSON object.`));
52077
52079
  {
52078
52080
  try {
52079
- if (q.filter) {
52080
- const Qe = a.U(q.filter, { type: "boolean", "property-type": "data-driven", overridable: !1, transition: !1 });
52081
+ if (K.filter) {
52082
+ const Qe = a.U(K.filter, { type: "boolean", "property-type": "data-driven", overridable: !1, transition: !1 });
52081
52083
  if (Qe.result === "error")
52082
52084
  throw new Error(Qe.value.map((st) => `${st.key}: ${st.message}`).join(", "));
52083
52085
  Le.features = Le.features.filter((st) => Qe.value.evaluate({ zoom: 0 }, st));
52084
52086
  }
52085
- q.dynamic ? (Le.type === "Feature" && (Le = { type: "FeatureCollection", features: [Le] }), q.append || (this._dynamicIndex.clear(), this.loaded = {}), this._dynamicIndex.load(Le.features, this.loaded), q.cluster && (Le.features = this._dynamicIndex.getFeatures())) : this.loaded = {}, this._geoJSONIndex = q.cluster ? new Fe(function({ superclusterOptions: Qe, clusterProperties: st }) {
52087
+ K.dynamic ? (Le.type === "Feature" && (Le = { type: "FeatureCollection", features: [Le] }), K.append || (this._dynamicIndex.clear(), this.loaded = {}), this._dynamicIndex.load(Le.features, this.loaded), K.cluster && (Le.features = this._dynamicIndex.getFeatures())) : this.loaded = {}, this._geoJSONIndex = K.cluster ? new Fe(function({ superclusterOptions: Qe, clusterProperties: st }) {
52086
52088
  if (!st || !Qe)
52087
52089
  return Qe;
52088
52090
  const Ft = {}, zt = {}, Ct = { accumulated: null, zoom: 0 }, ii = { properties: null }, hi = Object.keys(st);
@@ -52101,70 +52103,70 @@ ${JSON.stringify(h, null, 2)}
52101
52103
  for (const ki of hi)
52102
52104
  Ct.accumulated = Wi[ki], Wi[ki] = zt[ki].evaluate(Ct, ii);
52103
52105
  }, Qe;
52104
- }(q)).load(Le.features) : q.dynamic ? this._dynamicIndex : function(Qe, st) {
52106
+ }(K)).load(Le.features) : K.dynamic ? this._dynamicIndex : function(Qe, st) {
52105
52107
  return new cn(Qe, st);
52106
- }(Le, q.geojsonVtOptions);
52108
+ }(Le, K.geojsonVtOptions);
52107
52109
  } catch (Qe) {
52108
52110
  return ae(Qe);
52109
52111
  }
52110
52112
  const ot = {};
52111
52113
  if (Re) {
52112
52114
  const Qe = E(he);
52113
- Qe && (ot.resourceTiming = {}, ot.resourceTiming[q.source] = JSON.parse(JSON.stringify(Qe)));
52115
+ Qe && (ot.resourceTiming = {}, ot.resourceTiming[K.source] = JSON.parse(JSON.stringify(Qe)));
52114
52116
  }
52115
52117
  ae(null, ot);
52116
52118
  }
52117
52119
  });
52118
52120
  }
52119
- reloadTile(q, ae) {
52121
+ reloadTile(K, ae) {
52120
52122
  const he = this.loaded;
52121
- return he && he[q.uid] ? q.partial ? ae(null, void 0) : super.reloadTile(q, ae) : this.loadTile(q, ae);
52123
+ return he && he[K.uid] ? K.partial ? ae(null, void 0) : super.reloadTile(K, ae) : this.loadTile(K, ae);
52122
52124
  }
52123
- loadGeoJSON(q, ae) {
52124
- if (q.request)
52125
- a.m(q.request, ae);
52125
+ loadGeoJSON(K, ae) {
52126
+ if (K.request)
52127
+ a.m(K.request, ae);
52126
52128
  else {
52127
- if (typeof q.data != "string")
52128
- return ae(new Error(`Input data given to '${q.source}' is not a valid GeoJSON object.`));
52129
+ if (typeof K.data != "string")
52130
+ return ae(new Error(`Input data given to '${K.source}' is not a valid GeoJSON object.`));
52129
52131
  setTimeout(() => {
52130
52132
  try {
52131
- return ae(null, JSON.parse(q.data));
52133
+ return ae(null, JSON.parse(K.data));
52132
52134
  } catch {
52133
- return ae(new Error(`Input data given to '${q.source}' is not a valid GeoJSON object.`));
52135
+ return ae(new Error(`Input data given to '${K.source}' is not a valid GeoJSON object.`));
52134
52136
  }
52135
52137
  }, 0);
52136
52138
  }
52137
52139
  }
52138
- getClusterExpansionZoom(q, ae) {
52140
+ getClusterExpansionZoom(K, ae) {
52139
52141
  try {
52140
- ae(null, this._geoJSONIndex.getClusterExpansionZoom(q.clusterId));
52142
+ ae(null, this._geoJSONIndex.getClusterExpansionZoom(K.clusterId));
52141
52143
  } catch (he) {
52142
52144
  ae(he);
52143
52145
  }
52144
52146
  }
52145
- getClusterChildren(q, ae) {
52147
+ getClusterChildren(K, ae) {
52146
52148
  try {
52147
- ae(null, this._geoJSONIndex.getChildren(q.clusterId));
52149
+ ae(null, this._geoJSONIndex.getChildren(K.clusterId));
52148
52150
  } catch (he) {
52149
52151
  ae(he);
52150
52152
  }
52151
52153
  }
52152
- getClusterLeaves(q, ae) {
52154
+ getClusterLeaves(K, ae) {
52153
52155
  try {
52154
- ae(null, this._geoJSONIndex.getLeaves(q.clusterId, q.limit, q.offset));
52156
+ ae(null, this._geoJSONIndex.getLeaves(K.clusterId, K.limit, K.offset));
52155
52157
  } catch (he) {
52156
52158
  ae(he);
52157
52159
  }
52158
52160
  }
52159
52161
  }
52160
52162
  class Vn {
52161
- constructor(q, ae, he) {
52162
- this.tileID = new a.aO(q.tileID.overscaledZ, q.tileID.wrap, q.tileID.canonical.z, q.tileID.canonical.x, q.tileID.canonical.y), this.tileZoom = q.tileZoom, this.uid = q.uid, this.zoom = q.zoom, this.canonical = q.tileID.canonical, this.pixelRatio = q.pixelRatio, this.tileSize = q.tileSize, this.source = q.source, this.overscaling = this.tileID.overscaleFactor(), this.projection = q.projection, this.brightness = ae, this.worldview = he;
52163
+ constructor(K, ae, he) {
52164
+ this.tileID = new a.aO(K.tileID.overscaledZ, K.tileID.wrap, K.tileID.canonical.z, K.tileID.canonical.x, K.tileID.canonical.y), this.tileZoom = K.tileZoom, this.uid = K.uid, this.zoom = K.zoom, this.canonical = K.tileID.canonical, this.pixelRatio = K.pixelRatio, this.tileSize = K.tileSize, this.source = K.source, this.overscaling = this.tileID.overscaleFactor(), this.projection = K.projection, this.brightness = ae, this.worldview = he;
52163
52165
  }
52164
- parse(q, ae, he, Re) {
52166
+ parse(K, ae, he, Re) {
52165
52167
  this.status = "parsing";
52166
52168
  const ke = new a.aO(he.tileID.overscaledZ, he.tileID.wrap, he.tileID.canonical.z, he.tileID.canonical.x, he.tileID.canonical.y), Le = [], ot = ae.familiesBySource[he.source], Qe = new a.fe(ke, he.promoteId);
52167
- Qe.bucketLayerIDs = [], Qe.is3DTile = !0, a.ft(q).then((st) => {
52169
+ Qe.bucketLayerIDs = [], Qe.is3DTile = !0, a.ft(K).then((st) => {
52168
52170
  if (!st)
52169
52171
  return Re(new Error("Could not parse tile"));
52170
52172
  const Ft = st.json.extensionsUsed && st.json.extensionsUsed.includes("MAPBOX_mesh_features") || st.json.asset.extras && st.json.asset.extras.MAPBOX_mesh_features, zt = st.json.extensionsUsed && st.json.extensionsUsed.includes("EXT_meshopt_compression"), Ct = new a.ac(this.zoom, { brightness: this.brightness, worldview: this.worldview });
@@ -52180,41 +52182,41 @@ ${JSON.stringify(h, null, 2)}
52180
52182
  }
52181
52183
  }
52182
52184
  class gr {
52183
- constructor(q, ae, he, Re, ke, Le, ot, Qe) {
52184
- this.actor = q, this.layerIndex = ae, this.availableImages = he, this.availableModels = Re, this.brightness = ot, this.loading = {}, this.loaded = {}, this.worldview = Qe;
52185
+ constructor(K, ae, he, Re, ke, Le, ot, Qe) {
52186
+ this.actor = K, this.layerIndex = ae, this.availableImages = he, this.availableModels = Re, this.brightness = ot, this.loading = {}, this.loaded = {}, this.worldview = Qe;
52185
52187
  }
52186
- loadTile(q, ae) {
52187
- const he = q.uid, Re = this.loading[he] = new Vn(q, this.brightness, this.worldview);
52188
- a.bu(q.request, (ke, Le) => {
52188
+ loadTile(K, ae) {
52189
+ const he = K.uid, Re = this.loading[he] = new Vn(K, this.brightness, this.worldview);
52190
+ a.bu(K.request, (ke, Le) => {
52189
52191
  const ot = !this.loading[he];
52190
- return delete this.loading[he], ot || ke ? (Re.status = "done", ot || (this.loaded[he] = Re), ae(ke)) : Le && Le.byteLength !== 0 ? void Re.parse(Le, this.layerIndex, q, (Qe, st) => {
52192
+ return delete this.loading[he], ot || ke ? (Re.status = "done", ot || (this.loaded[he] = Re), ae(ke)) : Le && Le.byteLength !== 0 ? void Re.parse(Le, this.layerIndex, K, (Qe, st) => {
52191
52193
  Re.status = "done", this.loaded = this.loaded || {}, this.loaded[he] = Re, Qe || !st ? ae(Qe) : ae(null, st);
52192
52194
  }) : (Re.status = "done", this.loaded[he] = Re, ae());
52193
52195
  });
52194
52196
  }
52195
- reloadTile(q, ae) {
52196
- const he = this.loaded, Re = q.uid;
52197
+ reloadTile(K, ae) {
52198
+ const he = this.loaded, Re = K.uid;
52197
52199
  if (he && he[Re]) {
52198
52200
  const ke = he[Re];
52199
- ke.projection = q.projection, ke.brightness = q.brightness;
52201
+ ke.projection = K.projection, ke.brightness = K.brightness;
52200
52202
  const Le = (ot, Qe) => {
52201
- ke.reloadCallback && (delete ke.reloadCallback, this.loadTile(q, ae)), ae(ot, Qe);
52203
+ ke.reloadCallback && (delete ke.reloadCallback, this.loadTile(K, ae)), ae(ot, Qe);
52202
52204
  };
52203
- ke.status === "parsing" ? ke.reloadCallback = Le : ke.status === "done" && this.loadTile(q, ae);
52205
+ ke.status === "parsing" ? ke.reloadCallback = Le : ke.status === "done" && this.loadTile(K, ae);
52204
52206
  }
52205
52207
  }
52206
- abortTile(q, ae) {
52207
- const he = q.uid;
52208
+ abortTile(K, ae) {
52209
+ const he = K.uid;
52208
52210
  this.loading[he] && delete this.loading[he], ae();
52209
52211
  }
52210
- removeTile(q, ae) {
52211
- const he = this.loaded, Re = q.uid;
52212
+ removeTile(K, ae) {
52213
+ const he = this.loaded, Re = K.uid;
52212
52214
  he && he[Re] && delete he[Re], ae();
52213
52215
  }
52214
52216
  }
52215
52217
  class xr {
52216
- constructor(q) {
52217
- this.self = q, this.actor = new a.fx(q, this), this.layerIndexes = {}, this.availableImages = {}, this.availableModels = {}, this.isSpriteLoaded = {}, this.imageRasterizer = new a.x(), this.rtlPluginParsingListeners = [], this.projections = {}, this.defaultProjection = a.cl({ name: "mercator" }), this.workerSourceTypes = { vector: $e, geojson: Dt, "raster-dem": me, "raster-array": te, "batched-model": gr }, this.workerSources = {}, this.self.registerWorkerSource = (ae, he) => {
52218
+ constructor(K) {
52219
+ this.self = K, this.actor = new a.fx(K, this), this.layerIndexes = {}, this.availableImages = {}, this.availableModels = {}, this.isSpriteLoaded = {}, this.imageRasterizer = new a.x(), this.rtlPluginParsingListeners = [], this.projections = {}, this.defaultProjection = a.cl({ name: "mercator" }), this.workerSourceTypes = { vector: $e, geojson: Dt, "raster-dem": me, "raster-array": te, "batched-model": gr }, this.workerSources = {}, this.self.registerWorkerSource = (ae, he) => {
52218
52220
  if (this.workerSourceTypes[ae])
52219
52221
  throw new Error(`Worker source with name "${ae}" already registered.`);
52220
52222
  this.workerSourceTypes[ae] = he;
@@ -52227,33 +52229,33 @@ ${JSON.stringify(h, null, 2)}
52227
52229
  this.rtlPluginParsingListeners = [];
52228
52230
  };
52229
52231
  }
52230
- clearCaches(q, ae, he) {
52231
- delete this.layerIndexes[q], delete this.availableImages[q], delete this.availableModels[q], delete this.workerSources[q], he();
52232
+ clearCaches(K, ae, he) {
52233
+ delete this.layerIndexes[K], delete this.availableImages[K], delete this.availableModels[K], delete this.workerSources[K], he();
52232
52234
  }
52233
- checkIfReady(q, ae, he) {
52235
+ checkIfReady(K, ae, he) {
52234
52236
  he();
52235
52237
  }
52236
- setReferrer(q, ae) {
52238
+ setReferrer(K, ae) {
52237
52239
  this.referrer = ae;
52238
52240
  }
52239
- spriteLoaded(q, ae) {
52240
- this.isSpriteLoaded[q] || (this.isSpriteLoaded[q] = {});
52241
+ spriteLoaded(K, ae) {
52242
+ this.isSpriteLoaded[K] || (this.isSpriteLoaded[K] = {});
52241
52243
  const { scope: he, isLoaded: Re } = ae;
52242
- if (this.isSpriteLoaded[q][he] = Re, this.workerSources[q] && this.workerSources[q][he])
52243
- for (const ke in this.workerSources[q][he]) {
52244
- const Le = this.workerSources[q][he][ke];
52244
+ if (this.isSpriteLoaded[K][he] = Re, this.workerSources[K] && this.workerSources[K][he])
52245
+ for (const ke in this.workerSources[K][he]) {
52246
+ const Le = this.workerSources[K][he][ke];
52245
52247
  for (const ot in Le) {
52246
52248
  const Qe = Le[ot];
52247
52249
  Qe instanceof $e && (Qe.isSpriteLoaded = Re, Qe.fire(new a.z("isSpriteLoaded")));
52248
52250
  }
52249
52251
  }
52250
52252
  }
52251
- setImages(q, ae, he) {
52252
- this.availableImages[q] || (this.availableImages[q] = {});
52253
+ setImages(K, ae, he) {
52254
+ this.availableImages[K] || (this.availableImages[K] = {});
52253
52255
  const { scope: Re, images: ke } = ae;
52254
- if (this.availableImages[q][Re] = ke, this.workerSources[q] && this.workerSources[q][Re]) {
52255
- for (const Le in this.workerSources[q][Re]) {
52256
- const ot = this.workerSources[q][Re][Le];
52256
+ if (this.availableImages[K][Re] = ke, this.workerSources[K] && this.workerSources[K][Re]) {
52257
+ for (const Le in this.workerSources[K][Re]) {
52258
+ const ot = this.workerSources[K][Re][Le];
52257
52259
  for (const Qe in ot)
52258
52260
  ot[Qe].availableImages = ke;
52259
52261
  }
@@ -52261,10 +52263,10 @@ ${JSON.stringify(h, null, 2)}
52261
52263
  } else
52262
52264
  he();
52263
52265
  }
52264
- setModels(q, { scope: ae, models: he }, Re) {
52265
- if (this.availableModels[q] || (this.availableModels[q] = {}), this.availableModels[q][ae] = he, this.workerSources[q] && this.workerSources[q][ae]) {
52266
- for (const ke in this.workerSources[q][ae]) {
52267
- const Le = this.workerSources[q][ae][ke];
52266
+ setModels(K, { scope: ae, models: he }, Re) {
52267
+ if (this.availableModels[K] || (this.availableModels[K] = {}), this.availableModels[K][ae] = he, this.workerSources[K] && this.workerSources[K][ae]) {
52268
+ for (const ke in this.workerSources[K][ae]) {
52269
+ const Le = this.workerSources[K][ae][ke];
52268
52270
  for (const ot in Le)
52269
52271
  Le[ot].availableModels = he;
52270
52272
  }
@@ -52272,50 +52274,50 @@ ${JSON.stringify(h, null, 2)}
52272
52274
  } else
52273
52275
  Re();
52274
52276
  }
52275
- setProjection(q, ae) {
52276
- this.projections[q] = a.cl(ae);
52277
+ setProjection(K, ae) {
52278
+ this.projections[K] = a.cl(ae);
52277
52279
  }
52278
- setBrightness(q, ae, he) {
52280
+ setBrightness(K, ae, he) {
52279
52281
  this.brightness = ae, he();
52280
52282
  }
52281
- setWorldview(q, ae, he) {
52283
+ setWorldview(K, ae, he) {
52282
52284
  this.worldview = ae, he();
52283
52285
  }
52284
- setLayers(q, ae, he) {
52285
- this.getLayerIndex(q, ae.scope).replace(ae.layers, ae.options), he();
52286
+ setLayers(K, ae, he) {
52287
+ this.getLayerIndex(K, ae.scope).replace(ae.layers, ae.options), he();
52286
52288
  }
52287
- updateLayers(q, ae, he) {
52288
- this.getLayerIndex(q, ae.scope).update(ae.layers, ae.removedIds, ae.options), he();
52289
+ updateLayers(K, ae, he) {
52290
+ this.getLayerIndex(K, ae.scope).update(ae.layers, ae.removedIds, ae.options), he();
52289
52291
  }
52290
- loadTile(q, ae, he) {
52291
- ae.projection = this.projections[q] || this.defaultProjection, this.getWorkerSource(q, ae.type, ae.source, ae.scope).loadTile(ae, he);
52292
+ loadTile(K, ae, he) {
52293
+ ae.projection = this.projections[K] || this.defaultProjection, this.getWorkerSource(K, ae.type, ae.source, ae.scope).loadTile(ae, he);
52292
52294
  }
52293
- decodeRasterArray(q, ae, he) {
52294
- this.getWorkerSource(q, ae.type, ae.source, ae.scope).decodeRasterArray(ae, he);
52295
+ decodeRasterArray(K, ae, he) {
52296
+ this.getWorkerSource(K, ae.type, ae.source, ae.scope).decodeRasterArray(ae, he);
52295
52297
  }
52296
- reloadTile(q, ae, he) {
52297
- ae.projection = this.projections[q] || this.defaultProjection, this.getWorkerSource(q, ae.type, ae.source, ae.scope).reloadTile(ae, he);
52298
+ reloadTile(K, ae, he) {
52299
+ ae.projection = this.projections[K] || this.defaultProjection, this.getWorkerSource(K, ae.type, ae.source, ae.scope).reloadTile(ae, he);
52298
52300
  }
52299
- abortTile(q, ae, he) {
52300
- this.getWorkerSource(q, ae.type, ae.source, ae.scope).abortTile(ae, he);
52301
+ abortTile(K, ae, he) {
52302
+ this.getWorkerSource(K, ae.type, ae.source, ae.scope).abortTile(ae, he);
52301
52303
  }
52302
- removeTile(q, ae, he) {
52303
- this.getWorkerSource(q, ae.type, ae.source, ae.scope).removeTile(ae, he);
52304
+ removeTile(K, ae, he) {
52305
+ this.getWorkerSource(K, ae.type, ae.source, ae.scope).removeTile(ae, he);
52304
52306
  }
52305
- removeSource(q, ae, he) {
52306
- if (!(this.workerSources[q] && this.workerSources[q][ae.scope] && this.workerSources[q][ae.scope][ae.type] && this.workerSources[q][ae.scope][ae.type][ae.source]))
52307
+ removeSource(K, ae, he) {
52308
+ if (!(this.workerSources[K] && this.workerSources[K][ae.scope] && this.workerSources[K][ae.scope][ae.type] && this.workerSources[K][ae.scope][ae.type][ae.source]))
52307
52309
  return;
52308
- const Re = this.workerSources[q][ae.scope][ae.type][ae.source];
52309
- delete this.workerSources[q][ae.scope][ae.type][ae.source], Re.removeSource !== void 0 ? Re.removeSource(ae, he) : he();
52310
+ const Re = this.workerSources[K][ae.scope][ae.type][ae.source];
52311
+ delete this.workerSources[K][ae.scope][ae.type][ae.source], Re.removeSource !== void 0 ? Re.removeSource(ae, he) : he();
52310
52312
  }
52311
- loadWorkerSource(q, ae, he) {
52313
+ loadWorkerSource(K, ae, he) {
52312
52314
  try {
52313
52315
  this.self.importScripts(ae.url), he();
52314
52316
  } catch (Re) {
52315
52317
  he(Re.toString());
52316
52318
  }
52317
52319
  }
52318
- syncRTLPluginState(q, ae, he) {
52320
+ syncRTLPluginState(K, ae, he) {
52319
52321
  if (a.fy.isParsed())
52320
52322
  he(null, !0);
52321
52323
  else if (a.fy.isParsing())
@@ -52329,43 +52331,43 @@ ${JSON.stringify(h, null, 2)}
52329
52331
  he(Re.toString());
52330
52332
  }
52331
52333
  }
52332
- setDracoUrl(q, ae) {
52334
+ setDracoUrl(K, ae) {
52333
52335
  this.dracoUrl = ae;
52334
52336
  }
52335
- getAvailableImages(q, ae) {
52336
- this.availableImages[q] || (this.availableImages[q] = {});
52337
- let he = this.availableImages[q][ae];
52337
+ getAvailableImages(K, ae) {
52338
+ this.availableImages[K] || (this.availableImages[K] = {});
52339
+ let he = this.availableImages[K][ae];
52338
52340
  return he || (he = []), he;
52339
52341
  }
52340
- getAvailableModels(q, ae) {
52341
- this.availableModels[q] || (this.availableModels[q] = {});
52342
- let he = this.availableModels[q][ae];
52342
+ getAvailableModels(K, ae) {
52343
+ this.availableModels[K] || (this.availableModels[K] = {});
52344
+ let he = this.availableModels[K][ae];
52343
52345
  return he || (he = {}), he;
52344
52346
  }
52345
- getLayerIndex(q, ae) {
52346
- this.layerIndexes[q] || (this.layerIndexes[q] = {});
52347
- let he = this.layerIndexes[q][ae];
52348
- return he || (he = this.layerIndexes[q][ae] = new K(), he.scope = ae), he;
52347
+ getLayerIndex(K, ae) {
52348
+ this.layerIndexes[K] || (this.layerIndexes[K] = {});
52349
+ let he = this.layerIndexes[K][ae];
52350
+ return he || (he = this.layerIndexes[K][ae] = new q(), he.scope = ae), he;
52349
52351
  }
52350
- getWorkerSource(q, ae, he, Re) {
52352
+ getWorkerSource(K, ae, he, Re) {
52351
52353
  const ke = this.workerSources;
52352
- return ke[q] || (ke[q] = {}), ke[q][Re] || (ke[q][Re] = {}), ke[q][Re][ae] || (ke[q][Re][ae] = {}), this.isSpriteLoaded[q] || (this.isSpriteLoaded[q] = {}), ke[q][Re][ae][he] || (ke[q][Re][ae][he] = new this.workerSourceTypes[ae]({ send: (Le, ot, Qe, st, Ft, zt) => this.actor.send(Le, ot, Qe, q, Ft, zt), scheduler: this.actor.scheduler }, this.getLayerIndex(q, Re), this.getAvailableImages(q, Re), this.getAvailableModels(q, Re), this.isSpriteLoaded[q][Re], void 0, this.brightness, this.worldview)), ke[q][Re][ae][he];
52354
+ return ke[K] || (ke[K] = {}), ke[K][Re] || (ke[K][Re] = {}), ke[K][Re][ae] || (ke[K][Re][ae] = {}), this.isSpriteLoaded[K] || (this.isSpriteLoaded[K] = {}), ke[K][Re][ae][he] || (ke[K][Re][ae][he] = new this.workerSourceTypes[ae]({ send: (Le, ot, Qe, st, Ft, zt) => this.actor.send(Le, ot, Qe, K, Ft, zt), scheduler: this.actor.scheduler }, this.getLayerIndex(K, Re), this.getAvailableImages(K, Re), this.getAvailableModels(K, Re), this.isSpriteLoaded[K][Re], void 0, this.brightness, this.worldview)), ke[K][Re][ae][he];
52353
52355
  }
52354
- rasterizeImagesWorker(q, ae, he) {
52356
+ rasterizeImagesWorker(K, ae, he) {
52355
52357
  const Re = /* @__PURE__ */ new Map();
52356
52358
  for (const [ke, { image: Le, imageVariant: ot }] of ae.tasks.entries()) {
52357
- const Qe = this.imageRasterizer.rasterize(ot, Le, ae.scope, q);
52359
+ const Qe = this.imageRasterizer.rasterize(ot, Le, ae.scope, K);
52358
52360
  Re.set(ke, Qe);
52359
52361
  }
52360
52362
  he(void 0, Re);
52361
52363
  }
52362
- removeRasterizedImages(q, ae, he) {
52363
- this.imageRasterizer.removeImagesFromCacheByIds(ae.imageIds, ae.scope, q), he();
52364
+ removeRasterizedImages(K, ae, he) {
52365
+ this.imageRasterizer.removeImagesFromCacheByIds(ae.imageIds, ae.scope, K), he();
52364
52366
  }
52365
- enforceCacheSizeLimit(q, ae) {
52367
+ enforceCacheSizeLimit(K, ae) {
52366
52368
  a.fA(ae);
52367
52369
  }
52368
- getWorkerPerformanceMetrics(q, ae, he) {
52370
+ getWorkerPerformanceMetrics(K, ae, he) {
52369
52371
  he(void 0, void 0);
52370
52372
  }
52371
52373
  }
@@ -52377,7 +52379,7 @@ ${JSON.stringify(h, null, 2)}
52377
52379
  }, measure(p, n, l) {
52378
52380
  performance.measure(p, n, l);
52379
52381
  } };
52380
- function K(p) {
52382
+ function q(p) {
52381
52383
  const n = p.name.split("?")[0];
52382
52384
  return a.a(n) && n.includes("mapbox-gl.js") ? "javascript" : a.a(n) && n.includes("mapbox-gl.css") ? "css" : a.b(n) ? "fontRange" : a.c(n) ? "sprite" : a.i(n) ? "style" : a.d(n) ? "tilejson" : "other";
52383
52385
  }
@@ -52740,7 +52742,7 @@ ${JSON.stringify(h, null, 2)}
52740
52742
  $[ee] === void 0 && ($[ee] = []), $[ee].push(se);
52741
52743
  }
52742
52744
  return $;
52743
- }(v, K)), S = window.devicePixelRatio, N = navigator.connection || navigator.mozConnection || navigator.webkitConnection, z = N ? N.effectiveType : void 0, B = { counters: [], metadata: [], attributes: [] }, O = (V, H, $) => {
52745
+ }(v, q)), S = window.devicePixelRatio, N = navigator.connection || navigator.mozConnection || navigator.webkitConnection, z = N ? N.effectiveType : void 0, B = { counters: [], metadata: [], attributes: [] }, O = (V, H, $) => {
52744
52746
  $ != null && V.push({ name: H, value: $.toString() });
52745
52747
  };
52746
52748
  for (const V in I)
@@ -53616,7 +53618,7 @@ Use an identity property function instead: ${H}.`)];
53616
53618
  b = b.concat(S && v[S[1]] && v[S[1]].transition ? Zt({ key: I, value: l[I], valueSpec: y.transition, style: f, styleSpec: y }) : v[I] ? Zt({ key: I, value: l[I], valueSpec: v[I], style: f, styleSpec: y }) : [new a.a3(I, l[I], `unknown property "${I}"`)]);
53617
53619
  }
53618
53620
  return b;
53619
- }(p)), Ze = (p) => ke(Pi(p)), q = (p) => ke(Wt(p)), ae = (p) => ke(jt(p)), he = (p) => ke(kt(p)), Re = (p) => ke(a.a7(p));
53621
+ }(p)), Ze = (p) => ke(Pi(p)), K = (p) => ke(Wt(p)), ae = (p) => ke(jt(p)), he = (p) => ke(kt(p)), Re = (p) => ke(a.a7(p));
53620
53622
  function ke(p) {
53621
53623
  return p.slice().sort((n, l) => n.line && l.line ? n.line - l.line : 0);
53622
53624
  }
@@ -59556,7 +59558,7 @@ Use an identity property function instead: ${H}.`)];
59556
59558
  this._checkLoaded();
59557
59559
  const y = this._checkLayer(n);
59558
59560
  if (y && !a.by(y.filter, l))
59559
- return l == null ? (y.filter = void 0, void this._updateLayer(y)) : void (this._validate(q, `layers.${y.id}.filter`, l, { layerType: y.type }, f) || (y.filter = a.dk(l), this._updateLayer(y)));
59561
+ return l == null ? (y.filter = void 0, void this._updateLayer(y)) : void (this._validate(K, `layers.${y.id}.filter`, l, { layerType: y.type }, f) || (y.filter = a.dk(l), this._updateLayer(y)));
59560
59562
  }
59561
59563
  getFilter(n) {
59562
59564
  const l = this._checkLayer(n);
@@ -59725,7 +59727,7 @@ Use an identity property function instead: ${H}.`)];
59725
59727
  }
59726
59728
  queryRenderedFeatures(n, l, f) {
59727
59729
  let y;
59728
- l && !Array.isArray(l) && l.filter && (this._validate(q, "queryRenderedFeatures.filter", l.filter, null, l), y = a.b6(l.filter));
59730
+ l && !Array.isArray(l) && l.filter && (this._validate(K, "queryRenderedFeatures.filter", l.filter, null, l), y = a.b6(l.filter));
59729
59731
  const v = {}, b = (z) => {
59730
59732
  if (Xd.has(z.type))
59731
59733
  return;
@@ -59751,7 +59753,7 @@ Use an identity property function instead: ${H}.`)];
59751
59753
  }
59752
59754
  queryRenderedFeatureset(n, l, f) {
59753
59755
  let y;
59754
- l && !Array.isArray(l) && l.filter && (this._validate(q, "queryRenderedFeatures.filter", l.filter, null, l), y = a.b6(l.filter));
59756
+ l && !Array.isArray(l) && l.filter && (this._validate(K, "queryRenderedFeatures.filter", l.filter, null, l), y = a.b6(l.filter));
59755
59757
  const v = "mock", b = [];
59756
59758
  if (l && l.target)
59757
59759
  b.push(Object.assign({}, l, { targetId: v, filter: y }));
@@ -59818,7 +59820,7 @@ Use an identity property function instead: ${H}.`)];
59818
59820
  }
59819
59821
  querySourceFeatures(n, l) {
59820
59822
  const f = l && l.filter;
59821
- f && this._validate(q, "querySourceFeatures.filter", f, null, l);
59823
+ f && this._validate(K, "querySourceFeatures.filter", f, null, l);
59822
59824
  let y = [];
59823
59825
  const v = this.getOwnSourceCaches(n);
59824
59826
  for (const b of v)
@@ -71093,15 +71095,15 @@ yj.propTypes = {
71093
71095
  };
71094
71096
  function yj({ accessToken: e, onInitialized: i, center: o, zoom: u, bounds: d, bearing: _, pitch: w, resetViewMode: a, viewModeSwitchVisible: E, mapOptions: j, appConfig: Q }) {
71095
71097
  var le;
71096
- const [K, W] = xe.useState();
71098
+ const [q, W] = xe.useState();
71097
71099
  return xe.useEffect(() => {
71098
- K && (Rr(d) ? (Rr(o) || K.getMap().setCenter(o), Rr(u) || K.getMap().setZoom(u), Rr(_) || K.getMap().setBearing(_), Rr(w) || K.getMap().setPitch(w)) : K.getMap().fitBounds([d.west, d.south, d.east, d.north], {
71100
+ q && (Rr(d) ? (Rr(o) || q.getMap().setCenter(o), Rr(u) || q.getMap().setZoom(u), Rr(_) || q.getMap().setBearing(_), Rr(w) || q.getMap().setPitch(w)) : q.getMap().fitBounds([d.west, d.south, d.east, d.north], {
71099
71101
  pitch: w || 0,
71100
71102
  bearing: _ || 0,
71101
71103
  animate: !1,
71102
71104
  padding: j == null ? void 0 : j.fitBoundsPadding
71103
71105
  }));
71104
- }, [K, o, u, _, w, d, j]), xe.useEffect(() => {
71106
+ }, [q, o, u, _, w, d, j]), xe.useEffect(() => {
71105
71107
  window.mapboxgl = Pae;
71106
71108
  const fe = {
71107
71109
  accessToken: e,
@@ -71118,7 +71120,7 @@ function yj({ accessToken: e, onInitialized: i, center: o, zoom: u, bounds: d, b
71118
71120
  j != null && j.miTransitionLevel && !isNaN(parseInt(j == null ? void 0 : j.miTransitionLevel)) && (fe.mapsIndoorsTransitionLevel = parseInt(j.miTransitionLevel)), Rr(j == null ? void 0 : j.showRoadNames) || (fe.showRoadNameLabels = j.showRoadNames), Rr(j == null ? void 0 : j.showMapMarkers) || (fe.showMapMarkers = j.showMapMarkers);
71119
71121
  const we = new window.mapsindoors.mapView.MapboxV3View(fe);
71120
71122
  W(we), !Rr(j == null ? void 0 : j.mapboxMapStyle) && !fe.useMapsIndoorsMapboxStyle && we.getMap().setStyle(j.mapboxMapStyle), i(we);
71121
- }, []), /* @__PURE__ */ Oe.jsx("div", { className: "mapsindoors-map mapbox-map-container", id: "map", children: E && /* @__PURE__ */ Oe.jsx(mj, { reset: a, mapView: K, pitch: w, activeColor: j == null ? void 0 : j.brandingColor, show2DModelsIn3D: (le = Q == null ? void 0 : Q.appSettings) == null ? void 0 : le.show2DModelsIn3D }) });
71123
+ }, []), /* @__PURE__ */ Oe.jsx("div", { className: "mapsindoors-map mapbox-map-container", id: "map", children: E && /* @__PURE__ */ Oe.jsx(mj, { reset: a, mapView: q, pitch: w, activeColor: j == null ? void 0 : j.brandingColor, show2DModelsIn3D: (le = Q == null ? void 0 : Q.appSettings) == null ? void 0 : le.show2DModelsIn3D }) });
71122
71124
  }
71123
71125
  const Vae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71124
71126
  __proto__: null,
@@ -71134,15 +71136,15 @@ function Qae(e, i, o, u) {
71134
71136
  function a(Q) {
71135
71137
  try {
71136
71138
  j(u.next(Q));
71137
- } catch (K) {
71138
- w(K);
71139
+ } catch (q) {
71140
+ w(q);
71139
71141
  }
71140
71142
  }
71141
71143
  function E(Q) {
71142
71144
  try {
71143
71145
  j(u.throw(Q));
71144
- } catch (K) {
71145
- w(K);
71146
+ } catch (q) {
71147
+ w(q);
71146
71148
  }
71147
71149
  }
71148
71150
  function j(Q) {
@@ -71204,8 +71206,8 @@ class dd {
71204
71206
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
71205
71207
  * ```
71206
71208
  */
71207
- constructor({ apiKey: i, authReferrerPolicy: o, channel: u, client: d, id: _ = qL, language: w, libraries: a = [], mapIds: E, nonce: j, region: Q, retries: K = 3, url: W = "https://maps.googleapis.com/maps/api/js", version: le }) {
71208
- if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = i, this.authReferrerPolicy = o, this.channel = u, this.client = d, this.id = _ || qL, this.language = w, this.libraries = a, this.mapIds = E, this.nonce = j, this.region = Q, this.retries = K, this.url = W, this.version = le, dd.instance) {
71209
+ constructor({ apiKey: i, authReferrerPolicy: o, channel: u, client: d, id: _ = qL, language: w, libraries: a = [], mapIds: E, nonce: j, region: Q, retries: q = 3, url: W = "https://maps.googleapis.com/maps/api/js", version: le }) {
71210
+ if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = i, this.authReferrerPolicy = o, this.channel = u, this.client = d, this.id = _ || qL, this.language = w, this.libraries = a, this.mapIds = E, this.nonce = j, this.region = Q, this.retries = q, this.url = W, this.version = le, dd.instance) {
71209
71211
  if (!Yae(this.options, dd.instance.options))
71210
71212
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(dd.instance.options)}`);
71211
71213
  return dd.instance;
@@ -71302,7 +71304,7 @@ class dd {
71302
71304
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
71303
71305
  (_) => !u[_] && delete u[_]
71304
71306
  ), !((o = (i = window == null ? void 0 : window.google) === null || i === void 0 ? void 0 : i.maps) === null || o === void 0) && o.importLibrary || ((_) => {
71305
- let w, a, E, j = "The Google Maps JavaScript API", Q = "google", K = "importLibrary", W = "__ib__", le = document, fe = window;
71307
+ let w, a, E, j = "The Google Maps JavaScript API", Q = "google", q = "importLibrary", W = "__ib__", le = document, fe = window;
71306
71308
  fe = fe[Q] || (fe[Q] = {});
71307
71309
  const we = fe.maps || (fe.maps = {}), $e = /* @__PURE__ */ new Set(), me = new URLSearchParams(), ie = () => (
71308
71310
  // @ts-ignore
@@ -71314,7 +71316,7 @@ class dd {
71314
71316
  me.set("callback", Q + ".maps." + W), a.src = this.url + "?" + me, we[W] = te, a.onerror = () => w = oe(Error(j + " could not load.")), a.nonce = this.nonce || ((be = le.querySelector("script[nonce]")) === null || be === void 0 ? void 0 : be.nonce) || "", le.head.append(a);
71315
71317
  })))
71316
71318
  );
71317
- we[K] ? console.warn(j + " only loads once. Ignoring:", _) : we[K] = (te, ...oe) => $e.add(te) && ie().then(() => we[K](te, ...oe));
71319
+ we[q] ? console.warn(j + " only loads once. Ignoring:", _) : we[q] = (te, ...oe) => $e.add(te) && ie().then(() => we[q](te, ...oe));
71318
71320
  })(u);
71319
71321
  const d = this.libraries.map((_) => this.importLibrary(_));
71320
71322
  d.length || d.push(this.importLibrary("core")), Promise.all(d).then(() => this.callback(), (_) => {
@@ -71371,7 +71373,7 @@ _j.propTypes = {
71371
71373
  gmMapId: ct.string
71372
71374
  };
71373
71375
  function _j({ apiKey: e, onInitialized: i, center: o, zoom: u, bounds: d, heading: _, tilt: w, mapsIndoorsInstance: a, mapOptions: E, gmMapId: j }) {
71374
- const [Q, K] = xe.useState();
71376
+ const [Q, q] = xe.useState();
71375
71377
  return xe.useEffect(() => {
71376
71378
  Q && (Rr(d) || a.getMapView().fitBounds(d, E == null ? void 0 : E.fitBoundsPadding), !Rr(o) && Rr(d) && Q.getMap().setCenter(o), !Rr(u) && Rr(d) && Q.getMap().setZoom(u), Rr(_) || Q.getMap().setHeading(_), Rr(w) || Q.getMap().setTilt(w));
71377
71379
  }, [Q, o, u, _, w, d, E]), xe.useEffect(() => {
@@ -71395,7 +71397,7 @@ function _j({ apiKey: e, onInitialized: i, center: o, zoom: u, bounds: d, headin
71395
71397
  };
71396
71398
  Rr(E == null ? void 0 : E.showMapMarkers) || (le.showMapMarkers = E.showMapMarkers);
71397
71399
  const fe = new window.mapsindoors.mapView.GoogleMapsView(le);
71398
- K(fe), i(fe);
71400
+ q(fe), i(fe);
71399
71401
  });
71400
71402
  }, []), /* @__PURE__ */ Oe.jsx("div", { className: "mapsindoors-map google-maps-map-container", id: "map" });
71401
71403
  }