@heycar/heycars-map 0.2.5 → 0.2.6

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