asamap 1.0.6 → 1.0.8

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 +183 -177
  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",
@@ -1283,11 +1286,12 @@ const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Ob
1283
1286
  align: "right",
1284
1287
  value: "viewReDownloads",
1285
1288
  formatter: (e) => e.viewReDownloadsFormat || 0
1286
- }
1287
- ], Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1289
+ },
1290
+ ...i
1291
+ ], Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1288
1292
  __proto__: null,
1289
- default: Ie
1290
- }, Symbol.toStringTag, { value: "Module" })), Be = [
1293
+ default: Re
1294
+ }, Symbol.toStringTag, { value: "Module" })), Ne = [
1291
1295
  {
1292
1296
  label: "MMP CPI",
1293
1297
  value: "mmpCPI",
@@ -1519,11 +1523,11 @@ const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Ob
1519
1523
  align: "right",
1520
1524
  visible: !1
1521
1525
  }
1522
- ], Ne = {
1523
- arr: Be
1524
- }, je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1526
+ ], je = {
1527
+ arr: Ne
1528
+ }, Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1525
1529
  __proto__: null,
1526
- default: Ne
1530
+ default: je
1527
1531
  }, Symbol.toStringTag, { value: "Module" })), Ke = [
1528
1532
  {
1529
1533
  label: "None",
@@ -1541,18 +1545,18 @@ const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Ob
1541
1545
  label: "Generic",
1542
1546
  value: 3
1543
1547
  }
1544
- ], Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1548
+ ], Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1545
1549
  __proto__: null,
1546
1550
  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) => {
1551
+ }, 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 = {};
1552
+ Object.keys(t).map((e) => {
1549
1553
  const a = e.match(/asa\/(\S*).js/)[1];
1550
- R[a] = s[e].default;
1554
+ R[a] = t[e].default;
1551
1555
  });
1552
- const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1556
+ const Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1553
1557
  __proto__: null,
1554
1558
  default: R
1555
- }, Symbol.toStringTag, { value: "Module" })), Fe = [
1559
+ }, Symbol.toStringTag, { value: "Module" })), Ve = [
1556
1560
  {
1557
1561
  label: "ASA Knowledge Base Q&A",
1558
1562
  value: "AIBtnValue1"
@@ -1576,10 +1580,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1576
1580
  sub: "Need Choose an App",
1577
1581
  value: "AIBtnValue4"
1578
1582
  }
1579
- ], Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1583
+ ], Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1580
1584
  __proto__: null,
1581
- default: Fe
1582
- }, Symbol.toStringTag, { value: "Module" })), Ue = [
1585
+ default: Ve
1586
+ }, Symbol.toStringTag, { value: "Module" })), He = [
1583
1587
  {
1584
1588
  label: "All",
1585
1589
  value: 36
@@ -1768,10 +1772,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1768
1772
  }
1769
1773
  ]
1770
1774
  }
1771
- ], He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1775
+ ], xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1772
1776
  __proto__: null,
1773
- default: Ue
1774
- }, Symbol.toStringTag, { value: "Module" })), xe = {
1777
+ default: He
1778
+ }, Symbol.toStringTag, { value: "Module" })), Ye = {
1775
1779
  RMB: {
1776
1780
  symbol: "¥",
1777
1781
  code: "CNY"
@@ -1788,18 +1792,18 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1788
1792
  symbol: "$",
1789
1793
  code: "JPY"
1790
1794
  }
1791
- }, Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1795
+ }, Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1792
1796
  __proto__: null,
1793
- default: xe
1794
- }, Symbol.toStringTag, { value: "Module" })), Je = {
1797
+ default: Ye
1798
+ }, Symbol.toStringTag, { value: "Module" })), Ze = {
1795
1799
  RMB: "¥",
1796
1800
  CNY: "¥",
1797
1801
  USD: "$",
1798
1802
  JPY: "¥"
1799
- }, Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1803
+ }, We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1800
1804
  __proto__: null,
1801
- default: Je
1802
- }, Symbol.toStringTag, { value: "Module" })), We = [
1805
+ default: Ze
1806
+ }, Symbol.toStringTag, { value: "Module" })), $e = [
1803
1807
  {
1804
1808
  label: "Day",
1805
1809
  value: "day"
@@ -1808,16 +1812,16 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1808
1812
  label: "Week",
1809
1813
  value: "week"
1810
1814
  }
1811
- ], $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1815
+ ], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1812
1816
  __proto__: null,
