PageSourceSearch

https://www.gamesradar.com/vite/assets/Newsletter/ExitIntent/ExitIntent.ts-BkWAEScQ.js

js gamesradar.com collected 2026-09-24 08:26:28 UTC 981 bytes, 1 lines download raw bytes

1var e;import{s as t,M as o}from"./guard.ts-BZJXZ_7S.js";const n=["click","focus","mousemove","scroll"],r={passive:!0},a=e=>{const t=e.querySelector("[data-exit-intent-template]");if(t){const o=t.content.cloneNode(!0),n=Array.from(o.querySelectorAll("script"));e.before(o),(e=>{e.forEach((e=>{const t=document.createElement("script");Array.from(e.attributes).forEach((e=>{t.setAttribute(e.name,e.value)})),t.text=e.textContent??"",e.replaceWith(t)}))})(n)}e.remove()};null==(e=window.reliablePageLoad)||e.then((()=>{const e=document.querySelectorAll('[data-component-name="Newsletter:ExitIntent"]');0!==e.length&&e.forEach((e=>{const s="true"===e.dataset.membershipPopupEnabled;t(s)?a(e):((e,s)=>{const c=e=>{e.key!==o&&null!==e.key||l()},i=()=>{n.forEach((e=>{window.removeEventListener(e,l,r)})),window.removeEventListener("storage",c)},l=()=>{e.isConnected?t(s)&&(i(),a(e)):i()};n.forEach((e=>{window.addEventListener(e,l,r)})),window.addEventListener("storage",c)})(e,s)}))}));

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.