PageSourceSearch

https://www.radiocontact.be/player/dist/js/global-bundle.min.js?v=1.10.3

js radiocontact.be collected 2026-10-01 12:25:31 UTC 27,664 bytes, 8 lines download raw bytes

1window.utils=window.utils||{addScript:function(n,t,i){const r=document.createElement("script");r.type="text/javascript";r.async=!0;i&&(r.id=i);r.onload=n=>{console.log("=> script chargé :",n.target?.src||n.srcElement?.src),t&&t(n)};r.onerror=t=>console.error("=> erreur lors du chargement du script:",{src:n,error:t});r.src=n;document.head.appendChild(r)},whenAvailable:function(n,t){const i=10,r=()=>{window[n]?t(window[n]):setTimeout(r,i)};setTimeout(r,i)},getAllUrlParams:function(n){const i=n?n.split("?")[1]:window.location.search.slice(1),t={};if(!i)return t;const r=i.split("&");for(const n of r){const[i,r=!0]=n.split("=");if(/\[(\d+)?\]$/.test(i)){const n=i.replace(/\[(\d+)?\]/,"");if(t[n]||(t[n]=[]),/\[\d+\]$/.test(i)){const u=/\[(\d+)\]/.exec(i)[1];t[n][u]=r}else t[n].push(r)}else t[i]?Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]:t[i]=r}return t},getCookie:function(n){const t=document.cookie.split(";");for(const i of t){const[t,r]=i.trim().split("=");if(t===n)return r}return""},isMobile:function(){const n=navigator.userAgent||navigator.vendor||window.opera;return/iPhone|iPad|iPod/i.test(n)?!0:/Android/i.test(n)?!0:/IEMobile|WPDesktop/i.test(n)?!0:window.matchMedia&&window.matchMedia("(max-width: 768px)").matches?!0:!1},loadJsonData:function(n,t,i,r=false,u={}){try{const f=new XMLHttpRequest;f.overrideMimeType("application/json");f.withCredentials=r;f.open("GET",n,!0);Object.entries(u).forEach(([n,t])=>f.setRequestHeader(n,t));f.responseType="json";f.onreadystatechange=function(){f.readyState===4&&(f.status===200?t(f.response):i&&i(f.response))};f.send(null)}catch(f){i&&i({error:f})}},getBaseUrl:function(){const n=document.currentScript||function(){const n=document.getElementsByTagName("script");return n[n.length-1]}();if(n&&n.src){const i=n.src,t=i.match(/^(.*\/js\/)/);if(t&&t[1])return t[1]}return`${window.location.origin}/js/`},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||navigator.appVersion.indexOf("Trident/")>0}};window.consents=window.consents||{};window.consents.didomi={init:function({apiKey:n,logoUrl:i,consentNoticeId:t}){console.warn("Didomi - Initialisation...");const r=t||document.location.hostname;window.didomiConfig={app:{apiKey:n,logoUrl:i,preferences:{content:{title:{fr:""}}}}};const u=`https://sdk.privacy-center.org/${n}/loader.js?target=${r}`;window.gdprAppliesGlobally=!0,function(){function n(t){if(!window.frames[t])if(document.body&&document.body.firstChild){const n=document.createElement("iframe");n.style.display="none";n.name=t;n.title=t;document.body.insertBefore(n,document.body.firstChild)}else setTimeout(()=>n(t),5)}function t(n,t,i,r,u){function f(n,i,r,f){if(typeof r=="function"){window[t]||(window[t]=[]);let e=!1;u&&(e=u(n,i,r));e||window[t].push({command:n,parameter:i,callback:r,version:f})}}function e(t){if(window[n]&&window[n].stub===!0&&t.data){let u;try{u=typeof t.data=="string"?JSON.parse(t.data):t.data}catch{return}if(u[i]){const f=u[i];window[n](f.command,f.parameter,function(n,i){const u={};u[r]={returnValue:n,success:i,callId:f.callId};t.source.postMessage(JSON.stringify(u),"*")},f.version)}}}f.stub=!0;typeof window[n]!="function"&&(window[n]=f,window.addEventListener?window.addEventListener("message",e,!1):window.attachEvent("onmessage",e))}t("__tcfapi","__tcfapiBuffer","__tcfapiCall","__tcfapiReturn");n("__tcfapiLocator")}();window.consents.didomi.setupEventListeners();window.utils.addScript(u,()=>{console.log("=> Didomi loaded")},"spcloader")},setupEventListeners:function(){window.didomiEventListeners=window.didomiEventListeners||[];window.didomiEventListeners.push({event:"preferences.clickpurposeagree",listener:n=>{const t=Didomi.getConfig().purposeIdAssociations[n.purposeId];t&&document.querySelectorAll(".didomi-components-radio__option").forEach((n,i)=>{const r=n.getAttribute("aria-describedby")?.replace("didomi-purpose-","");t.includes(r)&&i%2==1&&n.click()})}});window.didomiEventListeners.push({event:"preferences.clickpurposedisagree",listener:n=>{const t=Didomi.getConfig().purposeIdAssociations;for(const i in t)if(t[i].includes(n.purposeId)){const n=document.querySelector(`.didomi-components-radio__option[aria-describedby="didomi-purpose-${i}"]`);n&&n.click()}}});window.didomiEventListeners.push({event:"preferences.clickcategorydisagree",listener:n=>{const t=document.getElementById(`didomi-purpose-${n.categoryId}`)?.closest("section")?.nextElementSibling;if(t){const i=Didomi.getConfig().purposeIdAssociations;t.querySelectorAll(".didomi-components-radio__option--unselected")?.forEach(n=>{const t=n.getAttribute("aria-describedby")?.replace("didomi-purpose-","");for(const n in i)if(i[n].includes(t)){const t=document.querySelector(`.didomi-components-radio__option[aria-describedby="didomi-purpose-${n}"]`);t&&t.click()}})}}});window.didomiEventListeners.push({event:"consent.changed",listener:()=>{location.reload()}});window.didomiOnReady=window.didomiOnReady||[];window.didomiOnReady.push(()=>{console.log("=> Didomi is ready !");Didomi.showConsentNotice=()=>Didomi.preferences.show();Didomi.isVendorActive=n=>{if(!n||!Didomi)return!0;let t=Didomi.getUserConsentStatusForVendor(n);return t===undefined&&Didomi.getConfig()?.vendorIds?.[n]&&(t=Didomi.getUserConsentStatusForVendor(Didomi.getConfig().vendorIds[n])),typeof t=="boolean"?t:!0};Didomi.getUserConsentStatusForPurposeExtended??=function(n){const t=this.getConfig()?.purposeTypeAssociations?.[n];return t?t.every(n=>this.getUserConsentStatusForPurpose(n)):this.getUserConsentStatusForPurpose(n)};Didomi.getUserConsentStatusForGroupIds??=function(n){const i={"1":"cookies","2":"select_basic_ads","3":"create_ads_profile","4":"select_personalized_ads","5":"create_content_profile","6":"select_personalized_content","7":"measure_ad_performance","8":"measure_content_performance","9":"market_research","10":"improve_products","11":"use_limited_data_to_select_content"},r=n.split(","),u=r.map(n=>
1i[n]).filter(Boolean),t=Didomi.getUserConsentStatusForAll();return t?.purposes?.enabled?u.every(n=>t.purposes.enabled.includes(n)):!1};const n=new CustomEvent("DidomiExtended");window.dispatchEvent(n);console.log("=> Didomi étendu")})}};var daisyBit=null;window.core=window.core||{};window.core.consents={evaluate:function(){return daisyBit=window.didomiState?.didomiIABConsent,{daisyBit,gemius:!0,piano:Didomi.getUserConsentStatusForGroupIds("1,8")&&Didomi.isVendorActive("c:piano"),gtm:!0,lotame:Didomi.getUserConsentStatusForGroupIds("1,3,5,7,8,9,10")&&Didomi.isVendorActive("95"),adswizz:Didomi.getUserConsentStatusForGroupIds("1,3,5,7,8,9,10")&&Didomi.isVendorActive("507"),GA:Didomi.getUserConsentStatusForGroupIds("1,8")&&Didomi.isVendorActive("c:Google_Firebase"),meta:(Didomi.getUserConsentStatusForPurpose("social_networks")||Didomi.getUserConsentStatusForGroupIds("1,8"))&&Didomi.isVendorActive("c:FacebookV2")}}};window.core=window.core||{};window.core.player={lastTimestamp:0,durationPlayed:-1,audioStarted:!1,adId:"",autoplay:!1,autoplayRequested:!1,autoplayTracked:!1,autoplayBlocked:!1,autoplayFlagConsumed:!1,startAudio:function(n){this.durationPlayed===-1&&(this.durationPlayed=0);this.audioStarted=!0;this.lastTimestamp=n},stopAudio:function(n){this.audioStarted&&this.durationPlayed!==-1&&(this.durationPlayed+=(n-this.lastTimestamp)/1e3,this.audioStarted=!1)},updatePlaybackTime:function(n){this.audioStarted&&(this.durationPlayed+=(n-this.lastTimestamp)/1e3,this.lastTimestamp=n)},getDurationPlayed:function(){return this.durationPlayed},resetAudioTracking:function(){this.durationPlayed=-1;this.lastTimestamp=0;this.audioStarted=!1},getRadioPlayerStream:function(){return window.radioplayer_playbackConfigurationFromConsole?.streams?.[0]?.url},shouldAutoplay:function(){try{return this.autoplay||new URLSearchParams(window.location.search).get("autoplay")==="true"}catch(n){return console.warn("=> Radioplayer: impossible de lire les paramètres d'URL",n),!1}},requestAutoplay:function(){if(!this.autoplayRequested&&this.shouldAutoplay()){this.autoplayRequested=!0;this.listenAutoplayMediaEvents();const n=()=>this.play();window.isRadioplayerReady?n():window.addEventListener("radioplayerReady",n,{once:!0})}},listenAutoplayMediaEvents:function(){const n=document.getElementById("radioplayer-console");if(n){const t=n=>this.trackAutoplayPlay(n.timeStamp);n.addEventListener("play",t,{once:!0,capture:!0});n.addEventListener("playing",t,{once:!0,capture:!0})}},play:function(){const t=document.getElementById("radioplayer-console"),n=t?.querySelector("audio, video");if(n?.play){const t=n.play(),i=()=>this.trackAutoplayPlay(window.analytics?.tracker?.getTimestamp());t?.catch?t.then(i).catch(n=>{this.autoplayBlocked=!0,console.warn("=> Radioplayer: autoplay refusé par le navigateur",n)}):i()}},consumeAutoplayFlag:function(){return this.autoplayFlagConsumed?!1:(this.autoplayFlagConsumed=!0,this.shouldAutoplay()&&this.autoplayRequested&&!this.autoplayBlocked&&!this.audioStarted)},getTrackingTimestamp:function(){return window.performance?.now?window.performance.now():Date.now()},trackAutoplayPlay:function(n){if(!this.autoplayTracked&&!this.audioStarted&&this.shouldAutoplay()){const i=n??this.getTrackingTimestamp(),t=()=>{this.autoplayTracked||this.audioStarted||this.consumeAutoplayFlag()&&(this.autoplayTracked=!0,window.analytics?.tracker?.trackAll("play",i,{autoPlay:!0}))};window.analytics?.tracker?.getContext()?t():window.addEventListener("trackerReady",t,{once:!0})}},getAdId:function(){if(!this.adId){const n=()=>Array.from({length:Math.floor(Math.random()*41)+24},()=>"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(Math.floor(Math.random()*62))).join("");this.adId=n()}return this.adId},onIframeContentReady:function(){const n=document.getElementById("content-loader");n&&(n.style.display="none")},init:function(n,t){this.autoplay=t.shouldAutoplay||this.shouldAutoplay();const f={...t,autoplay:this.autoplay,fallback:[{url:n.audioStream,format:"mp3"}],stationLogo:n.logo,stationUrl:n.websiteUrl,themeColour:n.primaryColor,widgets:["IF"],enableIframeMessaging:!0,cmp:{windowObject:"Didomi",openFunction:"showConsentNotice",manageCookieSettingsSubtext:"via Didomi"}}
1,u=document.getElementById("radioplayer-console");if(!u){console.warn("=> Radioplayer: container introuvable");return}const i=document.createElement("script");i.type="application/json";i.textContent=JSON.stringify(f);u.appendChild(i);const r=document.head||document.getElementsByTagName("head")[0];if(window.utils?.isIE()){const n=document.createElement("script");n.src="https://assets.player.radio/latest/radioplayer.legacy.js";r.appendChild(n)}else{const t=document.createElement("script");t.type="module";t.src="https://assets.player.radio/latest/radioplayer.js";r.appendChild(t);const n=document.createElement("script");n.type="nomodule";n.src="https://assets.player.radio/latest/radioplayer.legacy.js";n.defer=!0;r.appendChild(n)}this.requestAutoplay()}};window.analytics=window.analytics||{};window.analytics.gemius={gemiusPlayer:null,gemiusInited:!1,programId:null,adPlayed:!1,adDuration:5,pageTagLoaded:!1,init:function(n,t){function i(n,t){n[t]=n[t]||function(){var n=window.gemius_player_data=window.gemius_player_data||[];n[n.length]=[this,t,arguments]}}if(window.pp_gemius_use_cmp=window.gemius_use_cmp=!0,window.pp_gemius_cmp_timeout=window.gemius_cmp_timeout=Infinity,window.pp_gemius_cmp_purposes={2:[1,8,9,10]},window.pp_gemius_identifier=t.pageId,window.pp_gemius_subs_param=t.subs,window.pp_gemius_extraparameters=["lan=FR","key=radioplayer",pp_gemius_subs_param,"free="+t.extraParams],!n){console.warn("=> Gemius - Consentement manquant, script non chargé.");return}this.loadPageTag();i(window,"GemiusPlayer");i(GemiusPlayer.prototype,"newProgram");i(GemiusPlayer.prototype,"newAd");i(GemiusPlayer.prototype,"adEvent");i(GemiusPlayer.prototype,"programEvent");i(GemiusPlayer.prototype,"setAudioObject");window.utils.addScript(`https://gabe.hit.gemius.pl/gplayer.js`,()=>{console.log("=> Gemius SDK chargé");const n=(new Date).getTime();this.gemiusPlayer=new GemiusPlayer(n,t.identifier,{currentDomain:window.location.hostname});this.programId=t.programId;this.gemiusInited=!0;window.analytics.gemius.call("impression",window.analytics.tracker.getContext())})},loadPageTag:function(){this.pageTagLoaded||window.utils.addScript("https://gabe.hit.gemius.pl/xgemius.js",()=>{this.pageTagLoaded=!0,console.log("=> Gemius page tag chargé")})},call:function(n,t){if(this.gemiusInited&&this.gemiusPlayer){const i=Math.floor(t.durationPlayed),f=t.channel,u=t.radioName,r=window.core.player.getAdId(),e=n=>n.replace(/[\n\t\r{}\[\]()"'~!@#$%^&*?;,:\/|=]/gi,"_");switch(n){case"impression":this.gemiusPlayer.newProgram(this.programId,{channel:f,radioName:u,programName:e(`live - ${u}`),programType:"audio",programDuration:-1,st:"aud.rai.live.free",se:"live",ct:"ce"});this.gemiusPlayer.newAd(r,{adType:"promo",adDuration:this.adDuration});break;case"play":const n={autoPlay:t.autoPlay===!0};this.adPlayed?this.gemiusPlayer.programEvent(this.programId,i,"play",n):(this.gemiusPlayer.adEvent(this.programId,r,0,"play",{autoPlay:t.autoPlay===!0,addPosition:1,breakSize:1}),setTimeout(()=>{this.adPlayed=!0,this.gemiusPlayer.adEvent(this.programId,r,0,"complete"),this.gemiusPlayer.programEvent(this.programId,i,"play",n)},this.adDuration*1e3));break;case"pause":case"stop":this.gemiusPlayer.programEvent(this.programId,i,"pause");break;case"close":this.gemiusPlayer.programEvent(this.programId,i,"close");break;case"time":break;default:return}n!="time"&&console.log(`[Gemius] ${n} — duration played : ${i}s`)}}};window.analytics=window.analytics||{};window.analytics.piano={pianoInited:!1,pendingEvents:[],config:{},media:{},playbackStarted:!1,playbackPaused:!1,pageDisplaySent:!1,consentMode:"opt-in",init:function(n,t,i={},r={}){if(console.warn("Piano Analytics - Initialisation..."),!t?.siteId||!t?.scriptUrl||!t?.collectDomain){console.warn("=> Piano Analytics - Configuration incomplete.");return}this.config=t;this.consentMode=this.getConsentMode(n);this.configureConsent();n||console.warn(`=> Piano Analytics - Consentement manquant, chargement en mode ${this.consentMode}.`);window.utils.addScript(t.scriptUrl,()=>{if(!window.pa?.setConfigurations||!window.pa?.sendEvent||!window.pa?.consent?.setByPurpose){console.warn("=>
1 Piano Analytics - SDK indisponible apres chargement.");return}window.pa.setConfigurations({site:t.siteId,collectDomain:t.collectDomain,privacyDefaultMode:this.getPrivacyMode(),consentDefaultMode:this.consentMode});this.applyConsent();this.media=new window.pa.avInsights.Media;this.pianoInited=!0;console.log("=> Piano Analytics charge");this.sendPageDisplay(i,r);this.call("impression",window.analytics.tracker.getContext());this.flush()})},configureConsent:function(){window._pac=window._pac||{};window._pac.privacyDefaultMode=this.getPrivacyMode();window._pac.consentDefaultMode=this.consentMode;window.pdl=window.pdl||{};window.pdl.requireConsent="v2";window.pdl.consent=window.pdl.consent||{};window.pdl.consent.products=["PA"];window.pdl.consent.defaultPreset=window.pdl.consent.defaultPreset||{};window.pdl.consent.defaultPreset.PA=this.consentMode},applyConsent:function(){window.pa.privacy?.setMode&&window.pa.privacy.setMode(this.getPrivacyMode());window.pa.consent?.setMode&&window.pa.consent.setMode(this.consentMode);window.pa.consent.setByPurpose("AM",this.consentMode,"PA")},getConsentMode:function(n){if(n)return"opt-in";const t=this.config.noConsentMode||"essential";return t==="exempt"?"essential":t},getPrivacyMode:function(){return{"opt-in":"optin",essential:"exempt","opt-out":"optout"}[this.consentMode]||"exempt"},flush:function(){const n=this.pendingEvents;this.pendingEvents=[];n.forEach(n=>this.call(n.event,n.context))},call:function(n,t={}){if(n!=="time"){if(t=t||{},!this.pianoInited||!window.pa?.sendEvent){n!=="impression"&&this.pendingEvents.push({event:n,context:t});return}this.setMediaProps(t);this.trackMediaEvent(n,t)}},trackMediaEvent:function(n,t){const i=this.getCursorPosition(t);switch(n){case"impression":this.media.display(null,this.getExtraProps(t));console.log("[Piano] av.display",this.media.getProps());break;case"play":if(!this.playbackStarted){this.media.play(i,null,this.getExtraProps(t));this.media.playbackStart(i,null,this.getExtraProps(t));this.playbackStarted=!0;this.playbackPaused=!1;console.log("[Piano] av.play + av.start",this.media.getProps());break}if(this.playbackPaused){this.media.playbackResumed(i,null,this.getExtraProps(t));this.playbackPaused=!1;console.log("[Piano] av.resume",this.media.getProps());break}this.media.play(i,null,this.getExtraProps(t));console.log("[Piano] av.play",this.media.getProps());break;case"pause":if(!this.playbackStarted||this.playbackPaused)return;this.media.playbackPaused(i,null,this.getExtraProps(t));this.playbackPaused=!0;console.log("[Piano] av.pause",this.media.getProps());break;case"stop":if(!this.playbackStarted)return;this.media.playbackStopped(i,null,this.getExtraProps(t));this.playbackStarted=!1;this.playbackPaused=!0;console.log("[Piano] av.stop",this.media.getProps());break;case"close":this.media.close(null,this.getExtraProps(t));this.playbackPaused=!1;this.playbackStarted=!1;console.log("[Piano] av.close",this.media.getProps());break;default:return}},setMediaProps:function(n){const t=this.getMediaProps(n);this.media.setProps(t);this.media.setExtraProperties&&this.media.setExtraProperties(t)},getMediaProps:function(n){const t=n.radioDisplayName||n.radioName||"";return{av_content_id:this.getContentId(n),av_broadcasting_type:this.config.broadcastingType||"Live",av_content:t||n.channel||"",av_content_type:this.config.contentType||this.getContentType(n),av_player:"Audio",av_show:n.programName||"",av_episode:n.episodeName||""}},sendPageDisplay:function(n={},t={}){if(!this.pageDisplaySent){const r=window.location.pathname+window.location.search,i={event_level_1:t.level1||"",event_level_2:t.level2||"",event_level_3:t.level3||"",auteur:t.author||"",titre:t.articleName||n.radioDisplayName||"",page:r||"/"};window.pa.sendEvent("page.display",i);this.pageDisplaySent=!0;console.log("[Piano] page.display",i)}},getExtraProps:function(n){return{...this.getMediaProps(n),channel:n.channel||"",audio_radio_name:n.radioDisplayName||n.radioName||"",audio_type:n.broadcastingType||this.config.broadcastingType||"Live",audio_duration_played:Math.floor(n.durationPlayed??0),auto_play:n.autoPlay===!0,device_category:n.isMobile?"mobile":"desktop",origin:"radioPlayer",current_location:window.location.href}},getCursorPosition:function(n){return Math.max(0,Math.floor((n.durationPlayed??0)*1e3))},getContentId:function(n){const i=this.config||{},t=window.config||{},r=i.playerId||t.gemius?.programId||t.radioPlayer?.id||n.contentId||n.programId||n.radioName||n.radioDisplayName||n.channel||window.location.hostname;return this.formatId(r)},getContentType:function(n){const t=this.formatId(n.channel||""),i=this.formatId(n.radioName||n.radioDisplayName||"");return t&&i&&t===i?"Live":"Webradio"},formatId:function(n){return String(n||"radioPlayer").trim().replace(/[\n\t\r{}\[\]()"'~!@#$%^&*?;,:\/|=]/gi,"_")}};window.analytics=window.analytics||{};window.analytics.meta={metaInited:!1,init:function(n,t){if(console.warn("Meta (Facebook) pixel - Initialisation..."),!n){console.log("=> Meta (Facebook) - Consentement absent, script non chargé.");return}if(!t){console.warn("=> Meta (Facebook) - Aucun Pixel ID fourni.");return}(function(n,t,i,r,u,f,e){n.fbq||(u=n.fbq=function(){u.callMethod?u.callMethod.apply(u,arguments):u.queue.push(arguments)}
1,n._fbq||(n._fbq=u),u.push=u,u.loaded=!0,u.version="2.0",u.queue=[],f=t.createElement(i),f.async=!0,f.src=r,e=t.getElementsByTagName(i)[0],f.onload=()=>{console.log("=> Meta pixel chargé"),window.analytics.meta.metaInited=!0},e.parentNode.insertBefore(f,e))})(window,document,"script","https://connect.facebook.net/en_US/fbevents.js");fbq("init",t);fbq("track","PageView")},call:function(n,t={}){if(this.metaInited){const i={play:"PlayAudio",pause:"PauseAudio",stop:"PauseAudio",close:"CloseAudio"}[n];if(i){const r={channel:t.channel||"unknown",deviceCategory:t.isMobile?"mobile":"desktop",audioRadioName:t.radioName||"",audioType:"Live",audioDurationPlayed:t.durationPlayed??0,autoPlay:t.autoPlay===!0,origin:"radioPlayer",currentLocation:window.location.href};fbq("trackCustom",i,r);console.log(`[Meta] ${i}`,r)}}}};window.analytics=window.analytics||{};window.analytics.lotame={lotameInited:!1,init:function(n){if(console.warn("Lotame - Initialisation..."),!n){console.log("=> Lotame - Consentement absent. Script non chargé.");return}if(window.ccauds){console.log("=> Lotame déjà initialisé.");this.lotameInited=!0;return}window.utils.addScript(`//ad.crwdcntrl.net/5/c=9779/pe=y/var=ccauds`,()=>{console.log("=> Lotame SDK chargé."),this.lotameInited=!0})}};window.analytics=window.analytics||{};window.analytics.tracker={globalContext:null,pendingContext:{},init:function(n={}){this.globalContext={...n,...this.pendingContext};console.log("[Tracker] Contexte initialisé :",this.globalContext);window.dispatchEvent(new Event("trackerReady"))},updateContext:function(n={}){this.pendingContext={...this.pendingContext,...n};this.globalContext={...(this.globalContext||{}),...n};console.log("[Tracker] Contexte mis à jour :",n)},getContext:function(){return this.globalContext},getTimestamp:function(){return window.performance?.now?window.performance.now():Date.now()},trackAll:function(n,t,i={}){if(!this.globalContext){console.warn("[Tracker] Contexte non initialisé");return}t=t??this.getTimestamp();n==="play"&&i.autoPlay===undefined&&(i.autoPlay=window.core.player.consumeAutoplayFlag());switch(n){case"play":window.core.player.startAudio(t);break;case"pause":case"stop":window.core.player.stopAudio(t);break;case"time":window.core.player.updatePlaybackTime(t);break;case"close":window.core.player.stopAudio(t)}const u=window.core.player.getDurationPlayed(),r={...this.globalContext,durationPlayed:u,autoPlay:i.autoPlay===!0};n!="time"&&n!="nowplaying"&&console.groupCollapsed(`[Tracking] ${n.toUpperCase()} — ${Math.floor(u)}s`);window.analytics.meta.call(n,r);window.analytics.gemius.call(n,r);window.analytics.piano.call(n,r);n!="time"&&n!="nowplaying"&&console.groupEnd()}};window.ads=window.ads||{};window.ads.toasterFactory=function(n,t){this.container=null;this.companionAd=null;this.style=null;this.create(n,t)};window.ads.toasterFactory.prototype={create:function(n,t){const i=document.head,r=document.body;if(this.container=document.createElement("DIV"),t)this.container.innerHTML=t;else{const r=`.toaster_wrapper {
2                height: 0px; overflow: hidden; position: fixed; bottom: 126px; left: 5%;
3                background: rgba(227,227,227); text-align: center;
4                transition: all 0.5s linear;
5            }
6            .toaster_wrapper.visible { height: 272px; padding: 0 3px 3px 3px; }
7            .toaster_wrapper h5 { text-transform: uppercase; color: #888; margin: 4px; }
8            #companionBannerDiv { margin: 0 auto; }`;this.style=document.createElement("STYLE");this.style.textContent=r;i.appendChild(this.style);this.container.className="toaster_wrapper";this.container.style.width="306px";n&&this.container.classList.add("visible");const t=document.createElement("H5");t.innerText="Publicité";this.container.appendChild(t);this.companionAd=document.createElement("DIV");this.companionAd.id="companionBannerDiv";this.companionAd.style.width="300px";this.companionAd.style.height="250px";this.container.appendChild(this.companionAd);console.log("=> Adswizz: Toaster créé !")}r.appendChild(this.container)},display:function(){this.container.classList.add("visible")},hide:function(){this.container.classList.remove("visible")},remove:function(){this.hide();setTimeout(()=>this.destroy(),500)},destroy:function(){this.container?.remove();this.style?.remove()}};window.ads=window.ads||{};window.ads.adswizz={adswizzInitialized:!1,init:function(n,t){if(!n){console.warn("=> Adswizz - Consentement insuffisant. Script non chargé.");return}const i=jsBaseUrl+"../../lib/adswizz/adswizzsdk.min.js";window.utils.addScript(i,()=>{function h(){console.log("=> Adswizz : ad terminé (companion out of context)");setTimeout(()=>window.toaster?.hide(),45e3)}function c(){console.log("=> Adswizz : ad démarré (will display)");window.toaster?.display()}console.log("=> Adswizz SDK chargé");const n=document.querySelector("[data-widget-radioplayer] audio");if(!n){console.warn("=> Adswizz : lecteur audio introuvable.");return}n.useCredential=!0;window.toaster=new window.ads.toasterFactory(!1);const{playerId:r,zoneId:u,fallbackZoneId:f,baseUrl:e,daisyBit:o}=t,s=window.core.player.getRadioPlayerStream();const l=function(n){console.log("=> Adswizz metadata : ",n)};adswizzSDK.init({contentPlayer:n,playerId:r,companionBanner:{container:window.toaster.companionAd,size:[300,250],baseURL:e,zoneId:u,fallbackZoneId:f,alwaysDisplayAds:!1,outOfContextListener:h,willDisplayListener:c}});adswizzSDK.addMetadataChangedListener(l);const i=[];typeof ccauds!="undefined"&&window.ccauds.Profile?.Audiences?.Audience&&window.ccauds.Profile.Audiences.Audience.forEach(n=>i.push(n.abbr));window.utils.whenAvailable("com_adswizz_synchro_decorateUrl",()=>{try{let n=adswizzSDK.decorateURL(s);if(n+=`&aw_0_req.userConsentV2=${o}${i.length?"&"+i.join("&"):""}`,console.log("=> Adswizz decorated URL :",n),typeof streamModifierUtils?.syncQueryParamsWithConsole=="function"){const i=new URLSearchParams(n.split("?")[1]),t={};for(const[n,r]of i.entries())t[n]?Array.isArray(t[n])?t[n].push(r):t[n]=[t[n],r]:t[n]=r;streamModifierUtils.syncQueryParamsWithConsole(t)}}catch(n){console.warn("=> Adswizz bloqué par adblock ou erreur :",n)}finally{typeof streamModifierUtils?.unlockPlay=="function"&&(console.log("=> Adswizz : unlockPlay()"),streamModifierUtils.unlockPlay())}});window.ads.adswizz.adswizzInitialized=!0})}};const config=window.config,jsBaseUrl=window.utils.getBaseUrl(),style="background: #DE2525; color: #ffffff; padding: 18px 36px; display: inline-block;";console.log("%c RadioPlayer (version "+config.version+" )",style);window.isRadioplayerReady=!1;window.addEventListener("radioplayer_readyToReceiveEvents",()=>{console.warn("RadioPlayer est prêt !"),window.isRadioplayerReady=!0,window.dispatchEvent(new Event("radioplayerReady"))});window.addEventListener("message",function(n){const t=n.data;
8if(t&&typeof t=="object"&&t.type){if(t.type=="iframeContentReady"){window.core.player.onIframeContentReady();return}if(t.type=="analyticsContextUpdate"){window.analytics.tracker.updateContext(t.context);return}window.analytics.tracker.trackAll(t.type,n.timeStamp)}});let onBeforeUnloadEvent=!1;window.onunload=window.onbeforeunload=function(){if(!onBeforeUnloadEvent){onBeforeUnloadEvent=!0;try{window.analytics.tracker.trackAll("close")}catch(n){console.warn("Erreur lors des appels de clôture",n)}}};window.core.player.init(config.context,config.radioPlayer);window.consents.didomi.init(config.didomi);window.didomiOnReady=window.didomiOnReady||[];window.didomiOnReady.push(()=>{console.log("Didomi prêt — vérification des consentements...");const n=window.core.consents.evaluate(),t={...config.context,duration:-1,isMobile:window.utils.isMobile()};window.analytics.gemius.init(n.gemius,config.gemius);window.analytics.piano.init(n.piano,config.piano,t,config.gtm?.dataLayer);window.analytics.meta.init(n.meta,config.meta.pixelId);window.analytics.tracker.init(t);const i={...config.adswizz,daisyBit:n.daisyBit};window.isRadioplayerReady?window.ads.adswizz.init(n.adswizz,i):window.addEventListener("radioplayerReady",()=>{window.ads.adswizz.init(n.adswizz,i)})});

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.