1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[965],{36596:function(a,b,c){var d,e,f,g=Object.create,h=Object.defineProperty,i=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,k=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,m=(a,b,c)=>b in a?h(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,n=(a,b,c,d)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let e of j(b))l.call(a,e)||e===c||h(a,e,{get:()=>b[e],enumerable:!(d=i(b,e))||d.enumerable});return a},o=(a,b,c)=>(m(a,"symbol"!=typeof b?b+"":b,c),c),p={};((a,b)=>{for(var c in b)h(a,c,{get:b[c],enumerable:!0})})(p,{default:()=>t}),a.exports=(d=p,n(h({},"__esModule",{value:!0}),d));var q=(f=null!=(e=c(67294))?g(k(e)):{},n(e&&e.__esModule?f:h(f,"default",{value:e,enumerable:!0}),e)),r=c(38045),s=c(71776);class t extends q.Component{constructor(){super(...arguments),o(this,"callPlayer",r.callPlayer),o(this,"mute",()=>{this.setVolume(0)}),o(this,"unmute",()=>{null!==this.props.volume&&this.setVolume(this.props.volume)}),o(this,"ref",a=>{this.container=a})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(a){let{playing:b,config:c,onError:d,onDuration:e}=this.props,f=a&&a.match(s.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,r.getSDK)("https://play.vidyard.com/embed/v4.js","VidyardV4","onVidyardAPI").then(a=>{this.container&&(a.api.addReadyListener((a,b)=>{!this.player&&(this.player=b,this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seek",this.props.onSeek),this.player.on("playerComplete",this.props.onEnded))},f),a.api.renderPlayer({uuid:f,container:this.container,autoplay:b?1:0,...c.options}),a.api.getPlayerMetadata(f).then(a=>{this.duration=a.length_in_seconds,e(a.length_in_seconds)}))},d)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){window.VidyardV4.api.destroyPlayer(this.player)}seekTo(a,b=!0){this.callPlayer("seek",a),b||this.pause()}setVolume(a){this.callPlayer("setVolume",a)}setPlaybackRate(a){this.callPlayer("setPlaybackSpeed",a)}getDuration(){return this.duration}getCurrentTime(){return this.callPlayer("currentTime")}getSecondsLoaded(){return null}render(){let{display:a}=this.props;return q.default.createElement("div",{style:{width:"100%",height:"100%",display:a}},q.default.createElement("div",{ref:this.ref}))}}o(t,"displayName","Vidyard"),o(t,"canPlay",s.canPlay.vidyard)}}])
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.