(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[313],{1530:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/press",function(){return n(2105)}])},9090:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var s=n(5893),i=n(7294),r=n(4696);function u(t){let{items:e,fetchPage:n,maxPage:u,...o}=t,[l,c]=(0,i.useState)(e),[a,f]=(0,i.useState)(0),[_,d]=(0,i.useState)(u||0),[m,h]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{if(m){h(!1);return}n(a).then(t=>{c([...l,...t.content]),d(t.pages-1)})},[a]),(0,s.jsx)(r.E,{items:l,...o,onSeeMore:()=>f(a+1),maxItems:a!==_?void 0:l.length})}},4696:function(t,e,n){"use strict";n.d(e,{E:function(){return o}});var s=n(5893),i=n(6346),r=n.n(i),u=n(6965);function o(t){let{seeMoreButtonLabel:e="See more",tagName:n="ul",ItemComponent:i,items:o,onSeeMore:l,className:c,maxItems:a}=t;return(0,s.jsxs)("section",{className:c,children:[(0,s.jsx)(n,{children:o.map((t,e)=>(0,s.jsx)(i,{item:t},e))}),(!a||o.length<a)&&(0,s.jsx)(u.z,{className:r().button,onClick:l,tone:u.R.Outlined,children:e})]})}},2105:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return _},default:function(){return d}});var s=n(5893),i=n(7532),r=n.n(i),u=n(9090),o=n(6922),l=n(1174);let c=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,o.S)(l.p$.root,{query:{page:t}})},a=t=>{var e,n;let{item:i}=t;return(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:null===(e=i.photos[0])||void 0===e?void 0:e.original_size.url,target:"_blank",children:(0,s.jsx)("img",{src:null===(n=i.photos[0])||void 0===n?void 0:n.original_size.url,alt:""})})})};function f(t){let{posts:e}=t;return(0,s.jsx)(u.A,{className:r().list,ItemComponent:a,items:e.content,maxPage:e.pages-1,fetchPage:t=>c(t)})}var _=!0;function d(t){let{posts:e}=t;return console.log(e),(0,s.jsx)("section",{className:"mw padded",children:(0,s.jsx)(f,{posts:e})})}},6346:function(t){t.exports={button:"see-more-list_button__iuRSN"}},7532:function(t){t.exports={list:"tumblr-list_list__ji4ID"}}},function(t){t.O(0,[774,888,179],function(){return t(t.s=1530)}),_N_E=t.O()}]);