1"undefined"==typeof wlpr_jquery&&(wlpr_jquery=jQuery.noConflict()),wlpr=window.wlpr||{},function(e){e.copyLink=function(e){var r=document.getElementById(e);r.select(),r.focus(),r.select(),document.execCommand("copy")},e.twitterShare=function(r){window.open(r,"tweeter-share-dialog","width=626, height=436"),e.award_social_point("wlpr_twitter_share_reward")},e.whatsAppShare=function(r){window.open(r,"whats-app-share","width=626, height=436"),e.award_social_point("wlpr_whats_app_share")},e.emailShare=function(r){e.award_social_point("wlpr_email_share_reward"),window.open(r,"_blank")},e.shareFB=function(r){e.award_social_point("wlpr_facebook_share_reward"),window.open(r,"_blank")},e.award_social_point=function(e){var r={action:e,security:wlpr_localize_data.apply_share_nonce};wlpr_jquery.ajax({data:r,type:"post",url:wlpr_localize_data.ajax_url,error:function(e,r){console.log(r)},success:function(e){}})},e.removeFee=function(e){var r=wlpr_jquery("#wlpr_is_checkout").val(),o={action:"wlpr_loyal_point_remove_fee",fee_id:e,security:wlpr_localize_data.apply_coupon_nonce?wlpr_localize_data.apply_coupon_nonce:wc_checkout_params.apply_coupon_nonce};wlpr_jquery.ajax({type:"POST",url:wlpr_localize_data.ajax_url,data:o,success:function(e){wlpr_points_applied=!0,wlpr_jquery(".woocommerce-error, .woocommerce-message").remove(),e.success&&r?wlpr_jquery("body").trigger("update_checkout"):window.location.reload()},dataType:"json"})},e.show_notice=function(e,r){r||(r=wlpr_jquery(".woocommerce-notices-wrapper:first")||wlpr_jquery(".cart-empty").closest(".woocommerce")||wlpr_jquery(".woocommerce-cart-form")),r.prepend(e)}}(wlpr),wlpr_jquery,wlpr_jquery(document).on("ready",function(){wlpr_jquery("#billing_email_field").addClass("address-field")}),alertify.set("notifier","position","top-right"),wlpr_jquery(document).on("click","#wlpr_point_apply_discount_button",function(e){var r=wlpr_jquery("#wlpr_is_partial").val(),o=wlpr_jquery("#wlpr_is_checkout").val();if(1==r)return e.preventDefault(),alertify.prompt(wlpr_localize_data.checkout_partial_discount_message,0,function(e,r){wlpr_jquery("#wlpr_point_apply_discount_amount").val(r);var a={action:"wlpr_apply_loyal_discount",discount_amount:r,wlpr_none:wlpr_localize_data.wlpr_discount_none};wlpr_jquery.ajax({type:"POST",url:wlpr_localize_data.ajax_url,data:a,dataType:"json",success:function(e){1==o?e.success&&wlpr_jquery(document.body).trigger("update_checkout",{update_shipping_method:!0}):(wlpr_jquery(".woocommerce-error, .woocommerce-message, .woocommerce-info").remove(),e.data.message&&wlpr.show_notice(e.data.message),wlpr_jquery(document.body).trigger("wc_update_cart",!0)),wlpr_jquery(document.body).trigger("wc_fragment_refresh")}})}).setHeader(""),!1;var a={action:"wlpr_apply_loyal_discount",discount_amount:wlpr_jquery("#wlpr_discount_point").val(),wlpr_none:wlpr_localize_data.wlpr_discount_none};return wlpr_jquery.ajax({type:"POST",url:wlpr_localize_data.ajax_url,data:a,dataType:"json",success:function(e){1==o?e.success&&wlpr_jquery(document.body).trigger("update_checkout",{update_shipping_method:!0}):(wlpr_jquery(".woocommerce-error, .woocommerce-message, .woocommerce-info").remove(),e.data.message&&wlpr.show_notice(e.data.message),wlpr_jquery(document.body).trigger("wc_update_cart",!0)),wlpr_jquery(document.body).trigger("wc_fragment_refresh")}}),!1});
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.