@heycar/heycars-map 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import Vt, { defineComponent as Re, h as f, watch as b, watchPostEffect as T, inject as Me, provide as ge, shallowRef as D, onMounted as te, onUnmounted as ne, computed as L, reactive as w, ref as C, watchEffect as Qt } from "vue";
2
- Vt.util.warn;
1
+ import Qt, { defineComponent as Ge, h as p, watch as z, watchPostEffect as T, inject as de, provide as ge, shallowRef as S, onMounted as te, onUnmounted as ne, computed as y, reactive as b, ref as x, watchEffect as Vt } from "vue";
2
+ Qt.util.warn;
3
3
  const ke = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+", U = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxjaXJjbGUgaWQ9InBhdGgtMSIgY3g9IjQuNSIgY3k9IjkuNSIgcj0iNC41Ij48L2NpcmNsZT4KICAgICAgICA8ZmlsdGVyIHg9Ii02MS4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gogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=";
4
4
  var Jt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Xt = typeof global == "object" && global && global.Object === Object && global;
5
5
  const $t = Xt;
@@ -22,9 +22,9 @@ var an = Object.prototype, on = an.toString;
22
22
  function rn(t) {
23
23
  return on.call(t);
24
24
  }
25
- var cn = "[object Null]", un = "[object Undefined]", pe = Y ? Y.toStringTag : void 0;
25
+ var cn = "[object Null]", un = "[object Undefined]", je = Y ? Y.toStringTag : void 0;
26
26
  function sn(t) {
27
- return t == null ? t === void 0 ? un : cn : pe && pe in Object(t) ? nn(t) : rn(t);
27
+ return t == null ? t === void 0 ? un : cn : je && je in Object(t) ? nn(t) : rn(t);
28
28
  }
