Add mixpanel script to project

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent 85596cb3ff
commit 301c3eb38a
  1. 1
      project/templates/lilcity/index.html
  2. 118
      web/src/js/third_party/mixpanel-2-latest.js
  3. 12
      web/webpack.config.js
  4. 269
      web/yarn.lock

@ -53,6 +53,7 @@
LIL_SERVER_TIME_DIFF = Math.floor((new Date().getTime()) / 1000) - parseInt(LIL_SERVER_TIME);
USER_ID = "{{ request.user.id }}";
COURSE_ID = "{{ course.id }}";
MIXPANEL_CUSTOM_LIB_URL = "/static/mixpanel.js";
</script>
{% block mixpanel %}
<!-- start Mixpanel -->

@ -0,0 +1,118 @@
(function() {
var l=!0,m=null,s=!1;function C(){return function(){}}
(function(){function $(a){function b(){try{a.C=a.C||{},a.C.$__c=(a.C.$__c||0)+1,c.cookie.set("mp_"+d+"__c",a.C.$__c,1,l)}catch(b){o.error(b)}}var d=a.c("name");a.C=a.C||{};a.C.$__c=parseInt(c.cookie.get("mp_"+d+"__c"))||0;c.p(n,"submit",b);c.p(n,"change",b);var e=m;c.p(n,"mousedown",function(a){e=a.target});c.p(n,"mouseup",function(a){a.target===e&&b()})}function aa(){function a(){if(!a.Sc)V=a.Sc=l,W=s,c.a(z,function(a){a.mc()})}function b(){try{n.documentElement.doScroll("left")}catch(d){setTimeout(b,1);
return}a()}if(n.addEventListener)"complete"===n.readyState?a():n.addEventListener("DOMContentLoaded",a,s);else if(n.attachEvent){n.attachEvent("onreadystatechange",a);var d=s;try{d=t.frameElement===m}catch(e){}n.documentElement.doScroll&&d&&b()}c.p(t,"load",a,l)}function ba(){v.init=function(a,b,d){if(d)return v[d]||(v[d]=z[d]=K(a,b,d),v[d].qa()),v[d];d=v;if(z.mixpanel)d=z.mixpanel;else if(a)d=K(a,b,"mixpanel"),d.qa(),z.mixpanel=d;v=d;1===S&&(t.mixpanel=v);ca()}}function ca(){c.a(z,function(a,b){"mixpanel"!==
b&&(v[b]=a)});v._=c}function K(a,b,d){var e,f="mixpanel"===d?v:v[d];if(f&&0===S)e=f;else{if(f&&!c.isArray(f)){o.error("You have already initialized "+d);return}e=new h}e.La(a,b,d);e.people=new p;e.people.La(e);A=A||e.c("debug");e.__autotrack_enabled=e.c("autotrack");if(e.c("autotrack")){H.Tc(e.c("token"),100,100)?H.Yc()?H.W(e):(e.__autotrack_enabled=s,o.log("Disabling Automatic Event Collection because this browser is not supported")):(e.__autotrack_enabled=s,o.log("Not in active bucket: disabling Automatic Event Collection."));
try{$(e)}catch(j){o.error(j)}}!c.d(f)&&c.isArray(f)&&(e.Ia.call(e.people,f.people),e.Ia(f));return e}function p(){}function h(){}function q(a){this.props={};this.Bb=s;this.name=a.persistence_name?"mp_"+a.persistence_name:"mp_"+a.token+"_mixpanel";var b=a.persistence;if("cookie"!==b&&"localStorage"!==b)o.U("Unknown persistence type "+b+"; falling back to cookie"),b=a.persistence="cookie";if(b="localStorage"===b){b=l;try{c.localStorage.set("__mplssupport__","xyz"),"xyz"!==c.localStorage.get("__mplssupport__")&&
(b=s),c.localStorage.remove("__mplssupport__")}catch(d){b=s}b||o.error("localStorage unsupported; falling back to cookie store")}this.v=b?c.localStorage:c.cookie;this.load();this.ac(a);this.xd(a);this.save()}function L(){this.Qb="submit"}function D(){this.Qb="click"}function y(){}function M(a){switch(typeof a.className){case "string":return a.className;case "object":return a.className.Ed||a.getAttribute("class")||"";default:return""}}function da(a){var b="";N(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(O).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))});return c.trim(b)}function E(a,b){return a&&a.tagName&&a.tagName.toLowerCase()===b.toLowerCase()}function ea(a,b){if(!a||E(a,"html")||!(a&&1===a.nodeType))return s;switch(a.tagName.toLowerCase()){case "html":return s;case "form":return"submit"===b.type;case "input":return-1===["button","submit"].indexOf(a.getAttribute("type"))?
"change"===b.type:"click"===b.type;case "select":case "textarea":return"change"===b.type;default:return"click"===b.type}}function N(a){for(var b=a;b.parentNode&&!E(b,"body");b=b.parentNode){var d=M(b).split(" ");if(c.e(d,"mp-sensitive")||c.e(d,"mp-no-track"))return s}if(c.e(M(a).split(" "),"mp-include"))return l;if(E(a,"input")||E(a,"select")||E(a,"textarea")||"true"===a.getAttribute("contenteditable"))return s;b=a.type||"";if("string"===typeof b)switch(b.toLowerCase()){case "hidden":return s;case "password":return s}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,""))?s:l}function O(a){if(a===m||c.d(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 s;
return l}var A=s,t;if("undefined"===typeof window){var B={hostname:""};t={navigator:{userAgent:""},document:{location:B,referrer:""},screen:{width:0,height:0},location:B}}else t=window;var B=Array.prototype,X=Object.prototype,F=B.slice,I=X.toString,P=X.hasOwnProperty,x=t.console,G=t.navigator,n=t.document,J=t.opera,Q=t.screen,w=G.userAgent,T=Function.prototype.bind,Y=B.forEach,Z=B.indexOf,B=Array.isArray,U={},c={trim:function(a){return a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},o={log:function(){if(A&&
!c.d(x)&&x)try{x.log.apply(x,arguments)}catch(a){c.a(arguments,function(a){x.log(a)})}},error:function(){if(A&&!c.d(x)&&x){var a=["Mixpanel error:"].concat(c.ia(arguments));try{x.error.apply(x,a)}catch(b){c.a(a,function(a){x.error(a)})}}},U:function(){if(!c.d(x)&&x){var a=["Mixpanel error:"].concat(c.ia(arguments));try{x.error.apply(x,a)}catch(b){c.a(a,function(a){x.error(a)})}}}};c.bind=function(a,b){var d,e;if(T&&a.bind===T)return T.apply(a,F.call(arguments,1));if(!c.$a(a))throw new TypeError;d=
F.call(arguments,2);return e=function(){if(!(this instanceof e))return a.apply(b,d.concat(F.call(arguments)));var c={};c.prototype=a.prototype;var j=new c;c.prototype=m;c=a.apply(j,d.concat(F.call(arguments)));return Object(c)===c?c:j}};c.zb=function(a){for(var b in a)"function"===typeof a[b]&&(a[b]=c.bind(a[b],a))};c.a=function(a,b,d){if(!(a===m||void 0===a))if(Y&&a.forEach===Y)a.forEach(b,d);else if(a.length===+a.length)for(var c=0,f=a.length;c<f&&!(c in a&&b.call(d,a[c],c,a)===U);c++);else for(c in a)if(P.call(a,
c)&&b.call(d,a[c],c,a)===U)break};c.L=function(a){a&&c.ab(a)&&(a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;"));return a};c.extend=function(a){c.a(F.call(arguments,1),function(b){for(var d in b)void 0!==b[d]&&(a[d]=b[d])});return a};c.isArray=B||function(a){return"[object Array]"===I.call(a)};c.$a=function(a){try{return/^\s*\bfunction\b/.test(a)}catch(b){return s}};c.Xc=function(a){return!(!a||!P.call(a,"callee"))};c.ia=function(a){return!a?
[]:a.ia?a.ia():c.isArray(a)||c.Xc(a)?F.call(a):c.zd(a)};c.keys=function(a){var b=[];if(a===m)return b;c.a(a,function(a,c){b[b.length]=c});return b};c.zd=function(a){var b=[];if(a===m)return b;c.a(a,function(a){b[b.length]=a});return b};c.Fd=function(a){return a};c.Ib=function(a,b){var d=s;if(a===m)return d;if(Z&&a.indexOf===Z)return-1!=a.indexOf(b);c.a(a,function(a){if(d||(d=a===b))return U});return d};c.e=function(a,b){return-1!==a.indexOf(b)};c.Kb=function(a,b){a.prototype=new b;a.rd=b.prototype};
c.k=function(a){return a===Object(a)&&!c.isArray(a)};c.Za=function(a){if(c.k(a)){for(var b in a)if(P.call(a,b))return s;return l}return s};c.d=function(a){return void 0===a};c.ab=function(a){return"[object String]"==I.call(a)};c.Zc=function(a){return"[object Date]"==I.call(a)};c.ad=function(a){return"[object Number]"==I.call(a)};c.$c=function(a){return!!(a&&1===a.nodeType)};c.Fb=function(a){c.a(a,function(b,d){c.Zc(b)?a[d]=c.Uc(b):c.k(b)&&(a[d]=c.Fb(b))});return a};c.timestamp=function(){Date.now=
Date.now||function(){return+new Date};return Date.now()};c.Uc=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.l=function(a){return function(){try{return a.apply(this,arguments)}catch(b){o.U("Implementation error. Please turn on debug and contact support@mixpanel.com."),A&&o.U(b)}}};c.gd=function(a){for(var b=["identify","_check_and_handle_notifications",
"_show_notification"],d=0;d<b.length;d++)a.prototype[b[d]]=c.l(a.prototype[b[d]])};c.hd=function(a){for(var b in a)"function"===typeof a[b]&&(a[b]=c.l(a[b]))};c.xa=function(a){var b={};c.a(a,function(a,e){c.ab(a)&&0<a.length&&(b[e]=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.k(a)?(d={},c.a(a,function(a,f){d[f]=c.truncate(a,b)})):d=a;return d};c.ma=function(){return function(a){function b(a,c){var j=
"",k=0,i=k="",i=0,g=j,h=[],r=c[a];r&&"object"===typeof r&&"function"===typeof r.toJSON&&(r=r.toJSON(a));switch(typeof r){case "string":return d(r);case "number":return isFinite(r)?""+r:"null";case "boolean":case "null":return""+r;case "object":if(!r)return"null";j+=" ";h=[];if("[object Array]"===I.apply(r)){i=r.length;for(k=0;k<i;k+=1)h[k]=b(k,r)||"null";return i=0===h.length?"[]":j?"[\n"+j+h.join(",\n"+j)+"\n"+g+"]":"["+h.join(",")+"]"}for(k in r)P.call(r,k)&&(i=b(k,r))&&h.push(d(k)+(j?": ":":")+
i);return i=0===h.length?"{}":j?"{"+h.join(",")+""+g+"}":"{"+h.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?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}return b("",{"":a})}}();
c.la=function(){function a(){switch(i){case "t":return f("t"),f("r"),f("u"),f("e"),l;case "f":return f("f"),f("a"),f("l"),f("s"),f("e"),s;case "n":return f("n"),f("u"),f("l"),f("l"),m}j('Unexpected "'+i+'"')}function b(){for(;i&&" ">=i;)f()}function d(){var a,b,d="",c;if('"'===i)for(;f();){if('"'===i)return f(),d;if("\\"===i)if(f(),"u"===i){for(b=c=0;4>b;b+=1){a=parseInt(f(),16);if(!isFinite(a))break;c=16*c+a}d+=String.fromCharCode(c)}else if("string"===typeof g[i])d+=g[i];else break;else d+=i}j("Bad string")}
function c(){var a;a="";"-"===i&&(a="-",f("-"));for(;"0"<=i&&"9">=i;)a+=i,f();if("."===i)for(a+=".";f()&&"0"<=i&&"9">=i;)a+=i;if("e"===i||"E"===i){a+=i;f();if("-"===i||"+"===i)a+=i,f();for(;"0"<=i&&"9">=i;)a+=i,f()}a=+a;if(isFinite(a))return a;j("Bad number")}function f(a){a&&a!==i&&j("Expected '"+a+"' instead of '"+i+"'");i=h.charAt(k);k+=1;return i}function j(a){a=new SyntaxError(a);a.Dd=k;a.text=h;throw a;}var k,i,g={'"':'"',"\\":"\\","/":"/",b:"\u0008",f:"\u000c",n:"\n",r:"\r",t:"\t"},h,r;r=function(){b();
switch(i){case "{":var k;a:{var g,h={};if("{"===i){f("{");b();if("}"===i){f("}");k=h;break a}for(;i;){g=d();b();f(":");Object.hasOwnProperty.call(h,g)&&j('Duplicate key "'+g+'"');h[g]=r();b();if("}"===i){f("}");k=h;break a}f(",");b()}}j("Bad object")}return k;case "[":a:{k=[];if("["===i){f("[");b();if("]"===i){f("]");g=k;break a}for(;i;){k.push(r());b();if("]"===i){f("]");g=k;break a}f(",");b()}}j("Bad array")}return g;case '"':return d();case "-":return c();default:return"0"<=i&&"9">=i?c():a()}};
return function(a){h=a;k=0;i=" ";a=r();b();i&&j("Syntax error");return a}}();c.xb=function(a){var b,d,e,f,j=0,k=0,i="",i=[];if(!a)return a;a=c.yd(a);do b=a.charCodeAt(j++),d=a.charCodeAt(j++),e=a.charCodeAt(j++),f=b<<16|d<<8|e,b=f>>18&63,d=f>>12&63,e=f>>6&63,f&=63,i[k++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)+
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(f);while(j<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.yd=function(a){var a=(a+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),b="",d,c,f=0,j;d=c=0;f=a.length;for(j=0;j<f;j++){var k=a.charCodeAt(j),i=m;128>k?c++:i=127<k&&2048>k?String.fromCharCode(k>>6|192,k&63|128):String.fromCharCode(k>>12|224,k>>6&63|128,k&63|128);i!==m&&(c>d&&(b+=a.substring(d,c)),b+=
i,d=c=j+1)}c>d&&(b+=a.substring(d,a.length));return b};c.ib=function(){function a(){function a(b,c){var d,f=0;for(d=0;d<c.length;d++)f|=j[d]<<8*d;return b^f}var b,c,j=[],k=0;for(b=0;b<w.length;b++)c=w.charCodeAt(b),j.unshift(c&255),4<=j.length&&(k=a(k,j),j=[]);0<j.length&&(k=a(k,j));return k.toString(16)}function b(){for(var a=1*new Date,b=0;a==1*new Date;)b++;return a.toString(16)+b.toString(16)}return function(){var c=(Q.height*Q.width).toString(16);return b()+"-"+Math.random().toString(16).replace(".",
"")+"-"+a()+"-"+c+"-"+b()}}();c.Lb=function(a){return/(google web preview|baiduspider|yandexbot|bingbot|googlebot|yahoo! slurp)/i.test(a)?l:s};c.gc=function(a){var b,d,e,f=[];c.d(b)&&(b="&");c.a(a,function(a,b){d=encodeURIComponent(a.toString());e=encodeURIComponent(b);f[f.length]=e+"="+d});return f.join(b)};c.Gb=function(a,b){var b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),c=RegExp("[\\?&]"+b+"=([^&#]*)").exec(a);return c===m||c&&"string"!==typeof c[1]&&c[1].length?"":decodeURIComponent(c[1]).replace(/\+/g,
" ")};c.da=function(a,b){var c=a.match(RegExp(b+"=([^&]*)"));return c?c[1]:m};c.cookie={get:function(a){for(var a=a+"=",b=n.cookie.split(";"),c=0;c<b.length;c++){for(var e=b[c];" "==e.charAt(0);)e=e.substring(1,e.length);if(0===e.indexOf(a))return decodeURIComponent(e.substring(a.length,e.length))}return m},parse:function(a){var b;try{b=c.la(c.cookie.get(a))||{}}catch(d){}return b},Gd:function(a,b,c,e,f){var d;var j="",k="",i="";e&&(d=(j=(j=n.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i))?
j[0]:"")?"; domain=."+j:"",j=d);c&&(k=new Date,k.setTime(k.getTime()+1E3*c),k="; expires="+k.toGMTString());f&&(i="; secure");n.cookie=a+"="+encodeURIComponent(b)+k+"; path=/"+j+i},set:function(a,b,c,e,f){var d;var j="",k="",i="";e&&(d=(j=(j=n.location.hostname.match(/[a-z0-9][a-z0-9\-]+\.[a-z\.]{2,6}$/i))?j[0]:"")?"; domain=."+j:"",j=d);c&&(k=new Date,k.setTime(k.getTime()+864E5*c),k="; expires="+k.toGMTString());f&&(i="; secure");a=a+"="+encodeURIComponent(b)+k+"; path=/"+j+i;return n.cookie=a},
remove:function(a,b){c.cookie.set(a,"",-1,b)}};c.localStorage={error:function(a){o.error("localStorage error: "+a)},get:function(a){try{return window.localStorage.getItem(a)}catch(b){c.localStorage.error(b)}return m},parse:function(a){try{return c.la(c.localStorage.get(a))||{}}catch(b){}return m},set:function(a,b){try{window.localStorage.setItem(a,b)}catch(d){c.localStorage.error(d)}},remove:function(a){try{window.localStorage.removeItem(a)}catch(b){c.localStorage.error(b)}}};c.p=function(){function a(a,
e,f){return function(j){if(j=j||b(window.event)){var k=l,i;c.$a(f)&&(i=f(j));j=e.call(a,j);if(s===i||s===j)k=s;return k}}}function b(a){if(a)a.preventDefault=b.preventDefault,a.stopPropagation=b.stopPropagation;return a}b.preventDefault=function(){this.returnValue=s};b.stopPropagation=function(){this.cancelBubble=l};return function(b,c,f,j,k){b?b.addEventListener&&!j?b.addEventListener(c,f,!!k):(c="on"+c,b[c]=a(b,f,b[c])):o.error("No valid element provided to register_event")}}();c.Rc=function(){function a(a,
b){return 0<=(" "+a.className+" ").replace(d," ").indexOf(" "+b+" ")}function b(b){if(!n.getElementsByTagName)return[];var b=b.split(" "),d,j,k,i,g,h,r,u=[n];for(i=0;i<b.length;i++)if(d=b[i].replace(/^\s+/,"").replace(/\s+$/,""),-1<d.indexOf("#")){j=d.split("#");d=j[0];u=n.getElementById(j[1]);if(!u||d&&u.nodeName.toLowerCase()!=d)return[];u=[u]}else if(-1<d.indexOf(".")){j=d.split(".");d=j[0];var o=j[1];d||(d="*");j=[];for(g=k=0;g<u.length;g++){r="*"==d?u[g].all?u[g].all:u[g].getElementsByTagName("*"):
u[g].getElementsByTagName(d);for(h=0;h<r.length;h++)j[k++]=r[h]}u=[];for(g=d=0;g<j.length;g++)j[g].className&&c.ab(j[g].className)&&a(j[g],o)&&(u[d++]=j[g])}else if(j=d.match(/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?"?([^\]"]*)"?\]$/)){d=j[1];var p=j[2],o=j[3],q=j[4];d||(d="*");j=[];for(g=k=0;g<u.length;g++){r="*"==d?u[g].all?u[g].all:u[g].getElementsByTagName("*"):u[g].getElementsByTagName(d);for(h=0;h<r.length;h++)j[k++]=r[h]}u=[];d=0;switch(o){case "=":o=function(a){return a.getAttribute(p)==q};break;case "~":o=
function(a){return a.getAttribute(p).match(RegExp("\\b"+q+"\\b"))};break;case "|":o=function(a){return a.getAttribute(p).match(RegExp("^"+q+"-?"))};break;case "^":o=function(a){return 0===a.getAttribute(p).indexOf(q)};break;case "$":o=function(a){return a.getAttribute(p).lastIndexOf(q)==a.getAttribute(p).length-q.length};break;case "*":o=function(a){return-1<a.getAttribute(p).indexOf(q)};break;default:o=function(a){return a.getAttribute(p)}}u=[];for(g=d=0;g<j.length;g++)o(j[g])&&(u[d++]=j[g])}else{j=
[];for(g=k=0;g<u.length;g++){r=u[g].getElementsByTagName(d);for(h=0;h<r.length;h++)j[k++]=r[h]}u=j}return u}var d=/[\t\r\n]/g;return function(a){return c.$c(a)?[a]:c.k(a)&&!c.d(a.length)?a:b.call(this,a)}}();c.info={Kc:function(){var a="",b={};c.a("utm_source utm_medium utm_campaign utm_content utm_term".split(" "),function(d){a=c.Gb(n.URL,d);a.length&&(b[d]=a)});return b},jd: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":m},kd:function(a){var b=c.info.jd(a),d={};if(b!==m)d.$search_engine=b,a=c.Gb(a,"yahoo"!=b?"q":"p"),a.length&&(d.mp_keyword=a);return d},ba:function(a,b,d){return d||c.e(a," OPR/")?c.e(a,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(a)?"BlackBerry":c.e(a,"IEMobile")||c.e(a,"WPDesktop")?"Internet Explorer Mobile":c.e(a,"Edge")?"Microsoft Edge":c.e(a,"FBIOS")?"Facebook Mobile":c.e(a,
"Chrome")?"Chrome":c.e(a,"CriOS")?"Chrome iOS":c.e(a,"UCWEB")||c.e(a,"UCBrowser")?"UC Browser":c.e(a,"FxiOS")?"Firefox iOS":c.e(b||"","Apple")?c.e(a,"Mobile")?"Mobile Safari":"Safari":c.e(a,"Android")?"Android Mobile":c.e(a,"Konqueror")?"Konqueror":c.e(a,"Firefox")?"Firefox":c.e(a,"MSIE")||c.e(a,"Trident/")?"Internet Explorer":c.e(a,"Gecko")?"Mozilla":""},Ab: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+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[c.info.ba(a,b,d)];if(void 0===b)return m;a=a.match(b);return!a?m:parseFloat(a[a.length-
2])},eb:function(){return/Windows/i.test(w)?/Phone/.test(w)||/WPDesktop/.test(w)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(w)?"iOS":/Android/.test(w)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(w)?"BlackBerry":/Mac/i.test(w)?"Mac OS X":/Linux/.test(w)?"Linux":/CrOS/.test(w)?"Chrome OS":""},Eb: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":""},Rb:function(a){a=a.split("/");return 3<=a.length?a[2]:""},ga:function(){return c.extend(c.xa({$os:c.info.eb(),$browser:c.info.ba(w,G.vendor,J),$referrer:n.referrer,$referring_domain:c.info.Rb(n.referrer),$device:c.info.Eb(w)}),{$current_url:t.location.href,$browser_version:c.info.Ab(w,G.vendor,J),$screen_height:Q.height,$screen_width:Q.width,mp_lib:"web",$lib_version:"2.19.0"})},ed:function(){return c.extend(c.xa({$os:c.info.eb(),$browser:c.info.ba(w,G.vendor,J)}),
{$browser_version:c.info.Ab(w,G.vendor,J)})},dd:function(a){return c.xa({mp_page:a,mp_referrer:n.referrer,mp_browser:c.info.ba(w,G.vendor,J),mp_platform:c.info.eb()})}};c.toArray=c.ia;c.isObject=c.k;c.JSONEncode=c.ma;c.JSONDecode=c.la;c.isBlockedUA=c.Lb;c.isEmptyObject=c.Za;c.info=c.info;c.info.device=c.info.Eb;c.info.browser=c.info.ba;c.info.properties=c.info.ga;var H={qb:[],Cc:function(a){if(a.previousElementSibling)return a.previousElementSibling;do a=a.previousSibling;while(a&&!(a&&1===a.nodeType));
return a},zc:function(a,b){var c=document.createElement("script");c.type="text/javascript";c.src=a;c.onload=b;var e=document.getElementsByTagName("script");0<e.length?e[0].parentNode.insertBefore(c,e[0]):document.body.appendChild(c)},tc:function(a){var b={classes:M(a).split(" "),tag_name:a.tagName.toLowerCase()};N(a)&&c.a(a.attributes,function(a){if(O(a.value))b["attr__"+a.name]=a.value});for(var d=1,e=1,f=a;f=this.Cc(f);)d++,f.tagName===a.tagName&&e++;b.nth_child=d;b.nth_of_type=e;return b},nb:function(a){return{$event_type:a,
$ce_version:1,$host:window.location.host,$pathname:window.location.pathname}},pc:function(a){var b=[];c.a(document.querySelectorAll(a.css_selector),function(a){var c;-1<["input","select"].indexOf(a.tagName.toLowerCase())?c=a.value:a.textContent&&(c=a.textContent);O(c)&&b.push(c)});return b.join(", ")},rc:function(a){var b={};c.a(this.kb,function(d){c.a(d.event_selectors,function(e){e=document.querySelectorAll(e);c.a(e,function(f){c.e(a,f)&&N(f)&&(b[d.name]=this.pc(d))},this)},this)},this);return b},
sc:function(a){return"undefined"===typeof a.target?a.srcElement:a.target},Fc:function(a,b){var d=this.sc(a);if(d&&3===d.nodeType)d=d.parentNode;if(ea(d,a)){for(var e=[d],f=d;f.parentNode&&!E(f,"body");)e.push(f.parentNode),f=f.parentNode;var j=[],g,i=s;c.a(e,function(a){var b=N(a);"a"===a.tagName.toLowerCase()&&(g=a.getAttribute("href"),g=b&&O(g)&&g);b=M(a).split(" ");c.e(b,"mp-no-track")&&(i=l);j.push(this.tc(a))},this);if(i)return s;var h;(d=da(d))&&d.length&&(h=d);e=c.extend(this.nb(a.type),{$elements:j,
$el_attr__href:g,$el_text:h},this.rc(e));b.J("$web_event",e);return l}},Cd:function(a){window.location.href=a},kc:function(a){var b=c.bind(function(b){b=b||window.event;this.Fc(b,a)},this);c.p(document,"submit",b,s,l);c.p(document,"change",b,s,l);c.p(document,"click",b,s,l)},kb:{},W:function(a){if(!document||!document.body){console.log("document not ready yet, trying again in 500 milliseconds...");var b=this;setTimeout(function(){b.W(a)},500)}else{var d=a.c("token");if(-1<this.qb.indexOf(d))console.log('autotrack already initialized for token "'+
d+'"');else if(this.qb.push(d),!this.Ac(a)){var e=c.bind(function(b){if(b&&b.config&&b.config.enable_collect_everything===l){if(b.custom_properties)this.kb=b.custom_properties;a.J("$web_event",c.extend({$title:document.title},this.nb("pageview")));this.kc(a)}else a.__autotrack_enabled=s},this);a.m(a.c("api_host")+"/decide/",{verbose:l,version:"1",lib:"web",token:d},a.ra(e))}}},lb:function(a,b){var d;try{var e=c.da(b,"state"),e=JSON.parse(decodeURIComponent(e)),f=c.da(b,"expires_in");d={accessToken:c.da(b,
"access_token"),accessTokenExpiresAt:(new Date).getTime()+1E3*Number(f),bookmarkletMode:!!e.bookmarkletMode,projectId:e.projectId,projectOwnerId:e.projectOwnerId,projectToken:e.token,readOnly:e.readOnly,userFlags:e.userFlags,userId:e.userId};window.sessionStorage.setItem("editorParams",JSON.stringify(d));e.desiredHash?window.location.hash=e.desiredHash:window.history?history.replaceState("",document.title,window.location.pathname+window.location.search):window.location.hash=""}catch(j){console.error("Unable to parse data from hash",
j)}return d},Ac:function(a){try{var b=s;if(c.da(window.location.hash,"state"))var d=c.da(window.location.hash,"state"),d=JSON.parse(decodeURIComponent(d)),b="mpeditor"===d.action;var e=!!window.sessionStorage.getItem("_mpcehash"),f;b?f=this.lb(a,window.location.hash):e?(f=this.lb(a,window.sessionStorage.getItem("_mpcehash")),window.sessionStorage.removeItem("_mpcehash")):f=JSON.parse(window.sessionStorage.getItem("editorParams")||"{}");return f.projectToken&&a.c("token")===f.projectToken?(this.yc(a,
f),l):s}catch(j){return s}},yc:function(a,b){return!window._mpEditorLoaded?(window._mpEditorLoaded=l,this.zc(a.c("app_host")+"/js-bundle/reports/collect-everything/editor.js?_ts="+(new Date).getTime(),function(){window.mp_load_editor(b)}),l):s},Tc:function(a,b,d){for(var b=!c.d(b)?b:10,d=!c.d(d)?d:10,e=0,f=0;f<a.length;f++)e+=a.charCodeAt(f);return e%b<d},Yc:function(){return c.$a(document.querySelectorAll)}};c.zb(H);c.hd(H);var S,v,fa="__mps,__mpso,__mpus,__mpa,__mpap,__mpu,$people_distinct_id,__alias,__cmpns,__timers".split(","),
R=t.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,W=!R&&-1===w.indexOf("MSIE")&&-1===w.indexOf("Mozilla"),ga={api_host:"https://api.mixpanel.com",app_host:"https://mixpanel.com",autotrack:l,cdn:"https://cdn.mxpnl.com",cross_subdomain_cookie:l,persistence:"cookie",persistence_name:"",cookie_name:"",loaded:C(),store_google:l,save_referrer:l,test:s,verbose:s,img:s,track_pageview:l,debug:s,track_links_timeout:300,cookie_expiration:365,upgrade:s,disable_persistence:s,disable_cookie:s,secure_cookie:s,
ip:l,property_blacklist:[]},V=s;y.prototype.ua=C();y.prototype.Ta=C();y.prototype.Pa=C();y.prototype.W=function(a){this.Ob=a;return this};y.prototype.J=function(a,b,d,e){var f=this,j=c.Rc(a);if(0===j.length)o.error("The DOM query ("+a+") returned 0 elements");else return c.a(j,function(a){c.p(a,this.Qb,function(a){var c={},j=f.ua(d,this),g=f.Ob.c("track_links_timeout");f.Ta(a,this,c);t.setTimeout(f.Xb(e,j,c,l),g);f.Ob.J(b,j,f.Xb(e,j,c))})},this),l};y.prototype.Xb=function(a,b,c,e){var e=e||s,f=this;
return function(){if(!c.Jc)c.Jc=l,a&&a(e,b)===s||f.Pa(b,c,e)}};y.prototype.ua=function(a,b){return"function"===typeof a?a(b):c.extend({},a)};c.Kb(D,y);D.prototype.ua=function(a,b){var c=D.rd.ua.apply(this,arguments);if(b.href)c.url=b.href;return c};D.prototype.Ta=function(a,b,c){c.Pb=2===a.which||a.metaKey||a.ctrlKey||"_blank"===b.target;c.href=b.href;c.Pb||a.preventDefault()};D.prototype.Pa=function(a,b){b.Pb||setTimeout(function(){t.location=b.href},0)};c.Kb(L,y);L.prototype.Ta=function(a,b,c){c.element=
b;a.preventDefault()};L.prototype.Pa=function(a,b){setTimeout(function(){b.element.submit()},0)};q.prototype.ga=function(){var a={};c.a(this.props,function(b,d){c.Ib(fa,d)||(a[d]=b)});return a};q.prototype.load=function(){if(!this.disabled){var a=this.v.parse(this.name);a&&(this.props=c.extend({},a))}};q.prototype.xd=function(a){var b=a.upgrade,d;if(b)d="mp_super_properties","string"===typeof b&&(d=b),b=this.v.parse(d),this.v.remove(d),this.v.remove(d,l),b&&(this.props=c.extend(this.props,b.all,b.events));
if(!a.cookie_name&&"mixpanel"!==a.name&&(d="mp_"+a.token+"_"+a.name,b=this.v.parse(d)))this.v.remove(d),this.v.remove(d,l),this.D(b);this.v===c.localStorage&&(b=c.cookie.parse(this.name),c.cookie.remove(this.name),c.cookie.remove(this.name,l),b&&this.D(b))};q.prototype.save=function(){this.disabled||(this.oc(),this.v.set(this.name,c.ma(this.props),this.Ua,this.Ra,this.Sb))};q.prototype.remove=function(){this.v.remove(this.name,s);this.v.remove(this.name,l)};q.prototype.clear=function(){this.remove();
this.props={}};q.prototype.D=function(a,b,d){return c.k(a)?("undefined"===typeof b&&(b="None"),this.Ua="undefined"===typeof d?this.Db:d,c.a(a,function(a,c){if(!this.props.hasOwnProperty(c)||this.props[c]===b)this.props[c]=a},this),this.save(),l):s};q.prototype.ha=function(a,b){return c.k(a)?(this.Ua="undefined"===typeof b?this.Db:b,c.extend(this.props,a),this.save(),l):s};q.prototype.Aa=function(a){a in this.props&&(delete this.props[a],this.save())};q.prototype.oc=c.l(function(){var a=this.props.__cmpns,
b=A?6E4:36E5;if(a){for(var d in a)1*new Date-a[d]>b&&delete a[d];c.Za(a)&&delete this.props.__cmpns}});q.prototype.wd=function(){if(!this.Bb)this.D(c.info.Kc()),this.Bb=l};q.prototype.bc=function(a){this.ha(c.info.kd(a))};q.prototype.hb=function(a){this.D({$initial_referrer:a||"$direct",$initial_referring_domain:c.info.Rb(a)||"$direct"},"")};q.prototype.Wc=function(){return c.xa({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};q.prototype.ac=
function(a){this.Db=this.Ua=a.cookie_expiration;this.md(a.disable_persistence);this.ld(a.cross_subdomain_cookie);this.od(a.secure_cookie)};q.prototype.md=function(a){(this.disabled=a)&&this.remove()};q.prototype.ld=function(a){if(a!==this.Ra)this.Ra=a,this.remove(),this.save()};q.prototype.Vc=function(){return this.Ra};q.prototype.od=function(a){if(a!==this.Sb)this.Sb=a?l:s,this.remove(),this.save()};q.prototype.H=function(a,b){var d=this.Ka(a),e=b[a],f=this.S("$set"),j=this.S("$set_once"),g=this.S("$unset"),
i=this.S("$add"),h=this.S("$union"),n=this.S("$append",[]);"__mps"===d?(c.extend(f,e),this.I("$add",e),this.I("$union",e),this.I("$unset",e)):"__mpso"===d?(c.a(e,function(a,b){b in j||(j[b]=a)}),this.I("$unset",e)):"__mpus"===d?c.a(e,function(a){c.a([f,j,i,h],function(b){a in b&&delete b[a]});c.a(n,function(b){a in b&&delete b[a]});g[a]=l}):"__mpa"===d?(c.a(e,function(a,b){b in f?f[b]+=a:(b in i||(i[b]=0),i[b]+=a)},this),this.I("$unset",e)):"__mpu"===d?(c.a(e,function(a,b){c.isArray(a)&&(b in h||
(h[b]=[]),h[b]=h[b].concat(a))}),this.I("$unset",e)):"__mpap"===d&&(n.push(e),this.I("$unset",e));o.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):");o.log(b);this.save()};q.prototype.I=function(a,b){var d=this.Ja(a);c.d(d)||(c.a(b,function(a,b){delete d[b]},this),this.save())};q.prototype.Ka=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("$union"===a)return"__mpu";o.error("Invalid queue:",
a)};q.prototype.Ja=function(a){return this.props[this.Ka(a)]};q.prototype.S=function(a,b){var d=this.Ka(a),b=c.d(b)?{}:b;return this.props[d]||(this.props[d]=b)};q.prototype.nd=function(a){var b=this.props.__timers||{};b[a]=(new Date).getTime();this.props.__timers=b;this.save()};q.prototype.fd=function(a){var b=(this.props.__timers||{})[a];c.d(b)||(delete this.props.__timers[a],this.save());return b};var g;h.prototype.W=function(a,b,d){if(c.d(d))o.error("You must name your new library: init(token, config, name)");
else if("mixpanel"===d)o.error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");else return a=K(a,b,d),v[d]=a,a.qa(),a};h.prototype.La=function(a,b,d){this.__loaded=l;this.config={};this.Tb(c.extend({},ga,b,{name:d,token:a,callback_fn:("mixpanel"===d?d:"mixpanel."+d)+"._jsc"}));this._jsc=C();this.Ga=[];this.Ha=[];this.Fa=[];this.Q={disable_all_events:s,identify_called:s};this.persistence=this.cookie=new q(this.config);this.D({distinct_id:c.ib()},"")};
h.prototype.qa=function(){this.c("loaded")(this);this.c("track_pageview")&&this.Yb()};h.prototype.mc=function(){c.a(this.Ga,function(a){this.Na.apply(this,a)},this);c.a(this.Ha,function(a){this.m.apply(this,a)},this);delete this.Ga;delete this.Ha};h.prototype.Na=function(a,b){if(this.c("img"))return o.error("You can't use DOM tracking functions with img = true."),s;if(!V)return this.Ga.push([a,b]),s;var c=(new a).W(this);return c.J.apply(c,b)};h.prototype.ra=function(a,b){if(c.d(a))return m;if(R)return function(c){a(c,
b)};var d=this._jsc,e=""+Math.floor(1E8*Math.random()),f=this.c("callback_fn")+"["+e+"]";d[e]=function(c){delete d[e];a(c,b)};return f};h.prototype.m=function(a,b,d){if(W)this.Ha.push(arguments);else{var e=this.c("verbose");b.verbose&&(e=l);this.c("test")&&(b.test=1);e&&(b.verbose=1);this.c("img")&&(b.img=1);if(!R)if(d)b.callback=d;else if(e||this.c("test"))b.callback="(function(){})";b.ip=this.c("ip")?1:0;b._=(new Date).getTime().toString();a+="?"+c.gc(b);if("img"in b){var f=n.createElement("img");
f.src=a;n.body.appendChild(f)}else if(R)try{var j=new XMLHttpRequest;j.open("GET",a,l);j.withCredentials=l;j.onreadystatechange=function(){if(4===j.readyState)if(200===j.status){if(d)if(e){var a;try{a=c.la(j.responseText)}catch(b){o.error(b);return}d(a)}else d(Number(j.responseText))}else a="Bad HTTP status: "+j.status+" "+j.statusText,o.error(a),d&&(e?d({status:0,error:a}):d(0))};j.send(m)}catch(g){o.error(g)}else{f=n.createElement("script");f.type="text/javascript";f.async=l;f.defer=l;f.src=a;var i=
n.getElementsByTagName("script")[0];i.parentNode.insertBefore(f,i)}}};h.prototype.Ia=function(a){function b(a,b){c.a(a,function(a){this[a[0]].apply(this,a.slice(1))},b)}var d,e=[],f=[],j=[];c.a(a,function(a){a&&(d=a[0],"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]?j.push(a):f.push(a))},this);b(e,this);b(f,this);b(j,this)};h.prototype.push=function(a){this.Ia([a])};h.prototype.disable=function(a){"undefined"===
typeof a?this.Q.Oc=l:this.Fa=this.Fa.concat(a)};h.prototype.J=function(a,b,d){"function"!==typeof d&&(d=C());if(c.d(a))o.error("No event name provided to mixpanel.track");else if(this.mb(a))d(0);else{b=b||{};b.token=this.c("token");var e=this.persistence.fd(a);c.d(e)||(b.$duration=parseFloat((((new Date).getTime()-e)/1E3).toFixed(3)));this.persistence.bc(n.referrer);this.c("store_google")&&this.persistence.wd();this.c("save_referrer")&&this.persistence.hb(n.referrer);b=c.extend({},c.info.ga(),this.persistence.ga(),
b);try{if(this.c("autotrack")&&"mp_page_view"!==a&&"$create_alias"!==a)b=c.extend({},b,this.C),this.C={$__c:0},c.cookie.set("mp_"+this.c("name")+"__c",0,1,l)}catch(f){o.error(f)}e=this.c("property_blacklist");c.isArray(e)?c.a(e,function(a){delete b[a]}):o.error("Invalid value for property_blacklist config: "+e);a=c.truncate({event:a,properties:b},255);e=c.ma(a);e=c.xb(e);o.log("MIXPANEL REQUEST:");o.log(a);this.m(this.c("api_host")+"/track/",{data:e},this.ra(d,a));return a}};h.prototype.Yb=function(a){if(c.d(a))a=
n.location.href;this.J("mp_page_view",c.info.dd(a))};h.prototype.vd=function(){return this.Na.call(this,D,arguments)};h.prototype.ud=function(){return this.Na.call(this,L,arguments)};h.prototype.sd=function(a){c.d(a)?o.error("No event name provided to mixpanel.time_event"):this.mb(a)||this.persistence.nd(a)};h.prototype.ha=function(a,b){this.persistence.ha(a,b)};h.prototype.D=function(a,b,c){this.persistence.D(a,b,c)};h.prototype.Aa=function(a){this.persistence.Aa(a)};h.prototype.Ma=function(a,b){var c=
{};c[a]=b;this.ha(c)};h.prototype.Wa=function(a,b,c,e,f,j,g){a!==this.V()&&a!==this.va("__alias")&&(this.Aa("__alias"),this.Ma("distinct_id",a));this.jb(this.V());this.Q.Xa=l;this.people.qc(b,c,e,f,j,g)};h.prototype.reset=function(){this.persistence.clear();this.Q.Xa=s;this.D({distinct_id:c.ib()},"")};h.prototype.V=function(){return this.va("distinct_id")};h.prototype.Hc=function(a,b){if(a===this.va("$people_distinct_id"))return o.U("Attempting to create alias for existing People user - aborting."),
-2;var d=this;c.d(b)&&(b=this.V());if(a!==b)return this.Ma("__alias",a),this.J("$create_alias",{alias:a,distinct_id:b},function(){d.Wa(a)});o.error("alias matches current distinct_id - skipping api call.");this.Wa(a);return-1};h.prototype.bd=function(a){this.Ma("mp_name_tag",a)};h.prototype.Tb=function(a){if(c.k(a))c.extend(this.config,a),this.c("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.c("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),
this.persistence&&this.persistence.ac(this.config),A=A||this.c("debug")};h.prototype.c=function(a){return this.config[a]};h.prototype.va=function(a){return this.persistence.props[a]};h.prototype.toString=function(){var a=this.c("name");"mixpanel"!==a&&(a="mixpanel."+a);return a};h.prototype.mb=function(a){return c.Lb(w)||this.Q.Oc||c.Ib(this.Fa,a)};h.prototype.jb=function(a){if(a&&!this.Q.Xa&&!this.c("disable_notifications")){o.log("MIXPANEL NOTIFICATION CHECK");var b=this;this.m(this.c("api_host")+
"/decide/",{verbose:l,version:"2",lib:"web",token:this.c("token"),distinct_id:a},this.ra(function(a){a.notifications&&0<a.notifications.length&&b.vb.call(b,a.notifications[0])}))}};h.prototype.vb=function(a){(new g(a,this)).show()};p.prototype.La=function(a){this.i=a};p.prototype.set=function(a,b,d){var e={},f={};c.k(a)?(c.a(a,function(a,b){this.T(b)||(f[b]=a)},this),d=b):f[a]=b;this.pa("save_referrer")&&this.i.persistence.hb(n.referrer);f=c.extend({},c.info.ed(),this.i.persistence.Wc(),f);e.$set=
f;return this.m(e,d)};p.prototype.Ub=function(a,b,d){var e={},f={};c.k(a)?(c.a(a,function(a,b){this.T(b)||(f[b]=a)},this),d=b):f[a]=b;e.$set_once=f;return this.m(e,d)};p.prototype.$b=function(a,b){var d={},e=[];c.isArray(a)||(a=[a]);c.a(a,function(a){this.T(a)||e.push(a)},this);d.$unset=e;return this.m(d,b)};p.prototype.Jb=function(a,b,d){var e={},f={};c.k(a)?(c.a(a,function(a,b){this.T(b)||(isNaN(parseFloat(a))?o.error("Invalid increment value passed to mixpanel.people.increment - must be a number"):
f[b]=a)},this),d=b):(c.d(b)&&(b=1),f[a]=b);e.$add=f;return this.m(e,d)};p.prototype.append=function(a,b,d){var e={},f={};c.k(a)?(c.a(a,function(a,b){this.T(b)||(f[b]=a)},this),d=b):f[a]=b;e.$append=f;return this.m(e,d)};p.prototype.Zb=function(a,b,d){var e={},f={};c.k(a)?(c.a(a,function(a,b){this.T(b)||(f[b]=c.isArray(a)?a:[a])},this),d=b):f[a]=c.isArray(b)?b:[b];e.$union=f;return this.m(e,d)};p.prototype.td=function(a,b,d){if(!c.ad(a)&&(a=parseFloat(a),isNaN(a))){o.error("Invalid value passed to mixpanel.people.track_charge - must be a number");
return}return this.append("$transactions",c.extend({$amount:a},b),d)};p.prototype.Lc=function(a){return this.set("$transactions",[],a)};p.prototype.Nc=function(){if(this.pb())return this.m({$delete:this.i.V()});o.error("mixpanel.people.delete_user() requires you to call identify() first")};p.prototype.toString=function(){return this.i.toString()+".people"};p.prototype.m=function(a,b){a.$token=this.pa("token");a.$distinct_id=this.i.V();var d=c.Fb(a),e=c.truncate(d,255),d=c.ma(d),d=c.xb(d);if(!this.pb())return this.nc(a),
c.d(b)||(this.pa("verbose")?b({status:-1,error:m}):b(-1)),e;o.log("MIXPANEL PEOPLE REQUEST:");o.log(e);this.i.m(this.pa("api_host")+"/engage/",{data:d},this.i.ra(b,e));return e};p.prototype.pa=function(a){return this.i.c(a)};p.prototype.pb=function(){return this.i.Q.Xa===l};p.prototype.nc=function(a){"$set"in a?this.i.persistence.H("$set",a):"$set_once"in a?this.i.persistence.H("$set_once",a):"$unset"in a?this.i.persistence.H("$unset",a):"$add"in a?this.i.persistence.H("$add",a):"$append"in a?this.i.persistence.H("$append",
a):"$union"in a?this.i.persistence.H("$union",a):o.error("Invalid call to _enqueue():",a)};p.prototype.$=function(a,b,d,e){var f=this,g=c.extend({},this.i.persistence.Ja(a)),h=g;!c.d(g)&&c.k(g)&&!c.Za(g)&&(f.i.persistence.I(a,g),e&&(h=e(g)),b.call(f,h,function(b,e){0===b&&f.i.persistence.H(a,g);c.d(d)||d(b,e)}))};p.prototype.qc=function(a,b,d,e,f,g){var h=this,i=this.i.persistence.Ja("$append");this.$("$set",this.set,a);this.$("$set_once",this.Ub,e);this.$("$unset",this.$b,g,function(a){return c.keys(a)});
this.$("$add",this.Jb,b);this.$("$union",this.Zb,f);if(!c.d(i)&&c.isArray(i)&&i.length){for(var n,a=function(a,b){0===a&&h.i.persistence.H("$append",n);c.d(d)||d(a,b)},b=i.length-1;0<=b;b--)n=i.pop(),h.append(n,a);h.i.persistence.save()}};p.prototype.T=function(a){return"$distinct_id"===a||"$token"===a};h.jc=function(a,b){c.zb(this);this.cb=b;this.fb=this.cb.persistence;this.B=c.L(a.id);this.Nb=c.L(a.message_id);this.body=(c.L(a.body)||"").replace(/\n/g,"<br/>");this.Mc=c.L(a.cta)||"Close";this.ea=
c.L(a.type)||"takeover";this.style=c.L(a.style)||"light";this.title=c.L(a.title)||"";this.ja=g.ic;this.Y=g.hc;this.ca=a.cta_url||m;this.Ya=a.image_url||m;this.M=a.thumb_image_url||m;this.Ba=a.video_url||m;this.ta=l;if(!this.ca)this.ca="#dismiss",this.ta=s;this.u="mini"===this.ea;if(!this.u)this.ea="takeover";this.cd=!this.u?g.Z:g.Ca;this.ub();this.wa=this.uc();this.xc()};g=h.jc;g.N=200;g.w="mixpanel-notification";g.ka=0.6;g.G=25;g.na=200;g.Z=388;g.Ca=420;g.z=85;g.Da=5;g.K=60;g.Ea=Math.round(g.K/2);
g.ic=595;g.hc=334;g.prototype.show=function(){var a=this;this.ub();this.q?(this.wc(),this.vc(),this.Bc(this.lc)):setTimeout(function(){a.show()},300)};g.prototype.Sa=c.l(function(){this.Mb||this.sb({invisible:l});var a=this.pd?this.h("video"):this.R();if(this.cc)this.Dc("bg","visible"),this.O(a,"exiting"),setTimeout(this.tb,g.N);else{var b,c,e;this.u?(b="right",c=20,e=-100):(b="top",c=g.G,e=g.na+g.G);this.oa([{s:this.h("bg"),o:"opacity",start:g.ka,j:0},{s:a,o:"opacity",start:1,j:0},{s:a,o:b,start:c,
j:e}],g.N,this.tb)}});g.prototype.O=c.l(function(a,b){b=g.w+"-"+b;"string"===typeof a&&(a=this.h(a));a.className?~(" "+a.className+" ").indexOf(" "+b+" ")||(a.className+=" "+b):a.className=b});g.prototype.Dc=c.l(function(a,b){b=g.w+"-"+b;"string"===typeof a&&(a=this.h(a));if(a.className)a.className=(" "+a.className+" ").replace(" "+b+" ","").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")});g.prototype.oa=c.l(function(a,b,c,e){var f=this,g=s,h,i;h=1*new Date;var n,e=e||h;n=h-e;for(h=0;h<a.length;h++){i=
a[h];if("undefined"===typeof i.F)i.F=i.start;if(i.F!==i.j){var g=l,o=i.j>=i.start?1:-1;i.F=i.start+(i.j-i.start)*n/b;if("opacity"!==i.o)i.F=Math.round(i.F);if(0<o&&i.F>=i.j||0>o&&i.F<=i.j)i.F=i.j}}if(g){for(h=0;h<a.length;h++)i=a[h],i.s&&(i.s.style[i.o]=""+i.F+("opacity"===i.o?"":"px"));setTimeout(function(){f.oa(a,b,c,e)},10)}else c&&c()});g.prototype.lc=c.l(function(){var a=this;if(!this.qd&&!this.ob()[this.B])this.qd=l,this.q.appendChild(this.fa),setTimeout(function(){var b=a.R();if(a.cc)a.u||
a.O("bg","visible"),a.O(b,"visible"),a.rb();else{var c,e,f;a.u?(c="right",e=-100,f=20):(c="top",e=g.na+g.G,f=g.G);a.oa([{s:a.h("bg"),o:"opacity",start:0,j:g.ka},{s:b,o:"opacity",start:0,j:1},{s:b,o:c,start:e,j:f}],g.N,a.rb)}},100),c.p(a.h("cancel"),"click",function(b){b.preventDefault();a.Sa()}),c.p(a.h("button")||a.h("mini-content"),"click",function(b){b.preventDefault();a.X?(a.Oa("$campaign_open",{$resource_type:"video"}),a.Ec()):(a.Sa(),a.ta&&a.Oa("$campaign_open",{$resource_type:"link"},function(){t.location.href=
a.ca}))})});g.prototype.h=function(a){return n.getElementById(g.w+"-"+a)};g.prototype.R=function(){return this.h(this.ea)};g.prototype.ob=function(){return this.fb.props.__cmpns||(this.fb.props.__cmpns={})};g.prototype.P=function(a,b){return this.A[a]&&this.A[a]<=b};g.prototype.uc=function(){var a=[];this.u?(this.M=this.M||"//cdn.mxpnl.com/site_media/images/icons/notifications/mini-news-dark.png",a.push(this.M)):(this.Ya?(a.push(this.Ya),this.Hb='<img id="img" src="'+this.Ya+'"/>'):this.Hb="",this.M?
(a.push(this.M),this.Wb='<div id="thumbborder-wrapper"><div id="thumbborder"></div></div><img id="thumbnail" src="'+this.M+'" width="'+g.K+'" height="'+g.K+'"/><div id="thumbspacer"></div>'):this.Wb="");return a};g.prototype.vc=function(){var a="",b="",c="";this.fa=n.createElement("div");this.fa.id=g.w+"-wrapper";if(this.u)a='<div id="mini"><div id="mainbox"><div id="cancel"><div id="cancel-icon"></div></div><div id="mini-content"><div id="mini-icon"><div id="mini-icon-img"></div></div><div id="body"><div id="body-text"><div>'+
this.body+'</div></div></div></div></div><div id="mini-border"></div></div>';else{var a=this.ta||this.X?"":'<div id="button-close"></div>',e=this.X?'<div id="button-play"></div>':"";this.P("ie",7)&&(e=a="");a='<div id="takeover">'+this.Wb+'<div id="mainbox"><div id="cancel"><div id="cancel-icon"></div></div><div id="content">'+this.Hb+'<div id="title">'+this.title+'</div><div id="body">'+this.body+'</div><div id="tagline"><a href="http://mixpanel.com?from=inapp" target="_blank">POWERED BY MIXPANEL</a></div></div><div id="button">'+
a+'<a id="button-link" href="'+this.ca+'">'+this.Mc+"</a>"+e+"</div></div></div>"}this.ec?(b="//www.youtube.com/embed/"+this.ec+"?wmode=transparent&showinfo=0&modestbranding=0&rel=0&autoplay=1&loop=0&vq=hd1080",this.fc&&(b+="&enablejsapi=1&html5=1&controls=0",c='<div id="video-controls"><div id="video-progress" class="video-progress-el"><div id="video-progress-total" class="video-progress-el"></div><div id="video-elapsed" class="video-progress-el"></div></div><div id="video-time" class="video-progress-el"></div></div>')):
this.dc&&(b="//player.vimeo.com/video/"+this.dc+"?autoplay=1&title=0&byline=0&portrait=0");if(this.X)this.Ad='<iframe id="'+g.w+'-video-frame" width="'+this.ja+'" height="'+this.Y+'" src="'+b+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen="1" scrolling="no"></iframe>',c='<div id="video-'+(this.Va?"":"no")+'flip"><div id="video"><div id="video-holder"></div>'+c+"</div></div>";b=c+a;this.Va&&(b=(this.u?a:"")+'<div id="flipcontainer"><div id="flipper">'+(this.u?c:b)+"</div></div>");
this.fa.innerHTML=('<div id="overlay" class="'+this.ea+'"><div id="campaignid-'+this.B+'"><div id="bgwrapper"><div id="bg"></div>'+b+"</div></div></div>").replace(/class=\"/g,'class="'+g.w+"-").replace(/id=\"/g,'id="'+g.w+"-")};g.prototype.wc=function(){this.g="dark"===this.style?{Qa:"#1d1f25",aa:"#282b32",sa:"#3a4147",yb:"#4a5157",Ic:"#32353c",Cb:"0.4",bb:"#2a3137",za:"#fff",gb:"#9498a3",Vb:"#464851",ya:"#ddd"}:{Qa:"#fff",aa:"#e7eaee",sa:"#eceff3",yb:"#f5f5f5",Ic:"#e4ecf2",Cb:"1.0",bb:"#fafafa",
za:"#5c6578",gb:"#8b949b",Vb:"#ced9e6",ya:"#7c8598"};var a="0px 0px 35px 0px rgba(45, 49, 56, 0.7)",b=a,d=a,e=g.K+2*g.Da,f=g.N/1E3+"s";this.u&&(a="none");var j={};j["@media only screen and (max-width: "+(g.Ca+20-1)+"px)"]={"#overlay":{display:"none"}};a={".flipped":{transform:"rotateY(180deg)"},"#overlay":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",overflow:"auto","text-align":"center","z-index":"10000","font-family":'"Helvetica", "Arial", sans-serif',"-webkit-font-smoothing":"antialiased",
"-moz-osx-font-smoothing":"grayscale"},"#overlay.mini":{height:"0",overflow:"visible"},"#overlay a":{width:"initial",padding:"0","text-decoration":"none","text-transform":"none",color:"inherit"},"#bgwrapper":{position:"relative",width:"100%",height:"100%"},"#bg":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%","min-width":4*this.Qc+"px","min-height":4*this.Pc+"px","background-color":"black",opacity:"0.0","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)",filter:"alpha(opacity=60)",
transition:"opacity "+f},"#bg.visible":{opacity:g.ka},".mini #bg":{width:"0",height:"0","min-width":"0"},"#flipcontainer":{perspective:"1000px",position:"absolute",width:"100%"},"#flipper":{position:"relative","transform-style":"preserve-3d",transition:"0.3s"},"#takeover":{position:"absolute",left:"50%",width:g.Z+"px","margin-left":Math.round(-g.Z/2)+"px","backface-visibility":"hidden",transform:"rotateY(0deg)",opacity:"0.0",top:g.na+"px",transition:"opacity "+f+", top "+f},"#takeover.visible":{opacity:"1.0",
top:g.G+"px"},"#takeover.exiting":{opacity:"0.0",top:g.na+"px"},"#thumbspacer":{height:g.Ea+"px"},"#thumbborder-wrapper":{position:"absolute",top:-g.Da+"px",left:g.Z/2-g.Ea-g.Da+"px",width:e+"px",height:e/2+"px",overflow:"hidden"},"#thumbborder":{position:"absolute",width:e+"px",height:e+"px","border-radius":e+"px","background-color":this.g.aa,opacity:"0.5"},"#thumbnail":{position:"absolute",top:"0px",left:g.Z/2-g.Ea+"px",width:g.K+"px",height:g.K+"px",overflow:"hidden","z-index":"100","border-radius":g.K+
"px"},"#mini":{position:"absolute",right:"20px",top:g.G+"px",width:this.cd+"px",height:2*g.z+"px","margin-top":20-g.z+"px","backface-visibility":"hidden",opacity:"0.0",transform:"rotateX(90deg)",transition:"opacity 0.3s, transform 0.3s, right 0.3s"},"#mini.visible":{opacity:"1.0",transform:"rotateX(0deg)"},"#mini.exiting":{opacity:"0.0",right:"-150px"},"#mainbox":{"border-radius":"4px","box-shadow":a,"text-align":"center","background-color":this.g.Qa,"font-size":"14px",color:this.g.gb},"#mini #mainbox":{height:g.z+
"px","margin-top":g.z+"px","border-radius":"3px",transition:"background-color "+f},"#mini-border":{height:g.z+6+"px",width:g.Ca+6+"px",position:"absolute",top:"-3px",left:"-3px","margin-top":g.z+"px","border-radius":"6px",opacity:"0.25","background-color":"#fff","z-index":"-1","box-shadow":d},"#mini-icon":{position:"relative",display:"inline-block",width:"75px",height:g.z+"px","border-radius":"3px 0 0 3px","background-color":this.g.aa,background:"linear-gradient(135deg, "+this.g.yb+" 0%, "+this.g.aa+
" 100%)",transition:"background-color "+f},"#mini:hover #mini-icon":{"background-color":this.g.bb},"#mini:hover #mainbox":{"background-color":this.g.bb},"#mini-icon-img":{position:"absolute","background-image":"url("+this.M+")",width:"48px",height:"48px",top:"20px",left:"12px"},"#content":{padding:"30px 20px 0px 20px"},"#mini-content":{"text-align":"left",height:g.z+"px",cursor:"pointer"},"#img":{width:"328px","margin-top":"30px","border-radius":"5px"},"#title":{"max-height":"600px",overflow:"hidden",
"word-wrap":"break-word",padding:"25px 0px 20px 0px","font-size":"19px","font-weight":"bold",color:this.g.za},"#body":{"max-height":"600px","margin-bottom":"25px",overflow:"hidden","word-wrap":"break-word","line-height":"21px","font-size":"15px","font-weight":"normal","text-align":"left"},"#mini #body":{display:"inline-block","max-width":"250px",margin:"0 0 0 30px",height:g.z+"px","font-size":"16px","letter-spacing":"0.8px",color:this.g.za},"#mini #body-text":{display:"table",height:g.z+"px"},"#mini #body-text div":{display:"table-cell",
"vertical-align":"middle"},"#tagline":{"margin-bottom":"15px","font-size":"10px","font-weight":"600","letter-spacing":"0.8px",color:"#ccd7e0","text-align":"left"},"#tagline a":{color:this.g.Vb,transition:"color "+f},"#tagline a:hover":{color:this.g.ya},"#cancel":{position:"absolute",right:"0",width:"8px",height:"8px",padding:"10px","border-radius":"20px",margin:"12px 12px 0 0","box-sizing":"content-box",cursor:"pointer",transition:"background-color "+f},"#mini #cancel":{margin:"7px 7px 0 0"},"#cancel-icon":{width:"8px",
height:"8px",overflow:"hidden","background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/cancel-x.png)",opacity:this.g.Cb},"#cancel:hover":{"background-color":this.g.sa},"#button":{display:"block",height:"60px","line-height":"60px","text-align":"center","background-color":this.g.aa,"border-radius":"0 0 4px 4px",overflow:"hidden",cursor:"pointer",transition:"background-color "+f},"#button-close":{display:"inline-block",width:"9px",height:"60px","margin-right":"8px","vertical-align":"top",
"background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/close-x-"+this.style+".png)","background-repeat":"no-repeat","background-position":"0px 25px"},"#button-play":{display:"inline-block",width:"30px",height:"60px","margin-left":"15px","background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/play-"+this.style+"-small.png)","background-repeat":"no-repeat","background-position":"0px 15px"},"a#button-link":{display:"inline-block","vertical-align":"top","text-align":"center",
"font-size":"17px","font-weight":"bold",overflow:"hidden","word-wrap":"break-word",color:this.g.za,transition:"color "+f},"#button:hover":{"background-color":this.g.sa,color:this.g.ya},"#button:hover a":{color:this.g.ya},"#video-noflip":{position:"relative",top:2*-this.Y+"px"},"#video-flip":{"backface-visibility":"hidden",transform:"rotateY(180deg)"},"#video":{position:"absolute",width:this.ja-1+"px",height:this.Y+"px",top:g.G+"px","margin-top":"100px",left:"50%","margin-left":Math.round(-this.ja/
2)+"px",overflow:"hidden","border-radius":"5px","box-shadow":b,transform:"translateZ(1px)",transition:"opacity "+f+", top "+f},"#video.exiting":{opacity:"0.0",top:this.Y+"px"},"#video-holder":{position:"absolute",width:this.ja-1+"px",height:this.Y+"px",overflow:"hidden","border-radius":"5px"},"#video-frame":{"margin-left":"-1px",width:this.ja+"px"},"#video-controls":{opacity:"0",transition:"opacity 0.5s"},"#video:hover #video-controls":{opacity:"1.0"},"#video .video-progress-el":{position:"absolute",
bottom:"0",height:"25px","border-radius":"0 0 0 5px"},"#video-progress":{width:"90%"},"#video-progress-total":{width:"100%","background-color":this.g.Qa,opacity:"0.7"},"#video-elapsed":{width:"0","background-color":"#6cb6f5",opacity:"0.9"},"#video #video-time":{width:"10%",right:"0","font-size":"11px","line-height":"25px",color:this.g.gb,"background-color":"#666","border-radius":"0 0 5px 0"}};this.P("ie",8)&&c.extend(a,{"* html #overlay":{position:"absolute"},"* html #bg":{position:"absolute"},"html, body":{height:"100%"}});
this.P("ie",7)&&c.extend(a,{"#mini #body":{display:"inline",zoom:"1",border:"1px solid "+this.g.sa},"#mini #body-text":{padding:"20px"},"#mini #mini-icon":{display:"none"}});var b="backface-visibility,border-radius,box-shadow,opacity,perspective,transform,transform-style,transition".split(","),d=["khtml","moz","ms","o","webkit"],h;for(h in a)for(e=0;e<b.length;e++)if(f=b[e],f in a[h])for(var i=a[h][f],o=0;o<d.length;o++)a[h]["-"+d[o]+"-"+f]=i;(function(a,b){function c(a){var b="",d;for(d in a){var f=
d.replace(/#/g,"#"+g.w+"-").replace(/\./g,"."+g.w+"-"),b=b+("\n"+f+" {"),f=a[d],e;for(e in f)b+=e+":"+f[e]+";";b+="}"}return b}var d=c(a)+function(a){var b="",d;for(d in a)b+="\n"+d+" {"+c(a[d])+"\n}";return b}(b),e=n.head||n.getElementsByTagName("head")[0]||n.documentElement,f=n.createElement("style");e.appendChild(f);f.setAttribute("type","text/css");f.styleSheet?f.styleSheet.cssText=d:f.textContent=d})(a,j)};g.prototype.xc=c.l(function(){if(this.Ba){var a=this;a.fc="postMessage"in t;a.ca=a.Ba;
var b=a.Ba.match(/(?:youtube(?:-nocookie)?\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i),c=a.Ba.match(/vimeo\.com\/.*?(\d+)/i);if(b){if(a.X=l,a.ec=b[1],a.fc)t.onYouTubeIframeAPIReady=function(){a.h("video-frame")&&a.wb()},b=n.createElement("script"),b.src="//www.youtube.com/iframe_api",c=n.getElementsByTagName("script")[0],c.parentNode.insertBefore(b,c)}else if(c)a.X=l,a.dc=c[1];if(a.P("ie",7)||a.P("firefox",3))a.X=s,a.ta=l}});g.prototype.rb=c.l(function(){function a(a,
b){var c={};if(n.defaultView&&n.defaultView.getComputedStyle)c=n.defaultView.getComputedStyle(a,m);else if(a.currentStyle)c=a.currentStyle;return c[b]}var b=this;c.p(b.h("bg"),"click",function(){b.Sa()});if(this.B){var d=this.h("overlay");d&&"hidden"!==a(d,"visibility")&&"none"!==a(d,"display")&&this.sb()}});g.prototype.sb=c.l(function(a){if(!this.Mb)this.Mb=l,this.B&&(this.ob()[this.B]=1*new Date,this.fb.save()),this.Oa("$campaign_delivery",a),this.cb.people.append({$campaigns:this.B,$notifications:{campaign_id:this.B,
message_id:this.Nb,type:"web",time:new Date}})});g.prototype.Bc=function(a){var b=this;if(0===this.wa.length)a();else{for(var c=0,e=[],f=function(){c++;c===b.wa.length&&a&&(a(),a=m)},g=0;g<this.wa.length;g++){var h=new Image;h.onload=f;h.src=this.wa[g];h.complete&&f();e.push(h)}this.P("ie",7)&&setTimeout(function(){var b=l;for(g=0;g<e.length;g++)e[g].complete||(b=s);b&&a&&(a(),a=m)},500)}};g.prototype.tb=c.l(function(){t.clearInterval(this.Gc);this.fa.style.visibility="hidden";this.q.removeChild(this.fa)});
g.prototype.ub=function(){function a(a){if(a in e)return l;if(!c)for(var a=a[0].toUpperCase()+a.slice(1),a=["O"+a,"Webkit"+a,"Moz"+a],b=0;b<a.length;b++)if(a[b]in e)return l;return s}function b(a){return(a=navigator.userAgent.match(a))&&a[1]}this.A={};this.A.chrome=b(/Chrome\/(\d+)/);this.A.firefox=b(/Firefox\/(\d+)/);this.A.ie=b(/MSIE (\d+).+/);!this.A.ie&&!t.ActiveXObject&&"ActiveXObject"in t&&(this.A.ie=11);if(this.q=n.body||n.getElementsByTagName("body")[0])this.Qc=Math.max(this.q.scrollWidth,
n.documentElement.scrollWidth,this.q.offsetWidth,n.documentElement.offsetWidth,this.q.clientWidth,n.documentElement.clientWidth),this.Pc=Math.max(this.q.scrollHeight,n.documentElement.scrollHeight,this.q.offsetHeight,n.documentElement.offsetHeight,this.q.clientHeight,n.documentElement.clientHeight);var c=this.A.ie,e=n.createElement("div").style;this.cc=this.q&&a("transition")&&a("transform");this.Va=(33<=this.A.chrome||15<=this.A.firefox)&&this.q&&a("backfaceVisibility")&&a("perspective")&&a("transform")};
g.prototype.Ec=c.l(function(){function a(){t.YT&&t.YT.loaded&&b.wb();b.pd=l;b.R().style.visibility="hidden"}var b=this,c=[{s:b.R(),o:"opacity",start:1,j:0},{s:b.R(),o:"top",start:g.G,j:-500},{s:b.h("video-noflip"),o:"opacity",start:0,j:1},{s:b.h("video-noflip"),o:"top",start:2*-b.Y,j:0}];if(b.u){var e=b.h("bg"),f=b.h("overlay");e.style.width="100%";e.style.height="100%";f.style.width="100%";b.O(b.R(),"exiting");b.O(e,"visible");c.push({s:b.h("bg"),o:"opacity",start:0,j:g.ka})}b.h("video-holder").innerHTML=
b.Ad;b.Va?(b.O("flipper","flipped"),setTimeout(a,g.N)):b.oa(c,g.N,a)});g.prototype.Oa=function(a,b,d){this.B?(b=b||{},b=c.extend(b,{campaign_id:this.B,message_id:this.Nb,message_type:"web_inapp",message_subtype:this.ea}),this.cb.track(a,b,d)):d&&d.call()};g.prototype.wb=c.l(function(){var a=this;if(!a.Bd){a.Bd=l;var b=a.h("video-elapsed"),d=a.h("video-time"),e=a.h("video-progress");new t.YT.Player(g.w+"-video-frame",{events:{onReady:function(f){function g(a){var a=Math.round(i-a),b=Math.floor(a/60),
c=Math.floor(b/60),a=a-60*b;d.innerHTML="-"+(c?c+":":"")+("00"+(b-60*c)).slice(-2)+":"+("00"+a).slice(-2)}var h=f.target,i=h.getDuration();g(0);a.Gc=t.setInterval(function(){var a=h.getCurrentTime();b.style.width=100*(a/i)+"%";g(a)},250);c.p(e,"click",function(a){a=Math.max(0,a.pageX-e.getBoundingClientRect().left);h.seekTo(i*a/e.clientWidth,l)})}}})}});h.prototype.init=h.prototype.W;h.prototype.reset=h.prototype.reset;h.prototype.disable=h.prototype.disable;h.prototype.time_event=h.prototype.sd;
h.prototype.track=h.prototype.J;h.prototype.track_links=h.prototype.vd;h.prototype.track_forms=h.prototype.ud;h.prototype.track_pageview=h.prototype.Yb;h.prototype.register=h.prototype.ha;h.prototype.register_once=h.prototype.D;h.prototype.unregister=h.prototype.Aa;h.prototype.identify=h.prototype.Wa;h.prototype.alias=h.prototype.Hc;h.prototype.name_tag=h.prototype.bd;h.prototype.set_config=h.prototype.Tb;h.prototype.get_config=h.prototype.c;h.prototype.get_property=h.prototype.va;h.prototype.get_distinct_id=
h.prototype.V;h.prototype.toString=h.prototype.toString;h.prototype._check_and_handle_notifications=h.prototype.jb;h.prototype._show_notification=h.prototype.vb;q.prototype.properties=q.prototype.ga;q.prototype.update_search_keyword=q.prototype.bc;q.prototype.update_referrer_info=q.prototype.hb;q.prototype.get_cross_subdomain=q.prototype.Vc;q.prototype.clear=q.prototype.clear;p.prototype.set=p.prototype.set;p.prototype.set_once=p.prototype.Ub;p.prototype.unset=p.prototype.$b;p.prototype.increment=
p.prototype.Jb;p.prototype.append=p.prototype.append;p.prototype.union=p.prototype.Zb;p.prototype.track_charge=p.prototype.td;p.prototype.clear_charges=p.prototype.Lc;p.prototype.delete_user=p.prototype.Nc;p.prototype.toString=p.prototype.toString;c.gd(h);var z={};(function(){S=1;v=t.mixpanel;c.d(v)?o.U('"mixpanel" object not initialized. Ensure you are using the latest version of the Mixpanel JS Library along with the snippet we provide.'):v.__loaded||v.config&&v.persistence?o.error("Mixpanel library has already been downloaded at least once."):
1.1>(v.__SV||0)?o.U("Version mismatch; please ensure you're using the latest version of the Mixpanel code snippet."):(c.a(v._i,function(a){a&&c.isArray(a)&&(z[a[a.length-1]]=K.apply(this,a))}),ba(),v.init(),c.a(z,function(a){a.qa()}),aa())})()})();
})();

@ -6,7 +6,8 @@ const ExtractTextPlugin = require("extract-text-webpack-plugin");
module.exports = {
entry: {
app: "./src/js/app.js",
courseRedactor: "./src/js/course-redactor.js"
courseRedactor: "./src/js/course-redactor.js",
mixpanel: "./src/js/third_party/mixpanel-2-latest.js"
},
output: {
path: path.join(__dirname, "build"),
@ -20,7 +21,7 @@ module.exports = {
loaders: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
exclude: /(node_modules|bower_components|third_party)/,
use: {
loader: 'babel-loader',
options: {
@ -28,6 +29,11 @@ module.exports = {
}
}
},
{
test: /third_party\/.*\.js$/,
exclude: /(node_modules|bower_components)/,
loader: 'url-loader'
},
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
@ -97,4 +103,4 @@ if (NODE_ENV === 'production') {
}
})
);
}
}

