const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./WebOmedaGate-D8TnK06o.mjs","./useOmedaForm-Y1iTUYts.mjs","./BDipKYNj.js","./entry.BvUViiwM.css","./WebOmedaGate.BoxvQbpx.css","./WebSiteUserGate-LoZhRsLy.mjs","./WebMembershipOverview-BG8uFu0f.mjs","./WebMembershipFeatures-BCFYRWNU.mjs","./WebMembershipFeatures.OhhP05_n.css","./WebMembershipOverview.Cg-nPuVD.css","./WebSiteUserMembershipSignupForm-CSsKidOg.mjs","./WebSiteUserMembershipSignupForm.CsAXwL9F.css","./index-7Ej-JsQt.mjs","./WebSiteUserGate.D8Z_Sgcs.css"])))=>i.map(i=>d[i]); import{ce as g,o as r,c as y,k as t,b as u,l as p,F as f,K as l,L as c}from"./BDipKYNj.js";const h=l(()=>c(()=>import("./WebOmedaGate-D8TnK06o.mjs"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)),b=l(()=>c(()=>import("./WebSiteUserGate-LoZhRsLy.mjs"),__vite__mapDeps([5,6,7,2,3,8,9,10,11,12,13]),import.meta.url).then(e=>e.default||e)),v={__name:"GatingFormBlock",props:{data:{type:Object,required:!0,default:()=>{}},settings:{type:Object,required:!0,default:()=>{}},page:{type:Object,required:!0,validator(e){return["pageData"].every(a=>a in e)}}},setup(e){const a=e,{gatingInfo:n,ContentGateTypes:o}=g(a.page.pageData);return(E,k)=>{var s,i,m;const d=h,_=b;return r(),y(f,null,[((s=t(n))==null?void 0:s.type)===t(o).OMEDA?(r(),u(d,{key:0,"iframe-height":e.settings.iframeHeight??1e3,url:e.data.gating.surveyId},null,8,["iframe-height","url"])):p("",!0),((i=t(n))==null?void 0:i.type)===t(o).MEMBERSHIP?(r(),u(_,{key:1,memberships:(m=t(n))==null?void 0:m.memberships,"display-mode":e.settings.displayMode,page:e.page.pageData},null,8,["memberships","display-mode","page"])):p("",!0)],64)}}};export{v as default};