PageSourceSearch

https://arena-streams.com/3.0.0.3/chunk-HUA3IX4N.js

js arena-streams.com collected 2026-10-07 13:20:53 UTC 8,029 bytes, 1 lines download raw bytes

1import{a as l}from"./chunk-MYCEMUPL.js";import"./chunk-25N2FLV6.js";var k={},i=l._,b=function(u){"use strict";var c=function(t){let r=t.m.getSurface().getMedia();r&&(t.l=t.H.bind(t),r.addEventListener("click",t.l))},d=function(t){t.C.off(t.m,i.gg,t.F)},m=function(t){class r extends GenericPlayerApi{constructor(s){super(),this.m=s,this.f=i.lj(),this.a=0}getPlayerName(){return i.ra}getVersion(){return i.ea}getOSName(){return this.f.os}getDeviceVersion(){return this.f.osVersion.name}getDeviceType(){return"browser"}getTotalDuration(){return this.m.isLive()?0:this.a=1e3*this.m.getDuration()}getCurrentPosition(){let s=1e3*this.m.getPosition();return this.m.getState()===5?Math.max(s,this.a):s}getCurrentBitrate(){let s=this.m.getStats();return(s?s.streamBandwidth:0)/1e3}getCapabilities(){return{adTracking:this.m.getConfiguration().broadpeak.adTracking}}}return new r(t)},h=function(){return!u.SmartLib||!u.GenericPlayerApi},y=function(t,r){let o=r.analyticsAddress||null,s=r.nanoCDNHost||null,p=r.broadpeakDomainNames||"";r=r.uuid||null,t.h||(t.h=SmartLib.getInstance(),t.h.init(o,s,p),typeof r===i.Uf&&t.h.setUUID(r))},f=function(t,r,o){let s=o.customParameters||{};t.a=t.h.createStreamingSession(),t.a.setOption(StreamingSessionOptions.SESSION_PRECACHE,!0);for(let p in s)t.a.setCustomParameter(p,s[p]);o.adTracking&&(t.j=r.getAdsManager(),t.j.initialize(t.a,o.adParameters||{})),t.w.on(r,i.Yd,t.A.bind(t)),t.o=m(r),t.a.attachPlayer(t.o)},a=function(t,r){i.Xh(t.w),t.f&&(t.f.release(),t.f=null),t.a&&(t.a.stopStreamingSession(r),t.a=null)},e=class{constructor(t,r,o){this.a=t||{},this.f=r||{},this.w=o||0,this.o=0,this.l=this.j=this.h=!1}cb(){return"Broadpeak"}eb(){return""}gb(){return 1}getId(){return this.a.adId}getCreativeId(){return this.a.creativeId}zb(){return null}getApiFramework(){return null}getAdSystem(){return""}getAdvertiserName(){return""}getTitle(){return""}getDuration(){return 0>=this.a.duration?-1:this.a.duration/1e3}getPosition(){return this.o}setPosition(t){this.o=t}getSkipTimeOffset(){return this.a.skipPosition===0?-1:(this.a.skipPosition-this.a.startPosition)/1e3}Bb(){return!1}Qa(){return this.a.clickURL}getMediaUrl(){return null}Ua(){return 0}Ta(){return 0}Ba(){return 0}Ca(){return this.f.startPosition===0?0:0<this.w&&this.f.startPosition+this.f.duration>=this.w?2:1}getPodIndex(){return 1}pb(){return this.f.startPosition/1e3}fb(){return this.a.index+1}Va(){return 0>=this.f.adCount?-1:this.f.adCount}getWrapperAdIds(){return[]}getWrapperAdSystems(){return[]}getWrapperCreativeIds(){return[]}Ab(){return null}canSeek(){return!1}};e.prototype.canSeek=e.prototype.canSeek,e.prototype.getVideoElement=e.prototype.Ab,e.prototype.getWrapperCreativeIds=e.prototype.getWrapperCreativeIds,e.prototype.getWrapperAdSystems=e.prototype.getWrapperAdSystems,e.prototype.getWrapperAdIds=e.prototype.getWrapperAdIds,e.prototype.getSequenceLength=e.prototype.Va,e.prototype.getPositionInSequence=e.prototype.fb,e.prototype.getPodTimeOffset=e.prototype.pb,e.prototype.getPodIndex=e.prototype.getPodIndex,e.prototype.getPodType=e.prototype.Ca,e.prototype.getMediaBitrate=e.prototype.Ba,e.prototype.getMediaHeight=e.prototype.Ta,e.prototype.getMediaWidth=e.prototype.Ua,e.prototype.getMediaUrl=e.prototype.getMediaUrl,e.prototype.getClickThroughUrl=e.prototype.Qa,e.prototype.isBumper=e.prototype.Bb,e.prototype.getSkipTimeOffset=e.prototype.getSkipTimeOffset,e.prototype.getPosition=e.prototype.getPosition,e.prototype.getDuration=e.prototype.getDuration,e.prototype.getTitle=e.prototype.getTitle,e.prototype.getAdvertiserName=e.prototype.getAdvertiserName,e.prototype.getAdSystem=e.prototype.getAdSystem,e.prototype.getApiFramework=e.prototype.getApiFramework,e.prototype.getSourceId=e.prototype.zb,e.prototype.getCreativeId=e.prototype.getCreativeId,e.prototype.getId=e.prototype.getId,e.prototype.getTechnology=e.prototype.gb,e.prototype.getAdManagerVersion=e.prototype.eb,e.prototype.getAdManagerName=e.prototype.cb;var P=class{constructor(t,r){this.m=t,this.f=r,this.a=new i.Qt,this.h=!1}init(){let t=this.m,r=this.a;r.on(t,i.Rf,this.o.bind(this)),r.on(t,i.Nc,this.j.bind(this)),r.on(t,"seek",this.l.bind(this))}j(t){t=t.detail,typeof t.bandwidth===i.r&&this.f.notifyLayerSwitch(t.bandwidth/1e3)}o(t){let r=this.m,o=this.f;t=t.detail;let s=t.currentState;switch(t.previousState===2&&o.notifyStallEnd(!r.isPaused()),s){case 2:o.notifyStallStart();break;case 3:this.h?o.notifyResume():(o.notifyFirstImage(),this.h=!0);break;case 4:o.notifyPause()}}l(){let t=1e3*this.m.getPosition();this.f.notifySeek(t)}release(){this.a&&(i.Xh(this.a),this.a=null)}},n=class{constructor(t){this.m=t,this.C=new i.Qt,this.l=this.B=this.f=this.a=null,this.F=this.G.bind(this)}initialize(t,r){this.B=t,t.activateAdvertising(),c(this);for(let o in r)t.setAdParameter(o,r[o]);t.setAdEventsListener({onAdBreakBegin:()=>{this.m.trigger(new i.H(i.Ub,{ad:null})),this.C.on(this.m,i.gg,this.F)},onAdBegin:(o,s)=>{this.f=o,this.a=new e(o,s,1e3*this.m.getDuration()),this.m.trigger(new i.H(i.mc,{ad:this.a}))},onAdSkippable:()=>{},onAdEnd:()=>
1{if(this.a){let o={ad:this.a};this.m.trigger(new i.H(i.Yb,o)),this.m.trigger(new i.H(i.nc,o)),this.f=this.a=null}},onAdBreakEnd:()=>{d(this),this.m.trigger(new i.H(i.Vb)),this.a=null}})}H(){if(this.a&&this.B){var t=this.a.Qa();t&&(this.B.adUserInteraction("click"),this.m.trigger(new i.H(i.Xb,{ad:this.a})),this.m.pause(),(t=u.open(t,"_blank"))&&t.focus())}}G(){if(this.a&&this.f){var t=this.m.getPosition()-this.f.startPosition/1e3,r=this.a.getDuration();0<r&&t>r||(this.a.setPosition(t),this.m.trigger(new i.H(i.jc,{ad:this.a})),!this.a.h&&t>=r/4&&(this.a.h=!0,this.m.trigger(new i.H(i.Zb,{ad:this.a}))),!this.a.j&&t>=r/2&&(this.a.j=!0,this.m.trigger(new i.H(i.ec,{ad:this.a}))),!this.a.l&&t>=3*r/4&&(this.a.l=!0,this.m.trigger(new i.H(i.oc,{ad:this.a}))))}}load(){return Promise.resolve()}j(){return!0}A(){}w(){return!0}skip(){if(this.a){var t=this.a.getPosition(),r=this.a.getSkipTimeOffset();r===-1||t<r||(t=this.m.getPosition()-t+this.a.getDuration(),r=this.a,this.f=this.a=null,d(this),this.m.trigger(new i.H(i.lc,{ad:r})),this.m.setPosition(t))}}ib(){}isPaused(){}pause(){}resume(){}getAdVolume(){return 0}h(){}getVolume(){return 0}setVolume(){}setMuted(){}isMuted(){return!1}qb(){return!1}getPosition(){return this.a?this.a.getPosition():-1}o(){d(this),this.C.release();let t=this.m.getSurface().getMedia();return t&&this.l&&(t.removeEventListener("click",this.l),this.l=null),this.B=this.f=this.a=null,Promise.resolve()}};n.prototype.getPosition=n.prototype.getPosition,n.prototype.setVolume=n.prototype.setVolume,n.prototype.getVolume=n.prototype.getVolume,n.prototype.resume=n.prototype.resume,n.prototype.pause=n.prototype.pause,n.prototype.skip=n.prototype.skip;var g=class extends i.Uv{constructor(){super(),this.o=this.f=this.a=this.h=this.m=null,this.w=new i.Qt,this.l=!1,this.j=null}onPlayerCreated(t){this.m=t}onContentWillLoad(t,r){let o=t.getConfiguration().broadpeak;if(o)return h()?t.onError(new i.I(1,9,11e3)):(this.l=!0,y(this,o),f(this,t,o),this.a.getURL(r.url).then(s=>{if(s.isError()){let p=s.getDetailedErrorCode();s=s.getDetailedErrorMessage(),this.m.onError(new i.I(1,9,11001,{bpkErrorCode:p,message:s})),a(this,void 0)}else r.url=s.getURL(),this.f=new P(this.m,this.o),this.f.init()}))}onContentLoaded(){this.l!==!1&&this.a.precacheEnded()}A(t){if(t=t.detail,t.code===7003)a(this,SmartLib.BPFormatNotSupportedError);else if(t.severity===i.D)switch(t.category){case 3:a(this,SmartLib.BPDecodingError);break;case 1:a(this,SmartLib.BPNetworkingError);break;case 6:a(this,SmartLib.BPAccessRightError);break;default:a(this,SmartLib.BPUnspecifiedError)}}onPlayerWillRelease(){this.j=null,h()||a(this,SmartLib.BPSessionEndsNormally),this.l=!1}id(){return"broadpeak"}};i.x("clpp.broadpeak.BroadpeakPlugin",g),g.isSdkMissing=h,g.Id="broadpeak";var S=class{name(){return"clpp.broadpeak.AdsManagerFactory"}a(t,r){return h()?!1:!!(r&&r.broadpeak&&r.broadpeak.adTracking)}create(t){return new n(t)}};i.Pn(new class{create(){return new g}}),i.Gh(new S)};b.call(k,window);

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.