1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3801,5535,5581,8791,20696,27962,31172,33035,50343,50601,53553,64029,72724,75934,86410,98315],{3801:(e,t,r)=>{r.r(t),r.d(t,{BlogListScroll:()=>u});var l=r(37876),n=r(22507),s=r(95498),i=r(14969),a=r(79547),o=r(14232),c=r(5535);let u=e=>{let{posts:t}=e,{locale:r,NOTION_CONFIG:u}=(0,s.PC)(),[d,h]=(0,o.useState)(1),f=(0,n.CQ)("POSTS_PER_PAGE",null,u),m=!1,g=t&&Array.isArray(t)?(0,i.deepClone)(t).slice(0,f*d):[];t&&(m=d*f<t.length);let p=()=>{m&&h(d+1)},v=(0,o.useRef)(null),E=(0,o.useCallback)((0,a.A)(()=>{window.scrollY+window.outerHeight>(v&&v.current?v.current.clientHeight:0)+100&&p()},500));return(0,o.useEffect)(()=>(window.addEventListener("scroll",E,{passive:!0}),()=>{window.removeEventListener("scroll",E)})),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:"posts-wrapper",className:"my-4",ref:v,children:(0,l.jsx)(c.GameListIndexCombine,{posts:g})}),(0,l.jsxs)("div",{onClick:p,className:"w-full my-4 py-4 text-center cursor-pointer ",children:[" ",m?r.COMMON.MORE:"".concat(r.COMMON.NO_MORE," \uD83D\uDE30")," "]})]})}},5535:(e,t,r)=>{r.r(t),r.d(t,{GameListIndexCombine:()=>d});var l=r(37876),n=r(85574),s=r(5581),i=r(22507),a=r(14969),o=r(33035),c=r(14232),u=r(50601);let d=e=>{let{posts:t}=e,r=(0,a.deepClone)(t),n=[],s=(0,i.CQ)("GAME_INDEX_EXPAND_RECOMMEND",!0,u.default),o=0;if(s){let e=[];for(;(null==r?void 0:r.length)>0;){if(++o%9==0){n.push((0,l.jsx)(h,{},o));continue}for(;(null==r?void 0:r.length)>0&&e.length<4;){var c;let t=r.shift();if(o++,null==(c=t.tags)?void 0:c.some(e=>e===(0,i.CQ)("GAME_RECOMMEND_TAG","Recommend",u.default))){n.push((0,l.jsx)(m,{item:t,isLargeCard:!0},o));continue}e.push(t)}if(4===e.length)n.push((0,l.jsx)(f,{items:e},o)),e=[];else for(;e.length>0;){let t=e.shift();o++,n.push((0,l.jsx)(m,{item:t,isLargeCard:!0},o++))}}}else for(;(null==r?void 0:r.length)>0;)if(++o%6==0)n.push((0,l.jsx)(h,{},o));else if(o%2==0&&(null==r?void 0:r.length)>=4){let e=[];for(let t=1;t<=4;t++)e.push(r.shift());n.push((0,l.jsx)(f,{items:e},o))}else{let e=r.shift();n.push((0,l.jsx)(m,{item:e,isLargeCard:!0},o))}return(0,l.jsx)("div",{className:"game-list-wrapper flex justify-center w-full",children:(0,l.jsx)("div",{className:"game-grid mx-auto w-full h-full grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3 px-2 md:p-0",children:null==n?void 0:n.map((e,t)=>e)})})},h=()=>(0,l.jsxs)("div",{className:"card-group relative rounded-lg game-ad h-80 w-full overflow-hidden",children:[(0,l.jsx)(n.AdSlot,{type:"flow"}),(0,l.jsxs)("div",{className:"absolute left-0 right-0 w-full h-full flex flex-col justify-center items-center bg-white",children:[(0,l.jsx)("p",{className:"text-2xl",children:(0,i.CQ)("TITLE")}),(0,l.jsx)("p",{children:(0,i.CQ)("DESCRIPTION")})]})]}),f=e=>{let{items:t}=e;return(0,l.jsx)("div",{className:"card-group h-80 w-full grid grid-cols-2 grid-rows-2 gap-3",children:t.map((e,t)=>(0,l.jsx)(m,{item:e},t))})},m=e=>{var t;let{item:r,isLargeCard:n}=e,{title:i}=r,a=r.pageCoverThumbnail,[u,d]=(0,c.useState)("img"),h=null==r||null==(t=r.ext)?void 0:t.video;return(0,l.jsxs)(o.A,{title:i,href:"".concat(null==r?void 0:r.href),className:"card-single ".concat(n?"h-80 ":"h-full text-xs"," w-full transition-all duration-200 shadow-md md:hover:scale-105 md:hover:shadow-lg relative rounded-lg overflow-hidden flex justify-center items-center\n group hover:border-purple-400"),onMouseOver:()=>{d("video")},onMouseOut:()=>{d("img")},children:[(0,l.jsx)("div",{className:"text-center absolute bottom-0 invisible group-hover:bottom-2 group-hover:visible transition-all duration-200 text-white z-30",children:i}),(0,l.jsx)("div",{className:"h-2/3 w-full absolute left-0 bottom-0 z-20 opacity-0 group-hover:opacity-75 transition-all duration-200",children:(0,l.jsx)("div",{className:"h-full w-full absolute bg-gradient-to-b from-transparent to-black"})}),"video"===u&&(0,l.jsx)("video",{className:"z-10 object-cover w-full ".concat(n?"h-80":"h-full"," absolute overflow-hidden"),loop:"true",autoPlay:!0,preload:"none",children:(0,l.jsx)("source",{src:h,type:"video/mp4"})}),(0,l.jsx)(s.A,{className:"w-full h-full absolute object-cover group-hover:scale-105 duration-100 transition-all",src:a,priority:!0,alt:i,fill:"full"})]})}},5581:(e,t,r)=>{r.d(t,{A:()=>
1o});var l=r(37876),n=r(22507),s=r(77328),i=r.n(s),a=r(14232);function o(e){let{priority:t,id:r,src:s,alt:o,fallbackSrc:u,placeholderSrc:d,className:h,width:f,height:m,title:g,onLoad:p,onClick:v,style:E,loading:w}=e,x=((e,t)=>{let r=Number(e),l=Number(t);return Number.isFinite(r)&&r>0?Number.isFinite(l)&&l>0?Math.min(r,l):r:t})(f,(0,n.CQ)("IMAGE_COMPRESS_WIDTH")),_=(0,n.CQ)("IMG_LAZY_LOAD_PLACEHOLDER"),N=(0,a.useRef)(null),[A,M]=(0,a.useState)(t&&s?c(s,x):d||_),[b,j]=(0,a.useState)(!!(t&&s)),C=(0,a.useCallback)(()=>{N.current&&(N.current.src!==u&&u?N.current.src=u:N.current.src!==d&&d?N.current.src=d:N.current.src=_,j(!0),N.current.classList.remove("lazy-image-placeholder"))},[_,u,d]);(0,a.useEffect)(()=>{let e=c(s,x)||_,r=N.current,l=()=>{"function"==typeof p&&p(),j(!0),N.current&&N.current.classList.remove("lazy-image-placeholder")};if(t||!window.IntersectionObserver){let t=new Image;t.src=e,t.onload=()=>{M(e),l(e)},t.onerror=C;return}let i=new IntersectionObserver(t=>{t.forEach(t=>{if(t.isIntersecting){let r=new Image;"decoding"in r&&(r.decoding="async"),r.src=e,r.onload=()=>{M(e),l(e)},r.onerror=C,i.unobserve(t.target)}})},{rootMargin:(0,n.CQ)("LAZY_LOAD_THRESHOLD","200px"),threshold:.1});return r&&i.observe(r),()=>{r&&i.unobserve(r)}},[s,x,t,_,u,C,p,d]);let O={ref:N,src:A,"data-src":s,alt:o||"Lazy loaded image",onLoad:()=>{},onError:C,className:"".concat(h||"").concat(b?"":" lazy-image-placeholder"),style:{aspectRatio:f&&m?"".concat(f," / ").concat(m):void 0,containIntrinsicSize:f||m?void 0:"300px 200px",...E},onClick:v,loading:t?"eager":w||"lazy",decoding:"async",...(0,n.CQ)("WEBP_SUPPORT")&&{"data-webp":!0},...(0,n.CQ)("AVIF_SUPPORT")&&{"data-avif":!0}};return(r&&(O.id=r),g&&(O.title=g),f&&(O.width=f),m&&(O.height=m),t&&(O.fetchpriority="high"),s)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("img",{alt:O.alt,...O}),t&&(0,l.jsx)(i(),{children:(0,l.jsx)("link",{rel:"preload",as:"image",href:c(s,x),fetchpriority:"high"})})]}):null}let c=(e,t)=>{var r,l;if(!e)return null;let n=(null==(l=window)||null==(r=l.screen)?void 0:r.width)||t,s=Number(t),i=Number.isFinite(s)&&s>0?Math.min(n,s):n;return i?e.replace(/width=\d+/,"width=".concat(i)).replace(/w=\d+/,"w=".concat(i)):e}},33035:(e,t,r)=>{r.d(t,{A:()=>a});var l=r(37876),n=r(48230),s=r.n(n),i=r(22507);let a=e=>{let{href:t,children:r,...n}=e,a=(0,i.CQ)("LINK"),o="";"string"==typeof t?o=t:"object"==typeof t&&null!==t&&"string"==typeof t.pathname&&(o=t.pathname);let c=o.startsWith("http")&&!o.startsWith(a),u=()=>{var e;let t=new URLSearchParams((null==(e=window.location.search)?void 0:e.slice(1))||""),r={};for(let[e,l]of t.entries())""!==l&&(r[e]=l);return r};if(c){let e="string"==typeof t?t:new URL(t.pathname,a).toString();return(0,l.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...(e=>{let{passHref:t,legacyBehavior:r,placeholderSrc:l,fallbackSrc:n,...s}=e;return s})(n),children:r})}let d="string"==typeof t?(e=>{if("string"!=typeof e||!e||e.startsWith("#"))return e;let t=u();if(0===Object.keys(t).length)return e;let r=e.startsWith("http://")||e.startsWith("https://"),l=new URL(e,a);return(Object.entries(t).forEach(e=>{let[t,r]=e;l.searchParams.has(t)||l.searchParams.set(t,r)}),r)?l.toString():"".concat(l.pathname).concat(l.search).concat(l.hash)})(t):(e=>{if(!e||"object"!=typeof e)return e;let t=u();return 0===Object.keys(t).length?e:{...e,query:{...t,...e.query||{}}}})(t);return(0,l.jsx)(s(),{href:d,...(e=>{let{placeholderSrc:t,fallbackSrc:r,src:l,alt:n,width:s,height:i,loading:a,decoding:o,onLoad:c,onError:u,...d}=e;return d})(n),children:r})}},50601:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});let l={GAME_COLOR_BG:"#ffffff",GAME_COLOR_SCROLLBAR:"#4e4e4e",GAME_COLOR_PRIMARY:"#22c55e",GAME_NAV_NOTION_ICON:!0,GAME_RECOMMEND_TAG:"Recommend",GAME_INDEX_EXPAND_RECOMMEND:!0,GAME_MENU_RANDOM_POST:!0,GAME_MENU_SEARCH_BUTTON:!0,GAME_MENU_CATEGORY:!1,GAME_MENU_TAG:!0,GAME_MENU_ARCHIVE:!1,GAME_MENU_SEARCH:!0,GAME_MENU_RSS:!1}},79547:(e,t,r)=>{r.d(t,{A:()=>l});function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=null,l=0,n=null;return function(){for(var s=arguments.length,i=Array(s),a=0;a<s;a++)i[a]=arguments[a];let o=Date.now(),c=t-(o-l);if(n=i,c<=0){r&&(clearTimeout(r),r=null),l=o,e(...n),n=null;return}r||(r=setTimeout(()=>{r=null,l=Date.now(),n&&(e(...n),n=null)},c))}}}}]);
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.