https://majicatl.com/wp-content/plugins/ione-modules/build/newslet…/view.js?ver=fa5c5a9655d55337dc9e
1(()=>{"use strict";const e=window.wp.hooks,t=window.wp.url;iOneScriptLoader.mediumPriority(()=>{const e=()=>{document.querySelectorAll(".wp-block-ione-newsletter-sign-up").forEach(e=>{var t,n;(e=>{const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)})(e)&&"yes"!==e.dataset.noticed&&(e.dataset.noticed="yes",window.iOneGA.sendEvent("newsletter-signup","view",(t=e,`${window.location.origin}${window.location.pathname}:${null!==(n=t?.parentNode?.dataset?.sidebarId)&&void 0!==n?n:"gutenberg-block"}`)))})};"complete"===document.readyState||"interactive"===document.readyState?e():document.addEventListener("DOMContentLoaded",e),window.addEventListener("scroll",e)}),function(n){iOneScriptLoader.lowPriority(()=>{n(".sailthru-add-subscriber-form").on("submit",function(){const i=n(this),o=i.find('input[type="email"]'),s=o.val(),r="string"==typeof s?s.trim():"";if(0===o.length||!(0,t.isEmail)(r))return;const c=i.get(0).closest(".wp-block-ione-newsletter-sign-up"),d=i.find('button[type="submit"]');n(d).html("Please wait...");const l=(t,i)=>{if("User Subscribed"===i.responseJSON.message){const t=c.querySelector(".success");t.removeAttribute("hidden"),t.style.height="82px",c.querySelector(".wp-block-ione-newsletter-sign-up__privacy").remove(),window.iOneGA.sendEventDirectly("ui_js_click",{ui_element:"newsletter_signup"}),(0,e.doAction)("ione_newsletter_sign_up_success",r)}else n(d).html("Subscribe");n(document).off("ajaxComplete",l)};n(document).on("ajaxComplete",l)})})}.call(window,jQuery)})();
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.