1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,131460,e=>{"use strict";let r=(0,e.i(456420).default)("arrow-down-to-line",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);e.s(["ArrowDownToLine",0,r],131460)},726494,e=>{"use strict";let r=(0,e.i(456420).default)("arrow-up-from-line",[["path",{d:"m18 9-6-6-6 6",key:"kcunyi"}],["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 21h14",key:"11awu3"}]]);e.s(["ArrowUpFromLine",0,r],726494)},668109,e=>{"use strict";let r=(0,e.i(456420).default)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["Heart",0,r],668109)},591783,e=>{"use strict";let r=(0,e.i(456420).default)("medal",[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]]);e.s(["Medal",0,r],591783)},310454,e=>{"use strict";var r=e.i(843476),a=e.i(271645),t=e.i(615227),o=e.i(532181),s=e.i(753536),n=e.i(320279);function l(){let[e,l]=(0,a.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.motion.button,{onClick:()=>l(!0),className:"fixed right-6 z-10 bottom-28 md:bottom-20 w-12 h-12 rounded-full flex items-center justify-center shadow-lg transition-all active:scale-95 cursor-pointer",style:{background:"var(--gradient-accent)",color:"var(--color-on-accent)"},"aria-label":"à¸à¸´à¸à¸à¹à¸à¹à¸£à¸²",...s.popIn,...s.float,...s.glowPulse,whileHover:{scale:1.1,transition:{duration:.2}},whileTap:{scale:.9},children:(0,r.jsx)(t.MessageCircle,{className:"w-5 h-5"})}),(0,r.jsx)(n.ContactDialog,{open:e,onClose:()=>l(!1)})]})}e.s(["ContactButton",0,l,"default",0,l])},295062,e=>{"use strict";var r=e.i(843476),a=e.i(271645),t=e.i(522016),o=e.i(263676);let s="home-popup-dismissed-at";function n(e,r,a){if(!e||r<=0)return!1;let t=Number(e);return!!Number.isFinite(t)&&a-t<36e5*r}e.s(["HomePopup",0,function(e){let{config:l}=e,[i,c]=(0,a.useState)(!1),d=(0,a.useCallback)(()=>{c(!1);try{window.localStorage.setItem(s,String(Date.now()))}catch{}},[]);if((0,a.useEffect)(()=>{if(!l?.enabled||!l.imageUrl||window.innerWidth>767)return;let e=null;try{e=window.localStorage.getItem(s)}catch{}n(e,l.dismissHours,Date.now())||c(!0)},[l]),(0,a.useEffect)(()=>{if(!i)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[i]),(0,a.useEffect)(()=>{if(!i)return;let e=e=>{"Escape"===e.key&&d()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[i,d]),!i)return null;let u=(0,r.jsx)("img",{src:l.imageUrl,alt:"",className:"home-popup-img",draggable:!1});return(0,r.jsx)("div",{className:"home-popup-backdrop",role:"dialog","aria-modal":"true","aria-label":"à¹à¸à¸£à¹à¸¡à¸à¸±à¹à¸",onClick:d,children:(0,r.jsxs)("div",{className:"home-popup-card",onClick:e=>e.stopPropagation(),children:[l.link?(0,r.jsx)(t.default,{href:l.link,onClick:d,children:u}):u,(0,r.jsx)("button",{type:"button",className:"home-popup-close",onClick:d,"aria-label":"à¸à¸´à¸",children:(0,r.jsx)(o.X,{size:18})})]})})},"isDismissed",0,n])},240542,e=>{"use strict";var r=e.i(843476),a=e.i(271645);e.s(["HomeSliderTrack",0,function(e){let{children:t,slideCount:o,intervalMs:s=5e3}=e,n=(0,a.useRef)(null),l=(0,a.useRef)(0),i=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=n.current;if(!e||o<2||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let r=()=>{l.current=Date.now()+8e3},a=()=>{i.current=!0},t=()=>{i.current=!1},c=!1,d=()=>{c||r()};e.addEventListener("scroll",d,{passive:!0}),e.addEventListener("pointerdown",r,{passive:!0}),e.addEventListener("pointerenter",a),e.addEventListener("pointerleave",t);let u=setInterval(()=>{if(i.current||document.hidden||Date.now()<l.current)return;let r=e.firstElementChild?.getBoundingClientRect().width??e.clientWidth,a=e.scrollLeft+e.clientWidth>=e.scrollWidth-2;c=!0,e.scrollTo({left:a?0:e.scrollLeft+r+10,behavior:"smooth"}),setTimeout(()=>{c=!1},1e3)},Math.max(2e3,s));return()=>{clearInterval(u),e.removeEventListener("scroll",d),e.removeEventListener("pointerdown",r),e.removeEventListener("pointerenter",a),e.removeEventListener("pointerleave",t)}},[o,s]),(0,r.jsx)("div",{className:"home-slider-track",ref:n,children:t})}])},749671,e=>{"use strict";var r=e.i(843476),a=e.i(271645),t=e.i(977343),o=e.i(131460),s=e.i(726494),n=e.i(395925),l=e.i(43011),i=e.i(591783),c=e.i(282625),d=e.i(28478),u=e.i(487486);e.i(216460);var m=e.i(186679),p=e.i(567551),h=e.i(633181);let f=[{key:"deposit",label:"ยà¸à¸à¸à¸²à¸à¸ªà¸¹à¸à¸ªà¸¸à¸",icon:o.ArrowDownToLine,colorVar:"var(--color-primary)",onColor:"var(--color-on-primary)"},{key:"withdrawal",label:"ยà¸à¸à¸à¸à¸à¸ªà¸¹à¸à¸ªà¸¸à¸",icon:s.ArrowUpFromLine,colorVar:"var(--color-tertiary)",onColor:"var(--color-on-tertiary)"},{key:"cashback",label:"à¹à¸à¸à¹à¸à¹à¸à¸ªà¸¹à¸à¸ªà¸¸à¸",icon:n.RotateCcw,colorVar:"var(--color-secondary)",onColor:"var(--color-on-secondary)"}];e.s(["LeaderboardSection",0,function(){let[e,o]=(0,a.useState)("deposit"),s=f.find(r=>r.key===e),{data:n,isLoading:x}=(0,p.useLeaderboard)(e),{data:v}=(0,h.usePublicSiteConfig)(),g=v?.["brand.siteName"]||"BETFLIX",y=n?.top??[],b=n?.rewards??[];return(0,r.jsx)("section",{className:"py-12 md:py-20 bg-surface-container-low",children:(0,r.jsxs)("div",{className:"mx-auto max-w-4xl px-4",children:[(0,r.jsxs)(d.Reveal,{className:"text-center mb-10 md:mb-14",children:[(0,r.jsx)("h2",{className:"font-[family-name:var
1(--font-noto-sans-thai)] text-2xl md:text-3xl font-bold text-on-surface",children:"à¸à¸±à¸à¸à¸±à¸à¸à¸¹à¹à¹à¸¥à¹à¸"}),(0,r.jsxs)("p",{className:"mt-2 text-sm md:text-base text-on-surface-variant",children:["à¸à¸¹à¹à¹à¸¥à¹à¸à¸à¸µà¹à¸¡à¸µà¸¢à¸à¸à¸ªà¸¹à¸à¸ªà¸¸à¸à¸à¸£à¸°à¸à¸³à¹à¸à¸·à¸à¸à¸à¸µà¹à¸à¸ ",g]})]}),(0,r.jsx)("div",{className:"flex justify-center gap-2 mb-8",children:f.map(a=>{let t=a.icon,s=e===a.key;return(0,r.jsxs)("button",{onClick:()=>o(a.key),className:"font-[family-name:var(--font-noto-sans-thai)] flex items-center gap-1.5 px-4 py-2.5 rounded-full text-xs sm:text-sm font-bold transition-all active:scale-95",style:s?{background:`linear-gradient(135deg, ${a.colorVar}, ${a.colorVar})`,color:a.onColor,boxShadow:"var(--shadow-accent)"}:{background:"var(--color-card-bg)",color:"var(--color-on-surface-variant)"},children:[(0,r.jsx)(t,{className:"w-4 h-4"}),a.label]},a.key)})}),x?(0,r.jsxs)("div",{className:"b2k-fade-in",children:[(0,r.jsx)("div",{className:"grid grid-cols-3 gap-3 md:gap-5 mb-8 items-end",children:[1,0,2].map(e=>(0,r.jsx)("div",{className:`animate-pulse rounded-xl ${t.value(e).pi
1pe(t.when(0,()=>"order-2 h-44 md:h-56"),t.when(1,()=>"order-1 h-36 md:h-44"),t.orElse(()=>"order-3 h-36 md:h-44"))}`,style:{background:"var(--color-card-bg)"}},`skeleton-reward-${e}`))}),(0,r.jsx)("div",{className:(0,m.cardStyles)({padding:"none",className:"overflow-hidden"}),children:[0,1,2,3,4].map(e=>(0,r.jsxs)("div",{className:"flex items-center gap-3 px-4 md:px-6 py-3 md:py-4",style:e<4?{borderBottom:"1px solid var(--color-card-border)"}:void 0,children:[(0,r.jsx)("div",{className:"w-8 h-5 flex-shrink-0 rounded animate-pulse",style:{background:"var(--color-card-bg)"}}),(0,r.jsx)("div",{className:"w-8 h-8 rounded-full flex-shrink-0 animate-pulse",style:{background:"var(--color-card-bg)"}}),(0,r.jsx)("div",{className:"flex-1 h-4 rounded animate-pulse",style:{background:"var(--color-card-bg)"}}),(0,r.jsx)("div",{className:"w-20 h-4 rounded animate-pulse flex-shrink-0",style:{background:"var(--color-card-bg)"}})]},`skeleton-row-${e}`))})]},`skeleton-${e}`):0===y.length?(0,r.jsxs)(d.Reveal,{className:(0,m.cardStyles)({padding:"lg",className:"text-center"}),children:[(0,r.jsx)(c.Gift,{className:"w-10 h-10 mx-auto mb-3 text-on-surface-variant/40"}),(0,r.jsx)("p",{className:"font-[family-name:var(--font-noto-sans-thai)] text-sm md:text-base text-on-surface-variant",children:"ยัà¸à¹à¸¡à¹à¸¡à¸µà¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¹à¸à¸·à¸à¸à¸à¸µà¹"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"b2k-fade-in grid grid-cols-3 gap-3 md:gap-5 mb-8 items-end",children:[1,0,2].map(a=>{let o=b[a],s=["var(--color-primary)","#c0c0c0","#cd7f32"],n=0===a;return(0,r.jsx)("div",{className:`relative flex flex-col items-center ${n?"order-2":1===a?"order-1":"order-3"}`,children:(0,r.jsxs)("div",{className:`relative w-full rounded-xl overflow-hidden transition-all ${n?"py-6 md:py-8":"py-4 md:py-6"}`,style:{background:`radial-gradient(ellipse at 50% 80%, color-mix(in srgb, ${s[a]} 8%, transparent), transparent 70%), var(--color-card-bg)`,backdropFilter:"blur(24px)",border:"1px solid var(--color-card-border)",boxShadow:n?"var(--shadow-accent)":void 0},children:[(0,r.jsx)(u.Badge,{size:"circle",className:"absolute top-2 left-2",style:{background:`linear-gradient(135deg, ${s[a]}, ${s[a]})`,color:t.value(a).pipe(t.when(0,()=>"var(--color-on-primary)"),t.when(1,()=>"#1a1a1a"),t.orElse(()=>"#2a1500"))},children:["1st","2nd","3rd"][a]}),(0,r.jsx)("div",{className:`relative mx-auto flex items-center justify-center ${n?"w-24 h-24 md:w-32 md:h-32":"w-18 h-18 md:w-24 md:h-24"}`,children:o?.imageUrl?(0,r.jsx)("img",{src:o.imageUrl,alt:o.name,className:"w-full h-full object-contain drop-shadow-[0_4px_12px_rgba(0,0,0,0.5)]"}):(0,r.jsx)(c.Gift,{className:"w-1/2 h-1/2",style:{color:s[a]}})}),(0,r.jsx)("p",{className:`mt-3 text-center font-bold leading-tight px-2 ${n?"text-xs md:text-sm":"text-[10px] md:text-xs"}`,style:{color:s[a]},children:o?.name??"â"})]})},`${e}-reward-${a}`)})},`rewards-${e}`),(0,r.jsx)(d.Reveal,{className:(0,m.cardStyles)({padding:"none",className:"overflow-hidden"}),children:(0,r.jsx)("div",{className:"b2k-fade-in",children:y.map((a,t)=>{let o=t<3,n=o?b[t]?.name??null:null;return(0,r.jsxs)("div",{className:"flex items-center gap-3 px-4 md:px-6 py-3 md:py-4 transition-colors hover:bg-surface-bright/50",style:t<y.length-1?{borderBottom:"1px solid var(--color-card-border)"}:void 0,children:[(0,r.jsx)("div",{className:"w-8 flex-shrink-0 text-center",children:o?(0,r.jsx)(i.Medal,{className:"w-5 h-5 mx-auto",style:{color:["var(--color-primary)","#c0c0c0","#cd7f32"][t]}}):(0,r.jsx)("span",{className:"text-sm font-bold text-on-surface-variant/60",children:t+1})}),(0,r.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-xs font-bold flex-shrink-0",style:{background:o?`color-mix(in srgb, ${s.colorVar} 25%, transparent)`:"var(--color-card-bg)",color:o?s.colorVar:"var(--color-on-surface-variant)"},children:a.maskedName.charAt(0)}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,r.jsx)("span",{className:"text-sm font-semibold",style:{color:o?"var(--color-on-surface)":"var(--color-on-surface-variant)"},children:a.maskedName}),a.maskedPhone&&(0,r.jsx)("span",{className:"text-xs text-on-surface-variant/70 font-mono",children:a.maskedPhone}),a.vip&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-black uppercase tracking-wider",style:{background:`color-mix(in srgb, ${a.vip.color} 10%, transparent)`,color:a.vip.color,border:`1px solid color-mix(in srgb, ${a.vip.color} 19%, transparent)`},children:[(0,r.jsx)(l.Crown,{className:"w-2.5 h-2.5"}),a.vip.name]})]}
1),n&&(0,r.jsxs)("span",{className:"font-[family-name:var(--font-noto-sans-thai)] mt-1 flex items-center gap-1 text-[11px] font-semibold",style:{color:s.colorVar},children:[(0,r.jsx)(c.Gift,{className:"w-3 h-3"}),n]})]}),(0,r.jsx)("span",{className:"text-sm font-bold flex-shrink-0",style:{color:o?s.colorVar:"var(--color-on-surface-variant)"},children:"฿"+parseFloat(a.amount).toLocaleString("en-US")})]},`${e}-${t}`)})},e)})]})]})})}])},593883,92125,487609,e=>{"use strict";var r=e.i(843476),a=e.i(271645),t=e.i(522016),o=e.i(618566);let s=(0,e.i(456420).default)("gem",[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]]);var n=e.i(668109),l=e.i(954616),i=e.i(266027),c=e.i(912598),d=e.i(471436),u=e.i(264014),m=e.i(461613),p=e.i(871696);let h=(e,r)=>`${e}:${r}`;function f(){let{data:e}=(0,d.useSession)(),r=(0,i.useQuery)({queryKey:m.queryKeys.favorites.me(),queryFn:async()=>{let{data:e,error:r}=await p.api.api.games.favorites.get();if(r)throw Error((0,u.parseApiError)(r));return e},enabled:!!e?.user?.id}),t=(0,a.useMemo)(()=>r.data??[],[r.data]),o=(0,a.useMemo)(()=>new Set(t.map(e=>h(e.productId,e.gameCode))),[t]);return{favorites:t,keys:o,isLoading:r.isLoading}}function x(){let e=(0,c.useQueryClient)();return(0,l.useMutation)({mutationFn:async e=>{let{data:r,error:a}=await p.api.api.games.favorites.toggle.post(e);if(a)throw Error((0,u.parseApiError)(a));return r},onMutate:async r=>{await e.cancelQueries({queryKey:m.queryKeys.favorites.me()});let a=e.getQueryData(m.queryKeys.favorites.me()),t=h(r.productId,r.gameCode);return e.setQueryData(m.queryKeys.favorites.me(),e=>{let a=e??[];return a.some(e=>h(e.productId,e.gameCode)===t)?a.filter(e=>h(e.productId,e.gameCode)!==t):[{productId:r.productId,gameCode:r.gameCode,name:r.gameCode,img:null},...a]}),{previous:a}},onError:(r,a,t)=>{t?.previous&&e.setQueryData(m.queryKeys.favorites.me(),t.previous)},onSettled:()=>e.invalidateQueries({queryKey:m.queryKeys.favorites.me()})})}function v(e,r){let a=`${e}:${r}`,t=0x811c9dc5;for(let e=0;e<a.length;e++)t^=a.charCodeAt(e),t=Math.imul(t,0x1000193);return t>>>0}e.s(["useFavorites",0,f,"useToggleFavorite",0,x],92125);var g=e.i(846696),y=e.i(874726);let b=new Set;function w(e,r){let a=`${e}:${r}`;if(b.has(a))return;if(b.add(a),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof navigator?"":navigator.userAgent;return/\bLine\//.test(e)||/LIFF/.test(e)||/FBAN|FBAV|FB_IAB/.test(e)||/Instagram/.test(e)||/; wv\)/.test(e)}())return void(0,y.fetchGameLaunch)(e,r).then(e=>{window.location.href=e}).catch(e=>{g.toast.error("à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¸à¹à¸à¸¡à¹à¸à¹",{description:e instanceof Error?e.message:void 0})}).finally(()=>{b.delete(a)});let t=window.open("about:blank","_blank");if(!t){b.delete(a),g.toast.error("à¹à¸à¸£à¸²à¸§à¹à¹à¸à¸à¸£à¹à¸à¸¥à¹à¸à¸à¹à¸à¹à¸à¹à¸«à¸¡à¹",{description:"à¸à¸à¸¸à¸à¸²à¸ popup สำหรัà¸à¹à¸§à¹à¸à¸à¸µà¹ หรืà¸à¸à¸à¹à¸à¸´à¸à¹à¸à¸¡à¸à¸µà¸à¸à¸£à¸±à¹à¸",action:{label:"à¹à¸à¸´à¸à¹à¸à¸¡",onClick:()=>w(e,r)}});return}t.opener=null,(0,y.fetchGameLaunch)(e,r).then(e=>{t.location.href=e}).catch(e=>{t.close(),g.toast.error("à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¸à¹à¸à¸¡à¹à¸à¹",{description:e instanceof Error?e.message:void 0})}).finally(()=>{b.delete(a)})}function k(e,r,t){let{amp:o,periodMs:s,tickMs:n,max:l,decimals:i=0}=t,[c,d]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let a=()=>{let a=e+Math.sin(Date.now()/s+r)*o;void 0!==l&&(a=Math.min(a,l));let t=10**i;d(Math.round((a=Math.max(0,a))*t)/t)};a();let t=setInterval(a,n);return()=>clearInterval(t)},[e,r,o,s,n,l,i]),c}e.s(["openGameInNewTab",0,w],487609),e.s(["PopularGameCard",0,function(e){let{game:a,isLoggedIn:l}=e,i=(0,o.useRouter)(),{keys:c}=f(),d=x(),u=l&&!!a.productId&&!!a.code,m=!!a.productId&&!!a.code,p=m?`${a.productId}:${a.code}`:"",h=m&&c.has(p),g=m?Math.round(3+347*Math.pow(v(a.productId,a.code)%1e4/1e4,2.3)):0,y=m?Math.round((88+Math.pow((v(a.productId,a.code)>>>7)%1e4/1e4,3)*(98.9-88))*10)/10:0,b=.7*g+y,j=k(g,b,{amp:Math.max(1,Math.round(.02*g)),periodMs:6e3,t
1ickMs:6e3}),N=k(y,b,{amp:.3,periodMs:36e5,tickMs:6e4,max:99.9,decimals:1}),M=m?y>=98.5?"megawin":y>=97?"bigwin":null:null,C=l?u?`/game/${a.productId}/${a.code}`:a.productId?`/games?provider=${encodeURIComponent(a.productId)}`:"/games":"/login";return(0,r.jsxs)(t.default,{href:C,onClick:e=>{!u||e.metaKey||e.ctrlKey||e.shiftKey||0!==e.button||(e.preventDefault(),w(a.productId,a.code))},className:"group relative rounded-xl overflow-hidden aspect-[16/10] flex flex-col justify-end p-3 transition-transform hover:scale-105 hover:-translate-y-1 active:scale-95",style:a.gradient?{background:a.gradient}:{background:"var(--color-surface-container-high)"},children:[a.img&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{src:a.img,alt:"","aria-hidden":!0,loading:"lazy",className:"absolute inset-0 h-full w-full scale-110 object-cover opacity-45 blur-lg"}),(0,r.jsx)("img",{src:a.img,alt:a.name,loading:"lazy",className:"absolute inset-0 h-full w-full object-contain"})]}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent"}),m&&(0,r.jsxs)("div",{className:"absolute top-2 left-2 z-20 flex items-center gap-1 rounded-full bg-black/45 px-1.5 py-0.5 backdrop-blur-sm",children:[(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-[var(--color-tertiary)] animate-pulse","aria-hidden":!0}),(0,r.jsx)("span",{className:"text-[10px] font-semibold text-on-surface tabular-nums",children:j.toLocaleString("en-US")})]}),m&&(0,r.jsxs)("div",{className:"absolute top-2 right-2 z-20 flex items-center gap-1 rounded-full bg-black/45 px-1.5 py-0.5 backdrop-blur-sm",children:[M&&(0,r.jsx)("span",{className:"rounded-sm px-1 text-[8px] font-bold uppercase leading-tight text-black",style:{background:"megawin"===M?"var(--color-primary)":"var(--color-tertiary)"},children:"megawin"===M?"MEGAWIN":"BIGWIN"}),(0,r.jsx)(s,{className:"h-3 w-3 text-[var(--color-primary)]","aria-hidden":!0}),(0,r.jsxs)("span",{className:"text-[10px] font-semibold text-on-surface tabular-nums",children:["RTP ",N.toFixed(1),"%"]})]}),(0,r.jsx)("div",{className:"relative z-10 pr-9",children:(0,r.jsx)("h3",{className:"font-headline text-xs sm:text-sm font-bold text-on-surface leading-tight line-clamp-1",children:a.name})}),m&&(0,r.jsx)("button",{type:"button","aria-label":h?"à¹à¸à¸²à¸à¸à¸à¸à¸²à¸à¹à¸à¸¡à¸à¸µà¹à¸à¸à¸":"à¹à¸à¸´à¹à¸¡à¹à¸à¹à¸à¸¡à¸à¸µà¹à¸à¸à¸","aria-pressed":h,onClick:e=>{(e.stopPropagation(),e.preventDefault(),l)?d.mutate({productId:a.productId,gameCode:a.code}):i.push("/login")},className:"absolute bottom-2 right-2 z-30 flex h-7 w-7 items-center justify-center rounded-full bg-black/45 backdrop-blur-sm transition-all active:scale-90 hover:bg-black/65",children:(0,r.jsx)(n.Heart,{className:"h-4 w-4 transition-colors",style:{color:h?"var(--color-primary)":"var(--color-on-surface)"},fill:h?"var(--color-primary)":"none","aria-hidden":!0})}),(0,r.jsx)("div",{className:"absolute inset-0 bg-white/0 group-hover:bg-white/10 transition-colors flex items-center justify-center",children:(0,r.jsx)("span",{className:"font-[family-name:var(--font-noto-sans-thai)] opacity-0 group-hover:opacity-100 transition-opacity text-sm font-bold text-on-surface drop-shadow-lg",children:"à¹à¸¥à¹à¸à¹à¸¥à¸¢"})})]})}],593883)},28478,e=>{"use strict";var r=e.i(843476),a=e.i(271645);e.s(["Reveal",0,function(e){let{children:t,className:o,stagger:s=!1}=e,n=(0,a.useRef)(null),[l,i]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=n.current;if(!e)return;let r=new IntersectionObserver(e=>{e[0]?.isIntersecting&&(i(!0),r.disconnect())},{rootMargin:"0px 0px -60px 0px"});return r.observe(e),()=>r.disconnect()},[]),(0,r.jsx)("div",{ref:n,"data-reveal":s?"stagger":"true","data-shown":l?"true":"false",className:o,children:t})}])},874726,e=>{"use strict";var r=e.i(266027),a=e.i(264014),t=e.i(461613),o=e.i(871696);async function s(e,r){let{data:t,error:s}=await o.api.api.seamless.launch.post({productId:e,gameCode:r,isMobileLogin:window.innerWidth<768});if(s)throw Error((0,a.parseApiError)(s));return t}async function n(e,r){return(await s(e,r)).url}e.s(["fetchGameLaunch",0,n,"useGameLaunch",0,function(e){return(0,r.useQuery)({queryKey:t.queryKeys.seamless.launch(e.productId,e.gameCode),queryFn:()=>s(e.productId,e.gameCode),enabled:e.enabled,staleTime:3e5,retry:!1})}])},567551,e=>{"use strict";var r=e.i(266027),a=e.i(471436),t=e.i(672464);e.s(["useLeaderboard",0,function(e){return(0,r.useQuery)((0,t.leaderboardTopQuery)(e))},"useMyRank",0,function(e){let{data:o}=(0,a.useSession)(),s=o?.user?.id;return(0,r.useQuery)({...(0,t.leaderboardMeQuery)(e),enabled:!!s})}])}]);
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.