(window.webpackJsonp=window.webpackJsonp||[]).push([[352,168],{2715:function(t,e,n){"use strict";n.r(e);var o=n(225),d=n(113),l=(n(69),{mixins:[d.a],layout:"PatienDashboardLayout",data:function(){return{detailsID:"",pdfURL:"",isLoading:!1}},created:function(){var t=this.$route.params;localStorage.setItem("token",null==t?void 0:t.token),this.detailsID=t.detailsID,this.getPDFLink()},methods:{getPDFLink:function(){var t=this;this.isLoading=!0,o.a.getEMRDetails(this.detailsID).then((function(e){200==e.statusCd&&(t.pdfURL=e.s3FilePath),t.isLoading=!1}))}}}),r=n(10),component=Object(r.a)(l,(function(){var t=this,e=t._self._c;return e("div",[e("PDFViewer",{attrs:{pdfLink:t.pdfURL}}),t._v(" "),e("b-loading",{model:{value:t.isLoading,callback:function(e){t.isLoading=e},expression:"isLoading"}})],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{PDFViewer:n(799).default})},798:function(t,e,n){var content=n(801);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(26).default)("f2da05f2",content,!0,{sourceMap:!1})},799:function(t,e,n){"use strict";n.r(e);var o={props:{pdfLink:""}},d=(n(800),n(10)),component=Object(d.a)(o,(function(){var t=this._self._c;return t("div",{staticClass:"pdf-wrapper"},[t("iframe",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],attrs:{"data-src":this.pdfLink,width:"100%",height:"600"}})])}),[],!1,null,"6d4eeea0",null);e.default=component.exports},800:function(t,e,n){"use strict";n(798)},801:function(t,e,n){var o=n(25)((function(i){return i[1]}));o.push([t.i,".pdf-wrapper[data-v-6d4eeea0]{height:0;overflow:hidden;padding-bottom:141.42%;position:relative}.pdf-wrapper iframe[data-v-6d4eeea0]{height:100%;left:0;position:absolute;top:0;width:100%}",""]),o.locals={},t.exports=o}}]);