1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9329],{3217:t=>{t.exports={topActions:"AlbumBlockMobile_topActions__igy1_",counters:"AlbumBlockMobile_counters__XB0zv"}},24925:t=>{t.exports={mobileButton:"ViewAllButton_mobileButton__IvrdO"}},31307:t=>{t.exports={topActions:"AlbumBlockDesktop_topActions__dQ20b",albumHeaderLarge:"AlbumBlockDesktop_albumHeaderLarge__vcLJh",counters:"AlbumBlockDesktop_counters__pFBs6",actionLine:"AlbumBlockDesktop_actionLine__z0kWJ",actions:"AlbumBlockDesktop_actions__KWdlQ",randomHint:"AlbumBlockDesktop_randomHint__XL9e4"}},59329:(t,e,a)=>{"use strict";a.d(e,{R:()=>O});var l=a(80263),i=a(19009),n=a(27394),s=a(17403),r=a(60719),o=a(70719),c=a(12556),u=a(67445),m=a(97930),d=a(33894),x=a(18251),h=a(91840),k=a(96180),j=a(78852),g=a(13463),p=a(55132),_=a(6750),b=a(40377),v=a(3638),A=a(53239),f=a(79721),C=a(90244),y=a(23279),w=a(35599),B=a(1090),S=a(91275),L=a(44094),N=a(30211),I=a(95456),z=a.n(I);let P=t=>{let{item:e}=t,{t:a}=(0,g.c3)();return(0,l.jsxs)(m.xA,{className:N.x,children:[(0,l.jsx)(j.K,{mt:1}),(0,l.jsxs)(m.xA,{alignItems:"center",columns:"40% 1fr",horizontalSpacing:1,children:[(0,l.jsxs)("span",{className:z().info,children:[(0,C.B4)(a,"track",(0,n.VZ)(e)?e.total_tracks_count:e.tracks_total)," (",(0,_.Jy)(e.duration),")"]}),(0,l.jsxs)(m.xA,{columns:"1fr auto",children:[(0,l.jsx)("span",{}),(0,l.jsx)(S.E,{item:e})]})]}),(0,l.jsx)(j.K,{mt:1}),(0,l.jsx)(u.c,{variant:"zero"})]})};var R=a(76993);let K=t=>{let{className:e,onReportClick:a,onShareClick:i}=t,{t:n}=(0,g.c3)();return(0,l.jsxs)(m.xA,{autoColumns:"auto",autoFlow:"column",className:e,children:[(0,l.jsx)(h.K,{iconComponent:x.WPE,muted:!0,size:"small",title:n("Report"),variant:"transparent",onClick:a}),(0,l.jsx)(h.K,{iconComponent:x.VJ,muted:!0,size:"small",title:n("Share"),variant:"transparent",onClick:i})]})};var D=a(31307),E=a.n(D);let V=t=>{let{album:e,canClaimPlayback:a,canStickPlayer:i,contextPath:n,eagerLoading:s,headingLevel:r,highlightedText:c,loading:d,preview:x,priorityGenreIds:h,trackLimit:k,trackListExtra:j,variant:p,onReportClick:_,onShareClick:b}=t,{t:A}=(0,g.c3)(),N=(0,l.jsxs)(m.xA,{children:[(0,l.jsx)(u.c,{variant:"zero"}),(0,l.jsxs)("div",{children:["large"===p?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(m.xA,{alignItems:"center",className:E().actionLine,columns:"auto 1fr auto",children:[(0,l.jsx)(R.J,{className:E().counters,duration:e.duration,totalCount:e.tracks_total,trailingDivider:!0}),(0,l.jsx)(y.Z,{className:E().randomHint,hideWhenNarrow:!0,seed:e.id}),(0,l.jsx)(S.E,{canRemove:!1,className:E().actions,fullSizeBelowSm:!0,item:e,layoutVariant:"full"})]}),(0,l.jsx)(u.c,{variant:"zero"})]}):e.tracks_total>1&&!x?(0,l.jsx)(P,{item:e}):null,e.tracks?.slice(0,k??e.tracks_total).map(t=>
1(0,l.jsx)(w.T,{canClaimPlayback:a,canStick:i,contextPath:n,ctaButtonMuted:"large"===p||e.tracks_total>1,highlightedText:c,preview:x,track:t},t.id)),j]})]}),I=(0,l.jsxs)(m.xA,{alignItems:"flex-start",columns:"auto auto",justifyContent:"space-between",children:[(0,l.jsx)(L._,{item:e}),!x&&(0,l.jsx)(K,{className:E().topActions,onReportClick:_,onShareClick:b})]});return(0,l.jsxs)(m.xA,{verticalSpacing:3,children:[(0,l.jsxs)(m.xA,{alignItems:"flex-start",columns:"auto 1fr",horizontalSpacing:6,children:[(0,l.jsx)(f.b,{canZoomIn:"large"===p,eagerLoading:s,href:(0,o.FD)(e),imageUuid:e.artwork_uuid??void 0,size:"normalInList"===p?96:240,title:A("Artwork for {title}",void 0,{title:(0,C.Ef)(A,e.title)}),type:"album"}),(0,l.jsxs)(m.xA,{verticalSpacing:1.5,children:[(0,l.jsx)(B.L,{album:e,className:(0,v.A)("large"===p&&E().albumHeaderLarge),headingLevel:r,highlightedText:c,loading:d,priorityGenreIds:h,topRightExtras:I,variant:p}),"large"!==p?N:null]})]}),"large"===p?N:null]})};var T=a(3217),F=a.n(T);let J=t=>{let{album:e,canClaimPlayback:a,canStickPlayer:i,contextPath:n,eagerLoading:s,headingLevel:r,highlightedText:c,loading:d,preview:x,priorityGenreIds:h,trackLimit:k,trackListExtra:p,variant:_,onReportClick:b,onShareClick:v}=t,{t:A}=(0,g.c3)();return(0,l.jsxs)(m.xA,{alignItems:"large"===_?"stretch":"flex-start",verticalSpacing:3,children:[(0,l.jsxs)(m.xA,{columns:"auto 1fr",horizontalSpacing:2,children:[(0,l.jsx)(f.b,{canZoomIn:"large"===_,eagerLoading:s,href:(0,o.FD)(e),imageUuid:e.artwork_uuid??void 0,size:"normalInList"===_?64:156,title:A("Artwork for {title}",void 0,{title:(0,C.Ef)(A,e.title)}),type:"album"}),"normalInList"===_?(0,l.jsxs)(m.xA,{alignItems:"flex-start",columns:"auto auto",justifyContent:"space-between",children:[(0,l.jsx)(L._,{item:e}),!x&&(0,l.jsx)(K,{className:F().topActions,onReportClick:b,onShareClick:v})]}):(0,l.jsxs)(m.xA,{alignContent:"space-between",justifyContent:"flex-end",children:[!x&&(0,l.jsx)(K,{className:F().topActions,onReportClick:b,onShareClick:v}),(0,l.jsx)(L._,{animationDirection:"left",gridFlow:"row",item:e})]})]}),(0,l.jsxs)(m.xA,{children:[(0,l.jsx)(B.L,{album:e,headingLevel:r,highlightedText:c,loading:d,priorityGenreIds:h,variant:_}),(0,l.jsx)(j.K,{mt:1.5}),(0,l.jsx)(u.c,{variant:"zero"}),"large"===_?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(j.K,{mt:1}),(0,l.jsxs)("div",{children:[(0,l.jsx)(R.J,{className:F().counters,duration:e.duration,totalCount:e.tracks_total}),(0,l.jsx)(j.K,{mt:1}),(0,l.jsx)(u.c,{variant:"zero"}),(0,l.jsx)(j.K,{mt:2})]}),(0,l.jsx)(S.E,{canRemove:!1,fullSizeBelowSm:!0,item:e,layoutVariant:"full"}),(0,l.jsx)(j.K,{mt:2}),(0,l.jsx)(u.c,{variant:"zero"})]}):e.tracks_total>1&&!x?(0,l.jsx)(P,{item:e}):null,(0,l.jsxs)("div",{children:[e.tracks?.slice(0,k??e.tracks_total).map(t=>
1(0,l.jsx)(w.T,{canClaimPlayback:a,canStick:i,contextPath:n,parent:e,preview:x,track:t},t.id)),p]})]})]})};var W=a(89654),H=a(4513),U=a(60379),G=a(62932),Z=a(51143),M=a(85372),Q=a(8259),X=a(84547),$=a.n(X);let O=A.memo(t=>{let{album:e,canClaimPlayback:a,canStickPlayer:b,className:f,contextPath:C,eagerLoading:w,shouldShowHint:B,headingLevel:S,highlightedText:L,innerRef:N,isLoading:I,nonMatchingButtonText:z,preview:P,priorityGenreIds:R,showExpandAllButton:K=!0,style:D,trackLimit:E,variant:T="large",onShowFullAlbums:F}=t,{api:X}=(0,W.gf)(),{t:O}=(0,g.c3)(),{isBelowSm:q}=(0,c.yU)(),{applyClientUpdate:Y}=(0,G.e)(),tt=(0,i.jE)(),te=(0,r.AC)(e.id),ta=e.tracks_total!==e.tracks?.length,[tl,ti]=(0,A.useState)(E&&e.tracks.length>E+1?E:void 0),tn=e.tracks.length-Number(tl),[ts,tr]=(0,A.useState)(0),{openShareUrlModal:to,openReportModal:tc}=(0,A.useContext)(H.Bm),{ensureLoggedIn:tu}=(0,Z.JP)(),tm=(0,A.useCallback)(()=>{e&&tu(()=>{tc({itemId:e.id,itemType:"album"})})},[e,tc,tu]),td=(0,A.useCallback)(async()=>{if(e){let t=(0,Q.x5)((0,o.FD)(e)),a=await X.createShareUrlWithSi(t,"share");to({item:e,shareText:O("Check out this album at Volumo"),url:a})}},[e,X,to,O]),tx=(0,A.useCallback)(async()=>{await F?.(),await (0,s.$J)(tt),(0,p.lt)(te,"center")},[te,F,tt]),th=(0,A.useCallback)(async()=>{let t=await X.getAlbumById(e.id);Y({itemId:t.id,itemType:"album",updateFunc:e=>(0,n.HJ)(e)?(0,M.UP)(e,t):e}),d.vF.success(O("Album expanded to include tracks not matched by the current filter"),{countdownDuration:K?5*_._L:void 0,renderCustomSuffix:t=>K?(0,l.jsx)(k.k,{onClick:()=>{tx(),d.RP.dismissRecordByKey(t)},children:O("Expand all albums")}):null})},[e,X,Y,tx,K,O]),tk=(0,A.useCallback)(()=>{ti(void 0)},[]),tj=tl&&e.tracks_total>tl?(0,l.jsx)(U.V,{className:$().viewAllButton,fullWidth:!0,text:1===tn?O("Show {count} more track",void 0,{count:1}):O("Show {count} more tracks",void 0,{count:tn}),onClick:tk}):ta?(0,l.jsx)(U.V,{className:$().viewAllButton,fullWidth:!0,text:z??O("Show {count} nonmatching tracks",void 0,{count:e.tracks_total-e.tracks?.length}),onClick:th}):null,tg=(0,r.sx)(C,e.tracks.at(0)?.id,e.tracks.at(-1)?.id);return(0,l.jsxs)(m.xA,{className:(0,v.A)($().root,f),id:te,innerRef:N,style:D,...tg,children:[q?(0,l.jsx)(J,{album:e,canClaimPlayback:a,canStickPlayer:b,contextPath:C,eagerLoading:w,headingLevel:S,highlightedText:L,loading:I,preview:P,priorityGenreIds:R,trackLimit:tl,trackListExtra:tj,variant:T,onReportClick:tm,onShareClick:td}):(0,l.jsx)(V,{album:e,canClaimPlayback:a,canStickPlayer:b,contextPath:C,eagerLoading:w,headingLevel:S,highlightedText:L,loading:I,preview:P,priorityGenreIds:R,trackLimit:tl,trackListExtra:tj,variant:T,onReportClick:tm,onShareClick:td}),!q&&(0,l.jsx)(j.K,{mt:3}),B?(0,l.jsxs)(m.xA,{alignItems:"center",className:$().hintBlock,columns:"1fr auto",justifyItems:"center",children:[(0,l.jsx)(y.Z,{className:$().hint,label:O("Pro tip:"),resetKey:ts,seed:e.id+1,singleline:!0}),(0,l.jsx)(h.K,{iconComponent:x.Pwl,iconSize:16,muted:!0,size:"minimal",title:O("Change hint"),variant:"transparent",onClick:()=>tr(t=>t+1)})]}):(0,l.jsx)(u.c,{variant:"zero"})]})},(t,e)=>{let{style:a,...l}=t,{style:i,...n}=e;return(0,b.bN)(a,i)&&(0,b.bN)(l,n)});O.displayName="AlbumBlock"},60379:(t,e,a)=>{"use strict";a.d(e,{V:()=>d});var l=a(80263),i=a(12556),n=a(94386),s=a(18251),r=a(93349),o=a(13463),c=a(3638);a(53239);var u=a(24925),m=a.n(u);let d=t=>{let{className:e,fullWidth:a,href:u,text:d,onClick:x}=t,{t:h}=(0,o.c3)(),{isAboveSm:k}=(0,i.yU)();return k||!u?(0,l.jsx)(n.$,{className:(0,c.A)(e,m().button),fullWidth:a,href:u,muted:!0,size:"small",type:u?"link":"button",variant:"transparent",onClick:x,children:d??h("View all")}):(0,l.jsxs)(r.W,{className:(0,c.A)(e,m().mobileButton),href:u,title:h("View all"),onClick:x,children:[d,(0,l.jsx)(s.RJo,{})]})};d.displayName="ViewAllButton"},84547:t=>{t.exports={root:"AlbumBlock_root__IR9fS",viewAllButton:"AlbumBlock_viewAllButton__r_i0b",hintBlock:"AlbumBlock_hintBlock__7Tf_3",hint:"AlbumBlock_hint__PLarf"}},95456:t=>{t.exports={info:"Subheader_info__1GDLn"}}}]);
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.