import{a as e,n as t,t as n}from"./app-G6wC4CCm.js";import{t as r}from"./AppNav-TQ3fvEZa.js";import{a as i,d as a,f as o,n as s,o as c,u as l}from"./block-registry-DInqb7Su.js";import{n as u,r as d}from"./shared-DxO_QzGG.js";import{t as f}from"./PageSeo-BTD5jtJc.js";var p=n(),m={version:1,sections:[{id:`pricing-grid`,type:`pricing_grid`,enabled:!0,showPeriodToggle:!0,showCurrencyPicker:!0}]};function h(){let{auth:n,branding:s,marketing:h,landingMode:_,pricingJsonLd:v}=e().props,y=n.user,b=s?.site_name||`AppShot AI`,x=h?.nav?a(h.nav):c,S=h?.footer?l(h.footer):i,C=h?.pricing?o(h.pricing):m,w=C.sections.filter(e=>e.enabled!==!1),T=!!y&&_.mode!==`enabled`,E=!T;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(t,{title:`Pricing`}),(0,p.jsx)(f,{pageLabel:`Pricing`,override:C.seo,sections:w,extraJsonLd:v?[v]:void 0}),(0,p.jsxs)(`div`,{className:`flex min-h-screen flex-col bg-background font-sans text-foreground antialiased`,children:[T?(0,p.jsx)(r,{}):(0,p.jsx)(d,{siteName:b,authed:!!y,branding:s,nav:x}),(0,p.jsx)(`main`,{className:`flex-1`,children:w.map(e=>(0,p.jsx)(g,{section:e,user:y,showRails:E},e.id))}),!T&&(0,p.jsx)(u,{siteName:b,branding:s,footer:S})]})]})}function g({section:e,user:t,showRails:n}){let r=s(e.type);if(!r)return null;let i=r.renderer;return e.type===`pricing_grid`?(0,p.jsx)(i,{section:e,user:t,showRails:n}):(0,p.jsx)(i,{section:e})}export{h as default};