PageSourceSearch

https://www.globalplayer.com/_next/static/chunks/pages/settings/autoplay-6aa8e5313962a7cb.js

js globalplayer.com collected 2026-09-24 09:05:50 UTC 8,024 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1789],{4221:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(37876),l=a(14232),n=a(43503),i=a(82092),_=a.n(i);let r=({defaultChecked:e,onToggle:t,checked:a,label:i,disabled:r=!1,className:o})=>{let[c,d]=(0,l.useState)(e);return(0,l.useEffect)(()=>{d(a)},[a]),(0,s.jsxs)("label",{className:(0,n.t4)([_().label,r?_().disabled:"",o]),children:[i,(0,s.jsx)("input",{disabled:r,className:_().input,type:"checkbox",onChange:e=>{d(e.target.checked),t(e.target.checked)},checked:c}),(0,s.jsx)("span",{className:(0,n.t4)([_().slider,_().round,r?_().disabled:""])})]})}},21424:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/autoplay",function(){return a(93006)}])},35063:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(37876),l=a(14232),n=a(62867),i=a(81128),_=a(35351),r=a(40430);let o=({title:e,...t})=>{let{NowPlayingByStation:a}=(0,_.Me)(),o=(0,l.useContext)(r.T),c=o.playlist[o.currentPlayingIndex],d=c?a.get("radio"===c.itemType?c.heraldId?.toString():c.id?.toString()):new i.ZT,g=e,h=c?c.itemType:null,u=c&&c.subtitle?`on ${c.subtitle}`:"";if(d)switch(h){case"playlist":case"radio":switch(d.now_playing.type){case"playlist":case"show":g=`${d.now_playing.name} ${u}`;break;case"track":g=`${d.now_playing.title} by ${d.now_playing.artist} | ${"radio"===h?`${d.current_show.name} ${u}`:e} `}break;case"podcast":g=`${c.title} | ${c.subtitle}`;break;case"catchup":g=`${c.title} | ${e}`}return(0,s.jsx)(n.bV,{title:o.isPlaying?g:e,...t})}},43061:e=>{e.exports={container:"page-header_container__u6lFO",banner:"page-header_banner__MXa1c",backForwardNav:"page-header_backForwardNav__HHl6f",backForwardNavText:"page-header_backForwardNavText__ADtG_",isTouchScreen:"page-header_isTouchScreen__gnJss",videoHomeBanner:"page-header_videoHomeBanner__okHWa",logoContainer:"page-header_logoContainer__wzB5A"}},46746:e=>{e.exports={headerPanel:"style_headerPanel__wXMGP",navTitle:"style_navTitle__Vh37r",title:"style_title__tTCzB",hasLogo:"style_hasLogo__uKaHZ",top:"style_top__xcu4p",large:"style_large__wMboo",medium:"style_medium__5i4K2",small:"style_small__WD9Nw",none:"style_none__1opSW",headerContainer:"style_headerContainer__i_GD5",column:"style_column__hmPWx",logoContainer:"style_logoContainer__3YVNk",globalPlayerLogo:"style_globalPlayerLogo__dLb_t",globalPlayerIcon:"style_globalPlayerIcon__JvvR_",left:"style_left__FVB7s",right:"style_right__i2toy",text:"style_text__CWaW1",button:"style_button__qHwtD",login:"style_login__8XmSX",noBackground:"style_noBackground__euvHL",capital:"style_capital__1uvoF","capital-chill":"style_capital-chill__jIvpD","capital-xtra":"style_capital-xtra__t0yH8","classic-fm":"style_classic-fm__lerCF",gold:"style_gold__qRzdE",heart:"style_heart__C0Yrt",lbc:"style_lbc__ehfGn","radio-x":"style_radio-x__QBIQg","radio-x-classic-rock":"style_radio-x-classic-rock__p9I5p",smooth:"style_smooth__x2X1J",wsqk:"style_wsqk__vuwtG",rivieraradio:"style_rivieraradio__WHAgR"}},81741:e=>{e.exports={settings:"settings_settings__pOwex",panel:"settings_panel__dUKly",title:"settings_title__IZj6b",subtitle:"settings_subtitle___sXGY",description:"settings_description__ryuV9",main:"settings_main__hYN09",name:"settings_name__gYgj6",email:"settings_email__coP5R",text:"settings_text__pvwRo",links:"settings_links__ztdmB",editProfile:"settings_editProfile__dGn_z",linkConfirmation:"settings_linkConfirmation__0ilg8",linkDevice:"settings_linkDevice__PSliD",link:"settings_link__9fu0z",settingContainer:"settings_settingContainer__wstuK",chevron:"settings_chevron__OXyUF",hoverState:"settings_hoverState__J1HHX",footer:"settings_footer__uJxql",settingsContainer:"settings_settingsContainer__cq8_2",settingTitle:"settings_settingTitle__A3GKe",signOutButtonContainer:"settings_signOutButtonContainer__qUQOD",signOutButton:"settings_signOutButton__S3le1"}},82092:e=>{e.exports={label:"style_label__PRmYg",disabled:"style_disabled__DejKK",input:"style_input__NhTvn",slider:"style_slider__a4U0S",round:"style_round__rQh2b"}},89289:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var s=a(37876),l=a(98531),n=a(43503),i=a(54921),_=a(48230),r=a.n(_),o=a(97637),c=a.n(o);let d=({directionLeft:e=!0,longArrow:t=!0,navLinkClassname:a="",href:_,onBack:o,children:d})=>(0,s.jsx)(r(),{"data-testid":"backforwardlink",href:_||"#",onClick:e=>{!_&&o&&(e.preventDefault(),o())},className:(0,n.t4)([c().backForwardLink,e?"":c().arrowDirectionReverse,c()[a]]),children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.A,{icon:e?t?l.A.ArrowLeft:l.A.ChevronLeft:t?l.A.ArrowRight:l.A.ChevronRight}),(0,s.jsx)("div",{className:c().children,children:d})]})});var g=a(46746),h=a.n(g);let u=({className:e,titlePositioning:t,title:a,text:_,children:r,showBackNav:o=!1,navDirectionLeft:c,navText:g,headerStyles:u,brand:y,longNavArrow:p=!0,linkHref:b,hasLogo:v=!1,navLinkClassname:m="",titleMargin:x="large",backAction:k,includesLogo:w=!1,...
1N})=>{let j="none"===y?h().noBackground:h()[y];return(0,s.jsxs)("div",{className:(0,n.t4)([h().headerPanel,e,y&&j]),style:u,...N,children:[(0,s.jsx)("div",{className:(0,n.t4)([h().navTitle,`${c?h().left:h().right}`]),children:o&&(0,s.jsx)(d,{navLinkClassname:m,href:b,longArrow:p,directionLeft:c,onBack:k,children:g})}),(0,s.jsxs)("div",{className:(0,n.t4)([h().headerContainer,w?h().column:null]),children:[w&&(0,s.jsxs)("div",{className:h().logoContainer,children:[(0,s.jsx)(i.A,{icon:l.A.GlobalPlayerLogoStraplineWhite,className:h().globalPlayerLogo,alt:"Global Player logo"}),(0,s.jsx)(i.A,{icon:l.A.GlobalPlayerIconWhite,className:h().globalPlayerIcon,alt:"Global Player logo"})]}),a?(0,s.jsx)("h1",{className:(0,n.t4)([h().title,h()[x],t&&h()[t],v?h().hasLogo:""]),children:a}):null,_?(0,s.jsx)("p",{className:h().text,children:_}):null,r]})]})}},93006:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>p,default:()=>b});var s=a(37876),l=a(14232),n=a(42135),i=a(35063),_=a(95639),r=a(30270),o=a(4221),c=a(84483),d=a(94171),g=a(91737),h=a(72065),u=a(81741),y=a.n(u),p=!0;let b=()=>{let[e,t]=(0,l.useState)(!1),a=r.A.settingsAutoplay(),[u,p]=(0,n.Mj)("userPreferences",d.Tj);return(0,l.useEffect)(()=>{t(!0)},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.A,{title:"Playback settings | Global Player",canonical:`${g.A.openGraph.url}${a.as}`}),(0,s.jsx)(_.A,{backgroundImage:"/assets/backgrounds/general/settings-panel-background.jpg",navDirectionLeft:!0,navText:"Settings",title:"Autoplay",showBackNav:!0,linkHref:"/settings"}),(0,s.jsx)(c.N,{withBackground:!1,"data-testid":"autoplay-settings-page",children:(0,s.jsxs)("div",{className:y().panel,children:[(0,s.jsx)("h2",{className:y().title,children:"Podcast"}),(0,s.jsx)("div",{className:y().settingsContainer,children:(0,s.jsx)(o.A,{className:(0,h.t4)([y().settingContainer,y().hoverState]),defaultChecked:e,onToggle:()=>p({...u,autoplay:{...u?.autoplay,podcasts:!u?.autoplay?.podcasts}}),checked:e&&u?.autoplay?.podcasts,label:(0,s.jsx)("span",{className:y().settingTitle,children:"Next Episode"}),disabled:!e})})]})})]})}},95639:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(37876),l=a(89289),n=a(72065),i=a(43061),_=a.n(i);let r=({title:e="",titlePositioning:t="",className:a="",showBackNav:i=!1,navText:r="",navDirectionLeft:o,backgroundImage:c,logo:d,brand:g,linkHref:h,styles:u={},isTouchScreen:y=!1,navLinkClassname:p,...b})=>{let v=(0,n.t4)([_().banner,y?_().isTouchScreen:"",a]);return(0,s.jsx)("div",{className:_().container,style:{...u},...b,children:(0,s.jsx)(l.A,{longNavArrow:!0,className:v,title:e,titlePositioning:t,headerStyles:c?{backgroundImage:`url(${c})`}:{},showBackNav:i,navText:r,navDirectionLeft:o,brand:g,linkHref:h,hasLogo:!!d,navLinkClassname:p,children:d&&(0,s.jsx)("div",{className:_().logoContainer,children:(0,s.jsx)("img",{src:d,alt:"logo"})})})})}},97637:e=>{e.exports={backForwardLink:"style_backForwardLink__HLj5I",videoPage:"style_videoPage__6LPoG",videoCatgoryPage:"style_videoCatgoryPage__dFEc3",children:"style_children__IuDQZ",arrowDirectionReverse:"style_arrowDirectionReverse__GL83f"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=21424)),_N_E=e.O()}]);

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.