(()=>{var e=jQuery("#billing_invoice_ask"),a=jQuery("#billing_vat_number");e.length&&(e.change((function(){var i=a.closest("p");e.is(":checked")?i.show():(i.hide(),a.val(""))})),jQuery(document).ready((function(){var i=e.attr("data-invoice-ask")||e.closest("label").attr("data-invoice-ask");a.val().length>2&&"0"!==i&&e.prop("checked",!0),e.trigger("change")})))})();