@wistia/wistia-player-react 0.3.18 → 0.3.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.
@@ -96,7 +96,7 @@ var init_swatch = __esm({
96
96
  shouldLoadSwatch = true,
97
97
  roundedPlayer = 0
98
98
  }) => {
99
- const CSSProperties = {
99
+ const cssProperties = {
100
100
  background: shouldLoadSwatch ? `center / contain no-repeat url(${swatchUrl(mediaId, embedHost)})` : void 0,
101
101
  borderRadius: `${roundedPlayer}px`,
102
102
  display: "block",
@@ -105,11 +105,11 @@ var init_swatch = __esm({
105
105
  };
106
106
  return `
107
107
  wistia-player[media-id='${mediaId}']:not(:defined) {
108
- ${Object.entries(CSSProperties).map(([key, value]) => `${camelCaseToKebabCase(key)}: ${value};`).join("\r\n")}
108
+ ${Object.entries(cssProperties).map(([key, value]) => `${camelCaseToKebabCase(key)}: ${value};`).join("\r\n")}
109
109
  }
110
110
 
111
111
  wistia-player[media-id='${mediaId}']:state(--initializing) {
112
- ${Object.entries(CSSProperties).map(([key, value]) => `${camelCaseToKebabCase(key)}: ${value};`).join("\r\n")}
112
+ ${Object.entries(cssProperties).map(([key, value]) => `${camelCaseToKebabCase(key)}: ${value};`).join("\r\n")}
113
113
  }
114
114
  `;
115
115
  };
@@ -686,7 +686,7 @@ function _renderEmbedTemplate() {
686
686
  playerBorderRadius: this.playerBorderRadius,
687
687
  roundedPlayer: this.roundedPlayer
688
688
  });
689
- (0, preact__WEBPACK_IMPORTED_MODULE_0__.XX)((0, preact__WEBPACK_IMPORTED_MODULE_0__.h)(preact__WEBPACK_IMPORTED_MODULE_0__.FK, null, (0, preact__WEBPACK_IMPORTED_MODULE_0__.h)("style", null, ":host {\n display: flex;\n position: relative;\n width: 100%;\n ".concat(mediaType === "Audio" ? "min-height: 45px;" : "", "\n }")), _assertClassBrand(_WistiaPlayer_brand, this, _shouldDisplaySwatch).call(this) && (0, preact__WEBPACK_IMPORTED_MODULE_0__.h)("div", {
689
+ (0, preact__WEBPACK_IMPORTED_MODULE_0__.render)((0, preact__WEBPACK_IMPORTED_MODULE_0__.h)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0, preact__WEBPACK_IMPORTED_MODULE_0__.h)("style", null, ":host {\n display: flex;\n position: relative;\n width: 100%;\n ".concat(mediaType === "Audio" ? "min-height: 45px;" : "", "\n }")), _assertClassBrand(_WistiaPlayer_brand, this, _shouldDisplaySwatch).call(this) && (0, preact__WEBPACK_IMPORTED_MODULE_0__.h)("div", {
690
690
  style: {
691
691
  height: swatchHeight,
692
692
  left: 0,
@@ -744,7 +744,7 @@ function _renderPreloadThumbnail() {
744
744
  if (!shouldRenderThumbnail) {
745
745
  return;
746
746
  }
747
- (0, preact__WEBPACK_IMPORTED_MODULE_0__.XX)((0, preact__WEBPACK_IMPORTED_MODULE_0__.h)(_hooks_usePlayerData_tsx__WEBPACK_IMPORTED_MODULE_5__.z, {
747
+ (0, preact__WEBPACK_IMPORTED_MODULE_0__.render)((0, preact__WEBPACK_IMPORTED_MODULE_0__.h)(_hooks_usePlayerData_tsx__WEBPACK_IMPORTED_MODULE_5__.z, {
748
748
  embedOptions: _classPrivateFieldGet(_playerData, this).embedOptions,
749
749
  mediaData: _classPrivateFieldGet(_playerData, this).mediaData
750
750
  }, (0, preact__WEBPACK_IMPORTED_MODULE_0__.h)(_components_PreloadThumbnail_tsx__WEBPACK_IMPORTED_MODULE_4__.u, {
@@ -3022,6 +3022,538 @@ var init_wistia_player = __esm({
3022
3022
  })
3023
3023
  ),
3024
3024
  /***/
3025
+ 1525: (
3026
+ /***/
3027
+ ((__unused_webpack_module, __webpack_exports__3, __webpack_require__3) => {
3028
+ __webpack_require__3.r(__webpack_exports__3);
3029
+ __webpack_require__3.d(__webpack_exports__3, {
3030
+ /* harmony export */
3031
+ Children: () => (
3032
+ /* binding */
3033
+ O
3034
+ ),
3035
+ /* harmony export */
3036
+ Component: () => (
3037
+ /* reexport safe */
3038
+ preact__WEBPACK_IMPORTED_MODULE_0__2.Component
3039
+ ),
3040
+ /* harmony export */
3041
+ Fragment: () => (
3042
+ /* reexport safe */
3043
+ preact__WEBPACK_IMPORTED_MODULE_0__2.Fragment
3044
+ ),
3045
+ /* harmony export */
3046
+ PureComponent: () => (
3047
+ /* binding */
3048
+ N
3049
+ ),
3050
+ /* harmony export */
3051
+ StrictMode: () => (
3052
+ /* binding */
3053
+ Cn
3054
+ ),
3055
+ /* harmony export */
3056
+ Suspense: () => (
3057
+ /* binding */
3058
+ P
3059
+ ),
3060
+ /* harmony export */
3061
+ SuspenseList: () => (
3062
+ /* binding */
3063
+ B
3064
+ ),
3065
+ /* harmony export */
3066
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (
3067
+ /* binding */
3068
+ hn
3069
+ ),
3070
+ /* harmony export */
3071
+ cloneElement: () => (
3072
+ /* binding */
3073
+ _n
3074
+ ),
3075
+ /* harmony export */
3076
+ createContext: () => (
3077
+ /* reexport safe */
3078
+ preact__WEBPACK_IMPORTED_MODULE_0__2.createContext
3079
+ ),
3080
+ /* harmony export */
3081
+ createElement: () => (
3082
+ /* reexport safe */
3083
+ preact__WEBPACK_IMPORTED_MODULE_0__2.createElement
3084
+ ),
3085
+ /* harmony export */
3086
+ createFactory: () => (
3087
+ /* binding */
3088
+ dn
3089
+ ),
3090
+ /* harmony export */
3091
+ createPortal: () => (
3092
+ /* binding */
3093
+ $
3094
+ ),
3095
+ /* harmony export */
3096
+ createRef: () => (
3097
+ /* reexport safe */
3098
+ preact__WEBPACK_IMPORTED_MODULE_0__2.createRef
3099
+ ),
3100
+ /* harmony export */
3101
+ "default": () => (
3102
+ /* binding */
3103
+ Rn
3104
+ ),
3105
+ /* harmony export */
3106
+ findDOMNode: () => (
3107
+ /* binding */
3108
+ Sn
3109
+ ),
3110
+ /* harmony export */
3111
+ flushSync: () => (
3112
+ /* binding */
3113
+ En
3114
+ ),
3115
+ /* harmony export */
3116
+ forwardRef: () => (
3117
+ /* binding */
3118
+ D
3119
+ ),
3120
+ /* harmony export */
3121
+ hydrate: () => (
3122
+ /* binding */
3123
+ tn
3124
+ ),
3125
+ /* harmony export */
3126
+ isElement: () => (
3127
+ /* binding */
3128
+ xn
3129
+ ),
3130
+ /* harmony export */
3131
+ isFragment: () => (
3132
+ /* binding */
3133
+ pn
3134
+ ),
3135
+ /* harmony export */
3136
+ isMemo: () => (
3137
+ /* binding */
3138
+ yn
3139
+ ),
3140
+ /* harmony export */
3141
+ isValidElement: () => (
3142
+ /* binding */
3143
+ mn
3144
+ ),
3145
+ /* harmony export */
3146
+ lazy: () => (
3147
+ /* binding */
3148
+ z
3149
+ ),
3150
+ /* harmony export */
3151
+ memo: () => (
3152
+ /* binding */
3153
+ M
3154
+ ),
3155
+ /* harmony export */
3156
+ render: () => (
3157
+ /* binding */
3158
+ nn
3159
+ ),
3160
+ /* harmony export */
3161
+ startTransition: () => (
3162
+ /* binding */
3163
+ R
3164
+ ),
3165
+ /* harmony export */
3166
+ unmountComponentAtNode: () => (
3167
+ /* binding */
3168
+ bn
3169
+ ),
3170
+ /* harmony export */
3171
+ unstable_batchedUpdates: () => (
3172
+ /* binding */
3173
+ gn
3174
+ ),
3175
+ /* harmony export */
3176
+ useCallback: () => (
3177
+ /* reexport safe */
3178
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback
3179
+ ),
3180
+ /* harmony export */
3181
+ useContext: () => (
3182
+ /* reexport safe */
3183
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext
3184
+ ),
3185
+ /* harmony export */
3186
+ useDebugValue: () => (
3187
+ /* reexport safe */
3188
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue
3189
+ ),
3190
+ /* harmony export */
3191
+ useDeferredValue: () => (
3192
+ /* binding */
3193
+ w
3194
+ ),
3195
+ /* harmony export */
3196
+ useEffect: () => (
3197
+ /* reexport safe */
3198
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect
3199
+ ),
3200
+ /* harmony export */
3201
+ useErrorBoundary: () => (
3202
+ /* reexport safe */
3203
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useErrorBoundary
3204
+ ),
3205
+ /* harmony export */
3206
+ useId: () => (
3207
+ /* reexport safe */
3208
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId
3209
+ ),
3210
+ /* harmony export */
3211
+ useImperativeHandle: () => (
3212
+ /* reexport safe */
3213
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle
3214
+ ),
3215
+ /* harmony export */
3216
+ useInsertionEffect: () => (
3217
+ /* binding */
3218
+ I
3219
+ ),
3220
+ /* harmony export */
3221
+ useLayoutEffect: () => (
3222
+ /* reexport safe */
3223
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect
3224
+ ),
3225
+ /* harmony export */
3226
+ useMemo: () => (
3227
+ /* reexport safe */
3228
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo
3229
+ ),
3230
+ /* harmony export */
3231
+ useReducer: () => (
3232
+ /* reexport safe */
3233
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer
3234
+ ),
3235
+ /* harmony export */
3236
+ useRef: () => (
3237
+ /* reexport safe */
3238
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef
3239
+ ),
3240
+ /* harmony export */
3241
+ useState: () => (
3242
+ /* reexport safe */
3243
+ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState
3244
+ ),
3245
+ /* harmony export */
3246
+ useSyncExternalStore: () => (
3247
+ /* binding */
3248
+ C
3249
+ ),
3250
+ /* harmony export */
3251
+ useTransition: () => (
3252
+ /* binding */
3253
+ k
3254
+ ),
3255
+ /* harmony export */
3256
+ version: () => (
3257
+ /* binding */
3258
+ vn
3259
+ )
3260
+ /* harmony export */
3261
+ });
3262
+ var preact__WEBPACK_IMPORTED_MODULE_0__2 = __webpack_require__3(5181);
3263
+ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(3817);
3264
+ function g(n, t) {
3265
+ for (var e in t) n[e] = t[e];
3266
+ return n;
3267
+ }
3268
+ function E(n, t) {
3269
+ for (var e in n) if ("__source" !== e && !(e in t)) return true;
3270
+ for (var r in t) if ("__source" !== r && n[r] !== t[r]) return true;
3271
+ return false;
3272
+ }
3273
+ function C(n, t) {
3274
+ var e = t(), r = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({ t: { __: e, u: t } }), u = r[0].t, o = r[1];
3275
+ return (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function() {
3276
+ u.__ = e, u.u = t, x(u) && o({ t: u });
3277
+ }, [n, e, t]), (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function() {
3278
+ return x(u) && o({ t: u }), n(function() {
3279
+ x(u) && o({ t: u });
3280
+ });
3281
+ }, [n]), e;
3282
+ }
3283
+ function x(n) {
3284
+ var t, e, r = n.u, u = n.__;
3285
+ try {
3286
+ var o = r();
3287
+ return !((t = u) === (e = o) && (0 !== t || 1 / t == 1 / e) || t != t && e != e);
3288
+ } catch (n2) {
3289
+ return true;
3290
+ }
3291
+ }
3292
+ function R(n) {
3293
+ n();
3294
+ }
3295
+ function w(n) {
3296
+ return n;
3297
+ }
3298
+ function k() {
3299
+ return [false, R];
3300
+ }
3301
+ var I = preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;
3302
+ function N(n, t) {
3303
+ this.props = n, this.context = t;
3304
+ }
3305
+ function M(n, e) {
3306
+ function r(n2) {
3307
+ var t = this.props.ref, r2 = t == n2.ref;
3308
+ return !r2 && t && (t.call ? t(null) : t.current = null), e ? !e(this.props, n2) || !r2 : E(this.props, n2);
3309
+ }
3310
+ function u(e2) {
3311
+ return this.shouldComponentUpdate = r, (0, preact__WEBPACK_IMPORTED_MODULE_0__2.createElement)(n, e2);
3312
+ }
3313
+ return u.displayName = "Memo(" + (n.displayName || n.name) + ")", u.prototype.isReactComponent = true, u.__f = true, u.type = n, u;
3314
+ }
3315
+ (N.prototype = new preact__WEBPACK_IMPORTED_MODULE_0__2.Component()).isPureReactComponent = true, N.prototype.shouldComponentUpdate = function(n, t) {
3316
+ return E(this.props, n) || E(this.state, t);
3317
+ };
3318
+ var T = preact__WEBPACK_IMPORTED_MODULE_0__2.options.__b;
3319
+ preact__WEBPACK_IMPORTED_MODULE_0__2.options.__b = function(n) {
3320
+ n.type && n.type.__f && n.ref && (n.props.ref = n.ref, n.ref = null), T && T(n);
3321
+ };
3322
+ var A = "undefined" != typeof Symbol && Symbol.for && /* @__PURE__ */ Symbol.for("react.forward_ref") || 3911;
3323
+ function D(n) {
3324
+ function t(t2) {
3325
+ var e = g({}, t2);
3326
+ return delete e.ref, n(e, t2.ref || null);
3327
+ }
3328
+ return t.$$typeof = A, t.render = n, t.prototype.isReactComponent = t.__f = true, t.displayName = "ForwardRef(" + (n.displayName || n.name) + ")", t;
3329
+ }
3330
+ var L = function(n, t) {
3331
+ return null == n ? null : (0, preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray)((0, preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray)(n).map(t));
3332
+ }, O = { map: L, forEach: L, count: function(n) {
3333
+ return n ? (0, preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray)(n).length : 0;
3334
+ }, only: function(n) {
3335
+ var t = (0, preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray)(n);
3336
+ if (1 !== t.length) throw "Children.only";
3337
+ return t[0];
3338
+ }, toArray: preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray }, F = preact__WEBPACK_IMPORTED_MODULE_0__2.options.__e;
3339
+ preact__WEBPACK_IMPORTED_MODULE_0__2.options.__e = function(n, t, e, r) {
3340
+ if (n.then) {
3341
+ for (var u, o = t; o = o.__; ) if ((u = o.__c) && u.__c) return null == t.__e && (t.__e = e.__e, t.__k = e.__k), u.__c(n, t);
3342
+ }
3343
+ F(n, t, e, r);
3344
+ };
3345
+ var U = preact__WEBPACK_IMPORTED_MODULE_0__2.options.unmount;
3346
+ function V(n, t, e) {
3347
+ return n && (n.__c && n.__c.__H && (n.__c.__H.__.forEach(function(n2) {
3348
+ "function" == typeof n2.__c && n2.__c();
3349
+ }), n.__c.__H = null), null != (n = g({}, n)).__c && (n.__c.__P === e && (n.__c.__P = t), n.__c.__e = true, n.__c = null), n.__k = n.__k && n.__k.map(function(n2) {
3350
+ return V(n2, t, e);
3351
+ })), n;
3352
+ }
3353
+ function W(n, t, e) {
3354
+ return n && e && (n.__v = null, n.__k = n.__k && n.__k.map(function(n2) {
3355
+ return W(n2, t, e);
3356
+ }), n.__c && n.__c.__P === t && (n.__e && e.appendChild(n.__e), n.__c.__e = true, n.__c.__P = e)), n;
3357
+ }
3358
+ function P() {
3359
+ this.__u = 0, this.o = null, this.__b = null;
3360
+ }
3361
+ function j(n) {
3362
+ var t = n.__.__c;
3363
+ return t && t.__a && t.__a(n);
3364
+ }
3365
+ function z(n) {
3366
+ var e, r, u;
3367
+ function o(o2) {
3368
+ if (e || (e = n()).then(function(n2) {
3369
+ r = n2.default || n2;
3370
+ }, function(n2) {
3371
+ u = n2;
3372
+ }), u) throw u;
3373
+ if (!r) throw e;
3374
+ return (0, preact__WEBPACK_IMPORTED_MODULE_0__2.createElement)(r, o2);
3375
+ }
3376
+ return o.displayName = "Lazy", o.__f = true, o;
3377
+ }
3378
+ function B() {
3379
+ this.i = null, this.l = null;
3380
+ }
3381
+ preact__WEBPACK_IMPORTED_MODULE_0__2.options.unmount = function(n) {
3382
+ var t = n.__c;
3383
+ t && t.__R && t.__R(), t && 32 & n.__u && (n.type = null), U && U(n);
3384
+ }, (P.prototype = new preact__WEBPACK_IMPORTED_MODULE_0__2.Component()).__c = function(n, t) {
3385
+ var e = t.__c, r = this;
3386
+ null == r.o && (r.o = []), r.o.push(e);
3387
+ var u = j(r.__v), o = false, i2 = function() {
3388
+ o || (o = true, e.__R = null, u ? u(l) : l());
3389
+ };
3390
+ e.__R = i2;
3391
+ var l = function() {
3392
+ if (!--r.__u) {
3393
+ if (r.state.__a) {
3394
+ var n2 = r.state.__a;
3395
+ r.__v.__k[0] = W(n2, n2.__c.__P, n2.__c.__O);
3396
+ }
3397
+ var t2;
3398
+ for (r.setState({ __a: r.__b = null }); t2 = r.o.pop(); ) t2.forceUpdate();
3399
+ }
3400
+ };
3401
+ r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), n.then(i2, i2);
3402
+ }, P.prototype.componentWillUnmount = function() {
3403
+ this.o = [];
3404
+ }, P.prototype.render = function(n, e) {
3405
+ if (this.__b) {
3406
+ if (this.__v.__k) {
3407
+ var r = document.createElement("div"), o = this.__v.__k[0].__c;
3408
+ this.__v.__k[0] = V(this.__b, r, o.__O = o.__P);
3409
+ }
3410
+ this.__b = null;
3411
+ }
3412
+ var i2 = e.__a && (0, preact__WEBPACK_IMPORTED_MODULE_0__2.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__2.Fragment, null, n.fallback);
3413
+ return i2 && (i2.__u &= -33), [(0, preact__WEBPACK_IMPORTED_MODULE_0__2.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__2.Fragment, null, e.__a ? null : n.children), i2];
3414
+ };
3415
+ var H = function(n, t, e) {
3416
+ if (++e[1] === e[0] && n.l.delete(t), n.props.revealOrder && ("t" !== n.props.revealOrder[0] || !n.l.size)) for (e = n.i; e; ) {
3417
+ for (; e.length > 3; ) e.pop()();
3418
+ if (e[1] < e[0]) break;
3419
+ n.i = e = e[2];
3420
+ }
3421
+ };
3422
+ function Z(n) {
3423
+ return this.getChildContext = function() {
3424
+ return n.context;
3425
+ }, n.children;
3426
+ }
3427
+ function Y(n) {
3428
+ var e = this, r = n.h;
3429
+ if (e.componentWillUnmount = function() {
3430
+ (0, preact__WEBPACK_IMPORTED_MODULE_0__2.render)(null, e.v), e.v = null, e.h = null;
3431
+ }, e.h && e.h !== r && e.componentWillUnmount(), !e.v) {
3432
+ for (var u = e.__v; null !== u && !u.__m && null !== u.__; ) u = u.__;
3433
+ e.h = r, e.v = { nodeType: 1, parentNode: r, childNodes: [], __k: { __m: u.__m }, contains: function() {
3434
+ return true;
3435
+ }, insertBefore: function(n2, t) {
3436
+ this.childNodes.push(n2), e.h.insertBefore(n2, t);
3437
+ }, removeChild: function(n2) {
3438
+ this.childNodes.splice(this.childNodes.indexOf(n2) >>> 1, 1), e.h.removeChild(n2);
3439
+ } };
3440
+ }
3441
+ (0, preact__WEBPACK_IMPORTED_MODULE_0__2.render)((0, preact__WEBPACK_IMPORTED_MODULE_0__2.createElement)(Z, { context: e.context }, n.__v), e.v);
3442
+ }
3443
+ function $(n, e) {
3444
+ var r = (0, preact__WEBPACK_IMPORTED_MODULE_0__2.createElement)(Y, { __v: n, h: e });
3445
+ return r.containerInfo = e, r;
3446
+ }
3447
+ (B.prototype = new preact__WEBPACK_IMPORTED_MODULE_0__2.Component()).__a = function(n) {
3448
+ var t = this, e = j(t.__v), r = t.l.get(n);
3449
+ return r[0]++, function(u) {
3450
+ var o = function() {
3451
+ t.props.revealOrder ? (r.push(u), H(t, n, r)) : u();
3452
+ };
3453
+ e ? e(o) : o();
3454
+ };
3455
+ }, B.prototype.render = function(n) {
3456
+ this.i = null, this.l = /* @__PURE__ */ new Map();
3457
+ var t = (0, preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray)(n.children);
3458
+ n.revealOrder && "b" === n.revealOrder[0] && t.reverse();
3459
+ for (var e = t.length; e--; ) this.l.set(t[e], this.i = [1, 0, this.i]);
3460
+ return n.children;
3461
+ }, B.prototype.componentDidUpdate = B.prototype.componentDidMount = function() {
3462
+ var n = this;
3463
+ this.l.forEach(function(t, e) {
3464
+ H(n, e, t);
3465
+ });
3466
+ };
3467
+ var q = "undefined" != typeof Symbol && Symbol.for && /* @__PURE__ */ Symbol.for("react.element") || 60103, G = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, J = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, K = /[A-Z0-9]/g, Q = "undefined" != typeof document, X = function(n) {
3468
+ return ("undefined" != typeof Symbol && "symbol" == typeof /* @__PURE__ */ Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n);
3469
+ };
3470
+ function nn(n, t, e) {
3471
+ return null == t.__k && (t.textContent = ""), (0, preact__WEBPACK_IMPORTED_MODULE_0__2.render)(n, t), "function" == typeof e && e(), n ? n.__c : null;
3472
+ }
3473
+ function tn(n, t, e) {
3474
+ return (0, preact__WEBPACK_IMPORTED_MODULE_0__2.hydrate)(n, t), "function" == typeof e && e(), n ? n.__c : null;
3475
+ }
3476
+ preact__WEBPACK_IMPORTED_MODULE_0__2.Component.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
3477
+ Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__2.Component.prototype, t, { configurable: true, get: function() {
3478
+ return this["UNSAFE_" + t];
3479
+ }, set: function(n) {
3480
+ Object.defineProperty(this, t, { configurable: true, writable: true, value: n });
3481
+ } });
3482
+ });
3483
+ var en = preact__WEBPACK_IMPORTED_MODULE_0__2.options.event;
3484
+ function rn() {
3485
+ }
3486
+ function un() {
3487
+ return this.cancelBubble;
3488
+ }
3489
+ function on() {
3490
+ return this.defaultPrevented;
3491
+ }
3492
+ preact__WEBPACK_IMPORTED_MODULE_0__2.options.event = function(n) {
3493
+ return en && (n = en(n)), n.persist = rn, n.isPropagationStopped = un, n.isDefaultPrevented = on, n.nativeEvent = n;
3494
+ };
3495
+ var ln, cn = { enumerable: false, configurable: true, get: function() {
3496
+ return this.class;
3497
+ } }, fn = preact__WEBPACK_IMPORTED_MODULE_0__2.options.vnode;
3498
+ preact__WEBPACK_IMPORTED_MODULE_0__2.options.vnode = function(n) {
3499
+ "string" == typeof n.type && (function(n2) {
3500
+ var t = n2.props, e = n2.type, u = {}, o = -1 === e.indexOf("-");
3501
+ for (var i2 in t) {
3502
+ var l = t[i2];
3503
+ if (!("value" === i2 && "defaultValue" in t && null == l || Q && "children" === i2 && "noscript" === e || "class" === i2 || "className" === i2)) {
3504
+ var c = i2.toLowerCase();
3505
+ "defaultValue" === i2 && "value" in t && null == t.value ? i2 = "value" : "download" === i2 && true === l ? l = "" : "translate" === c && "no" === l ? l = false : "o" === c[0] && "n" === c[1] ? "ondoubleclick" === c ? i2 = "ondblclick" : "onchange" !== c || "input" !== e && "textarea" !== e || X(t.type) ? "onfocus" === c ? i2 = "onfocusin" : "onblur" === c ? i2 = "onfocusout" : J.test(i2) && (i2 = c) : c = i2 = "oninput" : o && G.test(i2) ? i2 = i2.replace(K, "-$&").toLowerCase() : null === l && (l = void 0), "oninput" === c && u[i2 = c] && (i2 = "oninputCapture"), u[i2] = l;
3506
+ }
3507
+ }
3508
+ "select" == e && u.multiple && Array.isArray(u.value) && (u.value = (0, preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray)(t.children).forEach(function(n3) {
3509
+ n3.props.selected = -1 != u.value.indexOf(n3.props.value);
3510
+ })), "select" == e && null != u.defaultValue && (u.value = (0, preact__WEBPACK_IMPORTED_MODULE_0__2.toChildArray)(t.children).forEach(function(n3) {
3511
+ n3.props.selected = u.multiple ? -1 != u.defaultValue.indexOf(n3.props.value) : u.defaultValue == n3.props.value;
3512
+ })), t.class && !t.className ? (u.class = t.class, Object.defineProperty(u, "className", cn)) : (t.className && !t.class || t.class && t.className) && (u.class = u.className = t.className), n2.props = u;
3513
+ })(n), n.$$typeof = q, fn && fn(n);
3514
+ };
3515
+ var an = preact__WEBPACK_IMPORTED_MODULE_0__2.options.__r;
3516
+ preact__WEBPACK_IMPORTED_MODULE_0__2.options.__r = function(n) {
3517
+ an && an(n), ln = n.__c;
3518
+ };
3519
+ var sn = preact__WEBPACK_IMPORTED_MODULE_0__2.options.diffed;
3520
+ preact__WEBPACK_IMPORTED_MODULE_0__2.options.diffed = function(n) {
3521
+ sn && sn(n);
3522
+ var t = n.props, e = n.__e;
3523
+ null != e && "textarea" === n.type && "value" in t && t.value !== e.value && (e.value = null == t.value ? "" : t.value), ln = null;
3524
+ };
3525
+ var hn = { ReactCurrentDispatcher: { current: { readContext: function(n) {
3526
+ return ln.__n[n.__c].props.value;
3527
+ }, useCallback: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback, useContext: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext, useDebugValue: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue, useDeferredValue: w, useEffect: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect, useId: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId, useImperativeHandle: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle, useInsertionEffect: I, useLayoutEffect: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect, useMemo: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo, useReducer: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer, useRef: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef, useState: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState, useSyncExternalStore: C, useTransition: k } } }, vn = "18.3.1";
3528
+ function dn(n) {
3529
+ return preact__WEBPACK_IMPORTED_MODULE_0__2.createElement.bind(null, n);
3530
+ }
3531
+ function mn(n) {
3532
+ return !!n && n.$$typeof === q;
3533
+ }
3534
+ function pn(n) {
3535
+ return mn(n) && n.type === preact__WEBPACK_IMPORTED_MODULE_0__2.Fragment;
3536
+ }
3537
+ function yn(n) {
3538
+ return !!n && !!n.displayName && ("string" == typeof n.displayName || n.displayName instanceof String) && n.displayName.startsWith("Memo(");
3539
+ }
3540
+ function _n(n) {
3541
+ return mn(n) ? preact__WEBPACK_IMPORTED_MODULE_0__2.cloneElement.apply(null, arguments) : n;
3542
+ }
3543
+ function bn(n) {
3544
+ return !!n.__k && ((0, preact__WEBPACK_IMPORTED_MODULE_0__2.render)(null, n), true);
3545
+ }
3546
+ function Sn(n) {
3547
+ return n && (n.base || 1 === n.nodeType && n) || null;
3548
+ }
3549
+ var gn = function(n, t) {
3550
+ return n(t);
3551
+ }, En = function(n, t) {
3552
+ return n(t);
3553
+ }, Cn = preact__WEBPACK_IMPORTED_MODULE_0__2.Fragment, xn = mn, Rn = { useState: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState, useId: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId, useReducer: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer, useEffect: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect, useLayoutEffect: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect, useInsertionEffect: I, useTransition: k, useDeferredValue: w, useSyncExternalStore: C, startTransition: R, useRef: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef, useImperativeHandle: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle, useMemo: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo, useCallback: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback, useContext: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext, useDebugValue: preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue, version: "18.3.1", Children: O, render: nn, hydrate: tn, unmountComponentAtNode: bn, createPortal: $, createElement: preact__WEBPACK_IMPORTED_MODULE_0__2.createElement, createContext: preact__WEBPACK_IMPORTED_MODULE_0__2.createContext, createFactory: dn, cloneElement: _n, createRef: preact__WEBPACK_IMPORTED_MODULE_0__2.createRef, Fragment: preact__WEBPACK_IMPORTED_MODULE_0__2.Fragment, isValidElement: mn, isElement: xn, isFragment: pn, isMemo: yn, findDOMNode: Sn, Component: preact__WEBPACK_IMPORTED_MODULE_0__2.Component, PureComponent: N, memo: M, forwardRef: D, flushSync: En, unstable_batchedUpdates: gn, StrictMode: Cn, Suspense: P, SuspenseList: B, lazy: z, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: hn };
3554
+ })
3555
+ ),
3556
+ /***/
3025
3557
  1627: (
3026
3558
  /***/
3027
3559
  ((__unused_webpack___webpack_module__2, __webpack_exports__3, __webpack_require__3) => {
@@ -3294,7 +3826,7 @@ var init_wistia_player = __esm({
3294
3826
  y: "0px",
3295
3827
  viewBox: "0 0 ".concat(width, " ").concat(height),
3296
3828
  "enable-background": "new 0 0 ".concat(width, " ").concat(height),
3297
- "aria-hidden": "".concat(!!ariaHidden),
3829
+ "aria-hidden": "".concat(ariaHidden),
3298
3830
  style: _objectSpread2({
3299
3831
  fill: fillColor,
3300
3832
  height: "100%",
@@ -4053,7 +4585,7 @@ var init_wistia_player = __esm({
4053
4585
  });
4054
4586
  var preact__WEBPACK_IMPORTED_MODULE_0__2 = __webpack_require__3(5181);
4055
4587
  var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(3817);
4056
- var PlayerDataContext = (0, preact__WEBPACK_IMPORTED_MODULE_0__2.q6)(null);
4588
+ var PlayerDataContext = (0, preact__WEBPACK_IMPORTED_MODULE_0__2.createContext)(null);
4057
4589
  var PlayerDataProvider = function PlayerDataProvider2(_ref) {
4058
4590
  var children = _ref.children, embedOptions = _ref.embedOptions, mediaData = _ref.mediaData;
4059
4591
  return (0, preact__WEBPACK_IMPORTED_MODULE_0__2.h)(PlayerDataContext.Provider, {
@@ -4064,7 +4596,7 @@ var init_wistia_player = __esm({
4064
4596
  }, children);
4065
4597
  };
4066
4598
  var usePlayerData = function usePlayerData2() {
4067
- var context = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.NT)(PlayerDataContext);
4599
+ var context = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext)(PlayerDataContext);
4068
4600
  if (context == null) {
4069
4601
  throw new Error("usePlayerData must be used within a PlayerDataProvider");
4070
4602
  }
@@ -4823,7 +5355,7 @@ var init_wistia_player = __esm({
4823
5355
  };
4824
5356
  }
4825
5357
  }]);
4826
- })(preact__WEBPACK_IMPORTED_MODULE_1__.uA);
5358
+ })(preact__WEBPACK_IMPORTED_MODULE_1__.Component);
4827
5359
  })
4828
5360
  ),
4829
5361
  /***/
@@ -5055,7 +5587,7 @@ var init_wistia_player = __esm({
5055
5587
  var isLiveStream = type === "LiveStream";
5056
5588
  var passwordEnabled = (passwordProtectedVideo === null || passwordProtectedVideo === void 0 ? void 0 : passwordProtectedVideo.on) === true || (passwordProtectedVideo === null || passwordProtectedVideo === void 0 ? void 0 : passwordProtectedVideo.on) === "true";
5057
5589
  var turnstileBlocksContent = turnstilePlugin && turnstilePlugin.on !== false && turnstilePlugin.time !== "end" && !turnstilePlugin.persistentTurnstile;
5058
- return Boolean(!passwordEnabled && !turnstileBlocksContent && !isLiveStream && typeof duration === "number" && duration >= MINIMUM_DURATION);
5590
+ return !passwordEnabled && !turnstileBlocksContent && !isLiveStream && typeof duration === "number" && duration >= MINIMUM_DURATION;
5059
5591
  };
5060
5592
  var sortedFilteredChapters = function sortedFilteredChapters2(chapterList) {
5061
5593
  var chapterExistsAtTime = {};
@@ -5245,31 +5777,72 @@ var init_wistia_player = __esm({
5245
5777
  3817: (
5246
5778
  /***/
5247
5779
  ((__unused_webpack_module, __webpack_exports__3, __webpack_require__3) => {
5780
+ __webpack_require__3.r(__webpack_exports__3);
5248
5781
  __webpack_require__3.d(__webpack_exports__3, {
5249
5782
  /* harmony export */
5250
- J0: () => (
5783
+ useCallback: () => (
5251
5784
  /* binding */
5252
- d
5785
+ q
5253
5786
  ),
5254
5787
  /* harmony export */
5255
- NT: () => (
5788
+ useContext: () => (
5256
5789
  /* binding */
5257
5790
  x
5258
5791
  ),
5259
5792
  /* harmony export */
5260
- li: () => (
5793
+ useDebugValue: () => (
5261
5794
  /* binding */
5262
- A
5795
+ P
5263
5796
  ),
5264
5797
  /* harmony export */
5265
- vJ: () => (
5798
+ useEffect: () => (
5266
5799
  /* binding */
5267
5800
  y
5801
+ ),
5802
+ /* harmony export */
5803
+ useErrorBoundary: () => (
5804
+ /* binding */
5805
+ b
5806
+ ),
5807
+ /* harmony export */
5808
+ useId: () => (
5809
+ /* binding */
5810
+ g
5811
+ ),
5812
+ /* harmony export */
5813
+ useImperativeHandle: () => (
5814
+ /* binding */
5815
+ F
5816
+ ),
5817
+ /* harmony export */
5818
+ useLayoutEffect: () => (
5819
+ /* binding */
5820
+ _
5821
+ ),
5822
+ /* harmony export */
5823
+ useMemo: () => (
5824
+ /* binding */
5825
+ T
5826
+ ),
5827
+ /* harmony export */
5828
+ useReducer: () => (
5829
+ /* binding */
5830
+ h
5831
+ ),
5832
+ /* harmony export */
5833
+ useRef: () => (
5834
+ /* binding */
5835
+ A
5836
+ ),
5837
+ /* harmony export */
5838
+ useState: () => (
5839
+ /* binding */
5840
+ d
5268
5841
  )
5269
5842
  /* harmony export */
5270
5843
  });
5271
5844
  var preact__WEBPACK_IMPORTED_MODULE_0__2 = __webpack_require__3(5181);
5272
- var t, r, u, i2, o = 0, f = [], c = preact__WEBPACK_IMPORTED_MODULE_0__2.fF, e = c.__b, a = c.__r, v = c.diffed, l = c.__c, m = c.unmount, s = c.__;
5845
+ var t, r, u, i2, o = 0, f = [], c = preact__WEBPACK_IMPORTED_MODULE_0__2.options, e = c.__b, a = c.__r, v = c.diffed, l = c.__c, m = c.unmount, s = c.__;
5273
5846
  function p(n, t2) {
5274
5847
  c.__h && c.__h(r, n, o || t2), o = 0;
5275
5848
  var u2 = r.__H || (r.__H = { __: [], __h: [] });
@@ -6259,9 +6832,9 @@ var init_wistia_player = __esm({
6259
6832
  if (Array.isArray(r)) return r;
6260
6833
  }
6261
6834
  var BigPlayButtonLoadingAnim = function BigPlayButtonLoadingAnim2() {
6262
- var svgEl = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.li)(null);
6263
- var _useState = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.J0)(false), _useState2 = _slicedToArray2(_useState, 2), isAnimating = _useState2[0], setIsAnimating = _useState2[1];
6264
- (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.vJ)(function() {
6835
+ var svgEl = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
6836
+ var _useState = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)(false), _useState2 = _slicedToArray2(_useState, 2), isAnimating = _useState2[0], setIsAnimating = _useState2[1];
6837
+ (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function() {
6265
6838
  (0, _utilities_elem_js__WEBPACK_IMPORTED_MODULE_2__.Ev)(svgEl.current, "\n @keyframes w-loading-pulse {\n from {\n stroke-dashoffset: 55;\n }\n to {\n stroke-dashoffset: -175;\n }\n }\n .w-big-play-button-loading-anim {\n stroke-dasharray: 50 260;\n stroke-dashoffset: 55;\n animation: w-loading-pulse 1.2s infinite cubic-bezier(0.65, 0, 0, 1);\n }\n ");
6266
6839
  setIsAnimating(true);
6267
6840
  }, []);
@@ -6685,21 +7258,37 @@ var init_wistia_player = __esm({
6685
7258
  5181: (
6686
7259
  /***/
6687
7260
  ((__unused_webpack_module, __webpack_exports__3, __webpack_require__3) => {
7261
+ __webpack_require__3.r(__webpack_exports__3);
6688
7262
  __webpack_require__3.d(__webpack_exports__3, {
6689
7263
  /* harmony export */
6690
- FK: () => (
7264
+ Component: () => (
7265
+ /* binding */
7266
+ x
7267
+ ),
7268
+ /* harmony export */
7269
+ Fragment: () => (
6691
7270
  /* binding */
6692
7271
  k
6693
7272
  ),
6694
7273
  /* harmony export */
6695
- XX: () => (
7274
+ cloneElement: () => (
6696
7275
  /* binding */
6697
- G
7276
+ K
6698
7277
  ),
6699
7278
  /* harmony export */
6700
- fF: () => (
7279
+ createContext: () => (
6701
7280
  /* binding */
6702
- l
7281
+ Q
7282
+ ),
7283
+ /* harmony export */
7284
+ createElement: () => (
7285
+ /* binding */
7286
+ _
7287
+ ),
7288
+ /* harmony export */
7289
+ createRef: () => (
7290
+ /* binding */
7291
+ b
6703
7292
  ),
6704
7293
  /* harmony export */
6705
7294
  h: () => (
@@ -6707,14 +7296,29 @@ var init_wistia_player = __esm({
6707
7296
  _
6708
7297
  ),
6709
7298
  /* harmony export */
6710
- q6: () => (
7299
+ hydrate: () => (
6711
7300
  /* binding */
6712
- Q
7301
+ J
6713
7302
  ),
6714
7303
  /* harmony export */
6715
- uA: () => (
7304
+ isValidElement: () => (
6716
7305
  /* binding */
6717
- x
7306
+ t
7307
+ ),
7308
+ /* harmony export */
7309
+ options: () => (
7310
+ /* binding */
7311
+ l
7312
+ ),
7313
+ /* harmony export */
7314
+ render: () => (
7315
+ /* binding */
7316
+ G
7317
+ ),
7318
+ /* harmony export */
7319
+ toChildArray: () => (
7320
+ /* binding */
7321
+ H
6718
7322
  )
6719
7323
  /* harmony export */
6720
7324
  });
@@ -7506,28 +8110,73 @@ var init_wistia_player = __esm({
7506
8110
  )
7507
8111
  /* harmony export */
7508
8112
  });
7509
- var _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__3(8176);
7510
- var _root$Wistia, _root$Wistia2, _root$Wistia2$_destru, _root$Wistia3, _root$Wistia3$_initia, _root$Wistia4, _root$Wistia4$_remote, _root$Wistia5, _root$Wistia5$api, _root$Wistia6, _root$Wistia6$defineC, _root$Wistia7, _root$Wistia7$EventSh, _root$Wistia8, _root$Wistia8$mixin, _root$Wistia9, _root$Wistia9$playlis, _root$Wistia0, _root$Wistia0$PublicA, _root$Wistia1, _root$Wistia1$uncache, _root$Wistia10, _root$Wistia10$Visito, _root$Wistia11, _root$Wistia11$visito, _root$Wistia12, _root$Wistia12$wistia, _root$Wistia13, _root$Wistia13$_liveS, _root$Wistia14, _root$Wistia14$_media, _root$Wistia15, _root$Wistia15$_liveS, _root$Wistia16, _root$Wistia16$first;
8113
+ var preact__WEBPACK_IMPORTED_MODULE_0__2 = __webpack_require__3(5181);
8114
+ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__3(3817);
8115
+ var preact_compat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__3(1525);
8116
+ var _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__3(8176);
8117
+ var _root$Wistia, _root$Wistia2, _root$Wistia2$Preact, _root$Wistia3, _root$Wistia3$_destru, _root$Wistia4, _root$Wistia4$_initia, _root$Wistia5, _root$Wistia5$_remote, _root$Wistia6, _root$Wistia6$api, _root$Wistia7, _root$Wistia7$defineC, _root$Wistia8, _root$Wistia8$EventSh, _root$Wistia9, _root$Wistia9$mixin, _root$Wistia0, _root$Wistia0$playlis, _root$Wistia1, _root$Wistia1$PublicA, _root$Wistia10, _root$Wistia10$uncach, _root$Wistia11, _root$Wistia11$Visito, _root$Wistia12, _root$Wistia12$visito, _root$Wistia13, _root$Wistia13$wistia, _root$Wistia14, _root$Wistia14$_liveS, _root$Wistia15, _root$Wistia15$_media, _root$Wistia16, _root$Wistia16$_liveS, _root$Wistia17, _root$Wistia17$first;
7511
8118
  var _objectHasOwn = function(object, property) {
7512
8119
  if (typeof object === "undefined" || object === null) {
7513
8120
  throw new TypeError("Cannot convert undefined or null to object");
7514
8121
  }
7515
8122
  return Object.prototype.hasOwnProperty.call(Object(object), property);
7516
8123
  };
7517
- (_root$Wistia = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia) !== null && _root$Wistia !== void 0 ? _root$Wistia : _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia = {};
7518
- (_root$Wistia2$_destru = (_root$Wistia2 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia)._destructors) !== null && _root$Wistia2$_destru !== void 0 ? _root$Wistia2$_destru : _root$Wistia2._destructors = {};
7519
- (_root$Wistia3$_initia = (_root$Wistia3 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia)._initializers) !== null && _root$Wistia3$_initia !== void 0 ? _root$Wistia3$_initia : _root$Wistia3._initializers = {};
7520
- (_root$Wistia4$_remote = (_root$Wistia4 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia)._remoteData) !== null && _root$Wistia4$_remote !== void 0 ? _root$Wistia4$_remote : _root$Wistia4._remoteData = /* @__PURE__ */ new Map();
7521
- (_root$Wistia5$api = (_root$Wistia5 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).api) !== null && _root$Wistia5$api !== void 0 ? _root$Wistia5$api : _root$Wistia5.api = function() {
8124
+ function ownKeys2(e, r) {
8125
+ var t = Object.keys(e);
8126
+ if (Object.getOwnPropertySymbols) {
8127
+ var o = Object.getOwnPropertySymbols(e);
8128
+ r && (o = o.filter(function(r2) {
8129
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
8130
+ })), t.push.apply(t, o);
8131
+ }
8132
+ return t;
8133
+ }
8134
+ function _objectSpread2(e) {
8135
+ for (var r = 1; r < arguments.length; r++) {
8136
+ var t = null != arguments[r] ? arguments[r] : {};
8137
+ r % 2 ? ownKeys2(Object(t), true).forEach(function(r2) {
8138
+ _defineProperty2(e, r2, t[r2]);
8139
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys2(Object(t)).forEach(function(r2) {
8140
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
8141
+ });
8142
+ }
8143
+ return e;
8144
+ }
8145
+ function _defineProperty2(e, r, t) {
8146
+ return (r = _toPropertyKey2(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;
8147
+ }
8148
+ function _toPropertyKey2(t) {
8149
+ var i2 = _toPrimitive2(t, "string");
8150
+ return "symbol" == typeof i2 ? i2 : i2 + "";
8151
+ }
8152
+ function _toPrimitive2(t, r) {
8153
+ if ("object" != typeof t || !t) return t;
8154
+ var e = t[Symbol.toPrimitive];
8155
+ if (void 0 !== e) {
8156
+ var i2 = e.call(t, r || "default");
8157
+ if ("object" != typeof i2) return i2;
8158
+ throw new TypeError("@@toPrimitive must return a primitive value.");
8159
+ }
8160
+ return ("string" === r ? String : Number)(t);
8161
+ }
8162
+ (_root$Wistia = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia) !== null && _root$Wistia !== void 0 ? _root$Wistia : _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia = {};
8163
+ (_root$Wistia2$Preact = (_root$Wistia2 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).Preact) !== null && _root$Wistia2$Preact !== void 0 ? _root$Wistia2$Preact : _root$Wistia2.Preact = _objectSpread2(_objectSpread2({}, preact__WEBPACK_IMPORTED_MODULE_0__2), {}, {
8164
+ hooks: preact_hooks__WEBPACK_IMPORTED_MODULE_1__,
8165
+ compat: preact_compat__WEBPACK_IMPORTED_MODULE_2__
8166
+ });
8167
+ (_root$Wistia3$_destru = (_root$Wistia3 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia)._destructors) !== null && _root$Wistia3$_destru !== void 0 ? _root$Wistia3$_destru : _root$Wistia3._destructors = {};
8168
+ (_root$Wistia4$_initia = (_root$Wistia4 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia)._initializers) !== null && _root$Wistia4$_initia !== void 0 ? _root$Wistia4$_initia : _root$Wistia4._initializers = {};
8169
+ (_root$Wistia5$_remote = (_root$Wistia5 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia)._remoteData) !== null && _root$Wistia5$_remote !== void 0 ? _root$Wistia5$_remote : _root$Wistia5._remoteData = /* @__PURE__ */ new Map();
8170
+ (_root$Wistia6$api = (_root$Wistia6 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).api) !== null && _root$Wistia6$api !== void 0 ? _root$Wistia6$api : _root$Wistia6.api = function() {
7522
8171
  console.error("Accessed Wistia.api() before it was initialized");
7523
8172
  return null;
7524
8173
  };
7525
- (_root$Wistia6$defineC = (_root$Wistia6 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).defineControl) !== null && _root$Wistia6$defineC !== void 0 ? _root$Wistia6$defineC : _root$Wistia6.defineControl = function() {
8174
+ (_root$Wistia7$defineC = (_root$Wistia7 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).defineControl) !== null && _root$Wistia7$defineC !== void 0 ? _root$Wistia7$defineC : _root$Wistia7.defineControl = function() {
7526
8175
  console.error("Accessed Wistia.defineControl() before it was initialized");
7527
8176
  return null;
7528
8177
  };
7529
- (_root$Wistia7$EventSh = (_root$Wistia7 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).EventShepherdManager) !== null && _root$Wistia7$EventSh !== void 0 ? _root$Wistia7$EventSh : _root$Wistia7.EventShepherdManager = {};
7530
- (_root$Wistia8$mixin = (_root$Wistia8 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).mixin) !== null && _root$Wistia8$mixin !== void 0 ? _root$Wistia8$mixin : _root$Wistia8.mixin = function(klass) {
8178
+ (_root$Wistia8$EventSh = (_root$Wistia8 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).EventShepherdManager) !== null && _root$Wistia8$EventSh !== void 0 ? _root$Wistia8$EventSh : _root$Wistia8.EventShepherdManager = {};
8179
+ (_root$Wistia9$mixin = (_root$Wistia9 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).mixin) !== null && _root$Wistia9$mixin !== void 0 ? _root$Wistia9$mixin : _root$Wistia9.mixin = function(klass) {
7531
8180
  var obj = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7532
8181
  Object.keys(obj).forEach(function(key) {
7533
8182
  if (_objectHasOwn(obj, key)) {
@@ -7535,23 +8184,23 @@ var init_wistia_player = __esm({
7535
8184
  }
7536
8185
  });
7537
8186
  };
7538
- (_root$Wistia9$playlis = (_root$Wistia9 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).playlistMethods) !== null && _root$Wistia9$playlis !== void 0 ? _root$Wistia9$playlis : _root$Wistia9.playlistMethods = /* @__PURE__ */ new Map();
7539
- (_root$Wistia0$PublicA = (_root$Wistia0 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).PublicApi) !== null && _root$Wistia0$PublicA !== void 0 ? _root$Wistia0$PublicA : _root$Wistia0.PublicApi = null;
7540
- (_root$Wistia1$uncache = (_root$Wistia1 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).uncacheMedia) !== null && _root$Wistia1$uncache !== void 0 ? _root$Wistia1$uncache : _root$Wistia1.uncacheMedia = function() {
8187
+ (_root$Wistia0$playlis = (_root$Wistia0 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).playlistMethods) !== null && _root$Wistia0$playlis !== void 0 ? _root$Wistia0$playlis : _root$Wistia0.playlistMethods = /* @__PURE__ */ new Map();
8188
+ (_root$Wistia1$PublicA = (_root$Wistia1 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).PublicApi) !== null && _root$Wistia1$PublicA !== void 0 ? _root$Wistia1$PublicA : _root$Wistia1.PublicApi = null;
8189
+ (_root$Wistia10$uncach = (_root$Wistia10 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).uncacheMedia) !== null && _root$Wistia10$uncach !== void 0 ? _root$Wistia10$uncach : _root$Wistia10.uncacheMedia = function() {
7541
8190
  console.error("Accessed Wistia.uncacheMedia() before it was initialized");
7542
8191
  return null;
7543
8192
  };
7544
- (_root$Wistia10$Visito = (_root$Wistia10 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).VisitorKey) !== null && _root$Wistia10$Visito !== void 0 ? _root$Wistia10$Visito : _root$Wistia10.VisitorKey = null;
7545
- (_root$Wistia11$visito = (_root$Wistia11 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).visitorKey) !== null && _root$Wistia11$visito !== void 0 ? _root$Wistia11$visito : _root$Wistia11.visitorKey = null;
7546
- (_root$Wistia12$wistia = (_root$Wistia12 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).wistia) !== null && _root$Wistia12$wistia !== void 0 ? _root$Wistia12$wistia : _root$Wistia12.wistia = void 0;
7547
- (_root$Wistia13$_liveS = (_root$Wistia13 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia)._liveStreamEventDataPromises) !== null && _root$Wistia13$_liveS !== void 0 ? _root$Wistia13$_liveS : _root$Wistia13._liveStreamEventDataPromises = {};
7548
- (_root$Wistia14$_media = (_root$Wistia14 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia)._mediaDataPromises) !== null && _root$Wistia14$_media !== void 0 ? _root$Wistia14$_media : _root$Wistia14._mediaDataPromises = {};
7549
- (_root$Wistia15$_liveS = (_root$Wistia15 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia)._liveStreamPollingPromises) !== null && _root$Wistia15$_liveS !== void 0 ? _root$Wistia15$_liveS : _root$Wistia15._liveStreamPollingPromises = {};
7550
- (_root$Wistia16$first = (_root$Wistia16 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia).first) !== null && _root$Wistia16$first !== void 0 ? _root$Wistia16$first : _root$Wistia16.first = function() {
8193
+ (_root$Wistia11$Visito = (_root$Wistia11 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).VisitorKey) !== null && _root$Wistia11$Visito !== void 0 ? _root$Wistia11$Visito : _root$Wistia11.VisitorKey = null;
8194
+ (_root$Wistia12$visito = (_root$Wistia12 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).visitorKey) !== null && _root$Wistia12$visito !== void 0 ? _root$Wistia12$visito : _root$Wistia12.visitorKey = null;
8195
+ (_root$Wistia13$wistia = (_root$Wistia13 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).wistia) !== null && _root$Wistia13$wistia !== void 0 ? _root$Wistia13$wistia : _root$Wistia13.wistia = void 0;
8196
+ (_root$Wistia14$_liveS = (_root$Wistia14 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia)._liveStreamEventDataPromises) !== null && _root$Wistia14$_liveS !== void 0 ? _root$Wistia14$_liveS : _root$Wistia14._liveStreamEventDataPromises = {};
8197
+ (_root$Wistia15$_media = (_root$Wistia15 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia)._mediaDataPromises) !== null && _root$Wistia15$_media !== void 0 ? _root$Wistia15$_media : _root$Wistia15._mediaDataPromises = {};
8198
+ (_root$Wistia16$_liveS = (_root$Wistia16 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia)._liveStreamPollingPromises) !== null && _root$Wistia16$_liveS !== void 0 ? _root$Wistia16$_liveS : _root$Wistia16._liveStreamPollingPromises = {};
8199
+ (_root$Wistia17$first = (_root$Wistia17 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia).first) !== null && _root$Wistia17$first !== void 0 ? _root$Wistia17$first : _root$Wistia17.first = function() {
7551
8200
  var _root$Wistia$api;
7552
- return (_root$Wistia$api = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.api()) !== null && _root$Wistia$api !== void 0 ? _root$Wistia$api : document.querySelector("wistia-player");
8201
+ return (_root$Wistia$api = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia.api()) !== null && _root$Wistia$api !== void 0 ? _root$Wistia$api : document.querySelector("wistia-player");
7553
8202
  };
7554
- var Wistia2 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia;
8203
+ var Wistia2 = _utilities_root_js__WEBPACK_IMPORTED_MODULE_3__.z.Wistia;
7555
8204
  })
7556
8205
  ),
7557
8206
  /***/
@@ -8012,7 +8661,7 @@ var init_wistia_player = __esm({
8012
8661
  return 10;
8013
8662
  }
8014
8663
  }]);
8015
- })(preact__WEBPACK_IMPORTED_MODULE_1__.uA);
8664
+ })(preact__WEBPACK_IMPORTED_MODULE_1__.Component);
8016
8665
  })
8017
8666
  ),
8018
8667
  /***/
@@ -8444,7 +9093,7 @@ var init_wistia_player = __esm({
8444
9093
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8445
9094
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8446
9095
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8447
- var TAGGED_VERSION2 = "0.3.18";
9096
+ var TAGGED_VERSION2 = "0.3.19";
8448
9097
  var CURRENT_SHA2 = (
8449
9098
  /* unused pure expression or super */
8450
9099
  null
@@ -9339,7 +9988,7 @@ var init_wistia_player = __esm({
9339
9988
  var ALPHA_NO_MIX_BLEND_MODE = 0.85;
9340
9989
  var BigPlayButton = function BigPlayButton2(_ref) {
9341
9990
  var backgroundGradientCss = _ref.backgroundGradientCss, _ref$baseHeight = _ref.baseHeight, baseHeight = _ref$baseHeight === void 0 ? BASE_BUTTON_HEIGHT : _ref$baseHeight, _ref$baseWidth = _ref.baseWidth, baseWidth = _ref$baseWidth === void 0 ? BASE_BUTTON_WIDTH : _ref$baseWidth, borderRadius = _ref.borderRadius, buttonTabIndex = _ref.buttonTabIndex, color = _ref.color, _ref$controlBarDistan = _ref.controlBarDistance, controlBarDistance = _ref$controlBarDistan === void 0 ? 0 : _ref$controlBarDistan, duration = _ref.duration, elemRef = _ref.elemRef, hasContrastIcons = _ref.hasContrastIcons, isLiveMedia = _ref.isLiveMedia, _ref$isLoading = _ref.isLoading, isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading, _ref$isOpaque = _ref.isOpaque, isOpaque = _ref$isOpaque === void 0 ? false : _ref$isOpaque, isVisible = _ref.isVisible, _ref$leftNudgeFractio = _ref.leftNudgeFraction, leftNudgeFraction = _ref$leftNudgeFractio === void 0 ? 0 : _ref$leftNudgeFractio, _ref$noMixBlendMode = _ref.noMixBlendMode, noMixBlendMode = _ref$noMixBlendMode === void 0 ? false : _ref$noMixBlendMode, onClick = _ref.onClick, playerLanguage = _ref.playerLanguage, scale = _ref.scale, showBpbTime = _ref.showBpbTime, _ref$topNudgeFraction = _ref.topNudgeFraction, topNudgeFraction = _ref$topNudgeFraction === void 0 ? 0 : _ref$topNudgeFraction, videoName = _ref.videoName, videoWidth = _ref.videoWidth;
9342
- var _useState = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.J0)(false), _useState2 = _slicedToArray2(_useState, 2), isFocused = _useState2[0], setIsFocused = _useState2[1];
9991
+ var _useState = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)(false), _useState2 = _slicedToArray2(_useState, 2), isFocused = _useState2[0], setIsFocused = _useState2[1];
9343
9992
  var scaledWidth = baseWidth * scale;
9344
9993
  var scaledHeight = baseHeight * scale;
9345
9994
  var translate = function translate2(key) {
@@ -10190,7 +10839,7 @@ var init_wistia_player = __esm({
10190
10839
  var isMuxEnabledFromOpts = ((_video$_opts = video._opts) === null || _video$_opts === void 0 ? void 0 : _video$_opts.mux) !== false;
10191
10840
  var isMuxEnabledFromStandardEmbed = video.iframe == null;
10192
10841
  var isMuxEnabledFromCoinFlip = didWinCoinFlip;
10193
- var isMuxEnabledFromLiveStream = Boolean(((_video$_mediaData = video._mediaData) === null || _video$_mediaData === void 0 ? void 0 : _video$_mediaData.type) === "LiveStream");
10842
+ var isMuxEnabledFromLiveStream = ((_video$_mediaData = video._mediaData) === null || _video$_mediaData === void 0 ? void 0 : _video$_mediaData.type) === "LiveStream";
10194
10843
  return isMuxEnabledOnWindow && isMuxEnabledFromOpts && isMuxEnabledFromStandardEmbed && (isMuxEnabledFromCoinFlip || isMuxEnabledFromLiveStream);
10195
10844
  };
10196
10845
  })
@@ -13488,8 +14137,8 @@ var init_wistia_player = __esm({
13488
14137
  var PreloadThumbnail = function PreloadThumbnail2(_ref) {
13489
14138
  var _ref2, _ref3, _getGradientColor;
13490
14139
  var isPlayPending = _ref.isPlayPending, mediaId = _ref.mediaId, playerType = _ref.playerType, playerWidth = _ref.playerWidth;
13491
- var _useState = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.J0)(false), _useState2 = _slicedToArray2(_useState, 2), isLoading = _useState2[0], setIsLoading = _useState2[1];
13492
- (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.vJ)(function() {
14140
+ var _useState = (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)(false), _useState2 = _slicedToArray2(_useState, 2), isLoading = _useState2[0], setIsLoading = _useState2[1];
14141
+ (0, preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function() {
13493
14142
  if (isPlayPending) {
13494
14143
  setIsLoading(true);
13495
14144
  }
@@ -13632,8 +14281,14 @@ var init_wistia_player = __esm({
13632
14281
  var isError = (value) => {
13633
14282
  return isNotNil2(value) && value instanceof Error;
13634
14283
  };
13635
- var isFalsy = (value) => FALSY_VALUES2.includes(value) || Number.isNaN(value);
13636
- var isTruthy = (value) => !FALSY_VALUES2.includes(value) && !Number.isNaN(value);
14284
+ var isFalsy = (value) => (
14285
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
14286
+ FALSY_VALUES2.includes(value) || Number.isNaN(value)
14287
+ );
14288
+ var isTruthy = (value) => (
14289
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
14290
+ !FALSY_VALUES2.includes(value) && !Number.isNaN(value)
14291
+ );
13637
14292
  var hasKey = (value, key) => isNonEmptyRecord(value) && key in value;
13638
14293
  })
13639
14294
  )
@@ -13675,6 +14330,14 @@ var init_wistia_player = __esm({
13675
14330
  (() => {
13676
14331
  __webpack_require__2.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
13677
14332
  })();
14333
+ (() => {
14334
+ __webpack_require__2.r = (exports) => {
14335
+ if (typeof Symbol !== "undefined" && Symbol.toStringTag) {
14336
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
14337
+ }
14338
+ Object.defineProperty(exports, "__esModule", { value: true });
14339
+ };
14340
+ })();
13678
14341
  (() => {
13679
14342
  __webpack_require__2.nmd = (module2) => {
13680
14343
  module2.paths = [];
@@ -13992,8 +14655,8 @@ var init_wistia_player = __esm({
13992
14655
  },
13993
14656
  set: function set(radius) {
13994
14657
  var _classPrivateFieldGet7;
13995
- (_classPrivateFieldGet7 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet7 === void 0 ? void 0 : _classPrivateFieldGet7.setBigPlayButtonBorderRadius(Number(radius));
13996
- _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "bigPlayButtonBorderRadius", radius);
14658
+ (_classPrivateFieldGet7 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet7 === void 0 ? void 0 : _classPrivateFieldGet7.setBigPlayButtonBorderRadius(radius);
14659
+ _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "bigPlayButtonBorderRadius", Number(radius));
13997
14660
  }
13998
14661
  }, {
13999
14662
  key: "branding",
@@ -14069,8 +14732,8 @@ var init_wistia_player = __esm({
14069
14732
  },
14070
14733
  set: function set(radius) {
14071
14734
  var _classPrivateFieldGet16;
14072
- (_classPrivateFieldGet16 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet16 === void 0 ? void 0 : _classPrivateFieldGet16.setControlBarBorderRadius(Number(radius));
14073
- _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "controlBarBorderRadius", radius);
14735
+ (_classPrivateFieldGet16 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet16 === void 0 ? void 0 : _classPrivateFieldGet16.setControlBarBorderRadius(radius);
14736
+ _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "controlBarBorderRadius", Number(radius));
14074
14737
  }
14075
14738
  /**
14076
14739
  * Getter. Returns all defined controls.
@@ -14519,7 +15182,7 @@ var init_wistia_player = __esm({
14519
15182
  set: function set(radius) {
14520
15183
  var _classPrivateFieldGet57;
14521
15184
  (_classPrivateFieldGet57 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet57 === void 0 ? void 0 : _classPrivateFieldGet57.setPlayerBorderRadius(Number(radius));
14522
- _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playerBorderRadius", radius);
15185
+ _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playerBorderRadius", Number(radius));
14523
15186
  }
14524
15187
  /**
14525
15188
  * Returns the base color of the player.
@@ -14943,7 +15606,7 @@ var init_wistia_player = __esm({
14943
15606
  set: function set(radius) {
14944
15607
  var _classPrivateFieldGet70;
14945
15608
  (_classPrivateFieldGet70 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet70 === void 0 ? void 0 : _classPrivateFieldGet70.setRoundedPlayer(Number(radius));
14946
- _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "roundedPlayer", radius);
15609
+ _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "roundedPlayer", Number(radius));
14947
15610
  }
14948
15611
  /**
14949
15612
  * Returns the number of unique seconds that have been watched for the video.
@@ -16198,10 +16861,13 @@ var WistiaPlayer2 = (0, import_react2.forwardRef)(
16198
16861
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
16199
16862
  import_react2.Suspense,
16200
16863
  {
16201
- fallback: shouldDisplaySwatch && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react2.Fragment, { children: [
16202
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("style", { children: styleBlock }),
16203
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("wistia-player", { "media-id": mediaId, style, children })
16204
- ] }),
16864
+ fallback: (
16865
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
16866
+ shouldDisplaySwatch ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react2.Fragment, { children: [
16867
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("style", { children: styleBlock }),
16868
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("wistia-player", { "media-id": mediaId, style, children })
16869
+ ] }) : null
16870
+ ),
16205
16871
  children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(WistiaPlayerWrapper2, { ref, ...props })
16206
16872
  }
16207
16873
  );
@@ -16209,7 +16875,7 @@ var WistiaPlayer2 = (0, import_react2.forwardRef)(
16209
16875
  );
16210
16876
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
16211
16877
  /*
16212
- * @license @wistia/type-guards v0.9.1
16878
+ * @license @wistia/type-guards v0.9.2
16213
16879
  *
16214
16880
  * Copyright (c) 2023-2025, Wistia, Inc. and its affiliates.
16215
16881
  *
@@ -16219,7 +16885,7 @@ var WistiaPlayer2 = (0, import_react2.forwardRef)(
16219
16885
 
16220
16886
  @wistia/type-guards/dist/index.mjs:
16221
16887
  (*
16222
- * @license @wistia/type-guards v0.9.1
16888
+ * @license @wistia/type-guards v0.9.2
16223
16889
  *
16224
16890
  * Copyright (c) 2023-2025, Wistia, Inc. and its affiliates.
16225
16891
  *