1import{aQ as N,ac as p,j as e,e as n,a9 as v,H as w,A as o,ak as u,aY as k,S as A,aZ as L,C,az as h}from"./index-Di-9cCtG.js";const d="https://deeperconnecting.com";function b(a){if(a)return a.startsWith("http")?a:`${d}${a.startsWith("/")?"":"/"}${a}`}function D(a,t){const r=a.canonicalUrl||`${d}/products/features/${a.slug}`,i=b(a.ogImage||a.imageUrl);return[{"@context":"https://schema.org","@type":"WebPage",name:a.metaTitle,description:a.metaDescription,url:r,isPartOf:{"@type":"WebSite",name:"Deeper Connecting",url:d},about:{"@type":"Thing",name:a.title,description:a.valueProposition},...i?{primaryImageOfPage:{"@type":"ImageObject",url:i,...a.imageCaption?{caption:a.imageCaption}:{}}}:{}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Products",item:`${d}/products`},{"@type":"ListItem",position:2,name:t,item:`${d}/products`},{"@type":"ListItem",position:3,name:a.title,item:r}]}]}function P(a){return b(a)}const I={available:"Available",limited:"Limited",unavailable:"Not in the current app",varies:"Varies by feature or access"};function g({title:a,status:t,details:r,icon:i}){return e.jsx(C,{className:"h-full rounded-2xl border-border/70 p-6",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary",children:e.jsx(i,{className:"h-5 w-5","aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground",children:a}),e.jsx("p",{className:"mt-1 text-sm font-medium text-primary",children:I[t]||t}),e.jsx("p",{className:"mt-3 text-sm leading-6 text-muted-foreground",children:r})]})]})})}function T(){const{slug:a=""}=N(),{data:t,isLoading:r,isError:i}=p({queryKey:[`/api/product-features/${a}`],queryFn:h({on401:"returnNull"}),enabled:!!a}),{data:j}=p({queryKey:["/api/products/app/features"],queryFn:h({on401:"returnNull"}),enabled:!!t});if(r)return e.jsx("main",{className:"min-h-screen bg-background px-4 py-16","aria-busy":"true","aria-label":"Loading feature details",children:e.jsxs("div",{className:"mx-auto max-w-6xl animate-pulse space-y-8",children:[e.jsx("div",{className:"h-5 w-40 rounded bg-muted"}),e.jsxs("div",{className:"grid gap-10 lg:grid-cols-2",children:[e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{className:"h-10 w-2/3 rounded bg-muted"}),e.jsx("div",{className:"h-24 rounded bg-muted"}),e.jsx("div",{className:"h-12 w-48 rounded-full bg-muted"})]}),e.jsx("div",{className:"h-80 rounded-2xl bg-muted"})]})]})});if(i||!t)return e.jsxs("main",{className:"container mx-auto min-h-[60vh] max-w-3xl px-4 py-20 text-center",children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest text-primary",children:"Feature not found"}),e.jsx("h1",{className:"mt-3 text-3xl font-bold text-foreground",children:"This feature page is unavailable"}),e.jsx("p",{className:"mt-4 text-muted-foreground",children:"The feature may have been unpublished or its address may have changed."}),e.jsxs(n,{href:"/products",className:"mt-8 inline-flex items-center gap-2 font-semibold text-primary hover:underline",children:[e.jsx(v,{className:"h-4 w-4","aria-hidden":"true"}),"Back to products"]})]});const f=D(t,"Deeper Connecting App"),y=JSON.stringify(f).replace(/</g,"\\u003c"),l=P(t.ogImage||t.imageUrl),c=(j||[]).filter(s=>s.id!==t.id).slice(0,3);return e.jsxs(e.Fragment,{children:[e.jsxs(w,{children:[e.jsx("title",{children:t.metaTitle}),e.jsx("meta",{name:"description",content:t.metaDescription}),e.jsx("meta",{name:"keywords",content:t.seoKeywords.join(", ")}),e.jsx("meta",{name:"robots",content:t.robotsDirective}),e.jsx("link",{rel:"canonical",href:t.canonicalUrl}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:title",content:t.ogTitle}),e.jsx("meta",{property:"og:description",content:t.ogDescription}),e.jsx("meta",{property:"og:url",content:t.canonicalUrl}),l&&e.jsx("meta",{property:"og:image",content:l}),e.jsx("meta",{name:"twitter:card",content:l?"summary_large_image":"summary"}),e.jsx("meta",{name:"twitter:title",content:t.ogTitle}),e.jsx("meta",{name:"twitter:description",content:t.ogDescription}),l&&e.jsx("meta",{name:"twitter:image",content:l}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:y}})]}),e.jsx("main",{className:"min-h-screen bg-background text-foreground",children:e.jsxs("div",{className:"container mx-auto max-w-7xl px-4 py-8 sm:px-6 lg:px-8",children:[e.jsxs("nav",{"aria-label":"Breadcrumb",className:"mb-10 text-sm text-muted-foreground",children:[e.jsx(n,{href:"/products",className:"hover:text-primary hover:underline",children:"Products"}),e.jsx("span",{className:"mx-2","aria-hidden":"true",children:"/"}),e.jsx(n,{href:"/app",className:"hover:text-primary hover:underline",children:"Deeper Connecting App"}),e.jsx("span",{className:"mx-2","aria-hidden":"true",children:"/"}),e.jsx("span",{"aria-current":"page",className:"text-foreground",children:t.title})]}),e.jsxs("section",{className:"grid items-center gap-10 lg:grid-cols-[1fr_1.05fr] lg:gap-16",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-[0.18em] text-primary",children:"Deeper Connecting App"}),e.jsx("h1",{className:"mt-4 text-4xl font-bold tracking-tight sm:text-5xl",children:t.headline}),e.jsx("p",{className:"mt-6 text-lg leading-8 text-muted-foreground",children:t.description}),e.jsx("p",{className:"mt-5 text-base leading-7 text-foreground
1/80",children:t.valueProposition}),e.jsxs(n,{href:t.ctaLink,className:"mt-8 inline-flex items-center justify-center gap-2 rounded-full bg-primary px-6 py-3 font-semibold text-primary-foreground transition hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",children:[t.ctaText,e.jsx(o,{className:"h-4 w-4","aria-hidden":"true"})]})]}),t.imageUrl&&e.jsxs("figure",{className:"overflow-hidden rounded-2xl border border-border/70 bg-muted/20 shadow-xl",children:[e.jsx("img",{src:t.imageUrl,alt:t.imageAlt||t.title,className:"h-auto w-full"}),t.imageCaption&&e.jsx("figcaption",{className:"border-t border-border/60 px-5 py-3 text-sm text-muted-foreground",children:t.imageCaption})]})]}),t.benefits.length>0&&e.jsxs("section",{className:"mt-20","aria-labelledby":"feature-benefits-heading",children:[e.jsx("div",{className:"mx-auto max-w-3xl text-center",children:e.jsx("h2",{id:"feature-benefits-heading",className:"text-3xl font-bold tracking-tight",children:"What you can do"})}),e.jsx("ul",{className:"mx-auto mt-8 grid max-w-5xl gap-4 md:grid-cols-3",children:t.benefits.map(s=>e.jsxs("li",{className:"flex gap-3 rounded-xl border border-border/70 bg-card p-5 text-sm leading-6",children:[e.jsx(u,{className:"mt-0.5 h-5 w-5 shrink-0 text-primary","aria-hidden":"true"}),e.jsx("span",{children:s})]},s))})]}),t.sections.length>0&&e.jsx("div",{className:"mx-auto mt-16 max-w-4xl space-y-8",children:t.sections.map(s=>{var m;return e.jsxs("section",{className:"rounded-2xl border border-border/70 bg-card p-6 sm:p-8",children:[e.jsx("h2",{className:"text-2xl font-semibold tracking-tight",children:s.heading}),e.jsx("p",{className:"mt-4 leading-7 text-muted-foreground",children:s.body}),(m=s.bullets)!=null&&m.length?e.jsx("ul",{className:"mt-5 space-y-3",children:s.bullets.map(x=>e.jsxs("li",{className:"flex gap-3 text-sm leading-6",children:[e.jsx(u,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),e.jsx("span",{children:x})]},x))}):null]},s.heading)})}),e.jsxs("section",{className:"mt-16","aria-labelledby":"feature-availability-heading",children:[e.jsxs("div",{className:"mx-auto mb-8 max-w-3xl text-center",children:[e.jsx("h2",{id:"feature-availability-heading",className:"text-3xl font-bold tracking-tight",children:"Where it is available"}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:"Web and native mobile do not include the same feature set."})]}),e.jsxs("div",{className:"grid gap-5 md:grid-cols-2",children:[e.jsx(g,{title:"Web app",status:t.platformAvailability.web.status,details:t.platformAvailability.web.details,icon:k}),e.jsx(g,{title:"Native mobile app",status:t.platformAvailability.mobile.status,details:t.platformAvailability.mobile.details,icon:A})]})]}),e.jsxs("aside",{className:"mx-auto mt-8 flex max-w-4xl gap-4 roun
1ded-2xl border border-primary/20 bg-primary/5 p-5 sm:p-6",children:[e.jsx(L,{className:"mt-0.5 h-5 w-5 shrink-0 text-primary","aria-hidden":"true"}),e.jsxs("div",{children:[e.jsx("h2",{className:"font-semibold",children:"Access and important details"}),e.jsx("p",{className:"mt-2 text-sm leading-6 text-muted-foreground",children:t.accessNotes})]})]}),c.length>0&&e.jsxs("section",{className:"mt-20 border-t border-border/70 pt-12","aria-labelledby":"related-features-heading",children:[e.jsxs("div",{className:"mb-7 flex flex-wrap items-end justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-[0.18em] text-primary",children:"Keep exploring"}),e.jsx("h2",{id:"related-features-heading",className:"mt-2 text-3xl font-bold tracking-tight",children:"More app features"})]}),e.jsxs(n,{href:"/products",className:"inline-flex items-center gap-2 text-sm font-semibold text-primary hover:underline",children:["All products ",e.jsx(o,{className:"h-4 w-4","aria-hidden":"true"})]})]}),e.jsx("div",{className:"grid gap-5 md:grid-cols-3",children:c.map(s=>e.jsxs(n,{href:`/products/features/${s.slug}`,className:"rounded-xl border border-border/70 bg-card p-5 transition hover:-translate-y-0.5 hover:shadow-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",children:[e.jsx("h3",{className:"font-semibold",children:s.title}),e.jsx("p",{className:"mt-2 line-clamp-3 text-sm leading-6 text-muted-foreground",children:s.description}),e.jsxs("span",{className:"mt-4 inline-flex items-center gap-2 text-sm font-semibold text-primary",children:["Learn more ",e.jsx(o,{className:"h-4 w-4","aria-hidden":"true"})]})]},s.id))})]})]})})]})}export{T as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.