1/*! For license information please see 3143.b395ddbb.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkuniversity_frontend=self.webpackChunkuniversity_frontend||[]).push([[3143],{388(e,t,a){a.d(t,{A:()=>j});var s=a(5043),r=a(4839),l=a(8336),i=a(4656),n=a(1137),o=a(9839),d=a(4099),c=a(2932),h=a(5264),m=a(5088),u=a(67),x=a(8969),g=a(2754),p=a(9350),b=a(6702),f=a(3178),v=a(7698),y=a(579);const j=e=>{let{title:t,content:a,contentBlocks:j,meta:w,heroImage:k,heroImageAlt:N,gallery:A,galleryLayout:M="carousel",breadcrumbs:C,relatedItems:z=[],showRelated:I=!0,showMeta:S=!0,showSocialShare:L=!0,showPrintButton:_=!0,showSidebar:B=!1,sidebarContent:E,socialShare:W={facebook:!0,telegram:!0,instagram:!0},onPrint:D,onRelatedClick:H,className:O="",children:P}=e;const{t:T}=(0,n.Bd)("common"),{locale:F}=(0,b.F)(),[R,U]=s.useState(!1),[q,K]=s.useState(0),[V,$]=s.useState(0),J=s.useRef(null),Z=e=>{var t;null===(t=J.current)||void 0===t||t.scrollBy({left:"left"===e?-200:200,behavior:"smooth"})},G=s.useMemo(()=>{const e=[];return k&&e.push({src:k,alt:N||t}),A&&A.length>0&&A.forEach(t=>{t.src!==k&&e.push(t)}),e},[k,N,t,A]),Q=e=>{K(e),U(!0)},X=()=>{U(!1)},Y=()=>{0!==G.length&&K(e=>(e+1)%G.length)},ee=()=>{0!==G.length&&K(e=>(e-1+G.length)%G.length)},te=s.useMemo(()=>a?(0,v.H)(a):"",[a]);return(0,y.jsxs)("div",{className:"flex flex-col gap-6 ".concat(O),children:[C&&C.length>0&&(0,y.jsx)("div",{className:"no-print",children:(0,y.jsx)(l.A,{items:C})}),(0,y.jsx)("div",{className:"w-full",children:(0,y.jsx)("div",{className:"w-full",children:(0,y.jsxs)(r.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4},className:"printable-content bg-white rounded-2xl shadow-[0_4px_16px_0_rgba(0,0,0,0.05)] overflow-hidden px-6 py-4 md:px-8 md:py-4 border border-gray-100",children:[(0,y.jsxs)("div",{className:"mb-2",children:[(0,y.jsx)("h1",{className:"text-[1.35rem] md:text-[1.55rem] font-[900] leading-[1.2] font-sans text-black tracking-tighter w-full mb-3",children:t}),(0,y.jsx)("div",{className:"border-b border-dashed border-gray-300 mt-1 mb-3"}),S&&w&&(0,y.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-3 no-print",children:[w.updatedAt||w.publishDate?(0,y.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 border border-gray-100 text-[#334155] rounded-xl px-3 py-1.5 text-sm transition-colors hover:bg-gray-100 cursor-default shadow-sm shadow-black/5 font-semibold tracking-tight whitespace-nowrap",children:[(0,y.jsx)(m.A,{size:16,className:"text-[#334155]",strokeWidth:2.5}),(0,y.jsx)("span",{children:(ae=w.updatedAt||w.publishDate||"",se=F,(0,c.F5)(ae,se||F))})]}):(0,y.jsx)("div",{}),(()=>{const e=(k?1:0)+((null===A||void 0===A?void 0:A.length)||0);return e>0?(0,y.jsxs)("div",{className:"flex items-center gap-2 bg-gray-50 border border-gray-200 text-black rounded-xl px-3 py-1.5 text-sm transition-colors hover:bg-gray-100 cursor-default",children:[(0,y.jsx)(u.A,{size:16,className:"text-black",strokeWidth:2.5}),(0,y.jsx)("span",{className:"font-medium",children:e})]}):null})()]})]}),G.length>0&&("grid"===M?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"mb-8 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:G.map((e,t)=>(0,y.jsxs)("div",{onClick:()=>Q(t),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||Q(t)},role:"button",tabIndex:0,className:"relative aspect-[4/3] rounded-xl overflow-hidden group border border-gray-100 shadow-sm cursor-pointer focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",children:[(0,y.jsx)(d.p$,{src:e.src,alt:e.alt,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),(0,y.jsx)("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/20 transition-all duration-300 flex items-center justify-center opacity-0 group-hover:opacity-100 backdrop-blur-[2px]",children:(0,y.jsx)("div",{className:"bg-white/20 backdrop-blur-md p-3 rounded-full border border-white/30 transform scale-75 group-hover:scale-100 transition-transform duration-300",children:(0,y.jsx)(x.A,{className:"text-white w-6 h-6",strokeWidth:2.5})})})]},t))}),(0,y.jsx)(d.a,{isOpen:R,onClose:X,images:G,currentIndex:q,onNext:Y,onPrev:ee})]}):(0,y.jsx)("div",{className:"mb-3 w-full overflow-hidden",children:(0,y.jsx)(d.gf,{images:G,activeIndex:V})}
2)),(0,y.jsx)("div",{className:"prose prose-lg max-w-none prose-headings:font-sans prose-headings:text-[#003B5C] prose-a:text-blue-600 mt-0",children:j?(0,y.jsx)(i.A,{blocks:j}):a?(0,y.jsx)("div",{className:"rich-text-forced",dangerouslySetInnerHTML:{__html:te}}):A&&A.length>0||k||P?null:(0,y.jsx)("p",{className:"text-black italic",children:T("no_info","Ma'lumot mavjud emas")})}),G.length>1&&"grid"!==M&&(0,y.jsxs)("div",{className:"mt-4 flex items-center gap-2 no-print",children:[(0,y.jsx)("button",{onClick:()=>Z("left"),"aria-label":"Scroll thumbnails left",className:"flex-shrink-0 p-2 rounded-full bg-white border border-gray-200 shadow-sm hover:bg-gray-50 transition-all duration-200 text-gray-700",children:(0,y.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,y.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,y.jsx)("div",{ref:J,className:"flex gap-2 overflow-x-auto flex-1 py-[3px]",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:G.map((e,t)=>(0,y.jsx)("button",{onClick:()=>{$(t),Q(t)},"aria-label":"View image ".concat(t+1),className:"flex-shrink-0 w-[140px] h-[110px] border-[3px] border-transparent hover:border-gray-300 transition-all duration-200 focus:outline-none group/thumb",children:(0,y.jsxs)("div",{className:"w-full h-full overflow-hidden relative",children:[(0,y.jsx)(d.p$,{src:e.src,alt:e.alt,className:"w-full h-full object-cover",width:140,height:110,lazy:0!==t}),(0,y.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover/thumb:bg-black/20 transition-colors duration-200 flex items-center justify-center",children:(0,y.jsx)(x.A,{className:"text-white opacity-0 group-hover/thumb:opacity-100 transition-opacity duration-200 w-
25 h-5 drop-shadow",strokeWidth:2.5})})]})},t))}),(0,y.jsx)("button",{onClick:()=>Z("right"),"aria-label":"Scroll thumbnails right",className:"flex-shrink-0 p-2 rounded-full bg-white border border-gray-200 shadow-sm hover:bg-gray-50 transition-all duration-200 text-gray-700",children:(0,y.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,y.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),"grid"!==M&&(0,y.jsx)(d.a,{isOpen:R,onClose:X,images:G,currentIndex:q,onNext:Y,onPrev:ee}),P,(null===w||void 0===w?void 0:w.department)&&(()=>{const e=T("common:department_suffix","kafedrasi"),t=w.department,a=t.toLowerCase().endsWith(e.toLowerCase())||t.toLowerCase().includes("kafedrasi")||t.toLowerCase().includes("\u043a\u0430\u0444\u0435\u0434\u0440\u0430")||t.toLowerCase().includes("department");return(0,y.jsxs)("div",{className:"mt-6 flex justify-end items-center gap-2 text-main-dark font-semibold",children:[(0,y.jsx)(h.A,{size:20,className:"text-[#334155]"}),(0,y.jsxs)("span",{className:"text-lg italic",children:["\xab",t,"\xbb",a?"":" ".concat(e)]})]})})(),(null===w||void 0===w?void 0:w.tags)&&w.tags.length>0&&(0,y.jsx)("div",{className:"mt-8 pt-6 border-t border-dashed border-gray-200",children:(0,y.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,y.jsxs)("span",{className:"text-black font-semibold text-sm flex items-center gap-1 mr-2",children:[(0,y.jsx)(p.A,{size:16})," ",T("tags","Teglar"),":"]}),w.tags.map((e,t)=>(0,y.jsxs)("span",{className:"bg-blue-50 text-blue-700 px-3 py-1 rounded-lg text-sm border border-blue-100 hover:bg-blue-100 transition-colors cursor-pointer",children:["#",e]},t))]})}),(0,y.jsx)("div",{className:"my-8 border-t border-dashed border-gray-200"}),(0,y.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4 no-print",children:[L&&(0,y.jsx)(f.A,{title:t,options:W}),_&&(0,y.jsxs)("button",{onClick:()=>{window.print(),null===D||void 0===D||D()},className:"flex items-center gap-2 px-4 py-2 bg-white border border-gray-300 text-black rounded-lg hover:bg-gray-50 transition-colors shadow-sm",children:[(0,y.jsx)(g.A,{size:18,strokeWidth:2.5}),(0,y.jsx)("span",{className:"text-sm font-bold",children:T("print","Chop etish")})]})]})]})})}),I&&z.length>0&&(0,y.jsxs)(r.P.div,{initial:{opacity:0}
2,whileInView:{opacity:1},viewport:{once:!0},className:"mt-6 no-print",children:[(0,y.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,y.jsx)("div",{className:"w-1.5 h-8 bg-blue-600 rounded-full"}),(0,y.jsx)("h3",{className:"text-2xl font-medium text-main",children:T("related_materials","O'xshash materiallar")})]}),(0,y.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:z.slice(0,4).map(e=>(0,y.jsxs)("div",{onClick:()=>null===H||void 0===H?void 0:H(e),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||null===H||void 0===H||H(e)},role:"button",tabIndex:0,className:"group bg-white rounded-xl p-4 border border-gray-200 hover:shadow-lg transition-all duration-300 cursor-pointer flex gap-4",children:[e.image&&(0,y.jsx)("div",{className:"flex-shrink-0 w-24 h-24 rounded-lg overflow-hidden relative",children:(0,y.jsx)(d.p$,{src:e.image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500",width:96,height:96})}),(0,y.jsxs)("div",{className:"flex-1 min-w-0 py-1",children:[(0,y.jsxs)("div",{className:"flex items-center gap-2 text-xs text-black font-medium mb-2",children:[(0,y.jsx)(m.A,{size:12}),e.date&&new Date(e.date).toLocaleDateString("uz"===o.Ay.language?"uz-UZ":"ru"===o.Ay.language?"ru-RU":"en-US")]}),(0,y.jsx)("h4",{className:"font-medium text-main line-clamp-2 group-hover:text-blue-600 transition-colors mb-2",children:e.title})]})]},e.id))})]})]});var ae,se}},2754(e,t,a){a.d(t,{A:()=>s});const s=(0,a(7784).A)("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]])},3143(e,t,a){a.r(t),a.d(t,{default:()=>x});var s=a(5043),r=a(1137),l=a(6702),i=a(4849),n=a(6262),o=a(5439),d=a(388),c=a(9567),h=a(9153),m=a(6060),u=a(579);const x=()=>{const{locale:e}=(0,l.F)(),{t:t}=(0,r.Bd)(["common","pages"]),{setSidebarType:a,setBreadcrumbsData:x}=(0,i.Ji)(),{data:g,loading:p,error:b}=(0,n.A)({key:"".concat(e,"-postgraduate-education"),fetcher:()=>(0,o.i)(e),ttlMinutes:30});return(0,s.useEffect)(()=>(a("info"),x([{label:t("common:nav.home","Bosh sahifa"),href:"uz"===e?"/":"/".concat(e)},{label:t("pages:scientificActivity","Ilmiy faoliyat"),href:"uz"===e?"/scientific-activity":"/".concat(e,"/scientific-activity")},{label:t("pages:postgraduateEducation","Oliy ta'limdan keyingi ta'lim")}]),()=>{a(void 0),x(void 0)}),[e,t,a,x]),p?(0,u.jsx)(c.A,{}):b||!g||0===g.length?(0,u.jsx)(d.A,{title:t("pages:postgraduateEducation","Oliy ta'limdan keyingi ta'lim"),contentType:"info",showSidebar:!1,children:(0,u.jsx)(h.A,{resourceKey:"info",className:"mt-8"})}):(0,u.jsx)(d.A,{title:t("pages:postgraduateEducation","Oliy ta'limdan keyingi ta'lim"),contentType:"info",showSidebar:!1,children:(0,u.jsx)("div",{className:"mt-8 space-y-12",children:g.map((t,a)=>(0,u.jsxs)("div",{className:"animate-in fade-in slide-in-from-bottom-4 duration-500",children:[t.content&&(0,u.jsx)("div",{className:"rich-text-forced prose prose-lg max-w-none text-gray-700 leading-relaxed",dangerouslySetInnerHTML:{__html:t.content}}),t.files&&t.files.length>0&&(0,u.jsxs)("div",{className:"mt-8 pt-6 border-t border-dashed border-gray-200 no-print",children:[(0,u.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,u.jsx)("div",{className:"w-1.5 h-6 bg-blue-600 rounded-full"}),(0,u.jsx)("h3",{className:"text-xl font-bold text-[#003B5C]",children:"en"===e?"Attached files":"ru"===e?"\u041f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b":"Ilova qilingan fayllar"})]}),(0,u.jsx)(m.A,{files:t.files})]}),a<g.length-1&&(0,u.jsx)("div",{className:"border-b border-dashed border-gray-200 pt-6"})]},t.id))})})}},5088(e,t,a){a.d(t,{A:()=>s});const s=(0,a(7784).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},5264(e,t,a){a.d(t,{A:()=>s});const s=(0,a(7784).A)("building",[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]])},5439(e,t,a){a.d(t,{i:()=>l,u:()=>i});var s=a(5514),r=a(2371);const l=async e=>{try{var t;const a="4bbd172e-a839-43fc-a94a-f05dba59e2c5",l=await s.default.get("/projects/".concat(a,"/content/postgraduate-education"),{params:{locale:e,with:"files,documents"}}),i=Array.isArray(l.data)?l.data:(null===(t=l.data)||void 0===t?void 0:t.data)||[];return Array.isArray(i)?i.map(t=>{const a=t.fields||{},s=(0,r.dI)(a.content||a.description,e)||"",l=(0,r.dI)(a["content-continued"]||a.content_continued,e)||"",i=l?"".concat(s,'<div class="mt-4">').concat(l,"</div>"):s,n=a.files||a.documents||t.files||t.documents||[],o=Array.isArray(n)?n.map(e=>{var t,a;return{name:e.name||e.title||e.filename||"Hujjat",url:(0,r.getImageUrl)(e.url||e.path||""),size:e.size,ext:e.extension||e.ext||(null===(t=e.url||e.path)||void 0===t||null===(a=t.split(".").pop())||void 0===a?void 0:a.toLowerCase())}}):[];return{id:t.uuid||t.id,slug:a.slug||t.slug||t.uuid||t.id,title:(0,r.dI)(a.title||a.name,e)||"",content:i,files:o}}):[]}catch(a){return console.error("Error fetching postgraduate education:",a),[]}},i=async(e,t)=>{try{return(await l(t)).find(t=>t.slug===e)||null}catch(a){return console.error("Error fetching postgraduate education by slug:",a),null}}},8969(e,t,a){a.d(t,{A:()=>s});const s=(0,a(7784).A)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]])},9350(e,t,a){a.d(t,{A:()=>s});const s=(0,a(7784).A)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.
2172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])}}]); 3//# sourceMappingURL=3143.b395ddbb.chunk.js.map
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.