"use strict";!function(){function yt(e){return(yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function f(e){if(!(e=(Array.isArray(e)?r(e):void 0)||("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)?Array.from(e):void 0)||s(e)))throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");return e}function s(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}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 o,a=!0,i=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(i)throw o}}}}function e(e,t,n){return e(n={path:t,exports:{},require:function(e,t){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}},n.exports),n.exports}function t(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=u)return St("Event of size "+e.bytes+" is too long - the maximum size is "+u),void m(v).send(h(g([e.evt])));O.push(e)}else O.push(function(e){var t,n,r="?",o={co:!0,cx:!0},a=!0;for(t in e)e.hasOwnProperty(t)&&!o.hasOwnProperty(t)&&(a?a=!1:r+="&",r+=encodeURIComponent(t)+"="+encodeURIComponent(e[t]));for(n in o)e.hasOwnProperty(n)&&o.hasOwnProperty(n)&&(r+="&"+n+"="+encodeURIComponent(e[n]));return r}(e));e=!1,s&&(e=Ot(j,JSON.stringify(O.slice(0,f)))),b||e&&!(O.length>=a)||p()},executeQueue:p}}function p(e){if(!e)return e;switch(4-e.length%4){case 2:e+="==";break;case 3:e+="="}return function(e){var t=0,n=0,r="",o=[];if(!e)return e;e+="";do{var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(t++)),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(t++));r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(t++));var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(t++)),s=a<<18|i<<12|r<<6|c}while(a=s>>16&255,i=s>>8&255,s&=255,o[n++]=64===r?String.fromCharCode(a):64===c?String.fromCharCode(a,i):String.fromCharCode(a,i,s),t>18&63,c=a>>12&63,s=a>>6&63}while(a&=63,o[r++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(i)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),nDate.now()){var n=tn.getItem(e);break e}tn.removeItem(e),tn.removeItem(e+".expires"),n=void 0;break e}catch(e){}n=void 0}return n}if("cookie"==Ye||"cookieAndLocalStorage"==Ye)return Pt(e)}function u(){d(),Q=Xe((De||Ae)+(Ee||"/")).slice(0,4)}function l(){Y=(new Date).getTime()}function h(){var e=g(),t=e[0];t(new Date).getTime()&&n(e.callback,t)}e.activityInterval=0!=e.configMinimumVisitLength?setTimeout(function(){Y+e.configMinimumVisitLength>(new Date).getTime()&&n(e.callback,t),e.activityInterval=setInterval(r,e.configHeartBeatTimer)},e.configMinimumVisitLength):setInterval(r,e.configHeartBeatTimer)}(r,(t||[]).concat(n?n():[])))}function E(e,t,n){return"number"==typeof e&&e==un(e)&&"number"==typeof t&&t==un(t)?{configMinimumVisitLength:1e3*e,configHeartBeatTimer:1e3*t,activityInterval:null,callback:n}:(St("Activity tracking not enabled, please provide integer values for minimumVisitLength and heartBeatDelay."),{})}function L(e){var t=e.context,n=e.minXOffset,r=e.minYOffset,o=e.maxXOffset;e=e.maxYOffset;var a=ye.title;a!==Ce&&(Ce=a,R=null),me.trackPagePing(p(V||_e),bt(R||Ce),p(U||je),y(n),y(o),y(r),y(e),O(t))}function N(e,t){return""!==e?e+t.charAt(0).toUpperCase()+t.slice(1):t}function z(t){var e,n,r=["","webkit","ms","moz"];if(!J)for(n=0;n1e3*Ue&&(ee=En(),Qe++),e.add("vp",function(){var e=fn,t="inner";"innerWidth"in fn||(t="client",e=mn.documentElement||mn.body);var n=e[t+"Width"],e=e[t+"Height"];return 0<=n&&0<=e?n+"x"+e:null}()),e.add("ds",(u=mn.documentElement,c=mn.body,i=Math.max(u.clientWidth,u.offsetWidth,u.scrollWidth),u=Math.max(u.clientHeight,u.offsetHeight,u.scrollHeight,c?Math.max(c.offsetHeight,c.scrollHeight):0),isNaN(i)||isNaN(u)?"":i+"x"+u)),e.add("vid",!He&&Ge?null:Qe),e.add("sid",!He&&Ge?null:ee),e.add("duid",Ge?null:o),e.add("uid",Ge?null:te),d(),e.add("refr",p(U||je)),e.add("url",p(V||_e)),"none"!=Ye&&(w(o,a,Qe,t,s,ee),b()),$e=(new Date).getTime()),t=Pe,n=new Date,r=!!q&&!!Pt(q),Me||r||(rt.enqueueRequest(e.build(),F),f.expireDateTime=n.getTime()+t)}),he=!1,ge={},ve={},ye=document,be=window,we=navigator,ke=Et(ye.domain,be.location.href,At()),Ae=kt(ke[0]),_e=ke[1],je=ke[2],Se=r.hasOwnProperty("platform")?r.platform:"web",Oe=r.hasOwnProperty("postPath")?r.postPath:"/com.snowplowanalytics.snowplow/tp2",Te=r.hasOwnProperty("appId")?r.appId:"",Ce=ye.title,Pe=r.hasOwnProperty("pageUnloadTimer")?r.pageUnloadTimer:500,xe=!r.hasOwnProperty("resetActivityTrackingOnPageView")||r.resetActivityTrackingOnPageView,Ie=r.hasOwnProperty("cookieName")?r.cookieName:"_sp_",De=r.hasOwnProperty("cookieDomain")?r.cookieDomain:null,Ee="/",Le=r.hasOwnProperty("cookieSameSite")?r.cookieSameSite:"None",Ne=!r.hasOwnProperty("cookieSecure")||r.cookieSecure,ze=we.doNotTrack||we.msDoNotTrack||be.doNotTrack,Me=!!r.hasOwnProperty("respectDoNotTrack")&&(r.respectDoNotTrack&&("yes"===ze||"1"===ze)),Be=r.hasOwnProperty("cookieLifetime")?r.cookieLifetime:63072e3,Ue=r.hasOwnProperty("sessionCookieTimeout")?r.sessionCookieTimeout:1800,Fe=ye.characterSet||ye.charset,Ve=!!r.hasOwnProperty("forceSecureTracker")&&!0===r.forceSecureTracker,Re=!(Ve||!r.hasOwnProperty("forceUnsecureTracker"))&&!0===r.forceUnsecureTracker,He=B(r),Ge=!!r.anonymousTracking,qe=!r.hasOwnProperty("useLocalStorage")||(St("argmap.useLocalStorage is deprecated. Use argmap.stateStorageStrategy instead."),r.useLocalStorage),Je=!r.hasOwnProperty("useCookies")||(St("argmap.useCookies is deprecated. Use argmap.stateStorageStrategy instead."),r.useCookies),Ye=M(r),We=we.userLanguage||we.language,Ke=function(e,t){var n,r,o={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"},a={};if(dn.mimeTypes&&dn.mimeTypes.length)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r=dn.mimeTypes[o[n]],a[n]=r&&r.enabledPlugin?"1":"0");return dn.constructor===window.Navigator&&"unknown"!=typeof dn.javaEnabled&&void 0!==dn.javaEnabled&&dn.javaEnabled()&&(a.java="1"),Dt(fn.GearsFactory)&&(a.gears="1"),a.res=pn.width+"x"+pn.height,a.cd=pn.colorDepth,e&&(e=t||"testcookie",e=void 0===dn.cookieEnabled?(Pt(e,"1"),"1"===Pt(e)?"1":"0"):dn.cookieEnabled?"1":"0",a.cookie=e),a}("cookie"==Ye||"cookieAndLocalStorage"==Ye,s("testcookie")),ze=t+"_"+n,$e=(new Date).getTime(),Xe=yn,Qe=1,Ze=[],et=new Lt(me,ze,O),tt=new Nt(me,ze,O),nt=new zt(me),rt=new Mt(t,n,f,"localStorage"==Ye||"cookieAndLocalStorage"==Ye,r.eventMethod,Oe,r.bufferSize,r.maxPostBytes||4e4,r.useStm,r.maxLocalStorageQueueSize||1e3,r.connectionTimeout||5e3),ot=!1,at=r.contexts||{},it=[],ct=[],st=!1,ut=!1,lt={enabled:!1,installed:!1,configurations:{}},ft=null;at.clientHints&&we.userAgentData&&(ft={isMobile:we.userAgentData.mobile,brands:we.userAgentData.brands},at.clientHints.includeHighEntropy&&we.userAgentData.getHighEntropyValues&&we.userAgentData.getHighEntropyValues(["platform","platformVersion","architecture","model","uaFullVersion"]).then(function(e){ft.architecture=e.architecture,ft.model=e.model,ft.platform=e.platform,ft.uaFullVersion=e.uaFullVersion,ft.platformVersion=e.platformVersion}));var dt,pt,mt,ht,gt=r.skippedBrowserFeatures||[],vt={};for(pt in r.hasOwnProperty("discoverRootDomain")&&r.discoverRootDomain&&(De=function(){for(var e="_sp_root_domain_test_"+(new Date).getTime(),t="_test_value_"+(new Date).getTime(),n=Zt.location.hostname.split("."),r=n.length-1;0<=r;){var o=n.slice(r,n.length).join(".");if(Pt(e,t,0,"/",o),Pt(e)===t){for(Pt(e,"",-1,"/",o),e=en.cookie.split("; "),t=[],n=0;n>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,r=0;n>>6-2*r);return t}},e.exports=n}),gn={utf8:{stringToBytes:function(e){return gn.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(gn.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n>5]|=128<<24-n%32,t[15+(n+64>>>9<<4)]=n,n=0;n>>31),s=(r<<5|r>>>27)+c+(e[m]>>>0)+(m<20?1518500249+(o&a|~o&i):m<40?1859775393+(o^a^i):m<60?(o&a|o&i|a&i)-1894007588:(o^a^i)-899497514),c=i,i=a,a=o<<30|o>>>2,o=r,r=s;r+=u,o+=l,a+=f,i+=d,c+=p}return[r,o,a,i,c]}(e)),t&&t.asBytes?e:t&&t.asString?n.bytesToString(e):hn.bytesToHex(e)}var h,n;h=vn.utf8,n=vn.bin,t._blocksize=16,t._digestsize=20,e.exports=t}),bn=Math.max,wn=function(e,t,n){var r,o=Object(e);return fe(e)||(r=Kt(t),e=Oe(e),t=function(e){return r(o[e],e,o)}),-1<(t=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;0>(n=null==n?0:un(n))&&(n=bn(r+n,0));e:{t=Kt(t);r=e.length;for(n+=-1;++n>>((3&t)<<3)&255;return n})}),On=[],Tn=0;Tn<256;++Tn)On[Tn]=(Tn+256).toString(16).substr(1);function Cn(e,t){return t=t||0,[On[e[t++]],On[e[t++]],On[e[t++]],On[e[t++]],"-",On[e[t++]],On[e[t++]],"-",On[e[t++]],On[e[t++]],"-",On[e[t++]],On[e[t++]],"-",On[e[t++]],On[e[t++]],On[e[t++]],On[e[t++]],On[e[t++]],On[e[t++]]].join("")}var Pn,xn,In=0,Dn=0,En=function(e,t,n){if(n=t&&n||0,"string"==typeof e&&(t="binary"===e?Array(16):null,e=null),(e=(e=e||{}).random||(e.rng||Sn)())[6]=15&e[6]|64,e[8]=63&e[8]|128,t)for(var r=0;r<16;++r)t[n+r]=e[r];return t||Cn(e)},J=En;J.v1=function(e,t,n){n=t&&n||0;var r,o=t||[],a=(e=e||{}).node||Pn,i=void 0!==e.clockseq?e.clockseq:xn;null!=a&&null!=i||(r=Sn(),null==a&&(a=Pn=[1|r[0],r[1],r[2],r[3],r[4],r[5]]),null==i&&(i=xn=16383&(r[6]<<8|r[7]))),r=void 0!==e.msecs?e.msecs:(new Date).getTime();var c=void 0!==e.nsecs?e.nsecs:Dn+1,s=r-In+(c-Dn)/1e4;if(s<0&&void 0===e.clockseq&&(i=i+1&16383),(s<0||In>>24&255,o[n++]=e>>>16&255,o[n++]=e>>>8&255,o[n++]=255&e,e=r/4294967296*1e4&268435455,o[n++]=e>>>8&255,o[n++]=255&e,o[n++]=e>>>24&15|16,o[n++]=e>>>16&255,o[n++]=i>>>8|128,o[n++]=255&i,i=0;i<6;++i)o[n+i]=a[i];return t||Cn(o)},J.v4=En;function Ln(e,t){for(var n=-1,r=null==e?0:e.length;++n