1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3743],{50436:(function(C,O,y){var h=Object.defineProperty,v=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,_=(t,e,i)=>e in t?h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,R=(t,e)=>{for(var i in e||(e={}))g.call(e,i)&&_(t,i,e[i]);if(v)for(var i of v(e))E.call(e,i)&&_(t,i,e[i]);return t},b=Object.create,d=Object.defineProperty,k=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyNames,M=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,P=(t,e,i)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,V=(t,e)=>{for(var i in e)d(t,i,{get:e[i],enumerable:!0})},D=(t,e,i,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of w(e))!T.call(t,p)&&p!==i&&d(t,p,{get:()=>e[p],enumerable:!(l=k(e,p))||l.enumerable});return t},f=(t,e,i)=>(i=t!=null?b(M(t)):{},D(e||!t||!t.__esModule?d(i,"default",{value:t,enumerable:!0}):i,t)),j=t=>D(d({},"__esModule",{value:!0}),t),s=(t,e,i)=>(P(t,typeof e!="symbol"?e+"":e,i),i),u={};V(u,{default:()=>n}),C.exports=j(u);var S=f(y(67294)),L=y(35457),m=y(58279);const r="https://player.vimeo.com/api/player.js",o="Vimeo",a=t=>t.replace("/manage/videos","");class n extends S.Component{constructor(){super(...arguments),s(this,"callPlayer",L.callPlayer),s(this,"duration",null),s(this,"currentTime",null),s(this,"secondsLoaded",null),s(this,"mute",()=>{this.setMuted(!0)}),s(this,"unmute",()=>{this.setMuted(!1)}),s(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){this.duration=null,(0,L.getSDK)(r,o).then(i=>{if(!this.container)return;const{playerOptions:l,title:p}=this.props.config;this.player=new i.Player(this.container,R({url:a(e),autoplay:this.props.playing,muted:this.props.muted,loop:this.props.loop,playsinline:this.props.playsinline,controls:this.props.controls},l)),this.player.ready().then(()=>{const c=this.container.querySelector("iframe");c.style.width="100%",c.style.height="100%",p&&(c.title=p)}).catch(this.props.onError),this.player.on("loaded",()=>{this.props.onReady(),this.refreshDuration()}),this.player.on("play",()=>{this.props.onPlay(),this.refreshDuration()}),this.player.on("pause",this.props.onPause),this.player.on("seeked",c=>this.props.onSeek(c.seconds)),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({seconds:c})=>{this.currentTime=c}),this.player.on("progress",({seconds:c})=>{this.secondsLoaded=c}),this.player.on("bufferstart",this.props.onBuffer),this.player.on("bufferend",this.props.onBufferEnd),this.player.on("playbackratechange",c=>this.props.onPlaybackRateChange(c.playbackRate))},this.props.onError)}refreshDuration(){this.player.getDuration().then(e=>{this.duration=e})}play(){const e=this.callPlayer("play");e&&e.catch(this.props.onError)}pause(){this.callPlayer("pause")}stop(){this.callPlayer("unload")}seekTo(e,i=!0){this.callPlayer("setCurrentTime",e),i||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setMuted(e){this.callPlayer("setMuted",e)}setLoop(e){this.callPlayer("setLoop",e)}setPlaybackRate(e){this.callPlayer("setPlaybackRate",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const{display:e}=this.props,i={width:"100%",height:"100%",overflow:"hidden",display:e};return S.default.createElement("div",{key:this.props.url,ref:this.ref,style:i})}}s(n,"displayName","Vimeo"),s(n,"canPlay",m.canPlay.vimeo),s(n,"forceLoad",!0)}),86746:(function(C,O,y){"use strict";function h(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?h=function(a){return typeof a}:h=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},h(r)}
1Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var v=R(y(67294)),g=y(56281),E=y(99790);function _(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return _=function(){return r},r}function R(r){if(r&&r.__esModule)return r;if(r===null||h(r)!=="object"&&typeof r!="function")return{default:r};var o=_();if(o&&o.has(r))return o.get(r);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var e=n?Object.getOwnPropertyDescriptor(r,t):null;e&&(e.get||e.set)?Object.defineProperty(a,t,e):a[t]=r[t]}return a.default=r,o&&o.set(r,a),a}function b(r,o){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);o&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),a.push.apply(a,n)}return a}function d(r){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{};o%2?b(Object(a),!0).forEach(function(n){u(r,n,a[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(a,n))})}return r}function k(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}function w(r,o){for(var a=0;a<o.length;a++){var n=o[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function M(r,o,a){return o&&w(r.prototype,o),a&&w(r,a),r}function T(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),o&&P(r,o)}function P(r,o){return P=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n},P(r,o)}function V(r){var o=j();return function(){var n=s(r),t;if(o){var e=s(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return D(this,t)}}function D(r,o){return o&&(h(o)==="object"||typeof o=="function")?o:f(r)}function f(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function j(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(r){return!1}}
1function s(r){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)},s(r)}function u(r,o,a){return o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a,r}var S="https://player.vimeo.com/api/player.js",L="Vimeo",m=(function(r){T(a,r);var o=V(a);function a(){var n;k(this,a);for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return n=o.call.apply(o,[this].concat(e)),u(f(n),"callPlayer",g.callPlayer),u(f(n),"duration",null),u(f(n),"currentTime",null),u(f(n),"secondsLoaded",null),u(f(n),"mute",function(){n.setVolume(0)}),u(f(n),"unmute",function(){n.props.volume!==null&&n.setVolume(n.props.volume)}),u(f(n),"ref",function(l){n.container=l}),n}return M(a,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(t){var e=this;this.duration=null,(0,g.getSDK)(S,L).then(function(i){e.container&&(e.player=new i.Player(e.container,d({url:t,autoplay:e.props.playing,muted:e.props.muted,loop:e.props.loop,playsinline:e.props.playsinline,controls:e.props.controls},e.props.config.playerOptions)),e.player.ready().then(function(){var l=e.container.querySelector("iframe");l.style.width="100%",l.style.height="100%"}).catch(e.props.onError),e.player.on("loaded",function(){e.props.onReady(),e.refreshDuration()}),e.player.on("play",function(){e.props.onPlay(),e.refreshDuration()}),e.player.on("pause",e.props.onPause),e.player.on("seeked",function(l){return e.props.onSeek(l.seconds)}),e.player.on("ended",e.props.onEnded),e.player.on("error",e.props.onError),e.player.on("timeupdate",function(l){var p=l.seconds;e.currentTime=p}),e.player.on("progress",function(l){var p=l.seconds;e.secondsLoaded=p}),e.player.on("bufferstart",e.props.onBuffer),e.player.on("bufferend",e.props.onBufferEnd))},this.props.onError)}},{key:"refreshDuration",value:function(){var t=this;this.player.getDuration().then(function(e){t.duration=e})}},{key:"play",value:function(){var t=this.callPlayer("play");t&&t.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(t){this.callPlayer("setCurrentTime",t)}},{key:"setVolume",value:function(t){this.callPlayer("setVolume",t)}},{key:"setLoop",value:function(t){this.callPlayer("setLoop",t)}},{key:"setPlaybackRate",value:function(t){this.callPlayer("setPlaybackRate",t)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var t=this.props.display,e={width:"100%",height:"100%",overflow:"hidden",display:t};return v.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}]),a})(v.Component);O.default=m,u(m,"displayName","Vimeo"),u(m,"canPlay",E.canPlay.vimeo),u(m,"forceLoad",!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.