1import{_ as w,c,j as f,e as p,a as y,n as T,b as I,t as O,w as D,F as G,x as C,r as F,L,J as h,g as t,B as A,D as x,E as B,o as l,d as z}from"./C_dDoqqV.js";import b from"./ZdW86899.js";import M from"./DYNrOnOT.js";import N from"./WJyPUf2g.js";import H from"./Dff8BBHg.js";import W from"./CcggGS2i.js";import U from"./DoP2-cPk.js";import q from"./Avb08j4E.js";import J from"./CoiT8X6d.js";import{_ as Q}from"./DSNIbtlk.js";import K from"./BrEk0DBG.js";import X from"./D0SPb3pS.js";import{a as P,m as j}from"./C4ZLsWZ4.js";import{c as Y,a as R}from"./BKYcg_5K.js";import{u as E}from"./CCduaAoa.js";import{s as Z}from"./vpq_fbaC.js";import{u as $}from"./DtJhA8dZ.js";import"./mkiKOAWx.js";import"./BLuxgZ3F.js";import"./Dsxsh6sg.js";import"./Bp9sjmSc.js";import"./hVo5LF83.js";import"./Dy6qK1uh.js";import"./Q_7L1ZNu.js";import"./BvhTJWHH.js";import"./BliPTYdl.js";import"./z7SzaZbt.js";import"./DqIKrIDH.js";import"./CSg7y4wx.js";import"./hAYur2Bi.js";import"./FKmh4Ghi.js";import"./Q_y7I8tW.js";import"./DUMQntVJ.js";import"./D8vE4kZ_.js";import"./t8jJa2Cm.js";import"./BJ8DeCX5.js";import"./BVIQdDd4.js";import"./C-9dbQSY.js";import"./C4fTG6EF.js";import"./CIfc6IQW.js";import"./BSy4JHtP.js";import"./DKeVZpFc.js";import"./DY4SgOtO.js";import"./BA3S9Qb4.js";import"./CkEu89z3.js";import"./B3iim-KL.js";import"./BXUykJ2C.js";import"./Chyz3EDp.js";import"./2h_uk5DF.js";import"./8JGrCZUO.js";import"./Bw2cPcki.js";import"./BDmGCnhJ.js";import"./BuQBOjcE.js";import"./s3_Otaqs.js";import"./B-yGqZyG.js";import"./LfmN3RZR.js";import"./CY0PcdZl.js";import"./ZwuLzPRm.js";import"./BjYxkQw3.js";import"./Dj2vd1FS.js";import"./Cz7YsKok.js";import"./B0hBdtTj.js";import"./CqXCemgF.js";import"./DLPSkQwF.js";import"./BEsDnUJP.js";import"./BXbTEqmD.js";import"./JB-VHAAP.js";import"./C1G0POQs.js";import"./Bc1rArTd.js";import"./alWqIy3s.js";import"./Crr0GwaG.js";import"./XKaySTwn.js";import"./CtcVRfPe.js";import"./BmVA1Fhd.js";import"./B5UfoBF-.js";import"./C9R0TS7U.js";import"./BXGXhy4c.js";import"./BFCiwhB7.js";import"./aOjMXEfI.js";import"./BoBHCbwg.js";import"./GmToSYe4.js";import"./qd73kTeZ.js";import"./Bqsy2Yht.js";import"./B8KuNCeR.js";import"./CEvt6g13.js";import"./C7KChRbo.js";import"./CsxoMG-j.js";import"./cCsmyXn7.js";import"./pvNInfal.js";import"./DNtRt3-K.js";import"./CTtN8_V5.js";import"./C-UI_2aN.js";import"./DL61D00e.js";import"./TBUDa0X4.js";import"./fHbArwmN.js";import"./JVUQ3xcD.js";import"./CuWWfrxn.js";import"./BaeVMJ_o.js";import"./BxphhFsg.js";import"./NUoIgR6R.js";import"./DZRcb-Lc.js";import"./CTf3eFxt.js";import"./DWc9hJNc.js";import"./CLxmSel9.js";import"./BY1nqrxp.js";import"./BQw9l7ff.js";import"./BhvoX4NO.js";import"./2Kz32Cv7.js";import"./B3UUmxRX.js";import"./cg-AAXxy.js";import"./B0wsIG8O.js";import"./DbFkiiIp.js";import"./zPNFttOR.js";import"./ChOJOv2g.js";import"./jXiz3pAV.js";import"./B7TE8LPj.js";import"./B8qx0_j1.js";import"./Dy9V7qzS.js";import"./HmN7_wuj.js";import"./Bo_fjFMq.js";import"./BMipQyo6.js";import"./CigPKCZt.js";const tt=["ghost","primary","secondary"],et={name:"FreeGames",components:{FreeGamesHero:b},provide(){return{getLocalisation:()=>this.localisation}},props:{variant:{type:String,default:""},arcadeSettings:{type:Object,default:()=>({})},useLocale:{type:String,default:()=>"en-US"},ontarioRegulated:{type:Boolean,default:!1}},data(){return{games:[],rowsFound:0,pagesCount:0,options:{pageSize:40,pageNumber:1,providerIds:[],gameTypes:[],sortingFields:[]},isSticky:!1,isAllGameType:!0,loadingDelay:!0,loadingToplist:!0,playForFree:this.$t("banner.playForFree"),playForReal:this.$t("banner.playForReal"),gameOfTheWeek:this.$t("banner.gameOfTheWeek"),resultNotFoundLabel:this.$t("freeGames.resultNotFound"),filtersLabel:this.$t("advancedToplist.filters"),showMobileFiltersButton:!1,isMobile:!0,buttonPosition:"fixed",hasScrolledPastTop:!1,isBottomInView:!0,freeGamesObserver:null,observer:null,filtersHasContent:!1,iosStickyInterval:null,lastOptionsKey:null,gameDataBySlug:{}}},setup(){const e=B();x(()=>e?.proxy?.runFetchData?.())},computed:{heroData(){return this.arcadeSettings.hero||null},filters(){return!!this.arcadeSettings?.filters},collections(){return this.arcadeSettings?.collections||[]},filteredCollections(){return this.collections?.filter(e=>e.variant!=="default")},filteredDefaultCollections(){return this.collections?.filter(e=>e.variant==="default")},showQuickFilters(){return Object.keys(this.arcadeSettings).includes("quickFilters")},quickFiltersVariant(){return this.arcadeSettings.quickFilters.variant||"default"}
1,filtersButtonVariant(){return tt.find(e=>e===this.arcadeSettings.filtersButtonVariant)||"ghost"},...A(P,["modalGameData","filteringMetadata","providers","currentFilters","themes","realMoneyWins","totalGames","preloadedHeroSlider"]),...A(E,["toplistByType"]),toplist(){return E().toplist},allThemes(){return!this.themes||!Array.isArray(this.themes)?[]:this.themes.map(e=>({name:e.value}))},providerIds(){return this.collections.find(e=>e.type==="providers")?.providerIds||[]},existingGameTypes(){return this.collections.find(e=>e.type==="gameTypes")?.existingGameTypes||[]},priorityGameTypesOrder(){return this.collections.find(e=>e.type==="gameTypes")?.priorityGameTypesOrder||[]},limitedProviders(){return(this.providerIds.length>0?this.providers.filter(o=>this.providerIds.includes(o.id)):this.providers.slice(0,10)).map(o=>{const a=X.gameProviders.find(s=>s.providerID===o.id),r=typeof o.name=="string"?o.name.toLowerCase():"",i=`/images/logos/badges/game-providers/mini-logos/dark/${this.providerName(r)}.svg`;return{...o,logo:i||o.logo,link:a?a.link:""}})},gameTypes(){if(!this.filteringMetadata?.gameTypes)return[];const e=n=>typeof n!="string"?"":n?.toLowerCase()?.replace(/_([a-z])/g,(d,_)=>_?.toUpperCase()),o=Object.entries(this.filteringMetadata.gameTypes).map(([n,d])=>{const _=e(n),u=K?.[_]||{};return{name:d??"",link:u.link,logo:u.freeGamesiconPath}}).filter(n=>n.name),a=o.filter(n=>!!n.link),r=o.filter(n=>!n.link),i=a.sort((n,d)=>{const _=this.priorityGameTypesOrder.indexOf(n.name),u=this.priorityGameTypesOrder.indexOf(d.name);return _===-1&&u===-1?n.name.localeCompare(d.name):_===-1?1:u===-1?-1:_-u}),s=r.sort((n,d)=>n.name.localeCompare(d.name));return[...i,...s]?.filter(n=>this.existingGameTypes?.includes(n?.name))},logosData(){return e=>{switch(e){case"gameTypes":return this.gameTypes;case"themes":return this.themes||[];default:return this.limitedProviders}}},userCountryCode(){return R().userCountryCode},userRegionCode(){return R().userLocation?.regionCode},localisation(){return Y(this.userCountryCode)}},watch:{toplist:{handler(){this.toplist&&this.toplist.length&&(this.loadingToplist=!1)}}},mounted(){Promise.all([this.getProviders(),this.getToplistByType(),this.getThemes(),this.getFeatures(),this.getRealMoneyWins(),this.preloadGameBannerData()]),this.toplist&&this.toplist.length&&(this.loadingToplist=!1);const e=this.$refs.sentinel;this.freeGamesObserver=new IntersectionObserver(([a])=>{this.isSticky=!a.isIntersecting},{root:null,threshold:0}),this.freeGamesObserver.observe(e),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&(document.addEventListener("scroll",this.handleIOSScroll,{passive:!0}),this.iosStickyInterval=Z(this.handleIOSScroll,100)),this.handleResize(),window.addEventListener("resize",this.handleResize)},beforeUnmount(){window.removeEventListener("resize",this.handleResize),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&(document.removeEventListener("scroll",this.handleIOSScroll),this.iosStickyInterval&&clearInterval(this.iosStickyInterval)),this.freeGamesObserver&&this.freeGamesObserver.disconnect()},created(){this.localisation?.country&&(h.localisation=this.localisation),this.setUSeLocale(this.useLocale)},methods:{async runFetchData(){const e=P();await this.resetFiltersState(),this.localisation?.country&&(h.localisation=this.localisation),h.setExclusionContext({countryCode:this.userCountryCode||this.localisation?.country||"US",stateCode:this.userRegionCode||""}),this.setUSeLocale(this.useLocale),this.arcadeSettings?.hero&&this.setPreloadedHeroSlider(null),await Promise.all([e.getGamesByCondition({supplement:!0,options:{}}),this.getFilteringMetadata(),this.preloadDefaultCollectionsGames(),this.preloadHeroSliderGames()])},handleIsAllGameTypes(e){if(e&&this.isSticky){const o=document.getElementById("free-games-filters");window.scrollTo({top:o.offsetTop,behavior:"smooth"})}this.isAllGameType=e},async loadMoreGames(e=!1){const o=this.options.pageNumber;this.options={...this.options,...this.currentFilters,pageNumber:o+1};const a=await this.getGamesByCondition(this.options);a&&(this.games=this.games?.concat(a?.results),this.setGlobalGames(this.games),this.rowsFound=a.rowsFound||0,this.pagesCount=a.pagesCount||0)},async getGamesByCondition(e){return await h.getGamesByCondition(e)},async getGames(e){if(this.isSticky){const a=document.getElementById("free-games-filters");window.scrollTo({top:a.offsetTop,behavior:"smooth"})}this.options=e;const o=await this.getGamesByCondition(this.options);o&&(this.games=o.results||[],this.setGlobalGames(this.games),this.rowsFound=o.rowsFound||0,this.pagesCount=o.pagesCount||0,this.filtersHasContent=this.games.length>0)},providerName(e){if(typeof e!="string")return"";let o=e.replace(/ /g,"-");return o.includes("'")&&(o=o.replace(/'/g,"")),o===""&&(o=""),o},handleResize(){this.isMobile=window.innerWidth<1024},handleIOSScroll(){requestAnimationFrame(()=>{const e=this.$refs.sentinel;if(e){const o=e.getBoundingClientRect();this.isSticky=o.bottom<=0}})},async getToplistByType(){await E().fetchToplist({pageType:null})},async preloadGameBannerData(){const o=(this.arcadeSettings?.collections||[]).filter(r=>r.variant==="game-banner"&&r.gameSlug).map(r=>r.gameSlug);
1if(!o.length)return;const a=await Promise.all(o.map(r=>Q(Object.assign({
1"../../static/data/games/100-burning-hot.json":()=>t(()=>import("./Cr-7pScQ.js"),[],import.meta.url),
1"../../static/data/games/88-fortunes-megaways.json":()=>t(()=>import("./Ceba5UBK.js"),[],import.meta.url),
1"../../static/data/games/age-of-the-gods-prince-of-olympus.json":()=>t(()=>import("./TeqBxmIb.js"),[],import.meta.url),
1"../../static/data/games/aliens.json":()=>t(()=>import("./DG7XRiyr.js"),[],import.meta.url),
1"../../static/data/games/avalon.json":()=>t(()=>import("./D7YhZWsW.js"),[],import.meta.url),
1"../../static/data/games/bier-haus.json":()=>t(()=>import("./BTfZrlwd.js"),[],import.meta.url),
1"../../static/data/games/blazing-sevens.json":()=>t(()=>import("./D2S3OBtY.js"),[],import.meta.url),
1"../../static/data/games/bonanza.json":()=>t(()=>import("./DCqnbyaO.js"),[],import.meta.url),
1"../../static/data/games/book-of-99.json":()=>t(()=>import("./CCACHkgk.js"),[],import.meta.url),
1"../../static/data/games/book-of-dead.json":()=>t(()=>import("./kekiV_Ya.js"),[],import.meta.url),
1"../../static/data/games/book-of-ra.json":()=>t(()=>import("./C4qdMq_r.js"),[],import.meta.url),
1"../../static/data/games/book-of-sevens.json":()=>t(()=>import("./BUp6NUUO.js"),[],import.meta.url),
1"../../static/data/games/bubble-double.json":()=>t(()=>import("./DzyLClql.js"),[],import.meta.url),
1"../../static/data/games/buffalo.json":()=>t(()=>import("./CAOOFjdz.js"),[],import.meta.url),
1"../../static/data/games/carnival-cash.json":()=>t(()=>import("./BlzlCIDY.js"),[],import.meta.url),
1"../../static/data/games/cash-eruption.json":()=>t(()=>import("./e7LbUBBx.js"),[],import.meta.url),
1"../../static/data/games/cash-machine.json":()=>t(()=>import("./BTBVkf9_.js"),[],import.meta.url),
1"../../static/data/games/cinderella.json":()=>t(()=>import("./Bdf_Zvmb.js"),[],import.meta.url),
1"../../static/data/games/cleopatra-megajackpots.json":()=>t(()=>import("./D5Xxrl4F.js"),[],import.meta.url),
1"../../static/data/games/cleopatra.json":()=>t(()=>import("./C4HmpuQl.js"),[],import.meta.url),
1"../../static/data/games/da-vinci-diamonds.json":()=>t(()=>import("./CZ_3G_8u.js"),[],import.meta.url),
1"../../static/data/games/dolphin-treasure.json":()=>t(()=>import("./C9r_yKwi.js"),[],import.meta.url),
1"../../static/data/games/dragon-spin.json":()=>t(()=>import("./CXmgVcBg.js"),[],import.meta.url),
1"../../static/data/games/enchanted-unicorn.json":()=>t(()=>import("./DGyLCGAq.js"),[],import.meta.url),
1"../../static/data/games/explodiac.json":()=>t(()=>import("./DbnLIA7g.js"),[],import.meta.url),
1"../../static/data/games/eye-of-horus.json":()=>t(()=>import("./DwsnOG8A.js"),[],import.meta.url),
1"../../static/data/games/family-guy.json":()=>t(()=>import("./Barei8iY.js"),[],import.meta.url),
1"../../static/data/games/fancy-fruits.json":()=>t(()=>import("./DuMgZvQ6.js"),[],import.meta.url),
1"../../static/data/games/game-of-the-month.json":()=>t(()=>import("./DkFYDBWD.js"),[],import.meta.url),
1"../../static/data/games/game-of-thrones.json":()=>t(()=>import("./BvirRXRx.js"),[],import.meta.url),
1"../../static/data/games/gates-of-hades.json":()=>t(()=>import("./IlhdYxLD.js"),[],import.meta.url),
1"../../static/data/games/gates-of-olympus-super-scatter.json":()=>t(()=>import("./Cb-i0oT6.js"),[],import.meta.url),
1"../../static/data/games/geisha.json":()=>t(()=>import("./CPEzj8Re.js"),[],import.meta.url),
1"../../static/data/games/gladiator.json":()=>t(()=>import("./7ROKbZAb.js"),[],import.meta.url),
1"../../static/data/games/golden-goddess.json":()=>t(()=>import("./Cv8O0YZq.js"),[],import.meta.url),
1"../../static/data/games/goldfish.json":()=>t(()=>import("./D3BeSnKg.js"),[],import.meta.url),
1"../../static/data/games/greedy-goblins.json":()=>t(()=>import("./BRv07nOG.js"),[],import.meta.url),
1"../../static/data/games/green-machine-deluxe.json":()=>t(()=>import("./DycZPg-T.js"),[],import.meta.url),
1"../../static/data/games/hot-shot-progressive.json":()=>t(()=>import("./C5yfuPH7.js"),[],import.meta.url),
1"../../static/data/games/hot-slot.json":()=>t(()=>import("./C6RwnkeV.js"),[],import.meta.url),
1"../../static/data/games/hotline.json":()=>t(()=>import("./g1_YbUcG.js"),[],import.meta.url),
1"../../static/data/games/invaders-from-the-planet-moolah.json":()=>t(()=>import("./C69t3_6v.js"),[],import.meta.url),
1"../../static/data/games/jackpot-giant.json":()=>t(()=>import("./B2fcxqbb.js"),[],import.meta.url),
1"../../static/data/games/jin-ji-bao-xi-endless-treasure.json":()=>t(()=>import("./CiYaYbbV.js"),[],import.meta.url),
1"../../static/data/games/kitty-glitter.json":()=>t(()=>import("./XPiKD_pS.js"),[],import.meta.url),
1"../../static/data/games/lucky-7.json":()=>t(()=>import("./B0cVFI-l.js"),[],import.meta.url),
1"../../static/data/games/lucky-larrys-lobstermania-2.json":()=>t(()=>import("./s-w9EuSF.js"),[],import.meta.url),
1"../../static/data/games/lucky-leprechaun.json":()=>t(()=>import("./CadkMLXg.js"),[],import.meta.url),
1"../../static/data/games/medusas-madness.json":()=>t(()=>import("./BbteF5kg.js"),[],import.meta.url),
1"../../static/data/games/mega-moolah.json":()=>t(()=>import("./BSBOc4H_.js"),[],import.meta.url),
1"../../static/data/games/mermaids-millions.json":()=>t(()=>import("./B0oko9Dp.js"),[],import.meta.url),
1"../../static/data/games/mighty-wilds.json":()=>t(()=>import("./jyAUEjzu.js"),[],import.meta.url),
1"../../static/data/games/miss-kitty.json":()=>t(()=>import("./Cclj9n5N.js"),[],import.meta.url),
1"../../static/data/games/monopoly-big-spin.json":()=>t(()=>import("./CyrAEzfd.js"),[],import.meta.url),
1"../../static/data/games/monopoly-megaways.json":()=>t(()=>import("./D2WFTzpA.js"),[],import.meta.url),
1"../../static/data/games/orca-safari.json":()=>t(()=>import("./DwG6fat7.js"),[],import.meta.url),
1"../../static/data/games/pharaohs-fortune.json":()=>t(()=>import("./CNbBk0OV.js"),[],import.meta.url),
1"../../static/data/games/pixies-of-the-forest.json":()=>t(()=>import("./BMXMGfaF.js"),[],import.meta.url),
1"../../static/data/games/playboy.json":()=>t(()=>import("./OENkbQtr.js"),[],import.meta.url),
1"../../static/data/games/pompeii.json":()=>t(()=>import("./4QHaOlqL.js"),[],import.meta.url),
1"../../static/data/games/powerbucks-bounty-obucks.json":()=>t(()=>import("./BSJSFGf3.js"),[],import.meta.url),
1"../../static/data/games/quick-hit-super-wheel-wild-red.json":()=>t(()=>import("./B6ErdMmO.js"),[],import.meta.url),
1"../../static/data/games/raging-rhino.json":()=>t(()=>import("./88JEs91y.js"),[],import.meta.url),
1"../../static/data/games/rainbow-riches.json":()=>t(()=>import("./CQzgGwzF.js"),[],import.meta.url),
1"../../static/data/games/red-baron.json":()=>t(()=>import("./BXRsZ_70.js"),[],import.meta.url),
1"../../static/data/games/siberian-storm-megajackpots.json":()=>t(()=>import("./D-EgygFn.js"),[],import.meta.url),
1"../../static/data/games/siberian-storm.json":()=>t(()=>import("./DshOkh48.js"),[],import.meta.url),
1"../../static/data/games/solar-disc.json":()=>t(()=>import("./DTLvd8hl.js"),[],import.meta.url),
1"../../static/data/games/spartacus-gladiator-of-rome.json":()=>t(()=>import("./Bl4BcGRF.js"),[],import.meta.url),
1"../../static/data/games/sweet-bonanza-1000.json":()=>t(()=>import("./DCG-dEcS.js"),[],import.meta.url),
1"../../static/data/games/the-land-of-heroes-golden-nights.json":()=>t(()=>import("./D1SD4beD.js"),[],import.meta.url),
1"../../static/data/games/the-wild-life.json":()=>t(()=>import("./BAuiKKhr.js"),[],import.meta.url),
1"../../static/data/games/thunder-cash.json":()=>t(()=>import("./BX59dGIr.js"),[],import.meta.url),
1"../../static/data/games/triple-double-da-vinci-diamonds.json":()=>t(()=>import("./gUYBIG8v.js"),[],import.meta.url),
1"../../static/data/games/triple-red-hot-777.json":()=>t(()=>import("./DssBY1cL.js"),[],import.meta.url),
1"../../static/data/games/ugga-bugga.json":()=>t(()=>import("./Dnqz0ipp.js"),[],import.meta.url),
1"../../static/data/games/wheel-of-fortune-triple-extreme-spin.json":()=>t(()=>import("./C4GzncKx.js"),[],import.meta.url),
1"../../static/data/games/wheel-of-fortune.json":()=>t(()=>import("./JvLJ6mF5.js"),[],import.meta.url),
1"../../static/data/games/wizard-of-gems.json":()=>t(()=>import("./Cgw2Vnjm.js"),[],import.meta.url)
1}),`../../static/data/games/${r}.json`,6).then(i=>i.default||i).catch(()=>null)));o.forEach((r,i)=>{a[i]&&(this.gameDataBySlug[r]=a[i])})},async preloadDefaultCollectionsGames(){const e=this.arcadeSettings?.collections?.filter(a=>a.variant==="default")||[];if(!e.length){this.setPreloadedDefaultCollectionsGames([]);return}const o=[];for(let a=0;a<e.length;a++){const r=e[a],i={pageSize:r.options?.pageSize||20,pageNumber:1,providerIds:r.options?.providerIds||[],ids:r.options?.ids||[],gameTypes:r.options?.gameTypes||[],sortingFields:[{[r.options?.sorting?.type||"search_volume"]:r.options?.sorting?.order||"DESC"}]};r.options?.name&&(i.name=r.options.name),(r.options?.filters||r.options?.attributes)&&(i.attributes=r.options?.filters||r.options?.attributes),r.options?.gamesWithJackpotOnly&&(i.gamesWithJackpotOnly=r.options.gamesWithJackpotOnly),r.options?.attachJackpots&&(i.attach=["jackpots"]);try{const s=await h.getGamesByCondition(i),g=await j(s?.results||[]);o.push({options:i,results:g,rowsFound:s?.rowsFound||0,pagesCount:s?.pagesCount||0})}catch{o.push({options:i,results:[],rowsFound:0,pagesCount:0})}}this.setPreloadedDefaultCollectionsGames(o)},async preloadHeroSliderGames(){const e=this.arcadeSettings?.hero?.sliderGamesOptions;if(!e||typeof e!="object"){this.setPreloadedHeroSlider({ready:!0,options:null,results:[]});return}const o={pageSize:e.pageSize,pageNumber:e.pageNumber,providerIds:e.providerIds,ids:e.gameIds,gameTypes:e.gameTypes,sortingFields:[]};o.sortingFields.push({[e?.sorting?.type||"search_volume"]:e?.sorting?.order||"DESC"}),h.options=o;try{const a=await h.getGamesByCondition(),r=await j(a?.results||[]),i=await Promise.all(r.map(async s=>{try{const g=await E().randomPartnerByProviderId({providerId:s.providerId}),v=g?.phoenix?.attributes?.toplistOffer?.attributes?.afflinkProxy;return{...s,partner:g,afflinkPartner:v}}catch{return{...s,partner:null,afflinkPartner:null}}}));this.setPreloadedHeroSlider({ready:!0,options:o,results:i})}catch{this.setPreloadedHeroSlider({ready:!0,options:o,results:[]})}},...L(P,["resetFiltersState","getFilteringMetadata","getProviders","getThemes","getFeatures","getRealMoneyWins","setUSeLocale","setPreloadedDefaultCollectionsGames","setPreloadedHeroSlider"]),...L($,["setGlobalGames","openModalFilters"])}},ot={class:"flex flex-col gap-sm md:gap-md lg:gap-lg"},it=["id"],rt={ref:"sentinel",class:"h-px"},st={key:1,class:"mb-sm lg:mb-0"},at={key:0,class:"h-full w-full mt-lg"},mt={key:1,class:"min-h-[150px] p-md flex items-center justify-center"},nt={key:3,class:"sticky bottom-[1.25rem] left-0 z-40 lg:hidden w-fit m-auto"},lt={class:"w-[128px]"},pt={class:"flex flex-col gap-md lg:gap-lg"};function dt(e,o,a,r,i,s){const g=b,v=M,n=N,d=H,_=W,u=U,V=q,k=J;return l(),c("div",ot,[s.heroData?(l(),f(g,{key:0,"hero-data":s.heroData,"global-games":i.games,onGetGames:o[0]||(o[0]=m=>s.getGames(m))},null,8,["hero-data","global-games"])):p("",!0),y("div",{id:s.showQuickFilters?"free-games-filters":null,ref:"free-games-filters",class:T(["flex flex-col gap-sm md:gap-md lg:gap-lg",{"sticky-wrapper-free-games":s.showQuickFilters,"-mt-sm md:-mt-md lg:-mt-lg":s.heroData}])},[y("div",rt,null,512),s.filters?(l(),c("div",{key:0,class:T({"sticky-selection-bar w-screen -ml-lg lg:ml-0 left-0 lg:w-full background-glass sticky right-0 top-0 px-md lg:px-0 py-xs z-50":i.isSticky})},[y("div",null,[y("div",{class:T({"w-full mx-auto":i.isSticky})},[s.showQuickFilters?(l(),f(v,{key:0,variant:s.quickFiltersVariant,"global-games":i.games,"is-sticky":i.isSticky,onGetGames:o[1]||(o[1]=m=>s.getGames(m)),onIsAllGameType:s.handleIsAllGameTypes},null,8,["variant","global-games","is-sticky","onIsAllGameType"])):p("",!0)],2)])],2)):p("",!0),i.isAllGameType?p("",!0):(l(),c("div",st,[i.games&&i.games.length&&!i.isAllGameType?(l(),c("div",at,[I(n,{games:i.games,"load-more-button":!0,"total-games":i.rowsFound,"items-per-page":i.options.pageSize,"current-page":i.options.pageNumber,"pages-count":i.pagesCount,onClick:s.loadMoreGames,onPageUpdated:o[2]||(o[2]=m=>s.loadMoreGames(m))},null,8,["games","total-games","items-per-page","current-page","pages-count","onClick"])])):p("",!0),!i.games.length&&!i.loadingToplist&&!i.isAllGameType?(l(),c("div",mt,O(i.resultNotFoundLabel),1)):p("",!0)])),i.isAllGameType?(l(),f(d,{key:2,collections:s.filteredDefaultCollections,"view-all-button":a.arcadeSettings?.viewAllButton},null,8,["collections","view-all-button"])):p("",!0),s.filters?(l(),c("div",nt,[y("div",lt,[I(u,{size:"SM",variant:s.filtersButtonVariant,icon:"","full-height":"",full:"","icon-position":"left",class:"w-[128px] h-[46px]",onClick:e.openModalFilters},{"icon-left":D(()=>[I(_,{name:"filters","aria-hidden":"true",role:"img",class:"mr-xs w-[16px] h-[16px] flex00auto"})]),default:D(()=>[z(" "+O(i.filtersLabel),1)]),_:1},8,["variant","onClick"])])])):p("",!0)],10,it),y("div",pt,[(l(!0),c(G,null,C(s.filteredCollections,
1(m,S)=>(l(),c("div",{key:S},[m.variant==="game-banner"?(l(),f(V,{key:0,title:m.title,"game-of-the-week":m.gameOfTheWeek,"play-for-real":m.playForReal,"play-for-free":m.playForFree,"last-update":m.lastUpdate,"game-slug":m.gameSlug,"game-banner-data":i.gameDataBySlug[m.gameSlug],variant:"free-games"},null,8,["title","game-of-the-week","play-for-real","play-for-free","last-update","game-slug","game-banner-data"])):p("",!0),m.variant==="logos"?(l(),f(k,{key:1,title:m.title,logos:s.logosData(m.type),type:m.type},null,8,["title","logos","type"])):p("",!0),m.componentName&&m.content?(l(),f(F(m.componentName),{key:2,content:m.content||null},null,8,["content"])):p("",!0)]))),128))])])}const Ao=Object.assign(w(et,[["render",dt]]),{__name:"FreeGames"});export{Ao as default};
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.