PageSourceSearch

https://vegasaces.com/content/wp-content/js/global.min.js?v=1790892500

js vegasaces.com collected 2026-10-02 06:01:53 UTC 34,276 bytes, 82 lines download raw bytes

1(()=>{var A="/content/assets",I=Object.freeze({VEGASACES:"VegasAces"}),G=[{section:"Games",items:[{name:"All Games",link:"/",icon:"icon-all-games"},{name:"Slots",link:"/slots/",icon:"icon-slots"},{name:"Blackjack",link:"/blackjack/",icon:"icon-blackjack"},{name:"Live Dealer",link:"/live-dealer/",icon:"icon-live"},{name:"Table Games",link:"/table-games/",icon:"icon-table"},{name:"Video Poker",link:"/video-games/",icon:"icon-video-poker"},{name:"Specialty",link:"/specialty-games/",icon:"icon-other"},{name:"Bonus Games",link:"/bonus/",icon:"icon-bonus"}]},{section:"Promotions",items:[{name:"Promotions",link:"/promotions/",icon:"icon-promotions"}]},{section:"Support & Banking",items:[{name:"Banking",link:"/banking/",icon:"icon-banking"},{name:"Live Support",link:"#",icon:"icon-live-support",action:"openLiveSupport"}]}],C={FACEBOOK:"https://www.facebook.com/Vegas-Aces-106440838646354/",INSTA:"https://www.instagram.com/vegas_aces_casino/",XTWITTER:"https://x.com/VegasAcesCasino/",YOUTUBE:"https://www.youtube.com/channel/UCaEEYMFlUV6SBCXp8NiyAAQ/"},E={CASINOGAMES:{title:"Casino Games",links:[{text:"Slots",link:"/slots/"},{text:"Progressive Slots",link:"/progressive-slots/"},{text:"Table games",link:"/table-games/"},{text:"Live Dealer",link:"/live-dealer/"},{text:"Blackjack",link:"/blackjack/"},{text:"Jackpot Games",link:"/jackpot-games/"}]},INFORMATION:{title:"Information",links:[{text:"FAQs",link:"/faq/"},{text:"Banking",link:"/banking/"},{text:"About Us",link:"/about-us/"},{text:"Contact Us",link:"/contact-us/"},{text:"Privacy Policy",link:"/privacy-policy/"},{text:"Terms and Conditions",link:"/terms-conditions/"},{text:"Responsible Gambling",link:"/responsible-gaming/"}]},CASINOSECTIONS:{title:"Casino Sections",links:[{text:"Game Overviews",link:"/games/"},{text:"Casino Tips",link:"/tips/"},{text:"Casino News",link:"/insider/"},{text:"Promotions",link:"/promotions/"}]},GAMEREVIEWS:{title:"Game Reviews",links:[{text:"Slots",link:"/games/slots/"},{text:"Blackjack",link:"/games/blackjack/"},{text:"Table Games",link:"/games/table-games/"},{text:"Video Poker",link:"/games/poker/"},{text:"Online Keno",link:"/games/keno/"},{text:"Online Bingo",link:"/games/bingo/"},{text:"Live Dealer",link:"/games/live-dealer/"}]}};function w(n){return(n??"").trim()===""}function r(n,e,t=""){let o=document.createElement(n);return e&&(o.className=e),t&&(o.id=t),o}function P(n,e,t,o=void 0){let a=document.createElement("button");return a.insertAdjacentHTML("beforeend",n),a.setAttribute("type","button"),a.setAttribute("class",e??""),typeof t=="function"&&a.addEventListener("click",t),w(o)||a.setAttribute("id",o),a}function y(n,e,t,o,a,i=void 0){let s=document.createElement("a");return s.setAttribute("class",t??""),s.setAttribute("title",o||e),s.insertAdjacentHTML("beforeend",e||""),w(n)||(s.href=n),typeof a=="function"&&s.addEventListener("click",a),w(i)||s.setAttribute("id",i),s}function d(n,e,t=void 0,o=void 0,a=null){let i=document.createElement(n);return w(e)||i.setAttribute("class",e),w(t)||i.insertAdjacentHTML("beforeend",t),w(o)||i.setAttribute("id",o),i}function B(n,e,t,o,a,i=null,s=null,l=null){let c=document.createElement("img");if(c.setAttribute("src",`${A}/img/${n}`),c.setAttribute("height",o),c.setAttribute("alt",e),c.setAttribute("id",a),c.setAttribute("class",t),s!=null&&c.setAttribute("width",s),l!=null&&c.setAttribute("loading",l),i){let p=document.createElement("a");return p.setAttribute("href",i),p.appendChild(c),p}return c}var m={selectOne:n=>document.querySelector(n),selectAll:n=>document.querySelectorAll(n),show:n=>{let e=m.selectOne(n);if(!e)return;let t=e.dataset.display||"block";e.style.display=t,delete e.dataset.display},hide:n=>{let e=m.selectOne(n);if(!e)return;let t=window.getComputedStyle(e).display;t!=="none"&&!e.dataset.display&&(e.dataset.display=t),e.style.display="none"},remove:n=>{let e=m.selectOne(n);e&&e.parentNode&&e.parentNode.removeChild(e)},append:(n,e)=>{let t=m.selectAll(n);t.forEach(o=>{if(typeof e=="string")o.insertAdjacentHTML("beforeend",e);else if(e instanceof Node){let a=t.length>1&&o!==t[0]?e.cloneNode(!0):e;o.append(a)}})},removeClass:(n,e)=>
1{m.selectAll(n).forEach(o=>o.classList.remove(e))},addClassToClosest:(n,e,t)=>{if(!n)return;let o=n.closest(e);o&&o.classList.add(t)}};var S={EVENT_NAME:"wallet:changed",emitWalletChanged:(n,e,t=null)=>{let o=new CustomEvent(S.EVENT_NAME,{detail:{source:t,userDetail:e,isCashChosen:n}});window.dispatchEvent(o)}};var x=class extends HTMLElement{connectedCallback(){this.setAttribute("class","vegas-site-header"),this.createHeader(),this.checkUserStatus(),this.checkfreespinStatus()}disconnectedCallback(){document.removeEventListener("mouseup",this.handleCloseEvents)}createHeader(){let e=r("nav","primary-nav");e.appendChild(this.createMenuList()),e.appendChild(this.createOptimoveBell()),e.appendChild(this.createAuthButtons()),this.userDetailsContainer=r("div","Balance--users"),this.userDetailsContainer.style.display="none",this.freespinsBanner=r("div","freespins-banner"),this.freespinsBanner.innerHTML=`<p><i class="spins-img"></i> You've got Free Spins</p>`,this.freespinsButtonMob=r("a","freespins-button-mob"),this.freespinsButtonMob.setAttribute("href","/bonus/"),this.freespinsButtonMob.innerHTML="Claim Now",this.freespinsBanner.appendChild(this.freespinsButtonMob),e.appendChild(this.userDetailsContainer),document.cookie.split(";").some(o=>o.trim().startsWith("l_i="))&&e.appendChild(this.freespinsBanner),this.appendChild(e)}createAuthButtons(){let e=r("div","auth-buttons");this.joinNowButton=r("a","Button--sign-up auth-join-button");let t=document.querySelector("deposit-widget");return t?this.joinNowButton.setAttribute("href","#register"):this.joinNowButton.setAttribute("href","https://vegasaces.com/#register"),this.joinNowButton.innerText="Join Now",this.loginButton=r("a","Button--sign-in auth-login-button"),t?this.loginButton.setAttribute("href","#login"):this.loginButton.setAttribute("href","https://vegasaces.com/#login"),this.loginButton.innerText="Login",this.depButton=r("a","deposit-button dep-widget","depositWidget"),t?this.depButton.setAttribute("href","javascript:void(0)"):this.depButton.setAttribute("href","https://vegasaces.com/?showDW=yes"),this.depButton.innerText="DEPOSIT",this.usdButton=r("a","Button--Balance usd-button"),this.usdButton.setAttribute("href","javascript:void(0)"),this.usdButton.innerHTML='<span id="menu-button-balance">Cash <span style="font-weight:600;">$0.00</span></span><i class="las la-angle-down"></i>',this.freespinsButton=r("a","freespins-button"),this.freespinsButton.setAttribute("href","/bonus/"),this.freespinsButton.innerHTML=`<i class="spins-img"></i>You've got Free Spins`,document.cookie.split(";").some(a=>a.trim().startsWith("l_i="))?(e.appendChild(this.freespinsButton),e.appendChild(this.depButton),e.appendChild(this.usdButton)):(e.appendChild(this.joinNowButton),e.appendChild(this.loginButton)),e}createMenuList(){let e=r("div","vegas-menu-container"),t=r("a","logo-link");t.setAttribute("href","/");
1let o=r("img","logo");o.setAttribute("src",`${A}/img/logo.svg`),o.setAttribute("alt","Vegas Aces Online Casino"),o.setAttribute("width","250"),o.setAttribute("height","54"),t.appendChild(o);let a=r("button","menu-toggle"),i=r("div","menu-items-container"),s=r("div","menu-items");return G.forEach(l=>{let c=r("div","menu-section");l.items.forEach(p=>{let h=r("a","vegas-item");h.href=p.link&&!p.action?p.link:"javascript:void(0)",window.location.pathname===p.link&&h.classList.add("active"),h.addEventListener("click",()=>{p.action&&typeof window[p.action]=="function"&&window[p.action]()}),h.setAttribute("data-tooltip",p.name),h.innerHTML=`
2                <i class="${p.icon}"></i>
3                <span class="menu-name">${p.name}</span>
4            `,c.appendChild(h)}),s.appendChild(c)}),i.appendChild(s),e.appendChild(a),e.appendChild(i),e.appendChild(t),a.addEventListener("click",()=>{let l=i.classList.contains("open"),c=document.querySelector("body");l?(i.classList.remove("open"),a.classList.remove("close"),c.classList.remove("header-menu-open")):(i.classList.add("open"),a.classList.add("close"),c.classList.add("header-menu-open")),this.hideUserDetails()}),document.addEventListener("keydown",l=>{let c=document.querySelector("body");l.key==="Escape"&&i.classList.contains("open")&&(i.classList.remove("open"),a.classList.remove("close"),c.classList.remove("header-menu-open"),document.activeElement?.blur(),a.focus())}),e}createOptimoveBell(){let e=document.createElement("a");return e.className="optimove-notification",e.href="javascript:void(0)",e.setAttribute("data-href","?h=profile&r=message"),e.setAttribute("popup-with-href",""),e.setAttribute("data-popup","profile"),e.setAttribute("data-route","messages"),e.setAttribute("rel","nofollow"),e.innerHTML='<i class="las la-bell"></i><span class="optimove-notification-count"></span>',window.addEventListener("OnOptimoveMessageCount",t=>{var o=document.querySelector(".optimove-notification"),a=document.querySelector(".optimove-notification-count");o!==null&&a!==null&&(t.detail.Count>0?(a.textContent=`${t.detail.Count}`,o.style.visibility="visible"):(a.textContent="",o.style.visibility="hidden"))}),e}checkUserStatus(){document.cookie.split(";").some(t=>t.trim().startsWith("l_i="))&&this.showUsdButton()}showUsdButton(){this.joinNowButton.style.display="none",this.loginButton.style.display="none",this.depButton.style.display="inline-block",this.usdButton.style.display="flex",window.innerWidth>768?(this.usdButton.addEventListener("mouseover",this.showUserDetails.bind(this)),this.usdButton.addEventListener("mouseout",this.hideUserDetails.bind(this))):this.usdButton.addEventListener("click",this.toggleUserDetails.bind(this));let e=L();e&&k(e).then(t=>{t&&(S.emitWalletChanged(v(t)===!1,t,"showUsdButton"),this.updateUsdButtonText(t))})}updateUsdButtonText(e){e&&(v(e)?this.usdButton.innerHTML=`<span id="menu-button-balance">Bonus <span style="font-weight:600;">${e.BonusBalance.replace(/USD /g,"$")}</span></span><i class="las la-angle-down"></i>`:this.usdButton.innerHTML=`<span id="menu-button-balance">Cash <span style="font-weight:600;">${e.Balance.replace(/USD /g,"$")}</span></span><i class="las la-angle-down"></i>`)}
4showUserDetails(){let e=document.querySelector(".Balance--users");e&&(e.style.display="block",this.usdButton.addEventListener("mouseleave",t=>{let o=t.currentTarget.getBoundingClientRect();t.clientY>o.bottom?this.keepMenuOpen(t):this.hideUserDetails.bind(this)()}),e.addEventListener("mouseenter",this.keepMenuOpen.bind(this)),e.addEventListener("mouseleave",this.hideUserDetails.bind(this)))}keepMenuOpen(){let e=document.querySelector(".Balance--users");e&&(e.style.display="block",this.usdButton.querySelector("i.las.la-angle-down").style.transform="rotate(180deg)")}hideUserDetails(){let e=document.querySelector(".Balance--users");e&&(e.style.display="none",this.usdButton.querySelector("i.las.la-angle-down").style.transform="rotate(0deg)")}toggleUserDetails(){let e=document.querySelector(".Balance--users");e.style.display==="block"?(this.usdButton.querySelector("i.las.la-angle-down").style.transform="rotate(0deg)",e.style.display="none"):(this.usdButton.querySelector("i.las.la-angle-down").style.transform="rotate(180deg)",e.style.display="block")}checkfreespinStatus(){let e=L();e&&k(e).then(t=>{t&&this.freespinsButtonCall(t.freespins)})}freespinsButtonCall(e){let t=document.querySelector(".freespins-banner"),o=document.querySelector(".freespins-button");if(e>0)if(window.innerWidth<=899){let a=window.innerWidth<=768?"126px":"
4140px",i=document.querySelector("body .header-banner .Item");i&&(i.style.marginTop=a),t.style.display="flex",o.style.display="none"}else t.style.display="none",o.style.display="inline-flex";else t.style.display="none",o.style.display="none"}};"customElements"in window&&customElements.define("site-header",x);function _(n){let e=document.querySelector(".usd-button");n&&e&&(v(n)?e.innerHTML=`<span id="menu-button-balance">Bonus <span style="font-weight:600;">${n.BonusBalance.replace(/USD /g,"$")}</span></span><i class="las la-angle-down"></i>`:e.innerHTML=`<span id="menu-button-balance">Cash <span style="font-weight:600;">${n.Balance.replace(/USD /g,"$")}</span></span><i class="las la-angle-down"></i>`)}function v(n){return!!n?.BalanceObjects?.some(e=>e.IsChosenToPlay===!0&&e.WalletTypeId!==1&&e.WalletTypeId!==2)}function L(){let n="l_i=",t=decodeURIComponent(document.cookie).split(";");for(let o=0;o<t.length;o++){let a=t[o].trim();if(a.startsWith(n)){let i=a.substring(n.length);return new URLSearchParams(i).get("id")||null}}return null}function k(n){let t=window.location.hostname==="vegasaces.com"?"https://vegasaces.com":"";return fetch(`${t}/common/getinfo?gameId=1&id=${n}`,{method:"POST"}).then(o=>{if(!o.ok)throw new Error("Failed to fetch user details");return o.json()}).then(o=>{if(!o||!o.FirstName)throw new Error("Invalid user details received");return S.emitWalletChanged(v(o)===!1,o,"Header.fetchUserDetails"),o}).catch(o=>(console.error("Error:",o),null))}function j(n,e){let t=r("ul"),o=document.querySelector("deposit-widget");[{className:"pl-close-menu",content:`
5		  <div>
6			<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
7				<path d="M24 8L8 24M8 8L24 24" stroke="white" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
8			</svg>
9		  </div>`},{className:"pl-name_lastname",content:`${n.FirstName} ${n.LastName}`},{className:"pl-username",content:n.UserName},{className:"pl-id",content:`ID: ${e}`},{className:"pl-balance",content:`<div class="bonus_balance"><span><i class="icon-bonus pl-icon"></i>Bonus Balance</span>
9 <span class="Bonus--Balance" id="menu-bonus-balance">${n.BonusBalance}</span></div>`},{className:"pl-profile",content:o?'<a href="javascript:void(0)" data-href="?h=profile&amp;r=profile" popup-with-href="" data-popup="profile" data-route="profile" rel="nofollow"><i class="las la-user"></i>Profile</a>':'<a href="https://vegasaces.com/?h=profile&amp;r=profile" rel="nofollow"><i class="las la-user"></i>Profile</a>'},{className:"pl-withdraw",content:o?'<a href="javascript:void(0)" data-href="?h=profile&amp;r=withdrawal" popup-with-href="" data-popup="profile" data-route="withdrawal" rel="nofollow"><i class="las la-angle-up"></i>Withdraw</a>':'<a href="https://vegasaces.com/?h=profile&amp;r=withdrawal" rel="nofollow"><i class="las la-angle-up"></i>Withdraw</a>'},{className:"pl-messages",content:o?`<a id="msg-row" href="javascript:void(0)" data-href="?h=profile&amp;r=messages" popup-with-href="" data-popup="profile" data-route="messages" class="Button--messages" rel="nofollow"><i class="las la-envelope"></i>Messages <span class="msg--count">${n.InboxCount}</span></a>`:`<a id="msg-row" href="https://vegasaces.com/?h=profile&amp;r=messages" class="Button--messages" rel="nofollow"><i class="las la-envelope"></i>Messages <span class="msg--count">${n.InboxCount}</span></a>`},{className:"pl-history",content:o?'<a href="javascript:void(0)" data-href="?h=profile&amp;r=history" popup-with-href="" data-popup="profile" data-route="history" rel="nofollow"><i class="las la-history"></i>History</a>':'<a href="https://vegasaces.com/?h=profile&amp;r=history" rel="nofollow"><i class="las la-history"></i>History</a>'},{className:"pl-promotions",content:o?'<a href="javascript:void(0)" data-href="?h=profile&amp;r=promotions" popup-with-href="" data-popup="profile" data-route="promotions" rel="nofollow"><i class="icon-bonus pl-icon"></i>My Bonuses</a>':'<a href="https://vegasaces.com/?h=profile&amp;r=promotions" rel="nofollow"><i class="icon-bonus pl-icon"></i>My Bonuses</a>'},{className:"change_pass",content:o?'<a href="javascript:void(0)" data-href="?h=change-password" popup-with-href="" data-popup="change-password" class="change--password" rel="nofollow"><i class="las la-key"></i>Change Password</a>':'<a href="https://vegasaces.com/?h=change-password" class="change--password" rel="nofollow"><i class="las la-key"></i>Change Password</a>'},{className:"sign_out",content:'<a href="/account/logout"><i class="las la-sign-out-alt"></i>Sign Out</a>'}].forEach(l=>{let c=r("li",l.className);l.className.includes("pl-balance")?O(c,n,!1,!1):c.innerHTML=l.content,t.appendChild(c)}),t.querySelectorAll("a[popup-with-href]").forEach(l=>{l.addEventListener("click",c=>{c.preventDefault();let p=l.getAttribute("data-href"),h=document.querySelector("site-header");if(p&&(history.replaceState({},null,`${p}`),window.location.search&&window.location.search.includes("?h"))){var b=window.location.search.replace("?h","h"),g=JSON.parse('{"'+decodeURI(b).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}'),u={onClose:function(){history.replaceState({},null,window.location.href.replace(window.location.search,""))}};g.r&&(u.route=g.r),Popup(g.h,u)}h.hideUserDetails()})});let s=r("div","Menu--user--dropdown");return s.appendChild(t),s}function O(n,e,t=!1,o=!1){if(!e)return;let a=r("div");a.className="balance-section-header",o||(a.innerText="MY BALANCE");let i=r("div"),s=e?.BalanceObjects,l=!1,c=!1,p=!1,h=0,b="";if(!(t&&m.selectAll(".pl-balance .loading-overlay").length>0)){if(p=s?.some(g=>g.WalletTypeId==1),l=v(e),p&&(h=s.filter(g=>g.WalletTypeId==1)[0].Id),b+=`<div class="pl-balance-item${l?"":" selected"}${o?" pl-balance-modal-item":""}">
10						<div class="balance-item-check-box">
11							<label class="circle-checkbox">
12								<input type="checkbox"
13									   name="balance-radio-group"
14									   data-is-modal="${o}"
15									   data-wallet-id="${h}"
16									   ${l?"":"checked"}>
17								<span class="custom-circle"></span>
18								<span class="checkmark">
19								<svg viewBox="0 0 16 12" fill="none">
20									<path d="M2 6.5L6 10L14 2" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
21								</svg>
22								</span>
23							  </label>
24						</div>
25						 <div class="balance-item-icon"><span><i class="las la-coins"></i></span></div>
26						 <div class="balance-item-description">
27							<div><span>CASH BALANCE</span></div>
28							<div><span>USD </span><span id='bonus-balance-${h}'>${e.CashBalance.replace(/USD /g,"")}</span></div>
29						</div>
30					 </div>
31					 `,s){c=s.filter(u=>u.WalletTypeId!==1&&u.WalletTypeId!==2).length>3;let g=s.filter(u=>u.WalletTypeId!==1&&u.WalletTypeId!==2).slice(0,3);Array.isArray(g)&&g.length>0&&(b+='<div class="balance-bonus-section-title">Bonuses</div>'),g.forEach((u,Q)=>{b+=`<div class="pl-balance-item${u.IsChosenToPlay?" selected":""}${o?" pl-balance-modal-item":""}">
32						<div class="balance-item-check-box">
33							<label class="circle-checkbox">
34								<input type="checkbox"
35									   name="balance-radio-group"
36									   data-is-modal="${o}"
37									   data-wallet-id="${u.Id}"
38									   ${u.IsChosenToPlay?"checked":""}>
39								<span class="custom-circle"></span>
40								<span class="checkmark">
41								<svg viewBox="0 0 16 12" fill="none">
42									<path d="M2 6.5L6 10L14 2" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
43								</svg>
44								</span>
45  							</label>
46						</div>
47					 	<div class="balance-item-icon"><span><i class="icon-bonus pl-icon"></i></span></div>
48					 	<div class="balance-item-description">
49						    <div><span>${u.Title}</span></div>
50							<div><span>USD </span><span id='bonus-balance-${u.Id}'>${u.BonusBalanceToDisplay.replace(/USD /g,"")}</span></div>
51						</div>
52						${(!o||o==="false")&&u.BonusType==5&&u.IsChosenToPlay?`
53							<div class="balance-item-mb-description">
54								<div>
55									<div>Locked Cash</div>
56									<div>${u.LockedCash}</div>
57								</div>
58								<div>
59									<div>Bonus Funds</div>
60									<div>${u.BonusFunds}</div>
61								</div>
62							</div>`:""}
63					 </div>
64					 `}),c&&!o?b+=`<div class="balance-section-footer">
65				<div class="all-bonuses-btn">
66						<span>All Bonuses <i class="las la-angle-right"></i>
67						</span>
68				</div>
69				</div>`:o&&(b+=`<div class="balance-section-footer">
70				<div class="balance-section-save-btn">
71						Save
72				</div>
73				</div>`),i.innerHTML=b}t?o?n.replaceChildren(i):n.replaceChildren(a,i):(o||n.appendChild(a),n.appendChild(i))}}function q(n,e,t){if(!t||!t.userDetailsContainer){console.error("userDetailsContainer is not defined");return}t.userDetailsContainer.innerHTML="";let o=j(n,e);t.userDetailsContainer.appendChild(o)}function R(){try{if(!(window.location.hostname==="vegasaces.com"))return;K({cntrDomain:"d1ogsss8fze592",cntrFileName:"site-visit",cntrCode:"8c8b82bb5c1ced2e"})}catch(n){console.log("Pixel page visit error",n)}}function F(n){n>0?m.show(".promotions-free-spins-banner"):m.hide(".promotions-free-spins-banner")}function $(){let n=document.querySelector(".pl-balance"),e=L(),t=document.querySelector("site-header");n&&e&&t&&k(e).then(o=>{O(n,o,!0,!1)})}document.addEventListener("DOMContentLoaded",n=>{let e=L(),t=document.querySelector("site-header");R(),e&&t&&k(e).then(o=>{q(o,e,t),F(o.freespins)}),window.myBalanceIntervalId||(window.myBalanceIntervalId=setInterval(()=>{$()},1e4))});function D(n=!1){m.remove(".pl-balance .loading-overlay");let e=document.createElement("div");e.className="loading-overlay";let t=document.createElement("span");t.className="loading-spinner",e.appendChild(t),m.append(n?".balance-selector-popup":".pl-balance",e)}function f(n=!1){m.remove(n?".balance-selector-popup .loading-overlay":".pl-balance .loading-overlay")}async function z(n,e){let t=new Promise((o,a)=>setTimeout(()=>a(new Error("Timeout")),e));return Promise.race([n,t])}document.addEventListener("change",function(n){if(n.target.matches('input[type="checkbox"][name="balance-radio-group"]')){let e=n.target.getAttribute("data-is-modal")==="true";if(document.querySelectorAll('input[type="checkbox"][name="balance-radio-group"]').forEach(t=>{t!==n.target&&(!e||t.getAttribute("data-is-modal")==="true")&&(t.checked=!1)}),n.target.checked){let t=n.target.getAttribute("data-wallet-id");if(t)if(e)m.removeClass(".pl-balance-modal-item","selected"),m.addClassToClosest(n.target,".pl-balance-modal-item","selected");else{m.removeClass(".pl-balance-item","selected"),m.addClassToClosest(n.target,".pl-balance-item","selected"),D();let a=window.location.hostname==="vegasaces.com"?"https://vegasaces.com":"";try{fetch(`${a}/account/ChangeWalletToPlay?walletId=${t}`,{method:"POST"}).then(i=>{if(!i.ok)throw f(),new Error("Failed to change wallet priority");let s=L();return s?k(s).then(async l=>{if(l)if(S.emitWalletChanged(v(l)===!1,l,"VA change wallet event"),_(l),typeof casinoSlidablePage<"u"&&casinoSlidablePage!==null)try{await z(casinoSlidablePage.loadGames("changeGameNavTab"),2e4)}catch{}finally{f(),$()}else{f();let c=window.location.pathname;(c.includes("/real")||c.includes("/demo"))&&(window.location.href="/")}else f()}):f(),i.json()}).catch(i=>(f(),null))}catch{f()}}}else n.target.checked===!1&&(n.preventDefault(),n.target.checked=!0)}});document.addEventListener("click",function(n){if(n.target.closest(".all-bonuses-btn"))m.selectAll(".pl-promotions a")[0].click();else if(n.target.closest(".pl-close-menu")){let e=document.querySelector(".Balance--u
73sers");if(e){e.style.display="none";let t=document.querySelector(".usd-button");t.querySelector("i.las.la-angle-down").style.transform="rotate(0deg)"}}});function U(){let n=document.getElementById("balance-selector-modal");n&&(n.style.display="none")}function H(){let n=document.getElementById("balance-selector-modal");if(n)n.style.display="none";else{n=document.createElement("div"),n.id="balance-selector-modal",n.classList.add("balance-selector-popup"),n.style.display="none";let t=document.createElement("div");t.classList.add("balance-selector-popup-content"),t.innerHTML=`
74            <button id="close-balance-modal" class="close-balance-selector-popup-btn">&times;</button>
75            <div class="balance-selector-popup-header">
76				<div>Which balance would you like to use?</div>
77				<div>Select a balance to apply for this session.</div>
78				<div>You can change selection any time from the menu.</div>
79			</div>
80            <div id="modal-balance-section" class="pl-modal-balance"></div>
81        `,n.appendChild(t),document.body.appendChild(n),document.getElementById("close-balance-modal").onclick=function(){U()}}let e=L();e&&k(e).then(t=>{let o=document.createElement("div");O(o,t,!0,!0);let a=document.getElementById("modal-balance-section");if(a){a.innerHTML=o.innerHTML,n.style.display="flex";let i=document.getElementsByClassName("balance-section-save-btn");i.length>0&&(i[0].onclick=function(){let s=document.querySelector('#modal-balance-section input[type="checkbox"][name="balance-radio-group"]:checked');if(s){let l=s.getAttribute("data-wallet-id");if(D(!0),l){let p=window.location.hostname==="vegasaces.com"?"https://vegasaces.com":"";fetch(`${p}/account/ChangeWalletToPlay?walletId=${l}`,{method:"POST"}).then(async()=>{if(typeof casinoSlidablePage<"u"&&casinoSlidablePage!==null)try{await z(casinoSlidablePage.loadGames("changeGameNavTab"),2e4),f(!0),U()}catch{f(!0),U()}}).catch(h=>{f(!0)})}}else console.error("No balance selected")})}})}window.showBalanceSelectorPopup=H;function V(){let n=document.querySelector(".menu-items-container"),e=document.querySelector(".menu-toggle"),t=document.body;window.Comm100API&&typeof Comm100API.open_chat_window=="function"?(Comm100API.open_chat_window(),n?.classList.contains("open")&&(n.classList.remove("open"),e?.classList.remove("close"),t?.classList.remove("header-menu-open"))):console.warn("Comm100API is not available.")}function K({cntrDomain:n,cntrFileName:e,cntrCode:t}){setTimeout(function(){let a=window.location.href.split("?")[0],i=J();window.cntrData=window.cntrData||{},window.cntrData.cntr_transactionId=i;let s=document.createElement("script");s.src=`https://${n}.cloudfront.net/script/${e}.js?cntr_transactionId=${i}&cntr_url=${encodeURIComponent(a)}`,s.async=!0,document.head.appendChild(s),Y().then(()=>{window.cntrUpTag&&typeof window.cntrUpTag.track=="function"?window.cntrUpTag.track("cntrData",t):console.error("up.js loaded but cntrUpTag.track not available.")}).catch(l=>console.error("Failed to load DSP up.js",l))},1e3)}var T;function Y(){return T||(T=new Promise((n,e)=>{if(window.cntrUpTag&&typeof window.cntrUpTag.track=="function"){n();return}let t=document.querySelector('script[data-cntr-up="1"]');if(t){t.addEventListener("load",()=>n()),t.addEventListener("error",e);return}let o=document.createElement("script");o.src="https://up.pixel.ad/assets/up.js?um=1",o.async=!0,o.setAttribute("data-cntr-up","1"),o.onload=()=>n(),o.onerror=e,document.head.appendChild(o)}),T)}function J(){return`TX:${window.customerObjectId!==void 0&&window.customerObjectId!==null?window.customerObjectId:"0"}|TB:BU_VA`}window.openLiveSupport=V;var N=class n extends HTMLElement{static moveSliderLeft(){let e=document.querySelector(".slider-track");e.scrollBy({left:-e.clientWidth*.8,behavior:"smooth"})}static moveSliderRight(){let e=document.querySelector(".slider-track");e.scrollBy({left:e.clientWidth*.8,behavior:"smooth"})}connectedCallback(){this.brandName=I[this.getAttribute("brand")?.toUpperCase()]||I.VEGASACES,this.setAttribute("class",`brand-${this.brandName.toLowerCase()}`),this.createFooter(),n.faqCollapsibleView()}createFooter(){let e=d("footer","footer-envelope"),t=d("div","accordion-lg"),o=d("div","collapsible-content u-isExpanded");o.appendChild(this.createHelpLinksSection()),o.appendChild(this.createPaymentBannerSection()),o.appendChild(this.createLicenseAndCopyrightSection()),window.location.pathname==="/"&&o.appendChild(this.createPromotionSection()),o.appendChild(d("hr")),t.appendChild(n.createMediaLinks()),t.appendChild(n.createLogoSlider()),t.appendChild(o),e.appendChild(t),this.append(e)}static createMediaLinks(){let e=d("div","accordion-header"),t=d("div","social-icons");return t.appendChild(y(C.FACEBOOK,'<i class="icon-facebook-footer"></i>',"","Follow on Facebook")),t.appendChild(y(C.XTWITTER,'<i class="icon-xtwitter-footer"></i>',"","Follow on Twitter")),t.appendChild(y(C.INSTA,'<i class="icon-insta-footer"></i>',"","Follow on Instagram")),t.appendChild(y(C.YOUTUBE,'<i class="icon-youtube-footer"></i>',"","Follow on Youtube")),e.appendChild(t),e}static createLogoSlider(){let e=d("div","logo-slider"),t=P("","slider-arrow left-arrow icon-arrow-left",n.moveSliderLeft),o=P("","slider-arrow right-arrow icon-arrow-right",n.moveSliderRight),a=d("div","slider-track");return[["allwayspin-ico.svg","Allwayspin Logo","Allwayspin Logo","32","allwayspinLogo",null,"85","lazy"],["appolo-ico.svg","Apollo Logo","Apollo Logo","32","apollo-logo",null,"85","lazy"],["bet2tech-ico.webp","Bet2Tech Logo","","32","bet2TechLogo",null,"85","lazy"],["betsoft-ico.webp","Betsoft Logo","","32","betsoftLogo",null,"85","lazy"],["bgaming-ico.webp","BGaming Logo","","32","bGamingLogo",null,"85","lazy"],["blue-whale-ico.webp","BlueWhale Logo","","32","blueWhaleLogo",null,"85","lazy"],["bolegaming-ico.webp","BoleGaming Logo","","32","boleGamingLogo",null,"85","lazy"],["cool-games-ico.webp","Co
81olGames Logo","","32","coolGamesLogo",null,"85","lazy"],["cool-games-ico-1.webp","CoolGames1 Logo","","32","coolGames1Logo",null,"85","lazy"],["cyberslot-ico.webp","CyberSlot Logo","","32","cyberSlotLogo",null,"85","lazy"],["dragon-gaming-ico.webp","DragonGaming Logo","","32","dragonGamingLogo",null,"85","lazy"],["felix-gaming-ico.webp","FelixGaming Logo","","32","felixGamingLogo",null,"85","lazy"],["fresh-deck-ico.svg","FreshDeck Logo","","32","fresh-deck-logo",null,"85","lazy"],["funky-games-ico.webp","FunkyGames Logo","","32","funkyGamesLogo",null,"85","lazy"],["funta-gaming-ico.webp","FuntaGaming Logo","","32","funtaGamingLogo",null,"85","lazy"],["gamzix-ico.webp","Gamzix Logo","","32","gamzixLogo",null,"85","lazy"],["inbet-ico.webp","Inbet Logo","","32","inbetLogo",null,"85","lazy"],["justplay-ico.webp","JustPlay Logo","","32","justPlayLogo",null,"85","lazy"],["ka-gaming-ico.webp","KaGaming Logo","","32","kaGamingLogo",null,"85","lazy"],["mg-games-ico.webp","MgGames Logo","","32","mgGamesLogo",null,"85","lazy"],["mr-slotty-ico.webp","MrSlotty Logo","","32","mrSlottyLogo",null,"85","lazy"],["orbital-ico.webp","Orbital Logo","","32","orbitalLogo",null,"85","lazy"],["playbro-ico.webp","PlayBro Logo","","32","playBroLogo",null,"85","lazy"],["sa-gaming-ico.webp","SaGaming Logo","","32","saGamingLogo",null,"85","lazy"],["simpleplay-ico.webp","SimplePlay Logo","","32","simplePlayLogo",null,"85","lazy"],["slot-factory-ico.webp","SlotFactory Logo","","32","slotFactoryLogo",null,"85","lazy"],["spadegaming-ico.webp","SpadeGaming Logo","","32","spadeGamingLogo",null,"85","lazy"],["spinthon-ico.webp","SpinThon Logo","","32","spinThonLogo",null,"85","lazy"],["superlotto-ico.webp","SuperLotto Logo","","32","superLottoLogo",null,"85","lazy"],["super-spade-ico.webp","SuperSpade Logo","","32","superSpadeLogo",null,"85","lazy"],["thunderspin-ico.webp","ThunderSpin Logo","","32","thunderSpinLogo",null,"85","lazy"],["triple-profit-games-ico.webp","TripleProfitGames Logo","","32","tripleProfitGamesLogo",null,"85","lazy"],["turbo-games-ico.webp","TurboGames Logo","","32","turboGamesLogo",null,"85","lazy"],["tvbet-ico.webp","TvBet Logo","","32","tvBetLogo",null,"85","lazy"],["zeusplay-ico.webp","ZeUsPlay Logo","","32","zeUsPlayLogo",null,"85","lazy"],["evoplay-icon.svg","EvoPlay Logo","","32","evo-play-logo",null,"85","lazy"],["onlyplay-logo.svg","OnlyPlay Logo","","32","only-play-logo",null,"85","lazy"]].forEach(s=>{let l=B(...s),c=d("div","logo-item");c.appendChild(l),a.appendChild(c)}),e.appendChild(t),e.appendChild(a),e.appendChild(o),e}createHelpLinksSection(){let e=d("div","vegas-menu-links");return e.appendChild(this.createLinkItems(E.CASINOGAMES)),e.appendChild(this.createLinkItems(E.INFORMATION)),e.appendChild(this.createLinkItems(E.CASINOSECTIONS)),e.appendChild(this.createLinkItems(E.GAMEREVIEWS)),e}createLinkItems(e){let t=d("div","links-container"),o=d("label","link-title",e.title),a=d("ul"),i=e.links,s=null;for(let l=0;l<i.length;l+=1)s=d("li"),s.appendChild(y(i[l].link,i[l].text,"")),a.appendChild(s);return t.appendChild(o),t.appendChild(a),t}createPaymentBannerSection(){let e=d("div","sp-footer-logos text-center text-white py-16"),t=d("div","footer-logo mx-auto"),o=d("div","text-center mb-6");["bitcoin.svg","mastercard.svg","visa.svg","ssl.svg","gamcare.svg"].forEach(s=>{let l=B(s,"Payment method logo","inline",56,650,null,56,"lazy");o.appendChild(l)});let i=d("p","text-sm font-gilroyLight text-[#ccc] font-normal mt-10 text-center");return i.textContent=`Gambling can be addictive. Play responsibly. For further information 
82      on the risks associated with gambling, read our responsible gambling policy. Underage gambling is an offence.`,o.appendChild(i),t.appendChild(o),e.appendChild(t),e}createLicenseAndCopyrightSection(){let e=d("div","license-copyright-section"),t=y("https://vegasaces.com/content/img/gaming-license-comoros.pdf","","","License PDF",null);t.setAttribute("target","_blank");let o=B("license-logo.svg","License Logo","license-logo",194,"licenseLogo",null,62,"lazy");t.appendChild(o),e.appendChild(t);let a=d("p");return a.textContent="\xA92026 Vegas Aces Online Casino",e.appendChild(a),e}createPromotionSection(){let e=d("div","fixed-promo"),t=d("a"),o=B("Promotions-banner.svg","Promotions banner","promotions-banner",100,"promotionsBanner","/promotions/");return t.appendChild(o),e.appendChild(t),e}static toggleCollapsibleView(e){let t=e?.target.closest(".collapsible-header")?.nextElementSibling;t?.classList.contains("u-isExpanded")?(t.classList.add("u-isCollapsed"),t.classList.remove("u-isExpanded"),e?.target?.classList.remove("icon-arrow-up"),e?.target?.classList.add("icon-arrow-down")):t?.classList.contains("u-isCollapsed")&&(t.classList.add("u-isExpanded"),t.classList.remove("u-isCollapsed"),e?.target?.classList.add("icon-arrow-up"),e?.target?.classList.remove("icon-arrow-down"))}static faqCollapsibleView(){document.querySelectorAll(".collapsible-header").forEach(e
82=>{let t=e.nextElementSibling;t.style.display="none",e.onclick=()=>{e.classList.toggle("open"),t.style.display=t.style.display==="block"?"none":"block"}})}};"customElements"in window&&customElements.define("site-footer",N);})();

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.