PageSourceSearch

https://placar.com.br/_next/static/chunks/1301.872e1f556bc02386.js

js placar.com.br collected 2026-09-24 09:36:36 UTC 4,536 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1301],{51301:(e,t,s)=>{s.r(t),s.d(t,{GroupStandingsTab:()=>x});var a=s(95155),r=s(66766),n=s(12115),l=s(1592),i=s(34082);function c(e){let{ranking:t,isHighlighted:s}=e,n="final"===t.zoneStart||"final"===t.zoneEnd?"border-l-emerald-600":"Desclassificado"===t.zoneStart||"Desclassificado"===t.zoneEnd?"border-l-amber-700":"border-l-transparent";return(0,a.jsxs)("tr",{className:"border-b border-neutral-800 border-l-4 ".concat(n," ").concat(s?"bg-primary-main/10 font-semibold text-text-primary":"text-text-secondary"),children:[(0,a.jsx)("td",{className:"px-2 py-1.5 text-center text-xs tabular-nums",children:t.position}),(0,a.jsx)("td",{className:"px-2 py-1.5",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[t.team.logo&&(0,a.jsx)(r.default,{src:t.team.logo,alt:"",width:16,height:16,className:"h-4 w-4 object-contain",unoptimized:!0}),(0,a.jsx)("span",{className:"truncate text-xs",children:t.team.name})]})}),(0,a.jsx)("td",{className:"px-1 py-1.5 text-center text-xs tabular-nums",children:t.points}),(0,a.jsx)("td",{className:"px-1 py-1.5 text-center text-xs tabular-nums",children:t.played}),(0,a.jsx)("td",{className:"px-1 py-1.5 text-center text-xs tabular-nums",children:t.won}),(0,a.jsx)("td",{className:"px-1 py-1.5 text-center text-xs tabular-nums",children:t.drawn}),(0,a.jsx)("td",{className:"px-1 py-1.5 text-center text-xs tabular-nums",children:t.lost}),(0,a.jsx)("td",{className:"px-1 py-1.5 text-center text-xs tabular-nums",children:t.goalDifference>0?"+".concat(t.goalDifference):t.goalDifference})]})}function d(e){let{group:t,highlightTeamIds:s}=e;return(0,a.jsxs)("div",{className:"overflow-hidden rounded-lg bg-surface-secondary",children:[(0,a.jsx)("h4",{className:"border-b border-neutral-800 px-3 py-2 text-sm font-semibold text-text-primary",children:t.title}),(0,a.jsxs)("table",{className:"w-full text-text-secondary",children:[(0,a.jsx)("thead",{className:"bg-surface-tertiary text-[10px] uppercase tracking-wide text-text-disabled",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"px-2 py-1 text-center",children:"#"}),(0,a.jsx)("th",{className:"px-2 py-1 text-left",children:"Time"}),(0,a.jsx)("th",{className:"px-1 py-1 text-center",title:"Pontos",children:"P"}),(0,a.jsx)("th",{className:"px-1 py-1 text-center",title:"Jogos",children:"J"}),(0,a.jsx)("th",{className:"px-1 py-1 text-center",title:"Vit\xf3rias",children:"V"}),(0,a.jsx)("th",{className:"px-1 py-1 text-center",title:"Empates",children:"E"}),(0,a.jsx)("th",{className:"px-1 py-1 text-center",title:"Derrotas",children:"D"}),(0,a.jsx)("th",{className:"px-1 py-1 text-center",title:"Saldo de gols",children:"SG"})]})}),(0,a.jsx)("tbody",{children:t.rankings.map(e=>(0,a.jsx)(c,{ranking:e,isHighlighted:s.has(String(e.team.id))},e.team.id))})]})]})}function x(e){let{seasonId:t,homeTeam:s,awayTeam:r}=e,{data:c,isLoading:x,isError:o}
1=(0,i.F)(t),[p,m]=(0,n.useState)(!1),u=(0,n.useMemo)(()=>{var e;return null!=(e=null==c?void 0:c.groups)?e:[]},[null==c?void 0:c.groups]),h=(0,n.useMemo)(()=>new Set([String(s.id),String(r.id)]),[s.id,r.id]),g=(0,n.useMemo)(()=>u.find(e=>e.rankings.some(e=>h.has(String(e.team.id)))),[u,h]),j=(0,n.useMemo)(()=>u.filter(e=>e.groupId!==(null==g?void 0:g.groupId)),[u,g]);return x?(0,a.jsxs)("div",{className:"space-y-2 px-2",children:[(0,a.jsx)("div",{className:"h-6 w-32 animate-pulse rounded bg-surface-secondary"}),(0,a.jsx)("div",{className:"h-48 animate-pulse rounded bg-surface-secondary"})]}):o||!c||0===u.length?(0,a.jsx)("div",{className:"px-4 py-8 text-center text-sm text-text-disabled",children:"Classifica\xe7\xe3o ainda n\xe3o dispon\xedvel pra esta competi\xe7\xe3o."}):(0,a.jsxs)("div",{className:"space-y-4 px-2",children:[g?(0,a.jsx)(d,{group:g,highlightTeamIds:h}):(0,a.jsx)("div",{className:"space-y-3",children:u.map(e=>(0,a.jsx)(d,{group:e,highlightTeamIds:h},e.groupId))}),g&&j.length>0&&(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("button",{type:"button",onClick:()=>m(e=>!e),className:"w-full rounded-lg border border-neutral-800 px-3 py-2 text-xs font-medium text-text-secondary transition hover:border-neutral-700 hover:text-text-primary","aria-expanded":p,children:p?"Recolher outros grupos":"Ver outros grupos (".concat(j.length,")")}),p&&(0,a.jsx)("div",{className:"space-y-3",children:j.map(e=>(0,a.jsx)(d,{group:e,highlightTeamIds:h},e.groupId))})]}),"4739"===String(t)&&(0,a.jsx)(l.v,{variant:"outline",className:"w-full justify-center"})]})}}}]);

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.