1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9548],{8583:(e,t,a)=>{"use strict";a.d(t,{n:()=>s});let i="https://api-frontend.uremont.com",n="https://api-frontend.uremont.com/v2",s={getDescParts:`${i}/common/bid-desc-part/get-desc-parts/`,searchCity:`${i}/map/city/search-items/`,getBidList1:`${i}/common/default/bid-list/`,getMarkList:`${i}/car/mark/get-list/`,getModelList:`${i}/car/model/get-list/`,getRole:`${i}/user/user/info/`,getProfileCustomer:`${n}/customer/profile/view/`,getProfileService:`${n}/service/profile/view/`,apiv2Url:n,getCountryId:`${n}/common/default/get-country-id/`,getCountriesList:`${n}/map/country/get-list/`,getPopularCities:`${n}/map/city/get-popular-list/`,getBidList:`${n}/common/default/bid-list/`,getRecommendedServices:`${n}/homepage/recommended-service-list/`,getPublicationList:`${n}/homepage/publication-list/`,getPublicationsCategoryList:`${n}/publication/category/index/`,getCustomerLastReviewList:`${n}/homepage/customer-last-review-list/`,getTopWorkTypes:`${n}/homepage/top-work-types/`,getSeoPageData:`${n}/common/default/get-seo-page-data/`,getCarCatalogPageBySlug:`${n}/common/seo/get-car-catalog-page-by-slug/`,getServicePageBySlug:`${n}/common/seo/get-service-page-by-slug/`,getPublicationsArticleList:`${n}/publication/article/index/`}},19013:(e,t,a)=>{"use strict";a.d(t,{y:()=>r});var i=a(32),n=a.n(i),s=a(8583);let r=async(e,t=0,a=6)=>{try{let{data:i}=await n().get(`${s.n.apiv2Url}/publication/article/index/`,{params:{category_code:e,page:t,limit:a}});return i}catch(e){return Promise.resolve([])}}},40655:e=>{e.exports={container:"Preview_container__uYL4S",row:"Preview_row__o_NCh",title:"Preview_title__ntBFZ",link:"Preview_link__6J_ea",cardContainer:"Preview_cardContainer__bN5E7",card:"Preview_card__oSYmr",cardItemImage:"Preview_cardItemImage__zFNSq",cardImage:"Preview_cardImage__fodSX",cardInnerContainer:"Preview_cardInnerContainer__UgXdz",cardTitle:"Preview_cardTitle__25u94",cardRow:"Preview_cardRow__wX726",cardText:"Preview_cardText__ImM6Q",cardView:"Preview_cardView__P_Z6v",cardLabel:"Preview_cardLabel__VmsLm",linkBottom:"Preview_linkBottom__bFoUp"}},49999:e=>{e.exports={wrapper:"Publications_wrapper__hxF7A",title:"Publications_title__X7nCq",loader:"Publications_loader__56_7z",preview:"Publications_preview__yUJ8n"}},58550:(e,t,a)=>{"use strict";a.d(t,{R:()=>_});var i=a(6029);a(55729);var n=a(32988),s=a.n(n),r=a(82203),o=a.n(r),c=a(94970),l=a.n(c),d=a(58719);let _=({tabs:e,active:t,setCurrentPage:a})=>(0,i.jsx)("div",{"data-testid":d.o.TABS_PANEL,className:l().container,children:e.map((e,n)=>(0,i.jsx)(o(),{href:e.link,"data-testid":`${d.o.TABS_PANEL_LINK}-${n}`,children:(0,i.jsx)("div",{"data-testid":`${d.o.TABS_PANEL_ITEM}-${n}`,onClick:()=>{a&&a(1)},className:s()(l().item,{[l().active]:t===e.link}),children:e.name})},n))})},58857:e=>{e.exports={pagination:"Pagination_pagination__CoB4p",paginationItem:"Pagination_paginationItem__vXQu8",paginationChevronLeft:"Pagination_paginationChevronLeft__cVFP0",paginationChevronRight:"Pagination_paginationChevronRight__h35FA",paginationChevronLeftStep:"Pagination_paginationChevronLeftStep__jVDMU",paginationChevronRightStep:"Pagination_paginationChevronRightStep___h_7f"}},61144:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>k,default:()=>f});var i=a(6029),n=a(55729),s=a(39539),r=a(9789),o=a(58894),c=a(7893),l=a(49999),d=a.n(l),_=a(94005),g=a(58550),m=a(19013),p=a(32988),u=a.n(p),h=a(82203),N=a.n(h),v=a(1201),P=a(95667),I=a(58857),C=a.n(I),T=a(58719);let w=({currentPage:e,onPageChange:t,pagesCount:a})=>{let n=e=>()=>t(e);return(0,i.jsxs)("div",{"data-testid":T.o.PAGINATION_CONTAINER,className:C().pagination,children:[(0,i.jsx)("button",{"data-testid":T.o.PAGINATION_FIRST_BUTTON,className:u()(C().paginationItem,C().paginationChevronLeft),onClick:n(1),disabled:1===e}),(0,i.jsx)("button",{"data-testid":T.o.PAGINATION_PREV_BUTTON,className:u()(C().paginationItem,C().paginationChevronLeftStep),onClick:n(e-1),disabled:1===e}),e>1&&(0,i.jsx)("button",{"data-testid":T.o.PAGINATION_PAGE_BUTTON,className:u()(C().paginationItem),onClick:n(e-1),children:e-1}),(0,i.jsx)("button",{"data-testid":T.o.PAGINATION_PAGE_BUTTON,className:u()(C().paginationItem),style:{fontWeight:"700",fontSize:"1rem",backgroundColor:"#D6D6D6"},children:e}),e<a&&(0,i.jsx)("button",{"data-testid":T.o.PAGINATION_PAGE_BUTTON,className:u()(C().paginationItem),onClick:n(e+1),children:e+1}),(0,i.jsx)("button",{"data-testid":T.o.PAGINATION_NEXT_BUTTON,className:u()(C().paginationItem,C().paginationChevronRightStep),onClick:n(e+1),disabled:e===a}),(0,i.jsx)("button",{"data-testid":T.o.PAGINATION_LAST_BUTTON,className:u()(C().paginationItem,C().paginationChevronRight),onClick:n(a),disabled:e===a})]})};var b=a(40655),x=a.n(b),$=a(91624);let L=({title:e,currentPage:t,category:a,pagination:n,articles:s,onLoadPage:r})=>(0,i.jsx)(i.Fragment,{children:!(0,v.A)(s)&&(0,i.jsxs)("div",{"data-testid":T.o.CURRENT_PUBLICATION_CONTAINER,className:x().container,children:[(0,i.jsx)("div",{className:x().row,children:(0,i.jsx)("h3",{className:x().title,children:e})}),(0,i.jsx)("div",{className:x().cardContainer,children:s&&s.map(t=>(0,i.jsx)(N(),{href:`/publications/${a}/${t.slug}`,children:(0,i.jsxs)("div",{"data-testid":T.o.CURRENT_PUBLICATION_ARTICLE_LINK,className:x().card,children:[(0,i.jsx)("div",{className:x().cardItemImage,children:t.image&&t.image.image_800&&(0,i.jsx)(P._V,{className:x().cardImage,src:t.image.original_image,alt:t.title,width:884,height:404})}),(0,i.jsx)("div",{className:x().cardLabel,children:e}),(0,i.jsxs)("div",{className:x().cardInnerContainer,children:[(0,i.jsx)("h2",{className:x().cardTitle,children:t.title}),(0,i.jsxs)("div",{className:x().cardRow,children:[(0,i.jsx)("div",{className:x().cardText,children:(0,$.o)(t.published_time)}),(0,i.jsx)("div",{className:u()(x().cardText,x().cardView),children:t.count_view})]})]})]})},t.id))}),(0,i.jsx)(w,{currentPage:t,onPageChange:r,pagesCount:n?.pagesCount})]})});
1var j=a(70415);let A=[{link:"/publications",name:"ÐÑе"},{link:"/publications/news",name:"ÐовоÑÑи"},{link:"/publications/articles",name:"СÑаÑÑи"}];var k=!0;let f=({ip:e,category:t,items:a})=>{let[l,p]=(0,n.useState)(a),[u,h]=(0,n.useState)(1),N=async e=>{p(await (0,m.y)(t,e,12)),h(e)},v=(e=>{switch(e){case"news":return"ÐовоÑÑи";case"articles":return"СÑаÑÑи";default:return""}})(t),P=[{name:"ÐлавнаÑ",link:"/"},{name:"Ðлог",link:"/publications"},{name:v,link:`/publications/${t}`}];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.g7,{title:`${v} компании UREMONT`,description:(e=>{switch(e){case"news":return"ÐовоÑÑи и обновлениÑ. СледиÑе за поÑледними ÑобÑÑиÑми и изменениÑми в авÑомобилÑной индÑÑÑÑии.";case"articles":return"ÐнÑеÑеÑнÑе ÑÑаÑÑи о ÑемонÑе авÑомобилей. ÐолезнÑе ÑовеÑÑ Ð¸ ÑекомендаÑии.";default:return""}})(t),canonical:`${c.NB}/publications/${t}`,ogImage:r.AG.uremont}),(0,i.jsxs)("div",{className:"page-layout","data-testid":T.o.PUBLICATION_CATEGORY_PAGE,children:[(0,i.jsx)(o.Y,{ip:e,contacts:j.PL}),(0,i.jsxs)("main",{className:d().wrapper,children:[(0,i.jsx)(_.B,{links:P}),(0,i.jsx)("h1",{className:d().title,children:"Ðлог"}),(0,i.jsx)(g.R,{tabs:A,active:`/publications/${t}`,setCurrentPage:h}),(0,i.jsx)(L,{title:v,currentPage:u,category:t,onLoadPage:N,pagination:l?.meta?.pagination,articles:l?.data?.items})]}),(0,i.jsx)(s.c,{uremontMainLink:c.NB,uremontLink:c.$7,autopartsLink:c.S$,serviceLink:c.hM,insuranceLink:c.HV,corpar
1kLink:c.hu,uremontMapLink:c.SI})]})]})}},83684:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/publications/[category]",function(){return a(61144)}])},91624:(e,t,a)=>{"use strict";function i(e){let t=new Date(1e3*e),a=10>t.getDate()?`0${t.getDate()}`:t.getDate(),i=t.getMonth(),n=t.getFullYear(),s=t.getHours(),r=10>t.getMinutes()?`0${t.getMinutes()}`:t.getMinutes();return`${a} ${["ÑнваÑÑ","ÑевÑалÑ","маÑÑа","апÑелÑ","маÑ","иÑнÑ","иÑлÑ","авгÑÑÑа","ÑенÑÑбÑÑ","окÑÑбÑÑ","ноÑбÑÑ","декабÑÑ"][i]} ${n}, ${s}:${r}`}a.d(t,{o:()=>i})},94970:e=>{e.exports={container:"TabsPanel_container__evS52",item:"TabsPanel_item__jf7aZ",active:"TabsPanel_active__PM4X5"}}},e=>{e.O(0,[4477,4568,2203,4473,4666,9081,5060,6641,636,6593,8792],()=>e(e.s=83684)),_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.