1let omnisend_email_submitted='';let omnisend_email_submit_in_progress=!1;const omnisend_contact_id=getCookieValue('omnisendContactID');window.addEventListener('load',function(){const elements=['#billing_email','.wc-block-components-text-input > #email'];elements.forEach(function(selector){var emailInput=document.querySelector(selector);if(emailInput){emailInput.addEventListener('focus',omnisend_handle_email_change);emailInput.addEventListener('change',omnisend_handle_email_change)}})});function omnisend_handle_email_change(event){if(omnisend_email_submit_in_progress){return} 2omnisend_email_submit_in_progress=!0;var email=event.target.value;var validEmail=function(email){return/^[a-zA-Z0-9.!#$%&â*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(email)};if(!validEmail(email)){omnisend_email_submit_in_progress=!1;return} 3if(omnisend_email_submitted===email){omnisend_email_submit_in_progress=!1;return} 4var urlParams=new URLSearchParams({action:'omnisend_identify',email:email,_wpnonce:omnisend_woo_data.nonce});if(omnisend_contact_id){urlParams.set('contact_id',omnisend_contact_id)} 5var url=omnisend_woo_data.ajax_url+'?'+urlParams.toString();fetch(url,{method:'POST',headers:{Accept:'application/json'}}).then(function(response){var successful=response.status>=200&&response.status<400;if(successful){omnisend_email_submitted=email} 6omnisend_email_submit_in_progress=!1}).catch(function(){omnisend_email_submit_in_progress=!1})} 7function getCookieValue(key){const cookies=Object.fromEntries(document.cookie.split('; ').map((cookie)=>cookie.split('=')));return cookies[key]?decodeURIComponent(cookies[key]):null}
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.