1!function($){void 0!=window.responsive&&(responsiveSingleProductAjax={quick_view_enable:responsiveShopQuickView.shop_quick_view_enable||!1,init:function(){this._bind()},_bind:function(){responsiveSingleProductAjax.quick_view_enable&&$(document.body).on("click","#responsive-quick-view-content .product:not(.product-type-external) button.single_add_to_cart_button",responsiveSingleProductAjax._processAjaxRequest),$(document.body).on("added_to_cart",responsiveSingleProductAjax._updateButton)},_processAjaxRequest:function(e){e.preventDefault();var $form=$(this).closest("form");if(!$form[0].checkValidity())return $form[0].reportValidity(),!1;var $thisbutton=$(this),product_id=$(this).val()||"";$('input[name="variation_id"]').val();if(!$thisbutton.hasClass("disabled")){$thisbutton.removeClass("added"),$thisbutton.addClass("loading");var quantity=$('input[name="quantity"]').val();if($(".woocommerce-grouped-product-list-item").length){var quantities=$("input.qty"),quantity=[];$.each(quantities,function(index,val){var name=$(this).attr("name");name=name.replace("quantity[",""),name=name.replace("]",""),name=parseInt(name),$(this).val()&&(quantity[name]=$(this).val())})}var cartFormData=$form.serialize();$.ajax({url:responsive.ajax_url,type:"POST",data:"action=responsive_add_cart_single_product&add-to-cart="+product_id+"&"+cartFormData,success:function(results){if($(document.body).trigger("wc_fragment_refresh"),$(document.body).trigger("added_to_cart",[results.fragments,results.cart_hash,$thisbutton]),"yes"===wc_add_to_cart_params.cart_redirect_after_add)return void(window.location=wc_add_to_cart_params.cart_url)}})}},_updateButton:function(e,fragments,cart_hash,button){button=void 0!==button&&button,$("button.single_add_to_cart_button").length&&($(button).removeClass("loading"),$(button).addClass("added"),responsive.is_cart||0!==$(button).parent().find(".added_to_cart").length||$(button).after(' <a href="'+responsive.cart_url+'" class="added_to_cart wc-forward" title="'+responsive.view_cart+'">'+responsive.view_cart+"</a>"),$(document.body).trigger("wc_cart_button_updated",[button]))}},$(function(){responsiveSingleProductAjax.init()}))}(jQuery);
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.