asamap 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +47 -0
  2. package/dist/index.mjs +285 -191
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,2 +1,49 @@
1
1
  # Asa Map
2
2
 
3
+ This is a standardized dictionary data management plugin designed specifically for Asa projects or technology stacks, aimed at solving the maintenance and usage issues of mapping relationships such as enumeration values, status codes, and type options that frequently occur during the development process. It pre integrates about 80% of commonly used static dictionaries in the Asa system (such as status, type, classification, region, etc.) and provides a consistent and convenient way to call them, significantly reducing duplicate definitions and improving development efficiency and code consistency.
4
+
5
+ ## core functionality
6
+ ### 📚 High coverage dictionary set
7
+ Carefully selected and built-in with over 80% of commonly used mapping relationships in Asa business scenarios, covering user status, order type, business classification, universal identification, etc., eliminating the need for manual maintenance from scratch.
8
+
9
+ ### 🔄 Dual mode output, suitable for different scenarios
10
+ Each dictionary provides two data structures, Array and Object:
11
+
12
+ Array mode: suitable for scenes that directly consume arrays, such as drop-down selection boxes, single selection groups, list rendering, etc., with formats such as [{label: 'enable', value: 1},...].
13
+
14
+ Object mode: suitable for quick key value lookup, mapping echo, logical judgment, etc., with formats such as {1: 'enable', 0: 'disable'}, supporting quick tag retrieval through values.
15
+
16
+ ### 🎯 Ready to use, unified management
17
+ Dictionary dataset maintenance, decoupled from the project but easy to call. There is no need to repeatedly define the same state mapping in multiple business modules, ensuring that dictionary values with the same meaning are completely consistent throughout the entire system.
18
+
19
+ ### ⚙️ Lightweight and type friendly
20
+ Provide good type hints for TypeScript, which can obtain complete value type and tag type inference when called, improving development experience and code security.
21
+
22
+ ## Typical usage scenarios
23
+ Form dropdown options: directly obtain the Array format dictionary and bind it to components such as el select and a-select.
24
+
25
+ Table status display: Based on the values in the data, quickly map the corresponding display labels using Object format.
26
+
27
+ Logical judgment and filtering: Directly reference dictionary constants in the code to avoid magic numbers or strings.
28
+
29
+ Unified data format: Ensure that the meaning and display of fields such as status and type remain consistent during front-end and back-end interaction.
30
+
31
+ ## Why do we need it?
32
+ In the development of the Asa project, different modules often use the same state enumeration (such as "0=not enabled, 1=enabled"). If each developer or module defines themselves, it will result in:
33
+
34
+ Distributed definition, difficult maintenance
35
+
36
+ Easy to generate duplicate definitions with inconsistent meanings
37
+
38
+ Repetitive writing of echo logic
39
+
40
+ This plugin standardizes and centralizes these dictionaries, providing a set of call schemes that are superior to configuration. You no longer need to manually maintain these mapping arrays, nor do you have to worry about inconsistent state labels between different pages.
41
+
42
+ ## Precautions
43
+ This plugin is highly customized for Asa technology stack or business system, and the dictionary content is based on its conventional business abstraction, which may not be fully applicable to other projects with completely different architectures.
44
+
45
+ The remaining 20% are very business specific dictionaries, and it is recommended that they be managed by the project itself in the same way to maintain consistency in usage habits.
46
+
47
+ The plugin itself does not provide asynchronous dictionary retrieval or dynamic update functions, but focuses on the management and use of static dictionaries.
48
+
49
+ By using this plugin, Asa project developers can bid farewell to trivial dictionary definitions and focus more on business logic implementation, while ensuring that the dictionary data of the entire system is clear, consistent, and easy to maintain.
package/dist/index.mjs CHANGED
@@ -27,12 +27,12 @@ const h = [
27
27
  h.forEach((e) => {
28
28
  m[e.value] = e;
29
29
  });
30
- const _e = {
30
+ const oe = {
31
31
  arr: h,
32
32
  obj: m
33
- }, oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33
+ }, ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34
34
  __proto__: null,
35
- default: _e
35
+ default: oe
36
36
  }, Symbol.toStringTag, { value: "Module" })), z = [
37
37
  {
38
38
  label: 18,
@@ -222,25 +222,25 @@ const _e = {
222
222
  label: 64,
223
223
  value: 64
224
224
  }
225
- ], ce = [
225
+ ], ue = [
226
226
  {
227
227
  label: "All",
228
228
  value: "All"
229
229
  },
230
230
  ...z
231
- ], ue = [
231
+ ], be = [
232
232
  // ...minOptions,
233
233
  ...z,
234
234
  {
235
235
  label: "65+",
236
236
  value: 65
237
237
  }
238
- ], be = {
239
- minOptions: ce,
240
- maxOptions: ue
238
+ ], re = {
239
+ minOptions: ue,
240
+ maxOptions: be
241
241
  }, se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
242
242
  __proto__: null,
243
- default: be
243
+ default: re
244
244
  }, Symbol.toStringTag, { value: "Module" })), u = [
245
245
  {
246
246
  label: "All Categories",
@@ -489,7 +489,7 @@ _.children.unshift({
489
489
  value: 6014,
490
490
  label_zh_cn: "游戏"
491
491
  });
492
- const re = [
492
+ const te = [
493
493
  {
494
494
  label: "All Categories",
495
495
  value: 0
@@ -500,13 +500,13 @@ const re = [
500
500
  u.forEach((e) => {
501
501
  p[e.value] = e;
502
502
  });
503
- const te = {
503
+ const de = {
504
504
  arr: u,
505
- tree: re,
505
+ tree: te,
506
506
  obj: p
507
- }, de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
507
+ }, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
508
508
  __proto__: null,
509
- default: te
509
+ default: de
510
510
  }, Symbol.toStringTag, { value: "Module" })), g = [
511
511
  {
512
512
  label: "All categories",
@@ -524,9 +524,9 @@ const te = {
524
524
  g.forEach((e) => {
525
525
  f[e.value] = e;
526
526
  });
527
- const ve = { arr: g, obj: f }, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
527
+ const he = { arr: g, obj: f }, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
528
528
  __proto__: null,
529
- default: ve
529
+ default: he
530
530
  }, Symbol.toStringTag, { value: "Module" })), T = [
531
531
  {
532
532
  label: "All Users",
@@ -546,14 +546,14 @@ const ve = { arr: g, obj: f }, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ *
546
546
  label: "Returning Users",
547
547
  value: "Returning Users"
548
548
  }
549
- ], E = {};
549
+ ], M = {};
550
550
  w.forEach((e) => {
551
- E[e.value] = e;
551
+ M[e.value] = e;
552
552
  });
553
- const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
553
+ const ze = { normal: T, all: w, obj: M }, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
554
554
  __proto__: null,
555
- default: me
556
- }, Symbol.toStringTag, { value: "Module" })), S = [
555
+ default: ze
556
+ }, Symbol.toStringTag, { value: "Module" })), E = [
557
557
  {
558
558
  label: "iPhone",
559
559
  value: "IPHONE",
@@ -564,14 +564,14 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
564
564
  value: "IPAD",
565
565
  icon: "im-ipad"
566
566
  }
567
- ], Ae = [
567
+ ], pe = [
568
568
  {
569
569
  label: "iPhone & iPad",
570
570
  value: "IPHONE,IPAD",
571
571
  icon: "im-iphone_ipad"
572
572
  },
573
- ...S
574
- ], pe = {
573
+ ...E
574
+ ], ge = {
575
575
  "IPHONE,IPAD": {
576
576
  label: "iPhone & iPad",
577
577
  value: "IPHONE,IPAD",
@@ -587,10 +587,10 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
587
587
  value: "IPAD",
588
588
  icon: "im-ipad"
589
589
  }
590
- }, ge = { arr: S, all: Ae, obj: pe }, fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
590
+ }, fe = { arr: E, all: pe, obj: ge }, Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
591
591
  __proto__: null,
