PageSourceSearch

https://www.asianbookie.net/_next/static/chunks/20105.038b1c6a09c6ec31.js

js asianbookie.net collected 2026-10-06 18:05:06 UTC 23,909 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20105],{20105:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CompactNewsListPlaceholder:()=>p,default:()=>g});var s=l(95155),a=l(37015),i=l.n(a),n=l(12115),r=l(26708),d=l(59185),o=l(9805),c=l(28057),u=l(68282),f=l(44176),x=l(1842);async function h(e){let t=await fetch(`/api/poll/top-stories?locale=${encodeURIComponent(e)}`,{cache:"no-store"});if(!t.ok)return{topStories:[],highlights:[]};let l=await t.json();return{topStories:Array.isArray(l.topStories)?l.topStories:[],highlights:Array.isArray(l.highlights)?l.highlights:[]}}function p({title:e,rowCount:t=4}){let l=Math.max(1,Number.isFinite(t)?t:4);return(0,s.jsx)("div",{className:`${i().stylehidden662f70} ${i().stylewFulld486f7} ${i().styleflexColf66bad} ${i().styleitemsStart769dc7} ${i().stylebgWhite4efc18} ${i().styledarkBg1717179e5013} ${i().stylexlFlex816ac4} ${i().stylexlOverflowHiddena51497} ${i().stylexlRounded12px55a201} ${i().stylexlBorder1aab83} ${i().stylexlBorderVarFdBgSoftb1192c} ${i().stylexlShadow0px4px4pxRgba000004b6c032} ${i().styledarkXlBorder2A2A2A3f688f} ${i().styledarkXlShadow0px4px4pxRgba000021b0454}`,children:(0,s.jsxs)("div",{className:`${i().styleflex897a77} ${i().stylewFulld486f7} ${i().styleflexColf66bad} ${i().styleitemsStart769dc7} ${i().stylegap362c1e5} ${i().stylep4ff8809}`,children:[(0,s.jsxs)("div",{className:`${i().styleflex897a77} ${i().stylewFulld486f7} ${i().styleitemsStart769dc7} ${i().stylejustifyBetween79b704}`,children:[e?(0,s.jsx)("h2",{className:`${i().styletext18pxc79a76} ${i().stylefontSemibold1db892} ${i().styleleading24px94eceb} ${i().styletracking027pxd4de14} ${i().styletext171717df2b72} ${i().styledarkTextWhite2f9ec4}`,children:e}):(0,s.jsx)("div",{className:`${i().styleh6566e8c} ${i().stylew28e7a065} ${i().stylerounded990fcd} ${i().stylebgGray20076cb49} ${i().styledarkBgWhite10e2c5ca}`}),(0,s.jsx)("div",{className:`${i().styleh5530b69} ${i().stylew143291b7} ${i().stylerounded990fcd} ${i().stylebgGray20076cb49} ${i().styledarkBgWhite10e2c5ca}`})]}),(0,s.jsx)("div",{className:`${i().styleflex897a77} ${i().stylewFulld486f7} ${i().styleflexColf66bad} ${i().stylegap4523880}`,children:Array.from({length:l},(e,t)=>(0,s.jsxs)("div",{className:`${i().styleflex897a77} ${i().stylewFulld486f7} ${i().styleitemsCenter54183f} ${i().stylegap362c1e5}`,children:[(0,s.jsx)("div",{className:`${i().styleh18999305} ${i().stylew306a5014} ${i().styleshrink00ff40b} ${i().stylerounded10px19492b} ${i().stylebgGray20076cb49} ${i().styledarkBgWhite10e2c5ca}`}),(0,s.jsxs)("div",{className:`${i().styleflex897a77} ${i().styleminW0179d12} ${i().styleflex1f8d822} ${i().styleflexColf66bad} ${i().stylegap2ce8153}`,children:[(0,s.jsx)("div",{className:`${i().styleh5530b69} ${i().stylewFulld486f7} ${i().stylerounded990fcd} ${i().stylebgGray20076cb49} ${i().styledarkBgWhite10e2c5ca}`}),(0,s.jsx)("div",{className:`${i().styleh43580cf} ${i().stylew2061fab2} ${i().stylerounded990fcd} ${i().stylebgGray20076cb49} ${i().styledarkBgWhite10e2c5ca}`})]})]},t))})]})})}function g({labels:e,compactSidebar:t=!1,compactVariant:l="topStories",compactLimit:a=4}){let m=(0,d.Y)(),y=(0,o.g)(),w=(0,c.c3)("news"),b=(0,c.c3)("home"),[v,j]=(0,n.useState)(!1),[k,_]=(0,n.use
1State)(null),N=(0,n.useCallback)(e=>{e?.link1&&(_({title:e.title,link1:e.link1,link2:null,link3:null,link4:null,code:e.id?.toString()||e.matchId?.toString()||"",videoId:e.videoId,isYouTube:e.isYouTube}),j(!0))},[]),{data:$,isPending:S}=(0,r.I)({queryKey:["home","top-stories",m],queryFn:()=>h(m),staleTime:6e4}),A=$?.topStories??[],C=$?.highlights??[],E=(0,n.useCallback)(()=>{y.push("/news")},[y]);if(!A.length&&!C.length&&!S)return null;if(S&&!t)return(0,s.jsx)(x.L3,{topStoriesTitle:e?.newsTopStories??w("topStories"),latestHighlightsTitle:e?.latestHighlights??b("latestHighlights"),seeAllLabel:e?.newsSeeAll??w("seeAll")});if(t){let t="latestHighlights"===l;if(S)return(0,s.jsx)(p,{title:t?e?.newsLatestHighlights??w("latestHighlights"):e?.newsTopStories??w("topStories"),rowCount:a});let i=t?C:A;return i.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.F7,{title:t?e?.newsLatestHighlights??w("latestHighlights"):e?.newsTopStories??w("topStories"),news:i,showSeeAll:!0,seeAllLabel:e?.newsSeeAll??w("seeAll"),onSeeAll:E,isCard:!0,desktopCompactList:!0,desktopCompactLimit:a,isHighlight:t,onPlayHighlight:t?N:void 0}),t?(0,s.jsx)(f.A,{open:v,onOpenChange:j,highlight:k}):null]}):null}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:`${i().styleflex897a77} ${i().styleflexColf66bad} ${i().stylegap1050a803}`,children:[A.length?(0,s.jsx)(u.F7,{title:e?.newsTopStories??w("topStories"),news:A,showSeeAll:!0,seeAllLabel:e?.newsSeeAll??w("seeAll"),onSeeAll:E,homeLayout:!0}):null,C.length?(0,s.jsx)(u.F7,{title:e?.latestHighlights??b("latestHighlights"),news:C,showSeeAll:!0,seeAllLabel:e?.newsSeeAll??w("seeAll"),onSeeAll:E,homeLayout:!0,isHighlight:!0,onPlayHighlight:N}):null]}),(0,s.jsx)(f.A,{open:v,onOpenChange:j,highlight:k})]})}},20232:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});let s=(0,l(78340).A)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},28356:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return a}};for(var s in l)Object.defineProperty(t,s,{enumerable:!0,get:l[s]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37015:e=>{e.exports={stylehidden662f70:"_SDJJ86DSe4",stylewFulld486f7:"_4FjLqbB_gq",styleflexColf66bad:"_0V_ZgFEPcP",styleitemsStart769dc7:"_W67aKcs7qh",stylebgWhite4efc18:"_koRniweHNu",styledarkBg1717179e5013:"_S0f5IwM3fP",stylexlFlex816ac4:"_cgJQn0mkb6",stylexlOverflowHiddena51497:"_EigvEwjRoA",stylexlRounded12px55a201:"_7zEphW2yoF",stylexlBorder1aab83:"_MNN7aEIxeP",stylexlBorderVarFdBgSoftb1192c:"_quTdbvaQPe",stylexlShadow0px4px4pxRgba000004b6c032:"_lv9sHLVjgX",styledarkXlBorder2A2A2A3f688f:"_mddLo0wCAj",styledarkXlShadow0px4px4pxRgba000021b0454:"_3HhXel4KT6",styleflex897a77:"_PKwKt2ek_I",stylegap362c1e5:"_lhCeissykB",stylep4ff8809:"_zYqjY826EM",stylejustifyBetween79b704:"_OHJVcQQXuk",styletext18pxc79a76:"_lVCD7wzvQ1",stylefontSemibold1db892:"_hk2P_MADMs",styleleading24px94eceb:"_qhwfYpw7NA",styletracking027pxd4de14:"_ddI33lVtgF",styletext171717df2b72:"_SYyP6UPBpR",styledarkTextWhite2f9ec4:"__2zxTiU0DQ",styleh6566e8c:"_MBoDQGe5gI",stylew28e7a065:"_FBc5NCBxr_",stylerounded990fcd:"_T-RXwUYll1",stylebgGray20076cb49:"_FnxUbvCYNS",styledarkBgWhite10e2c5ca:"_h8rCxduvzI",styleh5530b69:"_AlRZ6_BlF1",stylew143291b7:"_7EdxA1_nEN",stylegap4523880:"_BNgsskXO7X",styleitemsCenter54183f:"_10V3ZGRGvK",styleh18999305:"_NN3eMKPhmc",stylew306a5014:"_KYn76qugmC",styleshrink00ff40b:"_ejuxsUhHyJ",stylerounded10px19492b:"_mqXObWem2_",styleminW0179d12:"_7d6NDmzd2P",styleflex1f8d822:"_r_DDtvBEnX",stylegap2ce8153:"_6og2Z3u1s9",styleh43580cf:"_EA3iioHie
1w",stylew2061fab2:"_avMD75w7ow",stylegap1050a803:"_ulvJ3AG51N"}},42593:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={default:function(){return b},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return y}};for(var a in s)Object.defineProperty(t,a,{enumerable:!0,get:s[a]});let i=l(73623),n=l(66388),r=l(95155),d=i._(l(47650)),o=n._(l(12115)),c=l(75368),u=l(3584),f=l(28356),x=l(71922),h=new Map,p=new Set,g=e=>{let{src:t,id:l,onLoad:s=()=>{},onReady:a=null,dangerouslySetInnerHTML:i,children:n="",strategy:r="afterInteractive",onError:o,stylesheets:c}=e,f=l||t;if(f&&p.has(f))return;if(h.has(t)){p.add(f),h.get(t).then(s,o);return}let x=()=>{a&&a(),p.add(f)},g=document.createElement("script"),m=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),s&&s.call(this,t),x()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){o&&o(e)});i?(g.innerHTML=i.__html||"",x()):n?(g.textContent="string"==typeof n?n:Array.isArray(n)?n.join(""):"",x()):t&&(g.src=t,h.set(t,m)),(0,u.setAttributesFromProps)(g,e),"worker"===r&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",r),c&&(e=>{if(d.default.preinit)return e.forEach(e=>{d.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let l=document.createElement("link");l.type="text/css",l.rel="stylesheet",l.href=e,t.appendChild(l)})}})(c),document.body.appendChild(g)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}):g(e)}function y(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function w(e){let{id:t,src:l="",onLoad:s=()=>{},onReady:a=null,strategy:i="afterInteractive",onError:n,stylesheets:u,...h}=e,{updateScripts:m,scripts:y,getIsSsr:w,appDir:b,nonce:v}=(0,o.useContext)(c.HeadManagerContext);v=h.nonce||v;let j=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let e=t||l;j.current||(a&&e&&p.has(e)&&a(),j.current=!0)},[a,t,l]);let k=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!k.current){if("afterInteractive"===i)g(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>g(e))}));k.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(m?(y[i]=(y[i]||[]).concat([{id:t,src:l,onLoad:s,onReady:a,onError:n,...h,nonce:v}]),m(y)):w&&w()?p.add(t||l):w&&!w()&&g({...e,nonce:v})),b){if(u&&u.forEach(e=>{d.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!l)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,r.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,x.htmlEscapeJsonString)(JSON.stringify([0,{...h,id:t}]))})`}});else return d.default.preload(l,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin}),(0,r.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,x.htmlEscapeJsonString)(JSON.stringify([l,{...h,id:t}]))})`}});"afterInteractive"===i&&l&&d.default.preload(l,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(w,"__nextScript",{value:!0});let b=w;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44176:(e,t,l)=>{"use strict";l.d(t,{A:()=>f});var s=l(95155),a=l(12115),i=l(78476),n=l(65596),r=l(33210),d=l(63644),o=l(67593),c=l(28057),u=l(93505);function f({open:e,onOpenChange:t,highlight:l}){let{sessionPrefs:x,updateSessionPrefs:h}=(0,o.Jd)(),p=(0,c.c3)("common"),g=(0,c.c3)("news"),[m,y]=(0,a.useState)(1),[w,b]=(0,a.useState)(""),[v,j]=(0,a.useState)(""),k=[];l?.link1&&k.push({num:1,url:l.link1}),l?.link2&&k.push({num:2,url:l.link2}),l?.link3&&k.push({num:3,url:l.link3}),l?.link4&&k.push({num:4,url:l.link4}),(0,a.useEffect)(()=>{e&&y(1)},[e]);let _=e=>{if(!e)return null;let t=e.match(/\/embed\/([a-zA-Z0-9_-]+)/);if(t&&t[1])return t[1];let l=e.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9_-]+)/);return l&&l[1]?l[1]:null};return((0,a.useEffect)(()=>
1{if(!l)return;let e="";1===m&&l.link1?e=l.link1:2===m&&l.link2?e=l.link2:3===m&&l.link3?e=l.link3:4===m&&l.link4?e=l.link4:l.link1&&(e=l.link1),e=e.replace(/^http:/,"https:");let t=l.videoId||_(e);if(t)j("iframe"),b(`https://www.youtube-nocookie.com/embed/${t}?autoplay=1&rel=0`);else if(e.includes(".mp4"))j("mp4"),b(e);else if(e.includes(".m3u8"))j("m3u8"),b(e);else if(e.toLowerCase().includes("youtube.com/embed/")){let t=_(e);t?(j("iframe"),b(`https://www.youtube-nocookie.com/embed/${t}?autoplay=1&rel=0`)):(j("iframe"),b(e))}else j("iframe"),b(e)},[m,l]),(0,a.useEffect)(()=>{if("m3u8"===v&&e){let e=document.getElementById("highlight-video");if(e){if(window.Hls&&window.Hls.isSupported()){let t=new window.Hls;return t.loadSource(w),t.attachMedia(e),t.on(window.Hls.Events.MANIFEST_PARSED,()=>{e.play().catch(()=>{})}),()=>{t.destroy()}}else if(e.canPlayType("application/vnd.apple.mpegurl")){e.src=w;let t=()=>{e.play().catch(()=>{})};return e.addEventListener("canplay",t),()=>e.removeEventListener("canplay",t)}else if(e.canPlayType("application/x-mpegURL")){e.src=w;let t=()=>{e.play().catch(()=>{})};return e.addEventListener("canplay",t),()=>e.removeEventListener("canplay",t)}}}},[v,w,e]),(0,a.useEffect)(()=>{e&&l?.code&&x&&x.hilastview!==l.code&&(fetch(`/api/highlights/${l.code}/view`,{method:"POST"}).catch(e=>console.error("Failed to update view count:",e)),h({hilastview:l.code}).catch(()=>{}))},[e,l?.code,x,h]),l)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{src:"https://cdn.jsdelivr.net/npm/hls.js@latest",strategy:"lazyOnload"}),(0,s.jsx)(i.lG,{open:e,onOpenChange:t,className:"rounded-none",children:(0,s.jsxs)(i.Cf,{className:"h-full w-full bg-black !p-0 overflow-hidden flex flex-col !border-0 !max-w-none rounded-none",showCloseButton:!1,children:[(0,s.jsxs)("div",{className:"bg-black flex items-center justify-between px-4 py-3 border-b border-gray-800 shrink-0",children:[(0,s.jsx)("h2",{className:"font-semibold text-[16px] text-white",children:l.title}),(0,s.jsx)(d.$,{onClick:()=>t(!1),className:"flex items-center justify-center w-8 h-8 shrink-0 hover:bg-gray-800 rounded-md ","aria-label":p("close"),variant:"ghost",size:"icon-sm",type:"button",children:(0,s.jsx)(r.A,{className:"w-5 h-5 text-white"})})]}),k.length>1&&(0,s.jsx)("div",{className:"bg-black flex items-center justify-center gap-2 px-4 py-2 border-b border-gray-800 shrink-0",children:k.map(e=>(0,s.jsx)("button",{onClick:()=>{y(e.num)},className:`px-3 py-1 rounded text-sm font-medium  ${m===e.num?"bg-yellow-500 text-black":"bg-gray-700 text-white hover:bg-gray-600"}`,children:g("serverLabel",{number:e.num})},e.num))}),(0,s.jsxs)("div",{className:"flex-1 flex items-center justify-center bg-black p-4 overflow-auto",children:["mp4"===v&&(0,s.jsxs)("video",{controls:!0,autoPlay:!0,className:"max-w-full max-h-full",style:{width:"100%",maxWidth:"1200px",height:"auto"},children:[(0,s.jsx)("source",{src:w,type:"video/mp4"}),g("videoUnsupported")]}),"m3u8"===v&&(0,s.jsx)("video",{id:"highlight-video",controls:!0,autoPlay:!0,className:"max-w-full max-h-full",style:{width:"100%",maxWidth:"1200px",height:"auto"},children:g("browserVideoUnsupported")}),"iframe"===v&&(0,s.jsx)("iframe",{width:"100%",height:"100%",frameBorder:"0",scrolling:"no",allowFullScreen:!0,src:w,className:"max-w-full",style:{maxWidth:"1200px",aspectRatio:"16/9",minHeight:"450px"}})]}),(0,s.jsx)("div",{className:"bg-black text-center py-3 border-t border-gray-800 shrink-0",children:(0,s.jsx)("p",{className:"text-white text-xs font-verdana",children:g("videoProviderNotice")})})]})}),e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.A,{code:"mobile-news-bottomFloating-w320-h50",footerVisible:!1}),(0,s.jsx)(u.A,{code:"desktop-news-bottomFloating-w600-h60",footerVisible:!1})]}):null]}):null}},65596:(e,t,l)=>{"use strict";l.d(t,{default:()=>a.a});var s=l(42593),a=l.n(s)},68282:(e,t,l)=>{"use strict";l.d(t,{F7:()=>g,f$:()=>h});var s=l(95155),a=l(12115),i=l(9805),n=l(5772),r=l(64805),d=l(20232),o=l(86190),c=l(36161),u=l(67593),f=l(59185),x=l(38188);function h({news:e,isLarge:t=!1,homeLayout:l=!1}){let a=(0,i.g)(),d=(0,f.Y)(),{timezone:o}=(0,u.Jd)(),p=(0,x.uo)(e.datetime,d,o),g=t=>{e.id&&(t?.detail===0&&(0,c.z)("scroll:/news"),a.push(`/news/${e.id}`))};return t?(0,s.jsxs)("button",{type:"button",onPointerDown:()=>(0,c.z)("scroll:/news"),onMouseDown:()=>(0,c.z)("scroll:/news"),onClick:g,className:"flex w-full cursor-pointer flex-col gap-2.5 text-left",children:[(0,s.jsx)("div",{"data-news-thumbnail":!0,className:"relative h-[180px] w-[293px] max-w-full overflow-hidden rounded-[10px]",children:(0,s.jsx)(n.default,{unoptimized:l,src:l?(0,r.default)({src:e.image,width:(t?293:120)*2,quality:75}):e.image,alt:e.title,width:293,height:180,className:"h-full w-full object-cover"})}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("h3",{className:"text-[18px] font-semibold leading-[24px] tracking-[-0.27px] text-[#171717] dark:text-white",children:e.title}),(0,s.jsxs)("div",{"data-news-meta":!0,className:"flex items-center gap-1.5",children:[(0,s.jsx)("span",{className:"font-sans text-[12px] font-semibold leading-[16
1px] tracking-[-0.072px] text-[#336699] dark:text-[#179DE0]",children:e.category}),l?(0,s.jsx)(n.default,{unoptimized:!0,src:"/assets/home/news-dot.svg",alt:"",width:4,height:4}):(0,s.jsx)("div",{className:"h-1 w-1 rounded-full bg-[#d1d1d1]"}),(0,s.jsx)("span",{className:"font-sans text-[12px] font-normal leading-[16px] tracking-[-0.072px] text-[#808080] dark:text-[#C8C8C8]",children:p?.timeAgo??e.timeAgo})]})]})]}):(0,s.jsxs)("button",{type:"button",onPointerDown:()=>(0,c.z)("scroll:/news"),onMouseDown:()=>(0,c.z)("scroll:/news"),onClick:g,className:"flex w-full cursor-pointer items-center gap-3 text-left",children:[(0,s.jsx)("div",{className:"relative h-18 w-30 shrink-0 overflow-hidden rounded-[10px]",children:(0,s.jsx)(n.default,{unoptimized:l,src:l?(0,r.default)({src:e.image,width:(t?293:120)*2,quality:75}):e.image,alt:e.title,width:120,height:72,className:"h-full w-full object-cover"})}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[(0,s.jsx)("h3",{className:"line-clamp-2 font-sans text-[14px] font-semibold leading-[20px] tracking-[-0.084px] text-[#171717] dark:text-white",children:e.title}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"whitespace-nowrap font-sans text-[12px] font-semibold leading-[16px] tracking-[-0.072px] text-[#336699] dark:text-[#179DE0]",children:e.category}),(0,s.jsx)("div",{className:"h-1 w-1 shrink-0 rounded-full bg-[#d1d1d1]"}),(0,s.jsx)("span",{className:"whitespace-nowrap font-sans text-[12px] font-normal leading-[16px] tracking-[-0.072px] text-[#808080] dark:text-[#C8C8C8]",children:p?.timeAgo??e.timeAgo})]})]})]})}function p({news:e,isLarge:t=!1,onPlay:l,homeLayout:a=!1}){let i=!!(e?.link1&&l);return(0,s.jsxs)("button",{type:"button",onClick:()=>{i&&l(e)},disabled:!i,"aria-label":i?`Play video: ${e.title}`:void 0,className:(0,o.cn)("group flex w-full text-left disabled:cursor-not-allowed disabled:opacity-60",t?"cursor-pointer flex-col gap-2.5":"cursor-pointer items-center gap-3"),children:[(0,s.jsxs)("div",{"data-news-thumbnail":!0,"data-news-video":a||void 0,className:(0,o.cn)("relative shrink-0 overflow-hidden rounded-[10px]",t?"h-[180px] w-[293px] max-w-full":"h-18 w-30"),children:[(0,s.jsx)("img",{src:a?(0,r.default)({src:e.image,width:(t?293:120)*2,quality:75}):e.image,alt:"",width:t?293:120,height:t?180:72,className:"h-full w-full object-cover transition-opacity group-hover:opacity-90",onError:t=>{let l;return l=t.currentTarget,void(e.fallbackImage&&l.src!==e.fallbackImage?l.src=e.fallbackImage:!e.fallbackImage&&!l.src.includes("default.jpg")&&(l.src="https://www.asianbookie.net/highlights/default.jpg"))},loading:"lazy"}),(0,s.jsx)("div",{"data-news-play-overlay":a||void 0,className:"pointer-events-none absolute inset-0 flex items-center justify-center","aria-hidden":!0,children:a?(0,s.jsx)("div",{"data-news-play":!0,children:(0,s.jsx)(n.default,{unoptimized:!0,src:"/assets/home/news-play.svg",alt:"",width:21.9095,height:26.6667})}):(0,s.jsx)("div",{className:"rounded-full bg-white/90 p-2 shadow-sm",children:(0,s.jsx)(d.A,{className:"size-6 fill-[#336699] text-[#336699] dark:fill-[#179DE0] dark:text-[#179DE0]","aria-hidden":!0})})})]}),(0,s.jsxs)("div",{className:(0,o.cn)("flex flex-col gap-2",!t&&"min-w-0 flex-1"),children:[(0,s.jsx)("h3",{className:(0,o.cn)("font-semibold text-[#171717] dark:text-white",t?"text-[18px] leading-[24px] tracking-[-0.27px]":"line-clamp-2 font-sans text-[14px] leading-[20px] tracking-[-0.084px]"),children:e.title}),(0,s.jsxs)("div",{"data-news-meta":!0,className:"flex items-center gap-2",children:[a&&(e.category||e.league)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"font-semibold",children:e.category||e.league}),(0,s.jsx)(n.default,{unoptimized:!0,src:"/assets/home/news-dot.svg",alt:"",width:4,height:4})]}):null,(0,s.jsx)("span",{className:(0,o.cn)("font-sans text-[12px] font-normal leading-[16px] tracking-[-0.072px] text-[#808080] dark:text-[#C8C8C8]",!t&&"whitespace-nowrap"),children:e.timeAgo})]})]})]})}function g({title:e,news:t,showSeeAll:l=!1,onSeeAll:i,seeAllLabel:n,isCard:r=!1,isHighlight:d=!1,onPlayHighlight:c,desktopFeaturedAsideStack:u=!1,desktopCompactList:f=!1,desktopCompactLimit:x,homeLayout:m=!1}){let{Row:y,rowProps:w}=(0,a.useMemo)(()=>d&&c?{Row:p,rowProps:{onPlay:c}}:{Row:h,rowProps:{}},[d,c]);if(!t?.length)return null;let b=f&&"number"==typeof x?t.slice(0,x):t,v=t.slice(0,m?3:2),[j,...k]=t;return(0,s.jsx)("div",{"data-home-news":m||void 0,className:(0,o.cn)("hidden w-full flex-col items-start bg-white dark:bg-[#171717] xl:flex",r&&"xl:overflow-hidden xl:rounded-[12px] xl:border xl:border-[var(--fd-bg-soft)] xl:shadow-[0px_4px_4px_rgba(0,0,0,0.04)] dark:xl:border-[#2A2A2A] dark:xl:sh
1adow-[0px_4px_4px_rgba(0,0,0,0.2)]"),children:(0,s.jsxs)("div",{className:"flex w-full flex-col items-start gap-4 p-4 xl:gap-3 xl:p-4",children:[(0,s.jsxs)("div",{className:"flex w-full items-start justify-between",children:[(0,s.jsx)("h2",{className:"text-[18px] font-semibold leading-[24px] tracking-[-0.27px] text-[#171717] dark:text-white",children:e}),l&&i&&n?(0,s.jsx)("button",{type:"button",onClick:i,className:"cursor-pointer text-[14px] font-semibold leading-[20px] tracking-[-0.084px] text-[#336699] underline-offset-2 hover:underline dark:text-[#179DE0]",children:n}):null]}),f?(0,s.jsx)("div",{className:"hidden w-full xl:flex xl:flex-col xl:gap-4",children:b.map(e=>(0,s.jsx)(y,{news:e,...w},e.id))}):null,f?null:(0,s.jsx)("div",{className:(0,o.cn)(m?"hidden w-full xl:grid xl:grid-cols-3 xl:gap-4":"hidden w-full xl:grid xl:grid-cols-2 xl:gap-6",u&&"xl:hidden"),children:v.map(e=>(0,s.jsx)(y,{news:e,isLarge:!0,homeLayout:m,...w},e.id))}),!f&&u?(0,s.jsxs)("div",{className:"hidden w-full xl:flex xl:flex-row xl:gap-4",children:[(0,s.jsx)("div",{className:"w-full shrink-0 xl:max-w-[293px]",children:(0,s.jsx)(y,{news:j,isLarge:!0,...w},j.id)}),(0,s.jsx)("div",{className:"flex min-w-0 flex-1 flex-col gap-4",children:k.map(e=>(0,s.jsx)(y,{news:e,...w},e.id))})]}):null,(0,s.jsxs)("div",{className:"flex w-full flex-col gap-4 xl:hidden",children:[(0,s.jsx)(y,{news:j,isLarge:!0,...w},j.id),(0,s.jsx)("div",{className:"flex flex-col gap-4",children:k.map(e=>(0,s.jsx)(y,{news:e,...w},e.id))})]})]})})}},71922:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={ESCAPE_REGEX:function(){return i},htmlEscapeAttributeString:function(){return o},htmlEscapeJsonString:function(){return d}};for(var s in l)Object.defineProperty(t,s,{enumerable:!0,get:l[s]});let a={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},i=/[&><\u2028\u2029]/g,n={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},r=/[&"'<>]/g;function d(e){return e.replace(i,e=>a[e])}function o(e){return e.replace(r,e=>n[e])}}}]);

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.