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

@snowplow/browser-tracker-core

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-core - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

4

dist/index.umd.min.js
/*!
* Core functionality for Snowplow Browser trackers v3.3.0 (http://bit.ly/sp-js)
* Core functionality for Snowplow Browser trackers v3.3.1 (http://bit.ly/sp-js)
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang

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

"use strict";!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).snowplowBrowserTrackerCore={})}(this,(function(e){function n(e,n,t){if(t||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||n)}function t(e){var n={exports:{}};return e(n,n.exports),n.exports}function r(){var e,n={},t=[],r=[],i=function(e,t){null!=t&&""!==t&&(n[e]=t)};return{add:i,addDict:function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&i(n,e[n])},addJson:function(e,n,i){i&&o(i)&&(e={keyIfEncoded:e,keyIfNotEncoded:n,json:i},r.push(e),t.push(e))},getPayload:function(){return n},getJson:function(){return t},withJsonProcessor:function(n){e=n},build:function(){return null==e||e(this,r),n}}}function o(e){if(!i(e))return!1;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))return!0;return!1}function i(e){return null!=e&&(e.constructor==={}.constructor||e.constructor===[].constructor)}function a(){var e=[],n=[];return{getGlobalPrimitives:function(){return e},getConditionalProviders:function(){return n},addGlobalContexts:function(t){for(var r=[],o=[],i=0;i<t.length;i++){var a=t[i];h(a)?r.push(a):g(a)&&o.push(a)}e=e.concat(o),n=n.concat(r)},clearGlobalContexts:function(){n=[],e=[]},removeGlobalContexts:function(t){for(var r=function(t){h(t)?n=n.filter((function(e){return JSON.stringify(e)!==JSON.stringify(t)})):g(t)&&(e=e.filter((function(e){return JSON.stringify(e)!==JSON.stringify(t)})))},o=0;o<t.length;o++)r(t[o])},getApplicableContexts:function(t){e:{for(var r=0,o=t.getJson();r<o.length;r++){var i=o[r];if("ue_px"===i.keyIfEncoded&&"object"==typeof i.json.data&&"string"==typeof(i=i.json.data.schema)){r=i;break e}}r=""}i="string"==typeof(o=t.getPayload().e)?o:"",o=[];var a=b(e,t,i,r);return o.push.apply(o,a),t=function(e,n,t,r){var o;return e=w(e).map((function(e){e:{if(p(e)){var o=e[0],i=!1;try{i=o({event:n.getPayload(),eventType:t,eventSchema:r})}catch(e){i=!1}if(!0===i){e=b(e[1],n,t,r);break e}}else if(v(e)&&function(e,n){var t=0,r=0,o=e.accept;return Array.isArray(o)?e.accept.some((function(e){return m(e,n)}))&&r++:"string"==typeof o&&m(o,n)&&r++,o=e.reject,Array.isArray(o)?e.reject.some((function(e){return m(e,n)}))&&t++:"string"==typeof o&&m(o,n)&&t++,0<r&&0===t}(e[0],r)){e=b(e[1],n,t,r);break e}e=[]}if(e&&0!==e.length)return e})),(o=[]).concat.apply(o,e.filter((function(e){return null!=e&&e.filter(Boolean)})))}(n,t,i,r),o.push.apply(o,t),o}}}function c(e){return!!((e=e.split("."))&&1<e.length)&&function(e){if("*"===e[0]||"*"===e[1])return!1;if(0<e.slice(2).length){var n=!1,t=0;for(e=e.slice(2);t<e.length;t++)if("*"===e[t])n=!0;else if(n)return!1;return!0}return 2==e.length}(e)}function u(e){if(null!==(e=/^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(e))&&c(e[1]))return e.slice(1,6)}function s(e){if(e=u(e)){var n=e[0];return 5===e.length&&c(n)}return!1}function l(e){return function(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}(e)?e.every((function(e){return s(e)})):"string"==typeof e&&s(e)}function f(e){return!!(o(e)&&"schema"in e&&"data"in e)&&("string"==typeof e.schema&&"object"==typeof e.data)}function d(e){return"function"==typeof e&&1>=e.length}function g(e){return d(e)||f(e)}function p(e){return!(!Array.isArray(e)||2!==e.length)&&(Array.isArray(e[1])?d(e[0])&&e[1].every(g):d(e[0])&&g(e[1]))}function v(e){return!(!Array.isArray(e)||2!==e.length)&&(!!function(e){var n=0;if(null!=e&&"object"==typeof e&&!Array.isArray(e)){if(Object.prototype.hasOwnProperty.call(e,"accept")){if(!l(e.accept))return!1;n+=1}if(Object.prototype.hasOwnProperty.call(e,"reject")){if(!l(e.reject))return!1;n+=1}return 0<n&&2>=n}return!1}(e[0])&&(Array.isArray(e[1])?e[1].every(g):g(e[1])))}function h(e){return p(e)||v(e)}function m(e,n){if(!s(e))return!1;if(e=u(e),n=null!==(n=/^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(n))?n.slice(1,6):void 0,e&&n){if(!function(e,n){if(n=n.split("."),e=e.split("."),n&&e){if(n.length!==e.length)return!1;for(var t=0;t<e.length;t++)if(!y(n[t],e[t]))return!1;return!0}return!1}(e[0],n[0]))return!1;for(var t=1;5>t;t++)if(!y(e[t],n[t]))return!1;return!0}return!1}function y(e,n){return e&&n&&"*"===e||e===n}function w(e){return Array.isArray(e)?e:[e]}function b(e,n,t,r){var o;return e=w(e).map((function(e){e:if(f(e))e=[e];else{if(d(e)){n:{var o=void 0;try{if(o=e({event:n.getPayload(),eventType:t,eventSchema:r}),Array.isArray(o)&&o.every(f)||f(o)){var i=o;break n}i=void 0;break n}catch(e){}i=void 0}if(f(i)){e=[i];break e}if(Array.isArray(i)){e=i;break e}}e=void 0}if(e&&0!==e.length)return e})),(o=[]).concat.apply(o,e.filter((function(e){return null!=e&&e.filter(Boolean)})))}function S(e){void 0===e&&(e={});var n,t,r,o,c,u,s,l=e.base64,f=e.corePlugins,d=null!=f?f:[];n=null==l||l,t=d,r=e.callback,o=function(e){return{addPluginContexts:function(n){var t=null!=n?n:[];return e.forEach((function(e){try{e.contexts&&t.push.apply(t,e.contexts())}catch(e){le.error("Error adding plugin contexts",e)}})),t}}}(t),c=a(),u=n,s={};var g=Y(Y({},e={track:function(e,n,i){e.withJsonProcessor(function(e){return function(n,t){for(var r=0;r<t.length;r++){var o=t[r],i=JSON.stringify(o.json);if(e){var a=n,c=a.add;if(o=o.keyIfEncoded,i){var u=0,s=0,l=[];if(i){i=unescape(encodeURIComponent(i));do{var f=i.charCodeAt(u++),d=i.charCodeAt(u++),g=i.charCodeAt(u++),p=f<<16|d<<8|g;f=p>>18&63,d=p>>12&63,g=p>>6&63,p&=63,l[s++]=se.charAt(f)+se.charAt(d)+se.charAt(g)+se.charAt(p)}while(u<i.length);u=l.join(""),i=((i=i.length%3)?u.slice(0,i-3):u)+"===".slice(i||3)}i=i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}c.call(a,o,i)}else n.add(o.keyIfNotEncoded,i)}t.length=0}}(u)),e.add("eid",ue.v4()),e.addDict(s),i=function(e){return null==e?{type:"dtm",value:(new Date).getTime()}:"number"==typeof e?{type:"dtm",value:e}:"ttm"===e.type?{type:"ttm",value:e.value}:{type:"dtm",value:e.value||(new Date).getTime()}}(i),e.add(i.type,i.value.toString()),void 0!==(n=(n=function(e,n){e=c.getApplicableContexts(e);var t=[];return n&&n.length&&t.push.apply(t,n),e&&e.length&&t.push.apply(t,e),t}(e,o.addPluginContexts(n)))&&n.length?{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:n}:void 0)&&e.addJson("cx","co",n),t.forEach((function(n){try{n.beforeTrack&&n.beforeTrack(e)}catch(e){le.error("Plugin beforeTrack",e)}})),"function"==typeof r&&r(e);var a=e.build();return t.forEach((function(e){try{e.afterTrack&&e.afterTrack(a)}catch(e){le.error("Plugin afterTrack",e)}})),a},addPayloadPair:function(e,n){s[e]=n},getBase64Encoding:function(){return u},setBase64Encoding:function(e){u=e},addPayloadDict:function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(s[n]=e[n])},resetPayloadPairs:function(e){s=i(e)?e:{}},setTrackerVersion:function(e){s.tv=e},setTrackerNamespace:function(e){s.tna=e},setAppId:function(e){s.aid=e},setPlatform:function(e){s.p=e},setUserId:function(e){s.uid=e},setScreenResolution:function(e,n){s.res=e+"x"+n},setViewport:function(e,n){s.vp=e+"x"+n},setColorDepth:function(e){s.cd=e},setTimezone:function(e){s.tz=e},setLang:function(e){s.lang=e},setIpAddress:function(e){s.ip=e},setUseragent:function(e){s.ua=e},addGlobalContexts:function(e){c.addGlobalContexts(e)},clearGlobalContexts:function(){c.clearGlobalContexts()},removeGlobalContexts:function(e){c.removeGlobalContexts(e)}}),{addPlugin:function(e){var n,t;e=e.plugin,d.push(e),null===(n=e.logger)||void 0===n||n.call(e,le),null===(t=e.activateCorePlugin)||void 0===t||t.call(e,g)}});return null==d||d.forEach((function(e){var n,t;null===(n=e.logger)||void 0===n||n.call(e,le),null===(t=e.activateCorePlugin)||void 0===t||t.call(e,g)})),g}function k(){try{return!!window.localStorage}catch(e){return!0}}function T(){if(!k())return!1;try{var e=window.localStorage;return e.setItem("modernizr","modernizr"),e.removeItem("modernizr"),!0}catch(e){return!1}}function x(){if("innerWidth"in window)var e=window.innerWidth,n=window.innerHeight;else e=(n=document.documentElement||document.body).clientWidth,n=n.clientHeight;return 0<=e&&0<=n?e+"x"+n:null}function A(){var e=document.documentElement,n=document.body,t=Math.max(e.clientWidth,e.offsetWidth,e.scrollWidth);return e=Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight,n?Math.max(n.offsetHeight,n.scrollHeight):0),isNaN(t)||isNaN(e)?"":t+"x"+e}function P(e){return!(!e||"string"!=typeof e.valueOf())}function O(e){return Number.isInteger&&Number.isInteger(e)||"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function I(e){if(!P(e)){e=e.text||"";var n=document.getElementsByTagName("title");n&&null!=n[0]&&(e=n[0].text)}return e}function C(e){var n=/^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(e);return n?n[1]:e}function D(e){var n=e.length;return"."===e.charAt(--n)&&(e=e.slice(0,n)),"*."===e.slice(0,2)&&(e=e.slice(1)),e}function N(e){var n=window,t="",r=L("referrer",n.location.href)||L("referer",n.location.href);if(r)return r;if(e)return e;try{t=n.top.document.referrer}catch(e){if(n.parent)try{t=n.parent.document.referrer}catch(e){t=""}}return""===t&&(t=document.referrer),t}function E(e,n,t,r){return e.addEventListener?(e.addEventListener(n,t,r),!0):e.attachEvent?e.attachEvent("on"+n,t):void(e["on"+n]=t)}function L(e,n){return(e=new RegExp("^[^#]*[?&]"+e+"=([^&#]*)").exec(n))?decodeURIComponent(e[1].replace(/\+/g," ")):null}function j(e,n,t){t=n+"="+t;var r=(e=e.split("#"))[0].split("?"),o=r.shift();if(r=r.join("?")){for(var i=!0,a=r.split("&"),c=0;c<a.length;c++)if(a[c].substr(0,n.length+1)===n+"="){i=!1,a[c]=t,r=a.join("&");break}i&&(r=t+"&"+r)}else r=t;return e[0]=o+"?"+r,e.join("#")}function B(e){try{var n=window.localStorage,t=n.getItem(e+".expires");if(null===t||+t>Date.now())return n.getItem(e);n.removeItem(e),n.removeItem(e+".expires")}catch(e){}}function M(e,n,t){void 0===t&&(t=63072e3);try{var r=window.localStorage,o=Date.now()+1e3*t;return r.setItem(e+".expires",o.toString()),r.setItem(e,n),!0}catch(e){return!1}}function U(e){try{var n=window.localStorage;return n.removeItem(e),n.removeItem(e+".expires"),!0}catch(e){return!1}}function _(e,n){for(var t=window.location.hostname,r="_sp_root_domain_test_"+(new Date).getTime(),o="_test_value_"+(new Date).getTime(),i=t.split("."),a=i.length-1;0<=a;){var c=i.slice(a,i.length).join(".");if(H(r,o,0,"/",c,e,n),H(r)===o){for(R(r,c,e,n),t=V("_sp_root_domain_test_"),r=0;r<t.length;r++)R(t[r],c,e,n);return c}--a}return t}function R(e,n,t,r){H(e,"",-1,"/",n,t,r)}function V(e){for(var n=document.cookie.split("; "),t=[],r=0;r<n.length;r++)n[r].substring(0,e.length)===e&&t.push(n[r]);return t}function H(e,n,t,r,o,i,a){return 1<arguments.length?document.cookie=e+"="+encodeURIComponent(null!=n?n:"")+(t?"; Expires="+new Date(+new Date+1e3*t).toUTCString():"")+(r?"; Path="+r:"")+(o?"; Domain="+o:"")+(i?"; SameSite="+i:"")+(a?"; Secure":""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}function z(e){return e.className.match(/\S+/g)||[]}function J(e,n){return e.hasOwnProperty("filter")&&e.filter?e.filter:n}function F(e){var n={};if(e=e.allowlist||e.denylist){Array.isArray(e)||(e=[e]);for(var t=0;t<e.length;t++)n[e[t]]=!0}return n}function q(e,n,t,r,o,i,a,c,u,s,l,f,d){function g(e){for(var n=0,t=0;t<e.length;t++){var r=e.charCodeAt(t);127>=r?n+=1:2047>=r?n+=2:55296<=r&&57343>=r?(n+=4,t++):n=65535>r?n+3:n+4}return n}function p(e){for(void 0===e&&(e=!1);A.length&&"string"!=typeof A[0]&&"object"!=typeof A[0];)A.shift();if(1>A.length)x=!1;else{if(!P(w))throw"No collector configured";if(x=!0,C){var n=function(e){for(var n=0,t=0;n<e.length&&!((t+=e[n].bytes)>=a);)n+=1;return n},r=void 0;if(j(A))var o=v(r=w,!0,e),i=n(A);else r=y(A[0]),o=v(r,!1,e),i=1;var c=setTimeout((function(){o.abort(),x=!1}),s),f=function(e){for(var n=0;n<e;n++)A.shift();t&&M(E,JSON.stringify(A.slice(0,u))),p()};if(o.onreadystatechange=function(){4===o.readyState&&200<=o.status&&400>o.status?(clearTimeout(c),f(i)):4===o.readyState&&400<=o.status&&(clearTimeout(c),x=!1)},j(A)){if(0<(n=A.slice(0,i)).length){if(e=!1,n=n.map((function(e){return e.evt})),I){var d=new Blob([h(m(n))],{type:"application/json"});try{e=navigator.sendBeacon(r,d)}catch(n){e=!1}}!0===e?f(i):o.send(h(m(n)))}}else o.send()}else if(l||j(A))x=!1;else{r=new Image(1,1);var g=!0;r.onload=function(){g&&(g=!1,A.shift(),t&&M(E,JSON.stringify(A.slice(0,u))),p())},r.onerror=function(){g&&(x=g=!1)},r.src=y(A[0]),setTimeout((function(){g&&x&&(g=!1,p())}),s)}}}function v(e,n,t){var r=new XMLHttpRequest;for(var o in n?(r.open("POST",e,!t),r.setRequestHeader("Content-Type","application/json; charset=UTF-8")):r.open("GET",e,!t),r.withCredentials=d,l&&r.setRequestHeader("SP-Anonymous","*"),f)Object.prototype.hasOwnProperty.call(f,o)&&r.setRequestHeader(o,f[o]);return r}function h(e){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:e})}function m(e){for(var n=(new Date).getTime().toString(),t=0;t<e.length;t++)e[t].stm=n;return e}function y(e){return c?w+e.replace("?","?stm="+(new Date).getTime()+"&"):w+e}var w,b,S,k,x=!1,A=[],O=!0===(r="string"==typeof r?r.toLowerCase():r)||"beacon"===r||"true"===r,I=!(!(O&&window.navigator&&window.navigator.sendBeacon)||(b=window.navigator.userAgent,(k=(k=b).match("(iP.+; CPU .*OS (d+)[_d]*.*) AppleWebKit/"))&&k.length&&parseInt(k[0])<=13||function(e,n,t){return!(!(t=t.match("(Macintosh;.*Mac OS X (d+)_(d+)[_d]*.*) AppleWebKit/"))||!t.length)&&(parseInt(t[0])<=e||parseInt(t[0])===e&&parseInt(t[1])<=n)}(10,15,b)&&(S=b).match("Version/.* Safari/")&&!S.match("Chrom(e|ium)")))&&O,C=!(!window.XMLHttpRequest||!("withCredentials"in new XMLHttpRequest)),D="get"!==r&&C&&("post"===r||O),N=D?o:"/i",E="snowplowOutQueue_"+e+"_"+(D?"post2":"get");if(O&&(f={}),i=t&&T()&&D&&i||1,t)try{var L=window.localStorage.getItem(E);A=L?JSON.parse(L):[]}catch(b){}Array.isArray(A)||(A=[]),n.outQueues.push(A),C&&1<i&&n.bufferFlushers.push((function(e){x||p(e)}));var j=function(e){return"object"==typeof e[0]};return{enqueueRequest:function(e,n){if(w=n+N,D){if((e=function(e){var n=Object.keys(e).map((function(n){return[n,e[n]]})).reduce((function(e,n){return e[n[0]]=n[1].toString(),e}),{});return{evt:n,bytes:g(JSON.stringify(n))}}(e)).bytes>=a)return le.warn("Event ("+e.bytes+"B) too big, max is "+a),void v(w,!0,!1).send(h(m([e.evt])));A.push(e)}else{var r,o=(n=A).push,c="?",s={co:!0,cx:!0},l=!0;for(r in e)e.hasOwnProperty(r)&&!s.hasOwnProperty(r)&&(l?l=!1:c+="&",c+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));for(var f in s)e.hasOwnProperty(f)&&s.hasOwnProperty(f)&&(c+="&"+f+"="+encodeURIComponent(e[f]));o.call(n,c)}e=!1,t&&(e=M(E,JSON.stringify(A.slice(0,u)))),x||e&&!(A.length>=i)||p()},executeQueue:function(){x||p()},setUseLocalStorage:function(e){t=e},setAnonymousTracking:function(e){l=e},setCollectorUrl:function(e){w=e+N},setBufferSize:function(e){i=e}}}function G(e,n,t){return"translate.googleusercontent.com"===e?(""===t&&(t=n),e=C(n=null!=(e=(e=/^(?:https?|ftp)(?::\/*(?:[^?]+))([?][^#]+)/.exec(n))&&1<(null==e?void 0:e.length)?L("u",e[1]):null)?e:"")):"cc.bingj.com"!==e&&"webcache.googleusercontent.com"!==e||(e=C(n=document.links[0].href)),[e,n,t]}function W(e,n,t,o,i,a){void 0===a&&(a={});var c=[];e=function(e,n,t,o,i,a){function u(){(Fe=G(window.location.hostname,window.location.href,N()))[1]!==Ge&&(We=N(Ge)),qe=D(Fe[0]),Ge=Fe[1]}function s(e){var n=(new Date).getTime();null!=(e=e.currentTarget)&&e.href&&(e.href=j(e.href,"_sp",_e+"."+n))}function l(e){for(var n=0;n<document.links.length;n++){var t=document.links[n];!t.spDecorationEnabled&&e(t)&&(E(t,"click",s,!0),E(t,"mousedown",s,!0),t.spDecorationEnabled=!0)}}function f(e){if(Ce){var n=/#.*/;e=e.replace(n,"")}return De&&(n=/[{}]/g,e=e.replace(n,"")),e}function d(e){return(e=/^([a-z]+):/.exec(e))?e[1]:null}function g(e){return e=en+e+"."+Ue,"localStorage"==gn?B(e):"cookie"==gn||"cookieAndLocalStorage"==gn?H(e):void 0}function p(){u(),Ue=pe((nn||qe)+(tn||"/")).slice(0,4)}function v(){Ee=(new Date).getTime()}function h(){var e=m(),n=e[0];n<Le?Le=n:n>je&&(je=n),(e=e[1])<Be?Be=e:e>Me&&(Me=e),v()}function m(){var e=document.documentElement;return e?[e.scrollLeft||window.pageXOffset,e.scrollTop||window.pageYOffset]:[0,0]}function y(){var e=m(),n=e[0];je=Le=n,Me=Be=e=e[1]}function w(){k(en+"ses."+Ue,"*",sn)}function b(e,n,t,r,o,i){k(en+"id."+Ue,e+"."+n+"."+t+"."+r+"."+o+"."+i,un)}function k(e,n,t){dn&&!ln||("localStorage"==gn?M(e,n,t):("cookie"==gn||"cookieAndLocalStorage"==gn)&&H(e,n,t,tn,nn,rn,on))}function T(e){var n=en+"id."+Ue,t=en+"ses."+Ue;U(n),U(t),R(n,nn,rn,on),R(t,nn,rn,on),null!=e&&e.preserveSession||(Re=ue.v4(),vn=0),null!=e&&e.preserveUser||(_e=ue.v4(),Ve=null)}function P(e){e&&e.stateStorageStrategy&&(a.stateStorageStrategy=e.stateStorageStrategy,gn=Te(a)),dn=!!a.anonymousTracking,ln=xe(a),fn=Ae(a),hn.setUseLocalStorage("localStorage"==gn||"cookieAndLocalStorage"==gn),hn.setAnonymousTracking(fn)}function V(){if(!dn||ln){var e="none"!=gn&&!!g("ses"),n=z();n[1]?_e=n[1]:(_e=dn?"":ue.v4(),n[1]=_e),Re=n[6],e||(n[3]++,Re=ue.v4(),n[6]=Re,n[5]=n[4]),"none"!=gn&&(w(),n[4]=Math.round((new Date).getTime()/1e3),n.shift(),b.apply(null,n))}}function z(){if("none"==gn)return[];var e=Math.round((new Date).getTime()/1e3),n=g("id");return n?(e=n.split(".")).unshift("0"):e=["1",_e,e,0,e,""],e[6]&&"undefined"!==e[6]||(e[6]=ue.v4()),e}function J(e){return 0===e.indexOf("http")?e:("https:"===document.location.protocol?"https":"http")+"://"+e}function F(){mn&&null!=i.pageViewId||(i.pageViewId=ue.v4())}function W(){return null==i.pageViewId&&(i.pageViewId=ue.v4()),i.pageViewId}function Q(e){var n=e.title,t=e.context,o=e.timestamp;if(e=e.contextCallback,u(),yn&&F(),yn=!0,Ke=document.title,n=I((Ie=n)||Ke),He.track(function(e){var n=e.pageUrl,t=e.pageTitle;e=e.referrer;var o=r();return o.add("e","pv"),o.add("url",n),o.add("page",t),o.add("refr",e),o}({pageUrl:f(Oe||Ge),pageTitle:n,referrer:f(Pe||We)}),(t||[]).concat(e?e():[]),o),o=new Date,n=!1,wn.enabled&&!wn.installed){n=wn.installed=!0;var i={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,n=Object.defineProperty({},"passive",{get:function(){e=!0},set:function(){}}),t=function(){};window.addEventListener("testPassiveEventSupport",t,n),window.removeEventListener("testPassiveEventSupport",t,n),i.hasSupport=e}}};i.update();var a="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(i,"hasSupport")?E(document,a,v,{passive:!0}):E(document,a,v),y(),a=function(e,n){return void 0===n&&(n=v),function(e){return E(document,e,n)}},"click mouseup mousedown mousemove keypress keydown keyup".split(" ").forEach(a(document)),["resize","focus","blur"].forEach(a(window)),a(window,h)("scroll")}if(wn.enabled&&($e||n))for(o in Ee=o.getTime(),o=void 0,wn.configurations)(n=wn.configurations[o])&&(window.clearInterval(n.activityInterval),X(n,t,e))}function X(e,n,t){var r=function(e,n){u(),e({context:n,pageViewId:W(),minXOffset:Le,minYOffset:Be,maxXOffset:je,maxYOffset:Me}),y()},o=function(){Ee+e.configHeartBeatTimer>(new Date).getTime()&&r(e.callback,(n||[]).concat(t?t():[]))};e.activityInterval=0!=e.configMinimumVisitLength?window.setTimeout((function(){Ee+e.configMinimumVisitLength>(new Date).getTime()&&r(e.callback,(n||[]).concat(t?t():[])),e.activityInterval=window.setInterval(o,e.configHeartBeatTimer)}),e.configMinimumVisitLength):window.setInterval(o,e.configHeartBeatTimer)}function Z(e){var n=e.minimumVisitLength,t=e.heartbeatDelay;if(e=e.callback,O(n)&&O(t))return{configMinimumVisitLength:1e3*n,configHeartBeatTimer:1e3*t,callback:e};le.error("Activity tracking minimumVisitLength & heartbeatDelay must be integers")}function K(e){var n=e.context,t=e.minXOffset,o=e.minYOffset,i=e.maxXOffset,a=e.maxYOffset;(e=document.title)!==Ke&&(Ke=e,Ie=void 0);var c=(e=He).track,u=f(Oe||Ge),s=I(Ie||Ke),l=f(Pe||We);t=Math.round(t),i=Math.round(i),o=Math.round(o),a=Math.round(a);var d=r();d.add("e","pp"),d.add("url",u),d.add("page",s),d.add("refr",l),t&&!isNaN(Number(t))&&d.add("pp_mix",t.toString()),i&&!isNaN(Number(i))&&d.add("pp_max",i.toString()),o&&!isNaN(Number(o))&&d.add("pp_miy",o.toString()),a&&!isNaN(Number(a))&&d.add("pp_may",a.toString()),c.call(e,d,n)}var $,ee,ne,te,re,oe,ie,ae,ce,se,fe,de,ge,ve,he,me,ye,we,be,Se,ke;a.eventMethod=null!==($=a.eventMethod)&&void 0!==$?$:"post";var Te=function(e){var n;return null!==(n=e.stateStorageStrategy)&&void 0!==n?n:"cookieAndLocalStorage"},xe=function(e){var n,t;return"boolean"!=typeof e.anonymousTracking&&(null!==(t=!0===(null===(n=e.anonymousTracking)||void 0===n?void 0:n.withSessionTracking))&&void 0!==t&&t)},Ae=function(e){var n,t;return"boolean"!=typeof e.anonymousTracking&&(null!==(t=!0===(null===(n=e.anonymousTracking)||void 0===n?void 0:n.withServerAnonymisation))&&void 0!==t&&t)};c.push({beforeTrack:function(e){var n=Math.round((new Date).getTime()/1e3),t=g("ses"),r=z(),o=r[0],i=r[1],a=r[2],c=r[3],s=r[4],l=r[5];r=r[6];var d=!!Ne&&!!H(Ne);cn||d?T():("0"===o?(Re=r,t||"none"==gn||(c++,l=s,Re=ue.v4()),vn=c):(new Date).getTime()-pn>1e3*sn&&(Re=ue.v4(),vn++),e.add("vp",x()),e.add("ds",A()),e.add("vid",ln?vn:dn?null:vn),e.add("sid",ln?Re:dn?null:Re),e.add("duid",dn?null:i),e.add("uid",dn?null:Ve),u(),e.add("refr",f(Pe||We)),e.add("url",f(Oe||Ge)),"none"!=gn&&(b(i,a,vn,n,l,Re),w()),pn=(new Date).getTime())}}),(null===(ne=null===(ee=null==a?void 0:a.contexts)||void 0===ee?void 0:ee.webPage)||void 0===ne||ne)&&c.push({contexts:function(){return[{schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:W()}}]}}),c.push.apply(c,null!==(te=a.plugins)&&void 0!==te?te:[]);var Pe,Oe,Ie,Ce,De,Ne,Ee,Le,je,Be,Me,Ue,_e,Re,Ve,He=S({base64:a.encodeBase64,corePlugins:c,callback:function(e){var n=!!Ne&&!!H(Ne);cn||n||hn.enqueueRequest(e.build(),Xe)}}),ze=navigator.userLanguage||navigator.language,Je=document.characterSet||document.charset,Fe=G(window.location.hostname,window.location.href,N()),qe=D(Fe[0]),Ge=Fe[1],We=Fe[2],Qe=null!==(re=a.platform)&&void 0!==re?re:"web",Xe=J(o),Ze=null!==(oe=a.postPath)&&void 0!==oe?oe:"/com.snowplowanalytics.snowplow/tp2",Ye=null!==(ie=a.appId)&&void 0!==ie?ie:"",Ke=document.title,$e=null===(ae=a.resetActivityTrackingOnPageView)||void 0===ae||ae,en=null!==(ce=a.cookieName)&&void 0!==ce?ce:"_sp_",nn=null!==(se=a.cookieDomain)&&void 0!==se?se:void 0,tn="/",rn=null!==(fe=a.cookieSameSite)&&void 0!==fe?fe:"None",on=null===(de=a.cookieSecure)||void 0===de||de,an=navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack,cn=void 0!==a.respectDoNotTrack&&(a.respectDoNotTrack&&("yes"===an||"1"===an)),un=null!==(ge=a.cookieLifetime)&&void 0!==ge?ge:63072e3,sn=null!==(ve=a.sessionCookieTimeout)&&void 0!==ve?ve:1800,ln=xe(a),fn=Ae(a),dn=!!a.anonymousTracking,gn=Te(a),pn=(new Date).getTime(),vn=1,hn=q(e,i,"localStorage"==gn||"cookieAndLocalStorage"==gn,a.eventMethod,Ze,null!==(he=a.bufferSize)&&void 0!==he?he:1,null!==(me=a.maxPostBytes)&&void 0!==me?me:4e4,null===(ye=a.useStm)||void 0===ye||ye,null!==(we=a.maxLocalStorageQueueSize)&&void 0!==we?we:1e3,null!==(be=a.connectionTimeout)&&void 0!==be?be:5e3,fn,null!==(Se=a.customHeaders)&&void 0!==Se?Se:{},null===(ke=a.withCredentials)||void 0===ke||ke),mn=!1,yn=!1,wn={enabled:!1,installed:!1,configurations:{}};return a.hasOwnProperty("discoverRootDomain")&&a.discoverRootDomain&&(nn=_(rn,on)),He.setTrackerVersion(t),He.setTrackerNamespace(n),He.setAppId(Ye),He.setPlatform(Qe),He.addPayloadPair("cookie",navigator.cookieEnabled?"1":"0"),He.addPayloadPair("cs",Je),He.addPayloadPair("lang",ze),He.addPayloadPair("res",screen.width+"x"+screen.height),He.addPayloadPair("cd",screen.colorDepth),p(),V(),a.crossDomainLinker&&l(a.crossDomainLinker),Y(Y({},{getDomainSessionIndex:function(){return vn},getPageViewId:function(){return W()},newSession:function(){var e=Math.round((new Date).getTime()/1e3),n=z(),t=n[1],r=n[2],o=n[3],i=n[4],a=n[5],c=n[6];"0"===n[0]?(Re=c,"none"!=gn&&(o++,a=i,Re=ue.v4()),vn=o,w()):(Re=ue.v4(),vn++),"none"!=gn&&(b(t,r,vn,e,a,Re),w()),pn=(new Date).getTime()},getCookieName:function(e){return en+e+"."+Ue},getUserId:function(){return Ve},getDomainUserId:function(){return z()[1]},getDomainUserInfo:function(){return z()},setReferrerUrl:function(e){Pe=e},setCustomUrl:function(e){u();var n,t=Ge;d(e)?Oe=e:"/"===e.slice(0,1)?Oe=d(t)+"://"+C(t)+e:(0<=(n=(t=f(t)).indexOf("?"))&&(t=t.slice(0,n)),(n=t.lastIndexOf("/"))!==t.length-1&&(t=t.slice(0,n+1)),Oe=t+e)},setDocumentTitle:function(e){Ke=document.title,Ie=e},discardHashTag:function(e){Ce=e},discardBrace:function(e){De=e},setCookiePath:function(e){tn=e,p()},setVisitorCookieTimeout:function(e){un=e},crossDomainLinker:function(e){l(e)},enableActivityTracking:function(e){wn.configurations.pagePing||(wn.enabled=!0,wn.configurations.pagePing=Z(Y(Y({},e),{callback:K})))},enableActivityTrackingCallback:function(e){wn.configurations.callback||(wn.enabled=!0,wn.configurations.callback=Z(e))},updatePageActivity:function(){v()},setOptOutCookie:function(e){Ne=e},setUserId:function(e){Ve=e},setUserIdFromLocation:function(e){u(),Ve=L(e,Ge)},setUserIdFromReferrer:function(e){u(),Ve=L(e,We)},setUserIdFromCookie:function(e){Ve=H(e)},setCollectorUrl:function(e){Xe=J(e),hn.setCollectorUrl(Xe)},setBufferSize:function(e){hn.setBufferSize(e)},flushBuffer:function(e){void 0===e&&(e={}),hn.executeQueue(),e.newBufferSize&&hn.setBufferSize(e.newBufferSize)},trackPageView:function(e){void 0===e&&(e={}),Q(e)},preservePageViewId:function(){mn=!0},disableAnonymousTracking:function(e){a.anonymousTracking=!1,P(e),V(),hn.executeQueue()},enableAnonymousTracking:function(e){var n;a.anonymousTracking=null===(n=e&&(null==e?void 0:e.options))||void 0===n||n,P(e),ln||F()},clearUserData:T}),{id:e,namespace:n,core:He,sharedState:i})}(e,n,t,o,i,a);var u=Y(Y({},e),{addPlugin:function(e){var n,t;u.core.addPlugin(e),null===(t=(n=e.plugin).activateBrowserPlugin)||void 0===t||t.call(n,u)}});return c.forEach((function(e){var n;null===(n=e.activateBrowserPlugin)||void 0===n||n.call(e,u)})),u}function Q(e){return Z(e,ve)}function X(){return Object.keys(ve)}function Z(e,n){for(var t=[],r=0;r<e.length;r++){var o=e[r];n.hasOwnProperty(o)?t.push(n[o]):le.warn(o+" not configured")}return t}for(var Y=function(){return(Y=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},K=t((function(e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var t=new Uint8Array(16);e.exports=function(){return n(t),t}}else{var r=Array(16);e.exports=function(){for(var e,n=0;16>n;n++)0==(3&n)&&(e=4294967296*Math.random()),r[n]=e>>>((3&n)<<3)&255;return r}}})),$=[],ee=0;256>ee;++ee)$[ee]=(ee+256).toString(16).substr(1);var ne,te,re=function(e,n){return n=n||0,[$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]]].join("")},oe=0,ie=0;(ee=function(e,n,t){if(t=n&&t||0,"string"==typeof e&&(n="binary"===e?Array(16):null,e=null),(e=(e=e||{}).random||(e.rng||K)())[6]=15&e[6]|64,e[8]=63&e[8]|128,n)for(var r=0;16>r;++r)n[t+r]=e[r];return n||re(e)}).v1=function(e,n,t){t=n&&t||0;var r=n||[],o=(e=e||{}).node||ne,i=void 0!==e.clockseq?e.clockseq:te;if(null==o||null==i){var a=K();null==o&&(o=ne=[1|a[0],a[1],a[2],a[3],a[4],a[5]]),null==i&&(i=te=16383&(a[6]<<8|a[7]))}a=void 0!==e.msecs?e.msecs:(new Date).getTime();var c=void 0!==e.nsecs?e.nsecs:ie+1,u=a-oe+(c-ie)/1e4;if(0>u&&void 0===e.clockseq&&(i=i+1&16383),(0>u||a>oe)&&void 0===e.nsecs&&(c=0),1e4<=c)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");for(oe=a,ie=c,te=i,e=(1e4*(268435455&(a+=122192928e5))+c)%4294967296,r[t++]=e>>>24&255,r[t++]=e>>>16&255,r[t++]=e>>>8&255,r[t++]=255&e,e=a/4294967296*1e4&268435455,r[t++]=e>>>8&255,r[t++]=255&e,r[t++]=e>>>24&15|16,r[t++]=e>>>16&255,r[t++]=i>>>8|128,r[t++]=255&i,i=0;6>i;++i)r[t+i]=o[i];return n||re(r)};var ae,ce,ue=ee.v4=ee,se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";(ce=ae||(ae={}))[ce.none=0]="none",ce[ce.error=1]="error",ce[ce.warn=2]="warn",ce[ce.debug=3]="debug",ce[ce.info=4]="info";var le=function(e){return void 0===e&&(e=ae.warn),{setLogLevel:function(n){e=ae[n]?n:ae.warn},warn:function(t,r){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];e>=ae.warn&&"undefined"!=typeof console&&(i="Snowplow: "+t,r?console.warn.apply(console,n([i+"\n",r],o)):console.warn.apply(console,n([i],o)))},error:function(t,r){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];e>=ae.error&&"undefined"!=typeof console&&(i="Snowplow: "+t+"\n",r?console.error.apply(console,n([i+"\n",r],o)):console.error.apply(console,n([i],o)))},debug:function(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];e>=ae.debug&&"undefined"!=typeof console&&console.debug.apply(console,n(["Snowplow: "+t],r))},info:function(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];e>=ae.info&&"undefined"!=typeof console&&console.info.apply(console,n(["Snowplow: "+t],r))}}}(),fe=t((function(e){var n;n={rotl:function(e,n){return e<<n|e>>>32-n},rotr:function(e,n){return e<<32-n|e>>>n},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var n=[];0<e;e--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(e){for(var n=[],t=0,r=0;t<e.length;t++,r+=8)n[r>>>5]|=e[t]<<24-r%32;return n},wordsToBytes:function(e){for(var n=[],t=0;t<32*e.length;t+=8)n.push(e[t>>>5]>>>24-t%32&255);return n},bytesToHex:function(e){for(var n=[],t=0;t<e.length;t++)n.push((e[t]>>>4).toString(16)),n.push((15&e[t]).toString(16));return n.join("")},hexToBytes:function(e){for(var n=[],t=0;t<e.length;t+=2)n.push(parseInt(e.substr(t,2),16));return n},bytesToBase64:function(e){for(var n=[],t=0;t<e.length;t+=3)for(var r=e[t]<<16|e[t+1]<<8|e[t+2],o=0;4>o;o++)8*t+6*o<=8*e.length?n.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],t=0,r=0;t<e.length;r=++t%4)0!=r&&n.push(("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t-1))&Math.pow(2,-2*r+8)-1)<<2*r|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t))>>>6-2*r);return n}},e.exports=n})),de={utf8:{stringToBytes:function(e){return de.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(de.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var n=[],t=0;t<e.length;t++)n.push(255&e.charCodeAt(t));return n},bytesToString:function(e){for(var n=[],t=0;t<e.length;t++)n.push(String.fromCharCode(e[t]));return n.join("")}}},ge=de,pe=t((function(e){var n,t,r;n=ge.utf8,t=ge.bin,(r=function(e,r){var o=fe.wordsToBytes,i=e;i.constructor==String?i=n.stringToBytes(i):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(i)?i=Array.prototype.slice.call(i,0):Array.isArray(i)||(i=i.toString()),e=fe.bytesToWords(i);var a=8*i.length;i=[];var c=1732584193,u=-271733879,s=-1732584194,l=271733878,f=-1009589776;for(e[a>>5]|=128<<24-a%32,e[15+(a+64>>>9<<4)]=a,a=0;a<e.length;a+=16){for(var d=c,g=u,p=s,v=l,h=f,m=0;80>m;m++){if(16>m)i[m]=e[a+m];else{var y=i[m-3]^i[m-8]^i[m-14]^i[m-16];i[m]=y<<1|y>>>31}y=(c<<5|c>>>27)+f+(i[m]>>>0)+(20>m?1518500249+(u&s|~u&l):40>m?1859775393+(u^s^l):60>m?(u&s|u&l|s&l)-1894007588:(u^s^l)-899497514),f=l,l=s,s=u<<30|u>>>2,u=c,c=y}c+=d,u+=g,s+=p,l+=v,f+=h}return o=o.call(fe,[c,u,s,l,f]),r&&r.asBytes?o:r&&r.asString?t.bytesToString(o):fe.bytesToHex(o)})._blocksize=16,r._digestsize=20,e.exports=r})),ve={},he=function(){this.outQueues=[],this.bufferFlushers=[],this.hasLoaded=!1,this.registeredOnLoadHandlers=[]};e.SharedState=he,e.addEventListener=E,e.addTracker=function(e,n,t,r,o,i){return ve.hasOwnProperty(e)?null:(ve[e]=W(e,n,t,r,o,i),ve[e])},e.allTrackerNames=X,e.allTrackers=function(){return ve},e.attemptDeleteLocalStorage=U,e.attemptGetLocalStorage=B,e.attemptGetSessionStorage=function(e){try{return window.sessionStorage.getItem(e)}catch(e){}},e.attemptWriteLocalStorage=M,e.attemptWriteSessionStorage=function(e,n){try{return window.sessionStorage.setItem(e,n),!0}catch(e){return!1}},e.cookie=H,e.createSharedState=function(){function e(){var e;if(!n.hasLoaded)for(n.hasLoaded=!0,e=0;e<n.registeredOnLoadHandlers.length;e++)n.registeredOnLoadHandlers[e]();return!0}var n=new he,t=document,r=window;return t.visibilityState&&E(t,"visibilitychange",(function(){"hidden"==t.visibilityState&&n.bufferFlushers.forEach((function(e){e(!1)}))}),!1),E(r,"beforeunload",(function(){n.bufferFlushers.forEach((function(e){e(!1)}))}),!1),"loading"===document.readyState?(t.addEventListener?t.addEventListener("DOMContentLoaded",(function n(){t.removeEventListener("DOMContentLoaded",n,!1),e()})):t.attachEvent&&t.attachEvent("onreadystatechange",(function n(){"complete"===t.readyState&&(t.detachEvent("onreadystatechange",n),e())})),E(r,"load",e,!1)):e(),n},e.decorateQuerystring=j,e.deleteCookie=R,e.detectDocumentSize=A,e.detectViewport=x,e.dispatchToTrackers=function(e,n){try{Q(null!=e?e:X()).forEach(n)}catch(e){le.error("Function failed",e)}},e.dispatchToTrackersInCollection=function(e,n,t){try{Z(null!=e?e:Object.keys(n),n).forEach(t)}catch(e){le.error("Function failed",e)}},e.findRootDomain=_,e.fixupDomain=D,e.fixupTitle=I,e.fixupUrl=G,e.fromQuerystring=L,e.getCookiesWithPrefix=V,e.getCssClasses=z,e.getFilterByClass=function(e){if(null==e||"object"!=typeof e||Array.isArray(e))return function(){return!0};var n=Object.prototype.hasOwnProperty.call(e,"allowlist"),t=F(e);return J(e,(function(e){e:{var r=0;for(e=z(e);r<e.length;r++)if(t[e[r]]){r=!0;break e}r=!1}return r===n}))},e.getFilterByName=function(e){if(null==e||"object"!=typeof e||Array.isArray(e))return function(){return!0};var n=e.hasOwnProperty("allowlist"),t=F(e);return J(e,(function(e){return e.name in t===n}))},e.getHostName=C,e.getReferrer=N,e.getTracker=function(e){return ve.hasOwnProperty(e)?ve[e]:(le.warn(e+" not configured"),null)},e.getTrackers=Q,e.hasLocalStorage=k,e.hasSessionStorage=function(){try{return!!window.sessionStorage}catch(e){return!0}},e.isFunction=function(e){return!(!e||"function"!=typeof e)},e.isInteger=O,e.isString=P,e.isValueInArray=function(e,n){for(var t=0;t<n.length;t++)if(n[t]===e)return!0;return!1},e.localStorageAccessible=T,e.parseAndValidateFloat=function(e){return e=parseFloat(e),isNaN(e)?void 0:e},e.parseAndValidateInt=function(e){return e=parseInt(e),isNaN(e)?void 0:e},e.trackerExists=function(e){return ve.hasOwnProperty(e)},Object.defineProperty(e,"__esModule",{value:!0})}));
"use strict";!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).snowplowBrowserTrackerCore={})}(this,(function(e){function n(e,n,t){if(t||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return e.concat(r||n)}function t(e){var n={exports:{}};return e(n,n.exports),n.exports}function r(){var e,n={},t=[],r=[],i=function(e,t){null!=t&&""!==t&&(n[e]=t)};return{add:i,addDict:function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&i(n,e[n])},addJson:function(e,n,i){i&&o(i)&&(e={keyIfEncoded:e,keyIfNotEncoded:n,json:i},r.push(e),t.push(e))},getPayload:function(){return n},getJson:function(){return t},withJsonProcessor:function(n){e=n},build:function(){return null==e||e(this,r),n}}}function o(e){if(!i(e))return!1;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))return!0;return!1}function i(e){return null!=e&&(e.constructor==={}.constructor||e.constructor===[].constructor)}function a(){var e=[],n=[];return{getGlobalPrimitives:function(){return e},getConditionalProviders:function(){return n},addGlobalContexts:function(t){for(var r=[],o=[],i=0;i<t.length;i++){var a=t[i];h(a)?r.push(a):g(a)&&o.push(a)}e=e.concat(o),n=n.concat(r)},clearGlobalContexts:function(){n=[],e=[]},removeGlobalContexts:function(t){for(var r=function(t){h(t)?n=n.filter((function(e){return JSON.stringify(e)!==JSON.stringify(t)})):g(t)&&(e=e.filter((function(e){return JSON.stringify(e)!==JSON.stringify(t)})))},o=0;o<t.length;o++)r(t[o])},getApplicableContexts:function(t){e:{for(var r=0,o=t.getJson();r<o.length;r++){var i=o[r];if("ue_px"===i.keyIfEncoded&&"object"==typeof i.json.data&&"string"==typeof(i=i.json.data.schema)){r=i;break e}}r=""}i="string"==typeof(o=t.getPayload().e)?o:"",o=[];var a=b(e,t,i,r);return o.push.apply(o,a),t=function(e,n,t,r){var o;return e=w(e).map((function(e){e:{if(p(e)){var o=e[0],i=!1;try{i=o({event:n.getPayload(),eventType:t,eventSchema:r})}catch(e){i=!1}if(!0===i){e=b(e[1],n,t,r);break e}}else if(v(e)&&function(e,n){var t=0,r=0,o=e.accept;return Array.isArray(o)?e.accept.some((function(e){return m(e,n)}))&&r++:"string"==typeof o&&m(o,n)&&r++,o=e.reject,Array.isArray(o)?e.reject.some((function(e){return m(e,n)}))&&t++:"string"==typeof o&&m(o,n)&&t++,0<r&&0===t}(e[0],r)){e=b(e[1],n,t,r);break e}e=[]}if(e&&0!==e.length)return e})),(o=[]).concat.apply(o,e.filter((function(e){return null!=e&&e.filter(Boolean)})))}(n,t,i,r),o.push.apply(o,t),o}}}function c(e){return!!((e=e.split("."))&&1<e.length)&&function(e){if("*"===e[0]||"*"===e[1])return!1;if(0<e.slice(2).length){var n=!1,t=0;for(e=e.slice(2);t<e.length;t++)if("*"===e[t])n=!0;else if(n)return!1;return!0}return 2==e.length}(e)}function u(e){if(null!==(e=/^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(e))&&c(e[1]))return e.slice(1,6)}function s(e){if(e=u(e)){var n=e[0];return 5===e.length&&c(n)}return!1}function l(e){return function(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}(e)?e.every((function(e){return s(e)})):"string"==typeof e&&s(e)}function f(e){return!!(o(e)&&"schema"in e&&"data"in e)&&("string"==typeof e.schema&&"object"==typeof e.data)}function d(e){return"function"==typeof e&&1>=e.length}function g(e){return d(e)||f(e)}function p(e){return!(!Array.isArray(e)||2!==e.length)&&(Array.isArray(e[1])?d(e[0])&&e[1].every(g):d(e[0])&&g(e[1]))}function v(e){return!(!Array.isArray(e)||2!==e.length)&&(!!function(e){var n=0;if(null!=e&&"object"==typeof e&&!Array.isArray(e)){if(Object.prototype.hasOwnProperty.call(e,"accept")){if(!l(e.accept))return!1;n+=1}if(Object.prototype.hasOwnProperty.call(e,"reject")){if(!l(e.reject))return!1;n+=1}return 0<n&&2>=n}return!1}(e[0])&&(Array.isArray(e[1])?e[1].every(g):g(e[1])))}function h(e){return p(e)||v(e)}function m(e,n){if(!s(e))return!1;if(e=u(e),n=null!==(n=/^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(n))?n.slice(1,6):void 0,e&&n){if(!function(e,n){if(n=n.split("."),e=e.split("."),n&&e){if(n.length!==e.length)return!1;for(var t=0;t<e.length;t++)if(!y(n[t],e[t]))return!1;return!0}return!1}(e[0],n[0]))return!1;for(var t=1;5>t;t++)if(!y(e[t],n[t]))return!1;return!0}return!1}function y(e,n){return e&&n&&"*"===e||e===n}function w(e){return Array.isArray(e)?e:[e]}function b(e,n,t,r){var o;return e=w(e).map((function(e){e:if(f(e))e=[e];else{if(d(e)){n:{var o=void 0;try{if(o=e({event:n.getPayload(),eventType:t,eventSchema:r}),Array.isArray(o)&&o.every(f)||f(o)){var i=o;break n}i=void 0;break n}catch(e){}i=void 0}if(f(i)){e=[i];break e}if(Array.isArray(i)){e=i;break e}}e=void 0}if(e&&0!==e.length)return e})),(o=[]).concat.apply(o,e.filter((function(e){return null!=e&&e.filter(Boolean)})))}function S(e){void 0===e&&(e={});var t,r,o,c,u,s,l,f=e.base64,d=e.corePlugins,g=null!=d?d:[];t=null==f||f,r=g,o=e.callback,c=function(e){return{addPluginContexts:function(t){var r=t?n([],t):[];return e.forEach((function(e){try{e.contexts&&r.push.apply(r,e.contexts())}catch(e){le.error("Error adding plugin contexts",e)}})),r}}}(r),u=a(),s=t,l={};var p=Y(Y({},e={track:function(e,n,t){e.withJsonProcessor(function(e){return function(n,t){for(var r=0;r<t.length;r++){var o=t[r],i=JSON.stringify(o.json);if(e){var a=n,c=a.add;if(o=o.keyIfEncoded,i){var u=0,s=0,l=[];if(i){i=unescape(encodeURIComponent(i));do{var f=i.charCodeAt(u++),d=i.charCodeAt(u++),g=i.charCodeAt(u++),p=f<<16|d<<8|g;f=p>>18&63,d=p>>12&63,g=p>>6&63,p&=63,l[s++]=se.charAt(f)+se.charAt(d)+se.charAt(g)+se.charAt(p)}while(u<i.length);u=l.join(""),i=((i=i.length%3)?u.slice(0,i-3):u)+"===".slice(i||3)}i=i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}c.call(a,o,i)}else n.add(o.keyIfNotEncoded,i)}t.length=0}}(s)),e.add("eid",ue.v4()),e.addDict(l),t=function(e){return null==e?{type:"dtm",value:(new Date).getTime()}:"number"==typeof e?{type:"dtm",value:e}:"ttm"===e.type?{type:"ttm",value:e.value}:{type:"dtm",value:e.value||(new Date).getTime()}}(t),e.add(t.type,t.value.toString()),void 0!==(n=(n=function(e,n){e=u.getApplicableContexts(e);var t=[];return n&&n.length&&t.push.apply(t,n),e&&e.length&&t.push.apply(t,e),t}(e,c.addPluginContexts(n)))&&n.length?{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:n}:void 0)&&e.addJson("cx","co",n),r.forEach((function(n){try{n.beforeTrack&&n.beforeTrack(e)}catch(e){le.error("Plugin beforeTrack",e)}})),"function"==typeof o&&o(e);var i=e.build();return r.forEach((function(e){try{e.afterTrack&&e.afterTrack(i)}catch(e){le.error("Plugin afterTrack",e)}})),i},addPayloadPair:function(e,n){l[e]=n},getBase64Encoding:function(){return s},setBase64Encoding:function(e){s=e},addPayloadDict:function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(l[n]=e[n])},resetPayloadPairs:function(e){l=i(e)?e:{}},setTrackerVersion:function(e){l.tv=e},setTrackerNamespace:function(e){l.tna=e},setAppId:function(e){l.aid=e},setPlatform:function(e){l.p=e},setUserId:function(e){l.uid=e},setScreenResolution:function(e,n){l.res=e+"x"+n},setViewport:function(e,n){l.vp=e+"x"+n},setColorDepth:function(e){l.cd=e},setTimezone:function(e){l.tz=e},setLang:function(e){l.lang=e},setIpAddress:function(e){l.ip=e},setUseragent:function(e){l.ua=e},addGlobalContexts:function(e){u.addGlobalContexts(e)},clearGlobalContexts:function(){u.clearGlobalContexts()},removeGlobalContexts:function(e){u.removeGlobalContexts(e)}}),{addPlugin:function(e){var n,t;e=e.plugin,g.push(e),null===(n=e.logger)||void 0===n||n.call(e,le),null===(t=e.activateCorePlugin)||void 0===t||t.call(e,p)}});return null==g||g.forEach((function(e){var n,t;null===(n=e.logger)||void 0===n||n.call(e,le),null===(t=e.activateCorePlugin)||void 0===t||t.call(e,p)})),p}function k(){try{return!!window.localStorage}catch(e){return!0}}function T(){if(!k())return!1;try{var e=window.localStorage;return e.setItem("modernizr","modernizr"),e.removeItem("modernizr"),!0}catch(e){return!1}}function x(){if("innerWidth"in window)var e=window.innerWidth,n=window.innerHeight;else e=(n=document.documentElement||document.body).clientWidth,n=n.clientHeight;return 0<=e&&0<=n?e+"x"+n:null}function A(){var e=document.documentElement,n=document.body,t=Math.max(e.clientWidth,e.offsetWidth,e.scrollWidth);return e=Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight,n?Math.max(n.offsetHeight,n.scrollHeight):0),isNaN(t)||isNaN(e)?"":t+"x"+e}function P(e){return!(!e||"string"!=typeof e.valueOf())}function O(e){return Number.isInteger&&Number.isInteger(e)||"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function I(e){if(!P(e)){e=e.text||"";var n=document.getElementsByTagName("title");n&&null!=n[0]&&(e=n[0].text)}return e}function C(e){var n=/^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(e);return n?n[1]:e}function D(e){var n=e.length;return"."===e.charAt(--n)&&(e=e.slice(0,n)),"*."===e.slice(0,2)&&(e=e.slice(1)),e}function N(e){var n=window,t="",r=L("referrer",n.location.href)||L("referer",n.location.href);if(r)return r;if(e)return e;try{t=n.top.document.referrer}catch(e){if(n.parent)try{t=n.parent.document.referrer}catch(e){t=""}}return""===t&&(t=document.referrer),t}function E(e,n,t,r){return e.addEventListener?(e.addEventListener(n,t,r),!0):e.attachEvent?e.attachEvent("on"+n,t):void(e["on"+n]=t)}function L(e,n){return(e=new RegExp("^[^#]*[?&]"+e+"=([^&#]*)").exec(n))?decodeURIComponent(e[1].replace(/\+/g," ")):null}function j(e,n,t){t=n+"="+t;var r=(e=e.split("#"))[0].split("?"),o=r.shift();if(r=r.join("?")){for(var i=!0,a=r.split("&"),c=0;c<a.length;c++)if(a[c].substr(0,n.length+1)===n+"="){i=!1,a[c]=t,r=a.join("&");break}i&&(r=t+"&"+r)}else r=t;return e[0]=o+"?"+r,e.join("#")}function B(e){try{var n=window.localStorage,t=n.getItem(e+".expires");if(null===t||+t>Date.now())return n.getItem(e);n.removeItem(e),n.removeItem(e+".expires")}catch(e){}}function M(e,n,t){void 0===t&&(t=63072e3);try{var r=window.localStorage,o=Date.now()+1e3*t;return r.setItem(e+".expires",o.toString()),r.setItem(e,n),!0}catch(e){return!1}}function U(e){try{var n=window.localStorage;return n.removeItem(e),n.removeItem(e+".expires"),!0}catch(e){return!1}}function _(e,n){for(var t=window.location.hostname,r="_sp_root_domain_test_"+(new Date).getTime(),o="_test_value_"+(new Date).getTime(),i=t.split("."),a=i.length-1;0<=a;){var c=i.slice(a,i.length).join(".");if(H(r,o,0,"/",c,e,n),H(r)===o){for(R(r,c,e,n),t=V("_sp_root_domain_test_"),r=0;r<t.length;r++)R(t[r],c,e,n);return c}--a}return t}function R(e,n,t,r){H(e,"",-1,"/",n,t,r)}function V(e){for(var n=document.cookie.split("; "),t=[],r=0;r<n.length;r++)n[r].substring(0,e.length)===e&&t.push(n[r]);return t}function H(e,n,t,r,o,i,a){return 1<arguments.length?document.cookie=e+"="+encodeURIComponent(null!=n?n:"")+(t?"; Expires="+new Date(+new Date+1e3*t).toUTCString():"")+(r?"; Path="+r:"")+(o?"; Domain="+o:"")+(i?"; SameSite="+i:"")+(a?"; Secure":""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}function z(e){return e.className.match(/\S+/g)||[]}function J(e,n){return e.hasOwnProperty("filter")&&e.filter?e.filter:n}function F(e){var n={};if(e=e.allowlist||e.denylist){Array.isArray(e)||(e=[e]);for(var t=0;t<e.length;t++)n[e[t]]=!0}return n}function q(e,n,t,r,o,i,a,c,u,s,l,f,d){function g(e){for(var n=0,t=0;t<e.length;t++){var r=e.charCodeAt(t);127>=r?n+=1:2047>=r?n+=2:55296<=r&&57343>=r?(n+=4,t++):n=65535>r?n+3:n+4}return n}function p(e){for(void 0===e&&(e=!1);A.length&&"string"!=typeof A[0]&&"object"!=typeof A[0];)A.shift();if(1>A.length)x=!1;else{if(!P(w))throw"No collector configured";if(x=!0,C){var n=function(e){for(var n=0,t=0;n<e.length&&!((t+=e[n].bytes)>=a);)n+=1;return n},r=void 0;if(j(A))var o=v(r=w,!0,e),i=n(A);else r=y(A[0]),o=v(r,!1,e),i=1;var c=setTimeout((function(){o.abort(),x=!1}),s),f=function(e){for(var n=0;n<e;n++)A.shift();t&&M(E,JSON.stringify(A.slice(0,u))),p()};if(o.onreadystatechange=function(){4===o.readyState&&200<=o.status&&400>o.status?(clearTimeout(c),f(i)):4===o.readyState&&400<=o.status&&(clearTimeout(c),x=!1)},j(A)){if(0<(n=A.slice(0,i)).length){if(e=!1,n=n.map((function(e){return e.evt})),I){var d=new Blob([h(m(n))],{type:"application/json"});try{e=navigator.sendBeacon(r,d)}catch(n){e=!1}}!0===e?f(i):o.send(h(m(n)))}}else o.send()}else if(l||j(A))x=!1;else{r=new Image(1,1);var g=!0;r.onload=function(){g&&(g=!1,A.shift(),t&&M(E,JSON.stringify(A.slice(0,u))),p())},r.onerror=function(){g&&(x=g=!1)},r.src=y(A[0]),setTimeout((function(){g&&x&&(g=!1,p())}),s)}}}function v(e,n,t){var r=new XMLHttpRequest;for(var o in n?(r.open("POST",e,!t),r.setRequestHeader("Content-Type","application/json; charset=UTF-8")):r.open("GET",e,!t),r.withCredentials=d,l&&r.setRequestHeader("SP-Anonymous","*"),f)Object.prototype.hasOwnProperty.call(f,o)&&r.setRequestHeader(o,f[o]);return r}function h(e){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:e})}function m(e){for(var n=(new Date).getTime().toString(),t=0;t<e.length;t++)e[t].stm=n;return e}function y(e){return c?w+e.replace("?","?stm="+(new Date).getTime()+"&"):w+e}var w,b,S,k,x=!1,A=[],O=!0===(r="string"==typeof r?r.toLowerCase():r)||"beacon"===r||"true"===r,I=!(!(O&&window.navigator&&window.navigator.sendBeacon)||(b=window.navigator.userAgent,(k=(k=b).match("(iP.+; CPU .*OS (d+)[_d]*.*) AppleWebKit/"))&&k.length&&parseInt(k[0])<=13||function(e,n,t){return!(!(t=t.match("(Macintosh;.*Mac OS X (d+)_(d+)[_d]*.*) AppleWebKit/"))||!t.length)&&(parseInt(t[0])<=e||parseInt(t[0])===e&&parseInt(t[1])<=n)}(10,15,b)&&(S=b).match("Version/.* Safari/")&&!S.match("Chrom(e|ium)")))&&O,C=!(!window.XMLHttpRequest||!("withCredentials"in new XMLHttpRequest)),D="get"!==r&&C&&("post"===r||O),N=D?o:"/i",E="snowplowOutQueue_"+e+"_"+(D?"post2":"get");if(O&&(f={}),i=t&&T()&&D&&i||1,t)try{var L=window.localStorage.getItem(E);A=L?JSON.parse(L):[]}catch(b){}Array.isArray(A)||(A=[]),n.outQueues.push(A),C&&1<i&&n.bufferFlushers.push((function(e){x||p(e)}));var j=function(e){return"object"==typeof e[0]};return{enqueueRequest:function(e,n){if(w=n+N,D){if((e=function(e){var n=Object.keys(e).map((function(n){return[n,e[n]]})).reduce((function(e,n){return e[n[0]]=n[1].toString(),e}),{});return{evt:n,bytes:g(JSON.stringify(n))}}(e)).bytes>=a)return le.warn("Event ("+e.bytes+"B) too big, max is "+a),void v(w,!0,!1).send(h(m([e.evt])));A.push(e)}else{var r,o=(n=A).push,c="?",s={co:!0,cx:!0},l=!0;for(r in e)e.hasOwnProperty(r)&&!s.hasOwnProperty(r)&&(l?l=!1:c+="&",c+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));for(var f in s)e.hasOwnProperty(f)&&s.hasOwnProperty(f)&&(c+="&"+f+"="+encodeURIComponent(e[f]));o.call(n,c)}e=!1,t&&(e=M(E,JSON.stringify(A.slice(0,u)))),x||e&&!(A.length>=i)||p()},executeQueue:function(){x||p()},setUseLocalStorage:function(e){t=e},setAnonymousTracking:function(e){l=e},setCollectorUrl:function(e){w=e+N},setBufferSize:function(e){i=e}}}function G(e,n,t){return"translate.googleusercontent.com"===e?(""===t&&(t=n),e=C(n=null!=(e=(e=/^(?:https?|ftp)(?::\/*(?:[^?]+))([?][^#]+)/.exec(n))&&1<(null==e?void 0:e.length)?L("u",e[1]):null)?e:"")):"cc.bingj.com"!==e&&"webcache.googleusercontent.com"!==e||(e=C(n=document.links[0].href)),[e,n,t]}function W(e,n,t,o,i,a){void 0===a&&(a={});var c=[];e=function(e,n,t,o,i,a){function u(){(Fe=G(window.location.hostname,window.location.href,N()))[1]!==Ge&&(We=N(Ge)),qe=D(Fe[0]),Ge=Fe[1]}function s(e){var n=(new Date).getTime();null!=(e=e.currentTarget)&&e.href&&(e.href=j(e.href,"_sp",_e+"."+n))}function l(e){for(var n=0;n<document.links.length;n++){var t=document.links[n];!t.spDecorationEnabled&&e(t)&&(E(t,"click",s,!0),E(t,"mousedown",s,!0),t.spDecorationEnabled=!0)}}function f(e){if(Ce){var n=/#.*/;e=e.replace(n,"")}return De&&(n=/[{}]/g,e=e.replace(n,"")),e}function d(e){return(e=/^([a-z]+):/.exec(e))?e[1]:null}function g(e){return e=en+e+"."+Ue,"localStorage"==gn?B(e):"cookie"==gn||"cookieAndLocalStorage"==gn?H(e):void 0}function p(){u(),Ue=pe((nn||qe)+(tn||"/")).slice(0,4)}function v(){Ee=(new Date).getTime()}function h(){var e=m(),n=e[0];n<Le?Le=n:n>je&&(je=n),(e=e[1])<Be?Be=e:e>Me&&(Me=e),v()}function m(){var e=document.documentElement;return e?[e.scrollLeft||window.pageXOffset,e.scrollTop||window.pageYOffset]:[0,0]}function y(){var e=m(),n=e[0];je=Le=n,Me=Be=e=e[1]}function w(){k(en+"ses."+Ue,"*",sn)}function b(e,n,t,r,o,i){k(en+"id."+Ue,e+"."+n+"."+t+"."+r+"."+o+"."+i,un)}function k(e,n,t){dn&&!ln||("localStorage"==gn?M(e,n,t):("cookie"==gn||"cookieAndLocalStorage"==gn)&&H(e,n,t,tn,nn,rn,on))}function T(e){var n=en+"id."+Ue,t=en+"ses."+Ue;U(n),U(t),R(n,nn,rn,on),R(t,nn,rn,on),null!=e&&e.preserveSession||(Re=ue.v4(),vn=0),null!=e&&e.preserveUser||(_e=ue.v4(),Ve=null)}function P(e){e&&e.stateStorageStrategy&&(a.stateStorageStrategy=e.stateStorageStrategy,gn=Te(a)),dn=!!a.anonymousTracking,ln=xe(a),fn=Ae(a),hn.setUseLocalStorage("localStorage"==gn||"cookieAndLocalStorage"==gn),hn.setAnonymousTracking(fn)}function V(){if(!dn||ln){var e="none"!=gn&&!!g("ses"),n=z();n[1]?_e=n[1]:(_e=dn?"":ue.v4(),n[1]=_e),Re=n[6],e||(n[3]++,Re=ue.v4(),n[6]=Re,n[5]=n[4]),"none"!=gn&&(w(),n[4]=Math.round((new Date).getTime()/1e3),n.shift(),b.apply(null,n))}}function z(){if("none"==gn)return[];var e=Math.round((new Date).getTime()/1e3),n=g("id");return n?(e=n.split(".")).unshift("0"):e=["1",_e,e,0,e,""],e[6]&&"undefined"!==e[6]||(e[6]=ue.v4()),e}function J(e){return 0===e.indexOf("http")?e:("https:"===document.location.protocol?"https":"http")+"://"+e}function F(){mn&&null!=i.pageViewId||(i.pageViewId=ue.v4())}function W(){return null==i.pageViewId&&(i.pageViewId=ue.v4()),i.pageViewId}function Q(e){var n=e.title,t=e.context,o=e.timestamp;if(e=e.contextCallback,u(),yn&&F(),yn=!0,Ke=document.title,n=I((Ie=n)||Ke),He.track(function(e){var n=e.pageUrl,t=e.pageTitle;e=e.referrer;var o=r();return o.add("e","pv"),o.add("url",n),o.add("page",t),o.add("refr",e),o}({pageUrl:f(Oe||Ge),pageTitle:n,referrer:f(Pe||We)}),(t||[]).concat(e?e():[]),o),o=new Date,n=!1,wn.enabled&&!wn.installed){n=wn.installed=!0;var i={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,n=Object.defineProperty({},"passive",{get:function(){e=!0},set:function(){}}),t=function(){};window.addEventListener("testPassiveEventSupport",t,n),window.removeEventListener("testPassiveEventSupport",t,n),i.hasSupport=e}}};i.update();var a="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(i,"hasSupport")?E(document,a,v,{passive:!0}):E(document,a,v),y(),a=function(e,n){return void 0===n&&(n=v),function(e){return E(document,e,n)}},"click mouseup mousedown mousemove keypress keydown keyup".split(" ").forEach(a(document)),["resize","focus","blur"].forEach(a(window)),a(window,h)("scroll")}if(wn.enabled&&($e||n))for(o in Ee=o.getTime(),o=void 0,wn.configurations)(n=wn.configurations[o])&&(window.clearInterval(n.activityInterval),X(n,t,e))}function X(e,n,t){var r=function(e,n){u(),e({context:n,pageViewId:W(),minXOffset:Le,minYOffset:Be,maxXOffset:je,maxYOffset:Me}),y()},o=function(){Ee+e.configHeartBeatTimer>(new Date).getTime()&&r(e.callback,(n||[]).concat(t?t():[]))};e.activityInterval=0!=e.configMinimumVisitLength?window.setTimeout((function(){Ee+e.configMinimumVisitLength>(new Date).getTime()&&r(e.callback,(n||[]).concat(t?t():[])),e.activityInterval=window.setInterval(o,e.configHeartBeatTimer)}),e.configMinimumVisitLength):window.setInterval(o,e.configHeartBeatTimer)}function Z(e){var n=e.minimumVisitLength,t=e.heartbeatDelay;if(e=e.callback,O(n)&&O(t))return{configMinimumVisitLength:1e3*n,configHeartBeatTimer:1e3*t,callback:e};le.error("Activity tracking minimumVisitLength & heartbeatDelay must be integers")}function K(e){var n=e.context,t=e.minXOffset,o=e.minYOffset,i=e.maxXOffset,a=e.maxYOffset;(e=document.title)!==Ke&&(Ke=e,Ie=void 0);var c=(e=He).track,u=f(Oe||Ge),s=I(Ie||Ke),l=f(Pe||We);t=Math.round(t),i=Math.round(i),o=Math.round(o),a=Math.round(a);var d=r();d.add("e","pp"),d.add("url",u),d.add("page",s),d.add("refr",l),t&&!isNaN(Number(t))&&d.add("pp_mix",t.toString()),i&&!isNaN(Number(i))&&d.add("pp_max",i.toString()),o&&!isNaN(Number(o))&&d.add("pp_miy",o.toString()),a&&!isNaN(Number(a))&&d.add("pp_may",a.toString()),c.call(e,d,n)}var $,ee,ne,te,re,oe,ie,ae,ce,se,fe,de,ge,ve,he,me,ye,we,be,Se,ke;a.eventMethod=null!==($=a.eventMethod)&&void 0!==$?$:"post";var Te=function(e){var n;return null!==(n=e.stateStorageStrategy)&&void 0!==n?n:"cookieAndLocalStorage"},xe=function(e){var n,t;return"boolean"!=typeof e.anonymousTracking&&(null!==(t=!0===(null===(n=e.anonymousTracking)||void 0===n?void 0:n.withSessionTracking))&&void 0!==t&&t)},Ae=function(e){var n,t;return"boolean"!=typeof e.anonymousTracking&&(null!==(t=!0===(null===(n=e.anonymousTracking)||void 0===n?void 0:n.withServerAnonymisation))&&void 0!==t&&t)};c.push({beforeTrack:function(e){var n=Math.round((new Date).getTime()/1e3),t=g("ses"),r=z(),o=r[0],i=r[1],a=r[2],c=r[3],s=r[4],l=r[5];r=r[6];var d=!!Ne&&!!H(Ne);cn||d?T():("0"===o?(Re=r,t||"none"==gn||(c++,l=s,Re=ue.v4()),vn=c):(new Date).getTime()-pn>1e3*sn&&(Re=ue.v4(),vn++),e.add("vp",x()),e.add("ds",A()),e.add("vid",ln?vn:dn?null:vn),e.add("sid",ln?Re:dn?null:Re),e.add("duid",dn?null:i),e.add("uid",dn?null:Ve),u(),e.add("refr",f(Pe||We)),e.add("url",f(Oe||Ge)),"none"!=gn&&(b(i,a,vn,n,l,Re),w()),pn=(new Date).getTime())}}),(null===(ne=null===(ee=null==a?void 0:a.contexts)||void 0===ee?void 0:ee.webPage)||void 0===ne||ne)&&c.push({contexts:function(){return[{schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:W()}}]}}),c.push.apply(c,null!==(te=a.plugins)&&void 0!==te?te:[]);var Pe,Oe,Ie,Ce,De,Ne,Ee,Le,je,Be,Me,Ue,_e,Re,Ve,He=S({base64:a.encodeBase64,corePlugins:c,callback:function(e){var n=!!Ne&&!!H(Ne);cn||n||hn.enqueueRequest(e.build(),Xe)}}),ze=navigator.userLanguage||navigator.language,Je=document.characterSet||document.charset,Fe=G(window.location.hostname,window.location.href,N()),qe=D(Fe[0]),Ge=Fe[1],We=Fe[2],Qe=null!==(re=a.platform)&&void 0!==re?re:"web",Xe=J(o),Ze=null!==(oe=a.postPath)&&void 0!==oe?oe:"/com.snowplowanalytics.snowplow/tp2",Ye=null!==(ie=a.appId)&&void 0!==ie?ie:"",Ke=document.title,$e=null===(ae=a.resetActivityTrackingOnPageView)||void 0===ae||ae,en=null!==(ce=a.cookieName)&&void 0!==ce?ce:"_sp_",nn=null!==(se=a.cookieDomain)&&void 0!==se?se:void 0,tn="/",rn=null!==(fe=a.cookieSameSite)&&void 0!==fe?fe:"None",on=null===(de=a.cookieSecure)||void 0===de||de,an=navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack,cn=void 0!==a.respectDoNotTrack&&(a.respectDoNotTrack&&("yes"===an||"1"===an)),un=null!==(ge=a.cookieLifetime)&&void 0!==ge?ge:63072e3,sn=null!==(ve=a.sessionCookieTimeout)&&void 0!==ve?ve:1800,ln=xe(a),fn=Ae(a),dn=!!a.anonymousTracking,gn=Te(a),pn=(new Date).getTime(),vn=1,hn=q(e,i,"localStorage"==gn||"cookieAndLocalStorage"==gn,a.eventMethod,Ze,null!==(he=a.bufferSize)&&void 0!==he?he:1,null!==(me=a.maxPostBytes)&&void 0!==me?me:4e4,null===(ye=a.useStm)||void 0===ye||ye,null!==(we=a.maxLocalStorageQueueSize)&&void 0!==we?we:1e3,null!==(be=a.connectionTimeout)&&void 0!==be?be:5e3,fn,null!==(Se=a.customHeaders)&&void 0!==Se?Se:{},null===(ke=a.withCredentials)||void 0===ke||ke),mn=!1,yn=!1,wn={enabled:!1,installed:!1,configurations:{}};return a.hasOwnProperty("discoverRootDomain")&&a.discoverRootDomain&&(nn=_(rn,on)),He.setTrackerVersion(t),He.setTrackerNamespace(n),He.setAppId(Ye),He.setPlatform(Qe),He.addPayloadPair("cookie",navigator.cookieEnabled?"1":"0"),He.addPayloadPair("cs",Je),He.addPayloadPair("lang",ze),He.addPayloadPair("res",screen.width+"x"+screen.height),He.addPayloadPair("cd",screen.colorDepth),p(),V(),a.crossDomainLinker&&l(a.crossDomainLinker),Y(Y({},{getDomainSessionIndex:function(){return vn},getPageViewId:function(){return W()},newSession:function(){var e=Math.round((new Date).getTime()/1e3),n=z(),t=n[1],r=n[2],o=n[3],i=n[4],a=n[5],c=n[6];"0"===n[0]?(Re=c,"none"!=gn&&(o++,a=i,Re=ue.v4()),vn=o,w()):(Re=ue.v4(),vn++),"none"!=gn&&(b(t,r,vn,e,a,Re),w()),pn=(new Date).getTime()},getCookieName:function(e){return en+e+"."+Ue},getUserId:function(){return Ve},getDomainUserId:function(){return z()[1]},getDomainUserInfo:function(){return z()},setReferrerUrl:function(e){Pe=e},setCustomUrl:function(e){u();var n,t=Ge;d(e)?Oe=e:"/"===e.slice(0,1)?Oe=d(t)+"://"+C(t)+e:(0<=(n=(t=f(t)).indexOf("?"))&&(t=t.slice(0,n)),(n=t.lastIndexOf("/"))!==t.length-1&&(t=t.slice(0,n+1)),Oe=t+e)},setDocumentTitle:function(e){Ke=document.title,Ie=e},discardHashTag:function(e){Ce=e},discardBrace:function(e){De=e},setCookiePath:function(e){tn=e,p()},setVisitorCookieTimeout:function(e){un=e},crossDomainLinker:function(e){l(e)},enableActivityTracking:function(e){wn.configurations.pagePing||(wn.enabled=!0,wn.configurations.pagePing=Z(Y(Y({},e),{callback:K})))},enableActivityTrackingCallback:function(e){wn.configurations.callback||(wn.enabled=!0,wn.configurations.callback=Z(e))},updatePageActivity:function(){v()},setOptOutCookie:function(e){Ne=e},setUserId:function(e){Ve=e},setUserIdFromLocation:function(e){u(),Ve=L(e,Ge)},setUserIdFromReferrer:function(e){u(),Ve=L(e,We)},setUserIdFromCookie:function(e){Ve=H(e)},setCollectorUrl:function(e){Xe=J(e),hn.setCollectorUrl(Xe)},setBufferSize:function(e){hn.setBufferSize(e)},flushBuffer:function(e){void 0===e&&(e={}),hn.executeQueue(),e.newBufferSize&&hn.setBufferSize(e.newBufferSize)},trackPageView:function(e){void 0===e&&(e={}),Q(e)},preservePageViewId:function(){mn=!0},disableAnonymousTracking:function(e){a.anonymousTracking=!1,P(e),V(),hn.executeQueue()},enableAnonymousTracking:function(e){var n;a.anonymousTracking=null===(n=e&&(null==e?void 0:e.options))||void 0===n||n,P(e),ln||F()},clearUserData:T}),{id:e,namespace:n,core:He,sharedState:i})}(e,n,t,o,i,a);var u=Y(Y({},e),{addPlugin:function(e){var n,t;u.core.addPlugin(e),null===(t=(n=e.plugin).activateBrowserPlugin)||void 0===t||t.call(n,u)}});return c.forEach((function(e){var n;null===(n=e.activateBrowserPlugin)||void 0===n||n.call(e,u)})),u}function Q(e){return Z(e,ve)}function X(){return Object.keys(ve)}function Z(e,n){for(var t=[],r=0;r<e.length;r++){var o=e[r];n.hasOwnProperty(o)?t.push(n[o]):le.warn(o+" not configured")}return t}for(var Y=function(){return(Y=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},K=t((function(e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var t=new Uint8Array(16);e.exports=function(){return n(t),t}}else{var r=Array(16);e.exports=function(){for(var e,n=0;16>n;n++)0==(3&n)&&(e=4294967296*Math.random()),r[n]=e>>>((3&n)<<3)&255;return r}}})),$=[],ee=0;256>ee;++ee)$[ee]=(ee+256).toString(16).substr(1);var ne,te,re=function(e,n){return n=n||0,[$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],"-",$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]],$[e[n++]]].join("")},oe=0,ie=0;(ee=function(e,n,t){if(t=n&&t||0,"string"==typeof e&&(n="binary"===e?Array(16):null,e=null),(e=(e=e||{}).random||(e.rng||K)())[6]=15&e[6]|64,e[8]=63&e[8]|128,n)for(var r=0;16>r;++r)n[t+r]=e[r];return n||re(e)}).v1=function(e,n,t){t=n&&t||0;var r=n||[],o=(e=e||{}).node||ne,i=void 0!==e.clockseq?e.clockseq:te;if(null==o||null==i){var a=K();null==o&&(o=ne=[1|a[0],a[1],a[2],a[3],a[4],a[5]]),null==i&&(i=te=16383&(a[6]<<8|a[7]))}a=void 0!==e.msecs?e.msecs:(new Date).getTime();var c=void 0!==e.nsecs?e.nsecs:ie+1,u=a-oe+(c-ie)/1e4;if(0>u&&void 0===e.clockseq&&(i=i+1&16383),(0>u||a>oe)&&void 0===e.nsecs&&(c=0),1e4<=c)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");for(oe=a,ie=c,te=i,e=(1e4*(268435455&(a+=122192928e5))+c)%4294967296,r[t++]=e>>>24&255,r[t++]=e>>>16&255,r[t++]=e>>>8&255,r[t++]=255&e,e=a/4294967296*1e4&268435455,r[t++]=e>>>8&255,r[t++]=255&e,r[t++]=e>>>24&15|16,r[t++]=e>>>16&255,r[t++]=i>>>8|128,r[t++]=255&i,i=0;6>i;++i)r[t+i]=o[i];return n||re(r)};var ae,ce,ue=ee.v4=ee,se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";(ce=ae||(ae={}))[ce.none=0]="none",ce[ce.error=1]="error",ce[ce.warn=2]="warn",ce[ce.debug=3]="debug",ce[ce.info=4]="info";var le=function(e){return void 0===e&&(e=ae.warn),{setLogLevel:function(n){e=ae[n]?n:ae.warn},warn:function(t,r){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];e>=ae.warn&&"undefined"!=typeof console&&(i="Snowplow: "+t,r?console.warn.apply(console,n([i+"\n",r],o)):console.warn.apply(console,n([i],o)))},error:function(t,r){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];e>=ae.error&&"undefined"!=typeof console&&(i="Snowplow: "+t+"\n",r?console.error.apply(console,n([i+"\n",r],o)):console.error.apply(console,n([i],o)))},debug:function(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];e>=ae.debug&&"undefined"!=typeof console&&console.debug.apply(console,n(["Snowplow: "+t],r))},info:function(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];e>=ae.info&&"undefined"!=typeof console&&console.info.apply(console,n(["Snowplow: "+t],r))}}}(),fe=t((function(e){var n;n={rotl:function(e,n){return e<<n|e>>>32-n},rotr:function(e,n){return e<<32-n|e>>>n},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var n=[];0<e;e--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(e){for(var n=[],t=0,r=0;t<e.length;t++,r+=8)n[r>>>5]|=e[t]<<24-r%32;return n},wordsToBytes:function(e){for(var n=[],t=0;t<32*e.length;t+=8)n.push(e[t>>>5]>>>24-t%32&255);return n},bytesToHex:function(e){for(var n=[],t=0;t<e.length;t++)n.push((e[t]>>>4).toString(16)),n.push((15&e[t]).toString(16));return n.join("")},hexToBytes:function(e){for(var n=[],t=0;t<e.length;t+=2)n.push(parseInt(e.substr(t,2),16));return n},bytesToBase64:function(e){for(var n=[],t=0;t<e.length;t+=3)for(var r=e[t]<<16|e[t+1]<<8|e[t+2],o=0;4>o;o++)8*t+6*o<=8*e.length?n.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],t=0,r=0;t<e.length;r=++t%4)0!=r&&n.push(("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t-1))&Math.pow(2,-2*r+8)-1)<<2*r|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t))>>>6-2*r);return n}},e.exports=n})),de={utf8:{stringToBytes:function(e){return de.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(de.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var n=[],t=0;t<e.length;t++)n.push(255&e.charCodeAt(t));return n},bytesToString:function(e){for(var n=[],t=0;t<e.length;t++)n.push(String.fromCharCode(e[t]));return n.join("")}}},ge=de,pe=t((function(e){var n,t,r;n=ge.utf8,t=ge.bin,(r=function(e,r){var o=fe.wordsToBytes,i=e;i.constructor==String?i=n.stringToBytes(i):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(i)?i=Array.prototype.slice.call(i,0):Array.isArray(i)||(i=i.toString()),e=fe.bytesToWords(i);var a=8*i.length;i=[];var c=1732584193,u=-271733879,s=-1732584194,l=271733878,f=-1009589776;for(e[a>>5]|=128<<24-a%32,e[15+(a+64>>>9<<4)]=a,a=0;a<e.length;a+=16){for(var d=c,g=u,p=s,v=l,h=f,m=0;80>m;m++){if(16>m)i[m]=e[a+m];else{var y=i[m-3]^i[m-8]^i[m-14]^i[m-16];i[m]=y<<1|y>>>31}y=(c<<5|c>>>27)+f+(i[m]>>>0)+(20>m?1518500249+(u&s|~u&l):40>m?1859775393+(u^s^l):60>m?(u&s|u&l|s&l)-1894007588:(u^s^l)-899497514),f=l,l=s,s=u<<30|u>>>2,u=c,c=y}c+=d,u+=g,s+=p,l+=v,f+=h}return o=o.call(fe,[c,u,s,l,f]),r&&r.asBytes?o:r&&r.asString?t.bytesToString(o):fe.bytesToHex(o)})._blocksize=16,r._digestsize=20,e.exports=r})),ve={},he=function(){this.outQueues=[],this.bufferFlushers=[],this.hasLoaded=!1,this.registeredOnLoadHandlers=[]};e.SharedState=he,e.addEventListener=E,e.addTracker=function(e,n,t,r,o,i){return ve.hasOwnProperty(e)?null:(ve[e]=W(e,n,t,r,o,i),ve[e])},e.allTrackerNames=X,e.allTrackers=function(){return ve},e.attemptDeleteLocalStorage=U,e.attemptGetLocalStorage=B,e.attemptGetSessionStorage=function(e){try{return window.sessionStorage.getItem(e)}catch(e){}},e.attemptWriteLocalStorage=M,e.attemptWriteSessionStorage=function(e,n){try{return window.sessionStorage.setItem(e,n),!0}catch(e){return!1}},e.cookie=H,e.createSharedState=function(){function e(){var e;if(!n.hasLoaded)for(n.hasLoaded=!0,e=0;e<n.registeredOnLoadHandlers.length;e++)n.registeredOnLoadHandlers[e]();return!0}var n=new he,t=document,r=window;return t.visibilityState&&E(t,"visibilitychange",(function(){"hidden"==t.visibilityState&&n.bufferFlushers.forEach((function(e){e(!1)}))}),!1),E(r,"beforeunload",(function(){n.bufferFlushers.forEach((function(e){e(!1)}))}),!1),"loading"===document.readyState?(t.addEventListener?t.addEventListener("DOMContentLoaded",(function n(){t.removeEventListener("DOMContentLoaded",n,!1),e()})):t.attachEvent&&t.attachEvent("onreadystatechange",(function n(){"complete"===t.readyState&&(t.detachEvent("onreadystatechange",n),e())})),E(r,"load",e,!1)):e(),n},e.decorateQuerystring=j,e.deleteCookie=R,e.detectDocumentSize=A,e.detectViewport=x,e.dispatchToTrackers=function(e,n){try{Q(null!=e?e:X()).forEach(n)}catch(e){le.error("Function failed",e)}},e.dispatchToTrackersInCollection=function(e,n,t){try{Z(null!=e?e:Object.keys(n),n).forEach(t)}catch(e){le.error("Function failed",e)}},e.findRootDomain=_,e.fixupDomain=D,e.fixupTitle=I,e.fixupUrl=G,e.fromQuerystring=L,e.getCookiesWithPrefix=V,e.getCssClasses=z,e.getFilterByClass=function(e){if(null==e||"object"!=typeof e||Array.isArray(e))return function(){return!0};var n=Object.prototype.hasOwnProperty.call(e,"allowlist"),t=F(e);return J(e,(function(e){e:{var r=0;for(e=z(e);r<e.length;r++)if(t[e[r]]){r=!0;break e}r=!1}return r===n}))},e.getFilterByName=function(e){if(null==e||"object"!=typeof e||Array.isArray(e))return function(){return!0};var n=e.hasOwnProperty("allowlist"),t=F(e);return J(e,(function(e){return e.name in t===n}))},e.getHostName=C,e.getReferrer=N,e.getTracker=function(e){return ve.hasOwnProperty(e)?ve[e]:(le.warn(e+" not configured"),null)},e.getTrackers=Q,e.hasLocalStorage=k,e.hasSessionStorage=function(){try{return!!window.sessionStorage}catch(e){return!0}},e.isFunction=function(e){return!(!e||"function"!=typeof e)},e.isInteger=O,e.isString=P,e.isValueInArray=function(e,n){for(var t=0;t<n.length;t++)if(n[t]===e)return!0;return!1},e.localStorageAccessible=T,e.parseAndValidateFloat=function(e){return e=parseFloat(e),isNaN(e)?void 0:e},e.parseAndValidateInt=function(e){return e=parseInt(e),isNaN(e)?void 0:e},e.trackerExists=function(e){return ve.hasOwnProperty(e)},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.umd.min.js.map
{
"name": "@snowplow/browser-tracker-core",
"version": "3.3.0",
"version": "3.3.1",
"description": "Core functionality for Snowplow Browser trackers",

@@ -21,3 +21,3 @@ "homepage": "http://bit.ly/sp-js",

"dependencies": {
"@snowplow/tracker-core": "3.3.0",
"@snowplow/tracker-core": "3.3.1",
"sha1": "^1.1.1",

@@ -24,0 +24,0 @@ "tslib": "^2.3.0",

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

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