PageSourceSearch

https://www.mytalk1071.com/wp-content/plugins/hbi-listener-profile/dist/index.BYGdXFkB.js

js mytalk1071.com collected 2026-10-02 03:57:57 UTC 233,543 bytes, 208 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/ProfileView.Dwsx6Uia.js","js/vendor-vue.DXGpRCYg.js","js/vendor-pinia.B_PUoroF.js","js/_plugin-vue_export-helper.BDNMzG2s.js","js/ProfilePicture.Euin7prT.js","js/UserFallBack.BCR-8OAw.js","assets/UserFallBack.R0TlyAXM.css","assets/ProfilePicture.ujtJDNyJ.css","js/IconSettingsCog.4eYs2k--.js","assets/ProfileView.Xsiu1V_V.css","js/FeedbackView.CUZif1Yp.js","assets/FeedbackView.C324lhhX.css","js/EditProfileView.c8zy92Mf.js","js/state-options.CASLzA7C.js","js/BootstrapAlert.BBkPRxdT.js","assets/BootstrapAlert.WyiQyvUa.css","assets/EditProfileView.BEipzAYC.css","js/EditPasswordView.DLp1MADw.js","assets/EditPasswordView.BBfWlRbx.css","js/EditPreferencesView.C7pDkznc.js","assets/EditPreferencesView.D1RGdIPb.css","js/NotificationsView.BTaiMh5t.js","assets/NotificationsView.CqVPYPR6.css","js/LoginProfileView.DOHB-idz.js","assets/LoginProfileView.DLEqJBlv.css","js/RegisterProfileView.BrZfwMin.js","assets/RegisterProfileView.CHJMnLIs.css","js/ForgotPasswordView.CLywotg_.js","assets/ForgotPasswordView.D7W1Espe.css","js/ResetPasswordView.BXlHYCyq.js","assets/ResetPasswordView.BuuYzIVB.css","js/ThrottlingHelpView.vL-wR5JL.js","assets/ThrottlingHelpView.CMOAhdIT.css","js/LevelsView.B32rUnYk.js","js/PlayerBreadcrumb.BOqPzuAm.js","assets/PlayerBreadcrumb.BVRkXWC_.css","assets/LevelsView.DJUQzt3w.css","js/CheckoutView.B-T2PMty.js","js/StripeCardElement.c5yphiTD.js","assets/StripeCardElement.BQHQidxH.css","assets/CheckoutView.DEy5foYm.css","js/CheckoutConfirmationView.BWDqj70W.js","assets/CheckoutConfirmationView.DYT_NB54.css","js/OrdersView.CzilYjGa.js","assets/OrdersView.BVFpBdKX.css","js/InvoiceDetailView.DQAkR5nE.js","assets/InvoiceDetailView.Hnvkwxxc.css","js/RewardsView.CxEDxNeU.js","js/RewardsList.CbFBIcrr.js","js/PromoDetailsCard.YewSS3Yf.js","js/RewardDetailsCardBase.BrKkykcI.js","assets/RewardDetailsCardBase.IfbTv0b7.css","assets/PromoDetailsCard.CUES-zfv.css","js/RewardDetailsCardSmackTheTrack.BSkJbhiN.js","assets/RewardDetailsCardSmackTheTrack.BcSyr9YL.css","assets/RewardsList.BSapAfGK.css","js/RewardDetailView.CTesN1V_.js","js/RewardDetailsBase.S1Nst0zZ.js","assets/RewardDetailsBase.5THw8MTF.css","assets/RewardDetailView.B-lM0tsa.css","js/PromoDetailView.Dz_c1DwU.js","assets/PromoDetailView.Ct7ifUa7.css","js/ContestNotFoundView.aZFt7Jfv.js","assets/ContestNotFoundView.DNls19s7.css","js/TimelineView.C9ucZLMb.js","assets/TimelineView.DBJdCojt.css","js/ArtistView.C0jDLAT0.js","assets/ArtistView.DWceBa4o.css"])))=>i.map(i=>d[i]);
2import{n as e}from"./js/vendor.DYVnUg-n.js";import{$ as t,A as n,B as r,C as i,D as a,E as o,F as s,G as c,H as l,I as u,L as d,M as f,N as p,P as m,R as h,S as g,T as _,U as v,V as y,W as b,X as x,_ as S,a as C,at as w,b as T,c as E,g as D,h as O,i as ee,it as k,j as te,l as A,m as j,n as ne,ot as M,p as re,r as ie,rt as N,s as ae,t as P,v as oe,x as F,y as I,z as se}from"./js/vendor-vue.DXGpRCYg.js";import{n as L,r as ce,t as le}from"./js/vendor-pinia.B_PUoroF.js";import{t as R}from"./js/_plugin-vue_export-helper.BDNMzG2s.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var ue={class:`sr-only`},z=Object.assign({inheritAttrs:!1},{__name:`LoadingWheel`,props:[`backgroundColor`,`textColor`,`spinnerColor`,`inline`,`centered`],setup(e){let n=e,i=I(()=>({"loading-modal-wrapper":!0,"text-center":n.centered??!0,"inline-spinner":n.inline})),a=t(null);return m(()=>{if(a.value){let e=a.value.querySelector(`.spinner-border`);e&&(e.style.animation=`none`,e.classList.remove(`spinner-border`),e.removeAttribute(`style`));let t=a.value.querySelector(`p`);t&&t.removeAttribute(`style`),a.value.removeAttribute(`style`)}}),(e,t)=>(d(),F(E,{name:`loading-modal`},{default:b(()=>[T(`div`,te({ref_key:`loadingWrapper`,ref:a},e.$attrs,{class:i.value,style:n.backgroundColor?{backgroundColor:n.backgroundColor}:null}),[T(`div`,{class:`spinner-border`,style:w(n.spinnerColor?{color:n.spinnerColor+` !important`}:null)},[T(`span`,ue,[r(e.$slots,`default`,{},()=>[t[0]||=o(`Loading...`,-1)])])],4),T(`p`,{style:w(n.textColor?{color:n.textColor}:null)},[r(e.$slots,`default`,{},()=>[t[1]||=o(`Loading...`,-1)])],4)],16)]),_:3}))}}),B=window.LiveLoginSettings.endpoint,de=window.AppSettings?.theme?.global?.station_url??window.location.host,fe=()=>window.LiveLogin.getCookieByName(window.LiveLoginSettings.user_info_cookie_name),V={get_user_token(){return window.LiveLogin.revalidateToken(),window.LiveLogin.getCookieByName(window.LiveLoginSettings.token_cookie_name)},fetch_station_page(e=`posts`,t=null){return t?fetch(de+`/wp-json/wp/v2/`+e+`/`+t,{method:`GET`}).then(e=>{if(e.status!==200)throw e.status;return e.json()}):[]},fetch_sidebar(e=null){return e?fetch(de+`/wp-json/wp/v2/sidebar/`+e,{method:`GET`}).then(e=>{if(e.status!==200)throw e.status;return e.json()}):[]},fetch_hll_settings(){return fetch(B+`/wp-json/hll/v1/hll_settings_get`,{method:`GET`}).then(e=>{if(e.status!==200)throw e.status;return e.json()})},fetch_pmpro_settings(){return fetch(B+`/wp-json/hll/v1/memberships/pmpro-settings`,{method:`GET`,headers:{Accept:`application/json`}}).then(e=>{if(e.status!==200)throw e.status;return e.json()})},fetch_hll_user_profile_data(){let e=this.get_user_token();return fetch(B+`/wp-json/hll/v1/hll_user_data`,{method:`GET`,headers:{Accept:`application/json`,Authorization:`Bearer `+e}}).then(e=>{if(e.status!==200)throw e.status;return e.json()})},hll_get_notifications(e=1){let t=this.get_user_token(),n={};t&&(n={Authorization:`Bearer `+t});let r=e>1?`?notification_page=${e}`:``;return fetch(B+`/wp-json/hll/v1/hll_notifications_get${r}`,{method:`GET`,headers:n}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},mark_notifications_seen(e){let t=this.get_user_token(),n=JSON.stringify({notification_ids:e});return fetch(B+`/wp-json/hll/v1/notification_mark_as_seen`,{method:`POST`,body:n,headers:{"Content-Type":`text/plain`,Authorization:`Bearer `+t}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},mark_notifications_read(e){let t=this.get_user_token(),n=JSON.stringify({notification_ids:[e]});return fetch(B+`/wp-json/hll/v1/notification_mark_as_read`,{method:`POST`,body:n,headers:{"Content-Type":`text/plain`,Accept:`application/json`,Authorization:`Bearer `+t}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},mark_all_notifications_read(){let e=this.get_user_token();return fetch(B+`/wp-json/hll/v1/notification_mark_all_as_read`,{method:`POST`,headers:{"Content-Type":`text/plain`,Authorization:`Bearer `+e}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},mark_notifications_clicked(e){let t=this.get_user_token(),n=JSON.stringify({notification_ids:[e]});return fetch(B+`/wp-json/hll/v1/notification_mark_as_clicked`,{method:`POST`,body:n,headers:{"Content-Type":`text/plain`,Authorization:`Bearer `+t}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_promos(){let e=V.get_user_token(),t={};return e&&(t.Authorization=`Bearer `+e),fetch(B+`/wp-json/hll/v1/hll_aptivada_promos_get`,{method:`GET`,headers:{Accept:`application/json`,...t}}).then(e=>{if(e.status!==200)throw e.status;let t=e.headers.get(`content-length`);return t===`0`||t===null?{}:e.json()}).catch(e=>console.log(e))},hll_contests(){let e=V.get_user_token(),t={};return e&&(t.Authorization=`Bearer `+e),fetch(B+`/wp-json/hll/v1/hll_contests_get`,{method:`GET`,headers:{Accept:`application/json`,...t}}).then(e=>{if(e.status!==200)throw e.status;let t=e.headers.get(`content-length`);return t===`0`||t===null?{}:e.json()}).catch(e=>console.log(e))},hll_rewards(){let e=V.get_user_token(),t={};e&&(t.Authorization=`Bearer `+e);let n=JSON.stringify({include_targeted:!0,include_drafts:!0}),r=``;return window.location.search.includes(`preview=true`)&&window.location.search.includes(`check`)&&(r=`?preview=true&check=`+new URLSearchParams(window.location.search).get(`check`)),fetch(B+`/wp-json/hll/v1/hll_rewards_get`+r,{method:`POST`,body:n,headers:{Accept:`application/json`,...t}}).then(e=>{if(e.status!==200)throw e.status;let t=e.headers.get(`content-length`);return t===`0`||t===null?{}:e.json()}).catch(e=>console.log(e))},hll_rewards_enter(e,t){let n=this.get_user_token(),r=JSON.stringify({reward_id:e,opt_in_fields:t});return fetch(B+`/wp-json/hll/v1/hll_rewards_enter`,{method:`POST`,body:r,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+n}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_listen_and_win_enter(e,t,n,r){let i=this.get_user_token(),a=JSON.stringify({reward_id:e,source:t,times:n,opt_in_fields:r});return fetch(B+`/wp-json/hll/v1/hll_listen_and_win_enter`,{method:`POST`,body:a,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+i}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_promocode_enter(e,t,n,r){let i=this.get_user_token(),a=JSON.stringify({reward_id:e,dateTime:n,promocode:t,opt_in_fields:r});return fetch(B+`/wp-json/hll/v1/hll_comparison_reward`,{method:`POST`,body:a,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+i}}).then(e=>{if(e.status!==200)throw e.status;return e.json()})},hll_update_promocode_reward_notification_preference(e,t){let n=this.get_user_token(),r=JSON.stringify({reward_id:e,enable_notifications:t});return fetch(B+`/wp-json/hll/v1/hll_update_promocode_reward_notification_preference`,{method:`POST`,body:r,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+n}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_smack_the_track_achieve(e,t){let n=this.get_user_token(),r=JSON.stringify({track_cut_id:e,cue_id:t});return fetch(B+`/wp-json/hll/v1/hll_smack_the_track_achieve`,{method:`POST`,body:r,headers:{Authorization:`Bearer `+n}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>(console.error(e),e===403?{success:!1,data:403}:{success:!1,data:`unknown error`}))},hll_edit_profile(e){let t=this.get_user_token(),n=JSON.stringify(e);return fetch(B+`/wp-json/hll/v1/hll_account_edit`,{method:`POST`,body:n,headers:{Authorization:`Bearer `+t}}).then(e=>e.json()).then(e=>{if(e?.data)return e;throw e}).catch(e=>(console.error(e),{success:!1,data:`An error occured, and the profile data could not be updated.`}))},hll_account_reset_password(e){let t=this.get_user_token(),n=JSON.stringify({password:e});return fetch(B+`/wp-json/hll/v1/hll_account_password_reset`,{method:`POST`,body:n,headers:{Authorization:`Bearer `+t}}).then(e=>e.json()).then(e=>{if(e?.data)return e;throw e}).catch(e=>
2(console.error(e),{success:!1,data:`An error occured, and your password could not be updated.`}))},hll_get_user_by_uuid(e){let t=JSON.stringify({uuid:e});return fetch(B+`/wp-json/hll/v1/hll_get_user_by_uuid`,{method:`POST`,body:t,headers:{Accept:`application/json`}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_account_forgot_password(e){let t=JSON.stringify({email:e});return fetch(B+`/wp-json/hll/v1/hll_account_forgot_station`,{method:`POST`,body:t,headers:{Accept:`application/json`}}).then(e=>e.json()).catch(e=>console.error(e))},hll_account_recover_password(e,t,n,r){let i=JSON.stringify({email:e,key:t,password:n,confirmPassword:r});return fetch(B+`/wp-json/hll/v1/hll_account_recover_station`,{method:`POST`,body:i,headers:{Accept:`application/json`}}).then(e=>e.json()).catch(e=>console.error(e))},hll_edit_profile_picture(e){let t=this.get_user_token(),n=new FormData;return n.append(`photo`,e,e.name),fetch(B+`/wp-json/hll/v1/hll_account_photo_upload`,{method:`POST`,body:n,headers:{Authorization:`Bearer `+t}}).then(e=>e.json()).then(e=>{if(e?.data)return e;throw e}).catch(e=>(console.error(e),{success:!1,data:`An error occured, and the profile image could not be updated.`}))},hll_delete_profile_picture(){let e=this.get_user_token();return fetch(B+`/wp-json/hll/v1/hll_account_photo_delete`,{method:`POST`,body:``,headers:{Authorization:`Bearer `+e}}).then(e=>e.json()).then(e=>{if(e?.data)return e;throw e}).catch(e=>(console.error(e),{success:!1,data:`An error occured, and the profile image could not be removed.`}))},hll_delete_profile(){let e=this.get_user_token();return fetch(B+`/wp-json/hll/v1/hll_account_delete`,{method:`POST`,body:``,headers:{Accept:`application/json`,Authorization:`Bearer `+e}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>console.log(e))},hll_get_track_data(e){let t=JSON.stringify({ids:e});return fetch(B+`/wp-json/hll/v1/hll_tracks_get`,{method:`POST`,body:t,headers:{Accept:`application/json`}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_get_artist_data(e){let t=JSON.stringify({ids:e});return fetch(B+`/wp-json/hll/v1/hll_artists_get`,{method:`POST`,body:t,headers:{Accept:`application/json`}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_get_individual_artist_data(e){let t=JSON.stringify({artist_id:e});return fetch(B+`/wp-json/hll/v1/hll_artists_data`,{method:`POST`,body:t,headers:{Accept:`application/json`}}).then(e=>{if(e.status!==200)throw e.status;return e.json()})},hll_unlike_item(e,t){let n=this.get_user_token(),r;switch(t){case`track`:r=JSON.stringify({track_id:e});break;case`artist`:r=JSON.stringify({artist_id:e});break;default:console.error(`No matching route type`)}return fetch(B+`/wp-json/hll/v1/hll_unlike_${t}`,{method:`POST`,body:r,headers:{Accept:`application/json`,Authorization:`Bearer `+n}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_like_item(e,t){let n=this.get_user_token(),r;switch(t){case`track`:r=JSON.stringify({track_id:e});break;case`artist`:r=JSON.stringify({artist_id:e});break;default:console.error(`No matching route type`)}return fetch(B+`/wp-json/hll/v1/hll_like_${t}`,{method:`POST`,body:r,headers:{Accept:`application/json`,Authorization:`Bearer `+n}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_account_signup(e){let t=JSON.stringify(e);return fetch(B+`/wp-json/hll/v1/hll_account_signup`,{method:`POST`,body:t,headers:{"Content-Type":`application/json`}}).then(e=>e.json()).catch(e=>console.error(e))},hll_timeline_fetch(e=null){let t=`/wp-json/hll/v1/hll_timeline`;return e&&(t+=`?application_id=`+e),fetch(B+t).then(e=>e.json()).then(e=>{let t=e?.data?.response;return t===void 0?!1:t}).catch(e=>!1)},hll_events_timeline(e=null){let t=`/wp-json/hll/v1/hll_events_timeline`;return e&&(t+=`?application_id=`+e),fetch(B+t).then(e=>e.json()).then(e=>{let t=e?.data?.response;return t===void 0?!1:t}).catch(e=>!1)},hll_events(e){return fetch(B+`/wp-json/hll/v1/hll_events`,{method:`POST`,body:JSON.stringify({since:e})}).then(e=>e.json()).then(e=>{let t=e?.data?.response;return t===void 0?!1:t}).catch(e=>!1)},hll_cues_fetch(e,t=null){let n=B+`/wp-json/hll/v1/hll_cues_get`;return t!==null&&(n+=`?application_id=`+t),fetch(n,{method:`POST`,body:JSON.stringify({offset:e,limit:6})}).then(e=>e.json()).then(e=>{let t=e?.data?.response;return t===void 0?!1:t}).catch(e=>!1)},hll_listen_ping(e,t=null,n){let r;r=t?B+`/wp-json/hll/v1/hll_listen_ping?notification_pagination_limit=10&r=${Date.now()}`:B+`/wp-content/plugins/hubbard-listen-live/api/hll_listen_ping.php?notification_pagination_limit=10`,e&&(r+=`&application_id=`+e),n&&(r+=`&no_time=1`);let i={Accept:`*/*`};return t&&(i.Authorization=`Bearer `+t),fetch(r,{method:`POST`,headers:i}).then(e=>{if(e.status!==200){let t=Error(`HTTP ${e.status}`);throw t.isHttpError=!0,t.status=e.status,t}else return e.json()})},hll_podcast_ping(e,t,n,r,i,a){let o,s=[];o=e?B+`/wp-json/hll/v1/hll_podcast_listen_ping?podcast-listening=1`
2:B+`/wp-content/plugins/hubbard-listen-live/api/hll_podcast_listen_ping.php?podcast-listening=1`;let c=window.LiveLogin.getCookieByName(`hbi-device-id`),l={Accept:`*/*`};return e&&(l.Authorization=`Bearer `+e),s.push({podcast_id:t,episode_id:n,start_time_idx:r,end_time_idx:i,is_streaming:!0,start_datetime:a}),fetch(o,{method:`POST`,headers:l,body:JSON.stringify({listen_records:s,device_id:c})}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_likes_fetch(e){return fetch(B+`/wp-json/hll/v1/hll_track_likes_count?track_id=`+e).then(e=>e.json()).then(e=>e?.data?.count).catch(e=>(console.error(e),0))},hll_current_main_event(e){return fetch(B+`/wp-json/hll/v1/hll_current_main_event`).then(e=>e.json()).then(e=>e?.data?.response).catch(e=>null)},async hll_search(e,t){return fetch(B+`/wp-json/hll/v1/hll_search?query=`+e,{signal:t})},logInUser(e,t){let n=JSON.stringify({username:e,password:t});return fetch(B+`/wp-json/jwt-auth/v1/token`,{method:`POST`,body:n,headers:{Accept:`application/json, text/javascript, */*`,"Content-Type":`application/json`}}).then(e=>e.json()).then(e=>(e.message||(window.LiveLogin.setCookies(e),window.LiveLogin.checkUser()),e)).catch(e=>{console.error(e)})},logOutUser(){let e=this.get_user_token();return window.LiveLogin.deleteTokenCookie(),window.LiveLogin.deleteUserInfoCookie(),window.LiveLogin.deleteUserSegmentCookie(),window.LiveLogin.user_info=null,window.LiveLogin.checkUser(),this.get_user_token(),fetch(B+`/wp-json/hll/v1/hll_account_logout`,{method:`GET`,headers:{Accept:`application/json`,Authorization:`Bearer `+e}}).then(e=>e.json()).then(e=>e)},hll_get_membership_account_info(){let e=this.get_user_token();return fetch(B+`/wp-json/hll/v1/memberships/account-info`,{method:`GET`,headers:{Authorization:`Bearer `+e,Accept:`application/json`}}).then(e=>{if(e.status!==200)throw e.status;return e.json()}).catch(e=>{console.error(e)})},hll_checkout_init(e,t=``){let n=new URLSearchParams({level_id:e,discount_code:t});return fetch(B+`/wp-json/hll/v1/memberships/checkout/init?`+n,{method:`GET`}).then(e=>e.json())},hll_validate_discount(e,t){let n=new URLSearchParams({level_id:e,discount_code:t});return fetch(B+`/wp-json/hll/v1/memberships/checkout/validate-discount?`+n,{method:`GET`}).then(e=>e.json())},hll_checkout_process(e){return fetch(B+`/wp-json/hll/v1/memberships/checkout/process`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+this.get_user_token()},body:JSON.stringify(e)}).then(e=>e.json())},hll_checkout_confirm(e){return fetch(B+`/wp-json/hll/v1/memberships/checkout/confirm`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+this.get_user_token()},body:JSON.stringify(e)}).then(e=>e.json())},hll_billing_update(e){return fetch(B+`/wp-json/hll/v1/memberships/billing/update`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+this.get_user_token()},body:JSON.stringify(e)}).then(e=>e.json())},hll_cancel_membership(e=null){return fetch(B+`/wp-json/hll/v1/memberships/cancel`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+this.get_user_token()},body:JSON.stringify({level_ids:e})}).then(e=>e.json())},hll_get_orders(){return fetch(B+`/wp-json/hll/v1/memberships/orders`,{method:`GET`,headers:{Authorization:`Bearer `+this.get_user_token()}}).then(e=>e.json())},hll_get_order(e){return fetch(B+`/wp-json/hll/v1/memberships/order/`+e,{method:`GET`,headers:{Authorization:`Bearer `+this.get_user_token()}}).then(e=>e.json())},hll_get_protected_stream_token(e=null){let t=this.get_user_token();if(!t)return Promise.resolve({token:null});let n=B+`/wp-json/hll/v1/memberships/protected-stream`;return e&&(n+=`?stream=`+e),fetch(n,{method:`GET`,headers:{Authorization:`Bearer `+t}}).then(e=>{if(e.status!==200)throw e.status;return e.json()})},hll_update_pmpro_user_fields(e){return fetch(B+`/wp-json/hll/v1/memberships/user-fields`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer `+this.get_user_token()},body:JSON.stringify({user_fields:e})}).then(e=>e.json())}};function pe(e){return window.hbiVueLinksOpenInSameTab?!1:`RewardDetailVie
2w.TimelineView.Profile.ArtistView.ContestNotFoundView.RewardNotFound.ContestDetailView.EditPassView.EditPreferencesView.EditView.ErrorView.ForgotPasswordView.LoginProfileView.NotFound.NotificationsView.PromoDetailView.RegisterProfileView.ResetPasswordView.RewardsView.RewardsList.RewardDetailView.ResetPassView.ThrottlingHelp.ResetPassView.MembershipLevels.Checkout.CheckoutConfirmation.InvoiceDetail.Orders`.split(`.`).includes(e)}var H=L(`stream`,{state:()=>({streamApplicationId:null,_currentStream:null,isPlaying:!1,playPromise:null,stream:t({}),volumeLevel:100,isLoading:!1,showingVideoAd:!1,videoAdTimeout:null,showMutedModal:!1,showLiveBar:!0,streamCanPlayOnCurrentRoute:!1,protectedStreamToken:null,protectedStreamError:null}),getters:{currentStream(e){let t=Z();return e.streamApplicationId===null?t.getDefaultStream:t.getStreams.find(t=>t[`listen-live-api-id`]===e.streamApplicationId)??t.getDefaultStream},currentStreamIsPrimary(e){let t=Z();return e.currentStream[`listen-live-api-id`]===t.getDefaultStream[`listen-live-api-id`]},mainStreamExists(e){let t=Z(),n=t.fetchedPlayerSettings[`hll-audio-stream-source`]??!1,r=t.fetchedPlayerSettings[`hll-audio-stream-source-aac`]??!1;return n||r},streamSrc(e){let t=this.currentStream[`audio-stream-source-aac`]||this.currentStream[`audio-stream-source`];if(this.currentStream[`is-restricted-stream`]===`on`&&e.protectedStreamToken){let n=new URLSearchParams({tdtok:e.protectedStreamToken,dist:`hubbard`,source:`hubbard-protected-stream`,gdpr:`0`});t+=(t.includes(`?`)?`&`:`?`)+n.toString()}return t},hasMusicStream(e){let t=Z(),n=t.getStreams;return t.isTalkStation&&n.length<=1?!1:n.some(e=>e[`stream-type`]!==`talk`)}},actions:{async fetchProtectedStreamToken(){if(this.currentStream[`is-restricted-stream`]===`on`&&!this._fetchingToken){this._fetchingToken=!0;try{let e=await V.hll_get_protected_stream_token(this.currentStream[`listen-live-api-id`]);this.protectedStreamToken=e.token||null,this.protectedStreamError=e.message||null}catch{this.protectedStreamToken=null,this.protectedStreamError=null}finally{this._fetchingToken=!1}}},buildStreamUrl(){let e=this.currentStream[`audio-stream-source-aac`]||this.currentStream[`audio-stream-source`],t=new URLSearchParams;if(window.Osano?.cm){t.set(`gdpr`,window.Osano.cm.gdprApplies?`1`:`0`);let e=window.Osano.cm.optOut;t.set(`us_privacy`,`1${e?`YYN`:`YNN`}`)}else t.set(`gdpr`,`0`),t.set(`us_privacy`,`1YYN`);return t.set(`dist`,`hubbard`),this.currentStream[`is-restricted-stream`]===`on`&&this.protectedStreamToken&&(t.set(`tdtok`,this.protectedStreamToken),t.set(`source`,`hubbard-protected-stream`)),e+=(e.includes(`?`)?`&`:`?`)+t.toString(),e},setMediaMetadata(){let e=W(),t=U(),n=Z(),r={};if(n.fetchedPlayerSettings[`hll-talk-station`]){let e=t.formatTime(t.latestEvent?.start_date),i=t.formatTime(t.latestEvent?.end_date);r.description=t.latestEvent?.name,r.artist=`${e} - ${i}`,r.album=n.fetchedPlayerSettings[`hll-station-name`]}else r.description=e.tracks[0]?.data.description,r.artist=e.tracks[0]?.data.artist,r.album=e.tracks[0]?.data.album;`mediaSession`in navigator&&(e.latestTrackIsOver?navigator.mediaSession.metadata=new window.MediaMetadata({title:e.fallbackEvent.fallbackTitle,artist:e.fallbackEvent.fallbackSubtitle,album:``,artwork:[{src:e.latestTrackArtworkURL,sizes:`600x600`,type:`image/jpg`}]}):navigator.mediaSession.metadata=new window.MediaMetadata({title:r.description,artist:r.artist,album:r.album,artwork:[{src:e.latestTrackArtworkURL,sizes:`600x600`,type:`image/jpg`}]}),navigator.mediaSession.setActionHandler(`play`,e=>{this.stream.value.load(),this.playPromise=this.stream.value.play()}),navigator.mediaSession.setActionHandler(`seekbackward`,e=>{}),navigator.mediaSession.setActionHandler(`seekforward`,e=>{}),navigator.mediaSession.setActionHandler(`seekto`,e=>{}))},async changeStream(e,t){let n=Z().getStreams,r=W(),i=Y(),a=n.find(t=>t[`listen-live-api-id`]===e);a&&r.unsubscribeFromPusher(a),this.$patch({isPlaying:!1,streamApplicationId:t}),this.currentStream[`is-restricted-stream`]===`on`&&this.fetchProtectedStreamToken(),i.stopListenPing(),r.latestTrackIsOver=!1,r.latestTrackArtworkBlob=``,r._lastArtworkURL=null,await f(),this.updateStationLogo(),r.refreshTimeline().then(()=>{r.fallbackTimer&&clearTimeout(r.fallbackTimer),r.fallbackTimer=null,r.startFirstTrackCountdown(r)}),r.subscribeToPusher()},updateStationLogo(){let e=Z(),t=I(()=>document.querySelector(`#header-container .custom-logo-link .custom-logo`));t.value.src=this.currentStream[`station-logo`]||e.fetchedPlayerSettings[`hll-custom-header-logo`]||t.value.src,t.value.srcset=``}}}),U=L(`events`,{state:()=>
2({events:[],currentStream:null,streamLoading:!1,refreshTimeout:null}),getters:{latestEvent(e){if(e.events.length===0)return!1;if(this.currentEventIsLive)return e.events[0]??!1;{let t=W(),n=e.events[0]?.start_date_utc;return{id:0,name:t.fallbackEvent.fallbackTitle,additional_info:t.fallbackEvent.fallbackSubtitle,external_url:``,featured_event:`on`,is_all_day:!1,start_date:``,end_date:``,start_date_utc:``,end_date_utc:n,photo:t.fallbackEvent.fallbackImage,type:`special-event`,checksum:``}}},currentEventIsLive(e){if(e.events.length===0)return!1;let t=new Date,n=e.events[0],r=new Date(n.start_date_utc.replace(` `,`T`)+`Z`),i=new Date(n.end_date_utc.replace(` `,`T`)+`Z`);return!(t<r||t>i)},upcomingEvents(e){return e.events.length===0?[]:this.currentEventIsLive?e.events.slice(1):e.events},upcomingEventsGroupedByDay(e){return e.upcomingEvents.reduce((e,t)=>{let n=new Date(t.start_date.replace(` `,`T`)),r=this.getDayOfWeek(n.getDay())+`, `+this.getMonthName(n.getMonth())+` `+n.getDate();return e[r]||(e[r]=[]),e[r].push(t),e},{})}},actions:{async refreshEventsTimeline(){if(!this._fetchingEvents){this._fetchingEvents=!0;try{let e=H(),t=e.currentStreamIsPrimary?null:e.currentStream[`listen-live-api-id`],n=await V.hll_events_timeline(t);n&&(this.$subscribe((e,t)=>{if(e.type===`direct`&&e.storeId===`events`){let e=W();this.startEventCountdown(t),e.updateLatestTrackArtwork(),this.setMediaMetadata()}}),this.events=[],this.events=n)}finally{this._fetchingEvents=!1}}},startEventCountdown(){if(this.refreshTimeout&&this?.events?.length>0||this.events.length===0)return;let e=new Date().getTime(),t;t=this.currentEventIsLive?new Date(this.events[0].end_date_utc.replace(` `,`T`)+`Z`).getTime():new Date(this.events[0].start_date_utc.replace(` `,`T`)+`Z`).getTime();let n=t-e;if(n<=0){this._fetchingEvents||this.refreshEventsTimeline();return}clearTimeout(this.refreshTimeout),this.refreshTimeout=setTimeout(()=>{this.refreshTimeout=null,this.currentEventIsLive&&(this.events=this.events.slice(1)),this.startEventCountdown(),setTimeout(()=>this.refreshEventsTimeline(),2e4)},Math.max(n,0))},async loadMoreEvents(){let e=this.events[this.events.length-1],t=await V.hll_events(e.end_date);return this.events=[...this.events,...t],t.length>0},formatTime(e){if(!e)return``;let t=e.replace(` `,`T`),n=new Date(t),r=n.getHours();r>12?r-=12:r===0&&(r=12);let i=n.getMinutes()<10?`0`+n.getMinutes():n.getMinutes(),a=n.getHours()>=12?`pm`:`am`;return r+`:`+i+a},getDayOfWeek(e){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`][e]},getMonthName(e){return[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`][e]},setMediaMetadata(){let e=Z().fetchedPlayerSettings[`hll-station-name`];`mediaSession`in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.events[0].name,artist:e,artwork:[{src:this.events[0].photo,sizes:`600x600`,type:`image/jpg`}]}))}}}),me=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHB0dKikxHh8gIyMnJyctKSgvISEkKCcuHR4fJSUqJCQoHyAiICAjJiYrIiImzbNFogAABOVJREFUeNrsndmWpCoQRZlBBPT/v7Yz81Z3VSKmA667KsKzX/q1d4kBkjEIAQAAAAAAAAAAAAAAAAAAAMCvJ8+zuZHurOUDH+7im+QXN1HO8ptbKE/yJy6zF5YVo7qZsNThZsKPdR1vJiz1fDNhKSd1M2Gp882EpbR3E+a6rNeF5WBuJix1uZmwlOFuwnJkLRzdDYx/yglhG6FLcRYWxnM3roSFGpkb18JCBN7GS2FhNGfjhrBQA2PjlnDjReZj3BT+cXnLznhFeBm6uBivCTeMmQuLrFmeMteFl9vTyFx4aTwzF14aB+bCC2NtmAsvjSNz4befU1lsx1vCi/144i68MLbchRf3PoW7sBg5heo9wlVeBO3AtUu4vhEYuQuLqNmcMfcJC1MFLsNduN6cvOIuXF/6TOyFhePx4bRfWGkWnxH7hevANdAXdm6yNuTVRzdzOFS3szsmW8z2icuwEf564LZUm4/y9PemjZSHIb1JV69x4if8etJzXPtUzCyFn4s3meZuTHBRy714GxufEYmv8HNth8cDLcQXtTyEHk21Nw28hV8hTJM+fshu4t2EHV3hnK0dnT9qXMgK/ztPBev0gUimqAv/d28Xxr3POrEQ/pLW3OLW5gVATp5V3Npz42E2nQsv4edz/ry2PcM7LRWGD8YzP+HXY2awNR0RfoRtq6kXsh0TfqzsFWUy19RHhR8ET/n0cUL4bycMmoH6lHBzYbMWbiXNMxd+nL8cybuenmdUPMF9qWtRqkTvMq/zLTQDtUym7rATJu8doXQAgnEWwhCGMIQhDGEIQxjCEIYwhCEMYQhDGMIQhjCEIQxhCEMYwhCGMIQh/EbMNjn3yjzRj3/tnBVfYdMuWvDTHBkKl4+5zd91kzyEo93O2B+C4iIcx52VN1ZxEN6r+1OZsrA9UFz1fJkLbWEzHK4afA4nIStsz9RJ6kJVWE0nS0MtTeETy7kFHV8tbyW85qtdmvOrs47J2Y6Oi3Dbd2jMX92qmyQSr/Rqz43WX+fTOZuG8DJefR5BqtbPJyR80/GhhSoRFs6nRrutbGMUXmB/cvBoIiqcTrfJDSSFY8fcvkKxmG7sKVou9IRjX9vnQE44dXZaSNSEdW/B8kBLuHR3pzO0hMf+3rgjKWHdX5AeKQmbKxqHTISE31rjqiviwC/vNZsuaXdEqIWQu6QenVC3FX9JO01CvUeuaVlGqA/YNfEVwhCG8G84WV4TpX/5dA53yVgNTWcfni4ZgOTpdPKzV3TvioS6gZcr/q/2ii+Q/wl1xVAvT6kj1tB/uAyk2vjN3VvK+y81v370SuyeP2CJtS10ndeWhlrv0dA3xaz66ZFC61HfM36xmt5IYnhj6Bg4WU+rpNFb9vyIzdqXSGvZfCbh4RWvBqL9oesfAP2+zTRoqk3e1SLVLG0/q7hIyiM0p9IsMw43Po7VMtOY1GCsRnaKn9cFYlrmdhAbGd3MQBqbL6UKjv50mcWI7++xhW+laLGklaxqemNXPxSzPGvwnhV5HzLIKY6ZTeeTwjXNsbrhtC/V2djGn/J1dAfcn6prsYIy5WiphzOCNsreIFpVx6jd1Zbf5aXUldOehf3p7Elwi5q25o9mwQwVprXn7McieGLmuhRNuxSiYE7OOVhrS85GAAAAAAAAAAAAAAAAAAAAAECVPwIMADHDKBk6gFLlAAAAAElFTkSuQmCC`,he=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHyAiIyMnJyctKikxHR4fISEkHB0dKCcuKSgvHh8gJiYrJSUqIiImJCQoICAjbjANTAAABHRJREFUeNrsndty4yAMQCOuBtvg///abZtut9kmqZ0A0e28dKZvZwRClrFyOimKoiiKoiiKoiiKoiiKoiiKoiiKoryIYIyxb7z9CcxV51hdhguyq3HmGde4eLiBXyKzWE8lwS+kMrHRNQvsYjEsdGOG3eQoSpeBsklwmER3YU8rPMRKNH1tHh7Eb4LCSzXIc4KnSLOU5UxzWUdoAKEDqkITKhXfFRqxCvMlYmyhIVZIviKUuQw0BnllHXxrYY+7F5KgOUnAAUzmODbQBbTbeMp9hDPWRycLnUB6GgfoBs5MvfQTXgRlLLx5y/UUdsICjDHEa1/hVVCKxpmobW9hbGdx7i2cRaUsfGlr7S+8ylrRyNb0DAPA9PKljBAuMp4bcD5B+BHCXtgWxlRsbWOE8bxAtWOEraychSlruTHCeLoAeYwwnloLBqHCKqzClAstjbAKq7AKq7DW
20iqsz8OjmpaY2pZmjDCily3CknSXG4c/wXQHsY4QxnQFcUifFtNnLtMIYVQXEAc0anFdTov9hXF9DDAJW9ED1jS265aboDJryNuHjM23d9pC+P1S11sAHp9v34dilB8BZEk7uPMuRvoFYrfWlsPp2+8dE9oBCFZQxurY+cD8teXc4TD2qCd6RDEZ+i/Nb4qjn3vgZJxI31oBTRNXIjCEqKVxIjF0qd3gA09k+GOrGCcyQ7XaGCdCQ8SmBj29hdbQtKffNtUTMZ6bmUZxDGB4ogRxNGfzlgeD7MuJKOGh3LVQHr1sDq9rR30E8TFlx2Histm9sJkMmH7by3ZHzzpbVmPT53q33EyV4WT8EK9LpxoZ//zBbKx1X1hr5pOiKIqiKIqiKIqiKIqiIGUyH0R7QTn/l0sXb373W5zbdyPAOVfff8OVoH0wxbonXpd6t9hoJhoL167N7qZ5Vwvmty+mLD0+A0hrQdi8NrbrqAfvLCLpUIbMtUDyK8VzHTQR77y8SxBk+2rnUMbbfh7Yr7g0bhZ4Ib4ODnPM8GoG3o+YrAcMDLoBg0V3lDIi3RHKWwZsrB3TV3CAkH5XMy0gpc/PUZsMeLGCwvsZ5MY7OSRAjm9abm4e8NPwK8UKJGj13c/kgAhtPjXGv32/GTeou2YPlIjCfJ823qj5PmkcgSBPGM8AooxnD6KMyfo+eB5PZH0f+5Z+SkCYB6rMFUhzeCpkAeIc7PsYII+RkrC+EteRbeyAAYugDXxwG888fPefxomJ8N7ZVBbYsKuoDnx892Vqx0h4T+t2A1b8Wn5MmZewE5SxduUtDjXlJZn1Q+HhEAd+vvdDzDDAd0PMMcB3Q2xZCt8OMb8U/UuICzDlVrmVuQovbBt3twhyzqQzV69xTXx9r6etyFj46i9FJM7Cq5Qq66vXI+gQPrPxbmX9pErK0Vfz9MZc+EeeXrkLFyl19I16OnD3/f9gYr+F/9/Elb9wkXQK/6wu+fte/hJZECAMQpod/zD8+7O3nx+qBGErK0lfpmkRwk7WqXR5LokQBhWWI2xkCE/ShD9KrT8CDADfIXBj1AvWWQAAAABJRU5ErkJggg==`,ge=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHyAiIyMnJyctKikxHR4fISEkHB0dKCcuKSgvHh8gJiYrJSUqIiImJCQoICAjbjANTAAABHRJREFUeNrsndty4yAMQCOuBtvg///abZtut9kmqZ0A0e28dKZvZwRClrFyOimKoiiKoiiKoiiKoiiKoiiKoiiKoryIYIyxb7z9CcxV51hdhguyq3HmGde4eLiBXyKzWE8lwS+kMrHRNQvsYjEsdGOG3eQoSpeBsklwmER3YU8rPMRKNH1tHh7Eb4LCSzXIc4KnSLOU5UxzWUdoAKEDqkITKhXfFRqxCvMlYmyhIVZIviKUuQw0BnllHXxrYY+7F5KgOUnAAUzmODbQBbTbeMp9hDPWRycLnUB6GgfoBs5MvfQTXgRlLLx5y/UUdsICjDHEa1/hVVCKxpmobW9hbGdx7i2cRaUsfGlr7S+8ylrRyNb0DAPA9PKljBAuMp4bcD5B+BHCXtgWxlRsbWOE8bxAtWOEraychSlruTHCeLoAeYwwnloLBqHCKqzClAstjbAKq7AKq7DW0iqsz8OjmpaY2pZmjDCily3CknSXG4c/wXQHsY4QxnQFcUifFtNnLtMIYVQXEAc0anFdTov9hXF9DDAJW9ED1jS265aboDJryNuHjM23d9pC+P1S11sAHp9v34dilB8BZEk7uPMuRvoFYrfWlsPp2+8dE9oBCFZQxurY+cD8teXc4TD2qCd6RDEZ+i/Nb4qjn3vgZJxI31oBTRNXIjCEqKVxIjF0qd3gA09k+GOrGCcyQ7XaGCdCQ8SmBj29hdbQtKffNtUTMZ6bmUZxDGB4ogRxNGfzlgeD7MuJKOGh3LVQHr1sDq9rR30E8TFlx2Histm9sJkMmH7by3ZHzzpbVmPT53q33EyV4WT8EK9LpxoZ//zBbKx1X1hr5pOiKIqiKIqiKIqiKIqiIGUyH0R7QTn/l0sXb373W5zbdyPAOVfff8OVoH0wxbonXpd6t9hoJhoL167N7qZ5Vwvmty+mLD0+A0hrQdi8NrbrqAfvLCLpUIbMtUDyK8VzHTQR77y8SxBk+2rnUMbbfh7Yr7g0bhZ4Ib4ODnPM8GoG3o+YrAcMDLoBg0V3lDIi3RHKWwZsrB3TV3CAkH5XMy0gpc/PUZsMeLGCwvsZ5MY7OSRAjm9abm4e8NPwK8UKJGj13c/kgAhtPjXGv32/GTeou2YPlIjCfJ823qj5PmkcgSBPGM8AooxnD6KMyfo+eB5PZH0f+5Z+SkCYB6rMFUhzeCpkAeIc7PsYII+RkrC+EteRbeyAAYugDXxwG888fPefxomJ8N7ZVBbYsKuoDnx892Vqx0h4T+t2A1b8Wn5MmZewE5SxduUtDjXlJZn1Q+HhEAd+vvdDzDDAd0PMMcB3Q2xZCt8OMb8U/UuICzDlVrmVuQovbBt3twhyzqQzV69xTXx9r6etyFj46i9FJM7Cq5Qq66vXI+gQPrPxbmX9pErK0Vfz9MZc+EeeXrkLFyl19I16OnD3/f9gYr+F/9/Elb9wkXQK/6wu+fte/hJZECAMQpod/zD8+7O3nx+qBGErK0lfpmkRwk7WqXR5LokQBhWWI2xkCE/ShD9KrT8CDADfIXBj1AvWWQAAAABJRU5ErkJggg==`,W=L(`tracks`,{state:()=>({tracks:[],trackLikeCountInProgress:!1,fallbackTimer:null,activeEvent:null,latestTrackIsOver:!1,showingAd:!1,pusher:{},latestTrackArtworkController:null,latestTrackArtworkBlob:``,latestTrackSwatch:`transparent`,_lastArtworkURL:null}),getters:{latestTrack(e){return e.tracks[0]??!1},latestTrackArtworkURL(){let e=Z();if(this.latestTrackIsOver&&e.minimalFallbackSupported)return this.fallbackEvent.fallbackImage;let t=this.latestTrack?.data?.art_url??``;return t===``?me:t},latestTrackIsSTTEligible(e){let t=X();return Array.from(t.rewards).find(t=>!t.smackTheTrackFields||t.smackTheTrackFields.eligible_track_cut_ids.length===0?!1:t.smackTheTrackFields.eligible_track_cut_ids.includes(e.latestTrack.cut_id))!==void 0},recentlyPlayed(e){return e.tracks},latestTrackTime(e){let t=Z(),n=e.latestTrack.time;return n===0&&(n=t.fetchedPlayerSettings[`hll-custom-events-fallback-timer`]??36e4),this.timeToMilliseconds(n)},adEvent(e){let t=Z(),n=t.fetchedPlayerSettings[`hll-ad-image`],r=t.fetchedPlayerSettings[`hll-ad-title`],i=t.fetchedPlayerSettings[`hll-ad-subtitle`];return{adImage:n||``,adTitle:r||``,adSubtitle:i||``}},fallbackEvent(e){return H().currentStreamIsPrimary?this.primaryFallbackEvent:this.currentStreamFallbackEvent},primaryFallbackEvent(e){let t=Z(),n=t.fetchedPlayerSettings[`hll-event-live-placeholder`]?t.fetchedPlayerSettings[`hll-event-live-placeholder`]:he,r=t.fetchedPlayerSettings[`hll-custom-timeline-text`]?t.fetchedPlayerSettings[`hll-custom-timeline-text`]:t.fetchedPlayerSettings[`hll-page-title`],i=t.fetchedPlayerSettings[`hll-custom-timeline-subtext`]?t.fetchedPlayerSettings[`hll-custom-timeline-subtext`]:``;return{fallbackActive:!0,fallbackId:this.activeEvent===null?0:this.activeEvent.id,fallbackImage:this.activeEvent===null?n:this.activeEvent.photo,fallbackTitle:this.activeEvent===null?r:this.activeEvent.name,fallbackSubtitle:this.activeEvent===null?i:this.activeEvent.additional_info,fallbackExternalUrl:this.activeEvent?.external_url||``,hasTimelineUpdated:!0,isAdShowing:!1}},currentStreamFallbackEvent(e){let t=H(),n=Z(),r=t.currentStream,i,a,o;return t.currentStreamIsPrimary?(i=r[`event-live-placeholder`]?r[`event-live-placeholder`]:he,a=r[`custom-timeline-text`]?r[`custom-timeline-text`]:n.fetchedPlayerSettings[`hll-page-title`],o=r[`custom-timeline-subtext`]?r[`custom-timeline-subtext`]:``):(i=r[`station-logo`]?r[`station-logo`]:he,a=r[`station-name`]?r[`station-name`]:n.fetchedPlayerSettings[`hll-page-title`],o=` `),{fallbackActive:!0,fallbackId:0,fallbackImage:i,fallbackTitle:a,fallbackSubtitle:o,hasTimelineUpdated:!0,isAdShowing:!1}}
2,timelineBackgroundImage(e){let t=Z(),n=U(),r=H(),i=r.currentStream?.[`stream-type`]===`talk`||!r.currentStream?.[`stream-type`]&&t.isTalkStation,a=window.hbiStationType===`podcast`,o=window.location.pathname.startsWith(`/listen`)||window.location.pathname.startsWith(`/timeline`),s=t.fetchedPlayerSettings[`hll-ad-events-enabled`];return a&&!o?window?.hbiLatestPodcastEpisode?.post_thumbnail??`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHyAiIyMnJyctKikxHR4fISEkHB0dKCcuKSgvHh8gJiYrJSUqIiImJCQoICAjbjANTAAABHRJREFUeNrsndty4yAMQCOuBtvg///abZtut9kmqZ0A0e28dKZvZwRClrFyOimKoiiKoiiKoiiKoiiKoiiKoiiKoryIYIyxb7z9CcxV51hdhguyq3HmGde4eLiBXyKzWE8lwS+kMrHRNQvsYjEsdGOG3eQoSpeBsklwmER3YU8rPMRKNH1tHh7Eb4LCSzXIc4KnSLOU5UxzWUdoAKEDqkITKhXfFRqxCvMlYmyhIVZIviKUuQw0BnllHXxrYY+7F5KgOUnAAUzmODbQBbTbeMp9hDPWRycLnUB6GgfoBs5MvfQTXgRlLLx5y/UUdsICjDHEa1/hVVCKxpmobW9hbGdx7i2cRaUsfGlr7S+8ylrRyNb0DAPA9PKljBAuMp4bcD5B+BHCXtgWxlRsbWOE8bxAtWOEraychSlruTHCeLoAeYwwnloLBqHCKqzClAstjbAKq7AKq7DW0iqsz8OjmpaY2pZmjDCily3CknSXG4c/wXQHsY4QxnQFcUifFtNnLtMIYVQXEAc0anFdTov9hXF9DDAJW9ED1jS265aboDJryNuHjM23d9pC+P1S11sAHp9v34dilB8BZEk7uPMuRvoFYrfWlsPp2+8dE9oBCFZQxurY+cD8teXc4TD2qCd6RDEZ+i/Nb4qjn3vgZJxI31oBTRNXIjCEqKVxIjF0qd3gA09k+GOrGCcyQ7XaGCdCQ8SmBj29hdbQtKffNtUTMZ6bmUZxDGB4ogRxNGfzlgeD7MuJKOGh3LVQHr1sDq9rR30E8TFlx2Histm9sJkMmH7by3ZHzzpbVmPT53q33EyV4WT8EK9LpxoZ//zBbKx1X1hr5pOiKIqiKIqiKIqiKIqiIGUyH0R7QTn/l0sXb373W5zbdyPAOVfff8OVoH0wxbonXpd6t9hoJhoL167N7qZ5Vwvmty+mLD0+A0hrQdi8NrbrqAfvLCLpUIbMtUDyK8VzHTQR77y8SxBk+2rnUMbbfh7Yr7g0bhZ4Ib4ODnPM8GoG3o+YrAcMDLoBg0V3lDIi3RHKWwZsrB3TV3CAkH5XMy0gpc/PUZsMeLGCwvsZ5MY7OSRAjm9abm4e8NPwK8UKJGj13c/kgAhtPjXGv32/GTeou2YPlIjCfJ823qj5PmkcgSBPGM8AooxnD6KMyfo+eB5PZH0f+5Z+SkCYB6rMFUhzeCpkAeIc7PsYII+RkrC+EteRbeyAAYugDXxwG888fPefxomJ8N7ZVBbYsKuoDnx892Vqx0h4T+t2A1b8Wn5MmZewE5SxduUtDjXlJZn1Q+HhEAd+vvdDzDDAd0PMMcB3Q2xZCt8OMb8U/UuICzDlVrmVuQovbBt3twhyzqQzV69xTXx9r6etyFj46i9FJM7Cq5Qq66vXI+gQPrPxbmX9pErK0Vfz9MZc+EeeXrkLFyl19I16OnD3/f9gYr+F/9/Elb9wkXQK/6wu+fte/hJZECAMQpod/zD8+7O3nx+qBGErK0lfpmkRwk7WqXR5LokQBhWWI2xkCE/ShD9KrT8CDADfIXBj1AvWWQAAAABJRU5ErkJggg==`:i?n?.latestEvent?.photo??`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHyAiIyMnJyctKikxHR4fISEkHB0dKCcuKSgvHh8gJiYrJSUqIiImJCQoICAjbjANTAAABHRJREFUeNrsndty4yAMQCOuBtvg///abZtut9kmqZ0A0e28dKZvZwRClrFyOimKoiiKoiiKoiiKoiiKoiiKoiiKoryIYIyxb7z9CcxV51hdhguyq3HmGde4eLiBXyKzWE8lwS+kMrHRNQvsYjEsdGOG3eQoSpeBsklwmER3YU8rPMRKNH1tHh7Eb4LCSzXIc4KnSLOU5UxzWUdoAKEDqkITKhXfFRqxCvMlYmyhIVZIviKUuQw0BnllHXxrYY+7F5KgOUnAAUzmODbQBbTbeMp9hDPWRycLnUB6GgfoBs5MvfQTXgRlLLx5y/UUdsICjDHEa1/hVVCKxpmobW9hbGdx7i2cRaUsfGlr7S+8ylrRyNb0DAPA9PKljBAuMp4bcD5B+BHCXtgWxlRsbWOE8bxAtWOEraychSlruTHCeLoAeYwwnloLBqHCKqzClAstjbAKq7AKq7DW0iqsz8OjmpaY2pZmjDCily3CknSXG4c/wXQHsY4QxnQFcUifFtNnLtMIYVQXEAc0anFdTov9hXF9DDAJW9ED1jS265aboDJryNuHjM23d9pC+P1S11sAHp9v34dilB8BZEk7uPMuRvoFYrfWlsPp2+8dE9oBCFZQxurY+cD8teXc4TD2qCd6RDEZ+i/Nb4qjn3vgZJxI31oBTRNXIjCEqKVxIjF0qd3gA09k+GOrGCcyQ7XaGCdCQ8SmBj29hdbQtKffNtUTMZ6bmUZxDGB4ogRxNGfzlgeD7MuJKOGh3LVQHr1sDq9rR30E8TFlx2Histm9sJkMmH7by3ZHzzpbVmPT53q33EyV4WT8EK9LpxoZ//zBbKx1X1hr5pOiKIqiKIqiKIqiKIqiIGUyH0R7QTn/l0sXb373W5zbdyPAOVfff8OVoH0wxbonXpd6t9hoJhoL167N7qZ5Vwvmty+mLD0+A0hrQdi8NrbrqAfvLCLpUIbMtUDyK8VzHTQR77y8SxBk+2rnUMbbfh7Yr7g0bhZ4Ib4ODnPM8GoG3o+YrAcMDLoBg0V3lDIi3RHKWwZsrB3TV3CAkH5XMy0gpc/PUZsMeLGCwvsZ5MY7OSRAjm9abm4e8NPwK8UKJGj13c/kgAhtPjXGv32/GTeou2YPlIjCfJ823qj5PmkcgSBPGM8AooxnD6KMyfo+eB5PZH0f+5Z+SkCYB6rMFUhzeCpkAeIc7PsYII+RkrC+EteRbeyAAYugDXxwG888fPefxomJ8N7ZVBbYsKuoDnx892Vqx0h4T+t2A1b8Wn5MmZewE5SxduUtDjXlJZn1Q+HhEAd+vvdDzDDAd0PMMcB3Q2xZCt8OMb8U/UuICzDlVrmVuQovbBt3twhyzqQzV69xTXx9r6etyFj46i9FJM7Cq5Qq66vXI+gQPrPxbmX9pErK0Vfz9MZc+EeeXrkLFyl19I16OnD3/f9gYr+F/9/Elb9wkXQK/6wu+fte/hJZECAMQpod/zD8+7O3nx+qBGErK0lfpmkRwk7WqXR5LokQBhWWI2xkCE/ShD9KrT8CDADfIXBj1AvWWQAAAABJRU5ErkJggg==`:!e.latestTrackIsOver||!t.minimalFallbackSupported?e.latestTrackArtworkURL:e.showingAd&&s?e.adEvent.adImage:e.fallbackEvent.fallbackImage},pusherChannelSubscriptions(e){return I(()=>e.pusher?.channels?.channels??{})},isPusherInstantiated(e){return I(()=>Object.values(e.pusher).length!==0)},pusherChannelsNotSubscribed(e){return I(()=>{let t=H();return!t.currentStream[`pusher-channels`]||t.currentStream[`pusher-channels`]===``?[]:t.currentStream[`pusher-channels`].split(` `).filter(t=>e.pusherChannelSubscriptions.value[t]===void 0)})}},actions:{async refreshTimeline(){let e=H(),t=e.currentStreamIsPrimary?null:e.currentStream[`listen-live-api-id`],n=await V.hll_timeline_fetch(t);if(n&&n.length>0)this.$subscribe((e,t)=>{e.type===`direct`&&e.storeId===`tracks`&&this.startFirstTrackCountdown(t)}),this.tracks=[],this.tracks=n,e.currentStreamIsPrimary&&V.hll_current_main_event().then(e=>{e&&(this.activeEvent=e[0]??null)});else{if(this.triggerFallback(),n===!1&&this.tracks.length>0)return;this.tracks=[]}},async loadMoreTracks(){let e=H(),t=this.tracks[this.tracks.length-1],n=e.currentStreamIsPrimary?null:e.currentStream[`listen-live-api-id`],r=await V.hll_cues_fetch(t.id,n);return this.$patch(e=>{e.tracks.push(...r)}),r.length>0},startFirstTrackCountdown(e){if(Z(),!e?.tracks?.length||this.fallbackTimer&&e?.tracks?.length>0)return;let t=e.tracks[0],n=this.calculateTimeLeft(t);this.fallbackTimer=setTimeout(()=>{this.$patch({latestTrackIsOver:!0}),this.triggerFallback()},n)},calculateTimeLeft(e){if(e?.timestamp===void 0)return 36e4;let t=Date.now(),n=parseInt(e.timestamp)*1e3,r=this.timeToMilliseconds(e.data.time);r===0&&(r=36e4);let i=r-(t-n);return i<0&&(i=0),i},timeToMilliseconds(e,t=!1){if(!e)return 0;if(typeof e==`string`&&e.includes(`:`))return this.stringToMilliseconds(e);if((e.toString().length>=7||t&&e.toString().length>=6)&&(e=this.fixTritonTime(e)),e=parseInt(e),!t){if(e.toString().length===5)return Math.ceil(e/60*1e3);if(e.toString().length<=4)return e*1e3}else if(e.toString().length<=3)return e*1e3;return e},stringToMilliseconds(e){let t=e.split(`:`),n=0,r=0,i=0,a=0;switch(t.length){case 2:r=parseInt(t[0])*60,i=parseInt(t[1]);break;case 3:n=parseInt(t[0])*60*60,r=parseInt(t[1])*60,i=parseInt(t[2]);break;default:break}return a=(n+r+i)*1e3,a},fixTritonTime(e){let t=Math.floor(e/10),n=Math.floor(t/1e3);if(n<=60)return t;let r=Math.floor(n/60),i=n%60,a=r.toString();i<10&&(a+=`0`),a+=i.toString();let o=parseInt(a);return console.log(t,n,r,i,a,o),o},getTrackHour(e){let t=e.timestamp,n=new Date(t*1e3).getHours();return n>12?n-12:n===0?12:n},getMeridian(e){return e<12?`am`:`pm`},getTrackMinute(e){let t=e.timestamp,n=new Date(t*1e3).getMinutes();return n<10?`0${n}`:n},getTrackMeridian(e){let t=e.timestamp,n=new Date(t*1e3).getHours();return this.getMeridian(n)},subscribeToPusher(e){let t=Z();this.isPusherInstantiated.value||(this.pusher=new Pusher(`623e6aff761d8ba77bff`,{cluster:`mt1`,forceTLS:!0}));let n=this.pusherChannelsNotSubscribed.value;n.length!==0&&this.pusher.subscribe(n.join(` `)).bind(`cue`,e=>{if(e.type!==`ad`){clearTimeout(this.fallbackTimer);let n=t.fetchedPlayerSettings[`hll-cue-delay-time`];setTimeout(()=>{this.$patch(t=>{t.tracks.unshift(e),t.tracks.length>30&&t.tracks.pop(),t.latestTrackIsOver=!1,t.showingAd=!1}),this.getLatestTrackLikes(),this.startTrackChangeCountdown()},n*1e3)}else{if(t.fetchedPlayerSettings[`hll-ad-events-enabled`]!==`on`)return;let n=t.fetchedPlayerSettings[`hll-cue-delay-time`];setTimeout(()=>{clearTimeout(this.fallbackTimer),this.startAdChangeCountdown(e)},n)}})},unsubscribeFromPusher(e){try{e?.[`pusher-channels`]&&this.pusher.unsubscribe(e[`pusher-channels`])}catch{console.log(`Tried unsubscribing from non-subscribed pusher channel: `+e[`pusher-channels`])}},startAdChangeCountdown(e){let t=Z();if(!H().currentStreamIsPrimary)return;let n=t.fetchedPlayerSettings[`hll-ad-max`]??6e4,r=Math.min(this.timeToMilliseconds(e.time,!0),n),i=t.fetchedPlayerSettings[`hll-cue-delay-time`];this.fallbackTimer=setTimeout(()=>{this.$patch({latestTrackIsOver:!0,showingAd:!0}),this.fallbackTimer=setTimeout(()=>{this.$patch({showingAd:!1})},r)},i*1e3)},startTrackChangeCountdown(){let e=Z(),t=e.fetchedPlayerSettings[`hll-custom-events-timing-buffer`]??5e3,n=e.fetchedPlayerSettings[`hll-custom-events-fallback-timer`]??36e4,r=this.latestTrackTime>0?this.latestTrackTime:n;r=parseInt(r)+parseInt(t),this.fallbackTimer!==null&&(clearTimeout(this.fallbackTimer),this.fallbackTimer=null),this.fallbackTimer=setTimeout(()=>{this.$patch({latestTrackIsOver:!0}),this.triggerFallback()},r)},async triggerFallback(){if(!H().currentStreamIsPrimary){this.$patch({latestTrackIsOver:!0});return}let e=await V.hll_current_main_event();e&&this.$patch(t=>{t.activeEvent=e[0]??null,t.latestTrackIsOver=!0,t.hasChanged=!0})},async getLatestTrackLikes(){let e=this.tracks;this.$patch({trackLikeCountInProgress:!0});let t=await V.hll_likes_fetch(e[0].cut_id);this.$patch(e=>{e.tracks[0]&&(e.tracks[0].likes=t),e.trackLikeCountInProgress=!1,e.hasChanged=!0})},isTrackLiked(e){let t=Y();return t.userLikes?.likedTracks?.length?!!t.userLikes.likedTracks.find(t=>t.track===e):!1},incrementTrackLikes(e){this.$patch(t=>(t.tracks=t.tracks.map(t=>(t.cut_id===e&&t.likes++,t)),t.hasChanged=!0,t))},decrementTrackLikes(e){this.$patch(t=>(t.tracks=t.tracks.map(t=>(t.cut_id===e&&t.likes>0&&t.likes--,t)),t.hasChanged=!0,t))},getTrackArtists(e){let t=new DOMParser;if(!e.data?.metadata?.artists.length){let n=``;if(e?.data?.artist){let r=t.parseFromString(e.data.artist,`text/html`);n=r.body.textContent,r=null}return[{name:n,id:``}]}return e.data.metadata.artists.map(e=>{let n=t.parseFromString(e.name,`text/html`),r=n.body.textContent;return n=null,{name:r,id:e.id}})}
2,updateLatestTrackArtwork(){if(this.timelineBackgroundImage===this._lastArtworkURL)return;this._lastArtworkURL=this.timelineBackgroundImage,this.latestTrackArtworkController!==null&&(this.latestTrackArtworkController.abort(),this.latestTrackArtworkController=null);let e=new AbortController;this.latestTrackArtworkController=e,fetch(this.timelineBackgroundImage,{cache:`no-cache`,signal:e.signal}).then(e=>e.blob()).then(e=>{let t=URL.createObjectURL(e);this.$patch(e=>{e.latestTrackArtworkBlob&&e.latestTrackArtworkBlob.startsWith(`blob:`)&&URL.revokeObjectURL(e.latestTrackArtworkBlob),e.latestTrackArtworkBlob=t,e.hasChanged=!0})}).catch(e=>{e.name!==`AbortError`&&this.$patch(e=>{e.latestTrackArtworkBlob&&e.latestTrackArtworkBlob.startsWith(`blob:`)&&URL.revokeObjectURL(e.latestTrackArtworkBlob),e.latestTrackArtworkBlob=me,e.hasChanged=!0})})},updateLatestTrackSwatch(t){let n=getComputedStyle(document.body).getPropertyValue(`--live-player-button-color`).trim();if(n){this.$patch(e=>{e.latestTrackSwatch=n,e.hasChanged=!0});return}if(this.timelineBackgroundImage===`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHB0dKikxHh8gIyMnJyctKSgvISEkKCcuHR4fJSUqJCQoHyAiICAjJiYrIiImzbNFogAABOVJREFUeNrsndmWpCoQRZlBBPT/v7Yz81Z3VSKmA667KsKzX/q1d4kBkjEIAQAAAAAAAAAAAAAAAAAAAMCvJ8+zuZHurOUDH+7im+QXN1HO8ptbKE/yJy6zF5YVo7qZsNThZsKPdR1vJiz1fDNhKSd1M2Gp882EpbR3E+a6rNeF5WBuJix1uZmwlOFuwnJkLRzdDYx/yglhG6FLcRYWxnM3roSFGpkb18JCBN7GS2FhNGfjhrBQA2PjlnDjReZj3BT+cXnLznhFeBm6uBivCTeMmQuLrFmeMteFl9vTyFx4aTwzF14aB+bCC2NtmAsvjSNz4befU1lsx1vCi/144i68MLbchRf3PoW7sBg5heo9wlVeBO3AtUu4vhEYuQuLqNmcMfcJC1MFLsNduN6cvOIuXF/6TOyFhePx4bRfWGkWnxH7hevANdAXdm6yNuTVRzdzOFS3szsmW8z2icuwEf564LZUm4/y9PemjZSHIb1JV69x4if8etJzXPtUzCyFn4s3meZuTHBRy714GxufEYmv8HNth8cDLcQXtTyEHk21Nw28hV8hTJM+fshu4t2EHV3hnK0dnT9qXMgK/ztPBev0gUimqAv/d28Xxr3POrEQ/pLW3OLW5gVATp5V3Npz42E2nQsv4edz/ry2PcM7LRWGD8YzP+HXY2awNR0RfoRtq6kXsh0TfqzsFWUy19RHhR8ET/n0cUL4bycMmoH6lHBzYbMWbiXNMxd+nL8cybuenmdUPMF9qWtRqkTvMq/zLTQDtUym7rATJu8doXQAgnEWwhCGMIQhDGEIQxjCEIYwhCEMYQhDGMIQhjCEIQxhCEMYwhCGMIQh/EbMNjn3yjzRj3/tnBVfYdMuWvDTHBkKl4+5zd91kzyEo93O2B+C4iIcx52VN1ZxEN6r+1OZsrA9UFz1fJkLbWEzHK4afA4nIStsz9RJ6kJVWE0nS0MtTeETy7kFHV8tbyW85qtdmvOrs47J2Y6Oi3Dbd2jMX92qmyQSr/Rqz43WX+fTOZuG8DJefR5BqtbPJyR80/GhhSoRFs6nRrutbGMUXmB/cvBoIiqcTrfJDSSFY8fcvkKxmG7sKVou9IRjX9vnQE44dXZaSNSEdW/B8kBLuHR3pzO0hMf+3rgjKWHdX5AeKQmbKxqHTISE31rjqiviwC/vNZsuaXdEqIWQu6QenVC3FX9JO01CvUeuaVlGqA/YNfEVwhCG8G84WV4TpX/5dA53yVgNTWcfni4ZgOTpdPKzV3TvioS6gZcr/q/2ii+Q/wl1xVAvT6kj1tB/uAyk2vjN3VvK+y81v370SuyeP2CJtS10ndeWhlrv0dA3xaz66ZFC61HfM36xmt5IYnhj6Bg4WU+rpNFb9vyIzdqXSGvZfCbh4RWvBqL9oesfAP2+zTRoqk3e1SLVLG0/q7hIyiM0p9IsMw43Po7VMtOY1GCsRnaKn9cFYlrmdhAbGd3MQBqbL6UKjv50mcWI7++xhW+laLGklaxqemNXPxSzPGvwnhV5HzLIKY6ZTeeTwjXNsbrhtC/V2djGn/J1dAfcn6prsYIy5WiphzOCNsreIFpVx6jd1Zbf5aXUldOehf3p7Elwi5q25o9mwQwVprXn7McieGLmuhRNuxSiYE7OOVhrS85GAAAAAAAAAAAAAAAAAAAAAECVPwIMADHDKBk6gFLlAAAAAElFTkSuQmCC`){this.$patch(e=>{e.latestTrackSwatch=`#ffffff`,e.hasChanged=!0});return}new e(t,{quality:1,samples:5e4}).getPalette().then(e=>{let t=(e.LightVibrant||e.Vibrant||e.Muted||e.DarkMuted)?.hex??`#ffffff`;this.$patch(e=>{e.latestTrackSwatch=t,e.hasChanged=!0})}).catch(e=>{console.log(e)})}}}),_e={},ve={class:`page-header`},ye={id:`vue-page-title`,class:`page-title`};function be(e,t){return d(),i(`div`,ve,[T(`h2`,ye,[r(e.$slots,`header`)]),r(e.$slots,`links`)])}var xe=R(_e,[[`render`,be]]),Se={},Ce={id:``,class:`page type-page status-publish hentry`},we={class:`entry-content`};function Te(e,t){return d(),i(`main`,null,[T(`article`,Ce,[T(`div`,we,[r(e.$slots,`default`)])])])}var Ee=R(Se,[[`render`,Te]]),De=R({__name:`NotFoundView`,setup(e){return(e,t)=>(d(),i(S,null,[a(xe,null,{header:b(()=>[...t[0]||=[o(`Page Not Found`,-1)]]),_:1}),a(Ee,null,{default:b(()=>[...t[1]||=[T(`section`,null,` The page you have requested could not be found. `,-1)]]),_:1})],64))}},[[`__scopeId`,`data-v-0c6f9736`]]),Oe=L(`artist`,{state:()=>({loading:!0,mbid:``,images:[],name:``,artist_website:``,artist_facebook:``,artist_twitter:``,artist_youtube:``,artist_instagram:``,bio:``,fetchedTracks:[],areTracksFetched:!1,likes:0}),getters:{primaryImage(e){return e.images[0]?.src?`url(`+e.images[0].src+`)`:`url(`+he+`)`}},actions:{async populateArtist(e){let t=await V.hll_get_individual_artist_data(e);if(t?.data===`Artist not found`)throw 404;this.mbid=t.data.id,this.name=t.data.name,this.images=t.data.images,this.artist_website=t.data.artist_website,this.artist_facebook=t.data.artist_facebook,this.artist_twitter=t.data.artist_twitter,this.artist_youtube=t.data?.artist_youtube_channel?.url,this.artist_instagram=t.data.artist_instagram,this.bio=t.data.bio,this.tracks=t.data.tracks??[],this.likes=t.data.likes,this.loading=!1,this.fetchTracks()},async fetchTracks(){if(this.tracks.length===0){this.areTracksFetched=!0;return}let e=await V.hll_get_track_data(this.tracks);this.$patch({fetchedTracks:e.data??[],areTracksFetched:!0})},timestampToDate(e){return new Date(e*1e3).toLocaleDateString(`en-US`,{year:`numeric`,month:`long`,day:`numeric`})},incrementTrackLikes(e){this.$patch(t=>(t.fetchedTracks=t.fetchedTracks.map(t=>(t.id===e&&t.likes++,t)),t.hasChanged=!0,t))},decrementTrackLikes(e){this.$patch(t=>(t.fetchedTracks=t.fetchedTracks.map(t=>(t.id===e&&t.likes--,t)),t.hasChanged=!0,t))},isArtistLiked(){let e=Y();return e.userLikes?.likedArtists?.length?!!e.userLikes.likedArtists.find(e=>e.artist===this.mbid):!1}}}),ke=`modulepreload`,Ae=function(e){return`/wp-content/plugins/hbi-listener-profile/dist/`+e},je={},G=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,new URL(`../../../src/node/plugins/importAnalysisBuild.ts`,import.meta.url)).href}r=o(t.map(t=>{if(t=Ae(t,n),t=s(t),t in je)return;je[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:ke,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n
2)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},K=ie({history:ee(`/`),routes:[{path:`/profile`,children:[{path:``,name:`Profile`,alias:[`profile/`,`/profile/`],component:q(()=>G(()=>import(`./js/ProfileView.Dwsx6Uia.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))),meta:{requiresAuth:!0,title:`Profile – `+document.title,showSidebar:!0,breadcrumbName:`Profile`},beforeEnter:[J]},{path:`feedback`,name:`Feedback`,component:q(()=>G(()=>import(`./js/FeedbackView.CUZif1Yp.js`),__vite__mapDeps([10,1,2,3,4,5,6,7,11]))),meta:{requiresAuth:!1,title:`Feedback`,showSidebar:!0,breadcrumbName:`Feedback`},beforeEnter:[J]},{path:`edit`,name:`EditView`,component:q(()=>G(()=>import(`./js/EditProfileView.c8zy92Mf.js`),__vite__mapDeps([12,1,2,3,13,14,15,4,5,6,7,16]))),meta:{requiresAuth:!0,title:`Edit Profile – `+document.title,showSidebar:!0,breadcrumbName:`Edit Profile`},beforeEnter:[J]},{path:`edit-password`,name:`EditPassView`,component:q(()=>G(()=>import(`./js/EditPasswordView.DLp1MADw.js`),__vite__mapDeps([17,1,2,3,14,15,18]))),meta:{requiresAuth:!0,title:`Edit Password – `+document.title,showSidebar:!0,breadcrumbName:`Edit Password`},beforeEnter:[J]},{path:`preferences`,name:`EditPreferencesView`,component:q(()=>G(()=>import(`./js/EditPreferencesView.C7pDkznc.js`),__vite__mapDeps([19,1,2,3,14,15,20]))),meta:{requiresAuth:!0,title:`Edit Preferences – `+document.title,showSidebar:!0,breadcrumbName:`Edit Preferences`},beforeEnter:[J]},{path:`notifications`,name:`NotificationsView`,component:q(()=>G(()=>import(`./js/NotificationsView.BTaiMh5t.js`),__vite__mapDeps([21,1,2,3,8,22]))),meta:{requiresAuth:!1,title:`Notifications – `+document.title,showSidebar:!0,breadcrumbName:`Notifications`},beforeEnter:[J]},{path:`login`,name:`LoginProfileView`,component:q(()=>G(()=>import(`./js/LoginProfileView.DOHB-idz.js`),__vite__mapDeps([23,1,2,14,3,15,24]))),meta:{requiresAuth:!1,title:`Login – `+document.title,showSidebar:!1,breadcrumbName:`Login`},beforeEnter:[J]},{path:`register`,name:`RegisterProfileView`,component:q(()=>G(()=>import(`./js/RegisterProfileView.BrZfwMin.js`),__vite__mapDeps([25,1,2,3,26]))),meta:{requiresAuth:!1,title:`Register – `+document.title,showSidebar:!1,breadcrumbName:`Register`},beforeEnter:[J]},{path:`forgot`,name:`ForgotPasswordView`,component:q(()=>G(()=>import(`./js/ForgotPasswordView.CLywotg_.js`),__vite__mapDeps([27,1,2,3,28]))),meta:{requiresAuth:!1,title:`Forgot Password – `+document.title,showSidebar:!1,breadcrumbName:`Forgot Password`},beforeEnter:[J]},{path:`reset/:uuid?/:tempKey?`,name:`ResetPassView`,props:!0,component:q(()=>G(()=>import(`./js/ResetPasswordView.BXlHYCyq.js`),__vite__mapDeps([29,1,2,3,30]))),meta:{requiresAuth:!1,title:`Reset Password – `+document.title,showSidebar:!1,breadcrumbName:`Reset Password`},beforeEnter:[J,Me]},{path:`help/throttling`,name:`ThrottlingHelp`,meta:{requiresAuth:!1,title:`Listening Help – `+document.title,showSidebar:!1,breadcrumbName:`Listening Help`},beforeEnter:[J],component:q(()=>G(()=>import(`./js/ThrottlingHelpView.vL-wR5JL.js`),__vite__mapDeps([31,1,3,32])))},{path:`membership-levels`,name:`MembershipLevels`,component:q(()=>G(()=>import(`./js/LevelsView.B32rUnYk.js`),__vite__mapDeps([33,1,3,34,35,36]))),meta:{requiresAuth:!1,title:`Membership Levels – `+document.title,showSidebar:!1,breadcrumbName:`Membership Levels`},beforeEnter:[J]},{path:`checkout/:levelId(\\d+)`,name:`Checkout`,component:q(()=>G(()=>import(`./js/CheckoutView.B-T2PMty.js`),__vite__mapDeps([37,1,3,38,13,39,14,15,34,35,40]))),meta:{requiresAuth:!0,title:`Checkout – `+document.title,showSidebar:!1,breadcrumbName:`Checkout`},beforeEnter:[J]},{path:`checkout/confirmation`,name:`CheckoutConfirmation`,component:q(()=>G(()=>import(`./js/CheckoutConfirmationView.BWDqj70W.js`),__vite__mapDeps([41,1,3,34,35,42]))),meta:{requiresAuth:!0,title:`Checkout Confirmation – `+document.title,showSidebar:!1,breadcrumbName:`Confirmation`},beforeEnter:[J]},{path:`orders`,name:`Orders`,component:q(()=>G(()=>import(`./js/OrdersView.CzilYjGa.js`),__vite__mapDeps([43,1,3,34,35,44]))),meta:{requiresAuth:!0,title:`Order History – `+document.title,showSidebar:!1,breadcrumbName:`Orders`},beforeEnter:[J]},{path:`invoice/:orderCode`,name:`InvoiceDetail`,component:q(()=>G(()=>
2import(`./js/InvoiceDetailView.DQAkR5nE.js`),__vite__mapDeps([45,1,3,34,35,46]))),meta:{requiresAuth:!0,title:`Invoice – `+document.title,showSidebar:!1,breadcrumbName:`Invoice`},beforeEnter:[J]},{path:`:catchAll(.*)`,name:`NotFound`,meta:{requiresAuth:!1,title:`Profile Page Not Found – `+document.title,showSidebar:!1,breadcrumbName:`Not Found`},beforeEnter:[J],component:De}]},{path:`/rewards`,name:`RewardsView`,meta:{requiresAuth:!1,title:`Rewards – `+document.title,showSidebar:!1,breadcrumbName:`Rewards`},beforeEnter:[J],component:q(()=>G(()=>import(`./js/RewardsView.CxEDxNeU.js`),__vite__mapDeps([47,1,3]))),children:[{path:``,name:`RewardsList`,props:!0,meta:{requiresAuth:!1,title:`Rewards – `+document.title,showSidebar:!1,breadcrumbName:`Rewards`},beforeEnter:[J],component:q(()=>G(()=>import(`./js/RewardsList.CbFBIcrr.js`),__vite__mapDeps([48,1,2,3,49,50,51,52,53,54,55])))},{path:`:rewardID(\\d+)`,name:`RewardDetailView`,props:!0,meta:{requiresAuth:!1,title:`Reward Details – `+document.title,showSidebar:!1,breadcrumbName:`Reward Details`},beforeEnter:[J],component:q(()=>G(()=>import(`./js/RewardDetailView.CTesN1V_.js`),__vite__mapDeps([56,1,2,3,34,35,57,5,6,58,53,50,51,54,59])))},{path:`promo/:rewardID(\\d+)`,name:`PromoDetailView`,props:!0,meta:{requiresAuth:!1,title:`Promo Details – `+document.title,showSidebar:!1,breadcrumbName:`Promo Details`},beforeEnter:[J],component:q(()=>G(()=>import(`./js/PromoDetailView.Dz_c1DwU.js`),__vite__mapDeps([60,1,2,3,34,35,57,5,6,58,49,50,51,52,61])))},{path:`:catchAll(.*)`,name:`RewardNotFound`,meta:{requiresAuth:!1,title:`Reward Not Found – `+document.title,showSidebar:!1,breadcrumbName:`Not Found`},beforeEnter:[J],component:q(()=>G(()=>import(`./js/ContestNotFoundView.aZFt7Jfv.js`),__vite__mapDeps([62,1,3,63])))}]},{path:`/timeline/:applicationID(\\d+)?`,name:`TimelineView`,alias:[`/listen`,`/listen/`,`/listen/:applicationID(\\d+)?`],component:q(()=>G(()=>import(`./js/TimelineView.C9ucZLMb.js`),__vite__mapDeps([64,1,2,3,65]))),meta:{requiresAuth:!1,title:`Now Playing – `+document.title,showSidebar:!1,breadcrumbName:`Timeline`},beforeEnter:[J,Fe]},{path:`/artist`,children:[{path:`:mbid?`,name:`ArtistView`,component:q(()=>G(()=>import(`./js/ArtistView.C0jDLAT0.js`),__vite__mapDeps([66,1,3,34,35,67]))),meta:{requiresAuth:!1,title:`Artist – `+document.title,showSidebar:!1,breadcrumbName:`Artist`},beforeEnter:[J,Ie]}]},{path:`/listen/login`,name:`profileRedirect`,component:q(()=>G(()=>import(`./js/LoginProfileView.DOHB-idz.js`),__vite__mapDeps([23,1,2,14,3,15,24]))),meta:{requiresAuth:!1,title:`P – `+document.title,showSidebar:!1,breadcrumbName:`Login`},beforeEnter:[J]}],scrollBehavior(e,t,n){return n||{top:0}}});function q(e){return async()=>{try{return await e()}catch(e){if(e.message.includes(`Failed to fetch dynamically imported module`)||e.message.includes(`Loading chunk`)||e.message.includes(`Loading CSS chunk`)||e.message.includes(`Unable to preload CSS`)||e.name===`ChunkLoadError`||e.message.includes(`Failed to load`))return Le.showError(`Failed to load page. Please refresh and try again.`),Promise.resolve({default:De});throw e}}}function J(e,t){let n=e.matched.slice().reverse().find(e=>e.meta&&e.meta.title),r=e.matched.slice().reverse().find(e=>e.meta&&e.meta.metaTags),i=t.matched.slice().reverse().find(e=>e.meta&&e.meta.metaTags);n?document.title=n.meta.title:i&&(document.title=i.meta.title),Array.from(document.querySelectorAll(`[data-vue-router-controlled]`)).map(e=>e.parentNode.removeChild(e)),r&&r.meta.metaTags.map(e=>{let t=document.createElement(`meta`);return Object.keys(e).forEach(n=>{t.setAttribute(n,e[n])}),t.setAttribute(`data-vue-router-controlled`,``),t}).forEach(e=>document.head.appendChild(e))}async function Me(e){if(e.params.uuid){let t=Y();try{await t.getUserByUUID(e.params.uuid)}catch{Le.showError(`We could not find a password reset request for this link`,{login:!0,retry:!0,goBack:!1})}}}function Ne(e,t){let n=document.querySelector(`.vue-profile-sidebar`),r=document.querySelector(`#vue-profile-col`);!e.meta.showSidebar&&n&&(n.style.display=`none`,r.classList.remove(`col-home`)),e.meta.showSidebar&&n&&(n.style.display=`flex`,r.classList.add(`col-home`),Pe(e,t))}async function Pe(e,t){if(e.name==t.name)return!1;
2let n=document.getElementById(`vue_dynamic_sidebar`),r=document.getElementById(`page_sidebar`);n.innerHTML=``,r.style.display=`none`,n.style.display=`none`;let i=e.path;i.endsWith(`/`)&&(i=i.slice(0,-1));let a=i.slice(1).split(`/`).reverse(),o=a[0];a.length>1&&(o+=`?section=`+a[1]);let s=await V.fetch_sidebar(o);s==``?r.style.display=`block`:(n.innerHTML=s,n.style.display=`block`,s.includes(`hbi-player-widget-rewards`)&&(r.style.display=`block`))}async function Fe(){let e=W(),t=U(),n=Z();H(),n.fetchedPlayerSettings[`hll-talk-station`]?t.refreshEventsTimeline():e.refreshTimeline()}async function Ie(e){let t=Oe(),n=Z();try{n.isRouteLoading=!0,await t.populateArtist(e.params.mbid),t.name&&(e.meta.title=t.name+` – `+e.meta.title,e.meta.breadcrumbName=t.name),n.isRouteLoading=!1}catch{return n.isRouteLoading=!1,`/profile/not-found`}}K.beforeEach(async(e,t)=>{if(Ne(e,t),window.scrollTo(0,0),e.name!==`ErrorView`)try{let t=Z(),n=H(),r=Y();t.isRouteLoading=!0,n.showLiveBar=e.name!==`TimelineView`,n.streamCanPlayOnCurrentRoute=pe(e.name,{params:e.params,query:e.query}),n.streamCanPlayOnCurrentRoute?document.body.classList.add(`hide-nav`):document.body.classList.remove(`hide-nav`);let i=![`ArtistView`].includes(e.name),a=[`RewardDetailView`,`PromoDetailView`,`RewardsView`,`RewardsList`].includes(e.name);await t.fetchLiveSettings(i);let o=n.streamApplicationId===null,s=n.streamApplicationId??t.getDefaultStream[`listen-live-api-id`],c=e.params.applicationID??t.getDefaultStream[`listen-live-api-id`];!o&&c!==s&&await n.changeStream(s,c),e.name===`TimelineView`&&(n.streamApplicationId=c),n.currentStreamIsPrimary||n.updateStationLogo(),await r.checkIfLoggedIn(),a&&await Promise.all(t.contestFetches);let l=[`NotificationsView`,`DsarView`,`ContestDetailView`,`RewardsView`,`RewardsList`,`RewardDetailView`,`PromoDetailView`,`RewardNotFound`,`NotFound`,`TimelineView`,`ArtistView`,`Feedback`,`ThrottlingHelp`,`Feedback`,`MembershipLevels`];if(!e.meta.requiresAuth&&!r.isUserAuthenticated){t.isRouteLoading=!1;return}if(e.meta.requiresAuth&&!r.isUserAuthenticated&&e.name!==`LoginProfileView`)return t.isRouteLoading=!1,{name:`LoginProfileView`,query:{redirect_url:e.fullPath}};if(e.meta.requiresAuth&&r.isUserAuthenticated){await r.fetchLoggedInUser(),t.isRouteLoading=!1;return}if(r.isUserAuthenticated&&!e.meta.requiresAuth&&!l.includes(e.name)&&e.name!==void 0)return{name:`Profile`};if(l.includes(e.name)){r.isUserAuthenticated&&(e.name===`TimelineView`||e.name===`ArtistView`?r.fetchLoggedInUser().catch(async e=>{e===403&&(await r.logoutUser(),Le.showError(`Your session has expired. Please log in again or retry  without being logged in.`,{login:!0,retry:!0,goBack:!1}))}):await r.fetchLoggedInUser()),t.isRouteLoading=!1;return}return{name:`NotFound`}}catch(e){console.log(e);let t=`An unexpected error occurred. Please retry in a couple of minutes.`;return(typeof e==`number`&&e>500||e.message===`Failed to fetch`)&&(t=`A network error occurred and some critical information could not be loaded. Please reload and try again in a couple of minutes.`),Le.showError(t),!1}finally{let e=Z();e.isRouteLoading=!1}}),K.initialEntryPath=window.location.pathname,K.afterEach((e,t)=>{let n=H(),r=Z();e.name===t.name&&(Ne(e,t),r.isRouteLoading=!1,n.showLiveBar=e.name!==`TimelineView`,n.streamCanPlayOnCurrentRoute=pe(e.name),e.name===`ArtistView`&&Ie(e))});var Le={handler:null,setHandler(e){this.handler=e},showError(e,t={}){this.handler&&this.handler(e,t)}},Y=L(`user`,{state:()=>({userObj:null,isUserAuthenticated:!1,userDataRequestFailed:!1,isUserSocialAuthed:!1,origUserData:{},userProfile:{},userRewards:{},nextListeningReward:{},userContests:{},userPromos:{},userLikes:{},storedLikedTracks:[],storedLikedTrackArtists:[],storedLikedArtists:[],storedUserNotifications:{},userNotificationsSettings:{},userPushNotificationsSettings:{},userOptInsSettings:{},userBrowserOptInSettings:{},tempEmail:null,nonListenPingInterval:null,isFetchingMemberships:!1,storedCurrentMemberships:[],storedInvoices:[],storedBillingInfo:{},storedGiftCodes:[],storedRSSFeeds:[],storedPmproUserFields:[],pmproSettings:{},purchaseLocation:{},pingHandler:null,consecutivePingFailures:0}),getters:{getFullName(e){return`${e.userProfile.firstName} ${e.userProfile.lastName}`},getCreatedDate(e){let t=Z();return t.getFormattedDate(e.userProfile?.createdAt,`/`,`created`)?t.getFormattedDate(e.userProfile.createdAt,`/`,`created`):!1},getUserPhoto:e=>t=>{if(t===`profile`)return e.userProfile.photo??!1;if(t===`background`)return e.userProfile.photo??``},formatRankings:()=>e=>{let t=Z();
2return{currentRankClass:e===`Bottom 50%`?`bottom-50`:e,currentRankBadge:t.getListeningBadge(e)}},getListenerRankings(e){return[{id:1,label:`This Week`,...this.formatRankings(e.userProfile.rankingThisWeek)},{id:3,label:`All Time`,...this.formatRankings(e.userProfile.rankingAllTime)}]},formatListeningStats:()=>e=>{let t=Z();return{rawTime:e,cleanTime:t.getCleanTime(e),label:t.getTimeLabel(e)}},getUserListeningStats(e){return[{name:`Today`,...this.formatListeningStats(e.userProfile.listenedToday),borderColor:`blue`},{name:`Week`,...this.formatListeningStats(e.userProfile.listenedWeek),borderColor:`red`},{name:`Month`,...this.formatListeningStats(e.userProfile.listenedMonth),borderColor:`green`},{name:`All Time`,...this.formatListeningStats(e.userProfile.listenedAll),borderColor:`purple`}]},getLikedIDsTracksLength(e){return e.userLikes.likedTracks?.length||0},getLikedIDsArtistsLength(e){return e.userLikes.likedArtists?.length||0},getTrackCutIDs(e){let t=[];if(e.userLikes.likedTracks)for(let n=0;n<e.userLikes.likedTracks.length;n++)t.push(e.userLikes.likedTracks[n].track);return t},getTrackArtistIDs(e){let t=[];for(let n of Array.from(e.storedLikedTracks))for(let e of n.artists)e&&t.push(e);return t},getArtistIDs(e){let t=[];for(let n=0;n<e.userLikes.likedArtists?.length;n++)t.push(e.userLikes.likedArtists[n].artist);return t},getTrackArtistName:e=>t=>{for(let n of Array.from(e.storedLikedTrackArtists))if(t===n.id)return n.name},getRewardProgress:e=>(t,n,r=`circle`)=>{let i={daily:`Today`,weekly:`Week`,monthly:`Month`,alltime:`All`}[t]||``,a=e.userProfile[`listened${i}`];return r===`circle`?a/n*100*Math.PI+`,9999`:a/n*100},getNextRewardColor(e){return Z().getRewardColor(e.nextListeningReward.type)},getInputValue:e=>(t,n)=>{let r;switch(n){case`notification`:r=e.userNotificationsSettings;break;case`push-notification`:r=e.userPushNotificationsSettings;break;case`optIn`:r=e.userOptInsSettings;break;case`browser-optIn`:r=e.userBrowserOptInSettings;break;default:console.error(`Notification type not found.`)}for(let e=0;e<r?.length;e++)if(t===r[e]?.key)return r[e]?.value},getTimeSince:()=>e=>{let t=Z(),n=Math.floor((Date.now()-Date.parse(e))/1e3),r=`second`,i=`ago`;n<0&&(n=-n,i=`from now`);let a=n;return n>=604800?t.getFormattedDate(e,`/`,`time-since`):(n>=86400?(a=Math.floor(n/86400),r=`day`):n>=3600?(a=Math.floor(n/3600),r=`hour`):n>=60&&(a=Math.floor(n/60),r=`minute`),a!==1&&(r+=`s`),a+` `+r+` `+i)},getUnseenNotificationCount(e){let t=0;for(let n of Array.from(e.storedUserNotifications))!n.seen&&!n.viewed&&!n.clicked&&t++;return t},isMissingRequiredFields(e){for(let t of[`address`,`city`,`dateOfBirth`,`email`,`firstName`,`lastName`,`phone`,`zip`])if(!e.userProfile[t])return!0},listeningTimeLoaded:e=>e.userProfile?.listenedToday!==void 0,listenPingInterval:e=>{let t=Z().fetchedPlayerSettings[`hll-anonymous-ping-interval`]*1e3||6e5;return e.isUserAuthenticated?6e4:t}},actions:{async checkIfLoggedIn(){let e=this.userObj??this.getUserInfoFromCookie();!this.isUserAuthenticated&&e?(this.isUserAuthenticated=!0,this.userObj=e):this.isUserAuthenticated&&e?this.userObj=e:(this.isUserAuthenticated=!1,await this.fetchNotifications())},async fetchNotifications(e){e||=1,await V.hll_get_notifications(e).then(t=>{if(e===1)this.storedUserNotifications=t?.data??{};else{let e=this.storedUserNotifications;for(let n=0;n<t.data.length;n++)e.push(t.data[n])}})},async fetchLoggedInUser(){this.userObj=fe();let e,t=Z(),n=X();try{e=await V.fetch_hll_user_profile_data()}catch(e){if(this.userProfile?.firstName){console.error(`Profile refresh failed, using cached data:`,e);return}throw this.userDataRequestFailed=!0,this.isUserAuthenticated=!1,e}await this.fetchNotifications(),e?.data&&(this.isUserAuthenticated=!0,this.origUserData=e.data,this.userProfile=e?.data.users[0],this.userProfile.dateOfBirth=t.getFormattedDate(this.userProfile?.dateOfBirth,`-`,`birthday`),this.userLikes={likedArtists:e.data?.likedArtists,likedTracks:e.data?.likedTracks},this.userNotificationsSettings=e.data?.users[0].notificationCategoryFields,this.userPushNotificationsSettings=e.data?.users[0].pushNotificationCategoryFields,this.userOptInsSettings=e.data?.users[0].optInFields,this.userBrowserOptInSettings=e.data?.users[0].notificationSettings,e?.data?.rewards&&(n.setRewards(e?.data?.rewards),this.nextListeningReward=n.listeningRewards[0]??``),n.setContests(e?.data?.contests),n.setPromos(e?.data?.promos),t.membershipEnabled&&this.fetchMembershipAccountInfo())},async fetchMembershipAccountInfo(){this.isFetchingMemberships=!0,Z();let e=await V.hll_get_membership_account_info();this.storedCurrentMemberships=e.current_memberships,this.storedInvoices=e.invoices,this.storedBillingInfo=e.billing_info??{},this.storedGiftCodes=e.gift_codes,this.storedRSSFeeds=e.rss_feeds??[],this.storedPmproUserFields=e.user_fields??[],this.storedPurchaseLocation=e.purchase_location,this.storedManagmentUrl=e.management_url,this.isFetchingMemberships=!1},async fetchLikedData(e){if(e===`track`&&this.getLikedIDsTracksLe
2ngth>0){let e=this.getTrackCutIDs;await this.fetchLikedTracks(e);let t=this.getTrackArtistIDs;await this.fetchLikedTrackArtists(t)}else if(e===`artist`&&this.getLikedIDsArtistsLength>0){let e=this.getArtistIDs;await this.fetchLikedArtists(e)}else console.error(`No`,e,`found.`)},async fetchLikedTracks(e){let t=this.storedLikedTracks.map(e=>e.cutId),n=e.filter(e=>!t.includes(e));if(n.length>0){let e=await V.hll_get_track_data(n,`track`);this.storedLikedTracks=this.storedLikedTracks.concat(e.data)}},async fetchLikedArtists(e){let t=this.storedLikedArtists.map(e=>e.id),n=e.filter(e=>!t.includes(e));if(n.length>0){let e=await V.hll_get_artist_data(n);this.storedLikedArtists=this.storedLikedArtists.concat(e.data)}},async fetchLikedTrackArtists(e){let t=this.storedLikedTrackArtists.map(e=>e.id),n=e.filter(e=>!t.includes(e));if(n.length>0){let e=await V.hll_get_artist_data(n);this.storedLikedTrackArtists=this.storedLikedTrackArtists.concat(e.data)}},async unlikeItem(e,t){await V.hll_unlike_item(e,t).then(n=>{if(n.success){if(t===`track`){this.storedLikedTracks=this.storedLikedTracks.filter(t=>t.id!==e),this.$patch(t=>{t.userLikes.likedTracks=t.userLikes.likedTracks.filter(t=>t.track!==e),t.hasChanged=!0});return}if(t===`artist`){this.storedLikedArtists=this.storedLikedArtists.filter(t=>t.id!==e),this.$patch(t=>{t.userLikes.likedArtists=t.userLikes.likedArtists.filter(t=>t.artist!==e),t.hasChanged=!0});return}}})},async likeItem(e,t){await V.hll_like_item(e,t).then(e=>{if(e.success){if(t===`track`){this.$patch(t=>{t.userLikes.likedTracks.push(e.data.like_data),t.hasChanged=!0});return}if(t===`artist`){this.$patch(t=>{t.userLikes.likedArtists.push(e.data.like_data),t.hasChanged=!0});return}}})},async updateUserPhoto(e){return await V.hll_edit_profile_picture(e)},async deleteUserPhoto(){return await V.hll_delete_profile_picture()},async updateUserNotifications(e){let t=Z(),n=Array.from(e.target),r={first_name:this.userProfile.firstName,last_name:this.userProfile.lastName,nick_name:this.userProfile.nickName,email:this.userProfile.email,phone:this.userProfile.phone,date_of_birth:t.getFormattedDate(this.userProfile.dateOfBirth,`/`,`fetch`),gender:this.userProfile.gender,address:this.userProfile.address,city:this.userProfile.city,state:this.userProfile.state,zip:this.userProfile.zip,notification_category_fields:[],push_notification_category_fields:this.userPushNotificationsSettings?this.userPushNotificationsSettings:[],opt_in_fields:[],notification_settings:[],news_topics:this.userProfile.newsTopics,podcast_listens_idx:this.userProfile.podcast_listens_idx,nielsen_opt_out:this.userProfile.nielsen_opt_out};n.forEach(e=>{e.type===`checkbox`&&(e.className===`notification_category_fields`?r.notification_category_fields.push({key:e.name,value:e.checked}):e.className===`opt_in_fields`?r.opt_in_fields.push({key:e.name,value:e.checked}):e.className===`notification_settings`?r.notification_settings.push({key:e.name,value:e.checked}):console.message(`No categories configured.`))}),this.userPushNotificationsSettings||(r.push_notification_category_fields=r.notification_category_fields);let i=await V.hll_edit_profile(r);if(i.success){for(let[e,t]of Object.entries(r))this.userProfile[e]=t;this.userProfile.successMessage=`Notification preferences were updated succesfully.`,this.userProfile.generalError=``}else this.userProfile.successMessage=``,this.userProfile.generalError=i.data},async markNotificationRead(e){let t=this.storedUserNotifications.find(t=>t.id===e);!t.viewed&&!t.clicked?(await V.mark_notifications_read(e),await V.mark_notifications_clicked(e)):t.viewed&&!t.clicked?await V.mark_notifications_clicked(e):!t.viewed&&t.clicked&&await V.mark_notifications_read(e)},async markAllNotificationsRead(){await V.mark_all_notifications_read(),await this.fetchNotifications()},async markAllNotificationsSeen(e){await V.mark_notifications_seen(e),await V.hll_get_notifications()},async updateUserProfile(e){let t=Z(),n={first_name:e.target.firstName.value,last_name:e.target.lastName.value,nick_name:e.target.nickName.value,date_of_birth:t.getFormattedDate(e.target.birthday.value,`/`,`fetch`),gender:e.target.gender.value,email:e.target.email.value,phone:e.target.phone.value,address:e.target.address.value,city:e.target.city.value,state:e.target.state.value,zip:e.target.zip.value,notification_category_fields:this.userProfile.notificationCategoryFields,push_notification_category_fields:this.userProfile.pushNotificationCategoryFields,opt_in_fields:this.userProfile.optInFields,notification_settings:this.userProfile.notificationSettings,news_topics:this.userProfile.newsTopics,podcast_listens_
2idx:this.userProfile.podcast_listens_idx,nielsen_opt_out:this.userProfile.nielsen_opt_out},r=await V.hll_edit_profile(n);if(r.success){for(let[e,t]of Object.entries(n))this.userProfile[e]=t;this.userProfile.successMessage=`The profile was updated succesfully.`,this.userProfile.generalError=``}else this.userProfile.successMessage=``,this.userProfile.generalError=r.data},async deleteUserProfile(){let e=Z();e.loadingMessage=`Deleting listener account...`,e.isRouteLoading=!0,await V.hll_delete_profile(),this.userObj=null,await this.logoutUser(),alert(`Your account was successfully deleted.`),await K.replace({name:`LoginProfileView`})},async editUserPassword(e){let t=e.target.confirmPassword.value,n=await V.hll_account_reset_password(t);n.success?(this.userProfile.successMessage=`The password was updated succesfully.`,this.userProfile.generalError=``):(this.userProfile.successMessage=``,this.userProfile.generalError=n.data)},async registerUser(e){let t=Z(),n={first_name:e.target.firstName.value,last_name:e.target.lastName.value,email:e.target.email.value,password:e.target.confirmPassword.value,zip:e.target.zip.value,date_of_birth:e.target.birthday.value?t.getFormattedDate(e.target.birthday.value,`/`,`fetch`):null,opt_in_fields:[]};return Array.from(e.target).forEach(e=>{e.type===`checkbox`&&n.opt_in_fields.push({key:e.name,value:e.checked})}),await V.hll_account_signup(n)},async loginUserEmail(e){let t=e.target.email.value,n=e.target.password.value;return await V.logInUser(t,n)},async handlePostLogin(){let e=Z();if(e.loadingMessage=`Loading account details...`,this.isUserAuthenticated=!0,await this.fetchLoggedInUser(),this.getCookieByName(`hbi-device-id`)===null){let e=crypto.randomUUID();e===void 0&&(e=`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,function(e){let t=Math.random()*16|0;return(e==`x`?t:t&3|8).toString(16)})),document.cookie=`hbi-device-id=${e}; max-age=31536000; path=/`}let t=K.currentRoute.value.query?.redirect_url;if(t)try{let e=t.match(/^https/)?new URL(t).pathname:t;await K.replace({path:e})}catch{await K.replace({name:`Profile`})}else await K.replace({name:`Profile`})},async logoutUser(){let e=Z();e.isRouteLoading=!0,this.isUserAuthenticated=!1,await V.logOutUser(),await this.fetchNotifications()},async handlePostLogout(){this.isUserAuthenticated=!1,this.userObj=null,await this.checkIfLoggedIn(),document.getElementById(`hbi_listener_profile_app`)?await K.replace({name:`LoginProfileView`}):window.location.reload()},async forgotPassword(e){let t=e.target.email.value,n=await V.hll_account_forgot_password(t);return!n.success&&n.data!==`user_not_found`?n:(this.tempEmail=t,await K.replace({name:`ResetPassView`}),n)},async getUserByUUID(e){let t=await V.hll_get_user_by_uuid(e);this.tempEmail=t.data},async recoverUserPassword(e){let t=e.target.email.value,n=e.target.tempKey.value,r=e.target.newPassword.value,i=e.target.confirmPassword.value,a=await V.hll_account_recover_password(t,n,r,i);if(!a.success)return a;await V.logInUser(t,i),await this.handlePostLogin(),this.tempEmail=null},confirmUserZipEligibility(){return Z().fetchedPlayerSettings[`hll-rewards-zip-codes`].split(`\r
3`).includes(this.userProfile.zip)},startListenPing(){if(!this.isUserAuthenticated)return;let e=H(),t=Date.now(),n=this.listenPingInterval;this.ping();let r=()=>{let e=Date.now();e-t>=n&&(this.ping(),t=e)};e.stream.value.addEventListener(`timeupdate`,r),this.currentPingHandler=r},stopListenPing(){let e=H();this.ping(),e.stream.value.removeEventListener(`timeupdate`,this.currentPingHandler)},startNonListenPing(){let e=Z(),t=H();if(this.nonListenPingInterval)return;let n=10*6e4,r=(e.fetchedPlayerSettings[`hll-anonymous-ping-interval`]??10)*1e4,i=n<r?r:n;this.nonListenPingInterval=setInterval(()=>{t.isPlaying&&this.isUserAuthenticated||e.isRouteLoading||this.ping(!0)},i)},stopNonListenPing(){clearInterval(this.nonListenPingInterval),this.nonListenPingInterval=null},async ping(e=!1){let t=H(),n=X(),r=this.isUserAuthenticated?this.tempGetToken():null,i=t.currentStreamIsPrimary?null:t.currentStream[`listen-live-api-id`],a;try{a=await V.hll_listen_ping(i,r,e),this.consecutivePingFailures=0}catch(e){e.isHttpError||this.consecutivePingFailures++,console.error(`Listen ping failed:`,e);return}try{a?.data?.rewards&&(n.setRewards(a?.data?.rewards),this.userRewards=a?.data?.rewards,this.nextListeningReward=n.listeningRewards[0]??``),a.data?.contests&&(this.userContests=a?.data?.contests),a.data?.promos&&(this.userPromos=a?.data?.promos),a?.data?.stats&&this.$patch(e=>{e.userProfile.listenedToday=a?.data?.stats?.listenedToday,e.userProfile.listenedWeek=a?.data?.stats?.listenedWeek,e.userProfile.listenedMonth=a?.data?.stats?.listenedMonth,e.userProfile.listenedAll=a?.data?.stats?.listenedAll,e.hasChanged=!0}),a?.data?.notifications&&this.$patch(e=>{e.storedUserNotifications=a?.data?.notifications,e.hasChanged=!0})}catch(e){console.error(`Error processing ping response:`,e)}},async podcastPing(e,t,n,r,i){let a=this.isUserAuthenticated?this.tempGetToken():null;if(!a)return;let o=await V.hll_podcast_ping(a,e,t,n,r,i);o?.data?.stats&&this.$patch(e=>{e.userProfile.listenedToday=o?.data?.stats?.listenedToday,e.userProfile.listenedWeek=o?.data?.stats?.listenedWeek,e.userProfile.listenedMonth=o?.data?.stats?.listenedMonth,e.userProfile.listenedAll=o?.data?.stats?.listenedAll,e.hasChanged=!0})},tempGetToken(){return this.getCookieByName(window.LiveLoginSettings.token_cookie_name)},getUserInfoFromCookie(){let e=window.LiveLoginSettings.user_info_cookie_name;return JSON.parse(this.getCookieByName(e))},getCookieByName(e){var t=document.cookie.match(`(^|;) ?`+e+`=([^;]*)(;|$)`);return t?t[2].replace(`+`,` `):null},async fetchLikeData(){this.userLikes?.likedTracks?.length&&await this.fetchLikedData(`track`),this.userLikes?.likedArtists?.length&&await this.fetchLikedData(`artist`)}}}),X=L(`contests`,{state:()=>({_rewards:[],rewardsLoaded:!1,_promos:[],promosLoaded:!1,_contests:[],_contestsLoaded:!1,_contestPage:[]}),getters:{rewards:e=>e._rewards,promos:e=>e._promos,contests:e=>e._contests,allContests:e=>[...e.rewards,...e.promos,...e.contests],vipRewards:e=>e.allContests.filter(e=>e.exclusive),draftContests:e=>e.allContests.filter(e=>e.isPreview),listeningRewardTypes:()=>[`daily`,`weekly`,`monthly`,`alltime`],listeningRewards(e){Y();let t=[];
3for(let n of e.rewards)this.listeningRewardTypes.includes(n.type)&&(n.vueListenerRewardProgress=this.getRewardProgress(n.type,n.hours,`bar`),t.push(n));return t.sort((e,t)=>t.vueListenerRewardProgress-e.vueListenerRewardProgress||e.hours-t.hours||e.expiration-t.expiration),t}},actions:{setRewards(e){this.updateCollection(`rewards`,e),this.rewardsLoaded=!0},setPromos(e){this.updateCollection(`promos`,e),this.promosLoaded=!0},setContests(e){this.updateCollection(`contests`,e),this.contestsLoaded=!0},updateCollection(e,t){if(t===void 0)return;let n=`_`+e,r=this[n],i=r.filter(e=>e.isPreview),a=r.filter(e=>e.isAdminOverride),o=r.filter(e=>!e.isPreview&&!e.isAdminOverride),s=t.filter(e=>e.isPreview),c=t.filter(e=>e.isAdminOverride),l=t.filter(e=>!e.isPreview&&!e.isAdminOverride),u=this.mergeContests(i,s),d=this.mergeContests(a,c),f=this.mergeContests(o,l),p=[...u,...d,...f],m=new Set;this[n]=p.filter(e=>m.has(e.id)?!1:(m.add(e.id),!0))},mergeContests:(e,t)=>{let n=e.map(e=>e.id),r=t.filter(e=>!n.includes(e.id));return[...e.map(e=>{let n=t.find(t=>t.id===e.id);return n?{...e,...n}:e}),...r]},getRewardProgress:(e,t,n=`circle`)=>{let r=Y(),i={daily:`Today`,weekly:`Week`,monthly:`Month`,alltime:`All`}[e]||``,a=r.userProfile[`listened${i}`];return n===`circle`?a/t*100*Math.PI+`,9999`:a/t*100},getRewardDetails(e){let t=Number(e),n=this.rewards;if(n.length){for(let e of Array.from(n))if(t===e.id)return e}else return console.log(`No reward returned for ID `+e),!1},getPromoDetails(e){let t=Number(e),n=this.promos;if(n.length){for(let e of Array.from(n))if(t===e.id)return e}else return console.log(`No promo returned for ID `+e),!1},getContestDetails(e){let t=Number(e),n=this.contests;if(n.length){for(let e of Array.from(n))if(t===e.id)return e}else return console.log(`No contest returned for ID `+e),!1},updateContest(e,t){let n=`_`+e+`s`;this.$patch(e=>{let r=e[n].findIndex(e=>e.id===parseInt(t.id));e[n][r]=t,e.hasChanged=!0})},async rewardEntry(e,t,n){let r;return r&&=this.validateOptIns(t,n),await V.hll_rewards_enter(e,r).then(t=>{if(t?.data===`user is already entered`||t?.data===`Reward has already been entered.`)throw Error(`user is already entered`);let n=this.getRewardDetails(e),r=n.available;return n.available=0,n.entries+=r,this.updateContest(`reward`,n),t})},async rewardPromocodeEntry(e,t,n,r,i){let a;return r.length&&(a=this.validateOptIns(r,i)),await V.hll_promocode_enter(e,t,n,a)},async rewardUpdatePromocodeReminder(e,t){return await V.hll_update_promocode_reward_notification_preference(e,t)},async rewardListenAndWinEntry(e,t,n,r){let i;return n.length&&(i=this.validateOptIns(n,r)),await V.hll_listen_and_win_enter(e,`LOG_STRM`,t,i)},validateOptIns(e,t){let n={};if(e.length===Object.keys(t).length)n=t;else if(Object.keys(t).length<e.length){if(e.forEach(e=>{n[e[`opt-in-key`]]=e[`opt-in-default`]===`on`}),Object.keys(t).length)for(let e in n)Object.keys(t).includes(e)&&(n[e]=t[e])}else console.error(`Reward Entry: User OptIns are greater than available contact support.`);return Object.keys(n).length?Object.entries(n).map(([e,t])=>({key:e,value:t})):[]},async getContestPage(e){return await V.fetch_station_page(`contests`,e)}}}),Re=new DOMParser;function ze(e){return Re.parseFromString(e,`text/html`).body.textContent}var Be=L(`memberships`,{state:()=>({_pmproSettings:null,_membershipsFetchPromises:null,cancelConfirmation:null,stripe:null,stripeElements:null,checkoutLevel:null,checkoutRelatedLevels:[],checkoutCostText:``,checkoutRequireBilling:!0,checkoutIsGift:!1,checkoutGiftEmailSent:!1,checkoutDiscountCode:``,checkoutError:null,checkoutProcessing:!1,checkoutOrderCode:null,checkoutClientSecret:null,checkoutUserFields:[]}),getters:{pmproSettings:e=>e._pmproSettings,membershipsFetchPromises:e=>e._membershipsFetchPromises,membershipRequiredIcon:e=>e._pmproSettings?.membership_required_icon??``,defaultMembershipImage:e=>e._pmproSettings?.default_membership_image??``,messageForLoggedInNonMembers:e=>e._pmproSettings?.message_for_logged_in_non_members??``,messageForLoggedOutUsers:e=>e._pmproSettings?.message_for_logged_out_users??``,tosUrl:e=>e._pmproSettings?.tos_url??null,levelsPageHeaderImage:e=>e._pmproSettings?.levels_page_header_image??``,levelsPageIntroText:e=>e._pmproSettings?.levels_page_intro_text??``,membershipLevels:e=>Object.values(e._pmproSettings?.levels??[]),activeMembershipLevels:e=>e.membershipLevels.filter(e=>e.allow_signups===`1`)}
3,actions:{fetchMembershipSettings(){this._membershipsFetchPromises=[];let e=V.fetch_pmpro_settings().then(e=>this._pmproSettings=e);this._membershipsFetchPromises.push(e)},async initCheckout(e,t=``){this.checkoutError=null;let n=await V.hll_checkout_init(e,t);if(n.error)return this.checkoutError=n.error,!1;if(this.checkoutLevel=n.level,this.checkoutRelatedLevels=n.related_levels??[],this.checkoutCostText=ze(n.cost_text),this.checkoutRequireBilling=n.require_billing,this.checkoutIsGift=n.is_gift??!1,this.checkoutDiscountCode=t,this.checkoutUserFields=n.user_fields??[],this.checkoutRecaptchaKey=n.recaptcha??null,n.require_billing&&n.stripe?.publishable_key&&!this.stripe){this._stripeConfig=n.stripe;let e=n.stripe.user_id?{stripeAccount:n.stripe.user_id}:{},{loadStripe:t}=await G(async()=>{let{loadStripe:e}=await import(`./js/vendor.DYVnUg-n.js`).then(e=>e.t);return{loadStripe:e}},[]);this.stripe=await t(n.stripe.publishable_key,e)}return!0},async loadStripeIfNeeded(){if(this.stripe||!this._stripeConfig?.publishable_key)return;let e=this._stripeConfig.user_id?{stripeAccount:this._stripeConfig.user_id}:{},{loadStripe:t}=await G(async()=>{let{loadStripe:e}=await import(`./js/vendor.DYVnUg-n.js`).then(e=>e.t);return{loadStripe:e}},[]);this.stripe=await t(this._stripeConfig.publishable_key,e)},async processCheckout(e,t,n={}){this.checkoutProcessing=!0,this.checkoutError=null;try{let r=await V.hll_checkout_process({level_id:this.checkoutLevel.id,payment_method_id:e,discount_code:this.checkoutDiscountCode,billing:t,...n});return r.success?{success:!0}:r.requires_action?(this.checkoutClientSecret=r.client_secret,this.checkoutOrderCode=r.order_code,{requires_action:!0,client_secret:r.client_secret,order_code:r.order_code}):(this.checkoutError=r.error||`Checkout failed.`,{success:!1,error:this.checkoutError})}catch{return this.checkoutError=`Something went wrong. Please try again.`,{success:!1,error:this.checkoutError}}finally{this.checkoutProcessing=!1}},async confirmCheckout(e,t){this.checkoutProcessing=!0,this.checkoutError=null;try{let n=await V.hll_checkout_confirm({order_code:e,payment_intent_id:t});return n.success||(this.checkoutError=n.error||`Could not confirm checkout.`),n}catch{return this.checkoutError=`Something went wrong. Please try again.`,{success:!1,error:this.checkoutError}}finally{this.checkoutProcessing=!1}},resetCheckout(){this.checkoutLevel=null,this.checkoutRelatedLevels=[],this.checkoutCostText=``,this.checkoutRequireBilling=!0,this.checkoutIsGift=!1,this.checkoutGiftEmailSent=!1,this.checkoutDiscountCode=``,this.checkoutError=null,this.checkoutProcessing=!1,this.checkoutOrderCode=null,this.checkoutClientSecret=null,this.checkoutUserFields=[]}}});function Ve(e){if(e>3&&e<21)return`th`;switch(e%10){case 1:return`st`;case 2:return`nd`;case 3:return`rd`;default:return`th`}}var Z=L(`liveSettings`,{state:()=>({fetchedPlayerSettings:{},siteNotificationOptions:{},sitePushNotificationOptions:{},siteOptIns:{},siteListenerRankingOptions:{},isRouteLoading:!0,loadingMessage:null,ssoOn:!1,isTalkStation:!1,profileMetricsEnabled:window.LiveLoginSettings.profileMetricsEnabled,membershipEnabled:!1,contestFetches:[]}),getters:{getListeningBadge:()=>e=>{let t;switch(e){case`bottom-50`:t=`Bottom 50%`;break;case`bronze`:t=`Top 50%`;break;case`silver`:t=`Top 25%`;break;case`gold`:t=`Top 10%`;break;case`platinum`:t=`Top 5%`;break;case`double-platinum`:t=`Top 1%`;break;default:t=`Bottom 50%`}return t},getCleanTime:()=>e=>Math.floor(e>=3600?e/60/60:e/60),getTimeLabel:()=>e=>{let t;return t=e<120&&e>=60?`Minute`:e>=120&&e<3600||e<60?`Minutes`:e>=3600&&e<7200?`Hour`:`Hours`,t},getFormattedDate:()=>(e,t,n)=>{if(!e)return e;let r=new Date(e),i=r.getUTCMonth()+1,a=r.getUTCDate(),o=r.getUTCFullYear();if(i=i<=9?`0`+i:i,a=a<=9?`0`+a:a,n===`input`||n===`birthday`)return o+t+i+t+a;if(n===`expiration`)return i=r.toLocaleString(`default`,{month:`short`}),a=r.toLocaleString(`default`,{day:`numeric`}),i===`May`?i+` `+a+Ve(a):i+t+` `+a+Ve(a);if(n===`reward`){i=r.toLocaleString(`default`,{month:`long`}),a=r.toLocaleString(`default`,{day:`2-digit`}
3),o=r.toLocaleString(`default`,{year:`numeric`});let e=r.toLocaleTimeString(`default`,{hour:`2-digit`,minute:`2-digit`,timeZoneName:`short`});return i+` `+a+Ve(a)+`, `+o+` at `+e}return i+t+a+t+o},getRewardColor:()=>e=>{let t;switch(e){case`daily`:t=`#0071bc`;break;case`weekly`:t=`#fa0017`;break;case`monthly`:t=`#3cb878`;break;case`alltime`:t=`#662d91`;break;default:t=`#000000`}return t},getRGBColor:()=>e=>{let t=e.substring(e.indexOf(`(`)+1,e.lastIndexOf(e[3]==`a`?`,`:`)`));return t?`rgb(`+t+`)`:e},getDefaultStream:e=>({"ad-image":e.fetchedPlayerSettings[`hll-ad-image`],"ad-subtitle":e.fetchedPlayerSettings[`hll-ad-subtitle`],"ad-title":e.fetchedPlayerSettings[`hll-ad-title`],"audio-stream-source":e.fetchedPlayerSettings[`hll-audio-stream-source`],"audio-stream-source-aac":e.fetchedPlayerSettings[`hll-audio-stream-source-aac`],"custom-timeline-subtext":e.fetchedPlayerSettings[`hll-custom-timeline-subtext`],"custom-timeline-text":e.fetchedPlayerSettings[`hll-custom-timeline-text`],"is-restricted-stream":e.fetchedPlayerSettings[`hll-is-restricted-stream`],"event-live-placeholder":e.fetchedPlayerSettings[`hll-event-live-placeholder`],"listen-live-api-id":e.fetchedPlayerSettings[`hll-listen-live-api-id`],"pusher-channels":e.fetchedPlayerSettings[`hll-pusher-channels`],"station-call-letters":e.fetchedPlayerSettings[`hll-station-call-letters`],"station-logo":e.fetchedPlayerSettings[`hll-station-logo`],"station-name":e.fetchedPlayerSettings[`hll-station-name`],listenRoute:`/listen/`}),getStreams:e=>{if(e.fetchedPlayerSettings[`hll-additional-audio-streams`]){let t=e.fetchedPlayerSettings[`hll-additional-audio-streams`];return t=t.filter(e=>e[`listen-live-api-id`]),t=t.map(e=>(e.listenRoute=`/listen/`+e[`listen-live-api-id`],e)),[e.getDefaultStream,...t]}else return[]},getRewardDisclaimer:()=>e=>{let t;switch(e){case`daily`:t=`Daily Listening Reward: 24 hour period 12:00am - 11:59pm`;break;case`weekly`:t=`Weekly Listening Reward: Calendar Week 12:00am Sunday - 11:59pm Saturday`;break;case`monthly`:t=`Monthly Listening Reward: Full Calendar Month (Example June 1st - June 30th)`;break;case`alltime`:t=`All accumulated listening time`;break;case`promocode`:t=``;break;case`geolocation`:t=`Location Check In App Only Reward: Be logged into the mobile app and check in at an eligible location.`;break;case`qrcode`:t=`QR Code App Only Reward: Be logged into the mobile app and scan eligible QR code`;break;case`smack-the-track`:t=`Be logged in and listening to the web stream or in the app. Listen for us to play a qualifying song, open up the app or web player and hit the button for entry to win.`;break;case`listen-and-win`:t=`Listen and Win Reward: Be logged in and select your listening times for a chance to listen and win.`;break;case`app`:t=`App Only Listening Reward: Be logged into the mobile app.`;break;default:t=``}return t},getRewardInstructions:()=>e=>{let t;switch(e){case`daily`:t=`Daily Listening Reward: 24 hour period 12:00am - 11:59pm`;break;case`weekly`:t=`Weekly Listening Reward: Calendar Week 12:00am Sunday - 11:59pm Saturday`;break;case`monthly`:t=`Monthly Listening Reward: Full Calendar Month (Example June 1st - June 30th)`;break;case`alltime`:t=`All accumulated listening time`;break;case`promocode`:t=``;break;case`geolocation`:t=`Location Check In App Only Reward: Be logged into the mobile app and check in at an eligible location.`;break;case`qrcode`:t=`QR Code App Only Reward: Be logged into the mobile app and scan eligible QR code`;break;case`smack-the-track`:t=`Be logged in and listening to the web stream or in the app. Listen for us to play a qualifying song, open up the app or web player and hit the button for entry to win.`;break;case`listen-and-win`:t=`Listen and Win Reward: Be logged in and select your listening times for a chance to listen and win.`;break;case`app`:t=`App Only Listening Reward: Be logged into the mobile app.`;break;default:t=``}return t},settingsAreFetched:e=>Object.entries(e.fetchedPlayerSettings).length>0,minimalFallbackSupported:e=>{if(e.fetchedPlayerSettings[`hll-custom-events-enabled`]===`on`)return!0;let t=W().fallbackEvent;return!!(t.fallbackImage&&t.fallbackTitle)}},actions:{async fetchLiveSettings(e=!0,t=!1){let n=X();if(this.settingsAreFetched&&!t)return;let r=await V.fetch_hll_settings();if(this.fetchedPlayerSettings=r?.data,r?.data[`hll-talk-station`]&&(this.isTalkStation=!0),r?.data[`hll-membership-enabled`]&&(this.membershipEnabled=!0,Be().fetchMembershipSettings()),this.siteNotificationOptions=r?.data[`hll-notification-categories`],this.sitePushNotificationOptions=r?.data[`hll-push-notification-categories`],this.siteOptIns=r?.data[`hll-opt-in-boxes`],this.fetchedPlayerSettings[`hll-listener-rankings-enabled`]&&(this.siteListenerRankingOptions=r?.data[`hll-listener-levels`]),this.eligibleZips=this.fetchedPlayerSettings[`hll-rewards-zip-codes`].split(`\r
4`),e){let e=V.hll_rewards().then(e=>{n.setRewards([...e?.data??[]])}),t=V.hll_promos().then(e=>{n.setPromos([...e?.data??[]])}
4),r=V.hll_contests().then(e=>{n.setContests([...e?.data??[]])});this.contestFetches=[e,t,r]}}}}),He={class:`error-page`},Ue=R({__name:`ErrorView`,props:[`error`,`clearError`,`showButtons`],setup(e){let t=e;Z();let n=ae(),r=t.showButtons?.goBack??!0,s=t.showButtons?.retry??!0,c=t.showButtons?.login??!1,l=`/profile/login?redirect_url=`+window.location.href,u=()=>{n.back()},f=()=>{let e=window.location.pathname+window.location.search;window.location.href=e+`?refresh=`+Date.now()};return(e,n)=>(d(),i(S,null,[a(xe,null,{header:b(()=>[...n[0]||=[o(`Error`,-1)]]),_:1}),a(Ee,null,{default:b(()=>[T(`div`,He,[T(`p`,null,M(t.error),1),N(r)?(d(),i(`button`,{key:0,class:`btn vue-button vue-button-primary`,onClick:u},`Go Back`)):g(``,!0),N(s)?(d(),i(`button`,{key:1,class:`btn vue-button vue-button-primary`,onClick:f},`Retry`)):g(``,!0),N(c)?(d(),i(`a`,{key:2,class:`login btn vue-button vue-button-primary`,href:l},`Login`)):g(``,!0)])]),_:1})],64))}},[[`__scopeId`,`data-v-bbc448ce`]]),We=Symbol();function Ge(){let e=t(!1),n=t({}),r=t(``);function i(t,i={}){r.value=t,n.value=i,e.value=!0}function a(){e.value=!1,n.value={},r.value=``}return h(We,{showError:e,errorMessage:r,displayError:i,clearError:a,showButtons:n}),{showError:e,errorMessage:r,displayError:i,clearError:a,showButtons:n}}var Ke=R({__name:`ReusableModal`,props:[`backgroundColor`,`width`,`padding`,`closable`],emits:[`close`],setup(e,{emit:n}){let a=e,o=n,c=a.backgroundColor??`
5     linear-gradient(var(--content-background-color), var(--content-background-color)),
6     linear-gradient(var(--content-background-color), var(--content-background-color)),
7     linear-gradient(var(--content-background-color), var(--content-background-color)),
8     linear-gradient(var(--content-background-color), var(--content-background-color))`,l=a.width??`40%`,p=a.padding??`4em 3em`,h=t(null),_=t(null);function v(e){a.closable&&!e.target.closest(`.vue-modal-content`)&&o(`close`)}function y(e){if(a.closable){if(e.key===`Escape`){o(`close`);return}if(e.key===`Tab`&&_.value){let t=_.value.querySelectorAll(`button, a, input, select, textarea, [tabindex]:not([tabindex="-1"])`);if(!t.length)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())}}}return s(()=>{a.closable&&(document.addEventListener(`keydown`,y),f(()=>{(_.value?.querySelector(`button`))?.focus()}))}),u(()=>document.removeEventListener(`keydown`,y)),m(()=>{if(h.value){h.value.style.transition=`none`,h.value.style.opacity=`0`,h.value.style.display=`none`;let e=h.value.querySelector(`.vue-modal-content`);e&&(e.style.transition=`none`,e.style.transform=`none`)}}),(t,n)=>(d(),F(E,{name:`modal-fade`},{default:b(()=>[T(`div`,{class:`vue-modal-backdrop`,ref_key:`modalBackdrop`,ref:h,onClick:v},[T(`div`,{class:`vue-modal`,style:w({width:N(l)})},[T(`div`,{class:`vue-modal-content`,ref_key:`modalContentRef`,ref:_,style:w({background:N(c),padding:N(p),color:`var(--content-text-color)`})},[e.closable?(d(),i(`button`,{key:0,class:`vue-modal-close`,onClick:n[0]||=e=>o(`close`),"aria-label":`Close`,type:`button`},`×`)):g(``,!0),r(t.$slots,`default`,{},void 0,!0)],4)],4)],512)]),_:3}))}},[[`__scopeId`,`data-v-9e95dfa3`]]),qe=()=>({events:{},on(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)},off(e,t){this.events[e]&&(this.events[e]=this.events[e].filter(e=>e!==t))},emit(e,...t){this.events[e]&&this.events[e].forEach(e=>e(...t))}}),Je=()=>{let e=qe();return h(`play-button-emitter`,e),e},Ye=()=>n(`play-button-emitter`,null),Xe={id:`video-ad-modal`,"aria-modal":`true`,role:`dialog`},Ze={class:`video-ad-wrapper`},Qe={id:`ad-countdown`},$e={id:`ad-container`},et={key:0,class:`loading`},tt=R({__name:`VideoAdModal`,setup(e){let n=H(),r=Z(),c=Je(),l=!0,u,f,p,h,_=null,y=!1,x=t(null);v([()=>n.stream.value,()=>x.value],e=>{let t=e[0],n=e[1];!t||!n||p&&!t.showingVideoAd.value||n()},{immediate:!0}),m(()=>{_?.(),h&&clearInterval(h),u&&(u.destroy(),u=null,n.showingVideoAd=!1),f&&=(f.destroy(),null),p&&=(p.destroy(),null)}),s(()=>{c&&(c.on(`play-button-clicked`,s),_=()=>c.off(`play-button-clicked`,s));let e=()=>s();window.addEventListener(`play-button-clicked`,e);let t=_;_=()=>{t?.(),window.removeEventListener(`play-button-clicked`,e)};function i(){if(!w()||C()||window.innerWidth<850){r.isProductionEnvironment||console.log(`Video ads will not show for this user.`);return}try{a()}catch(e){console.log(e)}}function a(){o(),f=new google.ima.AdsLoader(p),f.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,d,!1),f.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,g,!1);let e=new google.ima.AdsRequest;e.adTagUrl=r.fetchedPlayerSettings[`hll-dfp-video-vast-tag`],e.linearAdSlotWidth=400,e.linearAdSlotHeight=300,e.nonLinearAdSlotWidth=400,e.nonLinearAdSlotHeight=300,f.requestAds(e)}function o(){p=new google.ima.AdDisplayContainer(document.getElementById(`ad-container`),n.stream.value)}function s(){if(!(C()||!w())&&!(n.volumeLevel===`0`||!n.stream.value.paused)){if(!f){console.log(`No adsLoader, reinitializing...`),waitForAdContainer(()=>{x.value(),setTimeout(()=>s(),1e3)});return}if(!p){console.log(`adDisplayContainer missing, cannot play ads`);return}if(!u){console.log(`adsManager not ready yet`);return}p.initialize(),n.showingVideoAd=!0,S();try{u.init(640,360,google.ima.ViewMode.NORMAL),u.start(),n.showingVideoAd=!0}
8catch{n.playPromise=n.stream.value.play(),n.showingVideoAd=!1}}}function d(e){let t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,u=e.getAdsManager(n.stream.value,t),u.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,g),u.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,v),u.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,b),u.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,m),u.addEventListener(google.ima.AdEvent.Type.LOADED,m),u.addEventListener(google.ima.AdEvent.Type.STARTED,m),u.addEventListener(google.ima.AdEvent.Type.COMPLETE,m),u.addEventListener(google.ima.AdEvent.Type.SKIPPED,m),u.addEventListener(google.ima.AdEvent.Type.USER_CLOSE,m),u.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,m)}function m(e){let t=e.getAd();switch(e.type){case google.ima.AdEvent.Type.LOADED:l=!1,t.isLinear()||(n.playPromise=n.stream.value.play());break;case google.ima.AdEvent.Type.STARTED:t.isLinear()&&(n.videoAdTimeout=Math.floor(u?.getRemainingTime()),h=setInterval(function(){u?.getRemainingTime===void 0?clearInterval(h):n.videoAdTimeout=Math.floor(u.getRemainingTime())},300));break;case google.ima.AdEvent.Type.COMPLETE:t.isLinear()&&(clearInterval(h),h=null),y=!0,n.videoAdTimeout=null,console.log(`Ad completed`);break;case google.ima.AdEvent.Type.SKIPPED:case google.ima.AdEvent.Type.USER_CLOSED:case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:y=!0}}function g(e){console.log(e.getError()),u&&=(u.destroy(),null),n.showingVideoAd=!1}function v(){n.playPromise?n.playPromise.then(()=>{n.stream.value.pause()}):n.stream.value.pause()}function b(){n.stream.value.load(),n.playPromise=n.stream.value.play(),n.showingVideoAd=!1,u&&=(u.destroy(),null)}x.value=i});let S=()=>{let e=new Date;e.setTime(e.getTime()+864e5),document.cookie=`hll-video-played=1; expires=`+e.toUTCString()},C=()=>y||document.cookie.includes(`hll-video-played=1`),w=()=>r.fetchedPlayerSettings[`hll-dfp-video-enabled`]??!1;return(e,t)=>(d(),i(`div`,Xe,[a(Ke,{"background-color":`transparent`,width:`640px`,padding:`0`},{default:b(()=>[T(`div`,Ze,[T(`p`,null,[o(`The `+M(N(n).currentStream[`station-name`])+` stream will start in `,1),T(`span`,Qe,M(N(n).videoAdTimeout),1),t[0]||=o(` seconds`,-1)]),T(`div`,$e,[N(l)?(d(),i(`div`,et,[a(z,{"aria-label":`Loading`,inline:!0,"background-color":`transparent`},{default:b(()=>[...t[1]||=[o(`\xA0`,-1)]]),_:1})])):g(``,!0)])])]),_:1})]))}},[[`__scopeId`,`data-v-d041335e`]]),nt={__name:`ProfileApp`,setup(e){let t=Z(),n=Y(),r=H(),{isRouteLoading:f,loadingMessage:p}=ce(t),m=Ge(),{showError:h,errorMessage:_,showButtons:y}=ce(m),{clearError:x,displayError:S}=m;return s(()=>{Le.setHandler((e,t={})=>{S(e,t)}),n.startNonListenPing()}),u(()=>{n.stopNonListenPing()}),v((()=>r.streamCanPlayOnCurrentRoute),e=>{let t=document.querySelector(`#header a[rel="home"]`);e?t.setAttribute(`target`,`_blank`):t.removeAttribute(`target`)}),(e,t)=>(d(),i(`div`,{class:k({"hll-profile-wrapper":!0,"has-error":N(h)})},[N(h)?(d(),F(Ue,{key:0,error:N(_),clearError:N(x),showButtons:N(y)},null,8,[`error`,`clearError`,`showButtons`])):(d(),F(N(ne),{key:e.$route.fullPath},{default:b(({Component:e})=>[T(`div`,null,[(d(),F(l(e))),N(f)?(d(),F(z,{key:0},{default:b(()=>[o(M(N(p)||`Loading...`),1)]),_:1})):g(``,!0)])]),_:1})),c(a(tt,null,null,512),[[j,N(r).showingVideoAd]])],2))}},rt={},it={viewBox:`93.678 -327.581 105.508 109.566`,width:`105.508`,height:`109.566`,fill:`currentColor`};function at(e,t){return d(),i(`svg`,it,[...t[0]||=[T(`g`,{id:`Layer_2_3_`,transform:`matrix(1, 0, 0, 1, -693.914551, -506.465088)`},[T(`path`,{d:`M872.811,288.45h-64.928c-11.206,0-20.29-9.084-20.29-20.29c-0.004-0.484,0.078-0.965,0.244-1.42 c7.983-21.059,28.122-35.018,50.644-35.102h3.733c22.521,0.084,42.66,14.042,50.644,35.102c0.165,0.455,0.248,0.936,0.243,1.42 C893.101,279.366,884.017,288.45,872.811,288.45z M795.709,268.85c0.366,6.453,5.711,11.494,12.174,11.484h64.928 c6.463,0.01,11.808-5.031,12.174-11.484c-6.987-17.516-23.914-29.03-42.771-29.096h-3.733 C819.623,239.819,802.696,251.334,795.709,268.85z`}),T(`path`,{d:`M840.347,227.58c-13.447,0-24.348-10.901-24.348-24.348c0-13.447,10.901-24.348,24.348-24.348s24.348,10.901,24.348,24.348 C864.695,216.679,853.794,227.58,840.347,227.58z M840.347,187c-8.965,0-16.232,7.267-16.232,16.232s7.267,16.232,16.232,16.232 c8.965,0,16.232-7.267,16.232-16.232S849.312,187,840.347,187z`}),T(`path`,{d:`M872.811,288.45h-64.928c-11.206,0-20.29-9.084-20.29-20.29c-0.004-0.484,0.078-0.965,0.244-1.42 c7.983-21.059,28.122-35.018,50.644-35.102h3.733c22.521,0.084,42.66,14.042,50.644,35.102c0.165,0.455,0.248,0.936,0.243,1.42 C893.101,279.366,884.017,288.45,872.811,288.45z M795.709,268.85c0.366,6.453,5.711,11.494,12.174,11.484h64.928 c6.463,0.01,11.808-5.031,12.174-11.484c-6.987-17.516-23.914-29.03-42.771-29.096h-3.733 C819.623,239.819,802.696,251.334,795.709,268.85z`})],-1)]])}var ot=R(rt,[[`render`,at]]),st={},ct={viewBox:`553.722 -324.74 82.14 99.604`,width:`82.14`,height:`99.604`};function lt(e,t){return d(),i(`svg`,ct,[...t[0]||=[T(`g`,{transform:`matrix(1, 0, 0, 1, -685.37915, -509.281128)`}
8,[T(`g`,null,[T(`path`,{d:`M 1281.593 184.542 C 1283.874 185.176 1286.193 185.923 1287.76 187.73 C 1289.386 189.605 1291.5 190.56 1293.527 191.789 C 1302.941 197.496 1308.091 205.915 1308.305 216.927 C 1308.521 228.055 1311.377 238.211 1317.852 247.305 C 1318.634 248.404 1319.339 249.557 1320.102 250.67 C 1321.771 253.103 1321.444 255.587 1320.159 257.997 C 1318.839 260.471 1316.896 262.296 1313.912 262.301 C 1291.305 262.334 1268.698 262.329 1246.091 262.306 C 1243.347 262.303 1241.448 260.767 1240.203 258.452 C 1238.885 256.003 1238.617 253.457 1240.129 250.967 C 1240.989 249.551 1241.93 248.183 1242.881 246.825 C 1249.119 237.917 1251.862 227.989 1252.095 217.158 C 1252.344 205.575 1257.763 196.89 1267.897 191.236 C 1269.442 190.374 1270.938 189.607 1272.137 188.198 C 1273.855 186.179 1276.294 185.223 1278.817 184.541 C 1279.741 184.542 1280.667 184.542 1281.593 184.542 Z M 1313.996 254.878 C 1313.386 253.962 1312.92 253.214 1312.407 252.5 C 1304.713 241.795 1301.041 229.838 1300.919 216.671 C 1300.822 206.185 1294.545 199.094 1286.227 196.614 C 1284.944 196.231 1284.142 195.364 1283.676 194.137 C 1283.077 192.557 1281.873 191.946 1280.238 191.94 C 1278.613 191.934 1277.353 192.486 1276.762 194.075 C 1276.215 195.544 1275.165 196.339 1273.704 196.795 C 1269.893 197.986 1266.683 200.11 1264.154 203.219 C 1260.764 207.386 1259.459 212.244 1259.444 217.528 C 1259.424 224.455 1258.166 231.161 1255.885 237.694 C 1253.857 243.502 1250.691 248.682 1247.201 253.691 C 1246.956 254.042 1246.743 254.416 1246.451 254.879 C 1269.038 254.878 1291.403 254.878 1313.996 254.878 Z`}),T(`path`,{d:`M 1278.352 284.144 C 1277.806 283.99 1277.263 283.826 1276.715 283.682 C 1270.791 282.13 1266.152 276.783 1265.448 270.676 C 1265.401 270.268 1265.442 269.851 1265.442 269.384 C 1267.869 269.384 1270.245 269.384 1272.727 269.384 C 1272.917 271.697 1273.349 273.951 1275.441 275.42 C 1277.138 276.611 1279.072 276.838 1281.07 276.711 C 1285.147 276.451 1287.025 274.38 1287.702 269.391 C 1290.1 269.391 1292.507 269.391 1295.265 269.391 C 1294.827 271.167 1294.624 272.907 1293.973 274.458 C 1291.833 279.558 1288.031 282.774 1282.566 283.931 C 1282.389 283.969 1282.225 284.072 1282.055 284.145 C 1280.821 284.144 1279.586 284.144 1278.352 284.144 Z`})])],-1)]])}var ut=R(st,[[`render`,lt]]),dt={},ft={viewBox:`93.678 -327.581 105.508 109.566`,width:`105.508`,height:`109.566`,fill:`currentColor`};function pt(e,t){return d(),i(`svg`,ft)}var mt=R(dt,[[`render`,pt]]),ht={__name:`IconPlay`,props:[`fillColor`],setup(e){let t=e;return(e,n)=>(d(),i(`svg`,{viewBox:`0 0 600 600`,style:w({fill:t.fillColor})},[...n[0]||=[T(`g`,{id:`Page-1`},[T(`g`,{id:`Icons-AV`},[T(`g`,{id:`play-circle-outline`},[T(`path`,{id:`Shape`,d:`m299.74-.4C134.6-.4-.52,134.71-.52,299.86s135.12,300.26,300.26,300.26,300.26-135.12,300.26-300.26S464.88-.4,299.74-.4h0Zm0,540.47c-132.11,0-240.21-108.09-240.21-240.21S167.63,59.65,299.74,59.65s240.21,108.09,240.21,240.21-108.09,240.21-240.21,240.21h0Zm-51.19-101.34c-5.77,5.01-14.85.98-14.85-6.58V167.58c0-7.57,9.08-11.59,14.85-6.58l174.98,131.18c4.7,4.08,4.7,11.28,0,15.36l-174.98,131.18Z`,style:{"fill-rule":`evenodd`}})])])],-1)]],4))}},gt={},_t={viewBox:`0 0 106.8 102.52`,fill:`currentColor`};function vt(e,t){return d(),i(`svg`,_t,[...t[0]||=[T(`g`,null,[T(`path`,{class:`cls-1`,d:`M80.33,102.52c-1.61,0-3.19-.4-4.61-1.14l-21.05-11.06c-.79-.42-1.73-.42-2.52,0l-21.05,11.06c-4.84,2.52-10.8.63-13.32-4.21-.98-1.89-1.33-4.06-.98-6.17l3.81-23.46c.15-.88-.15-1.78-.8-2.4L2.98,48.55c-2.7-2.61-3.67-6.54-2.48-10.11,1.12-3.59,4.21-6.2,7.93-6.71l23.53-3.43c.9-.11,1.67-.67,2.06-1.49l10.53-21.32c2.42-4.89,8.35-6.88,13.24-4.46,1.93.96,3.5,2.52,4.46,4.46h0l10.53,21.32c.39.82,1.16,1.38,2.06,1.49l23.53,3.43c3.72.51,6.81,3.13,7.93,6.71,1.19,3.57.22,7.5-2.48,10.11l-17.05,16.59c-.62.63-.91,1.53-.76,2.4l4.01,23.46c.84,5.41-2.86,10.48-8.27,11.33-.47.07-.94.11-1.42.12v.08h0ZM53.4,7.13c-1.05-.03-2.01.57-2.44,1.53l-10.53,21.28c-1.44,2.92-4.22,4.95-7.44,5.42l-23.53,3.43c-1.03.13-1.89.84-2.21,1.83-.33,1-.05,2.1.72,2.82l17.01,16.59c2.33,2.26,3.39,5.54,2.82,8.73l-3.81,23.42c-.21,1.02.21,2.07,1.07,2.67.84.62,1.97.71,2.9.23l21.05-11.06c2.86-1.53,6.29-1.53,9.15,0l21.05,11.06c.93.48,2.05.39,2.9-.23.85-.6,1.27-1.65,1.07-2.67l-4.01-23.42c-.57-3.2.49-6.47,2.82-8.73l16.82-16.4c.77-.72,1.05-1.82.72-2.82-.31-.99-1.18-1.71-2.21-1.83l-23.53-3.43c-3.29-.41-6.16-2.45-7.63-5.42l-10.34-21.47h0c-.43-.96-1.4-1.56-2.44-1.53Z`})],-1)]])}var yt=R(gt,[[`render`,vt]]),bt={class:`vue-profile-login-wrapper`},xt={class:`logged hide non-streaming-route`},St={class:`sub-menu hide`},Ct=[`target`],wt=[`href`,`target`],Tt=[`href`],Et=[`target`],Dt=[`target`,`href`],Ot={class:`logged hide streaming-route`},kt={class:`sub-menu hide`},At={class:`non-logged hide non-streaming-route`},jt=[`href`,`target`],Mt=[`href`,`target`],Nt={class:`non-logged hide streaming-route`},Pt={class:`sub-menu hide`}
8,Ft={__name:`LoginWidget`,setup(e){let n=ae(),r=I(()=>window.hbiVueLinksOpenInSameTab??!1),s=H(),l=Z(),u=Y(),{logoutUser:h,handlePostLogout:_}=u,y=I(()=>l.fetchedPlayerSettings[`hll-rewards-enabled`]===`on`),x=t(!1);async function S(e){l.isRouteLoading=!0,l.loadingMessage=`Logging out...`,await h(e),_()}let C=I(()=>n.resolve({path:`/profile`}).href),w=I(()=>n.resolve({path:`/profile/login`}).href),E=I(()=>n.resolve({path:`/profile/notifications`}).href);I(()=>n.resolve({path:`/listen/`}).href);let D=I(()=>n.resolve({path:`/rewards`}).href);p(async()=>{u.userObj||await u.fetchNotifications()});let O=v(()=>s.streamCanPlayOnCurrentRoute,e=>{f(()=>{x.value=e})},{immediate:!0});return m(()=>{O&&O(),typeof $<`u`&&$.cache&&Object.keys($.cache).forEach(e=>{let t=$.cache[e]?.elem;t&&!document.contains(t)&&delete $.cache[e]})}),(e,t)=>(d(),i(`div`,bt,[T(`nav`,null,[c(T(`div`,xt,[t[4]||=T(`a`,{href:`#`,class:`vue-login open-drop`},[o(`Hello, `),T(`span`,{class:`live_login_name`})],-1),T(`div`,St,[N(s).mainStreamExists?(d(),i(`a`,{key:0,class:`hll-profile vue-link vue-login`,title:`Listen`,target:r.value?void 0:`_blank`,href:/listen/},[a(ht),t[0]||=o(`Listen `,-1)],8,Ct)):g(``,!0),T(`a`,{class:`hll-profile vue-link vue-login`,title:`My Profile`,href:C.value,target:r.value?void 0:`_blank`},[a(ot),t[1]||=o(` My Profile`,-1)],8,wt),y.value?(d(),i(`a`,{key:1,class:`hll-profile vue-link vue-login`,title:`Rewards`,href:D.value},[a(yt),t[2]||=o(` Rewards`,-1)],8,Tt)):g(``,!0),T(`a`,{class:`hll-logout logout-action hll-profile vue-link vue-login`,onClick:S,target:r.value?void 0:`_blank`},[a(mt),t[3]||=o(`Logout`,-1)],8,Et)]),T(`a`,{class:k([`notifications-link`,N(u).getUnseenNotificationCount>0?`alerts-active`:`alerts-inactive`]),title:`Notifications`,target:r.value?void 0:`_blank`,href:E.value},[a(ut),c(T(`span`,{class:`notification-count`},M(N(u).getUnseenNotificationCount),513),[[j,N(u).getUnseenNotificationCount>0]])],10,Dt)],512),[[j,!x.value]]),c(T(`div`,Ot,[t[9]||=T(`a`,{href:`#`,class:`vue-login open-drop`},[o(`Hello, `),T(`span`,{class:`live_login_name`})],-1),T(`div`,kt,[N(s).mainStreamExists?(d(),F(N(P),{key:0,class:`hll-profile vue-link vue-login`,title:`Listen`,to:N(l).getDefaultStream.listenRoute},{default:b(()=>[a(ht),t[5]||=o(` Listen `,-1)]),_:1},8,[`to`])):g(``,!0),a(N(P),{class:`hll-profile vue-link vue-login`,title:`My Profile`,to:`/profile/`},{default:b(()=>[a(ot),t[6]||=o(` My Profile`,-1)]),_:1}),y.value?(d(),F(N(P),{key:1,class:`hll-profile vue-link vue-login`,title:`Rewards`,to:`/rewards`},{default:b(()=>[a(yt),t[7]||=o(` Rewards`,-1)]),_:1})):g(``,!0),T(`a`,{class:`hll-logout logout-action hll-profile vue-link vue-login`,onClick:S},[a(mt),t[8]||=o(` Logout`,-1)])]),a(N(P),{class:k([`notifications-link`,N(u).getUnseenNotificationCount>0?`alerts-active`:`alerts-inactive`]),title:`Notifications`,to:`/profile/notifications`},{default:b(()=>[a(ut),c(T(`span`,{class:`notification-count`},M(N(u).getUnseenNotificationCount),513),[[j,N(u).getUnseenNotificationCount>0]])]),_:1},8,[`class`])],512),[[j,x.value]]),c(T(`div`,At,[T(`a`,{class:`hll-profile vue-link vue-login`,title:`Profile Login`,href:w.value,target:r.value?void 0:`_blank`},[a(ot),t[10]||=o(` Login`,-1)],8,jt),T(`a`,{class:k([`notifications-link`,N(u).getUnseenNotificationCount>0?`alerts-active`:`alerts-inactive`]),title:`Notifications`,href:E.value,target:r.value?void 0:`_blank`},[a(ut),c(T(`span`,{class:`notification-count`},M(N(u).getUnseenNotificationCount),513),[[j,N(u).getUnseenNotificationCount>0]])],10,Mt)],512),[[j,!x.value]]),c(T(`div`,Nt,[t[14]||=T(`a`,{href:`#`,class:`vue-login open-drop`},`Account`,-1),T(`div`,Pt,[N(s).mainStreamExists?(d(),F(N(P),{key:0,class:`hll-profile vue-link vue-login`,title:`Listen`,to:`/listen/`},{default:b(()=>[a(ht),t[11]||=o(` Listen `,-1)]),_:1})):g(``,!0),a(N(P),{class:`hll-profile vue-link vue-login`,title:`Login`,to:`/profile/login`},{default:b(()=>[a(ot),t[12]||=o(` Login`,-1)]),_:1}),y.value?(d(),F(N(P),{key:1,class:`hll-profile vue-link vue-login`,title:`Rewards`,to:`/rewards`},{default:b(()=>[a(yt),t[13]||=o(` Rewards`,-1)]),_:1})):g(``,!0)]),a(N(P),{class:k([`notifications-link`,N(u).getUnseenNotificationCount>0?`alerts-active`:`alerts-inactive`]),title:`Notifications`,to:`/profile/notifications`},{default:b(()=>[a(ut),c(T(`span`,{class:`notification-count`},M(N(u).getUnseenNotificationCount),513),[[j,N(u).getUnseenNotificationCount>0]])]),_:1},8,[`class`])],512),[[j,x.value]])])]))}},It=R({__name:`DoubleClickAd`,props:[`slot`],setup(e){let t=e,n=`hbi_ad_`+t?.slot+`_vue`,r=`hbi_ad_`+t.slot,a=null;return s(()=>{googletag.cmd.push(()=>{let e=googletag.pubads().getSlots().find(e=>e.getSlotElementId()===r);a=googletag.pubads().getSlots().find(e=>e.getSlotElementId()===n),e&&googletag.destroySlots([e]),a&&(googletag.pubads().addEventListener(`slotRenderEnded`,function e(t){if(t.slot===a){let t=document.getElementById(n);t&&t.style.display===`none`&&(t.style.display=``),googletag.pubads().removeEventListener(`slotRenderEnded`,e)}}),googletag.pubads().refresh([a]))})}),u(()=>{!googletag?.pubads&&!a||googletag.pubads().clear([a])}),C(()=>{googletag?.pubads&&a&&googletag.pubads().clear([a])}),(e,t)=>(d(),i(`div`,null,[T(`section`,{class:`doubleclick-ad`,id:n})]))}},[[`__scopeId`,`data-v-b0506295`]]),Lt=[`innerHTML`],Rt={key:1,class:`no-ad`},zt=R({__name:`ReviveAd`,props:[`slot`],setup(e){let t=e,n=()=>{switch(t.slot){case`above_content`:return window.hbiAltAdsAboveContent;case`below_content`:return window.hbiAltAdsBelowContent;case`sidebar_1`:return window.hbiAltAdsSidebar1;case`sidebar_2`:return window.hbiAltAdsSidebar2;default:return``}},r={};return r[t.slot+`-ad`]=!0,(e,t)=>n()?(d(),i(`div`,{key:0,class:k(r)}
8,[T(`section`,{innerHTML:n()},null,8,Lt)])):(d(),i(`section`,Rt))}},[[`__scopeId`,`data-v-ed8b3c8f`]]),Bt={key:2,class:`no-ads`},Vt=R({__name:`AdBlock`,props:[`slot`],setup(e){let t=e,n=Z().fetchedPlayerSettings[`hll-alt-ads-enabled`];return t.slot||console.log(`A slot property is required for all ad units.`),(e,r)=>!N(n)&&t.slot?(d(),F(It,{key:0,slot:t.slot},null,8,[`slot`])):N(n)&&t.slot?(d(),F(zt,{key:1,slot:t.slot},null,8,[`slot`])):(d(),i(`section`,Bt))}},[[`__scopeId`,`data-v-9e882e92`]]),Ht={key:0,class:`vue-reward-container`},Ut=[`src`,`title`,`alt`],Wt={class:`vue-reward-content entry-content`},Gt={class:`vue-reward-header subtitle`},Kt={class:`vue-reward-type`},qt={class:`vue-reward-progress`},Jt={class:`vue-reward-entries`},Yt=R({__name:`RewardProgressItem`,props:{reward:Object},setup(e){n(`isTimeline`,!1);let{getRewardColor:t,getCleanTime:r,getFormattedDate:s}=Z(),c=e,l=window.screen.width;function u(e){let t={month:`long`,day:`numeric`,year:`numeric`};return new Date().toLocaleString(`en-US`,t)===new Date(e).toLocaleString(`en-US`,t)}return(n,f)=>[`daily`,`weekly`,`monthly`,`alltime`].includes(e.reward.type)?(d(),i(`article`,Ht,[a(N(P),{class:`vue-reward-image`,to:`/rewards/`+e.reward.id},{default:b(()=>[T(`figure`,null,[T(`img`,{src:e.reward.photo,title:e.reward.text,alt:e.reward.text},null,8,Ut)])]),_:1},8,[`to`]),T(`div`,Wt,[T(`div`,Gt,[T(`span`,Kt,M(e.reward.type===`alltime`?`all time`:e.reward.type),1),f[0]||=o(` | `,-1),T(`span`,{class:`vue-reward-duration`,style:w({color:N(t)(e.reward.type)+` !important`})},[o(M(N(r)(e.reward.hours))+` `,1),e.reward.hours>3600?(d(),i(S,{key:0},[o(M(N(l)>400?`hours`:`hrs`),1)],64)):e.reward.hours===3600?(d(),i(S,{key:1},[o(M(N(l)>400?`hour`:`hr`),1)],64)):(d(),i(S,{key:2},[o(M(N(l)>400?`minutes`:`mins`),1)],64))],4)]),T(`div`,qt,[T(`div`,{class:`vue-reward-progress-bar`,style:w({width:e.reward.vueListenerRewardProgress+`%`,backgroundColor:N(t)(e.reward.type)})},null,4)]),T(`div`,null,[o(M(N(l)>400?`You have`:``)+` `,1),T(`span`,Jt,M(e.reward.available),1),f[1]||=o(` entries available `,-1)]),T(`div`,null,[o(M(N(l)>400?`Contest `:``)+`Ends: `,1),T(`span`,{style:w(u(c.reward.expiration)?{color:`red !important`}:``)},M(u(c.reward.expiration)?`TODAY`:N(s)(c.reward.expiration,`.`,`expiration`)),5)])])])):g(``,!0)}},[[`__scopeId`,`data-v-774d28cb`]]),Xt={class:`pagination-wrapper`},Zt={__name:`PaginationComponent`,props:{itemCount:Number,itemsPerPage:Number,currentPage:Number},emits:[`changePage`],setup(e){let t=e,n=I(()=>Math.ceil(t.itemCount/t.itemsPerPage));return I(()=>Array.from({length:n.value},(e,t)=>t+1)),(e,t)=>(d(),i(`div`,Xt,[r(e.$slots,`default`),a(N(P),{class:`vue vue-button btn`,title:`View More Rewards`,to:`/rewards`},{default:b(()=>[...t[0]||=[o(`View More Rewards`,-1)]]),_:1})]))}},Qt={key:1,class:`error`},$t={key:2,class:`hll-user-rewards-widget-wrapper empty`},en={key:3,class:`loading`},tn={__name:`RewardProgressWidget`,emits:[`changePage`],setup(e){let r=Y(),c=X(),l=Z(),u=n(`isTimeline`,!1),f=t(1),p=t(5),m=t(0),h=I(()=>{let e=(f.value-1)*p.value,t=e+p.value,n=c.listeningRewards,r=n.length;return g(r),n.slice(e,t)});s(()=>{l.fetchedPlayerSettings[`hll-dfp-sidebar-below-rewards-enabled`]===`on`&&u&&(p.value=3)});function g(e){m.value=e}function _(e){f.value=e}return(e,t)=>h.value.length?(d(),i(`div`,{key:0,class:k([`hll-user-rewards-widget-wrapper`,{"hll-user-rewards-widget-wrapper":!0,"is-timeline":N(u)}])},[a(Zt,{itemCount:m.value,itemsPerPage:p.value,currentPage:f.value,onChangePage:_},{default:b(()=>[(d(!0),i(S,null,se(h.value,(e,t)=>(d(),F(Yt,{reward:e,key:`${e.id}--${t}`},null,8,[`reward`]))),128))]),_:1},8,[`itemCount`,`itemsPerPage`,`currentPage`])],2)):N(r).userDataRequestFailed?(d(),i(`div`,Qt,[...t[0]||=[T(`p`,null,[o(` There was an error loading your user profile data. `),T(`br`),o(` Please refresh the page in a couple of minutes. `)],-1)]])):N(r).listeningTimeLoaded?(d(),i(`div`,$t,[...t[1]||=[T(`div`,null,`There are no listening rewards available. Check back soon!`,-1)]])):(d(),i(`div`,en,[T(`p`,null,[N(u)?(d(),F(z,{key:0,inline:`true`,"background-color":`transparent`,"spinner-color":`#fff !important`,"text-color":`#fff !important`},{default:b(()=>[...t[2]||=[o(` Loading... `,-1)]]),_:1}
8)):(d(),F(z,{key:1,inline:`true`},{default:b(()=>[...t[3]||=[o(` Loading... `,-1)]]),_:1}))])]))}},nn={class:`hll-reward-progress widget`},rn=R({__name:`RewardProgressTimeline`,setup(e){return(e,t)=>(d(),i(`section`,nn,[t[0]||=T(`h2`,{class:`widgettitle`},`My Reward Progress`,-1),a(tn)]))}},[[`__scopeId`,`data-v-87bc691d`]]),an={class:`vue-reward-container`},on=[`href`],sn=[`src`,`title`,`alt`],cn=[`src`,`title`,`alt`],ln={class:`vue-reward-content entry-content`},un={class:`vue-reward-header subtitle`},dn={class:`vue-reward-name`},fn={key:0,class:`vue-reward-duration`},pn=R({__name:`RewardItem`,props:{reward:Object},setup(e){n(`isTimeline`,!1);let{getRewardColor:t,getCleanTime:r,getFormattedDate:a}=Z(),s=e,c=window.screen.width;function l(e){let t={month:`long`,day:`numeric`,year:`numeric`};return new Date().toLocaleString(`en-US`,t)===new Date(e).toLocaleString(`en-US`,t)}let u=e=>{let t=e.type?e.type:e.aptivada_campaign_type;return t===`alltime`?`all time`:t};return(n,f)=>(d(),i(`article`,an,[e.reward.url?(d(),i(`a`,{key:0,href:e.reward.url,target:`_blank`,class:`vue-reward-image`,title:`Opens in new tab`},[T(`figure`,null,[T(`img`,{src:e.reward.photo,title:e.reward.text,alt:e.reward.text},null,8,sn)])],8,on)):(d(),F(N(P),{key:1,class:`vue-reward-image`,to:`/rewards/`+e.reward.id},{default:b(()=>[T(`figure`,null,[T(`img`,{src:e.reward.photo,title:e.reward.text,alt:e.reward.text},null,8,cn)])]),_:1},8,[`to`])),T(`div`,ln,[T(`div`,un,[T(`span`,dn,M(e.reward.title),1)]),T(`div`,null,[o(M(N(c)>400?`Contest `:``)+`Ends: `,1),T(`span`,{style:w(l(s.reward.expiration)?{color:`red !important`}:``)},M(l(s.reward.expiration)?`TODAY`:N(a)(s.reward.expiration,`.`,`expiration`)),5)]),[`daily`,`weekly`,`monthly`,`alltime`].includes(e.reward.type)?(d(),i(`p`,fn,[f[0]||=o(` Listen for `,-1),T(`span`,{class:`vue-reward-duration`,style:w({color:N(t)(e.reward.type)+` !important`})},[o(M(N(r)(e.reward.hours))+` `,1),e.reward.hours>3600?(d(),i(S,{key:0},[o(M(N(c)>400?`hours`:`hrs`),1)],64)):e.reward.hours===3600?(d(),i(S,{key:1},[o(M(N(c)>400?`hour`:`hr`),1)],64)):(d(),i(S,{key:2},[o(M(N(c)>400?`minutes`:`mins`),1)],64))],4)])):g(``,!0),T(`span`,{class:`vue-reward-type`,style:w({backgroundColor:N(t)(e.reward.type)+` !important`,color:`white !important`})},M(u(e.reward)),5)])]))}},[[`__scopeId`,`data-v-429e5cfa`]]),mn={key:1,class:`hll-user-rewards-widget-wrapper`},hn={__name:`RewardWidget`,emits:[`changePage`],setup(e){let r=Z(),l=X(),{isRouteLoading:u}=ce(r),f=n(`isTimeline`,!1),p=t(1),m=t(5),h=t(0),g=t(!0),_=I(()=>{let e=(p.value-1)*m.value,t=e+m.value,n=l.allContests;return v(n.length),g=!1,n.slice(e,t)});s(()=>{r.fetchedPlayerSettings[`hll-dfp-sidebar-below-rewards-enabled`]===`on`&&f&&(m.value=3)});function v(e){h.value=e}function y(e){p.value=e}return(e,t)=>(d(),i(S,null,[_.value.length?(d(),i(`div`,{key:0,class:k([`hll-user-rewards-widget-wrapper`,{"hll-user-rewards-widget-wrapper":!0,"is-timeline":N(f)}])},[a(Zt,{itemCount:h.value,itemsPerPage:m.value,currentPage:p.value,onChangePage:y},{default:b(()=>[(d(!0),i(S,null,se(_.value,(e,t)=>(d(),F(pn,{reward:e,key:`${e.id}--${t}`},null,8,[`reward`]))),128))]),_:1},8,[`itemCount`,`itemsPerPage`,`currentPage`])],2)):(d(),i(`div`,mn,[...t[0]||=[T(`div`,null,`There are no listening rewards available. Check back soon!`,-1)]])),c(a(z,null,{default:b(()=>[...t[1]||=[o(` Loading Rewards... `,-1)]]),_:1},512),[[j,N(g)&&N(u)]])],64))}},gn={class:`hll-reward-progress widget`},_n={key:1,class:`empty`},vn={key:2,class:`loading`},yn=R({__name:`RewardsTimeline`,setup(e){let t=X(),n=I(()=>t.allContests.length),r=I(()=>t.rewardsLoaded||t.promosLoaded||t.contestsLoaded);return(e,t)=>(d(),i(`section`,gn,[t[2]||=T(`h2`,{class:`widgettitle`},`Rewards`,-1),n.value>0?(d(),F(hn,{key:0})):n.value===0&&r.value?(d(),i(`div`,_n,[...t[0]||=[T(`p`,null,`No contests or rewards are available. Check back soon!`,-1)]])):(d(),i(`div`,vn,[T(`p`,null,[a(z,{inline:`true`,"background-color":`transparent`,"spinner-color":`#fff !important`,"text-color":`#fff !important`},{default:b(()=>[...t[1]||=[o(` Loading... `,-1)]]),_:1})])]))]))}},[[`__scopeId`,`data-v-123def60`]]),bn={__name:`Sidebar`,setup(e){let t=Y(),n=Z();return(e,r)=>(d(),i(S,null,[N(t).isUserAuthenticated?(d(),F(rn,{key:0})):g(``,!0),N(n).fetchedPlayerSettings[`hll-talk-station`]?(d(),F(Vt,{key:1,slot:`sidebar`})):g(``,!0),N(n).fetchedPlayerSettings[`hll-talk-station`]?(d(),F(Vt,{key:2,slot:`sidebar2`})):g(``,!0),a(yn)],64))}},xn={class:`play-button-container`},Sn={class:`svg-icon`},Cn={id:`Icons-AV`},wn={id:`play-circle-outline`},Tn=[`fill`],En={class:`svg-icon`}
8,Dn={version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,viewBox:`0 0 24 24`},On=[`fill`],kn=[`href`],An={class:`svg-icon`},jn={version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,width:`24`,height:`24`,viewBox:`0 0 24 24`},Mn=[`fill`],Nn={key:3,class:`label text-center d-none d-xl-block`},Pn=R({__name:`PlayButton`,props:[`isPlaying`,`buttonColor`,`clickHandler`],setup(e){let r=e,a=H(),o=n(`isTimeline`,!1),s=I(()=>window?.hbiLatestPodcastEpisode?.url??`/listen/?utm_source=station-website&utm_medium=widget&utm_campaign=livebar`),c=t(null),l=t(null),u=t(null);return m(()=>{if(c.value){let e=c.value.querySelectorAll(`circle`),t=c.value.querySelector(`svg`);e.forEach(e=>{e.style.animation=`none`,e.style.animationDelay=`none`,e.style.transition=`none`,e.style.opacity=`0`}),t&&(t.removeAttribute(`id`),t.innerHTML=``),c.value.innerHTML=``,c.value=null}l.value&&=(l.value.removeEventListener(`click`,r.clickHandler),null),u.value&&=(u.value.removeEventListener(`click`,r.clickHandler),null)}),(e,t)=>(d(),i(`div`,xn,[r.isPlaying?(d(),i(`button`,{key:0,class:`pause`,onClick:t[0]||=(...e)=>r.clickHandler&&r.clickHandler(...e),ref_key:`pauseRef`,ref:u},[T(`div`,Sn,[(d(),i(`svg`,{id:`Layer_1`,"data-name":`Layer 1`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 600 600`,style:w({fill:r.buttonColor})},[T(`g`,Cn,[T(`g`,wn,[T(`path`,{class:`circle-outline-path`,id:`Shape`,d:`m299.74-.4C134.6-.4-.52,134.71-.52,299.86s135.12,300.26,300.26,300.26,300.26-135.12,300.26-300.26S464.88-.4,299.74-.4h0Zm0,540.47c-132.11,0-240.21-108.09-240.21-240.21S167.63,59.65,299.74,59.65s240.21,108.09,240.21,240.21-108.09,240.21-240.21,240.21h0Z`,style:{"fill-rule":`evenodd`},fill:r.buttonColor},null,8,Tn)])]),t[2]||=T(`rect`,{x:`217.05`,y:`175.05`,width:`53.88`,height:`251.45`,rx:`4.5`,ry:`4.5`},null,-1),t[3]||=T(`rect`,{x:`330.8`,y:`175.05`,width:`53.88`,height:`251.45`,rx:`4.5`,ry:`4.5`},null,-1)],4))])],512)):N(o)||N(a).streamCanPlayOnCurrentRoute?(d(),i(`button`,{key:1,class:`play`,onClick:t[1]||=(...e)=>r.clickHandler&&r.clickHandler(...e),ref_key:`playRef`,ref:l},[T(`div`,En,[(d(),i(`svg`,Dn,[T(`path`,{class:`circle-outline-path`,d:`M10 16.5l6-4.5-6-4.5v9zM12 2c-5.525 0-10 4.475-10 10s4.475 10 10 10 10-4.475 10-10-4.475-10-10-10zM12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z`,fill:r.buttonColor},null,8,On)]))])],512)):(d(),i(`a`,{key:2,class:`play`,href:s.value,target:`_blank`},[T(`div`,An,[(d(),i(`svg`,jn,[T(`path`,{class:`circle-outline-path`,d:`M10 16.5l6-4.5-6-4.5v9zM12 2c-5.525 0-10 4.475-10 10s4.475 10 10 10 10-4.475 10-10-4.475-10-10-10zM12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z`,fill:r.buttonColor},null,8,Mn)]))])],8,kn)),T(`div`,{class:`circles d-none d-xl-block`,ref_key:`circlesRef`,ref:c},[...t[4]||=[_(`<svg id="rings" viewBox="0 0 202 202" preserveAspectRatio="xMidYMid meet" version="1.1" xmlns="http://www.w3.org/2000/svg" data-v-1c81a212><circle cx="101" cy="101" r="90" stroke="#ffffff" stroke-width="0.5" fill="none" class="ring-1" data-v-1c81a212></circle><circle cx="101" cy="101" r="65" stroke="#ffffff" stroke-width="0.5" fill="none" class="ring-2" data-v-1c81a212></circle><circle cx="101" cy="101" r="50" stroke="#ffffff" stroke-width="0.5" fill="none" class="ring-3" data-v-1c81a212></circle><circle cx="101" cy="101" r="35" stroke="#ffffff" stroke-width="0.5" fill="none" class="ring-4" data-v-1c81a212></circle></svg>`,1)]],512),r.isPlaying?g(``,!0):(d(),i(`div`,Nn,`Listen Now`))]))}},[[`__scopeId`,`data-v-1c81a212`]]),Fn={class:`col-xl-4 order-3 mt-md-0 stream-player-controls p-0 d-flex`},In={class:`row container g-0`},Ln={class:`col-12`},Rn={class:`loading-play-container d-flex d-xl-inline-flex align-items-center mx-auto mt-md-3 mt-lg-0 ml-lg-0 mr-xl-2`},zn={key:0,class:`loading-wheel-container mx-auto`},Bn={key:0,"aria-modal":`true`,role:`dialog`,"aria-labelledby":`error-modal-title`},Vn={key:0,id:`error-modal-title`},Hn=[`innerHTML`],Un=[`src`],Wn={class:`error-modal-actions`},Gn=R({__name:`StreamPlayer`,setup(e){let n=W(),r=H(),c=Y(),l=Z(),p=U(),m=Be(),h=Je(),_=t(``),x=t(``),C=t(null),w=t(!1),E=()=>{_.value=``,x.value=``,C.value=null};s(()=>
8{if(r.mainStreamExists){if(r.fetchProtectedStreamToken().then(()=>{r.stream.value&&!r.isPlaying&&(r.stream.value.src=r.buildStreamUrl())}),Object.values(r.stream).length===0){let e=new Audio;e.preload=`none`,e.src=r.buildStreamUrl(),r.stream.value=e,r.stream.value.addEventListener(`error`,async e=>{r.isPlaying=!1,r.isLoading=!1,c.stopListenPing();let t=await fetch(e.target.src,{method:`HEAD`});if(t.status===453)console.log(`Stream not in USA.`),x.value=`Geo-Restricted Stream`,_.value=`We're sorry, but this stream cannot be played in your country due to licensing restrictions.`;else if(t.status===403){if(console.log(`The stream is missing a JWT signed with the Hubbard Radio Triton secret or the one passed is expired.`),!w.value&&c.isUserAuthenticated){if(w.value=!0,r.isLoading=!0,await r.fetchProtectedStreamToken(),r.protectedStreamToken){r.stream.value.src=r.buildStreamUrl(),r.stream.value.load(),r.playPromise=r.stream.value.play();return}r.isLoading=!1}c.isUserAuthenticated?r.protectedStreamError===`Invalid Membership`?(x.value=`Membership Required`,_.value=m.messageForLoggedInNonMembers||`You do not have the required membership to listen to this stream.`,C.value=`membership`):r.protectedStreamError===`Triton Stream secrets are not set.`?(x.value=`Configuration Error`,_.value=`Something went wrong while playing the stream.`,console.log(r.protectedStreamError)):(x.value=`Invalid Session`,_.value=`We were not able to load a restricted stream with your current login session.<br/> Please log out and log back in.`):(x.value=`Account Required`,_.value=m.messageForLoggedOutUsers||`You have attempted to play a stream that requires an account. <br/> Please log in to continue.`,C.value=`login`)}else console.log(`An error occurred while playing the stream at `+new Date().toISOString()),console.log(e.target.error)}),r.stream.value.addEventListener(`pause`,e=>{r.isPlaying=!1,r.isLoading=!1,c.stopListenPing()}),r.stream.value.addEventListener(`play`,e=>{if(r.volumeLevel===0){e.target.pause(),r.showMutedModal=!0;return}r.isPlaying=!0,r.isLoading=!1}),r.stream.value.addEventListener(`waiting`,e=>{r.isLoading=!0}),r.stream.value.addEventListener(`loadeddata`,e=>{r.isLoading=!1}),r.stream.value.addEventListener(`stalled`,e=>{r.isLoading=!0}),r.stream.value.addEventListener(`playing`,e=>{r.isLoading=!1,c.startListenPing()}),r.stream.value.addEventListener(`seek`,e=>!1)}document.addEventListener(`visibilitychange`,O)}}),u(()=>{document.removeEventListener(`visibilitychange`,O)}),v(()=>r.streamApplicationId,async()=>{await f(),r.stream.value.src=r.buildStreamUrl()});let O=()=>{let e=Z();document.hidden||r.stream.value.readyState>=3&&!r.stream.value.paused&&(r.isLoading=!1,r.isPlaying=!0),e.isProductionEnvironment||console.log("Visibility has changed.  Make sure that stream play state is synced. Browsers might skip `playing` event callbacks when throttling.")},ee=e=>{if(h&&h.emit(`play-button-clicked`),window.dispatchEvent(new CustomEvent(`play-button-clicked`)),!r.streamCanPlayOnCurrentRoute){console.log(`The stream is not allowed to play on the current route.`);return}if(r.volumeLevel===`0`){r.showMutedModal=!0;return}r.stream.value.paused?(l.fetchedPlayerSettings[`hll-talk-station`]?p.refreshEventsTimeline():n.refreshTimeline(),r.stream.value.load(),r.playPromise=r.stream.value.play()):r.stream.value.pause()};return(e,t)=>{let s=y(`router-link`);return d(),i(S,null,[T(`section`,Fn,[T(`div`,In,[T(`div`,Ln,[T(`div`,Rn,[N(r).isLoading?(d(),i(`div`,zn,[a(z,{"aria-label":`Loading`,"spinner-color":N(n).latestTrackSwatch,inline:!0,"background-color":`transparent`},{default:b(()=>[...t[4]||=[o(`\xA0`,-1)]]),_:1},8,[`spinner-color`])])):(d(),i(`div`,{key:1,"aria-label":`Play/Pause`,id:`play-stream-button`,class:k({isPlaying:N(r).isPlaying,"mx-auto":!0})},[a(Pn,{"click-handler":ee,"is-playing":N(r).isPlaying,"button-color":N(n).latestTrackSwatch},null,8,[`is-playing`,`button-color`])],2))])])])]),(d(),F(oe,{to:`body`},[_.value||x.value?(d(),i(`div`,Bn,[a(Ke,{width:`auto`,padding:`2em`,closable:!0,onClose:t[3]||=e=>E()},{default:b(()=>[T(`div`,null,[x.value?(d(),i(`h3`,Vn,M(x.value),1)):g(``,!0),_.value?(d(),i(`p`,{key:1,class:`error`,innerHTML:_.value},null,8,Hn)):g(``,!0),C.value===`membership`&&N(m).defaultMembershipImage?(d(),i(`img`,{key:2,src:N(m).defaultMembershipImage,alt:`Membership Required`,class:`error-modal-image`},null,8,Un)):g(``,!0),T(`div`,Wn,[T(`a`,{class:`btn vue-button vue-button-primary`,onClick:t[0]||=D(e=>E(),[`prevent`]),role:`button`,href:`#`},`Close`),C.value===`login`?(d(),F(s,{key:0,class:`btn vue-button`,to:`/profile/login`,onClick:t[1]||=e=>E()},{default:b(()=>[...t[5]||=[o(`Log In`,-1)]]),_:1})):g(``,!0),C.value===`membership`?(d(),F(s,{key:1,class:`btn vue-button`,to:`/profile/membership-levels`,onClick:t[2]||=e=>E()},{default:b(()=>[...t[6]||=[o(`View Membership Options`,-1)]]),_:1})):g(``,!0)])])]),_:1})])):g(``,!0)]))],64)}}}
8,[[`__scopeId`,`data-v-abd59275`]]),Kn={id:`Layer_1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,viewBox:`0 0 98.5 104.6`,"xml:space":`preserve`},qn=R({__name:`SmackTheTrack`,props:[`fillColor`],setup(e){let n=t(null),r=t(null);return m(()=>{n.value&&(n.value.style.animation=`none`),r.value&&(r.value.style.animation=`none`,r.value.classList.remove(`stt`),setTimeout(()=>{r.value&&(r.value.style.display=`none`)},0))}),(e,t)=>(d(),i(`div`,{class:`stt`,ref_key:`sttWrapper`,ref:r},[(d(),i(`svg`,Kn,[t[1]||=T(`g`,null,[T(`path`,{class:`st0`,d:`M1692.7,681.4h-6v-19.9h-5.8v-4.2l11.8-1.8L1692.7,681.4L1692.7,681.4z`}),T(`path`,{class:`st0`,d:`M1697.5,670l1.5-14.6h15.3v4.6h-10.3l-0.7,5.4c0.5-0.3,1-0.6,1.7-0.8c0.7-0.2,1.4-0.3,2.2-0.4
9      c2.5,0,4.5,0.7,5.9,2.2c1.4,1.5,2.1,3.7,2.1,6.5c0,2.4-0.8,4.5-2.3,6.2s-3.8,2.5-6.7,2.5c-2.5,0-4.6-0.7-6.4-2.1s-2.7-3.2-2.6-5.4
10      l0-0.1l5.9-0.4c0,1,0.3,1.8,0.9,2.4c0.6,0.6,1.3,0.9,2.3,0.9c1.1,0,1.9-0.4,2.3-1.2s0.7-1.7,0.7-2.9c0-1.4-0.3-2.6-0.8-3.4
11      c-0.5-0.8-1.3-1.2-2.4-1.2c-0.8,0-1.5,0.2-2,0.5s-0.8,0.8-1,1.3L1697.5,670z`})],-1),t[2]||=T(`g`,null,[T(`path`,{d:`M85.5,28c1.2,1.2,2.4,2.4,3.6,3.6c1.5,1.5,3.3,1.6,4.6,0.3c1.3-1.3,1.2-3.2-0.2-4.6c-4-4-8-8-11.9-11.9
12        c-1.5-1.5-3.3-1.5-4.6-0.2c-1.3,1.3-1.2,3.2,0.3,4.6c1.2,1.2,2.5,2.5,3.7,3.7c-1,1-2,2-2.9,3c-0.1-0.1-0.2-0.1-0.3-0.2
13        c-5.6-5.3-12.2-8.9-19.7-10.7c-0.6-0.1-0.6-0.4-0.6-0.9c0-2,0-4.1,0-6.1c0-2.2-0.9-4-2.6-5.3c-0.8-0.6-1.8-0.9-2.6-1.4
14        c-2.7,0-5.4,0-8.2,0c-0.1,0.1-0.3,0.1-0.4,0.2c-3,0.9-4.8,3.4-4.8,6.5c0,1.9,0,3.9,0,5.8c0,0.7-0.2,1-0.9,1.2
15        c-9.5,2.4-17.3,7.4-23.4,15C6.9,39.6,3.5,50.2,4.7,62.1c1,9.8,5.2,18.2,11.9,25.3c12.7,13.4,32.1,17.6,48.6,9.9
16        C81,90,90,77.4,91.4,59.9C92.2,49.7,89,40.4,83,32.1c-0.3-0.4-0.5-0.7-0.7-1c1.1-1.1,2.1-2.1,3.1-3.1C85.3,27.9,85.4,28,85.5,28z
17         M45,7.9c2,0,4,0,6.1,0c0,2.1,0,4.1,0,6.2c-2,0-4,0-6.1,0C45,12.1,45,10.1,45,7.9z M85.3,57.7c0,21-16.3,37.2-37.4,37.2
18        c-21,0-37.2-16.3-37.2-37.3c0-21,16.2-37.3,37.3-37.2C69.1,20.3,85.3,36.6,85.3,57.7z`}),T(`path`,{d:`M68.3,54.5c-3.9,0-7.8,0-11.8,0c-1.3-3.5-4.6-6-8.5-6c-5,0-9.1,4.1-9.1,9.1s4.1,9.1,9.1,9.1c3.9,0,7.2-2.5,8.5-6
19        c3.9,0,7.8,0,11.7,0c2.1,0,3.5-1.3,3.5-3.1C71.7,55.8,70.3,54.5,68.3,54.5z M48,60.7c-2.1,0-3.1-1-3.1-3.2c0-2.1,1-3,3.1-3
20        c2.1,0,3.1,1,3.1,3.2C51.1,59.8,50.1,60.7,48,60.7z`})],-1),T(`g`,{id:`minute-hand`,ref_key:`minuteHand`,ref:n},[...t[0]||=[T(`path`,{d:`M51.1,58.1L51.1,58.1c0-0.1,0-0.2,0-0.2C51.1,57.9,51.1,58,51.1,58.1z`},null,-1),T(`path`,{d:`M51.1,29.7c0-1.4-0.6-2.4-1.9-2.9c-2.1-0.9-4.3,0.6-4.3,2.9c0,5.7,0,21.5,0,27.6c0.1-1.9,1.1-2.8,3.1-2.8c2.1,0,3,1,3.1,3
21        c0-3.8,0-16.2,0-19C51.1,35.6,51.1,32.6,51.1,29.7z`},null,-1)]],512)]))],512))}},[[`__scopeId`,`data-v-20de2152`]]),Jn={class:`message`},Yn={key:0},Xn={class:`col-md-4 my-2`},Zn=[`src`,`alt`],Qn={class:`col-md-8`},$n={key:0},er={key:1},tr=[`data-reward-id`],nr={key:1,class:`entering`},rr={class:`text-center`},ir={key:1,class:`text-center unauthed`},ar=R({__name:`SmackTheTrackModal`,props:[`popupDetails`,`closeDialog`],setup(e){let n=e.popupDetails,r=Y(),s=X(),c=t(!1),l=async e=>{c.value=!0,await s.rewardEntry(e,[],[]),c.value=!1},u=t(null);return m(()=>{u.value&&u.value.removeAttribute(`id`)}),(t,s)=>N(n).open?(d(),i(`div`,{key:0,id:`smack-the-track-modal`,"aria-modal":`true`,role:`dialog`,ref_key:`modalWrapper`,ref:u},[a(Ke,{width:`auto`,closable:!0,onClose:e.closeDialog},{default:b(()=>[T(`h3`,null,M(N(n).title),1),T(`p`,Jn,M(N(n).message),1),N(r).isUserAuthenticated?(d(),i(S,{key:0},[N(n).rewards.length?(d(),i(`ul`,Yn,[(d(!0),i(S,null,se(N(n).rewards,t=>(d(),i(`li`,{class:`reward row align-items-center`,key:t.id},[T(`div`,Xn,[T(`img`,{src:t.photo,alt:t.title},null,8,Zn)]),T(`div`,Qn,[a(N(P),{class:`title`,to:`/rewards/`+t.id,onClick:e.closeDialog},{default:b(()=>[o(M(t.title),1)]),_:2},1032,[`to`,`onClick`]),N(r).isMissingRequiredFields?(d(),i(S,{key:0},[s[4]||=T(`p`,null,`Please complete your profile before entering this reward.`,-1),a(N(P),{to:`/profile/edit`,class:`button btn vue-button`,onClick:e.closeDialog},{default:b(()=>[...s[3]||=[o(`Edit Profile`,-1)]]),_:1},8,[`onClick`])],64)):t.available?(d(),i(S,{key:1},[T(`p`,null,[o(` You have `+M(t.available)+` `,1),t.available>
211?(d(),i(`span`,$n,`entries`)):(d(),i(`span`,er,`entry`)),s[5]||=o(` available.`,-1)]),c.value?(d(),i(`p`,nr,`Entering...`)):(d(),i(`button`,{key:0,class:`btn vue-button`,"data-reward-id":t.id,onClick:s[0]||=e=>{l(e.target.getAttribute(`data-reward-id`))}},`Enter to Win`,8,tr))],64)):(d(),i(S,{key:2},[T(`p`,null,`You have entered `+M(t.entries)+` times.`,1),a(N(P),{class:`btn vue-button`,to:`/rewards/`+t.id,onClick:e.closeDialog},{default:b(()=>[...s[6]||=[o(`View Details`,-1)]]),_:1},8,[`to`,`onClick`])],64))])]))),128))])):g(``,!0),T(`p`,rr,[T(`a`,{class:`btn vue-button vue-button-primary close-button`,onClick:s[1]||=(...t)=>e.closeDialog&&e.closeDialog(...t),role:`button`,href:`#`},`Close`)])],64)):(d(),i(`p`,ir,[s[8]||=o(` You must be logged in before you can get an entry.`,-1),s[9]||=T(`br`,null,null,-1),a(N(P),{class:`btn vue-button`,to:`/profile/login?redirect_url=/listen/`,onClick:e.closeDialog},{default:b(()=>[...s[7]||=[o(`Log in`,-1)]]),_:1},8,[`onClick`]),T(`a`,{class:`btn vue-button vue-button-primary close`,onClick:s[2]||=D((...t)=>e.closeDialog&&e.closeDialog(...t),[`prevent`]),role:`button`,href:`#`},`Close`)]))]),_:1},8,[`onClose`])],512)):g(``,!0)}},[[`__scopeId`,`data-v-ea981f9d`]]),or={key:0,class:`loading-wheel-container mt-2 mb-2 pb-2 pt-2 d-inline-block`},sr=R({__name:`SmackTheTrack`,setup(e){let r=n(`isTimeline`,!0),c=Y(),l=X(),u=t(!1),f=t({open:!1,title:``,message:``,rewards:[]});s(async()=>{c.isUserAuthenticated&&!c.listeningTimeLoaded&&!r&&(u.value=!0,await c.fetchLoggedInUser(),u.value=!1)});let p=async e=>{e.preventDefault();let t=W().latestTrack;u.value=!0;let n=await V.hll_smack_the_track_achieve(t.cut_id,t.id);if(u.value=!1,f.value.open=!0,n.success)f.value.title=`Success`;else{f.value.title=`Something Went Wrong`,n.data===`This cue has already been entered`?f.value.message=`You can only claim an entry once while this song is still playing.`:n.data===`This cue is not being played`?f.value.message=`The stream player is out of sync with the server. Try again in a few seconds.`:n.data===`No rewards with this Track Cut Id at this time.`?f.value.message=`The current track is not eligible for this contest.`:n.data===403?f.value.title=`Please Log In`:f.value.message=`There was an error attempting to get an entry.`,f.value.open=!0;return}n.data.rewards_achieved.forEach(e=>{let t=l.getRewardDetails(e);t.available++,t.achieved=!0,l.updateContest(`reward`,t),f.value.rewards.push(t)}),f.value.message=`Success!`,f.value.message=`You've earned an entry for the following rewards.`,f.value.open=!0},m=e=>{e.preventDefault(),f.value.open=!1};return(e,t)=>(d(),i(S,null,[N(u)?(d(),i(`div`,or,[a(z,{inline:!0,"background-color":`transparent`,"spinner-color":`#ffffff`,centered:!1},{default:b(()=>[...t[0]||=[o(`\xA0`,-1)]]),_:1})])):(d(),i(`a`,{key:1,class:`smack-the-track mt-2 mb-2`,onClick:p,href:`#`,role:`button`},[a(qn),t[1]||=T(`div`,null,[T(`p`,null,`Reward enabled`),T(`p`,{class:`click-for-entry`},`Click here for entry`)],-1)])),(d(),F(oe,{to:N(r)?`#main`:`body`},[N(f).open?(d(),F(ar,{key:0,"popup-details":N(f),"close-dialog":m},null,8,[`popup-details`])):g(``,!0)],8,[`to`]))],64))}},[[`__scopeId`,`data-v-fa42b236`]]),cr={id:`Layer_1`,"data-name":`Layer 1`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 600 600`,height:`30`,width:`30`},lr=[`fill`],ur={__name:`IconHeartOutline`,props:[`fillColor`],setup(e){return(t,n)=>(d(),i(`svg`,cr,[T(`path`,{d:`m421.37,43.55c-59.37,6.78-86.36,41.52-124.9,81.69-46.23-44.98-76.11-80.3-147.12-81.26C69.87,42.98.78,99.07,3.91,186.64c4.47,124.99,140.2,225.88,223.43,306.04l69.18,66.59,83.71-83.04c30.69-30.45,74.52-70.63,114.12-111.62,36.08-37.33,68.7-75.39,84.72-107.38,56.29-112.34-46.23-226.46-157.71-213.66Zm127.7,198.63c-12.24,24.45-38.03,56.86-78.85,99.09-24.52,25.39-51.16,50.9-74.68,73.41-14.09,13.49-27.4,26.24-38.95,37.7l-60.43,59.94-45.54-43.84c-13.53-13.03-28.1-26.3-43.52-40.36-74.12-67.56-166.38-151.64-169.64-242.69-1.05-29.52,8.32-55.41,27.09-74.87,20.25-20.99,50.39-33.02,82.69-33.02h1.69c51.89.71,75,23.46,113.31,61.14,3.53,3.47,7.13,7.01,10.84,10.62l24.23,23.57,23.4-24.4c3.86-4.02,7.6-7.99,11.27-11.88,31.23-33.1,51.86-54.97,93.21-59.7,4.44-.51,8.94-.76,13.41-.76,42.21,0,83.99,23.48,106.43,59.83,11.8,19.12,28.02,58.34,4.04,106.21Z`,fill:e.fillColor??`#000000`},null,8,lr)]))}},dr={__name:`IconHeart`,props:[`fillColor`],setup(e){let t=e;return(e,n)=>
21(d(),i(`svg`,{id:`Layer_1`,"data-name":`Layer 1`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 600 600`,height:`30`,width:`30`,style:w({fill:t.fillColor})},[...n[0]||=[T(`path`,{d:`m296.96,111.95c39.12-40.78,66.52-76.04,126.78-82.93,113.16-12.99,217.23,102.85,160.09,216.89-16.26,32.48-49.37,71.11-86,109.01-40.19,41.61-84.68,82.39-115.84,113.3l-84.98,84.29-70.23-67.59C142.29,403.56,4.52,301.15-.02,174.27-3.19,85.38,66.94,28.44,147.62,29.46c72.08.98,102.41,36.82,149.35,82.49h0Z`},null,-1)]],4))}},fr={key:0,id:`login-to-like-modal`,"aria-modal":`true`,role:`dialog`},pr={class:`text-center`},mr={class:`message text-center`},hr=R({__name:`LoginToLikeModal`,props:[`popupDetails`,`closeDialog`],setup(e){let t=e.popupDetails;return Y(),(n,r)=>(d(),F(oe,{to:`body`},[N(t).open?(d(),i(`div`,fr,[a(Ke,{width:`auto`,closable:!0,onClose:e.closeDialog},{default:b(()=>[T(`h3`,pr,M(N(t).title),1),T(`p`,mr,[o(M(N(t).message),1),r[1]||=T(`br`,null,null,-1),r[2]||=T(`a`,{class:`btn vue-button`,href:`/profile/login`},`Log in`,-1),r[3]||=T(`br`,null,null,-1),T(`a`,{class:`btn vue-button vue-button-primary`,onClick:r[0]||=D((...t)=>e.closeDialog&&e.closeDialog(...t),[`prevent`]),role:`button`,href:`#`},`Close`)])]),_:1},8,[`onClose`])])):g(``,!0)]))}},[[`__scopeId`,`data-v-7dcacdde`]]),gr={key:0},_r={__name:`LikeTrack`,props:[`cutId`,`track`,`fillColor`,`likeColor`,`inlineCount`,`isForNowPlaying`,`sttShowing`,`likeCount`],setup(e){let n=W(),r=Y(),s=Oe(),c=t(!1),l=t({open:!1,title:``,message:``,rewards:[]}),u=()=>{if(c.value)return!1;c.value=!0,r.unlikeItem(e.cutId,`track`).then(t=>(n.decrementTrackLikes(e.cutId),s.decrementTrackLikes(e.cutId),c.value=!1,!0)).catch(e=>(console.log(e),c.value=!1,!1))},f=t=>{if(!r.isUserAuthenticated){l.value.title=`Please log in`,l.value.message=`You must log in to like tracks.`,l.value.open=!0;return}if(c.value)return!1;c.value=!0,r.likeItem(e.cutId,`track`).then(t=>(n.incrementTrackLikes(e.cutId),s.incrementTrackLikes(e.cutId),c.value=!1,!0)).catch(e=>(console.log(e),c.value=!1,!1))},p=e=>{l.value.open=!1};return(t,r)=>(d(),i(S,null,[N(c)?(d(),i(`div`,{key:0,class:k({"likes-loading":!0,"col-sm-3":!e.isForNowPlaying,"col-2":!e.isForNowPlaying,"mx-auto":!0,"ml-xl-0":e.isForNowPlaying,"me-xl-4":e.isForNowPlaying,"mt-2":e.isForNowPlaying,"mb-2":e.isForNowPlaying,"pt-2":e.isForNowPlaying,"pb-2":e.isForNowPlaying,"align-content-center":!e.isForNowPlaying,"align-self-center":!e.isForNowPlaying,"text-center":!e.isForNowPlaying,"now-playing":e.isForNowPlaying,"d-xl-inline-block":e.isForNowPlaying})},[a(z,{inline:`true`,"background-color":`transparent`,"spinner-color":e.fillColor??`#ffffff`},{default:b(()=>[...r[0]||=[o(`\xA0`,-1)]]),_:1},8,[`spinner-color`])],2)):(d(),i(`div`,{key:1,class:k({likes:!0,"col-sm-3":!e.isForNowPlaying,"col-2":!e.isForNowPlaying,"mt-2":e.isForNowPlaying,"mb-2":e.isForNowPlaying,"pt-2":e.isForNowPlaying,"pb-2":e.isForNowPlaying,"mx-auto":!e.isForNowPlaying,"ms-xl-0":e.isForNowPlaying,"me-4":e.isForNowPlaying,"align-content-center":!e.isForNowPlaying,"align-self-center":!e.isForNowPlaying,"text-center":!e.isForNowPlaying,"now-playing":e.isForNowPlaying,"d-xl-inline-block":e.isForNowPlaying}),style:w({color:e.likeColor??`#ffffff`})},[T(`div`,{class:k({"like-buttons":!0,"track-liked":N(n).isTrackLiked(e.cutId)})},[T(`button`,{onClick:f,class:`unlike-button`},[a(dr,{"fill-color":e.fillColor??`#ffffff`},null,8,[`fill-color`])]),T(`button`,{onClick:u,class:`like-button`},[a(ur,{"fill-color":e.fillColor??`#ffffff`},null,8,[`fill-color`])])],2),e.inlineCount?g(``,!0):(d(),i(`br`,gr)),o(` `+M(e.likeCount),1)],6)),a(hr,{"popup-details":N(l),"close-dialog":p},null,8,[`popup-details`])],64))}},vr={},yr={version:`1.1`,id:`US_UK_Download_on_the`,xmlns:`http://www.w3.org/2000/svg`,x:`0px`,y:`0px`,viewBox:`0 0 135 40`,"enable-background":`new 0 0 135 40`,"xml:space":`preserve`};function br(e,t){return d(),i(`svg`,yr,[...t[0]||=[_(`<g><path fill="#A6A6A6" d="M130.197,40H4.729C2.122,40,0,37.872,0,35.267V4.726C0,2.12,2.122,0,4.729,0h125.468
22		C132.803,0,135,2.12,135,4.726v30.541C135,37.872,132.803,40,130.197,40L130.197,40z"></path><path d="M134.032,35.268c0,2.116-1.714,3.83-3.834,3.83H4.729c-2.119,0-3.839-1.714-3.839-3.83V4.725
23		c0-2.115,1.72-3.835,3.839-3.835h125.468c2.121,0,3.834,1.72,3.834,3.835L134.032,35.268L134.032,35.268z"></path><g><g><path fill="#FFFFFF" d="M30.128,19.784c-0.029-3.223,2.639-4.791,2.761-4.864c-1.511-2.203-3.853-2.504-4.676-2.528
24				c-1.967-0.207-3.875,1.177-4.877,1.177c-1.022,0-2.565-1.157-4.228-1.123c-2.14,0.033-4.142,1.272-5.24,3.196
25				c-2.266,3.923-0.576,9.688,1.595,12.859c1.086,1.553,2.355,3.287,4.016,3.226c1.625-0.067,2.232-1.036,4.193-1.036
26				c1.943,0,2.513,1.036,4.207,0.997c1.744-0.028,2.842-1.56,3.89-3.127c1.255-1.78,1.759-3.533,1.779-3.623
27				C33.507,24.924,30.161,23.647,30.128,19.784z"></path><path fill="#FFFFFF" d="M26.928,10.306c0.874-1.093,1.472-2.58,1.306-4.089c-1.265,0.056-2.847,0.875-3.758,1.944
28				c-0.806,0.942-1.526,2.486-1.34,3.938C24.557,12.205,26.016,11.382,26.928,10.306z"></path></g></g><g><path fill="#FFFFFF" d="M53.645,31.504h-2.271l-1.244-3.909h-4.324l-1.185,3.909h-2.211l4.284-13.308h2.646L53.645,31.504z
29			 M49.755,25.955L48.63,22.48c-0.119-0.355-0.342-1.191-0.671-2.507h-0.04c-0.131,0.566-0.342,1.402-0.632,2.507l-1.105,3.475
30			H49.755z"></path><path fill="#FFFFFF" d="M64.662,26.588c0,1.632-0.441,2.922-1.323,3.869c-0.79,0.843-1.771,1.264-2.942,1.264
31			c-1.264,0-2.172-0.454-2.725-1.362h-0.04v5.055h-2.132V25.067c0-1.026-0.027-2.079-0.079-3.159h1.875l0.119,1.521h0.04
32			c0.711-1.146,1.79-1.718,3.238-1.718c1.132,0,2.077,0.447,2.833,1.342C64.284,23.949,64.662,25.127,64.662,26.588z M62.49,26.666
33			c0-0.934-0.21-1.704-0.632-2.31c-0.461-0.632-1.08-0.948-1.856-0.948c-0.526,0-1.004,0.176-1.431,0.523
34			c-0.428,0.35-0.708,0.807-0.839,1.373c-0.066,0.264-0.099,0.48-0.099,0.65v1.6c0,0.698,0.214,1.287,0.642,1.768
35			s0.984,0.721,1.668,0.721c0.803,0,1.428-0.31,1.875-0.928C62.266,28.496,62.49,27.68,62.49,26.666z"></path><path fill="#FFFFFF" d="M75.699,26.588c0,1.632-0.441,2.922-1.324,3.869c-0.789,0.843-1.77,1.264-2.941,1.264
36			c-1.264,0-2.172-0.454-2.724-1.362H68.67v5.055h-2.132V25.067c0-1.026-0.027-2.079-0.079-3.159h1.875l0.119,1.521h0.04
37			c0.71-1.146,1.789-1.718,3.238-1.718c1.131,0,2.076,0.447,2.834,1.342C75.32,23.949,75.699,25.127,75.699,26.588z M73.527,26.666
38			c0-0.934-0.211-1.704-0.633-2.31c-0.461-0.632-1.078-0.948-1.855-0.948c-0.527,0-1.004,0.176-1.432,0.523
39			c-0.428,0.35-0.707,0.807-0.838,1.373c-0.065,0.264-0.099,0.48-0.099,0.65v1.6c0,0.698,0.214,1.287,0.64,1.768
40			c0.428,0.48,0.984,0.721,1.67,0.721c0.803,0,1.428-0.31,1.875-0.928C73.303,28.496,73.527,27.68,73.527,26.666z"></path><path fill="#FFFFFF" d="M88.039,27.772c0,1.132-0.393,2.053-1.182,2.764c-0.867,0.777-2.074,1.165-3.625,1.165
41			c-1.432,0-2.58-0.276-3.449-0.829l0.494-1.777c0.936,0.566,1.963,0.85,3.082,0.85c0.803,0,1.428-0.182,1.877-0.544
42			c0.447-0.362,0.67-0.848,0.67-1.454c0-0.54-0.184-0.995-0.553-1.364c-0.367-0.369-0.98-0.712-1.836-1.029
43			c-2.33-0.869-3.494-2.142-3.494-3.816c0-1.094,0.408-1.991,1.225-2.689c0.814-0.699,1.9-1.048,3.258-1.048
44			c1.211,0,2.217,0.211,3.02,0.632l-0.533,1.738c-0.75-0.408-1.598-0.612-2.547-0.612c-0.75,0-1.336,0.185-1.756,0.553
45			c-0.355,0.329-0.533,0.73-0.533,1.205c0,0.526,0.203,0.961,0.611,1.303c0.355,0.316,1,0.658,1.936,1.027
46			c1.145,0.461,1.986,1,2.527,1.618C87.77,26.081,88.039,26.852,88.039,27.772z"></path><path fill="#FFFFFF" d="M95.088,23.508h-2.35v4.659c0,1.185,0.414,1.777,1.244,1.777c0.381,0,0.697-0.033,0.947-0.099l0.059,1.619
47			c-0.42,0.157-0.973,0.236-1.658,0.236c-0.842,0-1.5-0.257-1.975-0.77c-0.473-0.514-0.711-1.376-0.711-2.587v-4.837h-1.4v-1.6h1.4
48			v-1.757l2.094-0.632v2.389h2.35V23.508z"></path><path fill="#FFFFFF" d="M105.691,26.627c0,1.475-0.422,2.686-1.264,3.633c-0.883,0.975-2.055,1.461-3.516,1.461
49			c-1.408,0-2.529-0.467-3.365-1.401s-1.254-2.113-1.254-3.534c0-1.487,0.43-2.705,1.293-3.652c0.861-0.948,2.023-1.422,3.484-1.422
50			c1.408,0,2.541,0.467,3.396,1.402C105.283,24.021,105.691,25.192,105.691,26.627z M103.479,26.696
51			c0-0.885-0.189-1.644-0.572-2.277c-0.447-0.766-1.086-1.148-1.914-1.148c-0.857,0-1.508,0.383-1.955,1.148
52			c-0.383,0.634-0.572,1.405-0.572,2.317c0,0.885,0.189,1.644,0.572,2.276c0.461,0.766,1.105,1.148,1.936,1.148
53			c0.814,0,1.453-0.39,1.914-1.168C103.281,28.347,103.479,27.58,103.479,26.696z"></path><path fill="#FFFFFF" d="M112.621,23.783c-0.211-0.039-0.436-0.059-0.672-0.059c-0.75,0-1.33,0.283-1.738,0.85
54			c-0.355,0.5-0.533,1.132-0.533,1.895v5.035h-2.131l0.02-6.574c0-1.106-0.027-2.113-0.08-3.021h1.857l0.078,1.836h0.059
55			c0.225-0.631,0.58-1.139,1.066-1.52c0.475-0.343,0.988-0.514,1.541-0.514c0.197,0,0.375,0.014,0.533,0.039V23.783z"></path><path fill="#FFFFFF" d="M122.156,26.252c0,0.382-0.025,0.704-0.078,0.967h-6.396c0.025,0.948,0.334,1.673,0.928,2.173
56			c0.539,0.447,1.236,0.671,2.092,0.671c0.947,0,1.811-0.151,2.588-0.454l0.334,1.48c-0.908,0.396-1.98,0.593-3.217,0.593
57			c-1.488,0-2.656-0.438-3.506-1.313c-0.848-0.875-1.273-2.05-1.273-3.524c0-1.447,0.395-2.652,1.186-3.613
58			c0.828-1.026,1.947-1.539,3.355-1.539c1.383,0,2.43,0.513,3.141,1.539C121.873,24.047,122.156,25.055,122.156,26.252z
59			 M120.123,25.699c0.014-0.632-0.125-1.178-0.414-1.639c-0.369-0.593-0.936-0.889-1.699-0.889c-0.697,0-1.264,0.289-1.697,0.869
60			c-0.355,0.461-0.566,1.014-0.631,1.658H120.123z"></path></g><g><g><path fill="#FFFFFF" d="M49.05,10.009c0,1.177-0.353,2.063-1.058,2.658c-0.653,0.549-1.581,0.824-2.783,0.824
61				c-0.596,0-1.106-0.026-1.533-0.078V6.982c0.557-0.09,1.157-0.136,1.805-0.136c1.145,0,2.008,0.249,2.59,0.747
62				C48.723,8.156,49.05,8.961,49.05,10.009z M47.945,10.038c0-0.763-0.202-1.348-0.606-1.756c-0.404-0.407-0.994-0.611-1.771-0.611
63				c-0.33,0-0.611,0.022-0.844,0.068v4.889c0.129,0.02,0.365,0.029,0.708,0.029c0.802,0,1.421-0.223,1.857-0.669
64				S47.945,10.892,47.945,10.038z"></path><path fill="#FFFFFF" d="M54.909,11.037c0,0.725-0.207,1.319-0.621,1.785c-0.434,0.479-1.009,0.718-1.727,0.718
65				c-0.692,0-1.243-0.229-1.654-0.689c-0.41-0.459-0.615-1.038-0.615-1.736c0-0.73,0.211-1.329,0.635-1.794s0.994-0.698,1.712-0.698
66				c0.692,0,1.248,0.229,1.669,0.688C54.708,9.757,54.909,10.333,54.909,11.037z M53.822,11.071c0-0.435-0.094-0.808-0.281-1.119
67				c-0.22-0.376-0.533-0.564-0.94-0.564c-0.421,0-0.741,0.188-0.961,0.564c-0.188,0.311-0.281,0.69-0.281,1.138
68				c0,0.435,0.094,0.808,0.281,1.119c0.227,0.376,0.543,0.564,0.951,0.564c0.4,0,0.714-0.191,0.94-0.574
69				C53.725,11.882,53.822,11.506,53.822,11.071z"></path><path fill="#FFFFFF" d="M62.765,8.719l-1.475,4.714h-0.96l-0.611-2.047c-0.155-0.511-0.281-1.019-0.379-1.523h-0.019
70				c-0.091,0.518-0.217,1.025-0.379,1.523l-0.649,2.047h-0.971l-1.387-4.714h1.077l0.533,2.241c0.129,0.53,0.235,1.035,0.32,1.513
71				h0.019c0.078-0.394,0.207-0.896,0.389-1.503l0.669-2.25h0.854l0.641,2.202c0.155,0.537,0.281,1.054,0.378,1.552h0.029
72				c0.071-0.485,0.178-1.002,0.32-1.552l0.572-2.202H62.765z"></path><path fill="#FFFFFF" d="M68.198,13.433H67.15v-2.7c0-0.832-0.316-1.248-0.95-1.248c-0.311,0-0.562,0.114-0.757,0.343
73				c-0.193,0.229-0.291,0.499-0.291,0.808v2.796h-1.048v-3.366c0-0.414-0.013-0.863-0.038-1.349h0.921l0.049,0.737h0.029
74				c0.122-0.229,0.304-0.418,0.543-0.569c0.284-0.176,0.602-0.265,0.95-0.265c0.44,0,0.806,0.142,1.097,0.427
75				c0.362,0.349,0.543,0.87,0.543,1.562V13.433z"></path><path fill="#FFFFFF" d="M71.088,13.433h-1.047V6.556h1.047V13.433z"></path><path fill="#FFFFFF" d="M77.258,11.037c0,0.725-0.207,1.319-0.621,1.785c-0.434,0.479-1.01,0.718-1.727,0.718
76				c-0.693,0-1.244-0.229-1.654-0.689c-0.41-0.459-0.615-1.038-0.615-1.736c0-0.73,0.211-1.329,0.635-1.794s0.994-0.698,1.711-0.698
77				c0.693,0,1.248,0.229,1.67,0.688C77.057,9.757,77.258,10.333,77.258,11.037z M76.17,11.071c0-0.435-0.094-0.808-0.281-1.119
78				c-0.219-0.376-0.533-0.564-0.939-0.564c-0.422,0-0.742,0.188-0.961,0.564c-0.188,0.311-0.281,0.69-0.281,1.138
79				c0,0.435,0.094,0.808,0.281,1.119c0.227,0.376,0.543,0.564,0.951,0.564c0.4,0,0.713-0.191,0.939-0.574
80				C76.074,11.882,76.17,11.506,76.17,11.071z"></path><path fill="#FFFFFF" d="M82.33,13.433h-0.941l-0.078-0.543h-0.029c-0.322,0.433-0.781,0.65-1.377,0.65
81				c-0.445,0-0.805-0.143-1.076-0.427c-0.246-0.258-0.369-0.579-0.369-0.96c0-0.576,0.24-1.015,0.723-1.319
82				c0.482-0.304,1.16-0.453,2.033-0.446V10.3c0-0.621-0.326-0.931-0.979-0.931c-0.465,0-0.875,0.117-1.229,0.349l-0.213-0.688
83				c0.438-0.271,0.979-0.407,1.617-0.407c1.232,0,1.85,0.65,1.85,1.95v1.736C82.262,12.78,82.285,13.155,82.33,13.433z
84				 M81.242,11.813v-0.727c-1.156-0.02-1.734,0.297-1.734,0.95c0,0.246,0.066,0.43,0.201,0.553c0.135,0.123,0.307,0.184,0.512,0.184
85				c0.23,0,0.445-0.073,0.641-0.218c0.197-0.146,0.318-0.331,0.363-0.558C81.236,11.946,81.242,11.884,81.242,11.813z"></path><path fill="#FFFFFF" d="M88.285,13.433h-0.93l-0.049-0.757h-0.029c-0.297,0.576-0.803,0.864-1.514,0.864
86				c-0.568,0-1.041-0.223-1.416-0.669s-0.562-1.025-0.562-1.736c0-0.763,0.203-1.381,0.611-1.853c0.395-0.44,0.879-0.66,1.455-0.66
87				c0.633,0,1.076,0.213,1.328,0.64h0.02V6.556h1.049v5.607C88.248,12.622,88.26,13.045,88.285,13.433z M87.199,11.445v-0.786
88				c0-0.136-0.01-0.246-0.029-0.33c-0.059-0.252-0.186-0.464-0.379-0.635c-0.195-0.171-0.43-0.257-0.701-0.257
89				c-0.391,0-0.697,0.155-0.922,0.466c-0.223,0.311-0.336,0.708-0.336,1.193c0,0.466,0.107,0.844,0.322,1.135
90				c0.227,0.31,0.533,0.465,0.916,0.465c0.344,0,0.619-0.129,0.828-0.388C87.1,12.069,87.199,11.781,87.199,11.445z"></path><path fill="#FFFFFF" d="M97.248,11.037c0,0.725-0.207,1.319-0.621,1.785c-0.434,0.479-1.008,0.718-1.727,0.718
91				c-0.691,0-1.242-0.229-1.654-0.689c-0.41-0.459-0.615-1.038-0.615-1.736c0-0.73,0.211-1.329,0.635-1.794s0.994-0.698,1.713-0.698
92				c0.691,0,1.248,0.229,1.668,0.688C97.047,9.757,97.248,10.333,97.248,11.037z M96.162,11.071c0-0.435-0.094-0.808-0.281-1.119
93				c-0.221-0.376-0.533-0.564-0.941-0.564c-0.42,0-0.74,0.188-0.961,0.564c-0.188,0.311-0.281,0.69-0.281,1.138
94				c0,0.435,0.094,0.808,0.281,1.119c0.227,0.376,0.543,0.564,0.951,0.564c0.4,0,0.715-0.191,0.941-0.574
95				C96.064,11.882,96.162,11.506,96.162,11.071z"></path><path fill="#FFFFFF" d="M102.883,13.433h-1.047v-2.7c0-0.832-0.316-1.248-0.951-1.248c-0.311,0-0.562,0.114-0.756,0.343
96				s-0.291,0.499-0.291,0.808v2.796h-1.049v-3.366c0-0.414-0.012-0.863-0.037-1.349h0.92l0.049,0.737h0.029
97				c0.123-0.229,0.305-0.418,0.543-0.569c0.285-0.176,0.602-0.265,0.951-0.265c0.439,0,0.805,0.142,1.096,0.427
98				c0.363,0.349,0.543,0.87,0.543,1.562V13.433z"></path><path fill="#FFFFFF" d="M109.936,9.504h-1.154v2.29c0,0.582,0.205,0.873,0.611,0.873c0.188,0,0.344-0.016,0.467-0.049
99				l0.027,0.795c-0.207,0.078-0.479,0.117-0.814,0.117c-0.414,0-0.736-0.126-0.969-0.378c-0.234-0.252-0.35-0.676-0.35-1.271V9.504
100				h-0.689V8.719h0.689V7.855l1.027-0.31v1.173h1.154V9.504z"></path><path fill="#FFFFFF" d="M115.484,13.433h-1.049v-2.68c0-0.845-0.316-1.268-0.949-1.268c-0.486,0-0.818,0.245-1,0.735
101				c-0.031,0.103-0.049,0.229-0.049,0.377v2.835h-1.047V6.556h1.047v2.841h0.02c0.33-0.517,0.803-0.775,1.416-0.775
102				c0.434,0,0.793,0.142,1.078,0.427c0.355,0.355,0.533,0.883,0.533,1.581V13.433z"></path><path fill="#FFFFFF" d="M121.207,10.853c0,0.188-0.014,0.346-0.039,0.475h-3.143c0.014,0.466,0.164,0.821,0.455,1.067
103				c0.266,0.22,0.609,0.33,1.029,0.33c0.465,0,0.889-0.074,1.271-0.223l0.164,0.728c-0.447,0.194-0.973,0.291-1.582,0.291
104				c-0.73,0-1.305-0.215-1.721-0.645c-0.418-0.43-0.625-1.007-0.625-1.731c0-0.711,0.193-1.303,0.582-1.775
105				c0.406-0.504,0.955-0.756,1.648-0.756c0.678,0,1.193,0.252,1.541,0.756C121.068,9.77,121.207,10.265,121.207,10.853z
106				 M120.207,10.582c0.008-0.311-0.061-0.579-0.203-0.805c-0.182-0.291-0.459-0.437-0.834-0.437c-0.342,0-0.621,0.142-0.834,0.427
107				c-0.174,0.227-0.277,0.498-0.311,0.815H120.207z"></path></g></g></g>`,1)]])}var xr=R(vr,[[`render`,br]]),Sr={},Cr={id:`svg51`,version:`1.1`,viewBox:`0 0 180 53.333`,"xml:space":`preserve`,xmlns:`http://www.w3.org/2000/svg`};function wr(e,t){return d(),i(`svg`,Cr,[...t[0]||=[_(`<path id="path11" d="m173.33 53.333h-166.66c-3.6666 0-6.6665-2.9999-6.6665-6.6665v-39.999
107c0-3.6666 2.9999-6.6665 6.6665-6.6665h166.66c3.6666 0 6.6665 2.9999 6.6665 6.6665v39.999c0 3.6666-2.9999 6.6665-6.6665 6.6665" fill="#100f0d" stroke-width=".13333"></path><path id="path13" d="m173.33 1e-3h-166.66c-3.6666 0-6.6665 2.9999-6.6665 6.6665v39.999c0 3.6666 2.9999 6.6665 6.6665 6.6665h166.66c3.6666 0 6.6665-2.9999 6.6665-6.6665v-39.999c0-3.6666-2.9999-6.6665-6.6665-6.6665zm0 1.0661c3.0879 0 5.5999 2.5125 5.5999 5.6004v39.999c0 3.0879-2.5119 5.6004-5.5999 5.6004h-166.66c-3.0879 0-5.5993-2.5125-5.5993-5.6004v-39.999c0-3.0879 2.5114-5.6004 5.5993-5.6004h166.66" fill="#a2a2a1" stroke-width=".13333"></path><path id="path35" d="m142.58 40h2.4879v-16.669h-2.4879zm22.409-10.664-2.8519 7.2264h-0.0853l-2.9599-7.2264h-2.6799l4.4399 10.1-2.5319 5.6185h2.5946l6.8412-15.718zm-14.11 8.7706c-0.81331 0-1.9506-0.40786-1.9506-1.4156 0-1.2865 1.416-1.7797 2.6373-1.7797 1.0933 0 1.6093 0.23546 2.2733 0.55732-0.19333 1.5442-1.5226 2.6379-2.9599 2.6379zm0.30133-9.1352c-1.8013 0-3.6666 0.79371-4.4386 2.5521l2.208 0.92184c0.47198-0.92184 1.3506-1.2218 2.2733-1.2218 1.2866 0 2.5946 0.77131 2.6159 2.1442v0.17133c-0.45066-0.25733-1.416-0.64318-2.5946-0.64318-2.3813 0-4.8039 1.3077-4.8039 3.7524 0 2.2302 1.952 3.6671 4.1386 3.6671 1.672 0 2.5959-0.75054 3.1732-1.6301h0.0867v1.2874h2.4026v-6.391c0-2.9593-2.2106-4.6103-5.0612-4.6103zm-15.376 2.3937h-3.5386v-5.7133h3.5386c1.86 0 2.9159 1.5396 2.9159 2.8566 0 1.2917-1.056 2.8567-2.9159 2.8567zm-0.064-8.0337h-5.9614v16.669h2.4869v-6.3149h3.4746c2.7573 0 5.4679-1.9958 5.4679-5.1765 0-3.1801-2.7106-5.1769-5.4679-5.1769zm-32.507 14.778c-1.7188 0-3.1573-1.4396-3.1573-3.415 0-1.9984 1.4385-3.4583 3.1573-3.4583 1.6969 0 3.0286 1.46 3.0286 3.4583 0 1.9754-1.3317 3.415-3.0286 3.415zm2.8567-7.8403h-0.086c-0.55826-0.66572-1.6328-1.2672-2.9853-1.2672-2.8359 0-5.4348 2.4921-5.4348 5.6925 0 3.1786 2.5989 5.6488 5.4348 5.6488 1.3525 0 2.427-0.6016 2.9853-1.2885h0.086v0.81558c0 2.1703-1.1598 3.3296-3.0286 3.3296-1.5245 0-2.4697-1.0953-2.8567-2.0188l-2.1691 0.90206c0.62238 1.503 2.2759 3.351 5.0259 3.351 2.9218 0 5.392-1.7188 5.392-5.9077v-10.181h-2.3634zm4.0822 9.7304h2.4906v-16.669h-2.4906zm6.164-5.4988c-0.0641-2.1911 1.6978-3.3078 2.9645-3.3078 0.98851 0 1.8254 0.49425 2.1057 1.2026zm7.7326-1.8906c-0.47238-1.2666-1.9114-3.6082-4.8541-3.6082-2.9218 0-5.3488 2.2983-5.3488 5.6707 0 3.1791 2.4062 5.6707 5.6275 5.6707 2.5989 0 4.1031-1.589 4.7264-2.513l-1.9333-1.289c-0.64465 0.94531-1.5249 1.5682-2.7931 1.5682-1.2666 0-2.1692-0.58012-2.7483-1.7186l7.5815-3.1359zm-60.409-1.8682v2.4057h5.7565c-0.17186 1.3532-0.62292 2.3411-1.3104 3.0286-0.83798 0.83745-2.1483 1.7614-4.4462 1.7614-3.5443 0-6.315-2.8567-6.315-6.4009s2.7707-6.4013 6.315-6.4013c1.9118 0 3.3077 0.75198 4.3388 1.7186l1.6974-1.6973c-1.4396-1.3745-3.351-2.427-6.0362-2.427-4.8552 0-8.9363 3.9524-8.9363 8.807 0 4.8541 4.0811 8.8066 8.9363 8.8066 2.6202 0 4.5967-0.85932 6.143-2.4702 1.5896-1.5896 2.0838-3.8234 2.0838-5.628 0-0.55785-0.04333-1.0734-0.1292-1.5032zm14.772 7.3675c-1.7188 0-3.201-1.4177-3.201-3.4368 0-2.0406 1.4822-3.4364 3.201-3.4364 1.7181 0 3.2003 1.3958 3.2003 3.4364 0 2.0191-1.4822 3.4368-3.2003 3.4368zm0-9.1075c-3.137 0-5.6927 2.3842-5.6927 5.6707 0 3.265 2.5557 5.6707 5.6927 5.6707 3.1358 0 5.692-2.4057 5.692-5.6707 0-3.2865-2.5562-5.6707-5.692-5.6707zm12.417 9.1075c-1.7176 0-3.2003-1.4177-3.2003-3.4368 0-2.0406 1.4828-3.4364 3.2003-3.4364 1.7188 0 3.2005 1.3958 3.2005 3.4364 0 2.0191-1.4817 3.4368-3.2005 3.4368zm0-9.1075c-3.1358 0-5.6915 2.3842-5.6915 5.6707 0 3.265 2.5557 5.6707 5.6915 5.6707 3.137 0 5.6927-2.4057 5.6927-5.6707 0-3.2865-2.5557-5.6707-5.6927-5.6707" fill="#fff" stroke-width=".13333"></path><path id="path37" d="m27.622 25.899-14.194 15.066c5.34e-4 0.0031 0.0016 0.0057 0.0021 0.0089 0.43532 1.636 1.9296 2.8406 3.703 2.8406 0.70892 0 1.3745-0.19166 1.9453-0.52812l0.04533-0.02656 15.978-9.22-7.479-8.141" fill="#eb3131" stroke-width=".13333"></path><path id="path39" d="m41.983 23.334-0.0136-0.0093-6.8982-3.999-7.7717 6.9156 7.7987 7.7977 6.8618-3.9592c1.203-0.64945 2.0197-1.9177 2.0197-3.3802 0-1.452-0.80571-2.7139-1.9968-3.3655" fill="#f6b60b" stroke-width=".13333"></path><path id="path41" d="m13.426 12.37c-0.08533 0.31466-0.13018 0.64425-0.13018 0.98651v26.623c0 0.34162 0.04432 0.67233 0.13072 0.98587l14.684-14.681-14.684
107-13.914" fill="#5778c5" stroke-width=".13333"></path><path id="path43" d="m27.727 26.668 7.3473-7.3451-15.96-9.2534c-0.58012-0.34746-1.2572-0.54799-1.9817-0.54799-1.7734 0-3.2697 1.2068-3.7051 2.8447-5.34e-4 0.0016-5.34e-4 0.0027-5.34e-4 0.0041l14.3 14.298" fill="#3bad49" stroke-width=".13333"></path><path id="path33" d="m63.193 13.042h-3.8895v0.96251h2.9146c-0.0792 0.78545-0.39172 1.4021-0.91878 1.85-0.52705 0.44799-1.2 0.67292-1.9958 0.67292-0.87291 0-1.6125-0.30413-2.2186-0.90824-0.59385-0.61665-0.89584-1.3792-0.89584-2.2979 0-0.91864 0.30199-1.6812 0.89584-2.2978 0.60612-0.60412 1.3457-0.90624 2.2186-0.90624 0.44799 0 0.87504 0.07707 1.2666 0.24586 0.39172 0.16866 0.70625 0.40412 0.95211 0.70625l0.73958-0.73958c-0.33546-0.38132-0.76038-0.67292-1.2876-0.88544-0.52705-0.21253-1.077-0.31453-1.6708-0.31453-1.1645 0-2.1519 0.40412-2.9582 1.2104-0.80625 0.80825-1.2104 1.8041-1.2104 2.9811 0 1.177 0.40412 2.175 1.2104 2.9813 0.80625 0.80611 1.7937 1.2104 2.9582 1.2104 1.2229 0 2.1979-0.39172 2.9479-1.1876 0.66038-0.66238 0.99784-1.5582 0.99784-2.679 0-0.1896-0.02293-0.39172-0.05627-0.60425zm1.5068-3.7332v8.0249h4.6852v-0.98544h-3.654v-2.5457h3.2958v-0.96251h-3.2958v-2.5437h3.654v-0.98758zm11.255 0.98758v-0.98758h-5.5145v0.98758h2.2417v7.0373h1.0312v-7.0373zm4.9925-0.98758h-1.0312v8.0249h1.0312zm6.8066 0.98758v-0.98758h-5.5144v0.98758h2.2415v7.0373h1.0312v-7.0373zm10.406 0.05626c-0.79585-0.81877-1.7708-1.2229-2.9354-1.2229-1.1666 0-2.1415 0.40412-2.9374 1.2104-0.79585 0.79585-1.1874 1.7937-1.1874 2.9811s0.39159 2.1854 1.1874 2.9813c0.79585 0.80611 1.7708 1.2104 2.9374 1.2104 1.1541 0 2.1395-0.40426 2.9354-1.2104 0.79585-0.79585 1.1874-1.7938 1.1874-2.9813 0-1.177-0.39159-2.1729-1.1874-2.9686zm-5.1332 0.67078c0.59372-0.60412 1.3229-0.90624 2.1978-0.90624 0.87291 0 1.6021 0.30213 2.1854 0.90624 0.59372 0.59372 0.88531 1.3686 0.88531 2.2978 0 0.93131-0.29159 1.7041-0.88531 2.2979-0.58332 0.60412-1.3125 0.90824-2.1854 0.90824-0.87491 0-1.6041-0.30413-2.1978-0.90824-0.58132-0.60625-0.87291-1.3666-0.87291-2.2979 0-0.92918 0.29159-1.6916 0.87291-2.2978zm8.7706 1.3125-0.0437-1.548h0.0437l4.0791 6.5457h1.077v-8.0249h-1.0312v4.6957l0.0437 1.548h-0.0437l-3.8999-6.2437h-1.2562v8.0249h1.0312z" fill="#fff" stroke="#fff" stroke-miterlimit="10" stroke-width=".26666"></path>`,8)]])}var Tr=R(Sr,[[`render`,wr]]),Er={},Dr={id:`badge`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1500 692.47`};function Or(e,t){return d(),i(`svg`,Dr,[...t[0]||=[_(`<title data-v-454a6c93>just-ask-alexa-badge</title><g id="bkg_stroke" data-name="bkg/stroke" data-v-454a6c93><path id="bkg" class="cls-1" d="M1334.61,9.67H165.39A155.72,155.72,0,0,0,9.67,165.39V531.07A151.73,151.73,0,0,0,161.4,682.8H1334.61a155.72,155.72,0,0,0,155.72-155.72V165.39A155.72,155.72,0,0,0,1334.61,9.67Z" data-v-454a6c93></path><path id="stroke" class="cls-2" d="M1334.61,9.67a155.72,155.72,0,0,1,155.72,155.72V527.08A155.72,155.72,0,0,1,1334.61,682.8H161.4A151.73,151.73,0,0,1,9.67,531.07V165.39A155.72,155.72,0,0,1,165.39,9.67H1334.61m0-9.67H165.39C74.19,0,0,74.19,0,165.39V531.07c0,89,72.4,161.4,161.4,161.4H1334.61c91.2,0,165.39-74.2,165.39-165.39V165.39C1500,74.19,1425.81,0,1334.61,0Z" data-v-454a6c93></path></g><g id="copy" data-v-454a6c93><g id="alexa" data-v-454a6c93><path class="cls-3" d="M826.14,520.34l-1.26-14.59q-27.27,21.87-57.07,21.88-21.87,0-34.72-12.53t-12.84-33.45q0-23.13,15.86-36.46t43.11-13.31q21.24,0,45.34,7.29V412.54q0-19.34-9.19-27.74t-30.44-8.4q-22.95,0-48.74,8.3a4.16,4.16,0,0,1-5.47-3.93v-6.38a4.14,4.14,0,0,1,2.51-3.84A137.56,137.56,0,0,1,758,363.08a146.21,146.21,0,0,1,29.81-3.17q27.88,0,41.37,11.73t13.47,35.51V520a4.15,4.15,0,0,1-4.15,4.15h-8.21A4.15,4.15,0,0,1,826.14,520.34Zm-55.79-9.2a78.19,78.19,0,0,0,26-4.92,144,144,0,0,0,28.22-13.79V452.8a158.75,158.75,0,0,0-41.21-5.7q-44.4,0-44.39,34.24,0,14.58,7.93,22.19T770.35,511.14Z" data-v-454a6c93></path><path class="cls-3" d="M928.23,519.61a4.11,4.11,0,0,1-3.17,4,60.93,60.93,0,0,1-13,1.45q-12.67,0-19.81-7.45t-7.14-20.77V293.68a4.15,4.15,0,0,1,4.16-4.15H899a4.15,4.15,0,0,1,4.15,4.15V496.56q0,7,2.7,9.82t9.67,2.86q3.47,0,8.11-.45a4.16,4.16,0,0,1,4.57,4.12Z" data-v-454a6c93></path><path class="cls-3" d="M1210.74,522.36l-47.9-68.61-47,68.58a4.14,4.14,0,0,1-3.42,1.81h-10a4.16,4.16,0,0,1-3.38-6.57l54.6-76.5-49.56-69.85a4.15,4.15,0,0,1,3.38-6.55h11a4.15,4.15,0,0,1,3.4,1.76l42.51,60.69,42.51-60.69a4.18,4.18,0,0,1,3.4-1.76h9.73a4.14,4.14,0,0,1,3.37,6.56l-49.18,68.57,54.69,77.8a4.15,4.15,0,0,1-3.39,6.54h-11.41A4.17,4.17,0,0,1,1210.74,522.36Z" data-v-454a6c93></path><path class="cls-3" d="M1350.83,520.34l-1.26-14.59q-27.27,21.87-57.06,21.88-21.88,0-34.72-12.53T1245,481.65q0-23.13,15.85-36.46t43.12-13.31q21.24,0,45.34,7.29V412.54q0-19.34-9.2-27.74t-30.43-8.4q-23,0-48.74,8.3a4.17,4.17,0,0,1-5.48-3.93v-6.38a4.15,4.15,0,0,1,2.52-3.84,137.56,137.56,0,0,1,24.75-7.47,146.11,146.11,0,0,1,29.8-3.17q27.9,0,41.37,11.73t13.48,35.51V520a4.15,4.15,0,0,1-4.15,4.15H1355A4.16,4.16,0,0,1,1350.83,520.34Zm-55.79-9.2a78.24,78.24,0,0,0,26-4.92,144,144,0,0,0,28.22-13.79V452.8a158.82,158.82,0,0,0-41.22-5.7q-44.38,0-44.38,34.24,0,14.58,7.92,22.19T1295,511.14Z" data-v-454a6c93></path><path class="cls-3" d="M1064.88,402.38" data-v-454a6c93></path><path class="cls-3" d="M974.12,496.56c-8-8.87-12.27-19.51-13.86-39,10.7,2.55,32.52,7.24,48,7.24,31.25,0,65.37-9.73,65.37-52.46,0-36.09-24.47-52.46-59.61-52.46q-34.56,0-53.74,22t-19.18,62q0,42.18,19,63.57t56.75,21.4q28.82,0,50.28-10.91a6.17,6.17,0,0,0,3.29-5.51v-5a4.13,4.13,0,0,0-5.59-3.88,127.38,127.38,0,0,1-46.72,8.77Q988.38,512.41,974.12,496.56Zm38.36-120.48c23.68,0,43.75,9,43.75,36.29,0,29-25,36.29-49.52,36.29-15.56,0-37-3.14-47.11-4.79,0-1.23-.06-2.45-.07-3.75C961.63,398.46,979.45,376.08,1012.48,376.08Z" data-v-454a6c93></path></g><g id="just_ask" data-name="just ask" data-v-454a6c93><path class="cls-3" d="M725.33,230.08a49,49,0,0,0,13.27,2q7,0,10-3.44t3-11.38v-57H766V217q0,13.5-6.46,20.45t-19.14,6.93a42.4,42.4,0,0,1-15.06-3Z" data-v-454a6c93></path><path class="cls-3" d="M845.64,160.25H860.1v52q0,15.42-8.53,23.77c-5.7,5.57-13.86,8.36-24.54,8.36s-18.84-2.79-24.54-8.36S794,222.57,794,212.29v-52h14.46v53q0,9.24,4.74,14.16T827,232.33q9.12,0,13.87-4.93t4.74-14.16Z" data-v-454a6c93></path><path class="cls-3" d="M904.06,204.59q-9.81-3.78-14.26-9.07a19.81,19.81,0,0,1-4.44-13.22q0-11,7.77-17.48T914,158.36a62,62,0,0,1,22.18,4.27v11.5a69.2,69.2,0,0,0-20.65-3.56q-15.51,0-15.51,10.54a8.64,8.64,0,0,0,2.81,6.64q2.79,2.63,9.93,5.22l9.93,3.68c6.54,2.44,11.28,5.42,14.2,8.89s4.38,7.9,4.38,13.27q0,12-8.42,18.79t-23.12,6.82a64.53,64.53,0,0,1-12.56-1.25,46.87,46.87,0,0,1-11-3.5V228.18a81,81,0,0,0,12,2.95,66.83,66.83,0,0,0,11.28,1.07q8.29,0,12.73-3a9.88,9.88,0,0,0,4.44-8.71,8.86,8.86,0,0,0-2.69-6.64q-2.68-2.6-9.47-5.22Z" data-v-454a6c93></path><path class="cls-3" d="M984.1,242.4V172.11H958.38V160.25h65.91v11.86H998.56V242.4Z" data-v-454a6c93></path><path class="cls-3" d="M1137.73,242.4l-6.88-20.63H1098l-6.63,20.63h-14.46l30-82.15h15.64l29.59,82.15Zm-36.28-31.18h26.08l-13.11-37.93Z" data-v-454a6c93></path><path class="cls-3" d="M1187.84,204.59q-9.81-3.78-14.26-9.07a19.81,19.81,0,0,1-4.44-13.22q0-11,7.77-17.48t20.91-6.46a62,62,0,0,1,22.18,4.27v11.5a69.2,69.2,0,0,0-20.65-3.56q-15.51,0-15.51,10.54a8.64,8.64,0,0,0,2.81,6.64q2.79,2.63,9.93,5.22l9.93,3.68c6.54,2.44,11.28,5.42,14.2,8.89s4.38,7.9,4.38,13.27q0,12-8.42,18.79t-23.12,6.82a64.53,64.53,0,0,1-12.56-1.25,46.87,46.87,0,0,1-11-3.5V228.18a81,81,0,0,0,12,2.95,66.83,66.83,0,0,0,11.28,1.07q8.29,0,12.73-3a9.88,9.88,0,0,0,4.44-8.71,8.86,8.86,0,0,0-2.69-6.64q-2.68-2.6-9.47-5.22Z" data-v-454a6c93></path><path class="cls-3" d="M1250.22,242.4V160.25h14.46v36.16l32.13-36.16h16.59l-35,38.7,38.65,43.45h-18l-34.38-39.11V242.4Z" data-v-454a6c93></path></g></g><path id="icon" class="cls-4" d="M352.4,78.57c-144.2,0-260.64,118.81-260.64,263.35S208.2,605.27,352.4,605.27,613,486.46,613,341.92,496.59,78.57,352.4,78.57ZM311.52,602V549.74a4
1076.27,46.27,0,0,0-28.31-42.42,180.06,180.06,0,0,1-108.54-165.4c0-98.57,79.39-179.58,177.73-179.58s177.72,81,177.72,179.58C530.12,458.22,441.09,568.18,311.52,602Z" data-v-454a6c93></path>`,4)]])}var kr=R(Er,[[`render`,Or],[`__scopeId`,`data-v-454a6c93`]]),Ar={},jr={viewBox:`0 0 165 40`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`};function Mr(e,t){return d(),i(`svg`,jr,[...t[0]||=[_(`<title>spotify-podcast-badge-blk-grn-165x40</title><desc>Created with Sketch.</desc><g id="spotify-podcast-badge-blk-grn-165x40" stroke="none" stroke-width="0" fill="none" fill-rule="evenodd"><g id="Group-2"><path d="M155.462317,0.5 L9.54298794,0.5 C9.23718907,0.500000061 9.10222971,0.500057382 8.9333245,0.500344823 C8.75914935,0.500641232 8.60147796,0.501164881 8.4503371,0.501990385 C8.31093757,0.503042293 8.31093757,0.503042293 8.17123664,0.504701114 C8.05145483,0.50622126 7.95430604,0.507728185 7.73523354,0.511324656 C7.63560663,0.512955798 7.63560663,0.512955798 7.53999468,0.514444796 C6.77532204,0.533501958 6.17590622,0.582235722 5.60805245,0.683921078 C4.97373089,0.794883016 4.40022513,0.982751407 3.84712442,1.26350199 C3.29467346,1.54621893 2.78971907,1.91364998 2.350874,2.35265774 C1.9136357,2.78495239 1.54752652,3.28900419 1.26513746,3.84593553 C0.985573621,4.39236294 0.798895233,4.96583863 0.686361558,5.611175 C0.583694388,6.17433335 0.534557489,6.76869157 0.514887789,7.53850954 C0.510904757,7.67113311 0.508296788,7.80771984 0.505899647,7.99045837 C0.50486648,8.07179097 0.50486648,8.07179097 0.503895865,8.15352806 C0.502129327,8.30229721 0.502129327,8.30229721 0.5,8.4443 C0.5,8.98825 0.5,8.98825 0.5,9.5361 L0.5,30.4648 C0.5,30.904206 0.5,30.904206 0.5,31.3385814 C0.5,31.4485499 0.5,31.4485499 0.499937643,31.5507036 C0.502129454,31.7019465 0.502129454,31.7019465 0.503895689,31.8505134 C0.504852178,31.9308028 0.504852178,31.9308028 0.505868535,32.0105901 C0.508268666,32.1932042 0.510882868,32.330397 0.514950025,32.46773 C0.53455833,33.2352268 0.583696518,33.8295783 0.687037849,34.3965174 C0.799275611,35.040243 0.986350407,35.6158457 1.26553381,36.1597408 C1.54826938,36.7147517 1.914868,37.2179189 2.35426946,37.6489326 C2.78903353,38.087359 3.2925666,38.4535299 3.84733733,38.734707 C4.39339648,39.0144827 4.96441014,39.2017457 5.61010376,39.3183422 C6.16895541,39.4185036 6.75381439,39.4656174 7.53852502,39.4874207 C7.85797197,39.4944423 8.15615495,39.498 8.44996762,39.4980075 C8.60147796,39.4988351 8.75914935,39.4993588 8.9333245,39.4996552 C9.10222971,39.4999426 9.23718907,39.4999999 9.54298794,39.5 L155.462417,39.5 C155.732811,39.5 155.853496,39.4999583 156.004198,39.4997505 C156.203248,39.499476 156.378467,39.4989313 156.547359,39.498 C156.839864,39.498 157.147833,39.4943606 157.45627,39.4874902 C158.246626,39.4656826 158.829251,39.4186451 159.383,39.3184485 C160.029195,39.2018314 160.602236,39.01452 161.155288,38.7338785 C161.707735,38.4533688 162.211183,38.0870066 162.649415,37.6447625 C163.081256,37.2194537 163.449134,36.7156181 163.736761,36.1609378 C164.015456,35.6102074 164.202464,35.0320689 164.310967,34.3909277 C164.412834,33.8435049 164.459672,33.2868196 164.488329,32.4742169 C164.490132,32.3308112 164.491187,32.1827793 164.491715,32.0155813 C164.492114,31.8894402 164.492193,31.7888194 164.492309,31.5478582 C164.494473,31.439896 164.494473,31.439896 164.49608,31.3317328 C164.499348,31.0931827 164.5,30.9019181 164.5,30.4648 L164.5,9.5361 C164.5,8.99184779 164.498715,8.7523562 164.492193,8.4443 C164.492193,8.2144775 164.492112,8.1126965 164.491708,7.98543854 C164.491176,7.81794208 164.49012,7.67034488 164.488598,7.54094437 C164.459672,6.71708606 164.412834,6.16037793 164.30953,5.60477958 C164.202818,4.97382724 164.016273,4.39803029 163.738554,3.8473707 C163.450094,3.28832338 163.082566,2.78338505 162.646527,2.35037068 C162.210469,1.91386133 161.705543,1.54618981 161.157075,1.26502432 C160.595147,0.98252524 160.019849,0.794680145 159.382845,0.683323671 C158.822393,0.581999014 158.225384,0.533353753 157.462028,0.514435472 C157.37409,0.513008314 157.37409,0.513008314 157.285869,0.511551041 C157.143548,0.509206314 157.143548,0.509206314 157.001224,0.507006454 C156.826438,0.504389215 156.681281,0.502689027 156.544858,0.501793744 C156.379942,0.500968735 156.206042,0.50047943 156.008899,0.500230522 C155.73508,0.500000033 155.73508,0.500000033 155.462317,0.5 Z" id="Path" stroke="#222326" fill="#000000"></path><path d="M89.3474827,18.6666318 C89.8655834,18.9767175 90.5368956,18.8045568 90.8449931,18.2823221 C91.1529511,17.7609293 90.9825765,17.086458 90.4630805,16.7763724 C86.1268307,14.1880695 79.2652415,13.9447715 75.1375994,15.2046171 C74.5597769,15.3811274 74.2340977,15.994704 74.4090771,16.5755884 C74.5840564,17.1561922 75.19467,17.4839569 75.7720738,17.3078675 C79.3678011,16.2105012 85.5808227,16.4173185 89.3474827,18.6666318 Z M89.2241321,21.9981581 C89.4874383,21.5679669 89.3526456,21.0039197 88.9244067,20.7387334 C85.317656,18.5099053 80.0417645,17.8827186 75.7976091,19.1776417 C75.3167648,19.3249675 75.0449469,19.8356967 75.1902048,20.320188 C75.3364395,20.803697 75.8453307,21.0768811 76.3271518,20.9305375 C80.0423227,19.7965502 84.8308117,20.3587733 87.9710904,22.2998251 C88.3993293,22.5644502 88.9599887,22.4293314 89.2241321,21.9981581 Z M87.7942971,25.1976523 C88.0043002,24.8524892 87.8961591,24.4013918 87.5527587,24.1905055 C84.4727599,22.298001 80.6544712,21.8575672 76.203243,22.8808497 C75.8104465,22.9707886 75.5656987,23.363517 75.6555605,23.7576484 C75.7450037,24.1516395 76.13556
10776,24.3987259 76.5275268,24.3083661 C80.5950285,23.3740402 84.0488467,23.7549825 86.7929801,25.4413712 C87.1359618,25.6523978 87.5844336,25.5437977 87.7942971,25.1976523 Z M82.4353811,8.25 C88.8891039,8.25 94.1206227,13.5105113 94.1206227,19.9998597 C94.1206227,26.489629 88.8891039,31.75 82.4353811,31.75 C75.9817979,31.75 70.75,26.489629 70.75,19.9998597 C70.75,13.5105113 75.9817979,8.25 82.4353811,8.25 Z M102.541677,19.0972439 C104.999759,19.698333 106.002193,20.6313961 106.002193,22.3184863 C106.002193,24.31468 104.485287,25.604552 102.137857,25.604552 C100.478484,25.604552 98.9409261,25.011601 97.6905356,23.8892594 C97.637093,23.8418345 97.6312324,23.7598934 97.6775587,23.7050321 L98.7821331,22.3831693 C98.8047381,22.3558088 98.8372502,22.3392522 98.8726926,22.3363057 C98.9064605,22.3343414 98.9430192,22.345005 98.9696707,22.3680158 C100.044245,23.3037448 101.004956,23.7026468 102.182509,23.7026468 C103.24285,23.7026468 103.901743,23.2413067 103.901743,22.4992059 C103.901743,21.8293648 103.575924,21.4548768 101.645291,21.0077081 C99.376979,20.4564292 98.0643551,19.7422501 98.0643551,17.7252905 C98.0643551,15.8444318 99.5860054,14.5298652 101.764456,14.5298652 C103.246059,14.5298652 104.513613,14.9714215 105.639257,15.8796496 C105.693816,15.9237071 105.70484,16.002842 105.664374,16.0603692 L104.679243,17.4567367 C104.658452,17.4862018 104.627335,17.5055646 104.592032,17.5108964 C104.55673,17.5165088 104.520869,17.5079499 104.492264,17.4864825 C103.546343,16.7773545 102.644376,16.4328929 101.734595,16.4328929 C100.79607,16.4328929 100.164805,16.8863756 100.164805,17.5605663 C100.164805,18.2739035 100.524112,18.6134543 102.541677,19.0972439 Z M113.017133,21.3583434 C113.017133,19.9566441 112.124376,18.9396756 110.894916,18.9396756 C109.659595,18.9396756 108.727768,19.9790938 108.727768,21.3583434 C108.727768,22.7377333 109.659595,23.7770112 110.894916,23.7770112 C112.144469,23.7770112 113.017133,22.7829132 113.017133,21.3583434 Z M111.313108,17.09642 C113.203694,17.09642 115.117583,18.5602767 115.117583,21.3583434 C115.117583,24.1558488 113.203694,25.6192846 111.313108,25.6192846 C110.295884,25.6192846 109.461174,25.2398857 108.772838,24.4631283 L108.772838,27.7228156 C108.772838,27.7961979 108.713674,27.8559701 108.640697,27.8559701 L106.834251,27.8559701 C106.761274,27.8559701 106.70225,27.7961979 106.70225,27.7228156 L106.70225,17.3957017 C106.70225,17.3223195 106.761274,17.2625473 106.834251,17.2625473 L108.640697,17.2625473 C108.713674,17.2625473 108.772838,17.3223195 108.772838,17.3957017 L108.772838,18.3251167 C109.461034,17.499391 110.295605,17.09642 111.313108,17.09642 Z M120.023422,23.7918841 C121.330883,23.7918841 122.279874,22.7816504 122.279874,21.3887907 C122.279874,20.0005612 121.296976,18.9542678 119.993561,18.9542678 C118.694612,18.9542678 117.75204,19.9653434 117.75204,21.3583434 C117.75204,22.7455907 118.72838,23.7918841 120.023422,23.7918841 Z M120.023422,17.09642 C122.450109,17.09642 124.350323,18.9684392 124.350323,21.3583434 C124.350323,23.7562453 122.436992,25.6351397 119.993561,25.6351397 C117.575526,25.6351397 115.681172,23.7697151 115.681172,21.3887907 C115.681172,18.9816283 117.588642,17.09642 120.023422,17.09642 Z M129.549748,17.2625473 C129.622726,17.2625473 129.681471,17.3223195 129.681471,17.3957017 L129.681471,18.9569337 C129.681471,19.0301757 129.622726,19.0899478 129.549748,19.0899478 L127.561766,19.0899478 L127.561766,22.8450706 C127.561766,23.438162 127.820467,23.7026468 128.399964,23.7026468 C128.776016,23.7026468 129.112439,23.6214072 129.460445,23.4453178 C129.500771,23.4252535 129.549748,23.4265162 129.589098,23.4513512 C129.628028,23.4754845 129.651889,23.5187001 129.651889,23.5645815 L129.651889,25.0513088 C129.651889,25.0987336 129.626214,25.1433523 129.585051,25.1665035 C129.078392,25.4554022 128.540757,25.5899598 127.892747,25.5899598 C126.299096,25.5899598 125.491037,24.7622697 125.491037,23.1297601 L125.491037,19.0899478 L124.62242,19.0899478 C124.549582,19.0899478 124.490837,19.0301757 124.490837,18.9569337 L124.490837,17.3957017 C124.490837,17.3223195 124.549582,17.2625473 124.62242,17.2625473 L125.491037,17.2625473 L125.491037,15.2187884 C125.491037,15.1454062 125.55048,15.0857743 125.623597,15.0857743 L127.429903,15.0857743 C127.502881,15.0857743 127.561766,15.1454062 127.561766,15.2187884 L127.561766,17.2625473 L129.549748,17.2625473 Z M136.475943,17.270545 L139.562081,17.270545 C139.61692,17.270545 139.666176,17.3045001 139.685432,17.3561342 L141.795649,22.893197 L143.722236,17.3597823 C143.740655,17.3064644 143.791167,17.270545 143.8474,17.270545 L145.728079,17.270545 C145.771894,17.270545 145.811941,17.2922931 145.836778,17.3282125 C145.861756,17.3646932 145.86636,17.4108552 145.850732,17.4518258 L142.716593,25.5954319 C142.06649,27.2763485 141.329177,27.9012903 139.995204,27.9012903 C139.28217,27.9012903 138.705046,27.7527017 138.065827,27.404592 C138.00471,27.3714788 137.979872,27.2965531 138.009035,27.232712 L138.621323,25.8819454 C138.635975,25.8481306 138.664999,25.8224538 138.699464,25.8101065 C138.734348,25.7993026 138.772442,25.8022491 138.804675,25.8200685 C139.147378,26.0086455 139.482545,26.1041968 139.800829,26.1041968 C140.194602,26.1041968 140.483025,25.9739889 140.776332,25.3194416 L138.192526,19.0899478 L136.505804,19.0899478 L136.505804,25.3211253 C136.505804,25.3945076 136.446361,25.4541395 136.373383,25.4541395 L134.566938,25.4541395 C134.4941,25.4541395 134.435215,25.3945076 134.435215,25.3211253 L134.435215,19.0899478 L133.567296,19.0899478 C133.494457,19.0899478 133.434736,19.0301757 133.434736,18.9569337 L133.434736,17.387704 C133.434736,17.3144621 133.494457,17.2546899 133.567296,17.2546899 L134.435215,17.2546899 L134.435215,16.8702399 C134.435215,15.0836697 135.317089,14.1388206 136.985811,14.1388206 C137.671496,14.1388206 138.129456,14.2488238 138.487368,14.3557402 C138.543322,14.3729983 138.580718,14.4249131 138.580718,14.4832822 L138.580718,16.0140668 C138.580718,16.0567212 138.561044,16.0969902 138.526159,16.1221057 C138.492252,16.
1071472213 138.448716,16.1538158 138.406995,16.1406267 C138.068199,16.0269754 137.765683,15.9517691 137.389073,15.9517691 C136.757529,15.9517691 136.475943,16.2810772 136.475943,17.01953 L136.475943,17.270545 Z M132.460628,17.2625473 C132.533467,17.2625473 132.592909,17.3223195 132.592909,17.3957017 L132.592909,25.3211253 C132.592909,25.3945076 132.533467,25.4541395 132.460628,25.4541395 L130.654044,25.4541395 C130.581066,25.4541395 130.521763,25.3945076 130.521763,25.3211253 L130.521763,17.3957017 C130.521763,17.3223195 130.581066,17.2625473 130.654044,17.2625473 L132.460628,17.2625473 Z M131.566476,13.6539084 C132.281881,13.6539084 132.862076,14.2366168 132.862076,14.956268 C132.862076,15.6761998 132.281881,16.2594694 131.566476,16.2594694 C130.85093,16.2594694 130.270038,15.6761998 130.270038,14.956268 C130.270038,14.2366168 130.85093,13.6539084 131.566476,13.6539084 Z M147.466988,18.0509505 L147.136007,18.0509505 L147.136007,18.475389 L147.466988,18.475389 C147.6322,18.475389 147.730853,18.3941494 147.730853,18.2629593 C147.730853,18.124894 147.6322,18.0509505 147.466988,18.0509505 Z M147.681596,18.6563892 L148.041183,19.1626285 L147.737969,19.1626285 L147.414243,18.698342 L147.136007,18.698342 L147.136007,19.1626285 L146.882189,19.1626285 L146.882189,17.8208417 L147.477314,17.8208417 C147.787226,17.8208417 147.991229,17.9802342 147.991229,18.248788 C147.991229,18.4687944 147.864808,18.6032116 147.681596,18.6563892 Z M147.399732,17.3742343 C146.748513,17.3742343 146.255668,17.8947852 146.255668,18.5322146 C146.255668,19.1692231 146.745024,19.6828989 147.393034,19.6828989 C148.044113,19.6828989 148.537376,19.1626285 148.537376,18.5249185 C148.537376,17.8877697 148.047741,17.3742343 147.399732,17.3742343 Z M147.393034,19.8107215 C146.678047,19.8107215 146.121713,19.2333449 146.121713,18.5322146 C146.121713,17.8309441 146.685303,17.2471132 147.399732,17.2471132 C148.114579,17.2471132 148.671053,17.8243495 148.671053,18.5249185 C148.671053,19.2260487 148.107882,19.8107215 147.393034,19.8107215 Z" id="Combined-Shape" fill="#1ED760"></path><path d="M19.609,22.904 L15.75,22.904 L15.75,16.8775 L16.923,16.8775 L16.923,21.782 L19.609,21.782 L19.609,22.904 Z M22.406419,22.904 L21.216419,22.904 L21.216419,16.8775 L22.406419,16.8775 L22.406419,22.904 Z M28.6378379,18.314 L27.5838379,18.637 C27.5243379,18.3055 27.2523379,17.787 26.4873379,17.787 C25.9178379,17.787 25.5438379,18.1525 25.5438379,18.552 C25.5438379,18.8835 25.7563379,19.147 26.1983379,19.232 L27.0398379,19.3935 C28.1363379,19.606 28.7228379,20.32 28.7228379,21.17 C28.7228379,22.0965 27.9493379,23.0315 26.5468379,23.0315 C24.9488379,23.0315 24.2433379,22.003 24.1498379,21.1445 L25.2378379,20.8555 C25.2888379,21.4505 25.7053379,21.986 26.5553379,21.986 C27.1843379,21.986 27.5328379,21.6715 27.5328379,21.2465 C27.5328379,20.898 27.2693379,20.626 26.8018379,20.5325 L25.9603379,20.3625 C24.9998379,20.167 24.3793379,19.5465 24.3793379,18.637 C24.3793379,17.566 25.3398379,16.75 26.4788379,16.75 C27.9408379,16.75 28.5018379,17.634 28.6378379,18.314 Z M34.9882569,17.991 L33.0842569,17.991 L33.0842569,22.904 L31.9027569,22.904 L31.9027569,17.991 L29.9987569,17.991 L29.9987569,16.8775 L34.9882569,16.8775 L34.9882569,17.991 Z M40.3696759,22.904 L36.5956759,22.904 L36.5956759,16.8775 L40.3696759,16.8775 L40.3696759,17.9825 L37.7686759,17.9825 L37.7686759,19.3595 L40.1231759,19.3595 L40.1231759,20.405 L37.7686759,20.405 L37.7686759,21.799 L40.3696759,21.799 L40.3696759,22.904 Z M47.4170948,22.904 L46.1845948,22.904 L43.4475948,18.6285 L43.4475948,22.904 L42.2745948,22.904 L42.2745948,16.8775 L43.7365948,16.8775 L46.2440948,20.864 L46.2440948,16.8775 L47.4170948,16.8775 L47.4170948,22.904 Z M53.1054328,19.8865 C53.1054328,21.2465 54.0574328,21.8925 54.9839328,21.8925 C55.9189328,21.8925 56.8709328,21.2465 56.8709328,19.8865 C56.8709328,18.5265 55.9189328,17.8805 54.9839328,17.8805 C54.0574328,17.8805 53.1054328,18.5265 53.1054328,19.8865 Z M51.8899328,19.895 C51.8899328,17.9485 53.3519328,16.75 54.9839328,16.75 C56.6244328,16.75 58.0864328,17.9485 58.0864328,19.895 C58.0864328,21.833 56.6244328,23.0315 54.9839328,23.0315 C53.3519328,23.0315 51.8899328,21.833 51.8899328,19.895 Z M65.0488517,22.904 L63.8163517,22.904 L61.0793517,18.6285 L61.0793517,22.904 L59.9063517,22.904 L59.9063517,16.8775 L61.3683517,16.8775 L63.8758517,20.864 L63.8758517,16.8775 L65.0488517,16.8775 L65.0488517,22.904 Z" id="LISTEN-ON" fill="#FFFFFF"></path></g></g>`,3)]])}var Nr=R(Ar,[[`render`,Mr]]),Pr={},Fr={version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,viewBox:`0 0 164.8566 40`,"enable-background":`new 0 0 164.8566 40`,"xml:space":`preserve`};function Ir(e,t){return d(),i(`svg`,Fr,[...t[0]||=[_(`<g id="US">
107<path d="M8.4448,39.125c-0.3047,0-0.602-0.0039-0.9043-0.0107c-0.5591-0.0157-1.2222-0.0469-1.8691-0.1631
108		c-0.6104-0.1104-1.1528-0.2901-1.6567-0.5479c-0.5215-0.2646-0.9902-0.6064-1.397-1.0166
109		c-0.4141-0.4062-0.7544-0.873-1.0205-1.3965c-0.2593-0.5048-0.4365-1.0468-0.543-1.6572c-0.1221-0.6728-0.1533-1.3555-0.1665-1.875
110		c-0.0063-0.2109-0.0146-0.9131-0.0146-0.9131V8.4443c0,0,0.0088-0.6914,0.0146-0.8945c0.0132-0.5239,0.0444-1.206,0.1655-1.8721
111		C1.1602,5.064,1.3374,4.5225,1.5967,4.0156C1.8623,3.4912,2.2031,3.022,2.6118,2.6177c0.4136-0.4141,0.8843-0.7568,1.4023-1.0225
112		c0.5137-0.2607,1.0552-0.439,1.6533-0.5439c0.6733-0.1206,1.356-0.1509,1.8755-0.1641L8.4453,0.875h147.9611l0.9131,0.0127
113		c0.5127,0.0127,1.1953,0.043,1.8584,0.1626c0.6025,0.1055,1.1475,0.2847,1.6709,0.5479c0.5127,0.2627,0.9824,0.6055,1.3916,1.0156
114		c0.4092,0.4062,0.7519,0.8779,1.0234,1.4043c0.2578,0.5112,0.4336,1.0527,0.5352,1.6489c0.1162,0.6309,0.1523,1.2788,0.1738,1.8872
115		c0.0029,0.2832,0.0029,0.5874,0.0029,0.8901c0.0079,0.375,0.0079,0.7319,0.0079,1.0918v20.9287c0,0.3633,0,0.7178-0.0079,1.0752
116		c0,0.3252,0,0.6231-0.0039,0.9297c-0.0205,0.5889-0.0566,1.2364-0.1709,1.8535c-0.1035,0.6133-0.2793,1.1553-0.54,1.67
117		c-0.2695,0.5195-0.6123,0.9892-1.0156,1.3857c-0.4131,0.418-0.8819,0.7588-1.3994,1.0225
118		c-0.5186,0.2636-1.0479,0.4384-1.668,0.5498c-0.6406,0.1162-1.3037,0.1474-1.8692,0.1631
119		c-0.2929,0.0068-0.5996,0.0107-0.8974,0.0107l-1.084,0.002L8.4448,39.125z"></path><g id="XMLID_632_"><linearGradient id="XMLID_2_" gradientUnits="userSpaceOnUse" x1="20.0983" y1="7.4183" x2="20.0983" y2="32.5813"><stop offset="0" style="stop-color:#F452FF;"></stop><stop offset="1" style="stop-color:#832BC1;"></stop></linearGradient><path id="XMLID_662_" fill-rule="evenodd" clip-rule="evenodd" fill="url(#XMLID_2_)" d="M32.1821,29.2281
120			c-0.2446,0.6213-0.809,1.4961-1.6094,2.1123c-0.4621,0.3559-1.0138,0.6961-1.7716,0.9206
121			c-0.8078,0.2394-1.8028,0.3203-3.0412,0.3203H14.4366c-1.2383,0-2.2333-0.0809-3.0412-0.3203
122			c-0.7578-0.2245-1.3094-0.5647-1.7716-0.9206c-0.8003-0.6163-1.3648-1.491-1.6094-2.1123
123			c-0.4927-1.2518-0.4977-2.6721-0.4977-3.5666l0,0V14.3381l0,0c0-0.8945,0.005-2.3148,0.4977-3.5666
124			c0.2446-0.6213,0.809-1.4961,1.6094-2.1123c0.4621-0.3559,1.0138-0.6961,1.7716-0.9206c0.8078-0.2394,1.8028-0.3203,3.0412-0.3203
125			l0,0H25.76l0,0c1.2383,0,2.2333,0.0809,3.0412,0.3203c0.7578,0.2245,1.3094,0.5648,1.7716,0.9206
126			c0.8003,0.6163,1.3648,1.491,1.6094,2.1123c0.4927,1.2518,0.4977,2.6721,0.4977,3.5666v11.3234
127			C32.6798,26.5559,32.6748,27.9762,32.1821,29.2281z"></path><path id="XMLID_660_" fill-rule="evenodd" clip-rule="evenodd" fill="none" d="M32.1821,29.2281
128			c-0.2446,0.6213-0.809,1.4961-1.6094,2.1123c-0.4621,0.3559-1.0138,0.6961-1.7716,0.9206
129			c-0.8078,0.2394-1.8028,0.3203-3.0412,0.3203H14.4366c-1.2383,0-2.2333-0.0809-3.0412-0.3203
130			c-0.7578-0.2245-1.3094-0.5647-1.7716-0.9206c-0.8003-0.6163-1.3648-1.491-1.6094-2.1123
131			c-0.4927-1.2518-0.4977-2.6721-0.4977-3.5666l0,0V14.3381l0,0c0-0.8945,0.005-2.3148,0.4977-3.5666
132			c0.2446-0.6213,0.809-1.4961,1.6094-2.1123c0.4621-0.3559,1.0138-0.6961,1.7716-0.9206c0.8078-0.2394,1.8028-0.3203,3.0412-0.3203
133			l0,0H25.76l0,0c1.2383,0,2.2333,0.0809,3.0412,0.3203c0.7578,0.2245,1.3094,0.5648,1.7716,0.9206
134			c0.8003,0.6163,1.3648,1.491,1.6094,2.1123c0.4927,1.2518,0.4977,2.6721,0.4977,3.5666v11.3234
135			C32.6798,26.5559,32.6748,27.9762,32.1821,29.2281z"></path><g id="XMLID_648_"><g><path fill="#FFFFFF" d="M21.9232,21.8815c-0.3776-0.3984-1.0408-0.6538-1.8237-0.6538c-0.783,0-1.4462,0.2554-1.8238,0.6538
136					c-0.197,0.2079-0.3012,0.421-0.334,0.7246c-0.0636,0.5879-0.0279,1.0941,0.041,1.9034c0.0656,0.7712,0.1902,1.7996,0.3528,2.847
137					c0.1157,0.7454,0.2097,1.1477,0.2953,1.4358c0.1388,0.4669,0.6575,0.8752,1.4687,0.8752c0.8111,0,1.3298-0.4084,1.4686-0.8752
138					c0.0856-0.2881,0.1796-0.6904,0.2953-1.4358c0.1626-1.0474,0.2872-2.0758,0.3528-2.847
139					c0.0689-0.8094,0.1046-1.3156,0.041-1.9034C22.2244,22.3026,22.1202,22.0894,21.9232,21.8815z M18.0421,18.3342
140					c0,1.1373,0.922,2.0593,2.0593,2.0593c1.1374,0,2.0594-0.922,2.0594-2.0593c0-1.1374-0.922-2.0594-2.0594-2.0594
141					C18.9641,16.2748,18.0421,17.1968,18.0421,18.3342z M20.0759,10.2072c-4.8163,0.0137-8.7628,3.921-8.8224,8.737
142					c-0.0484,3.9013,2.442,7.2385,5.9195,8.4617c0.0844,0.0297,0.1701-0.0404,0.1568-0.1289
143					c-0.0456-0.3029-0.0886-0.6073-0.1281-0.9066c-0.014-0.1058-0.0814-0.197-0.1791-0.2397
144					c-2.7486-1.2008-4.6679-3.9574-4.6371-7.1505c0.0404-4.1904,3.4622-7.6066,7.6526-7.6405c4.2839-0.0346,7.78,3.4402,7.78,7.7162
145					c0,3.1611-1.9109,5.8839-4.6381,7.0751c-0.0977,0.0427-0.1647,0.1342-0.1786,0.2399c-0.0395,0.2992-0.0825,0.6035-0.128,0.9061
146					c-0.0134,0.0885,0.0723,0.1586,0.1567,0.129c3.4443-1.2115,5.9202-4.4968,5.9202-8.35
147					C28.9501,14.1681,24.9668,10.1932,20.0759,10.2072z M19.916,14.2667c2.7303-0.1057,4.9851,2.0847,4.9851,4.7919
148					c0,1.3768-0.5833,2.6198-1.5156,3.4952c-0.0791,0.0742-0.1216,0.1796-0.1155,0.2879c0.0186,0.3293,0.0118,0.6493-0.0101,1.0107
149					c-0.0059,0.0963,0.1021,0.1578,0.1818,0.1035c1.5634-1.0684,2.5917-2.8649,2.5917-4.8973c0-3.3464-2.7874-6.0541-6.1623-5.9233
150					c-3.1364,0.1216-5.6527,2.7075-5.6929,5.8461c-0.0264,2.0642,1.0082,3.8929,2.5917,4.9747
151					c0.0795,0.0543,0.1872-0.0073,0.1813-0.1035c-0.022-0.3616-0.0287-0.6816-0.0102-1.0109
152					c0.0061-0.1082-0.0363-0.2136-0.1152-0.2877c-0.9614-0.9026-1.5518-2.1961-1.5142-3.6241
153					C15.3778,16.4169,17.4039,14.364,19.916,14.2667z"></path></g></g></g><g><path fill="#FFFFFF" d="M46.223,27.8223h-4.7334l-1.1367,3.3564H38.348l4.4834-12.4189h2.083l4.4834,12.4189h-2.0391
154			L46.223,27.8223z M41.9798,26.2734h3.752l-1.8496-5.4482h-0.0518L41.9798,26.2734z"></path><path fill="#FFFFFF" d="M59.0804,26.6523c0,2.8135-1.5059,4.6211-3.7783,4.6211c-1.29,0-2.3145-0.5771-2.8486-1.584h-0.043v4.4844
155			h-1.8584V22.125h1.7988v1.5059h0.0342c0.5166-0.9717,1.6182-1.6006,2.8828-1.6006
156			C57.5657,22.0303,59.0804,23.8467,59.0804,26.6523z M57.1702,26.6523c0-1.833-0.9473-3.0381-2.3926-3.0381
157			c-1.4199,0-2.375,1.2305-2.375,3.0381c0,1.8242,0.9551,3.0459,2.375,3.0459C56.223,29.6982,57.1702,28.502,57.1702,26.6523z"></path><path fill="#FFFFFF" d="M69.0452,26.6523c0,2.8135-1.5059,4.6211-3.7783,4.6211c-1.29,0-2.3144-0.5771-2.8486-1.584h-0.043v4.4844
158			h-1.8584V22.125h1.7988v1.5059h0.0342c0.5166-0.9717,1.6182-1.6006,2.8828-1.6006
159			C67.5306,22.0303,69.0452,23.8467,69.0452,26.6523z M67.1351,26.6523c0-1.833-0.9473-3.0381-2.3926-3.0381
160			c-1.4199,0-2.375,1.2305-2.375,3.0381c0,1.8242,0.9551,3.0459,2.375,3.0459C66.1878,29.6982,67.1351,28.502,67.1351,26.6523z"></path><path fill="#FFFFFF" d="M70.5501,18.7598h1.8594v12.4189h-1.8594V18.7598z"></path><path fill="#FFFFFF" d="M82.0853,28.5195c-0.25,1.6436-1.8506,2.7715-3.8984,2.7715c-2.6338,0-4.2686-1.7646-4.2686-4.5957
161			c0-2.8398,1.6436-4.6816,4.1904-4.6816c2.5049,0,4.0801,1.7207,4.0801,4.4658v0.6367h-6.3945v0.1123
162			c0,1.5488,0.9727,2.5645,2.4355,2.5645c1.0322,0,1.8418-0.4902,2.0908-1.2734H82.0853z M75.803,25.8174h4.5264
163			c-0.043-1.3857-0.9297-2.2979-2.2207-2.2979C76.8265,23.5195,75.8978,24.4492,75.803,25.8174z"></path><path fill="#FFFFFF" d="M92.0872,18.7598c2.4092,0,4.0879,1.6611,4.0879,4.0801c0,2.4268-1.7129,4.0957-4.1484,4.0957h-2.668
164			v4.2432H87.431V18.7598H92.0872z M89.3587,25.3184h2.2119c1.6777,0,2.6328-0.9043,2.6328-2.4697
165			c0-1.5664-0.9551-2.4624-2.624-2.4624h-2.2207V25.3184z"></path><path fill="#FFFFFF" d="M96.8538,26.6523c0-2.8486,1.6777-4.6387,4.2939-4.6387c2.625,0,4.2949,1.79,4.2949,4.6387
166			c0,2.8564-1.6611,4.6387-4.2949,4.6387C98.5149,31.291,96.8538,29.5088,96.8538,26.6523z M103.5491,26.6523
167			c0-1.9541-0.8955-3.1074-2.4014-3.1074s-2.4014,1.1621-2.4014,3.1074c0,1.9619,0.8955,3.1064,2.4014,3.1064
168			S103.5491,28.6143,103.5491,26.6523z"></path><path fill="#FFFFFF" d="M106.7474,26.6523c0-2.7969,1.54-4.6221,3.7861-4.6221c1.2998,0,2.3242,0.6025,2.8398,1.6006h0.0352
169			v-4.8711h1.8672v12.4189h-1.8076v-1.54h-0.0342c-0.5332,1.0322-1.5664,1.6348-2.8828,1.6348
170			C108.2874,31.2734,106.7474,29.4492,106.7474,26.6523z M108.6487,26.6523c0,1.8584,0.9473,3.0459,2.3926,3.0459
171			c1.4287,0,2.3838-1.2051,2.3838-3.0459c0-1.8252-0.9551-3.0381-2.3838-3.0381C109.596,23.6143,108.6487,24.8105,108.6487,26.6523z
172			"></path><path fill="#FFFFFF" d="M123.1839,25.2402c-0.1631-0.9551-0.9121-1.6689-2.1338-1.6689c-1.4287,0-2.376,1.1963-2.376,3.0811
173			c0,1.9277,0.9561,3.0889,2.3926,3.0889c1.1533,0,1.9111-0.5762,2.1172-1.626h1.79c-0.2061,1.9014-1.7295,3.1758-3.9238,3.1758
174			c-2.582,0-4.2686-1.7646-4.2686-4.6387c0-2.8145,1.6865-4.6387,4.251-4.6387c2.3232,0,3.7695,1.4629,3.9248,3.2266H123.1839z"></path><path fill="#FFFFFF" d="M126.1126,28.6055c0-1.583,1.2129-2.5391,3.3643-2.668l2.4785-0.1377v-0.6885
175			c0-1.0068-0.6621-1.5752-1.7891-1.5752c-1.0332,0-1.7559,0.4912-1.9023,1.2744h-1.7383c0.0518-1.6357,1.5742-2.7969,3.6914-2.7969
176			c2.1602,0,3.5889,1.1787,3.5889,2.96v6.2051h-1.7812v-1.4893h-0.043c-0.5254,1.0068-1.6699,1.6445-2.8574,1.6445
177			C127.3519,31.334,126.1126,30.2324,126.1126,28.6055z M131.9554,27.7881v-0.6973l-2.2285,0.1377
178			c-1.1104,0.0693-1.7383,0.5508-1.7383,1.3252c0,0.792,0.6543,1.3086,1.6524,1.3086
179			C130.9407,29.8623,131.9554,28.9668,131.9554,27.7881z"></path><path fill="#FFFFFF" d="M138.9935,22.0225c2.0059,0,3.4424,1.1094,3.4854,2.71h-1.7471c-0.0771-0.7998-0.7568-1.29-1.79-1.29
180			c-1.0068,0-1.6777,0.4639-1.6777,1.1699c0,0.542,0.4473,0.9033,1.3857,1.1357l1.5234,0.3535
181			c1.8242,0.4385,2.5127,1.1094,2.5127,2.4355c0,1.6348-1.5488,2.7539-3.7607,2.7539c-2.1348,0-3.5713-1.0938-3.709-2.7461h1.8408
182			c0.1299,0.8691,0.8262,1.334,1.9541,1.334c1.1104,0,1.8076-0.4561,1.8076-1.1787c0-0.5596-0.3447-0.8604-1.291-1.1016
183			l-1.6182-0.3955c-1.6357-0.3965-2.4619-1.2314-2.4619-2.4873C135.4476,23.1152,136.8851,22.0225,138.9935,22.0225z"></path><path fill="#FFFFFF" d="M146.7239,19.9819v2.1431h1.7217v1.4717h-1.7217v4.9912c0,0.7754,0.3447,1.1367,1.1016,1.1367
184			c0.1895,0,0.4912-0.0264,0.6113-0.043v1.4629c-0.2061,0.0518-0.6191,0.0859-1.0322,0.0859c-1.833,0-2.5479-0.6885-2.5479-2.4443
185			v-5.1895h-1.3164V22.125h1.3164v-2.1431H146.7239z"></path><path fill="#FFFFFF" d="M153.4427,22.0225c2.0059,0,3.4424,1.1094,3.4854,2.71h-1.7471c-0.0771-0.7998-0.7568-1.29-1.79-1.29
186			c-1.0068,0-1.6777,0.4639-1.6777,1.1699c0,0.542,0.4473,0.9033,1.3857,1.1357l1.5234,0.3535
187			c1.8242,0.4385,2.5127,1.1094,2.5127,2.4355c0,1.6348-1.5488,2.7539-3.7607,2.7539c-2.1348,0-3.5713-1.0938-3.709-2.7461h1.8408
188			c0.1299,0.8691,0.8262,1.334,1.9541,1.334c1.1104,0,1.8076-0.4561,1.8076-1.1787c0-0.5596-0.3447-0.8604-1.291-1.1016
189			l-1.6182-0.3955c-1.6357-0.3965-2.4619-1.2314-2.4619-2.4873C149.8968,23.1152,151.3343,22.0225,153.4427,22.0225z"></path></g><g><path fill="#FFFFFF" d="M42.9578,14.6611h-3.7217V8.6943h0.9263v5.1147h2.7954V14.6611z"></path><path fill="#FFFFFF" d="M44.0345,8.8267c0-0.3105,0.2441-0.5459,0.5747-0.5459c0.3311,0,0.5747,0.2354,0.5747,0.5459
190			c0,0.3057-0.2437,0.5415-0.5747,0.5415C44.2786,9.3682,44.0345,9.1323,44.0345,8.8267z M44.1668,10.1582h0.8848v4.5029h-0.8848
191			V10.1582z"></path><path fill="#FFFFFF" d="M48.1307,10.0713c1.0132,0,1.6748,0.4712,1.7612,1.2651h-0.8516
192			c-0.083-0.3306-0.4053-0.5415-0.9097-0.5415c-0.4966,0-0.8726,0.2354-0.8726,0.5869c0,0.269,0.2275,0.4385,0.7153,0.5503
193			l0.7485,0.1733c0.856,0.1987,1.2568,0.5669,1.2568,1.2285c0,0.8477-0.7896,1.4141-1.8647,1.4141
194			c-1.0713,0-1.77-0.4839-1.8486-1.2817h0.8892c0.1118,0.3472,0.4424,0.562,0.98,0.562c0.5542,0,0.9473-0.248,0.9473-0.6079
195			c0-0.2686-0.2109-0.4424-0.6621-0.5498l-0.7856-0.1821c-0.856-0.2026-1.2529-0.5869-1.2529-1.2568
196			C46.3812,10.6333,47.1131,10.0713,48.1307,10.0713z"></path><path fill="#FFFFFF" d="M52.346,9.0371v1.1416h0.9756v0.7485H52.346v2.3154c0,0.4717,0.1943,0.6782,0.6367,0.6782
197			c0.1362,0,0.2148-0.0083,0.3389-0.0205v0.7402c-0.1445,0.0244-0.3101,0.0454-0.4839,0.0454c-0.9883,0-1.3809-0.3477-1.3809-1.2158
198			v-2.543h-0.7153v-0.7485h0.7153V9.0371H52.346z"></path><path fill="#FFFFFF" d="M58.2532,13.4453c-0.2026,0.8066-0.9224,1.3027-1.9517,1.3027c-1.2905,0-2.0801-0.8848-2.0801-2.3242
199			c0-1.439,0.8062-2.3525,2.0757-2.3525c1.2529,0,2.0098,0.856,2.0098,2.27v0.3101h-3.1802v0.0498
200			c0.0293,0.7896,0.4883,1.29,1.1992,1.29c0.5376,0,0.9058-0.1943,1.0713-0.5459H58.2532z M55.1268,11.9941h2.2744
201			c-0.0205-0.707-0.4507-1.1665-1.1079-1.1665C55.6356,10.8276,55.1766,11.291,55.1268,11.9941z"></path><path fill="#FFFFFF" d="M59.4993,10.1582h0.856v0.7153h0.0664c0.2188-0.5005,0.6655-0.8022,1.3438-0.8022
202			c1.0049,0,1.5591,0.6035,1.5591,1.6748v2.915h-0.8892v-2.6919c0-0.7236-0.3145-1.0835-0.9717-1.0835
203			c-0.6577,0-1.0752,0.4385-1.0752,1.1411v2.6343h-0.8892V10.1582z"></path><path fill="#FFFFFF" d="M66.9183,12.4077c0-1.4517,0.8105-2.3364,2.1255-2.3364c1.3105,0,2.1211,0.8848,2.1211,2.3364
204			c0,1.4595-0.8062,2.3403-2.1211,2.3403C67.7244,14.748,66.9183,13.8672,66.9183,12.4077z M70.2513,12.4077
205			c0-0.9761-0.4385-1.5469-1.2075-1.5469c-0.7734,0-1.2075,0.5708-1.2075,1.5469c0,0.9839,0.4341,1.5503,1.2075,1.5503
206			C69.8128,13.958,70.2513,13.3877,70.2513,12.4077z"></path><path fill="#FFFFFF" d="M72.3572,10.1582h0.856v0.7153h0.0664c0.2192-0.5005,0.6655-0.8022,1.3438-0.8022
207			c1.0049,0,1.5591,0.6035,1.5591,1.6748v2.915h-0.8892v-2.6919c0-0.7236-0.3145-1.0835-0.9717-1.0835
208			c-0.6577,0-1.0752,0.4385-1.0752,1.1411v2.6343h-0.8892V10.1582z"></path></g></g><g></g>`,2)]])}var Lr=R(Pr,[[`render`,Ir]]),Rr={key:0,class:`more-ways-to-listen d-none d-xl-block`},zr={class:`d-none d-xl-block`},Br=[`href`],Vr=[`href`],Hr=[`href`],Ur=R({__name:`MoreWaysToListen`,setup(e){let t=window.hbiAppleItunesId,n=`https://apps.apple.com/us/app/`+t,r=window.hbiGooglePlayId,o=`https://play.google.com/store/apps/details?id=`+r,s=window.hbiAlexaUrl,c=window.hbiLatestPodcastEpisode?.spotify_url??``,l=window.hbiLatestPodcastEpisode?.apple_podcast_url??``;return(e,u)=>(d(),i(S,null,[N(t)||N(r)||N(s)||N(l)||N(c)?(d(),i(`p`,Rr,`More Ways to Listen`)):g(``,!0),T(`div`,zr,[N(t)?(d(),i(`a`,{key:0,class:`reward-app-badge app-badge-ios`,href:n,target:`_blank`},[a(xr)])):g(``,!0),N(r)?(d(),i(`a`,{key:1,class:`reward-app-badge app-badge-google`,href:o,target:`_blank`},[a(Tr)])):g(``,!0),N(s)?(d(),i(`a`,{key:2,class:`reward-app-badge app-badge-alexa`,href:N(s),target:`_blank`},[a(kr)],8,Br)):g(``,!0),N(l)?(d(),i(`a`,{key:3,class:`reward-app-badge app-badge-apple-podcast`,href:N(l),target:`_blank`},[a(Lr)],8,Vr)):g(``,!0),N(c)?(d(),i(`a`,{key:4,class:`reward-app-badge app-badge-spotify`,href:N(c),target:`_blank`},[a(Nr)],8,Hr)):g(``,!0)])],64))}},[[`__scopeId`,`data-v-b4a2b9ea`]]),Wr=[`aria-valuenow`,`aria-valuemin`,`aria-valuemax`,`aria-valuetext`],Gr=R({__name:`CustomRangeSlider`,props:{modelValue:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1}},emits:[`update:modelValue`],setup(e,{expose:n,emit:r}){let a=e,o=r,c=t(null),l=!1;n({focus:()=>c.value?.focus(),sliderElement:c});let u=I(()=>(a.modelValue-a.min)/(a.max-a.min)*100);v(u,e=>{c.value&&c.value.style.setProperty(`--range-progress`,`${e}%`)},{immediate:!0}),s(()=>{c.value&&c.value.style.setProperty(`--range-progress`,`${u.value}%`)});let f=e=>{let t=c.value.getBoundingClientRect(),n=Math.max(0,Math.min(100,(e-t.left)/t.width*100)),r=Math.round(n/100*(a.max-a.min)+a.min),i=Math.round(r/a.step)*a.step;o(`update:modelValue`,Math.max(a.min,Math.min(a.max,i)))},p=e=>{l=!0;let t=e.type===`touchstart`?e.touches[0].clientX:e.clientX;c.value.classList.add(`dragging`),f(t),document.addEventListener(`mousemove`,h),document.addEventListener(`mouseup`,g),document.addEventListener(`touchmove`,h),document.addEventListener(`touchend`,g),e.preventDefault()},h=e=>{if(!l)return;let t=e.type===`touchmove`?e.touches[0].clientX:e.clientX;f(t)},g=()=>{l=!1,c.value.classList.remove(`dragging`),document.removeEventListener(`mousemove`,h),document.removeEventListener(`mouseup`,g),document.removeEventListener(`touchmove`,h),document.removeEventListener(`touchend`,g)},_=e=>{switch(e.key){case`ArrowLeft`:case`ArrowDown`:o(`update:modelValue`,Math.max(a.min,a.modelValue-a.step)),e.preventDefault();break;case`ArrowRight`:case`ArrowUp`:o(`update:modelValue`,Math.min(a.max,a.modelValue+a.step)),e.preventDefault();break;case`Home`:o(`update:modelValue`,a.min),e.preventDefault();break;case`End`:o(`update:modelValue`,a.max),e.preventDefault();break}};return m(()=>{document.removeEventListener(`mousemove`,h),document.removeEventListener(`mouseup`,g),document.removeEventListener(`touchmove`,h),document.removeEventListener(`touchend`,g)}),(t,n)=>(d(),i(`div`,{class:`custom-range`,ref_key:`sliderRef`,ref:c,tabIndex:`0`,role:`slider`,"aria-label":`Volume`,"aria-orientation":`horizontal`,"aria-valuenow":e.modelValue,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuetext":`${e.modelValue} percent`,onMousedown:p,onTouchstart:p,onKeydown:_},[n[0]||=T(`div`,{class:`range-track`},null,-1),T(`div`,{class:`range-thumb`,style:w({left:`calc(${u.value}% - 12px)`})},null,4)],40,Wr))}},[[`__scopeId`,`data-v-3ab61087`]]),Kr={class:`volume-slider mx-auto mx-xl-0 mt-2 mt-xl-0`},qr={class:`volume-back`},Jr={class:`volume-funnel`},Yr={class:`audio-muted-modal`},Xr={role:`dialog`,"aria-modal":`true`,"aria-labelledby":`modal-title`,"aria-describedby":`modal-description`},Zr=R({__name:`VolumeSlider`,setup(e){let n=H(),r=t(null),c=t(null),l,u;l=v(()=>n.volumeLevel,e=>{let t=n.stream.value;t&&(e==0&&!t.paused&&(t.pause(),n.showMutedModal=!0),t.volume=e/100)},{immediate:!0}),u=v(()=>n.showMutedModal,e=>{e&&r.value&&r.value.focus()});let f=e=>{e.preventDefault(),n.showMutedModal=!1,c.value.focus()}
208,p=e=>{e.key===`Escape`&&n.showMutedModal&&(n.showMutedModal=!1,c.value.focus())};return s(()=>{document.addEventListener(`keydown`,p)}),m(()=>{document.removeEventListener(`keydown`,p),l&&l(),u&&u(),c.value=null,r.value=null}),(e,t)=>(d(),i(S,null,[T(`div`,Kr,[T(`div`,qr,[T(`div`,Jr,[a(Gr,{modelValue:N(n).volumeLevel,"onUpdate:modelValue":t[0]||=e=>N(n).volumeLevel=e,min:0,max:100,step:1,class:`volume-range`,ref_key:`volumeSliderRef`,ref:c},null,8,[`modelValue`])])])]),N(n).showMutedModal?(d(),F(oe,{key:0,to:`body`},[T(`div`,Yr,[a(Ke,null,{default:b(()=>[T(`div`,Xr,[t[1]||=T(`h3`,{id:`modal-title`},`Stream Stopped`,-1),t[2]||=T(`p`,{id:`modal-description`},[o(` The stream will stop when the volume is set to 0. `),T(`br`),o(` To continue to listen, increase the volume level before playing. `)],-1),T(`a`,{ref_key:`closeMutedModal`,ref:r,class:`btn vue-button vue-button-primary close`,onClick:f,role:`button`,href:`#`,"aria-label":`Close modal`},`Close`,512)])]),_:1})])])):g(``,!0)],64))}},[[`__scopeId`,`data-v-f931a730`]]),Qr={class:`row`},$r={class:`current-track-artwork col-12 col-xl-3 col-xxl-auto text-center text-xl-start order-1`},ei=[`src`,`alt`],ti=[`href`],ni=[`src`,`alt`],ri=[`src`,`alt`],ii={class:`description col-12 col-xl-5 text-center text-xl-start order-2 order-xl-2 d-flex flex-column align-self-center`},ai=[`title`],oi={class:`d-none compact-live-bar-separator`},si=[`href`,`innerHTML`,`title`],ci={class:`buttons`},li=R({__name:`NowPlaying`,setup(e){let t=W(),r=H(),s=n(`isTimeline`,!1),c=new DOMParser,l=I(()=>{let e=c.parseFromString(t.latestTrack?.data?.description??`--`,`text/html`),n=e.body.textContent??`--`;return e=null,n}),u=I(()=>t.latestTrack?.likes??0),f=e=>{e.target.src=me};return(e,n)=>(d(),i(`section`,Qr,[T(`div`,$r,[N(s)&&N(t).getTrackArtists(N(t).latestTrack)?.[0]?(d(),F(N(P),{key:0,class:`track-link`,to:`/artist/`+N(t).getTrackArtists(N(t).latestTrack)?.[0]?.id},{default:b(()=>[T(`img`,{src:N(t).latestTrackArtworkBlob,alt:N(t).latestTrack?.data?.description,onError:f},null,40,ei)]),_:1},8,[`to`])):N(t).getTrackArtists(N(t).latestTrack)?.[0]?(d(),i(`a`,{key:1,class:`track-link`,href:`/artist/`+N(t).getTrackArtists(N(t).latestTrack)?.[0]?.id},[T(`img`,{src:N(t).latestTrackArtworkBlob,alt:N(t).latestTrack?.data?.description,onError:f},null,40,ni)],8,ti)):(d(),i(`img`,{key:2,src:N(t).latestTrackArtworkBlob,alt:N(t).latestTrack?.data?.description,onError:f}
208,null,40,ri))]),a(Gn),T(`div`,ii,[n[0]||=T(`h3`,{class:`now-playing-banner d-none d-xl-inline-block`},`Now Playing`,-1),(d(),i(`div`,{class:`artist-and-title text-xl-start`,key:N(t).latestTrack?.id},[T(`h4`,{title:l.value},[N(r).streamCanPlayOnCurrentRoute&&N(t).getTrackArtists(N(t).latestTrack)?.[0]?(d(),F(N(P),{key:0,class:`track-link`,to:`/artist/`+N(t).getTrackArtists(N(t).latestTrack)?.[0]?.id},{default:b(()=>[o(M(l.value??`--`),1)]),_:1},8,[`to`])):(d(),i(S,{key:1},[o(M(l.value??`--`),1)],64))],8,ai),T(`span`,oi,M(N(t).latestTrack?.data?.description?`—`:``),1),T(`h5`,null,[N(r).streamCanPlayOnCurrentRoute?(d(!0),i(S,{key:0},se(N(t).getTrackArtists(N(t).latestTrack),e=>(d(),F(N(P),{class:`artist`,to:`/artist/`+e.id,innerHTML:e.name,title:e.name??``},null,8,[`to`,`innerHTML`,`title`]))),256)):(d(!0),i(S,{key:1},se(N(t).getTrackArtists(N(t).latestTrack),e=>(d(),i(`a`,{class:`artist`,href:`/artist/`+e.id,innerHTML:e.name,title:e.name??``,target:`_blank`},null,8,si))),256))])])),T(`div`,ci,[N(s)?(d(),F(_r,{key:N(t).latestTrack?.cut_id,"cut-id":N(t).latestTrack?.cut_id,"like-count":u.value,"fill-color":`#ffffff`,"like-color":`#ffffff`,"inline-count":`true`,"is-for-now-playing":`true`,"stt-showing":N(t).latestTrackIsSTTEligible},null,8,[`cut-id`,`like-count`,`stt-showing`])):g(``,!0),N(r).currentStreamIsPrimary&&N(t).latestTrackIsSTTEligible?(d(),F(sr,{key:1})):g(``,!0),N(s)?(d(),F(Zr,{key:2})):g(``,!0),!N(s)&&!N(t).latestTrackIsSTTEligible?(d(),F(Ur,{key:3})):g(``,!0)])])]))}},[[`__scopeId`,`data-v-b4d35b97`]]),ui={key:0,class:`row`},di={class:`current-track-artwork col-12 col-xl-3 col-xxl-auto text-center text-xl-start order-1`},fi=[`src`,`alt`],pi={class:`description col-12 col-xl-5 text-center text-xl-start order-2 order-xl-2 d-flex flex-column align-self-center`},mi={class:`title-and-subtitle text-lg-left`},hi=[`title`],gi={key:0,class:`d-none compact-live-bar-separator`},_i=[`title`],vi={class:`buttons`},yi={key:1,class:`row text-center text-center`},bi={class:`current-track-artwork col-12 col-xl-3 col-xxl-auto text-center text-xl-start order-1`},xi=[`href`],Si=[`src`,`alt`],Ci=[`src`,`alt`],wi={class:`description col-12 col-xl-5 text-center text-xl-start order-2 order-lg-2 d-flex flex-column align-self-center`},Ti=[`href`],Ei={key:0,class:`d-none compact-live-bar-separator`},Di={key:1},Oi={key:0,class:`d-none compact-live-bar-separator`},ki={class:`buttons`},Ai=R({__name:`FallbackEvent`,setup(e){let t=W(),r=n(`isTimeline`,!1);return(e,n)=>N(t).showingAd?(d(),i(`section`,ui,[T(`div`,di,[T(`img`,{src:N(t).adEvent.adImage,alt:N(t).adEvent.adTitle}
208,null,8,fi)]),a(Gn),T(`div`,pi,[n[0]||=T(`h3`,{class:`now-playing-banner d-none d-xl-inline-block mt-4 mb-4`},`Now Playing`,-1),T(`div`,mi,[T(`h4`,{title:N(t).adEvent.adTitle??``},M(N(t).adEvent.adTitle),9,hi),N(t).adEvent.adSubtitle?(d(),i(`span`,gi,M(N(t).latestTrack?.data?.description?`—`:``),1)):g(``,!0),T(`h5`,{title:N(t).adEvent.adSubtitle??``},M(N(t).adEvent.adSubtitle),9,_i)]),T(`div`,vi,[N(r)?g(``,!0):(d(),F(Ur,{key:0})),N(r)?(d(),F(Zr,{key:1})):g(``,!0)])])])):(d(),i(`section`,yi,[T(`div`,bi,[N(t).fallbackEvent.fallbackExternalUrl?(d(),i(`a`,{key:0,href:N(t).fallbackEvent.fallbackExternalUrl,target:`_blank`,rel:`noopener`},[T(`img`,{src:N(t).fallbackEvent.fallbackImage,alt:N(t).fallbackEvent.fallBackTitle},null,8,Si)],8,xi)):(d(),i(`img`,{key:1,src:N(t).fallbackEvent.fallbackImage,alt:N(t).fallbackEvent.fallBackTitle},null,8,Ci))]),a(Gn),T(`div`,wi,[n[1]||=T(`h3`,{class:`now-playing-banner d-none d-xl-inline-block mt-4 mb-4`},`Now Playing`,-1),(d(),i(`div`,{class:`title-and-subtitle text-lg-left`,key:N(t)?.fallbackEvent?.fallbackId},[N(t).fallbackEvent.fallbackExternalUrl?(d(),i(`a`,{key:0,class:`event-external-link`,href:N(t).fallbackEvent.fallbackExternalUrl,target:`_blank`,rel:`noopener`},[T(`h4`,null,M(N(t).fallbackEvent.fallbackTitle),1),N(t).fallbackEvent.fallbackSubtitle?(d(),i(`span`,Ei,`—`)):g(``,!0),N(t).fallbackEvent.fallbackSubtitle?(d(),i(`h5`,Di,M(N(t).fallbackEvent.fallbackSubtitle),1)):g(``,!0)],8,Ti)):(d(),i(S,{key:1},[T(`h4`,null,M(N(t).fallbackEvent.fallbackTitle),1),N(t).fallbackEvent.fallbackSubtitle?(d(),i(`span`,Oi,M(N(t).latestTrack?.data?.description?`—`:``),1)):g(``,!0),T(`h5`,null,M(N(t).fallbackEvent.fallbackSubtitle),1)],64))])),T(`div`,ki,[N(r)?g(``,!0):(d(),F(Ur,{key:0})),N(r)?(d(),F(Zr,{key:1})):g(``,!0)])])]))}},[[`__scopeId`,`data-v-311c0db5`]]),ji={class:`row`},Mi={class:`current-track-artwork col-12 col-xl-3 col-xxl-auto text-center text-xl-start order-1`},Ni=[`href`],Pi=[`src`,`alt`],Fi=[`src`,`alt`],Ii={class:`title-and-subtitle text-lg-left`},Li=[`href`],Ri=[`title`],zi=[`title`],Bi=[`title`],Vi=[`title`],Hi={key:2},Ui={class:`buttons`},Wi=R({__name:`TalkNowPlaying`,setup(e){let t=U(),r=W(),o=n(`isTimeline`,!1),s=I(()=>t.latestEvent?.start_date&&t.latestEvent?.end_date);return p(()=>{t.refreshEventsTimeline()}),(e,n)=>(d(),i(`section`,ji,[T(`div`,Mi,[N(t).latestEvent?.external_url?(d(),i(`a`,{key:0,href:N(t).latestEvent.external_url,target:`_blank`,rel:`noopener`},[T(`img`,{src:N(r).latestTrackArtworkBlob,alt:N(t).latestEvent?.name,onError:n[0]||=e=>{e.target.src=N(`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHyAiIyMnJyctKikxHR4fISEkHB0dKCcuKSgvHh8gJiYrJSUqIiImJCQoICAjbjANTAAABHRJREFUeNrsndty4yAMQCOuBtvg///abZtut9kmqZ0A0e28dKZvZwRClrFyOimKoiiKoiiKoiiKoiiKoiiKoiiKoryIYIyxb7z9CcxV51hdhguyq3HmGde4eLiBXyKzWE8lwS+kMrHRNQvsYjEsdGOG3eQoSpeBsklwmER3YU8rPMRKNH1tHh7Eb4LCSzXIc4KnSLOU5UxzWUdoAKEDqkITKhXfFRqxCvMlYmyhIVZIviKUuQw0BnllHXxrYY+7F5KgOUnAAUzmODbQBbTbeMp9hDPWRycLnUB6GgfoBs5MvfQTXgRlLLx5y/UUdsICjDHEa1/hVVCKxpmobW9hbGdx7i2cRaUsfGlr7S+8ylrRyNb0DAPA9PKljBAuMp4bcD5B+BHCXtgWxlRsbWOE8bxAtWOEraychSlruTHCeLoAeYwwnloLBqHCKqzClAstjbAKq7AKq7DW0iqsz8OjmpaY2pZmjDCily3CknSXG4c/wXQHsY4QxnQFcUifFtNnLtMIYVQXEAc0anFdTov9hXF9DDAJW9ED1jS265aboDJryNuHjM23d9pC+P1S11sAHp9v34dilB8BZEk7uPMuRvoFYrfWlsPp2+8dE9oBCFZQxurY+cD8teXc4TD2qCd6RDEZ+i/Nb4qjn3vgZJxI31oBTRNXIjCEqKVxIjF0qd3gA09k+GOrGCcyQ7XaGCdCQ8SmBj29hdbQtKffNtUTMZ6bmUZxDGB4ogRxNGfzlgeD7MuJKOGh3LVQHr1sDq9rR30E8TFlx2Histm9sJkMmH7by3ZHzzpbVmPT53q33EyV4WT8EK9LpxoZ//zBbKx1X1hr5pOiKIqiKIqiKIqiKIqiIGUyH0R7QTn/l0sXb373W5zbdyPAOVfff8OVoH0wxbonXpd6t9hoJhoL167N7qZ5Vwvmty+mLD0+A0hrQdi8NrbrqAfvLCLpUIbMtUDyK8VzHTQR77y8SxBk+2rnUMbbfh7Yr7g0bhZ4Ib4ODnPM8GoG3o+YrAcMDLoBg0V3lDIi3RHKWwZsrB3TV3CAkH5XMy0gpc/PUZsMeLGCwvsZ5MY7OSRAjm9abm4e8NPwK8UKJGj13c/kgAhtPjXGv32/GTeou2YPlIjCfJ823qj5PmkcgSBPGM8AooxnD6KMyfo+eB5PZH0f+5Z+SkCYB6rMFUhzeCpkAeIc7PsYII+RkrC+EteRbeyAAYugDXxwG888fPefxomJ8N7ZVBbYsKuoDnx892Vqx0h4T+t2A1b8Wn5MmZewE5SxduUtDjXlJZn1Q+HhEAd+vvdDzDDAd0PMMcB3Q2xZCt8OMb8U/UuICzDlVrmVuQovbBt3twhyzqQzV69xTXx9r6etyFj46i9FJM7Cq5Qq66vXI+gQPrPxbmX9pErK0Vfz9MZc+EeeXrkLFyl19I16OnD3/f9gYr+F/9/Elb9wkXQK/6wu+fte/hJZECAMQpod/zD8+7O3nx+qBGErK0lfpmkRwk7WqX
208R5LokQBhWWI2xkCE/ShD9KrT8CDADfIXBj1AvWWQAAAABJRU5ErkJggg==`)}},null,40,Pi)],8,Ni)):(d(),i(`img`,{key:1,src:N(r).latestTrackArtworkBlob,alt:N(t).latestEvent?.name,onError:n[1]||=e=>{e.target.src=N(`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHyAiIyMnJyctKikxHR4fISEkHB0dKCcuKSgvHh8gJiYrJSUqIiImJCQoICAjbjANTAAABHRJREFUeNrsndty4yAMQCOuBtvg///abZtut9kmqZ0A0e28dKZvZwRClrFyOimKoiiKoiiKoiiKoiiKoiiKoiiKoryIYIyxb7z9CcxV51hdhguyq3HmGde4eLiBXyKzWE8lwS+kMrHRNQvsYjEsdGOG3eQoSpeBsklwmER3YU8rPMRKNH1tHh7Eb4LCSzXIc4KnSLOU5UxzWUdoAKEDqkITKhXfFRqxCvMlYmyhIVZIviKUuQw0BnllHXxrYY+7F5KgOUnAAUzmODbQBbTbeMp9hDPWRycLnUB6GgfoBs5MvfQTXgRlLLx5y/UUdsICjDHEa1/hVVCKxpmobW9hbGdx7i2cRaUsfGlr7S+8ylrRyNb0DAPA9PKljBAuMp4bcD5B+BHCXtgWxlRsbWOE8bxAtWOEraychSlruTHCeLoAeYwwnloLBqHCKqzClAstjbAKq7AKq7DW0iqsz8OjmpaY2pZmjDCily3CknSXG4c/wXQHsY4QxnQFcUifFtNnLtMIYVQXEAc0anFdTov9hXF9DDAJW9ED1jS265aboDJryNuHjM23d9pC+P1S11sAHp9v34dilB8BZEk7uPMuRvoFYrfWlsPp2+8dE9oBCFZQxurY+cD8teXc4TD2qCd6RDEZ+i/Nb4qjn3vgZJxI31oBTRNXIjCEqKVxIjF0qd3gA09k+GOrGCcyQ7XaGCdCQ8SmBj29hdbQtKffNtUTMZ6bmUZxDGB4ogRxNGfzlgeD7MuJKOGh3LVQHr1sDq9rR30E8TFlx2Histm9sJkMmH7by3ZHzzpbVmPT53q33EyV4WT8EK9LpxoZ//zBbKx1X1hr5pOiKIqiKIqiKIqiKIqiIGUyH0R7QTn/l0sXb373W5zbdyPAOVfff8OVoH0wxbonXpd6t9hoJhoL167N7qZ5Vwvmty+mLD0+A0hrQdi8NrbrqAfvLCLpUIbMtUDyK8VzHTQR77y8SxBk+2rnUMbbfh7Yr7g0bhZ4Ib4ODnPM8GoG3o+YrAcMDLoBg0V3lDIi3RHKWwZsrB3TV3CAkH5XMy0gpc/PUZsMeLGCwvsZ5MY7OSRAjm9abm4e8NPwK8UKJGj13c/kgAhtPjXGv32/GTeou2YPlIjCfJ823qj5PmkcgSBPGM8AooxnD6KMyfo+eB5PZH0f+5Z+SkCYB6rMFUhzeCpkAeIc7PsYII+RkrC+EteRbeyAAYugDXxwG888fPefxomJ8N7ZVBbYsKuoDnx892Vqx0h4T+t2A1b8Wn5MmZewE5SxduUtDjXlJZn1Q+HhEAd+vvdDzDDAd0PMMcB3Q2xZCt8OMb8U/UuICzDlVrmVuQovbBt3twhyzqQzV69xTXx9r6etyFj46i9FJM7Cq5Qq66vXI+gQPrPxbmX9pErK0Vfz9MZc+EeeXrkLFyl19I16OnD3/f9gYr+F/9/Elb9wkXQK/6wu+fte/hJZECAMQpod/zD8+7O3nx+qBGErK0lfpmkRwk7WqXR5LokQBhWWI2xkCE/ShD9KrT8CDADfIXBj1AvWWQAAAABJRU5ErkJggg==`)}},null,40,Fi))]),a(Gn),(d(),i(`div`,{class:`description col-12 col-xl-4 text-center text-xl-start order-2 order-xl-2 d-flex flex-column align-self-center`,key:N(t)?.latestEvent?.id}
208,[n[3]||=T(`h3`,{class:`now-playing-banner d-none d-md-inline-block`},`On Air Now`,-1),T(`div`,Ii,[N(t).latestEvent?.external_url?(d(),i(`a`,{key:0,class:`event-external-link`,href:N(t).latestEvent.external_url,target:`_blank`,rel:`noopener`},[T(`h4`,{title:N(t).latestEvent?.name??``},M(N(t).latestEvent?.name??`--`),9,Ri),N(t).latestEvent?.additional_info?(d(),i(`h5`,{key:0,title:N(t).latestEvent.additional_info},M(N(t).latestEvent.additional_info),9,zi)):g(``,!0)],8,Li)):(d(),i(S,{key:1},[T(`h4`,{title:N(t).latestEvent?.name??``},M(N(t).latestEvent?.name??`--`),9,Bi),T(`h5`,{title:N(t).latestEvent?.additional_info??``},M(N(t).latestEvent?.additional_info??``),9,Vi)],64)),n[2]||=T(`span`,{class:`d-none compact-live-bar-separator`},`—`,-1),s.value?(d(),i(`h6`,Hi,M(N(t).formatTime(N(t).latestEvent?.start_date))+` - `+M(N(t).formatTime(N(t).latestEvent?.end_date)),1)):g(``,!0)]),T(`div`,Ui,[N(o)?g(``,!0):(d(),F(Ur,{key:0})),N(o)?(d(),F(Zr,{key:1})):g(``,!0)])]))]))}},[[`__scopeId`,`data-v-6bf7b7a2`]]),Gi={class:`row`},Ki={class:`current-track-artwork col-12 col-xl-3 col-xxl-auto text-center text-xl-start order-1`},qi=[`src`,`alt`],Ji={class:`title-and-subtitle text-lg-left`},Yi={key:0},Xi={key:1,class:`d-none compact-live-bar-separator`},Zi={key:2},Qi={key:3,class:`no-podcast-title`},$i={class:`buttons`},ea=R({__name:`PodcastNowPlaying`,setup(e){let t=W(),n=window.hbiLatestPodcastEpisode,r=window.hbiHidePodcastTitle!==`1`,o,s;try{let e=new DOMParser;o=e.parseFromString(n.podcast_title,`text/html`).body.textContent,s=e.parseFromString(n.post_title,`text/html`).body.textContent}catch(e){console.log(e),o=n.podcast_title??``,s=n.post_title??``}return(e,c)=>(d(),i(`section`,Gi,[T(`div`,Ki,[T(`img`,{src:N(t).latestTrackArtworkBlob,alt:N(n).post_title,onError:c[0]||=e=>{e.target.src=N(`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAMAAAAJixmgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFGxwcKyoyHyAiIyMnJyctKikxHR4fISEkHB0dKCcuKSgvHh8gJiYrJSUqIiImJCQoICAjbjANTAAABHRJREFUeNrsndty4yAMQCOuBtvg///abZtut9kmqZ0A0e28dKZvZwRClrFyOimKoiiKoiiKoiiKoiiKoiiKoiiKoryIYIyxb7z9CcxV51hdhguyq3HmGde4eLiBXyKzWE8lwS+kMrHRNQvsYjEsdGOG3eQoSpeBsklwmER3YU8rPMRKNH1tHh7Eb4LCSzXIc4KnSLOU5UxzWUdoAKEDqkITKhXfFRqxCvMlYmyhIVZIviKUuQw0BnllHXxrYY+7F5KgOUnAAUzmODbQBbTbeMp9hDPWRycLnUB6GgfoBs5MvfQTXgRlLLx5y/UUdsICjDHEa1/hVVCKxpmobW9hbGdx7i2cRaUsfGlr7S+8ylrRyNb0DAPA9PKljBAuMp4bcD5B+BHCXtgWxlRsbWOE8bxAtWOEraychSlruTHCeLoAeYwwnloLBqHCKqzClAstjbAKq7AKq7DW0iqsz8OjmpaY2pZmjDCily3CknSXG4c/wXQHsY4QxnQFcUifFtNnLtMIYVQXEAc0anFdTov9hXF9DDAJW9ED1jS265aboDJryNuHjM23d9pC+P1S11sAHp9v34dilB8BZEk7uPMuRvoFYrfWlsPp2+8dE9oBCFZQxurY+cD8teXc4TD2qCd6RDEZ+i/Nb4qjn3vgZJxI31oBTRNXIjCEqKVxIjF0qd3gA09k+GOrGCcyQ7XaGCdCQ8SmBj29hdbQtKffNtUTMZ6bmUZxDGB4ogRxNGfzlgeD7MuJKOGh3LVQHr1sDq9rR30E8TFlx2Histm9sJkMmH7by3ZHzzpbVmPT53q33EyV4WT8EK9LpxoZ//zBbKx1X1hr5pOiKIqiKIqiKIqiKIqiIGUyH0R7QTn/l0sXb373W5zbdyPAOVfff8OVoH0wxbonXpd6t9hoJhoL167N7qZ5Vwvmty+mLD0+A0hrQdi8NrbrqAfvLCLpUIbMtUDyK8VzHTQR77y8SxBk+2rnUMbbfh7Yr7g0bhZ4Ib4ODnPM8GoG3o+YrAcMDLoBg0V3lDIi3RHKWwZsrB3TV3CAkH5XMy0gpc/PUZsMeLGCwvsZ5MY7OSRAjm9abm4e8NPwK8UKJGj13c/kgAhtPjXGv32/GTeou2YPlIjCfJ823qj5PmkcgSBPGM8AooxnD6KMyfo+eB5PZH0f+5Z+SkCYB6rMFUhzeCpkAeIc7PsYII+RkrC+EteRbeyAAYugDXxwG888fPefxomJ8N7ZVBbYsKuoDnx892Vqx0h4T+t2A1b8Wn5MmZewE5SxduUtDjXlJZn1Q+HhEAd+vvdDzDDAd0PMMcB3Q2xZCt8OMb8U/UuICzDlVrmVuQovbBt3twhyzqQzV69xTXx9r6etyFj46i9FJM7Cq5Qq66vXI+gQPrPxbmX9pErK0Vfz9MZc+EeeXrkLFyl19I16OnD3/f9gYr+F/9/Elb9wkXQK/6wu+fte/hJZECAMQpod/zD8+7O3nx+qBGErK0lfpmkRwk7WqXR5LokQBhWWI2xkCE/ShD9KrT8CDADfIXBj1AvWWQAAAABJRU5ErkJggg==`)}},null,40,qi)]),a(Gn),(d(),i(`div`,{class:`description col-12 col-xl-5 text-center text-xl-start order-2 order-xl-2 d-flex flex-column align-self-center`,key:N(n).ID}
208,[c[1]||=T(`h3`,{class:`now-playing-banner d-none d-md-inline-block`},`Latest Episode`,-1),T(`div`,Ji,[r?(d(),i(`h4`,Yi,M(N(o)??``),1)):g(``,!0),r?(d(),i(`span`,Xi,`—`)):g(``,!0),r?(d(),i(`h5`,Zi,M(N(s)??``),1)):(d(),i(`h5`,Qi,M(N(s)??``),1))]),T(`div`,$i,[a(Ur)])]))]))}},[[`__scopeId`,`data-v-2cdcc291`]]);function ta(e,t){let n=()=>{v(()=>e.timelineBackgroundImage,()=>e.updateLatestTrackArtwork())},r=()=>{v(()=>e.latestTrackArtworkBlob,n=>{e.updateLatestTrackSwatch(n),t.setMediaMetadata()})},i=()=>{e.updateLatestTrackArtwork()};return{watchBackgroundImage:n,watchArtworkBlob:r,initializeArtwork:i,setupTrackArtwork:()=>{n(),r(),i()}}}var na={key:0,class:`blur-background`,style:{backdropFilter:`blur(7px) brightness(40%)`,height:`100%`,width:`100%`}},ra={__name:`LiveBarWidget`,setup(e){let n=Z(),r=W(),o=H(),c=U(),l=ae(),{setupTrackArtwork:u}=ta(r,o),p=t(!1),_=window.hbiStationType;Ye();let y=I(()=>!o.showLiveBar);h(`isTimeline`,y);let x=I(()=>window.hbiVueLinksOpenInSameTab??!1);v(()=>o.showLiveBar,D),v(()=>n.settingsAreFetched,async()=>{let e=window.location.pathname;if(e.includes(`/listen`)||e.includes(`/timeline`)||l.currentRoute.value.name===`TimelineView`){u(),p.value=!0;return}n.settingsAreFetched&&(_===`talk`?await c.refreshEventsTimeline():_===`podcast`||await r.refreshTimeline(),_===`music`&&r.subscribeToPusher(),u(),p.value=!0)}),s(()=>{D()}),m(()=>{window.removeEventListener(`resize`,D),document.removeEventListener(`resize`,D)});let C=e=>{if(!(e.target.tagName===`A`||e.target.tagName===`BUTTON`||e.target.closest(`a`)||e.target.closest(`button`))){if(_===`podcast`){let e=window?.hbiLatestPodcastEpisode?.url??`/listen/?utm_source=station-website&utm_medium=widget&utm_campaign=livebar`;x.value?window.location=e:window.open(e,`_blank`);return}o.streamCanPlayOnCurrentRoute||x.value?l.push(`/listen/`):window.open(`/listen/`,`_blank`)}};async function D(){await f(),await new Promise(e=>requestAnimationFrame(e)),await new Promise(e=>requestAnimationFrame(e));let e=new Event(`resize`,{bubbles:!0,cancelable:!0});document.dispatchEvent(e)}return(e,t)=>(d(),i(S,null,[N(o).showLiveBar?(d(),i(`div`,{key:0,class:`live-bar-background`,onClick:C,style:w({backgroundImage:`url('`+N(r).latestTrackArtworkBlob+`')`,backgroundAttachment:`fixed`,backgroundSize:`cover`,height:`100vh`,width:`100%`,position:`absolute`,left:0,top:`-10px`,zIndex:0,filter:N(o).streamCanPlayOnCurrentRoute?`blur(7px) brightness(40%)`:``,backgroundPosition:`center center`})},[N(o).streamCanPlayOnCurrentRoute?g(``,!0):(d(),i(`div`,na))],4)):g(``,!0),p.value?(d(),i(`div`,{key:1,class:k({"container-fluid":!0,"container-xl":!0,"live-bar-container":!0,currentRouteIsTimeline:!N(o).showLiveBar,currentRouteIsNotTimeline:N(o).showLiveBar}),onClick:C},[N(_)===`nts`?(d(),F(Wi,{key:0})):N(_)===`podcast`?(d(),F(ea,{key:1})):(d(),i(S,{key:2},[N(r).latestTrackIsOver&&N(o).currentStreamIsPrimary&&N(n).minimalFallbackSupported?(d(),F(Ai,{key:0})):(d(),F(li,{key:1}))],64))],2)):g(``,!0),p.value&&(N(o).streamCanPlayOnCurrentRoute||y.value)?(d(),F(oe,{key:2,to:`#main-container`},[a(E,null,{default:b(()=>[T(`div`,{id:`timeline-background`,ref:`backgroundRef`,style:w({backgroundImage:`url('`+N(r).latestTrackArtworkBlob+`')`,backgroundAttachment:`fixed`,backgroundSize:`cover`,height:`100vh`,width:`100%`,position:`fixed`,left:0,top:0,zIndex:0,backgroundPosition:`center center`})},[...t[0]||=[T(`div`,{class:`blur-background`,style:{backdropFilter:`blur(7px) brightness(40%)`,height:`100%`,width:`100%`}},null,-1)]],4)]),_:1})])):g(``,!0)],64))}},ia=[`href`,`onKeydown`,`target`],aa=[`src`,`alt`],oa=[`src`,`alt`],sa=R({__name:`SearchResult`,props:[`result`,`category`],setup(e){let t=H(),n=e.result.type===`artist`?he:me,r=I(()=>t.streamCanPlayOnCurrentRoute?[`keyword`,`show`,`podcast`,`post`,`episode`].includes(e.category):[`artist`,`reward`].includes(e.category)),a=I(()=>{let t=e.result?.data?.url;if(!t)return!1;try{return router.resolve(t),!0}catch{return!1}}),s=I(()=>{switch(e.category){case`artist`:return{name:`ArtistView`,params:{mbid:e.result?.data?.ID}};
208case`reward`:return{name:`RewardDetailView`,params:{rewardID:e.result?.data?.ID}};default:return``}}),c=e=>{let t=e.target.parentElement.nextElementSibling?.querySelector(`a`);if(t){t.focus();return}let n=e.target.parentElement.parentElement,r=n.nextElementSibling?.nextElementSibling?.querySelector(`li:first-of-type a`);if(r){r.focus();return}let i=n.parentElement.querySelector(`.search-view-more a`);i&&i.focus()},l=e=>{let t=e.target.parentElement.previousElementSibling?.querySelector(`a`);if(t){t.focus();return}let n=e.target.parentElement.parentElement,r=n.previousElementSibling?.previousElementSibling?.querySelector(`li:last-of-type a`);if(r){r.focus();return}let i=n.parentElement.parentElement.querySelector(`.vue-search-bar`),a=n.parentElement;a.scrollTop=0,i.focus()};return(t,u)=>(d(),i(`li`,null,[a.value?(d(),F(N(P),{key:1,to:s.value},{default:b(()=>[e.category===`keyword`?g(``,!0):(d(),i(`img`,{key:0,src:e.result?.data?.photo,alt:e.result?.value,onError:u[1]||=e=>{e.target.src=N(n)}},null,40,oa)),o(` `+M(e.result?.value),1)]),_:1},8,[`to`])):(d(),i(`a`,{key:0,href:e.result?.data?.url,onKeydown:[O(D(c,[`prevent`,`stop`]),[`down`]),O(D(l,[`prevent`,`stop`]),[`up`])],class:`search-result`,target:r.value?`_blank`:``},[e.category===`keyword`?g(``,!0):(d(),i(`img`,{key:0,src:e.result?.data?.photo,alt:e.result?.value,onError:u[0]||=e=>{e.target.src=N(n)}},null,40,aa)),o(` `+M(e.result?.value),1)],40,ia))]))}},[[`__scopeId`,`data-v-5e76220a`]]),ca=[`id`],la=[`aria-labelledby`],ua=R({__name:`SearchCategory`,props:[`category`,`results`],setup(e){let t=I(()=>e.category?`search-category-`+e.category.toLowerCase():``),n=I(()=>e.results.length===0?[]:e.results.filter(t=>t?.data?.type===e.category)??[]);return(r,a)=>n.value.length>0?(d(),i(S,{key:0},[T(`p`,{class:`category`,id:t.value,style:{color:`#000`}},M(e.category)+`s `,9,ca),T(`ul`,{"aria-labelledby":t.value,class:`results`},[(d(!0),i(S,null,se(n.value,t=>(d(),F(sa,{result:t,category:e.category,key:t?.data?.ID},null,8,[`result`,`category`]))),128))],8,la)],64)):g(``,!0)}},[[`__scopeId`,`data-v-87192c14`]]),da=[`placeholder`,`onKeydown`,`id`],fa={key:0,class:`loading`},pa={key:1,class:`search-view-more`},ma=[`href`,`onKeydown`],ha=R({__name:`SearchBar`,setup(e){let n=Z().fetchedPlayerSettings[`hll-search-placeholder`]??`Search`,r=t(null),o=t(null),l=!1,u=t([]),f=t(!1),p=t([]),m=t([]),h=t([]),_=null,y=I(()=>r.value?r.value.parentNode.id+`-input`:``),b=e=>{let t=e.relatedTarget?.className;[`search-result`,`view-more`].includes(t)||setTimeout(()=>{f.value=!1},100)},x=()=>{f.value=!0},S=e=>{e.target.parentElement.querySelector(`.search-results a:first-of-type`).focus()},C=e=>{l||e.target.parentElement.querySelector(`.search-results a:first-of-type`).click()},w=e=>{e.target.parentElement.parentElement.querySelector(`ul:last-of-type li:last-of-type a`).focus()},E=null;v(()=>o.value,e=>{if(E&&clearTimeout(E),_&&_.abort(),p.value=[],m.value=[],e.replace(/\w/,``)===``){l=!1;return}l=!0,h.value=oe(e),E=setTimeout(()=>{_=new AbortController,ee(e,_.signal)},500)}),s(async()=>{fetch(`/wp-json/wp/v2/search-keywords`).then(e=>e.json()).then(e=>u.value=e).catch(e=>console.log(`Search Keyword Fetch Failed`,e))});let ee=async(e,t)=>{if(!t)return;let[n,r,i]=await Promise.all([k(e,t),te(e,t)]);t.aborted||(l=!1,p.value=n,m.value=r)},k=async(e,t)=>{try{let n=(await(await V.hll_search(e,t)).json())?.suggestions??[];return j(n).map(ne).filter(M)}catch(e){return console.log(e),[]}},te=async(e,t)=>{try{if(e.replace(/\w/,``)===``)return[];let n=await(await fetch(`/wp-json/wp/v2/search?_embed&search=${e}`,{signal:t})).json();return await Promise.all(n?.map(A))??[]}catch(e){return console.log(e),[]}},A=async e=>({value:P(e.title),data:{type:e.subtype,ID:e.id,photo:await ie(e),url:e.url}}),j=e=>e.flatMap(e=>e.data.type!==`track`||!e.data.artists?e:e.data.artists.map(t=>{let n={...e,data:{...e.data,resultArtist:{...t}}};return n.value=e.value+` - `+t.artist_name,n.data.ID=e.data.ID,n})),ne=e=>(e.data.type===`artist`&&(e.data.url=`/artist/`+e.data.ID),e.data.type===`track`&&(e.data.url=`/artist/`+e.data?.resultArtist?.mbid),e.data.type===`reward`&&(e.data.url=`/rewards/`+e.data.ID),e),M=e=>e.data.type===`track`?e.data.resultArtist!==void 0:!0,ie=async e=>e.subtype===`episode`?e?._embedded?.self[0]?.meta?.thumbnail_url??``:ae(e),ae=async e=>{try{return e?._embedded?.self[0]?._links[`wp:featuredmedia`][0]??null?(await(await fetch(e?._embedded?.self[0]?._links[`wp:featuredmedia`][0].href)).json())?.media_details.sizes.thumbnail?.source_url??``:``}catch(e){return console.log(e),``}},P=e=>{try{return new DOMParser().parseFromString(e,`text/html`).body.textContent}catch(t){return console.log(t),e}},oe=()=>{let e=u.value;return!e||e.length===0?[]:e.filter(e=>{let t=e?.search_keyword_keyword?.toLowerCase(),n=o.value?.toLowerCase();return t?.includes(n)}).map(e=>({value:e.search_keyword_keyword,data:{type:`keyword`,ID:e.search_keyword_keyword,photo:``,url:e.search_keyword_destination}}))};return(e,t)=>(d(),i(`div`,{class:`vue-search-container`,ref_key:`containerRef`,ref:r},[t[2]||=T(`label`,{for:`search-bar`,class:`assistive-text d-none`},null,-1),c(T(`input`,{"onUpdate:modelValue":t[0]||=e=>o.value=e,placeholder:N(n),class:`form-control vue-search-bar`,type:`search`,onFocus:x,onBlur:b,onKeydown:[O(D(S,[`prevent`]),[`down`]),O(D(C,[`prevent`]),[`enter`])],id:y.value},null,40,da),[[re,o.value]]),N(f)&&(N(l)||m.value.length||p.value.length)?(d(),i(`div`,{key:0,class:`search-results`,role:`dialog`,"aria-modal":`true`,onBlur:b,onF
208ocusout:b},[a(ua,{category:`keyword`,results:h.value},null,8,[`results`]),N(l)?(d(),i(`p`,fa,` Loading Results... `)):g(``,!0),a(ua,{category:`reward`,results:p.value},null,8,[`results`]),a(ua,{category:`show`,results:m.value},null,8,[`results`]),a(ua,{category:`podcast`,results:m.value},null,8,[`results`]),a(ua,{category:`post`,results:m.value},null,8,[`results`]),a(ua,{category:`episode`,results:m.value},null,8,[`results`]),a(ua,{category:`artist`,results:p.value},null,8,[`results`]),m.value.length===10?(d(),i(`p`,pa,[T(`a`,{href:`/?s=`+o.value,onKeydown:[O(D(w,[`prevent`,`stop`]),[`up`]),t[1]||=O(D(()=>{},[`prevent`,`stop`]),[`down`])],onBlur:b,class:`view-more`},` View More Results `,40,ma)])):g(``,!0)],32)):g(``,!0)],512))}},[[`__scopeId`,`data-v-950e46e9`]]),ga={__name:`PodcastEpisodeWidget`,setup(e){let t=Y(),n=0,r=0,i=0,a=0,o=0,c=Date.now(),l=new Date().toISOString().slice(0,19).replace(`T`,` `),u=window.hbiPodcastWidgetEpisodeId,d=window.hbiPodcastWidgetPodcastId;s(()=>{window.addEventListener(`message`,function(e){try{let t=JSON.parse(e.data);if(t.context===`player.js`){if(t.event===`play`){if(i>Date.now()-5e3)return;l=new Date().toISOString().slice(0,19).replace(`T`,` `),i=Date.now(),f()}else if(t.event===`timeupdate`)Math.trunc(t.value.seconds)!==o&&(o=Math.trunc(t.value.seconds),Date.now()-6e4>=c&&f()),a===null&&(a=o);else if(t.event===`seeked`){if(n>Date.now()-5e3)return;n=Date.now(),a=null}else if(t.event===`pause`||t.event===`ended`||t.event===`error`){if(r>Date.now()-5e3)return;r=Date.now(),f(),l=new Date().toISOString().slice(0,19).replace(`T`,` `)}else if(t.event===`ready`){let e=document.querySelector(`iframe[src*="podigee"]`);e&&[`play`,`pause`,`ended`,`error`,`timeupdate`,`seeked`].forEach(t=>{e.contentWindow.postMessage(JSON.stringify({context:`player.js`,method:`addEventListener`,value:t}),`*`)})}}}catch{}})});let f=()=>{a=a===null?o:a,t.podcastPing(d,u,a,o,l),c=Date.now()};return(e,t)=>null}},Q=le();Q.use(({store:e})=>{e.router=x(K)});var _a=A(nt),va=A(Ft),ya=A(bn),ba=A(ra),xa=A(ga),Sa=A(ha),Ca=A(ha),wa=A(ha);_a.use(Q).use(K),va.use(Q).use(K),ya.use(Q).use(K),ba.use(Q).use(K),xa.use(Q).use(K),Sa.use(Q).use(K),Ca.use(Q).use(K),_a.config.globalProperties.$displayError=e=>{_a._instance.proxy.$emit(`show-error`,e)};var Ta=document.getElementById(`hbi_listener_profile_app`),Ea=document.getElementById(`live_bar_widget`),Da=document.getElementById(`vue-profile-rewards-progress`),Oa=document.getElementById(`search-results-search-form`),ka=document.getElementById(`vue-podcast-episode-widget`),Aa=document.getElementById(`live_login_menu`),ja=document.getElementById(`main-search-form`),Ma=document.getElementById(`mobile-search-form`);Ta&&!Ta._vue_app_mounted&&(_a.mount(`#hbi_listener_profile_app`),Ta._vue_app_mounted=!0),Ea&&!Ea._vue_app_mounted&&(ba.mount(`#live_bar_widget`),Ea._vue_app_mounted=!0),Da&&!Da._vue_app_mounted&&(ya.mount(`#vue-profile-rewards-progress`),Da._vue_app_mounted=!0),Oa&&!Oa._vue_app_mounted&&(wa.mount(`#search-results-search-form`),Oa._vue_app_mounted=!0),ka&&!ka._vue_app_mounted&&(xa.mount(`#vue-podcast-episode-widget`),ka._vue_app_mounted=!0),Aa&&!Aa._vue_app_mounted&&(va.mount(`#live_login_menu`),Aa._vue_app_mounted=!0),ja&&!ja._vue_app_mounted&&(Sa.mount(`#main-search-form`),ja._vue_app_mounted=!0),Ma&&!Ma._vue_app_mounted&&(Ca.mount(`#mobile-search-form`),Ma._vue_app_mounted=!0);export{H as A,Ee as C,he as D,ge as E,z as M,me as O,Oe as S,W as T,Be as _,xr as a,Y as b,dr as c,rn as d,Vt as f,Ve as g,Z as h,Tr as i,V as j,U as k,ur as l,Ke as m,Ai as n,_r as o,Ye as p,li as r,hr as s,Wi as t,yn as u,ze as v,xe as w,G as x,X as y};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.