PageSourceSearch

https://www.spinandwin.com/build/_shared/chunk-X36JT5BG.js

js spinandwin.com collected 2026-09-26 06:48:13 UTC 20,391 bytes, 1 lines download raw bytes

1import{a as Yo}from"/build/_shared/chunk-PCOQQ6ZP.js";import{b as Ho}from"/build/_shared/chunk-QPVZAJR3.js";import{a as Co}from"/build/_shared/chunk-SQIVSIK7.js";import{c as Wo}from"/build/_shared/chunk-GOCWYXSG.js";import{d as W}from"/build/_shared/chunk-LXYO3DKR.js";import{e as J}from"/build/_shared/chunk-6XX3ATVP.js";import{a as $o}from"/build/_shared/chunk-H5UJJ74Q.js";import{l as So}from"/build/_shared/chunk-TQS5E2SK.js";import{e as to,u as wo,v as co,w as eo}from"/build/_shared/chunk-RBFCHJWR.js";import{a as Mo}from"/build/_shared/chunk-JUM7J4TY.js";import{a as Ro}from"/build/_shared/chunk-RW7BUM27.js";import{e as H}from"/build/_shared/chunk-ADMCF34Z.js";var un="affordability-survey-cookie";var mn="accept-cookies-cookie",In="ga-tracking-cookie";var fn="aml-popup",En={DISMISSED:"dismissed",DONE:"done"},zo="login-redirect-cookie";var gn={0:"new",1:"old"};var lo=H(Mo());var en=n=>{let c=Math.floor(n/3600%60),s=Math.floor(n/60%60),o=n%60;return`${c.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`},Ko=(n,c,s,o,I,u,E)=>{J({event:"game_exit",eventCategory:"games",eventAction:"button_click",gameCategory:n,gameLocation:c,gameLocationIndex:s,gameName:o,gameType:I,gameDuration:en(u),lobbyType:E})},ko=(n,c,s,o,I,u,E,y,g,L)=>{u?J({event:"search_followed_by_game_launch",eventAction:"button_click",eventCategory:"games",siteSection:"search",gameCategory:n,gameLocation:c,gameLocationIndex:s,gameName:o,gameType:I,lobbyType:E,searchTerm:u,searchMenuName:y,...g&&{searchKeyword:g},...L&&{gameContainer:L}}):J({event:"game_launch",eventAction:"page_load",eventCategory:"games",gameCategory:n,gameLocation:c,gameLocationIndex:s,gameName:o,gameType:I,lobbyType:E})},pn=()=>{let{isDesktop:n,playerProfileData:c,theme:s}=co("root"),{redirect:o,isMobile:I,isTablet:u,lobbyType:E}=wo(),[y,g]=(0,lo.useState)(null),[L,h]=(0,lo.useState)(0),T=to(),O=eo();return(0,lo.useEffect)(()=>{let k=setInterval(()=>{y!=null&&y.closed&&o?(clearInterval(k),Ko(o==null?void 0:o.gameCategory,o==null?void 0:o.gameLocation,o==null?void 0:o.gameLocationIndex,o==null?void 0:o.gameName,o==null?void 0:o.gameType,L,E)):h(l=>l+1)},1e3);return()=>{clearInterval(k)}},[y,L]),(0,lo.useEffect)(()=>{if(o){let k=o==null?void 0:o.type;switch(O.load(`/actions/cookies/deleteCookie?cookie=${zo}`),k){case"BINGO_LAUNCH":if(I||u){let N=`/bingo/launch?bingoName=${o==null?void 0:o.bingoName}&launchType=${o==null?void 0:o.launchType}`,b=window.open(N);b?(b.focus(),g(b)):T(N),ko(o==null?void 0:o.gameCategory,o==null?void 0:o.gameLocation,o==null?void 0:o.gameLocationIndex,o==null?void 0:o.gameName,o==null?void 0:o.gameType,o==null?void 0:o.searchTerm,E,o==null?void 0:o.searchMenuName,o==null?void 0:o.searchKeyword,o==null?void 0:o.gameContainer),h(0)}else{let N=window.open(`/bingo/launch?bingoName=${o==null?void 0:o.bingoName}&launchType=${o==null?void 0:o.launchType}`,"bingoWindow","popup");N&&(ko(o==null?void 0:o.gameCategory,o==null?void 0:o.gameLocation,o==null?void 0:o.gameLocationIndex,o==null?void 0:o.gameName,o==null?void 0:o.gameType,o==null?void 0:o.searchTerm,E,o==null?void 0:o.searchMenuName,o==null?void 0:o.searchKeyword,o==null?void 0:o.gameContainer),N.focus(),g(N),h(0))}break;case"GAME_LAUNCH":J({event:"game_launch",eventAction:"page_load",eventCategory:"games",gameCategory:o==null?void 0:o.gameCategory,gameLocation:o==null?void 0:o.gameLocation,gameLocationIndex:o==null?void 0:o.gameLocationIndex,gameName:o==null?void 0:o.gameName,gameType:o==null?void 0:o.gameType}),T(`/games/launch/${W(o==null?void 0:o.gameName)}`,{state:{gameLocationIndex:o==null?void 0:o.gameLocationIndex,gameLocation:o==null?void 0:o.gameLocation,gameCategory:o==null?void 0:o.gameCategory,gameType:o==null?void 0:o.gameType,from:o==null?void 0:o.from}});break;case"OPEN_PREBUY":let l=o==null?void 0:o.bingoName,t=o==null?void 0:o.envGameName;Co({gameName:l,envGameName:t});break}}},[o]),null};var Qo=n=>{switch(n){case"GBP":return"\xA3";case"EUR":return"\u20AC";case"GIP":return"\xA3";default:return"\xA3"}},Vo=n=>{switch(n){case"EUR":return"en-IE";case"GIP":return"en-GI";default:return"en-GB"}},Gn=(n,c="GBP",s=!0)=>
1{if(n<100){if(c==="GBP"||c==="GIP")return`${n}p`;if(c==="EUR")return`${n}c`}return new Intl.NumberFormat(Vo(c),{style:"currency",currency:c,minimumFractionDigits:s?2:0,maximumFractionDigits:s?2:0}).format(n/100)},Bo=(n,c="GBP",s=!0)=>new Intl.NumberFormat(Vo(c),{style:"currency",currency:c,minimumFractionDigits:s?2:0,maximumFractionDigits:s?2:0}).format(n);var Z=H(Mo());var jo=H($o());var ao=(n,c,s)=>{var I,u,E,y,g,L,h,T,O,k,l,t,N,b,p,x,_,G,M;if(!c)return null;let o=c[n];if(!o)return null;switch(n){case 2:let S=(I=o==null?void 0:o.groups)==null?void 0:I.find(m=>(m==null?void 0:m.groupName)==="Fluffy Mega - Daub"),U=(E=(u=S==null?void 0:S.jackpots[2])==null?void 0:u.amounts)==null?void 0:E.value;if(!U)break;return U;case 4:let F=ro(o);if(!F)break;return F;case 6:let w=(T=(h=(L=(g=(y=o==null?void 0:o.groups)==null?void 0:y.find(m=>(m==null?void 0:m.progressiveID)==s))==null?void 0:g.jackpots)==null?void 0:L[0])==null?void 0:h.amounts)==null?void 0:T.value;if(!w)break;return w;case 35:let A=(N=(t=(l=(k=(O=o==null?void 0:o.groups)==null?void 0:O.find(m=>(m==null?void 0:m.groupName)==="JACKPOTKING"))==null?void 0:k.jackpots)==null?void 0:l[0])==null?void 0:t.amounts)==null?void 0:N.value;if(!A)break;return A;case 55:let C=(b=o==null?void 0:o.groups)==null?void 0:b.find(m=>m.groupName==="rankB"),P=(x=(p=C==null?void 0:C.jackpots.find(m=>(m==null?void 0:m.jackpotName)==="PROGRESSIVE"))==null?void 0:p.amounts)==null?void 0:x.value;if(!P)break;return P;case 48:let Y=(_=o==null?void 0:o.groups)==null?void 0:_.find(m=>m.groupName==="Rank_Stride"),q=(M=(G=Y==null?void 0:Y.jackpots.find(m=>(m==null?void 0:m.jackpotName)==="Rank_Stride"))==null?void 0:G.amounts)==null?void 0:M.value;if(!q)break;return q;default:return null}},Mn=(n,c="GBP")=>{var o,I,u,E,y,g,L,h,T,O,k,l,t,N,b,p,x,_,G,M,S,U,F,w,A,C,P,Y,q,m,uo,ho,d,Ao,To,bo,po,_o,Go,$,Oo;let s=Qo(c);if(!n)return null;switch(Number(n==null?void 0:n.jackpotProvider)){case 2:let mo=(o=n==null?void 0:n.groups)==null?void 0:o.find(e=>(e==null?void 0:e.groupName)==="Fluffy Mega - Daub"),D=mo==null?void 0:mo.jackpots;if(!D)break;return{jackpotProvider:n==null?void 0:n.jackpotProvider,jackpots:[{image:n==null?void 0:n.megaJackpotLogo,amount:((u=(I=D[2])==null?void 0:I.amounts)==null?void 0:u.value)||0,type:"primary"},{image:n==null?void 0:n.majorJackpotLogo,amount:((y=(E=D[1])==null?void 0:E.amounts)==null?void 0:y.value)||0,type:"secondary"},{image:n==null?void 0:n.minorJackpotLogo,amount:((L=(g=D[0])==null?void 0:g.amounts)==null?void 0:L.value)||0,type:"secondary"}],megaProgressiveId:n==null?void 0:n.megaProgressiveId};case 4:let Po=ro(n);if(!Po)break;return{jackpotProvider:n==null?void 0:n.jackpotProvider,jackpots:[{image:n==null?void 0:n.megaJackpotLogo,amount:Po||0,type:"primary"}],megaProgressiveId:n==null?void 0:n.megaProgressiveId};case 6:let io=(l=(k=(O=(T=(h=n==null?void 0:n.groups)==null?void 0:h.find(e=>(e==null?void 0:e.progressiveID)==(n==null?void 0:n.megaProgressiveId)))==null?void 0:T.jackpots)==null?void 0:O[0])==null?void 0:k.amounts)==null?void 0:l.value,oo=(x=(p=(b=(N=(t=n==null?void 0:n.groups)==null?void 0:t.find(e=>(e==null?void 0:e.progressiveID)==(n==null?void 0:n.majorProgressiveId)))==null?void 0:N.jackpots)==null?void 0:b[0])==null?void 0:p.amounts)==null?void 0:x.value,Io=(U=(S=(M=(G=(_=n==null?void 0:n.groups)==null?void 0:_.find(e=>(e==null?void 0:e.progressiveID)==(n==null?void 0:n.minorProgressiveId)))==null?void 0:G.jackpots)==null?void 0:M[0])==null?void 0:S.amounts)==null?void 0:U.value;if(!io||!(n!=null&&n.megaJackpotLogo))break;let Q=[{image:n==null?void 0:n.megaJackpotLogo,amount:io,type:"primary"}];return oo&&(n!=null&&n.majorJackpotLogo)&&Q.push({image:n==null?void 0:n.majorJackpotLogo,amount:oo,type:"secondary"}),Io&&(n!=null&&n.minorJackpotLogo)&&Q.push({image:n==null?void 0:n.minorJackpotLogo,amount:Io,type:"secondary"}),{jackpotProvider:n==null?void 0:n.jackpotProvider,jackpots:Q,megaProgressiveId:n==null?void 0:n.megaProgressiveId};case 35:let V=e=>{var z,X,yo;let f=(z=n==null?void 0:n.groups)==null?void 0:z.find(so=>(so==null?void 0:so.groupName)===e),R=(yo=(X=f==null?void 0:f.jackpots)==null?void 0:X[0])==null?void 0:yo.amounts;return{value:R==null?void 0:R.value,targetAmount:R==null?void 0:R.targetAmount}}
1,fo=(F=V("JACKPOTKING"))==null?void 0:F.value,B=V("JACKPOTKING_REGAL"),j=V("JACKPOTKING_ROYAL");if(!fo)break;return{jackpotProvider:n==null?void 0:n.jackpotProvider,jackpots:[{image:n==null?void 0:n.megaJackpotLogo,amount:fo,type:"primary"},{image:n==null?void 0:n.majorJackpotLogo,amount:B==null?void 0:B.value,type:"secondary",...B!=null&&B.targetAmount?{data:Bo(B==null?void 0:B.targetAmount,c),text:"Must Be Won By"}:{data:`${s}35,000.00`,text:"Must Be Won By"}},{image:n==null?void 0:n.minorJackpotLogo,amount:j==null?void 0:j.value,type:"secondary",...j!=null&&j.targetAmount?{data:Bo(j==null?void 0:j.targetAmount,c),text:"Must Be Won By"}:{data:`${s}3,500.00`,text:"Must Be Won By"}}],megaProgressiveId:n==null?void 0:n.megaProgressiveId};case 55:let Eo=(w=n==null?void 0:n.groups)==null?void 0:w.find(e=>(e==null?void 0:e.groupName)==="rankB"),i=Eo==null?void 0:Eo.jackpots;if(!i)break;let K=i==null?void 0:i.find(e=>(e==null?void 0:e.jackpotName)==="Daily Jackpot");if(!K)break;let a=(A=K==null?void 0:K.times)!=null&&A.target?(P=jo.default)==null?void 0:P.utc((C=K==null?void 0:K.times)==null?void 0:C.target):null,xo="";if(a){let e=(Y=jo.default)==null?void 0:Y.utc(),f=(q=jo.default)==null?void 0:q.duration(a==null?void 0:a.diff(e));if((f==null?void 0:f.asMilliseconds())>0){let R=Math==null?void 0:Math.floor(f==null?void 0:f.asHours()),z=f==null?void 0:f.minutes(),X=f==null?void 0:f.seconds();xo=`${R}:${(m=z==null?void 0:z.toString())==null?void 0:m.padStart(2,"0")}:${(uo=X==null?void 0:X.toString())==null?void 0:uo.padStart(2,"0")}`}}return{jackpotProvider:n==null?void 0:n.jackpotProvider,jackpots:[{image:n==null?void 0:n.megaJackpotLogo,amount:(d=(ho=i==null?void 0:i.find(e=>(e==null?void 0:e.jackpotName)==="PROGRESSIVE"))==null?void 0:ho.amounts)==null?void 0:d.value,type:"primary"},{image:n==null?void 0:n.majorJackpotLogo,amount:(Ao=K==null?void 0:K.amounts)==null?void 0:Ao.value,type:"secondary",data:xo,text:"Must Pay Before"},{image:n==null?void 0:n.minorJackpotLogo,amount:(bo=(To=i==null?void 0:i.find(e=>(e==null?void 0:e.jackpotName)==="Must-Go Jackpot"))==null?void 0:To.amounts)==null?void 0:bo.value,type:"secondary",data:Bo((_o=(po=i==null?void 0:i.find(e=>(e==null?void 0:e.jackpotName)==="Must-Go Jackpot"))==null?void 0:po.amounts)==null?void 0:_o.targetAmount,c),text:"Must Pay Before"}],megaProgressiveId:n==null?void 0:n.megaProgressiveId};case 48:let no=(Go=n==null?void 0:n.groups)==null?void 0:Go.find(e=>e.groupName==="Rank_Stride"),go=(Oo=($=no==null?void 0:no.jackpots.find(e=>(e==null?void 0:e.jackpotName)==="Rank_Stride"))==null?void 0:$.amounts)==null?void 0:Oo.value;if(!go)break;return{jackpotProvider:n==null?void 0:n.jackpotProvider,jackpots:[{image:n==null?void 0:n.megaJackpotLogo,amount:go||0,type:"primary"}],megaProgressiveId:n==null?void 0:n.megaProgressiveId};default:return null}},ro=n=>{var s;let c=0;return(s=n==null?void 0:n.groups)==null||s.forEach(o=>{var I;(I=o==null?void 0:o.jackpots)==null||I.forEach(u=>{var y;let E=((y=u==null?void 0:u.amounts)==null?void 0:y.value)||0;E>c&&(c=E)})}),c};var Lo=H($o());var No=H(Mo());var Jo=class{constructor(){this.listeners=[];this.fetchCompletionListeners=[];this.isPolling=!1;this.pollingIntervalId=null;this.latestJackpotData=null;this.hasFetchedInitial=!1;this.hasFetchCompleted=!1;this.POLLING_INTERVAL_MS=2e4;this.API_URL="/api/jackpotsride";this.isTickerEnabled=!0}isEnabled(){return this.isTickerEnabled}notifyAllListeners(c){this.listeners.forEach(s=>s(c))}async fetchJackpotForPolling(){try{let c=await fetch(this.API_URL);c.ok||console.warn(`HTTP ${c.status}`);let s=await c.json();s&&(this.latestJackpotData=s,this.notifyAllListeners(s))}catch(c){console.error("Error fetching jackpot data:",c)}finally{this.hasFetchCompleted||(this.hasFetchCompleted=!0,this.fetchCompletionListeners.forEach(c=>c()),this.fetchCompletionListeners=[])}}subscribe(c){this.listeners.push(c),this.latestJackpotData&&c(this.latestJackpotData)}unsubscribe(c){this.listeners=this.listeners.filter(s=>s!==c)}onFetchComplete(c){this.hasFetchCompleted?c():this.fetchCompletionListeners.push(c)}fetchInitial(){this.isPolling||this.hasFetchedInitial||(this.hasFetchedInitial=!0,this.fetchJackpotForPolling())}startPolling(){!this.isTickerEnabled||this.isPolling||(this.hasFetchedInitial=!0,this.isPolling=!0,this.fetchJackpotForPolling(),this.pollingIntervalId=setInterval(()=>this.fetchJackpotForPolling(),this.POLLING_INTERVAL_MS))}stopPolling(){this.pollingIntervalId&&(clearInterval(this.pollingIntervalId),this.pollingIntervalId=null),this.isPolling=!1}},r=new Jo;function vo(n){let[c,s]=(0,No.useState)(null),[o,I]=(0,No.useState)(!0);return(0,No.useEffect)(()=>{let u=y=>s(y),E=()=>I(!1);return r.subscribe(u),r.onFetchComplete(E),n?r.startPolling():r.fetchInitial(),()=>{r.unsubscribe(u),n&&r.stopPolling()}},[n]),{data:c,isLoading:o}}var Do=H(Ro()),ln=({gameLabel:n,gameDealerLayer:c,gameLogoLayer:s,backgroundLayer:o,gameAnimationLayer:I,name:u,categoryTagLabel:E,gameRibbonText:y,gameRibbonColor:g,gameRibbonStartDate:L,gameRibbonEndDate:h,className:T,disableFavourites:O,contentType:k,categoriesV2:l,gameContainerData:t,jackpotProvider:N,megaProgressiveId:b,gameRibbonsOverride:p,gameVideo:x,gameMutedIcon:_,gameSoundIcon:G,allowVideo:M,currentJackpotData:S,isLazy:U=!0,isLcpTile:F,key:w,muted:A,gameProviderName:C,gameRedirectPath:P})=>{var no,go,e;let[Y,q]=(0,Z.useState)(!1),m=to(),[uo,ho]=(0,Z.useState)(!1),{siteConfig:d,jackpotTickerEnabled:Ao,isMobile:To,isTablet:bo,currencyCode:po,enableJackpotPolling:_o,isIpad:Go}=co("root"),$=eo(),[Oo,mo]=(0,Z.useState)(),{data:D}=vo(_o),Po=S||D,io=bo||Go,oo=Po,Io={gameCategory:(l==null?void 0:l.length)>0?l==null?void 0:l.join(", "):"",gameLocation:t==null?void 0:t.gameLocation,gameLocationIndex:t==null?void 0:t.gameLocationIndex,gamePosition:t==null?void 0:t.gameLocationIndex,gameName:u,gameType:k,gameProvider:C,...(t==null?void 0:t.gameContainer)&&{gameContainer:t.gameContainer}}
1;(0,Z.useEffect)(()=>{if(N&&oo){let f=ao(Number(N),oo,b);f&&mo(f)}},[N,oo,b]);let{ribbonText:Q,ribbonColor:V,ribbonStartDate:fo,ribbonEndDate:B}=Yo(p,y,g,L,h),j=f=>{let R="0001-01-01T00:00:00Z";return!f||f.trim()===""||(0,Lo.default)(f).isSame(R)},Eo=(f,R,z,X)=>{let yo=(0,Lo.default)(),so=!!z&&!!X,Uo=j(f),Fo=j(R);if(so&&Uo&&Fo)return!0;if(so&&!Uo&&!Fo){let sn=(0,Lo.default)(f),tn=(0,Lo.default)(R);return yo.isSameOrAfter(sn)&&yo.isBefore(tn)}return!1};(0,Z.useEffect)(()=>{let f=Eo(fo,B,Q,V);ho(f)},[fo,B,Q,V]);let i=()=>{q(!Y)},K=()=>{if(P){a(),m(P);return}$.submit({gameLocationIndex:t==null?void 0:t.gameLocationIndex,gameLocation:t==null?void 0:t.gameLocation,gameCategory:(l==null?void 0:l.length)>0?l==null?void 0:l.join(", "):"",gameType:k,from:`${location==null?void 0:location.pathname}${location==null?void 0:location.hash}`,...(t==null?void 0:t.gameContainer)&&{gameContainer:t.gameContainer}},{action:`/actions/games/launch?gameName=${W(u)}`,method:"post"}),a()};(0,Z.useEffect)(()=>{$.state==="idle"&&($==null?void 0:$.data)!==void 0&&m(`/games/launch/${W(u)}`,{state:{gameLocationIndex:t==null?void 0:t.gameLocationIndex,gameLocation:t==null?void 0:t.gameLocation,gameCategory:(l==null?void 0:l.length)>0?l==null?void 0:l.join(", "):"",gameType:k,from:`${location==null?void 0:location.pathname}${location==null?void 0:location.hash}`,...(t==null?void 0:t.gameContainer)&&{gameContainer:t.gameContainer}}})},[$.state,$.data]);let a=()=>{J({event:"game_click",eventCategory:"games",eventAction:"game_tile_click",...Io})},xo=()=>{J({event:"game_info_click",eventCategory:"games",eventAction:"button_click",...Io}),m(`/games/${W(u)}`)};return(0,Do.jsx)(So,{className:T,gameLabel:n,gameCategory:E,gameDealerImage:c==null?void 0:c.cropUrl,gameLogo:s==null?void 0:s.cropUrl,gameRibbonText:uo?Q:"",gameRibbonColor:uo?V:"",gameBackground:(no=o==null?void 0:o.cropUrl)!=null?no:"",gameAnimation:I==null?void 0:I.url,infoIconImage:(e=(go=d==null?void 0:d.infoIcon)==null?void 0:go.url)!=null?e:"",onInfoIconClick:xo,onGameClick:K,title:u,jackpot:Oo,jackpotTickerEnabled:Ao,videoSrc:x==null?void 0:x.url,allowVideo:M,mutedIconImage:_==null?void 0:_.url,unMutedIconImage:G==null?void 0:G.url,isMobile:To,isTablet:io,currencyCode:po,isLazy:U,isLcpTile:F,muted:A},(t==null?void 0:t.gameLocationIndex)||u)},Wn=ln;var v=H(Mo());function on({name:n,contentType:c,categoriesV2:s,gameContainerData:o,bingoSchedule:I,gameName:u,envGameName:E,isDesktop:y=!1,lobbyType:g,searchTerm:L,searchMenuName:h,searchKeyword:T,gameContainer:O,gameLocationIndex:k=0,gameLocation:l}){let t=eo(),N=to(),[,b]=Ho(),[p,x]=(0,v.useState)(null),[_,G]=(0,v.useState)(0),M={gameCategory:(s==null?void 0:s.length)>0?s==null?void 0:s.join(", "):"",gameLocation:o==null?void 0:o.gameLocation,gameLocationIndex:o==null?void 0:o.gameLocationIndex,gameName:n,gameType:c,lobbyType:g,...(o==null?void 0:o.gameContainer)&&{gameContainer:o.gameContainer}};return(0,v.useEffect)(()=>{var A,C;if(t.state==="idle"&&(t==null?void 0:t.data)!==void 0)switch((A=t==null?void 0:t.data)==null?void 0:A.type){case"BINGO_LAUNCH":{let P=window.open((C=t==null?void 0:t.data)==null?void 0:C.url,"bingoWindow","popup");P&&(ko((s==null?void 0:s.length)>0?s==null?void 0:s.join(", "):"",l==="Search"?l:o==null?void 0:o.gameLocation,l==="Search"?k:o==null?void 0:o.gameLocationIndex,n,c,L,g,h,T,O),G(0),P.focus(),x(P));break}case"OPEN_PREBUY":{Co({gameName:u,envGameName:E,schedule:I==null?void 0:I[E]});break}}},[t.state,t==null?void 0:t.data]),(0,v.useMemo)(()=>{let A;p&&!A&&(A=setInterval(()=>{p!=null&&p.closed?(clearInterval(A),Ko((s==null?void 0:s.length)>0?s==null?void 0:s.join(", "):"",o==null?void 0:o.gameLocation,o==null?void 0:o.gameLocationIndex,n,c,_,g)):G(P=>P+1)},1e3))},[p]),{playButtonOnClick:()=>{if(y)t.submit({event:l==="Search"?"search_followed_by_game_launch":"game_launch",gameCategory:(s==null?void 0:s.length)>0?s==null?void 0:s.join(", "):"",gameLocation:l==="Search"?l:o==null?void 0:o.gameLocation,gameLocationIndex:l==="Search"?k:o==null?void 0:o.gameLocationIndex,gameName:n,gameType:c,searchTerm:L||"",searchMenuName:h||"",searchKeyword:T||"",gameC
1ontainer:O||""},{action:`/actions/bingo/launch?bingoName=${n}&launchType=room`,method:"post"});else{b("openedGameWindow",!0);let A=window.open(`/bingo/launch?bingoName=${n}&launchType=room`,"bingoWindow","popup");A&&(ko((s==null?void 0:s.length)>0?s==null?void 0:s.join(", "):"",l==="Search"?l:o==null?void 0:o.gameLocation,l==="Search"?k:o==null?void 0:o.gameLocationIndex,n,c,L,g,h,T,O),G(0),A.focus(),x(A))}},onInfoIconClick:()=>{J({event:"game_info_click",eventCategory:"games",eventAction:"button_click",...M,...h&&{searchMenuName:h}}),N(`/bingo/${W(n)}`)},preBuyButtonOnClick:()=>{J({event:"bingo_pre_buy",lobby_type:g}),t.submit({bingoName:n,envGameName:E},{action:"/actions/bingo/prebuy",method:"post"})},onGameClickEvent:()=>{J({event:"game_click",eventCategory:"games",eventAction:"game_tile_click",...M}),N(`/bingo/${W(n)}`)}}}var nn=H(Ro()),os=({gameLabel:n,gameLogoLayer:c,thumbnailImage:s,backgroundLayer:o,name:I,gameName:u,categoryTagLabel:E,className:y,gameContainerData:g,contentType:L,categoriesV2:h,gameEnvironmentsV2:T,siteOverride:O})=>{var M,S,U,F;let{siteConfig:k,bingoScheduleResponse:l,isDesktop:t,lobbyType:N,clientData:b}=co("root"),p=((M=Wo({gameEnvironmentsV2:T,siteOverride:O},b))==null?void 0:M.gameName)||"",_=on({name:I,contentType:L,categoriesV2:h,gameContainerData:g,bingoScheduleResponse:l,gameName:u,envGameName:p,isDesktop:t,lobbyType:N}),G=()=>{var w;return(w=l==null?void 0:l[p])!=null&&w.isGameOpen?_.playButtonOnClick():_.preBuyButtonOnClick()};return(0,nn.jsx)(So,{className:y,gameLabel:n,gameCategory:E,gameBackground:(S=o==null?void 0:o.cropUrl)!=null?S:"",infoIconImage:(F=(U=k==null?void 0:k.infoIcon)==null?void 0:U.url)!=null?F:"",onInfoIconClick:_.onInfoIconClick,onGameClick:G,title:I},(g==null?void 0:g.gameLocationIndex)||I)};export{un as a,mn as b,In as c,fn as d,En as e,zo as f,gn as g,pn as h,on as i,Qo as j,Gn as k,Mn as l,vo as m,Wn as n,os as o};

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.