"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./DashboardPlugin-586a15df.cjs");const d=t=>(e.pushScopeId("data-v-9c17d3a0"),t=t(),e.popScopeId(),t),u={class:"tw-flex tw-flex-col tw-h-full"},m=d(()=>e.createElementVNode("div",{class:"bv-metadata tw-text-left tw-p-1 tw-text-sm"},[e.createElementVNode("p",null,[e.createElementVNode("span",null,"Dataset: "),e.createTextVNode(" Dataset Name Here ")]),e.createElementVNode("p",null,[e.createElementVNode("span",null,"Metadata: "),e.createTextVNode("Metadata could go here")])],-1)),_={class:"tw-h-screen tw-flex tw-justify-center"},p=["src"],f={__name:"BiolucidaViewer",props:{imageID:0,mbfLink:{type:String},listening:{tyep:Boolean}},emits:["setTitle","selectWidget"],setup(t,{emit:i}){const l=i,n=t,r=e.inject("emitter");let c=e.ref(n.mbfLink);const o=a.useOpenerStore();return e.onMounted(()=>{l("setTitle","MBF Image Viewer"),o.mbfViewerCount++}),e.onUnmounted(()=>{o.mbfViewerCount--}),r.on("mbf-image-selected",s=>{(o.mbfViewerCount>1&&n.listening||o.mbfViewerCount==1)&&(c.value=s)}),(s,V)=>(e.openBlock(),e.createElementBlock("div",u,[m,e.createElementVNode("div",_,[e.createElementVNode("iframe",{class:"tw-p-1 tw-w-screen",src:e.unref(c)},null,8,p)])]))}},w=a._export_sfc(f,[["__scopeId","data-v-9c17d3a0"]]);exports.default=w;
