1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="73eb4bfa-caa1-4481-a899-203bae14b468",e._sentryDebugIdIdentifier="sentry-dbid-73eb4bfa-caa1-4481-a899-203bae14b468")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"a1914b02daa8c613ead1e27da03d97f802f0ebde"};(self.webpackChunkinvisiblefence=self.webpackChunkinvisiblefence||[]).push([[6328],{76322:function(e,t,a){var n,r=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,d=(e,t,a,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of s(t))p.call(e,r)||r===a||i(e,r,{get:()=>t[r],enumerable:!(n=o(t,r))||n.enumerable});return e},u=(e,t,a)=>(((e,t,a)=>{t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a})(e,"symbol"!=typeof t?t+"":t,a),a),h={};((e,t)=>{for(var a in t)i(e,a,{get:t[a],enumerable:!0})})(h,{default:()=>b}),e.exports=(n=h,d(i({},"__esModule",{value:!0}),n));var y=((e,t,a)=>(a=null!=e?r(l(e)):{},d(!t&&e&&e.__esModule?a:i(a,"default",{value:e,enumerable:!0}),e)))(a(14041)),c=a(73981),f=a(47133);class b extends y.Component{constructor(){super(...arguments),u(this,"callPlayer",c.callPlayer),u(this,"onDurationChange",()=>{const e=this.getDuration();this.props.onDuration(e)}),u(this,"mute",()=>{this.callPlayer("setMuted",!0)}),u(this,"unmute",()=>{this.callPlayer("setMuted",!1)}),u(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){const{controls:t,config:a,onError:n,playing:r}=this.props,[,i]=e.match(f.MATCH_URL_DAILYMOTION);this.player?this.player.load(i,{start:(0,c.parseStartTime)(e),autoplay:r}):(0,c.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",e=>e.player).then(r=>{if(!this.container)return;const o=r.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,c.parseStartTime)(e),origin:window.location.origin,...a.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=>n(e)}})},n)}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(){const{display:e}=this.props,t={width:"100%",height:"100%",display:e};return y.default.createElement("div",{style:t},y.default.createElement("div",{ref:this.ref}))}}u(b,"displayName","DailyMotion"),u(b,"canPlay",f.canPlay.dailymotion),u(b,"loopOnEnded",!0)}}]); 2//# sourceMappingURL=reactPlayerDailyMotion-34bba2985bcae2b121a0.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.