@heycar/heycars-map 0.2.5 → 0.2.7

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