PageSourceSearch

https://www.sportsdunia.com/_next/static/chunks/2568.a155bf09cd8b6ba3.js

js sportsdunia.com collected 2026-10-02 10:48:42 UTC 40,002 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2568],{73381:function(e,l,t){t.d(l,{Z:function(){return i}});var s=t(9268);function i(e){let{showOdds:l,setShowOdds:t,showPercentage:i=!1}=e;return(0,s.jsxs)("div",{className:"flex items-center",children:[i?(0,s.jsx)("label",{htmlFor:"odds",className:"text-white font-medium text-sm cursor-pointer",children:"% View"}):(0,s.jsx)("label",{htmlFor:"odds",className:"text-white font-medium text-sm cursor-pointer",children:"Odds"}),(0,s.jsxs)("div",{className:"relative ml-3",children:[(0,s.jsx)("input",{type:"checkbox",id:"odds",className:"sr-only",checked:l,onChange:()=>{t(!l)}}),(0,s.jsx)("label",{htmlFor:"odds",className:"\n                        block w-8 mr-4 lg:mr-0 lg:w-12 h-3 lg:h-4 rounded-full cursor-pointer transition-all duration-200 ease-in-out\n                        ".concat(l?"bg-[#458AC6]":"bg-gray-600","\n                        relative\n                    "),children:(0,s.jsx)("span",{className:"\n                            absolute lg:-top-[0.195rem] -top-[0.1rem] w-4 lg:w-6 lg:h-6 h-4 bg-white rounded-full shadow-md transition-all duration-200 ease-in-out\n                            ".concat(l?"lg:left-6 left-[1.1rem]":"lg:left-[-2px] left-[-2px]","\n                        ")})})]}),i&&(0,s.jsx)("label",{htmlFor:"odds",className:"text-white font-medium text-sm cursor-pointer xl:ml-3",children:"Odds"})]})}t(86006)},46037:function(e,l,t){var s=t(9268);l.Z=e=>{var l,t,i,n;let{left:d,right:a,label:o="Win %",isMobile:r}=e,c=e=>Math.max(0,Math.min(100,Number.isFinite(e)?e:0)),x=c(null!==(l=null==d?void 0:d.value)&&void 0!==l?l:0),m=c(null!==(t=null==a?void 0:a.value)&&void 0!==t?t:0),u="rgba(238, 238, 238, 0.1)",h="0px 3.21px 9.64px 0px rgba(0, 0, 0, 0.2)";return(0,s.jsxs)("div",{className:"shrink-0 w-full flex items-center gap-3 text-white px-0 xl:px-5 mt-3",children:[(0,s.jsxs)("div",{className:"text-sm sm:text-base font-semibold opacity-90 flex items-center gap-2",children:[(0,s.jsx)("p",{children:null!==(i=null==d?void 0:d.name)&&void 0!==i?i:""}),(0,s.jsxs)("div",{className:"text-sm lg:text-base font-bold text-[#1E7900]",children:[Math.round(x),"%"]})]}),(0,s.jsxs)("div",{className:"flex-1 shrink-0 flex items-center h-7",children:[(0,s.jsx)("div",{className:"flex-1 h-3 rounded-l-full overflow-visible relative",style:{background:u},children:(0,s.jsx)("div",{className:"h-full rounded-l-full absolute right-0",style:{width:"".concat(x,"%"),background:"rgba(30, 121, 0, 1)",boxShadow:h}})}),(0,s.jsx)("div",{className:"shrink-0 h-3 flex items-center",children:(0,s.jsx)("span",{className:"px-1 lg:px-2 py-1 rounded-lg bg-[#3f3938] text-sm font-semibold whitespace-nowrap",children:o})}),(0,s.jsx)("div",{className:"flex-1 h-3 rounded-r-full overflow-visible relative",style:{background:u},children:(0,s.jsx)("div",{className:"h-full rounded-r-full absolute left-0",style:{width:"".concat(m,"%"),background:"rgba(184, 11, 0, 1)",boxShadow:h}})})]}),(0,s.jsxs)("div",{className:"shrink-0 text-sm sm:text-base font-semibold opacity-90 flex items-center gap-2",children:[(0,s.jsxs)("div",{className:"text-sm lg:text-base font-bold text-[#B80B00]",children:[Math.round(m),"%"]}),(0,s.jsx)("p",{children:null!==(n=null==a?void 0:a.name)&&void 0!==n?n:""})]})]})}},14787:function(e,l,t){t.d(l,{Z:function(){return i}});var s=t(9268);function i(){return(0,s.jsxs)("svg",{width:"10",height:"13",viewBox:"0 0 10 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("mask",{id:"mask0_12336_42823",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"10",height:"13",children:(0,s.jsx)("path",{d:"M3.53884 12.5938C2.08722 12.5938 0.492188 10.718 0.492188 8.69378C0.492188 6.59375 1.65571 5.28425 1.65571 5.28425C1.65571 6.33064 2.12656 7.13546 2.80713 7.1354
16C2.47107 6.45223 2.36968 5.85858 2.36968 5.43234C2.36968 2.73022 5.70551 2.23837 5.70551 0.59375C5.70551 0.59375 6.71719 1.29399 6.71719 2.09373C6.71719 3.00395 6.44202 2.58063 6.44202 3.83141C6.44202 4.75716 8.2846 5.35872 8.2846 6.46833C8.2846 7.05855 8.00312 7.86015 7.76467 8.0986C8.5797 8.0986 8.92972 6.60505 8.92972 6.18122C9.18348 6.63573 9.49222 7.25531 9.49222 8.65623C9.49222 10.3632 8.42234 12.5938 6.28786 12.5938C6.28786 12.5938 7.91722 11.741 7.91722 10.3437C7.91722 9.46188 7.5451 9.18418 7.31457 8.95366C7.28857 9.9949 6.94674 10.5798 6.30598 10.5798C5.90522 10.5798 5.32971 10.0188 5.32971 9.40626C5.32971 8.85986 6.15469 8.47511 6.15469 7.34378C6.15469 5.93715 4.8797 5.43127 4.8797 5.43127C5.02397 5.69172 5.13656 5.95798 5.13656 6.59375C5.13656 7.71151 3.49222 8.02259 3.49222 9.14378C3.49222 9.75394 3.77325 10.4251 3.77325 10.4251C3.34638 10.4251 2.59222 9.74408 2.59222 8.84376C2.40902 9.07277 2.06719 9.32111 2.06719 10.1187C2.06719 11.3476 3.53884 12.5938 3.53884 12.5938Z",fill:"white"})}),(0,s.jsxs)("g",{mask:"url(#mask0_12336_42823)",children:[(0,s.jsx)("mask",{id:"mask1_12336_42823",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"10",height:"13",children:(0,s.jsx)("path",{d:"M3.54665 12.5938C2.09503 12.5938 0.5 10.718 0.5 8.69378C0.5 6.59375 1.66352 5.28425 1.66352 5.28425C1.66352 6.33064 2.13437 7.13546 2.81494 7.1354
16C2.47888 6.45223 2.37749 5.85858 2.37749 5.43234C2.37749 2.73022 5.71332 2.23837 5.71332 0.59375C5.71332 0.59375 6.725 1.29399 6.725 2.09373C6.725 3.00395 6.44983 2.58063 6.44983 3.83141C6.44983 4.75716 8.29241 5.35872 8.29241 6.46833C8.29241 7.05855 8.01093 7.86015 7.77249 8.0986C8.58752 8.0986 8.93753 6.60505 8.93753 6.18122C9.19129 6.63573 9.50004 7.25531 9.50004 8.65623C9.50004 10.3632 8.43016 12.5938 6.29567 12.5938C6.29567 12.5938 7.92503 11.741 7.92503 10.3437C7.92503 9.46188 7.55292 9.18418 7.32238 8.95366C7.29638 9.9949 6.95455 10.5798 6.31379 10.5798C5.91303 10.5798 5.33752 10.0188 5.33752 9.40626C5.33752 8.85986 6.1625 8.47511 6.1625 7.34378C6.1625 5.93715 4.88752 5.43127 4.88752 5.43127C5.03178 5.69172 5.14437 5.95798 5.14437 6.59375C5.14437 7.71151 3.50004 8.02259 3.50004 9.14378C3.50004 9.75394 3.78106 10.4251 3.78106 10.4251C3.35419 10.4251 2.60003 9.74408 2.60003 8.84376C2.41683 9.07277 2.07501 9.32111 2.07501 10.1187C2.07501 11.3476 3.54665 12.5938 3.54665 12.5938Z",fill:"white"})}),(0,s.jsx)("g",{mask:"url(#mask1_12336_42823)",children:(0,s.jsx)("path",{d:"M9.50004 0.59375H0.5V12.5938H9.50004V0.59375Z",fill:"url(#paint0_linear_12336_42823)"})})]}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"paint0_linear_12336_42823",x1:"5.00002",y1:"0.593738",x2:"5.00002",y2:"12.5938",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#FF1D25"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#FF911E"})]})})]})}},23395:function(e,l,t){var s=t(9268);l.Z=e=>{let{width:l="9",height:t="16",fill:i="#FDFDFD",className:n=""}=e;return(0,s.jsx)("svg",{width:l,height:t,viewBox:"0 0 9 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,children:(0,s.jsx)("path",{d:"M8.82419 7.86042C8.82419 7.98553 8.77524 8.09704 8.67733 8.19495L1.87252 14.9998C1.77461 15.0977 1.6631 15.1466 1.53799 15.1466C1.41288 15.1466 1.30137 15.0977 1.20346 14.9998L0.469132 14.2654C0.371221 14.1675 0.322266 14.0587 0.322266 13.9391C0.322266 13.8194 0.371221 13.7052 0.469132 13.5964L6.20508 7.86042L0.469132 2.12447C0.371221 2.02656 0.322266 1.91233 0.322266 1.78179C0.322266 1.65124 0.371221 1.54245 0.469132 1.45542L1.20346 0.721085C1.29593 0.623174 1.40472 0.574219 1.52983 0.574219C1.65494 0.574219 1.76917 0.623174 1.87252 0.721085L8.67733 7.51773C8.77524 7.61564 8.82419 7.72987 8.82419 7.86042Z",fill:i})})}},82994:function(e,l,t){t.d(l,{Z:function(){return c}});var s=t(9268),i=t(86006),n=t(90543),d=t(35846),a=t.n(d),o=t(76394),r=t.n(o);function c(e){let{squadDetails:l,teamA:t,teamB:d}=e,[o,c]=(0,i.useState)(null==t?void 0:t.tid),x=(null==l?void 0:l[String(o)])||[],m=x.filter(e=>"true"===e.playing11&&"false"===e.substitute),u=x.filter(e=>"false"===e.playing11);return 0===m.length&&0===u.length?null:(0,s.jsxs)("div",{className:"w-full max-w-full bg-[#191919] rounded-xl overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between lg:px-4 lg:py-4 px-[12px] py-[10px] bg-[#191B1D] border-b border-[#5A5A5A] shadow-[0_4px_4px_rgba(0,0,0,0.25)]",children:[(0,s.jsx)("h2",{className:"text-[#FFFFFF] text-base font-medium lg:text-lg",children:"SQUAD"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("button",{onClick:()=>c(null==t?void 0:t.tid),className:"flex items-center gap-1 px-2 py-1 h-8 min-w-[60px] rounded-lg shadow-lg border ".concat(o===(null==t?void 0:t.tid)?"bg-[#000000] border-[#5A5A5A]":"bg-[#252729] border-[#5A5A5A]"),children:[(null==t?void 0:t.logo_url)&&(0,s.jsx)(r(),{src:t.logo_url,alt:t.abbr,width:22,height:22,className:"rounded-full object-cover"}),(0,s.jsx)("span",{className:"text-white text-xs lg:text-lg",children:null==t?void 0:t.abbr})]}),(0,s.jsxs)("button",{onClick:()=>c(null==d?void 0:d.tid),className:"flex items-center gap-1 px-2 py-1 rounded-lg h-8 min-w-[60px] shadow-lg border ".concat(o===(null==d?void 0:d.tid)?"bg-[#000000] border-[#5A5A5A]":"bg-[#252729] border-[#5A5A5A]"),children:[(null==d?void 0:d.logo_url)&&(0,s.jsx)(r(),{src:d.logo_url,alt:d.abbr,width:22,height:22,className:"rounded-full object-cover"}),(0,s.jsx)("span",{className:"text-white text-xs lg:text-lg",children:null==d?void 0:d.abbr})]})]})]}),m.length>0&&(0,s.jsxs)("div",{className:"pt-3 pb-2",children:[(0,s.jsx)("div",{children:(0,s.jsx)("p",{className:"text-white text-sm mb-2 px-4 mx-2 bg-[#214360] rounded-md py-1 lg:text-lg",children:"Playing 11"})}),(0,s.jsx)("div",{className:"space-y-0",children:m.map((e,l)=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between py-2 px-4 ".concat(l%2==0?"bg-[#191919]":"bg-[#1b1f22]"),children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(n.Z,{}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"text-white text-sm font-medium lg:text-lg",children:[e.name,e.role_str&&(0,s.jsx)("span",{className:"text-blue-400 text-xs lg:text-lg ml-1",children:e.role_str})]}),(0,s.jsx)("p",{className:"text-gray-400 text-xs lg:text-lg",children:"bat"===e.role?"Batter":"bowl"===e.role?"Bowler":"wk"===e.role?"Wicket-keeper":"all"===e.role?"All-rounder":e.role})]})]}),(0,s.jsx)(a(),{href:"/coming-soon",children:(0,s.jsx)("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",className:"text-[#458AC6]",children:(0,s.jsx)("path",{d:"M1 1L5 5L1 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]},l),(0,s.jsx)("div",{className:"border-t border-[#5A5A5A]"})]}))})]}),u.length>0&&(0,s.jsxs)("div",{className:"pt-3",children:[(null==m?void 0:m.length)>0&&(0,s.jsx)("p",{className:"text-white text-sm mb-2 px-4 mx-2 bg-[#214360] rounded-md py-1 lg:text-lg",children:"Bench"}),(0,s.jsx)("div",{className:"space-y-0",children:u.map((e,l)=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between py-2 px-4 ".concat(l%2==0?"bg-[#191919]":"bg-[#1b1f22]"),children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(n.Z,{}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"text-white text-sm font-medium lg:text-lg",children:[e.name,e.role_str&&(0,s.jsx)("span",{className:"text-[#458AC6] text-xs lg:text-lg ml-1",children:e.role_str})]}),(0,s.jsx)("p",{className:"text-gray-400 text-xs lg:text-lg",children:"bat"===e.role?"Batter":"bowl"===e.role?"Bowler":"wk"===e.role?"Wicket-keeper":"all"===e.role?"All-rounder":e.role})]})]}),(0,s.jsx)(a(),{href:"/coming-soon",children:(0,s.jsx)("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",className:"text-[#458AC6]",children:(0,s.jsx)("path",{d:"M1 1L5 5L1 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]},l),l!==u.length-1&&(0,s.jsx)("div",{className:"border-t border-[#5A5A5A]"})]}))})]})]})}},94591:function(e,l,t){t.r(l),t.d(l,{default:function(){return y}});var s=t(9268),i=t(86006),n=t(13935),d=t(76394),a=t.n(d),o=t(82438);function r(e){let{batters:l=[]}=e;return(0,s.jsx)("div",{className:"bg-[#191919] rounded-xl overflow-hidden",children:(0,s.jsxs)("table",{className:"w-full",children:[(0,s.jsx)("thead",{className:"bg-[#191
1B1D] shadow-[0px_4px_4px_0px_#00000040] px-2.5 py-2 border-b-[0.5px] border-[#A1A1A1]",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"w-[45%] px-4 py-3 text-left text-base font-semibold text-white tracking-wide",children:"Batter"}),(0,s.jsx)("th",{className:"w-[11%] px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"R"}),(0,s.jsx)("th",{className:"w-[11%] px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"B"}),(0,s.jsx)("th",{className:"w-[11%] px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"4"}),(0,s.jsx)("th",{className:"w-[11%] px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"6"}),(0,s.jsx)("th",{className:"w-[11%] px-2 pr-3 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"S/R"})]})}),(0,s.jsx)("tbody",{className:"p-10",children:null==l?void 0:l.map((e,t)=>(0,s.jsxs)("tr",{className:"".concat(t<l.length-1?"border-b-[0.88px] border-[rgba(255,255,255,0.3)]":""),children:[(0,s.jsx)("td",{className:"w-[45%] pl-3 py-3 text-left text-sm xl:text-base font-semibold text-white tracking-wide",children:(0,s.jsxs)("p",{className:"inline ".concat((null==e?void 0:e.isCurrent)?"text-white":"text-[rgba(211,211,211,0.8)]"),children:[(0,o.BW)(null==e?void 0:e.name,!0),e.isCurrent&&(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/icons/cricket-bat_6275116%201-1757584072945.webp",alt:"cricket-ball",width:16,height:16,className:"h-3 w-3 inline ml-1 mb-1"})]})}),(0,s.jsx)("td",{className:"w-[11%] px-1.5 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:null==e?void 0:e.runs}),(0,s.jsx)("td",{className:"w-[11%] px-1.5 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:null==e?void 0:e.balls_faced}),(0,s.jsx)("td",{className:"w-[11%] px-1.5 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:null==e?void 0:e.fours}),(0,s.jsx)("td",{className:"w-[11%] px-1.5 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:null==e?void 0:e.sixes}),(0,s.jsx)("td",{className:"w-[11%] px-2 pr-3 py-3 mb-2 text-center text-sm font-semibold text-[#D3D3D3] tracking-wide",children:null==e?void 0:e.strike_rate})]},t))})]})})}function c(e){var l,t,i,n,d,r,c,x,m,u,h,v,p,g,b,w,f,j,_,N;let{bestPerformance:y,matchInfo:k}=e,D=y[0]||{},C=y[1]||{},A=(null==k?void 0:k.team_a_id)===(null==D?void 0:D.tid)?null==k?void 0:k.team_a_abbr:null==k?void 0:k.team_b_abbr,B=(null==k?void 0:k.team_b_id)===(null==C?void 0:C.tid)?null==k?void 0:k.team_b_abbr:null==k?void 0:k.team_a_abbr,F=(null==k?void 0:k.team_a_id)===(null==D?void 0:D.tid)?null==k?void 0:null===(l=k.teamAScore)||void 0===l?void 0:l.scores_full:null==k?void 0:null===(t=k.teamBScore)||void 0===t?void 0:t.scores_full,O=(null==k?void 0:k.team_b_id)===(null==C?void 0:C.tid)?null==k?void 0:null===(i=k.teamBScore)||void 0===i?void 0:i.scores_full:null==k?void 0:null===(n=k.teamAScore)||void 0===n?void 0:n.scores_full,M=(null==k?void 0:k.team_a_id)===(null==D?void 0:D.tid)?null==k?void 0:k.team_a_logo:null==k?void 0:k.team_b_logo,S=(null==k?void 0:k.team_b_id)===(null==C?void 0:C.tid)?null==k?void 0:k.team_b_logo:null==k?void 0:k.team_a_logo;return(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"flex items-center justify-between gap-1",children:(0,s.jsx)("div",{className:"font-medium text-lg lg:text-xl text-[#FDFDFD]",children:"Best Performance"})}),(null===(d=Object.keys(D))||void 0===d?void 0:d.length)>0&&(0,s.jsxs)("div",{className:"bg-[#191919] rounded-xl mt-3",children:[(0,s.jsxs)("div",{className:"bg-[#191B1D] shadow-[0px_4px_4px_0px_#00000040] px-2.5 py-2 flex items-center justify-between gap-1 rounded-t-xl border-b-[0.5px] border-[#A1A1A1]",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 lg:gap-3",children:[(0,s.jsx)(a(),{src:M||"",alt:A||"",width:20,height:20,className:"h-5 w-5 lg:h-6 lg:w-6 rounded-full"}),(0,s.jsx)("p",{className:"text-white text-base lg:text-lg lg:font-medium uppercase",children:A||""})]}),(0,s.jsx)("p",{className:"text-sm lg:text-base",children:null!=F?F:""})]}),(0,s.jsxs)("div",{className:"flex items-center py-3 lg:py-4",children:[(0,s.jsx)("div",{className:"w-1/2 flex flex-col gap-2 lg:gap-3 border-r-[0.6px] border-[rgba(211,211,211,0.8)] px-2 lg:px-3",children:null==D?void 0:null===(r=D.batting)||void 0===r?void 0:r.map(e=>(0,s.jsxs)("div",{className:"flex items-center justify-between gap-1 text-sm lg:text-base",children:[(0,s.jsxs)("p",{className:"inline",children:[(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/icons/cricket-bat_6275116%201-1757584072945.webp",alt:"cricket-ball",width:16,height:16,className:"mb-1 shrink-0 h-2.5 w-2.5 lg:w-3 lg:h-4 inline mr-1"}),(0,o.BW)(null==e?void 0:e.name,!0)||""]}),(0,s.jsxs)("p",{className:"",children:[null!==(h=null==e?void 0:e.runs)&&void 0!==h?h:""," (",null!==(v=null==e?void 0:e.balls_faced)&&void 0!==v?v:"",")"]})]},null==e?void 0:e.pid))}),(0,s.jsx)("div",{className:"w-1/2 flex flex-col gap-2 px-2 lg:px-3",children:null==D?void 0:null===(c=D.bowling)||void 0===c?void 0:c.map(e=>(0,s.jsxs)("div",{className:"flex items-center justify-between gap-1 text-sm lg:text-base",children:[(0,s.jsxs)("p",{className:"inline",children:[(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/icons/Black%20(4)-1757589904327.webp",alt:"cricket-ball",width:16,height:16,className:"mb-1 shrink-0 h-2.5 w-2.5 lg:w-3 lg:h-4 inline mr-1"}),(0,o.BW)(null==e?void 0:e.name,!0)||""]}),(0,s.jsxs)("p",{className:"",children:[null!==(p=null==e?void 0:e.wickets)&&void 0!==p?p:"","-",null!==(g=null==e?void 0:e.runs_conceded)&&void 0!==g?g:""," (",null!==(b=null==e?void 0:e.overs)&&void 0!==b?b:"",")"]})]},null==e?void 0:e.pid))})]})]}),(null===(x=Object.keys(C))||void 0===x?void 0:x.length)>0&&(0,s.jsxs)("div",{className:"bg-[#191919] rounded-xl mt-4",children:[(0,s.jsxs)("div",{className:"bg-[#191
1B1D] shadow-[0px_4px_4px_0px_#00000040] px-2.5 py-2 flex items-center justify-between gap-1 rounded-t-xl border-b-[0.5px] border-[#A1A1A1]",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 lg:gap-3",children:[(0,s.jsx)(a(),{src:S||"",alt:B||"",width:20,height:20,className:"h-5 w-5 lg:h-6 lg:w-6 rounded-full"}),(0,s.jsx)("p",{className:"text-white text-base lg:text-lg lg:font-medium uppercase",children:B||""})]}),(0,s.jsx)("p",{className:"text-sm lg:text-base",children:null!=O?O:""})]}),(0,s.jsxs)("div",{className:"flex items-center py-3 lg:py-4",children:[(0,s.jsx)("div",{className:"w-1/2 flex flex-col gap-2 lg:gap-3 border-r-[0.6px] border-[rgba(211,211,211,0.8)] px-2 lg:px-3",children:null==C?void 0:null===(m=C.batting)||void 0===m?void 0:m.map(e=>(0,s.jsxs)("div",{className:"flex items-center justify-between gap-1 text-sm lg:text-base",children:[(0,s.jsxs)("p",{className:"inline",children:[(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/icons/cricket-bat_6275116%201-1757584072945.webp",alt:"cricket-ball",width:16,height:16,className:"shrink-0 h-2.5 w-2.5 lg:w-3 lg:h-4 inline mr-1 mb-1"})," ",(0,o.BW)(null==e?void 0:e.name,!0)||""]}),(0,s.jsxs)("p",{children:[null!==(w=null==e?void 0:e.runs)&&void 0!==w?w:""," (",null!==(f=null==e?void 0:e.balls_faced)&&void 0!==f?f:"",")"]})]},null==e?void 0:e.pid))}),(0,s.jsx)("div",{className:"w-1/2 flex flex-col gap-2 px-2",children:null==C?void 0:null===(u=C.bowling)||void 0===u?void 0:u.map(e=>(0,s.jsxs)("div",{className:"flex items-center justify-between gap-1 text-sm lg:text-base",children:[(0,s.jsxs)("p",{className:"inline",children:[(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/icons/Black%20(4)-1757589904327.webp",alt:"cricket-ball",width:16,height:16,className:"shrink-0 h-2.5 w-2.5 lg:w-3 lg:h-4 inline mr-1 mb-1"})," ",(0,o.BW)(null==e?void 0:e.name,!0)||""]}),(0,s.jsxs)("p",{children:[null!==(j=null==e?void 0:e.wickets)&&void 0!==j?j:"","-",null!==(_=null==e?void 0:e.runs_conceded)&&void 0!==_?_:""," (",null!==(N=null==e?void 0:e.overs)&&void 0!==N?N:"",")"]})]},null==e?void 0:e.pid))})]})]})]})}function x(e){let{bowlers:l=[]}=e;return(0,s.jsx)("div",{className:"bg-[#191919] rounded-xl overflow-hidden",children:(0,s.jsxs)("table",{className:"w-full",children:[(0,s.jsx)("thead",{className:"bg-[#191B1D] shadow-[0px_4px_4px_0px_#00000040] px-2.5 py-2 border-b-[0.5px] border-[#A1A1A1]",children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"w-[45%] px-4 py-3 text-left text-base font-semibold text-white tracking-wide",children:"Bowler"}),(0,s.jsx)("th",{className:"w-3/25 px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"Ov"}),(0,s.jsx)("th",{className:"w-3/25 px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"M"}),(0,s.jsx)("th",{className:"w-3/25 px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"R"}),(0,s.jsx)("th",{className:"w-3/25 px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"W"}),(0,s.jsx)("th",{className:"w-3/25 px-2 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"WD"}),(0,s.jsx)("th",{className:"w-3/25 px-2 pr-3 py-3 text-center text-sm font-semibold text-white uppercase tracking-wide",children:"Eco"})]})}),(0,s.jsx)("tbody",{className:"p-10",children:null==l?void 0:l.map((e,t)=>(0,s.jsxs)("tr",{className:"".concat(t<l.length-1?"border-b-[0.88px] border-[rgba(255,255,255,0.3)]":""),children:[(0,s.jsx)("td",{className:"w-[45%] pl-3 py-3 text-left text-sm xl:text-base font-semibold text-white tracking-wide",children:(0,s.jsxs)("p",{className:"inline ".concat((null==e?void 0:e.isCurrent)?"text-white":"text-[rgba(211,211,211,0.8)]"),children:[(0,o.BW)(null==e?void 0:e.name,!0),e.isCurrent&&(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/icons/Black%20(4)-1757589904327.webp",alt:"cricket-ball",width:16,height:16,className:"h-3 w-3 inline ml-1 "})]})}),(0,s.jsx)("td",{className:"w-3/25 px-1.5 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:e.overs}),(0,s.jsx)("td",{className:"w-3/25 px-1.5 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:e.maidens}),(0,s.jsx)("td",{className:"w-3/25 px-1.5 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:e.runs_conceded}),(0,s.jsx)("td",{className:"w-3/25 px-1.5 py-3 mb-2 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:e.wickets}),(0,s.jsx)("td",{className:"w-3/25 px-1.5 py-3 mb-2 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:e.wide||"-"}),(0,s.jsx)("td",{className:"w-3/25 px-1.5 pr-3 py-3 text-center text-sm xl:text-base font-semibold text-[#D3D3D3] tracking-wide",children:e.econ})]},t))})]})})}function m(e){var l,t;let{inningsProgression:n,matchInfo:d}=e,[o,r]=(0,i.useState)(0),c=n[0]||{},x=n[1]||{},m=(null==d?void 0:d.team_a_id)===(null==c?void 0:c.tid)?null==d?void 0:d.team_a_abbr:null==d?void 0:d.team_b_abbr,u=(null==d?void 0:d.team_b_id)===(null==x?void 0:x.tid)?null==d?void 0:d.team_b_abbr:null==d?void 0:d.team_a_abbr,h=(null==d?void 0:d.team_a_id)===(null==c?void 0:c.tid)?null==d?void 0:d.team_a_logo:null==d?void 0:d.team_b_logo,v=(null==d?void 0:d.team_b_id)===(null==x?void 0:x.tid)?null==d?void 0:d.team_b_logo:null==d?void 0:d.team_a_logo;(0,i.useEffect)(()=>
1{if((null==d?void 0:d.current_batting_team_id)&&(null==n?void 0:n.length)>0){let e=null==d?void 0:d.current_batting_team_id;(null==c?void 0:c.tid)===e?r(0):(null==x?void 0:x.tid)===e&&r(1)}},[null==d?void 0:d.current_batting_team_id,null==c?void 0:c.tid,null==x?void 0:x.tid,null==n?void 0:n.length]);let p=e=>{r(e)},g=0===o?c:x,b=(null==g?void 0:g.progression)||[],w=(e,l,t)=>{let s=new Map;null==e||e.forEach(e=>{let l=Math.floor(e);s.has(l)||s.set(l,0),s.set(l,s.get(l)+1)});let i=[],n=t-l+1;return s.forEach((e,s)=>{s>=l&&s<=t&&i.push({position:(s-l)/n*100,count:e,over:s})}),i};return(0,s.jsxs)("div",{className:"bg-[#191919] rounded-xl",children:[(0,s.jsxs)("div",{className:"bg-[#191B1D] shadow-[0px_4px_4px_0px_#00000040] px-2.5 py-2 flex items-center justify-between rounded-t-xl border-b-[0.5px] border-[#A1A1A1]",children:[(0,s.jsx)("p",{className:"text-white text-base lg:text-lg font-semibold",children:"Innings Progression"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[c&&(null==c?void 0:null===(l=c.progression)||void 0===l?void 0:l.length)>0&&(0,s.jsxs)("div",{onClick:()=>p(0),className:"border-[0.5px] border-white shadow-[1.55px_1.55px_3.1px_0px_#00000040] p-1.5 px-2 rounded-md uppercase text-xs lg:text-sm flex items-center gap-1.5 cursor-pointer transition-all duration-200 ".concat(0===o?"bg-[#000000]":"bg-[rgba(255,255,255,0.05)] hover:bg-[rgba(255,255,255,0.1)]"),children:[(0,s.jsx)(a(),{src:h||"",alt:m||"",width:20,height:20,className:"h-5 w-5 rounded-full"}),(0,s.jsx)("p",{children:m||""})]}),x&&(null==x?void 0:null===(t=x.progression)||void 0===t?void 0:t.length)>0&&(0,s.jsxs)("div",{onClick:()=>p(1),className:"border-[0.5px] border-white shadow-[1.55px_1.55px_3.1px_0px_#00000040] p-1.5 px-2 rounded-md uppercase text-xs lg:text-sm flex items-center gap-1.5 cursor-pointer transition-all duration-200 ".concat(1===o?"bg-[#000000]":"bg-[rgba(255,255,255,0.05)] hover:bg-[rgba(255,255,255,0.1)]"),children:[(0,s.jsx)(a(),{src:v||"",alt:u||"",width:20,height:20,className:"h-5 w-5 rounded-full"}),(0,s.jsx)("p",{children:u||""})]})]})]}),(0,s.jsxs)("div",{className:"flex p-2 lg:p-3 px-3 lg:px-4 flex-col gap-4 mb-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,s.jsx)("p",{className:"text-sm lg:text-base font-medium text-[#D3D3D3]",children:"Overs"}),(0,s.jsx)("p",{className:"text-sm lg:text-base font-medium text-[#D3D3D3]",children:"Runs"})]}),(null==b?void 0:b.length)>0?null==b?void 0:b.map((e,l)=>{var t,i,n;let d=w((null==e?void 0:e.fows)||[],null==e?void 0:e.start_over,null==e?void 0:e.end_over);return(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsxs)("div",{className:"w-[12%] lg:w-[10%] text-sm lg:text-base text-white",children:[null!==(t=null==e?void 0:e.start_over)&&void 0!==t?t:"","-",null!==(i=null==e?void 0:e.end_over)&&void 0!==i?i:""]}),(0,s.jsx)("div",{className:"w-[76%] lg:w-[80%] bg-[#138B16] h-3.5 rounded-lg relative",children:null==d?void 0:d.map((e,l)=>(0,s.jsx)("div",{className:"absolute top-[50%] -translate-y-[50%] w-6 h-6 bg-[#9F0001] shadow-[2px_2px_6.86px_0px_#00000040] rounded-full flex items-center justify-center text-xs lg:text-sm text-white",style:{left:"".concat(e.position,"%")},children:e.count>1?"".concat(e.count,"W"):"W"},l))}),(0,s.jsx)("div",{className:"w-[12%] lg:w-[10%] text-sm lg:text-base text-right text-white",children:null!==(n=null==e?void 0:e.score)&&void 0!==n?n:""})]},l)}):(0,s.jsx)("div",{className:"flex items-center justify-center py-8",children:(0,s.jsx)("p",{className:"text-[#D3D3D3] text-sm lg:text-base",children:"No progression data available"})})]})]})}function u(e){var l,t,i,n,d,a;let{keyStats:r={}}=e,{last_wicket:c={},current_partnership:x={}}=r||{};return 0===Object.keys(x).length&&0===Object.keys(c).length?null:(0,s.jsxs)("div",{className:"bg-[#191919] rounded-xl",children:[(0,s.jsx)("div",{className:"bg-[#191B1D] shadow-[0px_4px_4px_0px_#00000040] px-2.5 py-2 flex items-center justify-between rounded-t-xl border-b-[0.5px] border-[#A1A1A1]",children:(0,s.jsx)("p",{className:"text-white text-base font-semibold",children:"Key Stats"})}),(0,s.jsxs)("div",{className:"px-2",children:[x&&Object.keys(x).length>0&&(0,s.jsxs)("div",{className:"grid grid-cols-[0.3fr,0.2fr,0.5fr] py-2 px-1 ".concat(Object.keys(c).length>0?"border-b border-[rgba(255,255,255,0.3)]":""," justify-center items-center"),children:[(0,s.jsx)("p",{className:"text-sm xl:text-base text-white",children:"Partnership"}),(0,s.jsxs)("div",{className:"text-center text-[#2399FF] text-sm xl:text-base font-medium",children:[null==x?void 0:x.runs," (",null==x?void 0:x.balls,")"]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1.5 items-end",children:[(0,s.jsxs)("p",{className:"text-sm xl:text-base text-[#D3D3D3]",children:[null===(l=null==x?void 0:x.batsmen[0])||void 0===l?void 0:l.runs," (",null===(t=null==x?void 0:x.batsmen[0])||void 0===t?void 0:t.balls,") ",(0,o.BW)(null===(i=null==x?void 0:x.batsmen[0])||void 0===i?void 0:i.name,!0)]}),(0,s.jsxs)("p",{className:"text-sm xl:text-base text-[#D3D3D3]",children:[null===(n=null==x?void 0:x.batsmen[1])||void 0===n?void 0:n.runs," (",null===(d=null==x?void 0:x.batsmen[1])||void 0===d?void 0:d.balls,") ",(0,o.BW)(null===(a=null==x?void 0:x.batsmen[1])||void 0===a?void 0:a.name,!0)]})]})]}),Object.keys(c).length>0&&(0,s.jsxs)("div",{className:"grid grid-cols-[0.5fr,0.5fr] py-2 px-1 justify-center items-center",children:[(0,s.jsx)("p",{className:"text-sm text-white",children:"Last Wicket"}),(0,s.jsxs)("div",{className:"flex flex-col gap-1.5 items-end",children:[(0,s.jsxs)("p",{className:"text-sm text-[#D3D3D3]",children:[(0,o.BW)(null==c?void 0:c.name,!0)," ",null==c?void 0:c.runs," (",null==c?void 0:c.balls,")"]}),(0,s.jsx)("p",{className:"text-sm text-[#D3D3D3]",children:null==c?void 0:c.how_out})]})]})]})]})}function h(e){var l,t,i,n,d,r,c,x,m,u,h,v,p,g,b,w,f,j;let{manOfMatch:_}=e;return(null===(l=Object.keys((null==_?void 0:_.batting)||{}))||void 0===l?void 0:l.length)===0&&(null===(t=Object.keys((null==_?void 0:_.bowling)||{}))||void 0===t?void 0:t.length)===0?null:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(a(),{src:"/img/potm.png",alt:"player of the match",width:100,height:100,className:"rounded-xl bg-[linear-gradient(90.6deg,#214360_0.47%,#101E2F_106.16%)] h-16 w-full"}),(0,s.jsxs)("div",{className:"absolute top-0 left-0 w-full h-full p-2 lg:py-3 flex items-center justify-between z-1 gap-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/Group%201707479041%20(1)-1757596168719.webp",alt:"player",width:16,height:16,className:"min-h-6 min-w-6 h-8 w-8 shrink-0"}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("p",{className:"text-white text-base lg:text-lg lg:font-medium",children:(0,o.BW)(null==_?void 0:_.name,!0)||""}),(0,s.jsxs)("p",{className:"text-white text-sm lg:text-base flex items-center",children:[(null==_?void 0:null===(i=_.batting)||void 0===i?void 0:i.runs)&&(0,s.jsxs)(s.Fragment,{children:[null!==(g=null==_?void 0:null===(n=_.batting)||void 0===n?void 0:n.runs)&&void 0!==g?g:"",(null==_?void 0:null===(d=_.batting)||void 0===d?void 0:d.balls_faced)&&(0,s.jsxs)("span",{className:"text-[#D3D3D3] text-xs lg:text-sm ml-1",children:["(",null!==(b=null==_?void 0:null===(r=_.batting)||void 0===r?void 0:r.balls_faced)&&void 0!==b?b:"",")"]})]}),(null==_?void 0:null===(c=_.batting)||void 0===c?void 0:c.runs)&&(null==_?void 0:null===(x=_.bowling)||void 0===x?void 0:x.wickets)&&(0,s.jsx)("span",{className:"mx-2",children:"|"}),(null==_?void 0:null===(m=_.bowling)||void 0===m?void 0:m.wickets)&&(0,s.jsxs)(s.Fragment,{children:[null!==(w=null==_?void 0:null===(u=_.bowling)||void 0===u?void 0:u.wickets)&&void 0!==w?w:"","-",null!==(f=null==_?void 0:null===(h=_.bowling)||void 0===h?void 0:h.runs_conceded)&&void 0!==f?f:"",(null==_?void 0:null===(v=_.bowling)||void 0===v?void 0:v.overs)&&(0,s.jsxs)("span",{className:"text-[#D3D3D3] text-xs lg:text-sm ml-1",children:["(",null!==(j=null==_?void 0:null===(p=_.bowling)||void 0===p?void 0:p.overs)&&void 0!==j?j:"",")"]})]})]})]})]}),(0,s.jsx)("div",{className:"text-sm lg:text-base font-semibold text-white flex items-center gap-2",children:(0,s.jsxs)("p",{className:"inline",children:["                ",(0,s.jsx)(a(),{src:"https://sdprodstorage.blob.core.windows.net/sd-cms-prod/sd-website-images/Misc/medal_3787815%202-1757594764429.webp",alt:"medal",width:20,height:20,className:"inline mr-1 h-5 w-5 lg:w-7 lg:h-7"}),"Player of the Match"]})})]})]})}t(23395),t(90543);
1var v=t(13634),p=t(73381),g=t(46037),b=t(14787);function w(e){var l,t,n,d;let{matchInfo:a}=e,[o,r]=(0,i.useState)(!1),c=(null==a?void 0:null===(l=a.live_odds)||void 0===l?void 0:l.matchodds)||{};if(!c||(null===(t=Object.keys(c))||void 0===t?void 0:t.length)===0)return null;let x=c&&"object"==typeof c&&Object.values(c).some(e=>e&&"object"==typeof e&&Object.keys(e).length>0);if(!x||(null==a?void 0:a.teamwinpercentage)&&0===Object.keys((null==a?void 0:a.teamwinpercentage)||{}).length)return null;let m=(()=>{let e=null==a?void 0:a.teamwinpercentage;if(!e)return"teama";let l=Number((null==e?void 0:e.team_a_win)||0),t=Number((null==e?void 0:e.team_b_win)||0);return t>l?"teamb":"teama"})(),u=c&&"object"==typeof c&&c[m]||{},h="teama"===m?(null==a?void 0:a.team_a_abbr)||(null==a?void 0:a.team_a_name)||"":(null==a?void 0:a.team_b_abbr)||(null==a?void 0:a.team_b_name)||"";return(0,s.jsxs)("div",{className:"bg-[#191919] rounded-xl",children:[(0,s.jsxs)("div",{className:"bg-[#191B1D] shadow-[0px_4px_4px_0px_#00000040] px-2.5 py-2 flex items-center justify-between rounded-t-xl border-b-[0.5px] border-[#A1A1A1]",children:[(0,s.jsx)("p",{className:"text-white text-base font-semibold",children:"Probability"}),(0,s.jsx)(p.Z,{showOdds:o,setShowOdds:r,showPercentage:!0})]}),(0,s.jsxs)("div",{className:"p-3 pt-1 flex items-center justify-center",children:[o&&(0,s.jsxs)("div",{className:"flex items-center justify-between w-full pt-3",children:[(0,s.jsxs)("div",{className:"bg-[#1A1A1A] gradient-border-red-orange rounded-[3.08px] px-2 py-1 flex items-center gap-1 cursor-pointer",children:[(0,s.jsx)(b.Z,{}),(0,s.jsx)("p",{className:"text-white text-xs font-semibold",children:h})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("div",{className:"bg-[#1E7900] px-3 py-1 flex items-center text-white font-semibold text-xs rounded-[3.08px] cursor-pointer",children:(null==u?void 0:u.back)||"-"}),(0,s.jsx)("div",{className:"bg-[#B80B00] px-3 py-1 flex items-center text-white font-semibold text-xs rounded-[3.08px] cursor-pointer",children:(null==u?void 0:u.lay)||"-"})]})]}),!o&&(null==a?void 0:a.teamwinpercentage)&&Object.keys((null==a?void 0:a.teamwinpercentage)||{}).length>0&&(0,s.jsx)(g.Z,{left:{name:(null==a?void 0:a.team_a_abbr)||(null==a?void 0:a.team_a_name)||"",value:Number((null==a?void 0:null===(n=a.teamwinpercentage)||void 0===n?void 0:n.team_a_win)||0)},right:{name:(null==a?void 0:a.team_b_abbr)||(null==a?void 0:a.team_b_name)||"",value:Number((null==a?void 0:null===(d=a.teamwinpercentage)||void 0===d?void 0:d.team_b_win)||0)}})]})]})}var f=t(19007),j=t(45493),_=t(9034),N=t(82994);function y(e){var l,t,d,a,o,p,g,b,y,k,D,C,A,B,F,O,M,S;let{matchData:W,isLive:Z=!1,competitionInfo:L}=e,[E,I]=(0,i.useState)([]),[P,U]=(0,i.useState)([]),{isConnected:R,lastUpdate:G,matchData:V,error:q,reconnect:H,connectionInfo:T}=(0,f.f)(null==W?void 0:null===(l=W.match_info)||void 0===l?void 0:l.match_id,"summary",Z);(0,i.useEffect)(()=>{(null==W?void 0:W.worm_graph)&&W.worm_graph.length>0&&I(W.worm_graph),(null==W?void 0:W.innings_progression)&&W.innings_progression.length>0&&U(W.innings_progression)},[null==W?void 0:W.worm_graph,null==W?void 0:W.innings_progression]),(0,i.useEffect)(()=>{(null==V?void 0:V.worm_graph)&&V.worm_graph.length>0&&I(null==V?void 0:V.worm_graph),(null==V?void 0:V.innings_progression)&&(null==V?void 0:V.innings_progression.length)>0&&U(null==V?void 0:V.innings_progression)},[null==V?void 0:V.worm_graph,null==V?void 0:V.innings_progression]);let z=V&&(V.match_info||V.batters||V.bowlers||V.key_stats||V.worm_graph||V.innings_progression),K=z?V:W;if(!K||!K.match_info)return(0,s.jsx)("section",{className:"xl:grid xl:grid-cols-[1fr,0.35fr] xl:gap-4 mt-5",children:(0,s.jsx)("div",{className:"flex items-center justify-center h-64",children:(0,s.jsx)("div",{className:"text-white",children:"Loading match data..."})})});let{match_info:Q={},best_performance:J=[],innings_progression:X=[],man_of_match:Y={},worm_graph:$=[],live_odds:ee={},batters:el=[],bowlers:et=[],key_stats:es={}}=K||{},ei=(null==W?void 0:W.squads)||{},en={tid:null==K?void 0:null===(t=K.match_info)||void 0===t?void 0:t.team_a_id,title:null==K?void 0:null===(d=K.match_info)||void 0===d?void 0:d.team_a_name,abbr:null==K?void 0:null===(a=K.match_info)||void 0===a?void 0:a.team_a_abbr,logo_url:null==K?void 0:null===(o=K.match_info)||void 0===o?void 0:o.team_a_logo},ed={tid:null==K?void 0:null===(p=K.match_info)||void 0===p?void 0:p.team_b_id,title:null==K?void 0:null===(g=K.match_info)||void 0===g?void 0:g.team_b_name,abbr:null==K?void 0:null===(b=K.match_info)||void 0===b?void 0:b.team_b_abbr,logo_url:null==K?void 0:null===(y=K.match_info)||void 0===y?void 0:y.team_b_logo},ea=(()=>{let e=(null==V?void 0:V.innings_progression)&&V.innings_progression.length>0?V.innings_progression:P;if(!e||0===e.length)return[];let l=e.find(e=>(null==e?void 0:e.tid)===(null==en?void 0:en.tid)),t=e.find(e=>(null==e?void 0:e.tid)===(null==ed?void 0:ed.tid));return[{tid:null==en?void 0:en.tid,progression:(null==l?void 0:l.progression)||[]},{tid:null==ed?void 0:ed.tid,progression:(null==t?void 0:t.progression)||[]}]})(),eo=(()=>{let e=(null==V?void 0:V.worm_graph)&&V.worm_graph.length>0?V.worm_graph:E;if(!e||0===e.length)return[];let l=e.find(e=>(null==e?void 0:e.tid)===(null==en?void 0:en.tid)),t=e.find(e=>(null==e?void 0:e.tid)===(null==ed?void 0:ed.tid));return[{tid:null==en?void 0:en.tid,graph:(null==l?void 0:l.graph)||[]},{tid:null==ed?void 0:ed.tid,graph:(null==t?void 0:t.graph)||[]}]})();return(0,s.jsxs)("section",{className:"xl:grid xl:grid-cols-[1fr,0.35fr] xl:gap-4 mt-5",children:[(0,s.jsxs)("h1",{className:"screen-reader-only",children:[(null==W?void 0:null===(k=W.match_info)||void 0===k?void 0:null===(D=k.teamA)||void 0===D?void 0:D.title)||(null==W?void 0:null===(C=W.match_info)||void 0===C?void 0:C.team_a_name)," vs ",(null==W?void 0:null===(A=W.match_info)||void 0===A?void 0:null===(B=A.teamB)||void 0===B?void 0:B.title)||(null==W?void 0:null===(F=W.match_info)||void 0===F?void 0:F.team_b_name)]}),(0,s.jsxs)("div",{className:"flex flex-col gap-5 xl:overflow-hidden",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(j.Z,{matchData:Q,c
1ompetitionInfo:L}),Z&&(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsx)(_.Z,{matchData:Q})})]}),(0,s.jsx)(w,{matchInfo:Q}),(null==el?void 0:el.length)>0&&(0,s.jsx)(r,{batters:el}),(null==et?void 0:et.length)>0&&(0,s.jsx)(x,{bowlers:et}),(null===(O=Object.keys(es))||void 0===O?void 0:O.length)>0&&(0,s.jsx)(u,{keyStats:es}),(null===(M=Object.keys(Y))||void 0===M?void 0:M.length)>0&&(0,s.jsx)(h,{manOfMatch:Y}),(null==J?void 0:J.length)>0&&(0,s.jsx)(c,{bestPerformance:J,matchInfo:Q}),(null==ea?void 0:ea.length)>0&&(0,s.jsx)(m,{inningsProgression:ea,matchInfo:Q}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(n.InContentAdDesktop,{slotId:122}),(0,s.jsx)(n.InContentAdMobile,{slotId:122})]}),(null==eo?void 0:eo.length)>0&&(0,s.jsx)(v.Z,{wormGraph:eo,matchInfo:Q}),(null===(S=Object.keys(ei))||void 0===S?void 0:S.length)>0&&(0,s.jsx)(N.Z,{squadDetails:ei,teamA:en,teamB:ed})]}),(0,s.jsx)("div",{className:"xl:block hidden",children:(0,s.jsx)(n.FixturesRightAdDesktop,{slotId:"9731919395"})})]})}t(74206),t(27671)}}]);

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.