PageSourceSearch

https://www.pkoleasing.pl/_next/static/chunks/3375.6fb165aa0c70e186.js

js pkoleasing.pl collected 2026-10-02 06:03:45 UTC 4,884 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3375],{83375:(e,t,a)=>{a.r(t),a.d(t,{default:()=>I});var i=a(26514),n=a(48216),l=a(75834),s=a(2991),r=a(37191),o=a(70504),p=a(46225),d=a(54907),m=a(340),u=a(93794),x=a(54004),c=a(2141),h=a(34453),g=a(27133),y=a(58751),w=a(13436),A=a(42920),v=a(69001),b=a.n(v),N=a(11),f=a(83984),j=a(2058),_=a(16341),k=a(43849);let S=u.Df.withName("PKOBPNewsListTilesItem").create(()=>({itemContainer:{[x.Ay.breakpoints.down("sm")]:{maxWidth:"328px"}},title:{color:x.Ay.palette.primary.main,marginBottom:0,[x.Ay.breakpoints.down("sm")]:{fontSize:"18px",lineHeight:"24px",alignSelf:"start"}},imgContainer:{position:"relative",width:"390px",height:"220px",[x.Ay.breakpoints.down("md")]:{width:"100%"},[x.Ay.breakpoints.down("sm")]:{height:"186px",width:"328px"},"& span, & div, & span *":{width:"100% !important",height:"100% !important"}},image:{width:"100%",height:"100%",borderRadius:"40px",objectFit:"unset",[x.Ay.breakpoints.down("sm")]:{borderRadius:"10px"}},linkContainer:{textDecoration:"none",color:"inherit"}})),L=e=>{let{path:t,...a}=e,{classes:n}=S(),{title:s,image:r}=a,o=(0,l.useContext)(f.X4);return(0,i.jsx)(_.A,{className:b()(n.linkContainer),isExternal:!0,href:(0,k.r)(t,o,!1),ariaLabel:null==s?void 0:s.text,children:(0,i.jsxs)(N.A,{spacing:{xs:"22px",sm:"32px"},alignItems:"center",className:n.itemContainer,children:[r&&(0,i.jsx)(d.A,{className:n.imgContainer,children:(0,i.jsx)(j.Ay,{className:n.image,src:null==r?void 0:r.file_path_url,title:null==r?void 0:r.filename,alt:null==r?void 0:r.alt,loading:(null==r?void 0:r.loading)||"lazy"})}),(0,i.jsx)(A.A,{className:b()(n.title),variant:"h3",dangerouslySetInnerHTML:{__html:null==s?void 0:s.text}})]})})},C=u.Df.withName("PKOBPNewsListTiles").create(()=>({newsList:{listStyle:"none",padding:0},newsListItem:{[x.Ay.breakpoints.down("sm")]:{display:"flex",justifyContent:"center"}},loaderOverlay:{left:0,width:"100vw",height:"100vh",position:"fixed",zIndex:x.Ay.zIndex.overlayAboveAll,marginTop:"-56px"},titleWrapper:{textAlign:"center",marginBottom:"41px",[x.Ay.breakpoints.down("sm")]:{marginBottom:"30px"}},supertitle:{fontWeight:300,fontSize:"11px",letterSpacing:"1.65px",marginBottom:"86px",marginTop:0},subtitle:{fontWeight:300,marginBottom:0,marginTop:"24px"},title:{...x.Ay.typography.h1,margin:0,[x.Ay.breakpoints.down("md")]:{fontSize:"24px"}},paginationWrapper:{marginTop:"83px",[x.Ay.breakpoints.down("sm")]:{marginTop:"55px"}}})),T=e=>{let{...t}=e,{classes:a}=C(),{title:n,supertitle:s,subtitle:r,node:u,label_previous:x,label_next:v,aria_label_previous:b,aria_label_next:N}=t,[f,j]=(0,l.useState)(!1),[_,k]=(0,l.useState)([]),[S,T]=(0,l.useState)(0),I=(0,c.A)(),z=(0,l.useContext)(o.zp),B=(0,l.useContext)(w.G),W=(0,p.useRouter)(),P=(0,l.useRef)(null),M=Math.ceil(S/6),q=async()=>{if(!z)try{var e,t;j(!0);let{page:a}=W.query,i={page_id:u.link_internal,variant:"contents"},n=await I.apiNewsItemsList({page:Number(a)||1,page_size:6,...i});k((null==(e=n.data)?void 0:e.results)||[]),T((null==(t=n.data)?void 0:t.count)||0),j(!1)}catch(e){console.log(e),k([]),T(0),j(!1)}};(0,l.useEffect)(()=>{(async()=>{await q()})()},[W.query.page]);let E=e=>{W.replace({pathname:window.location.pathname,query:{page:e}},void 0,{shallow:!0})};return(0,i.jsxs)(d.A,{id:B,children:[f&&(0,i.jsx)(d.A,{className:a.loaderOverlay,"aria-live":"polite",role:"status",children:(0,i.jsx)(g.Ay,{isLoading:f,text:"Trwa ładowanie",withOverlay:!0,size:g.iW.LG})}),(0,i.jsxs)(d.A,{className:a.titleWrapper,children:[s&&(0,i.jsx)(A.A,{variant:"subtitle1",component:"p",className:a.supertitle,dangerouslySetInnerHTML:{__html:s}}),(0,i.jsx)(A.A,{variant:(0,h.a)(null==n?void 0:n.hx),className:a.title,children:null==n?void 0:n.text}),r&&(0,i.jsx)(A.A,{variant:"body3",className:a.subtitle,dangerouslySetInnerHTML:{__html:r}})]}),!_.length&&(0,i.jsx)(A.A,{className:a.noResults,variant:"body1",children:"Brak wynik\xf3w"}),(0,i.jsx)(m.Ay,{container:!0,rowSpacing:{xs:"40px",sm:"112px"},columnSpacing:"30px",component:"ul",className:a.newsList,ref:P,children:null==_?void 0:_.map(e=>{let{id:t,snippet:n,path:l}=e,{image:s,title:r}=n;return(0,i.jsx)(m.Ay,{item:!0,xs:12,sm:6,lg:4,component:"li",className:a.newsListItem,children:(0,i.jsx)(L,{path:l,image:s,title:r},t)},t)})}),S>6&&(0,i.jsx)(d.A,{className:a.paginationWrapper,children:(0,i.jsx)(y.A,{current:Number(W.query.page||"1"),pages:M,onChangePage:E,onChangePageByKeyboard:e=>{(null==P?void 0:P.current)&&(E(e),setTimeout(()=>{let e=P.current.querySelector("a, button, [tabindex]");e&&e.focus()},1e3))},renderMobileShowMoreBtn:!1,labelPrevious:x,labelNext:v,ariaLabelPrevious:b,ariaLabelNext:N})})]})},I=e=>{let t=s.YU.NEWS_LIST;return(0,i.jsx)(w.A,{...(0,n.A)(e,"id","defaultName","hide_on_mobile","uuid","isGlobalized","spacings"),prefix:t,children:"list"===e.template_variant?(0,i.jsx)(r.Ay,{...e}):(0,i.jsx)(T,{...e})})}}}]);

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.