PageSourceSearch

https://www.archidiecezja.lodz.pl/_next/static/chunks/pages/zdjecia-d3b5c507241bab6b.js

js archidiecezja.lodz.pl collected 2026-10-10 00:08:20 UTC 3,779 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[134],{50534:function(t,n,e){"use strict";e.r(n),e.d(n,{__N_SSG:function(){return N},default:function(){return k}});var a,o,i,l=e(17674),s=e(59499),r=(e(87794),e(95127)),c=e(20702),d=e(11327),u=e(52736),h=e(216),j=e(18928),m=e(15239),v=e(23569),g=e(2962),p=e(11163),f=e(67294),D=e(54572),x=e(87379),_=e(52618),w=(e(20564),e(3644)),Z=e(69432),C=e(71383),y=e(44119),P=(e.n(y)()(a||(a=(0,C.Z)(["\n\tquery Photos(\n\t\t$category: String\n\t\t$skip: Int\n\t\t$limit: Int\n\t\t$sort: [SortArgs!]\n\t\t$dateFrom: DateTime\n\t\t$dateTo: DateTime\n\t) {\n\t\tPosts(\n\t\t\tcategory: $category\n\t\t\tskip: $skip\n\t\t\tlimit: $limit\n\t\t\ttype: GALLERY\n\t\t\tsort: $sort\n\t\t\tdateFrom: $dateFrom\n\t\t\tdateTo: $dateTo\n\t\t) {\n\t\t\tmeta {\n\t\t\t\tafter\n\t\t\t\tlimit\n\t\t\t\ttotal\n\t\t\t\tskip\n\t\t\t}\n\t\t\tdata {\n\t\t\t\tID\n\t\t\t\tpost_title\n\t\t\t\tpost_date\n\t\t\t\tpost_type\n\t\t\t\tauthor\n\t\t\t\turl\n\t\t\t\tthumbnails {\n\t\t\t\t\tfile\n\t\t\t\t\tsize\n\t\t\t\t}\n\t\t\t\tcategories {\n\t\t\t\t\tid\n\t\t\t\t\tslug\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n"]))),e(12450),e(85893));!function(t){t.DateAsc="DateAsc",t.DateDesc="DateDesc"}(i||(i={}));var $=(o={},(0,s.Z)(o,i.DateAsc,{field:_.mZ.Date,order:_.As.Asc}),(0,s.Z)(o,i.DateDesc,{field:_.mZ.Date,order:_.As.Desc}),o),F=[{value:i.DateDesc,label:"Od najnowszych"},{value:i.DateAsc,label:"Od najstarszych"}];function k(){var t,n,e,a=(0,p.useRouter)(),o=a.push,s=a.query.page,x=void 0===s?1:s,C=[{name:w.Fj.Page,value:x},{name:w.Fj.DateRange,value:[null,null]},{name:w.Fj.Sorting,value:i.DateDesc}],y=(0,f.useState)((0,w.pB)(C)),k=y[0],N=y[1],b=(0,w.mN)(w.Fj.Page,k,N),A=(0,l.Z)(b,2),R=A[0],S=A[1],T=(0,w.mN)(w.Fj.DateRange,k,N),E=(0,l.Z)(T,2),I=E[0],O=E[1],G=(0,w.mN)(w.Fj.Sorting,k,N),q=(0,l.Z)(G,2),B=q[0],L=q[1];(0,f.useEffect)((function(){S(1)}),[I,B]);var W=(0,_.Eh)({variables:{limit:30,dateFrom:null!==(t=I[0])&&void 0!==t?t:void 0,dateTo:null!==(n=I[1])&&void 0!==n?n:void 0,skip:30*(R-1),sort:[$[B]]}}),X=W.data,J=W.loading,Y=W.error,H=null===X||void 0===X?void 0:X.Posts;return Y?(0,P.jsx)(r.Z,{}):(0,P.jsxs)(u.Z,{children:[(0,P.jsx)(g.PB,{title:"Zdj\u0119cia",canonical:(0,Z.J)("/zdjecia"),openGraph:{title:void 0}}),(0,P.jsxs)(D.Container,{children:[(0,P.jsxs)(D.Row,{children:[(0,P.jsx)(D.Col,{col:12,children:(0,P.jsx)(m.Z,{children:"Galerie zdj\u0119\u0107"})}),(0,P.jsx)(D.Col,{col:12,children:(0,P.jsx)(z,{children:(0,P.jsxs)(D.Row,{children:[(0,P.jsx)(D.Col,{col:12,lg:4,children:(0,P.jsx)(d.Z,{options:F,placeholder:"Wybierz kolejno\u015b\u0107",defaultOption:B,onChange:function(t){L(t.value)},title:"Sortuj"})}),(0,P.jsx)(D.Col,{col:12,lg:6,children:(0,P.jsx)(c.Z,{value:I,onChange:function(t){O(t||[null,null])},maxDate:new Date,title:"Wybierz dat\u0119"})})]})})})]}),(0,P.jsx)(D.Row,{children:(0,P.jsxs)(D.Col,{col:12,children:[null===H||void 0===H?void 0:H.data.map((function(t){return(0,P.jsx)(v.Z,{post:t,loading:J},t.ID)})),!J&&!(null!==H&&void 0!==H&&H.data.length)&&(0,P.jsx)(h.Z,{})]})}),(0,P.jsx)(D.Row,{children:(0,P.jsx)(D.Col,{col:12,children:(0,P.jsx)(j.Z,{totalItems:(null===H||void 0===H||null===(e=H.meta)||void 0===e?void 0:e.total)||0,currentPage:R,pageSize:30,maxPages:5,handlePageChange:function(t){window.scrollTo(0,0),S(t),o("".concat("/zdjecia","?page=").concat(t),void 0,{shallow:!0})}})})})]})]})}var z=x.default.div.withConfig({displayName:"Photos__FiltersRow",componentId:"sc-1tdw7ic-0"})(["margin-bottom:",";"],(function(t){return t.theme.space[4]})),N=!0},5129:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/zdjecia",function(){return e(50534)}])}},function(t){t.O(0,[445,986,147,409,312,736,313,774,888,179],(function(){return n=5129,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

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.