PageSourceSearch

https://siluetline.myshopify.com/cdn/shop/t/3/assets/bc.global.js?v=28651196241253871181526072090

js siluetline.myshopify.com collected 2026-10-09 21:19:17 UTC 3,081 bytes, 2 lines download raw bytes

1function addCart(){AT_Main.fixNoScroll(),$(".cart-sb").toggleClass("opened"),$("html,body").toggleClass("cart-opened")}function notifyAddCartFail($i){$(".loading").hide(),$.jGrowl($i,{life:3e3,position:"center"})}function addToCart(e){typeof e!="undefined"&&e.preventDefault(),$(".loading").show();var $this=$(this);$this.addClass("disabled");var form=$this.parents("form");$(".modal").modal("hide"),$.ajax({type:"POST",url:"/cart/add.js",async:!0,data:form.serialize(),dataType:"json",error:addToCartFail,success:addToCartSuccess,cache:!1})}function addToCartSuccess(jqXHR,textStatus,errorThrown){$(".add-to-cart").removeClass("disabled"),$.ajax({type:"GET",url:"/cart.js",async:!1,cache:!1,dataType:"json",success:updateCartDesc}),$(".loading").hide(),$("#layer-addcart-modal").show();var price=jqXHR.price,qty=jqXHR.quantity,total=price*qty,addcart_modal_image='<img src="'+Shopify.resizeImage(jqXHR.image,"medium")+'" alt="'+jqXHR.title+'"/>',addcart_modal_name=jqXHR.product_title,addcart_modal_variant="";jqXHR.variant_title!=null&&(addcart_modal_variant="Variante: "+jqXHR.variant_title);var addcart_modal_qty="<strong>Cantidad:</strong>"+jqXHR.quantity,addcart_modal_price="<strong>Total:</strong>"+Shopify.formatMoney(total,_bc_config.money_format),addcart_modal_numpro="";$(".basket .number").html()==1?addcart_modal_numpro="Ah\xED est\xE1 1 En tu Carro.":addcart_modal_numpro="Ah\xED est\xE1n "+$(".basket .number").html()+" En tu Carro.",$(".addcart-modal-image").html(addcart_modal_image),$(".addcart-modal-title").html(addcart_modal_name),$(".addcart-modal-price").html(addcart_modal_price),$(".addcart-modal-variant").html(addcart_modal_variant),$(".addcart-modal-qty").html(addcart_modal_qty),$(".addcart-modal-number").html(addcart_modal_numpro),$(".addcart-modal-box").show(),Shopify.getCart(function(cart){Shopify.updateCartInfo(cart,"#cart-info #cart-content")})}function addToCartFail(jqXHR,textStatus,errorThrown){var response=$.parseJSON(jqXHR.responseText),$i='<div class="error">'+response.description+"</div>";notifyAddCartFail($i)}function addcartModalHide(){$("#layer-addcart-modal").addClass("zoomOut animated").fadeOut(),$("#layer-addcart-modal").removeClass("zoomOut animated")}(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();)b[a]=b[a]||c})((function(){try{return console.log(),window.console}catch(err){return window.console={}}})());var g={common:{init:function(){$("body").on("click",".add-to-cart",addToCart)}},templateIndex:{init:function(){}},templateProduct:{init:function(){}},templateCart:{init:function(){}}},u={fire:function(t,a,o){var e=g;a=a===void 0?"init":a,t!==""&&e[t]&&typeof e[t][a]=="function"&&e[t][a](o)},loadEvents:function(){var t=document.body.id;u.fire("common"),$.each(document.body.className.split(/\s+/),function(a,o){u.fire(o),u.fire(o,t)})}};$(document).ready(u.loadEvents);
2//# sourceMappingURL=/cdn/shop/t/3/assets/bc.global.js.map?v=28651196241253871181526072090

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.