592
- default: ge
593
- }, Symbol.toStringTag, { value: "Module" })), M = [
592
+ default: fe
593
+ }, Symbol.toStringTag, { value: "Module" })), S = [
594
594
  {
595
595
  label: "Male",
596
596
  value: "M",
@@ -601,14 +601,14 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
601
601
  value: "F",
602
602
  icon: "im-female"
603
603
  }
604
- ], Te = [
604
+ ], we = [
605
605
  {
606
606
  label: "All",
607
607
  value: "M,F",
608
608
  icon: "im-male_female"
609
609
  },
610
- ...M
611
- ], we = {
610
+ ...S
611
+ ], Me = {
612
612
  "M,F": {
613
613
  label: "All",
614
614
  value: "M,F",
@@ -624,10 +624,10 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
624
624
  value: "F",
625
625
  icon: "im-female"
626
626
  }
627
- }, Ee = { normal: M, all: Te, obj: we }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
627
+ }, Ee = { normal: S, all: we, obj: Me }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
628
628
  __proto__: null,
629
629
  default: Ee
630
- }, Symbol.toStringTag, { value: "Module" })), Me = [
630
+ }, Symbol.toStringTag, { value: "Module" })), ye = [
631
631
  {
632
632
  label: "None",
633
633
  label_en_us: "None",
@@ -670,9 +670,9 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
670
670
  value: 5,
671
671
  color: "txt-orange-i"
672
672
  }
673
- ], ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
673
+ ], Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
674
674
  __proto__: null,
