{ "version": 3, "sources": ["src/app/directives/prevent-reverse-tabnabbing.directive.ts"], "sourcesContent": ["import { Directive, ElementRef, HostListener, Renderer2 } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'a[target=_blank]',\r\n})\r\nexport class SafeBlankDirective {\r\n constructor(private el: ElementRef, private renderer: Renderer2) {\r\n this.renderer.setAttribute(\r\n this.el.nativeElement,\r\n 'rel',\r\n 'noopener noreferrer'\r\n );\r\n }\r\n}\r\n"], "mappings": ";;;;;;;;AAKM,IAAO,sBAAP,MAAO,oBAAkB;EAC7B,YAAoB,IAAwB,UAAmB;AAA3C,SAAA,KAAA;AAAwB,SAAA,WAAA;AAC1C,SAAK,SAAS,aACZ,KAAK,GAAG,eACR,OACA,qBAAqB;EAEzB;;;mBAPW,qBAAkB,4BAAA,UAAA,GAAA,4BAAA,SAAA,CAAA;AAAA;oFAAlB,qBAAkB,WAAA,CAAA,CAAA,KAAA,UAAA,QAAA,CAAA,EAAA,CAAA;AAAzB,IAAO,qBAAP;", "names": [] }