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