asamap 1.0.13 → 1.0.14

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 +40 -40
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const h = Object.freeze([
1
+ const m = Object.freeze([
2
2
  {
3
3
  label: "Today Tab",
4
4
  value: "APPSTORE_TODAY_TAB",
@@ -23,8 +23,8 @@ const h = Object.freeze([
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
- ]), Q = h.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), X = Object.freeze({
27
- arr: h,
26
+ ]), Q = m.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), X = Object.freeze({
27
+ arr: m,
28
28
  obj: Q
29
29
  }), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30
30
  __proto__: null,
@@ -34,14 +34,14 @@ const h = Object.freeze([
34
34
  for (let l = e; l <= a; l++)
35
35
  n.push({ label: l, value: l });
36
36
  return Object.freeze(n);
37
- }, m = ae(18, 64), le = Object.freeze([
37
+ }, z = ae(18, 64), le = Object.freeze([
38
38
  {
39
39
  label: "All",
40
40
  value: "All"
41
41
  },
42
- ...m
42
+ ...z
43
43
  ]), ne = Object.freeze([
44
- ...m,
44
+ ...z,
45
45
  {
46
46
  label: "65+",
47
47
  value: 65
@@ -285,21 +285,21 @@ const h = Object.freeze([
285
285
  }
286
286
  ]), oe = Object.freeze(
287
287
  u.reduce((e, a) => (e[a.value] = a, e), {})
288
- ), z = [], A = [];
288
+ ), A = [], p = [];
289
289
  u.forEach((e) => {
290
- e.label.includes("Game") ? e.label !== "Games" && A.push(e) : e.value && z.push(e);
290
+ e.label.includes("Game") ? e.label !== "Games" && p.push(e) : e.value && A.push(e);
291
291
  });
292
292
  const ce = Object.freeze({
293
293
  label: "App",
294
294
  value: 5e3,
295
- children: Object.freeze([...z])
295
+ children: Object.freeze([...A])
296
296
  }), ue = Object.freeze({
297
297
  label: "Game",
298
298
  value: 6014
299
299
  }), be = Object.freeze({
300
300
  label: "Game",
301
301
  value: 6014,
302
- children: Object.freeze([ue, ...A])
302
+ children: Object.freeze([ue, ...p])
303
303
  }), re = Object.freeze({
304
304
  label: "All Categories",
305
305
  value: 0
@@ -310,7 +310,7 @@ const ce = Object.freeze({
310
310
  }), de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
311
311
  __proto__: null,
312
312
  default: te
313
- }, Symbol.toStringTag, { value: "Module" })), p = Object.freeze([
313
+ }, Symbol.toStringTag, { value: "Module" })), g = Object.freeze([
314
314
  {
315
315
  label: "All categories",
316
316
  value: "All categories"
@@ -323,13 +323,13 @@ const ce = Object.freeze({
323
323
  label: "Other categories",
324
324
  value: "Other categories"
325
325
  }
326
- ]), ve = p.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), he = Object.freeze({
327
- arr: p,
326
+ ]), ve = g.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), he = Object.freeze({
327
+ arr: g,
328
328
  obj: ve
329
329
  }), me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
330
330
  __proto__: null,
331
331
  default: he
332
- }, Symbol.toStringTag, { value: "Module" })), g = Object.freeze([
332
+ }, Symbol.toStringTag, { value: "Module" })), f = Object.freeze([
333
333
  {
334
334
  label: "All Users",
335
335
  value: "All Users"
@@ -338,8 +338,8 @@ const ce = Object.freeze({
338
338
  label: "New Users",
339
339
  value: "New Users"
340
340
  }
341
- ]), f = Object.freeze([
342
- ...g,
341
+ ]), T = Object.freeze([
342
+ ...f,
343
343
  {
344
344
  label: "Users of my other apps",
345
345
  value: "Users of my other apps"
@@ -348,10 +348,10 @@ const ce = Object.freeze({
348
348
  label: "Returning Users",
349
349
  value: "Returning Users"
350
350
  }
351
- ]), ze = f.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), Ae = Object.freeze({ arr: g, all: f, obj: ze }), pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
351
+ ]), ze = T.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), Ae = Object.freeze({ arr: f, all: T, obj: ze }), pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
352
352
  __proto__: null,
353
353
  default: Ae
