PageSourceSearch

https://scoutsland.live/assets/chunks/chunk-D-4apH9e.js

js scoutsland.live collected 2026-10-02 02:00:09 UTC 4,608 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"821ea7e147f045d2860a3e0d1e100e4ae59e5c20"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="06e16c0f-f492-4d78-ad4f-b77857333c3a",e._sentryDebugIdIdentifier="sentry-dbid-06e16c0f-f492-4d78-ad4f-b77857333c3a")}catch(a){}}();import{f as e,j as t}from"./chunk-DbxBeaFY.js";import{L as a,i as s,b3 as n,s as o}from"./chunk-O6FBTeNJ.js";import{T as r,a as i,b as c}from"./chunk-Cea9dXOV.js";import{g as l,c as m}from"./chunk-BZKUEoIW.js";import{u as d}from"./chunk-B5R0n4Sp.js";import{u}from"./chunk-COvqMv2m.js";const h=n=>{const o=e.c(21),{matches:m,loading:u,size:h,teamName:p,max:g}=n,x=void 0===h?"sm":h,b=void 0===g?5:g,{t:j}=d(),y="sm"===x?"w-2 h-2":"w-2.5 h-2.5";if(u){let e,a;return o[0]!==b?(e=Array.from({length:b}),o[0]=b,o[1]=e):e=o[1],o[2]!==y||o[3]!==e?(a=t.jsx("div",{className:"flex items-center gap-0.5","aria-hidden":"true",children:e.map((e,a)=>t.jsx("div",{className:`${y} rounded-full bg-gray-300 dark:bg-gray-600 animate-pulse`},a))}),o[2]=y,o[3]=e,o[4]=a):a=o[4],a}if(!m||0===m.length)return null;let N,v,w,k,L;if(o[5]!==y||o[6]!==m||o[7]!==b||o[8]!==j||o[9]!==p){const e=m.slice(0,b),n=e.map(f).join(" ");let d;N="flex items-center gap-0.5",v=p?j("form.last5WithTeam",{team:p,form:n,defaultValue:`${p} last ${e.length}: ${n}`}):j("form.last5",{form:n,defaultValue:`Last ${e.length}: ${n}`}),w="img",o[14]!==y?(d=(e,n)=>t.jsxs(r,{children:[t.jsx(i,{asChild:!0,children:t.jsx(a,{to:`/match/${e.matchId}`,className:`${y} rounded-full ${l(e.result)} hover:scale-150 transition-transform cursor-pointer inline-block`,"aria-hidden":"true",children:t.jsx("span",{className:"sr-only",children:e.result})})}),t.jsx(c,{side:"top",className:"bg-gray-900 text-white text-xs px-2.5 py-2 max-w-48",children:t.jsxs("div",{className:"space-y-1",children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx("span",{className:"text-[10px] font-bold px-1 py-0.5 rounded "+("W"===e.result?"bg-green-500/30 text-green-300":"L"===e.result?"bg-red-500/30 text-red-300":"bg-gray-500/30 text-gray-300"),children:e.result}),t.jsx("span",{className:"font-semibold",children:e.score})]}),t.jsxs("div",{className:"flex items-center gap-1.5",children:[e.opponentLogo&&t.jsx("img",{src:s(e.opponentLogo,{width:32}),alt:"",className:"w-3.5 h-3.5 object-contain"}),t.jsxs("span",{className:"text-gray-200 truncate",children:[e.isHome?"vs":"@"," ",e.opponent]})]}),e.competitionName&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[e.competitionLogo&&t.jsx("img",{src:s(e.competitionLogo,{width:24}),alt:"",className:"w-3 h-3 object-contain"}),t.jsx("span",{className:"text-gray-400 truncate text-[10px]",children:e.competitionName})]}),e.date&&t.jsx("div",{className:"text-gray-500 text-[10px]",children:new Date(e.date).toLocaleDateString()})]})})]},e.matchId||n),o[14]=y,o[15]=d):d=o[15],k=e.map(d),o[5]=y,o[6]=m,o[7]=b,o[8]=j,o[9]=p,o[10]=N,o[11]=v,o[12]=w,o[13]=k}else N=o[10],v=o[11],w=o[12],k=o[13];return o[16]!==N||o[17]!==v||o[18]!==w||o[19]!==k?(L=t.jsx("div",{className:N,"aria-label":v,role:w,children:k}),o[16]=N,o[17]=v,o[18]=w,o[19]=k,o[20]=L):L=o[20],L};function f(e){return e.result}function p(t,a){const s=e.c(19),r=void 0===a?5:a;let i;s[0]!==t||s[1]!==r?(i={clubId:t,limit:r},s[0]=t,s[1]=r,s[2]=i):i=s[2];const c=!t;let l;s[3]!==i||s[4]!==c?(l={variables:i,skip:c,fetchPolicy:"cache-first"},s[3]=i,s[4]=c,s[5]=l):l=s[5];const{data:d,loading:h,error:f}=u(n,l);let p,g,x;s[6]!==t||s[7]!==r?(p={clubId:t,limit:r},s[6]=t,s[7]=r,s[8]=p):p=s[8],s[9]!==f||s[10]!==p?(g={error:f,hookName:"useTeamRecentForm",queryName:"GET_CLUB_RECENT_MATCHES",extra:p},s[9]=f,s[10]=p,s[11]=g):g=s[11],o(g);e:{if(!d?.clubRecentMatches){let e;s[12]===Symbol.for("react.memo_cache_sentinel")?(e=[],s[12]=e):e=s[12],x=e;break e}let e;if(s[13]!==t||s[14]!==d.clubRecentMatches){e=[];for(const a of d.clubRecentMatches){const s=a.result?.homeScore,n=a.result?.awayScore;if(null==s||null==n)continue;const o=String(a.homeTeam?.id)===String(t),r=o?s:n,i=o?n:s,c=o?a.awayTeam:a.homeTeam,l=m(r,i);
1l&&e.push({matchId:a.id,result:l,score:`${r}-${i}`,opponent:c?.name||"",opponentLogo:c?.logo,competitionName:a.competition?.name,competitionLogo:a.competition?.logo,date:a.startingAt,isHome:o})}s[13]=t,s[14]=d.clubRecentMatches,s[15]=e}else e=s[15];x=e}const b=x;let j;return s[16]!==b||s[17]!==h?(j={form:b,loading:h},s[16]=b,s[17]=h,s[18]=j):j=s[18],j}export{h as F,p as u};

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.