PageSourceSearch

https://www.txingudirugbyclub.eus/12952.ba9c36ed32358b21.js

js txingudirugbyclub.eus collected 2026-10-03 01:21:56 UTC 37,517 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[12952],{12952:(V,O,i)=>{i.r(O),i.d(O,{ClubMainModule:()=>en});var t=i(73664),d=i(2615),x=i(68010),S=i(25615),T=i(60177),f=i(13961),p=i(69915);class m{globalVars;model;constructor(a){this.globalVars=a,this.load()}load(){this.model=JSON.parse(localStorage.getItem("menu_mobile_public")),this.model?this.globalVars.navbarTop.menuLoaded=!0:setTimeout(()=>{this.load()},300)}}var _=i(60152),M=i(91029),F=i(11518),j=i(72300),C=i(82966);function N(o,a){1&o&&(t.j41(0,"div",1),t.nrm(1,"fuse-navigation",3),t.k0s())}function s(o,a){1&o&&(t.j41(0,"div",2),t.nrm(1,"app-skeleton-block"),t.k0s())}let l=(()=>{class o{globalVars;activatedRoute;fuseNavigationService;clubService;appService;authService;document;platformId;isAdmin;clubRoute;subscription=new f.yU;constructor(n,e,r,h,g,y,$,u){this.globalVars=n,this.activatedRoute=e,this.fuseNavigationService=r,this.clubService=h,this.appService=g,this.authService=y,this.document=$,this.platformId=u,this.subscription.add(this.appService.subscribe("menuLoaded",b=>{this.ngOnInit()}))}ngOnDestroy(){this.subscription.unsubscribe()}ngOnInit(){(0,T.UE)(this.platformId)&&(this.document.querySelector("body").scrollTop=0),this.fuseNavigationService.setNavigationModel(new m(this.globalVars)),this.isAdmin=this.authService.isAdministrator(),this.clubRoute="/club/"+this.clubService.getClubId()+"/",setTimeout(()=>{this.globalVars.navbarTop.title="global.title.more",this.globalVars.navbarTop.image=null,this.globalVars.navbarTop.bgClass="bg-primary",this.globalVars.navbarTop.backLink=!1,this.globalVars.navbarTop.customBackLink="",this.globalVars.navbarBottom.activeItem="more",this.globalVars.navbarBottom.status=!0})}static \u0275fac=function(e){return new(e||o)(t.rXU(S.Y),t.rXU(M.nX),t.rXU(F.L),t.rXU(_.X),t.rXU(p.d),t.rXU(x.u),t.rXU(d.qQL),t.rXU(t.Agw))};static \u0275cmp=t.VBU({type:o,selectors:[["app-club-navigation"]],standalone:!1,decls:3,vars:2,consts:[["id","club-navigation"],[1,"module-navigation"],[1,"dashboard-flex-center"],["layout","vertical"]],template:function(e,r){1&e&&(t.j41(0,"div",0),t.nVh(1,N,2,0,"div",1),t.nVh(2,s,2,0,"div",2),t.k0s()),2&e&&(t.R7$(),t.vxM(r.globalVars.navbarTop.menuLoaded?1:-1),t.R7$(),t.vxM(r.globalVars.navbarTop.menuLoaded?-1:2))},dependencies:[j.n,C.K],encapsulation:2})}return o})();var c=i(89417),R=i(98868),B=i(33384),G=i(89128),H=i(88834),J=i(82765),A=i(33746),E=i(23620),W=i(49255),k=i(68018);function z(o,a){if(1&o&&t.nrm(0,"app-alerts",3),2&o){const n=t.XpG();t.Y8G("mensaje",n.successMessage)}}function Y(o,a){if(1&o&&t.nrm(0,"app-alerts",4),2&o){const n=t.XpG();t.Y8G("mensaje",n.errorMessage)}}function K(o,a){1&o&&(t.j41(0,"div",5),t.nrm(1,"app-skeleton-block"),t.k0s())}function Z(o,a){1&o&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R
17$(),t.JRh(t.bMT(2,1,"global.validator.required")))}function Q(o,a){if(1&o&&(t.j41(0,"mat-error",16),t.nVh(1,Z,3,3,"span"),t.k0s()),2&o){const n=t.XpG(3);t.R7$(),t.vxM(n.contactRequest.get("firstName").hasError("required")?1:-1)}}function q(o,a){1&o&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R7$(),t.JRh(t.bMT(2,1,"global.validator.required")))}function tt(o,a){1&o&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R7$(),t.JRh(t.bMT(2,1,"global.validator.email")))}function nt(o,a){if(1&o&&(t.j41(0,"mat-error",16),t.nVh(1,q,3,3,"span"),t.nVh(2,tt,3,3,"span"),t.k0s()),2&o){const n=t.XpG(3);t.R7$(),t.vxM(n.contactRequest.get("email").hasError("required")?1:-1),t.R7$(),t.vxM(n.contactRequest.get("email").hasError("email")?2:-1)}}function ot(o,a){1&o&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R7$(),t.JRh(t.bMT(2,1,"global.validator.required")))}function et(o,a){if(1&o&&(t.j41(0,"mat-error",16),t.nVh(1,ot,3,3,"span"),t.k0s()),2&o){const n=t.XpG(3);t.R7$(),t.vxM(n.contactRequest.get("title").hasError("required")?1:-1)}}function it(o,a){1&o&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R
17$(),t.JRh(t.bMT(2,1,"global.validator.required")))}function st(o,a){if(1&o&&(t.j41(0,"mat-error",16),t.nVh(1,it,3,3,"span"),t.k0s()),2&o){const n=t.XpG(3);t.R7$(),t.vxM(n.contactRequest.get("description").hasError("required")?1:-1)}}function at(o,a){if(1&o&&(t.j41(0,"div",23),t.EFF(1),t.nI1(2,"translate"),t.nI1(3,"translate"),t.k0s()),2&o){const n=t.XpG(3);t.R7$(),t.E5c("",t.bMT(2,3,"module.auth.data_protection_policy_accept_pre_club")," ",n.clubName," ",t.bMT(3,5,"module.auth.data_protection_policy_accept_post_club"))}}function rt(o,a){if(1&o&&t.nrm(0,"div",24),2&o){const n=t.XpG(3);t.Y8G("innerHtml",n.legalDescription,t.npT)}}function lt(o,a){if(1&o){const n=t.RV6();t.j41(0,"span",30),t.bIt("click",function(r){return d.eBV(n),d.Njj(r.stopPropagation())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&o&&(t.R7$(),t.JRh(t.bMT(2,1,"module.auth.data_protection_policy_accept_informed")))}function ct(o,a){if(1&o){const n=t.RV6();t.j41(0,"span",31),t.bIt("click",function(r){return d.eBV(n),d.Njj(r.stopPropagation())}),t.k0s()}if(2&o){const n=t.XpG(3);t.Y8G("innerHtml",n.acceptanceCheckbox,t.npT)}}function dt(o,a){if(1&o&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o){const n=t.XpG(4);t.R7$(),t.Lme("",t.bMT(2,2,"global.validator.data_protection_policy")," ",n.clubName)}}function pt(o,a){if(1&o&&(t.j41(0,"mat-error",16),t.nVh(1,dt,3,4,"span"),t.k0s()),2&o){const n=t.XpG(3);t.R7$(),t.vxM(n.contactRequest.get("dataProtection").hasError("required")?1:-1)}}function mt(o,a){1&o&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R
17$(),t.JRh(t.bMT(2,1,"module.auth.send_message")))}function gt(o,a){1&o&&(t.j41(0,"div",29)(1,"span",32),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&o&&(t.R7$(2),t.JRh(t.bMT(3,1,"global.common.saving")))}function ht(o,a){if(1&o){const n=t.RV6();t.j41(0,"form",10),t.bIt("ngSubmit",function(){d.eBV(n);const r=t.XpG(2);return d.Njj(r.onRegister(r.contactRequest))}),t.j41(1,"div",11)(2,"div",12)(3,"div",2),t.EFF(4),t.nI1(5,"translate"),t.k0s()(),t.j41(6,"div",13)(7,"mat-form-field",14)(8,"mat-label"),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.nrm(11,"input",15),t.nI1(12,"translate"),t.nVh(13,Q,2,1,"mat-error",16),t.k0s()(),t.j41(14,"div",13)(15,"mat-form-field",14)(16,"mat-label"),t.EFF(17),t.nI1(18,"translate"),t.k0s(),t.nrm(19,"input",17),t.nI1(20,"translate"),t.k0s()(),t.j41(21,"div",13)(22,"mat-form-field",14)(23,"mat-label"),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.nrm(26,"input",18),t.nI1(27,"translate"),t.nVh(28,nt,3,2,"mat-error",16),t.k0s()(),t.j41(29,"div",13)(30,"mat-form-field",14)(31,"mat-label"),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.nrm(34,"input",19),t.nI1(35,"translate"),t.nVh(36,et,2,1,"mat-error",16),t.k0s()(),t.j41(37,"div",20)(38,"mat-form-field",21)(39,"mat-label"),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.nrm(42,"textarea",22),t.nI1(43,"translate"),t.nVh(44,st,2,1,"mat-error",16),t.k0s()(),t.nVh(45,at,4,7,"div",23),t.nVh(46,rt,1,1,"div",24),t.j41(47,"div",13)(48,"mat-checkbox",25),t.bIt("change",function(){d.eBV(n);const r=t.XpG(2);return d.Njj(r.dataProtectionChange())}),t.nVh(49,lt,3,3,"span"),t.nVh(50,ct,1,1,"span",26),t.nVh(51,pt,2,1,"mat-error",16),t.k0s()(),t.j41(52,"div",13)(53,"div",27)(54,"button",28),t.nVh(55,mt,3,3,"span"),t.nVh(56,gt,4,3,"div",29),t.k0s()()()()()}if(2&o){const n=t.XpG(2);t.Y8G("formGroup",n.contactRequest),t.R7$(4),t.JRh(t.bMT(5,25,"global.auth.contact_form")),t.R7$(5),t.JRh(t.bMT(10,27,"global.placeholder.name")),t.R7$(2),t.Y8G("placeholder",t.bMT(12,29,"global.placeholder.name")),t.R7$(2),t.vxM(n.contactRequest.get("firstName").touched||n.isSubmitted?13:-1),t.R7$(4),t.JRh(t.bMT(18,31,"global.common.phone")),t.R7$(2),t.Y8G("placeholder",t.bMT(20,33,"global.common.phone")),t.R7$(5),t.JRh(t.bMT(25,35,"global.common.email")),t.R7$(2),t.Y8G("placeholder",t.bMT(27,37,"global.common.email")),t.R7$(2),t.vxM(n.contactRequest.get("email").touched||n.isSubmitted?28:-1),t.R7$(4),t.JRh(t.bMT(33,39,"global.placeholder.subject")),t.R7$(2),t.Y8G("placeholder",t.bMT(35,41,"global.placeholder.subject")),t.R7$(2),t.vxM(n.contactRequest.get("title").touched||n.isSubmitted?36:-1),t.R7$(4),t.JRh(t.bMT(41,43,"global.placeholder.message")),t.R7$(2),t.Y8G("placeholder",t.bMT(43,45,"global.placeholder.message")),t.R7$(2),t.vxM(n.contactRequest.get("description").touched?44:-1),t.R7$(),t.vxM(n.isCustomized?-1:45),t.R7$(),t.vxM(n.isCustomized?46:-1),t.R7$(3),t.vxM(n.isCustomized?-1:49),t.R7$(),t.vxM(n.isCustomized?50:-1),t.R7$(),t.vxM(n.contactRequest.get("dataProtection").touched||n.isSubmitted?51:-1),t.R7$(3),t.Y8G("disabled",n.isSubmitted)("id",n.contactId),t.R7$(),t.vxM(n.isSubmitted?-1:55),t.R7$(),t.vxM(n.isSubmitted?56:-1)}}function ut(o,a){if(1&o&&(t.j41(0,"div",33)(1,"div",34),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",35),t.EFF(5),t.k0s()()),2&o){const n=t.XpG(3);t.R7$(2),t.SpI("",t.bMT(3,2,"global.common.direction"),":"),t.R7$(3),t.JRh(n.clubContact.address)}}function Ct(o,a){if(1&o&&(t.j41(0,"div",33)(1,"div",34),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",35),t.EFF(5),t.k0s()()),2&o){const n=t.XpG(3);t.R7$(2),t.SpI("",t.bMT(3,2,"global.common.email"),":"),t.R7$(3),t.JRh(n.clubContact.email)}}function _t(o,a){if(1&o&&(t.j41(0,"div",33)(1,"div",34),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",35),t.EFF(5),t.k0s()()),2&o){const n=t.XpG(3);t.R7$(2),t.SpI("",t.bMT(3,2,"module.auth.contact_person"),":"),t.R7$(3),t.JRh(n.clubContact.name)}}function bt(o,a){if(1&o&&(t.j41(0,"div",33)(1,"div",34),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",35),t.EFF(5),t.k0s()()),2&o){const n=t.XpG(3);t.R7$(2),t.SpI("",t.bMT(3,2,"global.common.phone"),":"),t.R7$(3),t.JRh(n.clubContact.phone)}}function vt(o,a){if(1&o&&(t.j41(0,"div",9),t.nVh(1,ut,6,4,"div",33),t.nVh(2,Ct,6,4,"div",33),t.nVh(3,_t,6,4,"div",33),t.nVh(4,bt,6,4,"div",33),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.clubContact.address?1:-1),t.R7$(),t.vxM(n.clubContact.email?2:-1),t.R7$(),t.vxM(n.clubContact.name?3:-1),t.R7$(),t.vxM(n.clubContact.phone?4:-1)}}function ft(o,a){if(1&o&&(t.j41(0,"div",6)(1,"div",7),t.nVh(2,ht,57,47,"form",8),t.k0s(),t.nVh(3,vt,5,4,"div",9),t.k0s()),2&o){const n=t.XpG();t.R7$(2),t.vxM(n.isOnRegister?-1:2),t.R7$(),t.vxM(n.clubContact?3:-1)}}let xt=(()=>{class o{fb;globalVars;appService;clubsService;apiClubsService;apiMessagesService;contactId="";contactRequest;isSubmitted;isOnRegister;badRequest;isDataAccepted=!1;isSend=!1;quillEditor;success=!1;error=!1;successMessage="El mensaje se ha enviado con exito";errorMessage="Ha ocurrido un error al enviar el mensaje";clubContact;clubName;legalInfo;acceptanceCheckbox;legalDescription;isCustomized=!1;isFormLoaded=!1;constructor(n,e,r,h,g,y){this.fb=n,this.globalVars=e,this.appService=r,this.clubsService=h,this.apiClubsService=g,this.apiMessagesService=y}ngOnInit(){this.appService.broadcast("changeTitleAppNav",{title:"global.title.contact"}),this.contactId=`contact-form-${this.clubsService.getClubId()}`,this.isFormLoaded=!1,this.globalVars.navbarTop.image=null,this.globalVars.navbarTop.title="global.title.contact",this.globalVars.navbarTop.backLink=!0,this.globalVars.navbarTop.customLink=null,this.globalVars.navbarTop.customBackLink="",this.globalVars.navbarTop.bgClass="bg-primary",this.globalVars.navbarBottom.activeItem="contact",this.globalVars.navbarBottom.status=!0,this.clubContact=this.clubsService.getClubData().contact,this.clubName=this.clubsService.getClubData().editableName,this.quillEditor=this.globalVars.getQuillPublicationsToolbar(),this.isSubmitted=!1,this.isOnRegister=!1,this.apiClubsService.getLegalConfig().subscribe(n=>{this.acceptanceCheckbox=n.legalConfig.acceptance_checkbox,this.legalDescription=n.legalConfig.legal_description,this.isCu
1stomized=n.legalConfig.customize_legal,this.buildForm(),this.isFormLoaded=!0})}buildForm(){this.contactRequest=this.fb.group({firstName:["",[c.k0.required]],phone1:["",[]],email:["",[c.k0.required,B.P.email]],title:["",[c.k0.required,c.k0.maxLength(200)]],description:["",[c.k0.required]],dataProtection:[this.isDataAccepted,[c.k0.required]]})}onRegister({value:n,valid:e}){if(e){let r;this.isSubmitted=!0,r={},r.firstName=n.firstName,r.email=n.email,n.phone1&&(r.phone=n.phone1),r.title=n.title,r.description=n.description,r.dataProtection={},this.apiMessagesService.sendMessageToClub(r).subscribe(()=>{this.ngOnInit(),this.contactRequest.reset(),this.success=!0,this.error=!1},()=>{this.success=!1,this.error=!0})}}dataProtectionChange(){}static \u0275fac=function(e){return new(e||o)(t.rXU(c.ok),t.rXU(S.Y),t.rXU(p.d),t.rXU(_.X),t.rXU(G.P),t.rXU(R.Y))};static \u0275cmp=t.VBU({type:o,selectors:[["app-club-public-contact"]],standalone:!1,decls:9,vars:7,consts:[[1,"public-dashboard","white"],[1,"section-header"],[1,"heading-text","h2"],["type","success","dismissable","true",3,"mensaje"],["type","danger","dismissable","true",3,"mensaje"],[1,"dashboard-flex-center"],["id","contact-public"],["id","form"],[1,"full-width-form",3,"formGroup"],["id","info-club"],[1,"full-width-form",3,"ngSubmit","formGroup"],[1,"form-content","no-margin"],[1,"subsection-header","show-only-mobile"],[1,"form-row-outlined"],["appearance","outline"],["id","name","matInput","","formControlName","firstName","required","",3,"placeholder"],["align","start"],["id","lastName","matInput","","type","number","formControlName","phone1",3,"placeholder"],["id","email","matInput","","formControlName","email","required","",3,"placeholder"],["id","title","matInput","","formControlName","title","required","","maxLength","200",3,"placeholder"],[1,"form-row-outlined","area-row"],["appearance","outline",1,"field-textarea"],["matInput","","formControlName","description","required","",3,"placeholder"],[1,"small-grey"],[1,"small-grey",3,"innerHtml"],["type","checkbox","formControlName","dataProtection","required","",1,"checkbox-flex-fix",3,"change"],[3,"innerHtml"],[1,"actions-right"],["mat-raised-button","","type","submit",1,"btn-primary",3,"disabled","id"],[1,"spinner-xxs"],[3,"click"],[3,"click","innerHtml"],[1,"message"],[1,"item-content"],[1,"title"],[1,"value"]],template:function(e,r){1&e&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.nVh(5,z,1,1,"app-alerts",3),t.nVh(6,Y,1,1,"app-alerts",4),t.nVh(7,K,2,0,"div",5),t.nVh(8,ft,4,2,"div",6),t.k0s()),2&e&&(t.R7$(3),t.JRh(t.bMT(4,5,"global.title.contact")),t.R7$(2),t.vxM(r.success?5:-1),t.R7$(),t.vxM(r.error?6:-1),t.R7$(),t.vxM(r.isOnRegister||!r.isFormLoaded?7:-1),t.R7$(),t.vxM(r.isFormLoaded?8:-1))},dependencies:[H.$z,J.So,A.fg,E.j,E.M,E.b,c.qT,c.me,c.Q0,c.BC,c.cb,c.YS,c.j4,c.JD,C.K,W.Z,k.D9],styles:[".checkbox-flex-fix[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}"]})}return o})();var Mt=i(10467),X=i(72982),D=i(85491),I=i(56640),Pt=i(72200),Ot=i(53986),St=i(48142);const Tt=(o,a,n)=>({click:o,main:a,normal:n});function Rt(o,a){1&o&&(t.j41(0,"div",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R
17$(),t.JRh(t.bMT(2,1,"global.common.federations")))}function yt(o,a){1&o&&(t.j41(0,"div",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R7$(),t.JRh(t.bMT(2,1,"global.common.sponsors")))}function $t(o,a){if(1&o&&(t.j41(0,"app-clupik-header",2)(1,"div",4),t.nVh(2,Rt,3,3,"div",5),t.nVh(3,yt,3,3,"div",5),t.k0s()()),2&o){const n=t.XpG(2);t.Y8G("isDarkMode",!0)("hasSelect",!1),t.R7$(2),t.vxM(n.isUFE?2:-1),t.R7$(),t.vxM(n.isUFE?-1:3)}}function It(o,a){if(1&o&&(t.j41(0,"div",5)(1,"span",9),t.EFF(2),t.k0s()()),2&o){const n=t.XpG(2).$index,e=t.XpG(2);t.R7$(2),t.JRh(e.sponsors[n].name)}}function jt(o,a){if(1&o){const n=t.RV6();t.j41(0,"figure",10),t.nI1(1,"translate"),t.bIt("click",function(){const r=d.eBV(n).$index,h=t.XpG(2).$index,g=t.XpG(2);return d.Njj(g.goToSponsorPage(g.sponsors[h].children[r].url))}),t.nrm(2,"img",11),t.k0s()}if(2&o){const n=a.$implicit,e=a.$index,r=t.XpG(2).$index,h=t.XpG(2);t.Y8G("ngClass",t.sMw(5,Tt,n.url,0===r,r>0)),t.BMQ("aria-label",t.bMT(1,3,"global.common.open_sponsor")),t.R7$(2),t.Y8G("src",h.sponsors[r].children[e].image.src,t.B4B)}}function Ft(o,a){if(1&o&&(t.j41(0,"div",6),t.nVh(1,It,3,1,"div",5),t.j41(2,"div",7),t.Z7z(3,jt,3,9,"figure",8,t.fX1),t.k0s()()),2&o){const n=t.XpG().$index,e=t.XpG(2);t.R7$(),t.vxM(e.config.showCategory?1:-1),t.R7$(2),t.Dyx(e.sponsors[n].children)}}function Vt(o,a){if(1&o&&t.nVh(0,Ft,5,1,"div",6),2&o){const n=a.$index,e=t.XpG(2);t.vxM(e.sponsors[n].visibility&&e.sponsors[n].hasChildren?0:-1)}}function Et(o,a){if(1&o&&(t.j41(0,"div",0),t.nVh(1,$t,4,4,"app-clupik-header",2),t.j41(2,"div",3),t.Z7z(3,Vt,1,1,null,null,t.fX1),t.k0s()()),2&o){const n=t.XpG();t.R7$(),t.vxM(n.globalVars.app?-1:1),t.R7$(2),t.Dyx(n.sponsors)}}function Gt(o,a){1&o&&(t.j41(0,"h1",13),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R
17$(),t.JRh(t.bMT(2,1,"global.common.federations")))}function kt(o,a){1&o&&(t.j41(0,"h1",13),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o&&(t.R7$(),t.JRh(t.bMT(2,1,"global.common.sponsors")))}function Xt(o,a){if(1&o&&(t.j41(0,"div",9),t.EFF(1),t.k0s()),2&o){const n=t.XpG(2).$index,e=t.XpG(3);t.R7$(),t.JRh(e.sponsors[n].name)}}function Dt(o,a){if(1&o){const n=t.RV6();t.j41(0,"div",17)(1,"img",18),t.nI1(2,"translate"),t.bIt("load",function(){const r=d.eBV(n).$index,h=t.XpG(2).$index,g=t.XpG(3);return d.Njj(g.changeSize(g.sponsors[h].children[r].image,h))})("click",function(){const r=d.eBV(n).$index,h=t.XpG(2).$index,g=t.XpG(3);return d.Njj(g.goToSponsorPage(g.sponsors[h].children[r].url))}),t.k0s()()}if(2&o){const n=a.$index,e=t.XpG(2).$index,r=t.XpG(3);t.R7$(),t.Y8G("src",r.sponsors[e].children[n].image.src,t.B4B)("width",r.sponsors[e].children[n].image.width)("height",r.sponsors[e].children[n].image.height),t.BMQ("aria-label",t.bMT(2,4,"sponsors.go_to_sponsor"))}}function Ut(o,a){if(1&o&&(t.j41(0,"div",15),t.nVh(1,Xt,2,1,"div",9),t.j41(2,"div",16),t.Z7z(3,Dt,3,6,"div",17,t.fX1),t.k0s()()),2&o){const n=t.XpG().$index,e=t.XpG(3);t.R7$(),t.vxM(e.config.showCategory?1:-1),t.R7$(),t.Y8G("ngClass",0==n?"item-grid-lg":"item-grid-md"),t.R7$(),t.Dyx(e.sponsors[n].children)}}function wt(o,a){if(1&o&&t.nVh(0,Ut,5,2,"div",15),2&o){const n=a.$index,e=t.XpG(3);t.vxM(e.sponsors[n].visibility&&e.sponsors[n].hasChildren?0:-1)}}function Lt(o,a){if(1&o&&(t.nrm(0,"div",14),t.Z7z(1,wt,1,1,null,null,t.fX1)),2&o){const n=t.XpG(2);t.R7$(),t.Dyx(n.sponsors)}}function Nt(o,a){if(1&o&&(t.j41(0,"div",9),t.EFF(1),t.k0s()),2&o){const n=t.XpG(2).$index,e=t.XpG(3);t.R7$(),t.JRh(e.sponsors[n].name)}}function Bt(o,a){if(1&o){const n=t.RV6();t.j41(0,"div",20)(1,"div",21),t.nI1(2,"translate"),t.bIt("click",function(){const r=d.eBV(n).$index,h=t.XpG(2).$index,g=t.XpG(3);return d.Njj(g.goToSponsorPage(g.sponsors[h].children[r].url))}),t.nrm(3,"img",11),t.j41(4,"p"),t.EFF(5),t.k0s()()()}if(2&o){const n=a.$index,e=t.XpG(2).$index,r=t.XpG(3);t.R7$(),t.BMQ("aria-label",t.bMT(2,3,"sponsors.go_to_sponsor")),t.R7$(2),t.Y8G("src",r.sponsors[e].children[n].image.src,t.B4B),t.R7$(2),t.JRh(r.sponsors[e].children[n].name)}}function Ht(o,a){if(1&o&&(t.j41(0,"div",15),t.nVh(1,Nt,2,1,"div",9),t.j41(2,"div",19),t.Z7z(3,Bt,6,5,"div",20,t.fX1),t.k0s()()),2&o){const n=t.XpG().$index,e=t.XpG(3);t.R7$(),t.vxM(e.config.showCategory?1:-1),t.R7$(),t.Y8G("ngClass","item-grid-md"),t.R7$(),t.Dyx(e.sponsors[n].children)}}function Jt(o,a){if(1&o&&t.nVh(0,Ht,5,2,"div",15),2&o){const n=a.$index,e=t.XpG(3);t.vxM(e.sponsors[n].visibility&&e.sponsors[n].hasChildren?0:-1)}}function At(o,a){if(1&o&&(t.nrm(0,"div",14),t.Z7z(1,Jt,1,1,null,null,t.fX1)),2&o){const n=t.XpG(2);t.R7$(),t.Dyx(n.sponsors)}}function Wt(o,a){if(1&o&&(t.j41(0,"div",1)(1,"div",12),t.nVh(2,Gt,3,3,"h1",13),t.nVh(3,kt,3,3,"h1",13),t.k0s(),t.nVh(4,Lt,3,0),t.nVh(5,At,3,0),t.k0s()),2&o){const n=t.XpG();t.R7$(2),t.vxM(n.isUFE?2:-1),t.R7$(),t.vxM(n.isUFE?-1:3),t.R7$(),t.vxM(n.dataLoaded&&n.config.visibility&&"list"!==n.config.displayType?4:-1),t.R7$(),t.vxM(n.dataLoaded&&n.config.visibility&&"list"===n.config.displayType?5:-1)}}let U=(()=>{class o{globalVars;clubsService;apiClubService;apiSponsorsService;router;layoutService;appService;sponsors=[];config;dataLoaded=!1;isUFE=!1;isNewLayout=!1;constructor(n,e,r,h,g,y,$){this.globalVars=n,this.clubsService=e,this.apiClubService=r,this.apiSponsorsService=h,this.router=g,this.layoutService=y,this.appService=$}ngOnInit(){this.isNewLayout=this.layoutService.isNew(),this.appService.broadcast("changeTitleAppNav",{title:this.isUFE?"global.title.federations":"global.title.sponsors"}),this.globalVars.navbarTop.image=null,this.globalVars.navbarTop.title=this.isUFE?"global.title.federations":"global.title.sponsors",this.globalVars.navbarTop.backLink=!0,this.globalVars.navbarTop.customLink=null,this.globalVars.navbarTop.customBackLink="",this.globalVars.navbarTop.bgClass="bg-primary",this.globalVars.navbarBottom.activeItem="contact",this.globalVars.navbarBottom.status=!0,this.globalVars.showSponsors=!1,this.get
1Sponsors()}getSponsors(){var n=this;return(0,Mt.A)(function*(e=!1){n.dataLoaded=!1;const r=n;let h=[];h.push(n.apiSponsorsService.getSponsorTable(-1,!0),n.apiSponsorsService.getSponsorConfig(e).toPromise());const g=yield Promise.all(h),y=g[0];n.config=g[1],n.sponsors=y.map(u=>{let b=new X.HL;return b.name=u.name,b.id=u.id,b.sectionId=u.sectionId,b.order=u.order,b.visibility=u.sponsorPageVisibility,b.hasChildren=u.children?.filter(P=>P.visibility).length>0,b.children=u.children.map(P=>{let v=new X.fH;return v.id=P.id,v.img=r.apiSponsorsService.getSponsorImage(P.id),v.image=new Image,v.image.src=v.img,v.name=P.name,v.visibility=P.visibility,v.url=P.url,v.order=P.order,v.name=P.name,v}),b}),n.sponsors=n.sponsors.filter(u=>u.children.length>0);let $=n.clubsService.getClubData();$.sponsorshipConfig={displayType:n.config.displayType,showCategory:n.config.showCategory,visibility:n.config.visibility},$.categorySponsors=n.sponsors,n.apiClubService.updateClubData(n.globalVars.mergeDeep(n.clubsService.getClubData(),$)),n.sponsors=n.sponsors.map(u=>(u.children=u.children.filter(b=>b.visibility),u)),n.dataLoaded=!0}).apply(this,arguments)}goToSponsorPage(n){if(""!=n)if(n.startsWith(this.clubsService.getClubData().clubUrl)){const e=n.split(this.clubsService.getClubData().clubUrl)[1];this.router.navigate([e])}else window.open(n,"new")}changeSize(n,e){let r=150;1==e?r=110:e>1&&(r=90),n.width=r*n.width/n.height,n.height=r}static \u0275fac=function(e){return new(e||o)(t.rXU(S.Y),t.rXU(_.X),t.rXU(G.P),t.rXU(D.L),t.rXU(M.Ix),t.rXU(I.ZV),t.rXU(p.d))};static \u0275cmp=t.VBU({type:o,selectors:[["app-club-sponsors"]],standalone:!1,decls:2,vars:2,consts:[["id","new-sponsors"],[1,"dashboard-full-height"],[3,"isDarkMode","hasSelect"],[1,"main-container"],[1,"sponsor-page-head"],[1,"sponsor-title"],[1,"sponsor-category"],[1,"sponsor-list"],["role","button","tabindex","0",1,"sponsor",3,"ngClass"],[1,"name"],["role","button","tabindex","0",1,"sponsor",3,"click","ngClass"],["appLazyLoadImage","",3,"src"],[1,"section-header"],[1,"title"],[1,"sponsors"],[1,"category"],[1,"sponsors-img",3,"ngClass"],[1,"img","item"],["role","button","tabindex","0","appLazyLoadImage","",1,"clickable",3,"load","click","src","width","height"],[1,"club-list",3,"ngClass"],[1,"club-item"],["role","button","tabindex","0",1,"club-link","clickable",3,"click"]],template:function(e,r){1&e&&(t.nVh(0,Et,5,1,"div",0),t.nVh(1,Wt,6,4,"div",1)),2&e&&(t.vxM(r.isNewLayout?0:-1),t.R7$(),t.vxM(r.isNewLayout?-1:1))},dependencies:[Pt.YU,Ot.J,St.x,k.D9],styles:['[_ngcontent-%COMP%]:root{--current-breakpoint: desktop}@media (max-width: 959px){[_ngcontent-%COMP%]:root{--current-breakpoint: mobile}}@media (max-width: 959px){.hide-mobile[_ngcontent-%COMP%]{display:none!important}}@media (min-width: 960px){.show-only-mobile[_ngcontent-%COMP%]{display:none!important}}.item-grid[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media (max-width: 991px){.item-grid[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:2em;margin-right:0;width:calc(50% - 1em)}.item-grid[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(2n)){margin-right:2em}}@media (min-width: 960px){.item-grid[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:3em;margin-right:0;width:calc(25% - 2.25em)}.item-grid[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(4n)){margin-right:3em}}.sponsors[_ngcontent-%COMP%]{margin-top:.5em}.sponsors[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]:not(:empty){padding:.5em 0}.sponsors[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .content-category-swipe[_ngcontent-%COMP%]{display:flex;flex-direction:column}.sponsors[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .content-category-swipe[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin:1em 0 2em;font-size:1em;color:gray}.sponsors[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .content-category-swipe[_ngcontent-%COMP%]   .img.item[_ngcontent-%COMP%]{display:flex;justify-content:center}.sponsors[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .content-category-swipe[_ngcontent-%COMP%]   .img.item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{object-fit:contain;height:100%}.item-grid-lg[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media (max-width: 991px){.item-grid-lg[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin:1.2em!important;margin-bottom:1em;margin-right:0;width:100%}.item-grid-lg[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(n)){margin-right:1em}}@media (min-width: 960px) and (max-width: 1279px){.item-grid-lg[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:2em;margin-right:0;width:calc(50% - 1em)}.item-grid-lg[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(2n)){margin-right:2em}}@media (min-width: 1280px){.item-grid-lg[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:2em;margin-right:0;width:calc(100% / 3 - 2em * (3 - 1) / 3)}.item-grid-lg[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(3n)){margin-right:2em}}.item-grid-md[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}@media (max-width: 991px){.item-grid-md[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:1.5em;margin-right:0;width:calc(50% - .75em)}.item-grid-md[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(2n)){margin-right:1.5em}}@media (min-width: 960px) and (max-width: 1279px){.item-grid-md[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:2em;margin-right:0;width:calc(100% / 3 - 2em * (3 - 1) / 3)}.item-grid-md[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(3n)){margin-right:2em}}@media (min-width: 1280px){.item-grid-md[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:2em;margin-right:0;width:calc(25% - 1.5em)}.item-grid-md[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(:nth-child(4n)){margin-right:2em}}.clickable[_ngcontent-%COMP%]{cursor:pointer}#new-sponsors[_ngcontent-%COMP%]   .sponsor-page-head[_ngcontent-%COMP%]{position:relative}@media (max-width: 991px){#new-sponsors[_ngcontent-%COMP%]   .sponsor-page-head[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}}#new-sponsors[_ngcontent-%COMP%]   .sponsor-page-head[_ngcontent-%COMP%]   .sponsor-title[_ngcontent-%COMP%]{font-family:var(--main-font);font-weight:600;font-size:36px;line-height:54px;color:var(--primary-text)}@media (max-width: 991px){#new-sponsors[_ngcontent-%COMP%]   .sponsor-page-head[_ngcontent-%COMP%]   .sponsor-title[_ngcontent-%COMP%]{font-size:22px;line-height:33px}}#new-sponsors[_ngcontent-%COMP%]   .sponsor-page-head[_ngcontent-%COMP%]   .dark[_ngcontent-%COMP%]{color:#fff}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:calc(var(--module) * 2) 0}@media (max-width: 991px){#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]{padding:calc(var(--module) / 2) 20px}}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding-bottom:calc(var(--module) * 3)}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-title[_ngcontent-%COMP%]{position:relative;width:100%;z-index:1;display:flex;justify-content:center}@media (max-width: 991px){#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-title[_ngcontent-%COMP%]{padding:0 calc(var(--module) / 2)}}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-title[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-family:var(--main-font);font-size:22px;line-height:33px;font-weight:600;text-align:center;background-color:#fff;padding:0 var(--module)}@media (max-width: 991px){#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-title[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{padding:0 calc(var(--module) / 2.5);font-size:20px;line-height:30px}}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-title[_ngcontent-%COMP%]:after{content:"";border-bottom:solid var(--gray500) 1px;position:absolute;
1left:0;bottom:43%;width:100%;z-index:-2}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-list[_ngcontent-%COMP%]{width:100%;padding-top:calc(var(--module) * 2);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:32px}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-list[_ngcontent-%COMP%]   figure.sponsor[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:fit-content}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-list[_ngcontent-%COMP%]   figure.sponsor.main[_ngcontent-%COMP%]{height:200px}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-list[_ngcontent-%COMP%]   figure.sponsor.main[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:200px}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-list[_ngcontent-%COMP%]   figure.sponsor.normal[_ngcontent-%COMP%]{height:100px}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-list[_ngcontent-%COMP%]   figure.sponsor.normal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:100px}#new-sponsors[_ngcontent-%COMP%]   .main-container[_ngcontent-%COMP%]   .sponsor-category[_ngcontent-%COMP%]   .sponsor-list[_ngcontent-%COMP%]   figure.sponsor[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;object-fit:contain;object-position:center;margin:0 auto}.click[_ngcontent-%COMP%]{cursor:pointer}']})}return o})();var w=i(38132),Zt=i(74462);function Qt(o){return o.isNew()?{path:"",canActivate:[I.xo],children:[{path:"more",component:l},{path:"contact",loadChildren:()=>Promise.all([i.e(89186),i.e(71760),i.e(20050),i.e(13e3),i.e(58704),i.e(23064),i.e(19263)]).then(i.bind(i,7662)).then(a=>a.ContactModule)},{path:"sponsors",component:U,canActivate:[I.Z3],data:{features:["sponsorship"]}}]}:{path:"",canActivate:[I.xo],children:[{path:"more",component:l},{path:"contact",component:xt},{path:"sponsors",component:U,canActivate:[I.Z3],data:{features:["sponsorship"]}}]}}let L=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=t.$C({type:o});static \u0275inj=d.G2t({providers:[{provide:M.bw,useFactory:Qt,multi:!0,deps:[I.ZV]}],imports:[Zt.k7,w.iI.forChild([]),w.iI]})}return o})();var qt=i(49189),tn=i(11890),nn=i(373),on=i(17633);let en=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=t.$C({type:o});static \u0275inj=d.G2t({providers:[D.L],imports:[nn.f,L,qt.G,tn.g,on.E,L]})}return o})()},17633:(V,O,i)=>{i.d(O,{E:()=>m});var t=i(72200),d=i(19072),x=i(35745),S=i(49189),T=i(73664),f=i(2615);i(48142);let m=(()=>{class _{static \u0275fac=function(j){return new(j||_)};static \u0275mod=T.$C({type:_});static \u0275inj=f.G2t({imports:[S.G,x.C,t.MD,d.$]})}return _})()},19072:(V,O,i)=>{i.d(O,{$:()=>T});var t=i(49189),d=i(73664),x=i(2615);i(31165);let T=(()=>{class f{static \u0275fac=function(_){return new(_||f)};static \u0275mod=d.$C({type:f});static \u0275inj=x.G2t({imports:[t.G]})}return f})()},85491:(V,O,i)=>{i.d(O,{L:()=>j});var t=i(10467),d=i(60152),x=i(29330),S=i(71985),T=i(18810),f=i(97647),p=i(96354),m=i(99437),_=i(45312),M=i(2615);let F=(()=>{class C{sponsors=null;constructor(){}setSponsors(s){this.sponsors=s}getSponsors(){return this.sponsors}static \u0275fac=function(l){return new(l||C)};static \u0275prov=M.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})(),j=(()=>{class C{sponsorsService;http;clubsService;jsonHeaders=new x.Lr({"Content-Type":"application/json","Access-Control-Allow-Origin":"*"});apiUrl=_.c.api.URL+"/clubs";jsonHeadersNoCache=new x.Lr({"Content-Type":"application/json","clupik-cache":"no-cache"});constructor(s,l,c){this.sponsorsService=s,this.http=l,this.clubsService=c}getSponsors(){var s=this;return(0,t.A)(function*(){return null==s.sponsorsService.getSponsors()?yield s.getSponsorTable("-1",!0):s.sponsorsService.getSponsors()})()}getSponsorConfig(s=!1){return!s&&this.clubsService.getClubData().sponsorshipConfig?new S.c(l=>{l.next(this.clubsService.getClubData().sponsorshipConfig),l.complete()}):this.http.get(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/config",{headers:this.jsonHeaders}).pipe((0,f.u)(),(0,p.T)(l=>{const c=this.extractData(l),R=this.clubsService.getClubData();return R.sponsorshipConfig=c,this.clubsService.setClubData(R),c}),(0,m.W)(this.handleError))}updateSponsorConfig(s){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/config",s,{headers:this.jsonHeaders}).pipe((0,p.T)(l=>{const c=this.extractData(l);return this.clubsService.getClubData().sponsorshipConfig=c,c}),(0,m.W)(this.handleError))}getSponsorTable(){var s=this;return(0,t.A)(function*(l=-1,c=!1){let R=yield s.http.get(`${s.apiUrl}/${s.clubsService.getClubId()}/sponsors/table?sectionId=${l}&publicView=${c}`,{headers:s.jsonHeaders}).pipe((0,p.T)(s.extractData),(0,m.W)(s.handleError)).toPromise();return R&&s.sponsorsService.setSponsors(R),s.sponsorsService.getSponsors()}).apply(this,arguments)}createSponsor(s){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor",s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}getSponsor(s){return this.http.get(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/"+s,{headers:this.jsonHeaders}).pipe((0,p.T)(l=>this.extractData(l)),(0,m.W)(this.handleError))}getSponsorCategory(s){return this.http.get(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category/"+s,{headers:this.jsonHeaders}).pipe((0,p.T)(l=>this.extractData(l)),(0,m.W)(this.handleError))}createSponsorCategory(s){return(!s.section||-1==s.sectionId)&&(s.sectionId=null),this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category",s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}createNewSponsorCategory(s){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category",s,{headers:this.jsonHeaders})}updateCategoryOrder(s,l){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/table/category?sectionId="+l,s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}updateSponsorList(s,l){return this.http.post(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/table?sectionId="+l,s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}updateSponsor(s,l){return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor_id/"+l,s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}getSponsorImage(s){return this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/image/"+s}setSponsorCategoryVisible(s,l){const c={visible:s};return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category/visible?id="+l,c,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}setSponsorVisible(s,l){const c={visible:s};return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/visibility?id="+l,c,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}updateSponsorCategory(s,l){return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category?id="+l,s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}updateCategory(s,l){return this.http.patch(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category?id="+l,s,{headers:this.jsonHeaders})}deleteSponsor(s){return this.http.delete(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/"+s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}deleteSponsorCategory(s){return this.http.delete(this.apiUrl+"/"+this.clubsService.getClubId()+"/sponsor/category/"+s,{headers:this.jsonHeaders}).pipe((0,p.T)(this.extractData),(0,m.W)(this.handleError))}extractData(s){return s||{}}handleError(s){return console.error("An error occurred",s),(0,T.$)(s)}static \u0275fac=function(l){return new(l||C)(M.KVO(F),M.KVO(x.Qq),M.KVO(d.X))};
1static \u0275prov=M.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()}}]);

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.