vendor: 1,172 bytes, line 1
1var tt=Object.defineProperty;var Re=r=>{throw TypeError(r)};var rt=(r,t,e)=>t in r?tt(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var fe=(r,t,e)=>rt(r,typeof t!="symbol"?t+"":t,e),Me=(r,t,e)=>t.has(r)||Re("Cannot "+e);var _=(r,t,e)=>(Me(r,t,"read from private field"),e?e.call(r):t.get(r)),j=(r,t,e)=>t.has(r)?Re("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,e),P=(r,t,e,n)=>(Me(r,t,"write to private field"),n?n.call(r,e):t.set(r,e),e),je=(r,t,e)=>(Me(r,t,"access private method"),e);import{R as nt}from"./index-CemBVJmb.js";/*! @vimeo/player v2.29.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Le(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),e.push.apply(e,n)}return e}function Ie(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?Le(Object(e),!0).forEach(function(n){ge(r,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):Le(Object(e)).forEac
vendor: 6,031 bytes, line 1
1h(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(e,n))})}return r}function I(){I=function(){return r};var r={},t=Object.prototype,e=t.hasOwnProperty,n=Object.defineProperty||function(c,l,d){c[l]=d.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function h(c,l,d){return Object.defineProperty(c,l,{value:d,enumerable:!0,configurable:!0,writable:!0}),c[l]}try{h({},"")}catch{h=function(l,d,S){return l[d]=S}}function o(c,l,d,S){var w=l&&l.prototype instanceof M?l:M,O=Object.create(w.prototype),R=new D(S||[]);return n(O,"_invoke",{value:v(c,d,R)}),O}function k(c,l,d){try{return{type:"normal",arg:c.call(l,d)}}catch(S){return{type:"throw",arg:S}}}r.wrap=o;var E={};function M(){}function T(){}function g(){}var N={};h(N,a,function(){return this});var A=Object.getPrototypeOf,L=A&&A(A(W([])));L&&L!==t&&e.call(L,a)&&(N=L);var m=g.prototype=M.prototype=Object.create(N);function p(c){["next","throw","return"].forEach(function(l){h(c,l,function(d){return this._invoke(l,d)})})}function f(c,l){function d(w,O,R,V){var $=k(c[w],c,O);if($.type!=="throw"){var ne=$.arg,ce=ne.value;return ce&&typeof ce=="object"&&e.call(ce,"__await")?l.resolve(ce.__await).then(function(Y){d("next",Y,R,V)},function(Y){d("throw",Y,R,V)}):l.resolve(ce).then(function(Y){ne.value=Y,R(ne)},function(Y){return d("throw",Y,R,V)})}V($.arg)}var S;n(this,"_invoke",{value:function(w,O){function R(){return new l(function(V,$){d(w,O,V,$)})}return S=S?S.then(R,R):R()}})}function v(c,l,d){var S="suspendedStart";return function(w,O){if(S==="executing")throw new Error("Generator is already running");if(S==="completed"){if(w==="throw")throw O;return Te()}for(d.method=w,d.arg=O;;){var R=d.delegate;if(R){var V=b(R,d);if(V){if(V===E)continue;return V}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(S==="suspendedStart")throw S="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);S="executing";var $=k(c,l,d);if($.type==="normal"){if(S=d.done?"completed":"suspendedYield",$.arg===E)continue;return{value:$.arg,done:d.done}}$.type==="throw"&&(S="completed",d.method="throw",d.arg=$.arg)}}}function b(c,l){var d=l.method,S=c.iterator[d];if(S===void 0)return l.delegate=null,d==="throw"&&c.iterator.return&&(l.method="return",l.arg=void 0,b(c,l),l.method==="throw")||d!=="return"&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+d+"' method")),E;var w=k(S,c.iterator,l.arg);if(w.type==="throw")return l.method="throw",l.arg=w.arg,l.delegate=null,E;var O=w.arg;return O?O.done?(l[c.resultName]=O.value,l.next=c.nextLoc,l.method!=="return"&&(l.method="next",l.arg=void 0),l.delegate=null,E):O:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,E)}function C(c){var l={tryLoc:c[0]};1 in c&&(l.catchLoc=c[1]),2 in c&&(l.finallyLoc=c[2],l.afterLoc=c[3]),this.tryEntries.push(l)}function y(c){var l=c.completion||{};l.type="normal",delete l.arg,c.completion=l}function D(c){this.tryEntries=[{tryLoc:"root"}],c.forEach(C,this),this.reset(!0)}function W(c){if(c){var l=c[a];if(l)return l.call(c);if(typeof c.next=="function")return c;if(!isNaN(c.length)){var d=-1,S=function w(){for(;++d<c.length;)if(e.call(c,d))return w.value=c[d],w.done=!1,w;return w.value=void 0,w.done=!0,w};return S.next=S}}return{next:Te}}function Te(){return{value:void 0,done:!0}}return T.prototype=g,n(m,"constructor",{value:g,configurable:!0}),n(g,"constructor",{value:T,configurable:!0}),T.displayName=h(g,s,"GeneratorFunction"),r.isGeneratorFunction=function(c){var l=typeof c=="function"&&c.constructor;return!!l&&(l===T||(l.displayName||l.name)==="GeneratorFunction")},r.mark=function(c){return Object.setPrototypeOf?Object.setPrototypeOf(c,g):(c.__proto__=g,h(c,s,"GeneratorFunction")),c.prototype=Object.create(m),c},r.awrap=function(c){return{__await:c}},p(f.prototype),h(f.prototype,u,function(){return this}),r.AsyncIterator=f,r.async=function(c,l,d,S,w){w===void 0&&(w=Promise);var O=new f(o(c,l,d,S),w);return r.isGeneratorFunction(l)?O:O.next().then(function(R){return R.done?R.value:O.next()})},p(m),h(m,s,"Generator"),h(m,a,function(){return this}),h(m,"toString",function(){return"[object Generator]"}),r.keys=function(c){var l=Object(c),d=[];for(var S in l)d.push(S);return d.reverse(),function w(){for(;d.length;){var O=d.pop();if(O in l)return w.value=O,w.done=!1,w}return w.done=!0,w}},r.values=W,D.prototype={constructor:D,reset:function(c){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(y),!c)for(var l in this)l.charAt(0)==="t"&&e.call(this,l)&&!isNaN(+l.slice(1))&&(this[l]=void 0)},stop:function(){this.done=!0;var c=this.tryEntries[0].completion;if(c.type==="throw")throw c.arg;return this.rval},dispatchException:function(c){if(this.done)throw c;var l=this;function d($,ne){return O.type="throw",O.arg=c,l.next=$,ne&&(l.method="next",l.arg=void 0),!!ne}for(var S=this.tryEntries.length-1;S>=0;--S){var w=this.tryEntries[S],O=w.completion;if(w.tryLoc==="root")return d("end");if(w.tryLoc<=this.prev){var R=e.call(w,"catchLoc"),V=e.call(w,"finallyLoc");if(R&&V){if(this.prev<w.catchLoc)return d(w.catchLoc,!0);if(this.prev<w.finallyLoc)return d(w.finallyLoc)}else if(R){if(this.prev<w.catchLoc)return d(w.catchLoc,!0)}else{if(!V)throw new Error("try statement without catch or finally");if(this.prev<w.finallyLoc)return d(w.finallyLoc)}}}},abrupt:function(c,l){for(var d=this.tryEntries.length-1;d>=0;--d){var S=this.tryEntries[d];if(S.tryLoc<=this.prev&&e.call(S,"finallyLoc")&&this.prev<S.finallyLoc){var w=S;break}}w&&(c==="break"||c==="continue")&&w.tryLoc<=l&&l<=w.finallyLoc&&(w=null);var O=w?w.completion:{};return O.type=c,O.arg=l,w?(this.method="next",this.next=w.finallyLoc,E):this.complete(O)},complete:function(c,l){if(c.type==="throw")throw c.arg;return c.type==="break"||c.type==="continue"?this.next=c.arg:c.t
1ype==="return"?(this.rval=this.arg=c.arg,this.method="return",this.next="end"):c.type==="normal"&&l&&(this.next=l),E},finish:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.finallyLoc===c)return this.complete(d.completion,d.afterLoc),y(d),E}},catch:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.tryLoc===c){var S=d.completion;if(S.type==="throw"){var w=S.arg;y(d)}return w}}throw new Error("illegal catch attempt")},delegateYield:function(c,l,d){return this.delegate={iterator:W(c),resultName:l,nextLoc:d},this.method==="next"&&(this.arg=void 0),E}},r}function Fe(r,t,e,n,i,a,u){try{var s=r[a](u),h=s.value}catch(o){e(o);return}s.done?t(h):Promise.resolve(h).then(n,i)}function X(r){return function(){var t=this,e=arguments;return new Promise(function(n,i){var a=r.apply(t,e);function u(h){Fe(a,n,i,u,s,"next",h)}function s(h){Fe(a,n,i,u,s,"throw",h)}u(void 0)})}}function He(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function it(r,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Ue(n.key),n)}}function Be(r,t,e){return t&&it(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function ge(r,t,e){return t=Ue(t),t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function at(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&ve(r,t)}function pe(r){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(r)}function ve(r,t){return ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ve(r,t)}function Ge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ye(r,t,e){return Ge()?ye=Reflect.construct.bind():ye=function(i,a,u){var s=[null];s.push.apply(s,a);var h=Function.bind.apply(i,s),o=new h;return u&&ve(o,u.prototype),o},ye.apply(null,arguments)}function ot(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function _e(r){var t=typeof Map=="function"?new Map:void 0;return _e=function(n){if(n===null||!ot(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return ye(n,arguments,pe(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ve(i,n)},_e(r)}function we(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function ut(r,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return we(r)}function st(r){var t=Ge();return function(){var n=pe(r),i;if(t){var a=pe(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return ut(this,i)}}function lt(r,t){if(typeof r!="object"||r===null)return r;var e=r[Symbol.toPrimitive];if(e!==void 0){var n=e.call(r,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function Ue(r){var t=lt(r,"string");return typeof t=="symbol"?t:String(t)}var Qe=typeof global<"u"&&{}.toString.call(global)==="[object global]";function qe(r,t){return r.indexOf(t.toLowerCase())===0?r:"".concat(t.toLowerCase()).concat(r.substr(0,1).toUpperCase()).concat(r.substr(1))}function ct(r){return!!(r&&r.nodeType===1&&"nodeName"in r&&r.ownerDocument&&r.ownerDocument.defaultView)}function ft(r){return!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r}function re(r){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(r)}function Ye(r){var t=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return t.test(r)}function ht(r){for(var t=(r||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),e=(t&&t[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=n;i<a.length;i++){var u=a[i];if(e.endsWith(u))return e}return"vimeo.com"}function Je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=r.id,e=r.url,n=t||e;if(!n)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(ft(n))return"https://vimeo.com/".concat(n);if(re(n))return n.replace("http:","https:");throw t?new TypeError("â".concat(t,"â is not a valid video id.")):new TypeError("â".concat(n,"â is not a vimeo.com url."))}var De=function(t,e,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",u=typeof e=="string"?[e]:e;return u.forEach(function(s){t[i](s,n)}),{cancel:function(){return u.forEach(function(h){return t[a](h,n)})}}},dt=typeof Array.prototype.indexOf<"u",pt=typeof window<"u"&&typeof window.postMessage<"u";if(!Qe&&(!dt||!pt))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vt(r,t){return t={exports:{}},r(t,t.exports),t.exports}/*! 2 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill 3 * https://github.com/polygonplanet/weakmap-polyfill 4 * Copyright (c) 2015-2021 polygonplanet <[email protected]> 5 * @license MIT 6 */(function(r){if(r.WeakMap)return;var t=Object.prototype.hasOwnProperty,e=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),n=function(a,u,s){e?Object.defineProperty(a,u,{configurable:!0,writable:!0,value:s}):a[u]=s};r.WeakMap=function(){function a(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}
6n(a.prototype,"delete",function(o){if(u(this,"delete"),!i(o))return!1;var k=o[this._id];return k&&k[0]===o?(delete o[this._id],!0):!1}),n(a.prototype,"get",function(o){if(u(this,"get"),!!i(o)){var k=o[this._id];if(k&&k[0]===o)return k[1]}}),n(a.prototype,"has",function(o){if(u(this,"has"),!i(o))return!1;var k=o[this._id];return!!(k&&k[0]===o)}),n(a.prototype,"set",function(o,k){if(u(this,"set"),!i(o))throw new TypeError("Invalid value used as weak map key");var E=o[this._id];return E&&E[0]===o?(E[1]=k,this):(n(o,this._id,[o,k]),this)});function u(o,k){if(!i(o)||!t.call(o,"_id"))throw new TypeError(k+" method called on incompatible receiver "+typeof o)}function s(o){return o+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return n(a,"_polyfill",!0),a}();function i(a){return Object(a)===a}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ae);var x=vt(function(r){/*! Native Promise Only 7 v0.8.1 (c) Kyle Simpson 8 MIT License: http://getify.mit-license.org 9*/(function(e,n,i){n[e]=n[e]||i(),r.exports&&(r.exports=n[e])})("Promise",ae,function(){var e,n,i,a=Object.prototype.toString,u=typeof setImmediate<"u"?function(p){return setImmediate(p)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(p,f,v,b){return Object.defineProperty(p,f,{value:v,writable:!0,configurable:b!==!1})}}catch{e=function(f,v,b){return f[v]=b,f}}i=function(){var p,f,v;function b(C,y){this.fn=C,this.self=y,this.next=void 0}return{add:function(y,D){v=new b(y,D),f?f.next=v:p=v,f=v,v=void 0},drain:function(){var y=p;for(p=f=n=void 0;y;)y.fn.call(y.self),y=y.next}}}();function s(m,p){i.add(m,p),n||(n=u(i.drain))}function h(m){var p,f=typeof m;return m!=null&&(f=="object"||f=="function")&&(p=m.then),typeof p=="function"?p:!1}
9function o(){for(var m=0;m<this.chain.length;m++)k(this,this.state===1?this.chain[m].success:this.chain[m].failure,this.chain[m]);this.chain.length=0}function k(m,p,f){var v,b;try{p===!1?f.reject(m.msg):(p===!0?v=m.msg:v=p.call(void 0,m.msg),v===f.promise?f.reject(TypeError("Promise-chain cycle")):(b=h(v))?b.call(v,f.resolve,f.reject):f.resolve(v))}catch(C){f.reject(C)}}function E(m){var p,f=this;if(!f.triggered){f.triggered=!0,f.def&&(f=f.def);try{(p=h(m))?s(function(){var v=new g(f);try{p.call(m,function(){E.apply(v,arguments)},function(){M.apply(v,arguments)})}catch(b){M.call(v,b)}}):(f.msg=m,f.state=1,f.chain.length>0&&s(o,f))}catch(v){M.call(new g(f),v)}}}function M(m){var p=this;p.triggered||(p.triggered=!0,p.def&&(p=p.def),p.msg=m,p.state=2,p.chain.length>0&&s(o,p))}function T(m,p,f,v){for(var b=0;b<p.length;b++)(function(y){m.resolve(p[y]).then(function(W){f(y,W)},v)})(b)}function g(m){this.def=m,this.triggered=!1}function N(m){this.promise=m,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function A(m){if(typeof m!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var p=new N(this);this.then=function(v,b){var C={success:typeof v=="function"?v:!0,failure:typeof b=="function"?b:!1};return C.promise=new this.constructor(function(D,W){if(typeof D!="function"||typeof W!="function")throw TypeError("Not a function");C.resolve=D,C.reject=W}),p.chain.push(C),p.state!==0&&s(o,p),C.promise},this.catch=function(v){return this.then(void 0,v)};try{m.call(void 0,function(v){E.call(p,v)},function(v){M.call(p,v)})}catch(f){M.call(p,f)}}var L=e({},"constructor",A,!1);return A.prototype=L,e(L,"__NPO__",0,!1),e(A,"resolve",function(p){var f=this;return p&&typeof p=="object"&&p.__NPO__===1?p:new f(function(b,C){if(typeof b!="function"||typeof C!="function")throw TypeError("Not a function");b(p)})}),e(A,"reject",function(p){return new this(function(v,b){if(typeof v!="function"||typeof b!="function")throw TypeError("Not a function");b(p)})}),e(A,"all",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):p.length===0?f.resolve([]):new f(function(b,C){if(typeof b!="function"||typeof C!="function")throw TypeError("Not a function");var y=p.length,D=Array(y),W=0;T(f,p,function(c,l){D[c]=l,++W===y&&b(D)},C)})}),e(A,"race",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(b,C){if(typeof b!="function"||typeof C!="function")throw TypeError("Not a function");T(f,p,function(D,W){b(W)},C)})}),A})}),z=new WeakMap;function he(r,t,e){var n=z.get(r.element)||{};t in n||(n[t]=[]),n[t].push(e),z.set(r.element,n)}function be(r,t){var e=z.get(r.element)||{};return e[t]||[]}function Ee(r,t,e){var n=z.get(r.element)||{};if(!n[t])return!0;if(!e)return n[t]=[],z.set(r.element,n),!0;var i=n[t].indexOf(e);return i!==-1&&n[t].splice(i,1),z.set(r.element,n),n[t]&&n[t].length===0}function mt(r,t){var e=be(r,t);if(e.length<1)return!1;var n=e.shift();return Ee(r,t,n),n}function gt(r,t){var e=z.get(r);z.set(t,e),z.delete(r)}function Pe(r){if(typeof r=="string")try{r=JSON.parse(r)}catch(t){return console.warn(t),{}}return r}function J(r,t,e){if(!(!r.element.contentWindow||!r.element.contentWindow.postMessage)){var n={method:t};e!==void 0&&(n.value=e);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(n=JSON.stringify(n)),r.element.contentWindow.postMessage(n,r.origin)}}function yt(r,t){t=Pe(t);var e=[],n;if(t.event){if(t.event==="error"){var i=be(r,t.data.method);i.forEach(function(u){var s=new Error(t.data.message);s.name=t.data.name,u.reject(s),Ee(r,t.data.method,u)})}e=be(r,"event:".concat(t.event)),n=t.data}else if(t.method){var a=mt(r,t.method);a&&(e.push(a),n=t.value)}e.forEach(function(u){try{if(typeof u=="function"){u.call(r,n);return}u.resolve(n)}catch{}})}var wt=["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 Xe(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return wt.reduce(function(e,n){var i=r.getAttribute("data-vimeo-".concat(n));return(i||i==="")&&(e[n]=i===""?1:i),e},t)}function Ae(r,t){var e=r.html;if(!t)throw new TypeError("An element must be provided");
9if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=e,t.appendChild(n.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Ke(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return new Promise(function(n,i){if(!re(r))throw new TypeError("â".concat(r,"â is not a vimeo.com url."));var a=ht(r),u="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(r));for(var s in t)t.hasOwnProperty(s)&&(u+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",u,!0),h.onload=function(){if(h.status===404){i(new Error("â".concat(r,"â was not found.")));return}if(h.status===403){i(new Error("â".concat(r,"â is not embeddable.")));return}try{var o=JSON.parse(h.responseText);if(o.domain_status_code===403){Ae(o,e),i(new Error("â".concat(r,"â is not embeddable.")));return}n(o)}catch(k){i(k)}},h.onerror=function(){var o=h.status?" (".concat(h.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(o,".")))},h.send()})}function bt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(r.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),e=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};t.forEach(function(n){try{if(n.getAttribute("data-vimeo-defer")!==null)return;var i=Xe(n),a=Je(i);Ke(a,i,n).then(function(u){return Ae(u,n)}).catch(e)}catch(u){e(u)}})}function Et(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var t=function(n){if(re(n.origin)&&!(!n.data||n.data.event!=="spacechange")){for(var i=r.querySelectorAll("iframe"),a=0;a<i.length;a++)if(i[a].contentWindow===n.source){var u=i[a].parentElement;u.style.paddingBottom="".concat(n.data.data[0].bottom,"px");break}}};window.addEventListener("message",t)}}function kt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var t=function(n){if(re(n.origin)){var i=Pe(n.data);if(!(!i||i.event!=="ready"))for(var a=r.querySelectorAll("iframe"),u=0;u<a.length;u++){var s=a[u],h=s.contentWindow===n.source;if(Ye(s.src)&&h){var o=new Ne(s);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",t)}}function Pt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
9=!0;var t=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},e=function(i){if(re(i.origin)){var a=Pe(i.data);if(!(!a||a.event!=="ready"))for(var u=r.querySelectorAll("iframe"),s=function(){var k=u[h],E=k.contentWindow===i.source;if(Ye(k.src)&&E){var M=new Ne(k);M.getVideoId().then(function(T){var g=new RegExp("[?&]vimeo_t_".concat(T,"=([^&#]*)")).exec(window.location.href);if(g&&g[1]){var N=decodeURI(g[1]);M.setCurrentTime(N)}}).catch(t)}},h=0;h<u.length;h++)s()}};window.addEventListener("message",e)}}function Tt(){var r=function(){for(var n,i=[["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"]],a=0,u=i.length,s={};a<u;a++)if(n=i[a],n&&n[1]in document){for(a=0;a<n.length;a++)s[i[0][a]]=n[a];return s}return!1}(),t={fullscreenchange:r.fullscreenchange,fullscreenerror:r.fullscreenerror},e={request:function(i){return new Promise(function(a,u){var s=function o(){e.off("fullscreenchange",o),a()};e.on("fullscreenchange",s),i=i||document.documentElement;var h=i[r.requestFullscreen]();h instanceof Promise&&h.then(s).catch(u)})},exit:function(){return new Promise(function(i,a){if(!e.isFullscreen){i();return}var u=function h(){e.off("fullscreenchange",h),i()};e.on("fullscreenchange",u);var s=document[r.exitFullscreen]();s instanceof Promise&&s.then(u).catch(a)})},on:function(i,a){var u=t[i];u&&document.addEventListener(u,a)},off:function(i,a){var u=t[i];u&&document.removeEventListener(u,a)}};return Object.defineProperties(e,{isFullscreen:{get:function(){return!!document[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[r.fullscreenEnabled]}}}),e}var Mt={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},St=function(r){at(e,r);var t=st(e);function e(n,i){var a,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;return He(this,e),a=t.call(this),ge(we(a),"logger",void 0),ge(we(a),"speedAdjustment",0),ge(we(a),"adjustSpeed",function(){var h=X(I().mark(function o(k,E){var M;return I().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(a.speedAdjustment!==E){g.next=2;break}return g.abrupt("return");case 2:return g.next=4,k.getPlaybackRate();case 4:return g.t0=g.sent,g.t1=a.speedAdjustment,g.t2=g.t0-g.t1,g.t3=E,M=g.t2+g.t3,a.log("New playbackRate: ".concat(M)),g.next=12,k.setPlaybackRate(M);case 12:a.speedAdjustment=E;case 13:case"end":return g.stop()}},o)}));return function(o,k){return h.apply(this,arguments)}}()),a.logger=s,a.init(i,n,Ie(Ie({},Mt),u)),a}return Be(e,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var n=X(I().mark(function a(u,s,h){var o=this,k,E,M;return I().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.waitForTOReadyState(u,"open");case 2:if(h.role!=="viewer"){g.next=10;break}return g.next=5,this.updatePlayer(u,s,h);case 5:k=De(u,"change",function(){return o.updatePlayer(u,s,h)}),E=this.maintainPlaybackPosition(u,s,h),this.addEventListener("disconnect",function(){E.cancel(),k.cancel()}),g.next=14;break;case 10:return g.next=12,this.updateTimingObject(u,s);case 12:M=De(s,["seeked","play","pause","ratechange"],function(){return o.updateTimingObject(u,s)},"on","off"),this.addEventListener("disconnect",function(){return M.cancel()});case 14:case"end":return g.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"updateTimingObject",value:function(){var n=X(I().mark(function a(u,s){return I().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.t0=u,o.next=3,s.getCurrentTime();case 3:return o.t1=o.sent,o.next=6,s.getPaused();case 6:if(!o.sent){o.next=10;break}o.t2=0,o.next=13;break;case 10:return o.next=12,s.getPlaybackRate();case 12:o.t2=o.sent;case 13:o.t3=o.t2,o.t4={position:o.t1,velocity:o.t3},o.t0.update.call(o.t0,o.t4);case 16:case"end":return o.stop()}},a)}));function i(a,u){return n.apply(this,arguments)}return i}()},{key:"updatePlayer",value:function(){var n=X(I().mark(function a(u,s,h){var o,k,E;return I().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(o=u.query(),k=o.position,E=o.velocity,typeof k=="number"&&s.setCurrentTime(k),typeof E!="number"){T.next=25;break}if(E!==0){T.next=11;break}return T.next=6,s.getPaused();case 6:if(T.t0=T.sent,T.t0!==!1){T.next=9;break}s.pause();case 9:T.next=25;break;case 11:if(!(E>0)){T.next=25;break}return T.next=14,s.getPaused();case 14:if(T.t1=T.sent,T.t1!==!0){T.next=19;break}return T.next=18,s.play().catch(function(){var g=X(I().mark(function N(A){return I().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(!(A.name==="NotAllowedError"&&h.autoPlayMuted)){m.next=5;break}return m.next=3,s.setMuted(!0);case 3:return m.next=5,s.play().catch(function(p){return console.error("Couldn't play the video from TimingSrcConnector. Error:",p)});case 5:case"end":return m.stop()}},N)}));return function(N){return g.apply(this,arguments)}}());case 18:this.updatePlayer(u,s,h);case 19:return T.next=21,s.getPlaybackRate();case 21:if(T.t2=T.sent,T.t3=E,T.t2===T.t3){T.next=25;break}s.setPlaybackRate(E);
9case 25:case"end":return T.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i}()},{key:"maintainPlaybackPosition",value:function(i,a,u){var s=this,h=u.allowedDrift,o=u.maxAllowedDrift,k=u.minCheckInterval,E=u.maxRateAdjustment,M=u.maxTimeToCatchUp,T=Math.min(M,Math.max(k,o))*1e3,g=function(){var A=X(I().mark(function L(){var m,p,f,v,b;return I().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(y.t0=i.query().velocity===0,y.t0){y.next=6;break}return y.next=4,a.getPaused();case 4:y.t1=y.sent,y.t0=y.t1===!0;case 6:if(!y.t0){y.next=8;break}return y.abrupt("return");case 8:return y.t2=i.query().position,y.next=11,a.getCurrentTime();case 11:if(y.t3=y.sent,m=y.t2-y.t3,p=Math.abs(m),s.log("Drift: ".concat(m)),!(p>o)){y.next=22;break}return y.next=18,s.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),s.log("Resync by currentTime"),y.next=29;break;case 22:if(!(p>h)){y.next=29;break}return f=p/M,v=E,b=f<v?(v-f)/2:v,y.next=28,s.adjustSpeed(a,b*Math.sign(m));case 28:s.log("Resync by playbackRate");case 29:case"end":return y.stop()}},L)}));return function(){return A.apply(this,arguments)}}(),N=setInterval(function(){return g()},T);return{cancel:function(){return clearInterval(N)}}}},{key:"log",value:function(i){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,a){return new Promise(function(u){var s=function h(){i.readyState===a?u():i.addEventListener("readystatechange",h,{once:!0})};s()})}}]),e}(_e(EventTarget)),ie=new WeakMap,Se=new WeakMap,F={},Ne=function(){function r(t){var e=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(He(this,r),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]),typeof document<"u"&&typeof t=="string"&&(t=document.getElementById(t)),!ct(t))throw new TypeError("You must pass either a valid element or a valid id.");if(t.nodeName!=="IFRAME"){var i=t.querySelector("iframe");
9i&&(t=i)}if(t.nodeName==="IFRAME"&&!re(t.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(ie.has(t))return ie.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var a=new x(function(s,h){if(e._onMessage=function(E){if(!(!re(E.origin)||e.element.contentWindow!==E.source)){e.origin==="*"&&(e.origin=E.origin);var M=Pe(E.data),T=M&&M.event==="error",g=T&&M.data&&M.data.method==="ready";if(g){var N=new Error(M.data.message);N.name=M.data.name,h(N);return}var A=M&&M.event==="ready",L=M&&M.method==="ping";if(A||L){e.element.setAttribute("data-ready","true"),s();return}yt(e,M)}},e._window.addEventListener("message",e._onMessage),e.element.nodeName!=="IFRAME"){var o=Xe(t,n),k=Je(o);Ke(k,o,t).then(function(E){var M=Ae(E,t);return e.element=M,e._originalElement=t,gt(t,M),ie.set(e.element,e),E}).catch(h)}});if(Se.set(this,a),ie.set(this.element,this),this.element.nodeName==="IFRAME"&&J(this,"ping"),F.isEnabled){var u=function(){return F.exit()};this.fullscreenchangeHandler=function(){F.isFullscreen?he(e,"event:exitFullscreen",u):Ee(e,"event:exitFullscreen",u),e.ready().then(function(){J(e,"fullscreenchange",F.isFullscreen)})},F.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Be(r,[{key:"callMethod",value:function(e){for(var n=this,i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];if(e==null)throw new TypeError("You must pass a method name.");return new x(function(s,h){return n.ready().then(function(){he(n,e,{resolve:s,reject:h}),J(n,e,a)}).catch(h)})}},{key:"get",value:function(e){var n=this;return new x(function(i,a){return e=qe(e,"get"),n.ready().then(function(){he(n,e,{resolve:i,reject:a}),J(n,e)}).catch(a)})}},{key:"set",value:function(e,n){var i=this;return new x(function(a,u){if(e=qe(e,"set"),n==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){he(i,e,{resolve:a,reject:u}),J(i,e,n)}).catch(u)})}},{key:"on",value:function(e,n){if(!e)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");var i=be(this,"event:".concat(e));i.length===0&&this.callMethod("addEventListener",e).catch(function(){}),he(this,"event:".concat(e),n)}},{key:"off",value:function(e,n){if(!e)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");var i=Ee(this,"event:".concat(e),n);i&&this.callMethod("removeEventListener",e).catch(function(a){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=Se.get(this)||new x(function(n,i){i(new Error("Unknown player. Probably unloaded."))});return x.resolve(e)}},{key:"addCuePoint",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:n})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,n){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:n})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return F.isEnabled?F.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return F.isEnabled?F.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return F.isEnabled?x.resolve(F.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 x(function(n){if(Se.delete(e),ie.delete(e.element),e._originalElement&&(ie.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&e.element.nodeName==="IFRAME"&&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&&e.element.nodeName==="DIV"&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var i=e.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&e._originalElement&&e._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}e._window.removeEventListener("message",e._onMessage),F.isEnabled&&F.off("fullscreenchange",e.fullscreenchangeHandler),n()})}},{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 x.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 x(function(a,u){return u(new TypeError("Argument must be an array."))});var n=new x(function(a){return a(null)}),i=[e[0]?this.set("colorOne",e[0]):n,e[1]?this.set("colorTwo",e[1]):n,e[2]?this.set("colorThree",e[2]):n,e[3]?this.set("colorFour",e[3]):n];return x.all(i)}},{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)}
9},{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:"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 t=X(I().mark(function n(i,a){var u=this,s;return I().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i){o.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return o.next=4,this.ready();case 4:return s=new St(this,i,a),J(this,"notifyTimingObjectConnect"),s.addEventListener("disconnect",function(){return J(u,"notifyTimingObjectDisconnect")}),o.abrupt("return",s);case 8:case"end":return o.stop()}},n,this)}));function e(n,i){return t.apply(this,arguments)}return e}()}]),r}();Qe||(F=Tt(),bt(),Et(),kt(),Pt());const Ct="https://player.vimeo.com/video",Ot=/vimeo\.com\/(?:video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function Ve(r,t={}){const e={src:_t(r,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(e["data-config"]=JSON.stringify(t.config)),` 10 <style> 11 :host { 12 display: inline-block; 13 min-width: 300px; 14 min-height: 150px; 15 position: relative; 16 } 17 iframe { 18 position: absolute; 19 top: 0; 20 left: 0; 21 } 22 :host(:not([controls])) { 23 pointer-events: none; 24 } 25 </style> 26 <iframe${At(e)}></iframe> 27 `}function _t(r,t){if(!r.src)return;const e=r.src.match(Ot),n=e&&e[1],i=e&&e[2],a={controls:r.controls===""?null:0,autoplay:r.autoplay,loop:r.loop,muted:r.muted,playsinline:r.playsinline,preload:r.preload??"metadata",transparent:!1,autopause:r.autopause,h:i,...t.config};return`${Ct}/${n}?${Nt(a)}`}var oe,ue,me,H,B,G,q,K,Z,U,ee,Q,se,le,te,ke,Ze;class de extends(globalThis.HTMLElement??class{}){constructor(){super();j(this,ke);fe(this,"loadComplete",new $e);j(this,oe);j(this,ue);j(this,me);j(this,H,0);j(this,B,NaN);j(this,G,!1);j(this,q,!this.autoplay);j(this,K,1);j(this,Z,0);j(this,U,0);j(this,ee,!1);j(this,Q,1);j(this,se,NaN);j(this,le,NaN);j(this,te,null);je(this,ke,Ze).call(this,"config")}requestFullscreen(){var e,n;return(n=(e=this.api)==null?void 0:e.requestFullscreen)==null?void 0:n.call(e)}exitFullscreen(){var e,n;return(n=(e=this.api)==null?void 0:e.exitFullscreen)==null?void 0:n.call(e)}requestPictureInPicture(){var e,n;return(n=(e=this.api)==null?void 0:e.requestPictureInPicture)==null?void 0:n.call(e)}exitPictureInPicture(){var e,n;return(n=(e=this.api)==null?void 0:e.exitPictureInPicture)==null?void 0:n.call(e)}get config(){return _(this,te)}set config(e){P(this,te,e)}async load(){var e;if(_(this,oe))return;const n=!_(this,ue);_(this,ue)&&(this.loadComplete=new $e),P(this,ue,!0),await P(this,oe,Promise.resolve()),P(this,oe,null),P(this,H,0),P(this,B,NaN),P(this,G,!1),P(this,q,!this.autoplay),P(this,K,1),P(this,Z,0),P(this,U,0),P(this,ee,!1),P(this,Q,1),P(this,U,0),P(this,se,NaN),P(this,le,NaN),this.dispatchEvent(new Event("emptied"));let i=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const a={autoplay:this.autoplay,controls:this.controls,loop:this.loop,muted:this.defaultMuted,playsinline:this.playsInl
27ine,preload:this.preload??"metadata",transparent:!1,autopause:this.hasAttribute("autopause"),..._(this,te)},u=async()=>{P(this,U,1),this.dispatchEvent(new Event("loadedmetadata")),this.api&&(P(this,G,await this.api.getMuted()),P(this,Q,await this.api.getVolume()),this.dispatchEvent(new Event("volumechange")),P(this,B,await this.api.getDuration()),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(_(this,me)){this.api=i,await this.api.loadVideo({...a,url:this.src}),await u(),await this.loadComplete;return}P(this,me,!0);let s=(e=this.shadowRoot)==null?void 0:e.querySelector("iframe");n&&s&&P(this,te,JSON.parse(s.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=Ve(jt(this.attributes),this),s=this.shadowRoot.querySelector("iframe")),this.api=new Ne(s);const h=()=>{this.api.off("loaded",h),u()};this.api.on("loaded",h),this.api.on("bufferstart",()=>{_(this,q)&&(P(this,q,!1),this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{_(this,q)&&(P(this,q,!1),this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{P(this,U,3),P(this,q,!1),this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{P(this,ee,!0),this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",()=>{P(this,ee,!1),this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{P(this,q,!0),this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{P(this,q,!0),this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",({playbackRate:o})=>{P(this,K,o),this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:o})=>{P(this,Q,o),this.api&&P(this,G,await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:o})=>{P(this,B,o),this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:o})=>{P(this,H,o),this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:o})=>{P(this,Z,o),this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:o,videoHeight:k})=>{P(this,se,o),P(this,le,k),this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(e,n,i){if(n!==i){switch(e){case"autoplay":case"controls":case"src":{this.load();return}}switch(await this.loadComplete,e){case"loop":{this.api.setLoop(this.loop);break}}}}async play(){var e;P(this,q,!1),this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((e=this.api)==null?void 0:e.play())}catch(n){throw P(this,q,!0),this.dispatchEvent(new Event("pause")),n}}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pause()}get ended(){return _(this,H)>=_(this,B)}get seeking(){return _(this,ee)}get readyState(){return _(this,U)}get videoWidth(){return _(this,se)}get videoHeight(){return _(this,le)}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get paused(){return _(this,q)}get duration(){return _(this,B)}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){return _(this,Z)>0?We(0,_(this,Z)):We()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return _(this,H)}set currentTime(e){this.currentTime!=e&&(P(this,H,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setCurrentTime(e).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}get muted(){return _(this,G)}set muted(e){this.muted!=e&&(P(this,G,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setMuted(e).catch(()=>{})}))}get playbackRate(){return _(this,K)}set playbackRate(e){this.playbackRate!=e&&(P(this,K,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setPlaybackRate(e).catch(()=>{})}))}
27get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}get volume(){return _(this,Q)}set volume(e){this.volume!=e&&(P(this,Q,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setVolume(e).catch(()=>{})}))}}oe=new WeakMap,ue=new WeakMap,me=new WeakMap,H=new WeakMap,B=new WeakMap,G=new WeakMap,q=new WeakMap,K=new WeakMap,Z=new WeakMap,U=new WeakMap,ee=new WeakMap,Q=new WeakMap,se=new WeakMap,le=new WeakMap,te=new WeakMap,ke=new WeakSet,Ze=function(e){if(Object.prototype.hasOwnProperty.call(this,e)){const n=this[e];delete this[e],this[e]=n}},fe(de,"getTemplateHTML",Ve),fe(de,"shadowRootOptions",{mode:"open"}),fe(de,"observedAttributes",["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"]);function At(r){let t="";for(const e in r){const n=r[e];n===""?t+=` ${Ce(e)}`:t+=` ${Ce(e)}="${Ce(`${n}`)}"`}return t}function Ce(r){return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")}function Nt(r){return String(new URLSearchParams(Rt(r)))}function Rt(r){let t={};for(let e in r){let n=r[e];n===!0||n===""?t[e]=1:n===!1?t[e]=0:n!=null&&(t[e]=n)}return t}function jt(r){let t={};for(let e of r)t[e.name]=e.value;return t}class $e extends Promise{constructor(t=()=>{}){let e,n;super((i,a)=>{t(i,a),e=i,n=a}),this.resolve=e,this.reject=n}}function We(r,t){return Array.isArray(r)?Oe(r):r==null||t==null||r===0&&t===0?Oe([[0,0]]):Oe([[r,t]])}function Oe(r){return Object.defineProperties(r,{start:{value:t=>r[t][0]},end:{value:t=>r[t][1]}}),r}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",de);var Lt=de,It=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),Ft={className:"class",htmlFor:"for"};function et(r){return r.toLowerCase()}function xe(r){if(typeof r=="boolean")return r?"":void 0;if(typeof r!="function"&&!(typeof r=="object"&&r!==null))return r}function qt({react:r,tagName:t,elementClass:e,events:n,displayName:i,defaultProps:a,toAttributeName:u=et,toAttributeValue:s=xe}){const h=Number.parseInt(r.version)>=19,o=r.forwardRef((k,E)=>{var M,T;const g=r.useRef(null),N=r.useRef(new Map),A={},L={},m={},p={};for(const[f,v]of Object.entries(k)){if(It.has(f)){m[f]=v;continue}const b=u(Ft[f]??f);if(e.prototype&&f in e.prototype&&!(f in(((M=globalThis.HTMLElement)==null?void 0:M.prototype)??{}))&&!((T=e.observedAttributes)!=null&&T.some(y=>y===b))){p[f]=v;continue}if(f.startsWith("on")){A[f]=v;continue}const C=s(v);if(b&&C!=null&&(L[b]=String(C),h||(m[b]=C)),b&&h){const y=xe(v);C!==y?m[b]=C:m[b]=v}}if(typeof window<"u"){for(const f in A){const v=A[f],b=f.endsWith("Capture"),C=((n==null?void 0:n[f])??f.slice(2).toLowerCase()).slice(0,b?-7:void 0);r.useLayoutEffect(()=>{const y=g==null?void 0:g.current;if(!(!y||typeof v!="function"))return y.addEventListener(C,v,b),()=>{y.removeEventListener(C,v,b)}},[g==null?void 0:g.current,v])}r.useLayoutEffect(()=>{if(g.current===null)return;const f=new Map;for(const v in p)ze(g.current,v,p[v]),N.current.delete(v),f.set(v,p[v]);for(const[v,b]of N.current)ze(g.current,v,void 0);N.current=f})}if(typeof window>"u"&&(e!=null&&e.getTemplateHTML)&&(e!=null&&e.shadowRootOptions)){const{mode:f,delegatesFocus:v}=e.shadowRootOptions,b=r.createElement("template",{shadowrootmode:f,shadowrootdelegatesfocus:v,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(L,k)}});m.children=[b,m.children]}return r.createElement(t,{...a,...m,ref:r.useCallback(f=>{g.current=f,typeof E=="function"?E(f):E!==null&&(E.current=f)},[E])})});return o.displayName=i??e.name,o}function ze(r,t,e){var n;r[t]=e,e==null&&t in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&r.removeAttribute(t)}var $t=qt({react:nt,tagName:"vimeo-video",elementClass:Lt,toAttributeName(r){return r==="muted"?"":r==="defaultMuted"?"muted":et(r)}});/*! Bundled license information: 28 29ce-la-react/dist/ce-la-react.js: 30 (** 31 * @license 32 * Copyright 2018 Google LLC 33 * SPDX-License-Identifier: BSD-3-Clause 34 * 35 * Modified version of `@lit/react` for vanilla custom elements with support for SSR. 36 *) 37*/export{$t as default};
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.