import L from"./BBadndpj.js";import{aj as O,ak as S,r,f as a,o as t,g as e,k as o,i as h,j as v,F as m,B as _,H as W,h as E,R as K,O as U,U as A,N as G,x as J}from"./B7moA0Zy.js";import M from"./Bh2Y0iKH.js";const P={class:"v-card"},Q={class:K(["box-container"])},X={class:"transparent"},Y={class:"pair"},Z={key:0},tt={class:K(["box-container"])},at={class:"transparent"},et={class:"pair"},nt=O({__name:"index",props:{data:{type:Object}},setup(n){var k;const g=n,{globals:f}=S(),N=((k=g.data)==null?void 0:k.virtualCardsCompany)||f.virtualCardsCompany,R=f.virtualCardsInfo;return(d,ot)=>{var C,z,B,D,w,T,q,V,I,j;const $=L,i=U,F=A,H=G,b=M,c=r("pad"),l=r("lay"),p=r("cols"),y=r("grid"),u=r("space");return a((t(),e("main",P,[a((t(),e("div",null,[o($,{data:{heading:(C=n.data)==null?void 0:C.title,tag:"1",typo:"1"}},null,8,["data"]),a((t(),e("div",null,[a((t(),e("div",Q,[(z=n.data)!=null&&z.role?a((t(),h(i,{key:0,data:{text:(B=n.data)==null?void 0:B.role,typo:4}},null,8,["data"])),[[c,{x:"m",y:"s"}]]):v("",!0),(t(!0),e(m,null,_((D=n.data)==null?void 0:D.cardDetails,x=>a((t(),e("div",X,[(t(!0),e(m,null,_(x.children,s=>a((t(),e("div",Y,[o(i,{data:{text:s.__typename==="cardDetails_website_BlockType"?"Website":s.detailKey,color:"grey",typo:4}},null,8,["data"]),o(i,{data:{text:s.detailValue,typo:4}},null,8,["data"])])),[[c,{x:"m",y:"s"}],[l,{dir:"h",gap:"m",fluid:!0}]])),256))])),[[l,{dir:d.$mq.s?"h":"v",gap:"xxs"}]])),256))])),[[p,d.$mq.m?"2 / span 4":"1 / -1"],[l]])])),[[y,{cols:6,gap:["l","xxs"]}]])])),[[u,{top:"xl"}],[l,{gap:"l"}]]),(w=n.data)!=null&&w.zhTitle?a((t(),e("div",Z,[o($,{data:{heading:(T=n.data)==null?void 0:T.zhTitle,tag:"1",typo:"1"}},null,8,["data"]),a((t(),e("div",null,[a((t(),e("div",tt,[(q=n.data)!=null&&q.zhRole?a((t(),h(i,{key:0,data:{text:(V=n.data)==null?void 0:V.zhRole,typo:4}},null,8,["data"])),[[c,{x:"m",y:"s"}]]):v("",!0),(t(!0),e(m,null,_((I=n.data)==null?void 0:I.cardDetails,x=>a((t(),e("div",at,[(t(!0),e(m,null,_(x.children,s=>a((t(),e("div",et,[o(i,{data:{text:s.__typename==="cardDetails_website_BlockType"?"Website":s.zhDetailKey||s.detailKey,color:"grey",typo:4}},null,8,["data"]),o(i,{data:{text:s.zhDetailValue||s.detailValue,typo:4}},null,8,["data"])])),[[c,{x:"m",y:"s"}],[l,{dir:"h",gap:"m",fluid:!0}]])),256))])),[[l,{dir:"h",gap:"xxs"}]])),256))])),[[p,d.$mq.m?"2 / span 4":"1 / -1"],[l]])])),[[y,{cols:6,gap:["l","xxs"]}]])])),[[u,{top:"xl"}],[l,{gap:"l"}]]):v("",!0),a((t(),e("div",null,[a((t(),h(H,{data:{themes:["button","light-button"],url:`/vcard?uid=${(j=g.data)==null?void 0:j.uid}&company=${E(N)}`,download:!0,blank:!0}},{default:W(()=>[a((t(),e("div",null,[o(i,{data:{text:d.$t("contacts_add_cta"),typo:"4"}},null,8,["data"]),o(F,{data:{name:"download",size:"l"}})])),[[l,{dir:"h",fluid:!0,align:d.$mq.s?"center":"even",gap:"m"}]])]),_:1},8,["data"])),[[p,d.$mq.m?"2 / span 4":"1 / -1"]])])),[[y,{cols:6,gap:["l","xxs"]}],[u,{top:"l"}]]),a(o(b,{data:{text:d.$t("contacts_add_message"),color:"grey",typo:"4"}},null,8,["data"]),[[u,{top:"m",bottom:"xl"}]]),o(b,{data:{text:E(R),color:"grey",typo:"4"}},null,8,["data"])])),[[c,{x:"m"}]])}}}),it=J(nt,[["__scopeId","data-v-698e4099"]]);export{it as _};