1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84743,91998],{40161:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/project/diplomacy_center/articles/[[...slug]]",function(){return t(91998)}])},58628:function(n,e,t){"use strict";t.d(e,{Z:function(){return o}});var r=t(85893),i=t(67294),a=t(59459);function o(n){let{main:e,bg:t,embed:o,slug:l}=n,[c,s]=(0,i.useState)("");(0,i.useEffect)(()=>{if(null==e?void 0:e.path){let n=document.getElementById("layoutGlobal");n&&(n.classList.add("brandingDefault"),n.classList.add("".concat("brandingDefault-"+l)));let r=e.path?"\n .branding {\n font-size: 0;\n line-height: 0;\n background: url(".concat(a.Ns).concat(e.path,") no-repeat left 50% / cover;\n padding-bottom: ").concat(e.width&&e.height?e.height/e.width*100:0,"%;\n }\n @media screen and (min-width: 768px) {\n .branding {\n min-height: 240px;\n max-height: 240px;\n padding-bottom: 0;\n }\n }\n "):"",i=(null==t?void 0:t.path)?"\n @media screen and (min-width: 1280px) {\n .branding {\n background: none;\n max-height: none;\n }\n #layoutGlobal::before {\n content: '';\n display: block;\n position: absolute;\n width: calc(100vw - var(--scrollbar-width));\n background-image: url(".concat(a.Ns).concat(t.path,");\n background-repeat: no-repeat;\n top: 0;\n bottom: 0;\n left: calc((100vw - var(--scrollbar-width) - 1280px) / 2 + 270px);\n background-position: 0 -95px;\n }\n .editorPanelInited #layoutGlobal::before {\n background-position: 0 -95px;\n }\n }\n @media screen and (min-width: 1680px) {\n #layoutGlobal::before {\n left: calc((100vw - var(--scrollbar-width) - 1680px) / 2 + 270px);\n background-position: 0 -130px;\n }\n }\n "):"";return s("<style>".concat(r).concat(i,"</style>").concat(o)),()=>{n&&(n.classList.remove("brandingDefault"),n.classList.remove("".concat("brandingDefault-"+l))),s("")}}},[o,e,t,l]);let d=(null==t?void 0:t.source)||(null==e?void 0:e.source);return(0,r.jsx)(r.Fragment,{children:d?(0,r.jsx)("a",{href:d,target:"_blank",rel:"noreferrer",children:(0,r.jsx)("div",{className:"branding",children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:c}})})}):(0,r.jsx)("div",{className:"branding",children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:c}})})})}},74822:function(n,e,t){"use strict";function r(n){if(!n)return;let e=n.branding_type,t=n.images||[];if(t.length&&e){let r={item:n,main:void 0,bg:void 0,type:e,embed:n.embed,slug:n.slug};return t.forEach(n=>{let e=n.slug;e&&-1!==e.indexOf("main")&&(r.main=n),e&&-1!==e.indexOf("bg")&&(r.bg=n)}),r.slug=n.slug,r}}t.d(e,{Z:function(){return r}})},91998:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return p},default:function(){return b}});var r=t(85893),i=t(58628),a=t(42811),o=t(91267),l=t(15040),c=t(91683),s=t(92686),d=t(48362),u=t(74822);function g(n){let{data:e}=n,t=(0,d.ZP)(e),g=t("project"),h=t("item")[0]._source,p=g[0]._source,b=(0,u.Z)(p);return(0,r.jsxs)(o.Z,{children:[(0,r.jsx)(l.Z,{item:h}),(0,r.jsxs)(c.Z,{children:[b&&"type_t"===b.type&&(0,r.jsx)(i.Z,{...b}),(0,r.jsx)(a.Z,{errMsg:"ÐÑибка в блоке Article",children:(0,r.jsx)(s.Z,{item:h,mainProjectSlug:p.slug,showAdfox:!b,isWhiteBg:!0})})]})]})}var h=t(45085),p=!0;function b(n){return(0,r.jsx)(g,{data:n})}b.getLayout=n=>{let e=n.props.serverError?null:(0,d.pW)(n.props)._source,t={};return e&&(t.brandingInfo=(0,u.Z)(e)),(0,h.Z)({page:n,params:t})}}},function(n){n.O(0,[30719,87190,32634,7630,17909,82145,95777,89045,97464,15828,92686,92888,49774,40179],function(){return n(n.s=40161)}),_N_E=n.O()}]);
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.