1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2520],{70178:function(l){var e,o,n;l.exports=(e="minute",o=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g,function(l,i,t){var a=i.prototype;t.utc=function(l){var e={date:l,utc:!0,args:arguments};return new i(e)},a.utc=function(l){var o=t(this.toDate(),{locale:this.$L,utc:!0});return l?o.add(this.utcOffset(),e):o},a.local=function(){return t(this.toDate(),{locale:this.$L,utc:!1})};var d=a.parse;a.parse=function(l){l.utc&&(this.$u=!0),this.$utils().u(l.$offset)||(this.$offset=l.$offset),d.call(this,l)};var s=a.init;a.init=function(){if(this.$u){var l=this.$d;this.$y=l.getUTCFullYear(),this.$M=l.getUTCMonth(),this.$D=l.getUTCDate(),this.$W=l.getUTCDay(),this.$H=l.getUTCHours(),this.$m=l.getUTCMinutes(),this.$s=l.getUTCSeconds(),this.$ms=l.getUTCMilliseconds()}else s.call(this)};var r=a.utcOffset;a.utcOffset=function(l,i){var t=this.$utils().u;if(t(l))return this.$u?0:t(this.$offset)?r.call(this):this.$offset;if("string"==typeof l&&null===(l=function(l){void 0===l&&(l="");var e=l.match(o);if(!e)return null;var i=(""+e[0]).match(n)||["-",0,0],t=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===t?a:-a}(l)))return this;var a=16>=Math.abs(l)?60*l:l,d=this;if(i)return d.$offset=a,d.$u=0===l,d;if(0!==l){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(d=this.local().add(a+s,e)).$offset=a,d.$x.$localOffset=s}else d=this.utc();return d};var u=a.format;a.format=function(l){var e=l||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,e)},a.valueOf=function(){var l=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*l},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var c=a.toDate;a.toDate=function(l){return"s"===l&&this.$offset?t(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():c.call(this)};var v=a.diff;a.diff=function(l,e,o){if(l&&this.$u===l.$u)return v.call(this,l,e,o);var n=this.local(),i=t(l).local();return v.call(n,i,e,o)}})},92520:function(l,e,o){"use strict";o.r(e);var n=o(85893),i=o(25675),t=o.n(i),a=o(67294),d=o(52091),s=o(8704),r=o(99304),u=o(48929),c=o(66658),v=o(41664),p=o.n(v),m=o(26345),h=o(73272),x=o(4335);e.default=a.memo(l=>{var e,o;let{liveMatches:i,offers:v}=l,[g,f]=(0,a.useState)(0),{isDesktop:N}=(0,x.e)(),j=v[0];return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsx)("p",{className:"text-lg lg:text-xl text-white font-semibold",children:"Today's Matches"}),(0,n.jsx)("div",{className:"flex justify-start overflow-x-scroll items-center gap-x-5 pl-0 md:pl-8 text-lg mt-4",children:i.map((l,e)=>(0,n.jsxs)("div",{className:"flex-shrink-0",children:[(0,n.jsx)("p",{onClick:()=>f(e),className:"".concat(e===g?"text-white":"text-[#A4A4A4]"," cursor-pointer"),children:null==l?void 0:l.sport}),e===g&&(0,n.jsx)("div",{className:"w-full h-[2px] bg-purple2 rounded-full"})]},e))}),N?(0,n.jsxs)("div",{className:"mt-6 hidden xl:block",children:[null===(e=i[g])||void 0===e?void 0:e.matches.map((l,e)=>{var o,a,d,r,u,v,x,f,N,b,w,y,T,I,k,E,D,M,$,F,S,A,C,L,Y,O,z,U,P,H,B,Z,_,R,V,q,G,W,J,K,Q,X,ll,le,lo,ln,li,lt,la,ld,ls,lr,lu,lc,lv,lp,lm,lh,lx,lg,lf,lN,lj,lb,lw,ly,lT;let lI=null===(a=i[g])||void 0===a?void 0:null===(o=a.sport)||void 0===o?void 0:o.toLowerCase(),lk="tennis"!=lI?"grid-cols-5":"grid-cols-6";return"motor racing"==lI?(0,n.jsx)(MotorLiveMatchDesktop,{i:l,index:e}):(0,n.jsxs)("div",{className:"grid ".concat(e%2==0&&"bg-purple1 shadow-md"," grid-cols-6 cursor-pointer p-3 rounded-lg relative text-white mt-2 place-items-center overflow-hidden gap-x-3"),children:[(0,n.jsxs)(p(),{href:(0,m.C)(lI,null==l?void 0:l.leagueId,"live",null==l?void 0:l.slug),prefetch:!1,className:"grid ".concat(lk," place-items-center w-full col-span-5"),children:[(0,n.jsxs)("div",{className:"flex w-full justify-start items-center gap-x-3",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,n.jsx)(t(),{loading:"lazy",fetchPriority:"low",onError:l=>{l.target.src="/fallback1.png",l.target.alt="fallback1"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(W=null!==(G=null!==(q=null!==(V=null==l?void 0:l.localTeamImage)&&void 0!==V?V:null==l?void 0:l.homeTeamImage)&&void 0!==q?q:null==l?void 0:l.opponent1Image)&&void 0!==G?G:null==l?void 0:null===(r=l.opponent1)||void 0===r?void 0:null===(d=r[0])||void 0===d?void 0:d.playerImage)&&void 0!==W?W:"/fallback1.png",alt:"localTeamImage",width:40,height:40}),(null==l?void 0:null===(u=l.opponent1)||void 0===u?void 0:u.length)>1&&(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback1.png",l.target.alt="fallback1"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(X=null!==(Q=null!==(K=null!==(J=null==l?void 0:l.localTeamImage)&&void 0!==J?J:null==l?void 0:l.homeTeamImage)&&void 0!==K?K:null==l?void 0:l.opponent1Image)&&void 0!==Q?Q:null==l?void 0:null===(x=l.opponent1)||void 0===x?void 0:null===(v=x[
11])||void 0===v?void 0:v.playerImage)&&void 0!==X?X:"/fallback1.png",alt:"localTeamImage",width:40,height:40})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,n.jsx)("p",{className:"text-lg",children:null!==(lo=null!==(le=null!==(ll=null==l?void 0:l.localTeamName)&&void 0!==ll?ll:null==l?void 0:l.homeTeamName)&&void 0!==le?le:null==l?void 0:l.opponent1Name)&&void 0!==lo?lo:null==l?void 0:null===(N=l.opponent1)||void 0===N?void 0:null===(f=N[0])||void 0===f?void 0:f.playerName}),(null==l?void 0:null===(b=l.opponent1)||void 0===b?void 0:b.length)>1&&(0,n.jsx)("p",{className:"text-lg",children:null!==(lt=null!==(li=null!==(ln=null==l?void 0:l.localTeamName)&&void 0!==ln?ln:l.homeTeamName)&&void 0!==li?li:null==l?void 0:l.opponent1Name)&&void 0!==lt?lt:null==l?void 0:null===(y=l.opponent1)||void 0===y?void 0:null===(w=y[1])||void 0===w?void 0:w.playerName})]})]}),"Tennis"!==i[g].sport&&(0,n.jsx)("p",{className:"bg-purple2 text-center px-6 rounded-lg py-1",children:"MMA"==i[g].sport?null==l?void 0:l.reason:"".concat((0,h.If)(null!==(ld=null!==(la=null==l?void 0:l.localTeamScore)&&void 0!==la?la:null==l?void 0:l.homeTeamScore)&&void 0!==ld?ld:null==l?void 0:l.opponent1Score),"\n -\n ").concat((0,h.If)(null!==(lr=null!==(ls=null==l?void 0:l.visitorTeamScore)&&void 0!==ls?ls:null==l?void 0:l.awayTeamScore)&&void 0!==lr?lr:null==l?void 0:l.opponent2Score))}),"Tennis"==i[g].sport&&(0,n.jsxs)("p",{className:"bg-purple2 text-center px-4 rounded-lg py-1",children:[(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(T=l.opponent1Detailed)||void 0===T?void 0:T.set1)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(I=l.opponent1Detailed)||void 0===I?void 0:I.set2)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(k=l.opponent1Detailed)||void 0===k?void 0:k.set3)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(E=l.opponent1Detailed)||void 0===E?void 0:E.set4)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(D=l.opponent1Detailed)||void 0===D?void 0:D.set5)})]}),(0,n.jsxs)("div",{className:"flex justify-start items-center w-full gap-x-3",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-y-2",children:[(0,n.jsx)(t(),{loading:"lazy",fetchPriority:"low",onError:l=>{l.target.src="/fallback2.png",l.target.alt="fallback2"},src:null!==(lp=null!==(lv=null!==(lc=null!==(lu=null==l?void 0:l.visitorTeamImage)&&void 0!==lu?lu:null==l?void 0:l.awayTeamImage)&&void 0!==lc?lc:null==l?void 0:l.opponent2Image)&&void 0!==lv?lv:null==l?void 0:null===($=l.opponent2)||void 0===$?void 0:null===(M=$[0])||void 0===M?void 0:M.playerImage)&&void 0!==lp?lp:"/fallback2.png",className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",alt:"visitorTeamImage",width:40,height:40}),(null==l?void 0:null===(F=l.opponent2)||void 0===F?void 0:F.length)>1&&(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback2.png",l.target.alt="fallback2"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(lg=null!==(lx=null!==(lh=null!==(lm=null==l?void 0:l.visitorTeamImage)&&void 0!==lm?lm:null==l?void 0:l.awayTeamImage)&&void 0!==lh?lh:null==l?void 0:l.opponent2Image)&&void 0!==lx?lx:null==l?void 0:null===(A=l.opponent2)||void 0===A?void 0:null===(S=A[1])||void 0===S?void 0:S.playerImage)&&void 0!==lg?lg:"/fallback2.png",alt:"visitorTeamImage",width:40,height:40})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-y-4",children:[(0,n.jsx)("p",{className:"text-lg",children:null!==(lj=null!==(lN=null!==(lf=null==l?void 0:l.visitorTeamName)&&void 0!==lf?lf:null==l?void 0:l.awayTeamName)&&void 0!==lN?lN:null==l?void 0:l.opponent2Name)&&void 0!==lj?lj:null==l?void 0:null===(L=l.opponent2)||void 0===L?void 0:null===(C=L[0])||void 0===C?void 0:C.playerName}),(null==l?void 0:null===(Y=l.opponent2)||void 0===Y?void 0:Y.length)>1&&(0,n.jsx)("p",{className:"text-lg",children:null!==(ly=null!==(lw=null!==(lb=null==l?void 0:l.visitorTeamName)&&void 0!==lb?lb:l.awayTeamName)&&void 0!==lw?lw:null==l?void 0:l.opponent2Name)&&void 0!==ly?ly:null==l?void 0:null===(z=l.opponent2)||void 0===z?void 0:null===(O=z[1])||void 0===O?void 0:O.playerName})]})]}),"Tennis"==i[g].sport&&(0,n.jsxs)("p",{className:"bg-[#FFFFFF1A] text-center px-4 roun
1ded-lg py-1",children:[(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(U=l.opponent2Detailed)||void 0===U?void 0:U.set1)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(P=l.opponent2Detailed)||void 0===P?void 0:P.set2)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(H=l.opponent2Detailed)||void 0===H?void 0:H.set3)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(B=l.opponent2Detailed)||void 0===B?void 0:B.set4)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(Z=l.opponent2Detailed)||void 0===Z?void 0:Z.set5)})]}),(0,n.jsxs)("p",{className:"bg-[#FFFFFF1A] text-white px-4 py-1 flex justify-center items-center rounded-lg gap-x-1 opacity-80",children:[(null==l?void 0:null===(_=l.status)||void 0===_?void 0:_.includes("{"))?"Match yet to begin":null!==(lT=l.status)&&void 0!==lT?lT:"Loading..."," ",(null==l?void 0:l.sortPriority)==1&&(0,n.jsx)(s.Zh5,{size:20,color:"#13FF06"})]}),(0,n.jsx)("p",{className:"text-[#A4A4A4] text-lg",children:(0,n.jsx)(c.Z,{time:null==l?void 0:l.dateTime,format:"D MMM YYYY, h:mm A"})})]}),(null==l?void 0:l.status)!=="FINAL"&&(0,n.jsxs)("button",{"aria-label":"bet-now",onClick:()=>window.open(null==j?void 0:j.redirectLink,"_blank"),style:{zIndex:"2"},className:"bg-gradiant-gold text-outline pl-1 pr-3 py-1 rounded-full flex justify-start items-center gap-x-3 text-white text-xs lg:text-lg uppercase",children:[(0,n.jsx)(t(),{loading:"lazy",fetchPriority:"low",src:null==j?void 0:null===(R=j.content)||void 0===R?void 0:R.image,style:{borderRadius:"999px"},alt:"offers-content",width:30,height:30}),"Bet Now!"]})]},e)}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsx)(p(),{href:"/sports-live",prefetch:!1,className:"text-white underline mt-2 cursor-pointer text-[16px] font-[500]",children:"See All Live Matches"})})]}):(0,n.jsxs)("div",{className:"mt-4 block xl:hidden",children:[(0,n.jsx)(u.tq,{slidesPerView:3,spaceBetween:10,pagination:{clickable:!0},breakpoints:{320:{slidesPerView:1,spaceBetween:10},480:{slidesPerView:1,spaceBetween:20},640:{slidesPerView:1,spaceBetween:30}},autoplay:{delay:2500,disableOnInteraction:!1},navigation:{nextEl:".next-btn",prevEl:".prev-btn"},modules:[r.tl],className:"mySwiper",children:null===(o=i[g])||void 0===o?void 0:o.matches.map((l,e)=>{var o,a,s,r,v,x,f,N,b,w,y,T,I,k,E,D,M,$,F,S,A,C,L,Y,O,z,U,P,H,B,Z,_,R,V,q,G,W,J,K,Q,X,ll,le,lo,ln,li,lt,la,ld,ls,lr,lu,lc,lv,lp,lm,lh,lx,lg,lf,lN,lj,lb,lw,ly,lT,lI,lk,lE,lD,lM,l$,lF,lS,lA,lC,lL,lY,lO,lz,lU,lP,lH,lB,lZ,l_,lR,lV,lq,lG,lW,lJ,lK,lQ,lX,l0,l1,l2,l3,l4,l6,l5,l8,l9,l7;let el=null===(a=i[g])||void 0===a?void 0:null===(o=a.sport)||void 0===o?void 0:o.toLowerCase();return(0,n.jsx)(u.o5,{children:(0,n.jsxs)("div",{className:"bg-[#230526] cursor-pointer rounded-lg text-white p-2",children:[(0,n.jsxs)("div",{className:"flex justify-between mt-2 items-center",children:[(0,n.jsxs)("p",{children:[null==l?void 0:l.leagueName," ",(0,n.jsx)("span",{className:"pl-2",children:"|"})," ",(0,n.jsx)("span",{className:"text-[#A4A4A4] pl-2",children:(0,n.jsx)(c.Z,{time:null==l?void 0:l.dateTime,format:"D MMM YYYY, h:mm A"})})]}),(null==l?void 0:l.sortPriority)==1&&(0,n.jsxs)("p",{className:"text-[#13FF06] px-3 py-1 flex justify-center gap-x-3 items-center rounded-md bg-[#a4a4a45e]",children:[(0,n.jsx)(d.gmG,{size:10})," Live"]})]}),(0,n.jsxs)("div",{className:"pt-3 w-1/2 m-auto ",children:["Tennis"!=i[g].sport&&(0,n.jsx)("p",{className:"bg-purple2 px-6 text-center rounded-lg py-1",children:"MMA"==i[g].sport?null==l?void 0:l.reason:"".concat((0,h.If)(null!==(lh=null!==(lm=null==l?void 0:l.localTeamScore)&&void 0!==lm?lm:null==l?void 0:l.homeTeamScore)&&void 0!==lh?lh:null==l?void 0:l.opponent1Score),"\n -\n ").concat((0,h.If)(null!==(lg=null!==(lx=null==l?void 0:l.visitorTeamScore)&&void 0!==lx?lx:null==l?void 0:l.awayTeamScore)&&void 0!==lg?lg:null==l?void 0:l.opponent2Score))}),"Tennis"!=i[g].sport&&(0,n.jsx)("p",{className:"text-center mt-2",children:(null==l?void 0:null===(s=l.status)||void 0===s?void 0:s.includes("{"))?"Match yet to begin":null!==(lf=l.status)&&void 0!==lf?lf:"Loading..."})]}),"motor racing"!==el?(0,n.jsxs)(p(),{href:(0,m.C)(el,null==l?void 0:l.leagueId,"live",null==l?void 0:l.slug),prefetch:!1,className:"flex justify-around items-center",children:["Tennis"!=i[g].sport&&(0,n.jsxs)("div",{className:"flex w-[38%] justify-center items-center flex-col",children:[(0,n.jsxs)("div",{className:"flex flex-row",children:[(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback1.png",l.target.alt="fallback1"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(lw=null!==(lb=null!==(lj=null!==(lN=null==l?void 0:l.localTeamImage)&&void 0!==lN?lN:null==l?void 0:l.homeTeamImage)&&void 0!==lj?lj:null==l?void 0:l.opponent1Image)&&void 0!==lb?lb:null==l?void 0:null===(v=l.opponent1)||void 0===v?void 0:null===(r=v[0])||void 0===r?void 0:r.playerImage)&&void 0!==lw?lw:"/fallback1.png",alt:"localTeamImage",width:40,height:40}),(null==l?void 0:null===(x=l.opponent1)||void 0===x?void 0:x.length)>1&&(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback1.png",l.target.alt="fallback1"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(lk=null!==(lI=null!==(lT=null!==(ly=null==l?void 0:l.localTeamImage)&&void 0!==ly?ly:null==l?void 0:l.homeTeamImage)&&void 0!==lT?lT:null==l?void 0:l.opponent1Image)&&void 0!==lI?lI:null==l?void 0:null===(N=l.opponent1)||void 0===N?void 0:null===(f=N[1])||void 0===f?void 0:f.playerImage)&&void 0!==lk?lk:"/fallback1.png",alt:"localTeamImage",width:40,height:40})]}),(0,n.jsxs)("p",{className:"mt-2 text-center text-lg",children:[null!==(lM=null!==(lD=null!==(lE=null==l?void 0:l.localTeamName)&&void 0!==lE?lE:null==l?void 0:l.homeTeamName)&&void 0!==lD?lD:null==l?void 0:l.opponent1Name)&&void 0!==lM?lM:null==l?void 0:null===(w=l.opponent1)||void 0===w?void 0:null===(b=w[0])||void 0===b?void 0:b.playerName,(null==l?void 0:null===(y=l.opponent1)||void 0===y?void 0:y.length)>1&&"/".concat(null==l?void 0:null===(I=l.opponent1)||void 0===I?void 0:null===(T=I[1])||void 0===T?void 0:T.playerName)]})]}),"Tennis"==i[g].sport&&(0,n.jsxs)("div",{className:"flex w-[38%] justify-center items-center flex-col",children:[(0,n.jsxs)("div",{className:"flex flex-row",children:[(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback1.png",l.target.alt="fallback1"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(lA=null!==(lS=null!==(lF=null!==(l$=null==l?void 0:l.localTeamImage)&&void 0!==l$?l$:null==l?void 0:l.homeTeamImage)&&void 0!==lF?lF:null==l?void 0:l.opponent1Image)&&void 0!==lS?lS:null==l?void 0:null===(E=l.opponent1)||void 0===E?void 0:null===(k=E[0])||void 0===k?void 0:k.playerImage)&&void 0!==lA?lA:"/fallback1.png",alt:"localTeamImage",width:40,height:40}),(null==l?void 0:null===(D=l.opponent1)||void 0===D?void 0:D.length)>1&&(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback1.png",l.target.alt="fallback1"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(lO=null!==(lY=null!==(lL=null!==(lC=null==l?void 0:l.localTeamImage)&&void 0!==lC?lC:null==l?void 0:l.homeTeamImage)&&void 0!==lL?lL:null==l?void 0:l.opponent1Image)&&void 0!==lY?lY:null==l?void 0:null===($=l.opponent1)||void 0===$?void 0:null===(M=$[1])||void 0===M?void 0:M.playerImage)&&void 0!==lO?lO:"/fallback1.png",alt:"localTeamImage",width:40,height:40})]}),(0,n.jsxs)("p",{className:"mt-2 text-center text-lg",children:[null!==(lP=null!==(lU=null!==(lz=null==l?void 0:l.localTeamName)&&void 0!==lz?lz:null==l?void 0:l.homeTeamName)&&void 0!==lU?lU:null==l?void 0:l.opponent1Name)&&void 0!==lP?lP:null==l?void 0:null===(S=l.opponent1)||void 0===S?void 0:null===(F=S[0])||void 0===F?void 0:F.playerName,(null==l?void 0:null===(A=l.opponent1)||void 0===A?void 0:A.length)>1&&"/".concat(null==l?void 0:null===(L=l.opponent1)||void 0===L?void 0:null===(C=L[1])||void 0===C?void 0:C.playerName)]}),(0,n.jsxs)("div",{className:"flex flex-row mt-2",children:[(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback2.png",l.target.alt="fallback2"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E] ",src:null!==(l_=null!==(lZ=null!==(lB=null!==(lH=null==l?void 0:l.visitorTeamImage)&&void 0!==lH?lH:null==l?void 0:l.awayTeamImage)&&void 0!==lB?lB:null==l?void 0:l.opponent2Image)&&void 0!==lZ?lZ:null==l?void 0:null===(O=l.opponent2)||void 0===O?void 0:null===(Y=O[0])||void 0===Y?void 0:Y.playerImage)&&void 0!==l_?l_:"/fallback2.png",alt:"visitorTeamImage",width:40,height:40}),(null==l?void 0:null===(z=l.opponent2)||void 0===z?void 0:z.length)>1&&(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback2.png",l.target.alt="fallback2"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(lG=null!==(lq=null!==(lV=null!==(lR=null==l?void 0:l.localTeamImage)&&void 0!==lR?lR:null==l?void 0:l.homeTeamImage)&&void 0!==lV?lV:null==l?void 0:l.opponent1Image)&&void 0!==lq?lq:null==l?void 0:null===(P=l.opponent2)||void 0===P?void 0:null===(U=P[1])||void 0===U?void 0:U.playerImage)&&void 0!==lG?lG:"/fallback2.png",alt:"localTeamImage",width:40,height:40})]}),(0,n.jsxs)("p",{className:"mt-2 text-center text-lg",children:[null!==(lK=null!==(lJ=null!==(lW=null==l?void 0:l.visitorTeamName)&&void 0!==lW?lW:null==l?void 0:l.awayTeamName)&&void 0!==lJ?lJ:null==l?void 0:l.opponent2Name)&&void 0!==lK?lK:null==l?void 0:null===(B=l.opponent2)||void 0===B?void 0:null===(H=B[0])||void 0===H?void 0:H.playerName,(null==l?void 0:null===(Z=l.opponent2)||void 0===Z?void 0:Z.length)>1&&"/".concat(null==l?void 0:null===(R=l.opponent2)||void 0===R?void 0:null===(_=R[1])||void 0===_?void 0:_.playerName)]})]}),"Tennis"!=i[g].sport&&(0,n.jsxs)("div",{className:"flex w-[38%] justify-center items-center flex-col",children:[(0,n.jsxs)("div",{className:"flex flex-row",children:[(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback2.png",l.target.alt="fallback2"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E] ",src:null!==(l1=null!==(l0=null!==(lX=null!==(lQ=null==l?void 0:l.visitorTeamImage)&&void 0!==lQ?lQ:null==l?void 0:l.awayTeamImage)&&void 0!==lX?lX:null==l?void 0:l.opponent2Image)&&void 0!==l0?l
10:null==l?void 0:null===(q=l.opponent2)||void 0===q?void 0:null===(V=q[0])||void 0===V?void 0:V.playerImage)&&void 0!==l1?l1:"/fallback2.png",alt:"visitorTeamImage",width:40,height:40}),(null==l?void 0:null===(G=l.opponent2)||void 0===G?void 0:G.length)>1&&(0,n.jsx)(t(),{onError:l=>{l.target.src="/fallback2.png",l.target.alt="fallback2"},className:"rounded-full border-2 w-10 h-10 object-contain border-[#3E3E3E]",src:null!==(l6=null!==(l4=null!==(l3=null!==(l2=null==l?void 0:l.localTeamImage)&&void 0!==l2?l2:null==l?void 0:l.homeTeamImage)&&void 0!==l3?l3:null==l?void 0:l.opponent1Image)&&void 0!==l4?l4:null==l?void 0:null===(J=l.opponent2)||void 0===J?void 0:null===(W=J[1])||void 0===W?void 0:W.playerImage)&&void 0!==l6?l6:"/fallback2.png",alt:"localTeamImage",width:40,height:40})]}),(0,n.jsxs)("p",{className:"mt-2 text-center text-lg",children:[null!==(l9=null!==(l8=null!==(l5=null==l?void 0:l.visitorTeamName)&&void 0!==l5?l5:null==l?void 0:l.awayTeamName)&&void 0!==l8?l8:null==l?void 0:l.opponent2Name)&&void 0!==l9?l9:null==l?void 0:null===(Q=l.opponent2)||void 0===Q?void 0:null===(K=Q[0])||void 0===K?void 0:K.playerName,(null==l?void 0:null===(X=l.opponent2)||void 0===X?void 0:X.length)>1&&"/".concat(null==l?void 0:null===(le=l.opponent2)||void 0===le?void 0:null===(ll=le[1])||void 0===ll?void 0:ll.playerName)]})]}),"Tennis"==i[g].sport&&(0,n.jsxs)("div",{className:"flex w-[38%] justify-center flex-col gap-y-4 mb-8",children:[(0,n.jsxs)("p",{className:"bg-purple2 text-center px-4 rounded-lg py-1",children:[(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(lo=l.opponent1Detailed)||void 0===lo?void 0:lo.set1)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(ln=l.opponent1Detailed)||void 0===ln?void 0:ln.set2)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(li=l.opponent1Detailed)||void 0===li?void 0:li.set3)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(lt=l.opponent1Detailed)||void 0===lt?void 0:lt.set4)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(la=l.opponent1Detailed)||void 0===la?void 0:la.set5)})]}),(0,n.jsx)("p",{className:"text-center",children:(null==l?void 0:null===(ld=l.status)||void 0===ld?void 0:ld.includes("{"))?"Match yet to begin":null!==(l7=l.status)&&void 0!==l7?l7:"Loading..."}),(0,n.jsxs)("p",{className:"bg-[#FFFFFF1A] text-center px-4 rounded-lg py-1",children:[(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(ls=l.opponent2Detailed)||void 0===ls?void 0:ls.set1)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(lr=l.opponent2Detailed)||void 0===lr?void 0:lr.set2)}),(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(lu=l.opponent2Detailed)||void 0===lu?void 0:lu.set3)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(lc=l.opponent2Detailed)||void 0===lc?void 0:lc.set4)}),(null==l?void 0:l.gender)==="Men"&&(0,n.jsx)("span",{className:"mx-1",children:(0,h.o6)(null==l?void 0:null===(lv=l.opponent2Detailed)||void 0===lv?void 0:lv.set5)})]})]})]}):(0,n.jsx)("p",{className:"mt-2 text-center text-lg",children:null==l?void 0:l.matchName}),(0,n.jsx)("div",{className:"bg-[#66126F] w-full h-[1px] mt-4"}),(null==l?void 0:l.status)!=="FINAL"&&(0,n.jsx)("div",{className:"flex justify-center items-center mt-2",children:(0,n.jsxs)("button",{"aria-label":"bet-now",onClick:()=>window.open(null==j?void 0:j.redirectLink,"_blank"),style:{zIndex:"2"},className:"bg-gradiant-gold text-outline px-2 pr-4 py-1 rounded-full flex justify-start items-center gap-x-3 text-white text-xl uppercase",children:[(0,n.jsx)(t(),{src:null==j?void 0:null===(lp=j.content)||void 0===lp?void 0:lp.image,style:{borderRadius:"999px"},alt:"offers-content",width:30,height:30}),"Bet Now!"]})})]})},e)})}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(p(),{href:"/sports-live",prefetch:!1,className:"text-white underline mt-2 cursor-pointer text-[16px] font-[500]",children:"See All Live Matches"})})]})]})})});let MotorLiveMatchDesktop=l=>{var e,o,i,a;let{i:d,index:r}=l;return(0,n.jsxs)("div",{className:"grid ".concat(r%2==0&&"bg-purple1 shadow-md"," grid-cols-6 cursor-pointer p-3 rounded-lg relative text-white mt-2 place-items-center overflow-hidden gap-x-3"),children:[(0,n.jsxs)(p(),{href:(0,m.C)("motor-racing",null==d?void 0:d.leagueName,"live",null==d?void 0:d.slug),prefetch:!1,className:"grid grid-cols-5 cursor-pointer place-items-center w-full col-span-5",children:[(0,n.jsx)("p",{className:"text-lg",children:null==d?void 0:d.leagueName}),(0,n.jsx)("p",{className:"text-lg",children:null==d?void 0:d.matchName}),(0,n.jsxs)("p",{className:"bg-[#FFFFFF1A] text-white px-4 py-1 flex justify-center items-center rounded-lg gap-x-1 opacity-80",children:[(null==d?void 0:null===(e=d.status)||void 0===e?void 0:e.includes("{"))?"Match yet to begin":null!==(a=d.status)&&void 0!==a?a:"Loading..."," ",(null==d?void 0:d.sortPriority)==1&&(0,n.jsx)(s.Zh5,{size:20,color:"#13FF06"})]}),(0,n.jsx)("p",{className:"text-lg",children:(0,h.If)(null==d?void 0:d.track)}),(0,n.jsx)("p",{className:"text-[#A4A4A4] text-lg",children:(0,n.jsx)(c.Z,{time:null==d?void 0:d.dateTime,format:"D MMM YYYY, h:mm A"})})]}),(null==d?void 0:d.status)!=="FINAL"&&(0,n.jsxs)("button",{"aria-label":"bet-now",onClick:()=>{var l;return window.open(null===(l=offersData)||void 0===l?void 0:l.redirectLink,"_blank")},style:{zIndex:"2"},className:"bg-gradiant-gold text-outline pl-1 pr-3 py-1 rounded-full flex justify-start items-center gap-x-3 text-white text-xs lg:text-lg uppercase",children:[(0,n.jsx)(t(),{src:null===(i=offersData)||void 0===i?void 0:null===(o=i.content)||void 0===o?void 0:o.image,style:{borderRadius:"999px"},alt:"offers-content",width:30,height:30}),"Bet Now!"]})]})}},66658:function(l,e,o){"use strict";var n=o(85893),i=o(27484),t=o.n(i),a=o(70178),d=o.n(a),s=o(67294);t().extend(d()),e.Z=l=>{let{time:e,format:o}
1=l,[i,a]=(0,s.useState)(!1);if((0,s.useEffect)(()=>a(!0),[]),!e)return null;let d=t().unix(e);return(0,n.jsx)("time",{dateTime:d.toISOString(),children:(i?d:d.utc()).format(o)})}},26345:function(l,e,o){"use strict";o.d(e,{C:function(){return matchHref}});let matchSportFolder=l=>String(l||"").toLowerCase().trim().replace(/\s+/g,"-"),matchHref=(l,e,o,n)=>"/match/".concat(matchSportFolder(l),"/").concat(encodeURIComponent(null!=e?e:""),"/").concat(String(o).toLowerCase(),"/").concat(n)}}]);
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.