@heycar/heycars-map 0.4.4 → 0.4.6

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