import{aS as s,W as i}from"./index.17037962789732.js";import"./index.170379627897337.js";import"./index.170379627897315.js";import"./index.1703796278973315.js";import{J as p}from"./vue-json-viewer.1703796278973.js";import{_ as f}from"./index.vue_vue_type_script_setup_true_lang.17037962789736.js";import{d,o as a,c as t,a as y,u as _}from"./vue.1703796278973.js";const w=d({__name:"ValueDetail",props:{type:{type:String,default:""},value:{type:[Object,String],default:()=>{}}},emits:["close"],setup(e,{emit:u}){const l=()=>{u("close")};return(k,v)=>{const c=s,r=i;return a(),t(r,{maskClosable:!1,width:"600px",visible:!0,title:"详情",okText:"确定",cancelText:"取消",onOk:l,onCancel:l},{default:y(()=>{var o,n,m;return[[".jpg",".png"].includes(e.type)?(a(),t(c,{key:0,src:(o=e.value)==null?void 0:o.formatValue},null,8,["src"])):[".flv",".m3u8",".mp4"].includes(e.type)?(a(),t(f,{key:1,url:(n=e.value)==null?void 0:n.formatValue,autoplay:""},null,8,["url"])):(a(),t(_(p),{key:2,"expand-depth":5,value:(m=e.value)==null?void 0:m.formatValue},null,8,["value"]))]}),_:1})}}});export{w as _};