354
- }, Symbol.toStringTag, { value: "Module" })), T = Object.freeze([
354
+ }, Symbol.toStringTag, { value: "Module" })), b = Object.freeze([
355
355
  {
356
356
  label: "iPhone",
357
357
  value: "IPHONE",
@@ -368,9 +368,9 @@ const ce = Object.freeze({
368
368
  value: "IPHONE,IPAD",
369
369
  icon: "im-iphone_ipad"
370
370
  },
371
- ...T
372
- ]), fe = reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), Te = Object.freeze({
373
- arr: T,
371
+ ...b
372
+ ]), fe = b.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), Te = Object.freeze({
373
+ arr: b,
374
374
  all: ge,
375
375
  obj: fe
376
376
  }), we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1289,10 +1289,10 @@ const ce = Object.freeze({
1289
1289
  ]), Ve = C.reduce((e, a) => (e[a.value] = a, e), /* @__PURE__ */ Object.create(null)), Ue = Object.freeze({ arr: C, obj: Ve }), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1290
1290
  __proto__: null,
1291
1291
  default: Ue
1292
- }, Symbol.toStringTag, { value: "Module" })), s = /* @__PURE__ */ Object.assign({ "./asa/adplacement.js": ee, "./asa/age.js": _e, "./asa/appCategory.js": de, "./asa/category.js": me, "./asa/customerType.js": pe, "./asa/device.js": we, "./asa/gender.js": Ee, "./asa/level.js": Pe, "./asa/matchType.js": Ge, "./asa/metric.js": Ne, "./asa/metricAsa.js": Oe, "./asa/metricEX.js": De, "./asa/metricMmp.js": Fe, "./asa/tag.js": He }), k = {};
1293
- Object.keys(s).map((e) => {
1292
+ }, Symbol.toStringTag, { value: "Module" })), t = /* @__PURE__ */ Object.assign({ "./asa/adplacement.js": ee, "./asa/age.js": _e, "./asa/appCategory.js": de, "./asa/category.js": me, "./asa/customerType.js": pe, "./asa/device.js": we, "./asa/gender.js": Ee, "./asa/level.js": Pe, "./asa/matchType.js": Ge, "./asa/metric.js": Ne, "./asa/metricAsa.js": Oe, "./asa/metricEX.js": De, "./asa/metricMmp.js": Fe, "./asa/tag.js": He }), k = {};
1293
+ Object.keys(t).map((e) => {
1294
1294
  const a = e.match(/asa\/(\S*).js/)[1];
1295
- k[a] = s[e].default;
1295
+ k[a] = t[e].default;
1296
1296
  });
1297
1297
  const xe = Object.freeze(k), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1298
1298
  __proto__: null,
@@ -5221,7 +5221,7 @@ const xe = Object.freeze(k), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
5221
5221
  }), ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5222
5222
  __proto__: null,
5223
5223
  default: ua
5224
- }, Symbol.toStringTag, { value: "Module" })), b = Object.freeze([
5224
+ }, Symbol.toStringTag, { value: "Module" })), r = Object.freeze([
5225
5225
  {
5226
5226
  label: "Spend",
5227
5227
  label_en_us: "Spend",
@@ -5485,9 +5485,9 @@ const xe = Object.freeze(k), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
5485
5485
  ...i
5486
5486
  ]), ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5487
5487
  __proto__: null,
5488
- default: b
5488
+ default: r
5489
5489
  }, Symbol.toStringTag, { value: "Module" })), c = [];
5490
- b.forEach((e) => {
5490
+ r.forEach((e) => {
5491
5491
  c.filter((a) => a.value === e.value).length === 0 && c.push(e);
5492
5492
  });
5493
5493
  const sa = Object.freeze(c), ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5734,7 +5734,7 @@ const sa = Object.freeze(c), ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
5734
5734
  __proto__: null,
5735
5735
  default: R
5736
5736
  }, Symbol.toStringTag, { value: "Module" })), I = {};
