PageSourceSearch

https://content.www.wellcomecollection.org/_next/static/chunks/pages/stories-e107c452ee526799.js

js wellcomecollection.org collected 2026-10-01 08:32:16 UTC 10,235 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8971],{22746:(e,t,i)=>{"use strict";i.d(t,{Zt:()=>h,iw:()=>x,Ay:()=>S});var r=i(6029),s=i(49563),n=i(71023),o=i(23583),l=i(75120),a=i(47180),d=i(48465),c=i(40800),m=i(37238);function h(e){return{image:e.image&&{...e.image,alt:""},labels:e.format?[{text:e.format.title}]:[],link:{url:e.link||"",text:e.title||""}}}function x(e){var t;return{image:(null==(t=e.promo)?void 0:t.image)&&{...e.promo.image,alt:""},labels:e.labels,link:{url:(0,s.A)(e),text:e.title}}}var g=i(9329),p=i(79945),u=i(59085);function j(){let e=(0,g._)(["\n    margin-left: 0;\n    margin-right: 0;\n  "]);return j=function(){return e},e}function b(){let e=(0,g._)(["\n    padding-left: 0;\n    padding-right: 0;\n  "]);return b=function(){return e},e}let f=(0,p.Ay)(d.A).attrs({className:(0,o.I)("body","lg","regular"),$v:{size:"xs",properties:["margin-bottom"]}}).withConfig({componentId:"sc-248c7636-0"})(["padding:0;"]),A="21px",w=p.Ay.div.withConfig({componentId:"sc-248c7636-1"})(["margin-left:-",";margin-right:-",";"," ",""],e=>e.theme.gutter.small,e=>e.theme.gutter.small,e=>e.theme.media("sm")(j()),e=>e.theme.media("md")("\n    padding-bottom: ".concat(A,";\n  "))),v=(0,p.Ay)(u.xA).attrs({$noGap:!0,as:"a","data-gtm-trigger":"featured_card_link"}).withConfig({componentId:"sc-248c7636-2"})(["&,&:link,&:visited{text-decoration:none;border:none;}"]),k=(0,p.Ay)(u.LX).withConfig({componentId:"sc-248c7636-3"})(["",""],e=>e.theme.media("md")("\n    order: ".concat(e.$isReversed?2:1,";\n  "))),y=p.Ay.div.attrs({className:(0,o.I)("body","sm","strong")}).withConfig({componentId:"sc-248c7636-4"})(["display:flex;flex-direction:column;transform:translateY(calc(-1 * (1em + 11px)));width:100%;height:100%;min-height:200px;position:relative;padding-left:",";padding-right:",";"," ",""],e=>e.$isReversed?0:e.theme.gutter.small,e=>e.$isReversed?e.theme.gutter.small:0,e=>e.theme.media("sm")(b()),e=>e.theme.media("md")("\n      transform: translateY(0);\n    ")),$=(0,p.Ay)(d.A).attrs({$h:{size:"md",properties:["padding-left","padding-right"]},$v:{size:"md",properties:["padding-top","padding-bottom"]}}).withConfig({componentId:"sc-248c7636-5"})(["flex:1;color:",";background-color:",";"],e=>e.theme.color(e.$textColor),e=>e.theme.color(e.$background)),_=p.Ay.div.attrs({className:"is-hidden-s is-hidden-m"}).withConfig({componentId:"sc-248c7636-6"})(["position:absolute;top:100%;left:0;right:0;background-color:",";height:",";"],e=>e.theme.color(e.$background),A),z=p.Ay.div.withConfig({componentId:"sc-248c7636-7"})(["display:flex;",""],e=>e.theme.media("md")("\n      justify-content: ".concat(e.$isReversed?"flex-end":"flex-start",";\n      margin-right: ").concat(e.$isReversed?"-16px":void 0,";\n  "))),N=(0,p.Ay)(u.LX).withConfig({componentId:"sc-248c7636-8"})(["",""],e=>e.theme.media("md")("\n    order: ".concat(e.$isReversed?1:2,";\n  "))),C=e=>{let{image:t,labels:i,children:s,link:n,textColor:o,background:d,isReversed:c=!1,priority:m=!1}=e;return(0,r.jsx)(w,{children:(0,r.jsxs)(v,{href:n.url,$isReversed:c,children:[(0,r.jsx)(k,{$sizeMap:{s:[12],m:[12],l:[7],xl:[7]},$isReversed:c,children:t&&(0,r.jsx)(a.Ay,{image:t,sizes:{lg:.5,md:.5,sm:.5,zero:1},quality:"low",priority:m})}),(0,r.jsx)(N,{$sizeMap:{s:[12],m:[11,2],l:[5],xl:[5]},$isReversed:c,children:(0,r.jsxs)(y,{$isReversed:c,children:[i&&i.length>0?(0,r.jsx)(z,{$isReversed:c,children:(0,r.jsx)(l.A,{labels:i})}):(0,r.jsx)("div",{style:{marginBottom:"26px"}}),(0,r.jsx)($,{$background:d,$textColor:o,children:s}),(0,r.jsx)(_,{$background:d})]})})]})})},I=e=>{var t;let{article:i,background:l,textColor:a,...c}=e,m=(null==(t=i.image)?void 0:t["16:9"])||i.image,h=m&&{...(0,n.a)(m),alt:""},x={url:(0,s.A)({type:"articles",uid:i.uid}),text:i.title},g=[{text:i.format.label}];return(0,r.jsxs)(C,{...c,image:h,link:x,labels:g,background:l,textColor:a,children:[(0,r.jsx)("h2",{className:(0,o.I)("heading","xl","strong","brand"),children:i.title}),i.caption&&(0,r.jsx)("p",{className:(0,o.I)("body","md","regular"),children:i.caption}),i.seriesTitle&&(0,r.jsx)(d.A,{$v:{size:"md",properties:["margin-top"]}
1,children:(0,r.jsxs)("p",{className:(0,o.I)("body","sm","strong"),style:{marginBottom:0},children:[(0,r.jsx)("span",{className:(0,o.I)("body","sm","regular"),children:"Part of"})," ",i.seriesTitle]})})]})},R=e=>{var t;let{exhibition:i,background:s,textColor:n,...l}=e,a=x(i);return(0,r.jsx)(C,{...l,...a,background:s,textColor:n,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:(0,o.I)("heading","xl","strong","brand"),children:i.title}),!i.statusOverride&&i.start&&i.end&&(0,r.jsx)(f,{as:"p",children:(0,r.jsx)(c.A,{start:i.start,end:i.end})}),(0,r.jsx)(m.A,{start:i.start,end:i.end||new Date,statusOverride:i.statusOverride}),(null==(t=i.promo)?void 0:t.caption)&&(0,r.jsx)("p",{className:(0,o.I)("body","md","regular"),style:{marginTop:"1rem"},children:i.promo.caption})]})})},S=e=>"article"===e.type?(0,r.jsx)(I,{"data-component":"featured-card-article",...e}):"exhibition"===e.type?(0,r.jsx)(R,{"data-component":"featured-card-exhibition",...e}):(0,r.jsx)(C,{"data-component":"featured-card-basic",...e})},35577:(e,t,i)=>{"use strict";i.d(t,{A:()=>g});var r=i(9329),s=i(6029),n=i(79945),o=i(23583),l=i(85023),a=i(86796),d=i(48465);function c(){let e=(0,r._)(["\n    width: 58px;\n  "]);return c=function(){return e},e}function m(){let e=(0,r._)(["\n    width: 64px;\n  "]);return m=function(){return e},e}let h=(0,n.Ay)(d.A).attrs({$v:{size:"xs",properties:["margin-bottom"]}}).withConfig({componentId:"sc-1454a6d-0"})(["display:block;width:60px;height:16px;background:",";"," ",""],e=>e.theme.color("yellow"),e=>e.theme.media("sm")(c()),e=>e.theme.media("md")(m())),x=n.Ay.h2.withConfig({componentId:"sc-1454a6d-1"})(["margin-bottom:0;.bg-dark &{color:",";}"],e=>e.theme.color("white")),g=e=>{let{title:t,gridSize:i}=e;return(0,s.jsx)("div",{"data-component":"section-header",className:(0,o.I)("heading","xl","strong","brand"),children:(0,s.jsx)(l.A,{condition:!!i,wrapper:e=>(0,s.jsx)(a.Bf,{gridSizes:i||(0,a.H8)(),children:e}),children:(0,s.jsxs)("div",{children:[(0,s.jsx)(h,{}),(0,s.jsx)(x,{children:t})]})})})}},53627:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>y,default:()=>$});var r=i(6029),s=i(79945),n=i(94451),o=i(71023),l=i(62587),a=i(86796),d=i(9455),c=i(41442),m=i(51750),h=i(59085),x=i(48465),g=i(74969),p=i(10397),u=i(49337),j=i(30294),b=i(22746),f=i(35577),A=i(3002);let w=s.Ay.div.withConfig({componentId:"sc-bd702c29-0"})(["background-color:",";"],e=>e.theme.color("warmNeutral.300")),v=(0,s.Ay)(m.m).withConfig({componentId:"sc-bd702c29-1"})(["-webkit-overflow-scrolling:touch;"," &::-webkit-scrollbar{background:",";}&::-webkit-scrollbar-thumb{border-color:",";}"],e=>e.theme.mediaBetween("zero","sm")("\n    max-width: none;\n    width: auto;\n    overflow: auto;\n\n    &::-webkit-scrollbar {\n      height: 18px;\n    }\n\n    &::-webkit-scrollbar-thumb {\n      border-radius: 0;\n      border-style: solid;\n      border-width: 0 ".concat(e.theme.containerPadding," 12px;\n      background: ").concat(e.theme.color("neutral.400"),";\n    }\n  ")),e=>e.theme.color("warmNeutral.300"),e=>e.theme.color("warmNeutral.300")),k=e=>{let{articles:t,comicSeries:i,jsonLd:s,storiesLanding:m}=e,k=t[0],y=null==m?void 0:m.introText;return(0,r.jsxs)(u.A,{title:"Stories",description:n.bt.stories,url:{pathname:"/stories"},jsonLd:s,openGraphType:"website",siteSection:"stories",image:k&&(0,o.a)(k.image),rssUrl:"https://rss.wellcomecollection.org/stories",apiToolbarLinks:[(0,l.Cj)(m.id)],children:[(0,r.jsx)(d.A,{variant:"landing",title:"Stories",introText:y}),(0,r.jsx)(p.A,{children:(0,r.jsxs)(w,{className:"row--has-wobbly-background",children:[(0,r.jsx)(x.A,{$v:{size:"xl",properties:["margin-bottom"]},children:(0,r.jsx)(a.Bf,{gridSizes:(0,a.H8)(),children:(0,r.jsx)(b.Ay,{type:"article",article:k,background:"neutral.700",textColor:"white",priority:!0})})}),(0,r.jsx)("div",{className:"row__wobbly-background"}),(0,r.jsx)(v,{children:(0,r.jsx)(x.A,{$v:{size:"md",properties:["padding-bottom"]},children:(0,r.jsx)(h.Kc,{className:"card-theme card-theme--transparent",children:t.slice(1,5).map(e=>(0,r.jsx)(h.ew,{$sizeMap:{m:[6],l:[3],xl:[3]},children:(0,r.jsx)(x.A,{$v:{size:"sm",properties:["margin-bottom"]},children:(0,r.jsx)(A.A,{variant:"contentApi",article:e})})},e.id))})})})]})}),(0,r.jsxs)(p.A,{children:[m.storiesTitle&&(0,r.jsx)(g.A,{children:(0,r.jsx)(f.A,{title:"".concat(m.storiesTitle),gridSize:(0,a.H8)()})}),m.storiesDescription&&(0,r.jsx)(g.A,{children:(0,r.jsx)(a.Bf,{gridSizes:(0,a.H8)(),children:(0,r.jsx)(c.A,{html:m.storiesDescription})})}),(0,r.jsx)(g.A,{children:(0,r.jsx)(j.A,{items:m.stories,itemsPerRow:3,links:[{text:"More stories",url:"/search/stories"}]})})]}),(0,r.jsxs)(p.A,{children:[(0,r.jsx)(g.A,{children:(0,r.jsx)(f.A,{title:"Comics",gridSize:(0,a.H8)()})}),(0,r.jsx)(g.A,{children:(0,r.jsx)(a.Bf,{gridSizes:(0,a.H8)(),children:(0,r.jsx)("p",{children:n.bt.comic})})}),(0,r.jsx)(g.A,{children:(0,r.jsx)(j.A,{items:i,itemsPerRow:3,links:[{text:"More comics",url:"/search/stories?format=W7d_ghAAALWY3Ujc"}
1],itemsHaveTransparentBackground:!0})})]}),(0,r.jsxs)(p.A,{children:[m.booksTitle&&(0,r.jsx)(g.A,{children:(0,r.jsx)(f.A,{title:"".concat(m.booksTitle),gridSize:(0,a.H8)()})}),m.booksDescription&&(0,r.jsx)(g.A,{children:(0,r.jsx)(a.Bf,{gridSizes:(0,a.H8)(),children:(0,r.jsx)(c.A,{html:m.booksDescription})})}),(0,r.jsx)(g.A,{children:(0,r.jsx)(j.A,{items:m.books,itemsPerRow:3,links:[{text:"More books",url:"/books"}]})})]}),(0,r.jsxs)(p.A,{children:[(0,r.jsx)(g.A,{children:(0,r.jsx)(f.A,{title:"You may have missed",gridSize:(0,a.H8)()})}),(0,r.jsx)(g.A,{children:(0,r.jsx)(j.A,{items:t.slice(5,11),itemsPerRow:3,links:[{text:"More stories",url:"/search/stories"}]})})]})]})};var y=!0;let $=e=>(0,r.jsx)(k,{...e})},90417:(e,t,i)=>{"use strict";function r(e){var t;return null==(t=e.series.flatMap(e=>e.schedule).find(t=>t.title===e.title))?void 0:t.partNumber}function s(e){return e.series.map(e=>e.color).find(Boolean)||"accent.purple"}i.d(t,{H:()=>r,i:()=>s})},99716:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/stories",function(){return i(53627)}])}},e=>{e.O(0,[8588,1876,5001,294,636,6593,8792],()=>e(e.s=99716)),_N_E=e.O()}]);

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.