1(function($){$(document).on('click','.stm_swc-modal a.remove_from_cart',function(e){e.preventDefault();var product_id=$(this).attr("data-product_id"),cart_item_key=$(this).attr("data-cart_item_key"),product_container=$(this).parents('.stm_swc-modal');product_container.addClass('loading');$.ajax({type:'POST',dataType:'json',url:wc_add_to_cart_params.ajax_url,data:{action:"stm_swc_product_remove",product_id:product_id,cart_item_key:cart_item_key,nonce:stm_swc_global_variables.stm_swc_product_remove_nonce},success:function(response){if(!response||response.error) 2return;var fragments=response.fragments;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value)})} 3$('.stm_swc-cart-btn').addClass('stm-active');$('.stm_swc-wrapper').addClass('stm-active');$('.stm_swc-modal').addClass('stm-active');$('body').addClass('stm-overflow-hidden');product_container.removeClass('loading');showNotification('removed',null)}})})})(jQuery) 4;
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.