@heycar/heycars-map 0.3.4 → 0.3.6

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