asamap 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +181 -176
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const h = [
1
+ const m = [
2
2
  {
3
3
  label: "Today Tab",
4
4
  value: "APPSTORE_TODAY_TAB",
@@ -23,17 +23,17 @@ const h = [
23
23
  description: "Reach users when they're browsing apps.",
24
24
  description1: "Reach users when they're browsing apps. Your ad will appear at the top of the You Might Also Like list to users who have scrolled to the bottom of relevant product pages."
25
25
  }
26
- ], m = {};
27
- h.forEach((e) => {
28
- m[e.value] = e;
26
+ ], z = {};
27
+ m.forEach((e) => {
28
+ z[e.value] = e;
29
29
  });
30
30
  const oe = {
31
- arr: h,
32
- obj: m
31
+ arr: m,
32
+ obj: z
33
33
  }, ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34
34
  __proto__: null,
35
35
  default: oe
36
- }, Symbol.toStringTag, { value: "Module" })), z = [
36
+ }, Symbol.toStringTag, { value: "Module" })), A = [
37
37
  {
38
38
  label: 18,
39
39
  value: 18
@@ -227,10 +227,10 @@ const oe = {
227
227
  label: "All",
228
228
  value: "All"
229
229
  },
230
- ...z
230
+ ...A
231
231
  ], be = [
232
232
  // ...minOptions,
233
- ...z,
233
+ ...A,
234
234
  {
235
235
  label: "65+",
236
236
  value: 65
@@ -241,7 +241,7 @@ const oe = {
241
241
  }, se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
242
242
  __proto__: null,
243
243
  default: re
244
- }, Symbol.toStringTag, { value: "Module" })), u = [
244
+ }, Symbol.toStringTag, { value: "Module" })), b = [
245
245
  {
246
246
  label: "All Categories",
247
247
  value: 0,
@@ -472,19 +472,19 @@ const oe = {
472
472
  value: 7019,
473
473
  label_zh_cn: "字谜"
474
474
  }
475
- ], A = {
475
+ ], p = {
476
476
  label: "App",
477
477
  value: 5e3,
478
478
  children: []
479
- }, _ = {
479
+ }, o = {
480
480
  label: "Game",
481
481
  value: 6014,
482
482
  children: []
483
483
  };
484
- u.forEach((e) => {
485
- e.label.includes("Game") ? e.label !== "Games" ? _.children.push(e) : _.value = e.value : e.value && A.children.push(e);
484
+ b.forEach((e) => {
485
+ e.label.includes("Game") ? e.label !== "Games" ? o.children.push(e) : o.value = e.value : e.value && p.children.push(e);
486
486
  });
487
- _.children.unshift({
487
+ o.children.unshift({
488
488
  label: "Game",
489
489
  value: 6014,
490
490
  label_zh_cn: "游戏"
@@ -494,20 +494,20 @@ const te = [
494
494
  label: "All Categories",
495
495
  value: 0
496
496
  },
497
- A,
498
- _
499
- ], p = {};
500
- u.forEach((e) => {
501
- p[e.value] = e;
497
+ p,
498
+ o
499
+ ], g = {};
500
+ b.forEach((e) => {
501
+ g[e.value] = e;
502
502
  });
503
503
  const de = {
504
- arr: u,
504
+ arr: b,
505
505
  tree: te,
506
- obj: p
506
+ obj: g
507
507
  }, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
508
508
  __proto__: null,
509
509
  default: de
510
- }, Symbol.toStringTag, { value: "Module" })), g = [
510
+ }, Symbol.toStringTag, { value: "Module" })), f = [
511
511
  {
512
512
  label: "All categories",
513
513
  value: "All categories"
@@ -520,14 +520,14 @@ const de = {
520
520
  label: "Other categories",
521
521
  value: "Other categories"
522
522
  }
523
- ], f = {};
524
- g.forEach((e) => {
525
- f[e.value] = e;
523
+ ], T = {};
524
+ f.forEach((e) => {
525
+ T[e.value] = e;
526
526
  });
527
- const he = { arr: g, obj: f }, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
527
+ const he = { arr: f, obj: T }, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
528
528
  __proto__: null,
529
529
  default: he
530
- }, Symbol.toStringTag, { value: "Module" })), T = [
530
+ }, Symbol.toStringTag, { value: "Module" })), w = [
531
531
  {
532
532
  label: "All Users",
533
533
  value: "All Users"
@@ -536,8 +536,8 @@ const he = { arr: g, obj: f }, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ *
536
536
  label: "New Users",
537
537
  value: "New Users"
538
538
  }
539
- ], w = [
540
- ...T,
539
+ ], M = [
540
+ ...w,
541
541
  {
542
542
  label: "Users of my other apps",
543
543
  value: "Users of my other apps"
@@ -546,14 +546,14 @@ const he = { arr: g, obj: f }, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ *
546
546
  label: "Returning Users",
547
547
  value: "Returning Users"
548
548
  }
549
- ], M = {};
550
- w.forEach((e) => {
551
- M[e.value] = e;
549
+ ], E = {};
550
+ M.forEach((e) => {
551
+ E[e.value] = e;
552
552
  });
553
- const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
553
+ const ze = { normal: w, all: M, obj: E }, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
554
554
  __proto__: null,
555
555
  default: ze
556
- }, Symbol.toStringTag, { value: "Module" })), E = [
556
+ }, Symbol.toStringTag, { value: "Module" })), S = [
557
557
  {
558
558
  label: "iPhone",
559
559
  value: "IPHONE",
@@ -570,7 +570,7 @@ const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/*
570
570
  value: "IPHONE,IPAD",
571
571
  icon: "im-iphone_ipad"
572
572
  },
573
- ...E
573
+ ...S
574
574
  ], ge = {
575
575
  "IPHONE,IPAD": {
576
576
  label: "iPhone & iPad",
@@ -587,10 +587,10 @@ const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/*
587
587
  value: "IPAD",
588
588
  icon: "im-ipad"
589
589
  }
590
- }, fe = { arr: E, all: pe, obj: ge }, Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
590
+ }, fe = { arr: S, all: pe, obj: ge }, Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
591
591
  __proto__: null,
592
592
  default: fe
593
- }, Symbol.toStringTag, { value: "Module" })), S = [
593
+ }, Symbol.toStringTag, { value: "Module" })), y = [
594
594
  {
595
595
  label: "Male",
596
596
  value: "M",
@@ -607,7 +607,7 @@ const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/*
607
607
  value: "M,F",
608
608
  icon: "im-male_female"
609
609
  },
610
- ...S
610
+ ...y
611
611
  ], Me = {
612
612
  "M,F": {
613
613
  label: "All",
@@ -624,7 +624,7 @@ const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/*
624
624
  value: "F",
625
625
  icon: "im-female"
626
626
  }
627
- }, Ee = { normal: S, all: we, obj: Me }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
627
+ }, Ee = { normal: y, all: we, obj: Me }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
628
628
  __proto__: null,
629
629
  default: Ee
630
630
  }, Symbol.toStringTag, { value: "Module" })), ye = [
@@ -673,7 +673,7 @@ const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/*
673
673
  ], Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
674
674
  __proto__: null,
675
675
  default: ye
676
- }, Symbol.toStringTag, { value: "Module" })), y = [
676
+ }, Symbol.toStringTag, { value: "Module" })), P = [
677
677
  {
678
678
  label: "Exact",
679
679
  value: "EXACT"
@@ -682,17 +682,17 @@ const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/*
682
682
  label: "Broad",
683
683
  value: "BROAD"
684
684
  }
685
- ], P = {};
686
- y.forEach((e) => {
687
- P[e.value] = e;
685
+ ], C = {};
686
+ P.forEach((e) => {
687
+ C[e.value] = e;
688
688
  });
689
689
  const Ce = {
690
- normal: y,
691
- obj: P
690
+ normal: P,
691
+ obj: C
692
692
  }, ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
693
693
  __proto__: null,
694
694
  default: Ce
695
- }, Symbol.toStringTag, { value: "Module" })), C = [
695
+ }, Symbol.toStringTag, { value: "Module" })), i = [
696
696
  {
697
697
  label: "Pre-Orders",
698
698
  visible: !0,
@@ -756,7 +756,10 @@ const Ce = {
756
756
  align: "right",
757
757
  formatter: (e) => e.crTotalPreOrders || 0
758
758
  }
759
- ], k = [
759
+ ], Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
760
+ __proto__: null,
761
+ default: i
762
+ }, Symbol.toStringTag, { value: "Module" })), k = [
760
763
  {
761
764
  label: "Spend",
762
765
  unit: "currency",
@@ -825,7 +828,7 @@ const Ce = {
825
828
  chartType: "line",
826
829
  value: "ttr"
827
830
  },
828
- ...C
831
+ ...i
829
832
  ], G = {};
830
833
  k.forEach((e) => {
831
834
  G[e.value] = e;
@@ -931,7 +934,7 @@ const D = [
931
934
  align: "right",
932
935
  formatter: (e) => e.ttrFormat || "0"
933
936
  },
934
- ...C,
937
+ ...i,
935
938
  {
936
939
  label: "MMP Installs",
937
940
  precision: 0,
@@ -1047,10 +1050,10 @@ const D = [
1047
1050
  D.forEach((e) => {
1048
1051
  I[e.value] = e;
1049
1052
  });
1050
- const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1053
+ const De = { base8: k, base8Obj: G, all: D, allObj: I }, Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1051
1054
  __proto__: null,
1052
- default: Ge
1053
- }, Symbol.toStringTag, { value: "Module" })), Ie = [
1055
+ default: De
1056
+ }, Symbol.toStringTag, { value: "Module" })), Re = [
1054
1057
  {
1055
1058
  label: "Spend",
1056
1059
  label_en_us: "Spend",
@@ -1284,10 +1287,10 @@ const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Ob
1284
1287
  value: "viewReDownloads",
1285
1288
  formatter: (e) => e.viewReDownloadsFormat || 0
1286
1289
  }
1287
- ], Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1290
+ ], Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1288
1291
  __proto__: null,
1289
- default: Ie
1290
- }, Symbol.toStringTag, { value: "Module" })), Be = [
1292
+ default: Re
1293
+ }, Symbol.toStringTag, { value: "Module" })), Ne = [
1291
1294
  {
1292
1295
  label: "MMP CPI",
1293
1296
  value: "mmpCPI",
@@ -1519,11 +1522,11 @@ const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Ob
1519
1522
  align: "right",
1520
1523
  visible: !1
1521
1524
  }
1522
- ], Ne = {
1523
- arr: Be
1524
- }, je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1525
+ ], je = {
1526
+ arr: Ne
1527
+ }, Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1525
1528
  __proto__: null,
1526
- default: Ne
1529
+ default: je
1527
1530
  }, Symbol.toStringTag, { value: "Module" })), Ke = [
1528
1531
  {
1529
1532
  label: "None",
@@ -1541,18 +1544,18 @@ const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Ob
1541
1544
  label: "Generic",
1542
1545
  value: 3
1543
1546
  }
1544
- ], Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1547
+ ], Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1545
1548
  __proto__: null,
1546
1549
  default: Ke
1547
- }, Symbol.toStringTag, { value: "Module" })), s = /* @__PURE__ */ Object.assign({ "./asa/adplacement.js": ce, "./asa/age.js": se, "./asa/appCategory.js": ve, "./asa/category.js": me, "./asa/customerType.js": Ae, "./asa/device.js": Te, "./asa/gender.js": Se, "./asa/level.js": Pe, "./asa/matchType.js": ke, "./asa/metric.js": De, "./asa/metricAsa.js": Re, "./asa/metricMmp.js": je, "./asa/tag.js": Oe }), R = {};
1548
- Object.keys(s).map((e) => {
1550
+ }, Symbol.toStringTag, { value: "Module" })), t = /* @__PURE__ */ Object.assign({ "./asa/adplacement.js": ce, "./asa/age.js": se, "./asa/appCategory.js": ve, "./asa/category.js": me, "./asa/customerType.js": Ae, "./asa/device.js": Te, "./asa/gender.js": Se, "./asa/level.js": Pe, "./asa/matchType.js": ke, "./asa/metric.js": Ie, "./asa/metricAsa.js": Be, "./asa/metricEX.js": Ge, "./asa/metricMmp.js": Oe, "./asa/tag.js": Le }), R = {};
1551
+ Object.keys(t).map((e) => {
1549
1552
  const a = e.match(/asa\/(\S*).js/)[1];
1550
- R[a] = s[e].default;
1553
+ R[a] = t[e].default;
1551
1554
  });
1552
- const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1555
+ const Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1553
1556
  __proto__: null,
1554
1557
  default: R
1555
- }, Symbol.toStringTag, { value: "Module" })), Fe = [
1558
+ }, Symbol.toStringTag, { value: "Module" })), Ve = [
1556
1559
  {
1557
1560
  label: "ASA Knowledge Base Q&A",
1558
1561
  value: "AIBtnValue1"
@@ -1576,10 +1579,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1576
1579
  sub: "Need Choose an App",
1577
1580
  value: "AIBtnValue4"
1578
1581
  }
1579
- ], Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1582
+ ], Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1580
1583
  __proto__: null,
