PageSourceSearch

https://id.exame.com/592.3b3584d7d69bf7cdf457.js

js exame.com collected 2026-09-24 07:19:16 UTC 4,803 bytes, 1 lines download raw bytes

1(self.webpackChunkexame_id=self.webpackChunkexame_id||[]).push([[592],{6484:(s,t,i)=>{"use strict";i.d(t,{C:()=>u});var e=i(8619),n=i(1116),o=i(1462);function r(s,t){if(1&s&&(e.TgZ(0,"span",7),e._uU(1),e.qZA()),2&s){const s=e.oxw();let t;e.xp6(1),e.AsE(" ",!s.errorMessage&&null!=s.password&&s.password.invalid&&(null!=s.password&&s.password.dirty||null!=s.password&&s.password.touched)&&0===(null==s.password?null:s.password.value.length)?"Senha \xe9 obrigat\xf3ria":""," ",null!==(t=s.errorMessage)&&void 0!==t?t:s.errorMessage," ")}}const l=function(s){return{"invalid-feedback":s}};function a(s,t){if(1&s&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&s){const s=e.oxw();e.Q6J("ngClass",e.VKq(2,l,(null==s.password?null:s.password.invalid)&&((null==s.password?null:s.password.dirty)||(null==s.password?null:s.password.touched)))),e.xp6(1),e.hij(" ",s.hint," ")}}function p(s,t){if(1&s&&(e.TgZ(0,"span",9),e._uU(1),e.qZA()),2&s){const s=e.oxw();e.Q6J("ngClass",e.VKq(2,l,(null==s.password?null:s.password.invalid)&&((null==s.password?null:s.password.dirty)||(null==s.password?null:s.password.touched)))),e.xp6(1),e.hij(" ","mai\xfasculas, min\xfasculas, n\xfameros e !@#$%&*"," ")}}const d=function(s){return{"invalid-input":s}};let u=(()=>{class s{constructor(){this.errorMessage="",this.hint="",this.passwordIsVisible=!1,this.placeholder="Senha",this.controlName="password",this.id="",this.autocomplete="off",this.textType="password",this.visibilityIcon="",this.imgTitleText="",this.defaultHint="M\xednimo de 8 caracteres, composta de "}get password(){var s;return null===(s=this.parentForm)||void 0===s?void 0:s.get(this.controlName)}ngOnInit(){this.setVisibilityIcon()}onBlur(){this.toggleErrorMessage()}onKeyUp(){this.toggleHint(),this.toggleErrorMessage()}onFocus(){this.toggleHint()}toggleErrorMessage(){this.errorMessage="confirm-password"===this.textType&&this.isInputInvalid(this.controlName)?"Ops, essas senhas n\xe3o coincidem.":""}togglePasswordVisibility(){this.passwordIsVisible=!this.passwordIsVisible,this.setVisibilityIcon()}setVisibilityIcon(){this.imgTitleText=this.passwordIsVisible?"Esconder a senha":"Mostrar a senha",this.visibilityIcon=this.passwordIsVisible?"assets/visibility_on.svg":"assets/visibility_off.svg"}toggleHint(){var s,t;const i=null===(t=null===(s=this.parentForm.controls[this.controlName])||void 0===s?void 0:s.value)||void 0===t?void 0:t.length;this.isInputInvalid(this.controlName)&&i||!i?this.setHint(this.defaultHint):this.setHint("")}setHint(s){"password"===this.textType&&(this.hint=s)}isInputInvalid(s){var t;return null===(t=this.parentForm.controls[s])||void 0===t?void 0:t.invalid}}return s.\u0275fac=function(t){return new(t||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-password-input"]],inputs:{errorMessage:"errorMessage",hint:"hint",parentForm:"parentForm",passwordIsVisible:"passwordIsVisible",placeholder:"placeholder",controlName:"controlName",id:"id",autocomplete:"autocomplete",textType:"textType"},decls:8,vars:14,consts:[[1,"input-group","align-self-stretch",3,"ngClass","formGroup"],["placeholder","\xa0","required","",1,"form-input",3,"id","formControlName","type","autocomplete","blur","keyup","focus"],[1,"placeholder"],[1,"input-icon",3,"src","title","click"],["class","hint invalid-feedback","id","password-empty",4,"ngIf"],["id","password-hint","class","hint",3,"ngClass",4,"ngIf"],["id","password-hint-line-two","class","hint",3,"ngClass",4,"ngIf"],["id","password-empty",1,"hint","invalid-feedback"],["id","password-hint",1,"hint",3,"ngClass"],["id","password-hint-line-two",1,"hint",3,"ngClass"]],template:function(s,t){1&s&&(e.TgZ(0,"div",0),e.TgZ(1,"input",1),e.NdJ("blur",function(){return t.onBlur()})("keyup",function(){return t.onKeyUp()})("focus",function(){return t.onFocus()}),e.qZA(),e.TgZ(2,"span",2),e._uU(3),e.qZA(),e.TgZ(4,"img",3),e.NdJ("click",function(){return t.togglePasswordVisibility()}),e.qZA(),e.YNc(5,r,2,2,"span",4),e.YNc(6,a,2,4,"span",5),e.YNc(7,p,2,4,"span",6),e.qZA()),2&s&&(e.Q6J("ngClass",e.VKq(12,d,(null==t.password?null:t.password.invalid)&&((null==t.password?null:t.password.dirty)||(null==t.password?null:t.password.touched))
1))("formGroup",t.parentForm),e.xp6(1),e.Q6J("id",t.id)("formControlName",t.controlName)("type",t.passwordIsVisible?"text":"password")("autocomplete",t.autocomplete),e.xp6(2),e.Oqu(t.placeholder),e.xp6(1),e.Q6J("src",t.visibilityIcon,e.LSH)("title",t.imgTitleText),e.xp6(1),e.Q6J("ngIf",t.errorMessage.length||!t.hint.length),e.xp6(1),e.Q6J("ngIf",t.hint.length&&!t.errorMessage.length),e.xp6(1),e.Q6J("ngIf",t.hint.length&&!t.errorMessage.length))},directives:[n.mk,o.JL,o.sg,o.Fj,o.Q7,o.JJ,o.u,n.O5],styles:["[_nghost-%COMP%]{width:100%}input[type=password][_ngcontent-%COMP%]::-ms-clear, input[type=password][_ngcontent-%COMP%]::-ms-reveal{display:none}"]}),s})()}}]);

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.