@heycar/heycars-map 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,144 +1,144 @@
1
- import oi, { defineComponent as zt, h as g, computed as D, inject as Ye, provide as He, watch as T, onMounted as te, onUnmounted as le, watchPostEffect as H, shallowRef as z, reactive as b, toRefs as Zt, ref as w, toRef as ri, watchEffect as Oe } from "vue";
2
- oi.util.warn;
3
- const Je = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", Qe = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
4
- var si = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ci = typeof global == "object" && global && global.Object === Object && global;
5
- const ui = ci;
6
- var li = typeof self == "object" && self && self.Object === Object && self, di = ui || li || Function("return this")();
7
- const Ot = di;
8
- var gi = Ot.Symbol;
9
- const K = gi;
10
- var Gt = Object.prototype, fi = Gt.hasOwnProperty, mi = Gt.toString, re = K ? K.toStringTag : void 0;
11
- function Mi(t) {
1
+ import ri, { defineComponent as Zt, h as g, computed as w, inject as He, provide as Je, watch as T, onMounted as ne, onUnmounted as le, watchPostEffect as H, shallowRef as z, reactive as b, toRefs as Ot, ref as C, toRef as si, watchEffect as Oe } from "vue";
2
+ ri.util.warn;
3
+ const Qe = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", Fe = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
4
+ var ci = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ui = typeof global == "object" && global && global.Object === Object && global;
5
+ const li = ui;
6
+ var di = typeof self == "object" && self && self.Object === Object && self, gi = li || di || Function("return this")();
7
+ const Gt = gi;
8
+ var mi = Gt.Symbol;
9
+ const ee = mi;
10
+ var kt = Object.prototype, fi = kt.hasOwnProperty, Mi = kt.toString, re = ee ? ee.toStringTag : void 0;
11
+ function Ii(t) {
12
12
  var e = fi.call(t, re), n = t[re];
13
13
  try {
14
14
  t[re] = void 0;
15
15
  var i = !0;
16
16
  } catch {
17
17
  }
18
- var a = mi.call(t);
18
+ var a = Mi.call(t);
19
19
  return i && (e ? t[re] = n : delete t[re]), a;
20
20
  }
21
- var Ii = Object.prototype, pi = Ii.toString;
22
- function vi(t) {
23
- return pi.call(t);
24
- }
25
- var yi = "[object Null]", ji = "[object Undefined]", ct = K ? K.toStringTag : void 0;
26
- function Ai(t) {
27
- return t == null ? t === void 0 ? ji : yi : ct && ct in Object(t) ? Mi(t) : vi(t);
21
+ var pi = Object.prototype, vi = pi.toString;
22
+ function yi(t) {
23
+ return vi.call(t);
28
24
  }
25
+ var ji = "[object Null]", Ai = "[object Undefined]", ut = ee ? ee.toStringTag : void 0;
29
26
  function Li(t) {
27
+ return t == null ? t === void 0 ? Ai : ji : ut && ut in Object(t) ? Ii(t) : yi(t);
28
+ }
29
+ function Si(t) {
30
30
  return t != null && typeof t == "object";
31
31
  }
32
- var Si = "[object Symbol]";
33
- function kt(t) {
34
- return typeof t == "symbol" || Li(t) && Ai(t) == Si;
32
+ var hi = "[object Symbol]";
33
+ function Wt(t) {
34
+ return typeof t == "symbol" || Si(t) && Li(t) == hi;
35
35
  }
36
36
  function Ni(t, e) {
37
37
  for (var n = -1, i = t == null ? 0 : t.length, a = Array(i); ++n < i; )
38
38
  a[n] = e(t[n], n, t);
39
39
  return a;
40
40
  }
41
- var hi = Array.isArray;
42
- const Di = hi;
43
- var wi = 1 / 0, ut = K ? K.prototype : void 0, lt = ut ? ut.toString : void 0;
44
- function Fe(t) {
41
+ var Di = Array.isArray;
42
+ const wi = Di;
43
+ var Ci = 1 / 0, lt = ee ? ee.prototype : void 0, dt = lt ? lt.toString : void 0;
44
+ function $e(t) {
45
45
  if (typeof t == "string")
46
46
  return t;
47
- if (Di(t))
48
- return Ni(t, Fe) + "";
49
- if (kt(t))
50
- return lt ? lt.call(t) : "";
47
+ if (wi(t))
48
+ return Ni(t, $e) + "";
49
+ if (Wt(t))
50
+ return dt ? dt.call(t) : "";
51
51
  var e = t + "";
52
- return e == "0" && 1 / t == -wi ? "-0" : e;
52
+ return e == "0" && 1 / t == -Ci ? "-0" : e;
53
53
  }
54
- var Ci = /\s/;
55
- function xi(t) {
56
- for (var e = t.length; e-- && Ci.test(t.charAt(e)); )
54
+ var xi = /\s/;
55
+ function Pi(t) {
56
+ for (var e = t.length; e-- && xi.test(t.charAt(e)); )
57
57
  ;
58
58
  return e;
59
59
  }
60
- var Pi = /^\s+/;
61
- function Wt(t) {
62
- return t && t.slice(0, xi(t) + 1).replace(Pi, "");
60
+ var bi = /^\s+/;
61
+ function Ut(t) {
62
+ return t && t.slice(0, Pi(t) + 1).replace(bi, "");
63
63
  }
64
64
  function Ge(t) {
65
65
  var e = typeof t;
66
66
  return t != null && (e == "object" || e == "function");
67
67
  }
68
- var dt = 0 / 0, bi = /^[-+]0x[0-9a-f]+$/i, Ei = /^0b[01]+$/i, Ti = /^0o[0-7]+$/i, Ri = parseInt;
69
- function gt(t) {
68
+ var gt = 0 / 0, Ei = /^[-+]0x[0-9a-f]+$/i, Ti = /^0b[01]+$/i, Ri = /^0o[0-7]+$/i, zi = parseInt;
69
+ function mt(t) {
70
70
  if (typeof t == "number")
71
71
  return t;
72
- if (kt(t))
73
- return dt;
72
+ if (Wt(t))
73
+ return gt;
74
74
  if (Ge(t)) {
75
75
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
76
76
  t = Ge(e) ? e + "" : e;
77
77
  }
78
78
  if (typeof t != "string")
79
79
  return t === 0 ? t : +t;
80
- t = Wt(t);
81
- var n = Ei.test(t);
82
- return n || Ti.test(t) ? Ri(t.slice(2), n ? 2 : 8) : bi.test(t) ? dt : +t;
80
+ t = Ut(t);
81
+ var n = Ti.test(t);
82
+ return n || Ri.test(t) ? zi(t.slice(2), n ? 2 : 8) : Ei.test(t) ? gt : +t;
83
83
  }
84
- function zi(t, e, n, i) {
84
+ function Zi(t, e, n, i) {
85
85
  for (var a = t.length, o = n + (i ? 1 : -1); i ? o-- : ++o < a; )
86
86
  if (e(t[o], o, t))
87
87
  return o;
88
88
  return -1;
89
89
  }
90
- function Zi(t) {
90
+ function Oi(t) {
91
91
  return t !== t;
92
92
  }
93
- function Oi(t, e, n) {
93
+ function Gi(t, e, n) {
94
94
  for (var i = n - 1, a = t.length; ++i < a; )
95
95
  if (t[i] === e)
96
96
  return i;
97
97
  return -1;
98
98
  }
99
- function Ut(t, e, n) {
100
- return e === e ? Oi(t, e, n) : zi(t, Zi, n);
99
+ function Bt(t, e, n) {
100
+ return e === e ? Gi(t, e, n) : Zi(t, Oi, n);
101
101
  }
102
- function $e(t) {
103
- return t == null ? "" : Fe(t);
102
+ function Xe(t) {
103
+ return t == null ? "" : $e(t);
104
104
  }
105
- function Gi(t, e, n) {
105
+ function ki(t, e, n) {
106
106
  var i = -1, a = t.length;
107
107
  e < 0 && (e = -e > a ? 0 : a + e), n = n > a ? a : n, n < 0 && (n += a), a = e > n ? 0 : n - e >>> 0, e >>>= 0;
108
108
  for (var o = Array(a); ++i < a; )
109
109
  o[i] = t[i + e];
110
110
  return o;
111
111
  }
112
- function ki(t, e, n) {
112
+ function Wi(t, e, n) {
113
113
  var i = t.length;
114
- return n = n === void 0 ? i : n, !e && n >= i ? t : Gi(t, e, n);
115
- }
116
- var Wi = "\\ud800-\\udfff", Ui = "\\u0300-\\u036f", Bi = "\\ufe20-\\ufe2f", Vi = "\\u20d0-\\u20ff", Yi = Ui + Bi + Vi, Hi = "\\ufe0e\\ufe0f", Ji = "\\u200d", Qi = RegExp("[" + Ji + Wi + Yi + Hi + "]");
117
- function Fi(t) {
118
- return Qi.test(t);
114
+ return n = n === void 0 ? i : n, !e && n >= i ? t : ki(t, e, n);
119
115
  }
116
+ var Ui = "\\ud800-\\udfff", Bi = "\\u0300-\\u036f", Vi = "\\ufe20-\\ufe2f", Yi = "\\u20d0-\\u20ff", Hi = Bi + Vi + Yi, Ji = "\\ufe0e\\ufe0f", Qi = "\\u200d", Fi = RegExp("[" + Qi + Ui + Hi + Ji + "]");
120
117
  function $i(t) {
118
+ return Fi.test(t);
119
+ }
120
+ function Xi(t) {
121
121
  return t.split("");
122
122
  }
123
- var Bt = "\\ud800-\\udfff", Xi = "\\u0300-\\u036f", _i = "\\ufe20-\\ufe2f", Ki = "\\u20d0-\\u20ff", qi = Xi + _i + Ki, ea = "\\ufe0e\\ufe0f", ta = "[" + Bt + "]", ke = "[" + qi + "]", We = "\\ud83c[\\udffb-\\udfff]", na = "(?:" + ke + "|" + We + ")", Vt = "[^" + Bt + "]", Yt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ht = "[\\ud800-\\udbff][\\udc00-\\udfff]", ia = "\\u200d", Jt = na + "?", Qt = "[" + ea + "]?", aa = "(?:" + ia + "(?:" + [Vt, Yt, Ht].join("|") + ")" + Qt + Jt + ")*", oa = Qt + Jt + aa, ra = "(?:" + [Vt + ke + "?", ke, Yt, Ht, ta].join("|") + ")", sa = RegExp(We + "(?=" + We + ")|" + ra + oa, "g");
124
- function ca(t) {
125
- return t.match(sa) || [];
123
+ var Vt = "\\ud800-\\udfff", _i = "\\u0300-\\u036f", Ki = "\\ufe20-\\ufe2f", qi = "\\u20d0-\\u20ff", ea = _i + Ki + qi, ta = "\\ufe0e\\ufe0f", na = "[" + Vt + "]", ke = "[" + ea + "]", We = "\\ud83c[\\udffb-\\udfff]", ia = "(?:" + ke + "|" + We + ")", Yt = "[^" + Vt + "]", Ht = "(?:\\ud83c[\\udde6-\\uddff]){2}", Jt = "[\\ud800-\\udbff][\\udc00-\\udfff]", aa = "\\u200d", Qt = ia + "?", Ft = "[" + ta + "]?", oa = "(?:" + aa + "(?:" + [Yt, Ht, Jt].join("|") + ")" + Ft + Qt + ")*", ra = Ft + Qt + oa, sa = "(?:" + [Yt + ke + "?", ke, Ht, Jt, na].join("|") + ")", ca = RegExp(We + "(?=" + We + ")|" + sa + ra, "g");
124
+ function ua(t) {
125
+ return t.match(ca) || [];
126
126
  }
127
127
  function ft(t) {
128
- return Fi(t) ? ca(t) : $i(t);
128
+ return $i(t) ? ua(t) : Xi(t);
129
129
  }
130
- function ua(t, e, n, i) {
130
+ function la(t, e, n, i) {
131
131
  var a = -1, o = t == null ? 0 : t.length;
132
132
  for (i && o && (n = t[++a]); ++a < o; )
133
133
  n = e(n, t[a], a, t);
134
134
  return n;
135
135
  }
136
- function la(t) {
136
+ function da(t) {
137
137
  return function(e) {
138
138
  return t == null ? void 0 : t[e];
139
139
  };
140
140
  }
141
- var da = {
141
+ var ga = {
142
142
  // Latin-1 Supplement block.
143
143
  À: "A",
144
144
  Á: "A",
@@ -331,75 +331,75 @@ var da = {
331
331
  œ: "oe",
332
332
  ʼn: "'n",
333
333
  ſ: "s"
334
- }, ga = la(da);
335
- const fa = ga;
336
- var ma = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ma = "\\u0300-\\u036f", Ia = "\\ufe20-\\ufe2f", pa = "\\u20d0-\\u20ff", va = Ma + Ia + pa, ya = "[" + va + "]", ja = RegExp(ya, "g");
337
- function Aa(t) {
338
- return t = $e(t), t && t.replace(ma, fa).replace(ja, "");
334
+ }, ma = da(ga);
335
+ const fa = ma;
336
+ var Ma = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ia = "\\u0300-\\u036f", pa = "\\ufe20-\\ufe2f", va = "\\u20d0-\\u20ff", ya = Ia + pa + va, ja = "[" + ya + "]", Aa = RegExp(ja, "g");
337
+ function La(t) {
338
+ return t = Xe(t), t && t.replace(Ma, fa).replace(Aa, "");
339
339
  }
340
- var La = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
341
- function Sa(t) {
342
- return t.match(La) || [];
340
+ var Sa = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
341
+ function ha(t) {
342
+ return t.match(Sa) || [];
343
343
  }
344
344
  var Na = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
345
- function ha(t) {
345
+ function Da(t) {
346
346
  return Na.test(t);
347
347
  }
348
- var Ft = "\\ud800-\\udfff", Da = "\\u0300-\\u036f", wa = "\\ufe20-\\ufe2f", Ca = "\\u20d0-\\u20ff", xa = Da + wa + Ca, $t = "\\u2700-\\u27bf", Xt = "a-z\\xdf-\\xf6\\xf8-\\xff", Pa = "\\xac\\xb1\\xd7\\xf7", ba = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ea = "\\u2000-\\u206f", Ta = " \\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", _t = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ra = "\\ufe0e\\ufe0f", Kt = Pa + ba + Ea + Ta, qt = "['’]", mt = "[" + Kt + "]", za = "[" + xa + "]", en = "\\d+", Za = "[" + $t + "]", tn = "[" + Xt + "]", nn = "[^" + Ft + Kt + en + $t + Xt + _t + "]", Oa = "\\ud83c[\\udffb-\\udfff]", Ga = "(?:" + za + "|" + Oa + ")", ka = "[^" + Ft + "]", an = "(?:\\ud83c[\\udde6-\\uddff]){2}", on = "[\\ud800-\\udbff][\\udc00-\\udfff]", $ = "[" + _t + "]", Wa = "\\u200d", Mt = "(?:" + tn + "|" + nn + ")", Ua = "(?:" + $ + "|" + nn + ")", It = "(?:" + qt + "(?:d|ll|m|re|s|t|ve))?", pt = "(?:" + qt + "(?:D|LL|M|RE|S|T|VE))?", rn = Ga + "?", sn = "[" + Ra + "]?", Ba = "(?:" + Wa + "(?:" + [ka, an, on].join("|") + ")" + sn + rn + ")*", Va = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ya = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ha = sn + rn + Ba, Ja = "(?:" + [Za, an, on].join("|") + ")" + Ha, Qa = RegExp([
349
- $ + "?" + tn + "+" + It + "(?=" + [mt, $, "$"].join("|") + ")",
350
- Ua + "+" + pt + "(?=" + [mt, $ + Mt, "$"].join("|") + ")",
351
- $ + "?" + Mt + "+" + It,
352
- $ + "+" + pt,
348
+ var $t = "\\ud800-\\udfff", wa = "\\u0300-\\u036f", Ca = "\\ufe20-\\ufe2f", xa = "\\u20d0-\\u20ff", Pa = wa + Ca + xa, Xt = "\\u2700-\\u27bf", _t = "a-z\\xdf-\\xf6\\xf8-\\xff", ba = "\\xac\\xb1\\xd7\\xf7", Ea = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ta = "\\u2000-\\u206f", Ra = " \\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", Kt = "A-Z\\xc0-\\xd6\\xd8-\\xde", za = "\\ufe0e\\ufe0f", qt = ba + Ea + Ta + Ra, en = "['’]", Mt = "[" + qt + "]", Za = "[" + Pa + "]", tn = "\\d+", Oa = "[" + Xt + "]", nn = "[" + _t + "]", an = "[^" + $t + qt + tn + Xt + _t + Kt + "]", Ga = "\\ud83c[\\udffb-\\udfff]", ka = "(?:" + Za + "|" + Ga + ")", Wa = "[^" + $t + "]", on = "(?:\\ud83c[\\udde6-\\uddff]){2}", rn = "[\\ud800-\\udbff][\\udc00-\\udfff]", _ = "[" + Kt + "]", Ua = "\\u200d", It = "(?:" + nn + "|" + an + ")", Ba = "(?:" + _ + "|" + an + ")", pt = "(?:" + en + "(?:d|ll|m|re|s|t|ve))?", vt = "(?:" + en + "(?:D|LL|M|RE|S|T|VE))?", sn = ka + "?", cn = "[" + za + "]?", Va = "(?:" + Ua + "(?:" + [Wa, on, rn].join("|") + ")" + cn + sn + ")*", Ya = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ha = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ja = cn + sn + Va, Qa = "(?:" + [Oa, on, rn].join("|") + ")" + Ja, Fa = RegExp([
349
+ _ + "?" + nn + "+" + pt + "(?=" + [Mt, _, "$"].join("|") + ")",
350
+ Ba + "+" + vt + "(?=" + [Mt, _ + It, "$"].join("|") + ")",
351
+ _ + "?" + It + "+" + pt,
352
+ _ + "+" + vt,
353
+ Ha,
353
354
  Ya,
354
- Va,
355
- en,
356
- Ja
355
+ tn,
356
+ Qa
357
357
  ].join("|"), "g");
358
- function Fa(t) {
359
- return t.match(Qa) || [];
358
+ function $a(t) {
359
+ return t.match(Fa) || [];
360
360
  }
361
- function $a(t, e, n) {
362
- return t = $e(t), e = n ? void 0 : e, e === void 0 ? ha(t) ? Fa(t) : Sa(t) : t.match(e) || [];
361
+ function Xa(t, e, n) {
362
+ return t = Xe(t), e = n ? void 0 : e, e === void 0 ? Da(t) ? $a(t) : ha(t) : t.match(e) || [];
363
363
  }
364
- var Xa = "['’]", _a = RegExp(Xa, "g");
365
- function Ka(t) {
364
+ var _a = "['’]", Ka = RegExp(_a, "g");
365
+ function qa(t) {
366
366
  return function(e) {
367
- return ua($a(Aa(e).replace(_a, "")), t, "");
367
+ return la(Xa(La(e).replace(Ka, "")), t, "");
368
368
  };
369
369
  }
370
- var qa = function() {
371
- return Ot.Date.now();
370
+ var eo = function() {
371
+ return Gt.Date.now();
372
372
  };
373
- const Re = qa;
374
- var eo = "Expected a function", to = Math.max, no = Math.min;
375
- function io(t, e, n) {
376
- var i, a, o, r, s, c, d = 0, m = !1, u = !1, l = !0;
373
+ const Re = eo;
374
+ var to = "Expected a function", no = Math.max, io = Math.min;
375
+ function ao(t, e, n) {
376
+ var i, a, o, r, s, c, d = 0, f = !1, u = !1, l = !0;
377
377
  if (typeof t != "function")
378
- throw new TypeError(eo);
379
- e = gt(e) || 0, Ge(n) && (m = !!n.leading, u = "maxWait" in n, o = u ? to(gt(n.maxWait) || 0, e) : o, l = "trailing" in n ? !!n.trailing : l);
380
- function f(h) {
378
+ throw new TypeError(to);
379
+ e = mt(e) || 0, Ge(n) && (f = !!n.leading, u = "maxWait" in n, o = u ? no(mt(n.maxWait) || 0, e) : o, l = "trailing" in n ? !!n.trailing : l);
380
+ function m(N) {
381
381
  var P = i, E = a;
382
- return i = a = void 0, d = h, r = t.apply(E, P), r;
382
+ return i = a = void 0, d = N, r = t.apply(E, P), r;
383
383
  }
384
- function M(h) {
385
- return d = h, s = setTimeout(y, e), m ? f(h) : r;
384
+ function M(N) {
385
+ return d = N, s = setTimeout(y, e), f ? m(N) : r;
386
386
  }
387
- function I(h) {
388
- var P = h - c, E = h - d, k = e - P;
389
- return u ? no(k, o - E) : k;
387
+ function I(N) {
388
+ var P = N - c, E = N - d, W = e - P;
389
+ return u ? io(W, o - E) : W;
390
390
  }
391
- function p(h) {
392
- var P = h - c, E = h - d;
391
+ function p(N) {
392
+ var P = N - c, E = N - d;
393
393
  return c === void 0 || P >= e || P < 0 || u && E >= o;
394
394
  }
395
395
  function y() {
396
- var h = Re();
397
- if (p(h))
398
- return v(h);
399
- s = setTimeout(y, I(h));
396
+ var N = Re();
397
+ if (p(N))
398
+ return v(N);
399
+ s = setTimeout(y, I(N));
400
400
  }
401
- function v(h) {
402
- return s = void 0, l && i ? f(h) : (i = a = void 0, r);
401
+ function v(N) {
402
+ return s = void 0, l && i ? m(N) : (i = a = void 0, r);
403
403
  }
404
404
  function L() {
405
405
  s !== void 0 && clearTimeout(s), d = 0, i = c = a = s = void 0;
@@ -407,52 +407,52 @@ function io(t, e, n) {
407
407
  function A() {
408
408
  return s === void 0 ? r : v(Re());
409
409
  }
410
- function x() {
411
- var h = Re(), P = p(h);
412
- if (i = arguments, a = this, c = h, P) {
410
+ function D() {
411
+ var N = Re(), P = p(N);
412
+ if (i = arguments, a = this, c = N, P) {
413
413
  if (s === void 0)
414
414
  return M(c);
415
415
  if (u)
416
- return clearTimeout(s), s = setTimeout(y, e), f(c);
416
+ return clearTimeout(s), s = setTimeout(y, e), m(c);
417
417
  }
418
418
  return s === void 0 && (s = setTimeout(y, e)), r;
419
419
  }
420
- return x.cancel = L, x.flush = A, x;
420
+ return D.cancel = L, D.flush = A, D;
421
421
  }
422
- var ao = Ka(function(t, e, n) {
422
+ var oo = qa(function(t, e, n) {
423
423
  return t + (n ? "-" : "") + e.toLowerCase();
424
424
  });
425
- const cn = ao;
426
- function oo(t, e) {
427
- for (var n = t.length; n-- && Ut(e, t[n], 0) > -1; )
425
+ const un = oo;
426
+ function ro(t, e) {
427
+ for (var n = t.length; n-- && Bt(e, t[n], 0) > -1; )
428
428
  ;
429
429
  return n;
430
430
  }
431
- function ro(t, e) {
432
- for (var n = -1, i = t.length; ++n < i && Ut(e, t[n], 0) > -1; )
431
+ function so(t, e) {
432
+ for (var n = -1, i = t.length; ++n < i && Bt(e, t[n], 0) > -1; )
433
433
  ;
434
434
  return n;
435
435
  }
436
- function so(t, e, n) {
437
- if (t = $e(t), t && (n || e === void 0))
438
- return Wt(t);
439
- if (!t || !(e = Fe(e)))
436
+ function co(t, e, n) {
437
+ if (t = Xe(t), t && (n || e === void 0))
438
+ return Ut(t);
439
+ if (!t || !(e = $e(e)))
440
440
  return t;
441
- var i = ft(t), a = ft(e), o = ro(i, a), r = oo(i, a) + 1;
442
- return ki(i, o, r).join("");
441
+ var i = ft(t), a = ft(e), o = so(i, a), r = ro(i, a) + 1;
442
+ return Wi(i, o, r).join("");
443
443
  }
444
444
  function j(t) {
445
- return zt({
445
+ return Zt({
446
446
  name: t.name,
447
447
  inheritAttrs: !1,
448
448
  setup(e, n) {
449
- const { attrs: i, slots: a, emit: o } = n, r = i, s = o, c = (m, u) => {
450
- const l = cn(m);
451
- s(m, u), m !== l && s(l, u);
449
+ const { attrs: i, slots: a, emit: o } = n, r = i, s = o, c = (f, u) => {
450
+ const l = un(f);
451
+ s(f, u), f !== l && s(l, u);
452
452
  }, d = new Proxy(a, {
453
- get(m, u, l) {
454
- var f;
455
- return (f = Reflect.get(m, u, l)) != null ? f : Reflect.get(r, u);
453
+ get(f, u, l) {
454
+ var m;
455
+ return (m = Reflect.get(f, u, l)) != null ? m : Reflect.get(r, u);
456
456
  }
457
457
  });
458
458
  return t(r, { ...n, slots: d, emit: c });
@@ -461,18 +461,18 @@ function j(t) {
461
461
  }
462
462
  function de(t) {
463
463
  return {
464
- props: (e) => zt({
464
+ props: (e) => Zt({
465
465
  name: t.name,
466
466
  inheritAttrs: !1,
467
467
  props: e,
468
468
  setup(n, i) {
469
- const a = n, { slots: o, emit: r } = i, s = r, c = (m, u) => {
470
- const l = cn(m);
471
- s(m, u), m !== l && s(l, u);
469
+ const a = n, { slots: o, emit: r } = i, s = r, c = (f, u) => {
470
+ const l = un(f);
471
+ s(f, u), f !== l && s(l, u);
472
472
  }, d = new Proxy(o, {
473
- get(m, u, l) {
474
- var f;
475
- return (f = Reflect.get(m, u, l)) != null ? f : Reflect.get(a, u);
473
+ get(f, u, l) {
474
+ var m;
475
+ return (m = Reflect.get(f, u, l)) != null ? m : Reflect.get(a, u);
476
476
  }
477
477
  });
478
478
  return t(a, { ...i, slots: d, emit: c });
@@ -480,16 +480,16 @@ function de(t) {
480
480
  })
481
481
  };
482
482
  }
483
- const G = g, ce = "zh-CN";
484
- var co = "n8tgem1", vt = "n8tgem0", uo = "n8tgem5", lo = "n8tgem4", go = "n8tgem2", fo = "n8tgem3", mo = "n8tgem7", Mo = "n8tgem6";
485
- const Io = j(function(e) {
486
- const n = D(() => {
483
+ const k = g, ce = "zh-CN";
484
+ var uo = "n8tgem1", yt = "n8tgem0", lo = "n8tgem5", go = "n8tgem4", mo = "n8tgem2", fo = "n8tgem3", Mo = "n8tgem7", Io = "n8tgem6";
485
+ const po = j(function(e) {
486
+ const n = w(() => {
487
487
  var i;
488
488
  return (i = e.value) == null ? void 0 : i.split(`
489
489
  `).flatMap((a, o) => o === 0 ? a : [g("br"), a]);
490
490
  });
491
491
  return () => g("div", [n.value]);
492
- }), po = j(function(e, {
492
+ }), vo = j(function(e, {
493
493
  emit: n
494
494
  }) {
495
495
  const i = () => n("click");
@@ -500,47 +500,47 @@ const Io = j(function(e) {
500
500
  description: r
501
501
  } = e;
502
502
  return a === "locator" ? g("div", {
503
- class: vt
503
+ class: yt
504
504
  }, [g("img", {
505
- class: mo,
505
+ class: Mo,
506
506
  attrs: {
507
- src: Je
507
+ src: Qe
508
508
  }
509
509
  })]) : g("div", {
510
- class: vt
510
+ class: yt
511
511
  }, [g("div", {
512
- class: co,
512
+ class: uo,
513
513
  on: {
514
514
  click: i
515
515
  }
516
516
  }, [g("div", {
517
- class: go
518
- }, [g(Io, {
517
+ class: mo
518
+ }, [g(po, {
519
519
  class: fo,
520
520
  attrs: {
521
521
  value: o
522
522
  }
523
523
  }), !!r && g("div", {
524
- class: lo
524
+ class: go
525
525
  }, [r])]), g("img", {
526
- class: uo,
526
+ class: lo,
527
527
  attrs: {
528
- src: Qe
528
+ src: Fe
529
529
  }
530
530
  })]), g("i", {
531
- class: Mo
531
+ class: Io
532
532
  })]);
533
533
  };
534
- }), B = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxjaXJjbGUgaWQ9InBhdGgtMSIgY3g9IjQuNSIgY3k9IjkuNSIgcj0iNC41Ij48L2NpcmNsZT4KICAgICAgICA8ZmlsdGVyIHg9Ii02MS4xJSIgeT0iLTYxLjElIiB3aWR0aD0iMjIyLjIlIiBoZWlnaHQ9IjIyMi4yJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0iZmlsdGVyLTIiPgogICAgICAgICAgICA8ZmVNb3JwaG9sb2d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ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", ln = Symbol(), h = () => {
535
+ const t = He(ln);
536
536
  if (!t)
537
537
  throw new Error("MyError: useMapSupplier should be under MapProvider");
538
538
  return t;
539
- }, vo = (t) => He(un, t), ln = Symbol("amap"), ge = () => Ye(ln), yo = (t) => He(ln, t), dn = Symbol("gmap"), fe = () => Ye(dn), jo = (t) => He(dn, t), gn = () => {
540
- const { supplier: t } = N();
541
- return t === "gmap" ? fe() : ge();
542
- }, Ao = (t) => {
543
- const e = gn();
539
+ }, yo = (t) => Je(ln, t), dn = Symbol("amap"), ge = () => He(dn), jo = (t) => Je(dn, t), gn = Symbol("gmap"), me = () => He(gn), Ao = (t) => Je(gn, t), mn = () => {
540
+ const { supplier: t } = h();
541
+ return t === "gmap" ? me() : ge();
542
+ }, Lo = (t) => {
543
+ const e = mn();
544
544
  T(
545
545
  () => e.value,
546
546
  (n) => {
@@ -550,30 +550,30 @@ const Io = j(function(e) {
550
550
  immediate: !0
551
551
  }
552
552
  );
553
- }, fn = () => new Promise((t) => Ao(t)), mn = (t) => {
553
+ }, fn = () => new Promise((t) => Lo(t)), Mn = (t) => {
554
554
  const { registerOverlay: e, overlayRef: n } = t;
555
- te(() => {
555
+ ne(() => {
556
556
  const i = n.value;
557
557
  i && (e == null || e.add(i));
558
558
  }), le(() => {
559
559
  const i = n.value;
560
560
  i && (e == null || e.remove(i));
561
561
  });
562
- }, yt = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
563
- var Lo = typeof WeakMap == "function", jt = Object.keys;
564
- function Ae(t, e) {
562
+ }, jt = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
563
+ var So = typeof WeakMap == "function", At = Object.keys;
564
+ function je(t, e) {
565
565
  return t === e || t !== t && e !== e;
566
566
  }
567
- function At(t) {
567
+ function Lt(t) {
568
568
  return t.constructor === Object || t.constructor == null;
569
569
  }
570
- function Lt(t) {
570
+ function St(t) {
571
571
  return !!t && typeof t.then == "function";
572
572
  }
573
- function St(t) {
573
+ function ht(t) {
574
574
  return !!(t && t.$$typeof);
575
575
  }
576
- function So() {
576
+ function ho() {
577
577
  var t = [];
578
578
  return {
579
579
  delete: function(e) {
@@ -601,17 +601,17 @@ function So() {
601
601
  var No = function(t) {
602
602
  return t ? function() {
603
603
  return /* @__PURE__ */ new WeakMap();
604
- } : So;
605
- }(Lo);
606
- function Mn(t) {
604
+ } : ho;
605
+ }(So);
606
+ function In(t) {
607
607
  return function(n) {
608
608
  var i = t || n;
609
- return function(o, r, s, c, d, m, u) {
609
+ return function(o, r, s, c, d, f, u) {
610
610
  u === void 0 && (u = No());
611
- var l = !!o && typeof o == "object", f = !!r && typeof r == "object";
612
- if (l !== f)
611
+ var l = !!o && typeof o == "object", m = !!r && typeof r == "object";
612
+ if (l !== m)
613
613
  return !1;
614
- if (!l && !f)
614
+ if (!l && !m)
615
615
  return i(o, r, u);
616
616
  var M = u.get(o);
617
617
  if (M && u.get(r))
@@ -622,7 +622,7 @@ function Mn(t) {
622
622
  };
623
623
  };
624
624
  }
625
- function ho(t, e, n, i) {
625
+ function Do(t, e, n, i) {
626
626
  var a = t.length;
627
627
  if (e.length !== a)
628
628
  return !1;
@@ -631,62 +631,62 @@ function ho(t, e, n, i) {
631
631
  return !1;
632
632
  return !0;
633
633
  }
634
- function Do(t, e, n, i) {
634
+ function wo(t, e, n, i) {
635
635
  var a = t.size === e.size;
636
636
  if (a && t.size) {
637
637
  var o = {}, r = 0;
638
638
  t.forEach(function(s, c) {
639
639
  if (a) {
640
- var d = !1, m = 0;
640
+ var d = !1, f = 0;
641
641
  e.forEach(function(u, l) {
642
- !d && !o[m] && (d = n(c, l, r, m, t, e, i) && n(s, u, c, l, t, e, i), d && (o[m] = !0)), m++;
642
+ !d && !o[f] && (d = n(c, l, r, f, t, e, i) && n(s, u, c, l, t, e, i), d && (o[f] = !0)), f++;
643
643
  }), r++, a = d;
644
644
  }
645
645
  });
646
646
  }
647
647
  return a;
648
648
  }
649
- var wo = "_owner", Co = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
649
+ var Co = "_owner", xo = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
650
650
  function Nt(t, e, n, i) {
651
- var a = jt(t), o = a.length;
652
- if (jt(e).length !== o)
651
+ var a = At(t), o = a.length;
652
+ if (At(e).length !== o)
653
653
  return !1;
654
654
  if (o)
655
655
  for (var r = void 0; o-- > 0; ) {
656
- if (r = a[o], r === wo) {
657
- var s = St(t), c = St(e);
656
+ if (r = a[o], r === Co) {
657
+ var s = ht(t), c = ht(e);
658
658
  if ((s || c) && s !== c)
659
659
  return !1;
660
660
  }
661
- if (!Co(e, r) || !n(t[r], e[r], r, r, t, e, i))
661
+ if (!xo(e, r) || !n(t[r], e[r], r, r, t, e, i))
662
662
  return !1;
663
663
  }
664
664
  return !0;
665
665
  }
666
- var xo = function() {
666
+ var Po = function() {
667
667
  return /foo/g.flags === "g" ? function(e, n) {
668
668
  return e.source === n.source && e.flags === n.flags;
669
669
  } : function(e, n) {
670
670
  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;
671
671
  };
672
672
  }();
673
- function Po(t, e, n, i) {
673
+ function bo(t, e, n, i) {
674
674
  var a = t.size === e.size;
675
675
  if (a && t.size) {
676
676
  var o = {};
677
677
  t.forEach(function(r, s) {
678
678
  if (a) {
679
679
  var c = !1, d = 0;
680
- e.forEach(function(m, u) {
681
- !c && !o[d] && (c = n(r, m, s, u, t, e, i), c && (o[d] = !0)), d++;
680
+ e.forEach(function(f, u) {
681
+ !c && !o[d] && (c = n(r, f, s, u, t, e, i), c && (o[d] = !0)), d++;
682
682
  }), a = c;
683
683
  }
684
684
  });
685
685
  }
686
686
  return a;
687
687
  }
688
- var bo = typeof Map == "function", Eo = typeof Set == "function", ht = Object.prototype.valueOf;
689
- function me(t) {
688
+ var Eo = typeof Map == "function", To = typeof Set == "function", Dt = Object.prototype.valueOf;
689
+ function fe(t) {
690
690
  var e = (
691
691
  /* eslint-disable no-use-before-define */
692
692
  typeof t == "function" ? t(n) : function(i, a, o, r, s, c, d) {
@@ -697,41 +697,41 @@ function me(t) {
697
697
  if (i === a)
698
698
  return !0;
699
699
  if (i && a && typeof i == "object" && typeof a == "object") {
700
- if (At(i) && At(a))
700
+ if (Lt(i) && Lt(a))
701
701
  return Nt(i, a, e, o);
702
702
  var r = Array.isArray(i), s = Array.isArray(a);
703
- return r || s ? r === s && ho(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && Ae(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && xo(i, a) : Lt(i) || Lt(a) ? i === a : bo && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && Do(i, a, e, o) : Eo && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Po(i, a, e, o) : i.valueOf !== ht || a.valueOf !== ht ? Ae(i.valueOf(), a.valueOf()) : Nt(i, a, e, o)));
703
+ return r || s ? r === s && Do(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && je(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && Po(i, a) : St(i) || St(a) ? i === a : Eo && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && wo(i, a, e, o) : To && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && bo(i, a, e, o) : i.valueOf !== Dt || a.valueOf !== Dt ? je(i.valueOf(), a.valueOf()) : Nt(i, a, e, o)));
704
704
  }
705
705
  return i !== i && a !== a;
706
706
  }
707
707
  return n;
708
708
  }
709
- me();
710
- me(function() {
711
- return Ae;
709
+ fe();
710
+ fe(function() {
711
+ return je;
712
712
  });
713
- me(Mn());
714
- me(Mn(Ae));
713
+ fe(In());
714
+ fe(In(je));
715
715
  const R = ([t, e]) => ({
716
716
  lng: t,
717
717
  lat: e
718
- }), xe = (t) => {
718
+ }), Ce = (t) => {
719
719
  const e = [], n = t.split("*");
720
720
  for (const [i, a] of n.entries())
721
721
  a && e.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
722
722
  return e;
723
- }, In = (t) => `${t.charAt(2).toLocaleLowerCase()}${t.slice(3)}`, pn = (t) => t.slice(2).toLowerCase(), To = (t) => {
723
+ }, pn = (t) => `${t.charAt(2).toLocaleLowerCase()}${t.slice(3)}`, vn = (t) => t.slice(2).toLowerCase(), Ro = (t) => {
724
724
  switch (t) {
725
725
  case "en":
726
726
  return "style_en";
727
727
  case "zh":
728
728
  return "style_zh_cn";
729
729
  }
730
- }, C = (t) => [t.lng, t.lat], Le = (t) => (...e) => {
730
+ }, x = (t) => [t.lng, t.lat], Ae = (t) => (...e) => {
731
731
  Promise.resolve().then(() => t == null ? void 0 : t(...e));
732
732
  }, ze = (t) => (...e) => {
733
733
  setTimeout(() => t == null ? void 0 : t(...e), 1e3);
734
- }, Dt = (t) => {
734
+ }, wt = (t) => {
735
735
  const { address_components: e } = t, n = e.find(
736
736
  (a) => a.types[0] === "administrative_area_level_1" || a.types[0] === "administrative_area_level_2"
737
737
  );
@@ -740,40 +740,40 @@ const R = ([t, e]) => ({
740
740
  const i = e.findIndex((a) => a.types[0] === "country");
741
741
  if (i > 0)
742
742
  return e[i - 1].long_name;
743
- }, Ro = (t, e) => t.lng === (e == null ? void 0 : e.lng) && t.lat === (e == null ? void 0 : e.lat), vn = (t, e) => t[0] === (e == null ? void 0 : e[0]) && t[1] === (e == null ? void 0 : e[1]), yn = me((t) => (e, n) => yt(e) || yt(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
744
- function Xe() {
743
+ }, zo = (t, e) => t.lng === (e == null ? void 0 : e.lng) && t.lat === (e == null ? void 0 : e.lat), yn = (t, e) => t[0] === (e == null ? void 0 : e[0]) && t[1] === (e == null ? void 0 : e[1]), jn = fe((t) => (e, n) => jt(e) || jt(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
744
+ function _e() {
745
745
  let t;
746
746
  return function(n) {
747
- return yn(n, t) || (t = n), t;
747
+ return jn(n, t) || (t = n), t;
748
748
  };
749
749
  }
750
750
  function Me(t, e, n) {
751
- const i = Xe();
751
+ const i = _e();
752
752
  return T(() => i(t()), e, {
753
753
  immediate: !1,
754
754
  flush: "post",
755
755
  ...n
756
756
  });
757
757
  }
758
- function ne(t, e, n) {
759
- const i = Xe();
758
+ function ie(t, e, n) {
759
+ const i = _e();
760
760
  return T(() => i(t()), e, {
761
761
  immediate: !0,
762
762
  flush: "post",
763
763
  ...n
764
764
  });
765
765
  }
766
- function zo(t, e, n) {
767
- const i = Xe();
766
+ function Zo(t, e, n) {
767
+ const i = _e();
768
768
  return T(() => i(t()), e, {
769
769
  immediate: !0,
770
770
  ...n
771
771
  });
772
772
  }
773
- function Zo(t) {
773
+ function Oo(t) {
774
774
  return `set${t.charAt(0).toUpperCase()}${t.slice(1)}`;
775
775
  }
776
- function Oo(t, e, n, i) {
776
+ function Go(t, e, n, i) {
777
777
  const a = n.map(
778
778
  ({ name: o }) => () => e[o]
779
779
  );
@@ -783,8 +783,8 @@ function Oo(t, e, n, i) {
783
783
  const s = t.value;
784
784
  if (s)
785
785
  for (const [c, d] of o.entries()) {
786
- const { name: m, defaultValue: u } = n[c], l = r[c];
787
- yn(d, l) || s[Zo(m)](d != null ? d : u);
786
+ const { name: f, defaultValue: u } = n[c], l = r[c];
787
+ jn(d, l) || s[Oo(f)](d != null ? d : u);
788
788
  }
789
789
  },
790
790
  {
@@ -794,21 +794,21 @@ function Oo(t, e, n, i) {
794
794
  }
795
795
  );
796
796
  }
797
- function _e(t, e, n, i) {
798
- return Oo(t, e, n, {
797
+ function Ke(t, e, n, i) {
798
+ return Go(t, e, n, {
799
799
  immediate: !1,
800
800
  ...i
801
801
  });
802
802
  }
803
- function q(t, e, n, i) {
803
+ function te(t, e, n, i) {
804
804
  H((a) => {
805
805
  const o = t == null ? void 0 : t.value;
806
806
  if (!o)
807
807
  return;
808
808
  const r = [];
809
809
  for (const s of i) {
810
- const c = In(s), d = pn(s), m = (u) => n(c, u);
811
- o.on(d, m), r.push(() => o == null ? void 0 : o.off(d, m));
810
+ const c = pn(s), d = vn(s), f = (u) => n(c, u);
811
+ o.on(d, f), r.push(() => o == null ? void 0 : o.off(d, f));
812
812
  }
813
813
  a(() => {
814
814
  for (const s of r)
@@ -823,7 +823,7 @@ function F(t, e, n, i) {
823
823
  return;
824
824
  const r = [];
825
825
  for (const s of i) {
826
- const c = In(s), d = pn(s), m = (l) => n(c, l), u = o.addListener(d, m);
826
+ const c = pn(s), d = vn(s), f = (l) => n(c, l), u = o.addListener(d, f);
827
827
  r.push(() => google.maps.event.removeListener(u));
828
828
  }
829
829
  a(() => {
@@ -834,16 +834,16 @@ function F(t, e, n, i) {
834
834
  }
835
835
  const V = j(function(e, { emit: n }) {
836
836
  const { registerOverlay: i } = e, a = z(), o = ge();
837
- return te(() => {
837
+ return ne(() => {
838
838
  a.value = new AMap.Marker({ ...e });
839
839
  }), le(() => {
840
840
  var r;
841
841
  (r = a.value) == null || r.setMap(null);
842
- }), mn({ registerOverlay: i, overlayRef: a }), H(() => {
842
+ }), Mn({ registerOverlay: i, overlayRef: a }), H(() => {
843
843
  var s;
844
844
  const r = o == null ? void 0 : o.value;
845
845
  r && ((s = a.value) == null || s.setMap(r));
846
- }), _e(a, e, [
846
+ }), Ke(a, e, [
847
847
  { name: "anchor", defaultValue: "" },
848
848
  { name: "offset", defaultValue: [0, 0] },
849
849
  { name: "clickable", defaultValue: !1 },
@@ -857,10 +857,10 @@ const V = j(function(e, { emit: n }) {
857
857
  { name: "content", defaultValue: "" },
858
858
  { name: "title", defaultValue: "" },
859
859
  { name: "extData", defaultValue: "" }
860
- ]), q(a, e, n, ["onClick"]), () => null;
860
+ ]), te(a, e, n, ["onClick"]), () => null;
861
861
  }), Y = j(function(e, { emit: n }) {
862
- const { registerOverlay: i } = e, a = z(), o = fe(), r = (s) => n(s, { target: a.value });
863
- return mn({ registerOverlay: i, overlayRef: a }), te(() => {
862
+ const { registerOverlay: i } = e, a = z(), o = me(), r = (s) => n(s, { target: a.value });
863
+ return Mn({ registerOverlay: i, overlayRef: a }), ne(() => {
864
864
  const { registerOverlay: s, ...c } = e;
865
865
  a.value = new google.maps.marker.AdvancedMarkerView({ ...c }), a.value.addListener;
866
866
  }), le(() => {
@@ -889,10 +889,10 @@ const V = j(function(e, { emit: n }) {
889
889
  const { class: i, ...a } = e != null ? e : {}, o = document.createElement(t);
890
890
  return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
891
891
  };
892
- var jn = "rgf09w0";
893
- const An = j(function(e) {
894
- const n = D(() => `
895
- <img src="${Je}" class="${jn}">
892
+ var An = "rgf09w0";
893
+ const Ln = j(function(e) {
894
+ const n = w(() => `
895
+ <img src="${Qe}" class="${An}">
896
896
  `);
897
897
  return () => g(V, {
898
898
  attrs: {
@@ -901,10 +901,10 @@ const An = j(function(e) {
901
901
  anchor: "bottom-center"
902
902
  }
903
903
  });
904
- }), Ln = j(function(e) {
905
- const n = D(() => O("img", {
906
- class: jn,
907
- src: Je
904
+ }), Sn = j(function(e) {
905
+ const n = w(() => O("img", {
906
+ class: An,
907
+ src: Qe
908
908
  }));
909
909
  return () => g(Y, {
910
910
  attrs: {
@@ -914,30 +914,30 @@ const An = j(function(e) {
914
914
  });
915
915
  });
916
916
  j(function(e) {
917
- const n = N();
918
- return () => G(n.supplier === "gmap" ? Ln : An, {
917
+ const n = h();
918
+ return () => k(n.supplier === "gmap" ? Sn : Ln, {
919
919
  attrs: e
920
920
  });
921
921
  });
922
- var Sn = "_15rq2xn1", Nn = "_15rq2xn0", hn = "_15rq2xn3", Dn = "_15rq2xn2", wn = "_15rq2xn4", Cn = "_15rq2xn6", xn = "_15rq2xn5";
923
- const Go = j(function(e) {
924
- const n = D(() => {
922
+ var hn = "_15rq2xn1", Nn = "_15rq2xn0", Dn = "_15rq2xn3", wn = "_15rq2xn2", Cn = "_15rq2xn4", xn = "_15rq2xn6", Pn = "_15rq2xn5";
923
+ const ko = j(function(e) {
924
+ const n = w(() => {
925
925
  var i;
926
926
  return `
927
927
  <div class="${Nn}">
928
- <div class="${Sn}">
928
+ <div class="${hn}">
929
929
  <div>
930
- <div class="${Dn}">${e.title}</div>
931
- <div class="${hn}">${(i = e.description) != null ? i : ""}</div>
930
+ <div class="${wn}">${e.title}</div>
931
+ <div class="${Dn}">${(i = e.description) != null ? i : ""}</div>
932
932
  </div>
933
- <img class="${wn}" src="${Qe}" >
933
+ <img class="${Cn}" src="${Fe}" >
934
934
  </div>
935
- <div class="${xn}"></div>
936
- <img src="${B}" class="${Cn}">
935
+ <div class="${Pn}"></div>
936
+ <img src="${B}" class="${xn}">
937
937
  </div>
938
938
  `;
939
939
  });
940
- return () => e.type === "locator" ? g(An, {
940
+ return () => e.type === "locator" ? g(Ln, {
941
941
  attrs: {
942
942
  position: e.position
943
943
  }
@@ -948,24 +948,24 @@ const Go = j(function(e) {
948
948
  anchor: "bottom-center"
949
949
  }
950
950
  });
951
- }), ko = j(function(e) {
952
- const n = D(() => {
951
+ }), Wo = j(function(e) {
952
+ const n = w(() => {
953
953
  var i;
954
954
  return O("div", {
955
955
  class: Nn
956
956
  }, `
957
- <div class="${Sn}">
957
+ <div class="${hn}">
958
958
  <div>
959
- <div class="${Dn}">${e.title}</div>
960
- <div class="${hn}">${(i = e.description) != null ? i : ""}</div>
959
+ <div class="${wn}">${e.title}</div>
960
+ <div class="${Dn}">${(i = e.description) != null ? i : ""}</div>
961
961
  </div>
962
- <img class="${wn}" src="${Qe}" >
962
+ <img class="${Cn}" src="${Fe}" >
963
963
  </div>
964
- <div class="${xn}"></div>
965
- <img src="${B}" class="${Cn}">
964
+ <div class="${Pn}"></div>
965
+ <img src="${B}" class="${xn}">
966
966
  `);
967
967
  });
968
- return () => e.type === "locator" ? g(Ln, {
968
+ return () => e.type === "locator" ? g(Sn, {
969
969
  attrs: {
970
970
  position: e.position
971
971
  }
@@ -975,13 +975,13 @@ const Go = j(function(e) {
975
975
  content: n.value
976
976
  }
977
977
  });
978
- }), js = j(function(e) {
979
- const n = N();
980
- return () => G(n.supplier === "gmap" ? ko : Go, {
978
+ }), As = j(function(e) {
979
+ const n = h();
980
+ return () => k(n.supplier === "gmap" ? Wo : ko, {
981
981
  attrs: e
982
982
  });
983
983
  });
984
- var Ue = {}, Wo = {
984
+ var Ue = {}, Uo = {
985
985
  get exports() {
986
986
  return Ue;
987
987
  },
@@ -992,24 +992,24 @@ var Ue = {}, Wo = {
992
992
  (function(t, e) {
993
993
  (function(n, i) {
994
994
  t.exports = i();
995
- })(si, function() {
995
+ })(ci, function() {
996
996
  function n(u) {
997
997
  var l = [];
998
998
  return u.AMapUI && l.push(i(u.AMapUI)), u.Loca && l.push(a(u.Loca)), Promise.all(l);
999
999
  }
1000
1000
  function i(u) {
1001
- return new Promise(function(l, f) {
1001
+ return new Promise(function(l, m) {
1002
1002
  var M = [];
1003
1003
  if (u.plugins)
1004
1004
  for (var I = 0; I < u.plugins.length; I += 1)
1005
1005
  r.AMapUI.plugins.indexOf(u.plugins[I]) == -1 && M.push(u.plugins[I]);
1006
1006
  if (s.AMapUI === o.failed)
1007
- f("前次请求 AMapUI 失败");
1007
+ m("前次请求 AMapUI 失败");
1008
1008
  else if (s.AMapUI === o.notload) {
1009
1009
  s.AMapUI = o.loading, r.AMapUI.version = u.version || r.AMapUI.version, I = r.AMapUI.version;
1010
1010
  var p = document.body || document.head, y = document.createElement("script");
1011
1011
  y.type = "text/javascript", y.src = "https://webapi.amap.com/ui/" + I + "/main.js", y.onerror = function(v) {
1012
- s.AMapUI = o.failed, f("请求 AMapUI 失败");
1012
+ s.AMapUI = o.failed, m("请求 AMapUI 失败");
1013
1013
  }, y.onload = function() {
1014
1014
  if (s.AMapUI = o.loaded, M.length)
1015
1015
  window.AMapUI.loadUI(M, function() {
@@ -1025,17 +1025,17 @@ var Ue = {}, Wo = {
1025
1025
  c.AMapUI.splice(0, 1)[0]();
1026
1026
  }, p.appendChild(y);
1027
1027
  } else
1028
- s.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? f("不允许多个版本 AMapUI 混用") : M.length ? window.AMapUI.loadUI(M, function() {
1028
+ s.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? m("不允许多个版本 AMapUI 混用") : M.length ? window.AMapUI.loadUI(M, function() {
1029
1029
  for (var v = 0, L = M.length; v < L; v++) {
1030
1030
  var A = M[v].split("/").slice(-1)[0];
1031
1031
  window.AMapUI[A] = arguments[v];
1032
1032
  }
1033
1033
  l();
1034
- }) : l() : u.version && u.version !== r.AMapUI.version ? f("不允许多个版本 AMapUI 混用") : c.AMapUI.push(function(v) {
1035
- v ? f(v) : M.length ? window.AMapUI.loadUI(M, function() {
1034
+ }) : l() : u.version && u.version !== r.AMapUI.version ? m("不允许多个版本 AMapUI 混用") : c.AMapUI.push(function(v) {
1035
+ v ? m(v) : M.length ? window.AMapUI.loadUI(M, function() {
1036
1036
  for (var L = 0, A = M.length; L < A; L++) {
1037
- var x = M[L].split("/").slice(-1)[0];
1038
- window.AMapUI[x] = arguments[L];
1037
+ var D = M[L].split("/").slice(-1)[0];
1038
+ window.AMapUI[D] = arguments[L];
1039
1039
  }
1040
1040
  l();
1041
1041
  }) : l();
@@ -1043,27 +1043,27 @@ var Ue = {}, Wo = {
1043
1043
  });
1044
1044
  }
1045
1045
  function a(u) {
1046
- return new Promise(function(l, f) {
1046
+ return new Promise(function(l, m) {
1047
1047
  if (s.Loca === o.failed)
1048
- f("前次请求 Loca 失败");
1048
+ m("前次请求 Loca 失败");
1049
1049
  else if (s.Loca === o.notload) {
1050
1050
  s.Loca = o.loading, r.Loca.version = u.version || r.Loca.version;
1051
1051
  var M = r.Loca.version, I = r.AMap.version.startsWith("2"), p = M.startsWith("2");
1052
1052
  if (I && !p || !I && p)
1053
- f("JSAPI 与 Loca 版本不对应!!");
1053
+ m("JSAPI 与 Loca 版本不对应!!");
1054
1054
  else {
1055
1055
  I = r.key, p = document.body || document.head;
1056
1056
  var y = document.createElement("script");
1057
1057
  y.type = "text/javascript", y.src = "https://webapi.amap.com/loca?v=" + M + "&key=" + I, y.onerror = function(v) {
1058
- s.Loca = o.failed, f("请求 AMapUI 失败");
1058
+ s.Loca = o.failed, m("请求 AMapUI 失败");
1059
1059
  }, y.onload = function() {
1060
1060
  for (s.Loca = o.loaded, l(); c.Loca.length; )
1061
1061
  c.Loca.splice(0, 1)[0]();
1062
1062
  }, p.appendChild(y);
1063
1063
  }
1064
1064
  } else
1065
- s.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? f("不允许多个版本 Loca 混用") : l() : u.version && u.version !== r.Loca.version ? f("不允许多个版本 Loca 混用") : c.Loca.push(function(v) {
1066
- v ? f(v) : f();
1065
+ s.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? m("不允许多个版本 Loca 混用") : l() : u.version && u.version !== r.Loca.version ? m("不允许多个版本 Loca 混用") : c.Loca.push(function(v) {
1066
+ v ? m(v) : m();
1067
1067
  });
1068
1068
  });
1069
1069
  }
@@ -1073,31 +1073,31 @@ var Ue = {}, Wo = {
1073
1073
  (function(u) {
1074
1074
  u.notload = "notload", u.loading = "loading", u.loaded = "loaded", u.failed = "failed";
1075
1075
  })(o || (o = {}));
1076
- 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 }, c = { AMap: [], AMapUI: [], Loca: [] }, d = [], m = function(u) {
1076
+ 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 }, c = { AMap: [], AMapUI: [], Loca: [] }, d = [], f = function(u) {
1077
1077
  typeof u == "function" && (s.AMap === o.loaded ? u(window.AMap) : d.push(u));
1078
1078
  };
1079
1079
  return { load: function(u) {
1080
- return new Promise(function(l, f) {
1080
+ return new Promise(function(l, m) {
1081
1081
  if (s.AMap == o.failed)
1082
- f("");
1082
+ m("");
1083
1083
  else if (s.AMap == o.notload) {
1084
1084
  var M = u.key, I = u.version, p = u.plugins;
1085
- M ? (window.AMap && location.host !== "lbs.amap.com" && f("禁止多种API加载方式混用"), r.key = M, r.AMap.version = I || r.AMap.version, r.AMap.plugins = p || r.AMap.plugins, s.AMap = o.loading, I = document.body || document.head, window.___onAPILoaded = function(v) {
1085
+ M ? (window.AMap && location.host !== "lbs.amap.com" && m("禁止多种API加载方式混用"), r.key = M, r.AMap.version = I || r.AMap.version, r.AMap.plugins = p || r.AMap.plugins, s.AMap = o.loading, I = document.body || document.head, window.___onAPILoaded = function(v) {
1086
1086
  if (delete window.___onAPILoaded, v)
1087
- s.AMap = o.failed, f(v);
1087
+ s.AMap = o.failed, m(v);
1088
1088
  else
1089
1089
  for (s.AMap = o.loaded, n(u).then(function() {
1090
1090
  l(window.AMap);
1091
- }).catch(f); d.length; )
1091
+ }).catch(m); d.length; )
1092
1092
  d.splice(0, 1)[0]();
1093
1093
  }, p = document.createElement("script"), p.type = "text/javascript", p.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + M + "&plugin=" + r.AMap.plugins.join(","), p.onerror = function(v) {
1094
- s.AMap = o.failed, f(v);
1095
- }, I.appendChild(p)) : f("请填写key");
1094
+ s.AMap = o.failed, m(v);
1095
+ }, I.appendChild(p)) : m("请填写key");
1096
1096
  } else if (s.AMap == o.loaded)
1097
1097
  if (u.key && u.key !== r.key)
1098
- f("多个不一致的 key");
1098
+ m("多个不一致的 key");
1099
1099
  else if (u.version && u.version !== r.AMap.version)
1100
- f("不允许多个版本 JSAPI 混用");
1100
+ m("不允许多个版本 JSAPI 混用");
1101
1101
  else {
1102
1102
  if (M = [], u.plugins)
1103
1103
  for (I = 0; I < u.plugins.length; I += 1)
@@ -1105,28 +1105,28 @@ var Ue = {}, Wo = {
1105
1105
  M.length ? window.AMap.plugin(M, function() {
1106
1106
  n(u).then(function() {
1107
1107
  l(window.AMap);
1108
- }).catch(f);
1108
+ }).catch(m);
1109
1109
  }) : n(u).then(function() {
1110
1110
  l(window.AMap);
1111
- }).catch(f);
1111
+ }).catch(m);
1112
1112
  }
1113
1113
  else if (u.key && u.key !== r.key)
1114
- f("多个不一致的 key");
1114
+ m("多个不一致的 key");
1115
1115
  else if (u.version && u.version !== r.AMap.version)
1116
- f("不允许多个版本 JSAPI 混用");
1116
+ m("不允许多个版本 JSAPI 混用");
1117
1117
  else {
1118
1118
  var y = [];
1119
1119
  if (u.plugins)
1120
1120
  for (I = 0; I < u.plugins.length; I += 1)
1121
1121
  r.AMap.plugins.indexOf(u.plugins[I]) == -1 && y.push(u.plugins[I]);
1122
- m(function() {
1122
+ f(function() {
1123
1123
  y.length ? window.AMap.plugin(y, function() {
1124
1124
  n(u).then(function() {
1125
1125
  l(window.AMap);
1126
- }).catch(f);
1126
+ }).catch(m);
1127
1127
  }) : n(u).then(function() {
1128
1128
  l(window.AMap);
1129
- }).catch(f);
1129
+ }).catch(m);
1130
1130
  });
1131
1131
  }
1132
1132
  });
@@ -1138,8 +1138,8 @@ var Ue = {}, Wo = {
1138
1138
  }, c = { AMap: [], AMapUI: [], Loca: [] };
1139
1139
  } };
1140
1140
  });
1141
- })(Wo);
1142
- var Uo = function t(e, n) {
1141
+ })(Uo);
1142
+ var Bo = function t(e, n) {
1143
1143
  if (e === n)
1144
1144
  return !0;
1145
1145
  if (e && n && typeof e == "object" && typeof n == "object") {
@@ -1174,11 +1174,11 @@ var Uo = function t(e, n) {
1174
1174
  }
1175
1175
  return e !== e && n !== n;
1176
1176
  };
1177
- const wt = "__googleMapsScriptId";
1178
- var X;
1177
+ const Ct = "__googleMapsScriptId";
1178
+ var K;
1179
1179
  (function(t) {
1180
1180
  t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
1181
- })(X || (X = {}));
1181
+ })(K || (K = {}));
1182
1182
  class Q {
1183
1183
  /**
1184
1184
  * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
@@ -1189,9 +1189,9 @@ class Q {
1189
1189
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1190
1190
  * ```
1191
1191
  */
1192
- constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = wt, language: r, libraries: s = [], mapIds: c, nonce: d, region: m, retries: u = 3, url: l = "https://maps.googleapis.com/maps/api/js", version: f }) {
1193
- 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 || wt, this.language = r, this.libraries = s, this.mapIds = c, this.nonce = d, this.region = m, this.retries = u, this.url = l, this.version = f, Q.instance) {
1194
- if (!Uo(this.options, Q.instance.options))
1192
+ constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = Ct, language: r, libraries: s = [], mapIds: c, nonce: d, region: f, retries: u = 3, url: l = "https://maps.googleapis.com/maps/api/js", version: m }) {
1193
+ 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 || Ct, this.language = r, this.libraries = s, this.mapIds = c, this.nonce = d, this.region = f, this.retries = u, this.url = l, this.version = m, Q.instance) {
1194
+ if (!Bo(this.options, Q.instance.options))
1195
1195
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Q.instance.options)}`);
1196
1196
  return Q.instance;
1197
1197
  }
@@ -1214,7 +1214,7 @@ class Q {
1214
1214
  };
1215
1215
  }
1216
1216
  get status() {
1217
- return this.errors.length ? X.FAILURE : this.done ? X.SUCCESS : this.loading ? X.LOADING : X.INITIALIZED;
1217
+ return this.errors.length ? K.FAILURE : this.done ? K.SUCCESS : this.loading ? K.LOADING : K.INITIALIZED;
1218
1218
  }
1219
1219
  get failed() {
1220
1220
  return this.done && !this.loading && this.errors.length >= this.retries + 1;
@@ -1305,15 +1305,15 @@ class Q {
1305
1305
  }
1306
1306
  }
1307
1307
  }
1308
- const Bo = [
1308
+ const Vo = [
1309
1309
  "AMap.Geolocation",
1310
1310
  "AMap.Geocoder",
1311
1311
  "AMap.PlaceSearch",
1312
1312
  "AMap.Driving",
1313
1313
  "AMap.Walking"
1314
- ], Vo = ["marker", "places", "geometry"];
1314
+ ], Yo = ["marker", "places", "geometry"];
1315
1315
  var ue = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(ue || {});
1316
- const Yo = (t) => {
1316
+ const Ho = (t) => {
1317
1317
  const { onChange: e } = t;
1318
1318
  let n, i;
1319
1319
  const a = new Promise((s, c) => {
@@ -1321,11 +1321,11 @@ const Yo = (t) => {
1321
1321
  }), o = z(
1322
1322
  "LOADING"
1323
1323
  /* LOADING */
1324
- ), r = D(() => {
1325
- const { onChange: s, loading: c, fallback: d, apiKey: m, apiSecret: u, apiServiceHost: l, version: f, ...M } = t;
1326
- return { ...M, key: m, version: f != null ? f : "2.0.5.16" };
1324
+ ), r = w(() => {
1325
+ const { onChange: s, loading: c, fallback: d, apiKey: f, apiSecret: u, apiServiceHost: l, version: m, ...M } = t;
1326
+ return { ...M, key: f, version: m != null ? m : "2.0.5.16" };
1327
1327
  });
1328
- return ne(
1328
+ return ie(
1329
1329
  () => r.value,
1330
1330
  (s) => {
1331
1331
  const c = (d) => {
@@ -1348,7 +1348,7 @@ const Yo = (t) => {
1348
1348
  );
1349
1349
  }
1350
1350
  ), { statusRef: o, readyPromise: a };
1351
- }, Ho = (t) => {
1351
+ }, Jo = (t) => {
1352
1352
  const { onChange: e } = t;
1353
1353
  let n, i;
1354
1354
  const a = new Promise((s, c) => {
@@ -1356,15 +1356,15 @@ const Yo = (t) => {
1356
1356
  }), o = z(
1357
1357
  "LOADING"
1358
1358
  /* LOADING */
1359
- ), r = D(() => {
1360
- const { onChange: s, fallback: c, loading: d, ...m } = t;
1361
- return m;
1359
+ ), r = w(() => {
1360
+ const { onChange: s, fallback: c, loading: d, ...f } = t;
1361
+ return f;
1362
1362
  });
1363
- return ne(
1363
+ return ie(
1364
1364
  () => r.value,
1365
1365
  (s) => {
1366
- const c = new Q(s), d = (m) => {
1367
- o.value = m, m === "SUCCESS" && n(), m === "FAILURE" && i(), e == null || e(o.value);
1366
+ const c = new Q(s), d = (f) => {
1367
+ o.value = f, f === "SUCCESS" && n(), f === "FAILURE" && i(), e == null || e(o.value);
1368
1368
  };
1369
1369
  d(
1370
1370
  "LOADING"
@@ -1381,24 +1381,24 @@ const Yo = (t) => {
1381
1381
  );
1382
1382
  }
1383
1383
  ), { statusRef: o, readyPromise: a };
1384
- }, Jo = (t) => {
1384
+ }, Qo = (t) => {
1385
1385
  const { gmapKey: e, amapKey: n, amapSecret: i, amapServiceHost: a, supplier: o, language: r, onChange: s } = t;
1386
- return o === "gmap" ? Ho({
1386
+ return o === "gmap" ? Jo({
1387
1387
  apiKey: e,
1388
1388
  language: r,
1389
1389
  version: "beta",
1390
- libraries: Vo,
1390
+ libraries: Yo,
1391
1391
  onChange: s
1392
- }) : Yo({
1392
+ }) : Ho({
1393
1393
  apiKey: n,
1394
1394
  apiSecret: i,
1395
1395
  apiServiceHost: a,
1396
- plugins: Bo,
1396
+ plugins: Vo,
1397
1397
  onChange: s
1398
1398
  });
1399
1399
  };
1400
- var Qo = "_1d8ur7t0";
1401
- const Fo = j(function(e, { slots: n, emit: i }) {
1400
+ var Fo = "_1d8ur7t0";
1401
+ const $o = j(function(e, { slots: n, emit: i }) {
1402
1402
  const {
1403
1403
  onDragStart: a,
1404
1404
  onDragEnd: o,
@@ -1406,7 +1406,7 @@ const Fo = j(function(e, { slots: n, emit: i }) {
1406
1406
  mapRef: s,
1407
1407
  vectorMapForeign: c = "style_zh_cn",
1408
1408
  ...d
1409
- } = e, m = D(() => ({
1409
+ } = e, f = w(() => ({
1410
1410
  dragEnable: !!e.dragEnable,
1411
1411
  zoomEnable: !!e.zoomEnable,
1412
1412
  jogEnable: !!e.jogEnable,
@@ -1415,22 +1415,22 @@ const Fo = j(function(e, { slots: n, emit: i }) {
1415
1415
  animateEnable: !!e.animateEnable,
1416
1416
  keyboardEnable: !!e.keyboardEnable
1417
1417
  })), u = z(), l = z();
1418
- return yo(l), H(() => {
1418
+ return jo(l), H(() => {
1419
1419
  if (l.value || !u.value)
1420
1420
  return;
1421
- const f = new AMap.Map(u.value, {
1421
+ const m = new AMap.Map(u.value, {
1422
1422
  ...d,
1423
1423
  vectorMapForeign: c,
1424
1424
  mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
1425
1425
  });
1426
- l.value = f, s == null || s(f);
1426
+ l.value = m, s == null || s(m);
1427
1427
  }), Me(
1428
- () => m.value,
1429
- (f) => {
1428
+ () => f.value,
1429
+ (m) => {
1430
1430
  var M;
1431
- (M = l.value) == null || M.setStatus(f);
1431
+ (M = l.value) == null || M.setStatus(m);
1432
1432
  }
1433
- ), _e(l, e, [
1433
+ ), Ke(l, e, [
1434
1434
  { name: "center", defaultValue: [0, 0] },
1435
1435
  { name: "zooms", defaultValue: [0, 0] },
1436
1436
  { name: "zoom", defaultValue: 0 },
@@ -1443,29 +1443,29 @@ const Fo = j(function(e, { slots: n, emit: i }) {
1443
1443
  { name: "pitch", defaultValue: 0 },
1444
1444
  { name: "mask", defaultValue: [] },
1445
1445
  { name: "labelRejectMask", defaultValue: !1 }
1446
- ]), q(l, e, i, ["onDragStart", "onDragEnd", "onZoomEnd"]), () => {
1447
- var f;
1448
- return g("div", { ref: u, class: Qo }, (f = n.default) == null ? void 0 : f.call(n));
1446
+ ]), te(l, e, i, ["onDragStart", "onDragEnd", "onZoomEnd"]), () => {
1447
+ var m;
1448
+ return g("div", { ref: u, class: Fo }, (m = n.default) == null ? void 0 : m.call(n));
1449
1449
  };
1450
1450
  });
1451
- let ye = "user";
1452
- const $o = () => ye, Pn = () => ({ executeMapApi: (e) => {
1453
- ye = "api";
1451
+ let ve = "user";
1452
+ const Xo = () => ve, bn = () => ({ executeMapApi: (e) => {
1453
+ ve = "api";
1454
1454
  try {
1455
1455
  e(), setTimeout(() => {
1456
- ye = "user";
1456
+ ve = "user";
1457
1457
  }, 100);
1458
1458
  } catch (n) {
1459
- throw ye = "user", n;
1459
+ throw ve = "user", n;
1460
1460
  }
1461
1461
  } });
1462
- var Xo = "_7anfuo0";
1463
- const _o = j(function(e, { slots: n, emit: i }) {
1464
- const a = e.mapRef, o = D(() => {
1465
- const { mapRef: u, onDragStart: l, onDragEnd: f, onZoom_change: M, ...I } = e;
1462
+ var _o = "_7anfuo0";
1463
+ const Ko = j(function(e, { slots: n, emit: i }) {
1464
+ const a = e.mapRef, o = w(() => {
1465
+ const { mapRef: u, onDragStart: l, onDragEnd: m, onZoom_change: M, ...I } = e;
1466
1466
  return I;
1467
- }), r = o.value, s = z(), c = z(), { executeMapApi: d } = Pn(), m = (u) => i(u, { target: c.value });
1468
- return jo(c), H(() => {
1467
+ }), r = o.value, s = z(), c = z(), { executeMapApi: d } = bn(), f = (u) => i(u, { target: c.value });
1468
+ return Ao(c), H(() => {
1469
1469
  if (c.value || !s.value)
1470
1470
  return;
1471
1471
  let u;
@@ -1480,34 +1480,34 @@ const _o = j(function(e, { slots: n, emit: i }) {
1480
1480
  return (l = c.value) == null ? void 0 : l.setOptions({ ...u });
1481
1481
  });
1482
1482
  }
1483
- ), F(c, e, m, [
1483
+ ), F(c, e, f, [
1484
1484
  "onDragStart",
1485
1485
  "onDragEnd",
1486
1486
  "onZoom_change"
1487
1487
  ]), () => {
1488
1488
  var u;
1489
- return g("div", { ref: s, class: Xo }, (u = n.default) == null ? void 0 : u.call(n));
1489
+ return g("div", { ref: s, class: _o }, (u = n.default) == null ? void 0 : u.call(n));
1490
1490
  };
1491
- }), As = de(function(e, {
1491
+ }), Ls = de(function(e, {
1492
1492
  slots: n
1493
1493
  }) {
1494
1494
  const {
1495
1495
  statusRef: i,
1496
1496
  readyPromise: a
1497
- } = Jo(e), o = new Proxy(e, {
1497
+ } = Qo(e), o = new Proxy(e, {
1498
1498
  get(r, s, c) {
1499
1499
  return s === "status" ? i.value : s === "readyPromise" ? a : Reflect.get(r, s, c);
1500
1500
  }
1501
1501
  });
1502
- return vo(o), () => {
1502
+ return yo(o), () => {
1503
1503
  var r;
1504
1504
  return g("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1505
1505
  };
1506
- }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), Pe = de(function(e, {
1506
+ }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), xe = de(function(e, {
1507
1507
  slots: n,
1508
1508
  emit: i
1509
1509
  }) {
1510
- const a = N(), o = ({
1510
+ const a = h(), o = ({
1511
1511
  target: s
1512
1512
  }) => {
1513
1513
  const {
@@ -1530,26 +1530,26 @@ const _o = j(function(e, { slots: n, emit: i }) {
1530
1530
  supplier: s,
1531
1531
  gmapId: c,
1532
1532
  language: d = "zh",
1533
- status: m
1533
+ status: f
1534
1534
  } = a, {
1535
1535
  mapRef: u,
1536
1536
  center: l,
1537
- zoom: f,
1537
+ zoom: m,
1538
1538
  touchEnable: M = !0
1539
1539
  } = e;
1540
- if (m === ue.LOADING)
1540
+ if (f === ue.LOADING)
1541
1541
  return (p = n.loading) == null ? void 0 : p.call(n);
1542
- if (m === ue.FAILURE)
1542
+ if (f === ue.FAILURE)
1543
1543
  return (y = n.fallback) == null ? void 0 : y.call(n);
1544
1544
  const I = (v = n.default) == null ? void 0 : v.call(n);
1545
1545
  switch (s) {
1546
1546
  case "gmap":
1547
- return g(_o, {
1547
+ return g(Ko, {
1548
1548
  attrs: {
1549
1549
  mapRef: u,
1550
1550
  mapId: c,
1551
1551
  center: l ? R(l) : void 0,
1552
- zoom: f,
1552
+ zoom: m,
1553
1553
  disableDefaultUI: M,
1554
1554
  disableDoubleClickZoom: M,
1555
1555
  gestureHandling: M ? "auto" : "none",
@@ -1564,12 +1564,12 @@ const _o = j(function(e, { slots: n, emit: i }) {
1564
1564
  }
1565
1565
  }, [I]);
1566
1566
  default:
1567
- return g(Fo, {
1567
+ return g($o, {
1568
1568
  attrs: {
1569
1569
  mapRef: u,
1570
- vectorMapForeign: To(d),
1570
+ vectorMapForeign: Ro(d),
1571
1571
  center: l,
1572
- zoom: f,
1572
+ zoom: m,
1573
1573
  dragEnable: M,
1574
1574
  zoomEnable: M,
1575
1575
  rotateEnable: M,
@@ -1587,7 +1587,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1587
1587
  };
1588
1588
  }).props(["center", "fallback", "loading", "mapRef", "zoom", "touchEnable"]), se = j(function(e) {
1589
1589
  const n = z(), i = ge();
1590
- return te(() => {
1590
+ return ne(() => {
1591
1591
  n.value = new AMap.Polyline({ ...e });
1592
1592
  }), le(() => {
1593
1593
  var a;
@@ -1596,7 +1596,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1596
1596
  var o;
1597
1597
  const a = i == null ? void 0 : i.value;
1598
1598
  a && ((o = n.value) == null || o.setMap(a));
1599
- }), _e(n, e, [
1599
+ }), Ke(n, e, [
1600
1600
  { name: "path", defaultValue: [[0, 0]] },
1601
1601
  { name: "extData", defaultValue: void 0 },
1602
1602
  { name: "draggable", defaultValue: !1 }
@@ -1610,9 +1610,9 @@ const _o = j(function(e, { slots: n, emit: i }) {
1610
1610
  (o = n.value) == null || o.setOptions({ ...a });
1611
1611
  }
1612
1612
  ), () => null;
1613
- }), je = j(function(e) {
1614
- const n = z(), i = fe();
1615
- return te(() => {
1613
+ }), ye = j(function(e) {
1614
+ const n = z(), i = me();
1615
+ return ne(() => {
1616
1616
  n.value = new google.maps.Polyline({ ...e });
1617
1617
  }), le(() => {
1618
1618
  var a;
@@ -1628,9 +1628,9 @@ const _o = j(function(e, { slots: n, emit: i }) {
1628
1628
  (o = n.value) == null || o.setOptions({ ...a });
1629
1629
  }
1630
1630
  ), () => null;
1631
- }), Ko = j(function(e) {
1631
+ }), qo = j(function(e) {
1632
1632
  return () => {
1633
- const n = window.innerWidth * 0.01, i = 1 * n, a = 0.13 * n, o = 0.24 * n, r = 0.4 * n, s = 0.3 * n, c = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", m = e.done ? "#7693AF" : "#6C95F5";
1633
+ const n = window.innerWidth * 0.01, i = 1 * n, a = 0.13 * n, o = 0.24 * n, r = 0.4 * n, s = 0.3 * n, c = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", f = e.done ? "#7693AF" : "#6C95F5";
1634
1634
  return g("div", [g(se, {
1635
1635
  attrs: {
1636
1636
  path: e.path,
@@ -1645,7 +1645,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1645
1645
  path: e.path,
1646
1646
  strokeWeight: i + 2 * a,
1647
1647
  strokeOpacity: 1,
1648
- strokeColor: m,
1648
+ strokeColor: f,
1649
1649
  lineJoin: "round",
1650
1650
  lineCap: "round",
1651
1651
  strokeStyle: "dashed",
@@ -1672,18 +1672,18 @@ const _o = j(function(e, { slots: n, emit: i }) {
1672
1672
  }
1673
1673
  })]);
1674
1674
  };
1675
- }), qo = j(function(e) {
1676
- const n = D(() => e.path.map(R));
1675
+ }), er = j(function(e) {
1676
+ const n = w(() => e.path.map(R));
1677
1677
  return () => {
1678
- const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, c = 1 * i, d = e.done ? "#96B2CA" : "#487BF4", m = e.done ? "#7693AF" : "#4175F1", u = e.done ? "#7693AF" : "#6C95F5";
1679
- return g("div", [g(je, {
1678
+ const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, c = 1 * i, d = e.done ? "#96B2CA" : "#487BF4", f = e.done ? "#7693AF" : "#4175F1", u = e.done ? "#7693AF" : "#6C95F5";
1679
+ return g("div", [g(ye, {
1680
1680
  attrs: {
1681
1681
  path: n.value,
1682
1682
  strokeWeight: o + 2 * r + 2 * c,
1683
1683
  strokeOpacity: 1,
1684
- strokeColor: m
1684
+ strokeColor: f
1685
1685
  }
1686
- }), g(je, {
1686
+ }), g(ye, {
1687
1687
  attrs: {
1688
1688
  path: n.value,
1689
1689
  icons: [{
@@ -1698,7 +1698,7 @@ const _o = j(function(e, { slots: n, emit: i }) {
1698
1698
  offset: `${o / 2}px`
1699
1699
  }]
1700
1700
  }
1701
- }), g(je, {
1701
+ }), g(ye, {
1702
1702
  attrs: {
1703
1703
  path: n.value,
1704
1704
  strokeWeight: o,
@@ -1717,13 +1717,13 @@ const _o = j(function(e, { slots: n, emit: i }) {
1717
1717
  })]);
1718
1718
  };
1719
1719
  }), Ie = j(function(e) {
1720
- const n = N();
1721
- return () => e.path.length ? G(n.supplier === "gmap" ? qo : Ko, {
1720
+ const n = h();
1721
+ return () => e.path.length ? k(n.supplier === "gmap" ? er : qo, {
1722
1722
  attrs: e
1723
1723
  }) : null;
1724
- }), bn = (t) => {
1724
+ }), En = (t) => {
1725
1725
  const e = b({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1726
- return ne(
1726
+ return ie(
1727
1727
  () => ({ ...t }),
1728
1728
  ({ from: i, to: a }) => {
1729
1729
  n.search(
@@ -1735,8 +1735,8 @@ const _o = j(function(e, { slots: n, emit: i }) {
1735
1735
  case "complete": {
1736
1736
  let s = [];
1737
1737
  const d = r.routes[0];
1738
- for (const m of d.steps) {
1739
- const l = m.path.map(({ lng: f, lat: M }) => [f, M]);
1738
+ for (const f of d.steps) {
1739
+ const l = f.path.map(({ lng: m, lat: M }) => [m, M]);
1740
1740
  s = s.concat(l);
1741
1741
  }
1742
1742
  e.path = s, e.distance = d.distance, e.duration = d.time;
@@ -1752,9 +1752,9 @@ const _o = j(function(e, { slots: n, emit: i }) {
1752
1752
  );
1753
1753
  }
1754
1754
  ), e;
1755
- }, En = (t) => {
1755
+ }, Tn = (t) => {
1756
1756
  const e = b({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1757
- return ne(
1757
+ return ie(
1758
1758
  () => ({ ...t }),
1759
1759
  ({ from: i, to: a }) => {
1760
1760
  n.route(
@@ -1764,18 +1764,18 @@ const _o = j(function(e, { slots: n, emit: i }) {
1764
1764
  travelMode: google.maps.TravelMode.DRIVING
1765
1765
  },
1766
1766
  (o, r) => {
1767
- var s, c, d, m;
1767
+ var s, c, d, f;
1768
1768
  switch (r) {
1769
1769
  case google.maps.DirectionsStatus.OK: {
1770
- let u = [], l = 0, f = 0;
1770
+ let u = [], l = 0, m = 0;
1771
1771
  const M = o.routes[0], I = M.overview_path.map((p) => [
1772
1772
  p.lng(),
1773
1773
  p.lat()
1774
1774
  ]);
1775
1775
  u = u.concat(I);
1776
1776
  for (const p of M.legs)
1777
- l += (c = (s = p.distance) == null ? void 0 : s.value) != null ? c : 0, f += (m = (d = p.duration) == null ? void 0 : d.value) != null ? m : 0;
1778
- e.path = u, e.distance = l, e.duration = f;
1777
+ l += (c = (s = p.distance) == null ? void 0 : s.value) != null ? c : 0, m += (f = (d = p.duration) == null ? void 0 : d.value) != null ? f : 0;
1778
+ e.path = u, e.distance = l, e.duration = m;
1779
1779
  return;
1780
1780
  }
1781
1781
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -1789,33 +1789,33 @@ const _o = j(function(e, { slots: n, emit: i }) {
1789
1789
  );
1790
1790
  }
1791
1791
  ), e;
1792
- }, Ls = (t) => {
1793
- const { supplier: e } = N();
1794
- return e === "gmap" ? En(t) : bn(t);
1795
- }, er = (t, e, n) => {
1792
+ }, Ss = (t) => {
1793
+ const { supplier: e } = h();
1794
+ return e === "gmap" ? Tn(t) : En(t);
1795
+ }, tr = (t, e, n) => {
1796
1796
  if (!n)
1797
1797
  return 0;
1798
1798
  const { x: i, y: a } = n.lngLatToContainer(t), { x: o, y: r } = n.lngLatToContainer(e), s = Math.atan2(a - r, o - i);
1799
1799
  return (Math.PI / 2 - s) / Math.PI * 180;
1800
- }, Tn = (t) => D(() => {
1800
+ }, Rn = (t) => w(() => {
1801
1801
  const { map: e, path: n } = t, [i, a] = n;
1802
1802
  if (!(!i || !a || !e))
1803
- return er(i, a, e);
1804
- }), Rn = (t) => D(() => {
1803
+ return tr(i, a, e);
1804
+ }), zn = (t) => w(() => {
1805
1805
  const { path: e } = t, [n, i] = e;
1806
1806
  if (!(!n || !i))
1807
1807
  return google.maps.geometry.spherical.computeHeading(R(n), R(i));
1808
- }), Ss = (t) => {
1809
- const { supplier: e } = N();
1810
- return e === "gmap" ? Rn(t) : Tn(t);
1811
- }, tr = j(function(e, {
1808
+ }), hs = (t) => {
1809
+ const { supplier: e } = h();
1810
+ return e === "gmap" ? zn(t) : Rn(t);
1811
+ }, nr = j(function(e, {
1812
1812
  slots: n
1813
1813
  }) {
1814
1814
  const i = ge(), {
1815
1815
  path: a,
1816
1816
  distance: o,
1817
1817
  duration: r
1818
- } = Zt(bn(e)), s = Tn(b({
1818
+ } = Ot(En(e)), s = Rn(b({
1819
1819
  path: a,
1820
1820
  map: i
1821
1821
  }));
@@ -1828,14 +1828,14 @@ const _o = j(function(e, { slots: n, emit: i }) {
1828
1828
  duration: r
1829
1829
  }))]);
1830
1830
  };
1831
- }), nr = j(function(e, {
1831
+ }), ir = j(function(e, {
1832
1832
  slots: n
1833
1833
  }) {
1834
- const i = fe(), {
1834
+ const i = me(), {
1835
1835
  path: a,
1836
1836
  distance: o,
1837
1837
  duration: r
1838
- } = Zt(En(e)), s = Rn(b({
1838
+ } = Ot(Tn(e)), s = zn(b({
1839
1839
  path: a,
1840
1840
  map: i
1841
1841
  }));
@@ -1853,16 +1853,16 @@ const _o = j(function(e, { slots: n, emit: i }) {
1853
1853
  }) {
1854
1854
  const {
1855
1855
  supplier: i
1856
- } = N();
1857
- return () => G(i === "gmap" ? nr : tr, {
1856
+ } = h();
1857
+ return () => k(i === "gmap" ? ir : nr, {
1858
1858
  attrs: e,
1859
1859
  scopedSlots: n
1860
1860
  });
1861
- }), zn = /* @__PURE__ */ new Set(), ir = (t) => new URLSearchParams(location.search).has(`log-${t}`);
1862
- window.availableLogKeys = zn;
1863
- const ar = (t, ...e) => {
1864
- zn.add(t), ir(t) && console.log(t, ...e);
1865
- }, or = 20, rr = (t) => {
1861
+ }), Zn = /* @__PURE__ */ new Set(), ar = (t) => new URLSearchParams(location.search).has(`log-${t}`);
1862
+ window.availableLogKeys = Zn;
1863
+ const or = (t, ...e) => {
1864
+ Zn.add(t), ar(t) && console.log(t, ...e);
1865
+ }, rr = 20, sr = (t) => {
1866
1866
  const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
1867
1867
  let a;
1868
1868
  const o = () => {
@@ -1870,8 +1870,8 @@ const ar = (t, ...e) => {
1870
1870
  const c = e.value;
1871
1871
  if (!c)
1872
1872
  return;
1873
- const d = window.innerWidth / 100, [m, u, l, f] = (M = t.padding) != null ? M : [0, 0, 0, 0];
1874
- ar("setFitView", "overlayGroup = ", i), c.setFitView([...i], !1, [m * d, l * d, f * d, u * d]);
1873
+ const d = window.innerWidth / 100, [f, u, l, m] = (M = t.padding) != null ? M : [0, 0, 0, 0];
1874
+ or("setFitView", "overlayGroup = ", i), c.setFitView([...i], !1, [f * d, l * d, m * d, u * d]);
1875
1875
  }, r = {
1876
1876
  add: (c) => {
1877
1877
  i.add(c);
@@ -1881,7 +1881,7 @@ const ar = (t, ...e) => {
1881
1881
  },
1882
1882
  setFitView: o
1883
1883
  };
1884
- return q(
1884
+ return te(
1885
1885
  e,
1886
1886
  {},
1887
1887
  () => {
@@ -1892,7 +1892,7 @@ const ar = (t, ...e) => {
1892
1892
  ["onDragEnd"]
1893
1893
  ), { registerFitVeiw: r, setFitView: o };
1894
1894
  };
1895
- class sr extends Set {
1895
+ class cr extends Set {
1896
1896
  getBound() {
1897
1897
  const e = new google.maps.LatLngBounds();
1898
1898
  for (const n of this.values()) {
@@ -1902,50 +1902,50 @@ class sr extends Set {
1902
1902
  return e;
1903
1903
  }
1904
1904
  }
1905
- const cr = (t) => {
1906
- const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = Pn(), a = new sr();
1905
+ const ur = (t) => {
1906
+ const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = bn(), a = new cr();
1907
1907
  let o;
1908
1908
  const r = () => {
1909
1909
  var p;
1910
- const m = e.value;
1911
- if (!m)
1910
+ const f = e.value;
1911
+ if (!f)
1912
1912
  return;
1913
- const u = window.innerWidth / 100, [l, f, M, I] = (p = t.padding) != null ? p : [0, 0, 0, 0];
1913
+ const u = window.innerWidth / 100, [l, m, M, I] = (p = t.padding) != null ? p : [0, 0, 0, 0];
1914
1914
  i(
1915
- () => m.fitBounds(a.getBound(), {
1915
+ () => f.fitBounds(a.getBound(), {
1916
1916
  top: l * u,
1917
- right: f * u,
1917
+ right: m * u,
1918
1918
  bottom: M * u,
1919
1919
  left: I * u
1920
1920
  })
1921
1921
  );
1922
1922
  }, s = {
1923
- add: (m) => {
1924
- a.add(m);
1923
+ add: (f) => {
1924
+ a.add(f);
1925
1925
  },
1926
- remove: (m) => {
1927
- a.delete(m);
1926
+ remove: (f) => {
1927
+ a.delete(f);
1928
1928
  },
1929
1929
  setFitView: r
1930
1930
  }, c = () => {
1931
- const m = $o();
1932
- !n || m !== "user" || (o && clearTimeout(o), o = setTimeout(() => {
1931
+ const f = Xo();
1932
+ !n || f !== "user" || (o && clearTimeout(o), o = setTimeout(() => {
1933
1933
  o = void 0, r();
1934
1934
  }, n));
1935
- }, d = io(c, or);
1935
+ }, d = ao(c, rr);
1936
1936
  return F(e, {}, c, [
1937
1937
  "onDragEnd"
1938
1938
  ]), F(e, {}, d, [
1939
1939
  "onZoom_changed"
1940
1940
  ]), { registerFitVeiw: s, setFitView: r };
1941
- }, be = (t) => {
1942
- const { supplier: e } = N();
1943
- return e === "gmap" ? cr(t) : rr(t);
1941
+ }, Pe = (t) => {
1942
+ const { supplier: e } = h();
1943
+ return e === "gmap" ? ur(t) : sr(t);
1944
1944
  };
1945
1945
  j(function(e, {
1946
1946
  slots: n
1947
1947
  }) {
1948
- const i = gn(), a = be({
1948
+ const i = mn(), a = Pe({
1949
1949
  ...e,
1950
1950
  mapRef: i
1951
1951
  });
@@ -1962,14 +1962,14 @@ const U = j(function(e, {
1962
1962
  } = e, {
1963
1963
  setFitView: o
1964
1964
  } = a;
1965
- return te(async () => {
1965
+ return ne(async () => {
1966
1966
  await i, o();
1967
1967
  }), () => {
1968
1968
  var r;
1969
1969
  return g("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1970
1970
  };
1971
1971
  });
1972
- function ur(t) {
1972
+ function lr(t) {
1973
1973
  const {
1974
1974
  add: e,
1975
1975
  remove: n,
@@ -1985,7 +1985,7 @@ function ur(t) {
1985
1985
  setFitView: i
1986
1986
  };
1987
1987
  }
1988
- const ee = j(function(e, {
1988
+ const qe = j(function(e, {
1989
1989
  slots: n
1990
1990
  }) {
1991
1991
  const i = fn(), {
@@ -2001,8 +2001,8 @@ const ee = j(function(e, {
2001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gZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTIgMzAuMjE1YzEuOTUgMCAzLjUzMi0uODE2IDMuNTMyLTEuODIzIDAtMS4wMDctMS41ODEtMS44MjMtMy41MzItMS44MjMtMS45NSAwLTMuNTMyLjgxNi0zLjUzMiAxLjgyMyAwIDEuMDA3IDEuNTgxIDEuODIzIDMuNTMyIDEuODIzeiIgZmlsbC1vcGFjaXR5PSIuNSIgZmlsbD0iIzQzNDg1QSIvPjxwYXRoIGQ9Ik0xMSAyN2MyLjEyOCAwLS45LTMuNzQyIDUuNjIxLTYuNjQxIDMuMjIxLTEuOTEgNS4zNzktNS40MSA1LjM3OS05LjQxMkMyMiA0LjkwMSAxNy4wNzUgMCAxMSAwUzAgNC45MDEgMCAxMC45NDdjMCAzLjkxOCAyLjA2OCA3LjM1NSA1LjE3NyA5LjI5QzExLjc1IDIzLjI3NyA5LjA2IDI3IDExIDI3eiIgc3Ryb2tlPSIjRkZGIiBmaWxsPSJ1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
2005
+ function dr(t, e, n) {
2006
2006
  return e in t ? Object.defineProperty(t, e, {
2007
2007
  value: n,
2008
2008
  enumerable: !0,
@@ -2010,7 +2010,7 @@ function lr(t, e, n) {
2010
2010
  writable: !0
2011
2011
  }) : t[e] = n, t;
2012
2012
  }
2013
- function Ct(t, e) {
2013
+ function xt(t, e) {
2014
2014
  var n = Object.keys(t);
2015
2015
  if (Object.getOwnPropertySymbols) {
2016
2016
  var i = Object.getOwnPropertySymbols(t);
@@ -2020,26 +2020,26 @@ function Ct(t, e) {
2020
2020
  }
2021
2021
  return n;
2022
2022
  }
2023
- function xt(t) {
2023
+ function Pt(t) {
2024
2024
  for (var e = 1; e < arguments.length; e++) {
2025
2025
  var n = arguments[e] != null ? arguments[e] : {};
2026
- e % 2 ? Ct(Object(n), !0).forEach(function(i) {
2027
- lr(t, i, n[i]);
2028
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ct(Object(n)).forEach(function(i) {
2026
+ e % 2 ? xt(Object(n), !0).forEach(function(i) {
2027
+ dr(t, i, n[i]);
2028
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : xt(Object(n)).forEach(function(i) {
2029
2029
  Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
2030
2030
  });
2031
2031
  }
2032
2032
  return t;
2033
2033
  }
2034
- var dr = (t, e, n) => {
2034
+ var gr = (t, e, n) => {
2035
2035
  for (var i of Object.keys(t)) {
2036
2036
  var a;
2037
2037
  if (t[i] !== ((a = e[i]) !== null && a !== void 0 ? a : n[i]))
2038
2038
  return !1;
2039
2039
  }
2040
2040
  return !0;
2041
- }, ie = (t) => (e) => {
2042
- var n = t.defaultClassName, i = xt(xt({}, t.defaultVariants), e);
2041
+ }, ae = (t) => (e) => {
2042
+ var n = t.defaultClassName, i = Pt(Pt({}, t.defaultVariants), e);
2043
2043
  for (var a in i) {
2044
2044
  var o, r = (o = i[a]) !== null && o !== void 0 ? o : t.defaultVariants[a];
2045
2045
  if (r != null) {
@@ -2052,30 +2052,30 @@ var dr = (t, e, n) => {
2052
2052
  c && (n += " " + c);
2053
2053
  }
2054
2054
  }
2055
- for (var [d, m] of t.compoundVariants)
2056
- dr(d, i, t.defaultVariants) && (n += " " + m);
2055
+ for (var [d, f] of t.compoundVariants)
2056
+ gr(d, i, t.defaultVariants) && (n += " " + f);
2057
2057
  return n;
2058
- }, _ = ie({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Gn = "_4a4ovk1", kn = "_4a4ovk4", Wn = "_4a4ovk5", Un = "_4a4ovk3", Se = "_4a4ovk0", Bn = "_4a4ovk2";
2059
- const gr = j(function(e) {
2060
- const n = D(() => {
2058
+ }, q = ae({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), kn = "_4a4ovk1", Wn = "_4a4ovk4", Un = "_4a4ovk5", Bn = "_4a4ovk3", Le = "_4a4ovk0", Vn = "_4a4ovk2";
2059
+ const mr = j(function(e) {
2060
+ const n = w(() => {
2061
2061
  var o;
2062
- const i = e.type === "start" ? On : Zn, a = e.description ? xe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Wn}">${r.value}</span>`).join("") : "";
2063
- return !e.description && !e.title ? `<img src="${i}" class="${_({
2062
+ const i = e.type === "start" ? Gn : On, a = e.description ? Ce(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Un}">${r.value}</span>`).join("") : "";
2063
+ return !e.description && !e.title ? `<img src="${i}" class="${q({
2064
2064
  type: e.type
2065
2065
  })}">` : e.description ? `
2066
- <div class="${Se}">
2067
- <div class="${Gn}">
2068
- <div class="${Un}">${(o = e.title) != null ? o : ""}</div>
2069
- <div class="${kn}">${a}</div>
2066
+ <div class="${Le}">
2067
+ <div class="${kn}">
2068
+ <div class="${Bn}">${(o = e.title) != null ? o : ""}</div>
2069
+ <div class="${Wn}">${a}</div>
2070
2070
  </div>
2071
- <img src="${i}" class="${_({
2071
+ <img src="${i}" class="${q({
2072
2072
  type: e.type
2073
2073
  })}">
2074
2074
  </div>
2075
2075
  ` : `
2076
- <div class="${Se}">
2077
- <div class="${Bn}">${e.title}</div>
2078
- <img src="${i}" class="${_({
2076
+ <div class="${Le}">
2077
+ <div class="${Vn}">${e.title}</div>
2078
+ <img src="${i}" class="${q({
2079
2079
  type: e.type
2080
2080
  })}">
2081
2081
  </div>
@@ -2090,29 +2090,29 @@ const gr = j(function(e) {
2090
2090
  }
2091
2091
  });
2092
2092
  }), fr = j(function(e) {
2093
- const n = D(() => {
2093
+ const n = w(() => {
2094
2094
  var o;
2095
- const i = e.type === "start" ? On : Zn, a = e.description ? xe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Wn}">${r.value}</span>`).join("") : "";
2095
+ const i = e.type === "start" ? Gn : On, a = e.description ? Ce(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Un}">${r.value}</span>`).join("") : "";
2096
2096
  return !e.description && !e.title ? O("img", {
2097
- class: _({
2097
+ class: q({
2098
2098
  type: e.type
2099
2099
  }),
2100
2100
  src: i
2101
2101
  }) : e.description ? O("div", {
2102
- class: Se
2102
+ class: Le
2103
2103
  }, `
2104
- <div class="${Gn}">
2105
- <div class="${Un}">${(o = e.title) != null ? o : ""}</div>
2106
- <div class="${kn}">${a}</div>
2104
+ <div class="${kn}">
2105
+ <div class="${Bn}">${(o = e.title) != null ? o : ""}</div>
2106
+ <div class="${Wn}">${a}</div>
2107
2107
  </div>
2108
- <img src="${i}" class="${_({
2108
+ <img src="${i}" class="${q({
2109
2109
  type: e.type
2110
2110
  })}">
2111
2111
  `) : O("div", {
2112
- class: Se
2112
+ class: Le
2113
2113
  }, `
2114
- <div class="${Bn}">${e.title}</div>
2115
- <img src="${i}" class="${_({
2114
+ <div class="${Vn}">${e.title}</div>
2115
+ <img src="${i}" class="${q({
2116
2116
  type: e.type
2117
2117
  })}">
2118
2118
  `);
@@ -2125,8 +2125,8 @@ const gr = j(function(e) {
2125
2125
  }
2126
2126
  });
2127
2127
  }), Z = j(function(e) {
2128
- const n = N();
2129
- return () => G(n.supplier === "gmap" ? fr : gr, {
2128
+ const n = h();
2129
+ return () => k(n.supplier === "gmap" ? fr : mr, {
2130
2130
  attrs: e
2131
2131
  });
2132
2132
  }), Ns = de(function(e) {
@@ -2134,14 +2134,14 @@ const gr = j(function(e) {
2134
2134
  registerOverlay: n,
2135
2135
  mapRef: i,
2136
2136
  renderDescription: a
2137
- } = e, o = ur(n);
2137
+ } = e, o = lr(n);
2138
2138
  return () => {
2139
2139
  const {
2140
2140
  from: r,
2141
2141
  to: s,
2142
2142
  fromDescription: c
2143
- } = e, d = C(r), m = C(s);
2144
- return g(Pe, {
2143
+ } = e, d = x(r), f = x(s);
2144
+ return g(xe, {
2145
2145
  attrs: {
2146
2146
  mapRef: i,
2147
2147
  center: d,
@@ -2157,12 +2157,12 @@ const gr = j(function(e) {
2157
2157
  }
2158
2158
  }), g(pe, {
2159
2159
  attrs: {
2160
- to: m,
2160
+ to: f,
2161
2161
  from: d,
2162
2162
  render: ({
2163
2163
  path: u,
2164
2164
  distance: l,
2165
- duration: f
2165
+ duration: m
2166
2166
  }) => [g(Ie, {
2167
2167
  attrs: {
2168
2168
  path: u
@@ -2171,11 +2171,11 @@ const gr = j(function(e) {
2171
2171
  attrs: {
2172
2172
  type: "end",
2173
2173
  registerOverlay: o,
2174
- position: m,
2174
+ position: f,
2175
2175
  title: s.name,
2176
2176
  description: a({
2177
2177
  distance: l,
2178
- duration: f
2178
+ duration: m
2179
2179
  })
2180
2180
  }
2181
2181
  })]
@@ -2186,66 +2186,67 @@ const gr = j(function(e) {
2186
2186
  }
2187
2187
  })]);
2188
2188
  };
2189
- }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to", "fromDescription", "log"]), mr = () => {
2190
- async function t(e) {
2191
- return new Promise((n, i) => {
2189
+ }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to", "fromDescription", "log"]), Mr = () => {
2190
+ const { readyPromise: t } = h();
2191
+ async function e(n) {
2192
+ return await t, new Promise((i, a) => {
2192
2193
  AMap.convertFrom(
2193
- e,
2194
+ n,
2194
2195
  "gps",
2195
- function(a, o) {
2196
- if (o.info === "ok") {
2197
- const { lng: r, lat: s } = o.locations[0];
2198
- n([r, s]);
2196
+ (o, r) => {
2197
+ if (r.info === "ok") {
2198
+ const { lng: s, lat: c } = r.locations[0];
2199
+ i([s, c]);
2199
2200
  } else
2200
- i();
2201
+ a();
2201
2202
  }
2202
2203
  );
2203
2204
  });
2204
2205
  }
2205
- return { toGcj02: t };
2206
- }, Mr = () => ({ toGcj02: async (e) => e }), Ir = () => {
2207
- const { supplier: t } = N();
2208
- return t === "gmap" ? Mr() : mr();
2209
- }, pr = 5e3, Ee = (t) => {
2210
- var f, M;
2211
- const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = t != null ? t : {}, { toGcj02: r } = Ir();
2206
+ return { toGcj02: e };
2207
+ }, Ir = () => ({ toGcj02: async (e) => e }), pr = () => {
2208
+ const { supplier: t } = h();
2209
+ return t === "gmap" ? Ir() : Mr();
2210
+ }, vr = 5e3, be = (t) => {
2211
+ var m, M;
2212
+ const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = t != null ? t : {}, { toGcj02: r } = pr();
2212
2213
  let s = !1;
2213
- const c = w(!1), d = w(!1), m = w(), u = w({
2214
+ const c = C(!1), d = C(!1), f = C(), u = C({
2214
2215
  accuracy: 0,
2215
2216
  altitude: 0,
2216
2217
  altitudeAccuracy: 0,
2217
2218
  heading: 0,
2218
- latitude: (f = o == null ? void 0 : o[1]) != null ? f : 0,
2219
+ latitude: (m = o == null ? void 0 : o[1]) != null ? m : 0,
2219
2220
  longitude: (M = o == null ? void 0 : o[0]) != null ? M : 0,
2220
2221
  speed: 0
2221
- }), l = w([u.value.longitude, u.value.latitude]);
2222
+ }), l = C([u.value.longitude, u.value.latitude]);
2222
2223
  return T(
2223
2224
  () => !0,
2224
2225
  (I, p, y) => {
2225
2226
  c.value = !0;
2226
2227
  const v = navigator.geolocation.watchPosition(
2227
2228
  async (L) => {
2228
- const A = L.coords, x = [L.coords.longitude, L.coords.latitude], h = await r(x);
2229
- console.log("wgsPoint, point = ", x, h), u.value = A, l.value = h, c.value && (c.value = !1, d.value = !0, n == null || n({ position: h, coordinate: A })), e == null || e({ position: h, coordinate: A });
2229
+ const A = L.coords, D = [L.coords.longitude, L.coords.latitude], N = await r(D);
2230
+ console.log("wgsPoint, point = ", D, N), u.value = A, l.value = N, c.value && (c.value = !1, d.value = !0, n == null || n({ position: N, coordinate: A })), e == null || e({ position: N, coordinate: A });
2230
2231
  },
2231
2232
  (L) => {
2232
- c.value = !1, m.value = L;
2233
+ c.value = !1, f.value = L;
2233
2234
  const A = t == null ? void 0 : t.geoDefaultPosition;
2234
2235
  A && !s && (s = !0, i == null || i({ position: A })), a == null || a(L);
2235
2236
  },
2236
- { timeout: pr, maximumAge: 0, enableHighAccuracy: !1 }
2237
+ { timeout: vr, maximumAge: 0, enableHighAccuracy: !1 }
2237
2238
  );
2238
2239
  y(() => navigator.geolocation.clearWatch(v));
2239
2240
  },
2240
2241
  { immediate: !0 }
2241
2242
  ), {
2242
- geoError: m,
2243
+ geoError: f,
2243
2244
  geoPosition: l,
2244
2245
  geoCoordinate: u,
2245
2246
  geoLoading: c,
2246
2247
  geoReady: d
2247
2248
  };
2248
- }, vr = () => {
2249
+ }, yr = () => {
2249
2250
  const t = z();
2250
2251
  return { mapRef: t, panTo: (i) => {
2251
2252
  var a;
@@ -2253,7 +2254,7 @@ const gr = j(function(e) {
2253
2254
  }, setMap: (i) => {
2254
2255
  t.value = i;
2255
2256
  } };
2256
- }, yr = () => {
2257
+ }, jr = () => {
2257
2258
  const t = z();
2258
2259
  return { mapRef: t, panTo: (i) => {
2259
2260
  var a;
@@ -2261,63 +2262,63 @@ const gr = j(function(e) {
2261
2262
  }, setMap: (i) => {
2262
2263
  t.value = i;
2263
2264
  } };
2264
- }, Te = () => {
2265
- const { supplier: t } = N();
2266
- return t === "gmap" ? yr() : vr();
2267
- }, jr = (t) => {
2268
- const { mapRef: e, onChange: n } = t, i = w([0, 0]), a = w(!1), o = () => {
2269
- Le(() => {
2265
+ }, Ee = () => {
2266
+ const { supplier: t } = h();
2267
+ return t === "gmap" ? jr() : yr();
2268
+ }, Ar = (t) => {
2269
+ const { mapRef: e, onChange: n } = t, i = C([0, 0]), a = C(!1), o = () => {
2270
+ Ae(() => {
2270
2271
  a.value = !0;
2271
2272
  })();
2272
2273
  }, r = (s, { target: c }) => {
2273
2274
  var u;
2274
2275
  a.value = !1;
2275
- const { lng: d, lat: m } = c.getCenter();
2276
- i.value = [d, m], (u = Le(n)) == null || u([d, m]);
2276
+ const { lng: d, lat: f } = c.getCenter();
2277
+ i.value = [d, f], (u = Ae(n)) == null || u([d, f]);
2277
2278
  };
2278
- return q(e, {}, o, [
2279
+ return te(e, {}, o, [
2279
2280
  "onDragStart"
2280
- ]), q(e, {}, r, [
2281
+ ]), te(e, {}, r, [
2281
2282
  "onDragEnd"
2282
2283
  ]), { centerRef: i, isDragging: a };
2283
- }, Ar = (t) => {
2284
- const { mapRef: e, onChange: n } = t, i = w([0, 0]), a = w(!1), o = () => {
2285
- Le(() => {
2284
+ }, Lr = (t) => {
2285
+ const { mapRef: e, onChange: n } = t, i = C([0, 0]), a = C(!1), o = () => {
2286
+ Ae(() => {
2286
2287
  a.value = !0;
2287
2288
  })();
2288
2289
  }, r = async () => {
2289
- var m, u;
2290
+ var f, u;
2290
2291
  a.value = !1;
2291
- const s = (m = e.value) == null ? void 0 : m.getCenter(), c = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
2292
- i.value = [c, d], (u = Le(n)) == null || u([c, d]);
2292
+ const s = (f = e.value) == null ? void 0 : f.getCenter(), c = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
2293
+ i.value = [c, d], (u = Ae(n)) == null || u([c, d]);
2293
2294
  };
2294
2295
  return F(e, {}, o, [
2295
2296
  "onDragStart"
2296
2297
  ]), F(e, {}, r, [
2297
2298
  "onDragEnd"
2298
2299
  ]), { centerRef: i, isDragging: a };
2299
- }, Lr = (t) => {
2300
- const { supplier: e } = N();
2301
- return e === "gmap" ? Ar(t) : jr(t);
2302
- }, ae = () => {
2303
- const t = w(0);
2300
+ }, Sr = (t) => {
2301
+ const { supplier: e } = h();
2302
+ return e === "gmap" ? Lr(t) : Ar(t);
2303
+ }, oe = () => {
2304
+ const t = C(0);
2304
2305
  return { idx: t, update: () => {
2305
2306
  t.value += 1;
2306
2307
  } };
2307
- }, Vn = (t) => {
2308
- const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = w(i), { readyPromise: o } = N(), r = b({
2308
+ }, Yn = (t) => {
2309
+ const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = C(i), { readyPromise: o } = h(), r = b({
2309
2310
  lng: a.value[0],
2310
2311
  lat: a.value[1],
2311
2312
  name: ""
2312
- }), { idx: s, update: c } = ae(), d = (l) => {
2313
- const f = new AMap.Geocoder({ lang: ce }), { lng: M, lat: I } = l;
2314
- f.getAddress(new AMap.LngLat(M, I), (p, y) => {
2313
+ }), { idx: s, update: c } = oe(), d = (l) => {
2314
+ const m = new AMap.Geocoder({ lang: ce }), { lng: M, lat: I } = l;
2315
+ m.getAddress(new AMap.LngLat(M, I), (p, y) => {
2315
2316
  if (p !== "complete")
2316
2317
  return;
2317
2318
  const { addressComponent: v } = y.regeocode, L = v.city ? v.city : v.province, A = v.province;
2318
2319
  n == null || n({ cityName: L, cityParentName: A, countryName: "" });
2319
2320
  });
2320
- }, m = (l) => {
2321
+ }, f = (l) => {
2321
2322
  a.value = l, c();
2322
2323
  }, u = (l) => {
2323
2324
  r.lng = l.lng, r.lat = l.lat, r.name = l.name;
@@ -2326,51 +2327,51 @@ const gr = j(function(e) {
2326
2327
  () => [s.value],
2327
2328
  async () => {
2328
2329
  await o;
2329
- const l = new AMap.Geocoder({ lang: ce }), [f, M] = a.value;
2330
- l.getAddress(new AMap.LngLat(f, M), (I, p) => {
2330
+ const l = new AMap.Geocoder({ lang: ce }), [m, M] = a.value;
2331
+ l.getAddress(new AMap.LngLat(m, M), (I, p) => {
2331
2332
  switch (I) {
2332
2333
  case "complete": {
2333
2334
  const { formattedAddress: y, addressComponent: v } = p.regeocode, L = v.city ? v.city : v.province, A = v.province;
2334
- r.name = y, r.lng = f, r.lat = M, e == null || e({ lng: f, lat: M, name: y }), n == null || n({ cityName: L, cityParentName: A, countryName: "" });
2335
+ r.name = y, r.lng = m, r.lat = M, e == null || e({ lng: m, lat: M, name: y }), n == null || n({ cityName: L, cityParentName: A, countryName: "" });
2335
2336
  return;
2336
2337
  }
2337
2338
  case "no_data":
2338
- r.name = "", r.lng = f, r.lat = M, e == null || e({ lng: f, lat: M, name: "" });
2339
+ r.name = "", r.lng = m, r.lat = M, e == null || e({ lng: m, lat: M, name: "" });
2339
2340
  return;
2340
2341
  case "error":
2341
2342
  throw p;
2342
2343
  }
2343
2344
  });
2344
2345
  }
2345
- ), { place: r, updatePlace: m, setPlace: u, updateCity: d };
2346
- }, Yn = (t) => {
2347
- const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = w(i), { readyPromise: o } = N(), { idx: r, update: s } = ae(), c = b({
2346
+ ), { place: r, updatePlace: f, setPlace: u, updateCity: d };
2347
+ }, Hn = (t) => {
2348
+ const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = C(i), { readyPromise: o } = h(), { idx: r, update: s } = oe(), c = b({
2348
2349
  lng: a.value[0],
2349
2350
  lat: a.value[1],
2350
2351
  name: ""
2351
2352
  }), d = (l) => {
2352
2353
  a.value = l, s();
2353
- }, m = (l) => {
2354
+ }, f = (l) => {
2354
2355
  c.lng = l.lng, c.lat = l.lat, c.name = l.name;
2355
2356
  }, u = async (l) => {
2356
- const f = new google.maps.Geocoder(), { lng: M, lat: I } = l, { results: p } = await f.geocode({ language: ce, location: { lng: M, lat: I } }), y = Dt(p[0]), v = p.slice(-2)[0].address_components[0].long_name, L = p.slice(-1)[0].address_components[0].long_name;
2357
+ const m = new google.maps.Geocoder(), { lng: M, lat: I } = l, { results: p } = await m.geocode({ language: ce, location: { lng: M, lat: I } }), y = wt(p[0]), v = p.slice(-2)[0].address_components[0].long_name, L = p.slice(-1)[0].address_components[0].long_name;
2357
2358
  n == null || n({ cityName: y, cityParentName: v, countryName: L });
2358
2359
  };
2359
2360
  return T(
2360
2361
  () => r.value,
2361
2362
  async () => {
2362
2363
  await o;
2363
- const l = new google.maps.Geocoder(), [f, M] = a.value, { results: I } = await l.geocode({ language: ce, location: { lng: f, lat: M } }), p = I[0].formatted_address, y = Dt(I[0]), v = I.slice(-2)[0].address_components[0].long_name, L = I.slice(-1)[0].address_components[0].long_name;
2364
- c.lng = f, c.lat = M, c.name = p, e == null || e({ lng: f, lat: M, name: p }), n == null || n({ cityName: y, cityParentName: v, countryName: L });
2364
+ const l = new google.maps.Geocoder(), [m, M] = a.value, { results: I } = await l.geocode({ language: ce, location: { lng: m, lat: M } }), p = I[0].formatted_address, y = wt(I[0]), v = I.slice(-2)[0].address_components[0].long_name, L = I.slice(-1)[0].address_components[0].long_name;
2365
+ c.lng = m, c.lat = M, c.name = p, e == null || e({ lng: m, lat: M, name: p }), n == null || n({ cityName: y, cityParentName: v, countryName: L });
2365
2366
  }
2366
- ), { place: c, updatePlace: d, setPlace: m, updateCity: u };
2367
- }, hs = (t) => {
2368
- const { supplier: e } = N();
2369
- return e === "gmap" ? Yn(t) : Vn(t);
2370
- }, Sr = (t, e) => {
2367
+ ), { place: c, updatePlace: d, setPlace: f, updateCity: u };
2368
+ }, Ds = (t) => {
2369
+ const { supplier: e } = h();
2370
+ return e === "gmap" ? Hn(t) : Yn(t);
2371
+ }, hr = (t, e) => {
2371
2372
  let n = 1 / 0, i = t;
2372
2373
  for (const a of e) {
2373
- const o = AMap.GeometryUtil.distance(C(t), C(a));
2374
+ const o = AMap.GeometryUtil.distance(x(t), x(a));
2374
2375
  o >= n || (i = a, n = o);
2375
2376
  }
2376
2377
  return { shortestPlace: i, shortestDistance: n };
@@ -2381,30 +2382,30 @@ const gr = j(function(e) {
2381
2382
  o >= n || (i = a, n = o);
2382
2383
  }
2383
2384
  return { shortestPlace: i, shortestDistance: n };
2384
- }, hr = (t) => {
2385
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = w(!0), d = w([]), { idx: m, update: u } = ae(), { readyPromise: l } = N(), { place: f, updatePlace: M, setPlace: I, updateCity: p } = Vn({
2385
+ }, Dr = (t) => {
2386
+ const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = C(!0), d = C([]), { idx: f, update: u } = oe(), { readyPromise: l } = h(), { place: m, updatePlace: M, setPlace: I, updateCity: p } = Yn({
2386
2387
  pointRef: e,
2387
2388
  onChange: r,
2388
2389
  onChangeCity: s
2389
- }), y = b({ ...f }), v = D(() => {
2390
+ }), y = b({ ...m }), v = w(() => {
2390
2391
  const A = e.value;
2391
2392
  return d.value.some(
2392
- (x) => vn(C(x), A)
2393
+ (D) => yn(x(D), A)
2393
2394
  );
2394
- }), L = async () => {
2395
- const A = await n({ ...f }, a);
2396
- c.value = A !== void 0, d.value = A != null ? A : [];
2395
+ }), L = async (A) => {
2396
+ const D = await n({ ...A }, a);
2397
+ c.value = D !== void 0, d.value = D != null ? D : [];
2397
2398
  };
2398
2399
  return T(
2399
- () => m.value,
2400
+ () => f.value,
2400
2401
  async () => {
2401
2402
  await l;
2402
- const A = await n({ ...f }, a);
2403
+ const A = await n({ ...m }, a);
2403
2404
  if (A === void 0) {
2404
- c.value = !1, d.value = [], Object.assign(y, { ...f }), o == null || o({ ...f });
2405
+ c.value = !1, d.value = [], Object.assign(y, { ...m }), o == null || o({ ...m });
2405
2406
  return;
2406
2407
  }
2407
- const { shortestPlace: x, shortestDistance: h } = Sr(f, A), P = i(a), E = h > P ? f : x;
2408
+ const { shortestPlace: D, shortestDistance: N } = hr(m, A), P = i(a), E = N > P ? m : D;
2408
2409
  c.value = !0, d.value = A, Object.assign(y, { ...E }), o == null || o({ ...E });
2409
2410
  }
2410
2411
  ), {
@@ -2418,30 +2419,30 @@ const gr = j(function(e) {
2418
2419
  setPlace: I,
2419
2420
  updateCity: p
2420
2421
  };
2421
- }, Dr = (t) => {
2422
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = w(!0), d = w([]), { idx: m, update: u } = ae(), { readyPromise: l } = N(), { place: f, updatePlace: M, setPlace: I, updateCity: p } = Yn({
2422
+ }, wr = (t) => {
2423
+ const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, c = C(!0), d = C([]), { idx: f, update: u } = oe(), { readyPromise: l } = h(), { place: m, updatePlace: M, setPlace: I, updateCity: p } = Hn({
2423
2424
  pointRef: e,
2424
2425
  onChange: r,
2425
2426
  onChangeCity: s
2426
- }), y = b({ ...f }), v = D(() => {
2427
+ }), y = b({ ...m }), v = w(() => {
2427
2428
  const A = e.value;
2428
2429
  return d.value.some(
2429
- (x) => vn(C(x), A)
2430
+ (D) => yn(x(D), A)
2430
2431
  );
2431
- }), L = async () => {
2432
- const A = await n({ ...f }, a);
2433
- c.value = A !== void 0, d.value = A != null ? A : [];
2432
+ }), L = async (A) => {
2433
+ const D = await n({ ...A }, a);
2434
+ c.value = D !== void 0, d.value = D != null ? D : [];
2434
2435
  };
2435
2436
  return T(
2436
- () => m.value,
2437
+ () => f.value,
2437
2438
  async () => {
2438
2439
  await l;
2439
- const A = await n({ ...f }, a);
2440
+ const A = await n({ ...m }, a);
2440
2441
  if (A === void 0) {
2441
- c.value = !1, d.value = [], Object.assign(y, { ...f }), o == null || o({ ...f });
2442
+ c.value = !1, d.value = [], Object.assign(y, { ...m }), o == null || o({ ...m });
2442
2443
  return;
2443
2444
  }
2444
- const { shortestPlace: x, shortestDistance: h } = Nr(f, A), P = i(a), E = h > P ? f : x;
2445
+ const { shortestPlace: D, shortestDistance: N } = Nr(m, A), P = i(a), E = N > P ? m : D;
2445
2446
  c.value = !0, d.value = A, Object.assign(y, { ...E }), o == null || o({ ...E });
2446
2447
  }
2447
2448
  ), {
@@ -2455,37 +2456,37 @@ const gr = j(function(e) {
2455
2456
  setPlace: I,
2456
2457
  updateCity: p
2457
2458
  };
2458
- }, wr = (t) => {
2459
- const { supplier: e } = N();
2460
- return e === "gmap" ? Dr(t) : hr(t);
2461
- }, Hn = 13, Cr = (t) => {
2459
+ }, Cr = (t) => {
2460
+ const { supplier: e } = h();
2461
+ return e === "gmap" ? wr(t) : Dr(t);
2462
+ }, Jn = 13, xr = (t) => {
2462
2463
  var s, c, d;
2463
- const { onChange: e, mapRef: n, defaultValue: i } = t, a = w((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Hn), o = (m) => {
2464
+ const { onChange: e, mapRef: n, defaultValue: i } = t, a = C((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Jn), o = (f) => {
2464
2465
  var u;
2465
- a.value = m, (u = n.value) == null || u.setZoom(m);
2466
+ a.value = f, (u = n.value) == null || u.setZoom(f);
2466
2467
  };
2467
- return q(n, {}, (m, { target: u }) => {
2468
+ return te(n, {}, (f, { target: u }) => {
2468
2469
  const l = u.getZoom();
2469
2470
  a.value = l, e == null || e(l);
2470
2471
  }, [
2471
2472
  "onZoomEnd"
2472
2473
  ]), { zoomRef: a, setZoom: o };
2473
- }, xr = (t) => {
2474
+ }, Pr = (t) => {
2474
2475
  var s, c, d;
2475
- const { onChange: e, mapRef: n, defaultValue: i } = t, a = w((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Hn), o = (m) => {
2476
+ const { onChange: e, mapRef: n, defaultValue: i } = t, a = C((d = (c = (s = n.value) == null ? void 0 : s.getZoom()) != null ? c : i) != null ? d : Jn), o = (f) => {
2476
2477
  var u;
2477
- a.value = m, (u = n.value) == null || u.setZoom(m);
2478
+ a.value = f, (u = n.value) == null || u.setZoom(f);
2478
2479
  };
2479
- return F(n, {}, (m, { target: u }) => {
2480
+ return F(n, {}, (f, { target: u }) => {
2480
2481
  const l = u.getZoom();
2481
2482
  a.value = l, e == null || e(l);
2482
2483
  }, [
2483
2484
  "onZoom_change"
2484
2485
  ]), { zoomRef: a, setZoom: o };
2485
- }, Pr = (t) => {
2486
- const { supplier: e } = N();
2487
- return e === "gmap" ? xr(t) : Cr(t);
2488
2486
  }, br = (t) => {
2487
+ const { supplier: e } = h();
2488
+ return e === "gmap" ? Pr(t) : xr(t);
2489
+ }, Er = (t) => {
2489
2490
  const { interval: e } = t;
2490
2491
  let n;
2491
2492
  const i = {
@@ -2498,15 +2499,15 @@ const gr = j(function(e) {
2498
2499
  i.resolve = r, n = setTimeout(r, e);
2499
2500
  });
2500
2501
  }, timerStop: i };
2501
- }, Jn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4yNzc0NTMwMTYgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzMCIgY3k9IjMwIiByPSIxMC41Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC40MDUgLjI2NCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2Utb3BhY2l0eT0iLjEiIHN0cm9rZT0iIzAwM0RGRiIgZmlsbC1vcGFjaXR5PSIuMTUiIGZpbGw9IiM0ODczRkUiIGN4PSIzMCIgY3k9IjMwIiByPSIyOS41Ii8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2502
- var Qn = ie({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2503
- const Er = j(function(e) {
2504
- const n = D(() => {
2502
+ }, Qn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWln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ByPSI5LjMiLz48L2c+PC9zdmc+";
2503
+ var Fn = ae({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2504
+ const Tr = j(function(e) {
2505
+ const n = w(() => {
2505
2506
  const {
2506
2507
  size: i = "large"
2507
2508
  } = e;
2508
2509
  return `
2509
- <img src="${i === "large" ? Jn : B}" class="${Qn({
2510
+ <img src="${i === "large" ? Qn : B}" class="${Fn({
2510
2511
  size: i
2511
2512
  })}">
2512
2513
  `;
@@ -2519,13 +2520,13 @@ const Er = j(function(e) {
2519
2520
  registerOverlay: e.registerOverlay
2520
2521
  }
2521
2522
  });
2522
- }), Tr = j(function(e) {
2523
- const n = D(() => {
2523
+ }), Rr = j(function(e) {
2524
+ const n = w(() => {
2524
2525
  const {
2525
2526
  size: i = "large"
2526
- } = e, a = i === "large" ? Jn : B;
2527
+ } = e, a = i === "large" ? Qn : B;
2527
2528
  return O("img", {
2528
- class: Qn({
2529
+ class: Fn({
2529
2530
  size: i
2530
2531
  }),
2531
2532
  src: a
@@ -2538,90 +2539,115 @@ const Er = j(function(e) {
2538
2539
  registerOverlay: e.registerOverlay
2539
2540
  }
2540
2541
  });
2541
- }), ve = j(function(e) {
2542
- const n = N();
2543
- return () => G(n.supplier === "gmap" ? Tr : Er, {
2542
+ }), Be = j(function(e) {
2543
+ const n = h();
2544
+ return () => k(n.supplier === "gmap" ? Rr : Tr, {
2544
2545
  attrs: e
2545
2546
  });
2546
- }), Rr = () => {
2547
+ }), Te = j(function(e) {
2548
+ return () => {
2549
+ const {
2550
+ position: n,
2551
+ condition: i,
2552
+ registerOverlay: a
2553
+ } = e;
2554
+ return n ? !i || !a ? g(Be, {
2555
+ attrs: {
2556
+ position: n,
2557
+ size: "small"
2558
+ }
2559
+ }) : g("div", [g(Be, {
2560
+ attrs: {
2561
+ position: n,
2562
+ size: "small",
2563
+ registerOverlay: a
2564
+ }
2565
+ }), g(qe, {
2566
+ attrs: {
2567
+ registerOverlay: a,
2568
+ fitViewKey: JSON.stringify(n)
2569
+ }
2570
+ })]) : null;
2571
+ };
2572
+ }), zr = () => {
2547
2573
  const t = ge();
2548
2574
  return { apiMapLngLatToVw: (n) => {
2549
2575
  var i;
2550
2576
  return (i = t == null ? void 0 : t.value) == null ? void 0 : i.lngLatToContainer(n).toArray();
2551
2577
  } };
2552
- }, zr = () => {
2553
- const t = fe();
2578
+ }, Zr = () => {
2579
+ const t = me();
2554
2580
  return { apiMapLngLatToVw: (n) => {
2555
- var u, l, f, M, I;
2556
- const [i, a] = n, o = (u = t == null ? void 0 : t.value) == null ? void 0 : u.getProjection(), r = o == null ? void 0 : o.fromLatLngToPoint({ lng: i, lat: a }), s = (l = r == null ? void 0 : r.x) != null ? l : 0, c = (f = r == null ? void 0 : r.y) != null ? f : 0, m = 2 ** ((I = (M = t == null ? void 0 : t.value) == null ? void 0 : M.getZoom()) != null ? I : 0);
2557
- return [s * m, c * m];
2581
+ var u, l, m, M, I;
2582
+ const [i, a] = n, o = (u = t == null ? void 0 : t.value) == null ? void 0 : u.getProjection(), r = o == null ? void 0 : o.fromLatLngToPoint({ lng: i, lat: a }), s = (l = r == null ? void 0 : r.x) != null ? l : 0, c = (m = r == null ? void 0 : r.y) != null ? m : 0, f = 2 ** ((I = (M = t == null ? void 0 : t.value) == null ? void 0 : M.getZoom()) != null ? I : 0);
2583
+ return [s * f, c * f];
2558
2584
  } };
2559
- }, Zr = () => {
2560
- const { supplier: t } = N();
2561
- return t === "gmap" ? zr() : Rr();
2562
- }, Pt = (t) => t === "left" ? "right" : "left", Or = (t) => {
2563
- const { widthLimit: e, heightLimit: n } = t, { apiMapLngLatToVw: i } = Zr(), a = (r, s) => {
2564
- const c = 100 / window.innerWidth, [d, m] = i(r), [u, l] = i(s);
2565
- return [(u - d) * c, (l - m) * c];
2566
- }, o = w(Array(t.places.length).fill("right"));
2567
- return zo(
2568
- () => t.places.map(C),
2585
+ }, Or = () => {
2586
+ const { supplier: t } = h();
2587
+ return t === "gmap" ? Zr() : zr();
2588
+ }, bt = (t) => t === "left" ? "right" : "left", Gr = (t) => {
2589
+ const { widthLimit: e, heightLimit: n } = t, { apiMapLngLatToVw: i } = Or(), a = (r, s) => {
2590
+ const c = 100 / window.innerWidth, [d, f] = i(r), [u, l] = i(s);
2591
+ return [(u - d) * c, (l - f) * c];
2592
+ }, o = C(Array(t.places.length).fill("right"));
2593
+ return Zo(
2594
+ () => t.places.map(x),
2569
2595
  (r) => {
2570
- const s = r.map((l, f) => ({ point: l, index: f })).sort(
2571
- ({ point: [, l] }, { point: [, f] }) => l < f ? 1 : l > f ? -1 : 0
2596
+ const s = r.map((l, m) => ({ point: l, index: m })).sort(
2597
+ ({ point: [, l] }, { point: [, m] }) => l < m ? 1 : l > m ? -1 : 0
2572
2598
  ), c = r.length, d = Array(c);
2573
- let m = "right", u = !1;
2599
+ let f = "right", u = !1;
2574
2600
  for (let l = 0; l < c; l++) {
2575
- const { index: f } = s[l];
2601
+ const { index: m } = s[l];
2576
2602
  if (l === c - 1) {
2577
- d[f] = u ? Pt(m) : "right";
2603
+ d[m] = u ? bt(f) : "right";
2578
2604
  continue;
2579
2605
  }
2580
2606
  if (l === 0) {
2581
2607
  const [y, v] = a(s[l].point, s[l + 1].point);
2582
2608
  u = y > -e && y < e && v > -n && v < n;
2583
2609
  const L = u && y > 0 ? "left" : "right";
2584
- d[f] = L, m = L;
2610
+ d[m] = L, f = L;
2585
2611
  continue;
2586
2612
  }
2587
- const [M, I] = a(s[l].point, s[l + 1].point), p = u ? Pt(m) : "right";
2588
- d[f] = p, m = p, u = M > -e && M < e && I > -n && I < n;
2613
+ const [M, I] = a(s[l].point, s[l + 1].point), p = u ? bt(f) : "right";
2614
+ d[m] = p, f = p, u = M > -e && M < e && I > -n && I < n;
2589
2615
  }
2590
2616
  o.value = d;
2591
2617
  }
2592
2618
  ), o;
2593
2619
  };
2594
- var Be = /* @__PURE__ */ ((t) => (t.topLeft = "top-left", t.topCenter = "top-center", t.topRight = "top-right", t.middleLeft = "middle-left", t.center = "center", t.middleRight = "middle-right", t.bottomLeft = "bottom-left", t.bottomCenter = "bottom-center", t.bottomRight = "bottom-right", t))(Be || {});
2595
- var bt = ie({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Et = ie({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Fn = "fhyw8b", $n = ie({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), Ne = ie({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2596
- const Gr = j(function(e, {
2620
+ var Ve = /* @__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))(Ve || {});
2621
+ var Et = ae({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Tt = ae({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), $n = "fhyw8b", Xn = ae({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), Se = ae({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2622
+ const kr = j(function(e, {
2597
2623
  emit: n
2598
2624
  }) {
2599
- const i = D(() => {
2625
+ const i = w(() => {
2600
2626
  var s;
2601
2627
  return (s = e.textAlign) != null ? s : "right";
2602
- }), a = D(() => {
2628
+ }), a = w(() => {
2603
2629
  const {
2604
2630
  hideIcon: s = !1
2605
2631
  } = e;
2606
2632
  return `
2607
- <div class="${$n({
2633
+ <div class="${Xn({
2608
2634
  textAlign: i.value
2609
2635
  })}">
2610
- <img class="${Ne({
2636
+ <img class="${Se({
2611
2637
  hideIcon: s
2612
- })} ${bt({
2638
+ })} ${Et({
2613
2639
  textAlign: i.value
2614
2640
  })}" src="${B}">
2615
- <div class="${Fn}">${e.label}</div>
2641
+ <div class="${$n}">${e.label}</div>
2616
2642
  </div>
2617
2643
  `;
2618
- }), o = D(() => {
2644
+ }), o = w(() => {
2619
2645
  const {
2620
2646
  hideIcon: s = !1
2621
2647
  } = e;
2622
- return `<img class="${Ne({
2648
+ return `<img class="${Se({
2623
2649
  hideIcon: s
2624
- })} ${bt({
2650
+ })} ${Et({
2625
2651
  textAlign: i.value
2626
2652
  })}" src="${B}">`;
2627
2653
  }), r = () => {
@@ -2631,42 +2657,42 @@ const Gr = j(function(e, {
2631
2657
  attrs: {
2632
2658
  position: e.position,
2633
2659
  content: e.label ? a.value : o.value,
2634
- anchor: i.value === "left" ? Be.middleRight : Be.middleLeft
2660
+ anchor: i.value === "left" ? Ve.middleRight : Ve.middleLeft
2635
2661
  },
2636
2662
  on: {
2637
2663
  click: r
2638
2664
  }
2639
2665
  });
2640
- }), kr = j(function(e, {
2666
+ }), Wr = j(function(e, {
2641
2667
  emit: n
2642
2668
  }) {
2643
- const i = D(() => {
2669
+ const i = w(() => {
2644
2670
  var s;
2645
2671
  return (s = e.textAlign) != null ? s : "right";
2646
- }), a = D(() => {
2672
+ }), a = w(() => {
2647
2673
  const {
2648
2674
  hideIcon: s = !1
2649
2675
  } = e;
2650
2676
  return O("div", {
2651
- class: `${$n({
2677
+ class: `${Xn({
2652
2678
  textAlign: i.value
2653
- })} ${Et({
2679
+ })} ${Tt({
2654
2680
  textAlign: i.value
2655
2681
  })}`
2656
2682
  }, `
2657
- <img class="${Ne({
2683
+ <img class="${Se({
2658
2684
  hideIcon: s
2659
2685
  })}" src="${B}">
2660
- <div class="${Fn}">${e.label}</div>
2686
+ <div class="${$n}">${e.label}</div>
2661
2687
  `);
2662
- }), o = D(() => {
2688
+ }), o = w(() => {
2663
2689
  const {
2664
2690
  hideIcon: s = !1
2665
2691
  } = e;
2666
2692
  return O("img", {
2667
- class: `${Ne({
2693
+ class: `${Se({
2668
2694
  hideIcon: s
2669
- })} ${Et({
2695
+ })} ${Tt({
2670
2696
  textAlign: i.value
2671
2697
  })}`,
2672
2698
  src: B
@@ -2683,31 +2709,31 @@ const Gr = j(function(e, {
2683
2709
  click: r
2684
2710
  }
2685
2711
  });
2686
- }), W = j(function(e, {
2712
+ }), G = j(function(e, {
2687
2713
  emit: n
2688
2714
  }) {
2689
- const i = N();
2690
- return () => G(i.supplier === "gmap" ? kr : Gr, {
2715
+ const i = h();
2716
+ return () => k(i.supplier === "gmap" ? Wr : kr, {
2691
2717
  attrs: e,
2692
2718
  on: {
2693
2719
  click: (a) => n("click", a)
2694
2720
  }
2695
2721
  });
2696
- }), Wr = j(function(e, {
2722
+ }), Ur = j(function(e, {
2697
2723
  emit: n
2698
2724
  }) {
2699
2725
  const {
2700
2726
  renderLabel: i
2701
- } = e, a = Or(b({
2702
- places: ri(e, "places"),
2727
+ } = e, a = Gr(b({
2728
+ places: si(e, "places"),
2703
2729
  heightLimit: 9,
2704
2730
  widthLimit: 32
2705
2731
  }));
2706
2732
  return () => g("div", [e.places.map((o, r) => {
2707
2733
  const s = a.value[r], c = i ? i(o) : o.name;
2708
- return g(W, {
2734
+ return g(G, {
2709
2735
  attrs: {
2710
- position: C(o),
2736
+ position: x(o),
2711
2737
  label: c,
2712
2738
  textAlign: s
2713
2739
  },
@@ -2716,10 +2742,10 @@ const Gr = j(function(e, {
2716
2742
  }
2717
2743
  });
2718
2744
  })]);
2719
- }), Ur = 10, Br = 100, Vr = 500, Yr = "", Hr = 13, Jr = "当前位置", Qr = 8, Ze = 18, Ds = de(function(e, {
2745
+ }), Br = 10, Vr = 100, Yr = 500, Hr = "", Jr = 13, Qr = "当前位置", Fr = 8, Ze = 18, ws = de(function(e, {
2720
2746
  emit: n
2721
2747
  }) {
2722
- var ot, rt;
2748
+ var rt, st;
2723
2749
  const {
2724
2750
  geoDefaultPosition: i,
2725
2751
  getRecomendPlace: a,
@@ -2728,67 +2754,67 @@ const Gr = j(function(e, {
2728
2754
  } = e, {
2729
2755
  mapRef: s,
2730
2756
  setMap: c
2731
- } = Te(), {
2757
+ } = Ee(), {
2732
2758
  readyPromise: d
2733
- } = N(), {
2734
- zoomRef: m,
2759
+ } = h(), {
2760
+ zoomRef: f,
2735
2761
  setZoom: u
2736
- } = Pr({
2762
+ } = br({
2737
2763
  mapRef: s,
2738
- defaultValue: Qr
2764
+ defaultValue: Fr
2739
2765
  }), {
2740
2766
  timerStart: l,
2741
- timerStop: f
2742
- } = br({
2743
- interval: Vr
2767
+ timerStop: m
2768
+ } = Er({
2769
+ interval: Yr
2744
2770
  }), M = b({
2745
- lng: (ot = i == null ? void 0 : i[0]) != null ? ot : 0,
2746
- lat: (rt = i == null ? void 0 : i[1]) != null ? rt : 0,
2771
+ lng: (rt = i == null ? void 0 : i[0]) != null ? rt : 0,
2772
+ lat: (st = i == null ? void 0 : i[1]) != null ? st : 0,
2747
2773
  name: ""
2748
- }), I = D(() => [M.lng, M.lat]), p = {
2774
+ }), I = w(() => [M.lng, M.lat]), p = {
2749
2775
  source: "geo"
2750
2776
  }, y = (S) => {
2751
- p.source = "api", k(S);
2777
+ p.source = "api", W(S);
2752
2778
  }, v = (S) => {
2753
- p.source = "api", M.lng = S.lng, M.lat = S.lat, M.name = S.name, ze(u)(Ze), ni(S), ai();
2779
+ p.source = "api", M.lng = S.lng, M.lat = S.lat, M.name = S.name, ze(u)(Ze), ii(S), oi(S);
2754
2780
  }, L = (S) => {
2755
2781
  p.source = "api", M.lng = S.lng, M.lat = S.lat, M.name = S.name;
2756
2782
  }, A = new Promise((S) => {
2757
2783
  o().then(S).catch(() => S(void 0));
2758
2784
  }), {
2759
- geoPosition: x,
2760
- geoError: h,
2785
+ geoPosition: D,
2786
+ geoError: N,
2761
2787
  geoLoading: P
2762
- } = Ee({
2788
+ } = be({
2763
2789
  geoDefaultPosition: i,
2764
2790
  onLoad: async (S) => {
2765
- await d, p.source = "geo", k(S.position), n("loadGeoLocation", S);
2791
+ await d, p.source = "geo", W(S.position), n("loadGeoLocation", S);
2766
2792
  },
2767
2793
  onLoadDefault: async (S) => {
2768
2794
  await d;
2769
2795
  const J = await A;
2770
- p.source = "geo", n("loadDefaultGeoLocation", S), J ? v(J) : (k(S.position), ze(u)(Ze));
2796
+ p.source = "geo", n("loadDefaultGeoLocation", S), J ? v(J) : (W(S.position), ze(u)(Ze));
2771
2797
  },
2772
2798
  onChange: (S) => n("changeGeoLocation", S),
2773
2799
  onError: (S) => n("geoError", S)
2774
2800
  });
2775
- r.setCenterPlaceByUserSpecified = v, r.panToGeoPositionByRecomend = () => h.value ? !1 : (y(x.value), !0);
2801
+ r.setCenterPlaceByUserSpecified = v, r.panToGeoPositionByRecomend = () => N.value ? !1 : (y(D.value), !0);
2776
2802
  const {
2777
2803
  isDragging: E
2778
- } = Lr({
2804
+ } = Sr({
2779
2805
  mapRef: s,
2780
2806
  onChange: (S) => {
2781
- p.source = "drag", l(), k(S), n("changeByDrag", S);
2807
+ p.source = "drag", l(), W(S), n("changeByDrag", S);
2782
2808
  }
2783
2809
  }), {
2784
- updatePlace: k,
2785
- updateCity: ni,
2786
- updateRecomandPlace: ii,
2787
- updatePlaceCandidates: ai,
2788
- placeCandidates: nt,
2789
- availableRef: it,
2790
- isElectedRef: at
2791
- } = wr({
2810
+ updatePlace: W,
2811
+ updateCity: ii,
2812
+ updateRecomandPlace: ai,
2813
+ updatePlaceCandidates: oi,
2814
+ placeCandidates: it,
2815
+ availableRef: at,
2816
+ isElectedRef: ot
2817
+ } = Cr({
2792
2818
  pointRef: I,
2793
2819
  context: p,
2794
2820
  getRecomendPlace: a,
@@ -2796,20 +2822,20 @@ const Gr = j(function(e, {
2796
2822
  const J = S == null ? void 0 : S.source;
2797
2823
  switch (J) {
2798
2824
  case "drag":
2799
- return Ur;
2825
+ return Br;
2800
2826
  case "api":
2801
2827
  case "geo":
2802
2828
  case "default":
2803
- return Br;
2829
+ return Vr;
2804
2830
  default:
2805
2831
  throw new Error(`MyError: should not call getLimit on source: ${J}`);
2806
2832
  }
2807
2833
  },
2808
2834
  onChangePlace: (S) => {
2809
- p.source !== "recomend" && ii(), n("changePlace", S);
2835
+ p.source !== "recomend" && ai(), n("changePlace", S);
2810
2836
  },
2811
2837
  onChange: async (S) => {
2812
- await f.promise, p.source = "recomend", Object.assign(M, {
2838
+ await m.promise, p.source = "recomend", Object.assign(M, {
2813
2839
  ...S
2814
2840
  }), ze(u)(Ze), n("changeRecomandPlace", S);
2815
2841
  },
@@ -2822,30 +2848,30 @@ const Gr = j(function(e, {
2822
2848
  ...M
2823
2849
  });
2824
2850
  }), Oe(() => {
2825
- r.onChangeRecomendPlaces([...nt.value]);
2851
+ r.onChangeRecomendPlaces([...it.value]);
2826
2852
  }), () => {
2827
- const S = it.value ? at.value ? M.name : `${M.name} ${Yr}` : e.unavailableTitle, J = it.value ? at.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2828
- return g(Pe, {
2853
+ const S = at.value ? ot.value ? M.name : `${M.name} ${Hr}` : e.unavailableTitle, J = at.value ? ot.value ? e.recomendDescription : e.noRecomendDescription : void 0;
2854
+ return g(xe, {
2829
2855
  attrs: {
2830
2856
  center: I.value,
2831
- zoom: m.value,
2857
+ zoom: f.value,
2832
2858
  mapRef: c
2833
2859
  }
2834
- }, [!P.value && !h.value && g(ve, {
2860
+ }, [!P.value && !N.value && g(Be, {
2835
2861
  attrs: {
2836
- position: x.value
2862
+ position: D.value
2837
2863
  }
2838
- }), m.value >= Hr && g(Wr, {
2864
+ }), f.value >= Jr && g(Ur, {
2839
2865
  attrs: {
2840
- places: nt.value,
2841
- renderLabel: (st) => Ro(st, M) ? void 0 : st.name
2866
+ places: it.value,
2867
+ renderLabel: (ct) => zo(ct, M) ? void 0 : ct.name
2842
2868
  },
2843
2869
  on: {
2844
2870
  click: L
2845
2871
  }
2846
- }), P.value ? null : g(po, {
2872
+ }), P.value ? null : g(vo, {
2847
2873
  attrs: {
2848
- title: so(S) || Jr,
2874
+ title: co(S) || Qr,
2849
2875
  description: J,
2850
2876
  type: E.value ? "locator" : "box"
2851
2877
  },
@@ -2854,33 +2880,33 @@ const Gr = j(function(e, {
2854
2880
  }
2855
2881
  })]);
2856
2882
  };
2857
- }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "getDefaultCenterPlace", "loading", "mapContext"]), Fr = [116.2317, 39.5427], Tt = (t) => t.lng !== void 0 && t.lat !== void 0, $r = () => {
2858
- const t = N();
2883
+ }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "getDefaultCenterPlace", "loading", "mapContext"]), $r = [116.2317, 39.5427], Rt = (t) => t.lng !== void 0 && t.lat !== void 0, Xr = () => {
2884
+ const t = h();
2859
2885
  return { apiMapDistance: (n, i) => {
2860
2886
  if (t.status === ue.SUCCESS)
2861
2887
  return AMap.GeometryUtil.distance(n, i);
2862
2888
  } };
2863
- }, Xr = () => {
2864
- const t = N();
2889
+ }, _r = () => {
2890
+ const t = h();
2865
2891
  return { apiMapDistance: (n, i) => {
2866
2892
  if (t.status === ue.SUCCESS)
2867
2893
  return google.maps.geometry.spherical.computeDistanceBetween(R(n), R(i));
2868
2894
  } };
2869
- }, oe = () => {
2870
- const { supplier: t } = N();
2871
- return t === "gmap" ? Xr() : $r();
2895
+ }, X = () => {
2896
+ const { supplier: t } = h();
2897
+ return t === "gmap" ? _r() : Xr();
2872
2898
  }, he = "data:image/svg+xml;base64,PHN2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Y2My0yLjY0My0uNjYzLTIuNjQzbC0uMDA5LS4xODRjLjc3My43MDggMi42NDUgMS4yMDMgNC44MyAxLjIwMyAyLjI0MyAwIDQuMTU5LS41MjQgNC44OTItMS4yNmwtLjAxMy4yNDFjMC0uMDA0LS4yMTggMS43NjQtLjY0NiAyLjYwNnpNNy40NDcgMjMuOTNhMjAuMTIgMjAuMTIgMCAwMC0uMjk0LTIuNDQydi0uMDY1YzEuNTM4LS4zMiAzLjE2Ny0uNjQ5IDQuODYyLS42NDkgMS42NzUgMCAzLjI5NC4zMjYgNC44MTYuNjM3YTIyLjY3MyAyMi42NzMgMCAwMC0uMzAzIDIuNTJjLS4xNDcgMi44ODQuMDIgMy4zMTQuMjMyIDUuMDQ4LjAwNi4wNTcuMDI2LjE1Mi4wNTYuMjc0LTEuNTEzLjI3OC0zIC41NC00LjkxMi41NC0xLjg0NyAwLTMuMjg5LS4yNS00Ljc1LS41MTF2LS4wMDhjLjAzLS4xMzEuMDU1LS4yMzMuMDYtLjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2873
- var De = "_65j3sr1", Xn = "_4a4ovk5", _n = "_4a4ovk0", Kn = "_4a4ovk2";
2874
- const _r = j(function(e) {
2875
- const n = D(() => {
2899
+ var Ne = "_65j3sr1", _n = "_4a4ovk5", Kn = "_4a4ovk0", qn = "_4a4ovk2";
2900
+ const Kr = j(function(e) {
2901
+ const n = w(() => {
2876
2902
  var o;
2877
- const i = e.title ? xe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Xn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2903
+ const i = e.title ? Ce(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${_n}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2878
2904
  return e.title ? `
2879
- <div class="${_n}">
2880
- <div class="${Kn}">${i}</div>
2881
- <img src="${he}" class="${De}" style="${a}">
2905
+ <div class="${Kn}">
2906
+ <div class="${qn}">${i}</div>
2907
+ <img src="${he}" class="${Ne}" style="${a}">
2882
2908
  </div>
2883
- ` : `<img src="${he}" class="${De}" style="${a}">`;
2909
+ ` : `<img src="${he}" class="${Ne}" style="${a}">`;
2884
2910
  });
2885
2911
  return () => g(V, {
2886
2912
  attrs: {
@@ -2890,17 +2916,17 @@ const _r = j(function(e) {
2890
2916
  registerOverlay: e.registerOverlay
2891
2917
  }
2892
2918
  });
2893
- }), Kr = j(function(e) {
2894
- const n = D(() => {
2919
+ }), qr = j(function(e) {
2920
+ const n = w(() => {
2895
2921
  var o;
2896
- const i = e.title ? xe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Xn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2922
+ const i = e.title ? Ce(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${_n}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2897
2923
  return e.title ? O("div", {
2898
- class: _n
2924
+ class: Kn
2899
2925
  }, `
2900
- <div class="${Kn}">${i}</div>
2901
- <img src="${he}" class="${De}" style="${a}">
2926
+ <div class="${qn}">${i}</div>
2927
+ <img src="${he}" class="${Ne}" style="${a}">
2902
2928
  `) : O("img", {
2903
- class: De,
2929
+ class: Ne,
2904
2930
  src: he,
2905
2931
  style: a
2906
2932
  });
@@ -2912,12 +2938,12 @@ const _r = j(function(e) {
2912
2938
  registerOverlay: e.registerOverlay
2913
2939
  }
2914
2940
  });
2915
- }), Ke = j(function(e) {
2916
- const n = N();
2917
- return () => G(n.supplier === "gmap" ? Kr : _r, {
2941
+ }), et = j(function(e) {
2942
+ const n = h();
2943
+ return () => k(n.supplier === "gmap" ? qr : Kr, {
2918
2944
  attrs: e
2919
2945
  });
2920
- }), qr = j(function(e) {
2946
+ }), es = j(function(e) {
2921
2947
  return () => {
2922
2948
  const {
2923
2949
  path: n
@@ -2938,14 +2964,14 @@ const _r = j(function(e) {
2938
2964
  }
2939
2965
  });
2940
2966
  };
2941
- }), es = j(function(e) {
2942
- const n = D(() => e.path.map(R));
2967
+ }), ts = j(function(e) {
2968
+ const n = w(() => e.path.map(R));
2943
2969
  return () => {
2944
2970
  const i = n.value;
2945
2971
  if (i.length === 0)
2946
2972
  return null;
2947
2973
  const o = 2 * (window.innerWidth * 0.01), r = o / 4;
2948
- return g(je, {
2974
+ return g(ye, {
2949
2975
  attrs: {
2950
2976
  path: i,
2951
2977
  strokeWeight: o,
@@ -2971,14 +2997,14 @@ const _r = j(function(e) {
2971
2997
  }
2972
2998
  });
2973
2999
  };
2974
- }), qe = j(function(e) {
2975
- const n = N();
2976
- return () => G(n.supplier === "gmap" ? es : qr, {
3000
+ }), tt = j(function(e) {
3001
+ const n = h();
3002
+ return () => k(n.supplier === "gmap" ? ts : es, {
2977
3003
  attrs: e
2978
3004
  });
2979
- }), qn = (t) => {
3005
+ }), ei = (t) => {
2980
3006
  const e = z([]), n = new AMap.Walking({});
2981
- return ne(
3007
+ return ie(
2982
3008
  () => ({ ...t }),
2983
3009
  ({ from: i, to: a }) => {
2984
3010
  n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (o, r) => {
@@ -2989,8 +3015,8 @@ const _r = j(function(e) {
2989
3015
  if (!c.routes)
2990
3016
  return;
2991
3017
  const d = c.routes[0];
2992
- for (const m of d.steps) {
2993
- const u = m.path.map(({ lng: l, lat: f }) => [l, f]);
3018
+ for (const f of d.steps) {
3019
+ const u = f.path.map(({ lng: l, lat: m }) => [l, m]);
2994
3020
  s = s.concat(u);
2995
3021
  }
2996
3022
  e.value = s;
@@ -3005,9 +3031,9 @@ const _r = j(function(e) {
3005
3031
  });
3006
3032
  }
3007
3033
  ), e;
3008
- }, ei = (t) => {
3034
+ }, ti = (t) => {
3009
3035
  const e = z([]), n = new google.maps.DirectionsService();
3010
- return ne(
3036
+ return ie(
3011
3037
  () => ({ ...t }),
3012
3038
  ({ from: i, to: a }) => {
3013
3039
  n.route(
@@ -3020,9 +3046,9 @@ const _r = j(function(e) {
3020
3046
  switch (r) {
3021
3047
  case google.maps.DirectionsStatus.OK: {
3022
3048
  let s = [];
3023
- const d = o.routes[0].overview_path.map((m) => [
3024
- m.lng(),
3025
- m.lat()
3049
+ const d = o.routes[0].overview_path.map((f) => [
3050
+ f.lng(),
3051
+ f.lat()
3026
3052
  ]);
3027
3053
  s = s.concat(d), e.value = s;
3028
3054
  return;
@@ -3038,43 +3064,43 @@ const _r = j(function(e) {
3038
3064
  );
3039
3065
  }
3040
3066
  ), e;
3041
- }, ws = (t) => {
3042
- const { supplier: e } = N();
3043
- return e === "gmap" ? ei(t) : qn(t);
3044
- }, ts = j(function(e, {
3067
+ }, Cs = (t) => {
3068
+ const { supplier: e } = h();
3069
+ return e === "gmap" ? ti(t) : ei(t);
3070
+ }, ns = j(function(e, {
3045
3071
  slots: n
3046
3072
  }) {
3047
- const i = qn(e);
3073
+ const i = ei(e);
3048
3074
  return () => {
3049
3075
  var a;
3050
3076
  return g("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3051
3077
  path: i
3052
3078
  }))]);
3053
3079
  };
3054
- }), ns = j(function(e, {
3080
+ }), is = j(function(e, {
3055
3081
  slots: n
3056
3082
  }) {
3057
- const i = ei(e);
3083
+ const i = ti(e);
3058
3084
  return () => {
3059
3085
  var a;
3060
3086
  return g("div", [(a = n.render) == null ? void 0 : a.call(n, b({
3061
3087
  path: i
3062
3088
  }))]);
3063
3089
  };
3064
- }), et = j(function(e, {
3090
+ }), nt = j(function(e, {
3065
3091
  slots: n
3066
3092
  }) {
3067
3093
  const {
3068
3094
  supplier: i
3069
- } = N();
3070
- return () => G(i === "gmap" ? ns : ts, {
3095
+ } = h();
3096
+ return () => k(i === "gmap" ? is : ns, {
3071
3097
  attrs: e,
3072
3098
  scopedSlots: n
3073
3099
  });
3074
- }), we = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
3075
- var ti = "rrvp0y3", Ce = "rrvp0y2";
3076
- const is = j(function(e) {
3077
- const n = D(() => `<img src="${we}" class="${Ce}">`), i = D(() => `<img src="${we}" class="${Ce} ${ti}">`);
3100
+ }), De = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
3101
+ var ni = "rrvp0y3", we = "rrvp0y2";
3102
+ const as = j(function(e) {
3103
+ const n = w(() => `<img src="${De}" class="${we}">`), i = w(() => `<img src="${De}" class="${we} ${ni}">`);
3078
3104
  return () => g("div", [g(V, {
3079
3105
  attrs: {
3080
3106
  position: e.position,
@@ -3088,13 +3114,13 @@ const is = j(function(e) {
3088
3114
  content: i.value
3089
3115
  }
3090
3116
  })]);
3091
- }), as = j(function(e) {
3092
- const n = D(() => O("img", {
3093
- class: Ce,
3094
- src: we
3095
- })), i = D(() => O("img", {
3096
- class: `${Ce} ${ti}`,
3097
- src: we
3117
+ }), os = j(function(e) {
3118
+ const n = w(() => O("img", {
3119
+ class: we,
3120
+ src: De
3121
+ })), i = w(() => O("img", {
3122
+ class: `${we} ${ni}`,
3123
+ src: De
3098
3124
  }));
3099
3125
  return () => {
3100
3126
  const a = R(e.position);
@@ -3110,18 +3136,18 @@ const is = j(function(e) {
3110
3136
  }
3111
3137
  })]);
3112
3138
  };
3113
- }), os = j(function(e) {
3114
- const n = N();
3115
- return () => G(n.supplier === "gmap" ? as : is, {
3139
+ }), rs = j(function(e) {
3140
+ const n = h();
3141
+ return () => k(n.supplier === "gmap" ? os : as, {
3116
3142
  attrs: e
3117
3143
  });
3118
- }), tt = 2e3, Rt = j(function(e) {
3144
+ }), $ = 2e3, zt = j(function(e) {
3119
3145
  return () => {
3120
3146
  const {
3121
3147
  from: n,
3122
3148
  title: i,
3123
3149
  registerOverlay: a
3124
- } = e, o = C(n);
3150
+ } = e, o = x(n);
3125
3151
  return g("div", [g(Z, {
3126
3152
  attrs: {
3127
3153
  type: "start",
@@ -3129,11 +3155,11 @@ const is = j(function(e) {
3129
3155
  title: i,
3130
3156
  registerOverlay: a
3131
3157
  }
3132
- }), g(os, {
3158
+ }), g(rs, {
3133
3159
  attrs: {
3134
3160
  position: o
3135
3161
  }
3136
- }), g(W, {
3162
+ }), g(G, {
3137
3163
  attrs: {
3138
3164
  position: o,
3139
3165
  label: n.name,
@@ -3145,58 +3171,69 @@ const is = j(function(e) {
3145
3171
  }
3146
3172
  })]);
3147
3173
  };
3148
- }), rs = j(function(e) {
3174
+ }), ss = j(function(e) {
3175
+ const {
3176
+ apiMapDistance: n
3177
+ } = X();
3149
3178
  return () => {
3150
3179
  const {
3151
- from: n,
3152
- to: i,
3153
- passengerPosition: a,
3154
- registerOverlay: o
3155
- } = e, r = C(n), s = C(i);
3180
+ from: i,
3181
+ to: a,
3182
+ passengerPosition: o,
3183
+ registerOverlay: r
3184
+ } = e, s = x(i), c = x(a), d = o ? n(o, s) : void 0;
3156
3185
  return g("div", [g(pe, {
3157
3186
  attrs: {
3158
- to: s,
3159
- from: r,
3187
+ to: c,
3188
+ from: s,
3160
3189
  render: ({
3161
- path: c
3190
+ path: f
3162
3191
  }) => g(Ie, {
3163
3192
  attrs: {
3164
- path: c
3193
+ path: f
3165
3194
  }
3166
3195
  })
3167
3196
  }
3168
3197
  }), g(Z, {
3169
3198
  attrs: {
3170
3199
  type: "start",
3171
- registerOverlay: o,
3172
- position: r
3200
+ registerOverlay: r,
3201
+ position: s
3173
3202
  }
3174
3203
  }), g(Z, {
3175
3204
  attrs: {
3176
3205
  type: "end",
3177
- registerOverlay: o,
3178
- position: s
3206
+ registerOverlay: r,
3207
+ position: c
3179
3208
  }
3180
- }), ",", !!a && [g(ve, {
3209
+ }), g(G, {
3181
3210
  attrs: {
3182
- position: a,
3183
- registerOverlay: o
3211
+ position: s,
3212
+ label: i.name,
3213
+ hideIcon: !0
3184
3214
  }
3185
- }), g(ee, {
3215
+ }), g(G, {
3186
3216
  attrs: {
3187
- registerOverlay: o,
3188
- fitViewKey: JSON.stringify(a)
3217
+ position: c,
3218
+ label: a.name,
3219
+ hideIcon: !0
3189
3220
  }
3190
- })], g(U, {
3221
+ }), g(Te, {
3191
3222
  attrs: {
3192
- registerOverlay: o
3223
+ position: o,
3224
+ condition: !!d && d < $,
3225
+ registerOverlay: r
3226
+ }
3227
+ }), g(U, {
3228
+ attrs: {
3229
+ registerOverlay: r
3193
3230
  }
3194
3231
  })]);
3195
3232
  };
3196
- }), ss = j(function(e) {
3233
+ }), cs = j(function(e) {
3197
3234
  const {
3198
3235
  apiMapDistance: n
3199
- } = oe();
3236
+ } = X();
3200
3237
  return () => {
3201
3238
  const {
3202
3239
  from: i,
@@ -3204,24 +3241,20 @@ const is = j(function(e) {
3204
3241
  passengerPosition: o,
3205
3242
  renderTitle: r,
3206
3243
  registerOverlay: s
3207
- } = e, c = C(i), d = o ? n(o, c) : 0;
3208
- return g("div", [!!o && [g(ve, {
3244
+ } = e, c = x(i), d = o ? n(o, c) : void 0;
3245
+ return g("div", [g(Te, {
3209
3246
  attrs: {
3210
3247
  position: o,
3248
+ condition: !!d && d < $,
3211
3249
  registerOverlay: s
3212
3250
  }
3213
- }), g(ee, {
3214
- attrs: {
3215
- registerOverlay: s,
3216
- fitViewKey: JSON.stringify(o)
3217
- }
3218
- })], g(Z, {
3251
+ }), g(Z, {
3219
3252
  attrs: {
3220
3253
  type: "start",
3221
3254
  position: c,
3222
3255
  registerOverlay: s
3223
3256
  }
3224
- }), g(W, {
3257
+ }), g(G, {
3225
3258
  attrs: {
3226
3259
  position: c,
3227
3260
  label: i.name,
@@ -3232,14 +3265,14 @@ const is = j(function(e) {
3232
3265
  from: a,
3233
3266
  to: c,
3234
3267
  render: ({
3235
- path: m,
3268
+ path: f,
3236
3269
  distance: u,
3237
3270
  duration: l
3238
3271
  }) => [g(Ie, {
3239
3272
  attrs: {
3240
- path: m
3273
+ path: f
3241
3274
  }
3242
- }), g(Ke, {
3275
+ }), g(et, {
3243
3276
  attrs: {
3244
3277
  position: a,
3245
3278
  title: r({
@@ -3248,22 +3281,22 @@ const is = j(function(e) {
3248
3281
  }),
3249
3282
  registerOverlay: s
3250
3283
  }
3251
- }), g(ee, {
3284
+ }), g(qe, {
3252
3285
  attrs: {
3253
3286
  registerOverlay: s,
3254
3287
  fitViewKey: JSON.stringify(a)
3255
3288
  }
3256
3289
  })]
3257
3290
  }
3258
- }) : null, !!o && d && d <= tt && g(et, {
3291
+ }) : null, !!o && d && d <= $ && g(nt, {
3259
3292
  attrs: {
3260
3293
  from: o,
3261
3294
  to: c,
3262
3295
  render: ({
3263
- path: m
3264
- }) => g(qe, {
3296
+ path: f
3297
+ }) => g(tt, {
3265
3298
  attrs: {
3266
- path: m
3299
+ path: f
3267
3300
  }
3268
3301
  })
3269
3302
  }
@@ -3273,17 +3306,17 @@ const is = j(function(e) {
3273
3306
  }
3274
3307
  })]);
3275
3308
  };
3276
- }), cs = j(function(e) {
3309
+ }), us = j(function(e) {
3277
3310
  const {
3278
3311
  apiMapDistance: n
3279
- } = oe();
3312
+ } = X();
3280
3313
  return () => {
3281
3314
  const {
3282
3315
  from: i,
3283
3316
  passengerPosition: a,
3284
3317
  title: o,
3285
3318
  registerOverlay: r
3286
- } = e, s = C(i), c = a ? n(a, s) : 0;
3319
+ } = e, s = x(i), c = a ? n(a, s) : void 0;
3287
3320
  return g("div", [g(Z, {
3288
3321
  attrs: {
3289
3322
  type: "start",
@@ -3291,29 +3324,25 @@ const is = j(function(e) {
3291
3324
  title: o,
3292
3325
  registerOverlay: r
3293
3326
  }
3294
- }), g(W, {
3327
+ }), g(G, {
3295
3328
  attrs: {
3296
3329
  position: s,
3297
3330
  label: i.name,
3298
3331
  hideIcon: !0
3299
3332
  }
3300
- }), !!a && [g(ve, {
3333
+ }), g(Te, {
3301
3334
  attrs: {
3302
3335
  position: a,
3336
+ condition: !!c && c < $,
3303
3337
  registerOverlay: r
3304
3338
  }
3305
- }), g(ee, {
3306
- attrs: {
3307
- registerOverlay: r,
3308
- fitViewKey: JSON.stringify(a)
3309
- }
3310
- })], !!a && c && c <= tt && g(et, {
3339
+ }), !!a && c && c <= $ && g(nt, {
3311
3340
  attrs: {
3312
3341
  from: a,
3313
3342
  to: s,
3314
3343
  render: ({
3315
3344
  path: d
3316
- }) => g(qe, {
3345
+ }) => g(tt, {
3317
3346
  attrs: {
3318
3347
  path: d
3319
3348
  }
@@ -3325,10 +3354,10 @@ const is = j(function(e) {
3325
3354
  }
3326
3355
  })]);
3327
3356
  };
3328
- }), us = j(function(e) {
3357
+ }), ls = j(function(e) {
3329
3358
  const {
3330
3359
  apiMapDistance: n
3331
- } = oe();
3360
+ } = X();
3332
3361
  return () => {
3333
3362
  const {
3334
3363
  from: i,
@@ -3336,8 +3365,8 @@ const is = j(function(e) {
3336
3365
  passengerPosition: o,
3337
3366
  title: r,
3338
3367
  registerOverlay: s
3339
- } = e, c = C(i), d = o ? n(o, c) : 0;
3340
- return g("div", [g(Ke, {
3368
+ } = e, c = x(i), d = o ? n(o, c) : void 0;
3369
+ return g("div", [g(et, {
3341
3370
  attrs: {
3342
3371
  position: a,
3343
3372
  title: r,
@@ -3349,55 +3378,51 @@ const is = j(function(e) {
3349
3378
  position: c,
3350
3379
  registerOverlay: s
3351
3380
  }
3352
- }), g(W, {
3381
+ }), g(G, {
3353
3382
  attrs: {
3354
3383
  position: c,
3355
3384
  label: i.name,
3356
3385
  hideIcon: !0
3357
3386
  }
3358
- }), !!o && d && d <= tt && g(et, {
3387
+ }), !!o && d && d <= $ && g(nt, {
3359
3388
  attrs: {
3360
3389
  from: o,
3361
3390
  to: c,
3362
3391
  render: ({
3363
- path: m
3364
- }) => g(qe, {
3392
+ path: f
3393
+ }) => g(tt, {
3365
3394
  attrs: {
3366
- path: m
3395
+ path: f
3367
3396
  }
3368
3397
  })
3369
3398
  }
3370
- }), !!o && [g(ve, {
3399
+ }), g(Te, {
3371
3400
  attrs: {
3372
3401
  position: o,
3402
+ condition: !!d && d < $,
3373
3403
  registerOverlay: s
3374
3404
  }
3375
- }), g(ee, {
3376
- attrs: {
3377
- registerOverlay: s,
3378
- fitViewKey: JSON.stringify(o)
3379
- }
3380
- })], g(U, {
3405
+ }), g(U, {
3381
3406
  attrs: {
3382
3407
  registerOverlay: s
3383
3408
  }
3384
3409
  })]);
3385
3410
  };
3386
- }), ls = j(function(e) {
3411
+ }), ds = j(function(e) {
3387
3412
  return () => {
3388
3413
  const {
3389
3414
  to: n,
3390
3415
  carPosition: i,
3391
3416
  renderTitle: a,
3392
3417
  registerOverlay: o
3393
- } = e, r = C(n);
3418
+ } = e, r = x(n);
3394
3419
  return g("div", [g(Z, {
3395
3420
  attrs: {
3396
3421
  type: "end",
3397
3422
  position: r,
3398
3423
  registerOverlay: o
3399
3424
  }
3400
- }), g(W, {
3425
+ }), g(G, {
3401
3426
  attrs: {
3402
3427
  position: r,
3403
3428
  label: n.name,
@@ -3415,7 +3440,7 @@ const is = j(function(e) {
3415
3440
  attrs: {
3416
3441
  path: s
3417
3442
  }
3418
- }), g(Ke, {
3443
+ }), g(et, {
3419
3444
  attrs: {
3420
3445
  position: i,
3421
3446
  title: a({
@@ -3424,7 +3449,7 @@ const is = j(function(e) {
3424
3449
  }),
3425
3450
  registerOverlay: o
3426
3451
  }
3427
- }), g(ee, {
3452
+ }), g(qe, {
3428
3453
  attrs: {
3429
3454
  registerOverlay: o,
3430
3455
  fitViewKey: JSON.stringify(i)
@@ -3437,13 +3462,13 @@ const is = j(function(e) {
3437
3462
  }
3438
3463
  })]);
3439
3464
  };
3440
- }), ds = j(function(e) {
3465
+ }), gs = j(function(e) {
3441
3466
  return () => {
3442
3467
  const {
3443
3468
  from: n,
3444
3469
  to: i,
3445
3470
  registerOverlay: a
3446
- } = e, o = C(n), r = C(i);
3471
+ } = e, o = x(n), r = x(i);
3447
3472
  return g("div", [g(Z, {
3448
3473
  attrs: {
3449
3474
  type: "start",
@@ -3456,13 +3481,13 @@ const is = j(function(e) {
3456
3481
  position: r,
3457
3482
  registerOverlay: a
3458
3483
  }
3459
- }), g(W, {
3484
+ }), g(G, {
3460
3485
  attrs: {
3461
3486
  position: o,
3462
3487
  label: n.name,
3463
3488
  hideIcon: !0
3464
3489
  }
3465
- }), g(W, {
3490
+ }), g(G, {
3466
3491
  attrs: {
3467
3492
  position: r,
3468
3493
  label: i.name,
@@ -3474,13 +3499,13 @@ const is = j(function(e) {
3474
3499
  }
3475
3500
  })]);
3476
3501
  };
3477
- }), Ve = j(function(e) {
3502
+ }), Ye = j(function(e) {
3478
3503
  return () => {
3479
3504
  const {
3480
3505
  from: n,
3481
3506
  to: i,
3482
3507
  registerOverlay: a
3483
- } = e, o = C(n), r = C(i);
3508
+ } = e, o = x(n), r = x(i);
3484
3509
  return g("div", [g(Z, {
3485
3510
  attrs: {
3486
3511
  type: "start",
@@ -3493,13 +3518,13 @@ const is = j(function(e) {
3493
3518
  position: r,
3494
3519
  registerOverlay: a
3495
3520
  }
3496
- }), g(W, {
3521
+ }), g(G, {
3497
3522
  attrs: {
3498
3523
  position: o,
3499
3524
  label: n.name,
3500
3525
  hideIcon: !0
3501
3526
  }
3502
- }), g(W, {
3527
+ }), g(G, {
3503
3528
  attrs: {
3504
3529
  position: r,
3505
3530
  label: i.name,
@@ -3524,13 +3549,13 @@ const is = j(function(e) {
3524
3549
  }
3525
3550
  })]);
3526
3551
  };
3527
- }), Cs = j(function(e) {
3552
+ }), xs = j(function(e) {
3528
3553
  const {
3529
3554
  mapRef: n,
3530
3555
  setMap: i
3531
- } = Te(), {
3556
+ } = Ee(), {
3532
3557
  registerFitVeiw: a
3533
- } = be({
3558
+ } = Pe({
3534
3559
  mapRef: n,
3535
3560
  autoFitTimeout: 5e3,
3536
3561
  padding: [25, 20, 15, 15]
@@ -3539,14 +3564,15 @@ const is = j(function(e) {
3539
3564
  const {
3540
3565
  from: o,
3541
3566
  to: r
3542
- } = e, s = Tt(o) && Tt(r), c = s ? C(o) : [...Fr];
3543
- return g(Pe, {
3567
+ } = e, s = Rt(o) && Rt(r), c = s ? x(o) : [...$r];
3568
+ return g(xe, {
3544
3569
  attrs: {
3545
3570
  center: c,
3546
3571
  zoom: 3,
3547
- mapRef: i
3572
+ mapRef: i,
3573
+ touchEnable: !1
3548
3574
  }
3549
- }, [s && g(Ve, {
3575
+ }, [s && g(Ye, {
3550
3576
  attrs: {
3551
3577
  from: o,
3552
3578
  to: r,
@@ -3554,7 +3580,7 @@ const is = j(function(e) {
3554
3580
  }
3555
3581
  })]);
3556
3582
  };
3557
- }), gs = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], xs = de(function(e) {
3583
+ }), ms = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], Ps = de(function(e) {
3558
3584
  const {
3559
3585
  from: n,
3560
3586
  interval: i,
@@ -3565,12 +3591,12 @@ const is = j(function(e) {
3565
3591
  renderInServiceTitle: c
3566
3592
  } = e, {
3567
3593
  geoPosition: d,
3568
- geoError: m
3569
- } = Ee({
3570
- geoDefaultPosition: C(n)
3571
- }), u = w(C(e.from));
3572
- return T(() => e.driverStatus, (l, f, M) => {
3573
- if (!gs.includes(l))
3594
+ geoError: f
3595
+ } = be({
3596
+ geoDefaultPosition: x(n)
3597
+ }), u = C(x(e.from));
3598
+ return T(() => e.driverStatus, (l, m, M) => {
3599
+ if (!ms.includes(l))
3574
3600
  return;
3575
3601
  const I = setInterval(() => {
3576
3602
  r().then((p) => u.value = p);
@@ -3581,85 +3607,85 @@ const is = j(function(e) {
3581
3607
  }), () => {
3582
3608
  const {
3583
3609
  driverStatus: l,
3584
- from: f,
3610
+ from: m,
3585
3611
  to: M,
3586
3612
  dispatchingTitle: I,
3587
3613
  bookDispatchingTitle: p,
3588
3614
  bookDispatchedTitle: y,
3589
3615
  driverArrivedTitle: v
3590
- } = e, L = u.value, A = m.value ? void 0 : d.value;
3591
- return g(Pe, {
3616
+ } = e, L = u.value, A = f.value ? void 0 : d.value;
3617
+ return g(xe, {
3592
3618
  attrs: {
3593
- center: C(f),
3619
+ center: x(m),
3594
3620
  zoom: 13,
3595
3621
  mapRef: o
3596
3622
  }
3597
- }, [l === "dispatching" ? g(Rt, {
3623
+ }, [l === "dispatching" ? g(zt, {
3598
3624
  attrs: {
3599
- from: f,
3625
+ from: m,
3600
3626
  title: I,
3601
3627
  registerOverlay: a
3602
3628
  }
3603
- }) : l === "book-dispatching" ? g(Rt, {
3629
+ }) : l === "book-dispatching" ? g(zt, {
3604
3630
  attrs: {
3605
- from: f,
3631
+ from: m,
3606
3632
  title: p,
3607
3633
  registerOverlay: a
3608
3634
  }
3609
- }) : l === "assign" || l === "confirmed" ? g(rs, {
3635
+ }) : l === "assign" || l === "confirmed" ? g(ss, {
3610
3636
  attrs: {
3611
- from: f,
3637
+ from: m,
3612
3638
  to: M,
3613
3639
  passengerPosition: A,
3614
3640
  registerOverlay: a
3615
3641
  }
3616
- }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" ? g(ss, {
3642
+ }) : l === "dispatched" || l === "driverStartService" || l === "book-driverStartService" ? g(cs, {
3617
3643
  attrs: {
3618
- from: f,
3644
+ from: m,
3619
3645
  carPosition: L,
3620
3646
  passengerPosition: A,
3621
3647
  renderTitle: s,
3622
3648
  registerOverlay: a
3623
3649
  }
3624
- }) : l === "book-dispatched" ? g(cs, {
3650
+ }) : l === "book-dispatched" ? g(us, {
3625
3651
  attrs: {
3626
- from: f,
3652
+ from: m,
3627
3653
  passengerPosition: A,
3628
3654
  title: y,
3629
3655
  registerOverlay: a
3630
3656
  }
3631
- }) : l === "inService" ? g(ls, {
3657
+ }) : l === "inService" ? g(ds, {
3632
3658
  attrs: {
3633
3659
  to: M,
3634
3660
  carPosition: L,
3635
3661
  renderTitle: c,
3636
3662
  registerOverlay: a
3637
3663
  }
3638
- }) : l === "driverArrived" ? g(us, {
3664
+ }) : l === "driverArrived" ? g(ls, {
3639
3665
  attrs: {
3640
- from: f,
3666
+ from: m,
3641
3667
  carPosition: L,
3642
3668
  passengerPosition: A,
3643
3669
  title: v,
3644
3670
  registerOverlay: a
3645
3671
  }
3646
- }) : l === "canceled" || l === "canceling" ? g(ds, {
3672
+ }) : l === "canceled" || l === "canceling" ? g(gs, {
3647
3673
  attrs: {
3648
- from: f,
3674
+ from: m,
3649
3675
  to: M,
3650
3676
  registerOverlay: a
3651
3677
  }
3652
- }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" ? g(Ve, {
3678
+ }) : l === "endService" || l === "completed" || l === "banlanceRefund" || l === "waitBanlanceRefund" || l === "rechargePayed" || l === "waitRechargePay" || l === "payed" || l === "waitpay" || l === "refund" ? g(Ye, {
3653
3679
  attrs: {
3654
- from: f,
3680
+ from: m,
3655
3681
  to: M,
3656
3682
  registerOverlay: a
3657
3683
  }
3658
3684
  }) : (
3659
3685
  // 匹配不到就显示灰色路线
3660
- g(Ve, {
3686
+ g(Ye, {
3661
3687
  attrs: {
3662
- from: f,
3688
+ from: m,
3663
3689
  to: M,
3664
3690
  registerOverlay: a
3665
3691
  }
@@ -3667,7 +3693,7 @@ const is = j(function(e) {
3667
3693
  )]);
3668
3694
  };
3669
3695
  }).props(["bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), fs = (t) => {
3670
- const { city: e } = t, n = w(e), { readyPromise: i } = N(), { apiMapDistance: a } = oe(), { geoPosition: o } = Ee(), r = w(""), s = w([]), { update: c, idx: d } = ae(), m = (l) => {
3696
+ const { city: e } = t, n = C(e), { readyPromise: i } = h(), { apiMapDistance: a } = X(), { geoPosition: o } = be(), r = C(""), s = C([]), { update: c, idx: d } = oe(), f = (l) => {
3671
3697
  n.value = l, c();
3672
3698
  }, u = (l) => {
3673
3699
  r.value = l, c();
@@ -3677,9 +3703,9 @@ const is = j(function(e) {
3677
3703
  async () => {
3678
3704
  if (!r.value)
3679
3705
  return;
3680
- await i, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (f, M) => {
3706
+ await i, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (m, M) => {
3681
3707
  const I = o.value;
3682
- switch (f) {
3708
+ switch (m) {
3683
3709
  case "complete": {
3684
3710
  s.value = M.poiList.pois.map(
3685
3711
  (p) => {
@@ -3706,12 +3732,12 @@ const is = j(function(e) {
3706
3732
  {
3707
3733
  immediate: !0
3708
3734
  }
3709
- ), { setKeyword: u, setCity: m, autoCompletePlaces: s };
3710
- }, ms = (t) => {
3711
- const { city: e } = t, n = w({ ...e }), { readyPromise: i } = N(), { apiMapDistance: a } = oe(), { geoPosition: o } = Ee(), r = w(""), s = w([]), { update: c, idx: d } = ae(), m = (f) => {
3712
- n.value = f, c();
3713
- }, u = (f) => {
3714
- r.value = f, c();
3735
+ ), { setKeyword: u, setCity: f, autoCompletePlaces: s };
3736
+ }, Ms = (t) => {
3737
+ const { city: e } = t, n = C({ ...e }), { readyPromise: i } = h(), { apiMapDistance: a } = X(), { geoPosition: o } = be(), r = C(""), s = C([]), { update: c, idx: d } = oe(), f = (m) => {
3738
+ n.value = m, c();
3739
+ }, u = (m) => {
3740
+ r.value = m, c();
3715
3741
  }, l = document.createElement("div");
3716
3742
  return T(
3717
3743
  () => d.value,
@@ -3728,14 +3754,14 @@ const is = j(function(e) {
3728
3754
  switch (I) {
3729
3755
  case google.maps.places.PlacesServiceStatus.OK:
3730
3756
  s.value = M.map(({ geometry: y, name: v, formatted_address: L }) => {
3731
- var h, P, E, k;
3732
- const A = (P = (h = y == null ? void 0 : y.location) == null ? void 0 : h.lng()) != null ? P : 0, x = (k = (E = y == null ? void 0 : y.location) == null ? void 0 : E.lat()) != null ? k : 0;
3757
+ var N, P, E, W;
3758
+ const A = (P = (N = y == null ? void 0 : y.location) == null ? void 0 : N.lng()) != null ? P : 0, D = (W = (E = y == null ? void 0 : y.location) == null ? void 0 : E.lat()) != null ? W : 0;
3733
3759
  return {
3734
3760
  lng: A,
3735
- lat: x,
3761
+ lat: D,
3736
3762
  name: v != null ? v : "",
3737
3763
  description: L != null ? L : "",
3738
- distance: p ? a(p, [A, x]) : void 0
3764
+ distance: p ? a(p, [A, D]) : void 0
3739
3765
  };
3740
3766
  });
3741
3767
  return;
@@ -3747,11 +3773,11 @@ const is = j(function(e) {
3747
3773
  }
3748
3774
  );
3749
3775
  }
3750
- ), { setKeyword: u, setCity: m, autoCompletePlaces: s };
3751
- }, Ms = (t) => {
3752
- const { supplier: e } = N();
3753
- return e === "gmap" ? ms(t) : fs(t);
3776
+ ), { setKeyword: u, setCity: f, autoCompletePlaces: s };
3754
3777
  }, Is = (t) => {
3778
+ const { supplier: e } = h();
3779
+ return e === "gmap" ? Ms(t) : fs(t);
3780
+ }, ps = (t) => {
3755
3781
  var a;
3756
3782
  const { cityNameRef: e, onChange: n } = t, i = b({ name: (a = e.value) != null ? a : "" });
3757
3783
  return T(
@@ -3761,9 +3787,9 @@ const is = j(function(e) {
3761
3787
  i.name = r, n == null || n({ name: r });
3762
3788
  }
3763
3789
  ), i;
3764
- }, ps = (t) => {
3790
+ }, vs = (t) => {
3765
3791
  var o;
3766
- const { cityNameRef: e, onChange: n } = t, { readyPromise: i } = N(), a = b({
3792
+ const { cityNameRef: e, onChange: n } = t, { readyPromise: i } = h(), a = b({
3767
3793
  name: (o = e.value) != null ? o : "",
3768
3794
  bound: {
3769
3795
  east: 0,
@@ -3787,33 +3813,33 @@ const is = j(function(e) {
3787
3813
  });
3788
3814
  if (c.length !== 1)
3789
3815
  throw new Error("MyError: multiple city found");
3790
- const { geometry: d } = c[0], m = (l = (u = d.bounds) == null ? void 0 : u.toJSON()) != null ? l : d.viewport.toJSON();
3791
- a.name = r, a.bound = m, n == null || n({ name: r, bound: m });
3816
+ const { geometry: d } = c[0], f = (l = (u = d.bounds) == null ? void 0 : u.toJSON()) != null ? l : d.viewport.toJSON();
3817
+ a.name = r, a.bound = f, n == null || n({ name: r, bound: f });
3792
3818
  }), a;
3793
- }, vs = (t) => {
3794
- const { supplier: e } = N();
3795
- return e === "gmap" ? ps(t) : Is(t);
3796
- }, Ps = (t) => {
3797
- const { cityNameRef: e } = t, n = vs({
3819
+ }, ys = (t) => {
3820
+ const { supplier: e } = h();
3821
+ return e === "gmap" ? vs(t) : ps(t);
3822
+ }, bs = (t) => {
3823
+ const { cityNameRef: e } = t, n = ys({
3798
3824
  cityNameRef: e,
3799
3825
  onChange: (s) => o(s)
3800
- }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Ms({ city: n });
3826
+ }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Is({ city: n });
3801
3827
  return { autoCompletePlaces: i, setKeyword: a, setCity: o, handleKeywordInput: (s) => {
3802
3828
  const c = s.target;
3803
3829
  a(c.value);
3804
3830
  } };
3805
- }, bs = () => {
3806
- const { setMap: t, mapRef: e } = Te(), { registerFitVeiw: n, setFitView: i } = be({
3831
+ }, Es = () => {
3832
+ const { setMap: t, mapRef: e } = Ee(), { registerFitVeiw: n, setFitView: i } = Pe({
3807
3833
  mapRef: e,
3808
3834
  padding: [19, 26, 19, 26]
3809
3835
  });
3810
3836
  return { setMap: t, registerFitVeiw: n, setFitView: i };
3811
- }, Es = () => {
3837
+ }, Ts = () => {
3812
3838
  const t = b({
3813
3839
  lng: 0,
3814
3840
  lat: 0,
3815
3841
  name: ""
3816
- }), e = w([]), { apiMapDistance: n } = oe(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3842
+ }), e = C([]), { apiMapDistance: n } = X(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3817
3843
  panToGeoPositionByRecomend: () => {
3818
3844
  throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
3819
3845
  },
@@ -3835,8 +3861,8 @@ const is = j(function(e) {
3835
3861
  setCenterPlaceByUserSpecified: a,
3836
3862
  apiMapDistance: n
3837
3863
  };
3838
- }, Ts = () => {
3839
- const { mapRef: t, setMap: e } = Te(), { registerFitVeiw: n, setFitView: i } = be({
3864
+ }, Rs = () => {
3865
+ const { mapRef: t, setMap: e } = Ee(), { registerFitVeiw: n, setFitView: i } = Pe({
3840
3866
  mapRef: t,
3841
3867
  autoFitTimeout: 5e3,
3842
3868
  padding: [19, 26, 19, 26]
@@ -3844,36 +3870,36 @@ const is = j(function(e) {
3844
3870
  return { setMap: e, registerFitVeiw: n, setFitView: i };
3845
3871
  };
3846
3872
  export {
3847
- po as AbsoluteAddressBox,
3848
- js as AddressBox,
3873
+ vo as AbsoluteAddressBox,
3874
+ As as AddressBox,
3849
3875
  Ns as BusinessQuotingMap,
3850
- Ds as BusinessRecomendPlaceMap,
3851
- Cs as BusinessTaxiEndMap,
3852
- xs as BusinessTaxiServiceMap,
3876
+ ws as BusinessRecomendPlaceMap,
3877
+ xs as BusinessTaxiEndMap,
3878
+ Ps as BusinessTaxiServiceMap,
3853
3879
  Ie as DrivingLine,
3854
3880
  pe as DrivingRoute,
3855
- Pe as HeycarMap,
3856
- As as MapProvider,
3857
- ve as PassengerCircle,
3858
- Wr as PickupPoints,
3859
- W as PlaceCircle,
3881
+ xe as HeycarMap,
3882
+ Ls as MapProvider,
3883
+ Be as PassengerCircle,
3884
+ Ur as PickupPoints,
3885
+ G as PlaceCircle,
3860
3886
  Z as StartEndPoint,
3861
- Ke as TaxiCar,
3862
- qe as WalkingLine,
3863
- et as WalkingRoute,
3864
- os as WaveCircle,
3865
- Ps as useBusinessMapAutoComplete,
3866
- bs as useBusinessQuotingMap,
3867
- Es as useBusinessRecomendPlaceMap,
3868
- Ts as useBusinessTaxiServiceMap,
3869
- Ls as useDrivingRoute,
3870
- Ee as useGeoLocation,
3871
- Te as useHeycarMap,
3872
- Ss as useMapAngle,
3873
- Lr as useMapDrag,
3874
- be as useMapFitView,
3875
- oe as useMapGeometry,
3876
- hs as useMapPlace,
3877
- wr as useMapRecomendPlace,
3878
- ws as useWalkingRoute
3887
+ et as TaxiCar,
3888
+ tt as WalkingLine,
3889
+ nt as WalkingRoute,
3890
+ rs as WaveCircle,
3891
+ bs as useBusinessMapAutoComplete,
3892
+ Es as useBusinessQuotingMap,
3893
+ Ts as useBusinessRecomendPlaceMap,
3894
+ Rs as useBusinessTaxiServiceMap,
3895
+ Ss as useDrivingRoute,
3896
+ be as useGeoLocation,
3897
+ Ee as useHeycarMap,
3898
+ hs as useMapAngle,
3899
+ Sr as useMapDrag,
3900
+ Pe as useMapFitView,
3901
+ X as useMapGeometry,
3902
+ Ds as useMapPlace,
3903
+ Cr as useMapRecomendPlace,
3904
+ Cs as useWalkingRoute
3879
3905
  };