import{v as e}from"./element-plus-DSMJnpwa.js";import{p as s}from"./index-mv7arXuk.js";import{B as t,d as n,m as r,V as o,u as i,H as a,L as m,Q as u,P as c,c as l}from"./vue-vendor-DZekML78.js";const d=["src"],p=t({__name:"index",props:{src:s.string.isRequired},setup(s){const t=s,p=n(document.documentElement.clientHeight-94.5+"px;"),h=n(!0),f=l(()=>t.src);return r(()=>{setTimeout(()=>{h.value=!1},300),window.onresize=function(){p.value=document.documentElement.clientHeight-94.5+"px;"}}),(s,t)=>{const n=e;return o((a(),m("div",{style:u("height:"+i(p))},[c("iframe",{src:i(f),frameborder:"no",style:{width:"100%",height:"100%"},scrolling:"auto"},null,8,d)],4)),[[n,i(h)]])}}});export{p as _};
