PageSourceSearch

https://www.codeage.com/cdn/shop/t/460/assets/custom-script.js?v=155504346210402463351790919112

js codeage.com collected 2026-10-03 22:29:14 UTC 2,727 bytes, 2 lines download raw bytes

1$(document).ready(function(){$(document).on("click",".js-price-range-change",function(e){e.preventDefault(),$(".js-price-range-change").removeClass("active"),$(this).addClass("active");let $priceRangeEl=$(this).parents("price-range"),min=$(this).data("min-price"),max=$(this).data("max-price"),label=$priceRangeEl.data("filter-label"),$priceInputs=$priceRangeEl.find("input"),$gteInput=$priceInputs.eq(0),$lteInput=$priceInputs.eq(1);$(this).hasClass("js-price-range-all")?($gteInput.val(""),$lteInput.val("")):($gteInput.val(min),$lteInput.val(max)),$priceInputs.get(0).dispatchEvent(new Event("input",{bubbles:!0})),$(this).closest(".mobile-facets__wrapper").find("summary").first().click()})}),$(document).on("productPagePriceChange",PriceChangeHandler);function PriceChangeHandler(){var $priceEl=$("#ProductPrice-product [data-product-price]");if($priceEl.length!==0){var newPrice=$priceEl.text();$(".product-buy-now-price .money").text(newPrice),$(".product-page-bottom-fixed-atc-container .money").text(newPrice)}}function initPriceObserver(){var priceNode=document.querySelector("#ProductPrice-product [data-product-price]");if(!(!priceNode||!window.MutationObserver)){var observer=new MutationObserver(function(){PriceChangeHandler()});observer.observe(priceNode,{characterData:!0,childList:!0,subtree:!0})}}initPriceObserver(),$(document).on("click",".product-grid-add-js,.qv-add-to-cart, .js-quick-add, .js-product-related-video-player-atc",function(e){e.preventDefault();var quantity=1,productID=$(this).data("product-id"),variantID=$(this).data("id"),collectionID=$(this).data("collection"),form_data={};form_data.id=variantID,form_data.form_type="product";const properties={};$(this).parents(".js-product-form").find('input[name^="properties["]').each(function(){var match=this.name.match(/^properties\[(.+)\]$/);if(match){var key=match[1];properties[key]=$(this).val()}}),form_data.properties=properties,addItem(form_data,collectionID)});var addItem=function(data,collectionID){var sectionParams=window.theme&&theme.Drawer&&typeof theme.Drawer.getSectionRequestParams=="function"?theme.Drawer.getSectionRequestParams():null;sectionParams&&sectionParams.id&&(data.sections=sectionParams.id,sectionParams.url&&(data.sections_url=sectionParams.url)),$.ajax({type:"POST",url:"/cart/add.js",dataType:"json",data,success:function(product){theme.Drawer.addToCartOkay(product,collectionID)},error:addToCartFail})},addToCartFail=function(obj,status){$("form .errors").remove(),$(".product__add__success").addClass("product__add__success--hide"),$("<div class='errors'>"+obj.responseJSON.message+"</div>").appendTo("form")};
2//# sourceMappingURL=/cdn/shop/t/460/assets/custom-script.js.map?v=155504346210402463351790919112

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.