PageSourceSearch

https://start.ru/_next/static/chunks/pages/journal-map/page/[page]-c7eeb436bfdba2e2.js

js start.ru collected 2026-10-02 07:47:10 UTC 6,803 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8982],{83290:(r,a,e)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/journal-map/page/[page]",function(){return e(16496)}])},25578:(r,a,e)=>{"use strict";e.d(a,{A:()=>d,h:()=>p});var t=e(74848);e(96540);var l=e(30291),n=e(18190),o=e(31083);let i=r=>{let{articles:a,className:e}=r;return(0,t.jsx)("ul",{className:e,children:a.map(r=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"/journal/".concat(r.alias),children:r.anchor})},r.id||r.alias))})},s=r=>{let{currentPage:a,total:e,className:l}=r;if(!Number.isInteger(e)||e<=n.l1)return null;let o=Math.ceil(e/n.l1);return(0,t.jsx)("nav",{className:l,"aria-label":"Страницы карты журнала",children:Array.from({length:o},(r,a)=>a+1).map(r=>r===a?(0,t.jsx)("span",{"aria-current":"page",children:r},r):(0,t.jsx)("a",{href:(0,n.cx)(r),children:r},r))})};var u=e(17215),c=e.n(u);let d=()=>(0,t.jsxs)("main",{className:"".concat(c().journalMap," ").concat(c().journalMap_error),children:[(0,t.jsx)(l.A,{title:"Карта статей временно недоступна",noIndex:!0}),(0,t.jsxs)("div",{className:c().journalMap__content,children:[(0,t.jsx)("h1",{className:c().journalMap__title,children:"Карта статей временно недоступна"}),(0,t.jsx)("p",{className:c().journalMap__message,children:"Попробуйте открыть страницу позже."})]})]}),p=r=>{let{articles:a,currentPage:e=1,total:u=a.length}=r,d=(0,n.cx)(e),p=e>1?" — страница ".concat(e):"",_=[{title:"Статьи Журнала START",name:"Статьи Журнала START"}];return(0,t.jsxs)("div",{className:c().journalMap,children:[(0,t.jsx)(l.A,{title:"Все Статьи Журнала START".concat(p),description:"Все опубликованные статьи журнала онлайн-кинотеатра START".concat(p,"."),breadCrumbs:_,canonical:d}),(0,t.jsx)(o.A,{breadcrumbs:_}),(0,t.jsxs)("main",{className:c().journalMap__content,children:[(0,t.jsx)(i,{articles:a,className:c().journalMap__list}),(0,t.jsx)(s,{currentPage:e,total:u,className:c().journalMap__pagination})]})]})}},18190:(r,a,e)=>{"use strict";e.d(a,{Nh:()=>n,SP:()=>o,cx:()=>i,dG:()=>s,l1:()=>l});var t=e(27116);let l=3e3,n=r=>{var a,e,t;return!!((null==r?void 0:null===(e=r.registration)||void 0===e?void 0:null===(a=e.authData)||void 0===a?void 0:a.profile_for_child)||(null==r?void 0:null===(t=r.profile)||void 0===t?void 0:t.childProfile))},o=r=>{var a,e,l,o;let i=null===(e=r.reduxStore)||void 0===e?void 0:null===(a=e.getState)||void 0===a?void 0:a.call(e);return(null===(o=r.req)||void 0===o?void 0:null===(l=o.cookies)||void 0===l?void 0:l[t.AR])==="True"||n(i)},i=r=>1===r?"/journal-map":"/journal-map/page/".concat(r),s=r=>{if("string"!=typeof r||!/^[1-9]\d*$/.test(r))return null;let a=Number(r);return Number.isSafeInteger(a)&&Number.isSafeInteger((a-1)*l)?a:null}},16496:(r,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>j});var t=e(74848),l=e(86715),n=e.n(l),o=e(96540),i=e(74368),s=e(25578),u=e(97093),c=e(27116),d=e(18190),p=e(70927);class _ extends o.Component{static async getInitialProps(r){var a,e,t,l;if((0,d.SP)(r))return r.res?(r.res.writeHead(302,{Location:"/kids"}),r.res.end()):n().replace("/kids"),{redirected:!0};let o=(0,d.dG)(r.query.page);if(1===o)return r.res?(r.res.writeHead(301,{Location:"/journal-map"}),r.res.end()):n().replace("/journal-map"),{redirected:!0};if(!o)return r.res&&(r.res.statusCode=404),{notFound:!0};let i=(null===(e=r.reduxStore.getState())||void 0===e?void 0:null===(a=e.systemInformation)||void 0===a?void 0:a.API_URL)||c.H$,s=(null===(l=r.reduxStore.getState())||void 0===l?void 0:null===(t=l.systemInformation)||void 0===t?void 0:t.API_KEY)||c.Lq;try{let a=await (0,p.d5)({apiUrl:i,apiKey:s,pageNumber:o});if(!a.articles.length)return r.res&&(r.res.statusCode=404),{notFound:!0};return{articles:a.articles,currentPage:o,total:a.total,hasError:!1}}catch(a){if(a instanceof p.AF&&404===a.status)return r.res&&(r.res.statusCode=404),{notFound:!0};return console.error("Failed to load journal map page ".concat(o),a),r.res&&(r.res.statusCode=500),{hasError:!0}}}componentDidMount(){this.props.childProfile&&n().replace("/kids")}componentDidUpdate(r){!r.childProfile&&this.props.childProfile&&n().replace("/kids")}render(){let{articles:r,currentPage:a,total:e,hasError:l,notFound:n,redirected:o,childProfile:i}=this.props;return o||i?null:n?(0,t.jsx)(u.A,{}):l?(0,t.jsx)(s.A,{}):(0,t.jsx)(s.h,{articles:r,currentPage:a,total:e})}}let j=(0,i.Ng)(r=>({childProfile:(0,d.Nh)(r)}))(_)},70927:(r,a,e)=>{"use strict";e.d(a,{AF:()=>n,d5:()=>_});var t=e(47819),l=e(18190);
1class n extends Error{constructor(r){super("Journal map API error in ".concat(r.url," status:").concat(r.status)),this.name="JournalMapApiError",this.status=r.status}}let o={amp:"&",apos:"'",gt:">",laquo:"\xab",lt:"<",mdash:"—",nbsp:" ",ndash:"–",quot:'"',raquo:"\xbb"},i=r=>r.replace(/&(#x[\da-f]+|#\d+|[a-z]+);/gi,(r,a)=>{var e;if("#"!==a[0])return null!==(e=o[a.toLowerCase()])&&void 0!==e?e:r;let t="x"===a[1].toLowerCase(),l=Number.parseInt(a.slice(t?2:1),t?16:10);return!Number.isInteger(l)||l<0||l>1114111?r:String.fromCodePoint(l)}),s=r=>i(r.replace(/<[^>]*>/g," ")).replace(/\s+/g," ").trim(),u=r=>s(r).split(" ").slice(0,3).join(" "),c=r=>{if("string"!=typeof(null==r?void 0:r.alias)||!r.alias.trim()||"string"!=typeof(null==r?void 0:r.title)||!r.title.trim())return null;let a=u(r.title);return a?{id:r.id,alias:r.alias.trim(),anchor:a}:null},d=r=>Array.isArray(r)?r.map(c).filter(Boolean):[],p=async r=>{var a,e,o;let{apiUrl:i,apiKey:s,skip:u=0,limit:c=l.l1}=r,p="".concat(i).concat(t.PI.journal).concat(s,"&content_lang=ru&locale=ru&skip=").concat(u,"&limit=").concat(c),_=await fetch(p,{credentials:"include",method:"GET"});if(_.status>=400)throw new n(_);let j=await _.json();if(!Array.isArray(null==j?void 0:j.articles))throw Error("Invalid journal map response from ".concat(_.url));return{articles:d(j.articles),total:null!==(o=null!==(e=null!==(a=null==j?void 0:j.items_total)&&void 0!==a?a:null==j?void 0:j.articles_total)&&void 0!==e?e:null==j?void 0:j.total)&&void 0!==o?o:null}},_=r=>{let{apiUrl:a,apiKey:e,pageNumber:t}=r;return p({apiUrl:a,apiKey:e,skip:(t-1)*l.l1,limit:l.l1})}},17215:r=>{r.exports={"storybook-root":"JournalMap_storybook-root__h3dxS",journalMap:"JournalMap_journalMap__uNjiW",journalMap_error:"JournalMap_journalMap_error__HKIJS",journalMap__content:"JournalMap_journalMap__content__l3Y_W",journalMap__title:"JournalMap_journalMap__title__jboR7",journalMap__message:"JournalMap_journalMap__message__wwJju",journalMap__list:"JournalMap_journalMap__list__Cq_b0",journalMap__pagination:"JournalMap_journalMap__pagination__Cb7H8"}}},r=>{var a=a=>r(r.s=a);r.O(0,[636,6593,8792],()=>a(83290)),_N_E=r.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.