function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{RYw0:function(e,r,t){"use strict";t.r(r),t.d(r,"ReportModule",(function(){return $}));var n=t("ofXK"),a=t("1kSV"),o=t("3Pt+"),i=t("I5S5"),s=t("eO1q"),c=t("jIHw"),l=t("b1Ni"),b=t("QIUk"),u=t("SSqW"),f=t("vKg+"),p=t("0LTx"),d=t("dts7"),h=t("FMpt"),m=t("arFO"),v=t("Ji6n"),w=t("Y+ZO"),y=t("/RsI"),k=t("rEr+"),C=t("NCSE"),g=t("J7/z"),S=t("Ks7X"),I=t("1SLH"),J=t("Gxio"),L=t("Wq6t"),R=t("dPl2"),_=t("+la4"),z=t("Nf9I"),P=t("B16f"),j=t("zFJ7"),x=t("7kUa"),K=t("rLzU"),N=t("xlun"),O=t("fk4S"),T=t("LuMj"),F=t("7CaW"),M=t("RTT/"),U=t("7zfz"),q=t("JD6B"),D=t("lVkt"),E=t("KcHJ"),H=t("tyNb"),W=t("fXoL"),X=t("xxKr"),B=t("jhN1");function Q(e,r){if(1&e&&(W.Rb(0,"div"),W.Mb(1,"iframe",1),W.Qb()),2&e){var t=W.gc();W.yb(1),W.lc("src",t.urlSafe,W.Dc)}}var V,Y,G,Z=[{path:"report/:id",component:(V=function(){function e(r,t,n,a){_classCallCheck(this,e),this.router=r,this.route=t,this.reportService=n,this.sanitizer=a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.route.params.subscribe((function(r){console.log("Parametros",r),e.reportService.getID(r.id).subscribe((function(r){console.log(r),e.urlSafe=e.sanitizer.bypassSecurityTrustResourceUrl(r.url),e.report=r}))}))}}]),e}(),V.\u0275fac=function(e){return new(e||V)(W.Lb(H.d),W.Lb(H.a),W.Lb(X.a),W.Lb(B.b))},V.\u0275cmp=W.Fb({type:V,selectors:[["app-report"]],decls:1,vars:1,consts:[[4,"ngIf"],["frameborder","0","allowfullscreen","",2,"border","0","width","100%","height","800px",3,"src"]],template:function(e,r){1&e&&W.Kc(0,Q,2,1,"div",0),2&e&&W.lc("ngIf",r.report&&r.urlSafe)},directives:[n.k],styles:[""]}),V),data:{module:"Reportes",title:"Reportes",breadcrumb:"Reportes"}}],A=((G=function e(){_classCallCheck(this,e)}).\u0275mod=W.Jb({type:G}),G.\u0275inj=W.Ib({factory:function(e){return new(e||G)},imports:[[H.g.forChild(Z)],H.g]}),G),$=((Y=function e(){_classCallCheck(this,e)}).\u0275mod=W.Jb({type:Y}),Y.\u0275inj=W.Ib({factory:function(e){return new(e||Y)},providers:[g.a,U.b],imports:[[a.f,n.b,A,o.e,o.m,i.a,c.c,F.a,S.b,l.a,b.b,s.b,u.a,f.a,C.a,p.a,d.b,h.a,m.b,v.a,w.b,y.b,k.f,I.b,T.a,J.b,L.a,R.c,_.a,z.b,P.a,j.b,x.b,K.a,N.b,O.a,M.b,q.a,D.b,E.b]]}),Y)}}]);