1import{r as D,a as L,b as j,g as M}from"./index-as-ZKPfY.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"7f5410c7e301bd153aba7dfa56b446ee86f218ba"}}catch{}})();try{(function(){var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new a.Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="9188e1a0-69c4-4124-a0c9-229494c8c4d2",a._sentryDebugIdIdentifier="sentry-dbid-9188e1a0-69c4-4124-a0c9-229494c8c4d2")})()}catch{}function R(a,o){for(var u=0;u<o.length;u++){const n=o[u];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in a)){const d=Object.getOwnPropertyDescriptor(n,i);d&&Object.defineProperty(a,i,d.get?d:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var f,g;function A(){if(g)return f;g=1;var a=Object.create,o=Object.defineProperty,u=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,v=(t,e,r)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,S=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of n(e))!d.call(t,l)&&l!==r&&o(t,l,{get:()=>e[l],enumerable:!(p=u(e,l))||p.enumerable});return t},w=(t,e,r)=>(r=t!=null?a(i(t)):{},h(!t||!t.__esModule?o(r,"default",{value:t,enumerable:!0}):r,t)),O=t=>h(o({},"__esModule",{value:!0}),t),s=(t,e,r)=>(v(t,typeof e!="symbol"?e+"":e,r),r),y={};S(y,{default:()=>c}),f=O(y);var b=w(D()),m=L(),_=j();const E="https://cdn.embed.ly/player-0.1.0.min.js",T="playerjs";class c extends b.Component{constructor(){super(...arguments),s(this,"callPlayer",m.callPlayer),s(this,"duration",null),s(this,"currentTime",null),s(this,"secondsLoaded",null),s(this,"mute",()=>{this.callPlayer("mute")}),s(this,"unmute",()=>{this.callPlayer("unmute")}),s(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,m.getSDK)(E,T).then(r=>{this.iframe&&(this.player=new r.Player(this.iframe),this.player.setLoop(this.props.loop),this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seeked",this.props.onSeek),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({duration:p,seconds:l})=>{this.duration=p,this.currentTime=l}),this.player.on("buffered",({percent:p})=>{this.duration&&(this.secondsLoaded=this.duration*p)}),this.props.muted&&this.player.mute())},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("setCurrentTime",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e=this.props.url.match(_.MATCH_URL_STREAMABLE)[1],r={width:"100%",height:"100%"};return b.default.createElement("iframe",{ref:this.ref,src:`https://streamable.com/o/${e}`,frameBorder:"0",scrolling:"no",style:r,allow:"encrypted-media; autoplay; fullscreen;"})}}return s(c,"displayName","Streamable"),s(c,"canPlay",_.canPlay.streamable),f}var P=A();const N=M(P),C=R({__proto__:null,default:N},[P]);export{C as S};
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.