PageSourceSearch

https://elteh.ru/_next/static/chunks/pages/news/[slug]-f3251815908dcbcc.js

js elteh.ru collected 2026-10-02 17:03:26 UTC 3,419 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9183],{6067:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var n=t(7876),i=t(7328),a=t.n(i);function l(e){let{data:s}=e,t=Array.isArray(s)?s:[s];return(0,n.jsx)(a(),{children:t.map((e,s)=>(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}},"schema-org-".concat(s)))})}t(4232)},6633:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/[slug]",function(){return t(8486)}])},8486:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>x,default:()=>j});var n=t(7876),i=t(4232),a=t(388),l=t(3951),r=t(7047),c=t(8230),o=t.n(c);class d extends i.Component{render(){let{t:e}=this.props,{news:s}=this.props;return s?(0,n.jsxs)("div",{children:[(0,n.jsx)(r.A,{}),(0,n.jsx)("main",{className:"main__theme-blue",children:(0,n.jsxs)("section",{className:"news-section",children:[(0,n.jsxs)("ul",{className:"breadcrumbs is-absolute",children:[(0,n.jsx)("li",{children:(0,n.jsx)(o(),{href:"/",children:e("Main page")})}),(0,n.jsx)("li",{children:(0,n.jsx)(o(),{href:"/news",children:e("News")})}),(0,n.jsx)("li",{children:s.title||""})]}),(0,n.jsx)("section",{className:"news-navigation"}),(0,n.jsxs)("article",{className:"single-news-container section_theme_padding-top",children:[(0,n.jsx)("h1",{className:"single-news-title j-text-appear",children:(0,n.jsx)("span",{className:"text-appear-wrap",children:(0,n.jsx)("span",{className:"text-appear",children:s.title||""})})}),(0,n.jsx)("time",{className:"single-news-date",children:s.date||""}),(0,n.jsxs)("div",{className:"media-container is-shown",children:[(0,n.jsx)("div",{className:"media-container__appear is-white"}),(0,n.jsx)("div",{className:"media-container__appear is-color"}),(0,n.jsx)("img",{src:s.image,alt:s.title||""})]}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:s.description}})]})]})}),(0,n.jsx)(l.A,{})]}):null}}let m=(0,a.CI)()(d);var p=t(6067),h=t(2153);function u(e){var s,t;let i=h.W6.endsWith("/")?h.W6.slice(0,-1):h.W6,a=null!=(s=null==e?void 0:e.news)?s:null,l=null==a?void 0:a.title,r=null==a?void 0:a.date,c=null==a?void 0:a.description,o=null!=(t=null==a?void 0:a.link)?t:e.slug?"".concat(i,"/news/").concat(e.slug):void 0,d=function(e,s){if(s)return s.startsWith("http://")||s.startsWith("https://")?s:s.startsWith("/")?"".concat(e).concat(s):"".concat(e,"/").concat(s)}(i,null==a?void 0:a.image),m=function(e){if(e)return e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}(c),u={"@context":"https://schema.org","@type":"NewsArticle",...l?{headline:l}:{},...o?{mainEntityOfPage:o}:{},...r?{datePublished:r}:{},...m?{description:m}:{},...d?{image:d}:{},publisher:{"@type":"Organization",name:"Элтехника",url:i}},x={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Главная",item:i},{"@type":"ListItem",position:2,name:"Новости",item:"".concat(i,"/news")},{"@type":"ListItem",position:3,name:null!=l?l:"News",item:o}].filter(e=>e&&void 0!==e.item)},j=e=>Array.isArray(e)?e.map(j):e&&"object"==typeof e?Object.fromEntries(Object.entries(e).filter(e=>{let[,s]=e;return void 0!==s}).map(e=>{let[s,t]=e;return[s,j(t)]})):e;return(0,n.jsx)(p.A,{data:[j(u),j(x)]})}var x=!0;let j=e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u,{news:e.news,slug:e.slug}),(0,n.jsx)(m,{...e})]})}},e=>{var s=s=>e(e.s=s);e.O(0,[8230,7047,3951,636,6593,8792],()=>s(6633)),_N_E=e.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.