import{i as S,Z as C,r as g,o as i,c as a,a as c,w as m,b as e,t as r,F as p,d as f,f as v,n as w,T,j as b,g as d}from"./app-DmJ8GS-7.js";import{F as I}from"./v3-rkPj73qv.js";import{M as j}from"./MainNavbar-CBx37KIe.js";import{C as B}from"./ClientFooterDown-D8UuGhzW.js";import{s as N}from"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";import{_ as z}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */const M={name:"Page",data(){return{scrollTop:!1,currentNavSection:null}},props:{department:{type:Object},departments:{type:Object}},components:{ClientFooterDown:B,MainNavbar:j,Link:S,FsLightbox:I,Head:C},methods:{textLimit(t,n){if(t.length>n){let o;return o=t.substring(0,n),o+"..."}return t},openEditorImagesOnSlide:function(t){this.slide=t,this.toggler=!this.toggler},isSameRoute(t){if(this.$page.props.ziggy.location===t)return!0},generateSlug:function(t){return N(t,{lower:!0,strict:!0,locale:"ru"})},onScroll(t){window.top.scrollY>100?this.scrollTop=!0:this.scrollTop=!1},scrollToTop(){window.scrollTo(0,0)}},mounted(){window.addEventListener("scroll",this.onScroll),window.addEventListener("scroll",()=>{const t=document.querySelectorAll("h2"),n=document.querySelector("#visor");let o=null;const x=n.getBoundingClientRect();if(x.top>window.scrollY){this.currentNavSection=null,o=null;return}for(let u=0;u=0&&h.bottom<=window.innerHeight&&h.bottom>=x.top&&h.top<=x.bottom){l!==o&&(this.currentNavSection=l.id,o=l);break}}})},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("scroll",this.onScroll)},computed:{}},F=e("meta",{name:"description",content:"Your page description"},null,-1),E=e("div",{class:"w-full h-[67px] fixed",id:"visor"},null,-1),D={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},V={class:"sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between"},R={key:0,class:"styled-scrollbar flex h-[calc(100vh-200px)] flex-col overflow-y-scroll pr-2 pb-4"},H={class:"text-gray-1000 mb-2 text-md font-medium"},P={class:"flex gap-x-1"},A={class:"px-0.5 last-of-type:mb-0 mb-8"},O=["href"],Y={class:"order-last hidden w-56 shrink-0 lg:block"},q={class:"sticky top-[110px] h-[calc(100vh-110px)]"},X=e("div",{class:"text-gray-1000 mb-2 text-md font-medium"},"На этой странице",-1),Z={class:"styled-scrollbar max-h-[70vh] space-y-1.5 overflow-y-auto py-2 text-sm"},G={class:"anchor-li"},J={class:"anchor-li"},K={class:"anchor-li"},Q=e("button",{class:"bg-transperant text-gray-600 cursor-pointer hover:text-gray-900 duration-300 block px-2 leading-[1.6] rounded-md"},"К началу",-1),U=e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-[17px] text-gray-600"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 11.25l-3-3m0 0l-3 3m3-3v7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),W=[Q,U],$={class:"w-full min-w-0 mt-1 max-w-6xl px-1 md:px-6",style:{}},ee={class:"space-y-5 md:space-y-5"},te=e("a",{onclick:"history.back()",class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500",href:"#"},[e("svg",{class:"flex-shrink-0 size-4",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m15 18-6-6 6-6"})]),d(" Назад ")],-1),se={class:"flex justify-between items-center mb-6"},oe={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},re={class:"grow"},ne={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},ie={class:"flex items-center whitespace-normal min-w-0","aria-label":"Breadcrumb"},ae=e("li",{class:"text-sm"},[e("span",{class:"flex items-center text-gray-500 hover:text-blue-600"},[d(" Главная "),e("svg",{class:"flex-shrink-0 mx-3 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})])])],-1),le={class:"text-sm"},de=e("svg",{class:"flex-shrink-0 mx-3 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1),ce={class:"space-y-3"},he={class:"text-2xl mb-10 font-bold md:text-3xl"},ue={id:"page-area",class:"space-y-5 md:space-y-5"},ge=e("p",{class:"text-[16px] text-gray-700 leading-7"},'Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum является стандартной "рыбой" для текстов на латинице с начала XVI века. В то время некий безымянный печатник создал большую коллекцию размеров и форм шрифтов, используя Lorem Ipsum для распечатки образцов. Lorem Ipsum не только успешно пережил без заметных изменений пять веков, но и перешагнул в электронный дизайн. Его популяризации в новое время послужили публикация листов Letraset с образцами Lorem Ipsum в 60-х годах и, в более недавнее время, программы электронной вёрстки типа Aldus PageMaker, в шаблонах которых используется Lorem Ipsum.',-1),xe=e("p",{class:"text-[16px] text-gray-700 leading-7"},'Lorem Ipsum - это текст-"рыба", часто используемый в печати и вэб-дизайне. Lorem Ipsum является стандартной "рыбой" для текстов на латинице с начала XVI века. В то время некий безымянный печатник создал большую коллекцию размеров и форм шрифтов, используя Lorem Ipsum для распечатки образцов. Lorem Ipsum не только успешно пережил без заметных изменений пять веков, но и перешагнул в электронный дизайн. Его популяризации в новое время послужили публикация листов Letraset с образцами Lorem Ipsum в 60-х годах и, в более недавнее время, программы электронной вёрстки типа Aldus PageMaker, в шаблонах которых используется Lorem Ipsum.',-1),me=e("h2",{id:"workers",class:"font-bold text-xl"},"Сотрудники кафедры",-1),pe={class:"flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},we={class:"flex items-center gap-x-4"},fe=["src"],ve={class:"grow"},_e={class:"text-xs text-gray-500 mt-2"},be={class:"text-xs text-gray-500 mt-2"},ye={class:"text-xs text-gray-500 mt-2"},ke=e("p",{class:"text-xs text-gray-500 mt-2"}," Кабинет: 207В ",-1),Le=e("h2",{id:"teachers",class:"font-bold text-xl"},"Преподаватели кафедры",-1),Se={class:"flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},Ce={class:"flex items-center gap-x-4"},Te=["src"],Ie={class:"grow"},je={key:0,class:"text-xs text-gray-500 mt-2"},Be={class:"text-xs text-gray-500 mt-2"},Ne={class:"text-xs text-gray-500 mt-2"},ze=e("p",{class:"text-xs text-gray-500 mt-2"}," Кабинет: 207В ",-1),Me=e("div",{class:"hs-accordion-group"},[e("div",{class:"hs-accordion hs-accordion-active:bg-gray-100 rounded-xl p-6",id:"hs-basic-with-title-and-arrow-stretched-heading-three"},[e("button",{class:"hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 focus:outline-none","aria-expanded":"false","aria-controls":"hs-basic-with-title-and-arrow-stretched-collapse-three"},[d(" 44.03.05 Педагогическое образование (с двумя профилями подготовки) "),e("svg",{class:"hs-accordion-active:hidden block shrink-0 size-5 text-gray-600 group-hover:text-gray-500",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m6 9 6 6 6-6"})]),e("svg",{class:"hs-accordion-active:block hidden shrink-0 size-5 text-gray-600 group-hover:text-gray-500",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m18 15-6-6-6 6"})])]),e("div",{id:"hs-basic-with-title-and-arrow-stretched-collapse-three",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"hs-basic-with-title-and-arrow-stretched-heading-three"},[e("ul",{class:"list-disc list-outside space-y-3 ps-5 text-lg text-gray-800 dark:text-neutral-200"},[e("li",{class:"ps-2"},[e("a",{class:"text-base text-blue-600 decoration-2 hover:underline focus:outline-none focus:underline font-medium dark:text-blue-500",href:"#"},"Профиль «Биология и химия»")]),e("li",{class:"ps-2"},[e("a",{class:"text-base text-blue-600 decoration-2 hover:underline focus:outline-none focus:underline font-medium dark:text-blue-500",href:"#"},"Профиль «Биология и химия»")]),e("li",{class:"ps-2"},[e("a",{class:"text-base text-blue-600 decoration-2 hover:underline focus:outline-none focus:underline font-medium dark:text-blue-500",href:"#"},"Профиль «Биология и химия»")]),e("li",{class:"ps-2"},[e("a",{class:"text-base text-blue-600 decoration-2 hover:underline focus:outline-none focus:underline font-medium dark:text-blue-500",href:"#"},"Профиль «Биология и химия»")])])])]),e("div",{class:"hs-accordion hs-accordion-active:bg-gray-100 rounded-xl p-6",id:"hs-basic-with-title-and-arrow-stretched-heading-four"},[e("button",{class:"hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 focus:outline-none","aria-expanded":"false","aria-controls":"hs-basic-with-title-and-arrow-stretched-collapse-four"},[d(" 44.03.01 Педагогическое образование "),e("svg",{class:"hs-accordion-active:hidden block shrink-0 size-5 text-gray-600 group-hover:text-gray-500",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m6 9 6 6 6-6"})]),e("svg",{class:"hs-accordion-active:block hidden shrink-0 size-5 text-gray-600 group-hover:text-gray-500",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m18 15-6-6-6 6"})])]),e("div",{id:"hs-basic-with-title-and-arrow-stretched-collapse-four",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"hs-basic-with-title-and-arrow-stretched-heading-four"},[e("p",{class:"text-gray-800"}," Профиль «Экология» (второе высшее образование) ")])]),e("div",{class:"hs-accordion hs-accordion-active:bg-gray-100 rounded-xl p-6",id:"hs-basic-with-title-and-arrow-stretched-heading-five"},[e("button",{class:"hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 focus:outline-none","aria-expanded":"false","aria-controls":"hs-basic-with-title-and-arrow-stretched-collapse-five"},[d(" 09.03.03 Прикладная информатика "),e("svg",{class:"hs-accordion-active:hidden block shrink-0 size-5 text-gray-600 group-hover:text-gray-500",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m6 9 6 6 6-6"})]),e("svg",{class:"hs-accordion-active:block hidden shrink-0 size-5 text-gray-600 group-hover:text-gray-500",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m18 15-6-6-6 6"})])]),e("div",{id:"hs-basic-with-title-and-arrow-stretched-collapse-five",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"hs-basic-with-title-and-arrow-stretched-heading-five"},[e("p",{class:"text-gray-800"}," Профиль «Прикладная информатика в управлении IT-проектами» ")])])],-1),Fe=e("h2",{id:"external-teachers",class:"font-bold text-xl"},"Внешние совместители",-1);function Ee(t,n,o,x,u,l){const h=g("Head"),y=g("MainNavbar"),_=g("Link"),k=g("ClientFooterDown"),L=g("FsLightbox");return i(),a(p,null,[c(h,null,{default:m(()=>[e("title",null,r(o.department.data.title),1),F]),_:1}),c(y,{class:"border-b",sections:t.$page.props.navigation},null,8,["sections"]),E,e("div",D,[e("div",V,[this.departments?(i(),a("nav",R,[e("div",H,"Кафедры факультета - "+r(o.department.data.faculty.abbreviation),1),e("div",P,[e("ul",A,[(i(!0),a(p,null,f(this.departments.data,s=>(i(),a("li",{key:o.department.id,class:"my-1.5 flex"},[e("a",{class:w([{"text-white hover:text-gray-200 font-semibold bg-[#135aae]":l.isSameRoute(t.route("client.department.show",{facultySlug:o.department.data.faculty.slug,departmentSlug:s.slug})),"text-gray-600 hover:text-[#2C6288]":!l.isSameRoute(t.route("client.department.show",{facultySlug:o.department.data.faculty.slug,departmentSlug:s.slug}))},"relative duration-300 flex w-full rounded-md cursor-pointer items-center px-2 py-1 text-left text-sm"]),href:t.route("client.department.show",{facultySlug:o.department.data.faculty.slug,departmentSlug:s.slug})+"/"},r(s.title),11,O)]))),128))])])])):v("",!0)]),e("nav",Y,[e("div",q,[X,e("ul",Z,[e("li",G,[e("a",{class:w([{"translate-x-2 text-[#135aae]":this.currentNavSection==="workers","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="workers"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#workers"},"Сотрудники кафедры",2)]),e("li",J,[e("a",{class:w([{"translate-x-2 text-[#135aae]":this.currentNavSection==="teachers","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="teachers"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#teachers"},"Преподаватели кафедры",2)]),e("li",K,[e("a",{class:w([{"translate-x-2 text-[#135aae]":this.currentNavSection==="external-teachers","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="external-teachers"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#external-teachers"},"Внешние совместители",2)]),c(T,{name:"fade"},{default:m(()=>[u.scrollTop?(i(),a("li",{key:0,class:"anchor-li flex items-center py-2 border-t",onClick:n[0]||(n[0]=b((...s)=>l.scrollToTop&&l.scrollToTop(...s),["prevent"]))},W)):v("",!0)]),_:1})])])]),e("article",$,[e("div",ee,[te,e("div",se,[e("div",oe,[e("div",re,[e("div",ne,[e("ol",ie,[ae,e("li",le,[e("span",{class:"flex items-center text-gray-500 hover:text-blue-600",onClick:n[1]||(n[1]=b(()=>{},["prevent"]))},[d(" Факультеты "),de])])])])])])]),e("div",ce,[e("h1",he,r(o.department.data.title),1)]),e("div",ue,[ge,xe,me,(i(!0),a(p,null,f(o.department.data.workers,s=>(i(),a("div",pe,[e("div",we,[e("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:"/storage/"+s.photo,alt:"Image Description"},null,8,fe),e("div",ve,[c(_,{href:t.route("client.person.show",s.id),class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:m(()=>[d(r(s.position)+": "+r(s.name),1)]),_:2},1032,["href"]),e("p",_e," Ученая степень: "+r(s.academicTitle),1),e("p",be," Контактный телефон: "+r(s.contactPhone),1),e("p",ye," Электронная почта: "+r(s.contactEmail),1),ke])])]))),256)),Le,(i(!0),a(p,null,f(o.department.data.teachers,s=>(i(),a("div",Se,[e("div",Ce,[e("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:"/storage/"+s.photo,alt:"Image Description"},null,8,Te),e("div",Ie,[c(_,{href:t.route("client.person.show",s.id),class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:m(()=>[d(r(s.position)+": "+r(s.name),1)]),_:2},1032,["href"]),s.academicTitle!==null?(i(),a("p",je," Ученая степень: "+r(s.academicTitle),1)):v("",!0),e("p",Be," Контактный телефон: "+r(s.contactPhone),1),e("p",Ne," Электронная почта: "+r(s.contactEmail),1),ze])])]))),256)),Me,Fe])])])]),c(k),c(L,{class:"z-1000",slide:t.slide,toggler:t.toggler,sources:t.editorImages},null,8,["slide","toggler","sources"])],64)}const Ye=z(M,[["render",Ee]]);export{Ye as default};