"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[125],{39125:(e,t,l)=>{l.r(t),l.d(t,{default:()=>i});var a=l(43001),s=l(3827),n=l.n(s);function r(e){let{displaySets:t}=e;const[l,s]=(0,a.useState)(null);if(t&&t.length>1)throw new Error("OHIFCornerstonePdfViewport: only one display set is supported for dicom pdf right now");const{pdfUrl:n}=t[0];return(0,a.useEffect)((()=>{(async()=>{s(await n)})()}),[n]),a.createElement("div",{className:"bg-primary-black h-full w-full text-white"},a.createElement("object",{data:l,type:"application/pdf",className:"h-full w-full"},a.createElement("div",null,"No online PDF viewer installed")))}r.propTypes={displaySets:n().arrayOf(n().object).isRequired};const i=r}}]);
//# sourceMappingURL=125.bundle.629517ff1af1a958ddc9.js.map