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B,IAGhD,GAAG+B,EAAS,IAAInE,EAASmE,EAAQhC,EAClC,CAEA,IADG8B,GAA4BA,EAA2B5S,GACrD6F,EAAIuL,EAAS7P,OAAQsE,IACzB6M,EAAUtB,EAASvL,GAChBiL,EAAoBnL,EAAE8M,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO5B,EAAoBK,EAAExC,EAAO,EAGjCqE,EAAqBT,KAA0B,oBAAIA,KAA0B,qBAAK,GACtFS,EAAmBvR,QAAQkR,EAAqBhT,KAAK,KAAM,IAC3DqT,EAAmBtJ,KAAOiJ,EAAqBhT,KAAK,KAAMqT,EAAmBtJ,KAAK/J,KAAKqT,QCjDvFlC,EAAoBmC,QAAK9P,ECGzB,IAAI+P,EAAsBpC,EAAoBK,OAAEhO,EAAW,CAAC,MAAM,IAAO2N,EAAoB,QAC7FoC,EAAsBpC,EAAoBK,EAAE+B","sources":["webpack://electro/webpack/runtime/chunk loaded","webpack://electro/./js/src/controllers/optimize.js","webpack://electro/./js/src/app.js","webpack://electro/./js/src/blocks/product-carousel.js","webpack://electro/./js/src/controllers/SMS.js","webpack://electro/./js/src/pages/page-home.js","webpack://electro/external var \"jQuery\"","webpack://electro/webpack/bootstrap","webpack://electro/webpack/runtime/compat get default export","webpack://electro/webpack/runtime/define property getters","webpack://electro/webpack/runtime/global","webpack://electro/webpack/runtime/hasOwnProperty shorthand","webpack://electro/webpack/runtime/make namespace object","webpack://electro/webpack/runtime/runtimeId","webpack://electro/webpack/runtime/publicPath","webpack://electro/webpack/runtime/jsonp chunk loading","webpack://electro/webpack/runtime/nonce","webpack://electro/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","import { parametersWatcher } from './parametersWatcher';\nimport GatedContent from \"./gatedContent\";\nimport {SMS} from \"./SMS\";\n\n// Example data:\n// {\n// image: '/wp-content/themes/electro/img/weather-bug/weather-sun.svg',\n// text: 'Today’s weather report: BBQ ahead! Try our recipe for',\n// cta: {\n// text: 'ribs',\n// link: '/ribs/',\n// },\n// disclaimer: {\n// text1: \"*weather forecast provided by\",\n// text2: \"Openweathermap.org\",\n// url: \"https://openweathermap.org/\"\n// }\n// }\n\n/**\n * ALl Google Optimize A/B Testing related functions.\n *\n * These functions are supposed to provide control over altering content on the website.\n * They are called by the Google Optimize A/B Testing platform.\n *\n */\nexport default class Optimize {\n constructor() {\n window.showHeaderBanner = this.showHeaderBanner;\n window.hideHeaderBanner = this.hideHeaderBanner;\n window.showRecipesClassicsCard = this.showRecipesClassicsCard;\n window.hideRecipesClassicsCard = this.hideRecipesClassicsCard;\n window.showRecommendationSliderCard = this.showRecommendationSliderCard;\n window.hideRecommendationSliderCard = this.hideRecommendationSliderCard;\n window.showProductsSliderCard = this.showProductsSliderCard;\n window.hideProductsSliderCard = this.hideProductsSliderCard;\n window.showRecipesSliderCard = this.showRecipesSliderCard;\n window.hideRecipesSliderCard = this.hideRecipesSliderCard;\n window.showCollectionsSliderCard = this.showCollectionsSliderCard;\n window.hideCollectionsSliderCard = this.hideCollectionsSliderCard;\n window.renderSignUpModalA = this.renderSignUpModalA;\n window.renderSignUpModalB = this.renderSignUpModalB;\n window.updateHomePageHeroCopy = this.updateHomePageHeroCopy;\n window.updateGatedContentStatus = this.updateGatedContentStatus;\n window.showWeatherNotification = this.showWeatherNotification;\n window.hideWeatherNotification = this.hideWeatherNotification;\n window.showSMSModalHomePage = this.showSMSModalHomePage;\n window.showSMSModalRDP = this.showSMSModalRDP;\n\n // Run the parameters watcher, for testing through URL parameters.\n parametersWatcher();\n }\n\n /**\n * Show the pencil banner, with a copy change.\n */\n showHeaderBanner(copy = null) {\n const pencilBanner = document.querySelector('.header-banner--signup');\n if (!pencilBanner) {\n return;\n }\n pencilBanner.style.display = 'block';\n if (copy) {\n const copyElement = pencilBanner.querySelector('.header-banner__content .banner__inner p');\n if (!copyElement) {\n return;\n }\n copyElement.innerHTML = copy;\n }\n }\n\n /**\n * Hides the pencil banner when called.\n */\n hideHeaderBanner() {\n const pencilBanner = document.querySelector('.header-banner--signup');\n if (!pencilBanner) {\n return;\n }\n pencilBanner.style.display = 'none';\n }\n\n /**\n * Show the recipes' classics card.\n */\n showRecipesClassicsCard() {\n // Hide the first recipe with class : kingsford-classics-list__recipe-card\n const firstRecipe = document.querySelector('.kingsford-classics-list__recipe-card.non-lytics');\n if (!firstRecipe) {\n return;\n }\n firstRecipe.style.display = 'none';\n\n // Show the Lytics card\n const signupCta = document.querySelector('.recipe-card--signup-cta');\n if (!signupCta) {\n return;\n }\n signupCta.style.display = 'flex';\n }\n\n /**\n * Hides the recipes' classics card.\n */\n hideRecipesClassicsCard() {\n // Show the all recipe cards.\n const allRecipesCards = document.querySelectorAll('.kingsford-classics-list__recipe-card.non-lytics');\n if (!allRecipesCards) {\n return;\n }\n allRecipesCards.forEach((recipe) => {\n recipe.style.display = 'flex';\n });\n\n // Hide the Lytics card.\n const signupCta = document.querySelector('.recipe-card--signup-cta');\n if (!signupCta) {\n return;\n }\n signupCta.style.display = 'none';\n }\n\n /**\n * Show the recommendation's slider's lytics card.\n */\n showRecommendationSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let recommendationSliders = document.querySelectorAll('[id^=\"recommendation-slider--\"]');\n if (!recommendationSliders) {\n return false;\n }\n recommendationSliders = Array.from(recommendationSliders);\n if (recommendationSliders.length < 1) {\n return false;\n }\n\n // Show all the slides(including the duplicate ones).\n recommendationSliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.remove('lytics-disable');\n });\n });\n }\n\n /**\n * Hides the recommendation's slider's lytics card.\n */\n hideRecommendationSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let recommendationSliders = document.querySelectorAll('[id^=\"recommendation-slider--\"]');\n if (!recommendationSliders) {\n return false;\n }\n recommendationSliders = Array.from(recommendationSliders);\n if (recommendationSliders.length < 1) {\n return false;\n }\n\n // Hide all the slides(including the duplicate ones).\n recommendationSliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.add('lytics-disable');\n });\n });\n }\n\n /**\n * Show the Products slider's lytics card.\n */\n showProductsSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let sliders = document.querySelectorAll('[id^=\"product-carousel--\"]');\n if (!sliders) {\n return false;\n }\n sliders = Array.from(sliders);\n if (sliders.length < 1) {\n return false;\n }\n\n // Show all the slides(including the duplicate ones).\n sliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.remove('lytics-disable');\n });\n });\n }\n\n /**\n * Hides the Products slider's lytics card.\n */\n hideProductsSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let sliders = document.querySelectorAll('[id^=\"product-carousel--\"]');\n if (!sliders) {\n return false;\n }\n sliders = Array.from(sliders);\n if (sliders.length < 1) {\n return false;\n }\n\n // Hide all the slides(including the duplicate ones).\n sliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.add('lytics-disable');\n });\n });\n }\n\n /**\n * Show the Recipes slider's lytics card.\n */\n showRecipesSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let sliders = document.querySelectorAll('[id^=\"recipe-carousel--\"]');\n if (!sliders) {\n return false;\n }\n sliders = Array.from(sliders);\n if (sliders.length < 1) {\n return false;\n }\n\n // Show all the slides(including the duplicate ones).\n sliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.remove('lytics-disable');\n });\n });\n }\n\n /**\n * Hides the Recipes slider's lytics card.\n */\n hideRecipesSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let sliders = document.querySelectorAll('[id^=\"recipe-carousel--\"]');\n if (!sliders) {\n return false;\n }\n sliders = Array.from(sliders);\n if (sliders.length < 1) {\n return false;\n }\n\n // Hide all the slides(including the duplicate ones).\n sliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.add('lytics-disable');\n });\n });\n }\n\n /**\n * Show the Collections slider's lytics card.\n */\n showCollectionsSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let sliders = document.querySelectorAll('[id^=\"recipe-collection-carousel--\"]');\n if (!sliders) {\n return false;\n }\n sliders = Array.from(sliders);\n if (sliders.length < 1) {\n return false;\n }\n\n // Show all the slides(including the duplicate ones).\n sliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.remove('lytics-disable');\n });\n });\n }\n\n /**\n * Hides the Collections slider's lytics card.\n */\n hideCollectionsSliderCard() {\n // get all sections with id prefix \"recommendation-slider--\"\n let sliders = document.querySelectorAll('[id^=\"recipe-collection-carousel--\"]');\n if (!sliders) {\n return false;\n }\n sliders = Array.from(sliders);\n if (sliders.length < 1) {\n return false;\n }\n\n // Hide all the slides(including the duplicate ones).\n sliders.forEach((slider) => {\n Array.from(slider.querySelectorAll('.slide--lytics-card')).forEach((slide) => {\n slide.classList.add('lytics-disable');\n });\n });\n }\n\n renderSignUpModalA() {\n if (document.querySelectorAll('form.register').length > 1 && document.querySelector('.signup-form-variant-b')) {\n document.querySelector('.signup-form-variant-b').remove();\n }\n }\n\n renderSignUpModalB() {\n if (document.querySelectorAll('form.register').length > 1 && document.querySelector('.signup-form-variant-a')) {\n document.querySelector('.signup-form-variant-a').remove();\n }\n }\n\n updateHomePageHeroCopy(lyticsSegment) {\n const segmentationMap = JSON.parse(document.querySelector('input.lytics-segmentation-hero').value);\n if (lyticsSegment && segmentationMap) {\n const segment = segmentationMap.find((o) => o.lytics_segment === lyticsSegment);\n const hero = document.querySelector('.b-split-hero');\n hero.querySelector('.b-split-hero__title').innerText = segment.values.title;\n hero.querySelector('.b-split-hero__subtitle').innerText = segment.values.subtitle;\n if (hero.querySelectorAll('.b-split-hero__cta-wrapper__cta').length > 1) {\n $('.b-split-hero__cta-wrapper__cta').each((i, e) => {\n if (i > 0) {\n e.remove();\n }\n });\n }\n hero.querySelector('.b-split-hero__cta-wrapper__cta .e-button__copy').innerText = segment.values.cta_text;\n hero.querySelector('.b-split-hero__cta-wrapper__cta .e-button__copy').classList.remove('js-user-account');\n hero.querySelector('.b-split-hero__cta-wrapper__cta').href =\n `/?registerModal=1&lytics_campaign=${ segment.lytics_crm}`;\n }\n }\n\n updateGatedContentStatus() {\n new GatedContent().show();\n }\n\n /**\n * Shows the weather notification, only if html is passed to it.\n *\n * Example: `Grill-friendly weather alert! It’s the perfect week to make brisket`\n * @param html\n * @returns {boolean}\n */\n showWeatherNotification(html = null) {\n if (Electro.DEBUG) {\n console.info('WeatherNotification.showHeaderBanner()');\n }\n\n const weatherBanner = document.querySelector('.js-weather-banner');\n if (\n weatherBanner &&\n html.image &&\n html.text &&\n html.cta.link &&\n html.cta.text &&\n html.disclaimer.text1 &&\n html.disclaimer.text2 &&\n html.disclaimer.url\n ) {\n console.info('true');\n // Update the html\n const htmlBody = weatherBanner.querySelector('.b-weather-notification__content');\n\n const notification = `\n \n