1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6438],{28483:function(e,l,t){t.r(l);var a=t(57437),n=t(11026),s=t(23452),r=t(42489),i=t(26932),o=t(27401),d=t(72640),c=t(98976),u=t(43858),x=t(79135),v=t(40847),h=t(14019),p=t(12637),y=t(91649),g=t(77398),m=t.n(g);let f=async e=>{var l,t,g,f,b,j,_,M,A,N;let{...T}=e,{playerId:C,moduleTitle:D=o.s.FIRST_LAST_MATCH_TITLE,firstMatchTitle:w=o.s.DEBUT_MATCH,lastMatchTitle:I=o.s.LAST_MATCH,ctaLink:k,ctaLabel:S=o.s.FIRST_LAST_MATCH_CTA}=null==T?void 0:T.properties;if((0,c.t$)(T))return null;if(!C)return p.Z.log("Cannot render PlayerSignificantMatches module without playerId",u.h.warning),(0,a.jsx)(a.Fragment,{});let Y=(0,d.fA)(T.variables,x.Uf.PAGE_PATH),L=await (0,v.D$)({playerId:C,pagePath:Y});if(!L)return p.Z.log("Cannot render PlayerSignificantMatches module without playerInfo",u.h.warning),(0,a.jsx)(a.Fragment,{});let{international_debut:E,international_last_match:F}=null==L?void 0:L.profile,Z=m()(null==E?void 0:E.match_date,"DD/MM/YYYY",!0),H=Z.isValid()?Z.format("MMMM DD, yyyy"):"-",P=null!==(b=null==E?void 0:null===(l=E.vs)||void 0===l?void 0:l.text)&&void 0!==b?b:"",R=null!==(j=null==E?void 0:null===(t=E.venue)||void 0===t?void 0:t.text)&&void 0!==j?j:"",V=null!==(_=null==E?void 0:E.match_center)&&void 0!==_?_:"",B=m()(null==F?void 0:F.match_date,"DD/MM/YYYY",!0),U=B.isValid()?B.format("MMMM DD, yyyy"):"-",$=null!==(M=null==F?void 0:null===(g=F.vs)||void 0===g?void 0:g.text)&&void 0!==M?M:"",G=null!==(A=null==F?void 0:null===(f=F.venue)||void 0===f?void 0:f.text)&&void 0!==A?A:"",K=null!==(N=null==F?void 0:F.match_center)&&void 0!==N?N:"",O=(e,l,t)=>(0,a.jsx)(a.Fragment,{children:e?(0,a.jsx)("a",{href:t||"#",target:"_blank",className:"font-extrabold text-xs uppercase leading-[140%] text-primary ".concat(t?"underline":""),children:"vs ".concat(e," ").concat(l?"at ".concat(l):"")}):"-"});return(0,a.jsxs)("div",{className:"py-4 lg:px-4",children:[(0,a.jsx)(r.Z,{text:D,heading:"h3",canRender:!0,hasContainer:!1,classNames:"text-primary font-extrabold tracking-[-2%]"}),(0,a.jsx)("div",{className:"my-4 [&>div:first-child]:pt-0",children:P||$?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"px-2 py-4 border-b border-grey-light",children:(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("p",{className:"font-body5 uppercase text-primary",children:(0,h.Iu)(w)}),(0,a.jsx)("p",{className:"font-caption font-semibold uppercase text-grey-dark",children:H}),O(P,R,V)]})}),(0,a.jsx)("div",{className:"px-2 py-4 border-b border-grey-light",children:(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("p",{className:"font-body5 uppercase text-primary",children:(0,h.Iu)(I)}),(0,a.jsx)("p",{className:"font-caption font-semibold uppercase text-grey-dark",children:U}),O($,G,K)]})})]}):(0,a.jsx)(s.Z,{translate:h.Iu,noResultVocKey:y.v.NO_DATA_AVAILABLE,showBgLogo:!1,isDarkScheme:!1,cssClassess:"h-25 bg-white border border-grey-light justify-center!",textCssClasses:"font-body2 leading-140"})}),k&&(0,a.jsx)(n.Z,{url:k,text:S,style:"outline-gray",svgIcon:(0,a.jsx)(i.Z,{}),additionalAnchorClasses:"w-[180px] flex mx-auto justify-center items-center gap-2 py-2.5 border-grey-light"})]})};l.default=f}}]);
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.