1581
- default: Fe
1582
- }, Symbol.toStringTag, { value: "Module" })), Ue = [
1584
+ default: Ve
1585
+ }, Symbol.toStringTag, { value: "Module" })), He = [
1583
1586
  {
1584
1587
  label: "All",
1585
1588
  value: 36
@@ -1768,10 +1771,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1768
1771
  }
1769
1772
  ]
1770
1773
  }
1771
- ], He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1774
+ ], xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1772
1775
  __proto__: null,
1773
- default: Ue
1774
- }, Symbol.toStringTag, { value: "Module" })), xe = {
1776
+ default: He
1777
+ }, Symbol.toStringTag, { value: "Module" })), Ye = {
1775
1778
  RMB: {
1776
1779
  symbol: "¥",
1777
1780
  code: "CNY"
@@ -1788,18 +1791,18 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1788
1791
  symbol: "$",
1789
1792
  code: "JPY"
1790
1793
  }
1791
- }, Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1794
+ }, Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1792
1795
  __proto__: null,
1793
- default: xe
1794
- }, Symbol.toStringTag, { value: "Module" })), Je = {
1796
+ default: Ye
1797
+ }, Symbol.toStringTag, { value: "Module" })), Ze = {
1795
1798
  RMB: "¥",
1796
1799
  CNY: "¥",
1797
1800
  USD: "$",
1798
1801
  JPY: "¥"
1799
- }, Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1802
+ }, We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1800
1803
  __proto__: null,
