https://www.atp-cosmetici.it/wp-content/cache/min/1/wp-content/plu…/assets/js/xpay.js?ver=1790327969
1/** 2 * Copyright (c) 2019 Nexi Payments S.p.A. 3 * 4 * @author iPlusService S.r.l. 5 * @category Payment Module 6 * @package Nexi XPay 7 * @version 6.0.0 8 * @copyright Copyright (c) 2019 Nexi Payments S.p.A. (https://ecommerce.nexi.it) 9 * @license GNU General Public License v3.0 10 */ 11function checkApplePay($){if(!window.ApplePaySession){if($(".payment_method_xpay_applepay").length){$(".payment_method_xpay_applepay").remove()} 12if($(".payment_method_xpay_npg_applepay").length){$(".payment_method_xpay_npg_applepay").remove()}}}(function($){$(document).ready(function(){receipt_form=$("#nexi_xpay_receipt_form");if(receipt_form.length>0){receipt_form.submit()} 13checkApplePay($);setInterval(function(){checkApplePay($)},700);$(document).on("change","#pagodil-installments-number",function(){window.localStorage.setItem("lastSelectedInstallments",parseInt($("#pagodil-installments-number").val()),);installmentsCalc();if($("#installments")){$("#installments").val($("#pagodil-installments-number").val())}});jQuery("form.checkout").on("change",'input[name="payment_method"]',function(){if(jQuery('input[name="payment_method"]:checked').val()==="xpay_googlepay_button"||jQuery('input[name="payment_method"]:checked').val()==="xpay_applepay_button"){jQuery("#place_order").hide()}else{jQuery("#place_order").show()}})})})(jQuery);function installmentsCalc(){var admin_url=jQuery("#xpay_admin_url").val();jQuery.ajax({type:"POST",data:{action:"calc_installments",installments:jQuery("#pagodil-installments-number").val(),},url:admin_url+"admin-ajax.php",success:function(response){jQuery("#pagodil-installment-info").html(response.installmentsLabel)},complete:function(){},})}
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.