@heycar/heycars-map 0.3.3 → 0.3.5

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