1801
- default: Je
1802
- }, Symbol.toStringTag, { value: "Module" })), We = [
1804
+ default: Ze
1805
+ }, Symbol.toStringTag, { value: "Module" })), $e = [
1803
1806
  {
1804
1807
  label: "Day",
1805
1808
  value: "day"
@@ -1808,16 +1811,16 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1808
1811
  label: "Week",
1809
1812
  value: "week"
1810
1813
  }
1811
- ], $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1814
+ ], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1812
1815
  __proto__: null,
1813
- dayOrWeekOption: We
1814
- }, Symbol.toStringTag, { value: "Module" })), qe = {
1816
+ dayOrWeekOption: $e
1817
+ }, Symbol.toStringTag, { value: "Module" })), Qe = {
1815
1818
  data: "No Data",
1816
1819
  selection: "No Selection"
1817
- }, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1820
+ }, Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1818
1821
  __proto__: null,
1819
- default: qe
1820
- }, Symbol.toStringTag, { value: "Module" })), Xe = {
1822
+ default: Qe
1823
+ }, Symbol.toStringTag, { value: "Module" })), ea = {
1821
1824
  id: "3701322",
1822
1825
  name: "iADBrain",
1823
1826
  font_family: "imicon",
@@ -2882,17 +2885,17 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2882
2885
  unicode_decimal: 58952
2883
2886
  }
