@heycar/heycars-map 0.3.17 → 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 b, watchPostEffect as H, shallowRef as z, onMounted as Ne, onUnmounted as Se, reactive as E, 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;
98
+ }
99
+ function Ot(e, t, n) {
100
+ return t === t ? Pa(e, t, n) : Ca(e, xa, n);
101
+ }
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);
83
119
  }
84
- function Pt(e) {
85
- return e == null ? "" : Ct(e);
120
+ function Ba(e) {
121
+ return e.split("");
86
122
  }
87
- function fa(e, t, n, a) {
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 C = a, Z = i;
339
- return a = i = void 0, g = D, r = e.apply(Z, C), 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 C = D - c, Z = D - g, U = t - C;
346
- return u ? ui(U, o - Z) : 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 C = D - c, Z = D - g;
350
- return c === void 0 || C >= t || C < 0 || u && Z >= 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);
402
+ return s = void 0, l && a ? M(D) : (a = i = void 0, r);
360
403
  }
361
404
  function L() {
362
- s !== void 0 && clearTimeout(s), g = 0, a = c = i = s = void 0;
405
+ s !== void 0 && clearTimeout(s), d = 0, a = c = i = s = void 0;
363
406
  }
364
- function N() {
365
- return s === void 0 ? r : p(ze());
407
+ function h() {
408
+ return s === void 0 ? r : p(Re());
366
409
  }
367
- function P() {
368
- var D = ze(), C = v(D);
410
+ function T() {
411
+ var D = Re(), C = v(D);
369
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 P.cancel = L, P.flush = N, P;
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,48 +497,48 @@ 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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qS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bHRlcj4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSIxLjAiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+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();
541
+ const t = cn();
481
542
  b(
482
543
  () => t.value,
483
544
  (n) => {
@@ -487,7 +548,7 @@ 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
553
  b(
493
554
  () => n.value,
@@ -495,21 +556,21 @@ const yi = j((e) => {
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,17 +707,17 @@ de();
646
707
  de(function() {
647
708
  return me;
648
709
  });
649
- de($t());
650
- de($t(me));
651
- const T = ([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";
@@ -665,7 +726,7 @@ const T = ([e, t]) => ({
665
726
  }
666
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,15 +735,15 @@ const T = ([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();
746
+ const a = Fe();
686
747
  return b(() => a(e()), t, {
687
748
  immediate: !1,
688
749
  flush: "post",
@@ -690,24 +751,24 @@ function ge(e, t, n) {
690
751
  });
691
752
  }
692
753
  function ee(e, t, n) {
693
- const a = Ye();
754
+ const a = Fe();
694
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();
761
+ function wo(e, t, n) {
762
+ const a = Fe();
702
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
  );
@@ -716,9 +777,9 @@ function ki(e, t, n, a) {
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(() => {
@@ -770,14 +831,14 @@ const V = j((e, { emit: t }) => {
770
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
858
  const { registerOverlay: n } = e, a = z(), i = le(), o = (r) => t(r, { target: a.value });
798
- return Xt({ registerOverlay: n, overlayRef: a }), Ne(() => {
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;
@@ -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
- ), R = (e, t, n) => {
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(() => R("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: T(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
- return R("div", {
891
- class: rn
951
+ return Z("div", {
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: T(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
1013
  for (var p = 0, L = m.length; p < L; p++) {
953
- var N = m[p].split("/").slice(-1)[0];
954
- window.AMapUI[N] = arguments[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() {
1025
+ s.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
965
1026
  for (var p = 0, L = m.length; p < L; p++) {
966
- var N = m[p].split("/").slice(-1)[0];
967
- window.AMapUI[N] = arguments[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 L = 0, N = m.length; L < N; L++) {
973
- var P = m[L].split("/").slice(-1)[0];
974
- window.AMapUI[P] = arguments[L];
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,15 +1302,15 @@ 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) => {
@@ -1257,22 +1318,22 @@ const Qi = (e) => {
1257
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,7 +1345,7 @@ 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) => {
@@ -1292,49 +1353,49 @@ const Qi = (e) => {
1292
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 = z(), u = z();
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 = z(), s = z(), { 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 ? T(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
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) => {
1593
+ }), Ie = j((e) => {
1540
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(T));
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 = E({ 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 = E({ 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(T(n), T(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(E({
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, E({
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(E({
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, E({
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+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZBOTVBIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiAzMC4yMTVjMi4xMzQgMCAzLjg2My0uODkzIDMuODYzLTEuOTk1IDAtMS4xLTEuNzMtMS45OTQtMy44NjMtMS45OTQtMi4xMzQgMC0zLjg2My44OTMtMy44NjMgMS45OTQgMCAxLjEwMiAxLjczIDEuOTk1IDMuODYzIDEuOTk1eiIgZmlsbC1vcGFjaXR5PSIuNSIgZmlsbD0iIzQzNDg1QSIvPjxwYXRoIGQ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0ZSgxIDEuMjE1KSI+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("") : "";
1981
- return !e.description && !e.title ? R("img", {
1982
- class: $({
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("") : "";
2035
+ return !e.description && !e.title ? Z("img", {
2036
+ class: _({
1983
2037
  type: e.type
1984
2038
  }),
1985
2039
  src: n
1986
- }) : e.description ? R("div", {
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
- `) : R("div", {
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: T(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,
@@ -2027,13 +2081,13 @@ const Io = j((e) => {
2027
2081
  to: o,
2028
2082
  fromDescription: r
2029
2083
  } = e, s = x(i), c = x(o);
2030
- return M(De, {
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,85 +2095,77 @@ 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();
2141
+ }), u = w([g.value.longitude, g.value.latitude]);
2088
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
- (L) => {
2094
- const N = L.coords, P = [L.coords.longitude, L.coords.latitude];
2095
- d.value = N, u.value = P, s.value && (s.value = !1, c.value = !0, n == null || n({ position: P, coordinate: N })), t == null || t({ position: P, coordinate: N });
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
- (L) => {
2098
- s.value = !1, g.value = L;
2099
- const N = e == null ? void 0 : e.geoDefaultPosition;
2100
- N && !r && (r = !0, a == null || a({ position: N }));
2151
+ (p) => {
2152
+ s.value = !1, d.value = p;
2153
+ const L = e == null ? void 0 : e.geoDefaultPosition;
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
- ), b(
2108
- () => l.status !== q.LOADING && g.value,
2109
- (f) => {
2110
- setTimeout(() => {
2111
- f && g.value && (i == null || i(g.value));
2112
- }, 100);
2113
- },
2114
- { immediate: !0, deep: !0 }
2115
2161
  ), {
2116
- geoError: g,
2162
+ geoError: d,
2117
2163
  geoPosition: u,
2118
- geoCoordinate: d,
2164
+ geoCoordinate: g,
2119
2165
  geoLoading: s,
2120
2166
  geoReady: c
2121
2167
  };
2122
- }, fo = () => {
2168
+ }, or = () => {
2123
2169
  const e = z();
2124
2170
  return { mapRef: e, panTo: (a) => {
2125
2171
  var i;
@@ -2127,18 +2173,18 @@ const Io = j((e) => {
2127
2173
  }, setMap: (a) => {
2128
2174
  e.value = a;
2129
2175
  } };
2130
- }, po = () => {
2176
+ }, rr = () => {
2131
2177
  const e = z();
2132
2178
  return { mapRef: e, panTo: (a) => {
2133
2179
  var i;
2134
- return (i = e == null ? void 0 : e.value) == null ? void 0 : i.panTo(T(a));
2180
+ return (i = e == null ? void 0 : e.value) == null ? void 0 : i.panTo(R(a));
2135
2181
  }, setMap: (a) => {
2136
2182
  e.value = a;
2137
2183
  } };
2138
2184
  }, be = () => {
2139
- const { supplier: e } = S();
2140
- return e === "gmap" ? po() : fo();
2141
- }, vo = (e) => {
2185
+ const { supplier: e } = N();
2186
+ return e === "gmap" ? rr() : or();
2187
+ }, sr = (e) => {
2142
2188
  const { mapRef: t, onChange: n } = e, a = w([0, 0]), i = w(!1), o = () => {
2143
2189
  fe(() => {
2144
2190
  i.value = !0;
@@ -2146,56 +2192,56 @@ const Io = j((e) => {
2146
2192
  }, r = (s, { target: c }) => {
2147
2193
  var u;
2148
2194
  i.value = !1;
2149
- const { lng: g, lat: d } = c.getCenter();
2150
- 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]);
2151
2197
  };
2152
- return se(t, {}, o, [
2198
+ return q(t, {}, o, [
2153
2199
  "onDragStart"
2154
- ]), se(t, {}, r, [
2200
+ ]), q(t, {}, r, [
2155
2201
  "onDragEnd"
2156
2202
  ]), { centerRef: a, isDragging: i };
2157
- }, yo = (e) => {
2203
+ }, cr = (e) => {
2158
2204
  const { mapRef: t, onChange: n } = e, a = w([0, 0]), i = w(!1), o = () => {
2159
2205
  fe(() => {
2160
2206
  i.value = !0;
2161
2207
  })();
2162
2208
  }, r = async () => {
2163
- var d, u;
2209
+ var g, u;
2164
2210
  i.value = !1;
2165
- const s = (d = t.value) == null ? void 0 : d.getCenter(), c = s == null ? void 0 : s.lng(), g = s == null ? void 0 : s.lat();
2166
- 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]);
2167
2213
  };
2168
- return K(t, {}, o, [
2214
+ return F(t, {}, o, [
2169
2215
  "onDragStart"
2170
- ]), K(t, {}, r, [
2216
+ ]), F(t, {}, r, [
2171
2217
  "onDragEnd"
2172
2218
  ]), { centerRef: a, isDragging: i };
2173
- }, jo = (e) => {
2174
- const { supplier: t } = S();
2175
- return t === "gmap" ? yo(e) : vo(e);
2219
+ }, ur = (e) => {
2220
+ const { supplier: t } = N();
2221
+ return t === "gmap" ? cr(e) : sr(e);
2176
2222
  }, ne = () => {
2177
2223
  const e = w(0);
2178
2224
  return { idx: e, update: () => {
2179
2225
  e.value += 1;
2180
2226
  } };
2181
- }, Sn = (e) => {
2182
- const { onChange: t, onChangeCity: n } = e, a = [...e.pointRef.value], i = w(a), { readyPromise: o } = S(), r = E({
2227
+ }, On = (e) => {
2228
+ const { onChange: t, onChangeCity: n } = e, a = [...e.pointRef.value], i = w(a), { readyPromise: o } = N(), r = P({
2183
2229
  lng: i.value[0],
2184
2230
  lat: i.value[1],
2185
2231
  name: ""
2186
- }), { idx: s, update: c } = ne(), g = (l) => {
2232
+ }), { idx: s, update: c } = ne(), d = (l) => {
2187
2233
  try {
2188
- const I = new AMap.Geocoder({ lang: re }), { lng: m, lat: f } = l;
2189
- 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) => {
2190
2236
  if (v !== "complete")
2191
2237
  return;
2192
- const { addressComponent: p } = y.regeocode, L = p.city ? p.city : p.province, N = p.province;
2193
- n == null || n({ cityName: L, cityParentName: N, 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: "" });
2194
2240
  });
2195
- } catch (I) {
2196
- console.log(I);
2241
+ } catch (M) {
2242
+ console.log(M);
2197
2243
  }
2198
- }, d = (l) => {
2244
+ }, g = (l) => {
2199
2245
  i.value = l, c();
2200
2246
  }, u = (l) => {
2201
2247
  r.lng = l.lng, r.lat = l.lat, r.name = l.name;
@@ -2204,87 +2250,87 @@ const Io = j((e) => {
2204
2250
  () => [s.value],
2205
2251
  async () => {
2206
2252
  await o;
2207
- const l = new AMap.Geocoder({ lang: re }), [I, m] = i.value;
2208
- 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) => {
2209
2255
  switch (f) {
2210
2256
  case "complete": {
2211
- const { formattedAddress: y, addressComponent: p } = v.regeocode, L = p.city ? p.city : p.province, N = p.province;
2212
- r.name = y, r.lng = I, r.lat = m, t == null || t({ lng: I, lat: m, name: y }), n == null || n({ cityName: L, cityParentName: N, 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: "" });
2213
2259
  return;
2214
2260
  }
2215
2261
  case "no_data":
2216
- r.name = "", t == null || t({ lng: I, lat: m, name: "" });
2262
+ r.name = "", t == null || t({ lng: M, lat: m, name: "" });
2217
2263
  return;
2218
2264
  case "error":
2219
2265
  throw v;
2220
2266
  }
2221
2267
  });
2222
2268
  }
2223
- ), { place: r, updatePlace: d, setPlace: u, updateCity: g };
2224
- }, hn = (e) => {
2225
- const { onChange: t, onChangeCity: n } = e, a = [...e.pointRef.value], i = w(a), { readyPromise: o } = S(), { idx: r, update: s } = ne(), c = E({
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({
2226
2272
  lng: i.value[0],
2227
2273
  lat: i.value[1],
2228
2274
  name: ""
2229
- }), g = (l) => {
2275
+ }), d = (l) => {
2230
2276
  i.value = l, s();
2231
- }, d = (l) => {
2277
+ }, g = (l) => {
2232
2278
  c.lng = l.lng, c.lat = l.lat, c.name = l.name;
2233
2279
  }, u = async (l) => {
2234
- 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, L = v.slice(-1)[0].address_components[0].long_name;
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;
2235
2281
  n == null || n({ cityName: y, cityParentName: p, countryName: L });
2236
2282
  };
2237
2283
  return b(
2238
2284
  () => r.value,
2239
2285
  async () => {
2240
2286
  await o;
2241
- 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, L = f.slice(-1)[0].address_components[0].long_name;
2242
- 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: L });
2243
- }
2244
- ), { place: c, updatePlace: g, setPlace: d, updateCity: u };
2245
- }, pr = (e) => {
2246
- const { supplier: t } = S();
2247
- return t === "gmap" ? hn(e) : Sn(e);
2248
- }, 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) => {
2249
2295
  let n = 1 / 0, a = e;
2250
2296
  for (const i of t) {
2251
2297
  const o = AMap.GeometryUtil.distance(x(e), x(i));
2252
2298
  o >= n || (a = i, n = o);
2253
2299
  }
2254
2300
  return { shortestPlace: a, shortestDistance: n };
2255
- }, Ao = (e, t) => {
2301
+ }, dr = (e, t) => {
2256
2302
  let n = 1 / 0, a = e;
2257
2303
  for (const i of t) {
2258
2304
  const o = google.maps.geometry.spherical.computeDistanceBetween(e, i);
2259
2305
  o >= n || (a = i, n = o);
2260
2306
  }
2261
2307
  return { shortestPlace: a, shortestDistance: n };
2262
- }, No = (e) => {
2263
- const { pointRef: t, getRecomendPlace: n, getLimit: a, context: i, onChange: o, onChangePlace: r, onChangeCity: s } = e, c = w(!0), g = w([]), { idx: d, update: u } = ne(), { readyPromise: l } = S(), { place: I, updatePlace: m, setPlace: f, updateCity: v } = 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({
2264
2310
  pointRef: t,
2265
2311
  onChange: r,
2266
2312
  onChangeCity: s
2267
- }), y = E({ ...I }), p = h(() => {
2313
+ }), y = P({ ...M }), p = S(() => {
2268
2314
  const L = t.value;
2269
- return g.value.some(
2270
- (N) => qt(x(N), L)
2315
+ return d.value.some(
2316
+ (h) => Mn(x(h), L)
2271
2317
  );
2272
2318
  });
2273
2319
  return b(
2274
- () => d.value,
2320
+ () => g.value,
2275
2321
  async () => {
2276
2322
  await l;
2277
- const L = await n({ ...I }, i);
2323
+ const L = await n({ ...M }, i);
2278
2324
  if (L === void 0) {
2279
- c.value = !1, g.value = [], Object.assign(y, { ...I }), o == null || o({ ...I });
2325
+ c.value = !1, d.value = [], Object.assign(y, { ...M }), o == null || o({ ...M });
2280
2326
  return;
2281
2327
  }
2282
- const { shortestPlace: N, shortestDistance: P } = Lo(I, L), D = a(i), C = P > D ? I : N;
2283
- c.value = !0, g.value = L, Object.assign(y, { ...C }), o == null || o({ ...C });
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 });
2284
2330
  }
2285
2331
  ), {
2286
2332
  recomendPlace: y,
2287
- placeCandidates: g,
2333
+ placeCandidates: d,
2288
2334
  availableRef: c,
2289
2335
  isElectedRef: p,
2290
2336
  updateRecomandPlace: u,
@@ -2292,32 +2338,32 @@ const Io = j((e) => {
2292
2338
  setPlace: f,
2293
2339
  updateCity: v
2294
2340
  };
2295
- }, So = (e) => {
2296
- const { pointRef: t, getRecomendPlace: n, getLimit: a, context: i, onChange: o, onChangePlace: r, onChangeCity: s } = e, c = w(!0), g = w([]), { idx: d, update: u } = ne(), { readyPromise: l } = S(), { place: I, updatePlace: m, setPlace: f, updateCity: v } = 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({
2297
2343
  pointRef: t,
2298
2344
  onChange: r,
2299
2345
  onChangeCity: s
2300
- }), y = E({ ...I }), p = h(() => {
2346
+ }), y = P({ ...M }), p = S(() => {
2301
2347
  const L = t.value;
2302
- return g.value.some(
2303
- (N) => qt(x(N), L)
2348
+ return d.value.some(
2349
+ (h) => Mn(x(h), L)
2304
2350
  );
2305
2351
  });
2306
2352
  return b(
2307
- () => d.value,
2353
+ () => g.value,
2308
2354
  async () => {
2309
2355
  await l;
2310
- const L = await n({ ...I }, i);
2356
+ const L = await n({ ...M }, i);
2311
2357
  if (L === void 0) {
2312
- c.value = !1, g.value = [], Object.assign(y, { ...I }), o == null || o({ ...I });
2358
+ c.value = !1, d.value = [], Object.assign(y, { ...M }), o == null || o({ ...M });
2313
2359
  return;
2314
2360
  }
2315
- const { shortestPlace: N, shortestDistance: P } = Ao(I, L), D = a(i), C = P > D ? I : N;
2316
- c.value = !0, g.value = L, Object.assign(y, { ...C }), o == null || o({ ...C });
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 });
2317
2363
  }
2318
2364
  ), {
2319
2365
  recomendPlace: y,
2320
- placeCandidates: g,
2366
+ placeCandidates: d,
2321
2367
  availableRef: c,
2322
2368
  isElectedRef: p,
2323
2369
  updateRecomandPlace: u,
@@ -2325,10 +2371,31 @@ const Io = j((e) => {
2325
2371
  setPlace: f,
2326
2372
  updateCity: v
2327
2373
  };
2328
- }, ho = (e) => {
2329
- const { supplier: t } = S();
2330
- return t === "gmap" ? So(e) : No(e);
2331
- }, 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) => {
2332
2399
  const { interval: t } = e;
2333
2400
  let n;
2334
2401
  const a = {
@@ -2341,20 +2408,20 @@ const Io = j((e) => {
2341
2408
  a.resolve = r, n = setTimeout(r, t);
2342
2409
  });
2343
2410
  }, timerStop: a };
2344
- }, Dn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4yNzc0NTMwMTYgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzMCIgY3k9IjMwIiByPSIxMC41Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC40MDUgLjI2NCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2Utb3BhY2l0eT0iLjEiIHN0cm9rZT0iIzAwM0RGRiIgZmlsbC1vcGFjaXR5PSIuMTUiIGZpbGw9IiM0ODczRkUiIGN4PSIzMCIgY3k9IjMwIiByPSIyOS41Ii8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2345
- var wn = te({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2346
- const wo = j((e) => {
2347
- 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(() => {
2348
2415
  const {
2349
2416
  size: n = "large"
2350
2417
  } = e;
2351
2418
  return `
2352
- <img src="${n === "large" ? Dn : B}" class="${wn({
2419
+ <img src="${n === "large" ? Wn : B}" class="${Un({
2353
2420
  size: n
2354
2421
  })}">
2355
2422
  `;
2356
2423
  });
2357
- return () => M(V, {
2424
+ return () => I(V, {
2358
2425
  attrs: {
2359
2426
  position: e.position,
2360
2427
  content: t.value,
@@ -2362,154 +2429,154 @@ const wo = j((e) => {
2362
2429
  registerOverlay: e.registerOverlay
2363
2430
  }
2364
2431
  });
2365
- }), xo = j((e) => {
2366
- const t = h(() => {
2432
+ }), jr = j((e) => {
2433
+ const t = S(() => {
2367
2434
  const {
2368
2435
  size: n = "large"
2369
- } = e, a = n === "large" ? Dn : B;
2370
- return R("img", {
2371
- class: wn({
2436
+ } = e, a = n === "large" ? Wn : B;
2437
+ return Z("img", {
2438
+ class: Un({
2372
2439
  size: n
2373
2440
  }),
2374
2441
  src: a
2375
2442
  });
2376
2443
  });
2377
- return () => M(Y, {
2444
+ return () => I(Y, {
2378
2445
  attrs: {
2379
- position: T(e.position),
2446
+ position: R(e.position),
2380
2447
  content: t.value,
2381
2448
  registerOverlay: e.registerOverlay
2382
2449
  }
2383
2450
  });
2384
- }), Ee = j((e) => {
2385
- const t = S();
2386
- return () => k(t.supplier === "gmap" ? xo : wo, {
2451
+ }), Te = j((e) => {
2452
+ const t = N();
2453
+ return () => G(t.supplier === "gmap" ? jr : yr, {
2387
2454
  attrs: e
2388
2455
  });
2389
- }), Co = () => {
2456
+ }), Lr = () => {
2390
2457
  const e = ue();
2391
2458
  return { apiMapLngLatToVw: (n) => {
2392
2459
  var a;
2393
2460
  return (a = e == null ? void 0 : e.value) == null ? void 0 : a.lngLatToContainer(n).toArray();
2394
2461
  } };
2395
- }, Po = () => {
2462
+ }, Ar = () => {
2396
2463
  const e = le();
2397
2464
  return { apiMapLngLatToVw: (n) => {
2398
- var u, l, I, m, f;
2399
- 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);
2400
- 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];
2401
2468
  } };
2402
- }, bo = () => {
2403
- const { supplier: e } = S();
2404
- return e === "gmap" ? Po() : Co();
2405
- }, yt = (e) => e === "left" ? "right" : "left", Eo = (e) => {
2406
- const { widthLimit: t, heightLimit: n } = e, { apiMapLngLatToVw: a } = bo(), i = (r, s) => {
2407
- const c = 100 / window.innerWidth, [g, d] = a(r), [u, l] = a(s);
2408
- 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];
2409
2476
  }, o = w(Array(e.places.length).fill("right"));
2410
- return Oi(
2477
+ return wo(
2411
2478
  () => e.places.map(x),
2412
2479
  (r) => {
2413
- const s = r.map((l, I) => ({ point: l, index: I })).sort(
2414
- ({ point: [, l] }, { point: [, I] }) => l < I ? 1 : l > I ? -1 : 0
2415
- ), c = r.length, g = Array(c);
2416
- 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;
2417
2484
  for (let l = 0; l < c; l++) {
2418
- const { index: I } = s[l];
2485
+ const { index: M } = s[l];
2419
2486
  if (l === c - 1) {
2420
- g[I] = u ? yt(d) : "right";
2487
+ d[M] = u ? Dt(g) : "right";
2421
2488
  continue;
2422
2489
  }
2423
2490
  if (l === 0) {
2424
2491
  const [y, p] = i(s[l].point, s[l + 1].point);
2425
2492
  u = y > -t && y < t && p > -n && p < n;
2426
2493
  const L = u && y > 0 ? "left" : "right";
2427
- g[I] = L, d = L;
2494
+ d[M] = L, g = L;
2428
2495
  continue;
2429
2496
  }
2430
- const [m, f] = i(s[l].point, s[l + 1].point), v = u ? yt(d) : "right";
2431
- 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;
2432
2499
  }
2433
- o.value = g;
2500
+ o.value = d;
2434
2501
  }
2435
2502
  ), o;
2436
2503
  };
2437
- 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 || {});
2438
- 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: [] });
2439
- 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, {
2440
2507
  emit: t
2441
2508
  }) => {
2442
- const n = h(() => {
2509
+ const n = S(() => {
2443
2510
  var r;
2444
2511
  return (r = e.textAlign) != null ? r : "right";
2445
- }), a = h(() => {
2512
+ }), a = S(() => {
2446
2513
  const {
2447
2514
  hideIcon: r = !1
2448
2515
  } = e;
2449
2516
  return `
2450
- <div class="${Cn({
2517
+ <div class="${Vn({
2451
2518
  textAlign: n.value
2452
2519
  })}">
2453
2520
  <img class="${ve({
2454
2521
  hideIcon: r
2455
- })} ${jt({
2522
+ })} ${wt({
2456
2523
  textAlign: n.value
2457
2524
  })}" src="${B}">
2458
- <div class="${xn}">${e.label}</div>
2525
+ <div class="${Bn}">${e.label}</div>
2459
2526
  </div>
2460
2527
  `;
2461
- }), i = h(() => {
2528
+ }), i = S(() => {
2462
2529
  const {
2463
2530
  hideIcon: r = !1
2464
2531
  } = e;
2465
2532
  return `<img class="${ve({
2466
2533
  hideIcon: r
2467
- })} ${jt({
2534
+ })} ${wt({
2468
2535
  textAlign: n.value
2469
2536
  })}" src="${B}">`;
2470
2537
  }), o = () => {
2471
2538
  t("click", e.position);
2472
2539
  };
2473
- return () => M(V, {
2540
+ return () => I(V, {
2474
2541
  attrs: {
2475
2542
  position: e.position,
2476
2543
  content: e.label ? a.value : i.value,
2477
- anchor: n.value === "left" ? Ge.middleRight : Ge.middleLeft
2544
+ anchor: n.value === "left" ? We.middleRight : We.middleLeft
2478
2545
  },
2479
2546
  on: {
2480
2547
  click: o
2481
2548
  }
2482
2549
  });
2483
- }), zo = j((e, {
2550
+ }), Dr = j((e, {
2484
2551
  emit: t
2485
2552
  }) => {
2486
- const n = h(() => {
2553
+ const n = S(() => {
2487
2554
  var r;
2488
2555
  return (r = e.textAlign) != null ? r : "right";
2489
- }), a = h(() => {
2556
+ }), a = S(() => {
2490
2557
  const {
2491
2558
  hideIcon: r = !1
2492
2559
  } = e;
2493
- return R("div", {
2494
- class: `${Cn({
2560
+ return Z("div", {
2561
+ class: `${Vn({
2495
2562
  textAlign: n.value
2496
- })} ${Lt({
2563
+ })} ${Ct({
2497
2564
  textAlign: n.value
2498
2565
  })}`
2499
2566
  }, `
2500
2567
  <img class="${ve({
2501
2568
  hideIcon: r
2502
2569
  })}" src="${B}">
2503
- <div class="${xn}">${e.label}</div>
2570
+ <div class="${Bn}">${e.label}</div>
2504
2571
  `);
2505
- }), i = h(() => {
2572
+ }), i = S(() => {
2506
2573
  const {
2507
2574
  hideIcon: r = !1
2508
2575
  } = e;
2509
- return R("img", {
2576
+ return Z("img", {
2510
2577
  class: `${ve({
2511
2578
  hideIcon: r
2512
- })} ${Lt({
2579
+ })} ${Ct({
2513
2580
  textAlign: n.value
2514
2581
  })}`,
2515
2582
  src: B
@@ -2517,9 +2584,9 @@ const To = j((e, {
2517
2584
  }), o = () => {
2518
2585
  t("click", e.position);
2519
2586
  };
2520
- return () => M(Y, {
2587
+ return () => I(Y, {
2521
2588
  attrs: {
2522
- position: T(e.position),
2589
+ position: R(e.position),
2523
2590
  content: e.label ? a.value : i.value
2524
2591
  },
2525
2592
  on: {
@@ -2529,26 +2596,26 @@ const To = j((e, {
2529
2596
  }), W = j((e, {
2530
2597
  emit: t
2531
2598
  }) => {
2532
- const n = S();
2533
- return () => k(n.supplier === "gmap" ? zo : To, {
2599
+ const n = N();
2600
+ return () => G(n.supplier === "gmap" ? Dr : Sr, {
2534
2601
  attrs: e,
2535
2602
  on: {
2536
2603
  click: (a) => t("click", a)
2537
2604
  }
2538
2605
  });
2539
- }), Ro = j((e, {
2606
+ }), wr = j((e, {
2540
2607
  emit: t
2541
2608
  }) => {
2542
2609
  const {
2543
2610
  renderLabel: n
2544
- } = e, a = Eo(E({
2545
- places: Wn(e, "places"),
2611
+ } = e, a = hr(P({
2612
+ places: qn(e, "places"),
2546
2613
  heightLimit: 9,
2547
2614
  widthLimit: 32
2548
2615
  }));
2549
- return () => M("div", [e.places.map((i, o) => {
2616
+ return () => I("div", [e.places.map((i, o) => {
2550
2617
  const r = a.value[o], s = n ? n(i) : i.name;
2551
- return M(W, {
2618
+ return I(W, {
2552
2619
  attrs: {
2553
2620
  position: x(i),
2554
2621
  label: s,
@@ -2559,159 +2626,160 @@ const To = j((e, {
2559
2626
  }
2560
2627
  });
2561
2628
  })]);
2562
- }), 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, {
2563
2630
  emit: t
2564
2631
  }) => {
2565
- var Xe, $e;
2632
+ var tt, nt;
2566
2633
  e.log && console.log(e);
2567
2634
  const {
2568
2635
  geoDefaultPosition: n,
2569
2636
  getRecomendPlace: a,
2570
- mapContext: i
2637
+ getDefaultCenterPlace: i,
2638
+ mapContext: o
2571
2639
  } = e, {
2572
- mapRef: o,
2573
- setMap: r
2640
+ mapRef: r,
2641
+ setMap: s
2574
2642
  } = be(), {
2575
- readyPromise: s
2576
- } = S(), {
2577
- timerStart: c,
2578
- timerStop: g
2579
- } = Do({
2580
- interval: ko
2581
- }), d = E({
2582
- lng: (Xe = n == null ? void 0 : n[0]) != null ? Xe : 0,
2583
- 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,
2584
2656
  name: ""
2585
- }), u = h(() => [d.lng, d.lat]), l = {
2657
+ }), M = S(() => [l.lng, l.lat]), m = {
2586
2658
  source: "geo"
2587
- }, I = (A) => {
2588
- l.source = "api", N(A);
2589
- }, m = (A) => {
2590
- l.source = "api", P(A), D(A), C();
2591
2659
  }, f = (A) => {
2592
- l.source = "api", d.lng = A.lng, d.lat = A.lat, d.name = A.name;
2593
- }, {
2594
- geoPosition: v,
2595
- geoError: y,
2596
- 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
2597
2671
  } = Pe({
2598
2672
  geoDefaultPosition: n,
2599
2673
  onLoad: async (A) => {
2600
- await s, l.source = "geo", N(A.position), t("loadGeoLocation", A);
2674
+ await c, m.source = "geo", C(A.position), t("loadGeoLocation", A);
2601
2675
  },
2602
2676
  onLoadDefault: async (A) => {
2603
- await s, l.source = "geo", N(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);
2604
2680
  },
2605
2681
  onChange: (A) => t("changeGeoLocation", A),
2606
2682
  onError: (A) => t("geoError", A)
2607
2683
  });
2608
- 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);
2609
2685
  const {
2610
- isDragging: L
2611
- } = jo({
2612
- mapRef: o,
2686
+ isDragging: D
2687
+ } = ur({
2688
+ mapRef: r,
2613
2689
  onChange: (A) => {
2614
- l.source = "drag", c(), N(A), t("changeByDrag", A);
2690
+ m.source = "drag", g(), C(A), t("changeByDrag", A);
2615
2691
  }
2616
2692
  }), {
2617
- updatePlace: N,
2618
- setPlace: P,
2619
- updateCity: D,
2620
- updateRecomandPlace: C,
2621
- placeCandidates: Z,
2622
- availableRef: U,
2623
- isElectedRef: Fe
2624
- } = ho({
2625
- pointRef: u,
2626
- 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,
2627
2703
  getRecomendPlace: a,
2628
2704
  getLimit: (A) => {
2629
- const O = A == null ? void 0 : A.source;
2630
- switch (O) {
2705
+ const E = A == null ? void 0 : A.source;
2706
+ switch (E) {
2631
2707
  case "drag":
2632
- return Zo;
2708
+ return Cr;
2633
2709
  case "api":
2634
- return Oo;
2635
2710
  case "geo":
2636
2711
  case "default":
2637
- return Go;
2712
+ return xr;
2638
2713
  default:
2639
- throw new Error(`MyError: should not call getLimit on source: ${O}`);
2714
+ throw new Error(`MyError: should not call getLimit on source: ${E}`);
2640
2715
  }
2641
2716
  },
2642
2717
  onChangePlace: (A) => {
2643
- l.source !== "recomend" && C(), t("changePlace", A);
2718
+ m.source !== "recomend" && Ee(), t("changePlace", A);
2644
2719
  },
2645
2720
  onChange: async (A) => {
2646
- var ae, _e;
2647
- 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, {
2648
2723
  ...A
2649
2724
  });
2650
- const O = (ae = o.value) == null ? void 0 : ae.getCenter();
2651
- 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";
2652
2727
  },
2653
2728
  onChangeCity: (A) => {
2654
2729
  t("changeCity", A);
2655
2730
  }
2656
2731
  });
2657
- Re(() => {
2658
- i.onChangeCenterPlace({
2659
- ...d
2732
+ return ze(() => {
2733
+ o.onChangeCenterPlace({
2734
+ ...l
2660
2735
  });
2661
- }), Re(() => {
2662
- i.onChangeRecomendPlaces([...Z.value]);
2663
- });
2664
- const Te = w(!0), Gn = (A) => {
2665
- A < 13 ? Te.value = !1 : Te.value = !0;
2666
- };
2667
- return () => {
2668
- const A = U.value ? Fe.value ? d.name : `${d.name} ${Wo}` : e.unavailableTitle, O = U.value ? Fe.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2669
- 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, {
2670
2741
  attrs: {
2671
- center: u.value,
2742
+ center: M.value,
2672
2743
  zoom: 18,
2673
- mapRef: r
2674
- },
2675
- on: {
2676
- zoomEnd: Gn
2744
+ mapRef: s
2677
2745
  }
2678
- }, [!p.value && !y.value && M(Ee, {
2746
+ }, [!T.value && !h.value && I(Te, {
2679
2747
  attrs: {
2680
- position: v.value
2748
+ position: L.value
2681
2749
  }
2682
- }), Te.value ? M(Ro, {
2750
+ }), d.value >= Tr && I(wr, {
2683
2751
  attrs: {
2684
- places: Z.value,
2685
- renderLabel: (ae) => Zi(ae, d) ? void 0 : ae.name
2752
+ places: Ke.value,
2753
+ renderLabel: (ae) => Do(ae, l) ? void 0 : ae.name
2686
2754
  },
2687
2755
  on: {
2688
- click: f
2756
+ click: y
2689
2757
  }
2690
- }) : null, p.value ? null : M(ji, {
2758
+ }), T.value ? null : I(uo, {
2691
2759
  attrs: {
2692
- title: A,
2693
- description: O,
2694
- type: L.value ? "locator" : "box"
2760
+ title: eo(A) || Er,
2761
+ description: E,
2762
+ type: D.value ? "locator" : "box"
2695
2763
  },
2696
2764
  on: {
2697
2765
  click: () => t("clickLocator")
2698
2766
  }
2699
2767
  })]);
2700
2768
  };
2701
- }).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,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzk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Qydi0uMDY1YzEuNTM4LS4zMiAzLjE2Ny0uNjQ5IDQuODYyLS42NDkgMS42NzUgMCAzLjI5NC4zMjYgNC44MTYuNjM3YTIyLjY3MyAyMi42NzMgMCAwMC0uMzAzIDIuNTJjLS4xNDcgMi44ODQuMDIgMy4zMTQuMjMyIDUuMDQ4LjAwNi4wNTcuMDI2LjE1Mi4wNTYuMjc0LTEuNTEzLjI3OC0zIC41NC00LjkxMi41NC0xLjg0NyAwLTMuMjg5LS4yNS00Ljc1LS41MTF2LS4wMDhjLjAzLS4xMzEuMDU1LS4yMzMuMDYtLjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2702
- var je = "_65j3sr1", Pn = "_4a4ovk5", bn = "_4a4ovk0", En = "_4a4ovk2";
2703
- const Bo = j((e) => {
2704
- 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,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMC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jMuOTNhMjAuMTIgMjAuMTIgMCAwMC0uMjk0LTIuNDQydi0uMDY1YzEuNTM4LS4zMiAzLjE2Ny0uNjQ5IDQuODYyLS42NDkgMS42NzUgMCAzLjI5NC4zMjYgNC44MTYuNjM3YTIyLjY3MyAyMi42NzMgMCAwMC0uMzAzIDIuNTJjLS4xNDcgMi44ODQuMDIgMy4zMTQuMjMyIDUuMDQ4LjAwNi4wNTcuMDI2LjE1Mi4wNTYuMjc0LTEuNTEzLjI3OC0zIC41NC00LjkxMi41NC0xLjg0NyAwLTMuMjg5LS4yNS00Ljc1LS41MTF2LS4wMDhjLjAzLS4xMzEuMDU1LS4yMzMuMDYtLjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2770
+ var je = "_65j3sr1", Yn = "_4a4ovk5", Hn = "_4a4ovk0", Qn = "_4a4ovk2";
2771
+ const zr = j((e) => {
2772
+ const t = S(() => {
2705
2773
  var i;
2706
- 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)`;
2707
2775
  return e.title ? `
2708
- <div class="${bn}">
2709
- <div class="${En}">${n}</div>
2776
+ <div class="${Hn}">
2777
+ <div class="${Qn}">${n}</div>
2710
2778
  <img src="${ye}" class="${je}" style="${a}">
2711
2779
  </div>
2712
2780
  ` : `<img src="${ye}" class="${je}" style="${a}">`;
2713
2781
  });
2714
- return () => M(V, {
2782
+ return () => I(V, {
2715
2783
  attrs: {
2716
2784
  position: e.position,
2717
2785
  content: t.value,
@@ -2719,41 +2787,41 @@ const Bo = j((e) => {
2719
2787
  registerOverlay: e.registerOverlay
2720
2788
  }
2721
2789
  });
2722
- }), Vo = j((e) => {
2723
- const t = h(() => {
2790
+ }), Zr = j((e) => {
2791
+ const t = S(() => {
2724
2792
  var i;
2725
- 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)`;
2726
- return e.title ? R("div", {
2727
- class: bn
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)`;
2794
+ return e.title ? Z("div", {
2795
+ class: Hn
2728
2796
  }, `
2729
- <div class="${En}">${n}</div>
2797
+ <div class="${Qn}">${n}</div>
2730
2798
  <img src="${ye}" class="${je}" style="${a}">
2731
- `) : R("img", {
2799
+ `) : Z("img", {
2732
2800
  class: je,
2733
2801
  src: ye,
2734
2802
  style: a
2735
2803
  });
2736
2804
  });
2737
- return () => M(Y, {
2805
+ return () => I(Y, {
2738
2806
  attrs: {
2739
- position: T(e.position),
2807
+ position: R(e.position),
2740
2808
  content: t.value,
2741
2809
  registerOverlay: e.registerOverlay
2742
2810
  }
2743
2811
  });
2744
- }), Qe = j((e) => {
2745
- const t = S();
2746
- return () => k(t.supplier === "gmap" ? Vo : Bo, {
2812
+ }), Xe = j((e) => {
2813
+ const t = N();
2814
+ return () => G(t.supplier === "gmap" ? Zr : zr, {
2747
2815
  attrs: e
2748
2816
  });
2749
- }), Yo = j((e) => () => {
2817
+ }), Or = j((e) => () => {
2750
2818
  const {
2751
2819
  path: t
2752
2820
  } = e;
2753
2821
  if (t.length === 0)
2754
2822
  return null;
2755
2823
  const a = 2 * (window.innerWidth * 0.01);
2756
- return M(oe, {
2824
+ return I(oe, {
2757
2825
  attrs: {
2758
2826
  path: t,
2759
2827
  strokeWeight: a,
@@ -2765,14 +2833,14 @@ const Bo = j((e) => {
2765
2833
  lineCap: "round"
2766
2834
  }
2767
2835
  });
2768
- }), Ho = j((e) => {
2769
- const t = h(() => e.path.map(T));
2836
+ }), kr = j((e) => {
2837
+ const t = S(() => e.path.map(R));
2770
2838
  return () => {
2771
2839
  const n = t.value;
2772
2840
  if (n.length === 0)
2773
2841
  return null;
2774
2842
  const i = 2 * (window.innerWidth * 0.01), o = i / 4;
2775
- return M(Me, {
2843
+ return I(Ie, {
2776
2844
  attrs: {
2777
2845
  path: n,
2778
2846
  strokeWeight: i,
@@ -2798,12 +2866,12 @@ const Bo = j((e) => {
2798
2866
  }
2799
2867
  });
2800
2868
  };
2801
- }), Tn = j((e) => {
2802
- const t = S();
2803
- return () => k(t.supplier === "gmap" ? Ho : Yo, {
2869
+ }), Jn = j((e) => {
2870
+ const t = N();
2871
+ return () => G(t.supplier === "gmap" ? kr : Or, {
2804
2872
  attrs: e
2805
2873
  });
2806
- }), zn = (e) => {
2874
+ }), Fn = (e) => {
2807
2875
  const t = z([]), n = new AMap.Walking({});
2808
2876
  return ee(
2809
2877
  () => ({ ...e }),
@@ -2815,9 +2883,9 @@ const Bo = j((e) => {
2815
2883
  const c = r;
2816
2884
  if (!c.routes)
2817
2885
  return;
2818
- const g = c.routes[0];
2819
- for (const d of g.steps) {
2820
- 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]);
2821
2889
  s = s.concat(u);
2822
2890
  }
2823
2891
  t.value = s;
@@ -2832,7 +2900,7 @@ const Bo = j((e) => {
2832
2900
  });
2833
2901
  }
2834
2902
  ), t;
2835
- }, Rn = (e) => {
2903
+ }, $n = (e) => {
2836
2904
  const t = z([]), n = new google.maps.DirectionsService();
2837
2905
  return ee(
2838
2906
  () => ({ ...e }),
@@ -2847,11 +2915,11 @@ const Bo = j((e) => {
2847
2915
  switch (r) {
2848
2916
  case google.maps.DirectionsStatus.OK: {
2849
2917
  let s = [];
2850
- const g = o.routes[0].overview_path.map((d) => [
2851
- d.lng(),
2852
- d.lat()
2918
+ const d = o.routes[0].overview_path.map((g) => [
2919
+ g.lng(),
2920
+ g.lat()
2853
2921
  ]);
2854
- s = s.concat(g), t.value = s;
2922
+ s = s.concat(d), t.value = s;
2855
2923
  return;
2856
2924
  }
2857
2925
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -2865,84 +2933,84 @@ const Bo = j((e) => {
2865
2933
  );
2866
2934
  }
2867
2935
  ), t;
2868
- }, yr = (e) => {
2869
- const { supplier: t } = S();
2870
- return t === "gmap" ? Rn(e) : zn(e);
2871
- }, Qo = j((e, {
2936
+ }, gs = (e) => {
2937
+ const { supplier: t } = N();
2938
+ return t === "gmap" ? $n(e) : Fn(e);
2939
+ }, Gr = j((e, {
2872
2940
  slots: t
2873
2941
  }) => {
2874
- const n = zn(e);
2942
+ const n = Fn(e);
2875
2943
  return () => {
2876
2944
  var a;
2877
- return M("div", [(a = t.render) == null ? void 0 : a.call(t, E({
2945
+ return I("div", [(a = t.render) == null ? void 0 : a.call(t, P({
2878
2946
  path: n
2879
2947
  }))]);
2880
2948
  };
2881
- }), Jo = j((e, {
2949
+ }), Wr = j((e, {
2882
2950
  slots: t
2883
2951
  }) => {
2884
- const n = Rn(e);
2952
+ const n = $n(e);
2885
2953
  return () => {
2886
2954
  var a;
2887
- return M("div", [(a = t.render) == null ? void 0 : a.call(t, E({
2955
+ return I("div", [(a = t.render) == null ? void 0 : a.call(t, P({
2888
2956
  path: n
2889
2957
  }))]);
2890
2958
  };
2891
- }), Zn = j((e, {
2959
+ }), Xn = j((e, {
2892
2960
  slots: t
2893
2961
  }) => {
2894
2962
  const {
2895
2963
  supplier: n
2896
- } = S();
2897
- return () => k(n === "gmap" ? Jo : Qo, {
2964
+ } = N();
2965
+ return () => G(n === "gmap" ? Wr : Gr, {
2898
2966
  attrs: e,
2899
2967
  scopedSlots: t
2900
2968
  });
2901
2969
  }), Le = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
2902
- var On = "rrvp0y3", Ae = "rrvp0y2";
2903
- const Fo = j((e) => {
2904
- const t = h(() => `<img src="${Le}" class="${Ae}">`), n = h(() => `<img src="${Le}" class="${Ae} ${On}">`);
2905
- 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, {
2906
2974
  attrs: {
2907
2975
  position: e.position,
2908
2976
  anchor: "bottom-center",
2909
2977
  content: t.value
2910
2978
  }
2911
- }), M(V, {
2979
+ }), I(V, {
2912
2980
  attrs: {
2913
2981
  position: e.position,
2914
2982
  anchor: "bottom-center",
2915
2983
  content: n.value
2916
2984
  }
2917
2985
  })]);
2918
- }), Xo = j((e) => {
2919
- const t = h(() => R("img", {
2986
+ }), Br = j((e) => {
2987
+ const t = S(() => Z("img", {
2920
2988
  class: Ae,
2921
2989
  src: Le
2922
- })), n = h(() => R("img", {
2923
- class: `${Ae} ${On}`,
2990
+ })), n = S(() => Z("img", {
2991
+ class: `${Ae} ${_n}`,
2924
2992
  src: Le
2925
2993
  }));
2926
2994
  return () => {
2927
- const a = T(e.position);
2928
- return M("div", [M(Y, {
2995
+ const a = R(e.position);
2996
+ return I("div", [I(Y, {
2929
2997
  attrs: {
2930
2998
  position: a,
2931
2999
  content: t.value
2932
3000
  }
2933
- }), M(Y, {
3001
+ }), I(Y, {
2934
3002
  attrs: {
2935
3003
  position: a,
2936
3004
  content: n.value
2937
3005
  }
2938
3006
  })]);
2939
3007
  };
2940
- }), $o = j((e) => {
2941
- const t = S();
2942
- return () => k(t.supplier === "gmap" ? Xo : Fo, {
3008
+ }), Vr = j((e) => {
3009
+ const t = N();
3010
+ return () => G(t.supplier === "gmap" ? Br : Ur, {
2943
3011
  attrs: e
2944
3012
  });
2945
- }), Nt = j((e, {
3013
+ }), Pt = j((e, {
2946
3014
  emit: t
2947
3015
  }) => (Q(() => t("mapMounted")), () => {
2948
3016
  const {
@@ -2950,25 +3018,25 @@ const Fo = j((e) => {
2950
3018
  title: a,
2951
3019
  registerOverlay: i
2952
3020
  } = e, o = x(n);
2953
- return M("div", [M(G, {
3021
+ return I("div", [I(k, {
2954
3022
  attrs: {
2955
3023
  type: "start",
2956
3024
  position: o,
2957
3025
  title: a,
2958
3026
  registerOverlay: i
2959
3027
  }
2960
- }), M($o, {
3028
+ }), I(Vr, {
2961
3029
  attrs: {
2962
3030
  position: o
2963
3031
  }
2964
- }), M(W, {
3032
+ }), I(W, {
2965
3033
  attrs: {
2966
3034
  position: o,
2967
3035
  label: n.name,
2968
3036
  hideIcon: !0
2969
3037
  }
2970
3038
  })]);
2971
- })), _o = j((e, {
3039
+ })), Yr = j((e, {
2972
3040
  emit: t
2973
3041
  }) => (Q(() => t("mapMounted")), () => {
2974
3042
  const {
@@ -2978,59 +3046,60 @@ const Fo = j((e) => {
2978
3046
  renderTitle: o,
2979
3047
  registerOverlay: r
2980
3048
  } = e, s = x(n);
2981
- return M("div", [!!i && M(Ee, {
3049
+ return I("div", [!!i && I(Te, {
2982
3050
  attrs: {
2983
3051
  position: i,
2984
3052
  registerOverlay: r
2985
3053
  }
2986
- }), M(G, {
3054
+ }), I(k, {
2987
3055
  attrs: {
2988
3056
  type: "start",
2989
3057
  position: s,
2990
3058
  registerOverlay: r
2991
3059
  }
2992
- }), M(W, {
3060
+ }), I(W, {
2993
3061
  attrs: {
2994
3062
  position: s,
2995
3063
  label: n.name,
2996
3064
  hideIcon: !0
2997
3065
  }
2998
- }), M(xe, {
3066
+ }), a[0] !== s[0] || a[1] !== s[1] ? I(Ce, {
2999
3067
  attrs: {
3000
3068
  from: a,
3001
3069
  to: s,
3002
3070
  render: ({
3003
3071
  path: c,
3004
- distance: g,
3005
- duration: d
3006
- }) => [M(we, {
3072
+ distance: d,
3073
+ duration: g
3074
+ }) => [I(we, {
3007
3075
  attrs: {
3008
3076
  path: c
3009
3077
  }
3010
- }), M(Qe, {
3078
+ }), I(Xe, {
3011
3079
  attrs: {
3012
3080
  position: a,
3013
3081
  title: o({
3014
- distance: g,
3015
- duration: d
3016
- })
3082
+ distance: d,
3083
+ duration: g
3084
+ }),
3085
+ registerOverlay: r
3017
3086
  }
3018
3087
  })]
3019
3088
  }
3020
- }), !!i && M(Zn, {
3089
+ }) : null, !!i && I(Xn, {
3021
3090
  attrs: {
3022
3091
  from: i,
3023
3092
  to: s,
3024
3093
  render: ({
3025
3094
  path: c
3026
- }) => M(Tn, {
3095
+ }) => I(Jn, {
3027
3096
  attrs: {
3028
3097
  path: c
3029
3098
  }
3030
3099
  })
3031
3100
  }
3032
3101
  })]);
3033
- })), Ko = j((e, {
3102
+ })), Hr = j((e, {
3034
3103
  emit: t
3035
3104
  }) => (Q(() => t("mapMounted")), () => {
3036
3105
  const {
@@ -3039,28 +3108,28 @@ const Fo = j((e) => {
3039
3108
  title: i,
3040
3109
  registerOverlay: o
3041
3110
  } = e, r = x(n);
3042
- return M("div", [M(G, {
3111
+ return I("div", [I(k, {
3043
3112
  attrs: {
3044
3113
  type: "start",
3045
3114
  position: r,
3046
3115
  title: i,
3047
3116
  registerOverlay: o
3048
3117
  }
3049
- }), M(W, {
3118
+ }), I(W, {
3050
3119
  attrs: {
3051
3120
  position: r,
3052
3121
  label: n.name,
3053
3122
  hideIcon: !0
3054
3123
  }
3055
- }), !!a && M(Ee, {
3124
+ }), !!a && I(Te, {
3056
3125
  attrs: {
3057
3126
  position: a,
3058
3127
  registerOverlay: o
3059
3128
  }
3060
3129
  })]);
3061
- })), qo = j((e, {
3130
+ })), Qr = j((e, {
3062
3131
  emit: t
3063
- }) => (Q(() => t("mapMounted")), console.log("SectionDriverArrived:", e), () => {
3132
+ }) => (Q(() => t("mapMounted")), () => {
3064
3133
  const {
3065
3134
  from: n,
3066
3135
  carPosition: a,
@@ -3068,44 +3137,43 @@ const Fo = j((e) => {
3068
3137
  title: o,
3069
3138
  registerOverlay: r
3070
3139
  } = e, s = x(n);
3071
- return M("div", [M(Qe, {
3140
+ return I("div", [I(Xe, {
3072
3141
  attrs: {
3073
3142
  position: a,
3074
3143
  title: o,
3075
3144
  registerOverlay: r
3076
3145
  }
3077
- }), M(G, {
3146
+ }), I(k, {
3078
3147
  attrs: {
3079
3148
  type: "start",
3080
3149
  position: s,
3081
3150
  registerOverlay: r
3082
3151
  }
3083
- }), M(W, {
3152
+ }), I(W, {
3084
3153
  attrs: {
3085
3154
  position: s,
3086
3155
  label: n.name,
3087
3156
  hideIcon: !0
3088
3157
  }
3089
- }), !!i && M(Zn, {
3158
+ }), !!i && I(Xn, {
3090
3159
  attrs: {
3091
3160
  from: i,
3092
3161
  to: s,
3093
3162
  render: ({
3094
3163
  path: c
3095
- }) => M(Tn, {
3164
+ }) => I(Jn, {
3096
3165
  attrs: {
3097
3166
  path: c
3098
3167
  }
3099
3168
  })
3100
3169
  }
3101
- }), !!i && M(Ee, {
3170
+ }), !!i && I(Te, {
3102
3171
  attrs: {
3103
3172
  position: i,
3104
- size: "small",
3105
3173
  registerOverlay: r
3106
3174
  }
3107
3175
  })]);
3108
- })), er = j((e, {
3176
+ })), Jr = j((e, {
3109
3177
  emit: t
3110
3178
  }) => (Q(() => t("mapMounted")), () => {
3111
3179
  const {
@@ -3114,43 +3182,43 @@ const Fo = j((e) => {
3114
3182
  renderTitle: i,
3115
3183
  registerOverlay: o
3116
3184
  } = e, r = x(n);
3117
- return M("div", [M(G, {
3185
+ return I("div", [I(k, {
3118
3186
  attrs: {
3119
3187
  type: "end",
3120
3188
  position: r,
3121
3189
  registerOverlay: o
3122
3190
  }
3123
- }), M(W, {
3191
+ }), I(W, {
3124
3192
  attrs: {
3125
3193
  position: r,
3126
3194
  label: n.name,
3127
3195
  hideIcon: !0
3128
3196
  }
3129
- }), M(xe, {
3197
+ }), I(Ce, {
3130
3198
  attrs: {
3131
3199
  from: a,
3132
3200
  to: r,
3133
3201
  render: ({
3134
3202
  path: s,
3135
3203
  distance: c,
3136
- duration: g
3137
- }) => [M(we, {
3204
+ duration: d
3205
+ }) => [I(we, {
3138
3206
  attrs: {
3139
3207
  path: s
3140
3208
  }
3141
- }), M(Qe, {
3209
+ }), I(Xe, {
3142
3210
  attrs: {
3143
3211
  position: a,
3144
3212
  title: i({
3145
3213
  distance: c,
3146
- duration: g
3214
+ duration: d
3147
3215
  }),
3148
3216
  registerOverlay: o
3149
3217
  }
3150
3218
  })]
3151
3219
  }
3152
3220
  })]);
3153
- })), tr = j((e, {
3221
+ })), Fr = j((e, {
3154
3222
  emit: t
3155
3223
  }) => (Q(() => t("mapMounted")), () => {
3156
3224
  const {
@@ -3158,32 +3226,32 @@ const Fo = j((e) => {
3158
3226
  to: a,
3159
3227
  registerOverlay: i
3160
3228
  } = e, o = x(n), r = x(a);
3161
- return M("div", [M(G, {
3229
+ return I("div", [I(k, {
3162
3230
  attrs: {
3163
3231
  type: "start",
3164
3232
  position: o,
3165
3233
  registerOverlay: i
3166
3234
  }
3167
- }), M(G, {
3235
+ }), I(k, {
3168
3236
  attrs: {
3169
3237
  type: "end",
3170
3238
  position: r,
3171
3239
  registerOverlay: i
3172
3240
  }
3173
- }), M(W, {
3241
+ }), I(W, {
3174
3242
  attrs: {
3175
3243
  position: o,
3176
3244
  label: n.name,
3177
3245
  hideIcon: !0
3178
3246
  }
3179
- }), M(W, {
3247
+ }), I(W, {
3180
3248
  attrs: {
3181
3249
  position: r,
3182
3250
  label: a.name,
3183
3251
  hideIcon: !0
3184
3252
  }
3185
3253
  })]);
3186
- })), ke = j((e, {
3254
+ })), Ue = j((e, {
3187
3255
  emit: t
3188
3256
  }) => (Q(() => t("mapMounted")), () => {
3189
3257
  const {
@@ -3191,37 +3259,37 @@ const Fo = j((e) => {
3191
3259
  to: a,
3192
3260
  registerOverlay: i
3193
3261
  } = e, o = x(n), r = x(a);
3194
- return M("div", [M(G, {
3262
+ return I("div", [I(k, {
3195
3263
  attrs: {
3196
3264
  type: "start",
3197
3265
  position: o,
3198
3266
  registerOverlay: i
3199
3267
  }
3200
- }), M(G, {
3268
+ }), I(k, {
3201
3269
  attrs: {
3202
3270
  type: "end",
3203
3271
  position: r,
3204
3272
  registerOverlay: i
3205
3273
  }
3206
- }), M(W, {
3274
+ }), I(W, {
3207
3275
  attrs: {
3208
3276
  position: o,
3209
3277
  label: n.name,
3210
3278
  hideIcon: !0
3211
3279
  }
3212
- }), M(W, {
3280
+ }), I(W, {
3213
3281
  attrs: {
3214
3282
  position: r,
3215
3283
  label: a.name,
3216
3284
  hideIcon: !0
3217
3285
  }
3218
- }), M(xe, {
3286
+ }), I(Ce, {
3219
3287
  attrs: {
3220
3288
  from: o,
3221
3289
  to: r,
3222
3290
  render: ({
3223
3291
  path: s
3224
- }) => M(we, {
3292
+ }) => I(we, {
3225
3293
  attrs: {
3226
3294
  path: s,
3227
3295
  done: !0
@@ -3229,14 +3297,14 @@ const Fo = j((e) => {
3229
3297
  })
3230
3298
  }
3231
3299
  })]);
3232
- })), jr = j((e) => {
3300
+ })), Ms = j((e) => {
3233
3301
  const {
3234
3302
  mapRef: t,
3235
3303
  setMap: n
3236
3304
  } = be(), {
3237
3305
  registerFitVeiw: a,
3238
3306
  setFitView: i
3239
- } = Ce({
3307
+ } = xe({
3240
3308
  mapRef: t,
3241
3309
  autoFitTimeout: 5e3,
3242
3310
  padding: [25, 20, 15, 15]
@@ -3245,14 +3313,14 @@ const Fo = j((e) => {
3245
3313
  const {
3246
3314
  from: o,
3247
3315
  to: r
3248
- } = e, s = At(o) && At(r), c = s ? x(o) : [...Uo];
3249
- return M(De, {
3316
+ } = e, s = xt(o) && xt(r), c = s ? x(o) : [...Rr];
3317
+ return I(De, {
3250
3318
  attrs: {
3251
3319
  center: c,
3252
3320
  zoom: 3,
3253
3321
  mapRef: n
3254
3322
  }
3255
- }, [s && M(ke, {
3323
+ }, [s && I(Ue, {
3256
3324
  attrs: {
3257
3325
  from: o,
3258
3326
  to: r,
@@ -3263,7 +3331,7 @@ const Fo = j((e) => {
3263
3331
  }
3264
3332
  })]);
3265
3333
  };
3266
- }), nr = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], Lr = ce((e) => {
3334
+ }), $r = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], Is = ce((e) => {
3267
3335
  e.log && console.log(e);
3268
3336
  const {
3269
3337
  from: t,
@@ -3276,13 +3344,13 @@ const Fo = j((e) => {
3276
3344
  } = e, {
3277
3345
  setFitView: c
3278
3346
  } = a, {
3279
- geoPosition: g,
3280
- geoError: d
3347
+ geoPosition: d,
3348
+ geoError: g
3281
3349
  } = Pe({
3282
3350
  geoDefaultPosition: x(t)
3283
3351
  }), u = w(x(e.from));
3284
- return b(() => e.driverStatus, (l, I, m) => {
3285
- if (!nr.includes(l))
3352
+ return b(() => e.driverStatus, (l, M, m) => {
3353
+ if (!$r.includes(l))
3286
3354
  return;
3287
3355
  const f = setInterval(() => {
3288
3356
  o().then((v) => u.value = v);
@@ -3293,59 +3361,59 @@ const Fo = j((e) => {
3293
3361
  }), () => {
3294
3362
  const {
3295
3363
  driverStatus: l,
3296
- from: I,
3364
+ from: M,
3297
3365
  to: m,
3298
3366
  dispatchingTitle: f,
3299
3367
  bookDispatchingTitle: v,
3300
3368
  bookDispatchedTitle: y,
3301
3369
  driverArrivedTitle: p
3302
- } = e, L = u.value, N = d.value ? void 0 : g.value;
3303
- return M(De, {
3370
+ } = e, L = u.value, h = g.value ? void 0 : d.value;
3371
+ return I(De, {
3304
3372
  attrs: {
3305
- center: x(I),
3373
+ center: x(M),
3306
3374
  zoom: 13,
3307
3375
  mapRef: i
3308
3376
  }
3309
- }, [l === "dispatching" ? M(Nt, {
3377
+ }, [l === "dispatching" ? I(Pt, {
3310
3378
  attrs: {
3311
- from: I,
3379
+ from: M,
3312
3380
  title: f,
3313
3381
  registerOverlay: a
3314
3382
  },
3315
3383
  on: {
3316
3384
  mapMounted: c
3317
3385
  }
3318
- }) : l === "book-dispatching" ? M(Nt, {
3386
+ }) : l === "book-dispatching" ? I(Pt, {
3319
3387
  attrs: {
3320
- from: I,
3388
+ from: M,
3321
3389
  title: v,
3322
3390
  registerOverlay: a
3323
3391
  },
3324
3392
  on: {
3325
3393
  mapMounted: c
3326
3394
  }
3327
- }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" ? M(_o, {
3395
+ }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" || l === "assign" || l === "confirmed" ? I(Yr, {
3328
3396
  attrs: {
3329
- from: I,
3397
+ from: M,
3330
3398
  carPosition: L,
3331
- passengerPosition: N,
3399
+ passengerPosition: h,
3332
3400
  renderTitle: r,
3333
3401
  registerOverlay: a
3334
3402
  },
3335
3403
  on: {
3336
3404
  mapMounted: c
3337
3405
  }
3338
- }) : l === "book-dispatched" ? M(Ko, {
3406
+ }) : l === "book-dispatched" ? I(Hr, {
3339
3407
  attrs: {
3340
- from: I,
3341
- passengerPosition: N,
3408
+ from: M,
3409
+ passengerPosition: h,
3342
3410
  title: y,
3343
3411
  registerOverlay: a
3344
3412
  },
3345
3413
  on: {
3346
3414
  mapMounted: c
3347
3415
  }
3348
- }) : l === "inService" ? M(er, {
3416
+ }) : l === "inService" ? I(Jr, {
3349
3417
  attrs: {
3350
3418
  to: m,
3351
3419
  carPosition: L,
@@ -3355,26 +3423,29 @@ const Fo = j((e) => {
3355
3423
  on: {
3356
3424
  mapMounted: c
3357
3425
  }
3358
- }) : l === "driverArrived" ? M(qo, {
3426
+ }) : l === "driverArrived" ? I(Qr, {
3359
3427
  attrs: {
3360
- from: I,
3428
+ from: M,
3361
3429
  carPosition: L,
3362
- passengerPosition: N,
3430
+ passengerPosition: h,
3363
3431
  title: p,
3364
3432
  registerOverlay: a
3365
3433
  },
3366
3434
  on: {
3367
3435
  mapMounted: c
3368
3436
  }
3369
- }) : l === "canceled" || l === "canceling" ? M(tr, {
3437
+ }) : l === "canceled" || l === "canceling" ? I(Fr, {
3370
3438
  attrs: {
3371
- from: I,
3439
+ from: M,
3372
3440
  to: m,
3373
3441
  registerOverlay: a
3442
+ },
3443
+ on: {
3444
+ mapMounted: c
3374
3445
  }
3375
- }) : 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, {
3376
3447
  attrs: {
3377
- from: I,
3448
+ from: M,
3378
3449
  to: m,
3379
3450
  registerOverlay: a
3380
3451
  },
@@ -3383,9 +3454,9 @@ const Fo = j((e) => {
3383
3454
  }
3384
3455
  }) : (
3385
3456
  // 匹配不到就显示灰色路线
3386
- M(ke, {
3457
+ I(Ue, {
3387
3458
  attrs: {
3388
- from: I,
3459
+ from: M,
3389
3460
  to: m,
3390
3461
  registerOverlay: a
3391
3462
  },
@@ -3395,35 +3466,35 @@ const Fo = j((e) => {
3395
3466
  })
3396
3467
  )]);
3397
3468
  };
3398
- }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), ar = () => {
3399
- 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();
3400
3471
  return { apiMapDistance: (n, a) => {
3401
- if (e.status === q.SUCCESS)
3472
+ if (e.status === se.SUCCESS)
3402
3473
  return AMap.GeometryUtil.distance(n, a);
3403
3474
  } };
3404
- }, ir = () => {
3405
- const e = S();
3475
+ }, _r = () => {
3476
+ const e = N();
3406
3477
  return { apiMapDistance: (n, a) => {
3407
- if (e.status === q.SUCCESS)
3408
- return google.maps.geometry.spherical.computeDistanceBetween(T(n), T(a));
3478
+ if (e.status === se.SUCCESS)
3479
+ return google.maps.geometry.spherical.computeDistanceBetween(R(n), R(a));
3409
3480
  } };
3410
- }, Je = () => {
3411
- const { supplier: e } = S();
3412
- return e === "gmap" ? ir() : ar();
3413
- }, or = (e) => {
3414
- 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) => {
3415
3486
  n.value = l, c();
3416
3487
  }, u = (l) => {
3417
3488
  r.value = l, c();
3418
3489
  };
3419
3490
  return b(
3420
- () => g.value,
3491
+ () => d.value,
3421
3492
  async () => {
3422
3493
  if (!r.value)
3423
3494
  return;
3424
- 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) => {
3425
3496
  const f = o.value;
3426
- switch (I) {
3497
+ switch (M) {
3427
3498
  case "complete": {
3428
3499
  s.value = m.poiList.pois.map(
3429
3500
  (v) => {
@@ -3450,15 +3521,15 @@ const Fo = j((e) => {
3450
3521
  {
3451
3522
  immediate: !0
3452
3523
  }
3453
- ), { setKeyword: u, setCity: d, autoCompletePlaces: s };
3454
- }, rr = (e) => {
3455
- 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) => {
3456
- n.value = I, c();
3457
- }, u = (I) => {
3458
- 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();
3459
3530
  }, l = document.createElement("div");
3460
3531
  return b(
3461
- () => g.value,
3532
+ () => d.value,
3462
3533
  async () => {
3463
3534
  if (!r.value)
3464
3535
  return;
@@ -3472,14 +3543,14 @@ const Fo = j((e) => {
3472
3543
  switch (f) {
3473
3544
  case google.maps.places.PlacesServiceStatus.OK:
3474
3545
  s.value = m.map(({ geometry: y, name: p, formatted_address: L }) => {
3475
- var D, C, Z, U;
3476
- const N = (C = (D = y == null ? void 0 : y.location) == null ? void 0 : D.lng()) != null ? C : 0, P = (U = (Z = y == null ? void 0 : y.location) == null ? void 0 : Z.lat()) != null ? U : 0;
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;
3477
3548
  return {
3478
- lng: N,
3479
- lat: P,
3549
+ lng: h,
3550
+ lat: T,
3480
3551
  name: p != null ? p : "",
3481
3552
  description: L != null ? L : "",
3482
- distance: v ? i(v, [N, P]) : void 0
3553
+ distance: v ? i(v, [h, T]) : void 0
3483
3554
  };
3484
3555
  });
3485
3556
  return;
@@ -3491,13 +3562,13 @@ const Fo = j((e) => {
3491
3562
  }
3492
3563
  );
3493
3564
  }
3494
- ), { setKeyword: u, setCity: d, autoCompletePlaces: s };
3495
- }, sr = (e) => {
3496
- const { supplier: t } = S();
3497
- return t === "gmap" ? rr(e) : or(e);
3498
- }, 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) => {
3499
3570
  var i;
3500
- const { cityNameRef: t, onChange: n } = e, a = E({ name: (i = t.value) != null ? i : "" });
3571
+ const { cityNameRef: t, onChange: n } = e, a = P({ name: (i = t.value) != null ? i : "" });
3501
3572
  return b(
3502
3573
  () => t.value,
3503
3574
  (o) => {
@@ -3505,9 +3576,9 @@ const Fo = j((e) => {
3505
3576
  a.name = r, n == null || n({ name: r });
3506
3577
  }
3507
3578
  ), a;
3508
- }, ur = (e) => {
3579
+ }, ns = (e) => {
3509
3580
  var o;
3510
- const { cityNameRef: t, onChange: n } = e, { readyPromise: a } = S(), i = E({
3581
+ const { cityNameRef: t, onChange: n } = e, { readyPromise: a } = N(), i = P({
3511
3582
  name: (o = t.value) != null ? o : "",
3512
3583
  bound: {
3513
3584
  east: 0,
@@ -3516,7 +3587,7 @@ const Fo = j((e) => {
3516
3587
  west: 0
3517
3588
  }
3518
3589
  });
3519
- return Re(async () => {
3590
+ return ze(async () => {
3520
3591
  var u, l;
3521
3592
  const r = t.value;
3522
3593
  if (!r)
@@ -3531,59 +3602,56 @@ const Fo = j((e) => {
3531
3602
  });
3532
3603
  if (c.length !== 1)
3533
3604
  throw new Error("MyError: multiple city found");
3534
- const { geometry: g } = c[0], d = (l = (u = g.bounds) == null ? void 0 : u.toJSON()) != null ? l : g.viewport.toJSON();
3535
- 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 });
3536
3607
  }), i;
3537
- }, lr = (e) => {
3538
- const { supplier: t } = S();
3539
- return t === "gmap" ? ur(e) : cr(e);
3540
- }, Ar = (e) => {
3541
- 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({
3542
3613
  cityNameRef: t,
3543
3614
  onChange: (s) => o(s)
3544
- }), { autoCompletePlaces: a, setKeyword: i, setCity: o } = sr({ city: n });
3615
+ }), { autoCompletePlaces: a, setKeyword: i, setCity: o } = es({ city: n });
3545
3616
  return { autoCompletePlaces: a, setKeyword: i, setCity: o, handleKeywordInput: (s) => {
3546
3617
  const c = s.target;
3547
3618
  i(c.value);
3548
3619
  } };
3549
- }, Nr = () => {
3550
- 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({
3551
3622
  mapRef: t,
3552
3623
  padding: [25, 20, 15, 15]
3553
3624
  });
3554
3625
  return { setMap: e, registerFitVeiw: n, setFitView: a };
3555
- }, Sr = () => {
3556
- const e = E({
3626
+ }, ps = () => {
3627
+ const e = P({
3557
3628
  lng: 0,
3558
3629
  lat: 0,
3559
3630
  name: ""
3560
- }), 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 = {
3561
3632
  panToGeoPositionByRecomend: () => {
3562
3633
  throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
3563
3634
  },
3564
3635
  setCenterPlaceByUserSpecified: () => {
3565
3636
  throw new Error("MyError: setCenterPlaceByRecomand used before assigned");
3566
3637
  },
3567
- onChangeCenterPlace: (c) => {
3568
- Object.assign(e, { ...c });
3569
- },
3570
- onChangeRecomendPlaces: (c) => {
3571
- t.value = [...c];
3638
+ onChangeCenterPlace: (r) => {
3639
+ Object.assign(e, { ...r });
3572
3640
  },
3573
- setIsSearchRecommendPlace: (c) => {
3574
- n.value = c;
3641
+ onChangeRecomendPlaces: (r) => {
3642
+ t.value = [...r];
3575
3643
  }
3576
3644
  };
3577
3645
  return {
3578
- mapContext: s,
3646
+ mapContext: o,
3579
3647
  centerPlace: e,
3580
3648
  placeCandidates: t,
3581
- panToGeoPositionByRecomend: i,
3582
- setCenterPlaceByUserSpecified: o,
3583
- apiMapDistance: a
3649
+ panToGeoPositionByRecomend: a,
3650
+ setCenterPlaceByUserSpecified: i,
3651
+ apiMapDistance: n
3584
3652
  };
3585
- }, hr = () => {
3586
- 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({
3587
3655
  mapRef: e,
3588
3656
  autoFitTimeout: 5e3,
3589
3657
  padding: [25, 20, 15, 15]
@@ -3591,36 +3659,36 @@ const Fo = j((e) => {
3591
3659
  return { setMap: t, registerFitVeiw: n, setFitView: a };
3592
3660
  };
3593
3661
  export {
3594
- ji as AbsoluteAddressBox,
3595
- gr as AddressBox,
3596
- fr as BusinessQuotingMap,
3597
- vr as BusinessRecomendPlaceMap,
3598
- jr as BusinessTaxiEndMap,
3599
- 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,
3600
3668
  we as DrivingLine,
3601
- xe as DrivingRoute,
3669
+ Ce as DrivingRoute,
3602
3670
  De as HeycarMap,
3603
- Ir as MapProvider,
3604
- Ee as PassengerCircle,
3605
- Ro as PickupPoints,
3671
+ rs as MapProvider,
3672
+ Te as PassengerCircle,
3673
+ wr as PickupPoints,
3606
3674
  W as PlaceCircle,
3607
- G as StartEndPoint,
3608
- Qe as TaxiCar,
3609
- Tn as WalkingLine,
3610
- Zn as WalkingRoute,
3611
- $o as WaveCircle,
3612
- Ar as useBusinessMapAutoComplete,
3613
- Nr as useBusinessQuotingMap,
3614
- Sr as useBusinessRecomendPlaceMap,
3615
- hr as useBusinessTaxiServiceMap,
3616
- 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,
3617
3685
  Pe as useGeoLocation,
3618
3686
  be as useHeycarMap,
3619
- mr as useMapAngle,
3620
- jo as useMapDrag,
3621
- Ce as useMapFitView,
3622
- Je as useMapGeometry,
3623
- pr as useMapPlace,
3624
- ho as useMapRecomendPlace,
3625
- 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
3626
3694
  };