import{d as o}from"./debounce-Xd493GvO.js";import{u as d}from"./useOnEvent-Cta5e-FG.js";import{ax as f,c as t,r as h,w as r,B as y,z as v,D as s,W as w}from"./vue-BJk78QHK.js";import{_}from"./index-M_JNBppB.js";import"./element-3_pOinej.js";import"./utils-YI6ye1sf.js";import"./threejs-BafxXW5-.js";import"./vxe-Dx3zSILm.js";const g=Object.assign({name:"Decoration25"},{__name:"Decoration25",props:{propValue:{type:Object,default:()=>({})},request:{type:Object,default:()=>({})},element:{type:Object,default:()=>({})},linkage:{type:Object,default:()=>({})}},setup(i){const e=i,l=f(),c=t(()=>e.element.style.width/250),p=t(()=>e.element.style.height/250),m=t(()=>e.element.style.width),u=t(()=>e.element.style.height);return d(t(()=>e.linkage),h(e.element)),r(m,o(n=>{l.state.mode==="edit"&&(e.element.style.height=e.element.style.width)},500)),r(u,o(n=>{l.state.mode==="edit"&&(e.element.style.width=e.element.style.height)},500)),(n,a)=>(v(),y("div",null,[s("div",{class:"pie",style:w({transform:`scale(${c.value},${p.value})`})},a[0]||(a[0]=[s("div",{class:"pies pie1"},null,-1),s("div",{class:"pies pie2"},null,-1),s("div",{class:"pies pie3"},null,-1),s("div",{class:"pie4"},null,-1)]),4)]))}}),z=_(g,[["__scopeId","data-v-d529678c"]]);export{z as default};
