1(function(){var e={2453:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"banner__big-quote",class:e.backgroundColor},[t("div",{staticClass:"banner__big-quote-container"},[t("p",{staticClass:"banner__big-quote_content",class:[e.smallScreen?"":e.titleHnTag],domProps:{innerHTML:e._s(e.decodeHtml(e.title))}}),e._v(" "),e.authorName||e.authorIcon?t("div",{staticClass:"banner__big-quote_author"},[e.authorIcon?t("img",{attrs:{src:e.authorIcon,alt:e.altText}}):e._e(),e._v(" "),t("div",{staticClass:"banner__big-quote_author-desc"},[e.authorName?t("p",{staticClass:"banner__big-quote_author-title",style:[e.authorIcon?{"text-align":"inherit"}:{"text-align":"center"}],domProps:{innerHTML:e._s(e.decodeHtml(e.authorName))}}):e._e(),e._v(" "),e.authorDescription?t("p",{staticClass:"banner__big-quote_author-description",style:[e.authorIcon?{"text-align":"inherit"}:{"text-align":"center"}],domProps:{innerHTML:e._s(e.decodeHtml(e.authorDescription))}}):e._e()])]):e._e()])])},s=[],n={name:"big-quote",props:{titleHnTag:{type:String,required:!0,default:"is-2"},altText:{type:String,required:!1,default:"Big Quote"},title:{type:String,required:!0,default:"Combined with a daily SPF lotion"},authorIcon:{type:String,required:!1,default:""},authorName:{type:String,required:!1,default:""},backgroundColor:{type:String,required:!1,default:""},authorDescription:{type:String,required:!1,default:""}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches}},methods:{decodeHtml(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value}}},r=n,o=i(1656),l=(0,o.A)(r,a,s,!1,null,null,null),c=l.exports},4572:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"collapse",class:{"collapse--expanded":!e.collapsed||e.mobileOnly&&!e.smallScreen}},[t(e.titleTagName,{tag:"component",staticClass:"collapse__title"},[e.mobileOnly&&!e.smallScreen?[e._t("title",null,{collapsed:e.collapsed})]:[t("button",{attrs:{"data-toggle":"collapse","data-target":`#${e.id}`,"aria-expanded":""+(e.collapsed?"false":"true"),"aria-controls":e.id,"aria-label":(e.collapsed?e.ariaLabelOpened:e.ariaLabelClosed)||e.ariaLabel},on:{click:function(t){return e.toggleCollapse()}}},[e._t("title",null,{collapsed:e.collapsed})],2)]],2),e._v(" "),t("div",{ref:"collapseContent",staticClass:"collapse__content",attrs:{id:e.id}},[t("div",{ref:"collapseWrapper",staticClass:"collapse__wrapper"},[e._t("default")],2)])],1)},s=[],n=i(4871),r=i(4848),o={name:"collapse",directives:{tag:r.Tc},props:{titleTagName:{type:String,required:!1,default:"div"},expanded:{type:Boolean,required:!1,default:!1},btnTagging:{type:Object,required:!1,default:void 0},ariaLabel:{type:String,required:!1,default:void 0},ariaLabelOpened:{type:String,required:!1,default:void 0},ariaLabelClosed:{type:String,required:!1,default:void 0},mobileOnly:{type:Boolean,required:!1,default:!1}},data(){return{collapsed:!this.expanded,id:`collapse${Math.floor(1e3*Math.random())+1}`,smallScreen:!window.matchMedia("(min-width: 1024px)").matches}},watch:{collapsed(){this.updateContentSize()}},mounted(){n.B.$on("mediaquery::changed",this.whenMediaQueryChange),this.updateContentSize()},methods:{whenMediaQueryChange(){this.smallScreen=!window.matchMedia("(min-width: 1024px)").matches,this.updateContentSize()},updateContentSize(){if(this.mobileOnly&&!this.smallScreen||!this.$refs.collapseWrapper)this.$refs.collapseContent.style.height="auto",this.$refs.collapseContent.style.visibility="visible";else{const e=this.$refs.collapseWrapper.getBoundingClientRect().height;this.$refs.collapseContent.style.height=this.collapsed?0:`${e}px`,this.$refs.collapseContent.style.visibility=this.collapsed?"hidden":"visible"}},extractGa4Properties(){const e=["event_name","link_url","cta_name","module_name","breadcrumb","click_area","product_tab","method","step","store_name","article_name","search_keyword","video_title","form_name"],t={};for(const[i,a]of Object.entries(this.btnTagging))e.includes(i)&&Object.assign(t,{[i]:this.btnTagging[i]});return t},toggleCollapse(){if(this.collapsed=!this.collapsed,this.$emit("collapseClick",this.collapsed),this.btnTagging){const e={event:"uaevent",ecommerce:"undefined",eventCategory:this.btnTagging.category,eventAction:this.btnTagging.action,eventLabel:this.btnTagging.label};
1if(this.btnTagging.event_name){const t=this.extractGa4Properties();Object.assign(e,t),r.Xj.pushDataLayer(e)}else e.event_name="product_info_click",e.product_tab=this.btnTagging.action,e.product_info=this.btnTagging.label+":"+this.btnTagging.productid,r.Xj.pushDataLayer(e)}}}},l=o,c=i(1656),d=(0,c.A)(l,a,s,!1,null,null,null),u=d.exports},4808:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"field field--checkbox"},[e.v?t("input",{directives:[{name:"model",rawName:"v-model.trim.lazy",value:e.checkboxValue,expression:"checkboxValue",modifiers:{trim:!0,lazy:!0}}],staticClass:"input is-sr-only",attrs:{type:"checkbox",id:e.field.id,"aria-describedby":e.fieldDescribedby,"aria-required":e.v.required,name:e.field.id,required:e.v.required},domProps:{checked:Array.isArray(e.checkboxValue)?e._i(e.checkboxValue,null)>-1:e.checkboxValue},on:{change:function(t){var i=e.checkboxValue,a=t.target,s=!!a.checked;if(Array.isArray(i)){var n=null,r=e._i(i,n);a.checked?r<0&&(e.checkboxValue=i.concat([n])):r>-1&&(e.checkboxValue=i.slice(0,r).concat(i.slice(r+1)))}else e.checkboxValue=s}}}):t("input",{directives:[{name:"model",rawName:"v-model.trim.lazy",value:e.checkboxValue,expression:"checkboxValue",modifiers:{trim:!0,lazy:!0}}],staticClass:"input is-sr-only",attrs:{type:"checkbox",id:e.field.id,"aria-describedby":e.fieldDescribedby,name:e.field.id},domProps:{checked:Array.isArray(e.checkboxValue)?e._i(e.checkboxValue,null)>-1:e.checkboxValue},on:{change:function(t){var i=e.checkboxValue,a=t.target,s=!!a.checked;if(Array.isArray(i)){var n=null,r=e._i(i,n);a.checked?r<0&&(e.checkboxValue=i.concat([n])):r>-1&&(e.checkboxValue=i.slice(0,r).concat(i.slice(r+1)))}else e.checkboxValue=s}}}),e._v(" "),t("span",{staticClass:"switch"}),e._v(" "),t("label",{staticClass:"label",attrs:{for:e.field.id}},[t("span",{domProps:{innerHTML:e._s(e.htmlStr)}})]),e._v(" "),e.v?[e.v.$error?t("p",{staticClass:"field--error",attrs:{id:e.field.idError}},e._l(e.field.errors,(function(i,a){return t("field-help",{key:a,attrs:{v:e.v,error:i}})})),1):e._e()]:e._e(),e._v(" "),e.field.info?t("p",{staticClass:"field--info"},[e._v("\n "+e._s(e.field.info)+"\n ")]):e._e()],2)},s=[],n=i(3336),r={components:{FieldHelp:n.A},props:{field:{type:Object,required:!0,default:void 0},v:{type:Object,required:!1,default:void 0},value:{type:Boolean,required:!0,default:void 0}},computed:{checkboxValue:{get(){return this.value},set(e){this.$emit("input",e)}},htmlStr(){return this.allReplace(this.htmlDecode(this.field.label),{"<":"<",">":">"})},fieldDescribedby(){return!!this.v&&(!!this.v.$error&&this.field.idError)}},methods:{allReplace(e,t){if(e){for(const i in t)e=e.replace(new RegExp(i,"g"),t[i]);return e}return this.field.label},htmlDecode(e){const t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}}},o=r,l=i(1656),c=(0,l.A)(o,a,s,!1,null,null,null),d=c.exports},3336:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var a=function(){var e=this,t=e._self._c;return e.v.$error&&e.cleardata&&!e.v[e.error.validator]?t("span",{staticClass:"field-help"},[e._v("\n "+e._s(e.error.message)+"\n")]):e._e()},s=[],n={props:{error:{type:Object,required:!0,default:void 0},v:{type:Object,required:!0,default:void 0}},data(){return{cleardata:!0}},mounted(){window.eventBus.$on("clearError",(e=>{this.cleardata=e}))}},r=n,o=i(1656),l=(0,o.A)(r,a,s,!1,null,null,null),c=l.exports},2053:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"field field--input",class:[e.fieldData.id]},[t("div",{staticClass:"control"},[t("label",{staticClass:"label",class:{"is-fixed":""!==e.inputValue||e.fixedLabel},attrs:{for:e.fieldData.id}},[e._v("\n "+e._s(e.mandatoryValue?e.fieldData.label.substring(0,e.fieldData.label.length-1):e.fieldData.label)+"\n ")]),e._v(" "),e.v?t("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0}}],staticClass:"input",class:{"has-icon":e.isPassword,"has-error":e.v.$error},attrs:{id:e.fieldData.id,type:e.type,"aria-describedby":e.fieldDescribedby,name:e.fieldData.id,required:e.v.required},domProps:{value:e.inputValue},on:{blur:[function(t){e.v.$touch(),e.focused(!1),e.callEmit()},function(t){return e.$forceUpdate()}],focus:function(t){return e.focused(!0)},input:[function(t){t.target.composing||(e.inputValue=t.target.value.trim())},function(t){return e.validate(t.target.value)}]}}):t("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0}}],staticClass:"input",class:{"has-icon":e.isPassword},attrs:{id:e.fieldData.id,type:e.type,name:e.fieldData.id},domProps:{value:e.inputValue},on:{blur:[function(t){return e.focused(!1)},function(t){return e.$forceUpdate()}],focus:function(t){return e.focused(!0)},input:function(t){t.target.composing||(e.inputValue=t.target.value.trim())}}}),e._v(" "),e.isPassword?t("button",{staticClass:"input-icon input-icon--password",class:{"
1is-active":e.passwordIsRevealed},attrs:{type:"button","aria-pressed":""+(e.passwordIsRevealed?"true":"false")},on:{click:e.toggleRevealPassword}},[t("svg",{attrs:{viewbox:"0 0 23 14","aria-hidden":"true"}},[t("path",{attrs:{d:"M11.5 0c5.227 0 9.691 2.903 11.5 7-1.809 4.097-6.273 7-11.5 7S1.809 11.097 0 7c1.809-4.097 6.273-7 11.5-7zm.5 11c2.208 0 4-1.792 4-4s-1.792-4-4-4-4 1.792-4 4 1.792 4 4 4zm0-6c1.107 0 2 .893 2 2s-.893 2-2 2-2-.893-2-2 .893-2 2-2z","fill-rule":"nonzero"}})]),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.fieldData.passwordIconInfo))])]):e._e()]),e._v(" "),e.v&&e.v.$error?t("p",{staticClass:"field--error",attrs:{id:e.fieldData.idError}},e._l(e.fieldData.errors,(function(i,a){return t("field-help",{key:a,attrs:{v:e.v,error:i}})})),1):e._e(),e._v(" "),e.fieldData.info?t("p",{staticClass:"field--info",attrs:{id:`${e.fieldData.id}-help`}},[e._v("\n "+e._s(e.fieldData.info)+"\n ")]):e._e()])},s=[],n=i(3336),r={components:{FieldHelp:n.A},props:{field:{type:Object,required:!0,default:void 0},v:{type:Object,required:!1,default:void 0},value:{type:String,required:!0,default:void 0},liveValidation:{type:Boolean,required:!1,default:!1},startUpdate:{type:Boolean,required:!1,default:!1},mandatoryValue:{type:Boolean,required:!1,default:!1}},data(){return{isPassword:!1,passwordIsRevealed:!1,type:"base-id"===this.field.type?"password":this.field.type,fixedLabel:!1,fieldData:this.field}},computed:{inputValue:{get(){return this.value},set(e){this.$emit("input",e)}},fieldDescribedby(){return this.v.$error?`${this.fieldData.id}-help ${this.fieldData.idError}`:`${this.fieldData.id}-help`}},watch:{startUpdate(e){e&&this.updateField()}},mounted(){this.isPassword="password"===this.type},methods:{updateField(){this.$forceUpdate()},focused(e){this.fixedLabel=e},validate(e){this.liveValidation&&(this.v.$touch(),this.inputValue=e)},toggleRevealPassword(){this.type="password"===this.type?"text":"password",this.passwordIsRevealed=!this.passwordIsRevealed},callEmit(){this.$emit("checkSMSOption")}}},o=r,l=i(1656),c=(0,l.A)(o,a,s,!1,null,null,null),d=c.exports},500:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"custom-sort",attrs:{tabindex:e.tabindex},on:{blur:function(t){e.open=!1}}},[t("div",{staticClass:"selected",class:{open:e.open},on:{click:function(t){e.open=!e.open}}},[t("label",[e._v(e._s(e.sortlabel)+" : ")]),e._v(" "+e._s(e.selected)+"\r\n ")]),e._v(" "),t("div",{staticClass:"items",class:{selectHide:!e.open}},e._l(e.options,(function(i,a){return t("div",{key:a,class:e.selected==i.text?"active":"",on:{click:function(t){e.selected=i.text,e.open=!1,e.$emit("getInput",i.value)}}},[e._v("\r\n "+e._s(i.text)+"\r\n ")])})),0)])},s=[],n={name:"customSorting",props:{options:{type:Array,required:!0},sortlabel:{type:String,required:!1,default:null},default:{type:String,required:!1,default:null},tabindex:{type:Number,required:!1,default:0}},data(){return{selected:this.default?this.default:this.options.length>0?this.options[0]:null,open:!1}},computed:{selectText(){return this.default||this.options?.[0]}}},r=n,o=i(1656),l=(0,o.A)(r,a,s,!1,null,null,null),c=l.exports},3889:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return u}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"article-push"},[t("div",{staticClass:"article-push__content"},[t("responsive-image",{attrs:{"aspect-ratio":"69",srcset:e.srcSet}},[t("img",{attrs:{src:"/frontend/master/images/placeholder.png",alt:"placeholder"}}),e._v(" "),t("noscript",[t("img",{attrs:{src:e.imgSrc,alt:e.imgAlt}})])]),e._v(" "),t("a",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{label:e.tagging.label,category:e.tagging.category,action:"select::articles",event_name:"body_button_click",module_name:"article card",cta_name:e.tagging.label,link_url:e.currentUrl()+e.itemUrl},expression:"{\n label: tagging.label, \n category: tagging.category, \n action: 'select::articles',\n event_name: 'body_button_click',\n module_name: 'article card',\n cta_name: tagging.label,\n link_url: currentUrl() + itemUrl\n }",arg:"useractionevent"}],staticClass:"article-push__link btn__outside-elm",attrs:{href:e.itemUrl,tabindex:"0"},domProps:{innerHTML:e._s(e.itemTitle)}}),e._v(" "),t("div",{staticClass:"cta--secondary cta--light"},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.ctaLabel)+"\n ")])])],1)])},s=[],n=i(4848),r=i(772),o={name:"article-card",directives:{tag:n.Tc},components:{ResponsiveImage:r["default"]},props:{srcSet:{type:Object,required:!1,default:()=>({})},imgSrc:{type:String,required:!1,default:void 0},imgAlt:{type:String,required:!1,default:"image"},itemTitle:{type:String,required:!0,default:void 0},itemUrl:{type:String,required:!0,default:void 0},tagging:{type:Object,required:!0,default:void 0},ctaLabel:{type:String,required:!1,default:""}},methods:{currentUrl(){return window.location.origin}}},l=o,c=i(1656),d=(0,c.A)(l,a,s,!1,null,null,null),u=d.exports},9380:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return w}});var a=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"tag",rawName:"v-tag:productimpression.dom",value:{label:`${e.pageCategory}`},expression:"{label: `${pageCategory}`}",arg:"productimpression",modifiers:{dom:!0}}],staticClass:"product-card",class:e.trackClass,attrs:{"data-tag-wrapper":""}},[t("div",e._b({staticClass:"product-card__content",attrs:{"data-tag-product-identifier":""}},"div",e.dataTagging,!1),[t("a",{directives:[{name:"tag",rawName:"v-tag:productclick.dom",value:{label:`${e.taggingProductName}::${e.tagging.productid}`},expression:"{ label: `${taggingProductName}::${tagging.productid}` }",arg:"productclick",modifiers:{dom:!0}}],staticClass:"product-card__link",attrs:{href:e.productUrl}},[t("div",{staticClass:"product-card__img-wrapper"},[e.productTag?t("div",{staticClass:"product-card_tags"}
1,[e._v(e._s(e.productTag))]):e._e(),e._v(" "),e.packshot?t("img",{directives:[{name:"lazy",rawName:"v-lazy"}],staticClass:"product-card__img",attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=","data-lazy":e.packshot.MainImage?e.packshot.MainImage:e.packshot.src,alt:e.packshot.ImageAlt||e.decodeHtml(e.productName.html).replace(/(<([^>]+)>)/gi,""),loading:"lazy"}}):e._e()]),e._v(" "),t(e.titleTagName,{tag:"component",staticClass:"product-card__name",domProps:{innerHTML:e._s(e.decodeHtml(e.productName.html||e.productName))}})],1),e._v(" "),t("a",{staticClass:"star-rating",attrs:{href:e.productUrl+"#ratings"}},["true"===e.isBazaarvoiceActivated?t("div",[t("div",{attrs:{"data-bv-show":"inline_rating","data-bv-product-id":e.productDataId}})]):"true"===e.isRatingEnabled?t("div",{staticClass:"rfp-rr-star-rating-product-173-or"},[t("StarRatingWrapper",{attrs:{increment:1,"max-rating":5,"inactive-color":e.inactiveColor,"active-color":e.activeColor,"star-size":28,rating:e.overallRating,"total-rating-count":e.totalRatingCount,"read-only":!0,"show-rating":!1,"border-color":"#000","border-width":1,"is-count-in-brackets":e.isCountInBrackets}})],1):e._e()]),e._v(" "),t("p",{staticClass:"product-card__desc",domProps:{innerHTML:e._s(e.decodeHtml(e.productShortDescription))}}),e._v(" "),"true"===e.isCheckitoutEnabled?t("a",{directives:[{name:"tag",rawName:"v-tag:productclick.dom",value:{label:`${e.taggingProductName}::${e.tagging.productid}`},expression:"{ label: `${taggingProductName}::${tagging.productid}` }",arg:"productclick",modifiers:{dom:!0}}],staticClass:"cta cta--light cta--alt",attrs:{href:e.productUrl}},[t("span",{domProps:{innerHTML:e._s(e.ctaLabel)}})]):e._e(),e._v(" "),e.isStoreLocatorEnabled?t("a",{staticClass:"cta cta--light",attrs:{href:e.storeLocatorUrl}},[t("span",{domProps:{innerHTML:e._s(e.storeLocatorLabel)}})]):e._e(),e._v(" "),"true"===e.isBuynowEnabled||1==e.isMikmakEnabled&&e.isSinglevariant>1?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.showProductPopin()}}},[t("span",{domProps:{innerHTML:e._s(e.buynowCta)}})]):e._e(),e._v(" "),1==e.isMikmakEnabled&&1==e.isSinglevariant?t("mikmak-module",{attrs:{"mikmak-widget-id":e.mikmakWidgetId,"mikmak-sticky-button":e.mikmakStickyButton,"label-text":e.labelText,"product-id":e.productEan,"analytics-data":e.analyticsData,"mikmak-cart-tag":e.productTagList,"product-name":e.decodeHtml(e.productName.html||e.productName).replace(/(<([^>]+)>)/gi,"")}}):e._e()],1)])},s=[],n=i(9678),r=i(4848),o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"a-star-rating-wrapper"},[t("star-rating",e._b({attrs:{"border-width":1,"read-only":!0,"show-rating":!1}},"star-rating",e.$props,!1)),e._v(" "),t("span",{attrs:{"aria-label":"rating"}},[e._v(e._s(e.totalRatingCountInBrackets))])],1)},l=[],c=i(4513),d=i.n(c),u={components:{StarRating:d()},props:{...d().props,totalRatingCount:{type:[String,Number],default:""},isCountInBrackets:{type:Boolean,default:!0}},computed:{totalRatingCountInBrackets(){return this.isCountInBrackets?this.totalRatingCount?`(${this.totalRatingCount})`:`(${this.rating})`:this.totalRatingCount?this.totalRatingCount:this.rating}}},p=u,h=i(1656),m=(0,h.A)(p,o,l,!1,null,null,null),g=m.exports,v=i(4076),_={name:"product-card",directives:{tag:r.Tc,srcset:n.hH,lazy:n.RZ},components:{StarRatingWrapper:g,MikmakModule:v.A},props:{productName:{type:[String,Object],required:!1},inactiveColor:{type:String,default:"#fff",required:!1},activeColor:{type:String,default:"#000",required:!1},isRatingEnabled:{type:String,required:!1},AverageRating:{type:Number},productShortDescription:{type:String,default:""},productUrl:{type:String,required:!1,default:""},tagging:{type:Object,required:!1,default:()=>({})},mikmakTagging:{type:Array,required:!1,default:()=>[]},packshot:{type:Object,required:!1,default:()=>({})},ctaLabel:{type:String,required:!1,default:""},isBazaarvoiceActivated:{type:String,required:!1},productTag:{type:String,required:!1,default:""},buynowCtaText:{type:String,required:!1,default:""},borderColor:{type:String,required:!1},totalRatingCount:{type:String},isBuynowEnabled:{type:String},productId:{type:String},productItemId:{type:String,default:""},dataBynowTagging:{type:Object},initialData:{type:Object},dataVariantEan:{type:String,required:!1},errorMessgage:{type:String,required:!1,default:""},position:{type:Number},productDataId:{type:String},titleTagName:{type:String,default:"h2"},pageCategory:{type:String,default:"product selector page"},isCountInBrackets:{type:Boolean,default:!0},isCheckitoutEnabled:{type:String},trackClass:{type:String,default:"trackImpfour"},isMikmakEnabled:{type:Boolean,required:!1,default:""},labelText:{type:String,required:!1,default:""},mikmakWidgetId:{type:String,required:!1},mikmakStickyButton:{type:Boolean,required:!1},analyticsData:{type:Object,default:()=>({})},productEan:{type:String,default:""},isSinglevariant:{type:Number,default:1},storeLocatorLabel:{type:String,required:!1,default:""},storeLocatorUrl:{type:String,required:!1,default:""},isStoreLocatorEnabled:{type:Boolean,required:!1,default:!1}},data(){return{overallRating:this.AverageRating,buyData:{},productTagList:[]}},computed:{dataTagging(){const e=Object.keys(this.tagging).reduce(((e,t)=>{let i;if("product_label"!=t&&"product_franchise"!=t&&"product_quantity_range"!=t)if("ProductLabel"==t){let e="product_label";i=e.toLocaleLowerCase()}else if("ProductQuantityRange"==t){let e="product_quantity_range";i=e.toLocaleLowerCase()}else if("ProductFranchise"==t){let e="product_franchise";i=e.toLocaleLowerCase()}else i=t.toLocaleLowerCase().replace("product","product-");else i=t;return"id"===i||"product-id"===i?(e["data-tag-product-id"]=this.tagging[t],e):(e[`data-tag-${i}`]=this.tagging[t],"price"==i||"name"==i||"dimension48"==i||"dimension49"==i||"dimension91"==i||"brand"==i||"category"==i||"dimension
159"==i||"dimension38"==i?"dimension59"==i&&""==this.tagging[t]?e[`data-tag-product-${i}`]="none":e[`data-tag-product-${i}`]=this.tagging[t]:"position"==i?e[`data-tag-product-${i}`]=this.position+1:e[`data-tag-${i}`]=this.tagging[t],e)}),{});return e},taggingProductName(){return this.tagging?.name?.toLowerCase()||this.tagging?.Name?.toLowerCase()},buynowCta(){return this.isMikmakEnabled?this.labelText:this.buynowCtaText}},mounted(){if(this.productTagList=Array.isArray(this.mikmakTagging)?this.mikmakTagging:JSON.parse(this.mikmakTagging||"[]"),document.querySelectorAll(`.${this.trackClass}`).length){let e=document.querySelector(`.${this.trackClass}`).getBoundingClientRect().x,t="impression",i=0;document.querySelectorAll(`.${this.trackClass}`).forEach(((a,s)=>{const n=a.getBoundingClientRect();e!=n.x?a.classList.add(t):(t="impression-"+i,a.classList.add(t),i++)}))}},methods:{decodeHtml(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value},validateID(e){return 5==e.split("-").length},showProductPopin(){let e=this.decodeHtml(this.productName.html||this.productName),t=new DOMParser,i=t.parseFromString(e,"text/html"),a=(i.body.textContent,{isMikmakEnabled:this.isMikmakEnabled,productEan:this.productEan,mikmakWidgetId:this.mikmakWidgetId,mikmakStickyButton:this.mikmakStickyButton,analyticsData:this.analyticsData,labelText:this.labelText,productTagList:this.productTagList});const s={id:this.validateID(this.productItemId)?this.productItemId:this.productId,disableColorTheme:"SwiperSlide"===this.$parent.$options.name,mikmakData:a};window.eventBus.$emit("openProductPopin",s)}}},f=_,y=(0,h.A)(f,a,s,!1,null,null,null),w=y.exports},4076:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var a=function(){var e=this,t=e._self._c;return e.stickyBuynowButton&&e.smallScreen&&e.oneVariant||e.stickyBuynowButton&&!e.smallScreen&&(e.oneVariant||!e.oneVariant)||!e.stickyBuynowButton?t("button",e._b({staticClass:"cta cta--light",attrs:{id:"mikmak-button","data-mm-ids":e.productId,"data-mm-wtbid":e.mikmakWidgetId,"data-mm-sticky":e.mikmakStickyButton,"aria-label":e.labelText,"data-mm-id-type":"gtin"},on:{click:function(t){e.handleBuyNowClick(e.productName,e.productId),e.ddxOn()}}},"button",e.additionalProp,!1),[t("span",[e._v(e._s(e.labelText))])]):e._e()},s=[],n=(i(4114),{name:"mikmak-module",data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,filteredProducts:[],variantSize:""}},props:{mikmakWidgetId:{type:String,required:!1},mikmakStickyButton:{type:Boolean,required:!1},labelText:{type:String,default:"BUY NOW"},productId:{type:String,required:!1},analyticsData:{type:Object,default:()=>({})},stickyBuynowButton:{type:Boolean,required:!1,default:!1},oneVariant:{type:Boolean,required:!1,default:!1},isDdxVisible:!1,mikmakCartTag:{type:Array,required:!1,default:()=>[]},productName:{type:String,required:!1,default:""}},computed:{additionalProp(){return this.mikmakStickyButton?{"data-mm-main-id":this.productId}:{}}},mounted(){window.swnDataLayer||(window.swnDataLayer={}),window.swnDataLayer.widget_callback=this.handleMikMakEvents,window.eventBus.$on("selectedVolume",(e=>{this.$emit("update:productId",e),this.variantSize=e.size})),window.eventBus.$on("selectedVolumePDP",(e=>{this.productId=e}));const e=()=>{const t=document.getElementById("swn-awe-popin-ctnr");t?(this.observer=new MutationObserver((e=>{e.forEach((e=>{const i=[...t.classList],a=i.includes("swn-awe-popin-ctnr-closed")||i.includes("swn-awe-popin-ctnr-closed-done");a?window.eventBus.$emit("mikmakClosed"):i.includes("swn-awe-popin-ctnr")&&this.ddxOn()}))})),this.observer.observe(t,{attributes:!0,attributeFilter:["class"]})):setTimeout(e,1e3)};e()},methods:{ddxOn(){let e=window.eventBus.mikmakproduct[0].tagging?.ecommerce?.detail?.products[0],t=e.id,i=e.name;window.eventBus.$emit("mikmakOpened",{productId:t,productName:i})},handleMikMakEvents(e){"buy"===e.action&&this.addToCart(e)},addToCart(e){if(!Array.isArray(this.mikmakCartTag)||0===this.mikmakCartTag.length)return;const t=e.product.id.split("_")[0];let i=window.eventBus.mikmakproduct;
1i.forEach((e=>{e.variantEANId===t&&e?.tagging?.ecommerce?.detail?.products.forEach((e=>{this.variantSize&&(e.dimension35=this.variantSize,e.variant=this.variantSize),this.filteredProducts=e}))}));try{window.dataLayer.push({event:"addToCart",event_name:"add_to_cart",eventCategory:"Ecommerce",eventAction:`redirection::${e.store.name.toLowerCase()}`,eventLabel:`${e.product.name.toLowerCase()}::${t}`,product_info:`${e.product.name.toLowerCase()}::${t}`,step:"redirection",store_name:e.store.name.toLowerCase(),ecommerce:{currencyCode:e.product.currency,add:{products:this.filteredProducts}}})}catch(a){console.error(a)}},storeCurrentProduct(){window.eventBus.mikmakproduct=this.mikmakCartTag},handleBuyNowClick(e,t){this.storeCurrentProduct(),this.$nextTick((()=>{this.triggerAnalytics(e,t)}))},triggerAnalytics(e,t){try{window.dataLayer.push({event:"uaevent",event_name:"buy_now",ecommerce:"undefined",eventCategory:"Ecommerce",eventAction:"click to buy",eventLabel:`${e.toLowerCase()}::${t}`,product_info:`${e.toLowerCase()}::${t}`})}catch(i){console.error("Error in triggerAnalytics:",i)}}}}),r=n,o=i(1656),l=(0,o.A)(r,a,s,!1,null,null,null),c=l.exports},970:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var a=function(){var e=this,t=e._self._c;return t("div",[t("div",{ref:"openModal",staticClass:"modal__open-btn",on:{click:function(t){return t.preventDefault(),e.openModal.apply(null,arguments)}}},[e._t("button",null,{ally:e.showModal})],2),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],staticClass:"modal",attrs:{"aria-labelledby":e.ariaLabelledby,"aria-describedby":e.ariaDescribedby}},[e.smallScreen?t("div",{staticClass:"modal__backface"}):e._e(),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"modal__backface",on:{click:function(t){"rf-spotscan-popin"!==e.config&&"rf-final-question"!==e.config&&e.closeModal()}}}),e._v(" "),t("div",{ref:"wrapper",staticClass:"modal__wrapper",class:e.showModal?"--opened":""},[t("button",{staticClass:"modal__close-btn-svg",attrs:{type:"button"},on:{click:e.closeModal,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeModal.apply(null,arguments)}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.1514 12L3.57569 19.5757L4.42422 20.4242L11.9999 12.8485L19.5757 20.4242L20.4242 19.5757L12.8485 12L20.4242 4.42421L19.5757 3.57568L11.9999 11.1514L4.42421 3.57569L3.57568 4.42422L11.1514 12Z",fill:"black"}})])]),e._v(" "),t("div",{staticClass:"modal__content"},[e._t("default")],2)])])])},s=[],n=i(5353),r={name:"modal",props:{closeAriaLabel:{type:String,required:!1,default:void 0},closeLabel:{type:String,required:!1,default:"×"},ariaLabelledby:{type:String,required:!1,default:void 0},ariaDescribedby:{type:String,required:!1,default:void 0},config:{type:String,default:void 0}},data(){return{showModal:!1,deferredPrompt:null,smallScreen:!window.matchMedia("(min-width: 1024px)").matches}},computed:{...(0,n.L8)(["getCurrentIndex","getQuestionList"])},methods:{openModal(){this.showModal=!0,this.$nextTick((()=>{this.setFocus()}))},closeModal(){if("rf-exit-popin"===this.config)window.eventBus.$emit("rf-close-exit-popin",!1);else if("rf-spotscan-popin"===this.config)window.eventBus.$emit("rf-close-spotscan-popin",!1),this.getCurrentIndex<this.getQuestionList.length-1&&(this.$store.commit("removeAnswerAtIndex",this.getCurrentIndex),this.$store.commit("setCurrentIndex","next"));else{let e=document.querySelectorAll(".medicalpopin").length;this.showModal=e>0,window.eventBus.$emit("multipopin-close",!0),this.$refs.openModal.querySelector("button").focus()}},setFocus(){this.$el.querySelector(".modal__close-btn").focus()}}},o=r,l=i(1656),c=(0,l.A)(o,a,s,!1,null,null,null),d=c.exports},772:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return p}});var a=function(){var e=this,t=e._self._c;return t("div",{class:e.classes},[t("div",{ref:"backgroundWrapper",staticClass:"responsive-image__media"},[t("div",{ref:"parallax",staticClass:"parallax",class:[e.isParallaxActive?"active":""],style:e.parallaxCss}
1),e._v(" "),e._t("default"),e._v(" "),e._t("content")],2)])},s=[],n=i(9678),r=i(8155),o=i(6431),l={name:"responsive-image",props:{srcset:{type:[Object,String],required:!1,default:void 0},aspectRatio:{type:String,required:!1,default:void 0},animate:{type:String,required:!1,default:"zoom"},enableDsfService:{type:Boolean,required:!1,default:!1},isMobileVersionEnabled:{type:Boolean,required:!1,default:!1},mobileVersionImage:{type:String,required:!1,default:""},desktopImages:{type:[Object,String],required:!1,default:void 0}},data(){return{loaded:!0,isParallaxActive:!1,backgroundImage:void 0,translateParallax:"translate3d(0px, 0px, 0px)",smallScreen:!window.matchMedia("(min-width: 1024px)").matches,smallScreenDevice:!window.MqHandler||window.MqHandler.getMqForSize("small").selected}},computed:{parallaxCss(){return{backgroundImage:this.backgroundImage,transform:this.translateParallax}},classes(){return["responsive-image",this.aspectRatio?`-ratio -ratio--${this.aspectRatio}`:"",this.animate?`-${this.animate}`:"",this.$slots.content?"-gradient":"",this.loaded?"-loaded":""]}},mounted(){this.img=this.$refs.backgroundWrapper.querySelector("img"),(0,o.YJ)(this.$el,{checkIsVisible:!1}).then((()=>
1{this.loaded=!0,this.updateBackground(),"parallax"===this.animate&&this.parallax(),this.srcset&&(this.responsiveListener=(0,r.sg)((()=>this.updateBackground()),200),window.addEventListener("resize",this.responsiveListener))}))},destroyed(){this.responsiveListener&&(window.removeEventListener("resize",this.responsiveListener),this.responsiveListener=null)},updated(){document.getElementsByTagName("body")[0].classList.contains("pagemode-edit")&&this.updateBackground()},methods:{parallaxTransitions(){const e=this.$refs.parallax.getBoundingClientRect();e.y<=0&&e.height>-e.y?(this.isParallaxActive=!0,this.translateParallax=`translate3d(0px, ${-e.y/8}px, 0px)`):(this.isParallaxActive=!1,this.translateParallax="translate3d(0px, 0px, 0px)")},parallax(){window.addEventListener("scroll",this.parallaxTransitions)},updateBackground(){let e=this.getBackgroundImage();if(this.enableDsfService&&this.isMobileVersionEnabled&&this.mobileVersionImage&&this.smallScreen)this.backgroundImage=`url('${this.mobileVersionImage}')`;else if(this.enableDsfService&&this.isMobileVersionEnabled&&""==this.mobileVersionImage&&this.smallScreen)this.backgroundImage=`url('${this.desktopImages.imagelow}')`;else{if(this.srcset){let t=Object.keys(this.srcset).map((e=>[Number(e),this.srcset[e]]));""===e&&(t[1][1]&&(e=t[1][1]),t[0][0]&&(e=t[0][0]))}this.backgroundImage=`url('${e}')`}const t=this.$refs.backgroundWrapper.querySelector("img");t&&(t.src=e)},getBackgroundImage(){if(this.srcset)return(0,n.Pm)(this.srcset);const e=this.$el.querySelector("img");return e&&e.src?e.src:void 0}}},c=l,d=i(1656),u=(0,d.A)(c,a,s,!1,null,null,null),p=u.exports},5719:function(e,t,i){"use strict";i.d(t,{A:function(){return ft}});var a=function(){var e=this,t=e._self._c;return t("div",[t("div",{ref:"popupElement",staticClass:"routine_finder__modal",class:this.popupLoad?"fade-in":"fade-out"},[this.loadingIcon?t("div",{staticClass:"loader-container"},[t("div",{staticClass:"loadMore-trigger"}),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{staticClass:"loader-css"},[e._v("Loading")])])],1):e._e(),e._v(" "),t("div",{staticClass:"routine_finder__modal__innerWrapper"},[this.popupBannerVisible?t("routine-finder-header",{attrs:{headerdata:this.headerData}}):e._e(),e._v(" "),this.questionAnswerStart?t("routine-finder-question-answer"):e._e(),e._v(" "),this.routineBanner?t("routing-finder-banner",{attrs:{bannerdata:this.bannerData}}):e._e(),e._v(" "),e.resultPage?t("routine-finder-result-page"):e._e()],1)])])},s=[],n=function(){var e=this,t=e._self._c;return t("header",{staticClass:"routine_finder__header"},[t("div",{staticClass:"routine_finder__header__container"},[t("div",{staticClass:"routine_finder__header__back"},[e.getCurrentIndex>0?t("button",{on:{click:function(t){return e.prev()}}},[t("span",{staticClass:"back-arrow"}),e._v(" "+e._s(e.headerdata.before))]):e._e()]),e._v(" "),t("div",{staticClass:"routine_finder__header__logo"},[t("img",{attrs:{src:this.headerdata.image.image_url,alt:e.headerdata.image.image_alt}})]),e._v(" "),t("div",{staticClass:"routine_finder__header__exit"},[t("button",{on:{click:function(t){return e.closeRoutineFinder()}}},[t("span",{staticClass:"back-arrow"},[e._v(e._s(e.headerdata.exit))])])])]),e._v(" "),e.showExitPopin?t("routine-finder-exit-popin"):e._e()],1)},r=[],o=i(5353),l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-popin routine-finder-popin--exit"},[t("div",{staticClass:"multipopin"},[t("div",{staticClass:"multipopin__container"},[t("modal",{ref:"modal",staticClass:"multipopin__container--modal",attrs:{config:"rf-exit-popin"}},[t("div",{staticClass:"multipopin__container__header"},[e.questions.exit_popin.title?t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:55,ellipse:!1,singleLine:!1},expression:"{ limit: 55, ellipse: false, singleLine: false }"}],staticClass:"multipopin__container__title--des",domProps:{innerHTML:e._s(e.questions.exit_popin.title)}}):e._e(),e._v(" "),t("div",{staticClass:"multipopin__container__imgplaceholder"},[t("img",{attrs:{src:e.questions.exit_popin.image.image_url,alt:e.questions.exit_popin.image.image_alt}})]),e._v(" "),t("div",{staticClass:"multipopin__container__desplaceholder"},[e.questions.exit_popin.description?t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:170,ellipse:!1,singleLine:!1},expression:"{ limit: 170, ellipse: false, singleLine: false }"}],staticClass:"multipopin__container__footer--description",domProps:{innerHTML:e._s(e.questions.exit_popin.description)}}
1):e._e()])]),e._v(" "),t("div",{staticClass:"multipopin__container__footer"},[t("div",{staticClass:"multipopin__container__footer--cta_placeholder"},[t("div",{staticClass:"multipopin__container__footer--cta_placeholder-one"},[t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.exitPopin()}}},[e._v(e._s(e.getButtonSetting.exit_popin.continue)+" ")])]),e._v(" "),t("div",{staticClass:"multipopin__container__footer--cta_placeholder-two"},[t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.continueButton()}}},[e._v(e._s(e.getButtonSetting.exit_popin.exit)+" ")])])])])])],1)])])},c=[],d=i(970),u=i(70),p=i(8756);const h=350;function m(e,t=h,i=!0){const a=document.createElement("div");a.innerHTML=e;let s=0;const n=i?"...":"";function r(e){if(s>=t)return!0;if(e.nodeType===Node.TEXT_NODE){let i=t-s;if(e.textContent.length>i)return e.textContent=e.textContent.substring(0,i)+n,s=t,!0;s+=e.textContent.length}else if(e.nodeType===Node.ELEMENT_NODE)for(let t=0;t<e.childNodes.length;t++)if(r(e.childNodes[t])){while(e.childNodes.length>t+1)e.removeChild(e.childNodes[t+1]);return!0}return!1}return r(a),a.innerHTML}function g(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}const v={name:"truncate-rich-text",bind:(e,t)=>{const i=e,a=t.value.limit,s=e.innerHTML,n=g(s),r=!!t.value.singleLine&&t.value.singleLine;if(!(n.length<=a))if(r){const s=e.textContent,n=t.value.ellipse?"...":"";i.innerHTML=(0,p.xv)(s,a,n)}else i.innerHTML=m(s,a,t.value.ellipse)}};var _={name:"routine-finder-exit-popin",components:{SpotscanEmbed:u.A,Modal:d.A},directives:{truncateRichText:v},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,spotscanApplication:"spotscan",spotscanStatus:this.spotscan}},computed:{...(0,o.L8)(["getCurrentIndex","getButtonSetting","getSpotScanData","getQuestionList"]),questions(){return this.getQuestionList[this.getCurrentIndex]}},mounted(){this.$children[0].$data.showModal=!0},methods:{exitPopin(){this.$children[0].$data.showModal=!1,setTimeout((()=>{window.eventBus.$emit("rf-close-exit-popin",!1)}),100)},continueButton(){this.$store.commit("resetQuestionAnsDatas"),document.querySelector(".routine_finder__modal").classList.remove("animationend"),setTimeout((()=>{window.eventBus.$emit("routineFinderClose:on",!1)}),100)}}},f=_,y=i(1656),w=(0,y.A)(f,l,c,!1,null,null,null),b=w.exports,C={name:"routine-finder-header",components:{routineFinderExitPopin:b},props:{headerdata:{type:Object,required:!1}},data(){return{exitPopin:!1,showExitPopin:!1}},computed:{...(0,o.L8)(["getCurrentIndex","getQuestionList","getIsHomePage"])},mounted(){window.eventBus.$on("rf-close-exit-popin",(e=>{this.showExitPopin=!1}))},methods:{closeRoutineFinder(){if(this.getIsHomePage){this.showExitPopin=!1,this.$store.commit("resetQuestionAnsDatas");const e=document.querySelector(".routine_finder__modal");e&&e.classList.remove("animationend"),setTimeout((()=>{window.eventBus.$emit("routineFinderClose:on",!1)}),100)}else this.showExitPopin=!0},prev(){this.getCurrentIndex>0&&(setTimeout((()=>{window.eventBus.$emit("rf-final-question",!1)}),100),this.$store.commit("setCurrentIndex","prev"))}}},S=C,k=(0,y.A)(S,n,r,!1,null,null,null),D=k.exports,L=function(){var e=this,t=e._self._c;return t("div",[t("routine-finder-navi-step"),e._v(" "),t("div",{key:e.getCurrentIndex,staticClass:"routine-finder__qa__container"},[t("div",{staticClass:"routine-finder__qa__innerWrapper"},[t("h2",{staticClass:"heading-h2 routineFinder-h2"},[t("span",[e._v(e._s(e.getCurrentIndex+1)+".")]),e._v(" "),t("span",{staticClass:"stageTwo_question",domProps:{innerHTML:e._s(e.questions.question)}})]),e._v(" "),t("routine-finder-why-do-we-ask",{attrs:{"initial-data":e.questions.question_information,"question-number":e.getCurrentIndex}}),e._v(" "),t("div",{staticClass:"routine-finder__options__title"},[e._v("\n "+e._s(e.getButtonSetting.choose_one)+"\n ")]),e._v(" "),t("div",{staticClass:"routine-finder__options",class:{"--threeGridColoum":2!=e.getCurrentIndex}},e._l(e.questions.answers,(function(i,a){return t("div",{key:a,staticClass:"routine-finder__options_grid",class:{"--disabled":e.fadeSelectionMap[i.answer_id]}},[t("label",{staticClass:"routine-finder__options__label",class:{"--checked":e.isSelected(e.getCurrentIndex,i.answer_id)},attrs:{for:i.answer_id}},[t("input",{staticClass:"routine-finder__options__input",attrs:{type:"radio",name:`question-${e.getCurrentIndex}`,id:i.answer_id},domProps:{checked:e.isSelected(e.getCurrentIndex,i.answer_id)},on:{click:function(t){return e.selectAnswer(e.getCurrentIndex,e.questions.category,i.option,i.answer_text,i.answer_id,i.fade_answers,i.try_spotscan,i.result_page_accordions)}}}),e._v(" "),t("div",{staticClass:"routine-finder__options__control"},[t("img",{staticClass:"routine-finder__options__thumbnail",attrs:{src:i.image.image_url,alt:""}}),e._v(" "),t("div",{staticClass:"routine-finder__options__text"},[t("span",[i.answer_text?t("h3",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:40,ellipse:!1,singleLine:!1},expression:"{ limit: 40, ellipse: false, singleLine: false }"}],staticClass:"heading-h3",domProps:{innerHTML:e._s(i.answer_text)}}
1):e._e()])])])])])})),0),e._v(" "),t("div",{staticClass:"routine-finder__qa__buttons"},[t("button",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:30,ellipse:!1,singleLine:!0},expression:"{ limit: 30, ellipse: false, singleLine: true }"}],staticClass:"routine-finder__qa__buttons__notSureCta",class:e.questions.not_sure?"":"--inactive",on:{click:function(t){return e.initNoteSureModal()}}},[e._v(e._s(e.getButtonSetting.not_sure))]),e._v(" "),t("button",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:30,ellipse:!1,singleLine:!0},expression:"{ limit: 30, ellipse: false, singleLine: true }"}],class:["routine-finder__qa__buttons__continueCta",e.isAnswerSelected?"":"--disabled"],attrs:{disabled:!e.isAnswerSelected},on:{click:function(t){return e.nextQuestion()}}},[e._v(e._s(e.getButtonSetting.continue))])])],1),e._v(" "),e.routineFinderInfoModal&&e.questions.not_sure?t("routine-finder-info-modal",{attrs:{"modal-data":e.questions.not_sure}}):e._e(),e._v(" "),e.showSpotscan?t("routine-finder-popin-spotscan",{attrs:{spotscan:e.showSpotscan}}):e._e(),e._v(" "),e.showFinalQuestion?t("routine-finder-final-question"):e._e()],1)],1)},T=[],x=(i(4114),function(){var e=this,t=e._self._c;return t("nav",{staticClass:"routine_finder__step"},[t("span",{staticClass:"step_line"}),e._v(" "),t("ul",{ref:"stepNav",staticClass:"routine_finder__step__list"},e._l(e.getQuestionCount,(function(i){return t("li",{key:i,staticClass:"routine_finder__step__list__item"},[t("button",{class:["stepBtn",e.getCurrentIndex===i-1?"--active":e.getCurrentIndex<i-1?"":"--previous"]},[t("span",{staticClass:"qa_number"},[e._v(e._s(i)),t("span",{staticClass:"tick"})]),e._v(" "),t("span",{staticClass:"qa_title",attrs:{"data-title":e.getQuestionList[i-1].category}})])])})),0)])}),A=[],P={name:"routine-finder-nav-step",directives:{truncateRichText:v},data(){return{getInnerText:"",smallScreen:!window.matchMedia("(min-width: 1024px)").matches}},computed:{...(0,o.L8)(["getQuestionCount","getQuestionList","getAnswerDataList","getCurrentIndex"])},mounted(){this.hyphenchange()},methods:{hyphenchange(){const e=this.$refs.stepNav.querySelectorAll(".routine_finder__step__list__item .qa_title");e&&e.forEach((e=>{let t=this.smallScreen?e.getAttribute("data-title").replace(/-/g,"<br>"):e.getAttribute("data-title").replace(/-/g,"");const i=30;let a=0,s="",n=!1;const r=t.split(/(<br\s*\/?>)/gi);return r.forEach((e=>{if(!n)if(/<br\s*\/?>/i.test(e))s+=e;else{const t=i-a;if(t<=0)return void(n=!0);const r=e.slice(0,t);s+=r,a+=r.length,a>=i&&(n=!0)}})),e.innerHTML=s}))}}},E=P,M=(0,y.A)(E,x,A,!1,null,null,null),I=M.exports,$=function(){var e=this,t=e._self._c;return e.initialData?t("div",[e.initialData.is_question?e._e():t("div",{staticClass:"routine-finder__whyAsk__container",on:{click:function(t){return e.initNoteSureModal()}}},[t("div",{staticClass:"routine-finder__whyAsk__inner-wrapper"},[e.initialData.image.image_url?t("div",{staticClass:"routine-finder__whyAsk__icon"},[t("img",{attrs:{src:e.initialData.image.image_url,alt:e.initialData.image.image_alt}})]):e._e(),e._v(" "),t("div",{staticClass:"routine-finder__whyAsk__details"},[e.initialData.question_info.question_cta_text?t("h3",{staticClass:"heading-h3"},[e._v("\n "+e._s(e.initialData.question_info.question_cta_text))]):e._e()]),e._v(" "),t("div",{staticClass:"arrow-icon"},[t("svg",{attrs:{width:"40",height:"8",viewBox:"0 0 40 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M39.3536 4.35355C39.5488 4.15829 39.5488 3.84171 39.3536 3.64645L36.1716 0.464466C35.9763 0.269204 35.6597 0.269204 35.4645 0.464466C35.2692 0.659728 35.2692 0.976311 35.4645 1.17157L38.2929 4L35.4645 6.82843C35.2692 7.02369 35.2692 7.34027 35.4645 7.53553C35.6597 7.7308 35.9763 7.7308 36.1716 7.53553L39.3536 4.35355ZM0 4.5L39 4.5V3.5L0 3.5L0 4.5Z",fill:"black"}})])])])]),e._v(" "),e.initialData.is_question?t("div",{staticClass:"routine-finder__whyAsk__container with-desc",on:{click:function(t){return e.initNoteSureModal()}}},[t("div",{staticClass:"routine-finder__whyAsk__inner-wrapper"},[e.initialData.image.image_url?t("div",{staticClass:"routine-finder__whyAsk__icon"},[t("img",{attrs:{src:e.initialData.image.image_url,alt:e.initialData.image.image_alt}}
1)]):e._e(),e._v(" "),t("div",{staticClass:"routine-finder__whyAsk__details"},[e.initialData.question_info.title?t("h3",{staticClass:"heading-h3"},[e._v(" "+e._s(e.initialData.question_info.title)+"\n ")]):e._e(),e._v(" "),e.initialData.question_info.description?t("p",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:120,ellipse:!1,singleLine:!1},expression:"{ limit: 120, ellipse: false, singleLine: false }"}],staticClass:"routineFinder-p",domProps:{innerHTML:e._s(e.initialData.question_info.description)}}):e._e()]),e._v(" "),""===e.initialData.question_info.description?t("div",{staticClass:"arrow-icon"},[t("svg",{attrs:{width:"40",height:"8",viewBox:"0 0 40 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M39.3536 4.35355C39.5488 4.15829 39.5488 3.84171 39.3536 3.64645L36.1716 0.464466C35.9763 0.269204 35.6597 0.269204 35.4645 0.464466C35.2692 0.659728 35.2692 0.976311 35.4645 1.17157L38.2929 4L35.4645 6.82843C35.2692 7.02369 35.2692 7.34027 35.4645 7.53553C35.6597 7.7308 35.9763 7.7308 36.1716 7.53553L39.3536 4.35355ZM0 4.5L39 4.5V3.5L0 3.5L0 4.5Z",fill:"black"}})])]):e._e()]),e._v(" "),e.initialData.question_info.information_cta_text?t("div",{staticClass:"routine-finder__whyAsk__learnmore"},[t("span",[e._v(e._s(e.initialData.question_info.information_cta_text))]),e._v(" "),t("div",{staticClass:"arrow-icon"},[t("svg",{attrs:{width:"40",height:"8",viewBox:"0 0 40 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M39.3536 4.35355C39.5488 4.15829 39.5488 3.84171 39.3536 3.64645L36.1716 0.464466C35.9763 0.269204 35.6597 0.269204 35.4645 0.464466C35.2692 0.659728 35.2692 0.976311 35.4645 1.17157L38.2929 4L35.4645 6.82843C35.2692 7.02369 35.2692 7.34027 35.4645 7.53553C35.6597 7.7308 35.9763 7.7308 36.1716 7.53553L39.3536 4.35355ZM0 4.5L39 4.5V3.5L0 3.5L0 4.5Z",fill:"black"}})])])]):e._e()]):e._e(),e._v(" "),e.routineFinderInfoModal&&e.initialData.pop_in?t("routine-finder-info-modal",{attrs:{"modal-data":e.initialData.pop_in}}):e._e()],1):e._e()},B=[],q=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"routine_finder_info__modal",class:this.openInfoModal?"slideActive":""},[t("div",{ref:"scrollableElement",staticClass:"routine_finder_info__innerWrapper"},[t("div",{staticClass:"routine_finder_info__close"},[t("div",{on:{click:function(t){return e.closeInfoModal()}}},[t("svg",{attrs:{width:"43",height:"41",viewBox:"0 0 43 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("line",{attrs:{x1:"2.81109",y1:"1.18891",x2:"41.8111",y2:"40.1889",stroke:"black","stroke-width":"2.29412"}}),e._v(" "),t("line",{attrs:{x1:"1.18891",y1:"40.1889",x2:"40.1889",y2:"1.18891",stroke:"black","stroke-width":"2.29412"}})])])]),e._v(" "),t("div",{staticClass:"routine_finder_info__content"},[t("h3",{staticClass:"heading-h3",domProps:{innerHTML:e._s(e.modalData.question)}}),e._v(" "),t("div",{staticClass:"routine_finder_info__desc__container"},[e.modalData.question&&e.modalData.description?t("div",{staticClass:"modal-description mainDesc",domProps:{innerHTML:e._s(e.modalData.description)}}):e._e(),e._v(" "),e._l(e.modalData.answers,(function(i){return e.modalData.answers?t("div",{staticClass:"routine_finder_info__titleDesc"},[i.title?t("span",{staticClass:"modal-title",domProps:{innerHTML:e._s(i.title)}}):e._e(),e._v(" "),i.description?t("p",{staticClass:"modal-description routineFinder-p",domProps:{innerHTML:e._s(i.description)}}):e._e()]):e._e()}))],2)]),e._v(" "),t("div",{staticClass:"routine_finder_info__cta"},[t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.closeInfoModal()}}},[e._v(e._s(e.modalData.back_to_answer))])])])]),e._v(" "),e.routineFinderInfoOverlay?t("div",{staticClass:"routine_finder_info__overlay",on:{click:function(t){return e.closeInfoModal()}}}):e._e()])},O=[],N={name:"routine-finder-info-modal",props:{modalData:{type:Object,required:!1}},data(){return{openInfoModal:!0,routineFinderInfoOverlay:!0,smallScreen:window.matchMedia("(max-width: 650px)").matches}},mounted(){const e=this.$refs.scrollableElement;!this.smallScreen&&e.scrollHeight>e.clientHeight&&e.classList.add("noFixedBtn")},methods:{closeInfoModal(){this.openInfoModal=!1,window.eventBus.$emit("routineFinderInfoModalClose:on",!1),this.routineFinderInfoOverlay=!1}}},V=N,F=(0,y.A)(V,q,O,!1,null,null,null),H=F.exports,R={name:"routine-finder-why-do-we-ask",components:{routineFinderInfoModal:H},directives:{truncateRichText:v},props:{questionNumber:{type:Number},initialData:{type:Object,required:!1}},data(){return{routineFinderInfoModal:!1}},mounted(){window.eventBus.$on("routineFinderInfoModalClose:on",(e=>{this.routineFinderInfoModal=!1}))},methods:{initNoteSureModal(){this.routineFinderInfoModal=!0}}},j=R,z=(0,y.A)(j,$,B,!1,null,null,null),W=z.exports,U=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-popin"},[t("div",{staticClass:"multipopin"},[t("div",{staticClass:"multipopin__container"},[t("modal",{ref:"modal",staticClass:"multipopin__container--modal",attrs:{config:"rf-spotscan-popin"}},[t("div",{staticClass:"multipopin__container__header"},[t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:35,ellipse:!1,singleLine:!1},expression:"{ limit: 35, ellipse: false, singleLine: false }"}],staticClass:"multipopin__container__title--des",domProps:{innerHTML:e._s(e.getSpotScanData.title)}}),e._v(" "),e.getSpotScanData.desktop_image.image_url?t("div",{staticClass:"multipopin__container__imgplaceholder"},[t("img",{attrs:{src:e.getSpotScanData.desktop_image.image_url,alt:e.getSpotScanData.desktop_image.image_alt}}
1)]):e._e(),e._v(" "),t("div",{staticClass:"multipopin__container__desplaceholder"},[e.getSpotScanData.description?t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:170,ellipse:!1,singleLine:!1},expression:"{ limit: 170, ellipse: false, singleLine: false }"}],staticClass:"multipopin__container__footer--description",domProps:{innerHTML:e._s(e.getSpotScanData.description)}}):e._e()])]),e._v(" "),t("div",{staticClass:"multipopin__container__footer"},[t("div",{staticClass:"multipopin__container__footer--cta_placeholder"},[t("div",{staticClass:"multipopin__container__footer--cta_placeholder-one"},[e.smallScreen?e._e():t("a",{staticClass:"cta cta--light",attrs:{target:e.getSpotScanData.spotscan_desktop.spotscan_desktop_target,href:e.getSpotScanData.spotscan_desktop.spotscan_desktop_url}},[e._v(" "+e._s(e.getSpotScanData.continue_cta_text)+" ")]),e._v(" "),e.smallScreen?t("div",[e.isScriptLoaded?e._e():t("script",{attrs:{src:"https://dsf-cdn.loreal.io/dropper.js",type:"application/javascript"},on:{load:e.onScriptLoad}}),e._v(" "),t("div",{staticClass:"spotscan-embed"}),e._v(" "),t("div",{staticClass:"spotscan-embed",on:{click:function(t){return e.closeRoutineFinder()}}},[t("div",{staticClass:"cta cta--light",on:{click:function(t){return e.closeRoutineFinder()}}},[t("a",{staticClass:"btn__wrapper opener button-poppin button-open-dsf-app",attrs:{id:"first-cta",href:"#"},on:{click:function(t){return e.closeRoutineFinder()}}},[e._v(e._s(e.getSpotScanData.continue_cta_text)+" ")])])])]):e._e()]),e._v(" "),t("div",{staticClass:"multipopin__container__footer--cta_placeholder-two"},[t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.continuenext()}}},[e._v(e._s(e.getSpotScanData.not_continue_cta_text)+" ")])])])])])],1)])])},Y=[],Q={name:"routine-finder-popin-spotscan",components:{Modal:d.A},directives:{truncateRichText:v},props:{spotscan:{type:Boolean}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,spotscanApplication:"spotscan",spotscanStatus:this.spotscan,isScriptLoaded:!1}},computed:{...(0,o.L8)(["getCurrentIndex","getButtonSetting","getSpotScanData","getQuestionList"])},mounted(){this.spotscanStatus&&(this.$children[0].$data.showModal=!0),this.checkIfScriptLoaded(),this.removeExistingDsfApp(),this.insertNewDsfApp()},methods:{closeRoutineFinder(){document.querySelector(".routine_finder__modal").classList.remove("animationend"),setTimeout((()=>{this.$children[0].$data.showModal=!1,window.eventBus.$emit("routineFinderClose:on",!1)}),100)},continuenext(){this.getCurrentIndex<this.getQuestionList.length-1&&(this.$store.commit("removeAnswerAtIndex",this.getCurrentIndex),this.$store.commit("setCurrentIndex","next"),setTimeout((()=>{this.$children[0].$data.showModal=!1,window.eventBus.$emit("routineFinderClosePopin",!1)}),100))},dsfTagging(e="",t="",i=""){return{event:"uaevent",ecommerce:"undefined",event_name:"site_load_service",eventCategory:" ",eventAction:" ",eventLabel:" ",service_name:`${e}`,service_category:`${t}`,cta_name:`${i.toLowerCase()}`}},removeExistingDsfApp(){document.querySelectorAll("dsf-app").forEach((e=>e.remove()))},checkIfScriptLoaded(){const e=document.querySelector('script[src="https://dsf-cdn.loreal.io/dropper.js"]');e&&"complete"===e.readyState?this.onScriptLoad():e||(this.isScriptLoaded=!1)},onScriptLoad(){this.isScriptLoaded=!0,this.insertNewDsfApp()},insertNewDsfApp(){if(!this.isScriptLoaded)return;const e=this.$el.querySelector(".spotscan-embed");if(e){const e=document.createElement("dsf-app");e.setAttribute("tenant",this.getSpotScanData.spotscan_service.Tenant),e.setAttribute("application",this.getSpotScanData.application),e.setAttribute("customer",this.getSpotScanData.spotscan_service.Customer),e.setAttribute("country",this.getSpotScanData.spotscan_service.Country),e.setAttribute("environment",this.getSpotScanData.spotscan_service.Environment),e.setAttribute("touchpoint",this.getSpotScanData.spotscan_service.Touchpoint),e.setAttribute("type",this.getSpotScanData.spotscan_service.Type),e.setAttribute("switch_ecom",this.get
1SpotScanData.spotscan_service.Switchecom),e.setAttribute("loadingbg",this.getSpotScanData.spotscan_service.Loadingbackgroundcolor),e.setAttribute("loadingmsg",this.getSpotScanData.spotscan_service.Loadingmessage),e.setAttribute("csrf_token","$WEBSITE_TOKEN"),e.setAttribute("switch_autostart",this.getSpotScanData.spotscan_service.Switchautostart),document.body.appendChild(e),console.log("dsf-app appended successfully")}else console.error("Failed to find .spotscan-embed container")}}},X=Q,G=(0,y.A)(X,U,Y,!1,null,null,null),K=G.exports,Z=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-final-question"},[t("modal",{ref:"modal",staticClass:"routine-finder-final-question__container--modal",attrs:{config:"rf-final-question"}},[t("div",{staticClass:"routine-finder-final-question__header-section"},[e.getFinalQuestion.question?t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:70,ellipse:!1,singleLine:!1},expression:"{ limit: 70, ellipse: false, singleLine: false }"}],staticClass:"routine-finder-final-question__header-section_title",domProps:{innerHTML:e._s(e.getFinalQuestion.question)}}):e._e()]),e._v(" "),t("div",{staticClass:"routine-finder-final-question__des-section"},[t("div",{staticClass:"routine-finder-final-question__des-section__items"},e._l(e.getFinalQuestion.answers,(function(i,a){return t("div",{key:a,staticClass:"routine-finder-final-question__des-section__items_list",class:{"--active":e.selectedIndex===a},on:{click:function(t){return e.active(a,i.option,i.answer_id,i.answer_title)}}},[t("div",{staticClass:"routine-finder-final-question__des-section__items_list--img"},[t("img",{attrs:{src:i.image.image_url,alt:i.image.image_alt}})]),e._v(" "),t("div",{staticClass:"routine-finder-final-question__des-section__items_list--text"},[t("div",{staticClass:"routine-finder-final-question__des-section__items_list--text-title",domProps:{innerHTML:e._s(i.answer_title)}}),e._v(" "),t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:50,ellipse:!1,singleLine:!1},expression:"{ limit: 50, ellipse: false, singleLine: false }"}],staticClass:"routine-finder-final-question__des-section__items_list--text-des",domProps:{innerHTML:e._s(i.answer_description)}})])])})),0)]),e._v(" "),t("div",{staticClass:"routine-finder-final-question__footer-section"},[t("div",{staticClass:"routine-finder-final-question__footer-section__cta-placeholder"},[t("button",{staticClass:"cta cta--light",class:{disabled:null===e.selectedIndex},attrs:{disabled:null===e.selectedIndex},on:{click:e.closeModal}},[e._v(e._s(e.getFinalQuestion.final_question_cta))])])])])],1)},J=[],ee=i(4848),te={name:"routine-finder-final-question",components:{Modal:d.A},directives:{truncateRichText:v},props:{title:{type:String,default:"WHAT SIZE ROUTINE SUITS <strong>YOUR LIFESTYLE BEST?</strong>"}},data(){return{selectedIndex:null,answerTitle:""}},computed:{...(0,o.L8)(["getFinalQuestion","getAnswerIds","getQuestionCount"])},mounted(){this.$refs.modal&&this.$refs.modal.$data&&(this.$refs.modal.$data.showModal=!0)},methods:{closeModal(){this.$refs.modal&&this.$refs.modal.$data&&(this.gaTagging(),this.$refs.modal.$data.showModal=!1,window.eventBus.$emit("routineFinderresultpage:on",!0),window.eventBus.$emit("rf-final-question",!1))},active(e,t,i,a){this.selectedIndex=e,this.answerTitle=a;let s=this.getFinalQuestion.import_column;this.$store.commit("setAnswerIdsAtIndex",[this.getQuestionCount,t,i,s])},gaTagging(){let e=this.getFinalQuestion.final_question_cta?this.getFinalQuestion.final_question_cta.toLowerCase():"",t=this.getFinalQuestion.final_question_tagging;t.eventAction=e,t.cta_name=e,t.event_detail=this.answerTitle.toLowerCase(),ee.Xj.pushDataLayer(t)}}},ie=te,ae=(0,y.A)(ie,Z,J,!1,null,null,null),se=ae.exports,ne={name:"routine-finder-question-answer",components:{routineFinderNaviStep:I,routineFinderWhyDoWeAsk:W,routineFinderInfoModal:H,routineFinderPopinSpotscan:K,routineFinderFinalQuestion:se},directives:{truncateRichText:v},data(){return{fadeAns:[],fadeSelectionMap:{}
1,routineFinderInfoModal:!1,trySpotscan:!1,showSpotscan:!1,showFinalQuestion:!1}},computed:{...(0,o.L8)(["getQuestionCount","getQuestionList","getAnswerDataList","getAnswerIds","getCurrentIndex","getButtonSetting"]),questions(){return this.getQuestionList[this.getCurrentIndex]},isAnswerSelected(){const e=this.getAnswerDataList.find((e=>e.index===this.getCurrentIndex));return void 0!==e&&void 0!==e.answerID},currentQuestionFadeValues(){const e=this.fadeAns.find((e=>e.questionNumber===this.getCurrentIndex+1));return e?e.fadeValues:[]}},watch:{getCurrentIndex(){this.applyFadesForCurrentQuestion()}},mounted(){window.eventBus.$on("routineFinderInfoModalClose:on",(e=>{this.routineFinderInfoModal=!1})),window.eventBus.$on("routineFinderClosePopin",(e=>{this.showSpotscan=!1})),window.eventBus.$on("rf-close-spotscan-popin",(e=>{this.showSpotscan=!1})),window.eventBus.$on("rf-final-question",(e=>{this.showFinalQuestion=!1})),this.scrollToTop()},methods:{selectAnswer(e,t,i,a,s,n,r,o){this.clearCurrentQuestionFades(),this.updateFadeSelectionMap(n),this.trySpotscan=!!r;let l=this.questions.import_column;this.$store.commit("setAnswerIdsAtIndex",[e,i,s,l]);const c=this.getAnswerDataList.find((t=>t.index===e));c?(c.answerID=i,c.answerValue=a,c.answer_id=s,c.result_page_accordions=o,c.spotscan=r):this.$store.commit("setAnswerDataList",{index:e,question:t,answerID:i,answerValue:a,answer_id:s,accordion:o,spotscan:r})},isSelected(e,t){const i=this.getAnswerDataList.find((i=>i.index===e&&i.answer_id===t));return!!i},nextQuestion(){let e=this.getButtonSetting.continue;if(this.tagging(e),this.getCurrentIndex<this.getQuestionList.length-1){const e=this.getAnswerDataList.find((e=>e.index===this.getCurrentIndex));let t;e&&(t=e.spotscan),this.showFinalQuestion=!1,!0===this.trySpotscan||!0===t?this.showSpotscan=!0:(this.$store.commit("removeAnswerAtIndex",this.getCurrentIndex),this.$store.commit("setCurrentIndex","next"),this.showSpotscan=!1)}else this.showFinalQuestion=!0;this.scrollToTop()},clearCurrentQuestionFades(){const e=this.currentQuestionFadeValues;e.forEach((e=>{this.$delete(this.fadeSelectionMap,e)}))},updateFadeSelectionMap(e){Array.isArray(e)&&e.forEach((e=>{this.$set(this.fadeSelectionMap,e,!0)})),this.storeFadeAnswersForCurrentQuestion(e)},storeFadeAnswersForCurrentQuestion(e){const t=this.getCurrentIndex+1,i=this.fadeAns.find((e=>e.questionNumber===t));i?i.fadeValues=e:this.fadeAns.push({questionNumber:t,fadeValues:e})},applyFadesForCurrentQuestion(){this.clearCurrentQuestionFades();const e=this.currentQuestionFadeValues;e.forEach((e=>{this.$set(this.fadeSelectionMap,e,!0)}))},scrollToTop(){this.$nextTick((()=>{let e=document.querySelector(".routine_finder__modal__innerWrapper");e&&("scrollTo"in e?e.scrollTo({top:0,left:0,behavior:"smooth"}):(e.scrollTop=0,e.scrollLeft=0))}))},initNoteSureModal(){this.routineFinderInfoModal=!0;let e=this.getButtonSetting.not_sure;this.tagging(e)},tagging(e){const t=this.getAnswerDataList.find((e=>e.index===this.getCurrentIndex));let i=t?t.answerValue.toLowerCase():"none",a=this.questions.question_cta_tagging;a.eventAction=e.toLowerCase(),a.cta_name=e.toLowerCase(),a.event_detail=i,ee.Xj.pushDataLayer(a)}}},re=ne,oe=(0,y.A)(re,L,T,!1,null,null,null),le=oe.exports,ce=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine_finder__banner routine_finder__banner__bg",style:{backgroundImage:this.currentBackground},attrs:{"aria-label":this.bannerAlt}},[t("div",{staticClass:"routine_finder__banner__content"},[t("div",{staticClass:"routine_finder__banner__BoxWrapper"},[t("div",{staticClass:"routine_finder__banner__BoxContianer"},[t("div",{staticClass:"routine_finder__banner__borderBox"}),e._v(" "),t("div",{staticClass:"routine_finder__banner__borderText"},[t("h2",{staticClass:"routine_finder__banner__borderText__heading routineFinder-h2"},[e._v(e._s(this.bannerdata.title.big_bold)+"\n ")]),e._v(" "),t("p",{staticClass:"routine_finder__banner__borderText__descOne routineFinder-p"},[e._v(e._s(this.bannerdata.title.medium_bold))]),e._v(" "),t("p",{staticClass:"routine_finder__banner__borderText__descTwo routineFinder-p"},[e._v(e._s(this.bannerdata.title.normal)+"\n ")])])])]),e._v(" "),t("p",{staticClass:"routine_finder__banner__decscription routineFinder-p",domProps:{innerHTML:e._s(e.bannerdata.description)}}),e._v(" "),e.bannerdata.cta_text?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.letStartCta(!0)}}}
1,[e._v(e._s(this.bannerdata.cta_text))]):e._e()])])},de=[],ue={name:"routine-finder-banner",props:{bannerdata:{type:Object,required:!1}},data(){return{currentBackground:"",BannerMobile:this.bannerdata.mobile_image,BannerDesktop:this.bannerdata.desktop_image,bannerAlt:""}},created(){this.setBackground(),window.addEventListener("resize",this.setBackground)},beforeDestroy(){window.removeEventListener("resize",this.setBackground)},computed:{...(0,o.L8)(["getIsHomePage"])},methods:{setBackground(){window.innerWidth<=768?(this.currentBackground=`url('${this.BannerMobile.image_url}')`,this.bannerAlt=this.BannerMobile.image_alt):(this.currentBackground=`url('${this.BannerDesktop.image_url}')`,this.bannerAlt=this.BannerDesktop.image_alt)},letStartCta(e){window.eventBus.$emit("letstartCta:on",e),this.$store.commit("setIsHomePage",!1)}}},pe=ue,he=(0,y.A)(pe,ce,de,!1,null,null,null),me=he.exports,ge=function(){var e=this,t=e._self._c;return t("div",[e.resultLoaderScreenPage?t("routine-finder-loader-screen"):e._e(),e._v(" "),e.resultpageopen?t("div",{staticClass:"routine-finder-result-page"},[t("routine-finder-result-by-email-form",{attrs:{"email-product-ean":e.productEanlist,datas:e.emailFormData}}),e._v(" "),t("div",{staticClass:"routine-finder-result__heading container--is-maxwidth"},[t("h2",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:40,ellipse:!1,singleLine:!0},expression:"{ limit: 40, ellipse: false, singleLine: true }"}],staticClass:"routineFinder-h2",domProps:{innerHTML:e._s(this.apiData.result_title_section?.title)}}),e._v(" "),t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:135,ellipse:!1,singleLine:!1},expression:"{ limit: 135, ellipse: false, singleLine: false }"}],staticClass:"routine-finder-result__desc",domProps:{innerHTML:e._s(this.apiData.result_title_section?.description)}})]),e._v(" "),t("div",{staticClass:"routine-finder-result__your-routine container--is-maxwidth"},[t("h3",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:25,ellipse:!1,singleLine:!0},expression:"{ limit: 25, ellipse: false, singleLine: true }"}],staticClass:"heading-h3"},[e._v("\n "+e._s(e.ctaContent.your_routine))]),e._v(" "),t("routine-finder-your-product-result",{attrs:{"result-product-data":e.productData}})],1),e._v(" "),t("routine-finder-your-profile"),e._v(" "),t("div",{staticClass:"routine-finder-result__startExit-Container"},[t("button",{staticClass:"startOverFinder cta cta--light",on:{click:function(t){return e.startOverApp()}}},[e._v("\n "+e._s(e.ctaContent.start_over_finder)+"\n ")]),t("button",{staticClass:"ExitOverFinder cta cta--light",on:{click:function(t){return e.ExitApp()}}},[e._v("\n "+e._s(e.ctaContent.exit)+"\n ")])])],1):e._e()],1)},ve=[],_e=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-resultByEmail-container"},[t("div",{ref:"primaryEmailCta",staticClass:"routine-finder-resultByEmail",class:{hideCta:e.isOpened,showCta:e.isClosed}},[t("button",{staticClass:"routine-finder-resultByEmail__button",on:{click:function(t){return e.openemailformpopup()}}},[e.datas&&e.datas.image?t("img",{attrs:{src:e.datas.image.image_url,alt:e.datas.image.image_alt}}
1):e._e(),e._v(" "),t("span",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:50,ellipse:!1,singleLine:!0},expression:"{ limit: 50, ellipse: false, singleLine: true }"}]}),e._v(e._s(e.datas.email_title)+"\n ")])]),e._v(" "),t("div",{staticClass:"routine-finder-resultByEmail routine-finder-resultByEmail--bottomSticky",class:{"show-sticky":e.showBottomStickyCta&&e.isClosed,"hide-sticky":!e.showBottomStickyCta||e.isOpened}},[t("button",{staticClass:"routine-finder-resultByEmail__button",attrs:{type:"button"},on:{click:function(t){return e.openemailformpopup()}}},[e.datas&&e.datas.image?t("img",{attrs:{src:e.datas.image.image_url,alt:e.datas.image.image_alt}}):e._e(),e._v(" "),t("span",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:50,ellipse:!1,singleLine:!0},expression:"{ limit: 50, ellipse: false, singleLine: true }"}]}),e._v(e._s(e.datas.email_title)+"\n ")])]),e._v(" "),t("div",{staticClass:"emailForm-overlay",class:{open:e.isOpened,close:e.isClosed,desktopScreen:!e.smallScreen,smallScreen:e.smallScreen}}),e._v(" "),t("div",{staticClass:"routine-finder-result__emailForm__contianer",class:{open:e.isOpened,close:e.isClosed,desktopScreen:!e.smallScreen,smallScreen:e.smallScreen,msgSentSucess:e.successMsg_container}},[t("div",{staticClass:"routine-finder-result__emailForm__close",on:{click:function(t){return e.close_emailformpopup()}}},[t("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.15191 8.99995L0.576172 16.5757L1.4247 17.4242L9.00044 9.84848L16.5762 17.4242L17.4247 16.5757L9.84897 8.99995L17.4247 1.42421L16.5762 0.575684L9.00044 8.15142L1.4247 0.575684L0.576172 1.42421L8.15191 8.99995Z",fill:"black"}})])]),e._v(" "),e.form_container?t("div",{staticClass:"routine-finder-result__emailForm__innerWrapper",class:{"routine-finder-result__emailForm__innerWrapper--twoStep":e.useTwoStepEmail}},[e.useTwoStepEmail?[1===e.currentStep?t("div",{staticClass:"routine-finder-email-two-step routine-finder-email-two-step--step1"},[e.datas.newsletter_fields.title?t("h3",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:55,ellipse:!1,singleLine:!1},expression:"{ limit: 55, ellipse: false, singleLine: false }"}],staticClass:"heading-h3",domProps:{innerHTML:e._s(e.datas.newsletter_fields.title)}}):e._e(),e._v(" "),e.datas.newsletter_fields.text?t("div",{staticClass:"routine-finder-email-two-step__intro",domProps:{innerHTML:e._s(e.datas.newsletter_fields.text)}}):e._e(),e._v(" "),e.datas.newsletter_fields.gender_selection_title?t("div",{staticClass:"form-group routine-finder-email-two-step__gender"},[t("p",{staticClass:"routine-finder-email-two-step__gender-title"},[e._v(e._s(e.datas.newsletter_fields.gender_selection_title))]),e._v(" "),t("div",{staticClass:"routine-finder-email-two-step__radio-row"},e._l(e.genderOptions,(function(i,a){return t("label",{key:"g-"+a,staticClass:"routine-finder-email-two-step__radio"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedGender,expression:"selectedGender"}],attrs:{type:"radio",name:"routineFinderGender",disabled:i.isDisabled},domProps:{value:i.id,checked:e._q(e.selectedGender,i.id)},on:{change:function(t){e.selectedGender=i.id}}}),e._v(" "),t("span",[e._v(e._s(i.label))])])})),0)]):e._e(),e._v(" "),e.datas.newsletter_fields.first_name_label?t("div",{staticClass:"form-group routine-finder-email-two-step__field routine-finder-email-two-step__field--underlineOnly"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.firstName,expression:"firstName"}],attrs:{id:"routine-finder-email-first",type:"text",autocomplete:"given-name",placeholder:e.datas.newsletter_fields.first_name_label,"aria-label":e.datas.newsletter_fields.first_name_label||null},domProps:{value:e.firstName},on:{input:function(t){t.target.composing||(e.firstName=t.target.value)}}})]):e._e(),e._v(" "),e.datas.newsletter_fields.last_name_label?t("div",{staticClass:"form-group routine-finder-email-two-step__field routine-finder-email-two-step__field--underlineOnly"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.lastName,expression:"lastName"}],attrs:{id:"routine-finder-email-last",type:"text",autocomplete:"family-name",placeholder:e.datas.newsletter_fields.last_name_label,"aria-label":e.datas.newsletter_fields.last_name_label||null},domProps:{value:e.lastName},on:{input:function(t){t.target.composing||(e.lastName=t.target.value)}}}
1)]):e._e(),e._v(" "),t("div",{staticClass:"routine-finder-email-two-step__footer"},[t("div",{staticClass:"routine-finder-email-two-step__stepbars",attrs:{role:"tablist","aria-label":"Form steps"}},[t("button",{staticClass:"routine-finder-email-two-step__stepbar is-active",attrs:{type:"button","aria-current":"step"},on:{click:function(t){return e.setStep(1)}}}),e._v(" "),t("button",{staticClass:"routine-finder-email-two-step__stepbar",attrs:{type:"button"},on:{click:function(t){return e.setStep(2)}}})]),e._v(" "),t("button",{staticClass:"submitEmail cta cta--light routine-finder-email-two-step__cta",attrs:{type:"button"},on:{click:e.goToStepTwo}},[e._v("\n "+e._s(e.datas.newsletter_fields.continue_cta_text)+"\n ")])])]):t("div",{staticClass:"routine-finder-email-two-step routine-finder-email-two-step--step2"},[e.datas.title?t("h3",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:55,ellipse:!1,singleLine:!1},expression:"{ limit: 55, ellipse: false, singleLine: false }"}],staticClass:"heading-h3",domProps:{innerHTML:e._s(e.datas.title)}}):e._e(),e._v(" "),e.datas.text?t("div",{staticClass:"routine-finder-email-two-step__intro",domProps:{innerHTML:e._s(e.datas.text)}}):e._e(),e._v(" "),t("form",{on:{submit:function(t){return t.preventDefault(),e.onTwoStepRegisterClick.apply(null,arguments)}}},[t("div",{staticClass:"form-group inputbox-wrapper routine-finder-email-two-step__email"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.getEmailId,expression:"getEmailId"}],class:{emailInvalid:e.emailError},attrs:{id:"emailIdTwoStep",type:"email",autocomplete:"email",placeholder:e.datas.email_label},domProps:{value:e.getEmailId},on:{blur:e.checkTwoStepEmailValidity,input:function(t){t.target.composing||(e.getEmailId=t.target.value)}}}),e._v(" "),e.emailError&&e.twoStepEmailErrorLabel?t("div",{staticClass:"emailError"},[e._v("\n "+e._s(e.twoStepEmailErrorLabel)+"\n ")]):e._e()]),e._v(" "),t("div",{staticClass:"form-group checkbox-wrapper"},[t("label",{attrs:{for:"checkboxTwoStep"}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.acceptedTerms,expression:"acceptedTerms"}],attrs:{id:"checkboxTwoStep",type:"checkbox"},domProps:{checked:Array.isArray(e.acceptedTerms)?e._i(e.acceptedTerms,null)>-1:e.acceptedTerms},on:{change:function(t){var i=e.acceptedTerms,a=t.target,s=!!a.checked;if(Array.isArray(i)){var n=null,r=e._i(i,n);a.checked?r<0&&(e.acceptedTerms=i.concat([n])):r>-1&&(e.acceptedTerms=i.slice(0,r).concat(i.slice(r+1)))}else e.acceptedTerms=s}}}),e._v(" "),t("span",{staticClass:"customCheckbox"}),e._v(" "),t("span",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:450,ellipse:!1,singleLine:!1},expression:"{ limit: 450, ellipse: false, singleLine: false }"}],staticClass:"customCheckboxText",domProps:{innerHTML:e._s(e.datas.email_accent)}})])]),e._v(" "),t("div",{staticClass:"routine-finder-email-two-step__footer"},[t("div",{staticClass:"routine-finder-email-two-step__stepbars",attrs:{role:"tablist","aria-label":"Form steps"}},[t("button",{staticClass:"routine-finder-email-two-step__stepbar",attrs:{type:"button"},on:{click:function(t){return e.setStep(1)}}}),e._v(" "),t("button",{staticClass:"routine-finder-email-two-step__stepbar is-active",attrs:{type:"button","aria-current":"step"},on:{click:function(t){return e.setStep(2)}}})]),e._v(" "),t("button",{staticClass:"submitEmail cta cta--light routine-finder-email-two-step__cta routine-finder-email-two-step__register",attrs:{type:"submit",disabled:!e.isStepTwoReady}},[e._v("\n "+e._s(e.datas.cta_text)+"\n ")])])])])]:[t("h3",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:55,ellipse:!1,singleLine:!1},expression:"{ limit: 55, ellipse: false, singleLine: false }"}],staticClass:"heading-h3",domProps:{innerHTML:e._s(e.datas.title)}}),e._v(" "),t("form",{on:{submit:function(t){return t.preventDefault(),e.handleSubmit.apply(null,arguments)}}},[t("div",{staticClass:"form-group inputbox-wrapper"},[t("label",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:40,ellipse:!1,singleLine:!1},expression:"{ limit: 40, ellipse: false, singleLine: false }"}],attrs:{for:"emailId"}},[e._v(e._s(e.datas.email_label))]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.getEmailId,expression:"getEmailId"}],class:{emailInvalid:e.emailError},attrs:{type:"email",id:"emailId",placeholder:e.datas.sample_email},domProps:{value:e.getEmailId},on:{blur:e.checkEmailValidity,input:function(t){t.target.composing||(e.getEmailId=t.target.value)}}}),e._v(" "),e.emailError?t("div",{staticClass:"emailError"},[e._v("\n "+e._s(e.datas.valid_email_label)+"\n ")]):e._e(
1)]),e._v(" "),t("div",{staticClass:"form-group checkbox-wrapper"},[t("label",{attrs:{for:"checkbox"}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.acceptedTerms,expression:"acceptedTerms"}],attrs:{id:"checkbox",type:"checkbox"},domProps:{checked:Array.isArray(e.acceptedTerms)?e._i(e.acceptedTerms,null)>-1:e.acceptedTerms},on:{change:function(t){var i=e.acceptedTerms,a=t.target,s=!!a.checked;if(Array.isArray(i)){var n=null,r=e._i(i,n);a.checked?r<0&&(e.acceptedTerms=i.concat([n])):r>-1&&(e.acceptedTerms=i.slice(0,r).concat(i.slice(r+1)))}else e.acceptedTerms=s}}}),e._v(" "),t("span",{staticClass:"customCheckbox"}),e._v(" "),t("span",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:450,ellipse:!1,singleLine:!1},expression:"{ limit: 450, ellipse: false, singleLine: false }"}],staticClass:"customCheckboxText",domProps:{innerHTML:e._s(e.datas.email_accent)}})])]),e._v(" "),t("button",{staticClass:"submitEmail cta cta--light",attrs:{type:"submit",disabled:!e.isFormValid}},[e._v(e._s(e.datas.cta_text))])])]],2):e._e(),e._v(" "),e.successMsg_container?t("div",{staticClass:"routine-finder-result__emailForm__innerWrapper successMsg"},[this.loadingIcon?t("div",{staticClass:"loader-container"},[t("div",{staticClass:"loadMore-trigger"}),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{staticClass:"loader-css"},[e._v("Loading")])])],1):e._e(),e._v(" "),this.showSuccessMsg?t("div",[t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:35,ellipse:!1,singleLine:!1},expression:"{ limit: 35, ellipse: false, singleLine: false }"}],staticClass:"successMsg-title",domProps:{innerHTML:e._s(e.datas.sucess_title)}}),e._v(" "),t("div",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:85,ellipse:!1,singleLine:!1},expression:"{ limit: 85, ellipse: false, singleLine: false }"}],staticClass:"successMsg-desc",domProps:{innerHTML:e._s(e.datas.success_message)}})]):e._e()]):e._e()])])},fe=[],ye=(i(4979),{name:"routine-finder-result-by-email-form",directives:{truncateRichText:v},props:{datas:{type:{Object:Object,String:String},required:!0},emailProductEan:{type:String,required:!0}},data(){return{getEmailId:"",emailError:!1,acceptedTerms:!1,smallScreen:window.matchMedia("(max-width: 650px)").matches,animationEnabled:!1,initEmailpopup:!1,isOpened:!1,isClosed:!0,successMsg_container:!1,form_container:!0,loadingIcon:!0,showSuccessMsg:!1,currentStep:1,selectedGender:"",firstName:"",lastName:"",emailSubmitAttempted:!1,isAtTop:!0,isAtBottom:!1,hasReachedProfileSection:!1,scrollContainer:null,primaryEmailCtaScrollThresholdPx:0}},watch:{isClosed(){this.$nextTick((()=>this.measurePrimaryEmailCtaHeight()))}},mounted(){this.$nextTick((()=>{this.bindScrollListener(),this.setupPrimaryEmailCtaObservers(),this.measurePrimaryEmailCtaHeight()})),window.addEventListener("resize",this.measurePrimaryEmailCtaHeight)},beforeDestroy(){window.removeEventListener("resize",this.measurePrimaryEmailCtaHeight),this.teardownPrimaryEmailCtaObservers(),this.unbindScrollListener()},computed:{d(){return"object"===typeof this.datas&&null!==this.datas?this.datas:{}},steps(){const e=this.d.newsletter_fields||this.d.steps;return e&&"object"===typeof e?e:{}},step1(){const e=this.steps,t=e.step_1||e.step1||e;return{title:t.title??this.d.step_one_title,text:t.text??this.d.step_one_text,gender_selection_title:t.gender_selection_title??this.d.gender_selection_title,first_name_label:t.first_name_label??this.d.first_name_label,last_name_label:t.last_name_label??this.d.last_name_label,continue_cta_text:t.continue_cta_text??this.d.continue_cta_text,gender_options:t.gender_options,gender_option_1:t.gender_option_1??this.d.gender_option_1,gender_option_2:t.gender_option_2??this.d.gender_option_2,gender_option_3:t.gender_option_3??this.d.gender_option_3}},step2(){const e=this.steps,t=e.step_2||e.step2||{};return{title:t.title??this.d.step_two_title,text:t.text??this.d.step_two_text??this.d.text,register_cta_text:t.register_cta_text??this.d.register_cta_text}},useTwoStepEmail(){const e=this.d.enable_two_step_email_form;return!0===e||"true"===e||1===e||"1"===e},genderOptions(){const e=this.step1;if(Array.isArray(e.gender_options)&&e.gender_options.length){const t=e.gender_options.map((e=>{if("string"===typeof e){const t=e.trim();return t?{id:t,label:t,isDisabled:!1}:null}if(e&&"object"===typeof e){const t=String(e.label||e.text||e.name||"").trim();return t?{id:String(e.id||e.value||t),label:t,isDisabled:Boolean(e.isDisabled)}:null}return null}
1)).filter(Boolean);if(t.length)return t}const t=[e.gender_option_1,e.gender_option_2,e.gender_option_3],i=t.filter((e=>"string"===typeof e&&e.trim().length>0)).map((e=>({id:e,label:e,isDisabled:!1})));return i},twoStepEmailErrorLabel(){return this.d.valid_email_label||this.d.email_validation_error_message||""},isEmailValid(){const e=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;return e.test(this.getEmailId)},isFormValid(){return this.isEmailValid&&this.acceptedTerms},isEmailValidTwoStep(){const e=(this.getEmailId||"").trim();if(!e||e.length>=35)return!1;const t=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;return t.test(e)},isStepTwoReady(){return this.isEmailValidTwoStep&&this.acceptedTerms},selectedGenderOption(){return this.genderOptions.find((e=>e.id===this.selectedGender))||null},showBottomStickyCta(){return this.useTwoStepEmail&&this.isClosed&&!this.successMsg_container&&!this.isAtTop&&!this.isAtBottom&&!this.hasReachedProfileSection}},methods:{bindScrollListener(){const e=this.$el.closest(".routine_finder__modal__innerWrapper");this.scrollContainer=e||window,this.scrollContainer.addEventListener("scroll",this.handleScroll,{passive:!0}),this.measurePrimaryEmailCtaHeight(),this.updateScrollPositionState()},unbindScrollListener(){this.scrollContainer&&this.scrollContainer.removeEventListener&&this.scrollContainer.removeEventListener("scroll",this.handleScroll),this.scrollContainer=null},handleScroll(){this.updateScrollPositionState()},updateScrollPositionState(){if(!this.scrollContainer)return;this.hasReachedProfileSection=this.isProfileSectionReached();const e=this.primaryEmailCtaScrollThresholdPx,t=e>0?e:1/0;if(this.scrollContainer===window){const e=document.documentElement,i=window.pageYOffset||e.scrollTop||0;return this.isAtTop=i<t,void(this.isAtBottom=i+window.innerHeight>e.scrollHeight-10)}const i=this.scrollContainer.scrollTop||0;this.isAtTop=i<t,this.isAtBottom=i+this.scrollContainer.clientHeight>this.scrollContainer.scrollHeight-10},measurePrimaryEmailCtaHeight(){const e=this.$refs.primaryEmailCta;if(!e||"function"!==typeof e.getBoundingClientRect)return this.primaryEmailCtaScrollThresholdPx=0,void this.updateScrollPositionState();const t=e.offsetHeight||e.getBoundingClientRect().height||0;this.primaryEmailCtaScrollThresholdPx=Math.ceil(t),this.updateScrollPositionState()},setupPrimaryEmailCtaObservers(){if("undefined"===typeof ResizeObserver)return;const e=this.$refs.primaryEmailCta;e&&(this.teardownPrimaryEmailCtaObservers(),this._primaryCtaResizeObserver=new ResizeObserver((()=>this.measurePrimaryEmailCtaHeight())),this._primaryCtaResizeObserver.observe(e))},teardownPrimaryEmailCtaObservers(){this._primaryCtaResizeObserver&&(this._primaryCtaResizeObserver.disconnect(),this._primaryCtaResizeObserver=null)},isProfileSectionReached(){const e=this.$el&&this.$el.parentElement?this.$el.parentElement:null,t=e&&e.querySelector(".routine-finder-your-profile");if(!t)return!1;if(this.scrollContainer===window){const e=t.getBoundingClientRect().top+window.pageYOffset;return window.pageYOffset+20>=e}const i=this.scrollContainer.getBoundingClientRect(),a=t.getBoundingClientRect(),s=a.top-i.top+this.scrollContainer.scrollTop;return this.scrollContainer.scrollTop+20>=s},setStep(e){this.currentStep=e,1===e&&(this.emailError=!1,this.emailSubmitAttempted=!1)},goToStepTwo(){this.currentStep=2},checkTwoStepEmailValidity(){this.useTwoStepEmail&&2===this.currentStep&&(this.emailError=!this.isEmailValidTwoStep)},onTwoStepRegisterClick(){this.isStepTwoReady&&(this.emailError=!1,this.emailSubmitAttempted=!1,this.handleSubmit())},async sendEmail(){this.gaTagging();const e="/api/routinefinder/RoutineFinderApiBus",t=this.useTwoStepEmail?{selected_gender_id:this.selectedGender||"",selected_gender_label:this.selectedGenderOption?this.selectedGenderOption.label:"",first_name:this.firstName||"",last_name:this.lastName||"",accepted_terms:Boolean(this.acceptedTerms),form_steps:this.useTwoStepEmail}:{},i={Stage:5,Parameters:{mailID:btoa(this.getEmailId),origin:window.location.origin,EAN:this.emailProductEan,...t}};try{const t=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(i)});if(t.ok){const e=await t.json();this.apiData=e,!0===this.apiData?.success&&(this.loadingIcon=!1,this.showSuccessMsg=!0)}}catch(a){console.error("Error sending email:",a)}},openemailformpopup(){this.initEmailpopup=!0,this.smallScreen?(this.isOpened=!this.isOpened,this.isClosed=!this.isClosed):(this.isOpened=!0,this.isClosed=!1)},handleSubmit(){this.sendEmail(),this.form_container=!1,this.successMsg_container=!0},close_emailformpopup(){this.isOpened=!1,this.isClosed=!0,this.form_container=!0,this.successMsg_container=!1,this.getEmailId="",this.acceptedTerms=!1,this.emailError=!1,this.currentStep=1,this.selectedGender="",this.firstName="",this.lastName="",this.emailSubmitAttempted=!1,this.loadingIcon=!0,this.showSuccessMsg=!1},checkEmailValidity(){const e=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;this.emailError=!e.test(this.getEmailId)},gaTagging(){ee.Xj.pushDataLayer(this.datas.email_results_tagging)}}}),we=ye,be=(0,y.A)(we,_e,fe,!1,null,null,null),Ce=be.exports,Se=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-your-routine__container"},e._l(e.resultProductData,(function(i,a){return t("div",{key:a},[t("div",{staticClass:"routine-finder-your-routine__wrapper"},[t("div",{staticClass:"routine-finder-your-routine__num-routine"},[t("span",[e._v(e._s(a+1))])]),e._v(" "),t("div",{staticClass:"routine-finder-your-routine__product-routine"},[t("h3",{staticClass:"heading-title"},[e._v(e._s(i.stepsRowValue))])])]),e._v(" "),e._l(i.routineProductDetailsList,(function(i,a){return t("div",{key:a},[t("div",{staticClass:"routine-finder-your-routine__product-List",on:{click:function(t){return e.redirectToPdp(i.url)}}},[t("div",{staticClass:"routine-finder-your-routine__product-List_wrapper"},[t("div",{staticClass:"routine-finder-your-routine__product-image"},[t("img",{attrs:{src:i.image.mainImage,alt:i.image.imageAlt}})]),e._v(" "),t("div",{staticClass:"routine-finder-your-routine__product-details"},[t("h3",{staticClass:"product-title",domProps:{innerHTML:e._s(i.title)}}),e._v(" "),t("div",{staticClass:"routine-finder-your-routine__product-ratingStar"},[t("star-rating",{attrs:{increment:.01,"max-rating":i.ratingCount,"inactive-color":"#fff","active-color":"#009EE2","border-color":"#009EE2","border-width":1,"star-size":16,rating:i.averageCount,"read-only":!0,"show-rating":!1,"aria-hidden":"true"}}),e._v(" "),t("span",[e._v(e._s(i.averageCount+"/"+i.ratingCount))])],1),e._v(" "),t("div",{staticClass:"productList-desktopView"},[t("routine-finder-result-product-list",{attrs:{"product-list-data":i}})],1)])]),e._v(" "),t("div",{staticClass:"routine-finder-your-routine__dayNight-icon"},[i.sunmoonimage.sunimage?t("img",{attrs:{src:i.sunmoonimage.sunimage,alt:""},on:{click:function(t){return t.stopPropagation(),e.preventclick(e.event)}}}
1):e._e(),e._v(" "),i.sunmoonimage.moonimage?t("img",{attrs:{src:i.sunmoonimage.moonimage,alt:""},on:{click:function(t){return t.stopPropagation(),e.preventclick(e.event)}}}):e._e()]),e._v(" "),t("div",{staticClass:"productList-mobileView",on:{click:function(t){return e.redirectToPdp(i.url)}}},[t("routine-finder-result-product-list",{attrs:{"product-list-data":i}})],1)])])}))],2)})),0)},ke=[],De=i(4513),Le=i.n(De),Te=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-your-routine__product-points__container"},[t("div",{ref:"listElement",staticClass:"routine-finder-your-routine__product-points"},[t("ul",[t("li",{domProps:{innerHTML:e._s(e.productListData.descriptionDetails.recommendationDescription1)}}),e._v(" "),t("li",{domProps:{innerHTML:e._s(e.productListData.descriptionDetails.recommendationDescription2)}}),e._v(" "),t("li",{domProps:{innerHTML:e._s(e.productListData.descriptionDetails.recommendationDescription3)}})])]),e._v(" "),t("div",{staticClass:"routine-finder-your-routine__product-btns"},[t("button",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:15,ellipse:!1,singleLine:!0},expression:"{ limit: 15, ellipse: false, singleLine: true }"}],staticClass:"findOutMore",on:{click:function(t){return e.redirectToPdp(e.productListData.url)}}},[e._v(e._s(e.productListData.findmorectalabel))]),e._v(" "),e.productListData.iscommerceconnectorenabled?t("routine-finder-commerce-connector",{attrs:{"cta-lable":e.productListData.buynowctalabel,eretailer:e.productListData.commerceConnectorDetails}}):e._e(),e._v(" "),e.productListData.isretailersenabled?t("routine-finder-product-retailer",{attrs:{"enable-buynow-sort-option":e.productListData.enableBuynowSortOption,"retailer-dictionary-datas":e.productListData.retailerDictionaryDatas,"cta-lable":e.productListData.buynowctalabel,"error-msg":e.productListData.errormessage,retailerdata:e.productListData.allRetailersList,"country-list":e.productListData.Countries,"country-enabled":e.productListData.IsCountryWiseRetailerEnabled}}):e._e()],1)])},xe=[],Ae=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-product-retailer"},[t("div",{staticClass:"routine-finder-product-retailer__cta"},[t("button",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:12,ellipse:!1,singleLine:!0},expression:"{ limit: 12, ellipse: false, singleLine: true }"}],staticClass:"buyBtn",on:{click:function(t){return t.stopPropagation(),e.openRetailer()}}},[e._v(e._s(e.ctaLable))])]),e._v(" "),t("div",{staticClass:"popupContainerOuter-overlay",class:{showPopup:e.showPopup},on:{click:function(e){e.stopPropagation()}}}),e._v(" "),t("div",{staticClass:"popupContainerOuter popupWrapper",class:{showPopup:e.showPopup},attrs:{id:"popupContainerOuter",id:`popupContainerOuterRetailer-${e.uniqueId}`},on:{click:function(e){e.stopPropagation()}}},[t("div",{staticClass:"popupRetailer"},[t("div",{staticClass:"popup-title__container"},[t("h2",{staticClass:"popup-heading"},[e.enableBuynowSortOption?t("span",[e._v(e._s(e.retailerDictionaryDatas.buyOnline))]):e._e()]),e._v(" "),t("button",{staticClass:"popupCLose",on:{click:function(t){return t.stopPropagation(),e.closePopupScreen()}}})]),e._v(" "),e.enableBuynowSortOption&&e.retailerdata.length>0?t("h3",{staticClass:"popup-slectShop"},[e._v(e._s(e.retailerDictionaryDatas.selectShop))]):e._e(),e._v(" "),e.countryEnabled&&e.countryList.length?t("div",{staticClass:"popup-country__container"},[t("h2",{staticClass:"popup-heading"},[e._v(" "+e._s(e.retailerDictionaryDatas.selectCountry))]),e._v(" "),t("div",{staticClass:"popup-retailer__country"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCountry,expression:"selectedCountry"}],on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedCountry=t.target.multiple?i:i[0]}}},e._l(e.countryList,(function(i,a){return t("option",{key:a,domProps:{value:i}},[e._v("\n "+e._s(i)+"\n ")])}
1)),0)])]):e._e(),e._v(" "),e.enableBuynowSortOption&&e.retailerdata.length>0?t("div",{staticClass:"retailer-sorting__container"},[t("customSorting",{ref:"retailer_sorting",staticClass:"select",attrs:{sortlabel:e.retailerDictionaryDatas.sortBy,options:e.retailerDictionaryDatas.sortByOptions,default:e.retailerDictionaryDatas.defaultText},on:{getInput:function(t){e.sortOrder=t}}})],1):e._e(),e._v(" "),t("div",[e.enableBuynowSortOption&&e.retailerdata.length>0?t("div",{staticClass:"retailer-count"},[e._v(" "+e._s(e.sortedItems.length)+" "+e._s(e.retailerDictionaryDatas.onlineShoping))]):e._e(),e._v(" "),(e.countryEnabled?e.countryFilteredRetailers.length>0:e.sortedItems.length>0)?t("div",{attrs:{id:"commerceConnectWrapper"}},e._l(e.countryEnabled?e.countryFilteredRetailers:e.sortedItems,(function(i,a){return t("div",{key:i.id||a},[t("div",{staticClass:"retailer-shop__container"},[t("div",{staticClass:"retailer-shop-wrapper"},[t("div",{staticClass:"retailer-shop-img"},[t("img",{attrs:{src:i.retailerImage,alt:i.productRetailerItemName,width:"130",height:"70"}})]),e._v(" "),t("div",{staticClass:"retailer-shop-name-wrapper"},[t("span",{staticClass:"retailer-name"},[e._v(" "+e._s(i.productRetailerItemName)+" ")]),e._v(" "),i.Price?t("span",{staticClass:"retailer-price"},[e._v(e._s(i.price))]):e._e()])]),e._v(" "),i.stockAvailability?t("div",{staticClass:"retailer-shop-instock"},[e._v("\n "+e._s(i.stockAvailability)+"\n ")]):e._e(),e._v(" "),i.deliveryTime?t("div",{staticClass:"retailer-shop-deliveryTime"},[e._v("\n "+e._s(e.retailerDictionaryDatas.DeliveryTimeLabel)),t("strong",[e._v(" "+e._s(i.deliveryTime))])]):e._e(),e._v(" "),t("div",{staticClass:"retailer-shop-buyNow"},[t("a",{staticClass:"cta cta--light",attrs:{href:i.retailerLink,target:"_blank","panel-focusable":""}},[e._v(" "+e._s(i.ctaLabel))])])])])})),0):t("div",[t("p",{staticClass:"no-product",staticStyle:{"text-align":"center"}},[e._v(e._s(e.errorMsg))])])])])])])},Pe=[],Ee=i(5193),Me=i(2945),Ie=i(500),$e={name:"routine-finder-product-retailer",components:{Slide:Ee.A,Slider:Me.A,customSorting:Ie.A},props:{retailerdata:{type:Object,default:[]},errorMsg:{type:String,default:""},ctaLable:{type:String,default:""},retailerDictionaryDatas:{type:Object,default:[]},enableBuynowSortOption:{type:Boolean,default:!1},countryList:{type:Array,required:!0,default:[]},countryEnabled:{type:Boolean,required:!0,default:!1}},data(){return{sortField:"productRetailerItemName",smallScreen:!window.matchMedia("(min-width: 1024px)").matches,showPopup:!1,uniqueId:Math.random().toString(36).substring(2),selectedInput:"",sortOrder:"",selectedCountry:this.countryList?.[0]||null}},watch:{showPopup(e){e&&(this.sortOrder="",this.$refs.retailer_sorting.selected=this.retailerDictionaryDatas.defaultText)}},computed:{sortedItems(){return this.sortOrder?[...this.retailerdata].sort(((e,t)=>"asc"===this.sortOrder?e[this.sortField].localeCompare(t[this.sortField]):t[this.sortField].localeCompare(e[this.sortField]))):this.retailerdata},countryFilteredRetailers(){if(!this.countryEnabled)return[];if(!Array.isArray(this.retailerdata)||0===this.retailerdata.length)return[];const e=this.selectedCountry||this.countryList?.[0];if(!e)return this.sortedItems||[];const t=(this.sortedItems||[]).filter((t=>{const i=t.Country?.toString().trim().toLowerCase();return i===e.toString().trim().toLowerCase()}));return t.length?t:[]}},methods:{openRetailer(){this.showPopup=!0},closePopupScreen(){this.showPopup=!1}}},Be=$e,qe=(0,y.A)(Be,Ae,Pe,!1,null,null,null),Oe=qe.exports,Ne=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-commerce-connector"},[t("div",{staticClass:"routine-finder-commerce-connector__cta"},[t("button",{directives:[{name:"truncate-rich-text",rawName:"v-truncate-rich-text",value:{limit:12,ellipse:!1,singleLine:!0},expression:"{ limit: 12, ellipse: false, singleLine: true }"}],staticClass:"buyBtn",on:{click:function(t){return t.stopPropagation(),e.openRetailer()}}},[e._v(e._s(e.ctaLable))])]),e._v(" "),t("div",{staticClass:"commerce-connector",on:{click:function(e){e.stopPropagation()}}},[t("div",{staticClass:"popupContainerOuter-overlay",class:{showPopup:e.showPopup}}),e._v(" "),t("div",{staticClass:"popupContainerOuter popupWrapper",class:{showPopup:e.showPopup},attrs:{id:"popupContainerOuter"}},[t("div",{staticClass:"popupRetailer"},[t("div",{staticClass:"popup-title__container"},[t("h2",{staticClass:"popup-heading"},[e.enableSoringDatas?t("span",[e._v(e._s(e.retailerDatas.buyOnline))]):e._e(
1)]),e._v(" "),t("button",{staticClass:"popupCLose",on:{click:function(t){return e.closePopupScreen()}}})]),e._v(" "),e.enableSoringDatas?t("h3",{staticClass:"popup-slectShop"},[e._v(e._s(e.retailerDatas.selectShop))]):e._e(),e._v(" "),e.enableSoringDatas?t("div",{staticClass:"retailer-sorting__container"},[t("customSorting",{ref:"retailer_sorting",staticClass:"select",attrs:{sortlabel:e.retailerDatas.sortBy,options:e.retailerDatas.sortByOptions,default:e.retailerDatas.defaultText},on:{getInput:function(t){e.sortOrder=t}}})],1):e._e(),e._v(" "),t("div",{staticClass:"tabs"},[t("ul",e._l(this.eretailer,(function(i,a){return t("li",{key:a,class:{"is-active":e.show==a},on:{click:function(t){t.preventDefault(),e.show=a}}},[e._v("\n "+e._s(i.countryCode)+"\n ")])})),0)]),e._v(" "),t("div",{staticClass:"tabData"},[t("transition-group",{attrs:{name:"fade-up",target:"div",appear:""},nativeOn:{click:function(t){return e.navigate(t)}}},e._l(this.eretailer,(function(i,a){return e.show==a?t("div",{key:a},[i.enableBuynowSortOption&&0==i.shopsUnavailable?t("div",{staticClass:"retailer-count"},[e._v(e._s(i.shops.length)+" "+e._s(e.retailerDatas.onlineShoping))]):e._e(),e._v(" "),0==i.shopsUnavailable?t("div",{attrs:{id:"commerceConnectWrapper"}},[t("div",e._l(e.sortedItems,(function(i){return t("div",{key:i.id,staticClass:"retailer-shop__container"},[t("div",{staticClass:"retailer-shop-wrapper"},[t("div",{staticClass:"retailer-shop-img"},[t("img",{attrs:{src:i.logo,alt:"shop",width:"130",height:"70"}})]),e._v(" "),t("div",{staticClass:"retailer-shop-name-wrapper"},[t("span",{staticClass:"retailer-name"},[e._v(" "+e._s(i.title)+" ")]),e._v(" "),i.price?t("span",{staticClass:"retailer-price"},[e._v(" "+e._s(i.price))]):e._e()])]),e._v(" "),i.stockAvailability?t("div",{staticClass:"retailer-shop-instock"},[e._v("\n "+e._s(i.stockAvailability)+"\n ")]):e._e(),e._v(" "),i.deliveryTime?t("div",{staticClass:"retailer-shop-deliveryTime"},[e._v("\n "+e._s(e.retailerDatas.deliveryTimeLabel)),t("strong",[e._v(" "+e._s(i.deliveryTime))])]):e._e(),e._v(" "),t("div",{staticClass:"retailer-shop-buyNow"},[t("a",{staticClass:"cta cta--light",attrs:{href:i.link,target:"_blank","panel-focusable":""},on:{click:function(t){return e.setAnalytics(i.cartTagging)}}},[e._v(" "+e._s(i.buyButton))])])])})),0)]):t("div",{staticClass:"popupContainer__inner",attrs:{id:"commerceConnectWrapper"}},[e._v("\n "+e._s(i.defaultDescriptionTitle)+"\n ")])]):e._e()})),0)],1)])])])])},Ve=[],Fe={name:"routine-finder-commerce-connector",components:{customSorting:Ie.A},directives:{truncateRichText:v},props:{eretailer:{type:Object,default:[]},ctaLable:{type:String,default:""}},data(){return{sortField:"title",settings:{dots:!0,arrows:!0,infinite:!1,speed:500,slidesToShow:4,slidesToScroll:4,initialSlide:0,touchThreshold:5,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:4,infinite:!1,dots:!0}},{breakpoint:1023,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!0}},{breakpoint:768,settings:{vertical:!0,verticalSwiping:!0,slidesToShow:3,slidesToScroll:1,autoplay:!1,autoplaySpeed:0,speed:15e3,cssEase:"linear",infinite:!0,arrows:!1,touchMove:!0,swipeToSlide:!0,swipe:!0}}]},showPopup:!1,show:0,smallScreen:!window.matchMedia("(min-width: 1024px)").matches,currentSlide:0,totalSlides:0,sliderAtEnd:!0,sliderAtBegin:!1,selectedInput:"",sortOrder:"",retailerDatas:this.eretailer[0]?.retailerDictionaryDatas,enableSoringDatas:this.eretailer[0]?.enableBuynowSortOption}},watch:{showPopup(e){e&&(this.sortOrder="",this.$refs.retailer_sorting.selected=this.retailerDatas.defaultText)}},computed:{sortedItems(){return this.sortOrder?[...this.eretailer[this.show].shops].sort(((e,t)=>"asc"===this.sortOrder?e[this.sortField].localeCompare(t[this.sortField]):t[this.sortField].localeCompare(e[this.sortField]))):this.eretailer[this.show].shops}},methods:{goToPrevSlide(){this.$refs.carousel[0].prev();const e=this.$el.querySelector(".slick-dots .slick-active button"),t=parseInt(e.textContent.trim());1===t&&(this.sliderAtBegin=!1,this.sliderAtEnd=!0)},goToNextSlide(){if(this.sliderAtBegin=!0,this.$refs.carousel[0].next(),this.$el.querySelectorAll(".slick-dots li")){const e=this.$el.querySelectorAll(".slick-dots li").length,t=this.$el.querySelector(".slick-dots .slick-active button"),i=parseInt(t.textContent.trim());parseInt(e)<=i&&(this.sliderAtEnd=!1)}},openRetailer(){this.showPopup=!0},closePopupScreen(){this.showPopup=!1},setAnalytics(e){ee.Xj.pushDataLayer(e)}}},He=Fe,Re=(0,y.A)(He,Ne,Ve,!1,null,null,null),je=Re.exports,ze={name:"routine-finder-result-product-list",components:{routineFinderProductRetailer:Oe,routineFinderCommerceConnector:je},directives:{truncateRichText:v},props:{productListData:{type:[String,Object],required:!0,default:void 0},countryList:{type:Array,required:!0,default:[]},countryEnabled:{type:Boolean,required:!0,default:!1}},methods:{redirectToPdp(e){window.open(e,"_blank")},openRetailer(){console.log("buy")}}},We=ze,Ue=(0,y.A)(We,Te,xe,!1,null,null,null),Ye=Ue.exports,Qe={name:"routine-finder-your-product-result",components:{routineFinderResultProductList:Ye,StarRating:Le()},props:{resultProductData:{type:[String,Object],required:!0,default:void 0}},data(){return{smallScreen:window.matchMedia("(max-width: 1024px)").matches}},methods:{redirectToPdp(e){window.open(e,"_blank")},preventclick(e){e.preventDefault()}}},Xe=Qe,Ge=(0,y.A)(Xe,Se,ke,!1,null,null,null),Ke=Ge.exports,Ze=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-your-profile"},[t("div",{staticClass:"container--is-maxwidth container--padded faq"},[t("div",{staticClass:"faq_accordions__wrapper"},[t("div",{staticClass:"accordion__list --section-one"}
1,[t("button",{staticClass:"accordion",class:{"is-open":e.isOpen}},[e._v(e._s(e.getButtonSetting.your_profile))]),e._v(" "),t("span",{staticClass:"faq-accordion-btn",class:{"is-open":e.isOpen},on:{click:function(t){return e.toggle()}}},[t("span",{staticClass:"--active"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.9 11.4001L1.18629 11.4001L1.18629 12.6001L11.9 12.6001L11.9 23.3138H13.1L13.1 12.6001L23.8137 12.6001L23.8137 11.4001L13.1 11.4001L13.1 0.686426H11.9L11.9 11.4001Z",fill:"black"}})])]),e._v(" "),t("span",{staticClass:"--inactive"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none"}},[t("path",{attrs:{d:"M23.8137 12.0002H1.18629",stroke:"black","stroke-width":"1.2","stroke-miterlimit":"10"}})])])]),e._v(" "),t("div",{staticClass:"accordion-content"},e._l(e.getAnswerDataList,(function(i,a){return t("div",{key:a},[t("p",[e._v(" "+e._s(i.question.replace(/-/g,""))+" : "),t("span",[e._v(" "+e._s(i.answerValue))])])])})),0)]),e._v(" "),e._l(e.getAnswerDataList[0].accordion,(function(i,a){return t("div",{key:a,staticClass:"accordion__list --section-two",class:{"is-open":e.isOpen2[a]}}
1,[t("button",{staticClass:"accordion",class:{"is-open":e.isOpen2[a]}},[e._v(e._s(i.title))]),e._v(" "),t("span",{staticClass:"faq-accordion-btn",class:{"is-open":e.isOpen2[a]},on:{click:function(t){return e.toogleSecion2(a)}}},[t("span",{staticClass:"--active"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.9 11.4001L1.18629 11.4001L1.18629 12.6001L11.9 12.6001L11.9 23.3138H13.1L13.1 12.6001L23.8137 12.6001L23.8137 11.4001L13.1 11.4001L13.1 0.686426H11.9L11.9 11.4001Z",fill:"black"}})])]),e._v(" "),t("span",{staticClass:"--inactive"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none"}},[t("path",{attrs:{d:"M23.8137 12.0002H1.18629",stroke:"black","stroke-width":"1.2","stroke-miterlimit":"10"}})])])]),e._v(" "),t("div",{staticClass:"accordion-content"},[t("div",{staticClass:"description",domProps:{innerHTML:e._s(i.description)}})])])}))],2)])])},Je=[],et={name:"routine-finder-your-profile",directives:{truncateRichText:v},props:{options:{type:Object,default(){}}},data(){return{isOpen:!0,isOpen2:[]}},computed:{...(0,o.L8)(["getAnswerDataList","getButtonSetting"])},created(){this.getAnswerDataList&&this.getAnswerDataList[0]?.accordion&&(this.isOpen2=Array(this.getAnswerDataList[0].accordion.length).fill(!1))},watch:{"getAnswerDataList[0].accordion":{handler(e){e&&(this.isOpen2=Array(e.length).fill(!1))},immediate:!0}},methods:{toggle(){this.isOpen=!this.isOpen},toogleSecion2(e){this.$set(this.isOpen2,e,!this.isOpen2[e])}}},tt=et,it=(0,y.A)(tt,Ze,Je,!1,null,null,null),at=it.exports,st=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine-finder-loader__container",style:{backgroundImage:this.currentBackground},attrs:{"aria-label":this.bannerAlt}},[this.loadingIcon?t("div",{staticClass:"loader-container"},[t("div",{staticClass:"loadMore-trigger"}),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{staticClass:"loader-css"},[e._v("Loading")])])],1):e._e(),e._v(" "),e.overlay?t("div",{staticClass:"loaderScreen-overlay"}):e._e(),e._v(" "),t("div",{staticClass:"routine-finder-loader__content"},[this.apiData.loader_title?t("h2",{staticClass:"heading-h2 routineFinder-h2",domProps:{innerHTML:e._s(this.apiData.loader_title)}}):e._e(),e._v(" "),t("div",{staticClass:"routine-finder-loader__points"},[t("ul",e._l(e.loadedItems,(function(i,a){return t("li",{key:a},[i.loading?t("div",{staticClass:"loading-wrapper"},[t("img",{attrs:{src:e.gifLoaderImg.image_url,alt:e.gifLoaderImg.image_alt}}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:3===a,expression:"index === 3"}],staticClass:"LoadingText"},[e._v(e._s(i.text))])]):t("div",{staticClass:"routine-items"},[t("div",{staticClass:"tickIcon"},[t("img",{attrs:{src:i.tickimage,alt:i.tickImageAlt}})]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:3!==a,expression:"index !== 3"}],staticClass:"youtineText"},[e._v(e._s(i.text))]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:3===a,expression:"index === 3"}],staticClass:"youtineText"},[e._v(" "+e._s(i.buildroutinTxt))])])])})),0)])])])},nt=[],rt={name:"routine-finder-loader-screen",data(){return{loadingIcon:!0,loadedItems:[],activeIndex:0,currentBackground:"",activeList:!1,bannerAlt:"",gifLoaderImg:"",loadingText:"",questions:"",answers:"",questionsImages:"",apiData:[],overlay:!1}},created(){this.fetchData(),window.addEventListener("resize",this.setLoadingBackground)},computed:{...(0,o.L8)(["getAnswerDataList"]),questionTypes(){return this.questions.map((e=>e.question_type))},questionTypesImage(){return this.questions.map((e=>e.questions_type_image))},answersTypes(){return this.getAnswerDataList.map((e=>e.answerValue))}},beforeDestroy(){window.removeEventListener("resize",this.setLoadingBackground)},mounted(){document.querySelector("body").classList.add("loaderScreen"),window.eventBus.$emit("routineFinderLoadingScreen:on",!0)},methods:{async fetchData(){const e="/api/routinefinder/RoutineFinderApiBus",t={Stage:3};try{const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(t)});if(i.ok){const e=await i.json();this.apiData=e.data,this.gifLoaderImg=this.apiData.build_routine_image,this.loadingText=this.apiData.build_your_routine,this.questions=this.apiData.questions_types,this.loadItemsSequentially(),this.setLoadingBackgroun
1d(),this.loadingIcon=!1,this.overlay=!0}}catch(i){console.log("Error fetching data:",i)}},async loadItemsSequentially(){for(let e=0;e<this.questionTypes.length;e++)this.loadedItems.push({loading:!0,text:`${this.loadingText}`}),await new Promise((e=>setTimeout(e,1500))),setTimeout((()=>{this.$set(this.loadedItems,e,{loading:!1,text:this.questionTypes[e].concat(" ").concat(this.answersTypes[e]),tickimage:this.questionTypesImage[e].image_url,tickImageAlt:this.questionTypesImage[e].image_alt,buildroutinTxt:this.loadingText})}),50);setTimeout((()=>{window.eventBus.$emit("routineFinderresultpage:on",!0),document.querySelector("body").classList.remove("loaderScreen")}),1e3)},setLoadingBackground(){window.innerWidth<=768?(this.currentBackground=`url('${this.apiData.background_image_mobile.image_url}')`,this.bannerAlt=this.apiData.background_image_mobile.image_alt):(this.currentBackground=`url('${this.apiData.background_image_desktop.image_url}')`,this.bannerAlt=this.apiData.background_image_desktop.image_alt)}}},ot=rt,lt=(0,y.A)(ot,st,nt,!1,null,null,null),ct=lt.exports,dt={name:"routine-finder-result-page",components:{routineFinderResultByEmailForm:Ce,routineFinderYourProfile:at,routineFinderYourProductResult:Ke,routineFinderLoaderScreen:ct},directives:{truncateRichText:v},data(){return{emailFormData:"",productData:[],ctaContent:[],apiData:[],resultLoaderScreenPage:!0,resultpageopen:!1,productEanlist:""}},computed:{...(0,o.L8)(["getAnswerIds"])},created(){this.fetchData()},mounted(){window.eventBus.$on("routineFinderresultpage:on",(e=>{this.resultLoaderScreenPage=!1,this.resultpageopen=e})),this.gaTagging()},methods:{gaTagging(){ee.Xj.pushDataLayer({event:"updatevirtualpath",virtualPageURL:"/routine-finder/result page",virtualPageTitle:"/routine finder result page"})},startOverApp(){window.eventBus.$emit("startOverApp:on",!0)},ExitApp(){const e=document.querySelector(".routine_finder__modal");e&&e.classList.remove("animationend"),this.$store.commit("resetQuestionAnsDatas"),setTimeout((()=>{window.eventBus.$emit("routineFinderClose:on",!1)}),100)},async fetchData(){const e="/api/routinefinder/RoutineFinderApiBus",t=this.getAnswerIds.map((e=>[e[3],e[1]])),i={Stage:4,Parameters:{search:t}};try{const t=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(i)});if(t.ok){const e=await t.json();this.apiData=e.data,this.emailFormData=this.apiData.email_service_data,this.productData=this.apiData.product_results.routineresponselist,this.ctaContent=this.apiData.result_page_cta,this.productEanlist=this.apiData.product_results.productEanList}}catch(a){console.log("Error fetching data:",a)}}}},ut=dt,pt=(0,y.A)(ut,ge,ve,!1,null,null,null),ht=pt.exports;let mt=document.querySelector("body");var gt={name:"routine-finder",components:{routineFinderHeader:D,routineFinderQuestionAnswer:le,routingFinderBanner:me,routineFinderResultPage:ht},props:{desktopLabel:{type:String,required:!1,default:""},mobileLabel:{type:String,required:!1,default:""}},data(){return{questionAnswerStart:!1,routineBanner:!1,popupBannerVisible:!1,popupLoad:!1,apiData:"",headerData:"",bannerData:"",loadingIcon:!0,resultPage:!1}},mounted(){this.popupInit(),window.eventBus.$on("startOverApp:on",(e=>{this.$store.commit("resetQuestionAnsDatas"),this.resultPage=!1,this.popupBannerVisible=!0,this.questionAnswerStart=!0})),window.eventBus.$on("routineFinderresultpage:on",(e=>{this.popupBannerVisible=!1,this.routineBanner=!1,this.questionAnswerStart=!1,this.resultPage=!0})),window.eventBus.$on("routineFinderLoadingScreen:on",(e=>{this.popupBannerVisible=!0})),window.eventBus.$on("letstartCta:on",(e=>{this.questionAnswerStart=e,this.routineBanner=!1})),window.eventBus.$on("routineFinderClose:on",(e=>{this.popupBannerVisible=e,this.popupLoad=e,this.questionAnswerStart=e,mt.classList.remove("noScroll")}));let e=this.$refs.popupElement;e.addEventListener("animationend",(()=>{setTimeout((()=>{e.classList.add("animationend")}),300)}))},methods:{popupInit(){this.fetchData(),this.popupLoad=!0,mt&&mt.classList.add("noScroll")},async fetchData(){const e="/api/routinefinder/RoutineFinderApiBus",t={Stage:1};try{const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(t)});if(i.ok){const e=await i.json();this.apiData=e.data,this.headerData=this.apiData?.headerData,this.bannerData=this.apiData?.initialBanner,this.loadingIcon=!1,this.popupBannerVisible=!0,this.routineBanner=!0,this.$store.dispatch("apicall")}}catch(i){console.log("Error fetching data:",i)}}}},vt=gt,_t=(0,y.A)(vt,a,s,!1,null,null,null),ft=_t.exports},5193:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var a=function(){var e=this,t=e._self._c;return t("li",{staticClass:"slider__slide",style:{padding:`0 ${this.padding}px`},attrs:{"aria-current":e.current},on:{click:function(t){e.buynowOnChange(),e.emptyInventory()}}},[e._t("default")],2)},s=[],n=(i(4114),{name:"slide",props:{current:{type:Boolean,required:!1},tagging:{type:Object,required:!1,default(){return{}}}},data(){return{width:null,padding:this.$parent.slidePadding}},methods:{getData:function(e){return fetch(e).then((e=>e.json()))},emptyInventory:function(){const e=document.getElementById("addtocartComponentLoader");e&&e.classList.add("active"),setTimeout((()=>{let e,t=document.getElementsByClassName("color-variant");e=t.length>0?document.getElementsByClassName("productItemActiveId")[1].innerHTML:document.getElementsByClassName("productItemActiveId")[0].innerHTML,this.getData(`/api/connector/productexistsininventory?productid=${e}`).then((e=>{if(e.orderable){let e=document.getElementById("addtocartComponent"),t=document.getElementById("sfccPrice");""!==t.innerHTML?(e.classList.remove("disabledComponent"),this.isMaxInventory()):e.classList.add("disabledComponent")}else document.getElementById("addtocartComponent").classList.add("disabledComponent");document.getElementById("addtocartComponentLoader").classList.remove("active")}))}),300)},isMaxInventory:function(){let e,t=document.getElementsByClassName("color-variant");e=t.length>0?document.getElementsByClassName("productItemActiveId")[1].innerHTML:document.getElementsByClassName("productItemActiveId")[0].innerHTML;let i=document.getElementsByClassName("productCart__item_ID");for(let a=0;a<i.length;a++){let t=i[a].textContent;if(e===t){let e=document.getElementsByClassName("productCart__itemQuantitySelect")[a],t=e.options[e.options.length-1].value,i=e.options[e.selectedIndex].value;i>=t?document.getElementById("addtocartComponent").classList.add("disabledComponent"):document.getElementById("addtocartComponent").classList.remove("disabledComponent")}}},buynowOnChange(){this.$parent.$parent.$emit("showRetailer",!0)},addcartTaggingValue(){window.dataLayer.push(this.tagging)}}}),r=n,o=i(1656),l=(0,o.A)(r,a,s,!1,null,null,null),c=l.exports},2945:function(e,t,i){"use strict";i.d(t,{A:function(){return _}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"slider",class:{"slider-vertical":e.vertical,"slider-text-selectable":!e.swipeOnDesktop},attrs:{id:e.carouselIdentifier}},[e.navigationEnabled?t("button",e._g({staticClass:"slider__navigation-button slider-navigation-prev",class:{"slider-navigation--disabled":!e.canAdvanceBackward},attrs:{"aria-disabled":!e.canAdvanceBackward,disabled:!e.canAdvanceBackward},on:{click:function(t){t.preventDefault(),e.advancePage("backward","navigation"),e.navTagging("prev","arrow")}}},e.canAdvanceForward?{}:{blur:e.blurEvent,"keyup.shift.tab":e.shiftTabKeyupEvent}),[t("span",{staticClass:"is-sr-only"}
1,[e._v(e._s(e.previousPanelText))])]):e._e(),e._v(" "),t("div",{staticClass:"slider__wrapper"},[t("ol",{staticClass:"slider__inner",style:{transform:`translate${this.vertical?"Y":"X"}(${this.currentOffset}px)`,transition:this.transitionStyle,flexBasis:`${this.slideWidth}px`,msFlexPreferredSize:`${this.slideWidth}px`,visibility:""+(this.slideWidth?"visible":"hidden")}},[e._t("default")],2)]),e._v(" "),e.navigationEnabled?t("button",{staticClass:"slider__navigation-button slider-navigation-next",class:{"slider-navigation--disabled":!e.canAdvanceForward},attrs:{"aria-disabled":!e.canAdvanceForward,disabled:!e.canAdvanceForward},on:{click:function(t){t.preventDefault(),e.advancePage("forward","navigation"),e.navTagging("next","arrow")},blur:function(t){return e.blurEvent()},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:t.shiftKey?e.shiftTabKeyupEvent.apply(null,arguments):null}}},[t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.nextPanelText))])]):e._e(),e._v(" "),e.paginationEnabled&&e.pageCount>0?t("pagination",{attrs:{"current-page":e.currentPage,"page-count":e.pageCount,labels:e.labels,"tagging-labels":e.taggingLabels,"is-clickable":e.isPaginationClickable,"nav-tagging-label":e.navTaggingLabel,"item-per-page-desktop":3,"page-category":e.pageCategory},on:{paginationClick:e=>this.goToPage(e,"pagination")}}):e._e()],1)},s=[],n=i(4848),r=i(3961),o=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.pageCount>1,expression:"pageCount > 1"}],staticClass:"slider__pagination"},[t("ul",{ref:"pagList",staticClass:"slider__dot-container"},e._l(e.pageCount,(function(i,a){return t("li",{key:a,staticClass:"slider__dot",class:{"slider__dot--active":a===e.currentPage,clickable:e.isClickable},attrs:{id:a+1},on:{click:function(t){return e.navTagging("dot","dot",a-1)}}},[e.isClickable?t("button",{staticClass:"slider__dot-inner",attrs:{"aria-label":e.labels.pagination.ariaLabel.replace("{0}",a),"aria-current":a===e.currentPage||""},on:{click:function(t){return e.whenClickItem(a)}}}):t("span",{staticClass:"slider__dot-inner"})])})),0)])},l=[],c={name:"pagination",props:{labels:{type:Object,required:!0,default:void 0},taggingLabels:{type:Object,required:!0},currentPage:{type:Number,required:!0},pageCount:{type:Number,required:!0},isClickable:{type:Boolean,required:!1,default:!0},navTaggingLabel:{type:[String,Array],required:!1,default:""},itemPerPageDesktop:{type:Number,required:!0},pageCategory:{type:String,required:!1,default:"page category"}},data(){return{shiftAndTabHappened:!1}},mounted(){this.setRole()},methods:{whenClickItem(e){this.$emit("paginationClick",e)},setRole(){this.isClickable||this.$refs.pagList.setAttribute("role","none")},generateSequence(e,t){let i="";for(let a=e+1;a<=t;a++)i+=a+"-//-";return i.slice(0,-4)},navTagging(e,t,i=null){this.$el;let a=0,s=1,r=1,o=parseInt(a);const l="next"===e?1:-1;o+=l;let c="",d="";this.smallScreen?(s=parseInt(i),r=s+1,d=r,c=`${this.navTaggingLabel.slice(s,r)}`):(r=parseInt(i)*this.itemPerPageDesktop,s=r+this.itemPerPageDesktop,d=r+1,c=`${this.navTaggingLabel.slice(r,s).join("-//-")}`);let u=this.navTaggingLabel.slice(r,s).length;u>1&&(d=this.generateSequence(r,r+u)),n.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:this.pageCategory,eventAction:"select::slider navigation elements",eventLabel:`${t}::${c}::${d}`,cta_name:`${t}::${c}::${d}`,module_name:`slider navigate::${t}`})}}},d=c,u=i(1656),p=(0,u.A)(d,o,l,!1,null,null,null),h=p.exports,m={name:"slider",components:{Pagination:h},props:{withFocusableItems:{type:Boolean,required:!1,default:!1},nextPanelText:{type:String,required:!1,default:"next panel"},previousPanelText:{type:String,required:!1,default:"previous panel"},navTaggingLabel:{type:[String,Array],required:!1,default:""},itemPerPageDesktop:{type:Number,required:!0},pageCategory:{type:String,required:!1,default:"page category"},labels:{type:Object,required:!1,default:()=>({pagination:{ariaLabel:"Slide {0}"},navigation:{ariaLabelPrevious:"Go to the previous slide",ariaLabelNext:"Go to the next slide"}})},taggingLabels:{type:Object,required:!1,default:()=>({pagination:{category:"product pictures"},navigation:{category:"product pictures"}})},isPaginationClickable:{type:Boolean,required:!1,default:!0},easing:{type:String,default:"ease"},minSwipeDistance:{type:Number,default:20},navigationEnabled:{type:Boolean,default:!0},paginationEnabled:{type:Boolean,default:!0},perPage:{type:Number,default:2},vertical:{type:Boolean,default:!1},slideSpacing:{type:Object|Array,default:()=>({})},slidePadding:{type:Number,default:0},perPageCustom:{type:Array,default:void 0},scrollPerPage:{type:Boolean,default:!1},speed:{type:Number,default:400},startAt:{type:Number,default:0},carouselIdentifier:{type:String,default:`carousel-${Date.now()}`},swipeOnDesktop:{type:Boolean,default:!0}},data(){return{browserWidth:null,smallScreen:!window.matchMedia("(min-width: 1023px)").matches,carouselSize:null,currentPage:this.startAt,prevPage:this.startAt,dragOffset:0,dragStartX:0,mousedown:!1,slideCount:0,maxSwipeAngle:60,angle:0,slidesElms:null,shiftAndTabHappened:!1}},computed:{breakpointSlidesPerPage(){if(!this.perPageCustom)return this.perPage;const e=this.perPageCustom,t=this.browserWidth,i=e.sort(((e,t)=>e[0]>t[0]?-1:1)),a=i.filter((e=>t>=e[0])),s=a[0]&&a[0][1];return s||this.perPage},canAdvanceForward(){return this.currentPage<this.pageCount-1},canAdvanceBackward(){return this.currentPage>0},currentPerPage(){return!this.perPageCustom||this.$isServer?this.perPage:this.breakpointSlidesPerPage},currentOffset(){const e=this.currentPage,t=this.slideWidth,i=this.dragOffset,a=this.scrollPerPage?e*t*this.currentPerPage:e*t,s=-1*(a+i),n=this.getSlideSpacing();let r=document.getElementById("main-container"),o=getComputedStyle(r);return"rtl"===o.direction&&this.smallScreen?-1*(s+n):s+n},isHidden(){return this.carouselSize<=0},pageCount(){const e=this.slideCount,t=this.currentPerPage;if(this.scrollPerPage){const i=Math.ceil(e/t);return i<1?1:i}return e-(this.currentPerPage-1)},slideWidth(){const e=this.carouselSize,t=this.currentPerPage,i=e/t;return i-2*this.getSlideSpacing()},transitionStyle(){return`${this.speed/1e3}s ${this.easing} transform`}},beforeUpdate(){this.computeCarouselSize()},updated(){this.$nextTick(this.slidesVisibility)},mounted(){window.addEventListener("resize",(0,r.s)(this.computeCarouselSize,16)),"ontouchstart"in window&&(this.$el.addEventListener("touchstart",this.handleMousedown),this.$el.addEventListener("touchend",this.handleMouseup),this.$el.addEventListener("touchmove",this.handleMousemove)),this.swipeOnDesktop&&(this.$el.addEventListener("mousedown",this.handleMousedown),this.$el.addEventListener("mouseup",this.handleMouseup),this.$el.addEventListener("mousemove",this.handleMousemove)),this.attachMutationObserver(),this.computeCarouselSize(),this.$nextTick(this.slidesVisibility)},beforeDestroy(){this.detachMutationObserver(),window.removeEventListener("resize",this.getBrowserWidth),"ontouchstart"in window?this.$el.removeEventListener("touchmove",this.handleMousemove):this.$el.removeEventListener("mousemove",this.handleMousemove)},methods:{isUsingKeyboard(){return document.body.classList.contains("is-using-keyboard")},a11yFocus(){const e=this.currentPerPage,t=this.currentPage;if(this.isUsingKeyboard()){const i=t*e;window.matchMedia("(min-width: 1024px)").matches?this.$nextTick((()=>{this.$children[i].$el.querySelector("[panel-focusable]").focus()})):this.$children[i].$el.querySelector("[panel-focusable]").focus()}},slidesVisibility(){this.slidesElms=[...this.$el.querySelectorAll(".slider__slide")],this.slidesElms.forEac
1h((e=>{e.style.visibility="hidden"})),this.scrollPerPage?this.slidesElms.slice(this.currentPage*this.currentPerPage,(this.currentPage+1)*this.currentPerPage).forEach((e=>{e.style.visibility="visible"})):this.slidesElms.slice(this.currentPage,this.currentPage+this.currentPerPage).forEach((e=>{e.style.visibility="visible"}))},advancePage(e,t=!1){e&&"backward"===e&&this.canAdvanceBackward?this.goToPage(this.currentPage-1,t):(!e||e&&"backward"!==e)&&this.canAdvanceForward&&this.goToPage(this.currentPage+1,t),this.slidesVisibility()},attachMutationObserver(){const e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(e){const t={attributes:!0,data:!0};this.mutationObserver=new e((()=>{this.$nextTick((()=>{this.computeCarouselSize()}))})),this.$parent.$el&&this.mutationObserver.observe(this.$parent.$el,t)}},getSlideSpacing(){let e=0;for(const t in this.slideSpacing)Object.prototype.hasOwnProperty.call(this.slideSpacing,t)&&t<=this.getBrowserWidth()&&(e=this.slideSpacing[t]);return e},detachMutationObserver(){this.mutationObserver&&this.mutationObserver.disconnect()},getBrowserWidth(){return this.browserWidth=window.innerWidth,this.browserWidth},getCarouselSize(){return this.vertical?this.carouselSize=this.$el&&this.$el.clientHeight||0:this.carouselSize=this.$el&&this.$el.clientWidth||0,this.carouselSize},getSlideCount(){this.slideCount=this.$slots&&this.$slots.default&&this.$slots.default.filter((e=>e.tag&&e.tag.indexOf("slide")>-1)).length||0},goToPage(e,t=!1){e>=0&&e<=this.pageCount&&(this.currentPage=e,this.$emit("pageChange",this.currentPage,this.prevPage,t),this.prevPage=this.currentPage,this.withFocusableItems&&this.a11yFocus())},handleMousedown(e){e.touches||e.preventDefault(),this.mousedown=!0,this.dragStart=e.touches?e.touches[0]:e},handleMouseup(){this.mousedown=!1,this.dragOffset=0},swipeAngle(e,t){return Math.atan(Math.abs(t)/Math.abs(e))*(180/Math.PI)},handleMousemove(e){if(!this.mousedown)return;const t=e.touches?e.touches[0]:e;let i=0,a=0;this.vertical?(i=this.dragStart.clientY-t.clientY,a=this.dragStart.clientX-t.clientX):(i=this.dragStart.clientX-t.clientX,a=this.dragStart.clientY-t.clientY),this.angle=this.swipeAngle(i,a),this.angle<this.maxSwipeAngle&&e.preventDefault(),this.dragOffset=i,this.dragOffset>this.minSwipeDistance?(this.handleMouseup(),this.advancePage()):this.dragOffset<-this.minSwipeDistance&&(this.handleMouseup(),this.advancePage("backward"))},computeCarouselSize(){this.getSlideCount(),this.getBrowserWidth(),this.getCarouselSize(),this.setCurrentPageInBounds()},setCurrentPageInBounds(){if(!this.canAdvanceForward){const e=this.pageCount-1;this.currentPage=e>=0?e:0}},blurEvent(){this.shiftAndTabHappened&&(this.shiftAndTabHappened=!1)},shiftTabKeyupEvent(){this.shiftAndTabHappened=!0},generateSequence(e,t){let i="";for(let a=e+1;a<=t;a++)i+=a+"-//-";return i.slice(0,-4)},navTagging(e,t,i=null){const a=this.$el;let s=0;a.querySelector(".slider__dot--active").id&&(s=a.querySelector(".slider__dot--active").id);let r=1,o=1,l=parseInt(s);const c="next"===e?1:-1;l+=c;let d="",u="";this.smallScreen?(r=l-1,o=l,u=o,d=`${this.navTaggingLabel.slice(r,o)}`):(r=l*this.itemPerPageDesktop,o=r-this.itemPerPageDesktop,u=o+1,d=`${this.navTaggingLabel.slice(o,r).join("-//-")}`);let p=this.navTaggingLabel.slice(o,r).length;p>1&&(u=this.generateSequence(o,o+p)),n.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:this.pageCategory,eventAction:"select::slider navigation elements",eventLabel:`${t}::${d}::${u}`,cta_name:`${t}::${d}::${u}`,module_name:`slider navigate::${t}`})}}},g=m,v=(0,u.A)(g,a,s,!1,null,null,null),_=v.exports},70:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var a=function(){var e=this,t=e._self._c;return e.smallScreen?t("div",{staticClass:"spotscan-embed"},[t("load-script",{attrs:{src:e.dropperApi}}),e._v(" "),t("div",{class:e.dataCta},[t("a",{staticClass:"btn__wrapper opener button-poppin button-open-dsf-app",attrs:{id:"first-cta",href:"#"},on:{click:function(t){return e.gatagging()}}}
1,[e._v(e._s(e.dataCtaLabel)+" ")])])],1):e._e()},s=[],n=i(7048),r=i(4848),o={name:"spotscan-embed",components:{LoadScript:n.A},props:{dataTenant:{type:String,required:!0},dataApplication:{type:String,required:!0},dataCustomer:{type:String,required:!1},dataCountry:{type:String,required:!1},dataEnvironment:{type:String,required:!1},dataTouchpoint:{type:String,required:!1},dataType:{type:String,required:!1},dataLoadingbg:{type:String,required:!1},dataLoadingmsg:{type:String,required:!1},csrfToken:{type:String,required:!1},switchEcom:{type:String,required:!1},switchAutostart:{type:String,required:!1},dataCtaLabel:{type:String,required:!1},dataPagecategory:{type:String,required:!1},dataCta:{type:String,default:"btn"},dataDsfTagging:{type:Object,required:!0}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,dropperApi:"https://dsf-cdn.loreal.io/dropper.js"}},mounted(){let e=document.createElement("div");e.setAttribute("class","dsf-tag-emb"),e.innerHTML=`<dsf-app\n tenant = ${this.dataTenant}\n application = "${this.dataApplication}"\n customer = "${this.dataCustomer}"\n country = "${this.dataCountry}"\n environment = "${this.dataEnvironment}"\n touchpoint = "${this.dataTouchpoint}"\n type = "${this.dataType}"\n switch_ecom = "${this.switchEcom}"\n loadingbg = "${this.dataLoadingbg}"\n loadingmsg = "${this.dataLoadingmsg}"\n csrf_token = "$WEBSITE_TOKEN"\n switch_autostart = "${this.switchAutostart}"\n />`,document.querySelectorAll(".dsf-tag-emb").length<1&&document.body.appendChild(e)},methods:{gatagging(){const e=document.querySelector(".pdp-tagging")?document.querySelector(".pdp-tagging").getAttribute("data-tag-product-name"):"",t=document.querySelector(".pdp-tagging")?document.querySelector(".pdp-tagging").getAttribute("data-tag-product-id"):"",i=""!=e&&""!=t?`${e.toLowerCase()}::${t.toLowerCase()}`:"none",a={...this.dataDsfTagging,product_info:i};r.Xj.pushDataLayer(a)}}},l=o,c=i(1656),d=(0,c.A)(l,a,s,!1,null,null,null),u=d.exports},847:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});var a=function(){var e=this,t=e._self._c;return t("div",[t("div",{class:e.cssClasses},[e.playing?t("load-script",{attrs:{src:"https://www.youtube.com/iframe_api"},on:{loaded:e.onYouTubeIframeAPIReady}}):e._e(),e._v(" "),e.poster?t("div",{ref:"poster",staticClass:"youtube-player__poster",style:"background-image: "+e.posterBackground}):e._e(),e._v(" "),e.poster&&!e.newplayButton?t("button",{ref:"playBtn",staticClass:"video-player__btn-play-pause youtube-player__btn",attrs:{"aria-label":e.ariaLabel},on:{click:e.playPause}},[t("span",{staticClass:"btn-bar-1"}),e._v(" "),t("span",{staticClass:"btn-bar-2"}),e._v(" "),t("span",{staticClass:"btn-bar-3"}),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.ariaLabel))])]):e.poster&&e.newplayButton?t("button",{ref:"playBtn",staticClass:"play-button",attrs:{"aria-label":e.ariaLabel},on:{click:e.playPause}},[t("span",{staticClass:"play-icon"}),e._v(" "),t("span",{staticClass:"play-text",domProps:{innerHTML:e._s(e.playText)}}),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.ariaLabel))])]):e._e(),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.playing&&!!e.poster||!e.poster&&e.loaded,expression:"playing && !!poster || !poster && loaded"}],staticClass:"youtube-player__wrapper"},[t("div",{staticClass:"youtube-player__item",attrs:{id:e.playerId}})])],1),e._v(" "),e._t("default",null,{videoTitle:e.videoTitle})],2)},s=[],n=i(7048),r=i(4572),o=i(4848),l={name:"youtube-player",components:{LoadScript:n.A,Collapse:r.A},props:{youtubeId:{type:String,required:!1,default:void 0},src:{type:String,required:!1,default:void 0},autoplay:{type:Boolean,required:!1,default:void 0},list:{type:String,required:!1,default:void 0},preload:{type:String,default:"metadata"},poster:{type:String,default:void 0},loop:{type:Boolean,default:!1},newplayButton:{type:Boolean,required:!1},playText:{type:String,default:"PLAY"},ariaLabel:{type:String,default:"play pause",required:!1}},data(){return{player:null,loaded:!1,playing:!1,videoTitle:"",transcriptLabel:""}}
1,computed:{cssClasses(){return["youtube-player",this.loaded?"loaded":"",this.playing&&"play"]},playerId(){return`player-${this.youtubeId}-${Math.floor(1e3*Math.random())+1}`},posterBackground(){return this.poster&&"url("+this.poster+")"}},methods:{playPause(){if(this.playing=!0,this.$refs.poster.style.display="none",this.$refs.playBtn.style.display="none",this.autoplay)try{this.player.playVideo()}catch(e){setTimeout((()=>{this.player.playVideo()}),500)}},onYouTubeIframeAPIReady(){return this.loaded=!0,this.setupYT().then((()=>this.onPlayerLoaded()))},onPlayerLoaded(){return new Promise((e=>{const t=window.location.origin||window.location.protocol+"//"+window.location.host;this.player=new YT.Player(this.playerId,{playerVars:{showinfo:1,rel:0,cc_load_policy:1,color:"white",autoplay:1,controls:2,enablejsapi:1,modestbranding:1,playsinline:1,origin:t},videoId:this.youtubeId,events:{onReady:()=>{const t=this.player.getIframe();t.removeAttribute("height"),t.removeAttribute("width"),t.removeAttribute("frameborder"),this.videoTitle=this.player.getVideoData().title,t.setAttribute("title",`YouTube video: ${this.videoTitle}`),e()},onStateChange:e=>{this.onPlayerStateChange(e)}}})}))},onPlayerStateChange(e){const t=e.data;0===t?(this.setAnalytics("video completed"),this.setAnalytics(`${Math.floor(this.getPercentage())}% viewed`)):1===t?(this.setAnalytics("play"),this.setAnalytics(`${Math.floor(this.getPercentage())}% viewed`)):2===t?(this.setAnalytics("pause"),this.setAnalytics(`${Math.floor(this.getPercentage())}% viewed`)):3===t&&this.setAnalytics("buffering")},getPercentage(){let e=this.player.getCurrentTime()/this.player.getDuration()*100;return Math.round(e)},setAnalytics(e){o.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",eventCategory:window.wsf.AnalyticsVariables.pageCategory,eventAction:this.player.getVideoData().title,eventLabel:e,event_name:"video_interation",video_title:this.player.getVideoData().title,video_action:e})},setupYT(){return new Promise((e=>{let t=!1;t=setInterval((()=>{"undefined"!==typeof YT&&1===YT.loaded&&"undefined"!==typeof YT.Player&&(clearInterval(t),e(YT))}),100)}))}}},c=l,d=i(1656),u=(0,d.A)(c,a,s,!1,null,null,null),p=u.exports},7048:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var a=function(){var e=this,t=e._self._c;return e.loaded?t("div",[e._t("default")],2):e._e()},s=[],n=i(8165);window.$INJECTED_URLS={};var r={hasScript(e){return window.$INJECTED_URLS[e]},injectScript(e,t={}){if(!this.hasScript(e)){const i=document.createElement("script"),a=document.getElementsByTagName("head")[0];return i.src=e,i.async=void 0===t.async||t.async,i.type="application/javascript",Object.keys(t).filter((e=>"async"!==e)).forEach((e=>{t[e]&&i.setAttribute(e,t[e])})),window.$INJECTED_URLS[e]=new Promise((e=>{i.addEventListener("load",e),a.appendChild(i)})),window.$INJECTED_URLS[e]}return Promise.resolve().then((()=>window.$INJECTED_URLS[e]))}},o={name:"load-script",props:{name:{type:String,default:void 0},src:{type:String,required:!0},integrity:{type:String,default:void 0},crossorigin:{type:String,default:void 0},async:{type:Boolean,default:!0},attributes:{type:Object,default:void 0}},data(){return{loaded:!1}},created(){this.src&&!r.hasScript(this.src)?r.injectScript(this.src,{async:this.async,integrity:this.integrity,crossorigin:this.crossorigin,...this.attributes||{}}).then((()=>{this.loaded=!0,this.$emit("loaded"),this.name&&n.B.$emit(`script.loaded.${this.name}`,{name:this.name,url:this.src})})):r.hasScript(this.src)&&(this.loaded=!0,this.$emit("loaded"))}},l=o,c=i(1656),d=(0,c.A)(l,a,s,!1,null,null,null),u=d.exports},4848:function(e,t,i){"use strict";i.d(t,{Xj:function(){return B},Ay:function(){return z},Tc:function(){return R}});i(4114);function a(e){this.message=e,this.name="AnalyticsException",this.toString=()=>`${this.name}: ${this.message}`}function s(e){this.message=e,this.name="AnalyticsUserActionEventObjectException",this.toString=()=>`${this.name}: ${this.message}`}function n(e){this.message=e,this.name="AnalyticsSocialActionEventObjectException",this.toString=()=>`${this.name}: ${this.message}`}function r(e){this.message=e,this.name="AnalyticsNonInteractiveEventObjectException",this.toString=()=>`${this.name}: ${this.message}`}function o(e){this.message=e,this.name="AnalyticsProductImpressionObjectException",this.toString=()=>`${this.name}: ${this.message}`}function l(e){this.message=e,this.name="AnalyticsProductDetailObjectException",this.toString=()=>`${this.name}: ${this.message}`}function c(e){this.message=e,this.name="AnalyticsProductClickObjectException",this.toString=()=>`${this.name}: ${this.message}`}function d(e){this.message=e,this.name="AnalyticsPromotionClickObjectException",this.toString=()=>`${this.name}: ${this.message}`}function u(e){this.message=e,this.name="AnalyticsProductObjectException",this.toString=()=>`${this.name}: ${this.message}`}function p(e){this.message=e,this.name="AnalyticsPromotionObjectException",this.toString=()=>`${this.name}: ${this.message}`}function h(e){this.message=e,this.name="AnalyticsTagDirectiveException",this.toString=()=>`${this.name}: ${this.message}`}function m(e){this.message=e,this.name="AnalyticsPromotionImpressionObjectException",this.toString=()=>`${this.name}: ${this.message}`}var g=i(6355),v={log(e,t,i="log",a){if(g.Y){const s=[{type:"log",color:"#68b6f1",state:"LOG"},{type:"warn",color:"#ff8800",state:"WARNING"},{type:"error",color:"#FF0000",state:"ERROR"}],n=[`%c${s.find((e=>e.type===i)).state} %c${e}`,`padding: 2px 6px; background: #111; color:${s.find((e=>e.type===i)).color}`,"padding: 2px 6px; background: #111; color: #eee"];console.group("AnalyticsHandler"),console.log(...n),t&&a&&("uaevent"===t.event?(console.table&&console.table(t),console.log("%cAssociated raw data:","padding: 2px 6px; background: #111; color: #eee"),console.log(JSON.stringify(t,null,2))):(console.log("%cAssociated raw data:","padding: 2px 6px; background: #111; color: #eee"),console.log(JSON.stringify(t,null,2)))),console.groupEnd()}},info(e,t,i=!0){this.log(e,t,"log",i)},warn(e,t,i=!0){this.log(e,t,"warn",i)},error(e,t,i=!0){this.log(e,t,"error",i)}};function _(e,t){if(e&&t){const i=e.toLowerCase().replace(/__/g,"");if(i in t)return t[i]}return e}function f(e){return"string"===typeof e&&e.indexOf("__")>-1}class y{constructor(e,t){this.variables=window.wsf&&window.wsf.AnalyticsVariables&&(window.wsf.AnalyticsVariables.dynamic||window.wsf.AnalyticsVariables)||{},this.result={},e&&(this.result.event=e),this.from(t)}setProperty(e,t=!0){let i=f(e)?_(e,this.variables):e.trim();return t&&(i=i.toLowerCase()),i}from(e){Object.keys(e).forEach((t=>{e[t]&&(this[t]=e[t])}))}toObject(){return this.result}}class w extends y{constructor(e){if(super("uaevent",e),!e.category)throw v.error("[AnalyticsUserActionEventObjectException] Category is required for uaevent (L'Oréal guideline)",e),new s("Category is required for uaevent (L'Oréal guideline)");if(!e.action)throw v.error("[AnalyticsUserActionEventObjectException] Action is required for uaevent (L'Oréal guideline)",e),new s("Action is required for uaevent (L'Oréal guideline)");if(!e.label)throw v.error("[AnalyticsUserActionEventObjectException] Label is required for uaevent (L'Oréal guideline)",e),new s("Label is required for uaevent (L'Oréal guideline)");this.result.ecommerce=void 0}set category(e){this.result.eventCategory="Ecommerce"===e?this.setProperty(e,!1):this.setProperty(e)}get category(){return this.result.eventCategory}set action(e){this.result.eventAction=this.setProperty(e)}get action(){return this.result.eventAction}set label(e){this.result.eventLabel=this.setProperty(e)}get label(){return this.result.eventLabel}set product_info(e){this.result.product_info=this.setProperty(e)}get product_info(){return this.result.product_info}set event_name(e){this.result.event_name=this.setProperty(e)}get event_name(){return this.result.event_name}set form_name(e){this.result.form_name=this.setProperty(e)}get form_name(){return this.result.form_name}set module_name(e){this.result.module_name=this.setProperty(e)}get module_name(){return this.result.module_name}set cta_name(e){this.result.cta_name=this.setProperty(e)}get cta_name(){return this.result.cta_name}set link_url(e){this.result.link_url=this.setProperty(e)}get link_url(){return this.result.link_url}set click_area(e){this.result.click_area=this.setProperty(e)}get click_area(){return this.result.click_area}set breadcrumb(e){this.result.breadcrumb=this.setProperty(e)}get breadcrumb(){return this.result.breadcrumb}set video_title(e){this.result.video_title=this.setProperty(e)}get video_title(){return this.result.video_title}set article_name(e){this.result.article_name=this.setProperty(e)}get article_name(){return this.result.article_name}set product_tab(e){this.result.product_tab=this.setProperty(e)}get product_tab(){return this.result.product_tab}set method(e){this.result.method=this.setProperty(e)}get method(){return this.result.method}set search_keyword(e){this.result.search_keyword=this.setProperty(e)}get search_keyword(){return this.result.search_keyword}set referral(e){this.result.referral=this.setProperty(e)}get referral(){return this.result.referral}set value(e){this.result.eventValue=this.setProperty(e)}}class b extends y{constructor(e){if(super("nievent",e),!e.category)throw v.error("[AnalyticsNonInteractiveEventObjectException] Category is required for nievent (L'Oréal guideline)",e),new r("Category is required for nievent (L'Oréal guideline)");if(!e.action)throw v.error("[AnalyticsNonInteractiveEventObjectException] Action is required for nievent (L'Oréal guideline)",e),new r("Action is required for nievent (L'Oréal guideline)");if(!e.label)throw v.error("[AnalyticsNonInteractiveEventObjectException] Label is required for nievent (L'Oréal guideline)",e),new r("Label is required for nievent (L'Oréal guideline)");this.noninteractivecategory=e.category,this.noninteractiveaction=e.action,this.noninteractivelabel=e.label,void 0!==e.value&&(this.noninteractivevalue=e.value)}set noninteractivecategory(e){this.result.eventCategory=this.setProperty(e)}get noninteractivecategory(){return this.result.eventCategory}set noninteractiveaction(e){this.result.eventAction=this.setProperty(e)}get noninteractiveaction(){return this.result.eventAction}set noninteractivelabel(e){this.result.eventLabel=this.setProperty(e)}get noninteractivelabel(){return this.result.eventLabel}set noninteractivevalue(e){this.result.eventValue=this.setProperty(e)}}class C extends y{constructor(e){if(super(void 0,e),!this.name&&!this.id
1)throw v.error("[AnalyticsProductObjectException] A Product Name or a Product ID is required for an Analytics Product Object",e),new u("A Product Name or a Product ID is required for an Analytics Product Object");this.dimensionKeys=Object.keys(e).filter((e=>/dimension/.test(e))),this.dimensionKeys&&this.dimensionKeys.forEach((t=>{this.result[t]=this.setProperty(e[t])}))}set name(e){this.result.name=this.setProperty(e)}get name(){return this.result.name}set id(e){this.result.id=this.setProperty(e)}get id(){return this.result.id}set price(e){this.result.price=this.setProperty(e)}set brand(e){this.result.brand=this.setProperty(e).toUpperCase()}set category(e){this.result.category=this.setProperty(e)}set variant(e){this.result.variant=this.setProperty(e)}set position(e){this.result.position=Number(this.setProperty(String(e)))}set list(e){this.result.list=this.setProperty(e)}setDynamicProp(e,t){this.result[e]=this.setProperty(t)}getDynamicProp(e){return this.result[e]}set product_label(e){this.result.product_label=this.setProperty(e)}get product_label(){return this.result.product_label}set product_franchise(e){this.result.product_franchise=this.setProperty(e)}get product_franchise(){return this.result.product_franchise}set product_quantity_range(e){this.result.product_quantity_range=this.setProperty(e)}get product_quantity_range(){return this.result.product_quantity_range}}class S extends y{constructor(e){if(super("productClick",e),this.category="Ecommerce",e.category&&v.warn(`[AnalyticsProductClickObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Product Click",e.action&&v.warn(`[AnalyticsProductClickObjectException] Action always defaults to "Product Click" (L'Oréal guideline), currently [${e.action}] was provided`,e,!1),this.label="Product Click",e.label&&(this.label=e.label,this.product_info=e.label),!e.products||0===e.products.length)throw v.error("[AnalyticsProductClickObjectException] Product is required for productClick",e),new c("Product is required for productClick")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},this.result.ecommerce.click=this.result.ecommerce.click||{},this.result.event_name="select_item"}set category(e){this.result.eventCategory=this.setProperty(e,!1)}set action(e){this.result.eventAction=this.setProperty(e,!1)}set label(e){this.result.eventLabel=this.setProperty(e,!1)}set product_info(e){this.result.product_info=this.setProperty(e,!1)}set value(e){this.result.eventValue=this.setProperty(e)}set products(e){e=e.map((e=>new C(e).toObject())),this.initEcommerce(),this.result.ecommerce.click.products=e}get products(){return this.result.ecommerce&&this.result.ecommerce.click.products||[]}set list(e){this.initEcommerce(),this.result.ecommerce.click.actionField={list:this.setProperty(e)}}}class k extends y{constructor(e){if(super("nievent",e),this.category="Ecommerce",e.category&&v.warn(`[AnalyticsProductImpressionObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Product Impressions",e.action&&v.warn(`[AnalyticsProductImpressionObjectException] Action always defaults to "Product Impressions" (L'Oréal guideline), currently [${e.action}] was provided`,e,!1),this.action="Product Impressions",e.label&&(this.label=e.label),!e.products||0===e.products.length)throw v.error("[AnalyticsProductImpressionObjectException] Product(s) are required for a productImpression",e),new o("Product(s) are required for a productImpression")}initEcommerceProductImp(){this.result.ecommerce=this.result.ecommerce||{},this.result.ecommerce.impressions=this.result.ecommerce.impressions||{},this.result.event_name="view_item_list"}set category(e){this.result.eventCategory=this.setProperty(e,!1)}set action(e){this.result.eventAction=this.setProperty(e,!1)}set label(e){this.result.eventLabel=this.setProperty(e,!1)}set value(e){this.result.eventValue=this.setProperty(e)}set currency(e){this.initEcommerceProductImp(),this.result.ecommerce.currencyCode="none"===e?this.setProperty(e):this.setProperty(e).toUpperCase()}set products(e){this.initEcommerceProductImp(),this.result.ecommerce.impressions=e.map((e=>new C(e).toObject()))}get products(){return this.result.ecommerce&&this.result.ecommerce.impressions||[]}}class D extends y{constructor(e){if(super("nievent",e),this.category="Ecommerce",e.category&&v.warn(`[AnalyticsProductDetailObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Product Detail",e.action&&v.warn(`[AnalyticsProductDetailObjectException] Action always defaults to "Product Detail" (L'Oréal guideline), currently [${e.action}] was provided`,e,!1),this.action="Product Detail",e.label&&(this.label=e.label,this.product_info=e.label),!e.products||0===e.products.length)throw v.error("[AnalyticsProductDetailObjectException] Product(s) are required for a productDetail",e),new l("Product(s) are required for a productDetail")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},this.result.ecommerce.detail=this.result.ecommerce.detail||{},this.result.event_name="view_item"}set category(e){this.result.eventCategory=this.setProperty(e,!1)}set action(e){this.result.eventAction=this.setProperty(e,!1)}set label(e){this.result.eventLabel=this.setProperty(e,!1)}set product_info(e){this.result.product_info=this.setProperty(e,!1)}set value(e){this.result.eventValue=this.setProperty(e)}set currency(e){this.initEcommerce()}set products(e){e=e.map((e=>new C(e).toObject())),this.initEcommerce(),this.result.ecommerce.detail.products=e}get products(){return this.result.ecommerce&&this.result.ecommerce.detail.products||[]}set list(e){this.initEcommerce(),this.result.ecommerce.detail.actionField={list:`${e}`}}}class L extends y{constructor(e){if(super(void 0,e),!this.name&&!this.id
1)throw v.error("[AnalyticsPromotionObjectException] A Promotion Name or a Promotion ID is required for an Analytics Promotion Object",e),new p("A Promotion Name or a Promotion ID is required for an Analytics Promotion Object")}set name(e){this.result.name=this.setProperty(e)}get name(){return this.result.name}set id(e){this.result.id=this.setProperty(e)}get id(){return this.result.id}set creative(e){this.result.creative=this.setProperty(e)}get creative(){return this.result.creative}set position(e){this.result.position=this.setProperty(e)}get position(){return this.result.position}}class T extends y{constructor(e){if(super("promotionClick",e),this.category="Ecommerce",e.category&&v.warn(`[AnalyticsPromotionClickObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Promotion Click",e.action&&v.warn(`[AnalyticsPromotionClickObjectException] Action always defaults to "Promotion Click" (L'Oréal guideline), currently [${e.action}] was provided`,e,!1),this.action="Promotion Click",e.label&&(this.label=e.label),!e.promotions||0===e.promotions.length)throw v.error("[AnalyticsPromotionClickObjectException] promotion is required for promotionClick",e),new d("promotion is required for promotionClick")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},this.result.ecommerce.promoClick=this.result.ecommerce.promoClick||{},this.result.event_name="select_promotion"}set category(e){this.result.eventCategory=this.setProperty(e,!1)}set action(e){this.result.eventAction=this.setProperty(e,!1)}set label(e){this.result.eventLabel=this.setProperty(e,!1)}set value(e){this.result.eventValue=this.setProperty(e)}set promotions(e){e=e.map((e=>new L(e).toObject())),this.initEcommerce(),this.result.ecommerce.promoClick.promotions=e}}class x extends y{constructor(e){if(super("nievent",e),this.category="Ecommerce",e.category&&v.warn(`[AnalyticsPromotionImpressionObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Promotion Impressions",e.action&&v.warn(`[AnalyticsPromotionImpressionObjectException] Action always defaults to "Promotion Impressions" (L'Oréal guideline), currently [${e.action}] was provided`,e,!1),this.label="Promotion Impressions",e.label&&(this.label=e.label),!e.promotions||0===e.promotions.length)throw v.error("[AnalyticsPromotionImpressionObjectException] Promotion(s) are required for a promotionImpression",e),new m("Promotion(s) are required for a promotionImpression")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},this.result.ecommerce.promoView=this.result.ecommerce.promoView||{},this.result.event_name="view_promotion"}set category(e){this.result.eventCategory=this.setProperty(e,!1)}set action(e){this.result.eventAction=this.setProperty(e,!1)}set label(e){this.result.eventLabel=this.setProperty(e,!1)}set value(e){this.result.eventValue=this.setProperty(e)}set promotions(e){this.initEcommerce(),this.result.ecommerce.promoView.promotions=e.map((e=>new L(e).toObject()))}}class A extends y{constructor(e){if(super("socialInt",e),!e.socialNetwork)throw v.error("[AnalyticsSocialActionEventObjectException] socialNetwork is required for socialInt (L'Oréal guideline)",e),new n("socialNetwork is required for socialInt (L'Oréal guideline)");if(!e.socialTarget)throw v.error("[AnalyticsSocialActionEventObjectException] socialTarget is required for socialInt (L'Oréal guideline)",e),new n("socialTarget is required for socialInt (L'Oréal guideline)");this.result.ecommerce=void 0,this.result.socialAction="share",this.result.social_action="share"}set socialNetwork(e){this.result.socialNetwork=this.setProperty(e)}get socialNetwork(){return this.result.socialNetwork}set socialTarget(e){this.result.socialTarget=this.setProperty(e)}get social_network(){return this.result.socialTarget}set social_network(e){this.result.social_network=this.setProperty(e)}}const P={productClick:S,productImpression:k,productDetail:D,userActionEvent:w,socialActionEvent:A,nonInteractiveEvent:b,promotionClick:T,promotionImpression:x},E=Object.keys(P),M=e=>E.map((e=>e.toLowerCase())).indexOf(e.toLowerCase())>-1,I=(e,t)=>{e()?t():window.setTimeout(I.bind(null,e,t),10)},$=e=>{I((()=>"complete"===document.readyState),(()=>{try{window.top&&window.top!==window&&("undefined"===typeof window.top.dataLayer&&(window.top.dataLayer=[]),window.top.dataLayer.push(e))}catch(t){}window.dataLayer.push(e)}))};class B{constructor(){v.info("debug enabled"),"undefined"===typeof window.dataLayer&&(v.warn("dataLayer is not defined.
1Creating local dataLayer for debugging purposes."),window.dataLayer=[])}taggingObjectByType(e){if(-1===E.indexOf(e.type)){const t=E.join(", ");throw v.error(`[AnalyticsException] Wrong type given: [${e.type}]. Type options: ${t}`),new a(`Wrong type given: [${e.type}]. Type options: ${t}`)}const t=P[e.type];return new t(e).toObject()}push(e){if(!e)throw new a("No data given to AnalyticsHandler.push function");const t=this.taggingObjectByType(e);v.info(`Pushing [${e.type}] to dataLayer`,t);try{B.pushDataLayer(t)}catch(i){throw v.error("Error while pushing to dataLayer",i),new a(i.message)}return this}static getAnalyticsHandler(){return this.$analyticsHandler=this.$analyticsHandler||new B,this.$analyticsHandler}static pushDataLayer(e){return $(e)}}var q=i(6431);let O=[];if(document.querySelectorAll(".trackImpfour").length){let e=document.querySelector(".trackImpfour").getBoundingClientRect().x,t="impression",i=0;document.querySelectorAll(".trackImpfour").forEach(((a,s)=>{const n=a.getBoundingClientRect();e!=n.x?a.classList.add(t):(t="impression-"+i,a.classList.add(t),i++)}))}const N=e=>Object.keys(e).reduce(((t,i)=>(e[i]&&(t[i]=e[i]),t)),{}),V=new WeakMap;function F(){return"undefined"!==typeof window&&window.matchMedia("(min-width: 1024px)").matches}var H={handleEvent(e,t,i,a){const s=()=>{const e=a?this.createDataObjectBasedOnDom(t.closest("[data-tag-wrapper]"),i):i;if("productImpression"===i.type&&0===e.products.length)return!1;if("userActionEvent"===i.type){let e={event:"uaevent",ecommerce:"undefined",eventLabel:i.label,eventAction:i.action,eventCategory:i.category};i.dimension49&&(e={event:"uaevent",ecommerce:"undefined",eventLabel:i.label,eventAction:i.action,eventCategory:i.category,dimension49:i.dimension49}),"OnlineDoctor::OnlineDoctor"===i.label&&(e={event:"promotionClick",eventAction:"Ecommerce",eventCategory:"Promotion Click",eventLabel:"OnlineDoctor::OnlineDoctor",ecommerce:{promoClick:{promotions:[{id:"OnlineDoctor",name:"OnlineDoctor",creative:"Weiterleitung OnlineDoctor",position:"slot3"}]}}});const t=["event_name","link_url","cta_name","module_name","breadcrumb","click_area","product_tab","product_info","referral","method","step","store_name","article_name","search_keyword","video_title","form_name"],a=()=>{const e={};for(const[a,s]of Object.entries(i))t.includes(a)&&Object.assign(e,{[a]:i[a]});return e};if(Object.assign(e,a()),"select::header"===e.eventAction&&"header"===e.click_area){let t=e;t.eventAction=window.innerWidth<=992?"select::burger menu":e.eventAction,t.click_area=window.innerWidth<=992?"burger menu":e.click_area,window.dataLayer.push(t)}else window.top&&window.top!==window?("undefined"===typeof window.top.dataLayer&&(window.top.dataLayer=[]),window.top.dataLayer.push(e)):window.dataLayer.push(e);return!0}if("socialactionevent"===i.type)window.dataLayer.push({event:"socialInt",event_name:"social_interaction",ecommerce:"undefined",socialNetwork:i.socialNetwork.toLowerCase(),socialAction:"share",socialTarget:i.socialTarget,social_network:i.socialNetwork.toLowerCase(),social_action:"share"});else try{B.getAnalyticsHandler().push(e)}catch(s){throw g.Y&&(t.setAttribute("data-error",s.message),t.classList.add("accessibilityError")),s}};"click"===e?t.addEventListener("click",s):(0,q.YJ)(t).then(s)},getValue(e,t,i){const a=e.getAttribute(`data-tag-${i}`);return a&&""!==a?a:"product-currency"===i||"product-dimension35"===i||"product-dimension36"===i||"product-dimension38"===i||"product-variant"===i?"none":this.getValueFromSelector(e.querySelector(t),i)},getTagValues(e,t,i=(e=>e)){return t.filter((e=>!!e)).map((t=>({key:t,value:this.getValue(e,`[data-tag-${t}]`,t)}))).reduce(((e,t)=>(void 0!==t.value&&t.value&&(e[i(t.key)]=t.value),e)),{})},getValueFromSelector(e,t){if(!e)return!1;const i=e.getAttribute(`data-tag-${t}`);return""===i?e.textContent:i},createDataObjectBasedOnDom(e,t){const i=this.getTagValues(e,["category","action","label","event_name","click_area","breadcrumb","module_name","form_name"]);if("productClick"===t.type||"productImpression"===t.type||"productDetail"===t.type){const a=e.querySelectorAll("[data-tag-product-identifier]");if(i.products=[],"productImpression"===t.type&&e.classList?.contains("trackImpSlider"))return{...t,...i};const s="productImpression"===t.type&&e.classList&&e.classList.contains("trackImpfour");if("productImpression"!==t.type||s){let s,n=0;for(const r of a)if("productImpression"===t.type&&(s=document.querySelectorAll("."+e.querySelector("."+r.className+"[data-tag-product-identifier]").closest("[data-tag-wrapper]").className.trim().split(" ").join(".")).length,n++),"productImpression"===t.type&&O.length<=s-1&&1===n&&O.push(this.createDataForProduct(r,e,t,i)),"productClick"===t.type||"productDetail"===t.type)i.products.push(this.createDataForProduct(r,e,t,i));else if("productImpression"===t.type&&O.length===s){for(const e of O)i.products.push(e);O=[]}}else{const s=e.classList&&e.classList.contains("trackImpone")&&F()?e.closest(".routine, routine"):null;if(s)if(V.has(s))i.products=[];else{const e=s.querySelectorAll("[data-tag-wrapper].trackImpone");for(let a=0;a<e.length;a++){const s=e[a],n=s.querySelector("[data-tag-product-identifier]");n&&i.products.push(this.createDataForProduct(n,s,t,i))}i.products.length&&V.set(s,!0)}else for(const n of a)i.products.push(this.createDataForProduct(n,e,t,i))}}if("promotionClick"===t.type||"promotionImpression"===t.type||"productDetail"===t.type){const t=e.querySelectorAll("[data-tag-promotion-identifier]");i.promotions=[];for(const e of t)i.promotions.push(this.createDataForPromotion(e))}return{...t,...i}},createDataForProduct(e,t,i,a){const s=this.getValue(t,"[data-tag-product-currency
1]","product-currency"),n=this.getValue(e,"[data-tag-product-name]","product-name"),r=this.getValue(e,"[data-tag-product-id]","product-id"),o=this.getValue(e,"[data-tag-product-category]","product-category"),l=this.getValue(e,"[data-tag-product-brand]","product-brand"),c=this.getValue(e,"[data-tag-product-price]","product-price"),d=this.getValue(e,"[data-tag-product-variant]","product-variant"),u=this.getValue(e,"[data-tag-product-position]","product-position"),p=this.getValue(e,"[data-tag-product-list]","product-list"),h=this.getValue(e,"[data-tag-product-dimension35]","product-dimension35"),m=this.getValue(e,"[data-tag-product-dimension36]","product-dimension36"),g=this.getValue(e,"[data-tag-product-dimension37]","product-dimension37"),v=this.getValue(e,"[data-tag-product-dimension38]","product-dimension38"),_=this.getValue(e,"[data-tag-product-dimension39]","product-dimension39"),f=this.getValue(e,"[data-tag-product-dimension40]","product-dimension40"),y=this.getValue(e,"[data-tag-product-dimension48]","product-dimension48"),w=this.getValue(e,"[data-tag-product-dimension49]","product-dimension49"),b=this.getValue(e,"[data-tag-product-dimension91]","product-dimension91"),C=this.getValue(e,"[data-tag-product-dimension
159]","product-dimension59"),S=this.getValue(e,"[data-tag-product-dimension152]","product-dimension152"),k=this.getValue(e,"[data-tag-product-dimension153]","product-dimension153"),D=this.getValue(e,"[data-tag-product-dimension154]","product-dimension154"),L=this.getValue(e,"[data-tag-product_label]","product_label"),T=this.getValue(e,"[data-tag-product_franchise]","product_franchise"),x=this.getValue(e,"[data-tag-product_quantity_range]","product_quantity_range");s&&(a.currency=s),"productClick"!==i.type&&"productDetail"!==i.type||!p||(a.list=p);let A={name:n,id:r,category:o,brand:l,price:c,variant:d,position:u,dimension35:h,dimension36:m,dimension37:g,dimension38:v,dimension39:_,dimension40:f,dimension48:y,dimension49:w,dimension91:b,dimension59:C,dimension152:S,dimension153:k,dimension154:D,product_label:L,product_franchise:T,product_quantity_range:x};return"productImpression"===i.type&&(A.list=p),N(A)},createDataForPromotion(e){const t=this.getValue(e,"[data-tag-promotion-name]","promotion-name"),i=this.getValue(e,"[data-tag-promotion-id]","promotion-id"),a=this.getValue(e,"[data-tag-promotion-creative]","promotion-creative"),s=this.getValue(e,"[data-tag-promotion-position]","promotion-position");return N({name:t,id:i,creative:a,position:s})}};const R={name:"tag",inserted:(e,t)=>{const{arg:i,value:a={}}=t;let s="click";if(!i)throw new h(`No argument given to v-tag. Example usage: v-tag:event="{category: 'video', action: 'play', label: 'video.mp4'}}". Argument options: ${E.join(", ").toLowerCase()}`);if(!M(i))throw new h(`v-tag argument [${i}] to v-tag is wrong. Argument options: ${E.join(", ").toLowerCase()}`);switch(i){case"productimpression":a.type="productImpression",s="impression";break;case"productdetail":a.type="productDetail",s="detail";break;case"productclick":a.type="productClick";break;case"socialactionevent":a.type="socialactionevent";break;case"promotionclick":a.type="promotionClick";break;case"promotionimpression":a.type="promotionImpression",s="impression";break;case"useractionevent":default:a.type="userActionEvent";break}H.handleEvent(s,e,a,"dom"in t.modifiers)}},j={name:"newsletterclick",bind:(e,t)=>{e.addEventListener("click",(()=>{let e="footer";!0===t.value?window.eventBus.$emit("newsletterpopup",{postion:e,show:!0}):window.eventBus.$emit("newsletterpopup",{postion:e,show:!1})}))}};var z={directives:{tag:R,newsletterclick:j}}},8756:function(e,t,i){"use strict";i.d(t,{gO:function(){return n},xv:function(){return s}});const a=150;function s(e,t=a,i="..."){return e.length>t?e.trim().slice(0,t)+i:e}const n={name:"ellipsis",bind:(e,t)=>{const i=e,a=t.expression;i.innerHTML=s(i.textContent,a)}}},9678:function(e,t,i){"use strict";i.d(t,{Pm:function(){return n},RZ:function(){return o},hH:function(){return r}});var a=i(6431),s=i(3961);const n=(e,t)=>{if("string"===typeof e)return e;if(!e||"object"!==typeof e)return"";const i=t||document.documentElement.clientWidth,a=Object.keys(e).reverse(),s=a.filter((e=>i>=e)).shift();return e[s]},r={name:"srcset",inserted:(e,t)=>{const i=()=>{const i=n(t.value);if("img"!==e.tagName.toLowerCase()){e.style.backgroundImage=`url('${i}')`;const t=e.querySelector("img");t&&(t.src=i)}else e.src=i};(0,a.YJ)(e,{checkIsVisible:!1}).then((()=>{i(),e.listener=(0,s.s)(i,200),window.addEventListener("resize",e.listener),setTimeout((()=>{e.classList.add("-loaded")}),100)}))},unbind(e){e.listener&&window.removeEventListener("resize",e.listener)}},o={name:"lazy",inserted:e=>{const t=()=>{const t=n(e.getAttribute("data-lazy")),i=e.tagName.toLowerCase();if("img"!==i){e.style.backgroundImage=`url('${t}')`;const i=e.querySelector("img");i&&(i.src=t)}else if(e.src=t,e.closest("picture")){const t=e.parentNode.querySelectorAll("source"),i="data-srcset";t.forEach((function(e){e.getAttribute(i)&&(e.setAttribute("srcset",e.getAttribute(i)),e.removeAttribute(i))}))}};(0,a.YJ)(e,{checkIsVisible:!1}).then((()=>{t(),e.listener=(0,s.s)(t,200),window.addEventListener("resize",e.listener),setTimeout((()=>{e.classList.add("-loaded")}),100)}))},unbind(e){e.listener&&window.removeEventListener("resize",e.listener)}}},6355:function(e,t,i){"use strict";i.d(t,{Y:function(){return a}});const a=!1},8165:function(e,t,i){"use strict";i.d(t,{B:function(){return s}});var a=i(2893);const s=new a["default"];window.eventBus=s},4871:function(e,t,i){"use strict";i.d(t,{B:function(){return a.B}});var a=i(8165)},3682:function(){ 2/** 3 * jQuery FocusPoint; version: 1.1.3 4 * Author: http://jonathonmenz.com 5 * Source: https://github.com/jonom/jquery-focuspoint 6 * Copyright (c) 2014 J. Menz; MIT License 7 * @preserve 8 */ 9(function(e){const t={reCalcOnWindowResize:!0,throttleDuration:17},i=function(e){const t=e.find("img").attr("src");e.data("imageSrc",t),a(t,((t,i)=>{e.data({imageW:i.width,imageH:i.height}),r(e)}))};var a=function(t,i){e("<img />").one("load",(function(){i(null,{width:this.width,height:this.height})})).attr("src",t)};const s=function(e,t){let i=!1;return function(){const a=Array.prototype.slice.call(arguments,0);if(i)return!1;i=!0,setTimeout((()=>{i=!1,e(...a)}),t)}},n=function(e,t,i,a,s){const n=Math.floor(t/2),r=(a+1)/2,o=Math.floor(i/e);let l=Math.floor(r*o);s&&(l=o-l);let c=l-n;const d=o-l,u=t-n;return d<u&&(c-=u-d),c<0&&(c=0),-100*c/t+"%"};var r=function(e){const t=e.data("imageW"),a=e.data("imageH"),s=e.data("imageSrc");if(!t&&!a&&!s)return i(e);const r=e.width(),o=e.height(),l=parseFloat(e.data("focusX")),c=parseFloat(e.data("focusY")),d=e.find("img").first();let u=0,p=0;if(!(r>0&&o>0&&t>0&&a>0))return!1;const h=t/r,m=a/o;d.css({"max-width":"","max-height":""}),t>r&&a>o&&d.css(h>m?"max-height":"max-width","100%"),h>m?u=n(m,r,t,l):h<m&&(p=n(h,o,a,c,!0)),d.css({top:p,left:u})};const o=e(window),l=function(e,t){const i=t.throttleDuration?s((()=>{r(e)}),t.throttleDuration):function(){r(e)};let a=!1;return r(e),{adjustFocus(){return r(e)},windowOn(){if(!a)return o.on("resize",i),a=!0},windowOff(){if(a)return o.off("resize",i),a=!1,!0}}};e.fn.focusPoint=function(i){if("string"===typeof i)return this.each((function(){const t=e(this);t.data("focusPoint")[i]()}));const a=e.extend({},t,i);return this.each((function(){const t=e(this),i=l(t,a);t.data("focusPoint")&&t.data("focusPoint").windowOff(),t.data("focusPoint",i),a.reCalcOnWindowResize&&i.windowOn()}))},e.fn.adjustFocus=function(){return this.each((function(){r(e(this))}))}})(jQuery)},4465:function(e,t,i){"use strict";async function a(e,t){const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",RequestVerificationToken:window.RequestVerificationHeader},credentials:"include",cache:"no-store",body:JSON.stringify(t)});return await i.json()}i.d(t,{L:function(){return a}})},8155:function(e,t,i){"use strict";function a(){s(),window.addEventListener("resize",(0,d.n)((()=>{s()}),100))}function s(){const e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)}function n(e,t){if(!e||0===e.length)return!1;let i=e;do{if(i===document)break;
9if(i.className.indexOf(t)>=0)return!0}while(i=i.parentNode);return!1}function r(e){const t=e;let i=t.offsetTop,a=t;while(a.offsetParent&&a.offsetParent!==document.body)a=a.offsetParent,i+=a.offsetTop;return i}function o(e,t){setTimeout((()=>{window.scrollTo(0,e-70)}),t)}function l(){return(window.pageYOffset||document.documentElement.scrollTop)-(document.documentElement.clientTop||0)}function c(e){const t=l(),i=r(e),a=Math.abs(i-t);if(a<100)return void window.scrollTo(0,i);let s=Math.round(a/100);s>=20&&(s=20);const n=Math.round(a/25);let c=i>t?t+n:t-n,d=0;if(i>t)for(let r=t;r<i;r+=n)o(c,d*s),c+=n,c>i&&(c=i),d+=1;else for(let r=t;r>i;r-=n)o(c,d*s),c-=n,c<i&&(c=i),d+=1}i.d(t,{fC:function(){return w},BW:function(){return a},sg:function(){return d.s},VZ:function(){return n},eb:function(){return c},nF:function(){return d.n},UX:function(){return b}});i(2623);var d=i(3961);const u=(e,t)=>Object.keys(t).reduce(((i,a)=>(i[a]=i[a]||{},Object.assign(i[a],e[a]||{},t[a]||{}),i)),e),p=["components","directives","filters"],h=(e,t,i)=>async()=>{const a=await e.module();return a.default[t][i]},m=(e,t,i,a)=>{e[i][a]=h(t,i,a)},g=(e,t,i)=>{t[i]&&[].concat(t[i]).forEach((a=>{m(e,t,i,a)}))},v=(e,t)=>{p.forEach((i=>{g(e,t,i)}))},_=(e,t)=>{[].concat(t).forEach((t=>{v(e,t)}))},f=(e,t)=>{t.forEach((t=>{u(e,t)}))},y=(e,t,i)=>{switch(t){case"asyncImports":_(e,i[t]);break;case"imports":f(e,i[t]);break;case"directives":case"components":case"filters":Object.assign(e[t],i[t]);break;default:e[t]=i[t];break}return e};function w(e){return Object.keys(e).reduce(((t,i)=>y(t,i,e)),{components:{},directives:{},filters:{}})}i(4114);function b(e,t){const i=/(<[^>]+>)|([^<]+)/g;let a,s=0,n="";const r=[];while(null!==(a=i.exec(e))&&s<t){const[e,i,o]=a;if(i){if(n+=i,/^<[^\/!][^>]*[^\/]>$/.test(i)){const e=i.match(/^<(\w+)/)[1];r.push(e)}/^<\/(\w+)/.test(i)&&r.pop()}else o&&(s+o.length>t?(n+=o.slice(0,t-s),s+o.length>50&&""!=n&&(n+="..."),s=t):(n+=o,s+=o.length))}while(r.length>0){const e=r.pop();n+=`</${e}>`}return n}},6431:function(e,t,i){"use strict";function a(e){const t=e.getBoundingClientRect(),i=t.left>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth);return i}function s(e){const t=e.getBoundingClientRect(),i={x:t.left+e.offsetWidth/2,y:t.top+e.offsetHeight/2};let a=document.elementFromPoint(i.x,i.y);if(i.x<0||i.y<0||i.x>(document.documentElement.clientWidth||window.innerWidth)||i.y>(document.documentElement.clientHeight||window.innerHeight))return!1;do{if(a===e)return!0}while(a=a.parentNode);return!1}i.d(t,{YJ:function(){return l}});var n=i(3961);function r(e,t,i){return(0,n.n)((()=>{(t.checkIsVisible&&a(e)&&s(e)||!t.checkIsVisible&&a(e))&&i()}),t.delay)}function o(e,t){return new Promise((i=>{const a=r(e,t,(()=>{document.removeEventListener("carouselLazyImg",a),window.removeEventListener("scroll",a),window.removeEventListener("resize",a),i()}));document.addEventListener("carouselLazyImg",a,!1),window.addEventListener("scroll",a,!1),window.addEventListener("resize",a,!1),a()}))}function l(e,t={}){const{checkIsVisible:i=!0,delay:a=500,threshold:s=[.006]}=t;return"IntersectionObserver"in window?new Promise((t=>{const i=new IntersectionObserver((a=>{a.forEach((a=>{a.intersectionRatio>0&&(t(),i.unobserve(e))}))}),{threshold:s});i.observe(e)})):o(e,{delay:a,checkIsVisible:i})}},2623:function(e,t){"use strict";t.A={data(){return{prev:window.pageYOffset,handle:null}},mounted(){this.calcualteScroll()},methods:{calcualteScroll(){window.addEventListener("scroll",(()=>{let e=window.pageYOffset;this.prev>e?this.active=!0:this.active=!1,0===e&&(this.active=!1),this.prev=e,this.handle&&clearTimeout(this.handle),this.handle=setTimeout((()=>{0!==e&&(this.active=!0)}),200)}))}}}},3961:function(e,t,i){"use strict";function a(e,t){let i;return function(...a){const s=this;clearTimeout(i),i=setTimeout((()=>e.apply(s,a)),t)}}function s(e,t){let i,a;return function(...s){const n=this;a?(clearTimeout(i),i=setTimeout((()=>{Date.now()-a>=t&&(e.apply(n,s),a=Date.now())}),t-(Date.now()-a))):(e.apply(n,s),a=Date.now())}}i.d(t,{n:function(){return s},s:function(){return a}})},5570:function(e,t,i){"use strict";var a=i(2893),s=i(8155),n=function(){var e=this,t=e._self._c;return t("div",{ref:"banner",class:{"-content-size":e.contentSize}},[t("responsive-image",{attrs:{animate:e.parallax?"parallax":"",srcset:e.srcset,"aspect-ratio":e.aspectRatio,"enable-dsf-service":e.enableDsfService,"is-mobile-version-enabled":e.isMobileVersionEnabled,"mobile-version-image":e.mobileVersionImage,"desktop-images":e.desktopImages}},[e._t("background"),e._v(" "),e.contentSize?t("div",{staticClass:"banner__content",attrs:{slot:"content"},slot:"content"},[e._t("default")],2):e._e()],2),e._v(" "),e.contentSize&&!e.smallScreen||
9!e.secondBannerSection?e._e():t("div",{staticClass:"banner__content",class:{"content-style":e.smallScreen&&e.isGenericBanner&&e.dataContent},attrs:{slot:"content"},slot:"content"},[e._t("default")],2),e._v(" "),e._t("text")],2)},r=[],o=i(4871),l=i(772),c={name:"banner",components:{ResponsiveImage:l["default"]},props:{srcset:{type:[Object,String],required:!1,default:void 0},contentSize:{type:Boolean,required:!1,default:!1},aspectRatio:{type:String,required:!1,default:void 0},parallax:{type:Boolean,required:!1,default:!1},contentColor:{type:Boolean,required:!1,default:!1},isGenericBanner:{type:Boolean,required:!1,default:!1},dataContent:{type:Boolean,required:!1,default:!1},enableDsfService:{type:Boolean,required:!1,default:!1},isMobileVersionEnabled:{type:Boolean,required:!1,default:!1},mobileVersionImage:{type:String,required:!1,default:""},desktopImages:{type:[Object,String],required:!1,default:void 0},secondBannerSection:{type:Boolean,required:!1,default:!0}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches}},mounted(){this.screenCheck()},methods:{screenCheck(){o.B.$on("mediaquery::changed",(e=>{this.smallScreen=!("small"!==e.size&&"medium"!==e.size),this.removeClass()}))},removeClass(){!1===this.smallScreen&&this.contentColor?this.$refs.banner.classList.add("-white"):this.$refs.banner.classList.remove("-white")}}},d=c,u=i(1656),p=(0,u.A)(d,n,r,!1,null,null,null),h=p.exports,m=(0,s.fC)({components:{Banner:h}}),g=function(){var e=this,t=e._self._c;return t("div",{ref:"carousel",staticClass:"carousel",class:{"carousel--withCounter":e.showCounter}},[e._t("header"),e._v(" "),e.bullets||e.showNavigation?t("div",{staticClass:"carousel__utils"},[e.bullets&&e.nbPage>1?t("ul",{staticClass:"carousel__bullets",attrs:{role:"none"}},e._l(e.nbPage,(function(i){return t("li",e._g({key:i,staticClass:"carousel__bullets-item",class:{active:e.activePage===i-1},attrs:{id:i},on:{click:function(t){e.setCurrent(i-1),e.navTagging("dot","dot",i-1)}}},e.navigateWithBullets?{click:()=>e.setActive(i-1)}:{}))})),0):e._e(),e._v(" "),t("div",{staticClass:"flex--space"}),e._v(" "),e.showNavigation?t("div",{staticClass:"carousel__nav"},[t("button",{ref:"buttonPrev",staticClass:"carousel__arrow carousel__arrow--left",class:e.activePage<=0?"disabled":"",on:{click:function(t){e.setPrev(),e.navTagging("prev","arrow")}}},[t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.previousPanelText))])]),e._v(" "),t("button",{ref:"buttonNext",staticClass:"carousel__arrow carousel__arrow--right",class:e.activePage<e.nbPage-1?"":"disabled",on:{click:function(t){e.setNext(),e.navTagging("next","arrow")}}},[t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.nextPanelText))])])]):e._e()]):e._e(),e._v(" "),t("ul",{ref:"carouselWrapper",staticClass:"carousel__wrapper"},[e._t("default")],2),e._v(" "),e._t("footer")],2)},v=[],_=(i(4114),i(4603),i(7566),i(8721),i(4848)),f={name:"carousel",props:{itemPerPageDesktop:{type:Number,required:!0},navigation:{type:Boolean,required:!1,default:!0},bullets:{type:Boolean,required:!1,default:!0},navigateWithBullets:{type:Boolean,required:!1,default:!1},showCounter:{type:Boolean,required:!1,default:!1},screenMedia:{type:String,required:!1,default:"(min-width: 1024px)"},pageCategory:{type:String,required:!1,default:"page category"},nextPanelText:{type:String,required:!1,default:"next panel"},previousPanelText:{type:String,required:!1,default:"previous panel"},navTaggingLabel:{type:[String,Array],required:!1,default:""},carouselName:{type:String,required:!1,default:"carousel"},beforeAfter:{type:Boolean,required:!1,default:!1},productName:{type:String,required:!1,default:""},sliderTitle:{type:Array/String,required:!1,default:""},imageVideoSlider:{type:Boolean,required:!1,default:!1},carouselType:{type:String,required:!1,default:""},carouselTitle:{type:String,required:!1,default:""}},data(){return{activePage:0,nbPage:0,smallScreen:!window.matchMedia("(min-width: 1024px)").matches,showNavigation:null,location:window.document.URL}},computed:{isRtl(){let e=document.getElementById("main-container"),t=getComputedStyle(e);return"rtl"===t.direction},seoLabel(){if("string"===typeof this.navTaggingLabel)return this.navTaggingLabel.toLowerCase();{const e=this.smallScreen?1:this.itemPerPageDesktop,t=this.activePage*e,i=t+e;return`${this.carouselName}::${this.navTaggingLabel.slice(t,i).join("::")}`}}},watch:{smallScreen(){this.nSlides=this.oSlides.length,window.matchMedia(this.screenMedia).matches?this.nbPage=Math.ceil(this.nSlides/this.itemPerPageDesktop):this.nbPage=this.nSlides,this.calculateNavigationDisplay(),this.setActive(0)}},mounted(){this.addSlideWrapper(),this.swipeDetection(),this.calculateNavigationDisplay(),this.screenMobile(),this.$refs.carouselWrapper.classList.add(`carousel__wrapper--${this.itemPerPageDesktop}-col`),o.B.$on("mediaquery::changed",(e=>{this.smallScreen=!window.matchMedia("(min-width: 1024px)").matches}))},methods:{decodeHtml(e){let t=document.createElement("div");t.innerHTML=e;let i=t.innerText.replaceAll("\n"," ");return i},addSlideWrapper(){const e=this.$refs.carouselWrapper.querySelectorAll(".carousel__wrapper > *");this.oSlides=[],e.forEach((e=>{const t=document.createElement("li");t.classList.add("carousel__slide"),t.setAttribute("aria-hidden",!0),t.appendChild(e),this.$refs.carouselWrapper.appendChild(t),this.oSlides.push({slide:t})})),this.nSlides=this.oSlides.length,window.matchMedia(this.screenMedia).matches?this.nbPage=Math.ceil(this.nSlides/this.itemPerPageDesktop):this.nbPage=this.nSlides,this.setActive(0)},pushAnalytics(e=""){const t=""!==this.navTaggingLabel?this.seoLabel:this.decodeHtml(this.navTaggingLabel);let i=t;(this.sliderTitle[e-1]||null==this.sliderTitle[e-1])&&(i=this.decodeHtml(this.sliderTitle[e-1]),null==this.sliderTitle[e-1]&&(i=""));let a=this.decodeHtml(this.carouselTitle).toLowerCase();"image-video"==this.carouselType?_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:this.pageCategory,eventAction:"select::slider navigation elements",eventLabel:`${t.toLowerCase()}::${i.toLowerCase()}::${e}`,cta_name:`${t.toLowerCase()}::${i.toLowerCase()}::${e}`,module_name:`slider navigate::${t.toLowerCase()}`}):"flipcard"==this.carouselType?_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:this.pageCategory,eventAction:`select::${a}`,eventLabel:`${t.toLowerCase()}::${e}`,cta_name:"slider navigate::flip card",module_name:`${t.toLowerCase()}::${e}`}):_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",eventCategory:this.pageCategory,eventAction:`navigate::${t}`.toLowerCase(),eventLabel:`${e}::${i}`.toLowerCase(),event_name:"slider_button_click",module_name:`${t}`.toLowerCase(),cta_name:`${i}`.toLowerCase(),link_url:`${this.location}`})},pauseVideo(){const e=this.$el.querySelectorAll("iframe");Array.prototype.forEach.call(e,(e=>{try{const t=new URL(e.src),i=t.origin;e.contentWindow.postMessage('{"event":"command", "func":"pauseVideo", "args":""}',i)}catch(t){console.warn("Invalid iframe src:",e.src)}}))},setActive(e){document.dispatchEvent(new CustomEvent("carouselLazyImg")),this.pauseVideo();const t=this.oSlides[e],i=this.itemPerPageDesktop*e;this.activePage=e,this.oSlides.length&&(this.resetActiveSlide(),window.matchMedia(this.screenMedia).matches?this.oSlides.slice(i,i+this.itemPerPageDesktop).forEac
9h((e=>this.setFocus(e.slide))):this.setFocus(t.slide),this.$refs.carouselWrapper.style.transform=`translate3d(${this.isRtl?"":"-"}${this.activePage}00%, 0, 0)`),t&&t.slide&&t.slide.classList.add("active")},setFocus(e){e.setAttribute("aria-hidden",!1),e.querySelectorAll("[tabindex]:not(button), a").forEach((e=>{e.setAttribute("tabindex",0)}))},resetActiveSlide(){this.oSlides.forEach((e=>{e.slide.setAttribute("aria-hidden",!0),e.slide.classList.remove("active"),e.slide.querySelectorAll("[tabindex]:not(button), a").forEach((e=>{e.setAttribute("tabindex",-1)}))}))},setNext(){if(0==this.beforeAfter)void 0===this.navTaggingLabel&&this.pushAnalytics(this.nbPage);else{let e=this.activePage+2;this.beforeAfterTag(e)}this.activePage<this.nbPage-1&&this.setActive(this.activePage+1)},setPrev(){if(0==this.beforeAfter)void 0===this.navTaggingLabel&&this.pushAnalytics(this.nbPage-1);else{let e=this.activePage;this.beforeAfterTag(e)}this.activePage>0&&this.setActive(this.activePage-1)},setCurrent(e){this.setActive(e),void 0===this.navTaggingLabel&&this.pushAnalytics(this.activePage+1)},beforeAfterTag(e){_.Xj.pushDataLayer({event:"uaevent",event_name:"module_before_after",ecommerce:void 0,eventCategory:"product detail page",eventAction:"select::before after",eventLabel:`${e}::${[this.productName]}`,click_action:`${e}::${[this.productName]}`})},swipeDetection(){this.touchstartX=0,this.touchendX=0;const e=this.$refs.carousel;e.addEventListener("touchstart",(e=>{this.touchstartX=e.changedTouches[0].screenX}),{passive:!0}),e.addEventListener("touchend",(e=>{this.touchendX=e.changedTouches[0].screenX,this.handleGesture()}),{passive:!0})},handleGesture(){let e;const t=Math.abs(this.touchendX-this.touchstartX),i=t>30;e=this.isRtl?this.touchstartX<this.touchendX:this.touchendX<this.touchstartX,i&&(e?this.setNext():e||this.setPrev())},calculateNavigationDisplay(){this.navigation?this.navigation&&!this.smallScreen?this.showNavigation=this.nSlides>this.itemPerPageDesktop:this.showNavigation=this.nSlides>1:this.showNavigation=!1},screenMobile(){o.B.$on("mediaquery::changed",(e=>{this.smallScreen=!("small"!==e.size&&"medium"!==e.size)}))},generateSequence(e,t){let i="";for(let a=e+1;a<=t;a++)i+=a+"-//-";return i.slice(0,-4)},navTagging(e,t,i=null){const a=this.$el;a.querySelector(".carousel__bullets-item.active").id;let s=0;"dot"!==e&&a.querySelector(".carousel__bullets-item.active").id&&(s=a.querySelector(".carousel__bullets-item.active").id);let n=1,r=1,o=parseInt(s);const l="next"===e?1:-1;o+=l;let c="",d="";this.smallScreen?(n=o-1,r=o,"dot"===e&&(n=parseInt(i),r=n+1),d=r,c=`${this.navTaggingLabel.slice(n,r)}`):(n=o*this.itemPerPageDesktop,r=n-this.itemPerPageDesktop,"dot"===e&&(r=parseInt(i)*this.itemPerPageDesktop,n=r+this.itemPerPageDesktop),d=r+1,c=`${this.navTaggingLabel.slice(r,n).join("-//-")}`);let u=this.navTaggingLabel.slice(r,n).length;u>1&&(d=this.generateSequence(r,r+u)),_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:this.pageCategory,eventAction:"select::slider navigation elements",eventLabel:`${t}::${c}::${d}`,cta_name:`${t}::${c}::${d}`,module_name:`slider navigate::${t}`})}}},y=f,w=(0,u.A)(y,g,v,!1,null,null,null),b=w.exports,C=function(){var e=this,t=e._self._c;return t("div",{ref:"hcp",style:`--silderDuration: ${e.transitionTime}ms`},[e.smallScreen?t("div",{staticClass:"hpc-swipe"},[t("swiper",{ref:"swiper",staticClass:"swiper",attrs:{options:e.swiperOptions}},[e._l(e.slides,(function(i,a){return t("swiper-slide",{key:a+0,staticClass:"hpc-card",attrs:{"data-index":a}},[t("div",{staticClass:"hpc-card__background-image",style:`backgroundImage: url(${i.OpenBackgroundImageForMobile})`}),e._v(" "),t("div",{staticClass:"hpc-card__content"},[t("div",{staticClass:"hpc-card__title"},[t("h2",{domProps:{innerHTML:e._s(i.SliderTitle)}})]),e._v(" "),t("div",{staticClass:"hpc-card__subtitle"},[t("p",{domProps:{innerHTML:e._s(i.SliderSubTitle)}}),e._v(" "),""!==i.CtaLabel?t("div",{class:e.className},[t("a",{staticClass:"btn__wrapper",attrs:{href:i.CtaLink,title:i.CtaLabel},on:{click:function(t){return e.taggingPush(i.SliderTitle,i.CtaLink)}}}
9,[e._v(e._s(i.CtaLabel))])]):e._e()])])])})),e._v(" "),t("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})],2)],1):t("div",{staticClass:"hpc",class:{"hpc-four-slide":4===e.slides.length},attrs:{"aria-labelledby":"carouselheading"}},e._l(e.slides,(function(i,a){return t("figure",{key:a,staticClass:"hpc-card",class:{active:a===e.item},style:{width:a===e.item?e.activeSlideWidth:`${e.inActiveSlideWidth}px`},on:{click:function(t){return e.pauseSlide(a)},mouseover:function(t){return t.stopPropagation(),e.pauseSlideHover(a)},mouseleave:function(t){return t.stopPropagation(),e.resetOver.apply(null,arguments)}}},[t("div",{staticClass:"hpc-card__background-image -close",style:{backgroundImage:`url(${i.ClosedBackgroundImage})`,width:a===e.item?e.activeSlideWidth:`${e.inActiveSlideWidth}px`}}),e._v(" "),t("div",{staticClass:"hpc-card__background-image -open",style:{backgroundImage:`url(${i.OpenBackgroundImage})`}}),e._v(" "),t("div",{staticClass:"hpc-card__content",style:{width:a!==e.item?`${e.inActiveSlideWidth}px`:e.activeSlideWidth}},[t("div",{staticClass:"hpc-card__title"},[t("h2",{domProps:{innerHTML:e._s(i.SliderTitle)}})]),e._v(" "),t("div",{staticClass:"hpc-card__subtitle"},[t("p",{domProps:{innerHTML:e._s(i.SliderSubTitle)}}),e._v(" "),""!==i.CtaLabel?t("div",[t("a",{class:e.ctaClass,attrs:{href:i.CtaLink,title:i.CtaLabel},on:{click:function(t){return e.taggingPush(i.SliderTitle,i.CtaLink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v(e._s(i.CtaLabel))])])]):e._e()])])])})),0)])},S=[],k=i(6768),D=i(7976),L=i.n(D);k.RC.use([k.dK,k.Ij]);const{Swiper:T,SwiperSlide:x}=L()(k.RC);var A={name:"home-page-carousel",components:{Swiper:T,SwiperSlide:x},props:{slides:{type:Array,required:!0,default:void 0},staticMode:{type:Boolean,default:!1},sliderDuration:{type:Number,default:6},pageCategory:{type:String,default:"homepage"},ctaClass:{type:String,default:"btn btn--white"}},data(){return{item:0,itemNo:this.slides.length,transitionTime:1e3*(0<this.sliderDuration?this.sliderDuration:6),transition:null,smallScreen:!window.matchMedia("(min-width: 1024px)").matches,swiperOptions:{loop:!0,initialSlide:0,speed:500,pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"},autoplay:{delay:1e3*(0<this.sliderDuration?this.sliderDuration:6),disableOnInteraction:!1}},countMouseOver:0,compWidth:1440,className:this.ctaClass.includes("btn-white")?"btn btn-white":this.ctaClass}},created(){this.staticMode||this.autoTransition()},mounted(){const e=this;e.screenMobile(),o.B.$on("mediaquery::changed",(()=>{e.smallScreen=!window.matchMedia("(min-width: 1024px)").matches})),e.smallScreen&&e.staticMode&&this.autoTransition(),this.compWidth=this.$refs.hcp.getBoundingClientRect().width},methods:{taggingPush(e,t){let i=t||"none",a=e.toLowerCase().replace(/<(.|\n)*?>/g,"");_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:`${this.pageCategory}`,eventAction:"select::slider navigation",eventLabel:`${a}::${window.location.origin+i}`,cta_name:`${a}`,link_url:window.location.origin+i,module_name:"homepage_slider"})},pauseSlide(e){clearInterval(this.transition),this.item=e,this.staticMode||this.autoTransition()},pauseSlideHover(e){this.countMouseOver++,this.countMouseOver<2&&this.pauseSlide(e)},resetOver(){this.countMouseOver=0},autoTransition(){this.transition=setInterval((()=>{this.transitionSlide()}),this.transitionTime)},transitionSlide(){this.item=this.item+1,this.item>this.itemNo-1&&(this.item=0)},screenMobile(){o.B.$on("mediaquery::changed",(e=>{this.smallScreen=!("small"!==e.size&&"medium"!==e.size)}))}},beforeDestroy(){clearInterval(this.transition)},computed:{inActiveSlideWidth(){return 4===this.slides.length?(this.compWidth-520)/3:(this.compWidth-740)/2},activeSlideWidth(){return 4===this.slides.length?"520px":"740px"}}},P=A,E=(0,u.A)(P,C,S,!1,null,null,null),M=E.exports,I=(0,s.fC)({components:{Carousel:b,homePageCarousel:M}}),B=i(4572),q=(0,s.fC)({components:{Collapse:B.A}}),O=i(6355);try{window.wsf=Object.assign(window.wsf||{},{debug:O.Y,eventBus:o.B})}catch(hu){console.warn("unable to load wsf variable")}var N,V,F=i(8165),H=i(9678),R={name:"flipper",components:{ResponsiveImage:l["default"]},directives:{srcset:H.hH,tag:_.Tc},data(){return{isFlipped:!1}},computed:{a11yAttr(){return{front:{tabindex:this.isFlipped?-1:0},back:{tabindex:this.isFlipped?0:-1}}}},mounted(){this.$root.$on("closeflipped",(e=>{const{block:t}=e;t!==this.$refs.flipper&&this.closeFlip()}))},methods:{toggleFlip(){this.isFlipped?(this.isFlipped=!1,this.$refs.flipper.classList.remove("flip"),this.$refs.openBtn.focus(),setTimeout((()=>{this.$refs.openBtn.blur()}),100)):(this.isFlipped=!0,this.$refs.flipper.classList.add("flip"),this.$root.$emit("closeflipped",{block:this.$refs.flipper}),setTimeout((()=>{this.$refs.closeBtn.focus()}),100))},closeFlip(){this.isFlipped=!1,this.$refs.flipper.classList.remove("flip")}}},j=R,z=(0,u.A)(j,N,V,!1,null,null,null),W=z.exports,U=(0,s.fC)({components:{Flipper:W}}),Y=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showJump,expression:"showJump"}],ref:"relSticky",class:{relsticky:!e.active,"header-active":e.headerActive}},[t("nav",{ref:"sticky",staticClass:"jump-navbar",class:{stickyblock:e.active,"mobile-sticky":e.listItemActive},attrs:{role:"navigation"}},[t("div",{staticClass:"jump-content"},[e.mobileScreen?e._e():t("swiper",{ref:"swiper",staticClass:"swiper",attrs:{options:e.swiperOption}},[t("div",{staticClass:"swiper-button-prev",class:{"swiper-button-disabled":e.swiperAtBegain},attrs:{slot:"button-prev"},on:{click:function(t){return e.prev()}},slot:"button-prev"}),e._v(" "),e._l(e.Navlinks,(function(i,a){return t("swiper-slide",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:`select::${a+1}::${i.title.toLowerCase()}`,category:e.pageCategory,label:e.articleName(),event_name:"body_button_click",module_name:"article anchor click",cta_name:`${a+1}::${i.title.toLowerCase()}`,link_url:e.location,article_name:e.articleName()},expression:"{\n action: `select::${index + 1}::${item.title.toLowerCase()}`,\n category: pageCategory,\n label: articleName(),\n event_name: 'body_button_click',\n module_name: 'article anchor click',\n cta_name: `${index + 1}::${item.title.toLowerCase()}`,\n link_url: location,\n article_name: articleName()\n }",arg:"useractionevent"}],key:a+0,class:{"swiper-highligher":e.currentLink===a},attrs:{id:i.target,"data-index":a},nativeOn:{click:function(t){return e.slideClicked(t,a)}}},[t("h3",{staticClass:"is-4"},[t("span"),e._v(" "),t("div",{class:e.checkStringCountText(i.title),domProps:{innerHTML:e._s(i.title)}})])])})),e._v(" "),t("div",{staticClass:"swiper-button-next",class:{"swiper-button-disabled":e.swiperAtEnd},attrs:{slot:"button-next"},on:{click:function(t){return e.next()}},slot:"button-next"})],2),e._v(" "),e.mobileScreen?t("div",{staticClass:"swiper-mobile",class:{"swiper-arrow-active":e.listItemActive}},[t("div",{staticClass:"swiper-mobile-wrapper"}),e._v(" "),t("div",{staticClass:"select-custom",on:{click:function(t){return e.activeListItem(e.listItemActive)}}},[t("button",{staticClass:"select-custom__btn",attrs:{id:"current-volume","aria-label":e.currentVolume,"aria-expanded":"false"}},[t("svg",{attrs:{width:"16",height:"8","aria-hidden":"true"}},[t("path",{attrs:{"fill-rule":"nonzero",d:"M14.675.62l.65.76L8 7.659.675 1.379l.65-.759L8 6.341z"}})])])]),e._v(" "),t("swiper",{directives:[{name:"show",rawName:"v-show",value:e.listItemActive,expression:"listItemActive"}],ref:"swiper",staticClass:"swiper",attrs:{options:e.swiperOption}},e._l(e.Navlinks,(function(i,a){return t("swiper-slide",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:`select::${a+1}::${i.title.toLowerCase()}`,category:e.pageCategory,label:e.articleName(),event_name:"body_button_click",module_name:"article anchor click",cta_name:`${a+1}::${i.title.toLowerCase()}`,link_url:e.location,article_name:e.articleName()},expression:"{\n action: `select::${index + 1}::${item.title.toLowerCase()}`,\n category: pageCategory,\n label: articleName(),\n event_name: 'body_button_click',\n module_name: 'article anchor click',\n cta_name: `${index + 1}::${item.title.toLowerCase()}`,\n link_url: location,\n article_name: articleName()\n }",arg:"useractionevent"}],key:a+0,class:{"swiper-highligher swiper-highligher-blue ":e.currentLink===a},attrs:{id:i.target,"data-index":a},nativeOn:{click:function(t){return e.slideClicked(t,a,!0)}}},[t("h3",{staticClass:"is-4"},[t("span"),e._v(" "),t("div",{class:e.checkStringCountText(i.title),domProps:{innerHTML:e._s(i.title)}})])])}
9)),1)],1):e._e()],1)])])},Q=[],X=i(4276),G={name:"jump-to",directives:{tag:_.Tc},components:{Swiper:X.Swiper,SwiperSlide:X.SwiperSlide},props:{traget:{type:String,default:"jump-to-content"},pageCategory:{type:String,default:"content page"},currentVolume:{type:String,default:"current-volume"}},data(){return{location:window.document.URL,showJump:!0,activeCurrentItem:!0,relSticky:0,customOffsetValue:100,active:!1,headerActive:!1,scrollEvent:!0,currentLink:void 0,Navlinks:[],mobileScreen:window.matchMedia("(max-width: 992px)").matches,swiperAtEnd:!1,swiperAtBegain:!0,listItemActive:!1,scrollDown:!1,lastScrollPosition:0,scrollOffset:0,swiperOption:{pagination:".swiper-pagination",watchOverflow:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev",hiddenClass:".swiper-button-hidden"},breakpoints:{1024:{slidesPerView:3,spaceBetween:40},320:{slidesPerView:1}}},offset:110,pagename:""}},created(){window.addEventListener("scroll",this.handleScroll)},beforeMount(){const e=this,t=document.getElementsByClassName("jump-to-content");if(t)return Array.prototype.map.call(t,(t=>{""!==t.dataset.target&&e.Navlinks.push({target:t.dataset.target,title:t.dataset.title})}))},mounted(){this.screenMobile();let e=0;if(window.addEventListener("scroll",(()=>{this.scrollEvent=!0;let t=window.pageYOffset||document.documentElement.scrollTop;this.customOffsetValue=t>e?100:130,e=t<=0?0:t}),!1),this.mobileScreen)if(document.querySelector(".swiper-highligher")){const e=document.querySelector(".swiper-highligher").innerHTML;document.querySelector(".swiper-mobile-wrapper").innerHTML=e}else{const e=document.querySelector(".swiper-slide ").innerHTML,t=this.removeTags(e);document.querySelector(".swiper-mobile-wrapper").innerHTML='<div class="swiper-slide-mobile"><h4 class="is-4 2"><span>1</span><div class="swiper-title-text-two-line">'+t+"</div></h4></div>"}this.lastScrollPosition=window.pageYOffset,window.addEventListener("scroll",this.handleScroll)},beforeUpdate(){this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{articleName(){let e=document.getElementsByClassName("breadcrumb__item");if(null!=e){let t=e.length,i=e.length>0?e[t-1].innerHTML:"";return this.decodeHtmlstring(i).toLowerCase()}},decodeHtmlstring(e){let t=document.createElement("div");t.innerHTML=e;let i=t.innerText.replaceAll("\n"," ").trim();return i},checkStringCountText(e){const t=e;return t.length>23?"swiper-title-text-two":"swiper-title-text"},removeTags(e){return null!==e&&""!==e&&(e=e.toString(),e.replace(/(<([^>]+)>)/gi,""))},activeListItem(e){this.listItemActive=!0,this.activeCurrentItem=!1,!0===e&&(this.listItemActive=!1)},slideClicked(e,t,i=!1){if(!0===i){this.listItemActive=!1,this.activeCurrentItem=!0,this.active=!0;const e=document.querySelectorAll(".swiper-slide")[t].innerHTML,i=this.removeTags(e),a=t+1;this.offset=90;let s="";s=i.length>23?'<div class="swiper-title-text-two-line">'+this.removeTags(i)+"</div>":'<div class="swiper-title-text-line">'+this.removeTags(i)+"</div>",document.querySelector(".swiper-mobile-wrapper").innerHTML='<div class="swiper-slide-mobile"><h4 class="is-4"><span>'+a+"</span>"+s+"</h4></div>"}const a=document.querySelector("[data-target="+e.currentTarget.id+"]");if(a){const e=a.offsetTop,i=e-this.offset;window.scrollTo({top:i,behavior:"smooth"}),this.currentLink=t,this.scrollEvent=!1}},handleScroll(){this.listItemActive=!1;const e=this.$refs.relSticky,t=Math.round(window.scrollY),i=document.querySelector(".jump-navbar");if(e&&i){this.relSticky=e.getBoundingClientRect().top;const a=i.parentElement.offsetTop;if(a>=t?(this.active=!1,this.$refs.swiper.$swiper.slideTo(0)):this.active=!0,this.headerActive=this.$parent.$children[0].showHeader,!0===this.scrollEvent&&this.updateHighlighter(),window.pageYOffset<0)return;if(Math.abs(window.pageYOffset-this.lastScrollPosition)<this.scrollOffset)return;this.scrollDown=window.pageYOffset<this.lastScrollPosition,this.lastScrollPosition=window.pageYOffset}},updateHighlighter(){const e=document.querySelectorAll(".swiper-slide").length,t=document.querySelectorAll(".jump-to-content"),i=new IntersectionObserver((i=>
9{i.forEach(((a,s)=>{if(s<i.length-1){const i=t[s],n=t[s+1];if(a.isIntersecting&&a.intersectionRatio>=.3){if(i.classList.add("visible"),n&&n.classList.remove("visible"),this.currentLink>s&&this.prev(),s>this.currentLink&&this.next(),this.currentLink=s,e>=s+1&&(e==s+1&&(this.currentLink=s),this.mobileScreen)){const e=s+1;if(document.querySelector(".swiper-highligher")){const t=document.querySelector(".swiper-highligher").innerHTML;let i="";const a=this.removeTags(t);i=a.length>23?'<div class="swiper-title-text-two-line">'+this.removeTags(t)+"</div>":'<div class="swiper-title-text-line">'+this.removeTags(t)+"</div>",document.querySelector(".swiper-mobile-wrapper").innerHTML='<div class="swiper-slide-mobile"><h4 class="is-4"><span>'+e+"</span>"+i+"</h4></div>"}else{const t=document.querySelector(".swiper-slide").innerHTML;let i="";const a=this.removeTags(t);i=a.length>52?'<div class="swiper-title-text-two-line">'+this.removeTags(t)+"</div>":'<div class="swiper-title-text-line">'+this.removeTags(t)+"</div>",document.querySelector(".swiper-mobile-wrapper").innerHTML='<div class="swiper-slide-mobile"><h4 class="is-4"><span>'+e+"</span>"+i+"</h4></div>"}}}else i.classList.remove("visible"),n&&n.classList.add("visible"),s===t.length-1?this.next():this.prev()}}))}),{threshold:.3});t.forEach((e=>{i.observe(e)}))},prev(){this.$refs.swiper.$swiper.slidePrev(),this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning},next(){this.$refs.swiper.$swiper.slideNext(),this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd},screenMobile(){const e=document.querySelectorAll("jump-to-content");this.showJump=e.length<=1,o.B.$on("mediaquery::changed",(e=>{this.mobileScreen=!("small"!==e.size&&"medium"!==e.size)}))}}},K=G,Z=(0,u.A)(K,Y,Q,!1,null,null,null),J=Z.exports,ee=(0,s.fC)({components:{jumpTo:J}}),te=function(){var e=this,t=e._self._c;return t("div",{staticClass:"loader",class:{"-show":e.show},attrs:{"aria-hidden":"true"}},[t("div",{staticClass:"loader__wrapper"},[t("div",[t("svg",{staticClass:"loader__circular",attrs:{viewBox:"25 25 50 50","aria-hidden":"true"}},[t("circle",{staticClass:"loader__path",attrs:{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"2","stroke-miterlimit":"10"}})])]),e._v(" "),t("div",{staticClass:"loader__content"},[e._t("default")],2)])])},ie=[],ae={name:"loader",props:{show:{type:Boolean,default:!1,required:!0}}},se=ae,ne=(0,u.A)(se,te,ie,!1,null,null,null),re=ne.exports,oe=(0,s.fC)({components:{Loader:re}}),le=function(){var e=this,t=e._self._c;return t("div",{ref:"overlay",staticClass:"overlay",class:{"overlay--open":e.overlayOpen},on:{click:function(t){return e.closeOverlay()}}})},ce=[],de={name:"overlay",data(){return{overlayOpen:!1}},mounted(){o.B.$on("navOpen",this.closeNav.bind(this))},methods:{closeOverlay(){this.overlayOpen=!1,o.B.$emit("closeNav",this.overlayOpen);const e=document.querySelector("body");e.classList.remove("overlay--active"),e.classList.remove("nav-open")},closeNav(e){this.overlayOpen=e;const t=document.querySelector("body");!1===this.overlayOpen?t.classList.remove("overlay--active"):t.classList.add("overlay--active")}}},ue=de,pe=(0,u.A)(ue,le,ce,!1,null,"68e94b63",null),he=pe.exports,me=(0,s.fC)({components:{Overlay:he}}),ge=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showHeader,expression:"showHeader"}],ref:"mainMenu",class:[e.isTransparentHeader?"main-menu transparentHeader":"main-menu",e.overlayShow?"sub-menu-active":"",e.isSticky?"is-sticky":"",e.isNewsletterStickyOpen?"newsletter-sticky-open":""]},[t("transition",{attrs:{name:"main-menu-fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.overlayShow,expression:"overlayShow"}],staticClass:"main-menu-overlay",class:{search:e.searchShow},on:{click:function(t){return e.closeAll()}}})]),e._v(" "),t("div",{staticClass:"main-menu__container"},[t("div",{staticClass:"main-menu-bar",attrs:{itemscope:"",itemtype:"http://schema.org/SiteNavigationElement"}},[t("div",{staticClass:"main-menu-bar__left"},[e.langSwitcherIsEnable&&!e.smallScreen?t("language-switcher",{attrs:{"current-language":e.currentLanguage,"item-data":e.languageSwitcherData}}
9):e._e(),e._v(" "),t("button",{staticClass:"main-menu-search__trigger",class:{"is-active":e.searchShow},attrs:{"aria-expanded":e.searchShow?"true":"false","aria-label":e.searchLabel},on:{click:function(t){return e.searchToggle()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.7 11.1723C4.7 7.54247 7.64257 4.5999 11.2724 4.5999C14.9023 4.5999 17.8448 7.54247 17.8448 11.1723C17.8448 14.8022 14.9023 17.7447 11.2724 17.7447C7.64257 17.7447 4.7 14.8022 4.7 11.1723ZM11.2724 3.3999C6.97983 3.3999 3.5 6.87973 3.5 11.1723C3.5 15.4649 6.97983 18.9447 11.2724 18.9447C13.2003 18.9447 14.9642 18.2428 16.3226 17.0806L19.6764 20.4246L20.5237 19.5748L17.1719 16.2328C18.3394 14.873 19.0448 13.1051 19.0448 11.1723C19.0448 6.87973 15.565 3.3999 11.2724 3.3999Z"}})])]),e._v(" "),e.accEnable?t("accessibility-modal-window",{attrs:{title:e.accTitle,"icon-src":e.accBlackIconSrc,"icon-alt":e.accIconAlt,"animation-label":e.accAnimationLabel,"contrast-label":e.accContrastLabel,"enable-animation":e.accEnableAnimation,"enable-contrast":e.accEnableContrast,"enable-toggle-text":e.accEnableToggleText,"disable-toggle-text":e.accDisableToggleText,"event-label":e.accEventLabel,"page-category":e.pageCategory}}):e._e(),e._v(" "),!e.smallScreen&&e.accEnable?t("button",{staticClass:"accessibility-btn",attrs:{type:"button"},on:{click:function(t){return e.openAccessibility()}}},[t("span",{staticClass:"main-menu-nav__icon"},[t("img",{attrs:{loading:"lazy",src:e.accBlackIconSrc,alt:e.accIconAlt||e.accTitle.toLowerCase()}})]),e._v(" "),t("span",{staticClass:"main-menu-nav__icon transparent-icon"},[t("img",{attrs:{loading:"lazy",src:e.accWhiteIconSrc,alt:e.accIconAlt||e.accTitle.toLowerCase()}})]),e._v(" "),t("span",{staticClass:"accessibility-menu"},[e._v(e._s(e.accTitle))])]):e._e()],1),e._v(" "),e._t("mainMenuBarLogo"),e._v(" "),t("button",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{label:"picto",category:"main menu navigation",action:"select::burger menu",event_name:"menu_click",click_area:"burger menu",breadcrumb:"picto"},expression:"{ label: 'picto', category: 'main menu navigation', action: 'select::burger menu', event_name: 'menu_click', click_area: 'burger menu', breadcrumb: 'picto' }",arg:"useractionevent"}],staticClass:"main-menu-nav__trigger",class:{"is-active":e.menuShow},attrs:{"aria-expanded":e.menuShow?"true":"false"},on:{click:e.menuToggle}},[t("span",{staticClass:"top"}),e._v(" "),t("span",{staticClass:"center1"}),e._v(" "),t("span",{staticClass:"center2"}),e._v(" "),t("span",{staticClass:"bottom"}),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.a11yAriaLabelMainMenu))])]),e._v(" "),t("div",{staticClass:"productCart__handle",attrs:{id:"productCart__handle"},on:{click:function(t){return e.showCart()}}},[e._m(0),e._v(" "),t("span",{staticClass:"productCart__handle--count",attrs:{id:"productCartCount"}},[e._v("0")])]),e._v(" "),e._t("accountNav")],2),e._v(" "),t("div",{staticClass:"main-menu-search",attrs:{role:"search"}},[t("transition",{attrs:{name:"main-menu-search"}},[t("section",{directives:[{name:"show",rawName:"v-show",value:e.searchShow,expression:"searchShow"}],staticClass:"main-menu-search__wrapper"},[t("div",{staticClass:"main-menu-search-container"},[t("label",{staticClass:"main-menu-search__label",attrs:{for:"search-field"}},[e._v("\n "+e._s(e.searchBarPlaceholder)+"\n ")]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchValue,expression:"searchValue"}],ref:"searchInput",staticClass:"main-menu-search__input",attrs:{id:"search-field","aria-describedby":"search-field-help",autocomplete:"off",type:"search",maxlength:e.searchValueMaxLength},domProps:{value:e.searchValue},on:{keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchSubmit()},e.typeDetect],input:function(t){t.target.composing||(e.searchValue=t.target.value)}}}),e._v(" "),t("transition",{attrs:{name:"main-menu-fade"}},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.searchValueLenght>0,expression:"searchValueLenght > 0"}],staticClass:"main-menu-search__clear",attrs:{"aria-label":e.searchBarA11yAriaLabelClear},on:{click:e.searchClear}},[e._v("\n "+e._s(e.searchBarClearLabel)+"\n ")])])],1),e._v(" "),t("img",{staticClass:"main-menu-search__close-icon",attrs:{loading:"lazy",alt:"main menu search close",role:"img",src:e.searchBarIconClear},on:{click:function(t){return e.closeAll()}}}),e._v(" "),t("img",{staticClass:"main-menu-search__submit",class:{"
9is-disabled":!e.searchAllowSubmit},attrs:{loading:"lazy",alt:"main menu search submit",src:e.searchBarIconSearch,role:"img"},on:{click:function(t){return e.searchSubmit()}}}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showLoader,expression:"showLoader"}],staticClass:"loader-css"},[e._v("Loading")]),e._v(" "),t("transition",{attrs:{name:"main-menu-fade"}},[e.showTrending||e.searchAllowSubmit?t("div",{staticClass:"main-menu-search__suggestion",class:{"keyword-enabled":e.isLoadingKeywords,"trending-suggestion":e.showTrending},style:`--labelWidth : ${e.searchLabelWidth}px`},[e.showTrending&&e.trendingSearchKeyWords.length>0?t("div",{staticClass:"trending-search-container"},[t("h3",{staticClass:"trending-search-title"},[e._v(e._s(e.trendingTitle))]),e._v(" "),t("ul",{staticClass:"trending-pills-list"},e._l(e.trendingSearchKeyWords,(function(i,a){return t("li",{key:"trend-"+a},[t("span",{staticClass:"trending-pill",on:{click:function(t){return e.redirectToTrendingSearch(i)}}},[e._v("\n "+e._s(i)+"\n ")])])})),0)]):e._e(),e._v(" "),!e.showTrending&&e.searchAllowSubmit?t("ul",{attrs:{name:"main-menu-fade"}},e._l(e.searchKeyWords,(function(i,a){return t("li",{key:"search-"+a},[t("span",{on:{click:function(t){return e.searchTo(i)}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"}},[t("path",{attrs:{d:"M8.17241 15.3448C12.1336 15.3448 15.3448 12.1336 15.3448 8.17241C15.3448 4.2112 12.1336 1 8.17241 1C4.2112 1 1 4.2112 1 8.17241C1 12.1336 4.2112 15.3448 8.17241 15.3448Z",stroke:"black","stroke-width":"1.2"}}),e._v(" "),t("path",{attrs:{d:"M13.2373 13.248L17.0001 16.9998",stroke:"black","stroke-width":"1.2"}})]),e._v("\n "+e._s(i)+"\n ")])])})),0):e._e(),e._v(" "),e.searchAllowSubmit?e._e():t("p",{staticClass:"main-menu-search__help",attrs:{id:"search-field-help"}},[e._v("\n "+e._s(e.searchBarHelpText)+"\n ")])]):e._e()])],1)])],1),e._v(" "),t("nav",{staticClass:"main-menu-nav",class:{"is-active":e.menuShow},attrs:{role:"navigation","aria-label":e.a11yAriaLabelPrincipalMenu}},[t("transition",{attrs:{name:"main-menu-nav"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.menuShow,expression:"menuShow"}],staticClass:"main-menu-nav__wrapper",on:{mouseleave:function(t){return e.closeAll()}}},[t("div",{staticClass:"main-menu-nav__wrapper-background",on:{click:function(t){return e.closeAll()}}}),e._v(" "),e._t("nav",null,{level1PrimaryItems:e.level1PrimaryItems,level1SecondaryItems:e.level1SecondaryItems,menuLevel2:e.menuLevel2,menuLevel3:e.menuLevel3,menuLevelOpen:e.menuLevelOpen,menuOnBlurSecondaryTab:e.menuOnBlurSecondaryTab}),e._v(" "),e.menuLevel2<1?t("div",{staticClass:"mobile-account"},[e._t("accountNav",null,{menuOnBlurSecondaryTab:e.menuOnBlurSecondaryTab}),e._v(" "),e.smallScreen?t("ul",{ref:"mobileAccount",staticClass:"main-menu-nav__level-1 is-secondary nav-accounts"},[e.accEnable?t("li",{staticClass:"main-menu-nav__item"},[t("a",{staticClass:"accessibility-btn",on:{click:function(t){return e.openAccessibility()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"}},[t("path",{attrs:{d:"M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z",stroke:"black","stroke-width":"1.2","stroke-miterlimit":"10"}}),e._v(" "),t("path",{attrs:{d:"M15 9C15 12.312 12.312 15 9 15V3C12.312 3 15 5.688 15 9Z",stroke:"black","stroke-width":"1.2","stroke-miterlimit":"10"}})]),e._v(" "),t("span",{staticClass:"accessibility-menu"},[e._v(e._s(e.accTitle))])])]):e._e(),e._v(" "),e.langSwitcherIsEnable?t("li",{staticClass:"main-menu-nav__item"},[t("language-switcher",{attrs:{"current-language":e.currentLanguage,"item-data":e.languageSwitcherData}})],1):e._e()]):e._e(),e._v(" "),t("ul",{staticClass:"main-menu-nav__level-1 is-secondary derm-scan"},[e._t("derm-scan")],2)],2):e._e()],2)])],1)])],1)},ve=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"icon productCart__bag"},[t("img",{attrs:{src:"/frontend/master/images/icons/bag--black.svg",alt:"bagBlack"}})])}];const _e={bind:function(e,t,i){e.clickOutsideEvent=function(a){e===a.target||e.contains(a.target)||i.context[t.expression](a)},document.body.addEventListener("click",e.clickOutsideEvent)},unbind:function(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};var fe=i(2505),ye=i.n(fe),we=function(){var e=this,t=e._self._c;return t("div",{staticClass:"language-switcher"},[t("div",{staticClass:"main-menu"},[t("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.languagesClose,expression:"languagesClose"}],staticClass:"main-menu-bar__languages-new"},[t("button",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{label:"language",category:"header",action:"display::language"},expression:"{ label: 'language', category: 'header', action: 'display::language' }",arg:"useractionevent"}
9],ref:"languageBtn",class:{"is-active":e.languagesShow},attrs:{"aria-label":e.a11yAriaLabelLanguage,"aria-expanded":e.languagesShow?"true":"false"},on:{click:function(t){return e.languagesToggle()},blur:function(t){return e.languageOnBlur()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"}},[t("path",{attrs:{d:"M5.33366 8.6665L12.0005 15.3332L18.667 8.6665","stroke-width":"1.2"}})]),e._v(" \n "+e._s(e.currentLanguage)+" \n ")]),e._v(" "),t("transition",{attrs:{name:"main-menu-languages"}},[t("ul",{directives:[{name:"show",rawName:"v-show",value:e.languagesShow,expression:"languagesShow"}],on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.languagesToggle()}}},e._l(e.itemData,(function(i,a){return i.CustomLanguageCode!==e.currentLanguage?t("li",[t("a",{staticClass:"js-main-menu-language-new",attrs:{href:i.Link,"aria-label":i.NativeName}},[e._v(e._s(i.CustomLanguageCode))])]):e._e()})),0)])],1)])])},be=[],Ce={name:"language-switcher",directives:{clickoutside:_e,tag:_.Tc},props:{currentLanguage:{type:String,required:!1,default:"EN"},a11yAriaLabelLanguage:{type:String,default:"English (change language)"},itemData:{type:[Array,Object],required:!1,default:""}},data(){return{languagesShow:!1,displayLanguageSwitcher:!!this.$slots.mainMenuBarLanguages,currentLanguageAssign:this.currentLanguage,smallScreen:!window.matchMedia("(min-width: 1024px)").matches,lastScrollPosition:0,scrollOffset:0}},mounted(){this.lastScrollPosition=window.pageYOffset,this.languagesAddBlurEvent(),window.addEventListener("scroll",this.scrollEventHandle),document.getElementsByClassName("js-main-menu-language-new")&&document.querySelector(".main-menu").classList.add("language__active")},methods:{languagesAddBlurEvent(){const e=document.getElementsByClassName("js-main-menu-language-new");for(let t=0;t<e.length;t++)e[t].addEventListener("blur",this.languageOnBlur)},scrollEventHandle(){window.pageYOffset<0||Math.abs(window.pageYOffset-this.lastScrollPosition)<this.scrollOffset||(this.lastScrollPosition=window.pageYOffset)},languagesClose(){this.languagesShow=!1},languageOnBlur(){const e=document.getElementsByClassName("js-main-menu-language-new");let t=!1;setTimeout((()=>{if(document.activeElement===this.$refs.languageBtn&&(t=!0),!t)for(let i=0;i<e.length;i++)document.activeElement===e[i]&&document.hasFocus()&&(t=!0);t||(this.languagesShow=!1)}),10)},languagesToggle(){this.languagesShow=!this.languagesShow}}},Se=Ce,ke=(0,u.A)(Se,we,be,!1,null,null,null),De=ke.exports,Le=function(){var e=this,t=e._self._c;return t("div",{staticClass:"accessibility-wrapper",attrs:{id:"accessibility-popup"}},[t("div",{staticClass:"modal--a11y accessibility-container",attrs:{analytics:"select::accessibility layer"}},[[t("div",{staticClass:"modal__heading",attrs:{role:"heading","aria-level":"1",id:""}},[t("div",{staticClass:"icon-acessibility"},[t("img",{attrs:{src:e.iconSrc,alt:e.iconAlt}}),e._v(" "),t("div",[e._v(e._s(e.title))])]),e._v(" "),t("div",{staticClass:"close-icon",on:{click:function(t){return e.close()}}},[t("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M16.9901 1L9 9.00016L17 17",stroke:"white"}}),e._v(" "),t("path",{attrs:{d:"M1.00994 1L9 9.00016L1 17",stroke:"white"}})])])]),e._v(" "),t("div",{staticClass:"modal__body"},[e.enableAnimation?t("div",{staticClass:"fieldset"},[t("legend",{staticClass:"sub_title"},[e._v(e._s(e.animationLabel))]),e._v(" "),t("div",{staticClass:"toggle_text"},[e._v(e._s(e.isAnimationMode?e.enableToggleText:e.disableToggleText))]),e._v(" "),t("label",{staticClass:"switch"},[t("input",{attrs:{type:"checkbox",id:"animation"},on:{click:e.toggleAnimationCheckbox}}),e._v(" "),t("div",{staticClass:"slider round"})])]):e._e(),e._v(" "),e.enableContrast?t("div",{staticClass:"fieldset"},[t("legend",{staticClass:"sub_title"},[e._v(e._s(e.contrastLabel))]),e._v(" "),t("div",{staticClass:"toggle_text"},[e._v(e._s(e.isContrastMode?e.enableToggleText:e.disableToggleText))]),e._v(" "),t("label",{staticClass:"switch"},[t("input",{attrs:{type:"checkbox",id:"contrast"},on:{click:e.toggleContrastCheckbox}}),e._v(" "),t("div",{staticClass:"slider round"}
9)])]):e._e()])]],2)])},Te=[],xe={name:"accessibility-modal-window",props:{title:{type:String,required:!1,default:""},iconSrc:{type:String,required:!1,default:""},iconAlt:{type:String,required:!1,default:""},animationLabel:{type:String,required:!1,default:""},contrastLabel:{type:String,required:!1,default:""},enableAnimation:{type:Boolean,required:!1,default:""},enableContrast:{type:Boolean,required:!1,default:""},enableToggleText:{type:String,required:!1,default:""},disableToggleText:{type:String,required:!1,default:""},pageCategory:{type:String,required:!1,default:""},eventLabel:{type:String,required:!1,default:""}},data(){return{isAnimationMode:!0,isContrastMode:!1}},computed:{themeColor(){return getComputedStyle(document.documentElement).getPropertyValue("--theme-color").trim()}},mounted(){window.eventBus.$on("accessibility-click",(e=>{"header"!==e&&this.footerTagging()}));const e=localStorage.getItem("contrastMode");this.isContrastMode=e?JSON.parse(e):this.isContrastMode,this.isContrastMode&&document.getElementsByTagName("body")[0].classList.add("contrast-mode");const t=localStorage.getItem("animationMode");this.isAnimationMode=t?JSON.parse(t):this.isAnimationMode,this.isAnimationMode||document.getElementsByTagName("body")[0].classList.add("not-animation-mode"),this.setContrastMode("isMount"),this.$el.addEventListener("click",this.outsideClickListener),"#009FE3"===this.themeColor&&document.body.setAttribute("data-theme",this.themeColor)},methods:{close(){document.getElementById("accessibility-popup").classList.remove("show")},toggleAnimationCheckbox(){this.isAnimationMode=!this.isAnimationMode,document.getElementsByTagName("body")[0].classList.toggle("not-animation-mode"),this.setContrastMode("animation"),this.tagging(this.isAnimationMode)},toggleContrastCheckbox(){this.isContrastMode=!this.isContrastMode,document.getElementsByTagName("body")[0].classList.toggle("contrast-mode"),this.setContrastMode("contrast"),this.tagging(this.isContrastMode)},setContrastMode(e){"animation"!=e&&"isMount"!=e||(this.$el.querySelectorAll("#animation")[0].checked=this.isAnimationMode,document.cookie="animationMode="+this.isAnimationMode+";samesite=strict",localStorage.setItem("animationMode",this.isAnimationMode)),"contrast"!=e&&"isMount"!=e||(this.$el.querySelectorAll("#contrast")[0].checked=this.isContrastMode,document.cookie="contrastMode="+this.isContrastMode+";samesite=strict",localStorage.setItem("contrastMode",this.isContrastMode))},tagging(e){let t=1==e?this.enableToggleText:this.disableToggleText;_.Xj.pushDataLayer({event:"uaevent",ecommerce:void 0,event_name:"body_button_click",eventCategory:this.pageCategory.toLowerCase(),eventAction:"select::"+this.title.toLowerCase(),eventLabel:t.toLowerCase()+"::none",cta_name:t.toLowerCase(),link_url:"none",module_name:this.title.toLowerCase()})},footerTagging(){_.Xj.pushDataLayer({event:"uaevent",ecommerce:void 0,event_name:"menu_click",eventCategory:"main menu navigation",eventAction:"select::footer",eventLabel:this.eventLabel.toLowerCase(),click_area:"footer",breadcrumb:this.eventLabel.toLowerCase()})},outsideClickListener(e){e.target.closest(".accessibility-container")||this.close()}},destroyed(){this.$el.removeEventListener("click",this.outsideClickListener)}},Ae=xe,Pe=(0,u.A)(Ae,Le,Te,!1,null,null,null),Ee=Pe.exports,Me={name:"main-menu",components:{LanguageSwitcher:De,AccessibilityModalWindow:Ee},directives:{clickoutside:_e,tag:_.Tc},props:{level1PrimaryItems:{type:Array,default:void 0},level1SecondaryItems:{type:Array,default:void 0},a11yAriaLabelLanguage:{type:String,required:!0,default:"English (change language)"},a11yAriaLabelMainMenu:{type:String,required:!0,default:"Main Menu principal"},a11yAriaLabelPrincipalMenu:{type:String,required:!0,default:"Menu principal"},currentLanguage:{type:String,required:!0,default:"EN"},searchBarA11yAriaLabelClear:{type:String,required:!1,default:"Clear search field"},searchBarClearLabel:{type:String,required:!1,default:"Clear"},searchBarHelpText:{type:String,required:!1,default:"Please enter at least 3 characters"},searchBarIconClear:{type:String,required:!1,default:"/assets/cross-icon.svg"},searchBarIconSearch:{type:String,required:!1,default:"/assets/magnifier-icon.svg"},searchBarPlaceholder:{type:String,required:!1,default:"Ask for ingredients, concerns, questions..."},searchLabel:{type:String,required:!1,default:"search"},searchBarRedirectUrl:{type:String,required:!1,default:"#"},searchBarApiUrl:{type:String,required:!1,default:"#"},trendingSearchBarApiUrl:{type:String,required:!1,default:"#"},trendingTitle:{type:String,required:!1,default:""},langSwitcherIsEnable:{type:Boolean,required:!1,default:!1},accTitle:{type:String,required:!1,default:""},accBlackIconSrc:{type:String,required:!1,default:""},accWhiteIconSrc:{type:String,required:!1,default:""},accIconAlt:{type:String,required:!1,default:""},accAnimationLabel:{type:String,required:!1,default:""},accContrastLabel:{type:String,required:!1,default:""},accEnableAnimation:{type:Boolean,required:!1,default:""},accEnableContrast:{type:Boolean,required:!1,default:""},accEnableToggleText:{type:String,required:!1,default:""},accDisableToggleText:{type:String,required:!1,default:""},pageCategory:{type:String,required:!1,default:""},accEventLabel:{type:String,required:!1,default:""},accEnable:{type:Boolean,required:!1,default:""}},data(){return{languagesShow:!1,searchLabelWidth:0,menuLevel2:0,menuLevel2ClickedItem:void 0,menuLevel3:void 0,menuShow:!1,overlayShow:!1,searchShow:!1,searchValue:"",searchValueMaxLength:200,displayLanguageSwitcher:!!this.$slots.mainMenuBarLanguages,showLoader:!1,searchKeyWords:"",errors:"",smallScreen:!window.matchMedia("(min-width: 1024px)").matches,showHeader:!0,lastScrollPosition:0,scrollOffset:0,isSticky:!1,isTransparentHeader:!1,spotScan:null,spotScanOnce:!1,scrollTimeout:!1,languageSwitcherData:[],isNewsletterStickyOpen:!1,showTrending:!1,trendingSearchKeyWords:[],isLoadingKeywords:!1}},computed:{searchAllowSubmit(){return this.searchValue.length>=3&&this.searchValue.length<this.searchValueMaxLength},searchValueLenght(){return this.searchValue.length},searchUrl(){return this.searchBarRedirectUrl.concat(encodeURIComponent(this.searchValue))}},watch:{searchValue(e){const t=e.length;t<=2&&(this.showTrending=!0,this.searchKeyWords=[],this.showLoader=!1),t>=3&&(this.showTrending=!1),t>=3&&t<this.searchValueMaxLength&&(this.showLoader=!0,this.search())},menuLevel3(){this.$nextTick((()=>{this.menuCalculatedLayoutCorrections()}))}},created(){window.eventBus.$on("newsletter-sticky-open-menu",(e=>{let t=document.querySelector("#content")?document.querySelector("#content"):"";this.isNewsletterStickyOpen=e,t&&(e?t.setAttribute("style","margin-top: 57px"):t.removeAttribute("style"))}))},mounted(){(0,s.BW)(),this.scrollEventAdd(),this.languagesAddBlurEvent();let e=document.getElementsByClassName("homepage-transparncy")[0];if(e||document.querySelector("body").classList.remove("home-page-transparancy-slider"),eventBus.$on("mediaquery::changed",(e=>{this.smallScreen=!window.matchMedia("(min-width: 1024px)").matches,this.smallScreen?this.menuShow=!1:this.menuShow=!0})),this.lastScrollPosition=window.pageYOffset||document.documentElement.scrollTop,document.querySelector("#doctor-online1")){const e=document.querySelector("#doctor-online1");e&&e.addEventListener("click",(e=>{e.preventDefault(),this.onlinedoctor("slot1")}))}if(document.querySelector("#doctor-online2")){const e=document.querySelector("#doctor-online2");e&&e.addEventListener("click",(e=>{e.preventDefault(),this.onlinedoctor("slot2")}))}if(window.addEventListener("scroll",this.scrollEventHandle),window.eventBus.$on("transparent-header",this.handleTrans
9parent),this.isTransparentHeader?document.querySelector("body").classList.add("transparent-header"):document.querySelector("body").classList.add("static-header"),this.langSwitcherIsEnable){const e=window&&window.languageSwitcherData?window.languageSwitcherData:"[]";this.languageSwitcherData=JSON.parse(e.replace(/"/g,'"'))}},methods:{async fetchTrendingKeywords(){this.isLoadingKeywords=!0;try{const e=await fetch("/apilrp/trendingsearch/GetTrendingKeywords");if(200===e.status){const t=await e.json();this.trendingTitle=t.Title||"",this.trendingSearchKeyWords=t.Keywords||[],void 0!==t.Keywords&&this.trendingTitle?this.isLoadingKeywords=!0:this.isLoadingKeywords=!1}else 204===e.status&&(this.trendingSearchKeyWords=[],this.isLoadingKeywords=!1)}catch(e){this.isLoadingKeywords=!1,console.error("Error fetching trending searches:",e)}},handleTransparent(e){this.isTransparentHeader=e,this.isTransparentHeader?document.querySelector("body").classList.add("transparent-header"):document.querySelector("body").classList.add("static-header")},onlinedoctor(e){window.dataLayer.push({event:"promotionClick",eventAction:"Ecommerce",eventCategory:"Promotion Click",eventLabel:"OnlineDoctor::OnlineDoctor",ecommerce:{promoClick:{promotions:[{id:"OnlineDoctor",name:"OnlineDoctor",creative:"Weiterleitung OnlineDoctor",position:e}]}}})},openAccessibility(){document.getElementById("accessibility-popup").classList.add("show"),window.eventBus.$emit("accessibility-click","header");const e=window.innerWidth>=1024?"header":"burger menu";window.dataLayer.push({event:"uaevent",ecommerce:"undefined",event_name:"menu_click",eventCategory:"main menu navigation",eventAction:"select::"+e,eventLabel:"accessibility",click_area:e,breadcrumb:"accessibility"})},search(){const e=this.searchBarApiUrl+this.searchValue;ye().get(e).then((e=>this.searchKeyWords=e.data),this.showLoader=!1)},searchTo(e){window.location=this.searchBarRedirectUrl+e+"&autosug=auto"},redirectToTrendingSearch(e){window.location=this.searchBarRedirectUrl+e+"&trendsug=trend"},closeAll(){this.overlayToggle(!1),this.languagesClose(),this.searchShow=!1,this.deSelectMenu();let e=document.getElementsByClassName("main-menu-bar__languages-new");e.length>0&&document.querySelector(".language-switcher").classList.remove("hide-language__switcher")},deSelectMenu(){this.menuLevel2=0,this.menuLevel3=0,this.smallScreen?this.menuShow=!1:this.menuShow=!0},isUsingKeyboard(){return!!document.getElementsByTagName("body")[0].classList.contains("is-using-keyboard")},languagesAddBlurEvent(){const e=document.getElementsByClassName("js-main-menu-language");for(let t=0;t<e.length;t++)e[t].addEventListener("blur",this.languageOnBlur)},languagesClose(){this.languagesShow=!1},languageOnBlur(){const e=document.getElementsByClassName("js-main-menu-language");let t=!1;setTimeout((()=>{if(document.activeElement===this.$refs.languageBtn&&(t=!0),!t)for(let i=0;i<e.length;i++)document.activeElement===e[i]&&document.hasFocus()&&(t=!0);t||(this.languagesShow=!1)}),10)},languagesToggle(){this.languagesShow=!this.languagesShow},overlayToggle(e){const t=document.querySelector("body");this.overlayShow=e,e?t.classList.add("body-hide-overflow"):t.classList.remove("body-hide-overflow")},menuCalculatedLayoutCorrections(){const e=document.getElementsByClassName("main-menu-nav__level-2-wrapper");if(e.length>1&&this.menuLevel3&&window.innerWidth<1024){const t=e[0].scrollHeight;e[0].scrollTop=0,document.querySelector(".main-menu-nav__level-3.active-animation").style.minHeight=`${t}px`}if(e.length>1&&this.menuLevel3&&window.innerWidth>=1024){const t=document.getElementsByClassName("main-menu-nav__level-3")[0].scrollHeight;e[0].style.minHeight=t>=400?"400px":`${t}px`}e.length>1&&!this.menuLevel3&&(e[0].style.minHeight="")},menuOnBlurSecondaryTab(){setTimeout((()=>{(0,s.VZ)(document.activeElement,"main-menu")||this.closeAll()}),10)},menuToggle(){this.menuShow=!this.menuShow,this.menuShow?(this.searchShow=!1,this.overlayToggle(!0)):this.overlayToggle(!1)},menuLevelOpen(e,t,i){this.menuLevel2=e,this.menuLevel3=t,this.overlayToggle(!0),t&&i&&(this.menuLevel2ClickedItem=i.target),t&&this.isUsingKeyboard()&&this.$nextTick((()=>{window.innerWidth<1024&&document.getElementsByClassName("main-menu-nav__level-3-mobile-back")[0].focus()})),e&&!t&&this.isUsingKeyboard()&&window.innerWidth<1024&&this.$nextTick((()=>{this.menuLevel2ClickedItem&&this.menuLevel2ClickedItem.focus()}));const a=this.$el.querySelectorAll(".main-menu-nav__level-3 ul");
9[...a].forEach((e=>{e.querySelectorAll("li").length>7&&e.classList.add("with-cols")}))},scrollEventHandle(){if(window.pageYOffset<0)return;if(Math.abs(window.pageYOffset-this.lastScrollPosition)<this.scrollOffset)return;const e=window.scrollY||document.documentElement.scrollTop;this.searchShow||(e>48?this.scrollTimeout||(this.scrollTimeout=!0,setTimeout((()=>{this.showHeader=e>this.lastScrollPosition,this.scrollTimeout=!1}),100)):e<52&&(this.showHeader=!0)),this.showHeader?window.eventBus.$emit("stickyHeader",!0):window.eventBus.$emit("stickyHeader",!1),this.lastScrollPosition=e,this.isSticky=e>48&&!this.searchShow;let t=document.querySelector(".header__wrapper");t&&setTimeout((()=>{this.showHeader?(t.classList.add("sticky-header"),e<48&&t.classList.remove("sticky-header")):t.classList.remove("sticky-header")}),100)},scrollEventAdd(){this.smallScreen?this.menuShow=!1:this.menuShow=!0},searchClear(){this.searchValue="",this.searchFocus()},searchFocus(){this.$nextTick((()=>{this.$refs.searchInput.focus()}))},searchSubmit(){this.searchAllowSubmit&&(this.showLoader=!0,setTimeout((()=>{window.location.assign(this.searchUrl)}),300))},searchToggle(){if(this.searchShow=!this.searchShow,this.$nextTick((()=>{this.searchLabelWidth=document.querySelector(".main-menu-search__label").clientWidth+13})),this.smallScreen?this.menuShow=!1:this.menuShow=!this.menuShow,this.searchShow){this.showTrending=!0,this.searchValue="",this.searchKeyWords=[],this.showLoader=!1,this.fetchTrendingKeywords(),this.overlayToggle(!0),this.searchFocus();const e=window.innerWidth>=1024?"header":"burger menu";_.Xj.pushDataLayer({event:"uaevent",event_name:"menu_click",ecommerce:void 0,eventCategory:"main menu navigation",eventAction:"select::"+e,eventLabel:"search",click_area:e,breadcrumb:"search"})}else this.overlayToggle(!1)},typeDetect(){this.$refs.searchInput.value!==this.searchValue&&(this.searchValue=this.$refs.searchInput.value)},showCart(){document.body.classList.add("showPopupCart")}},beforeDestroy(){window.removeEventListener("scroll",this.scrollEventHandle)}},Ie=Me,$e=(0,u.A)(Ie,ge,ve,!1,null,null,null),Be=$e.exports;const qe={name:"add-active",bind:e=>{e.addEventListener("click",(()=>{const t=e.parentNode,i=document.querySelector(".nav__item.is-active");i?(i.classList.remove("is-active"),i.setAttribute("aria-expanded",!1),i.querySelector(".nav__sublist").setAttribute("aria-hidden",!0),t.classList.add("is-active"),t.setAttribute("aria-expanded",!0),t.querySelector(".nav__sublist").setAttribute("aria-hidden",!1)):(t.classList.add("is-active"),t.setAttribute("aria-expanded",!0),t.querySelector(".nav__sublist").setAttribute("aria-hidden",!1))}))}};function Oe(e,t){const i=e.parentNode;return i===document.querySelector("html")?null:i.classList.contains(t)?i:Oe(i,t)}const Ne={name:"go-back",bind:e=>{e.addEventListener("click",(()=>{const t=Oe(e,"is-active"),i=t.querySelector(".nav__sublist");t.classList.remove("is-active"),t.setAttribute("aria-expanded",!1),i&&i.setAttribute("aria-hidden",!0)}))}},Ve={name:"add-sub-active",bind:e=>{e.addEventListener("click",(()=>{const t=e.parentNode;t.classList.contains("is-active")?(t.classList.remove("is-active"),t.setAttribute("aria-expanded",!1),t.querySelector(".nav__deeplist").setAttribute("aria-hidden",!0)):(t.classList.add("is-active"),t.setAttribute("aria-expanded",!0),t.querySelector(".nav__deeplist").setAttribute("aria-hidden",!1))}))}};var Fe=i(3961);const He={name:"add-class-on-scroll",bind(e){a["default"].nextTick((()=>{const t=e.getBoundingClientRect().height,i=document.querySelector("body");let a=He.scrollPosition();const s=document.querySelector(".nav__list");s.style.top=`${t}px`,window.addEventListener("scroll",(0,Fe.n)((()=>{a=He.handleScroll(e,i,t,a)}),160))}))},scrollPosition(){return(window.pageYOffset||document.documentElement.scrollTop)-(document.documentElement.clientTop||0)},handleScroll(e,t,i,a){const s=He.scrollPosition(),n=s>a;return!n&&s>i?(e.classList.add("sticky"),e.classList.remove("sticky--hidden"),t.style.paddingTop=`${i}px`):n&&s>i?e.classList.add("sticky--hidden"):(e.classList.remove("sticky"),e.classList.remove("sticky--hidden"),t.style.paddingTop=0),s}};var Re=(0,s.fC)({imports:[me],directives:{addActive:qe,goBack:Ne,addSubActive:Ve,addClassOnScroll:He},components:{MainMenu:Be}}),je=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal&&!e.userPrefferedDomain,expression:"showModal && !userPrefferedDomain"}],attrs:{id:"geoLocationMap"}},[t("div",{staticClass:"pop-in",class:{opened:e.isShown,"scroll-popup":e.isScroll}},[t("div",{staticClass:"pop-in-content"},[t("button",{staticClass:"close",on:{click:e.closePopIn}}),e._v(" "),e._t("default")],2),e._v(" "),t("div",{staticClass:"popin-overlay",on:{click:function(t){e.showModal=!1}}})])])},ze=[],We={name:"geo-popin",props:{userPrefferedDomain:{type:Boolean,default:!1}},data(){return{showModal:!0,isShown:!0,isScroll:!1}},created(){window.addEventListener("keydown",(e=>{"Escape"==e.key&&(this.showModal=!this.showModal)}))},methods:{hideScroll(e){const t=document.getElementsByTagName("body")[0];e?t.classList.add("no-scroll"):t.classList.remove("no-scroll")},closePopIn(){this.hideScroll(!1),this.showModal=!1}}},Ue=We,Ye=(0,u.A)(Ue,je,ze,!1,null,null,null),Qe=Ye.exports,Xe=(0,s.fC)({components:{geoPopin:Qe}}
9),Ge=(0,s.fC)({components:{ResponsiveImage:l["default"]}}),Ke=function(){var e=this,t=e._self._c;return t("div",{staticClass:"routine"},[e._t("heading"),e._v(" "),t("div",{staticClass:"routine__info"},[e._l(e.dropdownOptions,(function(i){return e._l(e.optionsData[i.id],(function(i){return-1!==i.indexOf(e.activeOptionTitle)&&-1!==i.indexOf("-info")?t("div",{key:i,staticClass:"routine__text"},[e._t(i)],2):e._e()}))})),e._v(" "),e.dropdownOptions.length>1?t("div",{staticClass:"routine__dropdown"},[t("label",{attrs:{for:"routine-choice"}},[e._v(e._s(e.selectLabelText||e.dropdownOptions[e.activeOption].title))]),e._v(" "),t("div",{staticClass:"select-wrapper"},[t("select",{directives:[{name:"model",rawName:"v-model.number",value:e.activeOption,expression:"activeOption",modifiers:{number:!0}}],attrs:{id:"routine-choice"},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(t){var i="_value"in t?t._value:t.value;return e._n(i)}));e.activeOption=t.target.multiple?i:i[0]}}},e._l(e.dropdownOptions,(function(i,a){return t("option",{key:a,domProps:{value:a}},[e._v("\n "+e._s(i.option)+"\n ")])})),0)])]):e._e()],2),e._v(" "),t("div",{staticClass:"routine__slider"},[t("slider",{attrs:{"per-page-custom":[[320,1],[1024,2]],"start-at":0,"navigation-enabled":!0,"pagination-enabled":!0,"is-pagination-clickable":!1,"nav-tagging-label":e.navTaggingLabel,"item-per-page-desktop":3,"page-category":e.pageCategory},on:{pageChange:e.whenPageChange}},[e._l(e.dropdownOptions,(function(i){return e._l(e.optionsData[i.id],(function(i){return-1!==i.indexOf(e.activeOptionTitle)&&-1===i.indexOf("-info")?t("slide",{key:i},[e._t(i)],2):e._e()}))}))],2)],1)],2)},Ze=[],Je=i(5193),et=i(2945),tt={name:"routine",components:{Slide:Je.A,Slider:et.A},props:{dropdownOptions:{type:Array,required:!0,default:null},selectLabelText:{type:String,required:!0,default:"I have"},navTaggingLabel:{type:[String,Array],required:!1,default:""},pageCategory:{type:String,required:!1,default:"page category"}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,optionsData:{},activeOption:0}},computed:{activeOptionTitle(){return this.dropdownOptions[this.activeOption].id}},watch:{activeOption(){_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",eventCategory:"routine finder",eventAction:"select::condition",eventLabel:`${this.dropdownOptions[this.activeOption].option}`})}},mounted(){this.getSlots().then(this.$forceUpdate()),o.B.$on("mediaquery::changed",this.whenMediaQueryChange)},methods:{whenMediaQueryChange(e){this.smallScreen=!("small"!==e.size&&"medium"!==e.size)},setSlots(e){Object.keys(this.$slots).forEach((t=>{-1!==t.indexOf(e)&&(this.optionsData[e]||(this.optionsData[e]=[]),this.optionsData[e].push(t))}))},getSlots(){return new Promise((e=>{this.dropdownOptions.forEach((e=>this.setSlots(e.id))),e()}))},whenPageChange(e){document.dispatchEvent(new CustomEvent("carouselLazyImg")),_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",eventCategory:"routine finder",eventAction:"display",eventLabel:e+1})}}},it=tt,at=(0,u.A)(it,Ke,Ze,!1,null,null,null),st=at.exports,nt=(0,s.fC)({components:{Routine:st}}),rt=i(5719);const ot={state:{questionCount:0,currentIndex:0,questionList:[],answerDataList:[],answerIds:[],buttonSetting:[],spotscanData:[],finalQuestion:[],isHomePage:!0},mutations:{setQuestionAnswer(e,t){e.questionList=t},setQuestionCount(e,t){e.questionCount=t},setAnswerDataList(e,t){e.answerDataList.push(t)},setanswerIds(e,t){e.answerIds.push(t)},setCurrentIndex(e,t){e.currentIndex+="next"===t?1:-1},setAnswerIdsAtIndex(e,t){let i=e.answerIds;const a=i[t[0]];a?(a[1]=t[1],a[2]=t[2],a[3]=t[3]):e.answerIds.push(t)},setbuttonSetting(e,t){e.buttonSetting=t},removeAnswerAtIndex(e,t){Array.isArray(e.answerDataList)&&(e.answerDataList=e.answerDataList.filter((e=>e.index<=t)))},setSpotScanData(e,t){e.spotscanData=t},setFinalQuestion(e,t){e.finalQuestion=t},resetQuestionAnsDatas(e){e.currentIndex=0,e.answerDataList=[],e.answerIds=[]},setIsHomePage(e,t){e.isHomePage=t},resetHomepageStatus(e){e.isHomePage=!0}},actions:{async apicall({commit:e}){e("resetQuestionAnsDatas"),e("resetHomepageStatus");const t="/api/routinefinder/RoutineFinderApiBus",i={Stage:2};try{const a=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(i)});if(a.ok){this.questionAnsForm=!0;const t=await a.json();
9e("setQuestionAnswer",t.data.question_answers),e("setQuestionCount",t.data.count),e("setbuttonSetting",t.data.buttons),e("setSpotScanData",t.data.spotscan_data),e("setFinalQuestion",t.data.final_question)}else console.error("Error:",a.status,a.statusText)}catch(a){console.log("Error fetching data:",a)}}},getters:{getQuestionCount:e=>e.questionCount,getCurrentIndex:e=>e.currentIndex,getQuestionList:e=>e.questionList,getAnswerDataList:e=>e.answerDataList,getAnswerIds:e=>e.answerIds,getButtonSetting:e=>e.buttonSetting,getSpotScanData:e=>e.spotscanData,getFinalQuestion:e=>e.finalQuestion,getIsHomePage:e=>e.isHomePage}};var lt=(0,s.fC)({components:{RoutineFinder:rt.A}}),ct=function(){var e=this,t=e._self._c;return t("div",{ref:"videoPlayer",staticClass:"hub-video__container",class:e.mobileScreen?"smallScreen":"desktopScreen"},[t("video",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],attrs:{playsinline:"",loop:"",muted:"",autoplay:"",type:"video/mp4","data-src":this.currentVideo},domProps:{muted:!0}})])},dt=[];const ut={inserted(e){const t=new IntersectionObserver((([i])=>{if(i.isIntersecting){const i=e;i.src=i.dataset.src,t.unobserve(e)}}),{rootMargin:"0px 0px 200px 0px"});t.observe(e)}};var pt={name:"hub-video",directives:{lazyLoad:ut},props:{videoSources:{type:Object,required:!0}},data(){return{isOnViewPort:!1,currentVideo:"",mobileScreen:!1}},mounted(){this.setVideoSource(),this.playVideo()},methods:{playVideo(){this.$refs.videoPlayer.querySelector("video").play()},setVideoSource(){window.innerWidth<=768?(this.currentVideo=this.videoSources.MobileVideo,this.mobileScreen=!0):this.currentVideo=this.videoSources.DesktopVideo}}},ht=pt,mt=(0,u.A)(ht,ct,dt,!1,null,null,null),gt=mt.exports,vt=(0,s.fC)({components:{hubVideo:gt}}),_t=function(){var e=this,t=e._self._c;return t("div",{staticClass:"select-multiple"},[t("panel",{ref:"dropdown",staticClass:"panel--field",scopedSlots:e._u([{key:"toggleButton",fn:function(i){return t("button",{staticClass:"select-multiple__toggle",class:{"-is-selected":e.localValue&&e.localValue.length},attrs:{"aria-expanded":i.expanded?"true":"false"},on:{click:i.panelToggler}},[e._v("\n "+e._s(e.placeholder)),t("span",[e._v(e._s(e.count))])])}}])},[e._v(" "),t("fieldset",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"select-multiple__fieldset"},[t("legend",{staticClass:"select-multiple__label"},[e._v(e._s(e.placeholder))]),e._v(" "),t("ul",{staticClass:"select-multiple__list"},[e._t("default")],2)])])],1)},ft=[],yt=i(5353),wt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"panel__wrapper"},[t("div",{ref:"toggleButtonWrapper",staticClass:"panel__toggle"},[e._t("toggleButton",null,{panelToggler:e.togglePanel,expanded:e.show})],2),e._v(" "),t("div",{ref:"panelTop",staticClass:"panel",class:{"panel--open":e.show,"panel--on-top":e.showOnTop}},[e.isGlobalOverlay?e._e():t("div",{staticClass:"panel__overlay",on:{click:e.closePanel}}),e._v(" "),t("div",{ref:"panelWrapper",staticClass:"panel__content",on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.preventDefault(),e.closePanel.apply(null,arguments))}}},[t("button",{ref:"closeBtn",staticClass:"panel__close",on:{blur:e.closeOnBlur,click:function(t){return t.preventDefault(),e.closePanel.apply(null,arguments)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.closePanel.apply(null,arguments))}}},[t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.a11yClosePanelText))])]),e._v(" "),e._t("default")],2)])])},bt=[],Ct={name:"panel",directives:{clickoutside:_e},props:{a11yClosePanelText:{type:String,required:!1,default:"Close panel"},focusableClass:{type:String,required:!1,default:void 0},isGlobalOverlay:{type:Boolean,required:!1,default:!1},defaultOpen:{type:Boolean,default:!1},individualInstance:{type:Boolean,default:!1}},data(){return{show:this.defaultOpen,showOnTop:!1}},mounted(){this.sliderA11y();const e=this.$refs.panelWrapper.querySelectorAll("[panel-focusable]");if(e.length)for(let t=0;t<e.length;t++)e[t].addEventListener("blur",(()=>{this.closeOnBlur()}));this.updatePanelPositionListener=(0,s.nF)((()=>{this.show&&this.$nextTick((()=>this.updatePanelPosition()))}),200),window.addEventListener("scroll",this.updatePanelPositionListener),this.isGlobalOverlay&&this.setGlobalOverlay()},destroyed(){window.removeEventListener("scroll",this.updatePanelPositionListener)},methods:{focusCloseBtn(){this.$refs.closeBtn.focus()},togglePanel(e){if(window.eventBus.$emit("toggleProductFilter"),this.individualInstance)return this.show?void this.closePanel():(this.$store.commit("setDropdownRef",!0),this.show=!0,void setTimeout((()=>{this.$store.commit("setDropdownRef",!1)}),500));e.preventDefault(),this.show?this.closePanel():setTimeout((()=>{this.show=!0,this.isGlobalOverlay&&this.setGlobalOverlay(),setTimeout((()=>{this.focusCloseBtn()}),500),this.$nextTick((()=>this.updatePanelPosition()))}),100)},updatePanelPosition(){const e=window.innerHeight,t=this.$refs.panelWrapper.getBoundingClientRect(),i=this.$refs.toggleButtonWrapper.getBoundingClientRect(),a=i.top,s=t.height+i.height;this.showOnTop=!(e>a+s)},isUsingKeyboard(){return document.body.classList.contains("is-using-keyboard")},sliderA11y(){[...this.$el.querySelectorAll(".slider__navigation-button")].forEac
9h((e=>{e.addEventListener("blur",(()=>{this.isUsingKeyboard()&&this.closeOnBlur()}))}))},setGlobalOverlay(){let e=document.getElementById("panel-global-overlay");if(e)e.classList.add("show");else{const t=window.document.getElementsByTagName("body")[0];e=document.createElement("div"),e.id="panel-global-overlay",e.addEventListener("click",(()=>{this.closePanel()})),t.appendChild(e)}this.$refs.panelTop.addEventListener("click",(e=>{e.target.classList.contains("panel--open")&&this.closePanel()}))},closePanel(){this.individualInstance?(this.$store.commit("setDropdownRef",!0),setTimeout((()=>{this.$store.commit("setDropdownRef",!1)}),500)):this.$store.commit("setDropdownRef",!1),this.show&&this.isUsingKeyboard()&&this.$refs.toggleButtonWrapper.querySelector("button").focus(),this.show=!1,this.isGlobalOverlay&&window.document.getElementById("panel-global-overlay").classList.remove("show")},closeOnBlur(){setTimeout((()=>{this.$el.querySelector("[panel-focusable]:focus")||this.$el.querySelector(".panel__close:focus")||document.activeElement.classList.contains("slider__navigation-button")||!0!==this.show||!this.isUsingKeyboard()||this.closePanel()}),200)}}},St=Ct,kt=(0,u.A)(St,wt,bt,!1,null,null,null),Dt=kt.exports,Lt={name:"select-multiple",components:{Panel:Dt},directives:{clickoutside:_e},props:{value:{type:void 0,required:!1,default:void 0},placeholder:{type:String,required:!0},count:{type:String,required:!1}},data(){return{localValue:this.value,selectMultiple:{items:{},label:null,modelValue:this.localValue,setMultipleValue:this.setMultipleValue}}},provide(){const e=this.selectMultiple;return{selectMultiple:e}},watch:{value(e){this.localValue=e},localValue:{immediate:!0,handler(e){this.$emit("input",e),this.selectMultiple.modelValue=this.localValue}}},mounted(){this.localValue||this.initialLocalValueByDefault()},methods:{closeDropdown(){setTimeout((()=>{this.getDropdownRefState||this.$refs.dropdown.closePanel()}),50)},setMultipleValue(e){this.toggleArrayValue(e)},toggleArrayValue(e){const t=this.localValue.indexOf(e),i=t>-1;this.localValue=i?this.arrayAccessorRemove(this.localValue,t):this.localValue.concat([e])},arrayAccessorRemove(e,t){const i=e.slice(0,t),a=e.slice(t+1,e.length);return i.concat(a)},initialLocalValueByDefault(){this.localValue=this.setLocalValueIfMultiple()},setLocalValueIfMultiple(){this.localValue=this.isLocalValueSet()?[this.localValue]:[]},isLocalValueSet(){return void 0!==this.localValue&&null!==this.localValue}},computed:{...(0,yt.L8)(["getDropdownRefState"])}},Tt=Lt,xt=(0,u.A)(Tt,_t,ft,!1,null,null,null),At=xt.exports,Pt=function(){var e=this,t=e._self._c;return t("ul",[t("li",{staticClass:"select-option__item",class:{"-checked":e.isChecked},on:{click:function(t){return t.preventDefault(),e.setSelection.apply(null,arguments)}}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.isChecked,expression:"isChecked"}],staticClass:"select-option__input",attrs:{type:"checkbox",id:e.uniqueId,disabled:e.isDisabled,"panel-focusable":""},domProps:{checked:Array.isArray(e.isChecked)?e._i(e.isChecked,null)>-1:e.isChecked},on:{change:function(t){var i=e.isChecked,a=t.target,s=!!a.checked;if(Array.isArray(i)){var n=null,r=e._i(i,n);a.checked?r<0&&(e.isChecked=i.concat([n])):r>-1&&(e.isChecked=i.slice(0,r).concat(i.slice(r+1)))}else e.isChecked=s}}}),e._v(" "),t("label",{ref:"text",staticClass:"select-option__label",attrs:{for:e.uniqueId}},[t("span",[e._t("default")],2)])])])},Et=[];function Mt(){return Math.random().toString(36).slice(4)}var It={name:"select-option",props:{value:{type:[String,Number,Boolean],default:void 0,required:!1},disabled:{type:Boolean,default:!1,required:!1}},inject:{selectMultiple:{}},data(){return{uniqueId:"select-option-"+Mt(),isChecked:!1,isSelected:!1}},computed:{selectValue(){return this.selectMultiple.modelValue},isDisabled(){return this.disabled},key(){const e=this.value||0===this.value;return e?this.value:this.uniqueId}},watch:{selectValue(){this.setIsSelected()},isChecked(e){this.isSelected},isSelected(e){this.isChecked=e}},created(){this.setItem(),this.setIsSelected()},updated(){this.setItem()},methods:{getTextContent(){if(this.$el)return this.$el.textContent.trim();const e=this.$slots.default;return e?e[0].text.trim():""},setIsSelected(){void 0!==this.selectValue?this.isSelected=this.selectValue.includes(this.value):this.isSelected=!1},setItem(){this.$set(this.selectMultiple.items,this.key,this.getTextContent())},setMultipleSelection(){this.selectMultiple.setMultipleValue(this.value)},setSelection(){window.eventBus.$emit("quicksortTrigger",!1),this.isDisabled||this.setMultipleSelection()}}},$t=It,Bt=(0,u.A)($t,Pt,Et,!1,null,null,null),qt=Bt.exports,Ot=(0,s.fC)({components:{SelectMultiple:At,SelectOption:qt}});const Nt=e=>{if(e.status>=200&&e.status<300)return e;const t=new Error(e.statusText);throw t.response=e,t};async function Vt(e,t){const i=await fetch(`${e}?answerId=${t}`,{method:"GET",headers:{"Content-Type":"application/json"},credentials:"include",cache:"no-store"});return Nt(i),await i.json()}async function Ft(e,t){const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",cache:"no-store",body:JSON.stringify(t)});Nt(i);const a=await i.text();return"true"===a.trim().toLowerCase()}var Ht={name:"smiley-vote",directives:{tag:_.Tc},props:{updateVoteUrl:{type:String,required:!0,default:void 0},getVotesUrl:{type:String,required:!0,default:void 0},answerId:{type:String,required:!0,default:void 0},pageId:{type:String,required:!0,default:void 0},value:{type:String,default:void 0},tagCategory:{type:String,default:void 0},tagLabel:{type:String,default:void 0},tagActionDownvote:{type:String,default:void 0},tagActionUpvote:{type:String,default:void 0}},data(){return{checked:this.value,initialUpvote:null,initialDownvote:null,positiveVote:null,negativeVote:null,isVotesUpdated:null}},mounted(){this.getVotes(),this.checkStorage()},methods:{checkStorage(){sessionStorage.getItem(this.answerId)&&(this.checked=sessionStorage.getItem(this.answerId))},addToStorage(){sessionStorage.getItem(this.answerId)&&(this.checked=sessionStorage.getItem(this.answerId))},addActive(e){e===this.checked?(this.checked=void 0,this.$emit("change",void 0)):(this.checked=e,this.$emit("change",this.checked)),this.callApi().then((()=>{sessionStorage.setItem(this.answerId,this.checked)}))},getVotes(){return Vt(`${window.location.origin}${this.getVotesUrl}`,this.answerId).then((e=>{this.initialUpvote=e.PositiveVotes,this.initialDownvote=e.NegativeVotes,this.positiveVote=e.PositiveVotes,this.negativeVote=e.NegativeVotes}))},sendVotes(e){return Ft(`${window.location.origin}${this.updateVoteUrl}`,e).then((e=>{this.handleVoteResponse(e)})).catch((e=>{this.isVotesUpdated=!1}))}
9,handleVoteResponse(e){this.isVotesUpdated=e,e&&this.updateVoteCounts()},updateVoteCounts(){"yes"===this.checked?this.applyYesVoteCount():"no"===this.checked?this.applyNoVoteCount():this.applyRemovedVoteCount()},applyYesVoteCount(){this.positiveVote+=1,this.adjustPositiveVoteIfExceeded()},applyNoVoteCount(){this.negativeVote+=1,this.adjustPositiveVoteIfExceeded()},adjustPositiveVoteIfExceeded(){this.initialUpvote<this.positiveVote&&(this.positiveVote-=1)},applyRemovedVoteCount(){if(sessionStorage.getItem(this.answerId)){const e=sessionStorage.getItem(this.answerId);"yes"===e?this.positiveVote-=1:"no"===e&&(this.negativeVote-=1)}},callApi(){return new Promise((e=>{if("yes"===this.checked)this.sendVotes({PositiveVote:1,NegativeVote:this.initialDownvote-this.negativeVote,answerId:this.answerId,pageId:this.pageId});else if("no"===this.checked)this.sendVotes({PositiveVote:this.initialUpvote-this.positiveVote,NegativeVote:1,answerId:this.answerId,pageId:this.pageId});else if(sessionStorage.getItem(this.answerId)){const e=sessionStorage.getItem(this.answerId);"yes"===e?this.sendVotes({PositiveVote:-1,NegativeVote:0,answerId:this.answerId,pageId:this.pageId}):"no"===e&&this.sendVotes({PositiveVote:0,NegativeVote:-1,answerId:this.answerId,pageId:this.pageId})}e()}))}}};window.onload=function(e){let t=document.querySelector(".derm-answer__text strong"),i=t&&t.getElementsByTagName("a").length;i>0&&document.querySelectorAll(".derm-answer__text strong a").forEach((e=>{e.addEventListener("click",(e=>{_.Xj.pushDataLayer({event:"uaevent",event_name:"body_button_click",ecommerce:"undefined",eventCategory:e.target.closest(".derm-answer__text").attributes["data-pagecategory"].value,eventAction:"select::instant answer",eventLabel:`${e.target.closest(".derm-answer__text").attributes["data-moduleTitle"].value.toLowerCase()}`,module_name:"instant answer",cta_name:`${e.target.closest(".derm-answer__text").attributes["data-moduleTitle"].value.toLowerCase()}`,link_url:t.lastChild.href})}))}))};var Rt,jt,zt=Ht,Wt=(0,u.A)(zt,Rt,jt,!1,null,null,null),Ut=Wt.exports,Yt=(0,s.fC)({components:{SmileyVote:Ut}}),Qt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sprite-background"},[t("div",{staticClass:"sprite-background__content"},[e._t("default")],2),e._v(" "),t("div",{staticClass:"sprite-background__wrapper"},e._l(e.backgrounds,(function(e){return t("div",{key:e.id,staticClass:"sprite-background__sprite",class:e.classes,style:e.style})})),0)])},Xt=[],Gt={name:"sprite-background",props:{src:{type:String,required:!0},height:{type:String,required:!0},width:{type:String,required:!0}},computed:{backgrounds(){const{height:e,width:t,src:i}=this,a=[];for(let s=0;s<2;s++)a.push({id:s,classes:[`-sprite-${s}`],test:`0 calc(-${e} * ${s})`,style:{height:e,width:t,backgroundPosition:"0 "+(s?"bottom":"top"),backgroundImage:`url(${i})`}});return a}}},Kt=Gt,Zt=(0,u.A)(Kt,Qt,Xt,!1,null,null,null),Jt=Zt.exports,ei=(0,s.fC)({components:{SpriteBackgroun
9d:Jt}}),ti=function(){var e=this,t=e._self._c;return t("div",[e.mounted?[t("load-script",{attrs:{attributes:{id:e.scriptId},src:e.scriptSrc}}),e._v(" "),e._t("default")]:e._e()],2)},ii=[],ai=i(7048),si=i(6431),ni={name:"sprinklr",components:{LoadScript:ai.A},props:{scriptId:{type:String,required:!0},scriptSrc:{type:String,required:!0}},data(){return{mounted:!1}},mounted(){(0,si.YJ)(this.$el,{checkIsVisible:!1}).then((()=>{this.mounted=!0}))}},ri=ni,oi=(0,u.A)(ri,ti,ii,!1,null,null,null),li=oi.exports,ci=(0,s.fC)({components:{Sprinklr:li}});const di={name:"no-js-handler",bind:e=>{const t=e.querySelectorAll("noscript img");for(let i=0;i<t.length;i++)t[i].setAttribute("src","data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=")}};var ui,pi,hi=(0,s.fC)({directives:{noJsHandler:di}}),mi={name:"video-player",props:{isSrOnlyPlay:{type:String,default:"Play"},isSrOnlyPause:{type:String,default:"Pause"},src:{type:String,required:!1,default:void 0},autoplay:{type:Boolean,required:!1,default:void 0},preload:{type:String,default:"metadata"},poster:{type:String,default:void 0},loop:{type:Boolean,default:!1},playsinline:{type:Boolean,default:!1},crossorigin:{type:String,default:void 0},videoName:{type:String,default:"Video name"}},data(){return{loaded:!1,playing:!1}},computed:{cssClasses(){return["video-player",this.loaded?"loaded":"",this.playing&&"play"]},posterBackground(){return this.poster&&"url("+this.poster+")"}},mounted(){this.initialize(),this.$refs.videoPlayer.removeAttribute("controls")},methods:{initialize(){this.playsinline&&(this.$refs.videoPlayer.setAttribute("playsinline",this.playsinline),this.$refs.videoPlayer.setAttribute("webkit-playsinline",this.playsinline),this.$refs.videoPlayer.setAttribute("x5-playsinline",this.playsinline),this.$refs.videoPlayer.setAttribute("x5-video-player-type","h5"),this.$refs.videoPlayer.setAttribute("x5-video-player-fullscreen",!1)),this.$refs.videoPlayer.addEventListener("loadeddata",(()=>{this.loaded=!0,this.playing=!this.$refs.videoPlayer.paused})),this.$refs.videoPlayer.addEventListener("pause",(()=>{this.playing=!1})),this.$refs.videoPlayer.addEventListener("playing",(()=>{this.playing=!0}))},playPause(){this.playing?(this.$refs.videoPlayer.pause(),this.playing=!1,this.setAnalytics("pause")):(this.$refs.videoPlayer.play(),this.playing=!0,this.setAnalytics("play"))},setAnalytics(e){_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",eventCategory:"videos",eventAction:e,eventLabel:this.videoName,event_name:"video_interation",video_title:this.videoName,video_action:e})}}},gi=mi,vi=(0,u.A)(gi,ui,pi,!1,null,null,null),_i=vi.exports,fi=(0,s.fC)({components:{VideoPlayer:_i}}),yi=function(){var e=this,t=e._self._c;return e.show?t("div",{staticClass:"cookie-banner"},[t("div",{staticClass:"container"},[t("div",{staticClass:"cookie-notification"},[t("div",{staticClass:"cookie-info"},[t("p",[e._v(e._s(e.ctaText)),t("a",{staticClass:"cookie-learn-more",attrs:{href:e.ctaLearnmoreLink}},[e._v(" "+e._s(e.ctaLearnmoreLinkText)+" ")])])]),e._v(" "),t("div",{staticClass:"cookie-close-block"},[t("a",{staticClass:"cookie-learn-more",attrs:{href:"#"},on:{click:function(t){return e.close()}}},[e._v(e._s(e.ctaButtonText))])])])])]):e._e()},wi=[],bi={name:"cookie-banner",props:{ctaText:{type:String,required:!0},ctaButtonText:{type:String,required:!0,default:"ALLOW US"},ctaLearnmoreLink:{type:String,required:!1},ctaLearnmoreLinkText:{type:String,required:!1}},data(){return{show:!0}},methods:{close(){this.createCookie("cookie-notification",1,365),this.show=!1},createCookie(e,t,i){let a="";if(i){const e=new Date;e.setTime(e.getTime()+24*i*60*60*1e3),a=`; expires=${e.toGMTString()}`}else a="";document.cookie=`${e}=${t}${a}; path=/`}}},Ci=bi,Si=(0,u.A)(Ci,yi,wi,!1,null,null,null),ki=Si.exports,Di=(0,s.fC)({components:{CookieBanner:ki}}),Li=i(70),Ti=(0,s.fC)({components:{SpotscanEmbed:Li.A}}),xi=function(){var e=this,t=e._self._c;return t("div")},Ai=[],Pi={name:"article-tagging",props:{dataAritlcleTitle:{type:String,required:!1}},data(){return{taggingCount:0,passedTimer:!1,articleHeight:0,distFromTop:0}},created(){setTimeout((()=>{this.passedTimer=!0}),3e4);const e="article_tagging",t="200";let i=new Date;i.setTime(i.getTime()+3e4),document.cookie=e+"="+t+"; expires="+i.toString()+"; path=/; SameSite=Strict"},destroyed(){window.removeEventListener("scroll",this.handleScroll())},mounted(){this.getCookie("article_tagging");document.addEventListener("DOMContentLoaded",(()=>{this.distFromTop=document.querySelector("html").scrollTop,this.articleHeight=document.querySelector("#content").clientHeight,window.addEventListener("scroll",(()=>{this.scrollToTop(),this.handleScroll()}))}))},methods:{getCookie(e){let t=e+"=",i=document.cookie.split(";");for(let a=0;a<i.length;a++){let e=i[a];while(" "==e.charAt(0))e=e.substring(1);if(0==e.indexOf(t))return e.substring(t.length,e.length)}return""},scrollToTop(){this.distFromTop=document.querySelector("html").scrollTop},viewedArticlePercentage(){return 100*this.distFromTop/this.articleHeight},handleScroll(){this.dataAritlcleTitle&&this.viewedArticlePercentage()>=75&&this.taggingCount<1&&this.passedTimer&&(window.dataLayer.push({event:"uaevent",event_name:"read_article",ecommerce:"undefined",eventCategory:"content page::article",eventAction:"read article",eventLabel:this.dataAritlcleTitle,article_name:this.dataAritlcleTitle}),this.taggingCount++,window.removeEventListener("scroll",this.handleScroll()))}}},Ei=Pi,Mi=(0,u.A)(Ei,xi,Ai,!1,null,null,null),Ii=Mi.exports,$i=(0,s.fC)({components:{articleTagging:Ii}}),Bi=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"article-filters products-filters container container--primary-color"},[t("div",{staticClass:"container--is-maxwidth products-filters__wrapper",staticStyle:{height:"auto"}},[t("div",{staticClass:"products-filters-sticky"},[t("div",{staticClass:"products-filters__container container--is-maxwidth"},[t("div",{staticClass:"products-filters__select-wrapper"},[t("div",[t("div",{staticClass:"article-filter-list control"},[t("div",{staticClass:"select-custom"},[t("div",{staticClass:"select-custom__btn"}
9,[t("select",{attrs:{id:"concern",name:"concern"},on:{change:e.filterapi}},[t("option",[e._v("All Categories ")]),e._v(" "),e._l(e.articleCategoryList,(function(i,a){return t("option",{key:a,domProps:{value:i}},[e._v(e._s(i))])}))],2),e._v(" "),t("svg",{attrs:{width:"16",height:"8","aria-hidden":"true"}},[t("path",{attrs:{"fill-rule":"nonzero",d:"M14.675.62l.65.76L8 7.659.675 1.379l.65-.759L8 6.341z"}})])])])])])])])])])]),e._v(" "),t("div",{staticClass:"article-list",attrs:{id:"articleListId"}},[t("ul",{staticClass:"article-list-container container--is-maxwidth"},e._l(e.initialArticles,(function(i,a){return t("li",{key:a,staticClass:"article-list__item"},[t("div",{staticClass:"article-push"},[t("div",{staticClass:"article-push__content"},[t("responsive-image",{attrs:{"aspect-ratio":"69",srcset:i.ArticleImageUrl}},[t("img",{attrs:{src:"/frontend/master/images/placeholder.png",alt:"placeholder"}}),e._v(" "),t("noscript",[t("img",{attrs:{src:i.ArticleImageUrl,alt:""}})])]),e._v(" "),t("h4",[t("span",{domProps:{innerHTML:e._s(i.ArticleTitle)}})]),e._v(" "),t("a",{attrs:{href:i.ArticleURL}},[e._m(0,!0)])],1)])])})),0),e._v(" "),t("div",{staticClass:"article-load-more"},[e.loadmore?t("div",{staticClass:"btn",on:{click:function(t){return e.loadmoredata()}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\r\n Load More\r\n ")])]):e._e()])]),e._v(" "),e.showLoader?t("div",{staticClass:"loader-page"},[e._m(1)]):e._e()])},qi=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"btn"},[t("span",{staticClass:"btn__wrapper"},[e._v("\r\n Learn More\r\n ")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"loader-item"},[t("em",{staticClass:"custom-loader --1"})])}],Oi=i(4465),Ni={name:"article-list",components:{ResponsiveImage:l["default"],Loader:re},props:{listItems:{type:Array,default(){}},dataLoadmoreApi:{type:String},dataFilterApi:{type:String},dataArticelCount:{type:Number},articleCategoryList:{type:Array,default(){}},articleConcernList:{type:Array,default(){}}},data(){return{showLoader:!1,loadmore:!0,articleSize:12,articleLength:null,articleCount:1,initialArticles:[]}},mounted(){this.initialArticles=this.listItems},methods:{filterapi(e){const t=e.target.value;this.showLoader=!0,(0,Oi.L)(`${window.location.origin}/${this.dataFilterApi}`,{concern:t}).then((e=>{this.initialArticles=e,this.showLoader=!1,this.loadmore=!1})).catch((()=>{this.serverError=!0}))},loadmoredata(){this.articleCount=this.articleCount+1;window.location.orgin;this.loadmore=!1,this.showLoader=!0,(0,Oi.L)(`${window.location.origin}/${this.dataLoadmoreApi}`,{pageNumber:this.articleCount}).then((e=>{this.initialArticles=e,this.showLoader=!1,this.loadmore=!0})).catch((()=>{this.serverError=!0}))}}},Vi=Ni,Fi=(0,u.A)(Vi,Bi,qi,!1,null,null,null),Hi=Fi.exports,Ri=(0,s.fC)({components:{ArticleList:Hi}}),ji=function(){var e=this,t=e._self._c;return t("div",[t("div",{class:e.cssClasses},[e.playing?t("load-script",{attrs:{src:"https://www.youtube.com/iframe_api"},on:{loaded:e.onYouTubeIframeAPIReady}}):e._e(),e._v(" "),e.carouselPopup?e._e():t("div",[e.poster?t("div",{ref:"poster",staticClass:"youtube-player__poster",style:"background-image: "+e.posterBackground}):e._e(),e._v(" "),e.poster&&!e.newplayButton?t("button",{ref:"playBtn",staticClass:"video-player__btn-play-pause youtube-player__btn",attrs:{"aria-label":e.ariaLabel},on:{click:e.playPause}},[t("span",{staticClass:"btn-bar-1"}),e._v(" "),t("span",{staticClass:"btn-bar-2"}),e._v(" "),t("span",{staticClass:"btn-bar-3"}),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.ariaLabel))])]):e.poster&&e.newplayButton?t("button",{ref:"playBtn",staticClass:"play-button",attrs:{"aria-label":e.ariaLabel},on:{click:e.playPause}},[t("span",{staticClass:"play-icon"}),e._v(" "),t("span",{staticClass:"play-text",domProps:{innerHTML:e._s(e.playText)}}),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.ariaLabel))])]):e._e()]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopup,expression:"showPopup"}],staticClass:"popupContainerOuter",attrs:{id:"popupContainerOuter"},on:{click:function(t){return e.closePopupScreen()}}},[t("div",{staticClass:"popupContainer"},[t("div",{staticClass:"popupContainer__close",on:{click:function(t){return e.closePopupScreen()}}},[e._v("â")]),e._v(" "),t("div",{staticClass:"container",attrs:{id:"app"}},[t("div",{staticClass:"popupContainer__item"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.playing&&!!e.poster||!e.poster&&e.loaded,expression:"playing && !!poster || !poster && loaded"}],staticClass:"youtube-player__wrapper"},[t("div",{staticClass:"youtube-player__item",attrs:{id:e.playerId}}
9)])])])])])],1),e._v(" "),e._t("default",null,{videoTitle:e.videoTitle})],2)},zi=[],Wi={name:"generic-banner-youtube-player",components:{LoadScript:ai.A,Collapse:B.A},props:{youtubeId:{type:String,required:!1,default:void 0},src:{type:String,required:!1,default:void 0},autoplay:{type:Boolean,required:!1,default:void 0},list:{type:String,required:!1,default:void 0},preload:{type:String,default:"metadata"},poster:{type:String,default:void 0},loop:{type:Boolean,default:!1},popup:{type:Boolean,default:!1},ariaLabel:{type:String,default:"play pause",required:!1},newplayButton:{type:Boolean,required:!1},playText:{type:String,default:"PLAY"},carouselPopup:{type:Boolean,default:!1}},data(){return{player:null,loaded:!1,playing:!1,videoTitle:"",transcriptLabel:"",showPopup:!1}},computed:{cssClasses(){return["youtube-player",this.loaded?"loaded":"",this.playing&&"play"]},playerId(){return`player-${this.youtubeId}-${Math.floor(1e3*Math.random())+1}`},posterBackground(){return this.poster&&"url("+this.poster+")"}},methods:{closePopupScreen(){document.getElementById("popupContainerOuter").classList.remove("showPopup"),this.showPopup=!1,this.playing=!1,this.carouselPopup&&this.$emit("closeGenericComponent")},playPause(){if(this.playing=!0,this.autoplay){try{this.player.playVideo()}catch(e){setTimeout((()=>{this.player.playVideo()}),500)}this.showPopup=!0,document.getElementById("popupContainerOuter").classList.add("showPopup")}},onYouTubeIframeAPIReady(){return this.loaded=!0,this.setupYT().then((()=>this.onPlayerLoaded()))},onPlayerLoaded(){return new Promise((e=>{this.player=new YT.Player(this.playerId,{playerVars:{showinfo:1,rel:0,cc_load_policy:1,color:"white",autoplay:1,controls:2,enablejsapi:1,modestbranding:1,playsinline:1},videoId:this.youtubeId,events:{onReady:()=>{const t=this.player.getIframe();t.removeAttribute("height"),t.removeAttribute("width"),t.removeAttribute("frameborder"),this.videoTitle=this.player.getVideoData().title,t.setAttribute("title",`YouTube video: ${this.videoTitle}`),this.carouselPopup&&this.playPause(),e()},onStateChange:()=>{this.onPlayerStateChange(event),e()}}})}))},onPlayerStateChange(e){const t=JSON.parse(e.data);0===t.info?(this.setAnalytics("video completed"),this.setAnalytics(`${Math.floor(this.getPercentage())}% viewed`)):1===t.info?(this.setAnalytics("play"),this.setAnalytics(`${Math.floor(this.getPercentage())}% viewed`)):2===t.info?(this.setAnalytics("pause"),this.setAnalytics(`${Math.floor(this.getPercentage())}% viewed`)):3===t.info&&this.setAnalytics("buffering")},getPercentage(){let e=this.player.getCurrentTime()/this.player.getDuration()*100;return Math.round(e)},setAnalytics(e){_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",eventCategory:window.wsf.AnalyticsVariables.pageCategory,eventAction:this.player.getVideoData().title,eventLabel:e,event_name:"video_interation",video_title:this.player.getVideoData().title,video_action:e})},setupYT(){return new Promise((e=>{let t=!1;t=setInterval((()=>{"undefined"!==typeof YT&&1===YT.loaded&&"undefined"!==typeof YT.Player&&(clearInterval(t),e(YT))}),100)}))}}},Ui=Wi,Yi=(0,u.A)(Ui,ji,zi,!1,null,null,null),Qi=Yi.exports,Xi=(0,s.fC)({components:{GenericBannerYoutubePlayer:Qi}}),Gi=function(){var e=this,t=e._self._c;return t("div",{staticClass:"header-banner"},[t("div",{staticClass:"component-content"},[t("div",{staticClass:"headerbanner__img"},[t("picture",[t("source",{attrs:{media:"(min-width:767px)",srcset:e.srcset[1024]}}),e._v(" "),t("img",{attrs:{src:e.srcset[0],alt:"Flowers"}})])]),e._v(" "),t("div",{staticClass:"headerbanner__content",class:[e.smallScreen?"":e.horizontalPosition,e.textPosition,e.textColor],style:{"--header-banner-blur-image":`url('${e.srcset[0]}')`}},[e.title?t("div",{staticClass:"banner__title"},[e.title?t(e.htag,{tag:"component",staticClass:"heading",domProps:{innerHTML:e._s(e.title)}}):e._e()],1):e._e(),e._v(" "),e.descripion?t("div",{staticClass:"banner__text"},[t("p",{domProps:{innerHTML:e._s(e.descripion)}})]):e._e(),e._v(" "),"false"===e.enableRoutineFinder&&e.linkText&&"false"===e.enableDsfService&&e.link?t("a",{staticClass:"btn__wrapper",class:e.ctaClass,attrs:{href:e.link},on:{click:e.ctaTaggingPush}}
9,[t("span",[e._v(e._s(e.linkText))])]):e._e(),e._v(" "),"true"===e.enableRoutineFinder&&e.linkText?t("button",{staticClass:"cta cta--light btn__wrapper",on:{click:function(t){return e.enableRb()}}},[t("span",[e._v(e._s(e.linkText))])]):e._e(),e._v(" "),!e.smallScreen&&"true"===e.enableDsfService&&e.linkText&&"false"===e.enableRoutineFinder&&e.link?t("a",{staticClass:"btn__wrapper",class:e.ctaClass,attrs:{href:e.link},on:{click:e.ctaTaggingPush}},[t("span",[e._v(e._s(e.linkText))])]):e._e(),e._v(" "),e.smallScreen&&"true"===e.enableDsfService&&"false"===e.enableRoutineFinder?t("spotscan-embed",{attrs:{"data-tenant":e.dsfData.Tenant,"data-application":e.dsfApplication,"data-customer":e.dsfData.Customer,"data-country":e.dsfData.Country,"data-environment":e.dsfData.Environment,"data-touchpoint":e.dsfData.Touchpoint,"data-type":e.dsfData.Type,"data-loadingbg":e.dsfData.Loadingbackgroundcolor,"data-loadingmsg":e.dsfData.Loadingmessage,"csrf-token":"$WEBSITE_TOKEN","switch-ecom":e.dsfData.Switchecom,"switch-autostart":e.dsfData.Switchautostart,"data-cta-label":e.linkText,"data-
9pagecategory":e.dsfPageCategory,"data-cta":e.ctaClass,"data-dsf-tagging":e.dsfTagging}}):e._e()],1)]),e._v(" "),e.showFullWidth_Rb?t("routine-finder"):e._e()],1)},Ki=[],Zi={name:"header-banner",components:{SpotscanEmbed:Li.A,routineFinder:rt.A},props:{srcset:{type:[Object],required:!0,default:void 0},horizontalPosition:{type:String,required:!1,default:"--center"},textPosition:{type:String,required:!1,default:"--textLeft"},title:{type:String,required:!1,default:""},link:{type:String,required:!1,default:""},linkText:{type:String,required:!1,default:""},descripion:{type:String,required:!1,default:""},textColor:{type:String,required:!1,default:"white"},htag:{type:String,required:!1,default:"h1"},ctaTagging:{type:String,required:!1},enableRoutineFinder:{type:[String|Boolean],default:!1},ctaClass:{type:String,default:"cta cta--light"},enableDsfService:{type:String,default:"false"},dsfData:{type:Object,required:!0},dsfApplication:{type:String,default:""},dsfPageCategory:{type:String,default:""},dsfTagging:{type:Object,default:()=>({})}},data(){return{smallScreen:window.matchMedia("(max-width: 768px)").matches,showFullWidth_Rb:!1}},mounted(){this.handleRoutineFinderClose=e=>{setTimeout((()=>{this.showFullWidth_Rb=e}),300)},window.eventBus.$on("routineFinderClose:on",this.handleRoutineFinderClose)},methods:{enableRb(){this.showFullWidth_Rb=!0},ctaTaggingPush(){const e=JSON.parse(this.ctaTagging);e&&dataLayer.push(e)}},beforeDestroy(){window.eventBus.$off("routineFinderClose:on",this.handleRoutineFinderClose)}},Ji=Zi,ea=(0,u.A)(Ji,Gi,Ki,!1,null,null,null),ta=ea.exports,ia=(0,s.fC)({components:{HeaderBanner:ta}}),aa=function(){var e=this,t=e._self._c;return t("div",{staticClass:"component-content"},[t("div",{staticClass:"concern-description"},[t("div",{staticClass:"container container--is-maxwidth"},[t("div",{staticClass:"concern-description__wrapper"},[e.title?t("div",{staticClass:"concern-description__col"},[t("h3",{staticClass:"heading--style",class:e.titleFontSize},[t("strong",{domProps:{innerHTML:e._s(e.title)}})])]):e._e(),e._v(" "),e.descripion?t("div",{staticClass:"concern-description__col concern-description__col--right rich-text"},[t("p",{domProps:{innerHTML:e._s(e.descripion)}})]):e._e()])])])])},sa=[],na={name:"text-banner",props:{title:{type:String,required:!0,default:""},descripion:{type:String,required:!0,default:""},titleFontSize:{type:String,required:!0,default:"large"}}},ra=na,oa=(0,u.A)(ra,aa,sa,!1,null,null,null),la=oa.exports,ca=(0,s.fC)({components:{TextBanner:la}}),da=function(){var e=this,t=e._self._c;return e.showModal?t("div",{staticClass:"news-letter-container-popin",attrs:{id:"news-letter-subscription-model"}},[t("div",{staticClass:"modal__backface",on:{click:e.closeModal}}),e._v(" "),t("div",{staticClass:"news-letter-container modal__wrapper"},[t("button",{staticClass:"modal__close-btn newsletter-close-btn",attrs:{type:"button"},on:{click:e.closeModal,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeModal.apply(null,arguments)}}},[t("div",{staticClass:"btn_close close",attrs:{id:"btn_close"}})]),e._v(" "),t("div",{staticClass:"news-letter-img"},[t("responsive-image",{attrs:{srcset:e.srcset,animate:""}},[t("img",{attrs:{src:"/frontend/master/images/placeholder.png",alt:"placeholder"}}),e._v(" "),t("noscript",[t("img",{attrs:{src:this.imageUrl,alt:""}})])])],1),e._v(" "),t("div",{staticClass:"news-letter-body-txt"},[t("div",{staticClass:"newsletter-content"},[e._t("title"),e._v(" "),t("form",{attrs:{action:"",method:"post"},on:{submit:function(t){return t.preventDefault(),e.validateAndSend.apply(null,arguments)}}},[t("div",{staticClass:"newsletter-input"},[t("label",{directives:[{name:"show",rawName:"v-show",value:e.showemailPlaceholder,expression:"showemailPlaceholder"}],ref:"emailLabel",staticClass:"newsletter-label",class:{fixed:e.isFixedPlaceholder},attrs:{for:"newsletter-email"}},[e._v(e._s(e.emailPlaceholder))]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.emailField,expression:"emailField"}],class:{"input-error":e.hasErrorValidEmail||e.hasErrorEmail},attrs:{type:"email",id:"newsletter-email","aria-describedby":e.emailDescribedby,name:"newsletter-email",value:"Email"},domProps:{value:e.emailField},on:{blur:function(t){e.checkEmailValid(),e.isEmailEmpty()},input:function(t){t.target.composing||(e.emailField=t.target.value)}}}),e._v(" "),e.hasErrorValidEmail?t("p",{staticClass:"newsletter__error",attrs:{id:"newsletter-email-error"}}
9,[e._v(e._s(e.validationMsg.emailFormat))]):e._e(),e._v(" "),e.hasErrorEmail?t("p",{staticClass:"newsletter__error",attrs:{id:"newsletter-email-error"}},[e._v(e._s(e.validationMsg.emailEmpty))]):e._e()]),e._v(" "),e._t("termstext"),e._v(" "),t("div",{staticClass:"newsletter__terms"},[t("div",{staticClass:"newsletter_checkbox"},["false"===e.disableCheckbox?t("input",{directives:[{name:"model",rawName:"v-model",value:e.termsField,expression:"termsField"}],staticClass:"is-sr-only",attrs:{id:"terms-of-use",type:"checkbox","aria-describedby":e.termsDescribedby,name:"terms-of-use"},domProps:{checked:Array.isArray(e.termsField)?e._i(e.termsField,null)>-1:e.termsField},on:{change:function(t){var i=e.termsField,a=t.target,s=!!a.checked;if(Array.isArray(i)){var n=null,r=e._i(i,n);a.checked?r<0&&(e.termsField=i.concat([n])):r>-1&&(e.termsField=i.slice(0,r).concat(i.slice(r+1)))}else e.termsField=s}}}):e._e(),e._v(" "),t("label",{attrs:{for:"terms-of-use"}},[e._t("terms")],2)]),e._v(" "),e.hasErrorTerms?t("p",{staticClass:"newsletter__error",attrs:{id:"terms-of-use-error"}},[e._v(e._s(e.validationMsg.terms))]):e._e()]),e._v(" "),e._t("termsofcaption"),e._v(" "),t("div",[t("button",{class:e.ctaClass,attrs:{type:"submit"}},[t("span",{staticClass:"btn__wrapper"}
9,[e._v(e._s(e.submitBtnText))])])])],2)],2)])])]):e._e()},ua=[],pa={name:"newsletter-subscription",components:{ResponsiveImage:l["default"]},props:{srcset:{type:[Object,String],required:!1,default:void 0},pageCategory:{type:String,default:""},isVisible:{type:Boolean,default:!1},apiUrl:{type:String,default:""},imageUrl:{type:String,default:""},errorMsg:{type:String,default:""},emailPlaceholder:{type:String,default:""},submitBtnText:{type:String,default:""},validationMsg:{type:Object,default:()=>({emailFormat:"Please use valid email format.",emailEmpty:"Please enter your email address.",terms:"Please accept the terms of use."})},ctaClass:{type:String,default:"btn btn--black"},disableCheckbox:{type:String,default:"false"}},data(){return{isSumbitEnabled:!1,serverResponse:null,emailField:"",showemailPlaceholder:!0,termsField:!1,hasErrorValidEmail:!1,hasErrorEmail:!1,hasErrorTerms:!1,showModal:!1}},computed:{fetchUrl(){return`${window.location.origin}/${this.apiUrl}`},canSubmit(){return!!this.emailField&&!this.hasErrorValidEmail&&this.termsField},isFixedPlaceholder(){return!!this.emailField&&this.hasErrorValidEmail||""!==this.emailField&&!this.hasErrorValidEmail&&!this.hasErrorEmail||""!==this.emailField&&!this.hasErrorValidEmail},emailDescribedby(){return!(!this.hasErrorValidEmail&&!this.hasErrorEmail)&&"newsletter-email-error"},termsDescribedby(){return!!this.hasErrorTerms&&"terms-of-use-error"}},mounted(){window.eventBus.$on("newsletterpopup",(e=>{e.show&&(this.showModal=e.show,document.cookie="newsletterPopin=",setTimeout((function(){document.getElementById("news-letter-subscription-model").scrollIntoView({behavior:"smooth"})}),1e3))}))},watch:{emailField(){0!==this.emailField.length?this.showemailPlaceholder=!1:this.showemailPlaceholder=!0},canSubmit(e){this.isSumbitEnabled=e},termsField(){this.checkTermsValid()}},created(){const e=this.getCookie("newsletterPopin");""===e&&this.isVisible&&(this.showModal=!0,this.taggingValue())},methods:{getCookie(e){let t=e+"=",i=document.cookie.split(";");for(let a=0;a<i.length;a++){let e=i[a];while(" "===e.charAt(0))e=e.substring(1);if(0===e.indexOf(t))return e.substring(t.length,e.length)}return""},closeModal(){this.showModal=!1,document.cookie="newsletterPopin=true"},isEmailEmpty(){""===this.emailField?this.hasErrorEmail=!0:this.hasErrorEmail=!1},validateEmail(e){const t=/^(([^<>()\[\]\\.,;:\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,}))$/;return t.test(String(e).toLowerCase())},checkEmailValid(){this.validateEmail(this.emailField)||""===this.emailField?this.hasErrorValidEmail=!1:this.hasErrorValidEmail=!0},checkTermsValid(){this.termsField?this.hasErrorTerms=!1:this.hasErrorTerms=!0},sendEmail(e){return(0,Oi.L)(this.fetchUrl,{email:e})},validateAndSend(){this.isEmailEmpty(),"false"===this.disableCheckbox&&this.checkTermsValid(),this.checkEmailValid(),this.emailField&&!this.hasErrorValidEmail&&(this.isSumbitEnabled=!1,this.sendEmail(this.emailField).then((e=>{this.serverResponse=e,e&&(window.eventBus.$emit("clickandEnabledPopup",!0),this.showModal=!1,document.cookie="newsletterPopin=true",this.taggingRegistration())})))},taggingValue(){window.dataLayer.push({event:"uaevent",ecommerce:"undefined",eventCategory:this.pageCategory,eventAction:"display::newsletterpopin",eventLabel:"newsletter"})},taggingRegistration(){window.dataLayer.push({event:"uaevent",ecommerce:"undefined",eventCategory:"registration",eventAction:"newsletter",eventLabel:"popin",event_name:"newsletter_registration",referral:"popin"})}}},ha=pa,ma=(0,u.A)(ha,da,ua,!1,null,null,null),ga=ma.exports,va=(0,s.fC)({components:{NewsletterSubscription:ga}}),_a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"generic__banner__component generic__banner__component__banner"},[t("div",{attrs:{id:"Frames"}},["Option2"===e.initialData.PresentationOption?t("div",{staticClass:"generic__banner_component container--is-maxwidth",class:"hight--"+e.initialData.PresentationOption},[t("div",{staticClass:"generic__banner__component__section",class:[!0===e.initialData.BottomMargin28px?"margin-bottom":!0===e.initialData.TopMargin28px?"margin-top":!0===e.initialData.AddTopAndBottomMargins?"add-margin-top-bottom":""]},[t("div",{class:e.initialData.PresentationOption},["NotSelected"!=e.initialData.TitleAtHnTag||e.smallScreen?e._e():t("div",{staticClass:"generic__banner__component__text__title",class:[e.initialData.TitleFontSize,""===e.initialData.DesktopText?"margin_title":""],domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}),e._v(" "),"NotSelected"==e.initialData.TitleAtHnTag||e.smallScreen?e._e():t("div",{staticClass:"generic__banner__component__text__title",class:[e.initialData.TitleFontSize,""===e.initialData.DesktopText?"margin_title":""]},["H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}
9):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e()]),e._v(" "),e.smallScreen&&"NotSelected"==e.initialData.TitleAtHnTag?t("div",{staticClass:"generic__banner__component__text__title",domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),e.smallScreen&&"NotSelected"!=e.initialData.TitleAtHnTag?t("div",{staticClass:"generic__banner__component__text__title"},["H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"generic__banner__component__image parallax"},[!e.smallScreen||e.smallScreen&&!0===e.initialData.EnableMobileVersion&&""===e.initialData.MobileImage||e.smallScreen&&!1===e.initialData.EnableMobileVersion?t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth("option2"),attrs:{"data-focus-x":!1===e.isRtl?e.initialData.DesktopFocusX:"","data-focus-y":!1===e.isRtl?e.initialData.DesktopFocusY:""}},[t("span",{},[t("img",{staticClass:"original",attrs:{fetchpriority:"high",loading:"lazy",src:e.initialData.New_Image,alt:e.initialData.New_ImageAlt}})])])]):e._e(),e._v(" "),e.smallScreen&&!0===e.initialData.EnableMobileVersion&&""!==e.initialData.MobileImage?t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth("option2"),attrs:{"data-focus-x":e.mobileFocusx(e.isRtl,e.initialData.MobileFocusX,e.initialData.DesktopFocusX,e.initialData.EnableMobileVersion),"data-focus-y":e.mobileFocusy(e.isRtl,e.initialData.MobileFocusY,e.initialData.DesktopFocusY,e.initialData.EnableMobileVersion)}},[t("span",{},[t("img",{staticClass:"original",attrs:{loading:"lazy",src:e.imageMobile(e.initialData.New_Image,e.initialData.MobileImage,e.initialData.EnableMobileVersion),alt:e.altMobile(e.initialData.New_ImageAlt,e.initialData.MobileImageAlt,e.initialData.EnableMobileVersion)}})])])]):e._e()]),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"generic__banner__component__text__description",domProps:{innerHTML:e._s(e.initialData.DesktopText)}}),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner__component__text__description",domProps:{textContent:e._s(e.initialData.MobileText),innerHTML:e._s(e.titleMobileDescription(e.initialData.MobileText,e.initialData.DesktopText,e.initialData.EnableMobileVersion))}}):e._e()])])]):e._e(),e._v(" "),"Option1"==e.initialData.PresentationOption?t("div",{staticClass:"generic__banner_component container--is-maxwidth",class:"hight--"+e.initialData.PresentationOption},[t("div",{staticClass:"generic__banner__component__section",class:[!0===e.initialData.BottomMargin28px?"margin-bottom":!0===e.initialData.TopMargin28px?"margin-top":!0===e.initialData.AddTopAndBottomMargins?"add-margin-top-bottom":""]},[t("div",{class:e.initialData.PresentationOption},["NotSelected"!=e.initialData.TitleAtHnTag||e.smallScreen?e._e():t("div",{staticClass:"generic__banner__component__text__title",class:[e.initialData.TitleFontSize,""===e.initialData.DesktopText?"margin_title":""],domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}),e._v(" "),"NotSelected"==e.initialData.TitleAtHnTag||e.smallScreen?e._e():t("div",{staticClass:"generic__banner__component__text__title",class:[e.initialData.TitleFontSize,""===e.initialData.DesktopText?"margin_title":""]},["H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}
9):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e()]),e._v(" "),e.smallScreen&&"NotSelected"==e.initialData.TitleAtHnTag?t("div",{staticClass:"generic__banner__component__text__title",domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),e.smallScreen&&"NotSelected"!=e.initialData.TitleAtHnTag?t("div",{staticClass:"generic__banner__component__text__title"},["H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e()]):e._e(),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"generic__banner__component__text__description",domProps:{innerHTML:e._s(e.initialData.DesktopText)}}),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner__component__text__description",domProps:{innerHTML:e._s(e.titleMobileDescription(e.initialData.MobileText,e.initialData.DesktopText,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),t("div",{staticClass:"generic__banner__component__image parallax"},[!e.smallScreen||e.smallScreen&&!0===e.initialData.EnableMobileVersion&&""===e.initialData.MobileImage||e.smallScreen&&!1===e.initialData.EnableMobileVersion?t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth("option1"),attrs:{"data-focus-x":!1===e.isRtl?e.initialData.DesktopFocusX:"","data-focus-y":!1===e.isRtl?e.initialData.DesktopFocusY:""}},[t("span",{},[t("img",{staticClass:"original",attrs:{fetchpriority:"high",loading:"lazy",src:e.initialData.New_Image,alt:e.initialData.New_ImageAlt}})])])]):e._e(),e._v(" "),e.smallScreen&&!0===e.initialData.EnableMobileVersion&&""!==e.initialData.MobileImage?t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth("option1"),attrs:{"data-focus-x":e.mobileFocusx(e.isRtl,e.initialData.MobileFocusX,e.initialData.DesktopFocusX,e.initialData.EnableMobileVersion),"data-focus-y":e.mobileFocusy(e.isRtl,e.initialData.MobileFocusY,e.initialData.DesktopFocusY,e.initialData.EnableMobileVersion)}},[t("span",{},[t("img",{staticClass:"original",attrs:{loading:"lazy",src:e.imageMobile(e.initialData.New_Image,e.initialData.MobileImage,e.initialData.EnableMobileVersion),alt:e.altMobile(e.initialData.New_ImageAlt,e.initialData.MobileImageAlt,e.initialData.EnableMobileVersion)}})])])]):e._e()])])])]):e._e(),e._v(" "),"Option6"==e.initialData.PresentationOption?t("div",{staticClass:"generic__banner_component",class:"hight--"+e.initialData.PresentationOption,on:{click:function(t){return e.fullBannerClick()}}},[t("div",{class:e.initialData.PresentationOption},[t("div",{staticClass:"generic__banner__component__section",class:[!0===e.initialData.BottomMargin28px?"margin-bottom":!0===e.initialData.TopMargin28px?"margin-top":!0===e.initialData.AddTopAndBottomMargins?"add-margin-top-bottom":""]},[t("div",{staticClass:"generic__banner__component__image parallax",class:e.initialData.EnableBannerClick?"--bannerClick":""},[!e.smallScreen||e.smallScreen&&!0===e.initialData.EnableMobileVersion&&""===e.initialData.MobileImage||e.smallScreen&&!1===e.initialData.EnableMobileVersion?t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth(),attrs:{"data-focus-x":!1===e.isRtl?e.initialData.DesktopFocusX:"","data-focus-y":!1===e.isRtl?e.initialData.DesktopFocusY:""}},[t("span",{},[t("img",{staticClass:"original",attrs:{fetchpriority:"high",loading:"lazy",src:e.initialData.New_Image,alt:e.initialData.New_ImageAlt}}
9)])])]):e._e(),e._v(" "),e.smallScreen&&!0===e.initialData.EnableMobileVersion&&""!==e.initialData.MobileImage?t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth(),attrs:{"data-focus-x":e.mobileFocusx(e.isRtl,e.initialData.MobileFocusX,e.initialData.DesktopFocusX,e.initialData.EnableMobileVersion),"data-focus-y":e.mobileFocusy(e.isRtl,e.initialData.MobileFocusY,e.initialData.DesktopFocusY,e.initialData.EnableMobileVersion)}},[t("span",{},[t("img",{staticClass:"original",attrs:{loading:"lazy",src:e.imageMobile(e.initialData.New_Image,e.initialData.MobileImage,e.initialData.EnableMobileVersion),alt:e.altMobile(e.initialData.New_ImageAlt,e.initialData.MobileImageAlt,e.initialData.EnableMobileVersion)}})])])]):e._e()])])])]):e._e(),e._v(" "),"Option5"===e.initialData.PresentationOption?t("div",{class:["generic__banner --full-width",e.initialData.TextpositiononImage,!0===e.initialData.BottomMargin28px?"margin-bottom":!0===e.initialData.TopMargin28px?"margin-top":!0===e.initialData.AddTopAndBottomMargins?"add-margin-top-bottom":"",!0===e.initialData.GradientEnabled?"--gradient":"",e.initialData.EnableBannerClick?"--bannerClick":""],on:{click:function(t){return e.fullBannerClick()}}},[e.smallScreen?t("div",{staticClass:"generic__banner--mobile__title"},["NotSelected"==e.initialData.TitleAtHnTag?t("span",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"NotSelected"!=e.initialData.TitleAtHnTag?t("div"):e._e(),e._v(" "),"H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e()]):e._e(),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"generic__banner--image-placeholder"},[t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth(),attrs:{"data-focus-x":!1===e.isRtl?e.initialData.DesktopFocusX:"","data-focus-y":!1===e.isRtl?e.initialData.DesktopFocusY:""}},[t("img",{staticClass:"original",attrs:{loading:"lazy",src:e.initialData.New_Image,alt:e.initialData.New_ImageAlt}})])])]),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner--image-placeholder"},[t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidth(),attrs:{"data-focus-x":e.mobileFocusx(e.isRtl,e.initialData.MobileFocusX,e.initialData.DesktopFocusX,e.initialData.EnableMobileVersion),"data-focus-y":e.mobileFocusy(e.isRtl,e.initialData.MobileFocusY,e.initialData.DesktopFocusY,e.initialData.EnableMobileVersion)}},[t("span",[t("img",{staticClass:"original",attrs:{fetchpriority:"high",loading:"lazy",src:e.imageMobile(e.initialData.New_Image,e.initialData.MobileImage,e.initialData.EnableMobileVersion),alt:e.altMobile(e.initialData.New_ImageAlt,e.initialData.MobileImageAlt,e.initialData.EnableMobileVersion)}})])])])]):e._e(),e._v(" "),t("div",{class:["generic__banner--content-placeholder",!0===e.initialData.WhiteColorOption?"whitecolor-enabled":""]},[e.smallScreen?e._e():t("div",{class:["generic__banner--desktop__title",e.initialData.TitleFontSize]},["NotSelected"==e.initialData.TitleAtHnTag?t("span",{class:[e.initialData.TitleFontSize,""===e.initialData.DesktopText?"margin_title":""],domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"NotSelected"!=e.initialData.TitleAtHnTag?t("div",["H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}
9):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e()]):e._e()]),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"generic__banner--description",domProps:{innerHTML:e._s(e.initialData.DesktopText)}}),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner--description",domProps:{innerHTML:e._s(e.titleMobileDescription(e.initialData.MobileText,e.initialData.DesktopText,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),""==e.initialData.DesktopCTALabel||e.smallScreen||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.DesktopCTALink,target:e.initialData.DesktopCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.DesktopCTALabel,e.initialData.DesktopCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v(e._s(e.initialData.DesktopCTALabel))])])]),e._v(" "),!e.smallScreen||""==e.initialData.MobileCTALabel||!e.initialData.EnableMobileVersion||!1!==e.initialData.EnableDSFService||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.MobileCTALink,target:e.initialData.MobileCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.MobileCTALabel,e.initialData.MobileCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.MobileCTALabel)+"\n ")])])]),e._v(" "),e.initialData.EnableRoutineFinder||!e.smallScreen||""==e.initialData.DesktopCTALabel||0!=e.initialData.EnableMobileVersion||!1!==e.initialData.EnableDSFService||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.DesktopCTALink,target:e.initialData.DesktopCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.DesktopCTALabel,e.initialData.DesktopCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.DesktopCTALabel)+"\n ")])])]),e._v(" "),e.smallScreen&&!0===e.initialData.EnableDSFService?t("div",{staticClass:"generic__banner__cta"},[t("spotscan-embed",{attrs:{"data-tenant":e.dsfData.Tenant,"data-application":e.initialData.DSFApplication,"data-customer":e.dsfData.Customer,"data-country":e.dsfData.Country,"data-environment":e.dsfData.Environment,"data-touchpoint":e.dsfData.Touchpoint,"data-type":e.dsfData.Type,"data-loadingbg":e.dsfData.Loadingbackgroundcolor,"data-loadingmsg":e.dsfData.Loadingmessage,"csrf-token":"$WEBSITE_TOKEN","switch-ecom":e.dsfData.Switchecom,"switch-autostart":e.dsfData.Switchautostart,"data-cta-label":e.ctalable(e.initialData.MobileCTALabel,e.initialData.DesktopCTALabel,e.initialData.EnableMobileVersion),"data-pagecategory":e.dsfPageCategory,"data-cta":e.ctaClass,"data-dsf-tagging":e.dsfTagging}})],1):e._e(),e._v(" "),!0===e.initialData.EnableRoutineFinder?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.fullWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.fullWidth_Rb()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.fullWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e(),e._v(" "),e.showFullWidth_Rb?t("routine-finder"):e._e()],1):e._e(),e._v(" "),!0===e.initialData.EnableMultipurposePopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}}
9,[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e(),e._v(" "),!0===e.initialData.EnableNewsletterPopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e()])]):e._e(),e._v(" "),"Option3"===e.initialData.PresentationOption?t("div",{class:["generic__banner --half-width --right",!0===e.initialData.BottomMargin28px?"margin-bottom":!0===e.initialData.TopMargin28px?"margin-top":!0===e.initialData.AddTopAndBottomMargins?"add-margin-top-bottom":""]},[e.smallScreen?t("div",{staticClass:"generic__banner--mobile__title"},["NotSelected"==e.initialData.TitleAtHnTag?t("span",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"NotSelected"!=e.initialData.TitleAtHnTag?t("div"):e._e(),e._v(" "),"H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e()]):e._e(),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"generic__banner--image-placeholder"},[t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidthHalf(),attrs:{"data-focus-x":!1===e.isRtl?e.initialData.DesktopFocusX:"","data-focus-y":!1===e.isRtl?e.initialData.DesktopFocusY:""}},[t("img",{staticClass:"original",attrs:{loading:"lazy",src:e.initialData.New_Image,alt:e.initialData.New_ImageAlt}})])])]),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner--image-placeholder"},[t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidthHalf("mobile"),attrs:{"data-focus-x":e.mobileFocusx(e.isRtl,e.initialData.MobileFocusX,e.initialData.DesktopFocusX,e.initialData.EnableMobileVersion),"data-focus-y":e.mobileFocusy(e.isRtl,e.initialData.MobileFocusY,e.initialData.DesktopFocusY,e.initialData.EnableMobileVersion)}},[t("span",[t("img",{staticClass:"original",attrs:{fetchpriority:"high",loading:"lazy",src:e.imageMobile(e.initialData.New_Image,e.initialData.MobileImage,e.initialData.EnableMobileVersion),alt:e.altMobile(e.initialData.New_ImageAlt,e.initialData.MobileImageAlt,e.initialData.EnableMobileVersion)}})])])])]):e._e(),e._v(" "),e.smallScreen?e._e():t("div",{class:["generic__banner--content-placeholder",!0===e.initialData.WhiteColorOption?"whitecolor-enabled":""]},[t("div",{class:["generic__banner--desktop__title",e.initialData.TitleFontSize]},["NotSelected"==e.initialData.TitleAtHnTag?t("span",{class:[e.initialData.TitleFontSize,""===e.initialData.DesktopText?"margin_title":""],domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"NotSelected"!=e.initialData.TitleAtHnTag?t("div",["H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}
9):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e()]):e._e()]),e._v(" "),t("div",{staticClass:"generic__banner--description",domProps:{innerHTML:e._s(e.initialData.DesktopText)}}),e._v(" "),!0===e.initialData.EnableRoutineFinder?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.rigHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.rigHalfWidth_Rb()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.rigHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e(),e._v(" "),e.showRigHalfWidth_Rb?t("routine-finder"):e._e()],1):e._e(),e._v(" "),!0===e.initialData.EnableMultipurposePopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e(),e._v(" "),!0===e.initialData.EnableNewsletterPopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e(),e._v(" "),""==e.initialData.DesktopCTALabel||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.DesktopCTALink,target:e.initialData.DesktopCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.DesktopCTALabel,e.initialData.DesktopCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.DesktopCTALabel)+"\n ")])])])]),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner--content-placeholder"},[t("div",{staticClass:"generic__banner--description",domProps:{innerHTML:e._s(e.titleMobileDescription(e.initialData.MobileText,e.initialData.DesktopText,e.initialData.EnableMobileVersion))}}),e._v(" "),!e.smallScreen||""==e.initialData.MobileCTALabel||!e.initialData.EnableMobileVersion||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.MobileCTALink,target:e.initialData.MobileCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.MobileCTALabel,e.initialData.MobileCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.MobileCTALabel)+"\n ")])])]),e._v(" "),!e.smallScreen||0!=e.initialData.EnableMobileVersion||""==e.initialData.DesktopCTALabel||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.DesktopCTALink,target:e.initialData.DesktopCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.DesktopCTALabel,e.initialData.DesktopCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.DesktopCTALabel)+"\n ")])])]),e._v(" "),!0===e.initialData.EnableRoutineFinder?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.rigHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.rigHalfWidth_Rb()}}}
9,[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.rigHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e(),e._v(" "),e.showRigHalfWidth_Rb?t("routine-finder"):e._e()],1):e._e(),e._v(" "),!0===e.initialData.EnableMultipurposePopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e(),e._v(" "),!0===e.initialData.EnableNewsletterPopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e()]):e._e()]):e._e(),e._v(" "),"Option4"===e.initialData.PresentationOption?t("div",{class:["generic__banner --half-width --left",!0===e.initialData.BottomMargin28px?"margin-bottom":!0===e.initialData.TopMargin28px?"margin-top":!0===e.initialData.AddTopAndBottomMargins?"add-margin-top-bottom":""]},[e.smallScreen?t("div",{staticClass:"generic__banner--mobile__title"},["NotSelected"==e.initialData.TitleAtHnTag?t("span",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"NotSelected"!=e.initialData.TitleAtHnTag?t("div"):e._e(),e._v(" "),"H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.titleMobileText(e.initialData.MobileTitle,e.initialData.DesktopTitle,e.initialData.EnableMobileVersion))}}):e._e()]):e._e(),e._v(" "),e.smallScreen?e._e():t("div",{class:["generic__banner--content-placeholder",!0===e.initialData.WhiteColorOption?"whitecolor-enabled":""]},[t("div",{class:["generic__banner--desktop__title",e.initialData.TitleFontSize]},["NotSelected"==e.initialData.TitleAtHnTag?t("span",{class:[e.initialData.TitleFontSize,""===e.initialData.DesktopText?"margin_title":""],domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"NotSelected"!=e.initialData.TitleAtHnTag?t("div",["H1"==e.initialData.TitleAtHnTag?t("h1",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"H2"==e.initialData.TitleAtHnTag?t("h2",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e(),e._v(" "),"H3"==e.initialData.TitleAtHnTag?t("h3",{domProps:{innerHTML:e._s(e.initialData.DesktopTitle)}}):e._e()]):e._e()]),e._v(" "),t("div",{staticClass:"generic__banner--description",domProps:{innerHTML:e._s(e.initialData.DesktopText)}}),e._v(" "),!0===e.initialData.EnableRoutineFinder?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.leftHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.leftHalfWidth_Rb()}}}
9,[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&""==e.initialData.MobileCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.leftHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e(),e._v(" "),e.showLeftHalfWidth_Rb?t("routine-finder"):e._e()],1):e._e(),e._v(" "),!0===e.initialData.EnableMultipurposePopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e(),e._v(" "),!0===e.initialData.EnableNewsletterPopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e(),e._v(" "),""==e.initialData.DesktopCTALabel||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.DesktopCTALink,target:e.initialData.DesktopCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.DesktopCTALabel,e.initialData.DesktopCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.DesktopCTALabel)+"\n ")])])])]),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"generic__banner--image-placeholder"},[t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidthHalf(),attrs:{"data-focus-x":!1===e.isRtl?e.initialData.DesktopFocusX:"","data-focus-y":!1===e.isRtl?e.initialData.DesktopFocusY:""}},[t("img",{staticClass:"original",attrs:{loading:"lazy",src:e.initialData.New_Image,alt:e.initialData.New_ImageAlt}})])])]),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner--image-placeholder"},[t("div",{staticClass:"focal-frames"},[t("div",{staticClass:"focuspoint focal-frame",style:e.getScreenWidthHalf("mobile"),attrs:{"data-focus-x":e.mobileFocusx(e.isRtl,e.initialData.MobileFocusX,e.initialData.DesktopFocusX,e.initialData.EnableMobileVersion),"data-focus-y":e.mobileFocusy(e.isRtl,e.initialData.MobileFocusY,e.initialData.DesktopFocusY,e.initialData.EnableMobileVersion)}},[t("span",[t("img",{staticClass:"original",attrs:{fetchpriority:"high",loading:"lazy",src:e.imageMobile(e.initialData.New_Image,e.initialData.MobileImage,e.initialData.EnableMobileVersion),alt:e.altMobile(e.initialData.New_ImageAlt,e.initialData.MobileImageAlt,e.initialData.EnableMobileVersion)}})])])])]):e._e(),e._v(" "),e.smallScreen?t("div",{staticClass:"generic__banner--content-placeholder"},[t("div",{staticClass:"generic__banner--description",domProps:{innerHTML:e._s(e.titleMobileDescription(e.initialData.MobileText,e.initialData.DesktopText,e.initialData.EnableMobileVersion))}}),e._v(" "),""==e.initialData.MobileCTALabel||!e.initialData.EnableMobileVersion||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.MobileCTALink,target:e.initialData.MobileCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.MobileCTALabel,e.initialData.MobileCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.MobileCTALabel)+"\n ")])])]),e._v(" "),0!=e.initialData.EnableMobileVersion||""==e.initialData.DesktopCTALabel||e.initialData.EnableRoutineFinder||e.initialData.EnableMultipurposePopin||e.initialData.EnableNewsletterPopin?e._e():t("div",{staticClass:"generic__banner__cta"},[t("a",{class:e.ctaClass,attrs:{href:e.initialData.DesktopCTALink,target:e.initialData.DesktopCTANewTab?"_blank":"_self"},on:{click:function(t){return e.gaTagging(t,e.initialData.DesktopCTALabel,e.initialData.DesktopCTALink)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.initialData.DesktopCTALabel)+"\n ")])])]),e._v(" "),!0===e.initialData.EnableRoutineFinder?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.leftHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.leftHalfWidth_Rb()}}}
9,[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"routineFinderStart cta cta--light",on:{click:function(t){return e.leftHalfWidth_Rb()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e(),e._v(" "),e.showLeftHalfWidth_Rb?t("routine-finder"):e._e()],1):e._e(),e._v(" "),!0===e.initialData.EnableMultipurposePopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.openMultiPopup()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e(),e._v(" "),!0===e.initialData.EnableNewsletterPopin?t("div",[""==e.initialData.DesktopCTALabel||e.smallScreen?e._e():t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]),e._v(" "),e.initialData.EnableMobileVersion&&e.smallScreen&&""!=e.initialData.MobileCTALabel?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.MobileCTALabel))]):e._e(),e._v(" "),""!=e.initialData.DesktopCTALabel&&0==e.initialData.EnableMobileVersion&&e.smallScreen?t("button",{staticClass:"cta cta--light",on:{click:function(t){return e.opennewsletterOpen()}}},[e._v(e._s(e.initialData.DesktopCTALabel))]):e._e()]):e._e()]):e._e()]):e._e()])])},fa=[],ya=(i(3682),{name:"generic-banner",components:{SpotscanEmbed:Li.A,LoadScript:ai.A,routineFinder:rt.A},props:{initialData:{type:Object,required:!0},dsfData:{type:Object,required:!0},dsfPageCategory:{type:String,required:!0},ctaClass:{type:String,default:"btn"},btnTagging:{type:Object,required:!0},dsfTagging:{type:Object,required:!0},isRtl:{type:Boolean,default:!1}},data(){return{showRigHalfWidth_Rb:!1,showLeftHalfWidth_Rb:!1,showFullWidth_Rb:!1,routineFinder:!1,modulename:this.initialData.DesktopTitle,ctaname:this.initialData.DesktopCTALabel,smallScreen:!window.matchMedia("(min-width: 1024px)").matches,imageData:"",screenSize:window.matchMedia("(max-width: 767px)").matches?"small":window.matchMedia("(min-width: 768px) and (max-width: 1023px)").matches?"medium":"large"}},mounted(){window.eventBus.$on("routineFinderClose:on",(e=>{setTimeout((()=>{this.showRigHalfWidth_Rb=e,this.showLeftHalfWidth_Rb=e,this.showFullWidth_Rb=e}),300)})),this.$nextTick((()=>{$.fn.focusPoint?$(".focuspoint").focusPoint():console.warn("FocusPoint not found.")})),console.log("screen sizessss"+this.smallScreen)},methods:{opennewsletterOpen(){let e="generic banner";window.eventBus.$emit("newsletterpopup",{postion:e,show:!0}),this.popinBtnTagging()},openMultiPopup(){window.eventBus.$emit("multipopin:on",!1),this.popinBtnTagging()},rigHalfWidth_Rb(){this.showRigHalfWidth_Rb=!0,this.popinBtnTagging()},leftHalfWidth_Rb(){this.showLeftHalfWidth_Rb=!0,this.popinBtnTagging()},fullWidth_Rb(){this.showFullWidth_Rb=!0,this.popinBtnTagging()},popinBtnTagging(){this.get_modulename(),this.get_ctaname(),(this.initialData.EnableRoutineFinder||this.initialData.EnableNewsletterPopin||this.initialData.EnableMultipurposePopin)&&this.initialData.PopinTaggingAttributes&&_.Xj.pushDataLayer({event:this.initialData.PopinTaggingAttributes.event,ecommerce:this.initialData.PopinTaggingAttributes.ecommerce,event_name:this.initialData.PopinTaggingAttributes.event_name,eventCategory:window.wsf.AnalyticsVariables.pageCategory?window.wsf.AnalyticsVariables.pageCategory:"",eventAction:`${this.initialData.PopinTaggingAttributes.eventAction+this.modulename.replace(/<br\s*\/?>/gi," ").replace(/<\/?[^>]+(>|$)/g,"").replace(/\n/g,"").toLowerCase()}`,eventLabel:`${this.ctaname.replace(/<br\s*\/?>/gi," ").replace(/<\/?[^>]+(>|$)/g,"").replace(/\n/g,"").toLowerCase()+this.initialData.PopinTaggingAttributes.eventLabel}`,module_name:this.modulename.replace(/<br\s*\/?>/gi," ").replace(/<\/?[^>]+(>|$)/g,"").replace(/\n/g,"").toLowerCase(),cta_name:this.ctaname.replace(/<br\s*\/?>/gi," ").replace(/<\/?[^>]+(>|$)/g,"").replace(/\n/g,"").toLowerCase(),link_url:this.initialData.PopinTaggingAttributes.link_url})},get_modulename(){!this.smallScreen&&this.initialData.DesktopTitle?this.modulename=this.initialData.DesktopTitle:this.modulename=""==this.initialData.MobileTitle?this.initialData.DesktopTitle:this.initialData.MobileTitle,this.modulename||(this.modulename="none")},get_ctaname(){!this.smallScreen&&this.initialData.DesktopCTALabel?this.ctaname=this.initialData.DesktopCTALabel:this.ctaname=""==this.initialData.MobileCTALabel?this.initialData.DesktopCTALabel:this.initialData.MobileCTALabel},getScreenWidthHalf(e=null){let t="",i=256,a=document.getElementById("content"),s=a.getBoundingClientRect(),n=s.width;return"mobile"===e&&(n=s.width-48),"small"==this.screenSize?(i=280,t=window.innerWidth,"width:"+n+"px; height:"+i+"px;"):"medium"==this.screenSize?(i=400,t=window.innerWidth,"width:"+n+"px; height:"+i+"px;"):"large"==this.screenSize?(i=330,t=504,"width:"+t+"px; height:"+i+"px;"):void 0},getScreenWidth(e=null){let t=460,i=document.getElementById("content"),a=i.getBoundingClientRect(),s=a.width;"option2"!==e&&"option1"!==e||(s=a.width-40);let n="";return"small"==this.screenSize?(t=270,n=window.innerWidth,"width:"+s+"px; height:"+t+"px;"):"medium"==this.screenSize?(t=400,n=window.innerWidth,"width:"+s+"px; height:"+t+"px;"):"large"==this.screenSize?(t=460,"option2"===e||"option1"===e?(n=1024,"width:100%; height:"+t+"px;"):(n=window.innerWidth,"width:100%; height:"+t+"px;")):void 0},gaTagging(e,t,i){if("error page"===this.btnTagging.category)window.dataLayer.push({event:"uaevent",ecommerce:"undefined",eventLabel:"return::go back to home",eventAction:"select",eventCategory:"body"});else{this.initialData.EnableShutter&&(e.preventDefault(),document.getElementById("loader").style.display="block",document.getElementById("popupFrame").src=i,document.getElementById("popup").style.display="block",document.querySelector(".shutterpage-overlay").style.display="block",document.body.classList.add("multipopin-open"),setTimeout((()=>{document.querySelector(".btn-close").focus()}),300),document.getElementById("popupFrame").style.display="none");let a,s,n=this.btnTagging.desktoplabel;n=this.smallScreen?this.btnTagging.mobilelabel:this.btnTagging.desktoplabel,this.initialData.EnableShutter?(a="shutter page",s=t.toLowerCase()+"::shutter page"):(a=window.origin+i,s=t.toLowerCase()+"::"+window.origin+i),window.dataLayer.push({event:"uaevent",event_name:"body_button_click",ecommerce:"undefined",eventAction:this.btnTagging.action,eventCategory:this.btnTagging.category,eventLabel:s,cta_name:t.toLowerCase(),link_url:a,module_name:"banner"})}},titleMobileText(e,t,i){let a="";return"medium"!==this.screenSize&&"small"!==this.screenSize||(i&&""!=e?a=e:(i&&""==e||!1===i)&&(a=t)),a},titleMobileDescription(e,t,i){let a="";return"medium"!==this.screenSize&&"small"!==this.screenSize||(i&&""!=e?a=e:(i&&""==e||!1===i)&&(a=t)),a},desktopalt(e,t){let i=t;return e&&(i=e),i},mobilealt(e,t){let i=e;return t&&(i=t),i},imageMobile(e,t,i){let a="";return a=i&&""!==t?t:e,a},altMobile(e,t,i){let a="";return a=i&&""!==t?t:e,a},ctalable(e,t,i){let a="";return a=i?""===e?t:e:t,a},bgimage(e,t,i){let a=`background-image:url('${e}')`;return"medium"!==this.screenSize&&"small"!==this.screenSize||(i&&(a=`background-image:url('${i}')`),""==i&&(a=`background-image:url('${t}')`)),a},decodeHtml(e){let t=document.createElement("div");t.innerHTML=e;let i=t.innerText.replaceAll("\n"," ");return i},mobileFocusx(e,t,i,a){let s="";
9return s=!0===a?t:i,!0===e&&(s=""),s},mobileFocusy(e,t,i,a){let s="";return s=!0===a?t:i,!0===e&&(s=""),s},fullBannerClick(){this.initialData.EnableBannerClick&&(window.location.href=this.initialData.DesktopCTALink)}}}),wa=ya,ba=(0,u.A)(wa,_a,fa,!1,null,null,null),Ca=ba.exports,Sa=(0,s.fC)({components:{GenericBanner:Ca}}),ka=function(){var e=this,t=e._self._c;return t("div",{staticClass:"my-skin-sos"},[e.CaptchaConfig.isVisible?t("load-script",{attrs:{src:"https://www.google.com/recaptcha/api.js?onload=onCaptchaAPIReady&render=explicit"}}):e._e(),e._v(" "),t("a",{staticClass:"my-skin-sos-close",attrs:{href:e.documentReferrer},on:{click:e.goToPreviusPage}},[t("span",{staticClass:"close-icon heavy"}),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v("\n Back to: "+e._s(e.previousPageName)+"\n ")])]),e._v(" "),e.isInSurvey?e._e():t("div",{staticClass:"my-skin-sos-landing"},[e._t("banner"),e._v(" "),t("div",{staticClass:"my-skin-sos-gdpr-content"},[t("div",{staticClass:"my-skin-sos-gdpr-content-intro"},[e._t("gdpr-intro")],2),e._v(" "),t("div",{staticClass:"my-skin-sos-pass-gate"},[e.GdprCheckBoxConfig.isVisible?t("div",{staticClass:"my-skin-sos-iagree-check-box-wrapper"},[t("field-checkbox",{attrs:{field:e.GdprCheckBoxConfig},model:{value:e.GDPRiAgree,callback:function(t){e.GDPRiAgree=t},expression:"GDPRiAgree"}})],1):e._e(),e._v(" "),e.CaptchaConfig.isVisible?t("div",{directives:[{name:"show",rawName:"v-show",value:e.GDPRiAgree,expression:"GDPRiAgree"}],staticClass:"my-skin-sos-cpacha"},[t("div",{staticClass:"g-recaptcha",attrs:{id:e.CaptchaConfig.id}}),e._v(" "),e.hasErrorCapcha?t("p",{staticClass:"field-help",attrs:{id:e.CaptchaConfig.idError}},[e._v("\n "+e._s(e.CaptchaConfig.error)+"\n ")]):e._e()]):e._e(),e._v(" "),e.GDPRiAgree&&!e.hasErrorCapcha?t("button",{class:e.ctaClass,attrs:{type:"button"},on:{click:e.switchToSurvey}},[t("span",{staticClass:"btn__wrapper",domProps:{innerHTML:e._s(e.decodeHTML(e.StartSurveyButtonText))}})]):e._e()])])],2),e._v(" "),e.isInSurvey?t("div",{staticClass:"my-skin-sos-survey"},[e.surveyStepData?t("div",{staticClass:"my-skin-sos-survey-progress-bar",style:{width:e.selectedAnswers.length/e.surveyStepData.stepsToCompleetSurvey*100+"%"}}):e._e(),e._v(" "),e.selectedAnswers.length?t("button",{staticClass:"my-skin-sos-prev-step",attrs:{type:"button"},on:{click:e.goToPreviusStep}},[t("span",{staticClass:"is-sr-only"},[e._v("Previous step")])]):e._e(),e._v(" "),e.surveyStepData?t("div",{ref:"answersContainer",staticClass:"my-skin-sos-survey-column my-skin-sos-question-container"},[t("p",{staticClass:"my-skin-sos-steps-count",attrs:{"aria-atomic":"true","aria-live":"polite"}},[t("span",{staticClass:"intro-text",domProps:{innerHTML:e._s(e.decodeHTML(e.StepIntroText))}}),e._v("\n "+e._s(e.surveyStepData.stepNumber)+" / "+e._s(e.surveyStepData.stepsToCompleetSurvey)+"\n ")]),e._v(" "),t("h1",{staticClass:"my-skin-sos-question",domProps:{innerHTML:e._s(e.surveyStepData.question)}}),e._v(" "),e.surveyStepData&&e.surveyStepData.questionNotice?t("p",{staticClass:"my-skin-sos-question-notice",domProps:{innerHTML:e._s(e.surveyStepData.questionNotice)}}):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"my-skin-sos-answers-container",style:{backgroundImage:`url(${e.answersContainerBackgroundImageUrl})`}},[e.surveyStepData?t("ul",{staticClass:"my-skin-sos-answers",class:`${e.reanimate?"slideInRight":"rotateOutUpLeft"} ${e.surveyStepData.answers.length<=3&&"short-list"} ${e.surveyStepData.answers.length%2!==0&&"odd-list"}`},e._l(e.surveyStepData.answers,(function(i,a){return t("li",{key:a,staticClass:"my-skin-sos-answer",class:e.answerIsSelected(i.id)&&"selected",attrs:{tabindex:"0",role:"checkbox","aria-checked":`${e.answerIsSelected(i.id)}`},domProps:{innerHTML:e._s(i.answer)},on:{click:function(t){return e.toggleSelection(i.id)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.toggleSelection(i.id)}}})})),0):e._e(),e._v(" "),e.smallScreen?t("div",{staticClass:"my-skin-sos-survey-column my-skin-sos-action-container"},[t("button",{staticClass:"cta cta--light",class:e.stepState.selectedAnswersIDs.length?e.StepNextButtonBlackOnMobile?"-black show":"show":"",attrs:{type:"button","aria-hidden":`${!e.stepState.selectedAnswersIDs.length}`},on:{click:function(t){return e.requestNextStep()}}},[t("span",{staticClass:"btn__wrapper",domProps:{innerHTML:e._s(e.decodeHTML(e.StepNextButtonText))}}
9)])]):e._e()]),e._v(" "),e.smallScreen?e._e():t("div",{staticClass:"my-skin-sos-survey-column my-skin-sos-action-container"},[t("button",{staticClass:"cta cta--light",class:e.stepState.selectedAnswersIDs.length&&"-black show",attrs:{type:"button","aria-hidden":`${!e.stepState.selectedAnswersIDs.length}`},on:{click:function(t){return e.requestNextStep()}}},[t("span",{staticClass:"btn__wrapper",domProps:{innerHTML:e._s(e.decodeHTML(e.StepNextButtonText))}})])])]):e._e()],1)},Da=[],La=i(4808),Ta={name:"my-skin-sos",components:{FieldCheckbox:La.A,LoadScript:ai.A},props:{GdprCheckBoxConfig:{type:Object,required:!0,default:void 0},CaptchaConfig:{type:Object,required:!1,default:void 0},StartSurveyButtonText:{type:String,required:!0,default:""},StepIntroText:{type:String,required:!0,default:""},StepNextButtonText:{type:String,required:!0,default:""},StepNextButtonBlackOnMobile:{type:Boolean,required:!1,default:!1},answersContainerBackgroundImageUrl:{type:String,required:!0,default:""},surveyEndPoint:{type:String,required:!0,default:""},skipGdprPage:{type:Boolean,required:!0,default:!0},ctaClass:{type:String,default:"cta cta--dark cta--alt"}},data(){return{GDPRiAgree:!this.GdprCheckBoxConfig.isVisible,hasErrorCapcha:this.CaptchaConfig.isVisible,isInSurvey:this.skipGdprPage,previousPageName:"Home page",surveyStepData:null,serverError:null,stepState:{questionID:null,isMultipleAnswers:!1,selectedAnswersIDs:[]},stepsHistory:[],selectedAnswers:[],reanimate:!0,smallScreen:!window.matchMedia("(min-width: 1024px)").matches,documentReferrer:window.document.referrer.length?window.document.referrer:"/"}},created(){window.onCaptchaAPIReady=this.onCaptchaAPIReady,this.previousPageName=this.getPreviousPageName(),o.B.$on("mediaquery::changed",(()=>{this.smallScreen=!window.matchMedia("(min-width: 1024px)").matches})),this.requestNextStep()},methods:{getPreviousPageName(){const e=sessionStorage.getItem("lrp-previous-page-name");return!e&&"Home page"},reAnimate(){this.reanimate=!1,setTimeout((()=>this.reanimate=!0),250)},decodeHTML(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value},switchToSurvey(){this.pushTagging(),this.isInSurvey=!this.isInSurvey,setTimeout((()=>{(0,s.eb)(this.$refs.answersContainer)}),300)},onCaptchaAPIReady(){setTimeout((()=>{"undefined"===typeof window.grecaptcha&&"function"!==typeof window.grecaptcha.render?this.onCaptchaAPIReady():window.grecaptcha.render(this.CaptchaConfig.id,{sitekey:this.CaptchaConfig.siteKey,callback:this.checkCaptcha})}),100)},checkCaptcha(){0!==window.grecaptcha.getResponse().length?this.hasErrorCapcha=!1:this.hasErrorCapcha=!0},stripTags(e){return e.replace(/<\/?[^>]+(>|$)/g,"")},pushTagging(e=this.decodeHTML(this.StartSurveyButtonText),t="start"){_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"site_load_service",eventCategory:"content page::service",eventAction:"content page::service::select::myskinsos",eventLabel:"load::myskinsos",service_name:"skindr",service_category:"diagnose",cta_name:this.stripTags(e).toLowerCase(),product_info:"none"})},onStepTaging(e,t="en"){_.Xj.pushDataLayer({event:"updatevirtualpath",virtualPageURL:`/lrp/${t}/${this.stripTags(e.question).toLowerCase()}/step${e.stepNumber}`,virtualPageTitle:`${this.stripTags(e.question).toLowerCase()} step${e.stepNumber}`})},goToPreviusPage(){this.pushTagging(this.isInSurvey?this.stripTags(this.surveyStepData.question):"my skin sos gdpr form","close")},goToPreviusStep(){this.pushTagging(this.surveyStepData.question,"previous"),this.updateStepState(this.stepsHistory.pop(),this.selectedAnswers.pop().selectedAnswersIDs)},answerIsSelected(e){return this.stepState.selectedAnswersIDs.includes(e)},updateStepState(e,t=[]){this.surveyStepData=e,this.stepState.questionID=e.questionID,this.stepState.isMultipleAnswers=e.isMultipleAnswers,this.stepState.selectedAnswersIDs=t;const i=window.location.pathname.split("/")[1];this.onStepTaging(e,i)},toggleSelection(e){let t=this.stepState.selectedAnswersIDs;t.includes(e)?t=t.filter((t=>t!==e)):this.stepState.isMultipleAnswers?t.push(e):t=[e],this.stepState.selectedAnswersIDs=t},getAllStepAnswers(){const e=this.selectedAnswers.map(((e,t)=>{const i=this.stepsHistory[t].answers.filter((t=>e.selectedAnswersIDs.includes(t.id)));return`${t>0&&"::"}${i.reduce(((e,t,i)=>`${e}${i>0?"-//-":""}${t.answer}`),"")}`}));return e.join("")},requestNextStep(){this.surveyStepData&&(this.stepsHistory.push(this.surveyStepData),this.selectedAnswers.push(Object.assign({},this.stepState)),this.pushTagging(this.getAllStepAnswers(),`${this.surveyStepData.question}::next`)),(0,Oi.L)(this.surveyEndPoint,{answers:this.selectedAnswers}).then((e=>{e.resultPage?location.href=e.resultPage:(this.updateStepState(e),this.reAnimate(),(0,s.eb)(this.$refs.answersContainer))})).catch((e=>{this.serverError=e}))}}},xa=Ta,Aa=(0,u.A)(xa,ka,Da,!1,null,null,null),Pa=Aa.exports,Ea=(0,s.fC)({components:{MySkinSos:Pa}}),Ma=function(){var e=this,t=e._self._c;return t("div",{staticClass:"images-mosaic list-container",class:{"hide-num":e.isShowNum}},[e.isMobile?e._e():t("ol",{ref:"desctopList",staticClass:"images-mosaic-items-list"},[e._t("default")],2),e._v(" "),e.isMobile?t("Carousel",{attrs:{bullets:!0,navigation:!0,"item-per-page-desktop":3,"page-category":e.page
9Category,"next-panel-text":"Next panel","previous-panel-text":"previous panel","nav-tagging-label":e.navTaggingLabel}},[e._t("default")],2):e._e()],1)},Ia=[],$a={name:"images-mosaic",components:{Carousel:b},props:{isShowNum:{type:Boolean,default:!1},breakPoint:{type:String,default:"1024px",required:!0},navTaggingLabel:{type:[String,Array],required:!1,default:""},pageCategory:{type:String,required:!1,default:"page category"}},data(){return{isMobile:!window.matchMedia(`(min-width: ${this.breakPoint})`).matches}},watch:{isMobile(e){!e&&this.makeList()}},mounted(){o.B.$on("mediaquery::changed",(e=>{this.isMobile=!("small"!==e.size&&"medium"!==e.size),"767px"===this.breakPoint&&(this.isMobile=!1)})),this.makeList(),this.screenMobile()},methods:{makeList(){if(this.$refs.desctopList&&!this.isMobile){const e=this.$refs.desctopList.querySelectorAll(".images-mosaic-items-list-item");e.forEach((e=>{const t=document.createElement("li");t.appendChild(e),this.$refs.desctopList.appendChild(t)}))}else this.isMobile||setTimeout((()=>{this.makeList()}),250)},screenMobile(){o.B.$on("mediaquery::changed",(e=>{this.isMobile=!("small"!==e.size&&"medium"!==e.size)}))}}},Ba=$a,qa=(0,u.A)(Ba,Ma,Ia,!1,null,null,null),Oa=qa.exports,Na=function(){var e=this,t=e._self._c;return t("div",{ref:"additionalTips",staticClass:"images-mosaic list-container",class:{"hide-num":"false"===e.isShowNum,rtlEnable:!1===!e.isRTLEnable,"no-content-mode":!e.isContentAvailableBoolean}},[e.isRTLEnable?t("VueSlickCarouselRtl",e._b({key:"rtl-"+e.refreshKey,attrs:{rtl:!0}},"VueSlickCarouselRtl",e.computedSettings,!1),[e._t("default")],2):t("VueSlickCarousel",e._b({key:"ltr-"+e.refreshKey},"VueSlickCarousel",e.computedSettings,!1),[e._t("default")],2)],1)},Va=[],Fa=i(4312),Ha=i.n(Fa),Ra=i(6600),ja=i.n(Ra),za={name:"images-mosaic-additional-tips",components:{VueSlickCarousel:Ha(),VueSlickCarouselRtl:ja()},props:{isShowNum:{type:String,default:"true"},isContentAvailable:{type:String,default:"true"},navTaggingLabel:{type:[String,Array],required:!1,default:""},pageCategory:{type:String,required:!1,default:"page category"}},data(){const e={SLIDE_WIDTH:232,GAP:24,LEFT_PADDING:72,MOBILE_BREAKPOINT:768},t={speed:500,initialSlide:0,touchThreshold:5,lazyLoad:"progressive"};return{refreshKey:0,isRTLEnable:!1,constants:e,baseSettings:{dots:!1,arrows:!0,infinite:!1,slidesToShow:3,swipe:!1,slidesToScroll:1,...t,responsive:[{breakpoint:1023,settings:{...t,dots:!0,arrows:!1,slidesToShow:2,slidesToScroll:1,swipe:!0,focusOnSelect:!0}},{breakpoint:e.MOBILE_BREAKPOINT,settings:{...t,centerMode:!0,centerPadding:"25px",slidesToShow:1,slidesToScroll:1,arrows:!1,swipe:!0,dots:!0,focusOnSelect:!0}}]}}},mounted(){this.checkRTLSupport()},watch:{isContentAvailableBoolean(){this.isMobile&&this.refreshKey++}},computed:{isMobile(){return"undefined"!==typeof window&&window.innerWidth<=this.constants.MOBILE_BREAKPOINT},isContentAvailableBoolean(){return"true"===this.isContentAvailable||!0===this.isContentAvailable},noContent(){return!this.isContentAvailableBoolean},computedSettings(){const e={...this.baseSettings,responsive:[...this.baseSettings.responsive]};if(this.isMobile){const t=e.responsive.find((e=>e.breakpoint===this.constants.MOBILE_BREAKPOINT));t&&(t.settings={...t.settings},this.noContent?Object.assign(t.settings,{slidesToShow:1.2,centerMode:!1,variableWidth:!0,centerPadding:"0",swipeToSlide:!0,edgeFriction:.15,useCSS:!0,afterChange:this.handleAfterChange,afterInit:this.handleAfterInit}):(t.settings.slidesToShow=1,t.settings.centerMode=!0))}return e}},methods:{checkRTLSupport(){const e=this.$refs.additionalTips;if(!e)return;const t=e.parentElement,i=t?.classList.contains("additional-tips"),a=document.getElementById("main-container");if(!a||!i)return void(this.isRTLEnable=!1);const s="rtl"===getComputedStyle(a).direction;this.isRTLEnable=s,s&&t.classList.add("additional-tips-rtl")},handleAfterChange(e){this.$nextTick((()=>{this.adjustCarouselPosition(e)}))},handleAfterInit(){this.$nextTick((()=>{this.adjustCarouselPosition(0)}))},adjustCarouselPosition(e){if(!this.isMobile||this.isContentAvailableBoolean)return;const t=this.$refs.additionalTips;if(!t)return;const i=t.querySelector(".slick-list"),a=t.querySelector(".slick-track");if(!i||!a)return;const s=a.querySelectorAll(".slick-slide:not(.slick-cloned)");if(!s?.length)return;const{SLIDE_WIDTH:n,GAP:r,LEFT_PADDING:o}=this.constants,l=s.length,c=i.offsetWidth,d=n*l+r*(l-1),u=c-o,p=Math.max(0,d-u),h=getComputedStyle(a).transform,m=this.parseTransformX(h),g=e>=l-1;(g||Math.abs(m)>p)&&(a.style.transform=`translate3d(${-p}px, 0px, 0px)`)},parseTransformX(e){if(!e||"none"===e)return 0;const t=e.match(/matrix\(([^)]+)\)/);if(t){const e=t[1].split(",");return parseFloat(e[4])||0}const i=e.match(/translate3d\(([^)]+)\)/);if(i){const e=i[1].split(",");return parseFloat(e[0])||0}return 0}}},Wa=za,Ua=(0,u.A)(Wa,Na,Va,!1,null,null,null),Ya=Ua.exports,Qa=(0,s.fC)({components:{ImagesMosaic:Oa,imagesMosaicAdditionalTips:Ya}}),Xa=function(){var e=this,t=e._self._c;return t("section",{staticClass:"data-cues"},[t("DataCuesHeader",{attrs:{title:e.listData.cardTitle,image:e.listData.cardImage,subTitle:e.listData.cardSubTitle,description:e.listData.cardDescription}}),e._v(" "),t("div",{staticClass:"content-wrapper"},[e.listData.isExpandableSectionEnabled?t("div",{staticClass:"data-cues__slider",class:{"center-cards":1===e.cardCount||2===e.cardCount,"single-card":1===e.cardCount}},[t("VueSlickCarousel",e._b({ref:"carousel",on:{init:e.handleInit,afterChange:e.handleAfterChange},scopedSlots:e._u([{key:"prevArrow",fn:function(){return[t("button",{staticClass:"slick-prev",attrs:{type:"button","aria-label":e.previousButtonLabel}},[t("span",{staticClass:"sr-only"},[e._v(e._s(e.previousButtonLabel))])])]},proxy:!0},{key:"nextArrow",fn:function(){return[t("button",{staticClass:"slick-next",attrs:{type:"button","aria-label":e.nextButtonLabel}},[t("span",{staticClass:"sr-only"},[e._v(e._s(e.nextButtonLabel))])])]},proxy:!0}])},"VueSlickCarousel",e.settings,!1),e._l(e.listData.expandabledatalists,(function(i,a){return t("div",{key:a,staticClass:"data-cues__slide"}
9,[t("DataCuesCard",{attrs:{title:i.expandableCardTitle,stats:i.expandableDataliststatsblocks,highlightColor:e.listData.cardHighlightColor}})],1)})),0)],1):t("DataCuesCard",{attrs:{stats:e.listData.dataliststatsblocks,highlightColor:e.listData.cardHighlightColor,title:e.listData.inlineCardTitle}})],1),e._v(" "),t("DataCuesFooter",{attrs:{sources:e.listData.sources,links:e.listData.links,footNoteText:e.listData.footNoteText,learnMoreText:e.listData.learnMoreText,learnMoreLink:e.listData.learnMoreLink,isExternalLink:e.listData.isExternalLink,learnMoreTaggingAttributes:e.listData.learnMoreTaggingAttributes}})],1)},Ga=[],Ka=function(){var e=this,t=e._self._c;return t("div",{staticClass:"data-card"},[e.title?t("h2",{staticClass:"data-card__title",attrs:{id:e.computedTitleId}},[e._v(e._s(e.title))]):e._e(),e._v(" "),t("ul",{staticClass:"data-card__list"},e._l(e.stats,(function(i,a){return t("li",{key:a,staticClass:"data-card__item"},[t("div",{staticClass:"data-card__line"},[t("div",{staticClass:"stat-info"},[t("span",{staticClass:"data-card__value"},[e._v("\n "+e._s(i.statValue)+"\n ")]),e._v(" "),t("span",{staticClass:"data-card__desc"},[e._v(e._s(i.statDescription))])]),e._v(" "),i.comparisonText?t("span",{staticClass:"data-card__comparison"},[e._v("\n "+e._s(i.comparisonText)+"\n ")]):e._e()])])})),0)])},Za=[],Ja={name:"DataCuesCard",props:{title:String,stats:{type:Array,default:()=>[]},highlightColor:String,footNoteText:String,learnMoreText:String,learnMoreLink:String,isExternalLink:Boolean,titleId:{type:String,default:null}},computed:{computedTitleId(){return this.titleId||`data-card-title-${this._uid}`}}},es=Ja,ts=(0,u.A)(es,Ka,Za,!1,null,"edc24efc",null),is=ts.exports,as=function(){var e=this,t=e._self._c;return t("div",{staticClass:"data-head"},[e.title?t("h2",{staticClass:"data-head__title"},[e._v(e._s(e.title))]):e._e(),e._v(" "),e.image?.src?t("div",{staticClass:"data-head__image"},[t("img",{attrs:{src:e.image.src,alt:e.image.alt||""}})]):e._e(),e._v(" "),t("div",{staticClass:"data-head__text"},[e.subTitle?t("h3",{staticClass:"data-head__subtitle"},[e._v(e._s(e.subTitle))]):e._e(),e._v(" "),e.description?t("p",{staticClass:"data-head__description"},[e._v(e._s(e.description))]):e._e()])])},ss=[],ns={name:"DataCuesHeader",props:{title:String,image:Object,subTitle:String,description:String}},rs=ns,os=(0,u.A)(rs,as,ss,!1,null,"9b27c40a",null),ls=os.exports,cs=function(){var e=this,t=e._self._c;return e.hasFooter?t("div",{staticClass:"data-footer"},[t("div",{staticClass:"data-footer__left"},e._l(e.normalizedSources,(function(i,a){return t("p",{key:a},[e._v(e._s(i.text))])})),0),e._v(" "),e.normalizedLinks.length?t("div",{staticClass:"data-footer__right"},e._l(e.normalizedLinks,(function(i,a){return t("a",{key:a,staticClass:"data-footer__link",attrs:{href:i.url,target:i.isExternal?"_blank":"_self"},on:{click:function(t){return e.handleLinkClick()}}},[e._v(e._s(i.text))])})),0):e._e()]):e._e()},ds=[],us={name:"DataCuesFooter",props:{sources:[Array,String],links:Array,footNoteText:String,learnMoreText:String,learnMoreLink:String,isExternalLink:Boolean,learnMoreTaggingAttributes:[Object,String]},computed:{normalizedSources(){const e=this.sources??this.footNoteText??[],t=Array.isArray(e)?e:e?[e]:[];return t.map((e=>({text:e})))},normalizedLinks(){const e=this.links||[];return Array.isArray(e)&&e.length?e:this.learnMoreText&&this.learnMoreLink?[{text:this.learnMoreText,url:this.learnMoreLink,isExternal:!!this.isExternalLink}]:[]},hasFooter(){return this.normalizedSources.length>0||this.normalizedLinks.length>0}},methods:{parseTagging(e){if(!e)return null;if("object"===typeof e)return e;try{return JSON.parse(e)}catch{return null}},handleLinkClick(){try{const e=this.parseTagging(this.learnMoreTaggingAttributes);e&&"undefined"!==typeof window&&window.dataLayer&&window.dataLayer.push(e)}catch(e){console.error("JSON parse error:",e)}}}},ps=us,hs=(0,u.A)(ps,cs,ds,!1,null,null,null),ms=hs.exports,gs={name:"DataCuesList",components:{DataCuesCard:is,VueSlickCarousel:Ha(),DataCuesHeader:ls,DataCuesFooter:ms},props:{listData:{type:Object,required:!0}},data(){return{currentSlide:0}},computed:{cardCount(){return this.listData.expandabledatalists?.length||0},previousButtonLabel(){return`Previous information - ${this.listData.cardTitle}`},nextButtonLabel(){return`Next information - ${this.listData.cardTitle}`},settings(){return{dots:!1,arrows:!0,infinite:!1,speed:500,slidesToShow:3,swipe:!0,draggable:!0,slidesToScroll:1,initialSlide:0,touchThreshold:5,lazyLoad:"progressive",variableWidth:!0,responsive:[{breakpoint:1023,settings:{dots:!0,arrows:!1,slidesToShow:2,slidesToScroll:1,speed:500,initialSlide:0,touchThreshold:5,swipe:!0,focusOnSelect:!0,lazyLoad:"progressive",variableWidth:!0}},{breakpoint:768,settings:{centerMode:!1,slidesToShow:1.1,slidesToScroll:1,speed:500,arrows:!1,initialSlide:0,swipe:!0,touchThreshold:5,dots:!0,focusOnSelect:!0,lazyLoad:"progressive",variableWidth:!0}}]}}},methods:{handleInit(){this.$nextTick(this.updateDotAccessibility)},handleAfterChange(e=0){this.currentSlide=e,this.$nextTick(this.updateDotAccessibility)},updateDotAccessibility(){const e=this.$refs.carousel?.$el;if(!e)return;const t=e.querySelectorAll(".slick-dots li");t&&t.length&&t.forEach(((e,t)=>{const i=e.querySelector("button");if(!i)return;const a=e.classList.contains("slick-active");i.setAttribute("aria-current",a?"true":"false");const s=this.listData.cardTitle||this.listData.inlineCardTitle||"data cues carousel",n=`Slide ${t+1} - ${s}`;i.setAttribute("aria-label",n),i.textContent&&i.textContent===n||(i.textContent=n)}))}}},vs=gs,_s=(0,u.A)(vs,Xa,Ga,!1,null,null,null),fs=_s.exports,ys=function(){var e=this,t=e._self._c;return t("section",{staticClass:"data-cues-chart"},[e.chartData.cardTitle?t("h2",{staticClass:"data-cues-chart__title"}
9,[e._v(e._s(e.chartData.cardTitle))]):e._e(),e._v(" "),e.chartData.cardImage?.src?t("div",{staticClass:"data-cues-chart__image"},[t("img",{attrs:{src:e.chartData.cardImage.src,alt:e.chartData.cardImage.alt}})]):e._e(),e._v(" "),t("div",{staticClass:"data-cues-chart__mobile"},[e.chartData.cardSubTitle||e.chartData.cardDescription?t("div",{staticClass:"chart-section__text"},[e.chartData.cardSubTitle?t("h3",{staticClass:"chart-section__subtitle"},[e._v(e._s(e.chartData.cardSubTitle))]):e._e(),e._v(" "),e.chartData.cardDescription?t("p",{staticClass:"chart-section__description"},[e._v(e._s(e.chartData.cardDescription))]):e._e()]):e._e(),e._v(" "),e.normalizedStats.length>0?t("DataCuesCard",{staticClass:"chart-section__card",attrs:{stats:e.normalizedStats}}):e._e(),e._v(" "),e.chartData.statImageTitle?t("h2",{staticClass:"chart-section__image-title"},[e._v(e._s(e.chartData.statImageTitle))]):e._e(),e._v(" "),e.chartData.statGraphImage?.src?t("div",{staticClass:"chart-section__image-content"},[t("img",{attrs:{src:e.chartData.statGraphImage.src,alt:e.chartData.alt}})]):e._e()],1),e._v(" "),t("div",{staticClass:"data-cues-chart__desktop"},[e.chartData.statImageTitle||e.chartData.statGraphImage||e.chartData.cardSubTitle||e.chartData.cardDescription?t("div",{staticClass:"chart-section"},[e.chartData.statGraphImage||e.chartData.statImageTitle?t("div",{staticClass:"chart-section__image"},[e.chartData.statImageTitle?t("h2",{staticClass:"chart-section__image-title"},[e._v(e._s(e.chartData.statImageTitle))]):e._e(),e._v(" "),e.chartData.statGraphImage?.src?t("div",{staticClass:"chart-section__image-content"},[t("img",{attrs:{src:e.chartData.statGraphImage.src,alt:e.chartData.alt}})]):e._e()]):e._e(),e._v(" "),e.chartData.cardSubTitle||e.chartData.cardDescription||e.normalizedStats.length>0?t("div",{staticClass:"chart-section__content"},[e.normalizedStats.length>0?t("DataCuesCard",{attrs:{stats:e.normalizedStats}}):e._e(),e._v(" "),e.chartData.cardSubTitle||e.chartData.cardDescription?t("div",{staticClass:"chart-section__text"},[e.chartData.cardSubTitle?t("h3",{staticClass:"chart-section__subtitle"},[e._v(e._s(e.chartData.cardSubTitle))]):e._e(),e._v(" "),e.chartData.cardDescription?t("p",{staticClass:"chart-section__description"},[e._v(e._s(e.chartData.cardDescription))]):e._e()]):e._e()],1):e._e()]):e._e()]),e._v(" "),t("DataCuesFooter",{attrs:{sources:e.chartData.sources,links:e.chartData.links,footNoteText:e.chartData.footNoteText,learnMoreText:e.chartData.learnMoreText,learnMoreLink:e.chartData.learnMoreLink,isExternalLink:e.chartData.isExternalLink,learnMoreTaggingAttributes:e.chartData.learnMoreTaggingAttributes}})],1)},ws=[],bs={name:"DataCuesChart",components:{DataCuesCard:is,DataCuesFooter:ms},props:{chartData:{type:Object,default:()=>({})}},computed:{normalizedStats(){return this.chartData.statValue||this.chartData.statDescription?[{statValue:this.chartData.statValue,statDescription:this.chartData.statDescription,comparisonText:this.chartData.statComparisionText||this.chartData.comparisonText}]:[]}}},Cs=bs,Ss=(0,u.A)(Cs,ys,ws,!1,null,null,null),ks=Ss.exports,Ds=function(){var e=this,t=e._self._c;return t("section",{staticClass:"data-gauge"},[t("DataCuesHeader",{attrs:{title:e.listData.cardTitle,image:e.listData.cardImage,subTitle:e.listData.cardSubTitle,description:e.listData.cardDescription}}),e._v(" "),t("div",{staticClass:"gauge-list"},[t("ul",{staticClass:"gauge-list__items"},e._l(e.listData.progressBars||[],(function(i,a){return t("li",{key:a,staticClass:"gauge-row"},[i.title?t("h2",{staticClass:"gauge-row__title"},[e._v(e._s(i.title))]):e._e(),e._v(" "),t("div",{staticClass:"gauge-row__bar-wrapper"},[i.progressBarImage?.src?t("div",{staticClass:"gauge-row__bar"},[t("img",{attrs:{src:i.progressBarImage?.src,alt:i.progressBarImage?.alt,"aria-hidden":"true"}})]):e._e(),e._v(" "),i.statValue?t("p",{staticClass:"gauge-row__value"},[e._v(e._s(i.statValue))]):e._e()]),e._v(" "),i.description?t("p",{staticClass:"gauge-row__desc"},[e._v(e._s(i.description))]):e._e()])})),0)]),e._v(" "),t("DataCuesFooter",{attrs:{sources:e.listData.sources,links:e.listData.links,footNoteText:e.listData.footNoteText,learnMoreText:e.listData.learnMoreText,learnMoreLink:e.listData.learnMoreLink,isExternalLink:e.listData.isExternalLink,learnMoreTaggingAttributes:e.listData.learnMoreTaggingAttributes}}
9)],1)},Ls=[],Ts={name:"DataCuesGauge",props:{listData:{type:Object,required:!0}},components:{DataCuesHeader:ls,DataCuesFooter:ms},computed:{normalizedSources(){const e=this.listData.sources||this.listData.footNoteText||[],t=Array.isArray(e)?e:e?[e]:[];return t.map((e=>({text:e})))},normalizedLinks(){const e=this.listData.links||[];return Array.isArray(e)&&e.length?e:this.listData.learnMoreText&&this.listData.learnMoreLink?[{text:this.listData.learnMoreText,url:this.listData.learnMoreLink,isExternal:!!this.listData.isExternalLink}]:[]},hasFooter(){return this.normalizedSources.length>0||this.normalizedLinks.length>0}}},xs=Ts,As=(0,u.A)(xs,Ds,Ls,!1,null,"64dce0ba",null),Ps=As.exports,Es=(0,s.fC)({components:{DataCuesList:fs,DataCuesChart:ks,DataCuesGauge:Ps}}),Ms=function(){var e=this,t=e._self._c;return t("div",{staticClass:"newsletter",class:e.addClass},[e.siteKey?t("load-script",{attrs:{src:"https://www.google.com/recaptcha/api.js?onload=onCaptchaAPIReady&render=explicit"}}):e._e(),e._v(" "),e._t("title"),e._v(" "),t("form",{attrs:{action:"",method:"post"},on:{submit:function(t){return t.preventDefault(),e.validateAndSend.apply(null,arguments)}}},[0!==Object.keys(e.dataFirstname).length?t("div",{staticClass:"newsletter__input"},[t("label",{directives:[{name:"show",rawName:"v-show",value:e.showFirstNamePlaceholder,expression:"showFirstNamePlaceholder"}],ref:"firstNameLable",class:{fixed:e.isFixedPlaceholder},attrs:{for:"newsletter-firstname"}},[e._v(e._s(e.dataFirstname.placeholder))]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.firstName,expression:"firstName"}],class:{"input-error":e.firstNameError},attrs:{type:"text",id:e.dataFirstname.name,"aria-describedby":e.fNameDescribedby,name:e.dataFirstname.name},domProps:{value:e.firstName},on:{blur:function(t){return e.firstNameValidation()},input:function(t){t.target.composing||(e.firstName=t.target.value)}}}),e._v(" "),e.firstNameError?t("p",{staticClass:"newsletter__error",attrs:{id:"newsletter-email-error"}},[e._v(e._s(e.dataFirstname.errormsg))]):e._e()]):e._e(),e._v(" "),0!==Object.keys(e.dataSurname).length?t("div",{staticClass:"newsletter__input"},[t("label",{directives:[{name:"show",rawName:"v-show",value:e.showSurnNamePlaceholder,expression:"showSurnNamePlaceholder"}],ref:"surNameLabel",class:{fixed:e.isFixedPlaceholder},attrs:{for:"newsletter-surname"}},[e._v(e._s(e.dataSurname.placeholder))]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.surName,expression:"surName"}],class:{"input-error":e.surNameError},attrs:{type:"text",id:e.dataSurname.name,"aria-describedby":e.surNameDescribedby,name:e.dataSurname.name},domProps:{value:e.surName},on:{blur:function(t){return e.surNameValidation()},input:function(t){t.target.composing||(e.surName=t.target.value)}}}),e._v(" "),e.surNameError?t("p",{staticClass:"newsletter__error",attrs:{id:"newsletter-email-error"}},[e._v(e._s(e.dataSurname.errormsg))]):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"newsletter__input"},[t("label",{directives:[{name:"show",rawName:"v-show",value:e.showemailPlaceholder,expression:"showemailPlaceholder"}],ref:"emailLabel",class:{fixed:e.isFixedPlaceholder},attrs:{for:"newsletter-email"}},[e._v(e._s(e.emailPlaceholder))]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.emailField,expression:"emailField"}],class:{"input-error":e.hasErrorValidEmail||e.hasErrorEmail},attrs:{type:"email",id:"newsletter-email","aria-describedby":e.emailDescribedby,name:"newsletter-email"},domProps:{value:e.emailField},on:{blur:function(t){e.checkEmailValid(),e.isEmailEmpty()},input:function(t){t.target.composing||(e.emailField=t.target.value)}}}),e._v(" "),e.hasErrorValidEmail?t("p",{staticClass:"newsletter__error",attrs:{id:"newsletter-email-error"}},[e._v(e._s(e.validationMsg.emailFormat))]):e._e(),e._v(" "),e.hasErrorEmail?t("p",{staticClass:"newsletter__error",attrs:{id:"newsletter-email-error"}},[e._v(e._s(e.validationMsg.emailEmpty))]):e._e()]),e._v(" "),t("div",{staticClass:"newsletter__select",attrs:{id:"newsletterSelectComponent"}},[t("div",{staticClass:"newsletter__select_box"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.countryField,expression:"countryField"}],attrs:{name:"newsletterSelect",id:"newsletterSelect"},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,
9(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.countryField=t.target.multiple?i:i[0]}}}),e._v(" "),t("p",{staticClass:"newsletter__error",attrs:{id:"newsletter-country-error"}},[e._v(e._s(e.validationMsg.dataSelected))])])]),e._v(" "),e.dataPersonaldataEnable?t("div",{staticClass:"newsletter__input-personal"},[t("span",{domProps:{innerHTML:e._s(e.dataPersonaldataRich)}})]):e._e(),e._v(" "),t("div",{staticClass:"newsletter__terms"},[t("div",{staticClass:"newsletter__checkbox"},["False"==e.disableToggle?t("input",{directives:[{name:"model",rawName:"v-model",value:e.termsField,expression:"termsField"}],staticClass:"is-sr-only",attrs:{id:"terms-of-use",type:"checkbox","aria-describedby":e.termsDescribedby,name:"terms-of-use"},domProps:{checked:Array.isArray(e.termsField)?e._i(e.termsField,null)>-1:e.termsField},on:{change:function(t){var i=e.termsField,a=t.target,s=!!a.checked;if(Array.isArray(i)){var n=null,r=e._i(i,n);a.checked?r<0&&(e.termsField=i.concat([n])):r>-1&&(e.termsField=i.slice(0,r).concat(i.slice(r+1)))}else e.termsField=s}}}):e._e(),e._v(" "),"False"==e.disableToggle?t("label",{attrs:{for:"terms-of-use"}},[e._t("terms")],2):e._e(),e._v(" "),"True"==e.disableToggle?t("span",{staticClass:"disable-checkbox"},[e._t("terms")],2):e._e()]),e._v(" "),e.hasErrorTerms?t("p",{staticClass:"newsletter__error",attrs:{id:"terms-of-use-error"}},[e._v(e._s(e.validationMsg.terms))]):e._e()]),e._v(" "),e.siteKey?t("div",{staticClass:"newsletter__captcha"},[t("div",{staticClass:"g-recaptcha",attrs:{id:"letter-recaptcha"}}),e._v(" "),e.hasErrorCapcha?t("p",{staticClass:"newsletter__error"},[e._v(e._s(e.validationMsg.captcha))]):e._e()]):e._e(),e._v(" "),null===e.serverResponse?t("button",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{category:"registration",action:"newsletter",label:"body",event_name:"newsletter_registration",referral:"body"},expression:"{\n 'category': 'registration',\n 'action': 'newsletter', \n 'label': 'body',\n 'event_name': 'newsletter_registration',\n 'referral': 'body' }",arg:"useractionevent"}],class:[e.ctaClass,{disabled:!e.isSumbitEnabled}],attrs:{type:"submit",disabled:!e.isSumbitEnabled}},[t("span",{staticClass:"btn__wrapper"},[e._v(e._s(e.submitBtnText))])]):e._e(),e._v(" "),t("div",{attrs:{role:"alert"}},[null!==e.serverResponse?t("p",{staticClass:"newsletter__response",class:{error:!e.serverResponse}},[e._v(e._s(e.confirmMsg))]):e._e()])])],2)},Is=[],$s={name:"newsletter",directives:{tag:_.Tc},components:{LoadScript:ai.A},props:{addClass:{type:String,default:""},apiUrl:{type:String,default:""},successMsg:{type:String,default:""},countryCode:{type:String,default:""},errorMsg:{type:String,default:""},siteKey:{type:String,default:""},emailPlaceholder:{type:String,default:""},submitBtnText:{type:String,default:""},disableToggle:{type:String,default:"True"},validationMsg:{type:Object,default:()=>({emailFormat:"Please use valid email format.",emailEmpty:"Please enter your email address.",terms:"Please accept the terms of use.",captcha:"Please check the captcha",dataSelected:"Please select the country"})},ctaClass:{type:String,default:"btn btn--black"},dataFirstname:{type:Object},dataSurname:{type:Object},dataPersonaldataRich:{type:String,default:""},dataPersonaldataEnable:{type:Boolean}},data(){return{isSumbitEnabled:!1,serverResponse:null,emailField:"",showemailPlaceholder:!0,countryField:"",termsField:!1,hasErrorValidEmail:!1,hasErrorEmail:!1,hasErrorTerms:!1,hasErrorCapcha:!1,countryCodeData:this.countryCode,news:"",captchaResponse:"",captchaValue:"",firstName:"",surName:"",firstNameError:!1,surNameError:!1,showFirstNamePlaceholder:!0,showSurnNamePlaceholder:!0,agreeVal:"",isagreeOption:null}},computed:{confirmMsg(){return this.serverResponse?this.successMsg:this.errorMsg},fetchUrl(){return`${window.location.origin}/${this.apiUrl}`},canSubmit(){let e=this.countryCode,t=e.split(",");return t.length>1?!!this.emailField&&!this.hasErrorValidEmail&&this.termsField&&this.countryField:(0===Object.keys(this.dataSurname).length&&(this.surName=!0),0===Object.keys(this.dataFirstname).length&&(this.firstName=!0),!!this.emailField&&!this.hasErrorValidEmail&&this.termsField&&!!this.surName&&!!this.firstName)},isFixedPlaceholder(){return!!this.emailField&&this.hasErrorValidEmail||""!==this.emailField&&!this.hasErrorValidEmail&&!this.hasErrorEmail||""!==this.emailField&&!this.hasErrorValidEmail},emailDescribedby(){return!(!this.hasErrorValidEmail&&!this.hasErrorEmail)&&"newsletter-email-error"},surNameDescribedby(){return!!this.surNameError},fNameDescribedby(){return!!this.firstNameError}
9,termsDescribedby(){return!!this.hasErrorTerms&&"terms-of-use-error"}},watch:{emailField(){0!==this.emailField.length?this.showemailPlaceholder=!1:this.showemailPlaceholder=!0},canSubmit(e){this.isSumbitEnabled=e},termsField(){this.checkTermsValid()},surName(){0!==this.surName.length?this.showSurnNamePlaceholder=!1:this.showSurnNamePlaceholder=!0},firstName(){this.showFirstNamePlaceholder=!0,0!==this.firstName.length&&(this.showFirstNamePlaceholder=!1)}},created(){this.captchaResponse=localStorage.captchaResponse,window.onCaptchaAPIReady=this.onCaptchaAPIReady},mounted(){this.isagreeOption=document.getElementById("agreeOption"),this.isagreeOption&&(this.agreeVal=document.querySelector('input[name="options"]:checked')?.value,document.getElementById("agreeOption").addEventListener("click",(e=>{e.target&&e.target.matches("input[type='radio']")&&(this.agreeVal=e.target.value,this.checkEmailValid(),this.firstNameValidation(),this.surNameValidation())})));let e=this.countryCode,t=e.split(","),i="";for(let s=0;s<t.length;s++)i+=0===s?"<option value='' selected>"+t[s]+"</option>":"<option value='"+t[s]+"'>"+t[s]+"</option>";if(document.getElementById("newsletterSelect").innerHTML=i,t.length<=1||t.length<="null"){let e=document.getElementById("newsletterSelectComponent");e.parentElement.removeChild(e)}let a=document.getElementById("newsletter-country-error");a&&void 0!==a&&(a.style.display="none",document.getElementById("newsletterSelect").addEventListener("change",(function(){""===this.value?a.style.display="block":a.style.display="none"})))},methods:{onCaptchaAPIReady(){setTimeout((()=>{"undefined"===typeof grecaptcha&&"function"!==typeof grecaptcha.render?this.onCaptchaAPIReady():grecaptcha.render("letter-recaptcha",{sitekey:this.siteKey,callback:this.checkCaptcha})}),200)},checkCaptcha(){0!==grecaptcha.getResponse().length?this.hasErrorCapcha=!1:this.hasErrorCapcha=!0,this.captchaValue=grecaptcha.getResponse()},isEmailEmpty(){""===this.emailField?(this.hasErrorEmail=!0,"True"===this.disableToggle&&this.agreeVal&&(this.isSumbitEnabled=!0)):this.hasErrorEmail=!1},validateEmail(e){const t=/^(([^<>()\[\]\\.,;:\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,}))$/;return t.test(String(e).toLowerCase())},checkEmailValid(){this.validateEmail(this.emailField)||""===this.emailField?this.hasErrorValidEmail=!1:this.hasErrorValidEmail=!0,"True"===this.disableToggle&&(this.isagreeOption?this.agreeVal&&(this.isSumbitEnabled=!0):this.isSumbitEnabled=!0),this.radioValidation()},surNameValidation(){!0===this.dataSurname.mandatory?""!==this.surName?this.surNameError=!1:this.surNameError=!0:this.surNameError=!1,"True"===this.disableToggle&&(this.isagreeOption?this.agreeVal&&(this.isSumbitEnabled=!0):this.isSumbitEnabled=!0),this.radioValidation()},radioValidation(){""!==this.firstName&&""!==this.surName&&""!==this.emailField||(this.isSumbitEnabled=!1)},firstNameValidation(){!0===this.dataFirstname.mandatory?""!==this.firstName?this.firstNameError=!1:this.firstNameError=!0:this.firstNameError=!1,"True"===this.disableToggle&&(this.isagreeOption?this.agreeVal&&(this.isSumbitEnabled=!0):this.isSumbitEnabled=!0),this.radioValidation()},checkTermsValid(){this.termsField?this.hasErrorTerms=!1:this.hasErrorTerms=!0},sendEmail(e,t){const i=this;return(0,Oi.L)(this.fetchUrl,{email:e,captchaResponse:i.captchaValue,country:t,firstName:i.firstName,lastName:i.surName,agreeOption:this.agreeVal})},validateAndSend(){this.isEmailEmpty(),this.firstNameValidation(),this.surNameValidation(),"False"===this.disableToggle&&this.checkTermsValid(),this.siteKey?(this.checkCaptcha(),this.emailField&&!this.hasErrorCapcha&&(this.isSumbitEnabled=!1,this.sendEmail(this.emailField,this.countryField).then((e=>this.serverResponse=e)))):this.emailField&&(this.isSumbitEnabled=!1,this.sendEmail(this.emailField,this.countryField).then((e=>this.serverResponse=e)))}}},Bs=$s,qs=(0,u.A)(Bs,Ms,Is,!1,null,null,null),Os=qs.exports,Ns=(0,s.fC)({components:{Newsletter:Os}}),Vs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer_contrast_switcher_block",class:e.isContrastMode&&"on",on:{click:function(t){return t.preventDefault(),(()=>e.toggleContrastMode()).apply(null,arguments)}}},[e._t("default")],2)},Fs=[],Hs={name:"contrast-switcher-button",props:{styleLinkId:{type:String,required:!0,default:void 0},regularStyleBundle:{type:String,required:!0,default:void 0},contrastStyleBundle:{type:String,required:!0,default:void 0}},data(){return{isContrastMode:!1}},mounted(){const e=localStorage.getItem("contrastMode");this.isContrastMode=e?JSON.parse(e):this.$el.querySelectorAll("input")[0].checked,this.isContrastMode&&document.getElementsByTagName("body")[0].classList.add("contrast-mode"),this.$el.querySelectorAll("input")[0].classList.add(this.isContrastMode?"on":"off"),this.setContrastMode(!0)},methods:{toggleContrastMode(){this.isContrastMode=!this.isContrastMode,document.getElementsByTagName("body")[0].classList.toggle("contrast-mode"),this.$el.querySelectorAll("input")[0].classList.toggle("on"),this.$el.querySelectorAll("input")[0].classList.toggle("off"),this.setContrastMode()},setContrastMode(e){this.$el.querySelectorAll("input")[0].checked=this.isContrastMode;const t=this.isContrastMode?this.contrastStyleBundle:this.regularStyleBundle,i=document.getElementById(this.styleLinkId);i?.href&&i.href!==t&&(i.href=t,!e&&_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",eventCategory:"footer",eventAction:"select::high contrast mode",eventLabel:this.isContrastMode?"enable":"unable"})),document.cookie="contrastMode="+this.isContrastMode+";samesite=strict",localStorage.setItem("contrastMode",this.isContrastMode)}}},Rs=Hs,js=(0,u.A)(Rs,Vs,Fs,!1,null,null,null),zs=js.exports,Ws=(0,s.fC)({components:{contrastSwitcherButton:zs}}),Us=function(){var e=this,t=e._self._c;return t("section",{staticClass:"datapush-main"},[t("div",{staticClass:"datapush-wrapper"},[t("div",{staticClass:"section-heading"},[t("h2",{staticClass:"section-heading__title",domProps:{innerHTML:e._s(e.dataPush.Title)}}),e._v(" "),t("div",{staticClass:"section-heading__sub-title",domProps:{innerHTML:e._s(e.dataPush.SubTitle)}})]),e._v(" "),t("div",{staticClass:"section-carousel"},[t("div",{staticClass:"keydata"},[t("ul",e._l(e.dataPush.KeyData,(function(i,a){return t("li",{key:a,staticClass:"content"},[t("div",{staticClass:"title",domProps:{innerHTML:e._s(i.KeyDataTitle)}}),e._v(" "),t("div",{staticClass:"description",domProps:{innerHTML:e._s(i.KeyDataDescription)}}),e._v(" "),t("div",{staticClass:"disclaimer",domProps:{innerHTML:e._s(i.Disclaimer)}})])})),0)]),e._v(" "),t("div",{staticClass:"datapush-carousel"},[t("div",{staticClass:"carousel-container"},[t("swiper",{ref:"swiper",staticClass:"swiper",attrs:{options:e.swiperOption},on:{slideChange:e.onTagging}},e._l(e.dataPush.CarouselItem,(function(i,a){return t("swiper-slide",{key:a+0,class:{"swiper-highligher":e.currentLink===a},attrs:{"data-index":a}},[t("div",{staticClass:"slide-section"},[i.YoutubeId?t("div",{staticClass:"image-contianer"},[i.Popup?[t("div",{staticClass:"youtube-player"},[t("div",{ref:"poster",refInFor:!0,staticClass:"youtube-player__poster",style:"background-image:url("+i.Src+")"}),e._v(" "),t("button",{ref:"playBtn",refInFor:!0,staticClass:"play-button",on:{click:function(t){return e.showVideo(i)}}},[t("span",{staticClass:"play-icon"}),e._v(" "),t("span",{staticClass:"play-text"},[e._v(e._s(i.PlaybuttonText))]),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(i.PlaybuttonText))])])])]:[t("youtube-player",{attrs:{"youtube-id":i.YoutubeId,poster:i.Src,popup:i.Popup,autoplay:!0,"aria-label":i.PlaybuttonText,"newplay-button":!0,"play-text":i.PlaybuttonText}})]],2):t("div",{staticClass:"image-contianer"},[t("img",{attrs:{src:i.Src,alt:"data-push-image"}})])]),e._v(" "),i.YoutubeId&&i.Transcript?t("collapse",{staticClass:"transcript__collapse",attrs:{"aria-label":e.showTranscript},scopedSlots:e._u([{key:"title",fn:function(a){return[a.collapsed?[e._v("\n "+e._s(i.TranscriptShowText)+" "),t("span",{staticClass:"arrow down"})]:[e._v("\n "+e._s(i.TranscriptHiddenText)+" "),t("span",{staticClass:"arrow up"})]]}}],null,!0)},[e._v(" "),t("span",{domProps:{innerHTML:e._s(i.Transcript)}}
9)]):e._e()],1)})),1)],1)])])]),e._v(" "),e.hidenavigation?e._e():t("div",{staticClass:"navigation-wrapper"},[t("div",{staticClass:"carousel-navigation"},[t("div",{staticClass:"carousel__arrow carousel__arrow--left",class:{disabled:e.swiperAtBegain},attrs:{slot:"button-prev"},on:{click:function(t){return e.prev()}},slot:"button-prev"}),e._v(" "),t("div",{staticClass:"carousel__arrow carousel__arrow--right",class:{disabled:e.swiperAtEnd},attrs:{slot:"button-next"},on:{click:function(t){return e.next()}},slot:"button-next"})])]),e._v(" "),t("div",{staticClass:"generic-banner"},[e.showGenericComponent?t("generic-banner-youtube-player",{attrs:{poster:e.poster,"youtube-id":e.youtubeId,autoplay:e.carouselautoplay,"carousel-popup":!0},on:{closeGenericComponent:function(t){return e.closeGenericComponent()}}}):e._e()],1)])},Ys=[],Qs=i(847),Xs={name:"data-push",components:{Swiper:X.Swiper,SwiperSlide:X.SwiperSlide,GenericBannerYoutubePlayer:Qi,YoutubePlayer:Qs.A,collapse:B.A},props:{dataPush:{type:Array/Object,default:void 0},dataPushTitleForTagging:{type:String,required:!1,default:""},pageCategory:{type:String,required:!1,default:""},showTranscript:{type:String,required:!1,default:""}},data(){return{currentLink:void 0,swiperAtEnd:!1,swiperAtBegain:!0,showGenericComponent:!1,poster:void 0,carouselautoplay:!0,swiperOption:{pagination:".swiper-pagination",spaceBetween:15,navigation:{nextEl:".carousel__arrow carousel__arrow--left",prevEl:".carousel__arrow carousel__arrow--right",hiddenClass:".swiper-button-hidden"},breakpoints:{768:{slidesPerView:"auto"},320:{slidesPerView:1}}}}},computed:{posterBackground(){return this.poster&&"url("+this.poster+")"},hidenavigation(){return this.dataPush.CarouselItem.length<=1}},created(){document.documentElement.style.setProperty("--theme-color",this.dataPush.ColorTheme)},beforeUpdate(){this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd},destroyed(){document.documentElement.style.removeProperty("---theme-color")},methods:{showVideo(e){this.youtubeId=e.YoutubeId,this.showGenericComponent=!0,this.poster=e.Src,this.carouselautoplay=e.AutoPlay},closeGenericComponent(){this.showGenericComponent=!1},prev(){this.$refs.swiper.$swiper.slidePrev(),this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning},next(){this.$refs.swiper.$swiper.slideNext(),this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd},onTagging(){let e=this.$refs.swiper.$swiper.activeIndex+1,t=this.decodeHtmlstring(this.dataPush.Title).toLowerCase();this.dataPush.CarouselItem[e-1].YoutubeId?this.dataPush.CarouselItem[e-1].VideoName:this.dataPush.CarouselItem[e-1].ImageName;_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:this.pageCategory,eventAction:"select::slider navigation elements",eventLabel:`${t}::none::${[e]}`,cta_name:`${t}::none::${[e]}`,module_name:`slider navigate::${t}`})},decodeHtmlstring(e){let t=document.createElement("div");t.innerHTML=e;let i=t.innerText.replaceAll("\n"," ");return i}}},Gs=Xs,Ks=(0,u.A)(Gs,Us,Ys,!1,null,null,null),Zs=Ks.exports,Js=(0,s.fC)({components:{DataPush:Zs}}),en=function(){var e=this,t=e._self._c;return t("div",{staticClass:"article-push-v2"},[t("carousel",{attrs:{bullets:!0,navigation:!0,"item-per-page-desktop":3,"page-category":"product page","next-panel-text":"Next panel","previous-panel-text":"previous panel"}},[t("div",{staticClass:"title__wrapper",attrs:{slot:"header"},slot:"header"},[e.options.ArticleTitle?t("h3",{staticClass:"heading",domProps:{innerHTML:e._s(e.options.ArticleTitle)}}):e._e()]),e._v(" "),e._l(e.options.RelatedPages,(function(e,i){return t("div",{key:i},[t("article-card",{attrs:{"src-set":e.SrcSet,"img-src":e.ImgSrc,"img-alt":e.ImageAltText,"item-title":e.Title,"item-url":e.Link,tagging:e.Tagging,"cta-label":e.CtaLabel}})],1)}))],2)],1)},tn=[],an=i(3889),sn={name:"article-push-v2",components:{Carousel:b,ArticleCard:an["default"]},props:{options:{type:Object,required:!0,default(){}}}},nn=sn,rn=(0,u.A)(nn,en,tn,!1,null,null,null),on=rn.exports,ln=(0,s.fC)({components:{Art
9iclePushV2:on}}),cn=i(2453),dn=(0,s.fC)({components:{BigQuote:cn["default"]}}),un=function(){var e=this,t=e._self._c;return e.showModal?t("div",{staticClass:"success-modal-popin"},[t("div",{staticClass:"modal__backface",on:{click:e.closeModal}}),e._v(" "),t("div",{staticClass:"modal__wrapper modal_popup"},[t("button",{staticClass:"modal__close-btn success-modal-close",attrs:{type:"button"},on:{click:e.closeModal,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeModal.apply(null,arguments)}}},[t("div",{staticClass:"btn_close close",attrs:{id:"btn_close"}})]),e._v(" "),e._t("title")],2)]):e._e()},pn=[],hn={name:"success-modal",data(){return{showModal:!1}},created(){window.eventBus.$on("clickandEnabledPopup",(e=>{this.showModal=e}))},methods:{closeModal(){this.showModal=!1}}},mn=hn,gn=(0,u.A)(mn,un,pn,!1,null,null,null),vn=gn.exports,_n=(0,s.fC)({components:{SuccessModal:vn}}),fn=i(970),yn=(0,s.fC)({components:{Modal:fn.A}}),wn=(0,s.fC)({components:{LanguageSwitcher:De}}),bn=function(){var e=this,t=e._self._c;return t("div",[t("select-multiple",{attrs:{placeholder:e.label,count:e.count},model:{value:e.localValue,callback:function(t){e.localValue=t},expression:"localValue"}},[e._t("default")],2)],1)},Cn=[];function Sn(e){const t=e.replace(/^\?/,"");return t?t.split("&").reduce(((e,t)=>{const i=t.split("=")[0],a=decodeURIComponent(t.split("=")[1]).trim();return a&&(e[i]=a.split(",")),e}),{}):{}}var kn={name:"product-filter",components:{SelectMultiple:At},props:{taggingCategory:{type:String,required:!1,default:void 0},type:{type:String,required:!0,default:void 0},value:{type:Array,required:!1,default:()=>[]},placeholder:{type:String,required:!0}},data(){return{mounting:!1,selectedFiltersCount:0,quickSort:!1}},computed:{localValue:{get(){return this.$store.getters.getFilter(this.type)},set(e){if(this.mounting){this.setFilterValue({type:this.type,value:e});let t=e[e.length-1];this.selectedFiltersCount<e.length&&this.quickSort&&_.Xj.pushDataLayer({event:"uaevent",event_name:"use_filters",ecommerce:"undefined",eventCategory:this.taggingCategory,eventAction:"filter",eventLabel:`filter_tags::${t.toLowerCase()}`,filter_type:"filter",filter_value:`filter_tags::${t.toLowerCase()}`}),this.selectedFiltersCount=e.length}}},label(){return this.placeholder},count(){const e=this.$store.getters.getFilter(this.type);return e.length>=1?`(${e.length})`:""}}
9,watch:{value(e){this.$store.commit("filters",{type:this.type,value:e})}},created(){this.mounting=!1;const e=Sn(window.location.search);this.$store.commit("filters",{type:this.type,value:e[this.type]||this.value})},mounted(){this.mounting=!0,window.eventBus.$on("quicksortTrigger",(e=>{this.quickSort=e})),this.$nextTick((()=>{this.selectedFiltersCount=this.localValue}))},destroyed(){this.$store.commit("deleteFilter",this.type)},methods:{...(0,yt.i0)(["setFilterValue"])}},Dn=kn,Ln=(0,u.A)(Dn,bn,Cn,!1,null,null,null),Tn=Ln.exports,xn=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showFilter,expression:"showFilter"}],staticClass:"products-filters"},[t("div",{staticClass:"products-filters__wrapper"},[t("div",{staticClass:"products-filters-sticky"},[t("div",{staticClass:"products-filters__container"},[t("div",{staticClass:"products-filters__select-wrapper"},[t("button",{staticClass:"products-filters__close",on:{click:e.closeFilter}},[t("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 12.9636L12.9636 -1.50258e-06L15.4385 2.47487L2.47487 15.4385L0 12.9636Z",fill:"black"}}),e._v(" "),t("rect",{attrs:{x:"2.47485",width:"18.3333",height:"3.5",transform:"rotate(45 2.47485 0)",fill:"black"}})])]),e._v(" "),e._t("default")],2)]),e._v(" "),t("loader",{staticClass:"products-filters__loader-wrapper",attrs:{show:e.productsLoading}},[e._t("loading")],2)],1),e._v(" "),t("div",{staticClass:"products-filters__cta-wrapper"},[e.viewresults||e.getFilterSortCta?e._t("viewresult",null,{fetchProducts:e.fetchProducts}):e._e(),e._v(" "),e.viewresults||e.getFilterSortCta?e._t("clear",null,{clearFilters:e.clearFiltersProducts}):e._t("close",null,{closeFilters:e.closeFilter})],2)])])},An=[];class Pn{constructor(e){e?(this.mqs=e,this.matchMediaItems=this.nomockcreateWorkingData(),this.bind()):console.error("No media queries object given")}nomockcreateWorkingData(){return this.mqs.map((e=>Pn.createMatchMediaItem(e)))}static createMatchMediaItem(e){return{query:e.mq,selected:e.selected,size:e.size,matchMedia:window.matchMedia(e.mq)}}bind(){this.matchMediaItems.forEach((e=>{e.matchMedia.addListener((()=>{e.matchMedia.matches&&this.select(e.query)}))}))}select(e){this.unselectAll();const t=this.matchMediaItems.find((t=>t.query===e));return t.selected=!0,F.B.$emit("mediaquery::changed",t),t}unselectAll(){return this.matchMediaItems.forEach((e=>{e.selected=!1})),this.matchMediaItems}getCurrentMq(){return this.matchMediaItems.find((e=>!0===e.selected))}getMqForSize(e){return this.matchMediaItems.find((t=>t.size===e))}static for(e){return this.nomockgetMqHandler().getMqForSize(e).selected}static nomockgetMqHandler(e){return this.$mqHandler||(this.$mqHandler=new Pn(this.nomockreadCSS(e))),this.$mqHandler}static nomockreadCSS(e){const t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css";const a=this.nomockcreateCSSRules(e);i.appendChild(document.createTextNode(a)),t.appendChild(i);const s=JSON.parse(window.getComputedStyle(document.querySelector("body"),":before").getPropertyValue("content").replace(/\\/g,"").slice(1,-1));return document.querySelector("head").removeChild(i),s}static nomockcreateCSSRules(e={}){const{small:t=768,medium:i=1024}=e;return`\n body::before {\n content: '[{"mq":"(max-width: ${t-1}px)","selected":true,"size":"small"},{"mq":"(min-width: ${t}px) and (max-width: ${i-1}px)","selected":false,"size":"medium"},{"mq":"(min-width: ${i}px)","selected":false,"size":"large"}]';\n }\n @media (min-width: ${t}px) {\n body::before {\n content: '[{"mq":"(max-width: ${t-1}px)","selected":false,"size":"small"},{"mq":"(min-width: ${t}px) and (max-width: ${i-1}px)","selected":true,"size":"medium"},{"mq":"(min-width: ${i}px)","selected":false,"size":"large"}]';\n }\n }\n @media (min-width: ${i}px) {\n body::before {\n content: '[{"mq":"(max-width: ${t-1}px)","selected":false,"size":"small"},{"mq":"(min-width: ${t}px) and (max-width: ${i-1}px)","selected":false,"size":"medium"},{"mq":"(min-width: ${i}px)","selected":true,"size":"large"}]';\n }\n }\n `.split("\n").map((e=>e.trim())).join("")}}const En={name:"sticky",inserted(e,t){const i=e.querySelector(t.value);let a,n;const r=()=>
9{Pn.for("large")?(a=e.getBoundingClientRect(),n=a.bottom,n<0?(i.classList.add("is-sticky"),e.style.height=`${a.height}px`):(i.classList.remove("is-sticky"),e.style.height="auto")):i.classList.remove("is-sticky")};e.handler=(0,s.nF)(r,160),window.addEventListener("scroll",e.handler),o.B.$on("mediaquery::changed",e.handler)},unbind(e){window.removeEventListener("scroll",e.handler),o.B.$off("mediaquery::changed",e.handler)}};var Mn={name:"product-filters",components:{Loader:re},directives:{sticky:En},data(){return{showFilter:!1,containerElement:null}},computed:{...(0,yt.L8)(["productsLoading","getFilterSortCta"]),viewresults(){let e=this.$store.getters.getToltalFilter,t=0;return Object.keys(e).forEach(((i,a)=>{"sortBy"!=i&&e[i].length>=1&&(t+=1)})),t>=1||this.$store.getters.getSortBy}},props:{taggingCategory:{type:String,required:!1,default:void 0},isSortAvailable:{default:!0,type:Boolean}},beforeMount(){window.eventBus.$on("toggleProductFilter",(()=>{setTimeout((()=>{this.handleClassOnScroll()}),500)})),document.addEventListener("click",(e=>{if("products-filters"==e.target.className||"products-filters noSort"==e.target.className){let e=document.getElementsByTagName("body");e&&e[0].classList.remove("filterPopup"),this.showFilter=!1}}))},mounted(){this.popHistoryListener=e=>this.setState(e.state),window.addEventListener("popstate",this.popHistoryListener),window.eventBus.$on("openFilterModel",(e=>
9{e&&(this.showFilter=e)})),this.containerElement=document.querySelector(".products-filters__select-wrapper")},destroyed(){window.removeEventListener("popstate",this.popHistoryListener)},methods:{gaTagging(){let e,t,i=this.$store.getters.getToltalFilter,a=this.$store.getters.getSortBy,s="",n="";""!=a&&(s+="sort by::"+a.toLowerCase()+"-//-",e=!0);for(let o in i){let e;i[o].length>0&&"sortBy"!=o&&(e=o.toLowerCase(),i[o].forEach(((t,i)=>{e+="::"+t.toLowerCase()})),s+=e+"-//-",t=!0)}n=t&&e?"filter-//-sort":t?"filter":"sort";let r=s.slice(0,-4);window.dataLayer.push({event:"uaevent",ecommerce:"undefined",eventLabel:r,eventAction:n,eventCategory:this.taggingCategory,event_name:"use_filters",filter_type:n,filter_value:r}),this.eventAction=[]},handleClassOnScroll(){let e=document.querySelector(".products-filters__wrapper");this.containerElement&&((0==this.containerElement.scrollHeight&&0==this.containerElement.clientHeight||this.containerElement.scrollHeight==this.containerElement.clientHeight)&&!e.classList.contains("overflow")&&e.classList.add("overflow"),this.containerElement.scrollHeight>this.containerElement.clientHeight&&e.classList.contains("overflow")&&e.classList.remove("overflow"))},async fetchProducts(){this.gaTagging(),this.$store.commit("filterSortCta",!0),await this.$store.dispatch("fetchFilterProducts",!0),this.showFilter=!this.showFilter,window.eventBus.$emit("quicksort"),window.eventBus.$emit("closefilter",this.showFilter);let e=document.getElementsByTagName("body");e&&e[0].classList.remove("filterPopup")},closeFilter(){this.showFilter=!this.showFilter,window.eventBus.$emit("closefilter",this.showFilter);let e=document.getElementsByTagName("body");e&&e[0].classList.remove("filterPopup")},async clearFiltersProducts(){await this.$store.dispatch("clearFiltersProducts",!0),window.eventBus.$emit("quicksort")},...(0,yt.i0)(["setState","formHistory"])},watch:{showFilter:{handler(){this.showFilter&&this.handleClassOnScroll()}}}},In=Mn,$n=(0,u.A)(In,xn,An,!1,null,null,null),Bn=$n.exports,qn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"product-list",attrs:{id:e.productListId}},[e.products?[e.showTitle?e._t("title"):e._e(),e._v(" "),t("ul",{staticClass:"product-list container--is-maxwidth",class:e.getListType},e._l(e.products,(function(i,a){return t("li",{key:a,staticClass:"product-list__item"},[t("input",{attrs:{type:"hidden","data-product-id":`${i.productId}`},domProps:{value:JSON.stringify(i)}}),e._v(" "),!e.renderItems||"article"!==e.getListType&&"simple"!==e.getListType?e.renderItems&&"ingredient"===e.getListType?[t("div",{staticClass:"ingredient"},[t("a",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:i.action,label:i.ingredientName,category:i.category},expression:"{\n action: product.action,\n label: product.ingredientName,\n category: product.category,\n }",arg:"useractionevent"}],staticClass:"ingredient__name",attrs:{href:i.ingredientLink,tabindex:"0"},domProps:{innerHTML:e._s(i.ingredientName)}}),e._v(" "),t("p",{staticClass:"ingredient__content",domProps:{innerHTML:e._s(i.ingredientContent)}}),e._v(" "),t("a",{class:e.ctaClass,attrs:{href:i.ingredientLink}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.ctaLabelDecoded)+"\n ")])])])]:!e.renderItems||"concern"!==e.getListType&&"range"!==e.getListType&&"mol"!==e.getListType?!e.listItems&&""===e.getListType||"product"===e.getListType?t("product-card",{attrs:{"product-name":{text:i.productName,html:i.productNameHtml},"product-short-description":i.productShortDescription,"product-url":i.productUrl,tagging:i.tagging,packshot:i.packshot,"cta-label":e.ctaLabelDecoded,"star-rating-text":i.starRatingText,"average-rating":Number(i.averageRating),"inactive-color":i.inactiveColor,"active-color":i.activeColor,"is-rating-enabled":`${"true"===String(i.isRatingEnabled).toLowerCase()}`,"is-bazaarvoice-activated":`${"true"===String(i.IsBazaarvoiceActivated).toLowerCase()}`,"border-color":i.activeColor,"product-id":`${i.productId}`,"product-item-id":`${i.productItemId}`,"border-width":"1","aria-hidden":"true","is-buynow-enabled":`${"true"===String(e.buyNowEnable).toLowerCase()}`,"buynow-cta-text":e.buyNowLabel,"total-rating-count":i.starRatingText,"data-variant-ean":"","initial-data":"","data-bynow-tagging":"","error-messgage":"","product-data-id":i.productId,"page-category":e.page
9Category,"is-count-in-brackets":e.isCountInBrackets,"is-mikmak-enabled":e.isMikmakEnabled,"label-text":e.labelText,"mikmak-widget-id":e.mikmakWidgetId,"mikmak-sticky-button":e.mikmakStickyButton,"analytics-data":e.analyticsData,"product-ean":i.ProductEanNumber,"is-singlevariant":i.VariantCount,"mikmak-tagging":i.MikMakAddToCart,"is-store-locator-enabled":e.isStoreLocatorEnabled,"store-locator-label":e.storeLabel,"store-locator-url":e.storeUrl}}):e._e():t("concern-card",{attrs:{"src-set":i.srcset,"img-src":i.src,"img-alt":i.alt,"item-url":i.href,"item-title":i.description,tagging:{label:i.descriptionNoHTml,category:i.pageType},"cta-label":e.ctaLabelDecoded}}):t("article-card",{attrs:{"src-set":i.srcset,"img-src":i.src,"img-alt":i.alt,"item-url":i.href,"item-title":i.title,tagging:{label:i.titleNoHtml,category:i.pageType},"cta-label":e.ctaLabelDecoded}})],2)})),0),e._v(" "),e._t("loadmore")]:[e._t("title"),e._v(" "),e._t("default",null,{productpopin:e.openProductPopin})]],2)},On=[];function Nn(e){return console.log(e.map(Vn)),e.map(Vn)}function Vn(e,t){const{ProductID:i,ProductItemID:a,ProductUrl:s,ProductName:n,ProductNameHtml:r,MainImage:o,Brand:l,Price:c="none",ProductList:d,ShortDescription:u,Currency:p,Category:h,Dimension35:m="",Dimension36:g="",Dimension37:v="",Dimension38:_="",Dimension39:f="",Dimension40:y="",Dimension48:w="",Dimension49:b="",Dimension59:C="",Dimension91:S="",StarRatingText:k,AverageRating:D,InactiveColor:L,ActiveColor:T,IsRatingEnabled:x,isBazaarvoiceActivated:A,VariantCount:P,ProductEanNumber:E,product_franchise:M,product_label:I,product_quantity_range:$,MikmakAddtocart:B}=e;return{productId:i,productItemId:a,productName:n,productNameHtml:r,productUrl:s,starRatingText:k,averageRating:D,inactiveColor:L,activeColor:T,isRatingEnabled:x,IsBazaarvoiceActivated:A,VariantCount:P,ProductEanNumber:E,packshot:{src:o,alt:""},productShortDescription:u,tagging:{productid:E,name:n,position:t,brand:l,price:c,productlist:d,currency:p,category:h,dimension35:m,dimension36:g,dimension37:v,dimension38:_,dimension39:f,dimension40:y,dimension48:w,dimension49:b,dimension59:C,dimension91:S,product_franchise:M,product_label:I,product_quantity_range:$},MikMakAddToCart:B}}var Fn={name:"product-list",directives:{tag:_.Tc},components:{"product-card":()=>Promise.resolve().then(i.bind(i,9380)),"article-card":()=>Promise.resolve().then(i.bind(i,3889)),"concern-card":()=>i.e(292).then(i.bind(i,8292))},props:{listItems:{type:Array,default(){return null}},productListId:{type:String,required:!0,default:void 0},ctaLabel:{type:String,required:!1,default:""},ctaClass:{type:String,default:"cta cta--light"},buyNowLabel:{type:String,default:""},buyNowEnable:{type:Boolean,default:!1},isCountInBrackets:{type:Boolean,default:!0},isMikmakEnabled:{type:Boolean,required:!1,default:""},labelText:{type:String,required:!1,default:""},mikmakWidgetId:{type:String,required:!1},mikmakStickyButton:{type:Boolean,required:!1},analyticsData:{type:Object,default:()=>({})},productEan:{type:String,default:""},isSinglevariant:{type:Number,default:1},storeLabel:{type:String,required:!1,default:""},storeUrl:{type:String,required:!1,default:""},isStoreLocatorEnabled:{type:Boolean,required:!1,default:!1}},data(){return{items:null,renderItems:!1,pageCategory:""}},computed:{...(0,yt.L8)(["getListType"]),products(){return this.$store.getters.getProducts(this.productListId)},showTitle(){return!!this.products.length},ctaLabelDecoded(){return this.decodeHTML(this.ctaLabel)}},watch:{getListType(){this.initInStore(),this.renderItems=!0}},created(){this.initInStore()},mounted(){this.pageCategory=window.wsf.AnalyticsVariables.pageCategory?window.wsf.AnalyticsVariables.pageCategory:""},destroyed(){this.$store.commit("deleteProducts",this.productListId)},methods:{decodeHTML(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value},initInStore(){this.$nextTick((()=>{this.listItems?(this.$store.commit("products",{productListId:this.productListId,value:this.makeItems()}),this.$store.commit("initialItemsSize",this.makeItems().length)):this.$store.commit("products",{productListId:this.productListId,value:this.listItems})}))},makeItems(){return"product"!==this.getListType?this.listItems:Nn(this.listItems)},openProductPopin(e,t,i){let a={isMikmakEnabled:this.isMikmakEnabled,productEan:t,mikmakWidgetId:this.mikmakWidgetId,mikmakStickyButton:this.mikmakStickyButton,analyticsData:this.analyticsData,labelText:this.labelText,productTagList:i};window.eventBus.$emit("openProductPopin",{id:e,disableColorTheme:!1,mikmakData:a})}}},Hn=Fn,Rn=(0,u.A)(Hn,qn,On,!1,null,null,null),jn=Rn.exports,zn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"product-list-container"},[e.listItems.LoadMore&&!e.getNoMoreProducts?t("div",{staticClass:"product-list__numberofproducts"},[e._v("\n "+e._s(e.getTotalProductCount)+" "+e._s(e.listItems.ProductLabel||"PRODUCTS")+"\n ")]):e._e(
9),e._v(" "),e.getNoMoreProducts||e.getIsFilterClick?e.getNoMoreProducts?t("div",{staticClass:"noResult"},[t("h4",[e._v(e._s(e.getTotalProductCount)+" "+e._s(e.listItems.ProductLabel||"PRODUCTS"))]),t("p",{domProps:{innerHTML:e._s(e.listItems.ZeroProductMessage)}})]):e._e():t("ul",{staticClass:"product-list"},[e._l(e.getFilterProducts,(function(i,a){return[null!==i.RangeType?t("li",{key:a,staticClass:"product-list__item",class:"Double Column"===i.RangeType?"doubleColumn":""},["ProductList"===i.RangeType?t("product-card",{attrs:{"product-name":{text:i.Name,html:i.Name},"product-short-description":i.Description,"product-url":i.CTALink,tagging:i.TaggingEvents,packshot:i.Packshot,"cta-label":e.listItems.CTAText,"is-buynow-enabled":e.listItems.IsBuyNowEnabled,"buynow-cta-text":e.listItems.BuyNowCTAText,"average-rating":Number(i.AverageRating),"inactive-color":e.listItems.InActiveColor,"active-color":e.listItems.ActiveColor,"is-rating-enabled":String(e.listItems.IsRatingEnabled),"is-bazaarvoice-activated":e.listItems.IsBazaarvoiceActivated,"border-color":e.listItems.BorderColor,"aria-hidden":"true","product-tag":i.ProductTag,"total-rating-count":i.TotalRatingCount,position:a,"product-id":i.ProductId,"product-data-id":i.ItemID,"page-category":e.pageCategory,"is-checkitout-enabled":e.listItems.IsCheckItOutEnabled,"is-mikmak-enabled":e.listItems.isMikmakEnabled,"label-text":e.listItems.labelText,"mikmak-widget-id":e.listItems.mikmakWidgetId,"mikmak-sticky-button":e.listItems.mikmakStickyButton,"analytics-data":e.listItems.analyticsData,"product-ean":i.ProductEanNumber,"is-singlevariant":i.VariantCount,"mikmak-tagging":i.MikMakAddToCart,"is-store-locator-enabled":e.listItems.IsStoreLocatorEnabled,"store-locator-label":e.storeLabel,"store-locator-url":e.storeUrl}}):"Double Column"===i.RangeType&&"Option2"===i.PushType?[t("big-quote",{attrs:{title:i.Name,"author-icon":i.Packshot.MainImage,"alt-text":i.Packshot.ImageAlt,"author-name":i.ProductTag,"author-description":i.Description,"title-hn-tag":i.ProductEanNumber,"color-theme":"","background-color":""}})]:[t("content-push",{attrs:{"content-push":i,position:a,"page-category":e.pageCategory}})]],2):e._e()]}))],2),e._v(" "),t("div",{staticClass:"loader-container"},[t("div",{ref:"loadMore",staticClass:"loadMore-trigger"}),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.productsLoading,expression:"productsLoading"}],staticClass:"loader-css"},[e._v("Loading")])])],1)])},Wn=[],Un={name:"product-range-list",components:{"product-card":()=>Promise.resolve().then(i.bind(i,9380)),"content-push":()=>i.e(248).then(i.bind(i,8248)),"big-quote":()=>Promise.resolve().then(i.bind(i,2453)),"ddx-widget":()=>i.e(633).then(i.bind(i,6633))},props:{rangeData:{type:Object,default(){return null}},apiUrl:{type:String,required:!0,default:"api/lrpproductlist/ProductListDetailsLoadMore"},pageCategory:{type:String},storeLabel:{type:String,required:!1,default:""},storeUrl:{type:String,required:!1,default:""}},data(){return{onLoad:!0,loading:!1,nextItem:1,productTagList:[],productTags:[],postDataObj:{ProductListId:`${this.rangeData.ProductListId}`,Age:"",Concern:"",Format:"",NewOrBestseller:"",PPD:"",ProductType:"",SkinBenefit:"",SkinType:"",SPF:"",SubRange:"",SunProtectionType:"",Texture:"",ValidityAfterOpening:"",Zone:"",skipCount:12,takeCount:12,filter:!1,SortBy:""},listItems:{},stopLoadMore:!1,stop:!1}},computed:{...(0,yt.L8)(["getFilterProducts"]),...(0,yt.L8)(["getStopApIcall"]),...(0,yt.L8)(["getNoMoreProducts","productsLoading","getTotalProductCount","getIsFilterClick"]),isFilterEnabled(){let e=!1,t=Sn(window.location.search),i=Object.keys(t);for(let a=0;a<i.length;a++)if(t[i[a].length]){e=!0;break}return e}},created(){window.addEventListener("scroll",this.handleScroll)},destroyed(){window.removeEventListener("scroll",this.handleScroll)},mounted(){this.listItems=this.rangeData,this.$store.dispatch("storeProductListId",this.listItems.ProductListId),this.$store.dispatch("storeInitialData",this.listItems.RangeList),this.$store.dispatch("storeTotalProductCount",this.listItems.TotalProductCount),this.$store.dispatch("storeZeroProductMessage",this.listItems.ZeroProductMessage)},methods:{async handleScroll(){if(this.isFilterEnabled&&this.onLoad)this.onLoad=!1;
9else{const e=this.$refs.loadMore.getBoundingClientRect();e.top<=window.innerHeight&&!this.stop&&(this.listItems.LoadMore||"true"===this.listItems.LoadMore)&&!this.getStopApIcall&&(this.stop=!0,this.getFilterProducts.length>=12&&await this.$store.dispatch("fetchFilterProducts",!1),this.stop=!1)}}}},Yn=Un,Qn=(0,u.A)(Yn,zn,Wn,!1,null,null,null),Xn=Qn.exports,Gn=i(9380),Kn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"quick-sort"},["True"===e.isQuickFilterEnable?t("div",[e._t("quick-sort",null,{clickButton:e.clickQuickSort})],2):e._e(),e._v(" "),!e.hideandshowbtn||"True"!==e.viewModel&&"True"!==e.sortFilter?e._e():e._t("filter-cta",null,{filterMenuOpen:e.openFilter})],2)},Zn=[],Jn={name:"product-quick-sort",props:{isQuickFilterEnable:{default:""},viewModel:{default:""},sortFilter:{default:""}},data(){return{filterOpen:!1,hideandshowbtn:!0}},mounted(){let e=Sn(window.location.search);(e.age||e.concern||e.skinBenefit||e.skinType||e.sortBy)&&this.quickSortButtonEnable(!0),this.dynamicClassAdd(),window.eventBus.$on("quicksort",(()=>this.quickSortButtonEnable())),window.eventBus.$on("closefilter",(e=>{window.innerWidth<=1024&&e||(this.hideandshowbtn=!0)}))},methods:{...(0,yt.i0)(["setFilterValue","setQuickFilterValue"]),dynamicClassAdd(){document.addEventListener("click",(e=>e.target.classList.contains("quick-sort__button")&&e.target.classList.toggle("active")))},quickSortButtonEnable(e=!1){let t=this.$store.getters.getToltalFilter;const i=document.querySelectorAll(".quick-sort__button");let a=[];for(let s in t)t[s].length&&(a=a.concat(t[s]));i.forEach((e=>a.includes(e.id)?e.classList.add("active"):e.classList.remove("active"))),e&&this.$store.dispatch("fetchFilterProducts",!0)},openFilter(){window.innerWidth<=1024?this.hideandshowbtn=!1:this.hideandshowbtn=!0,this.filterOpen=!0;let e=document.getElementsByTagName("body");e&&e[0].classList.add("filterPopup"),window.eventBus.$emit("openFilterModel",this.filterOpen)},async clickQuickSort(e,t){""!=t&&window.eventBus.$emit("quicksortTrigger",!0),this.setQuickFilterValue({type:e,value:t}),await this.$store.dispatch("fetchFilterProducts",!0)}}},er=Jn,tr=(0,u.A)(er,Kn,Zn,!1,null,null,null),ir=tr.exports,ar=function(){var e=this,t=e._self._c;return t("div",{staticClass:"select-multiple"},[t("panel",{ref:"sortdropdown",staticClass:"panel--field",attrs:{defaultOpen:!0,individualInstance:!0},scopedSlots:e._u([{key:"toggleButton",fn:function(i){return t("button",{staticClass:"select-multiple__toggle",attrs:{"aria-expanded":i.expanded?"true":"false"},on:{click:i.panelToggler}},[e._v("\n "+e._s(e.sortLabel)+"\n ")])}}])},[e._v(" "),e._t("default")],2)],1)},sr=[],nr={name:"product-sort",data(){return{}},components:{Panel:Dt},props:{sortLabel:{type:String,default:"Sort by"}}},rr=nr,or=(0,u.A)(rr,ar,sr,!1,null,null,null),lr=or.exports,cr=function(){var e=this,t=e._self._c;return t("div",{attrs:{"sxa-component":""}},[t("div",{staticClass:"component-content"},[t("div",{staticClass:"container--is-fullwidth"},[t("div",{staticClass:"container container--is-maxwidth"},[t("div",{staticClass:"ingredients-list-container"},[t("div",{staticClass:"ingredient-header",domProps:{innerHTML:e._s(e.title)}}),e._v(" "),e.smallScreen?t("div",{staticClass:"ingredients-list mobile"},[t("swiper",{ref:"swiper",staticClass:"swiper",attrs:{options:e.swiperOptions},on:{slideChange:e.slideChangeEvent}},e._l(e.keyIngredientsArray,(function(i,a){return t("swiper-slide",{key:a,staticClass:"ingredients-list__item"},[t("div",{staticClass:"ingredients-card",class:{"re-animate":!e.isVisible&&0===a}},[t("div",{staticClass:"ingredients-card__content",class:{"--video-wrapper":i.KeyVideo}},[t("div",{staticClass:"ingredients-card__img-wrapper",class:e.imageGradientEnable&&i.Keyimage&&!i.KeyVideo?"gradientEnabled":""},[e.changeTitlePosition?e._e():t("div",{staticClass:"ingredients-card__caption",domProps:{innerHTML:e._s(i.Title)}}),e._v(" "),i.Keyimage&&!i.KeyVideo?t("img",{staticClass:"ingredients-card__img",attrs:{src:i.Keyimage,alt:i.KeyimageAlt}}):e._e(),e._v(" "),i.KeyVideo&&!i.Keyimage?t("video",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],attrs:{playsinline:"","data-src":i.KeyVideo,autoplay:"",loop:"",muted:""},domProps:{muted:!0}
9}):e._e()]),e._v(" "),e.changeTitlePosition?t("div",{staticClass:"ingredients-card__caption",class:{"title-bottom":e.changeTitlePosition},domProps:{innerHTML:e._s(i.Title)}}):e._e(),e._v(" "),t("div",{staticClass:"ingredients-card__description",domProps:{innerHTML:e._s(i.Description)}})])])])})),1)],1):[t("ul",{staticClass:"ingredients-list"},e._l(e.keyIngredientsArray,(function(i,a){return t("li",{key:a,staticClass:"ingredients-list__item"},[t("div",{staticClass:"ingredients-card"},[t("div",{staticClass:"ingredients-card__content"},[t("div",{staticClass:"ingredients-card__img-wrapper",class:e.imageGradientEnable&&i.Keyimage&&!i.KeyVideo?"gradientEnabled":""},[e.changeTitlePosition?e._e():t("div",{staticClass:"ingredients-card__caption",domProps:{innerHTML:e._s(i.Title)}}),e._v(" "),i.Keyimage&&!i.KeyVideo?t("img",{staticClass:"ingredients-card__img",attrs:{src:i.Keyimage,alt:i.KeyimageAlt}}):e._e(),e._v(" "),i.KeyVideo&&!i.Keyimage?t("video",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],attrs:{playsinline:"","data-src":i.KeyVideo,autoplay:"",loop:"",muted:""},domProps:{muted:!0}}):e._e()]),e._v(" "),e.changeTitlePosition?t("div",{staticClass:"ingredients-card__caption",class:{"title-bottom":e.changeTitlePosition},domProps:{innerHTML:e._s(i.Title)}}):e._e(),e._v(" "),t("div",{staticClass:"ingredients-card__description",domProps:{innerHTML:e._s(i.Description)}})])])])})),0)],e._v(" "),t("div",{staticClass:"carousel-navigation"},[t("div",{staticClass:"carousel__arrow carousel__arrow--left",class:{disabled:e.swiperAtBegain},on:{click:function(t){return e.prev()}}}),e._v(" "),t("div",{staticClass:"swiper-pagination"}),e._v(" "),t("div",{staticClass:"carousel__arrow carousel__arrow--right",class:{disabled:e.swiperAtEnd},on:{click:function(t){return e.next()}}})]),e._v(" "),t("div",{staticClass:"validity-text-container"},[t("div",{staticClass:"validitiy-text"},[e._v(e._s(e.validityText))])]),e._v(" "),e.enableShutter?t("a",{staticClass:"link-simple",attrs:{href:e.shutterLink},on:{click:function(t){return e.tagging(t)}}},[t("span",{domProps:{innerHTML:e._s(e.shutterText)}})]):e._e(),e._v(" "),t("div",{staticClass:"dropdown-div"},[e.otherIngredient?t("collapse",{staticClass:"transcript__collapse",attrs:{"aria-label":e.showTranscript},scopedSlots:e._u([{key:"title",fn:function(i){return[i.collapsed?[t("div",{staticClass:"showdiv"},[t("span",{staticClass:"show-transcript",domProps:{innerHTML:e._s(e.showText)}}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.showText,expression:"showText"}],staticClass:"arrow down"})])]:[t("div",{staticClass:"hidediv"},[t("span",{staticClass:"hide-transcript",domProps:{innerHTML:e._s(e.hideText)}}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.hideText,expression:"hideText"}],staticClass:"arrow up"})])]]}}],null,!1,2579470408)},[e._v(" "),t("button",{staticClass:"no-js collapse-title-btn"}),e._v(" "),t("div",{staticClass:"transrcript-class ingredient__list-all",attrs:{"data-ioplist":""},domProps:{innerHTML:e._s(e.otherIngredient)}}),e._v(" "),t("br"),e._v(" "),t("p",{staticClass:"ingredient__filcode"},[e._v(e._s(e.ingredientFilcode))])]):e._e()],1)],2)])])])])},dr=[];k.RC.use([k.dK,k.Vx]);const{Swiper:ur,SwiperSlide:pr}=L()(k.RC);var hr={name:"key-ingredients-v2",directives:{lazyLoad:ut},props:{keyIngredientsArray:{type:[Array,Object],default:""},imageGradientEnable:{type:{Boolean:Boolean,String:String},default:""},title:{type:String,default:""},backgroundColor:{type:String,default:"#009FE3"},lineColor:{type:String,default:"#fff"},packshotImageDesktop:{type:String,default:""},packshotImageMobile:{type:String,default:""},ingredientFilcode:{type:String,default:""},showText:{type:String,default:"See full list of ingredients"},showTranscript:{type:String,default:"show transcript"},hideText:{type:String,default:"hide all ingredients"},otherIngredient:{type:String,default:""},validityText:{type:String,default:"Validity Texts for Ingredients"},productName:{type:String,default:""},productId:{type:String,default:""},imgAlt:{type:String,default:"Technology and filters"},shutterLink:{type:String,default:""},shutterText:{type:String,default:""},enableShutter:{type:Boolean,default:!1},taggingItems:{type:Object,default:void 0},changeTitlePosition:{type:Boolean,default:!1}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,isIngredientContent:!1,swiperAtEnd:!1,swiperAtBegain:!0,swiperOptions:{loop:!1,initialSlide:0,speed:500,centeredSlides:!0,slidesPerView:1.3,spaceBetween:24,navigation:{nextEl:".carousel__arrow carousel__arrow--left",prevEl:".carousel__arrow carousel__arrow--right",hiddenClass:".swiper-button-hidden"},pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"}},indexValue:0,isVisible:!1,timeoutId:null}},mounted(){window.addEventListener("scroll",this.handleScroll),this.handleScroll()},methods:{tagging(e){this.enableShutter&&(e.preventDefault(),document.getElementById("loader").style.display="block",document.getElementById("popupFrame").src=this.shutterLink,document.getElementById("popup").style.display="block",document.querySelector(".shutterpage-overlay").style.display="block",document.body.classList.add("multipopin-open"),setTimeout((()=>{document.querySelector(".btn-close").focus()}),300),document.getElementById("popupFrame").style.display="none"),_.Xj.pushDataLayer(this.taggingItems)},toggleIngredientContent(){this.isIngredientContent=!this.isIngredientContent},prev(){this.$refs.swiper.$swiper.slidePrev(),this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning},next(){this.$refs.swiper.$swiper.slideNext(),this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd},slideChangeEvent(){this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.indexValue=this.$refs.swiper.$swiper.activeIndex-1,this.$refs.swiper.$swiper.slides[this.indexValue].querySelector(".ingredients-card__img-wrapper").classList.add("no-animation"),this.indexValue+1===this.keyIngredientsArray.length-1&&this.$refs.swiper.$swiper.slides[this.indexValue+1].querySelector(".ingredients-card__img-wrapper").classList.add("no-animation")},isElementInViewport(e){const t=e.getBoundingClientRect();return t.top+400>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},handleScroll(){const e=this.$el.querySelector(".ingredient-header");this.isElementInViewport(e)&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{this.isVisible=!0}),100))}},destroyed(){window.removeEventListener("scroll",this.handleScroll),this.timeoutId&&clearTimeout(this.timeoutId)},components:{Swiper:ur,SwiperSlide:pr,Collapse:B.A}},mr=hr,gr=(0,u.A)(mr,cr,dr,!1,null,null,null),vr=gr.exports,_r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"product-slider container--is-maxwidth"},[""!==e.productSliderData.Title?t("h2",{staticClass:"product-slider__title",domProps:{innerHTML:e._s(e.productSliderData.Title)}}
9):e._e(),e._v(" "),[t("div",{staticClass:"product-slider-list",class:[e.desktopScreen&&e.productSliderData.ProductListDetails.length<4?"align-center":""],attrs:{id:"swiper-product-slider"}},[t("swiper",{ref:"swiper",staticClass:"swiper",class:{"three-slider":e.productSliderData.ProductListDetails.length>=3},attrs:{options:e.swiperOptions}},e._l(e.productSliderData.ProductListDetails,(function(i,a){return t("swiper-slide",{key:a,staticClass:"product-slider__item"},[t("ProductCard",{attrs:{"product-name":{text:i.Name,html:i.Name},"product-short-description":i.Description,"product-url":i.CTALink,tagging:i.TaggingEvents,packshot:i.Packshot,"cta-label":e.ctaLabel,"is-buynow-enabled":e.productSliderData.IsBuyNowEnabled,"buynow-cta-text":e.productSliderData.BuyNowCTAText,"average-rating":Number(i.AverageRating),"inactive-color":i.InActiveColor,"active-color":i.ActiveColor,"is-rating-enabled":String(i.IsRatingEnabled),"is-bazaarvoice-activated":i.IsBazaarvoiceActivated,"border-color":i.BorderColor,"aria-hidden":"true","total-rating-count":i.TotalRatingCount,position:a,"product-id":i.ProductId,"page-category":e.pageCategory,"title-tag-name":e.titleTagName,"is-checkitout-enabled":e.productSliderData.IsCheckItOutEnabled,"track-class":"trackImpSlider","is-store-locator-enabled":e.productSliderData.IsStoreLocatorEnabled,"store-locator-label":e.storeLabel,"store-locator-url":e.storeUrl}})],1)})),1)],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.desktopScreen&&e.productSliderData.ProductListDetails.length>4||!e.desktopScreen,expression:"(desktopScreen && productSliderData.ProductListDetails.length > 4) || !desktopScreen"}],staticClass:"carousel-navigation"},[t("div",{staticClass:"carousel__arrow carousel__arrow--left",class:{disabled:e.swiperAtBegain},on:{click:function(t){return e.prev()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"32",viewBox:"0 0 42 32",fill:"none"}},[t("g",{attrs:{filter:"url(#filter0_b_17_13510)"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 15.8535L3.85356 12L4.56066 12.7071L1.9142 15.3535L41.8605 15.3535V16.3535L1.91422 16.3535L4.56066 19L3.85355 19.7071L0 15.8535Z",fill:"black"}})]),e._v(" "),t("defs",[t("filter",{attrs:{id:"filter0_b_17_13510",x:"-124",y:"-124",width:"290",height:"280",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[t("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),t("feGaussianBlur",{attrs:{in:"BackgroundImageFix",stdDeviation:"62"}}),e._v(" "),t("feComposite",{attrs:{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_17_13510"}}),e._v(" "),t("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_17_13510",result:"shape"}})],1)])])]),e._v(" "),t("div",{staticClass:"swiper-pagination"}),e._v(" "),t("div",{staticClass:"carousel__arrow carousel__arrow--right",class:{disabled:e.swiperAtEnd},on:{click:function(t){return e.next()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"32",viewBox:"0 0 42 32",fill:"none"}},[t("g",{attrs:{filter:"url(#filter0_b_17_13509)"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M42 15.8535L38.1464 12L37.4393 12.7071L40.0858 15.3535L0.13953 15.3535V16.3535L40.0858 16.3535L37.4393 19L38.1465 19.7071L42 15.8535Z",fill:"black"}})]),e._v(" "),t("defs",[t("filter",{attrs:{id:"filter0_b_17_13509",x:"-124",y:"-124",width:"290",height:"280",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[t("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),t("feGaussianBlur",{attrs:{in:"BackgroundImageFix",stdDeviation:"62"}}),e._v(" "),t("feComposite",{attrs:{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_17_13509"}}),e._v(" "),t("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_17_13509",result:"shape"}})],1)])])])])],e._v(" "),t("a",{staticClass:"cta--secondary cta--light cta--alt",attrs:{href:e.productSliderData.CtaLink},on:{click:function(t){return e.discoverBtn()}}},[t("span",[e._v(e._s(e.productSliderData.CtaLabel))])])],2)},fr=[];i(3375),i(9225),i(3972),i(9209),i(5714),i(7561),i(6197);k.RC.use([k.dK,k.Vx]);const{Swiper:yr,SwiperSlide:wr}=L()(k.RC);var br={name:"product-slider",props:{productSliderData:{type:Object,default:()=>[]},ctaLabel:{type:String,default:""},pageCategory:{type:String,default:"none"},storeLabel:{type:String,required:!1,default:""},storeUrl:{type:String,required:!1,default:""}},data(){return{titleTagName:"",isSmallScreen:!window.matchMedia("(min-width: 1024px)").matches,desktopScreen:window.matchMedia("(min-width: 768px)").matches,swiperAtEnd:!1,swiperAtBegain:!0,listType:"highlight-product",swiperOptions:{loop:!1,initialSlide:0,speed:500,slidesPerView:4,spaceBetween:16,roundLengths:!0,variableWidth:!0,resizeObserver:!0,startX:"",navigation:{nextEl:".carousel__arrow carousel__arrow--left",prevEl:".carousel__arrow carousel__arrow--right",hiddenClass:".swiper-button-hidden"},pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"},breakpoints:{768:{slidesPerView:4,spaceBetween:16},360:{centeredSlides:!0,slidesPerView:1.6,spaceBetween:24},320:{centeredSlides:!0,slidesPerView:1.6,spaceBetween:24}}},productList:[],isTrigger:!0,pushedProductIndexes:new Set}},created(){this.productList=[];for(let e=0;e<this.productSliderData.ProductListDetails.length;e++)void 0!=this.productSliderData.ProductListDetails[e].TaggingEvents&&(this.productSliderData.ProductListDetails[e].TaggingEvents.productlist&&(this.productSliderData.ProductListDetails[e].TaggingEvents.productlist=this.listType),this.productList.push(this.productSliderData.ProductListDetails[e].TaggingEvents));this.productList.forEach((e=>{delete e["currency"]}))},mounted(){this.titleTagName=""!==this.productSliderData.Title?"h3":"h2",this.$refs.swiper.swiperInstance.on("slideChange",(()=>{this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.pushProductImpressionTagging()}));const e=document.getElementById("swiper-product-slider");e.addEventListener("touchstart",this.handleTouchStart),e.addEventListener("touchmove",this.handleTouchMove),this.$nextTick((()=>{const e=document.getElementById("swiper-product-slider");if(!e)return;const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&this.isTrigger&&(this.pushProductImpressionTagging(),this.isTrigger=!1)}))}));t.observe(e)}))},methods:{handleTouchStart(e){this.startX=e.touches[0].clientX},handleTouchMove(e){let t=e.touches[0].clientX;this.startX<t?this.prev():this.startX>t&&this.next()},removeHTMLTags(e){let t=document.createElement("div");t.innerHTML=e;let i=t.innerText.replaceAll("\n"," ").trim(),a=new DOMParser,s=a.parseFromString(i,"text/html"),n=s.body.textContent||"";return n},prev(){this.$refs.swiper.$swiper.slidePrev(),this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning;const e=this.productSliderData.ProductListDetails[this.$refs.swiper.$swiper.realIndex];window.dataLayer.push({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:`${this.pageCategory}`,eventAction:"select::slider navigation elements",eventLabel:this.removeHTMLTags(this.productSliderData.Title).toLowerCase()+"::"+this.removeHTMLTags(e.Name).toLowerCase()+"::"+this.removeHTMLTags(e.ProductEanNumber).toLowerCase(),cta_name:this.removeHTMLTags(this.productSliderData.Title).toLowerCase()+"::"+this.removeHTMLTags(e.Name).toLowerCase()+"::"+this.removeHTMLTags(e.ProductEanNumber).toLowerCase(),module_name:"slider navigate::"+this.removeHTMLTags(this.productSliderData.Title).toLowerCase()})},next(){this.$refs.swiper.$swiper.slideNext(),this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd;const e=this.$refs.swiper.$swiper.realIndex,t=parseInt(this.swiperOptions.slidesPerView,10)||1,i=e+t-1;if(i<this.productSliderData.ProductListDetails.length){const e=this.productSliderData.ProductListDetails[i];window.dataLayer.push({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:`${this.pageCategory}`,eventAction:"select::slider navigation elements",eventLabel:this.removeHTMLTags(this.productSliderData.Title).toLowerCase()+"::"+this.removeHTMLTags(e.Name).toLowerCase()+"::"+this.removeHTMLTags(e.ProductEanNumber).toLowerCase(),cta_name:this.removeHTMLTags(this.productSliderData.Title).toLowerCase()+"::"+this.removeHTMLTags(e.Name).toLowerCase()+"::"+this.removeHTMLTags(e.ProductEanNumber).toLowerCase(),module_name:"slider navigate::"+this.removeHTMLTags(this.productSliderData.Title).toLowerCase()})}},discoverBtn(){let e=this.productSliderData.CtaLink;if(e&&-1===e.indexOf("https")){window.location.origin,this.productSliderData.CtaLink}else{this.productSliderData.CtaLink}let t=this.productSliderData.CtaLabel;window.dataLayer.push({event:"uaevent",ecommerce:"undefined",event_name:"body_button_click",eventCategory:`${this.pageCategory}`,eventAction:"select::"+this.removeHTMLTags(this.productSliderData.Title).toLowerCase(),eventLabel:`${t.toLowerCase()}::${destinationURL}`,module_name:this.removeHTMLTags(this.productSliderData.Title).toLowerCase(),cta_name:`${t.toLowerCase()}`,link_url:`${destinationURL}`})},getVisibleProductIndices(){const e=this.$refs.swiper?.$swiper;if(!e)return[];
9const t=e.realIndex||0,i=e.slidesPerViewDynamic?.()??this.productList.length,a=[],s=Math.min(t+i,this.productList.length);for(let n=t;n<s;n++)a.push(n);return a},pushProductImpressionTagging(){const e=this.getVisibleProductIndices().filter((e=>!this.pushedProductIndexes.has(e)));if(!e.length)return;e.forEach((e=>this.pushedProductIndexes.add(e)));const t=e.map((e=>({...this.productList[e],list:this.listType})));_.Xj.pushDataLayer({event:"nievent",event_name:"view_item_list",eventCategory:"Ecommerce",eventAction:"Product Impressions",eventLabel:this.pageCategory,ecommerce:{currencyCode:"none",impressions:t}})}},components:{ProductCard:Gn["default"],Swiper:yr,SwiperSlide:wr}},Cr=br,Sr=(0,u.A)(Cr,_r,fr,!1,null,null,null),kr=Sr.exports,Dr=function(){var e=this,t=e._self._c;return e.showMedicalPopin?t("div",{staticClass:"medicalpopin"},[t("div",{staticClass:"medicalpopin__container"},[t("modal",{ref:"modal",staticClass:"medicalpopin__container--modal"},[t("div",{staticClass:"medicalpopin__container__wrapper"},[t("div",{staticClass:"medicalpopin__title",domProps:{innerHTML:e._s(e.initialData.Title)}}),e._v(" "),t("div",{staticClass:"medicalpopin__description",domProps:{innerHTML:e._s(e.initialData.Description)}}),e._v(" "),t("div",{staticClass:"medicalpopin__footer--cta"},[t("a",{staticClass:"cta cta--light",on:{click:function(t){return e.closeMedicalpopup(!0)}}},[e._v("\n "+e._s(e.initialData.OkButton)+"\n ")]),e._v(" "),t("a",{staticClass:"cta cta--light cta--alt",on:{click:function(t){return e.closeMedicalpopup(!1)}}},[e._v("\n "+e._s(e.initialData.CancelButton)+"\n ")])])])])],1)]):e._e()},Lr=[],Tr={name:"medical-popin",components:{Modal:fn.A},props:{initialData:{type:Object,default:()=>({})},productShow:{type:Boolean,default:!1}},data(){return{showMedicalPopin:!1}},mounted(){this.productShow&&(this.showMedicalPopin=!0,setTimeout((()=>{this.$children[0].$data.showModal=!0}),100),document.body.style.overflow="hidden")},methods:{closeMedicalpopup(e){this.showMedicalPopin=!1,document.body.style.overflow="auto",e||this.navigateBack()},navigateBack(){document.referrer?window.location.href=document.referrer:window.location.href="/"}}},xr=Tr,Ar=(0,u.A)(xr,Dr,Lr,!1,null,null,null),Pr=Ar.exports;const Er=e=>Object.keys(e).reduce(((t,i)=>(e[i]&&(e[i]instanceof Array?t.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i].join(","))):t.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]))),t)),[]).join("&"),Mr={};async function Ir(e,t={}){const i=Er({...t,productListId:e}),a="/api/lrpproductservice/getpagefilteredproducts",s=`${a}${i}`;if(Mr[s])return await Mr[s];const n=await fetch(a,{method:"POST",body:i,headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}});let r=await n.json();return r=Nn(r.Products),Mr[s]=r,r}async function $r(e,t,i,a,s,n){let{age:r,skinBenefit:o,skinType:l,concern:c,sunProtectionType:d,format:u,ppd:p,productType:h,spf:m,subRange:g,texture:v,zone:_}=e||{},f={Age:r&&r.toString()||"",SkinBenefit:o&&o.toString()||"",SkinType:l&&l.toString()||"",Concern:c&&c.toString()||"",SunProtectionType:d&&d.toString()||"",Format:u&&u.toString()||"",PPD:p&&p.toString()||"",ProductType:h&&h.toString()||"",SPF:m&&m.toString()||"",SubRange:g&&g.toString()||"",Texture:v&&v.toString()||"",ValidityAfterOpening:"",Zone:_&&_.toString()||"",NewOrBestseller:"",ProductListId:i,skipCount:a,takeCount:s,SortBy:t,filter:"true",filterLang:n};const y=`${window.location.origin}/api/lrpproductlist/ProductListDetailsLoadMore`,w=`${y}${f}`;let b;if(Mr[w])return await Mr[w];try{const e=await fetch(y,{method:"POST",body:JSON.stringify(f),headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}});return e.ok?b=await e.json():console.error("Request failed"),b}catch(C){console.error("Error:",C)}}const Br={};async function qr(e,t,i){const a=Er(t),s=`${window.location.origin}${e}?${a}`,n=`${s}`;if(Br[n])return await Br[n];const r=await fetch(s,{method:"GET",headers:{"Content-Type":"application/json"},credentials:"include",cache:"no-store"}),o=await r.json();let l;return l="product"!==i?o.Data:Nn(o.Data),Br[n]={data:l,queryString:o.Query},{data:l,queryString:o.Query}}const Or={state:{avoidFetch:!1,loading:!1,isFilterClick:!1,products:{},filterProducts:[],filters:{},elementToFocus:null,initialItemsSize:null,loadMoreQuery:{},listType:"",isLoadMoreDisabled:!1,preferredProductVariant:{name:null,imgUrl:[]},dataTrueFalse:[],dataQuestionAns:[],sortBy:"",productListId:"",takeCount:12,skipCount:12,productsList:[],initialData:[],stopAPIcall:!1,noMoreProducts:!1,totalProductCount:0,ZeroProductMessage:"",filterSortCta:!1,avoidDropdownRef:!1,initialProductCount:0},mutations:{filterSortCta(e,t){e.filterSortCta=t},dataQuestionAns(e,t){e.dataQuestionAns=t},setDropdownRef(e,t){e.avoidDropdownRef=t},dataTrueFalse(e,t){e.dataTrueFalse=t},loading(e,t){e.loading=t},isFilterClick(e,t){e.isFilterClick=t},avoidFetch(e,t){e.avoidFetch=t},filters(e,{type:t,value:i}){a["default"].set(e.filters,t,i)},deleteFilter(e,t){a["default"].delete(e.filters,t)}
9,clearFilters(e){Object.keys(e.filters).forEach((t=>{a["default"].set(e.filters,t,[])}))},products(e,{productListId:t,value:i}){a["default"].set(e.products,t,i)},setListType(e,t){e.listType=t},initialItemsSize(e,t){e.initialItemsSize=t},loadMoreQuery(e,t){e.loadMoreQuery=t},loadMoreDIsabled(e){e.isLoadMoreDisabled=!0},updateList(e,{productListId:t,value:i}){e.elementToFocus=e.products[t].length,i.forEach((i=>{e.products[t].push(i)}))},deleteProducts(e,t){a["default"].delete(e.products,t)},clearProducts(e){Object.keys(e.products).forEach((t=>{a["default"].set(e.products,t,void 0)}))},setPreferredProductVariant(e,t){e.preferredProductVariant=t},initialData(e,t){t.forEach((t=>{e.initialData.push(t)})),e.initialData.forEach((t=>{e.productsList.push(t)}))},productListId(e,t){e.productListId=t},totalProductCount(e,t){e.totalProductCount=t},zeroProductMessage(e,t){e.ZeroProductMessage=t},filterProducts(e,t){e.filterProducts=[],t.isfilter&&0==e.skipCount&&(e.productsList=[]);let i=t.products.RangeList;i.forEach((t=>{e.filterProducts.push(t)})),e.filterProducts.forEach((t=>{e.productsList.push(t)}))},skipCount(e,t){if(t)e.skipCount=0;else{let t=e.skipCount+12;e.skipCount=t}},stopAPIcall(e,t){e.stopAPIcall=t},noMoreProducts(e,t){e.noMoreProducts=t},sortBy(e,t){e.sortBy=t},clearProductsrange(e){e.filterProducts=[],e.productsList=[],e.initialData.forEach((t=>{e.productsList.push(t)})),e.totalProductCount=e.initialProductCount,e.skipCount=12,e.sortBy=""}},actions:{selectPreferredProductVariant({commit:e},t){const i={name:t.color?t.color:"",imgUrl:t.imgUrl?t.imgUrl:[]};e("setPreferredProductVariant",i)},setFilterValue({commit:e,dispatch:t},i){"string"==typeof i.value&&(i.value=i.value.split()),e("filters",i),t("updateHistoryState")},setQuickFilterValue({commit:e,dispatch:t,state:i},a){a.type in i.filters||(i.filters[a.type]=[]),Object.keys(i.filters).forEach(((s,n)=>{if(s==a.type){const n=i.filters[s].indexOf(a.value),r=n>-1;if(r){const a=i.filters[s].slice(0,n),r=i.filters[s].slice(n+1,i.filters[s].length);e("filters",{type:s,value:a.concat(r)}),t("updateHistoryState")}else i.filters[s]=i.filters[s].concat([a.value]),e("filters",{type:s,value:i.filters[s]}),t("updateHistoryState")}}))},clearFilters({commit:e,dispatch:t}){e("avoidFetch",!0),e("clearFilters"),e("clearProducts"),t("updateHistoryState"),a["default"].nextTick((()=>{e("avoidFetch",!1)}))},updateHistoryState({state:e}){const{products:t,filters:i,sortBy:a}=e;i.sortBy=a.split();const s=`${window.location.protocol}//${window.location.host}${window.location.pathname}?${Er(i)}`;window.history.pushState({products:t,filters:i},"",s)},loadMoreUpdateHistory({state:e},t){const{products:i,loadMoreQuery:a,isLoadMoreDisabled:s}=e,n=`${window.location.protocol}//${window.location.host}${window.location.pathname}?${t.params.replace("25","")}`;window.history.pushState({products:i,loadMoreQuery:a,isLoadMoreDisabled:s},"",n)},loadMoreHistoryNavigation({state:e},t){const{products:i,initialItemsSize:a}=e,{listId:s}=t;window.onpopstate=t=>{t.state?(i[s]=t.state.products[s],e.loadMoreQuery=t.state.loadMoreQuery,e.isLoadMoreDisabled=t.state.isLoadMoreDisabled):(i[s]=i[s].slice(0,a),e.loadMoreQuery.pageNbr=2,e.isLoadMoreDisabled=!1)}},setState({commit:e},t){if(t&&t.products){const{products:i,filters:s}=t;
9e("avoidFetch",!0),Object.keys(i).forEach((t=>{e("products",{productListId:t,value:i[t]})})),Object.keys(s).forEach((t=>{e("filters",{type:t,value:s[t]})})),a["default"].nextTick((()=>e("avoidFetch",!1)))}},async fetchProducts({commit:e,state:t,dispatch:i}){if(t.avoidFetch)return;e("loading",!0);const a={...t.filters},s=Object.keys(t.products).map((async t=>{const i=await Ir(t,a),s={productListId:t,value:i};return e("products",s),s}));await Promise.all(s),i("updateHistoryState"),e("loading",!1)},async fetchFilterProducts({commit:e,state:t,dispatch:i},a){if(t.avoidFetch)return;e("loading",!0);const s={...t.filters};1==a&&(e("skipCount",a),e("isFilterClick",!0));const n=(document.documentElement.lang||"").toLowerCase(),r=await $r(s,t.sortBy,t.productListId,t.skipCount,t.takeCount,n);"object"===typeof r&&0!==r.RangeList.length?(e("filterProducts",{products:r,isfilter:a}),e("noMoreProducts",!1)):a&&0===r.RangeList.length&&e("noMoreProducts",!0),e("isFilterClick",!1),e("totalProductCount",r.TotalProductCount),e("zeroProductMessage",r.ZeroProductMessage),r.RangeList.length<12?e("stopAPIcall",!0):(e("skipCount",!1),e("stopAPIcall",!1)),e("loading",!1)},clearFiltersProducts({commit:e,dispatch:t}){e("avoidFetch",!0),e("clearFilters"),e("clearProductsrange"),t("updateHistoryState"),e("stopAPIcall",!1),e("noMoreProducts",!1),a["default"].nextTick((()=>{e("avoidFetch",!1)}))},storeInitialData({commit:e,state:t,dispatch:i},a){e("initialData",a)},storeTotalProductCount({commit:e,state:t,dispatch:i},a){t.initialProductCount=a,e("totalProductCount",a)},storeZeroProductMessage({commit:e},t){e("zeroProductMessage",t)},storeProductListId({commit:e,state:t,dispatch:i},a){e("productListId",a)},sortBy({commit:e,dispatch:t},i){e("sortBy",i),t("updateHistoryState")},async loadMore({state:e,commit:t,dispatch:i},a){t("loading",!0);const s=await qr(a.url,a.query,a.type),n=Er(e.loadMoreQuery);null!==s.data?(t("updateList",{productListId:a.listId,value:s.data}),s.data.length<e.loadMoreQuery.pageSize&&t("loadMoreDIsabled"),i("loadMoreUpdateHistory",{params:n}),t("loadMoreQuery",{q:a.searchPageQuery,...s.queryString}),i("loadMoreHistoryNavigation",a)):t("loadMoreDIsabled"),t("loading",!1)}},getters:{getDataTrueFalse:e=>e.dataTrueFalse,getDataQuestionAns:e=>e.dataQuestionAns,productsLoading:e=>e.loading,getFilter:e=>t=>e.filters[t],getProducts:e=>t=>e.products[t],isLoadMoreDisabled:e=>e.isLoadMoreDisabled,getLoadMoreQuery:e=>e.loadMoreQuery,getItemToFocus:e=>e.elementToFocus,getListType:e=>e.listType,preferredProductVariant:e=>e.preferredProductVariant,hasSelectedFilters:e=>!!Object.keys(e.filters).find((t=>e.filters[t].length)),getSortBy:e=>e.sortBy,getFilterProducts:e=>e.productsList,getIsFilterClick:e=>e.isFilterClick,getStopApIcall:e=>e.stopAPIcall,getNoMoreProducts:e=>e.noMoreProducts,getToltalFilter:e=>e.filters,getTotalProductCount:e=>e.totalProductCount,getFilterSortCta:e=>e.filterSortCta,getDropdownRefState:e=>e.avoidDropdownRef}};var Nr,Vr,Fr=(0,s.fC)({components:{ProductFilter:Tn,ProductFilters:Bn,ProductList:jn,ProductRangeList:Xn,productCard:Gn["default"],ProductQuickSort:ir,ProductSort:lr,KeyIngredientsV2:vr,ProductSlider:kr,medicalPopin:Pr}}),Hr=(0,s.fC)({components:{AccessibilityModalWindow:Ee}}),Rr=function(){var e=this,t=e._self._c;return t("div",{staticClass:"brand-hub"},[t("vue-scroll-snap",{ref:"brandhubref",attrs:{fullscreen:!0}},[t("div",{attrs:{id:"brandhubscroll"}},[e.hubVideoDisplay?t("div",{staticClass:"item",attrs:{id:"index00"}},[t("brand-content-hub-video"),e._v(" "),t("div",{staticClass:"brand_hub_svg_bottom"},[t("svg",{attrs:{width:"2px",height:"62px",viewBox:"0 0 2 62",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[t("title",[e._v("Line")]),e._v(" "),t("g",{attrs:{id:"DESKTOP-&-MOBILE",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-dasharray":"0,12","stroke-linecap":"round","stroke-linejoin":"round"}},[t("g",{attrs:{id:"BRAND-HUB_V4.3",transform:"translate(-719.000000, -2221.000000)",stroke:"#FFFFFF","stroke-width":"2"}},[t("g",{attrs:{id:"IMG-Copy",transform:"translate(0.000000, 2221.000000)"}},[t("line",{attrs:{x1:"720",y1:"1.13686838e-13",x2:"720",y2:"71",id:"Line"}}
9)])])])])])],1):e._e(),e._v(" "),e._l(e.initialData.BrandHubSectionList,(function(i,a){return t("div",{key:a,staticClass:"item",attrs:{id:"index"+a,"data-index":a,"data-tagging":e.scrollTagging(i.ScrollEventTagging)}},[t("div",{staticClass:"brand_content__hub brand_content__hub__section"},[t("div",{staticClass:"brand_content__hub__section__item"},[t("div",{staticClass:"brand_content__hub__image",style:e.bgimage(i.DesktopBackgroundImageSrc,i.MobileBackgroundImageSrc)},[e.smallScreen?e._e():t("img",{staticClass:"desktop",attrs:{src:i.DesktopBackgroundImageSrc,alt:i.DesktopBackgroundImageAlt}}),e._v(" "),e.smallScreen?t("img",{staticClass:"mobile",attrs:{src:i.MobileBackgroundImageSrc,alt:i.DesktopBackgroundImageAlt}}):e._e(),e._v(" "),t("div",{staticClass:"brand_hub_svg_top"},[t("svg",{attrs:{width:"2px",height:"219px",viewBox:"0 0 2 219",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[t("g",{attrs:{id:"",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-dasharray":"0,12","stroke-linecap":"round","stroke-linejoin":"round"}},[t("g",{attrs:{id:"",transform:"translate(-719.000000, -870.000000)",stroke:"#FFFFFF","stroke-width":"2"}},[t("g",{attrs:{id:"IMG",transform:"translate(0.000000, 864.000000)"}},[t("line",{attrs:{x1:"720",y1:"-5",x2:"720",y2:"224",id:"Line-2-Copy"}})])])])])]),e._v(" "),t("div",{staticClass:"brand_content__hub__text",class:"index--"+a,attrs:{"data-aos":"fade-down","data-aos-duration":"1000"}},[t("div",{staticClass:"brand_content__hub__text__title",domProps:{innerHTML:e._s(i.Title)}}),e._v(" "),t("div",{staticClass:"brand_content__hub__text__description",domProps:{innerHTML:e._s(i.Description)}}),e._v(" "),i.IsSlider&&""!=i.CTALabel?t("div",{staticClass:"brand_content__hub__text__cta btn",on:{click:function(t){e.addclass(a),e.tagging(i.CTAEventTagging)}}},[t("span",{staticClass:"btn__wrapper",domProps:{innerHTML:e._s(e.ltrim(i.CTALabel))}})]):e._e(),e._v(" "),i.EnableNewsletter&&""!=i.CTALabel?t("div",{staticClass:"brand_content__hub__text__cta btn"},[t("a",{attrs:{href:i.NewsletterLink,target:"_blank"},on:{click:function(t){return e.tagging(i.CTAEventTagging)}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(i.CTALabel)+"\n ")])])]):e._e()]),e._v(" "),t("div",{staticClass:"brand_hub_svg_bottom"},[t("svg",{attrs:{width:"2px",height:"62px",viewBox:"0 0 2 62",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[t("title",[e._v("Line")]),e._v(" "),t("g",{attrs:{id:"",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd","stroke-dasharray":"0,12","stroke-linecap":"round","stroke-linejoin":"round"}},[t("g",{attrs:{id:"",transform:"translate(-719.000000, -2221.000000)",stroke:"#FFFFFF","stroke-width":"2"}},[t("g",{attrs:{id:"",transform:"translate(0.000000, 2221.000000)"}},[t("line",{attrs:{x1:"720",y1:"1.13686838e-13",x2:"720",y2:"71"}})])])])])])])]),e._v(" "),t("div",{staticClass:"slider-section"},[!1===i.EnableNewDesign?t("div",{staticClass:"--section-one"},[e.activeSliders[a]?t("div",{staticClass:"brand_content__hub__slider",class:1==i.BrandHubSliderList.length?"brand-hub_slider-one":2==i.BrandHubSliderList.length?"swiper-slider-center":3==i.BrandHubSliderList.length?"slider-three":""},[i.IsSlider?t("div",[e.smallScreen?e._e():t("div",{staticClass:"brand_content__hub__text__slider_title",domProps:{innerHTML:e._s(i.Title)}}),e._v(" "),t("div",{staticClass:"swiper-container",class:`swiper-${e.dynamicClass}${a}`,on:{pageChange:function(t){return e.whenPageChange(t,i.Title,i.BrandHubSliderList,i.CTAEventTagging)}}},[e.smallScreen?t("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"}):e._e(),e._v(" "),t("div",{staticClass:"swiper-wrapper"},e._l(i.BrandHubSliderList,(function(a,s){return t("div",{key:s,staticClass:"swiper-slide",attrs:{"data-index":s}},[t("a",{staticClass:"card-shop",attrs:{href:a.SliderCTALink,target:"_blank","panel-focusable":""},on:{click:function(t){return e.gatagging(a,i.CTAEventTagging)}}},[t("div",{staticClass:"brand_content__hub__slider-scroll-section",class:""!=a.SliderCTALabel?"":"--no-cta"},[t("div",{staticClass:"card-shop__img-wrapper"},[t("img",{staticClass:"card-shop__img",attrs:{src:a.SliderDesktopBackgroun
9dImageSrc,alt:""}})]),e._v(" "),t("div",{staticClass:"brand_content__hub__slider_title",domProps:{innerHTML:e._s(a.SliderTitle)}}),e._v(" "),t("div",{staticClass:"brand_content__hub__slider_des",domProps:{innerHTML:e._s(a.SliderDescription)}})]),e._v(" "),a.SliderCTALabel?t("div",{staticClass:"brand_content__hub__slider_btn"},[t("button",[e._v(" "+e._s(a.SliderCTALabel))])]):e._e()])])})),0),e._v(" "),t("div",{staticClass:"carousel__nav"},[t("button",{staticClass:"carousel__arrow carousel__arrow---left",class:!0===e.swiperAtBegain?"":"disabled"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.42421 3.57573L16.8485 11.9998L8.42422 20.4243L7.57568 19.5757L15.1514 11.9998L7.57569 4.42427L8.42421 3.57573Z",fill:"black"}})])]),e._v(" "),t("div",{staticClass:"brand_slider_close",on:{click:function(t){return e.removeExstingclass(a)}}},[t("span",[e._v(e._s(e.initialData.CloseButtonLabel))])]),e._v(" "),t("button",{staticClass:"carousel__arrow carousel__arrow---right",attrs:{c:""}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.42421 3.57573L16.8485 11.9998L8.42422 20.4243L7.57568 19.5757L15.1514 11.9998L7.57569 4.42427L8.42421 3.57573Z",fill:"black"}})])])])])]):e._e()]):e._e()]):e._e(),e._v(" "),!0===i.EnableNewDesign?t("div",{staticClass:"--section-two",class:1==i.BrandHubSliderList.length?"brand-hub_slider-one":2==i.BrandHubSliderList.length?"swiper-slider-center":3==i.BrandHubSliderList.length?"slider-three":""},[e.activeSliders[a]?t("div",{staticClass:"brand_content__hub__slider"},[i.IsSlider?t("div",[e.smallScreen?e._e():t("div",{staticClass:"brand_content__hub__text__slider_title",domProps:{innerHTML:e._s(i.Title)}}),e._v(" "),t("div",{staticClass:"swiper-container",class:`swiper-${e.dynamicClass}${a}`,on:{pageChange:function(t){return e.whenPageChange(t,i.Title,i.BrandHubSliderList,i.CTAEventTagging)}}},[e.smallScreen?t("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"}):e._e(),e._v(" "),t("div",{staticClass:"swiper-wrapper"},e._l(i.BrandHubSliderList,(function(a,s){return t("div",{key:s,staticClass:"swiper-slide",attrs:{"data-index":s}},[t("a",{staticClass:"card-shop",attrs:{href:a.SliderCTALink,target:"_blank","panel-focusable":""},on:{click:function(t){return e.gatagging(a,i.CTAEventTagging)}}},[t("div",{staticClass:"brand_content__hub__slider--section"},[a.SliderDesktopBackgroundImageSrc?t("div",{staticClass:"card-shop__img-wrapper"},[t("img",{attrs:{src:a.SliderDesktopBackgroundImageSrc,alt:""}})]):e._e(),e._v(" "),t("div",{staticClass:"brand_content__hub__slider_content",class:a.SliderDesktopBackgroundImageSrc?"":"--brand_content__hub-no-image"},[t("div",{staticClass:"brand_content__hub__slider_title",domProps:{innerHTML:e._s(a.SliderTitle)}}),e._v(" "),t("div",{staticClass:"brand_content__hub__slider_btn"},[t("button",[e._v(e._s(a.SliderCTALabel))])])])])])])})),0),e._v(" "),t("div",{staticClass:"carousel__nav"},[t("button",{staticClass:"carousel__arrow carousel__arrow---left",class:!0===e.swiperAtBegain?"":"disabled"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.42421 3.57573L16.8485 11.9998L8.42422 20.4243L7.57568 19.5757L15.1514 11.9998L7.57569 4.42427L8.42421 3.57573Z",fill:"black"}})])]),e._v(" "),t("div",{staticClass:"brand_slider_close",on:{click:function(t){return e.removeExstingclass(a)}}},[t("span",[e._v(e._s(e.initialData.CloseButtonLabel))])]),e._v(" "),t("button",{staticClass:"carousel__arrow carousel__arrow---right",class:!0===e.swiperAtEnd?"":"disabled"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.42421 3.57573L16.8485 11.9998L8.42422 20.4243L7.57568 19.5757L15.1514 11.9998L7.57569 4.42427L8.42421 3.57573Z",fill:"black"}}
9)])])])])]):e._e()]):e._e()]):e._e()])])])}))],2)])],1)},jr=[],zr=function(){var e=this,t=e._self._c;return t("div",{staticClass:"scroll-snap-container",class:{fullscreen:e.fullscreen,horizontal:e.horizontal}},[e._t("default")],2)},Wr=[],Ur={name:"VueScrollSnap",props:{fullscreen:{type:Boolean,default:!1,required:!1},horizontal:{type:Boolean,default:!1,required:!1}}},Yr=Ur,Qr=(0,u.A)(Yr,zr,Wr,!1,null,null,null),Xr=Qr.exports,Gr=function(){var e=this,t=e._self._c;return t("div",{ref:"videoParent",attrs:{id:"videoParent"}})},Kr=[],Zr={name:"brand-content-hub-video",components:{},data(){return{loadingIcon:!0}},mounted(){this.$nextTick((()=>{const e=document.querySelector(".hub-video__container"),t=this.$refs.videoParent;e&&t&&t.appendChild(e);const i=t.querySelector("video"),a=i?.dataset.src;a&&(i.setAttribute("src",a),setTimeout((()=>{this.$refs.videoParent.querySelector("video").play()}),500))}))}},Jr=Zr,eo=(0,u.A)(Jr,Gr,Kr,!1,null,null,null),to=eo.exports,io=i(7452),ao=i(4042),so=i.n(ao),no={name:"brand-content-hub",components:{VueScrollSnap:Xr,Swiper:io["default"],AOS:so(),brandContentHubVideo:to},directives:{tag:_.Tc},props:{initialData:{type:[Object,Array],required:!1},a11yNextPanelText:{type:String,required:!1,default:"Next panel"},a11yPreviousPanelText:{type:String,required:!1,default:"Previous panel"}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,currentElementId:"",isTrigger:!0,indexArray:[],scrollUp:!1,activeSliders:{},swiperVisible:!1,swiperInstance:null,hubVideoDisplay:!1,swiperAtEnd:!0,swiperAtBegain:!1,dynamicClass:(new Date).getMilliseconds().toString(36),swiperOptions:{loop:!1,initialSlide:0,speed:500,slidesPerView:3,spaceBetween:32,roundLengths:!0,variableWidth:!0,resizeObserver:!1,slidesPerGroup:3,centeredSlides:!1,startX:"",navigation:{nextEl:".carousel__arrow---right",prevEl:".carousel__arrow---left"},pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"},breakpoints:{1024:{slidesPerView:3.25,spaceBetween:32,slidesPerGroup:3},768:{slidesPerView:1,spaceBetween:0,slidesPerGroup:1},360:{centeredSlides:!0,slidesPerView:1,spaceBetween:0,slidesPerGroup:1},320:{centeredSlides:!0,slidesPerView:1,slidesPerGroup:1,spaceBetween:0}}}}},created(){so().init()},mounted(){this.data=this.initialData.BrandHubSectionList,window.dataLayer.push({...this.data[0].ScrollEventTagging}),document.querySelector(".breadcrumb")?.classList.add("bredcrumb-hide");let e=0;window.addEventListener("touchstart",(t=>{const i=document.querySelector(".hub-video__container"),a=i?document.getElementById("index00"):document.getElementById("index0");let s=a.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop;n>e?document.querySelector(".main-menu").classList.remove("main-menu-hide"):document.querySelector(".main-menu").classList.add("main-menu-hide"),s.top<=10&&s.top>=0&&document.querySelector(".main-menu").classList.remove("main-menu-hide"),e=n<=0?0:n}),!1);let t=0;window.addEventListener("wheel",(e=>{const i=document.querySelector(".hub-video__container"),a=i?document.getElementById("index00"):document.getElementById("index0");let s=a.getBoundingClientRect();s.top<=10&&s.top>=0&&document.querySelector(".main-menu")?.classList.remove("main-menu-hide");let n=window.pageYOffset||document.documentElement.scrollTop;n>t?document.querySelector(".main-menu")?.classList.remove("main-menu-hide"):(document.querySelector(".main-menu")?.classList.add("main-menu-hide"),document.querySelector(".main-menu-bar__logo-wrapper").style.position="unset"),s.top<=10&&s.top>=0&&(document.querySelector(".main-menu")?.classList.remove("main-menu-hide"),document.querySelector(".main-menu-bar__logo-wrapper").style.position="absolute"),t=n<=0?0:n}),!1),this.$refs.brandhubref.$el.addEventListener("scroll",this.handleScroll),this.videoLoaded()},methods:{whenPageChange(e,t,i,a){let s=e+1,n=[],r="none",o="none";if(this.smallScreen)n=i[e];else if(1==s)n=i[0];else{let e=3*s-2;n=i[e-1]}""!=this.decodeHtmlstring(t)&&(r=this.decodeHtmlstring(t).toLowerCase().replace(/\s+/g," ").trim()),o=this.decodeHtmlstring(n?.SliderTitle).toLowerCase(),_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:a.eventCategory.toLowerCase(),eventAction:"select::slider navigation elements",eventLabel:`${r}::${o}::${s}`,cta_name:`${r}::${o}::${s}`,module_name:`slider navigate::${r}`})},decodeHtmlstring(e){let t=document.createElement("div");t.innerHTML=e;let i=t.innerText.replaceAll("\n"," ");return i},gatagging(e,t){let i={event:"uaevent",ecommerce:"undefined",eventCategory:t.eventCategory.toLowerCase(),eventAction:"select::brand content hub",eventLabel:e.SliderCTALabel.toLowerCase()+"|"+e.SliderCTALink};window.dataLayer.push(i)},scrollTagging(e){return JSON.stringify(e)},ltrim(e){return e?e.replace(/^\s+/g,""):e},decodeEntity(e){let t=document.createElement("textarea");return t.innerHTML=e,t.value},getlength(e){if(!this.smallScreen&&e&&2==e.length)return"slider-two"},titleWrap(e){const t=50;return e.length>t?e.substring(0,t)+"":e},descriptionWrap(e){let t=this.decodeEntity(e);const i=148;return e.length>i?t.substring(0,i)+"...":t},handleScroll(){so().init();const e=document.querySelector(".hub-video__container"),t=e?document.getElementById("index00"):document.getElementById("index0");let i=t.getBoundingClientRect(),a=Math.abs(i.top);a>0?(document.querySelector(".main-menu")?.classList.add("main-menu-hide"),document.querySelector(".main-menu-bar__logo-wrapper").style.position="unset"):document.querySelector(".main-menu-bar__logo-wrapper").style.position="absolute",Array.from(document.querySelectorAll(".item")).forEac
9h((function(e){let t=e.id,i=t,a=document.querySelector("#"+i).getBoundingClientRect().top,s=a+document.querySelector("#"+i).clientHeight,n=Math.round(window.scrollY),r=n+window.screen.height;if(s>n&&a<r){document.getElementById(i).getAttribute("data-tagging");i<=1&&document.querySelector(".main-menu")?.classList.remove("main-menu-hide"),i>2&&document.querySelector(".main-menu")?.classList.add("main-menu-hide")}})),i.top<=10&&i.top>=0&&document.querySelector(".main-menu")?.classList.remove("main-menu-hide");let s=document.querySelector("#brandhubscroll");if(this.isTrigger){let e=this;s.childNodes.forEach((function(t,i){let a="index"+i;function s(s){s.forEach((s=>{let n=(i+1).toString();if(e.currentElementId!=a&&0!=i&&!e.indexArray.includes(n)&&s.isIntersecting){let i=t.getAttribute("data-tagging");window.dataLayer.push(JSON.parse(i)),e.isTrigger=!1,e.currentElementId=a;let s=JSON.parse(i).eventLabel,n=s.split("::"),r=n[0];e.indexArray.push(r)}}))}function n(e,t){const i={root:null,threshold:.25},a=new IntersectionObserver(t,i);a.observe(e)}n(t,s)}))}},taggingScroll(e){window.dataLayer.push({...e})},bgimage(e,t){let i=`background-image:url('${e}')`;return!0===this.smallScreen&&(i=`background-image:url('${t}')`),i},tagging(e){window.dataLayer.push({...e})},removeExstingclass(e){this.$set(this.activeSliders,e,!1);let t=document.querySelectorAll(".deactive-current-card"),i=0;for(i=0;i<t.length;i++)t[i].classList.remove("deactive-current-card");let a=document.querySelectorAll(".active-current-slider"),s=0;for(s=0;s<a.length;s++)a[s].classList.remove("active-current-slider")},initializeSwiper(e){let t={...this.swiperOptions};const i=this.initialData.BrandHubSectionList[e]?.BrandHubSliderList||[],a=i.length;t=a<=2?{...this.swiperOptions,centeredSlides:!0}:{...this.swiperOptions,centeredSlides:!1},this.$nextTick((()=>{this.swiperInstance&&(this.swiperInstance.destroy(!0,!0),this.swiperInstance=null),this.swiperInstance=new io["default"](`.swiper-${this.dynamicClass}${e}`,{...t,on:{init:()=>{this.updateNavigationState()},slideChange:()=>this.updateNavigationState(),reachBeginning:()=>this.updateNavigationState(),reachEnd:()=>this.updateNavigationState()}})}))},addclass(e){Object.keys(this.activeSliders).forEach((e=>{this.activeSliders[e]=!1})),this.$set(this.activeSliders,e,!0),this.initializeSwiper(e),this.removeExstingclass(),document.querySelectorAll(".brand_content__hub__section")[e].classList.add("deactive-current-card--");let t=document.querySelectorAll(".brand_content__hub__section")[e];t.querySelector(".brand_content__hub__section__item").classList.add("deactive-current-card"),t.querySelector(".brand_content__hub__slider").classList.add("active-current-slider"),t.querySelector(".brand_content__hub__slider").classList.remove("hide")},isUsingKeyboard(){return document.body.classList.contains("is-using-keyboard")},updateNavigationState(){if(!this.swiperInstance)return;const e=document.querySelector(".carousel__arrow---left"),t=document.querySelector(".carousel__arrow---right");this.swiperInstance.isBeginning?e?.classList.add("disabled"):e?.classList.remove("disabled"),this.swiperInstance.isEnd?(this.swiperAtBegain=!0,t?.classList.add("disabled")):t?.classList.remove("disabled")},videoLoaded(){this.$nextTick((()=>{const e=document.querySelector(".hub-video__container");e&&(this.hubVideoDisplay=!0,setTimeout((function(){document.querySelector(".scroll-snap-container").scrollTo(0,0)}),10))}))}}},ro=no,oo=(0,u.A)(ro,Rr,jr,!1,null,null,null),lo=oo.exports,co=(0,s.fC)({components:{BrandContentHub:lo}}),uo=(0,s.fC)({components:{VueScrollSnap:Xr}}),po=function(){var e=this,t=e._self._c;return t("div",{ref:"headRef",class:e.className},[t("button",{staticClass:"scroll-to-top",class:[{"is-active":e.active},{on:e.clicked}],on:{click:function(t){return e.scrollToTop()}}},[t("img",{staticClass:"vector default",attrs:{src:e.imageDefault,alt:e.imageDefaultAlt}}),e._v(" "),t("img",{staticClass:"vector hoverIcon",attrs:{src:e.imageHover,alt:e.imageHoverAlt}})])])},ho=[],mo=i(2623),go={name:"back-to-top",mixins:[mo.A],props:{largeScreen:{type:String,default:void 0},smallScreen:{type:String,default:void 0},imageHover:{type:String,default:void 0},imageDefault:{type:String,default:void 0},imageHoverAlt:{type:String,default:void 0},imageDefaultAlt:{type:String,default:void 0}},data(){return{active:!1,className:"",prev:window.pageYOffset,clicked:!1}},mounted(){"true"==this.largeScreen&&"true"==this.smallScreen?this.className="bothScreen":"true"==this.largeScreen&&"false"==this.smallScreen?this.className="largeScreen":"false"==this.largeScreen&&"true"==this.smallScreen&&(this.className="smallScreen"),this.setFingerPrintPos(),window.addEventListener("resize",this.setFingerPrintPos)},methods:{scrollToTop(){this.clicked=!0,window.scrollTo({top:0,behavior:"smooth"}),this.clicked=!1},setFingerPrintPos(){let e=document.querySelector("#main-container").getBoundingClientRect(),t=document.getElementById("main-container"),i=getComputedStyle(t),a="rtl"===i.direction;a?document.getElementsByClassName("scroll-to-top")[0].style.left=`${e.x+30}px`:document.getElementsByClassName("scroll-to-top")[0].style.right=`${e.x+30}px`}}},vo=go,_o=(0,u.A)(vo,po,ho,!1,null,null,null),fo=_o.exports,yo=(0,s.fC)({components:{BackToTop:fo}}),wo={name:"diagnosis-trigger",components:{Modal:fn.A},directives:{tag:_.Tc},props:{firstTimeData:{type:Object,required:!1,default:void 0},nextTimeData:{type:Object,required:!1,default:void 0},cookieName:{type:String,required:!1,default:void 0}},data(){return{position:0}},computed:{positionStyle(){return{btn:`padding-bottom: ${this.position}px`}},modalContent(){return this.getCookie(this.cookieName)?this.nextTimeData:this.firstTimeData},resultPageUrl(){return this.getCookie(this.cookieName)}},mounted(){this.position=this.getPosition(),window.addEventListener("scroll",(0,s.nF)((()=>{window.pageYOffset+window.innerHeight>document.body.clientHeight-10?this.position=0:this.position=this.getPosition()}),160)),this.setFingerPrintPos(),window.addEventListener("resize",this.setFingerPrintPos)},methods:{getCookie(e){const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},setFingerPrintPos(){let e=document.querySelector("#main-container").getBoundingClientRect();document.querySelector(".diagnosis-trigger").style.right=`${e.x}px`},getPosition(){let e=0;return document.querySelector(".sticky-wrapper")?e=document.querySelector(".sticky-wrapper").clientHeight:document.querySelector(".products-filters-sticky.is-sticky")&&(e=document.querySelector(".products-filters-sticky.is-sticky").clientHeight),e},SetPreviousPageName(){sessionStorage.setItem("lrp-previous-page-name",document.title)}}},bo=wo,Co=(0,u.A)(bo,Nr,Vr,!1,null,null,null),So=Co.exports,ko=(0,s.fC)({components:{diagnosisTrigger:So}}),Do=function(){var e=this,t=e._self._c;return e.showModal?t("div",{staticClass:"news-letter-container-popin-v2",attrs:{id:"news-letter-subscription-model"}},[t("div",{staticClass:"modal__backface",on:{click:e.closeModal}}),e._v(" "),t("div",{staticClass:"news-letter modal__wrapper"},[t("button",{staticClass:"modal__close-btn newsletter-close-btn",attrs:{type:"button"},on:{click:e.closeModal,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeModal.apply(null,arguments)}}},[t("div",{staticClass:"btn_close close",attrs:{id:"btn_close"}})]),e._v(" "),t("div",{staticClass:"news-letter__img"},[t("responsive-image",{attrs:{srcset:e.srcset,animate:""}},[t("img",{attrs:{src:e.imageUrl,alt:e.accessibleAlt}}),e._v(" "),t("noscript",[t("img",{attrs:{src:e.imageUrl,alt:e.accessibleAlt}}
9)])])],1),e._v(" "),t("div",{staticClass:"news-letter__body-txt"},[t("div",{staticClass:"news-letter__content"},[t("div",{staticClass:"news-letter__title"},[t("h2",{staticClass:"news-letter_title is-2",domProps:{innerHTML:e._s(e.title)}}),e._v(" "),t("div",{staticClass:"news-letter__description",domProps:{innerHTML:e._s(e.description)}})]),e._v(" "),t("form",{attrs:{novalidate:"",autocomplete:"off"},on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[""!=e.fieldEmail.label?t("div",{staticClass:"fieldset"},[t("field-input",{attrs:{v:e.$v.form.email,field:e.fieldEmail},model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}})],1):e._e(),e._v(" "),""!=e.fieldPhoneNumber.label?t("div",{staticClass:"fieldset"},[t("field-input",{attrs:{v:e.$v.form.phone,field:e.fieldPhoneNumber},on:{checkSMSOption:e.checkSMSOption},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1):e._e(),e._v(" "),t("div",{staticClass:"nameWrapper"},[""!=e.fieldFirstName.label?t("div",{staticClass:"fieldset"},[t("field-input",{attrs:{v:e.$v.form.firstName,field:e.fieldFirstName},model:{value:e.form.firstName,callback:function(t){e.$set(e.form,"firstName",t)},expression:"form.firstName"}})],1):e._e(),e._v(" "),""!=e.fieldLastName.label?t("div",{staticClass:"fieldset"},[t("field-input",{attrs:{v:e.$v.form.lastName,field:e.fieldLastName},model:{value:e.form.lastName,callback:function(t){e.$set(e.form,"lastName",t)},expression:"form.lastName"}})],1):e._e()]),e._v(" "),""!=e.fieldBirth.label?t("date-of-birth",{attrs:{"field-birth":e.fieldBirth,"start-validate":e.validateDate,"legend-dob":e.legendDob,required:e.isrequired},on:{birth:e.setBirthData,birthIsValid:e.setBirthValidation}}):e._e(),e._v(" "),t("div",[t("p",{staticClass:"news-letter__terms-text",domProps:{innerHTML:e._s(e.termsText)}})]),e._v(" "),t("div",{staticClass:"subscription__options"},[e.disableEmailOptin?e._e():[""!=e.fieldEmail.label&&""!=e.emailOptionCheckbox.label?t("div",{staticClass:"custom-form__checkbox-group"},[t("field-checkbox",{attrs:{value:e.form.emailOption,v:e.$v.form.emailOption,field:e.emailOptionCheckbox},model:{value:e.form.emailOption,callback:function(t){e.$set(e.form,"emailOption",t)},expression:"form.emailOption"}})],1):e._e()],e._v(" "),e.disableSmsOptin?e._e():[""!=e.fieldPhoneNumber.label&&""!=e.smsOptionCheckbox.label?t("div",{staticClass:"custom-form__checkbox-group"},[t("field-checkbox",{attrs:{value:e.form.smsOption,v:e.$v.form.smsOption,field:e.smsOptionCheckbox},model:{value:e.form.smsOption,callback:function(t){e.$set(e.form,"smsOption",t)},expression:"form.smsOption"}})],1):e._e()]],2),e._v(" "),e._l(e.fieldCheckboxes,(function(i,a){return t("div",{key:a,staticClass:"custom-form__checkbox-group"},[e.disableCheckbox?t("div",[t("span",{staticClass:"disabled-checkbox-txt",domProps:{innerHTML:e._s(e.htmlStr(i))}})]):t("div",[i.required?t("field-checkbox",{attrs:{value:e.form.gdpr[`checkbox-${i.gdprId}`],v:e.$v.form.gdpr[`checkbox-${i.gdprId}`],field:i},model:{value:e.form.gdpr[`checkbox-${i.gdprId}`],callback:function(t){e.$set(e.form.gdpr,`checkbox-${i.gdprId}`,t)},expression:"form.gdpr[`checkbox-${item.gdprId}`]"}}):t("field-checkbox",{attrs:{value:e.form.gdpr[`checkbox-${i.gdprId}`],field:i},model:{value:e.form.gdpr[`checkbox-${i.gdprId}`],callback:function(t){e.$set(e.form.gdpr,`checkbox-${i.gdprId}`,t)},expression:"form.gdpr[`checkbox-${item.gdprId}`]"}})],1)])})),e._v(" "),t("div",{staticClass:"news-letter__info",domProps:{innerHTML:e._s(e.termsOfCaption)}}),e._v(" "),t("div",{staticClass:"custom-form__actions"},[t("div",[t("button",{class:e.ctaClass,attrs:{type:"submit"}},[t("span",{staticClass:"btn__wrapper"},[e._v(e._s(e.submitBtnText))])])])])],2)])])])]):e._e()},Lo=[],To=i(3278),xo=i(2053),Ao=i(1380),Po=function(){var e=this,t=e._self._c;return t("div",{staticClass:"date-of-birth",attrs:{role:"group","aria-labelledby":e.legendDob}},[t("div",{staticClass:"legend",attrs:{id:"legend-date-of-birth"}},[e._v("\n "+e._s(e.fieldBirth.label)+"\n ")]),e._v(" "),t("ul",[t("li",[t("Field-select",{attrs:{"start-update":e.updateDay,"is-disabled":e.fieldBirth.isDisabled,v:e.v.day,"custom-validation":!0,field:e.FieldDays},model:{value:e.day,callback:function(t){e.day=t},expression:"day"}})],1),e._v(" "),t("li",[t("Field-select",{attrs:{"is-disabled":e.fieldBirth.isDisabled,v:e.v.month,"custom-validation":!0,field:e.fieldBirth.month},model:{value:e.month,callback:function(t){e.month=t},expression:"month"}})],1),e._v(" "),t("li",[t("Field-select",{attrs:{"start-update":e.updateYear,"is-disabled":e.fieldBirth.isDisabled,v:e.v.year,"custom-validation":!0,field:e.FieldYears},model:{value:e.year,callback:function(t){e.year=t},expression:"year"}})],1)]),e._v(" "),e._l(e.fieldBirth.errors,(function(i,a){return[e.v.day.error||e.v.month.error||e.v.year.error?t("p",{key:a,staticClass:"field-help",attrs:{id:e.v.day.error?e.fieldBirth.day.idError:e.v.month.error?e.fieldBirth.month.idError:e.v.year.error?e.fieldBirth.year.idError:""}}
9,[e._v("\n "+e._s(i.message)+"\n ")]):e._e(),e._v(" "),e.day&&e.month&&e.year&&!e.isDateExist?t("p",{key:`s-${a}`,staticClass:"field-help"},[e._v("\n "+e._s(i.message)+"\n ")]):e._e()]}))],2)},Eo=[],Mo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"field field--select"},[t("div",{staticClass:"control"},[t("div",{staticClass:"select-custom",class:{disabled:e.isDisabled}},[e.v&&!e.customValidation?[t("div",{staticClass:"select-custom__btn",class:{"has-error":e.v.$error}},[t("label",{staticClass:"placeholder",class:{"is-fixed":""!==e.inputValue},attrs:{for:e.field.id}},[e._v(e._s(e.field.label))]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model.trim.lazy",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0,lazy:!0}}],attrs:{"aria-describedby":e.fieldDescribedby,id:e.field.id,name:e.field.id,disabled:e.isDisabled,required:e.v.required},on:{blur:function(t){return e.v.$touch()},change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.inputValue=t.target.multiple?i:i[0]}}},e._l(e.field.listValue,(function(i,a){return t("option",{key:a,domProps:{value:i,selected:i===e.inputValue?"true":"false"}},[e._v("\n "+e._s(i)+"\n ")])})),0),e._v(" "),t("svg",{attrs:{width:"16",height:"8","aria-hidden":"true"}},[t("path",{attrs:{"fill-rule":"nonzero",d:"M14.675.62l.65.76L8 7.659.675 1.379l.65-.759L8 6.341z"}})])])]:e.customValidation?[t("div",{staticClass:"select-custom__btn",class:{"has-error":e.v.error}},[t("label",{staticClass:"placeholder",class:{"is-fixed":""!==e.inputValue},attrs:{for:e.field.id}},[e._v(e._s(e.field.label))]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model.trim.lazy",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0,lazy:!0}}],attrs:{"aria-describedby":e.fieldDescribedby,id:e.field.id,name:e.field.id,disabled:e.isDisabled,required:e.v.required},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.inputValue=t.target.multiple?i:i[0]}}},e._l(e.field.listValue,(function(i,a){return t("option",{key:a,domProps:{value:i,selected:i===e.inputValue?"true":"false"}},[e._v("\n "+e._s(i)+"\n ")])})),0),e._v(" "),t("svg",{attrs:{width:"16",height:"8","aria-hidden":"true"}},[t("path",{attrs:{"fill-rule":"nonzero",d:"M14.675.62l.65.76L8 7.659.675 1.379l.65-.759L8 6.341z"}})])])]:[t("div",{staticClass:"select-custom__btn"},[t("label",{staticClass:"placeholder",class:{"is-fixed":""!==e.inputValue},attrs:{for:e.field.id}},[e._v(e._s(e.field.label))]),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model.trim.lazy",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0,lazy:!0}}],attrs:{id:e.field.id,name:e.field.id,disabled:e.isDisabled},on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.inputValue=t.target.multiple?i:i[0]}}},e._l(e.field.listValue,(function(i,a){return t("option",{key:a,domProps:{value:i,selected:i===e.inputValue?"true":"false"}},[e._v("\n "+e._s(i)+"\n ")])})),0),e._v(" "),t("svg",{attrs:{width:"16",height:"8","aria-hidden":"true"}},[t("path",{attrs:{"fill-rule":"nonzero",d:"M14.675.62l.65.76L8 7.659.675 1.379l.65-.759L8 6.341z"}})])])]],2)]),e._v(" "),e.v?[e.v.$error?t("p",{staticClass:"field--error",attrs:{id:e.field.idError}},e._l(e.field.errors,(function(i,a){return t("field-help",{key:a,attrs:{v:e.v,error:i}})})),1):e._e(),e._v(" "),e.v.error?t("p",{staticClass:"field--error",attrs:{id:e.field.idError}},e._l(e.field.errors,(function(i,a){return t("field-help",{key:a,attrs:{v:e.v,error:i}})})),1):e._e()]:e._e()],2)},Io=[],$o=i(3336),Bo={name:"field-select",directives:{clickoutside:_e},components:{FieldHelp:$o.A},props:{isDisabled:{type:Boolean,required:!1,default:!1},field:{type:Object,required:!0,default:void 0},v:{type:Object,required:!1,default:void 0},value:{type:[String,Number],required:!0,default:void 0},customValidation:{type:Boolean,required:!1,default:!1}
9,startUpdate:{type:Boolean,required:!1,default:!1}},computed:{inputValue:{get(){return this.value},set(e){this.$emit("input",e)}},fieldDescribedby(){return!(!this.v.$error&&!this.v.error)&&this.field.idError}},watch:{startUpdate(e){e&&this.$forceUpdate()}}},qo=Bo,Oo=(0,u.A)(qo,Mo,Io,!1,null,null,null),No=Oo.exports,Vo={name:"date-of-birth",components:{FieldSelect:No,FieldHelp:$o.A},directives:{tag:_.Tc},props:{fieldBirth:{type:Object,required:!0,default:void 0},startValidate:{type:Boolean,required:!1,default:void 0},legendDob:{type:Number,required:!1},required:{type:Boolean,required:!1,default:!1}},data(){return{day:this.fieldBirth.day.value||"",month:this.fieldBirth.month.value||"",year:this.fieldBirth.year.value||"",days:[],years:[],updateDay:!1,updateYear:!1,v:{day:{error:!1,required:!1},month:{error:!1,required:!1},year:{error:!1,required:!1}}}},computed:{FieldDays(){const e=this.fieldBirth.day;return e.listValue=this.days,e},FieldYears(){const e=this.fieldBirth.year;return e.listValue=this.years,e},isDateExist(){return!(this.day&&this.month&&this.year)||Date.now()>Date.parse(`${this.month}/${this.day}/${this.year}`)},isValid(){return!this.v.day.error&&!this.v.month.error&&!this.v.year.error}},watch:{FieldDays(){this.updateDay=!0,this.$nextTick((()=>this.updateDay=!1))},FieldYears(){this.updateYear=!0,this.$nextTick((()=>this.updateYear=!1))},month(e){this.populateDays(e),+this.day>this.days.length&&(this.day=this.days.length),this.$emit("birth",{type:"month",value:e}),this.v.day.required=!0,this.v.year.required=!0,this.v.month.error=!1},day(e){this.$emit("birth",{type:"day",value:e}),this.v.month.required=!0,this.v.year.required=!0,this.v.day.error=!1},year(e){this.populateDays(this.month),+this.day>this.days.length&&(this.day=this.days.length),this.$emit("birth",{type:"year",value:e}),this.v.day.required=!0,this.v.month.required=!0,this.v.year.error=!1},isValid(e){const t=e&&this.isDateExist;this.$emit("birthIsValid",t)},isDateExist(e){const t=e&&this.isValid;this.$emit("birthIsValid",t)},startValidate(e){this.required?this.validateRequiredOnStart(e):this.validateOptionalOnStart(e)}},mounted(){this.populateDays(this.month),this.populateYears()},methods:{setFieldErrorsFromValues(){this.v.day.error=""===this.day,this.v.month.error=""===this.month,this.v.year.error=""===this.year},hasEmptyDateFields(){return""===this.day||""===this.month||""===this.year},hasAnyDateField(){return!!this.day||!!this.month||!!this.year},validateRequiredOnStart(e){if(e&&this.hasEmptyDateFields())return this.setFieldErrorsFromValues(),void this.$emit("birthIsValid",!1);this.$emit("birthIsValid",!0)},validateOptionalOnStart(e){e&&this.hasAnyDateField()&&this.setFieldErrorsFromValues()},populateDays(e){let t;this.days=[];const i=this.fieldBirth.month.listValue.indexOf(e)+1;if(1===i||3===i||5===i||7===i||8===i||10===i||12===i)t=31;else if(4===i||6===i||9===i||11===i)t=30;else if(2===i){const e=this.year,i=e%4===0&&e%100!==0||e%400===0;t=i?29:28}else t=31;for(let a=1;a<=t;a++)this.days.push(a)},populateYears(){const e=new Date,t=e.getFullYear();for(let i=18;i<=100;i++)this.years.push(t-i)}}},Fo=Vo,Ho=(0,u.A)(Fo,Po,Eo,!1,null,null,null),Ro=Ho.exports;const jo=To._$.regex("alphaExtended",/^[\w\D][^\u0021-\u002D\u003A-\u0040]*$/);var zo={name:"newsletter-subscription",components:{ResponsiveImage:l["default"],FieldInput:xo.A,dateOfBirth:Ro,FieldCheckbox:La.A},mixins:[Ao.Hy],props:{pageCategory:{type:String,default:""}
9,fieldEmail:{type:Object,required:!0,default:void 0},srcset:{type:[Object,String],required:!1,default:void 0},fieldFirstName:{type:Object,required:!0,default:void 0},fieldLastName:{type:Object,required:!0,default:void 0},fieldPhoneNumber:{type:Object,required:!0,default:void 0},imageUrl:{type:String,default:void 0},fieldBirth:{type:Object,required:!0,default:void 0},ctaClass:{type:String,default:"btn btn--black"},submitBtnText:{type:String,default:"Submit"},fieldCheckboxes:{type:Array,required:!0,default:void 0},apiUrl:{type:String,required:!0,default:void 0},smsOption:{type:Object,required:!0,default:void 0},emailOption:{type:Object,required:!0,default:void 0},title:{type:String,required:!0,default:void 0},description:{type:String,required:!0,default:void 0},termsOfCaption:{type:String,required:!0,default:void 0},termsText:{type:String,required:!0,default:void 0},validationMsg:{type:Object,default:void 0},placement:{type:String,required:!0,default:void 0},disableCheckbox:{type:Boolean,required:!0,default:!1},legendDob:{type:Number,required:!1},disableEmailOptin:{type:Boolean,default:!1},disableSmsOptin:{type:Boolean,default:!1},imageAlt:{type:String,default:void 0},imageMobileAlt:{type:String,default:void 0}},data(){return{flag:"",position:"popin",showModal:!1,isrequired:!0,form:{email:"",firstName:"",lastName:"",phone:"",gdpr:{},birth:{day:"",month:"",year:""},emailOption:!1,smsOption:!1},validateDate:!0,validationSettings:{form:{firstName:{alphaExtended:jo},lastName:{alphaExtended:jo},email:{email:To.Rp,required:To.mw},phone:{},gdpr:{},emailOption:{required:To.mw,sameAs:(0,To.f4)((()=>!0))},smsOption:{}}},checkboxFieldIDs:[],emailOptionCheckbox:{required:!1,id:"emailoption",idError:"emailoption-error",value:null,label:"Email",errors:[{message:"",validator:To.f4}]},smsOptionCheckbox:{required:!1,id:"sms",idError:"sms-error",value:null,label:"SMS",errors:[{message:"",validator:To.f4}]},isBirthValid:!0,smallScreen:!globalThis.matchMedia("(min-width: 1024px)").matches}},computed:{vulidateSettings:{get(){return this.applyGdprValidationRules(),this.applyEmailFieldValidation(),this.applyPhoneFieldValidation(),this.applyNameFieldValidations(),this.applyBirthRequiredState(),this.applyEmailOptionValidation(),this.applySmsOptionValidation(),this.validationSettings.form},set(e){"mandatory"===e?this.$set(this.validationSettings.form,"smsOption",{required:To.mw,sameAs:(0,To.f4)((()=>!0))}):this.$set(this.validationSettings.form,"smsOption",{})}},accessibleAlt(){return this.smallScreen?this.imageMobileAlt:this.imageAlt}},validations(){return{form:this.vulidateSettings}},created(){this.setCheckboxesToVueData(),this.initNewsLetterV2Popin()},mounted(){window.eventBus.$on("newsletterpopup",(e=>{e.show&&(this.showModal=e.show,this.flag="sticky bar",this.position=e.postion,this.taggingNewsletterImpression(e.postion),document.cookie="newsletterPopin=",setTimeout((function(){document.getElementById("news-letter-subscription-model").scrollIntoView({behavior:"smooth"})}),1e3),this.showScroll())})),this.emailOptionCheckbox.label=this.emailOption?.emailOptinText,this.smsOptionCheckbox.label=this.smsOption?.smsOptinText,this.emailOptionCheckbox.errors[0].message=this.emailOption?.errorMessage,this.smsOptionCheckbox.errors[0].message=this.smsOption?.errorMessage,this.emailOption?.isEmailOptin&&(this.emailOptionCheckbox.required=!0),this.smsOption?.isSmsOptin&&(this.smsOptionCheckbox.required=!0);let e=this.emailOptionCheckbox?.id;this.checkboxFieldIDs.push(e);let t=this.smsOptionCheckbox.id;this.checkboxFieldIDs.push(t),this.fieldCheckboxes.forEach(((e,t)=>{this.checkboxFieldIDs.push(e.id)}))},methods:{applyGdprValidationRules(){this.disableCheckbox||this.fieldCheckboxes.forEach((e=>{e.required&&this.$set(this.validationSettings.form.gdpr,`checkbox-${e.gdprId}`,{required:To.mw,sameAs:(0,To.f4)((()=>!0))})}))},applyEmailFieldValidation(){this.fieldEmail.required&&(this.validationSettings.form.email={email:To.Rp,required:To.mw})},applyPhoneFieldValidation(){this.fieldPhoneNumber.required&&(this.validationSettings.form.phone={required:To.mw}),""!==this.fieldPhoneNumber.regExp&&(this.validationSettings.form.phone.phoneFormat=To._$.regex("regexpval",new RegExp(this.fieldPhoneNumber.regExp)))},applyNameFieldValidations(){this.fieldFirstName.required&&(this.validationSettings.form.firstName={required:To.mw,alph
9aExtended:jo}),this.fieldLastName.required&&(this.validationSettings.form.lastName={required:To.mw,alphaExtended:jo})},applyBirthRequiredState(){this.isrequired=this.fieldBirth.required},applyEmailOptionValidation(){!this.disableEmailOptin&&this.emailOptionCheckbox.required?this.validationSettings.form.emailOption={required:To.mw,sameAs:(0,To.f4)((()=>!0))}:this.disableEmailOptin&&(this.validationSettings.form.emailOption={})},applySmsOptionValidation(){!this.disableSmsOptin&&this.smsOptionCheckbox.required?this.validationSettings.form.smsOption={required:To.mw,sameAs:(0,To.f4)((()=>!0))}:this.disableSmsOptin&&(this.validationSettings.form.smsOption={})},htmlStr(e){if(!e||!e.label)return"";const t=this.htmlDecode(e.label);return this.allReplace(t,{"<":"<",">":">"})},htmlDecode(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value},allReplace(e,t){return Object.entries(t).reduce(((e,[t,i])=>e.replace(new RegExp(t,"g"),i)),e||"")},initNewsLetterV2Popin(){const e=this.getCookie("newsletterPopin");if("sticky"===this.placement.toLowerCase())window.eventBus.$emit("newsletterSticky");else if("1st page viewed"===this.placement)this.showModal=!e,this.flag="popin",this.taggingNewsletterImpression("load"),this.showScroll();else if("2nd page viewed"===this.placement){const t=this.getCookie("newsLetterPopIn1stPage");this.showModal=t.length&&!e.length,this.flag="popin",this.taggingNewsletterImpression("load"),this.showScroll()}e||(document.cookie="newsLetterPopIn1stPage=true")},showScroll(){setTimeout((function(){let e=document.getElementsByTagName("body"),t=document.getElementById("news-letter-subscription-model");e&&null!=t&&e[0].classList.add("newsletterPopup")}),1e3)},objectMap(e,t){return Object.keys(e).reduce((function(i,a){return i[a]=t(e[a],a),i}),{})},getCookie(e){let t=e+"=",i=document.cookie.split(";");for(let a=0;a<i.length;a++){let e=i[a];while(" "===e.charAt(0))e=e.substring(1);if(0===e.indexOf(t))return e.substring(t.length,e.length)}return""},setCheckboxesToVueData(){this.fieldCheckboxes.forEach((e=>{this.$set(this.form.gdpr,`checkbox-${e.gdprId}`,e.value)}))},closeModal(){this.showModal=!1,document.cookie="newsletterPopin=true";let e=document.getElementsByTagName("body");e&&e[0].classList.remove("newsletterPopup"),"sticky"===this.placement.toLowerCase()&&window.eventBus.$emit("newsletterStickyClose"),this.resetForm()},resetForm(){this.form={email:"",firstName:"",lastName:"",phone:"",gdpr:{},birth:{day:"",month:"",year:""},emailOption:!1,smsOption:!1}},setBirthData(e){this.form.birth[e.type]=e.value},setBirthValidation(e){this.isBirthValid=e},submitForm(){this.checkSMSOption(),this.validateDate=!1,this.$v.form.$touch(),this.$nextTick((()=>{this.validateDate=!0,setTimeout((()=>{if(""===this.fieldBirth.label&&(this.isBirthValid=!0),this.isBirthValid&&!this.$v.form.$pending&&!this.$v.form.$error){const e=this.fieldCheckboxes.map(((e,t)=>({gdrpSettingItemId:this.fieldCheckboxes[t].gdprId,isSelected:this.form.gdpr[`checkbox-${e.gdprId}`]}))),t=this.objectMap(this.form,((e,t)=>{if("object"===typeof e&&this.checkboxFieldIDs.includes(t)){const t=[];for(const i in e)e.hasOwnProperty(i)&&e[i]&&t.push(i);return t}return e})),i={...t,gdpr:e};this.disableEmailOptin&&(i.emailOption=!0),this.disableSmsOptin&&(i.smsOption=!0),(0,Oi.L)(`${window.location.origin}/${this.apiUrl}`,i).then((e=>{window.eventBus.$emit("clickandEnabledPopup",!0)})).catch((()=>{console.error("Request failed")})).finally((()=>{this.taggingRegistration(),this.showModal=!1,document.cookie="newsletterPopin=true";let e=document.getElementsByTagName("body");e&&e[0].classList.remove("newsletterPopup"),window.eventBus.$emit("newsletterStickyClose"),window.eventBus.$emit("clickandEnabledPopup",!0)}))}}),200)}))},checkSMSOption(){this.disableSmsOptin||(""!==this.form.phone?(this.vulidateSettings="mandatory",null==this.form.smsOption||0==this.form.smsOption?this.vulidateSettings="mandatory":this.vulidateSettings="not mandatory"):this.vulidateSettings="not mandatory")},taggingRegistration(){let e=this.position.toLowerCase();window.dataLayer.push({event:"uaevent",ecommerce:"undefined",eventCategory:"registration",eventAction:"newsletter",eventLabel:e,event_name:"newsletter_registration",referral:e})},taggingNewsletterImpression(e){window.dataLayer.push({event:"uaevent",ecommerce:"undefined",event_name:"newsletter_popin",eventCategory:this.pageCategory,eventAction:"popin impression",eventLabel:"popin impression "+e.toLowerCase(),module_name:"popin_impression",cta_name:"popin impression "+e.toLowerCase()})}}},Wo=zo,Uo=(0,u.A)(Wo,Do,Lo,!1,null,null,null),Yo=Uo.exports,Qo=(0,s.fC)({components:{NewsletterSubscriptionV2:Yo}}),Xo=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showProductPopin&&e.showProduct||e.shopRetailers||e.isSingleVariant||e.showPopup,expression:"showProductPopin && showProduct || shopRetailers || isSingleVariant || showPopup"}],staticClass:"product-popin__container",class:{"no-color-theme":e.disableColorTheme,showPopup:e.showPopup}},[[e.checkProductData&&e.shopRetailers?[t("div",{staticClass:"popupContainerOuter-overlay",class:{showPopup:e.showPopup}}),e._v(" "),t("div",{staticClass:"popupContainerOuter popupWrapper",class:{showPopup:e.showPopup},attrs:{id:"popupContainerOuter"}},[t("div",{staticClass:"popupRetailer"},[t("div",{staticClass:"popup-title__container"},[t("h2",{staticClass:"popup-heading"},[e.productData.ProductRetailerDetails?.enableBuynowSortOption?t("span",[e._v(e._s(e.productData.ProductRetailerDetails?.retailerDictionaryDatas.buyOnline))]):e._e(
9)]),e._v(" "),t("button",{staticClass:"popupCLose",on:{click:function(t){return e.closePopupScreen()}}})]),e._v(" "),e.productData.ProductRetailerDetails?.enableBuynowSortOption&&e.productData.ProductRetailerDetails.AllRetailersList.length>0&&e.productData.ProductRetailerDetails?.retailerDictionaryDatas.selectShop?t("h3",{staticClass:"popup-slectShop"},[e._v(e._s(e.productData.ProductRetailerDetails?.retailerDictionaryDatas.selectShop))]):e._e(),e._v(" "),e.productData.ProductRetailerDetails.IsCountryWiseRetailerEnabled&&e.productData.ProductRetailerDetails.Countries.length?t("div",{staticClass:"popup-country__container"},[t("h2",{staticClass:"popup-heading"},[e._v(" "+e._s(e.productData.ProductRetailerDetails?.retailerDictionaryDatas.selectCountry))]),e._v(" "),t("div",{staticClass:"popup-retailer__country"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCountry,expression:"selectedCountry"}],on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedCountry=t.target.multiple?i:i[0]}}},e._l(e.productData.ProductRetailerDetails.Countries,(function(i,a){return t("option",{key:a,domProps:{value:i}},[e._v("\n "+e._s(i)+"\n ")])})),0)])]):e._e(),e._v(" "),e.productData.ProductRetailerDetails?.enableBuynowSortOption&&e.productData.ProductRetailerDetails.AllRetailersList.length>0?t("div",{staticClass:"retailer-sorting__container"},[t("customSorting",{ref:"retailer_sorting",staticClass:"select",attrs:{sortlabel:e.productData.ProductRetailerDetails?.retailerDictionaryDatas.sortBy,options:e.productData.ProductRetailerDetails?.retailerDictionaryDatas.sortByOptions,default:e.productData.ProductRetailerDetails?.retailerDictionaryDatas?.defaultText},on:{getInput:function(t){e.sortOrder=t}}})],1):e._e(),e._v(" "),e.productData.ProductRetailerDetails?.enableBuynowSortOption&&e.sortedItems.length>0?t("div",{staticClass:"retailer-count"},[e._v(e._s(e.sortedItems.length)+" "+e._s(e.productData.ProductRetailerDetails?.retailerDictionaryDatas.onlineShoping))]):e._e(),e._v(" "),(e.productData.ProductRetailerDetails.IsCountryWiseRetailerEnabled?e.countryFilteredRetailers.length>0:e.sortedItems.length>0)?t("div",e._l(e.productData.ProductRetailerDetails.IsCountryWiseRetailerEnabled?e.countryFilteredRetailers:e.sortedItems,(function(i,a){return t("div",{key:i.id||a,staticClass:"retailer-shop__container"},[t("div",{staticClass:"retailer-shop-wrapper"},[t("div",{staticClass:"retailer-shop-img"},[t("img",{attrs:{src:i.RetailerImage,alt:i.ProductRetailerItemName,width:"130",height:"70"}})]),e._v(" "),t("div",{staticClass:"retailer-shop-name-wrapper"},[i.CTALabel?t("span",{staticClass:"retailer-name"},[e._v(" "+e._s(i.ProductRetailerItemName))]):e._e(),e._v(" "),i.price?t("span",{staticClass:"retailer-price"},[e._v(e._s(i.price))]):e._e()])]),e._v(" "),i.stockAvailability?t("div",{staticClass:"retailer-shop-instock"},[e._v("\n "+e._s(i.stockAvailability)+"\n ")]):e._e(),e._v(" "),i.deliveryTime?t("div",{staticClass:"retailer-shop-deliveryTime"},[e._v("\n "+e._s(e.productData.ProductRetailerDetails?.retailerDictionaryDatas.deliveryTimeLabel)),t("strong",[e._v(e._s(i.deliveryTime))])]):e._e(),e._v(" "),t("div",{staticClass:"retailer-shop-buyNow"},[t("a",{staticClass:"cta cta--light",attrs:{href:i.RetailerLink,rel:"nofollow noopener noreferrer",target:"_blank","panel-focusable":""},on:{click:function(t){return e.gatagging(i.AddToCartTags,i.WhereToBuyTags,i.ProductRetailerItemName,a)}}},[e._v(" "+e._s(i.CTALabel))])])])})),0):t("div",[t("p",{staticClass:"no-product",staticStyle:{"text-align":"center"}},[e._v(e._s(e.productData.RetailerErrorMessage))])])])])]:e._e(),e._v(" "),e.checkProductData&&e.showProduct?[t("div",{staticClass:"product-popin"},[t("button",{staticClass:"product-popin__closecta",on:{click:function(t){return e.closePopin()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 12.9636L12.9636 -1.50258e-06L15.4385 2.47487L2.47487 15.4385L0 12.9636Z",fill:"black"}}),e._v(" "),t("rect",{attrs:{x:"2.4751",width:"18.3333",height:"3.5",transform:"rotate(45 2.4751 0)",fill:"black"}})])]),e._v(" "),t("div",{staticClass:"product-popin__image-holder"},[t("img",{attrs:{src:e.productData.ProductPackShotImage,alt:e.productData>0?e.productData.ProductName.replace(/<[^>]*>?/gm,""):""}})]),e._v(" "),t("div",{staticClass:"product-popin__content"},[t("div",{staticClass:"product-popin__content--text"},[t("h3",{staticClass:"product-popin__content--title",domProps:{innerHTML:e._s(e.decodeHtml(e.productData.ProductName))}}),e._v(" "),t("p",{staticClass:"product-popin__content--Description",domProps:{innerHTML:e._s(e.decodeHtml(e.productData.ProductDescription))}})]),e._v(" "),e.checkProductData?t("div",{staticClass:"product-popin__content--selector"},[e.checkProductData&&e.variantsDetail?t("div",{staticClass:"sticky__select--select_capacity"},[t("label",{staticClass:"sticky__select--select_capacity-label"},[e._v(e._s(e.productData.CapacityText||"Select a size"))]),e._v(" "),t("volume-variant-v2",{attrs:{volumes:e.productData.VariantsDetailJson,"legend-name":"INHOUD","aria-label":e.legendCurrentVolume,sfccvolumesdetails:e.productData.SfccVariantsJson,"popup-dropdown":!1,productid:e.productData.VariantsItemIdJson}}
9)],1):e._e(),e._v(" "),e.checkProductData&&e.shadesDetail?t("div",{staticClass:"sticky__select--select_color"},[t("label",{staticClass:"sticky__select--select_color-label"},[e._v(e._s(e.productData.ColorText||"Select a color"))]),e._v(" "),t("color-variant-v2",{ref:"colorVariant",attrs:{"a11y-close-panel-text":"panelText","a11y-next-panel-text":"nextPanelText","a11y-previous-panel-text":"previousPanelText",colors:e.productData.ShadeVariants,"legend-name":e.productData.colorVariantLabelText||"Select a color",productid:e.productData.VariantsItemIdJson,sfcccolorsdetails:e.productData.SfccVariantsJson,"popup-dropdown":!1}})],1):e._e()]):e._e(),e._v(" "),t("div",{staticClass:"product-popin__buttons"},[e.mikmakData?.isMikmakEnabled?t("mikmak-module",{attrs:{"mikmak-widget-id":e.mikmakData.mikmakWidgetId,"mikmak-sticky-button":e.mikmakData.mikmakStickyButton,"label-text":e.mikmakData.labelText,"product-id":e.selectedProductId,"analytics-data":e.mikmakData.analyticsData,"mikmak-cart-tag":e.mikmakData.productTagList,"product-name":e.removeHtmlAndSpecialChars(e.productData.ProductName)},on:{"update:productId":function(t){e.selectedProductId=t}}}):e._e(),e._v(" "),"true"==e.productData.RetailerIsEnabled?t("lrp-retailer",{staticClass:"sticky__buynow-button",attrs:{"data-variant-ean":e.productData.RetailerEan,"product-ean":e.productData.RetailerEan,"initial-data":e.productData.ProductRetailerDetails,"data-text-lable":e.productData.RetailerClickLabel,"data-bynow-tagging":e.productData.ClickCollectTagging[0],"sticky-buynow-button":!1,"error-messgage":e.productData.RetailerErrorMessage,"variant-detail":e.productData.VariantsDetailJson,"volumes-detail":e.productData.VariantsDetailJson,"colors-details":e.productData.ShadeVariants,"color-list":e.productData.ShadeVariants,"product-ids":e.productData.VariantsItemIdJson,"legend-current-volume":e.legendCurrentVolume,"cta-class":"cta cta--light"}}):e._e(),e._v(" "),"true"!==e.productData.SFMCIsEnabled&&"true"===e.productData.CommerConnectorIsEnabled&&e.showPopup?t("buy-now",{attrs:{"buynow-text":e.productData.BuyOnlineButtonText,"is-online":!0,"product-ean":e.selectedProductId,"product-id":e.productData.ProductID,"product-name":e.productData.ProductName,"product-ids":e.productData.VariantsItemIdJson,"variant-detail":e.productData.VariantsDetailJson,"volumes-detail":e.productData.VariantsDetailJson,"colors-details":e.productData.ShadeVariants,"color-list":e.productData.ShadeVariants,"tag-event":!0,"buynow-eventlabel":e.productData.BuyOnlineButtonText,"legend-current-volume":e.legendCurrentVolume,"product-popin-cta-class":"cta cta--light"}}):e._e(),e._v(" "),"true"===e.productData.IsClickandCollectEnable?t("pharmacy-cta-button",{ref:"pharmacyCtaButton",attrs:{"initial-data":e.productData.ClickAndCollectJson,"image-url":"","cta-lable":e.productData.ClickClollectLabel,"data-alttext":"Click - Collect","data-clickand-collect-tagging":e.productData.ClickCollectTagging}}):e._e(),e._v(" "),"true"===e.productData.PharmacyIsEnabled?t("a",{staticClass:"cta cta--light cta--alt",attrs:{href:e.productData.FindTheCLosestPharmacyUrl},on:{click:e.findformacyTag}},[t("span",{domProps:{innerHTML:e._s(e.productData.FindTheCLosestPharmacyText)}})]):e._e()],1)])]),e._v(" "),t("div",{staticClass:"product-popin__backdrop",on:{click:function(t){return e.closePopin()}}})]:e._e(),e._v(" "),e.checkProductData&&e.isSingleVariant?[t("buy-now",{attrs:{"buynow-text":e.productData.BuyOnlineButtonText,"is-online":!0,"product-ean":e.selectedProductId,"product-id":e.productData.ProductID,"product-name":e.productData.ProductName,"product-ids":e.productData.VariantsItemIdJson,"variant-detail":e.productData.VariantsDetailJson,"volumes-detail":e.productData.VariantsDetailJson,"colors-details":e.productData.ShadeVariants,"color-list":e.productData.ShadeVariants,"tag-event":!0,"buynow-eventlabel":e.productData.BuyOnlineButtonText,"product-popin-cta-class":"cta cta--light",isSingleVariant:e.isSingleVariant,requestData:e.requestData,"legend-current-volume":e.legendCurrentVolume},on:{closeProductpopin:e.closePopin}})]:e._e()]],2)},Go=[],Ko=function(){var e=this,t=e._self._c;
9return t("div",{class:[e.routineProduct?"":" cell","commerce-connector"]},[e.isSingleVariant?e._e():[1!=this.showBuyNowButton||e.isBuyOnline||e.stickyBuynowButton?e.isBuyOnline&&!e.stickyBuynowButton?t("div",[""!==e.productPopinCtaClass?[t("button",{class:e.productPopinCtaClass,on:{click:function(t){return e.buybuttonselect()}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.buynowTextData)+"\n ")])])]:[t("button",{staticClass:"actionBtn buyOnline",attrs:{type:"button"},on:{click:function(t){return e.buybuttonselect()}}},[e._v(" "+e._s(e.buynowTextData)+" ")])]],2):e._e():t("div",{staticClass:"buyOnline -btnOnly"},[t("div",{staticClass:"popupContainer__bagIcon",on:{click:function(t){return e.buybuttonselect()}}},[t("img",{attrs:{alt:"bag",src:"/frontend/master/images/icons/bag.svg"}})]),e._v(" "),t("div",{class:e.ctaClass},[t("span",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{category:"Ecommerce",action:"click to buy",label:e.buynowEventlabelData,event_name:"buy_now",product_info:e.buynowEventlabelData},expression:"{\n category: 'Ecommerce',\n action: 'click to buy',\n label: buynowEventlabelData,\n event_name: 'buy_now',\n product_info: buynowEventlabelData\n }",arg:"useractionevent"}],staticClass:"btn__wrapper",on:{click:function(t){return e.buybuttonselect()}}},[e._v("\n "+e._s(e.buynowTextData)+"\n ")])])]),e._v(" "),e.stickyBuynowButton?t("div",[t("button",{staticClass:"actionBtn buyOnline",attrs:{type:"button"},on:{click:function(t){return e.mobilebuybutton()}}},[e._v(" "+e._s(e.buynowTextData)+" ")])]):e._e()],e._v(" "),t("div",{staticClass:"popupContainerOuter-overlay",class:{showPopup:e.showPopup}}),e._v(" "),t("div",{staticClass:"popupContainerOuter popupWrapper",class:{showPopup:e.showPopup},attrs:{id:"popupContainerOuter"}},[t("div",{staticClass:"popupRetailer"},[t("div",{staticClass:"popup-title__container"},[t("h2",{staticClass:"popup-heading"},[this.eretailer[0]?.enableBuynowSortOption?t("span",[e._v(e._s(this.eretailer[0]?.retailerDictionaryDatas.buyOnline))]):e._e()]),e._v(" "),t("button",{ref:"accessibilityfocus",staticClass:"popupCLose",attrs:{tabindex:"0"},on:{click:function(t){return e.closePopupScreen()}}})]),e._v(" "),this.eretailer[0]?.enableBuynowSortOption?t("h3",{staticClass:"popup-slectShop"},[e._v(" "+e._s(this.eretailer[0]?.retailerDictionaryDatas.selectShop)+" ")]):e._e(),e._v(" "),this.eretailer[0]?.enableBuynowSortOption&&this.eretailer.length>0?t("div",{staticClass:"retailer-sorting__container"},[t("customSorting",{ref:"retailer_sorting",staticClass:"select",attrs:{sortlabel:e.retailerDatas.sortBy,options:e.dropdownItem,default:e.retailerDatas.defaultText},on:{getInput:function(t){e.sortOrder=t}}})],1):e._e(),e._v(" "),this.eretailer.length>0?t("div",{staticClass:"tabs"},[t("ul",e._l(this.eretailer,(function(i,a){return t("li",{key:a,class:{"is-active":e.show==a},on:{click:function(t){t.preventDefault(),e.show=a}}},[e._v("\n "+e._s(i.countryCode)+" \n ")])})),0)]):e._e(),e._v(" "),t("div",{staticClass:"tabData"},[t("transition-group",{attrs:{name:"fade-up",target:"div",appear:""},nativeOn:{click:function(t){return e.navigate(t)}}},e._l(this.eretailer,(function(i,a){return e.show==a?t("div",{key:a},[i.enableBuynowSortOption&&0==i.shopsUnavailable?t("div",{staticClass:"retailer-count"},[e._v(e._s(i.shops.length)+" "+e._s(e.retailerDatas.onlineShoping)+" ")]):e._e(),e._v(" "),0==i.shopsUnavailable?t("div",{attrs:{id:"commerceConnectWrapper"}},[t("div",e._l(e.sortedItems,(function(i){return t("div",{key:i.id,staticClass:"retailer-shop__container"},[t("div",{staticClass:"retailer-shop-wrapper"},[t("div",{staticClass:"retailer-shop-img"},[t("img",{attrs:{src:i.logo,alt:"shop",width:"130",height:"70"}})]),e._v(" "),t("div",{staticClass:"retailer-shop-name-wrapper"},[t("span",{staticClass:"retailer-name"},[e._v(" "+e._s(i.title)+" ")]),e._v(" "),i.price?t("span",{staticClass:"retailer-price"}
9,[e._v(e._s(i.price))]):e._e()])]),e._v(" "),i.stockAvailability?t("div",{staticClass:"retailer-shop-instock"},[e._v("\n "+e._s(i.stockAvailability)+"\n ")]):e._e(),e._v(" "),i.deliveryTime?t("div",{staticClass:"retailer-shop-deliveryTime"},[e._v("\n "+e._s(e.retailerDatas.deliveryTimeLabel)),t("strong",[e._v(" "+e._s(i.deliveryTime))])]):e._e(),e._v(" "),i.link?t("div",{staticClass:"retailer-shop-buyNow"},[t("a",{staticClass:"cta cta--light",attrs:{href:i.link,target:"_blank","panel-focusable":""},on:{click:function(t){return e.setAnalytics(i.cartTagging)}}},[e._v(" "+e._s(i.buyButton))])]):e._e()])})),0)]):t("div",{staticClass:"popupContainer__inner",attrs:{id:"commerceConnectWrapper"}},[e._v("\n "+e._s(i.defaultDescriptionTitle)+"\n ")])]):e._e()})),0)],1)])]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.capacityPopup,expression:"capacityPopup"}],staticClass:"popupContainerOuter variantPopupOuter capacityPopupContainerOuterroutine",class:{capacityPopup:e.capacityPopup},attrs:{id:"capacityPopupContainerOuter"}},[e.capacityPopup?t("div",{staticClass:"variant popupContainer"},[t("div",{staticClass:"popupContainer__close",on:{click:function(t){return e.closecapacityPopupScreen()}}},[e._v("â")]),e._v(" "),t("div",{staticClass:"container pdp-stikcy-bar",attrs:{id:"app"}},[t("div",{staticClass:"sticky-parent"},[t("div",{staticClass:"sticky__heading"},[t("img",{attrs:{src:e.productImg,alt:"product images"}})]),e._v(" "),t("div",{staticClass:"sticky__select"},[t("div",{staticClass:"sticky__title",domProps:{innerHTML:e._s(e.pfdTitle)}}),e._v(" "),t("div",{staticClass:"sticky__select--select_capacity"},[t("volume-variant-v2",{attrs:{volumes:e.volumesDetail,"legend-name":e.capacityText,"aria-label":e.legendCurrentVolume,sfccvolumesdetails:e.variantDetail,"popup-dropdown":!0,productid:e.productIds}})],1),e._v(" "),e.colorList.length>0?t("div",{staticClass:"sticky__select--select_color"},[t("color-variant-v2",{attrs:{"a11y-close-panel-text":"panelText","a11y-next-panel-text":"nextPanelText","a11y-previous-panel-text":"previousPanelText",colors:e.colorList,"legend-name":e.colorText,itemprop:"color",productid:e.productIds,sfcccolorsdetails:e.colorsDetails,"popup-dropdown":!0}})],1):e._e()])]),e._v(" "),t("div",{staticClass:"sticky__buynow-button"},[t("button",{staticClass:"actionBtn buyOnline",attrs:{type:"button"},on:{click:function(t){return e.buybuttonselect()}}},[e._v(" "+e._s(e.buynowTextData)+" ")])])])]):e._e()])],2)},Zo=[],Jo=i(500),el=function(){var e=this,t=e._self._c;return t("fieldset",{staticClass:"color-variant-v2",class:[1==e.colors.length?"singleColor":""]},[t("legend",{staticClass:"is-sr-only",attrs:{id:"legend-shade"}},[e._v("\n "+e._s(e.legendName)+"\n ")]),e._v(" "),t("div",{staticClass:"productItemId"},[e._v(e._s(e.productid[e.activeShadeIndex].id))]),e._v(" "),t("div",{staticClass:"productItemActiveId"},[e._v(e._s(e.sfcccolorsdetails[0].ean))]),e._v(" "),e.colors.length>1?t("div",{staticClass:"color-variant__wrapper"},[t("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.DropdownClose,expression:"DropdownClose"}],staticClass:"select-custom"},[t("button",{ref:"dropdownBtn",staticClass:"select-custom__btn",class:{"is-active":e.isDropdownOpened},attrs:{id:"current-color","aria-labelby":e.a11yAriaLabel,"aria-expanded":e.isDropdownOpened?"true":"false"},on:{click:function(t){return t.preventDefault(),e.dropdownToggle()},blur:function(t){return e.dropdownOnBlur(e.activeShade)}}},[t("span",{staticClass:"color__shade main-shade",style:{"background-color":void 0!==e.activeShade?e.activeShade.hex:""}}),e._v(" "),t("span",{staticClass:"shade-name"},[e._v(" "+e._s(e.activeShade.name)+" ")]),e._v(" "),t("svg",{attrs:{width:"16",height:"8","aria-hidden":"true"}},[t("path",{attrs:{"fill-rule":"nonzero",d:"M14.675.62l.65.76L8 7.659.675 1.379l.65-.759L8 6.341z"}})])]),e._v(" "),t("transition",{attrs:{name:"main-menu-languages"}},[e.colors.length>0?t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isDropdownOpened,expression:"isDropdownOpened"}],on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.dropdownToggle(
9)}}},e._l(e.colors,(function(i,a){return t("li",{key:a,on:{click:function(t){e.dropdownOnBlur(i),e.setAnalytics(i.tagging),e.activeEAN(i.ean)}}},[t("span",{staticClass:"color__shade shade_dropdown",style:{"background-color":e.colors.length>0?e.colors[0].hex:""}}),e._v(" "),t("label",{key:a,staticClass:"color-variant__shade",attrs:{for:`color-shade-${a}`,id:i.id},on:{click:function(t){e.DropdownClose(),e.packshotChange(i.packshot)}}},[e._v("\n "+e._s(i.name)+"\n ")])])})),0):e._e()])],1)]):t("p",{staticClass:"color-variant__single-el"},[t("span",{staticClass:"color__shade main-shade",style:{"background-color":e.colors.length>0?e.colors[0].hex:""}}),e._v(" "),e.colors.length>0?t("span",[e._v(" "+e._s(e.colors[0].name)+" ")]):e._e()])])},tl=[],il={name:"color-variant-v2",directives:{clickoutside:_e},props:{a11yClosePanelText:{type:String,required:!1,default:"Close panel"},a11yNextPanelText:{type:String,required:!1,default:"Next panel"},a11yPreviousPanelText:{type:String,required:!1,default:"Previous panel"},colors:{type:Array,required:!0},productid:{type:Array,required:!0},sfcccolorsdetails:{type:Array,required:!0},legendName:{type:String,required:!0,default:"Shade"},a11yAriaLabel:{type:String,required:!1,default:""},popupDropdown:{type:Boolean,required:!1,default:!1}},data(){return{isDropdownOpened:!1,activeShade:this.colors[0],activeShadeIndex:0,smallScreen:!window.matchMedia("(min-width: 1024px)").matches}},mounted(){window.eventBus.$on("showColorValue",(e=>{this.activeShade=e})),this.dropdownOnBlur(this.activeShade),this.initializeUpdateEAN(this.activeShade.ean)},methods:{DropdownClose(){this.isDropdownOpened&&(this.isDropdownOpened=!1)},packshotChange(e){e&&window.eventBus.$emit("selectedVarientImage",e)},setAnalytics(e){e&&_.Xj.pushDataLayer(e)},dropdownToggle(){this.isDropdownOpened?this.DropdownClose():setTimeout((()=>{this.isDropdownOpened=!0,setTimeout((()=>{this.$el.querySelector('input[type="radio"]:checked')&&this.$el.querySelector('input[type="radio"]:checked').focus()}),50)}),100)},initializeUpdateEAN(e){"function"===typeof window.RefApp?.DSF?.SetEANNumber&&window.RefApp.DSF.SetEANNumber(e)},activeEAN(e){this.initializeUpdateEAN(e)},dropdownOnBlur(e){setTimeout((()=>{let t;document.documentMode||/Edge/.test(navigator.userAgent)?t=document.activeElement.classList[0]||null:(t=document.activeElement.classList.value,this.activeShade=e,window.eventBus.$emit("showColorValue",e),this.colors.forEach(((t,i)=>{e.id==t.id&&(this.activeShadeIndex=i)}))),"js-select-option"!==t&&!0===this.isDropdownOpened&&this.DropdownClose()}),300)}}},al=il,sl=(0,u.A)(al,el,tl,!1,null,null,null),nl=sl.exports,rl=function(){var e=this,t=e._self._c;return t("fieldset",{staticClass:"volume-variant-v2 volume-variant1",class:[1==e.volumes.length?"singleVolume":""]},[t("legend",{staticClass:"is-sr-only",attrs:{id:"legend-volume"}},[e._v(e._s(e.legendName))]),e._v(" "),t("div",{staticClass:"productItemId"},[e._v(e._s(e.productid.length>=1?e.productid[e.volumeIndex].id:""))]),e._v(" "),t("div",{staticClass:"productItemActiveId"},[e._v(e._s(e.sfccvolumesdetails.lenght>=1?e.sfccvolumesdetails[e.volumeIndex].ean:""))]),e._v(" "),e.volumes.length>1?t("div",{staticClass:"volume-variant__wrapper"},[t("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.DropdownClose,expression:"DropdownClose"}],staticClass:"select-custom"},[t("button",{ref:"dropdownBtn",staticClass:"select-custom__btn",class:{"is-active":e.isDropdownOpened},attrs:{id:"current-volume","aria-labelby":e.a11yAriaLabel,"aria-expanded":e.isDropdownOpened?"true":"false"},on:{click:function(t){return t.preventDefault(),e.dropdownToggle()},blur:function(t){return e.dropdownOnBlur(e.activeVolume)}}},[t("span",[e._v(e._s(e.activeVolume))]),e._v(" "),t("svg",{attrs:{width:"16",height:"8","aria-hidden":"true"}},[t("path",{attrs:{"fill-rule":"nonzero",d:"M14.675.62l.65.76L8 7.659.675 1.379l.65-.759L8 6.341z"}})])]),e._v(" "),t("transition",{attrs:{name:"main-menu-languages"}},[t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isDropdownOpened,expression:"isDropdownOpened"}],on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.dropdownToggle(
9)}}},e._l(e.volumes,(function(i,a){return t("li",{key:i.id,on:{click:function(t){e.dropdownOnBlur(i.size),e.setAnalytics(i.tagging)}}},[t("label",{key:a,staticClass:"volume-variant__label",attrs:{for:`volumes-shade-${a}`,id:i.id},on:{click:function(t){e.DropdownClose(),e.selectedSize(i.variantEANId),e.selectedVariant(i.variantEANId),e.selectedProduct(i.variantEANId),e.packshotChange(i.packshot),e.activeEAN(i.variantEANId)}}},[e._v("\n "+e._s(i.size)+"\n ")])])})),0)])],1)]):t("p",{staticClass:"volume-variant__single-el"},[e._v(e._s(e.volumes.length>=1?e.volumes[0].size:"")+"\n "),t("ul",{staticStyle:{display:"none"}},e._l(e.volumes,(function(e){return t("li",{key:e.id},[t("input",{staticClass:"js-select-option",attrs:{type:"radio",name:"volume",checked:"",id:e.id}})])})),0)])])},ol=[],ll={name:"volume-variant-v2",directives:{clickoutside:_e},props:{productid:{type:Array,required:!0},volumes:{type:Array,required:!0},legendName:{type:String,required:!0,default:"Volume"},a11yAriaLabel:{type:String,required:!1,default:"legend-volume current-volume"},sfccvolumesdetails:{type:Array,required:!0},popupDropdown:{type:Boolean,require:!1,default:!1}},data(){return{isDropdownOpened:!1,activeVolume:this.volumes.length>=1?this.volumes[0].size:"",volumeIndex:0,smallScreen:!window.matchMedia("(min-width: 1024px)").matches}},mounted(){window.eventBus.$on("showVolumeValue",(e=>{e&&(this.activeVolume=e)})),this.dropdownOnBlur(this.activeVolume),this.initializeUpdateEAN(this.volumes[0].variantEANId)},methods:{packshotChange(e){e&&window.eventBus.$emit("selectedVarientImage",e)},initializeUpdateEAN(e){"function"===typeof window.RefApp?.DSF?.SetEANNumber&&window.RefApp.DSF.SetEANNumber(e)},activeEAN(e){this.initializeUpdateEAN(e)},DropdownClose(){this.isDropdownOpened&&(this.isDropdownOpened=!1)},setAnalytics(e){_.Xj.pushDataLayer(e)},selectedVariant(e){window.eventBus.$emit("selectedVarientSize",e)},selectedProduct(e){window.eventBus.$emit("selectedVolume",e)},selectedSize(e){window.eventBus.$emit("SelectVarientPdpChangedAction",e)},dropdownToggle(){this.isDropdownOpened?this.DropdownClose():setTimeout((()=>{this.isDropdownOpened=!0,setTimeout((()=>{this.$el.querySelector('input[type="radio"]:checked')&&this.$el.querySelector('input[type="radio"]:checked').focus()}),50)}),100)},dropdownOnBlur(e){setTimeout((()=>{let t;document.documentMode||/Edge/.test(navigator.userAgent)?t=document.activeElement.classList[0]||null:(t=document.activeElement.classList.value,this.activeVolume=e,window.eventBus.$emit("showVolumeValue",e),this.volumes.forEach(((t,i)=>{e===t.size&&(this.volumeIndex=i)}))),"js-select-option"!==t&&!0===this.isDropdownOpened&&this.DropdownClose()}),300)}}},cl=ll,dl=(0,u.A)(cl,rl,ol,!1,null,null,null),ul=dl.exports,pl={name:"buynow",components:{VueSlickCarousel:Ha(),ColorVariantV2:nl,VolumeVariantV2:ul,customSorting:Jo.A},directives:{tag:_.Tc},props:{requestData:{type:String,required:!1,default:""},isSingleVariant:{type:Boolean,default:!1},capacityText:{type:String,required:!1,default:"Capacity"},colorText:{type:String,required:!1,default:"Color"},productId:{type:String,required:!1,default:""},buynowText:{type:String,required:!0},buynowEventlabel:{type:String,required:!1,default:"Productname::Productean"},isOnline:{type:Boolean,required:!1,default:!1},productImg:{type:String,required:!1,default:""},stickyBuynowButton:{type:Boolean,required:!1,default:!1},pfdTitle:{type:String,required:!1,default:"<strong>TOLERIANE</strong> <br/> SENSITIVE <br/>LE TEINT CREME"},variantDetail:{type:Array,required:!1,default:[]},volumesDetail:{type:Array,required:!1,default:[]},colorsDetails:{type:Array,required:!1,default:[]},colorList:{type:Array,required:!1,default:[]},productIds:{type:Array,required:!1,default:[]},productName:{type:String,required:!1,default:""},productEan:{type:String,required:!1,default:""},tagEvent:{type:Boolean,required:!1,default:!1},routineProduct:{type:Boolean,required:!1,default:!1},routineMobile:{type:Boolean,required:!1,default:!1},ctaClass:{type:String,default:"cta cta--light"},legendCurrentVolume:{type:String,required:!1,default:"legend-volume current-volume"},productPopinCtaClass:{type:String,default:""}},data(){return{dropdownItem:[],capacityPopup:!1,sortField:"title",settings:{dots:!0,arrows:!0,infinite:!1,speed:500,slidesToShow:4,slidesToScroll:4,initialSlide:0,touchThreshold:5,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:4,infinite:!1,dots:!0}},{breakpoint:1023,settings:{slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!0}},{breakpoint:768,settings:{vertical:!0,verticalSwiping:!0,slidesToShow:3,slidesToScroll:1,autoplay:!1,autoplaySpeed:0,speed:15e3,cssEase:"linear",infinite:!0,arrows:!1,touchMove:!0,swipeToSlide:!0,swipe:!0}}]},eretailer:[],retailerDatas:[],eretailershops:[],shopsUnavailable:!0,defaultDescriptionTitle:"",buynowTextData:this.buynowText,buynowEventlabelData:this.buynowEventlabel,showBuyNowButton:!0,showPopup:!1,show:0,prescriptedValue:"",smallScreen:!window.matchMedia("(min-width: 1024px)").matches,isBuyOnline:this.isOnline,rangeListData:{}
9,eanvalue:"",capacityMl:"",selectedInput:"",sortOrder:""}},watch:{showPopup(e){e&&(this.sortOrder="",this.$refs.retailer_sorting.selected=this.retailerDatas.defaultText)}},computed:{sortedItems(){return this.sortOrder?[...this.eretailer[this.show].shops].sort(((e,t)=>"asc"===this.sortOrder?e[this.sortField].localeCompare(t[this.sortField]):t[this.sortField].localeCompare(e[this.sortField]))):this.eretailer[this.show].shops}},mounted(){window.eventBus.$on("selectProductIdValue",(e=>{e&&(this.capacityMl=e)})),this.isSingleVariant&&(this.apiFetch(this.requestData),this.productBuynowTag()),this.routineProduct&&this.buybuttonselect(),this.routineMobile&&this.mobilebuybutton(),this.getUrlParam();let e=document.querySelectorAll(".js-select-option"),t=e&&e.length;t<=0&&(this.showBuyNowButton=!1);let i=document.getElementsByClassName("popupContainer__bagIcon");i.length>=1&&(document.getElementsByClassName("popupContainer__bagIcon")[0].style.marginTop="auto"),window.eventBus.$on("showRetailerPopup",(()=>{setTimeout((()=>{this.buybuttonselect()}),300)})),eventBus.$on("mediaquery::changed",(()=>{this.smallScreen=!window.matchMedia("(min-width: 1024px)").matches}))},methods:{getUrlParam(){const e=window.location.href.split("?");if(2==e.length){const t=e[1].split("&"),i={};let a="";t.forEach((function(e){a=e.split("="),2==a.length&&(i[a[0]]=a[1])})),i&&(this.prescriptedValue=i)}},setAnalytics(e){_.Xj.pushDataLayer(e)},navigate:function(e){e.target.dataset.show&&(e.preventDefault(),this.show=e.target.dataset.show)},productBuynowTag(){_.Xj.pushDataLayer({event:"uaevent",event_name:"buy_now",ecommerce:"undefined",eventCategory:"Ecommerce",eventAction:"click to buy",eventLabel:`${this.removeHtmlAndSpecialChars([this.productName.toLowerCase()])}::${[this.productEan]}`,product_info:`${this.removeHtmlAndSpecialChars([this.productName.toLowerCase()])}::${[this.productEan]}`})},buybuttonselect(){!0===this.tagEvent&&this.productBuynowTag(),this.closeCapacityPopupIfOpen(),this.activateStickyWrapperIfNeeded(),this.openBuyPopup(),this.apiFetch(this.resolveProductItemId())},closeCapacityPopupIfOpen(){this.capacityPopup&&(this.capacityPopup=!1,document.getElementById("capacityPopupContainerOuter").classList.remove("showPopup"))},activateStickyWrapperIfNeeded(){this.isBuyOnline||document.querySelector(".sticky-wrapper").classList.add("sticky-wrapper__active")},openBuyPopup(){document.getElementById("popupContainerOuter").classList.remove("hidePopup"),this.showPopup=!0,document.body.classList.contains("is-using-keyboard")&&this.$nextTick((()=>{this.$refs.accessibilityfocus?.focus()})),document.querySelector(".buyOnline")?.classList.add("buyOnline__active")},resolveProductItemId(){let e;return e=this.rangeListData.israngelist?this.rangeListData.commerceConnectorId:this.getProductItemIdFromDom(),this.capacityMl&&(e=this.capacityMl),e},getProductItemIdFromDom(){const e=document.querySelectorAll(".productItemId"),t=e&&e.length;if(t>0){const e=document.querySelectorAll(".productItemId")[0].textContent;return`{${e}}`}return this.getCheckedSelectOptionId()},getCheckedSelectOptionId(){const e=document.querySelectorAll(".js-select-option"),t=e&&e.length;if(!(t<=0))for(let i=0;i<e.length;i++){const t=e[i].getAttribute("id"),a=document.getElementById(t).checked;if(!0===a)return t}},apiFetch(e){fetch(`/api/sitecore/CommerceConnector/CommerceConnector?itemId=${e}&prescripted=${this.prescriptedValue.prescripted}`).then((e=>e.json())).then((e=>{this.eretailer=e,this.retailerDatas=this.eretailer[0]?.retailerDictionaryDatas,this.dropdownItem=this.retailerDatas.sortByOptions})),this.showPopup=!0},closePopupScreen:function(){this.productId&&this.$emit("closepopup"),window.eventBus.$emit("closeProductpopin"),window.eventBus.$emit("retailerbuynow",!1),document.getElementById("popupContainerOuter").classList.add("hidePopup"),document.querySelector(".sticky-wrapper")?.classList.remove("sticky-wrapper__active"),document.querySelector(".buyOnline")?.classList.remove("buyOnline__active"),document.body.style.removeProperty("overflow"),this.showPopup=!1},mobilebuybutton:function(){this.capacityPopup=!0,this.showPopup=!1,document.getElementById("capacityPopupContainerOuter")&&document.getElementById("capacityPopupContainerOuter").classList.add("showPopup"),document.querySelector(".buyOnline").classList.add("buyOnline__active"),document.body.style.overflow="hidden",document.getElementById("main").classList.add("variantPopup_active"),document.querySelector(".capacityPopupContainerOuterroutine").classList.add("showPopup")},closecapacityPopupScreen:function(){this.capacityPopup=!1,this.showPopup=!1,window.eventBus.$emit("retailerbuynow",!1),document.getElementById("capacityPopupContainerOuter").classList.remove("showPopup"),document.querySelector(".buyOnline").classList.remove("buyOnline__active"),document.body.style.removeProperty("overflow"),document.getElementById("main").classList.remove("variantPopup_active")},removeHtmlAndSpecialChars(e){const t=new DOMParser,i=t.parseFromString(e,"text/html"),a=i.body.textContent||"";return a.replaceAll("\n","")}}},hl=pl,ml=(0,u.A)(hl,Ko,Zo,!1,null,null,null),gl=ml.exports,vl=function(){var e=this,t=e._self._c;return t("div",{staticClass:"lrp-retailer",class:[e.productDesbutton?"":" cell"]},[e.stickyBuynowButton?e.stickyBuynowButton&&!e.smallScreen||e.stickyBuynowButton&&e.oneVariant?t("div",[t("button",{staticClass:"actionBtn buyOnline",attrs:{type:"button"},on:{click:function(t){return e.buybuttonselect()}}}
9,[e._v(" "+e._s(e.dataTextLable)+" ")])]):e._e():t("div",{staticClass:"buyOnline -btnOnly"},[t("div",{staticClass:"popupContainer__bagIcon popupContainer__bagIcon_buy",on:{click:function(t){return e.buybuttonselect()}}},[t("img",{attrs:{alt:"bag",src:"/frontend/master/images/icons/bag--black.svg"}})]),e._v(" "),t("button",{class:e.ctaClass?"cta cta--light actionBtn buyOnline":e.ctaClass,on:{click:function(t){return e.buybuttonselect()}}},[t("span",{staticClass:"btn__wrapper"},[e._v("\n "+e._s(e.dataTextLable)+" \n ")])])]),e._v(" "),e.stickyBuynowButton&&e.smallScreen&&!1===e.oneVariant?t("div",[t("button",{staticClass:"actionBtn buyOnline",attrs:{type:"button"},on:{click:function(t){return e.mobilebuybutton()}}},[e._v(" "+e._s(e.dataTextLable)+" ")])]):e._e(),e._v(" "),t("div",{staticClass:"popupContainerOuter-overlay",class:{showPopup:e.showPopup}}),e._v(" "),t("div",{staticClass:"popupContainerOuter popupWrapper",class:{showPopup:e.showPopup},attrs:{id:"popupContainerOuter"}},[t("div",{staticClass:"popupRetailer"},[t("div",{staticClass:"popup-title__container"},[t("h2",{staticClass:"popup-heading"},[e.initialData.enableBuynowSortOption?t("span",[e._v(e._s(e.initialData.retailerDictionaryDatas.buyOnline))]):e._e()]),e._v(" "),t("button",{ref:"accessibilitybtn",staticClass:"popupCLose",attrs:{tabindex:"0"},on:{click:function(t){return e.closePopupScreen()}}})]),e._v(" "),e.initialData.enableBuynowSortOption&&e.retailerdata.length>0&&e.initialData.retailerDictionaryDatas.selectShop?t("h3",{staticClass:"popup-slectShop"},[e._v(e._s(e.initialData.retailerDictionaryDatas.selectShop))]):e._e(),e._v(" "),e.initialData.IsCountryWiseRetailerEnabled&&e.initialData.Countries.length?t("div",{staticClass:"popup-country__container"},[t("h2",{staticClass:"popup-heading"},[e._v(" "+e._s(e.initialData.retailerDictionaryDatas.selectCountry))]),e._v(" "),t("div",{staticClass:"popup-retailer__country"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedCountry,expression:"selectedCountry"}],on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedCountry=t.target.multiple?i:i[0]}}},e._l(e.initialData.Countries,(function(i,a){return t("option",{key:a,domProps:{value:i}},[e._v("\n "+e._s(i)+"\n ")])})),0)])]):e._e(),e._v(" "),e.initialData.enableBuynowSortOption&&e.retailerdata.length>0?t("div",{staticClass:"retailer-sorting__container"},[t("customSorting",{ref:"retailer_sorting",staticClass:"select",attrs:{sortlabel:e.initialData.retailerDictionaryDatas.sortBy,options:e.initialData.retailerDictionaryDatas.sortByOptions,default:e.initialData.retailerDictionaryDatas?.defaultText},on:{getInput:function(t){e.sortOrder=t}}})],1):e._e(),e._v(" "),e.initialData.enableBuynowSortOption&&e.retailerdata.length>0&&e.sortedItems.length>0?t("div",{staticClass:"retailer-count"},[e._v(e._s(e.sortedItems.length)+" "+e._s(e.initialData.retailerDictionaryDatas.onlineShoping))]):e._e(),e._v(" "),(e.initialData.IsCountryWiseRetailerEnabled?e.countryFilteredRetailers.length>0:e.sortedItems.length>0)?t("div",e._l(e.initialData.IsCountryWiseRetailerEnabled?e.countryFilteredRetailers:e.sortedItems,(function(i,a){return t("div",{key:i.id||a,staticClass:"retailer-shop__container"},[t("div",{staticClass:"retailer-shop-wrapper"},[t("div",{staticClass:"retailer-shop-img"},[t("img",{attrs:{src:i.RetailerImage,alt:i.ProductRetailerItemName,width:"130",height:"70"}})]),e._v(" "),t("div",{staticClass:"retailer-shop-name-wrapper"},[i.CTALabel?t("span",{staticClass:"retailer-name"},[e._v(" "+e._s(i.name))]):e._e(),e._v(" "),i.price?t("span",{staticClass:"retailer-price"},[e._v(e._s(i.price))]):e._e()])]),e._v(" "),i.stockAvailability?t("div",{staticClass:"retailer-shop-instock"},[e._v("\n "+e._s(i.stockAvailability)+"\n ")]):e._e(),e._v(" "),i.deliveryTime?t("div",{staticClass:"retailer-shop-deliveryTime"},[e._v("\n "+e._s(e.initialData.retailerDictionaryDatas.deliveryTimeLabel)),t("strong",[e._v(e._s(i.deliveryTime))])]):e._e(
9),e._v(" "),t("div",{staticClass:"retailer-shop-buyNow"},[t("a",{staticClass:"cta cta--light",attrs:{href:i.RetailerLink,rel:"nofollow noopener noreferrer",target:"_blank","panel-focusable":""},on:{click:function(t){return e.gatagging(i.AddToCartTags,i.WhereToBuyTags,i.ProductRetailerItemName,a)}}},[e._v(" "+e._s(i.CTALabel))])])])})),0):t("div",[t("p",{staticClass:"no-product",staticStyle:{"text-align":"center"}},[e._v(e._s(e.errorMessgage))])])])]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.capacityPopup,expression:"capacityPopup"}],staticClass:"popupContainerOuter variantPopupOuter capacityPopupContainerOuterroutine",class:{capacityPopup:e.capacityPopup},attrs:{id:"capacityPopupContainerOuter"}},[t("div",{staticClass:"variant popupContainer"},[t("div",{staticClass:"popupContainer__close",on:{click:function(t){return e.closecapacityPopupScreen()}}},[e._v("â")]),e._v(" "),t("div",{staticClass:"container pdp-stikcy-bar",attrs:{id:"app"}},[t("div",{staticClass:"sticky-parent"},[t("div",{staticClass:"sticky__heading"},[t("img",{attrs:{src:e.productImg,alt:"product images"}})]),e._v(" "),t("div",{staticClass:"sticky__select"},[t("div",{staticClass:"sticky__title",domProps:{innerHTML:e._s(e.pfdTitle)}}),e._v(" "),t("div",{staticClass:"sticky__select--select_capacity"},[t("volume-variant-v2",{attrs:{volumes:e.volumesDetail,"legend-name":e.capacityText,"a11y-aria-label":"legendCurrentVolume",sfccvolumesdetails:e.variantDetail,"popup-dropdown":!0,productid:e.productIds}})],1),e._v(" "),e.colorList.length>0?t("div",{staticClass:"sticky__select--select_color"},[t("color-variant-v2",{attrs:{"a11y-close-panel-text":"panelText","a11y-next-panel-text":"nextPanelText","a11y-previous-panel-text":"previousPanelText",colors:e.colorList,"legend-name":e.colorText,itemprop:"color",productid:e.productIds,sfcccolorsdetails:e.colorsDetails,"popup-dropdown":!0}})],1):e._e()])]),e._v(" "),t("div",{staticClass:"sticky__buynow-button"},[t("button",{staticClass:"actionBtn buyOnline",attrs:{type:"button"},on:{click:function(t){return e.buybuttonselect(!0)}}},[e._v(" "+e._s(e.dataTextLable)+" ")])])])])])])},_l=[],fl={name:"lrp-retailer",components:{Panel:Dt,Slide:Je.A,Slider:et.A,ColorVariantV2:nl,VolumeVariantV2:ul,customSorting:Jo.A},directives:{tag:_.Tc},props:{dataBynowTagging:{type:Object,required:!0},initialData:{type:Object,required:!1},dataVariantEan:{type:String,required:!1},dataTextLable:{type:String,required:!1,default:"Buy Now"},a11yNextPanelText:{type:String,required:!1,default:"Next panel"},a11yPreviousPanelText:{type:String,required:!1,default:"Previous panel"},errorMessgage:{type:String,required:!1,default:""},stickyBuynowButton:{type:Boolean,required:!1,default:!1},pfdTitle:{type:String,required:!1,default:"<strong>TOLERIANE</strong> <br/> SENSITIVE <br/>LE TEINT CREME"},productImg:{type:String,required:!1,default:""},activeColor:{type:String,required:!1,default:"#009FE3"},variantDetail:{type:Array,required:!1,default:[]},volumesDetail:{type:Array,required:!1,default:[]},colorsDetails:{type:Array,required:!1,default:[]},colorList:{type:Array,required:!1,default:[]},productIds:{type:Array,required:!1,default:[]},productName:{type:String,required:!1,default:""},tagEvent:{type:Boolean,required:!1,default:!1},routineProduct:{type:Boolean,required:!1,default:!1},capacityText:{type:String,required:!1,default:"Capacity"},colorText:{type:String,required:!1,default:"Color"},productId:{type:String,required:!1,default:""},productEan:{type:String,required:!1,default:""},productDesbutton:{type:Boolean,required:!1,default:!1},routineProductDektop:{type:Boolean,required:!1,default:!1},routineProductMobile:{type:Boolean,required:!1,default:!1},oneVariant:{type:Boolean,required:!1,default:!1},ctaClass:{type:String},navTaggingLabel:{type:[String,Array],required:!1,default:""},pageCategory:{type:String,required:!1,default:"page category"},legendCurrentVolume:{type:String,required:!1,default:"legend-volume current-volume"}},data(){return{sortField:"ProductRetailerItemName",capacityPopup:!1,eretailer:[],eretailerlist:[],retailerdata:{},shopsUnavailable:!0,showPopup:!1,show:0,allRetailer:this.initialData.IsPrdAllRetailerEnabled,payloadValue:"",smallScreen:!window.matchMedia("(min-width: 1024px)").matches,eanvalue:"",selectedInput
9:"",sortOrder:"",selectedCountry:this.initialData?.Countries?.[0]||null,variantSelected:""}},watch:{showPopup(e){e&&(this.sortOrder="",this.$refs.retailer_sorting.selected=this.initialData.retailerDictionaryDatas?.defaultText)}},computed:{sortedItems(){return this.sortOrder?[...this.retailerdata].sort(((e,t)=>"asc"===this.sortOrder?e[this.sortField].localeCompare(t[this.sortField]):t[this.sortField].localeCompare(e[this.sortField]))):this.retailerdata},countryFilteredRetailers(){if(!this.initialData?.IsCountryWiseRetailerEnabled)return[];if(!Array.isArray(this.retailerdata)||0===this.retailerdata.length)return[];const e=this.selectedCountry||this.initialData.Countries?.[0];if(!e)return this.sortedItems||[];const t=(this.sortedItems||[]).filter((t=>{const i=t.Country?.toString().trim().toLowerCase();return i===e.toString().trim().toLowerCase()}));return t.length?t:[]}},mounted(){!0===this.allRetailer&&(this.generatedRetailer(this.initialData.AllRetailersList),this.retailerdata=this.eretailerlist),(this.routineProductDektop&&!this.smallScreen||this.routineProductDektop&&this.oneVariant)&&this.buybuttonselect(),this.routineProductMobile&&this.mobilebuybutton(),window.eventBus.$on("selectedVarientSize",(e=>{this.variantSelected=e,this.eanvalue=e,this.payloadValue=e,e&&!1===this.allRetailer&&(this.payloadValue=e,this.sendRequest(e))}))},methods:{generatedRetailer(e){if(null!=e)for(let t=0;t<e.length;t++)this.valueexist(e[t])},valueexist(e){if(this.eretailerlist.length>1)for(let t=0;t<=this.eretailerlist.length;t++)this.eretailerlist.some((t=>t.ProductRetailerItemName===e.ProductRetailerItemName))||this.eretailerlist.push(e);else this.eretailerlist.push(e)},gatagging(e,t,i,a){if(e&&!1===this.allRetailer&&window.dataLayer.push({...e}),!0===this.allRetailer){let e="";e=""==this.eanvalue?this.dataVariantEan:this.eanvalue;for(let t=0;t<this.initialData.AllRetailersList.length;t++)this.initialData.AllRetailersList[t].ProductRetailerItemName===i&&this.initialData.AllRetailersList[t].VariantEANId===e&&window.dataLayer.push({...this.initialData.AllRetailersList[t].AddToCartTags})}},buybuttonselect:function(e=null){if(e&&(this.capacityPopup=!1),!1===this.allRetailer&&(this.payloadValue?this.sendRequest(this.payloadValue):this.sendRequest(this.dataVariantEan)),""===this.payloadValue&&(this.payloadValue=this.initialData.DefaultEAN),null!=this.initialData.VariantRetailerList&&this.initialData.VariantRetailerList.length>0)for(let t=0;t<this.initialData.VariantRetailerList.length;t++)this.initialData.VariantRetailerList[t].VariantID===this.payloadValue&&window.dataLayer.push(this.initialData.VariantRetailerList[t].WhereToBuyTags);document.querySelector(".sticky-wrapper")?.classList.add("sticky-wrapper__active"),document.querySelector(".buyOnline").classList.add("buyOnline__active"),this.showPopup?this.showPopup=!1:(this.showPopup=!0,document.body.classList.contains("is-using-keyboard")&&this.$nextTick((()=>{this.$refs.accessibilitybtn?.focus()})))},closePopupScreen(){document.querySelector(".sticky-wrapper")?.classList.remove("sticky-wrapper__active"),document.querySelector(".buyOnline").classList.remove("buyOnline__active"),window.eventBus.$emit("lrpretailer",!1),document.body.style.removeProperty("overflow"),setTimeout((()=>{this.showPopup=!1}),500)},sendRequest(e){this.eretailer=[],this.retailerdata="";for(let t=0;t<this.initialData.VariantRetailerList.length;t++)this.initialData.VariantRetailerList[t].VariantID==e&&this.initialData.VariantRetailerList[t].RetailerList.length>0&&(this.retailerdata=this.initialData.VariantRetailerList[t].RetailerList)},isUsingKeyboard(){return document.body.classList.contains("is-using-keyboard")},a11ySlider(){const e=this.$refs.slider.currentPerPage,t=this.$refs.slider.currentPage;this.isUsingKeyboard()&&(this.activeShade=t*e,this.$nextTick())},productBuynowTag(){window.dataLayer.push({event:"uaevent",event_name:"buy_now",ecommerce:"undefined",eventCategory:"Ecommerce",eventAction:"click to buy",eventLabel:`${[this.productName]}::${[this.productEan]}`,product_info:`${[this.productName]}::${[this.productId]}`})},mobilebuybutton:function(){this.capacityPopup=!0,this.showPopup=!1,document.getElementById("capacityPopupContainerOuter").classList.add("showPopup"),document.querySelector(".buyOnline").classList.add("buyOnline__active"),document.body.style.overflow="hidden",document.getElementById("main").classList.add("variantPopup_active")},closecapacityPopupScreen:function(){this.capacityPopup=!1,this.showPopup=!1,window.eventBus.$emit("lrpretailer",!1),document.getElementById("capacityPopupContainerOuter").classList.remove("showPopup"),document.querySelector(".buyOnline").classList.remove("buyOnline__active"),document.body.style.removeProperty("overflow"),document.getElementById("main").classList.remove("variantPopup_active")}}},yl=fl,wl=(0,u.A)(yl,vl,_l,!1,null,null,null),bl=wl.exports,Cl=function(){var e=this,t=e._self._c;return t("div",e._l(e.initialData,(function(i,a){return i.variantid===e.selectedVariant?t("div",[t("a",{staticClass:"pharmacy-cta btn--black btn--icon btn--find",attrs:{href:i.pharmacylink,target:"_blank"},on:{click:function(t){return e.clickandCollectTag()}}},[e.imageUrl?t("img",{staticClass:"btn__icon",attrs:{src:e.imageUrl,alt:e.dataAlttext}}
9):e._e(),e._v(" "),t("div",{class:e.ctaClass},[t("span",{staticClass:"btn__wrapper",attrs:{"data-default-variant":i.defaultvariantid,"data-variant":i.variantid}},[t("span",{staticClass:"btn__text"},[e._v("\r\n "+e._s(e.ctaLable)+"\r\n ")])])])])]):e._e()})),0)},Sl=[],kl={name:"pharmacy-cta-button",props:{initialData:{type:Array,required:!0},ctaLable:{type:String,required:!1,default:"Click and Collect"},imageUrl:{type:String,required:!1,default:"#"},dataAlttext:{type:String,required:!1},ctaClass:{type:String,default:"cta cta--light cta--alt"},dataClickandCollectTagging:{type:Array,required:!1,default:[]}},data(){return{selectedVariant:this.initialData[0].defaultvariantid}},mounted(){this.selectedVariant=this.initialData[0].defaultvariantid,window.eventBus.$emit("clickandcollectEnabled",!0),window.eventBus.$on("SelectVarientPdpChangedAction",(e=>{e&&(this.selectedVariant=e)})),window.eventBus.$on("SelectVarientPdpChangedActionColor",(e=>{e&&(this.selectedVariant=e)}))},methods:{clickandCollectTag(){_.Xj.pushDataLayer({...this.dataClickandCollectTagging[0].tagging})}}},Dl=kl,Ll=(0,u.A)(Dl,Cl,Sl,!1,null,null,null),Tl=Ll.exports,xl=i(4076),Al={name:"product-popin",directives:{tag:_.Tc},props:{legendCurrentVolume:{type:String,required:!1,default:"legend-volume current-volume"}},components:{ColorVariantV2:nl,VolumeVariantV2:ul,customSorting:Jo.A,pharmacyCtaButton:Tl,BuyNow:gl,LrpRetailer:bl,Slide:Je.A,Slider:et.A,MikmakModule:xl.A},data(){return{sortField:"ProductRetailerItemName",showProductPopin:!1,shopRetailers:!1,productData:{},showProduct:!1,isSingleVariant:!1,requestData:"",disableColorTheme:!1,mikmakData:{},selectedProductId:"",showPopup:!1,selectedInput:"",sortOrder:"",selectedCountry:""}},watch:{showPopup(e){e&&(this.sortOrder="",this.$refs.retailer_sorting.selected=this.productData.ProductRetailerDetails?.retailerDictionaryDatas?.defaultText)}},mounted(){const e=this;window.eventBus.$on("openProductPopin",(t=>{t&&(e.disableColorTheme=t.disableColorTheme,e.productData={},e.getProductStores(t.id),this.mikmakData=t.mikmakData,this.selectedProductId=this.mikmakData?.productEan||"",setTimeout((()=>{this.showPopup=!0}),400))})),window.eventBus.$on("closeProductpopin",(()=>{e.showProductPopin=!1,this.showPopup=!1,e.isSingleVariant=!1}))},computed:{sortedItems(){return this.sortOrder?[...this.productData.ProductRetailerDetails.AllRetailersList].sort(((e,t)=>"asc"===this.sortOrder?e[this.sortField].localeCompare(t[this.sortField]):t[this.sortField].localeCompare(e[this.sortField]))):this.productData.ProductRetailerDetails.AllRetailersList},checkProductData(){return!!(this.productData&&this.productData.ProductName&&this.productData?.VariantsDetailJson&&this.productData?.VariantsDetailJson?.length>0||this.productData?.ShadeVariants?.length>0)},variantActiveShade(){const e=this.$refs.colorVariant?.activeShade.ean;let t=this.$refs.pharmacyCtaButton?this.$refs.pharmacyCtaButton.selectedVariant:"";return t=e,t},variantsDetail(){return this.productData&&this.productData.VariantsDetailJson&&this.productData.VariantsDetailJson.length>0&&!(0===Object.keys(this.productData.VariantsDetailJson[0]).length)},shadesDetail(){return this.productData&&this.productData.ShadeVariants&&this.productData.ShadeVariants.length>0&&!(0===Object.keys(this.productData.ShadeVariants[0]).length)},countryFilteredRetailers(){const e=this.productData?.ProductRetailerDetails;if(!e?.IsCountryWiseRetailerEnabled)return[];const t=this.sortedItems||[];if(!t.length)return[];const i=this.selectedCountry||e.Countries?.[0];if(!i)return t;const a=t.filter((e=>{const t=e.Country?.toString().trim().toLowerCase();return t===i.toString().trim().toLowerCase()}));return a.length?a:[]}},methods:{setSelectedProductId(e){this.selectedProductId=e},decodeHtml(e){let t=document.createElement("div");return t.innerHTML=e,t.innerHTML||t.childNodes[0].nodeValue},async getProductStores(e){try{const t=await fetch(`${window.location.origin}/api/lrpproductlist/ProductVariantsDetails?productID={${e}}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.ok){const e=await t.json();if("string"===typeof e&&(""!==e?(this.productData=JSON.parse(e),this.selectedCountry=this.productData?.ProductRetailerDetails?.Countries?.[0]||null):(console.error("Json parsing issues"),this.productData={})),Object.keys(this.productData).length)if(this.showProductPopin=!0,this.productData.VariantsDetailJson&&this.productData.VariantsDetailJson.length>1||this.productData.ShadeVariants&&this.productData.ShadeVariants.length>1)this.isSingleVariant=!1,this.showProduct=!0,this.shopRetailers=!1;else{if(this.showProduct=!1,"true"===this.productData.CommerConnectorIsEnabled){let e;this.isSingleVariant=!0,e=this.productData.ShadeVariants&&1===this.productData.ShadeVariants.length?"{"+this.productData.ShadeVariants[0].id+"}":this.productData.VariantsDetailJson[0].id,this.requestData=e,this.shopRetailers=!1}"true"===this.productData.RetailerIsEnabled&&(this.shopRetailers=!0,this.retailerBuynowTag())}}else console.error("Request failed")}catch(t){console.error("Error:",t)}},closePopin(){this.showProductPopin=!1,this.showProduct=!1,this.showPopup=!1,document.body.classList.remove("showProductPopin")},closeSingleVarient(){this.shopRetailers=!1,this.showProductPopin=!1},removeHtmlAndSpecialChars(e){const t=new DOMParser,i=t.parseFromString(e,"text/html"),a=i.body.textContent||"";return a.replaceAll("\n","")},findformacyTag(){if(null!=this.productData&&void 0!=this.productData){let e=this.productData.ProductRetailerDetails.DefaultEAN;_.Xj.pushDataLayer({event:"uaevent",event_name:"where_to_buy",ecommerce:"undefined",eventCategory:"Ecommerce",eventAction:"where to buy",eventLabel:`${this.removeHtmlAndSpecialChars(this.productData.ProductName).toLowerCase()}::${e}`,product_info:`${this.removeHtmlAndSpecialChars(this.productData.ProductName).toLowerCase()}::${e}`})}},closePopupScreen(){this.showPopup=!1},gatagging(e){_.Xj.pushDataLayer({...e})},retailerBuynowTag(){window.dataLayer.push({event:"uaevent",event_name:"buy_now",ecommerce:"undefined",eventCategory:"Ecommerce",eventAction:"click to buy",eventLabel:`${this.removeHtmlAndSpecialChars(this.productData.ProductName).toLowerCase()}::${this.productData.RetailerEan}`,product_info:`${this.removeHtmlAndSpecialChars(this.productData.ProductName).toLowerCase()}::${this.productData.RetailerEan}`})}}},Pl=Al,El=(0,u.A)(Pl,Xo,Go,!1,null,null,null),Ml=El.exports,Il=(0,s.fC)({components:{productPopin:Ml}}),$l=function(){var e=this,t=e._self._c;return e.showNewsletterSticky?t("div",{ref:"newsletterSticky",staticClass:"newsletter-sticky",class:[e.newsletterScroll?"show-newsletter-sticky":"hide-newsletter-sticky",e.position]},[t("div",{staticClass:"newsletter-sticky__container"},[t("p",{style:{color:e.textColor},domProps:{innerHTML:e._s(e.newsletterStickyText)},on:{click:function(t){return e.showNewsLetterPopin()}}}),e._v(" "),t("button",{staticClass:"newsletter-sticky__btn",on:{click:function(t){return e.showNewsLetterPopin()}}},[t("svg",{staticClass:"newsletter-sticky__arrow",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.425 8.42409L12.0009 16.8484L3.57644 8.4241L4.42496 7.57556L12.0009 15.1513L19.5764 7.57557L20.425 8.42409Z",fill:"black"}})])]),e._v(" "),t("button",{staticClass:"btn_close close",attrs:{id:"btn_close","aria-label":e.close},on:{click:function(t){return e.closeStickyBar(!0)}}},[t("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.1515 12L3.57574 19.5757L4.42427 20.4243L12 12.8485L19.5757 20.4243L20.4243 19.5757L12.8485 12L20.4243 4.42427L19.5757 3.57574L12 11.1515L4.42427 3.57574L3.57574 4.42427L11.1515 12Z",fill:"black"}}
9)])])])]):e._e()},Bl=[],ql={name:"newsletter-sticky",props:{newsletterStickyText:{type:String,default:""},position:{type:String,default:""},textColor:{type:String,default:"#000000"},pageCategory:{type:String,default:""},close:{type:String,default:""}},data(){return{showNewsletterSticky:!1,newsletterScroll:!0}},created(){this.initialRendering()},mounted(){window.addEventListener("scroll",(()=>{let e=this.$refs.newsletterSticky;if(null!=e){const e=window.pageYOffset;0===e?(this.newsletterScroll=!0,this.showStickyOnTop(!0)):(this.newsletterScroll=!1,this.showStickyOnTop(!1))}}))},methods:{closeStickyBar(e=!1){if(this.showNewsletterSticky=!1,document.cookie="newsletterSticky=true",this.showStickyOnTop(!1),e){let e="close",t=window.matchMedia("(min-width: 767px)").matches,i=t?"top":this.position;window.dataLayer.push({event:"uaevent",ecommerce:"undefined",event_name:"sticky_bar",eventCategory:this.pageCategory,eventAction:"newsletter_sticky",eventLabel:e+" "+i.toLowerCase(),module_name:"newsletter_sticky",cta_name:e+" "+i.toLowerCase()})}},initialRendering(){const e=document.cookie.split(";").filter((e=>e.includes("newsletterSticky")));window.eventBus.$on("newsletterSticky",(()=>{this.showNewsletterSticky=!e.length,this.showNewsletterSticky&&this.showStickyOnTop(!0)})),window.eventBus.$on("newsletterStickyClose",(()=>{this.closeStickyBar()}))},showStickyOnTop(e){let t=window.matchMedia("(min-width: 767px)").matches;("Bottom"!==this.position||t)&&this.$nextTick((()=>{window.eventBus.$emit("newsletter-sticky-open-menu",e)}))},showNewsLetterPopin(){this.showNewsletterSticky=!1;window.matchMedia("(min-width: 767px)").matches;let e="sticky bar";window.eventBus.$emit("newsletterpopup",{postion:e,show:!0});let t=document.getElementsByTagName("body");t&&t[0].classList.add("newsletterPopup");let i="click";window.dataLayer.push({event:"uaevent",ecommerce:"undefined",event_name:"sticky_bar",eventCategory:this.pageCategory,eventAction:"newsletter_sticky",eventLabel:i+" "+e.toLowerCase(),module_name:"newsletter_sticky",cta_name:i+" "+e.toLowerCase()})}},destroyed(){window.removeEventListener("scroll")}},Ol=ql,Nl=(0,u.A)(Ol,$l,Bl,!1,null,null,null),Vl=Nl.exports,Fl=(0,s.fC)({components:{NewsletterSticky:Vl}}),Hl=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-banner"},[t("picture",{staticClass:"footer-banner__image"},[t("source",{attrs:{srcset:e.initialData.Image,media:"(min-width: 48em)"}}),e._v(" "),t("source",{attrs:{srcset:e.initialData.MobileImage,media:"(max-width: 48em)"}}),e._v(" "),t("img",{attrs:{src:e.initialData.MobileImage,alt:e.smallScreen?e.initialData.MobileImageAlt:e.initialData.ImageAlt,width:"300",height:"200",loading:"lazy",fetchpriority:"low"}})]),e._v(" "),t("div",{staticClass:"footer-banner__content"},[t("div",{staticClass:"footer-banner__content-title"},[t("h2",{domProps:{innerHTML:e._s(e.initialData.Title)}})]),e._v(" "),t("div",{staticClass:"footer-banner__content-content"},[t("div",{domProps:{innerHTML:e._s(e.initialData.Text)}})])])])},Rl=[],jl={name:"footer-banner",components:{"responsive-image":()=>Promise.resolve().then(i.bind(i,772))},props:{initialData:{type:Object,default(){}},pageCategory:{type:String,required:!1,default:""}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches}}},zl=jl,Wl=(0,u.A)(zl,Hl,Rl,!1,null,null,null),Ul=Wl.exports,Yl=(0,s.fC)({components:{footerBanner:Ul}}),Ql=function(){var e=this,t=e._self._c;return t("div",{style:`--silderDuration: ${e.transitionTime}ms`},[t("div",{staticClass:"hps"},[t("swiper",{ref:"swiper",staticClass:"swiper",attrs:{options:e.swiperOptions}},[e._l(e.slides,(function(i,a){return t("swiper-slide",{key:a+0,staticClass:"hps-card",attrs:{"data-index":a}},[t("div",{staticClass:"ingredients-card"},[t("div",{staticClass:"ingredients-card__content"},[t("div",{staticClass:"ingredients-card__img-wrapper",style:{"background-image":e.desktopScreen?"":`url(${i.Backgroun
9dImageForMobile})`}},[t("img",{directives:[{name:"show",rawName:"v-show",value:e.desktopScreen,expression:"desktopScreen"}],staticClass:"ingredients-card__img desktop",attrs:{src:e.desktopScreen?i.BackgroundImageForDesktop:i.BackgroundImageForMobile,alt:e.removeHtmlAndSpecialChars(i.SliderTitle),loading:0!==a?"lazy":"eager",fetchpriority:0===a?"high":"auto"}})]),e._v(" "),t("div",{staticClass:"descritption-container",class:["white"===i.SliderColor||"White"===i.SliderColor?"light":"dark"]},[t("div",{staticClass:"mobile-background",style:{"background-image":e.desktopScreen?"":`url(${i.BackgroundImageForMobile})`}}),e._v(" "),t("div",{staticClass:"slider-title",domProps:{innerHTML:e._s(e.decodeEntities(i.SliderTitle))}}),e._v(" "),t("a",{directives:[{name:"show",rawName:"v-show",value:!i.RoutineFinderEnable&&""!==i.CtaLink&&""!==i.CtaLabel,expression:"!item.RoutineFinderEnable && item.CtaLink !== '' && item.CtaLabel !== ''"}],staticClass:"cta cta--light",attrs:{href:i.CtaLink,title:"",target:i.CtaNewTab?"_blank":"_self"},on:{click:function(t){return e.sliderButton(i)}}},[t("span",{staticClass:"btn__wrapper"},[e._v(e._s(i.CtaLabel))])]),e._v(" "),t("button",{directives:[{name:"show",rawName:"v-show",value:i.RoutineFinderEnable&&""!==i.CtaLabel,expression:"item.RoutineFinderEnable && item.CtaLabel !== ''"}],staticClass:"cta cta--light",attrs:{title:""},on:{click:function(t){return e.openRoutineFiner()}}},[t("span",{staticClass:"btn__wrapper"},[e._v(e._s(i.CtaLabel))])])])])]),e._v(" "),t("div",{staticClass:"swiper-button"},[t("div",{staticClass:"swiper-navigation-button swiper-button-prev",attrs:{slot:"button-prev"},on:{click:function(t){return e.prev()}},slot:"button-prev"},[t("svg",{style:`fill: ${i.SliderColor}`,attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"8",viewBox:"0 0 42 8",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M42 3.99996L38.1464 0.146484L37.4393 0.853599L40.0858 3.49999L0.13953 3.5V4.5L40.0858 4.49999L37.4393 7.14649L38.1465 7.85359L42 3.99996Z"}})])]),e._v(" "),t("div",{staticClass:"swiper-navigation-button swiper-button-next",attrs:{slot:"button-next"},on:{click:function(t){return e.next()}},slot:"button-next"},[t("svg",{style:`fill: ${i.SliderColor}`,attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"8",viewBox:"0 0 42 8",fill:"none"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M42 3.99996L38.1464 0.146484L37.4393 0.853599L40.0858 3.49999L0.13953 3.5V4.5L40.0858 4.49999L37.4393 7.14649L38.1465 7.85359L42 3.99996Z"}})])])])])})),e._v(" "),t("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},on:{click:function(t){return e.pagination()}},slot:"pagination"})],2)],1),e._v(" "),e.showoRoutineFiner?t("routine-finder"):e._e()],1)},Xl=[];k.RC.use([k.dK,k.Ij,k.Vx]);const{Swiper:Gl,SwiperSlide:Kl}=L()(k.RC);
9var Zl={name:"home-page-slider-version2",components:{Swiper:Gl,SwiperSlide:Kl,routineFinder:rt.A},props:{slides:{type:Array,required:!0,default:void 0},staticMode:{type:Boolean,default:!1},sliderDuration:{type:Number,default:6},pageCategory:{type:String,default:"homepage"},ctaClass:{type:String,default:"btn btn--white"}},data(){return{item:0,itemNo:this.slides.length,transitionTime:1e3*(0<this.sliderDuration?this.sliderDuration:6),transition:null,smallScreen:!window.matchMedia("(min-width: 1024px)").matches,swiperOptions:{loop:!0,initialSlide:0,speed:500,slidesPerView:1,pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"},navigation:{prevEl:".swiper-navigation-button.swiper-button-prev",nextEl:".swiper-navigation-button.swiper-button-next"},autoplay:{delay:1e3*(0<this.sliderDuration?this.sliderDuration:6),disableOnInteraction:!1}},desktopScreen:window.matchMedia("(min-width: 1024px)").matches,swipeMethod:"",automaticslider:!1,touchEnd:!1,showoRoutineFiner:!1}},created(){this.staticMode?(this.swiperOptions.loop=!1,this.swiperOptions.autoplay=!1):(this.autoTransition(),this.automaticslider=!0,this.swiperOptions.loop=!0)},mounted(){window.eventBus.$emit("transparent-header",!0),this.$refs.swiper.swiperInstance.on("slideChange",(e=>{this.automaticslider&&"dot"!=this.swipeMethod&&"arrow"!=this.swipeMethod&&(1==this.touchEnd?this.swipeMethod="swipe":this.swipeMethod="automatic slider"),this.onSwipe(),this.automaticslider||(this.swipeMethod="swipe")})),this.$refs.swiper.swiperInstance.on("touchEnd",(e=>{this.touchEnd=!0}));let e=document.getElementsByClassName("homepage-transparncy")[0];e&&(e.style.display="none",document.querySelector("body").classList.remove("home-page-transparancy-slider")),window.eventBus.$on("routineFinderClose:on",(e=>{setTimeout((()=>{this.showoRoutineFiner=e}),300)}))},methods:{openRoutineFiner(){this.showoRoutineFiner=!0},decodeEntities(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value},onSwipe(){this.navigationTagging()},prev(){this.swipeMethod="arrow"},next(){this.swipeMethod="arrow"},pagination(){this.swipeMethod="dot"},sliderButton(e){let t,i=window.location.origin,a=e.CtaLink;t="/"==e.CtaLink?i:a?i+a:"none";let s={event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:"homepage",eventAction:"select::slider navigation",eventLabel:`${this.removeHtmlAndSpecialChars(e.SliderTitle).toLowerCase()}::${t.toLowerCase()}`,cta_name:`${e.SliderTitle&&this.removeHtmlAndSpecialChars(e.SliderTitle).toLowerCase()}`,module_name:"homepage_slider",link_url:t.toLowerCase()};_.Xj.pushDataLayer(s)},navigationTagging(){let e;e=this.automaticslider?this.$refs.swiper.$swiper.realIndex+1:this.$refs.swiper.$swiper.activeIndex+1;let t=this.slides[e-1],i={event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:"homepage",eventAction:"select::slider navigation elements",eventLabel:`${this.swipeMethod?this.swipeMethod:"swipe"}::${this.removeHtmlAndSpecialChars(t.SliderTitle).toLowerCase()}::${e}`,cta_name:`${this.swipeMethod?this.swipeMethod:"swipe"}::${this.removeHtmlAndSpecialChars(t.SliderTitle).toLowerCase()}::${e}`,module_name:`slider navigate::${this.swipeMethod?this.swipeMethod:"swipe"}`};_.Xj.pushDataLayer(i),this.swipeMethod=""},removeHtmlAndSpecialChars(e){const t=new DOMParser,i=t.parseFromString(e,"text/html"),a=i.body.textContent||"";return a.replaceAll("\n","")},autoTransition(){this.transition=setInterval((()=>{this.transitionSlide()}),this.transitionTime)},transitionSlide(){this.item=this.item+1,this.item>this.itemNo-1&&(this.item=0),this.touchEnd=!1}},beforeDestroy(){clearInterval(this.transition)}},Jl=Zl,ec=(0,u.A)(Jl,Ql,Xl,!1,null,null,null),tc=ec.exports,ic=(0,s.fC)({components:{HomePageTransparencySlider:tc}}),ac=function(){var e=this,t=e._self._c;return t("div",{staticClass:"its_proven"},[t("div",{staticClass:"container--is-maxwidth its_proven-container"},[t("div",{staticClass:"its_proven__component"},[t("div",{staticClass:"title",domProps:{innerHTML:e._s(e.title)}}),e._v(" "),e.description?t("div",{staticClass:"its_proven__component_content",domProps:{innerHTML:e._s(e.description)}}
9):e._e()]),e._v(" "),t("div",{staticClass:"its_proven__card-wrapper",class:{"two-cards":e.cardsData.length<=2}},e._l(e.cardsData,(function(i,a){return t("div",{key:a,staticClass:"card-item",class:e.cardsData.length>2?"":"two-card-item"},[t("div",{staticClass:"card-item__image-wrapper"},[t("img",{attrs:{src:i.CardImage,alt:i.ImgAlt||i.CardDescription,loading:"lazy"}})]),e._v(" "),t("div",{staticClass:"card-item__content"},[t("div",{staticClass:"card-item__content__title"},[t("span",{domProps:{innerHTML:e._s(i.CardDescription)}}),e._v(" "),i.CtaLabel&&i.CtaLink?t("a",{staticClass:"cta--secondary cta--light",attrs:{href:i.CtaLink}},[e._v(e._s(i.CtaLabel))]):e._e()])])])})),0),e._v(" "),e.componentCtaLink&&e.componentCtaText?t("div",{staticClass:"its_proven__componentcta"},[e.componentCtaLink&&e.componentCtaText?t("a",{staticClass:"cta--secondary cta--light",attrs:{href:e.componentCtaLink}},[e._v(e._s(e.componentCtaText))]):e._e()]):e._e(),e._v(" "),e.componentDisclamier&&""!==e.componentDisclamier?t("div",{staticClass:"its_proven__disclamier",domProps:{innerHTML:e._s(e.componentDisclamier)}}):e._e()])])},sc=[],nc={name:"article-proven",props:{title:{type:String,default:"itâs proven"},description:{type:String,default:""},componentDisclamier:{type:String,default:""},componentCtaLink:{type:String,default:""},componentCtaText:{type:String,default:""},cardsData:{type:[Array,String],required:!1,default:void 0}}},rc=nc,oc=(0,u.A)(rc,ac,sc,!1,null,null,null),lc=oc.exports,cc=(0,s.fC)({components:{articleProven:lc}}),dc=function(){var e=this,t=e._self._c;return e.showSafeSpace?t("div",{staticClass:"safe-space"},[t("h2",{ref:"title",staticClass:"safe-space__title",domProps:{innerHTML:e._s(e.title)}}),e._v(" "),t("div",{staticClass:"safe-space__container",class:[e.desktopScreen&&e.cards.length<4?"align-center":""]},[t("swiper",{ref:"swiper",staticClass:"swiper",class:{"three-slider":e.cards.length>=3},attrs:{options:e.safesapceswiperOptions}},e._l(e.cards,(function(i,a){return t("swiper-slide",{key:a+0,staticClass:"safe-space__carousel",attrs:{"data-index":a}},[t("div",{staticClass:"safe-space__item"},[t("div",{staticClass:"safe-space__image"},[t("img",{attrs:{src:i.MobileImage,alt:i.Title.replace(/<[^>]*>/g,""),loading:"lazy"}})]),e._v(" "),t("div",{staticClass:"safe-space__content"},[i.SubTitle?t("p",{staticClass:"safe-space__subTitle",domProps:{innerHTML:e._s(e.decodeHtml(i.SubTitle))}}):e._e(),e._v(" "),t("a",{staticClass:"safe-space__anchor",attrs:{href:i.ArticleUrl},on:{click:function(t){return e.titleTagging(i)}}},[t("h3",{staticClass:"safe-space__name",domProps:{innerHTML:e._s(e.decodeHtml(i.Title))}})]),e._v(" "),t("div",{staticClass:"safe-space__content-category"},[""!==i.CategoryIcon?t("div",{staticClass:"safe-space__content-category_icon"},[t("img",{attrs:{src:i.CategoryIcon,alt:i.Category}}),e._v(" "),i.Category?t("div",{staticClass:"safe-space__content-category_icon_text"},[t("strong",[e._v(e._s(i.Category))])]):e._e()]):e._e(),e._v(" "),""!==i.ReadingTime?t("div",{staticClass:"safe-space__content-category_read"},[t("div",{staticClass:"safe-space__content-category_read-icon"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"}},[t("circle",{attrs:{cx:"9.99928",cy:"10.0001",r:"6.11654",stroke:"white","stroke-width":"1.35923"}}),e._v(" "),t("path",{attrs:{d:"M10 6.60202V10.5664H12.8317",stroke:"white","stroke-width":"1.35923"}})])]),e._v(" "),t("div",{staticClass:"safe-space__content-category_read-text"},[e._v("\n "+e._s(i.ReadingTime)+"\n ")])]):e._e()])])])])})),1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.desktopScreen&&e.cards.length>3||!e.desktopScreen,expression:"((desktopScreen && cards.length > 3) || !desktopScreen)"}],staticClass:"carousel-navigation"},[t("div",{staticClass:"carousel__arrow carousel__arrow-safe-space--left",class:{disabled:e.swiperAtBegain},on:{click:function(t){return e.prev()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"32",viewBox:"0 0 42 32",fill:"none"}}
9,[t("g",{attrs:{filter:"url(#filter0_b_17_13510)"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 15.8535L3.85356 12L4.56066 12.7071L1.9142 15.3535L41.8605 15.3535V16.3535L1.91422 16.3535L4.56066 19L3.85355 19.7071L0 15.8535Z",fill:"black"}})]),e._v(" "),t("defs",[t("filter",{attrs:{id:"filter0_b_17_13510",x:"-124",y:"-124",width:"290",height:"280",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[t("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),t("feGaussianBlur",{attrs:{in:"BackgroundImageFix",stdDeviation:"62"}}),e._v(" "),t("feComposite",{attrs:{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_17_13510"}}),e._v(" "),t("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_17_13510",result:"shape"}})],1)])])]),e._v(" "),t("div",{staticClass:"safe-sapce-swiper-pagination",on:{click:function(t){return e.pagination()}}}),e._v(" "),t("div",{staticClass:"carousel__arrow carousel__arrow-safe-space--right",class:{disabled:e.swiperAtEnd},on:{click:function(t){return e.next()}}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"32",viewBox:"0 0 42 32",fill:"none"}},[t("g",{attrs:{filter:"url(#filter0_b_17_13509)"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M42 15.8535L38.1464 12L37.4393 12.7071L40.0858 15.3535L0.13953 15.3535V16.3535L40.0858 16.3535L37.4393 19L38.1465 19.7071L42 15.8535Z",fill:"black"}})]),e._v(" "),t("defs",[t("filter",{attrs:{id:"filter0_b_17_13509",x:"-124",y:"-124",width:"290",height:"280",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"}},[t("feFlood",{attrs:{"flood-opacity":"0",result:"BackgroundImageFix"}}),e._v(" "),t("feGaussianBlur",{attrs:{in:"BackgroundImageFix",stdDeviation:"62"}}),e._v(" "),t("feComposite",{attrs:{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_17_13509"}}),e._v(" "),t("feBlend",{attrs:{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_17_13509",result:"shape"}})],1)])])])])],1),e._v(" "),e.ctaLabel?t("a",{class:[e.ctaClass,e.desktopScreen&&e.cards.length>3||!e.desktopScreen?"discoverLinkwithNav":"discoverLink"],attrs:{href:e.ctaLink},on:{click:function(t){return e.tagging()}}},[e._v(e._s(e.ctaLabel))]):e._e()]):e._e()},uc=[];k.RC.use([k.dK,k.Vx]);const{Swiper:pc,SwiperSlide:hc}=L()(k.RC);var mc={name:"safe-space",components:{Swiper:pc,SwiperSlide:hc},props:{cards:{type:Array,default:()=>[]},pageCategory:{type:String,default:""},title:{type:String,default:""},ctaClass:{type:String,default:""},ctaLabel:{type:String,default:""},ctaLink:{type:String,default:""}},data(){return{swipeMethod:"",sliderIndex:"",desktopScreen:window.matchMedia("(min-width: 768px)").matches,isMobile:window.innerWidth<=768,swiperAtEnd:!1,swiperAtBegain:!0,safesapceswiperOptions:{loop:!1,initialSlide:0,speed:500,slidesPerView:3,pagination:{el:".safe-sapce-swiper-pagination",clickable:!0,type:"bullets"},navigation:{nextEl:".carousel__arrow carousel__arrow-safe-space--left",prevEl:".carousel__arrow carousel__arrow-safe-space--right",hiddenClass:".swiper-button-hidden"},breakpoints:{768:{slidesPerView:3,spaceBetween:16},360:{centeredSlides:!0,slidesPerView:1.32,spaceBetween:24},320:{centeredSlides:!0,slidesPerView:1.25,spaceBetween:24}}},showSafeSpace:!0}},mounted(){this.$refs.swiper.swiperInstance.on("slideChange",(e=>{this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,1==this.touchEnd&&"dot"!=this.swipeMethod&&"arrow"!=this.swipeMethod?(this.swipeMethod="swipe",this.sliderIndex=this.$refs.swiper.$swiper.activeIndex+1,this.navTagging()):"dot"==this.swipeMethod&&(this.sliderIndex=this.$refs.swiper.$swiper.activeIndex+1,this.navTagging())})),this.$refs.swiper.swiperInstance.on("touchEnd",(e=>{this.touchEnd=!0})),window.addEventListener("resize",(()=>{this.isMobile=window.innerWidth<=768})),window.eventBus.$on("safeSpaceFilterSelected",(e=>{this.showSafeSpace=e}))},methods:{decodeHtml(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value},pagination(){this.swipeMethod="dot"},prev(){this.$refs.swiper.$swiper.slidePrev(),this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning;const e=this.$refs.swiper.$swiper.realIndex;this.swipeMethod="arrow",this.sliderIndex=e+1,this.navTagging()},next(){this.$refs.swiper.$swiper.slideNext(),this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd;const e=this.$refs.swiper.$swiper.realIndex,t=parseInt(this.safesapceswiperOptions.slidesPerView)||1,i=e+t-1;this.swipeMethod="arrow",this.sliderIndex=i+1,this.navTagging()},tagging(){let e,t=window.location.origin,i=this.ctaLink;e="/"==i?t:i?t+i:"none",_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"body_button_click",eventCategory:this.pageCategory.toLowerCase(),eventAction:`select::${this.removeHtmlAndSpecialChars(this.title).toLowerCase()}`,eventLabel:this.removeHtmlAndSpecialChars(this.ctaLabel).toLowerCase()+"::"+`${e.toLowerCase()}`,cta_name:this.removeHtmlAndSpecialChars(this.ctaLabel).toLowerCase(),link_url:e.toLowerCase(),module_name:this.removeHtmlAndSpecialChars(this.title).toLowerCase()})},navTagging(){let e=this.cards[this.sliderIndex-1];_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"slider_button_click",eventCategory:this.pageCategory.toLowerCase(),eventAction:"select::slider navigation elements",eventLabel:`${this.swipeMethod}::${this.removeHtmlAndSpecialChars(e.Title).toLowerCase()}::${this.sliderIndex}`,cta_name:`${this.swipeMethod}::${this.removeHtmlAndSpecialChars(e.Title).toLowerCase()}::${this.sliderIndex}`,module_name:"slider navigate::"+this.swipeMethod}),this.swipeMethod=""},removeHtmlAndSpecialChars(e){const t=new DOMParser,i=t.parseFromString(e,"text/html"),a=i.body.textContent||"";return a.replaceAll("\n","")},titleTagging(e){const t=e&&e.Title?this.removeHtmlAndSpecialChars(e.Title):"none",i=t.replace(/["]+/g,""),a=window.location.origin,s=e&&e.ArticleUrl?a+e.ArticleUrl:"none",n=this.title?this.removeHtmlAndSpecialChars(this.title):"none",r={event:"uaevent",ecommerce:"undefined",event_name:"body_button_click",eventCategory:this.pageCategory?`${this.pageCategory.toLowerCase()}::article`:"none",eventAction:`select::${n.toLowerCase()}`,eventLabel:`${i.toLowerCase()}::${s.toLowerCase()}`,cta_name:i.toLowerCase(),link_url:s.toLowerCase(),module_name:n.toLowerCase()};_.Xj.pushDataLayer(r)}}},gc=mc,vc=(0,u.A)(gc,dc,uc,!1,null,null,null),_c=vc.exports,fc=(0,s.fC)({components:{safeSpace:_c}}),yc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"articleHeader__container"},[t("div",{staticClass:"articleHeader"},[t("picture",{staticClass:"articleHeader__image"},[t("source",{attrs:{srcset:e.initialData.NewArticleDesktopImage,media:"(min-width: 48em)"}}),e._v(" "),t("source",{attrs:{srcset:e.initialData.NewArticleMobileImage,media:"(max-width: 48em)"}}),e._v(" "),t("img",{attrs:{src:e.initialData.NewArticleMobileImage,alt:(e.isMobile,e.initialData.ArticleImageAlt),loading:"lazy"}})]),e._v(" "),t("div",{staticClass:"articleHeader__content"},[e.initialData.ArticleSubTitle?t("div",{staticClass:"articleHeader__content-subtitle",domProps:{innerHTML:e._s(e.initialData.ArticleSubTitle)}}
9):e._e(),e._v(" "),t("div",{staticClass:"articleHeader__content-title"},[t("h1",{domProps:{innerHTML:e._s(e.initialData.ArticleHeaderTitle)}})]),e._v(" "),t("div",{staticClass:"articleHeader__content-category"},[""!=e.initialData.Category?t("div",{staticClass:"articleHeader__content-category_icon"},[""!==e.initialData.CategoryIcon?t("img",{attrs:{src:e.initialData.CategoryIcon,alt:e.initialData.Category}}):e._e(),e._v(" "),e.initialData.Category?t("div",{staticClass:"articleHeader__content-category_icon_text"},[t("strong",[e._v(e._s(e.initialData.Category))])]):e._e()]):e._e(),e._v(" "),""!=e.initialData.DurationInfo?t("div",{staticClass:"articleHeader__content-category_read"},[t("div",{staticClass:"articleHeader__content-category_read-icon"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"}},[t("circle",{attrs:{cx:"9.99928",cy:"10.0001",r:"6.11654",stroke:"white","stroke-width":"1.35923"}}),e._v(" "),t("path",{attrs:{d:"M10 6.60202V10.5664H12.8317",stroke:"white","stroke-width":"1.35923"}})])]),e._v(" "),t("div",{staticClass:"articleHeader__content-category_read-text"},[e._v("\n "+e._s(e.initialData.DurationInfo)+"\n ")])]):e._e(),e._v(" "),t("div",{staticClass:"articleHeader__info"},[e.initialData.authorname?t("span",{staticClass:"articleHeader__author",attrs:{itemprop:"author"}},[e._v("\n | "+e._s(e.initialData.authorname)+"\n ")]):e._e(),e._v(" "),e.initialData.modifieddate?t("time",{staticClass:"articleHeader__timestamp",attrs:{datetime:e.initialData.modifieddate}},[e._v("| "+e._s(e.displayPublicationDate))]):e._e()])])])]),e._v(" "),e._t("breadcrum-slot"),e._v(" "),""!==e.initialData.Introduction?t("div",{staticClass:"articleHeader__intro"},[t("div",{staticClass:"articleHeader__introTxt container--is-maxwidth",domProps:{innerHTML:e._s(e.initialData.Introduction)}})]):e._e()],2)},wc=[],bc={name:"article-header",props:{initialData:{type:Object,default:()=>{}},pageCategory:{type:String,required:!1,default:""}},data(){return{isMobile:!1}},computed:{displayPublicationDate(){return this.initialData.modifieddate?new Date(this.initialData.modifieddate.replace(/-/g,"/")).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):""}},mounted(){this.isMobile=window.innerWidth<1024,window.eventBus.$emit("transparent-header",!0)}},Cc=bc,Sc=(0,u.A)(Cc,yc,wc,!1,null,null,null),kc=Sc.exports,Dc=(0,s.fC)({components:{articleHeader:kc}}),Lc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"safe_space_article"},[e.safeSpaceTitle?t("h2",{staticClass:"safe_space_article__title"},[e._v(e._s(e.safeSpaceTitle))]):e._e(),e._v(" "),e.highlightList?t("highlighted-article",{attrs:{"highlighted-items":e.highlightList,"title-uppercase":e.isTitleUppercase}}
9):e._e(),e._v(" "),e.articleList&&e.articleList.length?t("div",{staticClass:"safe_space_article__carousel"},[t("safe-space-carousel",{attrs:{"article-list-item":e.articleCarouselList,"count-text":e.countText,"title-uppercase":e.isTitleUppercase}})],1):e._e()],1)},Tc=[],xc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"highlighted_article"},[t("div",{staticClass:"highlighted_article__image"},[t("a",{attrs:{href:e.highlightedItems.Link},on:{click:function(t){return e.tagging()}}},[t("img",{attrs:{src:e.highlightedItems.Image,alt:e.highlightedItems.Title,loading:"lazy"}}),e._v(" "),t("div",{staticClass:"highlighted_article__category",class:[e.isRtl?"rtl-category":""]},[t("svg",{staticClass:"highlighted_article__category--icon",attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M14.2 16H5.8C4.80589 16 4 15.1941 4 14.2V4.6C4 4.26863 4.26863 4 4.6 4H13C13.3314 4 13.6 4.26863 13.6 4.6V11.8H16V14.2C16 15.1941 15.1941 16 14.2 16ZM13.6 13V14.2C13.6 14.5314 13.8686 14.8 14.2 14.8C14.5314 14.8 14.8 14.5314 14.8 14.2V13H13.6ZM12.4 14.8V5.2H5.2V14.2C5.2 14.5314 5.46863 14.8 5.8 14.8H12.4ZM6.4 7H11.2V8.2H6.4V7ZM6.4 9.4H11.2V10.6H6.4V9.4ZM6.4 11.8H9.4V13H6.4V11.8Z",fill:"white"}})]),e._v("\n "+e._s(e.highlightedItems.PageType)+"\n ")])])]),e._v(" "),t("div",{staticClass:"highlighted_article__right",class:[e.isRtl?"rtl-padding":""]},[t("a",{staticClass:"highlighted_article__right--link",attrs:{href:e.highlightedItems.Link},on:{click:function(t){return e.tagging()}}},[e.highlightedItems.Title?t("div",{staticClass:"highlighted_article__title",domProps:{innerHTML:e._s(e.truncate(e.highlightedItems.Title))}}):e._e(),e._v(" "),t("div",{staticClass:"highlighted_article__read-text"},[t("svg",{staticClass:"highlighted_article__read-text--icon",attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"9.99976",cy:"10",r:"6.11654",stroke:"#767676","stroke-width":"1.35923"}}),e._v(" "),t("path",{attrs:{d:"M10 6.60193V10.5664H12.8317",stroke:"#767676","stroke-width":"1.35923"}})]),e._v("\n "+e._s(e.highlightedItems.Duration)+"\n ")])])])])},Ac=[];function Pc(e){let t=e.split(/(<[^>]+>)/g),i=!0;for(let a=0;a<t.length;a++)t[a].match(/<[^>]+>/)?i=!0:(t[a]=t[a].replace(/\n/g,""),t[a]=t[a].replace(/(?:^|\.\s*|\:\s*)([a-z])/g,(function(e,t){return i=!1,e.replace(t,t.toUpperCase())})),i&&t[a].match(/^\s*[a-z]/)&&(t[a]=t[a].replace(/^\s*([a-z])/,(function(e,t){return e.replace(t,t.toUpperCase())}))));return t.join("")}var Ec={name:"highlighted-article",props:{highlightedItems:{type:Object,default:void 0},titleLength:{type:Number,default:150},titleUppercase:{type:Boolean,default:!1}},computed:{isRtl(){let e=document.getElementById("main-container"),t=getComputedStyle(e);return"rtl"===t.direction}},methods:{tagging(){const e={event:"uaevent",ecommerce:"undefined",event_name:"body_button_click",eventCategory:"",eventAction:"",eventLabel:"",cta_name:this.removeHtmlAndSpecialChars(this.highlightedItems.Title).toLowerCase(),link_url:`${window.location.origin+this.highlightedItems.Link}`,module_name:"article highlight component"};_.Xj.pushDataLayer(e)},removeHtmlAndSpecialChars(e){const t=new DOMParser,i=t.parseFromString(e,"text/html"),a=i.body.textContent||"";return a.replaceAll("\n","")},truncate(e){const t=(0,s.UX)(e,this.titleLength);return this.titleUppercase?Pc(t.toLowerCase()):t}}},Mc=Ec,Ic=(0,u.A)(Mc,xc,Ac,!1,null,null,null),$c=Ic.exports,Bc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"safe-space-carousel"},[e.articleListItem&&e.articleListItem.length?t("div",{staticClass:"safe-space-carousel__container"},[t("swiper",{ref:"swiper",staticClass:"swiper",attrs:{options:e.safesapceswiperOptions}},e._l(e.articleListItem,(function(i,a){return t("swiper-slide",{key:a+0,staticClass:"safe-space__carousel",attrs:{"data-index":a}},[t("safe-space-carousel-card",{attrs:{"article-item":i,"is-title-uppercase":e.titleUppercase}})],1)})),1),e._v(" "),e.desktopScreen&&!e.isRtl?t("div",{staticClass:"safe-space-carousel__navigation"},[t("div",{staticClass:"safe-space-carousel__arrow safe-space-carousel__arrow--left right-navigation",class:{disabled:e.swiperAtBegain},on:{click:function(t){return e.prev()}}},[t("svg",{attrs:{width:"42",height:"8",viewBox:"0 0 42 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 3.99996L3.85762 0.146484L4.56547 0.853599L1.91619 3.50002L42 3.50003V4.50003L1.91628 4.50002L4.56548 7.14649L3.85762 7.85359L0 3.99996Z",fill:"black"}})])]),e._v(" "),t("div",{staticClass:"safe-space-carousel__arrow safe-space-carousel__arrow--right left-navigation",class:[e.swiperAtEnd||e.articleListItem.length<=3?"disabled":""],on:{click:function(t){return e.next()}}},[t("svg",{attrs:{width:"42",height:"8",viewBox:"0 0 42 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M42 3.99996L38.1424 0.146484L37.4345 0.853599L40.0838 3.50002L1.90735e-05 3.50003V4.50003L40.0837 4.50002L37.4345 7.14649L38.1424 7.85359L42 3.99996Z",fill:"black"}}
9)])])]):e._e(),e._v(" "),e.desktopScreen&&e.isRtl?t("div",{staticClass:"safe-space-carousel__navigation"},[t("div",{staticClass:"safe-space-carousel__arrow safe-space-carousel__arrow--right right-navigation",class:{disabled:e.swiperAtBegain},on:{click:function(t){return e.prev()}}},[t("svg",{attrs:{width:"42",height:"8",viewBox:"0 0 42 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M42 3.99996L38.1424 0.146484L37.4345 0.853599L40.0838 3.50002L1.90735e-05 3.50003V4.50003L40.0837 4.50002L37.4345 7.14649L38.1424 7.85359L42 3.99996Z",fill:"black"}})])]),e._v(" "),t("div",{staticClass:"safe-space-carousel__arrow safe-space-carousel__arrow--left left-navigation",class:[e.swiperAtEnd||e.articleListItem.length<=3?"disabled":""],on:{click:function(t){return e.next()}}},[t("svg",{attrs:{width:"42",height:"8",viewBox:"0 0 42 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 3.99996L3.85762 0.146484L4.56547 0.853599L1.91619 3.50002L42 3.50003V4.50003L1.91628 4.50002L4.56548 7.14649L3.85762 7.85359L0 3.99996Z",fill:"black"}})])])]):e._e(),e._v(" "),t("div",{staticClass:"safe-space-carousel--count"},[e._v("\n "+e._s(e.articleCountText)+"\n ")])],1):e._e()])},qc=[],Oc=function(){var e=this,t=e._self._c;return t("div",{staticClass:"ss-carousel-card"},[t("a",{staticClass:"ss-carousel-card__link",attrs:{href:e.articleItem.Link},on:{click:function(t){return e.tagging(e.articleItem.Title,e.articleItem.Link)}}},[t("div",{staticClass:"ss-carousel-card__image"},[t("img",{attrs:{src:e.articleItem.Image,alt:e.articleItem.Title,loading:"lazy"}}),e._v(" "),t("div",{staticClass:"ss-carousel-card__category",class:[e.isRtl?"rtl-category":""]},[t("svg",{staticClass:"ss-carousel-card__category--icon",attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M14.2 16H5.8C4.80589 16 4 15.1941 4 14.2V4.6C4 4.26863 4.26863 4 4.6 4H13C13.3314 4 13.6 4.26863 13.6 4.6V11.8H16V14.2C16 15.1941 15.1941 16 14.2 16ZM13.6 13V14.2C13.6 14.5314 13.8686 14.8 14.2 14.8C14.5314 14.8 14.8 14.5314 14.8 14.2V13H13.6ZM12.4 14.8V5.2H5.2V14.2C5.2 14.5314 5.46863 14.8 5.8 14.8H12.4ZM6.4 7H11.2V8.2H6.4V7ZM6.4 9.4H11.2V10.6H6.4V9.4ZM6.4 11.8H9.4V13H6.4V11.8Z",fill:"white"}})]),e._v("\n "+e._s(e.articleItem.PageType)+"\n ")])]),e._v(" "),e.articleItem.Title?t("div",{staticClass:"ss-carousel-card__title",domProps:{innerHTML:e._s(e.truncate(e.articleItem.Title))}}):e._e(),e._v(" "),t("div",{staticClass:"ss-carousel-card__read-text"},[t("svg",{staticClass:"ss-carousel-card__read-text--icon",attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"9.99976",cy:"10",r:"6.11654",stroke:"#767676","stroke-width":"1.35923"}}),e._v(" "),t("path",{attrs:{d:"M10 6.60193V10.5664H12.8317",stroke:"#767676","stroke-width":"1.35923"}})]),e._v("\n "+e._s(e.articleItem.Duration)+"\n ")])])])},Nc=[],Vc={name:"safe-space-carousel-card",props:{articleItem:{type:Object,default:void 0},titleLength:{type:Number,default:50},isTitleUppercase:{type:Boolean,default:!1}},computed:{isRtl(){let e=document.getElementById("main-container"),t=getComputedStyle(e);return"rtl"===t.direction}},methods:{tagging(e,t){const i={event:"uaevent",ecommerce:"undefined",event_name:"body_button_click",eventCategory:"",eventAction:"",eventLabel:"",cta_name:this.removeHtmlAndSpecialChars(e).toLowerCase(),link_url:`${window.location.origin+t}`,module_name:"article carousel component"};_.Xj.pushDataLayer(i)},removeHtmlAndSpecialChars(e){const t=new DOMParser,i=t.parseFromString(e,"text/html"),a=i.body.textContent||"";return a.replaceAll("\n","")},truncate(e){const t=(0,s.UX)(e,this.titleLength);return this.isTitleUppercase?Pc(t.toLowerCase()):t}}},Fc=Vc,Hc=(0,u.A)(Fc,Oc,Nc,!1,null,null,null),Rc=Hc.exports;k.RC.use([k.dK,k.Vx]);const{Swiper:jc,SwiperSlide:zc}=L()(k.RC);var Wc={name:"safe-space-carousel",components:{SafeSpaceCarouselCard:Rc,Swiper:jc,SwiperSlide:zc},props:{articleListItem:{type:Array,default:void 0},countText:{type:String,default:"of articles"},titleUppercase:{type:Boolean,default:!1}},data(){return{desktopScreen:window.matchMedia("(min-width: 768px)").matches,isMobile:window.innerWidth<=768,swiperAtEnd:!1,swiperAtBegain:!0,sliderIndex:window.innerWidth<=768?2:3,safesapceswiperOptions:{loop:!1,initialSlide:0,speed:500,centeredSlides:!1,slidesPerView:3,spaceBetween:16,navigation:{nextEl:".left-navigation",prevEl:".right-navigation"},breakpoints:{768:{slidesPerView:3,spaceBetween:16},360:{slidesPerView:2.2,spaceBetween:16},320:{slidesPerView:2.15,spaceBetween:16}}},ofText:"",articleText:""}},computed:{isRtl(){let e=document.getElementById("main-container"),t=getComputedStyle(e);return"rtl"===t.direction},articleCountText(){const e=this.countText?this.countText:"of articles",t=e.split(" "),i=this.articleListItem.length>this.sliderIndex?this.sliderIndex:this.articleListItem.length;return this.isRtl?`${t[1]} ${this.articleListItem.length} ${t[0]} ${i}`:`${i} ${t[0]} ${this.articleListItem.length} ${t[1]}`}},mounted(){this.$refs.swiper.swiperInstance.on("slideChange",(()=>{this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.touchEnd&&"arrow"!=this.swipeMethod&&(this.swipeMethod="swipe",this.sliderIndex=this.$refs.swiper.$swiper.isEnd?this.articleListItem.length:this.$refs.swiper.$swiper.activeIndex+2)})),this.$refs.swiper.swiperInstance.on("touchEnd",(()=>{this.touchEnd=!0})),this.$refs.swiper.swiperInstance.on("reachEnd",(()=>{this.sliderIndex=this.articleListItem.length})),window.addEventListener("resize",(()=>{this.isMobile=window.innerWidth<=768}))},methods:{prev(){this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swipeMethod="arrow",this.sliderIndex=this.sliderIndex-1},next(){this.swiperAtBegain=this.$refs.swiper.$swiper.isBeginning,this.swiperAtEnd=this.$refs.swiper.$swiper.isEnd,this.swipeMethod="arrow",this.sliderIndex=this.sliderIndex+1}}},Uc=Wc,Yc=(0,u.A)(Uc,Bc,qc,!1,null,null,null),Qc=Yc.exports,Xc={name:"safe-space-articles",components:{HighlightedArticle:$c,SafeSpaceCarousel:Qc},props:{safeSpaceTitle:{type:String,default:""},highlightedArticle:{type:Array,default:void 0},articleList:{type:Array,default:void 0},isConcernData:{type:Boolean,default:!1},countText:{type:String,default:"of articles"},isTitleUppercase:{type:Boolean,default:!1}},data(){return{highlightList:{},articleCarouselList:this.articleList?this.articleList:[]}},mounted(){this.initialData()},methods:{initialData(){const e=this.articleCarouselList;this.highlightedArticle&&this.highlightedArticle.length?this.highlightList=this.highlightedArticle[0]:(this.highlightList=e?e.shift():[],this.articleCarouselList=e)}}},Gc=Xc,Kc=(0,u.A)(Gc,Lc,Tc,!1,null,null,null),Zc=Kc.exports,Jc=function(){var e=this,t=e._self._c;return t("div",{ref:"dropdownFilter",staticClass:"safe-space-filter"},[e.mainTitle?t("h1",{staticClass:"safe-space__main-title",domProps:{innerHTML:e._s(e.mainTitle)}}
9):e._e(),e._v(" "),t("div",{staticClass:"safe-space-filter__container",class:e.isSticky?"ss-filter_sticky":""},[t("button",{ref:"filterDropdown",staticClass:"safe-space-filter__button",class:[e.isRtl?"rtl_button":""],on:{click:function(t){e.isListOpen=!e.isListOpen,e.setScroll()}}},[e._v("\n "+e._s(e.truncateString(e.selectedItem.TerritoryItemid?e.selectedItem.TerritoryTittle:e.filterLabel,27))+"\n "),t("svg",{class:e.isListOpen&&e.isSticky?"arrow--up":"",attrs:{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.9248 8.42397L12.5007 16.8482L4.07628 8.42398L4.92479 7.57544L12.5007 15.1512L20.0763 7.57545L20.9248 8.42397Z",fill:"black"}})])]),e._v(" "),e.isListOpen?t("div",{staticClass:"safe-space-filter__list",class:[e.isSticky?"ss-filter--bottom":""]},[t("ul",{staticClass:"safe-space-filter__list--ul",class:[e.filterList.length>4&&e.isOncology?"safe-space-filter__list--four":"safe-space-filter__list--five"]},[e._l(e.fitlerItemList,(function(i,a){return[i.show?t("li",{key:a,staticClass:"safe-space-filter__list--item",class:[e.selectedItem.TerritoryItemid===i.TerritoryItemid?"active":"",e.isRtl?"rtl-list-item":""],on:{click:function(t){return e.selectFilter(i)}}},[t("a",{attrs:{href:"javascript:void(0);"}},[e._v("\n "+e._s(e.truncateString(i.TerritoryTittle,50))+"\n "),e.selectedItem.TerritoryItemid===i.TerritoryItemid?t("svg",{attrs:{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.501 6.20605L8.16835 14.5534L3.44824 8.81776L4.22039 8.18232L8.27836 13.1134L16.8343 5.46069L17.501 6.20605Z",fill:"black"}})]):e._e()])]):e._e()]}))],2),e._v(" "),e.oncologyDetails&&""!==e.oncologyDetails.Link?t("div",{staticClass:"safe-space-filter__list--sticky",class:e.isRtl?"filter-sticky-rtl":""},[t("a",{attrs:{href:e.oncologyDetails.Link,target:"external"===e.oncologyDetails.LinkType?"_blank":"_self"},on:{click:function(t){return e.tagging(e.oncologyDetails.CtaLabel)}}},[e._v("\n "+e._s(e.oncologyDetails.CtaLabel)+"\n "),t("svg",{attrs:{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.7314 11.9999L16.7314 8L15.9975 8.73399L18.7446 11.4811L4.2683 11.4811V12.5191L18.7443 12.5191L15.9975 15.266L16.7314 16L20.7314 11.9999Z",fill:"white"}})])])]):e._e()]):e._e()])])},ed=[],td={name:"safe-space-filter",directives:{clickoutside:_e},props:{filterList:{type:Array,default:void 0},oncologyDetails:{type:Object,default:void 0},titleLength:{type:String,default:"45"},filterLabel:{type:String,default:"Search By Your Concern"},mainTitle:{type:String,default:""}},data(){return{isListOpen:!1,selectedItem:this.filterLabel?this.filterLabel:"",isOncology:this.oncologyDetails&&""!==this.oncologyDetails.Link,isSticky:!1,isMobile:window.innerWidth<=768,filterItems:this.filterList}},computed:{fitlerItemList(){return this.filterList.map(((e,t)=>({...e,show:!(0===t&&this.selectedItem&&!this.selectedItem.TerritoryItemid)})))},isRtl(){let e=document.getElementById("main-container"),t=getComputedStyle(e);return"rtl"===t.direction}},mounted(){const e=new URLSearchParams(window.location.search),t=e.get("q");if(t&&""!==t){const e=this.filterList.filter((e=>e.TerritoryTittle.toLowerCase()===t))[0];this.selectedItem=e,this.$nextTick((()=>{window.eventBus.$emit("safeSpaceFilterSelected",!1),this.getConcernData()}))}else this.$store.dispatch("storeInitialFilterData",this.filterList);if(document.addEventListener("click",this.closeDropDown),this.isMobile){const e=this.$refs.dropdownFilter,t=new window.IntersectionObserver((([e])=>{e.isIntersecting?this.isSticky=!1:this.isSticky=!0}),{root:null,threshold:.1});t.observe(e),document.addEventListener("scroll",this.mobileCloseDropdown)}},destroyed(){window.removeEventListener("scroll",this.mobileCloseDropdown),window.removeEventListener("click",this.closeDropDown)},methods:{selectFilter(e){this.isListOpen=!1,null!==e.TerritoryItemid&&e.TerritoryItemid!==this.selectedItem.TerritoryItemid?(this.selectedItem=e,window.eventBus.$emit("safeSpaceFilterSelected",!1),this.getConcernData()):(this.selectedItem=this.filterList[0],window.history.pushState({},null,window.location.href.split("?")[0]),window.eventBus.$emit("safeSpaceFilterSelected",!0)),this.tagging(e.TerritoryTittle)},async getConcernData(){const e={isFilter:!0,filterListId:this.selectedItem.TerritoryItemid,filterLabel:this.selectedItem.TerritoryTittle};await this.$store.dispatch("fetchConcerns",e)},truncateString(e,t){const i=window.innerWidth<=500?t:Number(this.titleLength);return e&&e.length>=Number(i)&&(50!=t||window.innerWidth<=500)?e.substring(0,i)+"...":e},setScroll(){this.isListOpen&&this.$nextTick((()=>{const e=document.querySelectorAll(".safe-space-filter__list--item");if(e){let t=0;e.forEach(((e,i)=>{(this.isOncology&&i<4||!this.isOncology&&i<5)&&(t=e.offsetHeight+t)})),document.querySelector(".safe-space-filter__list--ul").setAttribute("style","max-height:"+t+"px")}}))},closeDropDown(e){!this.$refs.filterDropdown.contains(e.target)&&this.isListOpen&&(this.isListOpen=!1)},tagging(e){const t={event:"uaevent",event_name:"use_filters",ecommerce:"undefined",eventCategory:"",eventAction:"",eventLabel:"",filter_type:"filter",filter_value:"concern::"+e.toLowerCase()};_.Xj.pushDataLayer(t)},mobileCloseDropdown(e){this.closeDropDown(e)}}},id=td,ad=(0,u.A)(id,Jc,ed,!1,null,null,null),sd=ad.exports,nd=function(){var e=this,t=e._self._c;return t("div",{staticClass:"safe_space_concerns"},[e.getFilterConcerns&&e.getFilterConcerns.length&&e.showConcerns?t("div",{staticClass:"safe_space_concerns__container"},e._l(e.getFilterConcerns,(function(i,a){return t("div",{key:a+1},[t("safe-space-articles",{attrs:{"safe-space-title":i.Title,"highlighted-article":i.HighlightedItems,"article-list":i.ArticleItems,"count-text":i.CountText,"is-concern-data":!0,"is-title-uppercase":e.isTitleUppercase}})],1)}
9)),0):e._e(),e._v(" "),e.getNoMoreConcerns?e._e():t("div",{staticClass:"loader-container"},[t("div",{ref:"loadMore",staticClass:"loadMore-trigger"}),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.concernLoading,expression:"concernLoading"}],staticClass:"loader-css"},[e._v("Loading")])])],1)])},rd=[];function od(e){const t=e.replace(/^\?/,"");return t?t.split("&").reduce(((e,t)=>{const i=t.split("=")[0],a=decodeURIComponent(t.split("=")[1]).trim();return a&&(e[i]=a.split(",")),e}),{}):{}}var ld={name:"safe-space-concerns",components:{SafeSpaceArticles:Zc},props:{concernList:{type:Array,default:void 0},isTitleUppercase:{type:Boolean,default:!1}},data(){return{stop:!1,filterSelected:!1,listArticleItem:this.concernList&&this.concernList.length?this.concernList:[],showConcerns:!0}},computed:{...(0,yt.L8)(["getFilterConcerns"]),...(0,yt.L8)(["getNoMoreConcerns","getTotalConcernsCount","concernLoading"]),isFilterEnabled(){let e=!1,t=od(window.location.search),i=Object.keys(t);for(let a=0;a<i.length;a++)if(t[i[a].length]){e=!0;break}return e}},created(){window.addEventListener("scroll",this.handleScroll)},destroyed(){window.removeEventListener("scroll",this.handleScroll)},mounted(){this.getInitialConcernData(),window.eventBus.$on("safeSpaceFilterSelected",(e=>{this.filterSelected=!e,this.showConcerns=!1,this.getInitialConcernData()}))},methods:{async handleScroll(){const e={isFilter:!1,filterId:""},t=this.$refs.loadMore.getBoundingClientRect();t.top<=window.innerHeight&&!this.stop&&!this.getNoMoreConcerns&&!this.filterSelected&&(this.stop=!0,this.getFilterConcerns.length>=3&&await this.$store.dispatch("fetchConcerns",e),this.stop=!1)},getInitialConcernData(){this.listArticleItem&&this.$nextTick((()=>{this.filterSelected||(this.$store.dispatch("storeInitialConcernData",this.listArticleItem),this.$store.dispatch("storeTotalConcernCount",this.listArticleItem.length)),this.showConcerns=!0}))}}},cd=ld,dd=(0,u.A)(cd,nd,rd,!1,null,null,null),ud=dd.exports;const pd=e=>Object.keys(e).reduce(((t,i)=>(e[i]&&(e[i]instanceof Array?t.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i].join(","))):t.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]))),t)),[]).join("&"),hd={};async function md(e=""){const t=pd({ItemId:e}),i="/api/dermadvicefilter/loadmorearticle",a=`${i}${t}`;if(hd[a])return await hd[a];const s=await fetch(i,{method:"POST",body:t,headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}});let n=await s.json();return hd[a]=n,n}function gd(e){return e.forEach((e=>{let t=e.ArticleItems;e.HighlightedItems||(e.HighlightedItems=t?[t.shift()]:[],e.ArticleItems=t)})),e}const vd={state:{loading:!1,filterConcerns:[],filterId:"",initialConcernData:[],filterDropdownData:[],noMoreConcerns:!1,totalConcernCount:0,initialConcernCount:0},mutations:{loading(e,t){e.loading=t},initialConcernData(e,t){e.filterConcerns=[],e.initialConcernData=[],e.noMoreConcerns=!1,t.forEach((t=>{e.initialConcernData.push(t)})),e.initialConcernData.forEach((t=>{e.filterConcerns.push(t)}))},filterDropdownData(e,t){t.forEach((t=>{e.filterDropdownData.push(t)}))},filterId(e,t){e.filterId=t},filterConcerns(e,t){let i=t;i.forEach((t=>{e.filterConcerns.push(t)}))},totalConcernCount(e,t){e.totalConcernCount=t},noMoreConcerns(e,t){e.noMoreConcerns=t},clearConcerns(e){e.filterConcerns=[],e.initialConcernData.forEach((t=>{e.filterConcerns.push(t)})),e.totalConcernCount=e.initialConcernCount}},actions:{clearConcerns({commit:e}){e("clearConcerns")},storeInitialConcernData({commit:e,state:t},i){if(t.initialConcernData&&t.initialConcernData.length){const i=gd(t.initialConcernData);e("initialConcernData",i)}else{const t=gd(i);e("initialConcernData",t)}},storeResetConcernData({commit:e}){e("resetConcernData")},storeInitialFilterData({commit:e},t){e("filterDropdownData",t)},storeTotalConcernCount({commit:e,state:t},i){t.initialConcernCount=i,e("totalConcernCount",i)},async fetchConcerns({commit:e,state:t},i){let a="";if(i.isFilter){a=i.filterListId,t.filterConcerns=[];const e=`${window.location.protocol}//${window.location.host}${window.location.pathname}?${pd({q:i.filterLabel.toLowerCase()})}`;window.history.pushState({},"",e)}else a=t.filterDropdownData[t.totalConcernCount+1]?t.filterDropdownData[t.totalConcernCount+1].TerritoryItemid:"";if(a){e("loading",!0);const i=await md(a);if(i.success&&0!==i.data.length){e("noMoreConcerns",!1),e("totalConcernCount",t.filterConcerns.length+1);const a=gd([i.data]);e("filterConcerns",a)}else i.success||0!==i.data.length||e("noMoreConcerns",!0);e("loading",!1)}}},getters:{getFilterConcerns:e=>e.filterConcerns,getNoMoreConcerns:e=>e.noMoreConcerns,getTotalConcernsCount:e=>e.totalConcernCount,concernLoading:e=>e.loading}};var _d=(0,s.fC)({components:{SafeSpaceArticles:Zc,SafeSpaceFilter:sd,SafeSpaceConcerns:ud}}),fd=(0,s.fC)({components:{HighlightedArticle:$c}}),yd=(0,s.fC)({components:{SafeSpaceCarousel:Qc,SafeSpaceCarouselCard:Rc}}),wd=function(){var e=this,t=e._self._c;return t("div",{staticClass:"multipopin"},[t("div",{staticClass:"multipopin__container"},[t("modal",{ref:"modal",staticClass:"multipopin__container--modal"},[t("div",{staticClass:"multipopin__container__title"},[t("div",{staticClass:"multipopin__container__title--stamp_placeholder"},[""!==e.initialData.Stamp?t("div",{staticClass:"multipopin__container__title--stamp"},[e._v(e._s(e.truncate(e.initialData.Stamp,25))+"\n ")]):e._e(
9)])]),e._v(" "),t("div",{staticClass:"multipopin__container__header"},[t("div",{staticClass:"multipopin__container__title--des",domProps:{innerHTML:e._s(e.truncate(e.initialData.Title,65))}}),e._v(" "),t("div",{staticClass:"multipopin__container__imgplaceholder"},[t("img",{attrs:{src:e.initialData.ImageUrl,alt:e.initialData.ImageUrlAlt}})]),e._v(" "),t("div",{staticClass:"multipopin__container__desplaceholder"},[t("div",{staticClass:"multipopin__container__footer--description",domProps:{innerHTML:e._s(e.truncate(e.initialData.Description,185))}})])]),e._v(" "),t("div",{staticClass:"multipopin__container__footer"},[t("div",{staticClass:"multipopin__container__footer--cta_placeholder"},[""===e.initialData.CtaTextDesktop||e.smallScreen||null===e.initialData.CtaLink?e._e():t("a",{class:"light"===e.initialData.CtaColor?"cta cta--light":"cta multipopin__container__footer--cta__dark ",attrs:{href:e.initialData.CtaLink,target:e.initialData.ctalinkTarget?"_blank":""},on:{click:function(t){e.setCookie(),e.gaTagging(e.initialData.CtaTextMobile,e.initialData.CtaTextDesktop,e.initialData.CtaLink,e.initialData.ctalinkTarget)}}},[e._v("\n "+e._s(e.initialData.CtaTextDesktop)+"\n ")]),e._v(" "),""!==e.initialData.CtaTextMobile&&!1===e.initialData.Dsf&&e.smallScreen&&null!==e.initialData.CtaLink?t("div",[t("a",{class:"light"===e.initialData.CtaColor?"cta cta--light":"cta multipopin__container__footer--cta__dark ",attrs:{href:e.initialData.CtaLink,target:e.initialData.ctalinkTarget?"_blank":""},on:{click:function(t){e.setCookie(),e.gaTagging(e.initialData.CtaTextMobile,e.initialData.CtaLink,e.initialData.ctalinkTarget)}}},[e._v(" "+e._s(e.initialData.CtaTextMobile)+" ")])]):e._e(),e._v(" "),""!==e.initialData.CtaTextMobile&&!0===e.initialData.Dsf&&e.smallScreen?t("div",[t("spotscan-embed",{attrs:{"data-tenant":e.dsfData.Tenant,"data-application":e.initialData.DSFApplication,"data-customer":e.dsfData.Customer,"data-country":e.dsfData.Country,"data-environment":e.dsfData.Environment,"data-touchpoint":e.dsfData.Touchpoint,"data-type":e.dsfData.Type,"data-loadingbg":e.dsfData.Loadingbackgroundcolor,"data-loadingmsg":e.dsfData.Loadingmessage,"csrf-token":"$WEBSITE_TOKEN","switch-ecom":e.dsfData.Switchecom,"data-dsf-tagging":e.dsfTagging(e.dsfData.EventProperties?e.dsfData.EventProperties.service_name:"",e.dsfData.EventProperties?e.dsfData.EventProperties.service_category:"",e.initialData.CtaTextMobile),"switch-autostart":e.dsfData.Switchautostart,"data-cta-label":e.initialData.CtaTextMobile,"data-cta":"light"===e.initialData.CtaColor?"cta cta--light":"cta multipopin__container__footer--cta__dark "},nativeOn:{click:function(t){return e.setCookie.apply(null,arguments)}}})],1):e._e()])])])],1)])},bd=[],Cd={name:"multi-pop-in",components:{SpotscanEmbed:Li.A,Modal:fn.A},props:{initialData:{type:Object,required:!0,default:""},dsfData:{type:Object,required:!0,default:""},productInfo:{type:String,required:!0,default:""},isMultiLang:{type:String,required:!0,default:"false"}},data(){return{smallScreen:!window.matchMedia("(min-width: 1024px)").matches,timeDelay:1e3*parseInt(this.initialData.DelaySetting)||1e3,timeOut:null}},mounted(){window.eventBus.$on("multipopin-close",(e=>{!0===e&&(this.setCookie(),document.body.classList.remove("multipopin-open"))}));let e=this.getCookie("multipopin"),t="",i="",a="";if("true"===this.isMultiLang&&(t=document.getElementsByTagName("html")[0].getAttribute("lang"),a=t?.toLowerCase()),console.log("language"+a),a){const t=this.getCookie(a);a!==t?(i="",e=""):(i=t,e="multipopin")}console.log("languagecookie"+i),console.log("cookieValue"+e),""===e&&""===i&&(console.log("trueeeeeee"),this.timeDelay>0?this.$nextTick((()=>{this.timeOut=setTimeout((()=>{console.log("showModal"),this.$children[0].$data.showModal=!0,document.body.classList.add("multipopin-open")}),this.timeDelay)})):this.$children[0].$data.showModal=!0),window.eventBus.$on("multipopin:on",(e=>{this.$children[0].$data.showModal=!0,document.body&&document.body.classList.add("multipopin-open")}))},methods:{getCookie(e){let t=e+"=",i=document.cookie.split(";");for(let a=0;a<i.length;a++){let e=i[a];while(" "==e.charAt(0))e=e.substring(1);if(0==e.indexOf(t))return e.substring(t.length,e.length)}return""},setCookie(){document.body.classList.remove("multipopin-open"),this.$children[0].$data.showModal=!1;let e=document.getElementsByTagName("html")[0].getAttribute("lang");""===e&&void 0===e||this.setcookieLang(e.toLowerCase());const t="multipopin",i="multipopin";let a=new Date;a.setTime(a.getTime()+3e4),document.cookie=t+"="+i+"; expires="+a.toString()+"; path=/; SameSite=Strict"},setcookieLang(e){const t=e,i=e;let a=new Date;a.setTime(a.getTime()+3e4),document.cookie=t+"="+i+"; expires="+a.toString()+"; path=/; SameSite=Strict"},truncate(e,t){const i=/(<[^>]+>)|([^<]+)/g;let a,s=0,n="";const r=[];while(null!==(a=i.exec(e))&&s<t){const[e,i,o]=a;if(i){if(n+=i,/^<[^\/!][^>]*[^\/]>$/.test(i)){const e=i.match(/^<(\w+)/)[1];
9r.push(e)}/^<\/(\w+)/.test(i)&&r.pop()}else o&&(s+o.length>t?(n+=o.slice(0,t-s),s+o.length>185&&""!=n&&(n+="..."),s=t):(n+=o,s+=o.length))}while(r.length>0){const e=r.pop();n+=`</${e}>`}return n},gaTagging(e="",t="",i="",a=""){let s=t;this.smallScreen&&(s=e);let n=window.location.origin+i;a&&(n=i),_.Xj.pushDataLayer({event:"uaevent",event_name:"body_button_click",ecommerce:"undefined",eventCategory:"",eventAction:"",eventLabel:"",cta_name:`${s.toLowerCase()}`,link_url:`${n}`,module_name:"multipurpose pop up component",product_info:`${this.productInfo}`})},dsfTagging(e="",t="",i=""){return{event:"uaevent",ecommerce:"undefined",event_name:"site_load_service",eventCategory:" ",eventAction:" ",eventLabel:" ",service_name:`${e}`,service_category:`${t}`,cta_name:`${i.toLowerCase()}`}}},beforeDestroy(){clearTimeout(this.timeOut),window.eventBus.$off("multipopin:on")}},Sd=Cd,kd=(0,u.A)(Sd,wd,bd,!1,null,null,null),Dd=kd.exports,Ld=(0,s.fC)({components:{MultiPopIn:Dd}}),Td=function(){var e=this,t=e._self._c;return e.initialData.IsEnable?t("div",{staticClass:"lead-iframe"},[t("modal",{ref:"modal",staticClass:"lead-iframe__container--modal"},[t("div",{staticClass:"lead-iframe__container__wrapper"},[t("button",{staticClass:"modal__close-btn",attrs:{type:"button"},on:{click:e.closeModal}},[t("div",{staticClass:"btn_close close",attrs:{id:"btn_close"}})]),e._v(" "),t("div",{staticClass:"lead-iframe__content",domProps:{innerHTML:e._s(e.initialData.HtmlDiv)}})])])],1):e._e()},xd=[],Ad={name:"lead-iframe",components:{Modal:fn.A},props:{initialData:{type:Object,default:()=>({IsEnable:!1,HtmlDiv:"",Script:""})}},mounted(){this.initialData.IsEnable&&this.showModal(),this.insertScript()},methods:{showModal(){this.$nextTick((()=>{this.$refs.modal.$data.showModal=!0}))},closeModal(){this.$refs.modal.$data.showModal=!1},insertScript(){if(this.initialData.Script){const e=document.createElement("script");e.type="text/javascript",e.text=this.initialData.Script,document.head.appendChild(e)}}}},Pd=Ad,Ed=(0,u.A)(Pd,Td,xd,!1,null,null,null),Md=Ed.exports,Id=(0,s.fC)({components:{LeadIframe:Md}}),$d=function(){var e=this,t=e._self._c;return t("div",{staticClass:"container--is-maxwidth container--padded faq"},[e.options.title?t("div",{staticClass:"title",domProps:{innerHTML:e._s(e.options.title)}}):e._e(),e._v(" "),t("div",{staticClass:"faq_accordions__wrapper"},e._l(e.faqData,(function(i,a){return t("div",{key:a,staticClass:"accordion__list"},[t("button",{staticClass:"accordion",domProps:{innerHTML:e._s(i.Question)}}),e._v(" "),t("span",{staticClass:"faq-accordion-btn",class:{"is-open":i.isDefault},on:{click:function(t){return e.toggle(a,i.Question)}}}),e._v(" "),t("div",{staticClass:"accordion-content",domProps:{innerHTML:e._s(i.Answer)}})])})),0)])},Bd=[],qd={name:"faq",props:{options:{type:Object,default(){}},pageCategory:{type:String,required:!1,default:""}},data(){return{faqData:[]}},created(){const e=this.options;e.list.forEach((e=>{const t={};t.Question=e.Question,t.Answer=e.Answer,t.isDefault=!1,this.faqData.push(t)}))},methods:{toggle(e,t){this.faqData[e].isDefault=!this.faqData[e].isDefault;let i=t.replace("(+)","plus").toLowerCase();_.Xj.pushDataLayer({event:"uaevent",ecommerce:"undefined",event_name:"body_button_click",eventCategory:this.pageCategory,eventAction:"select::faq",eventLabel:i+"::none",module_name:"faq",cta_name:i,link_url:"none"})}}},Od=qd,Nd=(0,u.A)(Od,$d,Bd,!1,null,null,null),Vd=Nd.exports,Fd=(0,s.fC)({components:{Faq:Vd}}),Hd=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.showModal,expression:"showModal"}],staticClass:"country-switcher"},[t("div",{staticClass:"overlay",style:[e.showModal2?{visibility:"hidden"}:{visibility:"visible"}],attrs:{id:"countryswitcher"}},[t("div",{staticClass:"popup"},[t("div",{staticClass:"popup-header"},[t("div",{staticClass:"has-text-centered"},[t("img",{staticClass:"logoicon",attrs:{src:e.fieldCountryLogo.Src,alt:"lrp-logo"}})]),e._v(" "),t("span",{staticClass:"close",on:{click:function(t){e.showModal=!1}}},[e._v("Ã")])]),e._v(" "),t("div",{staticClass:"popup1img"},[t("div",{staticClass:"content",domProps:{innerHTML:e._s(e.fieldDescription)}}),e._v(" "),t("div",{staticClass:"flex"},e._l(e.fieldCountryList,(function(i){return t("div",{staticClass:"flex-item"},[t("a",{attrs:{href:"#continentList"},on:{click:function(t){t.preventDefault(),e.showModal2=!0}}},[t("div",{on:{click:function(t){return e.selectCountry(i.countryname)}
9,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectCountry(i.countryname))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),e.selectCountry(i.countryname))}]}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy"}],attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=","data-lazy":i.countryimage.Src,alt:i.countryname}}),e._v(" "),t("div",{staticClass:"countrylabel"},[e._v("\n "+e._s(i.countryname))])])])])})),0)])]),e._v(" "),t("div",{staticClass:"popin-overlay",on:{click:function(t){e.showModal=!1}}})]),e._v(" "),t("div",{staticClass:"overlay",style:[e.showModal2?{visibility:"visible"}:{visibility:"hidden"}],attrs:{id:"continentList"}},[t("div",{staticClass:"regionpopup"},[t("div",{staticClass:"popup-header"},[t("a",{staticClass:"back-icon",attrs:{href:"#countryswitcher"},on:{click:function(t){t.preventDefault(),e.showModal2=!1}}},[t("em",{staticClass:"arrow left"})]),e._v(" "),t("div",{staticClass:"has-text-centered"},[t("img",{staticClass:"logoicon",attrs:{src:e.fieldCountryLogo.Src,alt:"lrp-logo"}})]),e._v(" "),t("span",{staticClass:"close",on:{click:function(t){e.showModal=!1,e.showModal2=!1}}},[e._v("Ã")])]),e._v(" "),t("div",{staticClass:"row"},[e._l(e.fieldCountryList,(function(i){return e.setCountryname==i.countryname?t("div",[t("div",{staticClass:"column first"},[t("div",{attrs:{id:"countryimg"}},[t("span",{staticClass:"imgfordevice"},[t("img",{attrs:{src:i.countryimage.Src,alt:"lrp"}})]),e._v(" "),e._l(i.countrysections,(function(i,a){return t("div",[0==a?t("div",{staticClass:"sectionlabel"},[e._v("\n "+e._s(i.sectiontitle)+"\n ")]):e._e()])}))],2)]),e._v(" "),t("div",{staticClass:"column second"},[e._l(i.countrysections,(function(i,a){return t("div",{staticClass:"columndiv"},e._l(i.countrylinks,(function(s){return 0==a&&i.countrylinks.length>10?t("div",[t("span",{staticClass:"labellist"},[t("p",{staticStyle:{"margin-top":"5px"}},[null!=s.alternatelabel?t("a",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:"select::popincountry",category:"main menu navigation",label:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,event_name:"body_button_click",cta_name:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,link_url:s.alternatelink.Url?s.alternatelink.Url:"none",module_name:"popincountry"},expression:"{\n action: 'select::popincountry', \n category: 'main menu navigation', \n label: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n event_name: 'body_button_click',\n cta_name: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n link_url: linksData.alternatelink.Url ? linksData.alternatelink.Url : 'none',\n module_name: 'popincountry'\n }",arg:"useractionevent"}],attrs:{href:s.alternatelink.Url,target:s.alternatelink.Target}},[t("span",[e._v(e._s(s.alternatelabel)+" | ")])]):e._e(),e._v(" "),t("a",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:"select::popincountry",category:"main menu navigation",label:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,event_name:"body_button_click",cta_name:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,link_url:s.link.Url,module_name:"popincountry"},expression:"{\n action: 'select::popincountry', \n category: 'main menu navigation', \n label: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n event_name: 'body_button_click',\n cta_name: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n link_url: linksData.link.Url,\n module_name: 'popincountry'\n }",arg:"useractionevent"}],attrs:{href:s.link.Url,target:s.link.Target}},[t("span",[e._v(e._s(s.label))]),e._v(" "),null!=s.shopicon&&s.isshoppingsite?t("span",{staticClass:"shopicon_list"},[t("img",{attrs:{alt:s.shopicon.Alt,src:s.shopicon.Src}}
9)]):e._e()])])])]):e._e()})),0)})),e._v(" "),e._l(i.countrysections,(function(i,a){return t("div",{staticClass:"columnnodiv"},e._l(i.countrylinks,(function(s){return 0==a&&i.countrylinks.length<10?t("div",[t("span",{staticClass:"labellist"},[t("p",{staticStyle:{"margin-top":"5px"}},[null!=s.alternatelabel?t("a",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:"select::popincountry",category:"main menu navigation",label:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,event_name:"body_button_click",cta_name:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,link_url:s.alternatelink.Url,module_name:"popincountry"},expression:"{\n action: 'select::popincountry', \n category: 'main menu navigation', \n label: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n event_name: 'body_button_click',\n cta_name: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n link_url: linksData.alternatelink.Url,\n module_name: 'popincountry'\n }",arg:"useractionevent"}],attrs:{href:s.alternatelink.Url,target:s.alternatelink.Target}},[t("span",[e._v(e._s(s.alternatelabel)+" | ")])]):e._e(),e._v(" "),t("a",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:"select::popincountry",category:"main menu navigation",label:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,event_name:"body_button_click",cta_name:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,link_url:s.link.Url,module_name:"popincountry"},expression:"{\n action: 'select::popincountry', \n category: 'main menu navigation', \n label: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n event_name: 'body_button_click',\n cta_name: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n link_url: linksData.link.Url,\n module_name: 'popincountry'\n }",arg:"useractionevent"}],attrs:{href:s.link.Url,target:s.link.Target}},[t("span",[e._v(e._s(s.label))]),e._v(" "),null!=s.shopicon&&s.isshoppingsite?t("span",{staticClass:"shopicon"},[t("img",{attrs:{alt:s.shopicon.Alt,src:s.shopicon.Src}})]):e._e()])])])]):e._e()})),0)}))],2),e._v(" "),t("div",{staticClass:"column third"},e._l(i.countrysections,(function(i,a){return t("div",[a>0?t("div",{staticClass:"divisionlabel"},[e._v("\n "+e._s(i.sectiontitle)+"\n ")]):e._e(),e._v(" "),e._l(i.countrylinks,(function(s){return a>0?t("div",{staticClass:"columndiv"},[t("span",{staticClass:"labellist"},[t("p",[null!=s.alternatelabel?t("a",{directives:[{name:"tag",rawName:"v-tag:useractionevent",value:{action:"select::popincountry",category:"main menu navigation",label:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,event_name:"body_button_click",cta_name:`${i.sectiontitle.toLowerCase()}::${s.countrycode.toLowerCase()}`,link_url:s.alternatelink.Url,module_name:"popincountry"},expression:"{\n action: 'select::popincountry', \n category: 'main menu navigation', \n label: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n event_name: 'body_button_click',\n cta_name: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n link_url: linksData.alternatelink.Url,\n module_name: 'popincountry'\n }",arg:"useractionevent"}],attrs:{href:s.alternatelink.Url,target:s.alternatelink.Target}},[t("span",[e._v(e._s(s.alternatelabel)+" | ")])]):e._e(),e._v(" "),e._v(" 'select::popincountry', \n category: 'main menu navigation', \n label: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n event_name: 'body_button_click',\n cta_name: `${regionlabelName.sectiontitle.toLowerCase()}::${linksData.countrycode.toLowerCase()}`,\n link_url: linksData.link.Url,\n module_name: 'popincountry'\n }\">"),t("span",[e._v(e._s(s.label))]),e._v(" "),null!=s.shopicon&&s.isshoppingsite?t("span",[t("img",{attrs:{alt:s.shopicon.Alt,src:s.shopicon.Src}}
9)]):e._e()])])]):e._e()}))],2)})),0)]):e._e()})),e._v(" "),t("div")],2)]),e._v(" "),t("div",{staticClass:"popin-overlay",on:{click:function(t){e.showModal=!1,e.showModal2=!1}}})])])},Rd=[],jd={name:"country-switcher",directives:{tag:_.Tc,srcset:H.hH,lazy:H.RZ},props:{fieldDescription:{type:String,required:!0,default:void 0},fieldCountryLogo:{type:Object,required:!0,default:void 0},fieldCountryList:{type:Array,required:!0}},data(){return{showModal:!1,showModal2:!1,filteredCountryData:[],setCountryname:"",slectedCountryData:[]}},mounted(){const e=document.querySelector(".linkCountry");e&&e.addEventListener("click",(e=>{e.preventDefault(),this.showModal=!0}))},methods:{selectCountry(e){this.setCountryname=e}}},zd=jd,Wd=(0,u.A)(zd,Hd,Rd,!1,null,null,null),Ud=Wd.exports,Yd=(0,s.fC)({components:{CountrySwitcher:Ud}});const Qd=[],Xd=e=>{Qd.forEach((t=>{e&&t.checkboxValue===e.textContent&&(t.isChecked=e.querySelector('input[type="checkbox"]').checked)}))},Gd=()=>{const e=Qd.reduce(((e,t)=>t.isChecked?e+`${t.checkboxValue}::`:e),"");_.Xj.pushDataLayer({ecommerce:void 0,event:"uaevent",eventAction:"submit::diagnostic",eventCategory:"registration",eventLabel:e})},Kd={name:"custom-form-analytics",inserted:(e,t)=>{Qd.length=0;const i=e.querySelectorAll(t.value.chckBoxContainersToWatchSelector);i.forEach((e=>{const t=e.querySelectorAll("label");t.forEach((e=>{Qd.push({checkboxValue:e.textContent,isChecked:e.querySelector('input[type="checkbox"]').checked}),e.addEventListener("click",(()=>{Xd(e)}))}))})),e.addEventListener("submit",(function(e){e.preventDefault(),Gd(Qd)}),!0)}},Zd={name:"click-extension",bind:(e,t)=>{const i=e,a=t.value.split(",");let s;s=void 0!==t.arg?i.querySelector(`a.${t.arg}`):i.querySelector("a"),a.forEach((e=>{const t=i.querySelectorAll(e);t.length?[].forEach.call(t,(e=>{e.onclick=()=>s.click(),e.style.cursor="pointer"})):console.warn(`Element <${e}> was provided in clickextention but not present within this component.`)}))}},Jd={name:"prevent-body-scroll",inserted:(e,t)=>{const i=t.value;window.innerWidth<i.minResolution&&(i.openEvent?window.eventBus.$on(i.openEvent,(()=>{window.document.body.classList.add(i.bodyContollClass)})):window.document.body.classList.add(i.bodyContollClass),window.eventBus.$on(i.closeEvent,(()=>{window.document.body.classList.remove(i.bodyContollClass)})))}},eu={...H.hH,name:"background"};var tu=i(8756);document.addEventListener("lazybeforeunveil",(e=>F.B.$emit("image.lazybeforeunveil",e)));const iu={name:"imageloaded",bind:e=>{const t=e.querySelector(".lazyload");F.B.$on("image.lazybeforeunveil",(i=>{i.target===t&&e.classList.remove("image__loading")}))}};class au{constructor(){this.keyboardUsageClassName="is-using-keyboard",this.wasUsingTab=!1,this.wasBound=!1,this.isTab=!1,this.bind()}bind(){document.addEventListener("keydown",this.handleKeyboardInput.bind(this),!0),document.addEventListener("mousedown",this.handleMouseInput.bind(this),!0),this.wasBound=!0}unbind(){document.removeEventListener("keydown",this.handleKeyboardInput.bind(this),!0),document.removeEventListener("mousedown",this.handleMouseInput.bind(this),!0),this.wasBound=!1}handleKeyboardInput(e){this.isTab="Tab"===e.key||"Tab"===e.code||9===e.keyCode,this.isTab&&!this.wasUsingTab&&document.body.classList.add(this.keyboardUsageClassName),this.wasUsingTab=this.isTab}handleMouseInput(){this.wasUsingTab&&document.body.classList.remove(this.keyboardUsageClassName),this.wasUsingTab=!1}static getInputHandler(){return this.$inputHandler=this.$inputHandler||new au,this.$inputHandler}}var su={components:{LoadScript:ai.A}};
9class nu{beforeMount(){if(void 0!==this.$el){this.domObj={};const e=this.$el.getElementsByTagName("*");let t=this.$el.getAttribute("key");""!==this.$el.id&&null!=t&&(this.domObj[this.$el.id]=t);const i=e.length;for(let a=0;a<i;a+=1){const i=e[a];if(t=i.getAttribute("key"),""!==i.id&&null!=t){if(void 0!==this.domObj[i.id])throw new RangeError(`The id ${i.id} is already set`);this.domObj[i.id]=t}}}}mounted(){if(this.domObj){let e=this.domObj[this.$el.id];e&&this.$el.setAttribute("key",e);const t=this.$el.getElementsByTagName("*"),i=t.length;for(let a=0;a<i;a+=1){const i=t[a];(i instanceof HTMLElement||i instanceof Element)&&(e=this.domObj[i.id],e&&i.setAttribute("key",e))}this.domObj={}}}static install(e){const{beforeMount:t,mounted:i}=new nu(e);e.mixin({beforeMount:t,mounted:i})}}var ru=i(1079),ou=i(3723);const lu=new Date,cu=Math.ceil(lu.getUTCDate()/7),du=`${lu.getFullYear()}${(lu.getMonth()+1).toString().padStart(2,"0")}_${cu}`;{const e={NODE_ENV:"production",VUE_APP_LOCAL_ZONE_CUSTOMIZATION_GLOBAL_VAR:"LOCAL_ZONE_PLUGIN_NAME",BASE_URL:"/frontend/master/"}.VUE_APP_CURRENT_WEBSITE||"LRP";(0,ou.k)(`/service-worker.${e}.js?v=${du}`,{ready(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB"),"serviceWorker"in navigator&&(navigator.serviceWorker.controller&&(navigator.serviceWorker.controller.postMessage({command:"updateCacheVersion"}),console.log("Cache Version updated for offline use.")),"PeriodicSyncManager"in window?navigator.serviceWorker.ready.then((async e=>{try{await e.periodicSync.register({tag:"lrp-periodic-sync",minInterval:864e5}),console.log("Periodic sync registered!")}catch(t){console.log("Periodic sync could not be registered!",t.message),console.log("Please check browser permissions and compatibility.")}})):console.log("Periodic Sync API not supported."))},cached(){console.log("Content has been cached for offline use.")},updated(e){console.log("New content is available; please refresh."),caches.keys().then((function(e){for(const t of e)caches.delete(t)})),e.unregister().then((()=>{window.location.reload()}))},offline(){console.log("No internet connection found. App is running in offline mode.")},error(e){console.error("Error during service worker registration:",e)}}),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",(e=>{console.log("Message from service worker:",e.data)}))}a["default"].use(yt.Ay);const uu=new yt.Ay.Store({modules:{products:Or,concerns:vd,routine:ot}});a["default"].use(nu),Pn.nomockgetMqHandler({small:768,medium:1024}),_.Xj.getAnalyticsHandler(O.Y),au.getInputHandler(),a["default"].config.ignoredElements=["amp-story","amp-story-page","amp-img","amp-story-grid-layer","amp-video","amp-story-bookend"],a["default"].config.keyCodes={home:36,end:35},(0,ru.A)(a["default"]),screen.width<=600&&document.getElementsByClassName("fb_customer_chat_icon")[0]&&(document.getElementsByClassName("fb_customer_chat_icon")[0].style.bottom="65px !important");const pu=(0,s.fC)({asyncImports:[{module:async()=>i.e(612).then(i.bind(i,821)),components:["YoutubePlayer"]},{module:async()=>i.e(90).then(i.bind(i,384)),components:["Notification"]}],imports:[_.Ay,su,Ge,m,ia,ca,va,Xe,U,Re,I,q,fi,Yt,ei,nt,Ot,oe,ee,nt,lt,vt,Qa,Es,Ws,$i,Ri,Xi,Sa,ln,dn,_n,yn,Ns,Ea,hi,ci,Di,Ti,Js,wn,Fr,Hr,co,uo,yo,Fd,ko,Il,Fl,Qo,Yl,ic,cc,fc,Dc,_d,fd,yd,Ld,Id,Yd],directives:{background:eu,clickoutside:_e,clickextension:Zd,srcset:H.hH,imageloaded:iu,ellipsis:tu.gO,customFormAnalytics:Kd,preventBodyScroll:Jd},filters:{},store:uu,components:{"rfp-lrp-ratings-star-rating-product":()=>i.e(556).then(i.bind(i,9556))},methods:{openAccessibility(){document.getElementById("accessibility-popup").classList.add("show"),window.eventBus.$emit("accessibility-click",!0)}}});new a["default"](pu).$mount("#main-container")}},t={};function i(a){var s=t[a];if(void 0!==s)return s.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,i),n.exports}i.m=e,function(){var e=[];i.O=function(t,a,s,n){if(!a){var r=1/0;for(d=0;d<e.length;d++){a=e[d][0],s=e[d][1],n=e[d][2];for(var o=!0,l=0;l<a.length;l++)(!1&n||r>=n)&&Object.keys(i.O).every((function(e){return i.O[e](a[l])}))?a.splice(l--,1):(o=!1,n<r&&(r=n));if(o){e.splice(d--,1);var c=s();void 0!==c&&(t=c)}}return t}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[a,s,n]}}
9(),function(){i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,{a:t}),t}}(),function(){i.d=function(e,t){for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,a){return i.f[a](e,t),t}),[]))}}(),function(){i.u=function(e){return"js/"+({90:"add-to-homescreen",612:"youtube-player"}[e]||e)+"."+{90:"c6bf45ca",248:"6f64e726",292:"ffeb33d4",556:"fdf29ddd",612:"14e73bf3",633:"9c10dfcf"}[e]+".js"}}(),function(){i.miniCssF=function(e){return"css/"+(90===e?"add-to-homescreen":e)+"."+{90:"a31fb692",248:"ceaf35e6",633:"3021c057"}[e]+".css"}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="wsf-master-lrp:";i.l=function(a,s,n,r){if(e[a])e[a].push(s);else{var o,l;if(void 0!==n)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==a||u.getAttribute("data-webpack")==t+n){o=u;break}}o||(l=!0,o=document.createElement("script"),o.charset="utf-8",o.timeout=120,i.nc&&o.setAttribute("nonce",i.nc),o.setAttribute("data-webpack",t+n),o.src=a),e[a]=[s];var p=function(t,i){o.onerror=o.onload=null,clearTimeout(h);var s=e[a];if(delete e[a],o.parentNode&&o.parentNode.removeChild(o),s&&s.forEach((function(e){return e(i)})),t)return t(i)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),l&&document.head.appendChild(o)}}}(),function(){i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){i.p="/frontend/master/"}(),function(){if("undefined"!==typeof document){var e=function(e,t,a,s,n){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css",i.nc&&(r.nonce=i.nc);var o=function(i){if(r.onerror=r.onload=null,"load"===i.type)s();else{var a=i&&i.type,o=i&&i.target&&i.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+o+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=o,r.parentNode&&r.parentNode.removeChild(r),n(l)}};return r.onerror=r.onload=o,r.href=t,a?a.parentNode.insertBefore(r,a.nextSibling):document.head.appendChild(r),r},t=function(e,t){for(var i=document.getElementsByTagName("link"),a=0;a<i.length;a++){var s=i[a],n=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(n===e||n===t))return s}var r=document.getElementsByTagName("style");for(a=0;a<r.length;a++){s=r[a],n=s.getAttribute("data-href");if(n===e||n===t)return s}},a=function(a){return new Promise((function(s,n){var r=i.miniCssF(a),o=i.p+r;if(t(r,o))return s();e(a,o,null,s,n)}))},s={962:0};i.f.miniCss=function(e,t){var i={90:1,248:1,633:1};s[e]?t.push(s[e]):0!==s[e]&&i[e]&&t.push(s[e]=a(e).then((function(){s[e]=0}),(function(t){throw delete s[e],t})))}}}(),function(){var e={962:0};i.f.j=function(t,a){var s=i.o(e,t)?e[t]:void 0;if(0!==s)if(s)a.push(s[2]);else{var n=new Promise((function(i,a){s=e[t]=[i,a]}));a.push(s[2]=n);var r=i.p+i.u(t),o=new Error,l=function(a){if(i.o(e,t)&&(s=e[t],0!==s&&(e[t]=void 0),s)){var n=a&&("load"===a.type?"missing":a.type),r=a&&a.target&&a.target.src;o.message="Loading chunk "+t+" failed.\n("+n+": "+r+")",o.name="ChunkLoadError",o.type=n,o.request=r,s[1](o)}};i.l(r,l,"chunk-"+t,t)}},i.O.j=function(t){return 0===e[t]};var t=function(t,a){var s,n,r=a[0],o=a[1],l=a[2],c=0;if(r.some((function(t){return 0!==e[t]}))){for(s in o)i.o(o,s)&&(i.m[s]=o[s]);if(l)var d=l(i)}for(t&&t(a);c<r.length;c++)n=r[c],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(d)},a=self["webpackChunkwsf_master_lrp"]=self["webpackChunkwsf_master_lrp"]||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))}();var a=i.O(void 0,[603,386,429,571,812,820,852,717,862,447,949,908,927,491,919],(function(){return i(5570)}));a=i.O(a)})(); 10//# sourceMappingURL=home.2eeb5b7a.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.