1(()=>{var f=class{constructor(e){var n,o,s,i;let c={element:document.createElement("div"),text:void 0,textPosition:"bottom"},r={text:((o=(n=e?.element)===null||n===void 0?void 0:n.dataset)===null||o===void 0?void 0:o.ajaxBarText)||e?.text||c.text,textPosition:((i=(s=e?.element)===null||s===void 0?void 0:s.dataset)===null||i===void 0?void 0:i.ajaxBarTextPosition)||e?.textPosition||c.textPosition};if(this.options=Object.assign(c,e,r),/^top|bottom$/g.test(this.options.textPosition)||(console.error("Text posotion can be 'top' or 'bottom'"),this.options.textPosition="bottom"),this.bar=this.options.element,!this.bar)throw new Error("Ajax bar element not found!");this.loader=document.createElement("div"),this.text=document.createElement("div"),this.bar.classList.add("ajax-bar"),this.loader.classList.add("ajax-bar-loader"),this.text.classList.add("ajax-bar-text"),this.bar.append(this.loader),this.options.text&&(this.text.innerText=this.options.text,this.options.textPosition==="bottom"?this.bar.append(this.text):this.bar.prepend(this.text)),document.body.append(this.bar)}show(){this.bar.classList.add("is-open")}hide(){this.bar.classList.remove("is-open")}};function p(t,e={}){typeof dataLayer>"u"||dataLayer===null||(dataLayer.push({event_params:void 0}),dataLayer.push({event:t,event_params:e}))}function y(t,e=140){let n=document.getElementById(t);if(n){let s=n.getBoundingClientRect().top+window.pageYOffset-e;window.scrollTo({top:s,behavior:"smooth"})}}function x(t){let e=t.closest(".tg"),n=t.firstChild,o=n.getAttribute("data-text");e.classList[e.classList.contains("opened")?"remove":"add"]("opened"),n.setAttribute("data-text",n.textContent),n.innerHTML=o}function b(t,e="block"){let n=window.getComputedStyle(t);t.style.display=t.style.display==="none"||n.display==="none"?e:"none"}var g=class{init(){document.querySelectorAll("[data-ajax-html]").forEach(n=>{let{rootMargin:o,url:s,...i}=JSON.parse(n.dataset.ajaxHtml||"{}"),c=document.createElement("div");c.classList.add("ajax-html-loader"),n.after(c);let r=new IntersectionObserver(l=>{l.forEach(async d=>{d.isIntersecting&&(r.unobserve(d.target),await this.loadContent(n,s,i,c))})},{rootMargin:o||window.innerHeight+"px"});r.observe(n)})}async loadContent(e,n,o,s){if(!n){console.error("Missing URL in data-ajax-html attribute");return}if(!hexjs.nonce){console.error("Missing WP Nonce header");return}let i=e.querySelector("template").innerHTML.trim(),c=i!==""?i:null,r=o.nonce!==void 0?o.nonce:hexjs.nonce;delete o.nonce;try{let l=await fetch(n,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json","X-WP-Nonce":r},body:JSON.stringify({...o,content:c})});if(!l.ok)throw new Error(`Network response was not ok: ${l.status}`);let d=await l.json(),m=document.createRange().createContextualFragment(d);s.remove(),e.replaceWith(m),console.log("AJAX HTML loaded and replaced:",e)}catch(l){console.error("Error loading AJAX HTML:",l)}}};var h=class{REQUIRED=["nofollow","noopener","noreferrer"];init(){this.process(),new MutationObserver(n=>{for(let o of n)for(let s of o.addedNodes)s.nodeType===1&&(s.matches?.("a[href]")?this.process(s.parentNode||document):this.process(s))}).observe(document.documentElement,{childList:!0,subtree:!0})}addRelTokens(e){let n=(e.getAttribute("rel")||"").trim().split(/\s+/).filter(Boolean),o=new Set(n.map(s=>s.toLowerCase()));for(let s of this.REQUIRED)o.add(s);e.setAttribute("rel",Array.from(o).join(" "))}isExternalLink(e){let n=e.getAttribute("href");if(!n||/^(#|javascript:|mailto:|tel:)/i.test(n.trim()))return!1;let o;try{o=new URL(n,document.baseURI)}catch{return!1}return/^https?:$/i.test(o.protocol)?o.hostname!==location.hostname:!1}process(e=document){e.querySelectorAll("a[href]").forEach(n=>{this.isExternalLink(n)&&this.addRelTokens(n)})}};var v=null;function _(){return v||(v=fetch(hexjs.ajax+"?action=get_geo_data").then(t=>t.json()).catch(()=>null)),v}function S(){let t=document.getElementById("geo-popup");t&&sessionStorage.getItem("geoPopupDismissed")!=="true"&&_().then(e=>{if(!e||!e.country)return;let n=e.country,o=window.__CACHED_GEO__;
1if(n&&o&&n.code!==o.code){let w=function(){p("user_action",{element:"geo_popup",type:"dismiss",user_country:n.code,cached_country:o.code}),sessionStorage.setItem("geoPopupDismissed","true"),t.classList.remove("open")};t.querySelectorAll("[data-geo-user-country]").forEach(a=>a.textContent=n.name),t.classList.add("open");let i=t.querySelector("#geo-country-select"),c=i.querySelector(".geo-select-trigger"),r=i.querySelector(".geo-select-value"),l=i.querySelector("#geo-search-input"),d=i.querySelectorAll(".geo-option");r.textContent=n.name,r.dataset.value=n.code,c.addEventListener("click",()=>{i.classList.toggle("open"),i.classList.contains("open")&&l.focus()}),document.addEventListener("click",a=>{i.contains(a.target)||i.classList.remove("open")}),l.addEventListener("input",a=>{let u=a.target.value.toLowerCase();d.forEach(E=>{let A=E.textContent.toLowerCase();E.style.display=A.includes(u)?"":"none"})}),d.forEach(a=>{a.addEventListener("click",()=>{d.forEach(u=>u.classList.remove("selected")),a.classList.add("selected"),r.textContent=a.textContent,r.dataset.value=a.dataset.value,i.classList.remove("open")})});let m=t.querySelector(".geo-confirm-btn");t.querySelector(".popup-close").addEventListener("click",w),m.addEventListener("click",()=>{let a=r.dataset.value;p("geo_popup_submitted",{country:a}),a===o.code?w():(m.classList.add("is-loading"),fetch(hexjs.rest_regenerate+"?geo="+a,{method:"GET",credentials:"same-origin"}).then(u=>u.json()).then(u=>{u.success&&(p("user_action",{element:"geo_popup",type:"change",user_country:n.code,cached_country:o.code}),sessionStorage.setItem("geoPopupDismissed","true"),t.classList.remove("open"),window.location.reload())}).finally(()=>{m.classList.remove("is-loading")}))})}})}var C=".c-bonus-card__geo[data-restricted-countries]",T="/wp-content/plugins/wpz-user-cabinet/app/Front/templates/hex/img/flags/";function q(t,e){let n=(t.dataset.restrictedCountries||"").split(",").map(o=>o.trim().toUpperCase()).filter(Boolean).includes(e.code);t.dataset.fullRestricted&&(n=!0),t.classList.toggle("is-unavailable",n),t.querySelector("img").src=T+e.code.toLowerCase()+".svg",t.querySelector("[data-geo-country]").textContent=e.name,t.style.display="",n&&t.closest(".c-bonus-card")?.querySelector(".btn-tocasino")?.setAttribute("disabled","")}function k(){document.querySelector(C)&&_().then(t=>{t?.country?.code&&document.querySelectorAll(C).forEach(e=>q(e,t.country))})}var P=new f({}),j=new g,L=new h;S();k();if("requestIdleCallback"in window)window.requestIdleCallback(()=>{j.init(),L.init()});else{let t=function(){setTimeout(()=>{j.init()},500)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>{t(),L.init()}):(t(),L.init())}window.ajaxBar=P;if(hexjs.geo_info){let t=hexjs.geo_info.countryCode?hexjs.geo_info.countryCode.toLowerCase():!1,e=hexjs.geo_info.countryRegion?hexjs.geo_info.countryRegion.toLowerCase():!1,n=".hide-"+(t||""),o=e?n+"-"+e:!1;n&&document.querySelectorAll(n)?.forEach(s=>{s.style.display="none"}),o&&document.querySelectorAll(o)?.forEach(s=>{s.style.display="none"})}if(window.location.hash){document.querySelectorAll(".tg:not(.opened) .tg-btn")?.forEach(e=>{x(e)});let t=window.location.hash.substring(1);y(t)}document.querySelectorAll(".tg-btn").forEach(t=>{t.addEventListener("click",()=>{x(t)})});document.querySelectorAll('a[target="_blank"]')?.forEach(t=>{let e=t.getAttribute("rel");e==null?e="noopener":e.includes("noopener")||(e+=" noopener"),t.setAttribute("rel",e)});document.addEventListener("fullscreenchange",t=>{let{target:e}=t;document.fullscreenElement?e.classList.add("is-open"):e.classList.remove("is-open")});document.querySelectorAll('a[href^="#"]').forEach(t=>{let e=t.getAttribute("href").substring(1);e&&t.addEventListener("click",()=>{y(e)})});document.querySelectorAll(".doRevBlockItem")?.forEach(t=>{t.addEventListener("click",()=>{t.classList.toggle("open")})});document.addEventListener("click",t=>{let{target:e}=t;if(e.classList.contains("listing-expand")&&e.closest(".listing-itm")?.classList.toggle("is-open"),e.classList.contains("listing-tc-toggle")&&e.closest(".listing-itm")?.querySelector(".listing-tc")?.classList.toggle("is-open"),e.closest("dt")||e.tagName==="DT"){let n=e.tagName==="DT"?e:e.closest("dt");if(n.closest(".faq")){let o=n.nextElementSibling;b(o),n.classList[n.classList.contains("open")?"remove":"add"]("open")}}if(e.closest(".content-expand__btn")||e.classList.contains("content-expand__btn")){let n=e.classList.contains("content-expand__btn")?e:e.closest(".content-expand__btn"),o=n.textContent,s=n.
1closest(".content-expand");if(n.textContent=n.getAttribute("data-label"),n.setAttribute("data-label",o),s){let i=s.querySelector(".content-expand__box");i&&b(i)}}});var R=document.querySelectorAll(".holiday-banner-close");R.forEach(t=>{t.addEventListener("click",()=>{p("holiday_banner_close",{});let e=t.closest(".holiday-banner-n, .promo-banner");e&&e.classList.add("hidden-banner")})});})();
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.