import{d as c,ak as d,p as i,a4 as l,c as m,e as y,f as p,g as _,h as s,m as b}from"./index-B4gewkxT.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="9c47df69-8461-4280-ae6a-e22e7f9c4f71",a._sentryDebugIdIdentifier="sentry-dbid-9c47df69-8461-4280-ae6a-e22e7f9c4f71")}catch{}})();const h=["src"],w=c({__name:"IframeWeweb",setup(a){const e=d(),t=i(null);l({queryKey:["WEWEB_IFRAME",e.name],queryFn:()=>setTimeout(()=>{u()},5e3)});const u=()=>{var n,o;if(!t.value)return null;try{const r=(o=(n=t.value.contentWindow)==null?void 0:n.document)==null?void 0:o.querySelector("body");if(!r)return null;t.value.style.height=r.offsetHeight+"px",t.value.style.minHeight="auto"}catch(r){console.warn(r),t.value.style.minHeight="100vh"}},f=m(()=>Object.keys(e.query).length===0?"":"?"+Object.keys(e.query).map(n=>encodeURIComponent(n)+"="+encodeURIComponent(e==null?void 0:e.query[n])).join("&"));return(n,o)=>(y(),p("div",{key:s(e).name||s(e).path,class:"about"},[_("iframe",{id:"weweb-iframe",ref_key:"iframeEl",ref:t,src:`https://about.frenchfounders.com${s(e).path}${f.value}${s(e).hash}`,frameborder:"0",width:"100%",class:"about__iframe","data-testid":"weweb-iframe"},null,8,h)]))}}),I=b(w,[["__scopeId","data-v-832bf21e"]]);export{I as default};
//# sourceMappingURL=IframeWeweb-AaIvuQxn.js.map