2884
2887
  ]
2885
- }, ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2888
+ }, aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2886
2889
  __proto__: null,
2887
- default: Xe
2888
- }, Symbol.toStringTag, { value: "Module" })), aa = {
2890
+ default: ea
2891
+ }, Symbol.toStringTag, { value: "Module" })), la = {
2889
2892
  zh_cn: "zh_CN",
2890
2893
  en_us: "en_US",
2891
2894
  ja_jp: "ja_JP",
2892
2895
  ko_kr: "ko_KR"
2893
- }, la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2896
+ }, na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2894
2897
  __proto__: null,
2895
- default: aa
2898
+ default: la
2896
2899
  }, Symbol.toStringTag, { value: "Module" })), B = [
2897
2900
  {
2898
2901
  code: "af_",
@@ -5486,13 +5489,13 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5486
5489
  B.forEach((e) => {
5487
5490
  N[e.code] = e;
5488
5491
  });
5489
- const na = {
5492
+ const ia = {
5490
5493
  arr: B,
5491
5494
  obj: N
5492
- }, ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5495
+ }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5493
5496
  __proto__: null,
5494
- default: na
5495
- }, Symbol.toStringTag, { value: "Module" })), b = [
5497
+ default: ia
5498
+ }, Symbol.toStringTag, { value: "Module" })), r = [
5496
5499
  {
5497
5500
  label: "Spend",
5498
5501
  label_en_us: "Spend",
@@ -5752,17 +5755,18 @@ const na = {
5752
5755
  align: "right",
5753
5756
  value: "viewReDownloads",
5754
5757
  formatter: (e) => e.viewReDownloadsFormat || "0"
5755
- }
5756
- ], _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5758
+ },
5759
+ ...i
5760
+ ], oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5757
5761
  __proto__: null,
