(self.webpackChunkngx_admin=self.webpackChunkngx_admin||[]).push([[307],{307:function(t,e,n){"use strict";n.r(e),n.d(e,{DosaModule:function(){return m}});var i=n(10627),o=n(70419),r=n(54655),a=n(35617),c=n(37716),s=n(38583);function d(t,e){1&t&&(c.TgZ(0,"div",2),c.TgZ(1,"h6"),c._uU(2," Archivo Operador "),c.qZA(),c._UZ(3,"br"),c._UZ(4,"br"),c._UZ(5,"embed",3),c.qZA())}function l(t,e){1&t&&(c.TgZ(0,"div",2),c.TgZ(1,"h6"),c._uU(2," Archivo Registro "),c.qZA(),c._UZ(3,"br"),c._UZ(4,"br"),c._UZ(5,"embed",4),c.qZA())}function g(t,e){1&t&&(c.TgZ(0,"div",2),c.TgZ(1,"h6"),c._uU(2," Archivo INAC "),c.qZA(),c._UZ(3,"br"),c._UZ(4,"br"),c._UZ(5,"embed",5),c.qZA())}const u=[{path:"",component:(()=>{class t{constructor(t,e,n){this.clienteservices=t,this.windowService=e,this.router=n,this.documento={ruta:""},this.url="https://intranet.siaca.aero/django/",this.vista={inac:"true",operador:"true",registro:"true"},this.valueWidth=!1}ngOnInit(){this.clienteservices.obtener_documento_inacs(localStorage.getItem("sol_id")).subscribe(t=>{"Failed get"==t?(this.vista.inac="false",window.confirm("Todavia no hay ninguna Solicitud de integracion INAC cargado en el sistema  ")):document.querySelector("#vistaprevia1").setAttribute("src",this.url+"documento_pdf_inac/inac/1/inac-"+localStorage.getItem("sol_id"))}),this.clienteservices.obtener_documento_operador(localStorage.getItem("sol_id")).subscribe(t=>{"Failed get"==t?(this.vista.operador="false",console.log(this.vista),window.confirm("Todavia no hay ninguna A.O.C cargado en el sistema  ")):document.querySelector("#vistaprevia2").setAttribute("src",this.url+"documento_pdf_inac/operador/1/operador-"+localStorage.getItem("sol_id"))}),this.clienteservices.obtener_documento_registro(localStorage.getItem("sol_id")).subscribe(t=>{"Failed get"==t?(this.vista.registro="false",window.confirm("Todavia no hay ninguna Certificado de registro de Aeronave cargado en el sistema  ")):document.querySelector("#vistaprevia3").setAttribute("src",this.url+"documento_pdf_inac/registro/1/registro-"+localStorage.getItem("sol_id"))})}Volver(){this.router.navigate(["sistema/solicitud/solicitud-main"])}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(a.$),c.Y36(i.eJ1),c.Y36(r.F0))},t.\u0275cmp=c.Xpm({type:t,selectors:[["ngx-user"]],features:[c._Bn([a.$])],decls:10,vars:3,consts:[[1,"row"],["class","col-md-6",4,"ngIf"],[1,"col-md-6"],["id","vistaprevia2","type","application/pdf","width","700","height","800"],["id","vistaprevia3","type","application/pdf","width","700","height","800"],["id","vistaprevia1","type","application/pdf","width","700","height","800"]],template:function(t,e){1&t&&(c.TgZ(0,"div",0),c.YNc(1,d,6,0,"div",1),c._UZ(2,"br"),c._UZ(3,"br"),c.YNc(4,l,6,0,"div",1),c._UZ(5,"br"),c._UZ(6,"br"),c.YNc(7,g,6,0,"div",1),c._UZ(8,"br"),c._UZ(9,"br"),c.qZA()),2&t&&(c.xp6(1),c.Q6J("ngIf","true"==e.vista.operador),c.xp6(3),c.Q6J("ngIf","true"==e.vista.registro),c.xp6(3),c.Q6J("ngIf","true"==e.vista.inac))},directives:[s.O5],styles:["input[_ngcontent-%COMP%]::-webkit-inner-spin-button, input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}  .custom-text-rigth{text-align:right}.nb-theme-default   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.nb-theme-dark   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.nb-theme-cosmic   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.nb-theme-corporate   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.bordes[_ngcontent-%COMP%]{position:relative;width:400px;height:200px}.full-name-inputs[_ngcontent-%COMP%], .validation-checkboxes[_ngcontent-%COMP%]{display:flex;margin:0 -.5rem}.full-name-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .validation-checkboxes[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0 .5rem}.checkbox-radio[_ngcontent-%COMP%]{display:flex}.demo-items[_ngcontent-%COMP%]{flex:1 0 33%}.ng-select[_ngcontent-%COMP%]   .ng-select-container[_ngcontent-%COMP%]{min-height:5px}.ng-select.ng-select-single[_ngcontent-%COMP%]   .ng-select-container[_ngcontent-%COMP%]{height:5px}.btn-file[_ngcontent-%COMP%]{position:relative;overflow:hidden}.btn-file[_ngcontent-%COMP%]   input[type=file][_ngcontent-%COMP%]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;outline:none;background:#fff;cursor:inherit;display:block}"]}),t})()}];let p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[r.Bz.forChild(u)],r.Bz]}),t})();var h=n(62823),_=n(3679);let m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[h.O,i.nKr,i.zyh,i.T2N,i.MAY,i.AE1,i.MfT,i.YNG,i.OA,s.ez,_.u5,i.IIj,i.KdK,i.zyh,i.caZ,i.KdK,i.nKr,h.O,p,o.ne]]}),t})()}}]);