/*! * Snowplow - The world's most powerful web analytics platform * * @description JavaScript tracker for Snowplow * @version 2.9.2-SNAPSHOT * @author Alex Dean, Simon Andersson, Anthon Pang, Fred Blundun, Joshua Beemster * @copyright Anthon Pang, Snowplow Analytics Ltd * @license Simplified BSD */ (function(){function a(f,h,d){function g(j,k){if(!h[j]){if(!f[j]){var m="function"==typeof require&&require;if(!k&&m){return m(j,!0)}if(b){return b(j,!0)}var e=new Error("Cannot find module '"+j+"'");throw e.code="MODULE_NOT_FOUND",e}var l=h[j]={exports:{}};f[j][0].call(l.exports,function(i){var o=f[j][1][i];return g(o||i)},l,l.exports,a,f,h,d)}return h[j].exports}for(var b="function"==typeof require&&require,c=0;c>18&63;q=t>>12&63;p=t>>6&63;o=t&63;k[u++]=j.charAt(s)+j.charAt(q)+j.charAt(p)+j.charAt(o)}while(m>>((j&3)<<3)&255}return g}}c.exports=e}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],6:[function(c,b,g){var d=c("./rng");var p=[];var h={};for(var j=0;j<256;j++){p[j]=(j+256).toString(16).substr(1);h[p[j]]=j}function e(w,t,x){var u=(t&&x)||0,v=0;t=t||[];w.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){if(v<16){t[u+v++]=h[i]}});while(v<16){t[u+v++]=0}return t}function l(s,u){var t=u||0,v=p;return v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+"-"+v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]+v[s[t++]]}var r=d();var o=[r[0]|1,r[1],r[2],r[3],r[4],r[5]];var f=(r[6]<<8|r[7])&16383;var m=0,k=0;function q(E,u,y){var z=u&&y||0;var A=u||[];E=E||{};var x=E.clockseq!==undefined?E.clockseq:f;var s=E.msecs!==undefined?E.msecs:new Date().getTime();var D=E.nsecs!==undefined?E.nsecs:k+1;var t=(s-m)+(D-k)/10000;if(t<0&&E.clockseq===undefined){x=x+1&16383}if((t<0||s>m)&&E.nsecs===undefined){D=0}if(D>=10000){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}m=s;k=D;f=x;s+=12219292800000;var C=((s&268435455)*10000+D)%4294967296;A[z++]=C>>>24&255;A[z++]=C>>>16&255;A[z++]=C>>>8&255;A[z++]=C&255;var B=(s/4294967296*10000)&268435455;A[z++]=B>>>8&255;A[z++]=B&255;A[z++]=B>>>24&15|16;A[z++]=B>>>16&255;A[z++]=x>>>8|128;A[z++]=x&255;var w=E.node||o;for(var v=0;v<6;v++){A[z+v]=w[v]}return u?u:l(A)}function n(t,s,x){var u=s&&x||0;if(typeof(t)=="string"){s=t=="binary"?new Array(16):null;t=null}t=t||{};var w=t.random||(t.rng||d)();w[6]=(w[6]&15)|64;w[8]=(w[8]&63)|128;if(s){for(var v=0;v<16;v++){s[u+v]=w[v]}}return s||l(w)}var a=n;a.v1=q;a.v4=n;a.parse=e;a.unparse=l;b.exports=a},{"./rng":5}],7:[function(b,c,a){this.cookie=function(e,g,d,i,f,h){if(arguments.length>1){return document.cookie=e+"="+escape(g)+(d?"; expires="+new Date(+new Date()+(d*1000)).toUTCString():"")+(i?"; path="+i:"")+(f?"; domain="+f:"")+(h?"; secure":"")}return unescape((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}},{}],8:[function(c,d,b){var a={utf8:{stringToBytes:function(e){return a.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(a.bin.bytesToString(e)))}},bin:{stringToBytes:function(g){for(var e=[],f=0;f>>(32-f))},rotr:function(g,f){return(g<<(32-f))|(g>>>f)},endian:function(g){if(g.constructor==Number){return e.rotl(g,8)&16711935|e.rotl(g,24)&4278255360}for(var f=0;f0;g--){f.push(Math.floor(Math.random()*256))}return f},bytesToWords:function(g){for(var j=[],h=0,f=0;h>>5]|=g[h]<<(24-f%32)}return j},wordsToBytes:function(h){for(var g=[],f=0;f>>5]>>>(24-f%32))&255)}return g},bytesToHex:function(f){for(var h=[],g=0;g>>4).toString(16));h.push((f[g]&15).toString(16))}return h.join("")},hexToBytes:function(g){for(var f=[],h=0;h>>6*(3-h))&63))}else{f.push("=")}}}return f.join("")},base64ToBytes:function(g){g=g.replace(/[^A-Z0-9+\/]/ig,"");for(var f=[],h=0,j=0;h>>(6-j*2)))}return f}};c.exports=e})()},{}],10:[function(b,c,a){(function(d){var e=(function(){var g="s",h=function(o){var p=-o.getTimezoneOffset();return(p!==null?p:0)},k=function(p,q,o){var r=new Date();if(p!==undefined){r.setFullYear(p)}r.setMonth(q);r.setDate(o);return r},i=function(o){return h(k(o,0,2))},l=function(o){return h(k(o,5,2))},f=function(p){var q=p.getMonth()>7,t=q?l(p.getFullYear()):i(p.getFullYear()),o=h(p),s=t<0,r=t-o;if(!s&&!q){return r<0}return r!==0},j=function(){var o=i(),p=l(),q=o-p;if(q<0){return o+",1"}else{if(q>0){return p+",1,"+g}}return o+",0"},m=function(){var o=j();return new e.TimeZone(e.olson.timezones[o])},n=function(o){var p=new Date(2010,6,15,1,0,0,0),q={"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":p,"Asia/Amman":new Date(2013,2,29,1,0,0,0),"Asia/Beirut":new Date(2013,2,31,2,0,0,0),"Asia/Damascus":new Date(2013,3,6,2,0,0,0),"Asia/Jerusalem":new Date(2013,2,29,5,0,0,0),"Asia/Yekaterinburg":p,"Asia/Omsk":p,"Asia/Krasnoyarsk":p,"Asia/Irkutsk":p,"Asia/Yakutsk":p,"Asia/Vladivostok":p,"Asia/Baku":new Date(2013,2,31,4,0,0),"Asia/Yerevan":new Date(2013,2,31,3,0,0),"Asia/Kamchatka":p,"Asia/Gaza":new Date(2010,2,27,4,0,0),"Africa/Cairo":new Date(2010,4,1,3,0,0),"Europe/Minsk":p,"Pacific/Apia":new Date(2010,10,1,1,0,0,0),"Pacific/Fiji":new Date(2010,11,1,0,0,0),"Australia/Perth":new Date(2008,10,1,1,0,0,0)};return q[o]};return{determine:m,date_is_dst:f,dst_start_for:n}}());e.TimeZone=function(f){var g={"America/Denver":["America/Denver","America/Mazatlan"],"America/Chicago":["America/Chicago","America/Mexico_City"],"America/Santiago":["America/Santiago","America/Asuncion","America/Campo_Grande"],"America/Montevideo":["America/Montevideo","America/Sao_Paulo"],"Asia/Beirut":["Asia/Amman","Asia/Jerusalem","Asia/Beirut","Europe/Helsinki","Asia/Damascus"],"Pacific/Auckland":["Pacific/Auckland","Pacific/Fiji"],"America/Los_Angeles":["America/Los_Angeles","America/Santa_Isabel"],"America/New_York":["America/Havana","America/New_York"],"America/Halifax":["America/Goose_Bay","America/Halifax"],"America/Godthab":["America/Miquelon","America/Godthab"],"Asia/Dubai":["Europe/Moscow"],"Asia/Dhaka":["Asia/Yekaterinburg"],"Asia/Jakarta":["Asia/Omsk"],"Asia/Shanghai":["Asia/Krasnoyarsk","Australia/Perth"],"Asia/Tokyo":["Asia/Irkutsk"],"Australia/Brisbane":["Asia/Yakutsk"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Tarawa":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk"],"Asia/Baku":["Asia/Yerevan","Asia/Baku"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]},h=f,j=function(){var k=g[h],m=k.length,l=0,n=k[0];for(;l=4){n=((q.charCodeAt(o)&255))|((q.charCodeAt(++o)&255)<<8)|((q.charCodeAt(++o)&255)<<16)|((q.charCodeAt(++o)&255)<<24);n=(((n&65535)*1540483477)+((((n>>>16)*1540483477)&65535)<<16));n^=n>>>24;n=(((n&65535)*1540483477)+((((n>>>16)*1540483477)&65535)<<16));p=(((p&65535)*1540483477)+((((p>>>16)*1540483477)&65535)<<16))^n;j-=4;++o}switch(j){case 3:p^=(q.charCodeAt(o+2)&255)<<16;case 2:p^=(q.charCodeAt(o+1)&255)<<8;case 1:p^=(q.charCodeAt(o)&255);p=(((p&65535)*1540483477)+((((p>>>16)*1540483477)&65535)<<16))}p^=p>>>13;p=(((p&65535)*1540483477)+((((p>>>16)*1540483477)&65535)<<16));p^=p>>>15;return p>>>0}function e(s,o){var t,u,q,k,n,j,l,r,p,m;t=s.length&3;u=s.length-t;q=o;n=3432918353;l=461845907;m=0;while(m>>16)*n)&65535)<<16)))&4294967295;p=(p<<15)|(p>>>17);p=((((p&65535)*l)+((((p>>>16)*l)&65535)<<16)))&4294967295;q^=p;q=(q<<13)|(q>>>19);k=((((q&65535)*5)+((((q>>>16)*5)&65535)<<16)))&4294967295;q=(((k&65535)+27492)+((((k>>>16)+58964)&65535)<<16))}p=0;switch(t){case 3:p^=(s.charCodeAt(m+2)&255)<<16;case 2:p^=(s.charCodeAt(m+1)&255)<<8;case 1:p^=(s.charCodeAt(m)&255);p=(((p&65535)*n)+((((p>>>16)*n)&65535)<<16))&4294967295;p=(p<<15)|(p>>>17);p=(((p&65535)*l)+((((p>>>16)*l)&65535)<<16))&4294967295;q^=p}q^=s.length;q^=q>>>16;q=(((q&65535)*2246822507)+((((q>>>16)*2246822507)&65535)<<16))&4294967295;q^=q>>>13;q=((((q&65535)*3266489909)+((((q>>>16)*3266489909)&65535)<<16)))&4294967295;q^=q>>>16;return q>>>0}var d=e;d.v2=f;d.v3=e;if(typeof(c)!="undefined"){c.exports=d}else{var g=h.murmur;d.noConflict=function(){h.murmur=g;return d};h.murmur=d}}())},{}],12:[function(b,c,a){(function(){var g=b("crypt"),d=b("charenc").utf8,e=b("charenc").bin,h=function(q){if(q.constructor==String){q=d.stringToBytes(q)}var y=g.bytesToWords(q),z=q.length*8,r=[],u=1732584193,s=-271733879,p=-1732584194,o=271733878,k=-1009589776;y[z>>5]|=128<<(24-z%32);y[((z+64>>>9)<<4)+15]=z;for(var B=0;B>>31)}var v=((u<<5)|(u>>>27))+k+(r[A]>>>0)+(A<20?(s&p|~s&o)+1518500249:A<40?(s^p^o)+1859775393:A<60?(s&p|s&o|p&o)-1894007588:(s^p^o)-899497514);k=o;o=p;p=(s<<30)|(s>>>2);s=u;u=v}u+=G;s+=F;p+=E;o+=D;k+=C}return[u,s,p,o,k]},f=function(k,i){var j=g.wordsToBytes(h(k));return i&&i.asBytes?j:i&&i.asString?e.bytesToString(j):g.bytesToHex(j)};f._blocksize=16;f._digestsize=20;c.exports=f})()},{charenc:8,crypt:9}],13:[function(b,c,a){arguments[4][5][0].apply(a,arguments)},{dup:5}],14:[function(b,c,a){arguments[4][6][0].apply(a,arguments)},{"./rng":13,dup:6}],15:[function(c,a,f){var b=c("../snowplow"),e,h,g=window;var i={};if(g.GlobalAamNamespace&&g.GlobalAamNamespace.length>0){i.institute="aam";i.url="//aamcftag.aamsitecertifier.com";i.lvh_rel=d();e=g.GlobalAamNamespace.shift();h=g[e];h.q=new b.Snowplow(h.q,e,i)}else{g._snaq=g._snaq||[];g._snaq=new b.Snowplow(g._snaq,"_snaq")}function d(){return[{scID:"180",LVH:"158mf71voi4ga0egxiy"},{scID:"181",LVH:"158mf71voi4ga0egxiy"},{scID:"182",LVH:"158mf71voi4ga0egxiy"},{scID:"183",LVH:"158mf71voi4ga0egxiy"},{scID:"184",LVH:"158mf71voi4ga0egxiy"},{scID:"185",LVH:"158mf71voi4ga0egxiy"},{scID:"186",LVH:"158mf71voi4ga0egxiy"},{scID:"187",LVH:"158mf71voi4ga0egxiy"},{scID:"188",LVH:"158mf71voi4ga0egxiy"},{scID:"189",LVH:"158mf71voi4ga0egxiy"},{scID:"191",LVH:"158mf71voi4ga0egxiy"},{scID:"192",LVH:"158mf71voi4ga0egxiy"},{scID:"193",LVH:"158mf71voi4ga0egxiy"},{scID:"196",LVH:"183qusbxw6y1znptxxj"},{scID:"198",LVH:"396tmx33onw8wt8gvyr"},{scID:"236",LVH:"396tmx33onw8wt8gvyr"},{scID:"237",LVH:"396tmx33onw8wt8gvyr"},{scID:"238",LVH:"396tmx33onw8wt8gvyr"},{scID:"239",LVH:"396tmx33onw8wt8gvyr"},{scID:"240",LVH:"396tmx33onw8wt8gvyr"},{scID:"252",LVH:"174zqrhzzild27hqndl"},{scID:"253",LVH:"177hyrrymo9cz7r0vjv"},{scID:"254",LVH:"158mf71voi4ga0egxiy"},{scID:"257",LVH:"192dk860k8k23m9jsod"},{scID:"258",LVH:"18433pfr1rcxvupjmde"},{scID:"261",LVH:"177hyrrymo9cz7r0vjv"},{scID:"262",LVH:"177hyrrymo9cz7r0vjv"},{scID:"266",LVH:"222qg7v983hxg30wvh1"},{scID:"272",LVH:"238rzcnna9j7q9aat9d"},{scID:"287",LVH:"257w2lj4prldop05p9e"},{scID:"299",LVH:"268ie1d9s7c36wt3k6o"},{scID:"301",LVH:"269la79e6f7icrp8csb"},{scID:"304",LVH:"275zhcjbtyelatthun6"},{scID:"306",LVH:"274wggbu7qpjatzufom"},{scID:"305",LVH:"277fvc03h4zi363hxvj"},{scID:"310",LVH:"289vs6zo5oyh3rpqs5k"},{scID:"311",LVH:"289vs6zo5oyh3rpqs5k"},{scID:"312",LVH:"289vs6zo5oyh3rpqs5k"},{scID:"404",LVH:"312qk3ec4s0h1yp3kbu"},{scID:"406",LVH:"182h1kagypftheeqt3p"},{scID:"407",LVH:"182h1kagypftheeqt3p"},{scID:"408",LVH:"182h1kagypftheeqt3p"},{scID:"409",LVH:"182h1kagypftheeqt3p"},{scID:"410",LVH:"182h1kagypftheeqt3p"},{scID:"411",LVH:"182h1kagypftheeqt3p"},{scID:"412",LVH:"182h1kagypftheeqt3p"},{scID:"413",LVH:"182h1kagypftheeqt3p"},{scID:"414",LVH:"182h1kagypftheeqt3p"},{scID:"415",LVH:"182h1kagypftheeqt3p"},{scID:"416",LVH:"182h1kagypftheeqt3p"},{scID:"417",LVH:"182h1kagypftheeqt3p"},{scID:"418",LVH:"182h1kagypftheeqt3p"},{scID:"419",LVH:"182h1kagypftheeqt3p"},{scID:"420",LVH:"182h1kagypftheeqt3p"},{scID:"421",LVH:"182h1kagypftheeqt3p"},{scID:"422",LVH:"182h1kagypftheeqt3p"},{scID:"423",LVH:"182h1kagypftheeqt3p"},{scID:"424",LVH:"182h1kagypftheeqt3p"},{scID:"425",LVH:"182h1kagypftheeqt3p"},{scID:"426",LVH:"182h1kagypftheeqt3p"},{scID:"456",LVH:"396tmx33onw8wt8gvyr"},{scID:"467",LVH:"3651uiu7v4c24ci0gfx"},{scID:"490",LVH:"5518ce897qzaixy481f"},{scID:"532",LVH:"481vpn72j7478ka3egx"},{scID:"552",LVH:"544opt5lxrll43mnvky"},{scID:"553",LVH:"544opt5lxrll43mnvky"},{scID:"554",LVH:"544opt5lxrll43mnvky"},{scID:"575",LVH:"547o669syirszff2k1y"},{scID:"210",LVH:"5499fsal6gpaz5tx8ut"},{scID:"622",LVH:"554c11fcm5jdfjdlsql"},{scID:"623",LVH:"5558tc8zyx5aewpy2ih"}]}},{"../snowplow":26}],16:[function(d,e,a){var g=d("./lib_managed/lodash"),f=d("./lib/helpers"),c=typeof a!=="undefined"?a:this,b=window;c.errorManager=function(i){function h(o,l,p,n,m,q){var k=(m&&m.stack)?m.stack:null;i.trackSelfDescribingEvent({schema:"iglu:com.snowplowanalytics.snowplow/application_error/jsonschema/1-0-1",data:{programmingLanguage:"JAVASCRIPT",message:o||"JS Exception. Browser doesn't support ErrorEvent API",stackTrace:k,lineNumber:p,lineColumn:n,fileName:l}},q)}function j(n,k,m){var l;if(g.isFunction(m)){l=k.concat(m(n))}else{l=k}h(n.message,n.filename,n.lineno,n.colno,n.error,l)}return{trackError:h,enableErrorTracking:function(k,n,m){function l(o){if(g.isFunction(k)&&k(o)||k==null){j(o,m,n)}}f.addEventListener(b,"error",l,true)}}}},{"./lib/helpers":21,"./lib_managed/lodash":23}],17:[function(c,d,a){var f=c("./lib_managed/lodash"),e=c("./lib/helpers"),b=typeof a!=="undefined"?a:this;b.getFormTrackingManager=function(k,j,m){var q=["textarea","input","select"];var g=j+"form";var r=function(){return true};var i=function(){return true};var p=function(t){return t};function o(t){return t[f.find(["name","id","type","nodeName"],function(u){return t[u]&&typeof t[u]==="string"})]}function s(t){while(t&&t.nodeName&&t.nodeName.toUpperCase()!=="HTML"&&t.nodeName.toUpperCase()!=="FORM"){t=t.parentNode}if(t&&t.nodeName&&t.nodeName.toUpperCase()==="FORM"){return o(t)}}function h(u){var t=[];f.forEach(q,function(v){var w=f.filter(u.getElementsByTagName(v),function(x){return x.hasOwnProperty(g)});f.forEach(w,function(y){if(y.type==="submit"){return}var x={name:o(y),value:y.value,nodeName:y.nodeName};if(y.type&&y.nodeName.toUpperCase()==="INPUT"){x.type=y.type}if((y.type==="checkbox"||y.type==="radio")&&!y.checked){x.value=null}t.push(x)})});return t}function l(t){return function(x){var u=x.target;var v=(u.nodeName&&u.nodeName.toUpperCase()==="INPUT")?u.type:null;var w=(u.type==="checkbox"&&!u.checked)?null:p(u.value);k.trackFormChange(s(u),o(u),u.nodeName,v,e.getCssClasses(u),w,m(t))}}function n(t){return function(w){var v=w.target;var u=h(v);f.forEach(u,function(x){x.value=p(x.value)});k.trackFormSubmission(o(v),e.getCssClasses(v),u,m(t))}}return{configureFormTracking:function(t){if(t){r=e.getFilter(t.forms,true);i=e.getFilter(t.fields,false);p=e.getTransform(t.fields)}},addFormListeners:function(t){f.forEach(document.getElementsByTagName("form"),function(u){if(r(u)&&!u[g]){f.forEach(q,function(v){f.forEach(u.getElementsByTagName(v),function(w){if(i(w)&&!w[g]&&w.type.toLowerCase()!=="password"){e.addEventListener(w,"change",l(t),false);w[g]=true}})});e.addEventListener(u,"submit",n(t));u[g]=true}})}}}},{"./lib/helpers":21,"./lib_managed/lodash":23}],18:[function(b,c,a){(function(){var f=b("./lib_managed/lodash"),e=b("./lib/helpers"),d=typeof a!=="undefined"?a:this;d.InQueueManager=function(g,n,m,k,o,s){var h={};function q(v){var w=[];if(!v||v.length===0){w=f.map(h)}else{for(var u=0;u1)?v[1].split(";"):[];return[i,u]}function r(){var w,v,y,x,u,B,z,A;for(w=0;w=3){x[2].variables=s}if(y==="newTracker"){p(x[0],x[1],x[2]);continue}if((y==="setCollectorCf"||y==="setCollectorUrl")&&(!z||z.length===0)){j(y,x[0],x[1]);continue}A=q(z);for(v=0;vp){window.clearInterval(s);e=true;r(e)}},n)},l=function(e){if(document.documentMode||/Edge/.test(e)){return true}else{return false}};if(window.webkitRequestFileSystem){window.webkitRequestFileSystem(window.TEMPORARY,1,function(){j=false},function(n){console.log(n);j=true})}else{if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var h;try{h=window.indexedDB.open("test")}catch(k){j=true}if(typeof j==="undefined"){f(function g(){return h.readyState==="done"?true:false},function i(e){if(!e){j=h.result?false:true}})}}else{if(l(window.navigator.userAgent)){j=false;try{if(!window.indexedDB){j=true}}catch(k){j=true}}else{if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(k){j=true}if(typeof j==="undefined"){j=false;window.localStorage.removeItem("test")}}}}}f(function g(){return typeof j!=="undefined"?true:false},function i(e){m(j)})}}())},{}],20:[function(b,c,a){(function(){var l=b("../lib_managed/lodash"),k=b("murmurhash").v3,g=b("jstimezonedetect").jstz.determine(),e=b("browser-cookie-lite"),h=typeof a!=="undefined"?a:this,j=window,d=navigator,i=screen,f=document;h.hasSessionStorage=function(){try{return !!j.sessionStorage}catch(m){return true}};h.hasLocalStorage=function(){try{return !!j.localStorage}catch(m){return true}};h.localStorageAccessible=function(){var m="modernizr";if(!h.hasLocalStorage()){return false}try{j.localStorage.setItem(m,m);j.localStorage.removeItem(m);return true}catch(n){return false}};h.hasCookies=function(m){var n=m||"testcookie";if(l.isUndefined(d.cookieEnabled)){e.cookie(n,"1");return e.cookie(n)==="1"?"1":"0"}return d.cookieEnabled?"1":"0"};h.isCanvasSupported=function(){var m=document.createElement("canvas");return !!(m.getContext&&m.getContext("2d"))};h.getCanvasFp=function(){var m=[];var o=document.createElement("canvas");o.width=2000;o.height=200;o.style.display="inline";var n=o.getContext("2d");n.rect(0,0,10,10);n.rect(2,2,6,6);m.push("canvas winding:"+((n.isPointInPath(5,5,"evenodd")===false)?"yes":"no"));n.textBaseline="alphabetic";n.fillStyle="#f60";n.fillRect(125,1,62,20);n.fillStyle="#069";n.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03",2,15);n.fillStyle="rgba(102, 204, 0, 0.7)";n.font="18pt Arial";n.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03",4,45);n.globalCompositeOperation="multiply";n.fillStyle="rgb(255,0,255)";n.beginPath();n.arc(50,50,50,0,Math.PI*2,true);n.closePath();n.fill();n.fillStyle="rgb(0,255,255)";n.beginPath();n.arc(100,50,50,0,Math.PI*2,true);n.closePath();n.fill();n.fillStyle="rgb(255,255,0)";n.beginPath();n.arc(75,100,50,0,Math.PI*2,true);n.closePath();n.fill();n.fillStyle="rgb(255,0,255)";n.arc(75,75,75,0,Math.PI*2,true);n.arc(75,75,25,0,Math.PI*2,true);n.fill("evenodd");m.push("canvas fp:"+o.toDataURL());return m.join("~")};h.detectSignature=function(t){var s=h.isCanvasSupported()?h.getCanvasFp():"";var n=(e.cookie("__utma")!="")?e.cookie("__utma"):e.cookie("_ga");var q=[d.userAgent,[i.height,i.width,i.colorDepth].join("x"),(new Date()).getTimezoneOffset(),h.hasSessionStorage(),h.hasLocalStorage(),s,n];var m=[];if(d.plugins){for(var r=0;r=0&&m>=0){return o+"x"+m}else{return null}};h.detectDocumentSize=function(){var q=f.documentElement,o=f.body,p=o?Math.max(o.offsetHeight,o.scrollHeight):0;var m=Math.max(q.clientWidth,q.offsetWidth,q.scrollWidth);var n=Math.max(q.clientHeight,q.offsetHeight,q.scrollHeight,p);return isNaN(m)||isNaN(n)?"":m+"x"+n};h.detectBrowserFeatures=function(o,n){var m,q,r={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"},p={};if(d.mimeTypes&&d.mimeTypes.length){for(m in r){if(Object.prototype.hasOwnProperty.call(r,m)){q=d.mimeTypes[r[m]];p[m]=(q&&q.enabledPlugin)?"1":"0"}}}p.inpriv=(e.cookie("privAu")!="")?e.cookie("privAu"):0;p.abd=(e.cookie("abdAu")!="")?e.cookie("abdAu"):0;if(d.constructor===window.Navigator&&typeof d.javaEnabled!=="unknown"&&!l.isUndefined(d.javaEnabled)&&d.javaEnabled()){p.java="1"}if(l.isFunction(j.GearsFactory)){p.gears="1"}p.res=i.width+"x"+i.height;p.cd=i.colorDepth;if(o){p.cookie=h.hasCookies(n)}return p}}())},{"../lib_managed/lodash":23,"browser-cookie-lite":7,jstimezonedetect:10,murmurhash:11}],21:[function(b,c,a){(function(){var g=b("../lib_managed/lodash"),e=b("browser-cookie-lite"),d=typeof a!=="undefined"?a:this;d.fixupTitle=function(i){if(!g.isString(i)){i=i.text||"";var h=document.getElementsByTagName("title");if(h&&!g.isUndefined(h[0])){i=h[0].text}}return i};d.getHostName=function(h){var j=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),i=j.exec(h);return i?i[1]:h};d.fixupDomain=function(i){var h=i.length;if(i.charAt(--h)==="."){i=i.slice(0,h)}if(i.slice(0,2)==="*."){i=i.slice(1)}return i};d.getReferrer=function(j){var i="";var h=d.fromQuerystring("referrer",window.location.href)||d.fromQuerystring("referer",window.location.href);if(h){return h}if(j){return j}try{i=window.top.document.referrer}catch(l){if(window.parent){try{i=window.parent.document.referrer}catch(k){i=""}}}if(i===""){i=document.referrer}return i};d.addEventListener=function(k,j,i,h){if(k.addEventListener){k.addEventListener(j,i,h);return true}if(k.attachEvent){return k.attachEvent("on"+j,i)}k["on"+j]=i};d.fromQuerystring=function(j,i){var h=new RegExp("^[^#]*[?&]"+j+"=([^&#]*)").exec(i);if(!h){return null}return decodeURIComponent(h[1].replace(/\+/g," "))};d.warn=function(h){if(typeof console!=="undefined"){console.warn("Snowplow: "+h)}};d.getCssClasses=function(h){return h.className.match(/\S+/g)||[]};function f(h,l){var k=d.getCssClasses(h),j;for(j=0;j=0){var m=l.slice(h,l.length).join(".");e.cookie(p,n,0,"/",m);if(e.cookie(p)===n){d.deleteCookie(p,m);var o=d.getCookiesWithPrefix(j);for(var k=0;kbF?0:(bF+bG)}bD=(bD===I||bD>bF)?bF:(+bD||0);if(bD<0){bD+=bF}bF=bG>bD?0:((bD-bG)>>>0);bG>>>=0;var bC=Array(bF);while(++bE-1?bH[bG]:I}return ag(bH,bE,bD)}}function ac(bC,bD){return function(bG,bF,bE){return(typeof bF=="function"&&bE===I&&h(bG))?bC(bG,bF):bD(bG,R(bF,bE,3))}}function bu(bC){return function(bF,bG,bE){var bD={};bG=ba(bG,bE,3);au(bF,function(bK,bJ,bI){var bH=bG(bK,bJ,bI);bJ=bC?bH:bJ;bK=bC?bK:bH;bD[bJ]=bK});return bD}}function bn(bJ,bK,bN,bD,bF,bG,bE){var bI=-1,bL=bJ.length,bM=bK.length;if(bL!=bM&&!(bF&&bM>bL)){return false}while(++bI-1&&bD%1==0&&bD-1&&bC%1==0&&bC<=ap}function aF(bC){return bC===bC&&!T(bC)}function ao(bF){var bI=a5(bF),bH=bI.length,bJ=bH&&bF.length;var bD=!!bJ&&aA(bJ)&&(h(bF)||j(bF)||bt(bF));var bE=-1,bC=[];while(++bE0,bK=bM.enumErrorProps&&(bE===o||bE instanceof Error),bP=bM.enumPrototypes&&bc(bE);while(++bJ1){s.bufferFlushers.push(function(){if(!h){y()}})}function o(H){var D="?",E={co:true,cx:true},C=true;for(var G in H){if(H.hasOwnProperty(G)&&!(E.hasOwnProperty(G))){if(!C){D+="&"}else{C=false}D+=encodeURIComponent(G)+"="+encodeURIComponent(H[G])}}for(var F in E){if(H.hasOwnProperty(F)&&E.hasOwnProperty(F)){D+="&"+F+"="+encodeURIComponent(H[F])}}return D}function A(C){var D=g.mapValues(C,function(E){return E.toString()});return{evt:D,bytes:B(JSON.stringify(D))}}function B(E){var C=0;for(var D=0;D=55296&&F<=57343){C+=4;D++}else{if(F<65535){C+=3}else{C+=4}}}}}return C}function t(F,E){v=E+r;if(w){var C=A(F);if(C.bytes>=j){f.warn("Event of size "+C.bytes+" is too long - the maximum size is "+j);var G=n(v);G.send(p(l([C.evt])));return}else{i.push(C)}}else{i.push(o(F))}var D=false;if(z){D=f.attemptWriteLocalStorage(k,JSON.stringify(i))}if(!h&&(!D||i.length>=m)){y()}}function y(){while(i.length&&typeof i[0]!=="string"&&typeof i[0]!=="object"){i.shift()}if(i.length<1){h=false;return}if(!g.isString(v)){throw"No Snowplow collector configured, cannot track"}h=true;var G=i[0];if(w){var H=n(v);var C=setTimeout(function(){H.abort();h=false},5000);function D(J){var L=0;var K=0;while(L=j){break}else{L+=1}}return L}var I=D(i);H.onreadystatechange=function(){if(H.readyState===4&&H.status>=200&&H.status<400){for(var J=0;J=400){clearTimeout(C);h=false}}};var E=g.map(i.slice(0,I),function(J){return J.evt});if(E.length>0){H.send(p(l(E)))}}else{var F=new Image(1,1);F.onload=function(){i.shift();if(z){f.attemptWriteLocalStorage(k,JSON.stringify(i))}y()};F.onerror=function(){h=false};F.src=v+G.replace("?","?stm="+new Date().getTime()+"&")}}function n(C){var D=new XMLHttpRequest();D.open("POST",C,true);D.withCredentials=true;D.setRequestHeader("Content-Type","application/json; charset=UTF-8");return D}function p(C){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:C})}function l(E){var C=new Date().getTime().toString();for(var D=0;D0}).length===0){break}}while(t.getTime()=0){bE=bE.slice(0,bD)}if((bD=bE.lastIndexOf("/"))!==bE.length-1){bE=bE.slice(0,bD+1)}return bE+bC}function an(bE,bD){var bC=new Date();var bF=!!h.cookie(av);if(!(bj||bF)){bl.enqueueRequest(bE.build(),x);C.expireDateTime=bC.getTime()+bD}}function P(bC){return bp+bC+"."+a0}function ap(bD){var bC=P(bD);if(aX=="localStorage"){return g.attemptGetLocalStorage(bC)}else{if(aX=="cookie"||aX=="cookieAndLocalStorage"){return h.cookie(bC)}}}function aN(){by();a0=ak((H||bc)+(bq||"/")).slice(0,4)}function bd(){var bC=new Date();aU=bC.getTime()}function a4(){aB();bd()}function aG(){var bC=(ax.compatMode&&ax.compatMode!=="BackCompat")?ax.documentElement:ax.body;return[bC.scrollLeft||al.pageXOffset,bC.scrollTop||al.pageYOffset]}function aM(){var bD=aG();var bC=bD[0];aP=bC;aE=bC;var bE=bD[1];ay=bE;af=bE}function aB(){var bD=aG();var bC=bD[0];if(bCaE){aE=bC}}var bE=bD[1];if(bEaf){af=bE}}}function Y(bD){var bC=Math.round(bD);if(!isNaN(bC)){return bC}}function aw(){var bD=P("ses");var bC="*";a8(bD,bC,Q)}function bn(bE,bD,bC,bG,bF,bI){var bJ=P("id");var bH=bE+"."+bD+"."+bC+"."+bG+"."+bF+"."+bI;a8(bJ,bH,L)}function a8(bC,bE,bD){if(aX=="localStorage"){g.attemptWriteLocalStorage(bC,bE)}else{if(aX=="cookie"||aX=="cookieAndLocalStorage"){h.cookie(bC,bE,bD,bq,H)}}}function aO(){return d.v4()}function B(){var bD=aX!="none"&&!!ap("ses");var bC=a6();if(bC[1]){at=bC[1]}else{at=aO();bC[1]=at}ab=bC[6];if(!bD){bC[3]++;ab=d.v4();bC[6]=ab;bC[5]=bC[4]}if(aX!="none"){aw();bC[4]=Math.round(new Date().getTime()/1000);bC.shift();bn.apply(null,bC)}}function a6(){if(aX=="none"){return[]}var bD=new Date(),bC=Math.round(bD.getTime()/1000),bF=ap("id"),bE;if(bF){bE=bF.split(".");bE.unshift("0")}else{bE=["1",at,bC,0,bC,""]}if(!bE[6]){bE[6]=d.v4()}return bE}function M(bJ){var bE=Math.round(new Date().getTime()/1000),bH=P("id"),bG=P("ses"),bL=ap("ses"),bD=a6(),bM=bD[0],bK=bD[1],bP=bD[2],bF=bD[3],bO=bD[4],bC=bD[5],bI=bD[6];var bN=!!h.cookie(av);if((bj||bN)&&aX!="none"){if(aX=="localStorage"){g.attemptWriteLocalStorage(bH,"");g.attemptWriteLocalStorage(sesName,"")}else{if(aX=="cookie"||aX=="cookieAndLocalStorage"){h.cookie(bH,"",-1,bq,H);h.cookie(bG,"",-1,bq,H)}}return}if(bM==="0"){ab=bI;if(!bL&&aX!="none"){bF++;bC=bO;ab=d.v4()}aa=bF}else{if((new Date().getTime()-bo)>Q*1000){ab=d.v4();aa++}}bJ.add("vp",o.detectViewport());bJ.add("ds",o.detectDocumentSize());bJ.add("vid",aa);bJ.add("sid",ab);bJ.add("duid",bK);bJ.add("fp",y);bJ.add("uid",bA);by();bJ.add("refr",bk(ao||aV));bJ.add("url",bk(aD||bs));if(aX!="none"){bn(bK,bP,aa,bE,bC,ab);aw()}bo=new Date().getTime()}function am(bC){return ba(bC+".cloudfront.net")}function ba(bC){if(a3){return("https://"+bC)}if(ag){return("http://"+bC)}return("https:"===ax.location.protocol?"https":"http")+"://"+bC}function bm(bJ){var bG=bw.concat(bJ||[]);if(bu.webPage){bG.push(be())}if(bu.performanceTiming){var bL=R();if(bL){bG.push(bL)}}if(al.optimizely){if(bu.optimizelySummary){var bI=aj();r.each(bI,function(bP){bG.push(bP)})}if(bu.optimizelyXSummary){var bI=a1();r.each(bI,function(bP){bG.push(bP)})}if(bu.optimizelyExperiments){var bC=ah();for(var bH=0;bHbM.getTime()){if(E