29
29
  function ln(t) {
30
30
  return t != null && typeof t == "object";
@@ -33,21 +33,21 @@ var In = "[object Symbol]";
33
33
  function Mn(t) {
34
34
  return typeof t == "symbol" || ln(t) && sn(t) == In;
35
35
  }
36
- function gn(t, e) {
36
+ function dn(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 dn = Array.isArray;
42
- const fn = dn;
43
- var mn = 1 / 0, je = Y ? Y.prototype : void 0, ye = je ? je.toString : void 0;
41
+ var gn = Array.isArray;
42
+ const fn = gn;
43
+ var mn = 1 / 0, ye = Y ? Y.prototype : void 0, Le = ye ? ye.toString : void 0;
44
44
  function We(t) {
45
45
  if (typeof t == "string")
46
46
  return t;
47
47
  if (fn(t))
48
- return gn(t, We) + "";
48
+ return dn(t, We) + "";
49
49
  if (Mn(t))
50
- return ye ? ye.call(t) : "";
50
+ return Le ? Le.call(t) : "";
51
51
  var e = t + "";
52
52
  return e == "0" && 1 / t == -mn ? "-0" : e;
53
53
  }
@@ -260,7 +260,7 @@ var yn = {
260
260
  ſ: "s"
261
261
  }, Ln = jn(yn);
262
262
  const An = Ln;
263
- var vn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Nn = "\\u0300-\\u036f", Dn = "\\ufe20-\\ufe2f", Sn = "\\u20d0-\\u20ff", xn = Nn + Dn + Sn, Cn = "[" + xn + "]", hn = RegExp(Cn, "g");
263
+ var vn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Nn = "\\u0300-\\u036f", Dn = "\\ufe20-\\ufe2f", Sn = "\\u20d0-\\u20ff", Cn = Nn + Dn + Sn, xn = "[" + Cn + "]", hn = RegExp(xn, "g");
264
264
  function wn(t) {
265
265
  return t = Ue(t), t && t.replace(vn, An).replace(hn, "");
266
266
  }
@@ -272,11 +272,11 @@ var Pn = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
272
272
  function Zn(t) {
273
273
  return Pn.test(t);
274
274
  }
275
- var Ye = "\\ud800-\\udfff", En = "\\u0300-\\u036f", Tn = "\\ufe20-\\ufe2f", Gn = "\\u20d0-\\u20ff", Rn = En + Tn + Gn, He = "\\u2700-\\u27bf", Be = "a-z\\xdf-\\xf6\\xf8-\\xff", kn = "\\xac\\xb1\\xd7\\xf7", On = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Wn = "\\u2000-\\u206f", Un = " \\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", Ve = "A-Z\\xc0-\\xd6\\xd8-\\xde", Yn = "\\ufe0e\\ufe0f", Qe = kn + On + Wn + Un, Je = "['’]", Le = "[" + Qe + "]", Hn = "[" + Rn + "]", Xe = "\\d+", Bn = "[" + He + "]", $e = "[" + Be + "]", Fe = "[^" + Ye + Qe + Xe + He + Be + Ve + "]", Vn = "\\ud83c[\\udffb-\\udfff]", Qn = "(?:" + Hn + "|" + Vn + ")", Jn = "[^" + Ye + "]", _e = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ke = "[\\ud800-\\udbff][\\udc00-\\udfff]", k = "[" + Ve + "]", Xn = "\\u200d", Ae = "(?:" + $e + "|" + Fe + ")", $n = "(?:" + k + "|" + Fe + ")", ve = "(?:" + Je + "(?:d|ll|m|re|s|t|ve))?", Ne = "(?:" + Je + "(?:D|LL|M|RE|S|T|VE))?", qe = Qn + "?", et = "[" + Yn + "]?", Fn = "(?:" + Xn + "(?:" + [Jn, _e, Ke].join("|") + ")" + et + qe + ")*", _n = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Kn = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", qn = et + qe + Fn, ei = "(?:" + [Bn, _e, Ke].join("|") + ")" + qn, ti = RegExp([
276
- k + "?" + $e + "+" + ve + "(?=" + [Le, k, "$"].join("|") + ")",
277
- $n + "+" + Ne + "(?=" + [Le, k + Ae, "$"].join("|") + ")",
278
- k + "?" + Ae + "+" + ve,
279
- k + "+" + Ne,
275
+ var Ye = "\\ud800-\\udfff", En = "\\u0300-\\u036f", Tn = "\\ufe20-\\ufe2f", Rn = "\\u20d0-\\u20ff", Gn = En + Tn + Rn, He = "\\u2700-\\u27bf", Be = "a-z\\xdf-\\xf6\\xf8-\\xff", kn = "\\xac\\xb1\\xd7\\xf7", On = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Wn = "\\u2000-\\u206f", Un = " \\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", Qe = "A-Z\\xc0-\\xd6\\xd8-\\xde", Yn = "\\ufe0e\\ufe0f", Ve = kn + On + Wn + Un, Je = "['’]", Ae = "[" + Ve + "]", Hn = "[" + Gn + "]", Xe = "\\d+", Bn = "[" + He + "]", $e = "[" + Be + "]", Fe = "[^" + Ye + Ve + Xe + He + Be + Qe + "]", Qn = "\\ud83c[\\udffb-\\udfff]", Vn = "(?:" + Hn + "|" + Qn + ")", Jn = "[^" + Ye + "]", _e = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ke = "[\\ud800-\\udbff][\\udc00-\\udfff]", k = "[" + Qe + "]", Xn = "\\u200d", ve = "(?:" + $e + "|" + Fe + ")", $n = "(?:" + k + "|" + Fe + ")", Ne = "(?:" + Je + "(?:d|ll|m|re|s|t|ve))?", De = "(?:" + Je + "(?:D|LL|M|RE|S|T|VE))?", qe = Vn + "?", et = "[" + Yn + "]?", Fn = "(?:" + Xn + "(?:" + [Jn, _e, Ke].join("|") + ")" + et + qe + ")*", _n = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Kn = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", qn = et + qe + Fn, ei = "(?:" + [Bn, _e, Ke].join("|") + ")" + qn, ti = RegExp([
276
+ k + "?" + $e + "+" + Ne + "(?=" + [Ae, k, "$"].join("|") + ")",
277
+ $n + "+" + De + "(?=" + [Ae, k + ve, "$"].join("|") + ")",
278
+ k + "?" + ve + "+" + Ne,
279
+ k + "+" + De,
280
280
  Kn,
281
281
  _n,
282
282
  Xe,
@@ -299,7 +299,7 @@ var ci = ri(function(t, e, n) {
299
299
  });
300
300
  const tt = ci;
301
301
  function j(t) {
302
- return Re({
302
+ return Ge({
303
303
  name: t.name,
304
304
  inheritAttrs: !1,
305
305
  setup(e, n) {
@@ -308,8 +308,8 @@ function j(t) {
308
308
  c(I, u), I !== M && c(M, u);
309
309
  }, l = new Proxy(a, {
310
310
  get(I, u, M) {
311
- var g;
312
- return (g = Reflect.get(I, u, M)) != null ? g : Reflect.get(r, u);
311
+ var d;
312
+ return (d = Reflect.get(I, u, M)) != null ? d : Reflect.get(r, u);
313
313
  }
314
314
  });
315
315
  return t(r, { ...n, slots: l, emit: s });
@@ -318,7 +318,7 @@ function j(t) {
318
318
  }
319
319
  function nt(t) {
320
320
  return {
321
- props: (e) => Re({
321
+ props: (e) => Ge({
322
322
  name: t.name,
323
323
  inheritAttrs: !1,
324
324
  props: e,
@@ -328,8 +328,8 @@ function nt(t) {
328
328
  c(I, u), I !== M && c(M, u);
329
329
  }, l = new Proxy(o, {
330
330
  get(I, u, M) {
331
- var g;
332
- return (g = Reflect.get(I, u, M)) != null ? g : Reflect.get(a, u);
331
+ var d;
332
+ return (d = Reflect.get(I, u, M)) != null ? d : Reflect.get(a, u);
333
333
  }
334
334
  });
335
335
  return t(a, { ...i, slots: l, emit: s });
@@ -337,18 +337,18 @@ function nt(t) {
337
337
  })
338
338
  };
339
339
  }
340
- const h = f, it = "zh-CN", De = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
341
- var ui = typeof WeakMap == "function", Se = Object.keys;
340
+ const w = p, it = "zh-CN", Se = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
341
+ var ui = typeof WeakMap == "function", Ce = Object.keys;
342
342
  function X(t, e) {
343
343
  return t === e || t !== t && e !== e;
344
344
  }
345
345
  function xe(t) {
346
346
  return t.constructor === Object || t.constructor == null;
347
347
  }
348
- function Ce(t) {
348
+ function he(t) {
349
349
  return !!t && typeof t.then == "function";
350
350
  }
351
- function he(t) {
351
+ function we(t) {
352
352
  return !!(t && t.$$typeof);
353
353
  }
354
354
  function si() {
@@ -386,14 +386,14 @@ function at(t) {
386
386
  var i = t || n;
387
387
  return function(o, r, c, s, l, I, u) {
388
388
  u === void 0 && (u = li());
389
- var M = !!o && typeof o == "object", g = !!r && typeof r == "object";
390
- if (M !== g)
389
+ var M = !!o && typeof o == "object", d = !!r && typeof r == "object";
390
+ if (M !== d)
391
391
  return !1;
392
- if (!M && !g)
392
+ if (!M && !d)
393
393
  return i(o, r, u);
394
- var d = u.get(o);
395
- if (d && u.get(r))
396
- return d === r;
394
+ var f = u.get(o);
395
+ if (f && u.get(r))
396
+ return f === r;
397
397
  u.set(o, r), u.set(r, o);
398
398
  var m = i(o, r, u);
399
399
  return u.delete(o), u.delete(r), m;
@@ -424,19 +424,19 @@ function Mi(t, e, n, i) {
424
424
  }
425
425
  return a;
426
426
  }
427
- var gi = "_owner", di = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
428
- function we(t, e, n, i) {
429
- var a = Se(t), o = a.length;
430
- if (Se(e).length !== o)
427
+ var di = "_owner", gi = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
428
+ function be(t, e, n, i) {
429
+ var a = Ce(t), o = a.length;
430
+ if (Ce(e).length !== o)
431
431
  return !1;
432
432
  if (o)
433
433
  for (var r = void 0; o-- > 0; ) {
434
- if (r = a[o], r === gi) {
435
- var c = he(t), s = he(e);
434
+ if (r = a[o], r === di) {
435
+ var c = we(t), s = we(e);
436
436
  if ((c || s) && c !== s)
437
437
  return !1;
438
438
  }
439
- if (!di(e, r) || !n(t[r], e[r], r, r, t, e, i))
439
+ if (!gi(e, r) || !n(t[r], e[r], r, r, t, e, i))
440
440
  return !1;
441
441
  }
442
442
  return !0;
@@ -463,8 +463,8 @@ function mi(t, e, n, i) {
463
463
  }
464
464
  return a;
465
465
  }
466
- var pi = typeof Map == "function", ji = typeof Set == "function", be = Object.prototype.valueOf;
467
- function V(t) {
466
+ var pi = typeof Map == "function", ji = typeof Set == "function", ze = Object.prototype.valueOf;
467
+ function Q(t) {
468
468
  var e = (
469
469
  /* eslint-disable no-use-before-define */
470
470
  typeof t == "function" ? t(n) : function(i, a, o, r, c, s, l) {
@@ -476,21 +476,21 @@ function V(t) {
476
476
  return !0;
477
477
  if (i && a && typeof i == "object" && typeof a == "object") {
478
478
  if (xe(i) && xe(a))
479
- return we(i, a, e, o);
479
+ return be(i, a, e, o);
480
480
  var r = Array.isArray(i), c = Array.isArray(a);
481
- return r || c ? r === c && Ii(i, a, e, o) : (r = i instanceof Date, c = a instanceof Date, r || c ? r === c && X(i.getTime(), a.getTime()) : (r = i instanceof RegExp, c = a instanceof RegExp, r || c ? r === c && fi(i, a) : Ce(i) || Ce(a) ? i === a : pi && (r = i instanceof Map, c = a instanceof Map, r || c) ? r === c && Mi(i, a, e, o) : ji && (r = i instanceof Set, c = a instanceof Set, r || c) ? r === c && mi(i, a, e, o) : i.valueOf !== be || a.valueOf !== be ? X(i.valueOf(), a.valueOf()) : we(i, a, e, o)));
481
+ return r || c ? r === c && Ii(i, a, e, o) : (r = i instanceof Date, c = a instanceof Date, r || c ? r === c && X(i.getTime(), a.getTime()) : (r = i instanceof RegExp, c = a instanceof RegExp, r || c ? r === c && fi(i, a) : he(i) || he(a) ? i === a : pi && (r = i instanceof Map, c = a instanceof Map, r || c) ? r === c && Mi(i, a, e, o) : ji && (r = i instanceof Set, c = a instanceof Set, r || c) ? r === c && mi(i, a, e, o) : i.valueOf !== ze || a.valueOf !== ze ? X(i.valueOf(), a.valueOf()) : be(i, a, e, o)));
482
482
  }
483
483
  return i !== i && a !== a;
484
484
  }
485
485
  return n;
486
486
  }
487
- V();
488
- V(function() {
487
+ Q();
488
+ Q(function() {
489
489
  return X;
490
490
  });
491
- V(at());
492
- V(at(X));
493
- const S = ([t, e]) => ({
491
+ Q(at());
492
+ Q(at(X));
493
+ const C = ([t, e]) => ({
494
494
  lng: t,
495
495
  lat: e
496
496
  }), ie = (t) => {
@@ -505,18 +505,18 @@ const S = ([t, e]) => ({
505
505
  case "zh":
506
506
  return "style_zh_cn";
507
507
  }
508
- }, ze = (t) => [t.lng, t.lat], R = (t) => (...e) => {
508
+ }, ue = (t) => [t.lng, t.lat], G = (t) => (...e) => {
509
509
  setTimeout(() => t == null ? void 0 : t(...e));
510
- }, ct = V((t) => (e, n) => De(e) || De(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
510
+ }, ct = Q((t) => (e, n) => Se(e) || Se(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
511
511
  function ut() {
512
512
  let t;
513
513
  return function(n) {
514
514
  return ct(n, t) || (t = n), t;
515
515
  };
516
516
  }
517
- function Q(t, e, n) {
517
+ function V(t, e, n) {
518
518
  const i = ut();
519
- return b(() => i(t()), e, {
519
+ return z(() => i(t()), e, {
520
520
  immediate: !1,
521
521
  flush: "post",
522
522
  ...n
@@ -524,7 +524,7 @@ function Q(t, e, n) {
524
524
  }
525
525
  function ae(t, e, n) {
526
526
  const i = ut();
527
- return b(() => i(t()), e, {
527
+ return z(() => i(t()), e, {
528
528
  immediate: !0,
529
529
  flush: "post",
530
530
  ...n
@@ -537,7 +537,7 @@ function Ai(t, e, n, i) {
537
537
  const a = n.map(
538
538
  ({ name: o }) => () => e[o]
539
539
  );
540
- b(
540
+ z(
541
541
  a,
542
542
  (o, r) => {
543
543
  const c = t.value;
@@ -554,13 +554,13 @@ function Ai(t, e, n, i) {
554
554
  }
555
555
  );
556
556
  }
557
- function de(t, e, n, i) {
557
+ function fe(t, e, n, i) {
558
558
  return Ai(t, e, n, {
559
559
  immediate: !1,
560
560
  ...i
561
561
  });
562
562
  }
563
- function ue(t, e, n, i) {
563
+ function se(t, e, n, i) {
564
564
  T((a) => {
565
565
  const o = t == null ? void 0 : t.value;
566
566
  if (!o)
@@ -576,7 +576,7 @@ function ue(t, e, n, i) {
576
576
  });
577
577
  });
578
578
  }
579
- function se(t, e, n, i) {
579
+ function le(t, e, n, i) {
580
580
  T((a) => {
581
581
  const o = t == null ? void 0 : t.value;
582
582
  if (!o)
@@ -592,8 +592,8 @@ function se(t, e, n, i) {
592
592
  });
593
593
  });
594
594
  }
595
- const st = Symbol(), fe = () => Me(st), vi = (t) => ge(st, t), Z = j(function(e) {
596
- const n = D(), i = fe();
595
+ const st = Symbol(), me = () => de(st), vi = (t) => ge(st, t), Z = j(function(e) {
596
+ const n = S(), i = me();
597
597
  return te(() => {
598
598
  n.value = new AMap.Marker({ ...e });
599
599
  }), ne(() => {
@@ -603,7 +603,7 @@ const st = Symbol(), fe = () => Me(st), vi = (t) => ge(st, t), Z = j(function(e)
603
603
  var o;
604
604
  const a = i == null ? void 0 : i.value;
605
605
  a && ((o = n.value) == null || o.setMap(a));
606
- }), de(n, e, [
606
+ }), fe(n, e, [
607
607
  { name: "anchor", defaultValue: "" },
608
608
  { name: "offset", defaultValue: [0, 0] },
609
609
  { name: "clickable", defaultValue: !1 },
@@ -618,8 +618,8 @@ const st = Symbol(), fe = () => Me(st), vi = (t) => ge(st, t), Z = j(function(e)
618
618
  { name: "title", defaultValue: "" },
619
619
  { name: "extData", defaultValue: "" }
620
620
  ]), () => null;
621
- }), lt = Symbol(), me = () => Me(lt), Ni = (t) => ge(lt, t), E = j(function(e) {
622
- const n = D(), i = me();
621
+ }), lt = Symbol(), pe = () => de(lt), Ni = (t) => ge(lt, t), E = j(function(e) {
622
+ const n = S(), i = pe();
623
623
  return te(() => {
624
624
  n.value = new google.maps.marker.AdvancedMarkerView({ ...e });
625
625
  }), ne(() => {
@@ -627,18 +627,15 @@ const st = Symbol(), fe = () => Me(st), vi = (t) => ge(st, t), Z = j(function(e)
627
627
  }), T(() => {
628
628
  const a = i == null ? void 0 : i.value;
629
629
  !a || !n.value || (n.value.map = a);
630
- }), Q(
630
+ }), V(
631
631
  () => {
632
632
  const { content: a, ...o } = e;
633
633
  return o;
634
634
  },
635
635
  (a) => {
636
- if (n.value) {
637
- debugger;
638
- Object.assign(n.value, a);
639
- }
636
+ n.value && Object.assign(n.value, a);
640
637
  }
641
- ), b(
638
+ ), z(
642
639
  () => e.content,
643
640
  (a) => {
644
641
  n.value && (n.value.content = a);
@@ -648,20 +645,20 @@ const st = Symbol(), fe = () => Me(st), vi = (t) => ge(st, t), Z = j(function(e)
648
645
  }
649
646
  ), () => null;
650
647
  }), It = Symbol(), N = () => {
651
- const t = Me(It);
648
+ const t = de(It);
652
649
  if (!t)
653
650
  throw new Error("MyError: useMapSupplier should be under MapProvider");
654
651
  return t;
655
- }, Di = (t) => ge(It, t), x = (t, e, n) => {
652
+ }, Di = (t) => ge(It, t), h = (t, e, n) => {
656
653
  const { class: i, ...a } = e != null ? e : {}, o = document.createElement(t);
657
654
  return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
658
655
  }, Mt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+";
659
- var gt = "rgf09w0";
660
- const dt = j(function(e) {
661
- const n = L(() => `
662
- <img src="${Mt}" class="${gt}">
656
+ var dt = "rgf09w0";
657
+ const gt = j(function(e) {
658
+ const n = y(() => `
659
+ <img src="${Mt}" class="${dt}">
663
660
  `);
664
- return () => f(Z, {
661
+ return () => p(Z, {
665
662
  attrs: {
666
663
  position: e.position,
667
664
  content: n.value,
@@ -669,26 +666,26 @@ const dt = j(function(e) {
669
666
  }
670
667
  });
671
668
  }), ft = j(function(e) {
672
- const n = L(() => x("img", {
673
- class: gt,
669
+ const n = y(() => h("img", {
670
+ class: dt,
674
671
  src: Mt
675
672
  }));
676
- return () => f(E, {
673
+ return () => p(E, {
677
674
  attrs: {
678
- position: S(e.position),
675
+ position: C(e.position),
679
676
  content: n.value
680
677
  }
681
678
  });
682
679
  });
683
680
  j(function(e) {
684
681
  const n = N();
685
- return () => h(n.supplier === "gmap" ? ft : dt, {
682
+ return () => w(n.supplier === "gmap" ? ft : gt, {
686
683
  attrs: e
687
684
  });
688
685
  });
689
686
  var mt = "_15rq2xn1", pt = "_15rq2xn0", jt = "_15rq2xn3", yt = "_15rq2xn2", Lt = "_15rq2xn4", At = "_15rq2xn6", vt = "_15rq2xn5";
690
687
  const Si = j(function(e) {
691
- const n = L(() => {
688
+ const n = y(() => {
692
689
  var i;
693
690
  return `
694
691
  <div class="${pt}">
@@ -704,21 +701,21 @@ const Si = j(function(e) {
704
701
  </div>
705
702
  `;
706
703
  });
707
- return () => e.type === "locator" ? f(dt, {
704
+ return () => e.type === "locator" ? p(gt, {
708
705
  attrs: {
709
706
  position: e.position
710
707
  }
711
- }) : f(Z, {
708
+ }) : p(Z, {
712
709
  attrs: {
713
710
  position: e.position,
714
711
  content: n.value,
715
712
  anchor: "bottom-center"
716
713
  }
717
714
  });
718
- }), xi = j(function(e) {
719
- const n = L(() => {
715
+ }), Ci = j(function(e) {
716
+ const n = y(() => {
720
717
  var i;
721
- return x("div", {
718
+ return h("div", {
722
719
  class: pt
723
720
  }, `
724
721
  <div class="${mt}">
@@ -732,23 +729,23 @@ const Si = j(function(e) {
732
729
  <img src="${U}" class="${At}">
733
730
  `);
734
731
  });
735
- return () => e.type === "locator" ? f(ft, {
732
+ return () => e.type === "locator" ? p(ft, {
736
733
  attrs: {
737
734
  position: e.position
738
735
  }
739
- }) : f(E, {
736
+ }) : p(E, {
740
737
  attrs: {
741
- position: S(e.position),
738
+ position: C(e.position),
742
739
  content: n.value
743
740
  }
744
741
  });
745
742
  }), Ma = j(function(e) {
746
743
  const n = N();
747
- return () => h(n.supplier === "gmap" ? xi : Si, {
744
+ return () => w(n.supplier === "gmap" ? Ci : Si, {
748
745
  attrs: e
749
746
  });
750
747
  }), B = j(function(e) {
751
- const n = D(), i = fe();
748
+ const n = S(), i = me();
752
749
  return te(() => {
753
750
  n.value = new AMap.Polyline({ ...e });
754
751
  }), ne(() => {
@@ -758,11 +755,11 @@ const Si = j(function(e) {
758
755
  var o;
759
756
  const a = i == null ? void 0 : i.value;
760
757
  a && ((o = n.value) == null || o.setMap(a));
761
- }), de(n, e, [
758
+ }), fe(n, e, [
762
759
  { name: "path", defaultValue: [[0, 0]] },
763
760
  { name: "extData", defaultValue: void 0 },
764
761
  { name: "draggable", defaultValue: !1 }
765
- ]), Q(
762
+ ]), V(
766
763
  () => {
767
764
  const { path: a, extData: o, draggable: r, ...c } = e;
768
765
  return c;
@@ -773,7 +770,7 @@ const Si = j(function(e) {
773
770
  }
774
771
  ), () => null;
775
772
  }), J = j(function(e) {
776
- const n = D(), i = me();
773
+ const n = S(), i = pe();
777
774
  return te(() => {
778
775
  n.value = new google.maps.Polyline({ ...e });
779
776
  }), ne(() => {
@@ -783,17 +780,17 @@ const Si = j(function(e) {
783
780
  var o;
784
781
  const a = i == null ? void 0 : i.value;
785
782
  a && ((o = n.value) == null || o.setMap(a));
786
- }), Q(
783
+ }), V(
787
784
  () => ({ ...e }),
788
785
  (a) => {
789
786
  var o;
790
787
  (o = n.value) == null || o.setOptions({ ...a });
791
788
  }
792
789
  ), () => null;
793
- }), Ci = j(function(e) {
790
+ }), xi = j(function(e) {
794
791
  return () => {
795
792
  const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, c = 0.75 * n, s = e.done ? "#96B2CA" : "#487BF4", l = e.done ? "#7693AF" : "#4175F1", I = e.done ? "#7693AF" : "#6C95F5";
796
- return f("div", [f(B, {
793
+ return p("div", [p(B, {
797
794
  attrs: {
798
795
  path: e.path,
799
796
  strokeWeight: i + 2 * a + 2 * r,
@@ -802,7 +799,7 @@ const Si = j(function(e) {
802
799
  lineJoin: "round",
803
800
  lineCap: "round"
804
801
  }
805
- }), f(B, {
802
+ }), p(B, {
806
803
  attrs: {
807
804
  path: e.path,
808
805
  strokeWeight: i + 2 * a,
@@ -813,7 +810,7 @@ const Si = j(function(e) {
813
810
  strokeStyle: "dashed",
814
811
  strokeDasharray: [c, c * 0.5]
815
812
  }
816
- }), f(B, {
813
+ }), p(B, {
817
814
  attrs: {
818
815
  path: e.path,
819
816
  strokeWeight: i,
@@ -822,7 +819,7 @@ const Si = j(function(e) {
822
819
  lineJoin: "round",
823
820
  lineCap: "round"
824
821
  }
825
- }), f(B, {
822
+ }), p(B, {
826
823
  attrs: {
827
824
  showDir: !0,
828
825
  path: e.path,
@@ -835,17 +832,17 @@ const Si = j(function(e) {
835
832
  })]);
836
833
  };
837
834
  }), hi = j(function(e) {
838
- const n = L(() => e.path.map(S));
835
+ const n = y(() => e.path.map(C));
839
836
  return () => {
840
837
  const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, c = 0.75 * i, s = 1 * i, l = e.done ? "#96B2CA" : "#487BF4", I = e.done ? "#7693AF" : "#4175F1", u = e.done ? "#7693AF" : "#6C95F5";
841
- return f("div", [f(J, {
838
+ return p("div", [p(J, {
842
839
  attrs: {
843
840
  path: n.value,
844
841
  strokeWeight: o + 2 * r + 2 * s,
845
842
  strokeOpacity: 1,
846
843
  strokeColor: I
847
844
  }
848
- }), f(J, {
845
+ }), p(J, {
849
846
  attrs: {
850
847
  path: n.value,
851
848
  icons: [{
@@ -860,7 +857,7 @@ const Si = j(function(e) {
860
857
  offset: `${o / 2}px`
861
858
  }]
862
859
  }
863
- }), f(J, {
860
+ }), p(J, {
864
861
  attrs: {
865
862
  path: n.value,
866
863
  strokeWeight: o,
@@ -879,13 +876,13 @@ const Si = j(function(e) {
879
876
  }
880
877
  })]);
881
878
  };
882
- }), ga = j(function(e) {
879
+ }), da = j(function(e) {
883
880
  const n = N();
884
- return () => e.path.length ? h(n.supplier === "gmap" ? hi : Ci, {
881
+ return () => e.path.length ? w(n.supplier === "gmap" ? hi : xi, {
885
882
  attrs: e
886
883
  }) : null;
887
884
  }), Nt = (t) => {
888
- const e = D([]), n = new AMap.Driving({});
885
+ const e = S([]), n = new AMap.Driving({});
889
886
  return ae(
890
887
  () => ({ ...t }),
891
888
  ({ from: i, to: a }) => {
@@ -900,7 +897,7 @@ const Si = j(function(e) {
900
897
  const s = r;
901
898
  for (const l of s.routes)
902
899
  for (const I of l.steps) {
903
- const M = I.path.map(({ lng: g, lat: d }) => [g, d]);
900
+ const M = I.path.map(({ lng: d, lat: f }) => [d, f]);
904
901
  c = c.concat(M);
905
902
  }
906
903
  e.value = c;
@@ -916,7 +913,7 @@ const Si = j(function(e) {
916
913
  }
917
914
  ), e;
918
915
  }, Dt = (t) => {
919
- const e = D([]), n = new google.maps.DirectionsService();
916
+ const e = S([]), n = new google.maps.DirectionsService();
920
917
  return ae(
921
918
  () => ({ ...t }),
922
919
  ({ from: i, to: a }) => {
@@ -933,7 +930,7 @@ const Si = j(function(e) {
933
930
  });
934
931
  }
935
932
  ), e;
936
- }, da = (t) => {
933
+ }, ga = (t) => {
937
934
  const { supplier: e } = N();
938
935
  return e === "gmap" ? Dt(t) : Nt(t);
939
936
  }, wi = (t, e, n) => {
@@ -941,27 +938,27 @@ const Si = j(function(e) {
941
938
  return 0;
942
939
  const { x: i, y: a } = n.lngLatToContainer(t), { x: o, y: r } = n.lngLatToContainer(e), c = Math.atan2(a - r, o - i);
943
940
  return (Math.PI / 2 - c) / Math.PI * 180;
944
- }, St = (t) => L(() => {
941
+ }, St = (t) => y(() => {
945
942
  const { map: e, path: n } = t, [i, a] = n;
946
943
  if (!(!i || !a || !e))
947
944
  return wi(i, a, e);
948
- }), xt = (t) => L(() => {
945
+ }), Ct = (t) => y(() => {
949
946
  const { path: e } = t, [n, i] = e;
950
947
  if (!(!n || !i))
951
- return google.maps.geometry.spherical.computeHeading(S(n), S(i));
948
+ return google.maps.geometry.spherical.computeHeading(C(n), C(i));
952
949
  }), fa = (t) => {
953
950
  const { supplier: e } = N();
954
- return e === "gmap" ? xt(t) : St(t);
951
+ return e === "gmap" ? Ct(t) : St(t);
955
952
  }, bi = j(function(e, {
956
953
  slots: n
957
954
  }) {
958
- const i = fe(), a = Nt(e), o = St(w({
955
+ const i = me(), a = Nt(e), o = St(b({
959
956
  path: a,
960
957
  map: i
961
958
  }));
962
959
  return () => {
963
960
  var r;
964
- return f("div", [(r = n.render) == null ? void 0 : r.call(n, w({
961
+ return p("div", [(r = n.render) == null ? void 0 : r.call(n, b({
965
962
  path: a,
966
963
  angle: o
967
964
  }))]);
@@ -969,13 +966,13 @@ const Si = j(function(e) {
969
966
  }), zi = j(function(e, {
970
967
  slots: n
971
968
  }) {
972
- const i = me(), a = Dt(e), o = xt(w({
969
+ const i = pe(), a = Dt(e), o = Ct(b({
973
970
  path: a,
974
971
  map: i
975
972
  }));
976
973
  return () => {
977
974
  var r;
978
- return f("div", [(r = n.render) == null ? void 0 : r.call(n, w({
975
+ return p("div", [(r = n.render) == null ? void 0 : r.call(n, b({
979
976
  path: a,
980
977
  angle: o
981
978
  }))]);
@@ -986,17 +983,17 @@ const Si = j(function(e) {
986
983
  const {
987
984
  supplier: i
988
985
  } = N();
989
- return () => h(i === "gmap" ? zi : bi, {
986
+ return () => w(i === "gmap" ? zi : bi, {
990
987
  attrs: e,
991
988
  scopedSlots: n
992
989
  });
993
- }), Ct = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJ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n = L(() => `
997
- <img src="${Ct}" class="${ht}">
993
+ const n = y(() => `
994
+ <img src="${xt}" class="${ht}">
998
995
  `);
999
- return () => f(Z, {
996
+ return () => p(Z, {
1000
997
  attrs: {
1001
998
  position: e.position,
1002
999
  content: n.value,
@@ -1004,23 +1001,23 @@ const Pi = j(function(e) {
1004
1001
  }
1005
1002
  });
1006
1003
  }), Zi = j(function(e) {
1007
- const n = L(() => x("img", {
1004
+ const n = y(() => h("img", {
1008
1005
  class: ht,
1009
- src: Ct
1006
+ src: xt
1010
1007
  }));
1011
- return () => f(E, {
1008
+ return () => p(E, {
1012
1009
  attrs: {
1013
- position: S(e.position),
1010
+ position: C(e.position),
1014
1011
  content: n.value
1015
1012
  }
1016
1013
  });
1017
1014
  }), pa = j(function(e) {
1018
1015
  const n = N();
1019
- return () => h(n.supplier === "gmap" ? Zi : Pi, {
1016
+ return () => w(n.supplier === "gmap" ? Zi : Pi, {
1020
1017
  attrs: e
1021
1018
  });
1022
1019
  });
1023
- var le = /* @__PURE__ */ ((t) => (t.topLeft = "top-left", t.topCenter = "top-center", t.topRight = "top-right", t.middleLeft = "middle-left", t.center = "center", t.middleRight = "middle-right", t.bottomLeft = "bottom-left", t.bottomCenter = "bottom-center", t.bottomRight = "bottom-right", t))(le || {});
1020
+ var Ie = /* @__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))(Ie || {});
1024
1021
  function Ei(t, e, n) {
1025
1022
  return e in t ? Object.defineProperty(t, e, {
1026
1023
  value: n,
@@ -1075,11 +1072,11 @@ var Ti = (t, e, n) => {
1075
1072
  Ti(l, i, t.defaultVariants) && (n += " " + I);
1076
1073
  return n;
1077
1074
  }, Ee = oe({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), Te = oe({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), wt = "fhyw89", bt = oe({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), $ = "fhyw88";
1078
- const Gi = j(function(e) {
1079
- const n = L(() => {
1075
+ const Ri = j(function(e) {
1076
+ const n = y(() => {
1080
1077
  var o;
1081
1078
  return (o = e.textAlign) != null ? o : "right";
1082
- }), i = L(() => `
1079
+ }), i = y(() => `
1083
1080
  <div class="${bt({
1084
1081
  textAlign: n.value
1085
1082
  })}" >
@@ -1088,21 +1085,21 @@ const Gi = j(function(e) {
1088
1085
  })}" src="${U}">
1089
1086
  <div class="${wt}">${e.label}</div>
1090
1087
  </div>
1091
- `), a = L(() => `<img class="${$} ${Ee({
1088
+ `), a = y(() => `<img class="${$} ${Ee({
1092
1089
  textAlign: n.value
1093
1090
  })}" src="${U}">`);
1094
- return () => f(Z, {
1091
+ return () => p(Z, {
1095
1092
  attrs: {
1096
1093
  position: e.position,
1097
1094
  content: e.label ? i.value : a.value,
1098
- anchor: n.value === "left" ? le.middleRight : le.middleLeft
1095
+ anchor: n.value === "left" ? Ie.middleRight : Ie.middleLeft
1099
1096
  }
1100
1097
  });
1101
- }), Ri = j(function(e) {
1102
- const n = L(() => {
1098
+ }), Gi = j(function(e) {
1099
+ const n = y(() => {
1103
1100
  var o;
1104
1101
  return (o = e.textAlign) != null ? o : "right";
1105
- }), i = L(() => x("div", {
1102
+ }), i = y(() => h("div", {
1106
1103
  class: `${bt({
1107
1104
  textAlign: n.value
1108
1105
  })} ${Te({
@@ -1111,35 +1108,35 @@ const Gi = j(function(e) {
1111
1108
  }, `
1112
1109
  <img class="${$}" src="${U}">
1113
1110
  <div class="${wt}">${e.label}</div>
1114
- `)), a = L(() => x("img", {
1111
+ `)), a = y(() => h("img", {
1115
1112
  class: `${$} ${Te({
1116
1113
  textAlign: n.value
1117
1114
  })}`,
1118
1115
  src: U
1119
1116
  }));
1120
- return () => f(E, {
1117
+ return () => p(E, {
1121
1118
  attrs: {
1122
- position: S(e.position),
1119
+ position: C(e.position),
1123
1120
  content: e.label ? i.value : a.value
1124
1121
  }
1125
1122
  });
1126
1123
  }), ki = j(function(e) {
1127
1124
  const n = N();
1128
- return () => h(n.supplier === "gmap" ? Ri : Gi, {
1125
+ return () => w(n.supplier === "gmap" ? Gi : Ri, {
1129
1126
  attrs: e
1130
1127
  });
1131
1128
  }), ja = j(function(e) {
1132
- return () => f("div", [e.positions.map((n, i) => f(ki, {
1129
+ return () => p("div", [e.places.map((n) => p(ki, {
1133
1130
  attrs: {
1134
- position: n,
1135
- label: e.labels[i],
1131
+ position: ue(n),
1132
+ label: n.name,
1136
1133
  textAlign: "left"
1137
1134
  }
1138
1135
  }))]);
1139
1136
  }), zt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZBOTVBIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiAzMC4yMTVjMi4xMzQgMCAzLjg2My0uODkzIDMuODYzLTEuOTk1IDAtMS4xLTEuNzMtMS45OTQtMy44NjMtMS45OTQtMi4xMzQgMC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48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTIgMzAuMjE1YzEuOTUgMCAzLjUzMi0uODE2IDMuNTMyLTEuODIzIDAtMS4wMDctMS41ODEtMS44MjMtMy41MzItMS44MjMtMS45NSAwLTMuNTMyLjgxNi0zLjUzMiAxLjgyMyAwIDEuMDA3IDEuNTgxIDEuODIzIDMuNTMyIDEuODIzeiIgZmlsbC1vcGFjaXR5PSIuNSIgZmlsbD0iIzQzNDg1QSIvPjxwYXRoIGQ9Ik0xMSAyN2MyLjEyOCAwLS45LTMuNzQyIDUuNjIxLTYuNjQxIDMuMjIxLTEuOTEgNS4zNzktNS40MSA1LjM3OS05LjQxMkMyMiA0LjkwMSAxNy4wNzUgMCAxMSAwUzAgNC45MDEgMCAxMC45NDdjMCAzLjkxOCAyLjA2OCA3LjM1NSA1LjE3NyA5LjI5QzExLjc1IDIzLjI3NyA5LjA2IDI3IDExIDI3eiIgc3Ryb2tlPSIjRkZGIiBmaWxsPSJ1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
1140
- var W = oe({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Zt = "_4a4ovk1", Et = "_4a4ovk4", Tt = "_4a4ovk5", Gt = "_4a4ovk3", F = "_4a4ovk0", Rt = "_4a4ovk2";
1137
+ var W = oe({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Zt = "_4a4ovk1", Et = "_4a4ovk4", Tt = "_4a4ovk5", Rt = "_4a4ovk3", F = "_4a4ovk0", Gt = "_4a4ovk2";
1141
1138
  const Oi = j(function(e) {
1142
- const n = L(() => {
1139
+ const n = y(() => {
1143
1140
  var o;
1144
1141
  const i = e.type === "start" ? Pt : zt, a = e.description ? ie(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Tt}">${r.value}</span>`).join("") : "";
1145
1142
  return !e.description && !e.title ? `<img src="${i}" class="${W({
@@ -1147,7 +1144,7 @@ const Oi = j(function(e) {
1147
1144
  })}">` : e.description ? `
1148
1145
  <div class="${F}">
1149
1146
  <div class="${Zt}">
1150
- <div class="${Gt}">${(o = e.title) != null ? o : ""}</div>
1147
+ <div class="${Rt}">${(o = e.title) != null ? o : ""}</div>
1151
1148
  <div class="${Et}">${a}</div>
1152
1149
  </div>
1153
1150
  <img src="${i}" class="${W({
@@ -1156,14 +1153,14 @@ const Oi = j(function(e) {
1156
1153
  </div>
1157
1154
  ` : `
1158
1155
  <div class="${F}">
1159
- <div class="${Rt}">${e.title}</div>
1156
+ <div class="${Gt}">${e.title}</div>
1160
1157
  <img src="${i}" class="${W({
1161
1158
  type: e.type
1162
1159
  })}">
1163
1160
  </div>
1164
1161
  `;
1165
1162
  });
1166
- return () => f(Z, {
1163
+ return () => p(Z, {
1167
1164
  attrs: {
1168
1165
  position: e.position,
1169
1166
  content: n.value,
@@ -1171,48 +1168,48 @@ const Oi = j(function(e) {
1171
1168
  }
1172
1169
  });
1173
1170
  }), Wi = j(function(e) {
1174
- const n = L(() => {
1171
+ const n = y(() => {
1175
1172
  var o;
1176
1173
  const i = e.type === "start" ? Pt : zt, a = e.description ? ie(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Tt}">${r.value}</span>`).join("") : "";
1177
- return !e.description && !e.title ? x("img", {
1174
+ return !e.description && !e.title ? h("img", {
1178
1175
  class: W({
1179
1176
  type: e.type
1180
1177
  }),
1181
1178
  src: i
1182
- }) : e.description ? x("div", {
1179
+ }) : e.description ? h("div", {
1183
1180
  class: F
1184
1181
  }, `
1185
1182
  <div class="${Zt}">
1186
- <div class="${Gt}">${(o = e.title) != null ? o : ""}</div>
1183
+ <div class="${Rt}">${(o = e.title) != null ? o : ""}</div>
1187
1184
  <div class="${Et}">${a}</div>
1188
1185
  </div>
1189
1186
  <img src="${i}" class="${W({
1190
1187
  type: e.type
1191
1188
  })}">
1192
- `) : x("div", {
1189
+ `) : h("div", {
1193
1190
  class: F
1194
1191
  }, `
1195
- <div class="${Rt}">${e.title}</div>
1192
+ <div class="${Gt}">${e.title}</div>
1196
1193
  <img src="${i}" class="${W({
1197
1194
  type: e.type
1198
1195
  })}">
1199
1196
  `);
1200
1197
  });
1201
- return () => f(E, {
1198
+ return () => p(E, {
1202
1199
  attrs: {
1203
- position: S(e.position),
1200
+ position: C(e.position),
1204
1201
  content: n.value
1205
1202
  }
1206
1203
  });
1207
1204
  }), ya = j(function(e) {
1208
1205
  const n = N();
1209
- return () => h(n.supplier === "gmap" ? Wi : Oi, {
1206
+ return () => w(n.supplier === "gmap" ? Wi : Oi, {
1210
1207
  attrs: e
1211
1208
  });
1212
1209
  }), _ = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3L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DIuNTJjLS4xNDcgMi44ODQuMDIgMy4zMTQuMjMyIDUuMDQ4LjAwNi4wNTcuMDI2LjE1Mi4wNTYuMjc0LTEuNTEzLjI3OC0zIC41NC00LjkxMi41NC0xLjg0NyAwLTMuMjg5LS4yNS00Ljc1LS41MTF2LS4wMDhjLjAzLS4xMzEuMDU1LS4yMzMuMDYtLjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
1213
1210
  var K = "_65j3sr1", kt = "_4a4ovk5", Ot = "_4a4ovk0", Wt = "_4a4ovk2";
1214
1211
  const Ui = j(function(e) {
1215
- const n = L(() => {
1212
+ const n = y(() => {
1216
1213
  var o;
1217
1214
  const i = e.title ? ie(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${kt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
1218
1215
  return e.title ? `
@@ -1222,7 +1219,7 @@ const Ui = j(function(e) {
1222
1219
  </div>
1223
1220
  ` : `<img src="${_}" class="${K}" style="${a}">`;
1224
1221
  });
1225
- return () => f(Z, {
1222
+ return () => p(Z, {
1226
1223
  attrs: {
1227
1224
  position: e.position,
1228
1225
  content: n.value,
@@ -1230,35 +1227,35 @@ const Ui = j(function(e) {
1230
1227
  }
1231
1228
  });
1232
1229
  }), Yi = j(function(e) {
1233
- const n = L(() => {
1230
+ const n = y(() => {
1234
1231
  var o;
1235
1232
  const i = e.title ? ie(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${kt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
1236
- return e.title ? x("div", {
1233
+ return e.title ? h("div", {
1237
1234
  class: Ot
1238
1235
  }, `
1239
1236
  <div class="${Wt}">${i}</div>
1240
1237
  <img src="${_}" class="${K}" style="${a}">
1241
- `) : x("img", {
1238
+ `) : h("img", {
1242
1239
  class: K,
1243
1240
  src: _,
1244
1241
  style: a
1245
1242
  });
1246
1243
  });
1247
- return () => f(E, {
1244
+ return () => p(E, {
1248
1245
  attrs: {
1249
- position: S(e.position),
1246
+ position: C(e.position),
1250
1247
  content: n.value
1251
1248
  }
1252
1249
  });
1253
1250
  }), La = j(function(e) {
1254
1251
  const n = N();
1255
- return () => h(n.supplier === "gmap" ? Yi : Ui, {
1252
+ return () => w(n.supplier === "gmap" ? Yi : Ui, {
1256
1253
  attrs: e
1257
1254
  });
1258
1255
  }), Hi = j(function(e) {
1259
1256
  return () => {
1260
1257
  const i = 2 * (window.innerWidth * 0.01);
1261
- return f(B, {
1258
+ return p(B, {
1262
1259
  attrs: {
1263
1260
  path: e.path,
1264
1261
  strokeWeight: i,
@@ -1272,10 +1269,10 @@ const Ui = j(function(e) {
1272
1269
  });
1273
1270
  };
1274
1271
  }), Bi = j(function(e) {
1275
- const n = L(() => e.path.map(S));
1272
+ const n = y(() => e.path.map(C));
1276
1273
  return () => {
1277
1274
  const a = 2 * (window.innerWidth * 0.01), o = a / 4;
1278
- return f(J, {
1275
+ return p(J, {
1279
1276
  attrs: {
1280
1277
  path: n.value,
1281
1278
  strokeWeight: a,
@@ -1303,42 +1300,42 @@ const Ui = j(function(e) {
1303
1300
  };
1304
1301
  }), Aa = j(function(e) {
1305
1302
  const n = N();
1306
- return () => h(n.supplier === "gmap" ? Bi : Hi, {
1303
+ return () => w(n.supplier === "gmap" ? Bi : Hi, {
1307
1304
  attrs: e
1308
1305
  });
1309
1306
  }), q = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
1310
1307
  var Ut = "rrvp0y3", ee = "rrvp0y2";
1311
- const Vi = j(function(e) {
1312
- const n = L(() => `<img src="${q}" class="${ee}">`), i = L(() => `<img src="${q}" class="${ee} ${Ut}">`);
1313
- return () => f("div", [f(Z, {
1308
+ const Qi = j(function(e) {
1309
+ const n = y(() => `<img src="${q}" class="${ee}">`), i = y(() => `<img src="${q}" class="${ee} ${Ut}">`);
1310
+ return () => p("div", [p(Z, {
1314
1311
  attrs: {
1315
1312
  position: e.position,
1316
1313
  anchor: "bottom-center",
1317
1314
  content: n.value
1318
1315
  }
1319
- }), f(Z, {
1316
+ }), p(Z, {
1320
1317
  attrs: {
1321
1318
  position: e.position,
1322
1319
  anchor: "bottom-center",
1323
1320
  content: i.value
1324
1321
  }
1325
1322
  })]);
1326
- }), Qi = j(function(e) {
1327
- const n = L(() => x("img", {
1323
+ }), Vi = j(function(e) {
1324
+ const n = y(() => h("img", {
1328
1325
  class: ee,
1329
1326
  src: q
1330
- })), i = L(() => x("img", {
1327
+ })), i = y(() => h("img", {
1331
1328
  class: `${ee} ${Ut}`,
1332
1329
  src: q
1333
1330
  }));
1334
1331
  return () => {
1335
- const a = S(e.position);
1336
- return f("div", [f(E, {
1332
+ const a = C(e.position);
1333
+ return p("div", [p(E, {
1337
1334
  attrs: {
1338
1335
  position: a,
1339
1336
  content: n.value
1340
1337
  }
1341
- }), f(E, {
1338
+ }), p(E, {
1342
1339
  attrs: {
1343
1340
  position: a,
1344
1341
  content: i.value
@@ -1347,7 +1344,7 @@ const Vi = j(function(e) {
1347
1344
  };
1348
1345
  }), va = j(function(e) {
1349
1346
  const n = N();
1350
- return () => h(n.supplier === "gmap" ? Qi : Vi, {
1347
+ return () => w(n.supplier === "gmap" ? Vi : Qi, {
1351
1348
  attrs: e
1352
1349
  });
1353
1350
  });
@@ -1359,7 +1356,7 @@ const Xi = j(function(e, { slots: n, emit: i }) {
1359
1356
  mapRef: r,
1360
1357
  vectorMapForeign: c = "style_zh_cn",
1361
1358
  ...s
1362
- } = e, l = L(() => ({
1359
+ } = e, l = y(() => ({
1363
1360
  dragEnable: !!e.dragEnable,
1364
1361
  zoomEnable: !!e.zoomEnable,
1365
1362
  jogEnable: !!e.jogEnable,
@@ -1367,7 +1364,7 @@ const Xi = j(function(e, { slots: n, emit: i }) {
1367
1364
  rotateEnable: !!e.rotateEnable,
1368
1365
  animateEnable: !!e.animateEnable,
1369
1366
  keyboardEnable: !!e.keyboardEnable
1370
- })), I = D(), u = D();
1367
+ })), I = S(), u = S();
1371
1368
  return vi(u), T(() => {
1372
1369
  if (u.value || !I.value)
1373
1370
  return;
@@ -1377,13 +1374,13 @@ const Xi = j(function(e, { slots: n, emit: i }) {
1377
1374
  mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
1378
1375
  });
1379
1376
  u.value = M, r == null || r(M);
1380
- }), Q(
1377
+ }), V(
1381
1378
  () => l.value,
1382
1379
  (M) => {
1383
- var g;
1384
- (g = u.value) == null || g.setStatus(M);
1380
+ var d;
1381
+ (d = u.value) == null || d.setStatus(M);
1385
1382
  }
1386
- ), de(u, e, [
1383
+ ), fe(u, e, [
1387
1384
  { name: "center", defaultValue: [0, 0] },
1388
1385
  { name: "zooms", defaultValue: [0, 0] },
1389
1386
  { name: "zoom", defaultValue: 0 },
@@ -1396,17 +1393,17 @@ const Xi = j(function(e, { slots: n, emit: i }) {
1396
1393
  { name: "pitch", defaultValue: 0 },
1397
1394
  { name: "mask", defaultValue: [] },
1398
1395
  { name: "labelRejectMask", defaultValue: !1 }
1399
- ]), ue(u, e, i, ["onDragStart", "onDragEnd"]), () => {
1396
+ ]), se(u, e, i, ["onDragStart", "onDragEnd"]), () => {
1400
1397
  var M;
1401
- return f("div", { ref: I, class: Ji }, (M = n.default) == null ? void 0 : M.call(n));
1398
+ return p("div", { ref: I, class: Ji }, (M = n.default) == null ? void 0 : M.call(n));
1402
1399
  };
1403
1400
  });
1404
- var Ie = {}, $i = {
1401
+ var Me = {}, $i = {
1405
1402
  get exports() {
1406
- return Ie;
1403
+ return Me;
1407
1404
  },
1408
1405
  set exports(t) {
1409
- Ie = t;
1406
+ Me = t;
1410
1407
  }
1411
1408
  };
1412
1409
  (function(t, e) {
@@ -1418,24 +1415,24 @@ var Ie = {}, $i = {
1418
1415
  return u.AMapUI && M.push(i(u.AMapUI)), u.Loca && M.push(a(u.Loca)), Promise.all(M);
1419
1416
  }
1420
1417
  function i(u) {
1421
- return new Promise(function(M, g) {
1422
- var d = [];
1418
+ return new Promise(function(M, d) {
1419
+ var f = [];
1423
1420
  if (u.plugins)
1424
1421
  for (var m = 0; m < u.plugins.length; m += 1)
1425
- r.AMapUI.plugins.indexOf(u.plugins[m]) == -1 && d.push(u.plugins[m]);
1422
+ r.AMapUI.plugins.indexOf(u.plugins[m]) == -1 && f.push(u.plugins[m]);
1426
1423
  if (c.AMapUI === o.failed)
1427
- g("前次请求 AMapUI 失败");
1424
+ d("前次请求 AMapUI 失败");
1428
1425
  else if (c.AMapUI === o.notload) {
1429
1426
  c.AMapUI = o.loading, r.AMapUI.version = u.version || r.AMapUI.version, m = r.AMapUI.version;
1430
- var A = document.body || document.head, p = document.createElement("script");
1431
- p.type = "text/javascript", p.src = "https://webapi.amap.com/ui/" + m + "/main.js", p.onerror = function(y) {
1432
- c.AMapUI = o.failed, g("请求 AMapUI 失败");
1433
- }, p.onload = function() {
1434
- if (c.AMapUI = o.loaded, d.length)
1435
- window.AMapUI.loadUI(d, function() {
1436
- for (var y = 0, v = d.length; y < v; y++) {
1437
- var z = d[y].split("/").slice(-1)[0];
1438
- window.AMapUI[z] = arguments[y];
1427
+ var A = document.body || document.head, L = document.createElement("script");
1428
+ L.type = "text/javascript", L.src = "https://webapi.amap.com/ui/" + m + "/main.js", L.onerror = function(g) {
1429
+ c.AMapUI = o.failed, d("请求 AMapUI 失败");
1430
+ }, L.onload = function() {
1431
+ if (c.AMapUI = o.loaded, f.length)
1432
+ window.AMapUI.loadUI(f, function() {
1433
+ for (var g = 0, v = f.length; g < v; g++) {
1434
+ var D = f[g].split("/").slice(-1)[0];
1435
+ window.AMapUI[D] = arguments[g];
1439
1436
  }
1440
1437
  for (M(); s.AMapUI.length; )
1441
1438
  s.AMapUI.splice(0, 1)[0]();
@@ -1443,18 +1440,18 @@ var Ie = {}, $i = {
1443
1440
  else
1444
1441
  for (M(); s.AMapUI.length; )
1445
1442
  s.AMapUI.splice(0, 1)[0]();
1446
- }, A.appendChild(p);
1443
+ }, A.appendChild(L);
1447
1444
  } else
1448
- c.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? g("不允许多个版本 AMapUI 混用") : d.length ? window.AMapUI.loadUI(d, function() {
1449
- for (var y = 0, v = d.length; y < v; y++) {
1450
- var z = d[y].split("/").slice(-1)[0];
1451
- window.AMapUI[z] = arguments[y];
1445
+ c.AMapUI === o.loaded ? u.version && u.version !== r.AMapUI.version ? d("不允许多个版本 AMapUI 混用") : f.length ? window.AMapUI.loadUI(f, function() {
1446
+ for (var g = 0, v = f.length; g < v; g++) {
1447
+ var D = f[g].split("/").slice(-1)[0];
1448
+ window.AMapUI[D] = arguments[g];
1452
1449
  }
1453
1450
  M();
1454
- }) : M() : u.version && u.version !== r.AMapUI.version ? g("不允许多个版本 AMapUI 混用") : s.AMapUI.push(function(y) {
1455
- y ? g(y) : d.length ? window.AMapUI.loadUI(d, function() {
1456
- for (var v = 0, z = d.length; v < z; v++) {
1457
- var Bt = d[v].split("/").slice(-1)[0];
1451
+ }) : M() : u.version && u.version !== r.AMapUI.version ? d("不允许多个版本 AMapUI 混用") : s.AMapUI.push(function(g) {
1452
+ g ? d(g) : f.length ? window.AMapUI.loadUI(f, function() {
1453
+ for (var v = 0, D = f.length; v < D; v++) {
1454
+ var Bt = f[v].split("/").slice(-1)[0];
1458
1455
  window.AMapUI[Bt] = arguments[v];
1459
1456
  }
1460
1457
  M();
@@ -1463,27 +1460,27 @@ var Ie = {}, $i = {
1463
1460
  });
1464
1461
  }
1465
1462
  function a(u) {
1466
- return new Promise(function(M, g) {
1463
+ return new Promise(function(M, d) {
1467
1464
  if (c.Loca === o.failed)
1468
- g("前次请求 Loca 失败");
1465
+ d("前次请求 Loca 失败");
1469
1466
  else if (c.Loca === o.notload) {
1470
1467
  c.Loca = o.loading, r.Loca.version = u.version || r.Loca.version;
1471
- var d = r.Loca.version, m = r.AMap.version.startsWith("2"), A = d.startsWith("2");
1468
+ var f = r.Loca.version, m = r.AMap.version.startsWith("2"), A = f.startsWith("2");
1472
1469
  if (m && !A || !m && A)
1473
- g("JSAPI 与 Loca 版本不对应!!");
1470
+ d("JSAPI 与 Loca 版本不对应!!");
1474
1471
  else {
1475
1472
  m = r.key, A = document.body || document.head;
1476
- var p = document.createElement("script");
1477
- p.type = "text/javascript", p.src = "https://webapi.amap.com/loca?v=" + d + "&key=" + m, p.onerror = function(y) {
1478
- c.Loca = o.failed, g("请求 AMapUI 失败");
1479
- }, p.onload = function() {
1473
+ var L = document.createElement("script");
1474
+ L.type = "text/javascript", L.src = "https://webapi.amap.com/loca?v=" + f + "&key=" + m, L.onerror = function(g) {
1475
+ c.Loca = o.failed, d("请求 AMapUI 失败");
1476
+ }, L.onload = function() {
1480
1477
  for (c.Loca = o.loaded, M(); s.Loca.length; )
1481
1478
  s.Loca.splice(0, 1)[0]();
1482
- }, A.appendChild(p);
1479
+ }, A.appendChild(L);
1483
1480
  }
1484
1481
  } else
1485
- c.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? g("不允许多个版本 Loca 混用") : M() : u.version && u.version !== r.Loca.version ? g("不允许多个版本 Loca 混用") : s.Loca.push(function(y) {
1486
- y ? g(y) : g();
1482
+ c.Loca === o.loaded ? u.version && u.version !== r.Loca.version ? d("不允许多个版本 Loca 混用") : M() : u.version && u.version !== r.Loca.version ? d("不允许多个版本 Loca 混用") : s.Loca.push(function(g) {
1483
+ g ? d(g) : d();
1487
1484
  });
1488
1485
  });
1489
1486
  }
@@ -1497,56 +1494,56 @@ var Ie = {}, $i = {
1497
1494
  typeof u == "function" && (c.AMap === o.loaded ? u(window.AMap) : l.push(u));
1498
1495
  };
1499
1496
  return { load: function(u) {
1500
- return new Promise(function(M, g) {
1497
+ return new Promise(function(M, d) {
1501
1498
  if (c.AMap == o.failed)
1502
- g("");
1499
+ d("");
1503
1500
  else if (c.AMap == o.notload) {
1504
- var d = u.key, m = u.version, A = u.plugins;
1505
- d ? (window.AMap && location.host !== "lbs.amap.com" && g("禁止多种API加载方式混用"), r.key = d, r.AMap.version = m || r.AMap.version, r.AMap.plugins = A || r.AMap.plugins, c.AMap = o.loading, m = document.body || document.head, window.___onAPILoaded = function(y) {
1506
- if (delete window.___onAPILoaded, y)
1507
- c.AMap = o.failed, g(y);
1501
+ var f = u.key, m = u.version, A = u.plugins;
1502
+ f ? (window.AMap && location.host !== "lbs.amap.com" && d("禁止多种API加载方式混用"), r.key = f, r.AMap.version = m || r.AMap.version, r.AMap.plugins = A || r.AMap.plugins, c.AMap = o.loading, m = document.body || document.head, window.___onAPILoaded = function(g) {
1503
+ if (delete window.___onAPILoaded, g)
1504
+ c.AMap = o.failed, d(g);
1508
1505
  else
1509
1506
  for (c.AMap = o.loaded, n(u).then(function() {
1510
1507
  M(window.AMap);
1511
- }).catch(g); l.length; )
1508
+ }).catch(d); l.length; )
1512
1509
  l.splice(0, 1)[0]();
1513
- }, A = document.createElement("script"), A.type = "text/javascript", A.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + d + "&plugin=" + r.AMap.plugins.join(","), A.onerror = function(y) {
1514
- c.AMap = o.failed, g(y);
1515
- }, m.appendChild(A)) : g("请填写key");
1510
+ }, A = document.createElement("script"), A.type = "text/javascript", A.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + f + "&plugin=" + r.AMap.plugins.join(","), A.onerror = function(g) {
1511
+ c.AMap = o.failed, d(g);
1512
+ }, m.appendChild(A)) : d("请填写key");
1516
1513
  } else if (c.AMap == o.loaded)
1517
1514
  if (u.key && u.key !== r.key)
1518
- g("多个不一致的 key");
1515
+ d("多个不一致的 key");
1519
1516
  else if (u.version && u.version !== r.AMap.version)
1520
- g("不允许多个版本 JSAPI 混用");
1517
+ d("不允许多个版本 JSAPI 混用");
1521
1518
  else {
1522
- if (d = [], u.plugins)
1519
+ if (f = [], u.plugins)
1523
1520
  for (m = 0; m < u.plugins.length; m += 1)
1524
- r.AMap.plugins.indexOf(u.plugins[m]) == -1 && d.push(u.plugins[m]);
1525
- d.length ? window.AMap.plugin(d, function() {
1521
+ r.AMap.plugins.indexOf(u.plugins[m]) == -1 && f.push(u.plugins[m]);
1522
+ f.length ? window.AMap.plugin(f, function() {
1526
1523
  n(u).then(function() {
1527
1524
  M(window.AMap);
1528
- }).catch(g);
1525
+ }).catch(d);
1529
1526
  }) : n(u).then(function() {
1530
1527
  M(window.AMap);
1531
- }).catch(g);
1528
+ }).catch(d);
1532
1529
  }
1533
1530
  else if (u.key && u.key !== r.key)
1534
- g("多个不一致的 key");
1531
+ d("多个不一致的 key");
1535
1532
  else if (u.version && u.version !== r.AMap.version)
1536
- g("不允许多个版本 JSAPI 混用");
1533
+ d("不允许多个版本 JSAPI 混用");
1537
1534
  else {
1538
- var p = [];
1535
+ var L = [];
1539
1536
  if (u.plugins)
1540
1537
  for (m = 0; m < u.plugins.length; m += 1)
1541
- r.AMap.plugins.indexOf(u.plugins[m]) == -1 && p.push(u.plugins[m]);
1538
+ r.AMap.plugins.indexOf(u.plugins[m]) == -1 && L.push(u.plugins[m]);
1542
1539
  I(function() {
1543
- p.length ? window.AMap.plugin(p, function() {
1540
+ L.length ? window.AMap.plugin(L, function() {
1544
1541
  n(u).then(function() {
1545
1542
  M(window.AMap);
1546
- }).catch(g);
1543
+ }).catch(d);
1547
1544
  }) : n(u).then(function() {
1548
1545
  M(window.AMap);
1549
- }).catch(g);
1546
+ }).catch(d);
1550
1547
  });
1551
1548
  }
1552
1549
  });
@@ -1594,12 +1591,12 @@ var Fi = function t(e, n) {
1594
1591
  }
1595
1592
  return e !== e && n !== n;
1596
1593
  };
1597
- const Ge = "__googleMapsScriptId";
1594
+ const Re = "__googleMapsScriptId";
1598
1595
  var O;
1599
1596
  (function(t) {
1600
1597
  t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
1601
1598
  })(O || (O = {}));
1602
- class G {
1599
+ class R {
1603
1600
  /**
1604
1601
  * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
1605
1602
  * using this library, instead the defaults are set by the Google Maps
@@ -1609,13 +1606,13 @@ class G {
1609
1606
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1610
1607
  * ```
1611
1608
  */
1612
- constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = Ge, language: r, libraries: c = [], mapIds: s, nonce: l, region: I, retries: u = 3, url: M = "https://maps.googleapis.com/maps/api/js", version: g }) {
1613
- 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 || Ge, this.language = r, this.libraries = c, this.mapIds = s, this.nonce = l, this.region = I, this.retries = u, this.url = M, this.version = g, G.instance) {
1614
- if (!Fi(this.options, G.instance.options))
1615
- throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(G.instance.options)}`);
1616
- return G.instance;
1609
+ constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = Re, language: r, libraries: c = [], mapIds: s, nonce: l, region: I, retries: u = 3, url: M = "https://maps.googleapis.com/maps/api/js", version: d }) {
1610
+ 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 || Re, this.language = r, this.libraries = c, this.mapIds = s, this.nonce = l, this.region = I, this.retries = u, this.url = M, this.version = d, R.instance) {
1611
+ if (!Fi(this.options, R.instance.options))
1612
+ throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(R.instance.options)}`);
1613
+ return R.instance;
1617
1614
  }
1618
- G.instance = this;
1615
+ R.instance = this;
1619
1616
  }
1620
1617
  get options() {
1621
1618
  return {
@@ -1727,17 +1724,17 @@ class G {
1727
1724
  }
1728
1725
  var P = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(P || {});
1729
1726
  const _i = j(function(e, { slots: n, emit: i }) {
1730
- const a = D(
1727
+ const a = S(
1731
1728
  "LOADING"
1732
1729
  /* LOADING */
1733
- ), o = L(() => {
1730
+ ), o = y(() => {
1734
1731
  const { onChange: r, fallback: c, loading: s, ...l } = e;
1735
1732
  return l;
1736
1733
  });
1737
1734
  return ae(
1738
1735
  () => o.value,
1739
1736
  (r) => {
1740
- const c = new G(r), s = (l) => {
1737
+ const c = new R(r), s = (l) => {
1741
1738
  i("change", l), a.value = l;
1742
1739
  };
1743
1740
  s(
@@ -1768,9 +1765,9 @@ const _i = j(function(e, { slots: n, emit: i }) {
1768
1765
  }
1769
1766
  };
1770
1767
  }), Ki = j(function(e, { slots: n, emit: i }) {
1771
- const a = D(P.LOADING), o = L(() => {
1772
- const { onChange: r, loading: c, fallback: s, apiKey: l, apiSecret: I, apiServiceHost: u, version: M, ...g } = e;
1773
- return { ...g, key: l, version: M != null ? M : "2.0.5.16" };
1768
+ const a = S(P.LOADING), o = y(() => {
1769
+ const { onChange: r, loading: c, fallback: s, apiKey: l, apiSecret: I, apiServiceHost: u, version: M, ...d } = e;
1770
+ return { ...d, key: l, version: M != null ? M : "2.0.5.16" };
1774
1771
  });
1775
1772
  return ae(
1776
1773
  () => o.value,
@@ -1780,7 +1777,7 @@ const _i = j(function(e, { slots: n, emit: i }) {
1780
1777
  };
1781
1778
  c(P.LOADING), window._AMapSecurityConfig = e.apiServiceHost ? {
1782
1779
  serviceHost: e.apiServiceHost
1783
- } : { securityJsCode: e.apiSecret }, Ie.load(r).then(
1780
+ } : { securityJsCode: e.apiSecret }, Me.load(r).then(
1784
1781
  () => c(P.SUCCESS),
1785
1782
  () => c(P.FAILURE)
1786
1783
  );
@@ -1799,31 +1796,31 @@ const _i = j(function(e, { slots: n, emit: i }) {
1799
1796
  }
1800
1797
  };
1801
1798
  }), qi = j(function(e, { slots: n, emit: i }) {
1802
- const a = e.mapRef, o = L(() => {
1803
- const { mapRef: I, onDragStart: u, onDragEnd: M, ...g } = e;
1804
- return g;
1805
- }), r = o.value, c = D(), s = D(), l = (I) => i(I, { target: s.value });
1799
+ const a = e.mapRef, o = y(() => {
1800
+ const { mapRef: I, onDragStart: u, onDragEnd: M, ...d } = e;
1801
+ return d;
1802
+ }), r = o.value, c = S(), s = S(), l = (I) => i(I, { target: s.value });
1806
1803
  return Ni(s), T(() => {
1807
1804
  if (s.value || !c.value)
1808
1805
  return;
1809
1806
  const I = new google.maps.Map(c.value, { ...r });
1810
1807
  s.value = I, a == null || a(I);
1811
- }), Q(
1808
+ }), V(
1812
1809
  () => o.value,
1813
1810
  (I) => {
1814
1811
  var u;
1815
1812
  (u = s.value) == null || u.setOptions({ ...I });
1816
1813
  }
1817
- ), se(s, e, l, ["onDragStart", "onDragEnd"]), () => {
1814
+ ), le(s, e, l, ["onDragStart", "onDragEnd"]), () => {
1818
1815
  var I;
1819
- return f("div", { ref: c }, (I = n.default) == null ? void 0 : I.call(n));
1816
+ return p("div", { ref: c }, (I = n.default) == null ? void 0 : I.call(n));
1820
1817
  };
1821
1818
  }), Na = nt(function(e, {
1822
1819
  slots: n
1823
1820
  }) {
1824
1821
  return Di(e), () => {
1825
1822
  var i;
1826
- return f("div", [(i = n.default) == null ? void 0 : i.call(n)]);
1823
+ return p("div", [(i = n.default) == null ? void 0 : i.call(n)]);
1827
1824
  };
1828
1825
  }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier"]), Da = nt(function(e, {
1829
1826
  slots: n,
@@ -1847,7 +1844,7 @@ const _i = j(function(e, { slots: n, emit: i }) {
1847
1844
  i("dragEnd", [s, l]);
1848
1845
  };
1849
1846
  return () => {
1850
- var z;
1847
+ var D;
1851
1848
  const {
1852
1849
  gmapKey: c,
1853
1850
  amapKey: s,
@@ -1856,30 +1853,30 @@ const _i = j(function(e, { slots: n, emit: i }) {
1856
1853
  supplier: u,
1857
1854
  gmapId: M
1858
1855
  } = a, {
1859
- mapRef: g,
1860
- center: d,
1856
+ mapRef: d,
1857
+ center: f,
1861
1858
  zoom: m,
1862
1859
  language: A = "zh"
1863
1860
  } = e, {
1864
- fallback: p,
1865
- loading: y
1866
- } = n, v = (z = n.default) == null ? void 0 : z.call(n);
1861
+ fallback: L,
1862
+ loading: g
1863
+ } = n, v = (D = n.default) == null ? void 0 : D.call(n);
1867
1864
  switch (u) {
1868
1865
  case "gmap":
1869
- return f(_i, {
1866
+ return p(_i, {
1870
1867
  attrs: {
1871
1868
  apiKey: c,
1872
1869
  language: A,
1873
1870
  version: "beta",
1874
1871
  libraries: ["marker", "places", "geometry"],
1875
- loading: y,
1876
- fallback: p
1872
+ loading: g,
1873
+ fallback: L
1877
1874
  }
1878
- }, [f(qi, {
1875
+ }, [p(qi, {
1879
1876
  attrs: {
1880
- mapRef: g,
1877
+ mapRef: d,
1881
1878
  mapId: M,
1882
- center: d ? S(d) : void 0,
1879
+ center: f ? C(f) : void 0,
1883
1880
  zoom: m
1884
1881
  },
1885
1882
  on: {
@@ -1887,20 +1884,20 @@ const _i = j(function(e, { slots: n, emit: i }) {
1887
1884
  }
1888
1885
  }, [v])]);
1889
1886
  default:
1890
- return f(Ki, {
1887
+ return p(Ki, {
1891
1888
  attrs: {
1892
1889
  apiKey: s,
1893
1890
  apiSecret: l,
1894
1891
  apiServiceHost: I,
1895
1892
  plugins: ["AMap.Geolocation", "AMap.Geocoder", "AMap.PlaceSearch", "AMap.Driving", "AMap.Walker"],
1896
- loading: y,
1897
- fallback: p
1893
+ loading: g,
1894
+ fallback: L
1898
1895
  }
1899
- }, [f(Xi, {
1896
+ }, [p(Xi, {
1900
1897
  attrs: {
1901
- mapRef: g,
1898
+ mapRef: d,
1902
1899
  vectorMapForeign: yi(A),
1903
- center: d,
1900
+ center: f,
1904
1901
  zoom: m
1905
1902
  },
1906
1903
  on: {
@@ -1910,7 +1907,7 @@ const _i = j(function(e, { slots: n, emit: i }) {
1910
1907
  }
1911
1908
  };
1912
1909
  }).props(["center", "fallback", "loading", "mapRef", "zoom"]), ea = (t) => {
1913
- const { mapRef: e, onChange: n } = t, i = C(!1), a = C(), o = C({
1910
+ const { mapRef: e, onChange: n } = t, i = x(!1), a = x(), o = x({
1914
1911
  accuracy: 0,
1915
1912
  altitude: 0,
1916
1913
  altitudeAccuracy: 0,
@@ -1918,115 +1915,100 @@ const _i = j(function(e, { slots: n, emit: i }) {
1918
1915
  latitude: 0,
1919
1916
  longitude: 0,
1920
1917
  speed: 0
1921
- }), r = C([o.value.longitude, o.value.latitude]);
1922
- return Qt(
1923
- () => {
1924
- debugger;
1925
- e.value, i.value = !0, navigator.geolocation.getCurrentPosition(
1926
- (c) => {
1927
- i.value = !1;
1928
- const s = c.coords, l = [c.coords.longitude, c.coords.latitude];
1929
- o.value = s, r.value = l, n == null || n({ position: l, coordinate: s });
1930
- },
1931
- (c) => {
1932
- i.value = !1, a.value = c, console.log("errorRef = ", a);
1933
- },
1934
- // debug
1935
- { timeout: 5e3 * 1e3 }
1936
- // { timeout: 5000 }
1937
- );
1938
- },
1939
- {
1940
- onTrigger(c) {
1941
- console.log("useGeoLocation onTrigger: ", c.key, c.newValue, c.oldValue);
1918
+ }), r = x([o.value.longitude, o.value.latitude]);
1919
+ return Vt(() => {
1920
+ e.value, i.value = !0, navigator.geolocation.getCurrentPosition(
1921
+ (c) => {
1922
+ i.value = !1;
1923
+ const s = c.coords, l = [c.coords.longitude, c.coords.latitude];
1924
+ o.value = s, r.value = l, n == null || n({ position: l, coordinate: s });
1925
+ },
1926
+ (c) => {
1927
+ i.value = !1, a.value = c, console.log("errorRef = ", a);
1942
1928
  }
1943
- }
1944
- ), { errorRef: a, positionRef: r, coordinateRef: o, loading: i };
1929
+ // todo 要不要 timeout
1930
+ // { timeout: 5000 * 1000 }
1931
+ );
1932
+ }), { errorRef: a, positionRef: r, coordinateRef: o, loading: i };
1945
1933
  }, ta = (t) => {
1946
- const { mapRef: e, onChange: n } = t, i = C([0, 0]), a = C(!1), o = () => {
1934
+ const { mapRef: e, onChange: n } = t, i = x([0, 0]), a = x(!1), o = () => {
1947
1935
  Promise.resolve().then(() => a.value = !0);
1948
1936
  }, r = (c, { target: s }) => {
1949
1937
  var u;
1950
1938
  a.value = !1;
1951
1939
  const { lng: l, lat: I } = s.getCenter();
1952
- i.value = [l, I], (u = R(n)) == null || u([l, I]);
1940
+ i.value = [l, I], (u = G(n)) == null || u([l, I]);
1953
1941
  };
1954
- return ue(e, {}, o, [
1942
+ return se(e, {}, o, [
1955
1943
  "onDragStart"
1956
- ]), ue(e, {}, r, [
1944
+ ]), se(e, {}, r, [
1957
1945
  "onDragEnd"
1958
1946
  ]), { centerRef: i, isDragging: a };
1959
1947
  }, na = (t) => {
1960
- const { mapRef: e, onChange: n } = t, i = C([0, 0]), a = C(!1), o = () => {
1948
+ const { mapRef: e, onChange: n } = t, i = x([0, 0]), a = x(!1), o = () => {
1961
1949
  Promise.resolve().then(() => a.value = !0);
1962
1950
  }, r = async () => {
1963
1951
  var I, u;
1964
1952
  a.value = !1;
1965
1953
  const c = (I = e.value) == null ? void 0 : I.getCenter(), s = c == null ? void 0 : c.lng(), l = c == null ? void 0 : c.lat();
1966
- i.value = [s, l], (u = R(n)) == null || u([s, l]);
1954
+ i.value = [s, l], (u = G(n)) == null || u([s, l]);
1967
1955
  };
1968
- return se(e, {}, o, [
1956
+ return le(e, {}, o, [
1969
1957
  "onDragStart"
1970
- ]), se(e, {}, r, [
1958
+ ]), le(e, {}, r, [
1971
1959
  "onDragEnd"
1972
1960
  ]), { centerRef: i, isDragging: a };
1973
1961
  }, ia = (t) => {
1974
1962
  const { supplier: e } = N();
1975
1963
  return e === "gmap" ? na(t) : ta(t);
1976
1964
  }, re = (t) => {
1977
- const e = C(!!t.value);
1978
- return b(
1965
+ const e = x(!!t.value);
1966
+ return z(
1979
1967
  () => t.value,
1980
1968
  (n) => {
1981
1969
  n && (e.value = !0);
1982
1970
  }
1983
1971
  ), { readyRef: e };
1984
1972
  }, ce = () => {
1985
- const t = C(0);
1973
+ const t = x(0);
1986
1974
  return { idx: t, update: () => {
1987
1975
  t.value += 1;
1988
1976
  } };
1989
1977
  }, Yt = (t) => {
1990
- const { mapRef: e, pointRef: n, onChange: i } = t, { readyRef: a } = re(e), { idx: o, update: r } = ce(), c = w({ lng: n.value[0], lat: n.value[1], name: "" });
1991
- return b(
1978
+ const { mapRef: e, pointRef: n, onChange: i } = t, { readyRef: a } = re(e), { idx: o, update: r } = ce(), c = b({ lng: n.value[0], lat: n.value[1], name: "" });
1979
+ return z(
1992
1980
  () => o.value,
1993
1981
  () => {
1994
- debugger;
1995
1982
  if (!a.value)
1996
1983
  return;
1997
1984
  const s = new AMap.Geocoder({ lang: it }), [l, I] = n.value;
1998
1985
  s.getAddress(new AMap.LngLat(l, I), (u, M) => {
1999
- var g, d;
1986
+ var d, f;
2000
1987
  switch (u) {
2001
1988
  case "complete": {
2002
1989
  const m = M.regeocode.formattedAddress;
2003
- c.name = m, c.lng = l, c.lat = I, (g = R(i)) == null || g({ lng: l, lat: I, name: m });
1990
+ c.name = m, c.lng = l, c.lat = I, (d = G(i)) == null || d({ lng: l, lat: I, name: m });
2004
1991
  return;
2005
1992
  }
2006
1993
  case "no_data":
2007
- c.name = "", (d = R(i)) == null || d({ lng: l, lat: I, name: "" });
1994
+ c.name = "", (f = G(i)) == null || f({ lng: l, lat: I, name: "" });
2008
1995
  return;
2009
1996
  case "error":
2010
1997
  throw M;
2011
1998
  }
2012
1999
  });
2013
- },
2014
- {
2015
- onTrigger(s) {
2016
- console.log("useAmapPlace onTrigger: ", s.key, s.newValue, s.oldValue);
2017
- }
2018
2000
  }
2019
2001
  ), { place: c, updatePlace: r };
2020
2002
  }, Ht = (t) => {
2021
- const { mapRef: e, pointRef: n, onChange: i } = t, { readyRef: a } = re(e), { idx: o, update: r } = ce(), c = w({ lng: n.value[0], lat: n.value[1], name: "" });
2022
- return b(
2003
+ const { mapRef: e, pointRef: n, onChange: i } = t, { readyRef: a } = re(e), { idx: o, update: r } = ce(), c = b({ lng: n.value[0], lat: n.value[1], name: "" });
2004
+ return z(
2023
2005
  () => o.value,
2024
2006
  async () => {
2025
- var g;
2007
+ var d;
2026
2008
  if (!a.value)
2027
2009
  return;
2028
2010
  const s = new google.maps.Geocoder(), [l, I] = n.value, { results: u } = await s.geocode({ language: it, location: { lng: l, lat: I } }), M = u[0].formatted_address;
2029
- c.name = M, c.lng = l, c.lat = I, (g = R(i)) == null || g({ lng: l, lat: I, name: M });
2011
+ c.name = M, c.lng = l, c.lat = I, (d = G(i)) == null || d({ lng: l, lat: I, name: M });
2030
2012
  }
2031
2013
  ), { place: c, updatePlace: r };
2032
2014
  }, Sa = (t) => {
@@ -2035,7 +2017,7 @@ const _i = j(function(e, { slots: n, emit: i }) {
2035
2017
  }, aa = (t, e) => {
2036
2018
  let n = 1 / 0, i = t;
2037
2019
  for (const a of e) {
2038
- const o = AMap.GeometryUtil.distance(ze(t), ze(a));
2020
+ const o = AMap.GeometryUtil.distance(ue(t), ue(a));
2039
2021
  o >= n || (i = a, n = o);
2040
2022
  }
2041
2023
  return { shortestPlace: i, shortestDistance: n };
@@ -2047,42 +2029,36 @@ const _i = j(function(e, { slots: n, emit: i }) {
2047
2029
  }
2048
2030
  return { shortestPlace: i, shortestDistance: n };
2049
2031
  }, ra = (t) => {
2050
- const { pointRef: e, mapRef: n, getRecomendPlace: i, getLimit: a, context: o, onChange: r, onChangePlace: c } = t, { idx: s, update: l } = ce(), { readyRef: I } = re(n), { place: u, updatePlace: M } = Yt({ pointRef: e, mapRef: n, onChange: c }), g = w({ ...u });
2051
- return b(
2052
- () => s.value,
2032
+ const { pointRef: e, mapRef: n, getRecomendPlace: i, getLimit: a, context: o, onChange: r, onChangePlace: c } = t, s = x([]), { idx: l, update: I } = ce(), { readyRef: u } = re(n), { place: M, updatePlace: d } = Yt({ pointRef: e, mapRef: n, onChange: c }), f = b({ ...M });
2033
+ return z(
2034
+ () => l.value,
2053
2035
  async () => {
2054
- var v;
2055
- debugger;
2056
- if (!I.value)
2036
+ var D;
2037
+ if (!u.value)
2057
2038
  return;
2058
- const d = await i({ ...u }, o), { shortestPlace: m, shortestDistance: A } = aa(u, d);
2059
- console.log("shortestPlace, shortestDistance = ", m, A);
2060
- const p = a(o), y = A > p ? u : m;
2061
- Object.assign(g, { ...y }), (v = R(r)) == null || v({ ...y });
2062
- },
2063
- {
2064
- onTrigger(d) {
2065
- console.log("UseMapRecomendPlaceProps onTrigger: ", d.key, d.newValue, d.oldValue);
2066
- }
2039
+ const m = await i({ ...M }, o), { shortestPlace: A, shortestDistance: L } = aa(M, m);
2040
+ console.log("shortestPlace, shortestDistance = ", A, L);
2041
+ const g = a(o), v = L > g ? M : A;
2042
+ s.value = m, Object.assign(f, { ...v }), (D = G(r)) == null || D({ ...v });
2067
2043
  }
2068
- ), { recomendPlace: g, updateRecomandPlace: l, updatePlace: M };
2044
+ ), { recomendPlace: f, placeCandidates: s, updateRecomandPlace: I, updatePlace: d };
2069
2045
  }, ca = (t) => {
2070
- const { pointRef: e, mapRef: n, getRecomendPlace: i, getLimit: a, context: o, onChange: r, onChangePlace: c } = t, { idx: s, update: l } = ce(), { readyRef: I } = re(n), { place: u, updatePlace: M } = Ht({ pointRef: e, mapRef: n, onChange: c }), g = w({ ...u });
2071
- return b(
2072
- () => s.value,
2046
+ const { pointRef: e, mapRef: n, getRecomendPlace: i, getLimit: a, context: o, onChange: r, onChangePlace: c } = t, s = x([]), { idx: l, update: I } = ce(), { readyRef: u } = re(n), { place: M, updatePlace: d } = Ht({ pointRef: e, mapRef: n, onChange: c }), f = b({ ...M });
2047
+ return z(
2048
+ () => l.value,
2073
2049
  async () => {
2074
- var v;
2075
- if (!I.value)
2050
+ var D;
2051
+ if (!u.value)
2076
2052
  return;
2077
- const d = await i({ ...u }, o), { shortestPlace: m, shortestDistance: A } = oa(u, d), p = a(o), y = A > p ? u : m;
2078
- Object.assign(g, { ...y }), (v = R(r)) == null || v({ ...y });
2053
+ const m = await i({ ...M }, o), { shortestPlace: A, shortestDistance: L } = oa(M, m), g = a(o), v = L > g ? M : A;
2054
+ s.value = m, Object.assign(f, { ...v }), (D = G(r)) == null || D({ ...v });
2079
2055
  }
2080
- ), { recomendPlace: g, updateRecomandPlace: l, updatePlace: M };
2056
+ ), { recomendPlace: f, placeCandidates: s, updateRecomandPlace: I, updatePlace: d };
2081
2057
  }, ua = (t) => {
2082
2058
  const { supplier: e } = N();
2083
2059
  return e === "gmap" ? ca(t) : ra(t);
2084
- }, xa = (t) => {
2085
- const e = w({ lng: 0, lat: 0, name: "" }), n = L(() => [e.lng, e.lat]), i = { source: "geo" }, {
2060
+ }, Ca = (t) => {
2061
+ const e = b({ lng: 0, lat: 0, name: "" }), n = y(() => [e.lng, e.lat]), i = { source: "geo" }, {
2086
2062
  mapRef: a,
2087
2063
  getRecomendPlace: o,
2088
2064
  recomendPlaceDragLimit: r,
@@ -2091,48 +2067,49 @@ const _i = j(function(e, { slots: n, emit: i }) {
2091
2067
  onChangeGeoLocation: l,
2092
2068
  onChangePlace: I,
2093
2069
  onChangeRecomandPlace: u
2094
- } = t, { loading: M, errorRef: g } = ea({
2070
+ } = t, { loading: M, errorRef: d } = ea({
2095
2071
  mapRef: a,
2096
- onChange: (p) => {
2097
- i.source = "geo", e.lng = p.position[0], e.lat = p.position[1], m(), l == null || l(p);
2072
+ onChange: (g) => {
2073
+ i.source = "geo", e.lng = g.position[0], e.lat = g.position[1], m(), l == null || l(g);
2098
2074
  }
2099
- }), { isDragging: d } = ia({
2075
+ }), { isDragging: f } = ia({
2100
2076
  mapRef: a,
2101
- onChange: (p) => {
2102
- i.source = "drag", e.lng = p[0], e.lat = p[1], m(), s == null || s(p);
2077
+ onChange: (g) => {
2078
+ i.source = "drag", e.lng = g[0], e.lat = g[1], m(), s == null || s(g);
2103
2079
  }
2104
- }), { updatePlace: m, updateRecomandPlace: A } = ua({
2080
+ }), { updatePlace: m, updateRecomandPlace: A, placeCandidates: L } = ua({
2105
2081
  pointRef: n,
2106
2082
  context: i,
2107
2083
  getRecomendPlace: o,
2108
- getLimit: (p) => {
2109
- const y = p == null ? void 0 : p.source;
2110
- switch (y) {
2084
+ getLimit: (g) => {
2085
+ const v = g == null ? void 0 : g.source;
2086
+ switch (v) {
2111
2087
  case "drag":
2112
2088
  return r;
2113
2089
  case "geo":
2114
2090
  return c;
2115
2091
  default:
2116
- throw new Error(`MyError: should not call getLimit on source: ${y}`);
2092
+ throw new Error(`MyError: should not call getLimit on source: ${v}`);
2117
2093
  }
2118
2094
  },
2119
2095
  mapRef: a,
2120
- onChangePlace: (p) => {
2121
- Object.assign(e, { ...p }), i.source !== "recomend" && A(), I == null || I(p);
2096
+ onChangePlace: (g) => {
2097
+ Object.assign(e, { ...g }), i.source !== "recomend" && A(), I == null || I(g);
2122
2098
  },
2123
- onChange: (p) => {
2124
- i.source = "recomend", Object.assign(e, { ...p }), m(), u == null || u(p);
2099
+ onChange: (g) => {
2100
+ i.source = "recomend", Object.assign(e, { ...g }), m(), u == null || u(g);
2125
2101
  }
2126
2102
  });
2127
2103
  return {
2128
- isDragging: d,
2104
+ isDragging: f,
2129
2105
  isGeoLoading: M,
2130
- geoError: g,
2106
+ geoError: d,
2131
2107
  centerPlace: e,
2132
- centerPoint: n
2108
+ centerPoint: n,
2109
+ placeCandidates: L
2133
2110
  };
2134
2111
  }, sa = () => {
2135
- const t = D();
2112
+ const t = S();
2136
2113
  return { mapRef: t, panTo: (i) => {
2137
2114
  var a;
2138
2115
  return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(i);
@@ -2140,20 +2117,20 @@ const _i = j(function(e, { slots: n, emit: i }) {
2140
2117
  t.value = i;
2141
2118
  } };
2142
2119
  }, la = () => {
2143
- const t = D();
2120
+ const t = S();
2144
2121
  return { mapRef: t, panTo: (i) => {
2145
2122
  var a;
2146
- return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(S(i));
2123
+ return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(C(i));
2147
2124
  }, setMap: (i) => {
2148
2125
  t.value = i;
2149
2126
  } };
2150
- }, Ca = () => {
2127
+ }, xa = () => {
2151
2128
  const { supplier: t } = N();
2152
2129
  return t === "gmap" ? la() : sa();
2153
2130
  };
2154
2131
  export {
2155
2132
  Ma as AddressBox,
2156
- ga as DrivingLine,
2133
+ da as DrivingLine,
2157
2134
  ma as DrivingRoute,
2158
2135
  Da as HeycarMap,
2159
2136
  Na as MapProvider,
@@ -2164,10 +2141,10 @@ export {
2164
2141
  La as TaxiCar,
2165
2142
  Aa as WalkingLine,
2166
2143
  va as WaveCircle,
2167
- xa as useBusinessMapRecomendPlace,
2168
- da as useDrivingRoute,
2144
+ Ca as useBusinessMapRecomendPlace,
2145
+ ga as useDrivingRoute,
2169
2146
  ea as useGeoLocation,
2170
- Ca as useHeycarMap,
2147
+ xa as useHeycarMap,
2171
2148
  fa as useMapAngle,
2172
2149
  ia as useMapDrag,
2173
2150
  Sa as useMapPlace,