@heycar/heycars-map 0.2.12 → 0.3.0

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