1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6328],{99596:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});var a=r(57082),s=r(77852),i=r(32498),o=r(99169);let n=(0,a.Ft)((e,t)=>{var r=Object.create,a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,p=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=(e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))u.call(e,i)||i===r||a(e,i,{get:()=>t[i],enumerable:!(s=n(t,i))||s.enumerable});return e},d=(e,t,r)=>(((e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"==typeof t?t:t+"",r),r),y={};((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(y,{default:()=>g}),t.exports=h(a({},"__esModule",{value:!0}),y);var c=((e,t,s)=>(s=null==e?{}:r(p(e)),h(!t&&e&&e.__esModule?s:a(s,"default",{value:e,enumerable:!0}),e)))((0,s.W)()),m=(0,i.q)(),f=(0,o.K)(),g=class extends c.Component{constructor(){super(...arguments),d(this,"callPlayer",m.callPlayer),d(this,"onDurationChange",()=>{let e=this.getDuration();this.props.onDuration(e)}),d(this,"mute",()=>{this.callPlayer("setMuted",!0)}),d(this,"unmute",()=>{this.callPlayer("setMuted",!1)}),d(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){let{controls:t,config:r,onError:a,playing:s}=this.props,[,i]=e.match(f.MATCH_URL_DAILYMOTION);if(this.player)return void this.player.load(i,{start:(0,m.parseStartTime)(e),autoplay:s});(0,m.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",e=>e.player).then(s=>{if(!this.container)return;let o=s.player;this.player=new o(this.container,{width:"100%",height:"100%",video:i,params:{controls:t,autoplay:this.props.playing,mute:this.props.muted,start:(0,m.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 c.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},c.default.createElement("div",{ref:this.ref}))}};d(g,"displayName","DailyMotion"),d(g,"canPlay",f.canPlay.dailymotion),d(g,"loopOnEnded",!0)})()}}]);
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.