5737
- [...R.arr, ...b].forEach((e) => {
5737
+ [...R.arr, ...r].forEach((e) => {
5738
5738
  I[e.value] = e;
5739
5739
  });
5740
5740
  const ha = Object.freeze(I), ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6190,11 +6190,11 @@ const ha = Object.freeze(I), ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
6190
6190
  return !1;
6191
6191
  {
6192
6192
  const a = /* @__PURE__ */ new Date(), n = new Date(a.getFullYear(), 0, 1), l = new Date(a.getFullYear(), 6, 1), o = (Y) => {
6193
- var r;
6194
- const J = ((r = new Intl.DateTimeFormat("en-US", {
6193
+ var s;
6194
+ const J = ((s = new Intl.DateTimeFormat("en-US", {
6195
6195
  timeZone: e,
6196
6196
  timeZoneName: "longOffset"
6197
- }).formatToParts(Y).find((q) => q.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : r[0]) || "+00:00", [_l, Z, W, $] = J.match(
6197
+ }).formatToParts(Y).find((q) => q.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : s[0]) || "+00:00", [_l, Z, W, $] = J.match(
6198
6198
  /([+-])(\d{2})(?::?(\d{2}))?/
6199
6199
  );
6200
6200
  return (Z === "+" ? -1 : 1) * (parseInt(W) * 60 + parseInt($ || "00"));
@@ -12008,10 +12008,10 @@ const ha = Object.freeze(I), ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
12008
12008
  }), Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12009
12009
  __proto__: null,
12010
12010
  default: Oa
12011
- }, Symbol.toStringTag, { value: "Module" })), t = /* @__PURE__ */ Object.assign({ "./common/aibtn.js": Ze, "./common/category.js": $e, "./common/currency.js": Qe, "./common/currencyMap.js": ea, "./common/emptyMap.js": la, "./common/iconMap.js": ia, "./common/lang.js": oa, "./common/langAll.js": ba, "./common/metricAll.js": ta, "./common/metricAllObj.js": ma, "./common/metricAsa.js": ra, "./common/metricAsaChart.js": va, "./common/metricFormat.js": pa, "./common/metricMmpChart.js": Ta, "./common/permissionOptions.js": Ma, "./common/platform.js": Ea, "./common/timezone.js": Ga, "./common/timezoneCombine.js": Ra, "./common/timezoneNew.js": Ba, "./common/timezoneOptions.js": ja, "./common/txtMap.js": Ka }), j = {};
12012
- Object.keys(t).map((e) => {
12011
+ }, Symbol.toStringTag, { value: "Module" })), d = /* @__PURE__ */ Object.assign({ "./common/aibtn.js": Ze, "./common/category.js": $e, "./common/currency.js": Qe, "./common/currencyMap.js": ea, "./common/emptyMap.js": la, "./common/iconMap.js": ia, "./common/lang.js": oa, "./common/langAll.js": ba, "./common/metricAll.js": ta, "./common/metricAllObj.js": ma, "./common/metricAsa.js": ra, "./common/metricAsaChart.js": va, "./common/metricFormat.js": pa, "./common/metricMmpChart.js": Ta, "./common/permissionOptions.js": Ma, "./common/platform.js": Ea, "./common/timezone.js": Ga, "./common/timezoneCombine.js": Ra, "./common/timezoneNew.js": Ba, "./common/timezoneOptions.js": ja, "./common/txtMap.js": Ka }), j = {};
12012
+ Object.keys(d).map((e) => {
12013
12013
  const a = e.match(/common\/(\S*).js/)[1];
12014
- j[a] = t[e].default;
12014
+ j[a] = d[e].default;
12015
12015
  });
12016
12016
  const La = Object.freeze(j), Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12017
12017
  __proto__: null,
@@ -15946,10 +15946,10 @@ const Za = Object.freeze(F), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
15946
15946
  ]), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15947
15947
  __proto__: null,
15948
15948
  default: $a
15949
- }, Symbol.toStringTag, { value: "Module" })), d = /* @__PURE__ */ Object.assign({ "./country/asa.js": Va, "./country/asaObj.js": Ha, "./country/continent.js": Ya, "./country/countryAll.js": Ja, "./country/countryAllObj.js": Wa, "./country/group.js": qa }), V = {};
15950
- Object.keys(d).map((e) => {
15949
+ }, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.assign({ "./country/asa.js": Va, "./country/asaObj.js": Ha, "./country/continent.js": Ya, "./country/countryAll.js": Ja, "./country/countryAllObj.js": Wa, "./country/group.js": qa }), V = {};
15950
+ Object.keys(v).map((e) => {
15951
15951
  const a = e.match(/country\/(\S*).js/)[1];
15952
- V[a] = d[e].default;
15952
+ V[a] = v[e].default;
15953
15953
  });
15954
15954
  const Qa = Object.freeze(V), Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15955
15955
  __proto__: null,
@@ -16365,10 +16365,10 @@ const Qa = Object.freeze(V), Xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */
16365
16365
  }), nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16366
16366
  __proto__: null,
16367
16367
  default: ll
16368
- }, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Ye, "./chip/common.js": Fa, "./chip/country.js": Xa, "./chip/lang.js": al, "./chip/statusMap.js": nl }), _ = {};
16369
- for (const e in v) {
16368
+ }, Symbol.toStringTag, { value: "Module" })), h = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Ye, "./chip/common.js": Fa, "./chip/country.js": Xa, "./chip/lang.js": al, "./chip/statusMap.js": nl }), _ = {};
16369
+ for (const e in h) {
16370
16370
  const a = e.match(/chip\/(\S*).js/)[1];
16371
- _[a] = v[e].default;
16371
+ _[a] = h[e].default;
16372
16372
  }
16373
16373
  const ol = (e) => {
16374
16374
  if (!e)
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.13",
4
+ "version": "1.0.14",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",