import{d as c,o as f,c as l,b as i,w as _,e as a,f as d,h as m,i as u,A as p,x as h,_ as v}from"./index-CkzfmDGw.js";const w={class:"iframe-container"},x=["src"],k=c({__name:"iframe",setup(B){const o=h(),s=a(null),e=a(!0),t=p(()=>o.meta.frameSrc||"");function n(){e.value=!1}return f(()=>{setTimeout(()=>{e.value=!1},5e3)}),(C,R)=>{const r=d("n-spin");return m(),l("div",w,[i(r,{show:e.value,description:"加载中..."},{default:_(()=>[u("iframe",{ref_key:"iframeRef",ref:s,src:t.value,class:"iframe-content",frameborder:"0",allowfullscreen:"",onLoad:n},null,40,x)]),_:1},8,["show"])])}}}),L=v(k,[["__scopeId","data-v-e5d4d053"]]);export{L as default};
