1"use strict";(self.webpackChunkbabel_seed_project=self.webpackChunkbabel_seed_project||[]).push([[4764,2626,3718,2745],{4008:function(e,t,o){o.r(t),o.d(t,{default:function(){return r}});var n=o(2126),a=o(8248),s=o(4092);class r{constructor(e){this.options={component:'[data-component="MainNavigation"]',...e},this.$component=document.querySelector(this.options.component)}init(){if(!this.$component)return;const e=window.matchMedia("(min-width: 1025px)"),t=this.$component.querySelector(".header-country .btn-global"),o=this.$component.querySelector(".btn.hamburger"),r=this.$component.querySelectorAll(".btn.mobile-close"),i=this.$component.querySelector(".btn.mobile-back"),l=this.$component.querySelector(".country-nav"),c=this.$component.querySelector(".header-expander"),d=this.$component.querySelector(".header-logo img"),u="true"===this.$component.dataset.enableTracking,h=this.$component.dataset?.layout,m=this.$component.hasAttribute("no-country-market"),p=this.$component.classList.contains("hide-header-when-scrolling"),g="active",f="overflow-hidden",y="logo-scrolled",w="expand";function b(e,t,o){const n=Array.from(t).find((e=>e.classList.contains("active")||e.classList.contains("active-item")))||"EN";for(let t of o)if(t.contains(e.target)){const e={event:"change_language",change_to:t.dataset.languageCode,change_from:n.dataset?.languageCode||"EN"};return void s.default.pushToDataLayer(e)}}t&&t.addEventListener("click",(()=>{t.classList.toggle(g),document.body.classList.add(f)})),o&&o.addEventListener("click",(()=>{o.addClass(g),document.body.addClass(f)})),i&&i.addEventListener("click",(()=>{t.removeClass(g),e&&document.body.removeClass(f)})),r&&r.length>0&&r.forEach((e=>{e.addEventListener("click",(()=>{o.removeClass(g),document.body.removeClass(f)}))})),s.default.handleClickOutside(l,[t],(()=>{t&&t.hasClass(g)&&(t.removeClass(g),document.body.removeClass(f))})),u&&document.addEventListener("click",(function(e){if(u&&l){const t="layout2"===h,o=l?.querySelector(".country-nav-bottom a"),n=l?.querySelectorAll(".country-nav-col"),a=n&&n.length>0?n[0]:l.querySelector(".country-group"),r=n&&n.length>1?n[1]:l.querySelector(".country-list"),i=t?a?.querySelectorAll("a.country-item"):a?.querySelectorAll("ul a"),c=t?r?.querySelectorAll("a.country-item"):r?.querySelectorAll("ul li");if(m){const t=r?.querySelectorAll("li");return void b(e,t,new Set(t))}if(!a&&!r||!i&&!c)return;const d=o?[...i,...o?[o]:[]]:i,u=new Set(d),p=new Set(c);!function(e,t,o){const n=t&&Array.from(t).find((e=>e.classList.contains("active")||e.classList.contains("active-item")))||"Global";for(let t of o)if(t.contains(e.target)){const e={event:"change_market",change_to:t.dataset?.countryCode||"Global",change_from:n.dataset?.countryCode||"Global"};return void s.default.pushToDataLayer(e)}}(e,i,u),b(e,c,p)}})),p&&window.addEventListener("scroll",(0,n.default)((function(){a.default.toggleHeader()}),200)),window.addEventListener("resize",(function(n){const a=s.default.checkMedia(e);document.body.hasClass(f)&&document.body.removeClass(f),a?t&&t.hasClass(g)&&document.body.addClass(f):o&&o.hasClass(g)&&document.body.addClass(f)}),!0),document.addEventListener("scroll",(()=>{window.scrollY>0?(d&&!d.hasClass(y)&&d.addClass(y),c&&c.hasClass(w)&&c.removeClass(w)):(d&&d.hasClass(y)&&d.removeClass(y),c&&!c.hasClass(w)&&c.addClass(w))})),this.scrollToHash()}scrollToHash(){const e=window.matchMedia("(min-width: 1025px)"),t=this.$component.querySelector(".btn.mobile-close");this.$component.querySelectorAll('a[href^="#"]').forEach((o=>{const n=o.getAttribute("href"),a=document.createElement("div");a.style.height=`${this.$component.offsetHeight??0}px`,a.style.position="absolute",a.style.marginTop=`-${this.$component.offsetHeight??0}px`,a.style.zIndex="-1",document.querySelector(n)?.appendChild(a),o.addEventListener("click",(o=>{o.preventDefault(),a?.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),e&&t?.click()}))}))}}},2126:function(e,t,o){o.r(t);t.default=(e,t=250)=>{let o,n=0;return(...a)=>{clearTimeout(o);const s=Date.now();s-n>t?(n=s,e(...a)):o=setTimeout((()=>{n=s,e(...a)}),t)}}},8248:function(e,t,o){o.r(t);const n={html:document.getElementsByTagName("html")[0],body:document.getElementsByTagName("BODY")[0],header:document.querySelector("header"),prevScrollpos:window.scrollY,toggleHeader(){const e=window.scrollY,t=this.header.offsetHeight;this.prevScrollpos>e||e<=0?this.header&&this.header.classList.remove("scrolling-active"):e>t&&this.header&&this.header.classList.add("scrolling-active"),this.prevScrollpos=e}};t.default=n},4092:function(e,t,o){o.r(t),o.d(t,{default:function(){return n},fbTrack:function(){return s},getMessage:function(){return a}});
1class n{static isMobile(){return navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i)}static isLeapYear(e){return 29===new Date(e,1,29).getDate()}static debounce(e,t){let o;return(...n)=>{clearTimeout(o),o=setTimeout((()=>{e.apply(this,n)}),t)}}static isValidInputNumber(e){const t=window.event?e.keyCode:e.which;return 8==t||9==t||46==t||37==t||39==t||!(t<48||t>57&&t<96||t>105)}static pauseInvisibleVideos(e){e.querySelectorAll("video").forEach((e=>{n.elementIsVisibleInViewport(e,!0)||e.paused||e.pause()}))}static pauseVideos(e){e.querySelectorAll("video").forEach((e=>{e.paused||e.pause()}))}static pauseInvisibleYouTubeIframes(e){e.querySelectorAll("iframe").forEach((e=>{e.src.includes("youtube.com/embed")&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}static elementIsVisibleInViewport=(e,t=!1)=>{const{top:o,left:n,bottom:a,right:s}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:i}=window;return t?(o>0&&o<r||a>0&&a<r)&&(n>0&&n<i||s>0&&s<i):o>=0&&n>=0&&a<=r&&s<=i};static checkMedia=e=>!!e.matches;static isFixedPosition=e=>{for(;e&&"body"!==e.nodeName.toLowerCase();){if(window.getComputedStyle(e).getPropertyValue("position").match(/fixed|sticky/i))return!0;e=e.parentNode}return!1};static isNotHidden=e=>{for(;e&&"body"!==e.nodeName.toLowerCase();){if("none"!==window.getComputedStyle(e).getPropertyValue("display")&&"0"!==window.getComputedStyle(e).getPropertyValue("opacity"))return!0;e=e.parentNode}return!1};static throttle=(e,t)=>{let o=null;return(...n)=>{null===o?(e(...n),o=setTimeout((()=>{o=null}),t)):n[0].preventDefault()}};static scrollToBlock=(e,t=null)=>{e&&(Number.isInteger(t)&&(e.style.scrollMargin=`${t}px`),e.scrollIntoView({block:"start",behavior:"smooth"}))};static cloneAndAppendElement=(e,t,o={})=>{const{deepClone:n=!0,modifyClone:a=null,modifyTarget:s=null,newId:r=null,addClassesToClone:i=[],addClassesToTarget:l=[],addClassesToSource:c=[]}=o;if(!e)return;const d=e.cloneNode(n);return r&&(d.id=r),Array.isArray(i)&&i.length>0&&d.classList.add(...i),"function"==typeof a&&a(d),t?(Array.isArray(l)&&l.length>0&&t.classList.add(...l),Array.isArray(c)&&c.length>0&&e.classList.add(...c),"function"==typeof s&&s(t),t.appendChild(d),d):void 0};static handleClickOutside=(e,t,o)=>{if(!e)return;const n=new Set(t.filter(Boolean));document.addEventListener("click",(t=>{if(!e.contains(t.target)){for(const e of n)if(e.contains(t.target))return;o()}}))};static isExternalURL=e=>{if(!e)return;const t=e=>e.replace("http://","").replace("https://","").split("/")[0];return t(location.href)!==t(e)};static isValidUrl=e=>{try{const t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}};static pushToDataLayer=e=>{"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))};static setCookie=(e,t,o)=>{const n=new Date;n.setTime(n.getTime()+24*o*60*60*1e3);const a=`expires=${n.toUTCString()}`;document.cookie=`${e}=${t}; ${a}; path=/`};static getCookie=e=>{const t=`${e}=`,o=document.cookie.split(";");for(let e=0;e<o.length;e++){let n=o[e].trim();if(0===n.indexOf(t))return n.substring(t.length)}return null};static setSessionStorage=(e,t)=>
1{sessionStorage.setItem(e,t)};static getSessionStorage=e=>sessionStorage.getItem(e);static setLocalStorage=(e,t)=>{localStorage.setItem(e,t)};static getLocalStorage=e=>localStorage.getItem(e);static contains=(e,t)=>e===t||t.contains(e);static getMikmakProductNameOrVariant=(e=!0)=>{const t=document.getElementById("mikmak_embed__header-text-above-product"),o=t?t.textContent:"";if(!o)return"";const n=o.split(",");return e?n[0]:n.slice(1).join(",").trim()};static share=async e=>{const t="string"==typeof e?{url:e}:{...e};t.files&&(t.files=t.files.filter((e=>null!=e)));try{await navigator.share(t)}catch(e){console.error("Error sharing content:",e)}};static canShare(e){const t="string"==typeof e?{url:e}:{...e};return t.files&&(t.files=t.files.filter((e=>null!=e))),navigator.canShare(t)}static createBlobFromBase64(e,t="image/png"){const o=e.replace(/^data:image\/[a-z]+;base64,/,""),n=atob(o),a=new Uint8Array(n.length);for(let e=0;e<n.length;e++)a[e]=n.charCodeAt(e);return new Blob([a],{type:t})}static createFileFromBlob(e,t="shared-image.png"){return new File([e],t,{type:e.type,lastModified:Date.now()})}}const a=(e,t)=>window.customMessageValidate&&window.customMessageValidate[e]?window.customMessageValidate[e]:t,s=(e="track",t="SubmitReceiptNow")=>{window.fbq&&window.fbq(e,t)}}}]);
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.