PageSourceSearch

https://www.radionoordzee.nl/_next/static/chunks/5272.982380efff821495.js

js radionoordzee.nl collected 2026-10-08 00:25:36 UTC 5,018 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5272],{7143:function(e,t,n){n.d(t,{B:function(){return s},D:function(){return a}});var i=n(31396),r=n(56841),o=n(15386);let s=(0,i.ZP)("div",{target:"e1poc0y80"})(e=>{let{theme:t}=e;return{[t.breakpoints.up("lg")]:{position:"absolute",right:96},paddingLeft:t.spacing(3),["".concat(r.Lt)]:{["".concat(r.PS)]:{height:32,width:32,font:o.Rq.buttonMedium,backgroundColor:"transparent",color:o.O9.neutral0,borderRadius:o.Lz.buttonBorderRadius,justifyContent:"center",[t.breakpoints.up("md")]:{width:"fit-content",height:40,padding:t.spacing(0,3)}},["".concat(r.Vs)]:{backgroundColor:o.O9.neutral90,padding:t.spacing(5,1)},["".concat(r.hP)]:{color:o.O9.neutral0,fontWeight:400,"&:hover":{backgroundColor:o.O9.neutral80}},["".concat(r.sV)]:{svg:{color:o.O9.neutral0,position:"relative",transform:"none",top:0,left:0,right:0,height:20,width:20}}}}}),a=(0,i.ZP)("div",{target:"e1poc0y81"})(e=>{let{theme:t}=e;return{height:40,maxWidth:32,svg:{height:40,width:40},div:{height:40},[t.breakpoints.up("md")]:{maxWidth:"fit-content",display:"flex",alignItems:"center",justifyContent:"center"}}})},35272:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var i=n(35944),r=n(67294),o=n(11163),s=n(10829),a=n(53390),u=n.n(a),l=n(33299),d=n(14775),c=n(82223),g=n(5168),h=n(21953),f=n(78114),w=n(62071),v=n(70103),p=n(30656),C=n(7143);let L=[{value:h.CV,label:h.CV,startIcon:h.LM.Profile},{value:h.Nv,label:h.Nv,startIcon:h.LM.Logout}],I=[{value:h.Uz,label:h.Uz,startIcon:h.LM.Heart}],m=e=>{u().link({event_category:f.$1.HEADER,event_name:f.SP.HEADER_CLICK,event_label:e})},O=e=>e===h.IC.Authenticated?"logged in":"logged out",b=(e,t)=>{(0,p.Z)({userId:null!=e?e:null}),u().defaultLayer.profile_gigyaid!==e&&u().setDataLayer({profile_gigyaid:null!=e?e:null,profile_loginstatus:t})},k=(e,t)=>{if(e){let{id:n,firstName:i,lastName:r,email:o,phoneNumber:s,idToken:a,profileUrl:u}=t;(0,w.Km)(a),window.eventBus.dispatch("user",{isLoggedIn:e,user:{id:n,firstName:i,lastName:r,email:o,phoneNumber:s,profileUrl:u},idToken:a,isLoading:!1})}else(0,w.Km)(null),window.eventBus.dispatch("user",{isLoggedIn:e,user:null,idToken:null,isLoading:!1})},_=e=>{(0,l.signIn)(h.f0,e)},S=e=>{(0,l.signOut)(e)},E=()=>{m(f.KX.ACCOUNT.LOGIN),window.eventBus.dispatch("requestSignIn",{})},R=()=>{let{loginStatus:e,user:t}=(0,w.aF)(),{status:n,data:a,update:u}=(0,l.useSession)(),R=(0,s.Z)(e=>e.breakpoints.down("md")),{firstName:Z,profileUrl:B}=null!=t?t:{},{outletName:N}=(0,v._w)(),{replace:y,push:A}=(0,o.useRouter)();return((0,r.useEffect)(()=>{let e=()=>{if("loading"===n)return;let e=new URL(window.location.href);"true"===e.searchParams.get(h.az.RefreshSession)&&("unauthenticated"!==n&&(window.eventBus.dispatch("user",{isLoggedIn:!1,isLoading:!0,user:null,idToken:null}),u()),e.searchParams.delete(h.az.RefreshSession),y(e.toString(),void 0,{shallow:!0}))},t=t=>{t.persisted&&e()};return e(),window.addEventListener("pageshow",t),()=>window.removeEventListener("pageshow",t)},[y,n,u]),(0,r.useEffect)(()=>{var e,t,i;let r;let{idToken:o,id:s,error:d}=null!=a?a:{},c=n===h.IC.Loading&&!!(null===(i=window.eventBus.publishedEventRegistry)||void 0===i?void 0:null===(t=i.user)||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.isLoggedIn);if(c||"true"===new URL(window.location.href).searchParams.get(h.az.RefreshSession))return;if(n===h.IC.Loading){window.eventBus.dispatch("user",{isLoggedIn:!1,isLoading:!0,user:null,idToken:null}),(0,p.Z)({profile_loginstatus:n});return}if(d){(0,p.Nd)(Error("AuthError"),{error_message:d}),"RetryRefreshToken"===d?r=setTimeout(()=>void u(),2e3):(0,l.signOut)(),k(!1);return}let g=O(n);if(b(s,g),(0,p.Z)({profile_loginstatus:g}),o){k(!0,a);return}return k(!1),()=>{clearTimeout(r)}},[a,n,u]),(0,r.useEffect)(()=>{if(!a)return;let e=setInterval(()=>{let{expiresAt:e}=a;Date.now()>=1e3*e-h.r4&&u()},h.r4);return()=>clearInterval(e)},[a,u]),(0,r.useEffect)(()=>(window.eventBus.on("requestSignIn",_),window.eventBus.on("requestSignOut",S),()=>{window.eventBus.off("requestSignIn",_),window.eventBus.off("requestSignOut",S)}),[]),e===h.IC.Loading)?(0,i.tZ)(C.B,{children:(0,i.tZ)(C.D,{children:(0,i.tZ)(g.Z,{})})}):(0,i.tZ)(C.B,{children:t?(0,i.tZ)(c.Z,{options:[...N===h.eA.Kijk?I:[],...L],callback:e=>{if(e===h.Uz&&(m(f.KX.ACCOUNT.MIJN_KIJK),A(h._1.ACCOUNT)),e===h.Nv&&(m(f.KX.ACCOUNT.LOGOUT),window.eventBus.dispatch("requestSignOut",{})),e===h.CV){m(f.KX.ACCOUNT.MANAGE_ACCOUNT);let e=new URL(window.location.href);e.searchParams.set(h.az.RefreshSession,"true"),window.history.replaceState({},"",e.toString()),window.open(B,"_self")}},iconButton:R?{text:null==Z?void 0:Z.charAt(0)}:{text:null==Z?void 0:Z.slice(0,16),icon:h.LM.Profile}}):(0,i.tZ)(d.ZP,{variant:d.$e.Outline,size:d.qE.Medium,tone:d.dz.Inverse,startIcon:h.LM.Profile,onClick:E,iconSize:d.hp.Responsive,children:R?null:h.ym})})};var Z=()=>(0,i.tZ)(l.SessionProvider,{refetchOnWindowFocus:!1,children:(0,i.tZ)(R,{})})}}]);
2//# sourceMappingURL=5272.982380efff821495.js.map

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.