/* VimeoPlayer - v3.20.11 - 2020-06-09 - 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 i(t,n){return t(n={exports:{}},n.exports),n.exports}var e=i((function(t,i){ /*! * @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 i=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},e=0,r=void 0,o=void 0,u=function(t,n){h[e]=t,h[e+1]=n,2===(e+=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>>0,e=arguments[1],r=0;r>>0,e=arguments[1],r=0;r>>0;if(0===e)return!1;var r=0|n,o=Math.max(r>=0?r:e-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]}))});var u,a,s,c,l={object:!0,symbol:!0},f=function(t){return null!=t},d=Object.keys,h=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}()?Object.keys:function(t){return d(f(t)?Object(t):t)},v=function(t){if(!f(t))throw new TypeError("Cannot use null or undefined");return t},p=Math.max,m=function(){var t,n=Object.assign;return"function"==typeof n&&(n(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}()?Object.assign:function(t,n){var i,e,r,o=p(arguments.length,2);for(t=Object(v(t)),r=function(e){try{t[e]=n[e]}catch(t){i||(i=t)}},e=1;e-1},x=i((function(t){(t.exports=function(t,n){var i,e,r,o,u;return arguments.length<2||"string"!=typeof t?(o=n,n=t,t=null):o=arguments[2],null==t?(i=r=!0,e=!1):(i=T.call(t,"c"),e=T.call(t,"e"),r=T.call(t,"w")),u={value:n,configurable:i,enumerable:e,writable:r},o?m(y(o),u):u}).gs=function(t,n,i){var e,r,o,u;return"string"!=typeof t?(o=i,i=n,n=t,t=null):o=arguments[3],null==n?n=void 0:_(n)?null==i?i=void 0:_(i)||(o=i,i=void 0):(o=n,n=i=void 0),null==t?(e=!0,r=!1):(e=T.call(t,"c"),r=T.call(t,"e")),u={get:n,set:i,configurable:e,enumerable:r},o?m(y(o),u):u}})),S=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},A=Object.create,M=Object.defineProperties,R=Object.defineProperty,C=Object.prototype,O=A(null);if("function"==typeof Symbol){u=Symbol;try{String(u()),c=!0}catch(t){}}var I=function(){var t=A(null);return function(n){for(var i,e,r=0;t[n+(r||"")];)++r;return t[n+=r||""]=!0,R(C,i="@@"+n,x.gs(null,(function(t){e||(e=!0,R(this,i,x(t)),e=!1)}))),i}}();s=function(t){if(this instanceof s)throw new TypeError("TypeError: Symbol is not a constructor");return a(t)};var j=a=function t(n){var i;if(this instanceof t)throw new TypeError("TypeError: Symbol is not a constructor");return c?u(n):(i=A(s.prototype),n=void 0===n?"":String(n),M(i,{F:x("",n),V:x("",I(n))}))};M(a,{for:x((function(t){return O[t]?O[t]:O[t]=a(String(t))})),keyFor:x((function(t){var n;for(n in S(t),O)if(O[n]===t)return n})),hasInstance:x("",u&&u.hasInstance||a("hasInstance")),isConcatSpreadable:x("",u&&u.isConcatSpreadable||a("isConcatSpreadable")),iterator:x("",u&&u.iterator||a("iterator")),match:x("",u&&u.match||a("match")),replace:x("",u&&u.replace||a("replace")),search:x("",u&&u.search||a("search")),species:x("",u&&u.species||a("species")),split:x("",u&&u.split||a("split")),toPrimitive:x("",u&&u.toPrimitive||a("toPrimitive")),toStringTag:x("",u&&u.toStringTag||a("toStringTag")),unscopables:x("",u&&u.unscopables||a("unscopables"))}),M(s.prototype,{constructor:x(a),toString:x("",(function(){return this.V}))}),M(a.prototype,{toString:x((function(){return"Symbol ("+S(this).F+")"})),valueOf:x((function(){return S(this)}))}),R(a.prototype,a.toPrimitive,x("",(function(){var t=S(this);return"symbol"==typeof t?t:t.toString()}))),R(a.prototype,a.toStringTag,x("c","Symbol")),R(s.prototype,a.toStringTag,x("c",a.prototype[a.toStringTag])),R(s.prototype,a.toPrimitive,x("c",a.prototype[a.toPrimitive]));var D=function(){var t;if("function"!=typeof Symbol)return!1;t=Symbol("test symbol");try{String(t)}catch(t){return!1}return!!l[typeof Symbol.iterator]&&!!l[typeof Symbol.toPrimitive]&&!!l[typeof Symbol.toStringTag]}()?Symbol:j,L=window.Map||function(){var t,n,i,e=function(){n=[],i=[]},r=function(i){return-1<(t=n.indexOf(i))};return e(),{get size(){return n.length},has:r,clear:e,get:function(t){return i[n.indexOf(t)]},keys:function(){return n.slice()},values:function(){return i.slice()},entries:function(){return n.map((function(t,n){return[t,i[n]]}))},delete:function(e){return r(e)&&n.splice(t,1)&&!!i.splice(t,1)},forEach:function(t,e){var r=this;i.forEach((function(i,o){return t.call(e,i,n[o],r)}))},set:function(e,o){return r(e)?i[t]=o:i[n.push(e)-1]=o,this}}},N=window.WeakMap||function(){var t=Object.defineProperty,n=Date.now()%1e9,i=function(){this.name="__st"+(1e9*Math.random()>>>0)+n+++"__"};return i.prototype.set=function(n,i){if("object"!==U(n)&&"function"!=typeof n)throw new TypeError("Invalid value used as weak map key");var e=n[this.name];return e&&e[0]===n?e[1]=i:t(n,this.name,{value:[n,i],writable:!0}),this},i.prototype.get=function(t){var n;return(n=t[this.name])&&n[0]===t?n[1]:void 0},i.prototype.delete=function(t){var n=t[this.name];return!(!n||n[0]!==t||(n[0]=n[1]=void 0,0))},i.prototype.has=function(t){var n=t[this.name];return!!n&&n[0]===t},i}(),P=window.Array.from,F=[1];"function"==typeof P&&P(F)===F&&(P=!1);var V=P||function(t){return[].slice.call(t,0)};function U(t){return(U="function"==typeof D&&"symbol"==typeof D.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof D&&t.constructor===D&&t!==D.prototype?"symbol":typeof t})(t)}function B(t,n){for(var i=0;i1?i-1:0),r=1;r1?i-1:0),r=1;r=t){i=n.end(e);break}return i-t}function dt(t,n){if(!n||!n.length)return 0;if(1===n.length&&n.end(0)-n.start(0)<1e-6)return 0;for(var i=0,e=n.length-1;e>=0&&n.end(e)>t;--e)i+=n.end(e)-Math.max(n.start(e),t);return i}function ht(t){return"string"!=typeof t?{}:t.replace("?","").split("&").reduce((function(t,n){if(n.length>0){var i=Q(n.split("="),2),e=i[0],r=i[1];t[e]=decodeURIComponent(r)}return t}),{})}function vt(t){var n=document.createElement("a");return n.href=t,n}function pt(t,n){var i=function(t){if("object"!==U(t))return"";var n=[];for(var i in t)t.hasOwnProperty(i)&&n.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return n.length?n.join("&"):""}(n);return"".concat(t).concat(i?"?".concat(i):"")}function mt(t,n,i){switch(i.length){case 0:return t.call(n);case 1:return t.call(n,i[0]);case 2:return t.call(n,i[0],i[1]);case 3:return t.call(n,i[0],i[1],i[2])}return t.apply(n,i)}function wt(t){return t}var bt=Math.max;function gt(t,n,i){return n=bt(void 0===n?t.length-1:n,0),function(){for(var e=arguments,r=-1,o=bt(e.length-n,0),u=Array(o);++r0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}(Gt);function Yt(t,n){return Kt(gt(t,n,wt),t+"")}function Jt(t,n){return t===n||t!=t&&n!=n}function Xt(t,n){for(var i=t.length;i--;)if(Jt(t[i][0],n))return i;return-1}var Zt=Array.prototype.splice;function Qt(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n-1},Qt.prototype.set=function(t,n){var i=this.$,e=Xt(i,t);return e<0?(++this.size,i.push([t,n])):i[e][1]=n,this};var tn=qt(Et,"Map"),nn=qt(Object,"create"),en=Object.prototype.hasOwnProperty,rn=Object.prototype.hasOwnProperty;function on(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n-1&&t%1==0&&t<=9007199254740991}function Nn(t){return null!=t&&Ln(t.length)&&!jt(t)}var Pn="object"==(void 0===t?"undefined":U(t))&&t&&!t.nodeType&&t,Fn=Pn&&"object"==("undefined"==typeof module?"undefined":U(module))&&module&&!module.nodeType&&module,Vn=Fn&&Fn.exports===Pn?Et.Buffer:void 0,Un=(Vn?Vn.isBuffer:void 0)||function(){return!1},Bn=Function.prototype,Hn=Object.prototype,zn=Bn.toString,qn=Hn.hasOwnProperty,Wn=zn.call(Object);function Gn(t){if(!Mn(t)||"[object Object]"!=Ot(t))return!1;var n=Tn(t);if(null===n)return!0;var i=qn.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i instanceof i&&zn.call(i)==Wn}var $n={};function Kn(t){return function(n){return t(n)}}$n["[object Float32Array]"]=$n["[object Float64Array]"]=$n["[object Int8Array]"]=$n["[object Int16Array]"]=$n["[object Int32Array]"]=$n["[object Uint8Array]"]=$n["[object Uint8ClampedArray]"]=$n["[object Uint16Array]"]=$n["[object Uint32Array]"]=!0,$n["[object Arguments]"]=$n["[object Array]"]=$n["[object ArrayBuffer]"]=$n["[object Boolean]"]=$n["[object DataView]"]=$n["[object Date]"]=$n["[object Error]"]=$n["[object Function]"]=$n["[object Map]"]=$n["[object Number]"]=$n["[object Object]"]=$n["[object RegExp]"]=$n["[object Set]"]=$n["[object String]"]=$n["[object WeakMap]"]=!1;var Yn="object"==(void 0===t?"undefined":U(t))&&t&&!t.nodeType&&t,Jn=Yn&&"object"==("undefined"==typeof module?"undefined":U(module))&&module&&!module.nodeType&&module,Xn=Jn&&Jn.exports===Yn&&_t.process,Zn=function(){try{return Jn&&Jn.require&&Jn.require("util").types||Xn&&Xn.binding&&Xn.binding("util")}catch(t){}}(),Qn=Zn&&Zn.isTypedArray,ti=Qn?Kn(Qn):function(t){return Mn(t)&&Ln(t.length)&&!!$n[Ot(t)]};function ni(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var ii=Object.prototype.hasOwnProperty;function ei(t,n,i){var e=t[n];ii.call(t,n)&&Jt(e,i)&&(void 0!==i||n in t)||cn(t,n,i)}function ri(t,n,i,e){var r=!i;i||(i={});for(var o=-1,u=n.length;++o-1&&t%1==0&&t1?i[r-1]:void 0,u=r>2?i[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,u&&function(t,n,i){if(!It(i))return!1;var e=U(n);return!!("number"==e?Nn(i)&&ui(n,i.length):"string"==e&&n in i)&&Jt(i[n],t)}(i[0],i[1],u)&&(o=r<3?void 0:o,r=1),n=Object(n);++e0&&void 0!==arguments[0]?arguments[0]:this.X;n.addEventListener(wi.LOADED_METADATA,(function(n){t.fire(wi.LOADED_METADATA,n)})),n.addEventListener("webkitplaybacktargetavailabilitychanged",(function(n){switch(n.availability){case"available":t.K||(t.K=!0,t.fire(gi.AIRPLAY_AVAILABLE));break;case"not-available":t.K&&(t.K=!1,t.fire(gi.AIRPLAY_UNAVAILABLE))}})),n.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",(function(n){if(n.target.webkitCurrentPlaybackTargetIsWireless)return t.Y=!0,void t.fire(gi.AIRPLAY_ACTIVATED);t.Y=!1,t.fire(gi.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,i){t.X.addEventListener(wi.LOADED_METADATA,(function(){n()})),t.X.src=t.getFile().src}))},H(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