1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8024],{50605:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[slug]",function(){return n(83363)}])},20987:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(85893),o=n(67294),l=n(37162),r=n.n(l),i=n(14640),s=n(23856);function c(e){let{content:t}=e,[n,l]=(0,o.useState)(!1),c=(0,i.useTranslations)();return(0,a.jsxs)("div",{className:n?r().activeWrapper:r().wrapper,style:{overflowAnchor:"auto"},children:[(0,a.jsx)("div",{className:n?r().activeSubWrapper:r().subWrapper,style:{overflow:"hidden"},children:(0,a.jsx)("div",{className:"seo-content-area",dangerouslySetInnerHTML:{__html:(0,s.z)(t)}})}),(0,a.jsx)("div",{className:n?r().activeShowMoreSection:r().showMoreSection,children:(0,a.jsx)("span",{className:r().showMoreText,onClick:()=>{l(e=>!e)},children:c(n?"common.show_less":"common.show_more")})})]})}},53497:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(85893),o=n(86512),l=n(23699),r=n(2464),i=n(5152);let s=n.n(i)()(()=>n.e(9283).then(n.bind(n,19283)),{loadableGenerated:{webpack:()=>[19283]},ssr:!0});function c(e){let{viewport:t,list:n,withPagination:i,totalPage:c=0,isLoading:u=!0}=e,{currentPage:d,setActivePage:m,buildPageHref:p}=(0,r.Z)(),g=t===l.A.mobile;return(null==n?void 0:n.length)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:g?"grid grid-cols-2 gap-3 w-full mb-10 text-white game-or-category-list":"flex flex-wrap w-full gap-4 mb-10 text-white game-or-category-list",children:n.map((e,t)=>(0,a.jsx)(o.Z,{item:e,mode:"detail",width:g?"100%":224,showLabel:!g},"cb-".concat(e.slug,"-").concat(t)))}),i&&c>1&&(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)(s,{currentPage:d,pageCount:c,onChange:m,buildHref:p,disabled:u})})]}):(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center flex-1 w-full h-full gap-2",children:[(0,a.jsx)("h6",{className:"text-xl font-bold text-white",children:"No Record"}),(0,a.jsx)("span",{className:"text-white text-opacity-60",children:"No results found according to criteria"})]})}},2464:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var a=n(39332),o=n(11163),l=n(67294);function r(e){let{pageParamKey:t="page"}=e||{},n=(0,a.useSearchParams)(),r=(0,a.usePathname)(),i=(0,a.useRouter)(),s=(0,o.useRouter)(),c=(0,l.useMemo)(()=>{let e=parseInt((null==n?void 0:n.get(t))||"");return isNaN(e)&&(e=1),e},[t,n]);return{params:n,pathname:r,router:i,currentPage:c,setActivePage:e=>{let a=new URLSearchParams(n);a.set(t,e.toString()),i.push("".concat(r,"?").concat(a.toString()))},buildPageHref:(0,l.useCallback)(e=>{let[n,a=""]=(s.asPath||"/").split("?"),o=new URLSearchParams(a);e<=1?o.delete(t):o.set(t,e.toString());let l=s.locale&&s.locale!==s.defaultLocale?"/".concat(s.locale):"",r=l&&(n===l||n.startsWith("".concat(l,"/")))?n:"".concat(l).concat(n),i=o.toString();return i?"".concat(r,"?").concat(i):r},[s.asPath,s.locale,s.defaultLocale,t])}}},83363:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return S},default:function(){return y}});var a=n(85893),o=n(69929),l=n(56673),r=n(20987),i=n(53497),s=n(90889),c=n(2464),u=n(78134),d=n(4645),m=n(95738),p=n(10777),g=n(24139),h=n(14640),f=n(31457),w=n(67294),x=n(11163),_=n(11341),v=n(53670),S=!0;function y(e){let{page:t,seo:n,slug:S}=e,y=(null==n?void 0:n.meta_title)||(null==n?void 0:n.title)||"",j=(null==n?void 0:n.description)||"",b=(null==n?void 0:n.meta_description)||String((null==n?void 0:n.description)||"").replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim().slice(0,155),N=(null==n?void 0:n.keywords)||"",{currentPage:P}=(0,c.Z)(),{device:L}=(0,s.Z)(),{data:M,isFetching:T,isLoading:k}=(0,p.a)({queryKey:(0,u.KS)(S,{currentPage:P}),queryFn:(0,u.l5)(S,{currentPage:P}),placeholderData:g.Wk,staleTime:6e5,gcTime:6e5}),Z=(null==M?void 0:M.data)||{},C=Array.isArray(null==Z?void 0:Z.games)?null==Z?void 0:Z.games:[],R=k||T,W=(0,h.useTranslations)(),F=(0,h.useLocale)(),I=(0,d.GR)((0,d.KQ)(S),F),E=(null==Z?void 0:Z.image_url)||"";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f.Z,{title:y,description:b,openGraph:{type:"website",url:I,title:y,description:b,...E?{images:[{url:E}]}:{}}
1,additionalMetaTags:[{name:"keywords",content:N},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:url",content:I},{name:"twitter:title",content:y},{name:"twitter:description",content:b},{name:"twitter:image",content:E}]}),(0,a.jsxs)("div",{className:"flex flex-col gap-6 px-[24px] py-[30px] s_1200:p-10 w-full",children:[(0,a.jsx)(()=>{let e=(0,w.useMemo)(()=>y?{"@context":"https://schema.org","@type":"CollectionPage","@id":"".concat(I,"/#webpage"),name:y,url:I,inLanguage:F,description:b||y,publisher:{"@type":"Organization",name:"Coconut Games",url:"https://www.coconutgames.com/",logo:{"@type":"ImageObject",url:"https://www.coconutgames.com/img/app/mini-logo.png"}},...C.length?{mainEntity:{"@type":"ItemList",numberOfItems:C.length,itemListElement:C.slice(0,20).map((e,t)=>({"@type":"ListItem",position:t+1,name:null==e?void 0:e.title,url:(0,d.GR)((0,_.B)({locale:F,...(0,d.np)((null==e?void 0:e.slug)||"")})||"/game/".concat((null==e?void 0:e.slug)||""),F)}))}}:{}}:null,[y,b,I,F,C]);return e?(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,m.B)(e)}}):null},{}),(0,a.jsx)(()=>{let e=(0,x.useRouter)(),t=(0,w.useMemo)(()=>{if(!Z&&!y)return null;let t=e.asPath,n=(null==Z?void 0:Z.category)||y;return(0,v.iR)(t,F,n)},[e.asPath,F,Z,y]);return t?(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,m.B)(t)}}):null},{}),(0,a.jsxs)("h1",{className:"flex items-center gap-2.5 text-white font-black text-2xl leading-[1.875rem]",children:[null==Z?void 0:Z.category,R&&(0,a.jsx)(l.Z,{className:"w-5 h-5"})]}),(0,a.jsxs)("div",{className:"flex text-xs md:text-base items-center gap-2 text-[#C3C5CB]",children:[(0,a.jsx)(o.Z,{href:"/",children:W("common.home")}),(0,a.jsx)("span",{children:"/"}),null==Z?void 0:Z.category]}),(0,a.jsx)(i.Z,{viewport:L,list:C,withPagination:!0,totalPage:(null==M?void 0:M.last_page)||0,isLoading:R})]}),(null==j?void 0:j.length)>0&&"1"===t?(0,a.jsx)(r.Z,{content:j}):null]})}},23856:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var a=n(91036),o=n.n(a);let l={...o().defaults.allowedAttributes,"*":["class"],a:["href","name","target","rel"],img:["src","srcset","alt","title","width","height","loading"]};function r(e){return"string"==typeof e&&e?o()(e,{allowedTags:o().defaults.allowedTags.concat(["img"]),allowedAttributes:l,allowedSchemes:["http","https","mailto","tel"],allowProtocolRelative:!1,enforceHtmlBoundary:!0,transformTags:{a:(e,t)=>({tagName:"a",attribs:{...t,..."_blank"===t.target?{rel:"noopener noreferrer"}:{}}})}}):""}},37162:function(e){e.exports={wrapper:"SeoFooterSection_wrapper__ziR_S",activeWrapper:"SeoFooterSection_activeWrapper__l7LS_",subWrapper:"SeoFooterSection_subWrapper__ngq9u",activeSubWrapper:"SeoFooterSection_activeSubWrapper__OJ2kG",showMoreSection:"SeoFooterSection_showMoreSection__681PN",showMoreText:"SeoFooterSection_showMoreText__tz4hc",activeShowMoreSection:"SeoFooterSection_activeShowMoreSection__64BxX"}},75347:function(){},31777:function(){},34017:function(){},59905:function(){}},function(e){e.O(0,[1036,8670,2888,9774,179],function(){return e(e.s=50605)}),_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.