1import{H as f}from"./HeaderTitle-D8PGxZvq.js";import{G as g,M as x}from"./myLayout-CbsZKrMh.js";import{I as p}from"./PhFile.vue-BlkPCVxN.js";import{G as _}from"./PhMicrosoftWordLogo.vue-BHtjZ_zV.js";import{i as y,c as k,y as v,m,o,w as b,e as i,b as t,v as n,a as s,x as h,u as l,F as w,s as V,q as j}from"./app-CM6PqG-r.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const H={class:"strong"},M={class:"staff-block mx-auto max-w-screen-xl grid grid-cols-1 md:!grid-cols-[25%_70%] justify-center gap-3"},T={class:"left-content !text-center sm:!text-left"},B={class:"img-block"},L={class:"img text-center sm:!text-left"},N=["src","alt"],$={key:1,src:"/assets/img/userIcon.jpg",class:"w-75 h-auto rounded-lg boder border-red-800/60 border-[3px] shadow-md",alt:"userIcon"},F={class:"block text-sm"},G={class:"font-bold"},I=["href"],z={class:"mt-10 p-1 documents-block border border-gray-500/20"},C={class:"flex items-center gap-1"},D={class:"px-2 py-5"},S={class:"flex items-center hover:text-red-800 transition"},q=["href"],E={key:1,class:"text-sm text-gray-500"},O={class:"!p-2 sm:!p-0 content-block"},A=["innerHTML"],J={key:1,class:"text-lg my-10 text-gray-500"},X={__name:"StaffTemplate",props:{osoba:Object},setup(e){const r=e;y(()=>{initFlowbite()});const d=k(()=>{const a=(r.osoba.bio??"").replace(/<[^>]+>/g,"").trim();return a.length>160?a.slice(0,157)+"...":a});return v({title:`${r.osoba.name} | Visoka Å¡kola âÐоÑиÑеÑâ`,meta:[{name:"description",content:d.value},{property:"og:title",content:`${r.osoba.name} | Visoka Å¡kola âÐоÑиÑеÑâ`},{property:"og:description",content:d.value},{property:"og:type",content:"profile"}],link:[{rel:"canonical",href:`https://vsdositej.edu.rs/osoblje/${r.osoba.name}`}]}),(u,a)=>(o(),m(x,null,{default:b(()=>[i(f,null,{default:b(()=>[t("p",H,n(e.osoba.name),1)]),_:1}),t("div",M,[t("div",T,[t("div",B,[t("div",L,[e.osoba.photo_path?(o(),s("img",{key:0,src:"/storage/"+e.osoba.photo_path,class:"inline-block w-75 h-auto rounded-lg boder border-red-800/60 border-[3px] shadow-md",alt:e.osoba.name},null,8,N)):(o(),s("img",$))]),t("div",F,[t("h3",G,n(e.osoba.name),1),t("a",{href:"mailto:"+e.osoba.email,class:"font-bold flex items-center hover:text-red-800 transition"},[i(l(g),{size:"20"}),h(" "+n(e.osoba.email),1)],8,I)])]),t("div",z,[t("h3",C,[i(l(p),{size:18}),a[0]||(a[0]=h(" Dokumenti"))]),e.osoba.documents.length?(o(!0),s(w,{key:0},V(e.osoba.documents,c=>(o(),s("ul",D,[t("li",S,[c.type==="doc"||c.type==="docx"?(o(),m(l(_),{key:0})):j("",!0),t("a",{href:"/storage/"+c.file_path},n(c.title),9,q)])]))),256)):(o(),s("p",E,"ТÑенÑÑно нема докÑменаÑа"))])]),t("div",O,[e.osoba.bio!==""?(o(),s("p",{key:0,class:"break-words w-full",innerHTML:e.osoba.bio},null,8,A)):(o(),s("p",J,"ТÑенÑÑно нема биогÑаÑиÑе о "+n(e.osoba.name),1))])])]),_:1}))}};export{X 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.