1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-bHPkOuSP.js","assets/index-Cs4w5Fee.js","assets/index-Bks2LCH0.css","assets/index-DXE9qYuN.css"])))=>i.map(i=>d[i]); 2import{T as x,cj as L,t as _,s as T,_ as k,j as v,r as G,z as C,B as w,C as d,D as c,E as s,F as n,J as f,G as E,H as P}from"./index-Cs4w5Fee.js";import{G as S}from"./GameTeamStats-Krud0ufI.js";const b={name:"GameCenterTeamStat",components:{GameTeamStats:S,SdpSkeletonLoader:T(()=>k(()=>import("./index-bHPkOuSP.js"),__vite__mapDeps([0,1,2,3])))},props:{gameCenterInfo:{type:Object,default:()=>{}},gameCenterTeamStats:{type:Object,default:()=>{}}},setup(g){const{gameCenterTeamStats:e,gameCenterInfo:i}=x(g),t=G(!1),h=()=>{t.value=!t.value},l=v(()=>{var a;return(a=e==null?void 0:e.value)==null?void 0:a.statistics}),o=v(()=>{var a;return(a=e==null?void 0:e.value)==null?void 0:a.statisticsProvider}),m=v(()=>{var a;return _((a=i==null?void 0:i.value)==null?void 0:a.gameInfo)||_(l.value)});return{openStatsContent:h,isShowStats:t,isEmpty:_,statistics:l,statisticsProvider:o,isPageDataLoading:m,displayGenericTeamLogo:L}}},D={class:"gc-team-stat"},I={key:0,class:"team-header flex"},j={class:"team-container flex flex-col-reverse lg:flex-row"},q={class:"team-vs"},B={class:"team-container flex flex-col-reverse lg:flex-row"},V={key:1,class:"team-header flex"},N={class:"team-container flex flex-col-reverse lg:flex-row"},O=["src"],A={class:"team-container flex flex-col lg:flex-row"},F=["src"],R={class:"stats-block-comp flex items-center"},z={class:"ml-10 loader-1"},H={class:"mr-10 loader-2"},J={class:"loader-1"};function K(g,e,i,t,h,l){var a,u,p,y;const o=w("sdp-skeleton-loader"),m=w("game-team-stats");return d(),c("div",D,[t.isPageDataLoading?(d(),c("div",I,[s("div",j,[n(o,{type:"circle",width:70,height:70,rounded:!1,animation:"wave"})]),s("div",q,[n(o,{type:"square",width:60,height:20,rounded:!1,animation:"wave"})]),s("div",B,[n(o,{type:"circle",width:70,height:70,rounded:!1,animation:"wave"})])])):f("",!0),t.isPageDataLoading?f("",!0):(d(),c("div",V,[s("div",N,[s("img",{class:"team-img",src:(u=(a=i.gameCenterInfo)==null?void 0:a.homeTeam)==null?void 0:u.icon,alt:"",onError:e[0]||(e[0]=(...r)=>t.displayGenericTeamLogo&&t.displayGenericTeamLogo(...r))},null,40,O)]),e[2]||(e[2]=s("div",{class:"team-vs"}," vs ",-1)),s("div",A,[s("img",{class:"team-img",src:(y=(p=i.gameCenterInfo)==null?void 0:p.awayTeam)==null?void 0:y.icon,alt:"",onError:e[1]||(e[1]=(...r)=>t.displayGenericTeamLogo&&t.displayGenericTeamLogo(...r))},null,40,F)])])),t.isEmpty(i.gameCenterTeamStats)?(d(),c(E,{key:2},P(9,r=>s("div",{key:r,class:"stats-holder mb-9"},[s("div",R,[s("div",z,[n(o,{type:"square",width:30,height:25,rounded:!0,animation:"wave"})]),s("div",H,[n(o,{type:"square",width:"auto",height:15,rounded:!1,animation:"wave"})]),s("div",J,[n(o,{type:"square",width:30,height:25,rounded:!0,animation:"wave"})])])])),64)):f("",!0),n(m,{"team-stats-data":t.statistics,"is-transform-stats":!0,"statistics-provider":t.statisticsProvider,"team-stats-margin":"mb-10","is-show-stat-label":!0,section:"post_game_statistics"}
2,null,8,["team-stats-data","statistics-provider"])])}const U=C(b,[["render",K],["__scopeId","data-v-22d018dc"]]);export{U as default};
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.