675
- default: Me
675
+ default: ye
676
676
  }, Symbol.toStringTag, { value: "Module" })), y = [
677
677
  {
678
678
  label: "Exact",
@@ -686,13 +686,77 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
686
686
  y.forEach((e) => {
687
687
  P[e.value] = e;
688
688
  });
689
- const Pe = {
689
+ const Ce = {
690
690
  normal: y,
691
691
  obj: P
692
- }, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
692
+ }, ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
693
693
  __proto__: null,
694
- default: Pe
694
+ default: Ce
695
695
  }, Symbol.toStringTag, { value: "Module" })), C = [
696
+ {
697
+ label: "Pre-Orders",
698
+ visible: !0,
699
+ chartType: "line",
700
+ value: "tapPreOrders",
701
+ width: 144,
702
+ align: "right",
703
+ formatter: (e) => e.tapPreOrders || 0
704
+ },
705
+ {
706
+ label: "View Pre-Orders",
707
+ visible: !0,
708
+ chartType: "line",
709
+ value: "viewPreOrders",
710
+ width: 144,
711
+ align: "right",
712
+ formatter: (e) => e.viewPreOrders || 0
713
+ },
714
+ {
715
+ label: "Total Pre-Orders",
716
+ visible: !0,
717
+ chartType: "line",
718
+ value: "totalPreOrders",
719
+ width: 144,
720
+ align: "right",
721
+ formatter: (e) => e.totalPreOrders || 0
722
+ },
723
+ {
724
+ label: "Avg CPA Pre-Orders(Tap Through)",
725
+ visible: !0,
726
+ chartType: "line",
727
+ value: "cpaTapPreOrders",
728
+ width: 160,
729
+ align: "right",
730
+ formatter: (e) => e.cpaTapPreOrders || 0
731
+ },
732
+ {
733
+ label: "Avg CPA Pre-Orders(Total)",
734
+ visible: !0,
735
+ chartType: "line",
736
+ value: "cpaTotalPreOrders",
737
+ width: 160,
738
+ align: "right",
739
+ formatter: (e) => e.cpaTotalPreOrders || 0
740
+ },
741
+ {
742
+ label: "CR Pre-Orders(Tap Through)",
743
+ visible: !0,
744
+ chartType: "line",
745
+ value: "crTapPreOrders",
746
+ width: 160,
747
+ align: "right",
748
+ formatter: (e) => e.crTapPreOrders || 0
749
+ },
750
+ {
751
+ label: "CR Pre-Orders(Total)",
752
+ visible: !0,
753
+ chartType: "line",
754
+ value: "crTotalPreOrders",
755
+ width: 160,
756
+ align: "right",
757
+ formatter: (e) => e.crTotalPreOrders || 0
758
+ }
759
+ ], k = [
696
760
  {
697
761
  label: "Spend",
698
762
  unit: "currency",
@@ -760,12 +824,13 @@ const Pe = {
760
824
  visible: !0,
761
825
  chartType: "line",
762
826
  value: "ttr"
763
- }
764
- ], k = {};
765
- C.forEach((e) => {
766
- k[e.value] = e;
827
+ },
828
+ ...C
829
+ ], G = {};
830
+ k.forEach((e) => {
831
+ G[e.value] = e;
767
832
  });
768
- const G = [
833
+ const D = [
769
834
  {
770
835
  label: "Spend",
771
836
  unit: "currency",
@@ -866,6 +931,7 @@ const G = [
866
931
  align: "right",
867
932
  formatter: (e) => e.ttrFormat || "0"
868
933
  },
934
+ ...C,
869
935
  {
870
936
  label: "MMP Installs",
871
937
  precision: 0,
@@ -977,14 +1043,14 @@ const G = [
977
1043
  value: "viewReDownloads",
978
1044
  formatter: (e) => e.viewReDownloadsFormat || "0"
979
1045
  }
980
- ], D = {};
981
- G.forEach((e) => {
982
- D[e.value] = e;
1046
+ ], I = {};
1047
+ D.forEach((e) => {
1048
+ I[e.value] = e;
983
1049
  });
984
- const ke = { base8: C, base8Obj: k, all: G, allObj: D }, Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1050
+ const Ge = { base8: k, base8Obj: G, all: D, allObj: I }, De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
985
1051
  __proto__: null,
986
- default: ke
987
- }, Symbol.toStringTag, { value: "Module" })), De = [
1052
+ default: Ge
1053
+ }, Symbol.toStringTag, { value: "Module" })), Ie = [
988
1054
  {
989
1055
  label: "Spend",
990
1056
  label_en_us: "Spend",
@@ -1218,10 +1284,10 @@ const ke = { base8: C, base8Obj: k, all: G, allObj: D }, Ge = /* @__PURE__ */ Ob
1218
1284
  value: "viewReDownloads",
1219
1285
  formatter: (e) => e.viewReDownloadsFormat || 0
1220
1286
  }
1221
- ], Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1287
+ ], Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1222
1288
  __proto__: null,
1223
- default: De
1224
- }, Symbol.toStringTag, { value: "Module" })), Re = [
1289
+ default: Ie
1290
+ }, Symbol.toStringTag, { value: "Module" })), Be = [
1225
1291
  {
1226
1292
  label: "MMP CPI",
1227
1293
  value: "mmpCPI",
@@ -1453,12 +1519,12 @@ const ke = { base8: C, base8Obj: k, all: G, allObj: D }, Ge = /* @__PURE__ */ Ob
1453
1519
  align: "right",
1454
1520
  visible: !1
1455
1521
  }
1456
- ], Be = {
1457
- arr: Re
1458
- }, Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1522
+ ], Ne = {
1523
+ arr: Be
1524
+ }, je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1459
1525
  __proto__: null,
