import{t as e}from"./jsx-runtime-B6e-FjZo.js";import{t}from"./marketing-shell-BgmMHIlN.js";import{Ar as n,Ht as r,Sr as i}from"./app-figJB8d1.js";var a=n(),o=e();function s(e){let t=(0,a.c)(10),{title:n,section:r}=e;if(!r)return null;let i;t[0]===n?i=t[1]:(i=(0,o.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight text-slate-950`,children:n}),t[0]=n,t[1]=i);let s;t[2]===r.summary?s=t[3]:(s=r.summary&&(0,o.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:r.summary}),t[2]=r.summary,t[3]=s);let l;t[4]===r.items?l=t[5]:(l=r.items&&r.items.length>0&&(0,o.jsx)(`ul`,{className:`mt-3 list-disc space-y-1 ps-6 text-sm leading-6 text-slate-600`,children:r.items.map(c)}),t[4]=r.items,t[5]=l);let u;return t[6]!==i||t[7]!==s||t[8]!==l?(u=(0,o.jsxs)(`section`,{className:`mt-10`,children:[i,s,l]}),t[6]=i,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function c(e){return(0,o.jsx)(`li`,{children:e},e)}function l(e){let n=(0,a.c)(57),{shell:c,brand:l,content:u}=e,{t:d}=r(),f;n[0]!==u.title||n[1]!==d?(f=u.title??d(`Privacy policy`),n[0]=u.title,n[1]=d,n[2]=f):f=n[2];let p=f,m=`${p} — ${l}`,h;n[3]===m?h=n[4]:(h=(0,o.jsx)(i,{title:m}),n[3]=m,n[4]=h);let g;n[5]===u.eyebrow?g=n[6]:(g=u.eyebrow&&(0,o.jsx)(`p`,{className:`text-sm font-medium tracking-wider text-emerald-700 uppercase`,children:u.eyebrow}),n[5]=u.eyebrow,n[6]=g);let _;n[7]===p?_=n[8]:(_=(0,o.jsx)(`h1`,{className:`mt-4 text-4xl font-bold tracking-tight text-slate-950 sm:text-5xl`,children:p}),n[7]=p,n[8]=_);let v;n[9]===u.summary?v=n[10]:(v=u.summary&&(0,o.jsx)(`p`,{className:`mt-5 text-base leading-7 text-slate-600 sm:text-lg`,children:u.summary}),n[9]=u.summary,n[10]=v);let y;n[11]!==u.effective_date||n[12]!==d?(y=u.effective_date&&(0,o.jsxs)(`p`,{className:`mt-2 text-sm text-slate-500`,children:[(0,o.jsx)(`strong`,{className:`text-slate-700`,children:d(`Effective date:`)}),` `,u.effective_date]}),n[11]=u.effective_date,n[12]=d,n[13]=y):y=n[13];let b;n[14]!==u.contact||n[15]!==d?(b=u.contact&&(0,o.jsxs)(`section`,{className:`mt-10`,children:[(0,o.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight text-slate-950`,children:d(`Contact`)}),(0,o.jsxs)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:[u.contact.team_name,u.contact.email&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(`br`,{}),(0,o.jsx)(`a`,{href:`mailto:${u.contact.email}`,className:`text-emerald-700 underline underline-offset-4`,children:u.contact.email})]}),u.contact.response_sla&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(`br`,{}),u.contact.response_sla]})]})]}),n[14]=u.contact,n[15]=d,n[16]=b):b=n[16];let x;n[17]===d?x=n[18]:(x=d(`What we collect`),n[17]=d,n[18]=x);let S;n[19]!==u.collection||n[20]!==x?(S=(0,o.jsx)(s,{title:x,section:u.collection}),n[19]=u.collection,n[20]=x,n[21]=S):S=n[21];let C;n[22]===d?C=n[23]:(C=d(`How we use data`),n[22]=d,n[23]=C);let w;n[24]!==u.usage||n[25]!==C?(w=(0,o.jsx)(s,{title:C,section:u.usage}),n[24]=u.usage,n[25]=C,n[26]=w):w=n[26];let T;n[27]===d?T=n[28]:(T=d(`Retention`),n[27]=d,n[28]=T);let E;n[29]!==u.retention||n[30]!==T?(E=(0,o.jsx)(s,{title:T,section:u.retention}),n[29]=u.retention,n[30]=T,n[31]=E):E=n[31];let D;n[32]===d?D=n[33]:(D=d(`Your rights`),n[32]=d,n[33]=D);let O;n[34]!==u.rights||n[35]!==D?(O=(0,o.jsx)(s,{title:D,section:u.rights}),n[34]=u.rights,n[35]=D,n[36]=O):O=n[36];let k;n[37]!==u.gdpr||n[38]!==d?(k=u.gdpr&&(0,o.jsxs)(`section`,{className:`mt-10`,children:[(0,o.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight text-slate-950`,children:d(`Data export & deletion (GDPR)`)}),u.gdpr.summary&&(0,o.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:u.gdpr.summary}),u.gdpr.request_email&&(0,o.jsxs)(`p`,{className:`mt-2 text-sm text-slate-600`,children:[(0,o.jsx)(`strong`,{className:`text-slate-700`,children:d(`Request contact:`)}),` `,(0,o.jsx)(`a`,{href:`mailto:${u.gdpr.request_email}`,className:`text-emerald-700 underline underline-offset-4`,children:u.gdpr.request_email})]}),u.gdpr.request_instructions&&(0,o.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:u.gdpr.request_instructions})]}),n[37]=u.gdpr,n[38]=d,n[39]=k):k=n[39];let A;n[40]!==S||n[41]!==w||n[42]!==E||n[43]!==O||n[44]!==k||n[45]!==g||n[46]!==_||n[47]!==v||n[48]!==y||n[49]!==b?(A=(0,o.jsxs)(`article`,{className:`mx-auto max-w-3xl px-6 pt-16 pb-20`,children:[g,_,v,y,b,S,w,E,O,k]}),n[40]=S,n[41]=w,n[42]=E,n[43]=O,n[44]=k,n[45]=g,n[46]=_,n[47]=v,n[48]=y,n[49]=b,n[50]=A):A=n[50];let j;n[51]!==c||n[52]!==A?(j=(0,o.jsx)(t,{content:c,children:A}),n[51]=c,n[52]=A,n[53]=j):j=n[53];let M;return n[54]!==j||n[55]!==h?(M=(0,o.jsxs)(o.Fragment,{children:[h,j]}),n[54]=j,n[55]=h,n[56]=M):M=n[56],M}export{l as default};