import{j as e,c as E,a as H,b as O,o as P,r as j,s as W,u as M,l as D,aQ as z,aS as B,aY as F,aZ as V}from"./index-BeH8ha5h.js";import{c as G,d as Q,e as Y}from"./selectors-BzGTQ3YA.js";import{S as U}from"./plus_icon-BKKm8zYx.js";import{a as Z,b as J,s as K,p as X,e as ee,c as te}from"./skills_icon-DNdLw3P0.js";import{t as se}from"./timer_icon-BN-Yr58j.js";import{s as R}from"./share_icon-DjRp4IpP.js";import{S as h}from"./Skeleton-Bla1h6Gv.js";import{E as ae}from"./ErrorTooltip-ZhfOi-K4.js";import{S as ne}from"./SEO-B6LzdD3v.js";const ce="_link_gblad_1",A={link:ce},oe=/^(https?:|mailto:|\/|#)/i,ie=({href:s,children:t})=>{const a=oe.test(s)?s:"#",c=a.startsWith("#"),n=o=>{o.preventDefault();const i=a.slice(1),d=document.getElementById(i);if(!d)return;const C=d.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:C,behavior:"smooth"}),window.history.pushState(null,"",a)};return c?e.jsx("a",{href:a,className:A.link,onClick:n,children:t}):e.jsx("a",{href:a,className:A.link,target:"_blank",rel:"noopener noreferrer",children:t})},re=({children:s})=>{const t=E(),a=H(),{isAuthenticated:c}=O(o=>o.auth),n=()=>{c?t("/profile"):a(P("auth"))};return e.jsx("button",{type:"button",className:A.link,onClick:n,children:s})};function w(s){return typeof s=="string"?s:s.map((t,a)=>typeof t=="string"?t:t.type==="bold"?e.jsx("strong",{children:t.text},a):t.action==="openAuth"?e.jsx(re,{children:t.text},a):e.jsx(ie,{href:t.href??"#",children:t.text},a))}const le="_textBlock_qn8bx_1",de="_blockTitle_qn8bx_8",he="_blockContent_qn8bx_13",_e="_paragraph_qn8bx_19",b={textBlock:le,blockTitle:de,blockContent:he,paragraph:_e},me=({id:s,title:t,paragraphs:a=[]})=>{const c=a&&a.length>0;return e.jsxs("div",{className:b.textBlock,children:[t&&e.jsx("h2",{id:s,className:`h2 ${b.blockTitle}`,children:t}),c&&e.jsx("div",{className:b.blockContent,children:a.map((n,o)=>e.jsx("p",{className:`body-1 ${b.paragraph}`,children:w(n)},o))})]})},xe="_imageBlock_kk8dm_1",pe="_image_kk8dm_1",ue="_caption_kk8dm_18",T={imageBlock:xe,image:pe,caption:ue},ge=({id:s,src:t,caption:a})=>e.jsxs("figure",{id:s,className:T.imageBlock,children:[e.jsx("img",{src:t,alt:a||"Article image",className:T.image}),a&&e.jsx("figcaption",{className:`body-3 ${T.caption}`,children:a})]}),je="_quoteBlock_cwu0w_1",ye="_quoteHeader_cwu0w_12",Ne="_quoteAvatar_cwu0w_20",we="_quoteMeta_cwu0w_27",fe="_quoteAuthor_cwu0w_33",$e="_quoteRole_cwu0w_39",ve="_quoteContent_cwu0w_44",Ce="_quoteText_cwu0w_49",u={quoteBlock:je,quoteHeader:ye,quoteAvatar:Ne,quoteMeta:we,quoteAuthor:fe,quoteRole:$e,quoteContent:ve,quoteText:Ce},be=({id:s,text:t,author:a,role:c,avatar:n})=>e.jsxs("blockquote",{id:s,className:u.quoteBlock,children:[e.jsxs("header",{className:u.quoteHeader,children:[n&&e.jsx("img",{src:n,alt:a,className:u.quoteAvatar}),e.jsxs("div",{className:u.quoteMeta,children:[e.jsx("cite",{className:`h3 ${u.quoteAuthor}`,children:a}),c&&e.jsx("span",{className:`body-4 ${u.quoteRole}`,children:c})]})]}),e.jsx("div",{className:u.quoteContent,children:e.jsx("p",{className:`body-1 ${u.quoteText}`,children:t})})]}),ke="_listBlock_1m2h6_1",qe="_listTitle_1m2h6_8",Be="_list_1m2h6_1",k={listBlock:ke,listTitle:qe,list:Be},Te=({id:s,title:t,items:a,ordered:c})=>{const n=c?"ol":"ul";return e.jsxs("div",{className:k.listBlock,children:[t&&e.jsx("h3",{id:s,className:`h3 ${k.listTitle}`,children:t}),e.jsx(n,{className:k.list,children:a.map((o,i)=>e.jsx("li",{className:`body-1 ${k.listItem}`,children:w(o)},i))})]})},Ie="_faqWrapper_1wyhx_1",Ae="_mainTitle_1wyhx_8",We="_list_1wyhx_13",Re="_item_1wyhx_19",Se="_questionRow_1wyhx_26",Me="_question_1wyhx_26",Le="_icon_1wyhx_45",Ee="_answerWrapper_1wyhx_55",He="_itemOpen_1wyhx_61",Oe="_answerContent_1wyhx_65",Pe="_answer_1wyhx_55",_={faqWrapper:Ie,mainTitle:Ae,list:We,item:Re,questionRow:Se,question:Me,icon:Le,answerWrapper:Ee,itemOpen:He,answerContent:Oe,answer:Pe},De=s=>j.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},j.createElement("path",{d:"M13.5833 10.417H17.9167C18.204 10.417 18.4795 10.5311 18.6827 10.7343C18.8859 10.9375 19 11.213 19 11.5003C19 11.7876 18.8859 12.0632 18.6827 12.2664C18.4795 12.4695 18.204 12.5837 17.9167 12.5837H13.5833H11.4167H7.08333C6.79602 12.5837 6.52047 12.4695 6.3173 12.2664C6.11414 12.0632 6 11.7876 6 11.5003C6 11.213 6.11414 10.9375 6.3173 10.7343C6.52047 10.5311 6.79602 10.417 7.08333 10.417H11.4167H13.5833Z",fill:"#31323A"})),ze=({id:s,items:t})=>{const[a,c]=j.useState([0]),n=o=>{c(i=>i.includes(o)?i.filter(d=>d!==o):[...i,o])};return e.jsxs("div",{id:s,className:_.faqWrapper,children:[e.jsx("h2",{className:`h2 ${_.mainTitle}`,children:"FAQ: Ответы РЅР° частые РІРѕРїСЂРѕСЃС‹"}),e.jsx("div",{className:_.list,children:t.map((o,i)=>{const d=a.includes(i);return e.jsxs("div",{className:`${_.item} ${d?_.itemOpen:""}`,children:[e.jsxs("button",{type:"button",className:_.questionRow,onClick:()=>n(i),"aria-expanded":d,children:[e.jsx("span",{className:`body-1 ${_.question}`,children:w(o.question)}),d?e.jsx(De,{className:_.icon}):e.jsx(U,{className:_.icon})]}),e.jsx("div",{className:_.answerWrapper,children:e.jsx("div",{className:_.answerContent,children:e.jsx("p",{className:`body-1 ${_.answer}`,children:w(o.answer)})})})]},i)})})]})},Fe="_accentContainer_1xbx9_1",Ve="_title_1xbx9_12",Ge="_textWrapper_1xbx9_17",Qe="_text_1xbx9_17",Ye="_list_1xbx9_28",Ue="_listItem_1xbx9_36",f={accentContainer:Fe,title:Ve,textWrapper:Ge,text:Qe,list:Ye,listItem:Ue},Ze=({id:s,title:t,paragraphs:a,items:c,ordered:n})=>{const o=n?"ol":"ul";return e.jsxs("div",{id:s,className:f.accentContainer,children:[t&&e.jsx("h3",{className:`h3 ${f.title}`,children:t}),a&&a.length>0&&e.jsx("div",{className:f.textWrapper,children:a.map((i,d)=>e.jsx("p",{className:`body-1 ${f.text}`,children:w(i)},d))}),c&&c.length>0&&e.jsx(o,{className:f.list,children:c.map((i,d)=>e.jsx("li",{className:`body-1 ${f.listItem}`,children:w(i)},d))})]})},Je="_container_1axuq_1",Ke="_header_1axuq_12",Xe="_title_1axuq_18",et="_copyBtn_1axuq_24",tt="_copied_1axuq_45",st="_contentWrapper_1axuq_50",at="_code_1axuq_54",y={container:Je,header:Ke,title:Xe,copyBtn:et,copied:tt,contentWrapper:st,code:at},nt="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.54688%203.33772V1.63561C3.54697%201.36081%203.6562%201.0973%203.85055%200.903025C4.0449%200.708747%204.30845%200.599609%204.58324%200.599609H13.5631C13.838%200.599609%2014.1016%200.708798%2014.296%200.903155C14.4903%201.09751%2014.5995%201.36112%2014.5995%201.63598V10.6162C14.5994%2010.891%2014.4902%2011.1546%2014.2958%2011.3488C14.1015%2011.5431%2013.8379%2011.6523%2013.5631%2011.6523H11.8426'%20stroke='%239A9CB0'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.6162%203.54688H1.63524C1.36051%203.54707%201.09709%203.65635%200.902894%203.85068C0.708697%204.04502%200.599609%204.30851%200.599609%204.58324V13.5631C0.599609%2013.838%200.708798%2014.1016%200.903155%2014.296C1.09751%2014.4903%201.36112%2014.5995%201.63598%2014.5995H10.6162C10.891%2014.5994%2011.1546%2014.4902%2011.3488%2014.2958C11.5431%2014.1015%2011.6523%2013.8379%2011.6523%2013.5631V4.58361C11.6523%204.44748%2011.6255%204.31268%2011.5735%204.1869C11.5214%204.06112%2011.4451%203.94683%2011.3488%203.85055C11.2526%203.75428%2011.1383%203.6779%2011.0126%203.6258C10.8868%203.57369%2010.7524%203.54687%2010.6162%203.54688Z'%20stroke='%239A9CB0'%20stroke-width='1.2'%20stroke-linejoin='round'/%3e%3c/svg%3e",ct=({id:s,title:t,content:a,copyable:c=!0})=>{const[n,o]=j.useState(!1),i=()=>{navigator.clipboard.writeText(a),o(!0),setTimeout(()=>o(!1),2e3)};return e.jsxs("div",{id:s,className:y.container,children:[e.jsxs("div",{className:y.header,children:[e.jsx("span",{className:`body-1 ${y.title}`,children:t}),c&&e.jsx("button",{type:"button",onClick:i,className:`${y.copyBtn} ${n?y.copied:""}`,"aria-label":"Копировать",children:e.jsx("img",{src:nt,alt:""})})]}),e.jsx("div",{className:y.contentWrapper,children:e.jsx("pre",{className:y.code,children:a})})]})},ot="_wrapper_qypyt_1",it="_mainTitle_qypyt_8",rt="_container_qypyt_14",lt="_textColumn_qypyt_22",dt="_textContent_qypyt_30",ht="_title_qypyt_36",_t="_paragraph_qypyt_41",mt="_imageColumn_qypyt_46",xt="_image_qypyt_46",pt="_caption_qypyt_66",ut="_reverse_qypyt_86",m={wrapper:ot,mainTitle:it,container:rt,textColumn:lt,textContent:dt,title:ht,paragraph:_t,imageColumn:mt,image:xt,caption:pt,reverse:ut},gt=({id:s,mainTitle:t,title:a,text:c,imageSrc:n,imageCaption:o,imagePosition:i="right"})=>e.jsxs("div",{id:s,className:m.wrapper,children:[t&&e.jsx("h2",{className:`h2 ${m.mainTitle}`,children:t}),e.jsxs("div",{className:`${m.container} ${i==="left"?m.reverse:""}`,children:[e.jsxs("div",{className:m.textColumn,children:[a&&e.jsx("h3",{className:`h3 ${m.title}`,children:a}),e.jsx("div",{className:m.textContent,children:c.map((d,l)=>e.jsx("p",{className:`body-1 ${m.paragraph}`,children:w(d)},l))})]}),e.jsxs("figure",{className:m.imageColumn,children:[e.jsx("img",{src:n,alt:o||a,className:m.image}),o&&e.jsx("figcaption",{className:`body-4 ${m.caption}`,children:o})]})]})]}),jt="_wrapper_1dwnx_1",yt="_mainTitle_1dwnx_8",Nt="_description_1dwnx_13",wt="_grid_1dwnx_18",ft="_card_1dwnx_32",$t="_itemTitle_1dwnx_39",vt="_itemText_1dwnx_44",Ct="_tagsWrapper_1dwnx_49",bt="_tag_1dwnx_49",x={wrapper:jt,mainTitle:yt,description:Nt,grid:wt,card:ft,itemTitle:$t,itemText:vt,tagsWrapper:Ct,tag:bt},kt=({id:s,title:t,description:a,items:c})=>e.jsxs("div",{id:s,className:x.wrapper,children:[t&&e.jsx("h2",{className:`h2 ${x.mainTitle}`,children:t}),a&&e.jsx("p",{className:`body-1 ${x.description}`,children:a}),e.jsx("div",{className:x.grid,children:c.map((n,o)=>e.jsxs("div",{className:x.card,children:[e.jsx("h4",{className:`h3 ${x.itemTitle}`,children:n.title}),e.jsx("p",{className:`body-1 ${x.itemText}`,children:n.text}),n.tags&&n.tags.length>0&&e.jsx("div",{className:x.tagsWrapper,children:n.tags.map(i=>e.jsx("span",{className:`body-2 ${x.tag}`,children:i},i))})]},o))})]}),qt="_container_ugke6_1",Bt="_title_ugke6_7",Tt="_list_ugke6_12",It="_item_ugke6_20",At="_itemText_ugke6_24",Wt="_link_ugke6_28",$={container:qt,title:Bt,list:Tt,item:It,itemText:At,link:Wt},Rt=({id:s,title:t,items:a})=>e.jsxs("div",{id:s,className:$.container,children:[t&&e.jsx("h2",{className:`h2 ${$.title}`,children:t}),e.jsx("ol",{className:$.list,children:a.map((c,n)=>e.jsxs("li",{id:`${s}-${n+1}`,className:$.item,children:[e.jsx("span",{className:`body-1 ${$.itemText}`,children:c.title}),c.link&&e.jsx("p",{className:`body-1 ${$.link}`,children:c.link})]},n))})]}),St="_tableBlock_1lxk2_1",Mt="_tableTitle_1lxk2_9",Lt="_scrollWrapper_1lxk2_15",Et="_table_1lxk2_1",Ht="_headCell_1lxk2_30",Ot="_cell_1lxk2_31",v={tableBlock:St,tableTitle:Mt,scrollWrapper:Lt,table:Et,headCell:Ht,cell:Ot},Pt=({id:s,title:t,columns:a,rows:c})=>e.jsxs("div",{className:v.tableBlock,children:[t&&e.jsx("h3",{id:s,className:`h3 ${v.tableTitle}`,children:t}),e.jsx("div",{className:v.scrollWrapper,children:e.jsxs("table",{className:v.table,children:[e.jsx("thead",{children:e.jsx("tr",{children:a.map((n,o)=>e.jsx("th",{className:`body-3 ${v.headCell}`,children:n},o))})}),e.jsx("tbody",{children:c.map((n,o)=>e.jsx("tr",{children:n.map((i,d)=>e.jsx("td",{className:`body-1 ${v.cell}`,children:i},d))},o))})]})})]}),Dt="_articleBody_1xryy_1",zt={articleBody:Dt},Ft=({blocks:s})=>s!=null&&s.length?e.jsx("div",{className:zt.articleBody,children:s.map(t=>{switch(t.type){case"text":return e.jsx(me,{...t},t.id);case"image":return e.jsx(ge,{...t},t.id);case"quote":return e.jsx(be,{...t},t.id);case"list":return e.jsx(Te,{...t},t.id);case"faq":return e.jsx(ze,{...t},t.id);case"accent":return e.jsx(Ze,{...t},t.id);case"code":return e.jsx(ct,{...t},t.id);case"textWithImage":return e.jsx(gt,{...t},t.id);case"cardGrid":return e.jsx(kt,{...t},t.id);case"references":return e.jsx(Rt,{...t},t.id);case"table":return e.jsx(Pt,{...t},t.id);default:return null}})}):null,Vt="_tocWrapper_z75mj_1",Gt="_header_z75mj_11",Qt="_title_z75mj_17",Yt="_toggleBtn_z75mj_23",Ut="_list_z75mj_37",Zt="_item_z75mj_46",Jt="_link_z75mj_51",Kt="_subListWrapper_z75mj_61",g={tocWrapper:Vt,header:Gt,title:Qt,toggleBtn:Yt,list:Ut,item:Zt,link:Jt,subListWrapper:Kt},Xt=({blocks:s,manualToc:t})=>{const[a,c]=j.useState(!0),n=j.useMemo(()=>{if(t&&t.length>0)return t;const d=[];return s.forEach(l=>{l.type==="text"&&l.title&&d.push({id:l.id,title:l.title}),l.type==="list"&&l.title&&d.push({id:l.id,title:l.title}),l.type==="faq"&&d.push({id:l.id,title:"FAQ: Ответы РЅР° частые РІРѕРїСЂРѕСЃС‹"})}),d},[s,t]);if(n.length===0)return null;const o=(d,l)=>{d.preventDefault();const p=document.getElementById(l);if(p){const L=p.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:L,behavior:"smooth"}),window.history.pushState(null,"",`#${l}`)}else console.warn(`Element with id "${l}" not found in DOM`)},i=d=>e.jsx("ul",{className:g.list,children:d.map(l=>e.jsxs("li",{className:g.item,children:[e.jsx("a",{href:`#${l.id}`,onClick:p=>o(p,l.id),className:`body-1 ${g.link}`,children:l.title}),l.items&&l.items.length>0&&e.jsx("div",{className:g.subListWrapper,children:i(l.items)})]},l.id))});return e.jsxs("nav",{className:g.tocWrapper,children:[e.jsxs("div",{className:g.header,children:[e.jsx("h3",{className:`h2 ${g.title}`,children:"Содержание"}),e.jsxs("button",{className:`body-4 ${g.toggleBtn}`,onClick:()=>c(!a),type:"button",children:["[ ",a?"Скрыть":"Показать"," ]"]})]}),a&&i(n)]})},es="_container_1gct8_1",ts="_header_1gct8_10",ss="_meta_1gct8_17",as="_mainMeta_1gct8_27",ns="_categoryName_1gct8_34",cs="_categoryIcon_1gct8_41",os="_dot_1gct8_50",is="_readTime_1gct8_55",rs="_timeIcon_1gct8_65",ls="_title_1gct8_70",ds="_description_1gct8_80",hs="_coverImage_1gct8_85",_s="_authorBlock_1gct8_94",ms="_avatar_1gct8_100",xs="_authorInfo_1gct8_107",ps="_authorName_1gct8_114",us="_authorRole_1gct8_119",gs="_body_1gct8_124",js="_footer_1gct8_132",ys="_tags_1gct8_139",Ns="_tag_1gct8_139",ws="_shareBtn_1gct8_149",fs="_footerContainer_1gct8_162",r={container:es,header:ts,meta:ss,mainMeta:as,categoryName:ns,categoryIcon:cs,dot:os,readTime:is,timeIcon:rs,title:ls,description:ds,coverImage:hs,authorBlock:_s,avatar:ms,authorInfo:xs,authorName:ps,authorRole:us,body:gs,footer:js,tags:ys,tag:Ns,shareBtn:ws,footerContainer:fs},S={career:{label:"Карьера Рё работа",icon:te},training:{label:"Обучение Рё траектории",icon:ee},hiring:{label:"Найм Рё команды",icon:X},research:{label:"Рсследования",icon:K},skills:{label:"Навыки Рё развитие",icon:J},all:{label:"Блог",icon:Z}},$s=({article:s})=>{const t=j.useMemo(()=>S[s.category]||S.all,[s.category]),a=async c=>{c.preventDefault(),c.stopPropagation();const n=`${window.location.origin}/blog/${s.id}`;if(window.matchMedia("(max-width: 768px)").matches&&navigator.share)try{await navigator.share({title:s.title,text:s.description,url:n})}catch(i){i.name!=="AbortError"&&console.log(i)}else try{await navigator.clipboard.writeText(n),W({children:"Ссылка скопирована РІ буфер обмена"})}catch{W({children:"РќРµ удалось скопировать ссылку"})}};return e.jsxs("article",{className:r.container,children:[e.jsxs("header",{className:r.header,children:[e.jsxs("div",{className:`body-3 ${r.meta}`,children:[e.jsxs("div",{className:r.mainMeta,children:[e.jsxs("span",{className:r.categoryName,children:[e.jsx("img",{src:t.icon,alt:t.label,className:r.categoryIcon}),t.label]}),e.jsx("span",{className:r.dot,children:"•"}),e.jsx("span",{children:s.createdAt})]}),e.jsx("button",{className:r.shareBtn,onClick:a,"aria-label":"Поделиться статьей",children:e.jsx("img",{src:R,alt:"Share"})})]}),e.jsx("h1",{className:r.title,children:s.title}),e.jsx("p",{className:`body-3 ${r.description}`,children:s.description}),e.jsx("img",{src:s.coverUrl,alt:"Cover",className:r.coverImage}),e.jsxs("div",{className:r.authorBlock,children:[e.jsx("img",{src:s.author.avatar,alt:s.author.name,className:r.avatar}),e.jsxs("div",{className:r.authorInfo,children:[e.jsx("h3",{className:`h3 ${r.authorName}`,children:s.author.name}),e.jsx("p",{className:`body-4 ${r.authorRole}`,children:s.author.role})]}),e.jsxs("span",{className:r.readTime,children:[e.jsx("img",{src:se,alt:s.readTime,className:r.timeIcon}),s.readTime]})]})]}),e.jsxs("div",{className:r.body,children:[e.jsx(Xt,{blocks:s.blocks,manualToc:s.toc}),e.jsx(Ft,{blocks:s.blocks})]}),e.jsxs("footer",{className:r.footer,children:[e.jsxs("div",{className:r.authorBlock,children:[e.jsx("img",{src:s.author.avatar,alt:s.author.name,className:r.avatar}),e.jsxs("div",{className:r.authorInfo,children:[e.jsx("h3",{className:`h3 ${r.authorName}`,children:s.author.name}),e.jsx("p",{className:`body-4 ${r.authorRole}`,children:s.author.role})]})]}),e.jsxs("div",{className:r.footerContainer,children:[e.jsx("div",{className:r.tags,children:s.tags.map(c=>e.jsx("span",{className:`body-3 ${r.tag}`,children:c},c))}),e.jsx("button",{className:r.shareBtn,onClick:a,"aria-label":"Поделиться статьей",children:e.jsx("img",{src:R,alt:"Share"})})]})]})]})},vs="_container_fe7g4_1",Cs="_header_fe7g4_8",bs="_meta_fe7g4_14",ks="_title_fe7g4_19",qs="_description_fe7g4_25",Bs="_author_fe7g4_29",Ts="_body_fe7g4_36",N={container:vs,header:Cs,meta:bs,title:ks,description:qs,author:Bs,body:Ts},Is=()=>(M(),e.jsxs("div",{className:N.container,children:[e.jsxs("div",{className:N.header,children:[e.jsxs("div",{className:N.meta,children:[e.jsx(h,{width:120,height:20}),e.jsx(h,{width:80,height:20}),e.jsx(h,{width:60,height:20})]}),e.jsxs("div",{className:N.title,children:[e.jsx(h,{height:40,width:"80%"}),e.jsx(h,{height:40,width:"60%"})]}),e.jsx("div",{className:N.description,children:e.jsx(h,{lines:2,height:20})}),e.jsx(h,{height:300,width:"100%",style:{borderRadius:"20px"}}),e.jsxs("div",{className:N.author,children:[e.jsx(h,{variant:"circle",width:48,height:48}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[e.jsx(h,{width:120,height:16}),e.jsx(h,{width:80,height:14})]})]})]}),e.jsxs("div",{className:N.body,children:[e.jsx(h,{lines:4,height:16,lineGap:10}),e.jsx(h,{height:200,width:"100%",style:{borderRadius:"12px"}}),e.jsx(h,{lines:6,height:16,lineGap:10})]})]})),As="_contentLayout_ui60d_1",I={contentLayout:As},Ds=()=>{var l,p,C,q;M();const{id:s}=D(),t=z(),a=B(G),c=B(Q),n=B(Y);if(j.useEffect(()=>(s&&t(F(s)),()=>{t(V())}),[t,s]),c)return e.jsx("div",{className:I.contentLayout,children:e.jsx(Is,{})});if(n||!a)return e.jsx("div",{className:I.center,children:e.jsx(ae,{title:"Статья РЅРµ найдена",message:"Р’РѕР·РјРѕР¶РЅРѕ, РѕРЅР° была удалена или ссылка некорректна."})});const o=`Статья - ${((l=a.seo)==null?void 0:l.title)||a.title}`,i=((p=a.seo)==null?void 0:p.description)||a.description,d={"@context":"https://schema.org","@type":"BlogPosting",headline:a.title,image:[a.coverUrl],datePublished:a.createdAt,author:{"@type":"Person",name:a.author.name},description:a.description};return e.jsxs(e.Fragment,{children:[e.jsx(ne,{title:o,description:i,ogImage:a.coverUrl,keywords:(C=a.seo)==null?void 0:C.keywords,type:"article",jsonLd:d,noindex:(q=a.seo)==null?void 0:q.noindex}),e.jsx("div",{className:I.contentLayout,children:e.jsx($s,{article:a})})]})};export{Ds as ArticlePage};