PageSourceSearch

https://www.xerjoff.com/cdn/shop/t/10/assets/custom.min.js?v=172852260188076224981788440633

js xerjoff.com collected 2026-10-02 07:41:06 UTC 24,873 bytes, 2 lines download raw bytes

1"use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var u=r&&r.prototype instanceof c?r:c,s=Object.create(u.prototype);return _regeneratorDefine2(s,"_invoke",function(n,r,o){var i,c,u,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,n){return i=t,c=0,u=e,f.n=n,a}};function m(n,r){for(c=n,u=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],m=f.p,v=i[2];n>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=m&&((o=n<2&&m<i[1])?(c=0,f.v=r,f.n=i[1]):m<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,c=0))}if(o||n>1)return a;throw d=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&m(l,v),c=l,u=v;(t=c<2?e:u)||!d;){i||(c?c<3?(c>1&&(f.n=-1),m(c,u)):f.n=u:f.v=u);try{if(s=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(d=f.n<0)?u:n.call(r,f))!==a)break}catch(t){i=e,c=1,u=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var a={};function c(){}function u(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(_regeneratorDefine2(t={},r,function(){return this}),t),d=s.prototype=c.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return u.prototype=s,_regeneratorDefine2(d,"constructor",s),_regeneratorDefine2(s,"constructor",u),u.displayName="GeneratorFunction",_regeneratorDefine2(s,o,"GeneratorFunction"),_regeneratorDefine2(d),_regeneratorDefine2(d,o,"Generator"),_regeneratorDefine2(d,r,function(){return this}),_regeneratorDefine2(d,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:i,m:f}})()}function _regeneratorDefine2(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}_regeneratorDefine2=function(e,t,n,r){function i(t,n){_regeneratorDefine2(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},_regeneratorDefine2(e,t,n,r)}function asyncGeneratorStep(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){asyncGeneratorStep(i,r,o,a,c,"next",e)}function c(e){asyncGeneratorStep(i,r,o,a,c,"throw",e)}a(void 0)})}}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function handleProductStickyHeader(){var e=document.querySelector(".product-sticky-header__wrapper"),t=document.querySelector(".header-wrapper"),n=document.querySelector(".announcement-bar-section");document.querySelector(".footer");if(e){var r=window.innerWidth<750;if(r){e.classList.add("sticky-bottom"),document.querySelector("footer").style.paddingBottom="".concat(e.offsetHeight,"px");var o=document.querySelector(".custom-banner"),i=document.querySelector(".product-sticky-header");o&&i&&i.appendChild(o)}else{var a=document.getElementsByTagName("product-info")[0];a&&document.addEventListener("scroll",function(){var o=t.offsetHeight+1+((null==n?void 0:n.offsetHeight)||0),i=a.getBoundingClientRect().bottom+window.scrollY;window.scrollY+e.offsetHeight>=i&&!r?(e.classList.add("sticky"),e.style.top="".concat(o,"px")):(e.classList.remove("sticky"),e.style.top="0")})}}}function handleStickyHeader(){var e=document.querySelector(".sticky-header"),t=document.querySelector(".header-wrapper"),n=document.querySelector(".announcement-bar-section"),r=document.querySelector(".main-article");t&&e&&r&&document.addEventListener("scroll",function(){var o=r.getBoundingClientRect().bottom+window.scrollY,i=t.offsetHeight+1+((null==n?void 0:n.offsetHeight)||0),a=e.getElementsByTagName("header")[0];window.scrollY>=o?(e.classList.add("sticky"),a.style.top="".concat(i,"px")):(e.classList.remove("sticky"),e.style.top="0")})}function syncRadioButtons(){var e=document.querySelectorAll('input[type="radio"]');if(e.length){var t=Array.from(e).find(function(e){return e.checked});e[0].classList.contains("synced")||(processStickyHeaderRadioButton(t,e),addRadioEventListener(e))}}function processStickyHeaderRadioButton(e,t){t.forEach(function(t){t.classList.add("synced"),t.classList.toggle("checked",e&&e.dataset.optionValueId===t.dataset.optionValueId)})}function addRadioEventListener(e){e.forEach(function(t){t.addEventListener("click",function(){if(t.checked){var n=t.dataset.optionValueId;e.forEach(function(e){e.classList.toggle("checked",e.dataset.optionValueId===n)})}})})}function observeStickyBottomVisibility(){var e=document.querySelector(".sticky-bottom"),t=document.querySelector(".footer");document.querySelector(".mobile-footer-button");if(e&&t){window.innerWidth;var n=!1,r=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&!n&&(n=!0,e.style.display="none")})},{root:null,threshold:0,rootMargin:"0px 0px 0px 0px"}),o=new IntersectionObserver(function(t){t.forEach(function(t){!t.isIntersecting&&n&&(n=!1,e.style.display="block")})},{root:null,threshold:0,rootMargin:"0px 0px 0px 0px"});r.observe(t),o.observe(t)}}document.addEventListener("DOMContentLoaded",function(){handleProductStickyHeader(),syncRadioButtons(),handleStickyHeader(),observeStickyBottomVisibility()}),document.addEventListener("change",function(){syncRadioButtons()}),document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("toggleFacetsButton"),t=document.querySelector(".mobile-facets__close"),n=document.querySelector(".mobile-facets__apply"),r=
1document.querySelectorAll(".active-facets__button-wrapper");function o(e,t){e.forEach(function(e){return null==e?void 0:e.classList.toggle("show",t)})}function i(){var e=document.querySelector("#main-collection-filters .facet-checkbox.active");o([document.querySelector(".center-area"),document.querySelector(".clear-results")],Boolean(e)),o(document.querySelectorAll(".active-facets__button-wrapper"),Boolean(e))}i(),null==e||e.addEventListener("click",function(){!function(){var e=document.getElementById("main-collection-filters"),t=document.querySelector(".close-filter"),n=document.querySelector(".open-filter");if(!e||!t||!n)return;e.classList.toggle("active"),t.classList.toggle("hidden"),n.classList.toggle("hidden"),i()}(),i()}),[t,n].forEach(function(e){return null==e?void 0:e.addEventListener("click",i)}),r.forEach(function(e){return e.addEventListener("click",function(e){o([document.querySelector(".center-area"),document.querySelector(".clear-results")],!1),o(document.querySelectorAll(".active-facets__button-wrapper"),!1),e.stopPropagation()})})}),document.addEventListener("DOMContentLoaded",function(){function e(){var e=document.getElementsByTagName("slider-component"),t=document.querySelector(".scroll-thumb");Array.from(e).length>0&&t&&Array.from(e).forEach(function(e){if(e.classList.contains("slider-enabled")){var n=e.querySelector(".slider"),r=t.parentElement;n&&r&&n.addEventListener("scroll",function(){var e=n.scrollLeft/(n.scrollWidth-n.clientWidth),o=r.clientWidth-t.clientWidth;t.style.transform="translateX(".concat(e*o,"px)")});var o=e.querySelector(".slider--tablet-up"),i=e.querySelector(".slider--mobile"),a=e.querySelector(".scroll-bar");if(a&&(i||o)){var c=o.scrollWidth>o.clientWidth||i.scrollWidth>i.clientWidth;a.classList.toggle("show",c)}else a.classList.remove("show")}})}e(),window.addEventListener("resize",function(){e()})});var sliders=document.querySelectorAll(".slider");function isDesktop(){return window.innerWidth>768}function createCartValidationModule(){function e(e){e.addEventListener("click",function(){var e=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(;;)switch(e.n){case 0:return n.preventDefault(),e.n=1,t(n);case 1:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}())}function t(e){return n.apply(this,arguments)}function n(){return(n=_asyncToGenerator(_regenerator().m(function e(t){var n,o,a;return _regenerator().w(function(e){for(;;)switch(e.p=e.n){case 0:return t.preventDefault(),(n=t.target).disabled=!0,e.p=1,e.n=2,r();case 2:return o=e.v,e.n=3,i(o);case 3:window.location.href="".concat(Shopify.routes.root,"checkout"),e.n=5;break;case 4:e.p=4,a=e.v,console.error("Cart validation failed:",a);case 5:return e.p=5,n.disabled=!1,e.f(5);case 6:return e.a(2)}},e,null,[[1,4,5,6]])}))).apply(this,arguments)}function r(){return o.apply(this,arguments)}function o(){return(o=_asyncToGenerator(_regenerator().m(function e(){var t;return _regenerator().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,fetch("".concat(Shopify.routes.root,"cart.js"),{credentials:"same-origin",method:"GET",headers:{"Content-Type":"application/json"}});case 1:if((t=e.v).ok){e.n=2;break}throw new Error("Failed to fetch cart data");case 2:return e.a(2,t.json())}},e)}))).apply(this,arguments)}function i(e){return a.apply(this,arguments)}function a(){return(a=_asyncToGenerator(_regenerator().m(function e(t){var n,r,o,i,a,s,l,d,f;return _regenerator().w(function(e){for(;;)switch(e.p=e.n){case 0:if(n=window.products.limit_sample_kit,r=window.products.sample_kit_handle,o=window.products.limit_discovery_set,i=window.products.discovery_set_handle,a=document.querySelectorAll('[data-tags*="customizable"]'),s=Array.from(a).map(function(e){return e.dataset.id}).join(","),e.p=1,l=[],d=c(t.items),t.items.forEach(function(e){if(s.includes(e.id.toString()))switch(e.handle){case r:(e.quantity>n||d[e.id]>n)&&(d[e.id]=d[e.id]-1,l.push(e));break;case i:e.quantity>o&&l.push(e)}}),0==l.length){e.n=2;break}return e.n=2,u(l);case 2:e.n=4;break;case 3:throw e.p=3,f=e.v,new Error("Cart validation failed",f);case 4:return e.a(2)}},e,null,[[1,3]])}
1))).apply(this,arguments)}function c(e){var t={};return e.forEach(function(e){var n=e.id;t[n]?t[n]+=1:t[n]=1}),t}function u(e){return s.apply(this,arguments)}function s(){return s=_asyncToGenerator(_regenerator().m(function e(t){var n,r;return _regenerator().w(function(e){for(;;)if(0===e.n)return n=t.map(function(e){return e.key}),r=n.reduce(function(e,t){return e[t]=0,e},{}),e.a(2,new Promise(function(){var e=_asyncToGenerator(_regenerator().m(function e(t){return _regenerator().w(function(e){for(;;)switch(e.n){case 0:fetch("".concat(Shopify.routes.root,"cart")+"/update.js",{body:JSON.stringify({updates:r}),credentials:"same-origin",method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}}).then(function(e){e.json().then(function(e){window.scrollTo({top:0,behavior:"smooth"}),t(!0)})}).catch(function(e){throw new Error("Failed to remove cart items",e)});case 1:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()))},e)})),s.apply(this,arguments)}return{observeForCheckoutButtonCreation:function(){var t=document.querySelectorAll('.drawer__footer button[type="submit"]');Array.from(t).forEach(function(t){t.hasAttribute("data-bound")||(t.setAttribute("data-bound","true"),e(t))});var n=new MutationObserver(function(t){var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){if("childList"===n.value.type){var o=document.querySelectorAll('.drawer__footer button[type="submit"]');Array.from(o).forEach(function(t){t.hasAttribute("data-bound")||(t.setAttribute("data-bound","true"),e(t))})}}}catch(e){r.e(e)}finally{r.f()}}),r=document.getElementsByTagName("cart-drawer");r&&n.observe(Array.from(r)[0],{childList:!0,subtree:!0});var o=document.getElementById("main-cart-footer"),i=null==o?void 0:o.querySelector('button[type="submit"]');o&&e(i)}}}function showCurrentVariantImages(){var e=document.querySelectorAll('.product-form__option-container input[type="radio"]');if(0!==e.length){var t=e[Array.from(e).findIndex(function(e){return e.classList.contains("checked")})].getAttribute("variant-id"),n=document.querySelectorAll(".product__media-item"),r=document.querySelectorAll(".collage-from-variant-image");[].concat(_toConsumableArray(n),_toConsumableArray(r)).forEach(function(e){e.getAttribute("data-variant-id")===t?e.removeAttribute("hidden"):e.setAttribute("hidden",!0)})}}sliders.forEach(function(e){var t,n,r=!1,o=!1;e.addEventListener("mousedown",function(i){isDesktop()&&(r=!0,o=!1,e.classList.add("active"),t=i.pageX-e.offsetLeft,n=e.scrollLeft)}),e.addEventListener("mouseleave",function(){r&&(r=!1,e.classList.remove("active"))}),e.addEventListener("mouseup",function(){r&&(r=!1,e.classList.remove("active"))}),e.addEventListener("mousemove",function(i){if(isDesktop()&&r){i.preventDefault();var a=i.pageX-e.offsetLeft-t;Math.abs(a)>5&&(o=!0),o&&(e.scrollLeft=n-a)}})}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".faq__toc-item"),t=Array.from(e);0!=t.length&&(function(e){e.forEach(function(t){t.addEventListener("click",function(){e.forEach(function(e){e.classList.remove("is-active")}),t.classList.add("is-active")})})}(t),function(e){var t=document.querySelectorAll(".product__accordion");if(0==t.length)return;t.forEach(function(t){t.addEventListener("click",function(){for(var n=t.previousElementSibling;n&&"H2"!==n.tagName;)n=n.previousElementSibling;var r,o=n?n.id:null;r=o,e.forEach(function(e){e.classList.remove("is-active"),e.href.includes("#".concat(r))&&e.classList.add("is-active")})})})}(e))}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".footer__newsletter"),t=e.querySelectorAll(".newsletter-checkbox"),n=e.querySelector(".field__button"),r=e.querySelector(".field__input");t.length>0&&function(e){var t=["newsletter-checkbox-profiling-mobile","newsletter-checkbox-profiling-desktop"];e.forEach(function(n){t.includes(n.id)?n.checked=!1:n.addEventListener("click",function(){if(t.includes(n.id))n.checked=!1;else{var r=n.checked;e.forEach(function(e){t.includes(e.id)?e.checked=!1:e.checked=r})}})})}(t),n&&function(e,t,n){e.addEventListener("click",function(e){var r=Array.from(n).some(function(e){return e.checked});/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.value.trim())&&r?t.classList.remove("newsletter-input-error"):(r||n.forEac
1h(function(e){e.classList.add("newsletter-input-error")}),e.preventDefault(),t.classList.add("newsletter-input-error"))})}(n,r,t),r&&r.addEventListener("input",function(){r.value=r.value.toLowerCase()});var o=document.querySelector(".back-link");o&&o.addEventListener("click",function(){document.querySelector(".footer-block__description").style.display="block",document.querySelector(".newsletter-form__field-wrapper").style.display="block",document.querySelector(".newsletter-form__message").style.display="none"})}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".announcement-bar-section"),t=document.querySelector(".section-header"),n=document.querySelector(".menu-drawer__close-button"),r=document.querySelector(".grandchild-menu-title"),o=document.querySelector(".grandchild-menu");if(e&&t&&n&&r){var i=o.querySelectorAll("li");requestAnimationFrame(function(){var e,t=i.length*((null===(e=i[0])||void 0===e?void 0:e.offsetHeight)||0);o.style.height=0!==t?"".concat(t/2,"px"):"100%"})}}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".banner");0!==e.length&&e.forEach(function(e){var t=e.querySelector(".banner__subtitle"),n=e.querySelector(".banner__heading"),r=[t,e.querySelector(".banner__text"),e.querySelector(".banner__buttons")].filter(Boolean);new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(n.classList.add("reveal"),t.unobserve(n),n.addEventListener("transitionend",function(){r.forEach(function(e,t){setTimeout(function(){e.classList.add("reveal")},500*t)})}))})},{threshold:.5}).observe(n)})}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".article-template__hero-container"),t=document.querySelector(".article-template header");e&&t&&setTimeout(function(){e.classList.add("animate-in"),t.classList.add("animate-in")},100)}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".image-animation-1, .image-animation-2");if(0!==e.length){var t=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(e.target.classList.add("animate"),t.unobserve(e.target))})});e.forEach(function(e){t.observe(e)})}}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".section-stagger-animation").forEach(function(e){var t=Array.from(e.querySelectorAll("img, iframe")),n=Array.from(e.querySelectorAll("p, .animatable, .body-1, .card__information, .body-2, .highlight, .h0, .h1, .h2, .h3, .h4, .h5, .subtitle, .subtitle-2, .memo, .handwriting, .voice .text_animation, .image-animation-2, .image-animation-1, .combined-animation, .button")),r=[].concat(t,n);r.forEach(function(e){e.classList.add("hidden-until-visible")});var o=new IntersectionObserver(function(e,r){e.forEach(function(e){if(e.isIntersecting){var o=e.target;t.includes(o)&&(o.classList.remove("hidden-until-visible"),o.classList.add("stagger-animation"),r.unobserve(o),setTimeout(function(){n.forEach(function(e){e.classList.remove("hidden-until-visible"),e.classList.add("stagger-animation")})},500))}})},{threshold:.1});0===t.length?n.forEach(function(e){e.classList.remove("hidden-until-visible"),e.classList.add("stagger-animation")}):r.forEach(function(e){o.observe(e)})})}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".text_animation");if(e.length>0){e.forEach(function(e){e.classList.add("hidden-until-visible")});var t=new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(e.target.classList.remove("hidden-until-visible"),e.target.classList.add("animate"),t.unobserve(e.target))})});e.forEach(function(e){t.observe(e)})}}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".slider-container");if(0!==e.length){e.forEach(function(e){r(e)});var t=document.querySelector(".mobile-facets");if(t)new MutationObserver(function(e){e.forEach(function(e){"childList"===e.type&&e.addedNodes.forEach(function(e){e.nodeType===Node.ELEMENT_NODE&&e.classList.contains("slider-container")&&!e.hasAttribute("handle-bound")&&(e.setAttribute("handle-bound","true"),r(e))})})}).observe(t,{childList:!0,subtree:!0});var n=document.querySelector(".facets-container");if(n)new MutationObserver(function(e){e.forEach(function(e){"childList"===e.type&&e.addedNodes.forEac
1h(function(e){if(e.nodeType===Node.ELEMENT_NODE&&e.classList.contains("facets__summary")){var t=e.closest(".slider-container");if(!t||t.hasAttribute("handle-bound"))return;e.setAttribute("handle-bound","true"),r(t)}})})}).observe(n,{childList:!0,subtree:!0})}function r(e){var t,n,r,o,i,a,c,u=[0,50,100],s=!1,l=!1;function d(e){s=!0,l=!0,n.style.transition="none",a="mousedown"===e.type?e.clientX:e.touches[0].clientX,c=parseFloat(n.style.left)}function f(e){if(s){var t="mousemove"===e.type?e.clientX:e.touches[0].clientX,r=c+(t-a)/i*100;r<0&&(r=0),r>100&&(r=100),n.style.left=r+"%"}}function m(){if(s){s=!1;var e=parseFloat(n.style.left),t=u.reduce(function(t,n,r){return Math.abs(n-e)<Math.abs(u[t]-e)?r:t},0),r=t;if(o[t]&&o[t].disabled){var i=Array.from(o).findIndex(function(e){return e.checked});r=-1!==i?i:1,l=!1}v(r),l=!1}}function v(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n.style.left=u[e]+"%",r?n.style.transition="left 0.2s ease":(n.style.transition="none",n.offsetHeight,n.style.transition=""),t.forEach(function(t,n){return t.classList.toggle("active",n===e)}),o.forEach(function(t,n){t.checked=n===e,n===e&&l&&!t.disabled&&t.click()})}t=e.querySelectorAll(".slider-value"),(n=e.querySelector(".slider-handle")).setAttribute("handle-bound",!0),r=e.querySelector(".slider-track"),o=e.querySelectorAll('input[type="checkbox"]'),i=r.offsetWidth,t.forEach(function(e,t){e.addEventListener("click",function(){o[t]&&o[t].disabled||v(t)})}),n.addEventListener("mousedown",d),n.addEventListener("touchstart",d),document.addEventListener("mousemove",f),document.addEventListener("touchmove",f),document.addEventListener("mouseup",m),document.addEventListener("touchend",m),o.forEach(function(e,t){e.addEventListener("change",function(){e.checked&&(l=!1,v(t,!0))})});var h=Array.from(o).findIndex(function(e){return e.checked});v(-1!==h?h:1,!1)}}),document.addEventListener("DOMContentLoaded",function(){createCartValidationModule().observeForCheckoutButtonCreation()}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".cart-items-section"),t=document.querySelector(".js-contents");if(e&&t){var n=i();if(!n)return;var r=document.querySelectorAll(".custom-banner");Array.from(r).forEach(function(e){o(e,n)}),new MutationObserver(function(e){var t,n=_createForOfIteratorHelper(e);try{var a,c=function(){if("childList"===t.value.type){var e=i();if(!e)return{v:void 0};Array.from(r).forEach(function(t){o(t,e)})}};for(n.s();!(t=n.n()).done;)if(a=c())return a.v}catch(e){n.e(e)}finally{n.f()}}).observe(e,{childList:!0,subtree:!0})}function o(e,t){if("false"!=e.getAttribute("data_show_at_amount")){var n=Number(e.getAttribute("data_min_value"))||null,r=Number(e.getAttribute("data_max_value"))||null,o=Number(e.getAttribute("data_below_value"))||null,i=Number(e.getAttribute("data_above_value"))||null,a=e.closest(".custom-banner-wrapper");if(a){var c=null!==n&&t>n&&t<r||null!==o&&t<o||null!==i&&t>i;a.style.display=c?"block":"none",a.style.visibility=c?"visible":"hidden"}}}function i(){var e=document.querySelector(".cart__footer .totals__total-value"),t=null==e?void 0:e.textContent.trim();return t&&parseFloat(t.replace(/[^\d,]/g,"").replace(",","."))||null}}),document.addEventListener("DOMContentLoaded",function(){showCurrentVariantImages(),document.addEventListener("change",function(){showCurrentVariantImages()})}),document.addEventListener("DOMContentLoaded",function(){if(document.querySelector("main.homepage")){var e=document.querySelector(".announcement-bar-section"),t=document.querySelector(".header-wrapper");n(),window.addEventListener("resize",function(){return n()})}function n(){var n,r,o=(n=t?t.offsetHeight:0,r=e?e.offsetHeight:0,window.innerHeight-n-r);document.documentElement.style.setProperty("--banner-height","".concat(o,"px"))}}),document.addEventListener("DOMContentLoaded",function(){window.location.search.includes("?form_key")&&new MutationObserver(function(e,t){document.querySelector("#h-captcha, .g-recaptcha, #g-recaptcha, .shopify-challenge__container")&&(window.scrollTo({top:0,behavior:"smooth"}),t.disconnect())}).observe(document.body,{childList:!0,subtree:!0})}),document.addEventListener("DOMContentLoaded",function(){window.location.search.includes("?customer_posted")&&window.scrollTo({top:0,behavior:"smooth"})});
2//# sourceMappingURL=custom.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.