1/*! For license information please see 894e3a1ffa6e81dd66d3783015bfe3fc81b9837c-bfe7c2eb7d5d21124bec.js.LICENSE.txt */ 2"use strict";(self.webpackChunkbroadsign=self.webpackChunkbroadsign||[]).push([[3316],{85791:function(e,t,n){n.d(t,{A:function(){return D}});var r=n(96540);const o=void 0!==n.g&&"[object global]"==={}.toString.call(n.g),i="undefined"!=typeof Bun,a="undefined"!=typeof Deno,s="function"==typeof WebSocketPair&&void 0!==caches?.default,l=o||i||a||s;function c(e,t){return 0===e.indexOf(t.toLowerCase())?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function u(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function d(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(o=r,!isNaN(parseFloat(o))&&isFinite(o)&&Math.floor(o)==o)return`https://vimeo.com/${r}`;var o;if(u(r))return r.replace("http:","https:");if(t)throw new TypeError(`â${t}â is not a valid video id.`);throw new TypeError(`â${r}â is not a vimeo.com url.`)}const p=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener";const i="string"==typeof t?[t]:t;return i.forEach(t=>{e[r](t,n)}),{cancel:()=>i.forEach(t=>e[o](t,n))}};function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;const n=t.querySelectorAll("iframe");for(let r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===e)return n[r];return null}const m=void 0!==Array.prototype.indexOf,g="undefined"!=typeof window&&void 0!==window.postMessage;if(!(l||m&&g))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap"+"_"+i()+"."+i()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(e,n){if(!o(e)||!t.call(e,"_id"))throw new TypeError(n+" method called on incompatible receiver "+typeof e)}function i(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",function(e){if(n(this,"delete"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)}),r(e.prototype,"get",function(e){if(n(this,"get"),o(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),r(e.prototype,"has",function(e){if(n(this,"has"),!o(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),r(e.prototype,"set",function(e,t){if(n(this,"set"),!o(e))throw new TypeError("Invalid value used as weak map key");var i=e[this._id];return i&&i[0]===e?(i[1]=t,this):(r(e,this._id,[e,t]),this)}),r(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:y);var w,v,b=(w=function(e){var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(g){e=function(e,t,n){return e[t]=n,e}}function i(e,r){n.add(e,r),t||(t=o(n.drain))}function a(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)l(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function l(e,t,n){var r,o;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(o=a(r))?o.call(r,n.resolve,n.reject):n.resolve(r)}catch(g){n.reject(g)}}function c(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=a(e))?i(function(){var r=new h(n);try{t.call(e,function(){c.apply(r,arguments)},function(){u.apply(r,arguments)})}catch(g){u.call(r,g)}}):(n.msg=e,n.state=1,n.chain.length>0&&i(s,n))}catch(g){u.call(new h(n),g)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&i(s,t))}function d(e,t,n,r){for(var o=0;o<t.length;o++)(function(o){e.resolve(t[o]).then(function(e){n(o,e)},r)})(o)}function h(e){this.def=e,this.triggered=!1}function p(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function f(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new p(this);this.then=function(e,n){var r={success:"function"!=typeof e||e,failure:"function"==typeof n&&n};return r.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}
2),t.chain.push(r),0!==t.state&&i(s,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){c.call(t,e)},function(e){u.call(t,e)})}catch(g){u.call(t,g)}}n=function(){var e,n,r;function o(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,i){r=new o(t,i),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();var m=e({},"constructor",f,!1);return f.prototype=m,e(m,"__NPO__",0,!1),e(f,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),e(f,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),e(f,"all",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var o=e.length,i=Array(o),a=0;d(t,e,function(e,t){i[e]=t,++a===o&&n(i)},r)})}),e(f,"race",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");d(t,e,function(e,t){n(t)},r)})}),f},(n=y)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])},w(v={exports:{}},v.exports),v.exports);const E=new WeakMap;function k(e,t,n){const r=E.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),E.set(e.element,r)}function T(e,t){return(E.get(e.element)||{})[t]||[]}function P(e,t,n){const r=E.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],E.set(e.element,r),!0;const o=r[t].indexOf(n);return-1!==o&&r[t].splice(o,1),E.set(e.element,r),r[t]&&0===r[t].length}function _(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){return console.warn(t),{}}return e}function C(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};void 0!==n&&(r.value=n);const o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));o>=8&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function A(e,t){let n,r=[];if((t=_(t)).event){if("error"===t.event){T(e,t.data.method).forEach(n=>{const r=new Error(t.data.message);r.name=t.data.name,n.reject(r),P(e,t.data.method,n)})}r=T(e,`event:${t.event}`),n=t.data}else if(t.method){const o=function(e,t){const n=T(e,t);if(n.length<1)return!1;const r=n.shift();return P(e,t,r),r}(e,t.method);o&&(r.push(o),n=t.value)}r.forEach(t=>{try{if("function"==typeof t)return void t.call(e,n);t.resolve(n)}catch(r){}})}const M=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return M.reduce((t,n)=>{const r=e.getAttribute(`data-vimeo-${n}`);return(r||""===r)&&(t[n]=""===r?1:r),t},t)}function x(e,t){let{html:n}=e;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");const r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,o)=>{if(!u(e))throw new TypeError(`â${e}â is not a vimeo.com url.`);const i=function(e){const t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const o of r)if(n.endsWith(o))return n;return"vimeo.com"}(e);let a=`https://${i}/api/oembed.json?url=${encodeURIComponent(e)}`;for(const e in t)t.hasOwnProperty(e)&&(a+=`&${e}=${encodeURIComponent(t[e])}`);const s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",a,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{const t=JSON.parse(s.responseText);if(403===t.domain_status_code)return x(t,n),void o(new Error(`â${e}â is not embeddable.`));r(t)}catch(t){o(t)}else o(new Error(`â${e}â is not embeddable.`));else o(new Error(`â${e}â was not found.`))},s.onerror=function(){const e=s.status?` (${s.status})`:"";o(new Error(`There was an error fetching the embed code from Vimeo${e}.`))},s.send()})}const N={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};
2class R extends EventTarget{logger;constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;super(),this.logger=r,this.init(t,e,{...N,...n})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(e,t,n){if(await this.waitForTOReadyState(e,"open"),"viewer"===n.role){await this.updatePlayer(e,t,n);const r=p(e,"change",()=>this.updatePlayer(e,t,n)),o=this.maintainPlaybackPosition(e,t,n);this.addEventListener("disconnect",()=>{o.cancel(),r.cancel()})}else{await this.updateTimingObject(e,t);const n=p(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>n.cancel())}}async updateTimingObject(e,t){const[n,r,o]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:n,velocity:r?0:o})}async updatePlayer(e,t,n){const{position:r,velocity:o}=e.query();"number"==typeof r&&t.setCurrentTime(r),"number"==typeof o&&(0===o?!1===await t.getPaused()&&t.pause():o>0&&(!0===await t.getPaused()&&(await t.play().catch(async e=>{"NotAllowedError"===e.name&&n.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error("Couldn't play the video from TimingSrcConnector. Error:",e)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==o&&t.setPlaybackRate(o)))}maintainPlaybackPosition(e,t,n){const{allowedDrift:r,maxAllowedDrift:o,minCheckInterval:i,maxRateAdjustment:a,maxTimeToCatchUp:s}=n,l=1e3*Math.min(s,Math.max(i,o)),c=async()=>{if(0===e.query().velocity||!0===await t.getPaused())return;const n=e.query().position-await t.getCurrentTime(),i=Math.abs(n);if(this.log(`Drift: ${n}`),i>o)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(i>r){const e=i/s,r=e<a?(a-e)/2:a;await this.adjustSpeed(t,r*Math.sign(n)),this.log("Resync by playbackRate")}},u=setInterval(()=>c(),l);return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;const n=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${n}`),await e.setPlaybackRate(n),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(n=>{const r=()=>{e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})};r()})}}const S=new WeakMap,O=new WeakMap;let q={};class I{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){const t=e.querySelector("iframe");t&&(e=t)}if("IFRAME"===e.nodeName&&!u(e.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(S.has(e))return S.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";const n=new b((n,r)=>{if(this._onMessage=e=>{if(!u(e.origin)||this.element.contentWindow!==e.source)return;"*"===this.origin&&(this.origin=e.origin);const t=_(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){const e=new Error(t.data.message);return e.name=t.data.name,void r(e)}const o=t&&"ready"===t.event,i=t&&"ping"===t.method;if(o||i)return this.element.setAttribute("data-ready","true"),void n();A(this,t)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){const n=j(e,t);F(h(n),n,e).then(t=>{const n=x(t,e);return this.element=n,this._originalElement=e,function(e,t){const n=E.get(e);E.set(t,n),E.delete(e)}(e,n),S.set(this.element,this),t}).catch(r)}});if(O.set(this,n),S.set(this.element,this),"IFRAME"===this.element.nodeName&&C(this,"ping"),q.isEnabled){const e=()=>q.exit();this.fullscreenchangeHandler=()=>{q.isFullscreen?k(this,"event:exitFullscreen",e):P(this,"event:exitFullscreen",e),this.ready().then(()=>{C(this,"fullscreenchange",q.isFullscreen)})},q.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return u(e)}callMethod(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];
2if(null==e)throw new TypeError("You must pass a method name.");return new b((t,r)=>this.ready().then(()=>{k(this,e,{resolve:t,reject:r}),0===n.length?n={}:1===n.length&&(n=n[0]),C(this,e,n)}).catch(r))}get(e){return new b((t,n)=>(e=c(e,"get"),this.ready().then(()=>{k(this,e,{resolve:t,reject:n}),C(this,e)}).catch(n)))}set(e,t){return new b((n,r)=>{if(e=c(e,"set"),null==t)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{k(this,e,{resolve:n,reject:r}),C(this,e,t)}).catch(r)})}on(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===T(this,`event:${e}`).length&&this.callMethod("addEventListener",e).catch(()=>{}),k(this,`event:${e}`,t)}off(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");P(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(e=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){const e=O.get(this)||new b((e,t)=>{t(new Error("Unknown player. Probably unloaded."))});return b.resolve(e)}addCuePoint(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t,showing:n})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return q.isEnabled?q.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return q.isEnabled?q.exit():this.callMethod("exitFullscreen")}getFullscreen(){return q.isEnabled?b.resolve(q.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new b(e=>{if(O.delete(this),S.delete(this.element),this._originalElement&&(S.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&"IFRAME"===this.element.nodeName&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&"DIV"===this.element.nodeName&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const e=this.element.querySelector("iframe");e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener("message",this._onMessage),q.isEnabled&&q.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return b.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new b((e,t)=>
2t(new TypeError("Argument must be an array.")));const t=new b(e=>e(null)),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return b.all(n)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,t){if(!e)throw new TypeError("A Timing Object must be provided.");await this.ready();const n=new R(this,e,t);return C(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",()=>C(this,"notifyTimingObjectDisconnect")),n}}l||(q=function(){const e=function(){let e;const t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let n=0;const r=t.length,o={};for(;n<r;n++)if(e=t[n],e&&e[1]in document){for(n=0;n<e.length;n++)o[t[0][n]]=e[n];return o}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request(t){return new Promise((r,o)=>{const i=function(){n.off("fullscreenchange",i),r()};n.on("fullscreenchange",i);const a=(t=t||document.documentElement)[e.requestFullscreen]();a instanceof Promise&&a.then(i).catch(o)})},exit(){return new Promise((t,r)=>{if(!n.isFullscreen)return void t();const o=function(){n.off("fullscreenchange",o),t()};n.on("fullscreenchange",o);const i=document[e.exitFullscreen]();i instanceof Promise&&i.then(o).catch(r)})},on(e,n){const r=t[e];r&&document.addEventListener(r,n)},off(e,n){const r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get(){return Boolean(document[e.fullscreenElement])}},element:{enumerable:!0,get(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get(){return Boolean(document[e.fullscreenEnabled])}}}),n}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=e=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(null!==e.getAttribute("data-vimeo-defer"))return;const t=j(e);F(h(t),t,e).then(t=>x(t,e)).catch(n)}catch(t){n(t)}})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",t=>{if(!u(t.origin))return;if(!t.data||"spacechange"!==t.data.event)return;const n=t.source?f(t.source,e):null;n&&(n.parentElement.style.paddingBottom=`${t.data.data[0].bottom}px`)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",t=>{if(!u(t.origin))return;const n=_(t.data);if(!n||"ready"!==n.event)return;const r=t.source?f(t.source,e):null;r&&d(r.src)&&new I(r).callMethod("appendVideoMetadata",window.location.href)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;
2window.VimeoCheckedUrlTimeParam=!0;const t=e=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener("message",n=>{if(!u(n.origin))return;const r=_(n.data);if(!r||"ready"!==r.event)return;const o=n.source?f(n.source,e):null;if(o&&d(o.src)){const e=new I(o);e.getVideoId().then(t=>{const n=new RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(n&&n[1]){const t=decodeURI(n[1]);e.setCurrentTime(t)}}).catch(t)}})}(),function(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",e=>{if(!u(e.origin))return;const t=_(e.data);if(!t||"drminitfailed"!==t.event)return;const n=e.source?f(e.source):null;if(!n)return;const r=n.getAttribute("allow")||"";if(!r.includes("encrypted-media")){n.setAttribute("allow",`${r}; encrypted-media`);const e=new URL(n.getAttribute("src"));return e.searchParams.set("forcereload","drm"),void n.setAttribute("src",e.toString())}})}());var $=I;function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}var L={play:"onPlay",playing:"onPlaying",pause:"onPause",ended:"onEnd",timeupdate:"onTimeUpdate",progress:"onProgress",seeked:"onSeeked",texttrackchange:"onTextTrackChange",cuechange:"onCueChange",cuepoint:"onCuePoint",volumechange:"onVolumeChange",playbackratechange:"onPlaybackRateChange",error:"onError",loaded:"onLoaded"},D=function(e){function t(t){var n;return(n=e.call(this,t)||this).refContainer=n.refContainer.bind(n),n}var n,o;o=e,(n=t).prototype=Object.create(o.prototype),n.prototype.constructor=n,V(n,o);var i=t.prototype;return i.componentDidMount=function(){this.createPlayer()},i.componentDidUpdate=function(e){var t=this,n=Object.keys(this.props).filter(function(n){return t.props[n]!==e[n]});this.updateProps(n)},i.componentWillUnmount=function(){this.player.destroy()},i.getInitialOptions=function(){var e,t=this.props.video;return(e={})[/^https?:/i.test(t)?"url":"id"]=t,e.width=this.props.width,e.height=this.props.height,e.autopause=this.props.autopause,e.autoplay=this.props.autoplay,e.byline=this.props.showByline,e.color=this.props.color,e.controls=this.props.controls,e.loop=this.props.loop,e.portrait=this.props.showPortrait,e.title=this.props.showTitle,e.muted=this.props.muted,e.background=this.props.background,e.responsive=this.props.responsive,e.dnt=this.props.dnt,e.speed=this.props.speed,e.keyboard=this.props.keyboard,e.pip=this.props.pip,e.playsinline=this.props.playsInline,e.quality=this.props.quality,e.texttrack=this.props.textTrack,e.transparent=this.props.transparent,e},i.updateProps=function(e){var t=this,n=this.player;e.forEach(function(e){var r=t.props[e];switch(e){case"autopause":n.setAutopause(r);break;case"color":n.setColor(r);break;case"loop":n.setLoop(r);break;case"volume":n.setVolume(r);break;case"paused":n.getPaused().then(function(e){return r&&!e?n.pause():!r&&e?n.play():null});break;case"width":case"height":n.element[e]=r;break;case"video":if(r){var o=t.props.start,i=n.loadVideo(r);"number"==typeof o&&i.then(function(){n.setCurrentTime(o)})}else n.unload();break;case"playbackRate":n.setPlaybackRate(r);break;case"quality":n.setQuality(r)}})},i.createPlayer=function(){var e=this,t=this.props,n=t.start,r=t.volume,o=t.playbackRate;this.player=new $(this.container,this.getInitialOptions()),Object.keys(L).forEach(function(t){var n=L[t];e.player.on(t,function(t){var r=e.props[n];r&&r(t)})});var i=this.props,a=i.onError,s=i.onReady;this.player.ready().then(function(){s&&s(e.player)},function(e){if(!a)throw e;a(e)}),"number"==typeof n&&this.player.setCurrentTime(n),"number"==typeof r&&this.updateProps(["volume"]),"number"==typeof o&&this.updateProps(["playbackRate"])},i.refContainer=function(e){this.container=e},i.render=function(){var e=this.props,t=e.id,n=e.className,o=e.style;return r.createElement("div",{id:t,className:n,style:o,ref:this.refContainer})},t}(r.Component);D.defaultProps={autopause:!0,autoplay:!1,showByline:!0,controls:!0,loop:!1,showPortrait:!0,showTitle:!0,muted:!1,background:!1,responsive:!1,dnt:!1,speed:!1,keyboard:!0,pip:!1,playsInl
2ine:!0,transparent:!0}}}]); 3//# sourceMappingURL=894e3a1ffa6e81dd66d3783015bfe3fc81b9837c-bfe7c2eb7d5d21124bec.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.