@heycar/heycars-map 0.3.1 → 0.3.2

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