PageSourceSearch

https://litportal.ru/_next/static/chunks/4949-9c8d956e9a1b88aa.js

js litportal.ru collected 2026-10-02 20:25:36 UTC 10,023 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4949],{4949:function(a,e,t){"use strict";var r=t(5893),o=t(2415),n=t(5352),c=t(582),s=t(6759),i=t(1464),_=t(2114);e.Z=a=>{let{books:e,totalAlias:t,type:d}=a,l=Math.ceil(e.total_count/_.Hj),m=(0,i.iv)(t),b={books:"книги",audio_books:"аудиокниги",drafts:"черновика"}[d],k='Результаты поиска по запросу "'.concat(m,'"'),u="/search/";return(0,r.jsxs)(o.Z,{title:k,description:"Результаты поиска книг и авторов в библиотеке ЛитПортал.",canonicalHref:u,pageHref:u,robotsNoFollow:!0,children:[(0,r.jsx)(s.Z,{firstPageName:"Поиск ".concat(b)}),(0,r.jsx)("h1",{className:"h1",children:"Поиск ".concat(b," по названию: \xab").concat(m,"\xbb")}),(0,r.jsx)("div",{className:"bookCardItemsWrap",children:e.data.length?e.data.map(a=>{var e;return(0,r.jsx)(n.Z,{extraClassName:"bookCardItem_long",book:{alias:a.alias,external_id:a.book.external_id,title:a.book.title,type:a.type,rating:a.rating,description:a.book.description,year:a.book.year,allow_full_free:a.book.allow_full_free,created_at:a.created_at,genre:(null===(e=a.genres[0])||void 0===e?void 0:e.title)||"",retelling:a.retaling},author:{alias:a.author.alias,first_name:a.author.first_name,middle_name:a.author.middle_name,last_name:a.author.last_name}},a.id)}):(0,r.jsx)("div",{children:"Книги не найдены"})}),(0,r.jsx)(c.Z,{pagesCount:null!=l?l:0,postName:"search/".concat(t,"/").concat(d,"/")})]})}},5352:function(a,e,t){"use strict";var r=t(5893),o=t(1664),n=t.n(o),c=t(4311),s=t(8352),i=t(2114),_=t(1464),d=t(347),l=t(455),m=t.n(l),b=t(3611);e.Z=a=>{let{extraClassName:e,book:t,author:o}=a,l="/avtory/".concat(o.alias,"/").concat(1===t.allow_full_free&&"book"===t.type?"read/page/1/":"").concat(t.alias,"/"),k=(0,_.O_)(String(o.first_name),String(o.middle_name),String(o.last_name));return(0,r.jsxs)("div",{className:e?"".concat(m().bookCardItem," ").concat(m()["".concat(e)]):"".concat(m().bookCardItem),children:[(0,r.jsx)("div",{className:m().bookCardItem__img,children:(0,r.jsxs)(n(),{prefetch:!1,href:l,children:[t.allow_full_free&&t.allow_full_free>0?(0,r.jsx)("span",{className:m().bookCardItem__fullVersion,children:"Полная версия"}):(0,r.jsx)(r.Fragment,{}),t.retelling&&(0,r.jsx)(b.Z,{}),(0,r.jsx)("img",{src:"".concat(i.AV,"/covers_185/").concat(t.external_id,".jpg"),alt:t.title,width:"123",height:"175",onError:_.HF})]})}),(0,r.jsxs)("div",{className:m().bookCardItem__desc,children:[!!o&&k.length>2&&(0,r.jsx)("div",{className:m().bookCardItem__author,children:(0,r.jsx)(n(),{prefetch:!1,href:"/avtory/".concat(o.alias,"/"),children:(0,_.O_)(String(o.first_name),String(o.middle_name),String(o.last_name))})}),(0,r.jsx)("div",{className:m().bookCardItem__name,children:(0,r.jsx)(n(),{prefetch:!1,href:l,children:t.title})}),(0,r.jsx)("div",{className:m().bookCardItem__type,children:"audio_book"===t.type?"аудиокнига":"электронная книга"}),t.created_at&&(0,r.jsx)("div",{className:m().bookCardItem__date,children:(0,r.jsx)("time",{dateTime:t.created_at,children:(0,c.Z)((0,s.Z)(t.created_at),"dd.MM.yyyy")})}),(0,r.jsx)("div",{className:m().bookCardItem__rating,children:(0,r.jsx)(d.Z,{rating:t.rating})}),t.year&&(0,r.jsxs)("div",{className:m().bookCardItem__year,children:["Год написания книги ",t.year]}),t.genre&&(0,r.jsxs)("div",{className:m().bookCardItem__genre,children:["Жанр: ",t.genre]}),(0,r.jsx)("div",{className:m().bookCardItem__text,children:(0,_.sz)(t.description,195)})]})]})}},347:function(a,e,t){"use strict";var r=t(5893),o=t(6402),n=t.n(o);e.Z=a=>{let{rating:e,extraClassName:t}=a,o=Number(e);if(!(o>0)||!(o<6))return(0,r.jsxs)("div",{className:t?"".concat(n().bookCardRating," ").concat(n()["".concat(t)]):"".concat(n().bookCardRating),children:[Array.from([,,,,,],()=>(0,r.jsx)("span",{className:n().bookCardRating__star},"".concat(Math.random(),"-gray"))),(0,r.jsx)("span",{className:n().bookCardRating__txt,children:o})]});{let a=5-o;return(0,r.jsxs)("div",{className:t?"".concat(n().bookCardRating," ").concat(n()["".concat(t)]):"".concat(n().bookCardRating),children:[Array.from(Array(o),()=>(0,r.jsx)("span",{className:"".concat(n().bookCardRating__star," ").concat(n().bookCardRating__star_active)},"".concat(Math.random(),"-orange"))),Array.from(Array(a),()=>(0,r.jsx)("span",{className:"".concat(n().bookCardRating__star)},"".concat(Math.random(),"-gray"))),(0,r.jsx)("span",{className:n().bookCardRating__txt,children:o})]})}}},6759:function(a,e,t){"use strict";var r=t(5893),o=t(1664),n=t.n(o),c=t(987),s=t.n(c);e.Z=a=>{let{firstPageName:e,secondPageName:t,thirdPageName:o,firstPageAlias:c,secondPageAlias:i}=a;return(0,r.jsxs)("ul",{className:s().breadcrumbsList,children:[(0,r.jsx)("li",{className:s().breadcrumbsList__item,children:(0,r.jsx)(n(),{prefetch:!1,className:s().breadcrumbsList__itemLink,href:"/",children:"Главная"})}),(0,r.jsx)("li",{className:s().breadcrumbsList__item,children:c?(0,r.jsx)(n(),{prefetch:!1,className:s().breadcrumbsList__itemLink,href:"".concat(c),children:e}):(0,r.jsx)(r.Fragment,{children:e})}),!!t&&(0,r.jsx)("li",{className:s().breadcrumbsList__item,children:i?(0,r.jsx)(n(),{prefetch:!1,className:s().breadcrumbsList__itemLink,href:"".concat(i),children:t}):(0,r.jsx)(r.Fragment,{children:t})}),!!o&&(0,r.jsx)("li",{className:s().breadcrumbsList__item,children:(0,r.jsx)("span",{className:s().breadcrumbsList__itemTxt,children:o})})]})}},582:function(a,e,t){"use strict";t.d(e,{Z:function(){return g}});var r=t(5893),o=t(1664),n=t.n(o),c=t(1163);let s=(a,e)=>{let t=[],r=0;return!e&&1>=e||(0<a-2&&t.push(a-2),0<a-1&&t.push(a-1),t.push(a),e>=a+1&&t.push(a+1),e>=a+2&&t.push(a+2),1<t[0]-1&&(t.unshift("..."),r+=1),2<e-t[t.length-(2-r)]&&t.pu
1sh("..."),-1===t.indexOf(1)&&t.unshift(1),-1===t.indexOf(e)&&t.push(e)),t};var i=t(3609),_=t.n(i),d=a=>{let{currentPageNo:e,postName:t,isReadPage:o,postfixUrl:c,firstPageLink:s}=a;if(!e||0==e-1)return null;let i=2===e?s:"/".concat(t).concat(e-1).concat(c?"/".concat(c):"");return(0,r.jsx)(n(),{prefetch:!1,className:o?"".concat(_().prev," ").concat(_().prev_read):"".concat(_().prev),href:i,children:o&&(0,r.jsx)(r.Fragment,{children:"<<"})})},l=t(5410),m=t.n(l),b=a=>{let{currentPageNo:e,pagesCount:t,postName:o,isReadPage:c,postfixUrl:s}=a;if(!e||!t||t<e+1)return null;let i="/".concat(o).concat(e+1).concat(s?"/".concat(s):"");return(0,r.jsx)(n(),{prefetch:!1,className:c?"".concat(m().next," ").concat(m().next_read):"".concat(m().next),href:i,children:c&&(0,r.jsx)(r.Fragment,{children:">>"})})},k=t(8635),u=t.n(k),g=a=>{let e,{pagesCount:t=0,postName:o,extraClassName:i,postfixUrl:_,isReadPage:l,isStaticPages:m=!1,defaultCurrentPage:k}=a;if(!t||!o)return null;let g=(0,c.useRouter)();if(m){let a=g.pathname.split("/");e=Number(a[a.length-1])}else{var h,x;e=k||parseInt(null!==(x=null==g?void 0:null===(h=g.query)||void 0===h?void 0:h.pageNumber)&&void 0!==x?x:1)||1}let C=g.asPath,p=s(e,t),f=l?"".concat(C.replace("/page/".concat(k,"/"),"/page/1/")):C.includes("page")?C.split("page")[0]:"./";return t<2?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(r.Fragment,{children:t>1?(0,r.jsx)("div",{className:u().bookPagination,children:(0,r.jsxs)("div",{className:i?"".concat(u().pagination," ").concat(u()["".concat(i)]):u().pagination,children:[(0,r.jsx)(d,{currentPageNo:e,postName:o,isReadPage:l,postfixUrl:_,firstPageLink:f}),p.map((a,t)=>{let c=_?"/".concat(o).concat(a).concat(_):"/".concat(o).concat(a);return"number"==typeof a?(0,r.jsx)(n(),{prefetch:!1,href:1===a?f:c,className:a===e?"".concat(u().active):"".concat(u().pagination__link),children:a},"id-".concat(t)):(0,r.jsx)("span",{children:a},"id-".concat(t))}),(0,r.jsx)(b,{currentPageNo:e,pagesCount:t,postName:o,isReadPage:l,postfixUrl:_})]})}):(0,r.jsx)(r.Fragment,{})})}},3611:function(a,e,t){"use strict";var r=t(5893),o=t(3532),n=t.n(o);e.Z=()=>(0,r.jsx)("span",{className:n().retellingSticker,children:"Краткое содержание"})},455:function(a){a.exports={bookCardItem:"BookCardItem_bookCardItem__Wc_IL",bookCardItem_short:"BookCardItem_bookCardItem_short___m5z9",bookCardItem_long:"BookCardItem_bookCardItem_long__fUU2o",bookCardItem__img:"BookCardItem_bookCardItem__img__jClJI",bookCardItem__type:"BookCardItem_bookCardItem__type__aU4DD",bookCardItem__desc:"BookCardItem_bookCardItem__desc___87E9",bookCardItem__author:"BookCardItem_bookCardItem__author__Fi6tq",bookCardItem__name:"BookCardItem_bookCardItem__name__g5hJx",bookCardItem__rating:"BookCardItem_bookCardItem__rating__8DGtx",bookCardItem__text:"BookCardItem_bookCardItem__text__0DpxZ",bookCardItem__year:"BookCardItem_bookCardItem__year__88R6B",bookCardItem__fullVersion:"BookCardItem_bookCardItem__fullVersion___DVlX",bookCardItem__date:"BookCardItem_bookCardItem__date__okdQP",bookCardItem__genre:"BookCardItem_bookCardItem__genre__2VTuA"}},6402:function(a){a.exports={bookCardRating_small:"BookCardRating_bookCardRating_small__SJvZj",bookCardRating__star:"BookCardRating_bookCardRating__star__qwJan",bookCardRating__txt:"BookCardRating_bookCardRating__txt__IzMWb",bookCardRating_top:"BookCardRating_bookCardRating_top__zQ7C8",bookCardRating__star_active:"BookCardRating_bookCardRating__star_active__jTr0U"}},987:function(a){a.exports={breadcrumbsList:"Breadcrumbs_breadcrumbsList__QwBfl",breadcrumbsList__item:"Breadcrumbs_breadcrumbsList__item__s_W_M",breadcrumbsList__itemLink:"Breadcrumbs_breadcrumbsList__itemLink__t_WCt",breadcrumbsList__itemLink_genre:"Breadcrumbs_breadcrumbsList__itemLink_genre__2c8Vk"}},5410:function(a){a.exports={next:"Next_next__5tJXc",next_read:"Next_next_read__af5wp"}},8635:function(a){a.exports={pagination:"Pagination_pagination__thWr5",pagination__link:"Pagination_pagination__link__innVr",active:"Pagination_active__FIUxq"}},3609:function(a){a.exports={prev:"Previous_prev__nRln6",prev_read:"Previous_prev_read__90vMX"}},3532:function(a){a.exports={retellingSticker:"RetellingSticker_retellingSticker__Qee8x"}}}]);

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.