@heycar/heycars-map 0.3.18 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,101 +1,144 @@
1
- import kn, { defineComponent as St, h as M, computed as h, inject as We, provide as Ue, watch as E, watchPostEffect as H, shallowRef as R, onMounted as Ne, onUnmounted as Se, reactive as T, toRefs as ht, ref as w, toRef as Wn, watchEffect as Re } from "vue";
2
- kn.util.warn;
3
- const Be = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", Ve = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
4
- var Un = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Bn = typeof global == "object" && global && global.Object === Object && global;
5
- const Vn = Bn;
6
- var Yn = typeof self == "object" && self && self.Object === Object && self, Hn = Vn || Yn || Function("return this")();
7
- const Dt = Hn;
8
- var Qn = Dt.Symbol;
9
- const _ = Qn;
10
- var wt = Object.prototype, Jn = wt.hasOwnProperty, Fn = wt.toString, ie = _ ? _.toStringTag : void 0;
11
- function Xn(e) {
12
- var t = Jn.call(e, ie), n = e[ie];
1
+ import Kn, { defineComponent as bt, h as I, computed as S, inject as Be, provide as Ve, watch as b, watchPostEffect as H, shallowRef as z, onMounted as Ne, onUnmounted as he, reactive as P, toRefs as Tt, ref as w, toRef as qn, watchEffect as ze } from "vue";
2
+ Kn.util.warn;
3
+ const Ye = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", He = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
4
+ var ea = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ta = typeof global == "object" && global && global.Object === Object && global;
5
+ const na = ta;
6
+ var aa = typeof self == "object" && self && self.Object === Object && self, ia = na || aa || Function("return this")();
7
+ const Et = ia;
8
+ var oa = Et.Symbol;
9
+ const K = oa;
10
+ var Rt = Object.prototype, ra = Rt.hasOwnProperty, sa = Rt.toString, ie = K ? K.toStringTag : void 0;
11
+ function ca(e) {
12
+ var t = ra.call(e, ie), n = e[ie];
13
13
  try {
14
14
  e[ie] = void 0;
15
15
  var a = !0;
16
16
  } catch {
17
17
  }
18
- var i = Fn.call(e);
18
+ var i = sa.call(e);
19
19
  return a && (t ? e[ie] = n : delete e[ie]), i;
20
20
  }
21
- var $n = Object.prototype, _n = $n.toString;
22
- function Kn(e) {
23
- return _n.call(e);
21
+ var ua = Object.prototype, la = ua.toString;
22
+ function da(e) {
23
+ return la.call(e);
24
24
  }
25
- var qn = "[object Null]", ea = "[object Undefined]", Ke = _ ? _.toStringTag : void 0;
26
- function ta(e) {
27
- return e == null ? e === void 0 ? ea : qn : Ke && Ke in Object(e) ? Xn(e) : Kn(e);
25
+ var ga = "[object Null]", Ma = "[object Undefined]", it = K ? K.toStringTag : void 0;
26
+ function Ia(e) {
27
+ return e == null ? e === void 0 ? Ma : ga : it && it in Object(e) ? ca(e) : da(e);
28
28
  }
29
- function na(e) {
29
+ function ma(e) {
30
30
  return e != null && typeof e == "object";
31
31
  }
32
- var aa = "[object Symbol]";
33
- function xt(e) {
34
- return typeof e == "symbol" || na(e) && ta(e) == aa;
32
+ var fa = "[object Symbol]";
33
+ function zt(e) {
34
+ return typeof e == "symbol" || ma(e) && Ia(e) == fa;
35
35
  }
36
- function ia(e, t) {
36
+ function pa(e, t) {
37
37
  for (var n = -1, a = e == null ? 0 : e.length, i = Array(a); ++n < a; )
38
38
  i[n] = t(e[n], n, e);
39
39
  return i;
40
40
  }
41
- var oa = Array.isArray;
42
- const ra = oa;
43
- var sa = 1 / 0, qe = _ ? _.prototype : void 0, et = qe ? qe.toString : void 0;
44
- function Ct(e) {
41
+ var va = Array.isArray;
42
+ const ya = va;
43
+ var ja = 1 / 0, ot = K ? K.prototype : void 0, rt = ot ? ot.toString : void 0;
44
+ function Qe(e) {
45
45
  if (typeof e == "string")
46
46
  return e;
47
- if (ra(e))
48
- return ia(e, Ct) + "";
49
- if (xt(e))
50
- return et ? et.call(e) : "";
47
+ if (ya(e))
48
+ return pa(e, Qe) + "";
49
+ if (zt(e))
50
+ return rt ? rt.call(e) : "";
51
51
  var t = e + "";
52
- return t == "0" && 1 / e == -sa ? "-0" : t;
52
+ return t == "0" && 1 / e == -ja ? "-0" : t;
53
53
  }
54
- var ca = /\s/;
55
- function ua(e) {
56
- for (var t = e.length; t-- && ca.test(e.charAt(t)); )
54
+ var La = /\s/;
55
+ function Aa(e) {
56
+ for (var t = e.length; t-- && La.test(e.charAt(t)); )
57
57
  ;
58
58
  return t;
59
59
  }
60
- var la = /^\s+/;
61
- function da(e) {
62
- return e && e.slice(0, ua(e) + 1).replace(la, "");
60
+ var Na = /^\s+/;
61
+ function Zt(e) {
62
+ return e && e.slice(0, Aa(e) + 1).replace(Na, "");
63
63
  }
64
64
  function Ze(e) {
65
65
  var t = typeof e;
66
66
  return e != null && (t == "object" || t == "function");
67
67
  }
68
- var tt = 0 / 0, ga = /^[-+]0x[0-9a-f]+$/i, Ia = /^0b[01]+$/i, Ma = /^0o[0-7]+$/i, ma = parseInt;
69
- function nt(e) {
68
+ var st = 0 / 0, ha = /^[-+]0x[0-9a-f]+$/i, Sa = /^0b[01]+$/i, Da = /^0o[0-7]+$/i, wa = parseInt;
69
+ function ct(e) {
70
70
  if (typeof e == "number")
71
71
  return e;
72
- if (xt(e))
73
- return tt;
72
+ if (zt(e))
73
+ return st;
74
74
  if (Ze(e)) {
75
75
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
76
76
  e = Ze(t) ? t + "" : t;
77
77
  }
78
78
  if (typeof e != "string")
79
79
  return e === 0 ? e : +e;
80
- e = da(e);
81
- var n = Ia.test(e);
82
- return n || Ma.test(e) ? ma(e.slice(2), n ? 2 : 8) : ga.test(e) ? tt : +e;
80
+ e = Zt(e);
81
+ var n = Sa.test(e);
82
+ return n || Da.test(e) ? wa(e.slice(2), n ? 2 : 8) : ha.test(e) ? st : +e;
83
+ }
84
+ function Ca(e, t, n, a) {
85
+ for (var i = e.length, o = n + (a ? 1 : -1); a ? o-- : ++o < i; )
86
+ if (t(e[o], o, e))
87
+ return o;
88
+ return -1;
89
+ }
90
+ function xa(e) {
91
+ return e !== e;
92
+ }
93
+ function Pa(e, t, n) {
94
+ for (var a = n - 1, i = e.length; ++a < i; )
95
+ if (e[a] === t)
96
+ return a;
97
+ return -1;
83
98
  }
84
- function Pt(e) {
85
- return e == null ? "" : Ct(e);
99
+ function Ot(e, t, n) {
100
+ return t === t ? Pa(e, t, n) : Ca(e, xa, n);
86
101
  }
87
- function fa(e, t, n, a) {
102
+ function Je(e) {
103
+ return e == null ? "" : Qe(e);
104
+ }
105
+ function ba(e, t, n) {
106
+ var a = -1, i = e.length;
107
+ t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
108
+ for (var o = Array(i); ++a < i; )
109
+ o[a] = e[a + t];
110
+ return o;
111
+ }
112
+ function Ta(e, t, n) {
113
+ var a = e.length;
114
+ return n = n === void 0 ? a : n, !t && n >= a ? e : ba(e, t, n);
115
+ }
116
+ var Ea = "\\ud800-\\udfff", Ra = "\\u0300-\\u036f", za = "\\ufe20-\\ufe2f", Za = "\\u20d0-\\u20ff", Oa = Ra + za + Za, ka = "\\ufe0e\\ufe0f", Ga = "\\u200d", Wa = RegExp("[" + Ga + Ea + Oa + ka + "]");
117
+ function Ua(e) {
118
+ return Wa.test(e);
119
+ }
120
+ function Ba(e) {
121
+ return e.split("");
122
+ }
123
+ var kt = "\\ud800-\\udfff", Va = "\\u0300-\\u036f", Ya = "\\ufe20-\\ufe2f", Ha = "\\u20d0-\\u20ff", Qa = Va + Ya + Ha, Ja = "\\ufe0e\\ufe0f", Fa = "[" + kt + "]", Oe = "[" + Qa + "]", ke = "\\ud83c[\\udffb-\\udfff]", $a = "(?:" + Oe + "|" + ke + ")", Gt = "[^" + kt + "]", Wt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ut = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xa = "\\u200d", Bt = $a + "?", Vt = "[" + Ja + "]?", _a = "(?:" + Xa + "(?:" + [Gt, Wt, Ut].join("|") + ")" + Vt + Bt + ")*", Ka = Vt + Bt + _a, qa = "(?:" + [Gt + Oe + "?", Oe, Wt, Ut, Fa].join("|") + ")", ei = RegExp(ke + "(?=" + ke + ")|" + qa + Ka, "g");
124
+ function ti(e) {
125
+ return e.match(ei) || [];
126
+ }
127
+ function ut(e) {
128
+ return Ua(e) ? ti(e) : Ba(e);
129
+ }
130
+ function ni(e, t, n, a) {
88
131
  var i = -1, o = e == null ? 0 : e.length;
89
132
  for (a && o && (n = e[++i]); ++i < o; )
90
133
  n = t(n, e[i], i, e);
91
134
  return n;
92
135
  }
93
- function pa(e) {
136
+ function ai(e) {
94
137
  return function(t) {
95
138
  return e == null ? void 0 : e[t];
96
139
  };
97
140
  }
98
- var va = {
141
+ var ii = {
99
142
  // Latin-1 Supplement block.
100
143
  À: "A",
101
144
  Á: "A",
@@ -288,145 +331,163 @@ var va = {
288
331
  œ: "oe",
289
332
  ʼn: "'n",
290
333
  ſ: "s"
291
- }, ya = pa(va);
292
- const ja = ya;
293
- var La = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Aa = "\\u0300-\\u036f", Na = "\\ufe20-\\ufe2f", Sa = "\\u20d0-\\u20ff", ha = Aa + Na + Sa, Da = "[" + ha + "]", wa = RegExp(Da, "g");
294
- function xa(e) {
295
- return e = Pt(e), e && e.replace(La, ja).replace(wa, "");
334
+ }, oi = ai(ii);
335
+ const ri = oi;
336
+ var si = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ci = "\\u0300-\\u036f", ui = "\\ufe20-\\ufe2f", li = "\\u20d0-\\u20ff", di = ci + ui + li, gi = "[" + di + "]", Mi = RegExp(gi, "g");
337
+ function Ii(e) {
338
+ return e = Je(e), e && e.replace(si, ri).replace(Mi, "");
296
339
  }
297
- var Ca = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
298
- function Pa(e) {
299
- return e.match(Ca) || [];
340
+ var mi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
341
+ function fi(e) {
342
+ return e.match(mi) || [];
300
343
  }
301
- var ba = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
302
- function Ea(e) {
303
- return ba.test(e);
344
+ var pi = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
345
+ function vi(e) {
346
+ return pi.test(e);
304
347
  }
305
- var bt = "\\ud800-\\udfff", Ta = "\\u0300-\\u036f", za = "\\ufe20-\\ufe2f", Ra = "\\u20d0-\\u20ff", Za = Ta + za + Ra, Et = "\\u2700-\\u27bf", Tt = "a-z\\xdf-\\xf6\\xf8-\\xff", Oa = "\\xac\\xb1\\xd7\\xf7", Ga = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", ka = "\\u2000-\\u206f", Wa = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", zt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ua = "\\ufe0e\\ufe0f", Rt = Oa + Ga + ka + Wa, Zt = "['’]", at = "[" + Rt + "]", Ba = "[" + Za + "]", Ot = "\\d+", Va = "[" + Et + "]", Gt = "[" + Tt + "]", kt = "[^" + bt + Rt + Ot + Et + Tt + zt + "]", Ya = "\\ud83c[\\udffb-\\udfff]", Ha = "(?:" + Ba + "|" + Ya + ")", Qa = "[^" + bt + "]", Wt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ut = "[\\ud800-\\udbff][\\udc00-\\udfff]", F = "[" + zt + "]", Ja = "\\u200d", it = "(?:" + Gt + "|" + kt + ")", Fa = "(?:" + F + "|" + kt + ")", ot = "(?:" + Zt + "(?:d|ll|m|re|s|t|ve))?", rt = "(?:" + Zt + "(?:D|LL|M|RE|S|T|VE))?", Bt = Ha + "?", Vt = "[" + Ua + "]?", Xa = "(?:" + Ja + "(?:" + [Qa, Wt, Ut].join("|") + ")" + Vt + Bt + ")*", $a = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", _a = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ka = Vt + Bt + Xa, qa = "(?:" + [Va, Wt, Ut].join("|") + ")" + Ka, ei = RegExp([
306
- F + "?" + Gt + "+" + ot + "(?=" + [at, F, "$"].join("|") + ")",
307
- Fa + "+" + rt + "(?=" + [at, F + it, "$"].join("|") + ")",
308
- F + "?" + it + "+" + ot,
309
- F + "+" + rt,
310
- _a,
311
- $a,
312
- Ot,
313
- qa
348
+ var Yt = "\\ud800-\\udfff", yi = "\\u0300-\\u036f", ji = "\\ufe20-\\ufe2f", Li = "\\u20d0-\\u20ff", Ai = yi + ji + Li, Ht = "\\u2700-\\u27bf", Qt = "a-z\\xdf-\\xf6\\xf8-\\xff", Ni = "\\xac\\xb1\\xd7\\xf7", hi = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Si = "\\u2000-\\u206f", Di = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Jt = "A-Z\\xc0-\\xd6\\xd8-\\xde", wi = "\\ufe0e\\ufe0f", Ft = Ni + hi + Si + Di, $t = "['’]", lt = "[" + Ft + "]", Ci = "[" + Ai + "]", Xt = "\\d+", xi = "[" + Ht + "]", _t = "[" + Qt + "]", Kt = "[^" + Yt + Ft + Xt + Ht + Qt + Jt + "]", Pi = "\\ud83c[\\udffb-\\udfff]", bi = "(?:" + Ci + "|" + Pi + ")", Ti = "[^" + Yt + "]", qt = "(?:\\ud83c[\\udde6-\\uddff]){2}", en = "[\\ud800-\\udbff][\\udc00-\\udfff]", $ = "[" + Jt + "]", Ei = "\\u200d", dt = "(?:" + _t + "|" + Kt + ")", Ri = "(?:" + $ + "|" + Kt + ")", gt = "(?:" + $t + "(?:d|ll|m|re|s|t|ve))?", Mt = "(?:" + $t + "(?:D|LL|M|RE|S|T|VE))?", tn = bi + "?", nn = "[" + wi + "]?", zi = "(?:" + Ei + "(?:" + [Ti, qt, en].join("|") + ")" + nn + tn + ")*", Zi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Oi = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ki = nn + tn + zi, Gi = "(?:" + [xi, qt, en].join("|") + ")" + ki, Wi = RegExp([
349
+ $ + "?" + _t + "+" + gt + "(?=" + [lt, $, "$"].join("|") + ")",
350
+ Ri + "+" + Mt + "(?=" + [lt, $ + dt, "$"].join("|") + ")",
351
+ $ + "?" + dt + "+" + gt,
352
+ $ + "+" + Mt,
353
+ Oi,
354
+ Zi,
355
+ Xt,
356
+ Gi
314
357
  ].join("|"), "g");
315
- function ti(e) {
316
- return e.match(ei) || [];
358
+ function Ui(e) {
359
+ return e.match(Wi) || [];
317
360
  }
318
- function ni(e, t, n) {
319
- return e = Pt(e), t = n ? void 0 : t, t === void 0 ? Ea(e) ? ti(e) : Pa(e) : e.match(t) || [];
361
+ function Bi(e, t, n) {
362
+ return e = Je(e), t = n ? void 0 : t, t === void 0 ? vi(e) ? Ui(e) : fi(e) : e.match(t) || [];
320
363
  }
321
- var ai = "['’]", ii = RegExp(ai, "g");
322
- function oi(e) {
364
+ var Vi = "['’]", Yi = RegExp(Vi, "g");
365
+ function Hi(e) {
323
366
  return function(t) {
324
- return fa(ni(xa(t).replace(ii, "")), e, "");
367
+ return ni(Bi(Ii(t).replace(Yi, "")), e, "");
325
368
  };
326
369
  }
327
- var ri = function() {
328
- return Dt.Date.now();
370
+ var Qi = function() {
371
+ return Et.Date.now();
329
372
  };
330
- const ze = ri;
331
- var si = "Expected a function", ci = Math.max, ui = Math.min;
332
- function li(e, t, n) {
333
- var a, i, o, r, s, c, g = 0, d = !1, u = !1, l = !0;
373
+ const Re = Qi;
374
+ var Ji = "Expected a function", Fi = Math.max, $i = Math.min;
375
+ function Xi(e, t, n) {
376
+ var a, i, o, r, s, c, d = 0, g = !1, u = !1, l = !0;
334
377
  if (typeof e != "function")
335
- throw new TypeError(si);
336
- t = nt(t) || 0, Ze(n) && (d = !!n.leading, u = "maxWait" in n, o = u ? ci(nt(n.maxWait) || 0, t) : o, l = "trailing" in n ? !!n.trailing : l);
337
- function I(D) {
338
- var P = a, b = i;
339
- return a = i = void 0, g = D, r = e.apply(b, P), r;
378
+ throw new TypeError(Ji);
379
+ t = ct(t) || 0, Ze(n) && (g = !!n.leading, u = "maxWait" in n, o = u ? Fi(ct(n.maxWait) || 0, t) : o, l = "trailing" in n ? !!n.trailing : l);
380
+ function M(D) {
381
+ var C = a, O = i;
382
+ return a = i = void 0, d = D, r = e.apply(O, C), r;
340
383
  }
341
384
  function m(D) {
342
- return g = D, s = setTimeout(y, t), d ? I(D) : r;
385
+ return d = D, s = setTimeout(y, t), g ? M(D) : r;
343
386
  }
344
387
  function f(D) {
345
- var P = D - c, b = D - g, U = t - P;
346
- return u ? ui(U, o - b) : U;
388
+ var C = D - c, O = D - d, U = t - C;
389
+ return u ? $i(U, o - O) : U;
347
390
  }
348
391
  function v(D) {
349
- var P = D - c, b = D - g;
350
- return c === void 0 || P >= t || P < 0 || u && b >= o;
392
+ var C = D - c, O = D - d;
393
+ return c === void 0 || C >= t || C < 0 || u && O >= o;
351
394
  }
352
395
  function y() {
353
- var D = ze();
396
+ var D = Re();
354
397
  if (v(D))
355
398
  return p(D);
356
399
  s = setTimeout(y, f(D));
357
400
  }
358
401
  function p(D) {
359
- return s = void 0, l && a ? I(D) : (a = i = void 0, r);
360
- }
361
- function N() {
362
- s !== void 0 && clearTimeout(s), g = 0, a = c = i = s = void 0;
402
+ return s = void 0, l && a ? M(D) : (a = i = void 0, r);
363
403
  }
364
404
  function L() {
365
- return s === void 0 ? r : p(ze());
405
+ s !== void 0 && clearTimeout(s), d = 0, a = c = i = s = void 0;
406
+ }
407
+ function h() {
408
+ return s === void 0 ? r : p(Re());
366
409
  }
367
- function x() {
368
- var D = ze(), P = v(D);
369
- if (a = arguments, i = this, c = D, P) {
410
+ function T() {
411
+ var D = Re(), C = v(D);
412
+ if (a = arguments, i = this, c = D, C) {
370
413
  if (s === void 0)
371
414
  return m(c);
372
415
  if (u)
373
- return clearTimeout(s), s = setTimeout(y, t), I(c);
416
+ return clearTimeout(s), s = setTimeout(y, t), M(c);
374
417
  }
375
418
  return s === void 0 && (s = setTimeout(y, t)), r;
376
419
  }
377
- return x.cancel = N, x.flush = L, x;
420
+ return T.cancel = L, T.flush = h, T;
378
421
  }
379
- var di = oi(function(e, t, n) {
422
+ var _i = Hi(function(e, t, n) {
380
423
  return e + (n ? "-" : "") + t.toLowerCase();
381
424
  });
382
- const Yt = di;
425
+ const an = _i;
426
+ function Ki(e, t) {
427
+ for (var n = e.length; n-- && Ot(t, e[n], 0) > -1; )
428
+ ;
429
+ return n;
430
+ }
431
+ function qi(e, t) {
432
+ for (var n = -1, a = e.length; ++n < a && Ot(t, e[n], 0) > -1; )
433
+ ;
434
+ return n;
435
+ }
436
+ function eo(e, t, n) {
437
+ if (e = Je(e), e && (n || t === void 0))
438
+ return Zt(e);
439
+ if (!e || !(t = Qe(t)))
440
+ return e;
441
+ var a = ut(e), i = ut(t), o = qi(a, i), r = Ki(a, i) + 1;
442
+ return Ta(a, o, r).join("");
443
+ }
383
444
  function j(e) {
384
- return St({
445
+ return bt({
385
446
  inheritAttrs: !1,
386
447
  setup(t, n) {
387
- const { attrs: a, slots: i, emit: o } = n, r = a, s = o, c = (d, u) => {
388
- const l = Yt(d);
389
- s(d, u), d !== l && s(l, u);
390
- }, g = new Proxy(i, {
391
- get(d, u, l) {
392
- var I;
393
- return (I = Reflect.get(d, u, l)) != null ? I : Reflect.get(r, u);
448
+ const { attrs: a, slots: i, emit: o } = n, r = a, s = o, c = (g, u) => {
449
+ const l = an(g);
450
+ s(g, u), g !== l && s(l, u);
451
+ }, d = new Proxy(i, {
452
+ get(g, u, l) {
453
+ var M;
454
+ return (M = Reflect.get(g, u, l)) != null ? M : Reflect.get(r, u);
394
455
  }
395
456
  });
396
- return e(r, { ...n, slots: g, emit: c });
457
+ return e(r, { ...n, slots: d, emit: c });
397
458
  }
398
459
  });
399
460
  }
400
461
  function ce(e) {
401
462
  return {
402
- props: (t) => St({
463
+ props: (t) => bt({
403
464
  inheritAttrs: !1,
404
465
  props: t,
405
466
  setup(n, a) {
406
- const i = n, { slots: o, emit: r } = a, s = r, c = (d, u) => {
407
- const l = Yt(d);
408
- s(d, u), d !== l && s(l, u);
409
- }, g = new Proxy(o, {
410
- get(d, u, l) {
411
- var I;
412
- return (I = Reflect.get(d, u, l)) != null ? I : Reflect.get(i, u);
467
+ const i = n, { slots: o, emit: r } = a, s = r, c = (g, u) => {
468
+ const l = an(g);
469
+ s(g, u), g !== l && s(l, u);
470
+ }, d = new Proxy(o, {
471
+ get(g, u, l) {
472
+ var M;
473
+ return (M = Reflect.get(g, u, l)) != null ? M : Reflect.get(i, u);
413
474
  }
414
475
  });
415
- return e(i, { ...a, slots: g, emit: c });
476
+ return e(i, { ...a, slots: d, emit: c });
416
477
  }
417
478
  })
418
479
  };
419
480
  }
420
- const k = M, re = "zh-CN";
421
- var gi = "n8tgem1", st = "n8tgem0", Ii = "n8tgem5", Mi = "n8tgem4", mi = "n8tgem2", fi = "n8tgem3", pi = "n8tgem7", vi = "n8tgem6";
422
- const yi = j((e) => {
423
- const t = h(() => {
481
+ const G = I, re = "zh-CN";
482
+ var to = "n8tgem1", It = "n8tgem0", no = "n8tgem5", ao = "n8tgem4", io = "n8tgem2", oo = "n8tgem3", ro = "n8tgem7", so = "n8tgem6";
483
+ const co = j((e) => {
484
+ const t = S(() => {
424
485
  var n;
425
486
  return (n = e.value) == null ? void 0 : n.split(`
426
- `).flatMap((a, i) => i === 0 ? a : [M("br"), a]);
487
+ `).flatMap((a, i) => i === 0 ? a : [I("br"), a]);
427
488
  });
428
- return () => M("div", [t.value]);
429
- }), ji = j((e, {
489
+ return () => I("div", [t.value]);
490
+ }), uo = j((e, {
430
491
  emit: t
431
492
  }) => {
432
493
  const n = () => t("click");
@@ -436,49 +497,49 @@ const yi = j((e) => {
436
497
  title: i,
437
498
  description: o
438
499
  } = e;
439
- return a === "locator" ? M("div", {
440
- class: st
441
- }, [M("img", {
442
- class: pi,
500
+ return a === "locator" ? I("div", {
501
+ class: It
502
+ }, [I("img", {
503
+ class: ro,
443
504
  attrs: {
444
- src: Be
505
+ src: Ye
445
506
  }
446
- })]) : M("div", {
447
- class: st
448
- }, [M("div", {
449
- class: gi,
507
+ })]) : I("div", {
508
+ class: It
509
+ }, [I("div", {
510
+ class: to,
450
511
  on: {
451
512
  click: n
452
513
  }
453
- }, [M("div", {
454
- class: mi
455
- }, [M(yi, {
456
- class: fi,
514
+ }, [I("div", {
515
+ class: io
516
+ }, [I(co, {
517
+ class: oo,
457
518
  attrs: {
458
519
  value: i
459
520
  }
460
- }), !!o && M("div", {
461
- class: Mi
462
- }, [o])]), M("img", {
463
- class: Ii,
521
+ }), !!o && I("div", {
522
+ class: ao
523
+ }, [o])]), I("img", {
524
+ class: no,
464
525
  attrs: {
465
- src: Ve
526
+ src: He
466
527
  }
467
- })]), M("i", {
468
- class: vi
528
+ })]), I("i", {
529
+ class: so
469
530
  })]);
470
531
  };
471
- }), B = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluay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JpeD4KICAgICAgICA8L2ZpbHRlcj4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSIxLjAiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", on = Symbol(), N = () => {
533
+ const e = Be(on);
473
534
  if (!e)
474
535
  throw new Error("MyError: useMapSupplier should be under MapProvider");
475
536
  return e;
476
- }, Li = (e) => Ue(Ht, e), Qt = Symbol("amap"), ue = () => We(Qt), Ai = (e) => Ue(Qt, e), Jt = Symbol("gmap"), le = () => We(Jt), Ni = (e) => Ue(Jt, e), Ft = () => {
477
- const { supplier: e } = S();
537
+ }, lo = (e) => Ve(on, e), rn = Symbol("amap"), ue = () => Be(rn), go = (e) => Ve(rn, e), sn = Symbol("gmap"), le = () => Be(sn), Mo = (e) => Ve(sn, e), cn = () => {
538
+ const { supplier: e } = N();
478
539
  return e === "gmap" ? le() : ue();
479
540
  }, Q = (e) => {
480
- const t = Ft();
481
- E(
541
+ const t = cn();
542
+ b(
482
543
  () => t.value,
483
544
  (n) => {
484
545
  n && Promise.resolve().then(e);
@@ -487,29 +548,29 @@ const yi = j((e) => {
487
548
  immediate: !0
488
549
  }
489
550
  );
490
- }, Xt = (e) => {
551
+ }, un = (e) => {
491
552
  const { registerOverlay: t, overlayRef: n } = e;
492
- E(
553
+ b(
493
554
  () => n.value,
494
555
  (a, i) => {
495
556
  t && (i && t.remove(i), a && t.add(a));
496
557
  }
497
558
  );
498
- }, ct = (e) => e != null && typeof e == "object" && Number.isFinite(e.lat) && Number.isFinite(e.lng);
499
- var Si = typeof WeakMap == "function", ut = Object.keys;
559
+ }, mt = (e) => e != null && typeof e == "object" && Number.isFinite(e.lat) && Number.isFinite(e.lng);
560
+ var Io = typeof WeakMap == "function", ft = Object.keys;
500
561
  function me(e, t) {
501
562
  return e === t || e !== e && t !== t;
502
563
  }
503
- function lt(e) {
564
+ function pt(e) {
504
565
  return e.constructor === Object || e.constructor == null;
505
566
  }
506
- function dt(e) {
567
+ function vt(e) {
507
568
  return !!e && typeof e.then == "function";
508
569
  }
509
- function gt(e) {
570
+ function yt(e) {
510
571
  return !!(e && e.$$typeof);
511
572
  }
512
- function hi() {
573
+ function mo() {
513
574
  var e = [];
514
575
  return {
515
576
  delete: function(t) {
@@ -534,20 +595,20 @@ function hi() {
534
595
  }
535
596
  };
536
597
  }
537
- var Di = function(e) {
598
+ var fo = function(e) {
538
599
  return e ? function() {
539
600
  return /* @__PURE__ */ new WeakMap();
540
- } : hi;
541
- }(Si);
542
- function $t(e) {
601
+ } : mo;
602
+ }(Io);
603
+ function ln(e) {
543
604
  return function(n) {
544
605
  var a = e || n;
545
- return function(o, r, s, c, g, d, u) {
546
- u === void 0 && (u = Di());
547
- var l = !!o && typeof o == "object", I = !!r && typeof r == "object";
548
- if (l !== I)
606
+ return function(o, r, s, c, d, g, u) {
607
+ u === void 0 && (u = fo());
608
+ var l = !!o && typeof o == "object", M = !!r && typeof r == "object";
609
+ if (l !== M)
549
610
  return !1;
550
- if (!l && !I)
611
+ if (!l && !M)
551
612
  return a(o, r, u);
552
613
  var m = u.get(o);
553
614
  if (m && u.get(r))
@@ -558,7 +619,7 @@ function $t(e) {
558
619
  };
559
620
  };
560
621
  }
561
- function wi(e, t, n, a) {
622
+ function po(e, t, n, a) {
562
623
  var i = e.length;
563
624
  if (t.length !== i)
564
625
  return !1;
@@ -567,76 +628,76 @@ function wi(e, t, n, a) {
567
628
  return !1;
568
629
  return !0;
569
630
  }
570
- function xi(e, t, n, a) {
631
+ function vo(e, t, n, a) {
571
632
  var i = e.size === t.size;
572
633
  if (i && e.size) {
573
634
  var o = {}, r = 0;
574
635
  e.forEach(function(s, c) {
575
636
  if (i) {
576
- var g = !1, d = 0;
637
+ var d = !1, g = 0;
577
638
  t.forEach(function(u, l) {
578
- !g && !o[d] && (g = n(c, l, r, d, e, t, a) && n(s, u, c, l, e, t, a), g && (o[d] = !0)), d++;
579
- }), r++, i = g;
639
+ !d && !o[g] && (d = n(c, l, r, g, e, t, a) && n(s, u, c, l, e, t, a), d && (o[g] = !0)), g++;
640
+ }), r++, i = d;
580
641
  }
581
642
  });
582
643
  }
583
644
  return i;
584
645
  }
585
- var Ci = "_owner", Pi = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
586
- function It(e, t, n, a) {
587
- var i = ut(e), o = i.length;
588
- if (ut(t).length !== o)
646
+ var yo = "_owner", jo = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
647
+ function jt(e, t, n, a) {
648
+ var i = ft(e), o = i.length;
649
+ if (ft(t).length !== o)
589
650
  return !1;
590
651
  if (o)
591
652
  for (var r = void 0; o-- > 0; ) {
592
- if (r = i[o], r === Ci) {
593
- var s = gt(e), c = gt(t);
653
+ if (r = i[o], r === yo) {
654
+ var s = yt(e), c = yt(t);
594
655
  if ((s || c) && s !== c)
595
656
  return !1;
596
657
  }
597
- if (!Pi(t, r) || !n(e[r], t[r], r, r, e, t, a))
658
+ if (!jo(t, r) || !n(e[r], t[r], r, r, e, t, a))
598
659
  return !1;
599
660
  }
600
661
  return !0;
601
662
  }
602
- var bi = function() {
663
+ var Lo = function() {
603
664
  return /foo/g.flags === "g" ? function(t, n) {
604
665
  return t.source === n.source && t.flags === n.flags;
605
666
  } : function(t, n) {
606
667
  return t.source === n.source && t.global === n.global && t.ignoreCase === n.ignoreCase && t.multiline === n.multiline && t.unicode === n.unicode && t.sticky === n.sticky && t.lastIndex === n.lastIndex;
607
668
  };
608
669
  }();
609
- function Ei(e, t, n, a) {
670
+ function Ao(e, t, n, a) {
610
671
  var i = e.size === t.size;
611
672
  if (i && e.size) {
612
673
  var o = {};
613
674
  e.forEach(function(r, s) {
614
675
  if (i) {
615
- var c = !1, g = 0;
616
- t.forEach(function(d, u) {
617
- !c && !o[g] && (c = n(r, d, s, u, e, t, a), c && (o[g] = !0)), g++;
676
+ var c = !1, d = 0;
677
+ t.forEach(function(g, u) {
678
+ !c && !o[d] && (c = n(r, g, s, u, e, t, a), c && (o[d] = !0)), d++;
618
679
  }), i = c;
619
680
  }
620
681
  });
621
682
  }
622
683
  return i;
623
684
  }
624
- var Ti = typeof Map == "function", zi = typeof Set == "function", Mt = Object.prototype.valueOf;
685
+ var No = typeof Map == "function", ho = typeof Set == "function", Lt = Object.prototype.valueOf;
625
686
  function de(e) {
626
687
  var t = (
627
688
  /* eslint-disable no-use-before-define */
628
- typeof e == "function" ? e(n) : function(a, i, o, r, s, c, g) {
629
- return n(a, i, g);
689
+ typeof e == "function" ? e(n) : function(a, i, o, r, s, c, d) {
690
+ return n(a, i, d);
630
691
  }
631
692
  );
632
693
  function n(a, i, o) {
633
694
  if (a === i)
634
695
  return !0;
635
696
  if (a && i && typeof a == "object" && typeof i == "object") {
636
- if (lt(a) && lt(i))
637
- return It(a, i, t, o);
697
+ if (pt(a) && pt(i))
698
+ return jt(a, i, t, o);
638
699
  var r = Array.isArray(a), s = Array.isArray(i);
639
- return r || s ? r === s && wi(a, i, t, o) : (r = a instanceof Date, s = i instanceof Date, r || s ? r === s && me(a.getTime(), i.getTime()) : (r = a instanceof RegExp, s = i instanceof RegExp, r || s ? r === s && bi(a, i) : dt(a) || dt(i) ? a === i : Ti && (r = a instanceof Map, s = i instanceof Map, r || s) ? r === s && xi(a, i, t, o) : zi && (r = a instanceof Set, s = i instanceof Set, r || s) ? r === s && Ei(a, i, t, o) : a.valueOf !== Mt || i.valueOf !== Mt ? me(a.valueOf(), i.valueOf()) : It(a, i, t, o)));
700
+ return r || s ? r === s && po(a, i, t, o) : (r = a instanceof Date, s = i instanceof Date, r || s ? r === s && me(a.getTime(), i.getTime()) : (r = a instanceof RegExp, s = i instanceof RegExp, r || s ? r === s && Lo(a, i) : vt(a) || vt(i) ? a === i : No && (r = a instanceof Map, s = i instanceof Map, r || s) ? r === s && vo(a, i, t, o) : ho && (r = a instanceof Set, s = i instanceof Set, r || s) ? r === s && Ao(a, i, t, o) : a.valueOf !== Lt || i.valueOf !== Lt ? me(a.valueOf(), i.valueOf()) : jt(a, i, t, o)));
640
701
  }
641
702
  return a !== a && i !== i;
642
703
  }
@@ -646,26 +707,26 @@ de();
646
707
  de(function() {
647
708
  return me;
648
709
  });
649
- de($t());
650
- de($t(me));
651
- const z = ([e, t]) => ({
710
+ de(ln());
711
+ de(ln(me));
712
+ const R = ([e, t]) => ({
652
713
  lng: e,
653
714
  lat: t
654
- }), he = (e) => {
715
+ }), Se = (e) => {
655
716
  const t = [], n = e.split("*");
656
717
  for (const [a, i] of n.entries())
657
718
  i && t.push({ value: i, type: a % 2 === 0 ? "normal" : "emphasize" });
658
719
  return t;
659
- }, _t = (e) => `${e.charAt(2).toLocaleLowerCase()}${e.slice(3)}`, Kt = (e) => e.slice(2).toLowerCase(), Ri = (e) => {
720
+ }, dn = (e) => `${e.charAt(2).toLocaleLowerCase()}${e.slice(3)}`, gn = (e) => e.slice(2).toLowerCase(), So = (e) => {
660
721
  switch (e) {
661
722
  case "en":
662
723
  return "style_en";
663
724
  case "zh":
664
725
  return "style_zh_cn";
665
726
  }
666
- }, C = (e) => [e.lng, e.lat], fe = (e) => (...t) => {
727
+ }, x = (e) => [e.lng, e.lat], fe = (e) => (...t) => {
667
728
  Promise.resolve().then(() => e == null ? void 0 : e(...t));
668
- }, mt = (e) => {
729
+ }, At = (e) => {
669
730
  const { address_components: t } = e, n = t.find(
670
731
  (i) => i.types[0] === "administrative_area_level_1" || i.types[0] === "administrative_area_level_2"
671
732
  );
@@ -674,51 +735,51 @@ const z = ([e, t]) => ({
674
735
  const a = t.findIndex((i) => i.types[0] === "country");
675
736
  if (a > 0)
676
737
  return t[a - 1].long_name;
677
- }, Zi = (e, t) => e.lng === (t == null ? void 0 : t.lng) && e.lat === (t == null ? void 0 : t.lat), qt = (e, t) => e[0] === (t == null ? void 0 : t[0]) && e[1] === (t == null ? void 0 : t[1]), en = de((e) => (t, n) => ct(t) || ct(n) ? new google.maps.LatLng(t).equals(new google.maps.LatLng(n)) : e(t, n));
678
- function Ye() {
738
+ }, Do = (e, t) => e.lng === (t == null ? void 0 : t.lng) && e.lat === (t == null ? void 0 : t.lat), Mn = (e, t) => e[0] === (t == null ? void 0 : t[0]) && e[1] === (t == null ? void 0 : t[1]), In = de((e) => (t, n) => mt(t) || mt(n) ? new google.maps.LatLng(t).equals(new google.maps.LatLng(n)) : e(t, n));
739
+ function Fe() {
679
740
  let e;
680
741
  return function(n) {
681
- return en(n, e) || (e = n), e;
742
+ return In(n, e) || (e = n), e;
682
743
  };
683
744
  }
684
745
  function ge(e, t, n) {
685
- const a = Ye();
686
- return E(() => a(e()), t, {
746
+ const a = Fe();
747
+ return b(() => a(e()), t, {
687
748
  immediate: !1,
688
749
  flush: "post",
689
750
  ...n
690
751
  });
691
752
  }
692
753
  function ee(e, t, n) {
693
- const a = Ye();
694
- return E(() => a(e()), t, {
754
+ const a = Fe();
755
+ return b(() => a(e()), t, {
695
756
  immediate: !0,
696
757
  flush: "post",
697
758
  ...n
698
759
  });
699
760
  }
700
- function Oi(e, t, n) {
701
- const a = Ye();
702
- return E(() => a(e()), t, {
761
+ function wo(e, t, n) {
762
+ const a = Fe();
763
+ return b(() => a(e()), t, {
703
764
  immediate: !0,
704
765
  ...n
705
766
  });
706
767
  }
707
- function Gi(e) {
768
+ function Co(e) {
708
769
  return `set${e.charAt(0).toUpperCase()}${e.slice(1)}`;
709
770
  }
710
- function ki(e, t, n, a) {
771
+ function xo(e, t, n, a) {
711
772
  const i = n.map(
712
773
  ({ name: o }) => () => t[o]
713
774
  );
714
- E(
775
+ b(
715
776
  i,
716
777
  (o, r) => {
717
778
  const s = e.value;
718
779
  if (s)
719
- for (const [c, g] of o.entries()) {
720
- const { name: d, defaultValue: u } = n[c], l = r[c];
721
- en(g, l) || s[Gi(d)](g != null ? g : u);
780
+ for (const [c, d] of o.entries()) {
781
+ const { name: g, defaultValue: u } = n[c], l = r[c];
782
+ In(d, l) || s[Co(g)](d != null ? d : u);
722
783
  }
723
784
  },
724
785
  {
@@ -728,21 +789,21 @@ function ki(e, t, n, a) {
728
789
  }
729
790
  );
730
791
  }
731
- function He(e, t, n, a) {
732
- return ki(e, t, n, {
792
+ function $e(e, t, n, a) {
793
+ return xo(e, t, n, {
733
794
  immediate: !1,
734
795
  ...a
735
796
  });
736
797
  }
737
- function se(e, t, n, a) {
798
+ function q(e, t, n, a) {
738
799
  H((i) => {
739
800
  const o = e == null ? void 0 : e.value;
740
801
  if (!o)
741
802
  return;
742
803
  const r = [];
743
804
  for (const s of a) {
744
- const c = _t(s), g = Kt(s), d = (u) => n(c, u);
745
- o.on(g, d), r.push(() => o == null ? void 0 : o.off(g, d));
805
+ const c = dn(s), d = gn(s), g = (u) => n(c, u);
806
+ o.on(d, g), r.push(() => o == null ? void 0 : o.off(d, g));
746
807
  }
747
808
  i(() => {
748
809
  for (const s of r)
@@ -750,14 +811,14 @@ function se(e, t, n, a) {
750
811
  });
751
812
  });
752
813
  }
753
- function K(e, t, n, a) {
814
+ function F(e, t, n, a) {
754
815
  H((i) => {
755
816
  const o = e == null ? void 0 : e.value;
756
817
  if (!o)
757
818
  return;
758
819
  const r = [];
759
820
  for (const s of a) {
760
- const c = _t(s), g = Kt(s), d = (l) => n(c, l), u = o.addListener(g, d);
821
+ const c = dn(s), d = gn(s), g = (l) => n(c, l), u = o.addListener(d, g);
761
822
  r.push(() => google.maps.event.removeListener(u));
762
823
  }
763
824
  i(() => {
@@ -767,17 +828,17 @@ function K(e, t, n, a) {
767
828
  });
768
829
  }
769
830
  const V = j((e, { emit: t }) => {
770
- const { registerOverlay: n } = e, a = R(), i = ue();
831
+ const { registerOverlay: n } = e, a = z(), i = ue();
771
832
  return Ne(() => {
772
833
  a.value = new AMap.Marker({ ...e });
773
- }), Se(() => {
834
+ }), he(() => {
774
835
  var o;
775
836
  (o = a.value) == null || o.setMap(null);
776
- }), Xt({ registerOverlay: n, overlayRef: a }), H(() => {
837
+ }), un({ registerOverlay: n, overlayRef: a }), H(() => {
777
838
  var r;
778
839
  const o = i == null ? void 0 : i.value;
779
840
  o && ((r = a.value) == null || r.setMap(o));
780
- }), He(a, e, [
841
+ }), $e(a, e, [
781
842
  { name: "anchor", defaultValue: "" },
782
843
  { name: "offset", defaultValue: [0, 0] },
783
844
  { name: "clickable", defaultValue: !1 },
@@ -791,14 +852,14 @@ const V = j((e, { emit: t }) => {
791
852
  { name: "content", defaultValue: "" },
792
853
  { name: "title", defaultValue: "" },
793
854
  { name: "extData", defaultValue: "" }
794
- ]), se(a, e, t, ["onClick"]), () => null;
855
+ ]), q(a, e, t, ["onClick"]), () => null;
795
856
  }), Y = j(
796
857
  (e, { emit: t }) => {
797
- const { registerOverlay: n } = e, a = R(), i = le(), o = (r) => t(r, { target: a.value });
798
- return Xt({ registerOverlay: n, overlayRef: a }), Ne(() => {
858
+ const { registerOverlay: n } = e, a = z(), i = le(), o = (r) => t(r, { target: a.value });
859
+ return un({ registerOverlay: n, overlayRef: a }), Ne(() => {
799
860
  const { registerOverlay: r, ...s } = e;
800
861
  a.value = new google.maps.marker.AdvancedMarkerView({ ...s }), a.value.addListener;
801
- }), Se(() => {
862
+ }), he(() => {
802
863
  a.value && (a.value.map = null);
803
864
  }), H(() => {
804
865
  const r = i == null ? void 0 : i.value;
@@ -811,7 +872,7 @@ const V = j((e, { emit: t }) => {
811
872
  (r) => {
812
873
  a.value && Object.assign(a.value, r);
813
874
  }
814
- ), E(
875
+ ), b(
815
876
  () => e.content,
816
877
  (r) => {
817
878
  a.value && (a.value.content = r);
@@ -819,139 +880,139 @@ const V = j((e, { emit: t }) => {
819
880
  {
820
881
  flush: "post"
821
882
  }
822
- ), K(a, e, o, ["onClick"]), () => null;
883
+ ), F(a, e, o, ["onClick"]), () => null;
823
884
  }
824
885
  ), Z = (e, t, n) => {
825
886
  const { class: a, ...i } = t != null ? t : {}, o = document.createElement(e);
826
887
  return a && (o.className = a), Object.assign(o, i), n && (o.innerHTML = n), o;
827
888
  };
828
- var tn = "rgf09w0";
829
- const nn = j((e) => {
830
- const t = h(() => `
831
- <img src="${Be}" class="${tn}">
889
+ var mn = "rgf09w0";
890
+ const fn = j((e) => {
891
+ const t = S(() => `
892
+ <img src="${Ye}" class="${mn}">
832
893
  `);
833
- return () => M(V, {
894
+ return () => I(V, {
834
895
  attrs: {
835
896
  position: e.position,
836
897
  content: t.value,
837
898
  anchor: "bottom-center"
838
899
  }
839
900
  });
840
- }), an = j((e) => {
841
- const t = h(() => Z("img", {
842
- class: tn,
843
- src: Be
901
+ }), pn = j((e) => {
902
+ const t = S(() => Z("img", {
903
+ class: mn,
904
+ src: Ye
844
905
  }));
845
- return () => M(Y, {
906
+ return () => I(Y, {
846
907
  attrs: {
847
- position: z(e.position),
908
+ position: R(e.position),
848
909
  content: t.value
849
910
  }
850
911
  });
851
912
  });
852
913
  j((e) => {
853
- const t = S();
854
- return () => k(t.supplier === "gmap" ? an : nn, {
914
+ const t = N();
915
+ return () => G(t.supplier === "gmap" ? pn : fn, {
855
916
  attrs: e
856
917
  });
857
918
  });
858
- var on = "_15rq2xn1", rn = "_15rq2xn0", sn = "_15rq2xn3", cn = "_15rq2xn2", un = "_15rq2xn4", ln = "_15rq2xn6", dn = "_15rq2xn5";
859
- const Wi = j((e) => {
860
- const t = h(() => {
919
+ var vn = "_15rq2xn1", yn = "_15rq2xn0", jn = "_15rq2xn3", Ln = "_15rq2xn2", An = "_15rq2xn4", Nn = "_15rq2xn6", hn = "_15rq2xn5";
920
+ const Po = j((e) => {
921
+ const t = S(() => {
861
922
  var n;
862
923
  return `
863
- <div class="${rn}">
864
- <div class="${on}">
924
+ <div class="${yn}">
925
+ <div class="${vn}">
865
926
  <div>
866
- <div class="${cn}">${e.title}</div>
867
- <div class="${sn}">${(n = e.description) != null ? n : ""}</div>
927
+ <div class="${Ln}">${e.title}</div>
928
+ <div class="${jn}">${(n = e.description) != null ? n : ""}</div>
868
929
  </div>
869
- <img class="${un}" src="${Ve}" >
930
+ <img class="${An}" src="${He}" >
870
931
  </div>
871
- <div class="${dn}"></div>
872
- <img src="${B}" class="${ln}">
932
+ <div class="${hn}"></div>
933
+ <img src="${B}" class="${Nn}">
873
934
  </div>
874
935
  `;
875
936
  });
876
- return () => e.type === "locator" ? M(nn, {
937
+ return () => e.type === "locator" ? I(fn, {
877
938
  attrs: {
878
939
  position: e.position
879
940
  }
880
- }) : M(V, {
941
+ }) : I(V, {
881
942
  attrs: {
882
943
  position: e.position,
883
944
  content: t.value,
884
945
  anchor: "bottom-center"
885
946
  }
886
947
  });
887
- }), Ui = j((e) => {
888
- const t = h(() => {
948
+ }), bo = j((e) => {
949
+ const t = S(() => {
889
950
  var n;
890
951
  return Z("div", {
891
- class: rn
952
+ class: yn
892
953
  }, `
893
- <div class="${on}">
954
+ <div class="${vn}">
894
955
  <div>
895
- <div class="${cn}">${e.title}</div>
896
- <div class="${sn}">${(n = e.description) != null ? n : ""}</div>
956
+ <div class="${Ln}">${e.title}</div>
957
+ <div class="${jn}">${(n = e.description) != null ? n : ""}</div>
897
958
  </div>
898
- <img class="${un}" src="${Ve}" >
959
+ <img class="${An}" src="${He}" >
899
960
  </div>
900
- <div class="${dn}"></div>
901
- <img src="${B}" class="${ln}">
961
+ <div class="${hn}"></div>
962
+ <img src="${B}" class="${Nn}">
902
963
  `);
903
964
  });
904
- return () => e.type === "locator" ? M(an, {
965
+ return () => e.type === "locator" ? I(pn, {
905
966
  attrs: {
906
967
  position: e.position
907
968
  }
908
- }) : M(Y, {
969
+ }) : I(Y, {
909
970
  attrs: {
910
- position: z(e.position),
971
+ position: R(e.position),
911
972
  content: t.value
912
973
  }
913
974
  });
914
- }), gr = j((e) => {
915
- const t = S();
916
- return () => k(t.supplier === "gmap" ? Ui : Wi, {
975
+ }), os = j((e) => {
976
+ const t = N();
977
+ return () => G(t.supplier === "gmap" ? bo : Po, {
917
978
  attrs: e
918
979
  });
919
980
  });
920
- var Oe = {}, Bi = {
981
+ var Ge = {}, To = {
921
982
  get exports() {
922
- return Oe;
983
+ return Ge;
923
984
  },
924
985
  set exports(e) {
925
- Oe = e;
986
+ Ge = e;
926
987
  }
927
988
  };
928
989
  (function(e, t) {
929
990
  (function(n, a) {
930
991
  e.exports = a();
931
- })(Un, function() {
992
+ })(ea, function() {
932
993
  function n(u) {
933
994
  var l = [];
934
995
  return u.AMapUI && l.push(a(u.AMapUI)), u.Loca && l.push(i(u.Loca)), Promise.all(l);
935
996
  }
936
997
  function a(u) {
937
- return new Promise(function(l, I) {
998
+ return new Promise(function(l, M) {
938
999
  var m = [];
939
1000
  if (u.plugins)
940
1001
  for (var f = 0; f < u.plugins.length; f += 1)
941
1002
  r.AMapUI.plugins.indexOf(u.plugins[f]) == -1 && m.push(u.plugins[f]);
942
1003
  if (s.AMapUI === o.failed)
943
- I("前次请求 AMapUI 失败");
1004
+ M("前次请求 AMapUI 失败");
944
1005
  else if (s.AMapUI === o.notload) {
945
1006
  s.AMapUI = o.loading, r.AMapUI.version = u.version || r.AMapUI.version, f = r.AMapUI.version;
946
1007
  var v = document.body || document.head, y = document.createElement("script");
947
1008
  y.type = "text/javascript", y.src = "https://webapi.amap.com/ui/" + f + "/main.js", y.onerror = function(p) {
948
- s.AMapUI = o.failed, I("请求 AMapUI 失败");
1009
+ s.AMapUI = o.failed, M("请求 AMapUI 失败");
949
1010
  }, y.onload = function() {
950
1011
  if (s.AMapUI = o.loaded, m.length)
951
1012
  window.AMapUI.loadUI(m, function() {
952
- for (var p = 0, N = m.length; p < N; p++) {
953
- var L = m[p].split("/").slice(-1)[0];
954
- window.AMapUI[L] = arguments[p];
1013
+ for (var p = 0, L = m.length; p < L; p++) {
1014
+ var h = m[p].split("/").slice(-1)[0];
1015
+ window.AMapUI[h] = arguments[p];
955
1016
  }
956
1017
  for (l(); c.AMapUI.length; )
957
1018
  c.AMapUI.splice(0, 1)[0]();
@@ -961,17 +1022,17 @@ var Oe = {}, Bi = {
961
1022
  c.AMapUI.splice(0, 1)[0]();
962
1023
  }, v.appendChild(y);
963
1024
  } else
964
- s.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? I("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
965
- for (var p = 0, N = m.length; p < N; p++) {
966
- var L = m[p].split("/").slice(-1)[0];
967
- window.AMapUI[L] = arguments[p];
1025
+ s.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
1026
+ for (var p = 0, L = m.length; p < L; p++) {
1027
+ var h = m[p].split("/").slice(-1)[0];
1028
+ window.AMapUI[h] = arguments[p];
968
1029
  }
969
1030
  l();
970
- }) : l() : u.version && u.version !== r.AMapUI.version ? I("不允许多个版本 AMapUI 混用") : c.AMapUI.push(function(p) {
971
- p ? I(p) : m.length ? window.AMapUI.loadUI(m, function() {
972
- for (var N = 0, L = m.length; N < L; N++) {
973
- var x = m[N].split("/").slice(-1)[0];
974
- window.AMapUI[x] = arguments[N];
1031
+ }) : l() : u.version && u.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : c.AMapUI.push(function(p) {
1032
+ p ? M(p) : m.length ? window.AMapUI.loadUI(m, function() {
1033
+ for (var L = 0, h = m.length; L < h; L++) {
1034
+ var T = m[L].split("/").slice(-1)[0];
1035
+ window.AMapUI[T] = arguments[L];
975
1036
  }
976
1037
  l();
977
1038
  }) : l();
@@ -979,27 +1040,27 @@ var Oe = {}, Bi = {
979
1040
  });
980
1041
  }
981
1042
  function i(u) {
982
- return new Promise(function(l, I) {
1043
+ return new Promise(function(l, M) {
983
1044
  if (s.Loca === o.failed)
984
- I("前次请求 Loca 失败");
1045
+ M("前次请求 Loca 失败");
985
1046
  else if (s.Loca === o.notload) {
986
1047
  s.Loca = o.loading, r.Loca.version = u.version || r.Loca.version;
987
1048
  var m = r.Loca.version, f = r.AMap.version.startsWith("2"), v = m.startsWith("2");
988
1049
  if (f && !v || !f && v)
989
- I("JSAPI 与 Loca 版本不对应!!");
1050
+ M("JSAPI 与 Loca 版本不对应!!");
990
1051
  else {
991
1052
  f = r.key, v = document.body || document.head;
992
1053
  var y = document.createElement("script");
993
1054
  y.type = "text/javascript", y.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + f, y.onerror = function(p) {
994
- s.Loca = o.failed, I("请求 AMapUI 失败");
1055
+ s.Loca = o.failed, M("请求 AMapUI 失败");
995
1056
  }, y.onload = function() {
996
1057
  for (s.Loca = o.loaded, l(); c.Loca.length; )
997
1058
  c.Loca.splice(0, 1)[0]();
998
1059
  }, v.appendChild(y);
999
1060
  }
1000
1061
  } else
1001
- s.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? I("不允许多个版本 Loca 混用") : l() : u.version && u.version !== r.Loca.version ? I("不允许多个版本 Loca 混用") : c.Loca.push(function(p) {
1002
- p ? I(p) : I();
1062
+ s.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : l() : u.version && u.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : c.Loca.push(function(p) {
1063
+ p ? M(p) : M();
1003
1064
  });
1004
1065
  });
1005
1066
  }
@@ -1009,31 +1070,31 @@ var Oe = {}, Bi = {
1009
1070
  (function(u) {
1010
1071
  u.notload = "notload", u.loading = "loading", u.loaded = "loaded", u.failed = "failed";
1011
1072
  })(o || (o = {}));
1012
- var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, c = { AMap: [], AMapUI: [], Loca: [] }, g = [], d = function(u) {
1013
- typeof u == "function" && (s.AMap === o.loaded ? u(window.AMap) : g.push(u));
1073
+ var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, c = { AMap: [], AMapUI: [], Loca: [] }, d = [], g = function(u) {
1074
+ typeof u == "function" && (s.AMap === o.loaded ? u(window.AMap) : d.push(u));
1014
1075
  };
1015
1076
  return { load: function(u) {
1016
- return new Promise(function(l, I) {
1077
+ return new Promise(function(l, M) {
1017
1078
  if (s.AMap == o.failed)
1018
- I("");
1079
+ M("");
1019
1080
  else if (s.AMap == o.notload) {
1020
1081
  var m = u.key, f = u.version, v = u.plugins;
1021
- m ? (window.AMap && location.host !== "lbs.amap.com" && I("禁止多种API加载方式混用"), r.key = m, r.AMap.version = f || r.AMap.version, r.AMap.plugins = v || r.AMap.plugins, s.AMap = o.loading, f = document.body || document.head, window.___onAPILoaded = function(p) {
1082
+ m ? (window.AMap && location.host !== "lbs.amap.com" && M("禁止多种API加载方式混用"), r.key = m, r.AMap.version = f || r.AMap.version, r.AMap.plugins = v || r.AMap.plugins, s.AMap = o.loading, f = document.body || document.head, window.___onAPILoaded = function(p) {
1022
1083
  if (delete window.___onAPILoaded, p)
1023
- s.AMap = o.failed, I(p);
1084
+ s.AMap = o.failed, M(p);
1024
1085
  else
1025
1086
  for (s.AMap = o.loaded, n(u).then(function() {
1026
1087
  l(window.AMap);
1027
- }).catch(I); g.length; )
1028
- g.splice(0, 1)[0]();
1088
+ }).catch(M); d.length; )
1089
+ d.splice(0, 1)[0]();
1029
1090
  }, v = document.createElement("script"), v.type = "text/javascript", v.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + m + "&plugin=" + r.AMap.plugins.join(","), v.onerror = function(p) {
1030
- s.AMap = o.failed, I(p);
1031
- }, f.appendChild(v)) : I("请填写key");
1091
+ s.AMap = o.failed, M(p);
1092
+ }, f.appendChild(v)) : M("请填写key");
1032
1093
  } else if (s.AMap == o.loaded)
1033
1094
  if (u.key && u.key !== r.key)
1034
- I("多个不一致的 key");
1095
+ M("多个不一致的 key");
1035
1096
  else if (u.version && u.version !== r.AMap.version)
1036
- I("不允许多个版本 JSAPI 混用");
1097
+ M("不允许多个版本 JSAPI 混用");
1037
1098
  else {
1038
1099
  if (m = [], u.plugins)
1039
1100
  for (f = 0; f < u.plugins.length; f += 1)
@@ -1041,28 +1102,28 @@ var Oe = {}, Bi = {
1041
1102
  m.length ? window.AMap.plugin(m, function() {
1042
1103
  n(u).then(function() {
1043
1104
  l(window.AMap);
1044
- }).catch(I);
1105
+ }).catch(M);
1045
1106
  }) : n(u).then(function() {
1046
1107
  l(window.AMap);
1047
- }).catch(I);
1108
+ }).catch(M);
1048
1109
  }
1049
1110
  else if (u.key && u.key !== r.key)
1050
- I("多个不一致的 key");
1111
+ M("多个不一致的 key");
1051
1112
  else if (u.version && u.version !== r.AMap.version)
1052
- I("不允许多个版本 JSAPI 混用");
1113
+ M("不允许多个版本 JSAPI 混用");
1053
1114
  else {
1054
1115
  var y = [];
1055
1116
  if (u.plugins)
1056
1117
  for (f = 0; f < u.plugins.length; f += 1)
1057
1118
  r.AMap.plugins.indexOf(u.plugins[f]) == -1 && y.push(u.plugins[f]);
1058
- d(function() {
1119
+ g(function() {
1059
1120
  y.length ? window.AMap.plugin(y, function() {
1060
1121
  n(u).then(function() {
1061
1122
  l(window.AMap);
1062
- }).catch(I);
1123
+ }).catch(M);
1063
1124
  }) : n(u).then(function() {
1064
1125
  l(window.AMap);
1065
- }).catch(I);
1126
+ }).catch(M);
1066
1127
  });
1067
1128
  }
1068
1129
  });
@@ -1074,8 +1135,8 @@ var Oe = {}, Bi = {
1074
1135
  }, c = { AMap: [], AMapUI: [], Loca: [] };
1075
1136
  } };
1076
1137
  });
1077
- })(Bi);
1078
- var Vi = function e(t, n) {
1138
+ })(To);
1139
+ var Eo = function e(t, n) {
1079
1140
  if (t === n)
1080
1141
  return !0;
1081
1142
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -1110,7 +1171,7 @@ var Vi = function e(t, n) {
1110
1171
  }
1111
1172
  return t !== t && n !== n;
1112
1173
  };
1113
- const ft = "__googleMapsScriptId";
1174
+ const Nt = "__googleMapsScriptId";
1114
1175
  var X;
1115
1176
  (function(e) {
1116
1177
  e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
@@ -1125,9 +1186,9 @@ class J {
1125
1186
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1126
1187
  * ```
1127
1188
  */
1128
- constructor({ apiKey: t, authReferrerPolicy: n, channel: a, client: i, id: o = ft, language: r, libraries: s = [], mapIds: c, nonce: g, region: d, retries: u = 3, url: l = "https://maps.googleapis.com/maps/api/js", version: I }) {
1129
- if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = n, this.channel = a, this.client = i, this.id = o || ft, this.language = r, this.libraries = s, this.mapIds = c, this.nonce = g, this.region = d, this.retries = u, this.url = l, this.version = I, J.instance) {
1130
- if (!Vi(this.options, J.instance.options))
1189
+ constructor({ apiKey: t, authReferrerPolicy: n, channel: a, client: i, id: o = Nt, language: r, libraries: s = [], mapIds: c, nonce: d, region: g, retries: u = 3, url: l = "https://maps.googleapis.com/maps/api/js", version: M }) {
1190
+ if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = n, this.channel = a, this.client = i, this.id = o || Nt, this.language = r, this.libraries = s, this.mapIds = c, this.nonce = d, this.region = g, this.retries = u, this.url = l, this.version = M, J.instance) {
1191
+ if (!Eo(this.options, J.instance.options))
1131
1192
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(J.instance.options)}`);
1132
1193
  return J.instance;
1133
1194
  }
@@ -1241,38 +1302,38 @@ class J {
1241
1302
  }
1242
1303
  }
1243
1304
  }
1244
- const Yi = [
1305
+ const Ro = [
1245
1306
  "AMap.Geolocation",
1246
1307
  "AMap.Geocoder",
1247
1308
  "AMap.PlaceSearch",
1248
1309
  "AMap.Driving",
1249
1310
  "AMap.Walking"
1250
- ], Hi = ["marker", "places", "geometry"];
1251
- var q = /* @__PURE__ */ ((e) => (e.LOADING = "LOADING", e.FAILURE = "FAILURE", e.SUCCESS = "SUCCESS", e))(q || {});
1252
- const Qi = (e) => {
1311
+ ], zo = ["marker", "places", "geometry"];
1312
+ var se = /* @__PURE__ */ ((e) => (e.LOADING = "LOADING", e.FAILURE = "FAILURE", e.SUCCESS = "SUCCESS", e))(se || {});
1313
+ const Zo = (e) => {
1253
1314
  const { onChange: t } = e;
1254
1315
  let n, a;
1255
1316
  const i = new Promise((s, c) => {
1256
1317
  n = s, a = c;
1257
- }), o = R(
1318
+ }), o = z(
1258
1319
  "LOADING"
1259
1320
  /* LOADING */
1260
- ), r = h(() => {
1261
- const { onChange: s, loading: c, fallback: g, apiKey: d, apiSecret: u, apiServiceHost: l, version: I, ...m } = e;
1262
- return { ...m, key: d, version: I != null ? I : "2.0.5.16" };
1321
+ ), r = S(() => {
1322
+ const { onChange: s, loading: c, fallback: d, apiKey: g, apiSecret: u, apiServiceHost: l, version: M, ...m } = e;
1323
+ return { ...m, key: g, version: M != null ? M : "2.0.5.16" };
1263
1324
  });
1264
1325
  return ee(
1265
1326
  () => r.value,
1266
1327
  (s) => {
1267
- const c = (g) => {
1268
- o.value = g, g === "SUCCESS" && n(), g === "FAILURE" && a(), t == null || t(o.value);
1328
+ const c = (d) => {
1329
+ o.value = d, d === "SUCCESS" && n(), d === "FAILURE" && a(), t == null || t(o.value);
1269
1330
  };
1270
1331
  c(
1271
1332
  "LOADING"
1272
1333
  /* LOADING */
1273
1334
  ), window._AMapSecurityConfig = e.apiServiceHost ? {
1274
1335
  serviceHost: e.apiServiceHost
1275
- } : { securityJsCode: e.apiSecret }, Oe.load(s).then(
1336
+ } : { securityJsCode: e.apiSecret }, Ge.load(s).then(
1276
1337
  () => c(
1277
1338
  "SUCCESS"
1278
1339
  /* SUCCESS */
@@ -1284,57 +1345,57 @@ const Qi = (e) => {
1284
1345
  );
1285
1346
  }
1286
1347
  ), { statusRef: o, readyPromise: i };
1287
- }, Ji = (e) => {
1348
+ }, Oo = (e) => {
1288
1349
  const { onChange: t } = e;
1289
1350
  let n, a;
1290
1351
  const i = new Promise((s, c) => {
1291
1352
  n = s, a = c;
1292
- }), o = R(
1353
+ }), o = z(
1293
1354
  "LOADING"
1294
1355
  /* LOADING */
1295
- ), r = h(() => {
1296
- const { onChange: s, fallback: c, loading: g, ...d } = e;
1297
- return d;
1356
+ ), r = S(() => {
1357
+ const { onChange: s, fallback: c, loading: d, ...g } = e;
1358
+ return g;
1298
1359
  });
1299
1360
  return ee(
1300
1361
  () => r.value,
1301
1362
  (s) => {
1302
- const c = new J(s), g = (d) => {
1303
- o.value = d, d === "SUCCESS" && n(), d === "FAILURE" && a(), t == null || t(o.value);
1363
+ const c = new J(s), d = (g) => {
1364
+ o.value = g, g === "SUCCESS" && n(), g === "FAILURE" && a(), t == null || t(o.value);
1304
1365
  };
1305
- g(
1366
+ d(
1306
1367
  "LOADING"
1307
1368
  /* LOADING */
1308
1369
  ), c.load().then(
1309
- () => g(
1370
+ () => d(
1310
1371
  "SUCCESS"
1311
1372
  /* SUCCESS */
1312
1373
  ),
1313
- () => g(
1374
+ () => d(
1314
1375
  "FAILURE"
1315
1376
  /* FAILURE */
1316
1377
  )
1317
1378
  );
1318
1379
  }
1319
1380
  ), { statusRef: o, readyPromise: i };
1320
- }, Fi = (e) => {
1381
+ }, ko = (e) => {
1321
1382
  const { gmapKey: t, amapKey: n, amapSecret: a, amapServiceHost: i, supplier: o, language: r, onChange: s } = e;
1322
- return o === "gmap" ? Ji({
1383
+ return o === "gmap" ? Oo({
1323
1384
  apiKey: t,
1324
1385
  language: r,
1325
1386
  version: "beta",
1326
- libraries: Hi,
1387
+ libraries: zo,
1327
1388
  onChange: s
1328
- }) : Qi({
1389
+ }) : Zo({
1329
1390
  apiKey: n,
1330
1391
  apiSecret: a,
1331
1392
  apiServiceHost: i,
1332
- plugins: Yi,
1393
+ plugins: Ro,
1333
1394
  onChange: s
1334
1395
  });
1335
1396
  };
1336
- var Xi = "_1d8ur7t0";
1337
- const $i = j((e, { slots: t, emit: n }) => {
1397
+ var Go = "_1d8ur7t0";
1398
+ const Wo = j((e, { slots: t, emit: n }) => {
1338
1399
  const {
1339
1400
  onDragStart: a,
1340
1401
  onDragEnd: i,
@@ -1342,7 +1403,7 @@ const $i = j((e, { slots: t, emit: n }) => {
1342
1403
  mapRef: r,
1343
1404
  vectorMapForeign: s = "style_zh_cn",
1344
1405
  ...c
1345
- } = e, g = h(() => ({
1406
+ } = e, d = S(() => ({
1346
1407
  dragEnable: !!e.dragEnable,
1347
1408
  zoomEnable: !!e.zoomEnable,
1348
1409
  jogEnable: !!e.jogEnable,
@@ -1350,23 +1411,23 @@ const $i = j((e, { slots: t, emit: n }) => {
1350
1411
  rotateEnable: !!e.rotateEnable,
1351
1412
  animateEnable: !!e.animateEnable,
1352
1413
  keyboardEnable: !!e.keyboardEnable
1353
- })), d = R(), u = R();
1354
- return Ai(u), H(() => {
1355
- if (u.value || !d.value)
1414
+ })), g = z(), u = z();
1415
+ return go(u), H(() => {
1416
+ if (u.value || !g.value)
1356
1417
  return;
1357
- const l = new AMap.Map(d.value, {
1418
+ const l = new AMap.Map(g.value, {
1358
1419
  ...c,
1359
1420
  vectorMapForeign: s,
1360
1421
  mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
1361
1422
  });
1362
1423
  u.value = l, r == null || r(l);
1363
1424
  }), ge(
1364
- () => g.value,
1425
+ () => d.value,
1365
1426
  (l) => {
1366
- var I;
1367
- (I = u.value) == null || I.setStatus(l);
1427
+ var M;
1428
+ (M = u.value) == null || M.setStatus(l);
1368
1429
  }
1369
- ), He(u, e, [
1430
+ ), $e(u, e, [
1370
1431
  { name: "center", defaultValue: [0, 0] },
1371
1432
  { name: "zooms", defaultValue: [0, 0] },
1372
1433
  { name: "zoom", defaultValue: 0 },
@@ -1379,150 +1440,143 @@ const $i = j((e, { slots: t, emit: n }) => {
1379
1440
  { name: "pitch", defaultValue: 0 },
1380
1441
  { name: "mask", defaultValue: [] },
1381
1442
  { name: "labelRejectMask", defaultValue: !1 }
1382
- ]), se(u, e, n, ["onDragStart", "onDragEnd", "onZoomEnd"]), () => {
1443
+ ]), q(u, e, n, ["onDragStart", "onDragEnd", "onZoomEnd"]), () => {
1383
1444
  var l;
1384
- return M("div", { ref: d, class: Xi }, (l = t.default) == null ? void 0 : l.call(t));
1445
+ return I("div", { ref: g, class: Go }, (l = t.default) == null ? void 0 : l.call(t));
1385
1446
  };
1386
1447
  });
1387
- let Ie = "user";
1388
- const _i = () => Ie, gn = () => ({ executeMapApi: (t) => {
1389
- Ie = "api";
1448
+ let Me = "user";
1449
+ const Uo = () => Me, Sn = () => ({ executeMapApi: (t) => {
1450
+ Me = "api";
1390
1451
  try {
1391
1452
  t(), setTimeout(() => {
1392
- Ie = "user";
1453
+ Me = "user";
1393
1454
  }, 100);
1394
1455
  } catch (n) {
1395
- throw Ie = "user", n;
1456
+ throw Me = "user", n;
1396
1457
  }
1397
1458
  } });
1398
- var Ki = "_7anfuo0";
1399
- const qi = j((e, { slots: t, emit: n }) => {
1400
- const a = e.mapRef, i = h(() => {
1401
- const { mapRef: d, onDragStart: u, onDragEnd: l, onZoomEnd: I, ...m } = e;
1459
+ var Bo = "_7anfuo0";
1460
+ const Vo = j((e, { slots: t, emit: n }) => {
1461
+ const a = e.mapRef, i = S(() => {
1462
+ const { mapRef: g, onDragStart: u, onDragEnd: l, onZoom_change: M, ...m } = e;
1402
1463
  return m;
1403
- }), o = i.value, r = R(), s = R(), { executeMapApi: c } = gn(), g = (d) => n(d, { target: s.value });
1404
- return Ni(s), H(() => {
1464
+ }), o = i.value, r = z(), s = z(), { executeMapApi: c } = Sn(), d = (g) => n(g, { target: s.value });
1465
+ return Mo(s), H(() => {
1405
1466
  if (s.value || !r.value)
1406
1467
  return;
1407
- let d;
1468
+ let g;
1408
1469
  c(() => {
1409
- d = new google.maps.Map(r.value, { ...o });
1410
- }), s.value = d, a == null || a(d);
1470
+ g = new google.maps.Map(r.value, { ...o });
1471
+ }), s.value = g, a == null || a(g);
1411
1472
  }), ge(
1412
1473
  () => i.value,
1413
- (d) => {
1474
+ (g) => {
1414
1475
  c(() => {
1415
1476
  var u;
1416
- return (u = s.value) == null ? void 0 : u.setOptions({ ...d });
1477
+ return (u = s.value) == null ? void 0 : u.setOptions({ ...g });
1417
1478
  });
1418
1479
  }
1419
- ), K(s, e, g, ["onDragStart", "onDragEnd", "onZoomEnd"]), () => {
1420
- var d;
1421
- return M("div", { ref: r, class: Ki }, (d = t.default) == null ? void 0 : d.call(t));
1480
+ ), F(s, e, d, [
1481
+ "onDragStart",
1482
+ "onDragEnd",
1483
+ "onZoom_change"
1484
+ ]), () => {
1485
+ var g;
1486
+ return I("div", { ref: r, class: Bo }, (g = t.default) == null ? void 0 : g.call(t));
1422
1487
  };
1423
- }), Ir = ce(function(t, {
1488
+ }), rs = ce(function(t, {
1424
1489
  slots: n
1425
1490
  }) {
1426
1491
  const {
1427
1492
  statusRef: a,
1428
1493
  readyPromise: i
1429
- } = Fi(t), o = new Proxy(t, {
1494
+ } = ko(t), o = new Proxy(t, {
1430
1495
  get(r, s, c) {
1431
1496
  return s === "status" ? a.value : s === "readyPromise" ? i : Reflect.get(r, s, c);
1432
1497
  }
1433
1498
  });
1434
- return Li(o), () => {
1499
+ return lo(o), () => {
1435
1500
  var r;
1436
- return M("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1501
+ return I("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1437
1502
  };
1438
1503
  }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), De = ce((e, {
1439
1504
  slots: t,
1440
1505
  emit: n
1441
1506
  }) => {
1442
- const a = S(), i = ({
1443
- target: c
1507
+ const a = N(), i = ({
1508
+ target: r
1444
1509
  }) => {
1445
1510
  const {
1446
- lng: g,
1447
- lat: d
1448
- } = c.getCenter();
1449
- n("dragEnd", [g(), d()]);
1511
+ lng: s,
1512
+ lat: c
1513
+ } = r.getCenter();
1514
+ n("dragEnd", [s(), c()]);
1450
1515
  }, o = ({
1451
- target: c
1516
+ target: r
1452
1517
  }) => {
1453
1518
  const {
1454
- lng: g,
1455
- lat: d
1456
- } = c.getCenter();
1457
- n("dragEnd", [g, d]);
1458
- }, r = ({
1459
- target: c
1460
- }) => {
1461
- const g = c.getZoom();
1462
- n("zoomEnd", g);
1463
- }, s = ({
1464
- target: c
1465
- }) => {
1466
- console.log(c);
1519
+ lng: s,
1520
+ lat: c
1521
+ } = r.getCenter();
1522
+ n("dragEnd", [s, c]);
1467
1523
  };
1468
1524
  return () => {
1469
- var v, y, p;
1525
+ var m, f, v;
1470
1526
  const {
1471
- supplier: c,
1472
- gmapId: g,
1473
- language: d = "zh",
1474
- status: u
1527
+ supplier: r,
1528
+ gmapId: s,
1529
+ language: c = "zh",
1530
+ status: d
1475
1531
  } = a, {
1476
- mapRef: l,
1477
- center: I,
1478
- zoom: m
1532
+ mapRef: g,
1533
+ center: u,
1534
+ zoom: l
1479
1535
  } = e;
1480
- if (u === q.LOADING)
1481
- return (v = t.loading) == null ? void 0 : v.call(t);
1482
- if (u === q.FAILURE)
1483
- return (y = t.fallback) == null ? void 0 : y.call(t);
1484
- const f = (p = t.default) == null ? void 0 : p.call(t);
1485
- switch (c) {
1536
+ if (d === se.LOADING)
1537
+ return (m = t.loading) == null ? void 0 : m.call(t);
1538
+ if (d === se.FAILURE)
1539
+ return (f = t.fallback) == null ? void 0 : f.call(t);
1540
+ const M = (v = t.default) == null ? void 0 : v.call(t);
1541
+ switch (r) {
1486
1542
  case "gmap":
1487
- return M(qi, {
1543
+ return I(Vo, {
1488
1544
  attrs: {
1489
- mapRef: l,
1490
- mapId: g,
1491
- center: I ? z(I) : void 0,
1492
- zoom: m
1545
+ mapRef: g,
1546
+ mapId: s,
1547
+ center: u ? R(u) : void 0,
1548
+ zoom: l
1493
1549
  },
1494
1550
  on: {
1495
- dragEnd: i,
1496
- zoomEnd: s
1551
+ dragEnd: i
1497
1552
  }
1498
- }, [f]);
1553
+ }, [M]);
1499
1554
  default:
1500
- return M($i, {
1555
+ return I(Wo, {
1501
1556
  attrs: {
1502
- mapRef: l,
1503
- vectorMapForeign: Ri(d),
1504
- center: I,
1505
- zoom: m
1557
+ mapRef: g,
1558
+ vectorMapForeign: So(c),
1559
+ center: u,
1560
+ zoom: l
1506
1561
  },
1507
1562
  on: {
1508
- dragEnd: o,
1509
- zoomEnd: r
1563
+ dragEnd: o
1510
1564
  }
1511
- }, [f]);
1565
+ }, [M]);
1512
1566
  }
1513
1567
  };
1514
1568
  }).props(["center", "fallback", "loading", "mapRef", "zoom"]), oe = j((e) => {
1515
- const t = R(), n = ue();
1569
+ const t = z(), n = ue();
1516
1570
  return Ne(() => {
1517
1571
  t.value = new AMap.Polyline({ ...e });
1518
- }), Se(() => {
1572
+ }), he(() => {
1519
1573
  var a;
1520
1574
  (a = t.value) == null || a.setMap(null);
1521
1575
  }), H(() => {
1522
1576
  var i;
1523
1577
  const a = n == null ? void 0 : n.value;
1524
1578
  a && ((i = t.value) == null || i.setMap(a));
1525
- }), He(t, e, [
1579
+ }), $e(t, e, [
1526
1580
  { name: "path", defaultValue: [[0, 0]] },
1527
1581
  { name: "extData", defaultValue: void 0 },
1528
1582
  { name: "draggable", defaultValue: !1 }
@@ -1536,11 +1590,11 @@ const qi = j((e, { slots: t, emit: n }) => {
1536
1590
  (i = t.value) == null || i.setOptions({ ...a });
1537
1591
  }
1538
1592
  ), () => null;
1539
- }), Me = j((e) => {
1540
- const t = R(), n = le();
1593
+ }), Ie = j((e) => {
1594
+ const t = z(), n = le();
1541
1595
  return Ne(() => {
1542
1596
  t.value = new google.maps.Polyline({ ...e });
1543
- }), Se(() => {
1597
+ }), he(() => {
1544
1598
  var a;
1545
1599
  (a = t.value) == null || a.setMap(null);
1546
1600
  }), H(() => {
@@ -1554,9 +1608,9 @@ const qi = j((e, { slots: t, emit: n }) => {
1554
1608
  (i = t.value) == null || i.setOptions({ ...a });
1555
1609
  }
1556
1610
  ), () => null;
1557
- }), eo = j((e) => () => {
1558
- const t = window.innerWidth * 0.01, n = 1 * t, a = 0.13 * t, i = 0.24 * t, o = 0.4 * t, r = 0.3 * t, s = e.done ? "#96B2CA" : "#487BF4", c = e.done ? "#7693AF" : "#4175F1", g = e.done ? "#7693AF" : "#6C95F5";
1559
- return M("div", [M(oe, {
1611
+ }), Yo = j((e) => () => {
1612
+ const t = window.innerWidth * 0.01, n = 1 * t, a = 0.13 * t, i = 0.24 * t, o = 0.4 * t, r = 0.3 * t, s = e.done ? "#96B2CA" : "#487BF4", c = e.done ? "#7693AF" : "#4175F1", d = e.done ? "#7693AF" : "#6C95F5";
1613
+ return I("div", [I(oe, {
1560
1614
  attrs: {
1561
1615
  path: e.path,
1562
1616
  strokeWeight: n + 2 * a + 2 * o,
@@ -1565,18 +1619,18 @@ const qi = j((e, { slots: t, emit: n }) => {
1565
1619
  lineJoin: "round",
1566
1620
  lineCap: "round"
1567
1621
  }
1568
- }), M(oe, {
1622
+ }), I(oe, {
1569
1623
  attrs: {
1570
1624
  path: e.path,
1571
1625
  strokeWeight: n + 2 * a,
1572
1626
  strokeOpacity: 1,
1573
- strokeColor: g,
1627
+ strokeColor: d,
1574
1628
  lineJoin: "round",
1575
1629
  lineCap: "round",
1576
1630
  strokeStyle: "dashed",
1577
1631
  strokeDasharray: [r, r * 0.5]
1578
1632
  }
1579
- }), M(oe, {
1633
+ }), I(oe, {
1580
1634
  attrs: {
1581
1635
  path: e.path,
1582
1636
  strokeWeight: n,
@@ -1585,7 +1639,7 @@ const qi = j((e, { slots: t, emit: n }) => {
1585
1639
  lineJoin: "round",
1586
1640
  lineCap: "round"
1587
1641
  }
1588
- }), M(oe, {
1642
+ }), I(oe, {
1589
1643
  attrs: {
1590
1644
  showDir: !0,
1591
1645
  path: e.path,
@@ -1596,33 +1650,33 @@ const qi = j((e, { slots: t, emit: n }) => {
1596
1650
  lineCap: "round"
1597
1651
  }
1598
1652
  })]);
1599
- }), to = j((e) => {
1600
- const t = h(() => e.path.map(z));
1653
+ }), Ho = j((e) => {
1654
+ const t = S(() => e.path.map(R));
1601
1655
  return () => {
1602
- const n = window.innerWidth * 0.01, a = 10 * n, i = 2.5 * n, o = 0.35 * n, r = 0.75 * n, s = 1 * n, c = e.done ? "#96B2CA" : "#487BF4", g = e.done ? "#7693AF" : "#4175F1", d = e.done ? "#7693AF" : "#6C95F5";
1603
- return M("div", [M(Me, {
1656
+ const n = window.innerWidth * 0.01, a = 10 * n, i = 2.5 * n, o = 0.35 * n, r = 0.75 * n, s = 1 * n, c = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", g = e.done ? "#7693AF" : "#6C95F5";
1657
+ return I("div", [I(Ie, {
1604
1658
  attrs: {
1605
1659
  path: t.value,
1606
1660
  strokeWeight: i + 2 * o + 2 * s,
1607
1661
  strokeOpacity: 1,
1608
- strokeColor: g
1662
+ strokeColor: d
1609
1663
  }
1610
- }), M(Me, {
1664
+ }), I(Ie, {
1611
1665
  attrs: {
1612
1666
  path: t.value,
1613
1667
  icons: [{
1614
1668
  icon: {
1615
1669
  path: "M 0,-0.5 0,0.5",
1616
1670
  strokeWeight: i + 2 * o,
1617
- strokeColor: d,
1618
- fillColor: d,
1671
+ strokeColor: g,
1672
+ fillColor: g,
1619
1673
  scale: 1
1620
1674
  },
1621
1675
  repeat: `${i}px`,
1622
1676
  offset: `${i / 2}px`
1623
1677
  }]
1624
1678
  }
1625
- }), M(Me, {
1679
+ }), I(Ie, {
1626
1680
  attrs: {
1627
1681
  path: t.value,
1628
1682
  strokeWeight: i,
@@ -1641,12 +1695,12 @@ const qi = j((e, { slots: t, emit: n }) => {
1641
1695
  })]);
1642
1696
  };
1643
1697
  }), we = j((e) => {
1644
- const t = S();
1645
- return () => e.path.length ? k(t.supplier === "gmap" ? to : eo, {
1698
+ const t = N();
1699
+ return () => e.path.length ? G(t.supplier === "gmap" ? Ho : Yo, {
1646
1700
  attrs: e
1647
1701
  }) : null;
1648
- }), In = (e) => {
1649
- const t = T({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1702
+ }), Dn = (e) => {
1703
+ const t = P({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1650
1704
  return ee(
1651
1705
  () => ({ ...e }),
1652
1706
  ({ from: a, to: i }) => {
@@ -1658,12 +1712,12 @@ const qi = j((e, { slots: t, emit: n }) => {
1658
1712
  switch (o) {
1659
1713
  case "complete": {
1660
1714
  let s = [];
1661
- const g = r.routes[0];
1662
- for (const d of g.steps) {
1663
- const l = d.path.map(({ lng: I, lat: m }) => [I, m]);
1715
+ const d = r.routes[0];
1716
+ for (const g of d.steps) {
1717
+ const l = g.path.map(({ lng: M, lat: m }) => [M, m]);
1664
1718
  s = s.concat(l);
1665
1719
  }
1666
- t.path = s, t.distance = g.distance, t.duration = g.time;
1720
+ t.path = s, t.distance = d.distance, t.duration = d.time;
1667
1721
  return;
1668
1722
  }
1669
1723
  case "no_data":
@@ -1676,8 +1730,8 @@ const qi = j((e, { slots: t, emit: n }) => {
1676
1730
  );
1677
1731
  }
1678
1732
  ), t;
1679
- }, Mn = (e) => {
1680
- const t = T({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1733
+ }, wn = (e) => {
1734
+ const t = P({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1681
1735
  return ee(
1682
1736
  () => ({ ...e }),
1683
1737
  ({ from: a, to: i }) => {
@@ -1688,18 +1742,18 @@ const qi = j((e, { slots: t, emit: n }) => {
1688
1742
  travelMode: google.maps.TravelMode.DRIVING
1689
1743
  },
1690
1744
  (o, r) => {
1691
- var s, c, g, d;
1745
+ var s, c, d, g;
1692
1746
  switch (r) {
1693
1747
  case google.maps.DirectionsStatus.OK: {
1694
- let u = [], l = 0, I = 0;
1748
+ let u = [], l = 0, M = 0;
1695
1749
  const m = o.routes[0], f = m.overview_path.map((v) => [
1696
1750
  v.lng(),
1697
1751
  v.lat()
1698
1752
  ]);
1699
1753
  u = u.concat(f);
1700
1754
  for (const v of m.legs)
1701
- l += (c = (s = v.distance) == null ? void 0 : s.value) != null ? c : 0, I += (d = (g = v.duration) == null ? void 0 : g.value) != null ? d : 0;
1702
- t.path = u, t.distance = l, t.duration = I;
1755
+ l += (c = (s = v.distance) == null ? void 0 : s.value) != null ? c : 0, M += (g = (d = v.duration) == null ? void 0 : d.value) != null ? g : 0;
1756
+ t.path = u, t.distance = l, t.duration = M;
1703
1757
  return;
1704
1758
  }
1705
1759
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -1713,76 +1767,76 @@ const qi = j((e, { slots: t, emit: n }) => {
1713
1767
  );
1714
1768
  }
1715
1769
  ), t;
1716
- }, Mr = (e) => {
1717
- const { supplier: t } = S();
1718
- return t === "gmap" ? Mn(e) : In(e);
1719
- }, no = (e, t, n) => {
1770
+ }, ss = (e) => {
1771
+ const { supplier: t } = N();
1772
+ return t === "gmap" ? wn(e) : Dn(e);
1773
+ }, Qo = (e, t, n) => {
1720
1774
  if (!n)
1721
1775
  return 0;
1722
1776
  const { x: a, y: i } = n.lngLatToContainer(e), { x: o, y: r } = n.lngLatToContainer(t), s = Math.atan2(i - r, o - a);
1723
1777
  return (Math.PI / 2 - s) / Math.PI * 180;
1724
- }, mn = (e) => h(() => {
1778
+ }, Cn = (e) => S(() => {
1725
1779
  const { map: t, path: n } = e, [a, i] = n;
1726
1780
  if (!(!a || !i || !t))
1727
- return no(a, i, t);
1728
- }), fn = (e) => h(() => {
1781
+ return Qo(a, i, t);
1782
+ }), xn = (e) => S(() => {
1729
1783
  const { path: t } = e, [n, a] = t;
1730
1784
  if (!(!n || !a))
1731
- return google.maps.geometry.spherical.computeHeading(z(n), z(a));
1732
- }), mr = (e) => {
1733
- const { supplier: t } = S();
1734
- return t === "gmap" ? fn(e) : mn(e);
1735
- }, ao = j((e, {
1785
+ return google.maps.geometry.spherical.computeHeading(R(n), R(a));
1786
+ }), cs = (e) => {
1787
+ const { supplier: t } = N();
1788
+ return t === "gmap" ? xn(e) : Cn(e);
1789
+ }, Jo = j((e, {
1736
1790
  slots: t
1737
1791
  }) => {
1738
1792
  const n = ue(), {
1739
1793
  path: a,
1740
1794
  distance: i,
1741
1795
  duration: o
1742
- } = ht(In(e)), r = mn(T({
1796
+ } = Tt(Dn(e)), r = Cn(P({
1743
1797
  path: a,
1744
1798
  map: n
1745
1799
  }));
1746
1800
  return () => {
1747
1801
  var s;
1748
- return M("div", [(s = t.render) == null ? void 0 : s.call(t, T({
1802
+ return I("div", [(s = t.render) == null ? void 0 : s.call(t, P({
1749
1803
  path: a,
1750
1804
  angle: r,
1751
1805
  distance: i,
1752
1806
  duration: o
1753
1807
  }))]);
1754
1808
  };
1755
- }), io = j((e, {
1809
+ }), Fo = j((e, {
1756
1810
  slots: t
1757
1811
  }) => {
1758
1812
  const n = le(), {
1759
1813
  path: a,
1760
1814
  distance: i,
1761
1815
  duration: o
1762
- } = ht(Mn(e)), r = fn(T({
1816
+ } = Tt(wn(e)), r = xn(P({
1763
1817
  path: a,
1764
1818
  map: n
1765
1819
  }));
1766
1820
  return () => {
1767
1821
  var s;
1768
- return M("div", [(s = t.render) == null ? void 0 : s.call(t, T({
1822
+ return I("div", [(s = t.render) == null ? void 0 : s.call(t, P({
1769
1823
  path: a,
1770
1824
  angle: r,
1771
1825
  distance: i,
1772
1826
  duration: o
1773
1827
  }))]);
1774
1828
  };
1775
- }), xe = j((e, {
1829
+ }), Ce = j((e, {
1776
1830
  slots: t
1777
1831
  }) => {
1778
1832
  const {
1779
1833
  supplier: n
1780
- } = S();
1781
- return () => k(n === "gmap" ? io : ao, {
1834
+ } = N();
1835
+ return () => G(n === "gmap" ? Fo : Jo, {
1782
1836
  attrs: e,
1783
1837
  scopedSlots: t
1784
1838
  });
1785
- }), oo = 20, ro = (e) => {
1839
+ }), $o = 20, Xo = (e) => {
1786
1840
  const { mapRef: t, autoFitTimeout: n } = e, a = /* @__PURE__ */ new Set();
1787
1841
  let i;
1788
1842
  const o = () => {
@@ -1790,8 +1844,8 @@ const qi = j((e, { slots: t, emit: n }) => {
1790
1844
  const c = t.value;
1791
1845
  if (!c)
1792
1846
  return;
1793
- const g = window.innerWidth / 100, [d, u, l, I] = (m = e.padding) != null ? m : [0, 0, 0, 0];
1794
- c.setFitView([...a], !1, [d * g, l * g, I * g, u * g]);
1847
+ const d = window.innerWidth / 100, [g, u, l, M] = (m = e.padding) != null ? m : [0, 0, 0, 0];
1848
+ c.setFitView([...a], !1, [g * d, l * d, M * d, u * d]);
1795
1849
  }, r = {
1796
1850
  add: (c) => {
1797
1851
  a.add(c);
@@ -1801,7 +1855,7 @@ const qi = j((e, { slots: t, emit: n }) => {
1801
1855
  },
1802
1856
  setFitView: o
1803
1857
  };
1804
- return se(
1858
+ return q(
1805
1859
  t,
1806
1860
  {},
1807
1861
  () => {
@@ -1812,7 +1866,7 @@ const qi = j((e, { slots: t, emit: n }) => {
1812
1866
  ["onDragEnd"]
1813
1867
  ), { registerFitVeiw: r, setFitView: o };
1814
1868
  };
1815
- class so extends Set {
1869
+ class _o extends Set {
1816
1870
  getBound() {
1817
1871
  const t = new google.maps.LatLngBounds();
1818
1872
  for (const n of this.values()) {
@@ -1822,59 +1876,59 @@ class so extends Set {
1822
1876
  return t;
1823
1877
  }
1824
1878
  }
1825
- const co = (e) => {
1826
- const { mapRef: t, autoFitTimeout: n } = e, { executeMapApi: a } = gn(), i = new so();
1879
+ const Ko = (e) => {
1880
+ const { mapRef: t, autoFitTimeout: n } = e, { executeMapApi: a } = Sn(), i = new _o();
1827
1881
  let o;
1828
1882
  const r = () => {
1829
1883
  var v;
1830
- const d = t.value;
1831
- if (!d)
1884
+ const g = t.value;
1885
+ if (!g)
1832
1886
  return;
1833
- const u = window.innerWidth / 100, [l, I, m, f] = (v = e.padding) != null ? v : [0, 0, 0, 0];
1887
+ const u = window.innerWidth / 100, [l, M, m, f] = (v = e.padding) != null ? v : [0, 0, 0, 0];
1834
1888
  a(
1835
- () => d.fitBounds(i.getBound(), {
1889
+ () => g.fitBounds(i.getBound(), {
1836
1890
  top: l * u,
1837
- right: I * u,
1891
+ right: M * u,
1838
1892
  bottom: m * u,
1839
1893
  left: f * u
1840
1894
  })
1841
1895
  );
1842
1896
  }, s = {
1843
- add: (d) => {
1844
- i.add(d);
1897
+ add: (g) => {
1898
+ i.add(g);
1845
1899
  },
1846
- remove: (d) => {
1847
- i.delete(d);
1900
+ remove: (g) => {
1901
+ i.delete(g);
1848
1902
  },
1849
1903
  setFitView: r
1850
1904
  }, c = () => {
1851
- const d = _i();
1852
- !n || d !== "user" || (o && clearTimeout(o), o = setTimeout(() => {
1905
+ const g = Uo();
1906
+ !n || g !== "user" || (o && clearTimeout(o), o = setTimeout(() => {
1853
1907
  o = void 0, r();
1854
1908
  }, n));
1855
- }, g = li(c, oo);
1856
- return K(t, {}, c, [
1909
+ }, d = Xi(c, $o);
1910
+ return F(t, {}, c, [
1857
1911
  "onDragEnd"
1858
- ]), K(t, {}, g, [
1912
+ ]), F(t, {}, d, [
1859
1913
  "onZoom_changed"
1860
1914
  ]), { registerFitVeiw: s, setFitView: r };
1861
- }, Ce = (e) => {
1862
- const { supplier: t } = S();
1863
- return t === "gmap" ? co(e) : ro(e);
1915
+ }, xe = (e) => {
1916
+ const { supplier: t } = N();
1917
+ return t === "gmap" ? Ko(e) : Xo(e);
1864
1918
  };
1865
1919
  j((e, {
1866
1920
  slots: t
1867
1921
  }) => {
1868
- const n = Ft(), a = Ce({
1922
+ const n = cn(), a = xe({
1869
1923
  ...e,
1870
1924
  mapRef: n
1871
1925
  });
1872
1926
  return () => {
1873
1927
  var i;
1874
- return M("div", [(i = t.render) == null ? void 0 : i.call(t, a)]);
1928
+ return I("div", [(i = t.render) == null ? void 0 : i.call(t, a)]);
1875
1929
  };
1876
1930
  });
1877
- const uo = j((e, {
1931
+ const qo = j((e, {
1878
1932
  slots: t
1879
1933
  }) => {
1880
1934
  const {
@@ -1884,10 +1938,10 @@ const uo = j((e, {
1884
1938
  } = n;
1885
1939
  return Q(a), () => {
1886
1940
  var i;
1887
- return M("div", [(i = t.default) == null ? void 0 : i.call(t)]);
1941
+ return I("div", [(i = t.default) == null ? void 0 : i.call(t)]);
1888
1942
  };
1889
- }), pn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48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yMiA0LjkwMSAxNy4wNzUgMCAxMSAwUzAgNC45MDEgMCAxMC45NDdjMCAzLjkxOCAyLjA2OCA3LjM1NSA1LjE3NyA5LjI5QzExLjc1IDIzLjI3NyA5LjA2IDI3IDExIDI3eiIgc3Ryb2tlPSIjRkZGIiBmaWxsPSJ1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
1944
+ function er(e, t, n) {
1891
1945
  return t in e ? Object.defineProperty(e, t, {
1892
1946
  value: n,
1893
1947
  enumerable: !0,
@@ -1895,7 +1949,7 @@ function lo(e, t, n) {
1895
1949
  writable: !0
1896
1950
  }) : e[t] = n, e;
1897
1951
  }
1898
- function pt(e, t) {
1952
+ function ht(e, t) {
1899
1953
  var n = Object.keys(e);
1900
1954
  if (Object.getOwnPropertySymbols) {
1901
1955
  var a = Object.getOwnPropertySymbols(e);
@@ -1905,18 +1959,18 @@ function pt(e, t) {
1905
1959
  }
1906
1960
  return n;
1907
1961
  }
1908
- function vt(e) {
1962
+ function St(e) {
1909
1963
  for (var t = 1; t < arguments.length; t++) {
1910
1964
  var n = arguments[t] != null ? arguments[t] : {};
1911
- t % 2 ? pt(Object(n), !0).forEach(function(a) {
1912
- lo(e, a, n[a]);
1913
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pt(Object(n)).forEach(function(a) {
1965
+ t % 2 ? ht(Object(n), !0).forEach(function(a) {
1966
+ er(e, a, n[a]);
1967
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ht(Object(n)).forEach(function(a) {
1914
1968
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
1915
1969
  });
1916
1970
  }
1917
1971
  return e;
1918
1972
  }
1919
- var go = (e, t, n) => {
1973
+ var tr = (e, t, n) => {
1920
1974
  for (var a of Object.keys(e)) {
1921
1975
  var i;
1922
1976
  if (e[a] !== ((i = t[a]) !== null && i !== void 0 ? i : n[a]))
@@ -1924,7 +1978,7 @@ var go = (e, t, n) => {
1924
1978
  }
1925
1979
  return !0;
1926
1980
  }, te = (e) => (t) => {
1927
- var n = e.defaultClassName, a = vt(vt({}, e.defaultVariants), t);
1981
+ var n = e.defaultClassName, a = St(St({}, e.defaultVariants), t);
1928
1982
  for (var i in a) {
1929
1983
  var o, r = (o = a[i]) !== null && o !== void 0 ? o : e.defaultVariants[i];
1930
1984
  if (r != null) {
@@ -1937,36 +1991,36 @@ var go = (e, t, n) => {
1937
1991
  c && (n += " " + c);
1938
1992
  }
1939
1993
  }
1940
- for (var [g, d] of e.compoundVariants)
1941
- go(g, a, e.defaultVariants) && (n += " " + d);
1994
+ for (var [d, g] of e.compoundVariants)
1995
+ tr(d, a, e.defaultVariants) && (n += " " + g);
1942
1996
  return n;
1943
- }, $ = te({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), yn = "_4a4ovk1", jn = "_4a4ovk4", Ln = "_4a4ovk5", An = "_4a4ovk3", pe = "_4a4ovk0", Nn = "_4a4ovk2";
1944
- const Io = j((e) => {
1945
- const t = h(() => {
1997
+ }, _ = te({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Tn = "_4a4ovk1", En = "_4a4ovk4", Rn = "_4a4ovk5", zn = "_4a4ovk3", pe = "_4a4ovk0", Zn = "_4a4ovk2";
1998
+ const nr = j((e) => {
1999
+ const t = S(() => {
1946
2000
  var i;
1947
- const n = e.type === "start" ? vn : pn, a = e.description ? he(e.description).map((o) => o.type === "normal" ? o.value : `<span class="${Ln}">${o.value}</span>`).join("") : "";
1948
- return !e.description && !e.title ? `<img src="${n}" class="${$({
2001
+ const n = e.type === "start" ? bn : Pn, a = e.description ? Se(e.description).map((o) => o.type === "normal" ? o.value : `<span class="${Rn}">${o.value}</span>`).join("") : "";
2002
+ return !e.description && !e.title ? `<img src="${n}" class="${_({
1949
2003
  type: e.type
1950
2004
  })}">` : e.description ? `
1951
2005
  <div class="${pe}">
1952
- <div class="${yn}">
1953
- <div class="${An}">${(i = e.title) != null ? i : ""}</div>
1954
- <div class="${jn}">${a}</div>
2006
+ <div class="${Tn}">
2007
+ <div class="${zn}">${(i = e.title) != null ? i : ""}</div>
2008
+ <div class="${En}">${a}</div>
1955
2009
  </div>
1956
- <img src="${n}" class="${$({
2010
+ <img src="${n}" class="${_({
1957
2011
  type: e.type
1958
2012
  })}">
1959
2013
  </div>
1960
2014
  ` : `
1961
2015
  <div class="${pe}">
1962
- <div class="${Nn}">${e.title}</div>
1963
- <img src="${n}" class="${$({
2016
+ <div class="${Zn}">${e.title}</div>
2017
+ <img src="${n}" class="${_({
1964
2018
  type: e.type
1965
2019
  })}">
1966
2020
  </div>
1967
2021
  `;
1968
2022
  });
1969
- return () => M(V, {
2023
+ return () => I(V, {
1970
2024
  attrs: {
1971
2025
  registerOverlay: e.registerOverlay,
1972
2026
  position: e.position,
@@ -1974,47 +2028,47 @@ const Io = j((e) => {
1974
2028
  anchor: "bottom-center"
1975
2029
  }
1976
2030
  });
1977
- }), Mo = j((e) => {
1978
- const t = h(() => {
2031
+ }), ar = j((e) => {
2032
+ const t = S(() => {
1979
2033
  var i;
1980
- const n = e.type === "start" ? vn : pn, a = e.description ? he(e.description).map((o) => o.type === "normal" ? o.value : `<span class="${Ln}">${o.value}</span>`).join("") : "";
2034
+ const n = e.type === "start" ? bn : Pn, a = e.description ? Se(e.description).map((o) => o.type === "normal" ? o.value : `<span class="${Rn}">${o.value}</span>`).join("") : "";
1981
2035
  return !e.description && !e.title ? Z("img", {
1982
- class: $({
2036
+ class: _({
1983
2037
  type: e.type
1984
2038
  }),
1985
2039
  src: n
1986
2040
  }) : e.description ? Z("div", {
1987
2041
  class: pe
1988
2042
  }, `
1989
- <div class="${yn}">
1990
- <div class="${An}">${(i = e.title) != null ? i : ""}</div>
1991
- <div class="${jn}">${a}</div>
2043
+ <div class="${Tn}">
2044
+ <div class="${zn}">${(i = e.title) != null ? i : ""}</div>
2045
+ <div class="${En}">${a}</div>
1992
2046
  </div>
1993
- <img src="${n}" class="${$({
2047
+ <img src="${n}" class="${_({
1994
2048
  type: e.type
1995
2049
  })}">
1996
2050
  `) : Z("div", {
1997
2051
  class: pe
1998
2052
  }, `
1999
- <div class="${Nn}">${e.title}</div>
2000
- <img src="${n}" class="${$({
2053
+ <div class="${Zn}">${e.title}</div>
2054
+ <img src="${n}" class="${_({
2001
2055
  type: e.type
2002
2056
  })}">
2003
2057
  `);
2004
2058
  });
2005
- return () => M(Y, {
2059
+ return () => I(Y, {
2006
2060
  attrs: {
2007
2061
  registerOverlay: e.registerOverlay,
2008
- position: z(e.position),
2062
+ position: R(e.position),
2009
2063
  content: t.value
2010
2064
  }
2011
2065
  });
2012
- }), G = j((e) => {
2013
- const t = S();
2014
- return () => k(t.supplier === "gmap" ? Mo : Io, {
2066
+ }), k = j((e) => {
2067
+ const t = N();
2068
+ return () => G(t.supplier === "gmap" ? ar : nr, {
2015
2069
  attrs: e
2016
2070
  });
2017
- }), fr = ce((e) => {
2071
+ }), us = ce((e) => {
2018
2072
  e.log && console.log(e);
2019
2073
  const {
2020
2074
  registerOverlay: t,
@@ -2026,14 +2080,14 @@ const Io = j((e) => {
2026
2080
  from: i,
2027
2081
  to: o,
2028
2082
  fromDescription: r
2029
- } = e, s = C(i), c = C(o);
2030
- return M(De, {
2083
+ } = e, s = x(i), c = x(o);
2084
+ return I(De, {
2031
2085
  attrs: {
2032
2086
  mapRef: n,
2033
2087
  center: s,
2034
2088
  zoom: 13
2035
2089
  }
2036
- }, [M(G, {
2090
+ }, [I(k, {
2037
2091
  attrs: {
2038
2092
  type: "start",
2039
2093
  registerOverlay: t,
@@ -2041,102 +2095,96 @@ const Io = j((e) => {
2041
2095
  title: i.name,
2042
2096
  description: r
2043
2097
  }
2044
- }), M(xe, {
2098
+ }), I(Ce, {
2045
2099
  attrs: {
2046
2100
  to: c,
2047
2101
  from: s,
2048
2102
  render: ({
2049
- path: g,
2050
- distance: d,
2103
+ path: d,
2104
+ distance: g,
2051
2105
  duration: u
2052
- }) => [M(we, {
2106
+ }) => [I(we, {
2053
2107
  attrs: {
2054
- path: g
2108
+ path: d
2055
2109
  }
2056
- }), M(G, {
2110
+ }), I(k, {
2057
2111
  attrs: {
2058
2112
  type: "end",
2059
2113
  registerOverlay: t,
2060
2114
  position: c,
2061
2115
  title: o.name,
2062
2116
  description: a({
2063
- distance: d,
2117
+ distance: g,
2064
2118
  duration: u
2065
2119
  })
2066
2120
  }
2067
2121
  })]
2068
2122
  }
2069
- }), M(uo, {
2123
+ }), I(qo, {
2070
2124
  attrs: {
2071
2125
  registerOverlay: t
2072
2126
  }
2073
2127
  })]);
2074
2128
  };
2075
- }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to", "fromDescription", "log"]), mo = 5e3, Pe = (e) => {
2076
- var I, m;
2129
+ }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to", "fromDescription", "log"]), ir = 5e3, Pe = (e) => {
2130
+ var l, M;
2077
2131
  const { onChange: t, onLoad: n, onLoadDefault: a, onError: i, geoDefaultPosition: o } = e != null ? e : {};
2078
2132
  let r = !1;
2079
- const s = w(!1), c = w(!1), g = w(), d = w({
2133
+ const s = w(!1), c = w(!1), d = w(), g = w({
2080
2134
  accuracy: 0,
2081
2135
  altitude: 0,
2082
2136
  altitudeAccuracy: 0,
2083
2137
  heading: 0,
2084
- latitude: (I = o == null ? void 0 : o[1]) != null ? I : 0,
2085
- longitude: (m = o == null ? void 0 : o[0]) != null ? m : 0,
2138
+ latitude: (l = o == null ? void 0 : o[1]) != null ? l : 0,
2139
+ longitude: (M = o == null ? void 0 : o[0]) != null ? M : 0,
2086
2140
  speed: 0
2087
- }), u = w([d.value.longitude, d.value.latitude]), l = S();
2088
- return E(
2141
+ }), u = w([g.value.longitude, g.value.latitude]);
2142
+ return b(
2089
2143
  () => !0,
2090
- (f, v, y) => {
2144
+ (m, f, v) => {
2091
2145
  s.value = !0;
2092
- const p = navigator.geolocation.watchPosition(
2093
- (N) => {
2094
- const L = N.coords, x = [N.coords.longitude, N.coords.latitude];
2095
- d.value = L, u.value = x, s.value && (s.value = !1, c.value = !0, n == null || n({ position: x, coordinate: L })), t == null || t({ position: x, coordinate: L });
2146
+ const y = navigator.geolocation.watchPosition(
2147
+ (p) => {
2148
+ const L = p.coords, h = [p.coords.longitude, p.coords.latitude];
2149
+ g.value = L, u.value = h, s.value && (s.value = !1, c.value = !0, n == null || n({ position: h, coordinate: L })), t == null || t({ position: h, coordinate: L });
2096
2150
  },
2097
- (N) => {
2098
- s.value = !1, g.value = N;
2151
+ (p) => {
2152
+ s.value = !1, d.value = p;
2099
2153
  const L = e == null ? void 0 : e.geoDefaultPosition;
2100
- L && !r && (r = !0, a == null || a({ position: L }));
2154
+ L && !r && (r = !0, a == null || a({ position: L })), i == null || i(p);
2101
2155
  },
2102
- { timeout: mo, maximumAge: 0, enableHighAccuracy: !1 }
2156
+ { timeout: ir, maximumAge: 0, enableHighAccuracy: !1 }
2103
2157
  );
2104
- y(() => navigator.geolocation.clearWatch(p));
2158
+ v(() => navigator.geolocation.clearWatch(y));
2105
2159
  },
2106
2160
  { immediate: !0 }
2107
- ), E(
2108
- () => l.status !== q.LOADING && g.value,
2109
- (f) => {
2110
- f && g.value && (i == null || i(g.value));
2111
- },
2112
- { immediate: !0, deep: !0 }
2113
2161
  ), {
2114
- geoError: g,
2162
+ geoError: d,
2115
2163
  geoPosition: u,
2116
- geoCoordinate: d,
2164
+ geoCoordinate: g,
2117
2165
  geoLoading: s,
2118
2166
  geoReady: c
2119
2167
  };
2120
- }, fo = () => {
2121
- const e = R();
2168
+ }, or = () => {
2169
+ const e = z();
2122
2170
  return { mapRef: e, panTo: (a) => {
2123
2171
  var i;
2124
2172
  return (i = e == null ? void 0 : e.value) == null ? void 0 : i.panTo(a);
2125
2173
  }, setMap: (a) => {
2126
2174
  e.value = a;
2127
2175
  } };
2128
- }, po = () => {
2129
- const e = R();
2176
+ }, rr = () => {
2177
+ const e = z();
2130
2178
  return { mapRef: e, panTo: (a) => {
2131
2179
  var i;
2132
- return (i = e == null ? void 0 : e.value) == null ? void 0 : i.panTo(z(a));
2180
+ return (i = e == null ? void 0 : e.value) == null ? void 0 : i.panTo(R(a));
2133
2181
  }, setMap: (a) => {
2134
2182
  e.value = a;
2135
2183
  } };
2136
2184
  }, be = () => {
2137
- const { supplier: e } = S();
2138
- return e === "gmap" ? po() : fo();
2139
- }, vo = (e) => {
2185
+ const { supplier: e } = N();
2186
+ return e === "gmap" ? rr() : or();
2187
+ }, sr = (e) => {
2140
2188
  const { mapRef: t, onChange: n } = e, a = w([0, 0]), i = w(!1), o = () => {
2141
2189
  fe(() => {
2142
2190
  i.value = !0;
@@ -2144,207 +2192,210 @@ const Io = j((e) => {
2144
2192
  }, r = (s, { target: c }) => {
2145
2193
  var u;
2146
2194
  i.value = !1;
2147
- const { lng: g, lat: d } = c.getCenter();
2148
- a.value = [g, d], (u = fe(n)) == null || u([g, d]);
2195
+ const { lng: d, lat: g } = c.getCenter();
2196
+ a.value = [d, g], (u = fe(n)) == null || u([d, g]);
2149
2197
  };
2150
- return se(t, {}, o, [
2198
+ return q(t, {}, o, [
2151
2199
  "onDragStart"
2152
- ]), se(t, {}, r, [
2200
+ ]), q(t, {}, r, [
2153
2201
  "onDragEnd"
2154
2202
  ]), { centerRef: a, isDragging: i };
2155
- }, yo = (e) => {
2203
+ }, cr = (e) => {
2156
2204
  const { mapRef: t, onChange: n } = e, a = w([0, 0]), i = w(!1), o = () => {
2157
2205
  fe(() => {
2158
2206
  i.value = !0;
2159
2207
  })();
2160
2208
  }, r = async () => {
2161
- var d, u;
2209
+ var g, u;
2162
2210
  i.value = !1;
2163
- const s = (d = t.value) == null ? void 0 : d.getCenter(), c = s == null ? void 0 : s.lng(), g = s == null ? void 0 : s.lat();
2164
- a.value = [c, g], (u = fe(n)) == null || u([c, g]);
2211
+ const s = (g = t.value) == null ? void 0 : g.getCenter(), c = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
2212
+ a.value = [c, d], (u = fe(n)) == null || u([c, d]);
2165
2213
  };
2166
- return K(t, {}, o, [
2214
+ return F(t, {}, o, [
2167
2215
  "onDragStart"
2168
- ]), K(t, {}, r, [
2216
+ ]), F(t, {}, r, [
2169
2217
  "onDragEnd"
2170
2218
  ]), { centerRef: a, isDragging: i };
2171
- }, jo = (e) => {
2172
- const { supplier: t } = S();
2173
- return t === "gmap" ? yo(e) : vo(e);
2219
+ }, ur = (e) => {
2220
+ const { supplier: t } = N();
2221
+ return t === "gmap" ? cr(e) : sr(e);
2174
2222
  }, ne = () => {
2175
2223
  const e = w(0);
2176
2224
  return { idx: e, update: () => {
2177
2225
  e.value += 1;
2178
2226
  } };
2179
- }, Sn = (e) => {
2180
- const { onChange: t, onChangeCity: n } = e, a = [...e.pointRef.value], i = w(a), { readyPromise: o } = S(), r = T({
2227
+ }, On = (e) => {
2228
+ const { onChange: t, onChangeCity: n } = e, a = [...e.pointRef.value], i = w(a), { readyPromise: o } = N(), r = P({
2181
2229
  lng: i.value[0],
2182
2230
  lat: i.value[1],
2183
2231
  name: ""
2184
- }), { idx: s, update: c } = ne(), g = (l) => {
2232
+ }), { idx: s, update: c } = ne(), d = (l) => {
2185
2233
  try {
2186
- const I = new AMap.Geocoder({ lang: re }), { lng: m, lat: f } = l;
2187
- I.getAddress(new AMap.LngLat(m, f), (v, y) => {
2234
+ const M = new AMap.Geocoder({ lang: re }), { lng: m, lat: f } = l;
2235
+ M.getAddress(new AMap.LngLat(m, f), (v, y) => {
2188
2236
  if (v !== "complete")
2189
2237
  return;
2190
- const { addressComponent: p } = y.regeocode, N = p.city ? p.city : p.province, L = p.province;
2191
- n == null || n({ cityName: N, cityParentName: L, countryName: "" });
2238
+ const { addressComponent: p } = y.regeocode, L = p.city ? p.city : p.province, h = p.province;
2239
+ n == null || n({ cityName: L, cityParentName: h, countryName: "" });
2192
2240
  });
2193
- } catch (I) {
2194
- console.log(I);
2241
+ } catch (M) {
2242
+ console.log(M);
2195
2243
  }
2196
- }, d = (l) => {
2244
+ }, g = (l) => {
2197
2245
  i.value = l, c();
2198
2246
  }, u = (l) => {
2199
2247
  r.lng = l.lng, r.lat = l.lat, r.name = l.name;
2200
2248
  };
2201
- return E(
2249
+ return b(
2202
2250
  () => [s.value],
2203
2251
  async () => {
2204
2252
  await o;
2205
- const l = new AMap.Geocoder({ lang: re }), [I, m] = i.value;
2206
- l.getAddress(new AMap.LngLat(I, m), (f, v) => {
2253
+ const l = new AMap.Geocoder({ lang: re }), [M, m] = i.value;
2254
+ l.getAddress(new AMap.LngLat(M, m), (f, v) => {
2207
2255
  switch (f) {
2208
2256
  case "complete": {
2209
- const { formattedAddress: y, addressComponent: p } = v.regeocode, N = p.city ? p.city : p.province, L = p.province;
2210
- r.name = y, r.lng = I, r.lat = m, t == null || t({ lng: I, lat: m, name: y }), n == null || n({ cityName: N, cityParentName: L, countryName: "" });
2257
+ const { formattedAddress: y, addressComponent: p } = v.regeocode, L = p.city ? p.city : p.province, h = p.province;
2258
+ r.name = y, r.lng = M, r.lat = m, t == null || t({ lng: M, lat: m, name: y }), n == null || n({ cityName: L, cityParentName: h, countryName: "" });
2211
2259
  return;
2212
2260
  }
2213
2261
  case "no_data":
2214
- r.name = "", t == null || t({ lng: I, lat: m, name: "" });
2262
+ r.name = "", t == null || t({ lng: M, lat: m, name: "" });
2215
2263
  return;
2216
2264
  case "error":
2217
2265
  throw v;
2218
2266
  }
2219
2267
  });
2220
2268
  }
2221
- ), { place: r, updatePlace: d, setPlace: u, updateCity: g };
2222
- }, hn = (e) => {
2223
- const { onChange: t, onChangeCity: n } = e, a = [...e.pointRef.value], i = w(a), { readyPromise: o } = S(), { idx: r, update: s } = ne(), c = T({
2269
+ ), { place: r, updatePlace: g, setPlace: u, updateCity: d };
2270
+ }, kn = (e) => {
2271
+ const { onChange: t, onChangeCity: n } = e, a = [...e.pointRef.value], i = w(a), { readyPromise: o } = N(), { idx: r, update: s } = ne(), c = P({
2224
2272
  lng: i.value[0],
2225
2273
  lat: i.value[1],
2226
2274
  name: ""
2227
- }), g = (l) => {
2275
+ }), d = (l) => {
2228
2276
  i.value = l, s();
2229
- }, d = (l) => {
2277
+ }, g = (l) => {
2230
2278
  c.lng = l.lng, c.lat = l.lat, c.name = l.name;
2231
2279
  }, u = async (l) => {
2232
- const I = new google.maps.Geocoder(), { lng: m, lat: f } = l, { results: v } = await I.geocode({ language: re, location: { lng: m, lat: f } }), y = mt(v[0]), p = v.slice(-2)[0].address_components[0].long_name, N = v.slice(-1)[0].address_components[0].long_name;
2233
- n == null || n({ cityName: y, cityParentName: p, countryName: N });
2280
+ const M = new google.maps.Geocoder(), { lng: m, lat: f } = l, { results: v } = await M.geocode({ language: re, location: { lng: m, lat: f } }), y = At(v[0]), p = v.slice(-2)[0].address_components[0].long_name, L = v.slice(-1)[0].address_components[0].long_name;
2281
+ n == null || n({ cityName: y, cityParentName: p, countryName: L });
2234
2282
  };
2235
- return E(
2283
+ return b(
2236
2284
  () => r.value,
2237
2285
  async () => {
2238
2286
  await o;
2239
- const l = new google.maps.Geocoder(), [I, m] = i.value, { results: f } = await l.geocode({ language: re, location: { lng: I, lat: m } }), v = f[0].formatted_address, y = mt(f[0]), p = f.slice(-2)[0].address_components[0].long_name, N = f.slice(-1)[0].address_components[0].long_name;
2240
- c.lng = I, c.lat = m, c.name = v, t == null || t({ lng: I, lat: m, name: v }), n == null || n({ cityName: y, cityParentName: p, countryName: N });
2241
- }
2242
- ), { place: c, updatePlace: g, setPlace: d, updateCity: u };
2243
- }, pr = (e) => {
2244
- const { supplier: t } = S();
2245
- return t === "gmap" ? hn(e) : Sn(e);
2246
- }, Lo = (e, t) => {
2287
+ const l = new google.maps.Geocoder(), [M, m] = i.value, { results: f } = await l.geocode({ language: re, location: { lng: M, lat: m } }), v = f[0].formatted_address, y = At(f[0]), p = f.slice(-2)[0].address_components[0].long_name, L = f.slice(-1)[0].address_components[0].long_name;
2288
+ c.lng = M, c.lat = m, c.name = v, t == null || t({ lng: M, lat: m, name: v }), n == null || n({ cityName: y, cityParentName: p, countryName: L });
2289
+ }
2290
+ ), { place: c, updatePlace: d, setPlace: g, updateCity: u };
2291
+ }, ls = (e) => {
2292
+ const { supplier: t } = N();
2293
+ return t === "gmap" ? kn(e) : On(e);
2294
+ }, lr = (e, t) => {
2247
2295
  let n = 1 / 0, a = e;
2248
2296
  for (const i of t) {
2249
- const o = AMap.GeometryUtil.distance(C(e), C(i));
2297
+ const o = AMap.GeometryUtil.distance(x(e), x(i));
2250
2298
  o >= n || (a = i, n = o);
2251
2299
  }
2252
2300
  return { shortestPlace: a, shortestDistance: n };
2253
- }, Ao = (e, t) => {
2301
+ }, dr = (e, t) => {
2254
2302
  let n = 1 / 0, a = e;
2255
2303
  for (const i of t) {
2256
2304
  const o = google.maps.geometry.spherical.computeDistanceBetween(e, i);
2257
2305
  o >= n || (a = i, n = o);
2258
2306
  }
2259
2307
  return { shortestPlace: a, shortestDistance: n };
2260
- }, No = (e) => {
2261
- const {
2262
- pointRef: t,
2263
- getRecomendPlace: n,
2264
- getLimit: a,
2265
- context: i,
2266
- onChange: o,
2267
- onChangePlace: r,
2268
- onChangeCity: s,
2269
- isSearchRecommendPlace: c
2270
- } = e, g = w(!0), d = w([]), { idx: u, update: l } = ne(), { readyPromise: I } = S(), { place: m, updatePlace: f, setPlace: v, updateCity: y } = Sn({
2308
+ }, gr = (e) => {
2309
+ const { pointRef: t, getRecomendPlace: n, getLimit: a, context: i, onChange: o, onChangePlace: r, onChangeCity: s } = e, c = w(!0), d = w([]), { idx: g, update: u } = ne(), { readyPromise: l } = N(), { place: M, updatePlace: m, setPlace: f, updateCity: v } = On({
2271
2310
  pointRef: t,
2272
2311
  onChange: r,
2273
2312
  onChangeCity: s
2274
- }), p = T({ ...m }), N = h(() => {
2313
+ }), y = P({ ...M }), p = S(() => {
2275
2314
  const L = t.value;
2276
2315
  return d.value.some(
2277
- (x) => qt(C(x), L)
2316
+ (h) => Mn(x(h), L)
2278
2317
  );
2279
2318
  });
2280
- return E(
2281
- () => u.value,
2319
+ return b(
2320
+ () => g.value,
2282
2321
  async () => {
2283
- await I;
2284
- const L = c.value ? await n({ ...m }, i) : [];
2322
+ await l;
2323
+ const L = await n({ ...M }, i);
2285
2324
  if (L === void 0) {
2286
- g.value = !1, d.value = [], Object.assign(p, { ...m }), o == null || o({ ...m });
2325
+ c.value = !1, d.value = [], Object.assign(y, { ...M }), o == null || o({ ...M });
2287
2326
  return;
2288
2327
  }
2289
- const { shortestPlace: x, shortestDistance: D } = Lo(m, L), P = a(i), b = D > P ? m : x;
2290
- g.value = !0, d.value = L, Object.assign(p, { ...b }), o == null || o({ ...b });
2328
+ const { shortestPlace: h, shortestDistance: T } = lr(M, L), D = a(i), C = T > D ? M : h;
2329
+ c.value = !0, d.value = L, Object.assign(y, { ...C }), o == null || o({ ...C });
2291
2330
  }
2292
2331
  ), {
2293
- recomendPlace: p,
2332
+ recomendPlace: y,
2294
2333
  placeCandidates: d,
2295
- availableRef: g,
2296
- isElectedRef: N,
2297
- updateRecomandPlace: l,
2298
- updatePlace: f,
2299
- setPlace: v,
2300
- updateCity: y
2334
+ availableRef: c,
2335
+ isElectedRef: p,
2336
+ updateRecomandPlace: u,
2337
+ updatePlace: m,
2338
+ setPlace: f,
2339
+ updateCity: v
2301
2340
  };
2302
- }, So = (e) => {
2303
- const {
2304
- pointRef: t,
2305
- getRecomendPlace: n,
2306
- getLimit: a,
2307
- context: i,
2308
- onChange: o,
2309
- onChangePlace: r,
2310
- onChangeCity: s,
2311
- isSearchRecommendPlace: c
2312
- } = e, g = w(!0), d = w([]), { idx: u, update: l } = ne(), { readyPromise: I } = S(), { place: m, updatePlace: f, setPlace: v, updateCity: y } = hn({
2341
+ }, Mr = (e) => {
2342
+ const { pointRef: t, getRecomendPlace: n, getLimit: a, context: i, onChange: o, onChangePlace: r, onChangeCity: s } = e, c = w(!0), d = w([]), { idx: g, update: u } = ne(), { readyPromise: l } = N(), { place: M, updatePlace: m, setPlace: f, updateCity: v } = kn({
2313
2343
  pointRef: t,
2314
2344
  onChange: r,
2315
2345
  onChangeCity: s
2316
- }), p = T({ ...m }), N = h(() => {
2346
+ }), y = P({ ...M }), p = S(() => {
2317
2347
  const L = t.value;
2318
2348
  return d.value.some(
2319
- (x) => qt(C(x), L)
2349
+ (h) => Mn(x(h), L)
2320
2350
  );
2321
2351
  });
2322
- return E(
2323
- () => u.value,
2352
+ return b(
2353
+ () => g.value,
2324
2354
  async () => {
2325
- await I;
2326
- const L = c.value ? await n({ ...m }, i) : [];
2355
+ await l;
2356
+ const L = await n({ ...M }, i);
2327
2357
  if (L === void 0) {
2328
- g.value = !1, d.value = [], Object.assign(p, { ...m }), o == null || o({ ...m });
2358
+ c.value = !1, d.value = [], Object.assign(y, { ...M }), o == null || o({ ...M });
2329
2359
  return;
2330
2360
  }
2331
- const { shortestPlace: x, shortestDistance: D } = Ao(m, L), P = a(i), b = D > P ? m : x;
2332
- g.value = !0, d.value = L, Object.assign(p, { ...b }), o == null || o({ ...b });
2361
+ const { shortestPlace: h, shortestDistance: T } = dr(M, L), D = a(i), C = T > D ? M : h;
2362
+ c.value = !0, d.value = L, Object.assign(y, { ...C }), o == null || o({ ...C });
2333
2363
  }
2334
2364
  ), {
2335
- recomendPlace: p,
2365
+ recomendPlace: y,
2336
2366
  placeCandidates: d,
2337
- availableRef: g,
2338
- isElectedRef: N,
2339
- updateRecomandPlace: l,
2340
- updatePlace: f,
2341
- setPlace: v,
2342
- updateCity: y
2367
+ availableRef: c,
2368
+ isElectedRef: p,
2369
+ updateRecomandPlace: u,
2370
+ updatePlace: m,
2371
+ setPlace: f,
2372
+ updateCity: v
2343
2373
  };
2344
- }, ho = (e) => {
2345
- const { supplier: t } = S();
2346
- return t === "gmap" ? So(e) : No(e);
2347
- }, Do = (e) => {
2374
+ }, Ir = (e) => {
2375
+ const { supplier: t } = N();
2376
+ return t === "gmap" ? Mr(e) : gr(e);
2377
+ }, Gn = 13, mr = (e) => {
2378
+ var o, r;
2379
+ const { onChange: t, mapRef: n } = e, a = w((r = (o = n.value) == null ? void 0 : o.getZoom()) != null ? r : Gn);
2380
+ return q(n, {}, (s, { target: c }) => {
2381
+ const d = c.getZoom();
2382
+ a.value = d, console.log("zoom end event", d), t == null || t(d);
2383
+ }, [
2384
+ "onZoomEnd"
2385
+ ]), { zoomRef: a };
2386
+ }, fr = (e) => {
2387
+ var o, r;
2388
+ const { onChange: t, mapRef: n } = e, a = w((r = (o = n.value) == null ? void 0 : o.getZoom()) != null ? r : Gn);
2389
+ return F(n, {}, (s, { target: c }) => {
2390
+ const d = c.getZoom();
2391
+ a.value = d, console.log("zoom change event", d), t == null || t(d);
2392
+ }, [
2393
+ "onZoom_change"
2394
+ ]), { zoomRef: a };
2395
+ }, pr = (e) => {
2396
+ const { supplier: t } = N();
2397
+ return t === "gmap" ? fr(e) : mr(e);
2398
+ }, vr = (e) => {
2348
2399
  const { interval: t } = e;
2349
2400
  let n;
2350
2401
  const a = {
@@ -2357,20 +2408,20 @@ const Io = j((e) => {
2357
2408
  a.resolve = r, n = setTimeout(r, t);
2358
2409
  });
2359
2410
  }, timerStop: a };
2360
- }, Dn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDA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YiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2361
- var wn = te({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2362
- const wo = j((e) => {
2363
- const t = h(() => {
2411
+ }, Wn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4yNzc0NTMwMTYgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzMCIgY3k9IjMwIiByPSIxMC41Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC40MDUgLjI2NCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2Utb3BhY2l0eT0iLjEiIHN0cm9rZT0iIzAwM0RGRiIgZmlsbC1vcGFjaXR5PSIuMTUiIGZpbGw9IiM0ODczRkUiIGN4PSIzMCIgY3k9IjMwIiByPSIyOS41Ii8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2412
+ var Un = te({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2413
+ const yr = j((e) => {
2414
+ const t = S(() => {
2364
2415
  const {
2365
2416
  size: n = "large"
2366
2417
  } = e;
2367
2418
  return `
2368
- <img src="${n === "large" ? Dn : B}" class="${wn({
2419
+ <img src="${n === "large" ? Wn : B}" class="${Un({
2369
2420
  size: n
2370
2421
  })}">
2371
2422
  `;
2372
2423
  });
2373
- return () => M(V, {
2424
+ return () => I(V, {
2374
2425
  attrs: {
2375
2426
  position: e.position,
2376
2427
  content: t.value,
@@ -2378,154 +2429,154 @@ const wo = j((e) => {
2378
2429
  registerOverlay: e.registerOverlay
2379
2430
  }
2380
2431
  });
2381
- }), xo = j((e) => {
2382
- const t = h(() => {
2432
+ }), jr = j((e) => {
2433
+ const t = S(() => {
2383
2434
  const {
2384
2435
  size: n = "large"
2385
- } = e, a = n === "large" ? Dn : B;
2436
+ } = e, a = n === "large" ? Wn : B;
2386
2437
  return Z("img", {
2387
- class: wn({
2438
+ class: Un({
2388
2439
  size: n
2389
2440
  }),
2390
2441
  src: a
2391
2442
  });
2392
2443
  });
2393
- return () => M(Y, {
2444
+ return () => I(Y, {
2394
2445
  attrs: {
2395
- position: z(e.position),
2446
+ position: R(e.position),
2396
2447
  content: t.value,
2397
2448
  registerOverlay: e.registerOverlay
2398
2449
  }
2399
2450
  });
2400
- }), Ee = j((e) => {
2401
- const t = S();
2402
- return () => k(t.supplier === "gmap" ? xo : wo, {
2451
+ }), Te = j((e) => {
2452
+ const t = N();
2453
+ return () => G(t.supplier === "gmap" ? jr : yr, {
2403
2454
  attrs: e
2404
2455
  });
2405
- }), Co = () => {
2456
+ }), Lr = () => {
2406
2457
  const e = ue();
2407
2458
  return { apiMapLngLatToVw: (n) => {
2408
2459
  var a;
2409
2460
  return (a = e == null ? void 0 : e.value) == null ? void 0 : a.lngLatToContainer(n).toArray();
2410
2461
  } };
2411
- }, Po = () => {
2462
+ }, Ar = () => {
2412
2463
  const e = le();
2413
2464
  return { apiMapLngLatToVw: (n) => {
2414
- var u, l, I, m, f;
2415
- const [a, i] = n, o = (u = e == null ? void 0 : e.value) == null ? void 0 : u.getProjection(), r = o == null ? void 0 : o.fromLatLngToPoint({ lng: a, lat: i }), s = (l = r == null ? void 0 : r.x) != null ? l : 0, c = (I = r == null ? void 0 : r.y) != null ? I : 0, d = 2 ** ((f = (m = e == null ? void 0 : e.value) == null ? void 0 : m.getZoom()) != null ? f : 0);
2416
- return [s * d, c * d];
2465
+ var u, l, M, m, f;
2466
+ const [a, i] = n, o = (u = e == null ? void 0 : e.value) == null ? void 0 : u.getProjection(), r = o == null ? void 0 : o.fromLatLngToPoint({ lng: a, lat: i }), s = (l = r == null ? void 0 : r.x) != null ? l : 0, c = (M = r == null ? void 0 : r.y) != null ? M : 0, g = 2 ** ((f = (m = e == null ? void 0 : e.value) == null ? void 0 : m.getZoom()) != null ? f : 0);
2467
+ return [s * g, c * g];
2417
2468
  } };
2418
- }, bo = () => {
2419
- const { supplier: e } = S();
2420
- return e === "gmap" ? Po() : Co();
2421
- }, yt = (e) => e === "left" ? "right" : "left", Eo = (e) => {
2422
- const { widthLimit: t, heightLimit: n } = e, { apiMapLngLatToVw: a } = bo(), i = (r, s) => {
2423
- const c = 100 / window.innerWidth, [g, d] = a(r), [u, l] = a(s);
2424
- return [(u - g) * c, (l - d) * c];
2469
+ }, Nr = () => {
2470
+ const { supplier: e } = N();
2471
+ return e === "gmap" ? Ar() : Lr();
2472
+ }, Dt = (e) => e === "left" ? "right" : "left", hr = (e) => {
2473
+ const { widthLimit: t, heightLimit: n } = e, { apiMapLngLatToVw: a } = Nr(), i = (r, s) => {
2474
+ const c = 100 / window.innerWidth, [d, g] = a(r), [u, l] = a(s);
2475
+ return [(u - d) * c, (l - g) * c];
2425
2476
  }, o = w(Array(e.places.length).fill("right"));
2426
- return Oi(
2427
- () => e.places.map(C),
2477
+ return wo(
2478
+ () => e.places.map(x),
2428
2479
  (r) => {
2429
- const s = r.map((l, I) => ({ point: l, index: I })).sort(
2430
- ({ point: [, l] }, { point: [, I] }) => l < I ? 1 : l > I ? -1 : 0
2431
- ), c = r.length, g = Array(c);
2432
- let d = "right", u = !1;
2480
+ const s = r.map((l, M) => ({ point: l, index: M })).sort(
2481
+ ({ point: [, l] }, { point: [, M] }) => l < M ? 1 : l > M ? -1 : 0
2482
+ ), c = r.length, d = Array(c);
2483
+ let g = "right", u = !1;
2433
2484
  for (let l = 0; l < c; l++) {
2434
- const { index: I } = s[l];
2485
+ const { index: M } = s[l];
2435
2486
  if (l === c - 1) {
2436
- g[I] = u ? yt(d) : "right";
2487
+ d[M] = u ? Dt(g) : "right";
2437
2488
  continue;
2438
2489
  }
2439
2490
  if (l === 0) {
2440
2491
  const [y, p] = i(s[l].point, s[l + 1].point);
2441
2492
  u = y > -t && y < t && p > -n && p < n;
2442
- const N = u && y > 0 ? "left" : "right";
2443
- g[I] = N, d = N;
2493
+ const L = u && y > 0 ? "left" : "right";
2494
+ d[M] = L, g = L;
2444
2495
  continue;
2445
2496
  }
2446
- const [m, f] = i(s[l].point, s[l + 1].point), v = u ? yt(d) : "right";
2447
- g[I] = v, d = v, u = m > -t && m < t && f > -n && f < n;
2497
+ const [m, f] = i(s[l].point, s[l + 1].point), v = u ? Dt(g) : "right";
2498
+ d[M] = v, g = v, u = m > -t && m < t && f > -n && f < n;
2448
2499
  }
2449
- o.value = g;
2500
+ o.value = d;
2450
2501
  }
2451
2502
  ), o;
2452
2503
  };
2453
- var Ge = /* @__PURE__ */ ((e) => (e.topLeft = "top-left", e.topCenter = "top-center", e.topRight = "top-right", e.middleLeft = "middle-left", e.center = "center", e.middleRight = "middle-right", e.bottomLeft = "bottom-left", e.bottomCenter = "bottom-center", e.bottomRight = "bottom-right", e))(Ge || {});
2454
- var jt = te({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Lt = te({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), xn = "fhyw8b", Cn = te({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ve = te({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2455
- const To = j((e, {
2504
+ var We = /* @__PURE__ */ ((e) => (e.topLeft = "top-left", e.topCenter = "top-center", e.topRight = "top-right", e.middleLeft = "middle-left", e.center = "center", e.middleRight = "middle-right", e.bottomLeft = "bottom-left", e.bottomCenter = "bottom-center", e.bottomRight = "bottom-right", e))(We || {});
2505
+ var wt = te({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Ct = te({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Bn = "fhyw8b", Vn = te({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ve = te({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2506
+ const Sr = j((e, {
2456
2507
  emit: t
2457
2508
  }) => {
2458
- const n = h(() => {
2509
+ const n = S(() => {
2459
2510
  var r;
2460
2511
  return (r = e.textAlign) != null ? r : "right";
2461
- }), a = h(() => {
2512
+ }), a = S(() => {
2462
2513
  const {
2463
2514
  hideIcon: r = !1
2464
2515
  } = e;
2465
2516
  return `
2466
- <div class="${Cn({
2517
+ <div class="${Vn({
2467
2518
  textAlign: n.value
2468
2519
  })}">
2469
2520
  <img class="${ve({
2470
2521
  hideIcon: r
2471
- })} ${jt({
2522
+ })} ${wt({
2472
2523
  textAlign: n.value
2473
2524
  })}" src="${B}">
2474
- <div class="${xn}">${e.label}</div>
2525
+ <div class="${Bn}">${e.label}</div>
2475
2526
  </div>
2476
2527
  `;
2477
- }), i = h(() => {
2528
+ }), i = S(() => {
2478
2529
  const {
2479
2530
  hideIcon: r = !1
2480
2531
  } = e;
2481
2532
  return `<img class="${ve({
2482
2533
  hideIcon: r
2483
- })} ${jt({
2534
+ })} ${wt({
2484
2535
  textAlign: n.value
2485
2536
  })}" src="${B}">`;
2486
2537
  }), o = () => {
2487
2538
  t("click", e.position);
2488
2539
  };
2489
- return () => M(V, {
2540
+ return () => I(V, {
2490
2541
  attrs: {
2491
2542
  position: e.position,
2492
2543
  content: e.label ? a.value : i.value,
2493
- anchor: n.value === "left" ? Ge.middleRight : Ge.middleLeft
2544
+ anchor: n.value === "left" ? We.middleRight : We.middleLeft
2494
2545
  },
2495
2546
  on: {
2496
2547
  click: o
2497
2548
  }
2498
2549
  });
2499
- }), zo = j((e, {
2550
+ }), Dr = j((e, {
2500
2551
  emit: t
2501
2552
  }) => {
2502
- const n = h(() => {
2553
+ const n = S(() => {
2503
2554
  var r;
2504
2555
  return (r = e.textAlign) != null ? r : "right";
2505
- }), a = h(() => {
2556
+ }), a = S(() => {
2506
2557
  const {
2507
2558
  hideIcon: r = !1
2508
2559
  } = e;
2509
2560
  return Z("div", {
2510
- class: `${Cn({
2561
+ class: `${Vn({
2511
2562
  textAlign: n.value
2512
- })} ${Lt({
2563
+ })} ${Ct({
2513
2564
  textAlign: n.value
2514
2565
  })}`
2515
2566
  }, `
2516
2567
  <img class="${ve({
2517
2568
  hideIcon: r
2518
2569
  })}" src="${B}">
2519
- <div class="${xn}">${e.label}</div>
2570
+ <div class="${Bn}">${e.label}</div>
2520
2571
  `);
2521
- }), i = h(() => {
2572
+ }), i = S(() => {
2522
2573
  const {
2523
2574
  hideIcon: r = !1
2524
2575
  } = e;
2525
2576
  return Z("img", {
2526
2577
  class: `${ve({
2527
2578
  hideIcon: r
2528
- })} ${Lt({
2579
+ })} ${Ct({
2529
2580
  textAlign: n.value
2530
2581
  })}`,
2531
2582
  src: B
@@ -2533,9 +2584,9 @@ const To = j((e, {
2533
2584
  }), o = () => {
2534
2585
  t("click", e.position);
2535
2586
  };
2536
- return () => M(Y, {
2587
+ return () => I(Y, {
2537
2588
  attrs: {
2538
- position: z(e.position),
2589
+ position: R(e.position),
2539
2590
  content: e.label ? a.value : i.value
2540
2591
  },
2541
2592
  on: {
@@ -2545,28 +2596,28 @@ const To = j((e, {
2545
2596
  }), W = j((e, {
2546
2597
  emit: t
2547
2598
  }) => {
2548
- const n = S();
2549
- return () => k(n.supplier === "gmap" ? zo : To, {
2599
+ const n = N();
2600
+ return () => G(n.supplier === "gmap" ? Dr : Sr, {
2550
2601
  attrs: e,
2551
2602
  on: {
2552
2603
  click: (a) => t("click", a)
2553
2604
  }
2554
2605
  });
2555
- }), Ro = j((e, {
2606
+ }), wr = j((e, {
2556
2607
  emit: t
2557
2608
  }) => {
2558
2609
  const {
2559
2610
  renderLabel: n
2560
- } = e, a = Eo(T({
2561
- places: Wn(e, "places"),
2611
+ } = e, a = hr(P({
2612
+ places: qn(e, "places"),
2562
2613
  heightLimit: 9,
2563
2614
  widthLimit: 32
2564
2615
  }));
2565
- return () => M("div", [e.places.map((i, o) => {
2616
+ return () => I("div", [e.places.map((i, o) => {
2566
2617
  const r = a.value[o], s = n ? n(i) : i.name;
2567
- return M(W, {
2618
+ return I(W, {
2568
2619
  attrs: {
2569
- position: C(i),
2620
+ position: x(i),
2570
2621
  label: s,
2571
2622
  textAlign: r
2572
2623
  },
@@ -2575,160 +2626,160 @@ const To = j((e, {
2575
2626
  }
2576
2627
  });
2577
2628
  })]);
2578
- }), Zo = 10, Oo = 30, Go = 100, ko = 500, Wo = "附近", vr = ce((e, {
2629
+ }), Cr = 10, xr = 100, Pr = 500, br = "", Tr = 13, Er = "当前位置", ds = ce((e, {
2579
2630
  emit: t
2580
2631
  }) => {
2581
- var Xe, $e;
2632
+ var tt, nt;
2582
2633
  e.log && console.log(e);
2583
2634
  const {
2584
2635
  geoDefaultPosition: n,
2585
2636
  getRecomendPlace: a,
2586
- mapContext: i
2637
+ getDefaultCenterPlace: i,
2638
+ mapContext: o
2587
2639
  } = e, {
2588
- mapRef: o,
2589
- setMap: r
2640
+ mapRef: r,
2641
+ setMap: s
2590
2642
  } = be(), {
2591
- readyPromise: s
2592
- } = S(), {
2593
- timerStart: c,
2594
- timerStop: g
2595
- } = Do({
2596
- interval: ko
2597
- }), d = T({
2598
- lng: (Xe = n == null ? void 0 : n[0]) != null ? Xe : 0,
2599
- lat: ($e = n == null ? void 0 : n[1]) != null ? $e : 0,
2643
+ readyPromise: c
2644
+ } = N(), {
2645
+ zoomRef: d
2646
+ } = pr({
2647
+ mapRef: r
2648
+ }), {
2649
+ timerStart: g,
2650
+ timerStop: u
2651
+ } = vr({
2652
+ interval: Pr
2653
+ }), l = P({
2654
+ lng: (tt = n == null ? void 0 : n[0]) != null ? tt : 0,
2655
+ lat: (nt = n == null ? void 0 : n[1]) != null ? nt : 0,
2600
2656
  name: ""
2601
- }), u = h(() => [d.lng, d.lat]), l = {
2657
+ }), M = S(() => [l.lng, l.lat]), m = {
2602
2658
  source: "geo"
2603
- }, I = (A) => {
2604
- l.source = "api", L(A);
2605
- }, m = (A) => {
2606
- l.source = "api", x(A), D(A), P();
2607
2659
  }, f = (A) => {
2608
- l.source = "api", d.lng = A.lng, d.lat = A.lat, d.name = A.name;
2609
- }, {
2610
- geoPosition: v,
2611
- geoError: y,
2612
- geoLoading: p
2660
+ m.source = "api", C(A);
2661
+ }, v = (A) => {
2662
+ m.source = "api", O(A), U(A), Ee();
2663
+ }, y = (A) => {
2664
+ m.source = "api", l.lng = A.lng, l.lat = A.lat, l.name = A.name;
2665
+ }, p = new Promise((A) => {
2666
+ i().then(A).catch(() => A(void 0));
2667
+ }), {
2668
+ geoPosition: L,
2669
+ geoError: h,
2670
+ geoLoading: T
2613
2671
  } = Pe({
2614
2672
  geoDefaultPosition: n,
2615
2673
  onLoad: async (A) => {
2616
- await s, l.source = "geo", L(A.position), t("loadGeoLocation", A);
2674
+ await c, m.source = "geo", C(A.position), t("loadGeoLocation", A);
2617
2675
  },
2618
2676
  onLoadDefault: async (A) => {
2619
- await s, l.source = "geo", L(A.position), t("loadDefaultGeoLocation", A);
2677
+ await c;
2678
+ const E = await p;
2679
+ m.source = "geo", t("loadDefaultGeoLocation", A), E ? (O(E), U(E), Ee()) : C(A.position);
2620
2680
  },
2621
2681
  onChange: (A) => t("changeGeoLocation", A),
2622
2682
  onError: (A) => t("geoError", A)
2623
2683
  });
2624
- i.setCenterPlaceByUserSpecified = m, i.panToGeoPositionByRecomend = () => y.value ? !1 : (I(v.value), !0);
2684
+ o.setCenterPlaceByUserSpecified = v, o.panToGeoPositionByRecomend = () => h.value ? !1 : (f(L.value), !0);
2625
2685
  const {
2626
- isDragging: N
2627
- } = jo({
2628
- mapRef: o,
2686
+ isDragging: D
2687
+ } = ur({
2688
+ mapRef: r,
2629
2689
  onChange: (A) => {
2630
- i.setIsSearchRecommendPlace(!0), l.source = "drag", c(), L(A), t("changeByDrag", A);
2690
+ m.source = "drag", g(), C(A), t("changeByDrag", A);
2631
2691
  }
2632
2692
  }), {
2633
- updatePlace: L,
2634
- setPlace: x,
2635
- updateCity: D,
2636
- updateRecomandPlace: P,
2637
- placeCandidates: b,
2638
- availableRef: U,
2639
- isElectedRef: Fe
2640
- } = ho({
2641
- pointRef: u,
2642
- context: l,
2693
+ updatePlace: C,
2694
+ setPlace: O,
2695
+ updateCity: U,
2696
+ updateRecomandPlace: Ee,
2697
+ placeCandidates: Ke,
2698
+ availableRef: qe,
2699
+ isElectedRef: et
2700
+ } = Ir({
2701
+ pointRef: M,
2702
+ context: m,
2643
2703
  getRecomendPlace: a,
2644
- isSearchRecommendPlace: i.isSearchRecommendPlace,
2645
2704
  getLimit: (A) => {
2646
- const O = A == null ? void 0 : A.source;
2647
- switch (O) {
2705
+ const E = A == null ? void 0 : A.source;
2706
+ switch (E) {
2648
2707
  case "drag":
2649
- return Zo;
2708
+ return Cr;
2650
2709
  case "api":
2651
- return Oo;
2652
2710
  case "geo":
2653
2711
  case "default":
2654
- return Go;
2712
+ return xr;
2655
2713
  default:
2656
- throw new Error(`MyError: should not call getLimit on source: ${O}`);
2714
+ throw new Error(`MyError: should not call getLimit on source: ${E}`);
2657
2715
  }
2658
2716
  },
2659
2717
  onChangePlace: (A) => {
2660
- l.source !== "recomend" && P(), t("changePlace", A);
2718
+ m.source !== "recomend" && Ee(), t("changePlace", A);
2661
2719
  },
2662
2720
  onChange: async (A) => {
2663
- var ae, _e;
2664
- await g.promise, d.lat = A.lat, d.lng = A.lng, t("changeRecomandPlace", A), Object.assign(d, {
2721
+ var ae, at;
2722
+ await u.promise, l.lat = A.lat, l.lng = A.lng, t("changeRecomandPlace", A), Object.assign(l, {
2665
2723
  ...A
2666
2724
  });
2667
- const O = (ae = o.value) == null ? void 0 : ae.getCenter();
2668
- A.lat !== (O == null ? void 0 : O.lat) && A.lat !== (O == null ? void 0 : O.lat) && l.source === "drag" && ((_e = o.value) == null || _e.setCenter([A.lng, A.lat])), l.source = "recomend";
2725
+ const E = (ae = r.value) == null ? void 0 : ae.getCenter();
2726
+ A.lat !== (E == null ? void 0 : E.lat) && A.lat !== (E == null ? void 0 : E.lat) && m.source === "drag" && ((at = r.value) == null || at.setCenter([A.lng, A.lat])), m.source = "recomend";
2669
2727
  },
2670
2728
  onChangeCity: (A) => {
2671
2729
  t("changeCity", A);
2672
2730
  }
2673
2731
  });
2674
- Re(() => {
2675
- i.onChangeCenterPlace({
2676
- ...d
2732
+ return ze(() => {
2733
+ o.onChangeCenterPlace({
2734
+ ...l
2677
2735
  });
2678
- }), Re(() => {
2679
- i.onChangeRecomendPlaces([...b.value]);
2680
- });
2681
- const Te = w(!0), Gn = (A) => {
2682
- A < 13 ? Te.value = !1 : Te.value = !0;
2683
- };
2684
- return () => {
2685
- const A = U.value ? Fe.value ? d.name : `${d.name} ${Wo}` : e.unavailableTitle, O = U.value ? Fe.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2686
- return M(De, {
2736
+ }), ze(() => {
2737
+ o.onChangeRecomendPlaces([...Ke.value]);
2738
+ }), () => {
2739
+ const A = qe.value ? et.value ? l.name : `${l.name} ${br}` : e.unavailableTitle, E = qe.value ? et.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2740
+ return I(De, {
2687
2741
  attrs: {
2688
- center: u.value,
2742
+ center: M.value,
2689
2743
  zoom: 18,
2690
- mapRef: r
2691
- },
2692
- on: {
2693
- zoomEnd: Gn
2744
+ mapRef: s
2694
2745
  }
2695
- }, [!p.value && !y.value && M(Ee, {
2746
+ }, [!T.value && !h.value && I(Te, {
2696
2747
  attrs: {
2697
- position: v.value
2748
+ position: L.value
2698
2749
  }
2699
- }), Te.value ? M(Ro, {
2750
+ }), d.value >= Tr && I(wr, {
2700
2751
  attrs: {
2701
- places: b.value,
2702
- renderLabel: (ae) => Zi(ae, d) ? void 0 : ae.name
2752
+ places: Ke.value,
2753
+ renderLabel: (ae) => Do(ae, l) ? void 0 : ae.name
2703
2754
  },
2704
2755
  on: {
2705
- click: f
2756
+ click: y
2706
2757
  }
2707
- }) : null, p.value ? null : M(ji, {
2758
+ }), T.value ? null : I(uo, {
2708
2759
  attrs: {
2709
- title: A,
2710
- description: O,
2711
- type: N.value ? "locator" : "box"
2760
+ title: eo(A) || Er,
2761
+ description: E,
2762
+ type: D.value ? "locator" : "box"
2712
2763
  },
2713
2764
  on: {
2714
2765
  click: () => t("clickLocator")
2715
2766
  }
2716
2767
  })]);
2717
2768
  };
2718
- }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]), Uo = [116.2317, 39.5427], At = (e) => e.lng !== void 0 && e.lat !== void 0, ye = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQu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4yMzMuMDYtLjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2719
- var je = "_65j3sr1", Pn = "_4a4ovk5", bn = "_4a4ovk0", En = "_4a4ovk2";
2720
- const Bo = j((e) => {
2721
- const t = h(() => {
2769
+ }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "getDefaultCenterPlace", "loading", "mapContext"]), Rr = [116.2317, 39.5427], xt = (e) => e.lng !== void 0 && e.lat !== void 0, ye = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy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NS00Ljc1LS41MTF2LS4wMDhjLjAzLS4xMzEuMDU1LS4yMzMuMDYtLjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2770
+ var je = "_65j3sr1", Yn = "_4a4ovk5", Hn = "_4a4ovk0", Qn = "_4a4ovk2";
2771
+ const zr = j((e) => {
2772
+ const t = S(() => {
2722
2773
  var i;
2723
- const n = e.title ? he(e.title).map((o) => o.type === "normal" ? o.value : `<span class="${Pn}">${o.value}</span>`).join("") : "", a = `transform:rotate(${(i = e.angle) != null ? i : 0}deg)`;
2774
+ const n = e.title ? Se(e.title).map((o) => o.type === "normal" ? o.value : `<span class="${Yn}">${o.value}</span>`).join("") : "", a = `transform:rotate(${(i = e.angle) != null ? i : 0}deg)`;
2724
2775
  return e.title ? `
2725
- <div class="${bn}">
2726
- <div class="${En}">${n}</div>
2776
+ <div class="${Hn}">
2777
+ <div class="${Qn}">${n}</div>
2727
2778
  <img src="${ye}" class="${je}" style="${a}">
2728
2779
  </div>
2729
2780
  ` : `<img src="${ye}" class="${je}" style="${a}">`;
2730
2781
  });
2731
- return () => M(V, {
2782
+ return () => I(V, {
2732
2783
  attrs: {
2733
2784
  position: e.position,
2734
2785
  content: t.value,
@@ -2736,14 +2787,14 @@ const Bo = j((e) => {
2736
2787
  registerOverlay: e.registerOverlay
2737
2788
  }
2738
2789
  });
2739
- }), Vo = j((e) => {
2740
- const t = h(() => {
2790
+ }), Zr = j((e) => {
2791
+ const t = S(() => {
2741
2792
  var i;
2742
- const n = e.title ? he(e.title).map((o) => o.type === "normal" ? o.value : `<span class="${Pn}">${o.value}</span>`).join("") : "", a = `transform:rotate(${(i = e.angle) != null ? i : 0}deg)`;
2793
+ const n = e.title ? Se(e.title).map((o) => o.type === "normal" ? o.value : `<span class="${Yn}">${o.value}</span>`).join("") : "", a = `transform:rotate(${(i = e.angle) != null ? i : 0}deg)`;
2743
2794
  return e.title ? Z("div", {
2744
- class: bn
2795
+ class: Hn
2745
2796
  }, `
2746
- <div class="${En}">${n}</div>
2797
+ <div class="${Qn}">${n}</div>
2747
2798
  <img src="${ye}" class="${je}" style="${a}">
2748
2799
  `) : Z("img", {
2749
2800
  class: je,
@@ -2751,26 +2802,26 @@ const Bo = j((e) => {
2751
2802
  style: a
2752
2803
  });
2753
2804
  });
2754
- return () => M(Y, {
2805
+ return () => I(Y, {
2755
2806
  attrs: {
2756
- position: z(e.position),
2807
+ position: R(e.position),
2757
2808
  content: t.value,
2758
2809
  registerOverlay: e.registerOverlay
2759
2810
  }
2760
2811
  });
2761
- }), Qe = j((e) => {
2762
- const t = S();
2763
- return () => k(t.supplier === "gmap" ? Vo : Bo, {
2812
+ }), Xe = j((e) => {
2813
+ const t = N();
2814
+ return () => G(t.supplier === "gmap" ? Zr : zr, {
2764
2815
  attrs: e
2765
2816
  });
2766
- }), Yo = j((e) => () => {
2817
+ }), Or = j((e) => () => {
2767
2818
  const {
2768
2819
  path: t
2769
2820
  } = e;
2770
2821
  if (t.length === 0)
2771
2822
  return null;
2772
2823
  const a = 2 * (window.innerWidth * 0.01);
2773
- return M(oe, {
2824
+ return I(oe, {
2774
2825
  attrs: {
2775
2826
  path: t,
2776
2827
  strokeWeight: a,
@@ -2782,14 +2833,14 @@ const Bo = j((e) => {
2782
2833
  lineCap: "round"
2783
2834
  }
2784
2835
  });
2785
- }), Ho = j((e) => {
2786
- const t = h(() => e.path.map(z));
2836
+ }), kr = j((e) => {
2837
+ const t = S(() => e.path.map(R));
2787
2838
  return () => {
2788
2839
  const n = t.value;
2789
2840
  if (n.length === 0)
2790
2841
  return null;
2791
2842
  const i = 2 * (window.innerWidth * 0.01), o = i / 4;
2792
- return M(Me, {
2843
+ return I(Ie, {
2793
2844
  attrs: {
2794
2845
  path: n,
2795
2846
  strokeWeight: i,
@@ -2815,13 +2866,13 @@ const Bo = j((e) => {
2815
2866
  }
2816
2867
  });
2817
2868
  };
2818
- }), Tn = j((e) => {
2819
- const t = S();
2820
- return () => k(t.supplier === "gmap" ? Ho : Yo, {
2869
+ }), Jn = j((e) => {
2870
+ const t = N();
2871
+ return () => G(t.supplier === "gmap" ? kr : Or, {
2821
2872
  attrs: e
2822
2873
  });
2823
- }), zn = (e) => {
2824
- const t = R([]), n = new AMap.Walking({});
2874
+ }), Fn = (e) => {
2875
+ const t = z([]), n = new AMap.Walking({});
2825
2876
  return ee(
2826
2877
  () => ({ ...e }),
2827
2878
  ({ from: a, to: i }) => {
@@ -2832,9 +2883,9 @@ const Bo = j((e) => {
2832
2883
  const c = r;
2833
2884
  if (!c.routes)
2834
2885
  return;
2835
- const g = c.routes[0];
2836
- for (const d of g.steps) {
2837
- const u = d.path.map(({ lng: l, lat: I }) => [l, I]);
2886
+ const d = c.routes[0];
2887
+ for (const g of d.steps) {
2888
+ const u = g.path.map(({ lng: l, lat: M }) => [l, M]);
2838
2889
  s = s.concat(u);
2839
2890
  }
2840
2891
  t.value = s;
@@ -2849,8 +2900,8 @@ const Bo = j((e) => {
2849
2900
  });
2850
2901
  }
2851
2902
  ), t;
2852
- }, Rn = (e) => {
2853
- const t = R([]), n = new google.maps.DirectionsService();
2903
+ }, $n = (e) => {
2904
+ const t = z([]), n = new google.maps.DirectionsService();
2854
2905
  return ee(
2855
2906
  () => ({ ...e }),
2856
2907
  ({ from: a, to: i }) => {
@@ -2864,11 +2915,11 @@ const Bo = j((e) => {
2864
2915
  switch (r) {
2865
2916
  case google.maps.DirectionsStatus.OK: {
2866
2917
  let s = [];
2867
- const g = o.routes[0].overview_path.map((d) => [
2868
- d.lng(),
2869
- d.lat()
2918
+ const d = o.routes[0].overview_path.map((g) => [
2919
+ g.lng(),
2920
+ g.lat()
2870
2921
  ]);
2871
- s = s.concat(g), t.value = s;
2922
+ s = s.concat(d), t.value = s;
2872
2923
  return;
2873
2924
  }
2874
2925
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -2882,110 +2933,110 @@ const Bo = j((e) => {
2882
2933
  );
2883
2934
  }
2884
2935
  ), t;
2885
- }, yr = (e) => {
2886
- const { supplier: t } = S();
2887
- return t === "gmap" ? Rn(e) : zn(e);
2888
- }, Qo = j((e, {
2936
+ }, gs = (e) => {
2937
+ const { supplier: t } = N();
2938
+ return t === "gmap" ? $n(e) : Fn(e);
2939
+ }, Gr = j((e, {
2889
2940
  slots: t
2890
2941
  }) => {
2891
- const n = zn(e);
2942
+ const n = Fn(e);
2892
2943
  return () => {
2893
2944
  var a;
2894
- return M("div", [(a = t.render) == null ? void 0 : a.call(t, T({
2945
+ return I("div", [(a = t.render) == null ? void 0 : a.call(t, P({
2895
2946
  path: n
2896
2947
  }))]);
2897
2948
  };
2898
- }), Jo = j((e, {
2949
+ }), Wr = j((e, {
2899
2950
  slots: t
2900
2951
  }) => {
2901
- const n = Rn(e);
2952
+ const n = $n(e);
2902
2953
  return () => {
2903
2954
  var a;
2904
- return M("div", [(a = t.render) == null ? void 0 : a.call(t, T({
2955
+ return I("div", [(a = t.render) == null ? void 0 : a.call(t, P({
2905
2956
  path: n
2906
2957
  }))]);
2907
2958
  };
2908
- }), Zn = j((e, {
2959
+ }), Xn = j((e, {
2909
2960
  slots: t
2910
2961
  }) => {
2911
2962
  const {
2912
2963
  supplier: n
2913
- } = S();
2914
- return () => k(n === "gmap" ? Jo : Qo, {
2964
+ } = N();
2965
+ return () => G(n === "gmap" ? Wr : Gr, {
2915
2966
  attrs: e,
2916
2967
  scopedSlots: t
2917
2968
  });
2918
2969
  }), Le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
2919
- var On = "rrvp0y3", Ae = "rrvp0y2";
2920
- const Fo = j((e) => {
2921
- const t = h(() => `<img src="${Le}" class="${Ae}">`), n = h(() => `<img src="${Le}" class="${Ae} ${On}">`);
2922
- return () => M("div", [M(V, {
2970
+ var _n = "rrvp0y3", Ae = "rrvp0y2";
2971
+ const Ur = j((e) => {
2972
+ const t = S(() => `<img src="${Le}" class="${Ae}">`), n = S(() => `<img src="${Le}" class="${Ae} ${_n}">`);
2973
+ return () => I("div", [I(V, {
2923
2974
  attrs: {
2924
2975
  position: e.position,
2925
2976
  anchor: "bottom-center",
2926
2977
  content: t.value
2927
2978
  }
2928
- }), M(V, {
2979
+ }), I(V, {
2929
2980
  attrs: {
2930
2981
  position: e.position,
2931
2982
  anchor: "bottom-center",
2932
2983
  content: n.value
2933
2984
  }
2934
2985
  })]);
2935
- }), Xo = j((e) => {
2936
- const t = h(() => Z("img", {
2986
+ }), Br = j((e) => {
2987
+ const t = S(() => Z("img", {
2937
2988
  class: Ae,
2938
2989
  src: Le
2939
- })), n = h(() => Z("img", {
2940
- class: `${Ae} ${On}`,
2990
+ })), n = S(() => Z("img", {
2991
+ class: `${Ae} ${_n}`,
2941
2992
  src: Le
2942
2993
  }));
2943
2994
  return () => {
2944
- const a = z(e.position);
2945
- return M("div", [M(Y, {
2995
+ const a = R(e.position);
2996
+ return I("div", [I(Y, {
2946
2997
  attrs: {
2947
2998
  position: a,
2948
2999
  content: t.value
2949
3000
  }
2950
- }), M(Y, {
3001
+ }), I(Y, {
2951
3002
  attrs: {
2952
3003
  position: a,
2953
3004
  content: n.value
2954
3005
  }
2955
3006
  })]);
2956
3007
  };
2957
- }), $o = j((e) => {
2958
- const t = S();
2959
- return () => k(t.supplier === "gmap" ? Xo : Fo, {
3008
+ }), Vr = j((e) => {
3009
+ const t = N();
3010
+ return () => G(t.supplier === "gmap" ? Br : Ur, {
2960
3011
  attrs: e
2961
3012
  });
2962
- }), Nt = j((e, {
3013
+ }), Pt = j((e, {
2963
3014
  emit: t
2964
3015
  }) => (Q(() => t("mapMounted")), () => {
2965
3016
  const {
2966
3017
  from: n,
2967
3018
  title: a,
2968
3019
  registerOverlay: i
2969
- } = e, o = C(n);
2970
- return M("div", [M(G, {
3020
+ } = e, o = x(n);
3021
+ return I("div", [I(k, {
2971
3022
  attrs: {
2972
3023
  type: "start",
2973
3024
  position: o,
2974
3025
  title: a,
2975
3026
  registerOverlay: i
2976
3027
  }
2977
- }), M($o, {
3028
+ }), I(Vr, {
2978
3029
  attrs: {
2979
3030
  position: o
2980
3031
  }
2981
- }), M(W, {
3032
+ }), I(W, {
2982
3033
  attrs: {
2983
3034
  position: o,
2984
3035
  label: n.name,
2985
3036
  hideIcon: !0
2986
3037
  }
2987
3038
  })]);
2988
- })), _o = j((e, {
3039
+ })), Yr = j((e, {
2989
3040
  emit: t
2990
3041
  }) => (Q(() => t("mapMounted")), () => {
2991
3042
  const {
@@ -2994,60 +3045,61 @@ const Fo = j((e) => {
2994
3045
  passengerPosition: i,
2995
3046
  renderTitle: o,
2996
3047
  registerOverlay: r
2997
- } = e, s = C(n);
2998
- return M("div", [!!i && M(Ee, {
3048
+ } = e, s = x(n);
3049
+ return I("div", [!!i && I(Te, {
2999
3050
  attrs: {
3000
3051
  position: i,
3001
3052
  registerOverlay: r
3002
3053
  }
3003
- }), M(G, {
3054
+ }), I(k, {
3004
3055
  attrs: {
3005
3056
  type: "start",
3006
3057
  position: s,
3007
3058
  registerOverlay: r
3008
3059
  }
3009
- }), M(W, {
3060
+ }), I(W, {
3010
3061
  attrs: {
3011
3062
  position: s,
3012
3063
  label: n.name,
3013
3064
  hideIcon: !0
3014
3065
  }
3015
- }), M(xe, {
3066
+ }), a[0] !== s[0] || a[1] !== s[1] ? I(Ce, {
3016
3067
  attrs: {
3017
3068
  from: a,
3018
3069
  to: s,
3019
3070
  render: ({
3020
3071
  path: c,
3021
- distance: g,
3022
- duration: d
3023
- }) => [M(we, {
3072
+ distance: d,
3073
+ duration: g
3074
+ }) => [I(we, {
3024
3075
  attrs: {
3025
3076
  path: c
3026
3077
  }
3027
- }), M(Qe, {
3078
+ }), I(Xe, {
3028
3079
  attrs: {
3029
3080
  position: a,
3030
3081
  title: o({
3031
- distance: g,
3032
- duration: d
3033
- })
3082
+ distance: d,
3083
+ duration: g
3084
+ }),
3085
+ registerOverlay: r
3034
3086
  }
3035
3087
  })]
3036
3088
  }
3037
- }), !!i && M(Zn, {
3089
+ }) : null, !!i && I(Xn, {
3038
3090
  attrs: {
3039
3091
  from: i,
3040
3092
  to: s,
3041
3093
  render: ({
3042
3094
  path: c
3043
- }) => M(Tn, {
3095
+ }) => I(Jn, {
3044
3096
  attrs: {
3045
3097
  path: c
3046
3098
  }
3047
3099
  })
3048
3100
  }
3049
3101
  })]);
3050
- })), Ko = j((e, {
3102
+ })), Hr = j((e, {
3051
3103
  emit: t
3052
3104
  }) => (Q(() => t("mapMounted")), () => {
3053
3105
  const {
@@ -3055,74 +3107,73 @@ const Fo = j((e) => {
3055
3107
  passengerPosition: a,
3056
3108
  title: i,
3057
3109
  registerOverlay: o
3058
- } = e, r = C(n);
3059
- return M("div", [M(G, {
3110
+ } = e, r = x(n);
3111
+ return I("div", [I(k, {
3060
3112
  attrs: {
3061
3113
  type: "start",
3062
3114
  position: r,
3063
3115
  title: i,
3064
3116
  registerOverlay: o
3065
3117
  }
3066
- }), M(W, {
3118
+ }), I(W, {
3067
3119
  attrs: {
3068
3120
  position: r,
3069
3121
  label: n.name,
3070
3122
  hideIcon: !0
3071
3123
  }
3072
- }), !!a && M(Ee, {
3124
+ }), !!a && I(Te, {
3073
3125
  attrs: {
3074
3126
  position: a,
3075
3127
  registerOverlay: o
3076
3128
  }
3077
3129
  })]);
3078
- })), qo = j((e, {
3130
+ })), Qr = j((e, {
3079
3131
  emit: t
3080
- }) => (Q(() => t("mapMounted")), console.log("SectionDriverArrived:", e), () => {
3132
+ }) => (Q(() => t("mapMounted")), () => {
3081
3133
  const {
3082
3134
  from: n,
3083
3135
  carPosition: a,
3084
3136
  passengerPosition: i,
3085
3137
  title: o,
3086
3138
  registerOverlay: r
3087
- } = e, s = C(n);
3088
- return M("div", [M(Qe, {
3139
+ } = e, s = x(n);
3140
+ return I("div", [I(Xe, {
3089
3141
  attrs: {
3090
3142
  position: a,
3091
3143
  title: o,
3092
3144
  registerOverlay: r
3093
3145
  }
3094
- }), M(G, {
3146
+ }), I(k, {
3095
3147
  attrs: {
3096
3148
  type: "start",
3097
3149
  position: s,
3098
3150
  registerOverlay: r
3099
3151
  }
3100
- }), M(W, {
3152
+ }), I(W, {
3101
3153
  attrs: {
3102
3154
  position: s,
3103
3155
  label: n.name,
3104
3156
  hideIcon: !0
3105
3157
  }
3106
- }), !!i && M(Zn, {
3158
+ }), !!i && I(Xn, {
3107
3159
  attrs: {
3108
3160
  from: i,
3109
3161
  to: s,
3110
3162
  render: ({
3111
3163
  path: c
3112
- }) => M(Tn, {
3164
+ }) => I(Jn, {
3113
3165
  attrs: {
3114
3166
  path: c
3115
3167
  }
3116
3168
  })
3117
3169
  }
3118
- }), !!i && M(Ee, {
3170
+ }), !!i && I(Te, {
3119
3171
  attrs: {
3120
3172
  position: i,
3121
- size: "small",
3122
3173
  registerOverlay: r
3123
3174
  }
3124
3175
  })]);
3125
- })), er = j((e, {
3176
+ })), Jr = j((e, {
3126
3177
  emit: t
3127
3178
  }) => (Q(() => t("mapMounted")), () => {
3128
3179
  const {
@@ -3130,115 +3181,115 @@ const Fo = j((e) => {
3130
3181
  carPosition: a,
3131
3182
  renderTitle: i,
3132
3183
  registerOverlay: o
3133
- } = e, r = C(n);
3134
- return M("div", [M(G, {
3184
+ } = e, r = x(n);
3185
+ return I("div", [I(k, {
3135
3186
  attrs: {
3136
3187
  type: "end",
3137
3188
  position: r,
3138
3189
  registerOverlay: o
3139
3190
  }
3140
- }), M(W, {
3191
+ }), I(W, {
3141
3192
  attrs: {
3142
3193
  position: r,
3143
3194
  label: n.name,
3144
3195
  hideIcon: !0
3145
3196
  }
3146
- }), M(xe, {
3197
+ }), I(Ce, {
3147
3198
  attrs: {
3148
3199
  from: a,
3149
3200
  to: r,
3150
3201
  render: ({
3151
3202
  path: s,
3152
3203
  distance: c,
3153
- duration: g
3154
- }) => [M(we, {
3204
+ duration: d
3205
+ }) => [I(we, {
3155
3206
  attrs: {
3156
3207
  path: s
3157
3208
  }
3158
- }), M(Qe, {
3209
+ }), I(Xe, {
3159
3210
  attrs: {
3160
3211
  position: a,
3161
3212
  title: i({
3162
3213
  distance: c,
3163
- duration: g
3214
+ duration: d
3164
3215
  }),
3165
3216
  registerOverlay: o
3166
3217
  }
3167
3218
  })]
3168
3219
  }
3169
3220
  })]);
3170
- })), tr = j((e, {
3221
+ })), Fr = j((e, {
3171
3222
  emit: t
3172
3223
  }) => (Q(() => t("mapMounted")), () => {
3173
3224
  const {
3174
3225
  from: n,
3175
3226
  to: a,
3176
3227
  registerOverlay: i
3177
- } = e, o = C(n), r = C(a);
3178
- return M("div", [M(G, {
3228
+ } = e, o = x(n), r = x(a);
3229
+ return I("div", [I(k, {
3179
3230
  attrs: {
3180
3231
  type: "start",
3181
3232
  position: o,
3182
3233
  registerOverlay: i
3183
3234
  }
3184
- }), M(G, {
3235
+ }), I(k, {
3185
3236
  attrs: {
3186
3237
  type: "end",
3187
3238
  position: r,
3188
3239
  registerOverlay: i
3189
3240
  }
3190
- }), M(W, {
3241
+ }), I(W, {
3191
3242
  attrs: {
3192
3243
  position: o,
3193
3244
  label: n.name,
3194
3245
  hideIcon: !0
3195
3246
  }
3196
- }), M(W, {
3247
+ }), I(W, {
3197
3248
  attrs: {
3198
3249
  position: r,
3199
3250
  label: a.name,
3200
3251
  hideIcon: !0
3201
3252
  }
3202
3253
  })]);
3203
- })), ke = j((e, {
3254
+ })), Ue = j((e, {
3204
3255
  emit: t
3205
3256
  }) => (Q(() => t("mapMounted")), () => {
3206
3257
  const {
3207
3258
  from: n,
3208
3259
  to: a,
3209
3260
  registerOverlay: i
3210
- } = e, o = C(n), r = C(a);
3211
- return M("div", [M(G, {
3261
+ } = e, o = x(n), r = x(a);
3262
+ return I("div", [I(k, {
3212
3263
  attrs: {
3213
3264
  type: "start",
3214
3265
  position: o,
3215
3266
  registerOverlay: i
3216
3267
  }
3217
- }), M(G, {
3268
+ }), I(k, {
3218
3269
  attrs: {
3219
3270
  type: "end",
3220
3271
  position: r,
3221
3272
  registerOverlay: i
3222
3273
  }
3223
- }), M(W, {
3274
+ }), I(W, {
3224
3275
  attrs: {
3225
3276
  position: o,
3226
3277
  label: n.name,
3227
3278
  hideIcon: !0
3228
3279
  }
3229
- }), M(W, {
3280
+ }), I(W, {
3230
3281
  attrs: {
3231
3282
  position: r,
3232
3283
  label: a.name,
3233
3284
  hideIcon: !0
3234
3285
  }
3235
- }), M(xe, {
3286
+ }), I(Ce, {
3236
3287
  attrs: {
3237
3288
  from: o,
3238
3289
  to: r,
3239
3290
  render: ({
3240
3291
  path: s
3241
- }) => M(we, {
3292
+ }) => I(we, {
3242
3293
  attrs: {
3243
3294
  path: s,
3244
3295
  done: !0
@@ -3246,14 +3297,14 @@ const Fo = j((e) => {
3246
3297
  })
3247
3298
  }
3248
3299
  })]);
3249
- })), jr = j((e) => {
3300
+ })), Ms = j((e) => {
3250
3301
  const {
3251
3302
  mapRef: t,
3252
3303
  setMap: n
3253
3304
  } = be(), {
3254
3305
  registerFitVeiw: a,
3255
3306
  setFitView: i
3256
- } = Ce({
3307
+ } = xe({
3257
3308
  mapRef: t,
3258
3309
  autoFitTimeout: 5e3,
3259
3310
  padding: [25, 20, 15, 15]
@@ -3262,14 +3313,14 @@ const Fo = j((e) => {
3262
3313
  const {
3263
3314
  from: o,
3264
3315
  to: r
3265
- } = e, s = At(o) && At(r), c = s ? C(o) : [...Uo];
3266
- return M(De, {
3316
+ } = e, s = xt(o) && xt(r), c = s ? x(o) : [...Rr];
3317
+ return I(De, {
3267
3318
  attrs: {
3268
3319
  center: c,
3269
3320
  zoom: 3,
3270
3321
  mapRef: n
3271
3322
  }
3272
- }, [s && M(ke, {
3323
+ }, [s && I(Ue, {
3273
3324
  attrs: {
3274
3325
  from: o,
3275
3326
  to: r,
@@ -3280,7 +3331,7 @@ const Fo = j((e) => {
3280
3331
  }
3281
3332
  })]);
3282
3333
  };
3283
- }), nr = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], Lr = ce((e) => {
3334
+ }), $r = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], Is = ce((e) => {
3284
3335
  e.log && console.log(e);
3285
3336
  const {
3286
3337
  from: t,
@@ -3293,13 +3344,13 @@ const Fo = j((e) => {
3293
3344
  } = e, {
3294
3345
  setFitView: c
3295
3346
  } = a, {
3296
- geoPosition: g,
3297
- geoError: d
3347
+ geoPosition: d,
3348
+ geoError: g
3298
3349
  } = Pe({
3299
- geoDefaultPosition: C(t)
3300
- }), u = w(C(e.from));
3301
- return E(() => e.driverStatus, (l, I, m) => {
3302
- if (!nr.includes(l))
3350
+ geoDefaultPosition: x(t)
3351
+ }), u = w(x(e.from));
3352
+ return b(() => e.driverStatus, (l, M, m) => {
3353
+ if (!$r.includes(l))
3303
3354
  return;
3304
3355
  const f = setInterval(() => {
3305
3356
  o().then((v) => u.value = v);
@@ -3310,88 +3361,91 @@ const Fo = j((e) => {
3310
3361
  }), () => {
3311
3362
  const {
3312
3363
  driverStatus: l,
3313
- from: I,
3364
+ from: M,
3314
3365
  to: m,
3315
3366
  dispatchingTitle: f,
3316
3367
  bookDispatchingTitle: v,
3317
3368
  bookDispatchedTitle: y,
3318
3369
  driverArrivedTitle: p
3319
- } = e, N = u.value, L = d.value ? void 0 : g.value;
3320
- return M(De, {
3370
+ } = e, L = u.value, h = g.value ? void 0 : d.value;
3371
+ return I(De, {
3321
3372
  attrs: {
3322
- center: C(I),
3373
+ center: x(M),
3323
3374
  zoom: 13,
3324
3375
  mapRef: i
3325
3376
  }
3326
- }, [l === "dispatching" ? M(Nt, {
3377
+ }, [l === "dispatching" ? I(Pt, {
3327
3378
  attrs: {
3328
- from: I,
3379
+ from: M,
3329
3380
  title: f,
3330
3381
  registerOverlay: a
3331
3382
  },
3332
3383
  on: {
3333
3384
  mapMounted: c
3334
3385
  }
3335
- }) : l === "book-dispatching" ? M(Nt, {
3386
+ }) : l === "book-dispatching" ? I(Pt, {
3336
3387
  attrs: {
3337
- from: I,
3388
+ from: M,
3338
3389
  title: v,
3339
3390
  registerOverlay: a
3340
3391
  },
3341
3392
  on: {
3342
3393
  mapMounted: c
3343
3394
  }
3344
- }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" ? M(_o, {
3395
+ }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" || l === "assign" || l === "confirmed" ? I(Yr, {
3345
3396
  attrs: {
3346
- from: I,
3347
- carPosition: N,
3348
- passengerPosition: L,
3397
+ from: M,
3398
+ carPosition: L,
3399
+ passengerPosition: h,
3349
3400
  renderTitle: r,
3350
3401
  registerOverlay: a
3351
3402
  },
3352
3403
  on: {
3353
3404
  mapMounted: c
3354
3405
  }
3355
- }) : l === "book-dispatched" ? M(Ko, {
3406
+ }) : l === "book-dispatched" ? I(Hr, {
3356
3407
  attrs: {
3357
- from: I,
3358
- passengerPosition: L,
3408
+ from: M,
3409
+ passengerPosition: h,
3359
3410
  title: y,
3360
3411
  registerOverlay: a
3361
3412
  },
3362
3413
  on: {
3363
3414
  mapMounted: c
3364
3415
  }
3365
- }) : l === "inService" ? M(er, {
3416
+ }) : l === "inService" ? I(Jr, {
3366
3417
  attrs: {
3367
3418
  to: m,
3368
- carPosition: N,
3419
+ carPosition: L,
3369
3420
  renderTitle: s,
3370
3421
  registerOverlay: a
3371
3422
  },
3372
3423
  on: {
3373
3424
  mapMounted: c
3374
3425
  }
3375
- }) : l === "driverArrived" ? M(qo, {
3426
+ }) : l === "driverArrived" ? I(Qr, {
3376
3427
  attrs: {
3377
- from: I,
3378
- carPosition: N,
3379
- passengerPosition: L,
3428
+ from: M,
3429
+ carPosition: L,
3430
+ passengerPosition: h,
3380
3431
  title: p,
3381
3432
  registerOverlay: a
3382
3433
  },
3383
3434
  on: {
3384
3435
  mapMounted: c
3385
3436
  }
3386
- }) : l === "canceled" || l === "canceling" ? M(tr, {
3437
+ }) : l === "canceled" || l === "canceling" ? I(Fr, {
3387
3438
  attrs: {
3388
- from: I,
3439
+ from: M,
3389
3440
  to: m,
3390
3441
  registerOverlay: a
3442
+ },
3443
+ on: {
3444
+ mapMounted: c
3391
3445
  }
3392
- }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" || l === "confirmed" ? M(ke, {
3446
+ }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" ? I(Ue, {
3393
3447
  attrs: {
3394
- from: I,
3448
+ from: M,
3395
3449
  to: m,
3396
3450
  registerOverlay: a
3397
3451
  },
@@ -3400,9 +3454,9 @@ const Fo = j((e) => {
3400
3454
  }
3401
3455
  }) : (
3402
3456
  // 匹配不到就显示灰色路线
3403
- M(ke, {
3457
+ I(Ue, {
3404
3458
  attrs: {
3405
- from: I,
3459
+ from: M,
3406
3460
  to: m,
3407
3461
  registerOverlay: a
3408
3462
  },
@@ -3412,35 +3466,35 @@ const Fo = j((e) => {
3412
3466
  })
3413
3467
  )]);
3414
3468
  };
3415
- }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), ar = () => {
3416
- const e = S();
3469
+ }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), Xr = () => {
3470
+ const e = N();
3417
3471
  return { apiMapDistance: (n, a) => {
3418
- if (e.status === q.SUCCESS)
3472
+ if (e.status === se.SUCCESS)
3419
3473
  return AMap.GeometryUtil.distance(n, a);
3420
3474
  } };
3421
- }, ir = () => {
3422
- const e = S();
3475
+ }, _r = () => {
3476
+ const e = N();
3423
3477
  return { apiMapDistance: (n, a) => {
3424
- if (e.status === q.SUCCESS)
3425
- return google.maps.geometry.spherical.computeDistanceBetween(z(n), z(a));
3478
+ if (e.status === se.SUCCESS)
3479
+ return google.maps.geometry.spherical.computeDistanceBetween(R(n), R(a));
3426
3480
  } };
3427
- }, Je = () => {
3428
- const { supplier: e } = S();
3429
- return e === "gmap" ? ir() : ar();
3430
- }, or = (e) => {
3431
- const { city: t } = e, n = w(t), { readyPromise: a } = S(), { apiMapDistance: i } = Je(), { geoPosition: o } = Pe(), r = w(""), s = w([]), { update: c, idx: g } = ne(), d = (l) => {
3481
+ }, _e = () => {
3482
+ const { supplier: e } = N();
3483
+ return e === "gmap" ? _r() : Xr();
3484
+ }, Kr = (e) => {
3485
+ const { city: t } = e, n = w(t), { readyPromise: a } = N(), { apiMapDistance: i } = _e(), { geoPosition: o } = Pe(), r = w(""), s = w([]), { update: c, idx: d } = ne(), g = (l) => {
3432
3486
  n.value = l, c();
3433
3487
  }, u = (l) => {
3434
3488
  r.value = l, c();
3435
3489
  };
3436
- return E(
3437
- () => g.value,
3490
+ return b(
3491
+ () => d.value,
3438
3492
  async () => {
3439
3493
  if (!r.value)
3440
3494
  return;
3441
- await a, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (I, m) => {
3495
+ await a, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (M, m) => {
3442
3496
  const f = o.value;
3443
- switch (I) {
3497
+ switch (M) {
3444
3498
  case "complete": {
3445
3499
  s.value = m.poiList.pois.map(
3446
3500
  (v) => {
@@ -3467,15 +3521,15 @@ const Fo = j((e) => {
3467
3521
  {
3468
3522
  immediate: !0
3469
3523
  }
3470
- ), { setKeyword: u, setCity: d, autoCompletePlaces: s };
3471
- }, rr = (e) => {
3472
- const { city: t } = e, n = w({ ...t }), { readyPromise: a } = S(), { apiMapDistance: i } = Je(), { geoPosition: o } = Pe(), r = w(""), s = w([]), { update: c, idx: g } = ne(), d = (I) => {
3473
- n.value = I, c();
3474
- }, u = (I) => {
3475
- r.value = I, c();
3524
+ ), { setKeyword: u, setCity: g, autoCompletePlaces: s };
3525
+ }, qr = (e) => {
3526
+ const { city: t } = e, n = w({ ...t }), { readyPromise: a } = N(), { apiMapDistance: i } = _e(), { geoPosition: o } = Pe(), r = w(""), s = w([]), { update: c, idx: d } = ne(), g = (M) => {
3527
+ n.value = M, c();
3528
+ }, u = (M) => {
3529
+ r.value = M, c();
3476
3530
  }, l = document.createElement("div");
3477
- return E(
3478
- () => g.value,
3531
+ return b(
3532
+ () => d.value,
3479
3533
  async () => {
3480
3534
  if (!r.value)
3481
3535
  return;
@@ -3488,15 +3542,15 @@ const Fo = j((e) => {
3488
3542
  const v = o.value;
3489
3543
  switch (f) {
3490
3544
  case google.maps.places.PlacesServiceStatus.OK:
3491
- s.value = m.map(({ geometry: y, name: p, formatted_address: N }) => {
3492
- var D, P, b, U;
3493
- const L = (P = (D = y == null ? void 0 : y.location) == null ? void 0 : D.lng()) != null ? P : 0, x = (U = (b = y == null ? void 0 : y.location) == null ? void 0 : b.lat()) != null ? U : 0;
3545
+ s.value = m.map(({ geometry: y, name: p, formatted_address: L }) => {
3546
+ var D, C, O, U;
3547
+ const h = (C = (D = y == null ? void 0 : y.location) == null ? void 0 : D.lng()) != null ? C : 0, T = (U = (O = y == null ? void 0 : y.location) == null ? void 0 : O.lat()) != null ? U : 0;
3494
3548
  return {
3495
- lng: L,
3496
- lat: x,
3549
+ lng: h,
3550
+ lat: T,
3497
3551
  name: p != null ? p : "",
3498
- description: N != null ? N : "",
3499
- distance: v ? i(v, [L, x]) : void 0
3552
+ description: L != null ? L : "",
3553
+ distance: v ? i(v, [h, T]) : void 0
3500
3554
  };
3501
3555
  });
3502
3556
  return;
@@ -3508,23 +3562,23 @@ const Fo = j((e) => {
3508
3562
  }
3509
3563
  );
3510
3564
  }
3511
- ), { setKeyword: u, setCity: d, autoCompletePlaces: s };
3512
- }, sr = (e) => {
3513
- const { supplier: t } = S();
3514
- return t === "gmap" ? rr(e) : or(e);
3515
- }, cr = (e) => {
3565
+ ), { setKeyword: u, setCity: g, autoCompletePlaces: s };
3566
+ }, es = (e) => {
3567
+ const { supplier: t } = N();
3568
+ return t === "gmap" ? qr(e) : Kr(e);
3569
+ }, ts = (e) => {
3516
3570
  var i;
3517
- const { cityNameRef: t, onChange: n } = e, a = T({ name: (i = t.value) != null ? i : "" });
3518
- return E(
3571
+ const { cityNameRef: t, onChange: n } = e, a = P({ name: (i = t.value) != null ? i : "" });
3572
+ return b(
3519
3573
  () => t.value,
3520
3574
  (o) => {
3521
3575
  const r = o != null ? o : "";
3522
3576
  a.name = r, n == null || n({ name: r });
3523
3577
  }
3524
3578
  ), a;
3525
- }, ur = (e) => {
3579
+ }, ns = (e) => {
3526
3580
  var o;
3527
- const { cityNameRef: t, onChange: n } = e, { readyPromise: a } = S(), i = T({
3581
+ const { cityNameRef: t, onChange: n } = e, { readyPromise: a } = N(), i = P({
3528
3582
  name: (o = t.value) != null ? o : "",
3529
3583
  bound: {
3530
3584
  east: 0,
@@ -3533,7 +3587,7 @@ const Fo = j((e) => {
3533
3587
  west: 0
3534
3588
  }
3535
3589
  });
3536
- return Re(async () => {
3590
+ return ze(async () => {
3537
3591
  var u, l;
3538
3592
  const r = t.value;
3539
3593
  if (!r)
@@ -3548,61 +3602,56 @@ const Fo = j((e) => {
3548
3602
  });
3549
3603
  if (c.length !== 1)
3550
3604
  throw new Error("MyError: multiple city found");
3551
- const { geometry: g } = c[0], d = (l = (u = g.bounds) == null ? void 0 : u.toJSON()) != null ? l : g.viewport.toJSON();
3552
- i.name = r, i.bound = d, n == null || n({ name: r, bound: d });
3605
+ const { geometry: d } = c[0], g = (l = (u = d.bounds) == null ? void 0 : u.toJSON()) != null ? l : d.viewport.toJSON();
3606
+ i.name = r, i.bound = g, n == null || n({ name: r, bound: g });
3553
3607
  }), i;
3554
- }, lr = (e) => {
3555
- const { supplier: t } = S();
3556
- return t === "gmap" ? ur(e) : cr(e);
3557
- }, Ar = (e) => {
3558
- const { cityNameRef: t } = e, n = lr({
3608
+ }, as = (e) => {
3609
+ const { supplier: t } = N();
3610
+ return t === "gmap" ? ns(e) : ts(e);
3611
+ }, ms = (e) => {
3612
+ const { cityNameRef: t } = e, n = as({
3559
3613
  cityNameRef: t,
3560
3614
  onChange: (s) => o(s)
3561
- }), { autoCompletePlaces: a, setKeyword: i, setCity: o } = sr({ city: n });
3615
+ }), { autoCompletePlaces: a, setKeyword: i, setCity: o } = es({ city: n });
3562
3616
  return { autoCompletePlaces: a, setKeyword: i, setCity: o, handleKeywordInput: (s) => {
3563
3617
  const c = s.target;
3564
3618
  i(c.value);
3565
3619
  } };
3566
- }, Nr = () => {
3567
- const { setMap: e, mapRef: t } = be(), { registerFitVeiw: n, setFitView: a } = Ce({
3620
+ }, fs = () => {
3621
+ const { setMap: e, mapRef: t } = be(), { registerFitVeiw: n, setFitView: a } = xe({
3568
3622
  mapRef: t,
3569
3623
  padding: [25, 20, 15, 15]
3570
3624
  });
3571
3625
  return { setMap: e, registerFitVeiw: n, setFitView: a };
3572
- }, Sr = () => {
3573
- const e = T({
3626
+ }, ps = () => {
3627
+ const e = P({
3574
3628
  lng: 0,
3575
3629
  lat: 0,
3576
3630
  name: ""
3577
- }), t = w([]), n = w(!0), { apiMapDistance: a } = Je(), i = (c) => s.panToGeoPositionByRecomend(c), o = (c) => s.setCenterPlaceByUserSpecified(c), s = {
3631
+ }), t = w([]), { apiMapDistance: n } = _e(), a = (r) => o.panToGeoPositionByRecomend(r), i = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3578
3632
  panToGeoPositionByRecomend: () => {
3579
3633
  throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
3580
3634
  },
3581
3635
  setCenterPlaceByUserSpecified: () => {
3582
3636
  throw new Error("MyError: setCenterPlaceByRecomand used before assigned");
3583
3637
  },
3584
- onChangeCenterPlace: (c) => {
3585
- Object.assign(e, { ...c });
3586
- },
3587
- onChangeRecomendPlaces: (c) => {
3588
- t.value = [...c];
3638
+ onChangeCenterPlace: (r) => {
3639
+ Object.assign(e, { ...r });
3589
3640
  },
3590
- setIsSearchRecommendPlace: (c) => {
3591
- n.value = c;
3592
- },
3593
- isSearchRecommendPlace: n
3641
+ onChangeRecomendPlaces: (r) => {
3642
+ t.value = [...r];
3643
+ }
3594
3644
  };
3595
3645
  return {
3596
- mapContext: s,
3646
+ mapContext: o,
3597
3647
  centerPlace: e,
3598
3648
  placeCandidates: t,
3599
- isSearchRecommendPlace: n,
3600
- panToGeoPositionByRecomend: i,
3601
- setCenterPlaceByUserSpecified: o,
3602
- apiMapDistance: a
3649
+ panToGeoPositionByRecomend: a,
3650
+ setCenterPlaceByUserSpecified: i,
3651
+ apiMapDistance: n
3603
3652
  };
3604
- }, hr = () => {
3605
- const { mapRef: e, setMap: t } = be(), { registerFitVeiw: n, setFitView: a } = Ce({
3653
+ }, vs = () => {
3654
+ const { mapRef: e, setMap: t } = be(), { registerFitVeiw: n, setFitView: a } = xe({
3606
3655
  mapRef: e,
3607
3656
  autoFitTimeout: 5e3,
3608
3657
  padding: [25, 20, 15, 15]
@@ -3610,36 +3659,36 @@ const Fo = j((e) => {
3610
3659
  return { setMap: t, registerFitVeiw: n, setFitView: a };
3611
3660
  };
3612
3661
  export {
3613
- ji as AbsoluteAddressBox,
3614
- gr as AddressBox,
3615
- fr as BusinessQuotingMap,
3616
- vr as BusinessRecomendPlaceMap,
3617
- jr as BusinessTaxiEndMap,
3618
- Lr as BusinessTaxiServiceMap,
3662
+ uo as AbsoluteAddressBox,
3663
+ os as AddressBox,
3664
+ us as BusinessQuotingMap,
3665
+ ds as BusinessRecomendPlaceMap,
3666
+ Ms as BusinessTaxiEndMap,
3667
+ Is as BusinessTaxiServiceMap,
3619
3668
  we as DrivingLine,
3620
- xe as DrivingRoute,
3669
+ Ce as DrivingRoute,
3621
3670
  De as HeycarMap,
3622
- Ir as MapProvider,
3623
- Ee as PassengerCircle,
3624
- Ro as PickupPoints,
3671
+ rs as MapProvider,
3672
+ Te as PassengerCircle,
3673
+ wr as PickupPoints,
3625
3674
  W as PlaceCircle,
3626
- G as StartEndPoint,
3627
- Qe as TaxiCar,
3628
- Tn as WalkingLine,
3629
- Zn as WalkingRoute,
3630
- $o as WaveCircle,
3631
- Ar as useBusinessMapAutoComplete,
3632
- Nr as useBusinessQuotingMap,
3633
- Sr as useBusinessRecomendPlaceMap,
3634
- hr as useBusinessTaxiServiceMap,
3635
- Mr as useDrivingRoute,
3675
+ k as StartEndPoint,
3676
+ Xe as TaxiCar,
3677
+ Jn as WalkingLine,
3678
+ Xn as WalkingRoute,
3679
+ Vr as WaveCircle,
3680
+ ms as useBusinessMapAutoComplete,
3681
+ fs as useBusinessQuotingMap,
3682
+ ps as useBusinessRecomendPlaceMap,
3683
+ vs as useBusinessTaxiServiceMap,
3684
+ ss as useDrivingRoute,
3636
3685
  Pe as useGeoLocation,
3637
3686
  be as useHeycarMap,
3638
- mr as useMapAngle,
3639
- jo as useMapDrag,
3640
- Ce as useMapFitView,
3641
- Je as useMapGeometry,
3642
- pr as useMapPlace,
3643
- ho as useMapRecomendPlace,
3644
- yr as useWalkingRoute
3687
+ cs as useMapAngle,
3688
+ ur as useMapDrag,
3689
+ xe as useMapFitView,
3690
+ _e as useMapGeometry,
3691
+ ls as useMapPlace,
3692
+ Ir as useMapRecomendPlace,
3693
+ gs as useWalkingRoute
3645
3694
  };