PageSourceSearch

https://cdn.oward.co/_next/static/chunks/pages/[lang]-eb16faa160e8d5a2.js

js oward.co collected 2026-10-04 03:50:51 UTC 3,262 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[484],{31502:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]",function(){return t(32915)}])},32915:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return h},galleryPageGetServerSideProps:function(){return w}});var n,s=t(98788),l=t(70865),o=t(96670),a=t(5163),i=t(52322),u=t(2784),f=t(5632),c=t(62275),d=t(64151),g=t(36732),R=t(95196),S=t(93629),p=t(638),_=t(80075),h=!0,w=(n=(0,s.Z)(function(e,r,t,n,s,o){var i,u,f,d,g,_,h,w,v,C,y;return(0,a.__generator)(this,function(a){switch(a.label){case 0:return a.trys.push([0,9,,10]),[4,(0,p.R6Y)(s,e)];case 1:if(i=a.sent(),(0,S.c1)(s,i),(null===(f=s.gallery_type)||void 0===f?void 0:f.type)!==R.GalleryType.ARTWORK)return[3,3];return g={limit:S.aW,offset:0,isRandom:S.rk},[4,(0,c.send)(c.ArtworkController.getForGallery(e,g,s))];case 2:return u={SSR:{getResp:_=a.sent(),hasMore:_.totalArtworkCount>(null===(d=_.artworks)||void 0===d?void 0:d.length)+g.offset,filterQuery:n||null,filter:s,label:i}},[3,8];case 3:if(w={limit:S.BZ,offset:0,isRandom:S.rk},void 0!==o)return[3,5];return[4,(0,c.send)(c.CardController.get(e,w,s))];case 4:return C=a.sent(),[3,7];case 5:return[4,(0,c.withCookie)(o)(c.CardController.get(e,w,s))];case 6:C=a.sent(),a.label=7;case 7:u={SSR:{getResp:v=C,hasMore:v.totalCardCount>(null===(h=v.cards)||void 0===h?void 0:h.length)+w.offset,filterQuery:n||null,filter:s,label:i}},a.label=8;case 8:return[3,10];case 9:return u={errMsg:null==(y=a.sent())?void 0:y.message},[3,10];case 10:return[2,{props:(0,l.Z)({},u,t,r)}]}})}),function(e,r,t,s,l,o){return n.apply(this,arguments)}),v=!0,C=function(e){var r,t,n=(0,f.useRouter)(),s=(0,d.qM)().t,l=(0,d.$1)(g.a2.ARTWORK),o=(0,d.$1)(g.a2.CARD),a=(0,d.$1)(g.a2.FILTER),c=(0,u.useState)(null===(r=e.SSR)||void 0===r?void 0:r.label),h=c[0],w=c[1],C=(0,u.useState)(null===(t=e.SSR)||void 0===t?void 0:t.filter),y=C[0],k=C[1],M=n.query.label,A=n.query.filter;return((0,u.useEffect)(function(){v||(void 0!==M&&w((0,p.AOF)(M,!0)),void 0!==A&&k((0,p.AOF)(A))),v=!1},[M,A]),(0,u.useEffect)(function(){(0,R.deepEqual)(y,(0,_.ZN)(a.filter))||(a.init(y,h),a.isArtworkGallery?l.getArtworks(a.filter):o.getCards(a.filter))},[y]),e.errMsg)?(0,i.jsx)(p.FEV,{children:"Bad Request"===e.errMsg?(0,i.jsx)(p.ooX,{errMsg:s("global.error_wrong_url"),icon:"fa-2x fa-solid fa-triangle-exclamation"}):(0,i.jsx)(p.mfF,{errMsg:e.errMsg})}):((0,_.aD)(function(){v&&("0"===h.film_year&&(h.film_year=s("wip.film")),a.init(y,h),a.isArtworkGallery?(l.artworks=e.SSR.getResp.artworks,l.totalArtworkCount=e.SSR.getResp.totalArtworkCount,l.hasMore=e.SSR.hasMore):(o.cards=e.SSR.getResp.cards,o.totalCardCount=e.SSR.getResp.totalCardCount,o.cardGetStatus=e.SSR.getResp.status,o.hasMore=e.SSR.hasMore))})(),(0,i.jsx)(p.FEV,{pageTitle:(0,S.YM)(y,h),pageDescription:s("header.description_with_filter",{filter_phrase:(0,S.yA)(y,h)}),children:(0,i.jsx)(p.aHD,{})}))},y=function(e){return(0,i.jsx)(p._tq,(0,o.Z)((0,l.Z)({},e),{children:(0,i.jsx)(p.KHI,(0,o.Z)((0,l.Z)({},e),{children:(0,i.jsx)(C,(0,l.Z)({},e))}))}))};r.default=y}},function(e){var r=function(r){return e(e.s=r)};e.O(0,[9774,2888,179],function(){return r(24458),r(31502)}),_N_E=e.O()}]);
2//# sourceMappingURL=[lang]-eb16faa160e8d5a2.js.map

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.