PageSourceSearch

https://static.gameloop.com/gameloop_web/_next/static/chunks/pages/game/editor-choice-86b28f006006a0e8.js

js gameloop.com collected 2026-10-02 07:00:20 UTC 6,383 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6515],{8883:function(e,t,n){"use strict";var r=n(29),a=n(9499),i=n(7794),o=n.n(i),c=n(7294),s=n(3439),u=n(6853),l=n.n(u),p=n(1297),d=n(4753),g=n(8220),_=n(4269),f=n(1163),m=n(7548),b=n(6671),v=n(5893);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){(0,a.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var y=function(e){var t=e.tagName,n=e.type,r=(0,b.$G)().t;if(!t)return null;var a=r(n===_.U8.YES?"Games":"Apps");return(0,v.jsxs)("h1",{className:l().titleTag,children:[r(t),n&&" ".concat(a)]})},P=function(e){return(0,v.jsx)(p.F,O(O({},e),{},{loadingType:e.index<10?"eager":"lazy",className:l().gameItem,scene:"list","dt-eid":d.JJ[e.pageId].card,buttonReport:{"dt-eid":d.JJ[e.pageId].download},classNameMap:{icon:+e.game_type===_.D$.STEAM?l().steamGameIcon:""}}))},j="";t.Z=function(e){var t,n,a=e.itemData,i=e.pageId,u=e.listTitle,p=(0,c.useState)(a||[]),d=p[0],b=p[1],h=(0,c.useState)(!1),N=h[0],x=h[1],I=(0,f.useRouter)().query,w=I.tag,S=I.company,E=(0,m.h)({pageSize:10,totalCount:(null==a?void 0:null===(t=a[0])||void 0===t?void 0:t.total_cnt)||10,className:l().pagination}),L=(0,c.useCallback)(function(){return w?(j=_.qY.GAMELOOP_MOBILE_GAME_TAG,{gp_tagid_name:{repStr:[w]}}):S?(j=_.qY.GAMELOOP_MOBILE_COMPANY_GAME_LIST_1,{cp:{repStr:[S]}}):{}},[S,w])(),k=(0,c.useCallback)((0,r.Z)(o().mark(function e(){var t,n,r,a,i;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.x)({sceneName:_.vX.RANK_LIST,requestData:{listI:{offset:{repInt:[d.length]}},listS:O({type:{repStr:["default"]}},L),layout:j}});case 2:if(!(null!==(t=(r=e.sent).data)&&void 0!==t&&null!==(n=t.components[0].data)&&void 0!==n&&n.itemData)){e.next=5;break}return e.abrupt("return",null===(a=r.data)||void 0===a?void 0:null===(i=a.components[0].data)||void 0===i?void 0:i.itemData);case 5:return e.abrupt("return",[]);case 6:case"end":return e.stop()}},e)})),[d.length,L]),A=(0,c.useCallback)((0,r.Z)(o().mark(function e(){var t;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==j){e.next=3;break}return x(!1),e.abrupt("return");case 3:return e.next=5,k();case 5:t=e.sent,b(d.concat(t)),0===t.length&&x(!1);case 8:case"end":return e.stop()}},e)})),[d,k]);return(0,v.jsxs)("div",{className:l().container,children:[u?(0,v.jsx)("h1",{className:l().titleTag,children:u}):(0,v.jsx)(y,{tagName:w,type:null==d?void 0:null===(n=d[0])||void 0===n?void 0:n.is_game}),(0,v.jsx)(s.$,{hasNextPage:N,items:d,loadNextPage:A,renderItem:P,pageId:void 0===i?"":i}),E]})}},7548:function(e,t,n){"use strict";n.d(t,{h:function(){return b}});var r=n(9632),a=n(9499),i=n(4184),o=n.n(i),c=n(4104),s=n(1163),u=n(7294),l=n(262),p=n.n(l),d=n(5893);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,a.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var f="DOTS",m=function(e,t){return Array.from({length:t-e+1},function(t,n){return n+e})},b=function(e){var t=(0,s.useRouter)(),n=t.query,r=t.asPath,a=parseInt((n.page||"1").toString(),10)||1,i=Math.min(e.totalCount,Number.POSITIVE_INFINITY);return(0,d.jsx)(v,_(_({currentPage:a,onPageChange:function(e){return"".concat(r.split("?")[0],"?page=").concat(e)}},e),{},{totalCount:i}))},v=function(e){var t=e.currentPage,n=e.pageSize,i=e.totalCount,s=e.siblingCount,l=void 0===s?1:s,g=e.onPageChange,_=e.className,b=(0,u.useMemo)(function(){var e=Math.ceil(i/n);if(l+5>=e)return m(1,e);var a=Math.max(t-l,1),o=Math.min(t+l,e),c=a>2,s=o<e-2;if(!c&&s){var u=m(1,3+2*l);return[].concat((0,r.Z)(u),[f,e])}if(c&&!s){var p=m(e-(3+2*l)+1,e);return[1,f].concat((0,r.Z)(p))}if(c&&s){var d=m(a,o);return[1,f].concat((0,r.Z)(d),[f,e])}return[]},[t,n,l,i]);if(0===t||b.length<2)return null;var v=b[b.length-1],h=1===t,O=t===v;return(0,d.jsxs)("ul",{className:o()(p().pagination,_),children:[(0,d.jsx)("li",{className:o()(p().prev,(0,a.Z)({},p().disable,h)),children:(0,d.jsx)(c.r,{rel:"prev",className:p().arrowLink,"aria-disabled":h,href:h?void 0:g(t-1)})}),b.map(function(e,n){return e===f?(0,d.jsx)("li",{className:p().dots,children:"..."},e+n):(0,d.jsx)("li",{className:o()(p().paginationItem,(0,a.Z)({},p().selected,e===t)),children:(0,d.jsx)(c.r,{className:p().paginationNumber,href:g(e),children:e})},e)}),(0,d.jsx)("li",{className:o()(p().next,(0,a.Z)({},p().disable,O)),children:(0,d.jsx)(c.r,{rel:"next",className:p().arrowLink,"aria-disabled":O,href:O?void 0:g(t+1)})})]})}},6744:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return o}}),n(7294);var r=n(5964),a=n(8883),i=n(5893),o=!0;t.default=function(e){var t=e.dynamicLayoutData,n=e.error;return(0,i.jsx)(r.H,{style:{marginTop:0},ComponentList:{AppList:a.Z},DynLayoutResponseData:t,Error:n})}},8019:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/game/editor-choice",function(){return n(6744)}])},6853:function(e){e.exports={container:"AppList_container__FleCn",titleTag:"AppList_titleTag__UA4Rd",gameItem:"AppList_gameItem__IQ6vb",steamGameIcon:"AppList_steamGameIcon__yMIRl"}},262:function(e){e.exports={pagination:"Pagination_pagination__hR6tq",paginationItem:"Pagination_paginationItem__F_0NK",selected:"Pagination_selected__b_SXC",paginationNumber:"Pagination_paginationNumber___Qcom",dots:"Pagination_dots__mV8YI",prev:"Pagination_prev__x3tGt",next:"Pagination_next__HJH6q",arrowLink:"Pagination_arrowLink__5NAtx",disable:"Pagination_disable__lVBce"}}},function(e){e.O(0,[2540,452,9774,2888,179],function(){return e(e.s=8019)}),_N_E=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.