1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4183],{84183:function(e,l,s){s.r(l);var a=s(85893),t=s(25675),d=s.n(t),i=s(67294);l.default=e=>{var l,s,t,n,c,r,m,x,h,o,u,j,v,p,N,g,f,b,w,y,T,k,D,S,R,C,E,A,Q,I,B,F,Y,P,_,q,O,K,G,L,V;let{detailedScore:z={},pageData:H={},matchDetails:J={}}=e,[M,U]=(0,i.useState)(0);return(0,a.jsxs)(a.Fragment,{children:[z&&(null===(s=Object)||void 0===s?void 0:null===(l=s.keys(null!==(K=null==z?void 0:z.homeTeam)&&void 0!==K?K:{}))||void 0===l?void 0:l.length)&&(null===(t=Object)||void 0===t?void 0:t.keys(null!==(G=null==z?void 0:z.awayTeam)&&void 0!==G?G:{}).length)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"bg-[#530F5A] p-4 px-4 rounded-t-xl mt-4 text-white text-sm md:text-xl md:font-bold",children:(0,a.jsxs)("p",{children:[null==J?void 0:J.homeTeamName," VS ",null==J?void 0:J.awayTeamName]})}),(0,a.jsx)("div",{className:"bg-[#5729AE3D] rounded-b-xl",children:(0,a.jsxs)("div",{className:" px-4 md:px-10 py-4 rounded-2xl",children:[(0,a.jsxs)("div",{className:"flex justify-between gap-x-3 items-center",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,a.jsx)("div",{className:"relative",children:(0,a.jsx)(d(),{onError:e=>{e.target.src="/fallback1.png",e.target.alt="fallback1"},src:null!==(L=null==J?void 0:J.homeTeamImage)&&void 0!==L?L:"/fallback1.png",width:100,height:100,alt:"homeTeamImage",className:" rounded-full w-20 h-20 "})}),(0,a.jsx)("p",{className:"text-white text-xs md:text-lg font-bold text-center mt-4",children:null==J?void 0:J.homeTeamName})]}),(0,a.jsxs)("p",{className:"text-center text-xl md:text-4xl lg:text-7xl text-white font-medium",children:[null==z?void 0:null===(n=z.homeTeam)||void 0===n?void 0:n.totalScore," -"," ",null==z?void 0:null===(c=z.awayTeam)||void 0===c?void 0:c.totalScore]}),(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,a.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,a.jsx)(d(),{onError:e=>{e.target.src="/fallback2.png",e.target.alt="fallback2"},src:null!==(V=null==J?void 0:J.awayTeamImage)&&void 0!==V?V:"/fallback2.png",width:100,height:100,alt:"awayTeamImage",className:"rounded-full w-20 h-20"})}),(0,a.jsx)("p",{className:"text-white text-xs md:text-lg font-bold text-center mt-4",children:null==J?void 0:J.awayTeamName})]})]}),(0,a.jsx)("div",{className:"w-full h-[1px] mt-4 bg-[#78787899]"}),(0,a.jsxs)("div",{className:" hidden md:flex justify-between items-center mt-4 text-lg",children:[(0,a.jsx)("p",{className:"text-[#C0C0C0] font-semibold",children:"Team"}),(0,a.jsx)("div",{className:"flex justify-center items-center text-lg gap-x-4",children:["Q1","Q2","Q3","Q4","OT"].map((e,l)=>(0,a.jsx)("div",{className:"flex justify-center items-center w-2 h-2",children:(0,a.jsx)("p",{className:"text-[#C0C0C0] font-semibold",children:e})},l))})]}),(0,a.jsx)(TeamScoreRow,{teamName:null==J?void 0:J.homeTeamName,teamData:null==z?void 0:z.homeTeam}),(0,a.jsx)(TeamScoreRow,{teamName:null==J?void 0:J.awayTeamName,teamData:null==z?void 0:z.awayTeam})]})})]}):"",(null==H?void 0:H.summaryAvailable)&&(0,a.jsxs)("div",{className:"flex justify-between items-center bg-[#530F5A] mt-4 rounded-t-xl p-3 text-white text-lg place-items-center",children:[(0,a.jsx)("div",{className:"flex justify-start items-center gap-x-4",children:(0,a.jsxs)("p",{onClick:()=>U(0),className:"".concat(0==M?"underline underline-offset-4":""," cursor-pointer"),children:[" ",null==J?void 0:J.homeTeamName]})}),(0,a.jsx)("div",{className:"flex justify-center items-start gap-x-4",children:(0,a.jsxs)("p",{onClick:()=>U(1),className:"".concat(1==M?"underline underline-offset-4":""," cursor-pointer"),children:[" ",null==J?void 0:J.awayTeamName]})})]}),((null==H?void 0:null===(m=H.defence)||void 0===m?void 0:null===(r=m.homeTeam)||void 0===r?void 0:r.length)>0||(null==H?void 0:null===(h=H.defence)||void 0===h?void 0:null===(x=h.awayTeam)||void 0===x?void 0:x.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll rounded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899]",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Defence"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"Sack"}),(0,a.jsx)("th",{className:"p-2",children:"Tck"}),(0,a.jsx)("th",{className:"p-2",children:"Int"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"defence",selected:M,obj:["sacks","tackles","interceptions"]})]}),((null==H?void 0:null===(u=H.kicking)||void 0===u?void 0:null===(o=u.homeTeam)||void 0===o?void 0:o.length)>0||(null==H?void 0:null===(v=H.kicking)||void 0===v?void 0:null===(j=v.awayTeam)||void 0===j?void 0:j.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll roun
1ded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899] ",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Kicking"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"Pct"}),(0,a.jsx)("th",{className:"p-2",children:"Pts"}),(0,a.jsx)("th",{className:"p-2",children:"Lng"}),(0,a.jsx)("th",{className:"p-2",children:"FG"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"kicking",selected:M,obj:["pct","points","long","field_goals"]})]}),((null==H?void 0:null===(N=H.punting)||void 0===N?void 0:null===(p=N.homeTeam)||void 0===p?void 0:p.length)>0||(null==H?void 0:null===(f=H.punting)||void 0===f?void 0:null===(g=f.awayTeam)||void 0===g?void 0:g.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll rounded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899]",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Punting"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"No"}),(0,a.jsx)("th",{className:"p-2",children:"Yds"}),(0,a.jsx)("th",{className:"p-2",children:"In20"}),(0,a.jsx)("th",{className:"p-2",children:"Avg"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"punting",selected:M,obj:["no","yards","in20","average"]})]}),((null==H?void 0:null===(w=H.passing)||void 0===w?void 0:null===(b=w.homeTeam)||void 0===b?void 0:b.length)>0||(null==H?void 0:null===(T=H.passing)||void 0===T?void 0:null===(y=T.awayTeam)||void 0===y?void 0:y.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll rounded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899]",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Passing"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"C/Att"}),(0,a.jsx)("th",{className:"p-2",children:"Yds"}),(0,a.jsx)("th",{className:"p-2",children:"Td"}),(0,a.jsx)("th",{className:"p-2",children:"Int"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"passing",selected:M,obj:["compAtt","yards","td","interceptions"]})]}),((null==H?void 0:null===(D=H.rushing)||void 0===D?void 0:null===(k=D.homeTeam)||void 0===k?void 0:k.length)>0||(null==H?void 0:null===(R=H.rushing)||void 0===R?void 0:null===(S=R.awayTeam)||void 0===S?void 0:S.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll rounded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899]",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Rushing"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"Car"}),(0,a.jsx)("th",{className:"p-2",children:"Yds"}),(0,a.jsx)("th",{className:"p-2",children:"Td"}),(0,a.jsx)("th",{className:"p-2",children:"Avg"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"rushing",selected:M,obj:["car","yards","td","average"]})]}),((null==H?void 0:null===(E=H.receiving)||void 0===E?void 0:null===(C=E.homeTeam)||void 0===C?void 0:C.length)>0||(null==H?void 0:null===(Q=H.receiving)||void 0===Q?void 0:null===(A=Q.awayTeam)||void 0===A?void 0:A.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll roun
1ded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899]",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Receiving"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"Rec"}),(0,a.jsx)("th",{className:"p-2",children:"Yds"}),(0,a.jsx)("th",{className:"p-2",children:"Td"}),(0,a.jsx)("th",{className:"p-2",children:"Avg"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"receiving",selected:M,obj:["reception","yards","td","average"]})]}),((null==H?void 0:null===(B=H.kickReturns)||void 0===B?void 0:null===(I=B.homeTeam)||void 0===I?void 0:I.length)>0||(null==H?void 0:null===(Y=H.kickReturns)||void 0===Y?void 0:null===(F=Y.awayTeam)||void 0===F?void 0:F.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll rounded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899]",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Kick Returns"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"Ret"}),(0,a.jsx)("th",{className:"p-2",children:"Yds"}),(0,a.jsx)("th",{className:"p-2",children:"Td"}),(0,a.jsx)("th",{className:"p-2",children:"Avg"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"kickReturns",selected:M,obj:["ret","yards","td","average"]})]}),((null==H?void 0:null===(_=H.puntReturns)||void 0===_?void 0:null===(P=_.homeTeam)||void 0===P?void 0:P.length)>0||(null==H?void 0:null===(O=H.puntReturns)||void 0===O?void 0:null===(q=O.awayTeam)||void 0===q?void 0:q.length)>0)&&(0,a.jsxs)("table",{className:"w-full overflow-x-scroll rounded-md",children:[(0,a.jsx)("thead",{className:" bg-[#2E303499] text-white rounded-md p-1",children:(0,a.jsxs)("tr",{className:"p-2 border-b border-[#78787899]",children:[(0,a.jsx)("th",{className:"p-2 text-start",children:"Punt Returns"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"\xa0"}),(0,a.jsx)("th",{className:"p-2",children:"Ret"}),(0,a.jsx)("th",{className:"p-2",children:"Yds"}),(0,a.jsx)("th",{className:"p-2",children:"Td"}),(0,a.jsx)("th",{className:"p-2",children:"Avg"})]})}),(0,a.jsx)(TeamStrategy,{pageData:H,type:"puntReturns",selected:M,obj:["returns","yards","td","average"]})]})]})};let TeamScoreRow=e=>{let{teamName:l,teamData:s}=e,t=[null==s?void 0:s.quater1,null==s?void 0:s.quater2,null==s?void 0:s.quater3,null==s?void 0:s.quater4,null==s?void 0:s.overTime];return(0,a.jsxs)("div",{className:"flex justify-between flex-col md:flex-row items-start md:items-center mt-4 text-lg",children:[(0,a.jsx)("p",{className:"text-white font-semibold",children:l}),(0,a.jsx)("div",{className:" flex md:hidden justify-between items-center mt-4 text-lg",children:(0,a.jsx)("div",{className:"flex justify-center items-center text-lg gap-x-4",children:["Q1","Q2","Q3","Q4","OT"].map((e,l)=>(0,a.jsx)("div",{className:"flex justify-center items-center w-2 h-2",children:(0,a.jsx)("p",{className:"text-[#C0C0C0] font-semibold",children:e})},l))})}),(0,a.jsx)("div",{className:"flex justify-center items-center text-lg gap-x-4",children:null==t?void 0:t.map((e,l)=>(0,a.jsx)("div",{className:"flex justify-center mt-5 md:mt-0 items-center w-2 h-2",children:(0,a.jsx)("p",{className:"text-white font-semibold",children:e||"-"})},l))})]})},TeamStrategy=e=>{var l,s,t;let{type:d,obj:i,selected:n,pageData:c}=e;return(0,a.jsx)("tbody",{children:null===(l=0==n?null==c?void 0:null===(s=c[d])||void 0===s?void 0:s.homeTeam:null==c?void 0:null===(t=c[d])||void 0===t?void 0:t.awayTeam)||void 0===l?void 0:l.map((e,l)=>(0,a.jsxs)("tr",{className:"text-white border-b border-[#78787899] rounded-b-xl bg-[#5729AE3D]",children:[(0,a.jsx)("td",{className:"p-3 text-start",children:(0,a.jsx)("div",{className:"flex text-[#FAE29A] font-semibold justify-start items-center gap-x-4",children:(0,a.jsx)("p",{children:null==e?void 0:e.name})})}),(0,a.jsx)("td",{className:"p-3 text-[#DBDBDB] text-start",children:"\xa0"}),(0,a.jsx)("td",{className:"p-3 text-[#DBDBDB] text-start",children:"\xa0"}),(0,a.jsx)("td",{className:"p-3 text-center",children:"\xa0"}),(0,a.jsx)("td",{className:"p-3 text-center",children:"\xa0"}),null==i?void 0:i.map((l,s)=>(0,a.jsx)("td",{className:"p-3 text-center",children:null==e?void 0:e[l]},s))]},l))})}}}]);
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.