@pendo/agent 2.300.0 → 2.301.0
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 +50 -4
- package/dist/pendo.module.js +243 -66
- package/dist/pendo.module.min.js +10 -10
- package/dist/servers.json +7 -7
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -2546,6 +2546,7 @@ var sizzle = {exports: {}};
|
|
|
2546
2546
|
tokenCache = createCache(),
|
|
2547
2547
|
compilerCache = createCache(),
|
|
2548
2548
|
nonnativeSelectorCache = createCache(),
|
|
2549
|
+
nativeishSelectorCache = createCache(),
|
|
2549
2550
|
sortOrder = function( a, b ) {
|
|
2550
2551
|
if ( a === b ) {
|
|
2551
2552
|
hasDuplicate = true;
|
|
@@ -2739,6 +2740,46 @@ var sizzle = {exports: {}};
|
|
|
2739
2740
|
};
|
|
2740
2741
|
}
|
|
2741
2742
|
|
|
2743
|
+
function isContains(token) {
|
|
2744
|
+
return token.type === 'PSEUDO' && token.matches.length && token.matches[0].replace(rtrim, "$1").toLowerCase() === 'contains';
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
function filterTokens(tokens, predicate) {
|
|
2748
|
+
if (tokens[0].length) {
|
|
2749
|
+
return tokens.map(function(innerTokens) {
|
|
2750
|
+
return filterTokens(innerTokens, predicate);
|
|
2751
|
+
});
|
|
2752
|
+
} else {
|
|
2753
|
+
return tokens.filter(predicate);
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
function tokensToSelector(tokens) {
|
|
2758
|
+
if (tokens[0].length) {
|
|
2759
|
+
return tokens.map(tokensToSelector).join(',');
|
|
2760
|
+
} else {
|
|
2761
|
+
return toSelector(tokens);
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
function findSeedForNonNativeSelector(selector, context, selectorCache) {
|
|
2766
|
+
var hopefullyNativeSelector = selectorCache[ selector + " " ];
|
|
2767
|
+
if (!hopefullyNativeSelector) {
|
|
2768
|
+
var nonnativeTokens = tokenize(selector);
|
|
2769
|
+
var hopefullyNativeTokens = filterTokens(nonnativeTokens, function(token) {
|
|
2770
|
+
return !isContains(token);
|
|
2771
|
+
});
|
|
2772
|
+
hopefullyNativeSelector = tokensToSelector(hopefullyNativeTokens);
|
|
2773
|
+
}
|
|
2774
|
+
try {
|
|
2775
|
+
var seed = [];
|
|
2776
|
+
push.apply(seed, context.querySelectorAll(hopefullyNativeSelector));
|
|
2777
|
+
selectorCache(selector, hopefullyNativeSelector);
|
|
2778
|
+
return seed;
|
|
2779
|
+
} catch (e) {
|
|
2780
|
+
}
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2742
2783
|
function Sizzle( selector, context, results, seed ) {
|
|
2743
2784
|
var m, i, elem, nid, match, groups, newSelector,
|
|
2744
2785
|
newContext = context && context.ownerDocument,
|
|
@@ -2815,7 +2856,7 @@ var sizzle = {exports: {}};
|
|
|
2815
2856
|
|
|
2816
2857
|
// Take advantage of querySelectorAll
|
|
2817
2858
|
if ( support.qsa &&
|
|
2818
|
-
!nonnativeSelectorCache[ selector + " " ] &&
|
|
2859
|
+
(!nonnativeSelectorCache[ selector + " " ] || nativeishSelectorCache[ selector + " " ]) &&
|
|
2819
2860
|
( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&
|
|
2820
2861
|
|
|
2821
2862
|
// Support: IE 8 only
|
|
@@ -2873,6 +2914,10 @@ var sizzle = {exports: {}};
|
|
|
2873
2914
|
context.removeAttribute( "id" );
|
|
2874
2915
|
}
|
|
2875
2916
|
}
|
|
2917
|
+
|
|
2918
|
+
if (!seed && nonnativeSelectorCache[ selector + " " ]) {
|
|
2919
|
+
seed = findSeedForNonNativeSelector(selector, newContext, nativeishSelectorCache);
|
|
2920
|
+
}
|
|
2876
2921
|
}
|
|
2877
2922
|
}
|
|
2878
2923
|
}
|
|
@@ -5258,7 +5303,7 @@ _.extend(DomData.prototype, {
|
|
|
5258
5303
|
var DomData$1 = new DomData();
|
|
5259
5304
|
|
|
5260
5305
|
function hasComposedPath(evt) {
|
|
5261
|
-
return evt &&
|
|
5306
|
+
return evt && typeof evt.composedPath === 'function';
|
|
5262
5307
|
}
|
|
5263
5308
|
function getComposedPath(evt) {
|
|
5264
5309
|
if (hasComposedPath(evt)) {
|
|
@@ -6903,7 +6948,6 @@ var ConfigReader = (function () {
|
|
|
6903
6948
|
addOption('formValidation', [PENDO_CONFIG_SRC], false);
|
|
6904
6949
|
// Performance Metrics
|
|
6905
6950
|
addOption('performanceMetricsEnabled', [SNIPPET_SRC, PENDO_CONFIG_SRC], true);
|
|
6906
|
-
addOption('sendPerformanceMetrics', [SNIPPET_SRC, PENDO_CONFIG_SRC], false);
|
|
6907
6951
|
}
|
|
6908
6952
|
initializeOptions();
|
|
6909
6953
|
var sourceGetters = {};
|
|
@@ -7315,7 +7359,7 @@ function getScreenPosition(element) {
|
|
|
7315
7359
|
};
|
|
7316
7360
|
}
|
|
7317
7361
|
|
|
7318
|
-
var VERSION = '2.
|
|
7362
|
+
var VERSION = '2.301.0_';
|
|
7319
7363
|
|
|
7320
7364
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7321
7365
|
|
|
@@ -8169,6 +8213,8 @@ Eventable.clear = function (events) {
|
|
|
8169
8213
|
new EventType('sessionChanged', [LIFECYCLE]),
|
|
8170
8214
|
new EventType('ptm:unpaused', [LIFECYCLE]),
|
|
8171
8215
|
new EventType('ptm:paused', [LIFECYCLE]),
|
|
8216
|
+
new EventType('recording:unpaused', [LIFECYCLE]),
|
|
8217
|
+
new EventType('recording:paused', [LIFECYCLE]),
|
|
8172
8218
|
new EventType('childFrameJoined', [FRAMES]),
|
|
8173
8219
|
new EventType('tabIdChanged:self', [DEBUG, LIFECYCLE])
|
|
8174
8220
|
];
|