PageSourceSearch

https://everwhiteboards.com/wp-content/plugins/woocommerce-avatax/…?ver=486e0cdb01eeb463c161a11f5f4a3d76

js everwhiteboards.com collected 2026-10-08 07:05:47 UTC 4,085 bytes, 1 lines download raw bytes

1jQuery(function(a){var e,t,o,n,c=window.wc_avatax_frontend,i=window.wc_avatax_frontend_misc,r=(e=window.wc_avatax_admin,t=window.woocommerce_admin,o=window.woocommerce_admin_meta_boxes,n=window.accounting,"admin-avatax-token"),l=!1;function u(e){a(":input",e).each(function(){var e=this.type;this.tagName.toLowerCase();"select-one"==e&&(this.value="")})}a(".wc-avatax-download-certificate").on("click",function(n){n.preventDefault();var e={action:"wc_avatax_download_certificate",certid:a(this).attr("cert-id")};return jQuery.post(c.ajax_url,e,function(e){var t,o;200===e.code&&(n.preventDefault(),t="application/pdf",e=e.data,o="Certificate",t="data:".concat(t,";base64,").concat(e),(e=document.createElement("a")).href=t,e.download=o,e.click())})}),a("#btnAddExemption").on("click",function(){return a(".container").css({"overflow-y":"",height:""}),a(".pop").show(),a("#overlay").show(),a("#exemption-zone-state").select2(),!1}),a(".close").on("click",function(){return deselect(a("#contact")),!1}),a("#cert_link").on("click",function(){return a(".container").css({"overflow-y":"",height:""}),a(".pop").show(),a("#overlay").show(),a("#exemption-zone-state").select2(),!1}),a("#btnProceed").on("click",function(e){e.preventDefault();var e=window.localStorage.getItem(r),t=(null===e&&(e="{}"),e=JSON.parse(e),a("#exemption-zone-state").find(":selected").val());if(null==t||""==t)alert(i.select_zone);else{var o,t="";if(""==(t=i.is_checkout_block?""!=document.getElementById("email")&&null!=document.getElementById("email")?document.getElementById("email").value:"":""!=document.getElementById("billing_email")&&null!=document.getElementById("billing_email")?document.getElementById("billing_email").value:"")){if(c.is_checkout)return o=i.enter_billing_address,void alert(o);t=i.user_email}if(!(void 0!==e[t]&&e[t].data.expirationDate>(new Date).toISOString()))return delete e[t],d(e,t),!1;s(e,e[t],t)}}),a("#btnWcClose").on("click",function(e){e.preventDefault(),GenCert.__reset(),u(".pop"),a(".pop").hide(),a("#overlay").hide(),l&&(c.is_checkout?a(document.body).trigger("update_checkout"):location.reload())}),a("#overlay").on("click",function(){GenCert.__reset(),u(".pop"),a(".pop").hide(),a("#overlay").hide(),l&&(c.is_checkout?a(document.body).trigger("update_checkout"):location.reload())}),a("#overlayinvalidate").on("click",function(){a(".invalidatepop").hide(),a("#overlayinvalidate").hide(),location.reload()});var d=function(t,o){jQuery.post(c.ajax_url,{action:"wc_avatax_get_ecommerce_token",custid:o},function(e){0!==e&&(200===e.code?s(t,e,o):alert(i.gencert_generic_error))})},s=function(e,t,o){GenCert.init(document.getElementById("form_container"),{ship_zone:a("#exemption-zone-state").find(":selected").text(),token:t.data.token,onCertSuccess:m,onUpload:m,onSaveCustomer:_,submit_to_stack:i.submit_to_stack||!1,primary_color:"#ff6600",secondary_color:"#ff6600"}),e[o]=t,window.localStorage.setItem(r,JSON.stringify(e)),GenCert.show(),a("#divRenderSdk").show()},_=function(){v(GenCert.customerNumber)},m=function(){l=!0,f(GenCert.customerNumber),v(GenCert.customerNumber),a("#btnRefreshCertificates").show(),a("#btnRefreshCertificates").on("click",function(e){e.preventDefault(),location.reload()})},f=function(e){jQuery.post(c.ajax_url,{action:"wc_avatax_update_caching_transient_for_customer",customerCode:e},function(e){})},v=function(e){var t=i.user_id;jQuery.post(c.ajax_url,{action:"wc_avatax_update_alternate_id",customerCode:e,userId:t},function(e){})};a(".wc-avatax-unlink-certificate").on("click",function(e){e.preventDefault();var e={certificateId:a(this).attr("cert-id"),userId:a(this).attr("customer-code"),action:"wc_avatax_unlink_customer_certificate"},t=i.confirm_invalidate_certificate;if(1==confirm(t))return jQuery.post(c.ajax_url,e,function(e){return e.code,a(".container").css({"overflow-y":"",height:""}),a(".invalidatepop").show(),a("#invalidateMsg").text(e.message),a("#overlayinvalidate").show(),!1})}),a(document).on("change","form.woocommerce-checkout #billing_email",function(){c.is_checkout&&a(document.body).trigger("update_checkout")})});

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.