"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[399],{91471:(e,i,t)=>{t.d(i,{k:()=>c});var r=t(30758),n=t(92107),l=t(57581),o=t(8574),u=t(91442),a=t(36273),d=t(86070),c=function(e){var i=e.id,t=e.children,c=e.targetURI,g=e.fadeOut,s=void 0!==g&&g,p=(0,r.useCallback)((function(){window.open((0,u.rw)(c).href)}),[c]),v={getTitle:function(){return n.Ru.get("action-trigger.available-in-app-only")},getDescription:function(){return n.Ru.get("action-trigger.listen-mixed-media-episode")},primaryButtonText:function(){return n.Ru.get("action-trigger.button.get-app")},secondaryButtonText:function(){return n.Ru.get("action-trigger.button.not-now")},isCTA:!0,intentPrimaryButton:"download-app",onLogInteraction:(0,o.W)(),shouldHideOnScroll:!0,fadeOut:s};return(0,d.jsx)(l.U,{className:a.A.container,id:i,onPrimaryButtonClick:p,options:v,children:t})}},62699:(e,i,t)=>{t.r(i),t.d(i,{EpisodeMoreLikeThis:()=>d});var r=t(30758),n=t(44286),l=t(92107),o=t(45625),u=t(77034),a=t(86070),d=r.memo((function(){var e=(0,n.g)().episodeId,i=function(e){return"spotify:episode:".concat(e)}(void 0===e?"":e);return(0,a.jsxs)("div",{className:"contentSpacing",children:[(0,a.jsx)(o.Q,{children:l.Ru.get("internal-link-recommender.more-episodes-like-this")}),(0,a.jsx)(u.W,{uri:i,isFullPage:!0})]})}))},62562:(e,i,t)=>{t.d(i,{C:()=>b});var r=t(30758),n=t(93493),l=t(8574),o=t(58114),u=t(52542),a=(t(7651),t(42486),t(30456),t(26701),t(78551),t(68216),t(47994),t(37417),t(11737),t(51691),t(702),t(5672),t(43379),t(78397),t(82467),t(34192),t(88856),t(51565),t(18316),function(e){return e<=64?"small":e>640?"xlarge":e>300?"large":"standard"});function d(e,i){return e.filter((function(e){return e.label?e.label===i:e.width?a(e.width)===i:!!e.height&&a(e.height)===i}))[0]}var c=t(37851);t(47710);var g=t(53670);function s(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);i&&(r=r.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var i=1;i2&&void 0!==arguments[2]&&arguments[2],n=((null===(t=e.coverArt)||void 0===t?void 0:t.sources)||[]).sort((function(e,i){return(i.width||0)-(e.width||0)})),l=(0,c.QH)(e,i),o=(0,c.gf)(i)||l,u=e.mediaTypes&&e.mediaTypes.includes(g.Cx.Video)?"video":"audio";return p(p({uri:e.uri,title:e.name,subtitle:i.name,type:"episode",album_uri:i.uri,album_title:i.name,artist_uri:i.uri,artist_name:i.name},v(n)),{},{media_type:r?u:"audio",isTrailer:l,anonymousPlaybackAllowed:o})}(e,i,y);b&&!d&&s&&!r?u.resume():b&&d&&!r?(t({type:"click",intent:"pause",targetUri:e.uri}),u.pause()):(t({type:"click",intent:"play",targetUri:e.uri}),u.play({uri:i.uri,pages:[{items:[{type:m.c.EPISODE,uri:e.uri,uid:null,metadata:n,provider:null}]}]},{referrerIdentifier:u.getReferrer(),featureIdentifier:"episode"},r))}}),[i,e,y,b,d,s,u,t]);return _}}}]); //# sourceMappingURL=xpui-routes-episode-more-like-this.js.map