!function(){var e={5805:function(e,t,n){e.exports=n(8337)},8337:function(e,t,n){var o=this,l=n(9419),i=n(5938),a=n(7887),r=n(7421),c=r.DOM_ID_SELECTORS,s=r.DOM_CLASS_SELECTORS,d=n(6937),u=function(){var e=document.getElementById(c.MENU_BUTTON),t=document.getElementById(c.NAV_LIST),n=document.getElementById(c.NAV_POPOVER),r=[],u=document.getElementById(c.MOBILE_SWITCH);n&&n.classList.add("grid-enabled"),d(),u.checked&&a(),e.addEventListener("click",a),r=i(r,t),l(r,t,n);var E=document.querySelectorAll('[data-js="categories-toggle"]');function v(){var e=this;document.querySelectorAll('[data-toggle="'.concat(this.id,'"]')).forEach((function(t){t.style.display=e.checked?"block":"none"}),this)}(null==E?void 0:E.length)>0&&E.forEach((function(e){e.addEventListener("click",v)}),o);var _,y,f,S,m,p,h,g,L;_=document.querySelector(s.MENU_ELEMENT),y=document.querySelector(s.LOGO_ELEMENT),f=document.querySelector(s.NAV_ICONS),S=document.querySelector(s.NAV_LIST),m=parseInt(window.getComputedStyle(_,null).getPropertyValue("width").replace("px",""),10),p=parseInt(window.getComputedStyle(y,null).getPropertyValue("width").replace("px",""),10),h=parseInt(window.getComputedStyle(f,null).getPropertyValue("width").replace("px",""),10),g=parseInt(window.getComputedStyle(S,null).getPropertyValue("width").replace("px",""),10),L=document.querySelector(".nav-default-list .nav-default-list__item:not(.nav-default__hamburger-button)"),m li:nth-child(2) span")).color;(n[0]||"nav-default__see-more"===e.id||"how-buy__button"===e.getAttribute("data-js"))&&(e.style.boxShadow="inset 0 -2px 0 ".concat(o))}}(t,a)}))})),i()||n.addEventListener("mouseleave",(function(){!function(e){e.classList.toggle("nav-default-list--visible",!1)}(n)}))}},5938:function(e,t,n){var o=n(1721).convertHTMLCollectionToArray,l=n(7421),i=l.DOM_ID_SELECTORS,a=l.DOM_CLASS_SELECTORS;e.exports=function(e,t){var n=document.getElementById(i.SEE_MORE),l=document.getElementById(i.SALES_LINK),r=document.querySelector(a.BUTTON_BUY),c=o(t.children),s=0,d=l?l.clientWidth:0,u=r?r.clientWidth:0,E=t.clientWidth-(d+n.clientWidth+u),v=[i.HAMBURGER_BUTTON,i.SEE_MORE,i.SALES_LINK,i.BUTTON_BUY];return c.forEach((function(t,n){-1===v.indexOf(t.id)&&((n!==c.length-v.length||v?t.clientWidth+s<=E:t.clientWidth<=E)?s+=t.clientWidth:(e.push(t.textContent),t.setAttribute("style","display: none !important")))})),e.length||n.setAttribute("style","display: none !important"),e}},7887:function(e,t,n){var o=n(7421).DOM_CLASS_SELECTORS;e.exports=function(){var e=document.body,t=document.getElementById(o.RESPONSIVE_MENU),n="hidden",l="body--block-scroll",i=window.getComputedStyle(t,null).getPropertyValue("visibility");t.style.transition="0.2s",i===n?(t.style.visibility="visible",t.style.opacity="1",t.style.left="0",e.classList.add(l)):(t.style.visibility=n,t.style.opacity="0",t.style.left="-95vw",e.classList.remove(l))}},7421:function(e){e.exports={WHITESPACE_REGEX:/\s/g,DOM_ID_SELECTORS:{MENU_BUTTON:"hamburguer-menu",NAV_LIST:"nav-list",NAV_POPOVER:"popover-menu",NAV_POPOVER_LIST:"nav-popover-list",SIDEBAR_CLOSE_BUTTON:"close-sidebar-button",MOBILE_SWITCH:"mobile-categories-menu-switch",SALES_LINK:"nav-default__sale-link",SEE_MORE:"nav-default__see-more",BUTTON_BUY:"how-buy__button",HAMBURGER_BUTTON:"nav-default__hamburger-button"},DOM_CLASS_SELECTORS:{MENU_ELEMENT:".nav-default-header__bounds",LOGO_ELEMENT:".nav-default-header__title",NAV_ICONS:".nav-default-header__nav-icons",NAV_LIST:".nav-default-list",BUTTON_BUY:".how-buy__button",RESPONSIVE_MENU:"responsive-menu"}}},1721:function(e,t,n){var o=n(7421).WHITESPACE_REGEX;e.exports={getScreenSize:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},getElementWidth:function(e){return e?parseInt(e.clientWidth,10):0},setElementDisplay:function(e,t){e.style.display=t},convertHTMLCollectionToArray:function(e){return Array.prototype.slice.call(e)},removeWhiteSpace:function(e){return e.replace(o,"")},isOnPreview:function(){var e=window.location.search;return"true"===new URLSearchParams(e).get("editable")}}}},t={};var n=function n(o){var l=t[o];if(void 0!==l)return l.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}(5805),o=window;for(var l in n)o[l]=n[l];n.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})}();