1(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,n(o.key),o)}}function n(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}function r(e,n,r){return n=u(n),function(e,n){if(n&&("object"==t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e)}(e,i()?Reflect.construct(n,r||[],u(e).constructor):n.apply(e,r))}function o(t){var e="function"==typeof Map?new Map:void 0;return o=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&c(o,n.prototype),o}(t,arguments,u(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c(n,t)},o(t)}function i(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i=function(){return!!t})()}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}var l=function(t){function n(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(t=r(this,n)).headerElement=document.querySelector(".header-wrapper"),t.utilityBarElement=document.querySelector(".announcement-bar-section"),t.previousScrollY=window.scrollY,t.stickyAddContainer=document.querySelector(".sticky-add_container"),t.showOnScroll="true"===t.dataset.showOnScroll;var e=document.querySelector(".product__info-container");return t.targetElement=(null==e?void 0:e.querySelector(".product-form__submit"))||null,!t.showOnScroll&&t.targetElement&&t.checkVisibility(),window.addEventListener("scroll",t.handleScroll.bind(t)),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}(n,t),o=n,(i=[{key:"checkVisibility",value:function(){var t=this;new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting?t.displaySticky(!1):t.displaySticky(!0)})},{root:null,threshold:0}).observe(this.targetElement)}},{key:"handleScroll",value:function(){var t=this.headerElement?this.headerElement.getBoundingClientRect().height:0,e=0;this.utilityBarElement&&"relative"!==window.getComputedStyle(this.utilityBarElement).position&&(e=this.utilityBarElement.getBoundingClientRect().height),this.stickyAddContainer.style.top="".concat(t+e,"px"),this.showOnScroll&&(0===window.scrollY?this.displaySticky(!1):this.displaySticky(!0)),this.previousScrollY=window.scrollY}},{key:"displaySticky",value:function(t){t?this.stickyAddContainer.classList.add("visible"):(this.stickyAddContainer.classList.remove("visible"),this.stickyAddContainer.style.removeProperty("top"))}}
1])&&e(o.prototype,i),u&&e(o,u),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,i,u}(o(HTMLElement));customElements.get("sticky-add")||customElements.define("sticky-add",l)})();
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.