@wistia/wistia-player-react 0.7.6 → 0.7.7

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.
@@ -9198,8 +9198,8 @@ var init_wistia_player = __esm({
9198
9198
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
9199
9199
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
9200
9200
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9201
- var TAGGED_VERSION = "0.7.6";
9202
- var CURRENT_SHA = "d17a7f2fb96b0add1ebf115f18abea8875108342";
9201
+ var TAGGED_VERSION = "0.7.7";
9202
+ var CURRENT_SHA = "9f6c420231029221f879ca511ea7707fc059dc81";
9203
9203
  var DEFAULT_PROTOCOL = (function() {
9204
9204
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
9205
9205
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -11985,6 +11985,15 @@ var init_wistia_player = __esm({
11985
11985
  }
11986
11986
  return false;
11987
11987
  };
11988
+ var getDeepActiveElement = function getDeepActiveElement2() {
11989
+ var root2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
11990
+ var active = root2.activeElement;
11991
+ while ((_active = active) !== null && _active !== void 0 && (_active$shadowRoot = _active.shadowRoot) !== null && _active$shadowRoot !== void 0 && _active$shadowRoot.activeElement) {
11992
+ var _active, _active$shadowRoot;
11993
+ active = active.shadowRoot.activeElement;
11994
+ }
11995
+ return active;
11996
+ };
11988
11997
  var elemIsDescendantOf = function elemIsDescendantOf2(elem, target) {
11989
11998
  var ancestors = elemAncestors(elem);
11990
11999
  for (var i2 = 0; i2 < ancestors.length; i2++) {
@@ -8,7 +8,7 @@ import {
8
8
  import { forwardRef, Suspense, lazy, Fragment } from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  var WistiaPlayerWrapper = lazy(
11
- async () => import("./WistiaPlayerWrapper-2OUTDKXW.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-SL2YPEYP.mjs").then((module) => ({
12
12
  default: module.WistiaPlayerWrapper
13
13
  }))
14
14
  );
@@ -37,7 +37,7 @@ var WistiaPlayerWrapper = forwardRef(
37
37
  setSwatchAspectRatio(ratio);
38
38
  });
39
39
  }
40
- void import("./wistia-player-CXLJ2JGZ.mjs");
40
+ void import("./wistia-player-NAVCQN2P.mjs");
41
41
  void customElements.whenDefined("wistia-player").then(() => {
42
42
  setIsWistiaPlayerDefined(true);
43
43
  });
@@ -8296,8 +8296,8 @@ var __webpack_modules__ = {
8296
8296
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8297
8297
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8298
8298
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8299
- var TAGGED_VERSION = "0.7.6";
8300
- var CURRENT_SHA = "d17a7f2fb96b0add1ebf115f18abea8875108342";
8299
+ var TAGGED_VERSION = "0.7.7";
8300
+ var CURRENT_SHA = "9f6c420231029221f879ca511ea7707fc059dc81";
8301
8301
  var DEFAULT_PROTOCOL = (function() {
8302
8302
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8303
8303
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -11083,6 +11083,15 @@ var __webpack_modules__ = {
11083
11083
  }
11084
11084
  return false;
11085
11085
  };
11086
+ var getDeepActiveElement = function getDeepActiveElement2() {
11087
+ var root2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
11088
+ var active = root2.activeElement;
11089
+ while ((_active = active) !== null && _active !== void 0 && (_active$shadowRoot = _active.shadowRoot) !== null && _active$shadowRoot !== void 0 && _active$shadowRoot.activeElement) {
11090
+ var _active, _active$shadowRoot;
11091
+ active = active.shadowRoot.activeElement;
11092
+ }
11093
+ return active;
11094
+ };
11086
11095
  var elemIsDescendantOf = function elemIsDescendantOf2(elem, target) {
11087
11096
  var ancestors = elemAncestors(elem);
11088
11097
  for (var i2 = 0; i2 < ancestors.length; i2++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/wistia-player-react",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "packageManager": "yarn@4.13.0",
5
5
  "description": "An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@wistia/type-guards": "^0.9.3",
49
- "@wistia/wistia-player": "0.7.6"
49
+ "@wistia/wistia-player": "0.7.7"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",