import{t as c}from"./debounce-Xd493GvO.js";import{_ as i}from"./index-M_JNBppB.js";import{r as m,c as p,w as d,B as s,z as o,H as h}from"./vue-BJk78QHK.js";import"./element-3_pOinej.js";import"./utils-YI6ye1sf.js";import"./threejs-BafxXW5-.js";import"./vxe-Dx3zSILm.js";const u="/canvas/xingkong/index.html",f=Object.assign({name:"Canvas9"},{__name:"Canvas9",props:{element:{type:Object,default:()=>({})},editorpage:{type:Boolean,default:!1}},setup(t){const a=t,r=m(0),l=p(()=>{const e=a.element.style.width,n=a.element.style.height;return{width:e,height:n}});return d(l,c(e=>{r.value++},1e3),{deep:!0}),(e,n)=>(o(),s("div",null,[(o(),s("iframe",{key:r.value,width:"100%",scrolling:"no",allowtransparency:"true",style:{"border-width":"0","background-color":"transparent"},class:h({myFrame:t.editorpage}),height:"100%",title:"myFrame",src:u},null,2))]))}}),x=i(f,[["__scopeId","data-v-0b10998a"]]);export{x as default};