5758
- default: b
5759
- }, Symbol.toStringTag, { value: "Module" })), c = [];
5760
- b.forEach((e) => {
5761
- c.filter((a) => a.value === e.value).length === 0 && c.push(e);
5762
+ default: r
5763
+ }, Symbol.toStringTag, { value: "Module" })), u = [];
5764
+ r.forEach((e) => {
5765
+ u.filter((a) => a.value === e.value).length === 0 && u.push(e);
5762
5766
  });
5763
- const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5767
+ const ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5764
5768
  __proto__: null,
5765
- default: c
5769
+ default: u
5766
5770
  }, Symbol.toStringTag, { value: "Module" })), j = [
5767
5771
  {
5768
5772
  label: "Spend",
@@ -5995,22 +5999,23 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5995
5999
  type: "base",
5996
6000
  value: "viewReDownloads",
5997
6001
  formatter: (e) => e.viewReDownloadsFormat || "0"
5998
- }
5999
- ], K = {};
6002
+ },
6003
+ ...i
6004
+ ], O = {};
6000
6005
  j.forEach((e) => {
6001
- K[e.value] = e;
6006
+ O[e.value] = e;
6002
6007
  });
6003
- const O = {
6008
+ const K = {
6004
6009
  arr: j,
6005
- obj: K
6006
- }, ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6010
+ obj: O
6011
+ }, ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6007
6012
  __proto__: null,
6008
- default: O
6013
+ default: K
6009
6014
  }, Symbol.toStringTag, { value: "Module" })), L = {};
6010
- [...O.arr, ...b].forEach((e) => {
6015
+ [...K.arr, ...r].forEach((e) => {
6011
6016
  L[e.value] = e;
6012
6017
  });
6013
- const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6018
+ const ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6014
6019
  __proto__: null,
6015
6020
  default: L
6016
6021
  }, Symbol.toStringTag, { value: "Module" })), F = [
@@ -6281,12 +6286,12 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6281
6286
  F.forEach((e) => {
6282
6287
  V[e.value] = e;
6283
6288
  });
6284
- const ba = {
6289
+ const ra = {
6285
6290
  arr: F,
6286
6291
  obj: V
6287
- }, ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6292
+ }, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6288
6293
  __proto__: null,
6289
- default: ba
6294
+ default: ra
6290
6295
  }, Symbol.toStringTag, { value: "Module" })), U = [
6291
6296
  {
6292
6297
  label: "MMP CPI",
@@ -6371,13 +6376,13 @@ const ba = {
6371
6376
  U.forEach((e) => {
6372
6377
  H[e.value] = e;
6373
6378
  });
6374
- const sa = {
6379
+ const ta = {
6375
6380
  arr: U,
6376
6381
  obj: H
6377
- }, ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6382
+ }, da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6378
6383
  __proto__: null,
6379
- default: sa
6380
- }, Symbol.toStringTag, { value: "Module" })), da = [
6384
+ default: ta
6385
+ }, Symbol.toStringTag, { value: "Module" })), va = [
6381
6386
  {
6382
6387
  label: "View",
6383
6388
  label_en_us: "View",
@@ -6442,10 +6447,10 @@ const sa = {
6442
6447
  tips: "You Can Create Monitor"
6443
6448
  }
6444
6449
  // { icon: 'imicon im-cohort txt-purple', tips: 'From OAuth' },
6445
- ], va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6450
+ ], ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6446
6451
  __proto__: null,
6447
- default: da
6448
- }, Symbol.toStringTag, { value: "Module" })), ha = [
6452
+ default: va
6453
+ }, Symbol.toStringTag, { value: "Module" })), ma = [
6449
6454
  {
6450
6455
  label: "IOS",
6451
6456
  value: 0,
@@ -6458,10 +6463,10 @@ const sa = {
6458
6463
  icon: "im-android",
6459
6464
  color: "#20c997"
6460
6465
  }
6461
- ], ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6466
+ ], za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6462
6467
  __proto__: null,
