PageSourceSearch

https://cm88betslogin.com/_next/static/chunks/05__g_rwrkf4i.js

js cm88betslogin.com collected 2026-10-10 01:59:40 UTC 62,070 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68307,e=>{"use strict";var t=e.i(43476);e.s(["default",0,e=>(0,t.jsxs)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{cx:12,cy:12,r:3.5,stroke:e.fill||"#fff"}),(0,t.jsx)("path",{d:"M20.188 10.934c.388.472.582.707.582 1.066 0 .359-.194.594-.582 1.066C18.768 14.79 15.636 18 12 18c-3.636 0-6.768-3.21-8.188-4.934-.388-.472-.582-.707-.582-1.066 0-.359.194-.594.582-1.066C5.232 9.21 8.364 6 12 6c3.636 0 6.768 3.21 8.188 4.934Z",stroke:e.fill||"#fff"})]})])},58928,e=>{"use strict";var t=e.i(43476);e.s(["default",0,e=>(0,t.jsxs)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.92 12.799a4 4 0 0 0-4.719-4.719l.923.923a3 3 0 0 1 2.873 2.873l.923.923Zm-6.527-2.285a3 3 0 0 0 4.093 4.093l.726.726a4 4 0 0 1-5.545-5.545l.726.726Z",fill:e.fill||"#fff"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m16.154 17.275-.735-.734c-1.064.579-2.22.959-3.419.959-1.672 0-3.262-.74-4.633-1.726-1.367-.984-2.474-2.182-3.17-3.026-.423-.515-.467-.604-.467-.748 0-.143.044-.233.468-.748.67-.812 1.72-1.953 3.018-2.915L6.5 7.623C5.17 8.63 4.104 9.793 3.426 10.616l-.059.072c-.33.399-.637.77-.637 1.312s.307.913.637 1.312l.059.072c.725.88 1.894 2.149 3.357 3.201C8.243 17.635 10.036 18.5 12 18.5c1.51 0 2.92-.511 4.154-1.225ZM9.19 6.07c.88-.35 1.824-.569 2.81-.569 1.964 0 3.758.865 5.217 1.915 1.463 1.052 2.632 2.321 3.357 3.201l.059.072c.33.399.637.77.637 1.312s-.307.913-.637 1.312l-.059.072a19.988 19.988 0 0 1-1.983 2.086l-.708-.708a18.943 18.943 0 0 0 1.92-2.014c.424-.515.467-.604.467-.748 0-.143-.043-.233-.468-.748-.695-.844-1.802-2.042-3.17-3.026C15.263 7.24 13.673 6.5 12 6.5c-.694 0-1.375.128-2.031.348l-.78-.78Z",fill:e.fill||"#fff"}),(0,t.jsx)("path",{d:"m5 2 16 16",stroke:e.fill||"#fff"})]})])},37676,e=>{"use strict";var t=e.i(15379),l=e.i(75545),a=e.i(53667);async function s(e){return a.default.get(t.default.GAME_API.SLOT_GAMES_BY_MENU.URL,{...t.default.GAME_API.SLOT_GAMES_BY_MENU.ADDITIONAL_PARAMS,...e},l.default.NO_CACHE_HEADERS)}async function i(e){return a.default.put(t.default.GAME_API.FAVOURITE_GAME.URL,e).then(e=>e.data).catch(e=>!1)}async function r(e){let{requestType:l,...s}=e;return a.default.post(`${t.default.GAME_API.PLAY.URL}/${l}`,s)}async function n(e){return a.default.get(t.default.GAME_API.GET_GAMES_DATASET.URL,e)}e.s(["favouriteGame",0,i,"getGameDataset",0,n,"getSecureGameUrl",0,r,"getSlotGamesByMenu",0,s])},59497,17232,45937,e=>{"use strict";var t,l=e.i(43476);e.s(["default",0,e=>(0,l.jsx)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,l.jsx)("path",{d:"M19.653 18.529 14.407 0H9.593L4.347 18.529 0 19.978V24h24v-4.022l-4.347-1.45ZM10.657 1.406h2.686l.797 2.813H9.86l.797-2.813ZM9.462 5.625h5.076l2.416 8.531H7.046l2.416-8.531Zm-2.814 9.938h10.704l.796 2.812H5.852l.796-2.813Zm15.946 7.03H1.406v-1.602l3.63-1.21h13.928l3.63 1.21v1.603Z",fill:"#fff"})})],59497);var a=e.i(75545),s=((t=s||{}).LINK="link",t.HTML="html",t.IFRAME_LINK="iframe_link",t);e.s(["default",0,s],17232);var i=e.i(37676),r=e.i(28176),n=e.i(19570),o=e.i(84131),d=e.i(55066),c=e.i(14677);async function u(e){try{let t=s.LINK,l="",a="",{data:r,headers:o}=await (0,i.getSecureGameUrl)(e),d=o["content-type"];if("string"==typeof d&&d.includes("text/")?(t=s.HTML,l=r):r&&((0,n.isStringEmpty)(r.widgetUrl)||"8cd13357-5c81-11f0-b125-42010a94004e"!==e.gameUid?l=r.gameUrl:(t=s.IFRAME_LINK,l=r.widgetUrl,a=r.gameUrl)),(0,n.isStringEmpty)(l))throw Error(r.description||"Game session not found");return{launchType:t,gameDataUrl:l,lobbyGameUrl:a}}catch(e){throw Error("Error fetching game session")}}e.s(["getGameToken",0,u,"play",0,function({payload:e,account:t,onError:l}){try{if((0,n.isObjectEmpty)(t)){l&&l({status:"login"});return}
1let{game:s,isDemo:i,gameType:u,gameTypeDetail:m,provider:f}=e,{uuid:h,parentUuid:p}=s,{adBlock:x,gameUrl:g,name:b}=s,{gameUid:v,brandUid:w}=s;g&&!g.match(/http(s?):\/\/(.+)/)&&(w=g),(0,n.isStringEmpty)(v)&&(v=h??p??"");let j=(0,d.sanitizeObject)({game_id:v,game_name:b,provider_id:f.providerId,provider_name:(0,d.toTitleCase)(f.providerName),brand_id:w,game_type:(0,d.toTitleCase)(u),game_type_detail:m}),y=(0,c.v4)();(0,r.sendDataLayerEvent)("play_game",j,{eventId:y});let N=(0,d.sanitizeObject)({bid:w,gid:v});i&&(N.demo=!0),window.open(`/play${(0,d.getQueryUrlParams)(N)}`,"_blank");let A=o.default.getItem(a.default.STORAGE_KEY.PLAY_HISTORY,[]),C=A.findIndex(e=>e.uuid===h);return C>-1?A.length>1&&(A.splice(C,1),A.unshift(s)):A=[s,...A],A.length>5&&A.pop(),o.default.setItem(a.default.STORAGE_KEY.PLAY_HISTORY,A),!0}catch(e){l&&l(e.data)}}],45937)},7740,e=>{"use strict";var t,l=((t=l||{}).ACTIVE="active",t.MAINTENANCE="maintenance",t.OFFLINE="offline",t.INACTIVE="inactive",t);e.s(["default",0,l])},74576,1346,e=>{"use strict";var t=e.i(43476),l=e.i(58222),a=e.i(38276);let s=e=>(0,t.jsx)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"m4.45 13.908 6.953 6.531c.24.225.36.338.5.366a.5.5 0 0 0 .193 0c.142-.028.261-.14.5-.366l6.953-6.53a5.203 5.203 0 0 0 .549-6.983l-.31-.399c-1.968-2.536-5.918-2.111-7.301.787a.54.54 0 0 1-.974 0C10.13 4.416 6.18 3.99 4.212 6.527l-.31.4a5.203 5.203 0 0 0 .549 6.981Z",fill:e.fill||"#7E869E",stroke:"#ccc",strokeWidth:1.8})});var i=e.i(54430),r=e.i(59497),n=e.i(7740),o=e.i(37676),d=e.i(45937),c=e.i(37112),u=e.i(30415),m=e.i(19570);function f(e){let t=e.replace("#","");return(299*parseInt(t.substring(0,2),16)+587*parseInt(t.substring(2,4),16)+114*parseInt(t.substring(4,6),16))/1e3>128}e.s(["isHexLightColor",0,f],1346);var h=e.i(33899),p=e.i(55066),x=e.i(48148),g=e.i(57688),b=e.i(18566),v=e.i(71645);e.s(["default",0,function(e){let w=(0,x.useTranslations)(),{showBadge:j=!1,showFavourite:y=!1,gameType:N}=e,{name:A,logoUrl:C,status:E,uuid:k,type:I,gameUniqueCode:T}=e,{logo:S,provider:R,category:_,providerCode:z,types:$,demo:M,typesDetail:U}=e,{detail:L,mainTypes:O,gameVendorId:D}=e,{account:P}=(0,v.useContext)(u.AuthContext),F=(0,b.useRouter)(),B=(0,h.default)(),[H,G]=(0,v.useState)(!1),[Y,Z]=(0,v.useState)(!1),[V,W]=(0,v.useState)(!1),[q,K]=(0,v.useState)($?.includes("favourite")||!1),J=E===n.default.MAINTENANCE||E===n.default.OFFLINE,X=e=>{let t=(0,p.getPathUrl)(e).split("/");if(["SPORTS","CASINO","LOTTERY"].includes(I?.toUpperCase())){t.splice(t.length-1,0,"v3/game-thumbnail");let e=t.join("/").replace(".jpg",".webp");return(0,p.getNewImageUrl)(e)}{t.splice(0,1);let e=t.join("/").replace(".jpg",".webp");return(0,p.getNewImageUrl)(e)}},Q=async(t=!1)=>{G(!0);let l=$?.map(e=>(0,p.toTitleCase)(e));await (0,d.play)({payload:{game:{...e},gameType:L?.type??I??_??(O?O[0]:null)??$[0]??N??null,gameTypeDetail:I??l?.join(", ")??N??null,provider:{providerId:D??z,providerName:L?.vendor??R?.name??z},isDemo:t},account:P,onError:t=>{if(t&&"login"===t.status){let e={type:c.NotificationAlertType.WARNING,data:{title:w("game.lottery-game-card.auth.error-message"),description:w("game.lottery-game-card.auth.error-description")}};return window.dispatchEvent(new CustomEvent("notification-alert",{detail:e})),F.push("/auth/login")}let l=new CustomEvent("notification-alert",{detail:{type:c.NotificationAlertType.WARNING,data:{title:"Play",description:`Terjadi kesalahan saat meluncurkan ${e?.name}. (${t?.statusCode||"ERR_TIMEOUT"}) Silahkan hubungi CS`}}});window.dispatchEvent(l)}}),G(!1)},ee=(0,v.useCallback)(e=>{async function l(e){let{uuid:t,add:l=!1,remove:a=!1}=e,s=[],i=[];l?s.push({uuid:t}):a&&i.push({uuid:t}),await (0,o.favouriteGame)({add:s,remove:i})}if((0,m.isObjectEmpty)(P)){let e={type:c.NotificationAlertType.WARNING,data:{title:w("game.modal.favorit.label"),icon:(0,t.jsx)(i.default,{size:50}),description:w("game.modal.favorit.login.label")}};window.dispatchEvent(new CustomEvent("notification-alert",{detail:e})),F.push("/auth/login")}else try{K(e),l({uuid:k,add:e,remove:!e}),Z(!0),setTimeout(()=>{Z(!1)},3e3),window.dispatchEvent(new CustomEvent("update-favourite-store",{detail:{uuid:k,favourite:e}}))}catch{K(!1)}finally{}},[]);return(0,v.useEffect)(()=>{let e=document.body.classList;V?(e.add("fixed"),e.add("top-0"),e.add("bottom-0"),e.add("left-0"),e.add("right-0")):(e.remove("fixed"),e.remove("top-0"),e.remove("bottom-0"),e.remove("left-0"),e.remove("right-0"))},[V]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[!B&&!J&&(0,t.jsx)("button",{"aria-label":"Mobile game modal opener","aria-labelledby":"Mobile game modal opener",className:"absolute h-full w-full z-50 lg:hidden",onClick:()=>W(!V)}),(0,t.jsxs)("div",{className:"relative z-10 rounded-xl overflow-hidden cursor-pointer group",children:[J&&(0,t.jsxs)("section",{className:"flex items-center justify-center rounded-xl absolute top-0 bottom-0 left-0 right-0 bg-black/80 z-[65]",children:["maintenance"===E&&(0,t.jsxs)("div",{children:[(0,t.jsx)(r.default,{size:40,className:"mx-auto"}),(0,t.jsx)("p",{className:"text-sm text-center mt-2 text-white",children:w("game.lottery-game-card.maintenance")})]}),"offline"===E&&(0,t.jsx)("p",{className:"text-xs text-white",children:E.toUpperCase()})]}),R?.badge&&j&&(0,t.jsx)("section",{className:"absolute z-10 top-0 right-0 bg-black w-8 h-8 p-1 rounded-bl-2xl",children:(0,t.jsx)(g.default,{width:"0",height:"0",sizes:"100vw",className:"w-11/12 ml-auto",src:(0,p.getNewImageUrl)(R.badge),quality:20,fetchPriority:"low",alt:`${A}-${_}-${z}`,placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,p.toBase64)((0,l.default)())}`})}),U&&U?.length>0&&(0,t.jsx)("div",{className:"absolute top-1 left-1 z-10 h-8 lg:h-9 overflow-hidden",children:(0,t.jsx)("div",{className:`${U.length>2?"relative":""}`,children:U.map((e,l)=>{let{name:a,color:s}=e;return(0,t.jsx)("span",{className:` text-[9px] text-center px-1 mb-1 rounded-full block font-semibold ${f(s)?"text-black":"text-white"}`,style:{backgroundColor:s,animation:U.length>2?`animateScroll ${2*U.length}s infinite linear`:"",animationDelay:`${U.length-2}s`},children:a.toUpperCase()},`${a}-tag-${A}-1`)})})}),(0,t.jsx)("figure",{className:"w-full overflow-hidden",children:(0,t.jsx)(g.default,{width:300,height:300,quality:50,className:`rounded-xl w-full ${J?"":"group-hover:lg:scale-110 group-hover:lg:blur-sm transition-all duration-500 ease-in-out"}`,src:`${S?X(S):X(C)||"/"}`,alt:`${N||I}-${R?.name||T||""}-${A}`,priority:!0,fetchPriority:"high",placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,p.toBase64)((0,l.default)())}`})}),!J&&(0,t.jsx)("div",{className:"hidden lg:flex items-center justify-center translate-y-full group-hover:translate-y-0 absolute z-[15] left-0 right-0 top-0 bottom-0 bg-black/80 transition-all duration-500 ease-out",children:(0,t.jsxs)("div",{children:[M&&(0,t.jsx)("button",{disabled:H,"aria-label":`demo-play-button-${A}`,className:`w-full text-xs rounded-full mb-3 py-2 px-6 justify-center ${H?"bg-separator":"bg-white"} hover:bg-white/90 text-black`,onClick:()=>Q(!0),children:w("game.modal.demo.btn")}),(0,t.jsx)("button",{disabled:H,"aria-label":`play-button-${A}`,className:`w-full text-xs rounded-full py-2 px-6 justify-center ${H?"bg-separator":"bg-primary"} hover:brightness-90 transition-all duration-300 ease-in-out`,onClick:()=>Q(),children:w("game.modal.play.btn")})]})})]}),y&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{onClick:()=>ee(!q),className:"absolute right-1 bottom-6 lg:bottom-8 z-[60] cursor-pointer",children:(0,t.jsxs)("article",{className:"relative p-[3px] lg:p-1",children:[(0,t.jsx)("div",{className:"bg-background-default absolute left-0 right-0 top-0 bottom-0 opacity-60 rounded-full"}),(0,t.jsx)("div",{className:"relative z-2 d-flex justify-content-center align-items-center",children:(0,t.jsx)(s,{size:20,fill:q?"#D90000":"transparent"})})]})}),Y&&(0,t.jsx)("section",{className:`absolute top-0 bottom-0 left-1 right-1 items-center ${V?"hidden":"flex"} z-[15]`,children:(0,t.jsx)("p",{className:"text-[10px] lg:text-xs px-1 mb-5 text-center bg-background-default white-space-break-spaces rounded-md",children:q?w("game.modal.favorit.added.label"):w("game.modal.favorit.removed.label")})})]}),(0,t.jsx)("p",{className:"text-[11px] md:text-xs mt-1 lg:mt-2 truncate",children:A})]}),!B&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{onClick:()=>W(!1),className:`lg:hidden fixed z-[1000] transition duration-300 ease-in-out ${V?"bg-black/75 block w-screen h-screen top-0 left-0":" w-0"}`}),(0,t.jsxs)("section",{className:`fixed  z-[9999] left-0 right-0 bottom-0 overflow-hidden bg-background-default rounded-tl-3xl rounded-tr-3xl transition-all duration-300 ease-in ${V?"max-h-[70vh] landscape:max-h-[85vh] px-4 md:px-5":"max-h-0"}`,children:[(0,t.jsx)("div",{className:"flex justify-between px-4 md:px-0 pt-5 mb-3 lg:hidden",children:(0,t.jsx)("button",{onClick:()=>W(!1),className:"ml-auto",children:(0,t.jsx)(a.default,{size:24,fill:"var(--base)"})})}),(0,t.jsxs)("div",{className:"pb-8 md:pb-24 md:px-5 md:flex md:flex-auto md:gap-x-8 md:w-4/5 landscape:flex md:mx-auto",children:[(0,t.jsx)("figure",{className:"w-2/4 landscape:w-[30%] mx-auto overflow-hidden relative",children:(0,t.jsx)(g.default,{width:"0",height:"0",sizes:"100vw",className:"w-full ml-auto rounded-xl",src:(0,p.getNewImageUrl)(S||C||"/"),alt:`${N}-${R?.name}-${A}`,placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,p.toBase64)((0,l.default)())}`})}),(0,t.jsxs)("div",{className:"w-full md:w-2/4 landscape:w-1/2",children:[(0,t.jsx)("p",{className:"text-lg md:text-xl font-medium mt
1-3 md:mt-0",children:A}),y&&(0,t.jsxs)("button",{onClick:()=>ee(!q),className:"border border-separator px-3 py-1 mt-2 rounded-full",children:[(0,t.jsx)("div",{className:"relative z-2 d-flex justify-content-center align-items-center",children:(0,t.jsx)(s,{size:24,fill:q?"#D90000":"transparent"})}),(0,t.jsx)("p",{className:"text-sm px-1 text-center bg-background-default white-space-break-spaces rounded-md",children:q?w("game.modal.favorit.label"):w("game.modal.favorit.btn")})]}),(0,t.jsxs)("div",{className:"flex md:flex-wrap gap-x-5 md:gap-5 mt-4",children:[M&&(0,t.jsx)("button",{disabled:H,"aria-label":`demo-play-button-${A}`,className:`w-1/2 md:w-full justify-center py-2 rounded-xl border ${H?"text-separator border-separator":"text-primary border-primary"}`,onClick:()=>Q(!0),children:"Demo"}),(0,t.jsx)("button",{disabled:H,"aria-label":`demo-play-button-${A}`,className:`${!M?"w-full":"w-1/2 md:w-full"} justify-center py-2 rounded-xl ${H?"bg-separator":"bg-primary"} text-white`,onClick:()=>Q(),children:"Main Game"})]})]}),Y&&(0,t.jsx)("div",{className:"absolute left-0 right-0 top-0 bottom-0 flex justify-center items-center z-10",children:(0,t.jsx)("p",{className:"text-xs px-5 py-3 mb-5 rounded-lg bg-black/50 text-white",children:q?"Game ditambahkan ke favorit":"Game dihapus dari favorit"})})]})]})]})]})}],74576)},32189,(e,t,l)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},65156,(e,t,l)=>{"use strict";var a=e.r(32189);function s(){}function i(){}i.resetWarningCache=s,t.exports=function(){function e(e,t,l,s,i,r){if(r!==a){var n=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw n.name="Invariant Violation",n}}function t(){return e}e.isRequired=e;var l={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:s};return l.PropTypes=l,l}},45009,(e,t,l)=>{t.exports=e.r(65156)()},15676,e=>{"use strict";var t=e.i(15379),l=e.i(53667),a=e.i(75545);async function s(e){return l.default.get(t.default.TRANSACTION_API.USER_TRANSACTIONS.HISTORY.URL,{...t.default.TRANSACTION_API.GAME_REPORT.HISTORY.ADDITIONAL_PARAMS,...e},a.default.NO_CACHE_HEADERS)}async function i(e){return l.default.get(t.default.TRANSACTION_API.PROMO_TRANSACTIONS.URL,{...t.default.TRANSACTION_API.PROMO_TRANSACTIONS.ADDITIONAL_PARAMS,...e},a.default.NO_CACHE_HEADERS)}async function r(e){return l.default.post(t.default.TRANSACTION_API.USER_CONFIGURATIONS.URL,e).then(e=>e.data)}async function n(e){return l.default.put(t.default.TRANSACTION_API.PUT_USER_CONFIGURATIONS.URL,e).then(e=>e.data)}async function o(e,s=!1){return l.default.get(t.default.TRANSACTION_API.USER_CONFIGURATIONS.URL,e,s?void 0:a.default.NO_CACHE_HEADERS).then(e=>e.data).catch(e=>[])}e.s(["getPromoTransactions",0,i,"getUserConfigurations",0,o,"getUserTransactions",0,s,"insertUserConfiguration",0,r,"updateUserConfiguration",0,n])},89257,e=>{"use strict";var t=e.i(43476),l=e.i(58222),a=e.i(59497),s=e.i(7740),i=e.i(45937),r=e.i(37112),n=e.i(30415),o=e.i(55066),d=e.i(48148),c=e.i(57688),u=e.i(18566),m=e.i(71645);e.s(["default",0,function(e){var f;let h,p,{categoryUniqueCode:x,imageUrl:g,name:b,games:v}=e,{logo:w,vendorUniqueCode:j}=e,{gameType:y,imagePriority:N,isGamelist:A=!1}=e,{account:C}=(0,m.useContext)(n.AuthContext),E=(0,u.useRouter)(),k=1===v.length&&v[0].status===s.default.MAINTENANCE,[I,T]=(0,m.useState)(!1),S=(0,d.useTranslations)(),R=async()=>{e&&e.games&&Array.isArray(e.games)&&1===e.games.length&&e.games[0].gameUrl?E.push(`${y}/${(0,o.slugify)(x)}${A?`/${(0,o.slugify)(j)}`:""}`):e&&e.games&&Array.isArray(e.games)&&e.games.length>1?E.push(`${y}/${(0,o.slugify)(x)}`):(T(!0),await (0,i.play)({payload:{game:v[0],gameType:y,gameTypeDetail:y,provider:{providerId:x,providerName:b},isDemo:!1},account:C,onError:t=>{if("login"===t.status){let e={type:r.NotificationAlertType.WARNING,data:{title:S("game.lottery-game-card.auth.error-message"),description:S("game.lottery-game-card.auth.error-description")}};return window.dispatchEvent(new CustomEvent("notification-alert",{detail:e})),E.push("/auth/login")}let l=new CustomEvent("notification-alert",{detail:{type:r.NotificationAlertType.WARNING,data:{title:"Play",description:S("game.lottery-game-card.error-description",{value:`${e?.name}. (${t?.statusCode||"ERR_TIMEOUT"}) `})}}});window.dispatchEvent(l)}}),T(!1))};return(0,t.jsxs)("button",{disabled:k||I,className:"relative pb-3 w-full group overflow-hidden",onClick:()=>R(),children:[(0,t.jsx)("div",{className:"w-full rounded-xl lg:rou
1nded-2xl",style:{boxShadow:"inset 0px 0px 28.8428px rgba(204, 210, 227, 0.5)"},children:(0,t.jsxs)("figure",{className:"relative overflow-hidden rounded-xl lg:rounded-2xl",children:[k&&(0,t.jsx)("section",{className:"flex items-center justify-center rounded-xl absolute top-0 bottom-0 left-0 right-0 bg-black/80 z-10",children:(0,t.jsxs)("div",{children:[(0,t.jsx)(a.default,{size:40,className:"mx-auto"}),(0,t.jsx)("p",{className:"text-sm text-center mt-2 text-white",children:S("game.lottery-game-card.maintenance")})]})}),(0,t.jsx)(c.default,{width:"0",height:"0",sizes:"100vw",className:`w-full ${k?"":"group-hover:lg:scale-110"} transition-all duration-300 ease-in-out`,src:(f=g??w,h=(0,o.getPathUrl)(f).split("/"),A||(h.splice(h.length-1,0,"v3"),h.splice(0,1)),p=h.join("/").replace(".jpg",".png"),(0,o.getNewImageUrl)(p)),alt:`${y}-${b}`,priority:N??!0,placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,o.toBase64)((0,l.default)())}`})]})}),(0,t.jsxs)("div",{className:"absolute left-2 right-2 md:left-6 md:right-6 bottom-1 z-50",children:[(0,t.jsx)("p",{className:"text-xs md:text-sm text-center truncate z-10 relative px-2 py-[2px] md:py-1 bg-background-secondary rounded-full",children:b}),(0,t.jsx)("div",{className:"rainbow left-[-1px] right-[-1px] top-[-1px] bottom-[-1px] rounded-full"})]})]})}],89257)},60542,e=>{"use strict";var t=e.i(15379),l=e.i(75545),a=e.i(53667);async function s(){return a.default.get(t.default.AUTHENTICATION_API.VIP_CURRENT_LEVEL.URL,void 0,l.default.NO_CACHE_HEADERS).then(e=>e.data.result[0])}async function i(){return a.default.get(t.default.AUTHENTICATION_API.VIP_WITH_DETAILS.URL,void 0,l.default.NO_CACHE_HEADERS)}async function r(e){return await a.default.post(t.default.AUTHENTICATION_API.CLAIM_REWARD.url,{levelId:e}).then(e=>!0).catch(e=>!1)}e.s(["claimVIPReward",0,r,"getVIPCurrentLevel",0,s,"getVIPLevels",0,i])},76691,e=>{"use strict";var t=e.i(43476),l=e.i(30415),a=e.i(70703),s=e.i(71645);let i=(0,a.default)(()=>e.A(6013),{loadableGenerated:{modules:[2889]}});e.s(["default",0,function(){let{account:e}=(0,s.useContext)(l.AuthContext);return e?(0,t.jsx)(s.Suspense,{children:(0,t.jsx)("div",{className:"py-5 lg:p-0 px-3 lg:mt-5 bg-background-tertiary lg:bg-transparent w-full",children:(0,t.jsx)(i,{})})}):null}])},43786,e=>{"use strict";var t=e.i(43476),l=e.i(68307);let a=e=>(0,t.jsxs)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.879 3.879C2 4.757 2 6.172 2 9v6c0 2.828 0 4.243.879 5.121C3.757 21 5.172 21 8 21h10c.93 0 1.395 0 1.776-.102a3 3 0 0 0 2.122-2.122C22 18.395 22 17.93 22 17h-6a3 3 0 1 1 0-6h6V9c0-2.828 0-4.243-.879-5.121C20.243 3 18.828 3 16 3H8c-2.828 0-4.243 0-5.121.879ZM7 7a1 1 0 0 0 0 2h3a1 1 0 1 0 0-2H7Z",fill:e.fill||"#D90000"}),(0,t.jsx)("path",{d:"M17 14h-1",stroke:e.fill||"#D90000",strokeWidth:2,strokeLinecap:"round"})]});var s=e.i(25741),i=e.i(22016),r=e.i(60542),n=e.i(58222),o=e.i(58928),d=e.i(71770),c=e.i(30415),u=e.i(29135),m=e.i(19570),f=e.i(33899),h=e.i(55066),p=e.i(70703),x=e.i(71645),g=e.i(76691),b=e.i(48148);let v=(0,p.default)(()=>e.A(56200),{loadableGenerated:{modules:[58235]}}),w=(0,p.default)(()=>e.A(11552),{loadableGenerated:{modules:[89703]}}),j=`data:image/svg+xml;base64,${(0,h.toBase64)((0,n.default)())}`;e.s(["default",0,function(e){let{vip:n,sidebar:h,homePage:p}=e,{vip:{my:y}}=(0,u.useStore)("account"),{config:N}=(0,x.useContext)(d.AppConfigurationContext),{account:A}=(0,x.useContext)(c.AuthContext),C=(0,u.useDispatch)(),[E,k]=(0,x.useState)(!0),I=(0,f.default)(),T=(0,b.useTranslations)();return(0,x.useEffect)(()=>{async function e(){try{let e=await (0,r.getVIPCurrentLevel)();e&&C({type:"account/setMyVIP",payload:e})}catch{return null}}A&&(0,m.isObjectEmpty)(y)&&N.vipSetting&&e()},[A?.username,y,N.vipSetting]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:`${h?"w-full lg:px-4 pt-3":!n?"w-full lg:w-[55%] lg:px-8 pt-3":"w-7/12 lg:w-[45%] lg:px-8 items-center lg:pt-3"} flex flex-wrap px-4`,children:[(0,t.jsxs)("article",{className:"w-full flex items-center mb-1 lg:mb-3",children:[(0,t.jsx)(a,{size:24,fill:"var(--primary)"}),(0,t.jsx)("span",{className:"text-xs lg:text-sm text-caption px-2",children:T("home.account.accountBalance")}),(0,t.jsx)("button",{onClick:()=>k(!E),children:E?(0,t.jsx)(l.default,{size:20,fill:"var(--caption)"}):(0,t.jsx)(o.default,{size:20,fill:"var(--caption)"})})]}),(0,t.jsxs)("div",{className:"w-full flex lg:gap-x-5",children:[(0,t.jsx)("div",{className:`${h?"w-full":"lg:w-2/3"} flex items-center`,children:(0,t.jsx)(v,{homePage:p,show:E})}),I&&!h?(0,t.jsx)("div",{className:"lg:w-1/3 lg:-mt-5",children:(0,t.jsx)(g.default,{})}):null]})]}),n&&!h&&!(0,m.isObjectEmpty)(y)&&(0,t.jsxs)("div",{className:"w-5/12 lg:w-[20%] lg:pt-3 px-4 lg:px-8 border-l border-separator lg:
1order-last",children:[(0,t.jsxs)("div",{className:"w-full flex items-center mb-2",children:[(0,t.jsx)(w,{width:"0",height:"0",sizes:"100vw",className:"w-6 lg:w-8 h-auto",src:y.userLevel.level.imageUrl||j,alt:"VIP Icon",placeholder:"blur",blurDataURL:j}),(0,t.jsxs)(i.default,{href:"/account/vip",className:"flex items-center ml-2 lg:ml-4 lg:font-medium",children:[(0,t.jsx)("span",{className:"text-xs lg:text-sm lg:mr-3 text-caption border-b border-transparent hover:lg:border-primary transition-all duration-300 ease-out",children:T("common.credit.level.label")}),(0,t.jsx)(s.default,{size:18,fill:"var(--caption)"})]})]}),(0,t.jsx)("p",{className:"font-semibold mt-1 lg:mt-4",children:y.userLevel.level.name})]})]})}],43786)},65146,e=>{"use strict";var t=e.i(15379),l=e.i(55066);e.s(["getLeaderboardData",0,function(e){let a={...t.default.LEADERBOARD_API.GET_BOARD.ADDITIONAL_PARAMS,...e};return new EventSource(`${t.default.LEADERBOARD_API.GET_BOARD.URL}${(0,l.getQueryUrlParams)(a)}`)}])},25378,e=>{"use strict";var t=e.i(43476),l=e.i(58222),a=e.i(19570),s=e.i(55066),i=e.i(70703),r=e.i(57688),n=e.i(22016),o=e.i(71645);let d=(0,i.default)(()=>e.A(20177),{loadableGenerated:{modules:[10246]}});e.s(["default",0,function(e){let{imageUrl:i,name:c,startDate:u,endDate:m,slug:f,id:h,taken:p,promoType:x,homePage:g,translation:b}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(n.default,{href:`/promo/${f}?q=${h}`,className:`${g?"block":" gap-x-3 lg:flex-wrap"} bg-background-tertiary px-3 lg:px-4 py-2 lg:pt-4 lg:pb-2 rounded-md relative`,children:[p&&(0,t.jsx)("span",{className:"absolute z-10 left-0 top-2 text-[10px] font-medium px-3 py-[1px] rounded-e-full bg-background-secondary",children:b["deposit.promo-card.chip.claimed"]}),!(0,a.isMoreThanAMonth)(u)&&(0,t.jsxs)("span",{className:`${p?"hidden":""} absolute z-10 left-0 top-2 text-[10px] font-medium px-3 py-[1px] rounded-e-full bg-success`,children:[(0,t.jsx)("span",{className:"animate-ping absolute z-20 inline-flex h-4 w-8 rounded-e-full bg-success opacity-90"}),(0,t.jsx)("span",{className:"relative z-30 text-white",children:b["home.promo.chip.new"]})]}),(0,t.jsx)("figure",{className:`${g?"":"w-2/5 lg:w-full"} max-h-64 ${p?"opacity-60":""}`,children:(0,t.jsx)(r.default,{width:250,height:84,className:`rounded-md w-full ${p?"grayscale":""} object-cover object-center`,src:(0,s.getNewImageUrl)(i),alt:`Promo ${c}`,placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,s.toBase64)((0,l.default)())}`})}),(0,t.jsxs)("article",{className:`${g?"py-0":"w-3/5 lg:w-full lg:my-2 h-16 lg:h-auto pt-4 lg:pt-0"} ${p?"opacity-50":"opacity-100"} relative`,children:[(0,t.jsxs)("span",{className:`font-semibold text-primary px-2 ${g?"relative text-[9px]":"absolute text-[8px]"} lg:text-[10px] lg:relative top-0`,children:[(0,t.jsx)("span",{className:"bg-primary opacity-20 absolute top-0 bottom-0 left-0 right-0 rounded-full"}),b[({MANUAL:"deposit.promo-status.on-going",COMMISSION:"deposit.promo-card.commission",CASHBACK:"deposit.promo-card.cashback",DEPOSIT:"deposit.promo-card.bonusDeposit"})[x]]??b["deposit.promo-status.on-going"]]}),(0,t.jsx)("p",{title:c,className:"h-8 lg:h-10 flex flex-col items-start justify-center",children:(0,t.jsx)("span",{className:"text-xs lg:text-sm max-h-8 lg:max-h-10 overflow-hidden whitespace-normal",children:c})}),(0,t.jsx)("div",{className:`flex justify-between items-center lg:mt-1 ${g?"relative":"absolute"} lg:relative left-0 right-0 bottom-0`,children:(0,t.jsx)("div",{className:` ${g?"text-[10px]":"text-[9px]"} lg:text-xs opacity-60`,children:(0,t.jsxs)(o.Suspense,{fallback:(0,t.jsx)("p",{children:"Loading..."}),children:[(0,t.jsx)(d,{format:"DD MMM YYYY",children:u})," ","-"," ",(0,t.jsx)(d,{format:"DD MMM YYYY",children:m})]})})})]})]})})}])},11777,e=>{"use strict";var t=e.i(43476),l=e.i(58222);let a=e=>(0,t.jsx)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M16.307 14.893a1 1 0 0 1-1.414 1.414L11.8 13.214l-3.093 3.093a1 1 0 1 1-1.414-1.414l3.093-3.093-3.093-3.093a1 1 0 1 1 1.414-1.414l3.093 3.093 3.093-3.093a1 1 0 1 1 1.414 1.414L13.214 11.8ZM12 0a12 12 0 1 0 12 12A12.015 12.015 0 0 0 12 0Z",fill:e.fill||"#d32d1f"})}),s=e=>(0,t.jsx)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M11 10a1 1 0 0 1 2 0v8a1 1 0 0 1-2 0Zm1-5a1 1 0 1 1-1 1 1 1 0 0 1 1-1Zm0 19A12 12 0 1 0 0 12a12.013 12.013 0 0 0 12 12Z",fill:e.fill||"#46A2FF"})}),i=e=>(0,t.jsx)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M13 14.178v.484a1 1 0 1 1-2 0V13.5a.987.987 0 0 1 .75-.95c2.251-.94 2.252-2.334 2.25-2.394V8.619a2.044 2.044 0 0 0-4 0v.487a1 1 0 0 1-2 0v-.487a4.019 4.019 0 0 1 8 0v1.487c.005.04.146 2.524-3 4.072M12 19a1 1 0 1 1 1-1 1 1 0 0 1-1 1m0-19a12 12 0 1 0 12 12A12.014 12.014 0 0 0 12 0",fill:e.fill||"#ffac27"})}),r=e=>(0,t.jsx)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"m16.82 10.76-5.488 6a1 1 0 0 1-.738.325h-.006a1 1 0 0 1-.74-.334l-2.679-3a1 1 0 1 1 1.492-1.332l
11.942 2.175 4.741-5.184a1 1 0 0 1 1.476 1.35M12 0a12 12 0 1 0 12 12A12.015 12.015 0 0 0 12 0",fill:e.fill||"#5eb942"})}),n=e=>(0,t.jsx)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{id:"Warning",d:"M141,142a1,1,0,0,1-2,0v-8a1,1,0,0,1,2,0Zm-1,5a1,1,0,1,1,1-1A1,1,0,0,1,140,147Zm0-19a12,12,0,1,0,12,12A12.013,12.013,0,0,0,140,128Z",transform:"translate(-128 -128)",fill:e.fill||"#FFAC27"})});var o=e.i(38276),d=e.i(71770),c=e.i(57395),u=e.i(84131),m=e.i(55066),f=e.i(22315),h=e.i(48148),p=e.i(57688),x=e.i(22016),g=e.i(71645);e.s(["default",0,function({type:e,persistent:b=!0}){var v;let w,j,y=(0,h.useTranslations)(),{message:N}=(0,g.useContext)(d.AppConfigurationContext),[A,C]=(0,g.useState)(),[E,k]=(0,g.useState)(!1),I=(0,g.useRef)(null),T=(0,c.default)(I);(0,g.useEffect)(()=>{let t=N[e];if(t){let l=t.data;try{l=(0,m.optimizeHTMLImage)(t.data,"welcome"!==e,"auto")}catch(e){l=t.data}t.data=l}C(t)},[N,e]),(0,g.useEffect)(()=>{T&&S()},[T,I]),(0,g.useEffect)(()=>{let{expire:t}=u.default.getItem(`${e}-popup`,{expire:!1});if(t){let l=(0,f.default)().isSame((0,f.default)(t))||(0,f.default)().isAfter((0,f.default)(t));"welcome"===e?setTimeout(()=>{k(l)},5e3):k(l)}else"welcome"===e?setTimeout(()=>{k(!0)},5e3):k(!0)},[e]);let S=()=>{b&&u.default.setItem(`${e}-popup`,{expire:(0,f.default)().endOf("day").toISOString()}),k(!1)};return(0,g.useEffect)(()=>{let e=document.body.classList;A&&"disabled"!==A.type&&(E?(e.add("fixed"),e.add("top-0"),e.add("bottom-0"),e.add("left-0"),e.add("right-0")):(e.remove("fixed"),e.remove("top-0"),e.remove("bottom-0"),e.remove("left-0"),e.remove("right-0")))},[E,A]),(0,g.useEffect)(()=>{let e=e=>{"Escape"===e.key&&E&&S()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[E,e]),A&&"disabled"!==A.type&&E?(0,t.jsx)(g.Suspense,{children:(0,t.jsx)("section",{className:`fixed z-[1000] flex items-center justify-center overflow-hidden transition duration-300 ease-in-out
2        bg-black/75 left-0 right-0 top-0 bottom-0 w-screen px-3
3      `,children:(0,t.jsxs)("div",{ref:I,className:"bg-background-default rounded-lg px-1 lg:px-2",children:[(0,t.jsx)("div",{className:"flex justify-between px-1 lg:px-2 pt-5 mb-3",children:(0,t.jsx)("button",{"aria-label":"Close popup message button","aria-labelledby":"Close popup message button",onClick:()=>S(),className:"ml-auto",children:(0,t.jsx)(o.default,{size:24,fill:"var(--base)"})})}),(0,t.jsxs)("div",{className:"max-h-[65vh] lg:max-h-[calc(100vh-100px-130px)] md:max-w-2xl px-3 lg:px-5 pb-3 overflow-auto",children:["image"!==A.type&&(0,t.jsx)("section",{className:"w-full flex justify-center mb-5",children:(v=A.icon,w=null,j={size:50,fill:"from-warning"},"info"===v?w=(0,t.jsx)(s,{...j,fill:"#46a2ff"}):"warning"===v?w=(0,t.jsx)(n,{...j,fill:"#FF9900"}):"success"===v?w=(0,t.jsx)(r,{...j,fill:"#198754"}):"error"===v?w=(0,t.jsx)(a,{...j,fill:"#ff3333"}):"question"===v&&(w=(0,t.jsx)(i,{...j,fill:"#87adbd"})),w)}),A.title&&"image"!==A.type&&(0,t.jsx)("h1",{className:"text-2xl text-center mb-3 lg:mb-6",children:A.title}),"text"!==A.type&&(0,t.jsx)(x.default,{prefetch:!1,href:A.linkUrl||"#",children:(0,t.jsx)(p.default,{width:"0",height:"0",sizes:"100vw",className:"w-full mx-auto",src:A.imageUrl,alt:`Popup Message ${A.title}`,placeholder:"blur",priority:!0,loading:"eager",fetchPriority:"high",blurDataURL:`data:image/svg+xml;base64,${(0,m.toBase64)((0,l.default)())}`})}),"image"!==A.type&&(0,t.jsx)("article",{className:"admin-text",dangerouslySetInnerHTML:{__html:A.data}})]}),(0,t.jsx)("div",{className:"px-4 lg:px-7 py-4",children:(0,t.jsx)("button",{onClick:()=>S(),className:"bg-primary text-sm text-white py-2 px-6 rounded-lg mx-auto transition-all duration-200 ease-in-out hover:lg:brightness-90",children:y("popup.btn.ok")})})]})})}):null}],11777)},26496,e=>{"use strict";var t=e.i(43476);e.s(["default",0,e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.size||16,height:e.size||16,viewBox:"0 0 16 16",fill:"none",...e,children:[(0,t.jsx)("path",{fill:e.fill||"#F90",d:"M1.75 5.625c0-1.179 0-1.768.366-2.134.366-.366.955-.366 2.134-.366h7.5c1.178 0 1.768 0 2.134.366.366.366.366.955.366 2.134 0 .295 0 .442-.091.533-.092.092-.24.092-.534.092H2.375c-.295 0-.442 0-.533-.092-.092-.091-.092-.238-.092-.533Z"}),(0,t.jsx)("path",{fill:e.fill||"#F90",fillRule:"evenodd",d:"M2.116 13.384c-.366-.366-.366-.956-.366-2.134V8.125c0-.295 0-.442.092-.533.091-.092.238-.092.533-.092h11.25c.295 0 .442 0 .534.092.091.091.091.238.091.533v3.125c0 1.178 0 1.768-.366 2.134-.366.366-.956.366-2.134.366h-7.5c-1.179 0-1.768 0-2.134-.366ZM5.5 10a.625.625 0 1 0 0 1.25h5a.625.625 0 1 0 0-1.25h-5Z",clipRule:"evenodd"}),(0,t.jsx)("path",{stroke:e.fill||"#F90",strokeLinecap:"round",strokeWidth:1.25,d:"M4.875 1.875V3.75M11.125 1.875V3.75"})]})])},69248,e=>{"use strict";var t=e.i(43476),l=e.i(26496),a=e.i(38276),s=e.i(55066),i=e.i(48148),r=e.i(57688),n=e.i(71645);e.s(["default",0,function(e){let{desktop:o,children:d}
3=e,c=(0,i.useTranslations)(),[u,m]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=document.body.classList,t=document.getElementById("main-component");if(t){let l=t.classList;u?(e.add("fixed"),e.add("top-0"),e.add("bottom-0"),e.add("left-0"),e.add("right-0"),l.add("z-[9999]")):(e.remove("fixed"),e.remove("top-0"),e.remove("bottom-0"),e.remove("left-0"),e.remove("right-0"),l.remove("z-[9999]"))}},[u]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{onClick:()=>m(!0),className:`bg-background-tertiary px-3 py-2 rounded-lg flex items-center hover:lg:brightness-[0.9] transition-all duration-200 ease-in-out ${o?"w-full justify-center":"justify-between"}`,children:[(0,t.jsx)("span",{className:`text-xs pr-1 text-primary ${o?"pr-2":""}`,children:c("home.lottery-result.lottery-schedule")}),(0,t.jsx)(l.default,{fill:"var(--primary)",size:18})]}),(0,t.jsx)("div",{onClick:()=>m(!1),className:`fixed z-[999] bg-black/60 top-0 bottom-0 left-0 right-0 ${u?"w-screen":"w-0"}`}),(0,t.jsx)("section",{className:`fixed z-[9999] flex md:items-center left-0 right-0 bottom-0 md:top-0 md:bottom-0 transition-all duration-300 ease-in-out overflow-hidden ${u?"z-[1000] opacity-100 visible max-h-[80vh] md:max-h-screen":"-z-10 opacity-0 invisible max-h-0 md:max-h-screen"}`,children:(0,t.jsxs)("div",{className:"w-full md:w-2/3 lg:w-[450px] md:mx-auto bg-background-secondary p-3 pb-12 md:px-4 md:pb-6 rounded-t-3xl md:rounded-lg overflow-y-scroll",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center py-2",children:[(0,t.jsxs)("figure",{className:"flex items-center",children:[(0,t.jsx)(r.default,{width:"0",height:"0",sizes:"100vw",className:"rounded-xl w-8 mx-auto",src:(0,s.getNewImageUrl)("/assets/images/static/v3/lottery/icons/market-popup-desktop.webp"),alt:"Jadwal Pasaran Togel Icon"}),(0,t.jsx)("span",{className:"text-sm md:text-base font-semibold pl-2",children:c("home.lottery-result.lottery-schedule-table.title")})]}),(0,t.jsx)("button",{onClick:()=>m(!1),children:(0,t.jsx)(a.default,{size:25,fill:"var(--base)"})})]}),(0,t.jsx)("div",{className:"max-h-[68vh] overflow-auto",children:d})]})})]})}])},37996,e=>{"use strict";var t=e.i(43476),l=e.i(19570),a=e.i(22315),s=e.i(22016),i=e.i(48148);e.s(["default",0,function({market:e}){let r=(0,i.useTranslations)();return(0,t.jsxs)("table",{className:"table-auto w-full",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"py-2 px-1 text-xs lg:text-sm text-left font-semibold w-2/6",children:r("home.lottery-result.lottery-schedule-table.market-column")}),(0,t.jsx)("th",{className:"py-2 px-1 text-xs lg:text-sm text-left font-semibold w-2/6",children:r("home.lottery-result.lottery-schedule-table.schedule-column")}),(0,t.jsx)("th",{className:"py-2 px-1 text-xs lg:text-sm font-semibold w-1/6",children:r("home.lottery-result.lottery-schedule-table.close-column")}),(0,t.jsx)("th",{className:"py-2 px-1 text-xs lg:text-sm font-semibold w-1/6",children:r("home.lottery-result.lottery-schedule-table.open-column")})]})}),(0,t.jsx)("tbody",{children:e.map((e,i)=>(0,t.jsxs)("tr",{className:"even:bg-background-default",children:[(0,t.jsx)("td",{className:"py-2 px-1 text-xs lg:text-sm underline",children:(0,t.jsx)(s.default,{prefetch:!1,href:(0,l.isValidHttpUrl)(e.marketUrl)?e.marketUrl:"/lottery",target:"_blank",rel:"nofollow",children:e.marketName})}),(0,t.jsx)("td",{className:"py-2 px-1 text-xs lg:text-sm",children:e.marketDraw}),(0,t.jsx)("td",{className:"py-2 px-1 text-xs lg:text-sm text-center",children:(0,a.default)(e.closing).format("HH:mm")}),(0,t.jsx)("td",{className:"py-2 px-1 text-xs lg:text-sm text-center",children:(0,a.default)(e.opening).format("HH:mm")})]},`${e.marketName}-schedule-${i}`))})]})}])},88029,e=>{"use strict";var t=e.i(43476),l=e.i(71770),a=e.i(30415),s=e.i(70703),i=e.i(71645);let r=(0,s.default)(()=>e.A(89426),{loadableGenerated:{modules:[17838]},ssr:!1});e.s(["default",0,function(){let{account:e}=(0,i.useContext)(a.AuthContext),{config:s}=(0,i.useContext)(l.AppConfigurationContext);return!e&&s.viewJackpot?(0,t.jsx)(i.Suspense,{children:(0,t.jsx)(r,{})}):null}])},63989,e=>{"use strict";var t=e.i(43476),l=e.i(25741),a=e.i(25378),s=e.i(95187);let i=(0,s.createServerReference)("60e4934814611ce2b1ae870556d5a72e64ec4ba8f4",s.callServer,void 0,s.findSourceMapURL,"getPromos");var r=e.i(22016),n=e.i(48148),o=e.i(71645);e.s(["default",0,function(){let e=(0,n.useTranslations)(),[s,d]=(0,o.useState)([]),[c,u]=(0,o.useState)([]);(0,o.useEffect)(()=>{i().then(({promos:e,taken:t})=>{d(e),u(t)}
3)},[]);let m={"deposit.promo-card.chip.claimed":e("deposit.promo-card.chip.claimed"),"home.promo.chip.new":e("home.promo.chip.new"),"deposit.promo-card.cashback":e("deposit.promo-card.cashback"),"deposit.promo-card.commission":e("deposit.promo-card.commission"),"deposit.promo-card.bonusDeposit":e("deposit.promo-card.bonusDeposit"),"deposit.promo-status.on-going":e("deposit.promo-status.on-going")};return(s.length>0||c.length>0)&&(0,t.jsxs)("div",{className:"w-full px-3 mt-1 lg:mt-4 order-last",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)("p",{className:"md:text-lg font-medium",children:e("home.promo.label")}),(0,t.jsxs)(r.default,{href:"/promo",className:"text-primary text-sm md:text-base transition-all duration-300 ease-in-out border-b border-transparent hover:lg:border-primary",children:[e("home.promo.show-all"),(0,t.jsx)(l.default,{size:20,fill:"var(--primary)"})]})]}),(0,t.jsx)("div",{className:"mt-3 -mx-2 pb-3 lg:pb-2 whitespace-nowrap overflow-x-scroll lg:overflow-x-hidden opacity-scroll",children:[...s,...c].map(e=>(0,t.jsx)("div",{className:"w-[80%] sm:w-2/3 md:w-[45%] lg:w-1/3 inline-block px-2",children:(0,t.jsx)(a.default,{homePage:!0,...e,translation:m})},e.id))})]})}],63989)},68163,e=>{"use strict";var t=e.i(43476),l=e.i(58222),a=e.i(75577),s=e.i(65146),i=e.i(55066),r=e.i(70703),n=e.i(57688),o=e.i(22016),d=e.i(71645),c=e.i(48148);let u=(0,r.default)(()=>e.A(53238),{loadableGenerated:{modules:[81140]}});e.s(["default",0,function(){let e=(0,c.useTranslations)(),[r,m]=(0,d.useState)([]),[f,h]=(0,d.useState)(a.default.WIN);return(0,d.useEffect)(()=>{let e;return async function(){(e=(0,s.getLeaderboardData)({ranking_type:f})).onmessage=e=>{m(JSON.parse(e.data).players)},e.onerror=()=>{e.close()}}(),()=>{e&&e.close()}},[f]),(0,t.jsxs)("div",{className:"w-full mx-3 order-last mt-10 lg:mt-28 relative lg:flex lg:pb-4 xl:pb-8 lg:px-16 lg:min-h-[450px]",children:[(0,t.jsxs)("div",{className:"flex justify-between lg:justify-center items-center lg:gap-x-4 relative lg:static z-10 lg:w-1/2",children:[(0,t.jsx)("figure",{className:"w-16 md:w-24 lg:w-36 xl:w-40 lg:absolute lg:left-0 lg:-top-8 xl:-top-12",children:(0,t.jsx)(n.default,{width:0,height:0,sizes:"100vw",className:"w-full h-auto",src:(0,i.getNewImageUrl)("/assets/images/static/v3/leaderboard/coins.webp"),alt:"Coin Leaderboard",placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,i.toBase64)((0,l.default)())}`})}),(0,t.jsxs)("p",{className:"text-3xl md:text-4xl xl:text-5xl font-bold text-center italic",children:[e("home.leaderboard.rank")," ",(0,t.jsx)("br",{})," ",e("home.leaderboard.rank-today")]}),(0,t.jsx)("figure",{className:"w-20 md:w-24 xl:w-28",children:(0,t.jsx)(n.default,{width:0,height:0,sizes:"100vw",className:"w-full h-auto",src:(0,i.getNewImageUrl)("/assets/images/static/v3/leaderboard/trophy.webp"),alt:"Trophy Leaderboard",placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,i.toBase64)((0,l.default)())}`})})]}),(0,t.jsxs)("div",{className:"absolute inset-x-0 top-10 md:top-16 lg:top-0 bottom-0",children:[(0,t.jsx)("div",{className:"absolute left-0 h-full w-1/2 roun
3ded-2xl skew-x-[6deg] translate-x-[10%] bg-gradient-to-b from-[#212530] to-[#4C5263]"}),(0,t.jsx)("div",{className:"absolute inset-x-0 h-full w-1/2 mx-auto bg-gradient-to-b from-[#212530] to-[#4C5263]"}),(0,t.jsx)("div",{className:"absolute right-0 h-full w-1/2 rounded-2xl skew-x-[-6deg] translate-x-[-10%] bg-gradient-to-b from-[#212530] to-[#4C5263]"})]}),(0,t.jsxs)("div",{className:"relative lg:static z-10 lg:px-4 mt-4 lg:mt-0 lg:w-1/2 lg:overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex justify-between bg-separator rounded-full text-sm md:w-4/5 md:mx-auto lg:mt-6 xl:mt-8 relative z-20",children:[(0,t.jsx)("button",{onClick:()=>{h(a.default.WIN)},className:`${f===a.default.WIN?"bg-primary":"opacity-75"} px-5 py-2 rounded-full w-1/3 lg:w-full justify-center hover:lg:bg-primary hover:lg:opacity-100 transition-all duration-200 ease-linear`,children:e("home.leaderboard.win.btn")}),(0,t.jsx)("button",{onClick:()=>{h(a.default.DEPOSIT)},className:`${f===a.default.DEPOSIT?"bg-primary":"opacity-75"} px-5 py-2 rounded-full w-1/3 lg:w-full justify-center hover:lg:bg-primary hover:lg:opacity-100 transition-all duration-200 ease-linear`,children:e("home.leaderboard.deposit.btn")}),(0,t.jsx)("button",{onClick:()=>{h(a.default.WITHDRAW)},className:`${f===a.default.WITHDRAW?"bg-primary":"opacity-75"} px-5 py-2 rounded-full w-1/3 lg:w-full justify-center hover:lg:bg-primary hover:lg:opacity-100 transition-all duration-200 ease-linear`,children:e("home.leaderboard.withdraw.btn")})]}),(0,t.jsxs)("div",{className:"flex flex-wrap mt-4 relative z-10",children:[(0,t.jsx)("figure",{className:"absolute inset-0 -top-32 md:-top-64 md:w-[40rem] lg:w-full md:mx-auto lg:-top-36 xl:-top-52 z-0 opacity-50",children:(0,t.jsx)(n.default,{width:0,height:0,sizes:"100vw",className:"w-full h-auto",src:(0,i.getNewImageUrl)("/assets/images/static/v3/leaderboard/beamlight.webp"),alt:"Beamlight Leaderboard",placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,i.toBase64)((0,l.default)())}`})}),r&&r.length>0&&(0,t.jsx)(u,{first:r[0],second:r[1],third:r[2]})]}),(0,t.jsx)("div",{className:"flex justify-center relative lg:absolute top-6 lg:top-[unset] lg:bottom-12 lg:left-12 lg:w-[calc(50%-10rem)] z-20",children:(0,t.jsx)(o.default,{href:"/leaderboard",className:"bg-primary text-sm font-semibold px-6 py-3 justify-center rounded-xl hover:lg:brightness-90 transition-all duration-200 ease-linear",children:e("home.leaderboard.view-all.btn")})})]})]})}])},19122,e=>{"use strict";var t=e.i(43476),l=e.i(71645),a=e.i(60141),s=e.i(19570),i=e.i(55066),r=e.i(58222);let n=e=>(0,t.jsxs)("svg",{width:e.size??24,height:e.size??24,viewBox:"0 0 106 105",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsxs)("g",{filter:"url(#filter0_d_16777_76084)",children:[(0,t.jsx)("rect",{x:"9",y:"3",width:"88",height:"88",rx:"44",fill:e.fill,shapeRendering:"crispEdges"}),(0,t.jsx)("path",{d:"M68.1721 41.7529L44.2184 29.776C39.83 27.5818 34.6667 30.7729 34.6667 35.6792V58.3212C34.6667 63.2275 39.83 66.4186 44.2184 64.2244L68.1721 52.2475C72.4962 50.0855 72.4962 43.9149 68.1721 41.7529Z",fill:"white"})]}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:"filter0_d_16777_76084",x:"0.947369",y:"0.31579",width:"104.105",height:"104.105",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,t.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,t.jsx)("feOffset",{dy:"5.36842"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:"4.02632"}),(0,t.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,t.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,t.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_16777_76084"}),(0,t.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_16777_76084",result:"shape"})]})})]});var o=e.i(57688),d=e.i(22016),c=e.i(70703),u=e.i(12978);let m=(0,c.default)(()=>e.A(53025),{loadableGenerated:{modules:[93529]},ssr:!1,loading:()=>(0,t.jsx)(u.default,{width:300,height:150})});e.s(["default",0,function({banners:e}){let[c,u]=(0,l.useState)(),[f,h]=(0,l.useState)();(0,l.useEffect)(()=>{h(window.location.origin)},[]);let p=(e,l)=>(0,t.jsx)(o.default,{width:0,height:0,sizes:"100vw",className:"w-full h-full object-cover object-center",src:(0,i.getNewImageUrl)(e.imageUrl),alt:`${e.name} Banner`,placeholder:"blur",blurDataURL:`data:image/svg+xml;base64,${(0,i.toBase64)((0,r.default)())}`,priority:0===l,loading:0===l?"eager":"lazy"});return(0,t.jsxs)("div",{className:"w-full px-3 mt-4 order-3",children:[(0,t.jsx)(a.Carousel,{ariaLabel:"listbox",className:"slide homebanner",autoPlay:!0,transitionTime:500,preventMovementUntilSwipeScrollTolerance:!0,swipeScrollTolerance:50,emulateTouch:!0,infiniteLoop:!0,showStatus:!1,showThumbs:!1,showArrows:!0,showIndicators:!0,renderIndicator:(e,l,a,s)=>(0,t.jsx)("li",{"aria-label":`${s} ${a+1}`,role:"listitem",className:"w-2 lg:w-3 h-2 lg:h-3 mr-2 lg:mr-3 rounded-full inline-block lg:hover:opacity-80 border-[0.5px] border-base",style:{backgroundColor:l?"red":"var(--secondaryBackgroun
3d)"}},a),children:e.map((e,l)=>e.video?(0,t.jsx)("div",{className:"w-full relative",children:(0,t.jsxs)("figure",{className:"lg:h-[420px] w-full rounded-lg overflow-hidden",children:[p(e,l),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50 flex items-center justify-center rounded-lg",children:(0,t.jsx)("button",{className:"cursor-pointer hover:scale-105 transition-transform",onClick:()=>u(e.videoUrl),children:(0,t.jsx)(n,{size:74,fill:"var(--primary)"})})})]})},e.id):(0,t.jsx)(d.default,{shallow:!0,href:e.landingPageUrl&&f?`${e.landingPageUrl}${(0,i.getQueryUrlParams)({ref:f})}`:(0,s.isValidHttpUrl)(e.url)?e.url:(0,i.toUrlString)(e.url)||"#",target:(0,s.isValidHttpUrl)(e.url)?"_blank":"_self",className:"w-full",children:(0,t.jsx)("figure",{className:"lg:h-[420px] w-full rounded-lg overflow-hidden",children:p(e,l)})},e.id))}),c&&(0,t.jsx)(m,{url:c,onClose:()=>u(void 0)})]})}],19122)},32763,e=>{"use strict";var t=e.i(43476),l=e.i(25741),a=e.i(75545),s=e.i(30415),i=e.i(15676),r=e.i(19570),n=e.i(93220),o=e.i(57395),d=e.i(22315),c=e.i(48148),u=e.i(57688),m=e.i(71645);e.s(["default",0,function(){let e=(0,c.useTranslations)(),{account:f}=(0,m.useContext)(s.AuthContext),h=!(0,r.isObjectEmpty)(f),[p,x]=(0,m.useState)(!1),[g,b]=(0,m.useState)(!1),[v,w]=(0,m.useState)([]),j=(0,m.useRef)(null),y=(0,o.default)(j);return(0,m.useEffect)(()=>{(async()=>{if(h){let e=await (0,i.getUserConfigurations)({"key.in":"FREE_CREDIT_IDS"}),t=[];try{t=JSON.parse(e[0].value),Array.isArray(t)||(t=[])}catch(e){console.error("Unable to parse user free chip")}let{data:l}=await (0,i.getPromoTransactions)({"promoType.equals":"FREE_CREDIT",sort:"lastModifiedDate,desc",size:a.default.MAX_FREECHIP_COUNT,...t.length>0&&{"lastModifiedDate.greaterThan":t[0].lastModifiedDate}}),s=l||[];w(s),t.length<=0?s.forEach(e=>{t.push({uuid:e.uuid,lastModifiedDate:e.lastModifiedDate})}):s.reverse().forEach(e=>{t.unshift({uuid:e.uuid,lastModifiedDate:e.lastModifiedDate}),t.length>a.default.MAX_FREECHIP_COUNT&&t.pop()});let r={key:"FREE_CREDIT_IDS",value:JSON.stringify(t)};s.length>0&&(e.length>0?await (0,i.updateUserConfiguration)(r):await (0,i.insertUserConfiguration)(r))}})()},[h]),(0,m.useEffect)(()=>{v.length>0&&x(!0)},[v]),(0,m.useEffect)(()=>{y&&x(!1)},[y,j]),(0,m.useEffect)(()=>{let e=document.body.classList;p?(e.add("fixed"),e.add("top-0"),e.add("bottom-0"),e.add("left-0"),e.add("right-0")):(e.remove("fixed"),e.remove("top-0"),e.remove("bottom-0"),e.remove("left-0"),e.remove("right-0"))},[p]),(0,t.jsx)("section",{className:`fixed z-[9999] left-0 top-0 bottom-0 right-0 overflow-hidden transition-all duration-500 ease-out flex items-center ${p?"w-screen h-screen px-4 bg-black/70":"max-h-0"} bg-black/70`,children:(0,t.jsxs)("div",{ref:j,className:"w-full p-4 lg:px-12 pb-9 lg:w-[460px] mx-auto relative",children:[(0,t.jsx)("div",{className:"flex justify-center mb-6",children:(0,t.jsx)("figure",{className:"w-3/4",children:(0,t.jsx)(u.default,{width:650,height:300,className:"w-full h-auto",src:"https://cdn.databerjalan.com/assets/images/static/v3/freechip.webp",alt:"Free Chip"})})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("article",{className:"text-center mb-8",children:[(0,t.jsx)("p",{className:"text-sm mb-5 font-medium",children:e("freeChip.popup.title")}),(0,t.jsxs)("p",{className:"text-2xl font-bold",children:[" ",(0,n.formatCurrency)(v.reduce((e,t)=>e+t.amount,0))]})]}),v?.length>1&&(0,t.jsxs)("div",{className:"bg-background-tertiary p-3 rounded-xl text-sm",children:[(0,t.jsxs)("button",{onClick:()=>b(!g),className:"justify-between w-full",children:[(0,t.jsx)("span",{children:e("freeChip.popup.detail")}),(0,t.jsx)("figure",{className:`w-5 ${g?"-rotate-90":"rotate-90"} transition-all duration-300 ease-linear`,children:(0,t.jsx)(l.default,{size:"100%"})})]}),(0,t.jsx)("div",{className:`overflow-hidden ${g?"max-h-24 pt-3 mt-3 border-t border-separator":"max-h-0"} transition-all duration-300 ease-linear`,children:v.map(e=>(0,t.jsxs)("p",{className:"flex justify-between mb-3",children:[(0,t.jsx)("span",{children:(0,d.default)(e.createdDate).format("DD MMM YYYY HH:mm")}
3),(0,t.jsxs)("span",{children:[" ",(0,n.formatCurrency)(e.amount)]})]},e.uuid))})]})]}),(0,t.jsx)("div",{onClick:()=>x(!1),className:"flex justify-center mt-6 text-sm",children:(0,t.jsx)("button",{className:"px-8 py-3 rounded-xl font-semibold bg-primary",children:e("freeChip.popup.button")})}),(0,t.jsx)("span",{className:"bg-background-secondary absolute left-0 right-0 bottom-0 top-16 lg:top-20 -z-10 rounded-2xl"})]})})}])},51117,e=>{"use strict";var t=e.i(43476),l=e.i(22315),a=e.i(22016);function s(e){let{marketName:s,lastdate:i,lastresult:r,link:n,active:o}=e;return(0,t.jsx)(a.default,{prefetch:!1,href:n,shallow:!0,className:`inline-block justify-center md:w-[calc(100%/4-8px)] lg:w-[calc(100%/5-16px)] px-2 lg:px-3 py-3 lg:py-4 mx-2 rounded-lg transition-all duration-1000 ease-in-out ${o?"lg:scale-110 bg-gradient-to-b from-primary to-background-secondary lg:bg-gradient-to-tl lg:from-[#8D4A11] lg:from-40% lg:to-[#EFE484]":"bg-gradient-to-b from-primary to-background-secondary"}`,children:(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold text-[10px] md:text-xs lg:text-sm uppercase truncate w-28 lg:w-32 text-center text-white",children:s}),(0,t.jsx)("p",{className:`my-1 py-1 text-3xl w-24 lg:w-auto mx-auto font-extrabold text-center bg-background-default border rounded-md ${o?"border-primary lg:border-[#EFE172]":"border-primary"}`,children:r}),(0,t.jsx)("p",{className:"text-[9px] lg:text-xs text-center",children:(0,l.default)(i).format("ddd, DD/MM/YY")})]})})})}var i=e.i(71645);function r({market:e}){let l=(0,i.useRef)(null),[a,n]=(0,i.useState)(!0),[o,d]=(0,i.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(t.Fragment,{children:[!a&&(0,t.jsx)("button",{onClick:()=>{let e=l.current.scrollLeft-1230;l.current.scrollLeft=e,e>0?n(!1):n(!0),d(!1)},className:"hidden lg:flex justify-center items-center absolute -left-12 top-1/3 w-8 h-8 rounded-full text-2xl text-caption group-hover:-left-3 bg-white/70 hover:bg-white transition-all duration-300 ease-in-out",children:"<"}),!o&&(0,t.jsx)("button",{onClick:()=>{let e=l.current.scrollWidth-l.current.clientWidth,t=l.current.scrollLeft+1230;l.current.scrollLeft=t,t<=e?d(!1):d(!0),n(!1)},className:"hidden lg:flex justify-center items-center absolute -right-12 top-1/3 w-8 h-8 rounded-full text-2xl text-caption group-hover:-right-3 bg-white/70 hover:bg-white transition-all duration-300 ease-in-out",children:">"})]}),(0,t.jsx)("div",{ref:l,className:"-mx-1 lg:mx-0 overflow-x-scroll whitespace-nowrap pb-3 scroll-smooth opacity-scroll",children:e.map(e=>(0,t.jsx)(s,{link:`/lottery#${e.marketCode}`,active:!1,...e},`${e.marketCode}-home-market-slide-item`))})]})}var n=e.i(69248),o=e.i(37996),d=e.i(48148),c=e.i(95187);let u=(0,c.createServerReference)("0038fd6164e7bc889303183daa53628edd0c47ec2d",c.callServer,void 0,c.findSourceMapURL,"getServerLotteryMarket");e.s(["default",0,function(){let e=(0,d.useTranslations)(),[l,a]=(0,i.useState)([]);return(0,i.useEffect)(()=>{u().then(e=>a(e.map(e=>e.marketDetail)))},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-4 lg:mb-3",children:[(0,t.jsx)("p",{className:"md:text-lg font-medium",children:e("home.lottery-result.label")}),(0,t.jsx)(n.default,{children:(0,t.jsx)(o.default,{market:l})})]}),(0,t.jsx)("div",{className:"relative group",children:(0,t.jsx)(r,{market:l})})]})}],51117)},22998,(e,t,l)=>{Object.defineProperty(l,"__esModule",{value:!0});var a=e.r(71645),s=a&&"object"==typeof a&&"default"in a?a:{default:a};!function(e){if(!e||"u"<typeof window)return;let t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n  background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n  pointer-events: none;\n  touch-action: none;\n}\n.rfm-overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.rfm-marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.rfm-initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n  align-items: center;\n}\n\n.rfm-child {\n  transform: var(--transform);\n}'),l.default=a.forwardRef(function({style:e={},className:t="",autoFill:l=!1,play:i=!0,pauseOnHover:r=!1,pauseOnClick:n=!1,direction:o="left",speed:d=50,delay:c=0,loop:u=0,gradient:m=!1,gradientColor:f="white",gradientWidth:h=200,onFinish:p,onCycleComplete:x,onMount:g,children:b},v){let[w,j]=a.useState(0),[y,N]=a.useState(0),[A,C]=a.useState(1),[E,k]=a.useState(!1),I=a.useRef(null),T=v||I,S=a.useRef(null),R=a.useCallback(()=>
3{if(S.current&&T.current){let e=T.current.getBoundingClientRect(),t=S.current.getBoundingClientRect(),a=e.width,s=t.width;("up"===o||"down"===o)&&(a=e.height,s=t.height),l&&a&&s?C(s<a?Math.ceil(a/s):1):C(1),j(a),N(s)}},[l,T,o]);a.useEffect(()=>{if(E&&(R(),S.current&&T.current)){let e=new ResizeObserver(()=>R());return e.observe(T.current),e.observe(S.current),()=>{e&&e.disconnect()}}},[R,T,E]),a.useEffect(()=>{R()},[R,b]),a.useEffect(()=>{k(!0)},[]),a.useEffect(()=>{"function"==typeof g&&g()},[]);let _=a.useMemo(()=>l?y*A/d:y<w?w/d:y/d,[l,w,y,A,d]),z=a.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!i||r?"paused":"running","--pause-on-click":!i||r&&!n||n?"paused":"running","--width":"up"===o||"down"===o?"100vh":"100%","--transform":"up"===o?"rotate(-90deg)":"down"===o?"rotate(90deg)":"none"}),[e,i,r,n,o]),$=a.useMemo(()=>({"--gradient-color":f,"--gradient-width":"number"==typeof h?`${h}px`:h}),[f,h]),M=a.useMemo(()=>({"--play":i?"running":"paused","--direction":"left"===o?"normal":"reverse","--duration":`${_}s`,"--delay":`${c}s`,"--iteration-count":u?`${u}`:"infinite","--min-width":l?"auto":"100%"}),[i,o,_,c,u,l]),U=a.useMemo(()=>({"--transform":"up"===o?"rotate(90deg)":"down"===o?"rotate(-90deg)":"none"}),[o]),L=a.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>s.default.createElement(a.Fragment,{key:t},a.Children.map(b,e=>s.default.createElement("div",{style:U,className:"rfm-child"},e)))),[U,b]);return E?s.default.createElement("div",{ref:T,style:z,className:"rfm-marquee-container "+t},m&&s.default.createElement("div",{style:$,className:"rfm-overlay"}),s.default.createElement("div",{className:"rfm-marquee",style:M,onAnimationIteration:x,onAnimationEnd:p},s.default.createElement("div",{className:"rfm-initial-child-container",ref:S},a.Children.map(b,e=>s.default.createElement("div",{style:U,className:"rfm-child"},e))),L(A-1)),s.default.createElement("div",{className:"rfm-marquee",style:M},L(A))):null})},12616,e=>{"use strict";var t=e.i(43476);let l=e=>(0,t.jsxs)("svg",{width:e.size||24,height:e.size||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M3.158 13.93a3.752 3.752 0 0 1 0-3.86 1.5 1.5 0 0 1 .993-.7l1.693-.339a.45.45 0 0 0 .258-.153L8.17 6.395c1.182-1.42 1.774-2.129 2.301-1.938C11 4.648 11 5.572 11 7.42v9.162c0 1.847 0 2.77-.528 2.962-.527.19-1.119-.519-2.301-1.938L6.1 15.122a.45.45 0 0 0-.257-.153l-1.693-.339a1.5 1.5 0 0 1-.993-.7Z",stroke:e.fill||"#FFFFFF"}),(0,t.jsx)("path",{d:"M15.536 8.464a5 5 0 0 1 .027 7.044M19.657 6.343a8 8 0 0 1 .044 11.27",stroke:e.fill||"#FFFFFF",strokeLinecap:"round"})]});var a=e.i(71770),s=e.i(71645),i=e.i(22998);e.s(["default",0,function(){let{message:e}=(0,s.useContext)(a.AppConfigurationContext),{announcement:r}=e;return(0,t.jsx)("div",{className:"w-full px-3 mt-3 order-1",children:(0,t.jsxs)("div",{className:"bg-background-secondary rounded-full py-1 flex items-center",children:[(0,t.jsx)("div",{className:"block relative bg-background-secondary rounded-full z-10 pl-3 pr-2",children:(0,t.jsx)(l,{size:24,fill:"var(--primary)"})}),(0,t.jsx)("div",{className:"w-[calc(100%-58px)] overflow-hidden inline-block",children:(0,t.jsx)("div",{className:"w-full text-sm z-[9] inline-block",children:(0,t.jsx)(i.default,{delay:1,children:r?.map(e=>e).join("   ")})})})]})})}],12616)},59590,e=>{"use strict";var t=e.i(43476),l=e.i(30415),a=e.i(33899),s=e.i(70703),i=e.i(71645),r=e.i(43786);let n=(0,s.default)(()=>e.A(31990),{loadableGenerated:{modules:[30082]}}),o=(0,s.default)(()=>e.A(69268),{loadableGenerated:{modules:[98608]}});e.s(["default",0,function({vip:e}){let{account:s}=(0,i.useContext)(l.AuthContext),d=(0,a.default)();return s?(0,t.jsx)("div",{className:"w-full px-3 mt-3 order-2",children:(0,t.jsx)("div",{className:"bg-background-secondary h-full lg:h-auto rounded-xl pt-4 lg:py-4 overflow-hidden relative flex flex-wrap",children:(0,t.jsxs)(i.Suspense,{children:[(0,t.jsx)(r.default,{homePage:!0,vip:!!e}),(0,t.jsx)(n,{headerBorder:!0,vip:!!e}),d?null:(0,t.jsx)(o,{})]})})}):null}])},36029,e=>{"use strict";var t=e.i(43476),l=e.i(30415),a=e.i(70703),s=e.i(71645);let i=(0,a.default)(()=>e.A(90509),{loadableGenerated:{modules:[55727]}});e.s(["default",0,function(){let{account:e}=(0,s.useContext)(l.AuthContext);return e?(0,t.jsx)(s.Suspense,{children:(0,t.jsx)(i,{})}):null}])},30600,e=>{"use strict";var t=e.i(43476),l=e.i(29135);e.s(["default",0,function({children:e}){let{categories:a}=(0,l.useStore)("game");return a.lottery?(0,t.jsx)(t.Fragment,{children:e}):null}])},6013,e=>{e.v(t=>Promise.all(["static/chunks/0nh5yhiw4y.pu.js"].map(t=>e.l(t))).then(()=>t(2889)))},56200,e=>{e.v(t=>Promise.all(["static/chunks/11~oszvmnoc-y.js"].map(t=>e.l(t))).then(()=>t(58235)))},11552,e=>{e.v(t=>Promise.all(["static/chunks/0hghsnlt1mr1h.js"].map(t=>e.l(t))).then(()=>t(89703)))},31990,e=>{e.v(t=>Promise.all(["static/chunks/09da_d8vutii2.js"].map(t=>e.l(t))).then(()=>t(30082)))},69268,e=>{e.v(t=>Promise.all(["static/chunks/0qcde3jgyxq4r.js"].map(t=>e.l(t))).then(()=>t(98608)))},90509,e=>{e.v(t=>Promise.all(["static/chunks/0oi1ys70ha~8g.js"].map(t=>e.l(t))).then(()=>t(55727)))},89426,e=>{e.v(t=>Promise.all(["static/chunks/0xzgnw~8aou9t.js"].map(t=>e.l(t))).then(()=>t(17838)))},53025,e=>{e.v(t=>Promise.all(["static/chunks/0rqmh-otea1ze.js"].map(t=>e.l(t))).then(()=>t(93529)))},53238,e=>{e.v(t=>Promise.all(["static/chunks/0ygoe9dp86l40.js"].map(t=>e.l(t))).then(()=>t(81140)))},20177,e=>{e.v(t=>Promise.all(["static/chunks/05ptlqparsp40.js"].map(t=>e.l(t))).then(()=>t(10246)))}]);

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.