@heycar/heycars-map 0.3.0 → 0.3.1

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