@wistia/wistia-player-react 0.6.16 → 0.6.18

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.
@@ -5151,7 +5151,11 @@ var __webpack_modules__ = {
5151
5151
  var _exec, _exec2;
5152
5152
  var wemail = (_exec = /wemail=([^&#]+)/.exec(pageUrl)) !== null && _exec !== void 0 ? _exec : null;
5153
5153
  if (wemail) {
5154
- return wemail[1];
5154
+ try {
5155
+ return decodeURIComponent(wemail[1]);
5156
+ } catch (_unused) {
5157
+ return wemail[1];
5158
+ }
5155
5159
  }
5156
5160
  var wkey = (_exec2 = /wkey=([^&#]+)/.exec(pageUrl)) !== null && _exec2 !== void 0 ? _exec2 : null;
5157
5161
  if (wkey) {
@@ -8218,8 +8222,8 @@ var __webpack_modules__ = {
8218
8222
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8219
8223
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8220
8224
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8221
- var TAGGED_VERSION = "0.6.16";
8222
- var CURRENT_SHA = "3b8c644a094381ed8a60dc09d14eae80986f4ff5";
8225
+ var TAGGED_VERSION = "0.6.18";
8226
+ var CURRENT_SHA = "751b833463ec79b037df4d0e14234cc6b7765099";
8223
8227
  var DEFAULT_PROTOCOL = (function() {
8224
8228
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8225
8229
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -14182,7 +14186,10 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14182
14186
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "contrastIcons");
14183
14187
  },
14184
14188
  set: function set(contrastIcons) {
14185
- _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "contrastIcons", contrastIcons);
14189
+ var _classPrivateFieldGet18;
14190
+ var valueAsBoolean = Boolean(contrastIcons);
14191
+ (_classPrivateFieldGet18 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet18 === void 0 ? void 0 : _classPrivateFieldGet18.contrastIcons(valueAsBoolean);
14192
+ _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "contrastIcons", valueAsBoolean);
14186
14193
  }
14187
14194
  /**
14188
14195
  * Returns the border radius of the control bar.
@@ -14194,8 +14201,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14194
14201
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "controlBarBorderRadius");
14195
14202
  },
14196
14203
  set: function set(radius) {
14197
- var _classPrivateFieldGet18;
14198
- (_classPrivateFieldGet18 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet18 === void 0 ? void 0 : _classPrivateFieldGet18.setControlBarBorderRadius(radius);
14204
+ var _classPrivateFieldGet19;
14205
+ (_classPrivateFieldGet19 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet19 === void 0 ? void 0 : _classPrivateFieldGet19.setControlBarBorderRadius(radius);
14199
14206
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "controlBarBorderRadius", Number(radius));
14200
14207
  }
14201
14208
  /**
@@ -14221,8 +14228,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14221
14228
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "controlsVisibleOnLoad");
14222
14229
  },
14223
14230
  set: function set(shouldHide) {
14224
- var _classPrivateFieldGet19;
14225
- (_classPrivateFieldGet19 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet19 === void 0 ? void 0 : _classPrivateFieldGet19.renderUI();
14231
+ var _classPrivateFieldGet20;
14232
+ (_classPrivateFieldGet20 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet20 === void 0 ? void 0 : _classPrivateFieldGet20.renderUI();
14226
14233
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "controlsVisibleOnLoad", shouldHide);
14227
14234
  }
14228
14235
  /**
@@ -14253,12 +14260,12 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14253
14260
  }, {
14254
14261
  key: "currentTime",
14255
14262
  get: function get() {
14256
- var _ref3, _ref4, _classPrivateFieldGet20;
14257
- return (_ref3 = (_ref4 = (_classPrivateFieldGet20 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet20 === void 0 ? void 0 : _classPrivateFieldGet20.time()) !== null && _ref4 !== void 0 ? _ref4 : this.embedOptions.currentTime) !== null && _ref3 !== void 0 ? _ref3 : 0;
14263
+ var _ref3, _ref4, _classPrivateFieldGet21;
14264
+ return (_ref3 = (_ref4 = (_classPrivateFieldGet21 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet21 === void 0 ? void 0 : _classPrivateFieldGet21.time()) !== null && _ref4 !== void 0 ? _ref4 : this.embedOptions.currentTime) !== null && _ref3 !== void 0 ? _ref3 : 0;
14258
14265
  },
14259
14266
  set: function set(newTime) {
14260
- var _classPrivateFieldGet21;
14261
- void ((_classPrivateFieldGet21 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet21 === void 0 ? void 0 : _classPrivateFieldGet21.time(newTime));
14267
+ var _classPrivateFieldGet22;
14268
+ void ((_classPrivateFieldGet22 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet22 === void 0 ? void 0 : _classPrivateFieldGet22.time(newTime));
14262
14269
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "currentTime", newTime);
14263
14270
  }
14264
14271
  /**
@@ -14267,10 +14274,10 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14267
14274
  }, {
14268
14275
  key: "debug",
14269
14276
  get: function get() {
14270
- var _classPrivateFieldGet22;
14277
+ var _classPrivateFieldGet23;
14271
14278
  return {
14272
14279
  impl: _classPrivateFieldGet(_impl, this),
14273
- engine: (_classPrivateFieldGet22 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet22 === void 0 ? void 0 : _classPrivateFieldGet22.engine
14280
+ engine: (_classPrivateFieldGet23 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet23 === void 0 ? void 0 : _classPrivateFieldGet23.engine
14274
14281
  };
14275
14282
  }
14276
14283
  /**
@@ -14303,8 +14310,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14303
14310
  }, {
14304
14311
  key: "duration",
14305
14312
  get: function get() {
14306
- var _classPrivateFieldGet23, _classPrivateFieldGet24;
14307
- return (_classPrivateFieldGet23 = (_classPrivateFieldGet24 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet24 === void 0 ? void 0 : _classPrivateFieldGet24.duration()) !== null && _classPrivateFieldGet23 !== void 0 ? _classPrivateFieldGet23 : 0;
14313
+ var _classPrivateFieldGet24, _classPrivateFieldGet25;
14314
+ return (_classPrivateFieldGet24 = (_classPrivateFieldGet25 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet25 === void 0 ? void 0 : _classPrivateFieldGet25.duration()) !== null && _classPrivateFieldGet24 !== void 0 ? _classPrivateFieldGet24 : 0;
14308
14315
  }
14309
14316
  /**
14310
14317
  * Returns the email associated with this viewing session.
@@ -14358,8 +14365,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14358
14365
  }, {
14359
14366
  key: "ended",
14360
14367
  get: function get() {
14361
- var _classPrivateFieldGet25;
14362
- return ((_classPrivateFieldGet25 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet25 === void 0 ? void 0 : _classPrivateFieldGet25.state()) === "ended";
14368
+ var _classPrivateFieldGet26;
14369
+ return ((_classPrivateFieldGet26 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet26 === void 0 ? void 0 : _classPrivateFieldGet26.state()) === "ended";
14363
14370
  }
14364
14371
  /**
14365
14372
  * Returns the current end video behavior value
@@ -14372,11 +14379,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14372
14379
  },
14373
14380
  set: function set(behavior) {
14374
14381
  if (behavior === "loop") {
14375
- var _classPrivateFieldGet26;
14376
- (_classPrivateFieldGet26 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet26 === void 0 ? void 0 : _classPrivateFieldGet26.addLoopBehavior();
14377
- } else {
14378
14382
  var _classPrivateFieldGet27;
14379
- (_classPrivateFieldGet27 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet27 === void 0 ? void 0 : _classPrivateFieldGet27.removeLoopBehavior();
14383
+ (_classPrivateFieldGet27 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet27 === void 0 ? void 0 : _classPrivateFieldGet27.addLoopBehavior();
14384
+ } else {
14385
+ var _classPrivateFieldGet28;
14386
+ (_classPrivateFieldGet28 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet28 === void 0 ? void 0 : _classPrivateFieldGet28.removeLoopBehavior();
14380
14387
  }
14381
14388
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "endVideoBehavior", behavior);
14382
14389
  }
@@ -14387,8 +14394,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14387
14394
  }, {
14388
14395
  key: "eventKey",
14389
14396
  get: function get() {
14390
- var _classPrivateFieldGet28;
14391
- return (_classPrivateFieldGet28 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet28 === void 0 ? void 0 : _classPrivateFieldGet28.eventKey();
14397
+ var _classPrivateFieldGet29;
14398
+ return (_classPrivateFieldGet29 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet29 === void 0 ? void 0 : _classPrivateFieldGet29.eventKey();
14392
14399
  }
14393
14400
  /**
14394
14401
  * Returns if the fullscreen button control will appear in the control bar.
@@ -14400,8 +14407,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14400
14407
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "fullscreenControl");
14401
14408
  },
14402
14409
  set: function set(shouldDisplay) {
14403
- var _classPrivateFieldGet29;
14404
- (_classPrivateFieldGet29 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet29 === void 0 ? void 0 : _classPrivateFieldGet29.fullscreenControlEnabled(shouldDisplay);
14410
+ var _classPrivateFieldGet30;
14411
+ (_classPrivateFieldGet30 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet30 === void 0 ? void 0 : _classPrivateFieldGet30.fullscreenControlEnabled(shouldDisplay);
14405
14412
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "fullscreenControl", shouldDisplay);
14406
14413
  }
14407
14414
  /**
@@ -14424,14 +14431,14 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14424
14431
  }, {
14425
14432
  key: "inFullscreen",
14426
14433
  get: function get() {
14427
- var _classPrivateFieldGet30, _classPrivateFieldGet31;
14428
- return (_classPrivateFieldGet30 = (_classPrivateFieldGet31 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet31 === void 0 ? void 0 : _classPrivateFieldGet31.inFullscreen()) !== null && _classPrivateFieldGet30 !== void 0 ? _classPrivateFieldGet30 : false;
14434
+ var _classPrivateFieldGet31, _classPrivateFieldGet32;
14435
+ return (_classPrivateFieldGet31 = (_classPrivateFieldGet32 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet32 === void 0 ? void 0 : _classPrivateFieldGet32.inFullscreen()) !== null && _classPrivateFieldGet31 !== void 0 ? _classPrivateFieldGet31 : false;
14429
14436
  }
14430
14437
  }, {
14431
14438
  key: "inputContext",
14432
14439
  get: function get() {
14433
- var _classPrivateFieldGet32;
14434
- return (_classPrivateFieldGet32 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet32 === void 0 ? void 0 : _classPrivateFieldGet32.getInputContext();
14440
+ var _classPrivateFieldGet33;
14441
+ return (_classPrivateFieldGet33 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet33 === void 0 ? void 0 : _classPrivateFieldGet33.getInputContext();
14435
14442
  }
14436
14443
  /**
14437
14444
  * Returns whether instantHLS is enabled for the video.
@@ -14440,26 +14447,26 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14440
14447
  }, {
14441
14448
  key: "instantHls",
14442
14449
  get: function get() {
14443
- var _classPrivateFieldGet33, _classPrivateFieldGet34;
14444
- return (_classPrivateFieldGet33 = (_classPrivateFieldGet34 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet34 === void 0 ? void 0 : _classPrivateFieldGet34.isInstantHls()) !== null && _classPrivateFieldGet33 !== void 0 ? _classPrivateFieldGet33 : false;
14450
+ var _classPrivateFieldGet34, _classPrivateFieldGet35;
14451
+ return (_classPrivateFieldGet34 = (_classPrivateFieldGet35 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet35 === void 0 ? void 0 : _classPrivateFieldGet35.isInstantHls()) !== null && _classPrivateFieldGet34 !== void 0 ? _classPrivateFieldGet34 : false;
14445
14452
  }
14446
14453
  // the publicApi returns a language object, but you are not allowed to pass that object as a type when setting the language
14447
14454
  // eslint-disable-next-line @typescript-eslint/related-getter-setter-pairs
14448
14455
  }, {
14449
14456
  key: "language",
14450
14457
  get: function get() {
14451
- var _classPrivateFieldGet35, _classPrivateFieldGet36;
14452
- return (_classPrivateFieldGet35 = (_classPrivateFieldGet36 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet36 === void 0 ? void 0 : _classPrivateFieldGet36.language()) !== null && _classPrivateFieldGet35 !== void 0 ? _classPrivateFieldGet35 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this);
14458
+ var _classPrivateFieldGet36, _classPrivateFieldGet37;
14459
+ return (_classPrivateFieldGet36 = (_classPrivateFieldGet37 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet37 === void 0 ? void 0 : _classPrivateFieldGet37.language()) !== null && _classPrivateFieldGet36 !== void 0 ? _classPrivateFieldGet36 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this);
14453
14460
  },
14454
14461
  set: function set(language) {
14455
- var _classPrivateFieldGet37;
14456
- (_classPrivateFieldGet37 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet37 === void 0 ? void 0 : _classPrivateFieldGet37.language(language);
14462
+ var _classPrivateFieldGet38;
14463
+ (_classPrivateFieldGet38 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet38 === void 0 ? void 0 : _classPrivateFieldGet38.language(language);
14457
14464
  }
14458
14465
  }, {
14459
14466
  key: "languages",
14460
14467
  get: function get() {
14461
- var _classPrivateFieldGet38, _classPrivateFieldGet39;
14462
- return (_classPrivateFieldGet38 = (_classPrivateFieldGet39 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet39 === void 0 ? void 0 : _classPrivateFieldGet39.languages()) !== null && _classPrivateFieldGet38 !== void 0 ? _classPrivateFieldGet38 : [_assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this)];
14468
+ var _classPrivateFieldGet39, _classPrivateFieldGet40;
14469
+ return (_classPrivateFieldGet39 = (_classPrivateFieldGet40 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet40 === void 0 ? void 0 : _classPrivateFieldGet40.languages()) !== null && _classPrivateFieldGet39 !== void 0 ? _classPrivateFieldGet39 : [_assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this)];
14463
14470
  }
14464
14471
  /**
14465
14472
  * Returns all the mediaData set on the WistiaPlayer
@@ -14495,8 +14502,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14495
14502
  }, {
14496
14503
  key: "mediaLanguage",
14497
14504
  get: function get() {
14498
- var _classPrivateFieldGet40, _classPrivateFieldGet41;
14499
- return (_classPrivateFieldGet40 = (_classPrivateFieldGet41 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet41 === void 0 ? void 0 : _classPrivateFieldGet41.mediaLanguage()) !== null && _classPrivateFieldGet40 !== void 0 ? _classPrivateFieldGet40 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this);
14505
+ var _classPrivateFieldGet41, _classPrivateFieldGet42;
14506
+ return (_classPrivateFieldGet41 = (_classPrivateFieldGet42 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet42 === void 0 ? void 0 : _classPrivateFieldGet42.mediaLanguage()) !== null && _classPrivateFieldGet41 !== void 0 ? _classPrivateFieldGet41 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this);
14500
14507
  }
14501
14508
  /**
14502
14509
  * Changes the language of the media stream/content.
@@ -14506,18 +14513,18 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14506
14513
  }, {
14507
14514
  key: "mediaLanguageCode",
14508
14515
  get: function get() {
14509
- var _classPrivateFieldGet42, _classPrivateFieldGet43;
14510
- return (_classPrivateFieldGet42 = (_classPrivateFieldGet43 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet43 === void 0 ? void 0 : _classPrivateFieldGet43.mediaLanguageCode()) !== null && _classPrivateFieldGet42 !== void 0 ? _classPrivateFieldGet42 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this).wistiaLanguageCode;
14516
+ var _classPrivateFieldGet43, _classPrivateFieldGet44;
14517
+ return (_classPrivateFieldGet43 = (_classPrivateFieldGet44 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet44 === void 0 ? void 0 : _classPrivateFieldGet44.mediaLanguageCode()) !== null && _classPrivateFieldGet43 !== void 0 ? _classPrivateFieldGet43 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this).wistiaLanguageCode;
14511
14518
  },
14512
14519
  set: function set(languageCode) {
14513
- var _classPrivateFieldGet44;
14514
- (_classPrivateFieldGet44 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet44 === void 0 ? void 0 : _classPrivateFieldGet44.mediaLanguageCode(languageCode);
14520
+ var _classPrivateFieldGet45;
14521
+ (_classPrivateFieldGet45 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet45 === void 0 ? void 0 : _classPrivateFieldGet45.mediaLanguageCode(languageCode);
14515
14522
  }
14516
14523
  }, {
14517
14524
  key: "mediaLanguages",
14518
14525
  get: function get() {
14519
- var _classPrivateFieldGet45, _classPrivateFieldGet46;
14520
- return (_classPrivateFieldGet45 = (_classPrivateFieldGet46 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet46 === void 0 ? void 0 : _classPrivateFieldGet46.mediaLanguages()) !== null && _classPrivateFieldGet45 !== void 0 ? _classPrivateFieldGet45 : [_assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this)];
14526
+ var _classPrivateFieldGet46, _classPrivateFieldGet47;
14527
+ return (_classPrivateFieldGet46 = (_classPrivateFieldGet47 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet47 === void 0 ? void 0 : _classPrivateFieldGet47.mediaLanguages()) !== null && _classPrivateFieldGet46 !== void 0 ? _classPrivateFieldGet46 : [_assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this)];
14521
14528
  }
14522
14529
  /**
14523
14530
  * Returns if player is currently muted
@@ -14526,8 +14533,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14526
14533
  }, {
14527
14534
  key: "muted",
14528
14535
  get: function get() {
14529
- var _ref7, _classPrivateFieldGet47, _classPrivateFieldGet48;
14530
- return (_ref7 = (_classPrivateFieldGet47 = (_classPrivateFieldGet48 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet48 === void 0 ? void 0 : _classPrivateFieldGet48.isMuted()) !== null && _classPrivateFieldGet47 !== void 0 ? _classPrivateFieldGet47 : this.embedOptions.muted) !== null && _ref7 !== void 0 ? _ref7 : false;
14536
+ var _ref7, _classPrivateFieldGet48, _classPrivateFieldGet49;
14537
+ return (_ref7 = (_classPrivateFieldGet48 = (_classPrivateFieldGet49 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet49 === void 0 ? void 0 : _classPrivateFieldGet49.isMuted()) !== null && _classPrivateFieldGet48 !== void 0 ? _classPrivateFieldGet48 : this.embedOptions.muted) !== null && _ref7 !== void 0 ? _ref7 : false;
14531
14538
  },
14532
14539
  set: function set(shouldMute) {
14533
14540
  if (_classPrivateFieldGet(_impl, this)) {
@@ -14547,8 +14554,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14547
14554
  }, {
14548
14555
  key: "name",
14549
14556
  get: function get() {
14550
- var _ref8, _classPrivateFieldGet49, _classPrivateFieldGet50, _classPrivateFieldGet51;
14551
- return (_ref8 = (_classPrivateFieldGet49 = _classPrivateFieldGet(_playerData, this).mediaData.name) !== null && _classPrivateFieldGet49 !== void 0 ? _classPrivateFieldGet49 : (_classPrivateFieldGet50 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet50 === void 0 ? void 0 : (_classPrivateFieldGet51 = _classPrivateFieldGet50._mediaData) === null || _classPrivateFieldGet51 === void 0 ? void 0 : _classPrivateFieldGet51.name) !== null && _ref8 !== void 0 ? _ref8 : void 0;
14557
+ var _ref8, _classPrivateFieldGet50, _classPrivateFieldGet51, _classPrivateFieldGet52;
14558
+ return (_ref8 = (_classPrivateFieldGet50 = _classPrivateFieldGet(_playerData, this).mediaData.name) !== null && _classPrivateFieldGet50 !== void 0 ? _classPrivateFieldGet50 : (_classPrivateFieldGet51 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet51 === void 0 ? void 0 : (_classPrivateFieldGet52 = _classPrivateFieldGet51._mediaData) === null || _classPrivateFieldGet52 === void 0 ? void 0 : _classPrivateFieldGet52.name) !== null && _ref8 !== void 0 ? _ref8 : void 0;
14552
14559
  }
14553
14560
  /**
14554
14561
  * Returns the status of the opaqueControls embed option, which determines
@@ -14562,9 +14569,9 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14562
14569
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "opaqueControls");
14563
14570
  },
14564
14571
  set: function set(opaqueControls) {
14565
- var _classPrivateFieldGet52;
14572
+ var _classPrivateFieldGet53;
14566
14573
  var valueAsBoolean = Boolean(opaqueControls);
14567
- (_classPrivateFieldGet52 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet52 === void 0 ? void 0 : _classPrivateFieldGet52.opaqueControls(valueAsBoolean);
14574
+ (_classPrivateFieldGet53 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet53 === void 0 ? void 0 : _classPrivateFieldGet53.opaqueControls(valueAsBoolean);
14568
14575
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "opaqueControls", valueAsBoolean);
14569
14576
  }
14570
14577
  }, {
@@ -14582,8 +14589,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14582
14589
  }, {
14583
14590
  key: "paused",
14584
14591
  get: function get() {
14585
- var _classPrivateFieldGet53;
14586
- return ((_classPrivateFieldGet53 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet53 === void 0 ? void 0 : _classPrivateFieldGet53.state()) === "paused";
14592
+ var _classPrivateFieldGet54;
14593
+ return ((_classPrivateFieldGet54 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet54 === void 0 ? void 0 : _classPrivateFieldGet54.state()) === "paused";
14587
14594
  }
14588
14595
  /**
14589
14596
  * Returns the percent of the video that has been watched as a decimal between 0 and 1.
@@ -14592,8 +14599,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14592
14599
  }, {
14593
14600
  key: "percentWatched",
14594
14601
  get: function get() {
14595
- var _classPrivateFieldGet54, _classPrivateFieldGet55;
14596
- return (_classPrivateFieldGet54 = (_classPrivateFieldGet55 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet55 === void 0 ? void 0 : _classPrivateFieldGet55.percentWatched()) !== null && _classPrivateFieldGet54 !== void 0 ? _classPrivateFieldGet54 : 0;
14602
+ var _classPrivateFieldGet55, _classPrivateFieldGet56;
14603
+ return (_classPrivateFieldGet55 = (_classPrivateFieldGet56 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet56 === void 0 ? void 0 : _classPrivateFieldGet56.percentWatched()) !== null && _classPrivateFieldGet55 !== void 0 ? _classPrivateFieldGet55 : 0;
14597
14604
  }
14598
14605
  /**
14599
14606
  * Returns the playback rate of the video.
@@ -14602,12 +14609,12 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14602
14609
  }, {
14603
14610
  key: "playbackRate",
14604
14611
  get: function get() {
14605
- var _ref9, _classPrivateFieldGet56, _classPrivateFieldGet57;
14606
- return (_ref9 = (_classPrivateFieldGet56 = (_classPrivateFieldGet57 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet57 === void 0 ? void 0 : _classPrivateFieldGet57.playbackRate()) !== null && _classPrivateFieldGet56 !== void 0 ? _classPrivateFieldGet56 : this.embedOptions.playbackRate) !== null && _ref9 !== void 0 ? _ref9 : 1;
14612
+ var _ref9, _classPrivateFieldGet57, _classPrivateFieldGet58;
14613
+ return (_ref9 = (_classPrivateFieldGet57 = (_classPrivateFieldGet58 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet58 === void 0 ? void 0 : _classPrivateFieldGet58.playbackRate()) !== null && _classPrivateFieldGet57 !== void 0 ? _classPrivateFieldGet57 : this.embedOptions.playbackRate) !== null && _ref9 !== void 0 ? _ref9 : 1;
14607
14614
  },
14608
14615
  set: function set(rate) {
14609
- var _classPrivateFieldGet58;
14610
- (_classPrivateFieldGet58 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet58 === void 0 ? void 0 : _classPrivateFieldGet58.playbackRate(rate);
14616
+ var _classPrivateFieldGet59;
14617
+ (_classPrivateFieldGet59 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet59 === void 0 ? void 0 : _classPrivateFieldGet59.playbackRate(rate);
14611
14618
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playbackRate", rate);
14612
14619
  }
14613
14620
  /**
@@ -14620,8 +14627,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14620
14627
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playbackRateControl");
14621
14628
  },
14622
14629
  set: function set(shouldDisplay) {
14623
- var _classPrivateFieldGet59;
14624
- (_classPrivateFieldGet59 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet59 === void 0 ? void 0 : _classPrivateFieldGet59.playbackRateControlEnabled(shouldDisplay);
14630
+ var _classPrivateFieldGet60;
14631
+ (_classPrivateFieldGet60 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet60 === void 0 ? void 0 : _classPrivateFieldGet60.playbackRateControlEnabled(shouldDisplay);
14625
14632
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playbackRateControl", shouldDisplay);
14626
14633
  }
14627
14634
  /**
@@ -14634,8 +14641,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14634
14641
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playBarControl");
14635
14642
  },
14636
14643
  set: function set(shouldDisplay) {
14637
- var _classPrivateFieldGet60;
14638
- (_classPrivateFieldGet60 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet60 === void 0 ? void 0 : _classPrivateFieldGet60.playbarControlEnabled(shouldDisplay);
14644
+ var _classPrivateFieldGet61;
14645
+ (_classPrivateFieldGet61 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet61 === void 0 ? void 0 : _classPrivateFieldGet61.playbarControlEnabled(shouldDisplay);
14639
14646
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playBarControl", shouldDisplay);
14640
14647
  }
14641
14648
  /**
@@ -14648,8 +14655,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14648
14655
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playerBorderRadius");
14649
14656
  },
14650
14657
  set: function set(radius) {
14651
- var _classPrivateFieldGet61;
14652
- (_classPrivateFieldGet61 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet61 === void 0 ? void 0 : _classPrivateFieldGet61.setPlayerBorderRadius(Number(radius));
14658
+ var _classPrivateFieldGet62;
14659
+ (_classPrivateFieldGet62 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet62 === void 0 ? void 0 : _classPrivateFieldGet62.setPlayerBorderRadius(Number(radius));
14653
14660
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playerBorderRadius", Number(radius));
14654
14661
  }
14655
14662
  /**
@@ -14667,8 +14674,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14667
14674
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playerColor");
14668
14675
  },
14669
14676
  set: function set(newColor) {
14670
- var _classPrivateFieldGet62;
14671
- (_classPrivateFieldGet62 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet62 === void 0 ? void 0 : _classPrivateFieldGet62.playerColor(newColor);
14677
+ var _classPrivateFieldGet63;
14678
+ (_classPrivateFieldGet63 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet63 === void 0 ? void 0 : _classPrivateFieldGet63.playerColor(newColor);
14672
14679
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playerColor", newColor);
14673
14680
  }
14674
14681
  /**
@@ -14685,11 +14692,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14685
14692
  return void 0;
14686
14693
  },
14687
14694
  set: function set(gradient) {
14688
- var _classPrivateFieldGet63;
14695
+ var _classPrivateFieldGet64;
14689
14696
  if (!(0, _types_gradient_ts__WEBPACK_IMPORTED_MODULE_36__.b)(gradient)) {
14690
14697
  throw new Error("playerColorGradient must be a valid gradient object");
14691
14698
  }
14692
- (_classPrivateFieldGet63 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet63 === void 0 ? void 0 : _classPrivateFieldGet63.playerColorGradient(gradient);
14699
+ (_classPrivateFieldGet64 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet64 === void 0 ? void 0 : _classPrivateFieldGet64.playerColorGradient(gradient);
14693
14700
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playerColorGradient", gradient);
14694
14701
  }
14695
14702
  /**
@@ -14747,8 +14754,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14747
14754
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playPauseControl");
14748
14755
  },
14749
14756
  set: function set(shouldDisplay) {
14750
- var _classPrivateFieldGet64;
14751
- (_classPrivateFieldGet64 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet64 === void 0 ? void 0 : _classPrivateFieldGet64.playPauseControlEnabled(shouldDisplay);
14757
+ var _classPrivateFieldGet65;
14758
+ (_classPrivateFieldGet65 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet65 === void 0 ? void 0 : _classPrivateFieldGet65.playPauseControlEnabled(shouldDisplay);
14752
14759
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playPauseControl", shouldDisplay);
14753
14760
  }
14754
14761
  /**
@@ -14763,8 +14770,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14763
14770
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "playPauseNotifier");
14764
14771
  },
14765
14772
  set: function set(shouldDisplay) {
14766
- var _classPrivateFieldGet65;
14767
- (_classPrivateFieldGet65 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet65 === void 0 ? void 0 : _classPrivateFieldGet65.playPauseNotifierEnabled(shouldDisplay);
14773
+ var _classPrivateFieldGet66;
14774
+ (_classPrivateFieldGet66 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet66 === void 0 ? void 0 : _classPrivateFieldGet66.playPauseNotifierEnabled(shouldDisplay);
14768
14775
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "playPauseNotifier", shouldDisplay);
14769
14776
  }
14770
14777
  /**
@@ -14984,8 +14991,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
14984
14991
  }, {
14985
14992
  key: "preload",
14986
14993
  get: function get() {
14987
- var _ref1, _classPrivateFieldGet66, _classPrivateFieldGet67;
14988
- return (_ref1 = (_classPrivateFieldGet66 = (_classPrivateFieldGet67 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet67 === void 0 ? void 0 : _classPrivateFieldGet67.preloadValue()) !== null && _classPrivateFieldGet66 !== void 0 ? _classPrivateFieldGet66 : this.embedOptions.preload) !== null && _ref1 !== void 0 ? _ref1 : "metadata";
14994
+ var _ref1, _classPrivateFieldGet67, _classPrivateFieldGet68;
14995
+ return (_ref1 = (_classPrivateFieldGet67 = (_classPrivateFieldGet68 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet68 === void 0 ? void 0 : _classPrivateFieldGet68.preloadValue()) !== null && _classPrivateFieldGet67 !== void 0 ? _classPrivateFieldGet67 : this.embedOptions.preload) !== null && _ref1 !== void 0 ? _ref1 : "metadata";
14989
14996
  },
14990
14997
  set: function set(preloadValue) {
14991
14998
  var prevVal = this.preload;
@@ -15005,8 +15012,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15005
15012
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "qualityControl");
15006
15013
  },
15007
15014
  set: function set(shouldDisplay) {
15008
- var _classPrivateFieldGet68;
15009
- (_classPrivateFieldGet68 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet68 === void 0 ? void 0 : _classPrivateFieldGet68.qualityControlEnabled(shouldDisplay);
15015
+ var _classPrivateFieldGet69;
15016
+ (_classPrivateFieldGet69 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet69 === void 0 ? void 0 : _classPrivateFieldGet69.qualityControlEnabled(shouldDisplay);
15010
15017
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "qualityControl", shouldDisplay);
15011
15018
  }
15012
15019
  /**
@@ -15019,8 +15026,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15019
15026
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "qualityMax");
15020
15027
  },
15021
15028
  set: function set(quality) {
15022
- var _classPrivateFieldGet69;
15023
- (_classPrivateFieldGet69 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet69 === void 0 ? void 0 : _classPrivateFieldGet69.qualityMax(quality);
15029
+ var _classPrivateFieldGet70;
15030
+ (_classPrivateFieldGet70 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet70 === void 0 ? void 0 : _classPrivateFieldGet70.qualityMax(quality);
15024
15031
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "qualityMax", quality);
15025
15032
  }
15026
15033
  /**
@@ -15033,8 +15040,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15033
15040
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "qualityMin");
15034
15041
  },
15035
15042
  set: function set(quality) {
15036
- var _classPrivateFieldGet70;
15037
- (_classPrivateFieldGet70 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet70 === void 0 ? void 0 : _classPrivateFieldGet70.qualityMin(quality);
15043
+ var _classPrivateFieldGet71;
15044
+ (_classPrivateFieldGet71 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet71 === void 0 ? void 0 : _classPrivateFieldGet71.qualityMin(quality);
15038
15045
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "qualityMin", quality);
15039
15046
  }
15040
15047
  /**
@@ -15044,8 +15051,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15044
15051
  }, {
15045
15052
  key: "readyState",
15046
15053
  get: function get() {
15047
- var _classPrivateFieldGet71, _classPrivateFieldGet72;
15048
- return (_classPrivateFieldGet71 = (_classPrivateFieldGet72 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet72 === void 0 ? void 0 : _classPrivateFieldGet72.getReadyState()) !== null && _classPrivateFieldGet71 !== void 0 ? _classPrivateFieldGet71 : 0;
15054
+ var _classPrivateFieldGet72, _classPrivateFieldGet73;
15055
+ return (_classPrivateFieldGet72 = (_classPrivateFieldGet73 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet73 === void 0 ? void 0 : _classPrivateFieldGet73.getReadyState()) !== null && _classPrivateFieldGet72 !== void 0 ? _classPrivateFieldGet72 : 0;
15049
15056
  }
15050
15057
  /**
15051
15058
  * Returns the current resumable status of the video.
@@ -15058,8 +15065,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15058
15065
  return (_assertClassBrand$cal = _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "resumable")) !== null && _assertClassBrand$cal !== void 0 ? _assertClassBrand$cal : "auto";
15059
15066
  },
15060
15067
  set: function set(resumableState) {
15061
- var _classPrivateFieldGet73;
15062
- (_classPrivateFieldGet73 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet73 === void 0 ? void 0 : _classPrivateFieldGet73.setResumable(resumableState);
15068
+ var _classPrivateFieldGet74;
15069
+ (_classPrivateFieldGet74 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet74 === void 0 ? void 0 : _classPrivateFieldGet74.setResumable(resumableState);
15063
15070
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "resumable", resumableState);
15064
15071
  }
15065
15072
  /**
@@ -15072,8 +15079,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15072
15079
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "roundedPlayer");
15073
15080
  },
15074
15081
  set: function set(radius) {
15075
- var _classPrivateFieldGet74;
15076
- (_classPrivateFieldGet74 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet74 === void 0 ? void 0 : _classPrivateFieldGet74.setRoundedPlayer(Number(radius));
15082
+ var _classPrivateFieldGet75;
15083
+ (_classPrivateFieldGet75 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet75 === void 0 ? void 0 : _classPrivateFieldGet75.setRoundedPlayer(Number(radius));
15077
15084
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "roundedPlayer", Number(radius));
15078
15085
  }
15079
15086
  /**
@@ -15084,8 +15091,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15084
15091
  }, {
15085
15092
  key: "secondsWatched",
15086
15093
  get: function get() {
15087
- var _classPrivateFieldGet75, _classPrivateFieldGet76;
15088
- return (_classPrivateFieldGet75 = (_classPrivateFieldGet76 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet76 === void 0 ? void 0 : _classPrivateFieldGet76.secondsWatched()) !== null && _classPrivateFieldGet75 !== void 0 ? _classPrivateFieldGet75 : 0;
15094
+ var _classPrivateFieldGet76, _classPrivateFieldGet77;
15095
+ return (_classPrivateFieldGet76 = (_classPrivateFieldGet77 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet77 === void 0 ? void 0 : _classPrivateFieldGet77.secondsWatched()) !== null && _classPrivateFieldGet76 !== void 0 ? _classPrivateFieldGet76 : 0;
15089
15096
  }
15090
15097
  /**
15091
15098
  * Returns an array where each index represents the number of times the viewer has watched each second of the video.
@@ -15094,8 +15101,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15094
15101
  }, {
15095
15102
  key: "secondsWatchedVector",
15096
15103
  get: function get() {
15097
- var _classPrivateFieldGet77, _classPrivateFieldGet78;
15098
- return (_classPrivateFieldGet77 = (_classPrivateFieldGet78 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet78 === void 0 ? void 0 : _classPrivateFieldGet78.secondsWatchedVector()) !== null && _classPrivateFieldGet77 !== void 0 ? _classPrivateFieldGet77 : [];
15104
+ var _classPrivateFieldGet78, _classPrivateFieldGet79;
15105
+ return (_classPrivateFieldGet78 = (_classPrivateFieldGet79 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet79 === void 0 ? void 0 : _classPrivateFieldGet79.secondsWatchedVector()) !== null && _classPrivateFieldGet78 !== void 0 ? _classPrivateFieldGet78 : [];
15099
15106
  }
15100
15107
  /**
15101
15108
  * Returns whether JSON+LD seo data will be injected.
@@ -15119,8 +15126,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15119
15126
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "settingsControl");
15120
15127
  },
15121
15128
  set: function set(shouldDisplay) {
15122
- var _classPrivateFieldGet79;
15123
- (_classPrivateFieldGet79 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet79 === void 0 ? void 0 : _classPrivateFieldGet79.settingsControlEnabled(shouldDisplay);
15129
+ var _classPrivateFieldGet80;
15130
+ (_classPrivateFieldGet80 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet80 === void 0 ? void 0 : _classPrivateFieldGet80.settingsControlEnabled(shouldDisplay);
15124
15131
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "settingsControl", shouldDisplay);
15125
15132
  }
15126
15133
  /**
@@ -15142,10 +15149,10 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15142
15149
  }, {
15143
15150
  key: "sourceLanguage",
15144
15151
  get: function get() {
15145
- var _classPrivateFieldGet80, _classPrivateFieldGet81, _classPrivateFieldGet82;
15146
- return (_classPrivateFieldGet80 = (_classPrivateFieldGet81 = _classPrivateFieldGet(_playerData, this).mediaData.localizations) === null || _classPrivateFieldGet81 === void 0 ? void 0 : _classPrivateFieldGet81.find(function(loc) {
15152
+ var _classPrivateFieldGet81, _classPrivateFieldGet82, _classPrivateFieldGet83;
15153
+ return (_classPrivateFieldGet81 = (_classPrivateFieldGet82 = _classPrivateFieldGet(_playerData, this).mediaData.localizations) === null || _classPrivateFieldGet82 === void 0 ? void 0 : _classPrivateFieldGet82.find(function(loc) {
15147
15154
  return loc.isOriginal;
15148
- })) !== null && _classPrivateFieldGet80 !== void 0 ? _classPrivateFieldGet80 : (_classPrivateFieldGet82 = _classPrivateFieldGet(_playerData, this).mediaData.localizations) === null || _classPrivateFieldGet82 === void 0 ? void 0 : _classPrivateFieldGet82[0];
15155
+ })) !== null && _classPrivateFieldGet81 !== void 0 ? _classPrivateFieldGet81 : (_classPrivateFieldGet83 = _classPrivateFieldGet(_playerData, this).mediaData.localizations) === null || _classPrivateFieldGet83 === void 0 ? void 0 : _classPrivateFieldGet83[0];
15149
15156
  }
15150
15157
  /**
15151
15158
  * Returns the source media id for the player. If a player has different localized versions,
@@ -15165,8 +15172,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15165
15172
  }, {
15166
15173
  key: "state",
15167
15174
  get: function get() {
15168
- var _classPrivateFieldGet83, _classPrivateFieldGet84;
15169
- return (_classPrivateFieldGet83 = (_classPrivateFieldGet84 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet84 === void 0 ? void 0 : _classPrivateFieldGet84.state()) !== null && _classPrivateFieldGet83 !== void 0 ? _classPrivateFieldGet83 : defaultEmbedOptions.state;
15175
+ var _classPrivateFieldGet84, _classPrivateFieldGet85;
15176
+ return (_classPrivateFieldGet84 = (_classPrivateFieldGet85 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet85 === void 0 ? void 0 : _classPrivateFieldGet85.state()) !== null && _classPrivateFieldGet84 !== void 0 ? _classPrivateFieldGet84 : defaultEmbedOptions.state;
15170
15177
  }
15171
15178
  /**
15172
15179
  * Returns the stats url for the player.
@@ -15248,12 +15255,12 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15248
15255
  }, {
15249
15256
  key: "videoQuality",
15250
15257
  get: function get() {
15251
- var _ref10, _classPrivateFieldGet85, _classPrivateFieldGet86;
15252
- return (_ref10 = (_classPrivateFieldGet85 = (_classPrivateFieldGet86 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet86 === void 0 ? void 0 : _classPrivateFieldGet86.getVideoQuality()) !== null && _classPrivateFieldGet85 !== void 0 ? _classPrivateFieldGet85 : this.embedOptions.videoQuality) !== null && _ref10 !== void 0 ? _ref10 : "auto";
15258
+ var _ref10, _classPrivateFieldGet86, _classPrivateFieldGet87;
15259
+ return (_ref10 = (_classPrivateFieldGet86 = (_classPrivateFieldGet87 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet87 === void 0 ? void 0 : _classPrivateFieldGet87.getVideoQuality()) !== null && _classPrivateFieldGet86 !== void 0 ? _classPrivateFieldGet86 : this.embedOptions.videoQuality) !== null && _ref10 !== void 0 ? _ref10 : "auto";
15253
15260
  },
15254
15261
  set: function set(quality) {
15255
- var _classPrivateFieldGet87;
15256
- (_classPrivateFieldGet87 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet87 === void 0 ? void 0 : _classPrivateFieldGet87.setVideoQuality(quality);
15262
+ var _classPrivateFieldGet88;
15263
+ (_classPrivateFieldGet88 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet88 === void 0 ? void 0 : _classPrivateFieldGet88.setVideoQuality(quality);
15257
15264
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "videoQuality", quality);
15258
15265
  }
15259
15266
  /**
@@ -15276,8 +15283,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15276
15283
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "volume");
15277
15284
  },
15278
15285
  set: function set(level) {
15279
- var _classPrivateFieldGet88;
15280
- (_classPrivateFieldGet88 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet88 === void 0 ? void 0 : _classPrivateFieldGet88.volume(level);
15286
+ var _classPrivateFieldGet89;
15287
+ (_classPrivateFieldGet89 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet89 === void 0 ? void 0 : _classPrivateFieldGet89.volume(level);
15281
15288
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "volume", level);
15282
15289
  }
15283
15290
  /**
@@ -15292,8 +15299,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15292
15299
  return _assertClassBrand(_WistiaPlayer_brand, this, _getSyncedEmbedOption).call(this, "volumeControl");
15293
15300
  },
15294
15301
  set: function set(shouldDisplay) {
15295
- var _classPrivateFieldGet89;
15296
- (_classPrivateFieldGet89 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet89 === void 0 ? void 0 : _classPrivateFieldGet89.volumeControlEnabled(shouldDisplay);
15302
+ var _classPrivateFieldGet90;
15303
+ (_classPrivateFieldGet90 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet90 === void 0 ? void 0 : _classPrivateFieldGet90.volumeControlEnabled(shouldDisplay);
15297
15304
  _assertClassBrand(_WistiaPlayer_brand, this, _setSyncedEmbedOption).call(this, "volumeControl", shouldDisplay);
15298
15305
  }
15299
15306
  /**
@@ -15339,11 +15346,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15339
15346
  key: "cancelFullscreen",
15340
15347
  value: (function() {
15341
15348
  var _cancelFullscreen = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee() {
15342
- var _classPrivateFieldGet90, _this3 = this;
15349
+ var _classPrivateFieldGet91, _this3 = this;
15343
15350
  return _regenerator().w(function(_context) {
15344
15351
  while (1) switch (_context.n) {
15345
15352
  case 0:
15346
- return _context.a(2, (_classPrivateFieldGet90 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet90 === void 0 ? void 0 : _classPrivateFieldGet90.cancelFullscreen().then(function() {
15353
+ return _context.a(2, (_classPrivateFieldGet91 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet91 === void 0 ? void 0 : _classPrivateFieldGet91.cancelFullscreen().then(function() {
15347
15354
  _this3._fullscreenState.heightBeforeFullscreen = void 0;
15348
15355
  _this3._fullscreenState.widthBeforeFullscreen = void 0;
15349
15356
  }));
@@ -15359,11 +15366,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15359
15366
  key: "createOverlay",
15360
15367
  value: (function() {
15361
15368
  var _createOverlay = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee2(name, options) {
15362
- var _classPrivateFieldGet91;
15369
+ var _classPrivateFieldGet92;
15363
15370
  return _regenerator().w(function(_context2) {
15364
15371
  while (1) switch (_context2.n) {
15365
15372
  case 0:
15366
- if (!((_classPrivateFieldGet91 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet91 !== void 0 && _classPrivateFieldGet91.defineOverlay)) {
15373
+ if (!((_classPrivateFieldGet92 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet92 !== void 0 && _classPrivateFieldGet92.defineOverlay)) {
15367
15374
  _context2.n = 1;
15368
15375
  break;
15369
15376
  }
@@ -15389,11 +15396,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15389
15396
  case 0:
15390
15397
  addPlugin = /* @__PURE__ */ (function() {
15391
15398
  var _ref11 = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee3() {
15392
- var _classPrivateFieldGet92, _classPrivateFieldGet93;
15399
+ var _classPrivateFieldGet93, _classPrivateFieldGet94;
15393
15400
  return _regenerator().w(function(_context3) {
15394
15401
  while (1) switch (_context3.n) {
15395
15402
  case 0:
15396
- return _context3.a(2, (_classPrivateFieldGet92 = (_classPrivateFieldGet93 = _classPrivateFieldGet(_api, _this4)) === null || _classPrivateFieldGet93 === void 0 ? void 0 : _classPrivateFieldGet93.addPlugin(name, options)) !== null && _classPrivateFieldGet92 !== void 0 ? _classPrivateFieldGet92 : Promise.reject(new Error("plugin ".concat(name, " cannot be defined"))));
15403
+ return _context3.a(2, (_classPrivateFieldGet93 = (_classPrivateFieldGet94 = _classPrivateFieldGet(_api, _this4)) === null || _classPrivateFieldGet94 === void 0 ? void 0 : _classPrivateFieldGet94.addPlugin(name, options)) !== null && _classPrivateFieldGet93 !== void 0 ? _classPrivateFieldGet93 : Promise.reject(new Error("plugin ".concat(name, " cannot be defined"))));
15397
15404
  }
15398
15405
  }, _callee3);
15399
15406
  }));
@@ -15438,11 +15445,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15438
15445
  key: "deleteOverlay",
15439
15446
  value: (function() {
15440
15447
  var _deleteOverlay = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee6(name) {
15441
- var _classPrivateFieldGet94;
15448
+ var _classPrivateFieldGet95;
15442
15449
  return _regenerator().w(function(_context6) {
15443
15450
  while (1) switch (_context6.n) {
15444
15451
  case 0:
15445
- if (!((_classPrivateFieldGet94 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet94 !== void 0 && _classPrivateFieldGet94.undefineOverlay)) {
15452
+ if (!((_classPrivateFieldGet95 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet95 !== void 0 && _classPrivateFieldGet95.undefineOverlay)) {
15446
15453
  _context6.n = 1;
15447
15454
  break;
15448
15455
  }
@@ -15461,11 +15468,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15461
15468
  key: "disableControl",
15462
15469
  value: (function() {
15463
15470
  var _disableControl = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee7(name) {
15464
- var _classPrivateFieldGet95;
15471
+ var _classPrivateFieldGet96;
15465
15472
  return _regenerator().w(function(_context7) {
15466
15473
  while (1) switch (_context7.n) {
15467
15474
  case 0:
15468
- if (!((_classPrivateFieldGet95 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet95 !== void 0 && _classPrivateFieldGet95.setControlEnabled)) {
15475
+ if (!((_classPrivateFieldGet96 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet96 !== void 0 && _classPrivateFieldGet96.setControlEnabled)) {
15469
15476
  _context7.n = 1;
15470
15477
  break;
15471
15478
  }
@@ -15484,11 +15491,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15484
15491
  key: "enableControl",
15485
15492
  value: (function() {
15486
15493
  var _enableControl = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee8(name) {
15487
- var _classPrivateFieldGet96;
15494
+ var _classPrivateFieldGet97;
15488
15495
  return _regenerator().w(function(_context8) {
15489
15496
  while (1) switch (_context8.n) {
15490
15497
  case 0:
15491
- if (!((_classPrivateFieldGet96 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet96 !== void 0 && _classPrivateFieldGet96.setControlEnabled)) {
15498
+ if (!((_classPrivateFieldGet97 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet97 !== void 0 && _classPrivateFieldGet97.setControlEnabled)) {
15492
15499
  _context8.n = 1;
15493
15500
  break;
15494
15501
  }
@@ -15507,16 +15514,16 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15507
15514
  key: "enterInputContext",
15508
15515
  value: (function() {
15509
15516
  var _enterInputContext = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee9(context) {
15510
- var _classPrivateFieldGet97, _this5 = this;
15517
+ var _classPrivateFieldGet98, _this5 = this;
15511
15518
  return _regenerator().w(function(_context9) {
15512
15519
  while (1) switch (_context9.n) {
15513
15520
  case 0:
15514
- if (!((_classPrivateFieldGet97 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet97 !== void 0 && _classPrivateFieldGet97.enterInputContext)) {
15521
+ if (!((_classPrivateFieldGet98 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet98 !== void 0 && _classPrivateFieldGet98.enterInputContext)) {
15515
15522
  _context9.n = 1;
15516
15523
  break;
15517
15524
  }
15518
15525
  return _context9.a(2, new Promise(function(resolve) {
15519
- var _classPrivateFieldGet98;
15526
+ var _classPrivateFieldGet99;
15520
15527
  var _handler = function handler(event) {
15521
15528
  var detail = event.detail;
15522
15529
  if (detail.context === context) {
@@ -15525,7 +15532,7 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15525
15532
  _this5.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.ve, _handler);
15526
15533
  };
15527
15534
  _this5.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.ve, _handler);
15528
- (_classPrivateFieldGet98 = _classPrivateFieldGet(_impl, _this5)) === null || _classPrivateFieldGet98 === void 0 ? void 0 : _classPrivateFieldGet98.enterInputContext(context);
15535
+ (_classPrivateFieldGet99 = _classPrivateFieldGet(_impl, _this5)) === null || _classPrivateFieldGet99 === void 0 ? void 0 : _classPrivateFieldGet99.enterInputContext(context);
15529
15536
  }));
15530
15537
  case 1:
15531
15538
  return _context9.a(2, Promise.reject(new Error('input context of name "'.concat(context, '" cannot be enabled at this time'))));
@@ -15541,11 +15548,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15541
15548
  key: "exitInputContext",
15542
15549
  value: (function() {
15543
15550
  var _exitInputContext = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee0(context) {
15544
- var _classPrivateFieldGet99;
15551
+ var _classPrivateFieldGet100;
15545
15552
  return _regenerator().w(function(_context0) {
15546
15553
  while (1) switch (_context0.n) {
15547
15554
  case 0:
15548
- if (!((_classPrivateFieldGet99 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet99 !== void 0 && _classPrivateFieldGet99.exitInputContext)) {
15555
+ if (!((_classPrivateFieldGet100 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet100 !== void 0 && _classPrivateFieldGet100.exitInputContext)) {
15549
15556
  _context0.n = 1;
15550
15557
  break;
15551
15558
  }
@@ -15592,8 +15599,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15592
15599
  while (1) switch (_context10.n) {
15593
15600
  case 0:
15594
15601
  return _context10.a(2, new Promise(function(resolve, reject) {
15595
- var _classPrivateFieldGet100;
15596
- if ((_classPrivateFieldGet100 = _classPrivateFieldGet(_api, _this6)) !== null && _classPrivateFieldGet100 !== void 0 && _classPrivateFieldGet100.plugin && name in _classPrivateFieldGet(_api, _this6).plugin) {
15602
+ var _classPrivateFieldGet101;
15603
+ if ((_classPrivateFieldGet101 = _classPrivateFieldGet(_api, _this6)) !== null && _classPrivateFieldGet101 !== void 0 && _classPrivateFieldGet101.plugin && name in _classPrivateFieldGet(_api, _this6).plugin) {
15597
15604
  resolve(_classPrivateFieldGet(_api, _this6).plugin[name]);
15598
15605
  }
15599
15606
  reject(new Error("plugin ".concat(name, " is not defined")));
@@ -15610,7 +15617,7 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15610
15617
  key: "getRemapTime",
15611
15618
  value: (function() {
15612
15619
  var _getRemapTime = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee11() {
15613
- var _classPrivateFieldGet101, _this7 = this;
15620
+ var _classPrivateFieldGet102, _this7 = this;
15614
15621
  var _t, _t2, _t3;
15615
15622
  return _regenerator().w(function(_context11) {
15616
15623
  while (1) switch (_context11.n) {
@@ -15630,11 +15637,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15630
15637
  });
15631
15638
  return _context11.a(2, _classPrivateFieldGet(_cachedRemapTime, this));
15632
15639
  case 2:
15633
- if (!((_classPrivateFieldGet101 = _classPrivateFieldGet(_cachedRemapTime, this)) !== null && _classPrivateFieldGet101 !== void 0)) {
15640
+ if (!((_classPrivateFieldGet102 = _classPrivateFieldGet(_cachedRemapTime, this)) !== null && _classPrivateFieldGet102 !== void 0)) {
15634
15641
  _context11.n = 3;
15635
15642
  break;
15636
15643
  }
15637
- _classPrivateFieldGet101;
15644
+ _classPrivateFieldGet102;
15638
15645
  _context11.n = 5;
15639
15646
  break;
15640
15647
  case 3:
@@ -15671,11 +15678,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15671
15678
  key: "hideOverlay",
15672
15679
  value: (function() {
15673
15680
  var _hideOverlay = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee12(name) {
15674
- var _classPrivateFieldGet102;
15681
+ var _classPrivateFieldGet103;
15675
15682
  return _regenerator().w(function(_context12) {
15676
15683
  while (1) switch (_context12.n) {
15677
15684
  case 0:
15678
- if (!((_classPrivateFieldGet102 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet102 !== void 0 && _classPrivateFieldGet102.cancelOverlay)) {
15685
+ if (!((_classPrivateFieldGet103 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet103 !== void 0 && _classPrivateFieldGet103.cancelOverlay)) {
15679
15686
  _context12.n = 1;
15680
15687
  break;
15681
15688
  }
@@ -15699,8 +15706,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15699
15706
  while (1) switch (_context13.n) {
15700
15707
  case 0:
15701
15708
  return _context13.a(2, new Promise(function(resolve, reject) {
15702
- var _classPrivateFieldGet103;
15703
- if ((_classPrivateFieldGet103 = _classPrivateFieldGet(_api, _this8)) !== null && _classPrivateFieldGet103 !== void 0 && _classPrivateFieldGet103.popover) {
15709
+ var _classPrivateFieldGet104;
15710
+ if ((_classPrivateFieldGet104 = _classPrivateFieldGet(_api, _this8)) !== null && _classPrivateFieldGet104 !== void 0 && _classPrivateFieldGet104.popover) {
15704
15711
  _classPrivateFieldGet(_api, _this8).popover.hide();
15705
15712
  resolve();
15706
15713
  }
@@ -15717,14 +15724,14 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15717
15724
  }, {
15718
15725
  key: "languagesToLocalizations",
15719
15726
  value: function languagesToLocalizations(languages) {
15720
- var _classPrivateFieldGet104, _classPrivateFieldGet105;
15721
- return (_classPrivateFieldGet104 = (_classPrivateFieldGet105 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet105 === void 0 ? void 0 : _classPrivateFieldGet105.languagesToLocalizations(languages)) !== null && _classPrivateFieldGet104 !== void 0 ? _classPrivateFieldGet104 : [];
15727
+ var _classPrivateFieldGet105, _classPrivateFieldGet106;
15728
+ return (_classPrivateFieldGet105 = (_classPrivateFieldGet106 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet106 === void 0 ? void 0 : _classPrivateFieldGet106.languagesToLocalizations(languages)) !== null && _classPrivateFieldGet105 !== void 0 ? _classPrivateFieldGet105 : [];
15722
15729
  }
15723
15730
  }, {
15724
15731
  key: "languageToLocalization",
15725
15732
  value: function languageToLocalization(language) {
15726
- var _classPrivateFieldGet106, _classPrivateFieldGet107;
15727
- return (_classPrivateFieldGet106 = (_classPrivateFieldGet107 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet107 === void 0 ? void 0 : _classPrivateFieldGet107.languageToLocalization(language)) !== null && _classPrivateFieldGet106 !== void 0 ? _classPrivateFieldGet106 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this);
15733
+ var _classPrivateFieldGet107, _classPrivateFieldGet108;
15734
+ return (_classPrivateFieldGet107 = (_classPrivateFieldGet108 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet108 === void 0 ? void 0 : _classPrivateFieldGet108.languageToLocalization(language)) !== null && _classPrivateFieldGet107 !== void 0 ? _classPrivateFieldGet107 : _assertClassBrand(_WistiaPlayer_brand, this, _defaultLocalization).call(this);
15728
15735
  }
15729
15736
  /**
15730
15737
  * Pauses the video.
@@ -15736,11 +15743,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15736
15743
  key: "pause",
15737
15744
  value: (function() {
15738
15745
  var _pause = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee14() {
15739
- var _classPrivateFieldGet108;
15746
+ var _classPrivateFieldGet109;
15740
15747
  return _regenerator().w(function(_context14) {
15741
15748
  while (1) switch (_context14.n) {
15742
15749
  case 0:
15743
- return _context14.a(2, (_classPrivateFieldGet108 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet108 === void 0 ? void 0 : _classPrivateFieldGet108.pause());
15750
+ return _context14.a(2, (_classPrivateFieldGet109 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet109 === void 0 ? void 0 : _classPrivateFieldGet109.pause());
15744
15751
  }
15745
15752
  }, _callee14, this);
15746
15753
  }));
@@ -15753,11 +15760,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15753
15760
  key: "play",
15754
15761
  value: (function() {
15755
15762
  var _play = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee15() {
15756
- var _classPrivateFieldGet109;
15763
+ var _classPrivateFieldGet110;
15757
15764
  return _regenerator().w(function(_context15) {
15758
15765
  while (1) switch (_context15.n) {
15759
15766
  case 0:
15760
- return _context15.a(2, (_classPrivateFieldGet109 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet109 === void 0 ? void 0 : _classPrivateFieldGet109.play());
15767
+ return _context15.a(2, (_classPrivateFieldGet110 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet110 === void 0 ? void 0 : _classPrivateFieldGet110.play());
15761
15768
  }
15762
15769
  }, _callee15, this);
15763
15770
  }));
@@ -15770,11 +15777,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15770
15777
  key: "releaseControls",
15771
15778
  value: (function() {
15772
15779
  var _releaseControls = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee16(name) {
15773
- var _classPrivateFieldGet110;
15780
+ var _classPrivateFieldGet111;
15774
15781
  return _regenerator().w(function(_context16) {
15775
15782
  while (1) switch (_context16.n) {
15776
15783
  case 0:
15777
- return _context16.a(2, (_classPrivateFieldGet110 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet110 === void 0 ? void 0 : _classPrivateFieldGet110.releaseControls(name));
15784
+ return _context16.a(2, (_classPrivateFieldGet111 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet111 === void 0 ? void 0 : _classPrivateFieldGet111.releaseControls(name));
15778
15785
  }
15779
15786
  }, _callee16, this);
15780
15787
  }));
@@ -15835,7 +15842,7 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15835
15842
  case 0:
15836
15843
  options = _args17.length > 1 && _args17[1] !== void 0 ? _args17[1] : {};
15837
15844
  return _context17.a(2, new Promise(function(resolve, reject) {
15838
- var _classPrivateFieldGet111;
15845
+ var _classPrivateFieldGet112;
15839
15846
  if (!_classPrivateFieldGet(_api, _this0)) {
15840
15847
  reject(new Error("api not ready to replace"));
15841
15848
  }
@@ -15845,7 +15852,7 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15845
15852
  resolve();
15846
15853
  };
15847
15854
  _this0.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.$1, _handleAfterReplace2);
15848
- (_classPrivateFieldGet111 = _classPrivateFieldGet(_api, _this0)) === null || _classPrivateFieldGet111 === void 0 ? void 0 : _classPrivateFieldGet111.replaceWith(mediaId, options);
15855
+ (_classPrivateFieldGet112 = _classPrivateFieldGet(_api, _this0)) === null || _classPrivateFieldGet112 === void 0 ? void 0 : _classPrivateFieldGet112.replaceWith(mediaId, options);
15849
15856
  }));
15850
15857
  }
15851
15858
  }, _callee17);
@@ -15859,11 +15866,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15859
15866
  key: "requestControls",
15860
15867
  value: (function() {
15861
15868
  var _requestControls = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee18(name) {
15862
- var _classPrivateFieldGet112;
15869
+ var _classPrivateFieldGet113;
15863
15870
  return _regenerator().w(function(_context18) {
15864
15871
  while (1) switch (_context18.n) {
15865
15872
  case 0:
15866
- return _context18.a(2, (_classPrivateFieldGet112 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet112 === void 0 ? void 0 : _classPrivateFieldGet112.requestControls(name));
15873
+ return _context18.a(2, (_classPrivateFieldGet113 = _classPrivateFieldGet(_impl, this)) === null || _classPrivateFieldGet113 === void 0 ? void 0 : _classPrivateFieldGet113.requestControls(name));
15867
15874
  }
15868
15875
  }, _callee18, this);
15869
15876
  }));
@@ -15876,11 +15883,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15876
15883
  key: "requestFullscreen",
15877
15884
  value: (function() {
15878
15885
  var _requestFullscreen = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee19() {
15879
- var _classPrivateFieldGet113;
15886
+ var _classPrivateFieldGet114;
15880
15887
  return _regenerator().w(function(_context19) {
15881
15888
  while (1) switch (_context19.n) {
15882
15889
  case 0:
15883
- if (!((_classPrivateFieldGet113 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet113 !== void 0 && _classPrivateFieldGet113.requestFullscreen)) {
15890
+ if (!((_classPrivateFieldGet114 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet114 !== void 0 && _classPrivateFieldGet114.requestFullscreen)) {
15884
15891
  _context19.n = 1;
15885
15892
  break;
15886
15893
  }
@@ -15899,11 +15906,11 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15899
15906
  key: "showOverlay",
15900
15907
  value: (function() {
15901
15908
  var _showOverlay = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee20(name) {
15902
- var _classPrivateFieldGet114;
15909
+ var _classPrivateFieldGet115;
15903
15910
  return _regenerator().w(function(_context20) {
15904
15911
  while (1) switch (_context20.n) {
15905
15912
  case 0:
15906
- if (!((_classPrivateFieldGet114 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet114 !== void 0 && _classPrivateFieldGet114.requestOverlay)) {
15913
+ if (!((_classPrivateFieldGet115 = _classPrivateFieldGet(_impl, this)) !== null && _classPrivateFieldGet115 !== void 0 && _classPrivateFieldGet115.requestOverlay)) {
15907
15914
  _context20.n = 1;
15908
15915
  break;
15909
15916
  }
@@ -15927,8 +15934,8 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
15927
15934
  while (1) switch (_context21.n) {
15928
15935
  case 0:
15929
15936
  return _context21.a(2, new Promise(function(resolve, reject) {
15930
- var _classPrivateFieldGet115;
15931
- if ((_classPrivateFieldGet115 = _classPrivateFieldGet(_api, _this1)) !== null && _classPrivateFieldGet115 !== void 0 && _classPrivateFieldGet115.popover) {
15937
+ var _classPrivateFieldGet116;
15938
+ if ((_classPrivateFieldGet116 = _classPrivateFieldGet(_api, _this1)) !== null && _classPrivateFieldGet116 !== void 0 && _classPrivateFieldGet116.popover) {
15932
15939
  _classPrivateFieldGet(_api, _this1).popover.show();
15933
15940
  resolve();
15934
15941
  }
@@ -16152,7 +16159,7 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
16152
16159
  }, {
16153
16160
  key: "disconnectedCallback",
16154
16161
  value: function disconnectedCallback() {
16155
- var _classPrivateFieldGet116, _classPrivateFieldGet117, _this$shadowRoot;
16162
+ var _classPrivateFieldGet117, _classPrivateFieldGet118, _this$shadowRoot;
16156
16163
  _classPrivateFieldGet(_removeEventListeners, this).forEach(function(removeListener) {
16157
16164
  return removeListener();
16158
16165
  });
@@ -16160,10 +16167,10 @@ var WistiaPlayer = /* @__PURE__ */ (function(_HTMLElement) {
16160
16167
  _classPrivateFieldSet(_eventListeners, this, {});
16161
16168
  (0, _utilities_injectJsonLd_js__WEBPACK_IMPORTED_MODULE_31__.Z)(_classPrivateFieldGet(_jsonLdId, this));
16162
16169
  (0, _utilities_remote_data_cache_ts__WEBPACK_IMPORTED_MODULE_34__.s3)(this.mediaId);
16163
- (_classPrivateFieldGet116 = _classPrivateFieldGet(_resizeObserver, this)) === null || _classPrivateFieldGet116 === void 0 ? void 0 : _classPrivateFieldGet116.disconnect();
16170
+ (_classPrivateFieldGet117 = _classPrivateFieldGet(_resizeObserver, this)) === null || _classPrivateFieldGet117 === void 0 ? void 0 : _classPrivateFieldGet117.disconnect();
16164
16171
  _classPrivateFieldSet(_resizeObserver, this, null);
16165
16172
  (0, _utilities_embedOptionStore_ts__WEBPACK_IMPORTED_MODULE_13__.iU)("__".concat(this.uniqueId, "_dom_options__"));
16166
- (_classPrivateFieldGet117 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet117 === void 0 ? void 0 : _classPrivateFieldGet117.remove();
16173
+ (_classPrivateFieldGet118 = _classPrivateFieldGet(_api, this)) === null || _classPrivateFieldGet118 === void 0 ? void 0 : _classPrivateFieldGet118.remove();
16167
16174
  _classPrivateFieldSet(_api, this, null);
16168
16175
  (_this$shadowRoot = this.shadowRoot) === null || _this$shadowRoot === void 0 ? void 0 : _this$shadowRoot.replaceChildren();
16169
16176
  _classPrivateFieldSet(_preactRoot, this, null);
@@ -16210,11 +16217,11 @@ function _deferMediaDataFetchingToCarouselEmbed() {
16210
16217
  return !!document.querySelector('wistia-channel-carousel[player-dom-id="'.concat(this.id, '"]:not([is-inside-playlist-embed="true"][channel-id])'));
16211
16218
  }
16212
16219
  function _findLocalizationByLanguage(language) {
16213
- var _classPrivateFieldGet118;
16220
+ var _classPrivateFieldGet119;
16214
16221
  if (language == null) {
16215
16222
  return void 0;
16216
16223
  }
16217
- return (_classPrivateFieldGet118 = _classPrivateFieldGet(_playerData, this).mediaData.localizations) === null || _classPrivateFieldGet118 === void 0 ? void 0 : _classPrivateFieldGet118.find(function(localization) {
16224
+ return (_classPrivateFieldGet119 = _classPrivateFieldGet(_playerData, this).mediaData.localizations) === null || _classPrivateFieldGet119 === void 0 ? void 0 : _classPrivateFieldGet119.find(function(localization) {
16218
16225
  return localization.wistiaLanguageCode === language || localization.bcp47LanguageTag === language;
16219
16226
  });
16220
16227
  }
@@ -16259,8 +16266,8 @@ function _initPlayerEmbed(_ref21) {
16259
16266
  _assertClassBrand(_WistiaPlayer_brand, this, _maybeInjectJsonLd).call(this);
16260
16267
  }
16261
16268
  if ("attachInternals" in HTMLElement.prototype && "states" in ElementInternals.prototype) {
16262
- var _classPrivateFieldGet119;
16263
- (_classPrivateFieldGet119 = _classPrivateFieldGet(_internals, this)) === null || _classPrivateFieldGet119 === void 0 ? void 0 : _classPrivateFieldGet119.states.delete("--initializing");
16269
+ var _classPrivateFieldGet120;
16270
+ (_classPrivateFieldGet120 = _classPrivateFieldGet(_internals, this)) === null || _classPrivateFieldGet120 === void 0 ? void 0 : _classPrivateFieldGet120.states.delete("--initializing");
16264
16271
  }
16265
16272
  void _assertClassBrand(_WistiaPlayer_brand, this, _initPublicApi).call(this, this.mediaId, {
16266
16273
  container,
@@ -16306,10 +16313,10 @@ function _initPublicApi2() {
16306
16313
  _this19.removeEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.$1, _classPrivateFieldGet(_handleAfterReplace, _this19));
16307
16314
  });
16308
16315
  _classPrivateFieldGet(_api, this).ready(function() {
16309
- var _classPrivateFieldGet126, _classPrivateFieldGet127;
16310
- (_classPrivateFieldGet126 = _classPrivateFieldGet(_resizeObserver, _this19)) === null || _classPrivateFieldGet126 === void 0 ? void 0 : _classPrivateFieldGet126.disconnect();
16316
+ var _classPrivateFieldGet127, _classPrivateFieldGet128;
16317
+ (_classPrivateFieldGet127 = _classPrivateFieldGet(_resizeObserver, _this19)) === null || _classPrivateFieldGet127 === void 0 ? void 0 : _classPrivateFieldGet127.disconnect();
16311
16318
  _classPrivateFieldSet(_resizeObserver, _this19, null);
16312
- (_classPrivateFieldGet127 = _classPrivateFieldGet(_preloadThumbnailRoot, _this19)) === null || _classPrivateFieldGet127 === void 0 ? void 0 : _classPrivateFieldGet127.remove();
16319
+ (_classPrivateFieldGet128 = _classPrivateFieldGet(_preloadThumbnailRoot, _this19)) === null || _classPrivateFieldGet128 === void 0 ? void 0 : _classPrivateFieldGet128.remove();
16313
16320
  _this19.removeEventListener("click", _classPrivateFieldGet(_handlePreloadThumbnailClick, _this19));
16314
16321
  _this19.dispatchEvent(new CustomEvent(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.c5, {
16315
16322
  detail: {
@@ -16347,9 +16354,9 @@ function _maybeInitializeMux() {
16347
16354
  function _maybeInitializeMux2() {
16348
16355
  _maybeInitializeMux2 = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee28() {
16349
16356
  var _this20 = this;
16350
- var shouldRandomEnableMux, shouldEnableMuxForPlayer, embedType, mux;
16357
+ var shouldRandomEnableMux, shouldEnableMuxForPlayer, embedType, mux, _t4;
16351
16358
  return _regenerator().w(function(_context28) {
16352
- while (1) switch (_context28.n) {
16359
+ while (1) switch (_context28.p = _context28.n) {
16353
16360
  case 0:
16354
16361
  if (_classPrivateFieldGet(_api, this)) {
16355
16362
  _context28.n = 1;
@@ -16361,27 +16368,34 @@ function _maybeInitializeMux2() {
16361
16368
  shouldEnableMuxForPlayer = (0, _utilities_shouldEnableMux_ts__WEBPACK_IMPORTED_MODULE_23__.J)(_classPrivateFieldGet(_api, this), shouldRandomEnableMux) && (0, _utilities_trackingConsentApi_js__WEBPACK_IMPORTED_MODULE_25__.D5)();
16362
16369
  embedType = this.useWebComponent ? "translated-web-component" : "web-component";
16363
16370
  if (!shouldEnableMuxForPlayer) {
16364
- _context28.n = 3;
16371
+ _context28.n = 6;
16365
16372
  break;
16366
16373
  }
16367
- _context28.n = 2;
16374
+ _context28.p = 2;
16375
+ _context28.n = 3;
16368
16376
  return (0, _utilities_dynamicImport_ts__WEBPACK_IMPORTED_MODULE_12__.$)("assets/external/wistia-mux.js");
16369
- case 2:
16377
+ case 3:
16370
16378
  mux = _context28.v;
16371
16379
  mux.init(_classPrivateFieldGet(_api, this), {
16372
16380
  embedType
16373
16381
  });
16382
+ _context28.n = 5;
16383
+ break;
16384
+ case 4:
16385
+ _context28.p = 4;
16386
+ _t4 = _context28.v;
16387
+ case 5:
16374
16388
  this.addEventListener("visitor-tracking-change", function(event) {
16375
16389
  var isTrackingEnabled = event.detail.isTrackingEnabled;
16376
16390
  if (!isTrackingEnabled) {
16377
- var _classPrivateFieldGet129, _classPrivateFieldGet130;
16378
- (_classPrivateFieldGet129 = _classPrivateFieldGet(_api, _this20)) === null || _classPrivateFieldGet129 === void 0 ? void 0 : (_classPrivateFieldGet130 = _classPrivateFieldGet129.mux) === null || _classPrivateFieldGet130 === void 0 ? void 0 : _classPrivateFieldGet130.destroy();
16391
+ var _classPrivateFieldGet130, _classPrivateFieldGet131;
16392
+ (_classPrivateFieldGet130 = _classPrivateFieldGet(_api, _this20)) === null || _classPrivateFieldGet130 === void 0 ? void 0 : (_classPrivateFieldGet131 = _classPrivateFieldGet130.mux) === null || _classPrivateFieldGet131 === void 0 ? void 0 : _classPrivateFieldGet131.destroy();
16379
16393
  }
16380
16394
  });
16381
- case 3:
16395
+ case 6:
16382
16396
  return _context28.a(2);
16383
16397
  }
16384
- }, _callee28, this);
16398
+ }, _callee28, this, [[2, 4]]);
16385
16399
  }));
16386
16400
  return _maybeInitializeMux2.apply(this, arguments);
16387
16401
  }
@@ -16479,8 +16493,8 @@ function _renderPreloadThumbnail() {
16479
16493
  if (!_classPrivateFieldGet(_preloadThumbnailRoot, this)) {
16480
16494
  return;
16481
16495
  }
16482
- var _classPrivateFieldGet120 = _classPrivateFieldGet(_playerData, this).mediaData, assets = _classPrivateFieldGet120.assets, mediaType = _classPrivateFieldGet120.mediaType, carouselHardWall = _classPrivateFieldGet120.carouselHardWall;
16483
- var _classPrivateFieldGet121 = _classPrivateFieldGet(_playerData, this).embedOptions, autoPlay = _classPrivateFieldGet121.autoPlay, plugin = _classPrivateFieldGet121.plugin;
16496
+ var _classPrivateFieldGet121 = _classPrivateFieldGet(_playerData, this).mediaData, assets = _classPrivateFieldGet121.assets, mediaType = _classPrivateFieldGet121.mediaType, carouselHardWall = _classPrivateFieldGet121.carouselHardWall;
16497
+ var _classPrivateFieldGet122 = _classPrivateFieldGet(_playerData, this).embedOptions, autoPlay = _classPrivateFieldGet122.autoPlay, plugin = _classPrivateFieldGet122.plugin;
16484
16498
  if (carouselHardWall) {
16485
16499
  return;
16486
16500
  }
@@ -16516,12 +16530,12 @@ function _runMethodsFromAttributes() {
16516
16530
  var _this14 = this;
16517
16531
  if (_assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "current-time") !== null) {
16518
16532
  this.whenApiReady().then(function() {
16519
- var _ref23, _classPrivateFieldGet122, _classPrivateFieldGet123;
16533
+ var _ref23, _classPrivateFieldGet123, _classPrivateFieldGet124;
16520
16534
  var newTime = Number(_assertClassBrand(_WistiaPlayer_brand, _this14, _getValueFromAttribute).call(_this14, "current-time"));
16521
- var isClosedPopover = (_ref23 = ((_classPrivateFieldGet122 = _classPrivateFieldGet(_api, _this14)) === null || _classPrivateFieldGet122 === void 0 ? void 0 : _classPrivateFieldGet122.popover) && !_classPrivateFieldGet(_api, _this14).popover.isVisible()) !== null && _ref23 !== void 0 ? _ref23 : false;
16535
+ var isClosedPopover = (_ref23 = ((_classPrivateFieldGet123 = _classPrivateFieldGet(_api, _this14)) === null || _classPrivateFieldGet123 === void 0 ? void 0 : _classPrivateFieldGet123.popover) && !_classPrivateFieldGet(_api, _this14).popover.isVisible()) !== null && _ref23 !== void 0 ? _ref23 : false;
16522
16536
  var isMobile = (0, _utilities_detect_js__WEBPACK_IMPORTED_MODULE_11__.GS)();
16523
16537
  var shouldDelayUntilPlay = _this14.state !== "playing" && (isMobile || isClosedPopover);
16524
- void ((_classPrivateFieldGet123 = _classPrivateFieldGet(_impl, _this14)) === null || _classPrivateFieldGet123 === void 0 ? void 0 : _classPrivateFieldGet123.time(newTime, {
16538
+ void ((_classPrivateFieldGet124 = _classPrivateFieldGet(_impl, _this14)) === null || _classPrivateFieldGet124 === void 0 ? void 0 : _classPrivateFieldGet124.time(newTime, {
16525
16539
  lazy: shouldDelayUntilPlay
16526
16540
  }));
16527
16541
  _assertClassBrand(_WistiaPlayer_brand, _this14, _setSyncedEmbedOption).call(_this14, "currentTime", newTime);
@@ -16533,9 +16547,9 @@ function _runMethodsFromAttributes() {
16533
16547
  }
16534
16548
  if (_assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "video-quality") !== null) {
16535
16549
  this.whenApiReady().then(function() {
16536
- var _classPrivateFieldGet124;
16550
+ var _classPrivateFieldGet125;
16537
16551
  var newQuality = _assertClassBrand(_WistiaPlayer_brand, _this14, _getValueFromAttribute).call(_this14, "video-quality");
16538
- (_classPrivateFieldGet124 = _classPrivateFieldGet(_impl, _this14)) === null || _classPrivateFieldGet124 === void 0 ? void 0 : _classPrivateFieldGet124.setVideoQuality(newQuality);
16552
+ (_classPrivateFieldGet125 = _classPrivateFieldGet(_impl, _this14)) === null || _classPrivateFieldGet125 === void 0 ? void 0 : _classPrivateFieldGet125.setVideoQuality(newQuality);
16539
16553
  _assertClassBrand(_WistiaPlayer_brand, _this14, _setSyncedEmbedOption).call(_this14, "videoQuality", newQuality);
16540
16554
  }).catch(function(_error) {
16541
16555
  });