(this.__LOADABLE_LOADED_CHUNKS__=this.__LOADABLE_LOADED_CHUNKS__||[]).push([[5793],{37851:(t,e,a)=>{"use strict";a.d(e,{Z:()=>v});const i="iHeart",n="@iHeartRadio",r=290638154,o="com.clearchannel.iheartradio.controller";var l=a(89128),s=a.n(l),c=a(32420),d=a(67120),p=a(38656);const m=(t,e,a=!0)=>{const i=e||c.mT,n=(0,p.parse)(i,a);return n.host?n.protocol?i:`https:${i}`:(0,d.zt)(t,i)},u=({deeplink:t,image:e,noAltLink:a,pagePath:n,siteUrl:r})=>{const o=m(r,e),l=(0,d.zt)(r,s()),c=(0,d.zt)(r,n);return[...a||!t?[]:[{href:`android-app://com.clearchannel.iheartradio.controller/ihr/${t}`,rel:"alternate"},{href:`ios-app://290638154/ihr/${t}`,rel:"alternate"}],{href:l,rel:"search",title:i,type:"application/opensearchdescription+xml"},{href:"https://plus.google.com/+iHeartRadio",rel:"author"},{href:"https://plus.google.com/+iHeartRadio",rel:"publisher"},{href:c,rel:"canonical"},{href:o,rel:"image_src"}]};var h=a(91053);const g=t=>{var e;const{image:a=c.mT,urlEncodeImage:l=!0,description:s,metaDescription:p,legacyDeeplink:u,siteUrl:g,fbAppId:Z,fbPages:y,pagePath:b,socialTitle:f,twitterCard:w="summary",twitterImage:A,facebookImage:I,title:v,ogType:k,translate:R,omitTitleEnding:T}=t,_=m(g,a,l),S=(0,d.zt)(g,b),$=u?`ihr://${u}`:"",B=(0,h.c)(R),E=T?"":`| ${(0,d.YY)(R,"iHeart")}`,L=null===s?null:null!=(e=null==s?void 0:s.replace(/"/g,"'"))?e:"";return[{content:null===L?null:p||L||B,name:"description"},{content:Z,property:"fb:app_id"},{content:y,property:"fb:pages"},...k?[{content:k,property:"og:type"}]:[],{content:_,name:"thumbnail"},{content:A||_,name:"twitter:image"},{content:I||_,property:"og:image"},...L?[{content:L,itemprop:"description"},{content:L,property:"og:description"},{content:L,name:"twitter:description"}]:[],{content:S,property:"og:url"},{content:S,name:"twitter:url"},{content:i,property:"og:site_name"},{content:i,name:"twitter:app:name:iphone"},{content:i,name:"twitter:app:name:ipad"},{content:i,name:"twitter:app:name:googleplay"},{content:i,name:"al:android:app_name"},{content:i,name:"al:ios:app_name"},{content:n,name:"twitter:creator"},{content:n,name:"twitter:site"},{content:w,name:"twitter:card"},{content:"iheart.com",name:"twitter:domain"},{content:r,name:"twitter:app:id:iphone"},{content:r,name:"twitter:app:id:ipad"},{content:r,name:"al:ios:app_store_id"},{content:o,name:"twitter:app:id:googleplay"},{content:o,name:"al:android:package"},{content:`${v} ${E}`,itemprop:"name"},{content:`${f||v} ${E}`,property:"og:title"},{content:`${f||v} ${E}`,name:"twitter:title"},...$?[{content:$,name:"twitter:app:url:iphone"},{content:$,name:"twitter:app:url:ipad"},{content:$,name:"twitter:app:url:googleplay"},{content:$,property:"al:android:url"},{content:$,property:"al:ios:url"}]:[]]};var Z=a(90758),y=a(20755),b=a(70044),f=a(75628),w=a(12771),A=a(71130),I=a(34853);const v=({deeplink:t="",description:e,image:a,urlEncodeImage:i=!0,legacyDeeplink:n,noAltLink:r,ogType:o,omitTitleEnding:l,metaDescription:s,socialTitle:c,title:d,twitterCard:p="summary",twitterImage:m,facebookImage:h})=>{const v=(0,A.useSelector)(b.iJ),k=(0,A.useSelector)(b.hK),R=(0,A.useSelector)(y.Jz),T=(0,A.useSelector)(f.$2),_=(0,Z.Z)();return(0,I.tZ)(w.q,{encodeSpecialCharacters:i,link:u({deeplink:t,image:a,noAltLink:r,pagePath:R,siteUrl:T}),meta:g({description:e,fbAppId:v,fbPages:k,image:a,urlEncodeImage:i,legacyDeeplink:n,metaDescription:s,ogType:o,omitTitleEnding:l,pagePath:R,siteUrl:T,socialTitle:c,title:d,translate:_,twitterCard:p,twitterImage:m,facebookImage:h}),title:d})}},46588:(t,e,a)=>{"use strict";a.d(e,{Z:()=>l});var i=a(46255);const n=(0,i.Z)("div",{target:"e1n6p0270"})({name:"bjn8wh",styles:"position:relative"}),r=(0,i.Z)("p",{target:"eokjau00"})((({theme:t})=>({borderBottom:`0.1rem solid ${t.colors.gray.light}`,fontSize:"2.2rem",fontWeight:700,lineHeight:"2.16rem",paddingBottom:"1.5rem"})),"");var o=a(34853);function l({title:t,children:e,dataTest:a}){return(0,o.BX)(n,{children:[(0,o.tZ)(r,{"data-test":a,children:t}),e]})}},91053:(t,e,a)=>{"use strict";function i(t,e=!0,a=!0){return t(e&&a?"All your favorite music, podcasts, and radio stations available for free. Listen to thousands of live radio stations or create your own artist stations and playlists. Get the latest music and trending news, from your favorite artists and bands.":e?"Stream thousands of the best live radio stations and custom artist stations for FREE - all in one app.":a?"Stream thousands of the best live radio stations for FREE, plus unlimited music on demand - all in one app.":"Stream thousands of the best live radio stations for FREE - all in one app.")}a.d(e,{c:()=>i})},92603:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>v});var i=a(92664),n=a(37851),r=a(90758),o=a(68062),l=a(12771),s=a(67120),c=a(34853),d=a(71130),p=a(32034),m=a(75185),u=a(75628);const h=(0,p.zB)({artistId:m.Am,artistName:m.I4,pagePath:m.Ct,siteUrl:u.$2}),g=(0,d.connect)(h)((function({siteUrl:t,pagePath:e,artistId:a,artistName:i}){const d=(0,r.Z)(),p=d("Listen to music you love! Create a custom radio station based on your favorite album by {artistName} on iHeartRadio!",{artistName:i}),m=(0,s.YY)(d,"Music, Albums, Recent, New, Download, iHeartRadio, iHeart, Radio"),u=d("Stream Free Music from Albums by {artistName}",{artistName:i}),h=(0,s.zt)(t,e);return(0,c.BX)("div",{children:[(0,c.tZ)(n.Z,{deeplink:`play/custom/artist/${a}`,description:p,image:(0,o.Jo)(a,"artist"),legacyDeeplink:`play/custom/artist/${a}`,metaDescription:p,ogType:"profile",title:u,twitterCard:"summary_large_image"}),(0,c.tZ)(l.q,{meta:[{content:[i,...m.split(",")],name:"keywords"},{content:"audio/vnd.facebook.bridge",property:"og:audio:type"},{content:h,property:"og:audio"}]})]})}));var Z=a(224),y=a(20015),b=a(78743),f=a(46588),w=a(8723),A=a(62274),I=a(23653);function v({artistId:t,artistName:e,albumPlayback:a,albums:n,nextAlbumLink:o,requestAdditionalAlbums:l,customRadioEnabled:s}){const d=(0,r.Z)(),p=(0,A.Y)(t,e),m=(0,c.tZ)(w.Z,{playedFrom:b.Z.PROF_SONG_SIMILAR}),u={seedId:t,seedType:I.bV.ARTIST,supportsConnect:!1,url:p};return t?(0,c.BX)(c.HY,{children:[(0,c.tZ)(g,{}),(0,c.tZ)(Z.Z,{seedId:t,seedType:"artist"}),(0,c.BX)(y.ZP,{backLink:p,dataTest:y.n3.ArtistAlbums,more:m,social:u,title:e,children:[(0,c.tZ)(f.Z,{title:d("Albums")}),(0,c.tZ)(i.Z,{albumPlayback:a,albums:n,artistId:t,artistName:e,customRadioEnabled:s,nextAlbumLink:o,playedFrom:b.Z.PROF_ARTIST_ALBUMS,requestAdditionalAlbums:l,singleRow:!1,tilesInRow:3})]})]}):null}},8723:(t,e,a)=>{"use strict";a.d(e,{Z:()=>v});var i=a(10600),n=a(64132),r=a(64787),o=a(62188),l=a(72798),s=a(10957),c=a(68062),d=a(96832),p=a(54067),m=a(34853);class u extends d.PureComponent{componentDidMount(){const{artistId:t}=this.props;this.updateArtists(t)}UNSAFE_componentWillReceiveProps({artistId:t}){t!==this.props.artistId&&this.updateArtists(t)}updateArtists(t){const{ampUrl:e,artistProfileReceived:a}=this.props;(0,l.Z)((0,s.jU)({ampUrl:e,id:t})).then((({data:t})=>a(t)))}render(){const{playedFrom:t,artistId:e,artistName:a,relatedArtists:l=[],translate:s}=this.props;return(0,m.tZ)(o.Z,{header:s("Similar Artists"),url:`${(0,c.Yy)(+e,a)}similar/`,children:(0,m.tZ)(i.Z,{articleClass:r.Z,data:l.slice(0,3).map((({artistId:e,name:a})=>({catalogId:e,catalogType:"artist",description:(0,m.tZ)(n.Z,{artistId:e},`featuring${e}`),id:e,imgWidth:p.M3,playedFrom:t,title:a,url:(0,c.Yy)(e,a)})))},`Articles|${e}`)})}}var h=a(1085),g=a(1441),Z=a(71130),y=a(32034),b=a(75628),f=a(75185),w=a(3849);const A=(0,y.zB)({ampUrl:b.h_,artistId:f.Am,artistName:f.I4,relatedArtists:f.Jy}),I={artistProfileReceived:h.Cm},v=(0,g.qC)((0,w.NC)("translate"),(0,Z.connect)(A,I))(u)},68899:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>H});var i=a(18443),n=a(19981),r=a(68630),o=a(9969),l=a(43422),s=a(59294),c=a(30095),d=a(36012),p=a.n(d),m=a(46423),u=a(74763),h=a(87805),g=a(9821),Z=a(24179),y=a(87779),b=a(78257),f=a(15061),w=a(97216),A=a(61729),I=a(33998),v=a(25025),k=a(72798),R=a(46699),T=a(61993),_=a(90758),S=a(83738),$=a(96832),B=a(76570),E=a(66833),L=a(39697),C=a(44812),N=a(23653),P=a(54067),U=a(32173),M=a(34853);const D=(0,y.Z)(g.Z),H=function({albumReceived:t,profileId:e,sessionId:a}){const[d,g]=(0,$.useState)([]),[y,H]=(0,$.useState)(!1),[F,Y]=(0,$.useState)(void 0),O=(0,_.Z)(),X=!y||y&&!!F,x=(0,$.useCallback)((async()=>{if(!X)return;let n=[];try{var r,o,l;const s=await(0,k.Z)((0,B.to)({key:F,limit:30,profileId:e,sessionId:a}));n=null!=(r=null==s||null==(o=s.data)?void 0:o.data)?r:[],t(n);const c=[...d,...n],p=(0,i.Z)(c,"id");g(p),H(!0),Y(null==s||null==(l=s.data)||null==(l=l.links)?void 0:l.nextPageKey)}catch(t){const e=t instanceof Error?t:new Error(t);m.ZP.error(m.Ke.YOUR_LIBRARY,e.message,{},e)}}),[t,d,X,F,e,a]);(0,T.Z)((()=>{x()}));let z=[...(0,l.Z)({noRoundTiles:!0})];return y&&(z=d.map((({artistId:t,artistName:e,count:a,explicitLyrics:i,id:n,title:l})=>{const s=`/your-library/albums/${(0,C.lV)(l)}-${n}/`,d=`/artist/${(0,C.lV)(e)}-${t}/`,p=(0,M.BX)(E.Mm,{"data-test":`${n}-subtitle`,children:[(0,M.tZ)(u.Z,{to:d,children:(0,M.tZ)(R.Z,{lines:1,children:e})}),(0,M.tZ)(r.Z,{}),O("{count} song{plural}",{count:`${a||0} `,plural:1===a?"":"s"})]}),m=(0,M.tZ)(R.Z,{lines:1,children:l}),h=(0,M.tZ)(w.Z,{hiddenElement:m,shouldShow:i,children:(0,M.BX)(E.WH,{"data-test":`${n}-title`,children:[m,(0,M.tZ)(c.Z,{})]})}),g=(0,M.tZ)(Z.Z,{children:(0,M.tZ)(D,{additionalOpts:{myMusicType:L.lj.ALBUM},className:"play",myMusicType:L.lj.ALBUM,seedId:n,stationId:n,stationType:N.bV.MY_MUSIC})}),y=(0,M.tZ)(v.Z,{children:(0,M.tZ)(o.Z,{alt:l,aspectRatio:1,background:!0,height:P.ul,id:n,type:N.bV.ALBUM,width:P.ul})});return(0,M.BX)($.Fragment,{children:[(0,M.tZ)(b.Z,{imageComponent:y,playButtonComponent:g,subtitleComponent:p,title:l,titleComponent:h,url:s}),(0,M.BX)(A.Z,{noTileOnMobile:!0,subTitle:p,tileDelay:0,tilesInRow:U.n,title:l,titleSingleLine:!0,url:s,children:[g,y]},n)]},n)}))),(0,M.BX)(M.HY,{children:[(0,M.tZ)(E.H4,{"data-test":"your-library-albums-title",hideHeader:0===z.length,children:(0,M.BX)(f.Z,{children:[O("Albums")," (A-Z)"]})}),(0,M.BX)(w.Z,{shouldShow:z.length>0||!y,children:[(0,M.tZ)(n.Z,{}),(0,M.tZ)(E.Nx,{"data-test":"albums-tiles-wrapper",children:(0,M.tZ)(p(),{hasMore:X,loadMore:x,pageStart:0,children:(0,M.tZ)(I.Z,{noTileOnMobile:!0,tilesInRow:U.n,children:z})})})]}),(0,M.tZ)(w.Z,{shouldShow:0===z.length,children:(0,M.tZ)(s.Z,{buttons:[(0,M.tZ)(u.Z,{dataTest:"albums-empty-link",to:"/artist/",children:(0,M.tZ)(h.Z,{children:O("Browse Artists")})},"albums-empty-link")],icon:S.dp,subtitle:O("Need to find a great new album?"),title:O("Any albums you save will show up here")})})]})}},89128:t=>{t.exports="/v8.52.0/08cac9f/bundles/opensearch.xml"}}]); //# sourceMappingURL=Albums.www.js.map