1(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[6056],{87694(e,t,s){"use strict";s.r(t);var i=s(2631),n=s.n(i),r=s(64889),a=s(83976),o=s(83283),d=s(86613),c=s(31523),h=s(77159),l=s(56428),u=s(61193),p=s(44959);class g extends o.U{async init(e=()=>{},t={}){await super.init();const s="object"==typeof t&&null!==t?t:{withCredentials:t},{withCredentials:i=null}=s,r=n().get(this.config,"isYouboraAdAdapterEnabled"),a=n().get(this.config,"isNpaw7Enabled");!this.youboraAdapter&&r&&(a?c.pY.setAdsAdapter(this.engine,h.h):p.I.setAdsAdapter(l.M,this.engine)),this.engine.submitRequest(this.getRequestParameters(),0,null,i).then(e)}onRequestCompleteChromecast=({success:e,slots:t=[]})=>{e||this.eventsHandlers.onProviderLoaded();const s=[],i=t.map(({cuePoint:e,ads:t,tracking:i={}})=>{const r=0===e?"preroll":"midroll",o=`${r}-${e}`,d=[];let c=0;const h=e=>e?.wrapperVAST?h(e.wrapperVAST?.ads):e;return t.flatMap(h).forEach(({creatives:e=[],tracking:t},i)=>{const[{clickThroughUrl:h,assets:l=[],duration:p,tracking:g={}}={}]=e,{offsetHeight:m,offsetWidth:E}=document.body,v=`${o}-${i}`;let C;try{C=(0,a.DS)(l,{video:document.createElement("video"),height:m,width:E,desiredBitrate:this.desiredBitrate,withJavascript:!1}),c+=p}catch(e){return}s.push({id:v,contentId:C.src,contentType:C.type,duration:p,customData:{duration:p,type:r,clickThroughUrl:h,mimeType:C.type,tracking:n().mergeWith({},g,t,u.u)}}),d.push(v)}),{id:o,breakClipIds:d,position:e,duration:c,customData:{tracking:i}}});this.eventsHandlers.onProviderLoaded({breakClips:s,breaks:i})};manageEventListeners(e="add"){super.manageEventListeners(e);const t=`${e}EventListener`;r.T.IS_CHROMECAST&&(this.engine.removeEventListener(d.v.REQUEST_COMPLETE,this.onRequestComplete),this.engine[t](d.v.REQUEST_COMPLETE,this.onRequestCompleteChromecast))}}const m=g;s.d(t,["default",0,m])},40387(){},14959(){}}]); 2//# sourceMappingURL=sourcemaps/player-default-ad-bridge-5a55c4e3de677264.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.