(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8421],{50796:function(e,t,i){Promise.resolve().then(i.bind(i,610))},66648:function(e,t,i){"use strict";i.d(t,{default:function(){return n.a}});var a=i(55601),n=i.n(a)},20357:function(e,t,i){"use strict";var a,n;e.exports=(null==(a=i.g.process)?void 0:a.env)&&"object"==typeof(null==(n=i.g.process)?void 0:n.env)?i.g.process:i(88081)},88081:function(e){!function(){var t={229:function(e){var t,i,a,n=e.exports={};function r(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(i){try{return t.call(null,e,0)}catch(i){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{i="function"==typeof clearTimeout?clearTimeout:l}catch(e){i=l}}();var o=[],c=!1,g=-1;function m(){c&&a&&(c=!1,a.length?o=a.concat(o):g=-1,o.length&&u())}function u(){if(!c){var e=s(m);c=!0;for(var t=o.length;t;){for(a=o,o=[];++g<t;)a&&a[g].run();g=-1,t=o.length}a=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===l||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function f(){}n.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];o.push(new d(e,t)),1!==o.length||c||s(u)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw Error("process.chdir is not supported")},n.umask=function(){return 0}}},i={};function a(e){var n=i[e];if(void 0!==n)return n.exports;var r=i[e]={exports:{}},l=!0;try{t[e](r,r.exports,a),l=!1}finally{l&&delete i[e]}return r.exports}a.ab="//";var n=a(229);e.exports=n}()},55601:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{default:function(){return o},getImageProps:function(){return s}});let a=i(51609),n=i(80497),r=i(38173),l=a._(i(21241));function s(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let o=r.Image},610:function(e,t,i){"use strict";i.d(t,{SectionGame:function(){return s}});var a=i(57437),n=i(51868),r=i(64670),l=i(44718);let s=e=>(0,a.jsx)("div",{className:"relative z-0 w-full flex flex-col min-h-[30rem] max-w-[100vw] mb-10",children:(0,a.jsxs)("div",{className:"flex flex-col p-5",children:[(0,a.jsx)("div",{className:"flex items-center justify-center h-32 text-4xl font-bold text-center text-slate-blue-50 drop-shadow-xl",children:"เกมยอดนิยม"}),(0,a.jsxs)("div",{className:"grid items-center justify-center max-w-2xl grid-cols-4 gap-5 mx-auto",children:[(0,a.jsx)(o,{url:"https://makhos.gameindy.com",img:"/images/game/makhos.png",alt:"Makhos Online หมากฮอส ขั้นเทพ ออนไลน์",title:"หมากฮอส"}),(0,a.jsx)(o,{url:"https://dummy.gameindy.com",img:"/images/game/dummy.png",alt:"Dummy ดัมมี่ทุย",title:"ดัมมี่"}),(0,a.jsx)(o,{img:"/images/game/dota2.png",alt:"Dota 2",title:"Dota 2"}),(0,a.jsx)(o,{img:"/images/game/lol.png",alt:"League of Legends",title:"League of Legends"}),(0,a.jsx)(o,{img:"/images/game/valorant.png",alt:"Valorant",title:"Valorant"}),(0,a.jsx)(o,{img:"/images/game/apex.png",alt:"Apex Legends",title:"Apex Legends"}),(0,a.jsx)(o,{img:"/images/game/rov.png",alt:"RoV: Arena of Valor",title:"RoV: Arena of Valor"}),(0,a.jsx)(o,{img:"/images/game/pubg.png",alt:"PUBG: BATTLEGROUNDS",title:"PUBG: BATTLEGROUNDS"}),void 0===e.limit&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{img:"/images/game/tft.png",alt:"TFT: Teamfight Tactics",title:"TFT: Teamfight Tactics"}),(0,a.jsx)(o,{img:"/images/game/dbd.png",alt:"Dead by Daylight",title:"Dead by Daylight"}),(0,a.jsx)(o,{img:"/images/game/rb6.png",alt:"Tom Clancy's Rainbow Six Siege",title:"Tom Clancy's Rainbow Six Siege"}),(0,a.jsx)(o,{img:"/images/game/naraka.png",alt:"NARAKA: BLADEPOINT",title:"NARAKA: BLADEPOINT"}),(0,a.jsx)(o,{img:"/images/game/street_fighter6.png",alt:"Street Fighter",title:"Street Fighter"}),(0,a.jsx)(o,{img:"/images/game/tekken8.png",alt:"TEKKEN",title:"TEKKEN"}),(0,a.jsx)(o,{img:"/images/game/freefire.png",alt:"Free Fire",title:"Free Fire"}),(0,a.jsx)(o,{img:"/images/game/gtav.png",alt:"Grand Theft Auto V",title:"Grand Theft Auto V"}),(0,a.jsx)(o,{img:"/images/game/fivem.png",alt:"Five M",title:"Five M"}),(0,a.jsx)(o,{img:"/images/game/partyanimals.png",alt:"Party Animals",title:"Party Animals"}),(0,a.jsx)(o,{img:"/images/game/nbainfinite.png",alt:"NBA Infinite",title:"NBA Infinite"}),(0,a.jsx)(o,{img:"/images/game/paravox.png",alt:"Paravox",title:"Paravox"}),(0,a.jsx)(o,{img:"/images/game/mobilelegends.png",alt:"Mobile Legends: Bang Bang",title:"Mobile Legends: Bang Bang"}),(0,a.jsx)(o,{img:"/images/game/chesswar2.png",alt:"Chesswar2",title:"Chesswar2"}),(0,a.jsx)(o,{img:"/images/game/splendor.png",alt:"Splendor",title:"Splendor"}),(0,a.jsx)(o,{img:"/images/game/twilight_imperium_fourth_edition.png",alt:"Twilight Imperium Fourth Edition",title:"Twilight Imperium Fourth Edition"}),(0,a.jsx)(o,{img:"/images/game/terra_mystica.png",alt:"Terra Mystica",title:"Terra Mystica"}),(0,a.jsx)(o,{img:"/images/game/gaia_project.png",alt:"Gaia Project",title:"Gaia Project"}),(0,a.jsx)(o,{img:"/images/game/age_of_innovation.png",alt:"Age of Innovation",title:"Age of Innovation"})]})]}),void 0!==e.limit&&(0,a.jsx)(l.XLink,{href:"/game",children:(0,a.jsx)(r.Button,{className:"mx-auto mt-5 mb-10 w-fit",type:"secondary",children:"ดูทั้งหมด"})})]})}),o=e=>{let t=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{src:e.img,alt:e.alt,width:200,height:280,className:"w-full rounded-lg"}),(0,a.jsx)("div",{className:"flex items-center justify-center h-10 p-2 overflow-hidden leading-4 text-center text-gray-300 rounded-b-lg max-h-10",children:e.title})]});return void 0!==e.url?(0,a.jsx)(l.XLink,{href:e.url,target:"blank",className:"w-full",children:t}):(0,a.jsx)("div",{className:"w-full",children:t})}},64670:function(e,t,i){"use strict";i.d(t,{Button:function(){return r}});var a=i(57437),n=i(96164);let r=e=>{let t="primary"===e.type||void 0===e.type,i="secondary"===e.type,r="outline"===e.type,l="footer-action"===e.type;return(0,a.jsxs)("button",{disabled:e.disabled,className:(0,n.m6)("relative z-10 px-4 flex h-[36px] overflow-hidden uppercase","justify-center items-center rounded-xl select-none font-medium","cursor-pointer outline-none focus:outline-none","disabled:touch-none disabled:pointer-events-none",t&&"text-slate-blue-50 bg-gradient-to-r from-slate-blue-600 to-slate-blue-500 hover:from-slate-blue-500 hover:to-slate-blue-400",i&&"text-slate-50 bg-gradient-to-r from-slate-600 to-slate-500 hover:from-slate-500 hover:to-slate-400",r&&"text-slate-blue-300 border border-slate-blue-300 hover:text-slate-blue-200 hover:border-slate-blue-200",l&&"text-slate-400 hover:text-slate-300 bg-slate-800 hover:bg-slate-700 rounded-none","disabled:bg-gray-900 disabled:border-gray-800 disabled:text-gray-500",e.fluid&&"w-full",e.loading&&"pl-4 cursor-default",void 0!==e.prefix&&"justify-start items-center",e.className),onClick:t=>{void 0===e.onClick||e.loading||e.onClick(t)},children:[void 0!==e.prefix&&(0,a.jsx)("div",{className:(0,n.m6)("flex-none mr-1.5",e.disabled&&"grayscale opacity-40"),children:e.prefix}),(0,a.jsx)("div",{className:(0,n.m6)("flex justify-center grow whitespace-nowrap min-w-[3rem]",e.childrenClassName),children:e.children})]})}},44718:function(e,t,i){"use strict";i.r(t),i.d(t,{XLink:function(){return r}});var a=i(57437),n=i(87138);let r=e=>{let t={},i=void 0===e.onClick?void 0:e.onClick;return(void 0!==i&&(t.onClick=i),void 0!==e.shallow&&(t.shallow=e.shallow),void 0!==e.passHref&&(t.passHref=e.passHref),void 0!==e.legacyBehavior&&(t.legacyBehavior=e.legacyBehavior),void 0!==e.as&&(t.as=e.as),e.disabled)?(0,a.jsx)("div",{className:""===e.className?void 0:e.className,children:e.children}):(0,a.jsx)(n.default,{href:e.href,className:""===e.className?void 0:e.className,target:"blank"===e.target?"_blank":void 0,rel:"noopener".concat(e.noFollow?" nofollow":""),prefetch:e.prefetch,...t,children:e.children})}},51868:function(e,t,i){"use strict";var a=i(57437),n=i(1353),r=i(66648);t.Z=e=>{let t=e.src.startsWith("https://"),i=t&&e.src.indexOf("debuz.com")>-1,l=e.src.startsWith("/"),s=e.src.startsWith("data:image"),o="".concat(n.m7,"/").concat(e.src.replace(",","/")).concat(e.src.indexOf(".png")>-1||e.src.indexOf(".jpg")>-1?"":"/image.png"),c=(l?e.src:t?i?"".concat(n.m7,"/").concat(e.src.replace("".concat(n.xd.prod,"/"),"").replace("".concat(n.xd.dev,"/"),"")):e.src:o).replaceAll("//","/");return(0,a.jsx)(r.default,{src:s?e.src:c,alt:e.alt,width:e.width,height:e.height,sizes:e.sizes,style:e.style,className:e.className,draggable:e.draggable,fill:e.fill,unoptimized:e.unoptimized,priority:e.priority,placeholder:e.placeholder,blurDataURL:e.blurDataURL,quality:e.quality})}},1353:function(e,t,i){"use strict";i.d(t,{S3:function(){return f},dx:function(){return u},m7:function(){return d},q0:function(){return p},xd:function(){return o}});var a,n,r=i(20357);let l=/^https:\/\/(.*)vsus.io/.test(null===(n=i.g)||void 0===n?void 0:null===(a=n.document)||void 0===a?void 0:a.location.href);function s(e,t){return l?e:void 0===t?e:t}let o={prod:"https://image.debuz.com",dev:"https://image-dev.debuz.com"},c=s("https://vsus.dbzapi.com","https://vsus-dev.dbzapi.com"),g=s(o.prod,o.dev);function m(e,t){return null!=e?e:t}let u=m(r.env.API_BACKEND,c),d=m(r.env.API_IMAGE,g),f=m(r.env.API_ID,"https://uid.dbzapi.com"),p=m(r.env.BASE_URI,"https://vsus.io")}},function(e){e.O(0,[6164,7138,8173,2971,7023,1744],function(){return e(e.s=50796)}),_N_E=e.O()}]);