1"use strict";(self.webpackChunkabem=self.webpackChunkabem||[]).push([[3842],{23842(O,s,r){var o=this&&this.__createBinding||(Object.create?function(l,i,a,n){void 0===n&&(n=a);var t=Object.getOwnPropertyDescriptor(i,a);(!t||("get"in t?!i.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(l,n,t)}:function(l,i,a,n){void 0===n&&(n=a),l[n]=i[a]}),h=this&&this.__setModuleDefault||(Object.create?function(l,i){Object.defineProperty(l,"default",{enumerable:!0,value:i})}:function(l,i){l.default=i}),c=this&&this.__importStar||function(){var l=function(i){return(l=Object.getOwnPropertyNames||function(a){var n=[];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(n[n.length]=t);return n})(i)};return function(i){if(i&&i.__esModule)return i;var a={};if(null!=i)for(var n=l(i),t=0;t<n.length;t++)"default"!==n[t]&&o(a,i,n[t]);return h(a,i),a}}();Object.defineProperty(s,"__esModule",{value:!0}),s.CertificatesComponent=void 0;const p=r(89377),E=r(75809),f=r(60177),g=r(84341),d=r(13345),e=c(r(49849)),S=c(r(37554)),y=c(r(39078)),u=c(r(84341)),A=c(r(13345));s.CertificatesComponent=(()=>{class l{api;modal;hash;type;types;message;constructor(a,n){this.api=a,this.modal=n;let t=new E.Certificates;this.types=t.list}ngOnInit(){this.hash=""}validate(){this.api.search("validate-hash",{hash:this.hash,types:this.type}).subscribe(a=>{this.modal.open(p.AlertModalComponent).componentInstance.success(a.message)},a=>{this.modal.open(p.AlertModalComponent).componentInstance.error(a.error.message)})}static \u0275fac=function(n){return new(n||l)(e.\u0275\u0275directiveInject(S.ApiService),e.\u0275\u0275directiveInject(y.NgbModal))};static \u0275cmp=e.\u0275\u0275defineComponent({type:l,selectors:[["app-certificates"]],decls:24,vars:4,consts:[[1,"content"],[1,"center-all"],["src","assets/images/logo.png","width","210px","alt","Abem",1,"user-avatar"],["role","form"],[1,"form-content"],[1,"form-group"],["appendTo","body","optionLabel","title","optionValue","id","name","type","placeholder","Tipo de certificado","styleClass","form-control input-lg",3,"ngModelChange","options","showClear","ngModel"],["type","text","name","hash","placeholder","C\xf3digo de valida\xe7\xe3o",1,"form-control","input-underline","input-lg",3,"ngModelChange","ngModel"],[1,"btn","btn-primary",3,"click"]],template:function(n,t){1&n&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275element(2,"img",2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"form",3)(4,"div",4)(5,"div",5)(6,"p-select",6),e.\u0275\u0275twoWayListener("ngModelChange",function(m){return e.\u0275\u0275twoWayBindingSet(t.type,m)||(t.type=m),m}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"div",5)(8,"input",7),e.\u0275\u0275twoWayListener("ngModelChange",function(m){return e.\u0275\u0275twoWayBindingSet(t.hash,m)||(t.hash=m),m}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(9,"button",8),e.\u0275\u0275listener("click",function(){return t.validate()}),e.\u0275\u0275text(10," Validar certificado "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"ul")(12,"li"),e.\u0275\u0275text(13," Selecione a op\xe7\xe3o Congressos para validar:"),e.\u0275\u0275element(14,"br"),e.\u0275\u0275text(15," Certificados de participa\xe7\xe3o em congressos, participa\xe7\xe3o em atividades e de palestrante em atividades. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"li"),e.\u0275\u0275text(17," Selecione Trabalhos Acad\xeamicos para validar:"),e.\u0275\u0275element(18,"br"),e.\u0275\u0275text(19," Certificados de trabalhos apresentados, trabalhos premiados e avalia\xe7\xe3o de trabalhos. "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"li"),e.\u0275\u0275text(21," Selecione Teste de Progresso para validar:"),e.\u0275\u0275element(22,"br"),e.\u0275\u0275text(23," Certificados de participa\xe7\xe3o em provas do Teste de Progresso Abem. "),e.\u0275\u0275elementEnd()()()),2&n&&(e.\u0275\u0275advance(6),e.\u0275\u0275property("options",t.types)("showClear",!0),e.\u0275\u0275twoWayProperty("ngModel",t.type),e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("ngModel",t.hash))},dependencies:[f.CommonModule,g.FormsModule,u.\u0275NgNoValidate,u.DefaultValueAccessor,u.NgC
1ontrolStatus,u.NgControlStatusGroup,u.NgModel,u.NgForm,d.SelectModule,A.Select],styles:[".center-all[_ngcontent-%COMP%]{justify-content:center;text-align:center}.content[_ngcontent-%COMP%]{display:flex;width:100%;max-width:650px;flex-direction:column;margin:2em auto auto;row-gap:1em}li[_ngcontent-%COMP%]{margin-bottom:1em}.btn-primary[_ngcontent-%COMP%]{color:var(--secondary)}"]})}return l})()},75809(O,s,r){Object.defineProperty(s,"__esModule",{value:!0}),s.InputTypes=s.Certificates=s.RegimeJuridico=s.SpeakerTypes=s.EventDiscountTypes=s.Logs=void 0;const o=r(14765);s.Logs=class h{ACCESS=1;ERROR=2;TASK=3;list=[new o.ModelItem(this.ACCESS,"Acesso"),new o.ModelItem(this.ERROR,"Erro"),new o.ModelItem(this.TASK,"Tarefa")]},s.EventDiscountTypes=class c{REGIONAL=1;NACIONAL=2;list=[new o.ModelItem(this.REGIONAL,"Regional"),new o.ModelItem(this.NACIONAL,"Nacional")]},s.SpeakerTypes=class p{MINISTRANTE=1;COORDENADOR=2;PALESTRANTE=3;CONFERENCISTA=4;list=[new o.ModelItem(this.MINISTRANTE,"Ministrante"),new o.ModelItem(this.COORDENADOR,"Coordenador"),new o.ModelItem(this.PALESTRANTE,"Palestrante"),new o.ModelItem(this.CONFERENCISTA,"Conferencista")]},s.RegimeJuridico=class E{list=[new o.ModelItem(0,"P\xfablica Federal"),new o.ModelItem(0,"P\xfablica Estadual"),new o.ModelItem(0,"P\xfablica Municipal"),new o.ModelItem(0,"Privada sem fins lucrativos"),new o.ModelItem(0,"Privada com fins lucrativos")]},s.Certificates=class f{AVALIADOR=1;EVENTO=2;SUB_EVENTO=3;PROGRESSO_LEGACY=4;TRABALHO=5;PALESTRANTE=6;PERFIL=7;PROGRESSO_ESCOLA=8;PROGRESSO_PROVA=9;list=[new o.ModelItem([this.EVENTO,this.SUB_EVENTO,this.PERFIL,this.PALESTRANTE],"Congressos"),new o.ModelItem([this.TRABALHO,this.AVALIADOR],"Trabalhos Acad\xeamicos"),new o.ModelItem([this.PROGRESSO_LEGACY,this.PROGRESSO_PROVA,this.PROGRESSO_ESCOLA],"Teste de Progresso")]},s.InputTypes=class g{TEXT=1;SELECT=2;list=[new o.ModelItem(this.TEXT,"Texto"),new o.ModelItem(this.SELECT,"Select")]}}}]);
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.