!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="233bdbaf-adb2-43ec-8f3b-df602b8e04af",e._sentryDebugIdIdentifier="sentry-dbid-233bdbaf-adb2-43ec-8f3b-df602b8e04af")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8356],{45986:function(e,t,n){"use strict";n.d(t,{w:function(){return m}});var i=n(52676),a=n(4733),r=n(82187),s=n.n(r);n(75271);var o=n(73027),l=n(72077),u=n(43533),c=n(58497),d=n(39260),p=n(44769),_=n.n(p);let m=e=>{let{uri:t,className:n,mainView:r}=e,p=(0,o.v9)(e=>e.settings.isMobile),m=(0,a.EC_)(t),T=(0,o.v9)(e=>e.data.entity?.isAudiobook),N=m?.type===a.JM3.ARTIST||m?.type===a.JM3.SHOW&&!T,E=(0,o.v9)(e=>e.settings.session.isAnonymous),I=(0,l.y)({productName:r?"embed_player_p":"embed_player_v",intent:l.U.ADD_TO_LIBRARY}),[y,h]=(0,u.Z)(t);return void 0===y?null:(0,i.jsx)("div",{"data-testid":"save-on-spotify",className:s()(_().wrapper,n),children:N?(0,i.jsx)(c.e,{isMobile:p,shouldUseDeeplink:E,links:I,saved:y[t],savedCb:h,mainView:r}):(0,i.jsx)(d.S,{isMobile:p,shouldUseDeeplink:E,links:I,saved:y[t],savedCb:h,mainView:r})})}},99981:function(e,t,n){"use strict";n.d(t,{E:function(){return N}});var i=n(52676),a=n(26728),r=n(15623),s=n(90294),o=n(85866),l=n(4733);n(75271);var u=n(73027),c=n(72077),d=n(43533),p=n(1750),_=n(75563),m=n(31892),T=n.n(m);let N=()=>{let e=(0,u.v9)(e=>e.data.entity?.type!==l.JM3.ARTIST),t=(0,u.v9)(e=>e.settings.isMobile),n=(0,u.I0)(),m=(0,o.NT)(),N=(0,u.v9)(e=>e.settings.session.isAnonymous),E=(0,u.v9)(e=>e.data.entity?.isAudiobook?e.data.entity.relatedEntityUri:e.data.entity.uri),I=(0,c.y)({productName:"embed_player_p",intent:c.U.ADD_TO_LIBRARY}),[y,h]=(0,d.Z)(E);if(!e||void 0===y)return null;let A=y[E]?m("embed.saved-on-spotify","Saved on Spotify","Button`s text that removes an item to the user`s library"):m("embed.save-on-spotify","Save on Spotify","Button`s text that adds an item to the user`s library"),f=async()=>{N?(n((0,p._)({action_type:"click",action_intent:"deeplink",action_item_id:"save-on-spotify-button"})),(0,_.M)({url:I.embeddedEntity,newWindow:!t})):(n((0,p._)({action_type:"click",action_intent:y[E]?"remove-from-spotify":"save-on-spotify"})),await h(!y[E]))};return(0,i.jsx)(a.o,{iconOnly:y[E]?r.K:s.G,"data-testid":"save-on-spotify-button",condensedAll:!0,title:A,"aria-label":A,onClick:f,semanticColor:"textBase",size:"medium",className:T().addToLibraryButton})}},58497:function(e,t,n){"use strict";n.d(t,{e:function(){return E}});var i=n(52676),a=n(32180),r=n(99451),s=n(26728),o=n(71409),l=n(85866),u=n(82187),c=n.n(u);n(75271);var d=n(73027),p=n(27158),_=n(1750),m=n(75563),T=n(57205),N=n.n(T);let E=e=>{let{saved:t,shouldUseDeeplink:n,links:u,isMobile:T,savedCb:E,mainView:I}=e,y=(0,d.I0)(),h=(0,l.NT)(),{isCompactLegacy:A}=(0,p.M)(),f=t?h("following","Following","Button`s text that adds an item to the user`s library"):h("follow","Follow","Button`s text that removes an item to the user`s library"),g=t?h("mwp.context.stop.following","Stop Following","Button`s text that removes an item to the user`s library"):h("follow_on_spotify","Follow on Spotify","Button`s text that adds an item to the user`s library"),O=async()=>{n?(y((0,_._)({action_type:"click",action_intent:"deeplink",action_item_id:"follow"})),(0,m.M)({url:I?u.embeddedEntity:u.compositeEntity,newWindow:!T})):(y((0,_._)({action_type:"click",action_intent:t?"unfollow":"follow"})),await E(!t))},k=()=>I?f:g;return(0,i.jsx)("div",{className:c()(N().followButtonWrapper,{[N().hideBorder]:!I}),children:(0,i.jsx)(s.o,{"data-testid":"follow-button",condensedAll:!0,title:k(),"aria-label":k(),onClick:O,semanticColor:"textBase",size:"medium",iconLeading:A||I?void 0:t?a.k:r.V,className:c()(N().followButtonButton,{[N().transformNone]:!I}),children:(0,i.jsx)(o.x,{variant:I?"bodySmallBold":A?"marginal":"bodySmall",className:c()(N().followButtonText,{[N().overflowMenuText]:!I}),semanticColor:"textBase","data-testid":"follow-button-label",children:k()})})})}},39260:function(e,t,n){"use strict";n.d(t,{S:function(){return E}});var i=n(52676),a=n(15623),r=n(90294),s=n(26728),o=n(71409),l=n(85866),u=n(82187),c=n.n(u);n(75271);var d=n(73027),p=n(27158),_=n(1750),m=n(75563),T=n(56452),N=n.n(T);let E=e=>{let{saved:t,shouldUseDeeplink:n,isMobile:u,savedCb:T,mainView:E,links:I}=e,y=(0,d.I0)(),h=(0,l.NT)(),A=t?h("embed.saved-on-spotify","Saved on Spotify","Button`s text that removes an item to the user`s library"):h("embed.save-on-spotify","Save on Spotify","Button`s text that adds an item to the user`s library"),f=async()=>{n?(y((0,_._)({action_type:"click",action_intent:"deeplink",action_item_id:"save-on-spotify-button"})),(0,m.M)({url:I.selectedEntity,newWindow:!u})):(y((0,_._)({action_type:"click",action_intent:t?"remove-from-spotify":"save-on-spotify"})),await T(!t))};return(0,i.jsx)(s.o,{"data-testid":"save-on-spotify-button",condensedAll:!0,title:A,"aria-label":A,iconLeading:(0,p.M)().isCompactLegacy?void 0:t?a.K:r.G,onClick:f,semanticColor:"textBase",size:"medium",className:c()(N().saveOnSpotifyButton,{[N().overflowMenu]:!E}),children:(0,i.jsx)(o.x,{"data-testid":"save-button-label",className:c()(N().saveOnSpotifyButtonText,{[N().overflowMenu]:!E}),children:A})})}},14727:function(e,t,n){"use strict";let i;n.d(t,{g:function(){return n5}});var a,r,s,o,l,u,c,d,p,_,m,T,N,E,I,y,h,A,f,g,O,k,v,S,b,R,C,P,w,L,x,D,M,U,B,G,j,W,V,F,H,Y,K,q,X,J,$,z,Q,Z,ee,et,en,ei,ea,er,es,eo,el,eu,ec,ed,ep,e_,em,eT,eN,eE,eI,ey,eh,eA,ef,eg,eO,ek,ev,eS,eb,eR,eC,eP,ew,eL,ex,eD,eM,eU,eB,eG,ej,eW,eV,eF,eH,eY,eK,eq,eX,eJ,e$,ez,eQ,eZ,e0,e1,e7,e2,e3,e6,e5,e8,e9,e4,te,tt,tn,ti,ta,tr,ts,to,tl,tu,tc,td,tp,t_,tm,tT,tN,tE,tI,ty,th,tA,tf,tg,tO,tk,tv,tS,tb,tR,tC,tP,tw,tL,tx,tD,tM,tU,tB,tG,tj,tW=n(52676),tV=n(87654),tF=n(40797),tH=n(85866),tY=n(75271),tK=n(73027);(ek||(ek={})).InvalidURI="invalid_uri",(a=ev||(ev={})).READY="ready",a.PLAYBACK_UPDATE="playback_update",a.ERROR="error",(r=eS||(eS={})).PLAY_FROM_START="play_from_start",r.PLAY="play",r.PAUSE="pause",r.RESUME="resume",r.TOGGLE_PLAY="toggle",r.SEEK="seek",r.LOAD_COMPLETE_ACK="load_complete_ack";var tq=n(60934),tX=n(1750),tJ=n(6123),t$=n(31526),tz=n(77308);(eb||(eb={})).BACKEND="backend";let tQ=()=>({type:"backend",async read(e,t,i){try{if("en"===e)return i(null,{});return i(null,await n(45009)(`./${e}/strings.json`))}catch{return i(null,{})}}});var tZ=n(28734),t0=n(4733);let t1={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addItemsToRootlist"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"newPosition"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RootlistItemPositionInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addItemsToRootlist"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"newPosition"},value:{kind:"Variable",name:{kind:"Name",value:"newPosition"}}},{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]},t7={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"removePlaylistFromRootlist"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"removeItemsFromRootlist"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};(s=eR||(eR={})).Affinity="AFFINITY",s.LastPlayed="LAST_PLAYED",s.PlayCount="PLAY_COUNT",(o=eC||(eC={})).LongTerm="LONG_TERM",o.MidTerm="MID_TERM",o.ShortTerm="SHORT_TERM",(l=eP||(eP={})).Album="ALBUM",l.Audiobook="AUDIOBOOK",l.Compilation="COMPILATION",l.Ep="EP",l.Podcast="PODCAST",l.Single="SINGLE",l.Unknown="UNKNOWN",(u=ew||(ew={})).Autobiography="AUTOBIOGRAPHY",u.Biography="BIOGRAPHY",(c=eL||(eL={})).DateAsc="DATE_ASC",c.DateDesc="DATE_DESC",c.NameAsc="NAME_ASC",c.NameDesc="NAME_DESC",(d=ex||(ex={})).Album="ALBUM",d.Artist="ARTIST",d.Concert="CONCERT",d.Episode="EPISODE",d.ExclusiveMerch="EXCLUSIVE_MERCH",d.Merch="MERCH",d.MusicVideo="MUSIC_VIDEO",d.Other="OTHER",d.Playlist="PLAYLIST",d.Podcast="PODCAST",d.Prerelease="PRERELEASE",d.Track="TRACK",(p=eD||(eD={})).AssocTypeUnspecified="ASSOC_TYPE_UNSPECIFIED",p.HasRelatedContent="HAS_RELATED_CONTENT",p.IsPrimarilyAbout="IS_PRIMARILY_ABOUT",(_=eM||(eM={})).BookPageRedirect="BOOK_PAGE_REDIRECT",_.Unspecified="UNSPECIFIED",(eU||(eU={})).DiscoveredDevice="DISCOVERED_DEVICE",(m=eB||(eB={})).IntegrationAiBriefPromptTest="INTEGRATION_AI_BRIEF_PROMPT_TEST",m.IntegrationAmazonAlexa="INTEGRATION_AMAZON_ALEXA",m.IntegrationAndroidAuto="INTEGRATION_ANDROID_AUTO",m.IntegrationAndroidAutomotive="INTEGRATION_ANDROID_AUTOMOTIVE",m.IntegrationAndroidClock="INTEGRATION_ANDROID_CLOCK",m.IntegrationAndroidPhone="INTEGRATION_ANDROID_PHONE",m.IntegrationAndroidSystemUi="INTEGRATION_ANDROID_SYSTEM_UI",m.IntegrationAndroidTablet="INTEGRATION_ANDROID_TABLET",m.IntegrationAndroidTv="INTEGRATION_ANDROID_TV",m.IntegrationAppleTv="INTEGRATION_APPLE_TV",m.IntegrationAppleWatch="INTEGRATION_APPLE_WATCH",m.IntegrationAsusClock="INTEGRATION_ASUS_CLOCK",m.IntegrationBixbyRoutines="INTEGRATION_BIXBY_ROUTINES",m.IntegrationBmw="INTEGRATION_BMW",m.IntegrationBmwProjected="INTEGRATION_BMW_PROJECTED",m.IntegrationBoseApp="INTEGRATION_BOSE_APP",m.IntegrationCarplay="INTEGRATION_CARPLAY",m.IntegrationCarHeadUnitProjected="INTEGRATION_CAR_HEAD_UNIT_PROJECTED",m.IntegrationCarMode="INTEGRATION_CAR_MODE",m.IntegrationCarView="INTEGRATION_CAR_VIEW",m.IntegrationComcast="INTEGRATION_COMCAST",m.IntegrationDesktop="INTEGRATION_DESKTOP",m.IntegrationFacebookPortal="INTEGRATION_FACEBOOK_PORTAL",m.IntegrationFacebookVenice="INTEGRATION_FACEBOOK_VENICE",m.IntegrationGeneralMotors="INTEGRATION_GENERAL_MOTORS",m.IntegrationGoogleClock="INTEGRATION_GOOGLE_CLOCK",m.IntegrationGoogleDrivingMode="INTEGRATION_GOOGLE_DRIVING_MODE",m.IntegrationGoogleMaps="INTEGRATION_GOOGLE_MAPS",m.IntegrationGoogleSmartDisplay="INTEGRATION_GOOGLE_SMART_DISPLAY",m.IntegrationGoogleSmartSpace="INTEGRATION_GOOGLE_SMART_SPACE",m.IntegrationHeadphones="INTEGRATION_HEADPHONES",m.IntegrationInstagramRecommendations="INTEGRATION_INSTAGRAM_RECOMMENDATIONS",m.IntegrationIosWidget="INTEGRATION_IOS_WIDGET",m.IntegrationIpad="INTEGRATION_IPAD",m.IntegrationIphone="INTEGRATION_IPHONE",m.IntegrationJlr="INTEGRATION_JLR",m.IntegrationMercedes="INTEGRATION_MERCEDES",m.IntegrationMicrosoftGameBar="INTEGRATION_MICROSOFT_GAME_BAR",m.IntegrationMobileWebPlayer="INTEGRATION_MOBILE_WEB_PLAYER",m.IntegrationOneplusClock="INTEGRATION_ONEPLUS_CLOCK",m.IntegrationOneplusShelf="INTEGRATION_ONEPLUS_SHELF",m.IntegrationOplusAquaDynamics="INTEGRATION_OPLUS_AQUA_DYNAMICS",m.IntegrationOplusShelf="INTEGRATION_OPLUS_SHELF",m.IntegrationPartnerLargeScreenExperience="INTEGRATION_PARTNER_LARGE_SCREEN_EXPERIENCE",m.IntegrationPartnerMobileExperience="INTEGRATION_PARTNER_MOBILE_EXPERIENCE",m.IntegrationPartnerMobileExperienceOplus="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_OPLUS",m.IntegrationPartnerMobileExperienceStrava="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_STRAVA",m.IntegrationPlaystation="INTEGRATION_PLAYSTATION",m.IntegrationPlaystationApphub="INTEGRATION_PLAYSTATION_APPHUB",m.IntegrationPlaystationMfc="INTEGRATION_PLAYSTATION_MFC",m.IntegrationPlaystationMusichome="INTEGRATION_PLAYSTATION_MUSICHOME",m.IntegrationPlaystationPs4="INTEGRATION_PLAYSTATION_PS4",m.IntegrationPlaystationPs5="INTEGRATION_PLAYSTATION_PS5",m.IntegrationPorsche="INTEGRATION_PORSCHE",m.IntegrationRecommendationsWidget="INTEGRATION_RECOMMENDATIONS_WIDGET",m.IntegrationRoku="INTEGRATION_ROKU",m.IntegrationSamsungClock="INTEGRATION_SAMSUNG_CLOCK",m.IntegrationSamsungFamilyHub="INTEGRATION_SAMSUNG_FAMILY_HUB",m.IntegrationSamsungFinder="INTEGRATION_SAMSUNG_FINDER",m.IntegrationSamsungKeyboard="INTEGRATION_SAMSUNG_KEYBOARD",m.IntegrationSamsungTv="INTEGRATION_SAMSUNG_TV",m.IntegrationSamsungWatch="INTEGRATION_SAMSUNG_WATCH",m.IntegrationSiriSuggestions="INTEGRATION_SIRI_SUGGESTIONS",m.IntegrationSky="INTEGRATION_SKY",m.IntegrationSonosApp="INTEGRATION_SONOS_APP",m.IntegrationSpeaker="INTEGRATION_SPEAKER",m.IntegrationTesla="INTEGRATION_TESLA",m.IntegrationTvApp="INTEGRATION_TV_APP",m.IntegrationUnspecified="INTEGRATION_UNSPECIFIED",m.IntegrationVolkswagen="INTEGRATION_VOLKSWAGEN",m.IntegrationVolvo="INTEGRATION_VOLVO",m.IntegrationWaze="INTEGRATION_WAZE",m.IntegrationWearOs="INTEGRATION_WEAR_OS",m.IntegrationWebosTv="INTEGRATION_WEBOS_TV",m.IntegrationWebPlayer="INTEGRATION_WEB_PLAYER",m.IntegrationXbox="INTEGRATION_XBOX",m.IntegrationXboxQuickGuide="INTEGRATION_XBOX_QUICK_GUIDE",m.IntegrationXiaomiAppVault="INTEGRATION_XIAOMI_APP_VAULT",(T=eG||(eG={})).ExperienceDriving="EXPERIENCE_DRIVING",T.ExperienceGaming="EXPERIENCE_GAMING",T.ExperienceUnspecified="EXPERIENCE_UNSPECIFIED",(N=ej||(ej={})).Compact="COMPACT",N.Default="DEFAULT",(E=eW||(eW={})).MainBrowse="MAIN_BROWSE",E.PodcastBrowse="PODCAST_BROWSE",(I=eV||(eV={})).Explicit="EXPLICIT",I.None="NONE",(y=eF||(eF={})).Gif="GIF",y.Image="IMAGE",y.Unknown="UNKNOWN",y.Video="VIDEO",y.VideoLooping="VIDEO_LOOPING",y.VideoLoopingRandom="VIDEO_LOOPING_RANDOM",(h=eH||(eH={})).Ascending="ASCENDING",h.Descending="DESCENDING",h.Unspecified="UNSPECIFIED",(A=eY||(eY={})).Albums="ALBUMS",A.Artists="ARTISTS",A.Audiobooks="AUDIOBOOKS",A.Episodes="EPISODES",A.Genres="GENRES",A.Playlists="PLAYLISTS",A.Podcasts="PODCASTS",A.TopResults="TOP_RESULTS",A.Tracks="TRACKS",A.Users="USERS",(f=eK||(eK={})).Dark="DARK",f.InvalidEnum="INVALID_ENUM",f.Light="LIGHT",(g=eq||(eq={})).DarkVibrant="DARK_VIBRANT",g.Desaturated="DESATURATED",g.LightVibrant="LIGHT_VIBRANT",g.Prominent="PROMINENT",g.Unrecognized="UNRECOGNIZED",g.Vibrant="VIBRANT",g.VibrantNonAlarming="VIBRANT_NON_ALARMING",(O=eX||(eX={})).Available="AVAILABLE",O.FewLeft="FEW_LEFT",O.SoldOut="SOLD_OUT",O.Unknown="UNKNOWN",(k=eJ||(eJ={})).EventPage="EVENT_PAGE",k.TicketPage="TICKET_PAGE",k.Unknown="UNKNOWN",(v=e$||(e$={})).Cancelled="CANCELLED",v.Postponed="POSTPONED",v.Rescheduled="RESCHEDULED",v.Unknown="UNKNOWN",(S=ez||(ez={})).Explicit="EXPLICIT",S.NineteenPlus="NINETEEN_PLUS",S.None="NONE",S.Unknown="UNKNOWN",(b=eQ||(eQ={})).ContentTypeAudiobook="CONTENT_TYPE_AUDIOBOOK",b.ContentTypeCreatorChannel="CONTENT_TYPE_CREATOR_CHANNEL",b.ContentTypePodcast="CONTENT_TYPE_PODCAST",b.ContentTypeUnspecified="CONTENT_TYPE_UNSPECIFIED",(R=eZ||(eZ={})).C="C",R.P="P",(e0||(e0={})).YourEpisodesV2="YOUR_EPISODES_V2",(C=e1||(e1={})).Curate="CURATE",C.Uncurate="UNCURATE",(P=e7||(e7={})).DanceabilityHigh="DANCEABILITY_HIGH",P.DanceabilityLow="DANCEABILITY_LOW",P.DanceabilityMedium="DANCEABILITY_MEDIUM",P.DanceabilityUnknown="DANCEABILITY_UNKNOWN",P.DanceabilityVeryHigh="DANCEABILITY_VERY_HIGH",P.DanceabilityVeryLow="DANCEABILITY_VERY_LOW",(w=e2||(e2={})).Day="DAY",w.Hour="HOUR",w.Minute="MINUTE",w.Month="MONTH",w.Year="YEAR",(L=e3||(e3={})).Internal="INTERNAL",L.InvalidUrl="INVALID_URL",L.InProgress="IN_PROGRESS",L.Ok="OK",(e6||(e6={})).YourEpisodesV2="YOUR_EPISODES_V2",(x=e5||(e5={})).EpisodeContentAudiobookChapter="EPISODE_CONTENT_AUDIOBOOK_CHAPTER",x.EpisodeContentCreatorChannelEpisode="EPISODE_CONTENT_CREATOR_CHANNEL_EPISODE",x.EpisodeContentUnknown="EPISODE_CONTENT_UNKNOWN",(D=e8||(e8={})).Audio="AUDIO",D.Unknown="UNKNOWN",D.Video="VIDEO",(M=e9||(e9={})).Completed="COMPLETED",M.InProgress="IN_PROGRESS",M.NotStarted="NOT_STARTED",(U=e4||(e4={})).Episode="EPISODE",U.PodcastEpisode="PODCAST_EPISODE",U.Unknown="UNKNOWN",(B=te||(te={})).None="NONE",B.SubscriptionDialog="SUBSCRIPTION_DIALOG",(G=tt||(tt={})).Announcement="ANNOUNCEMENT",G.Campaign="CAMPAIGN",(j=tn||(tn={})).IntegrationAmazonAlexa="INTEGRATION_AMAZON_ALEXA",j.IntegrationAndroidAuto="INTEGRATION_ANDROID_AUTO",j.IntegrationAndroidAutomotive="INTEGRATION_ANDROID_AUTOMOTIVE",j.IntegrationAndroidClock="INTEGRATION_ANDROID_CLOCK",j.IntegrationAndroidPhone="INTEGRATION_ANDROID_PHONE",j.IntegrationAndroidSystemUi="INTEGRATION_ANDROID_SYSTEM_UI",j.IntegrationAndroidTablet="INTEGRATION_ANDROID_TABLET",j.IntegrationAndroidTv="INTEGRATION_ANDROID_TV",j.IntegrationAppleTv="INTEGRATION_APPLE_TV",j.IntegrationAppleWatch="INTEGRATION_APPLE_WATCH",j.IntegrationAsusClock="INTEGRATION_ASUS_CLOCK",j.IntegrationBixbyRoutines="INTEGRATION_BIXBY_ROUTINES",j.IntegrationBmw="INTEGRATION_BMW",j.IntegrationBmwProjected="INTEGRATION_BMW_PROJECTED",j.IntegrationBoseApp="INTEGRATION_BOSE_APP",j.IntegrationCarplay="INTEGRATION_CARPLAY",j.IntegrationCarHeadUnitProjected="INTEGRATION_CAR_HEAD_UNIT_PROJECTED",j.IntegrationCarMode="INTEGRATION_CAR_MODE",j.IntegrationCarView="INTEGRATION_CAR_VIEW",j.IntegrationComcast="INTEGRATION_COMCAST",j.IntegrationDesktop="INTEGRATION_DESKTOP",j.IntegrationFacebookPortal="INTEGRATION_FACEBOOK_PORTAL",j.IntegrationFacebookVenice="INTEGRATION_FACEBOOK_VENICE",j.IntegrationGeneralMotors="INTEGRATION_GENERAL_MOTORS",j.IntegrationGoogleClock="INTEGRATION_GOOGLE_CLOCK",j.IntegrationGoogleDrivingMode="INTEGRATION_GOOGLE_DRIVING_MODE",j.IntegrationGoogleEngage="INTEGRATION_GOOGLE_ENGAGE",j.IntegrationGoogleMaps="INTEGRATION_GOOGLE_MAPS",j.IntegrationGoogleSmartDisplay="INTEGRATION_GOOGLE_SMART_DISPLAY",j.IntegrationGoogleSmartSpace="INTEGRATION_GOOGLE_SMART_SPACE",j.IntegrationHeadphones="INTEGRATION_HEADPHONES",j.IntegrationInstagramRecommendations="INTEGRATION_INSTAGRAM_RECOMMENDATIONS",j.IntegrationIosWidget="INTEGRATION_IOS_WIDGET",j.IntegrationIpad="INTEGRATION_IPAD",j.IntegrationIphone="INTEGRATION_IPHONE",j.IntegrationJlr="INTEGRATION_JLR",j.IntegrationMercedes="INTEGRATION_MERCEDES",j.IntegrationMicrosoftGameBar="INTEGRATION_MICROSOFT_GAME_BAR",j.IntegrationMobileWebPlayer="INTEGRATION_MOBILE_WEB_PLAYER",j.IntegrationMotorolaPartnerMusic="INTEGRATION_MOTOROLA_PARTNER_MUSIC",j.IntegrationNpvRecommendationsWidget="INTEGRATION_NPV_RECOMMENDATIONS_WIDGET",j.IntegrationOneplusClock="INTEGRATION_ONEPLUS_CLOCK",j.IntegrationOneplusShelf="INTEGRATION_ONEPLUS_SHELF",j.IntegrationOplusShelf="INTEGRATION_OPLUS_SHELF",j.IntegrationPartnerMobileExperience="INTEGRATION_PARTNER_MOBILE_EXPERIENCE",j.IntegrationPartnerMobileExperienceOplus="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_OPLUS",j.IntegrationPartnerMobileExperienceStrava="INTEGRATION_PARTNER_MOBILE_EXPERIENCE_STRAVA",j.IntegrationPlaystation="INTEGRATION_PLAYSTATION",j.IntegrationPlaystationApphub="INTEGRATION_PLAYSTATION_APPHUB",j.IntegrationPlaystationMfc="INTEGRATION_PLAYSTATION_MFC",j.IntegrationPlaystationMusichome="INTEGRATION_PLAYSTATION_MUSICHOME",j.IntegrationPlaystationPs4="INTEGRATION_PLAYSTATION_PS4",j.IntegrationPlaystationPs5="INTEGRATION_PLAYSTATION_PS5",j.IntegrationPorsche="INTEGRATION_PORSCHE",j.IntegrationRecommendationsWidget="INTEGRATION_RECOMMENDATIONS_WIDGET",j.IntegrationRoku="INTEGRATION_ROKU",j.IntegrationSamsungClock="INTEGRATION_SAMSUNG_CLOCK",j.IntegrationSamsungFamilyHub="INTEGRATION_SAMSUNG_FAMILY_HUB",j.IntegrationSamsungFinder="INTEGRATION_SAMSUNG_FINDER",j.IntegrationSamsungKeyboard="INTEGRATION_SAMSUNG_KEYBOARD",j.IntegrationSamsungTv="INTEGRATION_SAMSUNG_TV",j.IntegrationSamsungWatch="INTEGRATION_SAMSUNG_WATCH",j.IntegrationSiriSuggestions="INTEGRATION_SIRI_SUGGESTIONS",j.IntegrationSky="INTEGRATION_SKY",j.IntegrationSonosApp="INTEGRATION_SONOS_APP",j.IntegrationSpeaker="INTEGRATION_SPEAKER",j.IntegrationTesla="INTEGRATION_TESLA",j.IntegrationTvApp="INTEGRATION_TV_APP",j.IntegrationUnspecified="INTEGRATION_UNSPECIFIED",j.IntegrationVolkswagen="INTEGRATION_VOLKSWAGEN",j.IntegrationVolvo="INTEGRATION_VOLVO",j.IntegrationWaze="INTEGRATION_WAZE",j.IntegrationWearOs="INTEGRATION_WEAR_OS",j.IntegrationWebosTv="INTEGRATION_WEBOS_TV",j.IntegrationWebPlayer="INTEGRATION_WEB_PLAYER",j.IntegrationXbox="INTEGRATION_XBOX",j.IntegrationXboxQuickGuide="INTEGRATION_XBOX_QUICK_GUIDE",j.IntegrationXiaomiAppVault="INTEGRATION_XIAOMI_APP_VAULT",(W=ti||(ti={})).ExperienceDriving="EXPERIENCE_DRIVING",W.ExperienceGaming="EXPERIENCE_GAMING",W.ExperienceUnspecified="EXPERIENCE_UNSPECIFIED",(V=ta||(ta={})).DoNotTranslate="DO_NOT_TRANSLATE",V.Translate="TRANSLATE",(F=tr||(tr={})).Jpeg="JPEG",F.Png="PNG",F.Webp="WEBP",(H=ts||(ts={})).ImageId="IMAGE_ID",H.ImageUrl="IMAGE_URL",(Y=to||(to={})).Album="ALBUM",Y.Artist="ARTIST",Y.Collection="COLLECTION",Y.CollectionNewEpisodes="COLLECTION_NEW_EPISODES",Y.CollectionYourEpisodes="COLLECTION_YOUR_EPISODES",Y.Concert="CONCERT",Y.Episode="EPISODE",Y.Folder="FOLDER",Y.LocalFiles="LOCAL_FILES",Y.LocalTrack="LOCAL_TRACK",Y.Playlist="PLAYLIST",Y.Show="SHOW",Y.Station="STATION",Y.Track="TRACK",(K=tl||(tl={})).Events="EVENTS",K.LikedSongs="LIKED_SONGS",K.LikedSongsV2="LIKED_SONGS_V2",K.Prereleases="PRERELEASES",K.YourEpisodes="YOUR_EPISODES",K.YourEpisodesV2="YOUR_EPISODES_V2",(q=tu||(tu={})).Facebook="FACEBOOK",q.Instagram="INSTAGRAM",q.Other="OTHER",q.Soundbetter="SOUNDBETTER",q.Twitter="TWITTER",q.Whatsapp="WHATSAPP",q.Wikipedia="WIKIPEDIA",(X=tc||(tc={})).Line="LINE",X.Text="TEXT",(J=td||(td={})).LineSynced="LINE_SYNCED",J.Unknown="UNKNOWN",J.Unsynced="UNSYNCED",($=tp||(tp={})).Description="DESCRIPTION",$.Guest="GUEST",$.Host="HOST",$.Lyrics="LYRICS",$.Name="NAME",$.UnknownField="UNKNOWN_FIELD",(z=t_||(t_={})).ModeMajor="MODE_MAJOR",z.ModeMinor="MODE_MINOR",z.ModeUnknown="MODE_UNKNOWN",(Q=tm||(tm={})).Airplay="AIRPLAY",Q.Automotive="AUTOMOTIVE",Q.Bluetooth="BLUETOOTH",Q.BuiltInSpeaker="BUILT_IN_SPEAKER",Q.CarProjected="CAR_PROJECTED",Q.LineOut="LINE_OUT",Q.UnknownOutputDeviceType="UNKNOWN_OUTPUT_DEVICE_TYPE",(Z=tT||(tT={})).Disabled="DISABLED",Z.Enabled="ENABLED",Z.Unavailable="UNAVAILABLE",(ee=tN||(tN={})).FailedItemInFolder="FAILED_ITEM_IN_FOLDER",ee.FailedItemLimitReached="FAILED_ITEM_LIMIT_REACHED",ee.FailedItemNotSupported="FAILED_ITEM_NOT_SUPPORTED",ee.FailedNotInYourLibrary="FAILED_NOT_IN_YOUR_LIBRARY",ee.Successful="SUCCESSFUL",(et=tE||(tE={})).AgeRestricted="AGE_RESTRICTED",et.CatalogueRestricted="CATALOGUE_RESTRICTED",et.CountryRestricted="COUNTRY_RESTRICTED",et.Explicit="EXPLICIT",et.PaymentRequired="PAYMENT_REQUIRED",et.Playable="PLAYABLE",et.Unavailable="UNAVAILABLE",et.Unknown="UNKNOWN",(en=tI||(tI={})).Control="CONTROL",en.ListenAndControl="LISTEN_AND_CONTROL",(ei=ty||(ty={})).AfterUid="AFTER_UID",ei.BeforeUid="BEFORE_UID",ei.BottomOfPlaylist="BOTTOM_OF_PLAYLIST",ei.TopOfPlaylist="TOP_OF_PLAYLIST",(ea=th||(th={})).Add="ADD",ea.Remove="REMOVE",(er=tA||(tA={})).BottomOfPlaylist="BOTTOM_OF_PLAYLIST",er.TopOfPlaylist="TOP_OF_PLAYLIST",(es=tf||(tf={})).Blocked="BLOCKED",es.Contributor="CONTRIBUTOR",es.Unknown="UNKNOWN",es.Viewer="VIEWER",(eo=tg||(tg={})).NewestFirst="NEWEST_FIRST",eo.OldestFirst="OLDEST_FIRST",eo.Unspecified="UNSPECIFIED",(el=tO||(tO={})).External="EXTERNAL",el.Internal="INTERNAL",el.InternalAndExternal="INTERNAL_AND_EXTERNAL",el.Unknown="UNKNOWN",(eu=tk||(tk={})).Audio="AUDIO",eu.Mixed="MIXED",eu.Unknown="UNKNOWN",eu.Video="VIDEO",(ec=tv||(tv={})).Podcast="PODCAST",ec.Show="SHOW",ec.Unknown="UNKNOWN",(ed=tS||(tS={})).OneDimension="ONE_DIMENSION",ed.TwoDimension="TWO_DIMENSION",ed.ZeroDimension="ZERO_DIMENSION",(ep=tb||(tb={})).Free="FREE",ep.Premium="PREMIUM",(e_=tR||(tR={})).AddToLibrary="ADD_TO_LIBRARY",e_.Navigate="NAVIGATE",e_.NotInterested="NOT_INTERESTED",e_.Play="PLAY",e_.Share="SHARE",(em=tC||(tC={})).Album="ALBUM",em.Artist="ARTIST",em.Audiobook="AUDIOBOOK",em.Default="DEFAULT",em.Playlist="PLAYLIST",em.Podcast="PODCAST",em.Track="TRACK",em.Video="VIDEO",(eT=tP||(tP={})).TextAnnouncement="TEXT_ANNOUNCEMENT",eT.TextBase="TEXT_BASE",eT.TextBrightAccent="TEXT_BRIGHT_ACCENT",eT.TextNegative="TEXT_NEGATIVE",eT.TextPositive="TEXT_POSITIVE",eT.TextSubdued="TEXT_SUBDUED",eT.TextWarning="TEXT_WARNING",(eN=tw||(tw={})).AfterUri="AFTER_URI",eN.BeforeUri="BEFORE_URI",eN.BottomOfRootlist="BOTTOM_OF_ROOTLIST",eN.TopOfRootlist="TOP_OF_ROOTLIST",(eE=tL||(tL={})).ShowContentAudiobook="SHOW_CONTENT_AUDIOBOOK",eE.ShowContentCreatorChannel="SHOW_CONTENT_CREATOR_CHANNEL",eE.ShowContentUnknown="SHOW_CONTENT_UNKNOWN",(eI=tx||(tx={})).ShowTypeAdaptation="SHOW_TYPE_ADAPTATION",eI.ShowTypeExclusive="SHOW_TYPE_EXCLUSIVE",eI.ShowTypeOriginal="SHOW_TYPE_ORIGINAL",(ey=tD||(tD={})).Actor="ACTOR",ey.Composer="COMPOSER",ey.Conductor="CONDUCTOR",ey.Featured="FEATURED",ey.Main="MAIN",ey.Orchestra="ORCHESTRA",ey.Remixer="REMIXER",ey.Unknown="UNKNOWN",(eh=tM||(tM={})).DoNotTranslate="DO_NOT_TRANSLATE",eh.Translate="TRANSLATE",(eA=tU||(tU={})).Abp="ABP",eA.AnchorPaywall="ANCHOR_PAYWALL",eA.AudiobookDirectSales="AUDIOBOOK_DIRECT_SALES",eA.AudiobookPromotion="AUDIOBOOK_PROMOTION",eA.OapLinking="OAP_LINKING",eA.OapOtp="OAP_OTP",eA.Unknown="UNKNOWN",(ef=tB||(tB={})).ManifestId="MANIFEST_ID",ef.Url="URL",(eg=tG||(tG={})).Album="ALBUM",eg.Episode="EPISODE",eg.Unknown="UNKNOWN",eg.WhatsNewFeedNotification="WHATS_NEW_FEED_NOTIFICATION",(eO=tj||(tj={})).Hidden="HIDDEN",eO.New="NEW",eO.Seen="SEEN",eO.Unknown="UNKNOWN";let t2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addEntitiesToLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addLibraryItems"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"library"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}}]},t3={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areAlbumsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"albums"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Album"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t6={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areArtistsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"artists"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Artist"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t5={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areTracksInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tracks"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Track"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t8={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areShowsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"podcasts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Audiobook"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Podcast"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t9={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"areEpisodesInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"episodes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Episode"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"saved"}}]}}]}}]}}]},t4={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"arePlaylistsInLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"playlistsV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Playlist"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"following"}}]}}]}}]}}]},ne={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"removeEntitiesFromLibrary"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"uris"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"removeLibraryItems"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"uris"},value:{kind:"Variable",name:{kind:"Name",value:"uris"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"library"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]}}]};var nt=n(93110);function nn(e){return e===t0.JM3.ALBUM||e===t0.JM3.ARTIST||e===t0.JM3.TRACK||e===t0.JM3.SHOW||e===t0.JM3.EPISODE||e===t0.JM3.PLAYLIST_V2}function ni(e){return e.map(e=>{if("GenericError"===e.__typename||"NotFound"===e.__typename||"RestrictedContent"===e.__typename||"Chapter"===e.__typename)throw Error(`The typename: ${e.__typename} is not supported`);return"Playlist"===e.__typename?!!e?.following:!!e?.saved})}class na{constructor(e){this.requestGQL=e,this._events=new nt.S,this._cache=new Map,this._pendingRequests=new Map}getEvents(){return this._events}async add(){let e;for(var t=arguments.length,n=Array(t),i=0;i{if(!(e=(0,t0.EC_)(t))||!nn(e.type))throw Error(`Unknown URI type: ${e?.type}`)});try{let t=e?.type===t0.JM3.PLAYLIST_V2?await this.requestGQL(t1,{newPosition:{fromUri:null,moveType:tw.TopOfRootlist},uris:n}):await this.requestGQL(t2,{uris:n});if(!t||t.errors)throw Error("GraphQL query failed");if(!t?.errors)for(let e of n)this._cache.set(e,!0),this._events.emit(nt.E.UPDATE_ITEM,{uri:e,isInLibrary:!0})}catch(e){throw Error(`Error adding ${JSON.stringify(n)} to library: ${e}`)}}}async remove(){let e;for(var t=arguments.length,n=Array(t),i=0;i{if(!(e=(0,t0.EC_)(t))||!nn(e.type))throw Error(`Unknown URI type: ${e?.type}`)});try{let t=e?.type===t0.JM3.PLAYLIST_V2?await this.requestGQL(t7,{uris:n}):await this.requestGQL(ne,{uris:n});if(!t||t.errors)throw Error("GraphQL query failed");for(let e of n)this._cache.set(e,!1),this._events.emit(nt.E.UPDATE_ITEM,{uri:e,isInLibrary:!1})}catch(e){throw Error(`Error removing ${JSON.stringify(n)} from library: ${e}`)}}}async containsEntitiesOfType(e,t){if(0===t.length)return[];let n=async e=>{let n=await this.requestGQL(e,{uris:t});if(!n||n.errors)throw Error("GraphQL query failed");return n};switch(e){case t0.JM3.ALBUM:return ni((await n(t3)).data.albums);case t0.JM3.ARTIST:return ni((await n(t6)).data.artists);case t0.JM3.TRACK:return ni((await n(t5)).data.tracks);case t0.JM3.SHOW:return ni((await n(t8)).data.podcasts);case t0.JM3.EPISODE:return ni((await n(t9)).data.episodes);case t0.JM3.PLAYLIST_V2:return ni((await n(t4)).data.playlistsV2);default:throw Error(`Unknown URI type: ${e}`)}}containsSync(e){return this._cache.get(e)}async contains(){for(var e,t=arguments.length,n=Array(t),i=0;i{let n=this._cache.get(t);void 0!==n?e.push(n):a.push(t)}),e.length===n.length)return e}let r=(e=e=>{let t=(0,t0.EC_)(e);if(null===t||!nn(t.type))throw Error(`Unknown URI type: ${t?.type}`);return t.type},a.reduce((t,n)=>{let i=e(n);return(t[i]=t[i]||[]).push(n),t},{}));return await Promise.all(Object.entries(r).map(async e=>{let t,[n,i]=e,a=i.join(",");this._pendingRequests.has(a)?t=this._pendingRequests.get(a):(t=this.containsEntitiesOfType(n,i),this._pendingRequests.set(a,t));let r=await t;i.forEach((e,t)=>{this._cache.set(e,r[t]),this._events.emit(nt.E.UPDATE_ITEM,{uri:e,isInLibrary:r[t]})}),this._pendingRequests.delete(a)})),n.map(e=>this._cache.get(e))}}var nr=n(31739),ns=n(54189),no=n(17931),nl=n(12509);let nu=nl.env.DEBUG_EVENT_SENDER,nc=(e,t,n)=>{let i=(0,ns.createEventSender)({transport:e,suppressPersist:!1,context:[(0,no.createClientIdContext)(t),(0,no.createApplicationContext)({version:nl.env.__BUILD_VERSION__}),(0,no.createUserAgentContext)(),(0,no.createCorrelationIdContext)(n)]});return nu&&(i._send=i.send,i.send=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a{console.log(`EventSender: uploaded ${e.data.num_events} events`)},[ns.EventSenderEvent.UPLOAD_FAILED]:e=>{console.error("EventSender: upload failed",e)}})),i};var nd=n(60115),np=n(13257);async function n_(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;try{return await e()}catch(i){if(t)return await new Promise(e=>setTimeout(e,n)),n_(e,t-1,n);throw Error("Import failed after retry.",{cause:i})}}let nm=async(e,t,i)=>{if(!(0,nd.k)(t)&&await i===np.d.FULL){let{createHarmonyPlayer:t}=await n_(()=>Promise.all([n.e(6838),n.e(1213),n.e(5275),n.e(2446)]).then(n.bind(n,36470)));return t(e)}let{createOverturePlayer:a}=await n_(()=>Promise.all([n.e(1213),n.e(6143),n.e(2768)]).then(n.bind(n,98293)));return a(e,t)};var nT=n(18918),nN=n(55026);let nE=e=>{var t,n;let a;if(i)return i;let r=(0,nT.createBaseTransport)({providers:{endpoints:(0,nT.createXResolveProvider)(),token:(t=e.tokenFromServer,n=async()=>{let e;if(t&&!(Date.now()>=t.accessTokenExpirationTimestampMs))e=t;else{if(null===(e=(await tZ.b.getInstance().build().withPath("/embed/api/token").withoutMarket().withoutAuthorization().withEndpointIdentifier("/embed/api/token").send()).body))throw Error("Token is currently unavailable.");tZ.b.setSession(e)}let{accessToken:n,accessTokenExpirationTimestampMs:i}=e;return[n,Math.floor(((i||0)-Date.now())/1e3)]},a=null,async()=>{let e;if(a)return a;a=n();try{e=await a}finally{a=null}return e})},disconnectBeforeUnload:!0,reconnectionRetries:3,requestMode:"fetch"});return e.useDealer&&r.addPlugin(nN.dv,{WebSocket:WebSocket}),r.on(nT.TransportEvent.CONNECTED,()=>{r.isAuthenticated()||r.authenticate()}),r.on(nT.TransportEvent.DISCONNECTED,()=>{r.connect()}),r.connect(),i=r,r};var nI=n(13302),ny=n(90371);let nh=(0,tY.createContext)(null);var nA=n(41747),nf=n(11560),ng=n(60874),nO=n(72008),nk=n(68425),nv=n(61331),nS=n(59510),nb=n(62085),nR=n(36968),nC=e=>t=>{let{data:{entity:n},settings:{session:{isAnonymous:i=!1}}}=t.getState(),a=n?.uri??"";function r(t){return e.send((0,nO.l)(t))}let{osName:s,osVersion:o,browserName:l,browserVersion:u}=(0,nR.H)(),c=(0,nb.b)();return e=>n=>{let{data:d,settings:p}=t.getState(),_=(0,t0.EC_)(d.embeded_entity_uri),m=d.entity?.isAudiobook?nk.p.AUDIOBOOK:_?.type,T={device_type:p.isMobile||p.isTablet?"mobile":"desktop",view_uri:a,entity_uri:_?.toURI(),entity_type:m,embed_is_video:!!p.isVideoEmbed,page_url:window.location.href,referrer:c,viewport_width:window.innerWidth,viewport_height:window.innerHeight,is_authenticated:!i,browser_name:l,browser_version:u,os_name:s,os_version:o};switch(n.type){case nS.N:r({...T,action_type:"pageview",action_intent:null,action_item_id:null,item_uri:null});break;case nv.C:r({...T,action_type:n.interactionData.action_type,action_intent:n.interactionData.action_intent,action_item_id:n.interactionData.action_item_id,item_uri:n.interactionData.item_uri})}return e(n)}},nP=n(13211),nw=n(84787);let nL={initialized:!1,showOverflowMenu:!1,playbackMode:np.d.UNKNOWN,currentPreviewTrackIndex:0};var nx=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nL,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case nS.q:return{...e,initialized:!0};case nw.RA:return{...e,showOverflowMenu:!0};case nw.gm:return{...e,showOverflowMenu:!1};case np.L:return{...e,playbackMode:t.playbackMode};case t$.sV:return{...e,currentPreviewTrackIndex:t.index};default:return e}},nD=e=>(0,nf.UY)({data:()=>e.data,settings:()=>e.settings,machineState:nx});let nM=()=>nf.qC;var nU=n(14701);function nB(e){if("undefined"!=typeof TextEncoder)return new TextEncoder().encode(e);let t=new Uint8Array(e.length);for(let n=0;n3&&void 0!==arguments[3]?arguments[3]:{},a=await nK(t);try{let r=await nq(e,t,n,a,i);if(r.body?.errors?.some(e=>"PersistedQueryNotFound"===e.message))return nX(e,t,n,a,i);return r}catch(r){if(r instanceof nU.mk&&405===r.status)return nX(e,t,n,a,i);throw r}}var n$=n(52095);async function nz(){let{checkPlatform:e}=await Promise.all([n.e(6838),n.e(846)]).then(n.bind(n,29774));return e()}let nQ=()=>nz().catch(()=>!1),nZ=e=>{let{settings:{session:t}}=e;return!!(!t.accessToken||t.isAnonymous)},n0=e=>{let{settings:t}=e;return!!t.isMobile},n1=e=>{let{settings:t}=e;return!!t.isSafari},n7=["spotify:show:4rOoJ6Egrf8K2IrywzwOMk","spotify:show:3jtZt3VSBbBJPwrCGIeyc0"],n2=(e,t)=>{let n=(0,nd.k)(t);return n&&(e||t.data.defaultAudioFileObject.passthrough!==t$.Zq.NONE&&t.data.defaultAudioFileObject.passthroughUrl)||!n&&e&&!nZ(t)&&!n0(t)&&!n1(t)||!e&&n7.includes(t.data.entity?.relatedEntityUri)&&t.data.entity?.hasVideo?np.d.FULL:np.d.PREVIEW};var n3=n(20060);let n6=e=>nQ().then(t=>n2(t,e)),n5=e=>{let{children:t,props:{config:n,state:i}}=e,[a,r]=(0,tY.useState)((0,nP.xC)({reducer:nD(i),preloadedState:i})),[s,o]=(0,tY.useState)(null),[l,u]=(0,tY.useState)(null),[c,d]=(0,tY.useState)(null),[p]=(0,tY.useState)(()=>(0,tH.o)(n.strings,tQ()));return(0,nr.u)(n),(0,tY.useEffect)(()=>{var e;tZ.b.setSession(i.settings.session);let t=nE({useDealer:!i.settings.session.isAnonymous,tokenFromServer:i.settings.session}),a=n6(i);nm(t,i,a).then(e=>{let{playerAPI:t}=e;u(t)}),d(new na((e=tZ.b.getInstance(),async function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(e){let t=e.definitions.filter(nH);if(0===t.length)throw Error("No GraphQL operation definition found in document!");if(t.length>1)throw Error("Too many GraphQL operation definitions found in document! Expected exactly one.");let[n]=t;if(void 0===n.name)throw Error("Nameless GraphQL operations are not supported!");return{type:n.operation,name:n.name.value,body:(0,nF.S)(e)}}(t);if("subscription"===a.type)throw Error("GraphQL subscriptions are not supported!");return(await nJ(e,a,n,i)).body})));let{correlationId:s,clientId:l}=n,c=nc(t,l,s);o(c);let p=function(e,t){let n=nM(),i=[nC(t),ng.Z];return(0,nP.xC)({reducer:nD(e),preloadedState:e,middleware:e=>e({immutableCheck:!1,composeEnhancer:n}).concat(i)})}(i,c);a.then(e=>(p.dispatch({type:np.L,playbackMode:e}),e)),r(p)},[i,n]),function(e,t){let{triggerPlaybackOperation:n}=(0,tz.t)(e,t),i=(0,tY.useRef)(!1);(0,tY.useEffect)(()=>{if(!e)return()=>{};let a=i=>{let a=t.getState().settings.isVideoEmbed&&t.getState().data?.entity?.hasVideo;switch(i.data?.command){case eS.PLAY:case eS.PLAY_FROM_START:n((0,tq.hY)(a?t$.yp.VIDEO:t$.yp.AUDIO)),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"play",action_type:"iframe-api"}));break;case eS.PAUSE:n((0,tq.wO)()),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"pause",action_type:"iframe-api"}));break;case eS.RESUME:e.getState()?.hasContext?n((0,tq.v4)()):n((0,tq.hY)()),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"resume",action_type:"iframe-api"}));break;case eS.TOGGLE_PLAY:n((0,tq.Xh)()),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"toggle",action_type:"iframe-api"}));break;case eS.SEEK:{let e=parseInt(i.data?.timestamp,10);n((0,tq.O7)(1e3*e)),t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"seek",action_type:"iframe-api"}))}break;case eS.LOAD_COMPLETE_ACK:t.dispatch((0,tX._)({page:window.location.pathname,action_intent:"load-episode",action_type:"iframe-api"}));break;default:return}};return window.addEventListener("message",a),i.current||(window.parent&&window.parent.postMessage({type:ev.READY},"*"),i.current=!0),()=>{window.removeEventListener("message",a)}},[e,t,n,i]),(0,tY.useEffect)(()=>(function(e){if(window.parent&&e){let t=e=>{if(e.data){let{isPaused:t,isBuffering:n,duration:i,positionAsOfTimestamp:a}=e.data;window.parent.postMessage({type:ev.PLAYBACK_UPDATE,payload:{isPaused:t,isBuffering:n,duration:i,position:a}},"*")}};return e.getEvents().addListener(tJ.rg.UPDATE,t),()=>{e.getEvents().removeListener(tJ.rg.UPDATE,t)}}return()=>{}})(e),[e])}(l,a),(0,tW.jsx)(tK.zt,{store:a,serverState:a.getState(),children:(0,tW.jsx)(n3.H.Provider,{value:c,children:(0,tW.jsx)(tH.wj.Provider,{value:p,children:(0,tW.jsx)(tH.Iw,{value:n.locale,children:(0,tW.jsx)(nh.Provider,{value:s,children:(0,tW.jsx)(nI.l,{reduxStore:a,playerAPI:l,children:(0,tW.jsxs)(tF.u,{children:[(0,tW.jsx)("base",{target:i.settings.isMobile?"_top":"_blank"}),(0,tW.jsx)(tV.xB,{styles:n$.ue}),(0,tW.jsx)(nA.b,{children:(0,tW.jsx)(ny.v,{children:t})})]})})})})})})})}},6208:function(e,t,n){"use strict";n.d(t,{D:function(){return p}});var i=n(52676),a=n(82187),r=n.n(a),s=n(75271),o=n(73027),l=n(72077),u=n(1750),c=n(11253),d=n.n(c);let p=e=>{let{className:t,onClick:n}=e,a=(0,o.I0)(),c=(0,s.useCallback)(e=>a((0,u._)(e)),[a]),p=(0,l.y)({productName:"embed_player_p"});return(0,i.jsx)("div",{onClick:()=>{n&&n(),c({action_type:"click",action_intent:"deeplink",action_item_id:"cover-art"}),window.open(p?.embeddedEntity,"_blank")},"aria-hidden":!0,className:r()(d().coverArt,t)})}},16290:function(e,t,n){"use strict";var i=n(52676),a=n(99454),r=n(75271),s=n(41747),o=n(72710),l=n.n(o);let u=e=>e>550?64:24;t.Z=e=>{let{title:t,description:n,links:o}=e,[c,d]=(0,r.useState)(32),{height:p}=(0,r.useContext)(s.h);return(0,r.useEffect)(()=>{p&&d(u(p))},[p]),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:l().wrapper,children:[(0,i.jsx)("div",{className:l().icon,children:(0,i.jsx)(a.V,{iconSize:c})}),(0,i.jsxs)("div",{className:l().content,children:[(0,i.jsx)("h1",{className:l().title,children:t}),(0,i.jsx)("p",{className:l().description,children:n}),(0,i.jsx)("div",{className:l().links,children:(e=>{let t=e.map(e=>(0,i.jsx)("a",{target:"_blank",href:e.href,className:e.isPrimaryStyle?l().primary:"",children:e.title},e.href));return(0,i.jsx)(i.Fragment,{children:t.map(e=>e)})})(o)})]})]})})}},54608:function(e,t,n){"use strict";n.d(t,{R:function(){return m}});var i=n(52676),a=n(82187),r=n.n(a),s=n(75271),o=n(73027);let l=()=>!1,u=e=>{let t=(0,s.useMemo)(()=>l()?null:window.matchMedia(e),[e]),[n,i]=(0,s.useState)(()=>!t||t.matches);return(0,s.useEffect)(()=>{if(!t||!t.addEventListener)return()=>{};let e=e=>{i(e.matches)};return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[t]),n},c=()=>u("(prefers-reduced-motion: reduce)");var d=n(42764),p=n(61058),_=n.n(p);let m=e=>{let{children:t,title:n,speed:a=.2,pauseAtEndEdgeDurationMs:l=1200,initialMouseIntDelayMs:u=200,startAnimationOnMount:p=!0,startAnimationOnMountDelayMs:m=1e3,iterationCount:T="infinite",scrollMethod:N="transform"}=e,E=(0,s.useRef)(null),I=(0,s.useRef)(null),y=(0,s.useRef)(null),h=(0,s.useRef)(0),A=(0,s.useRef)("scrolling"),f=(0,o.v9)(e=>e.settings.rtl)?"rtl":"ltr",g=(0,s.useRef)(void 0),O=c(),k=(0,s.useRef)({initialMouseInteraction:null,animationOnMount:null}),v=(0,s.useCallback)(()=>y.current&&E.current?y.current.clientWidth-E.current.clientWidth:0,[]),S=(0,s.useCallback)(()=>g&&"rtl"===g.current?1:-1,[g]),b=(0,s.useCallback)(()=>{let e=v();return e>0&&f!==g.current?0+-1*S()*e:0},[v,f,S]),R=(0,s.useCallback)(()=>{y.current?.style.setProperty("--trans-x",`${b()}px`)},[b]),C=(0,s.useCallback)(()=>{if(O||h.current)return;let e=!1,t=0,n=1,i=!1,r=s=>{let o=v();if(o<=0)return;let u=!0,c=t;if(e){if(i?s>i+l&&(i=!1):"paused"===A.current||((c+=(s-e)*60/1e3*n*a)>o?(n*=-1,i=s,c=o):c<0&&(n*=-1,i=s,c=0,u="infinite"===T)),t=c,"transform"===N){let e=S()*t+b();y.current?.style.setProperty("--trans-x",`${e}px`),I.current.scrollLeft=0}else"scroll"===N&&(I.current.scrollLeft=t)}e=s,h.current=0,u&&(h.current=requestAnimationFrame(r))};A.current="scrolling",r(0)},[a,l,N,S,b,v,O,T]),P=(0,s.useCallback)(()=>h.current,[]),w=(0,s.useCallback)(()=>{A.current="paused"},[]),L=(0,s.useCallback)(()=>{A.current="scrolling"},[]),x=(0,s.useCallback)(()=>{cancelAnimationFrame(h.current),A.current="paused",h.current=0},[]),D=(0,s.useCallback)(()=>{Object.values(k.current).forEach(e=>e&&clearTimeout(e))},[]),M=(0,s.useCallback)(e=>{P()?w():"focus"!==e&&(k.current.initialMouseInteraction=setTimeout(C,u))},[C,w,u,P]),U=(0,s.useCallback)(()=>{k.current.initialMouseInteraction&&clearTimeout(k.current.initialMouseInteraction),P()&&L()},[L,P]);return(0,s.useEffect)(()=>{p&&(k.current.animationOnMount&&clearTimeout(k.current.animationOnMount),k.current.animationOnMount=setTimeout(C,m))},[C,m,p]),(0,s.useEffect)(()=>()=>{x(),D(),R()},[x,D,R]),(0,s.useEffect)(()=>{let e=y.current?.children[0];e&&(g.current=getComputedStyle(e).direction,"rtl"===g.current&&E.current?.classList.add(_().containerRtl)),R()},[f,b,R]),function(e){let t=(0,d.y1)(e,100,{leading:!0});(0,s.useEffect)(()=>(window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),t.cancel()}),[t])}(()=>{x(),R()}),(0,i.jsx)("div",{ref:E,className:_().container,onMouseOver:()=>M("mouse"),onFocus:()=>M("focus"),onMouseOut:U,onBlur:U,title:O&&n?n:void 0,children:(0,i.jsx)("div",{ref:I,className:r()(_().scrollableContainer,{[_().gradient]:v()>0}),children:(0,i.jsx)("div",{ref:y,className:_().inner,children:t})})})}},858:function(e,t,n){"use strict";n.d(t,{S:function(){return f}});var i=n(52676),a=n(82187),r=n.n(a),s=n(26728),o=n(72867),l=n(71409),u=n(85866),c=n(75271),d=n(73027),p=n(27158),_=n(28734),m=n(4733);let T=async(e,t,n)=>{let{utmParameters:i,customData:a,linkPreview:r}=n,s=await e.build().withHost("https://spclient.wg.spotify.com/url-dispenser/v1").withPath("/generate-url").withMethod("POST").withJsonContentType().withoutMarket().withEndpointIdentifier("/v1/generate-url").withBody({spotify_uri:t,custom_data:a,link_preview:r,utm_parameters:i}).send();if(201===s.status)return s.body;throw Error(`Failed to get short link for uri ${t}`)},N=async(e,t)=>(await T(e,t,{}).catch(()=>({shareable_url:m.EC_(t)?.toURL()}))).shareable_url??null;var E=n(1750),I=n(60115);async function y(e){if("clipboard"in navigator)try{if("string"==typeof e)return await navigator.clipboard.writeText(e);if(navigator.clipboard.write)return await navigator.clipboard.write([new ClipboardItem({"text/plain":e.then(e=>new Blob([e],{type:"text/plain"}))})]);let t=await e;return await navigator.clipboard.writeText(t)}catch(e){throw Error(`Failed to copy to clipboard using Clipboard API. ${e.message}`)}return Promise.resolve()}var h=n(86272),A=n.n(h);let f=e=>{let{className:t}=e,n=(0,d.v9)(I.w),[a,m]=(0,c.useState)(!1),[T,h]=(0,c.useState)(null),f=(0,d.I0)(),{isCompactLegacy:g}=(0,p.M)(),O=(0,u.NT)(),k=async e=>{await y(e),f((0,E._)({action_type:"click",action_intent:"clipboard-copy"})),m(!0)},v=async()=>{if(!a&&n){if(T)await k(T);else{let e=await N(_.b.getInstance(),n);e&&await k(e),h(e)}}};return(0,c.useEffect)(()=>{a&&setTimeout(()=>m(!1),2e3)},[a]),(0,c.useEffect)(()=>{h(null)},[n]),(0,i.jsx)(s.o,{semanticColor:"textBase",disabled:!n,className:r()(t,{[A().clicked]:a}),onClick:e=>{e.stopPropagation(),v()},iconLeading:g?void 0:o.o,condensed:!0,children:(0,i.jsx)(l.x,{className:r()(A().truncator,A().copyLinkText),children:a?O("embed_success_share_link","Copied to clipboard","Text on a button when an entity link was copied to a clipboard"):O("spe.copy_link","Copy link","Text on a button that copies an entity link to a clipboard")})})}},97736:function(e,t,n){"use strict";n.d(t,{I:function(){return S}});var i=n(52676),a=n(26728),r=n(99454),s=n(61503),o=n(32180),l=n(85866),u=n(82187),c=n.n(u),d=n(35839),p=n.n(d),_=n(75271),m=n(73027),T=n(72077),N=n(27158),E=n(18262),I=n(1750),y=n(69879),h=n(60115),A=n(13257),f=n(45986),g=n(7384),O=n(858),k=n(5378),v=n.n(k);let S=e=>{let{playOnSpotifyClick:t,visible:n}=e,u=(0,T.y)({productName:"embed_player_p"}),d=(0,l.NT)(),k=(0,E.l)(),S=(0,m.v9)(e=>e.machineState.playbackMode),b=(0,_.useRef)(null),R=(0,m.I0)(),C=()=>{R((0,y.h6)()),R((0,I._)({action_type:"click",action_intent:"close-context-menu"}))},{isCompactLegacy:P}=(0,N.M)(),w=(0,m.v9)(e=>(0,h.k)(e)||e.data.entity?.isAudiobook?e.data.entity.relatedEntityUri:e.data.entity.uri),L=d("play_on_spotify","Play on Spotify","Button that plays the viewed content in the Spotify client");return(0,i.jsx)(i.Fragment,{children:S!==A.d.UNKNOWN&&(0,i.jsx)(p(),{active:n,focusTrapOptions:{onDeactivate:C},children:(0,i.jsxs)("div",{ref:b,className:c()(v().wrapper,{[v().visible]:n}),children:[(0,i.jsxs)("div",{className:c()(v().menuContent,{[v().visible]:n}),children:[(0,i.jsxs)("ul",{className:c()(v().menu,{[v().visible]:n}),children:[(0,i.jsx)("li",{className:v().menuItem,children:(0,i.jsx)("a",{className:v().menuItemButton,tabIndex:-1,href:u.embeddedEntity,target:"_blank",children:(0,i.jsx)(a.o,{semanticColor:"textBase",className:v().menuItemButton,onClick:()=>{t&&t(),R((0,I._)({action_type:"click",action_intent:"deeplink",action_item_id:"play-on-spotify"}))},iconLeading:P?void 0:r.V,"aria-label":L,condensed:!0,children:(0,i.jsx)("div",{className:v().truncator,children:L})})})}),(0,i.jsx)("li",{className:v().menuItem,children:(0,i.jsx)(f.w,{uri:w,className:v().adaptToOverflowMenu,mainView:!1})}),(0,i.jsx)("li",{className:v().menuItem,children:(0,i.jsx)(O.S,{className:v().menuItemButton})})]}),(0,i.jsxs)("div",{className:v().policies,children:[(0,i.jsx)(s.h,{className:v().link,href:"https://www.spotify.com/legal/privacy-policy/",target:"_blank",onClick:()=>{R((0,I._)({action_type:"click",action_intent:"privacypolicy-show"}))},semanticColor:k?"textSubdued":"textBase",standalone:!0,children:d("spe.privacy_policy","Privacy Policy","Button`s text that opens privacy policy Spotify`s page")}),(0,i.jsx)(g.Z,{className:v().separator,isDynamicColor:k}),(0,i.jsx)(s.h,{className:v().link,href:"https://www.spotify.com/legal",target:"_blank",semanticColor:k?"textSubdued":"textBase",onClick:()=>{R((0,I._)({action_type:"click",action_intent:"termsandconditions-show"}))},standalone:!0,children:d("spe.terms_and_conditions","Terms & Conditions","Button`s text that opens a terms and conditions Spotify`s page")})]})]}),(0,i.jsx)("div",{className:v().closeButton,children:(0,i.jsx)(a.o,{iconOnly:o.k,"aria-label":d("close_button_action","Close","Accessibility label for a close button"),onClick:C,semanticColor:"textBase"})})]})})})}},35369:function(e,t,n){"use strict";n.d(t,{c:function(){return p}});var i=n(52676),a=n(26728),r=n(48072),s=n(85866),o=n(73027),l=n(1750),u=n(69879),c=n(60288),d=n.n(c);let p=()=>{let e=(0,o.I0)(),t=(0,s.NT)()("embed_more","More","Accessibility label for an open context menu button");return(0,i.jsx)(a.o,{condensedAll:!0,size:"small",className:d().overflowMenuButton,semanticColor:"textBase",title:t,"aria-label":t,onClick:()=>{e((0,u.Nn)()),e((0,l._)({action_type:"click",action_intent:"open-context-menu"}))},iconOnly:r.N})}},13487:function(e,t,n){"use strict";n.d(t,{J:function(){return A}});var i=n(52676),a=n(46569),r=n(67880),s=n(59350),o=n(85866),l=n(82187),u=n.n(l),c=n(75271),d=n(73027),p=n(13302),_=n(60934),m=n(1750),T=n(31526),N=n(44936),E=n.n(N),I=()=>(0,i.jsx)("div",{className:E().loadingSpinner}),y=n(83671),h=n.n(y);let A=e=>{let{maxTimeToNotShowLoading:t}=e,n=(0,d.v9)(e=>e.data.entity).isPlayable,{playbackState:l,triggerPlaybackOperation:N}=(0,c.useContext)(p.C),E=l?.isBuffering||!1,y=l?.isDisabled,A=(0,d.I0)(),f=!!l?.hasContext,g=l?.item?.uri,O=!f||(l?.isPaused??!0),k=(0,o.NT)(),v=(0,d.v9)(e=>e.settings.isVideoEmbed),[S,b]=(0,c.useState)(k("page.loading","Loading","Accessibility label for loading spinner")),R=(0,c.useRef)(!1),C=(0,c.useRef)(void 0),P=(0,c.useRef)(void 0),[w,L]=(0,c.useState)(!1);(0,c.useEffect)(()=>{R.current?(E?C.current=setTimeout(()=>{C.current=void 0,E&&L(!0)},t||200):(C&&clearTimeout(C.current),w&&!P&&setTimeout(()=>{L(!1)},300)),w&&(P.current=setTimeout(()=>{P.current=void 0,E||L(!1)},300))):R.current=!0});let x=(0,c.useRef)(null);return(0,c.useEffect)(()=>{y||!n?(b(k("spe.error_heading","Something went wrong","Accessibility label for error message")),x.current=(0,i.jsx)(a.z,{className:h().playPauseIcon,title:S,color:(0,r.TY)("textBase")})):w?(b(k("page.loading","Loading","Accessibility label for loading spinner")),x.current=(0,i.jsx)(I,{})):O?(b(k("embed_play","Play","Accessibility label for a button that plays preview of a track")),x.current=(0,i.jsx)(a.z,{className:h().playPauseIcon,title:S,color:(0,r.TY)("textBase")})):(b(k("embed_pause","Pause","Accessibility label for a button that pauses preview of a track")),x.current=(0,i.jsx)(s.p,{className:h().playPauseIcon,title:S,color:(0,r.TY)("textBase")}))},[w,O,k,S,y,n]),(0,i.jsx)("button",{"data-testid":"play-pause-button",className:u()(h().buttonWrapper,{[h().disabled]:y||!n,[h().adaptForVideo]:v}),onClick:()=>{y||(n?(N((0,_.Xh)(v?T.yp.VIDEO:T.yp.AUDIO)),A((0,m._)({action_type:"click",action_intent:!1===O?"pause":"play",action_item_id:"now-playing-bar",item_uri:g}))):A((0,m._)({action_type:"playback",action_intent:"track-not-available",action_item_id:"now-playing-bar",item_uri:g})))},"aria-label":S,tabIndex:0,children:x.current})}},99890:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var i=n(52676),a=n(27158),r=n(99981),s=n(35369),o=n(66439),l=n(98707),u=n.n(l);let c=()=>{let{isCompactLegacy:e}=(0,a.M)();return(0,i.jsxs)("div",{className:u().playerControlsWrapper,children:[e&&(0,i.jsx)("div",{className:u().addToLibraryCompactWrapper,children:(0,i.jsx)(r.E,{})}),(0,i.jsx)("div",{className:u().overflowMenuButtonWrapper,children:(0,i.jsx)(s.c,{})}),(0,i.jsx)(o.D,{})]})}},66439:function(e,t,n){"use strict";n.d(t,{D:function(){return E}});var i=n(52676),a=n(26728),r=n(46569),s=n(12434),o=n(85866),l=n(75271),u=n(73027),c=n(13302),d=n(60934),p=n(41747),_=n(1750),m=n(52095),T=n(44874),N=n.n(T);let E=()=>{let e=(0,o.NT)(),[t,n]=(0,l.useState)({left:0,right:0,animationState:0}),[T,E]=(0,l.useState)(!0),{playbackState:I,triggerPlaybackOperation:y}=(0,l.useContext)(c.C),h=I?.duration,A=I?.positionAsOfTimestamp,f=(0,u.v9)(e=>e.data.entity),g=f.isPlayable,O=I?.item?.uri,k=null===f.audioPreview||I?.isDisabled||!g,v=(0,u.I0)(),S=!I?.hasContext||I?.isPaused,b=(0,l.useRef)(!0);b.current=t.right<180;let{height:R}=l.useContext(p.h);(0,l.useEffect)(()=>{R&&E(R>=m.p4.large)},[R]),(0,l.useEffect)(()=>{if(0===A){b.current=!0,n(e=>({...e,left:0,right:0,animationState:2}));return}if(h&&A&&A>0){let e=360*A/h,t=e>180?180:e,i=e>180?e-180:0,a=b.current;n(e=>({...e,left:180===t&&a&&2===e.animationState?0:i,right:t,animationState:0===e.animationState?1:e.animationState}))}},[h,A]),(0,l.useEffect)(()=>{1===t.animationState&&n(e=>({...e,animationState:2}))},[t.animationState]);let C={zIndex:1,transform:`rotate(${t.right}deg)`,transition:0===t.right||2!==t.animationState?"none":"transform 1s ease-in-out"},P={zIndex:2,transform:`rotate(${t.left}deg)`,transition:0===t.left||2!==t.animationState?"none":"transform 1s ease-in-out"},w=()=>{k||(y((0,d.Xh)()),v((0,_._)({action_type:"click",action_intent:I?.isPaused===!1?"pause":"play",action_item_id:"now-playing-bar",item_uri:O})),g||v((0,_._)({action_type:"playback",action_intent:"track-not-available",action_item_id:"now-playing-bar",item_uri:O})))};return(0,i.jsx)("div",{className:N().circularContainer,"data-testid":"preview-play-pause",children:S?(0,i.jsx)(a.o,{disabled:k,"aria-label":e("embed_play","Play","Accessibility label for a button that plays preview of a track"),"data-testid":"play-pause-button",onClick:w,semanticColor:"textBase",condensedAll:!0,children:(0,i.jsx)(r.z,{semanticColor:"textBase",size:T?"xlarge":"large"})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:N().rangeBarRight,children:(0,i.jsx)("div",{className:N().rangeBarProgress,style:C,"data-testid":"progress-right"})}),(0,i.jsx)("div",{className:N().rangeBarLeft,children:(0,i.jsx)("div",{className:N().rangeBarProgress,style:P,"data-testid":"progress-left"})}),(0,i.jsx)("div",{className:N().circularInner,children:(0,i.jsx)(a.o,{className:N().iconPlayingButton,"aria-label":e("embed_pause","Pause","Accessibility label for a button that pauses preview of a track"),"data-testid":"play-pause-button",onClick:w,semanticColor:"textBase",condensedAll:!0,children:(0,i.jsx)(s.k,{size:T?"large":"medium"})})})]})})}},64549:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(52676),a=n(75271),r=n(73027),s=n(81361),o=n(60934),l=n(13302),u=n(1750),c=n(4733);function d(e){return e===c.JM3.TRACK||e===c.JM3.ALBUM||e===c.JM3.PLAYLIST||e===c.JM3.ARTIST?5e3:15e3}var p=n(85866),_=n(82187),m=n.n(_),T=n(42764);let N=e=>{let{onStepForward:t,onStepBackward:n,value:i}=e;return(0,T.y1)(e=>{parseFloat(e.target.value)>i?t?.():n?.()},100,{trailing:!1,leading:!0,maxWait:200})};var E=n(77602),I=n(62131),y=n.n(I),h=n(73582),A=n.n(h);function f(e){let{children:t,...n}=e;return(0,i.jsxs)("label",{className:A().visibleOnlyToScreenReader,children:[t,(0,i.jsx)("input",{...n})]})}function g(e,t,n){let i=e.current;if(null===i)return 0;let a=i.getBoundingClientRect();return"vertical"===n?1-Math.max(0,Math.min((t.clientY-a.top)/a.height,1)):Math.max(0,Math.min((t.clientX-a.left)/a.width,1))}let O=e=>{let{progressBarRef:t,onDragStart:n,onDragMove:i,onDragEnd:r,direction:s="horizontal"}=e,[o,l]=(0,a.useState)(!1),[u,c]=(0,a.useState)(!1),[d,p]=(0,a.useState)(0),_=(0,a.useRef)(n),m=(0,a.useRef)(i),N=(0,a.useRef)(r);_.current=n,m.current=i,N.current=r;let E=(0,T.y1)(e=>{m.current(g(t,e,s))},20,{leading:!0,maxWait:20}),I=(0,a.useCallback)(e=>{0===e.button&&(_.current(g(t,e,s)),l(!0),document.addEventListener("pointermove",E),document.addEventListener("pointerup",e=>{l(!1),E.cancel(),N.current(g(t,e,s)),document.removeEventListener("pointermove",E)},{once:!0}))},[E,t,s]),y=(0,a.useCallback)(e=>{p(g(t,e,s))},[t,s]);return{isDragging:o,onPointerDown:I,onPointerEnter:(0,a.useCallback)(()=>{c(!0),document.addEventListener("pointermove",y)},[y]),onPointerLeave:(0,a.useCallback)(()=>{c(!1),document.removeEventListener("pointermove",y)},[y]),isHovering:u,hoverPercentage:d}};var k=e=>{let{enabled:t,max:n,current:r,withOverhead:s,entityType:o,onDragStart:l,onDragMove:u,onDragEnd:c,onStepBackward:_,onStepForward:T}=e,I=(0,p.NT)(),h=(0,a.useRef)(null),{isDragging:A,onPointerDown:g,onPointerEnter:k,onPointerLeave:v,isHovering:S,hoverPercentage:b}=O({progressBarRef:h,onDragStart:l,onDragMove:u,onDragEnd:c}),[R,C]=(0,a.useState)(!1),P=Math.max(0,Math.min(1,(r??0)/(n||1))),w=S?b??0:P,L={left:`${100*w}%`},x={transform:`translateX(-${100-(S?b:0)*100}%)`},D=S&&n?n*b:0,M=R&&n?r??0+d(o):0,U=void 0!==n&&n>0&&(S||R),B={transform:`translateX(-${100-100*P}%)`},G=t&&S||A,j={left:`${100*P}%`},W=N({onStepForward:T,onStepBackward:_,value:r??0});return(0,i.jsxs)("div",{ref:h,onPointerDown:t?g:void 0,onPointerEnter:t?k:void 0,onPointerLeave:t?v:void 0,className:s?y().progressBarContainerWithOverhead:y().progressBarContainer,children:[(0,i.jsx)(f,{disabled:!t,type:"range",min:0,max:n,value:r??0,step:d(o),onChange:e=>(C(!0),W(e)),onKeyDown:e=>"Escape"===e.code&&C(!1),onFocus:()=>C(!0),onBlur:()=>C(!1),"aria-valuetext":` ${(0,E.Z)(r??0)} / ${(0,E.Z)(n??0)} `,children:I("playback-control.a11y.seek-slider-button","Change progress","Text read by accessibility tools explaining what the white dot on the player bar is for")}),U&&(0,i.jsx)("div",{className:y().tooltip,style:L,children:S?(0,E.Z)(D):(0,E.Z)(M)}),(0,i.jsxs)("div",{className:y().progressBarLineBackground,children:[(0,i.jsx)("div",{className:y().progressBarLineActive,style:x}),(0,i.jsx)("div",{"data-testid":"progress-bar-line",id:"progress-bar-line",style:B,className:y().progressBarLine})]}),(0,i.jsx)("div",{"data-testid":"progress-bar-slider",id:"progress-bar-slider",className:m()(y().progressBarSlider,{[y().visible]:G}),style:j})]})},v=()=>{let e=(0,r.v9)(e=>e.data.entity),{triggerPlaybackOperation:t,playbackState:n}=(0,a.useContext)(l.C),c=e.isPlayable&&!!n?.hasContext,{metadata:p}=(0,a.useMemo)(()=>(0,s.C)(e),[e]),_=n?.duration||Number(p?.duration),m=n?.item?.uri,[T,N]=(0,a.useState)(null),[E,I]=(0,a.useState)(n?.positionAsOfTimestamp||0),y=null!==T?T:E,h=(0,r.I0)(),A=e=>{h((0,u._)(e))};(0,a.useEffect)(()=>{I(n?.positionAsOfTimestamp||0)},[n?.positionAsOfTimestamp]);let f=e=>{N(e*_)};return(0,i.jsx)(k,{onDragStart:f,onDragMove:f,onDragEnd:e=>{N(null),A({action_type:"click",action_intent:"seek-click",item_uri:m});let n=e*_;I(n),t((0,o.O7)(n))},max:_,current:y,enabled:c,entityType:e.type,onStepBackward:()=>{I(y-d(e.type)),t((0,o.O7)(y-d(e.type)))},onStepForward:()=>{I(y+d(e.type)),t((0,o.O7)(y+d(e.type)))}})}},4074:function(e,t,n){"use strict";n.d(t,{r:function(){return m}});var i=n(52676),a=n(71409),r=n(85866),s=n(75271),o=n(73027),l=n(81361),u=n(13302),c=n(1750),d=n(77602),p=n(37574),_=n.n(p);let m=()=>{let e=(0,o.v9)(e=>e.data.entity),{playbackState:t}=(0,s.useContext)(u.C),{metadata:n}=(0,s.useMemo)(()=>(0,l.C)(e),[e]),p=t?.duration||Number(n?.duration),[m,T]=(0,s.useState)({dragPosition:null,showRemainingTime:!0}),N=(0,r.NT)(),{showRemainingTime:E,dragPosition:I}=m,[y,h]=(0,s.useState)(N("spe.playback-control.progress-timestamp","Progress timestamp","Accessibility label for a numeric progress display in the currently playing track, in minutes and seconds")),A=0;Number.isFinite(I)?A=I*p:t?.positionAsOfTimestamp&&(A=t?.positionAsOfTimestamp);let f="";f=t?.hasContext||t?.isPaused!==void 0?E?(0,d.Z)((A||0)-p):(0,d.Z)(A||0):(0,d.Z)(p),(0,s.useEffect)(()=>{E?h(`${f} remaining time. Toggle to elapsed.`):h(`${f} elapsed time. Toggle to remaining.`)},[f,E]);let g=f.replace(/\d/g,"0").replace(/^\d/,"-0"),O=(0,o.I0)();return(0,i.jsxs)("button",{className:_().progressTimer,onClick:()=>{T({...m,showRemainingTime:!m.showRemainingTime}),O((0,c._)({action_type:"click",action_intent:"change-time-format"}))},"aria-disabled":!t?.hasContext&&t?.isPaused===void 0||t?.isPaused,tabIndex:!t?.hasContext&&t?.isPaused===void 0||t?.isPaused?-1:0,"aria-pressed":E,"aria-label":y,children:[(0,i.jsx)("span",{className:_().progressTimeSpacer,"aria-hidden":!0,children:g}),(0,i.jsx)(a.x,{className:_().actualProgressTime,"data-testid":"progress-timestamp",semanticColor:"textBase",children:f})]})}},7384:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(52676),a=n(71409);let r=e=>{let{className:t,isDynamicColor:n=!1}=e;return(0,i.jsx)(a.x,{className:t,"aria-hidden":!0,semanticColor:n?"textSubdued":"textBase",children:"\xb7"})}},4846:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(52676),a=n(99454),r=n(85866),s=n(75271),o=n(73027),l=n(49626),u=n(72077),c=n(41747),d=n(1750),p=n(52095);let _=(e,t,n)=>e>=p.p4.large&&t>=p.Zo.medium&&!n?"large":e>=p.p4.landscape?"medium":"small";var m=e=>{let{trackListLength:t,className:n,ariaLabel:p,isVideoEntity:m}=e,T=(0,o.I0)(),[N,E]=(0,s.useState)("large"),{width:I,height:y}=s.useContext(c.h),h=(0,u.y)({productName:m?"embed_player_v":"embed_player_p"}),A=(0,r.NT)();return(0,s.useEffect)(()=>{y&&I&&!m&&E(_(y,I,t))},[y,I,t,m]),(0,i.jsx)("a",{className:n,onClick:()=>{T((0,d._)({action_type:"click",action_intent:"deeplink",action_item_id:"spotify-logo"}))},title:"logo",href:h?.embeddedEntity||l.S,role:"button","aria-label":p||A("play_on_spotify","Play on Spotify","Button that plays the viewed content in the Spotify client"),"data-testid":"spotify-logo",children:(0,i.jsx)(a.V,{size:N,semanticColor:"textBase"})})}},52627:function(e,t,n){"use strict";n.d(t,{$:function(){return N}});var i=n(52676),a=n(89946),r=n(85866),s=n(82187),o=n.n(s);n(75271);var l=n(73027),u=n(13257),c=n(98083),d=n(19242);let p=e=>{let{className:t,isPreview:n,isAudiobook:a,isTrailer:s}=e,o=(0,r.NT)(),l="";return n&&!a?l=o("embed_preview","Preview","Text on a preview tag"):s&&(l=o("track-trailer","Trailer","Text on a trailer tag"),a&&(l=o("audiobook.page.sample","Sample","Text on a sample tag"))),(0,i.jsx)(d.V,{className:t,text:l})};var _=n(62116),m=n.n(_);let T=e=>{let{className:t,isPreview:n,isExplicit:s,isAudiobook:l,isTrailer:u}=e,d=(0,r.NT)();return(0,i.jsxs)(a.d,{condensedAll:!0,className:o()(m().tagList,t),"aria-label":d("spe.tags","Tags",'Accessibility label for a list of tags such as "Explicit" and "Preview"'),children:[(0,i.jsx)(p,{isAudiobook:l,isTrailer:u,isPreview:n,className:o()(m().tag,{[m().hidden]:!(n||u)})}),(0,i.jsx)(c.t,{className:o()(m().tag,{[m().hidden]:!s})})]})},N=()=>{let e=(0,l.v9)(e=>e.data.entity?.isExplicit??!1),t=(0,l.v9)(e=>e.machineState.playbackMode),n=(0,l.v9)(e=>e.data.entity?.isAudiobook??!1),a=(0,l.v9)(e=>e.data.entity?.isTrailer??!1),r=t===u.d.PREVIEW;return e||a||n||r?(0,i.jsx)(T,{isPreview:r,isExplicit:e,isAudiobook:n,isTrailer:a,className:m().condensedTags}):null}},98083:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var i=n(52676),a=n(85866);n(75271);var r=n(19242);let s=e=>{let{className:t,fullText:n=!1}=e,s=(0,a.NT)()("card.a11y.explicit","Explicit","Label for explicit tagging, only read by accessibility tools");return(0,i.jsx)(r.V,{ariaLabel:s,text:n?s:"E",className:t})}},19242:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var i=n(52676),a=n(71409),r=n(82187),s=n.n(r),o=n(73027),l=n(32949),u=n.n(l);let c=e=>{let{text:t,ariaLabel:n=t,title:r=n,className:l}=e,c=(0,o.v9)(e=>e.settings.isDarkMode);return(0,i.jsx)(a.x,{"aria-label":n,className:s()(u().container,l,{[u().isDarkTheme]:c}),title:r,children:t})}},90858:function(e,t,n){"use strict";n.d(t,{Q:function(){return S}});var i=n(52676),a=n(71409),r=n(61503),s=n(85866),o=n(52353),l=n(82187),u=n.n(l),c=n(75271),d=n(73027),p=n(72077),_=n(18262),m=n(8872),T=n(81361),N=n(13302),E=n(60934),I=n(1750),y=n(60115),h=n(4733),A=n(91854),f=e=>{let{uri:t,name:n,onClick:a}=e,s=(0,c.useMemo)(()=>(0,A.bW)((0,h.EC_)(t)??void 0,!1).toString(),[t]),o=(0,_.l)();return(0,i.jsx)(r.h,{standalone:!0,semanticColor:o?"textSubdued":"textBase",onClick:a,href:s,children:n})},g=n(54608),O=n(7384),k=n(97870),v=n.n(k);let S=e=>{let{showUpsell:t}=e,n=(0,d.v9)(e=>e.data.entity),{metadata:l}=(0,c.useMemo)(()=>(0,T.C)(n),[n]),{playbackState:h,triggerPlaybackOperation:A}=(0,c.useContext)(N.C),k=h?.isPaused,S=(0,d.v9)(e=>!!e.data.entity?.isAudiobook),b=(0,_.l)(),R=(0,d.I0)(),C=(0,c.useCallback)(e=>R((0,I._)(e)),[R]),P=l?.title||"",w=l?.subtitle||"",L=n.artists,x=new Date(l?.releaseDate||""),D=(0,p.y)({productName:"embed_player_p"}),M=(0,s.bU)(),U=(0,d.v9)(y.k),B=e=>()=>{("title"===e||"cover-art"===e)&&U&&void 0!==k&&A((0,E.wO)()),C({action_type:"click",action_intent:"deeplink",action_item_id:e})},[G,j]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{j(!0)},[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("h2",{className:u()(v().subtitle,{[v().alignBelowUpsell]:t,[v().isAudiobook]:S}),children:(0,i.jsx)(g.R,{title:P,speed:.2,iterationCount:"single",children:(0,i.jsxs)("span",{children:[U&&!S&&(0,i.jsxs)(i.Fragment,{children:[G&&(0,i.jsx)(a.x,{semanticColor:b?"textSubdued":"textBase",children:(0,i.jsx)(o.Id,{options:{day:"numeric",month:"short"},locale:M,date:x})}),(0,i.jsx)(O.Z,{className:v().separator,isDynamicColor:b})]}),w&&(0,i.jsx)(r.h,{standalone:!0,semanticColor:b?"textSubdued":"textBase",dir:"auto",onClick:B("subtitle"),href:D?.compositeEntity,children:w}),L?.length&&L.map((e,t)=>[t>0&&(0,i.jsx)(a.x,{semanticColor:b?"textSubdued":"textBase",children:(0,m.f)(M)},`separator-${e.uri}`),(0,i.jsx)(f,{uri:e.uri,name:e.name,onClick:B("artist")},`artist-link-${e.uri}`)])]})},P)})})}},36287:function(e,t,n){"use strict";n.d(t,{D:function(){return I}});var i=n(52676),a=n(61503),r=n(82187),s=n.n(r),o=n(75271),l=n(73027),u=n(72077),c=n(81361),d=n(13302),p=n(60934),_=n(1750),m=n(60115),T=n(54608),N=n(97870),E=n.n(N);let I=e=>{let t,{showUpsell:n}=e,r=(0,l.v9)(e=>e.data.entity),{metadata:N}=(0,o.useMemo)(()=>(0,c.C)(r),[r]),{playbackState:I,triggerPlaybackOperation:y}=(0,o.useContext)(d.C),h=I?.isPaused,A=(0,l.I0)(),f=(0,o.useCallback)(e=>A((0,_._)(e)),[A]),g=N?.title||"",O=(0,u.y)({productName:"embed_player_p"}),k=(0,l.v9)(m.k);return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("h1",{className:s()(E().title,{[E().alignBelowUpsell]:n}),"data-testid":"entity-title",children:(0,i.jsx)(T.R,{title:g,speed:.2,iterationCount:"single",children:(0,i.jsx)(a.h,{standalone:!0,semanticColor:"textBase",onClick:(t="title",()=>{k&&void 0!==h&&y((0,p.wO)()),f({action_type:"click",action_intent:"deeplink",action_item_id:t})}),href:O?.selectedEntity,children:g})},g)})})}},18123:function(e,t,n){"use strict";n.d(t,{Q:function(){return er}});var i=n(52676),a=n(35839),r=n.n(a),s=n(75271),o=n(73027),l=n(28572),u=n(94459);let c=()=>{let[e,t]=(0,s.useState)(0);return{skipCount:e,incrementSkipCounter:(0,s.useCallback)(()=>{t(e+1)},[e]),resetSkipCounter:(0,s.useCallback)(()=>{t(0)},[])}};var d=n(13257),p=n(13302),_=n(31791),m=n(60115);let T=()=>{let e=(0,o.v9)(e=>{let{machineState:t}=e;return t.playbackMode})===d.d.PREVIEW,{playbackState:t}=(0,s.useContext)(p.C),n=(0,_.k)(t),i=t?.isPaused,a=t?.duration,r=t?.hasContext,l=(0,o.v9)(e=>{let{machineState:t}=e;return t.currentPreviewTrackIndex}),T=(0,o.v9)(e=>{let{data:t}=e;return!!t.entity?.isAudiobook}),N=(0,o.v9)(m.k),E=(0,u.T)(),[I,y]=(0,s.useState)(!1),[h,A]=(0,s.useState)(!1),[f,g]=(0,s.useState)(l+1),{skipCount:O,incrementSkipCounter:k,resetSkipCounter:v}=c();return(0,s.useEffect)(()=>{(l===f||l===f-2)&&(g(()=>f+1),k()),g(()=>l+1)},[l,k,f]),(0,s.useEffect)(()=>{T&&a&&(r&&null!==n&&(n>6e4&&O<1&&(y(!0),k()),n>0&&i&&y(!0)),n===a&&(y(!0),v())),r&&null!==n&&a&&(e?(n>2*a/3||n>0&&i||3===O)&&h!==E&&(A(E),y(!0),v()):N&&(n>a/2||n>0&&i)&&h!==E&&(A(E),y(!0)))},[n,a,e,i,E,r,h,O,v,T,k,N]),{showUpsell:I,setShowUpsell:y}};var N=n(1750),E=n(26728),I=n(32180),y=n(85866),h=n(82187),A=n.n(h),f=n(6208),g=n(35369),O=n(13487),k=n(98707),v=n.n(k);let S=()=>(0,i.jsxs)("div",{className:v().playerControlsWrapper,children:[(0,i.jsx)("div",{className:v().overflowMenuButtonWrapper,children:(0,i.jsx)(g.c,{})}),(0,i.jsx)("div",{className:v().previewPlayPauseWrapper,children:(0,i.jsx)(O.J,{})})]});var b=n(99890),R=n(52627),C=n(90858),P=n(36287),w=n(36381),L=n.n(w);let x=()=>(0,i.jsx)("div",{className:L().backgroundCoverArt});var D=n(38154),M=n(71409),U=n(72077),B=n(41747),G=n(52095);let j=(e,t)=>e{let e=(0,U.y)({productName:"embed_player_p"}),t=(0,y.NT)(),{width:n,height:a}=s.useContext(B.h),r=(0,o.I0)(),l=async()=>{r((0,N._)({action_type:"click",action_intent:"deeplink",action_item_id:"get-spotify"})),(0,W.M)({url:e.embeddedEntity})};return(0,i.jsx)("div",{className:F().getSpotifyButton,children:(0,i.jsx)(D.D,{size:j(a,n),colorSet:"invertedLight",onClick:l,children:(0,i.jsx)(M.x,{className:F().buttonText,variant:"titleSmall",children:t("get_spotify","Get Spotify","A button the user can press to download / get the Spotify application")})})})},Y=e=>{try{let t=new URL(e);return t.searchParams.set("nd","1"),t.pathname=t.pathname.startsWith("/__noul__")?t.pathname:`__noul__${t.pathname}`,t.toString()}catch{throw Error("Invalid URL")}},K=()=>{let e=(0,U.y)({productName:"embed_player_p"}),t=(0,o.v9)(e=>e.settings.isMobile),n=(0,y.NT)(),{width:a,height:r}=s.useContext(B.h),l=(0,o.I0)();return(0,i.jsx)("div",{className:F().getSpotifyButton,children:(0,i.jsx)(D.D,{size:j(r,a),colorSet:"invertedLight",onClick:()=>{l((0,N._)({action_type:"click",action_intent:"deeplink",action_item_id:"buy-this-audiobook"})),(0,W.M)({url:t?Y(e.embeddedEntity):e.embeddedEntity})},children:(0,i.jsx)(M.x,{className:F().buttonText,variant:"titleSmall",children:n("audiobook.embed.buy-this-audiobook","Buy this audiobook","An upsell button that a user can click to redirect them to the Spotify App and buy the book")})})})};var q=n(4733),X=n(43533);let J=()=>{let e=(0,o.v9)(e=>e.data.entity),t=(0,o.v9)(e=>e.settings.session.isAnonymous),n=(0,U.y)({productName:"embed_player_p"}),a=(0,y.NT)(),{width:r,height:l}=s.useContext(B.h),u=(0,o.I0)(),[c,d]=(0,X.Z)(e.relatedEntityUri),p=async()=>{t?(u((0,N._)({action_type:"click",action_intent:"deeplink",action_item_id:"follow"})),(0,W.M)({url:n.compositeEntity})):(u((0,N._)({action_type:"click",action_intent:c?.[e.relatedEntityUri]?"unfollow":"follow"})),await d(!c?.[e.relatedEntityUri]))};return(0,i.jsx)("div",{className:F().getSpotifyButton,children:(0,i.jsx)(D.D,{size:j(l,r),colorSet:"invertedLight",onClick:p,children:(0,i.jsx)(M.x,{className:F().buttonText,variant:"titleSmall",children:(e.type===q.JM3.EPISODE||e.type===q.JM3.SHOW)&&c?.[e.relatedEntityUri]?a("following","Following","Button`s text that adds an item to the user`s library"):a("follow","Follow","Button`s text that removes an item to the user`s library")})})})};var $=n(66623),z=n.n($);let Q=(e,t,n,i,a,r)=>{switch(e){case q.JM3.EPISODE:case q.JM3.SHOW:if(n)return t("audiobook.embed.upsell_cta","Hooked? Take this audiobook everywhere you go, on Spotify","Text displayed on an upsell menu after a user has listened to 60 seconds of an audiobook sample.");if(i&&!a)return t("spe.podcast_full_upsell_cta","Discover even more from {podcastName}","Text displayed after user has listened to 20 seconds of a 30 sec podcast preview.",{podcastName:r});return t("spe.upsell_cta","Discover even more podcasts on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec podcast preview.");case q.JM3.TRACK:return t("spe.track_upsell_cta","Listen to the full track and millions more on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec track preview.");case q.JM3.PLAYLIST:default:return t("spe.track_list_upsell","Listen to these tracks & millions more on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec of track list preview.")}},Z=()=>{let e=(0,y.NT)(),t=(0,o.v9)(e=>e.data.entity.type),n=(0,o.v9)(t=>t.data.entity?.subtitle||e("spe.upsell_cta","Discover even more podcasts on Spotify","Text displayed after user has listened to 20 seconds of a 30 sec podcast preview.")),a=(0,o.v9)(e=>e.data.entity.isAudiobook||!1),r=(0,o.v9)(e=>e.machineState.playbackMode)===d.d.PREVIEW,s=(0,o.v9)(m.k);return(0,i.jsx)(M.x,{variant:"titleSmall",className:A()(z().text),id:"dialogUpsellTitle",semanticColor:"textBase",children:Q(t,e,a,s,r,n)})};var ee=n(34645),et=n.n(ee);let en=e=>{let{onClose:t}=e,n=(0,y.NT)(),a=(0,o.v9)(e=>{let{data:t}=e;return t.entity?.isAudiobook}),r=(0,o.v9)(e=>{let{machineState:t}=e;return t.playbackMode})===d.d.PREVIEW,s=(0,o.v9)(m.k),l=(0,o.v9)(e=>{let{data:t}=e;return!!t.entity?.trackList}),u=n("close_button_action","Close","Accessibility label for a close button");return(0,i.jsxs)("div",{className:A()(et().fullscreenWrapper,{[et().playlistContainer]:l}),children:[(0,i.jsxs)("div",{className:et().ctaWrapper,children:[(0,i.jsx)(x,{}),(0,i.jsxs)("div",{className:A()(et().content),children:[(0,i.jsx)(Z,{}),a?(0,i.jsx)(K,{}):s&&!r?(0,i.jsx)(J,{}):(0,i.jsx)(H,{}),(0,i.jsx)(E.o,{semanticColor:"textBase",iconOnly:I.k,title:u,className:et().closeButton,onClick:t,"aria-label":u})]})]}),(0,i.jsxs)("div",{className:et().footerWrapper,children:[(0,i.jsx)("div",{className:et().coverArtWrapper,children:(0,i.jsx)(f.D,{className:et().coverArtUpsell})}),(0,i.jsxs)("div",{className:A()(et().metadataWrapper),children:[(0,i.jsx)(P.D,{}),(0,i.jsxs)("span",{className:A()(et().labelsAndSubtitle),children:[(0,i.jsx)(R.$,{}),(0,i.jsx)(C.Q,{})]})]}),(0,i.jsx)("div",{className:A()(et().playerControlsWrapper),children:r&&!a?(0,i.jsx)(b.H,{}):(0,i.jsx)(S,{})})]})]})};var ei=n(60615),ea=n.n(ei);let er=()=>{let e=(0,o.v9)(e=>{let{machineState:t}=e;return t.playbackMode}),{showUpsell:t,setShowUpsell:n}=T(),a=(0,o.I0)();(0,s.useEffect)(()=>{t&&a((0,N._)({action_intent:"open-upsell",action_type:"view"}))},[a,t]);let u=(0,s.useRef)(null);return e===d.d.UNKNOWN?null:(0,i.jsx)(l.Z,{nodeRef:u,in:t,mountOnEnter:!0,unmountOnExit:!0,timeout:200,classNames:{enter:ea().transition_enter,enterActive:ea().transition_enterActive,exit:ea().transition_exit,exitActive:ea().transition_exitActive},children:(0,i.jsx)(r(),{focusTrapOptions:{initialFocus:!1},children:(0,i.jsx)("div",{ref:u,role:"dialog","aria-labelledby":"dialogUpsellTitle",className:ea().upsellContentContainer,children:(0,i.jsx)(en,{onClose:()=>{n(!1),a((0,N._)({action_type:"click",action_intent:"close-upsell"}))}})})})})}},49626:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});let i="https://open.spotify.com"},8090:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var i=n(75271),a=n(73027),r=n(1750),s=n(31e3);function o(){let e=(0,a.I0)(),t=(0,i.useCallback)(()=>"ontouchstart"in document.documentElement?"touchstart":"mouseover",[]),n=(0,i.useCallback)(()=>{document.removeEventListener(t(),n),e((0,s.j)()),e((0,r._)({action_type:"interacted",action_intent:t()}))},[e,t]);(0,i.useEffect)(()=>(e((0,s.s)()),document.addEventListener(t(),n),()=>{document.removeEventListener(t(),n)}),[e,n,t])}},94459:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var i=n(75271),a=n(73027),r=n(13302),s=n(13257);let o=()=>{let e=(0,a.v9)(e=>{let{machineState:t}=e;return t.playbackMode}),t=(0,a.v9)(e=>{let{data:t}=e;return t.entity}),{playbackState:n}=(0,i.useContext)(r.C);if("artist"===t.type&&e===s.d.FULL){let e=t.trackList;return e?.find(e=>e.uri===n?.item?.uri)?.uid}return(e===s.d.FULL?n?.item?.uid:n?.context?.metadata?.uid)??void 0}},72077:function(e,t,n){"use strict";n.d(t,{U:function(){return i},y:function(){return p}});var i,a=n(4733),r=n(75271),s=n(73027),o=n(91854),l=n(13302),u=n(31791);let c=e=>{switch(e){case"episode":case"track":return!1;default:return!0}};(i||(i={})).ADD_TO_LIBRARY="1";let d=(e,t,n,i)=>{i?.playbackResumeSeconds&&e.searchParams.set("t",i.playbackResumeSeconds.toString()),i?.intent&&"1"===i.intent&&e.searchParams.set("intent","1");let a=new URL("undefined"!=typeof location&&location.href?location.href:"https://open.spotify.com");e.searchParams.has("utm_source")||e.searchParams.set("utm_source",t),e.searchParams.has("utm_medium")||e.searchParams.set("utm_medium",n?"mobile":"desktop");let r=a.searchParams.get("utm_campaign");return r&&e.searchParams.set("utm_campaign",r),e};function p(e){let{productName:t,intent:n}=e,{playbackState:i}=(0,r.useContext)(l.C),p=(0,s.v9)(e=>e.data.entity),_=(0,s.v9)(e=>e.settings.entityContext),m=(0,s.v9)(e=>e.data.embeded_entity_uri),T=(0,s.v9)(e=>e.settings.isMobile),N=Math.floor(((0,u.k)(i)??0)/1e3),[E,I]=(0,r.useState)({selectedEntity:"",compositeEntity:"",embeddedEntity:"",cta:""}),y=p?.isAudiobook||p?.isTrailer;return(0,r.useEffect)(()=>{let e=y?p.relatedEntityUri:p?.uri,i=c(_)?m:p?.relatedEntityUri,r=e=>(e?(0,a.EC_)(e):null)??void 0,s={compositeEntity:{deepLink:d((0,o.bW)(r(i),!1),t,T,{intent:n}).toString(),storeLink:d((0,o.iZ)(r(i),!1),t,T,{intent:n}).toString()},selectedEntity:{deepLink:d((0,o.bW)(r(e),!1),t,T,{playbackResumeSeconds:N,intent:n}).toString(),storeLink:d((0,o.iZ)(r(e),!1),t,T,{playbackResumeSeconds:N,intent:n}).toString()}},l=c(_)?s.compositeEntity:s.selectedEntity;I({selectedEntity:s.selectedEntity.deepLink,compositeEntity:s.compositeEntity.deepLink,embeddedEntity:l.deepLink,cta:l.storeLink})},[t,p,_,m,N,T,y,n]),E}},27158:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var i=n(75271),a=n(41747),r=n(52095);function s(){let{height:e}=i.useContext(a.h);return{isCompactLegacy:!!(e&&e!!(0,i.v9)(e=>e.data.entity?.visualIdentity)},43533:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(75271),a=n(73027),r=n(20060),s=n(93110);function o(e){let t=(0,i.useContext)(r.H),n=t?.containsSync(e),o=n?{[e]:n}:void 0,[l,u]=(0,i.useState)(o),c=(0,a.v9)(e=>e.settings.session.isAnonymous),d=l&&void 0!==l[e],p=(0,i.useCallback)(async n=>{n?await t?.add(e):await t?.remove(e)},[e,t]);return(0,i.useEffect)(()=>{let n;if(t&&!c){if(d){let i=t=>{let{data:n}=t;e===n.uri&&u(t=>({...t,[e]:n.isInLibrary}))};t.getEvents().addListener(s.E.UPDATE_ITEM,i),n=()=>{t.getEvents().removeListener(s.E.UPDATE_ITEM,i)}}else t.contains(e).then(t=>{let[n]=t;return u(t=>t?{...t,[e]:n}:{[e]:n})})}return c&&u(t=>({...t,[e]:!1})),n},[t,c,e,d]),[l,p]}},8872:function(e,t,n){"use strict";var i,a;n.d(t,{f:function(){return r}}),(a=i||(i={})).AR="، ",a.FA="، ",a.EN=", ";let r=e=>{switch(e){case"ar":case"fa":return"، ";default:return", "}}},28734:function(e,t,n){"use strict";let i;n.d(t,{b:function(){return N}});var a=n(34465),r=n(14701),s=n(21366),o=n.n(s),l=n(52830),u=n(47196);let c=n.n(u)()(l.fetch);async function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4,i=new(o()),a=i.signal,s=setTimeout(()=>i.abort(),n);return(t&&void 0!==t.retries&&t.retries>0?c:l.fetch)(e,{...t,signal:a}).then(e=>(clearTimeout(s),e)).catch(i=>{if("AbortError"===i.name)throw new r.V$({timeout:n,url:e,method:t?.method??"get"});throw clearTimeout(s),i})}class p{constructor(e,t){return this.method=e,this.url=t,this.postData=null,this.queryParameters=void 0,this.responseType="json",this._retryOptions=null,this._headers={},this._includeCredentials=!1,this}withQueryParameters(e){this.queryParameters=e}withResponseType(e){this.responseType=e}withPostData(e){this.postData=e}withRetries(e){let{retries:t,retryOn:n,retryDelay:i}=e;this._retryOptions={retries:t,retryDelay:i,retryOn:n}}addHeader(e,t){return this._headers[e]=t,this}includeCredentials(){return this._includeCredentials=!0,this}async send(){let e;this.postData&&(e=this._headers["Content-Type"]?.startsWith("application/json;charset=UTF-8")?JSON.stringify(this.postData):this.postData);let t=new URLSearchParams(this.queryParameters).toString();return d(`${this.url}${t?`?${t}`:""}`,{method:this.method,body:e,credentials:this._includeCredentials?"include":void 0,headers:{"Content-Type":"text"===this.responseType?"text/plain":"application/json",...this._headers},...this._retryOptions}).then(async e=>{if(!e.ok){let t=r.mk.fromResponse(e,this.method||"GET");throw(0,a.ck)(t,new URL(this.url).hostname),t}return{body:"text"===this.responseType?await e.text():await e.json(),status:e.status}}).catch(e=>{throw e})}}class _{constructor(){this._accessToken=null,this._market="",this._headers=[],this._globalRequestHeaders=[],this._shouldSendMarket=!0,this._shouldSendGlobalHeaders=!0,this._locale=null,this._retryStatusCodes=[503],this._retryDelay=1e3,this._shouldSendLocale=!1,this._shouldSendAuthorization=!0,this._host="",this.path="",this.responseType="json",this.queryParameters=void 0,this._method="GET",this.jsonContentType=!1,this.body=null,this._endpointIdentifier=null,this._startTimestamp=null,this._includeCredentials=!1}static setRequestImplementation(e){i=e}getRequestImplementation(){return i}set accessToken(e){this._accessToken=e}get market(){return this._market}set market(e){this._market=e}get locale(){return this._locale}set locale(e){this._locale=e}get globalRequestHeaders(){return this._globalRequestHeaders}set globalRequestHeaders(e){this._globalRequestHeaders=e}get startTimestamp(){return this._startTimestamp}get host(){return this._host}get method(){return this._method}get endpointIdentifier(){return this._endpointIdentifier}withHost(e){return this._host=e,this}withPath(e){return this.path=e,this}withResponseType(e){return this.responseType=e,this}withEndpointIdentifier(e){return this._endpointIdentifier=e,this}withQueryParameters(e){return this.queryParameters=e,this}withBody(e){return this.body=e,this}withMethod(e){return this._method=e,this}withRetries(e){let{retries:t,retryOn:n,retryDelay:i}=e;return this._retryCount=t,n&&(this._retryStatusCodes=n),i&&(this._retryDelay=i),this}withoutMarket(){return this._shouldSendMarket=!1,this}withoutGlobalHeaders(){return this._shouldSendGlobalHeaders=!1,this}withoutAuthorization(){return this._shouldSendAuthorization=!1,this}withLocale(e){return this._shouldSendLocale=!0,e&&(this._locale=e),this}withJsonContentType(){return this.jsonContentType=!0,this}withHeaders(e){return this._headers=e,this}withCredentials(){return this._includeCredentials=!0,this}onBeforeSend(e){}onAfterSend(e){}async send(){let e=new i(this.method,`${this._host}${this.path}`);this._shouldSendMarket&&this.market&&(this.queryParameters={...this.queryParameters,market:this.market}),this._shouldSendLocale&&this.locale&&(this.queryParameters={...this.queryParameters,locale:this.locale}),this.locale&&e.addHeader("Accept-Language",this.locale),this._retryCount&&e.withRetries({retries:this._retryCount,retryOn:this._retryStatusCodes,retryDelay:this._retryDelay}),e.withQueryParameters(this.queryParameters),e.withResponseType(this.responseType),this._shouldSendAuthorization&&this._accessToken&&e.addHeader("Authorization",`Bearer ${this._accessToken}`),e.addHeader("Accept","application/json"),this._includeCredentials&&e.includeCredentials(),this._shouldSendGlobalHeaders&&this._globalRequestHeaders.length>0&&this._globalRequestHeaders.forEach(t=>{let[n,i]=t;e.addHeader(n,i)});for(let t=0;t(this.onAfterSend(),e)).catch(e=>{throw this.onAfterSend(e),e})}}class m{constructor(e){this._accessToken=null,this._market="",this._locale="",this._globalRequestHeaders=[],this._RequestImplementation=e}get accessToken(){return this._accessToken}set accessToken(e){this._accessToken=e}get globalRequestHeaders(){return this._globalRequestHeaders}set globalRequestHeaders(e){this._globalRequestHeaders=e}get market(){return this._market}set market(e){this._market=e}get locale(){return this._locale}set locale(e){this._locale=e}resetPendingRequests(){}build(){_.setRequestImplementation(this._RequestImplementation);let e=new _;return e.accessToken=this._accessToken,e.market=this.market,e.locale=this.locale,e.globalRequestHeaders=this.globalRequestHeaders,e}}let T=null;class N{static setSession(e){if(!e)return;let{accessToken:t}=e,n=this.getInstance();n.accessToken=t,t||n.resetPendingRequests()}static setLocale(e){this.getInstance().locale=e}static setGlobalRequestHeaders(e){this.getInstance().globalRequestHeaders=e}static setMarket(e){this.getInstance().market=e}static resetInstance(){T=null}static getInstance(){return T||(T=this.createNew()),T}static createNew(){return new m(p)}}},20060:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});let i=(0,n(75271).createContext)(null)},93110:function(e,t,n){"use strict";n.d(t,{E:function(){return i},S:function(){return r}});var i,a=n(84539);(i||(i={})).UPDATE_ITEM="update_item";class r extends a.vp{}},31739:function(e,t,n){"use strict";let i;n.d(t,{X:function(){return a},u:function(){return r}});let a=()=>{if(!i)throw Error("Config data not set");return i},r=e=>{i=e}},91854:function(e,t,n){"use strict";n.d(t,{bW:function(){return r},iZ:function(){return s}});var i=n(49626),a=n(31739);function r(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=new URL("undefined"!=typeof location&&location.href?location.href:i.S),r=null;e?(r=new URL(e.toURL()),t&&n.searchParams.forEach((e,t)=>{r.searchParams.set(t,e)})):(r=n,t||(r.search="")),r.searchParams.delete("nd"),r.searchParams.delete("fallback"),r.searchParams.set("go","1");let s=(0,a.X)();return"string"==typeof s?.correlationId&&r.searchParams.append("sp_cid",s.correlationId),r}function s(e,t){let n=r(e,t);return n.searchParams.set("fallback","getapp"),n}},81361:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});let i=e=>{if(!e)throw Error("Error: Entity Unavailable");let t=e.uri,n={};return(n.title=e.title,n.subtitle=e.subtitle,n.duration=(e.duration??0)?.toString(),n.audioPreviewUrl=e.audioPreview?.url??void 0,n.videoPreviewUrl=e.videoPreview?.url??void 0,n.explicit=e.isExplicit?"true":"false","relatedEntityUri"in e)?n.releaseDate=e.releaseDate?.isoString:n.uid=e.uid,{uri:t,metadata:n}}},6123:function(e,t,n){"use strict";n.d(t,{rg:function(){return r},Bc:function(){return u}});var i,a,r,s,o=n(84539);class l{constructor(e=new o.vp){this._emitter=e,this._emitter=e||new o.vp}addListener(e,t,n){return this._emitter.addListener(e,t,n),this}removeListener(e,t,n){return this._emitter.removeListener(e,t,n),this}onAddListener(e,t){return this._emitter.onAddListener(e,t),this}onRemoveListener(e,t){return this._emitter.onRemoveListener(e,t),this}emit(e,t){return this._emitter.emit(e,t)}emitSync(e,t){return this._emitter.emitSync(e,t)}}(i=r||(r={})).TRACK_LOADED="track_loaded",i.TRACK_ENDED="track_ended",i.UPDATE="update",i.ERROR="error",i.ACTION="action",i.QUEUE_ACTION="queue_action",i.QUEUE_ACTION_COMPLETE="queue_action_complete",i.QUEUE_UPDATE="queue_update",i.CONTEXT_WRAPAROUND="context_wraparound",(a=s||(s={})).PLAY="play",a.PAUSE="pause",a.RESUME="resume",a.SKIP_TO_NEXT="skipToNext",a.SKIP_TO_PREVIOUS="skipToPrevious";class u extends l{emitPlaySync(e,t,n){let{defaultPrevented:i}=this.emitSync("action",{action:"play",context:e,origin:t,options:n});return i}emitPauseSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"pause"});return e}emitResumeSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"resume"});return e}emitSkipToNextSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"skipToNext"});return e}emitSkipToPreviousSync(){let{defaultPrevented:e}=this.emitSync("action",{action:"skipToPrevious"});return e}}},13302:function(e,t,n){"use strict";n.d(t,{C:function(){return s},l:function(){return o}});var i=n(52676),a=n(75271),r=n(77308);let s=(0,a.createContext)({playbackState:null,triggerPlaybackOperation:()=>{}}),o=e=>{let{children:t,reduxStore:n,playerAPI:a}=e,{playbackState:o,triggerPlaybackOperation:l}=(0,r.t)(a,n);return(0,i.jsx)(s.Provider,{value:{playbackState:o,triggerPlaybackOperation:l},children:t})}},60934:function(e,t,n){"use strict";n.d(t,{$9:function(){return m},O7:function(){return N},WT:function(){return u},Xh:function(){return a},ax:function(){return d},ez:function(){return c},hY:function(){return r},qi:function(){return T},r0:function(){return _},v4:function(){return o},vR:function(){return p},wO:function(){return l},xu:function(){return s}});var i=n(31526);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.yp.AUDIO;return{type:i.Nv,mediaType:e}}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.yp.AUDIO;return{type:i.NH,mediaType:e}}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.yp.AUDIO;return{type:i.Bb,index:e,mediaType:t}}function o(){return{type:i.gk}}function l(){return{type:i.E7}}function u(){return{type:i.wh}}function c(){return{type:i.Eb}}function d(){return{type:i.ry}}function p(){return{type:i.pe}}function _(){return{type:i.Q2}}function m(){return{type:i.ot}}function T(e){return{type:i.sV,index:e}}function N(e){return{type:i.tG,time:e}}},77308:function(e,t,n){"use strict";n.d(t,{t:function(){return I}});var i=n(75271),a=n(6123),r=n(13257);let s=e=>{let t=new URL(e.href).searchParams.get("t");if(t){let e=parseInt(t,10);if(e>0)return e}return null};var o=n(31739),l=n(81361),u=n(31526),c=n(60934);let d=()=>({featureIdentifier:"embed",featureVersion:"3",referrerIdentifier:"PlayerStub_UnknownReferrer",restrictionIdentifier:(0,o.X)().restrictionId?(0,o.X)().restrictionId:void 0}),p=(e,t,n,i)=>t===r.d.PREVIEW?{...e,metadata:{...e.metadata,externalResolvedUrl:i===u.yp.AUDIO?e.metadata?.audioPreviewUrl:e.metadata?.videoPreviewUrl}}:{...e,metadata:{...e.metadata,useAuthEndpoint:n?"yes":""}},_=(e,t)=>t.mediaType!==u.yp.VIDEO?e:{...e,metadata:{...e.metadata,mediaType:u.yp.VIDEO}},m=(e,t)=>e?.findIndex((e,n)=>n>t&&e.isPlayable)??-1,T=(e,t)=>{for(let n=t-1;n>=0;n--)if(e&&e[n].isPlayable)return n;return -1},N=(e,t,n)=>e?.trackList&&t===r.d.PREVIEW?(0,l.C)(e.trackList[n??0]):(0,l.C)(e);var E=function e(t,n,i){let{settings:a,machineState:o,data:{entity:l,defaultAudioFileObject:E}}=n.getState(),I=a.session.isAnonymous,y=o.playbackMode===r.d.PREVIEW,h=N(l,o.playbackMode),A=t.getState();switch(i.type){case u.Nv:if(l?.trackList&&y&&!A?.hasContext){let i=m(l?.trackList,-1);o.currentPreviewTrackIndex===l?.trackList.length-1?e(t,n,(0,c.xu)(i)):e(t,n,(0,c.xu)(o.currentPreviewTrackIndex))}else if(A?.hasContext&&A?.isPaused===!1)t.pause();else if(A?.hasContext&&A?.isPaused===!0)t.resume();else{let e=s(window.location),n=p(_(h,i),o.playbackMode,!I,i.mediaType);t.play(n,d(),{seekTo:e?1e3*e:void 0},E)}break;case u.NH:{let e=s(window.location),n=p(_(h,i),o.playbackMode,!I,i.mediaType);t.play(n,d(),{seekTo:e?1e3*e:void 0},E)}break;case u.Bb:if(y){let e=p(_(N(l,o.playbackMode,i.index),i),o.playbackMode,!I,i.mediaType);t.play(e,d(),{},E),n.dispatch((0,c.qi)(i.index))}else{let e=p(_(h,i),o.playbackMode,!I,i.mediaType);t.play(e,d(),{skipTo:{index:i.index}},E)}break;case u.gk:t.resume();break;case u.E7:t.pause();break;case u.tG:if(i.time&&Number.isFinite(i.time))t.seekTo(i.time);else if(i.percentage&&Number.isFinite(i.percentage)){let e=A?.duration||Number(h.metadata?.duration);t.seekTo(i.percentage*e)}break;case u.Eb:t.seekForward(15e3);break;case u.wh:t.seekBackward(15e3);break;case u.pe:if(y){let i=l?.trackList?.length??0;if(o.currentPreviewTrackIndex0&&e(t,n,(0,c.xu)(i))}else t.skipToNext()}else t.skipToNext();break;case u.ry:if(y){if(A&&null!==A.positionAsOfTimestamp&&(A.positionAsOfTimestamp>3e3||0===o.currentPreviewTrackIndex))t.seekTo(0);else if(o.currentPreviewTrackIndex>0){let i=T(l?.trackList,o.currentPreviewTrackIndex);i>=0&&e(t,n,(0,c.xu)(i))}}else t.skipToPrevious();break;case u.Q2:t.setVolume(0);break;case u.ot:t.setVolume(1)}};let I=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,[o,l]=(0,i.useState)(n),[u,d]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=s(window.location);e&&l({...n,positionAsOfTimestamp:1e3*e})},[n]);let p=(0,i.useCallback)(n=>e&&E(e,t,n),[e,t]),{machineState:{playbackMode:_,currentPreviewTrackIndex:T},data:{entity:N}}=t.getState();return(0,i.useEffect)(()=>{if(u&&_===r.d.PREVIEW&&N?.trackList&&N.trackList.length>T+1){let e=m(N?.trackList,T);e>0&&(d(!1),p((0,c.xu)(e)))}},[u,p,_,N?.trackList,T]),(0,i.useEffect)(()=>{let t=e=>{l(t=>({...t,...e.data}))},n=e=>{l(t=>({...t,isDisabled:!0,error:{...e.data,message:e.data.message}}))},i=()=>{d(!0)};if(e){let r=e.getEvents();r.addListener(a.rg.UPDATE,t),r.addListener(a.rg.ERROR,n),r.addListener(a.rg.TRACK_ENDED,i),l(e=>({...e,isDisabled:!1}))}else l(e=>({...e,isDisabled:!0}));return()=>{if(e){let r=e.getEvents();r.removeListener(a.rg.UPDATE,t),r.removeListener(a.rg.ERROR,n),r.removeListener(a.rg.TRACK_ENDED,i)}}},[e]),{playbackState:o,triggerPlaybackOperation:p}}},90371:function(e,t,n){"use strict";n.d(t,{G:function(){return u},v:function(){return c}});var i=n(52676),a=n(75271),r=n(73027);let s=e=>e?`rgba(${e.red}, ${e.green}, ${e.blue}, ${e.alpha})`:null,o=e=>({"--dynamic-opacity":e.opacity,"--dynamic-background-base":e.backgroundBase,"--dynamic-background-tinted":e.backgroundTinted,"--dynamic-background-tinted-50":e.backgroundTinted50,"--background-base":e.backgroundBase,"--background-tinted":e.backgroundTinted,"--text-base":e.textBase,"--text-bright-accent":e.textBrightAccent,"--text-subdued":e.textSubdued}),l=e=>e?o({backgroundBase:s(e?.backgroundBase),backgroundTinted:s(e?.backgroundTintedBase),backgroundTinted50:s(e?.backgroundTintedBase?{...e.backgroundTintedBase,alpha:.5}:null),textBase:s(e?.textBase),textBrightAccent:s(e?.textBrightAccent),textSubdued:s(e?.textSubdued),opacity:e?"1":null}):{},u=(0,a.createContext)({}),c=e=>{let{children:t}=e,[n,s]=(0,a.useState)({}),o=(0,r.v9)(e=>e.data.entity?.visualIdentity),c=(0,r.v9)(e=>e.settings.isDarkMode);return(0,a.useEffect)(()=>{let e=l(o);s(c?null:e)},[c,o]),(0,i.jsx)(u.Provider,{value:{...n},children:t})}},41747:function(e,t,n){"use strict";n.d(t,{b:function(){return o},h:function(){return s}});var i=n(52676),a=n(75271);let r={width:null,height:null},s=(0,a.createContext)(r),o=e=>{let{children:t}=e,[n,o]=(0,a.useState)(r);return(0,a.useEffect)(()=>{o({width:window.innerWidth,height:window.innerHeight});let e=()=>{o({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,i.jsx)(s.Provider,{value:{...n},children:t})}},1750:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var i=n(61331);function a(e){return{type:i.C,interactionData:e}}},69879:function(e,t,n){"use strict";n.d(t,{AI:function(){return s},Nn:function(){return a},h6:function(){return r}});var i=n(84787);function a(){return{type:i.RA}}function r(){return{type:i.gm}}function s(e){return{type:i.G$,productName:e}}},31e3:function(e,t,n){"use strict";n.d(t,{j:function(){return a},s:function(){return r}});var i=n(59510);function a(){return{type:i.q}}function r(){return{type:i.N}}},60115:function(e,t,n){"use strict";n.d(t,{k:function(){return a},w:function(){return r}});var i=n(4733);let a=e=>{let{data:{entity:t}}=e;return t?.type===i.JM3.EPISODE},r=e=>e.data.embeded_entity_uri},93330:function(e,t,n){"use strict";function i(e){return void 0!==e.status}n.d(t,{v:function(){return i}})},14701:function(e,t,n){"use strict";n.d(t,{V$:function(){return a},mk:function(){return i}}),n(4733);class i extends Error{static fromResponse(e,t){return new i({message:e.statusText,url:e.url,method:t,status:e.status,response:e})}constructor(e){let{message:t,url:n,method:i,status:a,response:r}=e;super(t),this.name="HttpResponseError",this.requestUrl=n,this.requestMethod=i,this.status=a,this.response=r}}class a extends i{constructor(e){let{timeout:t,url:n,method:i}=e;super({message:`${i.toUpperCase()} ${n} timed out (${t}ms)`,url:n,method:i,status:503}),this.name="HttpRequestTimeoutError",this.timeout=t}}n(34465)},34465:function(e,t,n){"use strict";n.d(t,{ck:function(){return s}}),n(11498);var i=n(36383),a=n(68677);let r=e=>void 0!==e.status,s=(e,t)=>{(0,a.sQ)({metric_type:i.MetricTypes.COUNTER,what:"error",tags:{errorName:e.name??JSON.stringify(e),type:"network",serviceName:t,status:r(e)?String(e.status):"UNKNOWN_STATUS"},value:1})}},68425:function(e,t,n){"use strict";var i,a,r,s;n.d(t,{p:function(){return i}}),(r=i||(i={})).ALBUM="album",r.ARTIST="artist",r.AUDIOBOOK="audiobook",r.CHAPTER="chapter",r.EPISODE="episode",r.PLAYLIST="playlist",r.PLAYLISTV2="playlist-v2",r.SHOW="show",r.TRACK="track",r.UNKNOWN="unknown",(s=a||(a={})).ALLOWED="ALLOWED",s.MANDATORY="MANDATORY",s.NONE="NONE"},61331:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});let i="LOG_INTERACTION"},84787:function(e,t,n){"use strict";n.d(t,{G$:function(){return r},RA:function(){return a},gm:function(){return i}});let i="CLOSE_OVERFLOW_MENU",a="SHOW_OVERFLOW_MENU",r="PLAY_ON_SPOTIFY_CLICK"},13257:function(e,t,n){"use strict";var i,a;n.d(t,{L:function(){return r},d:function(){return i}}),(a=i||(i={})).UNKNOWN="unknown",a.FULL="full-playback",a.PREVIEW="preview-playback";let r="SET_PLAYBACK_MODE"},31526:function(e,t,n){"use strict";n.d(t,{Bb:function(){return s},E7:function(){return i},Eb:function(){return c},NH:function(){return a},Nv:function(){return r},Q2:function(){return _},Zq:function(){return E},gk:function(){return o},ot:function(){return m},pe:function(){return d},ry:function(){return p},sV:function(){return T},tG:function(){return l},wh:function(){return u},yp:function(){return N}});let i="PAUSE",a="PLAY",r="TOGGLE_PLAY",s="PLAY_INDEX",o="RESUME",l="SEEK",u="SEEK_BACK",c="SEEK_FORWARD",d="PLAY_NEXT",p="PLAY_PREVIOUS",_="MUTE",m="UNMUTE",T="SET_CURRENT_PREVIEW_TRACK_INDEX;",N={AUDIO:"audio",VIDEO:"video"},E={NONE:"NONE",ALLOWED:"ALLOWED",MANDATORY:"MANDATORY"}},59510:function(e,t,n){"use strict";n.d(t,{N:function(){return a},q:function(){return i}});let i="INITIALIZE",a="MOUNTED"},31791:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});let i=e=>{let t=e?.positionAsOfTimestamp??null;if(null===e||null===t||null===e.duration)return null;let{timestamp:n,duration:i,speed:a,hasContext:r,isPaused:s,isBuffering:o}=e;return!r||s||o?t:Math.min(t+(Date.now()-n)*(a??0),i)}},77602:function(e,t){"use strict";let n=e=>e<10?`0${e}`:`${e}`;t.Z=e=>{let t=Math.abs(e),i=Math.floor(t/36e5),a=[i?`${i}`:"",n(Math.floor(t%36e5/6e4)||0),n(Math.floor(t%6e4/1e3)||0)].filter(e=>e).join(":");return`${e<0?"-":""}${a}`}},36968:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var i=n(19496),a=n.n(i);function r(){let e=a().getParser(window.navigator.userAgent),t=function(e){switch(e){case"macOS":return"osx";case"Chrome OS":return"chrome";default:return e}}(e.getOSName()||"not_applicable"),n=function(e,t){if("Windows"===e)switch(t){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return""}return t}(t,e.getOSVersion());return{osName:t,osVersion:n,browserName:e.getBrowserName(),browserVersion:e.getBrowserVersion()}}},75563:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});let i=e=>{let{url:t,newWindow:n=!0}=e;window.open(t,n?"_blank":"_top")}},44769:function(e){e.exports={wrapper:"AddToLibrary_wrapper__FZKUv"}},31892:function(e){e.exports={addToLibraryButton:"AddToLibraryCompact_addToLibraryButton__eRbCq"}},57205:function(e){e.exports={followButtonWrapper:"FollowButton_followButtonWrapper__uMaPG",hideBorder:"FollowButton_hideBorder__OdJB_",transformNone:"FollowButton_transformNone__FHnTJ",followButtonText:"FollowButton_followButtonText__axhEd",overflowMenu:"FollowButton_overflowMenu__uoZzL"}},56452:function(e){e.exports={saveOnSpotifyButton:"SaveOnSpotifyButton_saveOnSpotifyButton__QCoJx",overflowMenu:"SaveOnSpotifyButton_overflowMenu__RgKhO",saveOnSpotifyButtonText:"SaveOnSpotifyButton_saveOnSpotifyButtonText__6Jv6P"}},11253:function(e){e.exports={coverArt:"CoverArtBase_coverArt__ne0XI"}},72710:function(e){e.exports={wrapper:"Error_wrapper__rnmqo",content:"Error_content__DLtLW",title:"Error_title__Itx4f",description:"Error_description__wJgFt",links:"Error_links__xYnxY",primary:"Error_primary__1qg4H",icon:"Error_icon__7F4I4"}},44936:function(e){e.exports={loadingSpinner:"LoadingSpinner_loadingSpinner__RhjXu",SpinAnimation:"LoadingSpinner_SpinAnimation__yiW4R"}},61058:function(e){e.exports={container:"Marquee_container__CV7du",containerRtl:"Marquee_containerRtl__1Gbu_",scrollableContainer:"Marquee_scrollableContainer__mcSox",gradient:"Marquee_gradient__dpJhe",inner:"Marquee_inner__UKCZf"}},86272:function(e){e.exports={wrapper:"CopyLink_wrapper__Pnd_6",menuItem:"CopyLink_menuItem__FGDBn",copyLinkText:"CopyLink_copyLinkText__c2yNx","in-out":"CopyLink_in-out__3Q56J",clicked:"CopyLink_clicked__O9BXe","out-in":"CopyLink_out-in__HDSDy",truncator:"CopyLink_truncator__cxtkK"}},5378:function(e){e.exports={wrapper:"OverflowMenuBase_wrapper__CyfQs",menuItem:"OverflowMenuBase_menuItem__0Ijn4",visible:"OverflowMenuBase_visible__bdlfX",menu:"OverflowMenuBase_menu__cJ12M",menuContent:"OverflowMenuBase_menuContent__Kcicz",closeButton:"OverflowMenuBase_closeButton__pATy_",menuItemButton:"OverflowMenuBase_menuItemButton__YuobD",policies:"OverflowMenuBase_policies__r_Fbu",link:"OverflowMenuBase_link__8OQFz",separator:"OverflowMenuBase_separator__l_I5t",adaptToOverflowMenu:"OverflowMenuBase_adaptToOverflowMenu__YeDTC"}},60288:function(e){e.exports={overflowMenuButton:"OverflowMenuButton_overflowMenuButton__JPKiT"}},83671:function(e){e.exports={buttonWrapper:"PlayButton_buttonWrapper___CMG4",adaptForVideo:"PlayButton_adaptForVideo__bsKjt",playPauseIcon:"PlayButton_playPauseIcon__EBXpd",disabled:"PlayButton_disabled__F2saR"}},98707:function(e){e.exports={playerControlsWrapper:"PlayerControlsShort_playerControlsWrapper__qdkr5",addToLibraryCompactWrapper:"PlayerControlsShort_addToLibraryCompactWrapper__vXwv0",overflowMenuButtonWrapper:"PlayerControlsShort_overflowMenuButtonWrapper__qNhz2",previewPlayPauseWrapper:"PlayerControlsShort_previewPlayPauseWrapper__39zQA",skipButtonsWrapper:"PlayerControlsShort_skipButtonsWrapper__8Nqc6"}},44874:function(e){e.exports={circularContainer:"PreviewPlayButton_circularContainer__IPZte",circularInner:"PreviewPlayButton_circularInner___9inH",rangeBarRight:"PreviewPlayButton_rangeBarRight__7U2dx",rangeBarLeft:"PreviewPlayButton_rangeBarLeft__QqPAO",rangeBarProgress:"PreviewPlayButton_rangeBarProgress__m16Uz",iconButton:"PreviewPlayButton_iconButton__VbRK0"}},62131:function(e){e.exports={progressBarContainer:"ProgressBar_progressBarContainer__glVHh",progressBarContainerWithOverhead:"ProgressBar_progressBarContainerWithOverhead__S9RTq",progressBarLineActive:"ProgressBar_progressBarLineActive__eawR7",progressBarLineBackground:"ProgressBar_progressBarLineBackground__S9lxG",progressBarLine:"ProgressBar_progressBarLine__a7FZb",progressBarSlider:"ProgressBar_progressBarSlider__oFBQJ",visible:"ProgressBar_visible__kkOqc",tooltip:"ProgressBar_tooltip__E8aUa",tooltipContainer:"ProgressBar_tooltipContainer__GjrK3"}},73582:function(e){e.exports={visibleOnlyToScreenReader:"ScreenReaderInput_visibleOnlyToScreenReader__TVvYo"}},37574:function(e){e.exports={progressTimeSpacer:"ProgressTimer_progressTimeSpacer__aN1q5",actualProgressTime:"ProgressTimer_actualProgressTime__kN3ww",progressTimer:"ProgressTimer_progressTimer__EIq8k"}},62116:function(e){e.exports={tagList:"Tags_tagList__6JpKG",tag:"Tags_tag__bbXTA",hidden:"Tags_hidden__IArVG",condensedTags:"Tags_condensedTags__w_NCJ"}},32949:function(e){e.exports={container:"Tag_container__ju3CN",isDarkTheme:"Tag_isDarkTheme__RUhz8"}},97870:function(e){e.exports={title:"TitleAndSubtitle_title__Nwyku",subtitle:"TitleAndSubtitle_subtitle__P1cxq",separator:"TitleAndSubtitle_separator__4WdMW"}},36381:function(e){e.exports={backgroundCoverArt:"BackgroundCoverArt_backgroundCoverArt__i5yOP"}},60615:function(e){e.exports={upsellContentContainer:"Upsell_upsellContentContainer__xjlbk",transition_enter:"Upsell_transition_enter__1J8pP",transition_enterActive:"Upsell_transition_enterActive__7oD__",transition_exit:"Upsell_transition_exit__gTMji",transition_exitActive:"Upsell_transition_exitActive__MLvE3"}},52099:function(e){e.exports={getSpotifyButton:"UpsellButton_getSpotifyButton__9XE6r",buttonText:"UpsellButton_buttonText__L41pW"}},34645:function(e){e.exports={fullscreenWrapper:"UpsellContent_fullscreenWrapper__yafMY",footerWrapper:"UpsellContent_footerWrapper__M_dNe",coverArtWrapper:"UpsellContent_coverArtWrapper__O1I7x",ctaWrapper:"UpsellContent_ctaWrapper___t9Gy",closeButton:"UpsellContent_closeButton__Rxr0B",content:"UpsellContent_content__YTOSs",metadataWrapper:"UpsellContent_metadataWrapper__iSJfD",labelsAndSubtitle:"UpsellContent_labelsAndSubtitle__2mVsp",playerControlsWrapper:"UpsellContent_playerControlsWrapper__HdcB9",overflowMenuButtonWrapper:"UpsellContent_overflowMenuButtonWrapper__Hpw__",coverArtUpsell:"UpsellContent_coverArtUpsell__bAFhO",playlistContainer:"UpsellContent_playlistContainer__ittRM"}},66623:function(e){e.exports={text:"UpsellTitle_text__28Mv1"}},45009:function(e,t,n){var i={"./af/strings.json":[91340,1340],"./am/strings.json":[81098,1098],"./ar-EG/strings.json":[52365,2365],"./ar-MA/strings.json":[70537,537],"./ar-SA/strings.json":[64623,4623],"./ar/strings.json":[45198,5198],"./az/strings.json":[14141,4141],"./bg/strings.json":[34879,4879],"./bho/strings.json":[33065,3065],"./bn/strings.json":[97550,7550],"./bs/strings.json":[26908,6908],"./ca/strings.json":[10416,416],"./cs/strings.json":[23912,3912],"./da/strings.json":[31014,1014],"./de/strings.json":[2589,2589],"./el/strings.json":[25742,5742],"./en-GB/strings.json":[47874,7874],"./es-419/strings.json":[71586,1586],"./es-AR/strings.json":[61426,1426],"./es-MX/strings.json":[7138,7138],"./es/strings.json":[62576,2576],"./et/strings.json":[42139,2139],"./eu/strings.json":[20276,276],"./fa/strings.json":[79978,9978],"./fi/strings.json":[99652,9652],"./fil/strings.json":[74383,4383],"./fr-CA/strings.json":[15057,5057],"./fr/strings.json":[42897,2897],"./gl/strings.json":[51313,1313],"./gu/strings.json":[37649,7649],"./he/strings.json":[6805,6805],"./hi/strings.json":[61521,1521],"./hr/strings.json":[57113,7113],"./hu/strings.json":[73409,3409],"./id/strings.json":[72108,2108],"./is/strings.json":[97606,7606],"./it/strings.json":[68911,8911],"./ja/strings.json":[97055,7055],"./kn/strings.json":[37608,7608],"./ko/strings.json":[42427,2427],"./lt/strings.json":[36386,6386],"./lv/strings.json":[68210,8210],"./mk/strings.json":[24254,4254],"./ml/strings.json":[90903,903],"./mr/strings.json":[62609,2609],"./ms/strings.json":[45019,5019],"./nb/strings.json":[49745,9745],"./ne/strings.json":[34123,4123],"./nl/strings.json":[11290,1290],"./or/strings.json":[38360,8360],"./pa-IN/strings.json":[7604,7604],"./pa-PK/strings.json":[29546,9546],"./pl/strings.json":[91218,1218],"./pt-BR/strings.json":[4355,4355],"./pt-PT/strings.json":[78947,8947],"./ro/strings.json":[93218,3218],"./ru/strings.json":[76722,6722],"./sk/strings.json":[51543,1543],"./sl/strings.json":[21627,1627],"./sr/strings.json":[57700,7700],"./sv/strings.json":[71616,1616],"./sw/strings.json":[95717,5717],"./ta/strings.json":[39400,9400],"./te/strings.json":[80750,750],"./th/strings.json":[53631,3631],"./tr/strings.json":[38554,8554],"./uk/strings.json":[13707,3707],"./ur/strings.json":[65151,5151],"./vi/strings.json":[20202,202],"./zh-CN/strings.json":[27517,7517],"./zh-HK/strings.json":[31885,1885],"./zh-TW/strings.json":[95867,5867],"./zu/strings.json":[9790,9790]};function a(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],a=t[0];return n.e(t[1]).then(function(){return n.t(a,19)})}a.keys=function(){return Object.keys(i)},a.id=45009,e.exports=a}}]);