1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3117],{27554:(e,t,i)=>{"use strict";i.d(t,{A:()=>j});var n=i(37876),a=i(35878),r=i(23759),l=i(67213),o=i(14314),d=i(95591),s=i(67680),c=i(45615),u=i(35351),g=i(41218),p=i(55271),m=i(81639),h=i.n(m),y=i(14232),f=i(74695);(0,s.I4)("div",{display:"initial","@lg":{display:"none"}});let _=(0,s.I4)("header",{position:"fixed",top:0,display:"flex",flexDirection:"column",zIndex:1099,right:0,left:0,justifyContent:"center",boxShadow:"0px 0 4px rgba(0, 0, 0, 0.6)",background:"$primary1","@lg":{display:"none"}}),x=(0,s.I4)("div",{display:"flex",flex:1,maxHeight:8,flexDirection:"row",alignItems:"center",justifyContent:"space-between",px:16}),v=(0,s.I4)("div",{zIndex:10}),w=(0,s.I4)("div",{}),b=(0,s.I4)("div",{marginLeft:8,display:"flex",flexDirection:"row",paddingLeft:0});function j(e){var t,i,s,m;let[j,A]=y.useState(!1),{credential:M}=(0,g.lg)(),{website:S}=(0,u.NQ)(),{theme:R,themeName:B}=(0,c.DP)(),z=(0,f.d4)(p.o_.userSelector),W=y.useMemo(()=>"unset",[B]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(_,{className:I.container(),children:[(0,n.jsxs)(x,{children:[(0,n.jsx)(v,{children:(0,n.jsx)(o._y,{})}),(0,n.jsx)(w,{children:(0,n.jsx)(d.s,{href:"/",passHref:!0,children:(null==S||null==(i=S.website)||null==(t=i.images)?void 0:t.mobileLogo)&&(0,n.jsx)(N,{alt:"",src:null==S||null==(m=S.website)||null==(s=m.images)?void 0:s.mobileLogo,fill:!0,style:{filter:W,objectFit:"contain",alignSelf:"center"}})})}),(0,n.jsx)(b,{children:!!M&&(0,n.jsxs)(k,{children:[(0,n.jsx)(h(),{href:"/notifications",passHref:!0,className:I.aLink(),children:(0,n.jsx)(a.AB,{color:R.colors.primary4})}),((null==z?void 0:z.unreadNotificationCount)||0)>0&&(0,n.jsx)(C,{children:(0,n.jsx)(o.EY,{variant:"captionRegular",children:null==z?void 0:z.unreadNotificationCount})})]})})]}),(0,n.jsx)(l.A,{isLoginFormOpen:j,setIsLoginFormOpen:A})]}),(0,n.jsx)(r.A,{variant:"mobile"})]})}(0,s.I4)("div",{display:"flex",alignItems:"center",padding:"4px 16px"}),(0,s.I4)("div",{display:"flex",alignItems:"center"}),(0,s.I4)("div",{display:"flex",flex:1,justifyContent:"center",alignItems:"center"}),(0,s.I4)("div",{position:"relative",display:"flex",alignItems:"center",justifyContent:"center"}),(0,s.I4)("div",{marginTop:"64px"}),(0,s.I4)("div",{display:"flex",flexWrap:"wrap"}),(0,s.I4)("div",{width:"6%","@md":{display:"none"}}),(0,s.I4)("div",{display:"none","@md":{display:"block",minWidth:"2.5%"}}),(0,s.I4)("div",{display:"flex",flex:1,justifyContent:"center",marginTop:"$space24"}),(0,s.I4)("div",{position:"absolute",top:-16,right:-80,bottom:0,left:-80}),(0,s.I4)("div",{}),(0,s.I4)("div",{padding:32,borderRadius:2,marginTop:"$space48"}),(0,s.I4)("div",{borderBottom:"1px solid white",paddingBottom:"$space16",marginBottom:"$space24"}),(0,s.I4)("div",{display:"flex",flexDirection:"column",justifyContent:"center"}),(0,s.I4)("div",{}),(0,s.I4)("img",{width:90,height:90,objectFit:"contain"}),(0,s.I4)("div",{marginBottom:"$space8"}),(0,s.I4)("div",{display:"flex",flexDirection:"row",marginTop:108,flexWrap:"wrap",justifyContent:"space-between"}),(0,s.I4)("div",{width:"100%",marginBottom:"48px","@md":{width:"47%"},"@lg":{width:"22%",marginBottom:"unset"}}),(0,s.I4)("div",{marginBottom:32}),(0,s.I4)("div",{});let I={container:(0,s.AH)({height:"60px"}),button:(0,s.AH)({"@md":{minWidth:100}}),transactionButton:(0,s.AH)({height:28}),displayNone:(0,s.AH)({display:"none !important"}),aLink:(0,s.AH)({textDecoration:"none"})},N=(0,s.I4)(o.UB,{maxHeight:36,paddingLeft:12}),k=(0,s.I4)("div",{position:"relative"}),C=(0,s.I4)("div",{width:16,height:16,background:"$error",position:"absolute",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",top:-8,right:-8})},69402:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/games/[...games]",function(){return i(93085)}])},78892:(e,t,i)=>{"use strict";i.d(t,{Z:()=>f,t:()=>u});var n=i(37876),a=i(15039),r=i.n(a),l=i(14314),o=i(67680),d=i(45615),s=i(81367),c=i(14232);function u(e){var t,i,a;let[u,f]=c.useState(e.selected||0),{onTabChange:_,containerClassName:x,hideBorderBottom:v=!1}=e,w=c.useRef(),{onScrollCapture:b,overflow:j}=(0,s.Y)({ref:w}),{theme:I}=(0,d.DP)(),N=c.useCallback(e=>{f(e),_&&_(e)},[_]);return c.useEffect(()=>{f(e.selected||0)},[e.selected]),(0,n.jsxs)(p,{className:r()(j.left&&g.startShadow(),j.right&&g.endShadow(),(0,o.AH)({"&:before":{pointerEvents:"none",background:"linear-gradient(90deg,".concat(I.colors.primary1," 0,transparent)")},"&:after":{pointerEvents:"none",background:"linear-gradient(270deg,".concat(I.colors.primary1," 0,transparent)")}})(),x),children:[(0,n.jsx)(m,{css:{margin:"auto 0 0 0",position:"relative","&:after":{borderBottom:"1px solid",borderBottomColor:"$divi
1der1",content:'""',position:"absolute",bottom:1.5,left:0,right:0,zIndex:0,display:v?"none":"initial"}},ref:w,onScrollCapture:b,children:null==e||null==(t=e.children)?void 0:t.map((e,t)=>{var i;let a=t===u;return(0,n.jsx)(h,{className:r()(a?g.liSelected():void 0,(0,o.AH)({...a?{borderBottom:"1.2px solid ".concat(I.colors.primary4),"@lg":{borderBottom:"4px solid ".concat(I.colors.primary4)}}:{},zIndex:1})()),onClick:()=>N(t),children:(0,n.jsx)(l.EY,{style:{userSelect:"none"},variant:null==e||null==(i=e.props)?void 0:i.variant,children:"function"==typeof e.props.title?e.props.title(a):e.props.title})},t)})}),!!(null==(a=e.children[u])||null==(i=a.props)?void 0:i.children)&&(0,n.jsx)(y,{children:e.children[u].props.children})]})}let g={liSelected:(0,o.AH)({color:"#444"}),startShadow:(0,o.AH)({"&:before":{opacity:1}}),endShadow:(0,o.AH)({"&:after":{opacity:1}})},p=(0,o.I4)("nav",{position:"relative",overflow:"hidden",flex:1,mt:"auto","&:before":{top:0,position:"absolute",left:0,width:50,height:"100%",content:"",transition:"opacity 0.3s ease",zIndex:2,opacity:0}
1,"&:after":{top:0,position:"absolute",right:0,width:50,height:"100%",content:"",transition:"opacity 0.3s ease",zIndex:2,opacity:0}}),m=(0,o.I4)("ul",{padding:0,width:"100%",display:"flex",flexWrap:"nowrap",overflow:"auto",position:"relative"}),h=(0,o.I4)("li",{display:"inline-block",marginLeft:0,cursor:"pointer",color:"#aaa",whiteSpace:"nowrap",padding:"8px 20px 10px 20px","@lg":{padding:"8px 44px 12px 44px"}}),y=(0,o.I4)("div",{width:"100%",color:"#444"});function f(e){return(0,n.jsx)("div",{children:e.children})}},81367:(e,t,i)=>{"use strict";i.d(t,{Y:()=>a});var n=i(14232);let a=e=>{let[t,i]=n.useState(!1),[a,r]=n.useState(!1);return n.useEffect(()=>{var t,i,n,a,l,o;r((null==e||null==(i=e.ref)||null==(t=i.current)?void 0:t.scrollLeft)+(null==e||null==(a=e.ref)||null==(n=a.current)?void 0:n.clientWidth)+5<=(null==e||null==(o=e.ref)||null==(l=o.current)?void 0:l.scrollWidth))},[null==e?void 0:e.ref]),{onScrollCapture:n.useCallback(e=>{var t,n,a,l;i((null==e||null==(t=e.target)?void 0:t.scrollLeft)>5),r((null==e||null==(n=e.target)?void 0:n.scrollLeft)+(null==e||null==(a=e.target)?void 0:a.clientWidth)+5<=(null==e||null==(l=e.target)?void 0:l.scrollWidth))},[]),overflow:{left:t,right:a}}}},84308:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var n=i(37876),a=i(35878),r=i(14314),l=i(67680),o=i(14232);function d(e){var t,i,d,u;let{tags:g}=e,[p,m]=o.useState(0);return o.useEffect(()=>{if(1>=((null==g?void 0:g.length)||0))return;let e=setInterval(()=>{m(e=>e+1>=((null==g?void 0:g.length)||0)?0:++e)},3e3);return()=>{clearInterval(e)}},[null==g?void 0:g.length]),(0,n.jsxs)(s,{children:[(0,n.jsx)(c,{className:(0,l.AH)({background:null==g||null==(t=g[p])?void 0:t.color})(),children:(0,n.jsx)(r.EY,{variant:"captionMedium",children:null==g||null==(d=g[p])||null==(i=d.name)?void 0:i.toUpperCase()})}),(0,n.jsx)(a.fn,{color:null==g||null==(u=g[p])?void 0:u.color})]})}let s=(0,l.I4)("div",{position:"absolute",zIndex:1,left:0,top:"6%",display:"flex",transition:"all 0.3s linear","& svg":{width:"auto",height:"100%"},"& path":{transition:"all 0.3s linear"},height:12,"@sm":{height:20}}),c=(0,l.I4)("div",{display:"flex",px:"0.4em",transition:"all 0.3s linear","& span":{my:"auto",fontSize:8,"@sm":{fontSize:"clamp(0.5em, 0.7em, 1em)"}}})},88879:(e,t,i)=>{"use strict";i.d(t,{m:()=>n.A});var n=i(89417)},93085:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>eE,default:()=>eT});var n=i(37876),a=i(35351),r=i(88879),l=i(46008),o=i(35878),d=i(10119),s=i(14314),c=i(84276),u=i(20182),g=i(27554),p=i(67680),m=i(45615),h=i(81367),y=i(36925),f=i(52913),_=i(48230),x=i.n(_),v=i(14232),w=i(18898),b=i(70208),j=i(66364),I=i(93124);function N(e){let{theme:t}=(0,m.DP)(),{onChange:i,value:a}=e;return(0,n.jsxs)(C,{children:[(0,n.jsx)(o.VS,{color:t.colors.primary4,width:20,height:20}),(0,n.jsx)(I.Ay,{containerClassName:(0,p.AH)({width:"100%"})(),value:a,onChange:e=>{i(e.currentTarget.value)},borderStyle:{border:"none"},placeholderContainerClassName:k.placeholderContainer(),inputClassName:k.inputContainer(),placeholder:"Cari permainan",endEnhancer:a?(0,n.jsx)(o.GK,{style:{cursor:"pointer"},color:j.A.neutral7,onClick:()=>i(void 0)}):void 0})]})}let k={inputContainer:(0,p.AH)({maxHeight:20,minHeight:20,border:"none","& input":{maxHeight:20,minHeight:20,padding:0}}),placeholderContainer:(0,p.AH)({left:0})},C=(0,p.I4)("div",{padding:"8px 16px",borderRadius:"54px",display:"flex",flex:1,alignItems:"center",background:"$inputBackground","& > *:first-child":{marginRight:8}});var A=i(20361),M=i(84308),S=i(41218),R=i(93662);function B(e){let{index:t,image:i,id:a,name:r,tags:l,isFavorite:o,bottomComponent:d,gameCardContainerClassName:u,textContainerClassName:g}=e,{t:p}=(0,f.A)(),{playGame:m,triggerFavorite:h}=(0,R.O)(),{credential:y}=(0,S.lg)(),[_,x]=v.useState(o);return v.useEffect(()=>{void 0!==o&&x(o)},[o]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c.OU,{className:u,children:[(0,n.jsx)(W,{onClick:()=>m(a,r,i,_),children:(0,n.jsx)(D,{children:(0,n.jsxs)(A.b,{ratio:1,children:[e.isMaintenance&&(0,n.jsx)(E,{children:(0,n.jsx)(T,{children:(0,n.jsx)(H,{children:p("common:under_maintenance")})})}),!!y&&(0,n.jsx)(c.DS,{children:_?(0,n.jsx)(s.hw,{src:"/assets/favourite-checked.webp",width:"100%",height:"100%",alt:"",onClick:e=>{e.stopPropagation(),h(a,_,x)}}):(0,n.jsx)(s.hw,{src:"/assets/favourite.webp",width:"100%",height:"100%",alt:"",onClick:e=>{e.stopPropagation(),h(a,_,x)}})}),(0,n.jsx)(M.A,{tags:l}),(0,n.jsx)(s.UB,{alt:"",src:i,fill:!0})]})})}),(0,n.jsx)(c.T3,{className:g,children:(0,n.jsx)(s.EY,{align:"center",variant:{"@initial":"captionMedium","@lg":"subtitle1Medium"},children:r})}),d]}),t%3!=2&&(0,n.jsx)(c.uz,{}),t%6!=5&&(0,n.jsx)(c.qy,{}),t%4!=3&&(0,n.jsx)(c.at,{})]})}let z=()=>(0,n.jsx)(c.WV,{children:Array(15).fill({}).map((e,t)=>(0,n.jsxs)(v.Fragment,{children:[(0,n.jsx)(c.i_,{children:(0,n.jsx)(A.b,{ratio:1})}),t%3!=2&&(0,n.jsx)(c.uz,{}),t%6!=5&&(0,n.jsx)(c.qy,{}),t%4!=3&&(0,n.jsx)(c.at,{})]},t.toString()))}),W=(0,p.I4)("div",{position:"relative",borderRadius:6,overflow:"hidden",cursor:"pointer",background:"$secondary1"}),D=(0,p.I4)("div",{overflow:"hidden",borderRadius:6,background:"$primary1",["&:hover ".concat(c.DS)]:{opacity:1}}),E=(0,p.I4)("div",{position:"absolute",inset:0,display:"flex",pointerEvents:"none"}),T=(0,p.I4)("div",{m:"auto",display:"flex",top:0,right:0,left:0,bottom:0,position:"absolute",borderRadius:4,opacity:.8,minWidth:74,background:"$bgLinear"}),H=(0,p.I4)("div",{fontSize:12,fontWeight:"500",color:"white",width:"max-content",padding:4,m:"auto"});var P=i(38503),K=i(24591),$=function(e){return e.RTP="rtp",e.PLAY_BUTTON="play_button",e}({});(0,P.aM)("agents",{id:(0,P.ar)("id").primaryKey(),headAgentId:(0,P.ar)("head_agent_id"),agentId:(0,P.ar)("agent_id").notNull(),type:(0,K.yf)("type"),credit:(0,P.ag)("credit"),deletedAt:(0,P.a6)("deleted_at")}),(0,P.aM)("web_setting_details",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id").notNull(),domain:(0,K.yf)("domain").notNull(),type:(0,K.yf)("type").notNull(),sharedCanonicalUrl:(0,K.yf)("shared_canonical_url"),isNoIndex:(0,K.zM)("is_no_index").notNull(),googleAmpRedirectUrl:(0,K.yf)("google_amp_redirect_url"),googleAmpAnalyticsId:(0,K.yf)("google_amp_analytics_id"),googleAmpSiteVerificationCode:(0,K.yf)("google_amp_site_verification_code"),googleAnalyticsScript:(0,K.yf)("google_analytics_script"),googleTagManager:(0,K.yf)("google_tag_manager"),redirectUrl:(0,K.yf)("redirect_url"),facebookAmpPixelId:(0,K.yf)("facebook_amp_pixel_id"),metaScript:(0,K.yf)("meta_script"),canonicalType:(0,K.yf)("canonical_t
1ype").notNull()}),(0,P.aM)("web_settings",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id").notNull(),isRegisterNoticeActive:(0,K.yf)("is_register_notice_active"),depositNotice:(0,K.yf)("deposit_notice"),isRegisterWithEmail:(0,K.zM)("is_register_with_email").notNull(),gameAccessSettingType:(0,K.yf)("game_access_setting_type"),allowNewBankAccountForWithdraw:(0,K.zM)("allow_new_bank_account_for_withdraw").notNull(),allowNewEWalletAccountForWithdraw:(0,K.zM)("allow_new_ewallet_account_for_withdraw").notNull(),allowNewTelecomAccountForWithdraw:(0,K.zM)("allow_new_telecom_account_for_withdraw").notNull(),allowNewBankAccountForDeposit:(0,K.zM)("allow_new_bank_account_for_deposit").notNull(),allowNewEWalletAccountForDeposit:(0,K.zM)("allow_new_ewallet_account_for_deposit").notNull(),allowNewTelecomAccountForDeposit:(0,K.zM)("allow_new_telecom_account_for_deposit").notNull(),allowNewFundMethodAccountForDeposit:(0,K.zM)("allow_new_fund_method_account_for_deposit").notNull(),allowNewFundMethodAccountForWithdraw:(0,K.zM)("allow_new_fund_method_account_for_withdraw").notNull(),title:(0,K.yf)("title"),brand:(0,K.yf)("brand"),announcement:(0,K.yf)("announcement"),apkDownloadUrl:(0,K.yf)("apk_download_url"),secondPin:(0,K.zM)("second_pin").notNull(),timezone:(0,K.yf)("timezone").notNull(),theme:(0,K.yf)("theme").notNull(),initialUser:(0,K.nd)("initial_user"),chatWidgetSetting:(0,K.yf)("chat_widget_setting"),desktopCustomScript:(0,K.Qq)("desktop_custom_script"),mobileCustomScript:(0,K.Qq)("mobile_custom_script"),liveChatUrl:(0,K.yf)("live_chat_url"),isShowNex4dResult:(0,K.zM)("is_show_nex4d_result").notNull(),isRegisterWithFundMethod:(0,K.zM)("is_register_with_fund_method").notNull(),isRegisterWithBank:(0,K.zM)("is_register_with_bank").notNull(),isRegisterWithEWallet:(0,K.zM)("is_register_with_e_wallet").notNull(),isRegisterWithTelecom:(0,K.zM)("is_register_with_telecom").notNull(),status:(0,K.yf)("status"),progressiveJackpot:(0,K.nd)("progressive_jackpot"),footer:(0,K.zM)("footer").notNull(),registerScript:(0,K.yf)("register_script"),depositScript:(0,K.yf)("deposit_script"),welcomeScript:(0,K.yf)("welcome_script"),sharedCanonicalUrl:(0,K.yf)("shared_canonical_url")}),(0,P.aM)("web_redirect_setting_web_setting_detail",{webRedirectSettingId:(0,P.ar)("web_redirect_setting_id").notNull(),webSettingDetailId:(0,P.ar)("web_setting_detail_id").notNull()}),(0,P.aM)("web_content_setting_web_setting_detail",{webContentSettingId:(0,P.ar)("web_content_setting_id").notNull(),webSettingDetailId:(0,P.ar)("web_setting_detail_id").notNull()}),(0,P.aM)("files",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),fileableType:(0,K.yf)("fileable_type"),fileableId:(0,P.ar)("fileable_id"),name:(0,K.yf)("name"),tag:(0,P.ac)("tag"),type:(0,K.yf)("type")}),(0,P.aM)("fund_methods",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),type:(0,K.yf)("type"),name:(0,K.yf)("name"),code:(0,K.yf)("code"),website:(0,K.yf)("website"),status:(0,K.yf)("status"),display:(0,K.yf)("display")}),(0,P.aM)("blocked_ips",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),ipAddress:(0,K.yf)("ip_address")}),(0,P.aM)("wysiwygs",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),contentableType:(0,K.yf)("contentable_type"),contentableId:(0,K.yf)("contentable_id"),content:(0,P.ac)("content"),tag:(0,P.ac)("tag")}),(0,P.aM)("contacts",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),email:(0,P.ac)("email"),phone:(0,P.ac)("phone"),skype:(0,P.ac)("skype"),line:(0,P.ac)("line"),whatsapp:(0,P.ac)("whatsapp"),facebook:(0,P.ac)("facebook"),twitter:(0,P.ac)("twitter"),instagram:(0,P.ac)("instagram"),youtube:(0,P.ac)("youtube"),telegram:(0,P.ac)("telegram"),telegramGroup:(0,P.ac)("telegram_group")}),(0,P.aM)("popup_banners",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),title:(0,K.yf)("title"),isActive:(0,K.zM)("is_active"),url:(0,K.yf)("url")});let F=(0,P.aM)("game_categories",{id:(0,P.ar)("id").primaryKey(),name:(0,K.yf)("name"),status:(0,K.yf)("status").notNull(),isDisplay:(0,K.zM)("is_display").notNull()}),L=(0,P.aM)("game_providers",{id:(0,P.ar)("id").primaryKey(),name:(0,K.yf)("name")}
1),Y=(0,P.aM)("game_groups",{id:(0,P.ar)("id").primaryKey(),gameCategoryId:(0,P.ar)("game_category_id").notNull().references(()=>F.id),gameProviderId:(0,P.ar)("game_provider_id").notNull().references(()=>L.id),agentGameCategoryId:(0,P.ar)("agent_game_category_id")});function U(e){var t;let{rtpValue:i,...r}=e,{t:l}=(0,f.A)(),{theme:o}=(0,m.DP)(),{playGame:d}=(0,R.O)(),{website:c}=v.useContext(a.Vi),u=null==c||null==(t=c.website)?void 0:t.gameAccessSettingType,g=v.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e>75?o.colors.success:e>40?o.colors.warning:o.colors.error},[o.colors.error,o.colors.success,o.colors.warning]),h=v.useMemo(()=>u===$.PLAY_BUTTON?(0,n.jsx)(s.$n,{onClick:()=>d(r.id,r.name,r.image,r.isFavorite),style:{borderRadius:100,padding:"4px 8px",width:"100%",marginTop:"16px"},children:l("common:play")}):(0,n.jsxs)(G,{children:[(0,n.jsx)(O,{style:{width:"".concat(i,"%"),background:g(i)}}),(0,n.jsxs)(s.EY,{variant:"subtitle2Bold",children:["RTP ",i,"%"]})]}),[l,r.id,r.image,r.isFavorite,r.name,u,g,d,i]);return(0,v.createElement)(B,{textContainerClassName:(0,p.AH)({display:"flex",flex:1,justifyContent:"center"})(),gameCardContainerClassName:(0,p.AH)({display:"flex",flexDirection:"column"})(),...r,key:null==r?void 0:r.id,bottomComponent:h})}(0,P.aM)("game_group_settings",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),gameGroupId:(0,P.ar)("game_group_id").notNull().references(()=>Y.id),gameProviderId:(0,P.ar)("game_provider_id").notNull().references(()=>L.id),gameCategorySettingId:(0,P.ar)("game_category_setting_id"),isMaintenance:(0,K.nd)("is_maintenance"),isHidden:(0,K.nd)("is_hidden"),rank:(0,K.nd)("rank")}),(0,P.aM)("banners",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),title:(0,K.yf)("title"),rank:(0,K.nd)("rank").notNull(),url:(0,K.yf)("url"),status:(0,K.yf)("status")}),(0,P.aM)("game_tag_on_providers",{gameGroupId:(0,P.ar)("game_group_id").primaryKey(),gameTagId:(0,P.ar)("game_tag_id")}),(0,P.aM)("game_tags",{id:(0,P.ar)("id").primaryKey(),indonesianName:(0,K.yf)("indonesian_name"),englishName:(0,K.yf)("english_name"),color:(0,K.yf)("color")}),(0,P.aM)("web_setting_customs",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id").notNull(),type:(0,K.yf)("type").notNull(),isActive:(0,K.zM)("is_active").notNull(),title:(0,K.yf)("title").notNull(),url:(0,K.yf)("url").notNull(),urlTitle:(0,K.yf)("url_title"),isContentMenu:(0,K.zM)("is_content_menu").notNull()}),(0,P.aM)("web_redirect_settings",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id").notNull(),fromUrl:(0,K.yf)("from_url"),redirectUrl:(0,K.yf)("redirect_url"),isActive:(0,K.zM)("is_active").notNull()}),(0,P.aM)("web_content_settings",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id").notNull(),title:(0,K.yf)("title"),url:(0,K.yf)("url"),metaKeyword:(0,K.yf)("meta_keyword"),metaDescription:(0,K.yf)("meta_description"),script:(0,K.yf)("script"),isActive:(0,K.zM)("is_active").notNull(),isFooter:(0,K.zM)("is_footer").notNull(),footerOption:(0,K.yf)("footer_option"),htmlFooter:(0,K.yf)("html_footer")}),(0,P.aM)("homepage_promotion_banners",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),promotionBannerId:(0,P.ar)("promotion_banner_id"),title:(0,K.yf)("title"),description:(0,K.yf)("description"),status:(0,K.yf)("status")}),(0,P.aM)("promotion_banners",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id"),promotionId:(0,P.ar)("promotion_id"),title:(0,K.yf)("title"),rank:(0,K.nd)("rank"),url:(0,K.yf)("url"),startAt:(0,P.a6)("start_at"),endAt:(0,P.a6)("end_at"),slug:(0,K.yf)("slug"),status:(0,K.yf)("status")}),(0,P.aM)("top_games",{agentId:(0,P.ar)("agent_id").notNull(),gameGroupSettingId:(0,P.ar)("game_group_setting_id").notNull(),gameId:(0,P.ar)("game_id").notNull(),count:(0,K.nd)("count").notNull(),gameGroupRank:(0,K.nd)("game_group_rank").notNull(),gameProviderRank:(0,K.nd)("game_provider_rank").notNull(),overallRank:(0,K.nd)("overall_rank").notNull()}),(0,P.aM)("games",{id:(0,P.ar)("id").primaryKey(),gameGroupId:(0,P.ar)("game_group_id"),code:(0,K.yf)("code"),name:(0,K.yf)("name"),image:(0,K.yf)("image"),order:(0,K.nd)("order"),status:(0,K.yf)("status")}),(0,P.aM)("game_tag_on_games",{gameId:(0,P.ar)("game_id").notNull(),gameTagId:(0,P.ar)("game_tag_id").notNull()}),(0,P.aM)("custom_footers",{id:(0,P.ar)("id").primaryKey(),agentId:(0,P.ar)("agent_id").notNull(),title:(0,K.yf)("title").notNull(),category:(0,K.yf)("category").notNull(),body:(0,K.yf)("body").notNull(),status:(0,K.yf)("status").notNull(),order:(0,K.nd)("order").notNull()}),(0,P.aM)("provider_top_games",{agentId:(0,P.ar)("agent_id").notNull(),gameGroupSettingId:(0,P.ar)("game_group_setting_id").notNull(),gameId:(0,P.ar)("game_id").notNull(),gameProviderId:(0,P.ar)("game_provider_id").notNull(),count:(0,K.nd)("count").notNull(),providerGameRank:(0,K.nd)("provider_game_rank").notNull()}),(0,P.aM)("users",{id:(0,P.ar)("id").primaryKey(),userId:(0,K.yf)("user_id"),agentId:(0,P.ar)("agent_id"),deletedAt:(0,P.a6)("deleted_at")});let G=(0,p.I4)("div",{height:24,background:"$neutral6",marginTop:8,overflow:"hidden",borderRadius:20,position:"relative","& span":{position:"absolute",top:0,left:0,right:0,bottom:0,textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"}}),O=(0,p.I4)("div",{height:"100%",borderRadius:20});var V=i(78892),q=i(9703),Q=i(89099),J=i(40625),Z=i(32935);function X(){let{theme:e}=(0,m.DP)(),{t}=(0,f.A)();return(0,n.jsxs)(eg,{children:[(0,n.jsx)(s.hw,{src:e.urls.gameMaintenanceBackgroun
1dUrl,alt:"",style:{maxWidth:385,maxHeight:218}}),(0,n.jsx)("div",{style:{marginBottom:48}}),(0,n.jsx)(s.EY,{variant:{"@initial":"h5Bold","@md":"h3Bold"},align:"center",children:t("common:under_maintenance")}),(0,n.jsx)("div",{style:{marginBottom:12}}),(0,n.jsx)(s.EY,{variant:{"@initial":"h6Regular","@md":"h5Regular"},align:"center",children:t("common:game_under_maintenance_desc")})]})}let ee=()=>(0,n.jsx)(ep,{children:[,,,,].fill({}).map((e,t)=>(0,n.jsx)(em,{},t.toString()))});function et(e){let{theme:t}=(0,m.DP)(),{t:i}=(0,f.A)();if("favorite"===e.tagId)return(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",flexDirection:"column",marginBottom:32},children:[(0,n.jsx)(s.hw,{src:t.urls.emptyFavoriteUrl,alt:"",width:"100%",height:"100%",style:{maxWidth:400}}),(0,n.jsx)(s.EY,{variant:{"@initial":"h6Bold","@lg":"h5Bold"},children:i("common:star_your_favorite_games")}),(0,n.jsx)("div",{style:{marginTop:8}}),(0,n.jsx)(s.EY,{variant:{"@initial":"captionRegular","@lg":"body2Regular"},children:i("common:no_favorite_games_at_this_moment")})]});{let a;return a=i("popular"===e.tagId?"common:no_new_popular_game_empty":"common:no_new_game_empty"),(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",flexDirection:"column",marginBottom:32},children:[(0,n.jsx)(s.hw,{src:t.urls.emptyGameUrl,alt:"",width:"100%",height:"100%",style:{maxWidth:400}}),(0,n.jsx)(s.EY,{variant:{"@initial":"h6Bold","@lg":"h5Bold"},children:i("common:find_another_games")}),(0,n.jsx)("div",{style:{marginTop:8}}),(0,n.jsx)(s.EY,{variant:{"@initial":"captionRegular","@lg":"body2Regular"},children:a})]})}}function ei(e){var t,i,a,r,l,d;let{category:c,provider:u}=e,{t:g}=(0,f.A)(),{theme:h}=(0,m.DP)(),y=(0,Q.useRouter)(),{ref:_,inView:x}=(0,J.Wx)(),[j,I]=v.useState(0),[k,C]=v.useState(),[A,M]=v.useState(!1),{data:S,isLoading:R,refetch:W,error:D}=(0,w.Z9)({params:{category:c,provider:u}},{enabled:!!c}),{data:E,isLoading:T,isFetching:H,refetch:P,error:K,fetchNextPage:$,hasNextPage:F,isFetchingNextPage:L}=(0,w.B9)({params:{category:c,provider:u,tag:k?void 0:(null==S||null==(i=S.data)||null==(t=i[j])?void 0:t.id)||void 0,q:k}},{enabled:!!c,getNextPageParam:(e,t)=>{let i=(0,q.camelizeKeys)(e);return i.meta.currentPage!==i.meta.lastPage?i.meta.currentPage+1:void 0}}),Y=v.useMemo(()=>{if(null==E?void 0:E.pages){var e;return null==E||null==(e=E.pages)?void 0:e.reduce((e,t)=>[...e,...t.data],[])}return[]},[null==E?void 0:E.pages]),G=v.useCallback(e=>{C(e)},[]),O=v.useCallback(e=>{I(e),C(void 0)},[]);return v.useEffect(()=>{x&&F&&!L&&!T&&$()},[$,F,x,L,T]),v.useEffect(()=>{I(0)},[y.asPath]),(0,n.jsxs)(eo,{children:[(0,n.jsxs)(es,{className:(0,p.AH)({marginTop:8*!!A})(),children:[A?(0,n.jsx)(ea,{children:(0,n.jsx)(N,{value:k,onChange:G})}):(0,n.jsx)(b.A,{isLoading:R,onRetry:W,error:!(null==S||null==(a=S.data)?void 0:a.length)&&D,loadingComponent:(0,n.jsx)(ee,{}),component:(0,n.jsx)(V.t,{onTabChange:O,selected:j,hideBorderBottom:!0,containerClassName:(0,p.AH)({borderBottom:"0.5px solid $neutral10_30"})(),children:null==S||null==(r=S.data)?void 0:r.map(e=>(0,n.jsx)(V.Z,{title:t=>(0,n.jsxs)(eh,{children:[(0,n.jsx)(Z.k,{src:e.icon.url,width:20,height:20,className:(0,p.AH)({"& *":{fill:t?"$primary4":"$neutral4"}})()}),(0,n.jsx)(ey,{}),(0,n.jsx)(ec,{variant:{"@initial":"captionRegular","@lg":"h6Medium"},css:{...t?{color:"$primary4"}:{}},children:null==e?void 0:e.name})]})},e.id))})}),(0,n.jsx)(en,{className:(0,p.AH)({pb:A?28:12})(),children:A?(0,n.jsx)(ed,{onClick:()=>M(!1),children:(0,n.jsx)(s.EY,{variant:"body2Regular",style:{color:h.colors.primary4},children:g("common:cancel")})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(er,{children:(0,n.jsx)(N,{value:k,onChange:G})}),(0,n.jsx)(el,{children:(0,n.jsxs)(ed,{onClick:()=>M(!0),children:[(0,n.jsx)(o.VS,{color:h.colors.primary4}),(0,n.jsx)(s.EY,{variant:"captionRegular",style:{color:h.colors.primary4},children:g("common:search")})]})})]})})]}),(0,n.jsx)("div",{style:{marginTop:32}}),(0,n.jsx)(b.A,{isLoading:(T||H)&&!Y.length,onRetry:P,error:!Y.length&&K,errorComponent:(null==K?void 0:K.status)===400&&(0,n.jsx)(X,{}),loadingComponent:(0,n.jsx)(z,{}),component:(null==Y?void 0:Y.length)===0?(0,n.jsx)(et,{tagId:(null==S||null==(d=S.data)||null==(l=d[j])?void 0:l.id)||""}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eu,{children:Y.map((e,t)=>(null==e?void 0:e.rtpValue)?(0,n.jsx)(U,{index:t,...e},e.id):(0,n.jsx)(B,{index:t,...e},e.id))}),(0,n.jsx)(ef,{ref:_})]})})]})}let en=(0,p.I4)("div",{borderBottom:"0.5px solid $neutral10_30",mt:"auto",px:20,py:12,"@lg":{borderBottom:"0.5px solid $neutral10_30",py:12}}),ea=(0,p.I4)("div",{width:"100%",borderBottom:"0.5px solid $neutral10_30",mt:"auto",pb:20}),er=(0,p.I4)("div",{display:"none","@lg":{display:"initial"}}),el=(0,p.I4)("div",{display:"initial","@lg":{display:"none"}}),eo=(0,p.I4)("div",{display:"flex",flex:1,flexDirection:"column"}),ed=(0,p.I4)("div",{cursor:"pointer"}),es=(0,p.I4)("div",{display:"flex",flex:1,alignItems:"center"}
1),ec=(0,p.I4)(s.EY,{color:"$neutral10_30"}),eu=(0,p.I4)("div",{display:"flex",flexWrap:"wrap"}),eg=(0,p.I4)("div",{mx:"auto",display:"flex",flex:1,flexDirection:"column",alignItems:"center"}),ep=(0,p.I4)("div",{display:"flex",flexDirection:"row",width:"100%",height:"60.5px",borderBottom:"0.5px solid $neutral10_30"}),em=(0,p.I4)("div",{position:"relative",width:"100%",height:"80%",marginTop:"auto",marginBottom:"auto",background:"$loading",borderRadius:"4px",marginRight:"20px"}),eh=(0,p.I4)("div",{display:"flex",alignItems:"center",flexDirection:"column","@lg":{flexDirection:"row"},"& svg":{width:20,height:20}}),ey=(0,p.I4)("div",{marginBottom:4,"@lg":{marginRight:10}}),ef=(0,p.I4)("div",{display:"flex",paddingTop:1,alignItems:"center",justifyContent:"center"});function e_(e){let{tags:t}=e,[i,a]=v.useState(0);return(v.useEffect(()=>{if(1>=((null==t?void 0:t.length)||0))return;let e=setInterval(()=>{a(e=>e+1>=((null==t?void 0:t.length)||0)?0:++e)},3e3);return()=>{clearInterval(e)}},[null==t?void 0:t.length]),(null==t?void 0:t.length)&&t)?(0,n.jsx)(ex,{children:(0,n.jsx)(s.hw,{src:t[i],style:{width:22,height:25},alt:"provider-tag"})}):null}let ex=(0,p.I4)("div",{position:"absolute",top:-8,right:0}),ev=(0,p.I4)("div",{display:"flex",background:"$primary1",flexDirection:"column",flex:1,py:"16px","@lg":{}}),ew=(0,p.I4)("div",{display:"flex",flexWrap:"nowrap",rowGap:16,justifyContent:"flex-start","@lg":{flexWrap:"wrap",justifyContent:"center"}});(0,p.I4)("div",{display:"flex",paddingTop:32,alignItems:"center",justifyContent:"center"});let eb=(0,p.I4)("div",{position:"relative",background:"url(/assets/provider-bg.webp)"}),ej=(0,p.I4)("div",{position:"relative",background:"rgba(0, 0, 0, 0.2)",py:"8px",overflow:"auto","@lg":{py:"12px"}}),eI=(0,p.I4)("div",{display:"flex",flexDirection:"column",alignItems:"center",minWidth:94}),eN=(0,p.I4)("div",{position:"relative",width:40,height:40,background:"white",borderRadius:"50%","@md":{width:40,height:40}}),ek=(0,p.I4)("div",{borderRadius:"50%",padding:2,marginBottom:8,cursor:"pointer"});function eC(e){let{category:t,provider:i}=e,{website:r}=(0,a.NQ)(),{t:p}=(0,f.A)(),{theme:_}=(0,m.DP)(),w=v.useRef(),{onScrollCapture:b,overflow:j}=(0,h.Y)({ref:w}),I=v.useMemo(()=>{var e,i;let n=null==r||null==(e=r.menuData)?void 0:e.find(e=>e.name===t);return[...Array.from(new Map((null==n||null==(i=n.providers)?void 0:i.map(e=>[e.name,e]))||[]).values())]},[t,null==r?void 0:r.menuData]),N=v.useCallback(e=>{w.current&&(w.current.scrollLeft+=e)},[]);return(0,n.jsxs)(s.UC,{mobileOnly:!0,children:[(0,n.jsx)(g.A,{}),(0,n.jsx)(eM,{id:"breadcrumb",children:(0,n.jsx)(d.A,{})}),(0,n.jsxs)(y.J3,{children:[(0,n.jsxs)(eb,{children:[j.left&&(0,n.jsx)(eD,{onClick:()=>N(-200),style:{left:0,transform:"translateY(-50%)",background:"linear-gradient(90deg, ".concat(_.colors.primary1," 0,transparent)")},children:(0,n.jsx)(o.yJ,{color:_.colors.primary4,width:20,height:20})}),(0,n.jsx)(ej,{ref:w,onScrollCapture:b,children:(0,n.jsx)(u.w,{variant:"withMaxWidth",children:(0,n.jsx)(ew,{children:I.map((e,a)=>(0,n.jsxs)(v.Fragment,{children:[0!==a&&(0,n.jsx)(eR,{}),(0,n.jsxs)(eI,{children:[(0,n.jsx)(x(),{href:"/games/".concat(t,"/").concat(e.name),className:eA.aLink(),children:(0,n.jsx)(ek,{className:(0,l.AH)({background:(null==e?void 0:e.name)===i?_.colors.secondary1:void 0})(),children:(0,n.jsxs)(eN,{children:[(0,n.jsx)(c.C8,{src:e.circleImage,alt:"",style:{padding:"2px"}}),e.isMaintenance&&(0,n.jsx)(eB,{children:(0,n.jsx)(ez,{children:(0,n.jsx)(eW,{children:p("common:under_maintenance")})})}),(0,n.jsx)(e_,{tags:e.tags})]})})}),(0,n.jsx)(s.EY,{variant:"captionRegular",style:{color:(null==e?void 0:e.name)===i?_.colors.primary4:"white",fontWeight:(null==e?void 0:e.name)===i?"bold":"initial",textTransform:"uppercase"},children:e.name})]})]},a.toString()))})})}),j.right&&(0,n.jsx)(eD,{onClick:()=>N(200),style:{right:0,transform:"translateY(-50%)",background:"linear-gradient(270deg, ".concat(_.colors.primary1," 0,transparent)")},children:(0,n.jsx)(o.vv,{color:_.colors.primary4,width:20,height:20})})]}),(0,n.jsx)(eS,{children:(0,n.jsx)(u.w,{variant:"withMaxWidth",children:(0,n.jsx)(d.A,{})})}),(0,n.jsx)(ev,{children:(0,n.jsx)(u.w,{variant:"withMaxWidth",children:(0,n.jsx)(ei,{category:t,provider:i})})})]})]})}let eA={aLink:(0,l.AH)({textDecoration:"none"})},eM=(0,p.I4)("div",{display:"initial","@lg":{display:"none"}}),eS=(0,p.I4)("div",{py:16,display:"none",background:"$primary1","@lg":{display:"initial"}}),eR=(0,p.I4)("div",{marginRight:8,"@md":{marginRight:32}}),eB=(0,p.I4)("div",{position:"absolute",inset:0,display:"flex",pointerEvents:"none"}),ez=(0,p.I4)("div",{m:"auto",display:"flex",ml:"-18.5%",borderRadius:4,opacity:.8,minWidth:74,background:"$bgLinear"}),eW=(0,p.I4)("div",{fontSize:8,fontWeight:"500",color:"white",width:"max-content",padding:4,m:"auto"}),eD=(0,p.I4)("div",{position:"absolute",top:"50%",transform:"translateY(-50%)",height:"100%",transition:"opacity 0.3s ease",zIndex:2,display:"flex",alignItems:"center",px:16});var eE=!0;function eT(e){let{category:t,provider:i,...l}=e;return(0,n.jsx)(a.Ay,{value:l,children:(0,n.jsx)(r.m,{children:(0,n.jsx)(eC,{category:t,provider:i})})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[2252,9570,9089,8827,4346,2961,4314,9417,636,6593,8792],()=>t(69402)),_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.