1813
- dayOrWeekOption: We
1814
- }, Symbol.toStringTag, { value: "Module" })), qe = {
1817
+ dayOrWeekOption: $e
1818
+ }, Symbol.toStringTag, { value: "Module" })), Qe = {
1815
1819
  data: "No Data",
1816
1820
  selection: "No Selection"
1817
- }, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1821
+ }, Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1818
1822
  __proto__: null,
1819
- default: qe
1820
- }, Symbol.toStringTag, { value: "Module" })), Xe = {
1823
+ default: Qe
1824
+ }, Symbol.toStringTag, { value: "Module" })), ea = {
1821
1825
  id: "3701322",
1822
1826
  name: "iADBrain",
1823
1827
  font_family: "imicon",
@@ -2882,17 +2886,17 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2882
2886
  unicode_decimal: 58952
2883
2887
  }
2884
2888
  ]
2885
- }, ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2889
+ }, aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2886
2890
  __proto__: null,
2887
- default: Xe
2888
- }, Symbol.toStringTag, { value: "Module" })), aa = {
2891
+ default: ea
2892
+ }, Symbol.toStringTag, { value: "Module" })), la = {
2889
2893
  zh_cn: "zh_CN",
2890
2894
  en_us: "en_US",
2891
2895
  ja_jp: "ja_JP",
2892
2896
  ko_kr: "ko_KR"
2893
- }, la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2897
+ }, na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2894
2898
  __proto__: null,
2895
- default: aa
2899
+ default: la
2896
2900
  }, Symbol.toStringTag, { value: "Module" })), B = [
2897
2901
  {
2898
2902
  code: "af_",
@@ -5486,13 +5490,13 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5486
5490
  B.forEach((e) => {
5487
5491
  N[e.code] = e;
5488
5492
  });
5489
- const na = {
5493
+ const ia = {
5490
5494
  arr: B,
5491
5495
  obj: N
5492
- }, ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5496
+ }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5493
5497
  __proto__: null,
5494
- default: na
5495
- }, Symbol.toStringTag, { value: "Module" })), b = [
5498
+ default: ia
5499
+ }, Symbol.toStringTag, { value: "Module" })), r = [
5496
5500
  {
5497
5501
  label: "Spend",
5498
5502
  label_en_us: "Spend",
@@ -5752,17 +5756,18 @@ const na = {
5752
5756
  align: "right",
5753
5757
  value: "viewReDownloads",
5754
5758
  formatter: (e) => e.viewReDownloadsFormat || "0"
5755
- }
5756
- ], _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5759
+ },
5760
+ ...i
5761
+ ], oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5757
5762
  __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);
5763
+ default: r
5764
+ }, Symbol.toStringTag, { value: "Module" })), u = [];
5765
+ r.forEach((e) => {
5766
+ u.filter((a) => a.value === e.value).length === 0 && u.push(e);
5762
5767
  });
5763
- const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5768
+ const ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5764
5769
  __proto__: null,
5765
- default: c
5770
+ default: u
5766
5771
  }, Symbol.toStringTag, { value: "Module" })), j = [
5767
5772
  {
5768
5773
  label: "Spend",
@@ -5995,22 +6000,23 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5995
6000
  type: "base",
5996
6001
  value: "viewReDownloads",
5997
6002
  formatter: (e) => e.viewReDownloadsFormat || "0"
5998
- }
5999
- ], K = {};
6003
+ },
6004
+ ...i
6005
+ ], O = {};
6000
6006
  j.forEach((e) => {
6001
- K[e.value] = e;
6007
+ O[e.value] = e;
6002
6008
  });
6003
- const O = {
6009
+ const K = {
6004
6010
  arr: j,
6005
- obj: K
6006
- }, ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6011
+ obj: O
6012
+ }, ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6007
6013
  __proto__: null,
6008
- default: O
6014
+ default: K
6009
6015
  }, Symbol.toStringTag, { value: "Module" })), L = {};
