PageSourceSearch

https://cantera.haris.es/2457.05ef1d72441fbc30.js

js haris.es collected 2026-10-03 00:13:56 UTC 24,119 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2457],{2457:(Ft,v,a)=>{a.r(v),a.d(v,{ExternalCompetitionsModule:()=>kt});var g=a(72200),r=a(89417),d=a(26450),E=a(96695),G=a(27258),x=a(33746),k=a(88834),_=a(81074),M=a(25596),O=a(9183),p=a(36229),F=a(3543),j=a(95416),I=a(91438),$=a(38132),y=a(18530),C=a(56977),D=a(70152),R=a(23294),f=a(29330),T=a(96354),b=a(99437),z=a(18810),w=a(45312),V=a(60152),N=a(68010),s=a(2615);let P=(()=>{class e{http;clubsService;authService;apiUrl=w.c.api.URL;jsonHeaders=new f.Lr({"Content-Type":"application/json","Access-Control-Allow-Origin":"*"});jsonHeadersNoCache=new f.Lr({"Content-Type":"application/json","Access-Control-Allow-Origin":"*","clupik-cache":"no-cache"});constructor(n,o,i){this.http=n,this.clubsService=o,this.authService=i}getExternalLiveClubs(n,o=1,i=10,c){let u=(new f.Nl).set("page",o.toString()).set("limit",i.toString());return c&&c.trim()&&(u=u.set("search",c.trim())),n&&n.trim()&&(u=u.set("scraperType",n.trim())),this.http.get(`${this.apiUrl}/external-live-clubs`,{headers:this.jsonHeadersNoCache,params:u}).pipe((0,T.T)(h=>({data:h.data||[],pagination:h.pagination||{total:0,currentPage:1,totalPages:1,limit:10},page:h.page||1,limit:h.limit||10})),(0,b.W)(this.handleError))}linkExternalClub(n,o,i){return this.http.patch(`${this.apiUrl}/external-live-clubs/${o}/link-to-club`,{externalClubId:o,clubId:i,competitionCode:n},{headers:this.jsonHeaders}).pipe((0,b.W)(this.handleError))}deleteExternalClub(n,o){return this.http.delete(`${this.apiUrl}/external-live-clubs/${n}/${o}`,{headers:this.jsonHeaders}).pipe((0,b.W)(this.handleError))}getClupikClubs(n){let o=new f.Nl;return n&&n.trim()&&(o=o.set("search",n.trim())),this.http.get(`${this.apiUrl}/clubs/search/quickSearch`,{headers:this.jsonHeaders,params:o}).pipe((0,T.T)(i=>i||[]),(0,b.W)(this.handleError))}handleError(n){let o="Error desconocido";return o=n.error instanceof ErrorEvent?`Error: ${n.error.message}`:n.error?.message||`Error ${n.status}: ${n.statusText}`,console.error("Error en ApiExternalCompetitionsService:",o),(0,z.$)(()=>new Error(o))}static \u0275fac=function(o){return new(o||e)(s.KVO(f.Qq),s.KVO(V.X),s.KVO(N.u))};static \u0275prov=s.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var L=a(22719),Y=a(25558),B=a(7673),U=a(88141),t=a(73664),m=a(23620),S=a(23768),X=a(93692);function A(e,l){if(1&e){const n=t.RV6();t.j41(0,"button",25),t.nI1(1,"translate"),t.bIt("click",function(){s.eBV(n);const i=t.XpG();return s.Njj(i.linkForm.get("search").setValue(""))}),t.j41(2,"mat-icon"),t.EFF(3,"clear"),t.k0s()()}2&e&&t.BMQ("aria-label",t.bMT(1,1,"global.common.clear_search"))}function H(e,l){if(1&e&&(t.j41(0,"mat-option",26),t.EFF(1),t.k0s()),2&e){const n=l.$implicit;t.Y8G("value",n.id),t.R7$(),t.Lme("",n.id," -- ",n.name)}}function Q(e,l){if(1&e&&t.DNE(0,H,2,3,"mat-option",28),2&e){const n=t.XpG();t.Y8G("ngForOf",n)}}function J(e,l){1&e&&(t.j41(0,"mat-option",27),t.EFF(1,"-- No se encontraron clubes o la busqueda es demasiado corta--"),t.k0s())}function W(e,l){1&e&&t.nVh(0,Q,1,1,"mat-option",26)(1,J,2,0,"mat-option",27),2&e&&t.vxM(l.length>0?0:1)}function Z(e,l){1&e&&(t.j41(0,"mat-error"),t.EFF(1,"Debes seleccionar un club de Clupik"),t.k0s())}function K(e,l){1&e&&(t.j41(0,"div",29),t.nrm(1,"mat-spinner",30),t.j41(2,"span"),t.EFF(3,"Cargando clubes..."),t.k0s()()),2&e&&(t.R7$(),t.Y8G("diameter",24))}function q(e,l){1&e&&t.nrm(0,"mat-spinner",30),2&e&&t.Y8G("diameter",20)}function tt(e,l){1&e&&(t.j41(0,"span"),t.EFF(1,"Vincular"),t.k0s())}function nt(e,l){1&e&&(t.j41(0,"span"),t.EFF(1,"Vinculando..."),t.k0s())}let et=(()=>{class e{dialogRef;data;fb;apiExternalCompetitions;destroy$=new y.B;linkForm;clupikClubs=[];loading=!1;submitting=!1;clupikClubs$;constructor(n,o,i,c){this.dialogRef=n,this.data=o,this.fb=i,this.apiExternalCompetitions=c,this.linkForm=this.fb.group({clupikClubId:["",r.k0.required],search:[""]})}ngOnInit(){this.clupikClubs$=this.linkForm.get("search").valueChanges.pipe((0,D.B)(300),(0,R.F)(),(0,Y.n)(n=>(this.linkForm.get("clupikClubId").setValue(null),null!=n&&n.length>3?this.loadClupikClubs(n):(0,B.of)([]))))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}loadClupikClubs(n){return this.loading=!0,this.apiExternalCompetitions.getClupikClubs(n).pipe((0,U.M)(()=>this.loading=!1))}onSubmit(){this.linkForm.valid&&!this.submitting&&(this.submitting=!0,this.apiExternalCompetitions.linkExternalClub(this.data.competitionCode,this.data.externalClub.id,this.linkForm.value.clupikClubId).pipe((0,C.Q)(this.destroy$)).subscribe({next:()=>{this.dialogRef.close(!0)},error:o=>{console.error("Error vinculando club:",o),this.submitting=!1}}))}onCancel(){this.dialogRef.close(!1)}getSelectedClubInfo(){const n=this.linkForm.value.clupikClubId;if(n){const o=this.clupikClubs.find(i=>i.id===n);
1if(o&&(o.city||o.province)){const i=[o.city,o.province].filter(Boolean).join(", ");return i?` - ${i}`:""}}return""}static \u0275fac=function(o){return new(o||e)(t.rXU(p.k),t.rXU(p.e),t.rXU(r.ok),t.rXU(P))};static \u0275cmp=t.VBU({type:e,selectors:[["app-link-club-dialog"]],standalone:!1,decls:41,vars:18,consts:[[1,"modal-clupik"],["mat-dialog-title",""],[1,"title"],["mat-button","","mat-dialog-close","",1,"exit-button"],[1,"fix-content"],[1,"external-club-info"],[1,"info-title"],[1,"club-details"],[1,"club-name"],["ng-if","data.externalClub.code",1,"club-meta"],["ng-if","data.externalClub.city || data.externalClub.province",1,"club-location"],[1,"form-section"],[3,"ngSubmit","formGroup"],["appearance","outline",1,"search-field"],["matInput","","formControlName","search","placeholder","Introduce el nombre del club..."],["matSuffix",""],["mat-icon-button","","matSuffix","","type","button",3,"click",4,"ngIf"],["appearance","outline",1,"club-select"],["formControlName","clupikClubId",3,"disabled"],[4,"ngIf"],["class","loading-clubs",4,"ngIf"],[1,"actions-right","modal-fixed-actions"],["mat-button","","type","button",3,"click","disabled"],["mat-raised-button","","color","primary","type","submit",3,"click","disabled"],[3,"diameter",4,"ngIf"],["mat-icon-button","","matSuffix","","type","button",3,"click"],[3,"value"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"loading-clubs"],[3,"diameter"]],template:function(o,i){if(1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.EFF(3,"Vincular Club Externo"),t.k0s(),t.j41(4,"button",3),t.EFF(5,"\xd7"),t.k0s()(),t.j41(6,"mat-dialog-content",4)(7,"div",5)(8,"h3",6),t.EFF(9,"Club Externo:"),t.k0s(),t.j41(10,"div",7)(11,"div",8),t.EFF(12),t.k0s(),t.j41(13,"div",9),t.EFF(14),t.k0s(),t.j41(15,"div",10),t.EFF(16),t.k0s()()(),t.j41(17,"div",11)(18,"form",12),t.bIt("ngSubmit",function(){return i.onSubmit()}),t.j41(19,"mat-form-field",13)(20,"mat-label"),t.EFF(21,"Buscar por nombre"),t.k0s(),t.nrm(22,"input",14),t.j41(23,"mat-icon",15),t.EFF(24,"search"),t.k0s(),t.DNE(25,A,4,3,"button",16),t.k0s(),t.j41(26,"mat-form-field",17)(27,"mat-label"),t.EFF(28,"Seleccionar Club de Clupik"),t.k0s(),t.j41(29,"mat-select",18),t.nVh(30,W,2,1),t.nI1(31,"async"),t.k0s(),t.DNE(32,Z,2,0,"mat-error",19),t.k0s(),t.DNE(33,K,4,1,"div",20),t.k0s()()()(),t.j41(34,"div",21)(35,"button",22),t.bIt("click",function(){return i.onCancel()}),t.EFF(36,"Cancelar"),t.k0s(),t.j41(37,"button",23),t.bIt("click",function(){return i.onSubmit()}),t.DNE(38,q,1,1,"mat-spinner",24)(39,tt,2,0,"span",19)(40,nt,2,0,"span",19),t.k0s()()),2&o){let c,u;t.R7$(12),t.JRh(i.data.externalClub.name),t.R7$(2),t.SpI("C\xf3digo: ",i.data.externalClub.code),t.R7$(2),t.E5c("",i.data.externalClub.city,"",i.data.externalClub.city&&i.data.externalClub.province?", ":"","",i.data.externalClub.province),t.R7$(2),t.Y8G("formGroup",i.linkForm),t.R7$(7),t.Y8G("ngIf",i.linkForm.get("search").value),t.R7$(4),t.Y8G("disabled",i.loading),t.R7$(),t.vxM((c=t.bMT(31,16,i.clupikClubs$))?30:-1,c),t.R7$(2),t.Y8G("ngIf",null==(u=i.linkForm.get("clupikClubId"))?null:u.hasError("required")),t.R7$(),t.Y8G("ngIf",i.loading),t.R7$(2),t.Y8G("disabled",i.submitting),t.R7$(2),t.Y8G("disabled",!i.linkForm.valid||i.submitting),t.R7$(),t.Y8G("ngIf",i.submitting),t.R7$(),t.Y8G("ngIf",!i.submitting),t.R7$(),t.Y8G("ngIf",i.submitting)}},dependencies:[g.Sq,g.bT,r.qT,r.me,r.BC,r.cb,r.j4,r.JD,m.j,m.M,m.b,m.g,x.fg,k.$z,S.M,_.An,O.LG,p.a,p.b,p.c,F.g,X.M,g.Jj],styles:[".link-club-dialog[_ngcontent-%COMP%]{min-width:450px}.external-club-info[_ngcontent-%COMP%]{margin-bottom:24px;padding:16px;background-color:#f8f9fa;border-radius:8px;border-left:4px solid #2196f3}.external-club-info[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:#333;margin:0 0 8px}.external-club-info[_ngcontent-%COMP%]   .club-details[_ngcontent-%COMP%]   .club-name[_ngcontent-%COMP%]{font-size:16px;font-weight:500;color:#333;margin-bottom:4px}.external-club-info[_ngcontent-%COMP%]   .club-details[_ngcontent-%COMP%]   .club-meta[_ngcontent-%COMP%]{font-size:12px;color:#666;font-style:italic;margin-bottom:4px}.external-club-info[_ngcontent-%COMP%]   .club-details[_ngcontent-%COMP%]   .club-location[_ngcontent-%COMP%]{font-size:13px;color:#555}.form-section[_ngcontent-%COMP%]   .club-select[_ngcontent-%COMP%]{width:100%;margin-bottom:16px}.form-section[_ngcontent-%COMP%]   .loading-clubs[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;color:#666;font-size:14px;margin-top:8px}mat-dialog-actions[_ngcontent-%COMP%]{padding:16px 0 0;margin:0}mat-dialog-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:8px}mat-dialog-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child{margin-left:0}mat-dialog-actions[_ngcontent-%COMP%]   mat-spinner[_ngcontent-%COMP%]{margin-right:8px}button[disabled][_ngcontent-%COMP%]{opacity:.6}@media (max-width: 480px){.link-club-dialog[_ngcontent-%COMP%]{min-width:320px;max-width:90vw}.external-club-info[_ngcontent-%COMP%]{padding:12px}.external-club-info[_ngcontent-%COMP%]   .club-details[_ngcontent-%COMP%]   .club-name[_ng
1content-%COMP%]{font-size:15px}mat-dialog-actions[_ngcontent-%COMP%]{flex-direction:column-reverse;align-items:stretch}mat-dialog-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:4px 0;width:100%}mat-dialog-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child{margin-top:8px}}@media (prefers-color-scheme: dark){.external-club-info[_ngcontent-%COMP%]{background-color:#424242;border-left-color:#64b5f6}.external-club-info[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%], .external-club-info[_ngcontent-%COMP%]   .club-details[_ngcontent-%COMP%]   .club-name[_ngcontent-%COMP%]{color:#fff}.external-club-info[_ngcontent-%COMP%]   .club-details[_ngcontent-%COMP%]   .club-meta[_ngcontent-%COMP%]{color:#bbb}.external-club-info[_ngcontent-%COMP%]   .club-details[_ngcontent-%COMP%]   .club-location[_ngcontent-%COMP%]{color:#ddd}.loading-clubs[_ngcontent-%COMP%]{color:#bbb}}"]})}return e})();var ot=a(91029);function it(e,l){if(1&e){const n=t.RV6();t.j41(0,"button",17),t.nI1(1,"translate"),t.bIt("click",function(){s.eBV(n);const i=t.XpG();return s.Njj(i.clearSearch())}),t.j41(2,"mat-icon"),t.EFF(3,"clear"),t.k0s()()}2&e&&t.BMQ("aria-label",t.bMT(1,1,"global.common.clear_search"))}function at(e,l){1&e&&(t.j41(0,"div",18),t.nrm(1,"mat-spinner"),t.k0s())}function lt(e,l){1&e&&(t.j41(0,"th",30),t.EFF(1,"Nombre"),t.k0s())}function ct(e,l){if(1&e&&(t.j41(0,"td",31)(1,"div",32),t.EFF(2),t.k0s(),t.j41(3,"div",33),t.EFF(4),t.k0s()()),2&e){const n=l.$implicit;t.R7$(2),t.JRh(n.name),t.R7$(2),t.SpI("C\xf3digo: ",n.code)}}function st(e,l){1&e&&(t.j41(0,"th",30),t.EFF(1,"External ID"),t.k0s())}function rt(e,l){if(1&e&&(t.j41(0,"td",31),t.EFF(1),t.k0s()),2&e){const n=l.$implicit;t.R7$(),t.JRh(n.externalId||"-")}}function dt(e,l){1&e&&(t.j41(0,"th",30),t.EFF(1,"Club ID"),t.k0s())}function ut(e,l){if(1&e&&(t.j41(0,"td",31),t.EFF(1),t.k0s()),2&e){const n=l.$implicit;t.R7$(),t.JRh(n.clubId||"-")}}function pt(e,l){1&e&&(t.j41(0,"th",30),t.EFF(1,"Club Vinculado"),t.k0s())}function mt(e,l){if(1&e&&(t.j41(0,"td",31),t.EFF(1),t.k0s()),2&e){const n=l.$implicit;t.R7$(),t.JRh((null==n.club?null:n.club.name)||"-")}}function gt(e,l){1&e&&(t.j41(0,"th",30),t.EFF(1,"Acciones"),t.k0s())}function Ct(e,l){if(1&e){const n=t.RV6();t.j41(0,"div",36)(1,"button",37),t.bIt("click",function(){s.eBV(n);const i=t.XpG().$implicit,c=t.XpG(2);return s.Njj(c.linkClub(i))}),t.j41(2,"mat-icon"),t.EFF(3,"link"),t.k0s()()()}}function ft(e,l){1&e&&(t.j41(0,"div",38)(1,"mat-icon",39),t.EFF(2,"check_circle"),t.k0s(),t.j41(3,"span",40),t.EFF(4,"Vinculado"),t.k0s()())}function bt(e,l){if(1&e&&(t.j41(0,"td",31),t.DNE(1,Ct,4,0,"div",34)(2,ft,5,0,"div",35),t.k0s()),2&e){const n=l.$implicit,o=t.XpG(2);t.R7$(),t.Y8G("ngIf",o.canShowActions(n)),t.R7$(),t.Y8G("ngIf",n.club)}}function ht(e,l){1&e&&t.nrm(0,"tr",41)}function xt(e,l){1&e&&t.nrm(0,"tr",42)}function _t(e,l){if(1&e&&(t.j41(0,"div",19)(1,"table",20),t.qex(2,21),t.DNE(3,lt,2,0,"th",22)(4,ct,5,2,"td",23),t.bVm(),t.qex(5,24),t.DNE(6,st,2,0,"th",22)(7,rt,2,1,"td",23),t.bVm(),t.qex(8,25),t.DNE(9,dt,2,0,"th",22)(10,ut,2,1,"td",23),t.bVm(),t.qex(11,26),t.DNE(12,pt,2,0,"th",22)(13,mt,2,1,"td",23),t.bVm(),t.qex(14,27),t.DNE(15,gt,2,0,"th",22)(16,bt,3,2,"td",23),t.bVm(),t.DNE(17,ht,1,0,"tr",28)(18,xt,1,0,"tr",29),t.k0s()()),2&e){const n=t.XpG();t.R7$(),t.Y8G("dataSource",n.externalClubs),t.R7$(16),t.Y8G("matHeaderRowDef",n.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",n.displayedColumns)}}function Mt(e,l){1&e&&(t.j41(0,"div",43)(1,"mat-icon",44),t.EFF(2,"inbox"),t.k0s(),t.j41(3,"p",45),t.EFF(4,"No se encontraron clubes externos"),t.k0s(),t.j41(5,"p",46),t.EFF(6,"Intenta ajustar los filtros de b\xfasqueda"),t.k0s()())}function Ot(e,l){if(1&e){const n=t.RV6();t.j41(0,"mat-paginator",47),t.bIt("page",function(i){s.eBV(n);const c=t.XpG();return s.Njj(c.onPageChange(i))}),t.k0s()}if(2&e){const n=t.XpG();t.Y8G("length",n.totalItems)("pageSize",n.pageSize)("pageSizeOptions",n.pageSizeOptions)("pageIndex",n.currentPage-1)}}const Pt=[{path:"",component:(()=>{class e{route;apiExternalCompetitions;dialog;snackBar;destroy$=new y.B;externalClubs=[];totalItems=0;currentPage=1;pageSize=10;pageSizeOptions=[5,10,25,50];loading=!1;searchControl=new r.MJ("");competitionCode="";displayedColumns=["name","externalId","clubId","clubName","actions"];constructor(n,o,i,c){this.route=n,this.apiExternalCompetitions=o,this.dialog=i,this.snackBar=c}ngOnInit(){this.route.params.pipe((0,C.Q)(this.destroy$)).subscribe(n=>{this.competitionCode=n.code,this.loadExternalClubs()}),this.searchControl.valueChanges.pipe((0,C.Q)(this.destroy$),(0,D.B)(300),(0,R.F)()).subscribe(()=>{this.currentPage=1,this.loadExternalClubs()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}loadExternalClubs(){this.competitionCode&&(this.loading=!0,this.apiExternalCompetitions.getExternalLiveClubs(this.competitionCode,this.currentPage,this.pageSize,this.searchControl.value||"").pipe((0,C.Q)(this.destroy$)).subscribe({next:o=>{this.externalClubs=o.data,this.totalItems=o.pagination.total,this.loading=!1},error:o=>{console.error("Error cargando clubes externos:",o),this.showErrorMessage("Error al cargar los clubes externos"),this.loading=!1}}))}onPageChange(n){this.currentPage=n.pageIndex+1,this.pageSize=n.pageSize,this.loadExternalClubs()}clearSearch(){this.searchControl.setValue("")}linkClub(n){this.dialog.open(et,{panelClass:"modal-md",data:{externalClub:n,competitionCode:this.competitionCode}}).afterClosed().subscribe(i=>{i&&(this.loadExternalClubs(),this.showSuccessMessage("Club vinculado correctamente"))})}deleteClub(n){this.dialog.open(L.w,{width:"400px",data:{title:"Eliminar Club",message:`\xbfEst\xe1s seguro de que deseas eliminar el club "${n.name}"?`,confirmText:"Eliminar",cancelText:"Cancelar",type:"warn"}}).afterClosed().subscribe(i=>{i&&this.performDeleteClub(n)})}performDeleteClub(n){this.loading=!0,this.apiExternalCompetitions.deleteExternalClub(this.competitionCode,n.id).pipe((0,C.Q)(this.destroy$)).subscribe({next:()=>{this.loadExternalClubs(),this.showSuccessMessage("Club eliminado correctamente")},error:o=>{console.error("Error eliminando club:",o),this.showErrorMessage("Error al eliminar el club"),this.loading=!1}})}getStatusText(n){return n.isLinked?"Vinculado":"Sin vincular"}getStatusClass(n){return n.isLinked?"status-linked":"status-unlinked"}canShowActions(n){return!n.isLinked}showSuccessMessage(n){this.snackBar.open(n,"Cerrar",{duration:3e3,panelClass:["success-snackbar"]})}showErrorMessage(n){this.snackBar.open(n,"Cerrar",{duration:5e3,panelClass:["error-snackbar"]})}static \u0275fac=function(o){return new(o||e)(t.rXU(ot.nX),t.rXU(P),t.rXU(p.h),t.rXU(j.UG))};
1static \u0275cmp=t.VBU({type:e,selectors:[["app-external-competitions"]],standalone:!1,decls:24,vars:7,consts:[[1,"external-competitions-container"],[1,"page-header"],[1,"page-title"],[1,"page-description"],[1,"filters-section"],[1,"filter-card"],[1,"filter-row"],["appearance","outline",1,"search-field"],["matInput","","placeholder","Introduce el nombre del club...",3,"formControl"],["matSuffix",""],["mat-icon-button","","matSuffix","","type","button",3,"click",4,"ngIf"],[1,"table-section"],[1,"table-card"],["class","loading-container",4,"ngIf"],["class","table-container",4,"ngIf"],["class","no-data",4,"ngIf"],[3,"length","pageSize","pageSizeOptions","pageIndex","page",4,"ngIf"],["mat-icon-button","","matSuffix","","type","button",3,"click"],[1,"loading-container"],[1,"table-container"],["mat-table","",1,"external-clubs-table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","externalId"],["matColumnDef","clubId"],["matColumnDef","clubName"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[1,"club-name"],["ng-if","club.code",1,"club-code"],["class","action-buttons",4,"ngIf"],["class","linked-info",4,"ngIf"],[1,"action-buttons"],["mat-icon-button","","color","primary","matTooltip","Vincular club",3,"click"],[1,"linked-info"],[1,"linked-icon"],[1,"linked-text"],["mat-header-row",""],["mat-row",""],[1,"no-data"],[1,"no-data-icon"],[1,"no-data-message"],["ng-if","searchControl.value",1,"no-data-subtitle"],[3,"page","length","pageSize","pageSizeOptions","pageIndex"]],template:function(o,i){1&o&&(t.j41(0,"div",0)(1,"div",1)(2,"h1",2),t.EFF(3),t.k0s(),t.j41(4,"p",3),t.EFF(5,"Gestiona los clubes externos de la competici\xf3n y vinc\xfalalos con clubes de Clupik"),t.k0s()(),t.j41(6,"div",4)(7,"mat-card",5)(8,"mat-card-content")(9,"div",6)(10,"mat-form-field",7)(11,"mat-label"),t.EFF(12,"Buscar por nombre"),t.k0s(),t.nrm(13,"input",8),t.j41(14,"mat-icon",9),t.EFF(15,"search"),t.k0s(),t.DNE(16,it,4,3,"button",10),t.k0s()()()()(),t.j41(17,"div",11)(18,"mat-card",12)(19,"mat-card-content"),t.DNE(20,at,2,0,"div",13)(21,_t,19,3,"div",14)(22,Mt,7,0,"div",15)(23,Ot,1,4,"mat-paginator",16),t.k0s()()()()),2&o&&(t.R
17$(3),t.SpI("Clubes Externos - ",i.competitionCode),t.R7$(10),t.Y8G("formControl",i.searchControl),t.R7$(3),t.Y8G("ngIf",i.searchControl.value),t.R7$(4),t.Y8G("ngIf",i.loading),t.R7$(),t.Y8G("ngIf",!i.loading),t.R7$(),t.Y8G("ngIf",!i.loading&&0===i.externalClubs.length),t.R7$(),t.Y8G("ngIf",!i.loading&&i.totalItems>0))},dependencies:[g.bT,r.me,r.BC,r.l_,d.Zl,d.tL,d.ji,d.cC,d.YV,d.iL,d.KS,d.$R,d.YZ,d.NB,E.iy,m.j,m.M,m.g,x.fg,S.M,_.An,M.RN,M.m2,O.LG,I.e],styles:[".external-competitions-container[_ngcontent-%COMP%]{padding:24px;max-width:1200px;margin:0 auto}.page-header[_ngcontent-%COMP%]{margin-bottom:24px}.page-header[_ngcontent-%COMP%]   .page-title[_ngcontent-%COMP%]{font-size:28px;font-weight:500;margin:0 0 8px;color:#333}.page-header[_ngcontent-%COMP%]   .page-description[_ngcontent-%COMP%]{font-size:14px;color:#666;margin:0}.filters-section[_ngcontent-%COMP%]{margin-bottom:24px}.filters-section[_ngcontent-%COMP%]   .filter-card[_ngcontent-%COMP%]{box-shadow:0 2px 4px #0000001a}.filters-section[_ngcontent-%COMP%]   .filter-row[_ngcontent-%COMP%]{display:flex;gap:16px;align-items:flex-end}.filters-section[_ngcontent-%COMP%]   .search-field[_ngcontent-%COMP%]{flex:1;min-width:300px}.table-section[_ngcontent-%COMP%]   .table-card[_ngcontent-%COMP%]{box-shadow:0 2px 8px #0000001f}.loading-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:60px 0}.table-container[_ngcontent-%COMP%]{overflow-x:auto}.table-container[_ngcontent-%COMP%]   .external-clubs-table[_ngcontent-%COMP%]{width:100%}.table-container[_ngcontent-%COMP%]   .external-clubs-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-weight:600;color:#333;background-color:#f8f9fa}.table-container[_ngcontent-%COMP%]   .external-clubs-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:16px 12px}.club-name[_ngcontent-%COMP%]{font-weight:500;font-size:14px;margin-bottom:4px}.club-code[_ngcontent-%COMP%]{font-size:12px;color:#666;font-style:italic}.status-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.status-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.status-chip.status-linked[_ngcontent-%COMP%]{background-color:#e8f5e8;color:#2e7d32}.status-chip.status-linked[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#4caf50}.status-chip.status-unlinked[_ngcontent-%COMP%]{background-color:#fff3e0;color:#ef6c00}.status-chip.status-unlinked[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#ff9800}.action-buttons[_ngcontent-%COMP%]{display:flex;gap:4px}.action-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:36px;height:36px}.action-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}.linked-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;color:#4caf50;font-size:12px}.linked-info[_ngcontent-%COMP%]   .linked-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}.linked-info[_ngcontent-%COMP%]   .linked-text[_ngcontent-%COMP%]{font-weight:500}.no-data[_ngcontent-%COMP%]{text-align:center;padding:60px 20px;color:#666}.no-data[_ngcontent-%COMP%]   .no-data-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;margin-bottom:16px;opacity:.5}.no-data[_ngcontent-%COMP%]   .no-data-message[_ngcontent-%COMP%]{font-size:16px;font-weight:500;margin:0 0 8px}.no-data[_ngcontent-%COMP%]   .no-data-subtitle[_ngcontent-%COMP%]{font-size:14px;margin:0;opacity:.8}mat-paginator[_ngcontent-%COMP%]{border-top:1px solid #e0e0e0;background-color:#fafafa}@media (max-width: 768px){.external-competitions-container[_ngcontent-%COMP%]{padding:16px}.page-header[_ngcontent-%COMP%]   .page-title[_ngcontent-%COMP%]{font-size:24px}.filter-row[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.filter-row[_ngcontent-%COMP%]   .search-field[_ngcontent-%COMP%]{min-width:auto}.external-clubs-table[_ngcontent-%COMP%]{font-size:13px}.external-clubs-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:12px 8px}.action-buttons[_ngcontent-%COMP%]{flex-direction:column}.action-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:32px;height:32px}.action-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}}@media (prefers-color-scheme: dark){.page-header[_ngcontent-%COMP%]   .page-title[_ngcontent-%COMP%]{color:#fff}.page-header[_ngcontent-%COMP%]   .page-description[_ngcontent-%COMP%]{color:#bbb}.external-clubs-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{color:#fff;background-color:#424242}.club-code[_ngcontent-%COMP%], .no-data[_ngcontent-%COMP%]{color:#bbb}}"]})}return e})()}];let vt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275mod=t.$C({type:e});static \u0275inj=s.G2t({imports:[$.iI.forChild(Pt),$.iI]})}return e})();var Et=a(99012);let kt=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275mod=t.$C({type:e});static \u0275inj=s.G2t({providers:[P],imports:[g.MD,r.X1,vt,d.tP,E.Ou,G.M,x.fS,k.Hl,_.m_,M.Hu,O.D6,p.l,F.M,j._T,I.h,Et.F]})}return e})()}}]);

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.