PageSourceSearch

https://abem-nacional.com.br/6278.abfd44e7cb077ee3.js

js abem-nacional.com.br collected 2026-10-04 06:09:17 UTC 20,751 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkabem=self.webpackChunkabem||[]).push([[6278],{56278(P,f,d){var C=d(29293).default,y=this&&this.__createBinding||(Object.create?function(a,l,n,o){void 0===o&&(o=n);var t=Object.getOwnPropertyDescriptor(l,n);(!t||("get"in t?!l.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return l[n]}}),Object.defineProperty(a,o,t)}:function(a,l,n,o){void 0===o&&(o=n),a[o]=l[n]}),h=this&&this.__setModuleDefault||(Object.create?function(a,l){Object.defineProperty(a,"default",{enumerable:!0,value:l})}:function(a,l){a.default=l}),u=this&&this.__importStar||function(){var a=function(l){return(a=Object.getOwnPropertyNames||function(n){var o=[];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(o[o.length]=t);return o})(l)};return function(l){if(l&&l.__esModule)return l;var n={};if(null!=l)for(var o=a(l),t=0;t<o.length;t++)"default"!==o[t]&&y(n,l,o[t]);return h(n,l),n}}();Object.defineProperty(f,"__esModule",{value:!0}),f.SettingsComponent=void 0;const m=d(89377),M=d(7901),v=d(27321),x=d(75652),w=d(60177),i=d(84341),s=d(36949),p=d(84635),c=d(13345),e=u(d(49849)),O=u(d(37554)),b=u(d(7901)),S=u(d(39078)),V=u(d(21334)),W=u(d(60177)),_=u(d(84341)),E=u(d(84635)),T=u(d(13345));function I(a,l){if(1&a){const n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"p-inputMask",16),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.cpf,t)||(r.form.cpf=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd()}if(2&a){const n=e.\u0275\u0275nextContext();e.\u0275\u0275twoWayProperty("ngModel",n.form.cpf),e.\u0275\u0275property("unmask",!0)}}function j(a,l){if(1&a){const n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"input",17),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.cpf,t)||(r.form.cpf=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd()}if(2&a){const n=e.\u0275\u0275nextContext();e.\u0275\u0275twoWayProperty("ngModel",n.form.cpf)}}function B(a,l){if(1&a){const n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",18)(1,"div",19)(2,"input",20),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.phone_prefix,t)||(r.form.phone_prefix=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"div",21)(4,"input",22),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.phone,t)||(r.form.phone=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(5,"form-validation",10),e.\u0275\u0275elementEnd()}if(2&a){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",n.form.phone_prefix),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",n.form.phone),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.validations.phone)}}function z(a,l){if(1&a){const n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",5)(1,"p-inputMask",23),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.phone,t)||(r.form.phone=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275listener("focusout",function(){e.\u0275\u0275restoreView(n);const t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(t.form.validate_phone())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(2,"form-validation",10),e.\u0275\u0275elementEnd()}if(2&a){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("ngModel",n.form.phone),e.\u0275\u0275property("autoClear",!1),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.validations.phone)}}function L(a,l){if(1&a){const n=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",5)(2,"p-inputMask",24),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.address.zip_code,t)||(r.form.address.zip_code=t),e.\u0275\u0275resetVie
1w(t)}),e.\u0275\u0275listener("focusout",function(){e.\u0275\u0275restoreView(n);const t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(t.populate_zip())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(3,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"div",5)(5,"input",25),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.address.address,t)||(r.form.address.address=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(6,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"div",5)(8,"input",26),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.address.number,t)||(r.form.address.number=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"div",5)(11,"input",27),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.address.complement,t)||(r.form.address.complement=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"div",5)(13,"input",28),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.address.district,t)||(r.form.address.district=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(14,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",5)(16,"p-select",29),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.address.city_id,t)||(r.form.address.city_id=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(18,"div",5)(19,"p-select",30),e.\u0275\u0275listener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(r.load_cities(t))}),e.\u0275\u0275twoWayListener("ngModelChange",function(t){e.\u0275\u0275restoreView(n);const r=e.\u0275\u0275nextContext();return e.\u0275\u0275twoWayBindingSet(r.form.address.state,t)||(r.form.address.state=t),e.\u0275\u0275resetView(t)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(20,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&a){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",n.form.address.zip_code),e.\u0275\u0275property("autoClear",!1)("unmask",!0),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.address.validations.cep),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",n.form.address.address),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.address.validations.address),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",n.form.address.number),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.address.validations.number),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",n.form.address.complement),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",n.form.address.district),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.address.validations.district),e.\u0275\u0275advance(2),e.\u0275\u0275property("options",n.cities)("filter",!0),e.\u0275\u0275twoWayProperty("ngModel",n.form.address.city_id),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.address.validations.city),e.\u0275\u0275advance(2),e.\u0275\u0275property("options",n.states),e.\u0275\u0275twoWayProperty("ngModel",n.form.address.state),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",n.form.address.validations.state)}}let N=(()=>{class a{api;route;router;modal;address;form;loader;event;sex;cities=[];states;original;constructor(n,o,t,r,g){this.api=n,this.route=o,this.router=t,this.modal=r,this.address=g;let D=new x.Sex;this.sex=D.list,this.loader={loading:!0},this.states=this.address.states}ngOnInit(){this.form=new v.EventUser,this.loader.loading=!0,this.api.recover("user/me").subscribe(o=>{this.form.setup(o),this.load_cities(this.form.address.state),this.original=this.form.name,this.loader.loading=!1}),this.route.params.subscribe(o=>{this.event=o.event})}
1send(){if(this.form.is_valid(!1)){let n=this.form.get_values();this.api.update("user/me",n).subscribe(t=>{if(this.original!=this.form.name){let r=this.modal.open(m.AlertModalComponent);r.componentInstance.warning("Foi solicitada uma altera\xe7\xe3o de nome, ela somente ser\xe1 concluida ap\xf3s aprova\xe7\xe3o da ABEM. Todos os outros dados foram salvos com sucesso."),r.result.then(()=>{this.go_back()},()=>{this.go_back()})}else this.go_back()},t=>{this.modal.open(m.AlertModalComponent).componentInstance.error(t.error.message)})}}go_back(){this.router.navigate(this.event?["evento/",this.event]:["/home"])}populate_zip(){var n=this;return this.address.zip_code(this.form.address.zip_code).then(function(){var o=C(function*(t){n.cities=yield n.address.cities(t.state_id),n.form.address.fulfill(t)});return function(t){return o.apply(this,arguments)}}()),!0}load_cities(n){var o=this;return C(function*(){o.cities=yield o.address.cities(n)})()}static \u0275fac=function(o){return new(o||a)(e.\u0275\u0275directiveInject(O.ApiService),e.\u0275\u0275directiveInject(b.ActivatedRoute),e.\u0275\u0275directiveInject(b.Router),e.\u0275\u0275directiveInject(S.NgbModal),e.\u0275\u0275directiveInject(V.AddressService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-settings"]],decls:23,vars:12,consts:[[1,"page-container"],[1,"main-title"],[1,"row","justify-content-md-center"],[1,"col-md-10"],["role","form"],[1,"form-group"],["type","text","placeholder","Nome","name","name",1,"form-control",3,"ngModelChange","ngModel"],["type","email","placeholder","Enter email","name","email",1,"form-control",3,"ngModelChange","ngModel"],["styleClass","form-control","placeholder","CPF","name","cpf-associado","disabled","true","mask","999.999.999-99",3,"ngModel","unmask","ngModelChange",4,"ngIf"],["type","text","class","form-control","placeholder","Documento","disabled","true","name","cpf-associado",3,"ngModel","ngModelChange",4,"ngIf"],[3,"validation"],["appendTo","body","filter","true","optionLabel","name","optionValue","id","name","sex","placeholder","Sexo","filterBy","name","styleClass","form-control",3,"ngModelChange","options","showClear","ngModel"],["class","row form-group",4,"ngIf"],["class","form-group",4,"ngIf"],[4,"ngIf"],["type","submit",1,"btn","btn-primary",3,"click"],["styleClass","form-control","placeholder","CPF","name","cpf-associado","disabled","true","mask","999.999.999-99",3,"ngModelChange","ngModel","unmask"],["type","text","placeholder","Documento","disabled","true","name","cpf-associado",1,"form-control",3,"ngModelChange","ngModel"],[1,"row","form-group"],[1,"col-md-3"],["type","text","placeholder","DDI","name","prefix",1,"form-control",3,"ngModelChange","ngModel"],[1,"col-md-9"],["type","text","placeholder","Telefone","name","phone",1,"form-control",3,"ngModelChange","ngModel"],["name","phone-associado","mask","(99)99999-9999","styleClass","form-control",3,"ngModelChange","focusout","ngModel","autoClear"],["name","cep","mask","99999-999","styleClass","form-control",3,"ngModelChange","focusout","ngModel","autoClear","unmask"],["type","text","placeholder","Endere\xe7o","name","address",1,"form-control",3,"ngModelChange","ngModel"],["type","text","placeholder","Numero","name","number",1,"form-control",3,"ngModelChange","ngModel"],["type","text","placeholder","Complemento","name","complement",1,"form-control",3,"ngModelChange","ngModel"],["type","text","placeholder","Bairro","name","district",1,"form-control",3,"ngModelChange","ngModel"],["placeholder","Cidade","name","city_id",1,"form-control",3,"ngModelChange","options","filter","ngModel"],["placeholder","Estado","name","state",1,"form-control",3,"ngModelChange","options","ngModel"]],template:function(o,t){1&o&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"h1"),e.\u0275\u0275text(3,"Meus Dados"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"div",2)(5,"div",3)(6,"form",4)(7,"div",5)(8,"input",6),e.\u0275\u0275twoWayListener("ngModelChange",function(g){return e.\u0275\u0275twoWayBindingSet(t.form.name,g)||(t.form.name=g),g}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"div",5)(10,"input",7),e.\u0275\u0275twoWayListener("ngModelChange",function(g){return e.\u0275\u0275twoWayBindingSet(t.form.email,g)||(t.form.email=g),g}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"div",5),e.\u0275\u0275template(12,I,1,2,"p-inputMask",8)(13,j,1,1,"input",9),e.\u0275\u0275element(14,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"div",5)(16,"p-select",11),e.\u0275\u0275twoWayListener("ngModelChange",function(g){return e.\u0275\u0275twoWayBindingSet(t.form.sex,g)||(t.form.sex=g),g}),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"form-validation",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,B,6,3,"div",12)(19,z,3,3,"div",13)(20,L,21,18,"ng-container",14),e.\u0275\u0275elementStart(21,"button",15),e.\u0275\u0275listener("click",function(){return t.send()}),e.\u0275\u0275text(22," Atualizar cadastro "),e.\u0275\u0275elementEnd()()()()()),2&o&&(e.\u0275\u0275advance(8),e.\u0275\u0275twoWayProperty("ngModel",t.form.name),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",t.form.email),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!t.form.estrangeiro),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",t.form.estrangeiro),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",t.form.validations.cpf),e.\u0275\u0275advance(2),e.\u0275\u0275property("options",t.sex)("showClear",!0),e.\u0275\u0275twoWayProperty("ngModel",t.form.sex),e.\u0275\u0275advance(),e.\u0275\u0275property("validation",t.form.validations.sex),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",t.form.estrangeiro),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!t.form.estrangeiro),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!t.form.estrangeiro))},dependencies:[w.CommonModule,W.NgIf,M.RouterModule,i.FormsModule,_.\u0275NgNoValidate,_.DefaultValueAccessor,_.NgControlStatus,_.NgControlStatusGroup,_.NgModel,_.NgForm,s.ValidationComponent,p.InputMaskModule,E.InputMask,c.SelectModule,T.Select],styles:["[_nghost-%COMP%]{display:block}  .input-underline{background:0 0;border:none;box-shadow:none;border-bottom:2px solid;border-color:var(--primary);color:var(--primary);border-radius:0}
1  .input-underline:focus,   .input-underline:enabled:hover,   .input-underline:enabled:focus{border-bottom:2px solid;border-color:var(--primary);box-shadow:none;color:var(--primary);background-color:transparent}  input::-webkit-input-placeholder{color:var(--primary)!important}  input:-moz-placeholder{color:var(--primary)!important}  input::-moz-placeholder{color:var(--primary)!important}  input:-ms-input-placeholder{color:var(--primary)!important}.page-container[_ngcontent-%COMP%]{overflow:auto;text-align:center}.page-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-top:3em;margin-bottom:3em}.page-container[_ngcontent-%COMP%]   .col-lg-4[_ngcontent-%COMP%]{padding:0}.page-container[_ngcontent-%COMP%]   .input-lg[_ngcontent-%COMP%]{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:0}.page-container[_ngcontent-%COMP%]   .input-underline[_ngcontent-%COMP%]{background:0 0;border:none;box-shadow:none;border-bottom:2px solid #8cbf26;color:#8cbf26;border-radius:0}.page-container[_ngcontent-%COMP%]   .input-underline[_ngcontent-%COMP%]:focus{border-bottom:2px solid #8cbf26;box-shadow:none}.page-container[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff}.page-container[_ngcontent-%COMP%]   .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:#fffc;background:#1919190d;border:2px solid rgba(255,255,255,.8);font-size:18px;line-height:40px;padding:0 25px}.page-container[_ngcontent-%COMP%]   .rounded-btn[_ngcontent-%COMP%]:hover, .page-container[_ngcontent-%COMP%]   .rounded-btn[_ngcontent-%COMP%]:focus, .page-container[_ngcontent-%COMP%]   .rounded-btn[_ngcontent-%COMP%]:active, .page-container[_ngcontent-%COMP%]   .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid rgb(255,255,255);outline:none}.page-container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}.page-container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:#8cbf26}.page-container[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{padding:8px 0}.page-container[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#8cbf26!important}.page-container[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-moz-placeholder{color:#8cbf26!important}.page-container[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#8cbf26!important}.page-container[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#8cbf26!important}.page-container[_ngcontent-%COMP%]   .form-content[_ngcontent-%COMP%]{padding:40px 0}.page-container[_ngcontent-%COMP%]   .info-text[_ngcontent-%COMP%]{padding-top:30px;margin-top:30px;color:#6e6e6e;text-align:left;border-top:1px solid #6e6e6e}.page-container[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%]{font-size:16px}.page-container[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:16px;font-weight:700;text-decoration:underline}.page-container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-left:0;margin-right:0}"]})}return a})();f.SettingsComponent=N},36949(P,f,d){var C=this&&this.__createBinding||(Object.create?function(i,s,p,c){void 0===c&&(c=p);var e=Object.getOwnPropertyDescriptor(s,p);(!e||("get"in e?!s.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return s[p]}}),Object.defineProperty(i,c,e)}:function(i,s,p,c){void 0===c&&(c=p),i[c]=s[p]}),y=this&&this.__setModuleDefault||(Object.create?function(i,s){Object.defineProperty(i,"default",{enumerable:!0,value:s})}:function(i,s){i.default=s}),h=this&&this.__importStar||function(){var i=function(s){return(i=Object.getOwnPropertyNames||function(p){var c=[];for(var e in p)Object.prototype.hasOwnProperty.call(p,e)&&(c[c.length]=e);return c})(s)};return function(s){if(s&&s.__esModule)return s;var p={};if(null!=s)for(var c=i(s),e=0;e<c.length;e++)"default"!==c[e]&&C(p,s,c[e]);return y(p,s),p}}();Object.defineProperty(f,"__esModule",{value:!0}),f.ValidationComponent=void 0;const u=d(60177),m=h(d(49849)),M=h(d(60177));
1function v(i,s){if(1&i&&(m.\u0275\u0275elementStart(0,"li",2),m.\u0275\u0275text(1),m.\u0275\u0275elementEnd()),2&i){const p=s.$implicit;m.\u0275\u0275advance(),m.\u0275\u0275textInterpolate1(" ",p," ")}}function x(i,s){if(1&i&&(m.\u0275\u0275elementStart(0,"ul"),m.\u0275\u0275template(1,v,2,1,"li",1),m.\u0275\u0275elementEnd()),2&i){const p=m.\u0275\u0275nextContext();m.\u0275\u0275advance(),m.\u0275\u0275property("ngForOf",p.validation.messages())}}f.ValidationComponent=(()=>{class i{validation;constructor(){}static \u0275fac=function(c){return new(c||i)};static \u0275cmp=m.\u0275\u0275defineComponent({type:i,selectors:[["form-validation"]],inputs:{validation:"validation"},decls:1,vars:1,consts:[[4,"ngIf"],["class","error",4,"ngFor","ngForOf"],[1,"error"]],template:function(c,e){1&c&&m.\u0275\u0275template(0,x,2,1,"ul",0),2&c&&m.\u0275\u0275property("ngIf",e.validation.failed)},dependencies:[u.CommonModule,M.NgForOf,M.NgIf],styles:[".error[_ngcontent-%COMP%]{border:1px red solid;color:red}"]})}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.