PageSourceSearch

https://www.50gameslike.com/build/multiselect.08239bc4.js

js 50gameslike.com collected 2026-10-03 19:40:30 UTC 1,909 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[95,859],{3859:(e,n,t)=>{t.r(n);t(5827),t(1539),t(8674),t(7658),t(7042),t(4986),t(9554),t(4747),t(9600);var l=t(9466),a={en:"/api/types/",fr:"/fr/api/types/",de:"/de/api/types/"},c={en:"Pick at least one genre",fr:"Choisissez au moins un genre",de:"Wählen Sie mindestens ein Genre aus"},o={en:"/best-games-by-type/",fr:"/fr/meilleur-jeux-par-type/",de:"/de/beste-spiele-nach-genre/"};function r(e){var n=e.reduce((function(e,n){return e?e+"--"+n.value:n.value}),"");fetch(a[document.documentElement.lang]+n).then((function(e){return e.json()})).then((function(n){for(var t="all"==e[0].value?[]:e,l=0;l<n.length;l++){var a=n[l][0],c=n[l][1],o=n[l][2];t.push({value:a,text:c.charAt(0).toUpperCase()+c.slice(1)+" ("+o+")"})}u.setData(t)})).catch((function(e){console.log(e)}))}var u=new l.Z({select:"#genre-select",placeholder:c[document.documentElement.lang],beforeOpen:function(){0!=u.data.data.length&&0!=u.selected().length||r([{value:"all"}])},onChange:function(e){r(e)}});if(document.getElementById("news-genre-select")){var s=new l.Z({select:"#news-genre-select",placeholder:c[document.documentElement.lang],beforeOpen:function(){0!=s.data.data.length&&0!=s.selected().length||r([{value:"all"}])}});if(s){var i=window.location.href.substring(window.location.href.lastIndexOf("/")+1).split("--");i&&s.setSelected(i)}}document.querySelectorAll(".game-genre-get").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var n=u.selected();window.location.href=o[document.documentElement.lang]+encodeURIComponent(n.join("--"))}))})),document.querySelectorAll(".news-genre-get").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var n=s.selected();window.location.href="/news/by-type/"+encodeURIComponent(n.join("--"))}))}))}},e=>{e.O(0,[823,987],(()=>{return n=3859,e(e.s=n);var n}));e.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.