import{d as l,f as d,r as t,l as s,aw as m,c as p,o as v,w as h,i,ac as x,aB as w,v as k}from"./index-9PRMimni.js";const B={class:"frame"},R=["src"],g=l({__name:"index",setup(S){const o=d(),a=t(!1),c=t(null),r=t("");s(o.meta)?.frameSrc&&(r.value=s(o.meta)?.frameSrc);function f(){a.value=!1}function _(){x(()=>{const e=s(c);if(!e)return;const n=e;n.attachEvent?n.attachEvent("onload",()=>{f()}):e.onload=()=>{f()}})}return m(()=>{a.value=!0,_()}),(e,n)=>{const u=w;return v(),p(u,{show:a.value},{default:h(()=>[i("div",B,[i("iframe",{src:r.value,class:"frame-iframe",ref_key:"frameRef",ref:c},null,8,R)])]),_:1},8,["show"])}}}),E=k(g,[["__scopeId","data-v-dfddaf5b"]]);export{E as default};
