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
77
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.10.1 to 3.11.0

4

dist/index.module.d.ts

@@ -1,2 +0,2 @@

import { TrackerConfiguration, BrowserTracker, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, AnonymousTrackingOptions, FlushBufferConfiguration, PageViewEvent, ClearUserDataConfiguration } from '@snowplow/browser-tracker-core';
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';

@@ -241,2 +241,2 @@ /**

declare function addPlugin(configuration: BrowserPluginConfiguration, trackers?: Array<string>): void;
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, 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, 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.10.1 (http://bit.ly/sp-js)
* Browser tracker for Snowplow v3.11.0 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause

@@ -1,2 +0,2 @@

import { TrackerConfiguration, BrowserTracker, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, AnonymousTrackingOptions, FlushBufferConfiguration, PageViewEvent, ClearUserDataConfiguration } from '@snowplow/browser-tracker-core';
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';

@@ -241,2 +241,2 @@ /**

declare function addPlugin(configuration: BrowserPluginConfiguration, trackers?: Array<string>): void;
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, 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, 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 };

@@ -1,2 +0,2 @@

import { TrackerConfiguration, BrowserTracker, CookieSameSite, Platform, EventMethod, StateStorageStrategy, ActivityTrackingConfiguration, ActivityTrackingConfigurationCallback, ActivityCallback, ActivityCallbackData, BrowserPlugin, BrowserPluginConfiguration, BuiltInContexts, DisableAnonymousTrackingConfiguration, EnableAnonymousTrackingConfiguration, AnonymousTrackingOptions, FlushBufferConfiguration, PageViewEvent, ClearUserDataConfiguration } from '@snowplow/browser-tracker-core';
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';

@@ -241,2 +241,2 @@ /**

declare function addPlugin(configuration: BrowserPluginConfiguration, trackers?: Array<string>): void;
export { newTracker, BrowserTracker, TrackerConfiguration, CookieSameSite, Platform, EventMethod, StateStorageStrategy, 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, 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.10.1 (http://bit.ly/sp-js)
* Browser tracker for Snowplow v3.11.0 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

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

'use strict';(function(w,U){"object"===typeof exports&&"undefined"!==typeof module?U(exports):"function"===typeof define&&define.amd?define(["exports"],U):(w="undefined"!==typeof globalThis?globalThis:w||self,U(w.snowplowBrowserTracking={}))})(this,function(w){function U(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 Fc(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(p){return decodeURIComponent(p.split("").map(function(A){return"%"+("00"+A.charCodeAt(0).toString(16)).slice(-2)}).join(""))}(e.replace(/\0+$/,""))}function Ra(){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&&Ub(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 Gc(a){return function(b,
c,e){for(var f=function(p,A,v){p=JSON.stringify(p);if(a){v=b.add;if(p){var t=0,k=0,x=[];if(p){p=unescape(encodeURIComponent(p));do{var H=p.charCodeAt(t++);var P=p.charCodeAt(t++);var F=p.charCodeAt(t++);var G=H<<16|P<<8|F;H=G>>18&63;P=G>>12&63;F=G>>6&63;G&=63;x[k++]=ma.charAt(H)+ma.charAt(P)+ma.charAt(F)+ma.charAt(G)}while(t<p.length);t=x.join("");p=p.length%3;p=(p?t.slice(0,p-3):t)+"===".slice(p||3)}p=p.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}v.call(b,A,p)}else b.add(v,p)},g=function(p,
A){if(!p){var v=b.getPayload();if(a?v.cx:v.co){p=JSON;var t=p.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=Fc(v)}}else v=v.co;p=t.call(p,v)}else p=void 0}p?p.data=p.data.concat(A.data):p=A;return p},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:U([],e,
!0)},h=g(h,c),e.length=0);h&&f(h,"cx","co")}}function Ub(a){if(!Vb(a))return!1;for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b))return!0;return!1}function Vb(a){return"undefined"!==typeof a&&null!==a&&(a.constructor==={}.constructor||a.constructor===[].constructor)}function Hc(){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];Wb(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){Wb(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=hb(a,c,g,e);f.push.apply(f,h);c=Ic(b,c,g,e);f.push.apply(f,c);return f}}}function Jc(a){return{addPluginContexts:function(b){var c=b?U([],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 Kc(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 Xb(a){return(a=a.split("."))&&1<a.length?Kc(a):!1}function Yb(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&&Xb(a[1]))return a.slice(1,6)}function ib(a){if(a=Yb(a)){var b=a[0];return 5===a.length&&Xb(b)}return!1}function Lc(a){return Array.isArray(a)&&a.every(function(b){return"string"===typeof b})}function Zb(a){return Lc(a)?a.every(function(b){return ib(b)}):
"string"===typeof a?ib(a):!1}function Ha(a){return Ub(a)&&"schema"in a&&"data"in a?"string"===typeof a.schema&&"object"===typeof a.data:!1}function Mc(a){var b=0;if(null!=a&&"object"===typeof a&&!Array.isArray(a)){if(Object.prototype.hasOwnProperty.call(a,"accept"))if(Zb(a.accept))b+=1;else return!1;if(Object.prototype.hasOwnProperty.call(a,"reject"))if(Zb(a.reject))b+=1;else return!1;return 0<b&&2>=b}return!1}function Sa(a){return"function"===typeof a&&1>=a.length}function Ba(a){return Sa(a)||Ha(a)}
function $b(a){return Array.isArray(a)&&2===a.length?Array.isArray(a[1])?Sa(a[0])&&a[1].every(Ba):Sa(a[0])&&Ba(a[1]):!1}function ac(a){return Array.isArray(a)&&2===a.length?Mc(a[0])?Array.isArray(a[1])?a[1].every(Ba):Ba(a[1]):!1:!1}function Wb(a){return $b(a)||ac(a)}function Nc(a,b){var c=0,e=0,f=a.accept;Array.isArray(f)?a.accept.some(function(g){return Ta(g,b)})&&e++:"string"===typeof f&&Ta(f,b)&&e++;f=a.reject;Array.isArray(f)?a.reject.some(function(g){return Ta(g,b)})&&c++:"string"===typeof f&&
Ta(f,b)&&c++;return 0<e&&0===c?!0:!1}function Ta(a,b){if(!ib(a))return!1;a=Yb(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(!Oc(a[0],b[0]))return!1;for(var c=1;5>c;c++)if(!bc(a[c],b[c]))return!1;return!0}return!1}function Oc(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(!bc(b[c],a[c]))return!1;return!0}return!1}function bc(a,
b){return a&&b&&"*"===a||a===b}function cc(a){return Array.isArray(a)?a:[a]}function hb(a,b,c,e){var f;a=cc(a).map(function(g){a:if(Ha(g))g=[g];else{if(Sa(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(p){}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 Ic(a,b,c,e){var f;a=cc(a).map(function(g){a:{if($b(g)){var h=g[0],m=!1;try{var r={event:b.getPayload(),eventType:c,eventSchema:e};m=h(r)}catch(p){m=!1}if(!0===m){g=hb(g[1],b,c,e);break a}}else if(ac(g)&&Nc(g[0],e)){g=hb(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 Pc(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 Qc(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,x){k=A.getApplicableContexts(k);var H=[];x&&x.length&&H.push.apply(H,x);k&&k.length&&H.push.apply(H,k);return H}var p=Jc(h),A=Hc(),v=g,t={};return{track:function(k,x,H){k.withJsonProcessor(Gc(v));k.add("eid",ia.v4());k.addDict(t);H=Pc(H);k.add(H.type,H.value.toString());x=r(k,p.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(F){try{F.beforeTrack&&F.beforeTrack(k)}catch(G){ba.error("Plugin beforeTrack",G)}});"function"===typeof m&&m(k);var P=k.build();h.forEach(function(F){try{F.afterTrack&&F.afterTrack(P)}catch(G){ba.error("Plugin afterTrack",G)}});return P},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=Vb(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,e,a.callback);var f=V(V({},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 Rc(a){var b=a.pageUrl,c=a.pageTitle;a=a.referrer;var e=Ra();e.add("e","pv");e.add("url",b);e.add("page",c);e.add("refr",a);return e}function Ua(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 dc(a){try{var b=window.localStorage;b.removeItem(a);
b.removeItem(a+".expires");return!0}catch(c){return!1}}function ec(a){try{return window.sessionStorage.getItem(a)}catch(b){}}function fc(a){return Number.isInteger&&Number.isInteger(a)||"number"===typeof a&&isFinite(a)&&Math.floor(a)===a}function gc(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 jb(a){var b=/^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(a);return b?b[1]:a}function hc(a){var b=a.length;
"."===a.charAt(--b)&&(a=a.slice(0,b));"*."===a.slice(0,2)&&(a=a.slice(1));return a}function kb(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 Sc(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 Tc(){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 Uc(a,b,c,e,f,g,h,m,r,p,A,v,t,k,x,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:F(JSON.stringify(z))}}function F(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)Q=!1;else{if(!R||"string"!==typeof R.valueOf())throw"No collector configured";Q=!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=R;var u=E(y,!0,q);var I=z(D)}else y=Ja(D[0]),u=E(y,!1,q),I=1;var L=setTimeout(function(){u.abort();Q=!1},A),ea=function(K){for(var ca=0;ca<K;ca++)D.shift();c&&Ua(ua,JSON.stringify(D.slice(0,p)))};u.onreadystatechange=function(){if(4===u.readyState&&200<=u.status)if(clearTimeout(L),300>
u.status)ea(I),G();else{var K=u.status;K=200<=K&&300>K?!1:x.includes(K)?!0:!H.includes(K);K||(ba.error("Status ".concat(u.status,", will not retry.")),ea(I));Q=!1}};if(ta(D)){if(z=D.slice(0,I),0<z.length){q=!1;z=z.map(function(K){return K.evt});if(Va){var Ka=new Blob([W(fa(z))],{type:"application/json"});try{q=navigator.sendBeacon(y,Ka)}catch(K){q=!1}}!0===q?(ea(I),G()):u.send(W(fa(z)))}}else u.send()}else if(v||ta(D))Q=!1;else{y=new Image(1,1);var ha=!0;y.onload=function(){ha&&(ha=!1,D.shift(),c&&
Ua(ua,JSON.stringify(D.slice(0,p))),G())};y.onerror=function(){ha&&(Q=ha=!1)};y.src=Ja(D[0]);setTimeout(function(){ha&&Q&&(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;v&&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?R+q.replace("?","?stm="+(new Date).getTime()+"&"):R+q}function Wa(q){function z(u,I,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])<=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 Q=!1,R,D=[];e="string"===typeof e?e.toLowerCase():e;var va=!0===e||"beacon"===e||"true"===e,Va=!(!(va&&window.navigator&&window.navigator.sendBeacon)||Wa(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&&Tc()&&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){Q||G(q)});var ta=function(q){return"object"===typeof q[0]};return{enqueueRequest:function(q,z){R=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(R,!0,!1).send(W(fa([z.evt])));return}D.push(q)}else{var y="?";var u={co:!0,cx:!0},I=!0,L;for(L in q)q.hasOwnProperty(L)&&!u.hasOwnProperty(L)&&(I?I=!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=F(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=Ua(ua,JSON.stringify(D.slice(0,p))));Q||z&&!(D.length>=g)||G()},executeQueue:function(){Q||G()},setUseLocalStorage:function(q){c=q},setAnonymousTracking:function(q){v=q},setCollectorUrl:function(q){R=q+oa},setBufferSize:function(q){g=q}}}function ic(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=jb(b);else if("cc.bingj.com"===a||"webcache.googleusercontent.com"===a)b=document.links[0].href,a=jb(b);return[a,b,c]}function Vc(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){void 0===b&&(b=1);"0"===a[0]?(a[7]=a[6],a[5]=a[4],a[3]++):a[3]=b;b=ia.v4();a[6]=b;a[10]=0;a[8]="";a[9]=void 0;return b}function lb(a){a[4]=Math.round((new Date).getTime()/
1E3)}function mb(){if("innerWidth"in window){var a=window.innerWidth;var b=window.innerHeight}else b=document.documentElement||document.body,a=b.clientWidth,b=b.clientHeight;a=0<=a&&0<=b?a+"x"+b:null;var c=document.documentElement,e=document.body;b=Math.max(c.clientWidth,c.offsetWidth,c.scrollWidth);c=Math.max(c.clientHeight,c.offsetHeight,c.scrollHeight,e?Math.max(e.offsetHeight,e.scrollHeight):0);b=isNaN(b)||isNaN(c)?"":b+"x"+c;return{viewport:a,documentSize:b,resolution: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 Wc(a,b,c,e,f,g){void 0===g&&(g={});var h=[];a=function(r,p,A,v,t,k){function x(){xa=ic(window.location.hostname,
window.location.href,kb());xa[1]!==pa&&(Na=kb(pa));jc=hc(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="+(Xa+"."+l);var n=d.href.split("#"),B=n[0].split("?"),O=B.shift();if(B=B.join("?")){for(var M=!0,X=B.split("&"),S=0;S<X.length;S++)if("_sp="===X[S].substr(0,4)){M=!1;X[S]=l;B=X.join("&");break}M&&(B=l+"&"+B)}else B=l;n[0]=O+"?"+B;l=n.join("#");d.href=l}}function P(d){for(var l=0;l<document.links.length;l++){var n=document.links[l];
!n.spDecorationEnabled&&d(n)&&(na(n,"click",H,!0),na(n,"mousedown",H,!0),n.spDecorationEnabled=!0)}}function F(d){if(kc){var l=/#.*/;d=d.replace(l,"")}lc&&(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"==J){try{var l=window.localStorage,n=l.getItem(d+".expires");if(null===n||+n>Date.now())var B=l.getItem(d);else l.removeItem(d),l.removeItem(d+".expires"),B=void 0}catch(O){B=void 0}return B}if("cookie"==J||
"cookieAndLocalStorage"==J)return da(d)}function W(){x();ya=Xc((Oa||jc)+(nb||"/")).slice(0,4)}function fa(){Ya=(new Date).getTime()}function Ja(){var d=Wa(),l=d[0];l<Za?Za=l:l>$a&&($a=l);d=d[1];d<ab?ab=d:d>bb&&(bb=d);fa()}function Wa(){var d=document.documentElement;return d?[d.scrollLeft||window.pageXOffset,d.scrollTop||window.pageYOffset]:[0,0]}function Q(){var d=Wa(),l=d[0];$a=Za=l;bb=ab=d=d[1]}function R(){va(Da+"ses."+ya,"*",mc)}function D(d){var l=Da+"id."+ya;d.shift();d=d.join(".");va(l,d,
nc)}function va(d,l,n){if(!T||za)"localStorage"==J?Ua(d,l,n):("cookie"==J||"cookieAndLocalStorage"==J)&&da(d,l,n,nb,Oa,cb,db)}function Va(d){var l=Da+"id."+ya,n=Da+"ses."+ya;dc(l);dc(n);da(l,"",-1,"/",Oa,cb,db);da(n,"",-1,"/",Oa,cb,db);null!==d&&void 0!==d&&d.preserveSession||(ja=ia.v4(),Y=1);null!==d&&void 0!==d&&d.preserveUser||(Xa=T?"":ia.v4(),Aa=null)}function sa(d){d&&d.stateStorageStrategy&&(k.stateStorageStrategy=d.stateStorageStrategy,J=oc(k));T=!!k.anonymousTracking;za=pc(k);ob=qc(k);qa.setUseLocalStorage("localStorage"==
J||"cookieAndLocalStorage"==J);qa.setAnonymousTracking(ob)}function wa(){if(!T||za){var d="none"!=J&&!!E("ses"),l=oa();if(l[1])var n=l[1];else n=T?"":ia.v4(),l[1]=n;Xa=n;ja=d?l[6]:Ma(l);Y=l[3];"none"!=J&&(R(),lb(l),D(l))}}function oa(){if("none"==J)return["1","",0,0,0,void 0,"","","",void 0,0];var d=E("id")||void 0;return Vc(d,Xa,ja,Y)}function ua(d){return 0===d.indexOf("http")?d:("https:"===document.location.protocol?"https":"http")+"://"+d}function La(){rc&&null!=t.pageViewId||(t.pageViewId=ia.v4())}
function ta(){null==t.pageViewId&&(t.pageViewId=ia.v4());return t.pageViewId}function q(){if("none"===J||T||!sc)return null;var d=ec("_sp_tab_id");if(!d){d=ia.v4();try{window.sessionStorage.setItem("_sp_tab_id",d)}catch(l){}d=ec("_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:V(V({},mb()),{tabId:q()})}]}}}function u(d){var l=d.title,n=d.context,B=d.timestamp;d=d.contextCallback;x();tc&&La();tc=!0;Ea=document.title;Pa=l;l=gc(Pa||Ea);Z.track(Rc({pageUrl:F(Fa||pa),pageTitle:l,referrer:F(eb||Na)}),(n||[]).concat(d?d():[]),B);B=new Date;l=!1;if(aa.enabled&&!aa.installed){l=aa.installed=!0;var O={update:function(){if("undefined"!==typeof window&&"function"===typeof window.addEventListener){var X=!1,S=Object.defineProperty({},"passive",{get:function(){X=!0},set:function(){}}),
Ga=function(){};window.addEventListener("testPassiveEventSupport",Ga,S);window.removeEventListener("testPassiveEventSupport",Ga,S);O.hasSupport=X}}};O.update();var M="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(O,"hasSupport")?na(document,M,fa,{passive:!0}):na(document,M,fa);Q();M=function(X,S){void 0===S&&(S=fa);return function(Ga){return na(document,Ga,S)}};"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&&(Yc||l))for(B in Ya=B.getTime(),B=void 0,aa.configurations)if(l=aa.configurations[B])window.clearInterval(l.activityInterval),I(l,n,d)}function I(d,l,n){var B=function(M,X){x();M({context:X,pageViewId:ta(),minXOffset:Za,minYOffset:ab,maxXOffset:$a,maxYOffset:bb});Q()},O=function(){Ya+d.configHeartBeatTimer>(new Date).getTime()&&B(d.callback,(l||[]).concat(n?n():[]))};d.activityInterval=0!=d.configMinimumVisitLength?
window.setTimeout(function(){Ya+d.configMinimumVisitLength>(new Date).getTime()&&B(d.callback,(l||[]).concat(n?n():[]));d.activityInterval=window.setInterval(O,d.configHeartBeatTimer)},d.configMinimumVisitLength):window.setInterval(O,d.configHeartBeatTimer)}function L(d){var l=d.minimumVisitLength,n=d.heartbeatDelay;d=d.callback;if(fc(l)&&fc(n))return{configMinimumVisitLength:1E3*l,configHeartBeatTimer:1E3*n,callback:d};ba.error("Activity tracking minimumVisitLength & heartbeatDelay must be integers")}
function ea(d){var l=d.context,n=d.minXOffset,B=d.minYOffset,O=d.maxXOffset,M=d.maxYOffset;d=document.title;d!==Ea&&(Ea=d,Pa=void 0);d=Z;var X=d.track,S=F(Fa||pa),Ga=gc(Pa||Ea),Zc=F(eb||Na);n=Math.round(n);O=Math.round(O);B=Math.round(B);M=Math.round(M);var ka=Ra();ka.add("e","pp");ka.add("url",S);ka.add("page",Ga);ka.add("refr",Zc);n&&!isNaN(Number(n))&&ka.add("pp_mix",n.toString());O&&!isNaN(Number(O))&&ka.add("pp_max",O.toString());B&&!isNaN(Number(B))&&ka.add("pp_miy",B.toString());M&&!isNaN(Number(M))&&
ka.add("pp_may",M.toString());X.call(d,ka,l)}var Ka,ha,K,ca,Ca,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb;k.eventMethod=null!==(Ka=k.eventMethod)&&void 0!==Ka?Ka:"post";var oc=function(d){var l;return null!==(l=d.stateStorageStrategy)&&void 0!==l?l:"cookieAndLocalStorage"},pc=function(d){var l,n;return"boolean"===typeof d.anonymousTracking?!1:null!==(n=!0===(null===(l=d.anonymousTracking)||void 0===l?void 0:l.withSessionTracking))&&void 0!==n?n:!1},qc=function(d){var l,n;
return"boolean"===typeof d.anonymousTracking?!1:null!==(n=!0===(null===(l=d.anonymousTracking)||void 0===l?void 0:l.withServerAnonymisation))&&void 0!==n?n:!1},$c=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,sc=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"),n=oa();Mb=Nb?!!da(Nb):!1;if(uc||Mb)Va();else{"0"===
n[0]?(ja=l||"none"==J?n[6]:Ma(n),Y=n[3]):(new Date).getTime()-Ob>1E3*mc&&(Y++,ja=Ma(n,Y));lb(n);0===n[10]&&(l=d.build(),n[8]=l.eid,l=l.dtm||l.ttm,n[9]=l?parseInt(l):void 0);n[10]+=1;l=mb();var B=l.documentSize;d.add("vp",l.viewport);d.add("ds",B);d.add("vid",za?Y:T?null:Y);d.add("sid",za?ja:T?null:ja);d.add("duid",T?null:n[1]);d.add("uid",T?null:Aa);x();d.add("refr",F(eb||Na));d.add("url",F(Fa||pa));!ad||T&&!za||(l=n[9],l={userId:T?"00000000-0000-0000-0000-000000000000":n[1],sessionId:n[6],eventIndex:n[10],
sessionIndex:n[3],previousSessionId:T?null:n[7]||null,storageMechanism:"localStorage"==J?"LOCAL_STORAGE":"COOKIE_1",firstEventId:n[8]||null,firstEventTimestamp:l?(new Date(l)).toISOString():null},d.addContextEntity({schema:"iglu:com.snowplowanalytics.snowplow/client_session/jsonschema/1-0-2",data:l}));"none"!=J&&(D(n),R());Ob=(new Date).getTime()}}}}());sc&&h.push(z());$c&&h.push(y());h.push.apply(h,null!==(pb=k.plugins)&&void 0!==pb?pb:[]);var Z=Qc({base64:k.encodeBase64,corePlugins:h,callback:function(d){uc||
Mb||qa.enqueueRequest(d.build(),Pb)}}),bd=document.characterSet||document.charset,xa=ic(window.location.hostname,window.location.href,kb()),jc=hc(xa[0]),pa=xa[1],Na=xa[2],eb,cd=null!==(qb=k.platform)&&void 0!==qb?qb:"web",Pb=ua(v),dd=null!==(rb=k.postPath)&&void 0!==rb?rb:"/com.snowplowanalytics.snowplow/tp2",ed=null!==(sb=k.appId)&&void 0!==sb?sb:"",Fa,Ea=document.title,Pa,Yc=null!==(tb=k.resetActivityTrackingOnPageView)&&void 0!==tb?tb:!0,kc,lc,Da=null!==(ub=k.cookieName)&&void 0!==ub?ub:"_sp_",
Oa=null!==(vb=k.cookieDomain)&&void 0!==vb?vb:void 0,nb="/",cb=null!==(wb=k.cookieSameSite)&&void 0!==wb?wb:"None",db=null!==(xb=k.cookieSecure)&&void 0!==xb?xb:!0,vc=navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack,uc="undefined"!==typeof k.respectDoNotTrack?k.respectDoNotTrack&&("yes"===vc||"1"===vc):!1,Nb,nc=null!==(yb=k.cookieLifetime)&&void 0!==yb?yb:63072E3,mc=null!==(zb=k.sessionCookieTimeout)&&void 0!==zb?zb:1800,za=pc(k),ob=qc(k),T=!!k.anonymousTracking,J=oc(k),Ya,Ob=(new Date).getTime(),
Za,$a,ab,bb,ya,Xa,ja,Y=1,Aa,qa=Uc(r,t,"localStorage"==J||"cookieAndLocalStorage"==J,k.eventMethod,dd,null!==(Ab=k.bufferSize)&&void 0!==Ab?Ab:1,null!==(Bb=k.maxPostBytes)&&void 0!==Bb?Bb:4E4,null!==(Cb=k.maxGetBytes)&&void 0!==Cb?Cb:0,null!==(Db=k.useStm)&&void 0!==Db?Db:!0,null!==(Eb=k.maxLocalStorageQueueSize)&&void 0!==Eb?Eb:1E3,null!==(Fb=k.connectionTimeout)&&void 0!==Fb?Fb:5E3,ob,null!==(Gb=k.customHeaders)&&void 0!==Gb?Gb:{},null!==(Hb=k.withCredentials)&&void 0!==Hb?Hb:!0,null!==(Ib=k.retryStatusCodes)&&
void 0!==Ib?Ib:[],(null!==(Jb=k.dontRetryStatusCodes)&&void 0!==Jb?Jb:[]).concat([400,401,403,410,422])),rc=!1,tc=!1,aa={enabled:!1,installed:!1,configurations:{}},ad=null!==(Lb=null===(Kb=k.contexts)||void 0===Kb?void 0:Kb.session)&&void 0!==Lb?Lb:!1,Mb;k.hasOwnProperty("discoverRootDomain")&&k.discoverRootDomain&&(Oa=Sc(cb,db));var fb=mb(),fd=fb.browserLanguage,gd=fb.resolution,hd=fb.colorDepth,id=fb.cookiesEnabled;Z.setTrackerVersion(A);Z.setTrackerNamespace(p);Z.setAppId(ed);Z.setPlatform(cd);
Z.addPayloadPair("cookie",id?"1":"0");Z.addPayloadPair("cs",bd);Z.addPayloadPair("lang",fd);Z.addPayloadPair("res",gd);Z.addPayloadPair("cd",hd);W();wa();k.crossDomainLinker&&P(k.crossDomainLinker);return V(V({},{getDomainSessionIndex:function(){return Y},getPageViewId:ta,getTabId:q,newSession:function(){var d=oa();"0"===d[0]?(ja="none"!=J?Ma(d):d[6],Y=d[3],R()):(Y++,ja=Ma(d,Y));lb(d);"none"!=J&&(D(d),R());Ob=(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){eb=d},setCustomUrl:function(d){x();var l=pa,n;G(d)?Fa=d:"/"===d.slice(0,1)?Fa=G(l)+"://"+jb(l)+d:(l=F(l),0<=(n=l.indexOf("?"))&&(l=l.slice(0,n)),(n=l.lastIndexOf("/"))!==l.length-1&&(l=l.slice(0,n+1)),Fa=l+d)},setDocumentTitle:function(d){Ea=document.title;Pa=d},discardHashTag:function(d){kc=d},discardBrace:function(d){lc=d},setCookiePath:function(d){nb=d;W()},setVisitorCookieTimeout:function(d){nc=
d},crossDomainLinker:function(d){P(d)},enableActivityTracking:function(d){aa.configurations.pagePing||(aa.enabled=!0,aa.configurations.pagePing=L(V(V({},d),{callback:ea})))},enableActivityTrackingCallback:function(d){aa.configurations.callback||(aa.enabled=!0,aa.configurations.callback=L(d))},updatePageActivity:function(){fa()},setOptOutCookie:function(d){Nb=d},setUserId:function(d){Aa=d},setUserIdFromLocation:function(d){x();Aa=Ia(d,pa)},setUserIdFromReferrer:function(d){x();Aa=Ia(d,Na)},setUserIdFromCookie:function(d){Aa=
da(d)},setCollectorUrl:function(d){Pb=ua(d);qa.setCollectorUrl(Pb)},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(){rc=!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:Va}),{id:r,namespace:p,core:Z,sharedState:t})}(a,b,c,e,f,g);var m=V(V({},a),{addPlugin:function(r){var p,A;m.core.addPlugin(r);null===(A=(p=r.plugin).activateBrowserPlugin)||void 0===A?void 0:A.call(p,m)}});h.forEach(function(r){var p;null===(p=r.activateBrowserPlugin)||void 0===p?void 0:p.call(r,m)});return m}function C(a,b){try{var c=null!==a&&void 0!==a?a:Object.keys(Qa);a=Qa;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 jd(){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 kd,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 V=function(){V=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 V.apply(this,
arguments)},ra={},wc="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(wc){var xc=new Uint8Array(16);ra=function(){wc(xc);return xc}}else{var yc=Array(16);ra=function(){for(var a=0,b;16>a;a++)0===(a&3)&&(b=4294967296*Math.random()),yc[a]=b>>>((a&3)<<3)&255;return yc}}for(var N=[],gb=0;256>gb;++gb)N[gb]=(gb+256).toString(16).substr(1);var zc=
function(a,b){b=b||0;return[N[a[b++]],N[a[b++]],N[a[b++]],N[a[b++]],"-",N[a[b++]],N[a[b++]],"-",N[a[b++]],N[a[b++]],"-",N[a[b++]],N[a[b++]],"-",N[a[b++]],N[a[b++]],N[a[b++]],N[a[b++]],N[a[b++]],N[a[b++]]].join("")},ld=ra,Ac,Qb,Rb=0,Sb=0,md=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||md)();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||zc(a)};ra.v1=function(a,b,c){c=b&&c||0;var e=b||[];a=a||
{};var f=a.node||Ac,g=void 0!==a.clockseq?a.clockseq:Qb;if(null==f||null==g){var h=ld();null==f&&(f=Ac=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]);null==g&&(g=Qb=(h[6]<<8|h[7])&16383)}h=void 0!==a.msecs?a.msecs:(new Date).getTime();var m=void 0!==a.nsecs?a.nsecs:Sb+1,r=h-Rb+(m-Sb)/1E4;0>r&&void 0===a.clockseq&&(g=g+1&16383);(0>r||h>Rb)&&void 0===a.nsecs&&(m=0);if(1E4<=m)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Rb=h;Sb=m;Qb=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:zc(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,U([f+"\n",c],e,!1)):console.warn.apply(console,U([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,U([f+"\n",c],e,!1)):console.error.apply(console,U([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,U(["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,U(["Snowplow: "+b],c,!1))}}}(),Bc={},Cc={};(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}};Cc=a})();var Tb={utf8:{stringToBytes:function(a){return Tb.bin.stringToBytes(unescape(encodeURIComponent(a)))},bytesToString:function(a){return decodeURIComponent(escape(Tb.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("")}}},Dc=Tb;(function(){var a=Cc,b=Dc.utf8,c=Dc.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 p=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=p,H=A,
P=v,F=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=(p<<5|p>>>27)+k+(m[E]>>>0)+(20>E?(A&v|~A&t)+1518500249:40>E?(A^v^t)+1859775393:60>E?(A&v|A&t|v&t)-1894007588:(A^v^t)-899497514);k=t;t=v;v=A<<30|A>>>2;A=p;p=W}p+=x;A+=H;v+=P;t+=F;k+=G}h=h.call(a,[p,A,v,t,k]);return g&&g.asBytes?h:g&&g.asString?c.bytesToString(h):a.bytesToHex(h)};e._blocksize=16;e._digestsize=20;Bc=e})();var Xc=Bc,Qa={},kd=function(){return function(){this.outQueues=[];this.bufferFlushers=
[];this.hasLoaded=!1;this.registeredOnLoadHandlers=[]}}(),Ec="undefined"!==typeof window?jd():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(Ec){var e="js-".concat("3.10.1");Qa.hasOwnProperty(a)?a=null:(Qa[a]=Wc(a,a,e,b,Ec,c),a=Qa[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 e=c.track,f=a.event,g=f.schema,h=f.data;f=Ra();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)})};w.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,p=Ra();p.add("e","se");p.add("se_ca",f);p.add("se_ac",g);p.add("se_la",h);p.add("se_pr",m);p.add("se_va",null==r?void 0:r.toString());e.call(c,p,a.context,a.timestamp)})};w.updatePageActivity=function(a){C(a,function(b){b.updatePageActivity()})};w.version="3.10.1";Object.defineProperty(w,
"__esModule",{value:!0})})
'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;
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.11.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.11.0";Object.defineProperty(w,"__esModule",{value:!0})})
//# sourceMappingURL=index.umd.min.js.map
{
"name": "@snowplow/browser-tracker",
"version": "3.10.1",
"version": "3.11.0",
"description": "Browser tracker for Snowplow",

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

"dependencies": {
"@snowplow/browser-tracker-core": "3.10.1",
"@snowplow/tracker-core": "3.10.1",
"@snowplow/browser-tracker-core": "3.11.0",
"@snowplow/tracker-core": "3.11.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