react-marketing-tools 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{manifest.json → .vite/manifest.json} +2 -2
- package/dist/analytics/analyticsEventService.d.ts +1 -1
- package/dist/analytics/ga4GoogleAnalyticsEventTracking.d.ts +1 -1
- package/dist/analytics/handleDataLayerPush.d.ts +1 -1
- package/dist/analytics/helpers.d.ts +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/ipInfo/index.d.ts +1 -1
- package/dist/react-marketing-tools.es.js +117 -117
- package/dist/react-marketing-tools.umd.js +14 -14
- package/dist/{types.d.ts → types/index.d.ts} +37 -16
- package/package.json +9 -5
- package/dist/analytics/types.d.ts +0 -60
- package/dist/ipInfo/types.d.ts +0 -21
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Qo, { createContext as Zo, useMemo as vo, useContext as Yo } from "react";
|
|
2
|
-
const y = (e, l = "") => l ? e.hasOwnProperty(l) : Object.keys(e).length > 0, Jo = (e, l) => l ? e.replace(/[\s]/g, l) : e.replace(/[\s]+/g, ""),
|
|
2
|
+
const y = (e, l = "") => l ? e.hasOwnProperty(l) : Object.keys(e).length > 0, Jo = (e, l) => l ? e.replace(/[\s]/g, l) : e.replace(/[\s]+/g, ""), Or = async (e) => {
|
|
3
3
|
const l = new TextEncoder().encode(e), r = await crypto.subtle.digest("SHA-256", l);
|
|
4
4
|
return Array.from(new Uint8Array(r)).map((i) => i.toString(16).padStart(2, "0")).join("");
|
|
5
5
|
};
|
|
6
|
-
let
|
|
6
|
+
let Ir;
|
|
7
7
|
const O = (e, l = "") => {
|
|
8
8
|
if (!e)
|
|
9
9
|
throw new Error(l ?? "Is true assertion failed");
|
|
@@ -39,7 +39,7 @@ const O = (e, l = "") => {
|
|
|
39
39
|
});
|
|
40
40
|
console.group(), console.info("BuildInGlobalEventActionList"), console.table(e), console.groupEnd();
|
|
41
41
|
};
|
|
42
|
-
let
|
|
42
|
+
let E = { ...Ir };
|
|
43
43
|
const BG = (e) => {
|
|
44
44
|
const {
|
|
45
45
|
appName: l,
|
|
@@ -52,7 +52,7 @@ const BG = (e) => {
|
|
|
52
52
|
withDeviceInfo: c = !1,
|
|
53
53
|
withServerLocationInfo: u = !1
|
|
54
54
|
} = { ...e };
|
|
55
|
-
O(!!l, "An appName must be provided in the config."),
|
|
55
|
+
O(!!l, "An appName must be provided in the config."), E = {
|
|
56
56
|
TOKENS: x,
|
|
57
57
|
appName: l,
|
|
58
58
|
appSessionCookieName: r,
|
|
@@ -70,7 +70,7 @@ const BG = (e) => {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}, Dr = async (e) => {
|
|
73
|
-
const { TOKENS: l } = { ...
|
|
73
|
+
const { TOKENS: l } = { ...E };
|
|
74
74
|
if (O(
|
|
75
75
|
e ? !!(l != null && l.IP_INFO_TOKEN) : !0,
|
|
76
76
|
"if you want serverLocationInfo your config must have the TOKEN.IP_INFO_TOKEN AND withServerLocationInfo must be true."
|
|
@@ -43819,11 +43819,11 @@ const _3 = [
|
|
|
43819
43819
|
operatingSystem: L3,
|
|
43820
43820
|
osFamilies: h3
|
|
43821
43821
|
};
|
|
43822
|
-
var
|
|
43822
|
+
var zo = S && S.__importDefault || function(e) {
|
|
43823
43823
|
return e && e.__esModule ? e : { default: e };
|
|
43824
43824
|
};
|
|
43825
43825
|
Object.defineProperty(We, "__esModule", { value: !0 });
|
|
43826
|
-
const E3 =
|
|
43826
|
+
const E3 = zo(_3), B3 = w, Uo = h, Q = L, jo = zo(b3), C3 = ["AmigaOS", "IBM", "GNU/Linux", "Mac", "Unix", "Windows", "BeOS", "Chrome OS"], N3 = jo.default.operatingSystem, O3 = jo.default.osFamilies;
|
|
43827
43827
|
class ee {
|
|
43828
43828
|
constructor(l) {
|
|
43829
43829
|
this.options = {
|
|
@@ -47050,7 +47050,7 @@ class gG {
|
|
|
47050
47050
|
skipBotDetection: !1,
|
|
47051
47051
|
versionTruncation: 1
|
|
47052
47052
|
}, this.parse = (r) => {
|
|
47053
|
-
var d, a, i, g, x, c, u, M, T,
|
|
47053
|
+
var d, a, i, g, x, c, u, M, T, B, C, X, F, V;
|
|
47054
47054
|
const n = {
|
|
47055
47055
|
client: this.clientParser.parse(r),
|
|
47056
47056
|
os: this.operatingSystemParser.parse(r),
|
|
@@ -47061,7 +47061,7 @@ class gG {
|
|
|
47061
47061
|
const le = this.vendorFragmentParser.parse(r);
|
|
47062
47062
|
le && (n.device || (n.device = this.createDeviceObject()), n.device.brand = le);
|
|
47063
47063
|
}
|
|
47064
|
-
return !(!((g = n.device) === null || g === void 0) && g.brand) && ["Apple TV", "watchOS", "iOS", "Mac"].includes(p || "") && (n.device || (n.device = this.createDeviceObject()), n.device.brand = "Apple"), !(!((x = n.device) === null || x === void 0) && x.type) && Y === "Android" && I.userAgentParser("Chrome/[\\.0-9]*", r) && (I.userAgentParser("Chrome/[.0-9]* (?:Mobile|eliboM)", r) ? (n.device || (n.device = this.createDeviceObject()), n.device.type = "smartphone") : I.userAgentParser("Chrome/[.0-9]* (?!Mobile)", r) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "tablet")), (!(!((c = n.device) === null || c === void 0) && c.type) && this.hasAndroidTabletFragment(r) || I.userAgentParser("Opera Tablet", r)) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "tablet"), !(!((u = n.device) === null || u === void 0) && u.type) && this.hasAndroidMobileFragment(r) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "smartphone"), !(!((M = n.device) === null || M === void 0) && M.type) && p === "Android" && H !== "" && (ge.versionCompare(H, "2.0") === -1 ? (n.device || (n.device = this.createDeviceObject()), n.device.type = "smartphone") : ge.versionCompare(H, "3.0") >= 0 && ge.versionCompare(H, "4.0") === -1 && (n.device || (n.device = this.createDeviceObject()), n.device.type = "tablet")), ((T = n.device) === null || T === void 0 ? void 0 : T.type) === "feature phone" && Y === "Android" && (n.device.type = "smartphone"), !(!((
|
|
47064
|
+
return !(!((g = n.device) === null || g === void 0) && g.brand) && ["Apple TV", "watchOS", "iOS", "Mac"].includes(p || "") && (n.device || (n.device = this.createDeviceObject()), n.device.brand = "Apple"), !(!((x = n.device) === null || x === void 0) && x.type) && Y === "Android" && I.userAgentParser("Chrome/[\\.0-9]*", r) && (I.userAgentParser("Chrome/[.0-9]* (?:Mobile|eliboM)", r) ? (n.device || (n.device = this.createDeviceObject()), n.device.type = "smartphone") : I.userAgentParser("Chrome/[.0-9]* (?!Mobile)", r) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "tablet")), (!(!((c = n.device) === null || c === void 0) && c.type) && this.hasAndroidTabletFragment(r) || I.userAgentParser("Opera Tablet", r)) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "tablet"), !(!((u = n.device) === null || u === void 0) && u.type) && this.hasAndroidMobileFragment(r) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "smartphone"), !(!((M = n.device) === null || M === void 0) && M.type) && p === "Android" && H !== "" && (ge.versionCompare(H, "2.0") === -1 ? (n.device || (n.device = this.createDeviceObject()), n.device.type = "smartphone") : ge.versionCompare(H, "3.0") >= 0 && ge.versionCompare(H, "4.0") === -1 && (n.device || (n.device = this.createDeviceObject()), n.device.type = "tablet")), ((T = n.device) === null || T === void 0 ? void 0 : T.type) === "feature phone" && Y === "Android" && (n.device.type = "smartphone"), !(!((B = n.device) === null || B === void 0) && B.type) && this.isToucheEnabled(r) && (p === "Windows RT" || p === "Windows" && ge.versionCompare(H, "8.0") >= 0) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "tablet"), I.userAgentParser("Opera TV Store", r) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "television"), I.userAgentParser("SmartTV|Tizen.+ TV .+$", r) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "television"), !(!((C = n.device) === null || C === void 0) && C.type) && ["Kylo", "Espial TV Browser"].includes(((X = n.client) === null || X === void 0 ? void 0 : X.name) || "") && (n.device || (n.device = this.createDeviceObject()), n.device.type = "television"), ((F = n.device) === null || F === void 0 ? void 0 : F.type) !== "desktop" && I.userAgentParser("Desktop", r) !== null && this.hasDesktopFragment(r) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "desktop"), !(!((V = n.device) === null || V === void 0) && V.type) && this.isDesktop(n, Y) && (n.device || (n.device = this.createDeviceObject()), n.device.type = "desktop"), n;
|
|
47065
47065
|
}, this.hasAndroidMobileFragment = (r) => I.userAgentParser("Android( [.0-9]+)?; Mobile;", r), this.hasAndroidTabletFragment = (r) => I.userAgentParser("Android( [.0-9]+)?; Tablet;", r), this.hasDesktopFragment = (r) => I.userAgentParser("Desktop (x(?:32|64)|WOW64);", r), this.isDesktop = (r, d) => !r.os || this.usesMobileBrowser(r.client) ? !1 : _e.default.getDesktopOsArray().includes(d), this.usesMobileBrowser = (r) => {
|
|
47066
47066
|
var d, a;
|
|
47067
47067
|
return r ? ((d = r) === null || d === void 0 ? void 0 : d.type) === "browser" && mG.default.isMobileOnlyBrowser((a = r) === null || a === void 0 ? void 0 : a.name) : !1;
|
|
@@ -47081,7 +47081,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47081
47081
|
);
|
|
47082
47082
|
for (let a in e)
|
|
47083
47083
|
if (r.includes(a)) {
|
|
47084
|
-
const i = e[a], g = await
|
|
47084
|
+
const i = e[a], g = await Or(i);
|
|
47085
47085
|
d[a] = g;
|
|
47086
47086
|
}
|
|
47087
47087
|
return d;
|
|
@@ -47098,13 +47098,13 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47098
47098
|
throw new Error(
|
|
47099
47099
|
"actionPrefix AND globalAppEvent must be included in the eventNameInfo object passed to buildAnalyticsEventName function"
|
|
47100
47100
|
);
|
|
47101
|
-
const { currentSequence: l, previousSequence: r } =
|
|
47101
|
+
const { currentSequence: l, previousSequence: r } = er(
|
|
47102
47102
|
e.globalAppEvent,
|
|
47103
47103
|
e.previousGlobalAppEvent
|
|
47104
47104
|
);
|
|
47105
47105
|
return `${e.actionPrefix}${e.description ? `_${Jo(e.description, "_").toUpperCase()}` : ""}_${l}${r ? `_${r}` : ""}`;
|
|
47106
|
-
},
|
|
47107
|
-
const r = Date.now(), a = new Date(r).toISOString(), { withServerLocationInfo: i } =
|
|
47106
|
+
}, qo = async (e, l) => {
|
|
47107
|
+
const r = Date.now(), a = new Date(r).toISOString(), { withServerLocationInfo: i } = E, g = await Dr(
|
|
47108
47108
|
i
|
|
47109
47109
|
);
|
|
47110
47110
|
let x = g ? {
|
|
@@ -47118,8 +47118,8 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47118
47118
|
return MG(x, e, l);
|
|
47119
47119
|
}, uG = (e) => !!window.dataLayer.find(
|
|
47120
47120
|
(r) => r.event === e
|
|
47121
|
-
), $G = (e) => new sG().parse(e),
|
|
47122
|
-
const { analyticsGlobalEventActionList: r } =
|
|
47121
|
+
), $G = (e) => new sG().parse(e), er = (e, l = "") => {
|
|
47122
|
+
const { analyticsGlobalEventActionList: r } = E;
|
|
47123
47123
|
let d = "";
|
|
47124
47124
|
O(
|
|
47125
47125
|
Object.values(r).includes(e),
|
|
@@ -47140,9 +47140,9 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47140
47140
|
);
|
|
47141
47141
|
return { currentSequence: a, previousSequence: d };
|
|
47142
47142
|
}, AG = (e, l) => Object.assign(e, l), MG = (e, l, r) => {
|
|
47143
|
-
const { analyticsGlobalEventActionList: d, includeUserKeys: a } =
|
|
47143
|
+
const { analyticsGlobalEventActionList: d, includeUserKeys: a } = E;
|
|
47144
47144
|
let i = {};
|
|
47145
|
-
const { currentSequence: g } =
|
|
47145
|
+
const { currentSequence: g } = er(r);
|
|
47146
47146
|
for (const x in d)
|
|
47147
47147
|
x === g && Object.entries(l).map(([c, u]) => {
|
|
47148
47148
|
const M = c;
|
|
@@ -47158,7 +47158,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47158
47158
|
if ((r == null ? void 0 : r.length) === 2)
|
|
47159
47159
|
return (a = (d = r == null ? void 0 : r.pop()) == null ? void 0 : d.split(";")) == null ? void 0 : a.shift();
|
|
47160
47160
|
}, PG = async (e) => {
|
|
47161
|
-
const { consoleLogData: l, data: r, eventName: d, globalAppEvent: a, userDetails: i } = e, { appSessionCookieName: g, TOKENS: x } = { ...
|
|
47161
|
+
const { consoleLogData: l, data: r, eventName: d, globalAppEvent: a, userDetails: i } = e, { appSessionCookieName: g, TOKENS: x } = { ...E };
|
|
47162
47162
|
O(
|
|
47163
47163
|
!!x,
|
|
47164
47164
|
"TOKENS in config must contain GA4_PUBLIC_API_SECRET and GA4_PUBLIC_MEASUREMENT_ID key: value if you want to use ga4GoogleAnalyticsEventTracking"
|
|
@@ -47169,7 +47169,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47169
47169
|
y(x, "GA4_PUBLIC_MEASUREMENT_ID"),
|
|
47170
47170
|
"GA4_PUBLIC_MEASUREMENT_ID not supplied in config"
|
|
47171
47171
|
);
|
|
47172
|
-
const { GA4_PUBLIC_API_SECRET: c, GA4_PUBLIC_MEASUREMENT_ID: u } = { ...x }, M = await
|
|
47172
|
+
const { GA4_PUBLIC_API_SECRET: c, GA4_PUBLIC_MEASUREMENT_ID: u } = { ...x }, M = await qo(r, a), T = {
|
|
47173
47173
|
non_personalized_ads: !1,
|
|
47174
47174
|
client_id: Ee(g) ?? "",
|
|
47175
47175
|
user_id: `${(i == null ? void 0 : i.id) ?? ""}`,
|
|
@@ -47208,7 +47208,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47208
47208
|
globalAppEvent: a,
|
|
47209
47209
|
dataLayerCheck: i,
|
|
47210
47210
|
userDetails: g
|
|
47211
|
-
} = e, { appName: x, appSessionCookieName: c, withDeviceInfo: u } =
|
|
47211
|
+
} = e, { appName: x, appSessionCookieName: c, withDeviceInfo: u } = E, M = navigator.userAgent, T = u && $G(M), B = await qo(r, a), C = {
|
|
47212
47212
|
event: d,
|
|
47213
47213
|
// equal to event name for google analytics
|
|
47214
47214
|
globalVars: {
|
|
@@ -47227,7 +47227,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47227
47227
|
client_id: Ee(c)
|
|
47228
47228
|
},
|
|
47229
47229
|
journeyProps: {
|
|
47230
|
-
...
|
|
47230
|
+
...B
|
|
47231
47231
|
}
|
|
47232
47232
|
};
|
|
47233
47233
|
pG({ dataLayerData: C, ...l }), i && uG(d) || window.dataLayer.push(C);
|
|
@@ -47247,7 +47247,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47247
47247
|
userDataToHashKeyArray: a = null,
|
|
47248
47248
|
dataLayerCheck: i = !1,
|
|
47249
47249
|
consoleLogData: g = null
|
|
47250
|
-
} = e, { includeUserKeys: x, showMissingUserAttributesInConsole: c } =
|
|
47250
|
+
} = e, { includeUserKeys: x, showMissingUserAttributesInConsole: c } = E;
|
|
47251
47251
|
O(
|
|
47252
47252
|
y(f, d),
|
|
47253
47253
|
`"analyticsType" of ${d} cannot be found in the analyticsPlatform object to view available platforms use showMeBuildInAnalyticsPlatform()`
|
|
@@ -47268,7 +47268,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47268
47268
|
},
|
|
47269
47269
|
userDetails: Le(
|
|
47270
47270
|
l,
|
|
47271
|
-
|
|
47271
|
+
E.includeUserKeys,
|
|
47272
47272
|
c
|
|
47273
47273
|
),
|
|
47274
47274
|
consoleLogData: g
|
|
@@ -47306,7 +47306,7 @@ const sG = /* @__PURE__ */ Fr(xG), cG = async (e, l) => {
|
|
|
47306
47306
|
var Be = { exports: {} }, j = {};
|
|
47307
47307
|
/**
|
|
47308
47308
|
* @license React
|
|
47309
|
-
* react-jsx-runtime.
|
|
47309
|
+
* react-jsx-runtime.development.js
|
|
47310
47310
|
*
|
|
47311
47311
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
47312
47312
|
*
|
|
@@ -47315,36 +47315,8 @@ var Be = { exports: {} }, j = {};
|
|
|
47315
47315
|
*/
|
|
47316
47316
|
var ko;
|
|
47317
47317
|
function GG() {
|
|
47318
|
-
|
|
47319
|
-
|
|
47320
|
-
ko = 1;
|
|
47321
|
-
var e = Qo, l = Symbol.for("react.element"), r = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
47322
|
-
function g(x, c, u) {
|
|
47323
|
-
var M, T = {}, E = null, C = null;
|
|
47324
|
-
u !== void 0 && (E = "" + u), c.key !== void 0 && (E = "" + c.key), c.ref !== void 0 && (C = c.ref);
|
|
47325
|
-
for (M in c)
|
|
47326
|
-
d.call(c, M) && !i.hasOwnProperty(M) && (T[M] = c[M]);
|
|
47327
|
-
if (x && x.defaultProps)
|
|
47328
|
-
for (M in c = x.defaultProps, c)
|
|
47329
|
-
T[M] === void 0 && (T[M] = c[M]);
|
|
47330
|
-
return { $$typeof: l, type: x, key: E, ref: C, props: T, _owner: a.current };
|
|
47331
|
-
}
|
|
47332
|
-
return j.Fragment = r, j.jsx = g, j.jsxs = g, j;
|
|
47333
|
-
}
|
|
47334
|
-
var q = {};
|
|
47335
|
-
/**
|
|
47336
|
-
* @license React
|
|
47337
|
-
* react-jsx-runtime.development.js
|
|
47338
|
-
*
|
|
47339
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
47340
|
-
*
|
|
47341
|
-
* This source code is licensed under the MIT license found in the
|
|
47342
|
-
* LICENSE file in the root directory of this source tree.
|
|
47343
|
-
*/
|
|
47344
|
-
var Ko;
|
|
47345
|
-
function _G() {
|
|
47346
|
-
return Ko || (Ko = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47347
|
-
var e = Qo, l = Symbol.for("react.element"), r = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), x = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), X = Symbol.iterator, F = "@@iterator";
|
|
47318
|
+
return ko || (ko = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47319
|
+
var e = Qo, l = Symbol.for("react.element"), r = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), x = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), X = Symbol.iterator, F = "@@iterator";
|
|
47348
47320
|
function V(o) {
|
|
47349
47321
|
if (o === null || typeof o != "object")
|
|
47350
47322
|
return null;
|
|
@@ -47369,16 +47341,16 @@ function _G() {
|
|
|
47369
47341
|
v.unshift("Warning: " + t), Function.prototype.apply.call(console[o], console, v);
|
|
47370
47342
|
}
|
|
47371
47343
|
}
|
|
47372
|
-
var Y = !1, Ye = !1, le = !1,
|
|
47344
|
+
var Y = !1, Ye = !1, le = !1, lr = !1, dr = !1, Je;
|
|
47373
47345
|
Je = Symbol.for("react.module.reference");
|
|
47374
|
-
function
|
|
47375
|
-
return !!(typeof o == "string" || typeof o == "function" || o === d || o === i ||
|
|
47346
|
+
function ar(o) {
|
|
47347
|
+
return !!(typeof o == "string" || typeof o == "function" || o === d || o === i || dr || o === a || o === u || o === M || lr || o === C || Y || Ye || le || typeof o == "object" && o !== null && (o.$$typeof === B || o.$$typeof === T || o.$$typeof === g || o.$$typeof === x || o.$$typeof === c || // This needs to include all possible module reference object
|
|
47376
47348
|
// types supported by any Flight configuration anywhere since
|
|
47377
47349
|
// we don't know which Flight build this will end up being used
|
|
47378
47350
|
// with.
|
|
47379
47351
|
o.$$typeof === Je || o.getModuleId !== void 0));
|
|
47380
47352
|
}
|
|
47381
|
-
function
|
|
47353
|
+
function ir(o, t, m) {
|
|
47382
47354
|
var s = o.displayName;
|
|
47383
47355
|
if (s)
|
|
47384
47356
|
return s;
|
|
@@ -47418,11 +47390,11 @@ function _G() {
|
|
|
47418
47390
|
var m = o;
|
|
47419
47391
|
return ze(m._context) + ".Provider";
|
|
47420
47392
|
case c:
|
|
47421
|
-
return
|
|
47393
|
+
return ir(o, o.render, "ForwardRef");
|
|
47422
47394
|
case T:
|
|
47423
47395
|
var s = o.displayName || null;
|
|
47424
47396
|
return s !== null ? s : D(o.type) || "Memo";
|
|
47425
|
-
case
|
|
47397
|
+
case B: {
|
|
47426
47398
|
var P = o, v = P._payload, A = P._init;
|
|
47427
47399
|
try {
|
|
47428
47400
|
return D(A(v));
|
|
@@ -47437,7 +47409,7 @@ function _G() {
|
|
|
47437
47409
|
function io() {
|
|
47438
47410
|
}
|
|
47439
47411
|
io.__reactDisabledLog = !0;
|
|
47440
|
-
function
|
|
47412
|
+
function tr() {
|
|
47441
47413
|
{
|
|
47442
47414
|
if (J === 0) {
|
|
47443
47415
|
je = console.log, qe = console.info, eo = console.warn, oo = console.error, ro = console.group, lo = console.groupCollapsed, ao = console.groupEnd;
|
|
@@ -47460,7 +47432,7 @@ function _G() {
|
|
|
47460
47432
|
J++;
|
|
47461
47433
|
}
|
|
47462
47434
|
}
|
|
47463
|
-
function
|
|
47435
|
+
function mr() {
|
|
47464
47436
|
{
|
|
47465
47437
|
if (J--, J === 0) {
|
|
47466
47438
|
var o = {
|
|
@@ -47511,8 +47483,8 @@ function _G() {
|
|
|
47511
47483
|
}
|
|
47512
47484
|
var $e = !1, ae;
|
|
47513
47485
|
{
|
|
47514
|
-
var
|
|
47515
|
-
ae = new
|
|
47486
|
+
var nr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
47487
|
+
ae = new nr();
|
|
47516
47488
|
}
|
|
47517
47489
|
function to(o, t) {
|
|
47518
47490
|
if (!o || $e)
|
|
@@ -47527,7 +47499,7 @@ function _G() {
|
|
|
47527
47499
|
var P = Error.prepareStackTrace;
|
|
47528
47500
|
Error.prepareStackTrace = void 0;
|
|
47529
47501
|
var v;
|
|
47530
|
-
v = Se.current, Se.current = null,
|
|
47502
|
+
v = Se.current, Se.current = null, tr();
|
|
47531
47503
|
try {
|
|
47532
47504
|
if (t) {
|
|
47533
47505
|
var A = function() {
|
|
@@ -47580,15 +47552,15 @@ function _G() {
|
|
|
47580
47552
|
}
|
|
47581
47553
|
}
|
|
47582
47554
|
} finally {
|
|
47583
|
-
$e = !1, Se.current = v,
|
|
47555
|
+
$e = !1, Se.current = v, mr(), Error.prepareStackTrace = P;
|
|
47584
47556
|
}
|
|
47585
47557
|
var W = o ? o.displayName || o.name : "", To = W ? de(W) : "";
|
|
47586
47558
|
return typeof o == "function" && ae.set(o, To), To;
|
|
47587
47559
|
}
|
|
47588
|
-
function
|
|
47560
|
+
function gr(o, t, m) {
|
|
47589
47561
|
return to(o, !1);
|
|
47590
47562
|
}
|
|
47591
|
-
function
|
|
47563
|
+
function xr(o) {
|
|
47592
47564
|
var t = o.prototype;
|
|
47593
47565
|
return !!(t && t.isReactComponent);
|
|
47594
47566
|
}
|
|
@@ -47596,7 +47568,7 @@ function _G() {
|
|
|
47596
47568
|
if (o == null)
|
|
47597
47569
|
return "";
|
|
47598
47570
|
if (typeof o == "function")
|
|
47599
|
-
return to(o,
|
|
47571
|
+
return to(o, xr(o));
|
|
47600
47572
|
if (typeof o == "string")
|
|
47601
47573
|
return de(o);
|
|
47602
47574
|
switch (o) {
|
|
@@ -47608,10 +47580,10 @@ function _G() {
|
|
|
47608
47580
|
if (typeof o == "object")
|
|
47609
47581
|
switch (o.$$typeof) {
|
|
47610
47582
|
case c:
|
|
47611
|
-
return
|
|
47583
|
+
return gr(o.render);
|
|
47612
47584
|
case T:
|
|
47613
47585
|
return ie(o.type, t, m);
|
|
47614
|
-
case
|
|
47586
|
+
case B: {
|
|
47615
47587
|
var s = o, P = s._payload, v = s._init;
|
|
47616
47588
|
try {
|
|
47617
47589
|
return ie(v(P), t, m);
|
|
@@ -47629,7 +47601,7 @@ function _G() {
|
|
|
47629
47601
|
} else
|
|
47630
47602
|
no.setExtraStackFrame(null);
|
|
47631
47603
|
}
|
|
47632
|
-
function
|
|
47604
|
+
function sr(o, t, m, s, P) {
|
|
47633
47605
|
{
|
|
47634
47606
|
var v = Function.call.bind(te);
|
|
47635
47607
|
for (var A in o)
|
|
@@ -47648,17 +47620,17 @@ function _G() {
|
|
|
47648
47620
|
}
|
|
47649
47621
|
}
|
|
47650
47622
|
}
|
|
47651
|
-
var
|
|
47623
|
+
var cr = Array.isArray;
|
|
47652
47624
|
function Ae(o) {
|
|
47653
|
-
return
|
|
47625
|
+
return cr(o);
|
|
47654
47626
|
}
|
|
47655
|
-
function
|
|
47627
|
+
function Sr(o) {
|
|
47656
47628
|
{
|
|
47657
47629
|
var t = typeof Symbol == "function" && Symbol.toStringTag, m = t && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
47658
47630
|
return m;
|
|
47659
47631
|
}
|
|
47660
47632
|
}
|
|
47661
|
-
function
|
|
47633
|
+
function ur(o) {
|
|
47662
47634
|
try {
|
|
47663
47635
|
return go(o), !1;
|
|
47664
47636
|
} catch {
|
|
@@ -47669,17 +47641,17 @@ function _G() {
|
|
|
47669
47641
|
return "" + o;
|
|
47670
47642
|
}
|
|
47671
47643
|
function xo(o) {
|
|
47672
|
-
if (
|
|
47673
|
-
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
47644
|
+
if (ur(o))
|
|
47645
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sr(o)), go(o);
|
|
47674
47646
|
}
|
|
47675
|
-
var z = n.ReactCurrentOwner,
|
|
47647
|
+
var z = n.ReactCurrentOwner, $r = {
|
|
47676
47648
|
key: !0,
|
|
47677
47649
|
ref: !0,
|
|
47678
47650
|
__self: !0,
|
|
47679
47651
|
__source: !0
|
|
47680
47652
|
}, so, co, Me;
|
|
47681
47653
|
Me = {};
|
|
47682
|
-
function
|
|
47654
|
+
function Ar(o) {
|
|
47683
47655
|
if (te.call(o, "ref")) {
|
|
47684
47656
|
var t = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
47685
47657
|
if (t && t.isReactWarning)
|
|
@@ -47687,7 +47659,7 @@ function _G() {
|
|
|
47687
47659
|
}
|
|
47688
47660
|
return o.ref !== void 0;
|
|
47689
47661
|
}
|
|
47690
|
-
function
|
|
47662
|
+
function Mr(o) {
|
|
47691
47663
|
if (te.call(o, "key")) {
|
|
47692
47664
|
var t = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
47693
47665
|
if (t && t.isReactWarning)
|
|
@@ -47695,13 +47667,13 @@ function _G() {
|
|
|
47695
47667
|
}
|
|
47696
47668
|
return o.key !== void 0;
|
|
47697
47669
|
}
|
|
47698
|
-
function
|
|
47670
|
+
function Pr(o, t) {
|
|
47699
47671
|
if (typeof o.ref == "string" && z.current && t && z.current.stateNode !== t) {
|
|
47700
47672
|
var m = D(z.current.type);
|
|
47701
47673
|
Me[m] || (p('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(z.current.type), o.ref), Me[m] = !0);
|
|
47702
47674
|
}
|
|
47703
47675
|
}
|
|
47704
|
-
function
|
|
47676
|
+
function Tr(o, t) {
|
|
47705
47677
|
{
|
|
47706
47678
|
var m = function() {
|
|
47707
47679
|
so || (so = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -47712,7 +47684,7 @@ function _G() {
|
|
|
47712
47684
|
});
|
|
47713
47685
|
}
|
|
47714
47686
|
}
|
|
47715
|
-
function
|
|
47687
|
+
function vr(o, t) {
|
|
47716
47688
|
{
|
|
47717
47689
|
var m = function() {
|
|
47718
47690
|
co || (co = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
@@ -47723,7 +47695,7 @@ function _G() {
|
|
|
47723
47695
|
});
|
|
47724
47696
|
}
|
|
47725
47697
|
}
|
|
47726
|
-
var
|
|
47698
|
+
var pr = function(o, t, m, s, P, v, A) {
|
|
47727
47699
|
var $ = {
|
|
47728
47700
|
// This tag allows us to uniquely identify this as a React Element
|
|
47729
47701
|
$$typeof: l,
|
|
@@ -47752,12 +47724,12 @@ function _G() {
|
|
|
47752
47724
|
value: P
|
|
47753
47725
|
}), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
|
|
47754
47726
|
};
|
|
47755
|
-
function
|
|
47727
|
+
function Gr(o, t, m, s, P) {
|
|
47756
47728
|
{
|
|
47757
47729
|
var v, A = {}, $ = null, b = null;
|
|
47758
|
-
m !== void 0 && (xo(m), $ = "" + m),
|
|
47730
|
+
m !== void 0 && (xo(m), $ = "" + m), Mr(t) && (xo(t.key), $ = "" + t.key), Ar(t) && (b = t.ref, Pr(t, P));
|
|
47759
47731
|
for (v in t)
|
|
47760
|
-
te.call(t, v) &&
|
|
47732
|
+
te.call(t, v) && !$r.hasOwnProperty(v) && (A[v] = t[v]);
|
|
47761
47733
|
if (o && o.defaultProps) {
|
|
47762
47734
|
var G = o.defaultProps;
|
|
47763
47735
|
for (v in G)
|
|
@@ -47765,9 +47737,9 @@ function _G() {
|
|
|
47765
47737
|
}
|
|
47766
47738
|
if ($ || b) {
|
|
47767
47739
|
var _ = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
47768
|
-
$ &&
|
|
47740
|
+
$ && Tr(A, _), b && vr(A, _);
|
|
47769
47741
|
}
|
|
47770
|
-
return
|
|
47742
|
+
return pr(o, $, b, P, s, z.current, A);
|
|
47771
47743
|
}
|
|
47772
47744
|
}
|
|
47773
47745
|
var Pe = n.ReactCurrentOwner, So = n.ReactDebugCurrentFrame;
|
|
@@ -47795,7 +47767,7 @@ Check the render method of \`` + o + "`.";
|
|
|
47795
47767
|
return "";
|
|
47796
47768
|
}
|
|
47797
47769
|
}
|
|
47798
|
-
function
|
|
47770
|
+
function _r(o) {
|
|
47799
47771
|
{
|
|
47800
47772
|
if (o !== void 0) {
|
|
47801
47773
|
var t = o.fileName.replace(/^.*[\\\/]/, ""), m = o.lineNumber;
|
|
@@ -47807,7 +47779,7 @@ Check your code at ` + t + ":" + m + ".";
|
|
|
47807
47779
|
}
|
|
47808
47780
|
}
|
|
47809
47781
|
var $o = {};
|
|
47810
|
-
function
|
|
47782
|
+
function Lr(o) {
|
|
47811
47783
|
{
|
|
47812
47784
|
var t = uo();
|
|
47813
47785
|
if (!t) {
|
|
@@ -47824,7 +47796,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
47824
47796
|
if (!o._store || o._store.validated || o.key != null)
|
|
47825
47797
|
return;
|
|
47826
47798
|
o._store.validated = !0;
|
|
47827
|
-
var m =
|
|
47799
|
+
var m = Lr(t);
|
|
47828
47800
|
if ($o[m])
|
|
47829
47801
|
return;
|
|
47830
47802
|
$o[m] = !0;
|
|
@@ -47851,7 +47823,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
47851
47823
|
}
|
|
47852
47824
|
}
|
|
47853
47825
|
}
|
|
47854
|
-
function
|
|
47826
|
+
function hr(o) {
|
|
47855
47827
|
{
|
|
47856
47828
|
var t = o.type;
|
|
47857
47829
|
if (t == null || typeof t == "string")
|
|
@@ -47867,7 +47839,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
47867
47839
|
return;
|
|
47868
47840
|
if (m) {
|
|
47869
47841
|
var s = D(t);
|
|
47870
|
-
|
|
47842
|
+
sr(m, o.props, "prop", s, o);
|
|
47871
47843
|
} else if (t.PropTypes !== void 0 && !Te) {
|
|
47872
47844
|
Te = !0;
|
|
47873
47845
|
var P = D(t);
|
|
@@ -47876,7 +47848,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
47876
47848
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
47877
47849
|
}
|
|
47878
47850
|
}
|
|
47879
|
-
function
|
|
47851
|
+
function br(o) {
|
|
47880
47852
|
{
|
|
47881
47853
|
for (var t = Object.keys(o.props), m = 0; m < t.length; m++) {
|
|
47882
47854
|
var s = t[m];
|
|
@@ -47890,16 +47862,16 @@ Check the top-level render call using <` + m + ">.");
|
|
|
47890
47862
|
}
|
|
47891
47863
|
function Po(o, t, m, s, P, v) {
|
|
47892
47864
|
{
|
|
47893
|
-
var A =
|
|
47865
|
+
var A = ar(o);
|
|
47894
47866
|
if (!A) {
|
|
47895
47867
|
var $ = "";
|
|
47896
47868
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && ($ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
47897
|
-
var b =
|
|
47869
|
+
var b = _r(P);
|
|
47898
47870
|
b ? $ += b : $ += uo();
|
|
47899
47871
|
var G;
|
|
47900
47872
|
o === null ? G = "null" : Ae(o) ? G = "array" : o !== void 0 && o.$$typeof === l ? (G = "<" + (D(o.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : G = typeof o, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, $);
|
|
47901
47873
|
}
|
|
47902
|
-
var _ =
|
|
47874
|
+
var _ = Gr(o, t, m, P, v);
|
|
47903
47875
|
if (_ == null)
|
|
47904
47876
|
return _;
|
|
47905
47877
|
if (A) {
|
|
@@ -47915,22 +47887,50 @@ Check the top-level render call using <` + m + ">.");
|
|
|
47915
47887
|
else
|
|
47916
47888
|
Mo(N, o);
|
|
47917
47889
|
}
|
|
47918
|
-
return o === d ?
|
|
47890
|
+
return o === d ? br(_) : hr(_), _;
|
|
47919
47891
|
}
|
|
47920
47892
|
}
|
|
47921
|
-
function
|
|
47893
|
+
function Er(o, t, m) {
|
|
47922
47894
|
return Po(o, t, m, !0);
|
|
47923
47895
|
}
|
|
47924
|
-
function
|
|
47896
|
+
function Br(o, t, m) {
|
|
47925
47897
|
return Po(o, t, m, !1);
|
|
47926
47898
|
}
|
|
47927
|
-
var
|
|
47928
|
-
|
|
47929
|
-
}()),
|
|
47899
|
+
var Cr = Br, Nr = Er;
|
|
47900
|
+
j.Fragment = d, j.jsx = Cr, j.jsxs = Nr;
|
|
47901
|
+
}()), j;
|
|
47902
|
+
}
|
|
47903
|
+
var q = {};
|
|
47904
|
+
/**
|
|
47905
|
+
* @license React
|
|
47906
|
+
* react-jsx-runtime.production.min.js
|
|
47907
|
+
*
|
|
47908
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
47909
|
+
*
|
|
47910
|
+
* This source code is licensed under the MIT license found in the
|
|
47911
|
+
* LICENSE file in the root directory of this source tree.
|
|
47912
|
+
*/
|
|
47913
|
+
var Ko;
|
|
47914
|
+
function _G() {
|
|
47915
|
+
if (Ko)
|
|
47916
|
+
return q;
|
|
47917
|
+
Ko = 1;
|
|
47918
|
+
var e = Qo, l = Symbol.for("react.element"), r = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
47919
|
+
function g(x, c, u) {
|
|
47920
|
+
var M, T = {}, B = null, C = null;
|
|
47921
|
+
u !== void 0 && (B = "" + u), c.key !== void 0 && (B = "" + c.key), c.ref !== void 0 && (C = c.ref);
|
|
47922
|
+
for (M in c)
|
|
47923
|
+
d.call(c, M) && !i.hasOwnProperty(M) && (T[M] = c[M]);
|
|
47924
|
+
if (x && x.defaultProps)
|
|
47925
|
+
for (M in c = x.defaultProps, c)
|
|
47926
|
+
T[M] === void 0 && (T[M] = c[M]);
|
|
47927
|
+
return { $$typeof: l, type: x, key: B, ref: C, props: T, _owner: a.current };
|
|
47928
|
+
}
|
|
47929
|
+
return q.Fragment = r, q.jsx = g, q.jsxs = g, q;
|
|
47930
47930
|
}
|
|
47931
|
-
process.env.NODE_ENV === "production" ? Be.exports =
|
|
47931
|
+
process.env.NODE_ENV === "production" ? Be.exports = _G() : Be.exports = GG();
|
|
47932
47932
|
var LG = Be.exports;
|
|
47933
|
-
const Wo = LG.jsx,
|
|
47933
|
+
const Wo = LG.jsx, or = Zo({}), rr = Zo({}), hG = or.Provider, bG = rr.Provider, OG = ({
|
|
47934
47934
|
children: e
|
|
47935
47935
|
}) => {
|
|
47936
47936
|
const l = vo(() => ({
|
|
@@ -47940,11 +47940,11 @@ const Wo = LG.jsx, rr = Zo({}), lr = Zo({}), hG = rr.Provider, bG = lr.Provider,
|
|
|
47940
47940
|
showMeBuildInGlobalEventActionList: Xr
|
|
47941
47941
|
}), [fo]), r = vo(() => ({
|
|
47942
47942
|
analyticsPlatform: f,
|
|
47943
|
-
appName:
|
|
47944
|
-
appSessionCookieName:
|
|
47945
|
-
eventActionPrefixList:
|
|
47946
|
-
analyticsGlobalEventActionList:
|
|
47947
|
-
}), [
|
|
47943
|
+
appName: E.appName,
|
|
47944
|
+
appSessionCookieName: E.appSessionCookieName,
|
|
47945
|
+
eventActionPrefixList: E.eventActionPrefixList,
|
|
47946
|
+
analyticsGlobalEventActionList: E.analyticsGlobalEventActionList
|
|
47947
|
+
}), [E, f]);
|
|
47948
47948
|
return /* @__PURE__ */ Wo(hG, {
|
|
47949
47949
|
value: r,
|
|
47950
47950
|
children: /* @__PURE__ */ Wo(bG, {
|
|
@@ -47953,19 +47953,19 @@ const Wo = LG.jsx, rr = Zo({}), lr = Zo({}), hG = rr.Provider, bG = lr.Provider,
|
|
|
47953
47953
|
})
|
|
47954
47954
|
});
|
|
47955
47955
|
}, IG = () => {
|
|
47956
|
-
const e = Yo(
|
|
47956
|
+
const e = Yo(or);
|
|
47957
47957
|
return O(!!e, "useAppState must be used within the AppProvider"), e;
|
|
47958
47958
|
}, yG = () => {
|
|
47959
|
-
const e = Yo(
|
|
47959
|
+
const e = Yo(rr);
|
|
47960
47960
|
return O(!!e, "useAppApi must be used within the AppProvider"), e;
|
|
47961
47961
|
};
|
|
47962
47962
|
export {
|
|
47963
|
-
|
|
47964
|
-
|
|
47963
|
+
rr as ContextApi,
|
|
47964
|
+
or as ContextState,
|
|
47965
47965
|
OG as ReactMarketingProvider,
|
|
47966
47966
|
f as analyticsPlatform,
|
|
47967
47967
|
BG as buildConfig,
|
|
47968
|
-
|
|
47968
|
+
E as config,
|
|
47969
47969
|
yr as showMeBuildInAnalyticsPlatform,
|
|
47970
47970
|
wr as showMeBuildInEventActionPrefixList,
|
|
47971
47971
|
Xr as showMeBuildInGlobalEventActionList,
|