PageSourceSearch

https://plus.rtl.de/player-thirdparty-snowplow-engine-3dfe915ffd8963af.bundle.js

js rtl.de collected 2026-09-24 08:27:07 UTC 5,363 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[1097],{58556(e,t,n){n.d(t,{A:()=>o});var i=n(30336);class o{constructor(){this.name="default-engine"}init(e,t,n,i){this.onError({reason:"Engine init method should be implemented."})}track(e,t){const n=`on${(0,i.qF)(e)}`;(0,i.fp)(this[n])&&this[n](t)}release(){this.layoutData=null,this.options=null}onError(e,t){const{reason:n}=t||{};console.error("ThirdParty DefaultEngine Error:",e,n)}isActive(){return!1}}},89963(e,t,n){var i=n(58556),o=n(51519),a=n(15153);const s=(e,t)=>void 0===e?t:e;class r extends i.A{constructor(){super(...arguments),this.name=o.g.SNOWPLOW,this.isSnowplowInit=!1,this.mediaSessionId=void 0,this.canplayTriggered=!1,this.buffering=!1,this.isSeeking=!1,this.location=void 0,this.paused=!0,this.isActive=()=>this.isSnowplowInit,this.buildContext=()=>{const{platformName:e,loggedIn:t,playerName:n,playerVersion:i=null}=this.options||{},{pageName:o,brandName:a,language:r,platformSection:d,profileId:l,rtlUserId:p,customerKeyId:c,clipId:h}=((e,t)=>{const{pageName:n,brandName:i,language:o,platformSection:a,profileId:r,rtlUserId:d,customerKeyId:l,clipId:p}=e||{},{pageName:c="videoland.product.video.player",brandName:h="videoland",language:w,platformSection:u,profileId:g,userId:m,customerKeyId:S,clipId:k}=t||{};return{pageName:s(n,c),brandName:s(i,h),language:s(o,w),platformSection:s(a,u),profileId:s(r,g),rtlUserId:s(d,m),customerKeyId:s(l,S),clipId:s(p,k)}})(this.layoutData,this.options);return[{schema:"iglu:nl.rtl/rtl_platform/jsonschema/3-0-1",data:{pageName:o,platformName:e,platformSection:d,environment:"prod",brandName:a,language:r}},{schema:"iglu:nl.rtl/rtl_user/jsonschema/2-0-0",data:{rtlUserId:p,profileId:l,loggedIn:t}},{schema:"iglu:nl.rtl/rtl_media_element/jsonschema/3-1-1",data:{customerKeyId:c,clipId:h}},{schema:"iglu:nl.rtl/rtl_media_player/jsonschema/1-1-0",data:{playerName:n,playerVersion:i}}]}}async init(e,t){this.location=window.location.href,window.snowplow("setCustomUrl",this.location);const{playerEntity:n,mediaPingConfig:i,boundaries:o}=e;n&&i&&o?(this.mediaSessionId=crypto.randomUUID(),this.options=t,this.layoutData=e,window.snowplow("addGlobalContexts",this.buildContext()),window.snowplow("startMediaTracking",{id:this.mediaSessionId,player:n,pings:i,boundaries:o}),this.isSnowplowInit=!0):a.U.options.logger.warn("[thirdPartyPlayerService]","[Snowplow]","[init]","Missing required init config.")}sendSnowplowEvent(e,t){if(!this.isActive())return;const n={id:this.mediaSessionId,...t};t?.player&&this.isSeeking&&(t.player.paused=!0),window.snowplow(e,n)}onConfigUpdate(e){this.options=Object.assign({},this.options,e),window.snowplow("clearGlobalContexts"),window.snowplow("addGlobalContexts",this.buildContext())}onCanPlay(){this.canplayTriggered||(this.canplayTriggered=!0,this.sendSnowplowEvent("trackMediaReady"))}onTimeUpdate({currentTime:e}){this.sendSnowplowEvent("updateMediaTracking",{player:{currentTime:Math.floor(e),paused:this.paused||0===Math.floor(e)}})}onPlaying(){this.buffering&&(this.buffering=!1,this.sendSnowplowEvent("trackMediaBufferEnd")),this.paused=!1,this.sendSnowplowEvent("trackMediaPlay")}onPause(){this.paused=!0,this.sendSnowplowEvent("trackMediaPause")}onSeeking({currentTime:e}){this.isSeeking=!0,this.paused=!0,this.sendSnowplowEvent("trackMediaSeekStart",{player:{currentTime:Math.floor(e)}})}onSeeked({currentTime:e}){this.sendSnowplowEvent("trackMediaSeekEnd",{player:{currentTime:Math.floor(e)}}),this.isSeeking=!1}onBuffering(){this.buffering=!0,this.sendSnowplowEvent("trackMediaBufferStart")}onEnded(){this.sendSnowplowEvent("trackMediaEnd")}onAdBreakStarted(e){const{id:t,type:n,availableSpots:i,breakType:o,currentTime:a=0}=e;this.sendSnowplowEvent("trackMediaAdBreakStart",{adBreak:{name:n,startTime:a,breakId:t,podSize:i,breakType:o}})}onAdBreakEnded(){this.sendSnowplowEvent("trackMediaAdBreakEnd")}onAdStarted(e){const{duration:t,title:n,creativeId:i,skippable:o}=e;this.sendSnowplowEvent("trackMediaAdStart",{ad:{name:n,adId:i?String(i):void 0,duration:t,skippable:o}})}onAdEnded(){this.sendSnowplowEvent("trackMediaAdComplete")}onAdPause({progress:e}){this.sendSnowplowEvent("trackMediaAdPause",{percentProgress:e})}onAdPlay({progress:e}){this.sendSnowplowEvent("trackMediaAdResume",{percentProgress:e})}onAdClick({progress:e}){this.sendSnowplowEvent("trackMediaAdClick",{percentProgress:e})}onAdProgressFirstQuartile(){this.sendSnowplowEvent("trackMediaAdFirstQuartile")}onAdProgressMidPoint(){this.sendSnowplowEvent("trackMediaAdMidpoint")}onAdProgressThirdQuartile(){this.sendSnowplowEvent("trackMediaAdThirdQuartile")}onCanPlayAd(){this.canplayTriggered||(this.canplayTriggered=!0,this.sendSnowplowEvent("trackMediaReady"))}onError(e){const{code:t,name:n,message:i}=e;this.sendSnowplowEvent("trackMediaError",{errorCode:t,errorMessage:n,errorDescription:i})}onStop(){window.snowplow("setCustomUrl",this.location),this.sendSnowplowEvent("trackMediaVolumeChange",{newVolume:100})}release(){window.snowplow("endMediaTracking",{id:this.mediaSessionId}),window.snowplow("clearGlobalContexts"),this.isSnowplowInit=!1,this.buffering=!1,this.mediaSessionId=void 0,this.canplayTriggered=!1,this.isSeeking=!1,this.location=void 0,this.layoutData=null}}const d=new r;n.d(t,["default",0,d])}}]);
2//# sourceMappingURL=sourcemaps/player-thirdparty-snowplow-engine-3dfe915ffd8963af.bundle.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.