function handleZIndex(e,t,r){var a,s;if("top_push_v1"===t||"top_push_sticky_v1"===t||"top_push"===t||"top_push_sticky"===t){const t=[798,838,871,1114,2348],o=null==(s=null==(a=window.Shopify)?void 0:a.theme)?void 0:s.theme_store_id;if(t.includes(o))switch(o){case 798:{const e=document.querySelector("section.drawer-menu[data-drawer-menu]"),t=document.getElementById(`${r}_background`);if(!t)return;t.style.zIndex=301;const a=new MutationObserver((r=>{for(const s of r)if("attributes"===s.type&&"class"===s.attributeName){if(!document.body.contains(t))return void a.disconnect();t.style.zIndex=(null==e?void 0:e.classList.contains("visible"))?"99":"301"}}));e&&a.observe(e,{attributes:!0,attributeFilter:["class"]});break}case 838:document.getElementById(`${r}_background`).style.zIndex=1251;break;case 871:break;case 1114:{const e=document.body,t=document.getElementById(`${r}_background`);if(!t)return;t.style.zIndex=1e6;const a=new MutationObserver((r=>{for(const s of r)if("attributes"===s.type&&"class"===s.attributeName){if(!document.body.contains(t))return void a.disconnect();t.style.zIndex=e.classList.contains("open-search")?"0":"1000000"}}));a.observe(e,{attributes:!0,attributeFilter:["class"]});break}case 2348:{const e=document.getElementById(`${r}_background`);e&&(e.style.zIndex="519");break}}else{let t=["#announcement-bar.table[data-parallax]","#PageContainer > .shopify-section.header-section.sticky-header",'body > article.header__section-wrapper[role="banner"] #shopify-section-header.section-header',"#NavDrawer",".drawer + .drawer__close","div[data-product-add-popdown-wrapper].product-add-popdown","#header-menu.drawer.header__drawer .drawer__content","#shopify-section-header.shopify-section.header--sticky",".drawer:not(.search-bar)","body > .js-slideout-overlay.site-overlay","#slideout-search-sidebar","#navBar",".header-toolbar.open-container",".navigation__container",".mobileMenu__overlay","#sidebar-cart",".SidebarMenu.Drawer","#pushy-menu",".nav-container.nav-main","#site-overlay",".mobilenav-overlay",".mobile-menu-overlay",".site-header-wrapper",".ajaxcart-draw",".overnav-overlay",".mobilemenu.dblclick","header.sticky",".nav.side-nav",'body[class^="kagami--"] .page__overlay','body[class^="focal--"] .page__overlay',"#sidebar #menu","#nav .dropdown-menu","#mobile-nav-return.mobile-nav-toggle",".main-header-wrap .main-header .mobile-dropdown",".page-header.cf + #navbar.nav-style-out",".header-cart.slide",".moTab-navigation",".cart-popup-wrapper",".mobile-nav-close","body[data-new-gr-c-s-check-loaded][data-gr-ext-installed] > #searchPopup",".mobile-nav-wrapper","#velaMenuMobile",'a[href="/cart"].dropdown_link + .cart_content',".basel-close-side",".mobile-nav-overlay",".panel-menu.mobile-main-menu","body > .page > #shopify-section-header.header__outer-wrapper","#shopify-section-popup .popup","#shopify-section-footer + .popup.js-popup",".wrap-all>.overlay","#shopify-section-header-vertical #mobile-header .mobile-header__content .mobile-menu",'aside[data-section-id="header-mobile"] .mobile-menu-container',".unero-off-canvas-layer",".site-header .mobile-navigation",".menu-mobile.navbar","#slide-side-menu",".translate-header #dropdown-cart","body > .background-overlay","header .wrapper-navigation > .main-menu.jas-mb-style",".wrapper-header #shopify-section-navigation .wrapper-navigation",".mask-overlay",".box_contentmenu_background","#search-overlay.search-overlay","nav.main-nav-bar",".header-slim__content .nav-mobile-overlay",".page__header.page__header--mobile.hide-desktop .overlay--nav",".page-wrap nav.nav-hamburger.nav-main[data-nav-main]",".\\#modal-popup","#MenuDrawer .modal__background",".predictive-search__overlay",".sf-menu-wrapper.sf-menu-wrapper-mobile",'body > a.page-shade[aria-label="Toggle menu"]',"#Cart-Drawer.side-panel.cart-drawer","body > .page-overlay","#top-search-wrapper","body > .page > #MainQuickSearch"];e<650&&t.unshift("#SiteContainer #header.header__wrapper"),e<768&&t.unshift(".cbp-spmenu.cbp-spmenu-vertical"),e<960&&t.unshift(".quick-cart__wrapper"),e<992&&t.unshift(".mobile__widget.mobile-header__nav .mobile__menu-wrapper"),e<1024&&t.unshift('.mono-produit-true [class^="mobile-type-header"]');for(let e=0;e #headerWrapper","#PageContainer:not(.page-container)",".header-wrapper.header-wrapper--sticky",'div[data-section-type="header-section"] .header-wrapper.header-wrapper--overlay',".page__container.page__container--secondary","#shopify-section-static-header .header",".off-canvas--viewport .off-canvas--main-content","#shopify-section-announcement .announcement--root",".header.sticky .relative",'body[class^="kagami--"] .page__container',"body > #page","#page-wrap-content .container + #content","#shopify-section-side-nav + .page-container","#pageheader.pageheader.nav-shift",".bodywrap.cf #shopify-section-header + #content",".header.mm-fixed-top","#content_wrapper #header.mm-fixed-top ~ .header",".has-vertical-header .is-beside-vertical-header","#header-sticky-wrapper #header",'#shopify-section-header-classic div[data-enable_sticky="false"] #header',"#mobile-header-sticky-wrapper #mobile-header","#shopify-section-header__top-bar",'a[href="#main"] + #shopify-section-announcement-bar + #shopify-section-header.mount-header > main-header.header-holder',"#shopify-section-announcement-bar","body > #shopify-section-announcement",".header-container.drawer__header-container","body > .dbtfy ~ #PageContainer.page-container > #shopify-section-announcement",".body-cont #shopify-section-header > .cont-header.header-fixed-true","#shopify-section-header","#shopify-section-side-nav + .page-container","body.boxed",'body[class*="maxmin_"]',".page-wrapper","#content-holder #content","#shopify-section-static-header + .page-body-content",".header_wrap_icon_cart header.main_header.locked","#header-ontop.header-ontop + #header.header","body",'[data-section-id="header"]'];let a;e<500&&r.unshift(".page__container #header.header.header--absolute + #main.main"),e<650&&r.unshift("#SiteContainer #MainContent.main-content"),e<740&&r.unshift("body.shifter-enabled .shifter-page.is-moved-by-drawer > #content"),e<798&&r.unshift("body.mobile_nav-fixed--true #header.mobile_nav-fixed--true",'div[data-enable_sticky="false"] #mobile-header'),e<1e3&&r.unshift(".bodywrap.cf #shopify-section-header"),e>767&&r.unshift("#page-wrap #page-wrap-content");for(var s=0;s{setTimeout((()=>{document.getElementById(`${s}_background`).style.top=""}),200)}))}}else{var o=['.header-container.drawer__header-container .header-wrapper:not([data-section-id="header"]):not(.wrapper):not(.wrapper-fluid)',".fadeout-overlay + #shopify-section-header","#shopify-section-header.header-wrapper",".site-header.is-moved-by-drawer",".site-header.full--w",'div[data-section-type="header-section"] .header-wrapper.header-wrapper--sticky','div[data-section-type="header-section"] .header-wrapper.header-wrapper--overlay',"nav.cbp-spmenu + .wrapper-container","#header-ontop.header-ontop + #header.header",".header.container-fluid.perma-sticky",".header-section.sticky-header .header-section--wrapper.overlay-header-wrapper","body[data-new-gr-c-s-check-loaded][data-gr-ext-installed]","#PageContainer div:not(.header-sticky-wrapper) > #HeaderWrapper","#PageContainer:not(.drawer-page-content)",'body[class^="trademark--"]',"header#top.header.header--fluid","#shopify-section-static-header .header",".off-canvas--viewport .off-canvas--main-content","#shopify-section-announcement .announcement--root",".header.sticky .relative",'body[class^="kagami--"] .page__container',"body > #page","#page-wrap","#shopify-section-side-nav + .page-container","#pageheader.pageheader.nav-shift",".header.default-header.mm-fixed-top","#main-body.slideout-panel","#PageContainer.drawer-page-content:not(.page-container)","body.fixed-header.fixed-header--all","body.has-vertical-header.announcement-bar--hidden","#header-sticky-wrapper #header","#mobile-header-sticky-wrapper #mobile-header",".shopify-section.shopify-section-group-header-group-classic.jsHeader.header-section > .is-relative > #header-sticky-wrapper.header-sticky-wrapper > header#header.sticky--enabled","#shopify-section-sidebar + #content-holder","store-header.header[sticky]",'a[href="#main"] + #shopify-section-announcement-bar + #shopify-section-header.mount-header > main-header.header-holder',"#shopify-section-announcement-bar","body > #shopify-section-announcement","#shopify-section-header-top header-top-section.block","#shopify-section-header:not(.d-none)",".header_wrap_icon_cart header.main_header.locked",'.shopify-section.shopify-section-group-header-group.section-site-header > header.site-header[role="banner"][data-sticky-header]',"#wrapper theme-header.header-sticky--active","body"];let e;r<800&&o.unshift("#content_wrapper.mm-page.mm-slideout #shopify-section-header",".mm-page.mm-slideout #content_wrapper #shopify-section-header"),r<=740&&o.unshift("body.gridlock.shifter.shifter-enabled"),r<798&&o.unshift('div[data-enable_sticky="false"] #mobile-header'),r<992&&o.unshift("#site-content #shopify-section-header-mobile.header-mobile__placeholder");for(var i=0;i720&&a.push("#shopify-section-general-header .main-header-wrapper:not(.sticky-header-scrolled)"),e>=800&&s.push("#site-wrap #header #shopify-section-header > .row.clearfix","#site-wrap #header #shopify-section-header + .curr-switcher.js"),e<=948&&o.push("#MainQuickSearch .quick-search__container");let i="";a.length&&(i=a.join()+"{top:"+t+"px !important;}");let n="";s.length&&(n=s.join()+"{margin-top:"+t+"px;}");let d="";o.length&&(d=o.join()+"{padding-top:"+t+"px;}");let _=document.querySelector("#wrapper theme-header.header-sticky--active");_&&(_.style.marginTop="-1px");let c=document.querySelector(".header.header--layout-logo-center-nav-below.header--has-accounts.header--has-social-links.header--has-country-or-locale");c&&(c.style.marginTop="-1px",c.style.paddingBottom="1px"),document.body.insertAdjacentHTML("beforeend",'
")}function handleContentShiftTopPushSticky(){themeStoreIds=[411,798,838,855,857,871,887,1114,1190,1608,1662,2240,2348,2801,2821];let e=themeStoreIds.includes(window.Shopify.theme.theme_store_id);function t(e){var t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}return{handleContentShiftTopPushStickyLogic:function(r,a){if(("fsb"!==a||"yes"!==t("fsb_close_clicked"))&&!("qab"===a&&"yes"===t("qab_close_clicked")||"epb"===a&&"yes"===t("epb_close_clicked")))if(e){let e=window.hextomData.qabHeight?window.hextomData.qabHeight:0,t=window.hextomData.fsbHeight?window.hextomData.fsbHeight:0,r=window.hextomData.epbHeight?window.hextomData.epbHeight:0,s=Math.floor(e+t+r),o=document.getElementById(`${a}_theme_integration_styles`);switch(o?o.innerHTML="":(o=document.createElement("div"),o.id=`${a}_theme_integration_styles`,document.body.appendChild(o)),window.Shopify.theme.theme_store_id){case 411:if(!!!document.querySelector(".overlay-header-wrapper")){let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.header-section.sticky-header {top: ${s}px !important}`,o.appendChild(e)}break;case 798:{let e=document.querySelector(".product__meta-inner")?parseInt(window.getComputedStyle(document.querySelector(".product__meta-inner")).getPropertyValue("top"),10):0,t=document.createElement("style");t.textContent=`\n header.header-container.is-sticky #header {top: ${s}px !important;}\n .shopify-section.section-borderable {margin-top: ${s}px;}\n .header.header--default.header--transparent {top: 0 !important;}\n .product__meta-inner {top: ${s+e}px;}\n `,o.appendChild(t);break}case 838:{let e=document.body.classList.contains("site-header-sticky"),t=document.createElement("style");if(t.textContent=`${e?'.site-header.site-header-nav--open[role="banner"], ':""}.live-search.allow-scroll-while-locked.live-search--takeover.live-search--focused, #site-mobile-nav, .site-header.site-header-sticky--scrolled {top: ${s}px !important;}`,o.appendChild(t),"collection"==meta.page.pageType&&window.innerWidth<860){let t=document.querySelector('.site-header.site-header-nav--open[role="banner"]'),r=t&&e?t.offsetHeight:0,a=document.createElement("style");a.textContent=`.productgrid--utils.productgrid--utils--visible-mobile.productgrid--utils-container.productgrid--utils-sticky.productgrid--utils-box-shadow {top: ${r+s}px !important}`,o.appendChild(a)}break}case 855:{const e=document.documentElement;if("1"===getComputedStyle(e).getPropertyValue("--header-is-sticky").trim()){let e=document.querySelector("height-observer.collection-toolbar.full-bleed"),t=e?e.offsetHeight:0,r=document.querySelector("header").offsetHeight,a=document.createElement("style");a.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section--header {top: ${s}px !important;}\n height-observer.collection-toolbar.full-bleed {top: ${s+r}px;}\n safe-sticky.facets-sidebar {top: ${s+r+t+20}px !important;}\n `,o.appendChild(a)}else{let e=document.querySelector("height-observer.collection-toolbar.full-bleed"),t=e?e.offsetHeight:0,r=document.createElement("style");r.textContent=`\n height-observer.collection-toolbar.full-bleed {top: ${s}px;}\n safe-sticky.facets-sidebar {top: ${s+t+20}px !important;}\n \n `,o.appendChild(r)}break}case 857:{let e=document.createElement("style");if(e.textContent=`.site-header.site-header--stuck.site-header--opening {top: ${s}px !important}`,o.appendChild(e),"collection"==meta.page.pageType)if(window.innerWidth>=770){let e=document.querySelector(".grid__item.medium-up--one-fifth.grid__item--sidebar");if(e){let t=e.style.top?parseInt(e.style.top,10):0,r=document.createElement("style");r.textContent=`.grid__item.medium-up--one-fifth.grid__item--sidebar {top: ${t+s}px !important}`,o.appendChild(r)}}else{let e=document.querySelector(".collection-filter");if(e){const t=e.style.top?parseInt(e.style.top,10):0;let r=document.createElement("style");const a=null!==document.getElementById("HeaderWrapper").querySelector("#StickyHeaderWrap");r.textContent=`\n .collection-filter {top: ${t+s+(a?0:10)}px !important}`,o.appendChild(r)}}break}case 871:{const e=document.querySelector(".shopify-section.shopify-section-group-header-group.shopify-section__header").firstElementChild.getAttribute("data-section-settings").replace(/"/g,'"'),t=JSON.parse(e),r=()=>{let e=document.querySelector(".card.card--collapsed.card--sticky"),r=e&&e.style.top?parseInt(e.style.top,10):0,a=document.querySelector(".shopify-section.shopify-section-group-header-group.shopify-section__header"),i=a?a.offsetHeight:0,n=document.createElement("style");!0===t.useStickyHeader?n.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section__header {top: ${s}px !important}\n .card.card--collapsed.card--sticky {top: ${s+r}px !important}\n .header__search-bar-wrapper.is-visible.is-fixed {top: ${s}px;}\n ${window.innerWidth<1e3?`.collection__toolbar {top: ${s+i}px;}`:""}\n #mobile-collection-filters {z-index: 1000005;}\n `:n.textContent=`\n .card.card--collapsed.card--sticky {top: ${s+10}px !important}\n .header__search-bar-wrapper.is-visible.is-fixed {top: ${s}px;}\n .collection__toolbar {top: ${s}px;}\n #mobile-collection-filters {z-index: 1000005;}\n `,o.appendChild(n)};r(),setTimeout((()=>{r()}),700),setTimeout((()=>{r()}),1400),setTimeout((()=>{r()}),2100);break}case 887:{let e=document.createElement("style");e.textContent=`body > .shopify-section.shopify-section-group-header-group.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden) {top: ${s}px !important}`,o.appendChild(e);break}case 1114:{let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-group-header.main-header {top: ${s}px !important}`,o.appendChild(e);break}case 1190:if("collection"==meta.page.pageType){let e=document.querySelector("safe-sticky.collection__facets-scroller"),t=e?parseInt(e.style.top,10):0,r=document.createElement("style");r.textContent=`safe-sticky.collection__facets-scroller {top: ${t+s}px !important}`,o.appendChild(r)}if("product"==meta.page.pageType&&window.innerWidth>1e3){let e=document.querySelector("safe-sticky.product-info"),t=e?parseInt(e.style.top,10):0,r=document.createElement("style");r.textContent=`safe-sticky.product-info {top: ${t+s}px !important}`,o.appendChild(r)}case 1492:{let e=document.createElement("style");e.textContent=`\n .section-header__main-bar.main-bar.w100.devices-hide.js-theme-header.stickynav.js-stickynav.sticky--active, .section-header__mobile.mobile-nav__mobile-header.stickynav.lg-hide.l0.z5.pt2.pb2.js-mobile-header.relative.sticky--active {top: ${s}px !important}`,o.appendChild(e);break}case 1608:{let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.section-header {top: ${s}px !important}`,o.appendChild(e);break}case 1662:{let e=document.createElement("style");e.textContent=`\n header {top: ${s}px !important}\n section.sticky.color__bg-body.color__text[x-ref="destop_filter"] {top: ${s}px !important;}\n `,o.appendChild(e);break}case 2240:{let e=document.createElement("style");e.textContent=`\n .no-border-when-sticky.has-shadow.ready.fixed {top: ${s}px !important;} \n #header-outer{ top: 0; transition: top 200ms ease-in-out;}\n @media only screen and (max-width: 770px) {\n #nav-outer {margin-top: ${s}px !important;} \n }\n `,o.appendChild(e);const t=document.getElementById(`${a}_background`),r=document.querySelector("html"),i={attributes:!0,attributeFilter:["class"]};new MutationObserver((e=>{e.forEach((e=>{"attributes"===e.type&&"class"===e.attributeName&&(r.classList.contains("search-compact-active")||r.classList.contains("m6pn-open")?t.style.zIndex="0":t.style.zIndex="100000")}))})).observe(r,i);break}case 2348:{let e,t=document.querySelector(".shopify-section.shopify-section-group-header-group.header__outer-wrapper");if(t&&(e=Array.from(t.getElementsByTagName("header")).find((e=>"true"===e.getAttribute("data-is-sticky"))),e)){let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.header__outer-wrapper {top: ${s}px !important}`,o.appendChild(e)}if("collection"==meta.page.pageType){let t=e?e.offsetHeight:0,r=document.createElement("style");r.textContent=`form.filter-form[data-filters-active="false"][data-filter-form][data-form-type="sidebar"] {top: ${s+t+10}px !important}`,o.appendChild(r)}if("product"==meta.page.pageType){let t=e?e.offsetHeight:0,r=document.createElement("style");r.textContent=`div.product__inner > div.product__top.product__primary > div.product__details.product__primary-right > div {top: ${s+t+10}px !important}`,o.appendChild(r)}let r=document.createElement("style");r.textContent=`.purchase-confirmation-popup__inner { top: ${s}px !important; }`,o.appendChild(r);break}case 2801:{let e=document.createElement("style");e.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section-header{ top: ${s}px !important; }\n .product__info-container {top: ${s}px !important;}\n `,o.appendChild(e);break}case 2821:{let e=document.querySelector("header"),t=e?e.offsetHeight:0;if("collection"==meta.page.pageType){const e=document.body,r={attributes:!0,attributeFilter:["class"]};new MutationObserver((r=>{r.forEach((r=>{if("attributes"===r.type&&"class"===r.attributeName){let r=s;e.classList.contains("header-pinned")&&(r+=t);let a=document.getElementById("htPushFilterStyle");a?a.textContent="":(a=document.createElement("style"),a.id="htPushFilterStyle"),a.textContent=`\n #FacetFiltersContainer > div.sticky-element {top: ${r+10}px !important;}\n #ProductGridWrapper > div.sticky-element {top: ${r}px !important;}\n `,o.appendChild(a)}}))})).observe(e,r);let a=document.createElement("style");a.textContent=`\n #FacetFiltersContainer > div.sticky-element {top: ${s+t+10}px !important;}\n #ProductGridWrapper > div.sticky-element {top: ${s}px !important;}\n `,o.appendChild(a)}let r=document.createElement("style");r.textContent=`.shopify-section.shopify-section-group-header-group.header-section.header-sticky {top: ${s}px !important}`,o.appendChild(r);break}}}else{let e=window.hextomData.qabHeight?window.hextomData.qabHeight:0,t=window.hextomData.fsbHeight?window.hextomData.fsbHeight:0,s=window.hextomData.epbHeight?window.hextomData.epbHeight:0,o=Math.floor(t+e+s),i=[],n=[],d=[];i=["#page header.util + #shopify-section-header.header",".sticky-header #PageContainer #shopify-section-header.header-section"],n=[".site-header.site-header--homepage.site-header--transparent","#mobileNavBar","#StickyBar.sticky--active",".js-sticky-action-bar .action-area",".site-header.page-element:not(.is-moved-by-drawer)",".nav-mobile",".ajaxify-drawer",".sticky-navigation-container.sticky.stuck","#MobileNav:not(.site-header__drawer)",".header__close.fixed","#shopify-section-toolbar.toolbar-section",".nav-container.nav-sticky","#navbarStickyDesktop.nav-sticky",".site-header.has-scrolled",".site-header#header.header--has-scrolled",".site-header#header.header--is-standard.header--standard",".site-header#header.is-standard.header--standard",".site-header#header.header--is-hamburger.header--standard",".pageWrap #shopify-section-header nav.nav-hamburger.nav-main",".site-header.headroom",'body > article.header__section-wrapper[role="banner"] #shopify-section-header.section-header',"#site-header.site-header",'body[class^="trademark--"] .shopify-section__header','[data-header-sidebar="true"] .main-sidebar',".ui.sticky.top","header.hero-active .hero-image-header-wrap",".header.sticky .bar.fixed",'body[class^="kagami--"] #shopify-section-header',"#page header.util","body:not(.show-mobile-nav) #toolbar.docked","body.show-mobile-nav #mobile-nav .inner",'body.show-mobile-nav #mobile-nav #sub-nav-menu-2.sub-nav[data-is-subnav-for="menu-2"]',"#page-wrap-inner > #page-overlay + #page-wrap-content > .section-header","body.sticky-header .header .header-main-content[data-header-content]","#nav .wsmenu",".header_bot.enabled-sticky-menu.sticky",".\\#header.\\@sticky",".transition-body #shopify-section-header #NavDrawer.drawer.drawer--is-open",".transition-body #shopify-section-header #CartDrawer.drawer.drawer--is-open","#StickyHeaderWrap #SiteHeader.site-header--stuck",".header__mobile-nav",".searching .search-bar-wrapper","#shopify-section-header .coverheader",'#shopify-section-header header.header-section.scrolling[data-sticky="true"]',"#header.mobile-sticky-header--true","#header.mm-fixed-top.mobile-header.mm-slideout","#mm-0.mm-page.mm-slideout #header.mobile-header.mobile-sticky-header--false","#site-control.site-control",".nav-shift #page-banner.banner-under-header",".nav-shift .container #main","body.scrolled-down #pageheader.pageheader.cc-animate-init.cc-animate-complete","body.scrolled-down #pageheader.pageheader[data-cc-animate]","body.scrolled-down #pageheader.pageheader.cc-animate-init.cc-animate-complete + .header-search","body.scrolled-down #pageheader.pageheader[data-cc-animate] + .header-search","#shopify-section-general-header .main-header-wrapper + .header-drawer","#shopify-section-general-header.main-header-section","#shopify-section-general-header nav.drawer-nav.allow-scroll-while-locked[data-drawer-nav]",".header-section .stuckMenu.isStuck","header.header__wrapper.js-theme-header.stickynav.sticky--active","#shopify-section-mobile-navigation .shifter-navigation",".header-wrapper .sticky-header-wrapper.sticky","#mobile-header #mobile-nav.mobile-nav","header.is-sticky.st-visible",'header#top.header:not([role="banner"])',"header#velaHeader.velaHeader","body.fixed-header.fixed-header--all > header",".have-fixed .nav-bar",".header-bottom.on .header-panel",".have-fixed .nav-search",".mb-fixed .hd_mobile",".open-mn .hd_mobile .icon-menu, .open-user .close_user","html.open-mn .mn_mobile nav, html.open-user .mobile_customer nav","#sticky-wrapper.sticky-wrapper.is-sticky .wrapper-header-bt","#sticky-wrapper.sticky-wrapper.is-sticky .header-bottom[data-sticky-mb]","body > .body-content-wrapper > .shopify-section-group-header-group.section-header-navigation.shopify-section-header-sticky","body > .body-content-wrapper > .shopify-section-group-header-group.section-header-mobile.shopify-section-header-sticky","body > #navigation-mobile.halo-sidebar.halo-sidebar_menu",".header__search-bar-wrapper.is-fixed",".sticky-header.header-clone.act-scroll",".sticky-header-prepared.basel-top-bar-on .header-shop.act-scroll",".mobile_nav-fixed--false .page_banner",".header-container.sticky-header",".tt-stuck-nav.stuck",".tt-mobile-header-inline-stuck.stuck","header#top.scroll-to-fixed-fixed","header#header .header__content--sticky",".header--sticky.is-sticky .header__content",".stickyNav","#header-phantom.sticky-header.fixed-header","#sticky-info-product-template",".sticky-wrapper.is-sticky .header-sticky",".header__mobile.is-fixed","#shopify-section-header-sticky.header-sticky__placeholder","header#header-header.site-header","#shopify-section-pxs-announcement-bar + #shopify-section-header .main-header-wrapper",".sticky-header #PageContainer #shopify-section-header.header-section",".header-content .header-container.header-fixed .header-main",".header-content .header-container.header-mobile-fixed .header-main","body.site-header-sticky .site-header.site-header-sticky--scrolled","body.site-header-sticky .site-header.site-header-nav--open","body.site-header-sticky .site-header","#app-header.sticky-on.sticky",".mm-page.mm-slideout #content_wrapper + .mobile-search",".docked-navigation-container .docked-navigation-container__inner",".docked-mobile-navigation-container .docked-mobile-navigation-container__inner",'nav.navigation--sticky.navigation[aria-label="Primary Navigation"]',".site-header .header-bottom .header-mb.fixed",".kalles_2-0 #ntheader.live_stuck .ntheader_wrapper","#header.jsheader_sticky.menu_scroll_v1",".contentbody .menu_moblie.menu_mobilescroll",".site-header-wrapper.site-header--sticky",".body-cont #shopify-section-header > .cont-header.header-fixed-true","body.cc-animate-enabled[data-cc-animate-timeout] > #shopify-section-header.section-header","body.cc-animate-enabled[data-cc-animate-timeout].reveal-mobile-nav > .mobile-navigation-drawer","body.cc-animate-enabled[data-cc-animate-timeout].show-search #main-search.main-search",'body.has-sticky-header .header__wrapper.js__header__stuck[data-header-sticky="sticky"]',".header__drawer.drawer--visible[data-drawer] .drawer__content .drawer__inner[data-drawer-inner]",'div.navbar.w-nav[data-w-id][role="banner"]','.w-nav-overlay nav.nav-menu.w-nav-menu[data-nav-menu-open][role="navigation"]',"body > .page > #shopify-section-header.header__outer-wrapper",'body > .page > #shopify-section-header.header__outer-wrapper > header.header[data-is-sticky="true"][data-enable-sticky-header="true"] > .drawer-menu.active.visible',"body > .page > #shopify-section-header.header__outer-wrapper > header.header.is-sticky > .drawer-menu.animation.animation--drawer-menu.active.visible.animation--drawer-menu-revealed","body.body-with-sticky-header .header-wrapper.header-wrapper--fixed",".featured-collections__header.sticky__element.featured-collections__header",".container > .container__top-part .page__header.page__header--sticky",'.pageWrap > #shopify-section-announcement + #shopify-section-header.shopify-section.shopify-section-header header.site-header[data-section-id="header"][data-section-type="header"][data-header-height][data-scroll-lock-fill-gap]','.page-wrap > #shopify-section-announcement + #shopify-section-header.shopify-section.shopify-section-header header.site-header[data-section-id="header"][data-section-type="header"][data-header][data-header-height][data-scroll-lock-fill-gap]','#MainContent header.header-sticky .header[data-header-settings*="true"]',".\\#main-header.\\@sticky .\\#main-nav-container",".\\#main-header.\\@sticky .\\#main-header-inner",".js__header__stuck.js__header__stuck__backdrop[data-underline-current] .theme__header",'section.sf-header.stuck[data-section-id="header"][data-section-type="header"] .header__wrapper.absolute',"body.site-header-sticky #shopify-section-static-header.shopify-section.site-header-wrapper > section.site-header.site-navigation-layout-expanded[data-header-main]","body.site-header-sticky #shopify-section-static-header.shopify-section.site-header-wrapper > section.site-header.site-navigation-layout-drawer[data-header-main]","body > #shopify-section-header.shopify-section.shopify-section-header-sticky.animate:not(.shopify-section-header-hidden)",'body > #header[data-section-id="header"][data-section-type="header-section"].stickyHeader',"body > .shopify-section.shopify-section-group-header-group.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden)",'html[style*="--header-offset: 0px;"] body > #wrapper > .header-section > header#header.header-sticky--active',"body.has-scrolled .site-header--fixed",".container > .header-group > .shopify-section.shopify-section-group-header-group.page-header > .header__wrapper.js__header__stuck"],d=["body:not(.page-move--cart.mobile-drawer--open) #ajaxifyDrawer.is-visible","header.site-header.sticky:not(.ui)",".header.sticky-header--true",".header.sticky-header--false.is-absolute","#shopify-section-header.header header.sticky:not(.ui)","body:not(.mobile-drawer--open) .page-wrapper.page-element",".site-header.is-standard.shift--alert",".large--hide.medium-down--show.sticky-header:not(.ui)","#shopify-section-static-header.site-header-sticky--open","#shopify-section-static-header.visible",".site-navigation-wrapper + .site-mobile-nav .mobile-nav-panel",".site-header-main-content .live-search--takeover .live-search-form","body.colors--body-n-button-match .off-canvas--viewport .off-canvas--main-content","body:not(.js-drawer-open) .sticky-header.squished-header","#announcement-bar.table","body.meta-fixed #meta","header.main-header-wrap.main-header--minimal-sticky","#site-wrap #header #shopify-section-header + .curr-switcher.js",".main_nav_wrapper.sticky_nav.sticky_nav--stick",".main-nav__wrapper.sticky_nav.sticky_nav--stick",".header.header-fixed--true.is-absolute","#header.mobile_nav-fixed--true",'body.mobile_nav-fixed--false a#pagecontent[name="pagecontent"]',".mobile_nav-fixed--false.is-active #header","body.mobile_nav-fixed--true .shopify-section--slideshow.under-menu","body.mobile_nav-fixed--true .shopify-section--image-with-text-overlay.under-menu",'.mono-produit-true [class^="mobile-type-header"] nav.nav-bar',".wrap-all #headerApp",".group-header.sticky-menu.active","nav#page-menu.theme-modal > .inner",".body-cont #shopify-section-header > .cont-header.header-fixed-true nav.nav-bar",".halo-collection-content .toolbar.toolbar-fix","#shopify-section-header-custom .header-slim__content.is-fixed",'.drawer.drawer--right[role="dialog"][data-mobile-navigation-drawer]','#main-menu .main-menu-inner > .main-menu-panel-wrapper > #main-menu-panel.main-menu-panel > ul.main-menu-links[role="navigation"]',"#main-menu .main-menu-panel.main-menu-panel--child > ul.main-menu-links",".header__wrapper.inline-layout-true #header-wrapper.header__main-wrapper.stickynav.sticky--active","#mobile-header.header__mobile-container.stickynav.sticky--active",'body[data-theme-name="Beyond"] header-root.header--root[data-section-id="header"]',"#shopify-section-header.shopify-section header.site-header.site-header--fixed[data-site-header][data-section-id]","body.index header.is-absolute[data-desktop-header] > .header.header-fixed--true[data-header-is-absolute]",...document.querySelector("#wrapper theme-header.header.transparent--true.header-sticky--active")?['#wrapper div[role="main"][id="main-content"]']:[],".header.header--layout-logo-center-nav-below.header--transparent.header--has-accounts.header--has-social-links.header--has-country-or-locale.is-sticky",".header.header--layout-logo-center-nav-below.header--has-accounts.header--has-social-links.header--has-country-or-locale.is-sticky"],r<=480&&n.push("#ajaxifyModal"),r<650&&n.push("#shopify-section-header #header.header__wrapper .header__content"),r<=720&&n.push("body.is-mobile header.main-header.no-border[data-header]","body.is-mobile header.main-header[data-header]"),r<=768&&d.push("#navBar.nav-bar:not(.opened)"),r<=840&&d.push("body:not(.js-drawer-open) .medium-down--fixed"),r<=948&&(n.push("#shopify-section-sidebar main-sidebar.sidebar"),d.push("#content-holder #content","#MainQuickSearch .quick-search__container")),r<=1080&&n.push(".navigation.navigation-has-mega-nav"),r>720&&d.push("body:not(.js-drawer-open) .sticky-header.main-header-wrapper"),r>748&&d.push("#sidebar-holder #sidebar","#content-holder #content","#shopify-section-sidebar .sidebar__container-holder","#shopify-section-sidebar .sidebar__cart-handle"),r>=800&&(n.push("#nav + #content_wrapper.mm-page .content.container"),d.push(".mm-page.mm-slideout #content_wrapper #shopify-section-header + .index-sections .slideshow-section",".mm-page.mm-slideout #content_wrapper #shopify-section-header + .main_content_area .index-sections .slideshow-section",".mm-page.mm-slideout #content_wrapper #shopify-section-header + .index-sections .banner-section")),r>1e3&&(n.push(".bodywrap.cf .page-header.cf"),d.push(".bodywrap.cf .page-header.cf + #navbar.nav-style-out"));let _=document.querySelector('body[class^="warehouse"] #shopify-section-header');if(null!=_){"sticky"===getComputedStyle(_).position&&n.push('body[class^="warehouse"] #shopify-section-header')}let c=0;for(let r=0;r transition-root.off-canvas--right-sidebar > .off-canvas--container[data-view="cart"] > cart-root.cart--root[data-section-id]','product-grid-root.featured-collection--products > .product--root a > .product--image-wrapper > .product--quick-add[data-off-canvas--view="cart"]',".rebuy-cart","#cartSlideoutWrapper",".shopify-product-form .form-actions",".product__submit__buttons",".cart__drawer .drawer__body",".shopify-product-form",".template__cart__body","#Cart-Drawer.side-panel.cart-drawer","#Product-Drawer.side-panel.product-drawer",".thb-cart-form",'form.md\\:px-0[method="post"]',"#shopify-section-cart-menu > div[x-data] > .cart__mini-wrapper > .cart__main","#quickbuy__modal",".minicart__button .minicart__holder.minicart--sidebar > div[data-product-list]","#cart",'.main-product__block.main-product__block-buy_buttons button.add-to-cart[type="submit"]',"#cart-drawer-container",".m-cart-drawer__inner","cart-drawer",".product__add-button.add.AddtoCart.js-ajax-submit","add_to_cart.global-button.global-button--secondary.ajax-submit","ss-icon.product-minus.js-change-quantity","ss-icon.product-plus.js-change-quantity",".cart-list",".cart-form.flexible-layout.flexible-layout--main-cart.fully-spaced-row--medium",".quick-add__submit.button.button--full-width.button--secondary",".quick-add-modal__content-info","#cart-drawer","quick-add-product",".product-form__add-to-cart--text",".sc-cfJLRR.hOwnsG.pf-103_.pf-button-1","#button-cart",".cart.cart-content",".t4s-drawer__main",".t4s-sticky-atc.sticky_layout_mb--minimal.t4s-pf.t4s-b-0.t4s-l-0.t4s-r-0.t4s-op-0.t4s-pe-none.is--shown",".quantity__button",".pf-button-1","button.product-form__submit.button.button--full-width","#CartDrawer.cart-drawer",".product-image.relative",".button.ajax-submit.js-ajax-submit.add-item.add.w100.inline-block.btn-secondary"]}function getCurrencySymbols(){return{DZD:"DA",NAD:"N$",GHS:"GH¢",EGP:"E£",BGN:"лв",PAB:"B/.",PHP:"₱",BOB:"$b",DKK:"kr",BWP:"P",LBP:"£",TZS:"TZS",VND:"₫",AOA:"Kz",KHR:"៛",QAR:"﷼",KYD:"$",LYD:"LYD",UAH:"₴",JOD:"JOD",AWG:"ƒ",SAR:"﷼",HKD:"HK$",CHF:"CHF",GIP:"£",CDF:"CDF",BYN:"Br",MRO:"MRO",HRK:"kn",DJF:"DJF",THB:"฿",XAF:"XAF",BND:"$",VUV:"VUV",UYU:"$U",NIO:"C$",LAK:"₭",SYP:"£",MAD:"Dh",MZN:"MT",SCR:"₨",ZAR:"R",NPR:"₨",NGN:"₦",CRC:"₡",AED:"Dhs.",GBP:"£",MWK:"MWK",LKR:"₨",PKR:"₨",HUF:"Ft",BMD:"$",LSL:"LSL",MNT:"₮",AMD:"AMD",UGX:"Ush",JMD:"J$",GEL:"GEL",SHP:"£",AFN:"BS؋",SBD:"$",KPW:"₩",TRY:"TRY",BDT:"Tk",YER:"﷼",CNY:"¥",HTG:"G",SLL:"Le",MGA:"Ar",ANG:"ƒ",LRD:"$",XCD:"EC$",NOK:"kr",MOP:"MOP",INR:"Rs.",MXN:"$",CZK:"Kč",TJS:"TJS",TWD:"NT$",BTN:"Nu",COP:"$",MYR:"RM",TMT:"TMT",MUR:"₨",IDR:"Rp",HNL:"L",ETB:"Br",FJD:"FJ$",ISK:"kr",PEN:"S/.",BZD:"BZ$",ILS:"₪",DOP:"RD$",GGP:"GGP",MDL:"MDL",BSD:"$",SEK:"kr",MVR:"Rf",AUD:"$",SRD:"$",CUP:"₱",BBD:"$",KMF:"KMF",KRW:"₩",GMD:"D",VEF:"Bs",IMP:"IMP",CUC:"$",CLP:"$",ZMW:"ZK",EUR:"€",ALL:"Lek",RWF:"RWF",KZT:"лв",RUB:"руб",TTD:"TT$",RON:"lei",OMR:"﷼",BRL:"R$",MMK:"K",PLN:"zł",PYG:"Gs",KES:"Khs",SVC:"$",MKD:"ден",AZN:"ман",TOP:"T$",JEP:"JEP",GNF:"GNF",WST:"WS$",IQD:"IQD",ERN:"£",BAM:"KM",CAD:"$",CVE:"CVE",KWD:"KWD",BIF:"BIF",PGK:"K",SOS:"S",SGD:"$",UZS:"лв",STD:"Db",IRR:"﷼",XPF:"XPF",XOF:"XOF",TND:"TND",GYD:"$",NZD:"$",FKP:"£",USD:"$",KGS:"лв",ARS:"$",SZL:"SZL",GTQ:"Q",RSD:"Дин.",BHD:"BHD",JPY:"¥",SDG:"SDG"}}function hextom_fsb(){var FSB_SERVER_URL,FSB_CDN_URL,FSB_SERVER_URL="//fsb.hextom.com/",FSB_CDN_URL="https://cdn.hextom.com/",fsb_total_price,fsb_total_price_requires_shipping,fsb_bar_index,fsb_bars,fsb_theme,fsb_record,fsb_built_in_fonts,fsb_loaded_fonts,fsb_bar_scored,fsb_bar_highest_score,fsb_bar_timeout_show_time,fsb_is_animated=!1,fsb_is_disappearing=!1,fsb_goal=null,fsb_is_first_time_show=!0,fsb_product_in_cart_incurs_shipping=!1,cart_object,bar_is_selected=!1,currency_to_swap=["CLP","HRK","SEK","ISK","NOK","CZK","DKK","EUR","RON","TRY"],fsb_symbols=getCurrencySymbols(),fsb_css_string="@keyframes ht_image_fit_slider{from {background-position: center top;}to {background-position: center bottom;}}";function fsb_main_logic(){if(fsb_get_shop_domain().includes("myshopify.com")&&(window.fsb_already_run="yes",fsb_total_price=0,fsb_total_price_requires_shipping=0,fsb_bar_index=-1,fsb_bars=[],fsb_record=!1,fsb_built_in_fonts="Helvetica,Verdana,Courier,Times New Roman,Georgia,Brush Script MT,Serif",fsb_loaded_fonts="",fsb_bar_scored=!1,fsb_bar_highest_score=0,!fsb_is_checkout_page())){document.head.insertAdjacentHTML("beforeend",``);var e=window.location.pathname,t=fsb_read_cookie("fsb_previous_pathname");fsb_write_cookie("fsb_previous_pathname",window.location.pathname),e==t?(e==t&&-1===t.indexOf("/cart")&&fsb_remove_cookie("fsb_close_clicked"),fsb_get_bars_locally("skip_session_storage")):fsb_get_bars_locally()}}function get_locale(){return void 0===window.Shopify.locale?null:window.Shopify.locale.toLowerCase()}function fsb_get_bars_remotely(){fetch(FSB_SERVER_URL+"fsb_get_bars?shop="+fsb_get_shop_domain(),{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>e.json())).then((e=>{fsb_write_session_storage("fsb_payload",JSON.stringify(e)),"yes"===e.shop_active&&(fsb_bars=e.bars,fsb_theme=e.theme,fsb_record=e.record,fsb_check_cart(),fsb_listen_to_cart_update(),fsb_check_theme())})).catch((e=>{console.error("Error:",e)}))}function fsb_get_bars_locally(e){if("skip_session_storage"!=e){var t=fsb_read_session_storage("fsb_payload"),r={};if(t&&(r=JSON.parse(t))&&"yes"===r.shop_active)return void fsb_update_global_vars_and_render_bar(r)}(r=window.hextom_fsb_config)&&0!=Object.keys(r).length?r.bars.some((function(e){return""!==e.countries||""!==e.exclude_countries}))||r.bars.some((function(e){return e.auto_currency}))?fsb_get_bars_remotely():"yes"===r.shop_active&&fsb_update_global_vars_and_render_bar(r):fsb_get_bars_remotely()}function fsb_update_global_vars_and_render_bar(e){fsb_bars=e.bars,fsb_theme=e.theme,fsb_record=e.record,fsb_write_session_storage("fsb_payload",JSON.stringify(e)),fsb_check_cart(),fsb_listen_to_cart_update(),fsb_check_theme()}function fsb_listen_to_cart_update(){listenToXHRCompleted(),listenToCustomAddToCartEvent();var e=Array.from(document.getElementsByTagName("form")).filter((function(e){return!!e.action.includes&&(e.action.includes("cart")||e.action.includes("checkout"))}));e&&e.length&&e.forEach((function(e){e.addEventListener("submit",(function(){setTimeout((function(){fsb_check_cart()}),300),setTimeout((function(){fsb_check_cart()}),900),setTimeout((function(){fsb_check_cart()}),1200)})),e.addEventListener("change",(function(){setTimeout((function(){fsb_check_cart()}),800),setTimeout((function(){fsb_check_cart()}),1200)}))})),getCartUpdateHints().forEach((function(e){var t=document.querySelectorAll(e);t.length>0&&t.forEach((function(e){e.addEventListener("click",(function(){setTimeout((function(){fsb_check_cart()}),1200)}))}))}))}function fsb_check_cart(){fetch("/cart.json").then((e=>e.json())).then((e=>{cart_object=e;let t=e.total_price,r=fsb_check_cart_price_requires_shipping(e);(fsb_is_first_time_show||fsb_total_price!==t||fsb_total_price_requires_shipping!==r)&&(fsb_is_first_time_show=!1,fsb_total_price=t,fsb_total_price_requires_shipping=r,fsb_select_bar())})).catch((e=>{console.error("Error:",e)}))}function fsb_check_cart_price_requires_shipping(e){let t=e.total_price;fsb_product_in_cart_incurs_shipping=!1;let r="",a="",s="";if(bar_is_selected&&(null!=localStorage.getItem(fsb_bars[fsb_bar_index].bar_id+"fsb_incurred_fee_products")&&(r=localStorage.getItem(fsb_bars[fsb_bar_index].bar_id+"fsb_incurred_fee_products").split(",")),null!=localStorage.getItem(fsb_bars[fsb_bar_index].bar_id+"fsb_excluded_products")&&(a=localStorage.getItem(fsb_bars[fsb_bar_index].bar_id+"fsb_excluded_products").split(",")),null!=localStorage.getItem(fsb_bars[fsb_bar_index].bar_id+"fsb_target_products_type")&&(s=localStorage.getItem(fsb_bars[fsb_bar_index].bar_id+"fsb_target_products_type")),e.items.length>0))for(let o=0;ofsb_bar_highest_score&&(fsb_bar_highest_score=fsb_bars[e].score);if(0!=fsb_bar_highest_score){for(e=0;ea)return 0;if(s{let e=window.location.pathname;return!(!o.urls||o.urls!=e||(t+=15,0))})()||(()=>{let e=window.location.href.toLowerCase();if(o.keywords){let r=o.keywords.split(",").map((e=>e.trim())),a=!1,s=0;for(;s-1){a=!0;break}s++}if(!0===a)return t+=10,!0}return!1})()||o.home&&"home"===meta.page.pageType||(()=>{if(o.products.isTargeting)if(o.products.all){if("product"===meta.page.pageType)return!0}else{if(o.products.productIds){const e=o.products.productIds.split(",").map((e=>e.trim())),r=String(fsb_get_product_id());if(!0===e.some((e=>e===r)))return t+=7,!0}if(o.products.tags){const e=o.products.tags.split(",").map((e=>e.trim())),r=fsb_get_product_tags();if(e.some((e=>r.includes(e))))return t+=6,!0}if(o.products.collectionIds){const e=o.products.collectionIds.split(",").map((e=>e.trim())),r=fsb_get_product_collection_ids();if(!0===e.some((e=>r.includes(Number(e)))))return t+=5,!0}}return!1})()||(()=>{if(o.collections.isTargeting)if(o.collections.all){if("collection"===meta.page.pageType)return!0}else{const e=o.collections.collectionIds.split(",").map((e=>e.trim())),r=String(fsb_get_collection_id());if(!0===e.some((e=>e===r)))return t+=5,!0}return!1})()))return 0;t+=20}let i={};"{"==e.exclude_page.charAt(0)?i=JSON.parse(e.exclude_page):(i.products={isTargeting:!1,all:!0,tags:"",productIds:"",collectionIds:""},i.collections={isTargeting:!1,all:!0,collectionIds:""},i.noPages="noPages"==e.exclude_page,i.home="home"==e.exclude_page,i.products.isTargeting="product"==e.exclude_page,i.urls="/"==e.exclude_page.charAt(0)?e.exclude_page:"",i.keywords=":"==e.exclude_page.charAt(0)?e.exclude_page.substring(1):""),fsb_record||(i.products.all=!0,i.collections.all=!0);if(!i.noPages){if(i.home&&void 0!==meta.page.pageType&&"home"===meta.page.pageType)return 0;if((()=>{if(i.products.isTargeting){if(i.products.all&&void 0!==meta.page.pageType&&"product"===meta.page.pageType)return!0;if(i.products.productIds){const e=i.products.productIds.split(",").map((e=>e.trim())),t=String(fsb_get_product_id());if(!0===e.some((e=>e===t)))return!0}if(i.products.collectionIds){const e=i.products.collectionIds.split(",").map((e=>e.trim())),t=fsb_get_product_collection_ids();if(!0===e.some((e=>t.includes(Number(e)))))return!0}if(i.products.tags){const e=i.products.tags.split(",").map((e=>e.trim())),t=fsb_get_product_tags();if(e.some((e=>t.includes(e))))return!0}}return!1})())return 0;if((()=>{if(i.collections.isTargeting){if(i.collections.all&&void 0!==meta.page.pageType&&"collection"===meta.page.pageType)return!0;if(i.collections.collectionIds){const e=i.collections.collectionIds.split(",").map((e=>e.trim())),t=String(fsb_get_collection_id());if(!0===e.some((e=>e===t)))return!0}}return!1})())return 0;if((()=>{let e=window.location.pathname;return i.urls===e})())return 0;if((()=>{let e=window.location.href.toLowerCase();if(i.keywords){let t=i.keywords.split(",").map((e=>e.trim())),r=!1,a=0;for(;a-1){r=!0;break}a++}if(r)return!0}return!1})())return 0}if("require_shipping"===e.target_products_type&&"undefined"!=typeof meta&&"product"===meta.page.pageType){if("true"!==fsb_get_product_shipping_info())return 0;t+=10}if("tag"===e.selected_customers_type){if(!(fsb_get_customer_tags().indexOf(e.selected_customers_tag)>-1))return 0;t+=10}if("spent"===e.selected_customers_type){if(null==meta.page.customerId)return 0;var n=fsb_get_customer_spent();if(!(parseFloat(n)>=Math.round(100*e.selected_customers_spent)))return 0;t+=10}if("tag"===e.excluded_customers_type&&fsb_get_customer_tags().indexOf(e.excluded_customers_tag)>-1)return 0;if("spent"===e.excluded_customers_type){n=fsb_get_customer_spent();if(parseFloat(n)<=Math.round(100*e.excluded_customers_spent))return 0}return t}function fsb_load_font(){if("inherit"==fsb_bars[fsb_bar_index].font)fsb_render_bar();else if(fsb_built_in_fonts.indexOf(fsb_bars[fsb_bar_index].font)>-1)fsb_render_bar();else if(fsb_loaded_fonts.indexOf(fsb_bars[fsb_bar_index].font)>-1)fsb_render_bar();else{fsb_loaded_fonts+=","+fsb_bars[fsb_bar_index].font;var e=document.createElement("link"),t=document.getElementsByTagName("head")[0];e.setAttribute("href","https://fonts.googleapis.com/css?family="+fsb_bars[fsb_bar_index].font.replace(/ /g,"+")),e.setAttribute("type","text/css"),e.setAttribute("rel","stylesheet"),e.onload=fsb_render_bar,t.insertBefore(e,t.firstChild)}}function fsb_get_product_shipping_info(){var e;const t=null==(e=window.hextom_fsb_meta)?void 0:e.p3;return!!(Array.isArray(t)&&t.length>0)&&t[0].v1}setTimeout(fsb_main_logic,0);const fsb_get_product_id=()=>{var e;return(null==(e=window.hextom_fsb_meta)?void 0:e.p4)||""},fsb_get_product_collection_ids=()=>{var e;return Array.isArray(null==(e=window.hextom_fsb_meta)?void 0:e.p5)&&window.hextom_fsb_meta.p5.length?window.hextom_fsb_meta.p5:""},fsb_get_collection_id=()=>{var e;return(null==(e=window.hextom_fsb_meta)?void 0:e.p6)||""},fsb_get_product_tags=()=>{var e,t;return(null==(t=null==(e=window.hextom_fsb_meta)?void 0:e.p1)?void 0:t.map((e=>e.split("").reverse().join(""))))||[]};function fsb_get_customer_tags(){var e=window.hextom_fsb_meta||{};if(!e.hasOwnProperty("p2"))return[];var t=e.p2.v2;if(!t)return[];var r=[];return t.forEach((function(e,t){r[t]=e.split("").reverse().join("")}),r),r}function fsb_get_customer_spent(){var e=0,t=window.hextom_fsb_meta||{};if(!t.hasOwnProperty("p2"))return e;var r=t.p2.v3||"0,0";return e=7*parseFloat(r.split(",")[0])+parseFloat(r.split(",")[1])}async function fsb_render_bar(){var shopify_currency_rate=window.Shopify.currency?window.Shopify.currency.rate:"1.0",shopify_currency_code=window.Shopify.currency?window.Shopify.currency.active:"USD",goal=fsb_bars[fsb_bar_index].goal,goal_2=fsb_bars[fsb_bar_index].goal_2,shopify_url_search=window.location.search,shopify_url_currency_keyword="currency=",shopify_url_currency_position=shopify_url_search.toLocaleLowerCase().indexOf(shopify_url_currency_keyword),shopify_url_currency_code_position=shopify_url_currency_position+shopify_url_currency_keyword.length,shopify_url_currency_code,fsb_total_price_converted,fsb_total_price_requires_shipping_converted,currency_symbol_text,current_locale=get_locale();if(null!==current_locale&&fsb_bars[fsb_bar_index].locales.indexOf(current_locale)>-1){if(null!=fsb_bars[fsb_bar_index].translation[current_locale].message_one&&fsb_bars[fsb_bar_index].translation[current_locale].message_one.trim().length>0&&null!=fsb_bars[fsb_bar_index].translation[current_locale].message_one)var bar_message_one=fsb_bars[fsb_bar_index].translation[current_locale].message_one;else var bar_message_one=fsb_bars[fsb_bar_index].message_one;if(null!=fsb_bars[fsb_bar_index].translation[current_locale].message_two&&fsb_bars[fsb_bar_index].translation[current_locale].message_two.trim().length>0&&null!=fsb_bars[fsb_bar_index].translation[current_locale].message_two)var bar_message_two=fsb_bars[fsb_bar_index].translation[current_locale].message_two;else var bar_message_two=fsb_bars[fsb_bar_index].message_two;if(null!=fsb_bars[fsb_bar_index].translation[current_locale].message_two_2&&fsb_bars[fsb_bar_index].translation[current_locale].message_two_2.trim().length>0&&null!=fsb_bars[fsb_bar_index].translation[current_locale].message_two_2)var bar_message_two_2=fsb_bars[fsb_bar_index].translation[current_locale].message_two_2;else var bar_message_two_2=fsb_bars[fsb_bar_index].message_two_2;if(null!=fsb_bars[fsb_bar_index].translation[current_locale].message_three&&fsb_bars[fsb_bar_index].translation[current_locale].message_three.trim().length>0&&null!=fsb_bars[fsb_bar_index].translation[current_locale].message_three)var bar_message_three=fsb_bars[fsb_bar_index].translation[current_locale].message_three;else var bar_message_three=fsb_bars[fsb_bar_index].message_three;if(null!=fsb_bars[fsb_bar_index].translation[current_locale].message_four&&fsb_bars[fsb_bar_index].translation[current_locale].message_four.trim().length>0&&null!=fsb_bars[fsb_bar_index].translation[current_locale].message_four)var bar_message_four=fsb_bars[fsb_bar_index].translation[current_locale].message_four;else var bar_message_four=fsb_bars[fsb_bar_index].message_four;if(null!=fsb_bars[fsb_bar_index].translation[current_locale].message_five&&fsb_bars[fsb_bar_index].translation[current_locale].message_five.trim().length>0&&null!=fsb_bars[fsb_bar_index].translation[current_locale].message_five)var bar_message_five=fsb_bars[fsb_bar_index].translation[current_locale].message_five;else var bar_message_five=fsb_bars[fsb_bar_index].message_five;if(null!=fsb_bars[fsb_bar_index].translation[current_locale].message_six&&fsb_bars[fsb_bar_index].translation[current_locale].message_six.trim().length>0&&null!=fsb_bars[fsb_bar_index].translation[current_locale].message_six)var bar_message_six=fsb_bars[fsb_bar_index].translation[current_locale].message_six;else var bar_message_six=fsb_bars[fsb_bar_index].message_six}else var bar_message_one=fsb_bars[fsb_bar_index].message_one,bar_message_two=fsb_bars[fsb_bar_index].message_two,bar_message_two_2=fsb_bars[fsb_bar_index].message_two_2,bar_message_three=fsb_bars[fsb_bar_index].message_three,bar_message_four=fsb_bars[fsb_bar_index].message_four,bar_message_five=fsb_bars[fsb_bar_index].message_five,bar_message_six=fsb_bars[fsb_bar_index].message_six;if(shopify_url_currency_position>-1&&(shopify_url_currency_code=shopify_url_search.substr(shopify_url_currency_code_position,shopify_url_currency_code_position+3),shopify_url_currency_code=shopify_url_currency_code.toUpperCase()),fsb_bars[fsb_bar_index].auto_currency){let tmsData;if(window.tmsTranslator&&(tmsData=await window.tmsTranslator.tc()),tmsData&&Object.keys(tmsData).length>0){const defaultToBaseExchangeRate=1,defaultExchangeCurrency="USD";let toBaseExchangeRate=defaultToBaseExchangeRate;if(tmsData.fromCurrency.code==defaultExchangeCurrency&&fsb_bars[fsb_bar_index].currency_code!=defaultExchangeCurrency)try{const response=await fetch("https://cdn.shopify.com/s/javascripts/currencies.js");if(!response.ok)throw new Error("Could not retrieve currencies from Shopify");const scriptContent=await response.text();eval(scriptContent),Currency&&Currency.rates&&Object.keys(Currency.rates).length>0?toBaseExchangeRate=Currency.rates[fsb_bars[fsb_bar_index].currency_code]:console.error("Currency rates are not available.")}catch(error){console.error("There was a problem fetching the currencies:",error)}const roundToTwoDecimals=e=>Math.round(100*e)/100;fsb_total_price_converted=roundToTwoDecimals(fsb_total_price*toBaseExchangeRate*tmsData.rate/100),fsb_total_price_requires_shipping_converted=roundToTwoDecimals(fsb_total_price_requires_shipping*toBaseExchangeRate*tmsData.rate/100),goal=goal*toBaseExchangeRate*tmsData.rate,goal_2=goal_2*toBaseExchangeRate*tmsData.rate,currency_symbol_text=fsb_symbols[tmsData.toCurrency.code]}else"1.0"!==shopify_currency_rate||fsb_check_currency_selector()||shopify_url_currency_code?(fsb_total_price_converted=fsb_total_price/100,fsb_total_price_requires_shipping_converted=fsb_total_price_requires_shipping/100,goal*=shopify_currency_rate,goal_2*=shopify_currency_rate,currency_symbol_text=fsb_symbols[shopify_currency_code]):(fsb_total_price_converted=fsb_total_price*fsb_bars[fsb_bar_index].currency_exchange_rate/100,fsb_total_price_requires_shipping_converted=fsb_total_price_requires_shipping*fsb_bars[fsb_bar_index].currency_exchange_rate/100,goal*=fsb_bars[fsb_bar_index].currency_exchange_rate,goal_2*=fsb_bars[fsb_bar_index].currency_exchange_rate,currency_symbol_text=fsb_bars[fsb_bar_index].currency_symbol)}else fsb_bars[fsb_bar_index].currency_code===shopify_currency_code?(fsb_total_price_converted=fsb_total_price/100,fsb_total_price_requires_shipping_converted=fsb_total_price_requires_shipping/100,currency_symbol_text=fsb_bars[fsb_bar_index].currency_symbol):(fsb_total_price_converted=fsb_total_price/shopify_currency_rate*fsb_bars[fsb_bar_index].currency_exchange_rate/100,fsb_total_price_requires_shipping_converted=fsb_total_price_requires_shipping/shopify_currency_rate*fsb_bars[fsb_bar_index].currency_exchange_rate/100,currency_symbol_text=fsb_bars[fsb_bar_index].currency_symbol);if("require_shipping"===fsb_bars[fsb_bar_index].target_products_type||fsb_bars[fsb_bar_index].excluded_products&&fsb_bars[fsb_bar_index].excluded_products.length>0||fsb_bars[fsb_bar_index].incurred_fee_products&&fsb_bars[fsb_bar_index].incurred_fee_products.length>0)var reminder=goal-fsb_total_price_requires_shipping_converted,reminder_2=goal_2-fsb_total_price_requires_shipping_converted;else var reminder=goal-fsb_total_price_converted,reminder_2=goal_2-fsb_total_price_converted;goal=goal==parseInt(goal,10)?parseInt(goal,10):parseFloat(goal).toFixed(2),goal_2=goal_2==parseInt(goal_2,10)?parseInt(goal_2,10):parseFloat(goal_2).toFixed(2),reminder=reminder==parseInt(reminder,10)?parseInt(reminder,10):parseFloat(reminder).toFixed(2),reminder_2=reminder_2==parseInt(reminder_2,10)?parseInt(reminder_2,10):parseFloat(reminder_2).toFixed(2);var currency_symbol_html=""+currency_symbol_text+"",goal_html=""+goal+"",remainder_html=""+reminder+"",remainder_2_html=""+reminder_2+"";fsb_read_cookie("fsb_total_price_requires_shipping_"+fsb_bars[fsb_bar_index].bar_id)!=fsb_total_price_requires_shipping_converted&&("require_shipping"===fsb_bars[fsb_bar_index].target_products_type||fsb_bars[fsb_bar_index].excluded_products&&fsb_bars[fsb_bar_index].excluded_products.length>0||fsb_bars[fsb_bar_index].incurred_fee_products&&fsb_bars[fsb_bar_index].incurred_fee_products.length>0)?(fsb_write_cookie("fsb_total_price_requires_shipping_"+fsb_bars[fsb_bar_index].bar_id,fsb_total_price_requires_shipping_converted),fsb_remove_cookie("fsb_message_one_"+fsb_bars[fsb_bar_index].bar_id),fsb_remove_cookie("fsb_message_two_"+fsb_bars[fsb_bar_index].bar_id),fsb_remove_cookie("fsb_message_two2_"+fsb_bars[fsb_bar_index].bar_id),fsb_remove_cookie("fsb_message_three_"+fsb_bars[fsb_bar_index].bar_id)):fsb_read_cookie("fsb_total_price_"+fsb_bars[fsb_bar_index].bar_id)!=fsb_total_price_converted&&(fsb_write_cookie("fsb_total_price_"+fsb_bars[fsb_bar_index].bar_id,fsb_total_price_converted),fsb_remove_cookie("fsb_message_one_"+fsb_bars[fsb_bar_index].bar_id),fsb_remove_cookie("fsb_message_two_"+fsb_bars[fsb_bar_index].bar_id),fsb_remove_cookie("fsb_message_two2_"+fsb_bars[fsb_bar_index].bar_id),fsb_remove_cookie("fsb_message_three_"+fsb_bars[fsb_bar_index].bar_id));var bar_text="",displaying_message_six=!1,on_incurred_fee_product_page=!1,on_excluded_product_page=!1;if(!fsb_product_in_cart_incurs_shipping&&"undefined"!=typeof meta&&"product"==meta.page.pageType){let e=fsb_bars[fsb_bar_index].excluded_products.split(",");e.includes(String(meta.product.id))?on_excluded_product_page=!0:(e=fsb_bars[fsb_bar_index].incurred_fee_products.split(","),e.includes(String(meta.product.id))&&(on_incurred_fee_product_page=!0))}if(1==fsb_product_in_cart_incurs_shipping)if(displaying_message_six=!0,fsb_bars[fsb_bar_index].incurred_fee_products_list_in_message){let e=[],t=fsb_bars[fsb_bar_index].incurred_fee_products.split(",");for(let r=0;r0||fsb_bars[fsb_bar_index].incurred_fee_products&&fsb_bars[fsb_bar_index].incurred_fee_products.length>0)if(0===fsb_total_price_requires_shipping_converted){if("yes"===fsb_read_cookie("fsb_message_one_"+fsb_bars[fsb_bar_index].bar_id))return;fsb_write_cookie("fsb_message_one_"+fsb_bars[fsb_bar_index].bar_id,"yes",fsb_bars[fsb_bar_index].interval_time+.1),bar_text=bar_message_one}else if(fsb_total_price_requires_shipping_converted0&&fsb_total_price_requires_shipping_converted>=goal&&fsb_total_price_requires_shipping_converted0&&"yes"!=fsb_read_cookie("fsb_achieved_"+fsb_bars[fsb_bar_index].bar_id)){const e=`${FSB_SERVER_URL}fsb_record_bar?shop=${fsb_get_shop_domain()}&bar_id=${fsb_bars[fsb_bar_index].bar_id}&event=achieve`;fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()})).then((e=>{fsb_write_cookie("fsb_achieved_"+fsb_bars[fsb_bar_index].bar_id,"yes")})).catch((e=>{console.error("Fetch error:",e)}))}bar_text=bar_message_three}else if(0===fsb_total_price_converted){if("yes"===fsb_read_cookie("fsb_message_one_"+fsb_bars[fsb_bar_index].bar_id))return;fsb_write_cookie("fsb_message_one_"+fsb_bars[fsb_bar_index].bar_id,"yes",fsb_bars[fsb_bar_index].interval_time+.1),bar_text=bar_message_one}else if(fsb_total_price_converted0&&fsb_total_price_converted>=goal&&fsb_total_price_converted0&&"yes"!=fsb_read_cookie("fsb_achieved_"+fsb_bars[fsb_bar_index].bar_id)){const e=`${FSB_SERVER_URL}fsb_record_bar?shop=${fsb_get_shop_domain()}&bar_id=${fsb_bars[fsb_bar_index].bar_id}&event=achieve`;fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()})).then((e=>{fsb_write_cookie(`fsb_achieved_${fsb_bars[fsb_bar_index].bar_id}`,"yes")})).catch((e=>{console.error("Fetch error:",e)}))}bar_text=bar_message_three}else if("special"==fsb_bars[fsb_bar_index].excluded_message_type)bar_text=bar_message_four;else if("hidden"==fsb_bars[fsb_bar_index].excluded_message_type)return}else if("special"==fsb_bars[fsb_bar_index].incurred_message_type)bar_text=bar_message_five;else if("hidden"==fsb_bars[fsb_bar_index].incurred_message_type)return;"after"===fsb_bars[fsb_bar_index].currency_symbol_position&&!1===fsb_bars[fsb_bar_index].auto_currency?bar_text.indexOf("{{goal}}")>-1?bar_text=bar_text.replace(/({{currency_symbol}}|{{goal}})/g,(function(e){return"{{currency_symbol}}"===e?"{{goal}}":" {{currency_symbol}}"})):bar_text.indexOf("{{remainder}}")>-1?bar_text=bar_text.replace(/({{currency_symbol}}|{{remainder}})/g,(function(e){return"{{currency_symbol}}"===e?"{{remainder}}":" {{currency_symbol}}"})):bar_text.indexOf("{{remainder_2}}")>-1&&(bar_text=bar_text.replace(/({{currency_symbol}}|{{remainder_2}})/g,(function(e){return"{{currency_symbol}}"===e?"{{remainder_2}}":" {{currency_symbol}}"}))):""!=fsb_bars[fsb_bar_index].currency_symbol_position&&!0!==fsb_bars[fsb_bar_index].auto_currency||(currency_to_swap.indexOf(fsb_bars[fsb_bar_index].visitor_currency_code)>-1&&bar_text.indexOf("{{goal}}")>-1?bar_text=bar_text.replace(/({{currency_symbol}}|{{goal}})/g,(function(e){return"{{currency_symbol}}"===e?"{{goal}}":" {{currency_symbol}}"})):currency_to_swap.indexOf(fsb_bars[fsb_bar_index].visitor_currency_code)>-1&&bar_text.indexOf("{{remainder}}")>-1?bar_text=bar_text.replace(/({{currency_symbol}}|{{remainder}})/g,(function(e){return"{{currency_symbol}}"===e?"{{remainder}}":" {{currency_symbol}}"})):currency_to_swap.indexOf(fsb_bars[fsb_bar_index].visitor_currency_code)>-1&&bar_text.indexOf("{{remainder_2}}")>-1&&(bar_text=bar_text.replace(/({{currency_symbol}}|{{remainder_2}})/g,(function(e){return"{{currency_symbol}}"===e?"{{remainder_2}}":" {{currency_symbol}}"})))),bar_text=bar_text.replace("{{currency_symbol}}",currency_symbol_html),bar_text=bar_text.replace("{{goal}}",goal_html),bar_text=bar_text.replace("{{remainder}}",remainder_html),bar_text=bar_text.replace("{{remainder_2}}",remainder_2_html),bar_text=bar_text.replace(/{{/g,""),bar_text=bar_text.replace(/}}/g,"");var browser_width=window.innerWidth||document.body.clientWidth;if(null===document.getElementById("fsb_container")){var container_html='
';"top_push_v1"===fsb_bars[fsb_bar_index].position?handlePlacementTopPush(browser_width,container_html):"top_push_sticky_v1"===fsb_bars[fsb_bar_index].position?handlePlacementTopPushSticky().handlePlacementTopPushStickyLogic(browser_width,container_html,"fsb"):document.body.insertAdjacentHTML("beforeend",container_html)}let bar_html;const bar=fsb_bars[fsb_bar_index],clickable=bar.entire_bar_clickable,closeable=bar.close_option,backgroundStyle=`style="opacity: 0; margin: 0; padding: 0; left: 0; height: auto; width: 100%; z-index: 1000000; position: relative; ${clickable?"cursor: pointer;":""}"`,barStyle='style="text-align: center; margin: 0; padding: 10px; left: 0; height: auto; width: 100%; box-sizing: border-box; border: none;"',closeButtonHtml='
',onClick=clickable?'onclick="fsb_button_on_click(event);"':"",closeHtml=closeable?closeButtonHtml:"",createBarHtml=()=>`
\n
${bar_text}
\n ${closeHtml}\n
`;bar_html=createBarHtml(),document.getElementById("fsb_placeholder")&&(document.getElementById("fsb_placeholder").innerHTML="");let fsbContainer=document.getElementById("fsb_container");fsbContainer.innerHTML="",fsbContainer.style.display="block",fsbContainer.style.color="inherit",!document.getElementById("fsb_placeholder")||"inserted"!==fsb_bars[fsb_bar_index].position&&"inserted_sticky"!==fsb_bars[fsb_bar_index].position?document.getElementById("fsb_container").innerHTML=bar_html:document.getElementById("fsb_placeholder").innerHTML=bar_html;var screen_width=window.innerWidth>0?window.innerWidth:screen.width,adjusted_font_size=parseFloat(fsb_bars[fsb_bar_index].font_size),adjusted_bar_padding=parseFloat(fsb_bars[fsb_bar_index].bar_padding);"all"==fsb_bars[fsb_bar_index].target_device&&(screen_width<=736&&adjusted_font_size>14?(adjusted_bar_padding=14*adjusted_bar_padding/adjusted_font_size,adjusted_font_size=14,adjusted_bar_padding>8&&(adjusted_bar_padding=8)):screen_width>736&&screen_width<=770&&adjusted_font_size>16&&(adjusted_bar_padding=16*adjusted_bar_padding/adjusted_font_size,adjusted_font_size=16,adjusted_bar_padding>10&&(adjusted_bar_padding=10)));var color=fsb_bars[fsb_bar_index].background_color,rgbaCol="rgba("+parseInt(color.slice(-6,-4),16)+","+parseInt(color.slice(-4,-2),16)+","+parseInt(color.slice(-2),16)+","+fsb_bars[fsb_bar_index].opacity+")";let fsbBar=document.getElementById("fsb_bar");fsbBar.style.backgroundColor=rgbaCol,fsbBar.style.color=fsb_bars[fsb_bar_index].text_color_one,fsbBar.style.fontSize=adjusted_font_size+"px",fsbBar.style.lineHeight=1.25*adjusted_font_size+"px",fsbBar.style.paddingTop=adjusted_bar_padding+"px",fsbBar.style.paddingBottom=adjusted_bar_padding+"px",fsbBar.style.fontFamily=fsb_bars[fsb_bar_index].font;let fsbCloseSvg=document.querySelector("#fsb_close svg");if(fsbCloseSvg&&(fsbCloseSvg.style.fill=fsb_bars[fsb_bar_index].text_color_one,fsbCloseSvg.style.width=1.5*adjusted_font_size+"px",fsbCloseSvg.style.height=1.5*adjusted_font_size+"px"),fsb_bars[fsb_bar_index].background_type){if("color"==fsb_bars[fsb_bar_index].background_type)document.getElementById("fsb_background").style.backgroundImage="";else if("gradient"==fsb_bars[fsb_bar_index].background_type)fsb_bars[fsb_bar_index].gradient_color_3&&fsb_bars[fsb_bar_index].gradient_color_3.trim().length>0?document.getElementById("fsb_background").style.backgroundImage="linear-gradient("+fsb_bars[fsb_bar_index].gradient_degree+"deg, "+fsb_bars[fsb_bar_index].gradient_color_1+", "+fsb_bars[fsb_bar_index].gradient_color_2+", "+fsb_bars[fsb_bar_index].gradient_color_3+")":document.getElementById("fsb_background").style.backgroundImage="linear-gradient("+fsb_bars[fsb_bar_index].gradient_degree+"deg, "+fsb_bars[fsb_bar_index].gradient_color_1+", "+fsb_bars[fsb_bar_index].gradient_color_2+")";else if("image_pattern"==fsb_bars[fsb_bar_index].background_type){let e=document.getElementById("fsb_background");e.style.backgroundImage="url("+FSB_CDN_URL+fsb_bars[fsb_bar_index].background_pic+")",e.style.backgroundRepeat="repeat"}else if("image_fit"==fsb_bars[fsb_bar_index].background_type){let e=document.getElementById("fsb_background");e.style.backgroundImage="url("+FSB_CDN_URL+fsb_bars[fsb_bar_index].background_pic+")",e.style.backgroundRepeat="no-repeat",e.style.backgroundSize="cover",e.style.animationName="ht_image_fit_slider",e.style.animationDuration=fsb_bars[fsb_bar_index].background_moving_speed+"s",e.style.animationIterationCount="infinite",e.style.animationDirection="alternate",e.style.animationTimingFunction="ease-in-out"}}else fsb_bars[fsb_bar_index].background_pic&&(document.getElementById("fsb_background").style.backgroundImage="url("+FSB_CDN_URL+fsb_bars[fsb_bar_index].background_pic+")");let fsbSymbol=document.getElementById("fsb_symbol"),fsbAmount=document.getElementById("fsb_amount");fsbSymbol&&(fsbSymbol.style.fontFamily=fsb_bars[fsb_bar_index].font,fsbSymbol.style.fontSize=adjusted_font_size+"px"),fsbAmount&&(fsbAmount.style.fontFamily=fsb_bars[fsb_bar_index].font,fsbAmount.style.fontSize=adjusted_font_size+"px"),null===document.getElementById("fsb_custom_code")&&document.body.insertAdjacentHTML("beforeend",'
');let fsbCustomCode=document.getElementById("fsb_custom_code");function executeScripts(element){const scripts=element.getElementsByTagName("script");for(let ht_i=0;ht_i"),executeScripts(fsbCustomCode),!0===fsb_bars[fsb_bar_index].progress_bar_display){let e,t=document.getElementById("fsb_bar");is_mobile()?100==fsb_bars[fsb_bar_index].progress_bar_width_percentage?(t.style.paddingRight="0px",t.style.paddingLeft="0px",e=0):e="mobile"==fsb_bars[fsb_bar_index].target_device?Math.trunc((100-fsb_bars[fsb_bar_index].progress_bar_width_percentage)/2)-1:0:100==fsb_bars[fsb_bar_index].progress_bar_width_percentage?(t.style.paddingRight="0px",t.style.paddingLeft="0px",e=0):e=Math.trunc((100-fsb_bars[fsb_bar_index].progress_bar_width_percentage)/2)-1,t.style.paddingBottom="1px";let r=fsb_bars[fsb_bar_index].progress_bar_margin_bottom-1;document.getElementById("fsb_bar").insertAdjacentHTML("beforeend",'
  
'),document.getElementById("fsb_custom_code").insertAdjacentHTML("beforeend","");let a=document.getElementById("fsb_progress_bar");a.style.marginTop=fsb_bars[fsb_bar_index].progress_bar_margin_top+"px",a.style.marginLeft=e+"%",a.style.marginRight=e+"%",a.style.marginBottom=r+"px",a.style.height=fsb_bars[fsb_bar_index].progress_bar_height+"px",a.style.borderRadius=fsb_bars[fsb_bar_index].progress_bar_border_radius+"px",a.style.overflow="hidden",a.style.position="relative";let s=document.getElementById("fsb_progress_bg_span");s.style.background=fsb_bars[fsb_bar_index].progress_bar_color_bg,s.style.height="inherit",s.style.width="100%",s.style.position="absolute",s.style.left="0";let o=document.getElementById("fsb_progress_color_span");if(o.style.position="inherit",o.style.height="inherit",o.style.width="0%",o.style.left="inherit",o.style.animation="ht_progress_bar_fill 1500ms ease-in-out 200ms 1 forwards",fsb_bars[fsb_bar_index].progress_bar_gradient?o.style.background="linear-gradient(to right, "+fsb_bars[fsb_bar_index].progress_bar_color_1+" 0%, "+fsb_bars[fsb_bar_index].progress_bar_color_2+" 100%)":o.style.background=fsb_bars[fsb_bar_index].progress_bar_color_1,updateBarHeight(),displaying_message_six)document.getElementById("fsb_progress_bar")&&(document.getElementById("fsb_progress_bar").style.visibility="hidden");else{var percent,previous_percent,amount_left=reminder<=0?0:reminder,keyFrames;percent=Math.trunc((goal-amount_left)/goal*100),previous_percent=fsb_read_cookie("fsb_previous_percent"),""==previous_percent&&(previous_percent=0),keyFrames="@keyframes ht_progress_bar_fill { 0%{ width: "+previous_percent+"%;} 100%{ width: "+percent+"%;}}",document.getElementById("progstyle").insertAdjacentHTML("beforeend",keyFrames),fsb_write_cookie("fsb_previous_percent",percent)}}setTimeout((function(){updateBarHeight(),setTimeout((function(){if(fsb_is_animated)document.getElementById("fsb_background").style.opacity=1;else{fsb_is_animated=!0;var e=document.getElementById("fsb_background");e.style.transition=`opacity ${fsb_bars[fsb_bar_index].animation_time}s linear`,e.style.opacity=1}}),0)}),200),fsb_bars[fsb_bar_index].show_time>0&&(fsb_is_disappearing=!0,fsb_goal=fsb_bars[fsb_bar_index].goal,clearTimeout(fsb_bar_timeout_show_time),fsb_bar_timeout_show_time=setTimeout((function(){let e=document.getElementById("fsb_background"),t=document.getElementById("fsb_placeholder"),r=document.getElementById("fsb_container"),a=1e3*fsb_bars[fsb_bar_index].animation_time,s=fsb_bars[fsb_bar_index].position;e.style.transition=`opacity ${a}ms linear, height 500ms ease-in-out`,e.style.opacity=0,setTimeout((()=>{e.style.height="0px"}),a),t&&("inserted"!==s&&"inserted_sticky"!==s||(t.style.paddingBottom="0")),"top_push"===s||"top_push_sticky"===s?(document.body.style.paddingTop="0",r.style.display="none"):"top_push_v1"===s||"top_push_sticky_v1"===s||"top_cover"===s||"top_cover_nonsticky"===s?r.style.display="none":"bottom_cover"===s&&(document.body.style.paddingBottom="0");var o=new CustomEvent("fsb_fully_unloaded",{detail:[s]});t&&t.dispatchEvent(o),r&&r.dispatchEvent(o),fsb_remove_theme_integration()}),1e3*fsb_bars[fsb_bar_index].show_time)),handleZIndex(browser_width,fsb_bars[fsb_bar_index].position,"fsb");let eventDetail={position:fsb_bars[fsb_bar_index].position},event=new CustomEvent("fsb_fully_loaded",{detail:eventDetail}),fsbPlaceholder=document.querySelector("#fsb_placeholder");fsbPlaceholder&&fsbPlaceholder.dispatchEvent(event),fsbContainer&&fsbContainer.dispatchEvent(event),window.addEventListener("qabIsClosing",(()=>{handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"fsb")})),window.addEventListener("epbIsClosing",(()=>{handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"fsb")}))}function fsb_get_shop_domain(){if("object"==typeof Shopify&&Shopify.hasOwnProperty("shop"))return Shopify.shop;for(var e=document.getElementsByTagName("script"),t=0;te.length&&(r=fsb_bars[fsb_bar_index].bar_link.substring(e.length,fsb_bars[fsb_bar_index].bar_link.length));let a=t.origin+(null!=window.Shopify.routes.root?window.Shopify.routes.root.slice(0,-1):"")+t.pathname+r;fsb_bars[fsb_bar_index].new_tab?window.open(a,"_blank"):window.location=a}else fsb_bars[fsb_bar_index].new_tab?window.open(fsb_bars[fsb_bar_index].bar_link,"_blank"):window.location=fsb_bars[fsb_bar_index].bar_link}function fsb_close_on_click(e){e.preventDefault(),e.stopPropagation();let t=document.getElementById("fsb_placeholder"),r=document.getElementById("fsb_container");t&&t.dispatchEvent(new CustomEvent("fsb_fully_unloaded",{detail:[fsb_bars[fsb_bar_index].position]})),r&&r.dispatchEvent(new CustomEvent("fsb_fully_unloaded",{detail:[fsb_bars[fsb_bar_index].position]})),t&&setTimeout((function(){t.innerHTML=""}),100),r&&setTimeout((function(){r.innerHTML=""}),100),!t||"inserted"!==fsb_bars[fsb_bar_index].position&&"inserted_sticky"!==fsb_bars[fsb_bar_index].position||(t.style.paddingBottom="0px"),"top_push"!==fsb_bars[fsb_bar_index].position&&"top_push_sticky"!==fsb_bars[fsb_bar_index].position||(document.body.style.paddingTop="0px"),"top_cover"!==fsb_bars[fsb_bar_index].position&&"top_cover_nonsticky"!==fsb_bars[fsb_bar_index].position||r&&(r.style.display="none"),"bottom_cover"===fsb_bars[fsb_bar_index].position&&(document.body.style.paddingBottom="0px"),fsb_remove_theme_integration(),fsb_remove_container_height(),"top_push_sticky"!==fsb_bars[fsb_bar_index].position&&"top_push_sticky_v1"!==fsb_bars[fsb_bar_index].position||(window.hextomData.fsbHeight=0,window.dispatchEvent(new CustomEvent("fsbIsClosing"))),fsb_write_cookie("fsb_close_clicked","yes")}function is_mobile(){var e=!1;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e=!0),e}function fsb_remove_theme_integration(){var e=document.getElementById("fsb_theme_integration_styles");e&&e.parentNode.removeChild(e)}function fsb_remove_container_height(){var e=document.getElementById("fsb_container");e&&(parseFloat(e.style.height)>0&&(e.style.height="0"))}function fsb_check_currency_selector(){for(var e=["form#currency_form","form.shopify-currency-form",'form[action*="/localization"]',"input#CurrencySelector","form.currency-selector__form","li.account.currencies",".nav__sub-wrap--currency","form.currency-selector",".switcher.switcher--native",".ht-tms-dropdown"],t=1;t{if(!e.ok)throw new Error(`Error: ${e.statusText}`);return e.json()})).then((e=>{fsb_write_session_storage("fsb_payload","")})).catch((e=>{throw new Error(e)}))}}}function fsb_update_theme_is_xhr(){if(Shopify&&Shopify.theme&&(!fsb_theme||!fsb_theme.is_xhr)){fsb_theme.is_xhr=!0;var e=fsb_get_shop_domain();if(null!=e){var t=Shopify.theme.id;"number"==typeof t&&(t=t.toString()),fetch(FSB_SERVER_URL+"fsb_save_theme"+"?"+("domain="+e+"&theme_id="+t+"&is_xhr=true"),{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>{if(!e.ok)throw new Error(`Error: ${e.statusText}`);return e.json()})).then((e=>{})).catch((e=>{throw new Error(e)}))}}}function includesAny(e,t){if(0===t.length)return!1;for(let r=0;r{const{currentTarget:t}=e,{_url:r,_method:a}=t;"POST"===a&&includesAny(r,["/cart/change.js","/cart/update.js","/cart/add.js"])&&(fsb_check_cart(),fsb_update_theme_is_xhr())})),e.apply(this,arguments)}}function listenToCustomAddToCartEvent(){["product:added","booster:cart:b*add"].forEach((function(e){document.addEventListener(e,(function(e){fsb_check_cart()}))}))}function updateBarHeight(){var e=function(e){if(!e)return 0;let t=e.offsetHeight;const r=getComputedStyle(e);return t+=parseFloat(r.marginTop)+parseFloat(r.marginBottom),t-=1,t}(document.getElementById("fsb_bar"));window.hextomData=window.hextomData||{},window.hextomData.fsbHeight=e;const t=document.getElementById("fsb_placeholder"),r=document.getElementById("fsb_background"),a=document.getElementById("fsb_container"),s=document.body,o=fsb_bars[fsb_bar_index].position;t&&"inserted"===o?(r.style.position="relative",r.style.height=e+"px"):t&&"inserted_sticky"===o?(r.style.position="fixed",t.style.paddingBottom=e+"px",r.style.height=e+"px"):"top_push"===o?(r.style.top=0,r.style.position="absolute",r.style.height=e+"px",s.style.paddingTop=e+"px"):"top_push_sticky"===o?(r.style.top=0,r.style.position="fixed",r.style.height=e+"px",s.style.paddingTop=e+"px"):"top_push_v1"===o||("top_push_sticky_v1"===o?(r.style.top=0,r.style.position="fixed",a.style.height=e+"px"):"top_cover"===o?(r.style.top=0,r.style.position="fixed",r.style.height=e+"px"):"top_cover_nonsticky"===o?(r.style.top=0,r.style.position="absolute",r.style.height=e+"px"):"bottom_cover"===o&&(r.style.bottom=0,r.style.position="fixed",r.style.height=e+"px",s.style.paddingBottom=e+"px")),updateCSSBasedOnBarHeight(e)}function updateCSSBasedOnBarHeight(e){var t=window.innerWidth||document.body.clientWidth;let r=document.getElementById("fsb_theme_integration_styles");r&&r.parentNode.removeChild(r),"top_push_v1"===fsb_bars[fsb_bar_index].position?handleContentShiftTopPush(t,e,"fsb"):"top_push_sticky_v1"===fsb_bars[fsb_bar_index].position&&handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(t,"fsb")}return{fsb_button_on_click:fsb_button_on_click,fsb_close_on_click:fsb_close_on_click}}if(!window.fsb_already_run||"yes"!=window.fsb_already_run)var hextom_fsb_instance=hextom_fsb();window.fsb_button_on_click=function(e){hextom_fsb_instance.fsb_button_on_click(e)},window.fsb_close_on_click=function(e){hextom_fsb_instance.fsb_close_on_click(e)};