1460
- default: Be
1461
- }, Symbol.toStringTag, { value: "Module" })), je = [
1526
+ default: Ne
1527
+ }, Symbol.toStringTag, { value: "Module" })), Ke = [
1462
1528
  {
1463
1529
  label: "None",
1464
1530
  value: 0
@@ -1475,17 +1541,17 @@ const ke = { base8: C, base8Obj: k, all: G, allObj: D }, Ge = /* @__PURE__ */ Ob
1475
1541
  label: "Generic",
1476
1542
  value: 3
1477
1543
  }
1478
- ], Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1544
+ ], Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1479
1545
  __proto__: null,
1480
- default: je
1481
- }, Symbol.toStringTag, { value: "Module" })), r = /* @__PURE__ */ Object.assign({ "./asa/adplacement.js": oe, "./asa/age.js": se, "./asa/appCategory.js": de, "./asa/category.js": he, "./asa/customerType.js": ze, "./asa/device.js": fe, "./asa/gender.js": Se, "./asa/level.js": ye, "./asa/matchType.js": Ce, "./asa/metric.js": Ge, "./asa/metricAsa.js": Ie, "./asa/metricMmp.js": Ne, "./asa/tag.js": Ke }), I = {};
1482
- Object.keys(r).map((e) => {
1546
+ 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) => {
1483
1549
  const a = e.match(/asa\/(\S*).js/)[1];
1484
- I[a] = r[e].default;
1550
+ R[a] = s[e].default;
1485
1551
  });
1486
1552
  const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1487
1553
  __proto__: null,
1488
- default: I
1554
+ default: R
1489
1555
  }, Symbol.toStringTag, { value: "Module" })), Fe = [
1490
1556
  {
1491
1557
  label: "ASA Knowledge Base Q&A",
@@ -1510,10 +1576,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1510
1576
  sub: "Need Choose an App",
1511
1577
  value: "AIBtnValue4"
1512
1578
  }
1513
- ], Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1579
+ ], Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1514
1580
  __proto__: null,
1515
1581
  default: Fe
1516
- }, Symbol.toStringTag, { value: "Module" })), Ve = [
1582
+ }, Symbol.toStringTag, { value: "Module" })), Ue = [
1517
1583
  {
1518
1584
  label: "All",
1519
1585
  value: 36
@@ -1702,10 +1768,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1702
1768
  }
1703
1769
  ]
1704
1770
  }
1705
- ], Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1771
+ ], He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1706
1772
  __proto__: null,
1707
- default: Ve
1708
- }, Symbol.toStringTag, { value: "Module" })), He = {
1773
+ default: Ue
1774
+ }, Symbol.toStringTag, { value: "Module" })), xe = {
1709
1775
  RMB: {
1710
1776
  symbol: "¥",
1711
1777
  code: "CNY"
@@ -1722,18 +1788,18 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1722
1788
  symbol: "$",
1723
1789
  code: "JPY"
1724
1790
  }
1725
- }, xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1791
+ }, Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1726
1792
  __proto__: null,
1727
- default: He
1728
- }, Symbol.toStringTag, { value: "Module" })), Ye = {
1793
+ default: xe
1794
+ }, Symbol.toStringTag, { value: "Module" })), Je = {
1729
1795
  RMB: "¥",
1730
1796
  CNY: "¥",
1731
1797
  USD: "$",
1732
1798
  JPY: "¥"
1733
- }, Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1799
+ }, Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1734
1800
  __proto__: null,
1735
- default: Ye
1736
- }, Symbol.toStringTag, { value: "Module" })), Ze = [
1801
+ default: Je
1802
+ }, Symbol.toStringTag, { value: "Module" })), We = [
1737
1803
  {
1738
1804
  label: "Day",
1739
1805
  value: "day"
@@ -1742,16 +1808,16 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1742
1808
  label: "Week",
1743
1809
  value: "week"
1744
1810
  }
1745
- ], We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1811
+ ], $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1746
1812
  __proto__: null,
1747
- dayOrWeekOption: Ze
1748
- }, Symbol.toStringTag, { value: "Module" })), $e = {
1813
+ dayOrWeekOption: We
1814
+ }, Symbol.toStringTag, { value: "Module" })), qe = {
1749
1815
  data: "No Data",
1750
1816
  selection: "No Selection"
1751
- }, qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1817
+ }, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1752
1818
  __proto__: null,
1753
- default: $e
1754
- }, Symbol.toStringTag, { value: "Module" })), Qe = {
1819
+ default: qe
1820
+ }, Symbol.toStringTag, { value: "Module" })), Xe = {
1755
1821
  id: "3701322",
1756
1822
  name: "iADBrain",
1757
1823
  font_family: "imicon",
@@ -2816,18 +2882,18 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2816
2882
  unicode_decimal: 58952
2817
2883
  }
2818
2884
  ]
