PageSourceSearch

https://www.echo-online.de/assets/Podigee-C9BRi44p.js

js echo-online.de collected 2026-09-24 17:51:13 UTC 3,451 bytes, 1 lines download raw bytes

1import{V as _,q as d,v as h,aU as g,B as f,P as p,O as P,av as O,_ as $,r as w,o as v,c as u,$ as m,a as I,h as L,aV as V,aW as B}from"./index-D-iuxWOd.js";var C=Object.defineProperty,k=Object.getOwnPropertyDescriptor,c=(a,e,s,n)=>{for(var t=n>1?void 0:n?k(e,s):e,i=a.length-1,r;i>=0;i--)(r=a[i])&&(t=(n?r(e,s,t):r(t))||t);return n&&t&&C(e,s,t),t};const y="podigee-podcast-player";let o=class extends _{constructor(){super(...arguments),this.consentManagerVendorId=d.consentManager.vendorIds.podigee,this.embedUrl=`${this.permalink}/embed?context=external`,this.loading=!0,this.loadingBannerHeight=d.thirdParty.podigee.height,this.podcastIsPlayed=!1,this.podigeeObserver=null}async mounted(){var e;await h(["https://cdn.embed.ly/player-0.1.0.min.js"]),await h(((e=d.thirdParty.podigee)==null?void 0:e.externalScripts)||[],{class:y,"data-configuration":this.embedUrl},!1,d.consentManager.vendorIds.podigee,this.$refs.embed),this.loading=!1,this.$nextTick(()=>{this.initPlayerReadyObserver()})}beforeUnmount(){this.disconnectObserver()}initPlayerReadyObserver(){if(!this.$refs.embed||this.podigeeObserver)return;const e=this.$refs.embed.querySelector(`.${y}`);if(e){this.handlePlayer(e);return}this.podigeeObserver=new MutationObserver(()=>{e&&(this.handlePlayer(e),this.disconnectObserver())}),this.podigeeObserver.observe(this.$refs.embed,{childList:!0,subtree:!0})}handlePlayer(e){const s=new window.playerjs.Player(e);s.on("ready",()=>{s.on("play",()=>{this.podcastIsPlayed||s.getDuration(n=>{this.podcastLength=g.roundTo(n,2);const t={event:"podcast: Start",eventValue:this.podcastLength,eventAction:"start"};this.trackEvents(t),this.podcastIsPlayed=!0})}),s.on("ended",()=>{const n={event:"podcast: Complete",eventValue:this.podcastLength,eventAction:"complete"};this.trackEvents(n),this.podcastIsPlayed=!1}),s.on("pause",()=>{s.getCurrentTime(n=>{var r;const t=g.roundTo(n,2),i=l=>l.eventAction===t;if(n!==0&&!((r=window.dataLayer)!=null&&r.some(i))){const l={event:"podcast: Listening",eventValue:this.podcastLength,eventAction:t};this.trackEvents(l)}})})})}disconnectObserver(){var e;(e=this.podigeeObserver)==null||e.disconnect(),this.podigeeObserver=null}trackEvents({event:e,eventValue:s,eventAction:n}){const t={data:{event:e,eventLabel:`${this.title} ${this.embedId}`,eventValue:s,eventCategory:"Podigee",eventAction:n},type:"onPodigeePodcast"};f.publishTrackingEvent(t)}};c([p({required:!0})],o.prototype,"permalink",2);c([p({required:!0})],o.prototype,"title",2);c([p({required:!0})],o.prototype,"embedId",2);o=c([P({name:"Podigee",components:{DnmLoadingBanner:O}})],o);const A={class:"podigee"},D={class:"podigee__playerContainer"},E={key:0,class:"podigee__loadingBannerWrapper"},S={class:"podigee__embed",ref:"embed"};function j(a,e,s,n,t,i){const r=w("DnmLoadingBanner");return v(),u("section",A,[m("div",D,[a.loading?(v(),u("div",E,[I(r,{"data-cmp-vendor":a.consentManagerVendorId,height:a.loadingBannerHeight,class:"cmplazyload","data-cmp-preview":"","data-testid":"embed-content-loading-banner",width:"100%"},null,8,["data-cmp-vendor","height"])])):L("",!0),V(m("div",S,null,512),[[B,!a.loading]])])])}const T=$(o,[["render",j],["__scopeId","data-v-6206c777"]]);var b;try{"__c"in o&&((b=o.__c).componentFileName??(b.componentFileName=Object.create(null)),Object.defineProperty(o.__c,"componentFileName",{value:"app/components/storyline/podigee/Podigee.vue"}))}catch(a){console.error("injectFileNamePlugin",a)}export{T as default};

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.