import{i as d,c as _}from"./element-plus.02c000b8.js";import{u,Q as e,d as l,e as g}from"./index.7e71cca7.js";import{d as f,e as h,o as y,O as I,P as r,L as v,u as i,a as p,X as S,b7 as b,b6 as w}from"./@vue.ad3a2c51.js";import"./@vueuse.c2fd8b33.js";import"./@element-plus.4b8482d8.js";import"./lodash-es.61686ec6.js";import"./dayjs.c8b8967e.js";import"./axios.136fb7b6.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./memoize-one.4ee5c96d.js";import"./lodash.8effadcb.js";import"./vue-router.93f65f3b.js";import"./pinia.f0255b9b.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3cb93b94.js";import"./color.0adfd97a.js";import"./clone.4b381e37.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./nprogress.09754c1e.js";import"./vue-clipboard3.c5f2d3ed.js";import"./clipboard.42524a75.js";import"./echarts.234b3572.js";import"./zrender.8ee1a698.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.0d5173e3.js";import"./vue3-eventbus.c7305b83.js";import"./mitt.d8e3ba72.js";const N=t=>(b("data-v-875347cf"),t=t(),w(),t),x=N(()=>p("div",{class:"image-slot"},null,-1)),P={class:"image-slot"},B=f({__name:"decoration-img",props:{width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},radius:{type:[String,Number],default:0},...d},setup(t){const o=t,{getImageUrl:s}=u(),m=h(()=>({width:e(o.width),height:e(o.height),borderRadius:e(o.radius)}));return(a,k)=>{const c=l,n=_;return y(),I(n,v({style:i(m)},o,{src:i(s)(a.src),fit:"cover"}),{placeholder:r(()=>[x]),error:r(()=>[p("div",P,[S(c,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const ct=g(B,[["__scopeId","data-v-875347cf"]]);export{ct as default};