PageSourceSearch

https://www.archidiecezja.lodz.pl/_next/static/chunks/pages/filmy/[[...category]]-1c30c204d8907727.js

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

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[286],{26681:function(t,n,e){"use strict";e.r(n),e.d(n,{__N_SSG:function(){return k},default:function(){return P}});var l,o=e(90116),a=e(17674),i=(e(87794),e(95127)),s=e(20702),r=e(11327),u=e(52736),c=e(216),d=e(18928),m=e(15239),v=e(23569),g=e(2962),h=e(11163),p=e(67294),f=e(54572),j=e(87379),y=e(52618),x=(e(20564),e(3644)),_=e(69432),w=e(71383),C=e(44119),F=(e.n(C)()(l||(l=(0,w.Z)(['\n\tquery Videos(\n\t\t$category: String\n\t\t$skip: Int\n\t\t$limit: Int\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: VIDEO\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\tenumerations {\n\t\t\t\tcategories(type: "video_cat") {\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 P(){var t,n,e,l,j,w,C,P,k,b=(0,h.useRouter)(),N=b.query,$=b.push,D=b.isFallback,T=N.category,E=N.page,R=T?T[0]:null,I="/filmy"+(R?"/".concat(R):""),z=[{name:x.Fj.Page,value:E||1},{name:x.Fj.DateRange,value:[null,null]},{name:x.Fj.Category,value:R}],S=(0,p.useState)((0,x.pB)(z)),O=S[0],q=S[1],V=(0,x.mN)(x.Fj.Page,O,q),W=(0,a.Z)(V,2),B=W[0],G=W[1],X=(0,x.mN)(x.Fj.DateRange,O,q),J=(0,a.Z)(X,2),K=J[0],A=J[1],H=(0,x.mN)(x.Fj.Category,O,q),L=(0,a.Z)(H,2),M=L[0],Q=L[1];(0,p.useEffect)((function(){G(1)}),[K,R]);var U=(0,y.Eo)({variables:{dateFrom:null!==(t=K[0])&&void 0!==t?t:void 0,dateTo:null!==(n=K[1])&&void 0!==n?n:void 0,skip:30*(B-1),category:M,limit:30}}),Y=U.data,tt=U.loading,nt=U.error,et=[{value:"",label:"Wszystkie filmy"}].concat((0,o.Z)(null!==(e=null===Y||void 0===Y||null===(l=Y.Posts)||void 0===l?void 0:l.enumerations.categories.map((function(t){return{value:t.slug,label:t.name}})))&&void 0!==e?e:[]));return nt?(0,F.jsx)(i.Z,{}):(0,F.jsxs)(u.Z,{children:[(0,F.jsx)(g.PB,{title:"Filmy",canonical:(0,_.J)("/filmy"),openGraph:{title:void 0}}),(0,F.jsxs)(f.Container,{children:[(0,F.jsxs)(f.Row,{children:[(0,F.jsx)(f.Col,{col:12,children:(0,F.jsx)(m.Z,{children:"Filmy"})}),(0,F.jsx)(f.Col,{col:12,children:(0,F.jsx)(Z,{children:(0,F.jsxs)(f.Row,{children:[(0,F.jsx)(f.Col,{col:12,lg:4,children:(0,F.jsx)(r.Z,{options:et,placeholder:"Wybierz kategori\u0119",defaultOption:R||"",onChange:function(t){Q(t.value),$("/filmy/".concat(t.value),void 0,{shallow:!0})},title:"Kategoria"})}),(0,F.jsx)(f.Col,{col:12,lg:6,children:(0,F.jsx)(s.Z,{value:K,onChange:function(t){A(t||[null,null])},maxDate:new Date,title:"Wybierz dat\u0119"})})]})})})]}),(0,F.jsx)(f.Row,{children:(0,F.jsxs)(f.Col,{col:12,children:[null===Y||void 0===Y||null===(j=Y.Posts)||void 0===j?void 0:j.data.map((function(t){return(0,F.jsx)(v.Z,{post:t,loading:tt},t.ID)})),!tt&&!D&&!(null!==Y&&void 0!==Y&&null!==(w=Y.Posts)&&void 0!==w&&null!==(C=w.data)&&void 0!==C&&C.length)&&(0,F.jsx)(c.Z,{})]})}),(0,F.jsx)(f.Row,{children:(0,F.jsx)(f.Col,{col:12,children:(0,F.jsx)(d.Z,{totalItems:(null===Y||void 0===Y||null===(P=Y.Posts)||void 0===P||null===(k=P.meta)||void 0===k?void 0:k.total)||0,currentPage:B,pageSize:30,maxPages:5,handlePageChange:function(t){window.scrollTo(0,0),G(t),$("".concat(I,"?page=").concat(t),void 0,{shallow:!0})}})})})]})]})}var Z=j.default.div.withConfig({displayName:"Videos__FiltersRow",componentId:"sc-1qver2y-0"})(["margin-bottom:",";"],(function(t){return t.theme.space[4]})),k=!0},10924:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/filmy/[[...category]]",function(){return e(26681)}])}},function(t){t.O(0,[445,986,147,409,312,736,313,774,888,179],(function(){return n=10924,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.