6010
- [...O.arr, ...b].forEach((e) => {
6016
+ [...K.arr, ...r].forEach((e) => {
6011
6017
  L[e.value] = e;
6012
6018
  });
6013
- const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6019
+ const ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6014
6020
  __proto__: null,
6015
6021
  default: L
6016
6022
  }, Symbol.toStringTag, { value: "Module" })), F = [
@@ -6281,12 +6287,12 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6281
6287
  F.forEach((e) => {
6282
6288
  V[e.value] = e;
6283
6289
  });
6284
- const ba = {
6290
+ const ra = {
6285
6291
  arr: F,
6286
6292
  obj: V
6287
- }, ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6293
+ }, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6288
6294
  __proto__: null,
6289
- default: ba
6295
+ default: ra
6290
6296
  }, Symbol.toStringTag, { value: "Module" })), U = [
6291
6297
  {
6292
6298
  label: "MMP CPI",
@@ -6371,13 +6377,13 @@ const ba = {
6371
6377
  U.forEach((e) => {
6372
6378
  H[e.value] = e;
6373
6379
  });
6374
- const sa = {
6380
+ const ta = {
6375
6381
  arr: U,
6376
6382
  obj: H
6377
- }, ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6383
+ }, da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6378
6384
  __proto__: null,
6379
- default: sa
6380
- }, Symbol.toStringTag, { value: "Module" })), da = [
6385
+ default: ta
6386
+ }, Symbol.toStringTag, { value: "Module" })), va = [
6381
6387
  {
6382
6388
  label: "View",
6383
6389
  label_en_us: "View",
@@ -6442,10 +6448,10 @@ const sa = {
6442
6448
  tips: "You Can Create Monitor"
6443
6449
  }
6444
6450
  // { icon: 'imicon im-cohort txt-purple', tips: 'From OAuth' },
6445
- ], va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6451
+ ], ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6446
6452
  __proto__: null,
6447
- default: da
6448
- }, Symbol.toStringTag, { value: "Module" })), ha = [
6453
+ default: va
6454
+ }, Symbol.toStringTag, { value: "Module" })), ma = [
6449
6455
  {
6450
6456
  label: "IOS",
6451
6457
  value: 0,
@@ -6458,10 +6464,10 @@ const sa = {
6458
6464
  icon: "im-android",
6459
6465
  color: "#20c997"
6460
6466
  }
6461
- ], ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6467
+ ], za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6462
6468
  __proto__: null,
6463
- default: ha
6464
- }, Symbol.toStringTag, { value: "Module" })), za = [
6469
+ default: ma
6470
+ }, Symbol.toStringTag, { value: "Module" })), Aa = [
6465
6471
  "America/Anchorage",
6466
6472
  "America/Los_Angeles",
6467
6473
  "America/Chicago",
@@ -6479,23 +6485,23 @@ const sa = {
6479
6485
  "Asia/Jerusalem",
6480
6486
  "Pacific/Auckland",
6481
6487
  "Pacific/Fiji"
6482
- ], Aa = (e) => {
6483
- if (za.indexOf(e) === -1)
6488
+ ], pa = (e) => {
6489
+ if (Aa.indexOf(e) === -1)
6484
6490
  return !1;
6485
6491
  {
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", {
6492
+ const a = /* @__PURE__ */ new Date(), n = new Date(a.getFullYear(), 0, 1), l = new Date(a.getFullYear(), 6, 1), c = (ee) => {
6493
+ var s;
6494
+ const ae = ((s = new Intl.DateTimeFormat("en-US", {
6489
6495
  timeZone: e,
6490
6496
  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(
6497
+ }).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
6498
  /([+-])(\d{2})(?::?(\d{2}))?/
6493
6499
  );
6494
6500
  return (le === "+" ? -1 : 1) * (parseInt(ne) * 60 + parseInt(ie || "00"));
6495
- }, q = o(a), Q = o(n), X = o(l);
6501
+ }, q = c(a), Q = c(n), X = c(l);
6496
6502
  return q < Math.max(Q, X);
6497
6503
  }
6498
- }, pa = [
6504
+ }, ga = [
6499
6505
  {
6500
6506
  label_zh_cn: "Etc/GMT+12",
6501
6507
  label_en_us: "Etc/GMT+12",
@@ -10703,10 +10709,10 @@ const sa = {
10703
10709
  zone: 14,
10704
10710
  label: "Pacific/Kiritimati"
10705
10711
  }
10706
- ].map((e) => (Aa(e.label) && (e.value += 1, e.zone += 1), e)), ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10712
+ ].map((e) => (pa(e.label) && (e.value += 1, e.zone += 1), e)), fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10707
10713
  __proto__: null,
10708
- default: pa
10709
- }, Symbol.toStringTag, { value: "Module" })), fa = [
10714
+ default: ga
10715
+ }, Symbol.toStringTag, { value: "Module" })), Ta = [
10710
10716
  {
10711
10717
  label: "Etc/GMT 0",
10712
10718
  description_en_us: "Africa/Casablanca,Atlantic/Reykjavik,Europe/London,Etc/GMT",
@@ -10889,10 +10895,10 @@ const sa = {
10889
10895
  value: -1,
10890
10896
  zone: -1
10891
10897
  }
10892
- ], Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10898
+ ], wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10893
10899
  __proto__: null,
