import{jsxs as e,Fragment as i,jsx as o}from"react/jsx-runtime";import{P as r,a as t}from"./index-CQXsL1YZ.js";import"@bbodek/utils";import"react";import{u as s,P as a,a as l,b as p}from"./PreviewToolbar-DqsGLdKD.js";import"react-dom";import"@bbodek/hooks";import"overlay-kit";const m=({id:m,file:n,badge:d,isLoading:c,closeOption:b})=>{const{models:{viewerRef:f,viewerSize:v,titleId:w,previewOptions:O},operations:{setPreviewOptions:P}}=s();return e(i,{children:[o(a,{badge:d,className:r.DESKTOP.HEADER,closeOption:b,fileName:n.name,titleId:w}),o(l,{"aria-labelledby":w,className:r.DESKTOP.VIEWER_WRAPPER,id:m,ref:f,children:o(t,{file:n,isLoading:c,previewOptions:O,viewerSize:v})}),o(p,{file:n,previewOptions:O,setPreviewOptions:P})]})};export{m as default};
//# sourceMappingURL=PreviewInlineViewer-Cbm5I8IX.js.map
