@pendo/agent 2.336.0 → 2.336.2

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/dom.esm.js CHANGED
@@ -7531,7 +7531,7 @@ function applyMatrix2dRect(matrix2d, rect) {
7531
7531
  return transformedRect;
7532
7532
  }
7533
7533
 
7534
- var VERSION = '2.336.0_';
7534
+ var VERSION = '2.336.2_';
7535
7535
 
7536
7536
  var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
7537
7537
 
@@ -4029,8 +4029,8 @@ let SERVER = '';
4029
4029
  let ASSET_HOST = '';
4030
4030
  let ASSET_PATH = '';
4031
4031
  let DESIGNER_SERVER = '';
4032
- let VERSION = '2.336.0_';
4033
- let PACKAGE_VERSION = '2.336.0';
4032
+ let VERSION = '2.336.2_';
4033
+ let PACKAGE_VERSION = '2.336.2';
4034
4034
  let LOADER = 'xhr';
4035
4035
  /* eslint-enable web-sdk-eslint-rules/no-gulp-env-references */
4036
4036
  /**
@@ -30287,7 +30287,9 @@ var BuildingBlockGuides = (function () {
30287
30287
  _.each(siblings, (s) => {
30288
30288
  const tagName = s.tagName.toLowerCase();
30289
30289
  const alreadyDisabled = s.getAttribute('inert') === 'true';
30290
- const isExcluded = _.some(excludeElements, (excluded) => excluded && (s === excluded || s.contains(excluded)));
30290
+ // native contains() can't see into shadow trees, so excluded elements inside a
30291
+ // shadow root (e.g. blockOut target areas) need the shadow-aware walk
30292
+ const isExcluded = _.some(excludeElements, (excluded) => excluded && (s === excluded || contains(s, excluded)));
30291
30293
  if (hidden.indexOf(s) === -1 && !alreadyDisabled && !isExcluded && tagName !== 'script' && tagName !== 'style') {
30292
30294
  s.setAttribute('inert', 'true');
30293
30295
  hidden.push(s);