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A,GAAAW,GAAA,SAAAX,CAAA,aAAAA,GAAAA,EAAAqP,KAAA,YAAAlP,EAAAiP,EAAA,CAAAE,KAAA,CAAAtP,GAAAoO,KAAAkB,KAAA,CAAAtP,EAAA,OAAAA,GAAA,qCAAAA,GAAA","sources":["webpack://_N_E/./adapters/helpers/Utils.js","webpack://_N_E/"],"sourcesContent":["import moment from 'moment';\nimport {labelConstant, MetaConstants, StartGuideBlockConstants} from '../helpers/Constants'\nimport SuperJSON from 'superjson';\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 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 let arialabel = i.querySelector('a[aria-label]')\n arialabel ? '' : 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 document.getElementsByClassName('zone-header')[0].length > 0 && document.getElementsByClassName('zone-header')[0].removeAttribute('aria-hidden');\n 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\n if(bazaarVoiceURL) {\n\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\n var firstScript = document.getElementsByTagName('script')[0]\n if (firstScript) {\n firstScript.parentNode.insertBefore(s, firstScript);\n }\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\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 const linkTab = document.getElementsByClassName('bv_numReviews_text')\n if (linkTab !== undefined) {\n linkTab[0].setAttribute('tabindex',0)\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}\nexport const validateEmail = (inputs) => {\n if(!new RegExp(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/).test(inputs)){\n return true;\n }\n else {\n return false;\n }\n} \n\nexport function addProductListforSearchContent (productList){\n let stringProductList = '';\n if(Array.isArray(productList) && productList.length > 0){\n stringProductList = customJsonstringify(productList)\n }\n return stringProductList\n}\n\nexport function removeHtmlTag(query) {\n console.log('inside removeHTMLTag log: ', query);\n query = query.replace(/[&\\/\\\\#$~%.'\":*<>[\\]{}]/g, '');\n return query;\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\nexport const addRemainder = (calenderOption, selectedTypeOption) => {\n let dt = new Date()\n let no_of_months = calenderOption?.noOfMonths\n let eventTitle = calenderOption?.title\n let eventNote = calenderOption?.note\n dt.setMonth(dt.getMonth() + no_of_months)\n let endDate = dt\n .toISOString()\n .replaceAll(\":\", \"\")\n .replaceAll(\"-\", \"\")\n .replaceAll(\".\", \"\")\n let date = dt\n .toISOString()\n .replaceAll(\":\", \"\")\n .replaceAll(\"-\", \"\")\n .split(\".\")\n let outlookDate = dt.toISOString().split(\".\")\n let url\n let icsData\n\n switch (selectedTypeOption.type) {\n case StartGuideBlockConstants.Google:\n url =\n selectedTypeOption?.url +\n eventTitle +\n \"&dates=\" +\n endDate +\n \"/\" +\n endDate +\n \"&details=\" +\n eventNote\n window.open(url)\n break\n case StartGuideBlockConstants.Yahoo:\n url =\n selectedTypeOption?.url +\n eventTitle +\n \"&st=\" +\n endDate +\n \"&et=\" +\n endDate +\n \"&desc=\" +\n eventNote\n window.open(url)\n break\n case StartGuideBlockConstants.Outlook:\n url =\n selectedTypeOption?.url +\n \"&startdt=\" +\n outlookDate[0] +\n \"Z\" +\n \"&enddt=\" +\n outlookDate[0] +\n \"Z\" +\n \"&subject=\" +\n eventTitle +\n \"&body=\" +\n eventNote\n window.open(url)\n break\n case StartGuideBlockConstants.Other:\n icsData = \"BEGIN:VCALENDAR\\nVERSION:2.0\\r\\n\"\n icsData += \"BEGIN:VEVENT\\r\\n\"\n icsData += \"DTSTART:\" + date[0] + \"Z\" + \"\\r\\n\"\n icsData += \"DTEND:\" + date[0] + \"Z\" + \"\\r\\n\"\n icsData += `SUMMARY:${eventTitle}\\r\\n`\n icsData += `DESCRIPTION:${eventNote}\\r\\n`\n icsData += \"LOCATION:\\r\\n\"\n icsData += \"BEGIN:VALARM\\r\\n\"\n icsData += \"TRIGGER:-PT15M\\r\\n\"\n icsData += \"ACTION:DISPLAY\\r\\n\"\n icsData += \"DESCRIPTION:REMINDER\\r\\n\"\n icsData += \"END:VALARM\\r\\nEND:VEVENT\\r\\nEND:VCALENDAR\"\n window.open(\n \"data:text/calendar;charset=utf8,\" + encodeURIComponent(icsData)\n )\n }\n }\n\n export const customSuperJsonStringify = str => {\n try {\n return SuperJSON.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 } catch (error) {\n throw new Error('Something went wrong!', error)\n }\n}\n\nexport const customSuperJsonParse = str => {\n try {\n return str && str.match('\"json\":') ? SuperJSON.parse(str): JSON.parse(str)\n } catch (error) {\n throw new Error('Something went wrong!', error)\n }\n}","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8996],{8996:function(e,t,n){n.d(t,{Aq:function(){return $},BF:function(){return O},CB:function(){return p},Cp:function(){return re},DG:function(){return h},DN:function(){return U},DY:function(){return E},FS:function(){return J},HD:function(){return f},Jy:function(){return Y},Kn:function(){return b},L3:function(){return y},ML:function(){return P},MX:function(){return Z},Ms:function(){return I},Nt:function(){return w},R4:function(){return te},Sm:function(){return k},VP:function(){return j},Vt:function(){return x},WI:function(){return F},XP:function(){return W},Zl:function(){return ee},a9:function(){return S},dj:function(){return A},ep:function(){return B},hD:function(){return ne},jc:function(){return g},l$:function(){return L},lU:function(){return H},ll:function(){return m},nD:function(){return N},nK:function(){return D},oH:function(){return X},p6:function(){return M},s9:function(){return z},sz:function(){return Q},vG:function(){return G},ve:function(){return V},vk:function(){return T},w1:function(){return C}});var r=n(49376),o=n.n(r),i=n(87794),a=n.n(i),u=n(30381),l=n.n(u),c=n(24036),d=n(84419);function s(e,t){var n=\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if(\"string\"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&\"number\"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:300,o=document.querySelector(\".zone-header:not(.visible-false)\"),i=(null==o?void 0:o.offsetHeight)?o.offsetHeight:0,a=e.getBoundingClientRect().top,u=(a-i-n)/100,l=0;l<=r;)window.setTimeout(_,l,u,t),l+=r/100}function _(e,t){\"center\"!==t&&\"\"!==t||window.scrollBy(0,e/2),\"top\"===t&&window.scrollBy(0,e)}function A(e){e&&(e.setAttribute(\"tabindex\",-1),setTimeout((function(){e.focus(),e.addEventListener(\"blur\",(function(e){e.currentTarget.removeAttribute(\"tabindex\")}))}),500))}function S(e,t){e?(document.body.classList.add(\"noScroll\"),document.body.style.top=\"-\".concat(t,\"px\"),document.body.style.height=\"-\".concat(t,\"px\")):(document.body.classList.remove(\"noScroll\"),document.body.style.top=null,document.body.style.height=null,window.scrollTo(0,t))}function x(e){return e?e.replace(/<[^>]+>/g,\"\").replace(/ /g,\" \"):\"\"}function C(){var e=window.navigator.userAgent;return e.indexOf(\"MSIE \")>-1||e.indexOf(\"Trident/\")>-1}function E(){var e=window.navigator.userAgent;return e.indexOf(\"MSIE \")>-1||e.indexOf(\"Trident/\")>-1||e.indexOf(\"Edge/\")>-1}function k(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",t=e.toLowerCase().split(\" \"),n=0;n0&&void 0!==arguments[0]?arguments[0]:\"\",t=[],n=0;n<=12;n++)0===n?t.push({id:e,value:e}):n<10&&n>0?t.push({id:n,value:\"0\"+n.toString()}):t.push({id:n,value:n.toString()});return t},T=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1900,n=[{id:e,value:e}],r=(new Date).getFullYear(),o=r;o>=t;o--)n.push({id:o.toString(),value:o.toString()});return n};function N(e){var t={};for(var n in e){var r,o,i,a;if(null==(r=e[n])||null==(o=r.fields)?void 0:o.text)t[n]=null==(i=e[n])||null==(a=i.fields)?void 0:a.text}return t}function R(e,t){var n=new Date(Number(e));return n.setDate(e.getDate()+t),n}function O(e,t){var n=new Date(Number(e));return n.setDate(e.getDate()-t),n}function L(e,t,n){return l()(e,t).format(n)}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"-\",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"yyyy-mm-dd\",r=e,o=e.toString(),i=o&&o.split(\"/\");(C()||2===i.shift().length)&&(r=o.split(\"/\").reverse().join(\"/\"));var a=new Date(r),u=\"\"+(a.getMonth()+1),l=\"\"+a.getDate(),c=a.getFullYear();return u.length<2&&(u=\"0\"+u),l.length<2&&(l=\"0\"+l),\"yyyy-mm-dd\"===n?[c,u,l].join(t):\"dd-mm-yyyy\"===n?[l,u,c].join(t):void 0}function B(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return R(e,90)}function F(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!(e.length<2)){var t=Math.floor(e.length/2),n=e.slice(0,t),r=e.slice(t);return[n,r]}console.error(\"Please provide an array with at least 2 elements\")}function j(e){var t;if(e){var n,r=null==e||null==(n=e.fields)?void 0:n.productVariants;if(r)for(var o=0;o a\");if(n&&n.length>0){var r,o=s(n);try{for(o.s();!(r=o.n()).done;){K(r.value,t)}}catch(e){o.e(e)}finally{o.f()}}var i=e.querySelectorAll(\"* > button\");if(i&&i.length>0){var a,u=s(i);try{for(u.s();!(a=u.n()).done;){K(a.value,t)}}catch(e){u.e(e)}finally{u.f()}}var l=e.querySelectorAll(\"* > input\");if(l&&l.length>0){var c,d=s(l);try{for(d.s();!(c=d.n()).done;){K(c.value,t)}}catch(e){d.e(e)}finally{d.f()}}}}function H(){var e=document.getElementById(\"BVCustomerReviewContiner\");e&&e.scrollIntoView({behavior:\"smooth\"})}function U(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.FU.https,n=\"https://www.oralbarabia.com\"+e;return n.includes(t)?n:t+n}function Y(){var e=document.createElement(\"script\");e.async=!0,e.type=\"text/javascript\",e.src=\"https://apps.bazaarvoice.com/deployments/oralb-ar_sa/main_site/production/ar_SA/bv.js\".replace(new RegExp('\"',\"g\"),\"\");var t=document.getElementsByTagName(\"script\")[0];t&&t.parentNode.insertBefore(e,t)}function $(){window.setTimeout((function(){var e=document.querySelectorAll(\"[data-bv-show='inline_rating']\");if(e)for(var t=0;t0&&void 0!==u[0]&&(a=u[0])}var l=a.getElementsByClassName(e);if(l&&l.length>0)for(var c=0;c0&&null!==n[0]&&n[0].innerText.includes(\"(0)\")){var i=document.getElementsByClassName(\"ob-customer-review\");null!==i[0]&&void 0!==i[0]&&i[0].classList.add(\"no-reviews\")}var a=document.querySelector(\"[data-bv-show='inline_rating']\");null!==a&&a.innerText.includes(\"(0)\")&&a.classList.add(\"no-reviews\")}),2e3)}))}}function K(e,t){if(t){var n=null;e.getAttribute(\"data-previous-tabIndex\")?(n=e.getAttribute(\"data-previous-tabIndex\"),e.setAttribute(\"tabindex\",n)):e.removeAttribute(\"tabindex\")}else e.getAttribute(\"tabindex\")&&e.getAttribute(\"tabindex\")>=0&&e.setAttribute(\"data-previous-tabIndex\",e.getAttribute(\"tabindex\")),e.setAttribute(\"tabindex\",-1)}var X=function(e){return!new RegExp(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/).test(e)};function W(e){return console.log(\"inside removeHTMLTag log: \",e),e=e.replace(/[&\\/\\\\#$~%.'\":*<>[\\]{}]/g,\"\")}function Q(e,t,n){window&&window.dataLayer&&window.dataLayer.push({event:\"customEvent\",GAeventCategory:\"\".concat(e),GAeventAction:\"\".concat(t),GAeventLabel:\"\".concat(n)})}var ee=function(e){return JSON.stringify(e).replace(/([&\"'<>])/g,(function(e){switch(e){case\"&\":return\"&\";case\"<\":return\"<\";case\">\":return\">\";case'\"':return'\"';case\"'\":return\"'\";default:return e}}))},te=function(e,t){var n=new Date,r=null==e?void 0:e.noOfMonths,o=null==e?void 0:e.title,i=null==e?void 0:e.note;n.setMonth(n.getMonth()+r);var a,u,l=n.toISOString().replaceAll(\":\",\"\").replaceAll(\"-\",\"\").replaceAll(\".\",\"\"),d=n.toISOString().replaceAll(\":\",\"\").replaceAll(\"-\",\"\").split(\".\"),s=n.toISOString().split(\".\");switch(t.type){case c.T3.Google:a=(null==t?void 0:t.url)+o+\"&dates=\"+l+\"/\"+l+\"&details=\"+i,window.open(a);break;case c.T3.Yahoo:a=(null==t?void 0:t.url)+o+\"&st=\"+l+\"&et=\"+l+\"&desc=\"+i,window.open(a);break;case c.T3.Outlook:a=(null==t?void 0:t.url)+\"&startdt=\"+s[0]+\"Z&enddt=\"+s[0]+\"Z&subject=\"+o+\"&body=\"+i,window.open(a);break;case c.T3.Other:u=\"BEGIN:VCALENDAR\\nVERSION:2.0\\r\\n\",u+=\"BEGIN:VEVENT\\r\\n\",u+=\"DTSTART:\"+d[0]+\"Z\\r\\n\",u+=\"DTEND:\"+d[0]+\"Z\\r\\n\",u+=\"SUMMARY:\".concat(o,\"\\r\\n\"),u+=\"DESCRIPTION:\".concat(i,\"\\r\\n\"),u+=\"LOCATION:\\r\\n\",u+=\"BEGIN:VALARM\\r\\n\",u+=\"TRIGGER:-PT15M\\r\\n\",u+=\"ACTION:DISPLAY\\r\\n\",u+=\"DESCRIPTION:REMINDER\\r\\n\",u+=\"END:VALARM\\r\\nEND:VEVENT\\r\\nEND:VCALENDAR\",window.open(\"data:text/calendar;charset=utf8,\"+encodeURIComponent(u))}},ne=function(e){try{return d.ZP.stringify(e).replace(/([&\"'<>])/g,(function(e){switch(e){case\"&\":return\"&\";case\"<\":return\"<\";case\">\":return\">\";case'\"':return'\"';case\"'\":return\"'\";default:return e}}))}catch(e){throw new Error(\"Something went wrong!\",e)}},re=function(e){try{return e&&e.match('\"json\":')?d.ZP.parse(e):JSON.parse(e)}catch(e){throw new Error(\"Something went wrong!\",e)}}}}]);"],"names":["self","webpackChunk_N_E","push","e","t","n","d","Aq","$","BF","O","CB","p","Cp","re","DG","h","DN","U","DY","E","FS","J","HD","f","Jy","Y","Kn","b","L3","y","ML","P","MX","Z","Ms","I","Nt","w","R4","te","Sm","k","VP","j","Vt","x","WI","F","XP","W","Zl","ee","a9","S","dj","A","ep","B","hD","ne","jc","g","l$","L","lU","H","ll","m","nD","N","nK","D","oH","X","p6","M","s9","z","sz","Q","vG","G","ve","V","vk","T","w1","C","r","o","i","a","u","l","c","s","Symbol","iterator","Array","isArray","v","Object","prototype","toString","call","slice","constructor","name","from","test","length","done","value","next","return","String","querySelector","setAttribute","getAttribute","toLowerCase","split","reduce","charAt","toUpperCase","substr","join","document","clientHeight","style","paddingTop","concat","fields","colorCode","colorCodeTop","colorCodeBottom","gradientStyle","backgroundColor","backgroundImage","exec","parseInt","red","green","blue","arguments","offsetHeight","getBoundingClientRect","top","window","setTimeout","_","scrollBy","focus","addEventListener","currentTarget","removeAttribute","body","classList","add","height","remove","scrollTo","replace","navigator","userAgent","indexOf","substring","hasOwnProperty","id","Date","getFullYear","text","Number","setDate","getDate","format","shift","reverse","getMonth","Math","floor","console","error","productVariants","isBazaarVoiceIdentifier","bazaarVoiceId","sku","ean","createElement","src","onload","onerror","getElementsByTagName","appendChild","q","apply","mark","wrap","prev","stop","search","querySelectorAll","K","getElementById","scrollIntoView","behavior","FU","https","includes","async","type","parentNode","insertBefore","innerText","bvCallback","getElementsByClassName","bvDCC","catalogData","catalogProducts","pixel","trackEvent","locale","reviews","ready","then","log","dataLayer","event","GAeventCategory","GAeventAction","GAeventLabel","JSON","stringify","noOfMonths","title","note","setMonth","toISOString","replaceAll","T3","Google","url","open","Yahoo","Outlook","Other","encodeURIComponent","ZP","match","parse"],"sourceRoot":""}