vendor: 5,385 bytes, lines 1-2
1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{367:function(e,t,n){"use strict";(function(e,n){function r(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable})),t.push.apply(t,n)}return t}function o(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?r(Object(source),!0).forEach(function(t){y(e,t,source[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):r(Object(source)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))})}return e}function c(){c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,desc){e[t]=desc.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",f=o.asyncIterator||"@@asyncIterator",d=o.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function v(e,t,n,o){var c=t&&t.prototype instanceof w?t:w,l=Object.create(c.prototype),f=new F(o||[]);return r(l,"_invoke",{value:A(e,n,f)}),l}function y(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=v;var m={};function w(){}function k(){}function E(){}var x={};h(x,l,function(){return this});var T=Object.getPrototypeOf,P=T&&T(T(N([])));P&&P!==t&&n.call(P,l)&&(x=P);var j=E.prototype=w.prototype=Object.create(x);function _(e){["next","throw","return"].forEach(function(t){h(e,t,function(e){return this._invoke(t,e)})})}function O(e,t){function o(r,c,l,f){var d=y(e[r],e,c);if("throw"!==d.type){var h=d.arg,v=h.value;return v&&"object"==typeof v&&n.call(v,"__await")?t.resolve(v.__await).then(function(e){o("next",e,l,f)},function(e){o("throw",e,l,f)}):t.resolve(v).then(function(e){h.value=e,l(h)},function(e){return o("throw",e,l,f)})}f(d.arg)}var c;r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){o(e,n,t,r)})}return c=c?c.then(r,r):r()}})}function A(e,t,n){var r="suspendedStart";return function(o,c){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw c;return L()}for(n.method=o,n.arg=c;;){var l=n.delegate;if(l){var f=M(l,n);if(f){if(f===m)continue;return f}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var d=y(e,t,n);if("normal"===d.type){if(r=n.done?"completed":"suspendedYield",d.arg===m)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(r="completed",n.method="throw",n.arg=d.arg)}}}function M(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,M(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=y(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,m;var c=o.arg;return c?c.done?(t[e.resultName]=c.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,m):c:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function N(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function t(){for(;++i<e.length;)if(n.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:L}}function L(){return{value:void 0,done:!0}}return k.prototype=E,r(j,"constructor",{value:E,configurable:!0}),r(E,"constructor",{value:k,configurable:!0}),k.displayName=h(E,d,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,h(e,d,"GeneratorFunction")),e.prototype=Object.create(j),e},e.awrap=function(e){return{__await:e}},_(O.prototype),h(O.prototype,f,function(){return this}),e.AsyncIterator=O,e.async=function(t,n,r,o,c){void 0===c&&(c=Promise);var l=new O(v(t,n,r,o),c);return e.isGeneratorFunction(n)?l:l.next().then(function(e){return e.done?e.value:l.next()})},_(j),h(j,d,"Generator"),h(j,l,function(){return this}),h(j,"toString",function(){return"[object Generator]"}),e.keys=function(e){var object=Object(e),t=[];for(var n in object)t.push(n);return t.reverse(),function e(){for(;t.length;){var n=t.pop();if(n in object)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=N,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
vendor: 4,816 bytes, line 2
2h(C),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return c.type="throw",c.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),f=n.call(o,"finallyLoc");if(l&&f){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var i=this.tryEntries.length-1;i>=0;--i){var t=this.tryEntries[i];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),m}},catch:function(e){for(var i=this.tryEntries.length-1;i>=0;--i){var t=this.tryEntries[i];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var r=n.arg;C(t)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:N(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),m}},e}function l(e,t,n,r,o,c,l){try{var f=e[c](l),d=f.value}catch(e){return void n(e)}f.done?t(d):Promise.resolve(d).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var c=e.apply(t,n);function f(e){l(c,r,o,f,d,"next",e)}function d(e){l(c,r,o,f,d,"throw",e)}f(void 0)})}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,O(n.key),n)}}function v(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t,n){return(t=O(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function w(e,p){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,p){return e.__proto__=p,e},w(e,p)}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E(e,t,n){return E=k()?Reflect.construct.bind():function(e,t,n){var a=[null];a.push.apply(a,t);var r=new(Function.bind.apply(e,a));return n&&w(r,n.prototype),r},E.apply(null,arguments)}function x(e){var t="function"==typeof Map?new Map:void 0;return x=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return E(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),w(r,e)},x(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e){var t=k();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return T(e)}(this,n)}}function j(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,o,c,l=[],f=!0,d=!1;try{if(o=(t=t.call(e)).next,0===i){if(Object(t)!==t)return;f=!1}else for(;!(f=(n=o.call(t)).done)&&(l.push(n.value),l.length!==i);f=!0);}catch(e){d=!0,r=e}
2finally{try{if(!f&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(d)throw r}}return l}}(e,i)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,i)||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 _(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function O(e){var t=function(input,e){if("object"!=typeof input||null===input)return input;var t=input[Symbol.toPrimitive];if(void 0!==t){var n=t.call(input,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(input)}(e,"string");return"symbol"==typeof t?t:String(t)}var A=void 0!==e&&"[object global]"==={}.toString.call(e),M="undefined"!=typeof Bun,S="undefined"!=typeof Deno,C=A||M||S;function F(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function N(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function L(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function R(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.id,r=t.url,o=n||r;if(!o)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(e=o,!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e)return"https://vimeo.com/".concat(o);if(N(o))return o.replace("http:","https:");if(n)throw new TypeError("â".concat(n,"â is not a valid video id."));throw new TypeError("â".concat(o,"â is not a vimeo.com url."))}var I=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",c="string"==typeof t?[t]:t;return c.forEach(function(t){e[r](t,n)}),{cancel:function(){return c.forEach(function(t){return e[o](t,n)})}}};function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;for(var n=t.querySelectorAll("iframe"),i=0;i<n.length;i++)if(n[i]&&n[i].contentWindow===e)return n[i];return null}var D=void 0!==Array.prototype.indexOf,U="undefined"!=typeof window&&void 0!==window.postMessage;if(!(C||D&&U))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"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(object,e,t){n?Object.defineProperty(object,e,{configurable:!0,writable:!0,value:t}):object[e]=t};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap"+"_"+c()+"."+c()),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 c(){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 c=e[this._id];return c&&c[0]===e?(c[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:W);var z=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e){var t,r,o;o=function(){var e,t,r,o=Object.prototype.toString,c=void 0!==n?function(e){return n(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(t){e=function(e,t,n){return e[t]=n,e}}function l(e,n){r.add(e,n),t||(t=c(r.drain))}function f(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function d(){for(var i=0;i<this.chain.length;i++)h(this,1===this.state?this.chain[i].success:this.chain[i].failure,this.chain[i]);this.chain.length=0}function h(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=f(r))?o.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function v(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=f(e))?l(function(){var r=new w(n);try{t.call(e,function(){v.apply(r,arguments)},function(){y.apply(r,arguments)})}catch(e){y.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&l(d,n))}catch(e){y.call(new w(n),e)}}}function y(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&l(d,t))}function m(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 w(e){this.def=e,this.triggered=!1}function k(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function E(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 k(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&&l(d,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){v.call(t,e)},function(e){y.call(t,e)})}catch(e){y.call(t,e)}}r=function(){var e,n,r;function o(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,c){r=new o(t,c),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 x=e({},"constructor",E,!1);return E.prototype=x,e(x,"__NPO__",0,!1),e(E,"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(E,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),e(E,"all",function(e){var t=this;return"[object Array]"!=o.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,c=Array(o),l=0;m(t,e,function(e,t){c[e]=t,++l===o&&n(c)},r)})}),e(E,"race",function(e){var t=this;return"[object Array]"!=o.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");m(t,e,function(e,t){n(t)},r)})}),E},(r=W)[t="Promise"]=r[t]||o(),e.exports&&(e.exports=r[t])}),B=new WeakMap;function G(e,t,n){var r=B.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),B.set(e.element,r)}function Y(e,t){return(B.get(e.element)||{})[t]||[]}function H(e,t,n){var r=B.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],B.set(e.element,r),!0;var o=r[t].indexOf(n);return-1!==o&&r[t].splice(o,1),B.set(e.element,r),r[t]&&0===r[t].length}function Q(data){if("string"==typeof data)try{data=JSON.parse(data)}catch(e){return console.warn(e),{}}return data}function J(e,t,n){if(e.element.contentWindow&&e.element.contentWindow.postMessage){var r={method:t};void 0!==n&&(r.value=n);var 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 $(e,data){var param,t=[];if((data=Q(data)).event){if("error"===data.event)Y(e,data.data.method).forEach(function(t){var n=new Error(data.data.message);n.name=data.data.name,t.reject(n),H(e,data.data.method,t)});t=Y(e,"event:".concat(data.event)),param=data.data}else if(data.method){var n=function(e,t){var n=Y(e,t);if(n.length<1)return!1;var r=n.shift();return H(e,t,r),r}(e,data.method);n&&(t.push(n),param=data.value)}t.forEach(function(t){try{if("function"==typeof t)return void t.call(e,param);t.resolve(param)}catch(e){}})}var X=["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 Z(element){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return X.reduce(function(e,param){var t=element.getAttribute("data-vimeo-".concat(param));return(t||""===t)&&(e[param]=""===t?1:t),e},e)}function K(e,element){var html=e.html;if(!element)throw new TypeError("An element must be provided");if(null!==element.getAttribute("data-vimeo-initialized"))return element.querySelector("iframe");var div=document.createElement("div");return div.innerHTML=html,element.appendChild(div.firstChild),element.setAttribute("data-vimeo-initialized","true"),element.querySelector("iframe")}function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},element=arguments.length>2?arguments[2]:void 0;return new Promise(function(n,r){if(!N(e))throw new TypeError("â".concat(e,"â is not a vimeo.com url."));var o=function(e){for(var t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=0,o=[".videoji.hk",".vimeo.work",".videoji.cn"];r<o.length;r++){var c=o[r];if(n.endsWith(c))return n}return"vimeo.com"}(e),c="https://".concat(o,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var param in t)t.hasOwnProperty(param)&&(c+="&".concat(param,"=").concat(encodeURIComponent(t[param])));var l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",c,!0),l.onload=function(){if(404!==l.status)if(403!==l.status)try{var t=JSON.parse(l.responseText);if(403===t.domain_status_code)return K(t,element),void r(new Error("â".concat(e,"â is not embeddable.")));n(t)}catch(e){r(e)}else r(new Error("â".concat(e,"â is not embeddable.")));else r(new Error("â".concat(e,"â was not found.")))},l.onerror=function(){var e=l.status?" (".concat(l.status,")"):"";r(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},l.send()})}var te={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},ne=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}(h,e);var t,n,r,l=P(h);function h(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},v=arguments.length>3?arguments[3]:void 0;return d(this,h),y(T(n=l.call(this)),"logger",void 0),y(T(n),"speedAdjustment",0),y(T(n),"adjustSpeed",function(){var e=f(c().mark(function e(t,r){var o;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n.speedAdjustment!==r){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.getPlaybackRate();case 4:return e.t0=e.sent,e.t1=n.speedAdjustment,e.t2=e.t0-e.t1,e.t3=r,o=e.t2+e.t3,n.log("New playbackRate: ".concat(o)),e.next=12,t.setPlaybackRate(o);case 12:n.speedAdjustment=r;case 13:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()),n.logger=v,n.init(t,e,o(o({},te),r)),n}return v(h,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(r=f(c().mark(function e(t,n,r){var o,l,f,d=this;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitForTOReadyState(t,"open");case 2:if("viewer"!==r.role){e.next=10;break}return e.next=5,this.updatePlayer(t,n,r);case 5:o=I(t,"change",function(){return d.updatePlayer(t,n,r)}),l=this.maintainPlaybackPosition(t,n,r),this.addEventListener("disconnect",function(){l.cancel(),o.cancel()}),e.next=14;break;case 10:return e.next=12,this.updateTimingObject(t,n);case 12:f=I(n,["seeked","play","pause","ratechange"],function(){return d.updateTimingObject(t,n)},"on","off"),this.addEventListener("disconnect",function(){return f.cancel()});case 14:case"end":return e.stop()}},e,this)})),function(e,t,n){return r.apply(this,arguments)})},{key:"updateTimingObject",value:(n=f(c().mark(function e(t,n){var r,o,l,f,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.getCurrentTime(),n.getPaused(),n.getPlaybackRate()]);case 2:r=e.sent,o=j(r,3),l=o[0],f=o[1],d=o[2],t.update({position:l,velocity:f?0:d});case 8:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)})},{key:"updatePlayer",value:(t=f(c().mark(function e(t,n,r){var o,l,d;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.query(),l=o.position,d=o.velocity,"number"==typeof l&&n.setCurrentTime(l),"number"!=typeof d){e.next=25;break}if(0!==d){e.next=11;break}return e.next=6,n.getPaused();case 6:if(e.t0=e.sent,!1!==e.t0){e.next=9;break}n.pause();case 9:e.next=25;break;case 11:if(!(d>0)){e.next=25;break}return e.next=14,n.getPaused();case 14:if(e.t1=e.sent,!0!==e.t1){e.next=19;break}return e.next=18,n.play().catch(function(){var e=f(c().mark(function e(t){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("NotAllowedError"!==t.name||!r.autoPlayMuted){e.next=5;break}return e.next=3,n.setMuted(!0);case 3:return e.next=5,n.play().catch(function(e){return console.error("Couldn't play the video from TimingSrcConnector. Error:",e)});case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());case 18:this.updatePlayer(t,n,r);case 19:return e.next=21,n.getPlaybackRate();case 21:if(e.t2=e.sent,e.t3=d,e.t2===e.t3){e.next=25;break}n.setPlaybackRate(d);case 25:case"end":return e.stop()}},e,this)})),function(e,n,r){return t.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(e,t,n){var r=this,o=n.allowedDrift,l=n.maxAllowedDrift,d=n.minCheckInterval,h=n.maxRateAdjustment,v=n.maxTimeToCatchUp,y=1e3*Math.min(v,Math.max(d,l)),m=function(){var n=f(c().mark(function n(){var f,d,y,m,w;return c().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=0===e.query().velocity,n.t0){n.next=6;break}return n.next=4,t.getPaused();case 4:n.t1=n.sent,n.t0=!0===n.t1;case 6:if(!n.t0){n.next=8;break}return n.abrupt("return");case 8:return n.t2=e.query().position,n.next=11,t.getCurrentTime();case 11:if(n.t3=n.sent,f=n.t2-n.t3,d=Math.abs(f),r.log("Drift: ".concat(f)),!(d>l)){n.next=22;break}return n.next=18,r.adjustSpeed(t,0);case 18:t.setCurrentTime(e.query().position),r.log("Resync by currentTime"),n.next=29;break;case 22:if(!(d>o)){n.next=29;break}
2return w=(y=d/v)<(m=h)?(m-y)/2:m,n.next=28,r.adjustSpeed(t,w*Math.sign(f));case 28:r.log("Resync by playbackRate");case 29:case"end":return n.stop()}},n)}));return function(){return n.apply(this,arguments)}}(),w=setInterval(function(){return m()},y);return{cancel:function(){return clearInterval(w)}}}},{key:"log",value:function(e){var t;null===(t=this.logger)||void 0===t||t.call(this,"TimingSrcConnector: ".concat(e))}},{key:"waitForTOReadyState",value:function(e,t){return new Promise(function(n){!function r(){e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})}()})}}]),h}(x(EventTarget)),re=new WeakMap,oe=new WeakMap,ie={},ae=function(){function e(element){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(d(this,e),window.jQuery&&element instanceof jQuery&&(element.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),element=element[0]),"undefined"!=typeof document&&"string"==typeof element&&(element=document.getElementById(element)),!function(element){return Boolean(element&&1===element.nodeType&&"nodeName"in element&&element.ownerDocument&&element.ownerDocument.defaultView)}(element))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==element.nodeName){var iframe=element.querySelector("iframe");iframe&&(element=iframe)}if("IFRAME"===element.nodeName&&!N(element.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(re.has(element))return re.get(element);this._window=element.ownerDocument.defaultView,this.element=element,this.origin="*";var r=new z(function(e,r){if(t._onMessage=function(n){if(N(n.origin)&&t.element.contentWindow===n.source){"*"===t.origin&&(t.origin=n.origin);var data=Q(n.data);if(data&&"error"===data.event&&data.data&&"ready"===data.data.method){var o=new Error(data.data.message);return o.name=data.data.name,void r(o)}var c=data&&"ready"===data.event,l=data&&"ping"===data.method;if(c||l)return t.element.setAttribute("data-ready","true"),void e();$(t,data)}},t._window.addEventListener("message",t._onMessage),"IFRAME"!==t.element.nodeName){var o=Z(element,n);ee(R(o),o,element).then(function(data){var e,n,r,iframe=K(data,element);return t.element=iframe,t._originalElement=element,e=element,n=iframe,r=B.get(e),B.set(n,r),B.delete(e),re.set(t.element,t),data}).catch(r)}});if(oe.set(this,r),re.set(this.element,this),"IFRAME"===this.element.nodeName&&J(this,"ping"),ie.isEnabled){var o=function(){return ie.exit()};this.fullscreenchangeHandler=function(){ie.isFullscreen?G(t,"event:exitFullscreen",o):H(t,"event:exitFullscreen",o),t.ready().then(function(){J(t,"fullscreenchange",ie.isFullscreen)})},ie.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var t;return v(e,[{key:"callMethod",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(null==e)throw new TypeError("You must pass a method name.");return new z(function(n,o){return t.ready().then(function(){G(t,e,{resolve:n,reject:o}),0===r.length?r={}:1===r.length&&(r=r[0]),J(t,e,r)}).catch(o)})}},{key:"get",value:function(e){var t=this;return new z(function(n,r){return e=F(e,"get"),t.ready().then(function(){G(t,e,{resolve:n,reject:r}),J(t,e)}).catch(r)})}},{key:"set",value:function(e,t){var n=this;return new z(function(r,o){if(e=F(e,"set"),null==t)throw new TypeError("There must be a value to set.");return n.ready().then(function(){G(n,e,{resolve:r,reject:o}),J(n,e,t)}).catch(o)})}},{key:"on",value:function(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===Y(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),G(this,"event:".concat(e),t)}},{key:"off",value:function(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.");H(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=oe.get(this)||new z(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return z.resolve(e)}},{key:"addCuePoint",value:function(time){var data=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:time,data:data})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e){var 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})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"selectAudioTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}},{key:"selectDefaultAudioTrack",value:function(){return this.callMethod("selectDefaultAudioTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}}
2,{key:"requestFullscreen",value:function(){return ie.isEnabled?ie.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return ie.isEnabled?ie.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return ie.isEnabled?z.resolve(ie.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new z(function(t){if(oe.delete(e),re.delete(e.element),e._originalElement&&(re.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var iframe=e.element.querySelector("iframe");iframe&&iframe.parentNode&&(iframe.parentNode.parentNode&&e._originalElement&&e._originalElement!==iframe.parentNode?iframe.parentNode.parentNode.removeChild(iframe.parentNode):iframe.parentNode.removeChild(iframe))}e._window.removeEventListener("message",e._onMessage),ie.isEnabled&&ie.off("fullscreenchange",e.fullscreenchangeHandler),t()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return z.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new z(function(e,t){return t(new TypeError("Argument must be an array."))});var t=new z(function(e){return 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 z.all(n)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getAudioTracks",value:function(){return this.get("audioTracks")}},{key:"getEnabledAudioTrack",value:function(){return this.get("enabledAudioTrack")}},{key:"getDefaultAudioTrack",value:function(){return this.get("defaultAudioTrack")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:(t=f(c().mark(function e(t,n){var r,o=this;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return e.next=4,this.ready();case 4:return r=new ne(this,t,n),J(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",function(){return J(o,"notifyTimingObjectDisconnect")}),e.abrupt("return",r);case 8:case"end":return e.stop()}},e,this)})),function(e,n){return t.apply(this,arguments)})}],[{key:"isVimeoUrl",value:function(e){return N(e)}}]),e}();C||(ie=function(){var e=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
2webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,n=t.length,r={};i<n;i++)if((e=t[i])&&e[1]in document){for(i=0;i<e.length;i++)r[t[0][i]]=e[i];return r}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request:function(element){return new Promise(function(t,r){var o=function e(){n.off("fullscreenchange",e),t()};n.on("fullscreenchange",o);var c=(element=element||document.documentElement)[e.requestFullscreen]();c instanceof Promise&&c.then(o).catch(r)})},exit:function(){return new Promise(function(t,r){if(n.isFullscreen){var o=function e(){n.off("fullscreenchange",e),t()};n.on("fullscreenchange",o);var c=document[e.exitFullscreen]();c instanceof Promise&&c.then(o).catch(r)}else t()})},on:function(e,n){var r=t[e];r&&document.addEventListener(r,n)},off:function(e,n){var r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return Boolean(document[e.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[e.fullscreenEnabled])}}}),n}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach(function(element){try{if(null!==element.getAttribute("data-vimeo-defer"))return;var e=Z(element);ee(R(e),e,element).then(function(data){return K(data,element)}).catch(n)}catch(e){n(e)}})}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(N(t.origin)&&t.data&&"spacechange"===t.data.event){var n=t.source?V(t.source,e):null;n&&(n.parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px"))}}))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(N(t.origin)){var data=Q(t.data);if(data&&"ready"===data.event){var n=t.source?V(t.source,e):null;n&&L(n.src)&&new ae(n).callMethod("appendVideoMetadata",window.location.href)}}}))}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
2=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",function(n){if(N(n.origin)){var data=Q(n.data);if(data&&"ready"===data.event){var r=n.source?V(n.source,e):null;if(r&&L(r.src)){var o=new ae(r);o.getVideoId().then(function(e){var t=new RegExp("[?&]vimeo_t_".concat(e,"=([^&#]*)")).exec(window.location.href);if(t&&t[1]){var n=decodeURI(t[1]);o.setCurrentTime(n)}}).catch(t)}}}})}}(),window.VimeoDRMEmbedsUpdated||(window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",function(e){if(N(e.origin)){var data=Q(e.data);if(data&&"drminitfailed"===data.event){var t=e.source?V(e.source):null;if(t){var n=t.getAttribute("allow")||"";if(!n.includes("encrypted-media")){t.setAttribute("allow","".concat(n,"; encrypted-media"));var r=new URL(t.getAttribute("src"));return r.searchParams.set("forcereload","drm"),void t.setAttribute("src",r.toString())}}}}}))),t.a=ae}).call(this,n(32),n(232).setImmediate)}}]);
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.