1function updateBeforeAfterContainer(container){const input=container.querySelector('input[type="range"]'),handle=container.querySelector(".ims-slider .ims-handle-line"),afterImage=container.querySelector(".ims-image-after");if(!input||!handle||!afterImage)return;const slideValue=input.value;afterImage.style.clipPath="polygon(0 0,"+slideValue+"% 0,"+slideValue+"% 100%, 0 100%)",handle.style.left=slideValue+"%"}document.addEventListener("input",function(event){event.target.matches('.ims-container input[type="range"]')&&updateBeforeAfterContainer(event.target.closest(".ims-container"))});function initBeforeAfterContainers(){document.querySelectorAll(".ims-container").forEach(updateBeforeAfterContainer)}initBeforeAfterContainers(),Shopify.designMode&&document.addEventListener("shopify:section:load",initBeforeAfterContainers); 2//# sourceMappingURL=/cdn/shop/t/23/assets/before-and-after-slider.js.map?v=70948611513125960331786064898
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.