1(globalThis["webpackChunkgk_jss_app"]=globalThis["webpackChunkgk_jss_app"]||[]).push([[7889],{6147:e=>{function t(e,t){for(var n in t)e.setAttribute(n,t[n])}function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,o,i){var a=document.head||document.getElementsByTagName("head")[0],u=document.createElement("script");"function"===typeof o&&(i=o,o={}),o=o||{},i=i||function(){},u.type=o.type||"text/javascript",u.charset=o.charset||"utf8",u.async=!("async"in o)||!!o.async,u.src=e,o.attrs&&t(u,o.attrs),o.text&&(u.text=""+o.text);var c="onload"in u?n:r;c(u,i),u.onload||n(u,i),a.appendChild(u)}},8492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>De});var r=n(20641),o=n(50953),i=n(53751),a=n(94626),u=n(50258),c=n(23517),l=n.n(c); 2/*! @vimeo/player v2.30.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */ 3function s(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(s){l=!0,o=s}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){h=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(A){c=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),u=new _(o||[]);return r(a,"_invoke",{value:E(e,n,u)}),a}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=l;var f={};function d(){}function v(){}function p(){}var y={};c(y,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(j([])));g&&g!==t&&n.call(g,i)&&(y=g);var w=p.prototype=d.prototype=Object.create(y);function b(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function o(r,i,a,u){var c=s(e[r],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function E(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=P(a,n);if(u){if(u===f)continue;return u}}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 c=s(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function P(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&
vendor: 5,403 bytes, line 3
3(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=s(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function j(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:O}}function O(){return{value:void 0,done:!0}}return v.prototype=p,r(w,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:v,configurable:!0}),v.displayName=c(p,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},b(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(w),c(w,u,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=j,_.prototype={constructor:_,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.forEach(T),!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 a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},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),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function v(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void n(l)}u.done?t(c):Promise.resolve(c).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){v(i,r,o,a,u,"next",e)}function u(e){v(i,r,o,a,u,"throw",e)}a(void 0)}))}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,F(r.key),r)}}function g(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e,t,n){return t=F(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(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&&E(e,t)}
3function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function P(){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 x(e,t,n){return x=P()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r),i=new o;return n&&E(i,n.prototype),i},x.apply(null,arguments)}function T(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _(e){var t="function"===typeof Map?new Map:void 0;return _=function(e){if(null===e||!T(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return x(e,arguments,k(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),E(n,e)},_(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(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 j(e)}function A(e){var t=P();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function S(e,t){return C(e)||s(e,t)||M(e,t)||R()}function C(e){if(Array.isArray(e))return e}function M(e,t){if(e){if("string"===typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(){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 N(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function F(e){var t=N(e,"string");return"symbol"===typeof t?t:String(t)}var I="undefined"!==typeof globalThis&&"[object global]"==={}.toString.call(globalThis),V="undefined"!==typeof Bun,D="undefined"!==typeof Deno,q=I||V||D;function U(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function Y(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function W(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function z(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function B(e){var t=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return t.test(e)}function Q(e){for(var t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"],o=0,i=r;o<i.length;o++){var a=i[o];if(n.endsWith(a))return n}return"vimeo.com"}function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},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(W(r))return"https://vimeo.com/".concat(r);if(z(r))return r.replace("http:","https:");if(t)throw new TypeError("â".concat(t,"â is not a valid video id."));throw new TypeError("â".concat(r,"â is not a vimeo.com url."))}var X=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",i="string"===typeof t?[t]:t;
3return i.forEach((function(t){e[r](t,n)})),{cancel:function(){return i.forEach((function(t){return e[o](t,n)}))}}};function H(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"),r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===e)return n[r];return null}var $="undefined"!==typeof Array.prototype.indexOf,J="undefined"!==typeof window&&"undefined"!==typeof window.postMessage;if(!q&&(!$||!J))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var K="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};function Z(e,t){return t={exports:{}},e(t,t.exports),t.exports 4/*! 5 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill 6 * https://github.com/polygonplanet/weakmap-polyfill 7 * Copyright (c) 2015-2021 polygonplanet <[email protected]> 8 * @license MIT 9 */}(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",i("_WeakMap")),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(e){return e+"_"+a()+"."+a()}function a(){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:K);var ee=Z((function(e){ 10/*! Native Promise Only 11 v0.8.1 (c) Kyle Simpson 12 MIT License: http://getify.mit-license.org 13*/ 14(function(t,n,r){n[t]=n[t]||r(),e.exports&&(e.exports=n[t])})("Promise",K,(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(y){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 u(){for(var e=0;e<this.chain.length;e++)c(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function c(e,t,n){var r,o;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg),r===n.promise?n.reject(TypeError("Promise-chain cycle")):(o=a(r))?o.call(r,n.resolve,n.reject):n.resolve(r))}catch(y){n.reject(y)}}function l(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 d(n);try{t.call(e,(function(){l.apply(r,arguments)}),(function(){s.apply(r,arguments)}))}catch(y){s.call(r,y)}})):(n.msg=e,n.state=1,n.chain.length>0&&i(u,n))}catch(y){s.call(new d(n),y)}}}function s(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(u,t))}function f(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 d(e){this.def=e,this.triggered=!1}function h(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function v(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 h(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}
14)),t.chain.push(r),0!==t.state&&i(u,t),r.promise},this["catch"]=function(e){return this.then(void 0,e)};try{e.call(void 0,(function(e){l.call(t,e)}),(function(e){s.call(t,e)}))}catch(y){s.call(t,y)}}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;e=n=t=void 0;while(r)r.fn.call(r.self),r=r.next}}}();var p=e({},"constructor",v,!1);return v.prototype=p,e(p,"__NPO__",0,!1),e(v,"resolve",(function(e){var t=this;return e&&"object"==typeof e&&1===e.__NPO__?e:new t((function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)}))})),e(v,"reject",(function(e){return new this((function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)}))})),e(v,"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;f(t,e,(function(e,t){i[e]=t,++a===o&&n(i)}),r)}))})),e(v,"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");f(t,e,(function(e,t){n(t)}),r)}))})),v}))})),te=new WeakMap;function ne(e,t,n){var r=te.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),te.set(e.element,r)}function re(e,t){var n=te.get(e.element)||{};return n[t]||[]}function oe(e,t,n){var r=te.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],te.set(e.element,r),!0;var o=r[t].indexOf(n);return-1!==o&&r[t].splice(o,1),te.set(e.element,r),r[t]&&0===r[t].length}function ie(e,t){var n=re(e,t);if(n.length<1)return!1;var r=n.shift();return oe(e,t,r),r}function ae(e,t){var n=te.get(e);te.set(t,n),te.delete(e)}function ue(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){return console.warn(t),{}}return e}function ce(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 le(e,t){t=ue(t);var n,r=[];if(t.event){if("error"===t.event){var o=re(e,t.data.method);o.forEach((function(n){var r=new Error(t.data.message);r.name=t.data.name,n.reject(r),oe(e,t.data.method,n)}))}r=re(e,"event:".concat(t.event)),n=t.data}else if(t.method){var i=ie(e,t.method);i&&(r.push(i),n=t.value)}r.forEach((function(t){try{if("function"===typeof t)return void t.call(e,n);t.resolve(n)}catch(r){}}))}var se=["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 fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return se.reduce((function(t,n){var r=e.getAttribute("data-vimeo-".concat(n));return(r||""===r)&&(t[n]=""===r?1:r),t}),t)}function de(e,t){var n=e.html;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((function(r,o){if(!z(e))throw new TypeError("â".concat(e,"â is not a vimeo.com url."));var i=Q(e),a="https://".concat(i,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var u in t)t.hasOwnProperty(u)&&(a+="&".concat(u,"=").concat(encodeURIComponent(t[u])));var c="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;c.open("GET",a,!0),c.onload=function(){if(404!==c.status)if(403!==c.status)try{var t=JSON.parse(c.responseText);if(403===t.domain_status_code)return de(t,n),void o(new Error("â".concat(e,"â is not embeddable.")));r(t)}catch(i){o(i)}else o(new Error("â".concat(e,"â is not embeddable.")));else o(new Error("â".concat(e,"â was not found.")))},c.onerror=function(){var e=c.status?" (".concat(c.status,")"):"";o(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},c.send()}))}function ve(){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(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=fe(e),r=G(t);he(r,t,e).then((function(t){return de(t,e)}
14)).catch(n)}catch(o){n(o)}}))}function pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var t=function(t){if(z(t.origin)&&t.data&&"spacechange"===t.data.event){var n=t.source?H(t.source,e):null;if(n){var r=n.parentElement;r.style.paddingBottom="".concat(t.data.data[0].bottom,"px")}}};window.addEventListener("message",t)}}function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var t=function(t){if(z(t.origin)){var n=ue(t.data);if(n&&"ready"===n.event){var r=t.source?H(t.source,e):null;if(r&&B(r.src)){var o=new Te(r);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",t)}}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))},n=function(n){if(z(n.origin)){var r=ue(n.data);if(r&&"ready"===r.event){var o=n.source?H(n.source,e):null;if(o&&B(o.src)){var i=new Te(o);i.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]);i.setCurrentTime(n)}})).catch(t)}}}};window.addEventListener("message",n)}}function ge(){if(!window.VimeoDRMEmbedsUpdated){window.VimeoDRMEmbedsUpdated=!0;var e=function(e){if(z(e.origin)){var t=ue(e.data);if(t&&"drminitfailed"===t.event){var n=e.source?H(e.source):null;if(n){var r=n.getAttribute("allow")||"",o=r.includes("encrypted-media");if(!o){n.setAttribute("allow","".concat(r,"; encrypted-media"));var i=new URL(n.getAttribute("src"));return i.searchParams.set("forcereload","drm"),void n.setAttribute("src",i.toString())}}}}};window.addEventListener("message",e)}}function we(){var e=function(){for(var e,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"]],n=0,r=t.length,o={};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:function(t){return new Promise((function(r,o){var i=function e(){n.off("fullscreenchange",e),r()};n.on("fullscreenchange",i),t=t||document.documentElement;var a=t[e.requestFullscreen]();a instanceof Promise&&a.then(i).catch(o)}))},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 i=document[e.exitFullscreen]();i instanceof Promise&&i.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}var be={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},ke=function(e){b(n,e);var t=A(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;return y(this,n),o=t.call(this),w(j(o),"logger",void 0),w(j(o),"speedAdjustment",0),w(j(o),"adjustSpeed",function(){var e=p(h().mark((function e(t,n){var r;return h().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o.speedAdjustment!==n){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=o.speedAdjustment,e.t2=e.t0-e.t1,e.t3=n,r=e.t2+e.t3,o.log("New playbackRate: ".concat(r)),e.next=12,t.setPlaybackRate(r);case 12:o.speedAdjustment=n;case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),o.logger=a,o.init(r,e,d(d({},be),i)),o}return g(n,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var e=p(h().mark((function e(t,n,r){var o,i,a,u=this;return h().wrap((function(e){while(1)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=X(t,"change",(function(){return u.updatePlayer(t,n,r)})),i=this.maintainPlaybackPosition(t,n,r),this.addEventListener("disconnect",(function(){i.cancel(),o.cancel()})),e.next=14;break;case 10:return e.next=12,this.updateTimingObject(t,n);case 12:a=X(n,["seeked","play","pause","ratechange"],(function(){return u.updateTimingObject(t,n)}),"on","off"),this.addEventListener("disconnect",(function(){return a.cancel()}));case 14:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"updateTimingObject",value:function(){var e=p(h().mark((function e(t,n){var r,o,i,a,u;return h().wrap((function(e){while(1)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=S(r,3),i=o[0],a=o[1],u=o[2],t.update({position:i,velocity:a?0:u});case 8:case"end":return e.stop()}}),e)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"updatePlayer",value:function(){var e=p(h().mark((function e(t,n,r){var o,i,a;return h().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=t.query(),i=o.position,a=o.velocity,"number"===typeof i&&n.setCurrentTime(i),"number"!==typeof a){e.next=25;break}if(0!==a){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(!(a>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=p(h().mark((function e(t){return h().wrap((function(e){while(1)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=a,e.t2===e.t3){e.next=25;break}n.setPlaybackRate(a);case 25:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"maintainPlaybackPosition",value:function(e,t,n){var r=this,o=n.allowedDrift,i=n.maxAllowedDrift,a=n.minCheckInterval,u=n.maxRateAdjustment,c=n.maxTimeToCatchUp,l=1e3*Math.min(c,Math.max(a,i)),s=function(){var n=p(h().mark((function n(){var a,l,s,f,d;return h().wrap((function(n){while(1)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,a=n.t2-n.t3,l=Math.abs(a),r.log("Drift: ".concat(a)),!(l>i)){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(!(l>o)){n.next=29;break}return s=l/c,f=u,d=s<f?(f-s)/2:f,n.next=28,r.adjustSpeed(t,d*Math.sign(a));case 28:r.log("Resync by playbackRate");case 29:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),f=setInterval((function(){return s()}),l);return{cancel:function(){return clearInterval(f)}}}},{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){var r=function r(){e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})};r()}))}}]),n}(_(EventTarget)),Ee=new WeakMap,Pe=new WeakMap,xe={},Te=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(y(this,e),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),"undefined"!==typeof document&&"string"===typeof t&&(t=document.getElementById(t)),!Y(t))throw new TypeError("You must pass either a valid element or a valid id.");
14if("IFRAME"!==t.nodeName){var o=t.querySelector("iframe");o&&(t=o)}if("IFRAME"===t.nodeName&&!z(t.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(Ee.has(t))return Ee.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var i=new ee((function(e,o){if(n._onMessage=function(t){if(z(t.origin)&&n.element.contentWindow===t.source){"*"===n.origin&&(n.origin=t.origin);var r=ue(t.data),i=r&&"error"===r.event,a=i&&r.data&&"ready"===r.data.method;if(a){var u=new Error(r.data.message);return u.name=r.data.name,void o(u)}var c=r&&"ready"===r.event,l=r&&"ping"===r.method;if(c||l)return n.element.setAttribute("data-ready","true"),void e();le(n,r)}},n._window.addEventListener("message",n._onMessage),"IFRAME"!==n.element.nodeName){var i=fe(t,r),a=G(i);he(a,i,t).then((function(e){var r=de(e,t);return n.element=r,n._originalElement=t,ae(t,r),Ee.set(n.element,n),e})).catch(o)}}));if(Pe.set(this,i),Ee.set(this.element,this),"IFRAME"===this.element.nodeName&&ce(this,"ping"),xe.isEnabled){var a=function(){return xe.exit()};this.fullscreenchangeHandler=function(){xe.isFullscreen?ne(n,"event:exitFullscreen",a):oe(n,"event:exitFullscreen",a),n.ready().then((function(){ce(n,"fullscreenchange",xe.isFullscreen)}))},xe.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return g(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(void 0===e||null===e)throw new TypeError("You must pass a method name.");return new ee((function(n,o){return t.ready().then((function(){ne(t,e,{resolve:n,reject:o}),0===r.length?r={}:1===r.length&&(r=r[0]),ce(t,e,r)})).catch(o)}))}},{key:"get",value:function(e){var t=this;return new ee((function(n,r){return e=U(e,"get"),t.ready().then((function(){ne(t,e,{resolve:n,reject:r}),ce(t,e)})).catch(r)}))}},{key:"set",value:function(e,t){var n=this;return new ee((function(r,o){if(e=U(e,"set"),void 0===t||null===t)throw new TypeError("There must be a value to set.");return n.ready().then((function(){ne(n,e,{resolve:r,reject:o}),ce(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.");var n=re(this,"event:".concat(e));0===n.length&&this.callMethod("addEventListener",e).catch((function(){})),ne(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.");var n=oe(this,"event:".concat(e),t);n&&this.callMethod("removeEventListener",e).catch((function(e){}))}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=Pe.get(this)||new ee((function(e,t){t(new Error("Unknown player. Probably unloaded."))}));return ee.resolve(e)}},{key:"addCuePoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{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")}},{key:"requestFullscreen",value:function(){return xe.isEnabled?xe.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return xe.isEnabled?xe.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return xe.isEnabled?ee.resolve(xe.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 ee((function(t){if(Pe.delete(e),Ee.delete(e.element),e._originalElement&&(Ee.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 n=e.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&e._originalElement&&e._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}e._window.removeEventListener("message",e._onMessage),xe.isEnabled&&xe.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 ee.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 ee((function(e,t){return t(new TypeError("Argument must be an array."))}));var t=new ee((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 ee.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)}
14},{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:function(){var e=p(h().mark((function e(t,n){var r,o=this;return h().wrap((function(e){while(1)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 ke(this,t,n),ce(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",(function(){return ce(o,"notifyTimingObjectDisconnect")})),e.abrupt("return",r);case 8:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()}],[{key:"isVimeoUrl",value:function(e){return z(e)}}]),e}();q||(xe=we(),ve(),pe(),ye(),me(),ge());const _e=Te;var je=n(34317);const Oe={class:"video-external"},Ae={class:"container"},Se={class:"row"},Ce={class:"col-lg-8 offset-lg-2"},Me={class:"video-external__wrapper"},Le=["aria-hidden"],Re={key:0,class:"video-external__cover"},Ne=["aria-label"],Fe={key:0,class:"video-external__description"},Ie=(0,r.pM)({__name:"VideoExternal",props:{fields:{default:()=>({})},rendering:{},params:{default:()=>({})}},setup(e){const t={vimeo:"vimeo",youtube:"youtube"},{t:n}=(0,u.s9)(),c=(0,o.KR)(!0),s=(0,o.KR)(!0),f=(0,r.rk)("playerRef"),d={value:null},h=e,v=(0,r.EW)((()=>(h.fields.videoType?.value??"").toLowerCase())),p=()=>{s.value=!1,d.value&&(v.value===t.youtube?d.value.playVideo():d.value.play())},y=()=>{f.value&&h.fields.videoId?.value&&(d.value=new _e(f.value,{id:h.fields.videoId.value,responsive:!0}))},m=()=>{f.value&&h.fields.videoId?.value&&(d.value=l()(f.value,{videoId:h.fields.videoId.value}))};return(0,r.sV)((()=>{h.fields.videoId?.value?v.value===t.youtube?m():v.value===t.vimeo?y():c.value=!1:c.value=!1})),(t,u)=>((0,r.uX)(),(0,r.CE)("section",Oe,[(0,r.Lk)("div",Ae,[(0,r.Lk)("div",Se,[(0,r.Lk)("div",Ce,[(0,r.Lk)("div",Me,[(0,r.Lk)("div",{"aria-hidden":s.value,class:"video-external__video"},[(0,r.Lk)("div",{ref_key:"playerRef",ref:f,class:"video-external__player"}
14,null,512)],8,Le),s.value?((0,r.uX)(),(0,r.CE)("div",Re,[e.fields.videoPoster?.value?.src?((0,r.uX)(),(0,r.Wv)(je.A,{key:0,class:"video-external__img","desktop-url":e.fields.videoPoster.value.src,"desktop-alt":e.fields.videoPoster.value.alt,"custom-params":{desktop:1024,tablet:1024,mobile:715},"lazy-loading":"lazy"},null,8,["desktop-url","desktop-alt"])):(0,r.Q3)("",!0),c.value?((0,r.uX)(),(0,r.CE)("button",{key:1,class:"video-external__play","aria-label":(0,o.R1)(n)("play-video"),onClick:(0,i.D$)(p,["prevent"])},[...u[0]||(u[0]=[(0,r.Lk)("i",{class:"icon icon-Play","aria-hidden":"true"},null,-1)])],8,Ne)):(0,r.Q3)("",!0)])):(0,r.Q3)("",!0)]),e.fields.description?.value?((0,r.uX)(),(0,r.CE)("p",Fe,[(0,r.bF)((0,o.R1)(a.E),{field:e.fields.description},null,8,["field"])])):(0,r.Q3)("",!0)])])])]))}}),Ve=Ie,De=Ve},23517:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(44666),o=l(r),i=n(49325),a=l(i),u=n(46694),c=l(u);function l(e){return e&&e.__esModule?e:{default:e}}let s;t["default"]=(e,t={},n=!1)=>{const r=(0,o.default)();if(s||(s=(0,c.default)(r)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"===typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=a.default.proxyEvents(r);const i=new Promise((n=>{if("object"===typeof e&&e.playVideo instanceof Function){const t=e;n(t)}else s.then((o=>{const i=new o.Player(e,t);return r.on("ready",(()=>{n(i)})),null}))})),u=a.default.promisifyPlayer(i,n);return u.on=r.on,u.off=r.off,u},e.exports=t["default"]},41769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t["default"]},44666:e=>{"use strict";var t; 15/** 16* @link https://github.com/gajus/sister for the canonical source repository 17* @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause 18*/t=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,o=t[e];if(o){r=o.length;while(r--)o[r].handler(n)}},e},e.exports=t},44748:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63004),o=i(r);function i(e){return e&&e.__esModule?e:{default:e}}t["default"]={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t["default"]},46694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6147),o=i(r);function i(e){return e&&e.__esModule?e:{default:e}}t["default"]=e=>{const t=new Promise((t=>{if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void t(window.YT);{const t="http:"===window.location.protocol?"http:":"https:";(0,o.default)(t+"//www.youtube.com/iframe_api",(t=>{t&&e.trigger("error",t)}))}const n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{n&&n(),t(window.YT)}}));return t},e.exports=t["default"]},49325:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17833),o=f(r),i=n(44748),a=f(i),u=n(41769),c=f(u),l=n(99345),s=f(l);function f(e){return e&&e.__esModule?e:{default:e}}const d=(0,o.default)("youtube-player"),h={proxyEvents:e=>{const t={};for(const n of c.default){const r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=t=>{d('event "%s"',r,t),e.trigger(n,t)}}return t},promisifyPlayer:(e,t=!1)=>{const n={};for(const r of s.default)t&&a.default[r]?n[r]=(...t)=>e.then((e=>{const n=a.default[r],o=e.getPlayerState(),i=e[r].apply(e,t);return n.stateChangeRequired||Array.isArray(n.acceptableStates)&&!n.acceptableStates.includes(o)?new Promise((t=>{const r=()=>{const o=e.getPlayerState();let i;"number"===typeof n.timeout&&(i=setTimeout((()=>{e.removeEventListener("onStateChange",r),t()}),n.timeout)),Array.isArray(n.acceptableStates)&&n.acceptableStates.includes(o)&&(e.removeEventListener("onStateChange",r),clearTimeout(i),t())};e.addEventListener("onStateChange",r)})).then((()=>i)):i})):n[r]=(...t)=>e.then((e=>e[r].apply(e,t)));return n}};t["default"]=h,e.exports=t["default"]},63004:(e,t)=>
18{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t["default"]},99345:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe","getSphericalProperties","setSphericalProperties"],e.exports=t["default"]}}]); 19//# sourceMappingURL=VideoExternal.e710bc89.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.