PageSourceSearch

https://cantera.haris.es/14810.168caa4c0ed50c76.js

js haris.es collected 2026-10-03 00:15:44 UTC 5,461 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[14810],{14810:(Y,r,a)=>{a.r(r),a.d(r,{ClupikEntityVinculateModule:()=>j});var p=a(43184),u=a(38132),d=a(10467),v=a(78704),h=a(89128),b=a(81864),m=a(69915),C=a(68010),f=a(60152),g=a(63924),y=a(25615),S=a(84412),V=a(54843),t=a(73664),c=a(2615),x=a(91029),A=a(69415),I=a(72357),E=a(6328),P=a(72200);const T=()=>["module.protector.activate_now"],U=()=>["module.protector.working","module.protector.working_desc"],k=()=>["module.protector.activated"];function M(i,l){if(1&i&&(t.j41(0,"app-empty-space",1),t.nrm(1,"app-clupik-actions",3),t.k0s()),2&i){const e=t.XpG(2);t.Y8G("size","default")("textArray",t.lJ4(4,T))("noButton",!0),t.R7$(),t.Y8G("actionsConfig",e.actionsConfig)}}function X(i,l){1&i&&t.nrm(0,"app-empty-space",1),2&i&&t.Y8G("size","default")("textArray",t.lJ4(3,U))("noButton",!0)}function B(i,l){if(1&i){const e=t.RV6();t.j41(0,"app-empty-space",4),t.bIt("buttonAction",function(){c.eBV(e);const o=t.XpG(2);return c.Njj(o.continue())}),t.k0s()}2&i&&t.Y8G("size","default")("textArray",t.lJ4(3,k))("buttonText","global.button.continue")}function z(i,l){if(1&i&&(t.nVh(0,M,2,5,"app-empty-space",1),t.nVh(1,X,1,4,"app-empty-space",1),t.nVh(2,B,1,4,"app-empty-space",2)),2&i){const e=l;t.vxM("activate"===e?0:-1),t.R7$(),t.vxM("wait"===e?1:-1),t.R7$(),t.vxM("finish"===e?2:-1)}}const G=[{path:"",component:(()=>{class i{_appService;_apiClubsService;_apiProtected;_clubsService;_authService;_apiClubConfigService;_sectionsService;_router;globalVars;activeView$=new S.t("activate");actionsConfig={centerActions:()=>!0,separator:{hasSeparator:()=>!1},main:{hasAction:()=>!0,disabled:()=>!1,action:()=>this.activate(),label:()=>"global.common.activate",tooltip:()=>"",type:()=>"button",config:()=>"main",size:()=>this.globalVars.responsive?"md":"sm",class:()=>"",isExternalLink:()=>!1,isFullWidth:()=>this.globalVars.responsive,hasIcon:()=>!1,icon:()=>""},secondary:{hasAction:()=>!0,disabled:()=>!1,action:()=>this.cancel(),label:()=>"global.button.cancel",tooltip:()=>"",type:()=>"button",config:()=>"outlined",size:()=>this.globalVars.responsive?"md":"sm",class:()=>"",isExternalLink:()=>!1,isFullWidth:()=>this.globalVars.responsive,hasIcon:()=>!1,icon:()=>""},third:{hasAction:()=>!1}};modules;constructor(e,n,o,s,D,F,L,O,R){this._appService=e,this._apiClubsService=n,this._apiProtected=o,this._clubsService=s,this._authService=D,this._apiClubConfigService=F,this._sectionsService=L,this._router=O,this.globalVars=R,this._appService.broadcast("isOnboard",!0),this._authService.extraData||this.globalVars.clupikNavigate("/")}cancel(){this.globalVars.clupikNavigate("/admin")}activate(){this.activeView$.next("wait"),this._apiProtected.createPublicEntityFromOutside(this._authService.extraData.protectedClubId,{name:this._clubsService.getClubPublicName(),email:this._clubsService.getClubData().contact.email}).subscribe({next:e=>{e.entity.protectedClubId=this._authService.extraData.protectedClubId,this._apiProtected.linkClubToEntityAndProtector(this._authService.extraData.protectedClubId,this._clubsService.getClubId(),e.entity).subscribe({next:()=>this.activeView$.next("finish")})}})}continue(){var e=this;return(0,d.A)(function*(){e.modules=yield(0,V._)(e._apiClubConfigService.getAllModules());const n=e._apiProtected.ChildProtectionParents;e.modules=e.modules.clubModules,e._apiClubsService.getClubByUrl(window.location.protocol+"//"+window.location.hostname,!1,!0).then(o=>{e._appService.broadcast("isOnboard",!1),e._sectionsService.setSections(o.section),e.getClubLanguages("/admin/protected/info",{create:!0,parent:n[0]?.id})}).catch(o=>console.error("error updating club info after access:",o))})()}getClubLanguages(e,n={}){this._apiClubConfigService.getAllLangs().subscribe({next:o=>{this._clubsService.setLanguageInUse(o.find(s=>s.default)||o[0]),this._clubsService.isOnboard=!1,this._router.navigate(["/"+this._clubsService.getLanguageInUseCode()+e],{queryParams:n}).then(()=>{this.modules.childProtection="active",this._clubsService.updateDataModules(this.modules),this._appService.broadcast("updatePlan")})}})}ngOnDestroy(){this._appService.broadcast("isOnboard",!1)}static \u0275fac=function(n){return new(n||i)(t.rXU(m.d),t.rXU(h.P),t.rXU(b.r),t.rXU(f.X),t.rXU(C.u),t.rXU(v._),t.rXU(g.c),t.rXU(x.Ix),t.rXU(y.Y))};static \u0275cmp=t.VBU({type:i,selectors:[["app-clupik-entity-vinculate"]],standalone:!1,decls:3,vars:5,consts:[[3,"whiteBorder","hasButton"],["svgImage","website-builder",3,"size","textArray","noButton"],["svgImage","website-builder","buttonType","button","buttonConfig","outlined","buttonSize","sm",3,"size","textArray","buttonText"],[3,"actionsConfig"],["svgImage","website-builder","buttonType","button","buttonConfig","outlined","buttonSize","sm",3,"buttonAction","size","textArray","buttonText"]],template:function(n,o){if(1&n&&(t.j41(0,"app-block-item",0),t.nVh(1,z,3,3),t.nI1(2,"async"),t.k0s()),2&n){let s;t.Y8G("whiteBorder",!o.globalVars.desktop)("hasButton",!1),t.R7$(),t.vxM((s=t.bMT(2,3,o.activeView$))?1:-1,s)}},dependencies:[A.p,I.W,E.d,P.Jj],styles:["[_nghost-%COMP%]{width:100%;display:block}"]})}return i})()}];let $=(()=>
1{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=t.$C({type:i});static \u0275inj=c.G2t({imports:[u.iI.forChild(G),u.iI]})}return i})(),j=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=t.$C({type:i});static \u0275inj=c.G2t({imports:[p.Q,$]})}return i})()}}]);

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.