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S,MAAA,CAAKiS,EACrB,EACJ,CAEO,IAAMK,GAAsB,SAAAC,CAAG,SAAIC,KAAKC,SAAS,CAACF,GAAKjP,OAAO,CAAC,aAAc,SAACoP,CAAI,EACrF,OAAQA,GACJ,IAAK,IACD,MAAO,GACX,KAAK,IACD,MAAO,GACX,KAAK,IACD,MAAO,GACX,KAAK,IACD,MAAO,GACX,KAAK,IACD,MAAO,GACX,SACI,OAAOA,CACf,CACJ,EAAE","sources":["webpack://_N_E/./adapters/helpers/Utils.js"],"sourcesContent":["import moment from 'moment';\nimport { labelConstant, MetaConstants } from '../helpers/Constants'\n\n// Returns if a value is a string\nexport function isString(value) {\n return typeof value === 'string' || value instanceof String;\n}\n\nexport function isObject(value) {\n return typeof value === 'object' || value instanceof Object;\n}\n\nexport function campaignOverlayStatus(isEnableCampaignOverlay) {\n if (typeof window !== 'undefined') {\n return isEnableCampaignOverlay ? window.sessionStorage.setItem('isEnableCampaignOverlay', true) : window.sessionStorage.removeItem('isEnableCampaignOverlay');\n }\n}\n\nexport function getCookieValue(name) {\n return document && document.cookie && document.cookie.match('(^|;)\\\\s*' + name + '\\\\s*=\\\\s*([^;]+)')?.pop() || '';\n}\n\nexport function handleFindElement() {\n setTimeout(() => {\n let buttonElement = document.getElementById('ratings-summary');\n if (buttonElement) {\n buttonElement.setAttribute('role', 'button')\n }\n\n var activeListItems = document.getElementById('bv-dropdown-select-reviews-sortby')\n Array.isArray(activeListItems) && activeListItems.length > 0 && activeListItems.setAttribute('role', 'listbox');\n\n let menuitem = document.getElementsByClassName('bv-focusable') || '';\n menuitem.length > 0 && menuitem.forEach((menuitem) => {\n menuitem.setAttribute('role', 'option')\n })\n\n let reviewInput = document.getElementById('bv-text-field-search-contentSearch1');\n Array.isArray(reviewInput) && reviewInput.length > 0 && reviewInput.setAttribute('aria-label', labelConstant.reviewLabel)\n\n if (typeof window != 'undefined') {\n let optionElement = window.document.getElementById('bv-dropdown-select-reviews');\n if (optionElement) {\n optionElement.setAttribute('role', 'option')\n }\n }\n }, 5000)\n}\n\nexport const addLabel = (ele) => {\n for (let i of ele) {\n let item = i.querySelector('a[href]');\n item && item.setAttribute('aria-label', (item.getAttribute('href')) ? item.getAttribute('href').slice(1) : '');\n item && item.setAttribute('tabindex', '-1');\n }\n}\nexport const handleColorNameFormat = (colorName) => {\n let splitName = colorName.toLowerCase().split('-');\n let joinName = '';\n if (Array.isArray(splitName)) {\n let reduceName = '';\n reduceName = splitName.reduce((a, e) => { a.push(e.charAt(0).toUpperCase() + e.substr(1)); return a; }, []);\n joinName = reduceName.join(' ').toString();\n }\n return joinName;\n}\n\nexport function addAttributes() {\n let listItems = document.getElementsByClassName('bv-dropdown-target')\n listItems.length > 0 && listItems.forEach((listItem) => {\n if (listItem.attributes.role) {\n listItem.setAttribute('role', 'listbox');\n listItem.setAttribute('aria-label', 'Sort By');\n listItem.forEach((listchild) => {\n if (listItem.children.className.indexOf('bv-focusable') > -1) {\n listchild.children.setAttribute('role', 'button')\n }\n })\n }\n })\n\n let reviewListItems = document.getElementsByClassName('bv-dropdown-active');\n reviewListItems.length > 0 && reviewListItems.forEach((reviewListItem) => {\n if (reviewListItem.attributes.role) {\n reviewListItem.setAttribute('role', 'listbox')\n }\n reviewListItem.setAttribute('aria-expanded', false);\n reviewListItem.addEventListener('keyup', () => {\n reviewListItem.setAttribute('aria-expanded', (!reviewListItem.getAttribute('onKeyUp')));\n });\n reviewListItem.addEventListener('keypress', () => {\n reviewListItem.setAttribute('aria-expanded', (!reviewListItem.getAttribute('onKeyPress')));\n });\n reviewListItem.addEventListener('click', () => {\n reviewListItem.setAttribute('aria-expanded', (!reviewListItem.getAttribute('onClick')));\n });\n reviewListItem.forEach((childElement) => {\n if (childElement.className.indexOf('bv-focusable') > -1) {\n childElement.setAttribute('role', 'option');\n childElement.setAttribute('aria-labelledby', labelConstant.reviewLabel);\n childElement.setAttribute('aria-selected', false);\n childElement.addEventListener('focus', () => {\n childElement.setAttribute('aria-selected', true);\n });\n childElement.addEventListener('blur', () => {\n childElement.setAttribute('aria-selected', false);\n });\n }\n })\n })\n\n\n let selectItem = document.getElementsByClassName('bv-dropdown-select');\n selectItem.length > 0 && selectItem.forEach((selectItem) => {\n if (selectItem.className == 'bv-select-cleanslate bv-dropdown-select') {\n selectItem.addEventListener('change', (value) => {\n value.forEach((value) => {\n if (value.target.children.attributes.selected) {\n value.target.children.setAttribute('aria-selected', true);\n }\n })\n })\n }\n })\n\n\n let dropDownControls = document.getElementsByClassName('bv-filter-controls');\n dropDownControls.length > 0 && dropDownControls.forEach((dropDownControls) => {\n if (dropDownControls.className.indexOf('bv-focusable') > -1 && dropDownControls.attributes.tabindex) {\n dropDownControls.setAttribute('tabindex', 0)\n }\n })\n\n Array.isArray(document.getElementsByClassName('zone-header')) && document.getElementsByClassName('zone-header')[0].length > 0 && document.getElementsByClassName('zone-header')[0].removeAttribute('aria-hidden');\n Array.isArray(document.getElementsByClassName('host-box')) && document.getElementsByClassName('host-box')[0].length > 0 && document.getElementsByClassName('host-box')[0].removeAttribute('role')\n\n let html = document.getElementsByTagName('html'), lang;\n\n if (html.length > 0) {\n lang = html.lang.value;\n html.setAttribute('lang', lang);\n }\n\n let scaling = document.getElementsByTagName('meta');\n scaling.length > 0 && scaling.removeAttribute('user-scalable')\n\n let activeListItems = document.getElementById('bv-dropdown-select-reviews-sortby');\n if (activeListItems) {\n activeListItems.setAttribute('role', 'listbox');\n }\n\n let dropdownfield = document.getElementsByClassName('bv-dropdown-target');\n dropdownfield.length > 0 && dropdownfield.setAttribute('role', 'listbox')\n\n let menuitem = document.getElementsByClassName('bv-focusable');\n menuitem.length > 0 && menuitem.forEach((menuitem) => {\n if (menuitem) {\n menuitem.setAttribute('role', 'option')\n }\n })\n let reviewInput = document.getElementById('bv-text-field-search-contentSearch1');\n Array.isArray(reviewInput) && reviewInput.length > 0 && reviewInput.setAttribute('aria-label', reviewInput.placeholder)\n\n}\nexport function calculateHeaderHeight() {\n // Not really clean, but we have to do this this way to change\n // the layout's padding due to the sticky navigation\n\n const header = document.querySelector('.zone-header');\n const height = header ? header.clientHeight : 0;\n const layout = document.querySelector('.layout:not(.ob-spotlight-layout):not(.scrolling-header)');\n if (!layout) {\n return;\n }\n layout.style.paddingTop = `${height}px`;\n}\n\nexport function getColorStyle(color) {\n if (color) {\n const colorCode = color?.fields?.colorCode;\n const colorCodeTop = color?.fields?.colorCodeTop || colorCode;\n const colorCodeBottom = color?.fields?.colorCodeBottom || colorCode;\n const gradientStyle = color?.fields?.gradientStyle;\n\n switch (gradientStyle) {\n case 'linear':\n return {\n backgroundColor: colorCode,\n backgroundImage: `linear-gradient(to bottom, ${colorCodeTop} 0%, ${colorCodeBottom} 100%)`,\n };\n case 'highlightTop':\n return {\n backgroundColor: colorCode,\n backgroundImage: `radial-gradient(circle at center top, ${colorCodeTop} 0%, ${colorCodeBottom} 100%)`,\n };\n case 'highlightBottom':\n return {\n backgroundColor: colorCode,\n backgroundImage: `radial-gradient(circle at center bottom, ${colorCodeBottom} 0%, ${colorCodeTop} 100%)`,\n };\n default:\n if (colorCode) {\n return {\n backgroundColor: colorCode\n };\n } else {\n return {};\n }\n }\n } else {\n return {};\n }\n}\n\nexport function getRGBFromHexColor(color) {\n let red = 0;\n let green = 0;\n let blue = 0;\n let result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(color);\n if (result) {\n red = parseInt(result[1], 16);\n green = parseInt(result[2], 16);\n blue = parseInt(result[3], 16);\n }\n\n return { red, green, blue };\n}\n\n// Cross browser compatible version of window.scrollTo(options)\nexport function smoothVerticalScroll(element, where, extraElemHeight = 0, time = 300) {\n // The extraElementHeight is the height of any element that isn't accounted by element.getBoundingClientRect().top\n const header = document.querySelector('.zone-header:not(.visible-false)');\n const headerHeight = header?.offsetHeight ? header.offsetHeight : 0;\n const elementTop = element.getBoundingClientRect().top;\n const elementAmount = (elementTop - headerHeight - extraElemHeight) / 100;\n let currentTime = 0;\n while (currentTime <= time) {\n window.setTimeout(smoothVerticalScrollBehaviour, currentTime, elementAmount, where);\n currentTime += time / 100;\n }\n}\n\nfunction smoothVerticalScrollBehaviour(elementAmount, where) {\n if (where === 'center' || where === '') {\n window.scrollBy(0, elementAmount / 2);\n }\n if (where === 'top') {\n window.scrollBy(0, elementAmount);\n }\n}\n\nexport function focusOnElement(element) {\n if (!element) {\n return;\n }\n\n element.setAttribute('tabindex', -1);\n setTimeout(() => {\n element.focus();\n element.addEventListener('blur', event => {\n event.currentTarget.removeAttribute('tabindex');\n });\n }, 500)\n}\n\nexport function toggleScroll(condition, lastScroll) {\n if (condition) {\n document.body.classList.add('noScroll');\n document.body.style.top = `-${lastScroll}px`;\n document.body.style.height = `-${lastScroll}px`;\n } else {\n document.body.classList.remove('noScroll');\n document.body.style.top = null;\n document.body.style.height = null;\n window.scrollTo(0, lastScroll);\n }\n}\n\nexport function stripHtml(html) {\n let stripHtmlResult;\n\n if (html) {\n stripHtmlResult = html.replace(/<[^>]+>/g, '');\n stripHtmlResult = stripHtmlResult.replace(/ /g, ' ');\n } else {\n stripHtmlResult = '';\n }\n\n return stripHtmlResult;\n}\n\nexport function isIE() {\n if (typeof window !== 'undefined') {\n let ua = window.navigator.userAgent;\n /* MSIE used to detect old browsers and Trident used to newer ones*/\n let is_ie = ua.indexOf('MSIE ') > -1 || ua.indexOf('Trident/') > -1;\n\n return is_ie;\n }\n return false;\n}\n\nexport function isIEorEdge() {\n // Created a separate function in case we want to target Edge as well as old IE\n // isIE function will be used to target non-edge IE\n\n if (typeof window !== 'undefined') {\n let ua = window.navigator.userAgent;\n let is_ie = ua.indexOf('MSIE ') > -1 || ua.indexOf('Trident/') > -1 || ua.indexOf('Edge/') > -1;\n\n return is_ie;\n }\n return false;\n}\n\nexport function stringToCamelCase(string = '') {\n const splitStr = string.toLowerCase().split(' ');\n for (let i = 0; i < splitStr.length; i++) {\n if (splitStr.indexOf(splitStr[i]) !== 0) {\n splitStr[i] = splitStr[i].charAt(0).toUpperCase() + splitStr[i].substring(1);\n }\n }\n\n return splitStr.join('').replace(/[^a-zA-Z]+/g, '');\n}\n\nexport function stringToCapitalize(string = '') {\n const splitStr = string.toLowerCase().split(' ');\n for (let i = 0; i < splitStr.length; i++) {\n splitStr[i] = splitStr[i].charAt(0).toUpperCase() + splitStr[i].substring(1);\n }\n\n return splitStr.join(' ');\n}\n\nexport function stripSpecialChars(string = '') {\n return string.replace(/[^a-zA-Z ]+/g, '');\n}\n\nexport function isObjectEmpty(object) {\n for (let key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key)) {\n return false;\n }\n }\n return true;\n}\n\nexport const setMonths = (label = '') => {\n let months = [];\n for (let i = 0; i <= 12; i++) {\n if (i === 0) {\n months.push({ id: label, value: label });\n } else if (i < 10 && i > 0) {\n months.push({ id: i, value: '0' + i.toString() });\n } else {\n months.push({ id: i, value: i.toString() });\n }\n }\n return months;\n};\n\nexport const setYears = (label = '', startYear = 1900) => {\n let years = [{ id: label, value: label }];\n const currentYear = new Date().getFullYear();\n for (let i = currentYear; i >= startYear; i--) {\n years.push({ id: i.toString(), value: i.toString() })\n }\n return years;\n};\n\nexport function objectWithLabel(object) {\n // return new object with value fields.text\n // that usually come from Label contentful component\n // Also remove the object from the list if .fields.text is undefined/null\n // return {key : fields.text}\n let newObject = {};\n for (let property in object) {\n if (object[property]?.fields?.text) {\n newObject[property] = object[property]?.fields?.text;\n }\n }\n return newObject\n}\n\nexport function addDays(date, days) {\n const copy = new Date(Number(date))\n copy.setDate(date.getDate() + days)\n return copy\n}\n\nexport function substractDays(date, days) {\n const copy = new Date(Number(date))\n copy.setDate(date.getDate() - days)\n return copy\n}\n\nexport function formatDateToStringValue(strDate, srcFormat, dstFormat) {\n const dateMomentObject = moment(strDate, srcFormat);\n return dateMomentObject.format(dstFormat);\n}\n\nexport function formatDate(date, joinChar = '-', format = 'yyyy-mm-dd') {\n\n var dateFormat = date;\n let strDate = date.toString();\n let splitDate = strDate && strDate.split(\"/\");\n if (isIE() || splitDate.shift().length === 2) {\n dateFormat = strDate.split('/').reverse().join('/');\n }\n\n var d = new Date(dateFormat),\n month = '' + (d.getMonth() + 1),\n day = '' + d.getDate(),\n year = d.getFullYear();\n\n if (month.length < 2) {\n month = '0' + month;\n }\n\n if (day.length < 2) {\n day = '0' + day;\n }\n if (format === 'yyyy-mm-dd') {\n return [year, month, day].join(joinChar);\n } else if (format === 'dd-mm-yyyy') {\n return [day, month, year].join(joinChar);\n }\n}\n\nexport function getDateInNinetyDays(date = new Date()) {\n return addDays(date, 90);\n}\n\nexport function splitIntoTwoArrays(array = []) {\n if (array.length < 2) {\n console.error('Please provide an array with at least 2 elements');\n return;\n }\n const halfOfArray = Math.floor(array.length / 2);\n\n const firstHalf = array.slice(0, halfOfArray);\n const secondHalf = array.slice(halfOfArray);\n\n return [firstHalf, secondHalf];\n}\n\nexport function getReviewAndRatingId(productOverview) {\n let reviewAndRatingId;\n if (productOverview) {\n let productVariants = productOverview?.fields?.productVariants;\n if (productVariants) {\n for (let i = 0; i < productVariants.length; i++) {\n let productVariant = productVariants[i];\n if (productVariant?.fields?.isBazaarVoiceIdentifier) {\n reviewAndRatingId = productVariant?.fields?.bazaarVoiceId;\n // if reviewAndRatingId is null use sku/ean\n if (reviewAndRatingId === undefined) {\n let sku = productVariant.fields.sku;\n if (sku) {\n reviewAndRatingId = sku;\n } else if (sku === undefined) {\n let ean = productVariant.fields.ean;\n reviewAndRatingId = ean;\n }\n if (reviewAndRatingId === undefined) {\n console.error('No reviewAndRatingId specified for product variant Bazaar Voice identifier:',\n productVariant?.fields?.name);\n }\n }\n }\n }\n }\n }\n return reviewAndRatingId;\n}\n\n\n\nexport function loadScript(source, callback) {\n let script = document.createElement('script');\n script.src = source;\n script.onload = () => callback(null, script);\n script.onerror = () => callback(new Error(`Script load error for ${source}`));\n const head = document.getElementsByTagName('head');\n if (head) {\n head[0].appendChild(script);\n }\n}\n\nexport async function asyncForEach(array, container, callback) {\n for (let index = 0; index < array.length; index++) {\n await callback(array[index], container);\n }\n}\n\nexport function createHtmlFriendlyId(text) {\n // This strips all the dashes and replaces spaces to dashes.\n // This makes it easier to read and provides nice and clean ids\n return text.toLowerCase()\n .replace(/ - /g, '-')\n .replace(/ /g, '-');\n}\n\n\nexport function checkPattern(input) {\n return input.value.search(new RegExp(input.getAttribute('pattern'))) < 0;\n}\n\nexport function enableDisableFocusOnElements(container, enable) {\n if (container) {\n const allLinks = container.querySelectorAll('* > a');\n if (allLinks && allLinks.length > 0) {\n for (let item of allLinks) {\n enableTabIndex(item, enable);\n }\n }\n const allButtons = container.querySelectorAll('* > button');\n if (allButtons && allButtons.length > 0) {\n for (let item of allButtons) {\n enableTabIndex(item, enable);\n }\n }\n const allInputs = container.querySelectorAll('* > input');\n if (allInputs && allInputs.length > 0) {\n for (let item of allInputs) {\n enableTabIndex(item, enable);\n }\n }\n }\n}\n\nexport function handleClickToScrollToRnR() {\n const rnrElement = document.getElementById('BVCustomerReviewContiner');\n if (rnrElement) {\n rnrElement.scrollIntoView({ behavior: 'smooth' });\n }\n}\n\nexport function getCanonicalURL(path, scheme = MetaConstants.https) {\n const url = process.env.BASE_URL + path;\n return url.includes(scheme) ? url : scheme + url;\n}\n\nexport function addBVScript() {\n // Render bazaarVoice script after the last render of the layout in the dom\n const bazaarVoiceURL = process.env.BAZAAR_VOICE_URL;\n if (bazaarVoiceURL) {\n const s = document.createElement('script');\n s.async = true;\n s.type = 'text/javascript';\n s.src = process.env.BAZAAR_VOICE_URL.replace(new RegExp('\"', 'g'), '');\n var firstScript = document.getElementsByTagName('script')[0]\n if (firstScript) {\n firstScript.parentNode.insertBefore(s, firstScript);\n }\n } else {\n return console.log('Please set a bazaarVoiceURL');\n }\n}\n\nexport function addBVCollectionPageCallback() {\n window.setTimeout(function () {\n const inlineRating = document.querySelectorAll(\"[data-bv-show='inline_rating']\");\n if (inlineRating) {\n for (let i = 0; i < inlineRating.length; i++) {\n const inlineRatingElement = inlineRating[i]\n inlineRatingElement.classList.remove('no-reviews');\n if (inlineRatingElement.innerText.includes('(0)')) {\n inlineRatingElement.classList.add('no-reviews');\n }\n }\n }\n }, 2000);\n}\n\nfunction addBvReviewDetailContainerClass() {\n setTimeout(() => {\n const reviewDetail = document.getElementsByClassName('bv_modal_component_container');\n if (reviewDetail) {\n for (let i = 0; i < reviewDetail.length; i++) {\n const reviewDetailElement = reviewDetail[i]\n if (!reviewDetailElement?.classList?.contains('pre-purchase-review-detail')) {\n reviewDetailElement?.classList?.add('pre-purchase-review-detail')\n }\n }\n }\n }, 300);\n}\n\nexport function updateRatingTextCallback(outOfRatingValue) {\n window.setTimeout(function () {\n const inlineRating = document.getElementsByClassName('bv_text');\n if (inlineRating) {\n for (let i = 0; i < inlineRating.length; i++) {\n const inlineRatingElement = inlineRating[i]\n const ratingText = (inlineRatingElement.innerText || '').trim();\n if (ratingText.indexOf('(') > -1) {\n inlineRatingElement.innerText = '';\n } else if (ratingText && ratingText.indexOf(outOfRatingValue) < 0) {\n inlineRatingElement.innerText = `${inlineRatingElement.innerText} ${outOfRatingValue}`;\n }\n }\n }\n const reviewButton = document.getElementsByClassName('bv_main_container_row_flex');\n if (reviewButton) {\n for (let i = 0; i < reviewButton.length; i++) {\n const reviewButtonElement = reviewButton[i];\n reviewButtonElement.addEventListener('mouseover', addBvReviewDetailContainerClass, false);\n reviewButtonElement.addEventListener('click', addBvReviewDetailContainerClass, false);\n }\n }\n }, 5000);\n}\n\nexport function addBVProductPageCallback(productName) {\n window.bvCallback = function (BV) {\n function addAnalyticClassToBazaarVoiceElement(elementClass, analyticHookClass, dataActionDetail, parentElementClass, attributeToReadForValue, removeFromValue) {\n if (typeof (document) != 'undefined') {\n let rootElement = document;\n if (parentElementClass) {\n let parent = document.getElementsByClassName(parentElementClass);\n if (parent && parent.length > 0 && typeof (parent[0]) != 'undefined') {\n rootElement = parent[0];\n }\n }\n const elements = rootElement.getElementsByClassName(elementClass);\n if (elements && elements.length > 0) {\n //Add some GA class to track bv event\n for (let i = 0; i < elements.length; i++) {\n let valueActionDetail = dataActionDetail;\n if (typeof (elements[i]) != 'undefined' && elements[i] != null) {\n elements[i].classList.add(analyticHookClass);\n\n if (attributeToReadForValue) {\n let value = '';\n if (elements[i].getAttribute(attributeToReadForValue)) {\n value = elements[i].getAttribute(attributeToReadForValue);\n if (removeFromValue) {\n value = value.replace(removeFromValue, '');\n }\n }\n valueActionDetail = valueActionDetail.replace('%value%', value);\n }\n\n elements[i].setAttribute('data-action-detail',\n valueActionDetail);\n }\n }\n }\n }\n }\n\n if (window?.bvDCC) {\n for (var i = 0, len = window.bvDCC.catalogData.catalogProducts.length; i < len; ++i) {\n BV.pixel.trackEvent('CatalogUpdate', {\n type: 'Product',\n locale: window.bvDCC.catalogData.locale,\n catalogProducts: [window.bvDCC.catalogData.catalogProducts[i]]\n });\n }\n }\n\n BV.reviews?.ready()?.then(() => {\n window.setTimeout(function () {\n addAnalyticClassToBazaarVoiceElement('bv_button_buttonFull',\n 'event_product_review',\n productName,\n 'bv_main_container_CTA_row');\n\n addAnalyticClassToBazaarVoiceElement('bv-focusable',\n 'event_button_click',\n 'Open Dropdown Menu',\n 'bv-control-bar-sort');\n\n addAnalyticClassToBazaarVoiceElement('bv-dropdown-target',\n 'event_button_click',\n 'Open Dropdown Menu',\n 'bv-control-bar-sort');\n\n addAnalyticClassToBazaarVoiceElement('bv-expand-filter-button',\n 'event_button_click',\n 'Open Dropdown Menu');\n\n addAnalyticClassToBazaarVoiceElement('bv-content-btn-feedback-yes',\n 'event_button_click',\n 'Helpful Yes');\n\n addAnalyticClassToBazaarVoiceElement('bv-content-btn-feedback-no',\n 'event_button_click',\n 'Helpful No');\n\n addAnalyticClassToBazaarVoiceElement('bv_avgRating',\n 'event_internal_link',\n 'See All Reviews Panel');\n\n addAnalyticClassToBazaarVoiceElement('bv_numReviews_text',\n 'event_internal_link',\n 'See All Reviews Panel');\n\n addAnalyticClassToBazaarVoiceElement('bv-content-btn-pages-load-more',\n 'event_button_click',\n 'See More Reviews');\n\n addAnalyticClassToBazaarVoiceElement('bv-dropdown-item',\n 'event_button_click',\n 'Filter %value%',\n 'bv-dropdown-active',\n 'data-bv-dropdown-value');\n\n addAnalyticClassToBazaarVoiceElement('bv-rating-link',\n 'event_button_click',\n 'Star Rating %value%',\n 'bv-submission-star-rating-control',\n 'id',\n 'bv-radio-rating-');\n\n addAnalyticClassToBazaarVoiceElement('bv-text',\n 'event_button_click',\n 'Form Field %value%',\n 'bv-fieldset-usernickname',\n 'name');\n\n addAnalyticClassToBazaarVoiceElement('bv-select',\n 'event_button_click',\n 'Form Field %value%',\n 'bv-fieldset-contextdatavalue_AgeMonth',\n 'name');\n\n addAnalyticClassToBazaarVoiceElement('bv-select',\n 'event_button_click',\n 'Form Field %value%',\n 'bv-fieldset-contextdatavalue_AgeYear',\n 'name');\n\n addAnalyticClassToBazaarVoiceElement('bv-text',\n 'event_button_click',\n 'Form Field %value%',\n 'bv-email-field',\n 'name');\n\n addAnalyticClassToBazaarVoiceElement('bv-text',\n 'event_button_click',\n 'Form Field %value%',\n 'bv-fieldset-userlocation',\n 'name');\n\n addAnalyticClassToBazaarVoiceElement('bv-text',\n 'event_button_click',\n 'Form Field %value%',\n 'bv-fieldset-title',\n 'name');\n\n addAnalyticClassToBazaarVoiceElement('bv-text',\n 'event_button_click',\n 'Form Field %value%',\n 'bv-fieldset-reviewtext',\n 'name');\n\n addAnalyticClassToBazaarVoiceElement('bv-form-actions-submit',\n 'event_button_click',\n 'Submit');\n\n addAnalyticClassToBazaarVoiceElement('bv-content-btn-pages-last',\n 'event_view_more_review',\n productName);\n\n addAnalyticClassToBazaarVoiceElement('bv_button_buttonMinimalist',\n 'event_product_review',\n productName);\n\n const Reviewsummary = document.getElementById('ratings-summary')\n if (Reviewsummary) {\n Reviewsummary.classList.add('event_product_review_view');\n Reviewsummary.setAttribute('data-action-detail', productName);\n }\n\n // Add a class on user block if 0 Reviews from BV.\n const reviewText = document.getElementsByClassName('bv_numReviews_component_container');\n\n if (reviewText.length > 0 && reviewText[0] !== null) {\n if (reviewText[0].innerText.includes('(0)')) {\n\n const userBlock = document.getElementsByClassName('ob-customer-review');\n if (userBlock[0] !== null && typeof userBlock[0] != 'undefined') {\n userBlock[0].classList.add('no-reviews');\n }\n }\n }\n\n\n const inlineRating = document.querySelector(\"[data-bv-show='inline_rating']\");\n if (inlineRating !== null && inlineRating.innerText.includes('(0)')) {\n // Find inline-rating (0)\n inlineRating.classList.add('no-reviews');\n }\n\n }, 2000);\n });\n }\n}\n\n\nfunction enableTabIndex(item, enable) {\n if (!enable) {\n if (item.getAttribute('tabindex') && item.getAttribute('tabindex') >= 0) {\n item.setAttribute('data-previous-tabIndex', item.getAttribute('tabindex'));\n }\n item.setAttribute('tabindex', -1);\n } else {\n let newTabIndex = null;\n if (item.getAttribute('data-previous-tabIndex')) {\n newTabIndex = item.getAttribute('data-previous-tabIndex');\n item.setAttribute('tabindex', newTabIndex);\n } else {\n item.removeAttribute('tabindex');\n }\n }\n}\n\nexport function removeHtmlTag(query) {\n query = query.replace(/[&\\/\\\\#+$~%.'\":*<>[\\]{}]/g, '');\n return query;\n}\n\nexport function isIOS() {\n return [\n 'iPad Simulator',\n 'iPhone Simulator',\n 'iPod Simulator',\n 'iPad',\n 'iPhone',\n 'iPod'\n ].includes(window?.navigator?.platform)\n // iPad on iOS 13 detection\n || (window?.navigator?.userAgent?.includes('Mac') && 'ontouchend' in document);\n}\n\nexport function validatePattern(pattern, inputText,) {\n return inputText.search(new RegExp(pattern)) >= 0;\n}\n\nexport function redirectTo(url) {\n window.location.href = url;\n}\n\nexport function openTo(url, target) {\n window.open(url, target);\n}\n\nexport function focusElement(elementId, className) {\n document.getElementById(elementId)?.classList?.toggle(className);\n}\n\nexport function addDropDownListerner(dropBtnClass, dropdownContantClass, dropdownClass) {\n window.onclick = function (event) {\n if (!event.target.matches(dropBtnClass)) {\n const dropdowns = document.getElementsByClassName(dropBtnClass);\n let elementIndex;\n for (elementIndex = 0; elementIndex < dropdowns.length; elementIndex++) {\n let openDropdown = dropdowns[elementIndex];\n if (openDropdown.classList.contains(dropdownContantClass)) {\n openDropdown.classList.remove(dropdownClass);\n }\n }\n }\n }\n}\n\nexport function handleFindInlineRatingElement(timeOut = 10000, outOfRatingValue) {\n setTimeout(() => {\n let buttonElement = document.getElementById('ratings-summary');\n if (buttonElement) {\n buttonElement.setAttribute('role', 'button')\n }\n var activeListItems = document.getElementById('bv-dropdown-select-reviews-sortby')\n Array.isArray(activeListItems) && activeListItems.length > 0 && activeListItems.setAttribute('role', 'listbox');\n\n let menuitem = document.getElementsByClassName('bv-focusable') || '';\n Array.isArray(menuitem) && menuitem.length > 0 && menuitem.forEach((menuitem) => {\n menuitem.setAttribute('role', 'option')\n })\n\n let reviewInput = document.getElementById('bv-text-field-search-contentSearch1');\n Array.isArray(reviewInput) && reviewInput.length > 0 && reviewInput.setAttribute('aria-label', 'Search topics and reviews')\n\n if (typeof window != 'undefined') {\n let optionElement = window.document.getElementById('bv-dropdown-select-reviews');\n if (optionElement) {\n optionElement.setAttribute('role', 'option')\n }\n }\n\n const inlineRating = document.getElementsByClassName('bv_avgRating_component_container');\n if (inlineRating) {\n for (let i = 0; i < inlineRating.length; i++) {\n const inlineRatingElement = inlineRating[i]\n if (outOfRatingValue && (inlineRatingElement.innerText || '').indexOf(outOfRatingValue) < 0) {\n inlineRatingElement.innerText = `${inlineRatingElement.innerText} ${outOfRatingValue}`\n }\n }\n }\n\n }, timeOut);\n}\n\nexport function handleGAEvents(gaEventCategory, gaEventAction, gaEventLabel) {\n window && window.dataLayer && window.dataLayer.push({\n event: 'customEvent',\n GAeventCategory: `${gaEventCategory}`,\n GAeventAction: `${gaEventAction}`,\n GAeventLabel: `${gaEventLabel}`\n });\n};\n\nexport const customJsonstringify = str => JSON.stringify(str).replace(/([&\"'<>])/g, (char) => {\n switch (char) {\n case '&':\n return '\\u0026'\n case '<':\n return '\\u003c'\n case '>':\n return '\\u003e'\n case '\"':\n return '\\u0022'\n case \"'\":\n return '\\u0027'\n default:\n return char\n }\n})\n"],"names":["isString","value","String","isObject","Object","campaignOverlayStatus","isEnableCampaignOverlay","window","sessionStorage","setItem","removeItem","getCookieValue","name","_document$cookie$matc","document","cookie","match","pop","handleFindElement","setTimeout","buttonElement","getElementById","setAttribute","activeListItems","Array","isArray","length","menuitem","getElementsByClassName","forEach","reviewInput","labelConstant","reviewLabel","optionElement","handleColorNameFormat","colorName","splitName","toLowerCase","split","joinName","reduceName","reduce","a","e","push","charAt","toUpperCase","substr","join","toString","calculateHeaderHeight","header","querySelector","height","clientHeight","layout","style","paddingTop","concat","getColorStyle","color","_color$fields","_color$fields2","_color$fields3","_color$fields4","colorCode","fields","colorCodeTop","colorCodeBottom","gradientStyle","backgroundColor","backgroundImage","getRGBFromHexColor","red","green","blue","result","exec","parseInt","smoothVerticalScroll","element","where","extraElemHeight","arguments","undefined","time","headerHeight","offsetHeight","elementAmount","elementTop","getBoundingClientRect","top","currentTime","smoothVerticalScrollBehaviour","scrollBy","focusOnElement","focus","addEventListener","event","currentTarget","removeAttribute","toggleScroll","condition","lastScroll","body","classList","add","remove","scrollTo","stripHtml","html","stripHtmlResult","replace","isIE","ua","navigator","userAgent","indexOf","isIEorEdge","stringToCapitalize","string","splitStr","i","substring","isObjectEmpty","object","key","prototype","hasOwnProperty","call","setMonths","label","months","id","setYears","startYear","years","currentYear","Date","getFullYear","objectWithLabel","_object$property","_object$property$fiel","_object$property2","_object$property2$fie","newObject","property","text","substractDays","date","days","copy","Number","setDate","getDate","formatDateToStringValue","strDate","srcFormat","dstFormat","dateMomentObject","format","formatDate","joinChar","dateFormat","splitDate","shift","reverse","d","month","getMonth","day","year","getDateInNinetyDays","splitIntoTwoArrays","array","console","error","halfOfArray","Math","floor","slice","getReviewAndRatingId","productOverview","reviewAndRatingId","productVariants","_productOverview$fiel","productVariant","_productVariant$field","isBazaarVoiceIdentifier","_productVariant$field2","bazaarVoiceId","_productVariant$field3","sku","ean","loadScript","source","callback","script","createElement","src","onload","onerror","head","getElementsByTagName","appendChild","asyncForEach","_x","_x2","_x3","_asyncForEach","apply","_asyncToGenerator","_regeneratorRuntime","_callee","container","index","_context","prev","next","stop","createHtmlFriendlyId","checkPattern","input","search","RegExp","getAttribute","enableDisableFocusOnElements","enable","allLinks","querySelectorAll","_step2","_iterator2","_createForOfIteratorHelper","s","n","done","item","enableTabIndex","err","f","allButtons","_step3","_iterator3","allInputs","_step4","_iterator4","handleClickToScrollToRnR","rnrElement","scrollIntoView","behavior","getCanonicalURL","path","scheme","MetaConstants","https","url","process","includes","addBVScript","async","type","firstScript","parentNode","insertBefore","addBVCollectionPageCallback","inlineRating","inlineRatingElement","innerText","addBvReviewDetailContainerClass","reviewDetail","_reviewDetailElement$","_reviewDetailElement$2","reviewDetailElement","contains","updateRatingTextCallback","outOfRatingValue","ratingText","trim","reviewButton","reviewButtonElement","addBVProductPageCallback","productName","bvCallback","BV","_window","_BV$reviews","_BV$reviews$ready","addAnalyticClassToBazaarVoiceElement","elementClass","analyticHookClass","dataActionDetail","parentElementClass","attributeToReadForValue","removeFromValue","rootElement","parent","elements","valueActionDetail","bvDCC","len","catalogData","catalogProducts","pixel","trackEvent","locale","reviews","ready","then","Reviewsummary","reviewText","userBlock","newTabIndex","removeHtmlTag","query","isIOS","_window2","_window2$navigator","_window3","_window3$navigator","_window3$navigator$us","platform","validatePattern","pattern","inputText","openTo","target","open","focusElement","elementId","className","_document$getElementB","_document$getElementB2","toggle","addDropDownListerner","dropBtnClass","dropdownContantClass","dropdownClass","onclick","matches","elementIndex","dropdowns","openDropdown","handleFindInlineRatingElement","timeOut","handleGAEvents","gaEventCategory","gaEventAction","gaEventLabel","dataLayer","GAeventCategory","GAeventAction","GAeventLabel","customJsonstringify","str","JSON","stringify","char"],"sourceRoot":""}