2819
- }, Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2885
+ }, ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2820
2886
  __proto__: null,
2821
- default: Qe
2822
- }, Symbol.toStringTag, { value: "Module" })), ea = {
2887
+ default: Xe
2888
+ }, Symbol.toStringTag, { value: "Module" })), aa = {
2823
2889
  zh_cn: "zh_CN",
2824
2890
  en_us: "en_US",
2825
2891
  ja_jp: "ja_JP",
2826
2892
  ko_kr: "ko_KR"
2827
- }, aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2893
+ }, la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2828
2894
  __proto__: null,
2829
- default: ea
2830
- }, Symbol.toStringTag, { value: "Module" })), R = [
2895
+ default: aa
2896
+ }, Symbol.toStringTag, { value: "Module" })), B = [
2831
2897
  {
2832
2898
  code: "af_",
2833
2899
  name: "Afrikaans"
@@ -5416,16 +5482,16 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5416
5482
  code: "zh_Hant",
5417
5483
  name: "Chinese Traditional"
5418
5484
  }
5419
- ], B = {};
5420
- R.forEach((e) => {
5421
- B[e.code] = e;
5485
+ ], N = {};
5486
+ B.forEach((e) => {
5487
+ N[e.code] = e;
5422
5488
  });
5423
- const la = {
5424
- arr: R,
5425
- obj: B
5426
- }, na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5489
+ const na = {
5490
+ arr: B,
5491
+ obj: N
5492
+ }, ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5427
5493
  __proto__: null,
5428
- default: la
5494
+ default: na
5429
5495
  }, Symbol.toStringTag, { value: "Module" })), b = [
5430
5496
  {
5431
5497
  label: "Spend",
@@ -5687,17 +5753,17 @@ const la = {
5687
5753
  value: "viewReDownloads",
5688
5754
  formatter: (e) => e.viewReDownloadsFormat || "0"
5689
5755
  }
5690
- ], ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5756
+ ], _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5691
5757
  __proto__: null,
5692
5758
  default: b
5693
5759
  }, Symbol.toStringTag, { value: "Module" })), c = [];
5694
5760
  b.forEach((e) => {
5695
5761
  c.filter((a) => a.value === e.value).length === 0 && c.push(e);
5696
5762
  });
5697
- const _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5763
+ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5698
5764
  __proto__: null,
5699
5765
  default: c
5700
- }, Symbol.toStringTag, { value: "Module" })), N = [
5766
+ }, Symbol.toStringTag, { value: "Module" })), j = [
5701
5767
  {
5702
5768
  label: "Spend",
5703
5769
  label_en_us: "Spend",
@@ -5930,21 +5996,21 @@ const _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5930
5996
  value: "viewReDownloads",
5931
5997
  formatter: (e) => e.viewReDownloadsFormat || "0"
5932
5998
  }
5933
- ], j = {};
5934
- N.forEach((e) => {
5935
- j[e.value] = e;
5999
+ ], K = {};
6000
+ j.forEach((e) => {
6001
+ K[e.value] = e;
5936
6002
  });
5937
- const K = {
5938
- arr: N,
5939
- obj: j
5940
- }, oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6003
+ const O = {
6004
+ arr: j,
6005
+ obj: K
6006
+ }, ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5941
6007
  __proto__: null,
5942
- default: K
6008
+ default: O
5943
6009
  }, Symbol.toStringTag, { value: "Module" })), L = {};
5944
- [...K.arr, ...b].forEach((e) => {
6010
+ [...O.arr, ...b].forEach((e) => {
5945
6011
  L[e.value] = e;
5946
6012
  });
5947
- const ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6013
+ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5948
6014
  __proto__: null,
5949
6015
  default: L
5950
6016
  }, Symbol.toStringTag, { value: "Module" })), F = [
@@ -6211,17 +6277,17 @@ const ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6211
6277
  align: "right",
6212
6278
  formatter: (e) => e.revenueFormat || "0"
6213
6279
  }
6214
- ], O = {};
6280
+ ], V = {};
6215
6281
  F.forEach((e) => {
6216
- O[e.value] = e;
6282
+ V[e.value] = e;
6217
6283
  });
6218
- const ua = {
6284
+ const ba = {
6219
6285
  arr: F,
6220
- obj: O
6221
- }, ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6286
+ obj: V
6287
+ }, ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6222
6288
  __proto__: null,
