@getsupertab/supertab-js 3.41.0 → 3.42.0
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/pkg/prod/{browser-ponyfill-qFvxF7UP.js → browser-ponyfill-m6MHpNFQ.js} +1 -1
- package/dist/pkg/prod/{sentry-CxQ8a3Pq.js → sentry-BNfJ7Oph.js} +1 -1
- package/dist/pkg/prod/{supertab-GWPJ1w3u.js → supertab-BtM4mtxA.js} +10 -11
- package/dist/pkg/prod/supertab.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as mu, T as gu, P as _u, a as Su, V as yu } from "./supertab-
|
|
1
|
+
import { r as mu, T as gu, P as _u, a as Su, V as yu } from "./supertab-BtM4mtxA.js";
|
|
2
2
|
const b = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q = globalThis, at = "9.40.0";
|
|
3
3
|
function ht() {
|
|
4
4
|
return lr(q), q;
|
|
@@ -4859,7 +4859,7 @@ const SH = pr({
|
|
|
4859
4859
|
VITE_STATIC_REDIRECT_URI: void 0,
|
|
4860
4860
|
VITE_GTM_CONTAINER_ID: "GTM-NG9GT7FM",
|
|
4861
4861
|
VITE_SENTRY_DSN: "https://d08f3f301f364ceba6345c393c538faf@o23455.ingest.us.sentry.io/4507736861573120",
|
|
4862
|
-
VITE_BASE_URL: "https://js.supertab.co/v3.
|
|
4862
|
+
VITE_BASE_URL: "https://js.supertab.co/v3.42.0/",
|
|
4863
4863
|
VITE_DEMO_CLIENT_ID: void 0,
|
|
4864
4864
|
VITE_API_BASE_URL: void 0,
|
|
4865
4865
|
VITE_SSO_BASE_URL: void 0,
|
|
@@ -4868,7 +4868,7 @@ const SH = pr({
|
|
|
4868
4868
|
VITE_CHECKOUT_URL: void 0,
|
|
4869
4869
|
TAPPER_ENV: "prod",
|
|
4870
4870
|
PACKAGE_NAME: "@getsupertab/supertab-js",
|
|
4871
|
-
PACKAGE_VERSION: "3.
|
|
4871
|
+
PACKAGE_VERSION: "3.42.0",
|
|
4872
4872
|
MONETIZATION_PROVIDER_SCRIPT_URL: void 0,
|
|
4873
4873
|
VITE_POSTHOG_API_HOST: void 0,
|
|
4874
4874
|
VITE_POSTHOG_API_KEY: void 0
|
|
@@ -9918,7 +9918,7 @@ function Xv(t) {
|
|
|
9918
9918
|
}
|
|
9919
9919
|
const G2 = async (t) => {
|
|
9920
9920
|
if (EH) {
|
|
9921
|
-
const { captureException: e } = await import("./sentry-
|
|
9921
|
+
const { captureException: e } = await import("./sentry-BNfJ7Oph.js");
|
|
9922
9922
|
e(t);
|
|
9923
9923
|
}
|
|
9924
9924
|
}, v5 = "tabjs";
|
|
@@ -72307,7 +72307,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
|
|
|
72307
72307
|
typeof Tb != "function" && (Tb = void 0);
|
|
72308
72308
|
if (!Tb && !K5 && !X7)
|
|
72309
72309
|
try {
|
|
72310
|
-
import("./browser-ponyfill-
|
|
72310
|
+
import("./browser-ponyfill-m6MHpNFQ.js").then((t) => t.b).then(function(t) {
|
|
72311
72311
|
Tb = t.default;
|
|
72312
72312
|
}).catch(function() {
|
|
72313
72313
|
});
|
|
@@ -73088,13 +73088,11 @@ const Uue = ({
|
|
|
73088
73088
|
// TODO: salesModel is legacy now, we should remove it and not keep this abstraction
|
|
73089
73089
|
salesModel: i != null && i.isRecurring ? "subscription" : "time_pass"
|
|
73090
73090
|
};
|
|
73091
|
-
}), Bue = (t, e) => {
|
|
73092
|
-
const
|
|
73093
|
-
"new-add-to-my-account-cta-button"
|
|
73094
|
-
);
|
|
73091
|
+
}), Bue = (t, e, n) => {
|
|
73092
|
+
const i = !n && Js.getFeatureFlag("cta-button-copy-get-access-vs-create-account");
|
|
73095
73093
|
return Wt.log(
|
|
73096
73094
|
"Experiment CTA Button Copy Feature Flag:",
|
|
73097
|
-
|
|
73095
|
+
i
|
|
73098
73096
|
), {
|
|
73099
73097
|
title: (e == null ? void 0 : e.title) || /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.title" }),
|
|
73100
73098
|
labelTooltip: /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.label_tooltip" }),
|
|
@@ -73104,7 +73102,7 @@ const Uue = ({
|
|
|
73104
73102
|
loginButtonLabel: /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.login_button_label" }),
|
|
73105
73103
|
ctaButton: {
|
|
73106
73104
|
label: {
|
|
73107
|
-
putItOnMyTab:
|
|
73105
|
+
putItOnMyTab: i === "test" ? /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.create_account" }) : /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.get_access" }),
|
|
73108
73106
|
continueToCheckout: /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.continue_to_checkout" })
|
|
73109
73107
|
}
|
|
73110
73108
|
},
|
|
@@ -73196,7 +73194,8 @@ const Uue = ({
|
|
|
73196
73194
|
Q(fe === Is.VALID);
|
|
73197
73195
|
}, q = N.useMemo(() => Sb(k.limit), [k]), ne = Wue(D == null ? void 0 : D.uiConfig, j), Y = (ne == null ? void 0 : ne.paywallCopy) && ((ae = ne.paywallCopy) == null ? void 0 : ae[d]), ee = Bue(
|
|
73198
73196
|
q,
|
|
73199
|
-
Y
|
|
73197
|
+
Y,
|
|
73198
|
+
W
|
|
73200
73199
|
), he = {
|
|
73201
73200
|
onStartPurchase: e,
|
|
73202
73201
|
onCancel: n,
|