/* VimeoPlayer - v4.5.4 - 2022-06-30 - https://player.vimeo.com/NOTICE.txt */ !function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n,e){return t(e={path:n,exports:{},require:function(t,n){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&e.path)}},e.exports),e.exports}var i=e((function(t,e){ /*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.6+9869a4bc */ t.exports=function(){function t(t){return"function"==typeof t}var e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},i=0,r=void 0,o=void 0,u=function(t,n){h[i]=t,h[i+1]=n,2===(i+=2)&&(o?o(v):p())},a="undefined"!=typeof window?window:void 0,s=a||{},c=s.MutationObserver||s.WebKitMutationObserver,l="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function d(){var t=setTimeout;return function(){return t(v,1)}}var h=new Array(1e3);function v(){for(var t=0;t-1},T=e((function(t){(t.exports=function(t,n){var e,i,r,o,u;return arguments.length<2||"string"!=typeof t?(o=n,n=t,t=null):o=arguments[2],null==t?(e=r=!0,i=!1):(e=E.call(t,"c"),i=E.call(t,"e"),r=E.call(t,"w")),u={value:n,configurable:e,enumerable:i,writable:r},o?p(g(o),u):u}).gs=function(t,n,e){var i,r,o,u;return"string"!=typeof t?(o=e,e=n,n=t,t=null):o=arguments[3],null==n?n=void 0:y(n)?null==e?e=void 0:y(e)||(o=e,e=void 0):(o=n,n=e=void 0),null==t?(i=!0,r=!1):(i=E.call(t,"c"),r=E.call(t,"e")),u={get:n,set:e,configurable:i,enumerable:r},o?p(g(o),u):u}})),x=function(t){if(!function(t){return!!t&&("symbol"==typeof t||!!t.constructor&&"Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag])}(t))throw new TypeError(t+" is not a symbol");return t},S=Object.create,C=Object.defineProperties,A=Object.defineProperty,O=Object.prototype,M=S(null);if("function"==typeof Symbol){o=Symbol;try{String(o()),s=!0}catch(t){}}var I=function(){var t=S(null);return function(n){for(var e,i,r=0;t[n+(r||"")];)++r;return t[n+=r||""]=!0,A(O,e="@@"+n,T.gs(null,(function(t){i||(i=!0,A(this,e,T(t)),i=!1)}))),e}}();a=function(t){if(this instanceof a)throw new TypeError("TypeError: Symbol is not a constructor");return u(t)};var R=u=function t(n){var e;if(this instanceof t)throw new TypeError("TypeError: Symbol is not a constructor");return s?o(n):(e=S(a.prototype),n=void 0===n?"":String(n),C(e,{F:T("",n),U:T("",I(n))}))};C(u,{for:T((function(t){return M[t]?M[t]:M[t]=u(String(t))})),keyFor:T((function(t){var n;for(n in x(t),M)if(M[n]===t)return n})),hasInstance:T("",o&&o.hasInstance||u("hasInstance")),isConcatSpreadable:T("",o&&o.isConcatSpreadable||u("isConcatSpreadable")),iterator:T("",o&&o.iterator||u("iterator")),match:T("",o&&o.match||u("match")),replace:T("",o&&o.replace||u("replace")),search:T("",o&&o.search||u("search")),species:T("",o&&o.species||u("species")),split:T("",o&&o.split||u("split")),toPrimitive:T("",o&&o.toPrimitive||u("toPrimitive")),toStringTag:T("",o&&o.toStringTag||u("toStringTag")),unscopables:T("",o&&o.unscopables||u("unscopables"))}),C(a.prototype,{constructor:T(u),toString:T("",(function(){return this.U}))}),C(u.prototype,{toString:T((function(){return"Symbol ("+x(this).F+")"})),valueOf:T((function(){return x(this)}))}),A(u.prototype,u.toPrimitive,T("",(function(){var t=x(this);return"symbol"==typeof t?t:t.toString()}))),A(u.prototype,u.toStringTag,T("c","Symbol")),A(a.prototype,u.toStringTag,T("c",u.prototype[u.toStringTag])),A(a.prototype,u.toPrimitive,T("c",u.prototype[u.toPrimitive]));var j=function(){var t;if("function"!=typeof Symbol)return!1;t=Symbol("test symbol");try{String(t)}catch(t){return!1}return!!c[typeof Symbol.iterator]&&!!c[typeof Symbol.toPrimitive]&&!!c[typeof Symbol.toStringTag]}()?Symbol:R;if(function(){for(var t=["webkit","moz"],n=0;n=0||(r[e]=t[e]);return r}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(r[e]=t[e])}return r}function J(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],i=!0,r=!1,o=void 0;try{for(var u,a=t[Symbol.iterator]();!(i=(u=a.next()).done)&&(e.push(u.value),!n||e.length!==n);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==a.return||a.return()}finally{if(r)throw o}}return e}}(t,n)||Q(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(t){return function(t){if(Array.isArray(t))return tt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Q(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(t,n){if(t){if("string"==typeof t)return tt(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?tt(t,n):void 0}}function tt(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(e=t[Symbol.iterator]()).next.bind(e)}"function"!=typeof Object.assign&&(Object.assign=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),e=1;e>>0,i=arguments[1],r=0;r>>0,i=arguments[1],r=0;r>>0;if(0===i)return!1;var r=0|n,o=Math.max(r>=0?r:i-Math.abs(r),0);function u(t,n){return t===n||"number"==typeof t&&"number"==typeof n&&isNaN(t)&&isNaN(n)}for(;othis.length)&&-1!==this.indexOf(t,n)}),Object.values||(Object.values=function(t){return Object.keys(t).map((function(n){return t[n]}))}),String.prototype.startsWith||(String.prototype.startsWith=function(t,n){return this.slice(n||0,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,n){return(void 0===n||n>this.length)&&(n=this.length),this.substring(n-t.length,n)===t}),Number.isNaN=Number.isNaN||function(t){return"number"==typeof t&&t!=t},void 0===Number.parseFloat&&(Number.parseFloat=window.parseFloat),void 0===Number.parseInt&&(Number.parseInt=window.parseInt),void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)}),Array.prototype.entries||(Array.prototype.entries=function(){var t,n=this,e=0;function i(){}return i.prototype.next=function(){return e>n.length-1&&(t=!0),t?{value:void 0,done:!0}:{value:[e,n[e++]],done:!1}},i.prototype[j.iterator]=function(){return this},new i}),Array.prototype[j.iterator]||(Array.prototype[j.iterator]=function(){var t,n=this,e=0;function i(){}return i.prototype.next=function(){return e>n.length-1&&(t=!0),t?{value:void 0,done:!0}:{value:n[e++],done:!1}},i.prototype[j.iterator]=function(){return this},new i}),Object.entries||(Object.entries=function(t){for(var n=Object.keys(t),e=n.length,i=new Array(e);e--;)i[e]=[n[e],t[n[e]]];return i}),Object.is||Object.defineProperty(Object,"is",{value:function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}}),"classList"in SVGElement.prototype||Object.defineProperty(SVGElement.prototype,"classList",{get:function(){var t=this;return{contains:function(n){return-1!==t.className.baseVal.split(" ").indexOf(n)},add:function(n){var e=(t.getAttribute("class")+" "+n).trim();return t.setAttribute("class",e)},remove:function(n){var e=t.getAttribute("class")||"",i=new RegExp("(?:^|\\s)"+n+"(?!\\S)","g");e=e.replace(i,"").trim(),t.setAttribute("class",e)},toggle:function(t){this.contains(t)?this.remove(t):this.add(t)}}}});var et=e((function(t,n){t.exports=function(t){var n={};return(t=t||{}).prependOn=function(n,e){return t.on(n,e,!0)},t.eventNames=function(){return Object.keys(n)},t.on=function(e,i,r){for(var o=0,u=(e=[].concat(e)).length;o1?e-1:0),r=1;r1?e-1:0),r=1;r=t){e=n.end(i);break}return e-t}function vt(t,n){if(!n||!n.length)return 0;if(1===n.length&&n.end(0)-n.start(0)<1e-6)return 0;for(var e=0,i=n.length-1;i>=0&&n.end(i)>t;--i)e+=n.end(i)-Math.max(n.start(i),t);return e}function pt(){return void 0!==window.performance&&"function"==typeof window.performance.now?window.performance.now():Date.now()}function mt(t){return pt()-t}function bt(t){if("object"!==N(t))return"";var n=[];for(var e in t)t.hasOwnProperty(e)&&n.push(encodeURIComponent(e)+"="+encodeURIComponent(t[e]));return n.length?n.join("&"):""}function wt(t){return"string"!=typeof t?{}:t.replace("?","").split("&").reduce((function(t,n){if(n.length>0){var e=X(n.split("="),2),i=e[0],r=e[1];t[i]=decodeURIComponent(r)}return t}),{})}function gt(t){var n=document.createElement("a");return n.href=t,n}function yt(t,n){var e=bt(n),i=-1===t.indexOf("?")?"?":"&";return"".concat(t).concat(e?"".concat(i).concat(e):"")}function _t(t){var n=t.split("://");if(2!==n.length)return null;var e=n[1].split("/");if(e.length>1)return e[0];var i=n[1].split("?");if(i.length>1)return i[0];var r=n[1].split("#");return r.length>1?r[0]:n[1]}function kt(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function Et(t){return t}var Tt=Math.max;function xt(t,n,e){return n=Tt(void 0===n?t.length-1:n,0),function(){for(var i=arguments,r=-1,o=Tt(i.length-n,0),u=Array(o);++r0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}(Zt);function nn(t,n){return tn(xt(t,n,Et),t+"")}function en(t,n){return t===n||t!=t&&n!=n}function rn(t,n){for(var e=t.length;e--;)if(en(t[e][0],n))return e;return-1}var on=Array.prototype.splice;function un(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n-1},un.prototype.set=function(t,n){var e=this.Y,i=rn(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this};var an=Jt(Ot,"Map"),sn=Jt(Object,"create"),cn=Object.prototype.hasOwnProperty,ln=Object.prototype.hasOwnProperty;function fn(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n-1&&t%1==0&&t<=9007199254740991}function zn(t){return null!=t&&Vn(t.length)&&!Bt(t)}var Hn="object"==(void 0===t?"undefined":N(t))&&t&&!t.nodeType&&t,Wn=Hn&&"object"==("undefined"==typeof module?"undefined":N(module))&&module&&!module.nodeType&&module,qn=Wn&&Wn.exports===Hn?Ot.Buffer:void 0,Gn=(qn?qn.isBuffer:void 0)||function(){return!1},Yn=Function.prototype,$n=Object.prototype,Kn=Yn.toString,Jn=$n.hasOwnProperty,Xn=Kn.call(Object);function Zn(t){if(!Ln(t)||"[object Object]"!=Pt(t))return!1;var n=Mn(t);if(null===n)return!0;var e=Jn.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Kn.call(e)==Xn}var Qn={};function te(t){return function(n){return t(n)}}Qn["[object Float32Array]"]=Qn["[object Float64Array]"]=Qn["[object Int8Array]"]=Qn["[object Int16Array]"]=Qn["[object Int32Array]"]=Qn["[object Uint8Array]"]=Qn["[object Uint8ClampedArray]"]=Qn["[object Uint16Array]"]=Qn["[object Uint32Array]"]=!0,Qn["[object Arguments]"]=Qn["[object Array]"]=Qn["[object ArrayBuffer]"]=Qn["[object Boolean]"]=Qn["[object DataView]"]=Qn["[object Date]"]=Qn["[object Error]"]=Qn["[object Function]"]=Qn["[object Map]"]=Qn["[object Number]"]=Qn["[object Object]"]=Qn["[object RegExp]"]=Qn["[object Set]"]=Qn["[object String]"]=Qn["[object WeakMap]"]=!1;var ne="object"==(void 0===t?"undefined":N(t))&&t&&!t.nodeType&&t,ee=ne&&"object"==("undefined"==typeof module?"undefined":N(module))&&module&&!module.nodeType&&module,ie=ee&&ee.exports===ne&&Ct.process,re=function(){try{return ee&&ee.require&&ee.require("util").types||ie&&ie.binding&&ie.binding("util")}catch(t){}}(),oe=re&&re.isTypedArray,ue=oe?te(oe):function(t){return Ln(t)&&Vn(t.length)&&!!Qn[Pt(t)]};function ae(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var se=Object.prototype.hasOwnProperty;function ce(t,n,e){var i=t[n];se.call(t,n)&&en(i,e)&&(void 0!==e||n in t)||pn(t,n,e)}function le(t,n,e,i){var r=!e;e||(e={});for(var o=-1,u=n.length;++o-1&&t%1==0&&t1?e[r-1]:void 0,u=r>2?e[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,u&&function(t,n,e){if(!Ft(e))return!1;var i=N(n);return!!("number"==i?zn(e)&&de(n,e.length):"string"==i&&n in e)&&en(e[n],t)}(e[0],e[1],u)&&(o=r<3?void 0:o,r=1),n=Object(n);++i0&&void 0!==arguments[0]?arguments[0]:this.X;n.addEventListener(Ee.LOADED_METADATA,(function(n){t.fire(Ee.LOADED_METADATA,n)})),n.addEventListener("webkitplaybacktargetavailabilitychanged",(function(n){switch(n.availability){case"available":t.$||(t.$=!0,t.fire(xe.AIRPLAY_AVAILABLE));break;case"not-available":t.$&&(t.$=!1,t.fire(xe.AIRPLAY_UNAVAILABLE))}})),n.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",(function(n){if(n.target.webkitCurrentPlaybackTargetIsWireless)return t.K=!0,void t.fire(xe.AIRPLAY_ACTIVATED);t.K=!1,t.fire(xe.AIRPLAY_DEACTIVATED)}))},n.showPicker=function(){var t=this;this.X.webkitShowPlaybackTargetPicker(),this.loadMetadata().then((function(){return t.X.webkitShowPlaybackTargetPicker()})).catch((function(){}))},n.loadMetadata=function(){var t=this;return this.X.readyState>=1?r.resolve():new r((function(n,e){t.X.addEventListener(Ee.LOADED_METADATA,(function(){n()})),t.X.src=t.getFile().src}))},P(AirPlayExternalDisplay,[{key:"element",get:function(){return this.X},set:function(t){if(!(t instanceof HTMLVideoElement))throw new TypeError("The element for AirPlay must be a