(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{87314:function(o,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(6345)}])},21790:function(o,e,n){"use strict";var i,t;n.d(e,{TM:function(){return i},eY:function(){return r},nx:function(){return l}}),(t=i||(i={}))[t.first=1]="first",t[t.second=2]="second",t[t.third=3]="third",t[t.four=4]="four";let l={1:"Forgot your password?",2:"User verification",3:"Change password"},r="forgotpasswordguid"},76178:function(o,e,n){"use strict";var i=n(2784),t=n(43997),l=n(33714),r=n(16262),a=n(12841),s=n(35038),d=n(54677);let u=()=>{var o,e,n,u,c;let v=(0,t.I0)(),{player:f}=(0,r.A)({}),p=(0,t.v9)(s.d),{initHotjar:h,readyState:m,identifyHotjar:g,stateChange:w}=(0,a.Z)(),y=(0,d.YC)("performanceCookies");return(0,i.useEffect)(()=>{!1!==y&&!m&&h&&h(1640406,6,!1)},[y,m,h]),(0,i.useEffect)(()=>{!1!==y&&m&&(null==f?void 0:f.PlayerId)>0&&v((0,l.a9)(!0))},[v,y,m,f]),(0,i.useEffect)(()=>{if(!1!==y&&m){if((null==f?void 0:f.PlayerId)>0){var o,e,n,i,t,l,r,a,s;g(null==f?void 0:f.PlayerId.toString(),{Name:null==f?void 0:f.FirstName,Email:null==f?void 0:f.Email,"Player Id":null==f?void 0:f.PlayerId,"White Label":null==f?void 0:null===(o=f.WhiteLabel)||void 0===o?void 0:o.UrlName,"WhiteLabel Id":null==f?void 0:f.WhiteLabelId,"Bouser Name":null==f?void 0:f.BOUserName,"Bonus Enabled":null==f?void 0:f.BonusEnabled,"Currency Code":null==f?void 0:null===(e=f.Currency)||void 0===e?void 0:e.CurrencyCode,"Pending Withdrawals":null==f?void 0:null===(n=f.Account)||void 0===n?void 0:n.PendingWithdrawals,"Total Deposits":null==f?void 0:null===(i=f.Account)||void 0===i?void 0:i.TotalDeposits,"Player Balance":null==f?void 0:null===(t=f.Account)||void 0===t?void 0:t.GameBalance,"Game Balance":null==f?void 0:null===(l=f.Account)||void 0===l?void 0:l.GameBalance,Ranking:null==f?void 0:null===(r=f.Account)||void 0===r?void 0:r.Ranking,Locale:null==f?void 0:f.Locale,"Total Withdrawals Paid":null==f?void 0:null===(a=f.Account)||void 0===a?void 0:a.TotalWithdrawals,"Registration Date":null==f?void 0:f.RegistrationDate,"FTD Date":null==f?void 0:f.FTDDate,"Last Deposit Amount":null==f?void 0:f.LastDepositAmount,"Last Deposit Time":null==f?void 0:f.LastDepositDate,"Last Deposit Status":null==f?void 0:f.LastDepositStatus,"Last Deposit Method":null==f?void 0:f.LastDepositMethod,Revenue:null==f?void 0:f.Revenue,"Document Status":null==f?void 0:f.DocumentStatus,Occupation:null==f?void 0:f.Occupation,Affordability:null==f?void 0:f.AffordabilityInfo,"Casino or Sports":"","Logged in":!0,"Last IP":null==f?void 0:f.LastIP,"HVC offer agent":null==f?void 0:f.VIPBOUser,"Activation Needed":(null==f?void 0:f.ActivationDays)>0,"Win Limit":null==f?void 0:f.WinningsRestriction,"Language Override":null===(s=null==f?void 0:f.Locale.split("-"))||void 0===s?void 0:s[0].toLowerCase()})}else g("",{"White Label":null==p?void 0:p.Name})}},[y,null==f?void 0:f.PlayerId,null==f?void 0:f.BonusEnabled,null==f?void 0:null===(o=f.Currency)||void 0===o?void 0:o.CurrencyCode,null==f?void 0:null===(e=f.Account)||void 0===e?void 0:e.PendingWithdrawals,null==f?void 0:null===(n=f.Account)||void 0===n?void 0:n.TotalDeposits,null==f?void 0:null===(u=f.Account)||void 0===u?void 0:u.GameBalance,null==f?void 0:null===(c=f.Account)||void 0===c?void 0:c.TotalWithdrawals,null==f?void 0:f.LastDepositDate,null==f?void 0:f.Revenue,null==f?void 0:f.DocumentStatus,null==f?void 0:f.Occupation,null==f?void 0:f.LastIP,null==f?void 0:f.Locale,m,null==p?void 0:p.Name]),{isInitialized:m,event:o=>{let{action:e}=o;if(!1!==y&&m)try{var n;let i=null===(n=/^[a-zA-Z0-9_]*$/.exec(e.replace(/[^\w!?]/g,"")))||void 0===n?void 0:n[0];i&&(null==window||window.hj("event",i))}catch(t){}},stateChange:w}};e.Z=u},36381:function(o,e,n){"use strict";n.d(e,{g:function(){return i}});let i={login_last_180_days:"login_last_180_days",session_login:"session_login"}},6345:function(o,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return G},default:function(){return W}});var i=n(52322),t=n(2784),l=n(25237),r=n.n(l),a=n(5632),s=[{from:["#casino-promotions","#/casino-promotions"],to:o=>"/casino-promotions".concat(o)},{from:["#sport-promotions","#/sport-promotions"],to:o=>"/sport-promotions".concat(o)},{from:["#info/terms","#/info/terms"],to:()=>"/terms-conditions-info"},{from:["#deposit","#/deposit"],to:()=>"/deposit"},{from:["#login","#/login","#m/login"],to:()=>"/?nav=login"},{from:["#registration","#/registration","#m/registration"],to:()=>"/?nav=registration"},{from:["#info/deposits","#/info/deposits"],to:()=>"/deposits-info"},{from:["#info/withdrawals","#/info/withdrawals"],to:()=>"/withdrawals-info"},{from:["#info/withdrawal-policy","#/info/withdrawal-policy"],to:()=>"/withdrawals-info"},{from:["#info/vip","#/info/vip"],to:()=>"/withdrawals-info"},{from:["#promotions","#/promotions"],to:()=>"/promotions"},{from:["#info/faq","#/info/faq"],to:()=>"/terms-conditions-info"},{from:["#info/terms","#/info/terms"],to:()=>"/terms-conditions-info"},{from:["#info/bonus","#/info/bonus"],to:()=>"/terms-conditions-info"},{from:["#info/privacy","#/info/privacy"],to:()=>"/privacy-policy-info"},{from:["#info/responsible","#/info/responsible"],to:()=>"/play-responsibly-info"},{from:["#info/blocked","#/info/blocked"],to:()=>"/play-responsibly-info"}],d=n(43997),u=n(35038),c=n(65116),v=n(90597),f=n(54677),p=n(49857),h=n(43463),m=n(21790),g=n(76178),w=n(66262),y=n(3751),b=n(33714),j=n(36530),S=n(36381),C=n(45847),E=n.n(C),P=n(24996),_=n(90378),I=n(86595),L=n(85215),N=n(16262),x=n(98123),D=n(39733),A=n(68303);let H=r()(()=>n.e(7536).then(n.bind(n,57536)),{loadableGenerated:{webpack:()=>[57536]},ssr:!1}),T=r()(()=>n.e(8957).then(n.bind(n,68957)),{loadableGenerated:{webpack:()=>[68957]},ssr:!1}),k=r()(()=>n.e(1582).then(n.bind(n,61582)),{loadableGenerated:{webpack:()=>[61582]},ssr:!1}),R=r()(()=>n.e(7934).then(n.bind(n,57934)),{loadableGenerated:{webpack:()=>[57934]},ssr:!1}),F=r()(()=>n.e(4597).then(n.bind(n,54597)),{loadableGenerated:{webpack:()=>[54597]},ssr:!0}),M=r()(()=>n.e(4338).then(n.bind(n,14338)).then(o=>o.Search),{loadableGenerated:{webpack:()=>[14338]},ssr:!1}),B=r()(()=>Promise.all([n.e(3226),n.e(1703)]).then(n.bind(n,27337)),{loadableGenerated:{webpack:()=>[27337]},ssr:!0}),O=()=>(0,i.jsx)(i.Fragment,{children:window.location.href.includes("casino-pp.net")&&(0,i.jsx)(E(),{src:"//rum-static.pingdom.net/pa-6523d1b068cac400120001f0.js",strategy:"afterInteractive"})}),U=o=>{var e;let{whiteLabelName:n,content:l}=o,r=(0,t.useMemo)(()=>null==l?void 0:l.publicConfigUrl,[null==l?void 0:l.publicConfigUrl]),[C,E]=(0,t.useState)(null),U=(0,d.v9)(u.N3),G=(0,d.v9)(u.eV),[W,q]=(0,t.useState)(!1),[Z,z]=(0,t.useState)(!1),{ua:Y}=(0,c.e)(),V=(0,a.useRouter)(),{type:K}=V.query,{width:X}=(0,v.i)(),{data:J}=(0,p.ZP)("/api/player/getDefault"),{playModeNameSport:$}=(0,w.E)(),{fetcher:Q}=(0,y.a)(),oo=(0,d.I0)(),{playMode:oe}=(0,A.TA)(),{getCookies:on}=(0,j.i)(),{t:oi}=(0,x.$G)(["lexicons"]),ot=(0,L.p)(),{player:ol}=(0,N.A)({}),[or,oa]=(0,t.useState)("all"),os=(0,t.useMemo)(()=>"providers"===or,[or]),{showAuth:od,authMode:ou}=(0,D.E)();(0,g.Z)(),(0,t.useEffect)(()=>{if((null==ol?void 0:ol.PlayerId)>0){let o=async()=>{try{var o,e,n,t,l;let r=await Q("/api/player/switchPlayerPlayMode",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ItemId:(null==oe?void 0:oe.value)==="casino"?706:707})}),a=null==r?void 0:null===(o=r.Response)||void 0===o?void 0:o.FreeSpinsOffer;if(a&&(null==a?void 0:a.FreeSpinsOfferId)){let s=(0,P.B3)(a),d={casino:{title:oi("freeSpins"),body:oi("freeSpins_text",{NAME:null==r?void 0:null===(e=r.Response)||void 0===e?void 0:e.FirstName,SPINS:null==a?void 0:a.SpinsLeft,GAME:null==s?void 0:s.GameName})},sport:{title:oi("freeBet"),body:oi("freeBet_text",{NAME:null==r?void 0:null===(n=r.Response)||void 0===n?void 0:n.FirstName,SPINS:null==a?void 0:a.SpinsLeft,CURRENCY:null==r?void 0:null===(t=r.Response)||void 0===t?void 0:null===(l=t.Currency)||void 0===l?void 0:l.CurrencySymbol})}};setTimeout(()=>{var o,e;let n=(0,_.jW)(a,d),t=(0,f.YX)("FreeSpinsShow"),l=(0,I.a_)(n);n&&!t&&(null==l?void 0:l.length)>0&&(null==l?void 0:null===(o=l[0])||void 0===o?void 0:null===(e=o.Title)||void 0===e?void 0:e.Text)&&((0,f.tg)("FreeSpinsShow",!0),ot.open(o=>(0,i.jsx)(B,{close:o.close,popup:l,data:a})))},500)}}catch(u){console.error("Error switching modes:",u)}};o().catch()}},[null==ol?void 0:ol.PlayerId,oe]),(0,t.useEffect)(()=>{J&&(0,f.A)(J)},[J]),(0,t.useEffect)(()=>{K&&oa(K)},[K]),(0,t.useEffect)(()=>{!os&&C&&E(null)},[os,C]),(0,t.useEffect)(()=>{var o,e;(null===(o=V.query)||void 0===o?void 0:o.wl)&&(null===(e=V.query)||void 0===e?void 0:e.wl)!==n&&Q("/api/auth/updateSession?bpc=1").then(()=>{(0,f.HO)(),(0,p.JG)("/api/player/getDefault").then(o=>{(0,f.tg)("".concat(null==o?void 0:o.whitelabelName,"-default"),o),oo((0,b.TS)(null==o?void 0:o.whitelabelName)),oo((0,b.Mt)(o))})}).catch()},[n,null==V?void 0:null===(e=V.query)||void 0===e?void 0:e.wl]),(0,t.useEffect)(()=>(window.addEventListener("scroll",()=>{z(!0)}),()=>{window.removeEventListener("scroll",()=>{z(!0)})}),[]);let oc=(0,t.useMemo)(()=>{var o;return(null==l?void 0:null===(o=l.publicConfigUrl)||void 0===o?void 0:o.promotionPageImagesFolder)?(0,i.jsx)("div",{className:"mobile-search",id:"search-bar",children:(0,i.jsx)(k,{publicConfigUrl:null==l?void 0:l.publicConfigUrl})}):null},[null==l?void 0:l.publicConfigUrl,oe]),ov=(0,t.useMemo)(()=>{if(null!==oe&&(null==oe?void 0:oe.value)!==""&&U&&null!==G)return(0,i.jsx)(i.Fragment,{children:(null==oe?void 0:oe.value)&&(0,i.jsx)(i.Fragment,{children:(null==oe?void 0:oe.value)&&(null==oe?void 0:oe.value)===A.KS.value||(null==oe?void 0:oe.value)===A.ZH.value?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(H,{publicConfigUrl:r}),Z&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(F,{publicConfigUrl:r})})]}):(0,i.jsx)(T,{publicConfigUrl:r})})})},[oe,U,r,Z]);(0,t.useEffect)(()=>{if(!U||!(null==V?void 0:V.isReady)||!ol)return;let o=null==V?void 0:V.query;try{let e=!1===on(S.g.login_last_180_days)&&!ol.PlayerId,n=V.asPath.match(/#(.)*/);if(n&&n.length>0){let i=n[0];s.forEach(e=>{e.from.forEach(n=>{if(i.includes(n)){let t=new URLSearchParams(o).toString(),l=e.to(i.split(n)[1]),r=l.includes("?")?"&":"?",a=""===t?"":"".concat(r).concat(t);V.push(l+a).catch();return}})})}let{forgotpasswordguid:t}=o;if(t&&"string"==typeof t){let l=t.split("-");(0,f.tg)(m.eY,{PlayerId:+l[1].split("/")[0],ValidationCode:l[0]}),od(h.PopupKeys.forgotPassword)}e&&!ou&&(console.info("show login"),(0,f.tg)(S.g.session_login,!0),od(h.PopupKeys.login))}catch(r){console.error("Something went wrong",r)}},[V,U,ol]),(0,t.useEffect)(()=>{var o;if(!(null==V?void 0:V.asPath))return;let e=null==V?void 0:null===(o=V.asPath)||void 0===o?void 0:o.split("#/sport/");(null==e?void 0:e.length)<2||V.push("/sportsbook?event=".concat(e[1]))},[V]);let of=(0,t.useMemo)(()=>(0,i.jsx)(i.Fragment,{children:Z&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(R,{})})}),[Z]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("main",{className:"home__container",children:[oc,((null==Y?void 0:Y.isMobile)||(null==Y?void 0:Y.isTablet)||(null==Y?void 0:Y.isIpad))&&(null==oe?void 0:oe.value)!==""&&(null==oe?void 0:oe.value)!==$?(0,i.jsx)(M,{isProdiver:os,setProvider:E,setIsOpen:q,isMobile:(null==Y?void 0:Y.isMobile)||(null==Y?void 0:Y.isTablet)||(null==Y?void 0:Y.isIpad)||X<992,isOpen:W,publicConfigUrl:r}):null,ov,of]}),(0,i.jsx)(O,{})]})};var G=!0,W=U},12841:function(o,e,n){"use strict";n.d(e,{Z:function(){return t}});var i=n(2784);function t(){var o=!("undefined"==typeof window||!window.hj),e=i.useState(i.useMemo(function(){return o},[o])),n=e[0],t=e[1],l=i.useCallback(function(o,e,n,i){try{return function(o,e,n){var i="undefined"!=typeof window;if(!i)throw Error("Hotjar depends on window. Window is undefined.");if(!function(o,e){try{var n=document.getElementById(e)||document.createElement("script");return n.id=e,n.innerText=o,n.crossOrigin="anonymous",document.head.appendChild(n),!0}catch(i){return!1}}("(function(h,o,t,j,a,r){h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};h._hjSettings={hjid:".concat(o,",hjsv:").concat(e,",hjdebug:").concat(n,"};a=o.getElementsByTagName('head')[0];r=o.createElement('script');r.async=1;r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');"),"hotjar-init-script")||!i||!window.hj)throw Error("Hotjar initialization failed!")}(o,e,!!n),t(!0),i&&"function"==typeof i&&i("Hotjar ready: true"),!0}catch(l){return console.error("Hotjar error: ".concat(l.message)),!1}},[]),r=i.useCallback(function(o,e,n){try{return function(o,e){if("undefined"!=typeof window&&window.hj)return window.hj("identify",o,e);throw Error("Hotjar is not available! Is Hotjar initialized?")}(o,e),n&&"function"==typeof n&&n("Hotjar identified"),!0}catch(i){return console.error("Hotjar error: ".concat(i.message)),!1}},[]),a=i.useCallback(function(o,e){try{return function(o){if("undefined"!=typeof window&&window.hj)return window.hj("stateChange",o);throw Error("Hotjar is not available! Is Hotjar initialized?")}(o),e&&"function"==typeof e&&e("Hotjar stateChanged"),!0}catch(n){return console.error("Hotjar error: ".concat(n.message)),!1}},[]),s=i.useCallback(function(o,e){try{return function(o){if("undefined"!=typeof window&&window.hj)return window.hj("tagRecording",o);throw Error("Hotjar is not available! Is Hotjar initialized?")}(o),e&&"function"==typeof e&&e("Hotjar tagRecording"),!0}catch(n){return console.error("Hotjar error: ".concat(n.message)),!1}},[]);return i.useMemo(function(){return{readyState:n,stateChange:a,tagRecording:s,initHotjar:l,identifyHotjar:r}},[n,a,s,l,r])}}},function(o){o.O(0,[9774,2888,179],function(){return o(o.s=87314)}),_N_E=o.O()}]);