!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="aa72509c-beb6-4d2b-bb34-fa31f8b9c70e",t._sentryDebugIdIdentifier="sentry-dbid-aa72509c-beb6-4d2b-bb34-fa31f8b9c70e")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2556],{40504:function(t,e,a){"use strict";a.d(e,{W:function(){return m},i:function(){return b}});var i=a(52676),s=a(82187),r=a.n(s),n=a(26728),c=a(92691),o=a(30049),l=a(42114),d=a(3138),u=a(85866),p=a(75271),_=a(73027),k=a(13302),x=a(60934),v=a(1750),C=a(70606),h=a.n(C);let b=()=>{let t=(0,_.v9)(t=>t.data.entity),{playbackState:e,triggerPlaybackOperation:a}=(0,p.useContext)(k.C),s=!!t.trackList,l=e?.item?.uri,d=(0,_.v9)(t=>t.settings.isVideoEmbed),C=(0,_.I0)(),b=(0,u.NT)();return(0,i.jsx)(n.o,{size:d?"medium":"small",className:r()(h().seekButton,h().seekBack,{[h().opacity]:!d}),semanticColor:"textBase",disabled:!e?.restrictions?.canSeek,onClick:()=>{e?.restrictions?.canSeek&&(s?(a((0,x.ax)()),C((0,v._)({action_type:"click",action_intent:"previous",item_uri:l}))):(a((0,x.WT)()),C((0,v._)({action_type:"click",action_intent:"skip-back-15"}))))},iconOnly:s?c.y:o.v,"aria-label":s?b("spe.playback-control.skip-back","Previous","Accessibility label for a button that skips to the previous track in a playlist"):b("spe.playback-control.skip-backward-15","Skip back 15 seconds","Accessibility label for a button that skips to the previous 15 sec of a track"),condensedAll:!0})},m=()=>{let t=(0,_.v9)(t=>t.data.entity),e=(0,_.v9)(t=>t.settings.isVideoEmbed),{playbackState:a,triggerPlaybackOperation:s}=(0,p.useContext)(k.C),c=!!t.trackList,o=a?.item?.uri,C=(0,_.I0)(),b=(0,u.NT)();return(0,i.jsx)(n.o,{size:e?"medium":"small",className:r()(h().seekButton,h().seekForward,{[h().opacity]:!e}),semanticColor:"textBase",disabled:!a?.restrictions?.canSeek,onClick:()=>{a?.restrictions?.canSeek&&(c?(s((0,x.vR)()),C((0,v._)({action_type:"click",action_intent:"next",item_uri:o}))):(s((0,x.ez)()),C((0,v._)({action_type:"click",action_intent:"skip-forward-15"}))))},iconOnly:c?l.W:d.v,"data-testid":"skip-forward","aria-label":c?b("spe.playback-control.skip-forward","Next","Accessibility label for a button that skips to the next track in a playlist"):b("spe.playback-control.skip-forward-15","Skip forward 15 seconds","Accessibility label for a button that skips to the next 15 sec of a track"),condensedAll:!0})}},32556:function(t,e,a){"use strict";a.d(e,{b:function(){return tx}});var i=a(52676),s=a(82187),r=a.n(s),n=a(75271),c=a(73027),o=a(8090),l=a(90371),d=a(41747),u=a(52095),p=a(13257),_=a(45986),k=a(71409),x=a(85866),v=a(8872),C=a(81361),h=a(54608),b=a(7384),m=a(22894),y=a.n(m);let f=()=>{let t=(0,c.v9)(t=>t.data.entity),{metadata:e}=(0,n.useMemo)(()=>(0,C.C)(t),[t]),a=(0,x.bU)();if(!e&&!t?.artists)return null;let s=e?.title,r=e?.subtitle,o=t?.artists;return(0,i.jsx)("div",{className:y().condensedMetadataWrapper,children:(0,i.jsx)(k.x,{className:y().title,dir:"auto",children:(0,i.jsx)(h.R,{title:s,speed:.2,iterationCount:"single",children:(0,i.jsxs)(k.x,{className:y().condensedMetadataContainer,children:[s&&(0,i.jsx)(k.x,{children:s}),s&&r&&(0,i.jsx)(b.Z,{className:y().separator}),r&&(0,i.jsx)(k.x,{children:r}),o?.length&&(0,i.jsx)(k.x,{children:o.map(t=>t.name).join((0,v.f)(a))||""})]})},s||"")})})};var j=a(6208),g=a(43352),w=a.n(g);let L=()=>(0,i.jsx)(j.D,{className:w().coverArtTrackList});var N=a(97736),T=a(7808),M=a.n(T);let z=()=>{let t=(0,c.v9)(t=>t.machineState.showOverflowMenu);return(0,i.jsx)("div",{className:M().wrapper,children:(0,i.jsx)(N.I,{visible:t})})};var A=a(27158),W=a(99981),S=a(35369),E=a(13487),I=a(64549),B=a(4074),P=a(40504),H=a(65472),V=a.n(H);let Z=()=>{let{isCompactTracklist:t}=(0,A.M)();return(0,i.jsxs)("div",{className:V().playerControlsWrapper,children:[(0,i.jsxs)("div",{className:V().baselineWrapper,children:[(0,i.jsxs)("div",{className:V().progressBarWrapper,dir:"ltr",children:[(0,i.jsx)(P.i,{}),(0,i.jsx)(I.Z,{}),(0,i.jsx)(P.W,{})]}),(0,i.jsx)(B.r,{}),t&&(0,i.jsx)(W.E,{}),(0,i.jsx)(S.c,{})]}),(0,i.jsx)("div",{className:V().playButtonWrapper,children:(0,i.jsx)(E.J,{})})]})};var R=a(66439),O=a(98707),D=a.n(O);let F=()=>{let{isCompactTracklist:t}=(0,A.M)();return(0,i.jsxs)("div",{className:D().playerControlsWrapper,children:[(0,i.jsxs)("div",{className:D().skipButtonsWrapper,children:[(0,i.jsx)(P.i,{}),(0,i.jsx)(P.W,{})]}),t&&(0,i.jsx)(W.E,{}),(0,i.jsx)(S.c,{}),(0,i.jsx)(R.D,{})]})};var G=a(4846),J=a(52627),Q=a(90858),U=a(36287),K=a(94459),X=a(18262),Y=a(13302),$=a(12434),q=a(74245),tt=a(26728),te=a(60934),ta=a(1750),ti=a(77602),ts=a(98083),tr=a(55506),tn=a.n(tr);let tc=t=>{let e,{hoverOnTrack:a,isCurrentTrack:s,isPaused:n,isPlayable:c,trackNumber:o,hasPlaybackContext:l}=t,d=(0,x.NT)(),u=(0,X.l)(),p=!1;c?s&&!n&&l?e=(0,i.jsx)($.k,{"data-testid":"pause-icon",size:"small"}):a||s&&n&&l?e=(0,i.jsx)(q.J,{"data-testid":"play-icon",size:"small"}):(e=o,p=!0):e=o;let _=l&&s&&!n;return(0,i.jsx)(tt.o,{"data-testid":"playback-indicator",className:r()(tn().trackNumberCellContent,{[tn().playing]:_,[tn().paused]:n&&s}),"aria-label":_?d("spe.playback-control.pause-track","Pause track","Accessibility label for a button that pauses a specific track within a playlist"):d("spe.playback-control.play-track","Play track","Accessibility label for a button that plays a specific track within a playlist"),disabled:!c,condensedAll:!0,semanticColor:u&&p?"textSubdued":"textBase",children:e})},to=n.forwardRef((t,e)=>{let{index:a,trackNumber:s,title:o,subtitle:l,duration:d,isCurrentTrack:u=!1,isPlayable:p,isExplicit:_}=t,[x,v]=(0,n.useState)(!1),{playbackState:C,triggerPlaybackOperation:h}=(0,n.useContext)(Y.C),m=!!C?.hasContext,y=C?.isPaused,f=C?.isDisabled,j=(0,c.v9)(t=>t.data.entity?.trackList&&t.data.entity?.trackList[a].uri),g=(0,c.I0)(),w=()=>{g((0,ta._)({action_type:"playback",action_intent:"track-not-available",action_item_id:"tracklist-row",item_uri:j}))},{isCompactTracklist:L,isCompactLegacy:N}=(0,A.M)(),T=(0,X.l)();return(0,i.jsxs)("li",{ref:e,className:r()(tn().trackListRow,{[tn().isCurrentTrack]:u&&m,[tn().isPlayable]:p,[tn().isExplicit]:_}),onClick:()=>{if(!f){if(!p){w();return}u?h((0,te.Xh)()):h((0,te.xu)(a)),g((0,ta._)({action_type:"click",action_intent:!1===y&&u?"pause":"play",action_item_id:"tracklist-row",item_uri:j}))}},onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),"data-testid":`tracklist-row-${a}`,children:[!N&&(0,i.jsx)("div",{className:r()(tn().trackNumberCell,{[tn().isCurrentTrack]:u}),children:(0,i.jsx)(tc,{trackNumber:s,hoverOnTrack:x,isCurrentTrack:u,isPlayable:p,hasPlaybackContext:m,isPaused:y})}),L&&(0,i.jsxs)(i.Fragment,{children:[_&&(0,i.jsx)(ts.t,{className:tn().tag}),(0,i.jsxs)("div",{className:tn().condensedMetadata,children:[(0,i.jsx)(k.x,{dir:"auto",className:r()(tn().title,{[tn().isCurrentTrack]:u}),semanticColor:"textBase",as:"h3",children:o}),(0,i.jsx)(b.Z,{className:tn().separator}),(0,i.jsx)(k.x,{dir:"auto",className:r()(tn().subtitle,{[tn().isCurrentTrack]:u}),semanticColor:T?"textSubdued":"textBase",children:l})]})]}),!L&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(k.x,{dir:"auto",className:r()(tn().title,{[tn().isCurrentTrack]:u}),semanticColor:"textBase",as:"h3",children:o}),(0,i.jsxs)(k.x,{dir:"auto",className:r()(tn().subtitle,{[tn().isCurrentTrack]:u}),semanticColor:T?"textSubdued":"textBase",as:"h4",children:[_&&(0,i.jsx)(ts.t,{className:tn().tag}),l]}),(0,i.jsx)("div",{className:r()(tn().durationCell,{[tn().isCurrentTrack]:u}),children:(0,ti.Z)(d)})]})]})});var tl=a(18289),td=a.n(tl);let tu=t=>{let{trackList:e=[],className:a}=t,{playbackState:s}=(0,n.useContext)(Y.C),c=!!s?.hasContext,o=(0,K.T)(),l=(0,x.NT)(),{isCompactLegacy:d}=(0,A.M)(),u=(0,n.useCallback)(t=>{let{uid:e}=t;return!!e&&!!c&&e===o},[c,o]),[p,_]=(0,n.useState)(0),k=e[p],v=(0,X.l)();(0,n.useEffect)(()=>{let t=e.findIndex(u);_(t<0?0:t)},[u,e]);let C=(0,n.useRef)(null),h=(0,n.useRef)(null);return(0,n.useEffect)(()=>{C.current&&C.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[p]),(0,n.useEffect)(()=>{h.current&&!c&&p===e.length-1&&h.current&&h.current.scrollTo({top:0,behavior:"smooth"})},[p,c,e.length]),(0,i.jsx)("div",{className:r()(td().backgroundColorContainer,a),"data-testid":"tracklist",children:(0,i.jsx)("div",{className:r()(td().opacityContainer,{[td().isDynamicColor]:v}),children:(0,i.jsx)("div",{ref:h,className:td().wrapper,children:d?k&&(0,i.jsx)(to,{index:p,uid:k.uid,trackNumber:p+1,title:k.title,subtitle:k.subtitle,duration:k.duration||0,isExplicit:k.isExplicit,isCurrentTrack:!0,isPlayable:k.isPlayable}):(0,i.jsx)("ol",{className:td().trackListContainer,"aria-label":l("spe.track_list","Track list","Accessibility label for the list of tracks in a playlist"),children:e.map((t,e)=>(0,i.jsx)(to,{ref:u(t)?C:void 0,index:e,uid:t.uid,trackNumber:e+1,title:t.title,subtitle:t.subtitle,duration:t.duration||0,isExplicit:t.isExplicit,isCurrentTrack:u(t),isPlayable:t.isPlayable},t.uid))})})})})};var tp=a(18123),t_=a(14850),tk=a.n(t_);let tx=()=>{(0,o.p)();let t=(0,c.v9)(t=>t.machineState.initialized),e=(0,c.v9)(t=>t.machineState.playbackMode),a=e===p.d.PREVIEW,s=(0,c.v9)(t=>t.data.entity?.trackList),k=(0,n.useContext)(l.G),{height:x,width:v}=n.useContext(d.h),C=a&&x&&v&&x>=u.p4.large&&v>=u.Zo.medium,h=(0,c.v9)(t=>t.data.entity?.uri);return h?(0,i.jsxs)("div",{"data-testid":"embed-widget-container",className:r()("encore-dark-theme",tk().widgetContainer),style:k,children:[(0,i.jsxs)("div",{"data-testid":`initialized-${t}`,className:tk().trackListGridContainer,children:[(0,i.jsx)("div",{className:tk().coverArtContainer,children:(0,i.jsx)(L,{})}),(0,i.jsx)("div",{className:r()(tk().spotifyLogoContainer,{[tk().isPreview]:a}),children:(0,i.jsx)(G.Z,{trackListLength:s?.length})}),(0,i.jsx)("div",{className:r()(tk().metadataContainer,{[tk().isPreview]:a}),children:x&&x>=u.p4.large?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(U.D,{}),(0,i.jsxs)("span",{className:tk().labelsAndSubtitle,children:[C&&(0,i.jsx)(J.$,{}),(0,i.jsx)(Q.Q,{})]}),(0,i.jsx)(_.w,{uri:h,mainView:!0})]}):(0,i.jsx)(f,{})}),!C&&(0,i.jsx)("div",{className:r()(tk().tagListContainer,{[tk().isPreview]:a}),children:(0,i.jsx)(J.$,{})}),(0,i.jsx)("div",{className:r()(tk().playerControlsWrapper,{[tk().isPreview]:a}),children:e!==p.d.UNKNOWN&&(a?(0,i.jsx)(F,{}):(0,i.jsx)(Z,{}))})]}),(0,i.jsx)(tu,{className:tk().trackListContainer,trackList:s}),(0,i.jsx)(z,{}),(0,i.jsx)(tp.Q,{})]}):null}},22894:function(t){t.exports={condensedMetadataWrapper:"CondensedMetadata_condensedMetadataWrapper__6reTF",condensedMetadataContainer:"CondensedMetadata_condensedMetadataContainer__egWwQ",title:"CondensedMetadata_title__FRgOV",labelsAndSubtitle:"CondensedMetadata_labelsAndSubtitle__cgvUr",separator:"CondensedMetadata_separator__XZW4C"}},43352:function(t){t.exports={coverArtTrackList:"CoverArtTrackList_coverArtTrackList__1YwHX"}},7808:function(t){t.exports={wrapper:"OverflowMenuTracklist_wrapper__KZkjd",menuItem:"OverflowMenuTracklist_menuItem__Q_GUj"}},65472:function(t){t.exports={playerControlsWrapper:"PlayerControlsExtendedNoAnimation_playerControlsWrapper__wWAaU",baselineWrapper:"PlayerControlsExtendedNoAnimation_baselineWrapper__V7JOB",progressBarWrapper:"PlayerControlsExtendedNoAnimation_progressBarWrapper__D4yE2",playButtonWrapper:"PlayerControlsExtendedNoAnimation_playButtonWrapper__lcIQB"}},70606:function(t){t.exports={seekButton:"SkipButtons_seekButton__1Eenz",opacity:"SkipButtons_opacity__Pvpwf",seekBack:"SkipButtons_seekBack____Vi2",seekForward:"SkipButtons_seekForward__M51Hj"}},18289:function(t){t.exports={backgroundColorContainer:"TrackList_backgroundColorContainer__vm8ks",opacityContainer:"TrackList_opacityContainer__L_yni",isDynamicColor:"TrackList_isDynamicColor__849in",wrapper:"TrackList_wrapper__H3yYt",isComposite:"TrackList_isComposite__P0ppA",trackListContainer:"TrackList_trackListContainer__E6i38"}},55506:function(t){t.exports={trackListRow:"TracklistRow_trackListRow__vrAAd",isCurrentTrack:"TracklistRow_isCurrentTrack__N2KN6",isPlayable:"TracklistRow_isPlayable__U6o2r",isExplicit:"TracklistRow_isExplicit__wU5ZL",condensedMetadata:"TracklistRow_condensedMetadata__4typn",separator:"TracklistRow_separator__IPKtc",tag:"TracklistRow_tag__gIvj_",title:"TracklistRow_title__1RtS6",subtitle:"TracklistRow_subtitle___DhJK",trackNumberCell:"TracklistRow_trackNumberCell__GQdAG",trackNumberCellContent:"TracklistRow_trackNumberCellContent__781FQ",durationCell:"TracklistRow_durationCell__CUhMO"}},14850:function(t){t.exports={widgetContainer:"TrackListWidget_widgetContainer__VVETD",coverArtContainer:"TrackListWidget_coverArtContainer__QAXYk",spotifyLogoContainer:"TrackListWidget_spotifyLogoContainer__M1SxS",isPreview:"TrackListWidget_isPreview__ODyOo",metadataContainer:"TrackListWidget_metadataContainer__EP9LF",title:"TrackListWidget_title__vZ3sZ",trackListGridContainer:"TrackListWidget_trackListGridContainer__GZGxh",labelsAndSubtitle:"TrackListWidget_labelsAndSubtitle__IGHar",trackListContainer:"TrackListWidget_trackListContainer__zpYQe",playerControlsWrapper:"TrackListWidget_playerControlsWrapper__MtZxe",tagListContainer:"TrackListWidget_tagListContainer__I8UFM"}},74245:function(t,e,a){"use strict";a.d(e,{J:function(){return r}});var i=a(75271),s=a(67829);function r(t){var e,a,r,n,c,o=t.size?s.cy[t.size]:t.iconSize,l=(0,s.Lr)([{size:16,svgContent:""},{size:24,svgContent:""}],o||24),d=null!==(e=t.autoMirror)&&void 0!==e&&e;return i.createElement(s.JO,Object.assign({},t,{autoMirror:d,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=t.title,r=t.titleId,a?"").concat(a,""):"")).concat((n=t.desc,c=t.descId,n?"").concat(n,""):"")).concat(l.svgContent)}}))}},92691:function(t,e,a){"use strict";a.d(e,{y:function(){return r}});var i=a(75271),s=a(67829);function r(t){var e,a,r,n,c,o=t.size?s.cy[t.size]:t.iconSize,l=(0,s.Lr)([{size:16,svgContent:""},{size:24,svgContent:""}],o||24),d=null!==(e=t.autoMirror)&&void 0!==e&&e;return i.createElement(s.JO,Object.assign({},t,{autoMirror:d,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=t.title,r=t.titleId,a?"").concat(a,""):"")).concat((n=t.desc,c=t.descId,n?"").concat(n,""):"")).concat(l.svgContent)}}))}},30049:function(t,e,a){"use strict";a.d(e,{v:function(){return r}});var i=a(75271),s=a(67829);function r(t){var e,a,r,n,c,o=t.size?s.cy[t.size]:t.iconSize,l=(0,s.Lr)([{size:16,svgContent:""},{size:24,svgContent:""}],o||24),d=null!==(e=t.autoMirror)&&void 0!==e&&e;return i.createElement(s.JO,Object.assign({},t,{autoMirror:d,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=t.title,r=t.titleId,a?"").concat(a,""):"")).concat((n=t.desc,c=t.descId,n?"").concat(n,""):"")).concat(l.svgContent)}}))}},42114:function(t,e,a){"use strict";a.d(e,{W:function(){return r}});var i=a(75271),s=a(67829);function r(t){var e,a,r,n,c,o=t.size?s.cy[t.size]:t.iconSize,l=(0,s.Lr)([{size:16,svgContent:""},{size:24,svgContent:""}],o||24),d=null!==(e=t.autoMirror)&&void 0!==e&&e;return i.createElement(s.JO,Object.assign({},t,{autoMirror:d,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=t.title,r=t.titleId,a?"").concat(a,""):"")).concat((n=t.desc,c=t.descId,n?"").concat(n,""):"")).concat(l.svgContent)}}))}},3138:function(t,e,a){"use strict";a.d(e,{v:function(){return r}});var i=a(75271),s=a(67829);function r(t){var e,a,r,n,c,o=t.size?s.cy[t.size]:t.iconSize,l=(0,s.Lr)([{size:16,svgContent:""},{size:24,svgContent:""}],o||24),d=null!==(e=t.autoMirror)&&void 0!==e&&e;return i.createElement(s.JO,Object.assign({},t,{autoMirror:d,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=t.title,r=t.titleId,a?"").concat(a,""):"")).concat((n=t.desc,c=t.descId,n?"").concat(n,""):"")).concat(l.svgContent)}}))}}}]);