PageSourceSearch

https://onlinecasinoshex.nl/wp-content/themes/brand-hex/app/js/issue.js?ver=86d728be

js onlinecasinoshex.nl collected 2026-10-08 21:07:20 UTC 1,840 bytes, 1 lines download raw bytes

1(()=>{function s(o){let i=/\S+@\S+\.\S+/,t=document.getElementById("issueReportBtn"),n=i.test(o);return t.disabled=!n,t.classList[n?"remove":"add"]("btn-grey"),t.classList[n?"add":"remove"]("btn-green"),n}var a=document.getElementById("issueContainer"),e=document.getElementById("issueReportBtn");a&&a.querySelectorAll('form .step input[name="email"]')?.forEach(o=>{o.addEventListener("input",i=>{let t=i.target.value;s(t)})});e&&a&&e.addEventListener("click",()=>{let o=parseInt(e.getAttribute("data-step")),i=o+1;switch(e.classList.add("btn-grey"),e.classList.remove("btn-green"),e.setAttribute("disabled",!0),o){case 1:a.querySelectorAll(".popup-close")?.forEach(t=>{t.setAttribute("data-id","")});break;case 2:{let t={};if(a.querySelectorAll("form")?.forEach(n=>{t=new FormData(n)}),s(t.get("email"))){t.append("action","shb_api_feedback_set");let n=e.getAttribute("data-value");e.setAttribute("data-value",e.value),e.value=n,e.setAttribute("data-step",i),i=o+1,(async()=>await(await fetch(hexjs.ajax,{method:"POST",headers:{"X-WP-Nonce":hexjs.nonce},body:t})).json())(),a.querySelectorAll(".popup-close")?.forEach(r=>{r.setAttribute("data-id","issue")})}else i=o;break}case 3:{a.querySelectorAll("form")?.forEach(n=>{n.reset()}),a.querySelectorAll(".popup-close")?.forEach(n=>{n.click()}),a.querySelectorAll(".step")?.forEach(n=>{n.classList.contains("step-1")?n.classList.remove("d-none"):n.classList.add("d-none")});let t=e.getAttribute("data-value");return e.setAttribute("data-value",e.value),e.value=t,e.setAttribute("data-step",1),!1}}return o>1&&o<3&&(e.classList.add("btn-green"),e.classList.remove("btn-grey"),e.removeAttribute("disabled")),e.setAttribute("data-step",i),a.querySelectorAll(".step")?.forEach(t=>{t.classList.add("d-none")}),a.querySelectorAll(".step-"+i)?.forEach(t=>{t.classList.remove("d-none")}),!1});})();

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.