/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({
/***/ 7028:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.planKeys = exports.config = void 0;
const configProd_1 = __webpack_require__(349);
const configStaging_1 = __webpack_require__(2663);
const env_1 = __webpack_require__(3143);
exports.config = env_1.env === "prod" ? configProd_1.configProd : env_1.env === "dev" ? configStaging_1.configDev : configStaging_1.configStaging; //configDev
exports.planKeys = ["_1month", "_3months", "_12months"];
/***/ }),
/***/ 349:
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.configProd = void 0;
const singleGtm = true; // location.search.includes("pocGTM")
exports.configProd = {
// apiUrl: "https://api.pg.com/innovationmanagement/testing/v1/lumimobileapp",
apiUrl: "https://api.gcp.pgcloud.com/brandbuilding/consumer/ssc",
apiAccessToken: "COkNZsoFBGjXTwTX4qEhiBchdobLzE8wyf7jV7AW1TWbiGOQ",
bazaarvoicePasskey: "cadk6wNM1YU5pfEoaaeXZXUzcRLl9wLx6SdCYaaVHTZdA",
bazaarvoiceUrl: "https://api.bazaarvoice.com",
bazaarvoiceProductId: "Pampers_SSC_SmartSleepCoachSubscription",
starsUrl: "https://store-pvhrvuxqgv.mybigcommerce.com/content/img/stars/",
pgSiteEnvironment: "Prod",
pgGoogleAnalyticsLocal: "UA-4805734-181",
pgGoogleAnalyticsReportingView: "193263390",
pgConsentOverlayID: "b3fb142f-1dfb-4159-8e77-48576bc3bc61",
pgFacebookRemarketingID: "1167152113492400",
pgSegment: "r8XGrCquIqVYMkWRxeYyh843bWuyoGC4",
recaptchaSiteKey: "6Ld_PN8nAAAAAMfXhAFfAosf4UwlDfXYJ3mUMw8G",
// new: gtmId: "GTM-TMLVZWQ8", //"GTM-N94XXFB",
gtmId: singleGtm ? "GTM-PQB4L4QL" : "GTM-TMLVZWQ8",
enableGeoFeed: true,
paddleEnvironment: undefined, // when not set it's production
paddleToken: "live_1e2d95f59f794b8540939ef349c",
paddlePriceId: "pri_01j91hz4jkn33pbn03vnagn2xh",
paddlePriceIds: {
_1month: "pri_01jayr6xsest2451mty3zs5dqa",
_3months: "pri_01jayra83vk8cfatnx81202reg",
_12months: "pri_01j91hz4jkn33pbn03vnagn2xh",
},
paddlePriceIdSets: {
dst6: {
_1month: "pri_01jjkn25q192ez2r82snz507p4",
_3months: "pri_01jjkn4h1vwh8e87g426whddk5",
_12months: "pri_01jjkn0a67zr1wryxrh869avjs",
},
bsnt: {
_1month: "pri_01jjkn6zkm4g2nfyxknsqp0783",
_3months: "pri_01jjkn7nc2zd8at2s58hwyy1rs",
_12months: "pri_01jjkn5zvexm0jwjtfj33t72tm",
},
fst: {
_1month: "pri_01jkan9wsaydr09kep3xyxymk0",
_3months: "pri_01jkanar8qe7yt1p2jm8cse7ha",
_12months: "pri_01jkanbgw57rx3s6hedd187bhr",
},
hmnz: {
_1month: "pri_01jt3n713ryee7b9ac64pwxdet",
_3months: "pri_01jt3n5hgpt6fg0w137g1bns8d",
_12months: "pri_01jt3n3zdy3bqfn3d90jvqr53x",
},
v8: {
_1month: "pri_01jayr6xsest2451mty3zs5dqa",
_3months: "pri_01k3k5hgfs230vk6741x8p8pw7",
_12months: null,
},
},
paddlePortalUrl: "https://customer-portal.paddle.com/login/cpl_01j0qwvr29st3xd3p1jpj5ptkn",
masterTheChaosPriceIds: {
amtc: "pri_01jv4bb3b4pawrwqfn2a963wwb",
aamtc: "pri_01jv4beme2j0cczrpqr7j0w06g",
bmtc: "pri_01jv4bbztp36xajw19hdxg9449",
bbmtc: "pri_01jv4bdcs8ktnch7ja1z2meryz",
},
};
/***/ }),
/***/ 2663:
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.configDev = exports.configStaging = void 0;
// const pocGtm = location.search.includes("pocGTM")
exports.configStaging = {
// apiUrl: "https://apiqa.gcp.pgcloud.com/brandbuilding/consumer/ssc" is also supported
apiUrl: "https://apidev.gcp.pgcloud.com/brandbuilding/consumer/ssc",
apiAccessToken: "EVUkrarlkl1QweL7dPdOFGDEKFyGT4KT",
bazaarvoicePasskey: "cayvJ62u3ELqBkmuvrVNySlCyYOlhUmHOPSiz375HmRdQ",
bazaarvoiceUrl: "https://stg.api.bazaarvoice.com",
bazaarvoiceProductId: "E00000002",
starsUrl: "https://store-pvhrvuxqgv.mybigcommerce.com/content/img/stars/",
pgSiteEnvironment: "Staging",
pgGoogleAnalyticsLocal: "UA-38384539-1",
pgGoogleAnalyticsReportingView: "68911582",
pgConsentOverlayID: "b3fb142f-1dfb-4159-8e77-48576bc3bc61-test",
pgFacebookRemarketingID: "416520069746220",
pgSegment: "7o62Z8AH7ui9tGXesqlADGffTgzXmsrp",
recaptchaSiteKey: "6LfNNt8nAAAAAAQ9QcrAy2VmmOUEYQOTKUEWSWTe",
gtmId: "GTM-PQB4L4QL", // : "GTM-TW27C3WG",
enableGeoFeed: true,
paddleEnvironment: "sandbox",
paddleToken: "test_972fd45c16f9068dcb595e1885a",
paddlePriceId: "pri_01j0qx6056ks1d36hdn4m0p33e",
firebase: {
apiKey: "AIzaSyBMQfOzQlXRyS_AB1Tp_IN6AK-Mq9Zok2U",
authDomain: "babycare-lumismart-dev-629b.firebaseapp.com",
projectId: "babycare-lumismart-dev-629b",
storageBucket: "babycare-lumismart-dev-629b.appspot.com",
messagingSenderId: "1098780561668",
appId: "1:1098780561668:web:44bea19a80305d9ce70051",
measurementId: "G-6FZQNPP5JR",
},
paddlePriceIds: {
_1month: "pri_01jays0h611xkdv932bkd6f9c9",
_3months: "pri_01jays6wy189v4v830a6wvfz2n",
_12months: "pri_01j0qx6056ks1d36hdn4m0p33e",
},
paddlePriceIdSets: {
dst6: {
_1month: "pri_01jjknmf30p0btnsxmky8snm05",
_3months: "pri_01jjknn86rwz7qhjcta6hg32cz",
_12months: "pri_01jjknp0asw45f2q24bwc92p4h",
},
bsnt: {
_1month: "pri_01jjknhhb2pgz8r4jjq1dpn36g",
_3months: "pri_01jjknjhnfkxezyjfhr5m2f0hf",
_12months: "pri_01jjknkhd8nczpg2tty1q8cgn4",
},
fst: {
_1month: "pri_01jkankjbrcw256t0c6ms9dmcr",
_3months: "pri_01jkanmdd44dep0zdk0bxe6951",
_12months: "pri_01jkannemr7v0jxqbdjyrmkf88",
},
hmnz: {
_1month: "pri_01jt3mxap62qxf0aaz8wxrchn5",
_3months: "pri_01jt3mw69k6y7gpbaankfpg9fa",
_12months: "pri_01jt3mttd39zw9eawpwqdecpc5",
},
v8: {
_1month: "pri_01k3k5mjcr8fybv17kytbtz0ca",
_3months: "pri_01jays0h611xkdv932bkd6f9c9",
_12months: null,
},
},
paddlePortalUrl: "https://sandbox-customer-portal.paddle.com/login/cpl_01j08ksw75b55xkj9tmzgnwcdk",
masterTheChaosPriceIds: {
amtc: "pri_01jsy9vmh4rmac0t9qqqtv7t5m",
aamtc: "pri_01jtna3fska5zk2rp2pf5vc0e1",
bmtc: "pri_01jsy9w8qjag5jn7ybdwt113xj",
bbmtc: "pri_01jtjj0nj0h6qrc5j0hkx1e381",
},
};
exports.configDev = {
...exports.configStaging,
// apiUrl: "https://api-k8s.dev.sleepcoach.site/v1",
apiUrl: "https://api.sleepcoach.dev",
recaptchaSiteKey: "6Ld7vaUnAAAAALLxarGAewhpmq1rdz1EJ4Fg_n5s",
firebase: {
apiKey: "AIzaSyDhpyJ18wJCcfH9yB8y_0IBeFtJlDOPEUI",
authDomain: "lumismart-dev.firebaseapp.com",
projectId: "lumismart-dev",
storageBucket: "lumismart-dev.appspot.com",
messagingSenderId: "574989815147",
appId: "1:574989815147:web:f62c47ac1dca3d9950502e",
measurementId: "G-1ZTHZRLFT2",
},
};
/***/ }),
/***/ 8066:
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.passwordRegex = exports.paths = exports.esPaths = exports.enPaths = exports.localePathPrefix = exports.locale = void 0;
exports.locale = /^\/es((\/.*)|($))/.test(location.pathname) ? "es" : "en";
exports.localePathPrefix = exports.locale === "es" ? "/es" : "";
exports.enPaths = {
login1: `/sign-in`,
login2: `/sign-in-verification`,
welcome: `/sign-in-welcome`,
register1: `/sign-up`,
register2: `/phone-verification`,
changePhone1: `/change-phone-number`,
changePhone2: `/set-phone-number`,
resetPassword1: `/reset-password`,
resetPassword2: `/set-password`,
reviews: `/reviews`,
welcomeSurvey: `/welcome-questionnaire`,
blog: `/blog`,
doubleOptin: `/double-opt-in`,
surveyEndingPageMetaMain: `/survey-ending-page/meta-main`,
surveyEndingPageTikTok: `/survey-ending-page/tiktok`,
surveyEndingPageWeb2App: `/survey-ending-page/web2app`,
surveyMeta: `/sleep-assessment/meta`,
surveyMetaB: `/sleep-assessment/meta-b`,
finalizeAccount: `/finalize-account`,
fullSurvey: `/survey/full-survey-poc`,
fullSurvey2025: `/survey/full-survey-2025`,
otpEndingPageWeb2App: `/otp-ending-pages/otp-web2app`,
otpEndingPageCheckoutPaddle: `/otp-ending-pages/checkout-paddle`,
cancelFlow: `/cancel-flow`,
manageSubscriptionSignIn: "/manage-subscription/sign-in",
manageSubscriptionSignInVerify: "/manage-subscription/sign-in-verify",
manageSubscriptionAccount: "/manage-subscription/account",
paymentLink: `/payment-link`,
termsOfUse: `/terms-of-use`,
masterTheChaos: "/master-the-chaos",
masterTheChaosConfirmation: "/master-the-chaos-confirmation",
otpEndingPagePaddleCheckout: /\/otp-ending-pages\/.*paddle(.*)/,
otpEndingPages: /\/otp-ending-pages\/(.*)/,
surveyEndingPage: /\/survey-ending-page\/(.*)/,
blogCategory: /\/blog\/tag\/(.*)/,
blogContributor: /\/blog\/contributors\/(.*)/,
blogArticle: /\/blog\/(.*)\/(.*)/,
sleepAssessment: /\/sleep-assessment\/(.*)/,
};
exports.esPaths = {
...Object.fromEntries(Object.entries(exports.enPaths).map(([key, value]) => (typeof value === "string" ? [key, `/es${value}`] : [key, value]))),
finalizeAccount: `/es/finaliza-cuenta`,
login2: "/es/verificacion-de-inicio-de-sesion",
register2: "/es/verificacion-telefonica",
changePhone1: "/es/cambio-de-telefono",
changePhone2: "/es/nuevo-numero-de-telefono",
resetPassword1: "/es/restablecer-contrasena",
resetPassword2: "/es/establecer-contrasena",
doubleOptin: "/es/double-opt-in",
// "/download-sleep-coach-app": "/es/descargar-sleep-coach-app",
// "/faqs": "/es/preguntas-frecuentes",
// "/contact": "/es/contactanos",
// "/caregiver-access": "/es/acceso-para-cuidadores",
};
exports.paths = exports.locale === "es" ? exports.esPaths : exports.enPaths;
// export const testPaths = {
// testChangePhone1: "/testpages/phone-change-step-1-2",
// testChangePhone2: "/testpages/phone-change-step-2-2",
// }
// ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d\!\@\#\$\%\^\&\*\(\)]{8,}$
// Minimum 8 characters, at least 1 lowercase letter, 1 uppercase letter and 1 number
exports.passwordRegex = /(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}/;
// (?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}
/***/ }),
/***/ 8021:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
// source: https://tokyoadjust.notion.site/tokyoadjust/Adjust-Web-to-App-Campaign-solution-ver1-1-EN-1af379383ae147d2b187b44ee53457cd
//
//
// Please note that the tracker with fallback_click needs to be added behind the button to handle the redirection in this case.
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getFbPid = getFbPid;
exports.getFbcid = getFbcid;
exports.getTtpid = getTtpid;
exports.initAdjust = initAdjust;
const pgDataLayer_1 = __webpack_require__(7350);
const sleep_1 = __webpack_require__(9879);
/*
https://www.smartsleepcoach.com/sleep-assessment/meta?
adj_tracker=vt03x6r&
campaign_name={{campaign.name}}&
campaign_id={{campaign.id}}&
adgroup_name={{adset.name}}&
adgroup_id={{adset.id}}&
ad_name={{ad.name}}&
ad_id={{ad.id}}&
cid=1
https://www.smartsleepcoach.com/sleep-assessment/meta?
utm_source={{site_source_name}}&
utm_medium={{campaign.id}}&
utm_campaign={{adset.id}}&
utm_content={{ad.id}}&
adj_tracker=vt03x6r&
cid=1
*/
// p0=adj_tracker
// p1=campaign_name
// p2=campaign_id
// p3=adgroup_name
// p4=adgroup_id
// p5=ad_name
// p6=ad_id
const trackImmediatly = true;
// build a new URL with parameters p0-p6, fbclid and fbpaid
function buildURL({ adj_tracker, campaign_name, campaign_id, adgroup_name, adgroup_id, ad_name, ad_id, fbclid, fbpid, }) {
if (!adj_tracker && !fbclid) {
return null;
}
const tracker_token = adj_tracker || "vt03x6r";
let campaign, adgroup, creative;
if (campaign_name || campaign_id) {
campaign = campaign_name + "(" + campaign_id + ")";
}
else {
campaign = "";
}
if (adgroup_name || adgroup_id) {
adgroup = adgroup_name + "(" + adgroup_id + ")";
}
else {
adgroup = "";
}
if (ad_name || ad_id) {
creative = ad_name + "(" + ad_id + ")";
}
else {
creative = "";
}
if (!fbclid) {
fbclid = "";
}
if (!fbpid) {
fbpid = "";
}
// build a tracker URL
const params = { campaign, adgroup, creative, fbclid, fbpid };
const newURL = "https://app.adjust.com/" +
tracker_token +
"?" +
Object.keys(params)
.map(key => key + "=" + encodeURIComponent(params[key]))
.join("&");
return newURL;
}
//get fbpid from Cookie written by Facebook Pixel
function getFbPid() {
const fbp = document.cookie.match(/(^|;) ?_fbp=([^;]*)(;|$)/);
if (fbp) {
return fbp[2];
}
return null;
}
function getFbcid() {
const fbc = document.cookie.match(/(^|;) ?_fbc=([^;]*)(;|$)/);
if (fbc) {
return fbc[2];
}
return null;
}
/** Tiktok pixel */
function getTtpid() {
const ttp = document.cookie.match(/(^|;) ?_ttp=([^;]*)(;|$)/);
if (ttp) {
return ttp[2];
}
return null;
}
// get query string, and parse it with URLSearchParams
const urlParams = new URLSearchParams(window.location.search);
function buildUrlFromCustom() {
//p0 = urlParams.get("p0") and fallback to "default"
const url = buildURL({
adj_tracker: urlParams.get("adj_tracker"),
campaign_name: urlParams.get("campaign_name") ?? "",
campaign_id: urlParams.get("utm_medium") || urlParams.get("campaign_id"),
adgroup_name: urlParams.get("adgroup_name") ?? "",
adgroup_id: urlParams.get("utm_campaign") || urlParams.get("adgroup_id"),
ad_name: urlParams.get("ad_name") ?? "",
ad_id: urlParams.get("utm_content") || urlParams.get("ad_id"),
fbpid: getFbPid(),
fbclid: urlParams.get("fbclid"),
});
return url;
}
const url = buildUrlFromCustom();
if (url) {
(0, pgDataLayer_1.dataLayerPush)("adjust_pageview", location.href, url);
}
if (!trackImmediatly && url) {
sessionStorage.setItem("adjustTrackerUrl", url);
}
function initAdjust() {
if (!trackImmediatly)
return;
const url = buildUrlFromCustom();
if (!url)
return;
window.addEventListener("DOMContentLoaded", async () => {
if (!getFbPid()) {
console.log("no fbpid, giving it another chance");
await (0, sleep_1.sleep)(100);
}
console.log("no fbpid, tracking and will try again soon");
track();
let waitCount = 0;
if (!getFbPid()) {
console.log("waiting for fbpid");
while (!getFbPid() && waitCount < 100) {
await (0, sleep_1.sleep)(500);
waitCount++;
}
if (!getFbPid()) {
console.log("fbpid not found, giving up");
return;
}
console.log("fbpid found, tracking again");
track();
}
});
function track() {
const url = buildUrlFromCustom();
if (!url)
return;
const img = document.createElement("img");
img.src = `${url}&redirect=none`;
img.style.opacity = "0";
img.style.position = "absolute";
img.style.top = "0";
img.style.left = "0";
img.style.zIndex = "-1000";
img.style.width = "1px";
img.style.height = "1px";
// img.addEventListener("error", () => {
// console.warn("error loading adjust tracker image")
// const category = "error"
// const action = "adjust_tracker_load_error"
// const label = url
// dataLayerPush(category, action, label)
// })
document.body.appendChild(img);
(0, pgDataLayer_1.dataLayerPush)("adjust_track", location.href, url);
}
}
if (!trackImmediatly) {
// add links
window.addEventListener("DOMContentLoaded", function () {
const url = sessionStorage.getItem("adjustTrackerUrl");
if (!url) {
return;
}
const elements = document.querySelectorAll(".adjusttracker");
for (let i = 0; i < elements.length; i++) {
console.info("updating adjust tracker", i);
elements[i].setAttribute("href", url);
}
});
}
// Set Adjust tracker ( `fallback_click`) created from Adjust dash to the CTA button in the HTML with `class` code.
// Example: If you want to separate the CTA button for iOS and Android, set up two buttons.
// ```jsx
// iOSCTAbutton
// AndroidCTAbutton
// ```
/*
https://app.adjust.com/vt03x6r?campaign=fredy_test(123456789)&adgroup=adsetname(adsetid)&creative=creativename(adid)&fbclid=8&fbpid=
*/
// setInterval(() => {
// console.log(new Date().toJSON(), "fbpid", getFbPid())
// }, 500)
/***/ }),
/***/ 3143:
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.env = void 0;
// TODO: remove staging
// "staging.smartsleepcoach.com",
const host = location?.host;
const isProdDomain = ["www.smartsleepcoach.com", "smartsleepcoach.com", "smartsleepcoach.zendesk.com"].includes(host);
const dev = typeof location === "undefined" || (!isProdDomain && location?.hash.includes("dev"));
exports.env = dev ? "dev" : isProdDomain ? "prod" : "staging";
/***/ }),
/***/ 7539:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getGeoFeed = getGeoFeed;
const config_1 = __webpack_require__(7028);
const consts_1 = __webpack_require__(8066);
const enableGeoFeed = config_1.config.enableGeoFeed;
// const geoFeedExpirationMs = 1000 * 60 * 60 * 24
// window._geoFeed = loadGeoFeed() ?? undefined
// // TODO: TEMP
const countryOverride = new URLSearchParams(location.search).get("countryOverride");
let allowCountries = null;
if (consts_1.paths.otpEndingPagePaddleCheckout.test(location.pathname)) {
allowCountries = ["US", "CA"];
}
async function getGeoFeed() {
if (!enableGeoFeed)
return null;
if (window._geoFeed !== undefined) {
return window._geoFeed;
}
if (!window.whenGeofeed) {
window.whenGeofeed = new Promise(resolve => {
window.geofeed = res => {
if (countryOverride) {
console.log("countryOverride", countryOverride);
res = { ...(res ?? {}), country: countryOverride };
}
if (allowCountries && !allowCountries.includes(res?.country ?? "")) {
console.warn("GeoFeed country not allowed", res?.country, allowCountries);
res = { country: "US" };
}
window._geoFeed = res ?? null;
if (res?.country && window.PGdataLayer) {
window.PGdataLayer.user = { ...(window.PGdataLayer.user ?? {}), country: res?.country };
}
resolve(res);
// string two digit continent code EU, NA, OC, AS, SA, AF
// string two digit ISO country code
// string two digit state code
};
triggerGeoFeed();
});
}
return window.whenGeofeed;
}
function triggerGeoFeed() {
// Call geo-location JSON service
const json = document.createElement("script");
json.setAttribute("src", "https://geolocation.onetrust.com/cookieconsentpub/v1/geo/location/geofeed");
document.head.appendChild(json);
}
// export function loadGeoFeed(): IGeoFeed | null {
// const v = localStorage.getItem("geofeed")
// if (!v) return null
// try {
// const v2 = JSON.parse(v) as IGeoFeed
// if ((v2.since ?? 0) + geoFeedExpirationMs < Date.now()) {
// return null
// }
// return v2
// } catch (err) {
// console.warn("loadGeoFeed", err)
// return null
// }
// }
// export function saveGeoFeed(v: IGeoFeed | null) {
// if (!v) {
// localStorage.removeItem("geofeed")
// return
// }
// v.since = Date.now()
// localStorage.setItem("geofeed", JSON.stringify(v))
// }
/***/ }),
/***/ 7438:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
/* eslint-disable @typescript-eslint/ban-ts-comment */
/* eslint-disable prefer-rest-params */
/* eslint-disable no-var */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.initGtm = initGtm;
const config_1 = __webpack_require__(7028);
async function initGtm() {
if (!location.search.includes("nogtm")) {
;
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != "dataLayer" ? "&l=" + l : "";
j.async = true;
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", config_1.config.gtmId);
}
}
/***/ }),
/***/ 1373:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
const env_1 = __webpack_require__(3143);
if (env_1.env !== "prod") {
const meta = document.createElement("meta");
meta.name = "robots";
meta.content = "noindex, nofollow";
document.head?.appendChild(meta);
const canonicalEl = document.querySelector("link[rel=canonical]");
if (canonicalEl) {
canonicalEl.href = `${location.protocol}//${location.host}${location.pathname}`;
}
}
/***/ }),
/***/ 9312:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.cookieConsentTranslations = exports.oneTrustCountryInfo = void 0;
exports.initOnetrust = initOnetrust;
const getGeoFeed_1 = __webpack_require__(7539);
exports.oneTrustCountryInfo = {
RS: {
country: "Serbian/Serbia/Srbija",
cookieCompliance: "GDPR",
countryCode: "RS",
language: "Serbian",
languageCode: "sr",
},
AD: { country: "Andorra", cookieCompliance: "GDPR", countryCode: "AD", language: "English", languageCode: "en" },
AL: { country: "Albania", cookieCompliance: "GDPR", countryCode: "AL", language: "Albanian", languageCode: "sq" },
UA: { country: "Ukraine", cookieCompliance: "GDPR", countryCode: "UA", language: "Ukrainian", languageCode: "uk" },
CY: {
country: "Cyprus/Republic of Cyprus",
cookieCompliance: "GDPR",
countryCode: "CY",
language: "English",
languageCode: "en",
},
IS: { country: "Iceland", cookieCompliance: "GDPR", countryCode: "IS", language: "English", languageCode: "en" },
LI: {
country: "Liechtenstein",
cookieCompliance: "GDPR",
countryCode: "LI",
language: "German",
languageCode: "de",
},
LU: { country: "Luxembourg", cookieCompliance: "GDPR", countryCode: "LU", language: "English", languageCode: "en" },
MT: { country: "Malta", cookieCompliance: "GDPR", countryCode: "MT", language: "English", languageCode: "en" },
SM: { country: "San Marino", cookieCompliance: "GDPR", countryCode: "SM", language: "English", languageCode: "en" },
XK: {
country: "Kosovo (Republic of)",
cookieCompliance: "GDPR",
countryCode: "XK",
language: "Serbian",
languageCode: "sr",
},
BG: { country: "Bulgaria", cookieCompliance: "GDPR", countryCode: "BG", language: "Bulgarian", languageCode: "bg" },
HR: { country: "Croatia", cookieCompliance: "GDPR", countryCode: "HR", language: "Croatian", languageCode: "hr" },
CZ: {
country: "Czech/Czech Republic",
cookieCompliance: "GDPR",
countryCode: "CZ",
language: "Czech",
languageCode: "cs",
},
EE: { country: "Estonia", cookieCompliance: "GDPR", countryCode: "EE", language: "Estonian", languageCode: "et" },
FI: { country: "Finland", cookieCompliance: "GDPR", countryCode: "FI", language: "Finnish", languageCode: "fi" },
IL: { country: "Israel", cookieCompliance: "GDPR", countryCode: "IL", language: "Hebrew", languageCode: "he" },
HU: { country: "Hungary", cookieCompliance: "GDPR", countryCode: "HU", language: "Hungarian", languageCode: "hu" },
LV: { country: "Latvia", cookieCompliance: "GDPR", countryCode: "LV", language: "Latvian", languageCode: "lv" },
LT: {
country: "Lithuania",
cookieCompliance: "GDPR",
countryCode: "LT",
language: "Lithuanian",
languageCode: "lt",
},
NO: { country: "Norway", cookieCompliance: "GDPR", countryCode: "NO", language: "Norwegian", languageCode: "no" },
PL: { country: "Poland", cookieCompliance: "GDPR", countryCode: "PL", language: "Polish", languageCode: "pl" },
PT: {
country: "Portugal",
cookieCompliance: "GDPR",
countryCode: "PT",
language: "Portuguese",
languageCode: "pt",
},
RO: { country: "Romania", cookieCompliance: "GDPR", countryCode: "RO", language: "Romanian", languageCode: "ro" },
SK: { country: "Slovak", cookieCompliance: "GDPR", countryCode: "SK", language: "Slovak", languageCode: "sk" },
SI: { country: "Slovenia", cookieCompliance: "GDPR", countryCode: "SI", language: "Slovenian", languageCode: "sl" },
SE: { country: "Sweden", cookieCompliance: "GDPR", countryCode: "SE", language: "Swedish", languageCode: "sv" },
MC: { country: "Monaco", cookieCompliance: "GDPR", countryCode: "MC", language: "French", languageCode: "fr" },
DE: { country: "Germany", cookieCompliance: "GDPR", countryCode: "DE", language: "German", languageCode: "de-de" },
AT: { country: "Austria", cookieCompliance: "GDPR", countryCode: "AT", language: "German", languageCode: "de-at" },
CH: {
country: "Switzerland",
cookieCompliance: "GDPR",
countryCode: "CH",
language: "German",
languageCode: "de-ch",
},
NL: { country: "Netherlands", cookieCompliance: "GDPR", countryCode: "NL", language: "Dutch", languageCode: "nl" },
IT: { country: "Italy", cookieCompliance: "GDPR", countryCode: "IT", language: "Italian", languageCode: "it" },
GB: { country: "UK", cookieCompliance: "GDPR", countryCode: "GB", language: "English", languageCode: "en-gb" },
GI: { country: "Gibraltar", cookieCompliance: "GDPR", countryCode: "GI", language: "English", languageCode: "en" },
IE: { country: "Ireland", cookieCompliance: "GDPR", countryCode: "IE", language: "English", languageCode: "en-ie" },
TR: { country: "Turkey", cookieCompliance: "GDPR", countryCode: "TR", language: "Turkish", languageCode: "tr" },
GR: { country: "Greece", cookieCompliance: "GDPR", countryCode: "GR", language: "Greek", languageCode: "el" },
ES: { country: "Spain", cookieCompliance: "GDPR", countryCode: "ES", language: "Spanish", languageCode: "es" },
BE: { country: "Belgium", cookieCompliance: "GDPR", countryCode: "BE", language: "Dutch", languageCode: "nl" },
DK: { country: "Denmark", cookieCompliance: "GDPR", countryCode: "DK", language: "Danish", languageCode: "da" },
FR: { country: "France", cookieCompliance: "GDPR", countryCode: "FR", language: "French", languageCode: "fr" },
US: { country: "US", cookieCompliance: "CCPA", countryCode: "US", language: "English", languageCode: "en" },
PR: {
country: "Puerto Rico",
cookieCompliance: "CCPA",
countryCode: "PR",
language: "Spanish",
languageCode: "es",
},
BR: {
country: "Brazil",
cookieCompliance: "LGPD",
countryCode: "BR",
language: "Portuguese",
languageCode: "pt-br",
},
ID: {
country: "Indonesia",
cookieCompliance: "AMA",
countryCode: "ID",
language: "Indonesian",
languageCode: "id",
},
SG: {
country: "Singapore",
cookieCompliance: "AMA",
countryCode: "SG",
language: "English",
languageCode: "en-sg",
},
PH: {
country: "Philippines",
cookieCompliance: "AMA",
countryCode: "PH",
language: "English",
languageCode: "en-ph",
},
TH: { country: "Thailand", cookieCompliance: "AMA", countryCode: "TH", language: "Thai", languageCode: "th" },
KR: { country: "South Korea", cookieCompliance: "AMA", countryCode: "KR", language: "Korean", languageCode: "ko" },
ZA: {
country: "SouthAfrica",
cookieCompliance: "AMA",
countryCode: "ZA",
language: "English",
languageCode: "en-za",
},
NG: { country: "Nigeria", cookieCompliance: "AMA", countryCode: "NG", language: "English", languageCode: "en-ng" },
AE: { country: "UAE", cookieCompliance: "AMA", countryCode: "AE", language: "Arabic", languageCode: "ar" },
VN: { country: "Vietnam", cookieCompliance: "AMA", countryCode: "VN", language: "Vietnamese", languageCode: "vi" },
IN: { country: "India", cookieCompliance: "AMA", countryCode: "IN", language: "English", languageCode: "en-in" },
MX: {
country: "Mexico",
cookieCompliance: "LFPDPPP",
countryCode: "MX",
language: "Spanish",
languageCode: "es-mx",
},
CO: {
country: "Colombia",
cookieCompliance: "HDCO",
countryCode: "CO",
language: "Spanish",
languageCode: "es-co",
},
CA: { country: "Canada", cookieCompliance: "CA", countryCode: "CA", language: "English", languageCode: "en-ca" },
EC: {
country: "Ecuador",
cookieCompliance: "LOPDP",
countryCode: "EC",
language: "Spanish",
languageCode: "es-ec",
},
};
exports.cookieConsentTranslations = {
Bulgarian: "Съгласие за „бисквитки“",
Czech: "Souhlas pro soubory cookies",
German: "Meine Cookie Auswahl",
Finnish: "Evästesuostumus",
French: "Gestion des cookies",
Greek: "Συγκατάθεση στη χρήση cookies",
Croatian: "Pristanak na kolačiće",
Hungarian: "Sütik elfogadása",
Hebrew: "הסכמה לשימוש בעוגיות",
Dutch: "Beheer cookies",
Norwegian: "Cookiesamtykke",
Polish: "Zgoda na pliki cookie",
Romanian: "Consimțământ Cookie-uri",
Swedish: "Cookiemedgivande",
Turkish: "Çerez Onayı",
Spanish: "Consentimiento de cookies",
Portuguese: "Consentimento de cookies",
Italian: "Consenso per i cookie",
Slovack: "Súhlas pre súbory cookies",
Danish: "tilladelse af cookies",
Flemish: "Belgium would use FR and Dutch",
Ukrainian: "Згода на обробку cookies",
Latvian: "Sīkdatņu Piekrisanu",
Estonian: "Küpsiste Nõusolek",
Slovenian: "Piškotki Soglasje",
Lithuanian: "Slapukus Sutikimą",
Albanian: "Pëlqimi i cookie-t",
Macedonian: "Согласност за колаче",
Serbian: "Управљање колачићима",
Russian: "Согласие на обработку cookies",
Indonesian: "Persetujuan Cookie",
Thai: "การให้ความยินยอมสำหรับคุกกี้",
Korean: "쿠키 동의",
Arabic: "وافقة على ملفات تعريف الارتباط", // (UAE)
Vietnamese: "Chấp thuận Cookie",
"Portuguese Brazil": "Consentimento de Cookie",
};
async function initOnetrust() {
const geofeed = await (0, getGeoFeed_1.getGeoFeed)();
if (!geofeed?.country)
return;
const countryInfo = exports.oneTrustCountryInfo[geofeed.country];
if (!countryInfo)
return;
window.PGdataLayer.GTM.ConsentOverlayLanguage = countryInfo.languageCode || "en";
window.PGdataLayer.GTM.SitePrivacyProtection = countryInfo.cookieCompliance;
window.PGdataLayer.GTM.SiteCountry = geofeed.country;
// window.addEventListener("DOMContentLoaded", () => {
// const div = document.createElement("div")
// div.innerHTML = ``
// document.body.appendChild(div)
// })
}
/***/ }),
/***/ 7350:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.dataLayerPush = void 0;
exports.initPgDataLayer = initPgDataLayer;
exports.dataLayerPush2 = dataLayerPush2;
/* eslint-disable @typescript-eslint/no-explicit-any */
const config_1 = __webpack_require__(7028);
const registerLead_1 = __webpack_require__(2517);
const { pgSiteEnvironment, pgGoogleAnalyticsLocal, pgGoogleAnalyticsReportingView, pgConsentOverlayID, pgFacebookRemarketingID, pgSegment, } = config_1.config;
const lead = (0, registerLead_1.getRegisterLead)();
const user = lead ? { email: lead?.email, firstName: lead?.nickname, id: lead?.consumerId } : null;
const pgDataLayer = window?.PGdataLayer ?? {
GTM: {
SiteTouchpoint: "46984",
SiteBrand: "Pampers",
SiteLanguage: "English",
SitePlatform: "Multibrand.com",
SiteEnvironment: pgSiteEnvironment,
SiteHost: "Webflow",
SiteTechnicalAgency: "Zemingo",
SiteStatus: "Live",
SiteLocalContainer: "GTM-PQB4L4QL", // "GTM-KQNZ2P2",
GoogleAnalyticsLocal: pgGoogleAnalyticsLocal,
GoogleAnalyticsBrand: "",
GoogleAnalyticsGA4MeasurementID: "G-LL0W59K01B", // "G-WHN3KE0SQY"
GoogleAnalyticsSiteSpeedSampleRate: "high",
GoogleAnalyticsReportingView: pgGoogleAnalyticsReportingView,
ConsentOverlay: "OneTrust",
ConsentOverlayID: pgConsentOverlayID,
SitePrivacyProtection: "CCPA",
FacebookConnectAppID: "924059352110555", //"1402968366699773",
FacebookConnectLocale: "en_US",
FacebookRemarketingID: pgFacebookRemarketingID,
BINPlatform: "Webflow",
Segment: pgSegment,
Segmanta: "true",
SiteCurrency: "USD",
GoogleAnalyticsEETransOnEvent: "TRUE",
GoogleAnalyticsAllowLinker: "TRUE",
GoogleAnalyticsOptimizeContainerID: "",
},
...(user ? { user } : {}),
};
function initPgDataLayer() {
if (!window)
return;
if (!window.PGdataLayer) {
window.PGdataLayer = pgDataLayer;
}
if (!window.dataLayerPush) {
window.dataLayerPush = exports.dataLayerPush;
}
}
exports.dataLayerPush = window?.dataLayerPush ??
((category, action, label, value = 0, interaction = false) => {
if (!window.dataLayer) {
window.dataLayer = [];
}
window.dataLayer.push({
event: "customEvent",
GAeventCategory: category,
GAeventAction: action,
GAeventLabel: label,
GAeventValue: value,
GAeventNonInteraction: interaction,
});
});
function dataLayerPush2({ category, action, label, value = 0, interaction = false, ...rest }) {
if (!window.dataLayer) {
window.dataLayer = [];
}
window.dataLayer.push({
event: "customEvent",
GAeventCategory: category,
GAeventAction: action,
GAeventLabel: label,
GAeventValue: value,
GAeventNonInteraction: interaction,
...rest,
});
}
// initPgDataLayer()
/***/ }),
/***/ 2517:
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getRegisterLead = getRegisterLead;
exports.setRegisterLead = setRegisterLead;
exports.getPaddleEventData = getPaddleEventData;
exports.setPaddleEventData = setPaddleEventData;
exports.updatePgDataLayerUser = updatePgDataLayerUser;
function getRegisterLead() {
const user = localStorage.getItem("registerLead");
if (!user)
return null;
try {
return JSON.parse(user);
}
catch (err) {
console.warn("registerLead", err);
return null;
}
}
function setRegisterLead(user) {
if (!user) {
localStorage.removeItem("registerLead");
return;
}
localStorage.setItem("registerLead", JSON.stringify(user));
}
function getPaddleEventData() {
const user = localStorage.getItem("paddleEventData");
if (!user)
return null;
try {
return JSON.parse(user);
}
catch (err) {
console.warn("paddleEventData", err);
return null;
}
}
function setPaddleEventData(v) {
if (!v) {
localStorage.removeItem("paddleEventData");
return;
}
localStorage.setItem("paddleEventData", JSON.stringify(v));
}
function updatePgDataLayerUser() {
const lead = getRegisterLead();
const user = lead ? { email: lead?.email, firstName: lead?.nickname, id: lead?.consumerId } : null;
if (!user)
return;
window.PGdataLayer.user = { ...(window.PGdataLayer.user ?? {}), ...user };
}
/***/ }),
/***/ 9879:
/***/ ((__unused_webpack_module, exports) => {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.sleep = sleep;
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
/***/ }),
/***/ 6800:
/***/ (() => {
function styles() {
const style = document.createElement("style");
style.textContent = `
.w-richtext a {
word-break: break-word;
}
.android .android-show.android-show.android-show {
display: block;
}
.android .android-hide.android-hide.android-hide {
display: none;
}
.star-svg {
width: 16px;
}
.hscroll {
overflow-x: auto;
}
.iti__flag {background-image: url("path/to/flags.png");}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.iti__flag {background-image: url("path/to/flags@2x.png");}
}
.w-webflow-badge.w-webflow-badge.w-webflow-badge.w-webflow-badge {
display: none !important;
}
.offer-banner.offer-banner-show {
display: block;
}
.offer-banner.offer-banner-show + #segmantaEmbed {
top: 39px;
}
table.col-1-nowrap td:nth-child(1) {
white-space: nowrap;
}
.opacity1.opacity1 {
opacity: 1;
}
@media screen and (max-width: 767px) {
#onetrust-banner-sdk.otFloatingRoundedCorner.otFloatingRoundedCorner {
min-width: 100vw;
height: 50vh;
}
}
label.w-radio:not(.is-active-inputactive) .plan-option-content .plan-tag {
display: none;
}
.pid-fst [display-pid-fst="none"] {
display: none;
}
/* master the chaos */
.timer-0 [data-display-timer-0="none"] {
display: none;
}
`;
document.head?.appendChild(style);
}
styles();
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry needs to be wrapped in an IIFE because it uses a non-standard name for the exports (exports).
(() => {
var exports = __webpack_exports__;
var __webpack_unused_export__;
__webpack_unused_export__ = ({ value: true });
__webpack_require__(6800);
__webpack_require__(1373);
const pgDataLayer_1 = __webpack_require__(7350);
const onetrust_1 = __webpack_require__(9312);
const gtm_1 = __webpack_require__(7438);
const adjust_1 = __webpack_require__(8021);
(0, pgDataLayer_1.initPgDataLayer)();
void (0, onetrust_1.initOnetrust)();
void (0, gtm_1.initGtm)();
void (0, adjust_1.initAdjust)();
})();
/******/ })()
;