PageSourceSearch

https://www.warc.com/_next/static/chunks/reactPlayerDailyMotion.f3607b0643ad612c.js

js warc.com collected 2026-09-24 06:58:32 UTC 2,984 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6328],{15658:(e,t,r)=>{r.r(t),r.d(t,{D:()=>O});var a=r(7804),i=r(12115),n=r(42046),o=Object.create,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,u=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,y=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of p(t))h.call(e,i)||i===r||l(e,i,{get:()=>t[i],enumerable:!(a=s(t,i))||a.enumerable});return e},c=(e,t,r)=>(((e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),r),d={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(d,{default:()=>P});var f=y(l({},"__esModule",{value:!0}),d),m=((e,t,r)=>(r=null!=e?o(u(e)):{},y(e&&e.__esModule?r:l(r,"default",{value:e,enumerable:!0}),e)))(i),g=n.u,b=n.p;class P extends m.Component{constructor(){super(...arguments),c(this,"callPlayer",g.callPlayer),c(this,"onDurationChange",()=>{let e=this.getDuration();this.props.onDuration(e)}),c(this,"mute",()=>{this.callPlayer("setMuted",!0)}),c(this,"unmute",()=>{this.callPlayer("setMuted",!1)}),c(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){let{controls:t,config:r,onError:a,playing:i}=this.props,[,n]=e.match(b.MATCH_URL_DAILYMOTION);if(this.player)return void this.player.load(n,{start:(0,g.parseStartTime)(e),autoplay:i});(0,g.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",e=>e.player).then(i=>{if(!this.container)return;let o=i.player;this.player=new o(this.container,{width:"100%",height:"100%",video:n,params:{controls:t,autoplay:this.props.playing,mute:this.props.muted,start:(0,g.parseStartTime)(e),origin:window.location.origin,...r.params},events:{apiready:this.props.onReady,seeked:()=>this.props.onSeek(this.player.currentTime),video_end:this.props.onEnded,durationchange:this.onDurationChange,pause:this.props.onPause,playing:this.props.onPlay,waiting:this.props.onBuffer,error:e=>a(e)}})},a)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("seek",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}getDuration(){return this.player.duration||null}getCurrentTime(){return this.player.currentTime}getSecondsLoaded(){return this.player.bufferedTime}render(){let{display:e}=this.props;return m.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},m.default.createElement("div",{ref:this.ref}))}}c(P,"displayName","DailyMotion"),c(P,"canPlay",b.canPlay.dailymotion),c(P,"loopOnEnded",!0);let O=function(e,t){for(var r=0;r<t.length;r++){let a=t[r];if("string"!=typeof a&&!Array.isArray(a)){for(let t in a)if("default"!==t&&!(t in e)){let r=Object.getOwnPropertyDescriptor(a,t);r&&Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>a[t]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:(0,a.g)(f)},[f])}}]);

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.