@sapia-ai/chatbot-v3 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{EmbeddedVideoPlayer-SaMMfDIW.js → EmbeddedVideoPlayer-CNcds-dW.js} +283 -282
  2. package/dist/Preview-Dmns6UWL.js +84 -0
  3. package/dist/api.js +1 -1
  4. package/dist/{dist-DGBYKC8c.js → dist-B9SbMqZU.js} +2693 -2693
  5. package/dist/embed/createChatbot.d.ts +2 -0
  6. package/dist/{fix-webm-duration-BW9Fbdzt.js → fix-webm-duration-BWL-ZRDX.js} +2 -2
  7. package/dist/index.d.ts +0 -1
  8. package/dist/index.js +15479 -2067
  9. package/dist/jsx-runtime-8QqjHL5t.js +24 -0
  10. package/dist/messages-Czlp86gl.js +1963 -0
  11. package/dist/react-B0K-sClg.js +295 -0
  12. package/dist/{react-Bujo1aK5.js → react-ChCcxVnw.js} +90 -89
  13. package/dist/{react-GXf8sbzf.js → react-DJysvNxz.js} +72 -71
  14. package/dist/{react-BVzcquey.js → react-Dbs-sPBo.js} +93 -92
  15. package/dist/{react-lp7yfM94.js → react-NauLB_WU.js} +91 -90
  16. package/dist/{react-BGJ7Szvq.js → react-QrtEtv1G.js} +76 -74
  17. package/dist/{react-BrCGR7Ca.js → react-be7q6yw_.js} +312 -310
  18. package/dist/{react-CRTg4gz8.js → react-czRIxT0g.js} +85 -84
  19. package/dist/{react-BMxM8TWJ.js → react-dE7BdGuR.js} +49 -48
  20. package/package.json +14 -25
  21. package/dist/EmbeddedVideoPlayer-SaMMfDIW.js.map +0 -1
  22. package/dist/Preview-Db-hgkTh.js +0 -83
  23. package/dist/Preview-Db-hgkTh.js.map +0 -1
  24. package/dist/dash.all.min-DZ1yEcJk.js.map +0 -1
  25. package/dist/dist-BSi28_cP.js.map +0 -1
  26. package/dist/dist-DGBYKC8c.js.map +0 -1
  27. package/dist/dist-FvHBWiRa.js.map +0 -1
  28. package/dist/fix-webm-duration-BW9Fbdzt.js.map +0 -1
  29. package/dist/hls-mBncGwsE.js.map +0 -1
  30. package/dist/index.js.map +0 -1
  31. package/dist/max-Btet1snX.js.map +0 -1
  32. package/dist/messages-C4jqrtSG.js +0 -187
  33. package/dist/messages-C4jqrtSG.js.map +0 -1
  34. package/dist/react-BGJ7Szvq.js.map +0 -1
  35. package/dist/react-BMxM8TWJ.js.map +0 -1
  36. package/dist/react-BVzcquey.js.map +0 -1
  37. package/dist/react-BrCGR7Ca.js.map +0 -1
  38. package/dist/react-Bujo1aK5.js.map +0 -1
  39. package/dist/react-CRTg4gz8.js.map +0 -1
  40. package/dist/react-GXf8sbzf.js.map +0 -1
  41. package/dist/react-lp7yfM94.js.map +0 -1
  42. package/dist/sapia-chatbot.css +0 -3
  43. package/dist-umd/sapia-chatbot.umd.js.map +0 -1
@@ -1,9 +1,11 @@
1
- import { a as e, i as t, n, r, t as i } from "./classPrivateFieldSet2-DtQPURVD.js";
2
- import { t as a } from "./defineProperty-DiFpLzd2.js";
3
- import { t as o } from "./dist-FvHBWiRa.js";
4
- import s from "react";
1
+ import { b as e } from "./messages-Czlp86gl.js";
2
+ import { t } from "./react-B0K-sClg.js";
3
+ import { a as n, i as r, n as i, r as a, t as o } from "./classPrivateFieldSet2-DtQPURVD.js";
4
+ import { t as s } from "./defineProperty-DiFpLzd2.js";
5
+ import { t as c } from "./dist-FvHBWiRa.js";
5
6
  //#region ../../node_modules/.pnpm/@vimeo+player@2.29.0/node_modules/@vimeo/player/dist/player.es.js
