1import{a as F}from"./chunk-BJJMNLZP.js";import"./chunk-G3FXJLSV.js";import{a as d}from"./chunk-5B64DZKF.js";import{a as G}from"./chunk-IZ22VLOB.js";import"./chunk-45Y65VVW.js";import"./chunk-I5GKCKTD.js";import{C as R,D as V,H as b,wb as D,x as M}from"./chunk-VJJ7UZ4P.js";import"./chunk-3PGYUHMK.js";import"./chunk-X4VW2CZW.js";import{Fb as s,Hc as v,Jc as O,Pe as C,Vb as m,ad as N,da as E,fc as t,gc as o,hc as A,ib as _,ic as T,jb as c,jc as h,qc as l,rc as L,re as P,sc as S,uc as I,yb as u,zb as f}from"./chunk-WL6DODUI.js";import"./chunk-XGLIYOH3.js";import"./chunk-EJ3ITQCA.js";function B(e,p){if(e&1&&(t(0,"div",13)(1,"h2",14),l(2,2),o(),T(3),l(4,3),h(),o()),e&2){let i=I(2);_(4),L(i.channel.name),S(4);}}function y(e,p){e&1&&(t(0,"div",15)(1,"h1"),O(2,"Ups"),o(),t(3,"h3",16),l(4,4),o()());}function H(e,p){if(e&1&&(t(0,"div",7),s(1,B,5,1,"div",8)(2,y,5,0,"div",9),t(3,"a",10),A(4,"i",11),t(5,"span",12),l(6,1),o()()()),e&2){let i=I();_(),m("ngIf",i.validated),_(),m("ngIf",!i.validated);}}function U(e,p){e&1&&A(0,"ush-loading-indicator");}var k=(()=>{class e{constructor(i,n,a,r){this.route=i,this.authService=n,this.channelService=a,this.pageLoader=r,this.uuid="",this.processing=!0;}ngOnInit(){this.route.params.subscribe(i=>{this.uuid=i.uuid,this.validate(),this.pageLoader.hidePageLoader();}),this.channel=this.channelService.channel;}validate(){this.authService.putEmailValidation(this.uuid).subscribe(i=>{this.processing=!1,this.validated=!0;},i=>{this.processing=!1;});}static{this.ɵfac=function(n){return new(n||e)(c(M),c(G),c(D),c(F));};}static{this.ɵcmp=u({type:e,selectors:[["app-validation-page"]],standalone:!1,decls:4,vars:2,consts:()=>{let i;i="Inicio";let n;n="Tu email ha sido validado correctamente";let a;a="\xA1Gracias por registrarte! Recibir\xE1s nuestras novedades en tu correo.";let r;return r="Algo sali\xF3 mal, int\xE9ntalo de nuevo m\xE1s tarde.",[["loading",""],i,n,a,r,[1,"validation-page","page-content"],["class","validation-page-container",4,"ngIf","ngIfElse"],[1,"validation-page-container"],["class","validation-message",4,"ngIf"],["class","validation-error-container",4,"ngIf"],["routerLink","/home","routerLinkActive","router-link-active",1,"back-to-home-container"],[1,"pi","pi-arrow-left"],["data-translate","public.filters.control.backHome"],[1,"validation-message"],["data-translate","public.commons.okValidation"],[1,"validation-error-container"],["data-translate","public.commons.somethingWrong"]];},template:function(n,a){if(n&1&&(t(0,"div",5),s(1,H,7,2,"div",6),o(),s(2,U,1,0,"ng-template",null,0,N)),n&2){let r=v(3);_(),m("ngIf",!a.processing)("ngIfElse",r);}},dependencies:[P,R,V,d],styles:[`.validation-page[_ngcontent-%COMP%]{height:100vh;display:flex;align-items:center;justify-content:center}.validation-page-container[_ngcontent-%COMP%]{text-align:center}.validation-message[_ngcontent-%COMP%]{margin-bottom:30px}.validation-message[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:0}.back-to-home-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:.5em;font-weight:700}.back-to-home-container[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{border-bottom:2px solid} 2/*# sourceMappingURL=validation-page.component-OLF3EAXO.css.map */`]});}}return e;})();var $=[{path:":uuid",component:k}];var se=(()=>{class e{static{this.ɵfac=function(n){return new(n||e)();};}static{this.ɵmod=f({type:e});}static{this.ɵinj=E({imports:[C,b.forChild($),d]});}}return e;})();export{se as SharedFeatureValidationPageModule};/**i18n:da9b1564e327b39980cfb99ec70a709fbff4da55069c1bbb037069cac2269a95*///# sourceMappingURL=chunk-6JXYNBSP.js.map
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.