mixpanel-browser 2.57.1 → 2.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,124 +1,136 @@
1
1
  (function() {
2
- var k=void 0,l=!0,r=null,B=!1;
3
- (function(){function Ua(){function a(){if(!a.Rc)ua=a.Rc=l,va=B,c.a(G,function(a){a.Ec()})}function b(){try{t.documentElement.doScroll("left")}catch(d){setTimeout(b,1);return}a()}if(t.addEventListener)"complete"===t.readyState?a():t.addEventListener("DOMContentLoaded",a,B);else if(t.attachEvent){t.attachEvent("onreadystatechange",a);var d=B;try{d=p.frameElement===r}catch(f){}t.documentElement.doScroll&&d&&b()}c.gc(p,"load",a,l)}function Va(){x.init=function(a,b,d){if(d)return x[d]||(x[d]=G[d]=W(a,
4
- b,d),x[d].ra()),x[d];d=x;if(G.mixpanel)d=G.mixpanel;else if(a)d=W(a,b,"mixpanel"),d.ra(),G.mixpanel=d;x=d;1===ia&&(p.mixpanel=x);Wa()}}function Wa(){c.a(G,function(a,b){"mixpanel"!==b&&(x[b]=a)});x._=c}function ja(a){a=c.g(a)?a:c.e(a)?{}:{days:a};return c.extend({},Xa,a)}function W(a,b,d){var f,g="mixpanel"===d?x:x[d];if(g&&0===ia)f=g;else{if(g&&!c.isArray(g)){o.error("You have already initialized "+d);return}f=new e}f.vb={};f.ba(a,b,d);f.people=new q;f.people.ba(f);if(!f.c("skip_first_touch_marketing")){var a=
5
- c.info.ca(r),h={},v=B;c.a(a,function(a,b){(h["initial_"+b]=a)&&(v=l)});v&&f.people.S(h)}L=L||f.c("debug");!c.e(g)&&c.isArray(g)&&(f.Ia.call(f.people,g.people),f.Ia(g));return f}function e(){}function R(){}function Ya(a){return a}function wa(a){throw Error(a+" not available in this build.");}function m(a){this.props={};this.Ud=B;this.name=a.persistence_name?"mp_"+a.persistence_name:"mp_"+a.token+"_mixpanel";var b=a.persistence;if("cookie"!==b&&"localStorage"!==b)o.D("Unknown persistence type "+b+"; falling back to cookie"),
6
- b=a.persistence="cookie";this.l="localStorage"===b&&c.localStorage.Ba()?c.localStorage:c.cookie;this.load();this.zc(a);this.Qd();this.save()}function q(){}function u(){}function D(a,b){this.O=b.O;this.ha=new E(a,{O:c.bind(this.h,this),v:b.v,qc:b.qc,q:b.q});this.F=b.F;this.rd=b.sd;this.sa=b.sa;this.Cd=b.Dd;this.I=this.F.batch_size;this.xa=this.F.batch_flush_interval_ms;this.ka=!this.F.batch_autostart;this.Ra=0;this.M={};this.Ob=b.Ob||B}function xa(a,b){var d=[];c.a(a,function(a){var c=a.id;if(c in
7
- b){if(c=b[c],c!==r)a.payload=c,d.push(a)}else d.push(a)});return d}function ya(a,b){var d=[];c.a(a,function(a){a.id&&!b[a.id]&&d.push(a)});return d}function E(a,b){b=b||{};this.T=a;if(this.q=b.q)this.v=b.v||new S,this.fb=new za(a,{l:b.qc||window.localStorage}),this.v.Q();this.h=b.O||c.bind(Aa.error,Aa);this.Da=b.Da||r;this.G=[];this.bb=B}function S(a){this.l=a||localStorage}function za(a,b){b=b||{};this.T=a;this.l=b.l||window.localStorage;this.dc=b.dc||100;this.tc=b.tc||2E3;this.ec=b.ec||y}function X(){this.ac=
8
- "submit"}function O(){this.ac="click"}function F(){}function Ba(a){var b=Za,d=a.split("."),d=d[d.length-1];if(4<d.length||"com"===d||"org"===d)b=$a;return(a=a.match(b))?a[0]:""}function ka(a){var b=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return a?b.substring(0,a):b}function Y(a,b){if(la!==r&&!b)return la;var d=l;try{var a=a||p.localStorage,c="__mplss_"+ka(8);a.setItem(c,"xyz");"xyz"!==a.getItem(c)&&(d=B);a.removeItem(c)}catch(g){d=B}return la=d}function ma(a){return{log:na(o.log,
9
- a),error:na(o.error,a),D:na(o.D,a)}}function na(a,b){return function(){arguments[0]="["+b+"] "+arguments[0];return a.apply(o,arguments)}}function Z(a,b){oa.add(a,b);pa||(pa=ab(oa.Sc))}function Ca(a){var b,d=typeof a;if(a!==r&&("object"===d||"function"===d))b=a.then;return"function"===typeof b?b:B}function qa(){for(var a=0;a<this.C.length;a++){var b=1===this.state?this.C[a].Fd:this.C[a].Tc,d=this.C[a],c=k,g=k;try{b===B?d.reject(this.fa):(c=b===l?this.fa:b.call(k,this.fa),c===d.ib?d.reject(TypeError("Promise-chain cycle")):
10
- (g=Ca(c))?g.call(c,d.resolve,d.reject):d.resolve(c))}catch(h){d.reject(h)}}this.C.length=0}function Da(a){var b,d=this;if(!d.ma){d.ma=l;if(d.wa)d=d.wa;try{(b=Ca(a))?Z(function(){var c=new Ea(d);try{b.call(a,function(){Da.apply(c,arguments)},function(){T.apply(c,arguments)})}catch(f){T.call(c,f)}}):(d.fa=a,d.state=1,0<d.C.length&&Z(qa,d))}catch(c){T.call(new Ea(d),c)}}}function T(a){var b=this;if(!b.ma){b.ma=l;if(b.wa)b=b.wa;b.fa=a;b.state=2;0<b.C.length&&Z(qa,b)}}function Fa(a,b,d,c){for(var g=0;g<
11
- b.length;g++)(function(g){a.resolve(b[g]).then(function(a){d(g,a)},c)})(g)}function Ea(a){this.wa=a;this.ma=B}function bb(a){this.ib=a;this.state=0;this.ma=B;this.C=[];this.fa=k}function H(a){if("function"!==typeof a)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var b=new bb(this);this.then=function(a,d){var c={Fd:"function"===typeof a?a:l,Tc:"function"===typeof d?d:B};c.ib=new this.constructor(function(a,b){if("function"!==typeof a||"function"!==
12
- typeof b)throw TypeError("Not a function");c.resolve=a;c.reject=b});b.C.push(c);0!==b.state&&Z(qa,b);return c.ib};this["catch"]=function(a){return this.then(k,a)};try{a.call(k,function(a){Da.call(b,a)},function(a){T.call(b,a)})}catch(d){T.call(b,d)}}function cb(a,b){Ga(l,a,b)}function db(a,b){Ga(B,a,b)}function eb(a,b){return"1"===$(b).get(aa(a,b))}function Ha(a,b){if(fb(b))return o.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),
13
- l;var d="0"===$(b).get(aa(a,b));d&&o.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data.");return d}function M(a){return ra(a,function(a){return this.c(a)})}function I(a){return ra(a,function(a){return this.p(a)})}function P(a){return ra(a,function(a){return this.p(a)})}function gb(a,b){b=b||{};$(b).remove(aa(a,b),!!b.Jb,b.Hb)}function $(a){a=a||{};return"localStorage"===a.cc?c.localStorage:c.cookie}function aa(a,b){b=b||{};return(b.bc||hb)+a}function fb(a){if(a&&
14
- a.Sb)return B;var a=a&&a.window||p,b=a.navigator||{},d=B;c.a([b.doNotTrack,b.msDoNotTrack,a.doNotTrack],function(a){c.i([l,1,"1","yes"],a)&&(d=l)});return d}function Ga(a,b,d){!c.eb(b)||!b.length?o.error("gdpr."+(a?"optIn":"optOut")+" called with an invalid token"):(d=d||{},$(d).set(aa(b,d),a?1:0,c.Wb(d.Ib)?d.Ib:r,!!d.Jb,!!d.qd,!!d.Oc,d.Hb),d.o&&a&&d.o(d.Jd||"$opt_in",d.Kd,{send_immediately:l}))}function ra(a,b){return function(){var d=B;try{var c=b.call(this,"token"),g=b.call(this,"ignore_dnt"),
15
- h=b.call(this,"opt_out_tracking_persistence_type"),e=b.call(this,"opt_out_tracking_cookie_prefix"),i=b.call(this,"window");c&&(d=Ha(c,{Sb:g,cc:h,bc:e,window:i}))}catch(j){o.error("Unexpected error when checking tracking opt-out status: "+j)}if(!d)return a.apply(this,arguments);d=arguments[arguments.length-1];"function"===typeof d&&d(0)}}var L=B,p;if("undefined"===typeof window){var Ia={hostname:""};p={navigator:{userAgent:"",onLine:l},document:{location:Ia,referrer:""},screen:{width:0,height:0},location:Ia}}else p=
16
- window;var Ja=p.setImmediate,J,pa,oa,Ka=Object.prototype.toString,ab="undefined"!==typeof Ja?function(a){return Ja(a)}:setTimeout;try{Object.defineProperty({},"x",{}),J=function(a,b,d,c){return Object.defineProperty(a,b,{value:d,writable:l,configurable:c!==B})}}catch(ob){J=function(a,b,d){a[b]=d;return a}}oa=function(){function a(a,b){this.Vc=a;this.self=b;this.next=k}var b,d,c;return{add:function(g,h){c=new a(g,h);d?d.next=c:b=c;d=c;c=k},Sc:function(){var a=b;for(b=d=pa=k;a;)a.Vc.call(a.self),a=
17
- a.next}}}();var La=J({},"constructor",H,B);H.prototype=La;J(La,"__NPO__",0,B);J(H,"resolve",function(a){return a&&"object"===typeof a&&1===a.__NPO__?a:new this(function(b,d){if("function"!==typeof b||"function"!==typeof d)throw TypeError("Not a function");b(a)})});J(H,"reject",function(a){return new this(function(b,d){if("function"!==typeof b||"function"!==typeof d)throw TypeError("Not a function");d(a)})});J(H,"all",function(a){var b=this;return"[object Array]"!==Ka.call(a)?b.reject(TypeError("Not an array")):
18
- 0===a.length?b.resolve([]):new b(function(d,c){if("function"!==typeof d||"function"!==typeof c)throw TypeError("Not a function");var g=a.length,h=Array(g),e=0;Fa(b,a,function(a,b){h[a]=b;++e===g&&d(h)},c)})});J(H,"race",function(a){var b=this;return"[object Array]"!==Ka.call(a)?b.reject(TypeError("Not an array")):new b(function(d,c){if("function"!==typeof d||"function"!==typeof c)throw TypeError("Not a function");Fa(b,a,function(a,b){d(b)},c)})});var y;y="undefined"!==typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?
19
- Promise:H;var ba=Array.prototype,Ma=Object.prototype,N=ba.slice,U=Ma.toString,ca=Ma.hasOwnProperty,z=p.console,K=p.navigator,t=p.document,da=p.opera,ea=p.screen,A=K.userAgent,sa=Function.prototype.bind,Na=ba.forEach,Oa=ba.indexOf,Pa=ba.map,ib=Array.isArray,ta={},c={trim:function(a){return a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},o={log:function(){if(L&&!c.e(z)&&z)try{z.log.apply(z,arguments)}catch(a){c.a(arguments,function(a){z.log(a)})}},warn:function(){if(L&&!c.e(z)&&z){var a=["Mixpanel warning:"].concat(c.U(arguments));
20
- try{z.warn.apply(z,a)}catch(b){c.a(a,function(a){z.warn(a)})}}},error:function(){if(L&&!c.e(z)&&z){var a=["Mixpanel error:"].concat(c.U(arguments));try{z.error.apply(z,a)}catch(b){c.a(a,function(a){z.error(a)})}}},D:function(){if(!c.e(z)&&z){var a=["Mixpanel error:"].concat(c.U(arguments));try{z.error.apply(z,a)}catch(b){c.a(a,function(a){z.error(a)})}}}};c.bind=function(a,b){var d,f;if(sa&&a.bind===sa)return sa.apply(a,N.call(arguments,1));if(!c.cb(a))throw new TypeError;d=N.call(arguments,2);return f=
21
- function(){if(!(this instanceof f))return a.apply(b,d.concat(N.call(arguments)));var c={};c.prototype=a.prototype;var h=new c;c.prototype=r;c=a.apply(h,d.concat(N.call(arguments)));return Object(c)===c?c:h}};c.a=function(a,b,d){if(!(a===r||a===k))if(Na&&a.forEach===Na)a.forEach(b,d);else if(a.length===+a.length)for(var c=0,g=a.length;c<g&&!(c in a&&b.call(d,a[c],c,a)===ta);c++);else for(c in a)if(ca.call(a,c)&&b.call(d,a[c],c,a)===ta)break};c.extend=function(a){c.a(N.call(arguments,1),function(b){for(var d in b)b[d]!==
22
- k&&(a[d]=b[d])});return a};c.isArray=ib||function(a){return"[object Array]"===U.call(a)};c.cb=function(a){try{return/^\s*\bfunction\b/.test(a)}catch(b){return B}};c.cd=function(a){return!(!a||!ca.call(a,"callee"))};c.U=function(a){return!a?[]:a.U?a.U():c.isArray(a)||c.cd(a)?N.call(a):c.Sd(a)};c.map=function(a,b,d){if(Pa&&a.map===Pa)return a.map(b,d);var f=[];c.a(a,function(a){f.push(b.call(d,a))});return f};c.keys=function(a){var b=[];if(a===r)return b;c.a(a,function(a,c){b[b.length]=c});return b};
23
- c.Sd=function(a){var b=[];if(a===r)return b;c.a(a,function(a){b[b.length]=a});return b};c.ab=function(a,b){var d=B;if(a===r)return d;if(Oa&&a.indexOf===Oa)return-1!=a.indexOf(b);c.a(a,function(a){if(d||(d=a===b))return ta});return d};c.i=function(a,b){return-1!==a.indexOf(b)};c.Ub=function(a,b){a.prototype=new b;a.prototype.constructor=a;a.Gd=b.prototype};c.g=function(a){return a===Object(a)&&!c.isArray(a)};c.Aa=function(a){if(c.g(a)){for(var b in a)if(ca.call(a,b))return B;return l}return B};c.e=
24
- function(a){return a===k};c.eb=function(a){return"[object String]"==U.call(a)};c.dd=function(a){return"[object Date]"==U.call(a)};c.Wb=function(a){return"[object Number]"==U.call(a)};c.ed=function(a){return!!(a&&1===a.nodeType)};c.Ua=function(a){c.a(a,function(b,d){c.dd(b)?a[d]=c.Wc(b):c.g(b)&&(a[d]=c.Ua(b))});return a};c.timestamp=function(){Date.now=Date.now||function(){return+new Date};return Date.now()};c.Wc=function(a){function b(a){return 10>a?"0"+a:a}return a.getUTCFullYear()+"-"+b(a.getUTCMonth()+
25
- 1)+"-"+b(a.getUTCDate())+"T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())};c.la=function(a){var b={};c.a(a,function(a,f){c.eb(a)&&0<a.length&&(b[f]=a)});return b};c.truncate=function(a,b){var d;"string"===typeof a?d=a.slice(0,b):c.isArray(a)?(d=[],c.a(a,function(a){d.push(c.truncate(a,b))})):c.g(a)?(d={},c.a(a,function(a,g){d[g]=c.truncate(a,b)})):d=a;return d};c.oa=function(){return function(a){function b(a,g){var h="",e=0,i=e="",i=0,j=h,n=[],s=g[a];s&&"object"===typeof s&&
26
- "function"===typeof s.toJSON&&(s=s.toJSON(a));switch(typeof s){case "string":return c(s);case "number":return isFinite(s)?""+s:"null";case "boolean":case "null":return""+s;case "object":if(!s)return"null";h+=" ";n=[];if("[object Array]"===U.apply(s)){i=s.length;for(e=0;e<i;e+=1)n[e]=b(e,s)||"null";return i=0===n.length?"[]":h?"[\n"+h+n.join(",\n"+h)+"\n"+j+"]":"["+n.join(",")+"]"}for(e in s)ca.call(s,e)&&(i=b(e,s))&&n.push(c(e)+(h?": ":":")+i);return i=0===n.length?"{}":h?"{"+n.join(",")+""+j+
27
- "}":"{"+n.join(",")+"}"}}function c(a){var b=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};b.lastIndex=0;return b.test(a)?'"'+a.replace(b,function(a){var b=d[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}return b("",{"":a})}}();c.X=function(){function a(){switch(i){case "t":return g("t"),
28
- g("r"),g("u"),g("e"),l;case "f":return g("f"),g("a"),g("l"),g("s"),g("e"),B;case "n":return g("n"),g("u"),g("l"),g("l"),r}h('Unexpected "'+i+'"')}function b(){for(;i&&" ">=i;)g()}function c(){var a,b,d="",f;if('"'===i)for(;g();){if('"'===i)return g(),d;if("\\"===i)if(g(),"u"===i){for(b=f=0;4>b;b+=1){a=parseInt(g(),16);if(!isFinite(a))break;f=16*f+a}d+=String.fromCharCode(f)}else if("string"===typeof j[i])d+=j[i];else break;else d+=i}h("Bad string")}function f(){var a;a="";"-"===i&&(a="-",g("-"));
29
- for(;"0"<=i&&"9">=i;)a+=i,g();if("."===i)for(a+=".";g()&&"0"<=i&&"9">=i;)a+=i;if("e"===i||"E"===i){a+=i;g();if("-"===i||"+"===i)a+=i,g();for(;"0"<=i&&"9">=i;)a+=i,g()}a=+a;if(isFinite(a))return a;h("Bad number")}function g(a){a&&a!==i&&h("Expected '"+a+"' instead of '"+i+"'");i=n.charAt(e);e+=1;return i}function h(a){a=new SyntaxError(a);a.Td=e;a.text=n;throw a;}var e,i,j={'"':'"',"\\":"\\","/":"/",b:"\u0008",f:"\u000c",n:"\n",r:"\r",t:"\t"},n,s;s=function(){b();switch(i){case "{":var e;a:{var v,
30
- j={};if("{"===i){g("{");b();if("}"===i){g("}");e=j;break a}for(;i;){v=c();b();g(":");Object.hasOwnProperty.call(j,v)&&h('Duplicate key "'+v+'"');j[v]=s();b();if("}"===i){g("}");e=j;break a}g(",");b()}}h("Bad object")}return e;case "[":a:{e=[];if("["===i){g("[");b();if("]"===i){g("]");v=e;break a}for(;i;){e.push(s());b();if("]"===i){g("]");v=e;break a}g(",");b()}}h("Bad array")}return v;case '"':return c();case "-":return f();default:return"0"<=i&&"9">=i?f():a()}};return function(a){n=a;e=0;i=" ";
31
- a=s();b();i&&h("Syntax error");return a}}();c.Mc=function(a){var b,d,f,g,h=0,e=0,i="",i=[];if(!a)return a;a=c.Rd(a);do b=a.charCodeAt(h++),d=a.charCodeAt(h++),f=a.charCodeAt(h++),g=b<<16|d<<8|f,b=g>>18&63,d=g>>12&63,f=g>>6&63,g&=63,i[e++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(f)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g);
32
- while(h<a.length);i=i.join("");switch(a.length%3){case 1:i=i.slice(0,-2)+"==";break;case 2:i=i.slice(0,-1)+"="}return i};c.Rd=function(a){var a=(a+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),b="",c,f,g=0,h;c=f=0;g=a.length;for(h=0;h<g;h++){var e=a.charCodeAt(h),i=r;128>e?f++:i=127<e&&2048>e?String.fromCharCode(e>>6|192,e&63|128):String.fromCharCode(e>>12|224,e>>6&63|128,e&63|128);i!==r&&(f>c&&(b+=a.substring(c,f)),b+=i,c=f=h+1)}f>c&&(b+=a.substring(c,a.length));return b};c.tb=function(){function a(){function a(b,
33
- c){var d,f=0;for(d=0;d<c.length;d++)f|=h[d]<<8*d;return b^f}var b,c,h=[],e=0;for(b=0;b<A.length;b++)c=A.charCodeAt(b),h.unshift(c&255),4<=h.length&&(e=a(e,h),h=[]);0<h.length&&(e=a(e,h));return e.toString(16)}function b(){var a=1*new Date,b;if(p.performance&&p.performance.now)b=p.performance.now();else for(b=0;a==1*new Date;)b++;return a.toString(16)+Math.floor(b).toString(16)}return function(){var c=(ea.height*ea.width).toString(16);return b()+"-"+Math.random().toString(16).replace(".","")+"-"+a()+
34
- "-"+c+"-"+b()}}();var Qa="ahrefsbot,ahrefssiteaudit,baiduspider,bingbot,bingpreview,chrome-lighthouse,facebookexternal,petalbot,pinterest,screaming frog,yahoo! slurp,yandexbot,adsbot-google,apis-google,duplexweb-google,feedfetcher-google,google favicon,google web preview,google-read-aloud,googlebot,googleweblight,mediapartners-google,storebot-google".split(",");c.Vb=function(a){var b,a=a.toLowerCase();for(b=0;b<Qa.length;b++)if(-1!==a.indexOf(Qa[b]))return l;return B};c.sb=function(a){var b,d,f,g=
35
- [];c.e(b)&&(b="&");c.a(a,function(a,b){d=encodeURIComponent(a.toString());f=encodeURIComponent(b);g[g.length]=f+"="+d});return g.join(b)};c.Ya=function(a,b){var b=b.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]"),c=RegExp("[\\?&]"+b+"=([^&#]*)").exec(a);if(c===r||c&&"string"!==typeof c[1]&&c[1].length)return"";c=c[1];try{c=decodeURIComponent(c)}catch(f){o.error("Skipping decoding for malformed query param: "+c)}return c.replace(/\+/g," ")};c.cookie={get:function(a){for(var a=a+"=",b=t.cookie.split(";"),
36
- c=0;c<b.length;c++){for(var f=b[c];" "==f.charAt(0);)f=f.substring(1,f.length);if(0===f.indexOf(a))return decodeURIComponent(f.substring(a.length,f.length))}return r},parse:function(a){var b;try{b=c.X(c.cookie.get(a))||{}}catch(d){}return b},Xd:function(a,b,c,f,g,h,e){var i="",j="",n="";e?i="; domain="+e:f&&(i=(i=Ba(t.location.hostname))?"; domain=."+i:"");c&&(j=new Date,j.setTime(j.getTime()+1E3*c),j="; expires="+j.toGMTString());h&&(g=l,n="; SameSite=None");g&&(n+="; secure");t.cookie=a+"="+encodeURIComponent(b)+
37
- j+"; path=/"+i+n},set:function(a,b,c,f,g,h,e){var i="",j="",n="";e?i="; domain="+e:f&&(i=(i=Ba(t.location.hostname))?"; domain=."+i:"");c&&(j=new Date,j.setTime(j.getTime()+864E5*c),j="; expires="+j.toGMTString());h&&(g=l,n="; SameSite=None");g&&(n+="; secure");a=a+"="+encodeURIComponent(b)+j+"; path=/"+i+n;return t.cookie=a},remove:function(a,b,d){c.cookie.set(a,"",-1,b,B,B,d)}};var la=r;c.localStorage={Ba:function(a){(a=Y(r,a))||o.error("localStorage unsupported; falling back to cookie store");
38
- return a},error:function(a){o.error("localStorage error: "+a)},get:function(a){try{return p.localStorage.getItem(a)}catch(b){c.localStorage.error(b)}return r},parse:function(a){try{return c.X(c.localStorage.get(a))||{}}catch(b){}return r},set:function(a,b){try{p.localStorage.setItem(a,b)}catch(d){c.localStorage.error(d)}},remove:function(a){try{p.localStorage.removeItem(a)}catch(b){c.localStorage.error(b)}}};c.gc=function(){function a(a,f,g){return function(h){if(h=h||b(p.event)){var e=l,i;c.cb(g)&&
39
- (i=g(h));h=f.call(a,h);if(B===i||B===h)e=B;return e}}}function b(a){if(a)a.preventDefault=b.preventDefault,a.stopPropagation=b.stopPropagation;return a}b.preventDefault=function(){this.returnValue=B};b.stopPropagation=function(){this.cancelBubble=l};return function(b,c,g,h,e){b?b.addEventListener&&!h?b.addEventListener(c,g,!!e):(c="on"+c,b[c]=a(b,g,b[c])):o.error("No valid element provided to register_event")}}();var jb=/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/;c.Qc=function(){function a(a,
40
- b){return 0<=(" "+a.className+" ").replace(d," ").indexOf(" "+b+" ")}function b(b){if(!t.getElementsByTagName)return[];var b=b.split(" "),d,h,e,i,j,n,s,w=[t];for(i=0;i<b.length;i++)if(d=b[i].replace(/^\s+/,"").replace(/\s+$/,""),-1<d.indexOf("#")){h=d.split("#");d=h[0];w=t.getElementById(h[1]);if(!w||d&&w.nodeName.toLowerCase()!=d)return[];w=[w]}else if(-1<d.indexOf(".")){h=d.split(".");d=h[0];var C=h[1];d||(d="*");h=[];for(j=e=0;j<w.length;j++){s="*"==d?w[j].all?w[j].all:w[j].getElementsByTagName("*"):
41
- w[j].getElementsByTagName(d);for(n=0;n<s.length;n++)h[e++]=s[n]}w=[];for(j=d=0;j<h.length;j++)h[j].className&&c.eb(h[j].className)&&a(h[j],C)&&(w[d++]=h[j])}else if(h=d.match(jb)){d=h[1];var p=h[2],C=h[3],q=h[4];d||(d="*");h=[];for(j=e=0;j<w.length;j++){s="*"==d?w[j].all?w[j].all:w[j].getElementsByTagName("*"):w[j].getElementsByTagName(d);for(n=0;n<s.length;n++)h[e++]=s[n]}w=[];d=0;switch(C){case "=":C=function(a){return a.getAttribute(p)==q};break;case "~":C=function(a){return a.getAttribute(p).match(RegExp("\\b"+
42
- q+"\\b"))};break;case "|":C=function(a){return a.getAttribute(p).match(RegExp("^"+q+"-?"))};break;case "^":C=function(a){return 0===a.getAttribute(p).indexOf(q)};break;case "$":C=function(a){return a.getAttribute(p).lastIndexOf(q)==a.getAttribute(p).length-q.length};break;case "*":C=function(a){return-1<a.getAttribute(p).indexOf(q)};break;default:C=function(a){return a.getAttribute(p)}}w=[];for(j=d=0;j<h.length;j++)C(h[j])&&(w[d++]=h[j])}else{h=[];for(j=e=0;j<w.length;j++){s=w[j].getElementsByTagName(d);
43
- for(n=0;n<s.length;n++)h[e++]=s[n]}w=h}return w}var d=/[\t\r\n]/g;return function(a){return c.ed(a)?[a]:c.g(a)&&!c.e(a.length)?a:b.call(this,a)}}();var kb="utm_source,utm_medium,utm_campaign,utm_content,utm_term,utm_id,utm_source_platform,utm_campaign_id,utm_creative_format,utm_marketing_tactic".split(","),lb="dclid,fbclid,gclid,ko_click_id,li_fat_id,msclkid,sccid,ttclid,twclid,wbraid".split(",");c.info={ca:function(a){var b="",d={};c.a(kb,function(f){b=c.Ya(t.URL,f);b.length?d[f]=b:a!==k&&(d[f]=
44
- a)});return d},Gb:function(){var a="",b={};c.a(lb,function(d){a=c.Ya(t.URL,d);a.length&&(b[d]=a)});return b},fd:function(){return c.extend(c.info.ca(),c.info.Gb())},od:function(a){return 0===a.search("https?://(.*)google.([^/?]*)")?"google":0===a.search("https?://(.*)bing.com")?"bing":0===a.search("https?://(.*)yahoo.com")?"yahoo":0===a.search("https?://(.*)duckduckgo.com")?"duckduckgo":r},pd:function(a){var b=c.info.od(a),d={};if(b!==r)d.$search_engine=b,a=c.Ya(a,"yahoo"!=b?"q":"p"),a.length&&(d.mp_keyword=
45
- a);return d},ta:function(a,b,d){return d||c.i(a," OPR/")?c.i(a,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(a)?"BlackBerry":c.i(a,"IEMobile")||c.i(a,"WPDesktop")?"Internet Explorer Mobile":c.i(a,"SamsungBrowser/")?"Samsung Internet":c.i(a,"Edge")||c.i(a,"Edg/")?"Microsoft Edge":c.i(a,"FBIOS")?"Facebook Mobile":c.i(a,"Chrome")?"Chrome":c.i(a,"CriOS")?"Chrome iOS":c.i(a,"UCWEB")||c.i(a,"UCBrowser")?"UC Browser":c.i(a,"FxiOS")?"Firefox iOS":c.i(b||"","Apple")?c.i(a,"Mobile")?"Mobile Safari":
46
- "Safari":c.i(a,"Android")?"Android Mobile":c.i(a,"Konqueror")?"Konqueror":c.i(a,"Firefox")?"Firefox":c.i(a,"MSIE")||c.i(a,"Trident/")?"Internet Explorer":c.i(a,"Gecko")?"Mozilla":""},Qa:function(a,b,d){b={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,
47
- Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[c.info.ta(a,b,d)];if(b===k)return r;a=a.match(b);return!a?r:parseFloat(a[a.length-2])},$b:function(){return/Windows/i.test(A)?/Phone/.test(A)||/WPDesktop/.test(A)?"Windows Phone":"Windows":
48
- /(iPhone|iPad|iPod)/.test(A)?"iOS":/Android/.test(A)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(A)?"BlackBerry":/Mac/i.test(A)?"Mac OS X":/Linux/.test(A)?"Linux":/CrOS/.test(A)?"Chrome OS":""},Nb:function(a){return/Windows Phone/i.test(a)||/WPDesktop/.test(a)?"Windows Phone":/iPad/.test(a)?"iPad":/iPod/.test(a)?"iPod Touch":/iPhone/.test(a)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(a)?"BlackBerry":/Android/.test(a)?"Android":""},fc:function(a){a=a.split("/");return 3<=a.length?a[2]:""},Ta:function(){return p.location.href},
49
- ga:function(a){"object"!==typeof a&&(a={});return c.extend(c.la({$os:c.info.$b(),$browser:c.info.ta(A,K.vendor,da),$referrer:t.referrer,$referring_domain:c.info.fc(t.referrer),$device:c.info.Nb(A)}),{$current_url:c.info.Ta(),$browser_version:c.info.Qa(A,K.vendor,da),$screen_height:ea.height,$screen_width:ea.width,mp_lib:"web",$lib_version:"2.57.1",$insert_id:ka(),time:c.timestamp()/1E3},c.la(a))},kd:function(){return c.extend(c.la({$os:c.info.$b(),$browser:c.info.ta(A,K.vendor,da)}),{$browser_version:c.info.Qa(A,
50
- K.vendor,da)})},gd:function(){return c.la({current_page_title:t.title,current_domain:p.location.hostname,current_url_path:p.location.pathname,current_url_protocol:p.location.protocol,current_url_search:p.location.search})}};var $a=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Za=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,fa=r,ga=r;if("undefined"!==typeof JSON)fa=JSON.stringify,ga=JSON.parse;fa=fa||c.oa;ga=ga||c.X;c.toArray=c.U;c.isObject=c.g;c.JSONEncode=c.oa;c.JSONDecode=c.X;c.isBlockedUA=c.Vb;c.isEmptyObject=c.Aa;c.info=
51
- c.info;c.info.device=c.info.Nb;c.info.browser=c.info.ta;c.info.browserVersion=c.info.Qa;c.info.properties=c.info.ga;c.NPO=H;F.prototype.va=function(){};F.prototype.Wa=function(){};F.prototype.Oa=function(){};F.prototype.Q=function(a){this.Xb=a;return this};F.prototype.o=function(a,b,d,f){var g=this,e=c.Qc(a);if(0===e.length)o.error("The DOM query ("+a+") returned 0 elements");else return c.a(e,function(a){c.gc(a,this.ac,function(a){var c={},e=g.va(d,this),h=g.Xb.c("track_links_timeout");g.Wa(a,this,
52
- c);window.setTimeout(g.vc(f,e,c,l),h);g.Xb.o(b,e,g.vc(f,e,c))})},this),l};F.prototype.vc=function(a,b,c,f){var f=f||B,g=this;return function(){if(!c.Nc)c.Nc=l,a&&a(f,b)===B||g.Oa(b,c,f)}};F.prototype.va=function(a,b){return"function"===typeof a?a(b):c.extend({},a)};c.Ub(O,F);O.prototype.va=function(a,b){var c=O.Gd.va.apply(this,arguments);if(b.href)c.url=b.href;return c};O.prototype.Wa=function(a,b,c){c.Yb=2===a.which||a.metaKey||a.ctrlKey||"_blank"===b.target;c.href=b.href;c.Yb||a.preventDefault()};
53
- O.prototype.Oa=function(a,b){b.Yb||setTimeout(function(){window.location=b.href},0)};c.Ub(X,F);X.prototype.Wa=function(a,b,c){c.element=b;a.preventDefault()};X.prototype.Oa=function(a,b){setTimeout(function(){b.element.submit()},0)};var mb=ma("lock");za.prototype.rb=function(a,b){return new this.ec(c.bind(function(c,f){function g(){function b(){m.removeItem(u);m.getItem(t)===n&&m.removeItem(t);m.getItem(o)===n&&m.removeItem(o)}m.setItem(u,"1");a().then(function(a){b();c(a)}).catch(function(a){b();
54
- f(a)})}function e(){m.setItem(o,n);i(v,function(){m.getItem(o)===n?g():j(function(){m.getItem(t)!==n?e():i(function(){return!m.getItem(u)},g)})})}function v(){var a=m.getItem(t);if(a&&a!==n)return B;m.setItem(t,n);if(m.getItem(t)===n)return l;Y(m,l)||f(Error("localStorage support dropped while acquiring lock"));return B}function i(a,b){a()?b():j(function(){i(a,b)})}function j(a){(new Date).getTime()-p>q?(mb.error("Timeout waiting for mutex on "+w+"; clearing lock. ["+n+"]"),m.removeItem(u),m.removeItem(t),
55
- e()):setTimeout(function(){try{a()}catch(b){f(b)}},C*(Math.random()+0.1))}var n=b||(new Date).getTime()+"|"+Math.random(),p=(new Date).getTime(),w=this.T,C=this.dc,q=this.tc,m=this.l,o=w+":X",t=w+":Y",u=w+":Z";try{if(Y(m,l))e();else throw Error("localStorage support check failed");}catch(x){f(x)}},this))};S.prototype.Q=function(){return y.resolve()};S.prototype.setItem=function(a,b){return new y(c.bind(function(c,f){try{this.l.setItem(a,b)}catch(g){f(g)}c()},this))};S.prototype.getItem=function(a){return new y(c.bind(function(b,
56
- c){var f;try{f=this.l.getItem(a)}catch(g){c(g)}b(f)},this))};S.prototype.removeItem=function(a){return new y(c.bind(function(b,c){try{this.l.removeItem(a)}catch(f){c(f)}b()},this))};var Aa=ma("batch");E.prototype.K=function(){return this.bb?y.resolve():this.v.Q().then(c.bind(function(){this.bb=l},this)).catch(c.bind(function(a){this.h("Error initializing queue persistence. Disabling persistence",a);this.bb=l;this.q=B},this))};E.prototype.Va=function(a,b){var d={id:ka(),flushAfter:(new Date).getTime()+
57
- 2*b,payload:a};if(this.q)return this.fb.rb(c.bind(function(){return this.K().then(c.bind(function(){return this.ja()},this)).then(c.bind(function(a){a.push(d);return this.kb(a)},this)).then(c.bind(function(a){a&&this.G.push(d);return a},this)).catch(c.bind(function(b){this.h("Error enqueueing item",b,a);return B},this))},this),this.Da).catch(c.bind(function(a){this.h("Error acquiring storage lock",a);return B},this));this.G.push(d);return y.resolve(l)};E.prototype.Uc=function(a){var b=this.G.slice(0,
58
- a);return this.q&&b.length<a?this.K().then(c.bind(function(){return this.ja()},this)).then(c.bind(function(d){if(d.length){var f={};c.a(b,function(a){f[a.id]=l});for(var g=0;g<d.length;g++){var e=d[g];if((new Date).getTime()>e.flushAfter&&!f[e.id]&&(e.jd=l,b.push(e),b.length>=a))break}}return b},this)):y.resolve(b)};E.prototype.ld=function(a){var b={};c.a(a,function(a){b[a]=l});this.G=ya(this.G,b);if(this.q){var d=c.bind(function(){return this.K().then(c.bind(function(){return this.ja()},this)).then(c.bind(function(a){a=
59
- ya(a,b);return this.kb(a)},this)).then(c.bind(function(){return this.ja()},this)).then(c.bind(function(a){for(var c=0;c<a.length;c++){var d=a[c];if(d.id&&b[d.id])throw Error("Item not removed from storage");}return l},this)).catch(c.bind(function(b){this.h("Error removing items",b,a);return B},this))},this);return this.fb.rb(d,this.Da).catch(c.bind(function(a){this.h("Error acquiring storage lock",a);return Y(this.v.l,l)?B:d().then(c.bind(function(a){return!a?this.v.removeItem(this.T).then(function(){return a}):
60
- a},this)).catch(c.bind(function(a){this.h("Error clearing queue",a);return B},this))},this))}return y.resolve(l)};E.prototype.Pd=function(a){this.G=xa(this.G,a);return this.q?this.fb.rb(c.bind(function(){return this.K().then(c.bind(function(){return this.ja()},this)).then(c.bind(function(b){b=xa(b,a);return this.kb(b)},this)).catch(c.bind(function(b){this.h("Error updating items",a,b);return B},this))},this),this.Da).catch(c.bind(function(a){this.h("Error acquiring storage lock",a);return B},this)):
61
- y.resolve(l)};E.prototype.ja=function(){return this.K().then(c.bind(function(){return this.v.getItem(this.T)},this)).then(c.bind(function(a){a&&(a=ga(a),c.isArray(a)||(this.h("Invalid storage entry:",a),a=r));return a||[]},this)).catch(c.bind(function(a){this.h("Error retrieving queue",a);return[]},this))};E.prototype.kb=function(a){try{var b=fa(a)}catch(d){return this.h("Error serializing queue",d),y.resolve(B)}return this.K().then(c.bind(function(){return this.v.setItem(this.T,b)},this)).then(function(){return l}).catch(c.bind(function(a){this.h("Error saving queue",
62
- a);return B},this))};E.prototype.clear=function(){this.G=[];return this.q?this.K().then(c.bind(function(){return this.v.removeItem(this.T)},this)):y.resolve()};var V=ma("batch");D.prototype.Va=function(a){return this.ha.Va(a,this.xa)};D.prototype.start=function(){this.ka=B;this.Ra=0;return this.flush()};D.prototype.stop=function(){this.ka=l;if(this.nb)clearTimeout(this.nb),this.nb=r};D.prototype.clear=function(){return this.ha.clear()};D.prototype.ic=function(){this.I=this.F.batch_size};D.prototype.R=
63
- function(){this.kc(this.F.batch_flush_interval_ms)};D.prototype.kc=function(a){this.xa=a;if(!this.ka)this.nb=setTimeout(c.bind(function(){this.ka||this.flush()},this),this.xa)};D.prototype.td=function(a,b){return new y(c.bind(function(c){this.rd(a,b,c)},this))};D.prototype.flush=function(a){if(this.jb)return V.log("Flush: Request already in progress"),y.resolve();this.jb=l;var a=a||{},b=this.F.batch_request_timeout_ms,d=(new Date).getTime(),f=this.I;return this.ha.Uc(f).then(c.bind(function(g){var e=
64
- g.length===f,v=[],i={};c.a(g,function(a){var b=a.payload;this.sa&&!a.jd&&(b=this.sa(b));if(b){b.event&&b.properties&&(b.properties=c.extend({},b.properties,{mp_sent_by_lib_version:"2.57.1"}));var d=l,f=a.id;if(f){if(5<(this.M[f]||0))this.h("[dupe] item ID sent too many times, not sending",{item:a,I:g.length,Id:this.M[f]}),d=B}else this.h("[dupe] found item with no ID",{item:a});d&&v.push(b)}i[a.id]=b},this);if(1>v.length)return this.jb=B,this.R(),y.resolve();var j=c.bind(function(){return this.ha.ld(c.map(g,
65
- function(a){return a.id})).then(c.bind(function(a){c.a(g,c.bind(function(a){var b=a.id;b?(this.M[b]=this.M[b]||0,this.M[b]++,5<this.M[b]&&this.h("[dupe] item ID sent too many times",{item:a,I:g.length,Id:this.M[b]})):this.h("[dupe] found item with no ID while removing",{item:a})},this));if(a){this.Ra=0;return this.Ob&&!e?(this.R(),y.resolve()):this.flush()}5<++this.Ra?(this.h("Too many queue failures; disabling batching system."),this.Cd()):this.R();return y.resolve()},this))},this),n=c.bind(function(e){this.jb=
66
- B;try{if(a.xc)return this.ha.Pd(i);if(c.g(e)&&"timeout"===e.error&&(new Date).getTime()-d>=b)return this.h("Network timeout; retrying"),this.flush();var h;if(h=c.g(e)){var v;if(!(v=500<=e.za)){var n;if(!(n=429===e.za)){var m;if(m=0>=e.za){var q=p.navigator.onLine;m=!(c.e(q)||q)}n=m||"timeout"===e.error}v=n}h=v}if(h){var s=2*this.xa;e.jc&&(s=1E3*parseInt(e.jc,10)||s);s=Math.min(6E5,s);this.h("Error; retry in "+s+" ms");this.kc(s);return y.resolve()}if(c.g(e)&&413===e.za){if(1<g.length){var o=Math.max(1,
67
- Math.floor(f/2));this.I=Math.min(this.I,o,g.length-1);this.h("413 response; reducing batch size to "+this.I);this.R();return y.resolve()}this.h("Single-event request too large; dropping",g);this.ic()}return j()}catch(t){this.h("Error handling API response",t),this.R()}},this),m={method:"POST",Bc:l,ad:l,uc:b};if(a.xc)m.pb="sendBeacon";V.log("MIXPANEL REQUEST:",v);return this.td(v,m).then(n)},this)).catch(c.bind(function(a){this.h("Error flushing request queue",a);this.R()},this))};D.prototype.h=function(a,
68
- b){V.error.apply(V.error,arguments);if(this.O)try{b instanceof Error||(b=Error(a)),this.O(a,b)}catch(c){V.error(c)}};var hb="__mp_opt_in_out_",Ra={mc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.B(b)||(f[b]=a)},this):f[a]=b;d.$set=f;return d},yc:function(a){var b={},d=[];c.isArray(a)||(a=[a]);c.a(a,function(a){this.B(a)||d.push(a)},this);b.$unset=d;return b},pc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.B(b)||(f[b]=a)},this):f[a]=b;d.$set_once=f;return d},wc:function(a,
69
- b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.B(b)||(f[b]=c.isArray(a)?a:[a])},this):f[a]=c.isArray(b)?b:[b];d.$union=f;return d},Lc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.B(b)||(f[b]=a)},this):f[a]=b;d.$append=f;return d},hc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.B(b)||(f[b]=a)},this):f[a]=b;d.$remove=f;return d},Vd:function(){return{$delete:""}}};c.extend(u.prototype,Ra);u.prototype.ba=function(a,b,c){this.d=a;this.Ka=b;this.Ja=c};u.prototype.set=P(function(a,
70
- b,d){var f=this.mc(a,b);c.g(a)&&(d=b);return this.j(f,d)});u.prototype.S=P(function(a,b,d){var f=this.pc(a,b);c.g(a)&&(d=b);return this.j(f,d)});u.prototype.Ea=P(function(a,b){return this.j(this.yc(a),b)});u.prototype.na=P(function(a,b,d){c.g(a)&&(d=b);return this.j(this.wc(a,b),d)});u.prototype["delete"]=P(function(a){return this.j({$delete:""},a)});u.prototype.remove=P(function(a,b,c){return this.j(this.hc(a,b),c)});u.prototype.j=function(a,b){a.$group_key=this.Ka;a.$group_id=this.Ja;a.$token=this.p("token");
71
- return this.d.Na({type:"groups",data:c.Ua(a),J:this.p("api_host")+"/"+this.p("api_routes").groups,Pa:this.d.w.Za},b)};u.prototype.B=function(a){return"$group_key"===a||"$group_id"===a};u.prototype.p=function(a){return this.d.c(a)};u.prototype.toString=function(){return this.d.toString()+".group."+this.Ka+"."+this.Ja};u.prototype.remove=u.prototype.remove;u.prototype.set=u.prototype.set;u.prototype.set_once=u.prototype.S;u.prototype.union=u.prototype.na;u.prototype.unset=u.prototype.Ea;u.prototype.toString=
72
- u.prototype.toString;c.extend(q.prototype,Ra);q.prototype.ba=function(a){this.d=a};q.prototype.set=I(function(a,b,d){var f=this.mc(a,b);c.g(a)&&(d=b);this.p("save_referrer")&&this.d.persistence.qb(document.referrer);f.$set=c.extend({},c.info.kd(),f.$set);return this.j(f,d)});q.prototype.S=I(function(a,b,d){var f=this.pc(a,b);c.g(a)&&(d=b);return this.j(f,d)});q.prototype.Ea=I(function(a,b){return this.j(this.yc(a),b)});q.prototype.Tb=I(function(a,b,d){var f={},e={};c.g(a)?(c.a(a,function(a,b){this.B(b)||
73
- (isNaN(parseFloat(a))?o.error("Invalid increment value passed to mixpanel.people.increment - must be a number"):e[b]=a)},this),d=b):(c.e(b)&&(b=1),e[a]=b);f.$add=e;return this.j(f,d)});q.prototype.append=I(function(a,b,d){c.g(a)&&(d=b);return this.j(this.Lc(a,b),d)});q.prototype.remove=I(function(a,b,d){c.g(a)&&(d=b);return this.j(this.hc(a,b),d)});q.prototype.na=I(function(a,b,d){c.g(a)&&(d=b);return this.j(this.wc(a,b),d)});q.prototype.Ld=I(function(a,b,d){if(!c.Wb(a)&&(a=parseFloat(a),isNaN(a))){o.error("Invalid value passed to mixpanel.people.track_charge - must be a number");
74
- return}return this.append("$transactions",c.extend({$amount:a},b),d)});q.prototype.Eb=function(a){return this.set("$transactions",[],a)};q.prototype.Mb=function(){if(this.La())return this.j({$delete:this.d.L()});o.error("mixpanel.people.delete_user() requires you to call identify() first")};q.prototype.toString=function(){return this.d.toString()+".people"};q.prototype.j=function(a,b){a.$token=this.p("token");a.$distinct_id=this.d.L();var d=this.d.u("$device_id"),f=this.d.u("$user_id"),e=this.d.u("$had_persisted_distinct_id");
75
- d&&(a.$device_id=d);f&&(a.$user_id=f);e&&(a.$had_persisted_distinct_id=e);d=c.Ua(a);return!this.La()?(this.Fc(a),c.e(b)||(this.p("verbose")?b({status:-1,error:r}):b(-1)),c.truncate(d,255)):this.d.Na({type:"people",data:d,J:this.p("api_host")+"/"+this.p("api_routes").engage,Pa:this.d.w.hb},b)};q.prototype.p=function(a){return this.d.c(a)};q.prototype.La=function(){return this.d.Z.Rb===l};q.prototype.Fc=function(a){"$set"in a?this.d.persistence.s("$set",a):"$set_once"in a?this.d.persistence.s("$set_once",
76
- a):"$unset"in a?this.d.persistence.s("$unset",a):"$add"in a?this.d.persistence.s("$add",a):"$append"in a?this.d.persistence.s("$append",a):"$remove"in a?this.d.persistence.s("$remove",a):"$union"in a?this.d.persistence.s("$union",a):o.error("Invalid call to _enqueue():",a)};q.prototype.$=function(a,b,d,f){var e=this,h=c.extend({},this.d.persistence.ea(a)),v=h;!c.e(h)&&c.g(h)&&!c.Aa(h)&&(e.d.persistence.z(a,h),e.d.persistence.save(),f&&(v=f(h)),b.call(e,v,function(b,f){0===b&&e.d.persistence.s(a,h);
77
- c.e(d)||d(b,f)}))};q.prototype.Gc=function(a,b,d,f,e,h,v){var i=this;this.$("$set",this.set,a);this.$("$set_once",this.S,f);this.$("$unset",this.Ea,h,function(a){return c.keys(a)});this.$("$add",this.Tb,b);this.$("$union",this.na,e);a=this.d.persistence.ea("$append");if(!c.e(a)&&c.isArray(a)&&a.length)for(var j,b=function(a,b){0===a&&i.d.persistence.s("$append",j);c.e(d)||d(a,b)},f=a.length-1;0<=f;f--)a=this.d.persistence.ea("$append"),j=a.pop(),i.d.persistence.save(),c.Aa(j)||i.append(j,b);a=this.d.persistence.ea("$remove");
78
- if(!c.e(a)&&c.isArray(a)&&a.length)for(var n,b=function(a,b){0===a&&i.d.persistence.s("$remove",n);c.e(v)||v(a,b)},f=a.length-1;0<=f;f--)a=this.d.persistence.ea("$remove"),n=a.pop(),i.d.persistence.save(),c.Aa(n)||i.remove(n,b)};q.prototype.B=function(a){return"$distinct_id"===a||"$token"===a||"$device_id"===a||"$user_id"===a||"$had_persisted_distinct_id"===a};q.prototype.set=q.prototype.set;q.prototype.set_once=q.prototype.S;q.prototype.unset=q.prototype.Ea;q.prototype.increment=q.prototype.Tb;q.prototype.append=
79
- q.prototype.append;q.prototype.remove=q.prototype.remove;q.prototype.union=q.prototype.na;q.prototype.track_charge=q.prototype.Ld;q.prototype.clear_charges=q.prototype.Eb;q.prototype.delete_user=q.prototype.Mb;q.prototype.toString=q.prototype.toString;var nb="__mps,__mpso,__mpus,__mpa,__mpap,__mpr,__mpu,$people_distinct_id,__alias,__timers".split(",");m.prototype.ga=function(){var a={};this.load();c.a(this.props,function(b,d){c.ab(nb,d)||(a[d]=b)});return a};m.prototype.load=function(){if(!this.disabled){var a=
80
- this.l.parse(this.name);a&&(this.props=c.extend({},a))}};m.prototype.Qd=function(){var a;this.l===c.localStorage?(a=c.cookie.parse(this.name),c.cookie.remove(this.name),c.cookie.remove(this.name,l),a&&this.A(a)):this.l===c.cookie&&(a=c.localStorage.parse(this.name),c.localStorage.remove(this.name),a&&this.A(a))};m.prototype.save=function(){this.disabled||this.l.set(this.name,c.oa(this.props),this.Xa,this.Sa,this.lc,this.Kb,this.ua)};m.prototype.Ca=function(a){this.load();return this.props[a]};m.prototype.remove=
81
- function(){this.l.remove(this.name,B,this.ua);this.l.remove(this.name,l,this.ua)};m.prototype.clear=function(){this.remove();this.props={}};m.prototype.A=function(a,b,d){return c.g(a)?("undefined"===typeof b&&(b="None"),this.Xa="undefined"===typeof d?this.Lb:d,this.load(),c.a(a,function(a,c){if(!this.props.hasOwnProperty(c)||this.props[c]===b)this.props[c]=a},this),this.save(),l):B};m.prototype.m=function(a,b){return c.g(a)?(this.Xa="undefined"===typeof b?this.Lb:b,this.load(),c.extend(this.props,
82
- a),this.save(),l):B};m.prototype.W=function(a){this.load();a in this.props&&(delete this.props[a],this.save())};m.prototype.Ac=function(a){this.m(c.info.pd(a))};m.prototype.qb=function(a){this.A({$initial_referrer:a||"$direct",$initial_referring_domain:c.info.fc(a)||"$direct"},"")};m.prototype.Zc=function(){return c.la({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};m.prototype.zc=function(a){this.Lb=this.Xa=a.cookie_expiration;this.oc(a.disable_persistence);
83
- this.vd(a.cookie_domain);this.wd(a.cross_site_cookie);this.xd(a.cross_subdomain_cookie);this.Ad(a.secure_cookie)};m.prototype.oc=function(a){(this.disabled=a)?this.remove():this.save()};m.prototype.vd=function(a){if(a!==this.ua)this.remove(),this.ua=a,this.save()};m.prototype.wd=function(a){if(a!==this.Kb)this.Kb=a,this.remove(),this.save()};m.prototype.xd=function(a){if(a!==this.Sa)this.Sa=a,this.remove(),this.save()};m.prototype.Xc=function(){return this.Sa};m.prototype.Ad=function(a){if(a!==this.lc)this.lc=
84
- a?l:B,this.remove(),this.save()};m.prototype.s=function(a,b){var d=this.qa(a),f=b[a],e=this.H("$set"),h=this.H("$set_once"),v=this.H("$unset"),i=this.H("$add"),j=this.H("$union"),n=this.H("$remove",[]),m=this.H("$append",[]);"__mps"===d?(c.extend(e,f),this.z("$add",f),this.z("$union",f),this.z("$unset",f)):"__mpso"===d?(c.a(f,function(a,b){b in h||(h[b]=a)}),this.z("$unset",f)):"__mpus"===d?c.a(f,function(a){c.a([e,h,i,j],function(b){a in b&&delete b[a]});c.a(m,function(b){a in b&&delete b[a]});v[a]=
85
- l}):"__mpa"===d?(c.a(f,function(a,b){b in e?e[b]+=a:(b in i||(i[b]=0),i[b]+=a)},this),this.z("$unset",f)):"__mpu"===d?(c.a(f,function(a,b){c.isArray(a)&&(b in j||(j[b]=[]),j[b]=j[b].concat(a))}),this.z("$unset",f)):"__mpr"===d?(n.push(f),this.z("$append",f)):"__mpap"===d&&(m.push(f),this.z("$unset",f));o.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):");o.log(b);this.save()};m.prototype.z=function(a,b){var d=this.props[this.qa(a)];c.e(d)||c.a(b,function(b,e){"$append"===a||"$remove"===a?
86
- c.a(d,function(a){a[e]===b&&delete a[e]}):delete d[e]},this)};m.prototype.ea=function(a){return this.Ca(this.qa(a))};m.prototype.qa=function(a){if("$set"===a)return"__mps";if("$set_once"===a)return"__mpso";if("$unset"===a)return"__mpus";if("$add"===a)return"__mpa";if("$append"===a)return"__mpap";if("$remove"===a)return"__mpr";if("$union"===a)return"__mpu";o.error("Invalid queue:",a)};m.prototype.H=function(a,b){var d=this.qa(a),b=c.e(b)?{}:b;return this.props[d]||(this.props[d]=b)};m.prototype.yd=
87
- function(a){var b=(new Date).getTime(),c=this.Ca("__timers")||{};c[a]=b;this.props.__timers=c;this.save()};m.prototype.md=function(a){var b=(this.Ca("__timers")||{})[a];c.e(b)||(delete this.props.__timers[a],this.save());return b};var ia,x,Q=p.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,va=!Q&&-1===A.indexOf("MSIE")&&-1===A.indexOf("Mozilla"),ha=r;K.sendBeacon&&(ha=function(){return K.sendBeacon.apply(K,arguments)});var Sa={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},
88
- Ta={api_host:"https://api-js.mixpanel.com",api_routes:Sa,api_method:"POST",api_transport:"XHR",api_payload_format:"base64",app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:B,cross_subdomain_cookie:l,error_reporter:R,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:R,mp_loader:r,track_marketing:l,track_pageview:B,skip_first_touch_marketing:B,store_google:l,stop_utm_persistence:B,save_referrer:l,test:B,verbose:B,img:B,debug:B,track_links_timeout:300,
89
- cookie_expiration:365,upgrade:B,disable_persistence:B,disable_cookie:B,secure_cookie:B,ip:l,opt_out_tracking_by_default:B,opt_out_persistence_by_default:B,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:r,property_blacklist:[],xhr_headers:{},ignore_dnt:B,batch_requests:l,batch_size:50,batch_flush_interval_ms:5E3,batch_request_timeout_ms:9E4,batch_autostart:l,hooks:{},record_block_class:/^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$/,record_block_selector:"img, video",
90
- record_collect_fonts:B,record_idle_timeout_ms:18E5,record_mask_text_class:/^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$/,record_mask_text_selector:"*",record_max_ms:864E5,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},ua=B;e.prototype.Q=function(a,b,d){if(c.e(d))this.k("You must name your new library: init(token, config, name)");else if("mixpanel"===d)this.k("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");
91
- else return a=W(a,b,d),x[d]=a,a.ra(),a};e.prototype.ba=function(a,b,d){b=b||{};this.__loaded=l;this.config={};var e={};"api_payload_format"in b||(b.api_host||Ta.api_host).match(/\.mixpanel\.com/)&&(e.api_payload_format="json");this.nc(c.extend({},Ta,e,b,{name:d,token:a,callback_fn:("mixpanel"===d?d:"mixpanel."+d)+"._jsc"}));this._jsc=R;this.Ga=[];this.Ha=[];this.Fa=[];this.Z={disable_all_events:B,identify_called:B};this.w={};if(this.Y=this.c("batch_requests"))if(!c.localStorage.Ba(l)||!Q)this.Y=B,
92
- o.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),c.a(this.Pb(),function(a){o.log("Clearing batch queue "+a.ia);c.localStorage.remove(a.ia)});else if(this.bd(),ha&&p.addEventListener){var g=c.bind(function(){this.w.P.ka||this.w.P.flush({xc:l})},this);p.addEventListener("pagehide",function(a){a.persisted&&g()});p.addEventListener("visibilitychange",function(){"hidden"===t.visibilityState&&g()})}this.persistence=this.cookie=new m(this.config);this.V={};this.Hc();a=c.tb();
93
- this.L()||this.A({distinct_id:"$device:"+a,$device_id:a},"");(a=this.c("track_pageview"))&&this.Ic(a);0<this.c("record_sessions_percent")&&100*Math.random()<=this.c("record_sessions_percent")&&this.sc()};e.prototype.sc=M(function(){if(p.MutationObserver){var a=c.bind(function(){this.N=this.N||new p.__mp_recorder(this);this.N.startRecording()},this);c.e(p.__mp_recorder)?wa(this.c("recorder_src"),a):a()}else o.D("Browser does not support MutationObserver; skipping session recording")});e.prototype.Ed=
94
- function(){this.N?this.N.stopRecording():o.D("Session recorder module not loaded")};e.prototype.Qb=function(){var a={},b=this.yb();b&&(a.$mp_replay_id=b);return a};e.prototype.$c=function(){var a=r,b=this.yb();b&&(a="https://mixpanel.com/projects/replay-redirect?"+c.sb({replay_id:b,distinct_id:this.L(),token:this.c("token")}));return a};e.prototype.yb=function(){var a=r;this.N&&(a=this.N.replayId);return a||r};e.prototype.ra=function(){this.c("loaded")(this);this.Cb();this.people.S(this.persistence.Zc());
95
- if(this.c("store_google")&&this.c("stop_utm_persistence")){var a=c.info.ca(r);c.a(a,function(a,c){this.W(c)}.bind(this))}};e.prototype.Cb=function(){this.persistence.Ac(t.referrer);this.c("store_google")&&!this.c("stop_utm_persistence")&&this.m(c.info.ca());this.c("save_referrer")&&this.persistence.qb(t.referrer)};e.prototype.Ec=function(){c.a(this.Ga,function(a){this.Ma.apply(this,a)},this);this.da()||c.a(this.Ha,function(a){this.j.apply(this,a)},this);delete this.Ga;delete this.Ha};e.prototype.Ma=
96
- function(a,b){if(this.c("img"))return this.k("You can't use DOM tracking functions with img = true."),B;if(!ua)return this.Ga.push([a,b]),B;var c=(new a).Q(this);return c.o.apply(c,b)};e.prototype.Ic=function(a){var b="";this.ob()&&(b=c.info.Ta());if(c.ab(["full-url","url-with-path-and-query-string","url-with-path"],a)){p.addEventListener("popstate",function(){p.dispatchEvent(new Event("mp_locationchange"))});p.addEventListener("hashchange",function(){p.dispatchEvent(new Event("mp_locationchange"))});
97
- var d=p.history.pushState;if("function"===typeof d)p.history.pushState=function(a,b,c){d.call(p.history,a,b,c);p.dispatchEvent(new Event("mp_locationchange"))};var e=p.history.replaceState;if("function"===typeof e)p.history.replaceState=function(a,b,c){e.call(p.history,a,b,c);p.dispatchEvent(new Event("mp_locationchange"))};p.addEventListener("mp_locationchange",function(){var d=c.info.Ta(),e=B;"full-url"===a?e=d!==b:"url-with-path-and-query-string"===a?e=d.split("#")[0]!==b.split("#")[0]:"url-with-path"===
98
- a&&(e=d.split("#")[0].split("?")[0]!==b.split("#")[0].split("?")[0]);e&&this.ob()&&(b=d)}.bind(this))}};e.prototype.zb=function(a,b){if(c.e(a))return r;if(Q)return function(c){a(c,b)};var d=this._jsc,e=""+Math.floor(1E8*Math.random()),g=this.c("callback_fn")+"["+e+"]";d[e]=function(c){delete d[e];a(c,b)};return g};e.prototype.j=function(a,b,d,e){var g=l;if(va)return this.Ha.push(arguments),g;var h={method:this.c("api_method"),pb:this.c("api_transport"),Bc:this.c("verbose")},m=r;if(!e&&(c.cb(d)||"string"===
99
- typeof d))e=d,d=r;d=c.extend(h,d||{});if(!Q)d.method="GET";var h="POST"===d.method,i=ha&&h&&"sendbeacon"===d.pb.toLowerCase(),j=d.Bc;b.verbose&&(j=l);this.c("test")&&(b.test=1);j&&(b.verbose=1);this.c("img")&&(b.img=1);if(!Q)if(e)b.callback=e;else if(j||this.c("test"))b.callback="(function(){})";b.ip=this.c("ip")?1:0;b._=(new Date).getTime().toString();h&&(m="data="+encodeURIComponent(b.data),delete b.data);var a=a+("?"+c.sb(b)),n=this;if("img"in b)m=t.createElement("img"),m.src=a,t.body.appendChild(m);
100
- else if(i){try{g=ha(a,m)}catch(p){n.k(p),g=B}try{e&&e(g?1:0)}catch(q){n.k(q)}}else if(Q)try{var o=new XMLHttpRequest;o.open(d.method,a,l);var u=this.c("xhr_headers");h&&(u["Content-Type"]="application/x-www-form-urlencoded");c.a(u,function(a,b){o.setRequestHeader(b,a)});if(d.uc&&"undefined"!==typeof o.timeout){o.timeout=d.uc;var x=(new Date).getTime()}o.withCredentials=l;o.onreadystatechange=function(){if(4===o.readyState)if(200===o.status){if(e)if(j){var a;try{a=c.X(o.responseText)}catch(b){if(n.k(b),
101
- d.ad)a=o.responseText;else return}e(a)}else e(Number(o.responseText))}else a=o.timeout&&!o.status&&(new Date).getTime()-x>=o.timeout?"timeout":"Bad HTTP status: "+o.status+" "+o.statusText,n.k(a),e&&(j?e({status:0,za:o.status,error:a,jc:(o.responseHeaders||{})["Retry-After"]}):e(0))};o.send(m)}catch(y){n.k(y),g=B}else m=t.createElement("script"),m.type="text/javascript",m.async=l,m.defer=l,m.src=a,u=t.getElementsByTagName("script")[0],u.parentNode.insertBefore(m,u);return g};e.prototype.Ia=function(a){function b(a,
102
- b){c.a(a,function(a){if(c.isArray(a[0])){var d=b;c.a(a,function(a){d=d[a[0]].apply(d,a.slice(1))})}else this[a[0]].apply(this,a.slice(1))},b)}var d,e=[],g=[],h=[];c.a(a,function(a){a&&(d=a[0],c.isArray(d)?h.push(a):"function"===typeof a?a.call(this):c.isArray(a)&&"alias"===d?e.push(a):c.isArray(a)&&-1!==d.indexOf("track")&&"function"===typeof this[d]?h.push(a):g.push(a))},this);b(e,this);b(g,this);b(h,this)};e.prototype.Db=function(){return!!this.w.P};e.prototype.Pb=function(){var a="__mpq_"+this.c("token"),
103
- b=this.c("api_routes");return this.ub=this.ub||{P:{type:"events",J:"/"+b.track,ia:a+"_ev"},hb:{type:"people",J:"/"+b.engage,ia:a+"_pp"},Za:{type:"groups",J:"/"+b.groups,ia:a+"_gr"}}};e.prototype.bd=function(){if(!this.Db()){var a=c.bind(function(a){return new D(a.ia,{F:this.config,O:this.c("error_reporter"),sd:c.bind(function(b,c,e){this.j(this.c("api_host")+a.J,this.wb(b),c,this.zb(e,b))},this),sa:c.bind(function(b){return this.Bb("before_send_"+a.type,b)},this),Dd:c.bind(this.mb,this),q:l})},this),
104
- b=this.Pb();this.w={P:a(b.P),hb:a(b.hb),Za:a(b.Za)}}this.c("batch_autostart")&&this.lb()};e.prototype.lb=function(){this.Cc=l;if(this.Db())this.Y=l,c.a(this.w,function(a){a.start()})};e.prototype.mb=function(){this.Y=B;c.a(this.w,function(a){a.stop();a.clear()})};e.prototype.push=function(a){this.Ia([a])};e.prototype.disable=function(a){"undefined"===typeof a?this.Z.Pc=l:this.Fa=this.Fa.concat(a)};e.prototype.wb=function(a){a=c.oa(a);"base64"===this.c("api_payload_format")&&(a=c.Mc(a));return{data:a}};
105
- e.prototype.Na=function(a,b){var d=c.truncate(a.data,255),e=a.J,g=a.Pa,h=a.Bd,m=a.ud||{},b=b||R,i=l,j=c.bind(function(){m.rc||(d=this.Bb("before_send_"+a.type,d));return d?(o.log("MIXPANEL REQUEST:"),o.log(d),this.j(e,this.wb(d),m,this.zb(b,d))):r},this);this.Y&&!h?g.Va(d).then(function(a){a?b(1,d):j()}):i=j();return i&&d};e.prototype.o=M(function(a,b,d,e){!e&&"function"===typeof d&&(e=d,d=r);var d=d||{},g=d.transport;if(g)d.pb=g;g=d.send_immediately;"function"!==typeof e&&(e=R);if(c.e(a))this.k("No event name provided to mixpanel.track");
106
- else if(this.xb(a))e(0);else{b=c.extend({},b);b.token=this.c("token");var h=this.persistence.md(a);c.e(h)||(b.$duration=parseFloat((((new Date).getTime()-h)/1E3).toFixed(3)));this.Cb();h=this.c("track_marketing")?c.info.fd():{};b=c.extend({},c.info.ga({mp_loader:this.c("mp_loader")}),h,this.persistence.ga(),this.V,this.Qb(),b);h=this.c("property_blacklist");c.isArray(h)?c.a(h,function(a){delete b[a]}):this.k("Invalid value for property_blacklist config: "+h);return this.Na({type:"events",data:{event:a,
107
- properties:b},J:this.c("api_host")+"/"+this.c("api_routes").track,Pa:this.w.P,Bd:g,ud:d},e)}});e.prototype.zd=M(function(a,b,d){c.isArray(b)||(b=[b]);var e={};e[a]=b;this.m(e);return this.people.set(a,b,d)});e.prototype.Jc=M(function(a,b,c){var e=this.u(a),g={};e===k?(g[a]=[b],this.m(g)):-1===e.indexOf(b)&&(e.push(b),g[a]=e,this.m(g));return this.people.na(a,b,c)});e.prototype.nd=M(function(a,b,c){var e=this.u(a);if(e!==k){var g=e.indexOf(b);-1<g&&(e.splice(g,1),this.m({Wd:e}));0===e.length&&this.W(a)}return this.people.remove(a,
108
- b,c)});e.prototype.Od=M(function(a,b,d,e){var g=c.extend({},b||{});c.a(d,function(a,b){a!==r&&a!==k&&(g[b]=a)});return this.o(a,g,e)});e.prototype.Dc=function(a,b){return a+"_"+JSON.stringify(b)};e.prototype.Yc=function(a,b){var c=this.Dc(a,b),e=this.vb[c];if(e===k||e.Ka!==a||e.Ja!==b)e=new u,e.ba(this,a,b),this.vb[c]=e;return e};e.prototype.ob=M(function(a,b){"object"!==typeof a&&(a={});var b=b||{},d=b.event_name||"$mp_web_page_view",e=c.extend(c.info.gd(),c.info.ca(),c.info.Gb()),e=c.extend({},
109
- e,a);return this.o(d,e)});e.prototype.Nd=function(){return this.Ma.call(this,O,arguments)};e.prototype.Md=function(){return this.Ma.call(this,X,arguments)};e.prototype.Hd=function(a){c.e(a)?this.k("No event name provided to mixpanel.time_event"):this.xb(a)||this.persistence.yd(a)};var Xa={persistent:l};e.prototype.m=function(a,b){var d=ja(b);d.persistent?this.persistence.m(a,d.days):c.extend(this.V,a)};e.prototype.A=function(a,b,d){d=ja(d);d.persistent?this.persistence.A(a,b,d.days):("undefined"===
110
- typeof b&&(b="None"),c.a(a,function(a,c){if(!this.V.hasOwnProperty(c)||this.V[c]===b)this.V[c]=a},this))};e.prototype.W=function(a,b){b=ja(b);b.persistent?this.persistence.W(a):delete this.V[a]};e.prototype.Ab=function(a,b){var c={};c[a]=b;this.m(c)};e.prototype.$a=function(a,b,c,e,g,h,m,i){var j=this.L();if(a&&j!==a){if("string"===typeof a&&0===a.indexOf("$device:"))return this.k("distinct_id cannot have $device: prefix"),-1;this.m({$user_id:a})}this.u("$device_id")||this.A({$had_persisted_distinct_id:l,
111
- $device_id:j},"");a!==j&&a!==this.u("__alias")&&(this.W("__alias"),this.m({distinct_id:a}));this.Z.Rb=l;this.people.Gc(b,c,e,g,h,m,i);a!==j&&this.o("$identify",{distinct_id:a,$anon_distinct_id:j},{rc:l})};e.prototype.reset=function(){this.persistence.clear();this.Z.Rb=B;var a=c.tb();this.A({distinct_id:"$device:"+a,$device_id:a},"")};e.prototype.L=function(){return this.u("distinct_id")};e.prototype.Kc=function(a,b){if(a===this.u("$people_distinct_id"))return this.k("Attempting to create alias for existing People user - aborting."),
112
- -2;var d=this;c.e(b)&&(b=this.L());if(a!==b)return this.Ab("__alias",a),this.o("$create_alias",{alias:a,distinct_id:b},{rc:l},function(){d.$a(a)});this.k("alias matches current distinct_id - skipping api call.");this.$a(a);return-1};e.prototype.hd=function(a){this.Ab("mp_name_tag",a)};e.prototype.nc=function(a){if(c.g(a))c.extend(this.config,a),a.batch_size&&c.a(this.w,function(a){a.ic()}),this.c("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.c("disable_persistence")||
113
- (this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.zc(this.config),L=L||this.c("debug")};e.prototype.c=function(a){return this.config[a]};e.prototype.Bb=function(a){var b=(this.config.hooks[a]||Ya).apply(this,N.call(arguments,1));"undefined"===typeof b&&(this.k(a+" hook did not return a value"),b=r);return b};e.prototype.u=function(a){return this.persistence.Ca([a])};e.prototype.toString=function(){var a=this.c("name");"mixpanel"!==a&&(a="mixpanel."+a);
114
- return a};e.prototype.xb=function(a){return c.Vb(A)||this.Z.Pc||c.ab(this.Fa,a)};e.prototype.Hc=function(){"localStorage"===this.c("opt_out_tracking_persistence_type")&&c.localStorage.Ba()&&(!this.ya()&&this.ya({persistence_type:"cookie"})&&this.Zb({enable_persistence:B}),!this.da()&&this.da({persistence_type:"cookie"})&&this.gb({clear_persistence:B}),this.Fb({persistence_type:"cookie",enable_persistence:B}));if(this.da())this.pa({clear_persistence:l});else if(!this.ya()&&(this.c("opt_out_tracking_by_default")||
115
- c.cookie.get("mp_optout")))c.cookie.remove("mp_optout"),this.gb({clear_persistence:this.c("opt_out_persistence_by_default")})};e.prototype.pa=function(a){if(a&&a.clear_persistence)a=l;else if(a&&a.enable_persistence)a=B;else return;!this.c("disable_persistence")&&this.persistence.disabled!==a&&this.persistence.oc(a);a?this.mb():this.Cc&&this.lb()};e.prototype.aa=function(a,b){b=c.extend({track:c.bind(this.o,this),persistence_type:this.c("opt_out_tracking_persistence_type"),cookie_prefix:this.c("opt_out_tracking_cookie_prefix"),
116
- cookie_expiration:this.c("cookie_expiration"),cross_site_cookie:this.c("cross_site_cookie"),cross_subdomain_cookie:this.c("cross_subdomain_cookie"),cookie_domain:this.c("cookie_domain"),secure_cookie:this.c("secure_cookie"),ignore_dnt:this.c("ignore_dnt")},b);c.localStorage.Ba()||(b.persistence_type="cookie");return a(this.c("token"),{o:b.track,Jd:b.track_event_name,Kd:b.track_properties,cc:b.persistence_type,bc:b.cookie_prefix,Hb:b.cookie_domain,Ib:b.cookie_expiration,Oc:b.cross_site_cookie,Jb:b.cross_subdomain_cookie,
117
- qd:b.secure_cookie,Sb:b.ignore_dnt})};e.prototype.Zb=function(a){a=c.extend({enable_persistence:l},a);this.aa(cb,a);this.pa(a)};e.prototype.gb=function(a){a=c.extend({clear_persistence:l,delete_user:l},a);a.delete_user&&this.people&&this.people.La()&&(this.people.Mb(),this.people.Eb());this.aa(db,a);this.pa(a)};e.prototype.ya=function(a){return this.aa(eb,a)};e.prototype.da=function(a){return this.aa(Ha,a)};e.prototype.Fb=function(a){a=c.extend({enable_persistence:l},a);this.aa(gb,a);this.pa(a)};
118
- e.prototype.k=function(a,b){o.error.apply(o.error,arguments);try{!b&&!(a instanceof Error)&&(a=Error(a)),this.c("error_reporter")(a,b)}catch(c){o.error(c)}};e.prototype.init=e.prototype.Q;e.prototype.reset=e.prototype.reset;e.prototype.disable=e.prototype.disable;e.prototype.time_event=e.prototype.Hd;e.prototype.track=e.prototype.o;e.prototype.track_links=e.prototype.Nd;e.prototype.track_forms=e.prototype.Md;e.prototype.track_pageview=e.prototype.ob;e.prototype.register=e.prototype.m;e.prototype.register_once=
119
- e.prototype.A;e.prototype.unregister=e.prototype.W;e.prototype.identify=e.prototype.$a;e.prototype.alias=e.prototype.Kc;e.prototype.name_tag=e.prototype.hd;e.prototype.set_config=e.prototype.nc;e.prototype.get_config=e.prototype.c;e.prototype.get_property=e.prototype.u;e.prototype.get_distinct_id=e.prototype.L;e.prototype.toString=e.prototype.toString;e.prototype.opt_out_tracking=e.prototype.gb;e.prototype.opt_in_tracking=e.prototype.Zb;e.prototype.has_opted_out_tracking=e.prototype.da;e.prototype.has_opted_in_tracking=
120
- e.prototype.ya;e.prototype.clear_opt_in_out_tracking=e.prototype.Fb;e.prototype.get_group=e.prototype.Yc;e.prototype.set_group=e.prototype.zd;e.prototype.add_group=e.prototype.Jc;e.prototype.remove_group=e.prototype.nd;e.prototype.track_with_groups=e.prototype.Od;e.prototype.start_batch_senders=e.prototype.lb;e.prototype.stop_batch_senders=e.prototype.mb;e.prototype.start_session_recording=e.prototype.sc;e.prototype.stop_session_recording=e.prototype.Ed;e.prototype.get_session_recording_properties=
121
- e.prototype.Qb;e.prototype.get_session_replay_url=e.prototype.$c;e.prototype.DEFAULT_API_ROUTES=Sa;m.prototype.properties=m.prototype.ga;m.prototype.update_search_keyword=m.prototype.Ac;m.prototype.update_referrer_info=m.prototype.qb;m.prototype.get_cross_subdomain=m.prototype.Xc;m.prototype.clear=m.prototype.clear;var G={};(function(a){wa=a;ia=1;x=p.mixpanel;c.e(x)?o.D('"mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide.'):
122
- x.__loaded||x.config&&x.persistence?o.D("The Mixpanel library has already been downloaded at least once. Ensure that the Mixpanel code snippet only appears once on the page (and is not double-loaded by a tag manager) in order to avoid errors."):1.1>(x.__SV||0)?o.D("Version mismatch; please ensure you're using the latest version of the Mixpanel code snippet."):(c.a(x._i,function(a){a&&c.isArray(a)&&(G[a[a.length-1]]=W.apply(this,a))}),Va(),x.init(),c.a(G,function(a){a.ra()}),Ua())})(function(a,b){var c=
123
- document.createElement("script");c.type="text/javascript";c.async=l;c.onload=b;c.src=a;document.head.appendChild(c)})})();
2
+ var k=void 0,m=!0,r=null,A=!1;function T(){return function(){}}
3
+ (function(){function lb(){function a(){if(!a.Vc)Fa=a.Vc=m,Ga=A,c.a(I,function(a){a.Jc()})}function b(){try{o.documentElement.doScroll("left")}catch(d){setTimeout(b,1);return}a()}if(o.addEventListener)"complete"===o.readyState?a():o.addEventListener("DOMContentLoaded",a,A);else if(o.attachEvent){o.attachEvent("onreadystatechange",a);var d=A;try{d=i.frameElement===r}catch(f){}o.documentElement.doScroll&&d&&b()}c.lc(i,"load",a,m)}function mb(){u.init=function(a,b,d){if(d)return u[d]||(u[d]=I[d]=$(a,
4
+ b,d),u[d].ta()),u[d];d=u;if(I.mixpanel)d=I.mixpanel;else if(a)d=$(a,b,"mixpanel"),d.ta(),I.mixpanel=d;u=d;1===pa&&(i.mixpanel=u);nb()}}function nb(){c.a(I,function(a,b){"mixpanel"!==b&&(u[b]=a)});u._=c}function qa(a){a=c.g(a)?a:c.e(a)?{}:{days:a};return c.extend({},ob,a)}function $(a,b,d){var f,g="mixpanel"===d?u:u[d];if(g&&0===pa)f=g;else{if(g&&!c.isArray(g)){q.error("You have already initialized "+d);return}f=new e}f.zb={};f.ea(a,b,d);f.people=new l;f.people.ea(f);if(!f.c("skip_first_touch_marketing")){var a=
5
+ c.info.fa(r),h={},y=A;c.a(a,function(a,b){(h["initial_"+b]=a)&&(y=m)});y&&f.people.U(h)}J=J||f.c("debug");!c.e(g)&&c.isArray(g)&&(f.Ma.call(f.people,g.people),f.Ma(g));return f}function e(){}function U(){}function pb(a){return a}function Ha(a){throw Error(a+" not available in this build.");}function p(a){this.props={};this.le=A;this.name=a.persistence_name?"mp_"+a.persistence_name:"mp_"+a.token+"_mixpanel";var b=a.persistence;if("cookie"!==b&&"localStorage"!==b)q.m("Unknown persistence type "+b+"; falling back to cookie"),
6
+ b=a.persistence="cookie";this.l="localStorage"===b&&c.localStorage.Fa()?c.localStorage:c.cookie;this.load();this.Ec(a);this.ge();this.save()}function l(){}function s(){}function D(a,b){this.R=b.R;this.ka=new F(a,{R:c.bind(this.h,this),A:b.A,vc:b.vc,u:b.u});this.I=b.I;this.Id=b.Jd;this.ua=b.ua;this.Td=b.Ud;this.L=this.I.batch_size;this.Ba=this.I.batch_flush_interval_ms;this.na=!this.I.batch_autostart;this.Wa=0;this.P={};this.Sb=b.Sb||A}function Ia(a,b){var d=[];c.a(a,function(a){var c=a.id;if(c in
7
+ b){if(c=b[c],c!==r)a.payload=c,d.push(a)}else d.push(a)});return d}function Ja(a,b){var d=[];c.a(a,function(a){a.id&&!b[a.id]&&d.push(a)});return d}function F(a,b){b=b||{};this.V=a;if(this.u=b.u)this.A=b.A||new V,this.ib=new Ka(a,{l:b.vc||window.localStorage}),this.A.D();this.h=b.R||c.bind(La.error,La);this.Ha=b.Ha||r;this.J=[];this.fb=A}function V(a){this.l=a||localStorage}function Ka(a,b){b=b||{};this.V=a;this.l=b.l||window.localStorage;this.ic=b.ic||100;this.yc=b.yc||2E3;this.jc=b.jc||w}function aa(){this.ec=
8
+ "submit"}function Q(){this.ec="click"}function G(){}function C(a){this.z=a}function Ma(a){var b=qb,d=a.split("."),d=d[d.length-1];if(4<d.length||"com"===d||"org"===d)b=rb;return(a=a.match(b))?a[0]:""}function ra(a){var b=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return a?b.substring(0,a):b}function ba(a,b){if(sa!==r&&!b)return sa;var d=m;try{var a=a||i.localStorage,c="__mplss_"+ra(8);a.setItem(c,"xyz");"xyz"!==a.getItem(c)&&(d=A);a.removeItem(c)}catch(g){d=
9
+ A}return sa=d}function ta(a){return function(){try{return a.apply(this,arguments)}catch(b){q.m("Implementation error. Please turn on debug and contact support@mixpanel.com."),J&&q.m(b)}}}function ca(a){return{log:ua(q.log,a),error:ua(q.error,a),m:ua(q.m,a)}}function ua(a,b){return function(){arguments[0]="["+b+"] "+arguments[0];return a.apply(q,arguments)}}function da(a,b){va.add(a,b);wa||(wa=sb(va.Wc))}function Na(a){var b,d=typeof a;if(a!==r&&("object"===d||"function"===d))b=a.then;return"function"===
10
+ typeof b?b:A}function xa(){for(var a=0;a<this.H.length;a++){var b=1===this.state?this.H[a].Wd:this.H[a].Xc,d=this.H[a],c=k,g=k;try{b===A?d.reject(this.ia):(c=b===m?this.ia:b.call(k,this.ia),c===d.lb?d.reject(TypeError("Promise-chain cycle")):(g=Na(c))?g.call(c,d.resolve,d.reject):d.resolve(c))}catch(h){d.reject(h)}}this.H.length=0}function Oa(a){var b,d=this;if(!d.oa){d.oa=m;if(d.Aa)d=d.Aa;try{(b=Na(a))?da(function(){var c=new Pa(d);try{b.call(a,function(){Oa.apply(c,arguments)},function(){W.apply(c,
11
+ arguments)})}catch(f){W.call(c,f)}}):(d.ia=a,d.state=1,0<d.H.length&&da(xa,d))}catch(c){W.call(new Pa(d),c)}}}function W(a){var b=this;if(!b.oa){b.oa=m;if(b.Aa)b=b.Aa;b.ia=a;b.state=2;0<b.H.length&&da(xa,b)}}function Qa(a,b,d,c){for(var g=0;g<b.length;g++)(function(g){a.resolve(b[g]).then(function(a){d(g,a)},c)})(g)}function Pa(a){this.Aa=a;this.oa=A}function tb(a){this.lb=a;this.state=0;this.oa=A;this.H=[];this.ia=k}function K(a){if("function"!==typeof a)throw TypeError("Not a function");if(0!==
12
+ this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var b=new tb(this);this.then=function(a,d){var c={Wd:"function"===typeof a?a:m,Xc:"function"===typeof d?d:A};c.lb=new this.constructor(function(a,b){if("function"!==typeof a||"function"!==typeof b)throw TypeError("Not a function");c.resolve=a;c.reject=b});b.H.push(c);0!==b.state&&da(xa,b);return c.lb};this["catch"]=function(a){return this.then(k,a)};try{a.call(k,function(a){Oa.call(b,a)},function(a){W.call(b,a)})}catch(d){W.call(b,d)}}function ya(a){for(var b=
13
+ {},a=Ra(a).split(" "),d=0;d<a.length;d++){var c=a[d];c&&(b[c]=m)}return b}function Ra(a){switch(typeof a.className){case "string":return a.className;case "object":return a.className.ke||a.getAttribute("class")||"";default:return""}}function ub(a){if(a.previousElementSibling)return a.previousElementSibling;do a=a.previousSibling;while(a&&!(a&&1===a.nodeType));return a}function Sa(a){var b={$classes:Ra(a).split(" "),$tag_name:a.tagName.toLowerCase()},d=a.id;d&&(b.$id=d);za(a)&&c.a(vb,function(d){if(a.hasAttribute(d)){var c=
14
+ a.getAttribute(d);Aa(c)&&(b["$attr-"+d]=c)}});for(var f=d=1,g=a;g=ub(g);)d++,g.tagName===a.tagName&&f++;b.$nth_child=d;b.$nth_of_type=f;return b}function wb(a,b,d){var b=b||[],f=r,g="undefined"===typeof a.target?a.srcElement:a.target;if(g&&3===g.nodeType)g=g.parentNode;if(xb(g,a)){for(var h=[g],y=g;y.parentNode&&!E(y,"body");)h.push(y.parentNode),y=y.parentNode;var j=[],e,B=A;c.a(h,function(a){var d=za(a);"a"===a.tagName.toLowerCase()&&(e=a.getAttribute("href"),e=d&&Aa(e)&&e);var f=ya(a);c.a(Ta,function(a){f[a]&&
15
+ (B=m)});B||c.a(b,function(b){try{a.matches(b)&&(B=m)}catch(d){H.m("Error while checking selector: "+b,d)}});j.push(Sa(a))},this);if(!B){h=o.documentElement;f={$event_type:a.type,$host:i.location.host,$pathname:i.location.pathname,$elements:j,$el_attr__href:e,$viewportHeight:Math.max(h.clientHeight,i.innerHeight||0),$viewportWidth:Math.max(h.clientWidth,i.innerWidth||0)};if(d)(h=Ua(g))&&h.length&&(f.$el_text=h);a.type===X&&(c.a(yb,function(b){b in a&&(f["$"+b]=a[b])}),g=zb(a));if(d)(h=Ua(g))&&h.length&&
16
+ (f.$el_text=h);if(g)d=Sa(g),f.$target=d,f.$el_classes=d.$classes,c.extend(f,c.W({$el_id:d.$id,$el_tag_name:d.$tag_name}))}}return f}function Ua(a){var b="";za(a)&&a.childNodes&&a.childNodes.length&&c.a(a.childNodes,function(a){a&&3===a.nodeType&&a.textContent&&(b+=c.trim(a.textContent).split(/(\s+)/).filter(Aa).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))});return c.trim(b)}function zb(a){for(var b=a.target,a=a.composedPath(),d=0;d<a.length;d++){var c=a[d];if(E(c,"a")||E(c,
17
+ "button")||E(c,"input")||E(c,"select")||c.getAttribute&&"button"===c.getAttribute("role")){b=c;break}if(c===b)break}return b}function E(a,b){return a&&a.tagName&&a.tagName.toLowerCase()===b.toLowerCase()}function xb(a,b){if(!a||E(a,"html")||!(a&&1===a.nodeType))return A;switch(a.tagName.toLowerCase()){case "form":return b.type===Ba;case "input":return-1===["button","submit"].indexOf(a.getAttribute("type"))?b.type===ea:b.type===X;case "select":case "textarea":return b.type===ea;default:return b.type===
18
+ X}}function za(a){for(var b,d=a;d.parentNode&&!E(d,"body");d=d.parentNode){var c=ya(d);for(b=0;b<Va.length;b++)if(c[Va[b]])return A}d=ya(a);for(b=0;b<Wa.length;b++)if(d[Wa[b]])return m;if(E(a,"input")||E(a,"select")||E(a,"textarea")||"true"===a.getAttribute("contenteditable"))return A;b=a.type||"";if("string"===typeof b)switch(b.toLowerCase()){case "hidden":return A;case "password":return A}a=a.name||a.id||"";return"string"===typeof a&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(a.replace(/[^a-zA-Z0-9]/g,
19
+ ""))?A:m}function Aa(a){if(a===r||c.e(a)||"string"===typeof a&&(a=c.trim(a),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((a||"").replace(/[- ]/g,""))||/(^\d{3}-?\d{2}-?\d{4}$)/.test(a)))return A;return m}function Ab(a,b){Xa(m,a,b)}function Bb(a,b){Xa(A,a,b)}function Cb(a,b){return"1"===fa(b).get(ga(a,b))}function Ya(a,b){if(Db(b))return q.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),
20
+ m;var d="0"===fa(b).get(ga(a,b));d&&q.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data.");return d}function O(a){return Ca(a,function(a){return this.c(a)})}function L(a){return Ca(a,function(a){return this.s(a)})}function R(a){return Ca(a,function(a){return this.s(a)})}function Eb(a,b){b=b||{};fa(b).remove(ga(a,b),!!b.Nb,b.Lb)}function fa(a){a=a||{};return"localStorage"===a.hc?c.localStorage:c.cookie}function ga(a,b){b=b||{};return(b.gc||Fb)+a}
21
+ function Db(a){if(a&&a.Wb)return A;var a=a&&a.window||i,b=a.navigator||{},d=A;c.a([b.doNotTrack,b.msDoNotTrack,a.doNotTrack],function(a){c.i([m,1,"1","yes"],a)&&(d=m)});return d}function Xa(a,b,d){!c.hb(b)||!b.length?q.error("gdpr."+(a?"optIn":"optOut")+" called with an invalid token"):(d=d||{},fa(d).set(ga(b,d),a?1:0,c.ac(d.Mb)?d.Mb:r,!!d.Nb,!!d.Hd,!!d.Sc,d.Lb),d.o&&a&&d.o(d.$d||"$opt_in",d.ae,{send_immediately:m}))}function Ca(a,b){return function(){var d=A;try{var c=b.call(this,"token"),g=b.call(this,
22
+ "ignore_dnt"),h=b.call(this,"opt_out_tracking_persistence_type"),e=b.call(this,"opt_out_tracking_cookie_prefix"),j=b.call(this,"window");c&&(d=Ya(c,{Wb:g,hc:h,gc:e,window:j}))}catch(n){q.error("Unexpected error when checking tracking opt-out status: "+n)}if(!d)return a.apply(this,arguments);d=arguments[arguments.length-1];"function"===typeof d&&d(0)}}var J=A,i;if("undefined"===typeof window){var Za={hostname:""};i={navigator:{userAgent:"",onLine:m},document:{createElement:function(){return{}},location:Za,
23
+ referrer:""},screen:{width:0,height:0},location:Za,addEventListener:T(),removeEventListener:T()}}else i=window;var $a=i.setImmediate,M,wa,va,ab=Object.prototype.toString,sb="undefined"!==typeof $a?function(a){return $a(a)}:setTimeout;try{Object.defineProperty({},"x",{}),M=function(a,b,d,c){return Object.defineProperty(a,b,{value:d,writable:m,configurable:c!==A})}}catch(Mb){M=function(a,b,d){a[b]=d;return a}}va=function(){function a(a,b){this.Zc=a;this.self=b;this.next=k}var b,d,c;return{add:function(g,
24
+ h){c=new a(g,h);d?d.next=c:b=c;d=c;c=k},Wc:function(){var a=b;for(b=d=wa=k;a;)a.Zc.call(a.self),a=a.next}}}();var bb=M({},"constructor",K,A);K.prototype=bb;M(bb,"__NPO__",0,A);M(K,"resolve",function(a){return a&&"object"===typeof a&&1===a.__NPO__?a:new this(function(b,d){if("function"!==typeof b||"function"!==typeof d)throw TypeError("Not a function");b(a)})});M(K,"reject",function(a){return new this(function(b,d){if("function"!==typeof b||"function"!==typeof d)throw TypeError("Not a function");d(a)})});
25
+ M(K,"all",function(a){var b=this;return"[object Array]"!==ab.call(a)?b.reject(TypeError("Not an array")):0===a.length?b.resolve([]):new b(function(d,c){if("function"!==typeof d||"function"!==typeof c)throw TypeError("Not a function");var g=a.length,h=Array(g),e=0;Qa(b,a,function(a,b){h[a]=b;++e===g&&d(h)},c)})});M(K,"race",function(a){var b=this;return"[object Array]"!==ab.call(a)?b.reject(TypeError("Not an array")):new b(function(d,c){if("function"!==typeof d||"function"!==typeof c)throw TypeError("Not a function");
26
+ Qa(b,a,function(a,b){d(b)},c)})});var w;w="undefined"!==typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:K;var ha=Array.prototype,cb=Object.prototype,P=ha.slice,Y=cb.toString,ia=cb.hasOwnProperty,x=i.console,N=i.navigator,o=i.document,ja=i.opera,ka=i.screen,z=N.userAgent,Da=Function.prototype.bind,db=ha.forEach,eb=ha.indexOf,fb=ha.map,Gb=Array.isArray,Ea={},c={trim:function(a){return a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},q={log:function(){if(J&&!c.e(x)&&x)try{x.log.apply(x,
27
+ arguments)}catch(a){c.a(arguments,function(a){x.log(a)})}},warn:function(){if(J&&!c.e(x)&&x){var a=["Mixpanel warning:"].concat(c.X(arguments));try{x.warn.apply(x,a)}catch(b){c.a(a,function(a){x.warn(a)})}}},error:function(){if(J&&!c.e(x)&&x){var a=["Mixpanel error:"].concat(c.X(arguments));try{x.error.apply(x,a)}catch(b){c.a(a,function(a){x.error(a)})}}},m:function(){if(!c.e(x)&&x){var a=["Mixpanel error:"].concat(c.X(arguments));try{x.error.apply(x,a)}catch(b){c.a(a,function(a){x.error(a)})}}}};
28
+ c.bind=function(a,b){var d,f;if(Da&&a.bind===Da)return Da.apply(a,P.call(arguments,1));if(!c.gb(a))throw new TypeError;d=P.call(arguments,2);return f=function(){if(!(this instanceof f))return a.apply(b,d.concat(P.call(arguments)));var c={};c.prototype=a.prototype;var h=new c;c.prototype=r;c=a.apply(h,d.concat(P.call(arguments)));return Object(c)===c?c:h}};c.a=function(a,b,d){if(!(a===r||a===k))if(db&&a.forEach===db)a.forEach(b,d);else if(a.length===+a.length)for(var c=0,g=a.length;c<g&&!(c in a&&
29
+ b.call(d,a[c],c,a)===Ea);c++);else for(c in a)if(ia.call(a,c)&&b.call(d,a[c],c,a)===Ea)break};c.extend=function(a){c.a(P.call(arguments,1),function(b){for(var d in b)b[d]!==k&&(a[d]=b[d])});return a};c.isArray=Gb||function(a){return"[object Array]"===Y.call(a)};c.gb=function(a){try{return/^\s*\bfunction\b/.test(a)}catch(b){return A}};c.nd=function(a){return!(!a||!ia.call(a,"callee"))};c.X=function(a){return!a?[]:a.X?a.X():c.isArray(a)||c.nd(a)?P.call(a):c.ie(a)};c.map=function(a,b,d){if(fb&&a.map===
30
+ fb)return a.map(b,d);var f=[];c.a(a,function(a){f.push(b.call(d,a))});return f};c.keys=function(a){var b=[];if(a===r)return b;c.a(a,function(a,c){b[b.length]=c});return b};c.ie=function(a){var b=[];if(a===r)return b;c.a(a,function(a){b[b.length]=a});return b};c.Xb=function(a,b){var d=A;if(a===r)return d;if(eb&&a.indexOf===eb)return-1!=a.indexOf(b);c.a(a,function(a){if(d||(d=a===b))return Ea});return d};c.i=function(a,b){return-1!==a.indexOf(b)};c.Zb=function(a,b){a.prototype=new b;a.prototype.constructor=
31
+ a;a.Xd=b.prototype};c.g=function(a){return a===Object(a)&&!c.isArray(a)};c.Ea=function(a){if(c.g(a)){for(var b in a)if(ia.call(a,b))return A;return m}return A};c.e=function(a){return a===k};c.hb=function(a){return"[object String]"==Y.call(a)};c.od=function(a){return"[object Date]"==Y.call(a)};c.ac=function(a){return"[object Number]"==Y.call(a)};c.pd=function(a){return!!(a&&1===a.nodeType)};c.Ya=function(a){c.a(a,function(b,d){c.od(b)?a[d]=c.$c(b):c.g(b)&&(a[d]=c.Ya(b))});return a};c.timestamp=function(){Date.now=
32
+ Date.now||function(){return+new Date};return Date.now()};c.$c=function(a){function b(a){return 10>a?"0"+a:a}return a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate())+"T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())};c.W=function(a){var b={};c.a(a,function(a,f){c.hb(a)&&0<a.length&&(b[f]=a)});return b};c.truncate=function(a,b){var d;"string"===typeof a?d=a.slice(0,b):c.isArray(a)?(d=[],c.a(a,function(a){d.push(c.truncate(a,b))})):c.g(a)?(d={},c.a(a,function(a,
33
+ g){d[g]=c.truncate(a,b)})):d=a;return d};c.qa=function(){return function(a){function b(a,c){var h="",e=0,j=e="",j=0,n=h,B=[],i=c[a];i&&"object"===typeof i&&"function"===typeof i.toJSON&&(i=i.toJSON(a));switch(typeof i){case "string":return d(i);case "number":return isFinite(i)?""+i:"null";case "boolean":case "null":return""+i;case "object":if(!i)return"null";h+=" ";B=[];if("[object Array]"===Y.apply(i)){j=i.length;for(e=0;e<j;e+=1)B[e]=b(e,i)||"null";return j=0===B.length?"[]":h?"[\n"+h+B.join(",\n"+
34
+ h)+"\n"+n+"]":"["+B.join(",")+"]"}for(e in i)ia.call(i,e)&&(j=b(e,i))&&B.push(d(e)+(h?": ":":")+j);return j=0===B.length?"{}":h?"{"+B.join(",")+""+n+"}":"{"+B.join(",")+"}"}}function d(a){var b=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};b.lastIndex=0;return b.test(a)?'"'+a.replace(b,function(a){var b=d[a];return"string"===typeof b?
35
+ b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}return b("",{"":a})}}();c.$=function(){function a(){switch(j){case "t":return g("t"),g("r"),g("u"),g("e"),m;case "f":return g("f"),g("a"),g("l"),g("s"),g("e"),A;case "n":return g("n"),g("u"),g("l"),g("l"),r}h('Unexpected "'+j+'"')}function b(){for(;j&&" ">=j;)g()}function d(){var a,b,d="",c;if('"'===j)for(;g();){if('"'===j)return g(),d;if("\\"===j)if(g(),"u"===j){for(b=c=0;4>b;b+=1){a=parseInt(g(),16);if(!isFinite(a))break;c=
36
+ 16*c+a}d+=String.fromCharCode(c)}else if("string"===typeof n[j])d+=n[j];else break;else d+=j}h("Bad string")}function c(){var a;a="";"-"===j&&(a="-",g("-"));for(;"0"<=j&&"9">=j;)a+=j,g();if("."===j)for(a+=".";g()&&"0"<=j&&"9">=j;)a+=j;if("e"===j||"E"===j){a+=j;g();if("-"===j||"+"===j)a+=j,g();for(;"0"<=j&&"9">=j;)a+=j,g()}a=+a;if(isFinite(a))return a;h("Bad number")}function g(a){a&&a!==j&&h("Expected '"+a+"' instead of '"+j+"'");j=i.charAt(e);e+=1;return j}function h(a){a=new SyntaxError(a);a.je=
37
+ e;a.text=i;throw a;}var e,j,n={'"':'"',"\\":"\\","/":"/",b:"\u0008",f:"\u000c",n:"\n",r:"\r",t:"\t"},i,l;l=function(){b();switch(j){case "{":var e;a:{var y,n={};if("{"===j){g("{");b();if("}"===j){g("}");e=n;break a}for(;j;){y=d();b();g(":");Object.hasOwnProperty.call(n,y)&&h('Duplicate key "'+y+'"');n[y]=l();b();if("}"===j){g("}");e=n;break a}g(",");b()}}h("Bad object")}return e;case "[":a:{e=[];if("["===j){g("[");b();if("]"===j){g("]");y=e;break a}for(;j;){e.push(l());b();if("]"===j){g("]");y=e;
38
+ break a}g(",");b()}}h("Bad array")}return y;case '"':return d();case "-":return c();default:return"0"<=j&&"9">=j?c():a()}};return function(a){i=a;e=0;j=" ";a=l();b();j&&h("Syntax error");return a}}();c.Qc=function(a){var b,d,f,g,h=0,e=0,j="",j=[];if(!a)return a;a=c.he(a);do b=a.charCodeAt(h++),d=a.charCodeAt(h++),f=a.charCodeAt(h++),g=b<<16|d<<8|f,b=g>>18&63,d=g>>12&63,f=g>>6&63,g&=63,j[e++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d)+
39
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(f)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g);while(h<a.length);j=j.join("");switch(a.length%3){case 1:j=j.slice(0,-2)+"==";break;case 2:j=j.slice(0,-1)+"="}return j};c.he=function(a){var a=(a+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),b="",d,c,g=0,h;d=c=0;g=a.length;for(h=0;h<g;h++){var e=a.charCodeAt(h),j=r;128>e?c++:j=127<e&&2048>e?String.fromCharCode(e>>6|192,e&63|128):String.fromCharCode(e>>
40
+ 12|224,e>>6&63|128,e&63|128);j!==r&&(c>d&&(b+=a.substring(d,c)),b+=j,d=c=h+1)}c>d&&(b+=a.substring(d,a.length));return b};c.xb=function(){function a(){function a(b,c){var d,f=0;for(d=0;d<c.length;d++)f|=h[d]<<8*d;return b^f}var b,c,h=[],e=0;for(b=0;b<z.length;b++)c=z.charCodeAt(b),h.unshift(c&255),4<=h.length&&(e=a(e,h),h=[]);0<h.length&&(e=a(e,h));return e.toString(16)}function b(){var a=1*new Date,b;if(i.performance&&i.performance.now)b=i.performance.now();else for(b=0;a==1*new Date;)b++;return a.toString(16)+
41
+ Math.floor(b).toString(16)}return function(){var c=(ka.height*ka.width).toString(16);return b()+"-"+Math.random().toString(16).replace(".","")+"-"+a()+"-"+c+"-"+b()}}();var gb="ahrefsbot,ahrefssiteaudit,amazonbot,baiduspider,bingbot,bingpreview,chrome-lighthouse,facebookexternal,petalbot,pinterest,screaming frog,yahoo! slurp,yandex,adsbot-google,apis-google,duplexweb-google,feedfetcher-google,google favicon,google web preview,google-read-aloud,googlebot,googleweblight,mediapartners-google,storebot-google".split(",");
42
+ c.$b=function(a){var b,a=a.toLowerCase();for(b=0;b<gb.length;b++)if(-1!==a.indexOf(gb[b]))return m;return A};c.wb=function(a){var b,d,f,g=[];c.e(b)&&(b="&");c.a(a,function(a,b){d=encodeURIComponent(a.toString());f=encodeURIComponent(b);g[g.length]=f+"="+d});return g.join(b)};c.bb=function(a,b){var b=b.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]"),c=RegExp("[\\?&]"+b+"=([^&#]*)").exec(a);if(c===r||c&&"string"!==typeof c[1]&&c[1].length)return"";c=c[1];try{c=decodeURIComponent(c)}catch(f){q.error("Skipping decoding for malformed query param: "+
43
+ c)}return c.replace(/\+/g," ")};c.cookie={get:function(a){for(var a=a+"=",b=o.cookie.split(";"),c=0;c<b.length;c++){for(var f=b[c];" "==f.charAt(0);)f=f.substring(1,f.length);if(0===f.indexOf(a))return decodeURIComponent(f.substring(a.length,f.length))}return r},parse:function(a){var b;try{b=c.$(c.cookie.get(a))||{}}catch(d){}return b},oe:function(a,b,c,f,g,h,e){var j="",n="",i="";e?j="; domain="+e:f&&(j=(j=Ma(o.location.hostname))?"; domain=."+j:"");c&&(n=new Date,n.setTime(n.getTime()+1E3*c),n=
44
+ "; expires="+n.toGMTString());h&&(g=m,i="; SameSite=None");g&&(i+="; secure");o.cookie=a+"="+encodeURIComponent(b)+n+"; path=/"+j+i},set:function(a,b,c,f,g,h,e){var j="",n="",i="";e?j="; domain="+e:f&&(j=(j=Ma(o.location.hostname))?"; domain=."+j:"");c&&(n=new Date,n.setTime(n.getTime()+864E5*c),n="; expires="+n.toGMTString());h&&(g=m,i="; SameSite=None");g&&(i+="; secure");a=a+"="+encodeURIComponent(b)+n+"; path=/"+j+i;return o.cookie=a},remove:function(a,b,d){c.cookie.set(a,"",-1,b,A,A,d)}};var sa=
45
+ r;c.localStorage={Fa:function(a){(a=ba(r,a))||q.error("localStorage unsupported; falling back to cookie store");return a},error:function(a){q.error("localStorage error: "+a)},get:function(a){try{return i.localStorage.getItem(a)}catch(b){c.localStorage.error(b)}return r},parse:function(a){try{return c.$(c.localStorage.get(a))||{}}catch(b){}return r},set:function(a,b){try{i.localStorage.setItem(a,b)}catch(d){c.localStorage.error(d)}},remove:function(a){try{i.localStorage.removeItem(a)}catch(b){c.localStorage.error(b)}}};
46
+ c.lc=function(){function a(a,f,g){return function(h){if(h=h||b(i.event)){var e=m,j;c.gb(g)&&(j=g(h));h=f.call(a,h);if(A===j||A===h)e=A;return e}}}function b(a){if(a)a.preventDefault=b.preventDefault,a.stopPropagation=b.stopPropagation;return a}b.preventDefault=function(){this.returnValue=A};b.stopPropagation=function(){this.cancelBubble=m};return function(b,c,g,h,e){b?b.addEventListener&&!h?b.addEventListener(c,g,!!e):(c="on"+c,b[c]=a(b,g,b[c])):q.error("No valid element provided to register_event")}}();
47
+ var Hb=/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/;c.Uc=function(){function a(a,b){return 0<=(" "+a.className+" ").replace(d," ").indexOf(" "+b+" ")}function b(b){if(!o.getElementsByTagName)return[];var b=b.split(" "),d,h,e,j,n,i,l,v=[o];for(j=0;j<b.length;j++)if(d=b[j].replace(/^\s+/,"").replace(/\s+$/,""),-1<d.indexOf("#")){h=d.split("#");d=h[0];v=o.getElementById(h[1]);if(!v||d&&v.nodeName.toLowerCase()!=d)return[];v=[v]}else if(-1<d.indexOf(".")){h=d.split(".");d=h[0];var t=h[1];d||(d="*");
48
+ h=[];for(n=e=0;n<v.length;n++){l="*"==d?v[n].all?v[n].all:v[n].getElementsByTagName("*"):v[n].getElementsByTagName(d);for(i=0;i<l.length;i++)h[e++]=l[i]}v=[];for(n=d=0;n<h.length;n++)h[n].className&&c.hb(h[n].className)&&a(h[n],t)&&(v[d++]=h[n])}else if(h=d.match(Hb)){d=h[1];var p=h[2],t=h[3],q=h[4];d||(d="*");h=[];for(n=e=0;n<v.length;n++){l="*"==d?v[n].all?v[n].all:v[n].getElementsByTagName("*"):v[n].getElementsByTagName(d);for(i=0;i<l.length;i++)h[e++]=l[i]}v=[];d=0;switch(t){case "=":t=function(a){return a.getAttribute(p)==
49
+ q};break;case "~":t=function(a){return a.getAttribute(p).match(RegExp("\\b"+q+"\\b"))};break;case "|":t=function(a){return a.getAttribute(p).match(RegExp("^"+q+"-?"))};break;case "^":t=function(a){return 0===a.getAttribute(p).indexOf(q)};break;case "$":t=function(a){return a.getAttribute(p).lastIndexOf(q)==a.getAttribute(p).length-q.length};break;case "*":t=function(a){return-1<a.getAttribute(p).indexOf(q)};break;default:t=function(a){return a.getAttribute(p)}}v=[];for(n=d=0;n<h.length;n++)t(h[n])&&
50
+ (v[d++]=h[n])}else{h=[];for(n=e=0;n<v.length;n++){l=v[n].getElementsByTagName(d);for(i=0;i<l.length;i++)h[e++]=l[i]}v=h}return v}var d=/[\t\r\n]/g;return function(a){return c.pd(a)?[a]:c.g(a)&&!c.e(a.length)?a:b.call(this,a)}}();var Ib="utm_source,utm_medium,utm_campaign,utm_content,utm_term,utm_id,utm_source_platform,utm_campaign_id,utm_creative_format,utm_marketing_tactic".split(","),Jb="dclid,fbclid,gclid,ko_click_id,li_fat_id,msclkid,sccid,ttclid,twclid,wbraid".split(",");c.info={fa:function(a){var b=
51
+ "",d={};c.a(Ib,function(f){b=c.bb(o.URL,f);b.length?d[f]=b:a!==k&&(d[f]=a)});return d},Kb:function(){var a="",b={};c.a(Jb,function(d){a=c.bb(o.URL,d);a.length&&(b[d]=a)});return b},xd:function(){return c.extend(c.info.fa(),c.info.Kb())},Fd:function(a){return 0===a.search("https?://(.*)google.([^/?]*)")?"google":0===a.search("https?://(.*)bing.com")?"bing":0===a.search("https?://(.*)yahoo.com")?"yahoo":0===a.search("https?://(.*)duckduckgo.com")?"duckduckgo":r},Gd:function(a){var b=c.info.Fd(a),d=
52
+ {};if(b!==r)d.$search_engine=b,a=c.bb(a,"yahoo"!=b?"q":"p"),a.length&&(d.mp_keyword=a);return d},va:function(a,b,d){return d||c.i(a," OPR/")?c.i(a,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(a)?"BlackBerry":c.i(a,"IEMobile")||c.i(a,"WPDesktop")?"Internet Explorer Mobile":c.i(a,"SamsungBrowser/")?"Samsung Internet":c.i(a,"Edge")||c.i(a,"Edg/")?"Microsoft Edge":c.i(a,"FBIOS")?"Facebook Mobile":c.i(a,"Chrome")?"Chrome":c.i(a,"CriOS")?"Chrome iOS":c.i(a,"UCWEB")||c.i(a,"UCBrowser")?
53
+ "UC Browser":c.i(a,"FxiOS")?"Firefox iOS":c.i(b||"","Apple")?c.i(a,"Mobile")?"Mobile Safari":"Safari":c.i(a,"Android")?"Android Mobile":c.i(a,"Konqueror")?"Konqueror":c.i(a,"Firefox")?"Firefox":c.i(a,"MSIE")||c.i(a,"Trident/")?"Internet Explorer":c.i(a,"Gecko")?"Mozilla":""},Va:function(a,b,d){b={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,
54
+ "Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[c.info.va(a,b,d)];if(b===k)return r;a=a.match(b);return!a?r:parseFloat(a[a.length-2])},dc:function(){return/Windows/i.test(z)?
55
+ /Phone/.test(z)||/WPDesktop/.test(z)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(z)?"iOS":/Android/.test(z)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(z)?"BlackBerry":/Mac/i.test(z)?"Mac OS X":/Linux/.test(z)?"Linux":/CrOS/.test(z)?"Chrome OS":""},Rb:function(a){return/Windows Phone/i.test(a)||/WPDesktop/.test(a)?"Windows Phone":/iPad/.test(a)?"iPad":/iPod/.test(a)?"iPod Touch":/iPhone/.test(a)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(a)?"BlackBerry":/Android/.test(a)?"Android":""},kc:function(a){a=
56
+ a.split("/");return 3<=a.length?a[2]:""},ya:function(){return i.location.href},ja:function(a){"object"!==typeof a&&(a={});return c.extend(c.W({$os:c.info.dc(),$browser:c.info.va(z,N.vendor,ja),$referrer:o.referrer,$referring_domain:c.info.kc(o.referrer),$device:c.info.Rb(z)}),{$current_url:c.info.ya(),$browser_version:c.info.Va(z,N.vendor,ja),$screen_height:ka.height,$screen_width:ka.width,mp_lib:"web",$lib_version:"2.59.0",$insert_id:ra(),time:c.timestamp()/1E3},c.W(a))},Bd:function(){return c.extend(c.W({$os:c.info.dc(),
57
+ $browser:c.info.va(z,N.vendor,ja)}),{$browser_version:c.info.Va(z,N.vendor,ja)})},yd:function(){return c.W({current_page_title:o.title,current_domain:i.location.hostname,current_url_path:i.location.pathname,current_url_protocol:i.location.protocol,current_url_search:i.location.search})}};var rb=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,qb=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,la=r,ma=r;if("undefined"!==typeof JSON)la=JSON.stringify,ma=JSON.parse;la=la||c.qa;ma=ma||c.$;c.toArray=c.X;c.isObject=c.g;c.JSONEncode=
58
+ c.qa;c.JSONDecode=c.$;c.isBlockedUA=c.$b;c.isEmptyObject=c.Ea;c.info=c.info;c.info.device=c.info.Rb;c.info.browser=c.info.va;c.info.browserVersion=c.info.Va;c.info.properties=c.info.ja;c.NPO=K;var ea="change",X="click",Ba="submit",yb="clientX,clientY,offsetX,offsetY,pageX,pageY,screenX,screenY,x,y".split(","),Wa=["mp-include"],Ta=["mp-no-track"],Va=Ta.concat(["mp-sensitive"]),vb="aria-label,aria-labelledby,aria-describedby,href,name,role,title,type".split(","),H=ca("autocapture"),hb={capture_text_content:A,
59
+ click:m,input:m,pageview:"full-url",scroll:m,submit:m},na={$mp_autocapture:m};C.prototype.D=function(){var a;try{a=!!o.createElement("div").matches}catch(b){a=A}a?(this.jd(),this.gd(),this.hd(),this.kd(),this.ld()):H.m("Autocapture unavailable: missing required DOM APIs")};C.prototype.ad=function(){var a=this.z.c("autocapture");return a?c.g(a)?c.extend({},hb,a):hb:{}};C.prototype.p=function(a){return this.ad()[a]};C.prototype.za=function(){var a=this.p("block_url_regexes")||[];if(!a||!a.length)return A;
60
+ for(var b=c.info.ya(),d=0;d<a.length;d++)try{if(b.match(a[d]))return m}catch(f){return H.m("Error while checking block URL regex: "+a[d],f),m}return A};C.prototype.fc=function(){return this.z.c("autocapture")?this.p("pageview"):this.z.c("track_pageview")};C.prototype.rb=function(a,b){if(!this.za()){var d=wb(a,this.p("block_selectors"),this.p("capture_text_content"));d&&(c.extend(d,na),this.z.o(b,d))}};C.prototype.gd=function(){i.removeEventListener(X,this.rd);if(this.p("click"))H.log("Initializing click tracking"),
61
+ this.rd=i.addEventListener(X,function(a){this.p("click")&&this.rb(a,"$mp_click")}.bind(this))};C.prototype.hd=function(){i.removeEventListener(ea,this.qd);if(this.p("input"))H.log("Initializing input tracking"),this.qd=i.addEventListener(ea,function(a){this.p("input")&&this.rb(a,"$mp_input_change")}.bind(this))};C.prototype.jd=function(){i.removeEventListener("popstate",this.ud);i.removeEventListener("hashchange",this.sd);i.removeEventListener("mp_locationchange",this.td);if(this.fc()){H.log("Initializing pageview tracking");
62
+ var a="",b=A;this.za()||(b=this.z.sb(na));b&&(a=c.info.ya());this.ud=i.addEventListener("popstate",function(){i.dispatchEvent(new Event("mp_locationchange"))});this.sd=i.addEventListener("hashchange",function(){i.dispatchEvent(new Event("mp_locationchange"))});var d=i.history.pushState;if("function"===typeof d)i.history.pushState=function(a,b,c){d.call(i.history,a,b,c);i.dispatchEvent(new Event("mp_locationchange"))};var f=i.history.replaceState;if("function"===typeof f)i.history.replaceState=function(a,
63
+ b,c){f.call(i.history,a,b,c);i.dispatchEvent(new Event("mp_locationchange"))};this.td=i.addEventListener("mp_locationchange",ta(function(){if(!this.za()){var b=c.info.ya(),d=A,f=this.fc();"full-url"===f?d=b!==a:"url-with-path-and-query-string"===f?d=b.split("#")[0]!==a.split("#")[0]:"url-with-path"===f&&(d=b.split("#")[0].split("?")[0]!==a.split("#")[0].split("?")[0]);d&&this.z.sb(na)&&(a=b)}}.bind(this)))}};C.prototype.kd=function(){i.removeEventListener("scrollend",this.vd);if(this.p("scroll"))H.log("Initializing scroll tracking"),
64
+ this.vd=i.addEventListener("scrollend",ta(function(){if(this.p("scroll")&&!this.za()){var a=i.scrollY,b=c.extend({$scroll_top:a},na);try{var d=o.body.scrollHeight,f=Math.round(100*(a/(d-i.innerHeight)));b.$scroll_height=d;b.$scroll_percentage=f}catch(g){H.m("Error while calculating scroll percentage",g)}this.z.o("$mp_scroll",b)}}.bind(this)))};C.prototype.ld=function(){i.removeEventListener(Ba,this.wd);if(this.p("submit"))H.log("Initializing submit tracking"),this.wd=i.addEventListener(Ba,function(a){this.p("submit")&&
65
+ this.rb(a,"$mp_submit")}.bind(this))};(function(a){var a=a.prototype,b;for(b in a)"function"===typeof a[b]&&(a[b]=ta(a[b]))})(C);G.prototype.xa=T();G.prototype.$a=T();G.prototype.Sa=T();G.prototype.D=function(a){this.z=a;return this};G.prototype.o=function(a,b,d,f){var g=this,e=c.Uc(a);if(0===e.length)q.error("The DOM query ("+a+") returned 0 elements");else return c.a(e,function(a){c.lc(a,this.ec,function(a){var c={},e=g.xa(d,this),h=g.z.c("track_links_timeout");g.$a(a,this,c);window.setTimeout(g.Ac(f,
66
+ e,c,m),h);g.z.o(b,e,g.Ac(f,e,c))})},this),m};G.prototype.Ac=function(a,b,c,f){var f=f||A,g=this;return function(){if(!c.Rc)c.Rc=m,a&&a(f,b)===A||g.Sa(b,c,f)}};G.prototype.xa=function(a,b){return"function"===typeof a?a(b):c.extend({},a)};c.Zb(Q,G);Q.prototype.xa=function(a,b){var c=Q.Xd.xa.apply(this,arguments);if(b.href)c.url=b.href;return c};Q.prototype.$a=function(a,b,c){c.bc=2===a.which||a.metaKey||a.ctrlKey||"_blank"===b.target;c.href=b.href;c.bc||a.preventDefault()};Q.prototype.Sa=function(a,
67
+ b){b.bc||setTimeout(function(){window.location=b.href},0)};c.Zb(aa,G);aa.prototype.$a=function(a,b,c){c.element=b;a.preventDefault()};aa.prototype.Sa=function(a,b){setTimeout(function(){b.element.submit()},0)};var Kb=ca("lock");Ka.prototype.vb=function(a,b){return new this.jc(c.bind(function(c,f){function g(){function b(){o.removeItem(w);o.getItem(u)===l&&o.removeItem(u);o.getItem(s)===l&&o.removeItem(s)}o.setItem(w,"1");a().then(function(a){b();c(a)}).catch(function(a){b();f(a)})}function e(){o.setItem(s,
68
+ l);j(i,function(){o.getItem(s)===l?g():n(function(){o.getItem(u)!==l?e():j(function(){return!o.getItem(w)},g)})})}function i(){var a=o.getItem(u);if(a&&a!==l)return A;o.setItem(u,l);if(o.getItem(u)===l)return m;ba(o,m)||f(Error("localStorage support dropped while acquiring lock"));return A}function j(a,b){a()?b():n(function(){j(a,b)})}function n(a){(new Date).getTime()-p>q?(Kb.error("Timeout waiting for mutex on "+v+"; clearing lock. ["+l+"]"),o.removeItem(w),o.removeItem(u),e()):setTimeout(function(){try{a()}catch(b){f(b)}},
69
+ t*(Math.random()+0.1))}var l=b||(new Date).getTime()+"|"+Math.random(),p=(new Date).getTime(),v=this.V,t=this.ic,q=this.yc,o=this.l,s=v+":X",u=v+":Y",w=v+":Z";try{if(ba(o,m))e();else throw Error("localStorage support check failed");}catch(x){f(x)}},this))};V.prototype.D=function(){return w.resolve()};V.prototype.setItem=function(a,b){return new w(c.bind(function(c,f){try{this.l.setItem(a,b)}catch(g){f(g)}c()},this))};V.prototype.getItem=function(a){return new w(c.bind(function(b,c){var f;try{f=this.l.getItem(a)}catch(g){c(g)}b(f)},
70
+ this))};V.prototype.removeItem=function(a){return new w(c.bind(function(b,c){try{this.l.removeItem(a)}catch(f){c(f)}b()},this))};var La=ca("batch");F.prototype.N=function(){return this.fb?w.resolve():this.A.D().then(c.bind(function(){this.fb=m},this)).catch(c.bind(function(a){this.h("Error initializing queue persistence. Disabling persistence",a);this.fb=m;this.u=A},this))};F.prototype.Za=function(a,b){var d={id:ra(),flushAfter:(new Date).getTime()+2*b,payload:a};if(this.u)return this.ib.vb(c.bind(function(){return this.N().then(c.bind(function(){return this.ma()},
71
+ this)).then(c.bind(function(a){a.push(d);return this.nb(a)},this)).then(c.bind(function(a){a&&this.J.push(d);return a},this)).catch(c.bind(function(b){this.h("Error enqueueing item",b,a);return A},this))},this),this.Ha).catch(c.bind(function(a){this.h("Error acquiring storage lock",a);return A},this));this.J.push(d);return w.resolve(m)};F.prototype.Yc=function(a){var b=this.J.slice(0,a);return this.u&&b.length<a?this.N().then(c.bind(function(){return this.ma()},this)).then(c.bind(function(d){if(d.length){var f=
72
+ {};c.a(b,function(a){f[a.id]=m});for(var g=0;g<d.length;g++){var e=d[g];if((new Date).getTime()>e.flushAfter&&!f[e.id]&&(e.Ad=m,b.push(e),b.length>=a))break}}return b},this)):w.resolve(b)};F.prototype.Cd=function(a){var b={};c.a(a,function(a){b[a]=m});this.J=Ja(this.J,b);if(this.u){var d=c.bind(function(){return this.N().then(c.bind(function(){return this.ma()},this)).then(c.bind(function(a){a=Ja(a,b);return this.nb(a)},this)).then(c.bind(function(){return this.ma()},this)).then(c.bind(function(a){for(var c=
73
+ 0;c<a.length;c++){var d=a[c];if(d.id&&b[d.id])throw Error("Item not removed from storage");}return m},this)).catch(c.bind(function(b){this.h("Error removing items",b,a);return A},this))},this);return this.ib.vb(d,this.Ha).catch(c.bind(function(a){this.h("Error acquiring storage lock",a);return ba(this.A.l,m)?A:d().then(c.bind(function(a){return!a?this.A.removeItem(this.V).then(function(){return a}):a},this)).catch(c.bind(function(a){this.h("Error clearing queue",a);return A},this))},this))}return w.resolve(m)};
74
+ F.prototype.fe=function(a){this.J=Ia(this.J,a);return this.u?this.ib.vb(c.bind(function(){return this.N().then(c.bind(function(){return this.ma()},this)).then(c.bind(function(b){b=Ia(b,a);return this.nb(b)},this)).catch(c.bind(function(b){this.h("Error updating items",a,b);return A},this))},this),this.Ha).catch(c.bind(function(a){this.h("Error acquiring storage lock",a);return A},this)):w.resolve(m)};F.prototype.ma=function(){return this.N().then(c.bind(function(){return this.A.getItem(this.V)},this)).then(c.bind(function(a){a&&
75
+ (a=ma(a),c.isArray(a)||(this.h("Invalid storage entry:",a),a=r));return a||[]},this)).catch(c.bind(function(a){this.h("Error retrieving queue",a);return[]},this))};F.prototype.nb=function(a){try{var b=la(a)}catch(d){return this.h("Error serializing queue",d),w.resolve(A)}return this.N().then(c.bind(function(){return this.A.setItem(this.V,b)},this)).then(function(){return m}).catch(c.bind(function(a){this.h("Error saving queue",a);return A},this))};F.prototype.clear=function(){this.J=[];return this.u?
76
+ this.N().then(c.bind(function(){return this.A.removeItem(this.V)},this)):w.resolve()};var Z=ca("batch");D.prototype.Za=function(a){return this.ka.Za(a,this.Ba)};D.prototype.start=function(){this.na=A;this.Wa=0;return this.flush()};D.prototype.stop=function(){this.na=m;if(this.qb)clearTimeout(this.qb),this.qb=r};D.prototype.clear=function(){return this.ka.clear()};D.prototype.nc=function(){this.L=this.I.batch_size};D.prototype.T=function(){this.pc(this.I.batch_flush_interval_ms)};D.prototype.pc=function(a){this.Ba=
77
+ a;if(!this.na)this.qb=setTimeout(c.bind(function(){this.na||this.flush()},this),this.Ba)};D.prototype.Kd=function(a,b){return new w(c.bind(function(c){this.Id(a,b,c)},this))};D.prototype.flush=function(a){if(this.mb)return Z.log("Flush: Request already in progress"),w.resolve();this.mb=m;var a=a||{},b=this.I.batch_request_timeout_ms,d=(new Date).getTime(),f=this.L;return this.ka.Yc(f).then(c.bind(function(g){var e=g.length===f,l=[],j={};c.a(g,function(a){var b=a.payload;this.ua&&!a.Ad&&(b=this.ua(b));
78
+ if(b){b.event&&b.properties&&(b.properties=c.extend({},b.properties,{mp_sent_by_lib_version:"2.59.0"}));var d=m,f=a.id;if(f){if(5<(this.P[f]||0))this.h("[dupe] item ID sent too many times, not sending",{item:a,L:g.length,Zd:this.P[f]}),d=A}else this.h("[dupe] found item with no ID",{item:a});d&&l.push(b)}j[a.id]=b},this);if(1>l.length)return this.mb=A,this.T(),w.resolve();var n=c.bind(function(){return this.ka.Cd(c.map(g,function(a){return a.id})).then(c.bind(function(a){c.a(g,c.bind(function(a){var b=
79
+ a.id;b?(this.P[b]=this.P[b]||0,this.P[b]++,5<this.P[b]&&this.h("[dupe] item ID sent too many times",{item:a,L:g.length,Zd:this.P[b]})):this.h("[dupe] found item with no ID while removing",{item:a})},this));if(a){this.Wa=0;return this.Sb&&!e?(this.T(),w.resolve()):this.flush()}5<++this.Wa?(this.h("Too many queue failures; disabling batching system."),this.Td()):this.T();return w.resolve()},this))},this),p=c.bind(function(e){this.mb=A;try{if(a.Cc)return this.ka.fe(j);if(c.g(e)&&"timeout"===e.error&&
80
+ (new Date).getTime()-d>=b)return this.h("Network timeout; retrying"),this.flush();var h;if(h=c.g(e)){var l;if(!(l=500<=e.Da)){var y;if(!(y=429===e.Da)){var o;if(o=0>=e.Da){var p=i.navigator.onLine;o=!(c.e(p)||p)}y=o||"timeout"===e.error}l=y}h=l}if(h){var q=2*this.Ba;e.oc&&(q=1E3*parseInt(e.oc,10)||q);q=Math.min(6E5,q);this.h("Error; retry in "+q+" ms");this.pc(q);return w.resolve()}if(c.g(e)&&413===e.Da){if(1<g.length){var B=Math.max(1,Math.floor(f/2));this.L=Math.min(this.L,B,g.length-1);this.h("413 response; reducing batch size to "+
81
+ this.L);this.T();return w.resolve()}this.h("Single-event request too large; dropping",g);this.nc()}return n()}catch(s){this.h("Error handling API response",s),this.T()}},this),o={method:"POST",Gc:m,fd:m,zc:b};if(a.Cc)o.tb="sendBeacon";Z.log("MIXPANEL REQUEST:",l);return this.Kd(l,o).then(p)},this)).catch(c.bind(function(a){this.h("Error flushing request queue",a);this.T()},this))};D.prototype.h=function(a,b){Z.error.apply(Z.error,arguments);if(this.R)try{b instanceof Error||(b=Error(a)),this.R(a,
82
+ b)}catch(c){Z.error(c)}};var Fb="__mp_opt_in_out_",ib={rc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.G(b)||(f[b]=a)},this):f[a]=b;d.$set=f;return d},Dc:function(a){var b={},d=[];c.isArray(a)||(a=[a]);c.a(a,function(a){this.G(a)||d.push(a)},this);b.$unset=d;return b},uc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.G(b)||(f[b]=a)},this):f[a]=b;d.$set_once=f;return d},Bc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.G(b)||(f[b]=c.isArray(a)?a:[a])},this):
83
+ f[a]=c.isArray(b)?b:[b];d.$union=f;return d},Pc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.G(b)||(f[b]=a)},this):f[a]=b;d.$append=f;return d},mc:function(a,b){var d={},f={};c.g(a)?c.a(a,function(a,b){this.G(b)||(f[b]=a)},this):f[a]=b;d.$remove=f;return d},me:function(){return{$delete:""}}};c.extend(s.prototype,ib);s.prototype.ea=function(a,b,c){this.d=a;this.Oa=b;this.Na=c};s.prototype.set=R(function(a,b,d){var f=this.rc(a,b);c.g(a)&&(d=b);return this.j(f,d)});s.prototype.U=R(function(a,
84
+ b,d){var f=this.uc(a,b);c.g(a)&&(d=b);return this.j(f,d)});s.prototype.Ia=R(function(a,b){return this.j(this.Dc(a),b)});s.prototype.pa=R(function(a,b,d){c.g(a)&&(d=b);return this.j(this.Bc(a,b),d)});s.prototype["delete"]=R(function(a){return this.j({$delete:""},a)});s.prototype.remove=R(function(a,b,c){return this.j(this.mc(a,b),c)});s.prototype.j=function(a,b){a.$group_key=this.Oa;a.$group_id=this.Na;a.$token=this.s("token");return this.d.Ra({type:"groups",data:c.Ya(a),M:this.s("api_host")+"/"+this.s("api_routes").groups,
85
+ Ua:this.d.B.cb},b)};s.prototype.G=function(a){return"$group_key"===a||"$group_id"===a};s.prototype.s=function(a){return this.d.c(a)};s.prototype.toString=function(){return this.d.toString()+".group."+this.Oa+"."+this.Na};s.prototype.remove=s.prototype.remove;s.prototype.set=s.prototype.set;s.prototype.set_once=s.prototype.U;s.prototype.union=s.prototype.pa;s.prototype.unset=s.prototype.Ia;s.prototype.toString=s.prototype.toString;c.extend(l.prototype,ib);l.prototype.ea=function(a){this.d=a};l.prototype.set=
86
+ L(function(a,b,d){var f=this.rc(a,b);c.g(a)&&(d=b);this.s("save_referrer")&&this.d.persistence.ub(document.referrer);f.$set=c.extend({},c.info.Bd(),f.$set);return this.j(f,d)});l.prototype.U=L(function(a,b,d){var f=this.uc(a,b);c.g(a)&&(d=b);return this.j(f,d)});l.prototype.Ia=L(function(a,b){return this.j(this.Dc(a),b)});l.prototype.Yb=L(function(a,b,d){var f={},e={};c.g(a)?(c.a(a,function(a,b){this.G(b)||(isNaN(parseFloat(a))?q.error("Invalid increment value passed to mixpanel.people.increment - must be a number"):
87
+ e[b]=a)},this),d=b):(c.e(b)&&(b=1),e[a]=b);f.$add=e;return this.j(f,d)});l.prototype.append=L(function(a,b,d){c.g(a)&&(d=b);return this.j(this.Pc(a,b),d)});l.prototype.remove=L(function(a,b,d){c.g(a)&&(d=b);return this.j(this.mc(a,b),d)});l.prototype.pa=L(function(a,b,d){c.g(a)&&(d=b);return this.j(this.Bc(a,b),d)});l.prototype.be=L(function(a,b,d){if(!c.ac(a)&&(a=parseFloat(a),isNaN(a))){q.error("Invalid value passed to mixpanel.people.track_charge - must be a number");return}return this.append("$transactions",
88
+ c.extend({$amount:a},b),d)});l.prototype.Ib=function(a){return this.set("$transactions",[],a)};l.prototype.Qb=function(){if(this.Pa())return this.j({$delete:this.d.O()});q.error("mixpanel.people.delete_user() requires you to call identify() first")};l.prototype.toString=function(){return this.d.toString()+".people"};l.prototype.j=function(a,b){a.$token=this.s("token");a.$distinct_id=this.d.O();var d=this.d.w("$device_id"),f=this.d.w("$user_id"),e=this.d.w("$had_persisted_distinct_id");d&&(a.$device_id=
89
+ d);f&&(a.$user_id=f);e&&(a.$had_persisted_distinct_id=e);d=c.Ya(a);return!this.Pa()?(this.Kc(a),c.e(b)||(this.s("verbose")?b({status:-1,error:r}):b(-1)),c.truncate(d,255)):this.d.Ra({type:"people",data:d,M:this.s("api_host")+"/"+this.s("api_routes").engage,Ua:this.d.B.kb},b)};l.prototype.s=function(a){return this.d.c(a)};l.prototype.Pa=function(){return this.d.ba.Vb===m};l.prototype.Kc=function(a){"$set"in a?this.d.persistence.v("$set",a):"$set_once"in a?this.d.persistence.v("$set_once",a):"$unset"in
90
+ a?this.d.persistence.v("$unset",a):"$add"in a?this.d.persistence.v("$add",a):"$append"in a?this.d.persistence.v("$append",a):"$remove"in a?this.d.persistence.v("$remove",a):"$union"in a?this.d.persistence.v("$union",a):q.error("Invalid call to _enqueue():",a)};l.prototype.ca=function(a,b,d,f){var e=this,h=c.extend({},this.d.persistence.ha(a)),i=h;!c.e(h)&&c.g(h)&&!c.Ea(h)&&(e.d.persistence.C(a,h),e.d.persistence.save(),f&&(i=f(h)),b.call(e,i,function(b,f){0===b&&e.d.persistence.v(a,h);c.e(d)||d(b,
91
+ f)}))};l.prototype.Lc=function(a,b,d,f,e,h,i){var j=this;this.ca("$set",this.set,a);this.ca("$set_once",this.U,f);this.ca("$unset",this.Ia,h,function(a){return c.keys(a)});this.ca("$add",this.Yb,b);this.ca("$union",this.pa,e);a=this.d.persistence.ha("$append");if(!c.e(a)&&c.isArray(a)&&a.length)for(var n,b=function(a,b){0===a&&j.d.persistence.v("$append",n);c.e(d)||d(a,b)},f=a.length-1;0<=f;f--)a=this.d.persistence.ha("$append"),n=a.pop(),j.d.persistence.save(),c.Ea(n)||j.append(n,b);a=this.d.persistence.ha("$remove");
92
+ if(!c.e(a)&&c.isArray(a)&&a.length)for(var l,b=function(a,b){0===a&&j.d.persistence.v("$remove",l);c.e(i)||i(a,b)},f=a.length-1;0<=f;f--)a=this.d.persistence.ha("$remove"),l=a.pop(),j.d.persistence.save(),c.Ea(l)||j.remove(l,b)};l.prototype.G=function(a){return"$distinct_id"===a||"$token"===a||"$device_id"===a||"$user_id"===a||"$had_persisted_distinct_id"===a};l.prototype.set=l.prototype.set;l.prototype.set_once=l.prototype.U;l.prototype.unset=l.prototype.Ia;l.prototype.increment=l.prototype.Yb;l.prototype.append=
93
+ l.prototype.append;l.prototype.remove=l.prototype.remove;l.prototype.union=l.prototype.pa;l.prototype.track_charge=l.prototype.be;l.prototype.clear_charges=l.prototype.Ib;l.prototype.delete_user=l.prototype.Qb;l.prototype.toString=l.prototype.toString;var Lb="__mps,__mpso,__mpus,__mpa,__mpap,__mpr,__mpu,$people_distinct_id,__alias,__timers".split(",");p.prototype.ja=function(){var a={};this.load();c.a(this.props,function(b,d){c.Xb(Lb,d)||(a[d]=b)});return a};p.prototype.load=function(){if(!this.disabled){var a=
94
+ this.l.parse(this.name);a&&(this.props=c.extend({},a))}};p.prototype.ge=function(){var a;this.l===c.localStorage?(a=c.cookie.parse(this.name),c.cookie.remove(this.name),c.cookie.remove(this.name,m),a&&this.F(a)):this.l===c.cookie&&(a=c.localStorage.parse(this.name),c.localStorage.remove(this.name),a&&this.F(a))};p.prototype.save=function(){this.disabled||this.l.set(this.name,c.qa(this.props),this.ab,this.Xa,this.qc,this.Ob,this.wa)};p.prototype.Ga=function(a){this.load();return this.props[a]};p.prototype.remove=
95
+ function(){this.l.remove(this.name,A,this.wa);this.l.remove(this.name,m,this.wa)};p.prototype.clear=function(){this.remove();this.props={}};p.prototype.F=function(a,b,d){return c.g(a)?("undefined"===typeof b&&(b="None"),this.ab="undefined"===typeof d?this.Pb:d,this.load(),c.a(a,function(a,c){if(!this.props.hasOwnProperty(c)||this.props[c]===b)this.props[c]=a},this),this.save(),m):A};p.prototype.q=function(a,b){return c.g(a)?(this.ab="undefined"===typeof b?this.Pb:b,this.load(),c.extend(this.props,
96
+ a),this.save(),m):A};p.prototype.Z=function(a){this.load();a in this.props&&(delete this.props[a],this.save())};p.prototype.Fc=function(a){this.q(c.info.Gd(a))};p.prototype.ub=function(a){this.F({$initial_referrer:a||"$direct",$initial_referring_domain:c.info.kc(a)||"$direct"},"")};p.prototype.dd=function(){return c.W({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};p.prototype.Ec=function(a){this.Pb=this.ab=a.cookie_expiration;this.tc(a.disable_persistence);
97
+ this.Md(a.cookie_domain);this.Nd(a.cross_site_cookie);this.Od(a.cross_subdomain_cookie);this.Rd(a.secure_cookie)};p.prototype.tc=function(a){(this.disabled=a)?this.remove():this.save()};p.prototype.Md=function(a){if(a!==this.wa)this.remove(),this.wa=a,this.save()};p.prototype.Nd=function(a){if(a!==this.Ob)this.Ob=a,this.remove(),this.save()};p.prototype.Od=function(a){if(a!==this.Xa)this.Xa=a,this.remove(),this.save()};p.prototype.bd=function(){return this.Xa};p.prototype.Rd=function(a){if(a!==this.qc)this.qc=
98
+ a?m:A,this.remove(),this.save()};p.prototype.v=function(a,b){var d=this.sa(a),f=b[a],e=this.K("$set"),h=this.K("$set_once"),i=this.K("$unset"),j=this.K("$add"),n=this.K("$union"),l=this.K("$remove",[]),o=this.K("$append",[]);"__mps"===d?(c.extend(e,f),this.C("$add",f),this.C("$union",f),this.C("$unset",f)):"__mpso"===d?(c.a(f,function(a,b){b in h||(h[b]=a)}),this.C("$unset",f)):"__mpus"===d?c.a(f,function(a){c.a([e,h,j,n],function(b){a in b&&delete b[a]});c.a(o,function(b){a in b&&delete b[a]});i[a]=
99
+ m}):"__mpa"===d?(c.a(f,function(a,b){b in e?e[b]+=a:(b in j||(j[b]=0),j[b]+=a)},this),this.C("$unset",f)):"__mpu"===d?(c.a(f,function(a,b){c.isArray(a)&&(b in n||(n[b]=[]),n[b]=n[b].concat(a))}),this.C("$unset",f)):"__mpr"===d?(l.push(f),this.C("$append",f)):"__mpap"===d&&(o.push(f),this.C("$unset",f));q.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):");q.log(b);this.save()};p.prototype.C=function(a,b){var d=this.props[this.sa(a)];c.e(d)||c.a(b,function(b,e){"$append"===a||"$remove"===a?
100
+ c.a(d,function(a){a[e]===b&&delete a[e]}):delete d[e]},this)};p.prototype.ha=function(a){return this.Ga(this.sa(a))};p.prototype.sa=function(a){if("$set"===a)return"__mps";if("$set_once"===a)return"__mpso";if("$unset"===a)return"__mpus";if("$add"===a)return"__mpa";if("$append"===a)return"__mpap";if("$remove"===a)return"__mpr";if("$union"===a)return"__mpu";q.error("Invalid queue:",a)};p.prototype.K=function(a,b){var d=this.sa(a),b=c.e(b)?{}:b;return this.props[d]||(this.props[d]=b)};p.prototype.Pd=
101
+ function(a){var b=(new Date).getTime(),c=this.Ga("__timers")||{};c[a]=b;this.props.__timers=c;this.save()};p.prototype.Dd=function(a){var b=(this.Ga("__timers")||{})[a];c.e(b)||(delete this.props.__timers[a],this.save());return b};var pa,u,S=i.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Ga=!S&&-1===z.indexOf("MSIE")&&-1===z.indexOf("Mozilla"),oa=r;N.sendBeacon&&(oa=function(){return N.sendBeacon.apply(N,arguments)});var jb={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},
102
+ kb={api_host:"https://api-js.mixpanel.com",api_routes:jb,api_method:"POST",api_transport:"XHR",api_payload_format:"base64",app_host:"https://mixpanel.com",autocapture:A,cdn:"https://cdn.mxpnl.com",cross_site_cookie:A,cross_subdomain_cookie:m,error_reporter:U,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:U,mp_loader:r,track_marketing:m,track_pageview:A,skip_first_touch_marketing:A,store_google:m,stop_utm_persistence:A,save_referrer:m,test:A,verbose:A,img:A,debug:A,
103
+ track_links_timeout:300,cookie_expiration:365,upgrade:A,disable_persistence:A,disable_cookie:A,secure_cookie:A,ip:m,opt_out_tracking_by_default:A,opt_out_persistence_by_default:A,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:r,property_blacklist:[],xhr_headers:{},ignore_dnt:A,batch_requests:m,batch_size:50,batch_flush_interval_ms:5E3,batch_request_timeout_ms:9E4,batch_autostart:m,hooks:{},record_block_class:/^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$/,
104
+ record_block_selector:"img, video",record_canvas:A,record_collect_fonts:A,record_idle_timeout_ms:18E5,record_mask_text_class:/^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$/,record_mask_text_selector:"*",record_max_ms:864E5,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},Fa=A;e.prototype.D=function(a,b,d){if(c.e(d))this.k("You must name your new library: init(token, config, name)");else if("mixpanel"===d)this.k("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");
105
+ else return a=$(a,b,d),u[d]=a,a.ta(),a};e.prototype.ea=function(a,b,d){b=b||{};this.__loaded=m;this.config={};var e={};"api_payload_format"in b||(b.api_host||kb.api_host).match(/\.mixpanel\.com/)&&(e.api_payload_format="json");this.sc(c.extend({},kb,e,b,{name:d,token:a,callback_fn:("mixpanel"===d?d:"mixpanel."+d)+"._jsc"}));this._jsc=U;this.Ka=[];this.La=[];this.Ja=[];this.ba={disable_all_events:A,identify_called:A};this.B={};if(this.aa=this.c("batch_requests"))if(!c.localStorage.Fa(m)||!S)this.aa=
106
+ A,q.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),c.a(this.Tb(),function(a){q.log("Clearing batch queue "+a.la);c.localStorage.remove(a.la)});else if(this.md(),oa&&i.addEventListener){var g=c.bind(function(){this.B.S.na||this.B.S.flush({Cc:m})},this);i.addEventListener("pagehide",function(a){a.persisted&&g()});i.addEventListener("visibilitychange",function(){"hidden"===o.visibilityState&&g()})}this.persistence=this.cookie=new p(this.config);this.Y={};this.Mc();a=
107
+ c.xb();this.O()||this.F({distinct_id:"$device:"+a,$device_id:a},"");this.Ta=new C(this);this.Ta.D();0<this.c("record_sessions_percent")&&100*Math.random()<=this.c("record_sessions_percent")&&this.xc()};e.prototype.xc=O(function(){if(i.MutationObserver){var a=c.bind(function(){this.Q=this.Q||new i.__mp_recorder(this);this.Q.startRecording()},this);c.e(i.__mp_recorder)?Ha(this.c("recorder_src"),a):a()}else q.m("Browser does not support MutationObserver; skipping session recording")});e.prototype.Vd=
108
+ function(){this.Q?this.Q.stopRecording():q.m("Session recorder module not loaded")};e.prototype.Ub=function(){var a={},b=this.Cb();b&&(a.$mp_replay_id=b);return a};e.prototype.ed=function(){var a=r,b=this.Cb();b&&(a="https://mixpanel.com/projects/replay-redirect?"+c.wb({replay_id:b,distinct_id:this.O(),token:this.c("token")}));return a};e.prototype.Cb=function(){var a=r;this.Q&&(a=this.Q.replayId);return a||r};e.prototype.ta=function(){this.c("loaded")(this);this.Gb();this.people.U(this.persistence.dd());
109
+ if(this.c("store_google")&&this.c("stop_utm_persistence")){var a=c.info.fa(r);c.a(a,function(a,c){this.Z(c)}.bind(this))}};e.prototype.Gb=function(){this.persistence.Fc(o.referrer);this.c("store_google")&&!this.c("stop_utm_persistence")&&this.q(c.info.fa());this.c("save_referrer")&&this.persistence.ub(o.referrer)};e.prototype.Jc=function(){c.a(this.Ka,function(a){this.Qa.apply(this,a)},this);this.ga()||c.a(this.La,function(a){this.j.apply(this,a)},this);delete this.Ka;delete this.La};e.prototype.Qa=
110
+ function(a,b){if(this.c("img"))return this.k("You can't use DOM tracking functions with img = true."),A;if(!Fa)return this.Ka.push([a,b]),A;var c=(new a).D(this);return c.o.apply(c,b)};e.prototype.Db=function(a,b){if(c.e(a))return r;if(S)return function(c){a(c,b)};var d=this._jsc,e=""+Math.floor(1E8*Math.random()),g=this.c("callback_fn")+"["+e+"]";d[e]=function(c){delete d[e];a(c,b)};return g};e.prototype.j=function(a,b,d,e){var g=m;if(Ga)return this.La.push(arguments),g;var h={method:this.c("api_method"),
111
+ tb:this.c("api_transport"),Gc:this.c("verbose")},i=r;if(!e&&(c.gb(d)||"string"===typeof d))e=d,d=r;d=c.extend(h,d||{});if(!S)d.method="GET";var h="POST"===d.method,j=oa&&h&&"sendbeacon"===d.tb.toLowerCase(),n=d.Gc;b.verbose&&(n=m);this.c("test")&&(b.test=1);n&&(b.verbose=1);this.c("img")&&(b.img=1);if(!S)if(e)b.callback=e;else if(n||this.c("test"))b.callback="(function(){})";b.ip=this.c("ip")?1:0;b._=(new Date).getTime().toString();h&&(i="data="+encodeURIComponent(b.data),delete b.data);var a=a+("?"+
112
+ c.wb(b)),l=this;if("img"in b)i=o.createElement("img"),i.src=a,o.body.appendChild(i);else if(j){try{g=oa(a,i)}catch(p){l.k(p),g=A}try{e&&e(g?1:0)}catch(q){l.k(q)}}else if(S)try{var t=new XMLHttpRequest;t.open(d.method,a,m);var s=this.c("xhr_headers");h&&(s["Content-Type"]="application/x-www-form-urlencoded");c.a(s,function(a,b){t.setRequestHeader(b,a)});if(d.zc&&"undefined"!==typeof t.timeout){t.timeout=d.zc;var u=(new Date).getTime()}t.withCredentials=m;t.onreadystatechange=function(){if(4===t.readyState)if(200===
113
+ t.status){if(e)if(n){var a;try{a=c.$(t.responseText)}catch(b){if(l.k(b),d.fd)a=t.responseText;else return}e(a)}else e(Number(t.responseText))}else a=t.timeout&&!t.status&&(new Date).getTime()-u>=t.timeout?"timeout":"Bad HTTP status: "+t.status+" "+t.statusText,l.k(a),e&&(n?e({status:0,Da:t.status,error:a,oc:(t.responseHeaders||{})["Retry-After"]}):e(0))};t.send(i)}catch(w){l.k(w),g=A}else i=o.createElement("script"),i.type="text/javascript",i.async=m,i.defer=m,i.src=a,s=o.getElementsByTagName("script")[0],
114
+ s.parentNode.insertBefore(i,s);return g};e.prototype.Ma=function(a){function b(a,b){c.a(a,function(a){if(c.isArray(a[0])){var d=b;c.a(a,function(a){d=d[a[0]].apply(d,a.slice(1))})}else this[a[0]].apply(this,a.slice(1))},b)}var d,e=[],g=[],h=[];c.a(a,function(a){a&&(d=a[0],c.isArray(d)?h.push(a):"function"===typeof a?a.call(this):c.isArray(a)&&"alias"===d?e.push(a):c.isArray(a)&&-1!==d.indexOf("track")&&"function"===typeof this[d]?h.push(a):g.push(a))},this);b(e,this);b(g,this);b(h,this)};e.prototype.Hb=
115
+ function(){return!!this.B.S};e.prototype.Tb=function(){var a="__mpq_"+this.c("token"),b=this.c("api_routes");return this.yb=this.yb||{S:{type:"events",M:"/"+b.track,la:a+"_ev"},kb:{type:"people",M:"/"+b.engage,la:a+"_pp"},cb:{type:"groups",M:"/"+b.groups,la:a+"_gr"}}};e.prototype.md=function(){if(!this.Hb()){var a=c.bind(function(a){return new D(a.la,{I:this.config,R:this.c("error_reporter"),Jd:c.bind(function(b,c,e){this.j(this.c("api_host")+a.M,this.Ab(b),c,this.Db(e,b))},this),ua:c.bind(function(b){return this.Fb("before_send_"+
116
+ a.type,b)},this),Ud:c.bind(this.pb,this),u:m})},this),b=this.Tb();this.B={S:a(b.S),kb:a(b.kb),cb:a(b.cb)}}this.c("batch_autostart")&&this.ob()};e.prototype.ob=function(){this.Hc=m;if(this.Hb())this.aa=m,c.a(this.B,function(a){a.start()})};e.prototype.pb=function(){this.aa=A;c.a(this.B,function(a){a.stop();a.clear()})};e.prototype.push=function(a){this.Ma([a])};e.prototype.disable=function(a){"undefined"===typeof a?this.ba.Tc=m:this.Ja=this.Ja.concat(a)};e.prototype.Ab=function(a){a=c.qa(a);"base64"===
117
+ this.c("api_payload_format")&&(a=c.Qc(a));return{data:a}};e.prototype.Ra=function(a,b){var d=c.truncate(a.data,255),e=a.M,g=a.Ua,h=a.Sd,i=a.Ld||{},b=b||U,j=m,l=c.bind(function(){i.wc||(d=this.Fb("before_send_"+a.type,d));return d?(q.log("MIXPANEL REQUEST:"),q.log(d),this.j(e,this.Ab(d),i,this.Db(b,d))):r},this);this.aa&&!h?g.Za(d).then(function(a){a?b(1,d):l()}):j=l();return j&&d};e.prototype.o=O(function(a,b,d,e){!e&&"function"===typeof d&&(e=d,d=r);var d=d||{},g=d.transport;if(g)d.tb=g;g=d.send_immediately;
118
+ "function"!==typeof e&&(e=U);if(c.e(a))this.k("No event name provided to mixpanel.track");else if(this.Bb(a))e(0);else{b=c.extend({},b);b.token=this.c("token");var h=this.persistence.Dd(a);c.e(h)||(b.$duration=parseFloat((((new Date).getTime()-h)/1E3).toFixed(3)));this.Gb();h=this.c("track_marketing")?c.info.xd():{};b=c.extend({},c.info.ja({mp_loader:this.c("mp_loader")}),h,this.persistence.ja(),this.Y,this.Ub(),b);h=this.c("property_blacklist");c.isArray(h)?c.a(h,function(a){delete b[a]}):this.k("Invalid value for property_blacklist config: "+
119
+ h);return this.Ra({type:"events",data:{event:a,properties:b},M:this.c("api_host")+"/"+this.c("api_routes").track,Ua:this.B.S,Sd:g,Ld:d},e)}});e.prototype.Qd=O(function(a,b,d){c.isArray(b)||(b=[b]);var e={};e[a]=b;this.q(e);return this.people.set(a,b,d)});e.prototype.Nc=O(function(a,b,c){var e=this.w(a),g={};e===k?(g[a]=[b],this.q(g)):-1===e.indexOf(b)&&(e.push(b),g[a]=e,this.q(g));return this.people.pa(a,b,c)});e.prototype.Ed=O(function(a,b,c){var e=this.w(a);if(e!==k){var g=e.indexOf(b);-1<g&&(e.splice(g,
120
+ 1),this.q({ne:e}));0===e.length&&this.Z(a)}return this.people.remove(a,b,c)});e.prototype.ee=O(function(a,b,d,e){var g=c.extend({},b||{});c.a(d,function(a,b){a!==r&&a!==k&&(g[b]=a)});return this.o(a,g,e)});e.prototype.Ic=function(a,b){return a+"_"+JSON.stringify(b)};e.prototype.cd=function(a,b){var c=this.Ic(a,b),e=this.zb[c];if(e===k||e.Oa!==a||e.Na!==b)e=new s,e.ea(this,a,b),this.zb[c]=e;return e};e.prototype.sb=O(function(a,b){"object"!==typeof a&&(a={});var b=b||{},d=b.event_name||"$mp_web_page_view",
121
+ e=c.extend(c.info.yd(),c.info.fa(),c.info.Kb()),e=c.extend({},e,a);return this.o(d,e)});e.prototype.de=function(){return this.Qa.call(this,Q,arguments)};e.prototype.ce=function(){return this.Qa.call(this,aa,arguments)};e.prototype.Yd=function(a){c.e(a)?this.k("No event name provided to mixpanel.time_event"):this.Bb(a)||this.persistence.Pd(a)};var ob={persistent:m};e.prototype.q=function(a,b){var d=qa(b);d.persistent?this.persistence.q(a,d.days):c.extend(this.Y,a)};e.prototype.F=function(a,b,d){d=
122
+ qa(d);d.persistent?this.persistence.F(a,b,d.days):("undefined"===typeof b&&(b="None"),c.a(a,function(a,c){if(!this.Y.hasOwnProperty(c)||this.Y[c]===b)this.Y[c]=a},this))};e.prototype.Z=function(a,b){b=qa(b);b.persistent?this.persistence.Z(a):delete this.Y[a]};e.prototype.Eb=function(a,b){var c={};c[a]=b;this.q(c)};e.prototype.eb=function(a,b,c,e,g,h,i,j){var l=this.O();if(a&&l!==a){if("string"===typeof a&&0===a.indexOf("$device:"))return this.k("distinct_id cannot have $device: prefix"),-1;this.q({$user_id:a})}this.w("$device_id")||
123
+ this.F({$had_persisted_distinct_id:m,$device_id:l},"");a!==l&&a!==this.w("__alias")&&(this.Z("__alias"),this.q({distinct_id:a}));this.ba.Vb=m;this.people.Lc(b,c,e,g,h,i,j);a!==l&&this.o("$identify",{distinct_id:a,$anon_distinct_id:l},{wc:m})};e.prototype.reset=function(){this.persistence.clear();this.ba.Vb=A;var a=c.xb();this.F({distinct_id:"$device:"+a,$device_id:a},"")};e.prototype.O=function(){return this.w("distinct_id")};e.prototype.Oc=function(a,b){if(a===this.w("$people_distinct_id"))return this.k("Attempting to create alias for existing People user - aborting."),
124
+ -2;var d=this;c.e(b)&&(b=this.O());if(a!==b)return this.Eb("__alias",a),this.o("$create_alias",{alias:a,distinct_id:b},{wc:m},function(){d.eb(a)});this.k("alias matches current distinct_id - skipping api call.");this.eb(a);return-1};e.prototype.zd=function(a){this.Eb("mp_name_tag",a)};e.prototype.sc=function(a){if(c.g(a))c.extend(this.config,a),a.batch_size&&c.a(this.B,function(a){a.nc()}),this.c("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.c("disable_persistence")||
125
+ (this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.Ec(this.config),J=J||this.c("debug"),"autocapture"in a&&this.Ta&&this.Ta.D()};e.prototype.c=function(a){return this.config[a]};e.prototype.Fb=function(a){var b=(this.config.hooks[a]||pb).apply(this,P.call(arguments,1));"undefined"===typeof b&&(this.k(a+" hook did not return a value"),b=r);return b};e.prototype.w=function(a){return this.persistence.Ga([a])};e.prototype.toString=function(){var a=this.c("name");
126
+ "mixpanel"!==a&&(a="mixpanel."+a);return a};e.prototype.Bb=function(a){return c.$b(z)||this.ba.Tc||c.Xb(this.Ja,a)};e.prototype.Mc=function(){"localStorage"===this.c("opt_out_tracking_persistence_type")&&c.localStorage.Fa()&&(!this.Ca()&&this.Ca({persistence_type:"cookie"})&&this.cc({enable_persistence:A}),!this.ga()&&this.ga({persistence_type:"cookie"})&&this.jb({clear_persistence:A}),this.Jb({persistence_type:"cookie",enable_persistence:A}));if(this.ga())this.ra({clear_persistence:m});else if(!this.Ca()&&
127
+ (this.c("opt_out_tracking_by_default")||c.cookie.get("mp_optout")))c.cookie.remove("mp_optout"),this.jb({clear_persistence:this.c("opt_out_persistence_by_default")})};e.prototype.ra=function(a){if(a&&a.clear_persistence)a=m;else if(a&&a.enable_persistence)a=A;else return;!this.c("disable_persistence")&&this.persistence.disabled!==a&&this.persistence.tc(a);a?this.pb():this.Hc&&this.ob()};e.prototype.da=function(a,b){b=c.extend({track:c.bind(this.o,this),persistence_type:this.c("opt_out_tracking_persistence_type"),
128
+ cookie_prefix:this.c("opt_out_tracking_cookie_prefix"),cookie_expiration:this.c("cookie_expiration"),cross_site_cookie:this.c("cross_site_cookie"),cross_subdomain_cookie:this.c("cross_subdomain_cookie"),cookie_domain:this.c("cookie_domain"),secure_cookie:this.c("secure_cookie"),ignore_dnt:this.c("ignore_dnt")},b);c.localStorage.Fa()||(b.persistence_type="cookie");return a(this.c("token"),{o:b.track,$d:b.track_event_name,ae:b.track_properties,hc:b.persistence_type,gc:b.cookie_prefix,Lb:b.cookie_domain,
129
+ Mb:b.cookie_expiration,Sc:b.cross_site_cookie,Nb:b.cross_subdomain_cookie,Hd:b.secure_cookie,Wb:b.ignore_dnt})};e.prototype.cc=function(a){a=c.extend({enable_persistence:m},a);this.da(Ab,a);this.ra(a)};e.prototype.jb=function(a){a=c.extend({clear_persistence:m,delete_user:m},a);a.delete_user&&this.people&&this.people.Pa()&&(this.people.Qb(),this.people.Ib());this.da(Bb,a);this.ra(a)};e.prototype.Ca=function(a){return this.da(Cb,a)};e.prototype.ga=function(a){return this.da(Ya,a)};e.prototype.Jb=function(a){a=
130
+ c.extend({enable_persistence:m},a);this.da(Eb,a);this.ra(a)};e.prototype.k=function(a,b){q.error.apply(q.error,arguments);try{!b&&!(a instanceof Error)&&(a=Error(a)),this.c("error_reporter")(a,b)}catch(c){q.error(c)}};e.prototype.init=e.prototype.D;e.prototype.reset=e.prototype.reset;e.prototype.disable=e.prototype.disable;e.prototype.time_event=e.prototype.Yd;e.prototype.track=e.prototype.o;e.prototype.track_links=e.prototype.de;e.prototype.track_forms=e.prototype.ce;e.prototype.track_pageview=e.prototype.sb;
131
+ e.prototype.register=e.prototype.q;e.prototype.register_once=e.prototype.F;e.prototype.unregister=e.prototype.Z;e.prototype.identify=e.prototype.eb;e.prototype.alias=e.prototype.Oc;e.prototype.name_tag=e.prototype.zd;e.prototype.set_config=e.prototype.sc;e.prototype.get_config=e.prototype.c;e.prototype.get_property=e.prototype.w;e.prototype.get_distinct_id=e.prototype.O;e.prototype.toString=e.prototype.toString;e.prototype.opt_out_tracking=e.prototype.jb;e.prototype.opt_in_tracking=e.prototype.cc;
132
+ e.prototype.has_opted_out_tracking=e.prototype.ga;e.prototype.has_opted_in_tracking=e.prototype.Ca;e.prototype.clear_opt_in_out_tracking=e.prototype.Jb;e.prototype.get_group=e.prototype.cd;e.prototype.set_group=e.prototype.Qd;e.prototype.add_group=e.prototype.Nc;e.prototype.remove_group=e.prototype.Ed;e.prototype.track_with_groups=e.prototype.ee;e.prototype.start_batch_senders=e.prototype.ob;e.prototype.stop_batch_senders=e.prototype.pb;e.prototype.start_session_recording=e.prototype.xc;e.prototype.stop_session_recording=
133
+ e.prototype.Vd;e.prototype.get_session_recording_properties=e.prototype.Ub;e.prototype.get_session_replay_url=e.prototype.ed;e.prototype.DEFAULT_API_ROUTES=jb;p.prototype.properties=p.prototype.ja;p.prototype.update_search_keyword=p.prototype.Fc;p.prototype.update_referrer_info=p.prototype.ub;p.prototype.get_cross_subdomain=p.prototype.bd;p.prototype.clear=p.prototype.clear;var I={};(function(a){Ha=a;pa=1;u=i.mixpanel;c.e(u)?q.m('"mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide.'):
134
+ u.__loaded||u.config&&u.persistence?q.m("The Mixpanel library has already been downloaded at least once. Ensure that the Mixpanel code snippet only appears once on the page (and is not double-loaded by a tag manager) in order to avoid errors."):1.1>(u.__SV||0)?q.m("Version mismatch; please ensure you're using the latest version of the Mixpanel code snippet."):(c.a(u._i,function(a){a&&c.isArray(a)&&(I[a[a.length-1]]=$.apply(this,a))}),mb(),u.init(),c.a(I,function(a){a.ta()}),lb())})(function(a,b){var c=
135
+ document.createElement("script");c.type="text/javascript";c.async=m;c.onload=b;c.src=a;document.head.appendChild(c)})})();
124
136
  })();