import{i as C,Z as S,r as g,o as i,c as l,a as d,w as m,b as e,F as x,d as f,f as v,n as w,T,j as b,g as h,t as a,e as j}from"./app-DmJ8GS-7.js";import{F as I}from"./v3-rkPj73qv.js";import{M as B}from"./MainNavbar-CBx37KIe.js";import{C as N}from"./ClientFooterDown-D8UuGhzW.js";import{s as z}from"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */const F={name:"Page",data(){return{scrollTop:!1,currentNavSection:null}},props:{faculty:{type:Object},faculties:{type:Object}},components:{ClientFooterDown:N,MainNavbar:B,Link:C,FsLightbox:I,Head:S},methods:{textLimit(t,r){if(t.length>r){let o;return o=t.substring(0,r),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 z(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"),r=document.querySelector("#visor");let o=null;const p=r.getBoundingClientRect();if(p.top>window.scrollY){this.currentNavSection=null,o=null;return}for(let u=0;u=0&&c.bottom<=window.innerHeight&&c.bottom>=p.top&&c.top<=p.bottom){n!==o&&(this.currentNavSection=n.id,o=n);break}}})},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("scroll",this.onScroll)},computed:{}},E=e("meta",{name:"description",content:"Your page description"},null,-1),V=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"},R={class:"sticky top-[110px] hidden h-[calc(100vh-110px)] max-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between"},H={key:0,class:"styled-scrollbar flex h-[calc(100vh-200px)] flex-col overflow-y-scroll pr-2 pb-4"},P=e("div",{class:"text-gray-1000 mb-2 text-md font-medium"},"Факультеты",-1),A={class:"flex gap-x-1"},O={class:"px-0.5 last-of-type:mb-0 mb-8"},Y=["href"],q={class:"order-last hidden w-56 shrink-0 lg:block"},X={class:"sticky top-[110px] h-[calc(100vh-110px)]"},Z=e("div",{class:"text-gray-1000 mb-2 text-md font-medium"},"На этой странице",-1),G={class:"styled-scrollbar max-h-[70vh] space-y-1.5 overflow-y-auto py-2 text-sm"},J={class:"anchor-li"},K={class:"anchor-li"},Q={class:"anchor-li"},U=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),W=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),$=[U,W],ee={class:"w-full min-w-0 mt-1 max-w-6xl px-1 md:px-6",style:{}},te={class:"space-y-5 md:space-y-5"},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"},ie={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},ne={class:"flex items-center whitespace-normal min-w-0","aria-label":"Breadcrumb"},le=e("li",{class:"text-sm"},[e("span",{class:"flex items-center text-gray-500 hover:text-blue-600"},[h(" Главная "),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),ae={class:"text-sm"},ce=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),de={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),pe=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:"persons",class:"font-bold text-xl"},"Состав",-1),xe={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={key:0,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:"programs",class:"font-bold text-xl"},"Программы",-1),Ce=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"},[h(" 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"},[h(" 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"},[h(" 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),Se=e("h2",{id:"department",class:"font-bold text-xl"},"Кафедры факультета",-1),Te={class:"grid sm:grid-cols-2 md:grid-cols-2 xl:grid-cols-2 gap-3 sm:gap-6"},je={class:"p-4 md:p-5"},Ie={class:"flex justify-between items-center gap-x-3"},Be={class:"grow"},Ne={class:"group-hover:text-blue-600 font-semibold text-gray-800"},ze=e("div",null,[e("svg",{class:"shrink-0 size-5 text-gray-800",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:"m9 18 6-6-6-6"})])],-1);function Me(t,r,o,p,u,n){const c=g("Head"),y=g("MainNavbar"),_=g("Link"),k=g("ClientFooterDown"),L=g("FsLightbox");return i(),l(x,null,[d(c,null,{default:m(()=>[e("title",null,a(o.faculty.data.title),1),E]),_:1}),d(y,{class:"border-b",sections:t.$page.props.navigation},null,8,["sections"]),V,e("div",D,[e("div",R,[this.faculties?(i(),l("nav",H,[P,e("div",A,[e("ul",O,[(i(!0),l(x,null,f(this.faculties.data,s=>(i(),l("li",{key:s.id,class:"my-1.5 flex"},[e("a",{class:w([{"text-white hover:text-gray-200 font-semibold bg-[#135aae]":n.isSameRoute(t.route("client.faculty.show",s.slug)),"text-gray-600 hover:text-[#2C6288]":!n.isSameRoute(t.route("client.faculty.show",s.id))},"relative duration-300 flex w-full rounded-md cursor-pointer items-center px-2 py-1 text-left text-sm"]),href:t.route("client.faculty.show",s.slug)+"/"},a(s.title),11,Y)]))),128))])])])):v("",!0)]),e("nav",q,[e("div",X,[Z,e("ul",G,[e("li",J,[e("a",{class:w([{"translate-x-2 text-[#135aae]":this.currentNavSection==="persons","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="persons"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#persons"},"Состав",2)]),e("li",K,[e("a",{class:w([{"translate-x-2 text-[#135aae]":this.currentNavSection==="programs","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="programs"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#programs"},"Программы",2)]),e("li",Q,[e("a",{class:w([{"translate-x-2 text-[#135aae]":this.currentNavSection==="department","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="department"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#department"},"Кафедры факультета",2)]),d(T,{name:"fade"},{default:m(()=>[u.scrollTop?(i(),l("li",{key:0,class:"anchor-li flex items-center py-2 border-t",onClick:r[0]||(r[0]=b((...s)=>n.scrollToTop&&n.scrollToTop(...s),["prevent"]))},$)):v("",!0)]),_:1})])])]),e("article",ee,[e("div",te,[e("div",se,[e("div",oe,[e("div",re,[e("div",ie,[e("ol",ne,[le,e("li",ae,[e("span",{class:"flex items-center text-gray-500 hover:text-blue-600",onClick:r[1]||(r[1]=b(()=>{},["prevent"]))},[h(" Факультеты "),ce])])])])])])]),e("div",de,[e("h1",he,a(o.faculty.data.title),1)]),e("div",ue,[ge,pe,me,(i(!0),l(x,null,f(o.faculty.data.workers,s=>(i(),l("div",xe,[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,[d(_,{href:t.route("client.person.show",s.id),class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:m(()=>[h(a(s.position)+": "+a(s.name),1)]),_:2},1032,["href"]),s.academicTitle!==null?(i(),l("p",_e," Ученая степень: "+a(s.academicTitle),1)):v("",!0),e("p",be," Контактный телефон: "+a(s.contactPhone),1),e("p",ye," Электронная почта: "+a(s.contactEmail),1),ke])])]))),256)),Le,Ce,Se,e("div",Te,[(i(!0),l(x,null,f(o.faculty.data.departments,s=>(i(),j(_,{href:t.route("client.department.show",{facultySlug:o.faculty.data.slug,departmentSlug:s.slug}),class:"flex justify-center items-center bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition"},{default:m(()=>[e("div",je,[e("div",Ie,[e("div",Be,[e("h3",Ne,a(s.title),1)]),ze])])]),_:2},1032,["href"]))),256))])])])])]),d(k),d(L,{class:"z-1000",slide:t.slide,toggler:t.toggler,sources:t.editorImages},null,8,["slide","toggler","sources"])],64)}const Ae=M(F,[["render",Me]]);export{Ae as default};