6223
- default: ua
6224
- }, Symbol.toStringTag, { value: "Module" })), V = [
6289
+ default: ba
6290
+ }, Symbol.toStringTag, { value: "Module" })), U = [
6225
6291
  {
6226
6292
  label: "MMP CPI",
6227
6293
  value: "mmpCPI",
@@ -6301,17 +6367,17 @@ const ua = {
6301
6367
  align: "right",
6302
6368
  visible: !0
6303
6369
  }
6304
- ], U = {};
6305
- V.forEach((e) => {
6306
- U[e.value] = e;
6370
+ ], H = {};
6371
+ U.forEach((e) => {
6372
+ H[e.value] = e;
6307
6373
  });
6308
6374
  const sa = {
6309
- arr: V,
6310
- obj: U
6311
- }, ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6375
+ arr: U,
6376
+ obj: H
6377
+ }, ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6312
6378
  __proto__: null,
6313
6379
  default: sa
6314
- }, Symbol.toStringTag, { value: "Module" })), ta = [
6380
+ }, Symbol.toStringTag, { value: "Module" })), da = [
6315
6381
  {
6316
6382
  label: "View",
6317
6383
  label_en_us: "View",
@@ -6376,10 +6442,10 @@ const sa = {
6376
6442
  tips: "You Can Create Monitor"
6377
6443
  }
6378
6444
  // { icon: 'imicon im-cohort txt-purple', tips: 'From OAuth' },
6379
- ], da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6445
+ ], va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6380
6446
  __proto__: null,
6381
- default: ta
6382
- }, Symbol.toStringTag, { value: "Module" })), va = [
6447
+ default: da
6448
+ }, Symbol.toStringTag, { value: "Module" })), ha = [
6383
6449
  {
6384
6450
  label: "IOS",
6385
6451
  value: 0,
@@ -6392,10 +6458,10 @@ const sa = {
6392
6458
  icon: "im-android",
6393
6459
  color: "#20c997"
6394
6460
  }
6395
- ], ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6461
+ ], ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6396
6462
  __proto__: null,
6397
- default: va
6398
- }, Symbol.toStringTag, { value: "Module" })), ma = [
6463
+ default: ha
6464
+ }, Symbol.toStringTag, { value: "Module" })), za = [
6399
6465
  "America/Anchorage",
6400
6466
  "America/Los_Angeles",
6401
6467
  "America/Chicago",
@@ -6413,23 +6479,23 @@ const sa = {
6413
6479
  "Asia/Jerusalem",
6414
6480
  "Pacific/Auckland",
6415
6481
  "Pacific/Fiji"
6416
- ], za = (e) => {
6417
- if (ma.indexOf(e) === -1)
6482
+ ], Aa = (e) => {
6483
+ if (za.indexOf(e) === -1)
6418
6484
  return !1;
6419
6485
  {
6420
- const a = /* @__PURE__ */ new Date(), l = new Date(a.getFullYear(), 0, 1), n = new Date(a.getFullYear(), 6, 1), o = (X) => {
6421
- var s;
6422
- const ee = ((s = new Intl.DateTimeFormat("en-US", {
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", {
6423
6489
  timeZone: e,
6424
6490
  timeZoneName: "longOffset"
6425
- }).formatToParts(X).find((ie) => ie.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : s[0]) || "+00:00", [Ua, ae, le, ne] = ee.match(
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(
6426
6492
  /([+-])(\d{2})(?::?(\d{2}))?/
6427
6493
  );
6428
- return (ae === "+" ? -1 : 1) * (parseInt(le) * 60 + parseInt(ne || "00"));
6429
- }, $ = o(a), q = o(l), Q = o(n);
6430
- return $ < Math.max(q, Q);
6494
+ return (le === "+" ? -1 : 1) * (parseInt(ne) * 60 + parseInt(ie || "00"));
6495
+ }, q = o(a), Q = o(n), X = o(l);
6496
+ return q < Math.max(Q, X);
6431
6497
  }
6432
- }, Aa = [
6498
+ }, pa = [
6433
6499
  {
6434
6500
  label_zh_cn: "Etc/GMT+12",
6435
6501
  label_en_us: "Etc/GMT+12",
@@ -10637,10 +10703,10 @@ const sa = {
10637
10703
  zone: 14,
10638
10704
  label: "Pacific/Kiritimati"
10639
10705
  }
10640
- ].map((e) => (za(e.label) && (e.value += 1, e.zone += 1), e)), pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10706
+ ].map((e) => (Aa(e.label) && (e.value += 1, e.zone += 1), e)), ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10641
10707
  __proto__: null,
10642
- default: Aa
10643
- }, Symbol.toStringTag, { value: "Module" })), ga = [
10708
+ default: pa
10709
+ }, Symbol.toStringTag, { value: "Module" })), fa = [
10644
10710
  {
10645
10711
  label: "Etc/GMT 0",
10646
10712
  description_en_us: "Africa/Casablanca,Atlantic/Reykjavik,Europe/London,Etc/GMT",
@@ -10823,10 +10889,10 @@ const sa = {
10823
10889
  value: -1,
10824
10890
  zone: -1
10825
10891
  }
10826
- ], fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10892
+ ], Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10827
10893
  __proto__: null,
10828
- default: ga
10829
- }, Symbol.toStringTag, { value: "Module" })), Ta = [
10894
+ default: fa
10895
+ }, Symbol.toStringTag, { value: "Module" })), wa = [
10830
10896
  { value: "-12:00", label: "Etc/GMT+12" },
10831
10897
  { value: "-11:00", label: "Etc/GMT+11" },
10832
10898
  { value: "-11:00", label: "Pacific/Midway" },
@@ -11414,9 +11480,9 @@ const sa = {
11414
11480
  { value: "+13:00", label: "Pacific/Tongatapu" },
11415
11481
  { value: "+14:00", label: "Etc/GMT-14" },
11416
11482
  { value: "+14:00", label: "Pacific/Kiritimati" }
11417
- ], wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11483
+ ], Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11418
11484
  __proto__: null,