6463
- default: ha
6464
- }, Symbol.toStringTag, { value: "Module" })), za = [
6468
+ default: ma
6469
+ }, Symbol.toStringTag, { value: "Module" })), Aa = [
6465
6470
  "America/Anchorage",
6466
6471
  "America/Los_Angeles",
6467
6472
  "America/Chicago",
@@ -6479,23 +6484,23 @@ const sa = {
6479
6484
  "Asia/Jerusalem",
6480
6485
  "Pacific/Auckland",
6481
6486
  "Pacific/Fiji"
6482
- ], Aa = (e) => {
6483
- if (za.indexOf(e) === -1)
6487
+ ], pa = (e) => {
6488
+ if (Aa.indexOf(e) === -1)
6484
6489
  return !1;
6485
6490
  {
6486
- const a = /* @__PURE__ */ new Date(), n = new Date(a.getFullYear(), 0, 1), l = new Date(a.getFullYear(), 6, 1), o = (ee) => {
6487
- var r;
6488
- const ae = ((r = new Intl.DateTimeFormat("en-US", {
6491
+ const a = /* @__PURE__ */ new Date(), n = new Date(a.getFullYear(), 0, 1), l = new Date(a.getFullYear(), 6, 1), c = (ee) => {
6492
+ var s;
6493
+ const ae = ((s = new Intl.DateTimeFormat("en-US", {
6489
6494
  timeZone: e,
6490
6495
  timeZoneName: "longOffset"
6491
- }).formatToParts(ee).find((_e) => _e.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : r[0]) || "+00:00", [Ha, le, ne, ie] = ae.match(
6496
+ }).formatToParts(ee).find((_e) => _e.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : s[0]) || "+00:00", [xa, le, ne, ie] = ae.match(
6492
6497
  /([+-])(\d{2})(?::?(\d{2}))?/
6493
6498
  );
6494
6499
  return (le === "+" ? -1 : 1) * (parseInt(ne) * 60 + parseInt(ie || "00"));
6495
- }, q = o(a), Q = o(n), X = o(l);
6500
+ }, q = c(a), Q = c(n), X = c(l);
6496
6501
  return q < Math.max(Q, X);
6497
6502
  }
6498
- }, pa = [
6503
+ }, ga = [
6499
6504
  {
6500
6505
  label_zh_cn: "Etc/GMT+12",
6501
6506
  label_en_us: "Etc/GMT+12",
@@ -10703,10 +10708,10 @@ const sa = {
10703
10708
  zone: 14,
10704
10709
  label: "Pacific/Kiritimati"
10705
10710
  }
10706
- ].map((e) => (Aa(e.label) && (e.value += 1, e.zone += 1), e)), ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10711
+ ].map((e) => (pa(e.label) && (e.value += 1, e.zone += 1), e)), fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10707
10712
  __proto__: null,
10708
- default: pa
10709
- }, Symbol.toStringTag, { value: "Module" })), fa = [
10713
+ default: ga
10714
+ }, Symbol.toStringTag, { value: "Module" })), Ta = [
10710
10715
  {
10711
10716
  label: "Etc/GMT 0",
10712
10717
  description_en_us: "Africa/Casablanca,Atlantic/Reykjavik,Europe/London,Etc/GMT",
@@ -10889,10 +10894,10 @@ const sa = {
10889
10894
  value: -1,
10890
10895
  zone: -1
10891
10896
  }
10892
- ], Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10897
+ ], wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10893
10898
  __proto__: null,
10894
- default: fa
10895
- }, Symbol.toStringTag, { value: "Module" })), wa = [
10899
+ default: Ta
10900
+ }, Symbol.toStringTag, { value: "Module" })), Ma = [
10896
10901
  { value: "-12:00", label: "Etc/GMT+12" },
10897
10902
  { value: "-11:00", label: "Etc/GMT+11" },
10898
10903
  { value: "-11:00", label: "Pacific/Midway" },
@@ -11480,10 +11485,10 @@ const sa = {
11480
11485
  { value: "+13:00", label: "Pacific/Tongatapu" },
11481
11486
  { value: "+14:00", label: "Etc/GMT-14" },
11482
11487
  { value: "+14:00", label: "Pacific/Kiritimati" }
11483
- ], Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11488
+ ], Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11484
11489
  __proto__: null,
11485
- default: wa
11486
- }, Symbol.toStringTag, { value: "Module" })), Ea = [
11490
+ default: Ma
11491
+ }, Symbol.toStringTag, { value: "Module" })), Sa = [
11487
11492
  {
11488
11493
  label_zh_cn: "Etc/GMT+12",
11489
11494
  label_en_us: "Etc/GMT+12",
@@ -12170,10 +12175,10 @@ const sa = {
12170
12175
  value: 13,
12171
12176
  zone: 13
12172
12177
  }
12173
- ], Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12178
+ ], ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12174
12179
  __proto__: null,
