1 (function () { 2 if ( 3 typeof window.CustomEvent === "function" || 4 // In Safari, typeof CustomEvent == 'object' but it otherwise works fine 5 this.CustomEvent.toString().indexOf('CustomEventConstructor')>-1) { return; } 6 7 function CustomEvent ( event, params ) { 8 params = params || { bubbles: false, cancelable: false, detail: undefined }; 9 var evt = document.createEvent( 'CustomEvent' ); 10 evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail ); 11 return evt; 12 } 13 14 CustomEvent.prototype = window.Event.prototype; 15 16 window.CustomEvent = CustomEvent; 17 })(); 18 window.isYouTubeIframeAPIReady = false; 19 var cst_apa_event = new CustomEvent("youTubeIframeAPIReady", { "detail": "triggers player init in DSC.mTextVideoCavalluna.js" }); 20 function onYouTubeIframeAPIReady() { 21 window.isYouTubeIframeAPIReady = true; 22 window.dispatchEvent(cst_apa_event); 23 } 24 setTimeout(() => { if (window.isYouTubeIframeAPIReady == false) { onYouTubeIframeAPIReady(); } }, "1000");
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.