import{r as n,z as l,t as u,O as d,G as m,f as e,o as p,c as h,k as _,I as g}from"./index.4144b0df.js";const f=["src"],w={__name:"index",props:{src:{type:String,required:!0}},setup(s){const r=s,t=n(document.documentElement.clientHeight-94.5+"px;"),o=n(!0),c=l(()=>r.src);return u(()=>{setTimeout(()=>{o.value=!1},300),window.onresize=function(){t.value=document.documentElement.clientHeight-94.5+"px;"}}),(i,v)=>{const a=d("loading");return m((p(),h("div",{style:g("height:"+e(t))},[_("iframe",{src:e(c),frameborder:"no",style:{width:"100%",height:"100%"},scrolling:"auto"},null,8,f)],4)),[[a,e(o)]])}}};export{w as _};