11419
- default: Ta
11485
+ default: wa
11420
11486
  }, Symbol.toStringTag, { value: "Module" })), Ea = [
11421
11487
  {
11422
11488
  label_zh_cn: "Etc/GMT+12",
@@ -12107,7 +12173,7 @@ const sa = {
12107
12173
  ], Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12108
12174
  __proto__: null,
12109
12175
  default: Ea
12110
- }, Symbol.toStringTag, { value: "Module" })), Ma = {
12176
+ }, Symbol.toStringTag, { value: "Module" })), ya = {
12111
12177
  Running: {
12112
12178
  label: "Running",
12113
12179
  label_en_us: "Running",
@@ -12233,18 +12299,18 @@ const sa = {
12233
12299
  label_en_us: "Enable this row of data",
12234
12300
  label_zh_cn: "启用这条数据"
12235
12301
  }
12236
- }, ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12302
+ }, Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12237
12303
  __proto__: null,
12238
- default: Ma
12239
- }, Symbol.toStringTag, { value: "Module" })), t = /* @__PURE__ */ Object.assign({ "./common/aibtn.js": Oe, "./common/category.js": Ue, "./common/currency.js": xe, "./common/currencyMap.js": Je, "./common/dayOrWeek.js": We, "./common/emptyMap.js": qe, "./common/iconMap.js": Xe, "./common/lang.js": aa, "./common/langAll.js": na, "./common/metricAll.js": _a, "./common/metricAllObj.js": ca, "./common/metricAsa.js": ia, "./common/metricAsaChart.js": oa, "./common/metricFormat.js": ba, "./common/metricMmpChart.js": ra, "./common/permissionOptions.js": da, "./common/platform.js": ha, "./common/timezone.js": pa, "./common/timezoneCombine.js": fa, "./common/timezoneNew.js": wa, "./common/timezoneOptions.js": Sa, "./common/txtMap.js": ya }), H = {};
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 = {};
12240
12306
  Object.keys(t).map((e) => {
12241
12307
  const a = e.match(/common\/(\S*).js/)[1];
12242
- H[a] = t[e].default;
12308
+ x[a] = t[e].default;
12243
12309
  });
12244
- const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12310
+ const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12245
12311
  __proto__: null,
12246
- default: H
12247
- }, Symbol.toStringTag, { value: "Module" })), x = [
12312
+ default: x
12313
+ }, Symbol.toStringTag, { value: "Module" })), Y = [
12248
12314
  {
12249
12315
  label: "Albania",
12250
12316
  label_en_us: "Albania",
@@ -12875,17 +12941,17 @@ const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12875
12941
  lang: "en,vi",
12876
12942
  value_upper: "VN"
12877
12943
  }
12878
- ], Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12944
+ ], ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12879
12945
  __proto__: null,
12880
- default: x
12881
- }, Symbol.toStringTag, { value: "Module" })), Y = {};
12882
- x.forEach((e) => {
12883
- Y[e.value] = e;
12946
+ default: Y
12947
+ }, Symbol.toStringTag, { value: "Module" })), J = {};
12948
+ Y.forEach((e) => {
12949
+ J[e.value] = e;
12884
12950
  });
12885
- const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12951
+ const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12886
12952
  __proto__: null,
12887
- default: Y
12888
- }, Symbol.toStringTag, { value: "Module" })), Ga = {
12953
+ default: J
12954
+ }, Symbol.toStringTag, { value: "Module" })), Da = {
12889
12955
  Asia: [
12890
12956
  {
12891
12957
  label: "Afghanistan",
@@ -13888,10 +13954,10 @@ const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13888
13954
  value: "GS"
13889
13955
  }
13890
13956
  ]
13891
- }, Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13957
+ }, Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13892
13958
  __proto__: null,
13893
- default: Ga
13894
- }, Symbol.toStringTag, { value: "Module" })), J = [
13959
+ default: Da
13960
+ }, Symbol.toStringTag, { value: "Module" })), Z = [
13895
13961
  {
13896
13962
  label: "China",
13897
13963
  label_en_us: "China",
@@ -15147,18 +15213,34 @@ const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15147
15213
  value: "MA",
15148
15214
  value_lower: "ma",
15149
15215
  alpha3: "MAR"
15216
+ },
15217
+ {
15218
+ label: "Myanmar",
15219
+ label_en_us: "Myanmar",
15220
+ label_zh_cn: "缅甸",
15221
+ value: "MM",
15222
+ value_lower: "mm",
15223
+ alpha3: "MMR"
15224
+ },
15225
+ {
15226
+ label: "Maldives",
15227
+ label_en_us: "Maldives",
15228
+ label_zh_cn: "马尔代夫",
15229
+ value: "MV",
15230
+ value_lower: "mv",
15231
+ alpha3: "MDV"
15150
15232
  }
15151
- ], Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15233
+ ], Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15152
15234
  __proto__: null,