12175
- default: Ea
12176
- }, Symbol.toStringTag, { value: "Module" })), ya = {
12180
+ default: Sa
12181
+ }, Symbol.toStringTag, { value: "Module" })), Pa = {
12177
12182
  Running: {
12178
12183
  label: "Running",
12179
12184
  label_en_us: "Running",
@@ -12299,15 +12304,15 @@ const sa = {
12299
12304
  label_en_us: "Enable this row of data",
12300
12305
  label_zh_cn: "启用这条数据"
12301
12306
  }
12302
- }, Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12307
+ }, Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12303
12308
  __proto__: null,
12304
- default: ya
12305
- }, Symbol.toStringTag, { value: "Module" })), t = /* @__PURE__ */ Object.assign({ "./common/aibtn.js": Ve, "./common/category.js": He, "./common/currency.js": Ye, "./common/currencyMap.js": Ze, "./common/dayOrWeek.js": $e, "./common/emptyMap.js": Qe, "./common/iconMap.js": ea, "./common/lang.js": la, "./common/langAll.js": ia, "./common/metricAll.js": oa, "./common/metricAllObj.js": ua, "./common/metricAsa.js": _a, "./common/metricAsaChart.js": ca, "./common/metricFormat.js": ra, "./common/metricMmpChart.js": ta, "./common/permissionOptions.js": va, "./common/platform.js": ma, "./common/timezone.js": ga, "./common/timezoneCombine.js": Ta, "./common/timezoneNew.js": Ma, "./common/timezoneOptions.js": Sa, "./common/txtMap.js": Pa }), x = {};
12306
- Object.keys(t).map((e) => {
12309
+ default: Pa
12310
+ }, Symbol.toStringTag, { value: "Module" })), d = /* @__PURE__ */ Object.assign({ "./common/aibtn.js": Ue, "./common/category.js": xe, "./common/currency.js": Je, "./common/currencyMap.js": We, "./common/dayOrWeek.js": qe, "./common/emptyMap.js": Xe, "./common/iconMap.js": aa, "./common/lang.js": na, "./common/langAll.js": _a, "./common/metricAll.js": ca, "./common/metricAllObj.js": ba, "./common/metricAsa.js": oa, "./common/metricAsaChart.js": ua, "./common/metricFormat.js": sa, "./common/metricMmpChart.js": da, "./common/permissionOptions.js": ha, "./common/platform.js": za, "./common/timezone.js": fa, "./common/timezoneCombine.js": wa, "./common/timezoneNew.js": Ea, "./common/timezoneOptions.js": ya, "./common/txtMap.js": Ca }), x = {};
12311
+ Object.keys(d).map((e) => {
12307
12312
  const a = e.match(/common\/(\S*).js/)[1];
12308
- x[a] = t[e].default;
12313
+ x[a] = d[e].default;
12309
12314
  });
12310
- const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12315
+ const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12311
12316
  __proto__: null,
12312
12317
  default: x
12313
12318
  }, Symbol.toStringTag, { value: "Module" })), Y = [
@@ -12941,17 +12946,17 @@ const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12941
12946
  lang: "en,vi",
12942
12947
  value_upper: "VN"
12943
12948
  }
12944
- ], ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12949
+ ], Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12945
12950
  __proto__: null,
12946
12951
  default: Y
12947
12952
  }, Symbol.toStringTag, { value: "Module" })), J = {};
12948
12953
  Y.forEach((e) => {
12949
12954
  J[e.value] = e;
12950
12955
  });
12951
- const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12956
+ const Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12952
12957
  __proto__: null,
12953
12958
  default: J
12954
- }, Symbol.toStringTag, { value: "Module" })), Da = {
12959
+ }, Symbol.toStringTag, { value: "Module" })), Ia = {
12955
12960
  Asia: [
12956
12961
  {
12957
12962
  label: "Afghanistan",
@@ -13954,9 +13959,9 @@ const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13954
13959
  value: "GS"
13955
13960
  }
13956
13961
  ]
13957
- }, Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13962
+ }, Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13958
13963
  __proto__: null,
13959
- default: Da
13964
+ default: Ia
13960
13965
  }, Symbol.toStringTag, { value: "Module" })), Z = [
13961
13966
  {
13962
13967
  label: "China",
@@ -15230,17 +15235,17 @@ const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15230
15235
  value_lower: "mv",
15231
15236
  alpha3: "MDV"
15232
15237
  }
15233
- ], Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15238
+ ], Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15234
15239
  __proto__: null,
