1"use strict";(self.webpackChunkfrontend_setup=self.webpackChunkfrontend_setup||[]).push([[535],{6713:(t,e,i)=>{i.r(e),i.d(e,{default:()=>VimeoVideo});var o=i(8333);function _defineProperty(t,e,i){return(e=function _toPropertyKey(t){var e=function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class VimeoVideo{constructor(t){_defineProperty(this,"options",void 0),_defineProperty(this,"player",void 0),_defineProperty(this,"initialPlay",!1),this.options=t,this.initPlayer()}initPlayer(){const t={title:!1,portrait:!1,muted:!!this.options.videoMuted,loop:!!this.options.videoLoop,autoplay:!!this.options.videoAutoplay,controls:!!this.options.videoControls,playsinline:!!this.options.videoPlaysinline};this.options.isPlaylist?t.url=`https://vimeo.com/showcase/${this.options.videoId}`:t.id=Number(this.options.videoId),this.player=new o.Z(this.options.player,t),this.bindEvents()}bindEvents(){this.player.ready().then(()=>{this.options.videoTime&&!this.initialPlay&&this.setStartTime(this.options.videoTime),this.options.element.ready()}),this.player.on("play",()=>{this.options.element.playing()}),this.player.on("pause",()=>{this.options.element.paused()}),this.player.on("ended",()=>{this.options.element.ended()})}play(){this.player.play()}unload(){this.player.unload()}pause(){this.player.pause()}replay(){this.player.unload(),this.player.play()}mute(){this.player.setMuted(!0)}unMute(){this.player.setMuted(!1)}setVolume(t){this.player.setVolume(t)}loadVideo(t){this.player.loadVideo(t)}setStartTime(t){this.player.setCurrentTime(t).then(()=>this.initialPlay=!0).catch(()=>{this.initialPlay=!1,console.error("Unable to set start time for video",this.options.videoId)})}}}}]); 2//# sourceMappingURL=Vimeo-Player.b38e343061447578dcf1.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.