PageSourceSearch

https://www.rugby.com.au/_next/static/chunks/1818-68a89a0176e13504.js

js rugby.com.au collected 2026-09-24 09:36:13 UTC 16,263 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1818],{80869:function(e,t,l){l.d(t,{m:function(){return MatchCard}});var o=l(5752),i=l(2784),n=l(2756),a=l(32021),d=l(34365),r=l(75604),s=l(44591),u=l(24450),c=l(54775),v=l(97151),m=l(64320),g=l(29753);let MatchCard=e=>{var t,l,i,n,u,f,h,p;let{fixtureId:x,sourceType:S,compName:w,matchType:b,homeTeam:y,awayTeam:Z,isLive:L,isBye:T,round:F,time:z,location:C,href:M,fixtureMeta:N,...I}=e,R=!!b&&(0,s.kg)(b),{spacing:k,headings:E,colors:D,typography:B,mq:q}=(0,r.useTheme)(),{baseStyles:A,teamLayoutStyles:P,crestStyles:V,matchMetaStyles:U,matchTimeStyles:O,matchCardScoreStyles:W,matchCardCompNameStyles:_,fixtureOffStyles:G,locationStyles:j}=(0,m.qU)({spacing:k,colors:D,typography:B,headings:E,isFixtureOff:R,mq:q}),H="";return z&&(H=(0,s.tF)(z)),(0,o.tZ)(s.M2,{condition:null!=L&&L,wrapper:e=>(0,o.tZ)(v.AnimateContainer,{appearance:"hero"},e)},(0,o.tZ)("div",{...I,css:A},(0,o.tZ)("h4",{css:{...E[4],fontSize:null==B?void 0:null===(t=B.fontSize)||void 0===t?void 0:t.sm,[q.lg]:{fontSize:null==B?void 0:null===(l=B.fontSize)||void 0===l?void 0:l.lg}}},b),(0,o.tZ)("h5",{css:_,title:w},w),L?(0,o.tZ)(LiveScores,{fixtureId:x,homeTeam:y,awayTeam:Z,sourceType:S}):(0,o.tZ)("div",{css:P},(0,o.tZ)(c.F,{css:[V,{marginRight:y&&y.score?0:k.lg}],url:null!==(n=null==y?void 0:y.crest)&&void 0!==n?n:"",alt:null!==(u=null==y?void 0:y.name)&&void 0!==u?u:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"}),y&&y.score?(0,o.tZ)("span",{css:[W,{marginRight:k.lg}]},y.score):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)("span",null,"vs"),Z&&Z.score?(0,o.tZ)("span",{css:[W,{marginLeft:k.lg}]},null!==(f=Z.score)&&void 0!==f?f:""):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)(c.F,{css:[V,{marginLeft:Z&&Z.score?0:k.lg}],url:null!==(h=null==Z?void 0:Z.crest)&&void 0!==h?h:"",alt:null!==(p=null==Z?void 0:Z.name)&&void 0!==p?p:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"})),(0,o.tZ)("div",{css:U},(0,o.tZ)("span",{className:"round-label"},F),(0,o.tZ)("span",{css:O},T?"BYE":H),C&&!T?(0,o.tZ)("span",{css:j,title:null!=C?C:"TBA"},C):(0,o.tZ)("span",null,"\xa0")),R?(0,o.tZ)("span",{css:G},b):(0,o.tZ)(d.g,{prefetch:!1,href:M},(0,o.tZ)(a.ButtonThemed,{appearance:"primary",css:{fontSize:null==B?void 0:null===(i=B.fontSize)||void 0===i?void 0:i["2xs"],[q.lg]:{fontSize:"inherit"}}},(0,g.L2)(null!=z?z:"",null!=L&&L,N)))))},LiveScores=e=>{var t,l,a,d,s,v,g,f,h,p,x,S,w;let{fixtureId:b,sourceType:y,homeTeam:Z,awayTeam:L}=e,[T,F]=(0,i.useState)(!0),{spacing:z,headings:C,colors:M,typography:N,mq:I}=(0,r.useTheme)(),{teamLayoutStyles:R,crestStyles:k,matchCardScoreStyles:E}=(0,m.qU)({spacing:z,colors:M,typography:N,headings:C,isFixtureOff:!1,mq:I}),{data:D}=(0,n.aM)(u.rq,{pollInterval:T?6e4:0,variables:{comp:{fixture:b,sourceType:y}}});return(0,i.useEffect)(()=>{var e;let t=null==D?void 0:null===(e=D.getFixtureLiveScores)||void 0===e?void 0:e.status;(""===t||"Result"===t||"Postponed"===t||"Abandoned"===t||"Cancelled"===t)&&F(!1)},[null==D?void 0:null===(t=D.getFixtureLiveScores)||void 0===t?void 0:t.status]),(0,o.tZ)("div",{css:R},(0,o.tZ)(c.F,{css:[k,{marginRight:(null==D?void 0:null===(l=D.getFixtureLiveScores)||void 0===l?void 0:l.homeScore)?0:z.lg}],url:null!==(f=null==Z?void 0:Z.crest)&&void 0!==f?f:"",alt:null!==(h=null==Z?void 0:Z.name)&&void 0!==h?h:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"}),(null==D?void 0:null===(a=D.getFixtureLiveScores)||void 0===a?void 0:a.homeScore)?(0,o.tZ)("span",{css:[E,{marginRight:z.lg}]},null!==(p=null==D?void 0:null===(d=D.getFixtureLiveScores)||void 0===d?void 0:d.homeScore)&&void 0!==p?p:"--"):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)("span",null,"vs"),(null==D?void 0:null===(s=D.getFixtureLiveScores)||void 0===s?void 0:s.awayScore)?(0,o.tZ)("span",{css:[E,{marginLeft:z.lg}]},null!==(x=null==D?void 0:null===(v=D.getFixtureLiveScores)||void 0===v?void 0:v.awayScore)&&void 0!==x?x:"--"):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)(c.F,{css:[k,{marginLeft:(null==D?void 0:null===(g=D.getFixtureLiveScores)||void 0===g?void 0:g.awayScore)?0:z.lg}],url:null!==(S=null==L?void 0:L.crest)&&void 0!==S?S:"",alt:null!==(w=null==L?void 0:L.name)&&void 0!==w?w:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"}))}},28414:function(e,t,l){l.d(t,{N:function(){return MatchRibbonCard}});var o=l(5752),i=l(2784),n=l(2756),a=l(32021),d=l(34365),r=l(75604),s=l(44591),u=l(24450),c=l(54775),v=l(97151),m=l(64320),g=l(29753);let MatchRibbonCard=e=>{var t,l,n,u;let{fixtureId:f,sourceType:h,compName:p,matchType:x,homeTeam:S,awayTeam:w,isLive:b,isBye:y,round:Z,time:L,location:T,href:F,fixtureMeta:z,...C}=e,M=!!x&&(0,s.kg)(x),{spacing:N,headings:I,typography:R,colors:k,mq:E}=(0,r.useTheme)(),{baseRibbonStyles:D,ribbonBodyStyles:B,teamLayoutStyles:q,crestRibbonStyles:A,matchRibbonMetaStyles:P,matchTimeStyles:V,matchRibbonScoreStyles:U,ribbonCompNameStyles:O,fixtureOffStyles:W,locationStyles:_}=(0,m.qU)({spacing:N,colors:k,typography:R,mq:E,headings:I,isFixtureOff:M}),G="";return L&&(G=(0,s.vg)(L)),(0,o.tZ)(s.M2,{condition:null!=b&&b,wrapper:e=>(0,o.tZ)(v.AnimateContainer,{appearance:"hero"},e)},(0,o.tZ)("div",{...C,css:D},(0,o.tZ)("h5",{css:O,title:p},p),(0,o.tZ)("div",{css:B},b?(0,o.tZ)(LiveScores,{fixtureId:f,homeTeam:S,awayTeam:w,sourceType:h}):(0,o.tZ)("div",{css:q},(0,o.tZ)(c.F,{css:[A,{marginRight:S&&S.score?0:N.lg}],url:null!==(t=null==S?void 0:S.crest)&&void 0!==t?t:"",alt:null!==(l=null==S?void 0:S.name)&&void 0!==l?l:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"}),S&&S.score?(0,o.tZ)("span",{css:[U,{marginRight:N.sm}]},S.score):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)("span",null,"vs"),y?(0,o.tZ)("span",{css:[U,{marginLeft:N.sm}]},"BYE"):(0,o.tZ)(i.Fragment,null,w&&w.score?(0,o.tZ)("span",{css:[U,{marginLeft:N.sm}]},w.score):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)(c.F,{css:[A,{marginLeft:w&&w.score?0:N.lg}],url:null!==(n=null==w?void 0:w.crest)&&void 0!==n?n:"",alt:null!==(u=null==w?void 0:w.name)&&void 0!==u?u:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"}))),(0,o.tZ)("div",{css:P},(0,o.tZ)("span",{className:"round-label"},Z),(0,o.tZ)("span",{css:V},y?"\xa0":G),T&&!y?(0,o.tZ)("span",{css:_,title:null!=T?T:"TBA"},T):(0,o.tZ)("span",null,"\xa0"))),M?(0,o.tZ)("span",{css:W},x):y?null:(0,o.tZ)(d.g,{prefetch:!1,href:F},(0,o.tZ)(a.ButtonThemed,{appearance:"primary",size:"small"},(0,g.L2)(null!=L?L:"",null!=b&&b,z)))))},LiveScores=e=>{var t,l,a,d,s,v,g,f,h,p,x,S,w;let{fixtureId:b,sourceType:y,homeTeam:Z,awayTeam:L}=e,[T,F]=(0,i.useState)(!0),{spacing:z,headings:C,typography:M,colors:N,mq:I}=(0,r.useTheme)(),{teamLayoutStyles:R,crestRibbonStyles:k,matchRibbonScoreStyles:E}=(0,m.qU)({spacing:z,colors:N,typography:M,mq:I,headings:C,isFixtureOff:!1}),{data:D}=(0,n.aM)(u.rq,{pollInterval:T?3e4:0,variables:{comp:{fixture:b,sourceType:y}}});return(0,i.useEffect)(()=>{var e;let t=null==D?void 0:null===(e=D.getFixtureLiveScores)||void 0===e?void 0:e.status;(""===t||"Result"===t||"Postponed"===t||"Abandoned"===t||"Cancelled"===t)&&F(!1)},[null==D?void 0:null===(t=D.getFixtureLiveScores)||void 0===t?void 0:t.status]),(0,o.tZ)("div",{css:R},(0,o.tZ)(c.F,{css:[k,{marginRight:(null==D?void 0:null===(l=D.getFixtureLiveScores)||void 0===l?void 0:l.homeScore)?0:z.lg}],url:null!==(f=null==Z?void 0:Z.crest)&&void 0!==f?f:"",alt:null!==(h=null==Z?void 0:Z.name)&&void 0!==h?h:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"}),(null==D?void 0:null===(a=D.getFixtureLiveScores)||void 0===a?void 0:a.homeScore)?(0,o.tZ)("span",{css:[E,{marginRight:z.sm}]},null!==(p=null==D?void 0:null===(d=D.getFixtureLiveScores)||void 0===d?void 0:d.homeScore)&&void 0!==p?p:"--"):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)("div",null,(0,o.tZ)("span",null,"vs")),(null==D?void 0:null===(s=D.getFixtureLiveScores)||void 0===s?void 0:s.awayScore)?(0,o.tZ)("span",{css:[E,{marginLeft:z.sm}]},null!==(x=null==D?void 0:null===(v=D.getFixtureLiveScores)||void 0===v?void 0:v.awayScore)&&void 0!==x?x:"--"):(0,o.tZ)("span",{className:"w-8"},"\xa0"),(0,o.tZ)(c.F,{css:[k,{marginLeft:(null==D?void 0:null===(g=D.getFixtureLiveScores)||void 0===g?void 0:g.awayScore)?0:z.lg}],url:null!==(S=null==L?void 0:L.crest)&&void 0!==S?S:"",alt:null!==(w=null==L?void 0:L.name)&&void 0!==w?w:"",layout:"fixed",height:37,width:37,onErrorImage:"https://d26phqdbpt0w91.cloudfront.net/NonVideo/d89f330c-59ec-44cb-b7c1-f23052bfa9ee.png"}))}},71818:function(e,t,l){l.r(t),l.d(t,{MatchCard:function(){return n.m},MatchCardList:function(){return d},MatchCardsPoll:function(){return r},MatchRibbonCard:function(){return a.N}});var o=l(25237),i=l.n(o),n=l(80869),a=l(28414);let d=i()(()=>Promise.all([l.e(7702),l.e(1984),l.e(7280)]).then(l.bind(l,57280)).then(e=>({default:e.MatchCardList})),{loadableGenerated:{webpack:()=>[57280]},ssr:!1}),r=i()(()=>Promise.all([l.e(7702),l.e(1984),l.e(6833)]).then(l.bind(l,6833)).then(e=>({default:e.MatchCardsPoll})),{loadableGenerated:{webpack:()=>[6833]},ssr:!1})},64320:function(e,t,l){l.d(t,{Qo:function(){return getDefaultContainerStyles},Vv:function(){return getMatchCardListStyles},qU:function(){return getMatchCardStyles}});let getMatchCardListStyles=e=>{let{spacing:t}=e,l={padding:"".concat(null==t?void 0:t.xl," 0 ").concat(null==t?void 0:t.xl),zIndex:25,position:"relative"};return{baseStyles:l,listLayoutStyles:{overflow:"visible"},summaryListLayoutStyles:{".swiper-slide":{transition:"transform 0.2s ease-in-out"},".swiper-slide-active":{transform:"scale(1.2)",zIndex:5}}}},getMatchCardStyles=e=>{var t,l,o,i,n,a,d;let{spacing:r,colors:s,typography:u,headings:c,isFixtureOff:v,mq:m}=e,g={background:s.backgroundLight,textAlign:"center",boxShadow:"0 25px 50px -25px rgba(0,0,0,.51)",padding:"".concat(r.xl," ").concat(r.md),fontSize:null===(t=u.fontSize)||void 0===t?void 0:t.sm,[m.lg]:{fontSize:null==u?void 0:null===(l=u.fontSize)||void 0===l?void 0:l.lg,padding:"".concat(r["3xl"]," ").concat(r.xl)}},f={width:50,height:"auto",marginLeft:r.lg,marginRight:r.lg},h={color:s.neutral,fontSize:null===(o=u.fontSize)||void 0===o?void 0:o["2xs"],[m.lg]:{fontSize:null==u?void 0:null===(i=u.fontSize)||void 0===i?void 0:i.sm},fontFamily:u.fontFamily.semiBold,margin:"".concat(r.xl," 0"),"> span":{display:"block"},"> span:not(.round-label)":{textDecoration:v?"line-through":"none"}},p={color:s.neutral},x={background:s.backgroundLight,textAlign:"center",boxShadow:"0 25px 50px -25px rgba(0,0,0,.51)",padding:r.xl,width:"100%",height:"100%",display:"flex",flexDirection:"column"},S={color:s.neutral,fontSize:u.fontSize.xs,fontFamily:u.fontFamily.semiBold,margin:"".concat(r.md," 0"),"> span":{display:"block"},"> span:not(.round-label)":{textDecoration:v?"line-through":"none"}},w={padding:"0 ".concat(r.xs),color:s.primary,fontSize:u.fontSize.xl,fontFamily:u.fontFamily.bold},b={padding:"0 ".concat(r.sm),color:s.primary,fontFamily:c[3].fontFamily,fontSize:null===(n=u.fontSize)||void 0===n?void 0:n.lg,[m.lg]:{fontSize:c[3].fontSize}},y={width:37,height:"auto",marginLeft:r.lg,marginRight:r.lg},Z={fontWeight:c[6].fontWeight,fontFamily:c[4].fontFamily,color:c[6].color,marginBottom:c[6].marginBottom,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:null===(a=u.fontSize)||void 0===a?void 0:a.sm,[m.lg]:{fontSize:c[6].fontSize}},L={fontSize:null===(d=u.fontSize)||void 0===d?void 0:d.sm,[m.lg]:{fontSize:c[5].fontSize},fontWeight:c[5].fontWeight,fontFamily:c[5].fontFamily,color:c[5].color,marginBottom:c[5].marginBottom,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},T={fontFamily:c[5].fontFamily,textTransform:"uppercase",color:c[5].color,display:"block",padding:"5px 0"};return{baseStyles:g,teamLayoutStyles:{display:"flex",alignItems:"center",justifyContent:"center"},crestStyles:f,matchMetaStyles:h,matchTimeStyles:p,baseRibbonStyles:x,ribbonBodyStyles:{flexGrow:1,display:"flex",flexDirection:"column",justifyContent:"flex-start"},crestRibbonStyles:y,matchCardCompNameStyles:L,matchCardScoreStyles:b,matchRibbonMetaStyles:S,matchRibbonScoreStyles:w,ribbonCompNameStyles:Z,fixtureOffStyles:T,locationStyles:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}}},getDefaultContainerStyles=e=>{let{mq:t,layout:l}
1=e,o={summary:{height:"290px",[t.lg]:{height:"329px"}},ribbon:{height:"262px"},default:{height:"262px"},"mini-summary-card":{height:"204px",[t.lg]:{height:"220px"}}};return o[l]}},29753:function(e,t,l){l.d(t,{IT:function(){return getSchemaList},L2:function(){return getButtonText},k9:function(){return getInitCardIndex}});var o=l(44591);let getButtonText=(e,t,l)=>{var o;let i="Match Preview",n=new Date(e).getTime(),a=new Date().getTime();return a>n&&(i="Match Preview"),n<a&&(i="Match Centre"),a>n&&t&&(i="Live Match"),(null==l?void 0:l.ticketURL)&&(null==l?void 0:l.ticketsAvailableDate)&&a>new Date(null==l?void 0:l.ticketsAvailableDate).getTime()&&a<n&&!(null==l?void 0:l.isSoldOut)&&(i="Buy Tickets"),a>n&&t&&(i="Live Match"),(null==l?void 0:l.streamURL)&&(null==l?void 0:l.streamStart)&&(null==l?void 0:l.streamEnd)&&a>new Date(null!==(o=null==l?void 0:l.streamStart)&&void 0!==o?o:"").getTime()&&a<new Date(null==l?void 0:l.streamEnd).getTime()?i="Live Stream":(null==l?void 0:l.radioURL)&&(null==l?void 0:l.radioStart)&&(null==l?void 0:l.radioEnd)&&a>new Date(null==l?void 0:l.radioStart).getTime()&&a<new Date(null==l?void 0:l.radioEnd).getTime()&&(i="Live Radio"),i},getInitCardIndex=(e,t)=>{var l,o,i,n,a,d,r,s,u,c,v;let m=-1,g=!1,f=new Date;f.setHours(0,0,0,0);let h=f.getTime();f.setHours(23,59,59,999);let p=f.getTime();for(let t=0;t<e.length;t++){let l=new Date(null!==(a=null===(o=e[t])||void 0===o?void 0:o.dateTime)&&void 0!==a?a:"").getTime();(null===(i=e[t])||void 0===i?void 0:i.status)!=="Cancelled"&&(null===(n=e[t])||void 0===n?void 0:n.status)!=="Postponed"&&h<l&&(-1===m&&(m=t),h<l&&l<p&&(l>new Date().getTime()&&(null===(s=e[t])||void 0===s?void 0:s.status)==="Fixture"&&!g&&(null==e?void 0:null===(u=e[m])||void 0===u?void 0:u.status)==="Result"||(null===(c=e[t])||void 0===c?void 0:c.status)==="Result"&&!g&&m>=0)&&(m=t),(null===(d=e[t])||void 0===d?void 0:d.status)==="Fixture"&&(null===(r=e[t])||void 0===r?void 0:r.isLive)===!0&&(m=t,g=!0))}return -1===m&&h>new Date(null!==(v=null==e?void 0:null===(l=e[(null==e?void 0:e.length)-1>0?(null==e?void 0:e.length)-1:0])||void 0===l?void 0:l.dateTime)&&void 0!==v?v:"").getTime()&&(m=e.length-1),m},getSchemaList=(e,t)=>{let l=[];return e.forEach(e=>{if(e){var i,n,a,d,r,s,u,c,v,m,g,f,h,p,x,S,w,b;l.push((0,o.nh)({competition:null!==(r=null==e?void 0:e.compName)&&void 0!==r?r:void 0,awayTeam:null!==(s=null==e?void 0:null===(i=e.awayTeam)||void 0===i?void 0:i.name)&&void 0!==s?s:void 0,homeTeam:null!==(u=null==e?void 0:null===(n=e.homeTeam)||void 0===n?void 0:n.name)&&void 0!==u?u:void 0,location:null!==(c=null==e?void 0:e.venue)&&void 0!==c?c:void 0,startTime:null!==(v=null==e?void 0:e.dateTime)&&void 0!==v?v:void 0,homeTeamLogo:null!==(m=null==e?void 0:null===(a=e.homeTeam)||void 0===a?void 0:a.crest)&&void 0!==m?m:void 0,awayTeamLogo:null!==(g=null==e?void 0:null===(d=e.awayTeam)||void 0===d?void 0:d.crest)&&void 0!==g?g:void 0,status:null!==(f=null==e?void 0:e.status)&&void 0!==f?f:void 0,round:null!==(h=null==e?void 0:e.round)&&void 0!==h?h:void 0,url:"".concat(t).concat((0,o.u$)({id:null!==(p=null==e?void 0:e.compId)&&void 0!==p?p:"",season:null!==(x=null==e?void 0:e.season)&&void 0!==x?x:"",fixture:null!==(S=null==e?void 0:e.id)&&void 0!==S?S:"",sourceType:null!==(w=null==e?void 0:e.sourceType)&&void 0!==w?w:""},null!==(b=null==e?void 0:e.isBye)&&void 0!==b&&b,void 0)),broadcasters:void 0}))}}),{"@context":"https://schema.org",itemListElement: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.