6
- function c(e, t) {
7
+ var l = /* @__PURE__ */ e(t(), 1);
8
+ function u(e, t) {
7
9
  var n = Object.keys(e);
8
10
  if (Object.getOwnPropertySymbols) {
9
11
  var r = Object.getOwnPropertySymbols(e);
@@ -13,19 +15,19 @@ function c(e, t) {
13
15
  }
14
16
  return n;
15
17
  }
16
- function l(e) {
18
+ function d(e) {
17
19
  for (var t = 1; t < arguments.length; t++) {
18
20
  var n = arguments[t] == null ? {} : arguments[t];
19
- t % 2 ? c(Object(n), !0).forEach(function(t) {
20
- g(e, t, n[t]);
21
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c(Object(n)).forEach(function(t) {
21
+ t % 2 ? u(Object(n), !0).forEach(function(t) {
22
+ v(e, t, n[t]);
23
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u(Object(n)).forEach(function(t) {
22
24
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
23
25
  });
24
26
  }
25
27
  return e;
26
28
  }
27
- function u() {
28
- u = function() {
29
+ function f() {
30
+ f = function() {
29
31
  return e;
30
32
  };
31
33
  var e = {}, t = Object.prototype, n = t.hasOwnProperty, r = Object.defineProperty || function(e, t, n) {
@@ -48,9 +50,9 @@ function u() {
48
50
  }
49
51
  function l(e, t, n, i) {
50
52
  var a = t && t.prototype instanceof p ? t : p, o = Object.create(a.prototype);
51
- return r(o, "_invoke", { value: ee(e, n, new T(i || [])) }), o;
53
+ return r(o, "_invoke", { value: S(e, n, new T(i || [])) }), o;
52
54
  }
53
- function d(e, t, n) {
55
+ function u(e, t, n) {
54
56
  try {
55
57
  return {
56
58
  type: "normal",
@@ -64,7 +66,7 @@ function u() {
64
66
  }
65
67
  }
66
68
  e.wrap = l;
67
- var f = {};
69
+ var d = {};
68
70
  function p() {}
69
71
  function m() {}
70
72
  function h() {}
@@ -88,14 +90,14 @@ function u() {
88
90
  }
89
91
  function x(e, t) {
90
92
  function i(r, a, o, s) {
91
- var c = d(e[r], e, a);
93
+ var c = u(e[r], e, a);
92
94
  if (c.type !== "throw") {
93
- var l = c.arg, u = l.value;
94
- return u && typeof u == "object" && n.call(u, "__await") ? t.resolve(u.__await).then(function(e) {
95
+ var l = c.arg, d = l.value;
96
+ return d && typeof d == "object" && n.call(d, "__await") ? t.resolve(d.__await).then(function(e) {
95
97
  i("next", e, o, s);
96
98
  }, function(e) {
97
99
  i("throw", e, o, s);
98
- }) : t.resolve(u).then(function(e) {
100
+ }) : t.resolve(d).then(function(e) {
99
101
  l.value = e, o(l);
100
102
  }, function(e) {
101
103
  return i("throw", e, o, s);
@@ -113,20 +115,20 @@ function u() {
113
115
  return a = a ? a.then(r, r) : r();
114
116
  } });
115
117
  }
116
- function ee(e, t, n) {
118
+ function S(e, t, n) {
117
119
  var r = "suspendedStart";
118
120
  return function(i, a) {
119
121
  if (r === "executing") throw Error("Generator is already running");
120
122
  if (r === "completed") {
121
123
  if (i === "throw") throw a;
122
- return D();
124
+ return te();
123
125
  }
124
126
  for (n.method = i, n.arg = a;;) {
125
127
  var o = n.delegate;
126
128
  if (o) {
127
- var s = S(o, n);
129
+ var s = C(o, n);
128
130
  if (s) {
129
- if (s === f) continue;
131
+ if (s === d) continue;
130
132
  return s;
131
133
  }
132
134
  }
@@ -136,9 +138,9 @@ function u() {
136
138
  n.dispatchException(n.arg);
137
139
  } else n.method === "return" && n.abrupt("return", n.arg);
138
140
  r = "executing";
139
- var c = d(e, t, n);
141
+ var c = u(e, t, n);
140
142
  if (c.type === "normal") {
141
- if (r = n.done ? "completed" : "suspendedYield", c.arg === f) continue;
143
+ if (r = n.done ? "completed" : "suspendedYield", c.arg === d) continue;
142
144
  return {
143
145
  value: c.arg,
144
146
  done: n.done
@@ -148,15 +150,15 @@ function u() {
148
150
  }
149
151
  };
150
152
  }
151
- function S(e, t) {
153
+ function C(e, t) {
152
154
  var n = t.method, r = e.iterator[n];
153
- if (r === void 0) return t.delegate = null, n === "throw" && e.iterator.return && (t.method = "return", t.arg = void 0, S(e, t), t.method === "throw") || n !== "return" && (t.method = "throw", t.arg = /* @__PURE__ */ TypeError("The iterator does not provide a '" + n + "' method")), f;
154
- var i = d(r, e.iterator, t.arg);
155
- if (i.type === "throw") return t.method = "throw", t.arg = i.arg, t.delegate = null, f;
155
+ if (r === void 0) return t.delegate = null, n === "throw" && e.iterator.return && (t.method = "return", t.arg = void 0, C(e, t), t.method === "throw") || n !== "return" && (t.method = "throw", t.arg = /* @__PURE__ */ TypeError("The iterator does not provide a '" + n + "' method")), d;
156
+ var i = u(r, e.iterator, t.arg);
157
+ if (i.type === "throw") return t.method = "throw", t.arg = i.arg, t.delegate = null, d;
156
158
  var a = i.arg;
157
- return a ? a.done ? (t[e.resultName] = a.value, t.next = e.nextLoc, t.method !== "return" && (t.method = "next", t.arg = void 0), t.delegate = null, f) : a : (t.method = "throw", t.arg = /* @__PURE__ */ TypeError("iterator result is not an object"), t.delegate = null, f);
159
+ return a ? a.done ? (t[e.resultName] = a.value, t.next = e.nextLoc, t.method !== "return" && (t.method = "next", t.arg = void 0), t.delegate = null, d) : a : (t.method = "throw", t.arg = /* @__PURE__ */ TypeError("iterator result is not an object"), t.delegate = null, d);
158
160
  }
159
- function C(e) {
161
+ function ee(e) {
160
162
  var t = { tryLoc: e[0] };
161
163
  1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t);
162
164
  }
@@ -165,7 +167,7 @@ function u() {
165
167
  t.type = "normal", delete t.arg, e.completion = t;
166
168
  }
167
169
  function T(e) {
168
- this.tryEntries = [{ tryLoc: "root" }], e.forEach(C, this), this.reset(!0);
170
+ this.tryEntries = [{ tryLoc: "root" }], e.forEach(ee, this), this.reset(!0);
169
171
  }
170
172
  function E(e) {
171
173
  if (e) {
@@ -180,9 +182,9 @@ function u() {
180
182
  return i.next = i;
181
183
  }
182
184
  }
183
- return { next: D };
185
+ return { next: te };
184
186
  }
185
- function D() {
187
+ function te() {
186
188
  return {
187
189
  value: void 0,
188
190
  done: !0
@@ -267,16 +269,16 @@ function u() {
267
269
  }
268
270
  a && (e === "break" || e === "continue") && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
269
271
  var o = a ? a.completion : {};
270
- return o.type = e, o.arg = t, a ? (this.method = "next", this.next = a.finallyLoc, f) : this.complete(o);
272
+ return o.type = e, o.arg = t, a ? (this.method = "next", this.next = a.finallyLoc, d) : this.complete(o);
271
273
  },
272
274
  complete: function(e, t) {
273
275
  if (e.type === "throw") throw e.arg;
274
- return e.type === "break" || e.type === "continue" ? this.next = e.arg : e.type === "return" ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : e.type === "normal" && t && (this.next = t), f;
276
+ return e.type === "break" || e.type === "continue" ? this.next = e.arg : e.type === "return" ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : e.type === "normal" && t && (this.next = t), d;
275
277
  },
276
278
  finish: function(e) {
277
279
  for (var t = this.tryEntries.length - 1; t >= 0; --t) {
278
280
  var n = this.tryEntries[t];
279
- if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), w(n), f;
281
+ if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), w(n), d;
280
282
  }
281
283
  },
282
284
  catch: function(e) {
@@ -298,11 +300,11 @@ function u() {
298
300
  iterator: E(e),
299
301
  resultName: t,
300
302
  nextLoc: n
301
- }, this.method === "next" && (this.arg = void 0), f;
303
+ }, this.method === "next" && (this.arg = void 0), d;
302
304
  }
303
305
  }, e;
304
306
  }
305
- function d(e, t, n, r, i, a, o) {
307
+ function p(e, t, n, r, i, a, o) {
306
308
  try {
307
309
  var s = e[a](o), c = s.value;
308
310
  } catch (e) {
@@ -311,60 +313,60 @@ function d(e, t, n, r, i, a, o) {
311
313
  }
312
314
  s.done ? t(c) : Promise.resolve(c).then(r, i);
313
315
  }
314
- function f(e) {
316
+ function m(e) {
315
317
  return function() {
316
318
  var t = this, n = arguments;
317
319
  return new Promise(function(r, i) {
318
320
  var a = e.apply(t, n);
319
321
  function o(e) {
320
- d(a, r, i, o, s, "next", e);
322
+ p(a, r, i, o, s, "next", e);
321
323
  }
322
324
  function s(e) {
323
- d(a, r, i, o, s, "throw", e);
325
+ p(a, r, i, o, s, "throw", e);
324
326
  }
325
327
  o(void 0);
326
328
  });
327
329
  };
328
330
  }
329
- function p(e, t) {
331
+ function h(e, t) {
330
332
  if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
331
333
  }
332
- function m(e, t) {
334
+ function g(e, t) {
333
335
  for (var n = 0; n < t.length; n++) {
334
336
  var r = t[n];
335
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, D(r.key), r);
337
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, re(r.key), r);
336
338
  }
337
339
  }
338
- function h(e, t, n) {
339
- return t && m(e.prototype, t), n && m(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
340
+ function _(e, t, n) {
341
+ return t && g(e.prototype, t), n && g(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
340
342
  }
341
- function g(e, t, n) {
342
- return t = D(t), t in e ? Object.defineProperty(e, t, {
343
+ function v(e, t, n) {
344
+ return t = re(t), t in e ? Object.defineProperty(e, t, {
343
345
  value: n,
344
346
  enumerable: !0,
345
347
  configurable: !0,
346
348
  writable: !0
347
349
  }) : e[t] = n, e;
348
350
  }
349
- function _(e, t) {
351
+ function y(e, t) {
350
352
  if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
351
353
  e.prototype = Object.create(t && t.prototype, { constructor: {
352
354
  value: e,
353
355
  writable: !0,
354
356
  configurable: !0
355
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && y(e, t);
357
+ } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && x(e, t);
356
358
  }
357
- function v(e) {
358
- return v = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
359
+ function b(e) {
360
+ return b = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
359
361
  return e.__proto__ || Object.getPrototypeOf(e);
360
- }, v(e);
362
+ }, b(e);
361
363
  }
362
- function y(e, t) {
363
- return y = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
364
+ function x(e, t) {
365
+ return x = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
364
366
  return e.__proto__ = t, e;
365
- }, y(e, t);
367
+ }, x(e, t);
366
368
  }
367
- function b() {
369
+ function S() {
368
370
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
369
371
  if (typeof Proxy == "function") return !0;
370
372
  try {
@@ -373,20 +375,20 @@ function b() {
373
375
  return !1;
374
376
  }
375
377
  }
376
- function x(e, t, n) {
377
- return x = b() ? Reflect.construct.bind() : function(e, t, n) {
378
+ function C(e, t, n) {
379
+ return C = S() ? Reflect.construct.bind() : function(e, t, n) {
378
380
  var r = [null];
379
381
  r.push.apply(r, t);
380
382
  var i = new (Function.bind.apply(e, r))();
381
- return n && y(i, n.prototype), i;
382
- }, x.apply(null, arguments);
383
+ return n && x(i, n.prototype), i;
384
+ }, C.apply(null, arguments);
383
385
  }
384
386
  function ee(e) {
385
387
  return Function.toString.call(e).indexOf("[native code]") !== -1;
386
388
  }
387
- function S(e) {
389
+ function w(e) {
388
390
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
389
- return S = function(e) {
391
+ return w = function(e) {
390
392
  if (e === null || !ee(e)) return e;
391
393
  if (typeof e != "function") throw TypeError("Super expression must either be null or a function");
392
394
  if (t !== void 0) {
@@ -394,37 +396,37 @@ function S(e) {
394
396
  t.set(e, n);
395
397
  }
396
398
  function n() {
397
- return x(e, arguments, v(this).constructor);
399
+ return C(e, arguments, b(this).constructor);
398
400
  }
399
401
  return n.prototype = Object.create(e.prototype, { constructor: {
400
402
  value: n,
401
403
  enumerable: !1,
402
404
  writable: !0,
403
405
  configurable: !0
404
- } }), y(n, e);
405
- }, S(e);
406
+ } }), x(n, e);
407
+ }, w(e);
406
408
  }
407
- function C(e) {
409
+ function T(e) {
408
410
  if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
409
411
  return e;
410
412
  }
411
- function w(e, t) {
413
+ function E(e, t) {
412
414
  if (t && (typeof t == "object" || typeof t == "function")) return t;
413
415
  if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
414
- return C(e);
416
+ return T(e);
415
417
  }
416
- function T(e) {
417
- var t = b();
418
+ function te(e) {
419
+ var t = S();
418
420
  return function() {
419
- var n = v(e), r;
421
+ var n = b(e), r;
420
422
  if (t) {
421
- var i = v(this).constructor;
423
+ var i = b(this).constructor;
422
424
  r = Reflect.construct(n, arguments, i);
423
425
  } else r = n.apply(this, arguments);
424
- return w(this, r);
426
+ return E(this, r);
425
427
  };
426
428
  }
427
- function E(e, t) {
429
+ function ne(e, t) {
428
430
  if (typeof e != "object" || !e) return e;
429
431
  var n = e[Symbol.toPrimitive];
430
432
  if (n !== void 0) {
@@ -434,27 +436,27 @@ function E(e, t) {
434
436
  }
435
437
  return (t === "string" ? String : Number)(e);
436
438
  }
437
- function D(e) {
438
- var t = E(e, "string");
439
+ function re(e) {
440
+ var t = ne(e, "string");
439
441
  return typeof t == "symbol" ? t : String(t);
440
442
  }
441
- var te = typeof global < "u" && {}.toString.call(global) === "[object global]";
442
- function ne(e, t) {
443
+ var ie = typeof global < "u" && {}.toString.call(global) === "[object global]";
444
+ function ae(e, t) {
443
445
  return e.indexOf(t.toLowerCase()) === 0 ? e : `${t.toLowerCase()}${e.substr(0, 1).toUpperCase()}${e.substr(1)}`;
444
446
  }
445
- function re(e) {
447
+ function oe(e) {
446
448
  return !!(e && e.nodeType === 1 && "nodeName" in e && e.ownerDocument && e.ownerDocument.defaultView);
447
449
  }
448
- function ie(e) {
450
+ function se(e) {
449
451
  return !isNaN(parseFloat(e)) && isFinite(e) && Math.floor(e) == e;
450
452
  }
451
- function O(e) {
453
+ function D(e) {
452
454
  return /^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e);
453
455
  }
454
- function ae(e) {
456
+ function ce(e) {
455
457
  return /^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e);
456
458
  }
457
- function oe(e) {
459
+ function le(e) {
458
460
  for (var t = (e || "").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/), n = (t && t[1] || "").replace("player.", ""), r = [
459
461
  ".videoji.hk",
460
462
  ".vimeo.work",
@@ -465,14 +467,14 @@ function oe(e) {
465
467
  }
466
468
  return "vimeo.com";
467
469
  }
468
- function se() {
470
+ function ue() {
469
471
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.id, n = e.url, r = t || n;
470
472
  if (!r) throw Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");
471
- if (ie(r)) return `https://vimeo.com/${r}`;
472
- if (O(r)) return r.replace("http:", "https:");
473
+ if (se(r)) return `https://vimeo.com/${r}`;
474
+ if (D(r)) return r.replace("http:", "https:");
473
475
  throw TypeError(t ? `“${t}” is not a valid video id.` : `“${r}” is not a vimeo.com url.`);
474
476
  }
475
- var ce = function(e, t, n) {
477
+ var de = function(e, t, n) {
476
478
  var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "addEventListener", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : "removeEventListener", a = typeof t == "string" ? [t] : t;
477
479
  return a.forEach(function(t) {
478
480
  e[r](t, n);
@@ -481,10 +483,10 @@ var ce = function(e, t, n) {
481
483
  return e[i](t, n);
482
484
  });
483
485
  } };
484
- }, le = Array.prototype.indexOf !== void 0, ue = typeof window < "u" && window.postMessage !== void 0;
485
- if (!te && (!le || !ue)) throw Error("Sorry, the Vimeo Player API is not available in this browser.");
486
- var de = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
487
- function fe(e, t) {
486
+ }, fe = Array.prototype.indexOf !== void 0, pe = typeof window < "u" && window.postMessage !== void 0;
487
+ if (!ie && (!fe || !pe)) throw Error("Sorry, the Vimeo Player API is not available in this browser.");
488
+ var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
489
+ function he(e, t) {
488
490
  return t = { exports: {} }, e(t, t.exports), t.exports;
489
491
  }
490
492
  (function(e) {
@@ -537,11 +539,11 @@ function fe(e, t) {
537
539
  function i(e) {
538
540
  return Object(e) === e;
539
541
  }
540
- })(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : de);
541
- var k = fe(function(e) {
542
+ })(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : me);
543
+ var O = he(function(e) {
542
544
  (function(t, n, r) {
543
545
  n[t] = n[t] || r(), e.exports && (e.exports = n[t]);
544
- })("Promise", de, function() {
546
+ })("Promise", me, function() {
545
547
  var e, t, n, r = Object.prototype.toString, i = typeof setImmediate < "u" ? function(e) {
546
548
  return setImmediate(e);
547
549
  } : setTimeout;
@@ -689,32 +691,32 @@ var k = fe(function(e) {
689
691
  }) : t.reject(TypeError("Not an array"));
690
692
  }), m;
691
693
  });
692
- }), A = /* @__PURE__ */ new WeakMap();
693
- function j(e, t, n) {
694
- var r = A.get(e.element) || {};
695
- t in r || (r[t] = []), r[t].push(n), A.set(e.element, r);
694
+ }), k = /* @__PURE__ */ new WeakMap();
695
+ function A(e, t, n) {
696
+ var r = k.get(e.element) || {};
697
+ t in r || (r[t] = []), r[t].push(n), k.set(e.element, r);
696
698
  }
697
- function M(e, t) {
698
- return (A.get(e.element) || {})[t] || [];
699
+ function j(e, t) {
700
+ return (k.get(e.element) || {})[t] || [];
699
701
  }
700
- function N(e, t, n) {
701
- var r = A.get(e.element) || {};
702
+ function M(e, t, n) {
703
+ var r = k.get(e.element) || {};
702
704
  if (!r[t]) return !0;
703
- if (!n) return r[t] = [], A.set(e.element, r), !0;
705
+ if (!n) return r[t] = [], k.set(e.element, r), !0;
704
706
  var i = r[t].indexOf(n);
705
- return i !== -1 && r[t].splice(i, 1), A.set(e.element, r), r[t] && r[t].length === 0;
707
+ return i !== -1 && r[t].splice(i, 1), k.set(e.element, r), r[t] && r[t].length === 0;
706
708
  }
707
- function pe(e, t) {
708
- var n = M(e, t);
709
+ function ge(e, t) {
710
+ var n = j(e, t);
709
711
  if (n.length < 1) return !1;
710
712
  var r = n.shift();
711
- return N(e, t, r), r;
713
+ return M(e, t, r), r;
712
714
  }
713
- function me(e, t) {
714
- var n = A.get(e);
715
- A.set(t, n), A.delete(e);
715
+ function _e(e, t) {
716
+ var n = k.get(e);
717
+ k.set(t, n), k.delete(e);
716
718
  }
717
- function P(e) {
719
+ function N(e) {
718
720
  if (typeof e == "string") try {
719
721
  e = JSON.parse(e);
720
722
  } catch (e) {
@@ -722,7 +724,7 @@ function P(e) {
722
724
  }
723
725
  return e;
724
726
  }
725
- function F(e, t, n) {
727
+ function P(e, t, n) {
726
728
  if (!(!e.element.contentWindow || !e.element.contentWindow.postMessage)) {
727
729
  var r = { method: t };
728
730
  n !== void 0 && (r.value = n);
@@ -730,15 +732,15 @@ function F(e, t, n) {
730
732
  i >= 8 && i < 10 && (r = JSON.stringify(r)), e.element.contentWindow.postMessage(r, e.origin);
731
733
  }
732
734
  }
733
- function he(e, t) {
734
- t = P(t);
735
+ function ve(e, t) {
736
+ t = N(t);
735
737
  var n = [], r;
736
- if (t.event) t.event === "error" && M(e, t.data.method).forEach(function(n) {
738
+ if (t.event) t.event === "error" && j(e, t.data.method).forEach(function(n) {
737
739
  var r = Error(t.data.message);
738
- r.name = t.data.name, n.reject(r), N(e, t.data.method, n);
739
- }), n = M(e, `event:${t.event}`), r = t.data;
740
+ r.name = t.data.name, n.reject(r), M(e, t.data.method, n);
741
+ }), n = j(e, `event:${t.event}`), r = t.data;
740
742
  else if (t.method) {
741
- var i = pe(e, t.method);
743
+ var i = ge(e, t.method);
742
744
  i && (n.push(i), r = t.value);
743
745
  }
744
746
  n.forEach(function(t) {
@@ -751,26 +753,26 @@ function he(e, t) {
751
753
  } catch {}
752
754
  });
753
755
  }
754
- var ge = /* @__PURE__ */ "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".split(".");
755
- function _e(e) {
756
+ var ye = /* @__PURE__ */ "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".split(".");
757
+ function be(e) {
756
758
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
757
- return ge.reduce(function(t, n) {
759
+ return ye.reduce(function(t, n) {
758
760
  var r = e.getAttribute(`data-vimeo-${n}`);
759
761
  return (r || r === "") && (t[n] = r === "" ? 1 : r), t;
760
762
  }, t);
761
763
  }
762
- function ve(e, t) {
764
+ function xe(e, t) {
763
765
  var n = e.html;
764
766
  if (!t) throw TypeError("An element must be provided");
765
767
  if (t.getAttribute("data-vimeo-initialized") !== null) return t.querySelector("iframe");
766
768
  var r = document.createElement("div");
767
769
  return r.innerHTML = n, t.appendChild(r.firstChild), t.setAttribute("data-vimeo-initialized", "true"), t.querySelector("iframe");
768
770
  }
769
- function ye(e) {
771
+ function Se(e) {
770
772
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
771
773
  return new Promise(function(r, i) {
772
- if (!O(e)) throw TypeError(`“${e}” is not a vimeo.com url.`);
773
- var a = `https://${oe(e)}/api/oembed.json?url=${encodeURIComponent(e)}`;
774
+ if (!D(e)) throw TypeError(`“${e}” is not a vimeo.com url.`);
775
+ var a = `https://${le(e)}/api/oembed.json?url=${encodeURIComponent(e)}`;
774
776
  for (var o in t) t.hasOwnProperty(o) && (a += `&${o}=${encodeURIComponent(t[o])}`);
775
777
  var s = "XDomainRequest" in window ? new XDomainRequest() : new XMLHttpRequest();
776
778
  s.open("GET", a, !0), s.onload = function() {
@@ -785,7 +787,7 @@ function ye(e) {
785
787
  try {
786
788
  var t = JSON.parse(s.responseText);
787
789
  if (t.domain_status_code === 403) {
788
- ve(t, n), i(/* @__PURE__ */ Error(`“${e}” is not embeddable.`));
790
+ xe(t, n), i(/* @__PURE__ */ Error(`“${e}” is not embeddable.`));
789
791
  return;
790
792
  }
791
793
  r(t);
@@ -798,26 +800,26 @@ function ye(e) {
798
800
  }, s.send();
799
801
  });
800
802
  }
801
- function be() {
803
+ function Ce() {
802
804
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document, t = [].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")), n = function(e) {
803
805
  "console" in window && console.error && console.error(`There was an error creating an embed: ${e}`);
804
806
  };
805
807
  t.forEach(function(e) {
806
808
  try {
807
809
  if (e.getAttribute("data-vimeo-defer") !== null) return;
808
- var t = _e(e);
809
- ye(se(t), t, e).then(function(t) {
810
- return ve(t, e);
810
+ var t = be(e);
811
+ Se(ue(t), t, e).then(function(t) {
812
+ return xe(t, e);
811
813
  }).catch(n);
812
814
  } catch (e) {
813
815
  n(e);
814
816
  }
815
817
  });
816
818
  }
817
- function xe() {
819
+ function we() {
818
820
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
819
821
  window.VimeoPlayerResizeEmbeds_ || (window.VimeoPlayerResizeEmbeds_ = !0, window.addEventListener("message", function(t) {
820
- if (O(t.origin) && !(!t.data || t.data.event !== "spacechange")) {
822
+ if (D(t.origin) && !(!t.data || t.data.event !== "spacechange")) {
821
823
  for (var n = e.querySelectorAll("iframe"), r = 0; r < n.length; r++) if (n[r].contentWindow === t.source) {
822
824
  var i = n[r].parentElement;
823
825
  i.style.paddingBottom = `${t.data.data[0].bottom}px`;
@@ -826,19 +828,19 @@ function xe() {
826
828
  }
827
829
  }));
828
830
  }
829
- function Se() {
831
+ function Te() {
830
832
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
831
833
  window.VimeoSeoMetadataAppended || (window.VimeoSeoMetadataAppended = !0, window.addEventListener("message", function(t) {
832
- if (O(t.origin)) {
833
- var n = P(t.data);
834
+ if (D(t.origin)) {
835
+ var n = N(t.data);
834
836
  if (!(!n || n.event !== "ready")) for (var r = e.querySelectorAll("iframe"), i = 0; i < r.length; i++) {
835
837
  var a = r[i], o = a.contentWindow === t.source;
836
- ae(a.src) && o && new Oe(a).callMethod("appendVideoMetadata", window.location.href);
838
+ ce(a.src) && o && new je(a).callMethod("appendVideoMetadata", window.location.href);
837
839
  }
838
840
  }
839
841
  }));
840
842
  }
841
- function Ce() {
843
+ function Ee() {
842
844
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
843
845
  if (!window.VimeoCheckedUrlTimeParam) {
844
846
  window.VimeoCheckedUrlTimeParam = !0;
@@ -846,12 +848,12 @@ function Ce() {
846
848
  "console" in window && console.error && console.error(`There was an error getting video Id: ${e}`);
847
849
  };
848
850
  window.addEventListener("message", function(n) {
849
- if (O(n.origin)) {
850
- var r = P(n.data);
851
+ if (D(n.origin)) {
852
+ var r = N(n.data);
851
853
  if (!(!r || r.event !== "ready")) for (var i = e.querySelectorAll("iframe"), a = function() {
852
854
  var e = i[o], r = e.contentWindow === n.source;
853
- if (ae(e.src) && r) {
854
- var a = new Oe(e);
855
+ if (ce(e.src) && r) {
856
+ var a = new je(e);
855
857
  a.getVideoId().then(function(e) {
856
858
  var t = RegExp(`[?&]vimeo_t_${e}=([^&#]*)`).exec(window.location.href);
857
859
  if (t && t[1]) {
@@ -865,7 +867,7 @@ function Ce() {
865
867
  });
866
868
  }
867
869
  }
868
- function we() {
870
+ function De() {
869
871
  var e = function() {
870
872
  for (var e, t = [
871
873
  [
@@ -968,7 +970,7 @@ function we() {
968
970
  }
969
971
  }), n;
970
972
  }
971
- var Te = {
973
+ var Oe = {
972
974
  role: "viewer",
973
975
  autoPlayMuted: !0,
974
976
  allowedDrift: .3,
@@ -976,15 +978,15 @@ var Te = {
976
978
  minCheckInterval: .1,
977
979
  maxRateAdjustment: .2,
978
980
  maxTimeToCatchUp: 1
979
- }, Ee = /*#__PURE__*/ function(e) {
980
- _(n, e);
981
- var t = T(n);
981
+ }, ke = /*#__PURE__*/ function(e) {
982
+ y(n, e);
983
+ var t = te(n);
982
984
  function n(e, r) {
983
985
  var i, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = arguments.length > 3 ? arguments[3] : void 0;
984
- return p(this, n), i = t.call(this), g(C(i), "logger", void 0), g(C(i), "speedAdjustment", 0), g(C(i), "adjustSpeed", /*#__PURE__*/ function() {
985
- var e = f(/*#__PURE__*/ u().mark(function e(t, n) {
986
+ return h(this, n), i = t.call(this), v(T(i), "logger", void 0), v(T(i), "speedAdjustment", 0), v(T(i), "adjustSpeed", /*#__PURE__*/ function() {
987
+ var e = m(/*#__PURE__*/ f().mark(function e(t, n) {
986
988
  var r;
987
- return u().wrap(function(e) {
989
+ return f().wrap(function(e) {
988
990
  for (;;) switch (e.prev = e.next) {
989
991
  case 0:
990
992
  if (i.speedAdjustment !== n) {
@@ -1003,9 +1005,9 @@ var Te = {
1003
1005
  return function(t, n) {
1004
1006
  return e.apply(this, arguments);
1005
1007
  };
1006
- }()), i.logger = o, i.init(r, e, l(l({}, Te), a)), i;
1008
+ }()), i.logger = o, i.init(r, e, d(d({}, Oe), a)), i;
1007
1009
  }
1008
- return h(n, [
1010
+ return _(n, [
1009
1011
  {
1010
1012
  key: "disconnect",
1011
1013
  value: function() {
@@ -1015,9 +1017,9 @@ var Te = {
1015
1017
  {
1016
1018
  key: "init",
1017
1019
  value: function() {
1018
- var e = f(/*#__PURE__*/ u().mark(function e(t, n, r) {
1020
+ var e = m(/*#__PURE__*/ f().mark(function e(t, n, r) {
1019
1021
  var i = this, a, o, s;
1020
- return u().wrap(function(e) {
1022
+ return f().wrap(function(e) {
1021
1023
  for (;;) switch (e.prev = e.next) {
1022
1024
  case 0: return e.next = 2, this.waitForTOReadyState(t, "open");
1023
1025
  case 2:
@@ -1027,14 +1029,14 @@ var Te = {
1027
1029
  }
1028
1030
  return e.next = 5, this.updatePlayer(t, n, r);
1029
1031
  case 5:
1030
- a = ce(t, "change", function() {
1032
+ a = de(t, "change", function() {
1031
1033
  return i.updatePlayer(t, n, r);
1032
1034
  }), o = this.maintainPlaybackPosition(t, n, r), this.addEventListener("disconnect", function() {
1033
1035
  o.cancel(), a.cancel();
1034
1036
  }), e.next = 14;
1035
1037
  break;
1036
1038
  case 10: return e.next = 12, this.updateTimingObject(t, n);
1037
- case 12: s = ce(n, [
1039
+ case 12: s = de(n, [
1038
1040
  "seeked",
1039
1041
  "play",
1040
1042
  "pause",
@@ -1058,8 +1060,8 @@ var Te = {
1058
1060
  {
1059
1061
  key: "updateTimingObject",
1060
1062
  value: function() {
1061
- var e = f(/*#__PURE__*/ u().mark(function e(t, n) {
1062
- return u().wrap(function(e) {
1063
+ var e = m(/*#__PURE__*/ f().mark(function e(t, n) {
1064
+ return f().wrap(function(e) {
1063
1065
  for (;;) switch (e.prev = e.next) {
1064
1066
  case 0: return e.t0 = t, e.next = 3, n.getCurrentTime();
1065
1067
  case 3: return e.t1 = e.sent, e.next = 6, n.getPaused();
@@ -1090,9 +1092,9 @@ var Te = {
1090
1092
  {
1091
1093
  key: "updatePlayer",
1092
1094
  value: function() {
1093
- var e = f(/*#__PURE__*/ u().mark(function e(t, n, r) {
1095
+ var e = m(/*#__PURE__*/ f().mark(function e(t, n, r) {
1094
1096
  var i, a, o;
1095
- return u().wrap(function(e) {
1097
+ return f().wrap(function(e) {
1096
1098
  for (;;) switch (e.prev = e.next) {
1097
1099
  case 0:
1098
1100
  if (i = t.query(), a = i.position, o = i.velocity, typeof a == "number" && n.setCurrentTime(a), typeof o != "number") {
@@ -1125,8 +1127,8 @@ var Te = {
1125
1127
  break;
1126
1128
  }
1127
1129
  return e.next = 18, n.play().catch(/*#__PURE__*/ function() {
1128
- var e = f(/*#__PURE__*/ u().mark(function e(t) {
1129
- return u().wrap(function(e) {
1130
+ var e = m(/*#__PURE__*/ f().mark(function e(t) {
1131
+ return f().wrap(function(e) {
1130
1132
  for (;;) switch (e.prev = e.next) {
1131
1133
  case 0:
1132
1134
  if (!(t.name === "NotAllowedError" && r.autoPlayMuted)) {
@@ -1168,10 +1170,10 @@ var Te = {
1168
1170
  {
1169
1171
  key: "maintainPlaybackPosition",
1170
1172
  value: function(e, t, n) {
1171
- var r = this, i = n.allowedDrift, a = n.maxAllowedDrift, o = n.minCheckInterval, s = n.maxRateAdjustment, c = n.maxTimeToCatchUp, l = Math.min(c, Math.max(o, a)) * 1e3, d = /*#__PURE__*/ function() {
1172
- var n = f(/*#__PURE__*/ u().mark(function n() {
1173
- var o, l, d, f, p;
1174
- return u().wrap(function(n) {
1173
+ var r = this, i = n.allowedDrift, a = n.maxAllowedDrift, o = n.minCheckInterval, s = n.maxRateAdjustment, c = n.maxTimeToCatchUp, l = Math.min(c, Math.max(o, a)) * 1e3, u = /*#__PURE__*/ function() {
1174
+ var n = m(/*#__PURE__*/ f().mark(function n() {
1175
+ var o, l, u, d, p;
1176
+ return f().wrap(function(n) {
1175
1177
  for (;;) switch (n.prev = n.next) {
1176
1178
  case 0:
1177
1179
  if (n.t0 = e.query().velocity === 0, n.t0) {
@@ -1201,7 +1203,7 @@ var Te = {
1201
1203
  n.next = 29;
1202
1204
  break;
1203
1205
  }
1204
- return d = l / c, f = s, p = d < f ? (f - d) / 2 : f, n.next = 28, r.adjustSpeed(t, p * Math.sign(o));
1206
+ return u = l / c, d = s, p = u < d ? (d - u) / 2 : d, n.next = 28, r.adjustSpeed(t, p * Math.sign(o));
1205
1207
  case 28: r.log("Resync by playbackRate");
1206
1208
  case 29:
1207
1209
  case "end": return n.stop();
@@ -1211,11 +1213,11 @@ var Te = {
1211
1213
  return function() {
1212
1214
  return n.apply(this, arguments);
1213
1215
  };
1214
- }(), p = setInterval(function() {
1215
- return d();
1216
+ }(), d = setInterval(function() {
1217
+ return u();
1216
1218
  }, l);
1217
1219
  return { cancel: function() {
1218
- return clearInterval(p);
1220
+ return clearInterval(d);
1219
1221
  } };
1220
1222
  }
1221
1223
  },
@@ -1237,22 +1239,22 @@ var Te = {
1237
1239
  }
1238
1240
  }
1239
1241
  ]), n;
1240
- }(/*#__PURE__*/ S(EventTarget)), I = /* @__PURE__ */ new WeakMap(), De = /* @__PURE__ */ new WeakMap(), L = {}, Oe = /*#__PURE__*/ function() {
1242
+ }(/*#__PURE__*/ w(EventTarget)), F = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), I = {}, je = /*#__PURE__*/ function() {
1241
1243
  function e(t) {
1242
1244
  var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1243
- if (p(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]), typeof document < "u" && typeof t == "string" && (t = document.getElementById(t)), !re(t)) throw TypeError("You must pass either a valid element or a valid id.");
1245
+ if (h(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]), typeof document < "u" && typeof t == "string" && (t = document.getElementById(t)), !oe(t)) throw TypeError("You must pass either a valid element or a valid id.");
1244
1246
  if (t.nodeName !== "IFRAME") {
1245
1247
  var i = t.querySelector("iframe");
1246
1248
  i && (t = i);
1247
1249
  }
1248
- if (t.nodeName === "IFRAME" && !O(t.getAttribute("src") || "")) throw Error("The player element passed isn’t a Vimeo embed.");
1249
- if (I.has(t)) return I.get(t);
1250
+ if (t.nodeName === "IFRAME" && !D(t.getAttribute("src") || "")) throw Error("The player element passed isn’t a Vimeo embed.");
1251
+ if (F.has(t)) return F.get(t);
1250
1252
  this._window = t.ownerDocument.defaultView, this.element = t, this.origin = "*";
1251
- var a = new k(function(e, i) {
1253
+ var a = new O(function(e, i) {
1252
1254
  if (n._onMessage = function(t) {
1253
- if (!(!O(t.origin) || n.element.contentWindow !== t.source)) {
1255
+ if (!(!D(t.origin) || n.element.contentWindow !== t.source)) {
1254
1256
  n.origin === "*" && (n.origin = t.origin);
1255
- var r = P(t.data);
1257
+ var r = N(t.data);
1256
1258
  if (r && r.event === "error" && r.data && r.data.method === "ready") {
1257
1259
  var a = Error(r.data.message);
1258
1260
  a.name = r.data.name, i(a);
@@ -1263,40 +1265,40 @@ var Te = {
1263
1265
  n.element.setAttribute("data-ready", "true"), e();
1264
1266
  return;
1265
1267
  }
1266
- he(n, r);
1268
+ ve(n, r);
1267
1269
  }
1268
1270
  }, n._window.addEventListener("message", n._onMessage), n.element.nodeName !== "IFRAME") {
1269
- var a = _e(t, r);
1270
- ye(se(a), a, t).then(function(e) {
1271
- var r = ve(e, t);
1272
- return n.element = r, n._originalElement = t, me(t, r), I.set(n.element, n), e;
1271
+ var a = be(t, r);
1272
+ Se(ue(a), a, t).then(function(e) {
1273
+ var r = xe(e, t);
1274
+ return n.element = r, n._originalElement = t, _e(t, r), F.set(n.element, n), e;
1273
1275
  }).catch(i);
1274
1276
  }
1275
1277
  });
1276
- if (De.set(this, a), I.set(this.element, this), this.element.nodeName === "IFRAME" && F(this, "ping"), L.isEnabled) {
1278
+ if (Ae.set(this, a), F.set(this.element, this), this.element.nodeName === "IFRAME" && P(this, "ping"), I.isEnabled) {
1277
1279
  var o = function() {
1278
- return L.exit();
1280
+ return I.exit();
1279
1281
  };
1280
1282
  this.fullscreenchangeHandler = function() {
1281
- L.isFullscreen ? j(n, "event:exitFullscreen", o) : N(n, "event:exitFullscreen", o), n.ready().then(function() {
1282
- F(n, "fullscreenchange", L.isFullscreen);
1283
+ I.isFullscreen ? A(n, "event:exitFullscreen", o) : M(n, "event:exitFullscreen", o), n.ready().then(function() {
1284
+ P(n, "fullscreenchange", I.isFullscreen);
1283
1285
  });
1284
- }, L.on("fullscreenchange", this.fullscreenchangeHandler);
1286
+ }, I.on("fullscreenchange", this.fullscreenchangeHandler);
1285
1287
  }
1286
1288
  return this;
1287
1289
  }
1288
- return h(e, [
1290
+ return _(e, [
1289
1291
  {
1290
1292
  key: "callMethod",
1291
1293
  value: function(e) {
1292
1294
  var t = this, n = [...arguments].slice(1);
1293
1295
  if (e == null) throw TypeError("You must pass a method name.");
1294
- return new k(function(r, i) {
1296
+ return new O(function(r, i) {
1295
1297
  return t.ready().then(function() {
1296
- j(t, e, {
1298
+ A(t, e, {
1297
1299
  resolve: r,
1298
1300
  reject: i
1299
- }), F(t, e, n);
1301
+ }), P(t, e, n);
1300
1302
  }).catch(i);
1301
1303
  });
1302
1304
  }
@@ -1305,12 +1307,12 @@ var Te = {
1305
1307
  key: "get",
1306
1308
  value: function(e) {
1307
1309
  var t = this;
1308
- return new k(function(n, r) {
1309
- return e = ne(e, "get"), t.ready().then(function() {
1310
- j(t, e, {
1310
+ return new O(function(n, r) {
1311
+ return e = ae(e, "get"), t.ready().then(function() {
1312
+ A(t, e, {
1311
1313
  resolve: n,
1312
1314
  reject: r
1313
- }), F(t, e);
1315
+ }), P(t, e);
1314
1316
  }).catch(r);
1315
1317
  });
1316
1318
  }
@@ -1319,13 +1321,13 @@ var Te = {
1319
1321
  key: "set",
1320
1322
  value: function(e, t) {
1321
1323
  var n = this;
1322
- return new k(function(r, i) {
1323
- if (e = ne(e, "set"), t == null) throw TypeError("There must be a value to set.");
1324
+ return new O(function(r, i) {
1325
+ if (e = ae(e, "set"), t == null) throw TypeError("There must be a value to set.");
1324
1326
  return n.ready().then(function() {
1325
- j(n, e, {
1327
+ A(n, e, {
1326
1328
  resolve: r,
1327
1329
  reject: i
1328
- }), F(n, e, t);
1330
+ }), P(n, e, t);
1329
1331
  }).catch(i);
1330
1332
  });
1331
1333
  }
@@ -1336,7 +1338,7 @@ var Te = {
1336
1338
  if (!e) throw TypeError("You must pass an event name.");
1337
1339
  if (!t) throw TypeError("You must pass a callback function.");
1338
1340
  if (typeof t != "function") throw TypeError("The callback must be a function.");
1339
- M(this, `event:${e}`).length === 0 && this.callMethod("addEventListener", e).catch(function() {}), j(this, `event:${e}`, t);
1341
+ j(this, `event:${e}`).length === 0 && this.callMethod("addEventListener", e).catch(function() {}), A(this, `event:${e}`, t);
1340
1342
  }
1341
1343
  },
1342
1344
  {
@@ -1344,7 +1346,7 @@ var Te = {
1344
1346
  value: function(e, t) {
1345
1347
  if (!e) throw TypeError("You must pass an event name.");
1346
1348
  if (t && typeof t != "function") throw TypeError("The callback must be a function.");
1347
- N(this, `event:${e}`, t) && this.callMethod("removeEventListener", e).catch(function(e) {});
1349
+ M(this, `event:${e}`, t) && this.callMethod("removeEventListener", e).catch(function(e) {});
1348
1350
  }
1349
1351
  },
1350
1352
  {
@@ -1356,10 +1358,10 @@ var Te = {
1356
1358
  {
1357
1359
  key: "ready",
1358
1360
  value: function() {
1359
- var e = De.get(this) || new k(function(e, t) {
1361
+ var e = Ae.get(this) || new O(function(e, t) {
1360
1362
  t(/* @__PURE__ */ Error("Unknown player. Probably unloaded."));
1361
1363
  });
1362
- return k.resolve(e);
1364
+ return O.resolve(e);
1363
1365
  }
1364
1366
  },
1365
1367
  {
@@ -1409,19 +1411,19 @@ var Te = {
1409
1411
  {
1410
1412
  key: "requestFullscreen",
1411
1413
  value: function() {
1412
- return L.isEnabled ? L.request(this.element) : this.callMethod("requestFullscreen");
1414
+ return I.isEnabled ? I.request(this.element) : this.callMethod("requestFullscreen");
1413
1415
  }
1414
1416
  },
1415
1417
  {
1416
1418
  key: "exitFullscreen",
1417
1419
  value: function() {
1418
- return L.isEnabled ? L.exit() : this.callMethod("exitFullscreen");
1420
+ return I.isEnabled ? I.exit() : this.callMethod("exitFullscreen");
1419
1421
  }
1420
1422
  },
1421
1423
  {
1422
1424
  key: "getFullscreen",
1423
1425
  value: function() {
1424
- return L.isEnabled ? k.resolve(L.isFullscreen) : this.get("fullscreen");
1426
+ return I.isEnabled ? O.resolve(I.isFullscreen) : this.get("fullscreen");
1425
1427
  }
1426
1428
  },
1427
1429
  {
@@ -1458,13 +1460,13 @@ var Te = {
1458
1460
  key: "destroy",
1459
1461
  value: function() {
1460
1462
  var e = this;
1461
- return new k(function(t) {
1462
- if (De.delete(e), I.delete(e.element), e._originalElement && (I.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) {
1463
+ return new O(function(t) {
1464
+ if (Ae.delete(e), F.delete(e.element), e._originalElement && (F.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) {
1463
1465
  e.element.removeAttribute("data-vimeo-initialized");
1464
1466
  var n = e.element.querySelector("iframe");
1465
1467
  n && n.parentNode && (n.parentNode.parentNode && e._originalElement && e._originalElement !== n.parentNode ? n.parentNode.parentNode.removeChild(n.parentNode) : n.parentNode.removeChild(n));
1466
1468
  }
1467
- e._window.removeEventListener("message", e._onMessage), L.isEnabled && L.off("fullscreenchange", e.fullscreenchangeHandler), t();
1469
+ e._window.removeEventListener("message", e._onMessage), I.isEnabled && I.off("fullscreenchange", e.fullscreenchangeHandler), t();
1468
1470
  });
1469
1471
  }
1470
1472
  },
@@ -1519,7 +1521,7 @@ var Te = {
1519
1521
  {
1520
1522
  key: "getColors",
1521
1523
  value: function() {
1522
- return k.all([
1524
+ return O.all([
1523
1525
  this.get("colorOne"),
1524
1526
  this.get("colorTwo"),
1525
1527
  this.get("colorThree"),
@@ -1536,10 +1538,10 @@ var Te = {
1536
1538
  {
1537
1539
  key: "setColors",
1538
1540
  value: function(e) {
1539
- if (!Array.isArray(e)) return new k(function(e, t) {
1541
+ if (!Array.isArray(e)) return new O(function(e, t) {
1540
1542
  return t(/* @__PURE__ */ TypeError("Argument must be an array."));
1541
1543
  });
1542
- var t = new k(function(e) {
1544
+ var t = new O(function(e) {
1543
1545
  return e(null);
1544
1546
  }), n = [
1545
1547
  e[0] ? this.set("colorOne", e[0]) : t,
@@ -1547,7 +1549,7 @@ var Te = {
1547
1549
  e[2] ? this.set("colorThree", e[2]) : t,
1548
1550
  e[3] ? this.set("colorFour", e[3]) : t
1549
1551
  ];
1550
- return k.all(n);
1552
+ return O.all(n);
1551
1553
  }
1552
1554
  },
1553
1555
  {
@@ -1727,9 +1729,9 @@ var Te = {
1727
1729
  {
1728
1730
  key: "setTimingSrc",
1729
1731
  value: function() {
1730
- var e = f(/*#__PURE__*/ u().mark(function e(t, n) {
1732
+ var e = m(/*#__PURE__*/ f().mark(function e(t, n) {
1731
1733
  var r = this, i;
1732
- return u().wrap(function(e) {
1734
+ return f().wrap(function(e) {
1733
1735
  for (;;) switch (e.prev = e.next) {
1734
1736
  case 0:
1735
1737
  if (t) {
@@ -1738,8 +1740,8 @@ var Te = {
1738
1740
  }
1739
1741
  throw TypeError("A Timing Object must be provided.");
1740
1742
  case 2: return e.next = 4, this.ready();
1741
- case 4: return i = new Ee(this, t, n), F(this, "notifyTimingObjectConnect"), i.addEventListener("disconnect", function() {
1742
- return F(r, "notifyTimingObjectDisconnect");
1743
+ case 4: return i = new ke(this, t, n), P(this, "notifyTimingObjectConnect"), i.addEventListener("disconnect", function() {
1744
+ return P(r, "notifyTimingObjectDisconnect");
1743
1745
  }), e.abrupt("return", i);
1744
1746
  case 8:
1745
1747
  case "end": return e.stop();
@@ -1754,14 +1756,14 @@ var Te = {
1754
1756
  }
1755
1757
  ]), e;
1756
1758
  }();
1757
- te || (L = we(), be(), xe(), Se(), Ce());
1759
+ ie || (I = De(), Ce(), we(), Te(), Ee());
1758
1760
  //#endregion
1759
1761
  //#region ../../node_modules/.pnpm/vimeo-video-element@1.7.2/node_modules/vimeo-video-element/dist/vimeo-video-element.js
1760
- var ke, Ae = "https://player.vimeo.com/video", je = "https://vimeo.com/event", Me = /vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;
1761
- function Ne(e, t = {}) {
1762
+ var Me, Ne = "https://player.vimeo.com/video", Pe = "https://vimeo.com/event", Fe = /vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;
1763
+ function Ie(e, t = {}) {
1762
1764
  var n;
1763
1765
  let r = {
1764
- src: Pe(e, t),
1766
+ src: Le(e, t),
1765
1767
  frameborder: 0,
1766
1768
  width: "100%",
1767
1769
  height: "100%",
@@ -1784,13 +1786,13 @@ function Ne(e, t = {}) {
1784
1786
  pointer-events: none;
1785
1787
  }
1786
1788
  </style>
1787
- <iframe${Be(r)}></iframe>
1789
+ <iframe${He(r)}></iframe>
1788
1790
  `;
1789
1791
  }
1790
- function Pe(e, t) {
1792
+ function Le(e, t) {
1791
1793
  var n;
1792
1794
  if (!e.src) return;
1793
- let r = new URL(e.src), i = e.src.match(Me), a = i == null ? void 0 : i[1], o = i == null ? void 0 : i[2], s = r.searchParams.get("h") || (i == null ? void 0 : i[3]), c = {
1795
+ let r = new URL(e.src), i = e.src.match(Fe), a = i == null ? void 0 : i[1], o = i == null ? void 0 : i[2], s = r.searchParams.get("h") || (i == null ? void 0 : i[3]), c = {
1794
1796
  controls: e.controls === "" ? null : 0,
1795
1797
  autoplay: e.autoplay,
1796
1798
  loop: e.loop,
@@ -1804,15 +1806,15 @@ function Pe(e, t) {
1804
1806
  };
1805
1807
  if (a === "event/") {
1806
1808
  let e = s ? `/${s}` : "";
1807
- return delete c.h, `${je}/${o}/embed${e}?${He(c)}`;
1809
+ return delete c.h, `${Pe}/${o}/embed${e}?${We(c)}`;
1808
1810
  }
1809
- return `${Ae}/${o}?${He(c)}`;
1811
+ return `${Ne}/${o}?${We(c)}`;
1810
1812
  }
1811
- var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), Fe = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakSet(), $ = class extends o((ke = globalThis.HTMLElement) == null ? class {} : ke) {
1813
+ var L = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), Re = /* @__PURE__ */ new WeakMap(), ze = /* @__PURE__ */ new WeakSet(), $ = class extends c((Me = globalThis.HTMLElement) == null ? class {} : Me) {
1812
1814
  constructor() {
1813
- super(), e(this, Le), a(this, "loadComplete", new Ge()), t(this, R, void 0), t(this, z, void 0), t(this, B, void 0), t(this, V, 0), t(this, H, NaN), t(this, U, !1), t(this, W, !this.autoplay), t(this, G, 1), t(this, K, 0), t(this, q, 0), t(this, J, !1), t(this, Y, 1), t(this, X, NaN), t(this, Fe, NaN), t(this, Z, null), t(this, Q, !1), t(this, Ie, async () => {
1814
- i(q, this, 1), this.dispatchEvent(new Event("loadedmetadata")), this.api && (i(U, this, await this.api.getMuted()), i(Y, this, await this.api.getVolume()), this.dispatchEvent(new Event("volumechange")), i(H, this, await this.api.getDuration()), this.dispatchEvent(new Event("durationchange"))), this.dispatchEvent(new Event("loadcomplete")), this.loadComplete.resolve();
1815
- }), r(Le, this, ze).call(this, "config");
1815
+ super(), n(this, ze), s(this, "loadComplete", new qe()), r(this, L, void 0), r(this, R, void 0), r(this, z, void 0), r(this, B, 0), r(this, V, NaN), r(this, H, !1), r(this, U, !this.autoplay), r(this, W, 1), r(this, G, 0), r(this, K, 0), r(this, q, !1), r(this, J, 1), r(this, Y, NaN), r(this, X, NaN), r(this, Z, null), r(this, Q, !1), r(this, Re, async () => {
1816
+ o(K, this, 1), this.dispatchEvent(new Event("loadedmetadata")), this.api && (o(H, this, await this.api.getMuted()), o(J, this, await this.api.getVolume()), this.dispatchEvent(new Event("volumechange")), o(V, this, await this.api.getDuration()), this.dispatchEvent(new Event("durationchange"))), this.dispatchEvent(new Event("loadcomplete")), this.loadComplete.resolve();
1817
+ }), a(ze, this, Ve).call(this, "config");
1816
1818
  }
1817
1819
  requestFullscreen() {
1818
1820
  var e, t;
@@ -1831,19 +1833,19 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1831
1833
  return (t = (e = this.api) == null ? void 0 : e.exitPictureInPicture) == null ? void 0 : t.call(e);
1832
1834
  }
1833
1835
  get config() {
1834
- return n(Z, this);
1836
+ return i(Z, this);
1835
1837
  }
1836
1838
  set config(e) {
1837
- JSON.stringify(n(Z, this)) !== JSON.stringify(e) && (i(Z, this, e), this.load());
1839
+ JSON.stringify(i(Z, this)) !== JSON.stringify(e) && (o(Z, this, e), this.load());
1838
1840
  }
1839
1841
  async load() {
1840
1842
  var e, t;
1841
- if (n(R, this)) return;
1842
- await i(R, this, Promise.resolve()), i(R, this, null), i(V, this, 0), i(H, this, NaN), i(U, this, !1), i(W, this, !this.autoplay), i(G, this, 1), i(K, this, 0), i(q, this, 0), i(J, this, !1), i(Y, this, 1), i(q, this, 0), i(X, this, NaN), i(Fe, this, NaN), this.dispatchEvent(new Event("emptied"));
1843
- let a = this.api;
1843
+ if (i(L, this)) return;
1844
+ await o(L, this, Promise.resolve()), o(L, this, null), o(B, this, 0), o(V, this, NaN), o(H, this, !1), o(U, this, !this.autoplay), o(W, this, 1), o(G, this, 0), o(K, this, 0), o(q, this, !1), o(J, this, 1), o(K, this, 0), o(Y, this, NaN), o(X, this, NaN), this.dispatchEvent(new Event("emptied"));
1845
+ let n = this.api;
1844
1846
  if (this.api = null, !this.src) return;
1845
- n(z, this) && (this.loadComplete = new Ge()), i(z, this, !0), this.dispatchEvent(new Event("loadstart"));
1846
- let o = {
1847
+ i(R, this) && (this.loadComplete = new qe()), o(R, this, !0), this.dispatchEvent(new Event("loadstart"));
1848
+ let r = {
1847
1849
  autoplay: this.autoplay,
1848
1850
  controls: this.controls,
1849
1851
  loop: this.loop,
@@ -1852,28 +1854,28 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1852
1854
  preload: (e = this.preload) == null ? "metadata" : e,
1853
1855
  transparent: !1,
1854
1856
  autopause: this.hasAttribute("autopause"),
1855
- ...n(Z, this)
1857
+ ...i(Z, this)
1856
1858
  };
1857
- if (n(B, this)) {
1858
- this.api = a, await this.api.loadVideo({
1859
- ...o,
1859
+ if (i(z, this)) {
1860
+ this.api = n, await this.api.loadVideo({
1861
+ ...r,
1860
1862
  url: this.src
1861
- }), await n(Ie, this).call(this), await this.loadComplete;
1863
+ }), await i(Re, this).call(this), await this.loadComplete;
1862
1864
  return;
1863
1865
  }
1864
- i(B, this, !0), this.shadowRoot || this.attachShadow({ mode: "open" });
1866
+ o(z, this, !0), this.shadowRoot || this.attachShadow({ mode: "open" });
1865
1867
  let s = this.shadowRoot.querySelector("iframe");
1866
- s && !n(Q, this) ? n(Z, this) || i(Z, this, JSON.parse(s.getAttribute("data-config") || "{}")) : this.shadowRoot.innerHTML = Ne(We(this.attributes), this), i(Q, this, !1), (t = a == null ? void 0 : a.destroy) == null || t.call(a);
1868
+ s && !i(Q, this) ? i(Z, this) || o(Z, this, JSON.parse(s.getAttribute("data-config") || "{}")) : this.shadowRoot.innerHTML = Ie(Ke(this.attributes), this), o(Q, this, !1), (t = n == null ? void 0 : n.destroy) == null || t.call(n);
1867
1869
  let c = this.shadowRoot.querySelector("iframe");
1868
- this.api = new Oe(c), r(Le, this, Re).call(this), await this.loadComplete;
1870
+ this.api = new je(c), a(ze, this, Be).call(this), await this.loadComplete;
1869
1871
  }
1870
1872
  connectedCallback() {
1871
1873
  var e;
1872
- n(Q, this) && this.load(), (e = super.connectedCallback) == null || e.call(this);
1874
+ i(Q, this) && this.load(), (e = super.connectedCallback) == null || e.call(this);
1873
1875
  }
1874
1876
  disconnectedCallback() {
1875
1877
  var e, t, n;
1876
- i(Q, this, !0), i(R, this, null), i(z, this, null), i(B, this, null), this.loadComplete = new Ge(), (t = (e = this.api) == null ? void 0 : e.destroy) == null || t.call(e), this.api = null, (n = super.disconnectedCallback) == null || n.call(this);
1878
+ o(Q, this, !0), o(L, this, null), o(R, this, null), o(z, this, null), this.loadComplete = new qe(), (t = (e = this.api) == null ? void 0 : e.destroy) == null || t.call(e), this.api = null, (n = super.disconnectedCallback) == null || n.call(this);
1877
1879
  }
1878
1880
  async attributeChangedCallback(e, t, n) {
1879
1881
  if (t !== n) {
@@ -1893,11 +1895,11 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1893
1895
  }
1894
1896
  async play() {
1895
1897
  var e;
1896
- i(W, this, !1), this.dispatchEvent(new Event("play")), await this.loadComplete;
1898
+ o(U, this, !1), this.dispatchEvent(new Event("play")), await this.loadComplete;
1897
1899
  try {
1898
1900
  await ((e = this.api) == null ? void 0 : e.play());
1899
1901
  } catch (e) {
1900
- throw i(W, this, !0), this.dispatchEvent(new Event("pause")), e;
1902
+ throw o(U, this, !0), this.dispatchEvent(new Event("pause")), e;
1901
1903
  }
1902
1904
  }
1903
1905
  async pause() {
@@ -1905,19 +1907,19 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1905
1907
  return await this.loadComplete, (e = this.api) == null ? void 0 : e.pause();
1906
1908
  }
1907
1909
  get ended() {
1908
- return n(V, this) >= n(H, this);
1910
+ return i(B, this) >= i(V, this);
1909
1911
  }
1910
1912
  get seeking() {
1911
- return n(J, this);
1913
+ return i(q, this);
1912
1914
  }
1913
1915
  get readyState() {
1914
- return n(q, this);
1916
+ return i(K, this);
1915
1917
  }
1916
1918
  get videoWidth() {
1917
- return n(X, this);
1919
+ return i(Y, this);
1918
1920
  }
1919
1921
  get videoHeight() {
1920
- return n(Fe, this);
1922
+ return i(X, this);
1921
1923
  }
1922
1924
  get src() {
1923
1925
  return this.getAttribute("src");
@@ -1926,10 +1928,10 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1926
1928
  this.src != e && this.setAttribute("src", e);
1927
1929
  }
1928
1930
  get paused() {
1929
- return n(W, this);
1931
+ return i(U, this);
1930
1932
  }
1931
1933
  get duration() {
1932
- return n(H, this);
1934
+ return i(V, this);
1933
1935
  }
1934
1936
  get autoplay() {
1935
1937
  return this.hasAttribute("autoplay");
@@ -1938,7 +1940,7 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1938
1940
  this.autoplay != e && this.toggleAttribute("autoplay", !!e);
1939
1941
  }
1940
1942
  get buffered() {
1941
- return n(K, this) > 0 ? Ke(0, n(K, this)) : Ke();
1943
+ return i(G, this) > 0 ? Je(0, i(G, this)) : Je();
1942
1944
  }
1943
1945
  get controls() {
1944
1946
  return this.hasAttribute("controls");
@@ -1947,10 +1949,10 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1947
1949
  this.controls != e && this.toggleAttribute("controls", !!e);
1948
1950
  }
1949
1951
  get currentTime() {
1950
- return n(V, this);
1952
+ return i(B, this);
1951
1953
  }
1952
1954
  set currentTime(e) {
1953
- this.currentTime != e && (i(V, this, e), this.loadComplete.then(() => {
1955
+ this.currentTime != e && (o(B, this, e), this.loadComplete.then(() => {
1954
1956
  var t;
1955
1957
  (t = this.api) == null || t.setCurrentTime(e).catch(() => {});
1956
1958
  }));
@@ -1968,19 +1970,19 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1968
1970
  this.loop != e && this.toggleAttribute("loop", !!e);
1969
1971
  }
1970
1972
  get muted() {
1971
- return n(U, this);
1973
+ return i(H, this);
1972
1974
  }
1973
1975
  set muted(e) {
1974
- this.muted != e && (i(U, this, e), this.loadComplete.then(() => {
1976
+ this.muted != e && (o(H, this, e), this.loadComplete.then(() => {
1975
1977
  var t;
1976
1978
  (t = this.api) == null || t.setMuted(e).catch(() => {});
1977
1979
  }));
1978
1980
  }
1979
1981
  get playbackRate() {
1980
- return n(G, this);
1982
+ return i(W, this);
1981
1983
  }
1982
1984
  set playbackRate(e) {
1983
- this.playbackRate != e && (i(G, this, e), this.loadComplete.then(() => {
1985
+ this.playbackRate != e && (o(W, this, e), this.loadComplete.then(() => {
1984
1986
  var t;
1985
1987
  (t = this.api) == null || t.setPlaybackRate(e).catch(() => {});
1986
1988
  }));
@@ -1998,16 +2000,16 @@ var R = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), B = /*
1998
2000
  this.poster != e && this.setAttribute("poster", `${e}`);
1999
2001
  }
2000
2002
  get volume() {
2001
- return n(Y, this);
2003
+ return i(J, this);
2002
2004
  }
2003
2005
  set volume(e) {
2004
- this.volume != e && (i(Y, this, e), this.loadComplete.then(() => {
2006
+ this.volume != e && (o(J, this, e), this.loadComplete.then(() => {
2005
2007
  var t;
2006
2008
  (t = this.api) == null || t.setVolume(e).catch(() => {});
2007
2009
  }));
2008
2010
  }
2009
2011
  };
2010
- function Re() {
2012
+ function Be() {
2011
2013
  let e = document.createElement("video");
2012
2014
  this.textTracks = e.textTracks, this.api.getTextTracks().then((t) => {
2013
2015
  t.forEach((t) => {
@@ -2018,44 +2020,44 @@ function Re() {
2018
2020
  e ? this.api.enableTextTrack(e.language, e.kind) : this.api.disableTextTrack();
2019
2021
  });
2020
2022
  let t = () => {
2021
- this.api.off("loaded", t), n(Ie, this).call(this);
2023
+ this.api.off("loaded", t), i(Re, this).call(this);
2022
2024
  };
2023
2025
  this.api.on("loaded", t), this.api.on("bufferstart", () => {
2024
- n(W, this) && (i(W, this, !1), this.dispatchEvent(new Event("play"))), this.dispatchEvent(new Event("waiting"));
2026
+ i(U, this) && (o(U, this, !1), this.dispatchEvent(new Event("play"))), this.dispatchEvent(new Event("waiting"));
2025
2027
  }), this.api.on("play", () => {
2026
- n(W, this) && (i(W, this, !1), this.dispatchEvent(new Event("play")));
2028
+ i(U, this) && (o(U, this, !1), this.dispatchEvent(new Event("play")));
2027
2029
  }), this.api.on("playing", () => {
2028
- i(q, this, 3), i(W, this, !1), this.dispatchEvent(new Event("playing"));
2030
+ o(K, this, 3), o(U, this, !1), this.dispatchEvent(new Event("playing"));
2029
2031
  }), this.api.on("seeking", () => {
2030
- i(J, this, !0), this.onSeeking(), this.dispatchEvent(new Event("seeking"));
2032
+ o(q, this, !0), this.onSeeking(), this.dispatchEvent(new Event("seeking"));
2031
2033
  }), this.api.on("seeked", async () => {
2032
- i(J, this, !1), i(V, this, await this.api.getCurrentTime().catch(() => n(V, this))), this.dispatchEvent(new Event("seeked"));
2034
+ o(q, this, !1), o(B, this, await this.api.getCurrentTime().catch(() => i(B, this))), this.dispatchEvent(new Event("seeked"));
2033
2035
  }), this.api.on("pause", () => {
2034
- i(W, this, !0), this.dispatchEvent(new Event("pause"));
2036
+ o(U, this, !0), this.dispatchEvent(new Event("pause"));
2035
2037
  }), this.api.on("ended", () => {
2036
- i(W, this, !0), this.dispatchEvent(new Event("ended"));
2038
+ o(U, this, !0), this.dispatchEvent(new Event("ended"));
2037
2039
  }), this.api.on("ratechange", ({ playbackRate: e }) => {
2038
- i(G, this, e), this.dispatchEvent(new Event("ratechange"));
2040
+ o(W, this, e), this.dispatchEvent(new Event("ratechange"));
2039
2041
  }), this.api.on("volumechange", async ({ volume: e }) => {
2040
- i(Y, this, e), this.api && i(U, this, await this.api.getMuted()), this.dispatchEvent(new Event("volumechange"));
2042
+ o(J, this, e), this.api && o(H, this, await this.api.getMuted()), this.dispatchEvent(new Event("volumechange"));
2041
2043
  }), this.api.on("durationchange", ({ duration: e }) => {
2042
- i(H, this, e), this.dispatchEvent(new Event("durationchange"));
2044
+ o(V, this, e), this.dispatchEvent(new Event("durationchange"));
2043
2045
  }), this.api.on("timeupdate", ({ seconds: e }) => {
2044
2046
  let t = Math.round(e * 100) / 100;
2045
- i(V, this, t), this.dispatchEvent(new Event("timeupdate"));
2047
+ o(B, this, t), this.dispatchEvent(new Event("timeupdate"));
2046
2048
  }), this.api.on("progress", ({ seconds: e }) => {
2047
- i(K, this, e), this.dispatchEvent(new Event("progress"));
2049
+ o(G, this, e), this.dispatchEvent(new Event("progress"));
2048
2050
  }), this.api.on("resize", ({ videoWidth: e, videoHeight: t }) => {
2049
- i(X, this, e), i(Fe, this, t), this.dispatchEvent(new Event("resize"));
2051
+ o(Y, this, e), o(X, this, t), this.dispatchEvent(new Event("resize"));
2050
2052
  });
2051
2053
  }
2052
- function ze(e) {
2054
+ function Ve(e) {
2053
2055
  if (Object.prototype.hasOwnProperty.call(this, e)) {
2054
2056
  let t = this[e];
2055
2057
  delete this[e], this[e] = t;
2056
2058
  }
2057
2059
  }
2058
- a($, "getTemplateHTML", Ne), a($, "shadowRootOptions", { mode: "open" }), a($, "observedAttributes", [
2060
+ s($, "getTemplateHTML", Ie), s($, "shadowRootOptions", { mode: "open" }), s($, "observedAttributes", [
2059
2061
  "autoplay",
2060
2062
  "controls",
2061
2063
  "crossorigin",
@@ -2066,21 +2068,21 @@ a($, "getTemplateHTML", Ne), a($, "shadowRootOptions", { mode: "open" }), a($, "
2066
2068
  "preload",
2067
2069
  "src"
2068
2070
  ]);
2069
- function Be(e) {
2071
+ function He(e) {
2070
2072
  let t = "";
2071
2073
  for (let n in e) {
2072
2074
  let r = e[n];
2073
- r === "" ? t += ` ${Ve(n)}` : t += ` ${Ve(n)}="${Ve(`${r}`)}"`;
2075
+ r === "" ? t += ` ${Ue(n)}` : t += ` ${Ue(n)}="${Ue(`${r}`)}"`;
2074
2076
  }
2075
2077
  return t;
2076
2078
  }
2077
- function Ve(e) {
2079
+ function Ue(e) {
2078
2080
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/`/g, "&#x60;");
2079
2081
  }
2080
- function He(e) {
2081
- return String(new URLSearchParams(Ue(e)));
2082
+ function We(e) {
2083
+ return String(new URLSearchParams(Ge(e)));
2082
2084
  }
2083
- function Ue(e) {
2085
+ function Ge(e) {
2084
2086
  let t = {};
2085
2087
  for (let n in e) {
2086
2088
  let r = e[n];
@@ -2088,12 +2090,12 @@ function Ue(e) {
2088
2090
  }
2089
2091
  return t;
2090
2092
  }
2091
- function We(e) {
2093
+ function Ke(e) {
2092
2094
  let t = {};
2093
2095
  for (let n of e) t[n.name] = n.value;
2094
2096
  return t;
2095
2097
  }
2096
- var Ge = class extends Promise {
2098
+ var qe = class extends Promise {
2097
2099
  constructor(e = () => {}) {
2098
2100
  let t, n;
2099
2101
  super((r, i) => {
@@ -2101,17 +2103,17 @@ var Ge = class extends Promise {
2101
2103
  }), this.resolve = t, this.reject = n;
2102
2104
  }
2103
2105
  };
2104
- function Ke(e, t) {
2105
- return qe(Array.isArray(e) ? e : e == null || t == null || e === 0 && t === 0 ? [[0, 0]] : [[e, t]]);
2106
+ function Je(e, t) {
2107
+ return Ye(Array.isArray(e) ? e : e == null || t == null || e === 0 && t === 0 ? [[0, 0]] : [[e, t]]);
2106
2108
  }
2107
- function qe(e) {
2109
+ function Ye(e) {
2108
2110
  return Object.defineProperties(e, {
2109
2111
  start: { value: (t) => e[t][0] },
2110
2112
  end: { value: (t) => e[t][1] }
2111
2113
  }), e;
2112
2114
  }
2113
2115
  globalThis.customElements && !globalThis.customElements.get("vimeo-video") && globalThis.customElements.define("vimeo-video", $);
2114
- var Je = $, Ye = /* @__PURE__ */ new Set([
2116
+ var Xe = $, Ze = /* @__PURE__ */ new Set([
2115
2117
  "style",
2116
2118
  "children",
2117
2119
  "ref",
@@ -2119,28 +2121,28 @@ var Je = $, Ye = /* @__PURE__ */ new Set([
2119
2121
  "suppressContentEditableWarning",
2120
2122
  "suppressHydrationWarning",
2121
2123
  "dangerouslySetInnerHTML"
2122
- ]), Xe = {
2124
+ ]), Qe = {
2123
2125
  className: "class",
2124
2126
  htmlFor: "for"
2125
2127
  };
2126
- function Ze(e) {
2128
+ function $e(e) {
2127
2129
  return e.toLowerCase();
2128
2130
  }
2129
- function Qe(e) {
2131
+ function et(e) {
2130
2132
  if (typeof e == "boolean") return e ? "" : void 0;
2131
2133
  if (typeof e != "function" && !(typeof e == "object" && e)) return e;
2132
2134
  }
2133
- function $e({ react: e, tagName: t, elementClass: n, events: r, displayName: i, defaultProps: a, toAttributeName: o = Ze, toAttributeValue: s = Qe }) {
2135
+ function tt({ react: e, tagName: t, elementClass: n, events: r, displayName: i, defaultProps: a, toAttributeName: o = $e, toAttributeValue: s = et }) {
2134
2136
  let c = Number.parseInt(e.version) >= 19, l = e.forwardRef((i, l) => {
2135
2137
  var u, d;
2136
2138
  let f = e.useRef(null), p = e.useRef(/* @__PURE__ */ new Map()), m = {}, h = {}, g = {}, _ = {};
2137
2139
  for (let [e, t] of Object.entries(i)) {
2138
2140
  var v, y;
2139
- if (Ye.has(e)) {
2141
+ if (Ze.has(e)) {
2140
2142
  g[e] = t;
2141
2143
  continue;
2142
2144
  }
2143
- let r = o((v = Xe[e]) == null ? e : v);
2145
+ let r = o((v = Qe[e]) == null ? e : v);
2144
2146
  if (n.prototype && e in n.prototype && !(e in ((y = (u = globalThis.HTMLElement) == null ? void 0 : u.prototype) == null ? {} : y)) && !((d = n.observedAttributes) != null && d.some((e) => e === r))) {
2145
2147
  _[e] = t;
2146
2148
  continue;
@@ -2150,7 +2152,7 @@ function $e({ react: e, tagName: t, elementClass: n, events: r, displayName: i,
2150
2152
  continue;
2151
2153
  }
2152
2154
  let i = s(t);
2153
- r && i != null && (h[r] = String(i), c || (g[r] = i)), r && c && (i === Qe(t) ? g[r] = t : g[r] = i);
2155
+ r && i != null && (h[r] = String(i), c || (g[r] = i)), r && c && (i === et(t) ? g[r] = t : g[r] = i);
2154
2156
  }
2155
2157
  if (typeof window < "u") {
2156
2158
  for (let t in m) {
@@ -2166,8 +2168,8 @@ function $e({ react: e, tagName: t, elementClass: n, events: r, displayName: i,
2166
2168
  e.useLayoutEffect(() => {
2167
2169
  if (f.current === null) return;
2168
2170
  let e = /* @__PURE__ */ new Map();
2169
- for (let t in _) et(f.current, t, _[t]), p.current.delete(t), e.set(t, _[t]);
2170
- for (let [e, t] of p.current) et(f.current, e, void 0);
2171
+ for (let t in _) nt(f.current, t, _[t]), p.current.delete(t), e.set(t, _[t]);
2172
+ for (let [e, t] of p.current) nt(f.current, e, void 0);
2171
2173
  p.current = e;
2172
2174
  });
2173
2175
  }
@@ -2190,19 +2192,19 @@ function $e({ react: e, tagName: t, elementClass: n, events: r, displayName: i,
2190
2192
  });
2191
2193
  return l.displayName = i == null ? n.name : i, l;
2192
2194
  }
2193
- function et(e, t, n) {
2195
+ function nt(e, t, n) {
2194
2196
  var r, i;
2195
2197
  e[t] = n, n == null && t in ((r = (i = globalThis.HTMLElement) == null ? void 0 : i.prototype) == null ? {} : r) && e.removeAttribute(t);
2196
2198
  }
2197
- var tt = $e({
2198
- react: s,
2199
+ var rt = tt({
2200
+ react: l.default,
2199
2201
  tagName: "vimeo-video",
2200
- elementClass: Je,
2202
+ elementClass: Xe,
2201
2203
  toAttributeName(e) {
2202
- return e === "muted" ? "" : e === "defaultMuted" ? "muted" : Ze(e);
2204
+ return e === "muted" ? "" : e === "defaultMuted" ? "muted" : $e(e);
2203
2205
  }
2204
2206
  });
2205
2207
  //#endregion
2206
- export { tt as default };
2208
+ export { rt as default };
2207
2209
 
2208
- //# sourceMappingURL=react-BrCGR7Ca.js.map
2210
+ //# sourceMappingURL=react-be7q6yw_.js.map