1import{s as q,d as a,e as n,f as e,m as p,B as T,t as i,z as v,j as b,F as h,k,l as w,n as x,N,T as A,c as u,C as P,r as V,a as H,O as L,J as O,i as F}from"./app-Cab8Naud.js";import{t as j}from"./teamData-DXnp1siR.js";/* empty css */const K={class:"w-full bg-gray-50 min-h-screen"},R={class:"bg-white border-b border-gray-200"},D={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3"},E={key:0,class:"max-w-7xl mx-auto px-4 py-20 text-center"},I={class:"text-xl text-gray-500 mb-6"},J={key:1,class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},S={class:"lg:grid lg:grid-cols-12 lg:gap-8"},G={class:"lg:col-span-8"},Q={class:"bg-white rounded-2xl shadow-sm border border-gray-100 overflow-hidden"},U={class:"flex flex-col sm:flex-row gap-6 p-8 border-b border-gray-100"},W={class:"shrink-0 flex justify-center sm:justify-start"},X=["src","alt"],Y={key:1,class:"w-40 h-40 rounded-2xl overflow-hidden border-2 border-secondary/30 shadow-sm bg-gradient-to-br from-primary/5 to-primary/15 flex items-center justify-center"},Z={class:"text-center sm:text-left flex flex-col justify-center"},ee={class:"text-2xl md:text-3xl font-display font-bold text-primary leading-tight mb-2"},te={class:"text-gray-500 text-sm"},se={class:"p-8"},oe={class:"text-lg font-display font-bold text-primary mb-4 flex items-center gap-2"},re={class:"prose prose-sm prose-gray max-w-none prose-p:text-gray-700 prose-p:leading-relaxed prose-p:mb-4"},le={class:"lg:col-span-4 mt-10 lg:mt-0"},ae={class:"lg:sticky lg:top-24"},ne={class:"bg-white rounded-2xl shadow-sm border border-gray-100 p-6"},ie={class:"text-base font-display font-bold text-gray-900 mb-5 pb-3 border-b border-gray-100"},ue={class:"space-y-0"},de=["src","alt"],ce={class:"min-w-0"},me={class:"text-xs text-gray-500 mt-0.5 line-clamp-1"},pe={class:"relative max-w-lg w-full"},ve=["src","alt"],xe={__name:"MosquesTeamMemberPage",setup(ge){const _=H(),o=u(()=>_.params.lang||"ru"),g=u(()=>_.params.slug),r=u(()=>j.find(l=>l.slug===g.value)??null),c=u(()=>r.value?o.value==="ru"?r.value.name_ru:r.value.name_kk:""),C=u(()=>r.value?o.value==="ru"?r.value.position_ru:r.value.position_kk:""),M=u(()=>r.value?o.value==="ru"?r.value.bio_ru||"":r.value.bio_kk||"":""),B=u(()=>M.value.split(` 2`).map(l=>l.trim()).filter(l=>l.length>0)),y=l=>{if(l.isHead)return 0;const t=(l.position_ru||"").toLowerCase();return t.includes("наиб")?1:t.includes("имам")?2:3},$=u(()=>j.filter(l=>l.slug).slice().sort((l,t)=>y(l)-y(t))),z=u(()=>[{text:o.value==="ru"?"ÐлавнаÑ":"ÐаÑÑÑ Ð±ÐµÑ",href:`/${o.value}`,isCurrent:!1},{text:o.value==="ru"?"РмеÑеÑи":"ÐеÑÑÑ ÑÑÑалÑ",href:`/${o.value}/mosque`,isCurrent:!1},{text:o.value==="ru"?"СоÑÑÑдники":"ÒÑзмеÑкеÑлеÑ",href:`/${o.value}/mosque/team`,isCurrent:!1},{text:c.value,href:"",isCurrent:!0}]),d=V(!1);return(l,t)=>{const f=P("router-link");return a(),n("div",K,[e("div",R,[e("div",D,[p(T,{crumbs:z.value},null,8,["crumbs"])])]),r.value?(a(),n("div",J,[p(f,{to:`/${o.value}/mosque/team`,class:"inline-flex items-center gap-2 bg-primary text-white px-5 py-2.5 rounded-full text-sm font-bold hover:bg-primary/90 transition-all mb-8"},{default:v(()=>[t[4]||(t[4]=e("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1)),b(" "+i(o.value==="ru"?"ÐÑе ÑоÑÑÑдники":"ÐаÑлÑÒ ÒÑзмеÑкеÑлеÑ"),1)]),_:1},8,["to"]),e("div",S,[e("article",G,[e("div",Q,[e("div",U,[e("div",W,[r.value.photo?(a(),n("button",{key:0,type:"button",class:"w-40 h-40 rounded-2xl overflow-hidden border-2 border-secondary/30 shadow-sm bg-gradient-to-br from-primary/5 to-primary/15 cursor-zoom-in group",onClick:t[0]||(t[0]=s=>d.value=!0)},[e("img",{src:r.value.photo,alt:c.value,class:"w-full h-full object-cover object-top group-hover:scale-105 transition-transform duration-300"},null,8,X)])):(a(),n("div",Y,[...t[5]||(t[5]=[e("svg",{class:"w-20 h-20 text-primary/30",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"1"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"})],-1)])]))]),e("div",Z,[e("h1",ee,i(c.value),1),e("p",te,i(C.value),1)])]),e("div",se,[e("h2",oe,[t[6]||(t[6]=e("svg",{class:"w-5 h-5 text-secondary",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"1.5"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"})],-1)),b(" "+i(o.value==="ru"?"ÐиогÑаÑиÑ":"ӨмÑÑбаÑнÑ"),
21)]),e("div",re,[(a(!0),n(h,null,k(B.value,(s,m)=>(a(),n("p",{key:m},i(s),1))),128))])])])]),e("aside",le,[e("div",ae,[e("div",ne,[e("h2",ie,i(o.value==="ru"?"ÐÑÑгие ÑоÑÑÑдники":"ÐаÑÒа ÒÑзмеÑкеÑлеÑ"),1),e("div",ue,[(a(!0),n(h,null,k($.value,s=>(a(),w(f,{key:s.slug,to:`/${o.value}/mosque/team/${s.slug}`,class:x(["flex items-center gap-3 py-3 -mx-2 px-2 rounded-xl transition-colors border-l-2",[s.slug===g.value?"bg-primary/5 border-primary":"border-transparent hover:bg-gray-50"]])},{default:v(()=>[e("div",{class:x(["shrink-0 rounded-full overflow-hidden bg-gradient-to-br from-primary/5 to-primary/15 flex items-center justify-center",s.isHead?"w-14 h-14 border-2 border-secondary":"w-11 h-11"])},[s.photo?(a(),n("img",{key:0,src:s.photo,alt:o.value==="ru"?s.name_ru:s.name_kk,class:"w-full h-full object-cover object-top"},null,8,de)):(a(),n("svg",{key:1,class:x(["text-primary/40",s.isHead?"w-7 h-7":"w-5 h-5"]),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"1"},[...t[7]||(t[7]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"},null,-1)])],2))],2),e("div",ce,[e("p",{class:x(["text-sm font-semibold leading-snug line-clamp-2 transition-colors",s.slug===g.value?"text-primary":"text-gray-900 group-hover:text-primary"])},i(o.value==="ru"?s.name_ru:s.name_kk||s.name_ru),3),e("p",me,i(o.value==="ru"?s.position_ru:s.position_kk||s.position_ru),1)])]),_:2},1032,["to","class"]))),128))])])])])])])):(a(),n("div",E,[e("p",I,i(o.value==="ru"?"СоÑÑÑдник не найден":"ÒÑзмеÑÐºÐµÑ ÑабÑлмадÑ"),1),p(f,{to:`/${o.value}/mosque/team`,class:"inline-flex items-center px-6 py-3 bg-primary text-white rounded-full text-sm font-medium hover:bg-primary/90 transition-colors"},{default:v(()=>[b(i(o.value==="ru"?"â Ð ÑпиÑкÑ":"â ТÑзÑмге"),1)]),_:1},8,["to"])])),(a(),w(A,{to:"body"},[p(N,{name:"lightbox"},{default:v(()=>{var s;return[d.value&&((s=r.value)!=null&&s.photo)?(a(),n("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-sm p-4",onClick:t[2]||(t[2]=O(m=>d.value=!1,["self"])),onKeydown:t[3]||(t[3]=L(m=>d.value=!1,["esc"]))},[e("div",pe,[e("img",{src:r.value.photo,alt:c.value,class:"w-full rounded-2xl shadow-2xl object-contain max-h-[85vh]"},null,8,ve),e("button",{type:"button",class:"absolute -top-3 -right-3 w-9 h-9 bg-white rounded-full shadow-lg flex items-center justify-center text-gray-700 hover:text-gray-900 transition-colors",onClick:t[1]||(t[1]=m=>d.value=!1)},[...t[8]||(t[8]=[e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])])],32)):F("",!0)]}),_:1})]))])}}},ye=q(xe,[["__scopeId","data-v-7d02517e"]]);export{ye 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.