PageSourceSearch

https://www.realaranjuezcf.es/16446.4659d2daca1cb291.js

js realaranjuezcf.es collected 2026-10-03 01:22:05 UTC 16,278 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[16446],{591:(S,u,o)=>{o.r(u),o.d(u,{CompetitionSummaryComponent:()=>nt});var C=o(10467),m=o(2615),c=o(23597),x=o(91029),h=o(75281),M=o(68018),E=o(89079),R=o(25615),v=o(7030),y=o(35375),f=o(37808),P=o(26506),b=o(47781),p=o(93986),s=o(35424),g=o(12549),_=o(89342),t=o(73664),d=o(69415),D=o(89792),T=o(10957);const O=i=>["global.search.nothing_found",i],I=(i,a)=>a.key,G=(i,a)=>a.id,k=(i,a)=>a.order,F=(i,a)=>a.id+a.name;function A(i,a){1&i&&t.nrm(0,"ion-skeleton-text",4),2&i&&t.Y8G("animated",!0)}function $(i,a){if(1&i&&(t.j41(0,"div",2),t.Z7z(1,A,1,1,"ion-skeleton-text",4,t.fX1),t.k0s()),2&i){const e=t.XpG();t.BMQ("data-test","competition-summary-skeleton"),t.R7$(),t.Dyx(e.skeletonRows)}}function B(i,a){if(1&i&&t.nrm(0,"app-empty-space",3),2&i){const e=t.XpG();t.Y8G("noButton",!0)("textArray",t.eq3(2,O,e.errorText))}}function j(i,a){if(1&i&&t.nrm(0,"app-empty-space",3),2&i){const e=t.XpG();t.Y8G("noButton",!0)("textArray",t.eq3(2,O,e.emptyText))}}function W(i,a){if(1&i&&t.nrm(0,"app-clupik-state-bar",5),2&i){const e=t.XpG(2);t.Y8G("mainTitle",e.degradedText)("outsidePadding",!1)}}function L(i,a){if(1&i){const e=t.RV6();t.j41(0,"div",9)(1,"button",11),t.bIt("click",function(){m.eBV(e);const r=t.XpG(2);return m.Njj(r.prevRound())}),t.nrm(2,"i",12),t.k0s(),t.j41(3,"div",13),t.EFF(4),t.k0s(),t.j41(5,"button",11),t.bIt("click",function(){m.eBV(e);const r=t.XpG(2);return m.Njj(r.nextRound())}),t.nrm(6,"i",14),t.k0s()()}if(2&i){let e;const n=t.XpG(2);t.R7$(),t.Y8G("disabled",!n.canGoPrevRound()),t.BMQ("aria-label",n.previousRoundLabel),t.R7$(3),t.JRh(null==(e=n.round())?null:e.name),t.R7$(),t.Y8G("disabled",!n.canGoNextRound()),t.BMQ("aria-label",n.nextRoundLabel)}}function V(i,a){if(1&i&&(t.j41(0,"p",10),t.EFF(1),t.k0s()),2&i){const e=t.XpG(2);t.R7$(),t.JRh(e.noMatchesText)}}function U(i,a){if(1&i&&(t.j41(0,"div",17),t.nrm(1,"app-clupik-state-tag",27),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.Y8G("centered",!0)("value",e.group.title)}}function X(i,a){if(1&i&&t.nrm(0,"img",20),2&i){const e=t.XpG().$implicit;t.Y8G("src",e.home.image,t.B4B)}}function w(i,a){if(1&i&&t.nrm(0,"img",20),2&i){const e=t.XpG().$implicit;t.Y8G("src",e.away.image,t.B4B)}}function K(i,a){if(1&i&&(t.j41(0,"div",10),t.EFF(1),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.facility.name)}}function N(i,a){if(1&i&&(t.j41(0,"div",28)(1,"div",10),t.EFF(2),t.k0s(),t.j41(3,"div",29),t.EFF(4),t.k0s(),t.j41(5,"div",29),t.EFF(6),t.k0s()()),2&i){const e=a.$implicit,n=a.$index,r=t.XpG(2).$implicit,l=t.XpG(3);t.R7$(2),t.JRh(e.name),t.R7$(2),t.JRh(l.periodValue(r,"home",n)),t.R7$(2),t.JRh(l.periodValue(r,"away",n))}}function z(i,a){if(1&i&&(t.j41(0,"div",26),t.Z7z(1,N,7,3,"div",28,k),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.Dyx(e.periods)}}function J(i,a){if(1&i){const e=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){const r=m.eBV(e).$implicit,l=t.XpG(3);return m.Njj(l.goToMatch(r))}),t.nVh(1,U,2,2,"div",17),t.j41(2,"div",18)(3,"div",19),t.nVh(4,X,1,1,"img",20),t.j41(5,"div",21),t.EFF(6),t.k0s()(),t.j41(7,"div",22)(8,"div",23),t.EFF(9),t.k0s(),t.j41(10,"div",21),t.EFF(11,"-"),t.k0s(),t.j41(12,"div",23),t.EFF(13),t.k0s()(),t.j41(14,"div",24)(15,"div",21),t.EFF(16),t.k0s(),t.nVh(17,w,1,1,"img",20),t.k0s()(),t.j41(18,"div",25)(19,"div",10),t.EFF(20),t.k0s(),t.nVh(21,K,2,1,"div",10),t.k0s(),t.nVh(22,z,3,0,"div",26),t.k0s()}if(2&i){const e=a.$implicit,n=t.XpG(3);t.AVh("competition-summary__match--clickable",n.matchClickable(e)),t.BMQ("data-test","competition-summary-match"),t.R7$(),t.vxM(null!=e.group&&e.group.title?1:-1),t.R7$(3),t.vxM(null!=e.home&&e.home.image?4:-1),t.R7$(2),t.JRh(null==e.home?null:e.home.name),t.R7$(3),t.JRh(n.scoreLabel(e,"home")),t.R7$(4),t.JRh(n.scoreLabel(e,"away")),t.R7$(3),t.JRh(null==e.away?null:e.away.name),t.R7$(),t.vxM(null!=e.away&&e.away.image?17:-1),t.R7$(3),t.JRh(n.matchDateLabel(e.date)),t.R7$(),t.vxM(null!=e.facility&&e.facility.name?21:-1),t.R7$(),t.vxM(e.finished?22:-1)}}function Q(i,a){if(1&i&&t.Z7z(0,J,23,13,"div",15,G),2&i){const e=t.XpG(2);t.Dyx(e.matches())}}function Y(i,a){if(1&i&&(t.j41(0,"p",10),t.EFF(1),t.k0s()),2&i){const e=t.XpG(3);t.R7$(),t.JRh(e.noScorersText)}}function Z(i,a){if(1&i){const e=t.RV6();t.j41(0,"img",35),t.bIt("error",function(){m.eBV(e);const r=t.XpG().$implicit,l=t.XpG(4);return m.Njj(l.markPhotoFailed(r.id))}),t.k0s()}2&i&&t.Y8G("src",a,t.B4B)}function H(i,a){if(1&i&&t.EFF(0),2&i){const e=t.XpG().$implicit,n=t.XpG(4);t.SpI("\n",n.initials(e.name),"\n")}}function q(i,a){if(1&i){const e=t.RV6();t.j41(0,"div",31),t.bIt("click",function(){const r=m.eBV(e).$implicit,l=t.XpG(4);return m.Njj(l.openPlayer(r))}),t.j41(1,"span",32),t.nVh(2,Z,1,1,"img",33)(3,H,1,1),t.k0s(),t.j41(4,"div",34)(5,"span",21),t.EFF(6),t.k0s(),t.j41(7,"span",10),t.EFF(8),t.k0s()(),t.j41(9,"span",23),t.EFF(10),t.k0s()()}if(2&i){let e;
1const n=a.$implicit,r=t.XpG(4);t.AVh("competition-summary__scorer-row--clickable",r.scorerClickable(n)),t.BMQ("data-test","competition-summary-scorer-row"),t.R7$(),t.BMQ("aria-hidden",!0),t.R7$(),t.vxM((e=r.photoOf(n))?2:3,e),t.R7$(4),t.JRh(n.name),t.R7$(2),t.JRh(n.teamName),t.R7$(2),t.JRh(n.value)}}function tt(i,a){if(1&i&&t.Z7z(0,q,11,8,"div",30,F),2&i){const e=t.XpG().$implicit;t.Dyx(e.rows)}}function et(i,a){if(1&i&&(t.j41(0,"section",6)(1,"div",8),t.EFF(2),t.k0s(),t.nVh(3,Y,2,1,"p",10)(4,tt,2,0),t.k0s()),2&i){const e=a.$implicit;t.BMQ("data-test","competition-summary-"+e.key),t.R7$(2),t.JRh(e.title),t.R7$(),t.vxM(0===e.rows.length?3:4)}}function it(i,a){if(1&i&&(t.nVh(0,W,1,2,"app-clupik-state-bar",5),t.j41(1,"section",6)(2,"div",7)(3,"div",8),t.EFF(4),t.k0s(),t.nVh(5,L,7,5,"div",9),t.k0s(),t.nVh(6,V,2,1,"p",10)(7,Q,2,0),t.k0s(),t.Z7z(8,et,5,3,"section",6,I)),2&i){const e=t.XpG();t.vxM(e.degraded()?0:-1),t.R7$(),t.BMQ("data-test","competition-summary-calendar"),t.R7$(3),t.JRh(e.calendarTitle),t.R7$(),t.vxM(e.rounds().length>0?5:-1),t.R7$(),t.vxM(0===e.matches().length?6:7),t.R7$(2),t.Dyx(e.scorerBlocks())}}let nt=(()=>{class i{route=(0,m.WQX)(x.nX);api=(0,m.WQX)(P.b);translate=(0,m.WQX)(M.c$);destroyRef=(0,m.WQX)(m.abz);modalCtrl=(0,m.WQX)(h.ModalController);globalVars=(0,m.WQX)(R.Y);competitionId=(0,m.vPA)(null);groupId=(0,m.vPA)(null);roundOrder=(0,m.vPA)(null);skeletonRows=[0,1,2];loading=(0,m.vPA)(!0);httpFailed=(0,m.vPA)(!1);payload=(0,m.vPA)(null);failedPhotoIds=(0,m.vPA)(new Set);round=(0,c.EW)(()=>this.payload()?.round??null);rounds=(0,c.EW)(()=>[...this.payload()?.rounds??[]].sort((e,n)=>e.order-n.order));roundIndex=(0,c.EW)(()=>{const e=this.round()?.order;return null==e?-1:this.rounds().findIndex(n=>n.order===e)});canGoPrevRound=(0,c.EW)(()=>this.roundIndex()>0);canGoNextRound=(0,c.EW)(()=>{const e=this.roundIndex();return-1!==e&&e<this.rounds().length-1});matches=(0,c.EW)(()=>this.payload()?.matches??[]);topScorers=(0,c.EW)(()=>this.payload()?.topScorers??[]);topPenaltyScorers=(0,c.EW)(()=>this.payload()?.topPenaltyScorers??[]);failed=(0,c.EW)(()=>this.httpFailed());isEmpty=(0,c.EW)(()=>{const e=this.payload();return!!e&&null===e.competition});degraded=(0,c.EW)(()=>!!this.payload()?.degraded);calendarTitle=(0,s.S)(this.translate,"module.competition.tournament_summary.calendar_title","Calendario");goalsTitle=(0,s.S)(this.translate,"module.competition.tournament_summary.goals_title","Goles");penaltyGoalsTitle=(0,s.S)(this.translate,"module.competition.tournament_summary.penalty_goals_title","Goles de penalti");noMatchesText=(0,s.S)(this.translate,"module.competition.tournament_summary.no_matches","Sin partidos en esta jornada");noScorersText=(0,s.S)(this.translate,"module.competition.tournament_summary.no_scorers","Sin datos todavia");errorText=(0,s.S)(this.translate,"module.competition.tournament_summary.load_error","No se ha podido cargar el resumen");emptyText=(0,s.S)(this.translate,"module.competition.tournament_summary.no_data","Esta competicion todavia no tiene resumen disponible");degradedText=(0,s.S)(this.translate,"module.competition.tournament_summary.degraded","Algunos datos podrian faltar o no estar actualizados");previousRoundLabel=(0,s.S)(this.translate,"global.common.previous","Anterior");nextRoundLabel=(0,s.S)(this.translate,"global.common.next","Siguiente");scorerBlocks=(0,c.EW)(()=>[{key:"goals",title:this.goalsTitle,rows:this.topScorers()},{key:"penalty",title:this.penaltyGoalsTitle,rows:this.topPenaltyScorers()}]);ngOnInit(){this.competitionId.set((0,_.D)(this.route))}onGroupSelected(e){this.groupId.set(e?.group?.id??null),this.roundOrder.set(null),this.load()}prevRound(){const e=this.roundIndex();e<=0||(this.roundOrder.set(this.rounds()[e-1].order),this.load())}nextRound(){const e=this.roundIndex(),n=this.rounds();-1===e||e>=n.length-1||(this.roundOrder.set(n[e+1].order),this.load())}scoreLabel(e,n){if(!e.finished)return"-";const r=e.score?.[n]?.total;return null==r?"-":String(r)}periodValue(e,n,r){if(!e.finished)return"-";const l=e.score?.[n]?.periods?.[r];return null==l?"-":String(l)}matchClickable(e){return!!e.gameId}matchDateLabel(e){return e?this.globalVars.getMoment()(e).format("dddd, D MMMM HH:mm"):""}goToMatch(e){e.gameId&&this.globalVars.clupikNavigate("/games/"+e.gameId)}initials(e){return(0,p.b)(e??"")}photoOf(e){if(e.id&&this.failedPhotoIds().has(e.id))return null;const n=e.image;return n?.medium||n?.large||n?.small||null}markPhotoFailed(e){!e||this.failedPhotoIds().has(e)||this.failedPhotoIds.set(new Set([...this.failedPhotoIds(),e]))}scorerClickable(e){return!!e.id}openPlayer(e){var n=this;return(0,C.A)(function*(){e.id&&(yield(yield n.modalCtrl.create({component:b.L,componentProps:{licenseId:e.id,competitionId:n.competitionId()},cssClass:"ionic-clupik-modal "+(n.globalVars.desktop?"lg":"full")})).present())})()}load(){const e=this.competitionId();if(!e)return this.loading.set(!1),void this.httpFailed.set(!0);this.loading.set(!0),this.httpFailed.set(!1),this.api.getTournamentSummary(e,this.groupId(),this.roundOrder()).pipe((0,E.pQ)(this.destroyRef)).subscribe({next:n=>{this.payload.set(n),this.loading.set(!1)},error:()=>{this.payload.set(null),this.httpFailed.set(!0),this.loading.set(!1)}})}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=t.VBU({type:i,selectors:[["app-competition-summary"]],decls:6,vars:5,consts:[[1,"competition-summary"],[3,"groupSelected","competitionId"],[1,"competition-summary__skeleton"],["size","sm","svgImage","file-searching",3,"noButton","textArray"],[1,"competition-summary__skeleton-block",3,"animated"],["state","warning","direction","row",3,"mainTitle","outsidePadding"],[1,"competition-summary__section"],[1,"competition-summary__section-title-row"],[1,"heading-text","h3","competition-summary__section-title"],[1,"competition-summary__round-nav"],[1,"text","sm","gray"],["type","button",1,"competition-summary__round-nav-btn",3,"click","disabled"],[1,"fa-solid","fa-chevron-left"],[1,"text","md","semibold","competition-summary__round-nav-label"],[1,"fa-solid","fa-chevron-right"],[1,"competition-summary__match",3,"competition-summary__match--clickable"],[1,"competition-summary__match",3,"click"],[1,"competition-summary__match-group"],[1,"competition-summary__match-teams"],[1,"competition-summary__match-team"],["width","24","height","24","alt","",1,"competition-summary__shield",3,"src"],[1,"text","md"],[1,"competition-summary__match-score"],[1,"text","md","bold"],[1,"competition-summary__match-team","competition-summary__match-team--away"],[1,"competition-summary__match-meta"],[1,"competition-summary__match-periods"],["state","grey","size","xs",3,"centered","value"],[1,"competition-summary__period"],[1,"text","sm"],[1,"competition-summary__scorer-row",3,"competition-summary__scorer-row--clickable"],[1,"competition-summary__scorer-row",3,"click"],[1,"text","xs","bold","competition-summary__avatar"],["width","28","height","28","alt","",1,"competition-summary__avatar-photo",3,"src"],[1,"competition-summary__scorer-info"],["width","28","height","28","alt","",1,"competition-summary__avatar-photo",3,"error","src"]],template:function(n,r){1&n&&(t.j41(0,"div",0)(1,"app-competition-group-filter",1),t.bIt("groupSelected",function(ot){return r.onGroupSelected(ot)}),t.k0s(),t.nVh(2,$,3,1,"div",2),t.nVh(3,B,1,4,"app-empty-space",3),t.nVh(4,j,1,4,"app-empty-space",3),t.nVh(5,it,10,5),t.k0s()),2&n&&(t.R7$(),t.Y8G("competitionId",r.competitionId()),t.R7$(),t.vxM(r.loading()?2:-1),t.R7$(),t.vxM(!r.loading()&&r.failed()?3:-1),t.R7$(),t.vxM(r.loading()||r.failed()||!r.isEmpty()?-1:4),t.R7$(),t.vxM(r.loading()||r.failed()||r.isEmpty()?-1:5))},dependencies:[h.IonicModule,h.IonSkeletonText,v.g,d.p,y.J,D.a,f.c,T.F,g.w],styles:[".competition-summary__skeleton[_ngcontent-%COMP%]{padding:16px}.competition-summary__skeleton-block[_ngcontent-%COMP%]{height:120px;border-radius:8px;margin-bottom:16px}.competition-summary__section[_ngcontent-%COMP%]{margin-bottom:24px}
1.competition-summary__section-title[_ngcontent-%COMP%]{margin-bottom:12px}.competition-summary__section-title-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}.competition-summary__section-title-row[_ngcontent-%COMP%]   .competition-summary__section-title[_ngcontent-%COMP%]{margin-bottom:0}.competition-summary__round-nav[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.competition-summary__round-nav-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:none;background:var(--base-light-grey, #e5e7ec);border-radius:50%;color:var(--text-medium);cursor:pointer}.competition-summary__round-nav-btn[_ngcontent-%COMP%]:disabled{opacity:.4;cursor:not-allowed}.competition-summary__round-nav-label[_ngcontent-%COMP%]{min-width:90px;text-align:center}.competition-summary__match[_ngcontent-%COMP%]{border-radius:8px;border:1px solid var(--base-medium-grey, #d3d5dc);padding:12px;margin-bottom:8px}.competition-summary__match--clickable[_ngcontent-%COMP%]{cursor:pointer}.competition-summary__match-group[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:8px}.competition-summary__match-teams[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.competition-summary__match-team[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;align-items:center;gap:8px}.competition-summary__match-team--away[_ngcontent-%COMP%]{justify-content:flex-end;text-align:right}.competition-summary__shield[_ngcontent-%COMP%]{flex:0 0 auto;object-fit:contain}.competition-summary__match-score[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;white-space:nowrap}.competition-summary__match-meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.competition-summary__match-periods[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.competition-summary__match-periods[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:2px}.competition-summary__scorer-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--base-medium-grey, #d3d5dc)}.competition-summary__scorer-row--clickable[_ngcontent-%COMP%]{cursor:pointer}.competition-summary__scorer-info[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column}.competition-summary__avatar[_ngcontent-%COMP%]{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--base-light-grey, #e5e7ec);display:flex;align-items:center;justify-content:center;overflow:hidden}.competition-summary__avatar-photo[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}"],changeDetection:0})}return i})()},23574:(S,u,o)=>{o.d(u,{X:()=>p});var C=o(49189),m=o(73664),c=o(2615);o(60152),o(69915),o(68010),o(61048),o(3356);let p=(()=>{class s{static \u0275fac=function(t){return new(t||s)};static \u0275mod=m.$C({type:s});static \u0275inj=c.G2t({imports:[C.G]})}return s})()},58864:(S,u,o)=>{o.d(u,{J:()=>b});var C=o(72200),m=o(49189),c=o(50630),x=o(11890),h=o(23574),M=o(82e3),E=o(52612),R=o(34118),v=o(61048),y=o(88678),f=o(73664),P=o(2615);let b=(()=>{class p{static \u0275fac=function(_){return new(_||p)};static \u0275mod=f.$C({type:p});static \u0275inj=P.G2t({providers:[E.C,v.k,R.i,y.j,M.Y],imports:[C.MD,m.G,h.X,c.j,x.g]})}return p})()}}]);

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.