@heycar/heycars-map 0.2.1 → 0.2.2

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,11 +1,11 @@
1
- import un, { inject as Le, provide as Ne, watch as b, defineComponent as _e, h as m, watchPostEffect as G, shallowRef as x, onMounted as le, onUnmounted as de, computed as L, reactive as C, ref as D, watchEffect as ln } from "vue";
1
+ import un, { inject as Ne, provide as Se, watch as b, defineComponent as Ke, h as m, watchPostEffect as G, shallowRef as x, onMounted as le, onUnmounted as de, computed as L, reactive as C, ref as D, watchEffect as ln } from "vue";
2
2
  un.util.warn;
3
- const Ke = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+", H = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxjaXJjbGUgaWQ9InBhdGgtMSIgY3g9IjQuNSIgY3k9IjkuNSIgcj0iNC41Ij48L2NpcmNsZT4KICAgICAgICA8ZmlsdGVyIHg9Ii02MS4xJSIgeT0iLTYxLjElIiB3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U9Im1hdHJpeCIgaW49InNoYWRvd0JsdXJPdXRlcjEiPjwvZmVDb2xvck1hdHJpeD4KICAgICAgICA8L2ZpbHRlcj4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSIxLjAiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", et = Symbol(), A = () => {
4
+ const t = Ne(et);
5
5
  if (!t)
6
6
  throw new Error("MyError: useMapSupplier should be under MapProvider");
7
7
  return t;
8
- }, dn = (t) => Ne(qe, t), et = Symbol("amap"), ge = () => Le(et), gn = (t) => Ne(et, t), tt = Symbol("gmap"), Ie = () => Le(tt), In = (t) => Ne(tt, t), nt = (t) => {
8
+ }, dn = (t) => Se(et, t), tt = Symbol("amap"), ge = () => Ne(tt), gn = (t) => Se(tt, t), nt = Symbol("gmap"), Ie = () => Ne(nt), In = (t) => Se(nt, t), it = (t) => {
9
9
  const { registerOverlay: e, overlayRef: n } = t;
10
10
  b(
11
11
  () => n.value,
@@ -17,12 +17,12 @@ const Ke = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbn
17
17
  var Mn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, fn = typeof global == "object" && global && global.Object === Object && global;
18
18
  const mn = fn;
19
19
  var pn = typeof self == "object" && self && self.Object === Object && self, vn = mn || pn || Function("return this")();
20
- const it = vn;
21
- var jn = it.Symbol;
22
- const V = jn;
23
- var at = Object.prototype, yn = at.hasOwnProperty, An = at.toString, F = V ? V.toStringTag : void 0;
20
+ const at = vn;
21
+ var yn = at.Symbol;
22
+ const V = yn;
23
+ var ot = Object.prototype, jn = ot.hasOwnProperty, An = ot.toString, F = V ? V.toStringTag : void 0;
24
24
  function Ln(t) {
25
- var e = yn.call(t, F), n = t[F];
25
+ var e = jn.call(t, F), n = t[F];
26
26
  try {
27
27
  t[F] = void 0;
28
28
  var i = !0;
@@ -35,15 +35,15 @@ var Nn = Object.prototype, Sn = Nn.toString;
35
35
  function Dn(t) {
36
36
  return Sn.call(t);
37
37
  }
38
- var xn = "[object Null]", hn = "[object Undefined]", be = V ? V.toStringTag : void 0;
38
+ var xn = "[object Null]", hn = "[object Undefined]", Pe = V ? V.toStringTag : void 0;
39
39
  function Cn(t) {
40
- return t == null ? t === void 0 ? hn : xn : be && be in Object(t) ? Ln(t) : Dn(t);
40
+ return t == null ? t === void 0 ? hn : xn : Pe && Pe in Object(t) ? Ln(t) : Dn(t);
41
41
  }
42
42
  function wn(t) {
43
43
  return t != null && typeof t == "object";
44
44
  }
45
45
  var bn = "[object Symbol]";
46
- function ot(t) {
46
+ function rt(t) {
47
47
  return typeof t == "symbol" || wn(t) && Cn(t) == bn;
48
48
  }
49
49
  function Pn(t, e) {
@@ -53,14 +53,14 @@ function Pn(t, e) {
53
53
  }
54
54
  var zn = Array.isArray;
55
55
  const Zn = zn;
56
- var En = 1 / 0, Pe = V ? V.prototype : void 0, ze = Pe ? Pe.toString : void 0;
57
- function rt(t) {
56
+ var En = 1 / 0, ze = V ? V.prototype : void 0, Ze = ze ? ze.toString : void 0;
57
+ function st(t) {
58
58
  if (typeof t == "string")
59
59
  return t;
60
60
  if (Zn(t))
61
- return Pn(t, rt) + "";
62
- if (ot(t))
63
- return ze ? ze.call(t) : "";
61
+ return Pn(t, st) + "";
62
+ if (rt(t))
63
+ return Ze ? Ze.call(t) : "";
64
64
  var e = t + "";
65
65
  return e == "0" && 1 / t == -En ? "-0" : e;
66
66
  }
@@ -74,28 +74,28 @@ var Gn = /^\s+/;
74
74
  function kn(t) {
75
75
  return t && t.slice(0, Rn(t) + 1).replace(Gn, "");
76
76
  }
77
- function pe(t) {
77
+ function ve(t) {
78
78
  var e = typeof t;
79
79
  return t != null && (e == "object" || e == "function");
80
80
  }
81
- var Ze = 0 / 0, On = /^[-+]0x[0-9a-f]+$/i, Wn = /^0b[01]+$/i, Un = /^0o[0-7]+$/i, Bn = parseInt;
82
- function Ee(t) {
81
+ var Ee = 0 / 0, On = /^[-+]0x[0-9a-f]+$/i, Wn = /^0b[01]+$/i, Un = /^0o[0-7]+$/i, Bn = parseInt;
82
+ function Te(t) {
83
83
  if (typeof t == "number")
84
84
  return t;
85
- if (ot(t))
86
- return Ze;
87
- if (pe(t)) {
85
+ if (rt(t))
86
+ return Ee;
87
+ if (ve(t)) {
88
88
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
89
- t = pe(e) ? e + "" : e;
89
+ t = ve(e) ? e + "" : e;
90
90
  }
91
91
  if (typeof t != "string")
92
92
  return t === 0 ? t : +t;
93
93
  t = kn(t);
94
94
  var n = Wn.test(t);
95
- return n || Un.test(t) ? Bn(t.slice(2), n ? 2 : 8) : On.test(t) ? Ze : +t;
95
+ return n || Un.test(t) ? Bn(t.slice(2), n ? 2 : 8) : On.test(t) ? Ee : +t;
96
96
  }
97
- function st(t) {
98
- return t == null ? "" : rt(t);
97
+ function ct(t) {
98
+ return t == null ? "" : st(t);
99
99
  }
100
100
  function Yn(t, e, n, i) {
101
101
  var a = -1, o = t == null ? 0 : t.length;
@@ -305,7 +305,7 @@ var Vn = {
305
305
  const Jn = Qn;
306
306
  var Xn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Fn = "\\u0300-\\u036f", $n = "\\ufe20-\\ufe2f", _n = "\\u20d0-\\u20ff", Kn = Fn + $n + _n, qn = "[" + Kn + "]", ei = RegExp(qn, "g");
307
307
  function ti(t) {
308
- return t = st(t), t && t.replace(Xn, Jn).replace(ei, "");
308
+ return t = ct(t), t && t.replace(Xn, Jn).replace(ei, "");
309
309
  }
310
310
  var ni = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
311
311
  function ii(t) {
@@ -315,21 +315,21 @@ var ai = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
315
315
  function oi(t) {
316
316
  return ai.test(t);
317
317
  }
318
- var ct = "\\ud800-\\udfff", ri = "\\u0300-\\u036f", si = "\\ufe20-\\ufe2f", ci = "\\u20d0-\\u20ff", ui = ri + si + ci, ut = "\\u2700-\\u27bf", lt = "a-z\\xdf-\\xf6\\xf8-\\xff", li = "\\xac\\xb1\\xd7\\xf7", di = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", gi = "\\u2000-\\u206f", Ii = " \\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", dt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Mi = "\\ufe0e\\ufe0f", gt = li + di + gi + Ii, It = "['’]", Te = "[" + gt + "]", fi = "[" + ui + "]", Mt = "\\d+", mi = "[" + ut + "]", ft = "[" + lt + "]", mt = "[^" + ct + gt + Mt + ut + lt + dt + "]", pi = "\\ud83c[\\udffb-\\udfff]", vi = "(?:" + fi + "|" + pi + ")", ji = "[^" + ct + "]", pt = "(?:\\ud83c[\\udde6-\\uddff]){2}", vt = "[\\ud800-\\udbff][\\udc00-\\udfff]", U = "[" + dt + "]", yi = "\\u200d", Re = "(?:" + ft + "|" + mt + ")", Ai = "(?:" + U + "|" + mt + ")", Ge = "(?:" + It + "(?:d|ll|m|re|s|t|ve))?", ke = "(?:" + It + "(?:D|LL|M|RE|S|T|VE))?", jt = vi + "?", yt = "[" + Mi + "]?", Li = "(?:" + yi + "(?:" + [ji, pt, vt].join("|") + ")" + yt + jt + ")*", Ni = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Si = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Di = yt + jt + Li, xi = "(?:" + [mi, pt, vt].join("|") + ")" + Di, hi = RegExp([
319
- U + "?" + ft + "+" + Ge + "(?=" + [Te, U, "$"].join("|") + ")",
320
- Ai + "+" + ke + "(?=" + [Te, U + Re, "$"].join("|") + ")",
321
- U + "?" + Re + "+" + Ge,
322
- U + "+" + ke,
318
+ var ut = "\\ud800-\\udfff", ri = "\\u0300-\\u036f", si = "\\ufe20-\\ufe2f", ci = "\\u20d0-\\u20ff", ui = ri + si + ci, lt = "\\u2700-\\u27bf", dt = "a-z\\xdf-\\xf6\\xf8-\\xff", li = "\\xac\\xb1\\xd7\\xf7", di = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", gi = "\\u2000-\\u206f", Ii = " \\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", gt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Mi = "\\ufe0e\\ufe0f", It = li + di + gi + Ii, Mt = "['’]", Re = "[" + It + "]", fi = "[" + ui + "]", ft = "\\d+", mi = "[" + lt + "]", mt = "[" + dt + "]", pt = "[^" + ut + It + ft + lt + dt + gt + "]", pi = "\\ud83c[\\udffb-\\udfff]", vi = "(?:" + fi + "|" + pi + ")", yi = "[^" + ut + "]", vt = "(?:\\ud83c[\\udde6-\\uddff]){2}", yt = "[\\ud800-\\udbff][\\udc00-\\udfff]", U = "[" + gt + "]", ji = "\\u200d", Ge = "(?:" + mt + "|" + pt + ")", Ai = "(?:" + U + "|" + pt + ")", ke = "(?:" + Mt + "(?:d|ll|m|re|s|t|ve))?", Oe = "(?:" + Mt + "(?:D|LL|M|RE|S|T|VE))?", jt = vi + "?", At = "[" + Mi + "]?", Li = "(?:" + ji + "(?:" + [yi, vt, yt].join("|") + ")" + At + jt + ")*", Ni = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Si = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Di = At + jt + Li, xi = "(?:" + [mi, vt, yt].join("|") + ")" + Di, hi = RegExp([
319
+ U + "?" + mt + "+" + ke + "(?=" + [Re, U, "$"].join("|") + ")",
320
+ Ai + "+" + Oe + "(?=" + [Re, U + Ge, "$"].join("|") + ")",
321
+ U + "?" + Ge + "+" + ke,
322
+ U + "+" + Oe,
323
323
  Si,
324
324
  Ni,
325
- Mt,
325
+ ft,
326
326
  xi
327
327
  ].join("|"), "g");
328
328
  function Ci(t) {
329
329
  return t.match(hi) || [];
330
330
  }
331
331
  function wi(t, e, n) {
332
- return t = st(t), e = n ? void 0 : e, e === void 0 ? oi(t) ? Ci(t) : ii(t) : t.match(e) || [];
332
+ return t = ct(t), e = n ? void 0 : e, e === void 0 ? oi(t) ? Ci(t) : ii(t) : t.match(e) || [];
333
333
  }
334
334
  var bi = "['’]", Pi = RegExp(bi, "g");
335
335
  function zi(t) {
@@ -338,35 +338,35 @@ function zi(t) {
338
338
  };
339
339
  }
340
340
  var Zi = function() {
341
- return it.Date.now();
341
+ return at.Date.now();
342
342
  };
343
- const me = Zi;
343
+ const pe = Zi;
344
344
  var Ei = "Expected a function", Ti = Math.max, Ri = Math.min;
345
345
  function Gi(t, e, n) {
346
346
  var i, a, o, r, s, u, l = 0, g = !1, c = !1, d = !0;
347
347
  if (typeof t != "function")
348
348
  throw new TypeError(Ei);
349
- e = Ee(e) || 0, pe(n) && (g = !!n.leading, c = "maxWait" in n, o = c ? Ti(Ee(n.maxWait) || 0, e) : o, d = "trailing" in n ? !!n.trailing : d);
349
+ e = Te(e) || 0, ve(n) && (g = !!n.leading, c = "maxWait" in n, o = c ? Ti(Te(n.maxWait) || 0, e) : o, d = "trailing" in n ? !!n.trailing : d);
350
350
  function I(N) {
351
351
  var E = i, O = a;
352
352
  return i = a = void 0, l = N, r = t.apply(O, E), r;
353
353
  }
354
354
  function M(N) {
355
- return l = N, s = setTimeout(y, e), g ? I(N) : r;
355
+ return l = N, s = setTimeout(j, e), g ? I(N) : r;
356
356
  }
357
357
  function f(N) {
358
358
  var E = N - u, O = N - l, X = e - E;
359
359
  return c ? Ri(X, o - O) : X;
360
360
  }
361
- function j(N) {
361
+ function y(N) {
362
362
  var E = N - u, O = N - l;
363
363
  return u === void 0 || E >= e || E < 0 || c && O >= o;
364
364
  }
365
- function y() {
366
- var N = me();
367
- if (j(N))
365
+ function j() {
366
+ var N = pe();
367
+ if (y(N))
368
368
  return v(N);
369
- s = setTimeout(y, f(N));
369
+ s = setTimeout(j, f(N));
370
370
  }
371
371
  function v(N) {
372
372
  return s = void 0, d && i ? I(N) : (i = a = void 0, r);
@@ -375,31 +375,31 @@ function Gi(t, e, n) {
375
375
  s !== void 0 && clearTimeout(s), l = 0, i = u = a = s = void 0;
376
376
  }
377
377
  function P() {
378
- return s === void 0 ? r : v(me());
378
+ return s === void 0 ? r : v(pe());
379
379
  }
380
380
  function k() {
381
- var N = me(), E = j(N);
381
+ var N = pe(), E = y(N);
382
382
  if (i = arguments, a = this, u = N, E) {
383
383
  if (s === void 0)
384
384
  return M(u);
385
385
  if (c)
386
- return clearTimeout(s), s = setTimeout(y, e), I(u);
386
+ return clearTimeout(s), s = setTimeout(j, e), I(u);
387
387
  }
388
- return s === void 0 && (s = setTimeout(y, e)), r;
388
+ return s === void 0 && (s = setTimeout(j, e)), r;
389
389
  }
390
390
  return k.cancel = h, k.flush = P, k;
391
391
  }
392
392
  var ki = zi(function(t, e, n) {
393
393
  return t + (n ? "-" : "") + e.toLowerCase();
394
394
  });
395
- const At = ki;
395
+ const Lt = ki;
396
396
  function p(t) {
397
- return _e({
397
+ return Ke({
398
398
  name: t.name,
399
399
  inheritAttrs: !1,
400
400
  setup(e, n) {
401
401
  const { attrs: i, slots: a, emit: o } = n, r = i, s = o, u = (g, c) => {
402
- const d = At(g);
402
+ const d = Lt(g);
403
403
  s(g, c), g !== d && s(d, c);
404
404
  }, l = new Proxy(a, {
405
405
  get(g, c, d) {
@@ -411,15 +411,15 @@ function p(t) {
411
411
  }
412
412
  });
413
413
  }
414
- function Lt(t) {
414
+ function Me(t) {
415
415
  return {
416
- props: (e) => _e({
416
+ props: (e) => Ke({
417
417
  name: t.name,
418
418
  inheritAttrs: !1,
419
419
  props: e,
420
420
  setup(n, i) {
421
421
  const a = n, { slots: o, emit: r } = i, s = r, u = (g, c) => {
422
- const d = At(g);
422
+ const d = Lt(g);
423
423
  s(g, c), g !== d && s(d, c);
424
424
  }, l = new Proxy(o, {
425
425
  get(g, c, d) {
@@ -432,18 +432,18 @@ function Lt(t) {
432
432
  })
433
433
  };
434
434
  }
435
- const Z = m, Se = "zh-CN", Oe = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
436
- var Oi = typeof WeakMap == "function", We = Object.keys;
435
+ const Z = m, De = "zh-CN", We = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
436
+ var Oi = typeof WeakMap == "function", Ue = Object.keys;
437
437
  function ne(t, e) {
438
438
  return t === e || t !== t && e !== e;
439
439
  }
440
- function Ue(t) {
440
+ function Be(t) {
441
441
  return t.constructor === Object || t.constructor == null;
442
442
  }
443
- function Be(t) {
443
+ function Ye(t) {
444
444
  return !!t && typeof t.then == "function";
445
445
  }
446
- function Ye(t) {
446
+ function He(t) {
447
447
  return !!(t && t.$$typeof);
448
448
  }
449
449
  function Wi() {
@@ -520,14 +520,14 @@ function Yi(t, e, n, i) {
520
520
  return a;
521
521
  }
522
522
  var Hi = "_owner", Vi = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
523
- function He(t, e, n, i) {
524
- var a = We(t), o = a.length;
525
- if (We(e).length !== o)
523
+ function Ve(t, e, n, i) {
524
+ var a = Ue(t), o = a.length;
525
+ if (Ue(e).length !== o)
526
526
  return !1;
527
527
  if (o)
528
528
  for (var r = void 0; o-- > 0; ) {
529
529
  if (r = a[o], r === Hi) {
530
- var s = Ye(t), u = Ye(e);
530
+ var s = He(t), u = He(e);
531
531
  if ((s || u) && s !== u)
532
532
  return !1;
533
533
  }
@@ -558,7 +558,7 @@ function Ji(t, e, n, i) {
558
558
  }
559
559
  return a;
560
560
  }
561
- var Xi = typeof Map == "function", Fi = typeof Set == "function", Ve = Object.prototype.valueOf;
561
+ var Xi = typeof Map == "function", Fi = typeof Set == "function", Qe = Object.prototype.valueOf;
562
562
  function K(t) {
563
563
  var e = (
564
564
  /* eslint-disable no-use-before-define */
@@ -570,10 +570,10 @@ function K(t) {
570
570
  if (i === a)
571
571
  return !0;
572
572
  if (i && a && typeof i == "object" && typeof a == "object") {
573
- if (Ue(i) && Ue(a))
574
- return He(i, a, e, o);
573
+ if (Be(i) && Be(a))
574
+ return Ve(i, a, e, o);
575
575
  var r = Array.isArray(i), s = Array.isArray(a);
576
- return r || s ? r === s && Bi(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && ne(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && Qi(i, a) : Be(i) || Be(a) ? i === a : Xi && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && Yi(i, a, e, o) : Fi && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Ji(i, a, e, o) : i.valueOf !== Ve || a.valueOf !== Ve ? ne(i.valueOf(), a.valueOf()) : He(i, a, e, o)));
576
+ return r || s ? r === s && Bi(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && ne(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && Qi(i, a) : Ye(i) || Ye(a) ? i === a : Xi && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && Yi(i, a, e, o) : Fi && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Ji(i, a, e, o) : i.valueOf !== Qe || a.valueOf !== Qe ? ne(i.valueOf(), a.valueOf()) : Ve(i, a, e, o)));
577
577
  }
578
578
  return i !== i && a !== a;
579
579
  }
@@ -588,7 +588,7 @@ K(Nt(ne));
588
588
  const w = ([t, e]) => ({
589
589
  lng: t,
590
590
  lat: e
591
- }), Me = (t) => {
591
+ }), fe = (t) => {
592
592
  const e = [], n = t.split("*");
593
593
  for (const [i, a] of n.entries())
594
594
  a && e.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
@@ -600,7 +600,7 @@ const w = ([t, e]) => ({
600
600
  case "zh":
601
601
  return "style_zh_cn";
602
602
  }
603
- }, ve = (t) => [t.lng, t.lat], xt = (t) => (...e) => {
603
+ }, ye = (t) => [t.lng, t.lat], xt = (t) => (...e) => {
604
604
  setTimeout(() => t == null ? void 0 : t(...e));
605
605
  }, _i = (t) => {
606
606
  const { address_components: e } = t, n = e.find(
@@ -611,7 +611,7 @@ const w = ([t, e]) => ({
611
611
  const i = e.findIndex((a) => a.types[0] === "country");
612
612
  if (i > 0)
613
613
  return e[i - 1].long_name;
614
- }, ht = K((t) => (e, n) => Oe(e) || Oe(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
614
+ }, ht = K((t) => (e, n) => We(e) || We(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
615
615
  function Ct() {
616
616
  let t;
617
617
  return function(n) {
@@ -658,7 +658,7 @@ function qi(t, e, n, i) {
658
658
  }
659
659
  );
660
660
  }
661
- function De(t, e, n, i) {
661
+ function xe(t, e, n, i) {
662
662
  return qi(t, e, n, {
663
663
  immediate: !1,
664
664
  ...i
@@ -703,11 +703,11 @@ const T = p(function(e) {
703
703
  }), de(() => {
704
704
  var o;
705
705
  (o = i.value) == null || o.setMap(null);
706
- }), nt({ registerOverlay: n, overlayRef: i }), G(() => {
706
+ }), it({ registerOverlay: n, overlayRef: i }), G(() => {
707
707
  var r;
708
708
  const o = a == null ? void 0 : a.value;
709
709
  o && ((r = i.value) == null || r.setMap(o));
710
- }), De(i, e, [
710
+ }), xe(i, e, [
711
711
  { name: "anchor", defaultValue: "" },
712
712
  { name: "offset", defaultValue: [0, 0] },
713
713
  { name: "clickable", defaultValue: !1 },
@@ -724,7 +724,7 @@ const T = p(function(e) {
724
724
  ]), () => null;
725
725
  }), R = p(function(e) {
726
726
  const { registerOverlay: n } = e, i = x(), a = Ie();
727
- return nt({ registerOverlay: n, overlayRef: i }), le(() => {
727
+ return it({ registerOverlay: n, overlayRef: i }), le(() => {
728
728
  const { registerOverlay: o, ...r } = e;
729
729
  i.value = new google.maps.marker.AdvancedMarkerView({ ...r });
730
730
  }), de(() => {
@@ -794,7 +794,7 @@ const ea = p(function(e) {
794
794
  <div class="${Rt}">${e.title}</div>
795
795
  <div class="${Tt}">${(i = e.description) != null ? i : ""}</div>
796
796
  </div>
797
- <img class="${Gt}" src="${Ke}" >
797
+ <img class="${Gt}" src="${qe}" >
798
798
  </div>
799
799
  <div class="${Ot}"></div>
800
800
  <img src="${H}" class="${kt}">
@@ -823,7 +823,7 @@ const ea = p(function(e) {
823
823
  <div class="${Rt}">${e.title}</div>
824
824
  <div class="${Tt}">${(i = e.description) != null ? i : ""}</div>
825
825
  </div>
826
- <img class="${Gt}" src="${Ke}" >
826
+ <img class="${Gt}" src="${qe}" >
827
827
  </div>
828
828
  <div class="${Ot}"></div>
829
829
  <img src="${H}" class="${kt}">
@@ -839,7 +839,7 @@ const ea = p(function(e) {
839
839
  content: n.value
840
840
  }
841
841
  });
842
- }), io = p(function(e) {
842
+ }), ao = p(function(e) {
843
843
  const n = A();
844
844
  return () => Z(n.supplier === "gmap" ? ta : ea, {
845
845
  attrs: e
@@ -855,7 +855,7 @@ const ea = p(function(e) {
855
855
  var o;
856
856
  const a = i == null ? void 0 : i.value;
857
857
  a && ((o = n.value) == null || o.setMap(a));
858
- }), De(n, e, [
858
+ }), xe(n, e, [
859
859
  { name: "path", defaultValue: [[0, 0]] },
860
860
  { name: "extData", defaultValue: void 0 },
861
861
  { name: "draggable", defaultValue: !1 }
@@ -976,7 +976,7 @@ const ea = p(function(e) {
976
976
  }
977
977
  })]);
978
978
  };
979
- }), ao = p(function(e) {
979
+ }), oo = p(function(e) {
980
980
  const n = A();
981
981
  return () => e.path.length ? Z(n.supplier === "gmap" ? ia : na, {
982
982
  attrs: e
@@ -1030,7 +1030,7 @@ const ea = p(function(e) {
1030
1030
  });
1031
1031
  }
1032
1032
  ), e;
1033
- }, oo = (t) => {
1033
+ }, ro = (t) => {
1034
1034
  const { supplier: e } = A();
1035
1035
  return e === "gmap" ? Ut(t) : Wt(t);
1036
1036
  }, aa = (t, e, n) => {
@@ -1038,21 +1038,21 @@ const ea = p(function(e) {
1038
1038
  return 0;
1039
1039
  const { x: i, y: a } = n.lngLatToContainer(t), { x: o, y: r } = n.lngLatToContainer(e), s = Math.atan2(a - r, o - i);
1040
1040
  return (Math.PI / 2 - s) / Math.PI * 180;
1041
- }, xe = (t) => L(() => {
1041
+ }, he = (t) => L(() => {
1042
1042
  const { map: e, path: n } = t, [i, a] = n;
1043
1043
  if (!(!i || !a || !e))
1044
1044
  return aa(i, a, e);
1045
- }), he = (t) => L(() => {
1045
+ }), Ce = (t) => L(() => {
1046
1046
  const { path: e } = t, [n, i] = e;
1047
1047
  if (!(!n || !i))
1048
1048
  return google.maps.geometry.spherical.computeHeading(w(n), w(i));
1049
- }), ro = (t) => {
1049
+ }), so = (t) => {
1050
1050
  const { supplier: e } = A();
1051
- return e === "gmap" ? he(t) : xe(t);
1051
+ return e === "gmap" ? Ce(t) : he(t);
1052
1052
  }, oa = p(function(e, {
1053
1053
  slots: n
1054
1054
  }) {
1055
- const i = ge(), a = Wt(e), o = xe(C({
1055
+ const i = ge(), a = Wt(e), o = he(C({
1056
1056
  path: a,
1057
1057
  map: i
1058
1058
  }));
@@ -1066,7 +1066,7 @@ const ea = p(function(e) {
1066
1066
  }), ra = p(function(e, {
1067
1067
  slots: n
1068
1068
  }) {
1069
- const i = Ie(), a = Ut(e), o = he(C({
1069
+ const i = Ie(), a = Ut(e), o = Ce(C({
1070
1070
  path: a,
1071
1071
  map: i
1072
1072
  }));
@@ -1077,7 +1077,7 @@ const ea = p(function(e) {
1077
1077
  angle: o
1078
1078
  }))]);
1079
1079
  };
1080
- }), so = p(function(e, {
1080
+ }), co = p(function(e, {
1081
1081
  slots: n
1082
1082
  }) {
1083
1083
  const {
@@ -1111,7 +1111,7 @@ const sa = p(function(e) {
1111
1111
  content: n.value
1112
1112
  }
1113
1113
  });
1114
- }), co = p(function(e) {
1114
+ }), uo = p(function(e) {
1115
1115
  const n = A();
1116
1116
  return () => Z(n.supplier === "gmap" ? ca : sa, {
1117
1117
  attrs: e
@@ -1126,7 +1126,7 @@ function ua(t, e, n) {
1126
1126
  writable: !0
1127
1127
  }) : t[e] = n, t;
1128
1128
  }
1129
- function Qe(t, e) {
1129
+ function Je(t, e) {
1130
1130
  var n = Object.keys(t);
1131
1131
  if (Object.getOwnPropertySymbols) {
1132
1132
  var i = Object.getOwnPropertySymbols(t);
@@ -1136,12 +1136,12 @@ function Qe(t, e) {
1136
1136
  }
1137
1137
  return n;
1138
1138
  }
1139
- function Je(t) {
1139
+ function Xe(t) {
1140
1140
  for (var e = 1; e < arguments.length; e++) {
1141
1141
  var n = arguments[e] != null ? arguments[e] : {};
1142
- e % 2 ? Qe(Object(n), !0).forEach(function(i) {
1142
+ e % 2 ? Je(Object(n), !0).forEach(function(i) {
1143
1143
  ua(t, i, n[i]);
1144
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Qe(Object(n)).forEach(function(i) {
1144
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Je(Object(n)).forEach(function(i) {
1145
1145
  Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
1146
1146
  });
1147
1147
  }
@@ -1154,8 +1154,8 @@ var la = (t, e, n) => {
1154
1154
  return !1;
1155
1155
  }
1156
1156
  return !0;
1157
- }, fe = (t) => (e) => {
1158
- var n = t.defaultClassName, i = Je(Je({}, t.defaultVariants), e);
1157
+ }, me = (t) => (e) => {
1158
+ var n = t.defaultClassName, i = Xe(Xe({}, t.defaultVariants), e);
1159
1159
  for (var a in i) {
1160
1160
  var o, r = (o = i[a]) !== null && o !== void 0 ? o : t.defaultVariants[a];
1161
1161
  if (r != null) {
@@ -1171,7 +1171,7 @@ var la = (t, e, n) => {
1171
1171
  for (var [l, g] of t.compoundVariants)
1172
1172
  la(l, i, t.defaultVariants) && (n += " " + g);
1173
1173
  return n;
1174
- }, Xe = fe({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Fe = fe({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Ht = "fhyw89", Vt = fe({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ae = "fhyw88";
1174
+ }, Fe = me({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), $e = me({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Ht = "fhyw89", Vt = me({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ae = "fhyw88";
1175
1175
  const da = p(function(e) {
1176
1176
  const n = L(() => {
1177
1177
  var o;
@@ -1180,12 +1180,12 @@ const da = p(function(e) {
1180
1180
  <div class="${Vt({
1181
1181
  textAlign: n.value
1182
1182
  })}" >
1183
- <img class="${ae} ${Xe({
1183
+ <img class="${ae} ${Fe({
1184
1184
  textAlign: n.value
1185
1185
  })}" src="${H}">
1186
1186
  <div class="${Ht}">${e.label}</div>
1187
1187
  </div>
1188
- `), a = L(() => `<img class="${ae} ${Xe({
1188
+ `), a = L(() => `<img class="${ae} ${Fe({
1189
1189
  textAlign: n.value
1190
1190
  })}" src="${H}">`);
1191
1191
  return () => m(T, {
@@ -1202,14 +1202,14 @@ const da = p(function(e) {
1202
1202
  }), i = L(() => z("div", {
1203
1203
  class: `${Vt({
1204
1204
  textAlign: n.value
1205
- })} ${Fe({
1205
+ })} ${$e({
1206
1206
  textAlign: n.value
1207
1207
  })}`
1208
1208
  }, `
1209
1209
  <img class="${ae}" src="${H}">
1210
1210
  <div class="${Ht}">${e.label}</div>
1211
1211
  `)), a = L(() => z("img", {
1212
- class: `${ae} ${Fe({
1212
+ class: `${ae} ${$e({
1213
1213
  textAlign: n.value
1214
1214
  })}`,
1215
1215
  src: H
@@ -1225,20 +1225,20 @@ const da = p(function(e) {
1225
1225
  return () => Z(n.supplier === "gmap" ? ga : da, {
1226
1226
  attrs: e
1227
1227
  });
1228
- }), uo = p(function(e) {
1228
+ }), lo = p(function(e) {
1229
1229
  return () => m("div", [e.places.map((n) => m(Ia, {
1230
1230
  attrs: {
1231
- position: ve(n),
1231
+ position: ye(n),
1232
1232
  label: n.name,
1233
1233
  textAlign: "left"
1234
1234
  }
1235
1235
  }))]);
1236
1236
  }), Qt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZBOTVBIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiAzMC4yMTVjMi4xMzQgMCAzLjg2My0uODkzIDMuODYzLTEuOTk1IDAtMS4xLTEuNzMtMS45OTQtMy44NjMtMS45OTQtMi4xMzQgMC0zLjg2My44OTMtMy44NjMgMS45OTQgMCAxLjEwMiAxLjczIDEuOTk1IDMuODYzIDEuOTk1eiIgZmlsbC1vcGFjaXR5PSIuNSIgZmlsbD0iIzQzNDg1QSIvPjxwYXRoIGQ9Ik0xMSAyNy4wMDZjMi4xMjggMC0uOS0zLjc0MyA1LjYyMS02LjY0M0MxOS44NDIgMTguNDUzIDIyIDE0Ljk1MyAyMiAxMC45NSAyMiA0LjkwMiAxNy4wNzUgMCAxMSAwUzAgNC45MDIgMCAxMC45NWMwIDMuOTE4IDIuMDY4IDcuMzU2IDUuMTc3IDkuMjlDMTEuN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TMuNzQyIDUuNjIxLTYuNjQxIDMuMjIxLTEuOTEgNS4zNzktNS40MSA1LjM3OS05LjQxMkMyMiA0LjkwMSAxNy4wNzUgMCAxMSAwUzAgNC45MDEgMCAxMC45NDdjMCAzLjkxOCAyLjA2OCA3LjM1NSA1LjE3NyA5LjI5QzExLjc1IDIzLjI3NyA5LjA2IDI3IDExIDI3eiIgc3Ryb2tlPSIjRkZGIiBmaWxsPSJ1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
1237
- var Y = fe({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Xt = "_4a4ovk1", Ft = "_4a4ovk4", $t = "_4a4ovk5", _t = "_4a4ovk3", oe = "_4a4ovk0", Kt = "_4a4ovk2";
1238
- const Ma = p(function(e) {
1237
+ var Y = me({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Xt = "_4a4ovk1", Ft = "_4a4ovk4", $t = "_4a4ovk5", _t = "_4a4ovk3", oe = "_4a4ovk0", Kt = "_4a4ovk2";
1238
+ const Ma = Me(function(e) {
1239
1239
  const n = L(() => {
1240
1240
  var o;
1241
- const i = e.type === "start" ? Jt : Qt, a = e.description ? Me(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${$t}">${r.value}</span>`).join("") : "";
1241
+ const i = e.type === "start" ? Jt : Qt, a = e.description ? fe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${$t}">${r.value}</span>`).join("") : "";
1242
1242
  return !e.description && !e.title ? `<img src="${i}" class="${Y({
1243
1243
  type: e.type
1244
1244
  })}">` : e.description ? `
@@ -1268,10 +1268,10 @@ const Ma = p(function(e) {
1268
1268
  anchor: "bottom-center"
1269
1269
  }
1270
1270
  });
1271
- }), fa = p(function(e) {
1271
+ }).props(["type", "title", "registerOverlay", "position", "description"]), fa = Me(function(e) {
1272
1272
  const n = L(() => {
1273
1273
  var o;
1274
- const i = e.type === "start" ? Jt : Qt, a = e.description ? Me(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${$t}">${r.value}</span>`).join("") : "";
1274
+ const i = e.type === "start" ? Jt : Qt, a = e.description ? fe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${$t}">${r.value}</span>`).join("") : "";
1275
1275
  return !e.description && !e.title ? z("img", {
1276
1276
  class: Y({
1277
1277
  type: e.type
@@ -1303,7 +1303,7 @@ const Ma = p(function(e) {
1303
1303
  content: n.value
1304
1304
  }
1305
1305
  });
1306
- }), lo = p(function(e) {
1306
+ }).props(["type", "title", "registerOverlay", "position", "description"]), go = p(function(e) {
1307
1307
  const n = A();
1308
1308
  return () => Z(n.supplier === "gmap" ? fa : Ma, {
1309
1309
  attrs: e
@@ -1313,7 +1313,7 @@ var se = "_65j3sr1", qt = "_4a4ovk5", en = "_4a4ovk0", tn = "_4a4ovk2";
1313
1313
  const ma = p(function(e) {
1314
1314
  const n = L(() => {
1315
1315
  var o;
1316
- const i = e.title ? Me(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${qt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
1316
+ const i = e.title ? fe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${qt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
1317
1317
  return e.title ? `
1318
1318
  <div class="${en}">
1319
1319
  <div class="${tn}">${i}</div>
@@ -1331,7 +1331,7 @@ const ma = p(function(e) {
1331
1331
  }), pa = p(function(e) {
1332
1332
  const n = L(() => {
1333
1333
  var o;
1334
- const i = e.title ? Me(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${qt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
1334
+ const i = e.title ? fe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${qt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
1335
1335
  return e.title ? z("div", {
1336
1336
  class: en
1337
1337
  }, `
@@ -1349,7 +1349,7 @@ const ma = p(function(e) {
1349
1349
  content: n.value
1350
1350
  }
1351
1351
  });
1352
- }), go = p(function(e) {
1352
+ }), Io = p(function(e) {
1353
1353
  const n = A();
1354
1354
  return () => Z(n.supplier === "gmap" ? pa : ma, {
1355
1355
  attrs: e
@@ -1370,7 +1370,7 @@ const ma = p(function(e) {
1370
1370
  }
1371
1371
  });
1372
1372
  };
1373
- }), ja = p(function(e) {
1373
+ }), ya = p(function(e) {
1374
1374
  const n = L(() => e.path.map(w));
1375
1375
  return () => {
1376
1376
  const a = 2 * (window.innerWidth * 0.01), o = a / 4;
@@ -1400,9 +1400,9 @@ const ma = p(function(e) {
1400
1400
  }
1401
1401
  });
1402
1402
  };
1403
- }), Io = p(function(e) {
1403
+ }), Mo = p(function(e) {
1404
1404
  const n = A();
1405
- return () => Z(n.supplier === "gmap" ? ja : va, {
1405
+ return () => Z(n.supplier === "gmap" ? ya : va, {
1406
1406
  attrs: e
1407
1407
  });
1408
1408
  }), nn = (t) => {
@@ -1449,13 +1449,13 @@ const ma = p(function(e) {
1449
1449
  });
1450
1450
  }
1451
1451
  ), e;
1452
- }, Mo = (t) => {
1452
+ }, fo = (t) => {
1453
1453
  const { supplier: e } = A();
1454
1454
  return e === "gmap" ? an(t) : nn(t);
1455
- }, ya = p(function(e, {
1455
+ }, ja = p(function(e, {
1456
1456
  slots: n
1457
1457
  }) {
1458
- const i = ge(), a = nn(e), o = xe(C({
1458
+ const i = ge(), a = nn(e), o = he(C({
1459
1459
  path: a,
1460
1460
  map: i
1461
1461
  }));
@@ -1469,7 +1469,7 @@ const ma = p(function(e) {
1469
1469
  }), Aa = p(function(e, {
1470
1470
  slots: n
1471
1471
  }) {
1472
- const i = Ie(), a = an(e), o = he(C({
1472
+ const i = Ie(), a = an(e), o = Ce(C({
1473
1473
  path: a,
1474
1474
  map: i
1475
1475
  }));
@@ -1480,13 +1480,13 @@ const ma = p(function(e) {
1480
1480
  angle: o
1481
1481
  }))]);
1482
1482
  };
1483
- }), fo = p(function(e, {
1483
+ }), mo = p(function(e, {
1484
1484
  slots: n
1485
1485
  }) {
1486
1486
  const {
1487
1487
  supplier: i
1488
1488
  } = A();
1489
- return () => Z(i === "gmap" ? Aa : ya, {
1489
+ return () => Z(i === "gmap" ? Aa : ja, {
1490
1490
  attrs: e,
1491
1491
  scopedSlots: n
1492
1492
  });
@@ -1529,18 +1529,18 @@ const La = p(function(e) {
1529
1529
  }
1530
1530
  })]);
1531
1531
  };
1532
- }), mo = p(function(e) {
1532
+ }), po = p(function(e) {
1533
1533
  const n = A();
1534
1534
  return () => Z(n.supplier === "gmap" ? Na : La, {
1535
1535
  attrs: e
1536
1536
  });
1537
1537
  });
1538
- var ye = {}, Sa = {
1538
+ var Ae = {}, Sa = {
1539
1539
  get exports() {
1540
- return ye;
1540
+ return Ae;
1541
1541
  },
1542
1542
  set exports(t) {
1543
- ye = t;
1543
+ Ae = t;
1544
1544
  }
1545
1545
  };
1546
1546
  (function(t, e) {
@@ -1561,10 +1561,10 @@ var ye = {}, Sa = {
1561
1561
  I("前次请求 AMapUI 失败");
1562
1562
  else if (s.AMapUI === o.notload) {
1563
1563
  s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version, f = r.AMapUI.version;
1564
- var j = document.body || document.head, y = document.createElement("script");
1565
- y.type = "text/javascript", y.src = "https://webapi.amap.com/ui/" + f + "/main.js", y.onerror = function(v) {
1564
+ var y = document.body || document.head, j = document.createElement("script");
1565
+ j.type = "text/javascript", j.src = "https://webapi.amap.com/ui/" + f + "/main.js", j.onerror = function(v) {
1566
1566
  s.AMapUI = o.failed, I("请求 AMapUI 失败");
1567
- }, y.onload = function() {
1567
+ }, j.onload = function() {
1568
1568
  if (s.AMapUI = o.loaded, M.length)
1569
1569
  window.AMapUI.loadUI(M, function() {
1570
1570
  for (var v = 0, h = M.length; v < h; v++) {
@@ -1577,7 +1577,7 @@ var ye = {}, Sa = {
1577
1577
  else
1578
1578
  for (d(); u.AMapUI.length; )
1579
1579
  u.AMapUI.splice(0, 1)[0]();
1580
- }, j.appendChild(y);
1580
+ }, y.appendChild(j);
1581
1581
  } else
1582
1582
  s.AMapUI === o.loaded ? c.version && c.version !== r.AMapUI.version ? I("不允许多个版本 AMapUI 混用") : M.length ? window.AMapUI.loadUI(M, function() {
1583
1583
  for (var v = 0, h = M.length; v < h; v++) {
@@ -1602,18 +1602,18 @@ var ye = {}, Sa = {
1602
1602
  I("前次请求 Loca 失败");
1603
1603
  else if (s.Loca === o.notload) {
1604
1604
  s.Loca = o.loading, r.Loca.version = c.version || r.Loca.version;
1605
- var M = r.Loca.version, f = r.AMap.version.startsWith("2"), j = M.startsWith("2");
1606
- if (f && !j || !f && j)
1605
+ var M = r.Loca.version, f = r.AMap.version.startsWith("2"), y = M.startsWith("2");
1606
+ if (f && !y || !f && y)
1607
1607
  I("JSAPI 与 Loca 版本不对应!!");
1608
1608
  else {
1609
- f = r.key, j = document.body || document.head;
1610
- var y = document.createElement("script");
1611
- y.type = "text/javascript", y.src = "https://webapi.amap.com/loca?v=" + M + "&key=" + f, y.onerror = function(v) {
1609
+ f = r.key, y = document.body || document.head;
1610
+ var j = document.createElement("script");
1611
+ j.type = "text/javascript", j.src = "https://webapi.amap.com/loca?v=" + M + "&key=" + f, j.onerror = function(v) {
1612
1612
  s.Loca = o.failed, I("请求 AMapUI 失败");
1613
- }, y.onload = function() {
1613
+ }, j.onload = function() {
1614
1614
  for (s.Loca = o.loaded, d(); u.Loca.length; )
1615
1615
  u.Loca.splice(0, 1)[0]();
1616
- }, j.appendChild(y);
1616
+ }, y.appendChild(j);
1617
1617
  }
1618
1618
  } else
1619
1619
  s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? I("不允许多个版本 Loca 混用") : d() : c.version && c.version !== r.Loca.version ? I("不允许多个版本 Loca 混用") : u.Loca.push(function(v) {
@@ -1635,8 +1635,8 @@ var ye = {}, Sa = {
1635
1635
  if (s.AMap == o.failed)
1636
1636
  I("");
1637
1637
  else if (s.AMap == o.notload) {
1638
- var M = c.key, f = c.version, j = c.plugins;
1639
- M ? (window.AMap && location.host !== "lbs.amap.com" && I("禁止多种API加载方式混用"), r.key = M, r.AMap.version = f || r.AMap.version, r.AMap.plugins = j || r.AMap.plugins, s.AMap = o.loading, f = document.body || document.head, window.___onAPILoaded = function(v) {
1638
+ var M = c.key, f = c.version, y = c.plugins;
1639
+ 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) {
1640
1640
  if (delete window.___onAPILoaded, v)
1641
1641
  s.AMap = o.failed, I(v);
1642
1642
  else
@@ -1644,9 +1644,9 @@ var ye = {}, Sa = {
1644
1644
  d(window.AMap);
1645
1645
  }).catch(I); l.length; )
1646
1646
  l.splice(0, 1)[0]();
1647
- }, j = document.createElement("script"), j.type = "text/javascript", j.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + M + "&plugin=" + r.AMap.plugins.join(","), j.onerror = function(v) {
1647
+ }, 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) {
1648
1648
  s.AMap = o.failed, I(v);
1649
- }, f.appendChild(j)) : I("请填写key");
1649
+ }, f.appendChild(y)) : I("请填写key");
1650
1650
  } else if (s.AMap == o.loaded)
1651
1651
  if (c.key && c.key !== r.key)
1652
1652
  I("多个不一致的 key");
@@ -1669,12 +1669,12 @@ var ye = {}, Sa = {
1669
1669
  else if (c.version && c.version !== r.AMap.version)
1670
1670
  I("不允许多个版本 JSAPI 混用");
1671
1671
  else {
1672
- var y = [];
1672
+ var j = [];
1673
1673
  if (c.plugins)
1674
1674
  for (f = 0; f < c.plugins.length; f += 1)
1675
- r.AMap.plugins.indexOf(c.plugins[f]) == -1 && y.push(c.plugins[f]);
1675
+ r.AMap.plugins.indexOf(c.plugins[f]) == -1 && j.push(c.plugins[f]);
1676
1676
  g(function() {
1677
- y.length ? window.AMap.plugin(y, function() {
1677
+ j.length ? window.AMap.plugin(j, function() {
1678
1678
  n(c).then(function() {
1679
1679
  d(window.AMap);
1680
1680
  }).catch(I);
@@ -1728,7 +1728,7 @@ var Da = function t(e, n) {
1728
1728
  }
1729
1729
  return e !== e && n !== n;
1730
1730
  };
1731
- const $e = "__googleMapsScriptId";
1731
+ const _e = "__googleMapsScriptId";
1732
1732
  var B;
1733
1733
  (function(t) {
1734
1734
  t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
@@ -1743,8 +1743,8 @@ class W {
1743
1743
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1744
1744
  * ```
1745
1745
  */
1746
- constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = $e, language: r, libraries: s = [], mapIds: u, nonce: l, region: g, retries: c = 3, url: d = "https://maps.googleapis.com/maps/api/js", version: I }) {
1747
- 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 || $e, this.language = r, this.libraries = s, this.mapIds = u, this.nonce = l, this.region = g, this.retries = c, this.url = d, this.version = I, W.instance) {
1746
+ constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = _e, language: r, libraries: s = [], mapIds: u, nonce: l, region: g, retries: c = 3, url: d = "https://maps.googleapis.com/maps/api/js", version: I }) {
1747
+ 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 || _e, this.language = r, this.libraries = s, this.mapIds = u, this.nonce = l, this.region = g, this.retries = c, this.url = d, this.version = I, W.instance) {
1748
1748
  if (!Da(this.options, W.instance.options))
1749
1749
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(W.instance.options)}`);
1750
1750
  return W.instance;
@@ -1866,7 +1866,7 @@ const xa = [
1866
1866
  "AMap.Driving",
1867
1867
  "AMap.Walker"
1868
1868
  ], ha = ["marker", "places", "geometry"];
1869
- var Ae = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(Ae || {});
1869
+ var Le = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(Le || {});
1870
1870
  const Ca = (t) => {
1871
1871
  const { onChange: e } = t;
1872
1872
  let n, i;
@@ -1890,7 +1890,7 @@ const Ca = (t) => {
1890
1890
  /* LOADING */
1891
1891
  ), window._AMapSecurityConfig = t.apiServiceHost ? {
1892
1892
  serviceHost: t.apiServiceHost
1893
- } : { securityJsCode: t.apiSecret }, ye.load(s).then(
1893
+ } : { securityJsCode: t.apiSecret }, Ae.load(s).then(
1894
1894
  () => u(
1895
1895
  "SUCCESS"
1896
1896
  /* SUCCESS */
@@ -1983,7 +1983,7 @@ const za = p(function(e, { slots: n, emit: i }) {
1983
1983
  var I;
1984
1984
  (I = c.value) == null || I.setStatus(d);
1985
1985
  }
1986
- ), De(c, e, [
1986
+ ), xe(c, e, [
1987
1987
  { name: "center", defaultValue: [0, 0] },
1988
1988
  { name: "zooms", defaultValue: [0, 0] },
1989
1989
  { name: "zoom", defaultValue: 0 },
@@ -2035,7 +2035,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2035
2035
  var c;
2036
2036
  return m("div", { ref: s }, (c = n.default) == null ? void 0 : c.call(n));
2037
2037
  };
2038
- }), po = Lt(function(e, {
2038
+ }), vo = Me(function(e, {
2039
2039
  slots: n
2040
2040
  }) {
2041
2041
  const {
@@ -2050,7 +2050,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2050
2050
  var r;
2051
2051
  return m("div", [(r = n.default) == null ? void 0 : r.call(n)]);
2052
2052
  };
2053
- }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), vo = Lt(function(e, {
2053
+ }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), yo = Me(function(e, {
2054
2054
  slots: n,
2055
2055
  emit: i
2056
2056
  }) {
@@ -2072,7 +2072,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2072
2072
  i("dragEnd", [u, l]);
2073
2073
  };
2074
2074
  return () => {
2075
- var f, j, y;
2075
+ var f, y, j;
2076
2076
  const {
2077
2077
  supplier: s,
2078
2078
  gmapId: u,
@@ -2083,11 +2083,11 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2083
2083
  center: d,
2084
2084
  zoom: I
2085
2085
  } = e;
2086
- if (g === Ae.LOADING)
2086
+ if (g === Le.LOADING)
2087
2087
  return (f = n.loading) == null ? void 0 : f.call(n);
2088
- if (g === Ae.FAILURE)
2089
- return (j = n.fallback) == null ? void 0 : j.call(n);
2090
- const M = (y = n.default) == null ? void 0 : y.call(n);
2088
+ if (g === Le.FAILURE)
2089
+ return (y = n.fallback) == null ? void 0 : y.call(n);
2090
+ const M = (j = n.default) == null ? void 0 : j.call(n);
2091
2091
  switch (s) {
2092
2092
  case "gmap":
2093
2093
  return m(Ea, {
@@ -2176,13 +2176,13 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2176
2176
  switch (I) {
2177
2177
  case google.maps.places.PlacesServiceStatus.OK:
2178
2178
  o.value = d.map(
2179
- ({ geometry: M, name: f, formatted_address: j }) => {
2180
- var y, v, h, P;
2179
+ ({ geometry: M, name: f, formatted_address: y }) => {
2180
+ var j, v, h, P;
2181
2181
  return {
2182
- lng: (v = (y = M == null ? void 0 : M.location) == null ? void 0 : y.lng()) != null ? v : 0,
2182
+ lng: (v = (j = M == null ? void 0 : M.location) == null ? void 0 : j.lng()) != null ? v : 0,
2183
2183
  lat: (P = (h = M == null ? void 0 : M.location) == null ? void 0 : h.lat()) != null ? P : 0,
2184
2184
  name: f != null ? f : "",
2185
- description: j != null ? j : ""
2185
+ description: y != null ? y : ""
2186
2186
  };
2187
2187
  }
2188
2188
  );
@@ -2231,7 +2231,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2231
2231
  componentRestrictions: {
2232
2232
  administrativeArea: "administrative_area_level_1"
2233
2233
  },
2234
- language: Se
2234
+ language: De
2235
2235
  });
2236
2236
  if (u.length !== 1)
2237
2237
  throw new Error("MyError: multiple city found");
@@ -2250,7 +2250,84 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2250
2250
  const u = s.target;
2251
2251
  a(u.value);
2252
2252
  } };
2253
- }, Ua = (t) => {
2253
+ }, Ua = 20, Ba = (t) => {
2254
+ const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
2255
+ let a;
2256
+ const o = {
2257
+ add: (u) => {
2258
+ i.add(u);
2259
+ },
2260
+ remove: (u) => {
2261
+ i.delete(u);
2262
+ }
2263
+ }, r = () => {
2264
+ var M;
2265
+ const u = e.value;
2266
+ if (!u)
2267
+ return;
2268
+ const l = window.innerWidth / 100, [g, c, d, I] = (M = t.padding) != null ? M : [0, 0, 0, 0];
2269
+ console.log([...i]), u.setFitView([...i], !1, [g * l, d * l, I * l, c * l]);
2270
+ };
2271
+ return ie(
2272
+ e,
2273
+ {},
2274
+ () => {
2275
+ n && (a && clearTimeout(a), a = setTimeout(() => {
2276
+ a = void 0, r();
2277
+ }, n));
2278
+ },
2279
+ ["onDragEnd"]
2280
+ ), { registerFitVeiw: o, setFitView: r };
2281
+ };
2282
+ class Ya extends Set {
2283
+ getBound() {
2284
+ const e = new google.maps.LatLngBounds();
2285
+ for (const n of this.values()) {
2286
+ const i = n instanceof google.maps.Marker ? n.getPosition() : n.position;
2287
+ i && e.extend(i);
2288
+ }
2289
+ return e;
2290
+ }
2291
+ }
2292
+ const Ha = (t) => {
2293
+ const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = rn(), a = new Ya();
2294
+ let o;
2295
+ const r = {
2296
+ add: (g) => {
2297
+ a.add(g);
2298
+ },
2299
+ remove: (g) => {
2300
+ a.delete(g);
2301
+ }
2302
+ }, s = () => {
2303
+ var y;
2304
+ const g = e.value;
2305
+ if (!g)
2306
+ return;
2307
+ const c = window.innerWidth / 100, [d, I, M, f] = (y = t.padding) != null ? y : [0, 0, 0, 0];
2308
+ i(
2309
+ () => g.fitBounds(a.getBound(), {
2310
+ top: d * c,
2311
+ right: I * c,
2312
+ bottom: M * c,
2313
+ left: f * c
2314
+ })
2315
+ );
2316
+ }, u = (g) => {
2317
+ const c = Za();
2318
+ console.log("handleMoveEndOrZomEnd name, eventSource = ", g, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
2319
+ o = void 0, s();
2320
+ }, n));
2321
+ }, l = Gi(u, Ua);
2322
+ return _(e, {}, u, [
2323
+ "onDragEnd"
2324
+ ]), _(e, {}, l, [
2325
+ "onZoom_changed"
2326
+ ]), { registerFitVeiw: r, setFitView: s };
2327
+ }, Va = (t) => {
2328
+ const { supplier: e } = A();
2329
+ return e === "gmap" ? Ha(t) : Ba(t);
2330
+ }, Ao = (t) => Va({ ...t, padding: [25, 20, 15, 15] }), Qa = (t) => {
2254
2331
  const { onChange: e, onLoad: n } = t, i = D(!1), a = D(!1), o = D(), r = D({
2255
2332
  accuracy: 0,
2256
2333
  altitude: 0,
@@ -2285,7 +2362,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2285
2362
  geoLoading: i,
2286
2363
  geoReady: a
2287
2364
  };
2288
- }, Ba = (t) => {
2365
+ }, Ja = (t) => {
2289
2366
  const { mapRef: e, onChange: n } = t, i = D([0, 0]), a = D(!1), o = () => {
2290
2367
  Promise.resolve().then(() => a.value = !0);
2291
2368
  }, r = (s, { target: u }) => {
@@ -2299,7 +2376,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2299
2376
  ]), ie(e, {}, r, [
2300
2377
  "onDragEnd"
2301
2378
  ]), { centerRef: i, isDragging: a };
2302
- }, Ya = (t) => {
2379
+ }, Xa = (t) => {
2303
2380
  const { mapRef: e, onChange: n } = t, i = D([0, 0]), a = D(!1), o = () => {
2304
2381
  Promise.resolve().then(() => a.value = !0);
2305
2382
  }, r = async () => {
@@ -2313,9 +2390,9 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2313
2390
  ]), _(e, {}, r, [
2314
2391
  "onDragEnd"
2315
2392
  ]), { centerRef: i, isDragging: a };
2316
- }, Ha = (t) => {
2393
+ }, Fa = (t) => {
2317
2394
  const { supplier: e } = A();
2318
- return e === "gmap" ? Ya(t) : Ba(t);
2395
+ return e === "gmap" ? Xa(t) : Ja(t);
2319
2396
  }, sn = (t) => {
2320
2397
  const { pointRef: e, onChange: n } = t, { readyPromise: i } = A(), { idx: a, update: o } = J(), r = C({
2321
2398
  lng: e.value[0],
@@ -2327,7 +2404,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2327
2404
  () => a.value,
2328
2405
  async () => {
2329
2406
  await i;
2330
- const s = new AMap.Geocoder({ lang: Se }), [u, l] = e.value;
2407
+ const s = new AMap.Geocoder({ lang: De }), [u, l] = e.value;
2331
2408
  s.getAddress(new AMap.LngLat(u, l), (g, c) => {
2332
2409
  switch (g) {
2333
2410
  case "complete": {
@@ -2350,52 +2427,52 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2350
2427
  () => a.value,
2351
2428
  async () => {
2352
2429
  await i;
2353
- const s = new google.maps.Geocoder(), [u, l] = e.value, { results: g } = await s.geocode({ language: Se, location: { lng: u, lat: l } }), c = g[0].formatted_address, d = _i(g[0]);
2430
+ const s = new google.maps.Geocoder(), [u, l] = e.value, { results: g } = await s.geocode({ language: De, location: { lng: u, lat: l } }), c = g[0].formatted_address, d = _i(g[0]);
2354
2431
  r.name = c, r.lng = u, r.lat = l, n == null || n({ lng: u, lat: l, name: c, cityName: d });
2355
2432
  }
2356
2433
  ), { place: r, updatePlace: o };
2357
- }, yo = (t) => {
2434
+ }, Lo = (t) => {
2358
2435
  const { supplier: e } = A();
2359
2436
  return e === "gmap" ? cn(t) : sn(t);
2360
- }, Va = (t, e) => {
2437
+ }, $a = (t, e) => {
2361
2438
  let n = 1 / 0, i = t;
2362
2439
  for (const a of e) {
2363
- const o = AMap.GeometryUtil.distance(ve(t), ve(a));
2440
+ const o = AMap.GeometryUtil.distance(ye(t), ye(a));
2364
2441
  o >= n || (i = a, n = o);
2365
2442
  }
2366
2443
  return { shortestPlace: i, shortestDistance: n };
2367
- }, Qa = (t, e) => {
2444
+ }, _a = (t, e) => {
2368
2445
  let n = 1 / 0, i = t;
2369
2446
  for (const a of e) {
2370
2447
  const o = google.maps.geometry.spherical.computeDistanceBetween(t, a);
2371
2448
  o >= n || (i = a, n = o);
2372
2449
  }
2373
2450
  return { shortestPlace: i, shortestDistance: n };
2374
- }, Ja = (t) => {
2451
+ }, Ka = (t) => {
2375
2452
  const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = t, s = D([]), { idx: u, update: l } = J(), { readyPromise: g } = A(), { place: c, updatePlace: d } = sn({ pointRef: e, onChange: r }), I = C({ ...c });
2376
2453
  return b(
2377
2454
  () => u.value,
2378
2455
  async () => {
2379
2456
  await g;
2380
- const M = await n({ ...c }, a), { shortestPlace: f, shortestDistance: j } = Va(c, M), y = i(a), v = j > y ? c : f;
2457
+ const M = await n({ ...c }, a), { shortestPlace: f, shortestDistance: y } = $a(c, M), j = i(a), v = y > j ? c : f;
2381
2458
  s.value = M, Object.assign(I, { ...v }), o == null || o({ ...v });
2382
2459
  }
2383
2460
  ), { recomendPlace: I, placeCandidates: s, updateRecomandPlace: l, updatePlace: d };
2384
- }, Xa = (t) => {
2461
+ }, qa = (t) => {
2385
2462
  const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = t, s = D([]), { idx: u, update: l } = J(), { readyPromise: g } = A(), { place: c, updatePlace: d } = cn({ pointRef: e, onChange: r }), I = C({ ...c });
2386
2463
  return b(
2387
2464
  () => u.value,
2388
2465
  async () => {
2389
2466
  await g;
2390
- const M = await n({ ...c }, a), { shortestPlace: f, shortestDistance: j } = Qa(c, M), y = i(a), v = j > y ? c : f;
2467
+ const M = await n({ ...c }, a), { shortestPlace: f, shortestDistance: y } = _a(c, M), j = i(a), v = y > j ? c : f;
2391
2468
  s.value = M, Object.assign(I, { ...v }), o == null || o({ ...v });
2392
2469
  }
2393
2470
  ), { recomendPlace: I, placeCandidates: s, updateRecomandPlace: l, updatePlace: d };
2394
- }, Fa = (t) => {
2471
+ }, eo = (t) => {
2395
2472
  const { supplier: e } = A();
2396
- return e === "gmap" ? Xa(t) : Ja(t);
2397
- }, Ao = (t) => {
2398
- var X, Ce;
2473
+ return e === "gmap" ? qa(t) : Ka(t);
2474
+ }, No = (t) => {
2475
+ var X, we;
2399
2476
  const {
2400
2477
  mapRef: e,
2401
2478
  getRecomendPlace: n,
@@ -2409,7 +2486,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2409
2486
  onChangeRecomandPlace: g
2410
2487
  } = t, { readyPromise: c } = A(), d = C({
2411
2488
  lng: (X = i == null ? void 0 : i[0]) != null ? X : 0,
2412
- lat: (Ce = i == null ? void 0 : i[1]) != null ? Ce : 0,
2489
+ lat: (we = i == null ? void 0 : i[1]) != null ? we : 0,
2413
2490
  name: "",
2414
2491
  cityName: void 0
2415
2492
  }), I = L(() => [d.lng, d.lat]), M = { source: "geo" }, f = (S) => {
@@ -2418,23 +2495,23 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2418
2495
  i && c.then(() => {
2419
2496
  M.source = "default", N();
2420
2497
  });
2421
- const { geoLoading: j, geoError: y, geoPosition: v, geoCoordinate: h, geoReady: P } = Ua({
2498
+ const { geoLoading: y, geoError: j, geoPosition: v, geoCoordinate: h, geoReady: P } = Qa({
2422
2499
  onLoad: async (S) => {
2423
2500
  i || (await c, M.source = "geo", d.lng = S.position[0], d.lat = S.position[1], N()), r == null || r(S);
2424
2501
  },
2425
2502
  onChange: u
2426
- }), { isDragging: k } = Ha({
2503
+ }), { isDragging: k } = Fa({
2427
2504
  mapRef: e,
2428
2505
  onChange: (S) => {
2429
2506
  M.source = "drag", d.lng = S[0], d.lat = S[1], N(), s == null || s(S);
2430
2507
  }
2431
- }), { updatePlace: N, updateRecomandPlace: E, placeCandidates: O } = Fa({
2508
+ }), { updatePlace: N, updateRecomandPlace: E, placeCandidates: O } = eo({
2432
2509
  pointRef: I,
2433
2510
  context: M,
2434
2511
  getRecomendPlace: n,
2435
2512
  getLimit: (S) => {
2436
- const we = S == null ? void 0 : S.source;
2437
- switch (we) {
2513
+ const be = S == null ? void 0 : S.source;
2514
+ switch (be) {
2438
2515
  case "drag":
2439
2516
  case "api":
2440
2517
  return a;
@@ -2442,7 +2519,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2442
2519
  case "default":
2443
2520
  return o;
2444
2521
  default:
2445
- throw new Error(`MyError: should not call getLimit on source: ${we}`);
2522
+ throw new Error(`MyError: should not call getLimit on source: ${be}`);
2446
2523
  }
2447
2524
  },
2448
2525
  onChangePlace: (S) => {
@@ -2454,8 +2531,8 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2454
2531
  });
2455
2532
  return {
2456
2533
  isDragging: k,
2457
- geoLoading: j,
2458
- geoError: y,
2534
+ geoLoading: y,
2535
+ geoError: j,
2459
2536
  geoPosition: v,
2460
2537
  geoCoordinate: h,
2461
2538
  geoReady: P,
@@ -2464,7 +2541,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2464
2541
  placeCandidates: O,
2465
2542
  setCenterPlaceByRecomand: f
2466
2543
  };
2467
- }, $a = () => {
2544
+ }, to = () => {
2468
2545
  const t = x();
2469
2546
  return { mapRef: t, panTo: (i) => {
2470
2547
  var a;
@@ -2472,7 +2549,7 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2472
2549
  }, setMap: (i) => {
2473
2550
  t.value = i;
2474
2551
  } };
2475
- }, _a = () => {
2552
+ }, no = () => {
2476
2553
  const t = x();
2477
2554
  return { mapRef: t, panTo: (i) => {
2478
2555
  var a;
@@ -2480,110 +2557,34 @@ const Za = () => te, rn = () => ({ executeMapApi: (e) => {
2480
2557
  }, setMap: (i) => {
2481
2558
  t.value = i;
2482
2559
  } };
2483
- }, Lo = () => {
2560
+ }, So = () => {
2484
2561
  const { supplier: t } = A();
2485
- return t === "gmap" ? _a() : $a();
2486
- }, Ka = 20, qa = (t) => {
2487
- const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
2488
- let a;
2489
- const o = {
2490
- add: (u) => {
2491
- i.add(u);
2492
- },
2493
- remove: (u) => {
2494
- i.delete(u);
2495
- }
2496
- }, r = () => {
2497
- var M;
2498
- const u = e.value;
2499
- if (!u)
2500
- return;
2501
- const l = window.innerWidth / 100, [g, c, d, I] = (M = t.padding) != null ? M : [0, 0, 0, 0];
2502
- console.log([...i]), u.setFitView([...i], !1, [g * l, d * l, I * l, c * l]);
2503
- };
2504
- return ie(
2505
- e,
2506
- {},
2507
- () => {
2508
- n && (a && clearTimeout(a), a = setTimeout(() => {
2509
- a = void 0, r();
2510
- }, n));
2511
- },
2512
- ["onDragEnd"]
2513
- ), { registerFitVeiw: o, setFitView: r };
2514
- };
2515
- class eo extends Set {
2516
- getBound() {
2517
- const e = new google.maps.LatLngBounds();
2518
- for (const n of this.values()) {
2519
- const i = n instanceof google.maps.Marker ? n.getPosition() : n.position;
2520
- i && e.extend(i);
2521
- }
2522
- return e;
2523
- }
2524
- }
2525
- const to = (t) => {
2526
- const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = rn(), a = new eo();
2527
- let o;
2528
- const r = {
2529
- add: (g) => {
2530
- a.add(g);
2531
- },
2532
- remove: (g) => {
2533
- a.delete(g);
2534
- }
2535
- }, s = () => {
2536
- var j;
2537
- const g = e.value;
2538
- if (!g)
2539
- return;
2540
- const c = window.innerWidth / 100, [d, I, M, f] = (j = t.padding) != null ? j : [0, 0, 0, 0];
2541
- i(
2542
- () => g.fitBounds(a.getBound(), {
2543
- top: d * c,
2544
- right: I * c,
2545
- bottom: M * c,
2546
- left: f * c
2547
- })
2548
- );
2549
- }, u = (g) => {
2550
- const c = Za();
2551
- console.log("handleMoveEndOrZomEnd name, eventSource = ", g, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
2552
- o = void 0, s();
2553
- }, n));
2554
- }, l = Gi(u, Ka);
2555
- return _(e, {}, u, [
2556
- "onDragEnd"
2557
- ]), _(e, {}, l, [
2558
- "onZoom_changed"
2559
- ]), { registerFitVeiw: r, setFitView: s };
2560
- }, No = (t) => {
2561
- const { supplier: e } = A();
2562
- return e === "gmap" ? to(t) : qa(t);
2562
+ return t === "gmap" ? no() : to();
2563
2563
  };
2564
2564
  export {
2565
- io as AddressBox,
2566
- ao as DrivingLine,
2567
- so as DrivingRoute,
2568
- vo as HeycarMap,
2569
- po as MapProvider,
2570
- co as PassengerCircle,
2571
- uo as PickupPoints,
2565
+ ao as AddressBox,
2566
+ oo as DrivingLine,
2567
+ co as DrivingRoute,
2568
+ yo as HeycarMap,
2569
+ vo as MapProvider,
2570
+ uo as PassengerCircle,
2571
+ lo as PickupPoints,
2572
2572
  Ia as PlaceCircle,
2573
- lo as StartEndPoint,
2574
- go as TaxiCar,
2575
- Io as WalkingLine,
2576
- fo as WalkingRoute,
2577
- mo as WaveCircle,
2573
+ go as StartEndPoint,
2574
+ Io as TaxiCar,
2575
+ Mo as WalkingLine,
2576
+ mo as WalkingRoute,
2577
+ po as WaveCircle,
2578
2578
  jo as useBusinessMapAutoComplete,
2579
- Ao as useBusinessMapRecomendPlace,
2580
- oo as useDrivingRoute,
2581
- Ua as useGeoLocation,
2582
- Lo as useHeycarMap,
2583
- ro as useMapAngle,
2584
- Ha as useMapDrag,
2585
- No as useMapFitView,
2586
- yo as useMapPlace,
2587
- Fa as useMapRecomendPlace,
2588
- Mo as useWalkingRoute
2579
+ Ao as useBusinessMapFitView,
2580
+ No as useBusinessMapRecomendPlace,
2581
+ ro as useDrivingRoute,
2582
+ Qa as useGeoLocation,
2583
+ So as useHeycarMap,
2584
+ so as useMapAngle,
2585
+ Fa as useMapDrag,
2586
+ Va as useMapFitView,
2587
+ Lo as useMapPlace,
2588
+ eo as useMapRecomendPlace,
2589
+ fo as useWalkingRoute
2589
2590
  };