@ -168,7 +168,7 @@ anymatch@^1.3.0:
micromatch "^2.1.5"
normalize-path "^2.0.0"
aproba@^1.0.3:
aproba@^1.0.3, aproba@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
@ -260,7 +260,7 @@ arraybuffer.slice@~0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675"
arrify@^1.0.0:
arrify@^1.0.0, arrify@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
@ -961,7 +961,7 @@ block-stream@*:
dependencies:
inherits "~2.0.0"
bluebird@^3.0.5, bluebird@^3.1.1:
bluebird@^3.0.5, bluebird@^3.1.1, bluebird@^3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
@ -1139,6 +1139,10 @@ bs-recipes@1.3.4:
version "1.3.4"
resolved "https://registry.yarnpkg.com/bs-recipes/-/bs-recipes-1.3.4.tgz#0d2d4d48a718c8c044769fdc4f89592dc8b69585"
buffer-from@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.0.0.tgz#4cb8832d23612589b0406e9e2956c17f06fdf531"
buffer-xor@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
@ -1165,6 +1169,24 @@ builtin-status-codes@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
cacache@^10.0.4:
version "10.0.4"
resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.4.tgz#6452367999eff9d4188aefd9a14e9d7c6a263460"
dependencies:
bluebird "^3.5.1"
chownr "^1.0.1"
glob "^7.1.2"
graceful-fs "^4.1.11"
lru-cache "^4.1.1"
mississippi "^2.0.0"
mkdirp "^0.5.1"
move-concurrently "^1.0.1"
promise-inflight "^1.0.1"
rimraf "^2.6.2"
ssri "^5.2.4"
unique-filename "^1.1.0"
y18n "^4.0.0"
cache-base@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
@ -1323,6 +1345,10 @@ chokidar@1.7.0, chokidar@^1.7.0:
optionalDependencies:
fsevents "^1.0.0"
chownr@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181"
cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
@ -1503,6 +1529,15 @@ concat-map@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
concat-stream@^1.5.0:
version "1.6.2"
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
dependencies:
buffer-from "^1.0.0"
inherits "^2.0.3"
readable-stream "^2.2.2"
typedarray "^0.0.6"
config-chain@~1.1.5:
version "1.1.11"
resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.11.tgz#aba09747dfbe4c3e70e766a6e41586e1859fc6f2"
@ -1562,10 +1597,34 @@ cookie@0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
copy-concurrently@^1.0.0:
version "1.0.5"
resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0"
dependencies:
aproba "^1.1.1"
fs-write-stream-atomic "^1.0.8"
iferr "^0.1.5"
mkdirp "^0.5.1"
rimraf "^2.5.4"
run-queue "^1.0.0"
copy-descriptor@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
copy-webpack-plugin@^4.5.1:
version "4.5.1"
resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.5.1.tgz#fc4f68f4add837cc5e13d111b20715793225d29c"
dependencies:
cacache "^10.0.4"
find-cache-dir "^1.0.0"
globby "^7.1.1"
is-glob "^4.0.0"
loader-utils "^1.1.0"
minimatch "^3.0.4"
p-limit "^1.0.0"
serialize-javascript "^1.4.0"
core-js@^2.4.0, core-js@^2.5.0:
version "2.5.3"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
@ -1770,6 +1829,10 @@ currently-unhandled@^0.4.1:
dependencies:
array-find-index "^1.0.1"
cyclist@~0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640"
d@1:
version "1.0.0"
resolved "https://registry.yarnpkg.com/d/-/d-1.0.0.tgz#754bb5bfe55451da69a58b94d45f4c5b0462d58f"
@ -1946,6 +2009,13 @@ diffie-hellman@^5.0.0:
miller-rabin "^4.0.0"
randombytes "^2.0.0"
dir-glob@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034"
dependencies:
arrify "^1.0.1"
path-type "^3.0.0"
doctypes@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/doctypes/-/doctypes-1.1.0.tgz#ea80b106a87538774e8a3a4a5afe293de489e0a9"
@ -1999,6 +2069,15 @@ duplexer@~0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1"
duplexify@^3.4.2, duplexify@^3.5.3:
version "3.5.4"
resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.5.4.tgz#4bb46c1796eabebeec4ca9a2e66b808cb7a3d8b4"
dependencies:
end-of-stream "^1.0.0"
inherits "^2.0.1"
readable-stream "^2.0.0"
stream-shift "^1.0.0"
duplexify@^3.5.0:
version "3.5.3"
resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.5.3.tgz#8b5818800df92fd0125b27ab896491912858243e"
@ -2068,7 +2147,7 @@ encodeurl@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
end-of-stream@^1.0.0:
end-of-stream@^1.0.0, end-of-stream@^1.1.0:
version "1.4.1"
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43"
dependencies:
@ -2495,6 +2574,13 @@ flatten@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
flush-write-stream@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.3.tgz#c5d586ef38af6097650b49bc41b55fabb19f35bd"
dependencies:
inherits "^2.0.1"
readable-stream "^2.0.4"
follow-redirects@^1.2.5:
version "1.4.1"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.4.1.tgz#d8120f4518190f55aac65bb6fc7b85fcd666d6aa"
@ -2559,6 +2645,13 @@ fresh@^0.5.2:
version "0.5.2"
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
from2@^2.1.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af"
dependencies:
inherits "^2.0.1"
readable-stream "^2.0.0"
from@~0:
version "0.1.7"
resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
@ -2577,6 +2670,15 @@ fs-extra@3.0.1:
jsonfile "^3.0.0"
universalify "^0.1.0"
fs-write-stream-atomic@^1.0.8:
version "1.0.10"
resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9"
dependencies:
graceful-fs "^4.1.2"
iferr "^0.1.5"
imurmurhash "^0.1.4"
readable-stream "1 || 2"
fs.realpath@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
@ -2711,7 +2813,7 @@ glob@^5.0.12:
once "^1.3.0"
path-is-absolute "^1.0.0"
glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@~7.1.1:
glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.2, glob@~7.1.1:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
dependencies:
@ -2763,6 +2865,17 @@ globby@^5.0.0:
pify "^2.0.0"
pinkie-promise "^2.0.0"
globby@^7.1.1:
version "7.1.1"
resolved "https://registry.yarnpkg.com/globby/-/globby-7.1.1.tgz#fb2ccff9401f8600945dfada97440cca972b8680"
dependencies:
array-union "^1.0.1"
dir-glob "^2.0.0"
glob "^7.1.2"
ignore "^3.3.5"
pify "^3.0.0"
slash "^1.0.0"
globule@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/globule/-/globule-1.2.0.tgz#1dc49c6822dd9e8a2fa00ba2a295006e8664bd09"
@ -2785,7 +2898,7 @@ glogg@^1.0.0:
dependencies:
sparkles "^1.0.0"
graceful-fs@4.X, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
graceful-fs@4.X, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
version "4.1.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
@ -3294,6 +3407,14 @@ ieee754@^1.1.4:
version "1.1.8"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4"
iferr@^0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501"
ignore@^3.3.5:
version "3.3.7"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021"
ilyabirman-likely@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/ilyabirman-likely/-/ilyabirman-likely-2.3.0.tgz#4462becc5dedeb36b74bf4ba339a0ceab820785f"
@ -3302,6 +3423,10 @@ immutable@3.8.2, immutable@^3.7.6:
version "3.8.2"
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3"
imurmurhash@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
in-publish@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/in-publish/-/in-publish-2.0.0.tgz#e20ff5e3a2afc2690320b6dc552682a9c7fadf51"
@ -3474,7 +3599,7 @@ is-extglob@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0"
is-extglob@^2.1.0:
is-extglob@^2.1.0, is-extglob@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
@ -3506,6 +3631,12 @@ is-glob@^3.1.0:
dependencies:
is-extglob "^2.1.0"
is-glob@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0"
dependencies:
is-extglob "^2.1.1"
is-number-like@^1.0.3:
version "1.0.8"
resolved "https://registry.yarnpkg.com/is-number-like/-/is-number-like-1.0.8.tgz#2e129620b50891042e44e9bbbb30593e75cfbbe3"
@ -4411,6 +4542,21 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
mississippi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-2.0.0.tgz#3442a508fafc28500486feea99409676e4ee5a6f"
dependencies:
concat-stream "^1.5.0"
duplexify "^3.4.2"
end-of-stream "^1.1.0"
flush-write-stream "^1.0.0"
from2 "^2.1.0"
parallel-transform "^1.1.0"
pump "^2.0.1"
pumpify "^1.3.3"
stream-each "^1.1.0"
through2 "^2.0.0"
mixin-deep@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.0.tgz#47a8732ba97799457c8c1eca28f95132d7e8150a"
@ -4435,6 +4581,17 @@ moment@^2.20.1:
version "2.20.1"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.1.tgz#d6eb1a46cbcc14a2b2f9434112c1ff8907f313fd"
move-concurrently@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
dependencies:
aproba "^1.1.1"
copy-concurrently "^1.0.0"
fs-write-stream-atomic "^1.0.8"
mkdirp "^0.5.1"
rimraf "^2.5.4"
run-queue "^1.0.3"
ms@0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"
@ -4744,7 +4901,7 @@ on-finished@~2.3.0:
dependencies:
ee-first "1.1.1"
once@^1.3.0, once@^1.3.3, once@^1.4.0:
once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
dependencies:
@ -4822,7 +4979,7 @@ p-finally@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
p-limit@^1.1.0:
p-limit@^1.0.0, p-limit@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.2.0.tgz#0e92b6bedcb59f022c13d0f1949dc82d15909f1c"
dependencies:
@ -4842,6 +4999,14 @@ pako@~1.0.5:
version "1.0.6"
resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.6.tgz#0101211baa70c4bca4a0f63f2206e97b7dfaf258"
parallel-transform@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.1.0.tgz#d410f065b05da23081fcd10f28854c29bda33b06"
dependencies:
cyclist "~0.2.2"
inherits "^2.0.3"
readable-stream "^2.1.5"
parse-asn1@^5.0.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.0.tgz#37c4f9b7ed3ab65c74817b5f2480937fbf97c712"
@ -4953,6 +5118,12 @@ path-type@^2.0.0:
dependencies:
pify "^2.0.0"
path-type@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
dependencies:
pify "^3.0.0"
pause-stream@0.0.11:
version "0.0.11"
resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445"
@ -5324,10 +5495,18 @@ process-nextick-args@~1.0.6:
version "1.0.7"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
process-nextick-args@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
process@^0.11.10:
version "0.11.10"
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
promise-inflight@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
promise@^7.0.1:
version "7.3.1"
resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf"
@ -5449,6 +5628,21 @@ pug-walk@^1.1.5:
pug-runtime "^2.0.3"
pug-strip-comments "^1.0.2"
pump@^2.0.0, pump@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
dependencies:
end-of-stream "^1.1.0"
once "^1.3.1"
pumpify@^1.3.3:
version "1.4.0"
resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.4.0.tgz#80b7c5df7e24153d03f0e7ac8a05a5d068bd07fb"
dependencies:
duplexify "^3.5.3"
inherits "^2.0.3"
pump "^2.0.0"
punycode@1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d"
@ -5551,6 +5745,18 @@ read-pkg@^2.0.0:
normalize-package-data "^2.3.2"
path-type "^2.0.0"
"readable-stream@1 || 2", readable-stream@^2.0.4, readable-stream@^2.2.2:
version "2.3.5"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.5.tgz#b4f85003a938cbb6ecbce2a124fb1012bd1a838d"
dependencies:
core-util-is "~1.0.0"
inherits "~2.0.3"
isarray "~1.0.0"
process-nextick-args "~2.0.0"
safe-buffer "~5.1.1"
string_decoder "~1.0.3"
util-deprecate "~1.0.1"
"readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0.17:
version "1.0.34"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
@ -5811,7 +6017,7 @@ right-align@^0.1.1:
dependencies:
align-text "^0.1.1"
rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.6.1:
rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
dependencies:
@ -5824,6 +6030,12 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^2.0.0"
inherits "^2.0.1"
run-queue@^1.0.0, run-queue@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47"
dependencies:
aproba "^1.1.1"
run-sequence@^1.1.5:
version "1.2.2"
resolved "https://registry.yarnpkg.com/run-sequence/-/run-sequence-1.2.2.tgz#5095a0bebe98733b0140bd08dd80ec030ddacdeb"
@ -5916,6 +6128,10 @@ sequencify@~0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/sequencify/-/sequencify-0.0.7.tgz#90cff19d02e07027fd767f5ead3e7b95d1e7380c"
serialize-javascript@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.4.0.tgz#7c958514db6ac2443a8abc062dc9f7886a7f6005"
serve-index@1.8.0:
version "1.8.0"
resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.8.0.tgz#7c5d96c13fb131101f93c1c5774f8516a1e78d3b"
@ -6226,6 +6442,12 @@ sshpk@^1.7.0:
jsbn "~0.1.0"
tweetnacl "~0.14.0"
ssri@^5.2.4:
version "5.3.0"
resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.3.0.tgz#ba3872c9c6d33a0704a7d71ff045e5ec48999d06"
dependencies:
safe-buffer "^5.1.1"
static-extend@^0.1.1:
version "0.1.2"
resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6"
@ -6258,6 +6480,13 @@ stream-consume@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/stream-consume/-/stream-consume-0.1.0.tgz#a41ead1a6d6081ceb79f65b061901b6d8f3d1d0f"
stream-each@^1.1.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.2.tgz#8e8c463f91da8991778765873fe4d960d8f616bd"
dependencies:
end-of-stream "^1.1.0"
stream-shift "^1.0.0"
stream-http@^2.7.2:
version "2.8.0"
resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.0.tgz#fd86546dac9b1c91aff8fc5d287b98fafb41bc10"
@ -6563,6 +6792,10 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0:
version "0.14.5"
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
ua-parser-js@0.7.12:
version "0.7.12"
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.12.tgz#04c81a99bdd5dc52263ea29d24c6bf8d4818a4bb"
@ -6623,6 +6856,18 @@ uniqs@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02"
unique-filename@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.0.tgz#d05f2fe4032560871f30e93cbe735eea201514f3"
dependencies:
unique-slug "^2.0.0"
unique-slug@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.0.tgz#db6676e7c7cc0629878ff196097c78855ae9f4ab"
dependencies:
imurmurhash "^0.1.4"
unique-stream@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unique-stream/-/unique-stream-1.0.0.tgz#d59a4a75427447d9aa6c91e70263f8d26a4b104b"
@ -6988,6 +7233,10 @@ y18n@^3.2.0, y18n@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
y18n@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
yallist@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"

Loading…
Cancel
Save