15153
- default: J
15154
- }, Symbol.toStringTag, { value: "Module" })), Z = {};
15155
- J.forEach((e) => {
15156
- Z[e.value_lower] = e;
15235
+ default: Z
15236
+ }, Symbol.toStringTag, { value: "Module" })), W = {};
15237
+ Z.forEach((e) => {
15238
+ W[e.value_lower] = e;
15157
15239
  });
15158
- const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15240
+ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15159
15241
  __proto__: null,
15160
- default: Z
15161
- }, Symbol.toStringTag, { value: "Module" })), Ba = [
15242
+ default: W
15243
+ }, Symbol.toStringTag, { value: "Module" })), Na = [
15162
15244
  {
15163
15245
  title: "Hot",
15164
15246
  children: [
@@ -15303,7 +15385,7 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15303
15385
  {
15304
15386
  id: "143587",
15305
15387
  code: "la",
15306
- label: "Lao",
15388
+ label: "Laos",
15307
15389
  hide: !1
15308
15390
  },
15309
15391
  {
@@ -15419,9 +15501,21 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15419
15501
  code: "ye",
15420
15502
  label: "Yemen",
15421
15503
  hide: !1
15504
+ },
15505
+ {
15506
+ id: "143570",
15507
+ code: "mm",
15508
+ label: "Myanmar",
15509
+ hide: !1
15510
+ },
15511
+ {
15512
+ id: "143488",
15513
+ code: "mv",
15514
+ label: "Maldives",
15515
+ hide: !1
15422
15516
  }
15423
15517
  ],
15424
- filters: 34
15518
+ filters: 36
15425
15519
  },
15426
15520
  {
15427
15521
  title: "Europe",
@@ -16143,18 +16237,18 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16143
16237
  ],
16144
16238
  filters: 33
16145
16239
  }
16146
- ], Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16240
+ ], ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16147
16241
  __proto__: null,
16148
- default: Ba
16149
- }, Symbol.toStringTag, { value: "Module" })), d = /* @__PURE__ */ Object.assign({ "./country/asa.js": Ca, "./country/asaObj.js": ka, "./country/continent.js": Da, "./country/countryAll.js": Ia, "./country/countryAllObj.js": Ra, "./country/group.js": Na }), W = {};
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 }), $ = {};
16150
16244
  Object.keys(d).map((e) => {
16151
16245
  const a = e.match(/country\/(\S*).js/)[1];
16152
- W[a] = d[e].default;
16246
+ $[a] = d[e].default;
16153
16247
  });
16154
- const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16248
+ const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16155
16249
  __proto__: null,
16156
- default: W
16157
- }, Symbol.toStringTag, { value: "Module" })), Ka = [
16250
+ default: $
16251
+ }, Symbol.toStringTag, { value: "Module" })), Oa = [
16158
16252
  "af",
16159
16253
  "sq",
16160
16254
  "ar-SA",
@@ -16277,7 +16371,7 @@ const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16277
16371
  "zu"
16278
16372
  ], La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16279
16373
  __proto__: null,
16280
- default: Ka
16374
+ default: Oa
16281
16375
  }, Symbol.toStringTag, { value: "Module" })), Fa = {
16282
16376
  RUNNING: {
16283
16377
  class: "imicon im-dot txt-green txt-shadow-green-008",
@@ -16562,26 +16656,26 @@ const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16562
16656
  value: "Denied",
16563
16657
  sort: 40
16564
16658
  }
16565
- }, Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16659
+ }, Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16566
16660
  __proto__: null,
16567
16661
  default: Fa
16568
- }, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Le, "./chip/common.js": Pa, "./chip/country.js": ja, "./chip/lang.js": La, "./chip/statusMap.js": Oa }), i = {};
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 = {};
16569
16663
  for (const e in v) {
16570
- const a = v[e].default;
16571
- i[a.name] = a;
16664
+ const a = e.match(/chip\/(\S*).js/)[1];
16665
+ i[a] = v[e].default;
16572
16666
  }
16573
- const Ha = (e) => {
16667
+ const xa = (e) => {
16574
16668
  if (!e)
16575
16669
  return i;
16576
16670
  const a = e.split(".");
16577
16671
  if (a.length > 1) {
16578
- let l = i;
16579
- for (let n = 0; n < a.length; n++)
16580
- l[a[n]] ? l = l[a[n]] : console.error(`No Map node at ${e}`);
16581
- return l;
16672
+ let n = i;
16673
+ for (let l = 0; l < a.length; l++)
16674
+ n[a[l]] ? n = n[a[l]] : console.error(`No Map node at ${a[l]} in ${e}`);
16675
+ return n;
16582
16676
  } else
16583
16677
  return i[e];
16584
16678
  };
16585
16679
  export {
16586
- Ha as useMap
16680
+ xa as useMap
16587
16681
  };
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.4",
4
+ "version": "1.0.6",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",