1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1671],{18286:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>n,default:()=>u});var a=r(60072);r(60004);var s=r(96907),i=r(28631),l=r(54289),o=r(35752),n=!0;let u=({componentData:e})=>{let t=(0,o.c)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(l.w,{isFullWidth:!1,title:t("Artist.Merch",{Artist:e.artistScreenname}),backgroundImage:e.artistImage,children:(0,a.jsx)(s.A,{initialItems:e.merchResults,initialPageInfo:e.merchResultsInfo,query:i.s,queryVariables:e.filterParameters,objectType:"merch",columnsDesktop:4})})})}},28631:(e,t,r)=>{"use strict";r.d(t,{s:()=>s});var a=r(25607);let s=(0,a.J1)` 2 query GetAllProducts( 3 $channel: Int 4 $language: String 5 $group: [ProductGroup] 6 $dateTo: String 7 $category: [ProductCategory] 8 $subCategory: [ProductSubcategory] 9 $family: [ProductFamilyEnum] 10 $showCompilations: Boolean 11 $first: Int 12 $after: String 13 $urlAlias: String 14 $labels: [Int] 15 $excludeDeliveryStates: [DeliveryState] 16 ) { 17 universalMusic(channel: $channel, language: $language) { 18 allProducts( 19 group: $group 20 dateTo: $dateTo 21 category: $category 22 subCategory: $subCategory 23 family: $family 24 showCompilations: $showCompilations 25 first: $first 26 after: $after 27 sortBy: DATE 28 sortOrder: DESCENDING 29 urlAlias: $urlAlias 30 labels: $labels 31 excludeDeliveryStates: $excludeDeliveryStates 32 ) { 33 pageInfo { 34 hasNextPage 35 endCursor 36 } 37 edges { 38 node { 39 idRaw 40 cover { 41 imageUrlTemplate 42 headline 43 } 44 artists { 45 urlAlias 46 } 47 headline 48 releaseDate 49 productShops { 50 group 51 shopUrl 52 } 53 hasSoundfiles 54 playlist { 55 carriers(first: 10) { 56 id 57 } 58 } 59 } 60 } 61 } 62 } 63 } 64`},37284:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[urlAlias]/merch",function(){return r(18286)}])},89224:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(60004);function s(e){let[t,r]=a.useState(e);return a.useEffect(()=>{r(e)},[e]),[t,r]}},96907:(e,t,r)=>{"use strict";r.d(t,{A:()=>$});var a=r(60072),s=r(60004),i=r(47706),l=r.n(i),o=r(35752),n=r(76540),u=r(96902),d=r(85069),c=r(66160),h=r(47550),g=r(66388),m=r(16940),p=r(348),f=r(96997),y=r(89224),b=r(39642),x=r(71037),P=r(35459),A=r(9306),C=r(15189);let I=({initialItems:e,initialPageInfo:t={},objectType:r,query:i,queryVariables:l={},columnsDesktop:I=4,columnsTablet:$=2,columnsMobile:w=1,handleMoreMenuButtonClick:N,cardLayout:S="default",showSection:v=!1,isFullWidth:_=!0,title:j="",headlineLevel:T="",hasPaddingTop:F=!1,showEventHeadline:M=!1,maxLines:k=3,ratio:R=null})=>{let E,D,L,q,B,[W,O]=(0,y.A)(e),[G,H]=(0,y.A)(t?.hasNextPage),[U,V]=(0,y.A)(t?.endCursor),X=(0,f.A)(),J=(0,o.c)(),{settings:Y}=(0,s.useContext)(b.N),[z,K]=(0,p.IT)({query:i,pause:!0,variables:{...l,after:U}}),Q=(0,P.c)(null),Z=(0,P.R)(null);"product"===r&&(E=Q.audioCarrierIds,D=Q.productId,L=Q.handlePlayButtonClick,q=Q.handleAudioPlayerClose),"productFamily"===r&&(E=Z.audioCarrierIds,B=Z.productFamilyId,L=Z.handlePlayButtonClick,q=Z.handleAudioPlayerClose);let{data:ee,fetching:et,error:er}=z;if((0,s.useEffect)(()=>{if(!er&&ee){let e=ee.universalMusic,t=Object.keys(e)[0];if(e[t].contents){let{pageInfo:r}=e[t].contents;H(r.hasNextPage),V(r.endCursor),O([...W,...(0,x.fj)(e[t].contents.edges)])}else{let{pageInfo:r}=e[t];H(r.hasNextPage),V(r.endCursor),O([...W,...(0,x.fj)(e[t].edges)])}}},[ee]),(0,g.pk)({data:W,language:X,type:r,distinguishesArtists:Y.distinguishesArtists,distinguishesNews:Y.distinguishesNews,useArtistsRoutePrefix:Y.useArtistsRoutePrefix,useProductsRoutePrefix:Y.useProductsRoutePrefix,useProjects:Y.useProjects,basePath:Y.basePath,hasNode:!1}),"event"===r)if(0===W.length)return null;else W.map(e=>{"LiveEvent"===e.__typename?e.eventText=(0,x.qN)(e.locationPartners[0]??"",e.repertoire??"",e.timeStart??""):console.error(Error("Unknown event type: ",e.__typename))});let ea={handlePlay:L??null,handleMoreMenu:N,cardLayout:S,wrapArtistName:Y.cards.article.wrapArtistName,showEventHeadline:M,maxLines:k,locationStringFallback:J("Location tba"),ratio:R??null};return"article"===r&&Y.cards?.article?.imageRatio&&(ea.imageRatio=Y.cards?.article?.imageRatio),"product"===r&&Y.cards?.product?.imageFlexWidth&&(ea.imageFlexWidth=Y.cards?.product?.imageFlexWidth),"product"===r&&Y.cards?.product?.imageFlexHeight&&(ea.imageFlexHeight=Y.cards?.product?.imageFlexHeight),"merch"===r&&(ea.merchCardLabel=J("MerchCardLabel")),(0,a.jsxs)(n.A,{sx:{paddingTop:F?m.M.small:0},children:[(0,a.jsx)(d.E,{showSection:v,title:j,headlineLevel:T,isFullWidth:_,columnsMobile:w,columnsTablet:$,columnsDesktop:I,"data-testid":"CardGrid",children:(0,h.u)(W,r,ea)}),(0,a.jsx)(n.A,{sx:{textAlign:"center",marginTop:m.M.xlarge,marginBottom:m.M.xxlarge},children:G&&(0,a.jsx)(c.om,{onClick:()=>{K()},iconLeft:u.A,rotateIcon:et,disabled:et||!G,text:J("Load More"),"data-testid":"LoadMoreButton"})}),E&&D&&(0,a.jsx)(A.F7,{productId:D,carrierIds:E,channel:Y.apiChannel,withFunction:"MAIN_ARTIST",handleClose:q}),E&&B&&(0,a.jsx)(C.Y,{productFamilyId:B,carrierIds:E,channel:Y.apiChannel,withFunction:"MAIN_ARTIST",handleClose:q})]})};I.propTypes={initialItems:l().arrayOf(l().object).isRequired,initialPageInfo:l().shape({hasNextPage:l().bool,endCursor:l().string}),objectType:l().string.isRequired,query:l().object,queryVariables:l().object,columnsMobile:l().number,columnsTablet:l().number,columnsDesktop:l().number,handleMoreMenuButtonClick:l().func,cardLayout:l().oneOf(["default","wide","showWithReleaseDate"]),distinguishesArtists:l().bool,useProjects:l().bool,showSection:l().bool,isFullWidth:l().bool,title:l().string,headlineLevel:l().string};let $=I}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=37284)),_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.