10894
- default: fa
10895
- }, Symbol.toStringTag, { value: "Module" })), wa = [
10900
+ default: Ta
10901
+ }, Symbol.toStringTag, { value: "Module" })), Ma = [
10896
10902
  { value: "-12:00", label: "Etc/GMT+12" },
10897
10903
  { value: "-11:00", label: "Etc/GMT+11" },
10898
10904
  { value: "-11:00", label: "Pacific/Midway" },
@@ -11480,10 +11486,10 @@ const sa = {
11480
11486
  { value: "+13:00", label: "Pacific/Tongatapu" },
11481
11487
  { value: "+14:00", label: "Etc/GMT-14" },
11482
11488
  { value: "+14:00", label: "Pacific/Kiritimati" }
11483
- ], Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11489
+ ], Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11484
11490
  __proto__: null,
11485
- default: wa
11486
- }, Symbol.toStringTag, { value: "Module" })), Ea = [
11491
+ default: Ma
11492
+ }, Symbol.toStringTag, { value: "Module" })), Sa = [
11487
11493
  {
11488
11494
  label_zh_cn: "Etc/GMT+12",
11489
11495
  label_en_us: "Etc/GMT+12",
@@ -12170,10 +12176,10 @@ const sa = {
12170
12176
  value: 13,
12171
12177
  zone: 13
12172
12178
  }
12173
- ], Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12179
+ ], ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12174
12180
  __proto__: null,
12175
- default: Ea
12176
- }, Symbol.toStringTag, { value: "Module" })), ya = {
12181
+ default: Sa
12182
+ }, Symbol.toStringTag, { value: "Module" })), Pa = {
12177
12183
  Running: {
12178
12184
  label: "Running",
12179
12185
  label_en_us: "Running",
@@ -12299,15 +12305,15 @@ const sa = {
12299
12305
  label_en_us: "Enable this row of data",
12300
12306
  label_zh_cn: "启用这条数据"
12301
12307
  }
12302
- }, Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12308
+ }, Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12303
12309
  __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) => {
12310
+ default: Pa
12311
+ }, 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 = {};
12312
+ Object.keys(d).map((e) => {
12307
12313
  const a = e.match(/common\/(\S*).js/)[1];
12308
- x[a] = t[e].default;
12314
+ x[a] = d[e].default;
12309
12315
  });
12310
- const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12316
+ const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12311
12317
  __proto__: null,
12312
12318
  default: x
12313
12319
  }, Symbol.toStringTag, { value: "Module" })), Y = [
@@ -12941,17 +12947,17 @@ const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12941
12947
  lang: "en,vi",
12942
12948
  value_upper: "VN"
12943
12949
  }
12944
- ], ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12950
+ ], Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12945
12951
  __proto__: null,
12946
12952
  default: Y
12947
12953
  }, Symbol.toStringTag, { value: "Module" })), J = {};
12948
12954
  Y.forEach((e) => {
12949
12955
  J[e.value] = e;
12950
12956
  });
12951
- const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12957
+ const Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12952
12958
  __proto__: null,
12953
12959
  default: J
