Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@snowplow/browser-tracker

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snowplow/browser-tracker - npm Package Compare versions

Comparing version 3.13.0 to 3.13.1-dev.0

4

dist/index.module.d.ts
import { TrackerConfiguration, BrowserTracker, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, AnonymousTrackingOptions, FlushBufferConfiguration, PageViewEvent, ClearUserDataConfiguration } from '@snowplow/browser-tracker-core';
import { version, CommonEventProperties, ConditionalContextProvider, ContextPrimitive, ContextGenerator, FilterProvider, RuleSetProvider, SelfDescribingEvent, SelfDescribingJson, StructuredEvent, ContextEvent, ContextFilter, RuleSet } from '@snowplow/tracker-core';
import { version, CommonEventProperties, ConditionalContextProvider, ContextPrimitive, ContextGenerator, FilterProvider, RuleSetProvider, SelfDescribingEvent, SelfDescribingJson, StructuredEvent, ContextEvent, ContextFilter, RuleSet, Scenario } from '@snowplow/tracker-core';
/**

@@ -241,2 +241,2 @@ * Initialise a new tracker

declare function addPlugin(configuration: BrowserPluginConfiguration, trackers?: Array<string>): void;
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, version, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, FlushBufferConfiguration, PageViewEvent, EnableAnonymousTrackingConfiguration, DisableAnonymousTrackingConfiguration, AnonymousTrackingOptions, ClearUserDataConfiguration, ConditionalContextProvider, ContextPrimitive, SelfDescribingEvent, SelfDescribingJson, CommonEventProperties, StructuredEvent, ContextGenerator, FilterProvider, RuleSetProvider, ContextEvent, ContextFilter, RuleSet, newSession, setReferrerUrl, setCustomUrl, setDocumentTitle, discardHashTag, discardBrace, setCookiePath, setVisitorCookieTimeout, crossDomainLinker, enableActivityTracking, enableActivityTrackingCallback, updatePageActivity, setOptOutCookie, setUserId, setUserIdFromLocation, setUserIdFromReferrer, setUserIdFromCookie, setCollectorUrl, setBufferSize, flushBuffer, trackPageView, trackStructEvent, trackSelfDescribingEvent, addGlobalContexts, removeGlobalContexts, clearGlobalContexts, preservePageViewId, disableAnonymousTracking, enableAnonymousTracking, clearUserData, addPlugin };
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, version, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, FlushBufferConfiguration, PageViewEvent, EnableAnonymousTrackingConfiguration, DisableAnonymousTrackingConfiguration, AnonymousTrackingOptions, ClearUserDataConfiguration, ConditionalContextProvider, ContextPrimitive, SelfDescribingEvent, SelfDescribingJson, CommonEventProperties, StructuredEvent, ContextGenerator, FilterProvider, RuleSetProvider, ContextEvent, ContextFilter, RuleSet, Scenario, newSession, setReferrerUrl, setCustomUrl, setDocumentTitle, discardHashTag, discardBrace, setCookiePath, setVisitorCookieTimeout, crossDomainLinker, enableActivityTracking, enableActivityTrackingCallback, updatePageActivity, setOptOutCookie, setUserId, setUserIdFromLocation, setUserIdFromReferrer, setUserIdFromCookie, setCollectorUrl, setBufferSize, flushBuffer, trackPageView, trackStructEvent, trackSelfDescribingEvent, addGlobalContexts, removeGlobalContexts, clearGlobalContexts, preservePageViewId, disableAnonymousTracking, enableAnonymousTracking, clearUserData, addPlugin };
/*!
* Browser tracker for Snowplow v3.13.0 (http://bit.ly/sp-js)
* Browser tracker for Snowplow v3.13.1-dev.0 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -284,3 +284,3 @@ * Licensed under BSD-3-Clause

dispatchToTrackers(trackers, function (t) {
t.core.track(buildStructEvent(event), event.context, event.timestamp);
t.core.track(buildStructEvent(event), event.context, event.timestamp, event.scenario);
});

@@ -298,3 +298,3 @@ }

dispatchToTrackers(trackers, function (t) {
t.core.track(buildSelfDescribingEvent({ event: event.event }), event.context, event.timestamp);
t.core.track(buildSelfDescribingEvent({ event: event.event }), event.context, event.timestamp, event.scenario);
});

@@ -301,0 +301,0 @@ }

import { TrackerConfiguration, BrowserTracker, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, AnonymousTrackingOptions, FlushBufferConfiguration, PageViewEvent, ClearUserDataConfiguration } from '@snowplow/browser-tracker-core';
import { version, CommonEventProperties, ConditionalContextProvider, ContextPrimitive, ContextGenerator, FilterProvider, RuleSetProvider, SelfDescribingEvent, SelfDescribingJson, StructuredEvent, ContextEvent, ContextFilter, RuleSet } from '@snowplow/tracker-core';
import { version, CommonEventProperties, ConditionalContextProvider, ContextPrimitive, ContextGenerator, FilterProvider, RuleSetProvider, SelfDescribingEvent, SelfDescribingJson, StructuredEvent, ContextEvent, ContextFilter, RuleSet, Scenario } from '@snowplow/tracker-core';
/**

@@ -241,2 +241,2 @@ * Initialise a new tracker

declare function addPlugin(configuration: BrowserPluginConfiguration, trackers?: Array<string>): void;
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, version, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, FlushBufferConfiguration, PageViewEvent, EnableAnonymousTrackingConfiguration, DisableAnonymousTrackingConfiguration, AnonymousTrackingOptions, ClearUserDataConfiguration, ConditionalContextProvider, ContextPrimitive, SelfDescribingEvent, SelfDescribingJson, CommonEventProperties, StructuredEvent, ContextGenerator, FilterProvider, RuleSetProvider, ContextEvent, ContextFilter, RuleSet, newSession, setReferrerUrl, setCustomUrl, setDocumentTitle, discardHashTag, discardBrace, setCookiePath, setVisitorCookieTimeout, crossDomainLinker, enableActivityTracking, enableActivityTrackingCallback, updatePageActivity, setOptOutCookie, setUserId, setUserIdFromLocation, setUserIdFromReferrer, setUserIdFromCookie, setCollectorUrl, setBufferSize, flushBuffer, trackPageView, trackStructEvent, trackSelfDescribingEvent, addGlobalContexts, removeGlobalContexts, clearGlobalContexts, preservePageViewId, disableAnonymousTracking, enableAnonymousTracking, clearUserData, addPlugin };
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, version, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, FlushBufferConfiguration, PageViewEvent, EnableAnonymousTrackingConfiguration, DisableAnonymousTrackingConfiguration, AnonymousTrackingOptions, ClearUserDataConfiguration, ConditionalContextProvider, ContextPrimitive, SelfDescribingEvent, SelfDescribingJson, CommonEventProperties, StructuredEvent, ContextGenerator, FilterProvider, RuleSetProvider, ContextEvent, ContextFilter, RuleSet, Scenario, newSession, setReferrerUrl, setCustomUrl, setDocumentTitle, discardHashTag, discardBrace, setCookiePath, setVisitorCookieTimeout, crossDomainLinker, enableActivityTracking, enableActivityTrackingCallback, updatePageActivity, setOptOutCookie, setUserId, setUserIdFromLocation, setUserIdFromReferrer, setUserIdFromCookie, setCollectorUrl, setBufferSize, flushBuffer, trackPageView, trackStructEvent, trackSelfDescribingEvent, addGlobalContexts, removeGlobalContexts, clearGlobalContexts, preservePageViewId, disableAnonymousTracking, enableAnonymousTracking, clearUserData, addPlugin };
import { TrackerConfiguration, BrowserTracker, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, AnonymousTrackingOptions, FlushBufferConfiguration, PageViewEvent, ClearUserDataConfiguration } from '@snowplow/browser-tracker-core';
import { version, CommonEventProperties, ConditionalContextProvider, ContextPrimitive, ContextGenerator, FilterProvider, RuleSetProvider, SelfDescribingEvent, SelfDescribingJson, StructuredEvent, ContextEvent, ContextFilter, RuleSet } from '@snowplow/tracker-core';
import { version, CommonEventProperties, ConditionalContextProvider, ContextPrimitive, ContextGenerator, FilterProvider, RuleSetProvider, SelfDescribingEvent, SelfDescribingJson, StructuredEvent, ContextEvent, ContextFilter, RuleSet, Scenario } from '@snowplow/tracker-core';
/**

@@ -241,2 +241,2 @@ * Initialise a new tracker

declare function addPlugin(configuration: BrowserPluginConfiguration, trackers?: Array<string>): void;
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, version, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, FlushBufferConfiguration, PageViewEvent, EnableAnonymousTrackingConfiguration, DisableAnonymousTrackingConfiguration, AnonymousTrackingOptions, ClearUserDataConfiguration, ConditionalContextProvider, ContextPrimitive, SelfDescribingEvent, SelfDescribingJson, CommonEventProperties, StructuredEvent, ContextGenerator, FilterProvider, RuleSetProvider, ContextEvent, ContextFilter, RuleSet, newSession, setReferrerUrl, setCustomUrl, setDocumentTitle, discardHashTag, discardBrace, setCookiePath, setVisitorCookieTimeout, crossDomainLinker, enableActivityTracking, enableActivityTrackingCallback, updatePageActivity, setOptOutCookie, setUserId, setUserIdFromLocation, setUserIdFromReferrer, setUserIdFromCookie, setCollectorUrl, setBufferSize, flushBuffer, trackPageView, trackStructEvent, trackSelfDescribingEvent, addGlobalContexts, removeGlobalContexts, clearGlobalContexts, preservePageViewId, disableAnonymousTracking, enableAnonymousTracking, clearUserData, addPlugin };
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ClientSession, version, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, FlushBufferConfiguration, PageViewEvent, EnableAnonymousTrackingConfiguration, DisableAnonymousTrackingConfiguration, AnonymousTrackingOptions, ClearUserDataConfiguration, ConditionalContextProvider, ContextPrimitive, SelfDescribingEvent, SelfDescribingJson, CommonEventProperties, StructuredEvent, ContextGenerator, FilterProvider, RuleSetProvider, ContextEvent, ContextFilter, RuleSet, Scenario, newSession, setReferrerUrl, setCustomUrl, setDocumentTitle, discardHashTag, discardBrace, setCookiePath, setVisitorCookieTimeout, crossDomainLinker, enableActivityTracking, enableActivityTrackingCallback, updatePageActivity, setOptOutCookie, setUserId, setUserIdFromLocation, setUserIdFromReferrer, setUserIdFromCookie, setCollectorUrl, setBufferSize, flushBuffer, trackPageView, trackStructEvent, trackSelfDescribingEvent, addGlobalContexts, removeGlobalContexts, clearGlobalContexts, preservePageViewId, disableAnonymousTracking, enableAnonymousTracking, clearUserData, addPlugin };
/*!
* Browser tracker for Snowplow v3.13.0 (http://bit.ly/sp-js)
* Browser tracker for Snowplow v3.13.1-dev.0 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -7,82 +7,82 @@ * Licensed under BSD-3-Clause

'use strict';(function(w,V){"object"===typeof exports&&"undefined"!==typeof module?V(exports):"function"===typeof define&&define.amd?define(["exports"],V):(w="undefined"!==typeof globalThis?globalThis:w||self,V(w.snowplowBrowserTracking={}))})(this,function(w){function V(a,b,c){if(c||2===arguments.length)for(var d=0,f=b.length,g;d<f;d++)!g&&d in b||(g||(g=Array.prototype.slice.call(b,0,d)),g[d]=b[d]);return a.concat(g||Array.prototype.slice.call(b))}function Ic(a){var b=0,c=0;var d="";var f=[];if(!a)return a;
a+="";do{var g=ma.indexOf(a.charAt(b++));var h=ma.indexOf(a.charAt(b++));d=ma.indexOf(a.charAt(b++));var m=ma.indexOf(a.charAt(b++));var r=g<<18|h<<12|d<<6|m;g=r>>16&255;h=r>>8&255;r&=255;64===d?f[c++]=String.fromCharCode(g):64===m?f[c++]=String.fromCharCode(g,h):f[c++]=String.fromCharCode(g,h,r)}while(b<a.length);d=f.join("");return function(n){return decodeURIComponent(n.split("").map(function(A){return"%"+("00"+A.charCodeAt(0).toString(16)).slice(-2)}).join(""))}(d.replace(/\0+$/,""))}function Sa(){var a=
{},b=[],c=[],d=[],f,g=function(h,m){null!=m&&""!==m&&(a[h]=m)};return{add:g,addDict:function(h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&g(m,h[m])},addJson:function(h,m,r){r&&Wb(r)&&(h={keyIfEncoded:h,keyIfNotEncoded:m,json:r},c.push(h),b.push(h))},addContextEntity:function(h){d.push(h)},getPayload:function(){return a},getJson:function(){return b},withJsonProcessor:function(h){f=h},build:function(){null===f||void 0===f?void 0:f(this,c,d);return a}}}function Jc(a){return function(b,
c,d){for(var f=function(n,A,v){n=JSON.stringify(n);if(a){v=b.add;if(n){var t=0,k=0,x=[];if(n){n=unescape(encodeURIComponent(n));do{var I=n.charCodeAt(t++);var Q=n.charCodeAt(t++);var G=n.charCodeAt(t++);var H=I<<16|Q<<8|G;I=H>>18&63;Q=H>>12&63;G=H>>6&63;H&=63;x[k++]=ma.charAt(I)+ma.charAt(Q)+ma.charAt(G)+ma.charAt(H)}while(t<n.length);t=x.join("");n=n.length%3;n=(n?t.slice(0,n-3):t)+"===".slice(n||3)}n=n.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}v.call(b,A,n)}else b.add(v,n)},g=function(n,
A){if(!n){var v=b.getPayload();if(a?v.cx:v.co){n=JSON;var t=n.parse;if(a){if(v=v.cx){switch(4-v.length%4){case 2:v+="==";break;case 3:v+="="}v=v.replace(/-/g,"+").replace(/_/g,"/");v=Ic(v)}}else v=v.co;n=t.call(n,v)}else n=void 0}n?n.data=n.data.concat(A.data):n=A;return n},h=void 0,m=0;m<c.length;m++){var r=c[m];"cx"===r.keyIfEncoded?h=g(h,r.json):f(r.json,r.keyIfEncoded,r.keyIfNotEncoded)}c.length=0;d.length&&(c={schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:V([],d,
!0)},h=g(h,c),d.length=0);h&&f(h,"cx","co")}}function Wb(a){if(!Xb(a))return!1;for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b))return!0;return!1}function Xb(a){return"undefined"!==typeof a&&null!==a&&(a.constructor==={}.constructor||a.constructor===[].constructor)}function Kc(){var a=[],b=[];return{getGlobalPrimitives:function(){return a},getConditionalProviders:function(){return b},addGlobalContexts:function(c){for(var d=[],f=[],g=0;g<c.length;g++){var h=c[g];Yb(h)?d.push(h):Ba(h)&&f.push(h)}a=
a.concat(f);b=b.concat(d)},clearGlobalContexts:function(){b=[];a=[]},removeGlobalContexts:function(c){for(var d=function(g){Yb(g)?b=b.filter(function(h){return JSON.stringify(h)!==JSON.stringify(g)}):Ba(g)&&(a=a.filter(function(h){return JSON.stringify(h)!==JSON.stringify(g)}))},f=0;f<c.length;f++)d(c[f])},getApplicableContexts:function(c){a:{var d=0;for(var f=c.getJson();d<f.length;d++){var g=f[d];if("ue_px"===g.keyIfEncoded&&"object"===typeof g.json.data&&(g=g.json.data.schema,"string"==typeof g)){d=
g;break a}}d=""}f=c.getPayload().e;g="string"===typeof f?f:"";f=[];var h=ib(a,c,g,d);f.push.apply(f,h);c=Lc(b,c,g,d);f.push.apply(f,c);return f}}}function Mc(a){return{addPluginContexts:function(b){var c=b?V([],b,!0):[];a.forEach(function(d){try{d.contexts&&c.push.apply(c,d.contexts())}catch(f){ba.error("Error adding plugin contexts",f)}});return c}}}function Nc(a){if("*"===a[0]||"*"===a[1])return!1;if(0<a.slice(2).length){var b=!1,c=0;for(a=a.slice(2);c<a.length;c++)if("*"===a[c])b=!0;else if(b)return!1;
'use strict';(function(x,Q){"object"===typeof exports&&"undefined"!==typeof module?Q(exports):"function"===typeof define&&define.amd?define(["exports"],Q):(x="undefined"!==typeof globalThis?globalThis:x||self,Q(x.snowplowBrowserTracking={}))})(this,function(x){function Q(a,b,c){if(c||2===arguments.length)for(var e=0,f=b.length,g;e<f;e++)!g&&e in b||(g||(g=Array.prototype.slice.call(b,0,e)),g[e]=b[e]);return a.concat(g||Array.prototype.slice.call(b))}function Ic(a){var b=0,c=0;var e="";var f=[];if(!a)return a;
a+="";do{var g=ma.indexOf(a.charAt(b++));var h=ma.indexOf(a.charAt(b++));e=ma.indexOf(a.charAt(b++));var m=ma.indexOf(a.charAt(b++));var r=g<<18|h<<12|e<<6|m;g=r>>16&255;h=r>>8&255;r&=255;64===e?f[c++]=String.fromCharCode(g):64===m?f[c++]=String.fromCharCode(g,h):f[c++]=String.fromCharCode(g,h,r)}while(b<a.length);e=f.join("");return function(n){return decodeURIComponent(n.split("").map(function(A){return"%"+("00"+A.charCodeAt(0).toString(16)).slice(-2)}).join(""))}(e.replace(/\0+$/,""))}function Sa(){var a=
{},b=[],c=[],e=[],f,g=function(h,m){null!=m&&""!==m&&(a[h]=m)};return{add:g,addDict:function(h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&g(m,h[m])},addJson:function(h,m,r){r&&Wb(r)&&(h={keyIfEncoded:h,keyIfNotEncoded:m,json:r},c.push(h),b.push(h))},addContextEntity:function(h){e.push(h)},getPayload:function(){return a},getJson:function(){return b},withJsonProcessor:function(h){f=h},build:function(){null===f||void 0===f?void 0:f(this,c,e);return a}}}function Jc(a){return function(b,
c,e){for(var f=function(n,A,w){n=JSON.stringify(n);if(a){w=b.add;if(n){var t=0,k=0,v=[];if(n){n=unescape(encodeURIComponent(n));do{var H=n.charCodeAt(t++);var P=n.charCodeAt(t++);var J=n.charCodeAt(t++);var G=H<<16|P<<8|J;H=G>>18&63;P=G>>12&63;J=G>>6&63;G&=63;v[k++]=ma.charAt(H)+ma.charAt(P)+ma.charAt(J)+ma.charAt(G)}while(t<n.length);t=v.join("");n=n.length%3;n=(n?t.slice(0,n-3):t)+"===".slice(n||3)}n=n.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}w.call(b,A,n)}else b.add(w,n)},g=function(n,
A){if(!n){var w=b.getPayload();if(a?w.cx:w.co){n=JSON;var t=n.parse;if(a){if(w=w.cx){switch(4-w.length%4){case 2:w+="==";break;case 3:w+="="}w=w.replace(/-/g,"+").replace(/_/g,"/");w=Ic(w)}}else w=w.co;n=t.call(n,w)}else n=void 0}n?n.data=n.data.concat(A.data):n=A;return n},h=void 0,m=0;m<c.length;m++){var r=c[m];"cx"===r.keyIfEncoded?h=g(h,r.json):f(r.json,r.keyIfEncoded,r.keyIfNotEncoded)}c.length=0;e.length&&(c={schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:Q([],e,
!0)},h=g(h,c),e.length=0);h&&f(h,"cx","co")}}function Wb(a){if(!Xb(a))return!1;for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b))return!0;return!1}function Xb(a){return"undefined"!==typeof a&&null!==a&&(a.constructor==={}.constructor||a.constructor===[].constructor)}function Kc(){var a=[],b=[];return{getGlobalPrimitives:function(){return a},getConditionalProviders:function(){return b},addGlobalContexts:function(c){for(var e=[],f=[],g=0;g<c.length;g++){var h=c[g];Yb(h)?e.push(h):Ba(h)&&f.push(h)}a=
a.concat(f);b=b.concat(e)},clearGlobalContexts:function(){b=[];a=[]},removeGlobalContexts:function(c){for(var e=function(g){Yb(g)?b=b.filter(function(h){return JSON.stringify(h)!==JSON.stringify(g)}):Ba(g)&&(a=a.filter(function(h){return JSON.stringify(h)!==JSON.stringify(g)}))},f=0;f<c.length;f++)e(c[f])},getApplicableContexts:function(c){a:{var e=0;for(var f=c.getJson();e<f.length;e++){var g=f[e];if("ue_px"===g.keyIfEncoded&&"object"===typeof g.json.data&&(g=g.json.data.schema,"string"==typeof g)){e=
g;break a}}e=""}f=c.getPayload().e;g="string"===typeof f?f:"";f=[];var h=ib(a,c,g,e);f.push.apply(f,h);c=Lc(b,c,g,e);f.push.apply(f,c);return f}}}function Mc(a){return{addPluginContexts:function(b){var c=Q([],b,!0);a.forEach(function(e){try{e.contexts&&c.push.apply(c,e.contexts())}catch(f){ba.error("Error adding plugin contexts",f)}});return c}}}function Nc(a){if("*"===a[0]||"*"===a[1])return!1;if(0<a.slice(2).length){var b=!1,c=0;for(a=a.slice(2);c<a.length;c++)if("*"===a[c])b=!0;else if(b)return!1;
return!0}return 2==a.length?!0:!1}function Zb(a){return(a=a.split("."))&&1<a.length?Nc(a):!1}function $b(a){a=/^iglu:((?:(?:[a-zA-Z0-9-_]+|\*).)+(?:[a-zA-Z0-9-_]+|\*))\/([a-zA-Z0-9-_.]+|\*)\/jsonschema\/([1-9][0-9]*|\*)-(0|[1-9][0-9]*|\*)-(0|[1-9][0-9]*|\*)$/.exec(a);if(null!==a&&Zb(a[1]))return a.slice(1,6)}function jb(a){if(a=$b(a)){var b=a[0];return 5===a.length&&Zb(b)}return!1}function Oc(a){return Array.isArray(a)&&a.every(function(b){return"string"===typeof b})}function ac(a){return Oc(a)?a.every(function(b){return jb(b)}):
"string"===typeof a?jb(a):!1}function Ha(a){return Wb(a)&&"schema"in a&&"data"in a?"string"===typeof a.schema&&"object"===typeof a.data:!1}function Pc(a){var b=0;if(null!=a&&"object"===typeof a&&!Array.isArray(a)){if(Object.prototype.hasOwnProperty.call(a,"accept"))if(ac(a.accept))b+=1;else return!1;if(Object.prototype.hasOwnProperty.call(a,"reject"))if(ac(a.reject))b+=1;else return!1;return 0<b&&2>=b}return!1}function Ta(a){return"function"===typeof a&&1>=a.length}function Ba(a){return Ta(a)||Ha(a)}
function bc(a){return Array.isArray(a)&&2===a.length?Array.isArray(a[1])?Ta(a[0])&&a[1].every(Ba):Ta(a[0])&&Ba(a[1]):!1}function cc(a){return Array.isArray(a)&&2===a.length?Pc(a[0])?Array.isArray(a[1])?a[1].every(Ba):Ba(a[1]):!1:!1}function Yb(a){return bc(a)||cc(a)}function Qc(a,b){var c=0,d=0,f=a.accept;Array.isArray(f)?a.accept.some(function(g){return Ua(g,b)})&&d++:"string"===typeof f&&Ua(f,b)&&d++;f=a.reject;Array.isArray(f)?a.reject.some(function(g){return Ua(g,b)})&&c++:"string"===typeof f&&
Ua(f,b)&&c++;return 0<d&&0===c?!0:!1}function Ua(a,b){if(!jb(a))return!1;a=$b(a);b=/^iglu:([a-zA-Z0-9-_.]+)\/([a-zA-Z0-9-_]+)\/jsonschema\/([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$/.exec(b);b=null!==b?b.slice(1,6):void 0;if(a&&b){if(!Rc(a[0],b[0]))return!1;for(var c=1;5>c;c++)if(!dc(a[c],b[c]))return!1;return!0}return!1}function Rc(a,b){b=b.split(".");a=a.split(".");if(b&&a){if(b.length!==a.length)return!1;for(var c=0;c<a.length;c++)if(!dc(b[c],a[c]))return!1;return!0}return!1}function dc(a,
b){return a&&b&&"*"===a||a===b}function ec(a){return Array.isArray(a)?a:[a]}function ib(a,b,c,d){var f;a=ec(a).map(function(g){a:if(Ha(g))g=[g];else{if(Ta(g)){b:{var h=void 0;try{var m={event:b.getPayload(),eventType:c,eventSchema:d};h=g(m);if(Array.isArray(h)&&h.every(Ha)||Ha(h)){var r=h;break b}r=void 0;break b}catch(n){}r=void 0}if(Ha(r)){g=[r];break a}else if(Array.isArray(r)){g=r;break a}}g=void 0}if(g&&0!==g.length)return g});return(f=[]).concat.apply(f,a.filter(function(g){return null!=g&&
g.filter(Boolean)}))}function Lc(a,b,c,d){var f;a=ec(a).map(function(g){a:{if(bc(g)){var h=g[0],m=!1;try{var r={event:b.getPayload(),eventType:c,eventSchema:d};m=h(r)}catch(n){m=!1}if(!0===m){g=ib(g[1],b,c,d);break a}}else if(cc(g)&&Qc(g[0],d)){g=ib(g[1],b,c,d);break a}g=[]}if(g&&0!==g.length)return g});return(f=[]).concat.apply(f,a.filter(function(g){return null!=g&&g.filter(Boolean)}))}function Sc(a){return null==a?{type:"dtm",value:(new Date).getTime()}:"number"===typeof a?{type:"dtm",value:a}:
"ttm"===a.type?{type:"ttm",value:a.value}:{type:"dtm",value:a.value||(new Date).getTime()}}function Tc(a){void 0===a&&(a={});var b=a.base64,c=a.corePlugins,d=null!==c&&void 0!==c?c:[];a=function(g,h,m){function r(k,x){k=A.getApplicableContexts(k);var I=[];x&&x.length&&I.push.apply(I,x);k&&k.length&&I.push.apply(I,k);return I}var n=Mc(h),A=Kc(),v=g,t={};return{track:function(k,x,I){k.withJsonProcessor(Jc(v));k.add("eid",ia.v4());k.addDict(t);I=Sc(I);k.add(I.type,I.value.toString());x=r(k,n.addPluginContexts(x));
x=x&&x.length?{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:x}:void 0;void 0!==x&&k.addJson("cx","co",x);h.forEach(function(G){try{G.beforeTrack&&G.beforeTrack(k)}catch(H){ba.error("Plugin beforeTrack",H)}});"function"===typeof m&&m(k);var Q=k.build();h.forEach(function(G){try{G.afterTrack&&G.afterTrack(Q)}catch(H){ba.error("Plugin afterTrack",H)}});return Q},addPayloadPair:function(k,x){t[k]=x},getBase64Encoding:function(){return v},setBase64Encoding:function(k){v=
k},addPayloadDict:function(k){for(var x in k)Object.prototype.hasOwnProperty.call(k,x)&&(t[x]=k[x])},resetPayloadPairs:function(k){t=Xb(k)?k:{}},setTrackerVersion:function(k){t.tv=k},setTrackerNamespace:function(k){t.tna=k},setAppId:function(k){t.aid=k},setPlatform:function(k){t.p=k},setUserId:function(k){t.uid=k},setScreenResolution:function(k,x){t.res=k+"x"+x},setViewport:function(k,x){t.vp=k+"x"+x},setColorDepth:function(k){t.cd=k},setTimezone:function(k){t.tz=k},setLang:function(k){t.lang=k},
setIpAddress:function(k){t.ip=k},setUseragent:function(k){t.ua=k},addGlobalContexts:function(k){A.addGlobalContexts(k)},clearGlobalContexts:function(){A.clearGlobalContexts()},removeGlobalContexts:function(k){A.removeGlobalContexts(k)}}}(null!==b&&void 0!==b?b:!0,d,a.callback);var f=R(R({},a),{addPlugin:function(g){var h,m;g=g.plugin;d.push(g);null===(h=g.logger)||void 0===h?void 0:h.call(g,ba);null===(m=g.activateCorePlugin)||void 0===m?void 0:m.call(g,f)}});null===d||void 0===d?void 0:d.forEach(function(g){var h,
m;null===(h=g.logger)||void 0===h?void 0:h.call(g,ba);null===(m=g.activateCorePlugin)||void 0===m?void 0:m.call(g,f)});return f}function Uc(a){var b=a.pageUrl,c=a.pageTitle;a=a.referrer;var d=Sa();d.add("e","pv");d.add("url",b);d.add("page",c);d.add("refr",a);return d}function Va(a,b,c){void 0===c&&(c=63072E3);try{var d=window.localStorage,f=Date.now()+1E3*c;d.setItem("".concat(a,".expires"),f.toString());d.setItem(a,b);return!0}catch(g){return!1}}function fc(a){try{var b=window.localStorage;b.removeItem(a);
b.removeItem(a+".expires");return!0}catch(c){return!1}}function gc(a){try{return window.sessionStorage.getItem(a)}catch(b){}}function hc(a){return Number.isInteger&&Number.isInteger(a)||"number"===typeof a&&isFinite(a)&&Math.floor(a)===a}function ic(a){if(!a||"string"!==typeof a.valueOf()){a=a.text||"";var b=document.getElementsByTagName("title");b&&null!=b[0]&&(a=b[0].text)}return a}function kb(a){var b=/^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(a);return b?b[1]:a}function jc(a){var b=a.length;
"."===a.charAt(--b)&&(a=a.slice(0,b));"*."===a.slice(0,2)&&(a=a.slice(1));return a}function lb(a){var b=window,c=Ia("referrer",b.location.href)||Ia("referer",b.location.href);if(c)return c;if(a)return a;try{if(b.top)return b.top.document.referrer;if(b.parent)return b.parent.document.referrer}catch(d){}return document.referrer}function na(a,b,c,d){if(a.addEventListener)return a.addEventListener(b,c,d),!0;if(a.attachEvent)return a.attachEvent("on"+b,c);a["on"+b]=c}function Ia(a,b){return(a=(new RegExp("^[^#]*[?&]"+
a+"=([^&#]*)")).exec(b))?decodeURIComponent(a[1].replace(/\+/g," ")):null}function Vc(a,b){for(var c=window.location.hostname,d="_sp_root_domain_test_"+(new Date).getTime(),f="_test_value_"+(new Date).getTime(),g=c.split("."),h=g.length-2;0<=h;h--){var m=g.slice(h).join(".");da(d,f,0,"/",m,a,b);if(da(d)===f){da(d,"",-1,"/",m,a,b);c=document.cookie.split("; ");d=[];for(f=0;f<c.length;f++)"_sp_root_domain_test_"===c[f].substring(0,21)&&d.push(c[f]);c=d;for(d=0;d<c.length;d++)da(c[d],"",-1,"/",m,a,b);
return m}}return c}function da(a,b,c,d,f,g,h){return 1<arguments.length?document.cookie=a+"="+encodeURIComponent(null!==b&&void 0!==b?b:"")+(c?"; Expires="+(new Date(+new Date+1E3*c)).toUTCString():"")+(d?"; Path="+d:"")+(f?"; Domain="+f:"")+(g?"; SameSite="+g:"")+(h?"; Secure":""):decodeURIComponent((("; "+document.cookie).split("; "+a+"=")[1]||"").split(";")[0])}function Wc(){try{var a=!!window.localStorage}catch(c){a=!0}if(!a)return!1;try{var b=window.localStorage;b.setItem("modernizr","modernizr");
b.removeItem("modernizr");return!0}catch(c){return!1}}function Xc(a,b,c,d,f,g,h,m,r,n,A,v,t,k,x,I){function Q(q){var z=Object.keys(q).map(function(y){return[y,q[y]]}).reduce(function(y,u){y[u[0]]=u[1].toString();return y},{});return{evt:z,bytes:G(JSON.stringify(z))}}function G(q){for(var z=0,y=0;y<q.length;y++){var u=q.charCodeAt(y);127>=u?z+=1:2047>=u?z+=2:55296<=u&&57343>=u?(z+=4,y++):z=65535>u?z+3:z+4}return z}function H(q){for(void 0===q&&(q=!1);D.length&&"string"!==typeof D[0]&&"object"!==typeof D[0];)D.shift();
if(1>D.length)S=!1;else{if(!T||"string"!==typeof T.valueOf())throw"No collector configured";S=!0;if(sa){var z=function(K){for(var ca=0,Ca=0;ca<K.length&&!(Ca+=K[ca].bytes,Ca>=h);)ca+=1;return ca},y=void 0;if(ta(D)){y=T;var u=F(y,!0,q);var J=z(D)}else y=Ja(D[0]),u=F(y,!1,q),J=1;var L=setTimeout(function(){u.abort();S=!1},A),ea=function(K){for(var ca=0;ca<K;ca++)D.shift();c&&Va(ua,JSON.stringify(D.slice(0,n)))};u.onreadystatechange=function(){if(4===u.readyState&&200<=u.status)if(clearTimeout(L),300>
u.status)ea(J),H();else{var K=u.status;K=200<=K&&300>K?!1:x.includes(K)?!0:!I.includes(K);K||(ba.error("Status ".concat(u.status,", will not retry.")),ea(J));S=!1}};if(ta(D)){if(z=D.slice(0,J),0<z.length){q=!1;z=z.map(function(K){return K.evt});if(Wa){var Ka=new Blob([W(fa(z))],{type:"application/json"});try{q=navigator.sendBeacon(y,Ka)}catch(K){q=!1}}!0===q?(ea(J),H()):u.send(W(fa(z)))}}else u.send()}else if(v||ta(D))S=!1;else{y=new Image(1,1);var ha=!0;y.onload=function(){ha&&(ha=!1,D.shift(),c&&
Va(ua,JSON.stringify(D.slice(0,n))),H())};y.onerror=function(){ha&&(S=ha=!1)};y.src=Ja(D[0]);setTimeout(function(){ha&&S&&(ha=!1,H())},A)}}}function F(q,z,y){var u=new XMLHttpRequest;z?(u.open("POST",q,!y),u.setRequestHeader("Content-Type","application/json; charset=UTF-8")):u.open("GET",q,!y);u.withCredentials=k;v&&u.setRequestHeader("SP-Anonymous","*");for(var J in t)Object.prototype.hasOwnProperty.call(t,J)&&u.setRequestHeader(J,t[J]);return u}function W(q){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",
data:q})}function fa(q){for(var z=(new Date).getTime().toString(),y=0;y<q.length;y++)q[y].stm=z;return q}function Ja(q){return r?T+q.replace("?","?stm="+(new Date).getTime()+"&"):T+q}function Xa(q){function z(u,J,L){return(L=L.match("(Macintosh;.*Mac OS X (d+)_(d+)[_d]*.*) AppleWebKit/"))&&L.length?parseInt(L[0])<=u||parseInt(L[0])===u&&parseInt(L[1])<=J:!1}function y(u){return u.match("Version/.* Safari/")&&!u.match("Chrom(e|ium)")}return function(u,J){return(J=J.match("(iP.+; CPU .*OS (d+)[_d]*.*) AppleWebKit/"))&&
J.length?parseInt(J[0])<=u:!1}(13,q)||z(10,15,q)&&y(q)}var S=!1,T,D=[];d="string"===typeof d?d.toLowerCase():d;var va=!0===d||"beacon"===d||"true"===d,Wa=!(!(va&&window.navigator&&window.navigator.sendBeacon)||Xa(window.navigator.userAgent))&&va,sa=!!(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest),wa="get"!==d&&sa&&("post"===d||va),oa=wa?f:"/i",ua="snowplowOutQueue_".concat(a,"_").concat(wa?"post2":"get");va&&(t={});g=c&&Wc()&&wa&&g||1;if(c)try{var La=window.localStorage.getItem(ua);
D=La?JSON.parse(La):[]}catch(q){}Array.isArray(D)||(D=[]);b.outQueues.push(D);sa&&1<g&&b.bufferFlushers.push(function(q){S||H(q)});var ta=function(q){return"object"===typeof q[0]};return{enqueueRequest:function(q,z){T=z+oa;if(wa){q=Q(q);if(q.bytes>=h){ba.warn("Event ("+q.bytes+"B) too big, max is "+h);z=q;F(T,!0,!1).send(W(fa([z.evt])));return}D.push(q)}else{var y="?";var u={co:!0,cx:!0},J=!0,L;for(L in q)q.hasOwnProperty(L)&&!u.hasOwnProperty(L)&&(J?J=!1:y+="&",y+=encodeURIComponent(L)+"="+encodeURIComponent(q[L]));
for(var ea in u)q.hasOwnProperty(ea)&&u.hasOwnProperty(ea)&&(y+="&"+ea+"="+encodeURIComponent(q[ea]));if(0<m&&(u=Ja(y),u=G(u),u>=m)){ba.warn("Event ("+u+"B) too big, max is "+m);sa&&(q=Q(q),F(z+f,!0,!1).send(W(fa([q.evt]))));return}D.push(y)}z=!1;c&&(z=Va(ua,JSON.stringify(D.slice(0,n))));S||z&&!(D.length>=g)||H()},executeQueue:function(){S||H()},setUseLocalStorage:function(q){c=q},setAnonymousTracking:function(q){v=q},setCollectorUrl:function(q){T=q+oa},setBufferSize:function(q){g=q}}}function kc(a,
b,c){if("translate.googleusercontent.com"===a)""===c&&(c=b),a=(a=/^(?:https?|ftp)(?::\/*(?:[^?]+))([?][^#]+)/.exec(b))&&1<(null===a||void 0===a?void 0:a.length)?Ia("u",a[1]):null,b=null!==a&&void 0!==a?a:"",a=kb(b);else if("cc.bingj.com"===a||"webcache.googleusercontent.com"===a)b=document.links[0].href,a=kb(b);return[a,b,c]}function Yc(a,b,c,d){var f=Math.round((new Date).getTime()/1E3);a?(a=a.split("."),a.unshift("0")):a=["1",b,f,d,f,"",c];a[6]&&"undefined"!==a[6]||(a[6]=ia.v4());a[7]&&"undefined"!==
a[7]||(a[7]="");a[8]&&"undefined"!==a[8]||(a[8]="");a[9]&&"undefined"!==a[9]||(a[9]="");a[10]&&"undefined"!==a[10]||(a[10]=0);var g=function(h,m){h=parseInt(h);return isNaN(h)?m:h};b=function(h){return h?g(h,void 0):void 0};return[a[0],a[1],g(a[2],f),g(a[3],d),g(a[4],f),b(a[5]),a[6],a[7],a[8],b(a[9]),g(a[10],0)]}function Ma(a,b){var c=R({memorizedVisitCount:1},b),d=c.memorizedVisitCount;b=c.configStateStorageStrategy;var f=c.configAnonymousTracking;c=c.onSessionUpdateCallback;"0"===a[0]?(a[7]=a[6],
a[5]=a[4],a[3]++):a[3]=d;d=ia.v4();a[6]=d;a[10]=0;a[8]="";a[9]=void 0;c&&c(lc(a,b,f));return d}function mb(a){a[4]=Math.round((new Date).getTime()/1E3)}function lc(a,b,c){var d=a[9];return{userId:c?"00000000-0000-0000-0000-000000000000":a[1],sessionId:a[6],eventIndex:a[10],sessionIndex:a[3],previousSessionId:c?null:a[7]||null,storageMechanism:"localStorage"==b?"LOCAL_STORAGE":"COOKIE_1",firstEventId:a[8]||null,firstEventTimestamp:d?(new Date(d)).toISOString():null}}function nb(){var a=ob;if("innerWidth"in
window){var b=window.innerWidth;var c=window.innerHeight}else c=document.documentElement||document.body,b=c.clientWidth,c=c.clientHeight;a=a(0<=b&&0<=c?b+"x"+c:null);b=ob;var d=document.documentElement,f=document.body;c=Math.max(d.clientWidth,d.offsetWidth,d.scrollWidth);d=Math.max(d.clientHeight,d.offsetHeight,d.scrollHeight,f?Math.max(f.offsetHeight,f.scrollHeight):0);c=isNaN(c)||isNaN(d)?"":c+"x"+d;return{viewport:a,documentSize:b(c),resolution:ob(screen.width+"x"+screen.height),colorDepth:screen.colorDepth,
devicePixelRatio:window.devicePixelRatio,cookiesEnabled:window.navigator.cookieEnabled,online:window.navigator.onLine,browserLanguage:navigator.language||navigator.userLanguage,documentLanguage:document.documentElement.lang,webdriver:window.navigator.webdriver,deviceMemory:window.navigator.deviceMemory,hardwareConcurrency:window.navigator.hardwareConcurrency}}function ob(a){return a&&a.split("x").map(function(b){return Math.floor(Number(b))}).join("x")}function Zc(a,b,c,d,f,g){void 0===g&&(g={});
var h=[];a=function(r,n,A,v,t,k){function x(){xa=kc(window.location.hostname,window.location.href,lb());xa[1]!==pa&&(Na=lb(pa));mc=jc(xa[0]);pa=xa[1]}function I(e){var l=(new Date).getTime();e=e.currentTarget;if(null===e||void 0===e?0:e.href){l="_sp="+(Ya+"."+l);var p=e.href.split("#"),B=p[0].split("?"),P=B.shift();if(B=B.join("?")){for(var M=!0,X=B.split("&"),U=0;U<X.length;U++)if("_sp="===X[U].substr(0,4)){M=!1;X[U]=l;B=X.join("&");break}M&&(B=l+"&"+B)}else B=l;p[0]=P+"?"+B;l=p.join("#");e.href=
l}}function Q(e){for(var l=0;l<document.links.length;l++){var p=document.links[l];!p.spDecorationEnabled&&e(p)&&(na(p,"click",I,!0),na(p,"mousedown",I,!0),p.spDecorationEnabled=!0)}}function G(e){if(nc){var l=/#.*/;e=e.replace(l,"")}oc&&(l=/[{}]/g,e=e.replace(l,""));return e}function H(e){return(e=/^([a-z]+):/.exec(e))?e[1]:null}function F(e){e=Da+e+"."+ya;if("localStorage"==E){try{var l=window.localStorage,p=l.getItem(e+".expires");if(null===p||+p>Date.now())var B=l.getItem(e);else l.removeItem(e),
l.removeItem(e+".expires"),B=void 0}catch(P){B=void 0}return B}if("cookie"==E||"cookieAndLocalStorage"==E)return da(e)}function W(){x();ya=$c((Oa||mc)+(pb||"/")).slice(0,4)}function fa(){Za=(new Date).getTime()}function Ja(){var e=Xa(),l=e[0];l<$a?$a=l:l>ab&&(ab=l);e=e[1];e<bb?bb=e:e>cb&&(cb=e);fa()}function Xa(){var e=document.documentElement;return e?[e.scrollLeft||window.pageXOffset,e.scrollTop||window.pageYOffset]:[0,0]}function S(){var e=Xa(),l=e[0];ab=$a=l;cb=bb=e=e[1]}function T(){va(Da+"ses."+
ya,"*",pc)}function D(e){var l=Da+"id."+ya;e.shift();e=e.join(".");va(l,e,qc)}function va(e,l,p){if(!N||za)"localStorage"==E?Va(e,l,p):("cookie"==E||"cookieAndLocalStorage"==E)&&da(e,l,p,pb,Oa,db,eb)}function Wa(e){var l=Da+"id."+ya,p=Da+"ses."+ya;fc(l);fc(p);da(l,"",-1,"/",Oa,db,eb);da(p,"",-1,"/",Oa,db,eb);null!==e&&void 0!==e&&e.preserveSession||(ja=ia.v4(),Y=1);null!==e&&void 0!==e&&e.preserveUser||(Ya=N?"":ia.v4(),Aa=null)}function sa(e){e&&e.stateStorageStrategy&&(k.stateStorageStrategy=e.stateStorageStrategy,
E=rc(k));N=!!k.anonymousTracking;za=sc(k);qb=tc(k);qa.setUseLocalStorage("localStorage"==E||"cookieAndLocalStorage"==E);qa.setAnonymousTracking(qb)}function wa(){if(!N||za){var e="none"!=E&&!!F("ses"),l=oa();if(l[1])var p=l[1];else p=N?"":ia.v4(),l[1]=p;Ya=p;ja=e?l[6]:Ma(l,{configStateStorageStrategy:E,configAnonymousTracking:N,onSessionUpdateCallback:Pa});Y=l[3];"none"!=E&&(T(),mb(l),D(l))}}function oa(){if("none"==E)return["1","",0,0,0,void 0,"","","",void 0,0];var e=F("id")||void 0;return Yc(e,
Ya,ja,Y)}function ua(e){return 0===e.indexOf("http")?e:("https:"===document.location.protocol?"https":"http")+"://"+e}function La(){uc&&null!=t.pageViewId||(t.pageViewId=ia.v4())}function ta(){null==t.pageViewId&&(t.pageViewId=ia.v4());return t.pageViewId}function q(){if("none"===E||N||!vc)return null;var e=gc("_sp_tab_id");if(!e){e=ia.v4();try{window.sessionStorage.setItem("_sp_tab_id",e)}catch(l){}e=gc("_sp_tab_id")}return e||null}function z(){return{contexts:function(){return[{schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",
data:{id:ta()}}]}}}function y(){return{contexts:function(){return[{schema:"iglu:com.snowplowanalytics.snowplow/browser_context/jsonschema/1-0-0",data:R(R({},nb()),{tabId:q()})}]}}}function u(e){var l=e.title,p=e.context,B=e.timestamp;e=e.contextCallback;x();wc&&La();wc=!0;Ea=document.title;Qa=l;l=ic(Qa||Ea);Z.track(Uc({pageUrl:G(Fa||pa),pageTitle:l,referrer:G(fb||Na)}),(p||[]).concat(e?e():[]),B);B=new Date;l=!1;if(aa.enabled&&!aa.installed){l=aa.installed=!0;var P={update:function(){if("undefined"!==
typeof window&&"function"===typeof window.addEventListener){var X=!1,U=Object.defineProperty({},"passive",{get:function(){X=!0},set:function(){}}),Ga=function(){};window.addEventListener("testPassiveEventSupport",Ga,U);window.removeEventListener("testPassiveEventSupport",Ga,U);P.hasSupport=X}}};P.update();var M="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(P,"hasSupport")?na(document,M,fa,{passive:!0}):
na(document,M,fa);S();M=function(X,U){void 0===U&&(U=fa);return function(Ga){return na(document,Ga,U)}};"click mouseup mousedown mousemove keypress keydown keyup touchend touchstart".split(" ").forEach(M(document));["resize","focus","blur"].forEach(M(window));M(window,Ja)("scroll")}if(aa.enabled&&(ad||l))for(B in Za=B.getTime(),B=void 0,aa.configurations)if(l=aa.configurations[B])window.clearInterval(l.activityInterval),J(l,p,e)}function J(e,l,p){var B=function(M,X){x();M({context:X,pageViewId:ta(),
minXOffset:$a,minYOffset:bb,maxXOffset:ab,maxYOffset:cb});S()},P=function(){Za+e.configHeartBeatTimer>(new Date).getTime()&&B(e.callback,(l||[]).concat(p?p():[]))};e.activityInterval=0!=e.configMinimumVisitLength?window.setTimeout(function(){Za+e.configMinimumVisitLength>(new Date).getTime()&&B(e.callback,(l||[]).concat(p?p():[]));e.activityInterval=window.setInterval(P,e.configHeartBeatTimer)},e.configMinimumVisitLength):window.setInterval(P,e.configHeartBeatTimer)}function L(e){var l=e.minimumVisitLength,
p=e.heartbeatDelay;e=e.callback;if(hc(l)&&hc(p))return{configMinimumVisitLength:1E3*l,configHeartBeatTimer:1E3*p,callback:e};ba.error("Activity tracking minimumVisitLength & heartbeatDelay must be integers")}function ea(e){var l=e.context,p=e.minXOffset,B=e.minYOffset,P=e.maxXOffset,M=e.maxYOffset;e=document.title;e!==Ea&&(Ea=e,Qa=void 0);e=Z;var X=e.track,U=G(Fa||pa),Ga=ic(Qa||Ea),bd=G(fb||Na);p=Math.round(p);P=Math.round(P);B=Math.round(B);M=Math.round(M);var ka=Sa();ka.add("e","pp");ka.add("url",
U);ka.add("page",Ga);ka.add("refr",bd);p&&!isNaN(Number(p))&&ka.add("pp_mix",p.toString());P&&!isNaN(Number(P))&&ka.add("pp_max",P.toString());B&&!isNaN(Number(B))&&ka.add("pp_miy",B.toString());M&&!isNaN(Number(M))&&ka.add("pp_may",M.toString());X.call(e,ka,l)}var Ka,ha,K,ca,Ca,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb;k.eventMethod=null!==(Ka=k.eventMethod)&&void 0!==Ka?Ka:"post";var rc=function(e){var l;return null!==(l=e.stateStorageStrategy)&&void 0!==l?l:"cookieAndLocalStorage"},
sc=function(e){var l,p;return"boolean"===typeof e.anonymousTracking?!1:null!==(p=!0===(null===(l=e.anonymousTracking)||void 0===l?void 0:l.withSessionTracking))&&void 0!==p?p:!1},tc=function(e){var l,p;return"boolean"===typeof e.anonymousTracking?!1:null!==(p=!0===(null===(l=e.anonymousTracking)||void 0===l?void 0:l.withServerAnonymisation))&&void 0!==p?p:!1},cd=null!==(K=null===(ha=null===k||void 0===k?void 0:k.contexts)||void 0===ha?void 0:ha.browser)&&void 0!==K?K:!1,vc=null!==(Ca=null===(ca=null===
k||void 0===k?void 0:k.contexts)||void 0===ca?void 0:ca.webPage)&&void 0!==Ca?Ca:!0;h.push(function(){return{beforeTrack:function(e){var l=F("ses"),p=oa();Ob=Pb?!!da(Pb):!1;if(xc||Ob)Wa();else{"0"===p[0]?(ja=l||"none"==E?p[6]:Ma(p,{configStateStorageStrategy:E,configAnonymousTracking:N,onSessionUpdateCallback:Pa}),Y=p[3]):(new Date).getTime()-Qb>1E3*pc&&(Y++,ja=Ma(p,{configStateStorageStrategy:E,configAnonymousTracking:N,memorizedVisitCount:Y,onSessionUpdateCallback:Pa}));mb(p);0===p[10]&&(l=e.build(),
p[8]=l.eid,l=l.dtm||l.ttm,p[9]=l?parseInt(l):void 0);p[10]+=1;l=nb();var B=l.documentSize;e.add("vp",l.viewport);e.add("ds",B);e.add("vid",za?Y:N?null:Y);e.add("sid",za?ja:N?null:ja);e.add("duid",N?null:p[1]);e.add("uid",N?null:Aa);x();e.add("refr",G(fb||Na));e.add("url",G(Fa||pa));!dd||N&&!za||(l=lc(p,E,N),e.addContextEntity({schema:"iglu:com.snowplowanalytics.snowplow/client_session/jsonschema/1-0-2",data:l}));"none"!=E&&(D(p),T());Qb=(new Date).getTime()}}}}());vc&&h.push(z());cd&&h.push(y());
h.push.apply(h,null!==(rb=k.plugins)&&void 0!==rb?rb:[]);var Z=Tc({base64:k.encodeBase64,corePlugins:h,callback:function(e){xc||Ob||qa.enqueueRequest(e.build(),Rb)}}),ed=document.characterSet||document.charset,xa=kc(window.location.hostname,window.location.href,lb()),mc=jc(xa[0]),pa=xa[1],Na=xa[2],fb,fd=null!==(sb=k.platform)&&void 0!==sb?sb:"web",Rb=ua(v),gd=null!==(tb=k.postPath)&&void 0!==tb?tb:"/com.snowplowanalytics.snowplow/tp2",hd=null!==(ub=k.appId)&&void 0!==ub?ub:"",Fa,Ea=document.title,
Qa,ad=null!==(vb=k.resetActivityTrackingOnPageView)&&void 0!==vb?vb:!0,nc,oc,Da=null!==(wb=k.cookieName)&&void 0!==wb?wb:"_sp_",Oa=null!==(xb=k.cookieDomain)&&void 0!==xb?xb:void 0,pb="/",db=null!==(yb=k.cookieSameSite)&&void 0!==yb?yb:"None",eb=null!==(zb=k.cookieSecure)&&void 0!==zb?zb:!0,yc=navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack,xc="undefined"!==typeof k.respectDoNotTrack?k.respectDoNotTrack&&("yes"===yc||"1"===yc):!1,Pb,qc=null!==(Ab=k.cookieLifetime)&&void 0!==Ab?Ab:
63072E3,pc=null!==(Bb=k.sessionCookieTimeout)&&void 0!==Bb?Bb:1800,za=sc(k),qb=tc(k),N=!!k.anonymousTracking,E=rc(k),Za,Qb=(new Date).getTime(),$a,ab,bb,cb,ya,Ya,ja,Y=1,Aa,qa=Xc(r,t,"localStorage"==E||"cookieAndLocalStorage"==E,k.eventMethod,gd,null!==(Cb=k.bufferSize)&&void 0!==Cb?Cb:1,null!==(Db=k.maxPostBytes)&&void 0!==Db?Db:4E4,null!==(Eb=k.maxGetBytes)&&void 0!==Eb?Eb:0,null!==(Fb=k.useStm)&&void 0!==Fb?Fb:!0,null!==(Gb=k.maxLocalStorageQueueSize)&&void 0!==Gb?Gb:1E3,null!==(Hb=k.connectionTimeout)&&
void 0!==Hb?Hb:5E3,qb,null!==(Ib=k.customHeaders)&&void 0!==Ib?Ib:{},null!==(Jb=k.withCredentials)&&void 0!==Jb?Jb:!0,null!==(Kb=k.retryStatusCodes)&&void 0!==Kb?Kb:[],(null!==(Lb=k.dontRetryStatusCodes)&&void 0!==Lb?Lb:[]).concat([400,401,403,410,422])),uc=!1,wc=!1,aa={enabled:!1,installed:!1,configurations:{}},dd=null!==(Nb=null===(Mb=k.contexts)||void 0===Mb?void 0:Mb.session)&&void 0!==Nb?Nb:!1,Ob,Pa=k.onSessionUpdateCallback;k.hasOwnProperty("discoverRootDomain")&&k.discoverRootDomain&&(Oa=Vc(db,
eb));var gb=nb(),id=gb.browserLanguage,jd=gb.resolution,kd=gb.colorDepth,ld=gb.cookiesEnabled;Z.setTrackerVersion(A);Z.setTrackerNamespace(n);Z.setAppId(hd);Z.setPlatform(fd);Z.addPayloadPair("cookie",ld?"1":"0");Z.addPayloadPair("cs",ed);Z.addPayloadPair("lang",id);Z.addPayloadPair("res",jd);Z.addPayloadPair("cd",kd);W();wa();k.crossDomainLinker&&Q(k.crossDomainLinker);return R(R({},{getDomainSessionIndex:function(){return Y},getPageViewId:ta,getTabId:q,newSession:function(){var e=oa();"0"===e[0]?
(ja="none"!=E?Ma(e,{configStateStorageStrategy:E,configAnonymousTracking:N,onSessionUpdateCallback:Pa}):e[6],Y=e[3],T()):(Y++,ja=Ma(e,{configStateStorageStrategy:E,configAnonymousTracking:N,memorizedVisitCount:Y,onSessionUpdateCallback:Pa}));mb(e);"none"!=E&&(D(e),T());Qb=(new Date).getTime()},getCookieName:function(e){return Da+e+"."+ya},getUserId:function(){return Aa},getDomainUserId:function(){return oa()[1]},getDomainUserInfo:function(){return oa()},setReferrerUrl:function(e){fb=e},setCustomUrl:function(e){x();
var l=pa,p;H(e)?Fa=e:"/"===e.slice(0,1)?Fa=H(l)+"://"+kb(l)+e:(l=G(l),0<=(p=l.indexOf("?"))&&(l=l.slice(0,p)),(p=l.lastIndexOf("/"))!==l.length-1&&(l=l.slice(0,p+1)),Fa=l+e)},setDocumentTitle:function(e){Ea=document.title;Qa=e},discardHashTag:function(e){nc=e},discardBrace:function(e){oc=e},setCookiePath:function(e){pb=e;W()},setVisitorCookieTimeout:function(e){qc=e},crossDomainLinker:function(e){Q(e)},enableActivityTracking:function(e){aa.configurations.pagePing||(aa.enabled=!0,aa.configurations.pagePing=
L(R(R({},e),{callback:ea})))},enableActivityTrackingCallback:function(e){aa.configurations.callback||(aa.enabled=!0,aa.configurations.callback=L(e))},updatePageActivity:function(){fa()},setOptOutCookie:function(e){Pb=e},setUserId:function(e){Aa=e},setUserIdFromLocation:function(e){x();Aa=Ia(e,pa)},setUserIdFromReferrer:function(e){x();Aa=Ia(e,Na)},setUserIdFromCookie:function(e){Aa=da(e)},setCollectorUrl:function(e){Rb=ua(e);qa.setCollectorUrl(Rb)},setBufferSize:function(e){qa.setBufferSize(e)},flushBuffer:function(e){void 0===
e&&(e={});qa.executeQueue();e.newBufferSize&&qa.setBufferSize(e.newBufferSize)},trackPageView:function(e){void 0===e&&(e={});u(e)},preservePageViewId:function(){uc=!0},disableAnonymousTracking:function(e){k.anonymousTracking=!1;sa(e);wa();qa.executeQueue()},enableAnonymousTracking:function(e){var l;k.anonymousTracking=null!==(l=e&&(null===e||void 0===e?void 0:e.options))&&void 0!==l?l:!0;sa(e);za||La()},clearUserData:Wa}),{id:r,namespace:n,core:Z,sharedState:t})}(a,b,c,d,f,g);var m=R(R({},a),{addPlugin:function(r){var n,
A;m.core.addPlugin(r);null===(A=(n=r.plugin).activateBrowserPlugin)||void 0===A?void 0:A.call(n,m)}});h.forEach(function(r){var n;null===(n=r.activateBrowserPlugin)||void 0===n?void 0:n.call(r,m)});return m}function C(a,b){try{var c=null!==a&&void 0!==a?a:Object.keys(Ra);a=Ra;for(var d=[],f=0;f<c.length;f++){var g=c[f];a.hasOwnProperty(g)?d.push(a[g]):ba.warn(g+" not configured")}d.forEach(b)}catch(h){ba.error("Function failed",h)}}function md(){function a(){"hidden"==f.visibilityState&&d.bufferFlushers.forEach(function(h){h(!1)})}
function b(){var h;if(!d.hasLoaded)for(d.hasLoaded=!0,h=0;h<d.registeredOnLoadHandlers.length;h++)d.registeredOnLoadHandlers[h]();return!0}function c(){f.addEventListener?f.addEventListener("DOMContentLoaded",function m(){f.removeEventListener("DOMContentLoaded",m,!1);b()}):f.attachEvent&&f.attachEvent("onreadystatechange",function r(){"complete"===f.readyState&&(f.detachEvent("onreadystatechange",r),b())});na(g,"load",b,!1)}var d=new nd,f=document,g=window;f.visibilityState&&na(f,"visibilitychange",
a,!1);na(g,"beforeunload",function(){d.bufferFlushers.forEach(function(h){h(!1)})},!1);"loading"===document.readyState?c():b();return d}var R=function(){R=Object.assign||function(a){for(var b,c=1,d=arguments.length;c<d;c++){b=arguments[c];for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])}return a};return R.apply(this,arguments)},ra={},zc="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&
msCrypto.getRandomValues.bind(msCrypto);if(zc){var Ac=new Uint8Array(16);ra=function(){zc(Ac);return Ac}}else{var Bc=Array(16);ra=function(){for(var a=0,b;16>a;a++)0===(a&3)&&(b=4294967296*Math.random()),Bc[a]=b>>>((a&3)<<3)&255;return Bc}}for(var O=[],hb=0;256>hb;++hb)O[hb]=(hb+256).toString(16).substr(1);var Cc=function(a,b){b=b||0;return[O[a[b++]],O[a[b++]],O[a[b++]],O[a[b++]],"-",O[a[b++]],O[a[b++]],"-",O[a[b++]],O[a[b++]],"-",O[a[b++]],O[a[b++]],"-",O[a[b++]],O[a[b++]],O[a[b++]],O[a[b++]],O[a[b++]],
O[a[b++]]].join("")},od=ra,Dc,Sb,Tb=0,Ub=0,pd=ra;ra=function(a,b,c){c=b&&c||0;"string"==typeof a&&(b="binary"===a?Array(16):null,a=null);a=a||{};a=a.random||(a.rng||pd)();a[6]=a[6]&15|64;a[8]=a[8]&63|128;if(b)for(var d=0;16>d;++d)b[c+d]=a[d];return b||Cc(a)};ra.v1=function(a,b,c){c=b&&c||0;var d=b||[];a=a||{};var f=a.node||Dc,g=void 0!==a.clockseq?a.clockseq:Sb;if(null==f||null==g){var h=od();null==f&&(f=Dc=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]);null==g&&(g=Sb=(h[6]<<8|h[7])&16383)}h=void 0!==a.msecs?
a.msecs:(new Date).getTime();var m=void 0!==a.nsecs?a.nsecs:Ub+1,r=h-Tb+(m-Ub)/1E4;0>r&&void 0===a.clockseq&&(g=g+1&16383);(0>r||h>Tb)&&void 0===a.nsecs&&(m=0);if(1E4<=m)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Tb=h;Ub=m;Sb=g;h+=122192928E5;a=(1E4*(h&268435455)+m)%4294967296;d[c++]=a>>>24&255;d[c++]=a>>>16&255;d[c++]=a>>>8&255;d[c++]=a&255;a=h/4294967296*1E4&268435455;d[c++]=a>>>8&255;d[c++]=a&255;d[c++]=a>>>24&15|16;d[c++]=a>>>16&255;d[c++]=g>>>8|128;d[c++]=g&255;for(g=0;6>
g;++g)d[c+g]=f[g];return b?b:Cc(d)};var ia=ra.v4=ra,ma="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",la;(function(a){a[a.none=0]="none";a[a.error=1]="error";a[a.warn=2]="warn";a[a.debug=3]="debug";a[a.info=4]="info"})(la||(la={}));var ba=function(a){void 0===a&&(a=la.warn);return{setLogLevel:function(b){a=la[b]?b:la.warn},warn:function(b,c){for(var d=[],f=2;f<arguments.length;f++)d[f-2]=arguments[f];a>=la.warn&&"undefined"!==typeof console&&(f="Snowplow: "+b,c?console.warn.apply(console,
V([f+"\n",c],d,!1)):console.warn.apply(console,V([f],d,!1)))},error:function(b,c){for(var d=[],f=2;f<arguments.length;f++)d[f-2]=arguments[f];a>=la.error&&"undefined"!==typeof console&&(f="Snowplow: "+b+"\n",c?console.error.apply(console,V([f+"\n",c],d,!1)):console.error.apply(console,V([f],d,!1)))},debug:function(b){for(var c=[],d=1;d<arguments.length;d++)c[d-1]=arguments[d];a>=la.debug&&"undefined"!==typeof console&&console.debug.apply(console,V(["Snowplow: "+b],c,!1))},info:function(b){for(var c=
[],d=1;d<arguments.length;d++)c[d-1]=arguments[d];a>=la.info&&"undefined"!==typeof console&&console.info.apply(console,V(["Snowplow: "+b],c,!1))}}}(),Ec={},Fc={};(function(){var a={rotl:function(b,c){return b<<c|b>>>32-c},rotr:function(b,c){return b<<32-c|b>>>c},endian:function(b){if(b.constructor==Number)return a.rotl(b,8)&16711935|a.rotl(b,24)&4278255360;for(var c=0;c<b.length;c++)b[c]=a.endian(b[c]);return b},randomBytes:function(b){for(var c=[];0<b;b--)c.push(Math.floor(256*Math.random()));return c},
bytesToWords:function(b){for(var c=[],d=0,f=0;d<b.length;d++,f+=8)c[f>>>5]|=b[d]<<24-f%32;return c},wordsToBytes:function(b){for(var c=[],d=0;d<32*b.length;d+=8)c.push(b[d>>>5]>>>24-d%32&255);return c},bytesToHex:function(b){for(var c=[],d=0;d<b.length;d++)c.push((b[d]>>>4).toString(16)),c.push((b[d]&15).toString(16));return c.join("")},hexToBytes:function(b){for(var c=[],d=0;d<b.length;d+=2)c.push(parseInt(b.substr(d,2),16));return c},bytesToBase64:function(b){for(var c=[],d=0;d<b.length;d+=3)for(var f=
b[d]<<16|b[d+1]<<8|b[d+2],g=0;4>g;g++)8*d+6*g<=8*b.length?c.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>>6*(3-g)&63)):c.push("=");return c.join("")},base64ToBytes:function(b){b=b.replace(/[^A-Z0-9+\/]/ig,"");for(var c=[],d=0,f=0;d<b.length;f=++d%4)0!=f&&c.push(("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b.charAt(d-1))&Math.pow(2,-2*f+8)-1)<<2*f|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b.charAt(d))>>>
6-2*f);return c}};Fc=a})();var Vb={utf8:{stringToBytes:function(a){return Vb.bin.stringToBytes(unescape(encodeURIComponent(a)))},bytesToString:function(a){return decodeURIComponent(escape(Vb.bin.bytesToString(a)))}},bin:{stringToBytes:function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c)&255);return b},bytesToString:function(a){for(var b=[],c=0;c<a.length;c++)b.push(String.fromCharCode(a[c]));return b.join("")}}},Gc=Vb;(function(){var a=Fc,b=Gc.utf8,c=Gc.bin,d=function(f,g){var h=a.wordsToBytes,
m=f;m.constructor==String?m=b.stringToBytes(m):"undefined"!==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(m)?m=Array.prototype.slice.call(m,0):Array.isArray(m)||(m=m.toString());f=a.bytesToWords(m);var r=8*m.length;m=[];var n=1732584193,A=-271733879,v=-1732584194,t=271733878,k=-1009589776;f[r>>5]|=128<<24-r%32;f[(r+64>>>9<<4)+15]=r;for(r=0;r<f.length;r+=16){for(var x=n,I=A,Q=v,G=t,H=k,F=0;80>F;F++){if(16>F)m[F]=f[r+F];else{var W=m[F-3]^m[F-8]^m[F-14]^m[F-16];m[F]=W<<1|W>>>31}W=
(n<<5|n>>>27)+k+(m[F]>>>0)+(20>F?(A&v|~A&t)+1518500249:40>F?(A^v^t)+1859775393:60>F?(A&v|A&t|v&t)-1894007588:(A^v^t)-899497514);k=t;t=v;v=A<<30|A>>>2;A=n;n=W}n+=x;A+=I;v+=Q;t+=G;k+=H}h=h.call(a,[n,A,v,t,k]);return g&&g.asBytes?h:g&&g.asString?c.bytesToString(h):a.bytesToHex(h)};d._blocksize=16;d._digestsize=20;Ec=d})();var $c=Ec,Ra={},nd=function(){return function(){this.outQueues=[];this.bufferFlushers=[];this.hasLoaded=!1;this.registeredOnLoadHandlers=[]}}(),Hc="undefined"!==typeof window?md():
void 0;w.addGlobalContexts=function(a,b){C(b,function(c){c.core.addGlobalContexts(a)})};w.addPlugin=function(a,b){C(b,function(c){c.addPlugin(a)})};w.clearGlobalContexts=function(a){C(a,function(b){b.core.clearGlobalContexts()})};w.clearUserData=function(a,b){C(b,function(c){c.clearUserData(a)})};w.crossDomainLinker=function(a,b){C(b,function(c){c.crossDomainLinker(a)})};w.disableAnonymousTracking=function(a,b){C(b,function(c){c.disableAnonymousTracking(a)})};w.discardBrace=function(a,b){C(b,function(c){c.discardBrace(a)})};
w.discardHashTag=function(a,b){C(b,function(c){c.discardHashTag(a)})};w.enableActivityTracking=function(a,b){C(b,function(c){c.enableActivityTracking(a)})};w.enableActivityTrackingCallback=function(a,b){C(b,function(c){c.enableActivityTrackingCallback(a)})};w.enableAnonymousTracking=function(a,b){C(b,function(c){c.enableAnonymousTracking(a)})};w.flushBuffer=function(a,b){C(b,function(c){c.flushBuffer(a)})};w.newSession=function(a){C(a,function(b){b.newSession()})};w.newTracker=function(a,b,c){void 0===
c&&(c={});if(Hc){var d="js-".concat("3.13.0");Ra.hasOwnProperty(a)?a=null:(Ra[a]=Zc(a,a,d,b,Hc,c),a=Ra[a]);return a}};w.preservePageViewId=function(a){C(a,function(b){b.preservePageViewId()})};w.removeGlobalContexts=function(a,b){C(b,function(c){c.core.removeGlobalContexts(a)})};w.setBufferSize=function(a,b){C(b,function(c){c.setBufferSize(a)})};w.setCollectorUrl=function(a,b){C(b,function(c){c.setCollectorUrl(a)})};w.setCookiePath=function(a,b){C(b,function(c){c.setCookiePath(a)})};w.setCustomUrl=
function(a,b){C(b,function(c){c.setCustomUrl(a)})};w.setDocumentTitle=function(a,b){C(b,function(c){c.setDocumentTitle(a)})};w.setOptOutCookie=function(a,b){C(b,function(c){c.setOptOutCookie(a)})};w.setReferrerUrl=function(a,b){C(b,function(c){c.setReferrerUrl(a)})};w.setUserId=function(a,b){C(b,function(c){c.setUserId(a)})};w.setUserIdFromCookie=function(a,b){C(b,function(c){c.setUserIdFromCookie(a)})};w.setUserIdFromLocation=function(a,b){C(b,function(c){c.setUserIdFromLocation(a)})};w.setUserIdFromReferrer=
function(a,b){C(b,function(c){c.setUserIdFromReferrer(a)})};w.setVisitorCookieTimeout=function(a,b){C(b,function(c){c.setVisitorCookieTimeout(a)})};w.trackPageView=function(a,b){C(b,function(c){c.trackPageView(a)})};w.trackSelfDescribingEvent=function(a,b){C(b,function(c){c=c.core;var d=c.track,f=a.event,g=f.schema,h=f.data;f=Sa();g={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:{schema:g,data:h}};f.add("e","ue");f.addJson("ue_px","ue_pr",g);d.call(c,f,a.context,
a.timestamp)})};w.trackStructEvent=function(a,b){C(b,function(c){c=c.core;var d=c.track,f=a.category,g=a.action,h=a.label,m=a.property,r=a.value,n=Sa();n.add("e","se");n.add("se_ca",f);n.add("se_ac",g);n.add("se_la",h);n.add("se_pr",m);n.add("se_va",null==r?void 0:r.toString());d.call(c,n,a.context,a.timestamp)})};w.updatePageActivity=function(a){C(a,function(b){b.updatePageActivity()})};w.version="3.13.0";Object.defineProperty(w,"__esModule",{value:!0})})
function bc(a){return Array.isArray(a)&&2===a.length?Array.isArray(a[1])?Ta(a[0])&&a[1].every(Ba):Ta(a[0])&&Ba(a[1]):!1}function cc(a){return Array.isArray(a)&&2===a.length?Pc(a[0])?Array.isArray(a[1])?a[1].every(Ba):Ba(a[1]):!1:!1}function Yb(a){return bc(a)||cc(a)}function Qc(a,b){var c=0,e=0,f=a.accept;Array.isArray(f)?a.accept.some(function(g){return Ua(g,b)})&&e++:"string"===typeof f&&Ua(f,b)&&e++;f=a.reject;Array.isArray(f)?a.reject.some(function(g){return Ua(g,b)})&&c++:"string"===typeof f&&
Ua(f,b)&&c++;return 0<e&&0===c?!0:!1}function Ua(a,b){if(!jb(a))return!1;a=$b(a);b=/^iglu:([a-zA-Z0-9-_.]+)\/([a-zA-Z0-9-_]+)\/jsonschema\/([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$/.exec(b);b=null!==b?b.slice(1,6):void 0;if(a&&b){if(!Rc(a[0],b[0]))return!1;for(var c=1;5>c;c++)if(!dc(a[c],b[c]))return!1;return!0}return!1}function Rc(a,b){b=b.split(".");a=a.split(".");if(b&&a){if(b.length!==a.length)return!1;for(var c=0;c<a.length;c++)if(!dc(b[c],a[c]))return!1;return!0}return!1}function dc(a,
b){return a&&b&&"*"===a||a===b}function ec(a){return Array.isArray(a)?a:[a]}function ib(a,b,c,e){var f;a=ec(a).map(function(g){a:if(Ha(g))g=[g];else{if(Ta(g)){b:{var h=void 0;try{var m={event:b.getPayload(),eventType:c,eventSchema:e};h=g(m);if(Array.isArray(h)&&h.every(Ha)||Ha(h)){var r=h;break b}r=void 0;break b}catch(n){}r=void 0}if(Ha(r)){g=[r];break a}else if(Array.isArray(r)){g=r;break a}}g=void 0}if(g&&0!==g.length)return g});return(f=[]).concat.apply(f,a.filter(function(g){return null!=g&&
g.filter(Boolean)}))}function Lc(a,b,c,e){var f;a=ec(a).map(function(g){a:{if(bc(g)){var h=g[0],m=!1;try{var r={event:b.getPayload(),eventType:c,eventSchema:e};m=h(r)}catch(n){m=!1}if(!0===m){g=ib(g[1],b,c,e);break a}}else if(cc(g)&&Qc(g[0],e)){g=ib(g[1],b,c,e);break a}g=[]}if(g&&0!==g.length)return g});return(f=[]).concat.apply(f,a.filter(function(g){return null!=g&&g.filter(Boolean)}))}function Sc(a){return null==a?{type:"dtm",value:(new Date).getTime()}:"number"===typeof a?{type:"dtm",value:a}:
"ttm"===a.type?{type:"ttm",value:a.value}:{type:"dtm",value:a.value||(new Date).getTime()}}function Tc(a){void 0===a&&(a={});var b=a.base64,c=a.corePlugins,e=null!==c&&void 0!==c?c:[];a=function(g,h,m){function r(k,v){k=A.getApplicableContexts(k);var H=[];v&&v.length&&H.push.apply(H,v);k&&k.length&&H.push.apply(H,k);return H}var n=Mc(h),A=Kc(),w=g,t={};return{track:function(k,v,H,P){k.withJsonProcessor(Jc(w));k.add("eid",ia.v4());k.addDict(t);H=Sc(H);k.add(H.type,H.value.toString());P=P?[{schema:"iglu:com.snowplowanalytics.snowplow/tracking_scenario/jsonschema/1-0-0",
data:P}]:[];v=v?Q([],v,!0):[];v=r(k,n.addPluginContexts(Q(Q([],v,!0),P,!0)));v=v&&v.length?{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:v}:void 0;void 0!==v&&k.addJson("cx","co",v);h.forEach(function(G){try{G.beforeTrack&&G.beforeTrack(k)}catch(E){ba.error("Plugin beforeTrack",E)}});"function"===typeof m&&m(k);var J=k.build();h.forEach(function(G){try{G.afterTrack&&G.afterTrack(J)}catch(E){ba.error("Plugin afterTrack",E)}});return J},addPayloadPair:function(k,v){t[k]=
v},getBase64Encoding:function(){return w},setBase64Encoding:function(k){w=k},addPayloadDict:function(k){for(var v in k)Object.prototype.hasOwnProperty.call(k,v)&&(t[v]=k[v])},resetPayloadPairs:function(k){t=Xb(k)?k:{}},setTrackerVersion:function(k){t.tv=k},setTrackerNamespace:function(k){t.tna=k},setAppId:function(k){t.aid=k},setPlatform:function(k){t.p=k},setUserId:function(k){t.uid=k},setScreenResolution:function(k,v){t.res=k+"x"+v},setViewport:function(k,v){t.vp=k+"x"+v},setColorDepth:function(k){t.cd=
k},setTimezone:function(k){t.tz=k},setLang:function(k){t.lang=k},setIpAddress:function(k){t.ip=k},setUseragent:function(k){t.ua=k},addGlobalContexts:function(k){A.addGlobalContexts(k)},clearGlobalContexts:function(){A.clearGlobalContexts()},removeGlobalContexts:function(k){A.removeGlobalContexts(k)}}}(null!==b&&void 0!==b?b:!0,e,a.callback);var f=S(S({},a),{addPlugin:function(g){var h,m;g=g.plugin;e.push(g);null===(h=g.logger)||void 0===h?void 0:h.call(g,ba);null===(m=g.activateCorePlugin)||void 0===
m?void 0:m.call(g,f)}});null===e||void 0===e?void 0:e.forEach(function(g){var h,m;null===(h=g.logger)||void 0===h?void 0:h.call(g,ba);null===(m=g.activateCorePlugin)||void 0===m?void 0:m.call(g,f)});return f}function Uc(a){var b=a.pageUrl,c=a.pageTitle;a=a.referrer;var e=Sa();e.add("e","pv");e.add("url",b);e.add("page",c);e.add("refr",a);return e}function Va(a,b,c){void 0===c&&(c=63072E3);try{var e=window.localStorage,f=Date.now()+1E3*c;e.setItem("".concat(a,".expires"),f.toString());e.setItem(a,
b);return!0}catch(g){return!1}}function fc(a){try{var b=window.localStorage;b.removeItem(a);b.removeItem(a+".expires");return!0}catch(c){return!1}}function gc(a){try{return window.sessionStorage.getItem(a)}catch(b){}}function hc(a){return Number.isInteger&&Number.isInteger(a)||"number"===typeof a&&isFinite(a)&&Math.floor(a)===a}function ic(a){if(!a||"string"!==typeof a.valueOf()){a=a.text||"";var b=document.getElementsByTagName("title");b&&null!=b[0]&&(a=b[0].text)}return a}function kb(a){var b=/^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(a);
return b?b[1]:a}function jc(a){var b=a.length;"."===a.charAt(--b)&&(a=a.slice(0,b));"*."===a.slice(0,2)&&(a=a.slice(1));return a}function lb(a){var b=window,c=Ia("referrer",b.location.href)||Ia("referer",b.location.href);if(c)return c;if(a)return a;try{if(b.top)return b.top.document.referrer;if(b.parent)return b.parent.document.referrer}catch(e){}return document.referrer}function na(a,b,c,e){if(a.addEventListener)return a.addEventListener(b,c,e),!0;if(a.attachEvent)return a.attachEvent("on"+b,c);
a["on"+b]=c}function Ia(a,b){return(a=(new RegExp("^[^#]*[?&]"+a+"=([^&#]*)")).exec(b))?decodeURIComponent(a[1].replace(/\+/g," ")):null}function Vc(a,b){for(var c=window.location.hostname,e="_sp_root_domain_test_"+(new Date).getTime(),f="_test_value_"+(new Date).getTime(),g=c.split("."),h=g.length-2;0<=h;h--){var m=g.slice(h).join(".");da(e,f,0,"/",m,a,b);if(da(e)===f){da(e,"",-1,"/",m,a,b);c=document.cookie.split("; ");e=[];for(f=0;f<c.length;f++)"_sp_root_domain_test_"===c[f].substring(0,21)&&
e.push(c[f]);c=e;for(e=0;e<c.length;e++)da(c[e],"",-1,"/",m,a,b);return m}}return c}function da(a,b,c,e,f,g,h){return 1<arguments.length?document.cookie=a+"="+encodeURIComponent(null!==b&&void 0!==b?b:"")+(c?"; Expires="+(new Date(+new Date+1E3*c)).toUTCString():"")+(e?"; Path="+e:"")+(f?"; Domain="+f:"")+(g?"; SameSite="+g:"")+(h?"; Secure":""):decodeURIComponent((("; "+document.cookie).split("; "+a+"=")[1]||"").split(";")[0])}function Wc(){try{var a=!!window.localStorage}catch(c){a=!0}if(!a)return!1;
try{var b=window.localStorage;b.setItem("modernizr","modernizr");b.removeItem("modernizr");return!0}catch(c){return!1}}function Xc(a,b,c,e,f,g,h,m,r,n,A,w,t,k,v,H){function P(q){var z=Object.keys(q).map(function(y){return[y,q[y]]}).reduce(function(y,u){y[u[0]]=u[1].toString();return y},{});return{evt:z,bytes:J(JSON.stringify(z))}}function J(q){for(var z=0,y=0;y<q.length;y++){var u=q.charCodeAt(y);127>=u?z+=1:2047>=u?z+=2:55296<=u&&57343>=u?(z+=4,y++):z=65535>u?z+3:z+4}return z}function G(q){for(void 0===
q&&(q=!1);D.length&&"string"!==typeof D[0]&&"object"!==typeof D[0];)D.shift();if(1>D.length)T=!1;else{if(!U||"string"!==typeof U.valueOf())throw"No collector configured";T=!0;if(sa){var z=function(L){for(var ca=0,Ca=0;ca<L.length&&!(Ca+=L[ca].bytes,Ca>=h);)ca+=1;return ca},y=void 0;if(ta(D)){y=U;var u=E(y,!0,q);var I=z(D)}else y=Ja(D[0]),u=E(y,!1,q),I=1;var M=setTimeout(function(){u.abort();T=!1},A),ea=function(L){for(var ca=0;ca<L;ca++)D.shift();c&&Va(ua,JSON.stringify(D.slice(0,n)))};u.onreadystatechange=
function(){if(4===u.readyState&&200<=u.status)if(clearTimeout(M),300>u.status)ea(I),G();else{var L=u.status;L=200<=L&&300>L?!1:v.includes(L)?!0:!H.includes(L);L||(ba.error("Status ".concat(u.status,", will not retry.")),ea(I));T=!1}};if(ta(D)){if(z=D.slice(0,I),0<z.length){q=!1;z=z.map(function(L){return L.evt});if(Wa){var Ka=new Blob([W(fa(z))],{type:"application/json"});try{q=navigator.sendBeacon(y,Ka)}catch(L){q=!1}}!0===q?(ea(I),G()):u.send(W(fa(z)))}}else u.send()}else if(w||ta(D))T=!1;else{y=
new Image(1,1);var ha=!0;y.onload=function(){ha&&(ha=!1,D.shift(),c&&Va(ua,JSON.stringify(D.slice(0,n))),G())};y.onerror=function(){ha&&(T=ha=!1)};y.src=Ja(D[0]);setTimeout(function(){ha&&T&&(ha=!1,G())},A)}}}function E(q,z,y){var u=new XMLHttpRequest;z?(u.open("POST",q,!y),u.setRequestHeader("Content-Type","application/json; charset=UTF-8")):u.open("GET",q,!y);u.withCredentials=k;w&&u.setRequestHeader("SP-Anonymous","*");for(var I in t)Object.prototype.hasOwnProperty.call(t,I)&&u.setRequestHeader(I,
t[I]);return u}function W(q){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:q})}function fa(q){for(var z=(new Date).getTime().toString(),y=0;y<q.length;y++)q[y].stm=z;return q}function Ja(q){return r?U+q.replace("?","?stm="+(new Date).getTime()+"&"):U+q}function Xa(q){function z(u,I,M){return(M=M.match("(Macintosh;.*Mac OS X (d+)_(d+)[_d]*.*) AppleWebKit/"))&&M.length?parseInt(M[0])<=u||parseInt(M[0])===u&&parseInt(M[1])<=I:!1}function y(u){return u.match("Version/.* Safari/")&&
!u.match("Chrom(e|ium)")}return function(u,I){return(I=I.match("(iP.+; CPU .*OS (d+)[_d]*.*) AppleWebKit/"))&&I.length?parseInt(I[0])<=u:!1}(13,q)||z(10,15,q)&&y(q)}var T=!1,U,D=[];e="string"===typeof e?e.toLowerCase():e;var va=!0===e||"beacon"===e||"true"===e,Wa=!(!(va&&window.navigator&&window.navigator.sendBeacon)||Xa(window.navigator.userAgent))&&va,sa=!!(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest),wa="get"!==e&&sa&&("post"===e||va),oa=wa?f:"/i",ua="snowplowOutQueue_".concat(a,
"_").concat(wa?"post2":"get");va&&(t={});g=c&&Wc()&&wa&&g||1;if(c)try{var La=window.localStorage.getItem(ua);D=La?JSON.parse(La):[]}catch(q){}Array.isArray(D)||(D=[]);b.outQueues.push(D);sa&&1<g&&b.bufferFlushers.push(function(q){T||G(q)});var ta=function(q){return"object"===typeof q[0]};return{enqueueRequest:function(q,z){U=z+oa;if(wa){q=P(q);if(q.bytes>=h){ba.warn("Event ("+q.bytes+"B) too big, max is "+h);z=q;E(U,!0,!1).send(W(fa([z.evt])));return}D.push(q)}else{var y="?";var u={co:!0,cx:!0},I=
!0,M;for(M in q)q.hasOwnProperty(M)&&!u.hasOwnProperty(M)&&(I?I=!1:y+="&",y+=encodeURIComponent(M)+"="+encodeURIComponent(q[M]));for(var ea in u)q.hasOwnProperty(ea)&&u.hasOwnProperty(ea)&&(y+="&"+ea+"="+encodeURIComponent(q[ea]));if(0<m&&(u=Ja(y),u=J(u),u>=m)){ba.warn("Event ("+u+"B) too big, max is "+m);sa&&(q=P(q),E(z+f,!0,!1).send(W(fa([q.evt]))));return}D.push(y)}z=!1;c&&(z=Va(ua,JSON.stringify(D.slice(0,n))));T||z&&!(D.length>=g)||G()},executeQueue:function(){T||G()},setUseLocalStorage:function(q){c=
q},setAnonymousTracking:function(q){w=q},setCollectorUrl:function(q){U=q+oa},setBufferSize:function(q){g=q}}}function kc(a,b,c){if("translate.googleusercontent.com"===a)""===c&&(c=b),a=(a=/^(?:https?|ftp)(?::\/*(?:[^?]+))([?][^#]+)/.exec(b))&&1<(null===a||void 0===a?void 0:a.length)?Ia("u",a[1]):null,b=null!==a&&void 0!==a?a:"",a=kb(b);else if("cc.bingj.com"===a||"webcache.googleusercontent.com"===a)b=document.links[0].href,a=kb(b);return[a,b,c]}function Yc(a,b,c,e){var f=Math.round((new Date).getTime()/
1E3);a?(a=a.split("."),a.unshift("0")):a=["1",b,f,e,f,"",c];a[6]&&"undefined"!==a[6]||(a[6]=ia.v4());a[7]&&"undefined"!==a[7]||(a[7]="");a[8]&&"undefined"!==a[8]||(a[8]="");a[9]&&"undefined"!==a[9]||(a[9]="");a[10]&&"undefined"!==a[10]||(a[10]=0);var g=function(h,m){h=parseInt(h);return isNaN(h)?m:h};b=function(h){return h?g(h,void 0):void 0};return[a[0],a[1],g(a[2],f),g(a[3],e),g(a[4],f),b(a[5]),a[6],a[7],a[8],b(a[9]),g(a[10],0)]}function Ma(a,b){var c=S({memorizedVisitCount:1},b),e=c.memorizedVisitCount;
b=c.configStateStorageStrategy;var f=c.configAnonymousTracking;c=c.onSessionUpdateCallback;"0"===a[0]?(a[7]=a[6],a[5]=a[4],a[3]++):a[3]=e;e=ia.v4();a[6]=e;a[10]=0;a[8]="";a[9]=void 0;c&&c(lc(a,b,f));return e}function mb(a){a[4]=Math.round((new Date).getTime()/1E3)}function lc(a,b,c){var e=a[9];return{userId:c?"00000000-0000-0000-0000-000000000000":a[1],sessionId:a[6],eventIndex:a[10],sessionIndex:a[3],previousSessionId:c?null:a[7]||null,storageMechanism:"localStorage"==b?"LOCAL_STORAGE":"COOKIE_1",
firstEventId:a[8]||null,firstEventTimestamp:e?(new Date(e)).toISOString():null}}function nb(){var a=ob;if("innerWidth"in window){var b=window.innerWidth;var c=window.innerHeight}else c=document.documentElement||document.body,b=c.clientWidth,c=c.clientHeight;a=a(0<=b&&0<=c?b+"x"+c:null);b=ob;var e=document.documentElement,f=document.body;c=Math.max(e.clientWidth,e.offsetWidth,e.scrollWidth);e=Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight,f?Math.max(f.offsetHeight,f.scrollHeight):0);c=isNaN(c)||
isNaN(e)?"":c+"x"+e;return{viewport:a,documentSize:b(c),resolution:ob(screen.width+"x"+screen.height),colorDepth:screen.colorDepth,devicePixelRatio:window.devicePixelRatio,cookiesEnabled:window.navigator.cookieEnabled,online:window.navigator.onLine,browserLanguage:navigator.language||navigator.userLanguage,documentLanguage:document.documentElement.lang,webdriver:window.navigator.webdriver,deviceMemory:window.navigator.deviceMemory,hardwareConcurrency:window.navigator.hardwareConcurrency}}function ob(a){return a&&
a.split("x").map(function(b){return Math.floor(Number(b))}).join("x")}function Zc(a,b,c,e,f,g){void 0===g&&(g={});var h=[];a=function(r,n,A,w,t,k){function v(){xa=kc(window.location.hostname,window.location.href,lb());xa[1]!==pa&&(Na=lb(pa));mc=jc(xa[0]);pa=xa[1]}function H(d){var l=(new Date).getTime();d=d.currentTarget;if(null===d||void 0===d?0:d.href){l="_sp="+(Ya+"."+l);var p=d.href.split("#"),B=p[0].split("?"),K=B.shift();if(B=B.join("?")){for(var R=!0,X=B.split("&"),V=0;V<X.length;V++)if("_sp="===
X[V].substr(0,4)){R=!1;X[V]=l;B=X.join("&");break}R&&(B=l+"&"+B)}else B=l;p[0]=K+"?"+B;l=p.join("#");d.href=l}}function P(d){for(var l=0;l<document.links.length;l++){var p=document.links[l];!p.spDecorationEnabled&&d(p)&&(na(p,"click",H,!0),na(p,"mousedown",H,!0),p.spDecorationEnabled=!0)}}function J(d){if(nc){var l=/#.*/;d=d.replace(l,"")}oc&&(l=/[{}]/g,d=d.replace(l,""));return d}function G(d){return(d=/^([a-z]+):/.exec(d))?d[1]:null}function E(d){d=Da+d+"."+ya;if("localStorage"==F){try{var l=window.localStorage,
p=l.getItem(d+".expires");if(null===p||+p>Date.now())var B=l.getItem(d);else l.removeItem(d),l.removeItem(d+".expires"),B=void 0}catch(K){B=void 0}return B}if("cookie"==F||"cookieAndLocalStorage"==F)return da(d)}function W(){v();ya=$c((Oa||mc)+(pb||"/")).slice(0,4)}function fa(){Za=(new Date).getTime()}function Ja(){var d=Xa(),l=d[0];l<$a?$a=l:l>ab&&(ab=l);d=d[1];d<bb?bb=d:d>cb&&(cb=d);fa()}function Xa(){var d=document.documentElement;return d?[d.scrollLeft||window.pageXOffset,d.scrollTop||window.pageYOffset]:
[0,0]}function T(){var d=Xa(),l=d[0];ab=$a=l;cb=bb=d=d[1]}function U(){va(Da+"ses."+ya,"*",pc)}function D(d){var l=Da+"id."+ya;d.shift();d=d.join(".");va(l,d,qc)}function va(d,l,p){if(!N||za)"localStorage"==F?Va(d,l,p):("cookie"==F||"cookieAndLocalStorage"==F)&&da(d,l,p,pb,Oa,db,eb)}function Wa(d){var l=Da+"id."+ya,p=Da+"ses."+ya;fc(l);fc(p);da(l,"",-1,"/",Oa,db,eb);da(p,"",-1,"/",Oa,db,eb);null!==d&&void 0!==d&&d.preserveSession||(ja=ia.v4(),Y=1);null!==d&&void 0!==d&&d.preserveUser||(Ya=N?"":ia.v4(),
Aa=null)}function sa(d){d&&d.stateStorageStrategy&&(k.stateStorageStrategy=d.stateStorageStrategy,F=rc(k));N=!!k.anonymousTracking;za=sc(k);qb=tc(k);qa.setUseLocalStorage("localStorage"==F||"cookieAndLocalStorage"==F);qa.setAnonymousTracking(qb)}function wa(){if(!N||za){var d="none"!=F&&!!E("ses"),l=oa();if(l[1])var p=l[1];else p=N?"":ia.v4(),l[1]=p;Ya=p;ja=d?l[6]:Ma(l,{configStateStorageStrategy:F,configAnonymousTracking:N,onSessionUpdateCallback:Pa});Y=l[3];"none"!=F&&(U(),mb(l),D(l))}}function oa(){if("none"==
F)return["1","",0,0,0,void 0,"","","",void 0,0];var d=E("id")||void 0;return Yc(d,Ya,ja,Y)}function ua(d){return 0===d.indexOf("http")?d:("https:"===document.location.protocol?"https":"http")+"://"+d}function La(){uc&&null!=t.pageViewId||(t.pageViewId=ia.v4())}function ta(){null==t.pageViewId&&(t.pageViewId=ia.v4());return t.pageViewId}function q(){if("none"===F||N||!vc)return null;var d=gc("_sp_tab_id");if(!d){d=ia.v4();try{window.sessionStorage.setItem("_sp_tab_id",d)}catch(l){}d=gc("_sp_tab_id")}return d||
null}function z(){return{contexts:function(){return[{schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:ta()}}]}}}function y(){return{contexts:function(){return[{schema:"iglu:com.snowplowanalytics.snowplow/browser_context/jsonschema/1-0-0",data:S(S({},nb()),{tabId:q()})}]}}}function u(d){var l=d.title,p=d.context,B=d.timestamp,K=d.scenario;d=d.contextCallback;v();wc&&La();wc=!0;Ea=document.title;Qa=l;l=ic(Qa||Ea);Z.track(Uc({pageUrl:J(Fa||pa),pageTitle:l,referrer:J(fb||
Na)}),(p||[]).concat(d?d():[]),B,K);B=new Date;K=!1;if(aa.enabled&&!aa.installed){K=aa.installed=!0;var R={update:function(){if("undefined"!==typeof window&&"function"===typeof window.addEventListener){var X=!1,V=Object.defineProperty({},"passive",{get:function(){X=!0},set:function(){}}),Ga=function(){};window.addEventListener("testPassiveEventSupport",Ga,V);window.removeEventListener("testPassiveEventSupport",Ga,V);R.hasSupport=X}}};R.update();l="onwheel"in document.createElement("div")?"wheel":
void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(R,"hasSupport")?na(document,l,fa,{passive:!0}):na(document,l,fa);T();l=function(X,V){void 0===V&&(V=fa);return function(Ga){return na(document,Ga,V)}};"click mouseup mousedown mousemove keypress keydown keyup touchend touchstart".split(" ").forEach(l(document));["resize","focus","blur"].forEach(l(window));l(window,Ja)("scroll")}if(aa.enabled&&(ad||K))for(B in Za=B.getTime(),B=void 0,aa.configurations)if(K=
aa.configurations[B])window.clearInterval(K.activityInterval),I(K,p,d)}function I(d,l,p){var B=function(R,X){v();R({context:X,pageViewId:ta(),minXOffset:$a,minYOffset:bb,maxXOffset:ab,maxYOffset:cb});T()},K=function(){Za+d.configHeartBeatTimer>(new Date).getTime()&&B(d.callback,(l||[]).concat(p?p():[]))};d.activityInterval=0!=d.configMinimumVisitLength?window.setTimeout(function(){Za+d.configMinimumVisitLength>(new Date).getTime()&&B(d.callback,(l||[]).concat(p?p():[]));d.activityInterval=window.setInterval(K,
d.configHeartBeatTimer)},d.configMinimumVisitLength):window.setInterval(K,d.configHeartBeatTimer)}function M(d){var l=d.minimumVisitLength,p=d.heartbeatDelay;d=d.callback;if(hc(l)&&hc(p))return{configMinimumVisitLength:1E3*l,configHeartBeatTimer:1E3*p,callback:d};ba.error("Activity tracking minimumVisitLength & heartbeatDelay must be integers")}function ea(d){var l=d.context,p=d.minXOffset,B=d.minYOffset,K=d.maxXOffset,R=d.maxYOffset;d=document.title;d!==Ea&&(Ea=d,Qa=void 0);d=Z;var X=d.track,V=J(Fa||
pa),Ga=ic(Qa||Ea),bd=J(fb||Na);p=Math.round(p);K=Math.round(K);B=Math.round(B);R=Math.round(R);var ka=Sa();ka.add("e","pp");ka.add("url",V);ka.add("page",Ga);ka.add("refr",bd);p&&!isNaN(Number(p))&&ka.add("pp_mix",p.toString());K&&!isNaN(Number(K))&&ka.add("pp_max",K.toString());B&&!isNaN(Number(B))&&ka.add("pp_miy",B.toString());R&&!isNaN(Number(R))&&ka.add("pp_may",R.toString());X.call(d,ka,l)}var Ka,ha,L,ca,Ca,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb;k.eventMethod=null!==
(Ka=k.eventMethod)&&void 0!==Ka?Ka:"post";var rc=function(d){var l;return null!==(l=d.stateStorageStrategy)&&void 0!==l?l:"cookieAndLocalStorage"},sc=function(d){var l,p;return"boolean"===typeof d.anonymousTracking?!1:null!==(p=!0===(null===(l=d.anonymousTracking)||void 0===l?void 0:l.withSessionTracking))&&void 0!==p?p:!1},tc=function(d){var l,p;return"boolean"===typeof d.anonymousTracking?!1:null!==(p=!0===(null===(l=d.anonymousTracking)||void 0===l?void 0:l.withServerAnonymisation))&&void 0!==
p?p:!1},cd=null!==(L=null===(ha=null===k||void 0===k?void 0:k.contexts)||void 0===ha?void 0:ha.browser)&&void 0!==L?L:!1,vc=null!==(Ca=null===(ca=null===k||void 0===k?void 0:k.contexts)||void 0===ca?void 0:ca.webPage)&&void 0!==Ca?Ca:!0;h.push(function(){return{beforeTrack:function(d){var l=E("ses"),p=oa();Ob=Pb?!!da(Pb):!1;if(xc||Ob)Wa();else{"0"===p[0]?(ja=l||"none"==F?p[6]:Ma(p,{configStateStorageStrategy:F,configAnonymousTracking:N,onSessionUpdateCallback:Pa}),Y=p[3]):(new Date).getTime()-Qb>
1E3*pc&&(Y++,ja=Ma(p,{configStateStorageStrategy:F,configAnonymousTracking:N,memorizedVisitCount:Y,onSessionUpdateCallback:Pa}));mb(p);0===p[10]&&(l=d.build(),p[8]=l.eid,l=l.dtm||l.ttm,p[9]=l?parseInt(l):void 0);p[10]+=1;l=nb();var B=l.documentSize;d.add("vp",l.viewport);d.add("ds",B);d.add("vid",za?Y:N?null:Y);d.add("sid",za?ja:N?null:ja);d.add("duid",N?null:p[1]);d.add("uid",N?null:Aa);v();d.add("refr",J(fb||Na));d.add("url",J(Fa||pa));!dd||N&&!za||(l=lc(p,F,N),d.addContextEntity({schema:"iglu:com.snowplowanalytics.snowplow/client_session/jsonschema/1-0-2",
data:l}));"none"!=F&&(D(p),U());Qb=(new Date).getTime()}}}}());vc&&h.push(z());cd&&h.push(y());h.push.apply(h,null!==(rb=k.plugins)&&void 0!==rb?rb:[]);var Z=Tc({base64:k.encodeBase64,corePlugins:h,callback:function(d){xc||Ob||qa.enqueueRequest(d.build(),Rb)}}),ed=document.characterSet||document.charset,xa=kc(window.location.hostname,window.location.href,lb()),mc=jc(xa[0]),pa=xa[1],Na=xa[2],fb,fd=null!==(sb=k.platform)&&void 0!==sb?sb:"web",Rb=ua(w),gd=null!==(tb=k.postPath)&&void 0!==tb?tb:"/com.snowplowanalytics.snowplow/tp2",
hd=null!==(ub=k.appId)&&void 0!==ub?ub:"",Fa,Ea=document.title,Qa,ad=null!==(vb=k.resetActivityTrackingOnPageView)&&void 0!==vb?vb:!0,nc,oc,Da=null!==(wb=k.cookieName)&&void 0!==wb?wb:"_sp_",Oa=null!==(xb=k.cookieDomain)&&void 0!==xb?xb:void 0,pb="/",db=null!==(yb=k.cookieSameSite)&&void 0!==yb?yb:"None",eb=null!==(zb=k.cookieSecure)&&void 0!==zb?zb:!0,yc=navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack,xc="undefined"!==typeof k.respectDoNotTrack?k.respectDoNotTrack&&("yes"===yc||"1"===
yc):!1,Pb,qc=null!==(Ab=k.cookieLifetime)&&void 0!==Ab?Ab:63072E3,pc=null!==(Bb=k.sessionCookieTimeout)&&void 0!==Bb?Bb:1800,za=sc(k),qb=tc(k),N=!!k.anonymousTracking,F=rc(k),Za,Qb=(new Date).getTime(),$a,ab,bb,cb,ya,Ya,ja,Y=1,Aa,qa=Xc(r,t,"localStorage"==F||"cookieAndLocalStorage"==F,k.eventMethod,gd,null!==(Cb=k.bufferSize)&&void 0!==Cb?Cb:1,null!==(Db=k.maxPostBytes)&&void 0!==Db?Db:4E4,null!==(Eb=k.maxGetBytes)&&void 0!==Eb?Eb:0,null!==(Fb=k.useStm)&&void 0!==Fb?Fb:!0,null!==(Gb=k.maxLocalStorageQueueSize)&&
void 0!==Gb?Gb:1E3,null!==(Hb=k.connectionTimeout)&&void 0!==Hb?Hb:5E3,qb,null!==(Ib=k.customHeaders)&&void 0!==Ib?Ib:{},null!==(Jb=k.withCredentials)&&void 0!==Jb?Jb:!0,null!==(Kb=k.retryStatusCodes)&&void 0!==Kb?Kb:[],(null!==(Lb=k.dontRetryStatusCodes)&&void 0!==Lb?Lb:[]).concat([400,401,403,410,422])),uc=!1,wc=!1,aa={enabled:!1,installed:!1,configurations:{}},dd=null!==(Nb=null===(Mb=k.contexts)||void 0===Mb?void 0:Mb.session)&&void 0!==Nb?Nb:!1,Ob,Pa=k.onSessionUpdateCallback;k.hasOwnProperty("discoverRootDomain")&&
k.discoverRootDomain&&(Oa=Vc(db,eb));var gb=nb(),id=gb.browserLanguage,jd=gb.resolution,kd=gb.colorDepth,ld=gb.cookiesEnabled;Z.setTrackerVersion(A);Z.setTrackerNamespace(n);Z.setAppId(hd);Z.setPlatform(fd);Z.addPayloadPair("cookie",ld?"1":"0");Z.addPayloadPair("cs",ed);Z.addPayloadPair("lang",id);Z.addPayloadPair("res",jd);Z.addPayloadPair("cd",kd);W();wa();k.crossDomainLinker&&P(k.crossDomainLinker);return S(S({},{getDomainSessionIndex:function(){return Y},getPageViewId:ta,getTabId:q,newSession:function(){var d=
oa();"0"===d[0]?(ja="none"!=F?Ma(d,{configStateStorageStrategy:F,configAnonymousTracking:N,onSessionUpdateCallback:Pa}):d[6],Y=d[3],U()):(Y++,ja=Ma(d,{configStateStorageStrategy:F,configAnonymousTracking:N,memorizedVisitCount:Y,onSessionUpdateCallback:Pa}));mb(d);"none"!=F&&(D(d),U());Qb=(new Date).getTime()},getCookieName:function(d){return Da+d+"."+ya},getUserId:function(){return Aa},getDomainUserId:function(){return oa()[1]},getDomainUserInfo:function(){return oa()},setReferrerUrl:function(d){fb=
d},setCustomUrl:function(d){v();var l=pa,p;G(d)?Fa=d:"/"===d.slice(0,1)?Fa=G(l)+"://"+kb(l)+d:(l=J(l),0<=(p=l.indexOf("?"))&&(l=l.slice(0,p)),(p=l.lastIndexOf("/"))!==l.length-1&&(l=l.slice(0,p+1)),Fa=l+d)},setDocumentTitle:function(d){Ea=document.title;Qa=d},discardHashTag:function(d){nc=d},discardBrace:function(d){oc=d},setCookiePath:function(d){pb=d;W()},setVisitorCookieTimeout:function(d){qc=d},crossDomainLinker:function(d){P(d)},enableActivityTracking:function(d){aa.configurations.pagePing||
(aa.enabled=!0,aa.configurations.pagePing=M(S(S({},d),{callback:ea})))},enableActivityTrackingCallback:function(d){aa.configurations.callback||(aa.enabled=!0,aa.configurations.callback=M(d))},updatePageActivity:function(){fa()},setOptOutCookie:function(d){Pb=d},setUserId:function(d){Aa=d},setUserIdFromLocation:function(d){v();Aa=Ia(d,pa)},setUserIdFromReferrer:function(d){v();Aa=Ia(d,Na)},setUserIdFromCookie:function(d){Aa=da(d)},setCollectorUrl:function(d){Rb=ua(d);qa.setCollectorUrl(Rb)},setBufferSize:function(d){qa.setBufferSize(d)},
flushBuffer:function(d){void 0===d&&(d={});qa.executeQueue();d.newBufferSize&&qa.setBufferSize(d.newBufferSize)},trackPageView:function(d){void 0===d&&(d={});u(d)},preservePageViewId:function(){uc=!0},disableAnonymousTracking:function(d){k.anonymousTracking=!1;sa(d);wa();qa.executeQueue()},enableAnonymousTracking:function(d){var l;k.anonymousTracking=null!==(l=d&&(null===d||void 0===d?void 0:d.options))&&void 0!==l?l:!0;sa(d);za||La()},clearUserData:Wa}),{id:r,namespace:n,core:Z,sharedState:t})}(a,
b,c,e,f,g);var m=S(S({},a),{addPlugin:function(r){var n,A;m.core.addPlugin(r);null===(A=(n=r.plugin).activateBrowserPlugin)||void 0===A?void 0:A.call(n,m)}});h.forEach(function(r){var n;null===(n=r.activateBrowserPlugin)||void 0===n?void 0:n.call(r,m)});return m}function C(a,b){try{var c=null!==a&&void 0!==a?a:Object.keys(Ra);a=Ra;for(var e=[],f=0;f<c.length;f++){var g=c[f];a.hasOwnProperty(g)?e.push(a[g]):ba.warn(g+" not configured")}e.forEach(b)}catch(h){ba.error("Function failed",h)}}function md(){function a(){"hidden"==
f.visibilityState&&e.bufferFlushers.forEach(function(h){h(!1)})}function b(){var h;if(!e.hasLoaded)for(e.hasLoaded=!0,h=0;h<e.registeredOnLoadHandlers.length;h++)e.registeredOnLoadHandlers[h]();return!0}function c(){f.addEventListener?f.addEventListener("DOMContentLoaded",function m(){f.removeEventListener("DOMContentLoaded",m,!1);b()}):f.attachEvent&&f.attachEvent("onreadystatechange",function r(){"complete"===f.readyState&&(f.detachEvent("onreadystatechange",r),b())});na(g,"load",b,!1)}var e=new nd,
f=document,g=window;f.visibilityState&&na(f,"visibilitychange",a,!1);na(g,"beforeunload",function(){e.bufferFlushers.forEach(function(h){h(!1)})},!1);"loading"===document.readyState?c():b();return e}var S=function(){S=Object.assign||function(a){for(var b,c=1,e=arguments.length;c<e;c++){b=arguments[c];for(var f in b)Object.prototype.hasOwnProperty.call(b,f)&&(a[f]=b[f])}return a};return S.apply(this,arguments)},ra={},zc="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||
"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(zc){var Ac=new Uint8Array(16);ra=function(){zc(Ac);return Ac}}else{var Bc=Array(16);ra=function(){for(var a=0,b;16>a;a++)0===(a&3)&&(b=4294967296*Math.random()),Bc[a]=b>>>((a&3)<<3)&255;return Bc}}for(var O=[],hb=0;256>hb;++hb)O[hb]=(hb+256).toString(16).substr(1);var Cc=function(a,b){b=b||0;return[O[a[b++]],O[a[b++]],O[a[b++]],O[a[b++]],"-",O[a[b++]],O[a[b++]],"-",O[a[b++]],
O[a[b++]],"-",O[a[b++]],O[a[b++]],"-",O[a[b++]],O[a[b++]],O[a[b++]],O[a[b++]],O[a[b++]],O[a[b++]]].join("")},od=ra,Dc,Sb,Tb=0,Ub=0,pd=ra;ra=function(a,b,c){c=b&&c||0;"string"==typeof a&&(b="binary"===a?Array(16):null,a=null);a=a||{};a=a.random||(a.rng||pd)();a[6]=a[6]&15|64;a[8]=a[8]&63|128;if(b)for(var e=0;16>e;++e)b[c+e]=a[e];return b||Cc(a)};ra.v1=function(a,b,c){c=b&&c||0;var e=b||[];a=a||{};var f=a.node||Dc,g=void 0!==a.clockseq?a.clockseq:Sb;if(null==f||null==g){var h=od();null==f&&(f=Dc=[h[0]|
1,h[1],h[2],h[3],h[4],h[5]]);null==g&&(g=Sb=(h[6]<<8|h[7])&16383)}h=void 0!==a.msecs?a.msecs:(new Date).getTime();var m=void 0!==a.nsecs?a.nsecs:Ub+1,r=h-Tb+(m-Ub)/1E4;0>r&&void 0===a.clockseq&&(g=g+1&16383);(0>r||h>Tb)&&void 0===a.nsecs&&(m=0);if(1E4<=m)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Tb=h;Ub=m;Sb=g;h+=122192928E5;a=(1E4*(h&268435455)+m)%4294967296;e[c++]=a>>>24&255;e[c++]=a>>>16&255;e[c++]=a>>>8&255;e[c++]=a&255;a=h/4294967296*1E4&268435455;e[c++]=a>>>8&255;e[c++]=
a&255;e[c++]=a>>>24&15|16;e[c++]=a>>>16&255;e[c++]=g>>>8|128;e[c++]=g&255;for(g=0;6>g;++g)e[c+g]=f[g];return b?b:Cc(e)};var ia=ra.v4=ra,ma="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",la;(function(a){a[a.none=0]="none";a[a.error=1]="error";a[a.warn=2]="warn";a[a.debug=3]="debug";a[a.info=4]="info"})(la||(la={}));var ba=function(a){void 0===a&&(a=la.warn);return{setLogLevel:function(b){a=la[b]?b:la.warn},warn:function(b,c){for(var e=[],f=2;f<arguments.length;f++)e[f-2]=arguments[f];
a>=la.warn&&"undefined"!==typeof console&&(f="Snowplow: "+b,c?console.warn.apply(console,Q([f+"\n",c],e,!1)):console.warn.apply(console,Q([f],e,!1)))},error:function(b,c){for(var e=[],f=2;f<arguments.length;f++)e[f-2]=arguments[f];a>=la.error&&"undefined"!==typeof console&&(f="Snowplow: "+b+"\n",c?console.error.apply(console,Q([f+"\n",c],e,!1)):console.error.apply(console,Q([f],e,!1)))},debug:function(b){for(var c=[],e=1;e<arguments.length;e++)c[e-1]=arguments[e];a>=la.debug&&"undefined"!==typeof console&&
console.debug.apply(console,Q(["Snowplow: "+b],c,!1))},info:function(b){for(var c=[],e=1;e<arguments.length;e++)c[e-1]=arguments[e];a>=la.info&&"undefined"!==typeof console&&console.info.apply(console,Q(["Snowplow: "+b],c,!1))}}}(),Ec={},Fc={};(function(){var a={rotl:function(b,c){return b<<c|b>>>32-c},rotr:function(b,c){return b<<32-c|b>>>c},endian:function(b){if(b.constructor==Number)return a.rotl(b,8)&16711935|a.rotl(b,24)&4278255360;for(var c=0;c<b.length;c++)b[c]=a.endian(b[c]);return b},randomBytes:function(b){for(var c=
[];0<b;b--)c.push(Math.floor(256*Math.random()));return c},bytesToWords:function(b){for(var c=[],e=0,f=0;e<b.length;e++,f+=8)c[f>>>5]|=b[e]<<24-f%32;return c},wordsToBytes:function(b){for(var c=[],e=0;e<32*b.length;e+=8)c.push(b[e>>>5]>>>24-e%32&255);return c},bytesToHex:function(b){for(var c=[],e=0;e<b.length;e++)c.push((b[e]>>>4).toString(16)),c.push((b[e]&15).toString(16));return c.join("")},hexToBytes:function(b){for(var c=[],e=0;e<b.length;e+=2)c.push(parseInt(b.substr(e,2),16));return c},bytesToBase64:function(b){for(var c=
[],e=0;e<b.length;e+=3)for(var f=b[e]<<16|b[e+1]<<8|b[e+2],g=0;4>g;g++)8*e+6*g<=8*b.length?c.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>>6*(3-g)&63)):c.push("=");return c.join("")},base64ToBytes:function(b){b=b.replace(/[^A-Z0-9+\/]/ig,"");for(var c=[],e=0,f=0;e<b.length;f=++e%4)0!=f&&c.push(("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b.charAt(e-1))&Math.pow(2,-2*f+8)-1)<<2*f|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(b.charAt(e))>>>
6-2*f);return c}};Fc=a})();var Vb={utf8:{stringToBytes:function(a){return Vb.bin.stringToBytes(unescape(encodeURIComponent(a)))},bytesToString:function(a){return decodeURIComponent(escape(Vb.bin.bytesToString(a)))}},bin:{stringToBytes:function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c)&255);return b},bytesToString:function(a){for(var b=[],c=0;c<a.length;c++)b.push(String.fromCharCode(a[c]));return b.join("")}}},Gc=Vb;(function(){var a=Fc,b=Gc.utf8,c=Gc.bin,e=function(f,g){var h=a.wordsToBytes,
m=f;m.constructor==String?m=b.stringToBytes(m):"undefined"!==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(m)?m=Array.prototype.slice.call(m,0):Array.isArray(m)||(m=m.toString());f=a.bytesToWords(m);var r=8*m.length;m=[];var n=1732584193,A=-271733879,w=-1732584194,t=271733878,k=-1009589776;f[r>>5]|=128<<24-r%32;f[(r+64>>>9<<4)+15]=r;for(r=0;r<f.length;r+=16){for(var v=n,H=A,P=w,J=t,G=k,E=0;80>E;E++){if(16>E)m[E]=f[r+E];else{var W=m[E-3]^m[E-8]^m[E-14]^m[E-16];m[E]=W<<1|W>>>31}W=
(n<<5|n>>>27)+k+(m[E]>>>0)+(20>E?(A&w|~A&t)+1518500249:40>E?(A^w^t)+1859775393:60>E?(A&w|A&t|w&t)-1894007588:(A^w^t)-899497514);k=t;t=w;w=A<<30|A>>>2;A=n;n=W}n+=v;A+=H;w+=P;t+=J;k+=G}h=h.call(a,[n,A,w,t,k]);return g&&g.asBytes?h:g&&g.asString?c.bytesToString(h):a.bytesToHex(h)};e._blocksize=16;e._digestsize=20;Ec=e})();var $c=Ec,Ra={},nd=function(){return function(){this.outQueues=[];this.bufferFlushers=[];this.hasLoaded=!1;this.registeredOnLoadHandlers=[]}}(),Hc="undefined"!==typeof window?md():
void 0;x.addGlobalContexts=function(a,b){C(b,function(c){c.core.addGlobalContexts(a)})};x.addPlugin=function(a,b){C(b,function(c){c.addPlugin(a)})};x.clearGlobalContexts=function(a){C(a,function(b){b.core.clearGlobalContexts()})};x.clearUserData=function(a,b){C(b,function(c){c.clearUserData(a)})};x.crossDomainLinker=function(a,b){C(b,function(c){c.crossDomainLinker(a)})};x.disableAnonymousTracking=function(a,b){C(b,function(c){c.disableAnonymousTracking(a)})};x.discardBrace=function(a,b){C(b,function(c){c.discardBrace(a)})};
x.discardHashTag=function(a,b){C(b,function(c){c.discardHashTag(a)})};x.enableActivityTracking=function(a,b){C(b,function(c){c.enableActivityTracking(a)})};x.enableActivityTrackingCallback=function(a,b){C(b,function(c){c.enableActivityTrackingCallback(a)})};x.enableAnonymousTracking=function(a,b){C(b,function(c){c.enableAnonymousTracking(a)})};x.flushBuffer=function(a,b){C(b,function(c){c.flushBuffer(a)})};x.newSession=function(a){C(a,function(b){b.newSession()})};x.newTracker=function(a,b,c){void 0===
c&&(c={});if(Hc){var e="js-".concat("3.13.1-dev.0");Ra.hasOwnProperty(a)?a=null:(Ra[a]=Zc(a,a,e,b,Hc,c),a=Ra[a]);return a}};x.preservePageViewId=function(a){C(a,function(b){b.preservePageViewId()})};x.removeGlobalContexts=function(a,b){C(b,function(c){c.core.removeGlobalContexts(a)})};x.setBufferSize=function(a,b){C(b,function(c){c.setBufferSize(a)})};x.setCollectorUrl=function(a,b){C(b,function(c){c.setCollectorUrl(a)})};x.setCookiePath=function(a,b){C(b,function(c){c.setCookiePath(a)})};x.setCustomUrl=
function(a,b){C(b,function(c){c.setCustomUrl(a)})};x.setDocumentTitle=function(a,b){C(b,function(c){c.setDocumentTitle(a)})};x.setOptOutCookie=function(a,b){C(b,function(c){c.setOptOutCookie(a)})};x.setReferrerUrl=function(a,b){C(b,function(c){c.setReferrerUrl(a)})};x.setUserId=function(a,b){C(b,function(c){c.setUserId(a)})};x.setUserIdFromCookie=function(a,b){C(b,function(c){c.setUserIdFromCookie(a)})};x.setUserIdFromLocation=function(a,b){C(b,function(c){c.setUserIdFromLocation(a)})};x.setUserIdFromReferrer=
function(a,b){C(b,function(c){c.setUserIdFromReferrer(a)})};x.setVisitorCookieTimeout=function(a,b){C(b,function(c){c.setVisitorCookieTimeout(a)})};x.trackPageView=function(a,b){C(b,function(c){c.trackPageView(a)})};x.trackSelfDescribingEvent=function(a,b){C(b,function(c){c=c.core;var e=c.track,f=a.event,g=f.schema,h=f.data;f=Sa();g={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:{schema:g,data:h}};f.add("e","ue");f.addJson("ue_px","ue_pr",g);e.call(c,f,a.context,
a.timestamp,a.scenario)})};x.trackStructEvent=function(a,b){C(b,function(c){c=c.core;var e=c.track,f=a.category,g=a.action,h=a.label,m=a.property,r=a.value,n=Sa();n.add("e","se");n.add("se_ca",f);n.add("se_ac",g);n.add("se_la",h);n.add("se_pr",m);n.add("se_va",null==r?void 0:r.toString());e.call(c,n,a.context,a.timestamp,a.scenario)})};x.updatePageActivity=function(a){C(a,function(b){b.updatePageActivity()})};x.version="3.13.1-dev.0";Object.defineProperty(x,"__esModule",{value:!0})})
//# sourceMappingURL=index.umd.min.js.map
{
"name": "@snowplow/browser-tracker",
"version": "3.13.0",
"version": "3.13.1-dev.0",
"description": "Browser tracker for Snowplow",

@@ -35,4 +35,4 @@ "keywords": [

"dependencies": {
"@snowplow/browser-tracker-core": "3.13.0",
"@snowplow/tracker-core": "3.13.0",
"@snowplow/browser-tracker-core": "3.13.1-dev.0",
"@snowplow/tracker-core": "3.13.1-dev.0",
"tslib": "^2.3.1"

@@ -39,0 +39,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc