PageSourceSearch

https://static.express.de/__assets/_nuxt/XNnxQddK.js

js express.de collected 2026-10-01 10:22:46 UTC 4,723 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B_nJzIwq.js"])))=>i.map(i=>d[i]);
2import{r as e}from"./hePW80VL.js";import{Et as t,G as n,W as r,d as i}from"./BFmGqvmJ.js";import{t as a}from"./BVch0bMo.js";import{t as o}from"./HclGiUj8.js";import{r as s}from"./BjqqgL1f.js";var c=null,l=0,u=`audioplaylist`;function d(){let d=a(`audio-player.active-playing`,()=>!1),f=a(`audio-player.loading-audio`,()=>!1),p=a(`audio-player.has-error`,()=>!1),m=a(`audio-player.active-index`,()=>null),h=a(`audio-player.playlist`,()=>[]),g=a(`audio-player.paused`,()=>!1),_=a(`audio-player.transition`,()=>!1),v=a(`audio-player.loading`,()=>!1),y=a(`audio-player.current-volume`,()=>.5),b=a(`audio-player.muted`,()=>!1),{dispatchAdobeAnalyticsTriggerEvent:x}=s();if(h.value.length===0){let e=localStorage.getItem(u);e&&(h.value=JSON.parse(e))}let S=(e,t)=>{d.value||x({eventName:`trackSessionStart`,mediaObject:e}),!v.value&&(m.value===null&&(m.value=0),e?(k(e,!t,t),T(e.src)):h.value.length>0&&T(h.value[m.value].src))},C=()=>{f.value=!0},w=()=>{p.value=!0},T=async t=>{let n=++l;c&&=(c.stop(),c.unload(),null),v.value=!0,d.value=!0,f.value=!1,p.value=!1;let r;try{({Howl:r}=await o(()=>import(`./B_nJzIwq.js`).then(t=>e(t.default)),__vite__mapDeps([0]),import.meta.url))}catch(e){if(n!==l)return;console.error(`audio-player: failed to load howler`,e),v.value=!1,d.value=!1,p.value=!0,x({eventName:`trackError`,errorId:`loadError`});return}n===l&&(c=new r({src:[t],format:`mpeg`,html5:!0,volume:b.value?0:y.value,onload:()=>{c.play()},onloaderror:()=>{d.value=!1,g.value=!1,_.value=!1,v.value=!1,x({eventName:`trackError`,errorId:`loadError`})},onplay:()=>{v.value=!1,g.value=!1,_.value=!1,x({eventName:`trackPlay`})},onPlayError:()=>{d.value=!1,g.value=!1,_.value=!1,v.value=!1,x({eventName:`trackError`,errorId:`playError`})},onpause:()=>{g.value=!0,x({eventName:`trackPause`})},onend:()=>{x({eventName:`trackComplete`}),m.value!==null&&h.value[m.value+1]?(M(),A(h.value)):(F.value=0,g.value=!0,x({eventName:`trackSessionEnd`}))}}))},E=()=>{c?.pause()},D=()=>{P.value?c?(g.value=!1,c.play()):T(P.value.src):S()},O=()=>{d.value=!1,f.value=!1,g.value=!1,h.value=h.value.slice(m.value||0,h.value.length).filter(e=>!e.isStream),A(h.value),m.value=null,l++,c&&=(c.stop(),c.unload(),null),v.value=!1},k=(e,t=!1,n=!1,r=!1)=>{t&&h.value.length>0&&m.value!==null&&!n?(h.value.splice(m.value+1,0,e),m.value++):h.value.length>0&&m.value!==null&&n?h.value.splice(m.value,0,e):h.value.push(e),r&&A(h.value)},A=e=>{if(m.value!==null){let t=e.slice(m.value+1,e.length);localStorage.setItem(u,JSON.stringify(t))}else localStorage.setItem(u,JSON.stringify(e))},j=()=>{m.value!==null&&m.value!==0&&h.value[m.value-1]&&(_.value=!0,m.value--,T(h.value[m.value].src),_.value=!1,H(b.value))},M=()=>{m.value!==null&&h.value[m.value+1]&&(d.value=!0,F.value=0,_.value=!0,m.value++,T(h.value[m.value].src),_.value=!1,H(b.value))},N=e=>{if(!c)return;let t=c.seek(),n=t+e;t===0&&n<0?c.seek(P.value.duration+e):n<0?c.seek(0):n>P.value.duration?c.seek(P.value.duration):c.seek(n),F.value=Math.floor(c.seek())},P=i(()=>m.value===null?null:h.value[m.value]),F=t(0),I;r(()=>{I=window.setInterval(()=>{if(_.value){F.value=0;return}c&&c.playing()&&(F.value=Math.floor(c.seek()),x({eventName:`updatePlayhead`,playHead:P.value?.isStream?Math.floor((new Date-new Date().setHours(0,0,0,0))/1e3):F.value}))},1e3)});let L=i(()=>{let e=F.value,t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%60);return`${t.toString().padStart(2,`0`)}:${n.toString().padStart(2,`0`)}:${r.toString().padStart(2,`0`)}`}),R=i(()=>
2{if(!P.value)return`00:00:00`;let e=P.value.duration-F.value,t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%60);return`-${t.toString().padStart(2,`0`)}:${n.toString().padStart(2,`0`)}:${r.toString().padStart(2,`0`)}`}),z=i(()=>{if(!P.value)return`-:-:-`;if(P.value.isStream)return`Live •`;let e=Math.floor(P.value.duration/3600),t=Math.floor(P.value.duration%3600/60),n=Math.floor(P.value.duration%60);return`${e.toString().padStart(2,`0`)}:${t.toString().padStart(2,`0`)}:${n.toString().padStart(2,`0`)}`});n(()=>{clearInterval(I)});let B=e=>{h.value[m.value||0]={...h.value[m.value||0],...e}},V=e=>{c?.volume(e),y.value=e,b.value=e<=0},H=e=>{y.value!==0&&(b.value=e,c&&(b.value?c?.volume(0):c?.volume(y.value)))};return{onPlay:S,activePlaying:d,showloadingAudioPlayer:C,loadingAudio:f,playlist:h,currentAudio:P,paused:g,pause:E,play:D,hasError:p,showHasError:w,exitAudioPlayer:O,seekTo:N,currentSec:F,currentSecString:L,timeLeftString:R,totalTimeString:z,prev:j,next:M,addToPlaylist:k,loading:v,updateCurrentAudio:B,updateVolume:V,currentVolume:y,muted:b,toggleMute:H,savePlaylistToLocalStorage:A,activeIndex:m}}export{d as t};

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.