1"use strict";(self.webpackChunk_perlas_7bet=self.webpackChunk_perlas_7bet||[]).push([[8418],{NtEy:(e,t,a)=>{a.d(t,{T:()=>setGameGroups,Z:()=>r});var s=a("JRPe"),i=a("rTvU");const p=(0,s.vU)({"app.game.group.allGroups":{id:"app.game.group.allGroups",defaultMessage:"All Games"},"app.game.group.liveAllgames":{id:"app.game.group.liveAllgames",defaultMessage:"Live all games"},"app.game.group.all":{id:"app.game.group.all",defaultMessage:"All Games"},"app.game.group.casino":{id:"app.game.group.casino",defaultMessage:"Casino Home"},"app.game.group.slots":{id:"app.game.group.slots",defaultMessage:"Slots"},"app.game.group.3dSlots":{id:"app.game.group.3dSlots",defaultMessage:"3D Slots"},"app.game.group.classicSlots":{id:"app.game.group.classicSlots",defaultMessage:"Classic Slots"},"app.game.group.pokerSlots":{id:"app.game.group.pokerSlots",defaultMessage:"Poker Slots"},"app.game.group.ipoker":{id:"app.game.group.ipoker",defaultMessage:"IPoker"},"app.game.group.rouletteSlots":{id:"app.game.group.rouletteSlots",defaultMessage:"Roulette"},"app.game.group.blackjackSlots":{id:"app.game.group.blackjackSlots",defaultMessage:"Blackjack Slots"},"app.game.group.videoSlots":{id:"app.game.group.videoSlots",defaultMessage:"GameArt Lithuania"},"app.game.group.progressiveSlots":{id:"app.game.group.progressiveSlots",defaultMessage:"Progressive Slots"},"app.game.group.bonusSlots":{id:"app.game.group.bonusSlots",defaultMessage:"Buy"},"app.game.group.diceSlots":{id:"app.game.group.diceSlots",defaultMessage:"Dice Slots"},"app.game.group.promoSlots":{id:"app.game.group.promoSlots",defaultMessage:"Promo Campaign Slots"},"app.game.group.sports":{id:"app.game.group.sports",defaultMessage:"Sports betting"},"app.game.group.virtualSportSlots":{id:"app.game.group.virtualSportSlots",defaultMessage:"Virtual Sport Slots"},"app.game.group.otherSlots":{id:"app.game.group.otherSlots",defaultMessage:"Other"},"app.game.group.vipSlots":{id:"app.game.group.vipSlots",defaultMessage:"Fresh+"},"app.game.group.scratchSlots":{id:"app.game.group.scratchSlots",defaultMessage:"Scratch Slots"},"app.game.group.live":{id:"app.game.group.live",defaultMessage:"Live Casino"},"app.game.group.liveShows":{id:"app.game.group.liveShows",defaultMessage:"Live Shows"},"app.game.group.liveBlackjack":{id:"app.game.group.liveBlackjack",defaultMessage:"Blackjack"},"app.game.group.livePoker":{id:"app.game.group.livePoker",defaultMessage:"Poker"},"app.game.group.liveRoulette":{id:"app.game.group.liveRoulette",defaultMessage:"Roulette"},"app.game.group.liveRouletteShow":{id:"app.game.group.liveRouletteShow",defaultMessage:"Roulette"},"app.game.group.liveBaccarat":{id:"app.game.group.liveBaccarat",defaultMessage:"Baccarat"},"app.game.group.liveAll":{id:"app.game.group.liveAll",defaultMessage:"All Games"},"app.game.group.liveAllShow":{id:"app.game.group.liveAllShow",defaultMessage:"All Games"},"app.game.group.liveAllShow.mobile":{id:"app.game.group.liveAllShow.mobile",defaultMessage:"All"},"app.game.group.liveOther":{id:"app.game.group.liveOther",defaultMessage:"Other Live Games"},"app.game.group.liveVip":{id:"app.game.group.liveVip",defaultMessage:"Live VIP Casino"},"app.game.group.popular":{id:"app.game.group.popular",defaultMessage:"OMG"},"app.game.group.top10":{id:"app.game.group.top10",defaultMessage:"Pragmatic slots"},"app.game.group.top50":{id:"app.game.group.top50",defaultMessage:"Top 50"},"app.game.group.top100":{id:"app.game.group.top100",defaultMessage:"Top 100"},"app.game.group.jackpot":{id:"app.game.group.jackpot",defaultMessage:"Jackpot Games"},"app.game.group.jackpotCards":{id:"app.game.group.jackpotCards",defaultMessage:"Jackpot Cards"},"app.game.group.egyptQuest":{id:"app.game.group.egyptQuest",defaultMessage:"Egypt Quest"},"app.game.group.goldenCoinsLink":{id:"app.game.group.goldenCoinsLink",defaultMessage:"Golden Coins Link"},"app.game.group.progressiveJackpot":{id:"app.game.group.progressiveJackpot",defaultMessage:"Progressive Jackpot Games"},"app.game.group.favourite":{id:"app.game.group.favourite",defaultMessage:"My Favourite"},"app.game.group.allTimeFavourite":{id:"app.game.group.allTimeFavourite",defaultMessage:"All Time Favourite"},"app.game.group.freeSpins":{id:"app.game.group.freeSpins",defaultMessage:"Free Spins"},"app.game.group.freeMoney":{id:"app.game.group.freeMoney",defaultMessage:"Free Money"},"app.game.group.new":{id:"app.game.group.new",defaultMessage:"Fresh"},"app.game.group.promo":{id:"app.game.group.promo",defaultMessage:"Promo Games"},"app.game.group.other":{id:"app.game.group.other",defaultMessage:"Other"},"app.game.group.recommended":{id:"app.game.group.recommended",defaultMessage:"Recommended"},"app.game.group.RecentGames":{id:"app.game.group.RecentGames",defaultMessage:"Recent"},"app.game.group.1To10Lines":{id:"app.game.group.1To10Lines",defaultMessage:"1-10 Win Ways"},"app.game.group.1To50Lines":{id:"app.game.group.1To50Lines",defaultMessage:"1-50 Win Ways"}
1,"app.game.group.50To100Lines":{id:"app.game.group.50To100Lines",defaultMessage:"50-100 Win Ways"},"app.game.group.100To500Lines":{id:"app.game.group.100To500Lines",defaultMessage:"100-500 Win Ways"},"app.game.group.500To1kLines":{id:"app.game.group.500To1kLines",defaultMessage:"500-1K Win Ways"},"app.game.group.1kTo5kLines":{id:"app.game.group.1kTo5kLines",defaultMessage:"1K-5K Win Ways"},"app.game.group.5kPlusLines":{id:"app.game.group.5kPlusLines",defaultMessage:"Mega"},"app.game.group.500PlusLines":{id:"app.game.group.500PlusLines",defaultMessage:"500+ Win Ways"},"app.game.group.1kPlusLines":{id:"app.game.group.1kPlusLines",defaultMessage:"1K+ Win Ways"},"app.game.group.3kPlusLines":{id:"app.game.group.3kPlusLines",defaultMessage:"3K+ Win Ways"},"app.game.group.branded":{id:"app.game.group.branded",defaultMessage:"Winter"},"app.game.group.table":{id:"app.game.group.table",defaultMessage:"Card Games"},"app.game.group.bingo":{id:"app.game.group.bingo",defaultMessage:"Bingo Games"},"app.game.group.hotPlus":{id:"app.game.group.hotPlus",defaultMessage:"Novomatic"},"app.game.group.test":{id:"app.game.group.test",defaultMessage:"Test"},"app.game.group.promoted":{id:"app.game.group.promoted",defaultMessage:"GameArt"},"app.game.group.betting":{id:"app.game.group.betting",defaultMessage:"Sports betting"},"app.game.group.ogs":{id:"app.game.group.ogs",defaultMessage:"OGS"},"app.game.group.liveCasino":{id:"app.game.group.liveCasino",defaultMessage:"Live casino"},"app.game.group.netEnt":{id:"app.game.group.netEnt",defaultMessage:"NetEnt"},"app.game.group.playnGo":{id:"app.game.group.playnGo",defaultMessage:"PlaynGo"},"app.game.group.pariplay":{id:"app.game.group.pariplay",defaultMessage:"Pariplay"},"app.game.group.iSoftBet":{id:"app.game.group.iSoftBet",defaultMessage:"iSoftBet"},"app.game.group.fantasybet":{id:"app.game.group.fantasybet",defaultMessage:"Fantasybet"},"app.game.group.netapartner":{id:"app.game.group.netapartner",defaultMessage:"Netapartner"},"app.game.group.more":{id:"app.game.group.more",defaultMessage:"More Games"},"app.game.group.home":{id:"app.game.group.home",defaultMessage:"Home"},"app.game.group.liveHotAutumn":{id:"app.game.group.liveHotAutumn",defaultMessage:"OMG"},"app.game.group.liveShow":{id:"app.game.group.liveShow",defaultMessage:"Show"},"app.game.group.liveWheelShow":{id:"app.game.group.liveWheelShow",defaultMessage:"Wheel Games"},"app.game.group.liveWheelShow.mobile":{id:"app.game.group.liveWheelShow.mobile",defaultMessage:"Wheel"},"app.game.group.liveDiceShow":{id:"app.game.group.liveDiceShow",defaultMessage:"Dice games"},"app.game.group.liveDiceShow.mobile":{id:"app.game.group.liveDiceShow.mobile",defaultMessage:"Dice"},"app.game.group.lobby":{id:"app.game.group.lobby",defaultMessage:"Lobby"},"app.game.group.wgBetting":{id:"app.game.group.wgBetting",defaultMessage:"Betting"},"app.game.group.BetGamesBetting":{id:"app.game.group.BetGamesBetting",defaultMessage:"Betting"},"app.game.group.BetGamesSlots":{id:"app.game.group.BetGamesSlots",defaultMessage:"Slots"},"app.game.group.BetGamesLive":{id:"app.game.group.BetGamesLive",defaultMessage:"Live"}});function setGameGroups(e){return(0,i.Z)(e,p,"app.game.group.")}const r=p},apwx:(e,t,a)=>{a.d(t,{Z:()=>s});const s=function coreCondition(e,t){if("string"!=typeof t)return!1;let a="",s=!1,i=e,p=!1;for(const r of t)if("!"===r)s=!s;else if("."===r){if(!a||"object"!=typeof i)return!1;i=i.item(a),a=""}else if("&"===r){if(!a||"object"!=typeof i)return!1;if(p=s?!i.item(a):!!i.item(a),!p)return!1;i=e,a="",s=!1}else if("|"===r){if(!a||"object"!=typeof i)return!1;if(p=s?!i.item(a):!!i.item(a),p)return!0;i=e,a="",s=!1}else a+=r;return!!a&&("object"==typeof i&&(p=s?!i.item(a):!!i.item(a)),p)}},"8lan":(e,t,a)=>{a.d(t,{cU:()=>C,ZP:()=>O});var s,i,p,r=a("FDAq"),o=a("L5+t"),l=a("fjcN"),g=a("2vnA"),u=a("6GXI"),n=a("FQnr"),m=a("Fzrm");let d=(s=class NewUtils{constructor(){(0,r.Z)(this,"page",i,this),(0,r.Z)(this,"checkPage",p,this),(0,o.Z)(this,"__core",void 0),(0,o.Z)(this,"sortSuppliersByName",(e=>{const t={};return this.allSupplierIds.forEach((a=>{t[a]=e(a)})),[...this.allSupplierIds].sort(((e,a)=>{const s=t[e].toLowerCase(),i=t[a].toLowerCase();return s.localeCompare(i)}))})),(0,o.Z)(this,"sortThemesByNames",(e=>{const t={};return this.allThemesIds.forEach((a=>{t[a]=e(a)})),[...this.allThemesIds].sort(((e,a)=>{const s=t[e].toLowerCase(),i=t[a].toLowerCase();return s.localeCompare(i)}))})),(0,o.Z)(this,"timeoutId",null),(0,o.Z)(this,"scrollToFilter",(()=>{const e={clientHeight:0};this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{document.documentElement.scrollTop=(document.querySelector(".warning-bar")||e).clientHeight+(document.querySelector(".app-header")||e).clientHeight+(document.querySelector(".swiper-root:not(.home-menu)")||e).clientHeight+(document.querySelector(".swiper-root.settings-menu")||e).clientHeight-("desktop"===this.core.item("deviceType")?63:130)+1+this.scrollOffset,this.timeoutId=null}),600)}))}get core(){return this.__core||(this.__core=n.vE),this.__core}get settingsFe(){return this.core.item("settings").item("fe")}get availableGroupsFe(){const e=h[this.page||"casino"];return new Set(this.settingsFe.item(e).values()||[])}
1get indexedCasinoProvidersFe(){var e;return null===(e=this.settingsFe)||void 0===e?void 0:e.item("sitemapGenerator").item("indexedCasinoProvidersFilter")}get indexedLiveCasinoProvidersFe(){var e;return null===(e=this.settingsFe)||void 0===e?void 0:e.item("sitemapGenerator").item("indexedLiveCasinoProvidersFilter")}get allGames(){return this.core.item("games").item("allGames")}get allGroups(){return this.core.item("games").item("groups")}get availableGroupIds(){return new Set([...this.availableGroupsFe].filter((e=>this.allGroups.has(e))))}get allSuppliers(){return this.core.item("games").item("suppliers")}get allSupplierIds(){var e;return new Set((null===(e=this.allSuppliers)||void 0===e?void 0:e.keys())||[])}get allThemes(){return this.core.item("games").item("themes")}get allThemesIds(){var e;return new Set((null===(e=this.allThemes)||void 0===e?void 0:e.keys())||[])}get filter(){return this.core.item("games").item("filter")||new m.ZP}get scrollOffset(){return this.core.item("ui").item("$FilterScrollOffset")??0}},i=(0,l.Z)(s.prototype,"page",[g.LO],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=(0,l.Z)(s.prototype,"checkPage",[g.aD],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){var e=this;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"casino";e.page=t}}}),s);const h={casino:"gameGroupsCasino",live:"gameGroupsLiveCasino",show:"gameGroupsLiveShow",betGames:"gameGroupsBetGames"},c=d;var f,v,S,M,y,G,b,w,k=a("9a6m"),F=a("wIs1"),T=a("5QKI"),Z=a("q1tI"),B=a("l4TE"),L=a("SuIi"),P=a("D30D");const z=new(f=class FilterStore extends c{constructor(){var e;super(...arguments),e=this,(0,r.Z)(this,"availableGamesMap",v,this),(0,r.Z)(this,"availableSuppliersMap",S,this),(0,r.Z)(this,"availableGroupsMap",M,this),(0,r.Z)(this,"availableThemesMap",y,this),(0,o.Z)(this,"toggleEntity",((e,t,a)=>{var s;null===(s=this.filter.item(e))||void 0===s||s.item(t,a)})),(0,o.Z)(this,"toggleAllEntity",(function(t,a){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];s.forEach((s=>e.filter.item(t).item(s,a)))})),(0,o.Z)(this,"changeFilterTitle",(e=>{this.filter.item("title",e)})),(0,o.Z)(this,"setFilterByAllGroups",(()=>{(0,g.PS)((()=>{const e=z.filteredGroupsBySelection.size===z.selectedGroups.size;this.filteredGroupsBySelection.forEach(((t,a)=>{this.toggleEntity("groups",a,!e)}))}))})),(0,r.Z)(this,"setGameMap",G,this),(0,o.Z)(this,"setupAvailableGroupsMap",(()=>{this.availableGroupIds.forEach((e=>{const t=new Set;this.allGroups.item(e).keys().forEach((e=>{this.availableGamesMap.add(e),t.add(e)})),(t.size>0||"favourite"===e)&&this.setGameMap("group",e,t)}))})),(0,o.Z)(this,"setupSupplierGameIdsMap",(e=>{const t=new Set;(e?this.sortSuppliersByName(e):this.allSupplierIds).forEach((e=>{const a=new Set;this.allSuppliers.item(e).keys().forEach((e=>{this.availableGamesMap.has(e)&&(t.add(e),a.add(e))})),a.size>0&&this.setGameMap("supplier",e,a)})),this.setGameMap("games",null,t)})),(0,o.Z)(this,"setupAvailableThemesMap",(e=>{(e?this.sortThemesByNames(e):this.allThemesIds).forEach((e=>{const t=new Set;this.allThemes.item(e).keys().forEach((e=>{this.availableGamesMap.has(e)&&t.add(e)})),t.size>0&&this.setGameMap("theme",e,t)}))})),(0,o.Z)(this,"setupFavouriteGames",(()=>{var e;const t=new Set([...(null===(e=this.allGroups.item("favourite"))||void 0===e?void 0:e.keys())||[]]);this.availableGroupsMap.set("favourite",new Set([...t]))})),(0,o.Z)(this,"initializeAvailableGames",((e,t)=>{(0,g.PS)((()=>{this.setupAvailableGroupsMap(),this.setupSupplierGameIdsMap(e),this.setupAvailableThemesMap(t)}))})),(0,o.Z)(this,"clearChecks",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";var a,s,i;"all"!==t&&"groups"!==t||e.toggleAllEntity("groups",!1,null===(a=e.allGroups)||void 0===a?void 0:a.keys());"all"!==t&&"providers"!==t||e.toggleAllEntity("providers",!1,null===(s=e.allSuppliers)||void 0===s?void 0:s.keys());"all"!==t&&"themes"!==t||e.toggleAllEntity("themes",!1,null===(i=e.allThemes)||void 0===i?void 0:i.keys());"all"!==t&&"title"!==t||e.changeFilterTitle("")})),(0,o.Z)(this,"clearFilter",(()=>{(0,g.PS)((()=>{this.clearChecks()}))})),(0,o.Z)(this,"clearTrack",(()=>{this.$trackingLoadGames(),this.$trackingFavouriteGames()})),(0,o.Z)(this,"$trackingLoadGames",(()=>{})),(0,o.Z)(this,"$trackingFavouriteGames",(()=>{})),(0,o.Z)(this,"$clear",(()=>{this.availableGamesMap.clear(),this.availableSuppliersMap.clear(),this.availableGroupsMap.clear(),this.availableThemesMap.clear(),this.clearFilter()})),(0,o.Z)(this,"start",((e,t,a)=>{this.checkPage(e),this.$trackingLoadGames=(0,u.U5)((()=>{var e,t,a;return null===(e=this.core)||void 0===e||null===(t=e.item("games"))||void 0===t||null===(a=t.item("allGames"))||void 0===a?void 0:a.size}),(e=>{e>0&&(this.$clear(),this.initializeAvailableGames(t,a))}),{fireImmediately:!0}),this.$trackingFavouriteGames=(0,u.U5)((()=>{var e;return null===(e=this.allGroups.item("favourite"))||void 0===e?void 0:e.size}),this.setupFavouriteGames)})),(0,o.Z)(this,"stop",(()=>{(0,g.PS)((()=>{this.$clear(),this.clearTrack()}))}))}get selectedSuppliers(){return new Set(this.filter.item("providers").filter(((e,t)=>e&&this.availableSuppliersMap.has(String(t)))).keys())}get selectedGroups(){return new Set(this.filter.item("groups").filter(((e,t)=>e&&this.availableGroupsMap.has(t))).keys())}get selectedThemes(){return new Set(this.filter.item("themes").filter(((e,t)=>e&&this.availableThemesMap.has(t))).keys())}get allFilterChecks(){return this.selectedSuppliers.size+this.selectedGroups.size+this.selectedThemes.size}get selectedGamesBySuppliers(){const e=new Set;for(const t of this.selectedSuppliers){const a=this.availableSuppliersMap.get(t)||new Set;for(const t of a)e.add(t)}return e}get selectedGamesByGroups(){const e=new Set;for(const t of this.selectedGroups){const a=this.availableGroupsMap.get(t)||new Set;for(const t of a)e.add(t)}return e}get selectedGamesByThemes(){const e=new Set;for(const t of this.selectedThemes){const a=this.availableThemesMap.get(t)||new Set;for(const t of a)e.add(t)}return e}get filteredSuppliersBySelection(){const e=this.selectedGamesByGroups,t=this.selectedGamesByThemes;if(0===e.size&&0===t.size)return this.availableSuppliersMap;const a=new Map;for(const[s,i]of this.availableSuppliersMap){const p=new Set([...i].filter((a=>e.size>0&&t.size>0?e.has(a)&&t.has(a):t.size>0?t.has(a):e.has(a))));p.size>0&&a.set(s,p)}return a}get filteredGroupsBySelection(){const e=this.selectedGamesBySuppliers,t=this.selectedGamesByThemes;if(0===e.size&&0===t.size)return this.availableGroupsMap;const a=new Map;for(const[s,i]of this.availableGroupsMap){const p=new Set([...i].filter((a=>e.size>0&&t.size>0?e.has(a)&&t.has(a):t.size>0?t.has(a):e.has(a))));p.size>0&&a.set(s,p)}return a}get filteredThemesBySelection(){const e=this.selectedGamesBySuppliers,t=this.selectedGamesByGroups;if(0===e.size&&0===t.size)return this.availableThemesMap;const a=new Map;for(const[s,i]of this.availableThemesMap){const p=new Set([...i].filter((a=>e.size>0&&t.size>0?e.has(a)&&t.has(a):t.size>0?t.has(a):e.has(a))));p.size>0&&a.set(s,p)}return a}get filteredGames(){return new Set([...this.filter.item("games").keys()].filter((e=>this.availableGamesMap.has(e))))}},v=(0,l.Z)(f.prototype,"availableGamesMap",[g.LO],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Set}}),S=(0,l.Z)(f.prototype,"availableSuppliersMap",[g.LO],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),M=(0,l.Z)(f.prototype,"availableGroupsMap",[g.LO],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),y=(0,l.Z)(f.prototype,"availableThemesMap",[g.LO],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,l.Z)(f.prototype,"selectedSuppliers",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"selectedSuppliers"),f.prototype),(0,l.Z)(f.prototype,"selectedGroups",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"selectedGroups"),f.prototype),(0,l.Z)(f.prototype,"selectedThemes",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"selectedThemes"),f.prototype),(0,l.Z)(f.prototype,"allFilterChecks",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"allFilterChecks"),f.prototype),(0,l.Z)(f.prototype,"selectedGamesBySuppliers",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"selectedGamesBySuppliers"),f.prototype),(0,l.Z)(f.prototype,"selectedGamesByGroups",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"selectedGamesByGroups"),f.prototype),(0,l.Z)(f.prototype,"selectedGamesByThemes",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"selectedGamesByThemes"),f.prototype),(0,l.Z)(f.prototype,"filteredSuppliersBySelection",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"filteredSuppliersBySelection"),f.prototype),(0,l.Z)(f.prototype,"filteredGroupsBySelection",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"filteredGroupsBySelection"),f.prototype),(0,l.Z)(f.prototype,"filteredThemesBySelection",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"filteredThemesBySelection"),f.prototype),(0,l.Z)(f.prototype,"filteredGames",[g.Fl],Object.getOwnPropertyDescriptor(f.prototype,"filteredGames"),f.prototype),G=(0,l.Z)(f.prototype,"setGameMap",[g.aD],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(e,t,a)=>{switch(e){case"supplier":this.availableSuppliersMap.set(t,a);break;case"group":this.availableGroupsMap.set(t,a);break;case"theme":this.availableThemesMap.set(t,a);break;case"games":this.availableGamesMap=a}}}}),f);let C=(0,F.Z)(b=(0,T.A)((w=class SearchListener extends Z.PureComponent{constructor(e){super(e),(0,o.Z)(this,"timeout",void 0),(0,o.Z)(this,"separator","_"),(0,o.Z)(this,"map",{groups:["indexedCasinoGroupsFilter","indexedLiveCasinoGroupsFilter","indexedBetGamesGroupsFilter"],providers:["indexedCasinoProvi
1dersFilter","indexedLiveCasinoProvidersFilter","indexedBetGamesProvidersFilter"],themes:["indexedCasinoThemesFilter","indexedLiveCasinoThemesFilter","indexedBetGamesThemesFilter"]}),this.notFirstRendering=Z.createRef()}get settingsFe(){return this.core.item("settings").item("fe")}get filter(){return this.core.item("games").item("filter")}get groups(){return this.filter.item("groups").filter((e=>e)).keys().join(this.separator)}get providers(){return this.filter.item("providers").filter((e=>e)).keys().join(this.separator)}get themes(){return this.filter.item("themes").filter((e=>e)).keys().join(this.separator)}get title(){return this.filter.item("title")}get indexedFilterName(){return this.props.match.params.filter}get indexingMap(){const e={};for(const t in this.map)this.map[t].forEach((a=>{var s;null===(s=this.settingsFe)||void 0===s||s.item("sitemapGenerator").item(a).forEach(((a,s)=>{if("providers"===t){z.availableSuppliersMap.has(s)&&(e[a]=[t,s])}else e[a]=[t,s]}))}));return e}filterByIndexedLink(){if(this.indexingMap[this.indexedFilterName]){const[t,a]=this.indexingMap[this.indexedFilterName];var e;return!!a&&(null===(e=this.filter.item(t))||void 0===e||e.item(a,!0),!0)}return!1}render(){const{location:e}=this.props,t=this.core.item("settings").item("languages").values(),a=e.pathname.replace(new RegExp(`^/(${t.join("|")})(/|$)`),"/"),s=this.core.item("games").item("groups"),{filter:i}=this.props.match.params;return Z.createElement(B.Z,null,Z.createElement(L.Z,{deps:[e.search,i,z.availableSuppliersMap.size,s.size]},(()=>{if(z.availableSuppliersMap.size&&s.size){const{groups:t="",providers:s="",themes:p="",title:r="",...o}=(0,k.Z)(e.search);if(t||s||p||r)try{(0,g.PS)((()=>{const e=t?t.split(this.separator):[];this.filter.item("groups").forEach(((t,a)=>{this.filter.item("groups").item(a,e.includes(a))}));const a=s?s.split(this.separator):[];this.filter.item("providers").forEach(((e,t)=>{this.filter.item("providers").item(t,a.includes(t))}));const i=p?p.split(this.separator):[];this.filter.item("themes").forEach(((e,t)=>{this.filter.item("themes").item(t,i.includes(t))})),r&&z.changeFilterTitle(r)})),z.scrollToFilter()}catch(t){delete o.groups,delete o.providers,delete o.themes,delete o.title,this.props.history.push(a+(0,P.Z)(o)+e.hash)}else if(i){const e=this.indexingMap[i];e&&(0,g.PS)((()=>{z.clearFilter(),z.toggleEntity(e[0],e[1],!0),z.scrollToFilter()}))}else z.clearFilter()}})),Z.createElement(L.Z,{deps:[this.groups,this.providers,this.themes,this.title,z.availableSuppliersMap.size]},(()=>{if(z.availableSuppliersMap.size){const p=(0,k.Z)(e.search),r={};if(delete p.groups,delete p.providers,delete p.themes,delete p.title,this.groups&&(r.groups=this.groups),this.providers&&(r.providers=this.providers),this.themes&&(r.themes=this.themes),this.title&&(r.title=this.title),this.notFirstRendering.current){var t,s,i;const e=this.indexingMap,o=(0,P.Z)({...p,...r}),l=(null===(t=r.groups)||void 0===t?void 0:t.split(this.separator))||[],g=(null===(s=r.providers)||void 0===s?void 0:s.split(this.separator))||[],u=(null===(i=r.themes)||void 0===i?void 0:i.split(this.separator))||[],n=[].concat(l,g,u),m=a.split("/").slice(0,2).join("/");let d=m+o;if(1===n.length)for(const t in e)e[t][1]===n[0]&&(d=m+"/"+t);window.location.pathname+window.location.search!==d&&this.props.history.replace(d)}else{if(this.indexedFilterName){this.filterByIndexedLink()||this.props.history.push(a.replace(this.indexedFilterName,""))}this.notFirstRendering.current=1}}})))}},(0,l.Z)(w.prototype,"indexingMap",[g.Fl],Object.getOwnPropertyDescriptor(w.prototype,"indexingMap"),w.prototype),b=w))||b)||b;const O=z},LcZL:(e,t,a)=>{a.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var s=a("apwx");const __WEBPACK_DEFAULT_EXPORT__=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21,a=NaN;return e.constructor&&"Root"===e.constructor.name&&(0,s.Z)(e,"profile.details.birthDate")&&(a=e.item("profile").item("details").item("birthDate")),e.constructor&&"String"===e.constructor.name&&(a=e),new Date(new Date-ne
1w Date(a)).getFullYear()-1970||t}}}]); 2//# sourceMappingURL=8418.f323ecb2.chunk.js.map
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.