15235
15240
  default: Z
15236
15241
  }, Symbol.toStringTag, { value: "Module" })), W = {};
15237
15242
  Z.forEach((e) => {
15238
15243
  W[e.value_lower] = e;
15239
15244
  });
15240
- const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15245
+ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15241
15246
  __proto__: null,
15242
15247
  default: W
15243
- }, Symbol.toStringTag, { value: "Module" })), Na = [
15248
+ }, Symbol.toStringTag, { value: "Module" })), ja = [
15244
15249
  {
15245
15250
  title: "Hot",
15246
15251
  children: [
@@ -16237,18 +16242,18 @@ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16237
16242
  ],
16238
16243
  filters: 33
16239
16244
  }
16240
- ], ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16245
+ ], Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16241
16246
  __proto__: null,
16242
- default: Na
16243
- }, Symbol.toStringTag, { value: "Module" })), d = /* @__PURE__ */ Object.assign({ "./country/asa.js": ka, "./country/asaObj.js": Ga, "./country/continent.js": Ia, "./country/countryAll.js": Ra, "./country/countryAllObj.js": Ba, "./country/group.js": ja }), $ = {};
16244
- Object.keys(d).map((e) => {
16247
+ default: ja
16248
+ }, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.assign({ "./country/asa.js": Ga, "./country/asaObj.js": Da, "./country/continent.js": Ra, "./country/countryAll.js": Ba, "./country/countryAllObj.js": Na, "./country/group.js": Oa }), $ = {};
16249
+ Object.keys(v).map((e) => {
16245
16250
  const a = e.match(/country\/(\S*).js/)[1];
16246
- $[a] = d[e].default;
16251
+ $[a] = v[e].default;
16247
16252
  });
16248
16253
  const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16249
16254
  __proto__: null,
16250
16255
  default: $
16251
- }, Symbol.toStringTag, { value: "Module" })), Oa = [
16256
+ }, Symbol.toStringTag, { value: "Module" })), La = [
16252
16257
  "af",
16253
16258
  "sq",
16254
16259
  "ar-SA",
@@ -16369,10 +16374,10 @@ const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16369
16374
  "xh",
16370
16375
  "ji",
16371
16376
  "zu"
16372
- ], La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16377
+ ], Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16373
16378
  __proto__: null,
16374
- default: Oa
16375
- }, Symbol.toStringTag, { value: "Module" })), Fa = {
16379
+ default: La
16380
+ }, Symbol.toStringTag, { value: "Module" })), Va = {
16376
16381
  RUNNING: {
16377
16382
  class: "imicon im-dot txt-green txt-shadow-green-008",
16378
16383
  button_class: "fs16-i hover no-shadow im-play-fill",
@@ -16656,26 +16661,26 @@ const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16656
16661
  value: "Denied",
16657
16662
  sort: 40
16658
16663
  }
16659
- }, Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16664
+ }, Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16660
16665
  __proto__: null,
16661
- default: Fa
16662
- }, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Le, "./chip/common.js": Ca, "./chip/country.js": Ka, "./chip/lang.js": La, "./chip/statusMap.js": Va }), i = {};
16663
- for (const e in v) {
16666
+ default: Va
16667
+ }, Symbol.toStringTag, { value: "Module" })), h = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Fe, "./chip/common.js": ka, "./chip/country.js": Ka, "./chip/lang.js": Fa, "./chip/statusMap.js": Ua }), _ = {};
16668
+ for (const e in h) {
16664
16669
  const a = e.match(/chip\/(\S*).js/)[1];
16665
- i[a] = v[e].default;
16670
+ _[a] = h[e].default;
16666
16671
  }
16667
- const xa = (e) => {
16672
+ const Ya = (e) => {
16668
16673
  if (!e)
16669
- return i;
16674
+ return _;
16670
16675
  const a = e.split(".");
16671
16676
  if (a.length > 1) {
16672
- let n = i;
16677
+ let n = _;
16673
16678
  for (let l = 0; l < a.length; l++)
16674
16679
  n[a[l]] ? n = n[a[l]] : console.error(`No Map node at ${a[l]} in ${e}`);
16675
16680
  return n;
16676
16681
  } else
16677
- return i[e];
16682
+ return _[e];
16678
16683
  };
16679
16684
  export {
16680
- xa as useMap
16685
+ Ya as useMap
16681
16686
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "asamap",
3
3
  "packageManager": "yarn@4.4.1",
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",