import{d as f,am as c,p as i,a6 as l,c as m,e as y,f as b,g as p,h as s,m as _}from"./index-CYs9MVUz.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]="c8e02a74-2db6-4fdc-96d7-1fad04abb86f",a._sentryDebugIdIdentifier="sentry-dbid-c8e02a74-2db6-4fdc-96d7-1fad04abb86f")}catch{}})();const h=["src"],w=f({__name:"IframeWeweb",setup(a){const e=c(),t=i(null);l({queryKey:["WEWEB_IFRAME",e.name],queryFn:()=>setTimeout(()=>{d()},5e3)});const d=()=>{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"}},u=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(),b("div",{key:s(e).name||s(e).path,class:"about"},[p("iframe",{id:"weweb-iframe",ref_key:"iframeEl",ref:t,src:`https://about.frenchfounders.com${s(e).path}${u.value}${s(e).hash}`,frameborder:"0",width:"100%",class:"about__iframe","data-testid":"weweb-iframe"},null,8,h)]))}}),I=_(w,[["__scopeId","data-v-832bf21e"]]);export{I as default};
//# sourceMappingURL=IframeWeweb-DDYXRTzg.js.map