const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./WebOmedaGate-BQV5y22W.mjs","./useOmedaForm-r44l3cc-.mjs","./DMx7NOIV.js","./entry.BR7GDKKL.css","./WebOmedaGate.BoxvQbpx.css","./WebSiteUserGate-Pccocrr9.mjs","./WebMembershipOverview-BOoEFwtj.mjs","./WebMembershipFeatures-Cfae0-u-.mjs","./WebMembershipFeatures.OhhP05_n.css","./WebMembershipOverview.Cg-nPuVD.css","./WebSiteUserMembershipSignupForm-Brdfw_OY.mjs","./WebSiteUserMembershipSignupForm.CsAXwL9F.css","./index-iW2jWPF-.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"./DMx7NOIV.js";const h=l(()=>c(()=>import("./WebOmedaGate-BQV5y22W.mjs"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.default||e)),b=l(()=>c(()=>import("./WebSiteUserGate-Pccocrr9.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};