@banou/stub 0.0.18 → 0.0.19
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.
- package/build/.well-known/fkn.json +1 -1
- package/build/assets/lib-Preview-B6uZKyhl.js +82 -0
- package/build/assets/lib-account-BuVN6Bsx.js +41 -0
- package/build/assets/lib-account-Cw8yCZtf.js +2 -0
- package/build/assets/lib-api-DLvscoll-DhlBp9Wz.js +312 -0
- package/build/assets/lib-api-DVwR-22s.js +2 -0
- package/build/assets/lib-build-DEOZ3A7n.js +1846 -0
- package/build/assets/lib-compat-D8G4_Lzi.js +860 -0
- package/build/assets/lib-custom-media-element-CnANKrGl.js +217 -0
- package/build/assets/lib-dash.all.min-CDvdorbj.js +27251 -0
- package/build/assets/lib-dist-Dv8d3Kr0.js +7 -0
- package/build/assets/lib-dist-S8Gxnnq-.js +12468 -0
- package/build/assets/lib-dist-T0QlKbbk.js +18578 -0
- package/build/assets/lib-dist-xBHT3Lfz.js +911 -0
- package/build/assets/lib-react-BEg4mBBK.js +112 -0
- package/build/assets/lib-react-C0OCUIWX.js +434 -0
- package/build/assets/lib-react-CAkOlDha.js +367 -0
- package/build/assets/lib-react-CGlZXIjl.js +2187 -0
- package/build/assets/lib-react-CLVoi_ZM.js +334 -0
- package/build/assets/lib-react-DUxKSzCt.js +311 -0
- package/build/assets/lib-react-QvmpnEVK.js +334 -0
- package/build/assets/lib-react-WTnxAo6F.js +202 -0
- package/build/assets/lib-remote-DeY2A2G7.js +416 -0
- package/build/assets/lib-remote-DxEZmpd0.js +2 -0
- package/build/assets/lib-rolldown-runtime-B1bRi_D7.js +27 -0
- package/build/assets/lib-worker-anime-index-Jbe1K3rX.js +1 -0
- package/build/assets/lib-worker-anime-seasons-CVM0BQGM.js +1 -0
- package/build/assets/lib-worker-index-C7ynIZYg.js +1401 -0
- package/build/assets/{main-C8JOinyp.js → main-q4eQ72Te.js} +1 -1
- package/build/fkn.json +1 -1
- package/build/index.html +1 -1
- package/build/index.js +40639 -0
- package/fkn.json +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,2187 @@
|
|
|
1
|
+
import { f as e, i as t } from "./lib-compat-D8G4_Lzi.js";
|
|
2
|
+
import { n, t as r } from "./lib-dist-Dv8d3Kr0.js";
|
|
3
|
+
e(), n();
|
|
4
|
+
function i(e, t) {
|
|
5
|
+
var n = Object.keys(e);
|
|
6
|
+
if (Object.getOwnPropertySymbols) {
|
|
7
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
8
|
+
t && (r = r.filter(function(t) {
|
|
9
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
10
|
+
})), n.push.apply(n, r);
|
|
11
|
+
}
|
|
12
|
+
return n;
|
|
13
|
+
}
|
|
14
|
+
function a(e) {
|
|
15
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
16
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
17
|
+
t % 2 ? i(Object(n), !0).forEach(function(t) {
|
|
18
|
+
f(e, t, n[t]);
|
|
19
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i(Object(n)).forEach(function(t) {
|
|
20
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
function o() {
|
|
26
|
+
o = function() {
|
|
27
|
+
return e;
|
|
28
|
+
};
|
|
29
|
+
var e = {}, t = Object.prototype, n = t.hasOwnProperty, r = Object.defineProperty || function(e, t, n) {
|
|
30
|
+
e[t] = n.value;
|
|
31
|
+
}, i = typeof Symbol == "function" ? Symbol : {}, a = i.iterator || "@@iterator", s = i.asyncIterator || "@@asyncIterator", c = i.toStringTag || "@@toStringTag";
|
|
32
|
+
function l(e, t, n) {
|
|
33
|
+
return Object.defineProperty(e, t, {
|
|
34
|
+
value: n,
|
|
35
|
+
enumerable: !0,
|
|
36
|
+
configurable: !0,
|
|
37
|
+
writable: !0
|
|
38
|
+
}), e[t];
|
|
39
|
+
}
|
|
40
|
+
try {
|
|
41
|
+
l({}, "");
|
|
42
|
+
} catch {
|
|
43
|
+
l = function(e, t, n) {
|
|
44
|
+
return e[t] = n;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function u(e, t, n, i) {
|
|
48
|
+
var a = t && t.prototype instanceof p ? t : p, o = Object.create(a.prototype);
|
|
49
|
+
return r(o, "_invoke", { value: S(e, n, new E(i || [])) }), o;
|
|
50
|
+
}
|
|
51
|
+
function d(e, t, n) {
|
|
52
|
+
try {
|
|
53
|
+
return {
|
|
54
|
+
type: "normal",
|
|
55
|
+
arg: e.call(t, n)
|
|
56
|
+
};
|
|
57
|
+
} catch (e) {
|
|
58
|
+
return {
|
|
59
|
+
type: "throw",
|
|
60
|
+
arg: e
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
e.wrap = u;
|
|
65
|
+
var f = {};
|
|
66
|
+
function p() {}
|
|
67
|
+
function m() {}
|
|
68
|
+
function h() {}
|
|
69
|
+
var g = {};
|
|
70
|
+
l(g, a, function() {
|
|
71
|
+
return this;
|
|
72
|
+
});
|
|
73
|
+
var _ = Object.getPrototypeOf, v = _ && _(_(D([])));
|
|
74
|
+
v && v !== t && n.call(v, a) && (g = v);
|
|
75
|
+
var y = h.prototype = p.prototype = Object.create(g);
|
|
76
|
+
function b(e) {
|
|
77
|
+
[
|
|
78
|
+
"next",
|
|
79
|
+
"throw",
|
|
80
|
+
"return"
|
|
81
|
+
].forEach(function(t) {
|
|
82
|
+
l(e, t, function(e) {
|
|
83
|
+
return this._invoke(t, e);
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
function x(e, t) {
|
|
88
|
+
function i(r, a, o, s) {
|
|
89
|
+
var c = d(e[r], e, a);
|
|
90
|
+
if (c.type !== "throw") {
|
|
91
|
+
var l = c.arg, u = l.value;
|
|
92
|
+
return u && typeof u == "object" && n.call(u, "__await") ? t.resolve(u.__await).then(function(e) {
|
|
93
|
+
i("next", e, o, s);
|
|
94
|
+
}, function(e) {
|
|
95
|
+
i("throw", e, o, s);
|
|
96
|
+
}) : t.resolve(u).then(function(e) {
|
|
97
|
+
l.value = e, o(l);
|
|
98
|
+
}, function(e) {
|
|
99
|
+
return i("throw", e, o, s);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
s(c.arg);
|
|
103
|
+
}
|
|
104
|
+
var a;
|
|
105
|
+
r(this, "_invoke", { value: function(e, n) {
|
|
106
|
+
function r() {
|
|
107
|
+
return new t(function(t, r) {
|
|
108
|
+
i(e, n, t, r);
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
return a = a ? a.then(r, r) : r();
|
|
112
|
+
} });
|
|
113
|
+
}
|
|
114
|
+
function S(e, t, n) {
|
|
115
|
+
var r = "suspendedStart";
|
|
116
|
+
return function(i, a) {
|
|
117
|
+
if (r === "executing") throw Error("Generator is already running");
|
|
118
|
+
if (r === "completed") {
|
|
119
|
+
if (i === "throw") throw a;
|
|
120
|
+
return O();
|
|
121
|
+
}
|
|
122
|
+
for (n.method = i, n.arg = a;;) {
|
|
123
|
+
var o = n.delegate;
|
|
124
|
+
if (o) {
|
|
125
|
+
var s = C(o, n);
|
|
126
|
+
if (s) {
|
|
127
|
+
if (s === f) continue;
|
|
128
|
+
return s;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (n.method === "next") n.sent = n._sent = n.arg;
|
|
132
|
+
else if (n.method === "throw") {
|
|
133
|
+
if (r === "suspendedStart") throw r = "completed", n.arg;
|
|
134
|
+
n.dispatchException(n.arg);
|
|
135
|
+
} else n.method === "return" && n.abrupt("return", n.arg);
|
|
136
|
+
r = "executing";
|
|
137
|
+
var c = d(e, t, n);
|
|
138
|
+
if (c.type === "normal") {
|
|
139
|
+
if (r = n.done ? "completed" : "suspendedYield", c.arg === f) continue;
|
|
140
|
+
return {
|
|
141
|
+
value: c.arg,
|
|
142
|
+
done: n.done
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
c.type === "throw" && (r = "completed", n.method = "throw", n.arg = c.arg);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
function C(e, t) {
|
|
150
|
+
var n = t.method, r = e.iterator[n];
|
|
151
|
+
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")), f;
|
|
152
|
+
var i = d(r, e.iterator, t.arg);
|
|
153
|
+
if (i.type === "throw") return t.method = "throw", t.arg = i.arg, t.delegate = null, f;
|
|
154
|
+
var a = i.arg;
|
|
155
|
+
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);
|
|
156
|
+
}
|
|
157
|
+
function w(e) {
|
|
158
|
+
var t = { tryLoc: e[0] };
|
|
159
|
+
1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t);
|
|
160
|
+
}
|
|
161
|
+
function T(e) {
|
|
162
|
+
var t = e.completion || {};
|
|
163
|
+
t.type = "normal", delete t.arg, e.completion = t;
|
|
164
|
+
}
|
|
165
|
+
function E(e) {
|
|
166
|
+
this.tryEntries = [{ tryLoc: "root" }], e.forEach(w, this), this.reset(!0);
|
|
167
|
+
}
|
|
168
|
+
function D(e) {
|
|
169
|
+
if (e) {
|
|
170
|
+
var t = e[a];
|
|
171
|
+
if (t) return t.call(e);
|
|
172
|
+
if (typeof e.next == "function") return e;
|
|
173
|
+
if (!isNaN(e.length)) {
|
|
174
|
+
var r = -1, i = function t() {
|
|
175
|
+
for (; ++r < e.length;) if (n.call(e, r)) return t.value = e[r], t.done = !1, t;
|
|
176
|
+
return t.value = void 0, t.done = !0, t;
|
|
177
|
+
};
|
|
178
|
+
return i.next = i;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
return { next: O };
|
|
182
|
+
}
|
|
183
|
+
function O() {
|
|
184
|
+
return {
|
|
185
|
+
value: void 0,
|
|
186
|
+
done: !0
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
return m.prototype = h, r(y, "constructor", {
|
|
190
|
+
value: h,
|
|
191
|
+
configurable: !0
|
|
192
|
+
}), r(h, "constructor", {
|
|
193
|
+
value: m,
|
|
194
|
+
configurable: !0
|
|
195
|
+
}), m.displayName = l(h, c, "GeneratorFunction"), e.isGeneratorFunction = function(e) {
|
|
196
|
+
var t = typeof e == "function" && e.constructor;
|
|
197
|
+
return !!t && (t === m || (t.displayName || t.name) === "GeneratorFunction");
|
|
198
|
+
}, e.mark = function(e) {
|
|
199
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, h) : (e.__proto__ = h, l(e, c, "GeneratorFunction")), e.prototype = Object.create(y), e;
|
|
200
|
+
}, e.awrap = function(e) {
|
|
201
|
+
return { __await: e };
|
|
202
|
+
}, b(x.prototype), l(x.prototype, s, function() {
|
|
203
|
+
return this;
|
|
204
|
+
}), e.AsyncIterator = x, e.async = function(t, n, r, i, a) {
|
|
205
|
+
a === void 0 && (a = Promise);
|
|
206
|
+
var o = new x(u(t, n, r, i), a);
|
|
207
|
+
return e.isGeneratorFunction(n) ? o : o.next().then(function(e) {
|
|
208
|
+
return e.done ? e.value : o.next();
|
|
209
|
+
});
|
|
210
|
+
}, b(y), l(y, c, "Generator"), l(y, a, function() {
|
|
211
|
+
return this;
|
|
212
|
+
}), l(y, "toString", function() {
|
|
213
|
+
return "[object Generator]";
|
|
214
|
+
}), e.keys = function(e) {
|
|
215
|
+
var t = Object(e), n = [];
|
|
216
|
+
for (var r in t) n.push(r);
|
|
217
|
+
return n.reverse(), function e() {
|
|
218
|
+
for (; n.length;) {
|
|
219
|
+
var r = n.pop();
|
|
220
|
+
if (r in t) return e.value = r, e.done = !1, e;
|
|
221
|
+
}
|
|
222
|
+
return e.done = !0, e;
|
|
223
|
+
};
|
|
224
|
+
}, e.values = D, E.prototype = {
|
|
225
|
+
constructor: E,
|
|
226
|
+
reset: function(e) {
|
|
227
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = !1, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(T), !e) for (var t in this) t.charAt(0) === "t" && n.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0);
|
|
228
|
+
},
|
|
229
|
+
stop: function() {
|
|
230
|
+
this.done = !0;
|
|
231
|
+
var e = this.tryEntries[0].completion;
|
|
232
|
+
if (e.type === "throw") throw e.arg;
|
|
233
|
+
return this.rval;
|
|
234
|
+
},
|
|
235
|
+
dispatchException: function(e) {
|
|
236
|
+
if (this.done) throw e;
|
|
237
|
+
var t = this;
|
|
238
|
+
function r(n, r) {
|
|
239
|
+
return o.type = "throw", o.arg = e, t.next = n, r && (t.method = "next", t.arg = void 0), !!r;
|
|
240
|
+
}
|
|
241
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
242
|
+
var a = this.tryEntries[i], o = a.completion;
|
|
243
|
+
if (a.tryLoc === "root") return r("end");
|
|
244
|
+
if (a.tryLoc <= this.prev) {
|
|
245
|
+
var s = n.call(a, "catchLoc"), c = n.call(a, "finallyLoc");
|
|
246
|
+
if (s && c) {
|
|
247
|
+
if (this.prev < a.catchLoc) return r(a.catchLoc, !0);
|
|
248
|
+
if (this.prev < a.finallyLoc) return r(a.finallyLoc);
|
|
249
|
+
} else if (s) {
|
|
250
|
+
if (this.prev < a.catchLoc) return r(a.catchLoc, !0);
|
|
251
|
+
} else {
|
|
252
|
+
if (!c) throw Error("try statement without catch or finally");
|
|
253
|
+
if (this.prev < a.finallyLoc) return r(a.finallyLoc);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
abrupt: function(e, t) {
|
|
259
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
260
|
+
var i = this.tryEntries[r];
|
|
261
|
+
if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
|
|
262
|
+
var a = i;
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
a && (e === "break" || e === "continue") && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
|
|
267
|
+
var o = a ? a.completion : {};
|
|
268
|
+
return o.type = e, o.arg = t, a ? (this.method = "next", this.next = a.finallyLoc, f) : this.complete(o);
|
|
269
|
+
},
|
|
270
|
+
complete: function(e, t) {
|
|
271
|
+
if (e.type === "throw") throw e.arg;
|
|
272
|
+
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;
|
|
273
|
+
},
|
|
274
|
+
finish: function(e) {
|
|
275
|
+
for (var t = this.tryEntries.length - 1; t >= 0; --t) {
|
|
276
|
+
var n = this.tryEntries[t];
|
|
277
|
+
if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), T(n), f;
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
catch: function(e) {
|
|
281
|
+
for (var t = this.tryEntries.length - 1; t >= 0; --t) {
|
|
282
|
+
var n = this.tryEntries[t];
|
|
283
|
+
if (n.tryLoc === e) {
|
|
284
|
+
var r = n.completion;
|
|
285
|
+
if (r.type === "throw") {
|
|
286
|
+
var i = r.arg;
|
|
287
|
+
T(n);
|
|
288
|
+
}
|
|
289
|
+
return i;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
throw Error("illegal catch attempt");
|
|
293
|
+
},
|
|
294
|
+
delegateYield: function(e, t, n) {
|
|
295
|
+
return this.delegate = {
|
|
296
|
+
iterator: D(e),
|
|
297
|
+
resultName: t,
|
|
298
|
+
nextLoc: n
|
|
299
|
+
}, this.method === "next" && (this.arg = void 0), f;
|
|
300
|
+
}
|
|
301
|
+
}, e;
|
|
302
|
+
}
|
|
303
|
+
function s(e, t, n, r, i, a, o) {
|
|
304
|
+
try {
|
|
305
|
+
var s = e[a](o), c = s.value;
|
|
306
|
+
} catch (e) {
|
|
307
|
+
n(e);
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
s.done ? t(c) : Promise.resolve(c).then(r, i);
|
|
311
|
+
}
|
|
312
|
+
function c(e) {
|
|
313
|
+
return function() {
|
|
314
|
+
var t = this, n = arguments;
|
|
315
|
+
return new Promise(function(r, i) {
|
|
316
|
+
var a = e.apply(t, n);
|
|
317
|
+
function o(e) {
|
|
318
|
+
s(a, r, i, o, c, "next", e);
|
|
319
|
+
}
|
|
320
|
+
function c(e) {
|
|
321
|
+
s(a, r, i, o, c, "throw", e);
|
|
322
|
+
}
|
|
323
|
+
o(void 0);
|
|
324
|
+
});
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
function l(e, t) {
|
|
328
|
+
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
329
|
+
}
|
|
330
|
+
function u(e, t) {
|
|
331
|
+
for (var n = 0; n < t.length; n++) {
|
|
332
|
+
var r = t[n];
|
|
333
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, w(r.key), r);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
function d(e, t, n) {
|
|
337
|
+
return t && u(e.prototype, t), n && u(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
338
|
+
}
|
|
339
|
+
function f(e, t, n) {
|
|
340
|
+
return t = w(t), t in e ? Object.defineProperty(e, t, {
|
|
341
|
+
value: n,
|
|
342
|
+
enumerable: !0,
|
|
343
|
+
configurable: !0,
|
|
344
|
+
writable: !0
|
|
345
|
+
}) : e[t] = n, e;
|
|
346
|
+
}
|
|
347
|
+
function p(e, t) {
|
|
348
|
+
if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
|
|
349
|
+
e.prototype = Object.create(t && t.prototype, { constructor: {
|
|
350
|
+
value: e,
|
|
351
|
+
writable: !0,
|
|
352
|
+
configurable: !0
|
|
353
|
+
} }), Object.defineProperty(e, "prototype", { writable: !1 }), t && h(e, t);
|
|
354
|
+
}
|
|
355
|
+
function m(e) {
|
|
356
|
+
return m = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
357
|
+
return e.__proto__ || Object.getPrototypeOf(e);
|
|
358
|
+
}, m(e);
|
|
359
|
+
}
|
|
360
|
+
function h(e, t) {
|
|
361
|
+
return h = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
|
|
362
|
+
return e.__proto__ = t, e;
|
|
363
|
+
}, h(e, t);
|
|
364
|
+
}
|
|
365
|
+
function g() {
|
|
366
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
367
|
+
if (typeof Proxy == "function") return !0;
|
|
368
|
+
try {
|
|
369
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
|
|
370
|
+
} catch {
|
|
371
|
+
return !1;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
function _(e, t, n) {
|
|
375
|
+
return _ = g() ? Reflect.construct.bind() : function(e, t, n) {
|
|
376
|
+
var r = [null];
|
|
377
|
+
r.push.apply(r, t);
|
|
378
|
+
var i = new (Function.bind.apply(e, r))();
|
|
379
|
+
return n && h(i, n.prototype), i;
|
|
380
|
+
}, _.apply(null, arguments);
|
|
381
|
+
}
|
|
382
|
+
function v(e) {
|
|
383
|
+
return Function.toString.call(e).indexOf("[native code]") !== -1;
|
|
384
|
+
}
|
|
385
|
+
function y(e) {
|
|
386
|
+
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
387
|
+
return y = function(e) {
|
|
388
|
+
if (e === null || !v(e)) return e;
|
|
389
|
+
if (typeof e != "function") throw TypeError("Super expression must either be null or a function");
|
|
390
|
+
if (t !== void 0) {
|
|
391
|
+
if (t.has(e)) return t.get(e);
|
|
392
|
+
t.set(e, n);
|
|
393
|
+
}
|
|
394
|
+
function n() {
|
|
395
|
+
return _(e, arguments, m(this).constructor);
|
|
396
|
+
}
|
|
397
|
+
return n.prototype = Object.create(e.prototype, { constructor: {
|
|
398
|
+
value: n,
|
|
399
|
+
enumerable: !1,
|
|
400
|
+
writable: !0,
|
|
401
|
+
configurable: !0
|
|
402
|
+
} }), h(n, e);
|
|
403
|
+
}, y(e);
|
|
404
|
+
}
|
|
405
|
+
function b(e) {
|
|
406
|
+
if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
407
|
+
return e;
|
|
408
|
+
}
|
|
409
|
+
function x(e, t) {
|
|
410
|
+
if (t && (typeof t == "object" || typeof t == "function")) return t;
|
|
411
|
+
if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
|
|
412
|
+
return b(e);
|
|
413
|
+
}
|
|
414
|
+
function S(e) {
|
|
415
|
+
var t = g();
|
|
416
|
+
return function() {
|
|
417
|
+
var n = m(e), r;
|
|
418
|
+
if (t) {
|
|
419
|
+
var i = m(this).constructor;
|
|
420
|
+
r = Reflect.construct(n, arguments, i);
|
|
421
|
+
} else r = n.apply(this, arguments);
|
|
422
|
+
return x(this, r);
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
function C(e, t) {
|
|
426
|
+
if (typeof e != "object" || !e) return e;
|
|
427
|
+
var n = e[Symbol.toPrimitive];
|
|
428
|
+
if (n !== void 0) {
|
|
429
|
+
var r = n.call(e, t || "default");
|
|
430
|
+
if (typeof r != "object") return r;
|
|
431
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
432
|
+
}
|
|
433
|
+
return (t === "string" ? String : Number)(e);
|
|
434
|
+
}
|
|
435
|
+
function w(e) {
|
|
436
|
+
var t = C(e, "string");
|
|
437
|
+
return typeof t == "symbol" ? t : String(t);
|
|
438
|
+
}
|
|
439
|
+
var T = r !== void 0 && {}.toString.call(r) === "[object global]";
|
|
440
|
+
function E(e, t) {
|
|
441
|
+
return e.indexOf(t.toLowerCase()) === 0 ? e : `${t.toLowerCase()}${e.substr(0, 1).toUpperCase()}${e.substr(1)}`;
|
|
442
|
+
}
|
|
443
|
+
function D(e) {
|
|
444
|
+
return !!(e && e.nodeType === 1 && "nodeName" in e && e.ownerDocument && e.ownerDocument.defaultView);
|
|
445
|
+
}
|
|
446
|
+
function O(e) {
|
|
447
|
+
return !isNaN(parseFloat(e)) && isFinite(e) && Math.floor(e) == e;
|
|
448
|
+
}
|
|
449
|
+
function k(e) {
|
|
450
|
+
return /^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e);
|
|
451
|
+
}
|
|
452
|
+
function A(e) {
|
|
453
|
+
return /^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e);
|
|
454
|
+
}
|
|
455
|
+
function ee(e) {
|
|
456
|
+
for (var t = (e || "").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/), n = (t && t[1] || "").replace("player.", ""), r = [
|
|
457
|
+
".videoji.hk",
|
|
458
|
+
".vimeo.work",
|
|
459
|
+
".videoji.cn"
|
|
460
|
+
], i = 0, a = r; i < a.length; i++) {
|
|
461
|
+
var o = a[i];
|
|
462
|
+
if (n.endsWith(o)) return n;
|
|
463
|
+
}
|
|
464
|
+
return "vimeo.com";
|
|
465
|
+
}
|
|
466
|
+
function j() {
|
|
467
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.id, n = e.url, r = t || n;
|
|
468
|
+
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.");
|
|
469
|
+
if (O(r)) return `https://vimeo.com/${r}`;
|
|
470
|
+
if (k(r)) return r.replace("http:", "https:");
|
|
471
|
+
throw TypeError(t ? `“${t}” is not a valid video id.` : `“${r}” is not a vimeo.com url.`);
|
|
472
|
+
}
|
|
473
|
+
var M = function(e, t, n) {
|
|
474
|
+
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;
|
|
475
|
+
return a.forEach(function(t) {
|
|
476
|
+
e[r](t, n);
|
|
477
|
+
}), { cancel: function() {
|
|
478
|
+
return a.forEach(function(t) {
|
|
479
|
+
return e[i](t, n);
|
|
480
|
+
});
|
|
481
|
+
} };
|
|
482
|
+
}, te = Array.prototype.indexOf !== void 0, ne = typeof window < "u" && window.postMessage !== void 0;
|
|
483
|
+
if (!T && (!te || !ne)) throw Error("Sorry, the Vimeo Player API is not available in this browser.");
|
|
484
|
+
var N = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : r === void 0 ? typeof self < "u" ? self : {} : r;
|
|
485
|
+
function re(e, t) {
|
|
486
|
+
return t = { exports: {} }, e(t, t.exports), t.exports;
|
|
487
|
+
}
|
|
488
|
+
(function(e) {
|
|
489
|
+
if (e.WeakMap) return;
|
|
490
|
+
var t = Object.prototype.hasOwnProperty, n = Object.defineProperty && function() {
|
|
491
|
+
try {
|
|
492
|
+
return Object.defineProperty({}, "x", { value: 1 }).x === 1;
|
|
493
|
+
} catch {}
|
|
494
|
+
}(), r = function(e, t, r) {
|
|
495
|
+
n ? Object.defineProperty(e, t, {
|
|
496
|
+
configurable: !0,
|
|
497
|
+
writable: !0,
|
|
498
|
+
value: r
|
|
499
|
+
}) : e[t] = r;
|
|
500
|
+
};
|
|
501
|
+
e.WeakMap = function() {
|
|
502
|
+
function e() {
|
|
503
|
+
if (this === void 0) throw TypeError("Constructor WeakMap requires 'new'");
|
|
504
|
+
if (r(this, "_id", a("_WeakMap")), arguments.length > 0) throw TypeError("WeakMap iterable is not supported");
|
|
505
|
+
}
|
|
506
|
+
r(e.prototype, "delete", function(e) {
|
|
507
|
+
if (n(this, "delete"), !i(e)) return !1;
|
|
508
|
+
var t = e[this._id];
|
|
509
|
+
return t && t[0] === e ? (delete e[this._id], !0) : !1;
|
|
510
|
+
}), r(e.prototype, "get", function(e) {
|
|
511
|
+
if (n(this, "get"), i(e)) {
|
|
512
|
+
var t = e[this._id];
|
|
513
|
+
if (t && t[0] === e) return t[1];
|
|
514
|
+
}
|
|
515
|
+
}), r(e.prototype, "has", function(e) {
|
|
516
|
+
if (n(this, "has"), !i(e)) return !1;
|
|
517
|
+
var t = e[this._id];
|
|
518
|
+
return !!(t && t[0] === e);
|
|
519
|
+
}), r(e.prototype, "set", function(e, t) {
|
|
520
|
+
if (n(this, "set"), !i(e)) throw TypeError("Invalid value used as weak map key");
|
|
521
|
+
var a = e[this._id];
|
|
522
|
+
return a && a[0] === e ? (a[1] = t, this) : (r(e, this._id, [e, t]), this);
|
|
523
|
+
});
|
|
524
|
+
function n(e, n) {
|
|
525
|
+
if (!i(e) || !t.call(e, "_id")) throw TypeError(n + " method called on incompatible receiver " + typeof e);
|
|
526
|
+
}
|
|
527
|
+
function a(e) {
|
|
528
|
+
return e + "_" + o() + "." + o();
|
|
529
|
+
}
|
|
530
|
+
function o() {
|
|
531
|
+
return Math.random().toString().substring(2);
|
|
532
|
+
}
|
|
533
|
+
return r(e, "_polyfill", !0), e;
|
|
534
|
+
}();
|
|
535
|
+
function i(e) {
|
|
536
|
+
return Object(e) === e;
|
|
537
|
+
}
|
|
538
|
+
})(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : N);
|
|
539
|
+
var P = re(function(e) {
|
|
540
|
+
(function(t, n, r) {
|
|
541
|
+
n[t] = n[t] || r(), e.exports &&= n[t];
|
|
542
|
+
})("Promise", N, function() {
|
|
543
|
+
var e, t, n, r = Object.prototype.toString, i = typeof setImmediate < "u" ? function(e) {
|
|
544
|
+
return setImmediate(e);
|
|
545
|
+
} : setTimeout;
|
|
546
|
+
try {
|
|
547
|
+
Object.defineProperty({}, "x", {}), e = function(e, t, n, r) {
|
|
548
|
+
return Object.defineProperty(e, t, {
|
|
549
|
+
value: n,
|
|
550
|
+
writable: !0,
|
|
551
|
+
configurable: r !== !1
|
|
552
|
+
});
|
|
553
|
+
};
|
|
554
|
+
} catch {
|
|
555
|
+
e = function(e, t, n) {
|
|
556
|
+
return e[t] = n, e;
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
n = function() {
|
|
560
|
+
var e, n, r;
|
|
561
|
+
function i(e, t) {
|
|
562
|
+
this.fn = e, this.self = t, this.next = void 0;
|
|
563
|
+
}
|
|
564
|
+
return {
|
|
565
|
+
add: function(t, a) {
|
|
566
|
+
r = new i(t, a), n ? n.next = r : e = r, n = r, r = void 0;
|
|
567
|
+
},
|
|
568
|
+
drain: function() {
|
|
569
|
+
var r = e;
|
|
570
|
+
for (e = n = t = void 0; r;) r.fn.call(r.self), r = r.next;
|
|
571
|
+
}
|
|
572
|
+
};
|
|
573
|
+
}();
|
|
574
|
+
function a(e, r) {
|
|
575
|
+
n.add(e, r), t ||= i(n.drain);
|
|
576
|
+
}
|
|
577
|
+
function o(e) {
|
|
578
|
+
var t, n = typeof e;
|
|
579
|
+
return e != null && (n == "object" || n == "function") && (t = e.then), typeof t == "function" ? t : !1;
|
|
580
|
+
}
|
|
581
|
+
function s() {
|
|
582
|
+
for (var e = 0; e < this.chain.length; e++) c(this, this.state === 1 ? this.chain[e].success : this.chain[e].failure, this.chain[e]);
|
|
583
|
+
this.chain.length = 0;
|
|
584
|
+
}
|
|
585
|
+
function c(e, t, n) {
|
|
586
|
+
var r, i;
|
|
587
|
+
try {
|
|
588
|
+
t === !1 ? n.reject(e.msg) : (r = t === !0 ? e.msg : t.call(void 0, e.msg), r === n.promise ? n.reject(TypeError("Promise-chain cycle")) : (i = o(r)) ? i.call(r, n.resolve, n.reject) : n.resolve(r));
|
|
589
|
+
} catch (e) {
|
|
590
|
+
n.reject(e);
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
function l(e) {
|
|
594
|
+
var t, n = this;
|
|
595
|
+
if (!n.triggered) {
|
|
596
|
+
n.triggered = !0, n.def && (n = n.def);
|
|
597
|
+
try {
|
|
598
|
+
(t = o(e)) ? a(function() {
|
|
599
|
+
var r = new f(n);
|
|
600
|
+
try {
|
|
601
|
+
t.call(e, function() {
|
|
602
|
+
l.apply(r, arguments);
|
|
603
|
+
}, function() {
|
|
604
|
+
u.apply(r, arguments);
|
|
605
|
+
});
|
|
606
|
+
} catch (e) {
|
|
607
|
+
u.call(r, e);
|
|
608
|
+
}
|
|
609
|
+
}) : (n.msg = e, n.state = 1, n.chain.length > 0 && a(s, n));
|
|
610
|
+
} catch (e) {
|
|
611
|
+
u.call(new f(n), e);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
function u(e) {
|
|
616
|
+
var t = this;
|
|
617
|
+
t.triggered || (t.triggered = !0, t.def && (t = t.def), t.msg = e, t.state = 2, t.chain.length > 0 && a(s, t));
|
|
618
|
+
}
|
|
619
|
+
function d(e, t, n, r) {
|
|
620
|
+
for (var i = 0; i < t.length; i++) (function(i) {
|
|
621
|
+
e.resolve(t[i]).then(function(e) {
|
|
622
|
+
n(i, e);
|
|
623
|
+
}, r);
|
|
624
|
+
})(i);
|
|
625
|
+
}
|
|
626
|
+
function f(e) {
|
|
627
|
+
this.def = e, this.triggered = !1;
|
|
628
|
+
}
|
|
629
|
+
function p(e) {
|
|
630
|
+
this.promise = e, this.state = 0, this.triggered = !1, this.chain = [], this.msg = void 0;
|
|
631
|
+
}
|
|
632
|
+
function m(e) {
|
|
633
|
+
if (typeof e != "function") throw TypeError("Not a function");
|
|
634
|
+
if (this.__NPO__ !== 0) throw TypeError("Not a promise");
|
|
635
|
+
this.__NPO__ = 1;
|
|
636
|
+
var t = new p(this);
|
|
637
|
+
this.then = function(e, n) {
|
|
638
|
+
var r = {
|
|
639
|
+
success: typeof e == "function" ? e : !0,
|
|
640
|
+
failure: typeof n == "function" ? n : !1
|
|
641
|
+
};
|
|
642
|
+
return r.promise = new this.constructor(function(e, t) {
|
|
643
|
+
if (typeof e != "function" || typeof t != "function") throw TypeError("Not a function");
|
|
644
|
+
r.resolve = e, r.reject = t;
|
|
645
|
+
}), t.chain.push(r), t.state !== 0 && a(s, t), r.promise;
|
|
646
|
+
}, this.catch = function(e) {
|
|
647
|
+
return this.then(void 0, e);
|
|
648
|
+
};
|
|
649
|
+
try {
|
|
650
|
+
e.call(void 0, function(e) {
|
|
651
|
+
l.call(t, e);
|
|
652
|
+
}, function(e) {
|
|
653
|
+
u.call(t, e);
|
|
654
|
+
});
|
|
655
|
+
} catch (e) {
|
|
656
|
+
u.call(t, e);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
var h = e({}, "constructor", m, !1);
|
|
660
|
+
return m.prototype = h, e(h, "__NPO__", 0, !1), e(m, "resolve", function(e) {
|
|
661
|
+
var t = this;
|
|
662
|
+
return e && typeof e == "object" && e.__NPO__ === 1 ? e : new t(function(t, n) {
|
|
663
|
+
if (typeof t != "function" || typeof n != "function") throw TypeError("Not a function");
|
|
664
|
+
t(e);
|
|
665
|
+
});
|
|
666
|
+
}), e(m, "reject", function(e) {
|
|
667
|
+
return new this(function(t, n) {
|
|
668
|
+
if (typeof t != "function" || typeof n != "function") throw TypeError("Not a function");
|
|
669
|
+
n(e);
|
|
670
|
+
});
|
|
671
|
+
}), e(m, "all", function(e) {
|
|
672
|
+
var t = this;
|
|
673
|
+
return r.call(e) == "[object Array]" ? e.length === 0 ? t.resolve([]) : new t(function(n, r) {
|
|
674
|
+
if (typeof n != "function" || typeof r != "function") throw TypeError("Not a function");
|
|
675
|
+
var i = e.length, a = Array(i), o = 0;
|
|
676
|
+
d(t, e, function(e, t) {
|
|
677
|
+
a[e] = t, ++o === i && n(a);
|
|
678
|
+
}, r);
|
|
679
|
+
}) : t.reject(TypeError("Not an array"));
|
|
680
|
+
}), e(m, "race", function(e) {
|
|
681
|
+
var t = this;
|
|
682
|
+
return r.call(e) == "[object Array]" ? new t(function(n, r) {
|
|
683
|
+
if (typeof n != "function" || typeof r != "function") throw TypeError("Not a function");
|
|
684
|
+
d(t, e, function(e, t) {
|
|
685
|
+
n(t);
|
|
686
|
+
}, r);
|
|
687
|
+
}) : t.reject(TypeError("Not an array"));
|
|
688
|
+
}), m;
|
|
689
|
+
});
|
|
690
|
+
}), F = /* @__PURE__ */ new WeakMap();
|
|
691
|
+
function I(e, t, n) {
|
|
692
|
+
var r = F.get(e.element) || {};
|
|
693
|
+
t in r || (r[t] = []), r[t].push(n), F.set(e.element, r);
|
|
694
|
+
}
|
|
695
|
+
function L(e, t) {
|
|
696
|
+
return (F.get(e.element) || {})[t] || [];
|
|
697
|
+
}
|
|
698
|
+
function R(e, t, n) {
|
|
699
|
+
var r = F.get(e.element) || {};
|
|
700
|
+
if (!r[t]) return !0;
|
|
701
|
+
if (!n) return r[t] = [], F.set(e.element, r), !0;
|
|
702
|
+
var i = r[t].indexOf(n);
|
|
703
|
+
return i !== -1 && r[t].splice(i, 1), F.set(e.element, r), r[t] && r[t].length === 0;
|
|
704
|
+
}
|
|
705
|
+
function ie(e, t) {
|
|
706
|
+
var n = L(e, t);
|
|
707
|
+
if (n.length < 1) return !1;
|
|
708
|
+
var r = n.shift();
|
|
709
|
+
return R(e, t, r), r;
|
|
710
|
+
}
|
|
711
|
+
function ae(e, t) {
|
|
712
|
+
var n = F.get(e);
|
|
713
|
+
F.set(t, n), F.delete(e);
|
|
714
|
+
}
|
|
715
|
+
function z(e) {
|
|
716
|
+
if (typeof e == "string") try {
|
|
717
|
+
e = JSON.parse(e);
|
|
718
|
+
} catch (e) {
|
|
719
|
+
return console.warn(e), {};
|
|
720
|
+
}
|
|
721
|
+
return e;
|
|
722
|
+
}
|
|
723
|
+
function B(e, t, n) {
|
|
724
|
+
if (!(!e.element.contentWindow || !e.element.contentWindow.postMessage)) {
|
|
725
|
+
var r = { method: t };
|
|
726
|
+
n !== void 0 && (r.value = n);
|
|
727
|
+
var i = parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/, "$1"));
|
|
728
|
+
i >= 8 && i < 10 && (r = JSON.stringify(r)), e.element.contentWindow.postMessage(r, e.origin);
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
function oe(e, t) {
|
|
732
|
+
t = z(t);
|
|
733
|
+
var n = [], r;
|
|
734
|
+
if (t.event) t.event === "error" && L(e, t.data.method).forEach(function(n) {
|
|
735
|
+
var r = Error(t.data.message);
|
|
736
|
+
r.name = t.data.name, n.reject(r), R(e, t.data.method, n);
|
|
737
|
+
}), n = L(e, `event:${t.event}`), r = t.data;
|
|
738
|
+
else if (t.method) {
|
|
739
|
+
var i = ie(e, t.method);
|
|
740
|
+
i && (n.push(i), r = t.value);
|
|
741
|
+
}
|
|
742
|
+
n.forEach(function(t) {
|
|
743
|
+
try {
|
|
744
|
+
if (typeof t == "function") {
|
|
745
|
+
t.call(e, r);
|
|
746
|
+
return;
|
|
747
|
+
}
|
|
748
|
+
t.resolve(r);
|
|
749
|
+
} catch {}
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
var se = /* @__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(".");
|
|
753
|
+
function V(e) {
|
|
754
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
755
|
+
return se.reduce(function(t, n) {
|
|
756
|
+
var r = e.getAttribute(`data-vimeo-${n}`);
|
|
757
|
+
return (r || r === "") && (t[n] = r === "" ? 1 : r), t;
|
|
758
|
+
}, t);
|
|
759
|
+
}
|
|
760
|
+
function H(e, t) {
|
|
761
|
+
var n = e.html;
|
|
762
|
+
if (!t) throw TypeError("An element must be provided");
|
|
763
|
+
if (t.getAttribute("data-vimeo-initialized") !== null) return t.querySelector("iframe");
|
|
764
|
+
var r = document.createElement("div");
|
|
765
|
+
return r.innerHTML = n, t.appendChild(r.firstChild), t.setAttribute("data-vimeo-initialized", "true"), t.querySelector("iframe");
|
|
766
|
+
}
|
|
767
|
+
function U(e) {
|
|
768
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
|
|
769
|
+
return new Promise(function(r, i) {
|
|
770
|
+
if (!k(e)) throw TypeError(`“${e}” is not a vimeo.com url.`);
|
|
771
|
+
var a = `https://${ee(e)}/api/oembed.json?url=${encodeURIComponent(e)}`;
|
|
772
|
+
for (var o in t) t.hasOwnProperty(o) && (a += `&${o}=${encodeURIComponent(t[o])}`);
|
|
773
|
+
var s = "XDomainRequest" in window ? new XDomainRequest() : new XMLHttpRequest();
|
|
774
|
+
s.open("GET", a, !0), s.onload = function() {
|
|
775
|
+
if (s.status === 404) {
|
|
776
|
+
i(/* @__PURE__ */ Error(`“${e}” was not found.`));
|
|
777
|
+
return;
|
|
778
|
+
}
|
|
779
|
+
if (s.status === 403) {
|
|
780
|
+
i(/* @__PURE__ */ Error(`“${e}” is not embeddable.`));
|
|
781
|
+
return;
|
|
782
|
+
}
|
|
783
|
+
try {
|
|
784
|
+
var t = JSON.parse(s.responseText);
|
|
785
|
+
if (t.domain_status_code === 403) {
|
|
786
|
+
H(t, n), i(/* @__PURE__ */ Error(`“${e}” is not embeddable.`));
|
|
787
|
+
return;
|
|
788
|
+
}
|
|
789
|
+
r(t);
|
|
790
|
+
} catch (e) {
|
|
791
|
+
i(e);
|
|
792
|
+
}
|
|
793
|
+
}, s.onerror = function() {
|
|
794
|
+
var e = s.status ? ` (${s.status})` : "";
|
|
795
|
+
i(/* @__PURE__ */ Error(`There was an error fetching the embed code from Vimeo${e}.`));
|
|
796
|
+
}, s.send();
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
function ce() {
|
|
800
|
+
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) {
|
|
801
|
+
"console" in window && console.error && console.error(`There was an error creating an embed: ${e}`);
|
|
802
|
+
};
|
|
803
|
+
t.forEach(function(e) {
|
|
804
|
+
try {
|
|
805
|
+
if (e.getAttribute("data-vimeo-defer") !== null) return;
|
|
806
|
+
var t = V(e);
|
|
807
|
+
U(j(t), t, e).then(function(t) {
|
|
808
|
+
return H(t, e);
|
|
809
|
+
}).catch(n);
|
|
810
|
+
} catch (e) {
|
|
811
|
+
n(e);
|
|
812
|
+
}
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
function le() {
|
|
816
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
|
|
817
|
+
window.VimeoPlayerResizeEmbeds_ || (window.VimeoPlayerResizeEmbeds_ = !0, window.addEventListener("message", function(t) {
|
|
818
|
+
if (k(t.origin) && !(!t.data || t.data.event !== "spacechange")) {
|
|
819
|
+
for (var n = e.querySelectorAll("iframe"), r = 0; r < n.length; r++) if (n[r].contentWindow === t.source) {
|
|
820
|
+
var i = n[r].parentElement;
|
|
821
|
+
i.style.paddingBottom = `${t.data.data[0].bottom}px`;
|
|
822
|
+
break;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}));
|
|
826
|
+
}
|
|
827
|
+
function ue() {
|
|
828
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
|
|
829
|
+
window.VimeoSeoMetadataAppended || (window.VimeoSeoMetadataAppended = !0, window.addEventListener("message", function(t) {
|
|
830
|
+
if (k(t.origin)) {
|
|
831
|
+
var n = z(t.data);
|
|
832
|
+
if (!(!n || n.event !== "ready")) for (var r = e.querySelectorAll("iframe"), i = 0; i < r.length; i++) {
|
|
833
|
+
var a = r[i], o = a.contentWindow === t.source;
|
|
834
|
+
A(a.src) && o && new q(a).callMethod("appendVideoMetadata", window.location.href);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}));
|
|
838
|
+
}
|
|
839
|
+
function de() {
|
|
840
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
|
|
841
|
+
if (!window.VimeoCheckedUrlTimeParam) {
|
|
842
|
+
window.VimeoCheckedUrlTimeParam = !0;
|
|
843
|
+
var t = function(e) {
|
|
844
|
+
"console" in window && console.error && console.error(`There was an error getting video Id: ${e}`);
|
|
845
|
+
};
|
|
846
|
+
window.addEventListener("message", function(n) {
|
|
847
|
+
if (k(n.origin)) {
|
|
848
|
+
var r = z(n.data);
|
|
849
|
+
if (!(!r || r.event !== "ready")) for (var i = e.querySelectorAll("iframe"), a = function() {
|
|
850
|
+
var e = i[o], r = e.contentWindow === n.source;
|
|
851
|
+
if (A(e.src) && r) {
|
|
852
|
+
var a = new q(e);
|
|
853
|
+
a.getVideoId().then(function(e) {
|
|
854
|
+
var t = RegExp(`[?&]vimeo_t_${e}=([^&#]*)`).exec(window.location.href);
|
|
855
|
+
if (t && t[1]) {
|
|
856
|
+
var n = decodeURI(t[1]);
|
|
857
|
+
a.setCurrentTime(n);
|
|
858
|
+
}
|
|
859
|
+
}).catch(t);
|
|
860
|
+
}
|
|
861
|
+
}, o = 0; o < i.length; o++) a();
|
|
862
|
+
}
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
function fe() {
|
|
867
|
+
var e = function() {
|
|
868
|
+
for (var e, t = [
|
|
869
|
+
[
|
|
870
|
+
"requestFullscreen",
|
|
871
|
+
"exitFullscreen",
|
|
872
|
+
"fullscreenElement",
|
|
873
|
+
"fullscreenEnabled",
|
|
874
|
+
"fullscreenchange",
|
|
875
|
+
"fullscreenerror"
|
|
876
|
+
],
|
|
877
|
+
[
|
|
878
|
+
"webkitRequestFullscreen",
|
|
879
|
+
"webkitExitFullscreen",
|
|
880
|
+
"webkitFullscreenElement",
|
|
881
|
+
"webkitFullscreenEnabled",
|
|
882
|
+
"webkitfullscreenchange",
|
|
883
|
+
"webkitfullscreenerror"
|
|
884
|
+
],
|
|
885
|
+
[
|
|
886
|
+
"webkitRequestFullScreen",
|
|
887
|
+
"webkitCancelFullScreen",
|
|
888
|
+
"webkitCurrentFullScreenElement",
|
|
889
|
+
"webkitCancelFullScreen",
|
|
890
|
+
"webkitfullscreenchange",
|
|
891
|
+
"webkitfullscreenerror"
|
|
892
|
+
],
|
|
893
|
+
[
|
|
894
|
+
"mozRequestFullScreen",
|
|
895
|
+
"mozCancelFullScreen",
|
|
896
|
+
"mozFullScreenElement",
|
|
897
|
+
"mozFullScreenEnabled",
|
|
898
|
+
"mozfullscreenchange",
|
|
899
|
+
"mozfullscreenerror"
|
|
900
|
+
],
|
|
901
|
+
[
|
|
902
|
+
"msRequestFullscreen",
|
|
903
|
+
"msExitFullscreen",
|
|
904
|
+
"msFullscreenElement",
|
|
905
|
+
"msFullscreenEnabled",
|
|
906
|
+
"MSFullscreenChange",
|
|
907
|
+
"MSFullscreenError"
|
|
908
|
+
]
|
|
909
|
+
], n = 0, r = t.length, i = {}; n < r; n++) if (e = t[n], e && e[1] in document) {
|
|
910
|
+
for (n = 0; n < e.length; n++) i[t[0][n]] = e[n];
|
|
911
|
+
return i;
|
|
912
|
+
}
|
|
913
|
+
return !1;
|
|
914
|
+
}(), t = {
|
|
915
|
+
fullscreenchange: e.fullscreenchange,
|
|
916
|
+
fullscreenerror: e.fullscreenerror
|
|
917
|
+
}, n = {
|
|
918
|
+
request: function(t) {
|
|
919
|
+
return new Promise(function(r, i) {
|
|
920
|
+
var a = function e() {
|
|
921
|
+
n.off("fullscreenchange", e), r();
|
|
922
|
+
};
|
|
923
|
+
n.on("fullscreenchange", a), t ||= document.documentElement;
|
|
924
|
+
var o = t[e.requestFullscreen]();
|
|
925
|
+
o instanceof Promise && o.then(a).catch(i);
|
|
926
|
+
});
|
|
927
|
+
},
|
|
928
|
+
exit: function() {
|
|
929
|
+
return new Promise(function(t, r) {
|
|
930
|
+
if (!n.isFullscreen) {
|
|
931
|
+
t();
|
|
932
|
+
return;
|
|
933
|
+
}
|
|
934
|
+
var i = function e() {
|
|
935
|
+
n.off("fullscreenchange", e), t();
|
|
936
|
+
};
|
|
937
|
+
n.on("fullscreenchange", i);
|
|
938
|
+
var a = document[e.exitFullscreen]();
|
|
939
|
+
a instanceof Promise && a.then(i).catch(r);
|
|
940
|
+
});
|
|
941
|
+
},
|
|
942
|
+
on: function(e, n) {
|
|
943
|
+
var r = t[e];
|
|
944
|
+
r && document.addEventListener(r, n);
|
|
945
|
+
},
|
|
946
|
+
off: function(e, n) {
|
|
947
|
+
var r = t[e];
|
|
948
|
+
r && document.removeEventListener(r, n);
|
|
949
|
+
}
|
|
950
|
+
};
|
|
951
|
+
return Object.defineProperties(n, {
|
|
952
|
+
isFullscreen: { get: function() {
|
|
953
|
+
return !!document[e.fullscreenElement];
|
|
954
|
+
} },
|
|
955
|
+
element: {
|
|
956
|
+
enumerable: !0,
|
|
957
|
+
get: function() {
|
|
958
|
+
return document[e.fullscreenElement];
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
isEnabled: {
|
|
962
|
+
enumerable: !0,
|
|
963
|
+
get: function() {
|
|
964
|
+
return !!document[e.fullscreenEnabled];
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
}), n;
|
|
968
|
+
}
|
|
969
|
+
var pe = {
|
|
970
|
+
role: "viewer",
|
|
971
|
+
autoPlayMuted: !0,
|
|
972
|
+
allowedDrift: .3,
|
|
973
|
+
maxAllowedDrift: 1,
|
|
974
|
+
minCheckInterval: .1,
|
|
975
|
+
maxRateAdjustment: .2,
|
|
976
|
+
maxTimeToCatchUp: 1
|
|
977
|
+
}, me = /*#__PURE__*/ function(e) {
|
|
978
|
+
p(n, e);
|
|
979
|
+
var t = S(n);
|
|
980
|
+
function n(e, r) {
|
|
981
|
+
var i, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, u = arguments.length > 3 ? arguments[3] : void 0;
|
|
982
|
+
return l(this, n), i = t.call(this), f(b(i), "logger", void 0), f(b(i), "speedAdjustment", 0), f(b(i), "adjustSpeed", /*#__PURE__*/ function() {
|
|
983
|
+
var e = c(/*#__PURE__*/ o().mark(function e(t, n) {
|
|
984
|
+
var r;
|
|
985
|
+
return o().wrap(function(e) {
|
|
986
|
+
for (;;) switch (e.prev = e.next) {
|
|
987
|
+
case 0:
|
|
988
|
+
if (i.speedAdjustment !== n) {
|
|
989
|
+
e.next = 2;
|
|
990
|
+
break;
|
|
991
|
+
}
|
|
992
|
+
return e.abrupt("return");
|
|
993
|
+
case 2: return e.next = 4, t.getPlaybackRate();
|
|
994
|
+
case 4: return e.t0 = e.sent, e.t1 = i.speedAdjustment, e.t2 = e.t0 - e.t1, e.t3 = n, r = e.t2 + e.t3, i.log(`New playbackRate: ${r}`), e.next = 12, t.setPlaybackRate(r);
|
|
995
|
+
case 12: i.speedAdjustment = n;
|
|
996
|
+
case 13:
|
|
997
|
+
case "end": return e.stop();
|
|
998
|
+
}
|
|
999
|
+
}, e);
|
|
1000
|
+
}));
|
|
1001
|
+
return function(t, n) {
|
|
1002
|
+
return e.apply(this, arguments);
|
|
1003
|
+
};
|
|
1004
|
+
}()), i.logger = u, i.init(r, e, a(a({}, pe), s)), i;
|
|
1005
|
+
}
|
|
1006
|
+
return d(n, [
|
|
1007
|
+
{
|
|
1008
|
+
key: "disconnect",
|
|
1009
|
+
value: function() {
|
|
1010
|
+
this.dispatchEvent(new Event("disconnect"));
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
key: "init",
|
|
1015
|
+
value: function() {
|
|
1016
|
+
var e = c(/*#__PURE__*/ o().mark(function e(t, n, r) {
|
|
1017
|
+
var i = this, a, s, c;
|
|
1018
|
+
return o().wrap(function(e) {
|
|
1019
|
+
for (;;) switch (e.prev = e.next) {
|
|
1020
|
+
case 0: return e.next = 2, this.waitForTOReadyState(t, "open");
|
|
1021
|
+
case 2:
|
|
1022
|
+
if (r.role !== "viewer") {
|
|
1023
|
+
e.next = 10;
|
|
1024
|
+
break;
|
|
1025
|
+
}
|
|
1026
|
+
return e.next = 5, this.updatePlayer(t, n, r);
|
|
1027
|
+
case 5:
|
|
1028
|
+
a = M(t, "change", function() {
|
|
1029
|
+
return i.updatePlayer(t, n, r);
|
|
1030
|
+
}), s = this.maintainPlaybackPosition(t, n, r), this.addEventListener("disconnect", function() {
|
|
1031
|
+
s.cancel(), a.cancel();
|
|
1032
|
+
}), e.next = 14;
|
|
1033
|
+
break;
|
|
1034
|
+
case 10: return e.next = 12, this.updateTimingObject(t, n);
|
|
1035
|
+
case 12: c = M(n, [
|
|
1036
|
+
"seeked",
|
|
1037
|
+
"play",
|
|
1038
|
+
"pause",
|
|
1039
|
+
"ratechange"
|
|
1040
|
+
], function() {
|
|
1041
|
+
return i.updateTimingObject(t, n);
|
|
1042
|
+
}, "on", "off"), this.addEventListener("disconnect", function() {
|
|
1043
|
+
return c.cancel();
|
|
1044
|
+
});
|
|
1045
|
+
case 14:
|
|
1046
|
+
case "end": return e.stop();
|
|
1047
|
+
}
|
|
1048
|
+
}, e, this);
|
|
1049
|
+
}));
|
|
1050
|
+
function t(t, n, r) {
|
|
1051
|
+
return e.apply(this, arguments);
|
|
1052
|
+
}
|
|
1053
|
+
return t;
|
|
1054
|
+
}()
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
key: "updateTimingObject",
|
|
1058
|
+
value: function() {
|
|
1059
|
+
var e = c(/*#__PURE__*/ o().mark(function e(t, n) {
|
|
1060
|
+
return o().wrap(function(e) {
|
|
1061
|
+
for (;;) switch (e.prev = e.next) {
|
|
1062
|
+
case 0: return e.t0 = t, e.next = 3, n.getCurrentTime();
|
|
1063
|
+
case 3: return e.t1 = e.sent, e.next = 6, n.getPaused();
|
|
1064
|
+
case 6:
|
|
1065
|
+
if (!e.sent) {
|
|
1066
|
+
e.next = 10;
|
|
1067
|
+
break;
|
|
1068
|
+
}
|
|
1069
|
+
e.t2 = 0, e.next = 13;
|
|
1070
|
+
break;
|
|
1071
|
+
case 10: return e.next = 12, n.getPlaybackRate();
|
|
1072
|
+
case 12: e.t2 = e.sent;
|
|
1073
|
+
case 13: e.t3 = e.t2, e.t4 = {
|
|
1074
|
+
position: e.t1,
|
|
1075
|
+
velocity: e.t3
|
|
1076
|
+
}, e.t0.update.call(e.t0, e.t4);
|
|
1077
|
+
case 16:
|
|
1078
|
+
case "end": return e.stop();
|
|
1079
|
+
}
|
|
1080
|
+
}, e);
|
|
1081
|
+
}));
|
|
1082
|
+
function t(t, n) {
|
|
1083
|
+
return e.apply(this, arguments);
|
|
1084
|
+
}
|
|
1085
|
+
return t;
|
|
1086
|
+
}()
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
key: "updatePlayer",
|
|
1090
|
+
value: function() {
|
|
1091
|
+
var e = c(/*#__PURE__*/ o().mark(function e(t, n, r) {
|
|
1092
|
+
var i, a, s;
|
|
1093
|
+
return o().wrap(function(e) {
|
|
1094
|
+
for (;;) switch (e.prev = e.next) {
|
|
1095
|
+
case 0:
|
|
1096
|
+
if (i = t.query(), a = i.position, s = i.velocity, typeof a == "number" && n.setCurrentTime(a), typeof s != "number") {
|
|
1097
|
+
e.next = 25;
|
|
1098
|
+
break;
|
|
1099
|
+
}
|
|
1100
|
+
if (s !== 0) {
|
|
1101
|
+
e.next = 11;
|
|
1102
|
+
break;
|
|
1103
|
+
}
|
|
1104
|
+
return e.next = 6, n.getPaused();
|
|
1105
|
+
case 6:
|
|
1106
|
+
if (e.t0 = e.sent, e.t0 !== !1) {
|
|
1107
|
+
e.next = 9;
|
|
1108
|
+
break;
|
|
1109
|
+
}
|
|
1110
|
+
n.pause();
|
|
1111
|
+
case 9:
|
|
1112
|
+
e.next = 25;
|
|
1113
|
+
break;
|
|
1114
|
+
case 11:
|
|
1115
|
+
if (!(s > 0)) {
|
|
1116
|
+
e.next = 25;
|
|
1117
|
+
break;
|
|
1118
|
+
}
|
|
1119
|
+
return e.next = 14, n.getPaused();
|
|
1120
|
+
case 14:
|
|
1121
|
+
if (e.t1 = e.sent, e.t1 !== !0) {
|
|
1122
|
+
e.next = 19;
|
|
1123
|
+
break;
|
|
1124
|
+
}
|
|
1125
|
+
return e.next = 18, n.play().catch(/*#__PURE__*/ function() {
|
|
1126
|
+
var e = c(/*#__PURE__*/ o().mark(function e(t) {
|
|
1127
|
+
return o().wrap(function(e) {
|
|
1128
|
+
for (;;) switch (e.prev = e.next) {
|
|
1129
|
+
case 0:
|
|
1130
|
+
if (!(t.name === "NotAllowedError" && r.autoPlayMuted)) {
|
|
1131
|
+
e.next = 5;
|
|
1132
|
+
break;
|
|
1133
|
+
}
|
|
1134
|
+
return e.next = 3, n.setMuted(!0);
|
|
1135
|
+
case 3: return e.next = 5, n.play().catch(function(e) {
|
|
1136
|
+
return console.error("Couldn't play the video from TimingSrcConnector. Error:", e);
|
|
1137
|
+
});
|
|
1138
|
+
case 5:
|
|
1139
|
+
case "end": return e.stop();
|
|
1140
|
+
}
|
|
1141
|
+
}, e);
|
|
1142
|
+
}));
|
|
1143
|
+
return function(t) {
|
|
1144
|
+
return e.apply(this, arguments);
|
|
1145
|
+
};
|
|
1146
|
+
}());
|
|
1147
|
+
case 18: this.updatePlayer(t, n, r);
|
|
1148
|
+
case 19: return e.next = 21, n.getPlaybackRate();
|
|
1149
|
+
case 21:
|
|
1150
|
+
if (e.t2 = e.sent, e.t3 = s, e.t2 === e.t3) {
|
|
1151
|
+
e.next = 25;
|
|
1152
|
+
break;
|
|
1153
|
+
}
|
|
1154
|
+
n.setPlaybackRate(s);
|
|
1155
|
+
case 25:
|
|
1156
|
+
case "end": return e.stop();
|
|
1157
|
+
}
|
|
1158
|
+
}, e, this);
|
|
1159
|
+
}));
|
|
1160
|
+
function t(t, n, r) {
|
|
1161
|
+
return e.apply(this, arguments);
|
|
1162
|
+
}
|
|
1163
|
+
return t;
|
|
1164
|
+
}()
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
key: "maintainPlaybackPosition",
|
|
1168
|
+
value: function(e, t, n) {
|
|
1169
|
+
var r = this, i = n.allowedDrift, a = n.maxAllowedDrift, s = n.minCheckInterval, l = n.maxRateAdjustment, u = n.maxTimeToCatchUp, d = Math.min(u, Math.max(s, a)) * 1e3, f = /*#__PURE__*/ function() {
|
|
1170
|
+
var n = c(/*#__PURE__*/ o().mark(function n() {
|
|
1171
|
+
var s, c, d, f, p;
|
|
1172
|
+
return o().wrap(function(n) {
|
|
1173
|
+
for (;;) switch (n.prev = n.next) {
|
|
1174
|
+
case 0:
|
|
1175
|
+
if (n.t0 = e.query().velocity === 0, n.t0) {
|
|
1176
|
+
n.next = 6;
|
|
1177
|
+
break;
|
|
1178
|
+
}
|
|
1179
|
+
return n.next = 4, t.getPaused();
|
|
1180
|
+
case 4: n.t1 = n.sent, n.t0 = n.t1 === !0;
|
|
1181
|
+
case 6:
|
|
1182
|
+
if (!n.t0) {
|
|
1183
|
+
n.next = 8;
|
|
1184
|
+
break;
|
|
1185
|
+
}
|
|
1186
|
+
return n.abrupt("return");
|
|
1187
|
+
case 8: return n.t2 = e.query().position, n.next = 11, t.getCurrentTime();
|
|
1188
|
+
case 11:
|
|
1189
|
+
if (n.t3 = n.sent, s = n.t2 - n.t3, c = Math.abs(s), r.log(`Drift: ${s}`), !(c > a)) {
|
|
1190
|
+
n.next = 22;
|
|
1191
|
+
break;
|
|
1192
|
+
}
|
|
1193
|
+
return n.next = 18, r.adjustSpeed(t, 0);
|
|
1194
|
+
case 18:
|
|
1195
|
+
t.setCurrentTime(e.query().position), r.log("Resync by currentTime"), n.next = 29;
|
|
1196
|
+
break;
|
|
1197
|
+
case 22:
|
|
1198
|
+
if (!(c > i)) {
|
|
1199
|
+
n.next = 29;
|
|
1200
|
+
break;
|
|
1201
|
+
}
|
|
1202
|
+
return d = c / u, f = l, p = d < f ? (f - d) / 2 : f, n.next = 28, r.adjustSpeed(t, p * Math.sign(s));
|
|
1203
|
+
case 28: r.log("Resync by playbackRate");
|
|
1204
|
+
case 29:
|
|
1205
|
+
case "end": return n.stop();
|
|
1206
|
+
}
|
|
1207
|
+
}, n);
|
|
1208
|
+
}));
|
|
1209
|
+
return function() {
|
|
1210
|
+
return n.apply(this, arguments);
|
|
1211
|
+
};
|
|
1212
|
+
}(), p = setInterval(function() {
|
|
1213
|
+
return f();
|
|
1214
|
+
}, d);
|
|
1215
|
+
return { cancel: function() {
|
|
1216
|
+
return clearInterval(p);
|
|
1217
|
+
} };
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
key: "log",
|
|
1222
|
+
value: function(e) {
|
|
1223
|
+
var t;
|
|
1224
|
+
(t = this.logger) == null || t.call(this, `TimingSrcConnector: ${e}`);
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
key: "waitForTOReadyState",
|
|
1229
|
+
value: function(e, t) {
|
|
1230
|
+
return new Promise(function(n) {
|
|
1231
|
+
(function r() {
|
|
1232
|
+
e.readyState === t ? n() : e.addEventListener("readystatechange", r, { once: !0 });
|
|
1233
|
+
})();
|
|
1234
|
+
});
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
]), n;
|
|
1238
|
+
}(/*#__PURE__*/ y(EventTarget)), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), K = {}, q = /*#__PURE__*/ function() {
|
|
1239
|
+
function e(t) {
|
|
1240
|
+
var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1241
|
+
if (l(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)), !D(t)) throw TypeError("You must pass either a valid element or a valid id.");
|
|
1242
|
+
if (t.nodeName !== "IFRAME") {
|
|
1243
|
+
var i = t.querySelector("iframe");
|
|
1244
|
+
i && (t = i);
|
|
1245
|
+
}
|
|
1246
|
+
if (t.nodeName === "IFRAME" && !k(t.getAttribute("src") || "")) throw Error("The player element passed isn’t a Vimeo embed.");
|
|
1247
|
+
if (W.has(t)) return W.get(t);
|
|
1248
|
+
this._window = t.ownerDocument.defaultView, this.element = t, this.origin = "*";
|
|
1249
|
+
var a = new P(function(e, i) {
|
|
1250
|
+
if (n._onMessage = function(t) {
|
|
1251
|
+
if (!(!k(t.origin) || n.element.contentWindow !== t.source)) {
|
|
1252
|
+
n.origin === "*" && (n.origin = t.origin);
|
|
1253
|
+
var r = z(t.data);
|
|
1254
|
+
if (r && r.event === "error" && r.data && r.data.method === "ready") {
|
|
1255
|
+
var a = Error(r.data.message);
|
|
1256
|
+
a.name = r.data.name, i(a);
|
|
1257
|
+
return;
|
|
1258
|
+
}
|
|
1259
|
+
var o = r && r.event === "ready", s = r && r.method === "ping";
|
|
1260
|
+
if (o || s) {
|
|
1261
|
+
n.element.setAttribute("data-ready", "true"), e();
|
|
1262
|
+
return;
|
|
1263
|
+
}
|
|
1264
|
+
oe(n, r);
|
|
1265
|
+
}
|
|
1266
|
+
}, n._window.addEventListener("message", n._onMessage), n.element.nodeName !== "IFRAME") {
|
|
1267
|
+
var a = V(t, r);
|
|
1268
|
+
U(j(a), a, t).then(function(e) {
|
|
1269
|
+
var r = H(e, t);
|
|
1270
|
+
return n.element = r, n._originalElement = t, ae(t, r), W.set(n.element, n), e;
|
|
1271
|
+
}).catch(i);
|
|
1272
|
+
}
|
|
1273
|
+
});
|
|
1274
|
+
if (G.set(this, a), W.set(this.element, this), this.element.nodeName === "IFRAME" && B(this, "ping"), K.isEnabled) {
|
|
1275
|
+
var o = function() {
|
|
1276
|
+
return K.exit();
|
|
1277
|
+
};
|
|
1278
|
+
this.fullscreenchangeHandler = function() {
|
|
1279
|
+
K.isFullscreen ? I(n, "event:exitFullscreen", o) : R(n, "event:exitFullscreen", o), n.ready().then(function() {
|
|
1280
|
+
B(n, "fullscreenchange", K.isFullscreen);
|
|
1281
|
+
});
|
|
1282
|
+
}, K.on("fullscreenchange", this.fullscreenchangeHandler);
|
|
1283
|
+
}
|
|
1284
|
+
return this;
|
|
1285
|
+
}
|
|
1286
|
+
return d(e, [
|
|
1287
|
+
{
|
|
1288
|
+
key: "callMethod",
|
|
1289
|
+
value: function(e) {
|
|
1290
|
+
var t = this, n = [...arguments].slice(1);
|
|
1291
|
+
if (e == null) throw TypeError("You must pass a method name.");
|
|
1292
|
+
return new P(function(r, i) {
|
|
1293
|
+
return t.ready().then(function() {
|
|
1294
|
+
I(t, e, {
|
|
1295
|
+
resolve: r,
|
|
1296
|
+
reject: i
|
|
1297
|
+
}), B(t, e, n);
|
|
1298
|
+
}).catch(i);
|
|
1299
|
+
});
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
key: "get",
|
|
1304
|
+
value: function(e) {
|
|
1305
|
+
var t = this;
|
|
1306
|
+
return new P(function(n, r) {
|
|
1307
|
+
return e = E(e, "get"), t.ready().then(function() {
|
|
1308
|
+
I(t, e, {
|
|
1309
|
+
resolve: n,
|
|
1310
|
+
reject: r
|
|
1311
|
+
}), B(t, e);
|
|
1312
|
+
}).catch(r);
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
key: "set",
|
|
1318
|
+
value: function(e, t) {
|
|
1319
|
+
var n = this;
|
|
1320
|
+
return new P(function(r, i) {
|
|
1321
|
+
if (e = E(e, "set"), t == null) throw TypeError("There must be a value to set.");
|
|
1322
|
+
return n.ready().then(function() {
|
|
1323
|
+
I(n, e, {
|
|
1324
|
+
resolve: r,
|
|
1325
|
+
reject: i
|
|
1326
|
+
}), B(n, e, t);
|
|
1327
|
+
}).catch(i);
|
|
1328
|
+
});
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
key: "on",
|
|
1333
|
+
value: function(e, t) {
|
|
1334
|
+
if (!e) throw TypeError("You must pass an event name.");
|
|
1335
|
+
if (!t) throw TypeError("You must pass a callback function.");
|
|
1336
|
+
if (typeof t != "function") throw TypeError("The callback must be a function.");
|
|
1337
|
+
L(this, `event:${e}`).length === 0 && this.callMethod("addEventListener", e).catch(function() {}), I(this, `event:${e}`, t);
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
key: "off",
|
|
1342
|
+
value: function(e, t) {
|
|
1343
|
+
if (!e) throw TypeError("You must pass an event name.");
|
|
1344
|
+
if (t && typeof t != "function") throw TypeError("The callback must be a function.");
|
|
1345
|
+
R(this, `event:${e}`, t) && this.callMethod("removeEventListener", e).catch(function(e) {});
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
key: "loadVideo",
|
|
1350
|
+
value: function(e) {
|
|
1351
|
+
return this.callMethod("loadVideo", e);
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
key: "ready",
|
|
1356
|
+
value: function() {
|
|
1357
|
+
var e = G.get(this) || new P(function(e, t) {
|
|
1358
|
+
t(/* @__PURE__ */ Error("Unknown player. Probably unloaded."));
|
|
1359
|
+
});
|
|
1360
|
+
return P.resolve(e);
|
|
1361
|
+
}
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
key: "addCuePoint",
|
|
1365
|
+
value: function(e) {
|
|
1366
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1367
|
+
return this.callMethod("addCuePoint", {
|
|
1368
|
+
time: e,
|
|
1369
|
+
data: t
|
|
1370
|
+
});
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
key: "removeCuePoint",
|
|
1375
|
+
value: function(e) {
|
|
1376
|
+
return this.callMethod("removeCuePoint", e);
|
|
1377
|
+
}
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
key: "enableTextTrack",
|
|
1381
|
+
value: function(e, t) {
|
|
1382
|
+
if (!e) throw TypeError("You must pass a language.");
|
|
1383
|
+
return this.callMethod("enableTextTrack", {
|
|
1384
|
+
language: e,
|
|
1385
|
+
kind: t
|
|
1386
|
+
});
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
key: "disableTextTrack",
|
|
1391
|
+
value: function() {
|
|
1392
|
+
return this.callMethod("disableTextTrack");
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
key: "pause",
|
|
1397
|
+
value: function() {
|
|
1398
|
+
return this.callMethod("pause");
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
key: "play",
|
|
1403
|
+
value: function() {
|
|
1404
|
+
return this.callMethod("play");
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
key: "requestFullscreen",
|
|
1409
|
+
value: function() {
|
|
1410
|
+
return K.isEnabled ? K.request(this.element) : this.callMethod("requestFullscreen");
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
key: "exitFullscreen",
|
|
1415
|
+
value: function() {
|
|
1416
|
+
return K.isEnabled ? K.exit() : this.callMethod("exitFullscreen");
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
key: "getFullscreen",
|
|
1421
|
+
value: function() {
|
|
1422
|
+
return K.isEnabled ? P.resolve(K.isFullscreen) : this.get("fullscreen");
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
key: "requestPictureInPicture",
|
|
1427
|
+
value: function() {
|
|
1428
|
+
return this.callMethod("requestPictureInPicture");
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
key: "exitPictureInPicture",
|
|
1433
|
+
value: function() {
|
|
1434
|
+
return this.callMethod("exitPictureInPicture");
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
key: "getPictureInPicture",
|
|
1439
|
+
value: function() {
|
|
1440
|
+
return this.get("pictureInPicture");
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
key: "remotePlaybackPrompt",
|
|
1445
|
+
value: function() {
|
|
1446
|
+
return this.callMethod("remotePlaybackPrompt");
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
key: "unload",
|
|
1451
|
+
value: function() {
|
|
1452
|
+
return this.callMethod("unload");
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
key: "destroy",
|
|
1457
|
+
value: function() {
|
|
1458
|
+
var e = this;
|
|
1459
|
+
return new P(function(t) {
|
|
1460
|
+
if (G.delete(e), W.delete(e.element), e._originalElement && (W.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) {
|
|
1461
|
+
e.element.removeAttribute("data-vimeo-initialized");
|
|
1462
|
+
var n = e.element.querySelector("iframe");
|
|
1463
|
+
n && n.parentNode && (n.parentNode.parentNode && e._originalElement && e._originalElement !== n.parentNode ? n.parentNode.parentNode.removeChild(n.parentNode) : n.parentNode.removeChild(n));
|
|
1464
|
+
}
|
|
1465
|
+
e._window.removeEventListener("message", e._onMessage), K.isEnabled && K.off("fullscreenchange", e.fullscreenchangeHandler), t();
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
key: "getAutopause",
|
|
1471
|
+
value: function() {
|
|
1472
|
+
return this.get("autopause");
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
key: "setAutopause",
|
|
1477
|
+
value: function(e) {
|
|
1478
|
+
return this.set("autopause", e);
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
key: "getBuffered",
|
|
1483
|
+
value: function() {
|
|
1484
|
+
return this.get("buffered");
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
key: "getCameraProps",
|
|
1489
|
+
value: function() {
|
|
1490
|
+
return this.get("cameraProps");
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
key: "setCameraProps",
|
|
1495
|
+
value: function(e) {
|
|
1496
|
+
return this.set("cameraProps", e);
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
key: "getChapters",
|
|
1501
|
+
value: function() {
|
|
1502
|
+
return this.get("chapters");
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
key: "getCurrentChapter",
|
|
1507
|
+
value: function() {
|
|
1508
|
+
return this.get("currentChapter");
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
key: "getColor",
|
|
1513
|
+
value: function() {
|
|
1514
|
+
return this.get("color");
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
key: "getColors",
|
|
1519
|
+
value: function() {
|
|
1520
|
+
return P.all([
|
|
1521
|
+
this.get("colorOne"),
|
|
1522
|
+
this.get("colorTwo"),
|
|
1523
|
+
this.get("colorThree"),
|
|
1524
|
+
this.get("colorFour")
|
|
1525
|
+
]);
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
key: "setColor",
|
|
1530
|
+
value: function(e) {
|
|
1531
|
+
return this.set("color", e);
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
key: "setColors",
|
|
1536
|
+
value: function(e) {
|
|
1537
|
+
if (!Array.isArray(e)) return new P(function(e, t) {
|
|
1538
|
+
return t(/* @__PURE__ */ TypeError("Argument must be an array."));
|
|
1539
|
+
});
|
|
1540
|
+
var t = new P(function(e) {
|
|
1541
|
+
return e(null);
|
|
1542
|
+
}), n = [
|
|
1543
|
+
e[0] ? this.set("colorOne", e[0]) : t,
|
|
1544
|
+
e[1] ? this.set("colorTwo", e[1]) : t,
|
|
1545
|
+
e[2] ? this.set("colorThree", e[2]) : t,
|
|
1546
|
+
e[3] ? this.set("colorFour", e[3]) : t
|
|
1547
|
+
];
|
|
1548
|
+
return P.all(n);
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
key: "getCuePoints",
|
|
1553
|
+
value: function() {
|
|
1554
|
+
return this.get("cuePoints");
|
|
1555
|
+
}
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
key: "getCurrentTime",
|
|
1559
|
+
value: function() {
|
|
1560
|
+
return this.get("currentTime");
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
key: "setCurrentTime",
|
|
1565
|
+
value: function(e) {
|
|
1566
|
+
return this.set("currentTime", e);
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
key: "getDuration",
|
|
1571
|
+
value: function() {
|
|
1572
|
+
return this.get("duration");
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
key: "getEnded",
|
|
1577
|
+
value: function() {
|
|
1578
|
+
return this.get("ended");
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
key: "getLoop",
|
|
1583
|
+
value: function() {
|
|
1584
|
+
return this.get("loop");
|
|
1585
|
+
}
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
key: "setLoop",
|
|
1589
|
+
value: function(e) {
|
|
1590
|
+
return this.set("loop", e);
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
key: "setMuted",
|
|
1595
|
+
value: function(e) {
|
|
1596
|
+
return this.set("muted", e);
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
key: "getMuted",
|
|
1601
|
+
value: function() {
|
|
1602
|
+
return this.get("muted");
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
key: "getPaused",
|
|
1607
|
+
value: function() {
|
|
1608
|
+
return this.get("paused");
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
key: "getPlaybackRate",
|
|
1613
|
+
value: function() {
|
|
1614
|
+
return this.get("playbackRate");
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
key: "setPlaybackRate",
|
|
1619
|
+
value: function(e) {
|
|
1620
|
+
return this.set("playbackRate", e);
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
key: "getPlayed",
|
|
1625
|
+
value: function() {
|
|
1626
|
+
return this.get("played");
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
key: "getQualities",
|
|
1631
|
+
value: function() {
|
|
1632
|
+
return this.get("qualities");
|
|
1633
|
+
}
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
key: "getQuality",
|
|
1637
|
+
value: function() {
|
|
1638
|
+
return this.get("quality");
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
key: "setQuality",
|
|
1643
|
+
value: function(e) {
|
|
1644
|
+
return this.set("quality", e);
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
key: "getRemotePlaybackAvailability",
|
|
1649
|
+
value: function() {
|
|
1650
|
+
return this.get("remotePlaybackAvailability");
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
key: "getRemotePlaybackState",
|
|
1655
|
+
value: function() {
|
|
1656
|
+
return this.get("remotePlaybackState");
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
key: "getSeekable",
|
|
1661
|
+
value: function() {
|
|
1662
|
+
return this.get("seekable");
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
key: "getSeeking",
|
|
1667
|
+
value: function() {
|
|
1668
|
+
return this.get("seeking");
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
key: "getTextTracks",
|
|
1673
|
+
value: function() {
|
|
1674
|
+
return this.get("textTracks");
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
key: "getVideoEmbedCode",
|
|
1679
|
+
value: function() {
|
|
1680
|
+
return this.get("videoEmbedCode");
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
key: "getVideoId",
|
|
1685
|
+
value: function() {
|
|
1686
|
+
return this.get("videoId");
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
key: "getVideoTitle",
|
|
1691
|
+
value: function() {
|
|
1692
|
+
return this.get("videoTitle");
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
key: "getVideoWidth",
|
|
1697
|
+
value: function() {
|
|
1698
|
+
return this.get("videoWidth");
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
key: "getVideoHeight",
|
|
1703
|
+
value: function() {
|
|
1704
|
+
return this.get("videoHeight");
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
key: "getVideoUrl",
|
|
1709
|
+
value: function() {
|
|
1710
|
+
return this.get("videoUrl");
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
key: "getVolume",
|
|
1715
|
+
value: function() {
|
|
1716
|
+
return this.get("volume");
|
|
1717
|
+
}
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
key: "setVolume",
|
|
1721
|
+
value: function(e) {
|
|
1722
|
+
return this.set("volume", e);
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
key: "setTimingSrc",
|
|
1727
|
+
value: function() {
|
|
1728
|
+
var e = c(/*#__PURE__*/ o().mark(function e(t, n) {
|
|
1729
|
+
var r = this, i;
|
|
1730
|
+
return o().wrap(function(e) {
|
|
1731
|
+
for (;;) switch (e.prev = e.next) {
|
|
1732
|
+
case 0:
|
|
1733
|
+
if (t) {
|
|
1734
|
+
e.next = 2;
|
|
1735
|
+
break;
|
|
1736
|
+
}
|
|
1737
|
+
throw TypeError("A Timing Object must be provided.");
|
|
1738
|
+
case 2: return e.next = 4, this.ready();
|
|
1739
|
+
case 4: return i = new me(this, t, n), B(this, "notifyTimingObjectConnect"), i.addEventListener("disconnect", function() {
|
|
1740
|
+
return B(r, "notifyTimingObjectDisconnect");
|
|
1741
|
+
}), e.abrupt("return", i);
|
|
1742
|
+
case 8:
|
|
1743
|
+
case "end": return e.stop();
|
|
1744
|
+
}
|
|
1745
|
+
}, e, this);
|
|
1746
|
+
}));
|
|
1747
|
+
function t(t, n) {
|
|
1748
|
+
return e.apply(this, arguments);
|
|
1749
|
+
}
|
|
1750
|
+
return t;
|
|
1751
|
+
}()
|
|
1752
|
+
}
|
|
1753
|
+
]), e;
|
|
1754
|
+
}();
|
|
1755
|
+
T || (K = fe(), ce(), le(), ue(), de());
|
|
1756
|
+
//#endregion
|
|
1757
|
+
//#region node_modules/vimeo-video-element/dist/vimeo-video-element.js
|
|
1758
|
+
var he = "https://player.vimeo.com/video", ge = /vimeo\.com\/(?:video\/)?(\d+)(?:\/([\w-]+))?/;
|
|
1759
|
+
function J(e, t = {}) {
|
|
1760
|
+
let n = {
|
|
1761
|
+
src: _e(e, t),
|
|
1762
|
+
frameborder: 0,
|
|
1763
|
+
width: "100%",
|
|
1764
|
+
height: "100%",
|
|
1765
|
+
allow: "accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
|
1766
|
+
};
|
|
1767
|
+
return t.config && (n["data-config"] = JSON.stringify(t.config)), `
|
|
1768
|
+
<style>
|
|
1769
|
+
:host {
|
|
1770
|
+
display: inline-block;
|
|
1771
|
+
min-width: 300px;
|
|
1772
|
+
min-height: 150px;
|
|
1773
|
+
position: relative;
|
|
1774
|
+
}
|
|
1775
|
+
iframe {
|
|
1776
|
+
position: absolute;
|
|
1777
|
+
top: 0;
|
|
1778
|
+
left: 0;
|
|
1779
|
+
}
|
|
1780
|
+
:host(:not([controls])) {
|
|
1781
|
+
pointer-events: none;
|
|
1782
|
+
}
|
|
1783
|
+
</style>
|
|
1784
|
+
<iframe${ve(n)}></iframe>
|
|
1785
|
+
`;
|
|
1786
|
+
}
|
|
1787
|
+
function _e(e, t) {
|
|
1788
|
+
if (!e.src) return;
|
|
1789
|
+
let n = e.src.match(ge), r = n && n[1], i = n && n[2];
|
|
1790
|
+
return `${he}/${r}?${ye({
|
|
1791
|
+
controls: e.controls === "" ? null : 0,
|
|
1792
|
+
autoplay: e.autoplay,
|
|
1793
|
+
loop: e.loop,
|
|
1794
|
+
muted: e.muted,
|
|
1795
|
+
playsinline: e.playsinline,
|
|
1796
|
+
preload: e.preload ?? "metadata",
|
|
1797
|
+
transparent: !1,
|
|
1798
|
+
autopause: e.autopause,
|
|
1799
|
+
h: i,
|
|
1800
|
+
...t.config
|
|
1801
|
+
})}`;
|
|
1802
|
+
}
|
|
1803
|
+
var Y = class extends (globalThis.HTMLElement ?? class {}) {
|
|
1804
|
+
static getTemplateHTML = J;
|
|
1805
|
+
static shadowRootOptions = { mode: "open" };
|
|
1806
|
+
static observedAttributes = [
|
|
1807
|
+
"autoplay",
|
|
1808
|
+
"controls",
|
|
1809
|
+
"crossorigin",
|
|
1810
|
+
"loop",
|
|
1811
|
+
"muted",
|
|
1812
|
+
"playsinline",
|
|
1813
|
+
"poster",
|
|
1814
|
+
"preload",
|
|
1815
|
+
"src"
|
|
1816
|
+
];
|
|
1817
|
+
loadComplete = new Z();
|
|
1818
|
+
#loadRequested;
|
|
1819
|
+
#hasLoaded;
|
|
1820
|
+
#isInit;
|
|
1821
|
+
#currentTime = 0;
|
|
1822
|
+
#duration = NaN;
|
|
1823
|
+
#muted = !1;
|
|
1824
|
+
#paused = !this.autoplay;
|
|
1825
|
+
#playbackRate = 1;
|
|
1826
|
+
#progress = 0;
|
|
1827
|
+
#readyState = 0;
|
|
1828
|
+
#seeking = !1;
|
|
1829
|
+
#volume = 1;
|
|
1830
|
+
#videoWidth = NaN;
|
|
1831
|
+
#videoHeight = NaN;
|
|
1832
|
+
#config = null;
|
|
1833
|
+
constructor() {
|
|
1834
|
+
super(), this.#upgradeProperty("config");
|
|
1835
|
+
}
|
|
1836
|
+
requestFullscreen() {
|
|
1837
|
+
var e;
|
|
1838
|
+
return ((e = this.api)?.requestFullscreen)?.call(e);
|
|
1839
|
+
}
|
|
1840
|
+
exitFullscreen() {
|
|
1841
|
+
var e;
|
|
1842
|
+
return ((e = this.api)?.exitFullscreen)?.call(e);
|
|
1843
|
+
}
|
|
1844
|
+
requestPictureInPicture() {
|
|
1845
|
+
var e;
|
|
1846
|
+
return ((e = this.api)?.requestPictureInPicture)?.call(e);
|
|
1847
|
+
}
|
|
1848
|
+
exitPictureInPicture() {
|
|
1849
|
+
var e;
|
|
1850
|
+
return ((e = this.api)?.exitPictureInPicture)?.call(e);
|
|
1851
|
+
}
|
|
1852
|
+
get config() {
|
|
1853
|
+
return this.#config;
|
|
1854
|
+
}
|
|
1855
|
+
set config(e) {
|
|
1856
|
+
this.#config = e;
|
|
1857
|
+
}
|
|
1858
|
+
async load() {
|
|
1859
|
+
if (this.#loadRequested) return;
|
|
1860
|
+
let e = !this.#hasLoaded;
|
|
1861
|
+
this.#hasLoaded && (this.loadComplete = new Z()), this.#hasLoaded = !0, await (this.#loadRequested = Promise.resolve()), this.#loadRequested = null, this.#currentTime = 0, this.#duration = NaN, this.#muted = !1, this.#paused = !this.autoplay, this.#playbackRate = 1, this.#progress = 0, this.#readyState = 0, this.#seeking = !1, this.#volume = 1, this.#readyState = 0, this.#videoWidth = NaN, this.#videoHeight = NaN, this.dispatchEvent(new Event("emptied"));
|
|
1862
|
+
let t = this.api;
|
|
1863
|
+
if (this.api = null, !this.src) return;
|
|
1864
|
+
this.dispatchEvent(new Event("loadstart"));
|
|
1865
|
+
let n = {
|
|
1866
|
+
autoplay: this.autoplay,
|
|
1867
|
+
controls: this.controls,
|
|
1868
|
+
loop: this.loop,
|
|
1869
|
+
muted: this.defaultMuted,
|
|
1870
|
+
playsinline: this.playsInline,
|
|
1871
|
+
preload: this.preload ?? "metadata",
|
|
1872
|
+
transparent: !1,
|
|
1873
|
+
autopause: this.hasAttribute("autopause"),
|
|
1874
|
+
...this.#config
|
|
1875
|
+
}, r = async () => {
|
|
1876
|
+
this.#readyState = 1, this.dispatchEvent(new Event("loadedmetadata")), this.api && (this.#muted = await this.api.getMuted(), this.#volume = await this.api.getVolume(), this.dispatchEvent(new Event("volumechange")), this.#duration = await this.api.getDuration(), this.dispatchEvent(new Event("durationchange"))), this.dispatchEvent(new Event("loadcomplete")), this.loadComplete.resolve();
|
|
1877
|
+
};
|
|
1878
|
+
if (this.#isInit) {
|
|
1879
|
+
this.api = t, await this.api.loadVideo({
|
|
1880
|
+
...n,
|
|
1881
|
+
url: this.src
|
|
1882
|
+
}), await r(), await this.loadComplete;
|
|
1883
|
+
return;
|
|
1884
|
+
}
|
|
1885
|
+
this.#isInit = !0;
|
|
1886
|
+
let i = this.shadowRoot?.querySelector("iframe");
|
|
1887
|
+
e && i && (this.#config = JSON.parse(i.getAttribute("data-config") || "{}")), this.shadowRoot || (this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = J(xe(this.attributes), this), i = this.shadowRoot.querySelector("iframe")), this.api = new q(i);
|
|
1888
|
+
let a = () => {
|
|
1889
|
+
this.api.off("loaded", a), r();
|
|
1890
|
+
};
|
|
1891
|
+
this.api.on("loaded", a), this.api.on("bufferstart", () => {
|
|
1892
|
+
this.#paused && (this.#paused = !1, this.dispatchEvent(new Event("play"))), this.dispatchEvent(new Event("waiting"));
|
|
1893
|
+
}), this.api.on("play", () => {
|
|
1894
|
+
this.#paused && (this.#paused = !1, this.dispatchEvent(new Event("play")));
|
|
1895
|
+
}), this.api.on("playing", () => {
|
|
1896
|
+
this.#readyState = 3, this.#paused = !1, this.dispatchEvent(new Event("playing"));
|
|
1897
|
+
}), this.api.on("seeking", () => {
|
|
1898
|
+
this.#seeking = !0, this.dispatchEvent(new Event("seeking"));
|
|
1899
|
+
}), this.api.on("seeked", () => {
|
|
1900
|
+
this.#seeking = !1, this.dispatchEvent(new Event("seeked"));
|
|
1901
|
+
}), this.api.on("pause", () => {
|
|
1902
|
+
this.#paused = !0, this.dispatchEvent(new Event("pause"));
|
|
1903
|
+
}), this.api.on("ended", () => {
|
|
1904
|
+
this.#paused = !0, this.dispatchEvent(new Event("ended"));
|
|
1905
|
+
}), this.api.on("ratechange", ({ playbackRate: e }) => {
|
|
1906
|
+
this.#playbackRate = e, this.dispatchEvent(new Event("ratechange"));
|
|
1907
|
+
}), this.api.on("volumechange", async ({ volume: e }) => {
|
|
1908
|
+
this.#volume = e, this.api && (this.#muted = await this.api.getMuted()), this.dispatchEvent(new Event("volumechange"));
|
|
1909
|
+
}), this.api.on("durationchange", ({ duration: e }) => {
|
|
1910
|
+
this.#duration = e, this.dispatchEvent(new Event("durationchange"));
|
|
1911
|
+
}), this.api.on("timeupdate", ({ seconds: e }) => {
|
|
1912
|
+
this.#currentTime = e, this.dispatchEvent(new Event("timeupdate"));
|
|
1913
|
+
}), this.api.on("progress", ({ seconds: e }) => {
|
|
1914
|
+
this.#progress = e, this.dispatchEvent(new Event("progress"));
|
|
1915
|
+
}), this.api.on("resize", ({ videoWidth: e, videoHeight: t }) => {
|
|
1916
|
+
this.#videoWidth = e, this.#videoHeight = t, this.dispatchEvent(new Event("resize"));
|
|
1917
|
+
}), await this.loadComplete;
|
|
1918
|
+
}
|
|
1919
|
+
async attributeChangedCallback(e, t, n) {
|
|
1920
|
+
if (t !== n) {
|
|
1921
|
+
switch (e) {
|
|
1922
|
+
case "autoplay":
|
|
1923
|
+
case "controls":
|
|
1924
|
+
case "src":
|
|
1925
|
+
this.load();
|
|
1926
|
+
return;
|
|
1927
|
+
}
|
|
1928
|
+
switch (await this.loadComplete, e) {
|
|
1929
|
+
case "loop":
|
|
1930
|
+
this.api.setLoop(this.loop);
|
|
1931
|
+
break;
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
async play() {
|
|
1936
|
+
this.#paused = !1, this.dispatchEvent(new Event("play")), await this.loadComplete;
|
|
1937
|
+
try {
|
|
1938
|
+
await this.api?.play();
|
|
1939
|
+
} catch (e) {
|
|
1940
|
+
throw this.#paused = !0, this.dispatchEvent(new Event("pause")), e;
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
async pause() {
|
|
1944
|
+
return await this.loadComplete, this.api?.pause();
|
|
1945
|
+
}
|
|
1946
|
+
get ended() {
|
|
1947
|
+
return this.#currentTime >= this.#duration;
|
|
1948
|
+
}
|
|
1949
|
+
get seeking() {
|
|
1950
|
+
return this.#seeking;
|
|
1951
|
+
}
|
|
1952
|
+
get readyState() {
|
|
1953
|
+
return this.#readyState;
|
|
1954
|
+
}
|
|
1955
|
+
get videoWidth() {
|
|
1956
|
+
return this.#videoWidth;
|
|
1957
|
+
}
|
|
1958
|
+
get videoHeight() {
|
|
1959
|
+
return this.#videoHeight;
|
|
1960
|
+
}
|
|
1961
|
+
get src() {
|
|
1962
|
+
return this.getAttribute("src");
|
|
1963
|
+
}
|
|
1964
|
+
set src(e) {
|
|
1965
|
+
this.src != e && this.setAttribute("src", e);
|
|
1966
|
+
}
|
|
1967
|
+
get paused() {
|
|
1968
|
+
return this.#paused;
|
|
1969
|
+
}
|
|
1970
|
+
get duration() {
|
|
1971
|
+
return this.#duration;
|
|
1972
|
+
}
|
|
1973
|
+
get autoplay() {
|
|
1974
|
+
return this.hasAttribute("autoplay");
|
|
1975
|
+
}
|
|
1976
|
+
set autoplay(e) {
|
|
1977
|
+
this.autoplay != e && this.toggleAttribute("autoplay", !!e);
|
|
1978
|
+
}
|
|
1979
|
+
get buffered() {
|
|
1980
|
+
return this.#progress > 0 ? Q(0, this.#progress) : Q();
|
|
1981
|
+
}
|
|
1982
|
+
get controls() {
|
|
1983
|
+
return this.hasAttribute("controls");
|
|
1984
|
+
}
|
|
1985
|
+
set controls(e) {
|
|
1986
|
+
this.controls != e && this.toggleAttribute("controls", !!e);
|
|
1987
|
+
}
|
|
1988
|
+
get currentTime() {
|
|
1989
|
+
return this.#currentTime;
|
|
1990
|
+
}
|
|
1991
|
+
set currentTime(e) {
|
|
1992
|
+
this.currentTime != e && (this.#currentTime = e, this.loadComplete.then(() => {
|
|
1993
|
+
var t;
|
|
1994
|
+
(t = this.api) == null || t.setCurrentTime(e).catch(() => {});
|
|
1995
|
+
}));
|
|
1996
|
+
}
|
|
1997
|
+
get defaultMuted() {
|
|
1998
|
+
return this.hasAttribute("muted");
|
|
1999
|
+
}
|
|
2000
|
+
set defaultMuted(e) {
|
|
2001
|
+
this.defaultMuted != e && this.toggleAttribute("muted", !!e);
|
|
2002
|
+
}
|
|
2003
|
+
get loop() {
|
|
2004
|
+
return this.hasAttribute("loop");
|
|
2005
|
+
}
|
|
2006
|
+
set loop(e) {
|
|
2007
|
+
this.loop != e && this.toggleAttribute("loop", !!e);
|
|
2008
|
+
}
|
|
2009
|
+
get muted() {
|
|
2010
|
+
return this.#muted;
|
|
2011
|
+
}
|
|
2012
|
+
set muted(e) {
|
|
2013
|
+
this.muted != e && (this.#muted = e, this.loadComplete.then(() => {
|
|
2014
|
+
var t;
|
|
2015
|
+
(t = this.api) == null || t.setMuted(e).catch(() => {});
|
|
2016
|
+
}));
|
|
2017
|
+
}
|
|
2018
|
+
get playbackRate() {
|
|
2019
|
+
return this.#playbackRate;
|
|
2020
|
+
}
|
|
2021
|
+
set playbackRate(e) {
|
|
2022
|
+
this.playbackRate != e && (this.#playbackRate = e, this.loadComplete.then(() => {
|
|
2023
|
+
var t;
|
|
2024
|
+
(t = this.api) == null || t.setPlaybackRate(e).catch(() => {});
|
|
2025
|
+
}));
|
|
2026
|
+
}
|
|
2027
|
+
get playsInline() {
|
|
2028
|
+
return this.hasAttribute("playsinline");
|
|
2029
|
+
}
|
|
2030
|
+
set playsInline(e) {
|
|
2031
|
+
this.playsInline != e && this.toggleAttribute("playsinline", !!e);
|
|
2032
|
+
}
|
|
2033
|
+
get poster() {
|
|
2034
|
+
return this.getAttribute("poster");
|
|
2035
|
+
}
|
|
2036
|
+
set poster(e) {
|
|
2037
|
+
this.poster != e && this.setAttribute("poster", `${e}`);
|
|
2038
|
+
}
|
|
2039
|
+
get volume() {
|
|
2040
|
+
return this.#volume;
|
|
2041
|
+
}
|
|
2042
|
+
set volume(e) {
|
|
2043
|
+
this.volume != e && (this.#volume = e, this.loadComplete.then(() => {
|
|
2044
|
+
var t;
|
|
2045
|
+
(t = this.api) == null || t.setVolume(e).catch(() => {});
|
|
2046
|
+
}));
|
|
2047
|
+
}
|
|
2048
|
+
#upgradeProperty(e) {
|
|
2049
|
+
if (Object.prototype.hasOwnProperty.call(this, e)) {
|
|
2050
|
+
let t = this[e];
|
|
2051
|
+
delete this[e], this[e] = t;
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
};
|
|
2055
|
+
function ve(e) {
|
|
2056
|
+
let t = "";
|
|
2057
|
+
for (let n in e) {
|
|
2058
|
+
let r = e[n];
|
|
2059
|
+
r === "" ? t += ` ${X(n)}` : t += ` ${X(n)}="${X(`${r}`)}"`;
|
|
2060
|
+
}
|
|
2061
|
+
return t;
|
|
2062
|
+
}
|
|
2063
|
+
function X(e) {
|
|
2064
|
+
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/`/g, "`");
|
|
2065
|
+
}
|
|
2066
|
+
function ye(e) {
|
|
2067
|
+
return String(new URLSearchParams(be(e)));
|
|
2068
|
+
}
|
|
2069
|
+
function be(e) {
|
|
2070
|
+
let t = {};
|
|
2071
|
+
for (let n in e) {
|
|
2072
|
+
let r = e[n];
|
|
2073
|
+
r === !0 || r === "" ? t[n] = 1 : r === !1 ? t[n] = 0 : r != null && (t[n] = r);
|
|
2074
|
+
}
|
|
2075
|
+
return t;
|
|
2076
|
+
}
|
|
2077
|
+
function xe(e) {
|
|
2078
|
+
let t = {};
|
|
2079
|
+
for (let n of e) t[n.name] = n.value;
|
|
2080
|
+
return t;
|
|
2081
|
+
}
|
|
2082
|
+
var Z = class extends Promise {
|
|
2083
|
+
constructor(e = () => {}) {
|
|
2084
|
+
let t, n;
|
|
2085
|
+
super((r, i) => {
|
|
2086
|
+
e(r, i), t = r, n = i;
|
|
2087
|
+
}), this.resolve = t, this.reject = n;
|
|
2088
|
+
}
|
|
2089
|
+
};
|
|
2090
|
+
function Q(e, t) {
|
|
2091
|
+
return Se(Array.isArray(e) ? e : e == null || t == null || e === 0 && t === 0 ? [[0, 0]] : [[e, t]]);
|
|
2092
|
+
}
|
|
2093
|
+
function Se(e) {
|
|
2094
|
+
return Object.defineProperties(e, {
|
|
2095
|
+
start: { value: (t) => e[t][0] },
|
|
2096
|
+
end: { value: (t) => e[t][1] }
|
|
2097
|
+
}), e;
|
|
2098
|
+
}
|
|
2099
|
+
globalThis.customElements && !globalThis.customElements.get("vimeo-video") && globalThis.customElements.define("vimeo-video", Y);
|
|
2100
|
+
var Ce = Y, we = /* @__PURE__ */ new Set([
|
|
2101
|
+
"style",
|
|
2102
|
+
"children",
|
|
2103
|
+
"ref",
|
|
2104
|
+
"key",
|
|
2105
|
+
"suppressContentEditableWarning",
|
|
2106
|
+
"suppressHydrationWarning",
|
|
2107
|
+
"dangerouslySetInnerHTML"
|
|
2108
|
+
]), Te = {
|
|
2109
|
+
className: "class",
|
|
2110
|
+
htmlFor: "for"
|
|
2111
|
+
};
|
|
2112
|
+
function $(e) {
|
|
2113
|
+
return e.toLowerCase();
|
|
2114
|
+
}
|
|
2115
|
+
function Ee(e) {
|
|
2116
|
+
if (typeof e == "boolean") return e ? "" : void 0;
|
|
2117
|
+
if (typeof e != "function" && !(typeof e == "object" && e)) return e;
|
|
2118
|
+
}
|
|
2119
|
+
function De({ react: e, tagName: t, elementClass: n, events: r, displayName: i, defaultProps: a, toAttributeName: o = $, toAttributeValue: s = Ee }) {
|
|
2120
|
+
let c = Number.parseInt(e.version) >= 19, l = e.forwardRef((i, l) => {
|
|
2121
|
+
let u = e.useRef(null), d = e.useRef(/* @__PURE__ */ new Map()), f = {}, p = {}, m = {}, h = {};
|
|
2122
|
+
for (let [e, t] of Object.entries(i)) {
|
|
2123
|
+
if (we.has(e)) {
|
|
2124
|
+
m[e] = t;
|
|
2125
|
+
continue;
|
|
2126
|
+
}
|
|
2127
|
+
let r = o(Te[e] ?? e);
|
|
2128
|
+
if (e in n.prototype && !(e in (globalThis.HTMLElement?.prototype ?? {})) && !n.observedAttributes?.some((e) => e === r)) {
|
|
2129
|
+
h[e] = t;
|
|
2130
|
+
continue;
|
|
2131
|
+
}
|
|
2132
|
+
if (e.startsWith("on")) {
|
|
2133
|
+
f[e] = t;
|
|
2134
|
+
continue;
|
|
2135
|
+
}
|
|
2136
|
+
let i = s(t);
|
|
2137
|
+
r && i != null && (p[r] = String(i), c || (m[r] = i)), r && c && (i === Ee(t) ? m[r] = t : m[r] = i);
|
|
2138
|
+
}
|
|
2139
|
+
if (typeof window < "u") {
|
|
2140
|
+
for (let t in f) {
|
|
2141
|
+
let n = f[t], i = t.endsWith("Capture"), a = (r?.[t] ?? t.slice(2).toLowerCase()).slice(0, i ? -7 : void 0);
|
|
2142
|
+
e.useLayoutEffect(() => {
|
|
2143
|
+
let e = u?.current;
|
|
2144
|
+
if (!(!e || typeof n != "function")) return e.addEventListener(a, n, i), () => {
|
|
2145
|
+
e.removeEventListener(a, n, i);
|
|
2146
|
+
};
|
|
2147
|
+
}, [u?.current, n]);
|
|
2148
|
+
}
|
|
2149
|
+
e.useLayoutEffect(() => {
|
|
2150
|
+
if (u.current === null) return;
|
|
2151
|
+
let e = /* @__PURE__ */ new Map();
|
|
2152
|
+
for (let t in h) Oe(u.current, t, h[t]), d.current.delete(t), e.set(t, h[t]);
|
|
2153
|
+
for (let [e, t] of d.current) Oe(u.current, e, void 0);
|
|
2154
|
+
d.current = e;
|
|
2155
|
+
});
|
|
2156
|
+
}
|
|
2157
|
+
if (typeof window > "u" && n?.getTemplateHTML && n?.shadowRootOptions) {
|
|
2158
|
+
let { mode: t, delegatesFocus: r } = n.shadowRootOptions;
|
|
2159
|
+
m.children = [e.createElement("template", {
|
|
2160
|
+
shadowrootmode: t,
|
|
2161
|
+
shadowrootdelegatesfocus: r,
|
|
2162
|
+
dangerouslySetInnerHTML: { __html: n.getTemplateHTML(p, i) }
|
|
2163
|
+
}), m.children];
|
|
2164
|
+
}
|
|
2165
|
+
return e.createElement(t, {
|
|
2166
|
+
...a,
|
|
2167
|
+
...m,
|
|
2168
|
+
ref: e.useCallback((e) => {
|
|
2169
|
+
u.current = e, typeof l == "function" ? l(e) : l !== null && (l.current = e);
|
|
2170
|
+
}, [l])
|
|
2171
|
+
});
|
|
2172
|
+
});
|
|
2173
|
+
return l.displayName = i ?? n.name, l;
|
|
2174
|
+
}
|
|
2175
|
+
function Oe(e, t, n) {
|
|
2176
|
+
e[t] = n, n == null && t in (globalThis.HTMLElement?.prototype ?? {}) && e.removeAttribute(t);
|
|
2177
|
+
}
|
|
2178
|
+
var ke = De({
|
|
2179
|
+
react: t,
|
|
2180
|
+
tagName: "vimeo-video",
|
|
2181
|
+
elementClass: Ce,
|
|
2182
|
+
toAttributeName(e) {
|
|
2183
|
+
return e === "muted" ? "" : e === "defaultMuted" ? "muted" : $(e);
|
|
2184
|
+
}
|
|
2185
|
+
});
|
|
2186
|
+
//#endregion
|
|
2187
|
+
export { ke as default };
|