12954
- }, Symbol.toStringTag, { value: "Module" })), Da = {
12960
+ }, Symbol.toStringTag, { value: "Module" })), Ia = {
12955
12961
  Asia: [
12956
12962
  {
12957
12963
  label: "Afghanistan",
@@ -13954,9 +13960,9 @@ const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13954
13960
  value: "GS"
13955
13961
  }
13956
13962
  ]
13957
- }, Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13963
+ }, Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13958
13964
  __proto__: null,
13959
- default: Da
13965
+ default: Ia
13960
13966
  }, Symbol.toStringTag, { value: "Module" })), Z = [
13961
13967
  {
13962
13968
  label: "China",
@@ -15230,17 +15236,17 @@ const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15230
15236
  value_lower: "mv",
15231
15237
  alpha3: "MDV"
15232
15238
  }
15233
- ], Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15239
+ ], Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15234
15240
  __proto__: null,
15235
15241
  default: Z
15236
15242
  }, Symbol.toStringTag, { value: "Module" })), W = {};
15237
15243
  Z.forEach((e) => {
15238
15244
  W[e.value_lower] = e;
15239
15245
  });
15240
- const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15246
+ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15241
15247
  __proto__: null,
15242
15248
  default: W
15243
- }, Symbol.toStringTag, { value: "Module" })), Na = [
15249
+ }, Symbol.toStringTag, { value: "Module" })), ja = [
15244
15250
  {
15245
15251
  title: "Hot",
15246
15252
  children: [
@@ -16237,18 +16243,18 @@ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16237
16243
  ],
16238
16244
  filters: 33
16239
16245
  }
16240
- ], ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16246
+ ], Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16241
16247
  __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) => {
16248
+ default: ja
16249
+ }, 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 }), $ = {};
16250
+ Object.keys(v).map((e) => {
16245
16251
  const a = e.match(/country\/(\S*).js/)[1];
16246
- $[a] = d[e].default;
16252
+ $[a] = v[e].default;
16247
16253
  });
16248
16254
  const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16249
16255
  __proto__: null,
16250
16256
  default: $
16251
- }, Symbol.toStringTag, { value: "Module" })), Oa = [
16257
+ }, Symbol.toStringTag, { value: "Module" })), La = [
16252
16258
  "af",
16253
16259
  "sq",
16254
16260
  "ar-SA",
@@ -16369,10 +16375,10 @@ const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16369
16375
  "xh",
16370
16376
  "ji",
16371
16377
  "zu"
16372
- ], La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16378
+ ], Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16373
16379
  __proto__: null,
16374
- default: Oa
16375
- }, Symbol.toStringTag, { value: "Module" })), Fa = {
16380
+ default: La
16381
+ }, Symbol.toStringTag, { value: "Module" })), Va = {
16376
16382
  RUNNING: {
16377
16383
  class: "imicon im-dot txt-green txt-shadow-green-008",
16378
16384
  button_class: "fs16-i hover no-shadow im-play-fill",
@@ -16656,26 +16662,26 @@ const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16656
16662
  value: "Denied",
16657
16663
  sort: 40
16658
16664
  }
16659
- }, Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16665
+ }, Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16660
16666
  __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) {
16667
+ default: Va
16668
+ }, 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 }), _ = {};
16669
+ for (const e in h) {
16664
16670
  const a = e.match(/chip\/(\S*).js/)[1];
16665
- i[a] = v[e].default;
16671
+ _[a] = h[e].default;
16666
16672
  }
16667
- const xa = (e) => {
16673
+ const Ya = (e) => {
16668
16674
  if (!e)
16669
- return i;
16675
+ return _;
16670
16676
  const a = e.split(".");
16671
16677
  if (a.length > 1) {
16672
- let n = i;
16678
+ let n = _;
16673
16679
  for (let l = 0; l < a.length; l++)
16674
16680
  n[a[l]] ? n = n[a[l]] : console.error(`No Map node at ${a[l]} in ${e}`);
16675
16681
  return n;
16676
16682
  } else
16677
- return i[e];
16683
+ return _[e];
16678
16684
  };
16679
16685
  export {
16680
- xa as useMap
16686
+ Ya as useMap
16681
16687
  };
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.8",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",