1(function(){var e={18:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(8717),r=i(1209),a=i(3968);class n extends a.A{constructor(e){if(super(void 0,e),!this.name&&!this.id)throw r.A.error("[AnalyticsProductObjectException] A Product Name or a Product ID is required for an Analytics Product Object",e),new s.CZ("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)}set quantity(e){this.result.quantity=e||1}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]}}},197:function(){},806:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var s=i(8717),r=i(1209),a=i(3968),n=i(18);class o extends a.A{constructor(e){if(super("uaevent",e),this.category="Ecommerce",e.category&&r.A.warn(`[AnalyticsSha
1deSelectionObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Product Detail|Variant selection",e.action&&r.A.warn(`[AnalyticsShadeSelectionObjectException] Action always defaults to "Shade Selection" (L'Oréal guideline), currently [${e.action}] was provided`,e,!1),!e.products||0===e.products.length)throw r.A.error("[AnalyticsShadeSelectionObjectException] Product is required for shadeSelection",e),new s.id("Product is required for shadeSelection")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},this.result.ecommerce.detail=this.result.ecommerce.detail||{},this.result.event_name="view_item",this.result.event_detail="variant selection",this.result.product_info=this.result.eventLabel||""}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 products(e){e=e.map(e=>new n.A(e).toObject()),this.initEcommerce(),this.result.ecommerce.detail.products=e}get products(){return this.result.ecommerce&&this.result.ecommerce.detail.products||[]}}},1209:function(e,t,i){"use strict";var s=i(6613);const r="padding: 2px 6px; background: #111; color: #eee";t.A={log(e,t,i,a){if(s.Y){i=i||"log";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}`,r];console.groupCollapsed("AnalyticsHandler"),console.log(...n),t&&a&&("uaevent"===t.event?(console.table&&console.table(t),console.log("%cAssociated raw data:",r),console.log(JSON.stringify(t,null,2))):(console.log("%cAssociated raw data:",r),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)}}},1694:function(e,t,i){"use strict";i.d(t,{C:function(){return o},Q:function(){return l}});var s=i(5093),r=i(8973),a=i(1813),n=i(1887);const o=(e,t={},i=300)=>{const o=e?e.querySelectorAll("[data-tag-wrapper]"):[];let l=[],c=0;const d=e=>l.push(e);o.forEach(e=>{const o=r.A.createDataObjectBasedOnDom(e,t);(0,a.I9)(e,{delay:i,checkIsVisible:!0}).then(()=>{d(o),c+=1,setTimeout(()=>{if(l.length===c&&l.length){const e=l[0],t=(0,s.A)(e,"products[0].currency");t&&(e.currency=e.products[0].currency),e.products=l.map(e=>e.products[0]).sort((e,t)=>e.position-t.position),n.Xj.getAnalyticsHandler().push(e),l=[],c=0}},i)})})},l={name:"impression-handler",inserted:(e,t)=>{const{value:i={},arg:s}=t,r="delayed"===s?500:null;if(!i)return!1;i.type="productImpression",r?setTimeout(()=>{o(e,i,r)},r):o(e,i)}}},1813:function(e,t,i){"use strict";function s(e){const t=e.getBoundingClientRect();return t.left>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function r(e){const t=e.getBoundingClientRect(),i={x:t.left+e.offsetWidth/2,y:t.top+e.offsetHeight/2};let s=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(s===e)return!0}while(s=s.parentNode);return!1}i.d(t,{I9:function(){return o},YJ:function(){return l}});var a=i(3547);function n(e,t,i){return(0,a.n)(()=>{(t.checkIsVisible&&s(e)&&r(e)||!t.checkIsVisible&&s(e))&&i()},t.delay)}function o(e,t){return new Promise(i=>{const s=n(e,t,()=>{document.removeEventListener("carouselLazyImg",s),window.removeEventListener("scroll",s),window.removeEventListener("resize",s),i()});document.addEventListener("carouselLazyImg",s,!1),window.addEventListener("scroll",s,!1),window.addEventListener("resize",s,!1),s()})}function l(e,t={}){const{checkIsVisible:i=!0,delay:s=500,threshold:r=[.006]}=t;return"IntersectionObserver"in window?new Promise(t=>{const i=new IntersectionObserver(s=>
1{s.forEach(s=>{s.intersectionRatio>0&&(t(),i.unobserve(e))})},{threshold:r});i.observe(e)}):o(e,{delay:s,checkIsVisible:i})}},1866:function(){},1887:function(e,t,i){"use strict";i.d(t,{Xj:function(){return l}});var s=i(8717),r=i(5442),a=i(1209);const n=(e,t)=>{e()?t():window.setTimeout(n.bind(null,e,t),10)},o=e=>{n(()=>"complete"===document.readyState,()=>window.dataLayer.push(e))};class l{constructor(){a.A.info("debug enabled"),"undefined"===typeof window.dataLayer&&(a.A.warn("dataLayer is not defined. Creating local dataLayer for debugging purposes."),window.dataLayer=[])}taggingObjectByType(e){if(-1===r.Wy.indexOf(e.type)){const t=r.Wy.join(", ");throw a.A.error(`[AnalyticsException] Wrong type given: [${e.type}]. Type options: ${t}`),new s.A7(`Wrong type given: [${e.type}]. Type options: ${t}`)}const t=r.MA[e.type];return new t(e).toObject()}push(e){if(!e)throw new s.A7("No data given to AnalyticsHandler.push function");const t=this.taggingObjectByType({...e,...e.rootTaggingData});a.A.info(`Pushing [${e.type}] to dataLayer`,t);try{l.pushDataLayer(t)}catch(i){throw a.A.error("Error while pushing to dataLayer",i),new s.A7(i.message)}return this}static getAnalyticsHandler(){return this.$analyticsHandler=this.$analyticsHandler||new l,this.$analyticsHandler}static pushDataLayer(e){return o(e)}}},2252:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(8717),r=i(1209),a=i(3968);class n extends a.A{constructor(e){if(super(void 0,e),!this.name&&!this.id)throw r.A.error("[AnalyticsPromotionObjectException] A Promotion Name or a Promotion ID is required for an Analytics Promotion Object",e),new s.Qv("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}}},2493:function(e,t,i){"use strict";var s=i(2893);class r{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 s=0;s<i;s+=1){const i=e[s];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 s=0;s<i;s+=1){const i=t[s];(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 r(e);e.mixin({beforeMount:t,mounted:i})}}var a=i(5906),n=i(6613),o=i(4017);try{window.wsf=Object.assign(window.wsf||{},{debug:n.Y,eventBus:o.B})}catch(fr){console.warn("unable to load wsf variable")}var l=i(9878);class c{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 c,this.$inputHandler}}var d=i(1813),u=i(3547);const h={name:"poster",inserted:(e,t)=>{const i=()=>{e.setAttribute("poster",t.value)};(0,d.YJ)(e,{checkIsVisible:!1}).then(()=>{i(),e.listener=(0,u.s)(i,200),window.addEventListener("resize",e.listener),setTimeout(()=>{e.classList.add("-poster-set")},100)})},unbind(e){e.listener&&window.removeEventListener("resize",e.listener)}},p={name:"click-outside",bind:function(e,t,i){e.clickOutsideEvent=function(s){const r=s.target,a=r.closest(".toggle__panel");e===r||e.contains(r)||a===e.nextElementSibling||a===document.querySelector(".a11y-switcher")||(i.context[t.expression](s),i.context.
1isBurger&&i.context.removePageScroll(!1))},document.body.addEventListener("click",e.clickOutsideEvent)},unbind:function(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};var m=i(1694);const g=(e,t,i,s)=>{s.setAttribute(i,t)},v={name:"lazyAttribute",bind:(e,t)=>{const{url:i,attribute:s}=t.value;t.value&&i&&s&&(0,d.YJ)(e).then(t=>{g(t,i,s,e)})}};window.$INJECTED_URLS={};var y={hasScript(e){return window.$INJECTED_URLS[e]},injectScript(e,t={}){if(!this.hasScript(e)){const i=document.createElement("script"),s=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),s.appendChild(i)}),window.$INJECTED_URLS[e]}return Promise.resolve().then(()=>window.$INJECTED_URLS[e])}};const f=["mousemove","scroll","keyup","keydown","touchstart","click"],b=["scroll","touchstart"],w=(e,t,i)=>{e.forEach(e=>{window.addEventListener(e,i)})},A="loaded",C=(e,t)=>{const{async:i,crossorigin:s,integrity:r,name:a,src:n}=e;y.injectScript(n,{async:i||!0,crossorigin:s,integrity:r,name:a}).then(()=>{t.componentInstance?t.componentInstance.$emit(A):t.elm.dispatchEvent(new CustomEvent(A))})},_={name:"lazy-script",bind:(e,t,i)=>{const{value:s,modifiers:r}=t,a=()=>{f.forEach(e=>{window.removeEventListener(e,a)}),C(s,i)};r.scroll?w(b,i,a):r.visible?(0,d.YJ)(e,{checkIsVisible:!0,threshold:[.006]}).then(()=>{C(s,i)}):w(f,i,a)}};var S=i(6356),P=i.n(S),L=i(5353);function T(e,t){const i=[];return t&&t.forEach(t=>{t.tag===e&&i.push(t.id)}),i}function E(e,t){if(!t)return!1;const i=t.filter(t=>t.groupKey?.toLowerCase()===e.toLowerCase());return i[0]?.label||""}const k="application/json";function x(e,t){return e.type&&e.type.toLowerCase()===t}function I(e,t){return e&&e.id===t}function $(e,t){return e?null:(!t||"new_arrivals"!==t.id&&"best_sellers"!==t.id)&&t?t.id:null}function O(e){return(!e||"new_arrivals"!==e.id&&"best_sellers"!==e.id)&&e&&e.id?e.id:null}function B(e){return e&&e.id?e.id:null}function D(e,t){return e?null:t&&t.id?t.id:null}function N(e){return e.length?e:null}const q={state:{loading:!1,filters:{},filterCategory:null,filterType:null,filterOther:null,filterSort:null,gridList:{},productCTAInfo:{},BVInlineRating:!1,gridListLoaded:!1,pagination:{},searchQuery:null,facetProduct:null,facetTip:null,facetTrend:null,noResults:{visible:!1,displayFor:null},localSelected:[],appliedFilters:{},dropdownSelected:null,availableFilters:null},mutations:{loading(e,t){e.loading=t},gridListLoaded(e,t){e.gridListLoaded=t},localSelected(e,t){e.localSelected=t},dropdownSelected(e,t){e.dropdownSelected=t},availableFiltersValue(e,t){e.availableFilters=t},filters(e,{type:t,value:i,isRedesign:r}){"other"===t?e.filters[t]=[...i]:Array.isArray(i)&&i.length?s.Ay.set(e.filters,t,i[0]):s.Ay.set(e.filters,t,i),r&&Array.isArray(i)&&i.length&&(e.filters[t]=[...i])},clearFilters(e){Object.keys(e.filters).forEach(t=>{"sort"!==t&&s.Ay.set(e.filters,t,[])})},clearFilter(e,{type:t,value:i}){Object.keys(e.filters).forEach(r=>{r===t&&s.Ay.set(e.filters,t,i),"type"===t&&(e.filterOther=null)})},clearNoResults(e){e.noResults={visible:!1,displayFor:null}},filterCategory(e,t){e.filterCategory=t||null},filterType(e,t){e.filterType=t||null},filterOther(e,t){e.filterOther=t||null},filterSort(e,t){e.filterSort=t||null},gridList(e,t){e.gridList=t},productCTAInfo(e,t){e.productCTAInfo=t},BVInlineRating(e,t){e.BVInlineRating=t},pagination(e,t){e.pagination={...e.pagination,...t}},clearPagination(e){e.pagination={itemsPerPage:e.pagination.itemsPerPage}},searchQuery(e,t){e.searchQuery=t},facetProduct(e,t){e.facetProduct=t},facetTip(e,t){e.facetTip=t},facetTrend(e,t){e.facetTrend=t},handleNoResults(e,{visible:t,displayFor:i}){e.noResults={visible:t,displayFor:i}}},actions:{setFiltersValue({commit:e},t){e("filters",t)},setFilterValue({commit:e,dispatch:t},i){e("filters",i),"sort"!==i.type.toLowerCase()&&e("localSelected",i.value),"category"===i.type.toLowerCase()&&(e("filterType",null),e("filterOther",null),e("clearFilter",{type:"type",value:[]})),"type"===i.type.toLowerCase()&&e("filterOther",null),"other"!==i.t
1ype.toLowerCase()&&"sort"!==i.type.toLowerCase()&&t("fetchFilters",i)},setFilterValueRedesign({commit:e},t){e("filters",t),e("filterType",null),e("filterOther",null)},setDropdownValue({commit:e},t){e("dropdownSelected",t)},clearNoResults({commit:e}){e("clearNoResults")},clearFilters({state:e,commit:t},i){sessionStorage.setItem("appliedFilters",'{"category":{},"type":[],"other":[]}'),t("clearFilters",i),t("filterType",null),t("filterOther",null),t("filterSort",null),t("clearPagination"),e.searchQuery||t("gridList",{})},clearFiltersRedesign({state:e,commit:t},i){sessionStorage.setItem("appliedFilters",'{"category":[],"type":[],"other":[]}'),t("clearFilters",i),t("filterType",null),t("filterOther",null),t("clearPagination"),e.searchQuery||t("gridList",{})},clearFilterCategory({commit:e}){e("filterCategory",null)},clearTypeFilter({commit:e}){e("filterType",null)},clearOtherFilter({commit:e}){e("filterOther",null)},clearSortFilter({commit:e}){e("filterSort",null)},clearFilter({commit:e},t){e("clearFilter",t)},clearGridList({commit:e}){e("gridList",{})},checkFiltersAndClear({commit:e},t){"new_arrivals"!==t&&"best_sellers"!==t||(e("filterType",null),e("clearFilter",{type:"type",value:[]}))},checkFilterTypeAndCommit({commit:e},t){x(t.filter,t.type)&&e(t.actionName,t.data)},fillGridData({commit:e},t){"Product"===t.contentType?t.gridList&&t.gridList.ListOfProducts?e("gridList",t.gridList.ListOfProducts):e("gridList",null):t.gridList&&t.gridList.ListOfArticles?e("gridList",t.gridList.ListOfArticles):e("gridList",null)},onQueryHasChanged({commit:e},t){(t.gridList&&t.gridList.FacetProductCount||0===t.gridList.FacetProductCount)&&e("facetProduct",t.gridList.FacetProductCount),(t.gridList&&t.gridList.FacetTipCount||0===t.gridList.FacetTipCount)&&e("facetTip",t.gridList.FacetTipCount),(t.gridList&&t.gridList.FacetTrendCount||0===t.gridList.FacetTrendCount)&&e("facetTrend",t.gridList.FacetTrendCount)},async fetchFilters({commit:e,getters:t,dispatch:i},s){let r;e("loading",!0);const a={pageId:s.pageId,lang:s.lang,db:s.db,Category:$(s.isFacet,t.getFilters.category),Type:D(s.isFacet,t.getFilters.type),NewArrivals:I(t.getFilters.category,"new_arrivals"),BestSeller:I(t.getFilters.category,"best_sellers"),contentType:s.contentType?s.contentType:"Product",dataSourceGrid:s.dataSourceGrid?s.dataSourceGrid:""};s.isFirstLevel&&(a.isFirstLevel=!0);const n=`${window.location.protocol}//${window.location.host}${s.url}`;fetch(`${n}`,{method:"POST",headers:{"Content-Type":k},body:JSON.stringify(a)}).then(async e=>{r=await e.json(),i("checkFiltersAndClear",t.getFilters.category),i("checkFilterTypeAndCommit",{filter:r,type:"category",actionName:"filterCategory",data:r.categoryFilters}),i("checkFilterTypeAndCommit",{filter:r,type:"type",actionName:"filterType",data:r.categoryFilters}),i("checkFilterTypeAndCommit",{filter:r,type:"other",actionName:"filterOther",data:r.tagFilters})}).catch(e=>{console.error(e)}).finally(()=>{e("loading",!1)})},async fetchGridList({state:e,commit:t,getters:i,dispatch:r},{otherFilterList:a,url:n,pageId:o,lang:l,db:c,pageNumber:d,searchQuery:u,contentType:h,queryHasChanged:p=!1,customBoostIds:m,dataSourceGrid:g}){t("loading",!0);const v=sessionStorage.getItem("appliedFilters"),y=JSON.parse(v&&0!==v.length?sessionStorage.getItem("appliedFilters"):'{"category":{},"type":[],"other":[]}');Object.entries(y).forEach(t=>s.Ay.set(e.appliedFilters,t[0],t[1]));const f=i.getFilterOther||a;let b;i.getFilterOther||t("filterOther",f);const w={pageId:o,lang:l,db:c,sort:i.getAppliedFilters.sort?.id,searchQuery:u||e.searchQuery,Category:O(i.getAppliedFilters.category),Type:B(i.getAppliedFilters.type),newProduct:I(i.getAppliedFilters.category,"new_arrivals"),bestSellers:I(i.getAppliedFilters.category,"best_sellers"),brand:N(T(E("Brand",f),i.getAppliedFilters.other)),benefit:N(T(E("Benefit",f),i.getAppliedFilters.other)),coverage:N(T(E("Coverage",f),i.getAppliedFilters.other)),finish:N(T(E("Finish",f),i.getAppliedFilters.other)),form:N(T(E("Form",f),i.getAppliedFilters.other)),contentType:h,pageNumber:d,queryHasChanged:p,customBoostIds:m,dataSourceGrid:g},A=`${window.location.protocol}//${window.location.host}${n}`;fetch(`${A}`,{method:"POST",headers:{"Content-Type":k},body:JSON.stringify(w)}).then(async e=>{t("gridListLoaded",!0),b=await e.json(),t("productCTAInfo",{BuyNowSetting:b.BuyNowSetting,BuyNowButton:b.BuyNowButton,IsParentProductGrid:b.IsParentProductGrid}),t("BVInlineRating",b.BVInlineRating),r("fillGridData",{contentType:h,gridList:b}),p&&r("onQueryHasChanged",{gridList:b}),b&&b.NumberListString&&b.NumberOfPages&&b.CurrentPage&&b.ResultCount?t("pagination",{numberList:b.NumberListString,numberOfPages:b.NumberOfPages,currentPage:b.CurrentPage,resultCount:b.ResultCount}):t("pagination",{numberList:"",numberOfPages:0,currentPage:0,resultCount:0,itemsPerPage:0})}).catch(e=>{console.error(e)}).finally(()=>{t("loading",!1)})},async fetchGridListRedesign({state:e,commit:t,getters:i,dispatch:r},{otherFilterList:a,url:n,pageId:o,dataSourceId:l,lang:c,db:d,pageNumber:u,searchQuery:h,contentType:p,queryHasChanged:m=!1,customBoostIds:g,dataSourceGrid:v,isNewProductGrid:y}){t("loading",!0);const f=sessionStorage.getItem("appliedFilters"),b=JSON.parse(f&&0!==f.length?sessionStorage.getItem("appliedFilters"):'{"category":[],"type":[],"other":[]}');Object.entries(b)&&Object.entries(b).forEach(t=>s.Ay.set(e.appliedFilters,t[0],t[1]));const w=i.getFilterOther||a;let A,C;i.getFilterOther||t("filterOther",w);let _=i.getAppliedFilters.other;
1_?.length&&_.forEach(e=>{let t=e,i=e.tagLabel,s=e.label;t.label=i,t.tagLabel=s,e=t});const S={pageId:o,dataSourceId:l,lang:c,db:d,sort:i.getDropdownValue,searchQuery:h||e.searchQuery,Category:i.getAppliedFilters.category,Type:i.getAppliedFilters.type,other:_,newProduct:I(i.getAppliedFilters.category,"new_arrivals"),bestSellers:I(i.getAppliedFilters.category,"best_sellers"),contentType:p,pageNumber:u,queryHasChanged:m,customBoostIds:g,dataSourceGrid:v,isNewProductGrid:y},P=`${window.location.protocol}//${window.location.host}${n}`;fetch(`${P}`,{method:"POST",headers:{"Content-Type":k},body:JSON.stringify(S)}).then(async e=>{t("gridListLoaded",!0),A=await e.json(),C=A.FilterGrid,t("availableFiltersValue",C),t("productCTAInfo",{BuyNowSetting:A.BuyNowSetting,BuyNowButton:A.BuyNowButton,IsParentProductGrid:A.IsParentProductGrid}),t("BVInlineRating",A.BVInlineRating),r("fillGridData",{contentType:p,gridList:A}),m&&r("onQueryHasChanged",{gridList:A}),A&&A.NumberListString&&A.NumberOfPages&&A.CurrentPage&&A.ResultCount?t("pagination",{numberList:A.NumberListString,numberOfPages:A.NumberOfPages,currentPage:A.CurrentPage,resultCount:A.ResultCount}):t("pagination",{numberList:"",numberOfPages:0,currentPage:0,resultCount:0,itemsPerPage:0})}).catch(e=>{console.error(e)}).finally(()=>{t("loading",!1)})},clearFacetProduct({commit:e}){e("facetProduct",null)},clearFacetTip({commit:e}){e("facetTip",null)},clearFacetTrend({commit:e}){e("facetTrend",null)},clearAllFacets({commit:e}){e("facetTip",null),e("facetProduct",null),e("facetTrend",null)}},getters:{filtersLoaded:e=>e.loading,gridListLoaded:e=>e.gridListLoaded,getFilter:e=>t=>e.filters[t],getFilterCategory:e=>e.filterCategory,getFilterType:e=>e.filterType,getFilterOther:e=>e.filterOther,getFilterSort:e=>e.filterSort,getFilters:e=>e.filters,getAppliedFilters:e=>e.appliedFilters,getGridList:e=>e.gridList,getPagination:e=>e.pagination,getSearchQuery:e=>e.searchQuery,getFacetProduct:e=>e.facetProduct,getFacetTip:e=>e.facetTip,getFacetTrend:e=>e.facetTrend,getSearchNoResultsInfo:e=>e.noResults,getProductCTAInfo:e=>e.productCTAInfo,getBVInlineRating:e=>e.BVInlineRating,getLocalSelected:e=>e.localSelected,getDropdownValue:e=>e.dropdownSelected,getAvailableFilters:e=>e.availableFilters}};var V=i(5093);const R={state:{loading:!1,variant:null,activeShade:{}},mutations:{loading(e,t){e.loading=t},variant(e,t){e.variant=t},setShade(e,t){e.activeShade=t}},actions:{async fetchVariant({commit:e},t){let i,s;e("loading",!0),t.size<768?(i=253,s=376):t.size>=768&&t.size<1280?(i=169,s=254):(i=316,s=475);const r={variantId:t.id,width:i,height:s},a=`${window.location.protocol}//${window.location.host}${t.url}`;fetch(`${a}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then(async i=>{const s=i.status;if(204===+s||404===+s)e("variant",{images:[],variantName:t.name});else{const t=await i.json();e("variant",t)}}).catch(e=>{console.error(e)}).finally(()=>{e("loading",!1)})}},getters:{variantLoaded:e=>e.loading,variant:e=>e.variant,activeShadeEAN:e=>(0,V.A)(e,"activeShade.variantEAN",""),activeShade:e=>(0,V.A)(e,"activeShade",""),activeProductName:e=>(0,V.A)(e,"activeShade.productName",""),activeProductReferenceName:e=>(0,V.A)(e,"activeShade.productReferenceName","")}},F={state:{loading:!1,articlesData:{}},mutations:{loading(e,t){e.loading=t},setArticlesData(e,t){e.articlesData=t}},actions:{async fetchArticlesData({commit:e},t){e("loading",!0);const{pageId:i,lang:s,db:r,pageNumber:a,filters:n}=t,o={pageId:i,lang:s,db:r,pagenumber:a,filters:n},l=`${window.location.protocol}//${window.location.host}${t.url}`;fetch(`${l}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)}).then(async t=>{const i=t.status;if(204===+i||404===+i)e("setArticlesData",{});else{const i=await t.json();e("setArticlesData",i)}}).catch(e=>{console.error(e)}).finally(()=>{e("loading",!1)})}},getters:{articlesDataLoaded:e=>e.loading,getArticlesData:e=>(0,V.A)(e,"articlesData.ListOfArticles",{}),getNewLabelText:e=>(0,V.A)(e,"articlesData.NewLabel",""),numberOfPages:e=>(0,V.A)(e,"articlesData.NumberOfPages",0),getCurrentPage:e=>(0,V.A)(e,"articlesData.CurrentPage",1),numberListString:e=>(0,V.A)(e,"articlesData.NumberListString",""),firstPageAltText:e=>(0,V.A)(e,"articlesData.FirstPageAltText",""),lastPageAltText:e=>(0,V.A)(e,"articlesData.LastPageAltText",""),nextPageAltText:e=>(0,V.A)(e,"articlesData.NextPageAltText",""),previousPageAltText:e=>(0,V.A)(e,"articlesData.PreviousPageAltText",""),resultCount:e=>(0,V.A)(e,"articlesData.ResultCount","")}},M={GET_ACTIVE_TAB:"getActiveTab",GET_CURRENT_PRODUCT:"getCurrentProduct",GET_PRODUCTS:"getProducts",GET_SHADES_COUNT:"getShadesCount"}
1,z={REGISTER_TAB:"registerTab",SET_ACTIVE_TAB:"setActiveTab",SET_CURRENT_PRODUCT:"setCurrentProduct",SET_PRODUCTS_LIST:"setProductsList"},W={REGISTER_TAB:"registerTab",SET_ACTIVE_TAB:"setActiveTab",SET_CURRENT_PRODUCT:"setCurrentProduct",SET_PRODUCTS_LIST:"setProductsList"},j={tabs:[],productComponent:[]},H={[M.GET_ACTIVE_TAB]:e=>e.tabs,[M.GET_PRODUCTS]:e=>e.productComponent},U={[z.REGISTER_TAB]:(e,t)=>{s.Ay.set(e.tabs,t,"")},[z.SET_ACTIVE_TAB]:(e,{parent:t,tab:i})=>{s.Ay.set(e.tabs,t,i)},[z.SET_CURRENT_PRODUCT]:(e,{componentId:t,product:i})=>{s.Ay.set(e.productComponent[t],"activeProductId",i.shade)},[z.SET_PRODUCTS_LIST]:(e,{componentId:t,products:i})=>{s.Ay.set(e.productComponent,t,{productList:i,activeProductId:i[0].shade})}},X={[W.REGISTER_TAB]:({commit:e},t)=>{e(z.REGISTER_TAB,t)},[W.SET_ACTIVE_TAB]:({commit:e,getters:t},{parent:i,tab:s})=>{t.getActiveTab[i]||e(z.REGISTER_TAB,i),e(z.SET_ACTIVE_TAB,{parent:i,tab:s})},[W.SET_CURRENT_PRODUCT]:({commit:e},t)=>{e(z.SET_CURRENT_PRODUCT,t)},[W.SET_PRODUCTS_LIST]:({commit:e},t)=>{e(z.SET_PRODUCTS_LIST,t)}},G={state:{...j},getters:{...H},mutations:{...U},actions:{...X}};s.Ay.use(L.Ay);const J=new L.Ay.Store({modules:{filters:q,variantsMedia:R,categoryArticles:F,franchise:G}});var Q=i(1643),Y=i(7488),K={install(e){e.directive("lazy",Y.RZ),e.directive("srcset",Y.hH)}},Z=function(){var e=this,t=e._self._c;return t("div",{ref:"transporter",staticClass:"transporterUs",class:e.toggleSquareClass},[t("commitment-divider"),e._v(" "),t("div",{ref:"transporterWrapper",staticClass:"transporterUs__wrapper"},[e._t("default")],2)],1)},ee=[],te=i(3214),ie={name:"TransporterUs",components:{CommitmentDivider:te.A},props:{roleDescriptionText:{type:String,default:"slider"},cardText:{type:String,default:"Card translation"},impressionSettings:{type:Object,default:()=>({withImpression:!1})},isSquare:{type:Boolean,default:!1}},computed:{impressionHandlerValue(){const{withImpression:e,label:t}=this.impressionSettings;return e?{label:t}:null},toggleSquareClass(){return this.isSquare?"transporterUs--square":""}},mounted(){this.$nextTick(()=>this.impressionSettings.withImpression&&this.taggingImpressionHandler(500))},methods:{taggingImpressionHandler(e=400){setTimeout(()=>{(0,m.C)(document.querySelector(".transporterUs__wrapper"),{type:"productImpression",...this.impressionHandlerValue},100)},e)}}},se=ie,re=i(1656),ae=(0,re.A)(se,Z,ee,!1,null,null,null),ne=ae.exports,oe=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"transporterUs__grid",class:e.centeredGrid},e._l(e.recommendations,function(i,s){return t("li",{key:s,staticClass:"transporterUs__card",attrs:{id:`carousel-item-${s}`,"data-qa":"tpm-card","data-id":s,"data-active":e.activeId===s}},[t("div",{staticClass:"transporter-us-card",class:[i.hasDarkText?"transporter-us-card--dark-text":""],attrs:{"data-qa":"tpm-card"}},[t("div",{staticClass:"transporter-us-card__picture"},[t("picture",{staticClass:"transporter-us-card__picture",attrs:{"data-qa":"tpm-picture"}},[t("source",{attrs:{media:"(min-width: 1280px)","data-srcset":i.imageUrl.desktop}}),e._v(" "),t("source",{attrs:{media:"(min-width: 768px)","data-srcset":i.imageUrl.tablet}}),e._v(" "),t("source",{attrs:{"data-srcset":i.imageUrl.mobile}}),e._v(" "),t("img",{directives:[{name:"srcset",rawName:"v-srcset",value:i.imageUrl.mobile,expression:"item.imageUrl.mobile"}],attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",alt:"","aria-hidden":"true"}})])]),e._v(" "),t("a",{staticClass:"transporter-us-card__text",attrs:{href:i.link}},[t("span",[t("div",{domProps:{innerHTML:e._s(i.text)}}),e._v(" "),t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-arrow",href:"#icon-arrow"}})])])])])])}),0)},le=[],ce={name:"TransporterUsCard",directives:{srcset:Y.hH,lazy:Y.RZ},props:{recommendations:{type:Array,required:!0,default:()=>[]},activeId:{type:Number,required:!0,default:0}},computed:{centeredGrid(){return this.recommendations.length<4?"center":""}}},de=ce,ue=(0,re.A)(de,oe,le,!1,null,null,null),he=ue.exports,pe=(0,a.fC)({components:{TransporterUs:ne,TransporterUsCard:he}}),me=function(){var e=this,t=e._self._c;return t("div",{ref:"carousel",staticClass:"carousel",class:[e.isMultipleClass,{centering:e.carouselLength<=1}],attrs:{"aria-roledescription":e.roleDescriptionText,"data-qa":"cl",role:"group"}},[t("div",{ref:"carouselWrapper",staticClass:"carousel__wrapper"},[e._t("default")],2),e._v(" "),e.navigation&&e.carouselLength>1?t("navigation-prev",{attrs:{"prev-button-title":e.prevButtonTitle,"arrow-type":e.arrowType},on:{prevSlide:e.prevSlide}}
1):e._e(),e._v(" "),e.pagination&&e.carouselLength>1?t("pagination",{attrs:{"pagination-items":e.carouselLength,"current-page":e.activePage,interval:e.interval,autoplay:e.autoplay,"is-paused":e.isPaused,"is-animation-enabled":e.animationEnabled,"slide-text":e.slideText,"go-to-slide-aria-label":e.goToSlideAriaLabel},on:{selectPagination:e.selectPaginationSlide,isPausedCarousel:e.pausedCarousel}}):e._e(),e._v(" "),e.navigation&&e.carouselLength>1?t("navigation-next",{attrs:{"next-button-title":e.nextButtonTitle,"arrow-type":e.arrowType},on:{nextSlide:e.nextSlide}}):e._e()],1)},ge=[],ve=i(7061),ye=function(){var e=this,t=e._self._c;return t("button",{staticClass:"carousel__navigation-prev",attrs:{disabled:e.canAdvanceBackward,"data-qa":"cl-n-prev",tabindex:"0"},on:{click:e.prevSlide}},[t("svg",{staticClass:"icon",class:`icon--${e.arrowType}`,attrs:{"aria-label":e.prevButtonTitle,role:"img"}},[t("use",{attrs:{"xlink:href":`#icon-${e.arrowType}`,href:`#icon-${e.arrowType}`}})])])},fe=[],be={name:"NavigationPrev",props:{prevButtonTitle:{type:String,default:"Prev"},arrowType:{type:String,default:"chevron"}},computed:{canAdvanceBackward(){return 0===this.$parent.activePage}},methods:{prevSlide(){this.$emit("prevSlide"),this.$root.$emit("clickNavigation")}}},we=be,Ae=(0,re.A)(we,ye,fe,!1,null,null,null),Ce=Ae.exports,_e=function(){var e=this,t=e._self._c;return t("button",{staticClass:"carousel__navigation-next",attrs:{disabled:e.canAdvanceForward,"data-qa":"cl-n-next",tabindex:"0"},on:{click:e.nextSlide}},[t("svg",{staticClass:"icon",class:`icon--${e.arrowType}`,attrs:{"aria-label":e.nextButtonTitle,role:"img"}},[t("use",{attrs:{"xlink:href":`#icon-${e.arrowType}`,href:`#icon-${e.arrowType}`}})])])},Se=[],Pe={name:"NavigationNext",props:{nextButtonTitle:{type:String,default:"Next"},arrowType:{type:String,default:"chevron"}},computed:{canAdvanceForward(){return this.$parent.activePage===this.$parent.carouselLength-1}},methods:{nextSlide(){this.$emit("nextSlide"),this.$root.$emit("clickNavigation")}}},Le=Pe,Te=(0,re.A)(Le,_e,Se,!1,null,null,null),Ee=Te.exports;const ke=(e,t,i=1)=>Array.from({length:(t-e)/i+1},(t,s)=>e+s*i),xe=".carousel__slide",Ie='.carousel__inner li[aria-current="true"] .hero__title';var $e={name:"Carousel",components:{NavigationPrev:Ce,NavigationNext:Ee,Pagination:ve.A},props:{goToSlideAriaLabel:{type:String,default:""},navigation:{type:Boolean,default:!0},pagination:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!1},interval:{type:Number,default:6e3},prevButtonTitle:{type:String,default:"Prev"},nextButtonTitle:{type:String,default:"Next"},isMultiple:{type:Boolean,default:!1},roleDescriptionText:{type:String,default:"carousel"},slideText:{type:String,default:"Slide translation"},impressionSettings:{type:Object,default:()=>({withImpression:!1})},enableSwipe:{type:Boolean,default:!0},tmPush:{type:Boolean,default:!1},arrowType:{type:String,default:"chevron"},cardSelector:{type:String,default:""},isScrollByCard:{type:Boolean,default:!1},cardsPerView:{type:[String,Number],default:1},hasSwipeElements:{type:Boolean,default:!1}},data(){return{activePage:0,carouselLength:0,timer:0,isPaused:!1,currentSlideTimer:0,currentSliderRemaining:this.interval,slidesPerView:1,windowWidth:window.innerWidth,windowScale:window.devicePixelRatio,animationEnabled:!!localStorage.accessibility_animations&&JSON.parse(localStorage.accessibility_animations),noScroll:!1}},computed:{impressionHandlerValue(){const{withImpression:e,label:t}=this.impressionSettings;return e?{label:t}:null},isMultipleClass(){return this.isMultiple?"multiple":"single"},activeSlides(){const e=this.activePage*this.slidesPerView,t=e+this.slidesPerView-1;return ke(e,t)}},watch:{activePage(){this.setActive(),this.restartAutoPlay()},isPaused(e){e?this.pauseAutoPlay():this.autoPlay()},animationEnabled:{handler:function(e){e?(this.isPaused=!1,this.currentSliderRemaining=this.interval,this.currentSlideTimer=0,this.autoPlay()):(this.isPaused=!0,this.pauseAutoPlay())},immediate:!1}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),this.getCarouselLength(),this.autoPlay(),this.handleActiveSlides(),this.enableSwipe&&this.swipeDetection(),this.$root.$on("animationEnabled",e=>{this.animationEnabled=e}),this.isMultiple&&this.setRoleDescription(),window.eventBus.$on("CAROUSELUPDATECHILDREN",()=>{this.getCarouselLength()}),this.$nextTick(()=>
1this.impressionSettings.withImpression&&this.taggingImpressionHandler(500)),this.$root.$on("togglePlayingVideos",e=>this.animationEnabled=e)},updated(){window.eventBus.$on("userInteractionOn",()=>{this.hasSwipeElements&&(this.noScroll=!0)}),window.eventBus.$on("userInteractionOff",()=>{this.hasSwipeElements&&(this.noScroll=!1)})},beforeDestroy(){window.removeEventListener("resize",this.onResize),this.$root.$off("animationEnabled"),this.$root.$off("togglePlayingVideos"),window.eventBus.$off("CAROUSELUPDATECHILDREN")},methods:{nextSlide(){this.activePage<this.carouselLength-1?(this.activePage++,this.currentSliderRemaining=this.interval,this.currentSlideTimer=0):this.activePage=0,this.tmPushEvent("next"),this.handleActiveSlides()},nextSlideAuto(){this.activePage<this.carouselLength-1?(this.activePage++,this.currentSliderRemaining=this.interval,this.currentSlideTimer=0):this.activePage=0,this.handleActiveSlides()},prevSlide(){this.activePage>0&&this.activePage--,this.tmPushEvent("previous"),this.handleActiveSlides()},tmPushEvent(e){const t=this.$refs.carouselWrapper.querySelector(Ie);let i="none";null!==t&&""!==t.innerText&&(i=t.innerText.toLowerCase()),this.tmPush&&l.Xj.pushDataLayer({event:"uaevent",ecommerce:void 0,eventCategory:"slider",eventAction:e,event_Label:this.activePage+"::"+i,event_name:"main_slider_button_click",cta_name:i,click_action:e,position:this.activePage})}
1,setActive(){document.dispatchEvent(new CustomEvent("carouselLazyImg"));const e=this.$refs.carouselWrapper.querySelector(".carousel__inner"),t=null!==e.closest(".rtl");if(this.isScrollByCard&&this.windowWidth<568){const i=this.$refs.carousel.querySelector(this.cardSelector),s=parseInt(window.getComputedStyle(i).width)+parseInt(window.getComputedStyle(i).marginRight)+parseInt(window.getComputedStyle(i).marginLeft);e.style.transform=`translate3d(${t?"":"-"}${this.activePage*s*this.cardsPerView}px, 0, 0)`}else e.style.transform=`translate3d(${t?"":"-"}${this.activePage}00%, 0, 0)`},selectPaginationSlide(e){const t=this.activePage>e?"previous":"next";this.activePage=e,this.restartAutoPlay(),this.handleActiveSlides(),this.tmPushEvent(t)},getCarouselLength(){this.carouselLength=Math.ceil(this.$refs.carouselWrapper.querySelectorAll(xe).length/this.slidesPerView)},autoPlay(){this.autoplay&&!this.isPaused&&this.animationEnabled&&(this.currentSlideTimer=new Date,this.timer=setTimeout(this.nextSlideAuto,this.currentSliderRemaining))},resetAutoPlay(){clearTimeout(this.timer)},restartAutoPlay(){this.resetAutoPlay(),this.autoPlay()},pauseAutoPlay(){this.resetAutoPlay(),this.currentSliderRemaining-=new Date-this.currentSlideTimer},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(){const e=Math.abs(this.touchendX-this.touchstartX),t=e>30,i=this.touchendX<this.touchstartX;t&&!this.noScroll&&(i?this.nextSlide():i||this.prevSlide())},pausedCarousel(e){this.isPaused=!!e},onResize(){this.windowWidth=window.innerWidth,this.windowScale=window.devicePixelRatio,this.isMultiple&&(window.innerWidth<=767?this.slidesPerView=2:window.innerWidth>=768&&window.innerWidth<1280?this.slidesPerView=4:this.slidesPerView=5,this.getCarouselLength(),this.handleActiveSlides())},handleActiveSlides(){const e=this.$refs.carouselWrapper.querySelectorAll(xe);setTimeout(()=>{e.forEach((t,i)=>{const s=this.activeSlides.includes(i);s?(this.isSlideActive(t,!0),e[i-1]?.classList.add("prev-to-active")):(this.isSlideActive(t,!1),e[i-1]?.classList.remove("prev-to-active"))})},200)},isSlideActive(e,t){t?(e.classList.remove("hidden-slide"),e.removeAttribute("inert"),e.setAttribute("aria-current",!0)):(e.classList.add("hidden-slide"),e.setAttribute("inert",!0),e.removeAttribute("aria-current"))},setRoleDescription(){const e=this.$refs.carouselWrapper.querySelectorAll(xe);e.forEach(e=>{e.setAttribute("aria-roledescription",this.slideText)})},taggingImpressionHandler(e=400){setTimeout(()=>{(0,m.C)(this.$refs.carouselWrapper,{type:"productImpression",...this.impressionHandlerValue},100)},e)}}},Oe=$e,Be=(0,re.A)(Oe,me,ge,!1,null,null,null),De=Be.exports,Ne=i(3559),qe=(0,a.fC)({components:{Carousel:De,Slide:Ne.A}}),Ve=function(){var e=this,t=e._self._c;return t("div",{ref:"transporter",staticClass:"transporter",attrs:{"data-qa":"",role:"group","aria-roledescription":e.roleDescriptionText}},[t("commitment-divider"),e._v(" "),t("div",{ref:"transporterWrapper",staticClass:"transporter__wrapper",attrs:{"data-active":"-"+e.activeCard,"data-length":"-"+e.transporterLength}},[e._t("default")],2),e._v(" "),e.transporterLength>1?t("transporter-navigation",{attrs:{"prev-button-title":e.prevButtonTitle,"next-button-title":e.nextButtonTitle},on:{prevCard:e.prevCard,nextCard:e.nextCard}}):e._e()],1)},Re=[],Fe=function(){var e=this,t=e._self._c;return t("div",{staticClass:"transporter__navigation"},[t("button",{staticClass:"transporter__navigation-prev",attrs:{disabled:e.canAdvanceBackward,"data-qa":"tpm-n-prev",tabindex:"0"},on:{click:e.prevCard}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.prevButtonTitle,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-arrow",href:"#icon-arrow"}})])]),e._v(" "),t("button",{staticClass:"transporter__navigation-next",attrs:{disabled:e.canAdvanceForward,"data-qa":"tpm-n-next",tabindex:"0"},on:{click:e.nextCard}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.nextButtonTitle,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-arrow",href:"#icon-arrow"}})])])])}
1,Me=[],ze={name:"TransporterNavigation",props:{nextButtonTitle:{type:String,default:"Next"},prevButtonTitle:{type:String,default:"Prev"}},computed:{canAdvanceForward(){return this.$parent.activeCard===this.$parent.transporterLength-this.$parent.cardsPerView+1},canAdvanceBackward(){return 0===this.$parent.activeCard}},methods:{nextCard(){this.$emit("nextCard")},prevCard(){this.$emit("prevCard")}}},We=ze,je=(0,re.A)(We,Fe,Me,!1,null,null,null),He=je.exports;const Ue=(e,t,i=1)=>Array.from({length:(t-e)/i+1},(t,s)=>e+s*i);var Xe={name:"Transporter",components:{TransporterNavigation:He,CommitmentDivider:te.A},props:{prevButtonTitle:{type:String,default:"Prev"},nextButtonTitle:{type:String,default:"Next"},roleDescriptionText:{type:String,default:"slider"},cardText:{type:String,default:"Card translation"},impressionSettings:{type:Object,default:()=>({withImpression:!1})}},data(){return{activeCard:0,transporterLength:0,cardsPerView:1,cardWidth:283}},computed:{impressionHandlerValue(){const{withImpression:e,label:t}=this.impressionSettings;return e?{label:t}:null},activeCards(){const e=this.activeCard,t=e+this.cardsPerView-1;return Ue(e,t)}},watch:{activeCard(){this.setActive()}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),this.getTransporterLength(),this.handleActiveCards(),this.swipeDetection(),this.setRoleDescription(),this.$nextTick(()=>this.impressionSettings.withImpression&&this.taggingImpressionHandler(500))},beforeDestroy(){window.removeEventListener("resize",this.onResize)},methods:{nextCard(){this.activeCard<this.transporterLength-1?this.activeCard++:this.activeCard=0,this.handleActiveCards()},prevCard(){this.activeCard>0&&this.activeCard--,this.handleActiveCards()},setActive(){},getTransporterLength(){this.transporterLength=this.$refs.transporterWrapper.querySelectorAll(".transporter__card").length},swipeDetection(){this.touchstartX=0,this.touchendX=0;const e=this.$refs.transporter;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(){const e=null!==this.$refs.transporter.closest(".rtl"),t=Math.abs(this.touchendX-this.touchstartX),i=t>30,s=e?this.touchendX>this.touchstartX:this.touchendX<this.touchstartX;i&&(s?this.nextCard():s||this.prevCard())},onResize(){window.innerWidth<=581?this.cardsPerView=2:window.innerWidth>=582&&window.innerWidth<=774?this.cardsPerView=3:(this.cardsPerView=4,this.activeCard=0),this.handleActiveCards()},handleActiveCards(){const e=this.$refs.transporterWrapper.querySelectorAll(".transporter__card");setTimeout(()=>{e.forEach((e,t)=>{const i=this.activeCards.includes(t);i?this.isCardActive(e,!0):this.isCardActive(e,!1)})},200)},isCardActive(e,t){t?e.classList.remove("hidden-slide"):e.classList.add("hidden-slide")},setRoleDescription(){const e=this.$refs.transporterWrapper.querySelectorAll(".transporter__slide");e.forEach(e=>{e.setAttribute("aria-roledescription",this.cardText)})},taggingImpressionHandler(e=400){setTimeout(()=>{(0,m.C)(this.$refs.transporterWrapper,{type:"productImpression",...this.impressionHandlerValue},100)},e)}}},Ge=Xe,Je=(0,re.A)(Ge,Ve,Re,!1,null,null,null),Qe=Je.exports,Ye=function(){var e=this,t=e._self._c;return t("li",{ref:"transporterCard",staticClass:"transporter__card",attrs:{"data-qa":"tpm-card"}},[e._t("default")],2)},Ke=[],Ze={name:"TransporterCard",props:{roleDescriptionText:{type:String,default:"card"}}},et=Ze,tt=(0,re.A)(et,Ye,Ke,!1,null,null,null),it=tt.exports,st=(0,a.fC)({components:{Transporter:Qe,TransporterCard:it}}),rt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"hosted-video__container",attrs:{"data-qa":"hv"},on:{mouseenter:e.playVideoOnHover,mouseleave:e.pauseVideoOnHoverOut}},[t("video",{ref:"videoPlayer",attrs:{poster:e.posterUrl,autoplay:e.accessibilityPlay,loop:e.loop,"data-src":e.sourceUrl,"data-qa":"hv-video",preload:"none",playsinline:""},domProps:{muted:e.muted},on:{ended:function(t){return e.videoOnEnd()}}},[t("source",{attrs:{src:e.sourceUrl,type:"video/mp4"}}),e._v(" "),e.textTranscript?t("track",{attrs:{kind:"captions",title:"Text transcript",href:"#idTranscript"}}
1):e._e()]),e._v(" "),e.textTranscript?t("transcript",{staticClass:"hosted-video__transcript",attrs:{id:"idTranscript"}},[e._v(e._s(e.textTranscript))]):e._e(),e._v(" "),t("button",{attrs:{"data-qa":"hv-button",tabindex:"0","aria-label":e.toggleAriaLabel,role:"button"},on:{click:function(t){return t.preventDefault(),e.togglePlaying.apply(null,arguments)}}},[e.playing?e._t("pause"):e._t("play")],2)],1)},at=[],nt={name:"HostedVideo",directives:{poster:h},props:{autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},muted:{type:Boolean,default:!0},poster:{type:String,default:""},posterMobile:{type:String,default:""},source:{type:String,default:""},sourceMobile:{type:String,default:""},textTranscript:{type:String,default:""},isProductVideoCard:{type:Boolean,default:!1},videoHoverControlsEnabled:{type:Boolean,default:!1},taggingOnVideoEnd:{type:Object,default:()=>({})},toggleAriaLabel:{type:String,default:""}},data(){return{playing:!1,animationEnabled:!!localStorage.accessibility_animations&&JSON.parse(localStorage.accessibility_animations),accessibilityPlay:this.autoplay,sourceUrl:this.source,windowWidth:window.innerWidth,isTaggingSent:!1,prevPlayerTime:0}},computed:{posterUrl(){return this.windowWidth<=768&&this.posterMobile?this.posterMobile:this.poster}},watch:{animationEnabled:{handler(e){if(!this.isProductVideoCard){const t=!!e,i=t?"play":"pause";this.playing=t,this.accessibilityPlay=t,this.$nextTick(()=>this.$refs.videoPlayer[i]())}},immediate:!0}},mounted(){this.$root.$on("animationEnabled",e=>{this.animationEnabled=e}),this.$root.$on("pausePlaying",()=>{this.pausePlaying()}),this.$root.$on("startPlaying",()=>{this.startPlaying()}),window.addEventListener("resize",this.onResize),this.onResize(),this.$refs.videoPlayer.addEventListener("ended",this.sendEndedVideoTagging),this.$refs.videoPlayer.addEventListener("timeupdate",this.sendEndedVideoTaggingOnLoop)},beforeDestroy(){this.$root.$off("animationEnabled"),this.$root.$off("pausePlaying"),this.$root.$off("startPlaying"),window.removeEventListener("resize",this.onResize),this.$refs.videoPlayer.removeEventListener("ended",this.sendEndedVideoTagging),this.$refs.videoPlayer.removeEventListener("timeupdate",this.sendEndedVideoTaggingOnLoop)},methods:{sendEndedVideoTaggingOnLoop(e){if(this.isTaggingSent)return;const t=e.target.currentTime;if(t<this.prevPlayerTime){const e=!!Object.keys(this.taggingOnVideoEnd).length;return e&&l.Xj.pushDataLayer(this.taggingOnVideoEnd),this.$refs.videoPlayer.removeEventListener("timeupdate",this.sendEndedVideoTaggingOnLoop),void(this.isTaggingSent=!0)}this.prevPlayerTime=e.target.currentTime},sendEndedVideoTagging(){if(this.isTaggingSent)return;const e=!!Object.keys(this.taggingOnVideoEnd).length;e&&l.Xj.pushDataLayer(this.taggingOnVideoEnd),this.$refs.videoPlayer.removeEventListener("ended",this.sendEndedVideoTagging),this.isTaggingSent=!0},togglePlaying(){this.playing=!this.playing,this.animationEnabled=!this.animationEnabled,this.playing?this.$root.$emit("startPlaying"):this.$root.$emit("pausePlaying"),this.$root.$emit("togglePlayingVideos",this.playing)},onResize(){this.windowWidth=window.innerWidth;const e=this.sourceUrl;this.windowWidth<=768&&this.sourceMobile?this.sourceUrl=this.sourceMobile:this.sourceUrl=this.source,e!==this.sourceUrl&&this.$refs.videoPlayer.load()},playVideoOnHover(){this.isProductVideoCard&&this.videoHoverControlsEnabled&&this.windowWidth>=768&&(this.playing=!0,this.animationEnabled=!0,this.$refs.videoPlayer.muted=!0,this.$refs.videoPlayer.play())},pauseVideoOnHoverOut(){this.isProductVideoCard&&this.videoHoverControlsEnabled&&this.windowWidth>=768&&(this.playing=!1,this.animationEnabled=!1,this.$refs.videoPlayer.pause())},videoOnEnd:function(){this.isProductVideoCard&&(this.playing=!1)},pausePlaying(){this.playing=!1,this.animationEnabled=!1,this.$refs.videoPlayer.pause()},startPlaying(){this.playing=!0,this.animationEnabled=!0,this.$refs.videoPlayer.play()}}},ot=nt,lt=(0,re.A)(ot,rt,at,!1,null,null,null),ct=lt.exports,dt=(0,a.fC)({components:{HostedVideo:ct}}),ut=i(7830),ht=(0,a.fC)({components:{youtubeVideo:ut.A}}),pt=function(){var e=this,t=e._self._c;return t("button",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeToggle,expression:"closeToggle"}
1],ref:"toggle",staticClass:"toggle",class:{"is-open":e.isOpen,"hidden-visibility":e.applyVisibility&&e.isOpen},attrs:{type:"button",id:e.id,"aria-expanded":e.isOpen?"true":"false"},on:{click:function(t){return t.preventDefault(),e.toggle()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.toggle())},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),e.toggle())}]}},[e._t("title"),e._v(" "),e.isOpen?e._t("collapse"):e._t("expand")],2)},mt=[];const gt={data(){return{bodyTag:document.querySelector("body")}},methods:{preventDefault(e){e.preventDefault()},disableScroll(){this.bodyTag.classList.add("body-hide-overflow")},enableScroll(){this.bodyTag.classList.remove("body-hide-overflow")},removePageScroll(e){e?this.disableScroll():this.enableScroll()}}};var vt={name:"Toggle",directives:{clickOutside:p},mixins:[gt],props:{isBurger:{type:Boolean,default:!1},isFilter:{type:Boolean,default:!1},filterType:{type:String,default:"",required:!1},applyVisibility:{type:Boolean,default:!1,required:!1},id:{type:String,default:"",required:!1},isClickOutside:{type:Boolean,default:!0}},data(){return{isOpen:!1}},mounted(){o.B.$on("hideLanguageToggle",this.closeToggle),o.B.$on("closeFilter",()=>{this.isOpen=!1}),o.B.$on("closeHeaderBurger",()=>{this.isOpen=!1}),this.$root.$on("closeFilter",()=>{this.isOpen=!1}),this.isFilter&&o.B.$on("openFilter",e=>{e===this.filterType&&(this.isOpen=!0)})},beforeDestroy(){o.B.$off("closeFilter"),o.B.$off("openFilter")},methods:{toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.$emit("opened"),this.isBurger&&this.removePageScroll(this.isOpen),o.B.$emit("closeRegionsList")},closeToggle(e){if(!this.isClickOutside)return!1;this.isFilter&&e.target.closest(".product-filter__dropdown")||(this.isOpen=!1)}}},yt=vt,ft=(0,re.A)(yt,pt,mt,!1,null,null,null),bt=ft.exports,wt=(0,a.fC)({components:{toggle:bt}}),At=function(){var e=this,t=e._self._c;return t("button",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeToggle,expression:"closeToggle"}],ref:"toggle",staticClass:"toggle",class:{"is-open":e.isOpen},attrs:{"aria-expanded":e.ariaExpanded}},[e._t("title"),e._v(" "),e.isOpen?e._t("collapse"):e._t("expand")],2)},Ct=[],_t={name:"ToggleA11y",directives:{clickOutside:p},data(){return{isOpen:!1,window:{width:0}}},computed:{ariaExpanded(){return this.isOpen?"true":"false"}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),o.B.$on("hideAccessibilityToggle",this.closeToggle)},created(){window.addEventListener("resize",this.handleResize),this.handleResize()},beforeDestroy(){window.removeEventListener("resize",this.handleResize)},methods:{onResize(){this.$refs.toggle&&this.$refs.toggle.addEventListener("click",this.toggle)},toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.$emit("opened"),o.B.$emit("closeRegionsList")},closeToggle(){this.isOpen=!1},handleResize(){this.window.width=window.innerWidth}}},St=_t,Pt=(0,re.A)(St,At,Ct,!1,null,null,null),Lt=Pt.exports,Tt=(0,a.fC)({components:{toggleA11y:Lt}}),Et=function(){var e=this,t=e._self._c;return t("div",{attrs:{"data-qa":"as"}},[e._t("default",null,{toggleMode:e.toggleSwitcherMode})],2)},kt=[],xt={name:"AccessibilitySwitcher",props:{typeName:{type:String,required:!0},classToAdd:{type:String,default:null}},data(){return{switcherMode:!1,isTaggingOnClick:!1}},computed:{switcherName(){return`accessibility_${this.typeName}`}},mounted(){this.getLocalStorage(),this.setRadioOnMount(),this.toggleAccessibilityBodyClass(),this.isTaggingOnClick=!0},methods:{toggleAccessibilityBodyClass(){"contrast"===this.typeName&&this.switcherMode&&this.classToAdd||"animations"===this.typeName&&!this.switcherMode&&this.classToAdd?document.body.classList.add(this.classToAdd):document.body.classList.remove(this.classToAdd)},setLocalStorage(){localStorage.setItem(this.switcherName,this.switcherMode)},getLocalStorage(){const e={animations:!0,contrast:!1},t=localStorage.getItem(this.switcherName);let i=t?JSON.parse(t):e[this.typeName];this.toggleSwitcherMode(i)},toggleSwitcherMode(e){if(this.switcherMode=e,this.toggleAccessibilityBo
1dyClass(),this.setLocalStorage(),"animations"===this.typeName&&this.$root.$emit("animationEnabled",e),!0===this.isTaggingOnClick){const e=!0===this.switcherMode?"on":"off",t={event:"uaevent",event_name:"use_accessibility",ecommerce:void 0,eventCategory:"popin",eventAction:"select::accessibility",eventLabel:`${this.typeName}::${e}`,accessibility_type:`${this.typeName}`,accessibility_value:`${e}`};l.Xj.pushDataLayer(t)}},setRadioOnMount(){const e=this.$el.querySelectorAll("input");switch(this.switcherMode){case!0:e[0].checked=!0;break;case!1:e[1].checked=!0;break}}}},It=xt,$t=(0,re.A)(It,Et,kt,!1,null,null,null),Ot=$t.exports,Bt=(0,a.fC)({components:{accessibilitySwitcher:Ot}}),Dt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"product-card is-vue",attrs:{"data-tag-wrapper":"","data-qa":"product-card"}},[t("div",{staticClass:"product-card__content",attrs:{"data-tag-product-identifier":""}},[t("div",{staticClass:"product-card__img-wrapper",attrs:{"data-tag-product-position":e.productPosition,"data-tag-product-variant":e.productVariantName,"data-tag-product-price":e.productPrice,"data-tag-product-currency":e.productCurrency,"data-tag-product-name":e.productName,"data-tag-product-id":e.productUniqueNumber,"data-tag-product-list":"list-result-search","data-tag-product-category":e.productCategoryName,"data-tag-product-brand":e.productBrand,"data-tag-product-dimension36":e.productVariantName,"data-tag-product-dimension38":e.productDimension38,"data-tag-product-dimension48":e.productUniqueNumber,"data-tag-product-dimension49":e.productDimension49,"data-tag-product-dimension
159":e.productDimension59}},[e.imageUrl?t("img",{directives:[{name:"srcset",rawName:"v-srcset",value:e.imageUrl,expression:"imageUrl"}],staticClass:"product-card__img",attrs:{src:"",alt:e.imageAltText,"aria-hidden":"true"}}):e._e()]),e._v(" "),e.badgeDetails.isText||e.badgeDetails.isImage?[e.badgeDetails.isImage?t("img",{directives:[{name:"lazy",rawName:"v-lazy"}],staticClass:"card_badge card_badge--new img",attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=","data-lazy":e.badgeDetails.imageUrl,alt:e.badgeDetails.imageAlt,"aria-hidden":"true"}}):e._e(),e._v(" "),e.badgeDetails.title?t("span",{staticClass:"card_badge card_badge--new",style:{color:e.badgeDetails.isWhite?"#FFF":"#000",border:"1px solid "+(e.badgeDetails.border?"#000":"#FFF"),backgroundColor:e.badgeDetails.bgColor}},[e._v("\n "+e._s(e.badgeDetails.title)+"\n ")]):e._e()]:[e.isNewProduct?t("span",{staticClass:"card_badge"},[e._v(e._s(e.newProductLabel))]):e._e()],e._v(" "),e.isShowInlineRating?t("div",{attrs:{"data-bv-show":"inline_rating","data-bv-productId":e.productId,"data-bv-seo":"false"}}
1):e._e(),e._v(" "),e.isParentProductGrid?t("a",{directives:[{name:"tag",rawName:"v-tag:productclick.dom",value:{label:e.productName+"::"+e.productUniqueNumber},expression:"{ label: productName + '::' + productUniqueNumber }",arg:"productclick",modifiers:{dom:!0}}],staticClass:"product-card__name",attrs:{href:e.safeProductUrl},on:{click:function(t){return t.preventDefault(),e.clickHandler.apply(null,arguments)}}},[e._v(e._s(e.productName))]):t("button",{directives:[{name:"tag",rawName:"v-tag:productclick.dom",value:{label:e.productName+"::"+e.productUniqueNumber},expression:"{ label: productName + '::' + productUniqueNumber }",arg:"productclick",modifiers:{dom:!0}}],staticClass:"product-card__name",on:{click:function(t){return t.preventDefault(),e.clickHandler.apply(null,arguments)}}},[e._v("\n "+e._s(e.productName)+"\n ")]),e._v(" "),e.hasShadeBubbles?t("shade-bubbles",{attrs:{shades:e.allShades,"product-url":e.productUrl}}):t("div",{staticClass:"product-card__shades"},[e._v(e._s(e.shadesText))]),e._v(" "),e.productDescription?t("div",{staticClass:"product-card__description"},[t("span",[e._v(e._s(e.productDescription))])]):e._e(),e._v(" "),e.isShowBuyNowBtn||e.isVariant?e._t("redirect-cta",function(){return[t("a",{directives:[{name:"tag",rawName:"v-tag:productclick.dom",value:{label:e.productName+"::"+e.productUniqueNumber},expression:"{ label: productName + '::' + productUniqueNumber }",arg:"productclick",modifiers:{dom:!0}}],staticClass:"btn btn--dark has-text-centered",attrs:{href:e.safeProductUrl}},[t("span",{staticClass:"btn__label"},[e._v(e._s(e.showBuyNowBtnText))]),e._v(" "),t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.productName))])])]}):e._e()],2)])},Nt=[],qt=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"product-selector__items no-event product-card__shades"},[e._l(e.shades.slice(0,4),function(i,s){return t("li",{key:s,staticClass:"product-selector__items__item",style:`--franchise-item-background-color: ${i.ShadeColor}`},[t("button",{staticClass:"product-selector__button",class:{"product-selector__button--gradient":i.ShadeColor},attrs:{"aria-label":i.ShadeName},on:{click:function(t){return t.preventDefault(),e.updateCurrentProduct(i,s)}}})])}),e._v(" "),e.shades.length>4?t("li",{staticClass:"product-selector__items__item product-selector__items__item--shades-count"},[t("a",{staticClass:"product-selector__link",attrs:{href:e.productUrl}},[e._v("+"),4===e.shades.length?t("span",[e._v(e._s(e.shadeCountMobile))]):t("span",[e._v(e._s(e.totalShadesCount))])]),e._v(" "),t("a",{staticClass:"product-selector__link product-selector__link--desktop",attrs:{href:e.productUrl}},[e._v("+"+e._s(e.totalShadesCount))])]):e._e()],2)},Vt=[],Rt={name:"ShadeBubbles",props:{shades:{type:Array,required:!0},productUrl:{type:String,required:!0},productName:{type:String,required:!0},variantEan:{type:String,required:!0}},data(){return{shadeCountMobile:null}},computed:{totalShadesCount(){return this.shades.length-4}},created(){this.shadeCountMobile=this.totalShadesCount+1},methods:{updateCurrentProduct(e,t){this.$emit("shade-select",{product:e,index:t}),globalThis.location=this.productUrl}}},Ft=Rt,Mt=(0,re.A)(Ft,qt,Vt,!1,null,null,null),zt=Mt.exports,Wt={name:"ProductCard",components:{ShadeBubbles:zt},directives:{tag:l.Tc,srcset:Y.hH,lazy:Y.RZ},props:{productPosition:{type:[Number,String],default:void 0},productPrice:{type:String,default:void 0},productCurrency:{type:String,default:void 0},productReferencedName:{type:String,default:void 0},productCategoryName:{type:String,default:void 0},productDescription:{type:String,default:void 0},productBrand:{type:String,default:void 0},productVariantName:{type:String,default:void 0},productUniqueNumber:{type:String,default:void 0},productId:{type:String,default:void 0},productName:{type:String,default:void 0},productUrl:{type:String,required:!0,default:void 0},imageUrl:{type:String,required:!1,default:void 0},imageAltText:{type:String,required:!0,default:void 0},shadesText:{type:String,required:!0,default:void 0},productTagging:{type:Object,default:()=>{}},isNewProduct:{type:Boolean,default:!1},newProductLabel:{type:String,default:"NEW"},isParentProductGrid:{type:Boolean,default:!1},isVariant:{type:Boolean,default:!1},productDimension38:{type:String,default:"none"},productDimension49:{type:String,default:"not present"}
1,productDimension59:{type:String,default:"none"},badgeInfo:{type:Object,default:()=>{}},allShades:{type:Array,default:()=>[]}},computed:{isShowBuyNowBtn(){const e=this.$store.getters.getProductCTAInfo;return e.BuyNowSetting},showBuyNowBtnText(){const e=this.$store.getters.getProductCTAInfo;return e.BuyNowButton},isShowInlineRating(){const e=this.$store.getters.getBVInlineRating;return e&&this.productId},safeProductUrl(){return this.productUrl?.startsWith("/")?this.productUrl:"#"},hasShadeBubbles(){return Array.isArray(this.allShades)&&this.allShades.length>0},badgeDetails(){const e=this.badgeInfo,t=Array.isArray(e)?{}:e;return{isImage:this.getBadgeValue(t?.isImageBadge,!1),isText:this.getBadgeValue(t?.isTextBadge,!1),imageUrl:this.getBadgeValue(t?.imageUrl,""),imageAlt:this.getBadgeValue(t?.imageAlt,""),title:this.getBadgeValue(t?.title,""),isWhite:this.getBadgeValue(t?.isWhiteTitle,!1),bgColor:this.getBadgeValue(t?.backgroundColor,""),border:this.getBadgeValue(t?.isBlackBorder,!1)}}},methods:{getBadgeValue(e,t){return null==e?t:void 0===e.Value?e:e.Value},clickHandler(){const e={...this.productTagging};if(Object.keys(e).length&&l.Xj.pushDataLayer(e),window.gsqEnable){const e=this.$store.getters.getSearchQuery;window._gsq.push(["trackSearchDetail",{key_word:e.toLowerCase(),key_word_type:"search",key_word_classify:"makeup",position_number:this.productPosition,product_id:this.productUniqueNumber,product_name:this.productName.toLowerCase()},{pro_sku:this.productUniqueNumber,referral_url:document.referrer||"none"}])}setTimeout(()=>{window.open(this.safeProductUrl,"_self")},500)}}},jt=Wt,Ht=(0,re.A)(jt,Dt,Nt,!1,null,null,null),Ut=Ht.exports,Xt=(0,a.fC)({components:{ProductCard:Ut}}),Gt=(0,a.fC)({components:{ShadeBubbles:zt}}),Jt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"header-scripts",attrs:{"data-qa":"header-scripts"}})},Qt=[];const Yt="aria-expanded",Kt="aria-hidden",Zt="Space",ei="Enter",ti="Escape",ii="Tab",si="sms:",ri="mailto:",ai="tel:",ni="https://",oi="/page-load/",li=()=>document.getElementById("header"),ci=()=>document.querySelectorAll(".nav__l1"),di={1:{event:"updatevirtualpath",virtualPageTitle:oi,cta_name:void 0,eventLabel:void 0},2:{event:"updatevirtualpath",virtualPageTitle:"/step-B/"},3:{event:"updatevirtualpath",virtualPageTitle:"/step-R/"},4:{event:"updatevirtualpath",virtualPageTitle:"/step-A/"},5:{event:"updatevirtualpath",virtualPageTitle:"/training-complete/"},6:{event:"uaevent",event_name:"body_button_click",ecommerce:void 0,eventCategory:window?.wsf?.PageLevelProperty?.pageCategory,eventAction:"select::NGO CTA",link_url:"none",module_name:"NGO CTA"},7:{event:"uaevent",event_name:"body_button_click",ecommerce:void 0,eventCategory:window?.wsf?.PageLevelProperty?.pageCategory,eventAction:"select::Brave Talk Training",module_name:"Brave Talk Training"},8:{event:"uaevent",event_name:"body_button_click",ecommerce:void 0,eventCategory:window?.wsf?.PageLevelProperty?.pageCategory,eventAction:"select::brave talk training social sharing",eventLabel:`share::${window.location.href}`,module_name:"brave talk training social sharing",cta_name:"share",link_url:window.location.href}};var ui={name:"HeaderScripts",mixins:[gt],props:{hasBanner:{type:Boolean,default:!1},bannerDesktopWidth:{type:Number,default:null},bannerDesktopHeight:{type:Number,default:null},bannerMobileWidth:{type:Number,default:null},bannerMobileHeight:{type:Number,default:null}},data(){return{openedTabs:[],windowWidth:window.innerWidth,windowScale:window.devicePixelRatio,bannerWidth:null,bannerHeight:null,containerDivPadding:null}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),window.addEventListener("resize",this.setBannerDimensions),this.setBannerDimensions(),this.toggleNavItemsClass(),this.toggleBannerStyles(),this.checkSecondLineLabel(),this.windowWidth>=1023&&(this.addMenuScrollBehavior(),this.manipulateNavItemsByKeyboard(),this.accessibilityUsageByKeyboard());const e=new ResizeObserver(()=>{document.body.scrollHeight<=this.windowWidth&&(li().style.top="0")});e.observe(document.body);const t=document.getElementById("header__language");t&&t.addEventListener("click",this.hideAccessibilityToggle),document.getElementById("section-accessibility")?.addEventListener("click",this.hideLanguageToggle),document.getElementById("header-back-btn")?.addEventListener("click",this.backToPrimaryMenu),document.getElementById("burger")?.addEventListener("click",()=>this.closeMobileMenu()),document.querySelector(".header__search-cta")?.addEventListener("click",()=>{this.removeSessionFilterCategory()}),this.$nextTick(()=>{this.addMessageEvent()})},beforeDestroy(){window.removeEventListener("resize",this.setBannerDimensions),window.removeEventListener("message",this.handleJellyFishEvents)},methods:{addMessageEvent(){document.getElementsByTagName("iframe")[0]&&window.addEventListener("message",this.handleJellyFishEvents)},handleJellyFishEvents(e){const{eventId:t,button:i,url:s,fromLmsContent:r}=e.data;if(!t||!r)return!1;const a=di[+t];return 7===t?(this.applyJellyFishEvent7Data(a,i,s),l.Xj.pushDataLayer(a),!0):1!==t?6===t?(a.eventLabel=i,a.cta_name=i,void this.checkCtaType(s,a)):(l.Xj.pushDataLayer(a),!0):void this.handleJellyFishEvent1(a)},applyJellyFishEvent7Data(e,t,i){e.eventLabel=`${t}::${i}`,e.cta_name=t,e.link_url=i,setTimeout(()=>window.open(i,"_self"),300)},handleJellyFishEvent1(e){new Promise(e=>{const t=window.dataLayer.push;window.dataLayer.push=function(i){t.call(window.dataLayer,i),"gtm.load"===i.event&&(window.dataLayer.push=t,e(i))}}).then(()=>
1{if(e.virtualPageTitle===oi&&"updatevirtualpath"===e.event){const e=window.dataLayer;if(e.some(e=>e.virtualPageTitle===oi))return}return l.Xj.pushDataLayer(e),!0}).catch({})},checkCtaType(e,t){if(e.includes(si))return this.setSmsRedirect(e,t),!0;if(e.includes(ri)){const i=e.split(ri)[1],s={...t,eventLabel:`${t.eventLabel}::${i}`};l.Xj.pushDataLayer(s),setTimeout(()=>(window.open(e),!0),300)}if(e.includes(ai)){const i=e.split(ai)[1],s={...t,eventLabel:`${t.eventLabel}::${i}`};l.Xj.pushDataLayer(s),setTimeout(()=>(window.open(e),!0),300)}if(e.includes(ni)){const i={...t,eventLabel:`${t.eventLabel}::${e}`,link_url:e};l.Xj.pushDataLayer(i),setTimeout(()=>(window.open(e),!0),300)}},setSmsRedirect(e,t){const i="body=",s=e.substring(e.indexOf(si)+si.length,e.lastIndexOf("?&")),r=e.substring(e.indexOf(i)+i.length),a={...t,eventLabel:`${t.eventLabel}::${r}`};l.Xj.pushDataLayer(a),setTimeout(()=>{navigator.userAgent.match(/Android/i)&&window.open(`sms://${s}/?body=${r}`,"_self"),navigator.userAgent.match(/iPhone/i)&&window.open(`sms://${s}/&body=${r}`,"_self")},300)},checkSecondLineLabel(){const e=Array.from(ci()).filter(e=>e.offsetHeight>50),t=document.querySelector(".nav_list");e.length?t.classList.add("nav_list--small"):t.classList.remove("nav_list--small")},adjustMainContainerToHeaderHeight(){const e=document.documentElement,t=document.querySelector("header")?.offsetHeight;e.style.setProperty("--header-height",t+"px")},onResize(){this.windowWidth=window.innerWidth,this.windowScale=window.devicePixelRatio,this.windowScale>=1.5&&this.windowWidth<2048?li().classList.add("scaled"):li().classList.remove("scaled"),this.adjustMainContainerToHeaderHeight(),this.windowWidth<=1024&&(this.closeMobileMenu(!0),o.B.$emit("closeHeaderBurger"),document.querySelector(".header-actions").classList.remove("show-actions"),this.removePageScroll(!1),document.body.classList.remove("navmenu_open"))},sendProductImpressionEvent(){setTimeout(()=>{(0,m.C)(li(),{type:"productImpression"})},100)},backToPrimaryMenu(){const e=document.querySelector(".nav_button.is-open"),t=document.querySelector(".header.menu-open");e&&e.classList.remove("is-open"),t&&t.classList.remove("menu-open"),this.toggleClassPrimaryMenu("remove")},removeRegionActiveClass(){const e=document.querySelectorAll(".crs-region-list .crs-content-item");Array.from(e).forEach(e=>{const t=e.querySelector(".crs-region-mobile-label");t?.classList?.contains("active")&&t.classList.remove("active")})},closeMobileMenu(e=!1){!e&&this.windowWidth<=1023&&(document.body.classList.toggle("navmenu_open"),document.querySelector(".header-actions.mobile-only").classList.toggle("show-actions"),o.B.$emit("closeRegionsList")),this.removeActiveMenuClass(),this.removeActiveClass(),this.removeRegionActiveClass();const t=document.querySelector(".header");t.classList.toggle("open"),document.body.classList.remove("fixed"),document.body.classList.remove("crs-open")},toggleBannerStyles(){if(this.hasBanner){document.querySelector(".header").classList.add("header--hasBanner");const e=document.querySelector(".container"),t=document.querySelector(".header__yieldifyBanner");e.style.paddingTop=this.containerDivPadding+"px",t.style.width=this.bannerWidth+"px",t.style.height=this.bannerHeight+"px"}},setBannerDimensions(){if(window.innerWidth>=768){const e=115;this.bannerWidth=0!=this.bannerDesktopWidth?this.bannerDesktopWidth:"",this.bannerHeight=0!=this.bannerDesktopHeight?this.bannerDesktopHeight:49,this.containerDivPadding=this.bannerHeight+e}else{const e=60;this.bannerWidth=0!=this.bannerMobileWidth?this.bannerMobileWidth:"",this.bannerHeight=0!=this.bannerMobileHeight?this.bannerMobileHeight:72,this.containerDivPadding=this.bannerHeight+e-1}},hideAccessibilityToggle(){o.B.$emit("hideAccessibilityToggle")},hideLanguageToggle(){o.B.$emit("hideLanguageToggle")},addMenuScrollBehavior(){let e,t=!1,i=window.scrollY;const s=()=>{const e=window.scrollY;e>0&&(i>e?li().classList.remove("offset"):li().classList.add("offset"),i=e)};window.onscroll=()=>{t||(t=!0,clearTimeout(e),s(),setTimeout(()=>{t=!1},100),e=setTimeout(()=>{s()},200))}},removeActiveClass(){const e=document.querySelectorAll(".nav_button.is-open");
1e&&e.forEach(e=>{e.classList.remove("is-open"),e.setAttribute(Yt,"false"),this.toggleAriaHidden(e,"true"),this.toggleClassPrimaryMenu("remove")})},removeActiveMenuClass(){document.querySelector(".header")?.classList.remove("menu-open")},addActiveMenuClass(e=0){document.querySelector(".header")?.classList.add("menu-open"),this.openedTabs.includes(e)||(this.openedTabs.push(e),this.sendProductImpressionEvent())},toggleElementClass(e){const t=e.classList.contains("is-open");this.removeActiveClass(),t?this.removeActiveMenuClass():this.makeActiveMenu(e)},toggleAriaHidden(e,t){const i=e.getAttribute("aria-controls");if(i){const e=document.getElementById(i);e&&(e.setAttribute(Kt,t),"true"===t?e.setAttribute("hidden",""):e.removeAttribute("hidden"))}},toggleClassPrimaryMenu(e){const t=document.getElementById("nav_list");if(t)switch(e){case"add":t.classList.add("fixed");break;case"remove":t.classList.remove("fixed");break}},makeActiveMenu(e,t=0){e&&!e.classList.contains("is-open")&&(e.classList.add("is-open"),e.setAttribute(Yt,"true"),this.toggleAriaHidden(e,"false"),this.addActiveMenuClass(t))},manipulateNavItemsByKeyboard(){const e=document.querySelectorAll(".drop_link"),t=document.querySelectorAll("button.nav_toggle, button.nav_button");t.length&&t.forEach(e=>{e.addEventListener("keydown",t=>{if(t.code===ei||t.code===Zt){t.preventDefault(),t.stopPropagation(),this.toggleElementClass(e);const i=e.closest(".drop_link");i&&this.loadLazyImages(i)}})}),e.length&&e.forEach(e=>{const t=e.dataset.id;e.addEventListener("focusin",()=>{const i=e.querySelector("button.nav_toggle, button.nav_button, a.nav_button");i&&this.makeActiveMenu(i,t),this.loadLazyImages(e)}),e.addEventListener("focusout",t=>{e.contains(t.relatedTarget)||(this.removeActiveClass(),this.removeActiveMenuClass())}),e.addEventListener("keydown",t=>{if(t.code===ti){const t=e.querySelector("button.nav_toggle, button.nav_button, a.nav_button");this.removeActiveClass(),this.removeActiveMenuClass(),t&&t.focus()}})})},toggleNavItemsClass(){const e="button.nav_toggle, button.nav_button",t=document.querySelectorAll(e),i=document.querySelectorAll(".drop_link");document.getElementById("nav_list")?.addEventListener("click",e=>e.stopPropagation()),t.length&&t.forEach(e=>{e.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation(),this.toggleElementClass(e);const i=e.closest(".drop_link");i&&this.loadLazyImages(i)})}),i.length&&this.windowWidth>1023&&i.forEach(t=>{const i=t.dataset.id;t.addEventListener("mouseover",()=>{document.body.style.cursor="initial";const s=t.querySelector(e);s&&this.makeActiveMenu(s,i),this.loadLazyImages(t)}),t.addEventListener("mouseleave",()=>{this.closeMobileMenu()})})},loadLazyImages(e){if(!e)return!1;const t=e.querySelectorAll(".header__lazy-image.to-load");t.forEach(e=>{e.setAttribute("src",e.dataset.lazysrc),e.classList.remove("to-load")})},accessibilityUsageByKeyboard(){const e=document.querySelectorAll(".header-actions li");if(document.getElementById("nav_list").addEventListener("keyup",()=>{this.hideAccessibilityToggle()}),!e.length)return!1;const t=["header__language","a11y-contrast-on","a11y-animations-on","a11y-animations-off","section-accessibility"];let i;e.forEach(e=>{e.addEventListener("keyup",e=>{i=e.target.id,e.code===ii&&this.closeMobileMenu(),t.includes(i)&&e.code===ti&&(e.target.classList.remove("is-open"),e.target.setAttribute(Yt,"false"),"section-accessibility"==t?this.hideLanguageToggle():this.hideAccessibilityToggle())})})},removeSessionFilterCategory(){sessionStorage.setItem("appliedFilters",'{"category":{},"type":[],"other":[]}')}}},hi=ui,pi=(0,re.A)(hi,Jt,Qt,!1,null,null,null),mi=pi.exports,gi=(0,a.fC)({components:{HeaderScripts:mi}}),vi=function(){var e=this,t=e._self._c;return t("div",{class:e.wrapperClass,attrs:{"data-qa":"country-region-selector"}},[t("button",{staticClass:"crs-show-modal",on:{click:e.toggleModal}},[e._t("current-lang")],2),e._v(" "),t("Transition",{attrs:{name:"fade-from-bottom"}},[e.modalIsShown?t("div",{staticClass:"crs-wrapper",attrs:{role:"dialog","aria-labelledby":"dialog-message-title"}},[e._t("title"),e._v(" "),e._t("crs-country-list",null,{switchTab:e.switchTab}),e._v(" "),t("div",{staticClass:"crs-content"},[e._t("crs-region-list")],2),e._v(" "),t("button",{staticClass:"crs-close-button",attrs:{role:"img","aria-label":e.closeAriaLabel},on:{click:e.hideModal}},[t("svg",{staticClass:"icon icon--close",attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-close",href:"#icon-close"}})])])],2):e._e()])],1)},yi=[],fi={name:"CountryRegionSelector",props:{closeAriaLabel:{type:String,default:""}},data(){return{modalIsShown:!1}},computed:{wrapperClass(){return this.modalIsShown?"crs-component open":"crs-component"}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),o.B.$on("closeRegionsList",()=>{this.hideModal()})},updated(){this.addIdAttribute()},beforeDestroy(){document.removeEventListener("keydown",this.addFocusToCountryList)},methods:{toggleModal(){this.modalIsShown?this.hideModal():this.showModal()},showModal(){this.modalIsShown=!0,document.body.classList.add("fixed"),document.body.classList.add("crs-open"),this.onResize()},addIdAttribute(){const e=document.querySelector(".crs-title"),t=document.querySelector(".crs-close-button");e&&e.setAttribute("id","dialog-message-title"),t&&t.addEventListener("keydown",this.addFocusToCountryList)},addFocusToCountryList(e){const t=document.querySelector(".crs-countries-list");t.setAttribute("id","Countrylist"),t.setAttribute("tabindex","-1"),9===e.keyCode&&document.getElementById("Countrylist").focus()},hideModal(){this.modalIsShown=!1,document.body.classList.remove("fixed"),document.body.classList.remove("crs-open")},onResize(){this.$nextTick(()=>{this.addSwitchTabEvent(),this.setLayoutColumns()})},addSwitchTabEvent(){const e=document.querySelectorAll(".crs-tab-switcher");
1e.length&&e.forEach(e=>{e.addEventListener("click",this.switchTab)});const t=document.querySelectorAll(".crs-region-mobile-label");if(t.length&&t.forEach(e=>{e.addEventListener("click",this.switchMobileDropdown)}),window.screen.width<768){const e=document.querySelector(".crs-title-wrapper");e&&e.addEventListener("click",this.hideModal)}},switchTab(e){const t=e.target.dataset.target,i=document.querySelector(".crs-tab-switcher.active");i&&i.classList.remove("active"),e.target.classList.add("active");const s=document.querySelector(".crs-content-item.active");if(s&&s.classList.remove("active"),t){const e=document.querySelector(`.crs-content-item[data-tab='${t}']`);e&&e.classList.add("active")}},switchMobileDropdown(e){if(e.target.classList.contains("active"))e.target.classList.remove("active");else{const t=document.querySelectorAll(".crs-region-mobile-label.active");t.forEach(e=>{e.classList.remove("active")}),e.target.classList.add("active")}},setLayoutColumns(){const e=document.querySelectorAll(".crs-content-item");e.forEach(e=>{const t=e.querySelectorAll(".crs-zone");if(t.length&&t.forEach(e=>{const t=e.querySelectorAll(".crs-region-item");this.addOrRemoveClassColumns(t.length,e)}),!t.length){const t=e.querySelector(".crs-region"),i=t.querySelectorAll(".crs-region-item");this.addOrRemoveClassColumns(i.length,t)}})},addOrRemoveClassColumns(e,t){e>8&&e<17?t.classList.add("two-columns"):e>16?t.classList.add("three-columns"):(t.classList.remove("two-columns"),t.classList.remove("three-columns"))}}},bi=fi,wi=(0,re.A)(bi,vi,yi,!1,null,null,null),Ai=wi.exports,Ci=(0,a.fC)({components:{CountryRegionSelector:Ai}}),_i=function(){var e=this,t=e._self._c;return t("div",{ref:"videoPlayerWrapper",class:["card-entry-module card-entry-module-"+e.videoId,{"with-video":Boolean(e.videoId)},e.videoPopupEnabled?"-videoPopupEnabled":""],attrs:{"data-qa":"card-entry-module"},on:{mouseenter:e.playVideoOnHover,mouseleave:e.pauseVideoOnHover,mouseover:e.initializePlayer}},[e._t("content-label"),e._v(" "),e._t("logo"),e._v(" "),e.videoId&&!e.videoPopupEnabled?t("div",{staticClass:"blocker-overlay",on:{click:e.playerClickHandler}}
1):e._e(),e._v(" "),e.videoId&&!e.videoPopupEnabled?t("youtube-video",{ref:"videoPlayer",staticClass:"card-entry-module__video",attrs:{"video-id":e.videoId,"is-show-play-button":!1,"disable-kb":1,"is-related-pause":!e.isAutoplay,"iframe-label":e.iframeLabel,"modest-branding":0},on:{onPlayerInit:e.playerInitHandler},scopedSlots:e._u([{key:"poster",fn:function(){return[t("picture",{staticClass:"card-entry__picture",attrs:{"data-qa":"card-entry-pic"}},[t("source",{attrs:{media:"(min-width: 1024px)",srcset:e.coverImage}}),e._v(" "),t("source",{attrs:{media:"(min-width: 767px)",srcset:e.coverImage}}),e._v(" "),t("source",{attrs:{srcset:e.mobileImageAsset}}),e._v(" "),t("img",{directives:[{name:"lazy",rawName:"v-lazy"}],attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=","aria-hidden":"true","data-lazy":e.mobileImageAsset,alt:e.coverImageAlt}})])]},proxy:!0}],null,!1,3470375936)}):e._e(),e._v(" "),e.videoId&&!e.videoPopupEnabled?t("button",{staticClass:"card-entry__play_button",attrs:{"data-qa":"yp-trigger","aria-label":e.buttonAriaLabel},on:{"~keydown":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.playerKeyboardInit.apply(null,arguments)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleKeyboardPress.apply(null,arguments)},click:function(t){return t.stopPropagation(),t.preventDefault(),e.togglePlayState.apply(null,arguments)}}},[!e.playerState||1!==e.playerState&&-1!==e.playerState?t("svg",{staticClass:"icon icon--pause",attrs:{viewBox:"0 0 60 60","aria-hidden":"true",width:"60",height:"60"}},[t("path",{attrs:{d:"M30,0c16.6,0,30,13.4,30,30S46.6,60,30,60S0,46.6,0,30S13.4,0,30,0z"}}),e._v(" "),t("path",{attrs:{d:"M23,18h5v24h-5V18z M33,18h5v24h-5V18z"}})]):t("svg",{staticClass:"icon icon--play",attrs:{viewBox:"0 0 60 60","aria-hidden":"true",width:"60",height:"60"}},[t("path",{attrs:{d:"M30,0c16.6,0,30,13.4,30,30S46.6,60,30,60S0,46.6,0,30S13.4,0,30,0z"}}),e._v(" "),t("path",{attrs:{d:"M40,29.5L23,41V18L40,29.5z"}})])]):e._e(),e._v(" "),!e.videoId||e.videoPopupEnabled?t("picture",{staticClass:"card-entry__picture",attrs:{"data-qa":"card-entry-pic"}},[t("source",{attrs:{media:"(min-width: 1024px)","data-srcset":e.coverImage}}),e._v(" "),t("source",{attrs:{media:"(min-width: 767px)","data-srcset":e.coverImage}}),e._v(" "),t("source",{attrs:{"data-srcset":e.mobileImageAsset}}),e._v(" "),t("img",{directives:[{name:"lazy",rawName:"v-lazy"}],staticClass:"eager",attrs:{"aria-hidden":"true",src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=","data-lazy":e.mobileImageAsset,alt:e.coverImageAlt}})]):e._e(),e._v(" "),e.videoId&&e.videoPopupEnabled?t("button",{staticClass:"card-entry__play_button",attrs:{"data-qa":"yp-trigger","aria-label":e.buttonAriaLabel},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.openVideoPopup(e.videoId,e.iframeLabel)}}},[t("svg",{staticClass:"icon icon--play",attrs:{width:"61",height:"60",viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("rect",{attrs:{x:"1.5",y:"1",width:"58",height:"58",rx:"29",fill:"black","fill-opacity":"0.2"}}),e._v(" "),t("rect",{attrs:{x:"1.5",y:"1",width:"58",height:"58",rx:"29",stroke:"white","stroke-width":"2"}}),e._v(" "),t("path",{attrs:{d:"M43.25 30L23.75 18V42L43.25 30Z",fill:"white"}})])]):e._e()],2)},Si=[];const Pi=".card-entry-module-wrapper",Li=".card-entry-module-wrapper.active",Ti=".with-video",Ei=".card-entry-carousel",ki=window.matchMedia("(max-width: 768px)").matches,xi=window.matchMedia("(prefers-reduced-motion: reduce)").matches;var Ii={name:"CardEntryModule",components:{YoutubeVideo:ut.A},props:{videoId:{type:String,default:""},coverImage:{type:String,default:""},mobileCoverImage:{type:String,default:""},playLabel:{type:String,default:""},pauseLabel:{type:String,default:""},coverImageAlt:{type:String,default:""},iframeLabel:{type:String,default:""},videoPopupEnabled:{type:Boolean,default:!1},videoAutoplayMobile:{type:Boolean,default:!0},videoAutoplay:{type:Boolean,default:!1}},data(){return{playerState:1,hoverControlsEnabled:!0,playerCreated:!1,videoPopupOpen:!1,popupId:"entry-card-popup",active:!1,isPausedByUser:!1,isPausedByAutoPlay:!1}
1},computed:{buttonAriaLabel(){return 1===this.playerState||-1===this.playerState?this.playLabel:this.pauseLabel},mobileImageAsset(){return this.mobileCoverImage||this.coverImage},isAutoplay(){return this.videoAutoplay||this.videoAutoplayMobile&&ki},isCarouselCard(){let e=this.$refs.videoPlayerWrapper?.closest(Ei);return!!e}},mounted(){o.B.$on("crs-pause-video",this.pauseVideoOnHover),(0,d.YJ)(this.$refs.videoPlayerWrapper).then(()=>{let e=this.isCarouselCard&&ki;e?(this.checkElVisible(),o.B.$on("setActiveCard",this.carouselCardActive)):this.handleAutoplayVideo()})},methods:{handleAutoplayVideo(){xi||(ki&&this.videoAutoplayMobile&&(this.handleAutoplayControls(),this.checkElVisible()),!ki&&this.videoAutoplay&&this.handleAutoplayControls())},handleAutoplayControls(){this.$refs.videoPlayer&&(this.hoverControlsEnabled=!1,this.$refs.videoPlayer.initialisePlayer(),this.updatePlayerState(),this.playerCreated=!0)},handleAutoPause(){let e=!this.isPausedByUser&&1!=this.playerState;e&&this.$refs.videoPlayer&&!xi&&(this.$refs.videoPlayer.pauseVideo(),this.updatePlayerState(),this.removeActiveClassToParentCard(),this.hideVideoContent(),this.isPausedByAutoPlay=!0)},checkElVisible(){let e=this.isCarouselCard&&ki,t=new IntersectionObserver(t=>{t.forEach(t=>{if(e)t.isIntersecting&&this.carouselCardActive();else{let e=!t.isIntersecting;this.handleSingleCardAutoPlay(e)}})});t.observe(this.$refs.videoPlayerWrapper)},handleSingleCardAutoPlay(e){e?this.handleAutoPause():2!=this.playerState&&this.isPausedByAutoPlay&&setTimeout(()=>{this.playerClickHandler(),this.isPausedByAutoPlay=!1},300)},carouselCardActive(){if(this.videoAutoplayMobile){let e=this.$refs.videoPlayerWrapper?.closest(Li),t=e?.querySelector(Ti);this.active=!!e,null!==t&&this.carouselCardPlayerAutoPlay(this.active)}},carouselCardPlayerAutoPlay(e){let t=e&&!this.playerCreated,i=e&&this.playerCreated&&this.isPausedByAutoPlay;t?this.handleAutoplayVideo():this.handleAutoPause(),i&&2!=this.playerState&&setTimeout(()=>{this.playerClickHandler(),this.isPausedByAutoPlay=!1},300)},playerClickHandler(){this.updatePlayerState(),1===this.playerState?(this.$refs.videoPlayer.pauseVideo(),this.addActiveClassToParentCard(),this.isPausedByUser=!0):2===this.playerState&&(this.$refs.videoPlayer.playVideo(),this.removeActiveClassToParentCard())},initializePlayer(){const e=!!localStorage.accessibility_animations&&JSON.parse(localStorage.accessibility_animations);if(!e||!this.videoId||this.videoPopupEnabled)return!1;this.playerCreated||(this.$refs.videoPlayer.initialisePlayer(),this.updatePlayerState(),this.playerCreated=!0)},playVideoOnHover(){const e=!!localStorage.accessibility_animations&&JSON.parse(localStorage.accessibility_animations);if(!e||!this.videoId)return!1;this.hoverControlsEnabled&&!this.videoPopupEnabled&&(this.$refs.videoPlayer.playVideo(),this.updatePlayerState(),this.showVideoContent())},pauseVideoOnHover(){const e=!!localStorage.accessibility_animations&&JSON.parse(localStorage.accessibility_animations);if(!e||!this.videoId)return!1;this.hoverControlsEnabled&&!this.videoPopupEnabled&&(this.$refs.videoPlayer.pauseVideo(),this.updatePlayerState(),this.removeActiveClassToParentCard(),this.hideVideoContent())},addActiveClassToParentCard(){const e=this.$refs.videoPlayerWrapper?.closest(Pi);e&&e.classList.add("video-active")},removeActiveClassToParentCard(){const e=this.$refs.videoPlayerWrapper?.closest(".card-entry-module-wrapper.video-active");e&&e.classList.remove("video-active")},playerInitHandler(){const e=document.querySelector(`.card-entry-module-${this.videoId}`);e&&e.classList.add("video-initialized"),this.playerState=2},updatePlayerState(){this.playerState=this.$refs.videoPlayer.getPlayerStateHandler()||1},togglePlayState(){this.$refs.videoPlayer.getPlayerStateHandler()||this.playerCreated||(this.$refs.videoPlayer.initialisePlayer(),this.updatePlayerState(),this.playerCreated=!0),1===this.playerState||-1===this.playerState?(this.$refs.videoPlayer.playVideo(),this.updatePlayerState(),this.hoverControlsEnabled=!0,this.addActiveClassToParentCard(),this.showVideoContent()):(this.$refs.videoPlayer.pauseVideo(),this.updatePlayerState(),this.hoverControlsEnabled=!1,this.removeActiveClassToParentCard(),this.hideVideoContent())},showVideoContent(){this.$refs.videoPlayerWrapper?.closest(Pi)?.classList.add("video-state-actives")},hideVideoContent(){this.$refs.videoPlayerWrapper?.closest(Pi)?.classList.remove("video-state-actives")},playerKeyboardInit(){this.initializePlayer()},handleKeyboardPress(){this.$refs.videoPlayer.pauseVideo()},openVideoPopup(e,t){o.B.$emit(`youtube-video-popup-open:${this.popupId}`,e,t)}}},$i=Ii,Oi=(0,re.A)($i,_i,Si,!1,null,null,null),Bi=Oi.exports,Di=function(){var e=this,t=e._self._c;
1return t("div",{staticClass:"card-entry-module__modal"},[t("simple-popup",{attrs:{open:e.videoPopupOpen}},[t("template",{slot:"heading"},[t("button",{staticClass:"card-entry-module__modal-close",attrs:{"aria-label":e.closePopupLabel},on:{click:e.closeVideoPopup}},[t("svg",{staticClass:"icon",attrs:{"aria-hidden":"true"}},[t("path",{attrs:{d:"M15.8936 17.4208L20.7903 22.3175L15.8966 27.2111L17.4171 28.7315L22.3107 23.8379L27.2073 28.7345L28.7338 27.2081L23.8371 22.3114L28.7308 17.4178L27.2104 15.8974L22.3167 20.791L17.4201 15.8944L15.8936 17.4208Z",fill:"black"}})])])]),e._v(" "),t("div",{on:{mouseenter:e.playVideo}},[t("youtube-video",{ref:"videoPlayerVideoPopup",staticClass:"card-entry-module__video",attrs:{"video-id":e.videoId,"is-show-play-button":!0,"iframe-label":e.iframeLabel,"modest-branding":0,"is-controls":1}})],1)],2)],1)},Ni=[],qi=i(7551),Vi={name:"CardEntryVideoPopup",components:{SimplePopup:qi.A,YoutubeVideo:ut.A},props:{closePopupLabel:{type:String,default:""}},data(){return{videoPopupOpen:!1,videoId:null,iframeLabel:"",popupId:"entry-card-popup"}},mounted(){o.B.$on(`youtube-video-popup-open:${this.popupId}`,(e,t)=>{this.videoPopupOpen=!0,this.videoId=e,this.iframeLabel=t})},beforeDestroy(){o.B.$off(`youtube-video-popup-open:${this.popupId}`)},methods:{closeVideoPopup(){this.videoPopupOpen=!1},playVideo(){this.videoId&&this.videoPopupOpen&&this.$refs.videoPlayerVideoPopup.initialisePlayer()}}},Ri=Vi,Fi=(0,re.A)(Ri,Di,Ni,!1,null,null,null),Mi=Fi.exports,zi=(0,a.fC)({components:{CardEntryModule:Bi,CardEntryVideoPopup:Mi}}),Wi=function(){var e=this,t=e._self._c;return e.loaded?t("div",[e._t("default")],2):e._e()},ji=[],Hi=i(5807);window.$INJECTED_URLS={};var Ui={hasScript(e){return window.$INJECTED_URLS[e]},injectScript(e,t={}){if(!this.hasScript(e)){const i=document.createElement("script"),s=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),s.appendChild(i)}),window.$INJECTED_URLS[e]}return Promise.resolve().then(()=>window.$INJECTED_URLS[e])}},Xi={name:"LoadScript",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&&!Ui.hasScript(this.src)?Ui.injectScript(this.src,{async:this.async,integrity:this.integrity,crossorigin:this.crossorigin,...this.attributes||{}}).then(()=>{this.loaded=!0,this.$emit("loaded"),this.name&&Hi.B.$emit(`script.loaded.${this.name}`,{name:this.name,url:this.src})}):Ui.hasScript(this.src)&&(this.$emit("loaded"),Hi.B.$emit(`script.loaded.${this.name}`,{name:this.name,url:this.src}))}},Gi=Xi,Ji=(0,re.A)(Gi,Wi,ji,!1,null,null,null),Qi=Ji.exports,Yi=(0,a.fC)({components:{LoadScript:Qi}}),Ki=function(){var e=this,t=e._self._c;return t("div",{class:["card-entry-carousel",{"carousel-view":e.isCarouselView},{"desktop-carousel":e.isShowDesktopCarousel,columns:!e.isDesktopCarousel,"one-row-col":e.cardsAmount<=2,scrolled:e.isScrolled}],attrs:{"data-qa":"card-entry-carousel",role:"group","aria-roledescription":"carousel"}},[t("div",{ref:"cardsWrapper",staticClass:"card-entry-carousel-slides"},[e._t("default")],2),e._v(" "),e.isCarouselView&&e.cardsAmount>1?t("div",{staticClass:"carousel-nav_wrapper"},[e.isCarouselView&&e.activeCard>0?t("button",{staticClass:"card-entry-nav prev",on:{click:e.goPrev}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.navPrevAltText,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-chevron",href:"#icon-chevron"}})])]):e._e(),e._v(" "),t("div",{staticClass:"card-entry__pagination"},[t("pagination",{attrs:{"go-to-slide-aria-label":e.goToSlideAriaLabel,"pagination-items":e.windowWidth>768?e.fullIntervals+1:e.fullIntervals,"current-page":e.activeCard,"is-paused":!1,"is-animation-enabled":!1},on:{selectPagination:e.scrollToSlide,isPausedCarousel:()=>null}})],1),e._v(" "),(e.windowWidth>768?e.activeCard!==e.fullIntervals:e.activeCard!==e.fullIntervals-1)?t("button",{staticClass:"card-e
1ntry-nav next",on:{click:e.goNext}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.navNextAltText,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-chevron",href:"#icon-chevron"}})])]):e._e()]):e._e()])},Zi=[];const es=".card-entry-module-wrapper",ts=".card-entry-module-wrapper.active";var is={name:"CardEntryCarousel",components:{Pagination:ve.A},props:{goToSlideAriaLabel:{type:String,default:""},navPrevAltText:{type:String,default:""},navNextAltText:{type:String,default:""},roleDescriptionText:{type:String,default:"slider"},isDesktopCarousel:{type:Boolean,default:!1}},data(){return{activeCard:0,cardsAmount:0,isCarouselView:!1,scrollInterval:1,windowWidth:window.innerWidth}},computed:{isShowDesktopCarousel(){let e=2;return this.windowWidth>1440&&e++,this.isDesktopCarousel&&this.cardsAmount>e},fullIntervals(){return this.windowWidth>1100?this.cardsAmount-3:this.windowWidth>768?this.cardsAmount-2:this.cardsAmount},isScrolled(){return this.activeCard>0}},watch:{activeCard(){this.setActive()}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),this.getCardAmount(),this.setActive(),this.swipeDetection()},methods:{getCardAmount(){this.cardsAmount=this.$refs.cardsWrapper.querySelectorAll(es).length},onResize(){this.windowWidth=window.innerWidth,this.$nextTick(()=>{this.isCarouselView=this.isShowDesktopCarousel||Boolean(this.windowWidth<1024)&&this.cardsAmount>1})},scrollToSlide(e){this.activeCard=e,this.setActive()},setActive(){const e=document.body.classList.contains("rtl"),t=this.$refs.cardsWrapper.querySelector(es),i=parseInt(window.getComputedStyle(t).width)+parseInt(window.getComputedStyle(t).marginRight)+parseInt(window.getComputedStyle(t).marginLeft);this.$refs.cardsWrapper.style.transform=`translateX(${e?"":"-"}${this.activeCard*i}px)`,this.addActiveCardClass(),o.B.$emit("setActiveCard")},addActiveCardClass(){const e=this.$refs.cardsWrapper.querySelector(ts),t=Array.from(this.$refs.cardsWrapper.querySelectorAll(es)),i=this.isShowDesktopCarousel&&Boolean(this.windowWidth>1100);i&&t.forEach(e=>e.setAttribute("inert",!0)),e?.classList?.remove("active"),e?.removeAttribute("aria-current");const s=t.filter((e,t)=>t<=this.activeCard+2&&t>=this.activeCard);s[0]?.classList.add("active"),s[0]?.setAttribute("aria-current",!0),i&&s.forEach(e=>e.removeAttribute("inert"))},goNext(){o.B.$emit("crs-pause-video");const e=this.isShowDesktopCarousel&&Boolean(this.windowWidth>968)&&this.cardsAmount>3?this.cardsAmount-2:this.cardsAmount-1;this.activeCard<e?this.activeCard++:this.activeCard=0,this.setActive()},goPrev(){if(o.B.$emit("crs-pause-video"),this.activeCard>0)if(this.activeCard%this.scrollInterval){for(let e=this.activeCard;e>=0;e--)if(!(e%this.scrollInterval)){this.activeCard=e;break}}else this.activeCard=this.activeCard-this.scrollInterval;this.setActive()},swipeDetection(){this.touchstartX=0,this.touchendX=0;const e=this.$refs.cardsWrapper;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(){const e=document.body.classList.contains("rtl"),t=Math.abs(this.touchendX-this.touchstartX),i=t>30,s=e?this.touchendX>this.touchstartX:this.touchendX<this.touchstartX;i&&(s?this.goNext():s||this.goPrev())}}},ss=is,rs=(0,re.A)(ss,Ki,Zi,!1,null,null,null),as=rs.exports,ns=(0,a.fC)({components:{CardEntryCarousel:as}}),os=function(){var e=this,t=e._self._c;return t("div",{staticClass:"custom-slider",class:{long:e.cardsAmount>=9,centering:!e.isShowCarousel},attrs:{"data-qa":"custom-slider"}},[t("ul",{ref:"slidesWrapper",staticClass:"custom-slider__slides"},[e._t("slides")],2),e._v(" "),e.isShowCarousel?t("div",{staticClass:"custom-slider-nav_wrapper"},[e.activeCard>0?t("button",{staticClass:"custom-slider-nav prev",on:{click:e.goPrev}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.navPrevAltText,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-chevron",href:"#icon-chevron"}})])]):e._e(),e._v(" "),t("div",{staticClass:"custom-slider__pagination"},[t("pagination",{attrs:{"pagination-items":e.fullIntervals,"current-page":e.activeView,"is-paused":!1,"is-animation-enabled":!1,"go-to-slide-aria-label":e.goToSlideAriaLabel},on:{selectPagination:e.scrollToSlide,isPausedCarousel:()=>null}})],1),e._v(" "),e.isNextDisabled?e._e():t("button",{staticClass:"custom-slider-nav next",on:{click:e.goNext}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.navNextAltText,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-chevron",href:"#icon-chevron"}}
1)])])]):e._e()])},ls=[],cs=i(7168),ds=i.n(cs),us={name:"CustomSlider",components:{Pagination:ve.A},props:{goToSlideAriaLabel:{type:String,default:""},navPrevAltText:{type:String,default:""},navNextAltText:{type:String,default:""},cardClass:{type:String,default:""},slidesToScroll:{type:Object,default:()=>({desktop:3,tablet:2,mobile:1})},minSlidesAmountForSlider:{type:Object,default:()=>({desktop:5,tablet:4,mobile:2})}},data(){return{activeCard:0,cardsAmount:0,windowWidth:window.innerWidth,widthCarousel:0,widthAllCards:0,cardSelector:`.${this.cardClass}`,activeCardSelector:`.${this.cardClass}.active`}},computed:{screenSizeName(){return this.windowWidth>=1024?"desktop":this.windowWidth<1024&&this.windowWidth>568?"tablet":"mobile"},activeView(){return this.activeCard>0?Math.ceil(this.activeCard/this.scrollInterval):0},isNextDisabled(){const e=this.activeCard;return e+this.scrollInterval>=this.cardsAmount},scrollInterval(){return this.slidesToScroll[this.screenSizeName]},nextScrollInterval(){const e=this.cardsAmount-(this.activeCard+this.scrollInterval);return e>=this.scrollInterval?0:e},isShowCarousel(){return this.cardsAmount>=this.minSlidesAmountForSlider[this.screenSizeName]},fullIntervals(){return Math.ceil(this.cardsAmount/this.slidesToScroll[this.screenSizeName])}},watch:{activeCard(){this.setActive()}},mounted(){window.addEventListener("resize",this.onResize),setTimeout(()=>{this.initHammer()},500),this.getCardsAmount(),this.getCardsWidth(),this.setActive()},beforeDestroy(){window.removeEventListener("resize",this.onResize)},methods:{initHammer(){if(!this.isShowCarousel)return!1;delete ds().defaults.cssProps.userSelect;const e=new(ds())(this.$refs.slidesWrapper);e.on("swiperight",()=>{const e=document.body.classList.contains("rtl");e?!this.isNextDisabled&&this.goNext():this.activeCard>0&&this.goPrev()}),e.on("swipeleft",()=>{const e=document.body.classList.contains("rtl");e?this.activeCard>0&&this.goPrev():!this.isNextDisabled&&this.goNext()})},onResize(){this.windowWidth=window.innerWidth,this.windowScale=window.devicePixelRatio,this.getCardsAmount(),this.initHammer()},getCardsAmount(){this.cardsAmount=this.$refs.slidesWrapper.querySelectorAll(this.cardSelector).length},getCardsWidth(){const e=this.$refs.slidesWrapper;this.widthCarousel=e.clientWidth;let t=0;e.querySelectorAll(this.cardSelector).forEach(e=>{t+=e.clientWidth}),this.widthAllCards=t},scrollToSlide(e){this.activeCard=e*this.scrollInterval,this.setActive()},setActive(){const e=document.body.classList.contains("rtl"),t=this.$refs.slidesWrapper.querySelector(this.cardSelector),i=parseInt(window.getComputedStyle(t).width)+parseInt(window.getComputedStyle(t).marginRight)+parseInt(window.getComputedStyle(t).marginLeft);this.$refs.slidesWrapper.style.transform=`translateX(${e?"":"-"}${this.activeCard*i}px)`,this.addActiveCardClass()},addActiveCardClass(){const e=this.$refs.slidesWrapper.querySelector(this.activeCardSelector);document.querySelector(".active-prev-element")?.classList.remove("active-prev-element"),e?.classList.remove("active"),e?.removeAttribute("aria-current");const t=Array.from(this.$refs.slidesWrapper.querySelectorAll(this.cardSelector)).filter((e,t)=>t===this.activeCard)[0];t?.classList.add("active"),t?.setAttribute("aria-current",!0),e&&e.previousElementSibling&&e.previousElementSibling.classList.add("active-prev-element")},getFinalPoint(){return this.isShowCarousel&&Boolean(window.innerWidth>1023)&&this.cardsAmount>this.scrollInterval.desktop?this.cardsAmount-2:this.cardsAmount-1},goNext(){this.activeCard<this.getFinalPoint()?this.nextScrollInterval?this.activeCard=this.activeCard+this.nextScrollInterval:this.activeCard=this.activeCard+this.scrollInterval:this.activeCard=0,this.setActive()},goPrev(){if(this.activeCard>0)if(this.activeCard%this.scrollInterval){for(let e=this.activeCard;e>=0;e--)if(!(e%this.scrollInterval)){this.activeCard=e;break}}else this.activeCard=this.activeCard-this.scrollInterval;this.setActive()}}},hs=us,ps=(0,re.A)(hs,os,ls,!1,null,null,null),ms=ps.exports,gs=(0,a.fC)({components:{CustomSlider:ms}}),vs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"category-push-carousel__wrapper"},[t("div",{ref:"carousel",staticClass:"category-push-carousel",class:{"disable-carousel":!e.isShowCarousel,scrolled:e.isScrolled},attrs:{"data-qa":"category-push-carousel"}},[t("div",{ref:"cardsWrapper",staticClass:"category-push-slides",class:{"center-items":e.isCenteredItems}},[e._t("slides")],2)]),e._v(" "),e.cardsAmount>1&&!e.isCenteredItems?t("div",{staticClass:"category-push-carousel-nav_wrapper"},[e.activeCard>0?t("button",{staticClass:"category-push-carousel-nav prev",on:{click:e.goPrev}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.navPrevAltText,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-chevron",href:"#icon-chevron"}}
1)])]):e._e(),e._v(" "),e.isCenteredItems?e._e():t("div",{staticClass:"category-push-carousel__pagination"},[t("pagination",{attrs:{"pagination-items":e.fullIntervals,"current-page":e.activeView,"is-paused":!1,"is-animation-enabled":!1,"go-to-slide-aria-label":e.goToSlideAriaLabel},on:{selectPagination:e.scrollToSlide,isPausedCarousel:()=>null}})],1),e._v(" "),e.isNextDisabled?e._e():t("button",{staticClass:"category-push-carousel-nav next",on:{click:e.goNext}},[t("svg",{staticClass:"icon icon--arrow",attrs:{"aria-label":e.navNextAltText,role:"img"}},[t("use",{attrs:{"xlink:href":"#icon-chevron",href:"#icon-chevron"}})])])]):e._e()])},ys=[];const fs=".md-card",bs=`${fs}.active`;var ws={name:"CategoryPushCarousel",components:{Pagination:ve.A},props:{goToSlideAriaLabel:{type:String,default:""},navPrevAltText:{type:String,default:""},navNextAltText:{type:String,default:""}},data(){return{activeCard:0,cardsAmount:0,windowWidth:window.innerWidth}},computed:{activeView(){return this.activeCard>0?Math.ceil(this.activeCard/this.scrollInterval):0},isScrolled(){return this.activeCard>0},scrollInterval(){return this.windowWidth>1100?3:(this.windowWidth,1)},nextScrollInterval(){const e=this.cardsAmount-(this.activeCard+1+this.scrollInterval);return e>=this.scrollInterval?0:e},fullIntervals(){let e=this.getDivider;return this.windowWidth>568&&this.windowWidth<=1100?Math.ceil(this.cardsAmount/e)-1:Math.ceil(this.cardsAmount/e)},getDivider(){return this.windowWidth>1100?this.cardsAmount%2?4:3:1},isNextDisabled(){const e=this.windowWidth<568?this.activeCard:this.activeCard+1;return e+this.scrollInterval>=this.cardsAmount},isShowCarousel(){return this.cardsAmount>4},isCenteredItems(){return this.windowWidth>1100?this.cardsAmount<=4:this.windowWidth<=1100&&this.windowWidth>568?this.cardsAmount<=2:this.windowWidth<=568&&this.cardsAmount<2}},watch:{activeCard(){this.setActive()},windowWidth(e,t){e>t&&e>1100&&this.resetScroll()}},mounted(){window.addEventListener("resize",this.onResize);const e=new(ds())(this.$refs.cardsWrapper);e.on("swipeleft swiperight",()=>{document.body.classList.add("fixed-page"),setTimeout(()=>{document.body.classList.remove("fixed-page")},500)}),setTimeout(()=>{this.getCardAmount(),this.setActive(),this.isCenteredItems||this.swipeDetection(),this.windowWidth>1100&&!this.isCenteredItems&&this.grabDetection()},500)},beforeDestroy(){window.removeEventListener("resize",this.onResize)},methods:{onResize(){this.windowWidth=window.innerWidth,this.getCardAmount()},getCardAmount(){this.cardsAmount=this.$refs.cardsWrapper.querySelectorAll(fs).length},scrollToSlide(e){this.activeCard=e*this.scrollInterval,this.setActive()},setActive(){const e=document.body.classList.contains("rtl"),t=this.$refs.cardsWrapper.querySelector(fs),i=this.$refs.carousel,s=parseInt(window.getComputedStyle(t).width)+parseInt(window.getComputedStyle(t).marginRight)+parseInt(window.getComputedStyle(t).marginLeft),r=this.activeCard>0&&this.windowWidth<=1100&&this.windowWidth>720?parseInt(window.getComputedStyle(i).paddingLeft)+10:0;this.$refs.cardsWrapper.style.transform=`translateX(${e?"":"-"}${this.activeCard*s-r}px)`,this.addActiveCardClass()},resetScroll(){this.$refs.cardsWrapper.style.transform="translateX(0)",this.activeCard=0},addActiveCardClass(){const e=this.$refs.cardsWrapper.querySelector(bs),t=Array.from(this.$refs.cardsWrapper.querySelectorAll(fs)),i=this.isShowCarousel&&Boolean(window.innerWidth>1100);i&&t.forEach(e=>e.setAttribute("inert",!0)),e?.classList.remove("active"),e?.removeAttribute("aria-current");const s=t.filter((e,t)=>t<=this.activeCard+3&&t>=this.activeCard);s[0]?.classList.add("active"),s[0]?.setAttribute("aria-current",!0),i&&s.forEach(e=>e.removeAttribute("inert"))},goNext(){o.B.$emit("youtube-pause-video");const e=this.isShowCarousel&&Boolean(window.innerWidth>1100)&&this.cardsAmount>4?this.cardsAmount-2:this.cardsAmount-1;this.activeCard<e?this.nextScrollInterval?this.activeCard=this.activeCard+this.nextScrollInterval:this.activeCard=this.activeCard+this.scrollInterval:this.activeCard=0,this.setActive()},goPrev(){if(o.B.$emit("youtube-pause-video"),this.activeCard>0)if(this.activeCard%this.scrollInterval){for(let e=this.activeCard;e>=0;e--)if(!(e%this.scrollInterval)){this.activeCard=e;break}}else this.activeCard=this.activeCard-this.scrollInterval;this.setActive()},swipeDetection(){this.touchstartX=0,this.touchendX=0;const e=this.$refs.cardsWrapper;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})},grabDetection(){let e=!1,t=0,i=0;const s=this.$refs.cardsWrapper,r=document.body.classList.contains("rtl");s.ondragstart=function(){return!1},s.addEventListener("pointerdown",i=>{e=!0,t=i.pageX,s.classList.add("grabbing")}),s.addEventListener("pointerup",a=>{if(e=!1,s.classList.remove("grabbing"),i=a.pageX,i!==t&&Math.abs(i-t)>100){const e=r?i-t>30:t-i>30;e&&!this.isNextDisabled?this.goNext():e||this.goPrev()}s.removeEventListener("pointermove",()=>{}),s.removeEventListener("pointerup",()=>{}),s.removeEventListener("pointerdown",()=>{})}),s.addEventListener("pointermove",t=>{e&&(t.preventDefault(),i=t.pageX)})},handleGesture(){const e=document.body.classList.contains("rtl"),t=Math.abs(this.touchendX-this.touchstartX),i=t>30,s=e?this.touchendX>this.touchstartX:this.touchendX<this.touchstartX;i&&(s?this.goNext():s||this.goPrev())}}},As=ws,Cs=(0,re.A)(As,vs,ys,!1,null,null,null),_s=Cs.exports,Ss=(0,a.fC)({components:{CategoryPushCarousel:_s}}),Ps=function(){var e=this,t=e._self._c;return t("div",{staticClass:"md-card swiper-slide",attrs:{"data-qa":"md-card"}},[t("div",{staticClass:"md-card_content"},[t("div",{staticClass:"md-card__media"},[e._t("media")],2),e._v(" "),t("div",{staticClass:"md-card__heading"},[e._t("heading")],2),e._v(" "),t("div",{staticClass:"md-card__logo"},[e._t("logo")],2)]),e._v(" "),t("div",{staticClass:"hashtags"},[e._t("hashtags")],2)])},Ls=[],Ts={name:"MdCard"},Es=Ts,ks=(0,re.A)(Es,Ps,Ls,!1,null,null,null),xs=ks.exports,Is=(0,a.fC)({components:{MdCard:xs}}),$s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"category-push-carousel-swiper",attrs:{"data-qa":"category-push-carousel-swiper"}},[t("div",{staticClass:"slider"},[t("div",{ref:"swiperContainer",staticClass:"swiper-container slider1"},[t("div",{staticClass:"swiper-wrapper"},[e._t("slides")],2),e._v(" "),t("div",{staticClass:"nav_wrapper"},[t("button",{staticClass:"swiper-nav-button swiper-button-prev",attrs:{"aria-label":e.previousAriaLabel}}),e._v(" "),t("div",{staticClass:"swiper-scrollbar"}),e._v(" "),t("button",{staticClass:"swiper-nav-button swiper-button-next",attrs:{"aria-label":e.nextAriaLabel}})])])])])},Os=[],Bs=i(3324),Ds=i(7626);Bs.A.use([Ds.Ze,Ds.s3,Ds.Vx]);var Ns={name:"CategoryPushCarouselSwiper",props:{previousAriaLabel:{type:String,default:""},nextAriaLabel:{type:String,default:""}},mounted(){setTimeout(()=>{this.initSwiper()},100)},methods:{initSwiper(){const e=50,t=4.05,i=3.01,s=2.01,r=1.05;try{new Bs.A(".slider1",{direction:"horizontal",loop:!1,freeMode:!1,breakpoints:{1320:{slidesPerView:t,spaceBetween:16},1024:{slidesPerView:i,spaceBetween:16},768:{slidesPerView:s,spaceBetween:20},320:{slidesPerView:r,spaceBetween:10}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},scrollbar:{el:".swiper-scrollbar",draggable:!0,dragSize:e},keyboard:{enabled:!0},on:{}})}catch(a){}}}},qs=Ns,Vs=(0,re.A)(qs,$s,Os,!1,null,null,null),Rs=Vs.exports,Fs=(0,a.fC)({components:{CategoryPushCarouselSwiper:Rs}}),Ms=function(){var e=this,t=e._self._c;return e.isHidden?e._e():t("div",{staticClass:"preheader-wrapper",style:e.backgroundStyle,attrs:{"data-qa":"preheader-wrapper"}},[e._t("default"),e._v(" "),t("button",{ref:"closeButton",staticClass:"clear-preheader-button",attrs:{"aria-label":e.buttonAriaLabel,"data-qa":"clear-preheader-button"},on:{click:e.hideModule}},[t("svg",{staticClass:"icon icon--close",attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-close",href:"#icon-close"}})])])],2)},zs=[];const Ws="isPreheaderHidden";var js={name:"PreheaderWrapper",props:{bgImage:{type:String,default:null},bgImageMobile:{type:String,default:null},closeButtonAltText:{type:String,default:null},buttonAriaLabel:{type:String,required:!1,default:"close pre header module"},bgColor:{type:String,required:!1,default:"#0000FF"}},data(){return{windowWidth:window.innerWidth,isHidden:!0}},computed:{backgroundStyle(){const e=this.windowWidth>=768?this.bgImage:this.bgImageMobile;return e?{backgroundImage:`url('${e}')`}:{backgroundColor:this.bgColor}}},mounted(){window.addEventListener("resize",this.onResize),this.onResize(),this.checkPreheaderCookie(),this.$nextTick(()=>{this.setHeaderHeight()})},methods:{onResize(){this.windowWidth=window.innerWidth},hideModule(){window.removeEventListener("resize",this.onResize),this.isHidden=!0,this.setPreheaderCookie(),this.$nextTick(()=>{this.setHeaderHeight()})},setPreheaderCookie(){document.cookie=Ws+"=1;path=/"},checkPreheaderCookie(){this.isHidden=Boolean(this.getCookie(Ws))},getCookie(e){let t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([.$?*|{}()\[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},setHeaderHeight(){const e=document.documentElement,t=document.querySelector("header")?.offsetHeight;e.style.setProperty("--header-height",t+"px")}}},Hs=js,Us=(0,re.A)(Hs,Ms,zs,!1,null,null,null),Xs=Us.exports,Gs=(0,a.fC)({components:{PreheaderWrapper:Xs}}),Js=function(){var e=this,t=e._self._c;return t("div",{staticClass:"service-banner__wrapper"},[t("div",{staticClass:"service-banner__content"},[e._t("logo"),e._v(" "),e._t("foundation-finder-content"),e._v(" "),e._t("title"),e._v(" "),e._t("description"),e._v(" "),e._t("disclaimer"),e._v(" "),e.dataJebbitStartExperience?t("button",{staticClass:"btn service-banner__cta button-open-dsf-app",attrs:{"data-jebbit-start-experience":"","data-qa":"service-banner__cta-btn",onclick:"myJebbitFunction()"},on:{click:function(t){return t.preventDefault(),e.openDsf.apply(null,arguments)}}},[e._t("cta-label")],2):t("button",{staticClass:"btn service-banner__cta button-open-dsf-app",attrs:{"data-qa":"service-banner__cta-btn"},on:{click:function(t){return t.preventDefault(),e.openDsf.apply(null,arguments)}}},[e._t("cta-label")],2)],2),e._v(" "),e.isMobile?e._e():t("div",{staticClass:"service-banner__qr"},[e._t("qr")],2)])},Qs=[];const Ys="foundation-finder";var Ks={name:"ServiceBanner",props:{productType:{type:String,default:""},dataJebbitStartExperience:{type:Boolean,default:!1}},data(){return{isMobile:!1}},computed:{isFoundationProduct(){return this.productType===Ys}},mounted(){this.checkDevice(),this.checkDsf()},methods:{checkDevice(){this.isMobile=Boolean(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i))},checkDsf(){setTimeout(()=>{window.location.search.includes("shadefinder=true")&&this.openDsf()},1e3)},openDsf(){window.eventBus.$emit("dsf_enter"),this.$root.$emit("pausePlaying")}}}
1,Zs=Ks,er=(0,re.A)(Zs,Js,Qs,!1,null,null,null),tr=er.exports,ir=(0,a.fC)({components:{ServiceBanner:tr}}),sr=function(){var e=this,t=e._self._c;return t("div",{class:[{"with-avatar":e.isPersonAvatar},{"is-tagline":e.isTaglineVersion&&!e.isRtl},{"with-quote-marks":e.hasQuoteMarks},{"with-color-theme":e.isColorTheme},{"is-full-width":e.isFullWidth}],attrs:{"data-qa":"pull-quote"}},[t("div",{staticClass:"pull-quote-text-wrapper"},[e._t("copy")],2),e._v(" "),t("figcaption",{staticClass:"person-wrapper"},[e.avatarUrl?t("p",{staticClass:"person-img"},[t("img",{attrs:{src:e.avatarUrl,alt:e.imageAlt}})]):e._e(),e._v(" "),t("div",{staticClass:"person-info"},[e._t("person")],2)])])},rr=[],ar={name:"PullQuote",props:{imageAlt:{type:String,default:""},avatarUrl:{type:String,default:null},isTaglineVersion:{type:Boolean,default:!1,required:!1},hasQuoteMarks:{type:Boolean,default:!1,required:!1},isColorTheme:{type:Boolean,default:!1,required:!1},isFullWidth:{type:Boolean,default:!1,required:!1}},computed:{isPersonAvatar(){return Boolean(this.avatarUrl)},isRtl(){return!!document.querySelector(".rtl")}},mounted(){this.isContentPresent()},methods:{isContentPresent(){const e=document.querySelector(".pull-quote-description");e&&(0===e.textContent.trim().length?e.style.display="none":e.style.display="block")}}},nr=ar,or=(0,re.A)(nr,sr,rr,!1,null,null,null),lr=or.exports,cr=(0,a.fC)({components:{PullQuote:lr}}),dr=function(){var e=this,t=e._self._c;return t("div",{class:["pull-quotes-wrapper",{"border-top":e.isDividerLine}],attrs:{"data-qa":"pull-quotes-wrapper"}},[e.isDividerLine?t("commitment-divider"):e._e(),e._v(" "),e._t("default")],2)},ur=[],hr={name:"PullQuotesWrapper",components:{CommitmentDivider:te.A},props:{isDividerLine:{type:Boolean,default:!1}}},pr=hr,mr=(0,re.A)(pr,dr,ur,!1,null,null,null),gr=mr.exports,vr=(0,a.fC)({components:{PullQuotesWrapper:gr}});s.Ay.use(r),s.Ay.use(P()),s.Ay.use(K),l.Xj.getAnalyticsHandler(n.Y),c.getInputHandler(),s.Ay.config.ignoredElements=["transcript"],s.Ay.config.keyCodes={},(0,Q.A)();var yr=(0,a.fC)({asyncImports:[{module:async()=>i.e(677).then(i.bind(i,8425)),components:["CopyText"]},{module:async()=>i.e(647).then(i.bind(i,7994)),components:["HeroYoutube"]},{module:async()=>i.e(505).then(i.bind(i,2926)),components:["MultiImageCarousel"]},{module:async()=>i.e(450).then(i.bind(i,8608)),components:["WhatsNew"]},{module:async()=>i.e(364).then(i.bind(i,4011)),components:["NewTransporterSlider"]},{module:async()=>i.e(462).then(i.bind(i,1978)),components:["CopyCardCarousel"]},{module:async()=>i.e(311).then(i.bind(i,1664)),components:["CopyCard"]},{module:async()=>i.e(688).then(i.bind(i,2460)),components:["RedirectButton"]},{module:async()=>i.e(664).then(i.bind(i,9138)),components:["RenderlessSnapCarousel"]},{module:async()=>i.e(841).then(i.bind(i,6063)),components:["LightningoutScheduler"]},{module:async()=>i.e(608).then(i.bind(i,4975)),components:["SfmcContainer","SfmcProductCard"]},{module:async()=>i.e(71).then(i.bind(i,6050)),components:["OneTrustCookieHelper"]},{module:async()=>i.e(884).then(i.bind(i,6450)),components:["DsfAppCustom"]},{module:async()=>i.e(956).then(i.bind(i,7875)),components:["HeroCarouselSlideWrapper"]},{module:async()=>i.e(176).then(i.bind(i,6404)),components:["CustomScroll"]},{module:async()=>i.e(287).then(i.bind(i,3443)),components:["AnimatedCounter"]}],imports:[qe,st,pe,dt,ht,l.Ay,wt,Tt,Bt,qe,Xt,Gt,gi,Ci,zi,Yi,ns,gs,Ss,Is,Fs,Gs,ir,cr,vr],directives:{clickOutside:p,poster:h,impressionHandler:m.Q,lazyAttribute:v,lazyScript:_},filters:{},store:J});window.RefAppIframe&&s.Ay.use(window.RefAppIframe),window.RefAppStoreLocator&&s.Ay.use(window.RefAppStoreLocator),window.RefAppRatingsReviews&&s.Ay.use(window.RefAppRatingsReviews),window.RefAppMctb&&s.Ay.use(window.RefAppMctb),window.RefAppFaq&&s.Ay.use(window.RefAppFaq),window.RefAppBanner&&s.Ay.use(window.RefAppBanner),window.RefAppUserRedirect&&s.Ay.use(window.RefAppUserRedirect),globalThis.RefAppHotspots&&s.Ay.use(globalThis.RefAppHotspots),new s.Ay({...yr,data(){return{}},methods:{}}).$mount("#main-container")},2739:function(){},3214:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("span",{staticClass:"cause-page-divider"},[t("svg",{staticClass:"divider desktop",attrs:{width:"1324",height:"10",viewBox:"0 0 1324 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{mask:"url(#my94kno7ba)","fill-rule":"evenodd","clip-rule":"evenodd"}},[t("path",{attrs:{d:"m249 0 17.855 10h64.739L337 0h-88zM831 0l17.855 10h64.739L919 0h-88z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"m416 0 1.723 10h62.01L508 5.034 507.132 0H416zM-47 0l1.723 10h62.01L45 5.034 44.132 0H-47zM998 0l1.723 10h62.007L1090 5.034 1089.13 0H998zM292 0l1.74 10H367l-1.74-10H292zM874 0l1.74 10H949l-1.74-10H874z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"M351 10h16l-.48-3L351 10zM933 10h16l-.48-3L933 10z",f
1ill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"M357.243 0 355 10h86.235L443 2.13 433.589 0h-76.346zM939.243 0 937 10h86.23l1.77-7.87-9.41-2.13h-76.347z",fill:"#FF4811"}}),e._v(" "),t("path",{attrs:{d:"m557 0 1.747 10H621l-1.747-10H557zM94 0l1.747 10H158l-1.747-10H94zM1139 0l1.75 10H1203l-1.75-10H1139z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"M480 10h29l-.861-5L480 10zM17 10h29l-.861-5L17 10zM1062 10h29l-.86-5-28.14 5z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"m426 0 10.466 2L437 0h-11zM1008 0l10.47 2 .53-2h-11z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"M592.566 0 587 10h35L603.861 0h-11.295zM129.566 0 124 10h35L140.861 0h-11.295zM1174.57 0 1169 10h35l-18.14-10h-11.29z",fill:"#FF4811"}}),e._v(" "),t("path",{attrs:{d:"m604 0 18.074 10h74.111L701 1.318 698.617 0H604zM141 0l18.074 10h74.111L238 1.318 235.617 0H141zM1186 0l18.07 10h74.11l4.82-8.682L1280.62 0H1186z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"m699 0 2.295 1L702 0h-3zM236 0l2.295 1L239 0h-3zM1281 0l2.3 1 .7-1h-3z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"M483.477 0 478 10h30L490.16 0h-6.683zM20.477 0 15 10h30L27.16 0h-6.683zM1065.48 0 1060 10h30l-17.84-10h-6.68z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"m490 0 18.12 10h79.224L591 3.412 584.817 0H490zM27 0l18.12 10h79.224L128 3.412 121.817 0H27zM1072 0l18.12 10h79.22l3.66-6.588L1166.82 0H1072z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"m585 0 6.129 3L593 0h-8zM122 0l6.129 3L130 0h-8zM1167 0l6.13 3 1.87-3h-8zM667 0l1.759 10h48.513L731 7.596 729.664 0H667zM204 0l1.759 10h48.513L268 7.596 266.664 0H204zM1249 0l1.76 10h48.51L1313 7.596 1311.66 0H1249z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"M718 10h14l-.418-2L718 10zM255 10h14l-.418-2L255 10zM1300 10h14l-.42-2-13.58 2z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"M747 10h25l-.178-2L747 10z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"m717 0 .846 10h29.665L772 7.936 771.328 0H717zM254 0l.846 10h29.665L309 7.936 308.328 0H254zM1299 0l.85 10h29.66L1354 7.936 1353.33 0H1299z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"M752.475 0 747 10h30L759.158 0h-6.683z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"m757 0 18.053 10h78.092L857 3.041 851.51 0H757z",fill:"#F32D66"}})])]),e._v(" "),t("svg",{staticClass:"divider mobile",attrs:{width:"346",height:"10",viewBox:"0 0 346 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("mask",{staticStyle:{"mask-type":"alpha"},attrs:{maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"346",height:"10"}},[t("path",{attrs:{fill:"#fff",d:"M0 0h346v10H0z"}})]),e._v(" "),t("g",{attrs:{mask:"url(#6jqkac6c2a)","fill-rule":"evenodd","clip-rule":"evenodd"}},[t("path",{attrs:{d:"m249 0 17.855 10h64.739L337 0h-88z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"m-47 0 1.723 10h62.01L45 5.034 44.132 0H-47zM292 0l1.74 10H367l-1.74-10H292zM94 0l1.747 10H158l-1.747-10H94z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"M17 10h29l-.861-5L17 10z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"M129.566 0 124 10h35L140.861 0h-11.295z",fill:"#FF4811"}}),e._v(" "),t("path",{attrs:{d:"m141 0 18.074 10h74.111L238 1.318 235.617 0H141z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"m236 0 2.295 1L239 0h-3z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"M20.477 0 15 10h30L27.16 0h-6.683z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"m27 0 18.12 10h79.224L128 3.412 121.817 0H27z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"m122 0 6.129 3L130 0h-8zM204 0l1.759 10h48.513L268 7.596 266.664 0H204z",fill:"#26B5A6"}}),e._v(" "),t("path",{attrs:{d:"M255 10h14l-.418-2L255 10z",fill:"#F32D66"}}),e._v(" "),t("path",{attrs:{d:"m254 0 .846 10h29.665L309 7.936 308.328 0H254z",fill:"#F32D66"}})])])])},r=[],a={name:"CommitmentDivider"},n=a,o=i(1656),l=(0,o.A)(n,s,r,!1,null,null,null),c=l.exports},3547:function(e,t,i){"use strict";function s(e,t){let i;return function(...s){const r=this;clearTimeout(i),i=setTimeout(()=>e.apply(r,s),t)}}function r(e,t){let i,s;return function(...r){const a=this;s?(clearTimeout(i),i=setTimeout(()=>{Date.now()-s>=t&&(e.apply(a,r),s=Date.now())},t-(Date.now()-s))):(e.apply(a,r),s=Date.now())}}i.d(t,{n:function(){return r},s:function(){return s}})},3559:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("li",{ref:"carouselSlide",staticClass:"carousel__slide",attrs:{"data-qa":"cl-s"}},[e._t("default")],2)},r=[],a={name:"Slide",props:{roleDescriptionText:{type:String,default:"slide"}}},n=a,o=i(1656),l=(0,o.A)(n,s,r,!1,null,null,null),c=l.exports},3968:function(e,t,i){"use strict";function s(e,t){if(e&&t){const i=e.toLowerCase().replace(/__/g,"");if(i in t)return t[i]}return e}function r(e){return"string"===typeof e&&e.indexOf("__")>-1}i.d(t,{A:function(){return a}});class a{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=r(e)?s(e,this.variables):e.trim();return t&&(i=i.toLowerCase()),i}from(e){Object.keys(e).forEach(t=>{this[t]=e[t]||""})}toObject(){return this.result}}},4017:function(e,t,i){"use strict";i.d(t,{B:function(){return s.B}});var s=i(5807)},4068:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var s=i(8717),r=i(1209),a=i(3968),n=i(2252);class o extends a.A{constructor(e){if(super("promotionClick",e),this.category="Ecommerce",e.category&&r.A.warn(`[AnalyticsPromotionClickObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Promotion Click",e.action&&r.A.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 r.A.error("[AnalyticsPromotionClickObjectException] promotion is required for promotionClick",e),new s.UJ("promotion is required for promotionClick")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},this.result.ecommerce.promoClick=this.result.ecommerce.promoClick||{}}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,!0)}set value(e){this.result.eventValue=this.setProperty(e)}set promotions(e){e=e.map(e=>new n.A(e).toObject()),this.initEcommerce(),this.result.ecommerce.promoClick.promotions=e}}},4262:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(8717),r=i(1209),a=i(3968);class n extends a.A{constructor(e){if(super("nievent",e),!e.category)throw r.A.error("[AnalyticsNonInteractiveEventObjectException] Category is required for nievent (L'Oréal guideline)",e),new s.I4("Category is required for nievent (L'Oréal guideline)");if(!e.action)throw r.A.error("[AnalyticsNonInteractiveEventObjectException] Action is required for nievent (L'Oréal guideline)",e),new s.I4("Action is required for nievent (L'Oréal guideline)");if(!e.label)throw r.A.error("[AnalyticsNonInteractiveEventObjectException] Label is required for nievent (L'Oréal guideline)",e),new s.I4("Label is required for nievent (L'Oréal guideline)")}set category(e){this.result.eventCategory=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 value(e){this.result.eventValue=this.setProperty(e)}}},5093:function(e,t){"use strict";const i=(e,t,i)=>{if(!t)return;const s=Array.isArray(t)?t:t.match(/([^[.\]])+/g),r=s.reduce((e,t)=>
1e&&e[t],e);return void 0===r?i:r};t.A=i},5281:function(){},5442:function(e,t,i){"use strict";i.d(t,{MA:function(){return b},Wy:function(){return w},Gx:function(){return A}});var s=i(5694),r=i(4262),a=i(6754),n=i(8291),o=i(8717),l=i(1209),c=i(3968),d=i(18);class u extends c.A{constructor(e){if(super("uaevent",e),this.category="Ecommerce",e.category&&l.A.warn(`[AnalyticsProductDetailObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Product Detail",e.action&&l.A.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),!e.products||0===e.products.length)throw l.A.error("[AnalyticsProductDetailObjectException] Product(s) are required for a productDetail",e),new o.N_("Product(s) are required for a productDetail")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},this.result.event_name="select_item",this.result.product_info=this.result.eventLabel||""}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.initEcommerce(),this.result.ecommerce.currencyCode="none"===e?this.setProperty(e):this.setProperty(e).toUpperCase()}set products(e){this.initEcommerce(),this.result.ecommerce.detail=e.map(e=>new d.A(e).toObject())}get products(){return this.result.ecommerce&&this.result.ecommerce.detail||[]}}var h=i(4068),p=i(2252);class m extends c.A{constructor(e){if(super("nievent",e),this.category="Ecommerce",e.category&&l.A.warn(`[AnalyticsPromotionImpressionObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Promotion Impressions",e.action&&l.A.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 l.A.error("[AnalyticsPromotionImpressionObjectException] Promotion(s) are required for a promotionImpression",e),new o.pL("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,!0)}set value(e){this.result.eventValue=this.setProperty(e)}set promotions(e){this.initEcommerce(),this.result.ecommerce.promoView.promotions=e.map(e=>new p.A(e).toObject())}}var g=i(5778),v=i(6575),y=i(806);class f extends c.A{constructor(e){if(super("addToCart",e),!e.category)throw l.A.error("[AnalyticsChannelAdvisorObjectException] Category is required for uaevent (L'Oréal guideline)",e),new o.IK("Category is required for uaevent (L'Oréal guideline)");if(!e.action)throw l.A.error("[AnalyticsChannelAdvisorObjectException] Action is required for uaevent (L'Oréal guideline)",e),new o.IK("Action is required for uaevent (L'Oréal guideline)");if(!e.label)throw l.A.error("[AnalyticsChannelAdvisorObjectException] Label is required for uaevent (L'Oréal guideline)",e),new o.IK("Label is required for uaevent (L'Oréal guideline)")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{add:{}}}set currency(e){this.initEcommerce(),this.result.ecommerce.currencyCode=this.setProperty(e).toUpperCase()}set products(e){this.initEcommerce(),this.result.ecommerce.add.products=e.map(e=>new d.A(e).toObject())}set store_name(e){this.result.store_name=this.setProperty(e)}set event_name(e){this.result.event_name=this.setProperty(e)}set product_info(e){this.result.product_info=this.setProperty(e)}set step(e){this.result.step=this.setProperty(e)}set category(e){this.result.eventCategory=this.setProperty(e,!1)}set action(e){this.result.eventAction=this.setProperty(e)}set label(e){this.result.eventLabel=this.setProperty(e)}set value(e){this.result.eventValue=this.setProperty(e)}get products(){return this.result.ecommerce&&this.result.ecommerce.add&&this.result.ecommerce.add.products||[]}}const b={productClick:a.A,productImpression:n.A,productDetail:u,userActionEvent:s.A,socialactionevent:g.A,socialnetworkstickyevent:v.A,nonInteractiveEvent:r.A,promotionClick:h.A,promotionImpression:m,shadeSelection:y.A,channelAdvisorRetailer:f},w=Object.keys(b),A=e=>w.map(e=>e.toLowerCase()).indexOf(e.toLowerCase())>-1},5694:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(8717),r=i(1209),a=i(3968);class n extends a.A{constructor(e){if(super("uaevent",e),void 0!==e.category&&!e.category)throw r.A.error("[AnalyticsUserActionEventObjectException] Category is required for uaevent (L'Oréal guideline)",e),new s.mf("Category is required for uaevent (L'Oréal guideline)");if(void 0!==e.action&&!e.action)throw r.A.error("[AnalyticsUserActionEventObjectException] Action is required for uaevent (L'Oréal guideline)",e),new s.mf("Action is required for uaevent (L'Oréal guideline)");if(void 0!==e.label&&!e.label)throw r.A.error("[AnalyticsUserActionEventObjectException] Label is required for uaevent (L'Oréal guideline)",e),new s.mf("Label is required for uaevent (L'Oréal guideline)");this.result.ecommerce="undefined"}set category(e){this.result.eventCategory=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 value(e){this.result.eventValue=this.setProperty(e)}get event_name(){return this.result.event_name}set event_name(e){this.result.event_name=this.setProperty(e)}get cta_name(){return this.result.cta_name}set cta_name(e){this.result.cta_name=this.setProperty(e)}get link_url(){return this.result.link_url}set link_url(e){this.result.link_url=this.setProperty(e)}get module_name(){return this.result.module_name}set module_name(e){this.result.module_name=this.setProperty(e)}get service_name(){return this.result.service_name}set service_name(e){this.result.service_name=this.setProperty(e)}get product_info(){return this.result.product_info}set product_info(e){this.result.product_info=this.setProperty(e)}get product_tab(){return this.result.product_tab}set product_tab(e){this.result.product_tab=this.setProperty(e)}get breadcrumb(){return this.result.breadcrumb}set breadcrumb(e){this.result.breadcrumb=this.setProperty(e)}get click_area(){return this.result.click_area}set click_area(e){this.result.click_area=this.setProperty(e)}get service_category(){return this.result.service_category}set service_category(e){this.result.service_category=this.setProperty(e)}get store_name(){return this.result.store_name}set store_name(e){this.result.store_name=this.setProperty(e)}get file_name(){return this.result.file_name}set file_name(e){this.result.file_name=this.setProperty(e)}get file_type(){return this.result.file_type}set file_type(e){this.result.file_type=this.setProperty(e)}get click_action(){return this.result.click_action}set click_action(e){this.result.click_action=this.setProperty(e)}get card_type(){return this.result.card_type}set card_type(e){this.result.card_type=this.setProperty(e)}}},5778:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(8717),r=i(1209),a=i(3968);class n extends a.A{constructor(e){if(super("socialInt",e),!e.socialNetwork)throw r.A.error("[AnalyticsSocialActionEventObjectException] socialNetwork is required for socialInt (L'Oréal guideline)",e),new s.Gf("socialNetwork is required for socialInt (L'Oréal guideline)");if(!e.socialTarget)throw r.A.error("[AnalyticsSocialActionEventObjectException] socialTarget is required for socialInt (L'Oréal guideline)",e),new s.Gf("socialTarget is required for socialInt (L'Oréal guideline)");if(!e.social_network)throw r.A.error("[AnalyticsSocialActionEventObjectException] social_network is required for socialInt (L'Oréal guideline)",e),new s.Gf("social_network is required for socialInt (L'Oréal guideline)");this.result.ecommerce=void 0,this.result.event_name="social_interaction",this.result.socialAction="follow",this.result.social_action="follow"}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 socialTarget(){return this.result.socialTarget}set social_network(e){this.result.social_network=this.setProperty(e)}get social_network(){return this.result.social_network}}},5807:function(e,t,i){"use strict";i.d(t,{B:function(){return r}});var s=i(2893);const r=new s.Ay;window.eventBus=r},5906:function(e,t,i){"use strict";i.d(t,{fC:function(){return a}});const s=(e,t)=>Object.keys(t).reduce((i,s)=>(i[s]=i[s]||{},Object.assign(i[s],e[s]||{},t[s]||{}),i),e),r=["components","directives","filters"];function a(e){return Object.keys(e).reduce((t,i)=>
1{switch(i){case"asyncImports":[].concat(e[i]).forEach(e=>{r.forEach(i=>{e[i]&&[].concat(e[i]).forEach(s=>{const r=async()=>{const t=await e.module();return t.default[i][s]};t[i][s]=r})})});break;case"imports":e[i].forEach(e=>{t=s(t,e)});break;case"directives":case"components":case"filters":Object.assign(t[i],e[i]);break;default:t[i]=e[i];break}return t},{components:{},directives:{},filters:{}})}},6575:function(e,t,i){"use strict";i.d(t,{A:function(){return n}});var s=i(8717),r=i(1209),a=i(3968);class n extends a.A{constructor(e){if(super("socialNetwork",e),!e.social_network)throw r.A.error("[AnalyticsSocialNetworkStickyActionEventObjectException] socialNetwork is required for socialnetworkstickyevent (L'Oréal guideline)",e),new s.dt("socialNetwork is required for socialnetworkstickyevent (L'Oréal guideline)");this.result.ecommerce=void 0}set socialNetwork(e){this.result.socialNetwork=this.setProperty(e)}get socialNetwork(){return this.result.socialNetwork}}},6613:function(e,t,i){"use strict";i.d(t,{Y:function(){return s}});let s=!1},6754:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var s=i(8717),r=i(1209),a=i(3968),n=i(18);class o extends a.A{constructor(e){if(super("productClick",e),this.category="Ecommerce",e.category&&r.A.warn(`[AnalyticsProductClickObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Product Click",e.action&&r.A.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.list=e.products&&e.products[0].list?e.products[0].list:"no value found",!e.products||0===e.products.length)throw r.A.error("[AnalyticsProductClickObjectException] Product is required for productClick",e),new s.WL("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",this.result.product_info=this.result.eventLabel||""}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,!0)}set value(e){this.result.eventValue=this.setProperty(e)}set products(e){e=e.map(e=>new n.A(e).toObject()),this.initEcommerce(),this.result.ecommerce.click.products=e,delete this.result.ecommerce.click.products[0].list}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)}}}},7061:function(e,t,i){"use strict";i.d(t,{A:function(){return g}});var s=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"carousel__pagination",attrs:{"data-qa":"cl-p"}},e._l(e.paginationItems,function(i,s){return t("pagination-item",{key:i,class:{full:e.autoplay&&!e.isNavigationUse&&i-1<e.currentPage&&i-1!==e.paginationItems-1,"is-active":s===e.currentPage},attrs:{"current-page":e.currentPage,"item-page":i-1,interval:e.interval,autoplay:e.autoplay,"data-qa":`cl-p-item${i}`,"is-paused":e.isPaused,"is-animation-enabled":e.isAnimationEnabled,"aria-current":s===e.currentPage,"slide-text":e.slideText,"go-to-slide-aria-label":e.goToSlideAriaLabel},nativeOn:{click:function(t){return e.selectSlide(i)}}})}),1)},r=[],a=function(){var e=this,t=e._self._c;return t("li",{staticClass:"carousel__pagination-item",class:{full:e.activePagination}},[t("span",{ref:"paginationProgress",staticClass:"carousel__pagination-progress",class:[e.setProgressAnimation,e.pauseProgressAnimation],style:e.progressAnimation}),e._v(" "),t("button",{attrs:{"aria-label":`${e.goToSlideAriaLabel}${e.slideNumber}`}},[t("span",{staticClass:"is-sr-only"},[e._v(e._s(e.slideText)+" "+e._s(e.slideNumber))])])])},n=[],o={name:"PaginationItem",props:{goToSlideAriaLabel:{type:String,default:""},currentPage:{type:Number,default:0},itemPage:{type:Number,default:0},interval:{type:Number,default:3e3},autoplay:{type:Boolean,default:!1},isPaused:{type:Boolean},isAnimationEnabled:{type:Boolean},roleDescriptionText:{type:String,default:"Slide"},slideText:{type:String,default:"Slide"}},computed:{activePagination(){return!this.autoplay||!this.isAnimationEnabled&&this.currentPage===this.itemPage},progressAnimation(){const e={"animation-duration":`${this.interval}ms`};return this.autoplay&&this.itemPage===this.currentPage?e:null},setProgressAnimation(){return this.isAnimationEnabled&&this.autoplay&&this.itemPage===this.currentPage?"play-progress":null},pauseProgressAnimation(){return this.isPaused?"pause-progress":null},slideNumber(){return this.itemPage+1}}},l=o,c=i(1656),d=(0,c.A)(l,a,n,!1,null,null,null),u=d.exports,h={name:"Pagination",components:{PaginationItem:u},props:{goToSlideAriaLabel:{type:String,default:""},paginationItems:{type:Number,default:0},currentPage:{type:Number,default:0},interval:{type:Number,default:3e3},autoplay:{type:Boolean,default:!1},isPaused:{type:Boolean},isAnimationEnabled:{type:Boolean},slideText:{type:String,default:"Slide"}},data(){return{isNavigationUse:!1}},mounted(){this.$root.$on("clickNavigation",()=>{this.isPaused&&(this.isNavigationUse=!0)})},beforeDestroy(){this.$root.$off("clickNavigation")},methods:{selectSlide(e){this.isNavigationUse=!1,this.currentPage===e-1?this.$emit("isPausedCarousel",!this.isPaused):(this.$emit("isPausedCarousel",!1),this.$emit("selectPagination",e-1))}}},p=h,m=(0,c.A)(p,s,r,!1,null,null,null),g=m.exports},7488:function(e,t,i){"use strict";i.d(t,{RZ:function(){return o},hH:function(){return n}});var s=i(1813),r=i(3547);const a=(e,t)=>{if("string"===typeof e)return e;const i=t||document.documentElement.clientWidth,s=Object.keys(e).reverse(),r=s.filter(e=>i>=e).shift();return e[r]},n={name:"srcset",inserted:(e,t)=>{const i=()=>{const i=a(t.value),s=e.tagName.toLowerCase();if("img"!==s){e.style.backgroundImage=`url('${i}')`;const t=e.querySelector("img");t&&(t.src=i)}else if(e.src=i,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,s.YJ)(e,{checkIsVisible:!1}).then(()=>{i(),e.listener=(0,r.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=a(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,s.YJ)(e,{checkIsVisible:!1}).then(()=>{t(),e.listener=(0,r.s)(t,200),window.addEventListener("resize",e.listener),setTimeout(()=>{e.classList.add("-loaded")},100)})},unbind(e){e.listener&&window.removeEventListener("resize",e.listener)}}},7551:function(e,t,i){"use strict";i.d(t,{A:function(){return c}});var s=function(){var e=this,t=e._self._c;return t("div",{class:["simple-popup-wrapper",{"simple-popup-wrapper--open":!e.hide}]},[t("div",{staticClass:"simple-popup-overlay",on:{click:function(t){return e.$emit("closed",!0)}}}),e._v(" "),t("transition",{attrs:{name:"slide"}},[e.hide?e._e():t("div",{ref:"simplePopup",class:["simple-popup",{"simple-popup--aside":e.aside}],attrs:{role:"dialog","aria-modal":"true","aria-labelledby":"simple-popup-description"}},[t("header",{attrs:{id:"simple-popup-description"}},[e.$slots.heading?e._t("heading"):t("span",{staticClass:"isSrOnly"},[e._v("\n "+e._s(e.title)+"\n ")])],2),e._v(" "),e._t("default"),e._v(" "),e._t("close")],2)])],1)},r=[],a={name:"SimplePopup",props:{open:{type:Boolean,required:!0},showClose:{type:Boolean,required:!1},hideOverflow:{type:Boolean,required:!1,default:!0},aside:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:""}},data(){return{lastFocused:null,triggerBtn:null,hide:!0}},watch:{open:function(e){this.removeEvents(),this.handleOpenModal(e),this.handleCloseModal(e)}},mounted(){this.hide=!this.open},methods:{handleOpenModal(e){e&&(this.hide=!1,this.triggerBtn=document.activeElement,this.setOverflow("hidden"),this.addEvents(),this.focusFirstElement())},handleCloseModal(e){e||(this.setOverflow("inherit"),this.hide=!0,this.triggerBtn&&(this.triggerBtn.focus(),this.removeEvents()))},addEvents(){document.addEventListener("focusin",this.changeFocus),document.addEventListener("keyup",this.closeModal)},removeEvents(){document.removeEventListener("focusin",this.changeFocus),document.removeEventListener("keyup",this.closeModal)},focusFirstElement(){this.$nextTick(()=>{const e=this.getFocusableElements(this.$refs.simplePopup);return e[0]?e[0].focus():null})},closeModal(e){"Escape"===e.key&&(this.$emit("closed",!0),this.setOverflow("inherit"))},setOverflow(e){return"hidden"===e?document.body.classList.add("noScroll"):document.body.classList.remove("noScroll")},changeFocus(){let e=document.activeElement;if(e!==this.lastFocused||!e){const t=this.getFocusableElements(this.$refs.simplePopup);e=this.getNewFocusable(t,e),this.$nextTick(()=>{this.lastFocused=e,e.focus()})}},getNewFocusable(e,t){return e.indexOf(t)>-1?t:this.lastFocused===e[0]?e[e.length-1]:e[0]},getFocusableElements(e){if(e)return[].slice.call(e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not
1([tabindex="-1"])'))}}},n=a,o=i(1656),l=(0,o.A)(n,s,r,!1,null,null,null),c=l.exports},7830:function(e,t,i){"use strict";i.d(t,{A:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("div",{ref:"player",staticClass:"youtube-video",class:[e.stateClass,{initialised:e.initialised},{active:e.activeClass}],attrs:{"data-qa":"yt"}},[e._t("poster",function(){return[t("img",{directives:[{name:"srcset",rawName:"v-srcset",value:`https://i.ytimg.com/vi/${e.videoId}/mqdefault.jpg`,expression:"`https://i.ytimg.com/vi/${videoId}/mqdefault.jpg`"}],attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",alt:e.videoName}})]}),e._v(" "),e._t("title"),e._v(" "),e.isShowPlayButton?t("button",{staticClass:"video-promo__trigger",attrs:{role:"button","aria-label":e.playVideoLabel+" "+e.videoName,"data-qa":"vp-trigger","data-ytid":"1aoE8RVOcQ4"},on:{click:e.initialisePlayer}},[e._t("playbutton",function(){return[t("svg",{staticClass:"icon icon--play",attrs:{role:"img",viewBox:"0 0 60 60","aria-hidden":"true",width:"60",height:"60"}},[t("path",{attrs:{d:"M30,0c16.6,0,30,13.4,30,30S46.6,60,30,60S0,46.6,0,30S13.4,0,30,0z"}}),e._v(" "),t("path",{attrs:{d:"M40,29.5L23,41V18L40,29.5z"}})])]})],2):e._e(),e._v(" "),e.isCloseButton?t("button",{ref:"closeVideoButton",staticClass:"clear-button",attrs:{"data-qa":"yt-clear","aria-label":e.closeVideoLabel},on:{"~click":function(t){return e.destroyYT.apply(null,arguments)}}},[t("svg",{staticClass:"icon icon--close",attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-close",href:"#icon-close"}})])]):e._e(),e._v(" "),t("div",{staticClass:"yt-overlay",on:{click:e.togglePlay}}),e._v(" "),e.initialised?t("div",{staticClass:"video-promo__yt",attrs:{id:e.playerId,"data-qa":"vp-yt","aria-label":e.iframeLabel}}
1):e._e(),e._v(" "),e.videoId&&!e.hideStructuredData?t("script",{attrs:{type:"application/ld+json"}},[e._v("\n "+e._s(e.sdString)+"\n ")]):e._e()],2)},r=[],a=i(7488),n=i(4017),o=i(9878),l={name:"YoutubeVideo",directives:{srcset:a.hH,lazy:a.RZ},props:{videoId:{required:!0,type:String},videoName:{type:String,default:"undefined"},duration:{type:String,default:"undefined"},description:{type:String,default:"undefined"},uploadDate:{type:String,default:"undefined"},playVideoLabel:{type:String,default:""},closeVideoLabel:{type:String,default:""},event:{type:String,default:"uaevent"},eventcategory:{type:String,default:"videos"},isShowPlayButton:{type:Boolean,default:!0},isShowCloseButton:{type:Boolean,default:!1},youtubeHostUrl:{type:String,default:"https://www.youtube.com"},isMuted:{type:Number,default:1},isControls:{type:Number,default:0},disableKb:{type:Number,default:1},iframeLabel:{type:String,default:""},playButtonTagging:{type:Object,default:null},modestBranding:{type:Number,default:1},withOverlay:{type:Boolean,default:!1},hideStructuredData:{type:Boolean,default:!1},isRelatedPause:{type:Boolean,default:!0},customPlayButtonSelector:{type:String,default:null},embedUrl:{type:String,default:null}},data(){return{playerId:`youtube-${this.videoId}-${Date.now()}`,player:null,initialised:!1,activeClass:!1,scriptTag:null,sdString:null,playerState:-1,startedAfterPause:!1}},computed:{isCloseButton(){return this.initialised&&this.isShowCloseButton},stateClass(){switch(this.playerState){case-1:return"unstarted";case 0:return"ended";case 1:return"playing";case 2:return"paused";case 3:return"buffering";default:return""}}},watch:{playerState(){this.activeClass=!0,setTimeout(()=>this.activeClass=!1,3e3)}},mounted(){this.addScriptTag(),this.structuredData(),n.B.$on("youtube-destroy-video",()=>this.destroyYT()),n.B.$on("youtube-pause-video",()=>this.pauseVideo()),n.B.$on("youtube-relative-pause-video",()=>{this.startedAfterPause||this.pauseVideo()}),n.B.$on("youtube-play-video",()=>this.playVideo()),this.customPlayButtonSelector&&this.$nextTick(()=>{this.$refs.player.querySelector(`.${this.customPlayButtonSelector}`)?.addEventListener("click",()=>{this.initialisePlayer()})})},methods:{sendPlayButtonTagging(){const e={...this.playButtonTagging};Object.keys(e).length&&o.Xj.pushDataLayer(e)},togglePlay(){return 1===this.playerState&&this.pauseVideo(),2===this.playerState&&this.playVideo(),!1},onPlayerStateChange(e){const t=this.playerState;this.playerState=e.data,this.startedAfterPause=3===t&&1===this.playerState,this.isRelatedPause&&this.startedAfterPause&&(n.B.$emit("youtube-relative-pause-video"),setTimeout(()=>{this.startedAfterPause=!1},1e3))},focusCloseButton(){setTimeout(()=>{this.$refs.closeVideoButton.focus()},500)},addScriptTag(){if(!this.videoId)return!1;this.scriptTag=document.createElement("script"),document.body.appendChild(this.scriptTag),this.scriptTag.src="https://www.youtube.com/iframe_api",this.scriptTag.defer=!0},initialisePlayer(){this.isRelatedPause&&n.B.$emit("youtube-pause-video"),this.setupPlayerAndBindToEvents(),this.initialised=!0;const e=setInterval(()=>{this.initialised?this.player&&this.player.playVideo&&(clearInterval(e),this.player.playVideo(),this.$emit("onPlayerInit")):clearInterval(e)},250);this.sendPlayButtonTagging()},setupPlayerAndBindToEvents(){this.setupYT().then(()=>{this.player=new YT.Player(this.playerId,{playerVars:{autoplay:1,showinfo:0,rel:0,modestbranding:this.modestBranding,loop:1,playlist:this.videoId,disablekb:this.disableKb,controls:this.isControls,mute:this.isMuted},events:{onStateChange:this.onPlayerStateChange},videoId:this.videoId,host:this.youtubeHostUrl})})},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)})},destroyYT(){this.initialised=!1,this.$emit("onPlayerDestroy"),this.player?.destroy(),this.player=null},structuredData(){this.hideStructuredData||(this.sdString=JSON.stringify({"@context":"http://schema.org","@type":"VideoObject",name:this.videoName,description:this.description,thumbnailUrl:["https://i.ytimg.com/vi/"+this.videoId+"/mqdefault.jpg"],uploadDate:this.uploadDate,duration:this.duration,contentUrl:"https://www.youtube.com/watch?v="+this.videoId,embedUrl:this.embedUrl},null,2))},pauseVideo(){this.player&&this.player.playVideo&&this.player.pauseVideo()},playVideo(){this.player&&this.player.playVideo&&this.player.playVideo()},getPlayerStateHandler(){if(this.player&&this.initialised&&this.player.getPlayerState)return this.player.getPlayerState()}}},c=l,d=i(1656),u=(0,d.A)(c,s,r,!1,null,null,null),h=u.exports},8291:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var s=i(8717),r=i(1209),a=i(3968),n=i(18);class o extends a.A{constructor(e){if(super("nievent",e),this.category="Ecommerce",e.category&&r.A.warn(`[AnalyticsProductImpressionObjectException] Category always defaults to "Ecommerce" (L'Oréal guideline), currently [${e.category}] was provided`,e,!1),this.action="Product Impressions",e.action&&r.A.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.filterType&&(this.filterType=e.filterType),e.currency&&(this.currency=e.currency),!e.products||0===e.products.length)throw r.A.error("[AnalyticsProductImpressionObjectException] Product(s) are required for a productImpression",e),new s.vR("Product(s) are required for a productImpression")}initEcommerce(){this.result.ecommerce=this.result.ecommerce||{},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,!0)}set filterType(e){this.result.filter_type=this.setProperty(e,!0)}set value(e){this.result.eventValue=this.setProperty(e)}set currency(e){this.initEcommerce(),this.result.ecommerce.currencyCode="none"===e?this.setProperty(e):this.setProperty(e).toUpperCase()}set products(e){this.initEcommerce(),this.result.ecommerce.impressions=e.map(e=>new n.A(e).toObject())}get products(){return this.result.ecommerce&&this.result.ecommerce.impressions||[]}}},8717:function(e,t,i){"use strict";function s(e){this.message=e,this.name="AnalyticsException",this.toString=()=>`${this.name}: ${this.message}`}function r(e){this.message=e,this.name="AnalyticsUserActionEventObjectException",this.toString=()=>`${this.name}: ${this.message}`}function a(e){this.message=e,this.name="AnalyticsSocialActionEventObjectException",this.toString=()=>`${this.name}: ${this.message}`}function n(e){this.message=e,this.name="AnalyticsSocialNetworkStickyActionEventObjectException",this.toString=()=>`${this.name}: ${this.message}`}function o(e){this.message=e,this.name="AnalyticsNonInteractiveEventObjectException",this.toString=()=>`${this.name}: ${this.message}`}function l(e){this.message=e,this.name="AnalyticsProductImpressionObjectException",this.toString=()=>`${this.name}: ${this.message}`}function c(e){this.message=e,this.name="AnalyticsProductDetailObjectException",this.toString=()=>`${this.name}: ${this.message}`}function d(e){this.message=e,this.name="AnalyticsProductClickObjectException",this.toString=()=>`${this.name}: ${this.message}`}function u(e){this.message=e,this.name="AnalyticsPromotionClickObjectException",this.toString=()=>`${this.name}: ${this.message}`}function h(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 m(e){this.message=e,this.name="AnalyticsTagDirectiveException",this.toString=()=>`${this.name}: ${this.message}`}function g(e){this.message=e,this.name="AnalyticsPromotionImpressionObjectException",this.toString=()=>`${this.name}: ${this.message}`}
1function v(e){this.message=e,this.name="AnalyticsShadeSelectionObjectException",this.toString=()=>`${this.name}: ${this.message}`}function y(e){this.message=e,this.name="AnalyticsChannelAdvisorObjectException",this.toString=()=>`${this.name}: ${this.message}`}i.d(t,{A7:function(){return s},CZ:function(){return h},Gf:function(){return a},I4:function(){return o},IK:function(){return y},N_:function(){return c},Qv:function(){return p},UJ:function(){return u},WL:function(){return d},ZB:function(){return m},dt:function(){return n},id:function(){return v},mf:function(){return r},pL:function(){return g},vR:function(){return l}})},8973:function(e,t,i){"use strict";var s=i(6613),r=i(1813),a=i(1887);const n=e=>Object.keys(e).reduce((t,i)=>(t[i]=e[i]||"none",t),{}),o="productImpression";t.A={handleEvent(e,t,i,s,a){t.__tagEventData=i;const n=e=>{const r=t.__tagEventData||i;a?e.target.closest("a")&&(r.label=e.target.closest("a").textContent,this.createDataAndPush(t,r,s)):this.createDataAndPush(t,r,s)};"click"===e?t.addEventListener("click",n):(0,r.YJ)(t).then(n)},getProductInfoFromDom(){const e=document.querySelector(".component--product-description"),t=document.querySelector(".shade-selector__input:checked"),i=t?.getAttribute("data-product-reference-name")||e?.querySelector("[data-tag-product-name]")?.getAttribute("data-tag-product-name"),s=t?.getAttribute("data-variant-ean");return i&&s?`${i}::${s}`:`${i}::`||null},createDataAndPush(e,t,i){let r=i?this.createDataObjectBasedOnDom(e.closest("[data-tag-wrapper]"),t):{...t};if("userActionEvent"===r.type&&e.classList?.contains("product__collection-name")){const e=this.getProductInfoFromDom();e&&(r={...r,product_info:e})}if("socialnetworkstickyevent"===t.type)window.dataLayer.push({event:t.event.toLowerCase(),ecommerce:t.ecommerce.toLowerCase(),event_name:t.event_name.toLowerCase(),social_network:t.social_network.toLowerCase(),eventCategory:t.category.toLowerCase(),eventAction:t.action.toLowerCase(),eventLabel:t.label.toLowerCase()});else try{a.Xj.getAnalyticsHandler().push(r)}catch(n){throw s.Y&&(e.setAttribute("data-error",n.message),e.classList.add("accessibilityError")),n}},getValue(e,t,i){const s=e.getAttribute(`data-tag-${i}`);return s&&""!==s?s: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){let i=["category","action","label"];t.type===o&&(i=i.filter(e=>!t[e]));const s=this.getTagValues(e,i),r=this.getTagValues(e,["variant","dimension36","dimension48","dimension91","id"]);if("productClick"===t.type||t.type===o||"productDetail"===t.type||"shadeSelection"===t.type){const i=e.querySelectorAll("[data-tag-product-identifier]");s.products=[];for(const a of i)s.products.push(this.createDataForProduct(a,e,t,{...s,...r}))}if(t.type===o||"productDetail"===t.type||"shadeSelection"===t.type){const t=e.getAttribute("data-root-tagging-data")?JSON.parse(e.getAttribute("data-root-tagging-data")):null;s.rootTaggingData=t}if("promotionClick"===t.type||"promotionImpression"===t.type||"productDetail"===t.type){const t=e.querySelectorAll("[data-tag-promotion-identifier]");s.promotions=[];for(const e of t)s.promotions.push(this.createDataForPromotion(e))}return{...t,...s,...r}},createDataForProduct(e,t,i,s){function r(e,t){return e||t}const a=this.getValue(t,"[data-tag-product-currency]","product-currency"),l=this.getValue(e,"[data-tag-product-name]","product-name"),c=r(this.getValue(e,"[data-tag-product-id]","product-id"),i.id),d=this.getValue(e,"[data-tag-product-category]","product-category"),u=this.getValue(e,"[data-tag-product-brand]","product-brand"),h=this.getValue(e,"[data-tag-product-price]","product-price"),p=r(this.getValue(e,"[data-tag-product-variant]","product-variant"),i.variant),m=this.getValue(e,"[data-tag-product-position]","product-position"),g=this.getValue(e,"[data-tag-product-list]","product-list"),v=this.getValue(e,"[data-tag-product-url]","product-url"),y=r(this.getValue(e,"[data-tag-product-dimension36]","product-dimension36"),i.dimension36),f=r(this.getValue(e,"[data-tag-product-dimension38]","product-dimension38"),i.dimension38),b=r(this.getValue(e,"[data-tag-product-dimension48]","product-dimension48"),i.dimension48),w=this.getValue(e,"[data-tag-product-dimension49]","product-dimension49"),A=this.getValue(e,"[data-tag-product-dimension
159]","product-dimension59"),C=r(this.getValue(e,"[data-tag-product-dimension91]","product-dimension91"),i.dimension91),_=this.getValue(e,"[data-tag-product-impression-dimension91]","product-impression-dimension91");function S(){const{type:e}=i;if(e===o||"productDetail"===e||"productClick"===e)return g}return a&&(s.currency=a),"productClick"===i.type&&g&&(s.list=g),"productClick"===i.type&&v&&(s.url=v),n({name:l,id:c,category:d,brand:u,price:h,currency:a,variant:p,..."shadeSelection"!==i.type?{position:m}:"",..."shadeSelection"!==i.type?{list:S()}:{},dimension36:y,dimension38:f,dimension48:b,dimension49:w,dimension59:A,dimension91:i.type===o&&(_||C)||("productClick"===i.type||"shadeSelection"===i.type)&&C,url:"productDetail"===i.type&&v})},createDataForPromotion(e){const t=this.getValue(e,"[data-tag-promotion-name]","promotion-name"),i=this.getValue(e,"[data-tag-promotion-id]","promotion-id"),s=this.getValue(e,"[data-tag-promotion-creative]","promotion-creative"),r=this.getValue(e,"[data-tag-promotion-position]","promotion-position");return n({name:t,id:i,creative:s,position:r})}}},9746:function(){},9878:function(e,t,i){"use strict";i.d(t,{Xj:function(){return s.Xj},Ay:function(){return l},Tc:function(){return o}});var s=i(1887),r=(i(5694),i(4262),i(6754),i(8291),i(18),i(4068),i(2252),i(5778),i(6575),i(806),i(5442)),a=i(8717),n=i(8973);const o={name:"tag",inserted:(e,t)=>{const{arg:i,value:s={},modifiers:o}=t;let l="click";if(!i)throw new a.ZB(`No argument given to v-tag. Example usage: v-tag:event="{category: 'video', action: 'play', label: 'video.mp4'}}". Argument options: ${r.Wy.join(", ").toLowerCase()}`);if(!(0,r.Gx)(i))throw new a.ZB(`v-tag argument [${i}] to v-tag is wrong. Argument options: ${r.Wy.join(", ").toLowerCase()}`);switch(i){case"productimpression":s.type="productImpression",l="impression";break;case"productdetail":s.type="productDetail",l="detail";break;case"productclick":s.type="productClick";break;case"socialactionevent":s.type="socialactionevent";break;case"socialnetworkstickyevent":s.type="socialnetworkstickyevent";break;case"promotionclick":s.type="promotionClick";break;case"promotionimpression":s.type="promotionImpression",l="impression";break;case"shadeselection":s.type="shadeSelection";break;case"useractionevent":default:s.type="userActionEvent",l=o.onload?"impression":l;break}Array.isArray(s)?s.forEach(i=>{i.type=s.type,n.A.handleEvent(l,e,i,"dom"in t.modifiers,"label"in t.modifiers)}):n.A.handleEvent(l,e,s,"dom"in t.modifiers,"label"in t.modifiers)}};var l={directives:{tag:o}}},9977:function(){}},t={};function i(s){var r=t[s];if(void 0!==r)return r.exports;var a=t[s]={exports:{}};return e[s].call(a.exports,a,a.exports,i),a.exports}i.m=e,function(){var e=[];i.O=function(t,s,r,a){if(!s){var n=1/0;for(d=0;d<e.length;d++){s=e[d][0],r=e[d][1],a=e[d][2];for(var o=!0,l=0;l<s.length;l++)(!1&a||n>=a)&&Object.keys(i.O).every(function(e){return i.O[e](s[l])})?s.splice(l--,1):(o=!1,a<n&&(n=a));if(o){e.splice(d--,1);var c=r();void 0!==c&&(t=c)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[s,r,a]}}(),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 s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce(function(t,s){return i.f[s](e,t),t},[]))}}(),function(){i.u=function(e){return"js/"+{71:"one-trust-cookie",176:"custom-scroll",287:"animated-counter",311:"copy-card",364:"new-transporter-slider",450:"whats-new-module",462:"copy-card-carousel",505:"multi-image-carousel",608:"sfmc",647:"hero-youtube",664:"renderless-snap-carousel",677:"copy-text-module",688:"redirect-button",841:"third-parties",884:"dsf-app",956:"hero-carousel-slide-wrapper"}[e]+"."+{71:"e911588a",176:"a8ee2d8a",287:"3937004e",311:"dceb883b",364:"d9250af6",450:"ccfa066c",462:"dee876ac",505:"359f2d1c",608:"53a1c35e",647:"5db2e591",664:"7c5f9f9b",677:"d2506da2",688:"2829aa2e",841:"6bb61819",884:"b38dd7a9",956:"2f3d814c"}[e]+".js"}}(),function(){i.miniCssF=function(e){return"css/"+{176:"custom-scroll",287:"animated-counter",311:"copy-card",364:"new-trans
1porter-slider",450:"whats-new-module",462:"copy-card-carousel",505:"multi-image-carousel",647:"hero-youtube",677:"copy-text-module",841:"third-parties",956:"hero-carousel-slide-wrapper"}[e]+"."+{176:"6e5f27cf",287:"cfd585fb",311:"4595be16",364:"e41be443",450:"de9ef3a0",462:"342147f2",505:"f896e516",647:"bbf31ca6",677:"a124b294",841:"6d59acfa",956:"d57cc3be"}[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-mny:";i.l=function(s,r,a,n){if(e[s])e[s].push(r);else{var o,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==s||u.getAttribute("data-webpack")==t+a){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+a),o.src=s),e[s]=[r];var h=function(t,i){o.onerror=o.onload=null,clearTimeout(p);var r=e[s];if(delete e[s],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(i)}),t)return t(i)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=h.bind(null,o.onerror),o.onload=h.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,s,r,a){var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",i.nc&&(n.nonce=i.nc);
1var o=function(i){if(n.onerror=n.onload=null,"load"===i.type)r();else{var s=i&&i.type,o=i&&i.target&&i.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+o+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=s,l.request=o,n.parentNode&&n.parentNode.removeChild(n),a(l)}};return n.onerror=n.onload=o,n.href=t,s?s.parentNode.insertBefore(n,s.nextSibling):document.head.appendChild(n),n},t=function(e,t){for(var i=document.getElementsByTagName("link"),s=0;s<i.length;s++){var r=i[s],a=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(a===e||a===t))return r}var n=document.getElementsByTagName("style");for(s=0;s<n.length;s++){r=n[s],a=r.getAttribute("data-href");if(a===e||a===t)return r}},s=function(s){return new Promise(function(r,a){var n=i.miniCssF(s),o=i.p+n;if(t(n,o))return r();e(s,o,null,r,a)})},r={962:0};i.f.miniCss=function(e,t){var i={176:1,287:1,311:1,364:1,450:1,462:1,505:1,647:1,677:1,841:1,956:1};r[e]?t.push(r[e]):0!==r[e]&&i[e]&&t.push(r[e]=s(e).then(function(){r[e]=0},function(t){throw delete r[e],t}))}}}(),function(){var e={962:0};i.f.j=function(t,s){var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)s.push(r[2]);else{var a=new Promise(function(i,s){r=e[t]=[i,s]});s.push(r[2]=a);var n=i.p+i.u(t),o=new Error,l=function(s){if(i.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var a=s&&("load"===s.type?"missing":s.type),n=s&&s.target&&s.target.src;o.message="Loading chunk "+t+" failed.\n("+a+": "+n+")",o.name="ChunkLoadError",o.type=a,o.request=n,r[1](o)}};i.l(n,l,"chunk-"+t,t)}},i.O.j=function(t){return 0===e[t]};var t=function(t,s){var r,a,n=s[0],o=s[1],l=s[2],c=0;if(n.some(function(t){return 0!==e[t]})){for(r in o)i.o(o,r)&&(i.m[r]=o[r]);if(l)var d=l(i)}for(t&&t(s);c<n.length;c++)a=n[c],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return i.O(d)},s=self["webpackChunkwsf_master_mny"]=self["webpackChunkwsf_master_mny"]||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))}(),i.O(void 0,[812,471,889,708,983,485,172,820,501,852,660,879,680,171,529,8,670,919],function(){return i(2493)});var s=i.O(void 0,[812,471,889,708,983,485,172,820,501,852,660,879,680,171,529,8,670,919],function(){return i(5281)});s=i.O(s)})();
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.