@wistia/wistia-player 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.
- package/dist/wistia-player.js +19 -3
- package/dist/wistia-player.js.map +1 -1
- package/package.json +1 -1
package/dist/wistia-player.js
CHANGED
|
@@ -7329,8 +7329,8 @@ var PROD_EMBED_HOST = 'embed.wistia.com';
|
|
|
7329
7329
|
var PROD_SSL_EMBED_HOST = 'embed-ssl.wistia.com';
|
|
7330
7330
|
var PROD_FASTLY_SSL_HOST = 'embed-fastly.wistia.com';
|
|
7331
7331
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
7332
|
-
var TAGGED_VERSION = "0.7.
|
|
7333
|
-
var CURRENT_SHA = "
|
|
7332
|
+
var TAGGED_VERSION = "0.7.7" || 0;
|
|
7333
|
+
var CURRENT_SHA = "9f6c420231029221f879ca511ea7707fc059dc81" || 0;
|
|
7334
7334
|
var DEFAULT_PROTOCOL = function () {
|
|
7335
7335
|
if (typeof window !== 'undefined' && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location) {
|
|
7336
7336
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location.protocol;
|
|
@@ -9711,7 +9711,7 @@ var setViewerPreference = function setViewerPreference(preference, value) {
|
|
|
9711
9711
|
/* harmony export */ cG: () => (/* binding */ elemWidth),
|
|
9712
9712
|
/* harmony export */ lj: () => (/* binding */ elemInDom)
|
|
9713
9713
|
/* harmony export */ });
|
|
9714
|
-
/* unused harmony exports elemHtml, getCssTags, execCssTags, removeCssTags, elemFromObject, elemToObject, elemClone, elemAppend, elemPrepend, elemBefore, elemAfter, elemRemove, elemRemoveClass, elemAddClass, elemHasClass, elemClasses, elemStyle, propsWithVendorPrefixes, getComputedStyle, elemHeight, elemContainsOffset, elemScrollOffset, elemIsHidden, elemIsDescendantOf, elemAncestorWithClass, elemAncestorHasClass, elemAncestors, elemIsInside, elemAnimate, elemBind, elemUnbind, elemUnbindAll, elemUnbindAllInside, elemBindKey, elemRebind, elemBindOnce, elemTrigger, fullscreenElement, elemRequestFullscreen, elemCancelFullscreen, elemStripEventAttributes, elemMutationObserver, docScrollTop, docScrollLeft, safeRequestAnimationFrame, formInputIsFocused, currentEventSource, inUserEventContext, getLastActiveEventAt */
|
|
9714
|
+
/* unused harmony exports elemHtml, getCssTags, execCssTags, removeCssTags, elemFromObject, elemToObject, elemClone, elemAppend, elemPrepend, elemBefore, elemAfter, elemRemove, elemRemoveClass, elemAddClass, elemHasClass, elemClasses, elemStyle, propsWithVendorPrefixes, getComputedStyle, elemHeight, elemContainsOffset, elemScrollOffset, elemIsHidden, getDeepActiveElement, elemIsDescendantOf, elemAncestorWithClass, elemAncestorHasClass, elemAncestors, elemIsInside, elemAnimate, elemBind, elemUnbind, elemUnbindAll, elemUnbindAllInside, elemBindKey, elemRebind, elemBindOnce, elemTrigger, fullscreenElement, elemRequestFullscreen, elemCancelFullscreen, elemStripEventAttributes, elemMutationObserver, docScrollTop, docScrollLeft, safeRequestAnimationFrame, formInputIsFocused, currentEventSource, inUserEventContext, getLastActiveEventAt */
|
|
9715
9715
|
/* harmony import */ var utilities_obj_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(731);
|
|
9716
9716
|
/* harmony import */ var utilities_pageLoaded_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9562);
|
|
9717
9717
|
/* harmony import */ var utilities_detect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7231);
|
|
@@ -10252,6 +10252,22 @@ var elemInDom = function elemInDom(elem) {
|
|
|
10252
10252
|
}
|
|
10253
10253
|
return false;
|
|
10254
10254
|
};
|
|
10255
|
+
|
|
10256
|
+
// Returns the truly focused element, descending through any number of nested
|
|
10257
|
+
// shadow roots. document.activeElement only reports the active element within
|
|
10258
|
+
// its own tree scope; when focus lives inside a (possibly nested) shadow DOM —
|
|
10259
|
+
// e.g. a <wistia-player> nested inside another web component — it reports the
|
|
10260
|
+
// outermost host. Walking activeElement through each shadowRoot gives us the
|
|
10261
|
+
// real leaf element so containment checks work regardless of nesting depth.
|
|
10262
|
+
var getDeepActiveElement = function getDeepActiveElement() {
|
|
10263
|
+
var root = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;
|
|
10264
|
+
var active = root.activeElement;
|
|
10265
|
+
while ((_active = active) !== null && _active !== void 0 && (_active$shadowRoot = _active.shadowRoot) !== null && _active$shadowRoot !== void 0 && _active$shadowRoot.activeElement) {
|
|
10266
|
+
var _active, _active$shadowRoot;
|
|
10267
|
+
active = active.shadowRoot.activeElement;
|
|
10268
|
+
}
|
|
10269
|
+
return active;
|
|
10270
|
+
};
|
|
10255
10271
|
var elemIsDescendantOf = function elemIsDescendantOf(elem, target) {
|
|
10256
10272
|
var ancestors = elemAncestors(elem);
|
|
10257
10273
|
for (var i = 0; i < ancestors.length; i++) {
|