diff --git a/README.md b/README.md index 0707ce4..f100e8b 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ client-side tier of your websites and web apps. Available on the [jsdelivr](https://www.jsdelivr.com/package/gh/snowplow/sp-js-assets) and [cdnjs](https://cdnjs.com/libraries/snowplow) The latest version is available here: -`https://cdn.jsdelivr.net/gh/snowplow/sp-js-assets@2.18.0/sp.js` +`https://cdn.jsdelivr.net/gh/snowplow/sp-js-assets@2.18.1/sp.js` and -`https://cdnjs.cloudflare.com/ajax/libs/snowplow/2.18.0/sp.js` +`https://cdnjs.cloudflare.com/ajax/libs/snowplow/2.18.1/sp.js` | Technical Docs | Setup Guide | |-------------------------------------|------------------------------| diff --git a/sp.js b/sp.js index afd3297..c059b7f 100644 --- a/sp.js +++ b/sp.js @@ -1,142 +1,142 @@ /** * @description JavaScript tracker for Snowplow - * @version 2.18.0 + * @version 2.18.1 * @copyright Anthon Pang, Snowplow Analytics Ltd * @license Simplified BSD * * Documentation: http://bit.ly/sp-js */ -'use strict';(function(){function D(a){"@babel/helpers - typeof";D="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return D(a)}function Gb(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(a);b&&(e=e.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}));c.push.apply(c,e)}return c} +'use strict';(function(){function y(a){"@babel/helpers - typeof";y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return y(a)}function Gb(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(a);b&&(e=e.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable}));c.push.apply(c,e)}return c} function md(a){for(var b=1;ba.length)b=a.length;for(var c=0,e=Array(b);c=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a;},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }var d=!0,f=!1,h;return{s:function(){c=a[Symbol.iterator]()},n:function(){var a=c.next();d=a.done;return a},e:function(a){f=!0;h=a},f:function(){try{d||null==c.return||c.return()}finally{if(f)throw h;}}}}function oa(a){var b={exports:{}};return a(b,b.exports),b.exports}function pa(a){var b=-1,c=null==a?0:a.length;for(this.clear();++bE.length)q=!1;else{if(!pc(u))throw"No collector configured";q=!0;var a=E[0];if(F){var b=function(a){for(var b=0,c=0;b=g);)b+=1;return b},c=function(a){for(var b=0;bd.status){clearTimeout(h);if(O&&!H)try{vc.setItem(Q,!0)}catch(tc){}c(f)}else 4===d.readyState&&400<=d.status&&(clearTimeout(h),q=!1)};if(x)d.send();else if(b=E.slice(0,f),0=g){y("Event ("+a.bytes+"B) too big, max is "+g);n(u,!0).send(Mb(w([a.evt])));return}E.push(a)}else E.push(m(a));a=!1;e&&(a=Vb(R,JSON.stringify(E.slice(0,p))));q||a&&!(E.length>=h)||C()},executeQueue:function(){q|| -C()},setUseLocalStorage:function(a){e=a},setAnonymousTracking:function(a){J=a},setCollectorUrl:function(a){u=a+P}}}function Fd(a){var b={};"object"===D(a)&&null!==a&&Object.getOwnPropertyNames(a).forEach(function(c,e,d){"function"===typeof a[c]&&(b[c]=Gd(a[c]))});return b}function Hd(a){if(!a)return a;switch(4-a.length%4){case 2:a+="==";break;case 3:a+="="}a=a.replace(/-/g,"+").replace(/_/g,"/");return Id(a)}function Id(a){var b=0,c=0;var e="";var d=[];if(!a)return a;a+="";do{var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(b++)); +g)))}}var k=["textarea","input","select"],p=b+"form",v=function(){return!0},I=function(){return!0},m=function(a){return a};return{configureFormTracking:function(a){a&&(v=ob(a.forms,!0),I=ob(a.fields,!1),m=rd(a.fields))},addFormListeners:function(a){O(document.getElementsByTagName("form"),function(b){v(b)&&!b[p]&&(O(k,function(c){O(b.getElementsByTagName(c),function(b){I(b)&&!b[p]&&"password"!==b.type.toLowerCase()&&(u(b,"focus",h("focus_form",a),!1),u(b,"change",h("change_form",a),!1),b[p]=!0)})}), +u(b,"submit",g(a)),b[p]=!0)})}}}function Bd(a){function b(b,e,d,f,h,g){a.trackSelfDescribingEvent({schema:"iglu:com.snowplowanalytics.snowplow/application_error/jsonschema/1-0-1",data:{programmingLanguage:"JAVASCRIPT",message:b||"JS Exception. Browser doesn't support ErrorEvent API",stackTrace:h&&h.stack?h.stack:null,lineNumber:d,lineColumn:f,fileName:e}},g)}return{trackError:b,enableErrorTracking:function(a,e,d){u(Cd,"error",function(c){if(ea(a)&&a(c)||null==a){var f=ea(e)?d.concat(e(c)):d;b(c.message, +c.filename,c.lineno,c.colno,c.error,f)}},!0)}}}function Dd(a,b,c,e,d,f,h,g,k,p,v,I){function m(a){var b="?",c={co:!0,cx:!0},d=!0,e;for(e in a)a.hasOwnProperty(e)&&!c.hasOwnProperty(e)&&(d?d=!1:b+="&",b+=encodeURIComponent(e)+"="+encodeURIComponent(a[e]));for(var g in c)a.hasOwnProperty(g)&&c.hasOwnProperty(g)&&(b+="&"+g+"="+encodeURIComponent(a[g]));return b}function r(a){a=Ed(a,function(a){return a.toString()});return{evt:a,bytes:M(JSON.stringify(a))}}function M(a){for(var b=0,c=0;c=d?b+=1:2047>=d?b+=2:55296<=d&&57343>=d?(b+=4,c++):b=65535>d?b+3:b+4}return b}function F(){for(;E.length&&"string"!==typeof E[0]&&"object"!==y(E[0]);)E.shift();if(1>E.length)q=!1;else{if(!pc(u))throw"No collector configured";q=!0;var a=E[0];if(x){var b=function(a){for(var b=0,c=0;b=g);)b+=1;return b},c=function(a){for(var b=0;bd.status){clearTimeout(h);if(N&&!z)try{vc.setItem(U,!0)}catch(tc){}c(f)}else 4===d.readyState&&400<=d.status&&(clearTimeout(h),q=!1)};if(O)d.send();else if(b=E.slice(0,f),0=g){A("Event ("+a.bytes+"B) too big, max is "+g);n(u,!0).send(Mb(w([a.evt])));return}E.push(a)}else E.push(m(a));a=!1;e&&(a=Vb(L,JSON.stringify(E.slice(0,p))));q||a&&!(E.length>=h)||F()},executeQueue:function(){q|| +F()},setUseLocalStorage:function(a){e=a},setAnonymousTracking:function(a){I=a},setCollectorUrl:function(a){u=a+P}}}function Fd(a){var b={};"object"===y(a)&&null!==a&&Object.getOwnPropertyNames(a).forEach(function(c,e,d){"function"===typeof a[c]&&(b[c]=Gd(a[c]))});return b}function Hd(a){if(!a)return a;switch(4-a.length%4){case 2:a+="==";break;case 3:a+="="}a=a.replace(/-/g,"+").replace(/_/g,"/");return Id(a)}function Id(a){var b=0,c=0;var e="";var d=[];if(!a)return a;a+="";do{var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(b++)); var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(b++));e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(b++));var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(b++));var k=f<<18|h<<12|e<<6|g;f=k>>16&255;h=k>>8&255;k&=255;64===e?d[c++]=String.fromCharCode(f):64===g?d[c++]=String.fromCharCode(f,h):d[c++]=String.fromCharCode(f,h,k)}while(b>18&63;p=J>>12&63;v=J>>6&63;J&=63;g[e++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(k)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(p)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(v)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(J)}while(f< +d,f){if(f&&Na(f))if(f=JSON.stringify(f),a){if(f){d=f;var e=f=0,g=[];if(d){d=unescape(encodeURIComponent(d));do{var k=d.charCodeAt(f++);var p=d.charCodeAt(f++);var v=d.charCodeAt(f++);var I=k<<16|p<<8|v;k=I>>18&63;p=I>>12&63;v=I>>6&63;I&=63;g[e++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(k)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(p)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(v)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(I)}while(f< d.length);f=g.join("");d=d.length%3;d=(d?f.slice(0,d-3):f)+"===".slice(d||3)}d=d.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}else d=f;c(b,d)}else c(d,f)},build:function(){return b}}}function Jd(){var a=[],b=[];return{getGlobalPrimitives:function(){return a},getConditionalProviders:function(){return b},addGlobalContexts:function(c){var e=[],d=[];c=lb(c);var f;try{for(c.s();!(f=c.n()).done;){var h=f.value;xc(h)?e.push(h):wa(h)&&d.push(h)}}catch(g){c.e(g)}finally{c.f()}a=a.concat(d);b=b.concat(e)}, -clearGlobalContexts:function(){b=[];a=[]},removeGlobalContexts:function(c){c=lb(c);var e;try{var d=function(){var c=e.value;xc(c)?b=b.filter(function(a){return!rb(a,c)}):wa(c)&&(a=a.filter(function(a){return!rb(a,c)}))};for(c.s();!(e=c.n()).done;)d()}catch(f){c.e(f)}finally{c.f()}},getApplicableContexts:function(c){c=c.build();var e=Na(c)&&"e"in c?"string"===typeof c.e:!1;if(e){c=md({},c);try{null!=c&&sb(c,"ue_px",tb)&&(c.ue_px=JSON.parse(Hd(F(c,["ue_px"]))));var d=c}catch(g){d=c}c=d;e="string"=== -typeof F(c,"ue_px.data.schema")?F(c,"ue_px.data.schema"):"string"===typeof F(c,"ue_pr.data.schema")?F(c,"ue_pr.data.schema"):"string"===typeof F(c,"schema")?F(c,"schema"):"";var f=F(c,"e","");d=[];var h=Oa(a,c,f,e);d.push.apply(d,na(h));c=Kd(b,c,f,e);d.push.apply(d,na(c));return d}return[]}}}function Ld(a){if("*"===a[0]||"*"===a[1])return!1;if(0=b}return!1}function Cc(a){return"function"=== -typeof a&&1>=a.length}function wa(a){return"function"===typeof a&&1>=a.length||xa(a)}function Dc(a){return Array.isArray(a)&&2===a.length?Array.isArray(a[1])?Cc(a[0])&&ub(a[1],wa):Cc(a[0])&&wa(a[1]):!1}function Ec(a){return Array.isArray(a)&&2===a.length?Nd(a[0])?Array.isArray(a[1])?ub(a[1],wa):wa(a[1]):!1:!1}function xc(a){return Dc(a)||Ec(a)}function Rd(a,b){var c=0,e=0,d=F(a,"accept");Array.isArray(d)?a.accept.some(function(a){return vb(a,b)})&&e++:"string"===typeof d&&vb(d,b)&&e++;d=F(a,"reject"); +"string"===typeof a?Nb(a):!1}function xa(a){return Na(a)&&"schema"in a&&"data"in a?"string"===typeof a.schema&&"object"===y(a.data):!1}function Nd(a){var b=0;if(W(a)&&"[object Object]"==Q(a)){var c=Od(a);null===c?c=!0:(c=Pd.call(c,"constructor")&&c.constructor,c="function"==typeof c&&c instanceof c&&Bc.call(c)==Qd)}else c=!1;if(c){if(null!=a&&sb(a,"accept",tb))if(Ac(a.accept))b+=1;else return!1;if(null!=a&&sb(a,"reject",tb))if(Ac(a.reject))b+=1;else return!1;return 0=b}return!1}function Cc(a){return"function"=== +typeof a&&1>=a.length}function wa(a){return"function"===typeof a&&1>=a.length||xa(a)}function Dc(a){return Array.isArray(a)&&2===a.length?Array.isArray(a[1])?Cc(a[0])&&ub(a[1],wa):Cc(a[0])&&wa(a[1]):!1}function Ec(a){return Array.isArray(a)&&2===a.length?Nd(a[0])?Array.isArray(a[1])?ub(a[1],wa):wa(a[1]):!1:!1}function xc(a){return Dc(a)||Ec(a)}function Rd(a,b){var c=0,e=0,d=D(a,"accept");Array.isArray(d)?a.accept.some(function(a){return vb(a,b)})&&e++:"string"===typeof d&&vb(d,b)&&e++;d=D(a,"reject"); Array.isArray(d)?a.reject.some(function(a){return vb(a,b)})&&c++:"string"===typeof d&&vb(d,b)&&c++;return 0c;c++)if(!Fc(a[c],b[c]))return!1;return!0}return!1}function Sd(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){b:{var d=void 0;try{d=a({event:b,eventType:c,eventSchema:e});if(xa(d)||Array.isArray(d)&&ub(d,xa)){var g=d;break b}g=void 0;break b}catch(k){}g=void 0}if(xa(g)){a=[g];break a}else if(Array.isArray(g)){a=g;break a}}a=void 0}if(a&& -0!==a.length)return a});return(d=[]).concat.apply(d,na(Hc(a)))}function Kd(a,b,c,e){var d;a=Gc(a);a=ea(a,function(a){a:{if(Dc(a)){var d=a[0],g=!1;try{g=d({event:b,eventType:c,eventSchema:e})}catch(k){g=!1}if(!0===g){a=Oa(a[1],b,c,e);break a}}else if(Ec(a)&&Rd(a[0],e)){a=Oa(a[1],b,c,e);break a}a=[]}if(a&&0!==a.length)return a});return(d=[]).concat.apply(d,na(Hc(a)))}function Td(a,b){var c=Jd(),e={};"undefined"===typeof a&&(a=!0);var d=function(a,b){var c={};b=b||{};for(var d in a)if(b[d]||null!==a[d]&& +for(var c=0;c=a.length){b:{var d=void 0;try{d=a({event:b,eventType:c,eventSchema:e});if(xa(d)||Array.isArray(d)&&ub(d,xa)){var g=d;break b}g=void 0;break b}catch(k){}g=void 0}if(xa(g)){a=[g];break a}else if(Array.isArray(g)){a=g;break a}}a=void 0}if(a&& +0!==a.length)return a});return(d=[]).concat.apply(d,na(Hc(a)))}function Kd(a,b,c,e){var d;a=Gc(a);a=da(a,function(a){a:{if(Dc(a)){var d=a[0],g=!1;try{g=d({event:b,eventType:c,eventSchema:e})}catch(k){g=!1}if(!0===g){a=Oa(a[1],b,c,e);break a}}else if(Ec(a)&&Rd(a[0],e)){a=Oa(a[1],b,c,e);break a}a=[]}if(a&&0!==a.length)return a});return(d=[]).concat.apply(d,na(Hc(a)))}function Td(a,b){var c=Jd(),e={};"undefined"===typeof a&&(a=!0);var d=function(a,b){var c={};b=b||{};for(var d in a)if(b[d]||null!==a[d]&& "undefined"!==typeof a[d])c[d]=a[d];return c},f=function(a,d,f,h){a.addDict(e);a.add("eid",Ud.v4());f=null==f?{type:"dtm",value:(new Date).getTime()}:"number"===typeof f?{type:"dtm",value:f}:"ttm"===f.type?{type:"ttm",value:f.value}:{type:"dtm",value:f.value||(new Date).getTime()};a.add(f.type,f.value.toString());f=c.getApplicableContexts(a);var g=[];d&&d.length&&g.push.apply(g,na(d));f&&f.length&&g.push.apply(g,na(f));d=g&&g.length?{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0", data:g}:void 0;void 0!==d&&a.addJson("cx","co",d);"function"===typeof b&&b(a);try{h&&h(a.build())}catch(m){console.warn("Snowplow: error running custom callback")}return a},h=function(b,c,d,e){var g=va(a);b={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:b};g.add("e","ue");g.addJson("ue_px","ue_pr",b);return f(g,c,d,e)};return{addPayloadPair:function(a,b){e[a]=b},setBase64Encoding:function(b){a=b},addPayloadDict:function(a){for(var b in a)Object.prototype.hasOwnProperty.call(a, b)&&(e[b]=a[b])},resetPayloadPairs:function(a){e=wc(a)?a:{}},setTrackerVersion:function(a){e.tv=a},setTrackerNamespace:function(a){e.tna=a},setAppId:function(a){e.aid=a},setPlatform:function(a){e.p=a},setUserId:function(a){e.uid=a},setScreenResolution:function(a,b){e.res=a+"x"+b},setViewport:function(a,b){e.vp=a+"x"+b},setColorDepth:function(a){e.cd=a},setTimezone:function(a){e.tz=a},setLang:function(a){e.lang=a},setIpAddress:function(a){e.ip=a},setUseragent:function(a){e.ua=a},trackUnstructEvent:h, -trackSelfDescribingEvent:h,trackPageView:function(b,c,d,e,h,m){var g=va(a);g.add("e","pv");g.add("url",b);g.add("page",c);g.add("refr",d);return f(g,e,h,m)},trackPagePing:function(b,c,d,e,h,m,r,M,C,n){var g=va(a);g.add("e","pp");g.add("url",b);g.add("page",c);g.add("refr",d);g.add("pp_mix",e.toString());g.add("pp_max",h.toString());g.add("pp_miy",m.toString());g.add("pp_may",r.toString());return f(g,M,C,n)},trackStructEvent:function(b,c,d,e,h,m,r,M){var g=va(a);g.add("e","se");g.add("se_ca",b);g.add("se_ac", -c);g.add("se_la",d);g.add("se_pr",e);g.add("se_va",null==h?void 0:h.toString());return f(g,m,r,M)},trackEcommerceTransaction:function(b,c,d,e,h,m,r,M,C,n,Mb,w){var g=va(a);g.add("e","tr");g.add("tr_id",b);g.add("tr_af",c);g.add("tr_tt",d);g.add("tr_tx",e);g.add("tr_sh",h);g.add("tr_ci",m);g.add("tr_st",r);g.add("tr_co",M);g.add("tr_cu",C);return f(g,n,Mb,w)},trackEcommerceTransactionItem:function(b,c,d,e,h,m,r,M,C,n){var g=va(a);g.add("e","ti");g.add("ti_id",b);g.add("ti_sk",c);g.add("ti_nm",d);g.add("ti_ca", -e);g.add("ti_pr",h);g.add("ti_qu",m);g.add("ti_cu",r);return f(g,M,C,n)},trackScreenView:function(a,b,c,e,f){return h({schema:"iglu:com.snowplowanalytics.snowplow/screen_view/jsonschema/1-0-0",data:d({name:a,id:b})},c,e,f)},trackLinkClick:function(a,b,c,e,f,m,r,M){a={schema:"iglu:com.snowplowanalytics.snowplow/link_click/jsonschema/1-0-1",data:d({targetUrl:a,elementId:b,elementClasses:c,elementTarget:e,elementContent:f})};return h(a,m,r,M)},trackAdImpression:function(a,b,c,e,f,m,r,M,n,q,u){a={schema:"iglu:com.snowplowanalytics.snowplow/ad_impression/jsonschema/1-0-0", -data:d({impressionId:a,costModel:b,cost:c,targetUrl:e,bannerId:f,zoneId:m,advertiserId:r,campaignId:M})};return h(a,n,q,u)},trackAdClick:function(a,b,c,e,f,m,r,n,C,q,u,w){a={schema:"iglu:com.snowplowanalytics.snowplow/ad_click/jsonschema/1-0-0",data:d({targetUrl:a,clickId:b,costModel:c,cost:e,bannerId:f,zoneId:m,impressionId:r,advertiserId:n,campaignId:C})};return h(a,q,u,w)},trackAdConversion:function(a,b,c,e,f,m,r,n,C,q,u,w){a={schema:"iglu:com.snowplowanalytics.snowplow/ad_conversion/jsonschema/1-0-0", -data:d({conversionId:a,costModel:b,cost:c,category:e,action:f,property:m,initialValue:r,advertiserId:n,campaignId:C})};return h(a,q,u,w)},trackSocialInteraction:function(a,b,c,e,f,m){a={schema:"iglu:com.snowplowanalytics.snowplow/social_interaction/jsonschema/1-0-0",data:d({action:a,network:b,target:c})};return h(a,e,f,m)},trackAddToCart:function(a,b,c,e,f,m,r,n,q){return h({schema:"iglu:com.snowplowanalytics.snowplow/add_to_cart/jsonschema/1-0-0",data:d({sku:a,name:b,category:c,unitPrice:e,quantity:f, +trackSelfDescribingEvent:h,trackPageView:function(b,c,d,e,h,m){var g=va(a);g.add("e","pv");g.add("url",b);g.add("page",c);g.add("refr",d);return f(g,e,h,m)},trackPagePing:function(b,c,d,e,h,m,r,M,F,n){var g=va(a);g.add("e","pp");g.add("url",b);g.add("page",c);g.add("refr",d);g.add("pp_mix",e.toString());g.add("pp_max",h.toString());g.add("pp_miy",m.toString());g.add("pp_may",r.toString());return f(g,M,F,n)},trackStructEvent:function(b,c,d,e,h,m,r,M){var g=va(a);g.add("e","se");g.add("se_ca",b);g.add("se_ac", +c);g.add("se_la",d);g.add("se_pr",e);g.add("se_va",null==h?void 0:h.toString());return f(g,m,r,M)},trackEcommerceTransaction:function(b,c,d,e,h,m,r,M,F,n,Mb,w){var g=va(a);g.add("e","tr");g.add("tr_id",b);g.add("tr_af",c);g.add("tr_tt",d);g.add("tr_tx",e);g.add("tr_sh",h);g.add("tr_ci",m);g.add("tr_st",r);g.add("tr_co",M);g.add("tr_cu",F);return f(g,n,Mb,w)},trackEcommerceTransactionItem:function(b,c,d,e,h,m,r,M,F,n){var g=va(a);g.add("e","ti");g.add("ti_id",b);g.add("ti_sk",c);g.add("ti_nm",d);g.add("ti_ca", +e);g.add("ti_pr",h);g.add("ti_qu",m);g.add("ti_cu",r);return f(g,M,F,n)},trackScreenView:function(a,b,c,e,f){return h({schema:"iglu:com.snowplowanalytics.snowplow/screen_view/jsonschema/1-0-0",data:d({name:a,id:b})},c,e,f)},trackLinkClick:function(a,b,c,e,f,m,r,M){a={schema:"iglu:com.snowplowanalytics.snowplow/link_click/jsonschema/1-0-1",data:d({targetUrl:a,elementId:b,elementClasses:c,elementTarget:e,elementContent:f})};return h(a,m,r,M)},trackAdImpression:function(a,b,c,e,f,m,r,M,n,q,u){a={schema:"iglu:com.snowplowanalytics.snowplow/ad_impression/jsonschema/1-0-0", +data:d({impressionId:a,costModel:b,cost:c,targetUrl:e,bannerId:f,zoneId:m,advertiserId:r,campaignId:M})};return h(a,n,q,u)},trackAdClick:function(a,b,c,e,f,m,r,n,F,q,u,w){a={schema:"iglu:com.snowplowanalytics.snowplow/ad_click/jsonschema/1-0-0",data:d({targetUrl:a,clickId:b,costModel:c,cost:e,bannerId:f,zoneId:m,impressionId:r,advertiserId:n,campaignId:F})};return h(a,q,u,w)},trackAdConversion:function(a,b,c,e,f,m,r,n,q,u,A,w){a={schema:"iglu:com.snowplowanalytics.snowplow/ad_conversion/jsonschema/1-0-0", +data:d({conversionId:a,costModel:b,cost:c,category:e,action:f,property:m,initialValue:r,advertiserId:n,campaignId:q})};return h(a,u,A,w)},trackSocialInteraction:function(a,b,c,e,f,m){a={schema:"iglu:com.snowplowanalytics.snowplow/social_interaction/jsonschema/1-0-0",data:d({action:a,network:b,target:c})};return h(a,e,f,m)},trackAddToCart:function(a,b,c,e,f,m,r,n,q){return h({schema:"iglu:com.snowplowanalytics.snowplow/add_to_cart/jsonschema/1-0-0",data:d({sku:a,name:b,category:c,unitPrice:e,quantity:f, currency:m})},r,n,q)},trackRemoveFromCart:function(a,b,c,e,f,m,r,n,q){return h({schema:"iglu:com.snowplowanalytics.snowplow/remove_from_cart/jsonschema/1-0-0",data:d({sku:a,name:b,category:c,unitPrice:e,quantity:f,currency:m})},r,n,q)},trackFormFocusOrChange:function(a,b,c,e,f,m,r,n,q,u){var g="";b={formId:b,elementId:c,nodeName:e,elementClasses:m,value:r};"change_form"===a?(g="iglu:com.snowplowanalytics.snowplow/change_form/jsonschema/1-0-0",b.type=f):"focus_form"===a&&(g="iglu:com.snowplowanalytics.snowplow/focus_form/jsonschema/1-0-0", b.elementType=f);return h({schema:g,data:d(b,{value:!0})},n,q,u)},trackFormSubmission:function(a,b,c,e,f,m){return h({schema:"iglu:com.snowplowanalytics.snowplow/submit_form/jsonschema/1-0-0",data:d({formId:a,formClasses:b,elements:c})},e,f,m)},trackSiteSearch:function(a,b,c,e,f,m,r){return h({schema:"iglu:com.snowplowanalytics.snowplow/site_search/jsonschema/1-0-0",data:d({terms:a,filters:b,totalResults:c,pageResults:e})},f,m,r)},trackConsentWithdrawn:function(a,b,c,e,f,m,r,n){b={schema:"iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0", data:d({id:b,version:c,name:e,description:f})};return h({schema:"iglu:com.snowplowanalytics.snowplow/consent_withdrawn/jsonschema/1-0-0",data:d({all:a})},b.data&&m?m.concat([b]):m,r,n)},trackConsentGranted:function(a,b,c,e,f,m,r,n){a={schema:"iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0",data:d({id:a,version:b,name:c,description:e})};return h({schema:"iglu:com.snowplowanalytics.snowplow/consent_granted/jsonschema/1-0-0",data:d({expiry:f})},m?m.concat([a]):[a],r,n)},addGlobalContexts:function(a){c.addGlobalContexts(a)}, -clearGlobalContexts:function(){c.clearGlobalContexts()},removeGlobalContexts:function(a){c.removeGlobalContexts(a)}}}function wb(a,b,c,e,d){function f(a){return-1Date.now()){var c=ta.getItem(a);break a}else ta.removeItem(a),ta.removeItem(a+".expires");c=void 0;break a}catch(df){}c=void 0}return c}if("cookie"==G||"cookieAndLocalStorage"==G)return N(a)}function m(){h();Ra=Sb((yb||Ma)+(Ba||"/")).slice(0,4)}function r(){Wb=(new Date).getTime()}function u(){var a=C(),b=a[0];bYb&&(Yb=b);a=a[1];a$b&&($b=a);r()}function C(){var a=z.compatMode&&"BackCompat"!==z.compatMode?z.documentElement:z.body;return[a.scrollLeft|| -A.pageXOffset,a.scrollTop||A.pageYOffset]}function B(){var a=C(),b=a[0];Yb=Xb=b;$b=Zb=a=a[1]}function D(a){a=Math.round(a);if(!isNaN(a))return a}function w(){K(Qa+"ses."+Ra,"*",Ja)}function F(a,b,c,d,e,f){K(Qa+"id."+Ra,a+"."+b+"."+c+"."+d+"."+e+"."+f,nb)}function K(a,b,c){if(!za||zb)"localStorage"==G?Vb(a,b,c):("cookie"==G||"cookieAndLocalStorage"==G)&&N(a,b,c,Ba,yb,ja,la)}function P(a){a&&(d.stateStorageStrategy=a,G=Ca(d));za=!!d.anonymousTracking;zb=Da(d);Na=Fa(d);Sa.setUseLocalStorage("localStorage"== -G||"cookieAndLocalStorage"==G);Sa.setAnonymousTracking(Na)}function Q(a,b){var c=Qa+"id."+Ra,d=Qa+"ses."+Ra;qc(c);qc(d);N(c,"",-1,"/",yb,ja,la);N(d,"",-1,"/",yb,ja,la);a||(T=H(),aa=0);b||(xb=H(),Ta=null)}function W(){if(!za||zb){var a="none"!=G&&!!n("ses"),b=S();b[1]?xb=b[1]:(xb=za?"":H(),b[1]=xb);T=b[6];a||(b[3]++,T=H(),b[6]=T,b[5]=b[4]);"none"!=G&&(w(),b[4]=Math.round((new Date).getTime()/1E3),b.shift(),F.apply(null,b))}}function S(){if("none"==G)return[];var a=Math.round((new Date).getTime()/1E3), -b=n("id");b?(a=b.split("."),a.unshift("0")):a=["1",xb,a,0,a,""];a[6]||(a[6]=H());return a}function Y(a){return ob?"https://"+a:Lb?"http://"+a:("https:"===z.location.protocol?"https":"http")+"://"+a}function x(a){var b=kb.concat(a||[]);I.webPage&&b.push({schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:V()}});I.performanceTiming&&(a=da())&&b.push(a);if(A.optimizely){I.optimizelySummary&&(a=ua(),O(a,function(a){b.push(a)}));I.optimizelyXSummary&&(a=va(),O(a,function(a){b.push(a)})); -if(I.optimizelyExperiments){var c=ka();for(a=0;a(new Date).getTime()&&d(a.callback,(b||[]).concat(c?c():[]))};a.activityInterval=0!=a.configMinimumVisitLength? -setTimeout(function(){Wb+a.configMinimumVisitLength>(new Date).getTime()&&d(a.callback,(b||[]).concat(c?c():[]));a.activityInterval=setInterval(e,a.configHeartBeatTimer)},a.configMinimumVisitLength):setInterval(e,a.configHeartBeatTimer)}function xa(a,b,c){if("number"==typeof a&&a==fc(a)&&"number"==typeof b&&b==fc(b))return{configMinimumVisitLength:1E3*a,configHeartBeatTimer:1E3*b,activityInterval:null,callback:c};y("Activity tracking not enabled, please provide integer values for minimumVisitLength and heartBeatDelay."); -return{}}function Wa(a){var b=a.context,c=a.minXOffset,d=a.minYOffset,e=a.maxXOffset;a=a.maxYOffset;var f=z.title;f!==Ab&&(Ab=f,Pb=null);t.trackPagePing(p(Bb||ya),oc(Pb||Ab),p(fa||Ob),D(c),D(e),D(d),D(a),x(b))}function ha(a,b){return""!==a?a+b.charAt(0).toUpperCase()+b.slice(1):b}function L(a){var b,c,d=["","webkit","ms","moz"];if(!lb)for(c=0;c1E3*Ja&&(T=H(),aa++), -a.add("vp",vd()),a.add("ds",wd()),a.add("vid",zb?aa:za?null:aa),a.add("sid",zb?T:za?null:T),a.add("duid",za?null:g),a.add("uid",za?null:Ta),h(),a.add("refr",p(fa||Ob)),a.add("url",p(Bb||ya)),"none"!=G&&(F(g,Vd,aa,b,m,T),w()),Xa=(new Date).getTime());b=vb;c=new Date;f=Qb?!!N(Qb):!1;Ea||f||(Sa.enqueueRequest(a.build(),Rb),e.expireDateTime=c.getTime()+b)}),Ga=!1,l={},sa={},Ka={},z=document,A=window,U=navigator,Pa=sc(z.domain,A.location.href,ec()),Ma=dc(Pa[0]),ya=Pa[1],Ob=Pa[2],fa,qb=d.hasOwnProperty("platform")? -d.platform:"web",Rb,rb=d.hasOwnProperty("postPath")?d.postPath:"/com.snowplowanalytics.snowplow/tp2",sb=d.hasOwnProperty("appId")?d.appId:"",Bb,Ab=z.title,Pb,vb=d.hasOwnProperty("pageUnloadTimer")?d.pageUnloadTimer:500,wb=d.hasOwnProperty("resetActivityTrackingOnPageView")?d.resetActivityTrackingOnPageView:!0,Va,Ya,Qa=d.hasOwnProperty("cookieName")?d.cookieName:"_sp_",yb=d.hasOwnProperty("cookieDomain")?d.cookieDomain:null,Ba="/",ja=d.hasOwnProperty("cookieSameSite")?d.cookieSameSite:"None",la=d.hasOwnProperty("cookieSecure")? -d.cookieSecure:!0,ib=U.doNotTrack||U.msDoNotTrack||A.doNotTrack,Ea=d.hasOwnProperty("respectDoNotTrack")?d.respectDoNotTrack&&("yes"===ib||"1"===ib):!1,Qb,lb,nb=d.hasOwnProperty("cookieLifetime")?d.cookieLifetime:63072E3,Ja=d.hasOwnProperty("sessionCookieTimeout")?d.sessionCookieTimeout:1800,Jb=z.characterSet||z.charset,ob=d.hasOwnProperty("forceSecureTracker")?!0===d.forceSecureTracker:!1,Lb=!ob&&d.hasOwnProperty("forceUnsecureTracker")?!0===d.forceUnsecureTracker:!1,zb=Da(d),Na=Fa(d),za=!!d.anonymousTracking, -tb=d.hasOwnProperty("useLocalStorage")?(y("argmap.useLocalStorage is deprecated. Use argmap.stateStorageStrategy instead."),d.useLocalStorage):!0,Oa=d.hasOwnProperty("useCookies")?(y("argmap.useCookies is deprecated. Use argmap.stateStorageStrategy instead."),d.useCookies):!0,G=Ca(d),Nb=U.userLanguage||U.language,ac=xd(),ub=a+"_"+b,Wb,Xa=(new Date).getTime(),Xb,Yb,Zb,$b,Sb=Xd,Ra,xb,T,aa=1,Ta,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,jb,bc=[],Cb=new yd(t,ub,x),cc=new zd(t,ub,x),Eb=new Bd(t),Sa=new Dd(a,b,e,"localStorage"== -G||"cookieAndLocalStorage"==G,d.eventMethod,rb,d.bufferSize,d.maxPostBytes||4E4,d.useStm,d.maxLocalStorageQueueSize||1E3,d.connectionTimeout||5E3,Na),Fb=!1,I=d.contexts||{},kb=[],Db=[],Gb=!1,Hb=!1,X={enabled:!1,installed:!1,configurations:{}},Aa=null;I.clientHints&&U.userAgentData&&(Aa={isMobile:U.userAgentData.mobile,brands:U.userAgentData.brands},I.clientHints.includeHighEntropy&&U.userAgentData.getHighEntropyValues&&U.userAgentData.getHighEntropyValues(["platform","platformVersion","architecture", -"model","uaFullVersion"]).then(function(a){Aa.architecture=a.architecture;Aa.model=a.model;Aa.platform=a.platform;Aa.uaFullVersion=a.uaFullVersion;Aa.platformVersion=a.platformVersion}));var Tb=d.skippedBrowserFeatures||[],Ua={};d.hasOwnProperty("discoverRootDomain")&&d.discoverRootDomain&&(yb=sd(ja,la));I.gaCookies&&kb.push(Ha());I.geolocation&&ma();t.setBase64Encoding(d.hasOwnProperty("encodeBase64")?d.encodeBase64:!0);t.setTrackerVersion(c);t.setTrackerNamespace(b);t.setAppId(sb);t.setPlatform(qb); -t.setTimezone(Yd.jstz.determine().name());t.addPayloadPair("lang",Nb);t.addPayloadPair("cs",Jb);for(var ba in ac)Object.prototype.hasOwnProperty.call(ac,ba)&&("res"!==ba&&"cd"!==ba&&"cookie"!==ba||f(ba)?f(ba)||t.addPayloadPair("f_"+ba,ac[ba]):t.addPayloadPair(ba,ac[ba]));m();W();d.crossDomainLinker&&k(d.crossDomainLinker);l.getDomainSessionIndex=function(){return aa};l.getPageViewId=function(){return V()};l.newSession=function(){var a=Math.round((new Date).getTime()/1E3),b=S(),c=b[1],d=b[2],e=b[3], -f=b[4],g=b[5],h=b[6];"0"===b[0]?(T=h,"none"!=G&&(e++,g=f,T=H()),aa=e,w()):(T=H(),aa++);"none"!=G&&(F(c,d,aa,a,g,T),w());Xa=(new Date).getTime()};l.getCookieName=function(a){return Qa+a+"."+Ra};l.getUserId=function(){return Ta};l.getDomainUserId=function(){return S()[1]};l.getDomainUserInfo=function(){return S()};l.getUserFingerprint=function(){y("User Fingerprinting is no longer supported. This function will be removed in a future release.");return 0};l.setAppId=function(a){y("setAppId is deprecated. Instead use the argmap argument on tracker initialisation: appId"); -t.setAppId(a)};l.setReferrerUrl=function(a){fa=a};l.setCustomUrl=function(a){h();var b=ya,c;v(a)?Bb=a:"/"===a.slice(0,1)?Bb=v(b)+"://"+Ub(b)+a:(b=p(b),0<=(c=b.indexOf("?"))&&(b=b.slice(0,c)),(c=b.lastIndexOf("/"))!==b.length-1&&(b=b.slice(0,c+1)),Bb=b+a)};l.setDocumentTitle=function(a){Ab=z.title;Pb=a};l.discardHashTag=function(a){Va=a};l.discardBrace=function(a){Ya=a};l.setCookieNamePrefix=function(a){y("setCookieNamePrefix is deprecated. Instead use the argmap argument on tracker initialisation: cookieName"); -Qa=a};l.setCookieDomain=function(a){y("setCookieDomain is deprecated. Instead use the argmap argument on tracker initialisation: cookieDomain");yb=dc(a);m()};l.setCookiePath=function(a){Ba=a;m()};l.setVisitorCookieTimeout=function(a){nb=a};l.setSessionCookieTimeout=function(a){y("setSessionCookieTimeout is deprecated. Instead use the argmap argument on tracker initialisation: sessionCookieTimeout");Ja=a};l.setUserFingerprintSeed=function(){y("User Fingerprinting is no longer supported. This function will be removed in a future release.")}; -l.enableUserFingerprint=function(){y("User Fingerprinting is no longer supported. This function will be removed in a future release.")};l.respectDoNotTrack=function(a){y("respectDoNotTrack is deprecated. Instead use the argmap argument on tracker initialisation: respectDoNotTrack");var b=U.doNotTrack||U.msDoNotTrack;Ea=a&&("yes"===b||"1"===b)};l.crossDomainLinker=function(a){k(a)};l.enableLinkClickTracking=function(a,b,c,d){e.hasLoaded?(Cb.configureLinkClickTracking(a,b,c,d),Cb.addClickListeners()): -e.registeredOnLoadHandlers.push(function(){Cb.configureLinkClickTracking(a,b,c,d);Cb.addClickListeners()})};l.refreshLinkClickTracking=function(){e.hasLoaded?Cb.addClickListeners():e.registeredOnLoadHandlers.push(function(){Cb.addClickListeners()})};l.enableActivityTracking=function(a,b){X.enabled=!0;X.configurations.pagePing=xa(a,b,Wa)};l.enableActivityTrackingCallback=function(a,b,c){X.enabled=!0;X.configurations.callback=xa(a,b,c)};l.updatePageActivity=function(){r()};l.enableFormTracking=function(a, -b){e.hasLoaded?(cc.configureFormTracking(a),cc.addFormListeners(b)):e.registeredOnLoadHandlers.push(function(){cc.configureFormTracking(a);cc.addFormListeners(b)})};l.killFrame=function(){A.location!==A.top.location&&(A.top.location=A.location)};l.redirectFile=function(a){"file:"===A.location.protocol&&(A.location=a)};l.setOptOutCookie=function(a){Qb=a};l.setCountPreRendered=function(a){lb=a};l.setUserId=function(a){Ta=a};l.identifyUser=function(a){l.setUserId(a)};l.setUserIdFromLocation=function(a){h(); -Ta=Ib(a,ya)};l.setUserIdFromReferrer=function(a){h();Ta=Ib(a,Ob)};l.setUserIdFromCookie=function(a){Ta=N(a)};l.setCollectorCf=function(a){Rb=Y(a+".cloudfront.net");Sa.setCollectorUrl(Rb)};l.setCollectorUrl=function(a){Rb=Y(a);Sa.setCollectorUrl(Rb)};l.setPlatform=function(a){y("setPlatform is deprecated. Instead use the argmap argument on tracker initialisation: platform");t.setPlatform(a)};l.encodeBase64=function(a){y("encodeBase64 is deprecated. Instead use the argmap argument on tracker initialisation: encodeBase64"); -t.setBase64Encoding(a)};l.flushBuffer=function(){Sa.executeQueue()};l.enableGeolocationContext=ma;l.trackPageView=function(a,b,c,d,e){L(function(){Ia(a,b,c,d,e)})};l.trackStructEvent=function(a,b,c,d,e,f,g,h){L(function(){t.trackStructEvent(a,b,c,d,e,x(f),g,h)})};l.trackSelfDescribingEvent=function(a,b,c,d){L(function(){t.trackSelfDescribingEvent(a,x(b),c,d)})};l.trackUnstructEvent=function(a,b,c){L(function(){t.trackSelfDescribingEvent(a,x(b),c)})};l.addTrans=function(a,b,c,d,e,f,g,h,k,l,p){Za=a; -$a=b;ab=c;bb=d;cb=e;db=f;eb=g;fb=h;gb=k;hb=l;jb=p};l.addItem=function(a,b,c,d,e,f,g,h,k){bc.push({orderId:a,sku:b,name:c,category:d,price:e,quantity:f,currency:g,context:h,tstamp:k})};l.trackTrans=function(){L(function(){var a=jb;t.trackEcommerceTransaction(Za,$a,ab,bb,cb,db,eb,fb,gb,x(hb),a);for(a=0;aDate.now()){var c=ta.getItem(a);break a}else ta.removeItem(a),ta.removeItem(a+".expires");c=void 0;break a}catch(df){}c=void 0}return c}if("cookie"==G||"cookieAndLocalStorage"==G)return N(a)}function m(){h();Ra=Sb((yb||Ma)+(Ba||"/")).slice(0,4)}function r(){Wb=(new Date).getTime()}function q(){var a=F(),b=a[0];bYb&&(Yb=b);a=a[1];a$b&&($b=a);r()}function F(){var a=B.compatMode&&"BackCompat"!==B.compatMode?B.documentElement:B.body;return[a.scrollLeft|| +C.pageXOffset,a.scrollTop||C.pageYOffset]}function z(){var a=F(),b=a[0];Yb=Xb=b;$b=Zb=a=a[1]}function D(a){a=Math.round(a);if(!isNaN(a))return a}function w(){L(Qa+"ses."+Ra,"*",Ja)}function y(a,b,c,d,e,f){L(Qa+"id."+Ra,a+"."+b+"."+c+"."+d+"."+e+"."+f,nb)}function L(a,b,c){if(!za||zb)"localStorage"==G?Vb(a,b,c):("cookie"==G||"cookieAndLocalStorage"==G)&&N(a,b,c,Ba,yb,ja,la)}function P(a){a&&(d.stateStorageStrategy=a,G=Ca(d));za=!!d.anonymousTracking;zb=Da(d);Na=Fa(d);Sa.setUseLocalStorage("localStorage"== +G||"cookieAndLocalStorage"==G);Sa.setAnonymousTracking(Na)}function W(a,b){var c=Qa+"id."+Ra,d=Qa+"ses."+Ra;qc(c);qc(d);N(c,"",-1,"/",yb,ja,la);N(d,"",-1,"/",yb,ja,la);a||(R=J(),aa=0);b||(xb=J(),Ta=null)}function X(){if(!za||zb){var a="none"!=G&&!!n("ses"),b=Q();b[1]?xb=b[1]:(xb=za?"":J(),b[1]=xb);R=b[6];a||(b[3]++,R=J(),b[6]=R,b[5]=b[4]);"none"!=G&&(w(),b[4]=Math.round((new Date).getTime()/1E3),b.shift(),y.apply(null,b))}}function Q(){if("none"==G)return[];var a=Math.round((new Date).getTime()/1E3), +b=n("id");b?(a=b.split("."),a.unshift("0")):a=["1",xb,a,0,a,""];a[6]&&"undefined"!==a[6]||(a[6]=J());return a}function Y(a){return ob?"https://"+a:Lb?"http://"+a:("https:"===B.location.protocol?"https":"http")+"://"+a}function x(a){var b=kb.concat(a||[]);H.webPage&&b.push({schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:V()}});H.performanceTiming&&(a=ca())&&b.push(a);if(C.optimizely){H.optimizelySummary&&(a=ua(),O(a,function(a){b.push(a)}));H.optimizelyXSummary&&(a= +va(),O(a,function(a){b.push(a)}));if(H.optimizelyExperiments){var c=ka();for(a=0;a(new Date).getTime()&&d(a.callback,(b||[]).concat(c?c():[]))};a.activityInterval=0!=a.configMinimumVisitLength? +setTimeout(function(){Wb+a.configMinimumVisitLength>(new Date).getTime()&&d(a.callback,(b||[]).concat(c?c():[]));a.activityInterval=setInterval(e,a.configHeartBeatTimer)},a.configMinimumVisitLength):setInterval(e,a.configHeartBeatTimer)}function xa(a,b,c){if("number"==typeof a&&a==fc(a)&&"number"==typeof b&&b==fc(b))return{configMinimumVisitLength:1E3*a,configHeartBeatTimer:1E3*b,activityInterval:null,callback:c};A("Activity tracking minimumVisitLength & heartbeatDelay must be integers");return{}} +function Wa(a){var b=a.context,c=a.minXOffset,d=a.minYOffset,e=a.maxXOffset;a=a.maxYOffset;var f=B.title;f!==Ab&&(Ab=f,Pb=null);t.trackPagePing(p(Bb||ya),oc(Pb||Ab),p(ea||Ob),D(c),D(e),D(d),D(a),x(b))}function fa(a,b){return""!==a?a+b.charAt(0).toUpperCase()+b.slice(1):b}function K(a){var b,c,d=["","webkit","ms","moz"];if(!lb)for(c=0;c1E3*Ja&&(R=J(),aa++), +a.add("vp",vd()),a.add("ds",wd()),a.add("vid",zb?aa:za?null:aa),a.add("sid",zb?R:za?null:R),a.add("duid",za?null:g),a.add("uid",za?null:Ta),h(),a.add("refr",p(ea||Ob)),a.add("url",p(Bb||ya)),"none"!=G&&(y(g,Vd,aa,b,m,R),w()),Xa=(new Date).getTime());b=vb;c=new Date;f=Qb?!!N(Qb):!1;Ea||f||(Sa.enqueueRequest(a.build(),Rb),e.expireDateTime=c.getTime()+b)}),Ga=!1,l={},sa={},Ka={},B=document,C=window,S=navigator,Pa=sc(B.domain,C.location.href,ec()),Ma=dc(Pa[0]),ya=Pa[1],Ob=Pa[2],ea,qb=d.hasOwnProperty("platform")? +d.platform:"web",Rb,rb=d.hasOwnProperty("postPath")?d.postPath:"/com.snowplowanalytics.snowplow/tp2",sb=d.hasOwnProperty("appId")?d.appId:"",Bb,Ab=B.title,Pb,vb=d.hasOwnProperty("pageUnloadTimer")?d.pageUnloadTimer:500,wb=d.hasOwnProperty("resetActivityTrackingOnPageView")?d.resetActivityTrackingOnPageView:!0,Va,Ya,Qa=d.hasOwnProperty("cookieName")?d.cookieName:"_sp_",yb=d.hasOwnProperty("cookieDomain")?d.cookieDomain:null,Ba="/",ja=d.hasOwnProperty("cookieSameSite")?d.cookieSameSite:"None",la=d.hasOwnProperty("cookieSecure")? +d.cookieSecure:!0,ib=S.doNotTrack||S.msDoNotTrack||C.doNotTrack,Ea=d.hasOwnProperty("respectDoNotTrack")?d.respectDoNotTrack&&("yes"===ib||"1"===ib):!1,Qb,lb,nb=d.hasOwnProperty("cookieLifetime")?d.cookieLifetime:63072E3,Ja=d.hasOwnProperty("sessionCookieTimeout")?d.sessionCookieTimeout:1800,Jb=B.characterSet||B.charset,ob=d.hasOwnProperty("forceSecureTracker")?!0===d.forceSecureTracker:!1,Lb=!ob&&d.hasOwnProperty("forceUnsecureTracker")?!0===d.forceUnsecureTracker:!1,zb=Da(d),Na=Fa(d),za=!!d.anonymousTracking, +tb=d.hasOwnProperty("useLocalStorage")?(A("argmap.useLocalStorage is deprecated. Use argmap.stateStorageStrategy instead."),d.useLocalStorage):!0,Oa=d.hasOwnProperty("useCookies")?(A("argmap.useCookies is deprecated. Use argmap.stateStorageStrategy instead."),d.useCookies):!0,G=Ca(d),Nb=S.userLanguage||S.language,ac=xd(),ub=a+"_"+b,Wb,Xa=(new Date).getTime(),Xb,Yb,Zb,$b,Sb=Xd,Ra,xb,R,aa=1,Ta,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,jb,bc=[],Cb=new yd(t,ub,x),cc=new zd(t,ub,x),Eb=new Bd(t),Sa=new Dd(a,b,e,"localStorage"== +G||"cookieAndLocalStorage"==G,d.eventMethod,rb,d.bufferSize,d.maxPostBytes||4E4,d.useStm,d.maxLocalStorageQueueSize||1E3,d.connectionTimeout||5E3,Na),Fb=!1,H=d.contexts||{},kb=[],Db=[],Gb=!1,Hb=!1,T={enabled:!1,installed:!1,configurations:{}},Aa=null;H.clientHints&&S.userAgentData&&(Aa={isMobile:S.userAgentData.mobile,brands:S.userAgentData.brands},H.clientHints.includeHighEntropy&&S.userAgentData.getHighEntropyValues&&S.userAgentData.getHighEntropyValues(["platform","platformVersion","architecture", +"model","uaFullVersion"]).then(function(a){Aa.architecture=a.architecture;Aa.model=a.model;Aa.platform=a.platform;Aa.uaFullVersion=a.uaFullVersion;Aa.platformVersion=a.platformVersion}));var Tb=d.skippedBrowserFeatures||[],Ua={};d.hasOwnProperty("discoverRootDomain")&&d.discoverRootDomain&&(yb=sd(ja,la));H.gaCookies&&kb.push(Ha());H.geolocation&&ma();t.setBase64Encoding(d.hasOwnProperty("encodeBase64")?d.encodeBase64:!0);t.setTrackerVersion(c);t.setTrackerNamespace(b);t.setAppId(sb);t.setPlatform(qb); +t.setTimezone(Yd.jstz.determine().name());t.addPayloadPair("lang",Nb);t.addPayloadPair("cs",Jb);for(var ba in ac)Object.prototype.hasOwnProperty.call(ac,ba)&&("res"!==ba&&"cd"!==ba&&"cookie"!==ba||f(ba)?f(ba)||t.addPayloadPair("f_"+ba,ac[ba]):t.addPayloadPair(ba,ac[ba]));m();X();d.crossDomainLinker&&k(d.crossDomainLinker);l.getDomainSessionIndex=function(){return aa};l.getPageViewId=function(){return V()};l.newSession=function(){var a=Math.round((new Date).getTime()/1E3),b=Q(),c=b[1],d=b[2],e=b[3], +f=b[4],g=b[5],h=b[6];"0"===b[0]?(R=h,"none"!=G&&(e++,g=f,R=J()),aa=e,w()):(R=J(),aa++);"none"!=G&&(y(c,d,aa,a,g,R),w());Xa=(new Date).getTime()};l.getCookieName=function(a){return Qa+a+"."+Ra};l.getUserId=function(){return Ta};l.getDomainUserId=function(){return Q()[1]};l.getDomainUserInfo=function(){return Q()};l.getUserFingerprint=function(){A("User Fingerprinting is no longer supported. This function will be removed in a future release.");return 0};l.setAppId=function(a){A("setAppId is deprecated. Instead use the argmap argument on tracker initialisation: appId"); +t.setAppId(a)};l.setReferrerUrl=function(a){ea=a};l.setCustomUrl=function(a){h();var b=ya,c;v(a)?Bb=a:"/"===a.slice(0,1)?Bb=v(b)+"://"+Ub(b)+a:(b=p(b),0<=(c=b.indexOf("?"))&&(b=b.slice(0,c)),(c=b.lastIndexOf("/"))!==b.length-1&&(b=b.slice(0,c+1)),Bb=b+a)};l.setDocumentTitle=function(a){Ab=B.title;Pb=a};l.discardHashTag=function(a){Va=a};l.discardBrace=function(a){Ya=a};l.setCookieNamePrefix=function(a){A("setCookieNamePrefix is deprecated. Instead use the argmap argument on tracker initialisation: cookieName"); +Qa=a};l.setCookieDomain=function(a){A("setCookieDomain is deprecated. Instead use the argmap argument on tracker initialisation: cookieDomain");yb=dc(a);m()};l.setCookiePath=function(a){Ba=a;m()};l.setVisitorCookieTimeout=function(a){nb=a};l.setSessionCookieTimeout=function(a){A("setSessionCookieTimeout is deprecated. Instead use the argmap argument on tracker initialisation: sessionCookieTimeout");Ja=a};l.setUserFingerprintSeed=function(){A("User Fingerprinting is no longer supported. This function will be removed in a future release.")}; +l.enableUserFingerprint=function(){A("User Fingerprinting is no longer supported. This function will be removed in a future release.")};l.respectDoNotTrack=function(a){A("respectDoNotTrack is deprecated. Instead use the argmap argument on tracker initialisation: respectDoNotTrack");var b=S.doNotTrack||S.msDoNotTrack;Ea=a&&("yes"===b||"1"===b)};l.crossDomainLinker=function(a){k(a)};l.enableLinkClickTracking=function(a,b,c,d){e.hasLoaded?(Cb.configureLinkClickTracking(a,b,c,d),Cb.addClickListeners()): +e.registeredOnLoadHandlers.push(function(){Cb.configureLinkClickTracking(a,b,c,d);Cb.addClickListeners()})};l.refreshLinkClickTracking=function(){e.hasLoaded?Cb.addClickListeners():e.registeredOnLoadHandlers.push(function(){Cb.addClickListeners()})};l.enableActivityTracking=function(a,b){T.configurations.pagePing||(T.enabled=!0,T.configurations.pagePing=xa(a,b,Wa))};l.enableActivityTrackingCallback=function(a,b,c){T.configurations.callback||(T.enabled=!0,T.configurations.callback=xa(a,b,c))};l.updatePageActivity= +function(){r()};l.enableFormTracking=function(a,b){e.hasLoaded?(cc.configureFormTracking(a),cc.addFormListeners(b)):e.registeredOnLoadHandlers.push(function(){cc.configureFormTracking(a);cc.addFormListeners(b)})};l.killFrame=function(){C.location!==C.top.location&&(C.top.location=C.location)};l.redirectFile=function(a){"file:"===C.location.protocol&&(C.location=a)};l.setOptOutCookie=function(a){Qb=a};l.setCountPreRendered=function(a){lb=a};l.setUserId=function(a){Ta=a};l.identifyUser=function(a){l.setUserId(a)}; +l.setUserIdFromLocation=function(a){h();Ta=Ib(a,ya)};l.setUserIdFromReferrer=function(a){h();Ta=Ib(a,Ob)};l.setUserIdFromCookie=function(a){Ta=N(a)};l.setCollectorCf=function(a){Rb=Y(a+".cloudfront.net");Sa.setCollectorUrl(Rb)};l.setCollectorUrl=function(a){Rb=Y(a);Sa.setCollectorUrl(Rb)};l.setPlatform=function(a){A("setPlatform is deprecated. Instead use the argmap argument on tracker initialisation: platform");t.setPlatform(a)};l.encodeBase64=function(a){A("encodeBase64 is deprecated. Instead use the argmap argument on tracker initialisation: encodeBase64"); +t.setBase64Encoding(a)};l.flushBuffer=function(){Sa.executeQueue()};l.enableGeolocationContext=ma;l.trackPageView=function(a,b,c,d,e){K(function(){Ia(a,b,c,d,e)})};l.trackStructEvent=function(a,b,c,d,e,f,g,h){K(function(){t.trackStructEvent(a,b,c,d,e,x(f),g,h)})};l.trackSelfDescribingEvent=function(a,b,c,d){K(function(){t.trackSelfDescribingEvent(a,x(b),c,d)})};l.trackUnstructEvent=function(a,b,c){K(function(){t.trackSelfDescribingEvent(a,x(b),c)})};l.addTrans=function(a,b,c,d,e,f,g,h,k,l,p){Za=a; +$a=b;ab=c;bb=d;cb=e;db=f;eb=g;fb=h;gb=k;hb=l;jb=p};l.addItem=function(a,b,c,d,e,f,g,h,k){bc.push({orderId:a,sku:b,name:c,category:d,price:e,quantity:f,currency:g,context:h,tstamp:k})};l.trackTrans=function(){K(function(){var a=jb;t.trackEcommerceTransaction(Za,$a,ab,bb,cb,db,eb,fb,gb,x(hb),a);for(a=0;a=a},n={};n["[object Float32Array]"]= +void 0!==arguments[1]?arguments[1]:null,c=2=a},n={};n["[object Float32Array]"]= n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0;n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]= -n["[object WeakMap]"]=!1;var ie=function(a){return Q(a)&&Sb(a.length)&&!!n[S(a)]},je=function(a){return function(b){return a(b)}},Pc=oa(function(a,b){var c=b&&!b.nodeType&&b;c=(b=c&&a&&!a.nodeType&&a)&&b.exports===c&&Jc.process;a:{try{var e=b&&b.require&&b.require("util").types;if(e){var d=e;break a}d=c&&c.binding&&c.binding("util");break a}catch(f){}d=void 0}a.exports=d}),Qc=Pc&&Pc.isTypedArray,gc=Qc?je(Qc):ie,ke=Object.prototype.hasOwnProperty,le=Object.prototype,Rc=function(a,b){return function(c){return a(b(c))}}, -me=Rc(Object.keys,Object),ne=Object.prototype.hasOwnProperty,K=function(a){var b=D(a);return null!=a&&("object"==b||"function"==b)},Sc=function(a){if(!K(a))return!1;a=S(a);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a},ha=function(a){return null!=a&&Sb(a.length)&&!Sc(a)},Ia=function(a){if(ha(a)){var b=u(a),c=!b&&Oc(a),e=!b&&!c&&nb(a),d=!b&&!c&&!e&&gc(a);if(b=b||c||e||d){c=a.length;for(var f=String,h=-1,g=Array(c);++ha)return!1;a==b.length-1?b.pop():pe.call(b,a,1);--this.size;return!0};pa.prototype.get=function(a){var b=this.__data__;a=Ba(b,a);return 0>a?void 0:b[a][1]};pa.prototype.has=function(a){return-1e?(++this.size,c.push([a,b])):c[e][1]=b;return this};var Fa=pa,$a=P["__core-js_shared__"],Wc=function(){var a=/[^.]+$/.exec($a&&$a.keys&& -$a.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),qe=Function.prototype.toString,ca=function(a){if(null!=a){try{return qe.call(a)}catch(b){}return a+""}return""},re=/^\[object .+?Constructor\]$/,se=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ia=function(a,b){a=null==a?void 0:a[b];return(!K(a)||Wc&&Wc in a?0:(Sc(a)?se:re).test(ca(a)))?a:void 0}, -Ca=ia(P,"Map"),Da=ia(Object,"create"),te=Object.prototype.hasOwnProperty,ue=Object.prototype.hasOwnProperty;V.prototype.clear=function(){this.__data__=Da?Da(null):{};this.size=0};V.prototype["delete"]=function(a){a=this.has(a)&&delete this.__data__[a];this.size-=a?1:0;return a};V.prototype.get=function(a){var b=this.__data__;return Da?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):te.call(b,a)?b[a]:void 0};V.prototype.has=function(a){var b=this.__data__;return Da?void 0!==b[a]:ue.call(b,a)};V.prototype.set= -function(a,b){var c=this.__data__;this.size+=this.has(a)?0:1;c[a]=Da&&void 0===b?"__lodash_hash_undefined__":b;return this};var ja=function(a,b){a=a.__data__;var c=D(b);return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map};qa.prototype.clear=function(){this.size=0;this.__data__={hash:new V,map:new (Ca||Fa),string:new V}};qa.prototype["delete"]=function(a){a=ja(this,a)["delete"](a);this.size-=a?1:0;return a};qa.prototype.get= +n["[object WeakMap]"]=!1;var ie=function(a){return W(a)&&Sb(a.length)&&!!n[Q(a)]},je=function(a){return function(b){return a(b)}},Pc=oa(function(a,b){var c=b&&!b.nodeType&&b;c=(b=c&&a&&!a.nodeType&&a)&&b.exports===c&&Jc.process;a:{try{var e=b&&b.require&&b.require("util").types;if(e){var d=e;break a}d=c&&c.binding&&c.binding("util");break a}catch(f){}d=void 0}a.exports=d}),Qc=Pc&&Pc.isTypedArray,gc=Qc?je(Qc):ie,ke=Object.prototype.hasOwnProperty,le=Object.prototype,Rc=function(a,b){return function(c){return a(b(c))}}, +me=Rc(Object.keys,Object),ne=Object.prototype.hasOwnProperty,P=function(a){var b=y(a);return null!=a&&("object"==b||"function"==b)},Sc=function(a){if(!P(a))return!1;a=Q(a);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a},fa=function(a){return null!=a&&Sb(a.length)&&!Sc(a)},Ia=function(a){if(fa(a)){var b=z(a),c=!b&&Oc(a),e=!b&&!c&&nb(a),d=!b&&!c&&!e&&gc(a);if(b=b||c||e||d){c=a.length;for(var f=String,h=-1,g=Array(c);++ha)return!1;a==b.length-1?b.pop():pe.call(b,a,1);--this.size;return!0};pa.prototype.get=function(a){var b=this.__data__;a=Ba(b,a);return 0>a?void 0:b[a][1]};pa.prototype.has=function(a){return-1e?(++this.size,c.push([a,b])):c[e][1]=b;return this};var Fa=pa,$a=L["__core-js_shared__"],Wc=function(){var a=/[^.]+$/.exec($a&&$a.keys&& +$a.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),qe=Function.prototype.toString,ha=function(a){if(null!=a){try{return qe.call(a)}catch(b){}return a+""}return""},re=/^\[object .+?Constructor\]$/,se=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ia=function(a,b){a=null==a?void 0:a[b];return(!P(a)||Wc&&Wc in a?0:(Sc(a)?se:re).test(ha(a)))?a:void 0}, +Ca=ia(L,"Map"),Da=ia(Object,"create"),te=Object.prototype.hasOwnProperty,ue=Object.prototype.hasOwnProperty;V.prototype.clear=function(){this.__data__=Da?Da(null):{};this.size=0};V.prototype["delete"]=function(a){a=this.has(a)&&delete this.__data__[a];this.size-=a?1:0;return a};V.prototype.get=function(a){var b=this.__data__;return Da?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):te.call(b,a)?b[a]:void 0};V.prototype.has=function(a){var b=this.__data__;return Da?void 0!==b[a]:ue.call(b,a)};V.prototype.set= +function(a,b){var c=this.__data__;this.size+=this.has(a)?0:1;c[a]=Da&&void 0===b?"__lodash_hash_undefined__":b;return this};var ja=function(a,b){a=a.__data__;var c=y(b);return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map};qa.prototype.clear=function(){this.size=0;this.__data__={hash:new V,map:new (Ca||Fa),string:new V}};qa.prototype["delete"]=function(a){a=ja(this,a)["delete"](a);this.size-=a?1:0;return a};qa.prototype.get= function(a){return ja(this,a).get(a)};qa.prototype.has=function(a){return ja(this,a).has(a)};qa.prototype.set=function(a,b){var c=ja(this,a),e=c.size;c.set(a,b);this.size+=c.size==e?0:1;return this};var Ga=qa;ra.prototype.clear=function(){this.__data__=new Fa;this.size=0};ra.prototype["delete"]=function(a){var b=this.__data__;a=b["delete"](a);this.size=b.size;return a};ra.prototype.get=function(a){return this.__data__.get(a)};ra.prototype.has=function(a){return this.__data__.has(a)};ra.prototype.set= function(a,b){var c=this.__data__;if(c instanceof Fa){var e=c.__data__;if(!Ca||199>e.length)return e.push([a,b]),this.size=++c.size,this;c=this.__data__=new Ga(e)}c.set(a,b);this.size=c.size;return this};var sa=ra;mb.prototype.add=mb.prototype.push=function(a){this.__data__.set(a,"__lodash_hash_undefined__");return this};mb.prototype.has=function(a){return this.__data__.has(a)};var ve=function(a,b){for(var c=-1,e=null==a?0:a.length;++cg))return!1;k=f.get(a);var p=f.get(b);if(k&&p)return k==b&&p==a;k=-1;p=!0;var n=c&2?new mb:void 0;f.set(a,b);for(f.set(b,a);++kg))return!1;k=f.get(a);var p=f.get(b);if(k&&p)return k==b&&p==a;k=-1;p=!0;var n=c&2?new mb:void 0;f.set(a,b);for(f.set(b,a);++ka?-1:1):a===a?a:0):a=0===a?a:0;var b=a% ++b);case "[object Error]":return a.name==b.name&&a.message==b.message;case "[object RegExp]":case "[object String]":return a==b+"";case "[object Map]":var g=we;case "[object Set]":g||(g=xe);if(a.size!=b.size&&!(e&1))break;if(c=h.get(a))return c==b;e|=2;h.set(a,b);b=hc(g(a),g(b),e,d,f,h);h["delete"](a);return b;case "[object Symbol]":if(ab)return ab.call(a)==ab.call(b)}return!1},jc=function(a,b,c){b=b(a);if(!z(a)){a=c(a);c=-1;for(var e=a.length,d=b.length;++ca?-1:1):a===a?a:0):a=0===a?a:0;var b=a% 1;return a===a?b?a-b:a:0},Yd=oa(function(a,b){(function(a){var c=function(){var a=function(a){a=-a.getTimezoneOffset();return null!==a?a:0},b=function(a,b,c){var d=new Date;void 0!==a&&d.setFullYear(a);d.setMonth(b);d.setDate(c);return d};return{determine:function(){var d=a(b(void 0,0,2)),e=a(b(void 0,5,2)),f=d-e;return new c.TimeZone(c.olson.timezones[0>f?d+",1":0e||d?0!==c:0>c},dst_start_for:function(a){var b=new Date(2010,6,15,1,0,0,0);return{"America/Denver":new Date(2011,2,13,3,0,0,0),"America/Mazatlan":new Date(2011,3,3,3,0,0,0),"America/Chicago":new Date(2011,2,13,3,0,0,0),"America/Mexico_City":new Date(2011,3,3,3,0,0,0),"America/Asuncion":new Date(2012,9,7,3,0,0,0),"America/Santiago":new Date(2012,9,3,3,0,0,0),"America/Campo_Grande":new Date(2012,9,21,5,0,0,0),"America/Montevideo":new Date(2011,9,2,3,0,0,0),"America/Sao_Paulo":new Date(2011, 9,16,5,0,0,0),"America/Los_Angeles":new Date(2011,2,13,8,0,0,0),"America/Santa_Isabel":new Date(2011,3,5,8,0,0,0),"America/Havana":new Date(2012,2,10,2,0,0,0),"America/New_York":new Date(2012,2,10,7,0,0,0),"Europe/Helsinki":new Date(2013,2,31,5,0,0,0),"Pacific/Auckland":new Date(2011,8,26,7,0,0,0),"America/Halifax":new Date(2011,2,13,6,0,0,0),"America/Goose_Bay":new Date(2011,2,13,2,1,0,0),"America/Miquelon":new Date(2011,2,13,5,0,0,0),"America/Godthab":new Date(2011,2,27,1,0,0,0),"Europe/Moscow":b, @@ -147,16 +147,16 @@ c;return 0>e||d?0!==c:0>c},dst_start_for:function(a){var b=new Date(2010,6,15,1, "-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Santiago","-210,1":"America/St_Johns", "-180,1":"America/Godthab","-180,0":"America/Argentina/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,s":"Africa/Windhoek","120,1":"Asia/Beirut","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg", "300,0":"Asia/Karachi","330,0":"Asia/Kolkata","345,0":"Asia/Kathmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe", -"660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Tarawa","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"};b.jstz=c})()}),ua=window,W=navigator,Lb=screen,qb=document,gb=oa(function(a){(function(){var b={rotl:function(a,b){return a<>>32-b},rotr:function(a,b){return a<<32-b|a>>>b},endian:function(a){if(a.constructor==Number)return b.rotl(a,8)&16711935|b.rotl(a,24)& +"660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Tarawa","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"};b.jstz=c})()}),ua=window,X=navigator,Lb=screen,qb=document,gb=oa(function(a){(function(){var b={rotl:function(a,b){return a<>>32-b},rotr:function(a,b){return a<<32-b|a>>>b},endian:function(a){if(a.constructor==Number)return b.rotl(a,8)&16711935|b.rotl(a,24)& 4278255360;for(var c=0;c>>5]|=a[c]<<24-f%32;return b},wordsToBytes:function(a){for(var b=[],c=0;c<32*a.length;c+=8)b.push(a[c>>>5]>>>24-c%32&255);return b},bytesToHex:function(a){for(var b=[],c=0;c>>4).toString(16)),b.push((a[c]&15).toString(16));return b.join("")},hexToBytes:function(a){for(var b= [],c=0;ch;h++)8*c+6*h<=8*a.length?b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>>6*(3-h)&63)):b.push("=");return b.join("")},base64ToBytes:function(a){a=a.replace(/[^A-Z0-9+\/]/ig,"");for(var b=[],c=0,f=0;c>>6-2*f);return b}};a.exports=b})()}),hb={utf8:{stringToBytes:function(a){return hb.bin.stringToBytes(unescape(encodeURIComponent(a)))},bytesToString:function(a){return decodeURIComponent(escape(hb.bin.bytesToString(a)))}},bin:{stringToBytes:function(a){for(var b=[],c=0;c>5]|=128<<24-d%32;c[(d+64>>>9<<4)+15]=d;for(d=0;dw;w++){if(16>w)a[w]=c[d+w];else{var y=a[w-3]^a[w-8]^a[w-14]^a[w-16];a[w]=y<<1|y>>>31}y=(e<<5|e>>>27)+m+(a[w]>>>0)+(20>w?(f&n|~f&q)+1518500249:40> -w?(f^n^q)+1859775393:60>w?(f&n|f&q|n&q)-1894007588:(f^n^q)-899497514);m=q;q=n;n=f<<30|f>>>2;f=e;e=y}e+=r;f+=u;n+=C;q+=B;m+=D}return[e,f,n,q,m]},d=function(a,b){a=gb.wordsToBytes(e(a));return b&&b.asBytes?a:b&&b.asString?c.bytesToString(a):gb.bytesToHex(a)};d._blocksize=16;d._digestsize=20;a.exports=d})()}),Ze=Math.max,Ad=function(a){return function(b,c,e){var d=Object(b);if(!ha(b)){var f=ma(c);b=Ia(b);c=function(a){return f(d[a],a,d)}}c=a(b,c,e);return-1>5]|=128<<24-d%32;c[(d+64>>>9<<4)+15]=d;for(d=0;dw;w++){if(16>w)a[w]=c[d+w];else{var y=a[w-3]^a[w-8]^a[w-14]^a[w-16];a[w]=y<<1|y>>>31}y=(e<<5|e>>>27)+m+(a[w]>>>0)+(20>w?(f&n|~f&q)+1518500249:40> +w?(f^n^q)+1859775393:60>w?(f&n|f&q|n&q)-1894007588:(f^n^q)-899497514);m=q;q=n;n=f<<30|f>>>2;f=e;e=y}e+=r;f+=u;n+=z;q+=A;m+=D}return[e,f,n,q,m]},d=function(a,b){a=gb.wordsToBytes(e(a));return b&&b.asBytes?a:b&&b.asString?c.bytesToString(a):gb.bytesToHex(a)};d._blocksize=16;d._digestsize=20;a.exports=d})()}),Ze=Math.max,Ad=function(a){return function(b,c,e){var d=Object(b);if(!fa(b)){var f=ma(c);b=Ia(b);c=function(a){return f(d[a],a,d)}}c=a(b,c,e);return-1c&&(c=Ze(e+c,0));a:{b=ma(b);e=a.length;for(c+=-1;++ca;a++)0===(a&3)&&(b=4294967296*Math.random()),e[a]=b>>>((a&3)<<3)&255;return e}}}),B=[],ib=0;for(;256>ib;++ib)B[ib]=(ib+256).toString(16).substr(1);var id=function(a, -b){b=b||0;return[B[a[b++]],B[a[b++]],B[a[b++]],B[a[b++]],"-",B[a[b++]],B[a[b++]],"-",B[a[b++]],B[a[b++]],"-",B[a[b++]],B[a[b++]],"-",B[a[b++]],B[a[b++]],B[a[b++]],B[a[b++]],B[a[b++]],B[a[b++]]].join("")},jd,jb,Eb=0,Fb=0,H=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||hd)();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||id(a)},kb=H;kb.v1=function(a,b,c){c=b&&c||0;var e=b||[];a=a||{};var d=a.node||jd, +"undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(b){var c=new Uint8Array(16);a.exports=function(){b(c);return c}}else{var e=Array(16);a.exports=function(){for(var a=0,b;16>a;a++)0===(a&3)&&(b=4294967296*Math.random()),e[a]=b>>>((a&3)<<3)&255;return e}}}),q=[],ib=0;for(;256>ib;++ib)q[ib]=(ib+256).toString(16).substr(1);var id=function(a, +b){b=b||0;return[q[a[b++]],q[a[b++]],q[a[b++]],q[a[b++]],"-",q[a[b++]],q[a[b++]],"-",q[a[b++]],q[a[b++]],"-",q[a[b++]],q[a[b++]],"-",q[a[b++]],q[a[b++]],q[a[b++]],q[a[b++]],q[a[b++]],q[a[b++]]].join("")},jd,jb,Eb=0,Fb=0,J=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||hd)();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||id(a)},kb=J;kb.v1=function(a,b,c){c=b&&c||0;var e=b||[];a=a||{};var d=a.node||jd, f=void 0!==a.clockseq?a.clockseq:jb;if(null==d||null==f){var h=hd();null==d&&(d=jd=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]);null==f&&(f=jb=(h[6]<<8|h[7])&16383)}h=void 0!==a.msecs?a.msecs:(new Date).getTime();var g=void 0!==a.nsecs?a.nsecs:Fb+1,k=h-Eb+(g-Fb)/1E4;0>k&&void 0===a.clockseq&&(f=f+1&16383);(0>k||h>Eb)&&void 0===a.nsecs&&(g=0);if(1E4<=g)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Eb=h;Fb=g;jb=f;h+=122192928E5;a=(1E4*(h&268435455)+g)%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++]=f>>>8|128;e[c++]=f&255;for(f=0;6>f;++f)e[c+f]=d[f];return b?b:id(e)};kb.v4=H;var Ud=kb,$e=Object.prototype.hasOwnProperty,tb=function(a,b){return null!=a&&$e.call(a,b)},af=function(a,b){for(var c=-1,e=null==a?0:a.length;++c>>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++]=f>>>8|128;e[c++]=f&255;for(f=0;6>f;++f)e[c+f]=d[f];return b?b:id(e)};kb.v4=J;var Ud=kb,$e=Object.prototype.hasOwnProperty,tb=function(a,b){return null!=a&&$e.call(a,b)},af=function(a,b){for(var c=-1,e=null==a?0:a.length;++c