From 208821cda116bab74e657d6f0c2cd7c23eff9610 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sat, 3 Feb 2018 13:40:30 -0500 Subject: Vastly simplify site I was getting tired of feeling like I should put things on my website and keep it up to date, so I decided to slim it down significantly (from its already admittedly slim state). No CSS, no JavaScript, just plain old HTML. The posts are staying for now, though I haven't linked to them from anywhere. Thus they won't be easily discoverable, but any links that are out there right now shouldn't break. I've also removed my resume from the site. --- 404.html | 6 +- _includes/site.scss | 204 --------------------- _layouts/blog.html | 36 ---- _layouts/master.html | 32 +--- _layouts/post.html | 28 +-- .../icons/apple/apple-touch-icon-114x114.png | Bin 1714 -> 0 bytes .../icons/apple/apple-touch-icon-120x120.png | Bin 1760 -> 0 bytes .../icons/apple/apple-touch-icon-144x144.png | Bin 2341 -> 0 bytes .../icons/apple/apple-touch-icon-152x152.png | Bin 2530 -> 0 bytes .../images/icons/apple/apple-touch-icon-57x57.png | Bin 1008 -> 0 bytes .../images/icons/apple/apple-touch-icon-72x72.png | Bin 1220 -> 0 bytes .../images/icons/apple/apple-touch-icon-76x76.png | Bin 1288 -> 0 bytes assets/pdf/Ben_Burwell_Resume.pdf | Bin 73046 -> 0 bytes assets/scripts/keen.min.js | 31 ---- assets/scripts/metrics.js | 101 ---------- googlea20b1d28f28adfd3.html | 1 - index.html | 26 +-- license/index.md | 11 -- posts/index.html | 14 +- privacy/index.md | 48 ----- projects/index.html | 25 --- resume.pdf | Bin 73046 -> 0 bytes theatre/index.html | 4 +- 23 files changed, 22 insertions(+), 545 deletions(-) delete mode 100644 _includes/site.scss delete mode 100644 _layouts/blog.html delete mode 100644 assets/images/icons/apple/apple-touch-icon-114x114.png delete mode 100644 assets/images/icons/apple/apple-touch-icon-120x120.png delete mode 100644 assets/images/icons/apple/apple-touch-icon-144x144.png delete mode 100644 assets/images/icons/apple/apple-touch-icon-152x152.png delete mode 100644 assets/images/icons/apple/apple-touch-icon-57x57.png delete mode 100644 assets/images/icons/apple/apple-touch-icon-72x72.png delete mode 100644 assets/images/icons/apple/apple-touch-icon-76x76.png delete mode 100644 assets/pdf/Ben_Burwell_Resume.pdf delete mode 100644 assets/scripts/keen.min.js delete mode 100644 assets/scripts/metrics.js delete mode 100644 googlea20b1d28f28adfd3.html delete mode 100644 license/index.md delete mode 100644 privacy/index.md delete mode 100644 projects/index.html delete mode 100644 resume.pdf diff --git a/404.html b/404.html index cc384db..891ef08 100644 --- a/404.html +++ b/404.html @@ -1,11 +1,11 @@ --- -title: Well, this is embarrassing. +title: 404 Not Found description: Page not found — that’s a 404 :( -layout: blog +layout: master permalink: /404.html --- -

HTTP 404 - Not Found

+

404 Not Found

Perhaps you'd be interested in one of the following?

diff --git a/_includes/site.scss b/_includes/site.scss deleted file mode 100644 index f82396f..0000000 --- a/_includes/site.scss +++ /dev/null @@ -1,204 +0,0 @@ -$background-color: #fafafa; -$base-text-color: #1A364F; -$muted-text-color: #687876; -$light-gray: #9CA395; -$heading-color: #9E1814; -$link-color: #2A7F89; - -$unit: 9px; -$monospace: monospace; -$serif: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Book Antiqua', 'Georgia', serif; - -$container-width: $unit * 100; -$header-height: $unit * 5; -$font-size: $unit * 2; -$date-column-width: 200px; - -@mixin container { - max-width: $container-width; -} - -.muted { - color: $muted-text-color; -} - -body { - font-family: $monospace; - color: $base-text-color; - font-size: $font-size; - padding: $font-size; - margin: 0; - background-color: $background-color; -} - -header { - @include container; - text-align: center; - - a.nav-up { - color: $base-text-color; - font-size: 3 * $unit; - font-weight: bold; - - &:hover, - &:focus { - color: $link-color; - } - } -} - -footer { - @extend .muted; - padding: $unit; - text-align: center; -} - -h1, -h2 { - @include container; - color: $heading-color; - font-weight: bold; - - a { - color: $heading-color; - } -} - -h1 { - font-size: 4 * $unit; -} - -h2 { - font-size: 2 * $unit; -} - -table { - width: 100%; -} - -td { - padding: $unit; -} - -p { - @include container; - line-height: 1.5; - margin-bottom: $unit; - font-family: $serif; -} - -ol, ul { - @include container; - font-family: $serif; -} - -li { - margin-left: 4 * $unit; - margin-right: 2 * $unit; - padding: $unit; -} - -pre { - font-family: $monospace; - overflow: auto; - margin: $unit 0; -} - -kbd { - font-family: $monospace; -} - -code { - font-family: $monospace; -} - -hr { - border: none; - margin: $unit 0; - text-align: center; - width: $container-width; - - &:after { - @extend .muted; - content: '~~~'; - } -} - -.d3container { - text-align: center; -} - -blockquote { - font-style: italic; - p { - box-sizing: border-box; - padding: 0 3 * $unit; - } -} - -a { - color: $base-text-color; - text-decoration: underline; - - &:hover, - &:focus { - color: $link-color; - outline: none; - } -} - -time { - @extend .muted; -} - -aside { - @extend .muted; - @include container; - &>* { - margin-left: 2 * $unit; - } - a { - color: $muted-text-color; - } -} - -.text-center { - @include container; - text-align: center; -} - -.post { - @include container; - margin: 1em; - font-family: $serif; - clear: both; -} - -.post-date { - text-align: right; - width: $date-column-width; - float: left; -} - -.post-title { - padding-left: $date-column-width + 2 * $unit; -} - -.highlight { - margin: 0; - padding: 0 $unit; - font-size: 2 * $unit; -} - -.highlight pre { - @include container; -} - -.footer-link::after { - content: ' ~ '; -} - -.footer-link:last-of-type::after { - content: ''; -} - diff --git a/_layouts/blog.html b/_layouts/blog.html deleted file mode 100644 index 21ff3e7..0000000 --- a/_layouts/blog.html +++ /dev/null @@ -1,36 +0,0 @@ ---- -layout: master ---- -
- ../ -
-
- {{ content }} -
- diff --git a/_layouts/master.html b/_layouts/master.html index 53c83f0..d762aad 100644 --- a/_layouts/master.html +++ b/_layouts/master.html @@ -3,44 +3,14 @@ {{ page.title }} - - + - - - - - - - - - - - - - - - - - - - - - - {% if page.chrome-webstore-item %} - - {% endif %} {{ content }} - - diff --git a/_layouts/post.html b/_layouts/post.html index 1449d39..b3dd0c1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,29 +1,9 @@ --- -layout: blog +layout: master --- -
-

{{ page.title }}

-

+

{{page.title}}

+

{{page.date | date: "%Y-%m-%d"}}

-
- {{ content }} -
-
+{{content}} - diff --git a/assets/images/icons/apple/apple-touch-icon-114x114.png b/assets/images/icons/apple/apple-touch-icon-114x114.png deleted file mode 100644 index d2f1d05..0000000 Binary files a/assets/images/icons/apple/apple-touch-icon-114x114.png and /dev/null differ diff --git a/assets/images/icons/apple/apple-touch-icon-120x120.png b/assets/images/icons/apple/apple-touch-icon-120x120.png deleted file mode 100644 index 0ed6930..0000000 Binary files a/assets/images/icons/apple/apple-touch-icon-120x120.png and /dev/null differ diff --git a/assets/images/icons/apple/apple-touch-icon-144x144.png b/assets/images/icons/apple/apple-touch-icon-144x144.png deleted file mode 100644 index babf758..0000000 Binary files a/assets/images/icons/apple/apple-touch-icon-144x144.png and /dev/null differ diff --git a/assets/images/icons/apple/apple-touch-icon-152x152.png b/assets/images/icons/apple/apple-touch-icon-152x152.png deleted file mode 100644 index 80d9a8b..0000000 Binary files a/assets/images/icons/apple/apple-touch-icon-152x152.png and /dev/null differ diff --git a/assets/images/icons/apple/apple-touch-icon-57x57.png b/assets/images/icons/apple/apple-touch-icon-57x57.png deleted file mode 100644 index ac98619..0000000 Binary files a/assets/images/icons/apple/apple-touch-icon-57x57.png and /dev/null differ diff --git a/assets/images/icons/apple/apple-touch-icon-72x72.png b/assets/images/icons/apple/apple-touch-icon-72x72.png deleted file mode 100644 index 57e5b3d..0000000 Binary files a/assets/images/icons/apple/apple-touch-icon-72x72.png and /dev/null differ diff --git a/assets/images/icons/apple/apple-touch-icon-76x76.png b/assets/images/icons/apple/apple-touch-icon-76x76.png deleted file mode 100644 index 28c28bf..0000000 Binary files a/assets/images/icons/apple/apple-touch-icon-76x76.png and /dev/null differ diff --git a/assets/pdf/Ben_Burwell_Resume.pdf b/assets/pdf/Ben_Burwell_Resume.pdf deleted file mode 100644 index cc8166f..0000000 Binary files a/assets/pdf/Ben_Burwell_Resume.pdf and /dev/null differ diff --git a/assets/scripts/keen.min.js b/assets/scripts/keen.min.js deleted file mode 100644 index fec7882..0000000 --- a/assets/scripts/keen.min.js +++ /dev/null @@ -1,31 +0,0 @@ -(function e(b,g,d){function c(n,k){if(!g[n]){if(!b[n]){var j=typeof require=="function"&&require;if(!k&&j){return j(n,!0)}if(a){return a(n,!0)}var m=new Error("Cannot find module '"+n+"'");throw m.code="MODULE_NOT_FOUND",m}var h=g[n]={exports:{}};b[n][0].call(h.exports,function(l){var o=b[n][1][l];return c(o?o:l)},h,h.exports,e,b,g,d)}return g[n].exports}var a=typeof require=="function"&&require;for(var f=0;f1)))/4)-x((ah-1901+ai)/100)+x((ah-1601+ai)/400)}}if(!(w=s.hasOwnProperty)){w=function(aj){var ah={},ai;if((ah.__proto__=null,ah.__proto__={toString:1},ah).toString!=z){w=function(am){var al=this.__proto__,ak=am in (this.__proto__=null,this);this.__proto__=al;return ak}}else{ai=ah.constructor;w=function(al){var ak=(this.constructor||ai).prototype;return al in this&&!(al in ak&&this[al]===ak[al])}}ah=null;return w.call(this,aj)}}r=function(aj,am){var ak=0,ah,ai,al;(ah=function(){this.valueOf=0}).prototype.valueOf=0;ai=new ah();for(al in ai){if(w.call(ai,al)){ak++}}ah=ai=null;if(!ak){ai=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"];r=function(ao,at){var ar=z.call(ao)==Z,aq,ap;var an=!ar&&typeof ao.constructor!="function"&&j[typeof ao.hasOwnProperty]&&ao.hasOwnProperty||w;for(aq in ao){if(!(ar&&aq=="prototype")&&an.call(ao,aq)){at(aq)}}for(ap=ai.length;aq=ai[--ap];an.call(ao,aq)&&at(aq)){}}}else{if(ak==2){r=function(ao,ar){var an={},aq=z.call(ao)==Z,ap;for(ap in ao){if(!(aq&&ap=="prototype")&&!w.call(an,ap)&&(an[ap]=1)&&w.call(ao,ap)){ar(ap)}}}}else{r=function(ao,ar){var aq=z.call(ao)==Z,ap,an;for(ap in ao){if(!(aq&&ap=="prototype")&&w.call(ao,ap)&&!(an=ap==="constructor")){ar(ap)}}if(an||w.call(ao,(ap="constructor"))){ar(ap)}}}}return r(aj,am)};if(!t("json-stringify")){var v={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"};var N="000000";var y=function(ah,ai){return(N+(ai||0)).slice(-ah)};var E="\\u00";var H=function(an){var ai='"',al=0,am=an.length,ah=!K||am>10;var ak=ah&&(K?an.split(""):an);for(;al-1/0&&ay<1/0){if(I){aD=x(ay/86400000);for(av=x(aD/365.2425)+1970-1;I(av+1,0)<=aD;av++){}for(aE=x((aD-I(av,0))/30.42);I(av,aE+1)<=aD;aE++){}aD=1+aD-I(av,aE);ap=(ay%86400000+86400000)%86400000;aB=x(ap/3600000)%24;az=x(ap/60000)%60;aw=x(ap/1000)%60;at=ap%1000}else{av=ay.getUTCFullYear();aE=ay.getUTCMonth();aD=ay.getUTCDate();aB=ay.getUTCHours();az=ay.getUTCMinutes();aw=ay.getUTCSeconds();at=ay.getUTCMilliseconds()}ay=(av<=0||av>=10000?(av<0?"-":"+")+y(6,av<0?-av:av):y(4,av))+"-"+y(2,aE+1)+"-"+y(2,aD)+"T"+y(2,aB)+":"+y(2,az)+":"+y(2,aw)+"."+y(3,at)+"Z"}else{ay=null}}else{if(typeof ay.toJSON=="function"&&((aj!=S&&aj!=T&&aj!=J)||w.call(ay,"toJSON"))){ay=ay.toJSON(an)}}}if(al){ay=al.call(aF,an,ay)}if(ay===null){return"null"}aj=z.call(ay);if(aj==F){return""+ay}else{if(aj==S){return ay>-1/0&&ay<1/0?""+ay:"null"}else{if(aj==T){return H(""+ay)}}}if(typeof ay=="object"){for(ak=ao.length;ak--;){if(ao[ak]===ay){throw af()}}ao.push(ay);ax=[];aA=ah;ah+=aC;if(aj==J){for(am=0,ak=ay.length;am0){for(ai="",ak>10&&(ak=10);ai.length=48&&ai<=57||ai>=97&&ai<=102||ai>=65&&ai<=70)){M()}}al+=R("0x"+am.slice(aj,L));break;default:M()}}else{if(ai==34){break}ai=am.charCodeAt(L);aj=L;while(ai>=32&&ai!=92&&ai!=34){ai=am.charCodeAt(++L)}al+=am.slice(aj,L)}}}if(am.charCodeAt(L)==34){L++;return al}M();default:aj=L;if(ai==45){an=true;ai=am.charCodeAt(++L)}if(ai>=48&&ai<=57){if(ai==48&&((ai=am.charCodeAt(L+1)),ai>=48&&ai<=57)){M()}an=false;for(;L=48&&ai<=57);L++){}if(am.charCodeAt(L)==46){ah=++L;for(;ah=48&&ai<=57);ah++){}if(ah==L){M()}L=ah}ai=am.charCodeAt(L);if(ai==101||ai==69){ai=am.charCodeAt(++L);if(ai==43||ai==45){L++}for(ah=L;ah=48&&ai<=57);ah++){}if(ah==L){M()}L=ah}return +am.slice(aj,L)}if(an){M()}if(am.slice(L,L+4)=="true"){L+=4;return true}else{if(am.slice(L,L+5)=="false"){L+=5;return false}else{if(am.slice(L,L+4)=="null"){L+=4;return null}}}M()}}return"$"};var ab=function(ai){var ah,aj;if(ai=="$"){M()}if(typeof ai=="string"){if((K?ai.charAt(0):ai[0])=="@"){return ai.slice(1)}if(ai=="["){ah=[];for(;;aj||(aj=true)){ai=D();if(ai=="]"){break}if(aj){if(ai==","){ai=D();if(ai=="]"){M()}}else{M()}}if(ai==","){M()}ah.push(ab(ai))}return ah}else{if(ai=="{"){ah={};for(;;aj||(aj=true)){ai=D();if(ai=="}"){break}if(aj){if(ai==","){ai=D();if(ai=="}"){M()}}else{M()}}if(ai==","||typeof ai!="string"||(K?ai.charAt(0):ai[0])!="@"||D()!=":"){M()}ah[ai.slice(1)]=ab(D())}return ah}}M()}return ai};var U=function(aj,ai,ak){var ah=B(aj,ai,ak);if(ah===Q){delete aj[ai]}else{aj[ai]=ah}};var B=function(ak,aj,al){var ai=ak[aj],ah;if(typeof ai=="object"&&ai){if(z.call(ai)==J){for(ah=ai.length;ah--;){U(ai,ah,al)}}else{r(ai,function(am){U(ai,am,al)})}}return al.call(ak,aj,ai)};aa.parse=function(aj,ak){var ah,ai;L=0;ac=""+aj;ah=ab(D());if(D()!="$"){M()}L=ac=null;return ak&&z.call(ak)==Z?B((ai={},ai[""]=ah,ai),"",ak):ah}}}aa.runInContext=o;return aa}if(m&&!g){o(n,m)}else{var k=n.JSON,p=n.JSON3,h=false;var l=o(n,(n.JSON3={noConflict:function(){if(!h){h=true;n.JSON=k;n.JSON3=p;k=p=null}return l}}));n.JSON={parse:l.parse,stringify:l.stringify}}if(g){define(function(){return l})}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],4:[function(b,c,a){(function(d,f){if(typeof a=="object"){c.exports=f()}else{if(typeof define=="function"&&define.amd){define(f)}else{d.Spinner=f()}}}(this,function(){var j=["webkit","Moz","ms","O"],t={},s,n;function l(u,x){var v=document.createElement(u||"div"),w;for(w in x){v[w]=x[w]}return v}function m(v){for(var u=1,w=arguments.length;u>1)+"px"})}for(;v',v)}n.addRule(".spin-vml","behavior:url(#default#VML)");f.prototype.lines=function(x,w){var v=w.scale*(w.length+w.width),D=w.scale*2*v;function C(){return k(u("group",{coordsize:D+" "+D,coordorigin:-v+" "+-v}),{width:D,height:D})}var y=-(w.width+w.length)*w.scale*2+"px",B=k(C(),{position:"absolute",top:y,left:y}),A;function z(F,E,G){m(B,m(k(C(),{rotation:360/w.lines*F+"deg",left:~~E}),m(k(u("roundrect",{arcsize:w.corners}),{width:v,height:w.scale*w.width,left:w.scale*w.radius,top:-w.scale*w.width>>1,filter:G}),u("fill",{color:r(w.color,F),opacity:w.opacity}),u("stroke",{opacity:0}))))}if(w.shadow){for(A=1;A<=w.lines;A++){z(A,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)")}}for(A=1;A<=w.lines;A++){z(A)}return m(x,B)};f.prototype.opacity=function(w,v,y,x){var z=w.firstChild;x=x.shadow&&x.lines||0;if(z&&v+x0){return 2000}}return 16000}},{}],13:[function(b,c,a){c.exports=function(){var d="undefined"==typeof window?this:window;if(d.XMLHttpRequest&&("file:"!=d.location.protocol||!d.ActiveXObject)){return new XMLHttpRequest}else{try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(f){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(f){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(f){}}return false}},{}],14:[function(b,c,a){c.exports=function(h,g,j){var f=j||function(){};if(g&&!g.ok){var d=g.body&&g.body.error_code;h=new Error(d?g.body.message:"Unknown error occurred");h.code=d?g.body.error_code:"UnknownError"}if(h){f(h,null)}else{f(null,g.body)}return}},{}],15:[function(f,b,g){var o=f("superagent");var m=f("../utils/each"),a=f("./get-xhr-object");b.exports=function(p,q){return function(r){var s=r.constructor.prototype.end;if(typeof window==="undefined"){return}r.requestType=r.requestType||{};r.requestType.type=p;r.requestType.options=r.requestType.options||{async:true,success:{responseText:'{ "created": true }',status:201},error:{responseText:'{ "error_code": "ERROR", "message": "Request failed" }',status:404}};if(q){if(typeof q.async==="boolean"){r.requestType.options.async=q.async}if(q.success){extend(r.requestType.options.success,q.success)}if(q.error){extend(r.requestType.options.error,q.error)}}r.end=function(v){var u=this,t=(this.requestType)?this.requestType.type:"xhr",x,w;if(("GET"!==u.method||t==="xhr")&&u.requestType.options.async){s.call(u,v);return}x=u._query.join("&");w=u._timeout;u._callback=v||noop;if(w&&!u._timer){u._timer=setTimeout(function(){h.call(u)},w)}if(x){x=o.serializeObject(x);u.url+=~u.url.indexOf("?")?"&"+x:"?"+x}u.emit("request",u);if(!u.requestType.options.async){l.call(u)}else{if(t==="jsonp"){k.call(u)}else{if(t==="beacon"){j.call(u)}}}return u};return r}};function l(){var p=a();if(p){p.open("GET",this.url,false);p.send(null)}return this}function k(){var q=this,u=new Date().getTime(),p=document.createElement("script"),t=document.getElementsByTagName("head")[0],v="keenJSONPCallback",r=false;v+=u;while(v in window){v+="a"}window[v]=function(w){if(r===true){return}r=true;d.call(q,w);s()};p.src=q.url+"&jsonp="+v;t.appendChild(p);p.onreadystatechange=function(){if(r===false&&q.readyState==="loaded"){r=true;c.call(q);s()}};p.onerror=function(){if(r===false){r=true;c.call(q);s()}};function s(){window[v]=undefined;try{delete window[v]}catch(w){}t.removeChild(p)}}function j(){var q=this,p=document.createElement("img"),r=false;p.onload=function(){r=true;if("naturalHeight" in this){if(this.naturalHeight+this.naturalWidth===0){this.onerror();return}}else{if(this.width+this.height===0){this.onerror();return}}d.call(q)};p.onerror=function(){r=true;c.call(q)};p.src=q.url+"&c=clv1"}function d(q){var r=this.requestType.options["success"],p="";n.call(this,r);if(q){try{p=JSON.stringify(q)}catch(s){}}else{p=r.responseText}this.xhr.responseText=p;this.xhr.status=r.status;this.emit("end")}function c(){var p=this.requestType.options["error"];n.call(this,p);this.xhr.responseText=p.responseText;this.xhr.status=p.status;this.emit("end")}function h(){this.aborted=true;this.clearTimeout();this.emit("abort")}function n(p){this.xhr={getAllResponseHeaders:function(){return""},getResponseHeader:function(){return"application/json"},responseText:p.responseText,status:p.status};return this}},{"../utils/each":29,"./get-xhr-object":13,superagent:5}],16:[function(d,f,c){var b="undefined"!==typeof window?window:this;var h=b.Keen;var g=d("./utils/emitter-shim");function a(j){this.configure(j||{});a.trigger("client",this)}a.debug=false;a.enabled=true;a.loaded=true;a.version="3.4.0-rc";g(a);g(a.prototype);a.prototype.configure=function(j){var k=j||{};if(k.host){k.host.replace(/.*?:\/\//g,"")}if(k.protocol&&k.protocol==="auto"){k.protocol=location.protocol.replace(/:/g,"")}this.config={projectId:k.projectId,writeKey:k.writeKey,readKey:k.readKey,masterKey:k.masterKey,requestType:k.requestType||"jsonp",host:k.host||"api.keen.io/3.0",protocol:k.protocol||"https",globalProperties:null};if(a.debug){this.on("error",a.log)}this.trigger("ready")};a.prototype.projectId=function(j){if(!arguments.length){return this.config.projectId}this.config.projectId=(j?String(j):null);return this};a.prototype.masterKey=function(j){if(!arguments.length){return this.config.masterKey}this.config.masterKey=(j?String(j):null);return this};a.prototype.readKey=function(j){if(!arguments.length){return this.config.readKey}this.config.readKey=(j?String(j):null);return this};a.prototype.writeKey=function(j){if(!arguments.length){return this.config.writeKey}this.config.writeKey=(j?String(j):null);return this};a.prototype.url=function(j){if(!this.projectId()){this.trigger("error","Client is missing projectId property");return}return this.config.protocol+"://"+this.config.host+"/projects/"+this.projectId()+j};a.log=function(j){if(a.debug&&typeof console=="object"){console.log("[Keen IO]",j)}};a.noConflict=function(){b.Keen=h;return a};a.ready=function(j){if(a.loaded){j()}else{a.once("ready",j)}};f.exports=a},{"./utils/emitter-shim":30}],17:[function(f,c,h){var q=f("../utils/json-shim");var g=f("superagent");var j=f("../index");var k=f("../utils/base64"),n=f("../utils/each"),o=f("../helpers/get-context"),d=f("../helpers/get-query-string"),b=f("../helpers/get-url-max-length"),a=f("../helpers/get-xhr-object"),l=f("../helpers/superagent-request-types"),p=f("../helpers/superagent-handle-response");c.exports=function(y,B,C,u){var D=this,w=this.url("/events/"+encodeURIComponent(y)),r=this.config.requestType,v={},t=C,s,A;s=("boolean"===typeof u)?u:true;if(!j.enabled){z.call(D,"Keen.enabled = false");return}if(!D.projectId()){z.call(D,"Missing projectId property");return}if(!D.writeKey()){z.call(D,"Missing writeKey property");return}if(!y||typeof y!=="string"){z.call(D,"Collection name must be a string");return}if(D.config.globalProperties){v=D.config.globalProperties(y)}n(B,function(F,E){v[E]=F});if(!a()&&"xhr"===r){r="jsonp"}if("xhr"!==r||!s){A=m.call(D,w,v)}if(A&&o()==="browser"){g.get(A).use(l(r,{async:s})).end(x)}else{if(a()||o()==="server"){g.post(w).set("Content-Type","application/json").set("Authorization",D.writeKey()).send(v).end(x)}else{D.trigger("error","Request not sent: URL length exceeds current browser limit, and XHR (POST) is not supported.")}}function x(F,E){p(F,E,t);t=C=null}function z(F){var E="Event not recorded: "+F;D.trigger("error",E);if(t){t.call(D,E,null);t=C=null}}return};function m(r,s){r+=d({api_key:this.writeKey(),data:k.encode(q.stringify(s)),modified:new Date().getTime()});return(r.length2){r.call(o,"Incorrect arguments provided to #addEvents method");return}if(typeof q!=="object"||q instanceof Array){r.call(o,"Request payload must be an object");return}if(o.config.globalProperties){j(q,function(t,u){j(t,function(v,w){var x=o.config.globalProperties(u);j(v,function(z,y){x[y]=z});p[u].push(x)})})}else{p=q}if(a()||k()==="server"){d.post(n).set("Content-Type","application/json").set("Authorization",o.writeKey()).send(p).end(function(u,t){l(u,t,m);m=s=null})}else{o.trigger("error","Events not recorded: XHR support is required for batch upload")}function r(u){var t="Events not recorded: "+u;o.trigger("error",t);if(m){m.call(o,t,null);m=s=null}}return}},{"../helpers/get-context":9,"../helpers/get-xhr-object":13,"../helpers/superagent-handle-response":14,"../helpers/superagent-request-types":15,"../index":16,"../utils/each":29,superagent:5}],19:[function(d,f,c){var h=d("superagent");var b=d("../helpers/get-query-string"),g=d("../helpers/superagent-handle-response"),a=d("../helpers/superagent-request-types");f.exports=function(k,n,m,o){var j=this.config.requestType,l=n||{};if(j==="beacon"){j="jsonp"}l.api_key=l.api_key||m;h.get(k+b(l)).use(a(j)).end(function(q,p){g(q,p,o);o=null})}},{"../helpers/get-query-string":10,"../helpers/superagent-handle-response":14,"../helpers/superagent-request-types":15,superagent:5}],20:[function(b,c,a){var f=b("superagent");var d=b("../helpers/superagent-handle-response");c.exports=function(g,j,h,k){f.post(g).set("Content-Type","application/json").set("Authorization",h).send(j||{}).end(function(m,l){d(m,l,k);k=null})}},{"../helpers/superagent-handle-response":14,superagent:5}],21:[function(b,d,a){var c=b("../request");d.exports=function(j,k){var g=[],f=k,h;if(j instanceof Array){g=j}else{g.push(j)}h=new c(this,g,f).refresh();f=k=null;return h}},{"../request":25}],22:[function(b,c,a){c.exports=function(d){if(d&&typeof(d)=="function"){this.config.globalProperties=d}else{this.trigger("error","Invalid value for global properties: "+d)}}},{}],23:[function(b,c,a){var d=b("./addEvent");c.exports=function(l,f,o,m,n){var p=l,k=(p.currentTarget)?p.currentTarget:(p.srcElement||p.target),g=m||500,h=false,r="",q,j;if(k.getAttribute!==void 0){r=k.getAttribute("target")}else{if(k.target){r=k.target}}if((r=="_blank"||r=="blank")&&!p.metaKey){j=window.open("about:blank");j.document.location=k.href}if(k.nodeName==="A"){q=function(){if(!h&&!p.metaKey&&(r!=="_blank"&&r!=="blank")){h=true;window.location=k.href}}}else{if(k.nodeName==="FORM"){q=function(){if(!h){h=true;k.submit()}}}else{this.trigger("error","#trackExternalLink method not attached to an or
DOM element")}}if(n){q=function(){if(!h){h=true;n()}}}d.call(this,f,o,q);setTimeout(q,g);if(!p.metaKey){return false}}},{"./addEvent":17}],24:[function(c,a,d){var k=c("./utils/each"),h=c("./utils/extend"),g=c("./helpers/get-timezone-offset"),b=c("./helpers/get-query-string");var j=c("./utils/emitter-shim");function f(){this.configure.apply(this,arguments)}j(f.prototype);f.prototype.configure=function(l,m){this.analysis=l;this.params=this.params||{};this.set(m);if(this.params.timezone===void 0){this.params.timezone=g()}return this};f.prototype.set=function(m){var l=this;k(m,function(o,n){var p=n,q=o;if(n.match(new RegExp("[A-Z]"))){p=n.replace(/([A-Z])/g,function(r){return"_"+r.toLowerCase()})}l.params[p]=q;if(q instanceof Array){k(q,function(s,r){if(s instanceof Array==false&&typeof s==="object"){k(s,function(u,t){if(t.match(new RegExp("[A-Z]"))){var v=t.replace(/([A-Z])/g,function(w){return"_"+w.toLowerCase()});delete l.params[p][r][t];l.params[p][r][v]=u}})}})}});return l};f.prototype.get=function(m){var l=m;if(l.match(new RegExp("[A-Z]"))){l=l.replace(/([A-Z])/g,function(n){return"_"+n.toLowerCase()})}if(this.params){return this.params[l]||null}};f.prototype.addFilter=function(n,l,m){this.params.filters=this.params.filters||[];this.params.filters.push({property_name:n,operator:l,property_value:m});return this};a.exports=f},{"./helpers/get-query-string":10,"./helpers/get-timezone-offset":11,"./utils/each":29,"./utils/emitter-shim":30,"./utils/extend":31}],25:[function(c,b,d){var m=c("./utils/each"),k=c("./utils/extend"),h=c("./utils/sendQuery"),j=c("./utils/sendSavedQuery");var l=c("./utils/emitter-shim");var g=c("./");var f=c("./query");function a(o,p,q){var n=q;this.config={timeout:300*1000};this.configure(o,p,n);n=q=null}l(a.prototype);a.prototype.configure=function(o,p,q){var n=q;k(this,{client:o,queries:p,data:{},callback:n});n=q=null;return this};a.prototype.timeout=function(n){if(!arguments.length){return this.config.timeout}this.config.timeout=(!isNaN(parseInt(n))?parseInt(n):null);return this};a.prototype.refresh=function(){var p=this,n=0,o=[],r=false;var q=function(u,t,s){if(r){return}if(u){p.trigger("error",u);if(p.callback){p.callback(u,null)}r=true;return}o[s]=t;n++;if(n==p.queries.length&&!r){p.data=(p.queries.length==1)?o[0]:o;p.trigger("complete",null,p.data);if(p.callback){p.callback(null,p.data)}}};m(p.queries,function(v,t){var s=function(y,x){q(y,x,t)};var w="/queries";if(typeof v==="string"){w+="/saved/"+v+"/result";j.call(p,w,{},s)}else{if(v instanceof f){w+="/"+v.analysis;if(v.analysis==="saved"){w+="/"+v.params.query_name+"/result";j.call(p,w,{},s)}else{h.call(p,w,v.params,s)}}else{var u={statusText:"Bad Request",responseText:{message:"Error: Query "+(+t+1)+" of "+p.queries.length+" for project "+p.client.projectId()+" is not a valid request"}};p.trigger("error",u.responseText.message);if(p.callback){p.callback(u.responseText.message,null)}}}});return this};b.exports=a},{"./":16,"./query":24,"./utils/each":29,"./utils/emitter-shim":30,"./utils/extend":31,"./utils/sendQuery":34,"./utils/sendSavedQuery":35}],26:[function(c,d,b){var g=c("superagent");var a=c("./helpers/superagent-handle-response");function f(){var h=this;this.all=function(l){var j=h.url("/queries/saved");g.get(j).set("Content-Type","application/json").set("Authorization",h.masterKey()).end(k);function k(n,m){a(n,m,l);l=null}};this.get=function(l,m){var j=h.url("/queries/saved/"+l);g.get(j).set("Content-Type","application/json").set("Authorization",h.masterKey()).end(k);function k(o,n){a(o,n,m);m=null}};this.update=function(m,j,n){var k=h.url("/queries/saved/"+m);g.put(k).set("Content-Type","application/json").set("Authorization",h.masterKey()).send(j||{}).end(l);function l(p,o){a(p,o,n);n=null}};this.create=this.update;this.destroy=function(l,m){var j=h.url("/queries/saved/"+l);g.del(j).set("Content-Type","application/json").set("Authorization",h.masterKey()).end(k);function k(o,n){a(o,n,m);m=null}};return this}d.exports=f},{"./helpers/superagent-handle-response":14,superagent:5}],27:[function(b,c,a){c.exports={map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(f){var d="",l=0,h=this.map,k,j,g,s,r,q,p;f=this.utf8.encode(f);while(l>2);r=(((k&3)<<4)|(j>>4));q=(isNaN(j)?64:((j&15)<<2)|(g>>6));p=(isNaN(j)||isNaN(g))?64:g&63;d=d+h.charAt(s)+h.charAt(r)+h.charAt(q)+h.charAt(p)}return d},decode:function(f){var d="",p=0,h=this.map,g=String.fromCharCode,t,s,r,q,l,k,j;f=f.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(p>4);k=((s&15)<<4)|(r>>2);j=((r&3)<<6)|q;d=d+(g(l)+((r!=64)?g(k):""))+(((q!=64)?g(j):""))}return this.utf8.decode(d)},utf8:{encode:function(j){var f="",d=0,h=String.fromCharCode,g;while(d127)&&(g<2048))?(h((g>>6)|192)+h((g&63)|128)):(h((g>>12)|224)+h(((g>>6)&63)|128)+h((g&63)|128)))}return f},decode:function(k){var g="",f=0,j=String.fromCharCode,d,h;while(f191)&&(h<224))?[j(((h&31)<<6)|((d=k.charCodeAt(f+1))&63)),(f+=2)][0]:[j(((h&15)<<12)|(((d=k.charCodeAt(f+1))&63)<<6)|((c3=k.charCodeAt(f+2))&63)),(f+=3)][0])}return g}}}},{}],28:[function(b,d,a){var c=b("./json-shim");d.exports=function(f){return c.parse(c.stringify(f))}},{"./json-shim":32}],29:[function(b,c,a){c.exports=function(g,d,f){var h;if(!g){return 0}f=!f?g:f;if(g instanceof Array){for(h=0;h0){this.parse.apply(this,arguments)}}b.defaults={delimeter:" -> "};o(b);o(b.prototype);b.parser=g("./utils/parsers")(b);b.prototype.input=function(q){if(!arguments.length){return this["data"]["input"]}this["data"]["input"]=(q?n(q):null);return this};b.prototype.output=function(q){if(!arguments.length){return this["data"].output}this["data"].output=(q instanceof Array?q:null);return this};b.prototype.method=function(q){if(!arguments.length){return this.meta.method}this.meta.method=(q?String(q):null);return this};b.prototype.schema=function(q){if(!arguments.length){return this.meta.schema}this.meta.schema=(q?q:null);return this};b.prototype.parse=function(r,s){var q;if(r){this.input(r)}if(s){this.schema(s)}this.output([[]]);if(this.meta.schema.select){this.method("select");q=m({records:"",select:true},this.schema());f.call(this,d(q))}else{if(this.meta.schema.unpack){this.method("unpack");q=m({records:"",unpack:{index:false,value:false,label:false}},this.schema());l.call(this,d(q))}}return this};function f(s){var t=this,u=s||{},v=[],w=[];var r,q;if(u.records===""||!u.records){r=[t.input()]}else{q=u.records.split(b.defaults.delimeter);r=h.apply(t,[t.input()].concat(q))[0]}p(u.select,function(y){v.push(y.path.split(b.defaults.delimeter))});if(v.length==0){p(r,function(y,z){var B=a(y);for(var A in B){if(B.hasOwnProperty(A)&&w.indexOf(A)==-1){w.push(A);v.push([A])}}})}var x=[[]];p(v,function(z,y){if(v.length==1){x[0].push("label","value")}else{x[0].push(z.join("."))}});p(r,function(y,z){var A=a(y);if(v.length==1){x.push([v.join("."),A[v.join(".")]])}else{x.push([]);p(v,function(C,B){var D=C.join(".");x[z+1].push(A[D])})}});t.output(x);t.format(u.select);return t}function l(z){var y=this,u=[];var s=(z.unpack.value)?z.unpack.value.path.split(b.defaults.delimeter):false,r=(z.unpack.label)?z.unpack.label.path.split(b.defaults.delimeter):false,t=(z.unpack.index)?z.unpack.index.path.split(b.defaults.delimeter):false;var v=(s[s.length-1]!=="")?s[s.length-1]:"Value",q=(r[r.length-1]!=="")?r[r.length-1]:"Label",x=(t[t.length-1]!=="")?t[t.length-1]:"Index";var w=(function(){var A;if(z.records==""){A=[y.input()]}else{A=h.apply(y,[y.input()].concat(z.records.split(b.defaults.delimeter)))}return A[0]})();if(w instanceof Array==false){w=[w]}p(w,function(A,B){var C=(r)?h.apply(y,[A].concat(r)):[];if(C){u=C}});p(w,function(B,C){var D=(s)?h.apply(y,[B].concat(s)):false,A=(t)?h.apply(y,[B].concat(t)):false;if(A){p(A,function(){y.data.output.push([])})}else{y.data.output.push([])}if(A){if(C==0){y.data.output[0].push(x);if(u.length>0){p(u,function(F,E){y.data.output[0].push(F)})}else{y.data.output[0].push(v)}}if(w.length0){y.data.output[E].push(A[E-1])}})}}else{y.data.output[C+1].push(A[0])}}if(!A&&u.length>0){if(C==0){y.data.output[0].push(q);y.data.output[0].push(v)}y.data.output[C+1].push(u[0])}if(!A&&u.length==0){y.data.output[0].push("")}if(D){if(w.length0){y.data.output[E].push(D[E-1])}})}}else{p(D,function(E){y.data.output[C+1].push(E)})}}else{p(y.data.output[0],function(E,F){var G=(A)?0:-1;if(F>G){y.data.output[C+1].push(null)}})}});y.format(z.unpack);return this}function d(q){p(q.unpack,function(t,s,r){if(t&&k(t,"string")){q.unpack[s]={path:q.unpack[s]}}});return q}function k(r,q){r=typeof(r);if(!q){return r!="undefined"}return r==q}function m(r,q){p(q,function(s,t){if(k(r[t],"object")&&k(s,"object")){r[t]=m(r[t],s)}else{if(s!==null){r[t]=s}}});return r}c.exports=b},{"../core/utils/clone":28,"../core/utils/each":29,"../core/utils/emitter-shim":30,"./utils/flatten":49,"./utils/parse":50,"./utils/parsers":51}],37:[function(b,c,a){var f=b("../core/utils/extend"),d=b("./dataset");f(d.prototype,b("./lib/append"));f(d.prototype,b("./lib/delete"));f(d.prototype,b("./lib/filter"));f(d.prototype,b("./lib/insert"));f(d.prototype,b("./lib/select"));f(d.prototype,b("./lib/set"));f(d.prototype,b("./lib/sort"));f(d.prototype,b("./lib/update"));f(d.prototype,b("./lib/analyses"));f(d.prototype,{format:b("./lib/format")});c.exports=d},{"../core/utils/extend":31,"./dataset":36,"./lib/analyses":38,"./lib/append":39,"./lib/delete":40,"./lib/filter":41,"./lib/format":42,"./lib/insert":43,"./lib/select":44,"./lib/set":45,"./lib/sort":46,"./lib/update":47}],38:[function(d,f,c){var g=d("../../core/utils/each"),a=["Average","Maximum","Minimum","Sum"],b={};b.average=function(h,n,j){var m=h.slice(n||0,(j?j+1:h.length)),k=0,l=null;g(m,function(p,o){if(typeof p==="number"&&!isNaN(parseFloat(p))){k+=parseFloat(p)}});return k/m.length};b.maximum=function(h,m,j){var l=h.slice(m||0,(j?j+1:h.length)),k=[];g(l,function(o,n){if(typeof o==="number"&&!isNaN(parseFloat(o))){k.push(parseFloat(o))}});return Math.max.apply(Math,k)};b.minimum=function(h,m,j){var l=h.slice(m||0,(j?j+1:h.length)),k=[];g(l,function(o,n){if(typeof o==="number"&&!isNaN(parseFloat(o))){k.push(parseFloat(o))}});return Math.min.apply(Math,k)};b.sum=function(h,m,j){var l=h.slice(m||0,(j?j+1:h.length)),k=0;g(l,function(o,n){if(typeof o==="number"&&!isNaN(parseFloat(o))){k+=parseFloat(o)}});return k};g(a,function(h,j){b["getColumn"+h]=b["getRow"+h]=function(k){return this[h.toLowerCase()](k,1)}});b.getColumnLabel=b.getRowIndex=function(h){return h[0]};f.exports=b},{"../../core/utils/each":29}],39:[function(d,f,c){var h=d("../../core/utils/each");var b=d("../utils/create-null-list");f.exports={appendColumn:g,appendRow:a};function g(n,k){var j=this,m=Array.prototype.slice.call(arguments,2),l=(n!==undefined)?n:null;if(typeof k==="function"){j.data.output[0].push(l);h(j.output(),function(q,p){var o;if(p>0){o=k.call(j,q,p);if(typeof o==="undefined"){o=null}j.data.output[p].push(o)}})}else{if(!k||k instanceof Array){k=k||[];if(k.length<=j.output().length-1){k=k.concat(b(j.output().length-1-k.length))}else{h(k,function(p,o){if(j.data.output.length-10){q=j.selectColumn(s);p=k.call(j,q,s);if(typeof p==="undefined"){p=null}l.push(p)}});j.data.output.push(l)}else{if(!k||k instanceof Array){k=k||[];if(k.length<=j.data.output[0].length-1){k=k.concat(b(j.data.output[0].length-1-k.length))}else{h(k,function(q,p){if(j.data.output[0].length-1-1){g(h.data.output,function(m,l){h.data.output[l].splice(j,1)})}return h}function b(j){var h=(typeof j==="number")?j:this.selectColumn(0).indexOf(j);if(h>-1){this.data.output.splice(h,1)}return this}},{"../../core/utils/each":29}],41:[function(c,d,b){var f=c("../../core/utils/each");d.exports={filterColumns:a,filterRows:g};function a(j){var h=this,k=new Array();f(h.data.output,function(m,l){k.push([])});f(h.data.output[0],function(l,m){var n=h.selectColumn(m);if(m==0||j.call(h,n,m)){f(n,function(o,p){k[p].push(o)})}});h.output(k);return h}function g(j){var h=this,k=[];f(h.output(),function(m,l){if(l==0||j.call(h,m,l)){k.push(m)}});h.output(k);return h}},{"../../core/utils/each":29}],42:[function(c,d,b){var f=c("../../core/utils/each");d.exports=function(h){var g=this;if(this.method()==="select"){f(g.output(),function(k,j){if(j==0){f(k,function(l,m){if(h[m]&&h[m].label){g.data.output[j][m]=h[m].label}})}else{f(k,function(l,m){g.data.output[j][m]=a(g.data.output[j][m],h[m])})}})}if(this.method()==="unpack"){if(h.index){f(g.output(),function(k,j){if(j==0){if(h.index.label){g.data.output[j][0]=h.index.label}}else{g.data.output[j][0]=a(g.data.output[j][0],h.index)}})}if(h.label){if(h.index){f(g.output(),function(k,j){f(k,function(l,m){if(j==0&&m>0){g.data.output[j][m]=a(g.data.output[j][m],h.label)}})})}else{f(g.output(),function(k,j){if(j>0){g.data.output[j][0]=a(g.data.output[j][0],h.label)}})}}if(h.value){if(h.index){f(g.output(),function(k,j){f(k,function(l,m){if(j>0&&m>0){g.data.output[j][m]=a(g.data.output[j][m],h.value)}})})}else{f(g.output(),function(k,j){f(k,function(l,m){if(j>0){g.data.output[j][m]=a(g.data.output[j][m],h.value)}})})}}}return g};function a(k,j){var g=k,h=j||{};if(h.replace){f(h.replace,function(m,l){if(g==l||String(g)==String(l)||parseFloat(g)==parseFloat(l)){g=m}})}if(h.type&&h.type=="date"){if(h.format&&moment&&moment(k).isValid()){g=moment(g).format(h.format)}else{g=new Date(g)}}if(h.type&&h.type=="string"){g=String(g)}if(h.type&&h.type=="number"&&!isNaN(parseFloat(g))){g=parseFloat(g)}return g}},{"../../core/utils/each":29}],43:[function(f,b,g){var j=f("../../core/utils/each");var h=f("../utils/create-null-list");var c=f("./append");var l=c.appendRow,d=c.appendColumn;b.exports={insertColumn:a,insertRow:k};function a(p,q,n){var m=this,o;o=(q!==undefined)?q:null;if(typeof n==="function"){m.data.output[0].splice(p,0,o);j(m.output(),function(t,s){var r;if(s>0){r=n.call(m,t,s);if(typeof r==="undefined"){r=null}m.data.output[s].splice(p,0,r)}})}else{if(!n||n instanceof Array){n=n||[];if(n.length<=m.output().length-1){n=n.concat(h(m.output().length-1-n.length))}else{j(n,function(s,r){if(m.data.output.length-10){t=m.selectColumn(v);s=n.call(m,t,v);if(typeof s==="undefined"){s=null}o.push(s)}});m.data.output.splice(q,0,o)}else{if(!n||n instanceof Array){n=n||[];if(n.length<=m.data.output[0].length-1){n=n.concat(h(m.data.output[0].length-1-n.length))}else{j(n,function(t,s){if(m.data.output[0].length-1-1&&"undefined"!==typeof this.data.output[0][j]){g(this.data.output,function(m,l){h.push(m[j])})}return h}function a(k){var h=new Array(),j=(typeof k==="number")?k:this.selectColumn(0).indexOf(k);if(j>-1&&"undefined"!==typeof this.data.output[j]){h=this.data.output[j]}return h}},{"../../core/utils/each":29}],45:[function(d,f,c){var g=d("../../core/utils/each");var b=d("./append");var a=d("./select");f.exports={set:h};function h(n,m){if(arguments.length<2||n.length<2){throw Error("Incorrect arguments provided for #set method")}var j="number"===typeof n[0]?n[0]:this.data.output[0].indexOf(n[0]),o="number"===typeof n[1]?n[1]:a.selectColumn.call(this,0).indexOf(n[1]);var l=a.selectColumn.call(this,n[0]),k=a.selectRow.call(this,n[1]);if(l.length<1){b.appendColumn.call(this,n[0]);j=this.data.output[0].length-1}if(k.length<1){b.appendRow.call(this,n[1]);o=this.data.output.length-1}this.data.output[o][j]=m;return this}},{"../../core/utils/each":29,"./append":39,"./select":44}],46:[function(d,f,c){var g=d("../../core/utils/each");f.exports={sortColumns:b,sortRows:a};function b(n,j){var h=this,k=this.output()[0].slice(1),m=[],o=[],l=j||this.getColumnLabel;g(k,function(p,q){m.push(h.selectColumn(q+1).slice(0))});m.sort(function(q,p){var r=l.call(h,q)>l.call(h,p);if(r){return(n==="asc"?1:-1)}else{if(!r){return(n==="asc"?-1:1)}else{return 0}}});g(m,function(p,q){h.deleteColumn(q+1).insertColumn(q+1,p[0],p.slice(1))});return h}function a(n,k){var j=this,l=this.output().slice(0,1),h=this.output().slice(1),m=k||this.getRowIndex;h.sort(function(p,o){var q=m.call(j,p)>m.call(j,o);if(q){return(n==="asc"?1:-1)}else{if(!q){return(n==="asc"?-1:1)}else{return 0}}});j.output(l.concat(h));return j}},{"../../core/utils/each":29}],47:[function(f,a,g){var k=f("../../core/utils/each");var h=f("../utils/create-null-list");var b=f("./append");var l=b.appendRow,d=b.appendColumn;a.exports={updateColumn:j,updateRow:c};function j(p,n){var m=this,o=(typeof p==="number")?p:this.data.output[0].indexOf(p);if(o>-1){if(typeof n==="function"){k(m.output(),function(s,r){var q;if(r>0){q=n.call(m,s[o],r,s);if(typeof q!=="undefined"){m.data.output[r][o]=q}}})}else{if(!n||n instanceof Array){n=n||[];if(n.length<=m.output().length-1){n=n.concat(h(m.output().length-1-n.length))}else{k(n,function(r,q){if(m.data.output.length-1-1){if(typeof n==="function"){k(m.output()[o],function(t,s){var r=m.selectColumn(s),q=n.call(m,t,s,r);if(typeof q!=="undefined"){m.data.output[o][s]=q}})}else{if(!n||n instanceof Array){n=n||[];if(n.length<=m.data.output[0].length-1){n=n.concat(h(m.data.output[0].length-1-n.length))}else{k(n,function(r,q){if(m.data.output[0].length-10){return f}};return g.apply(this,arguments)}},{"../../core/utils/each":29}],51:[function(f,c,k){var b;var q=f("../../core/utils/each"),a=f("./flatten");var r={metric:n,interval:j,"grouped-metric":p,"grouped-interval":s,"double-grouped-metric":h,"double-grouped-interval":g,funnel:o,list:l,extraction:d};c.exports=m;function m(t){b=t;return function(v){var u=Array.prototype.slice.call(arguments,1);if(!r[v]){throw"Requested parser does not exist"}else{return r[v].apply(this,u)}}}function n(){return function(t){var u=new b();u.data.input=t;u.parser={name:"metric"};return u.set(["Value","Result"],t.result)}}function j(){var t=Array.prototype.slice.call(arguments);return function(u){var v=new b();q(u.result,function(w,y){var x=t[0]&&t[0]==="timeframe.end"?w.timeframe.end:w.timeframe.start;v.set(["Result",x],w.value)});v.data.input=u;v.parser="interval";v.parser={name:"interval",options:t};return v}}function p(){return function(t){var u=new b();q(t.result,function(v,x){var w;q(v,function(z,y){if(y!=="result"){w=y}});u.set(["Result",String(v[w])],v.result)});u.data.input=t;u.parser={name:"grouped-metric"};return u}}function s(){var t=Array.prototype.slice.call(arguments);return function(u){var v=new b();q(u.result,function(w,y){var x=t[0]&&t[0]==="timeframe.end"?w.timeframe.end:w.timeframe.start;if(w.value.length){q(w.value,function(B,A){var z;q(B,function(D,C){if(C!=="result"){z=C}});v.set([B[z]||"",x],B.result)})}else{v.appendRow(x)}});v.data.input=u;v.parser={name:"grouped-interval",options:t};return v}}function h(){var t=Array.prototype.slice.call(arguments);if(!t[0]){throw"Requested parser requires a sequential list (array) of properties to target as a second argument"}return function(u){var v=new b();q(u.result,function(w,x){v.set([w[t[0][0]],w[t[0][1]]],w.result)});v.data.input=u;v.parser={name:"double-grouped-metric",options:t};return v}}function g(){var t=Array.prototype.slice.call(arguments);if(!t[0]){throw"Requested parser requires a sequential list (array) of properties to target as a second argument"}return function(u){var v=new b();q(u.result,function(w,y){var x=t[1]&&t[1]==="timeframe.end"?w.timeframe.end:w.timeframe.start;q(w.value,function(B,A){var z=String(B[t[0][0]])+" "+String(B[t[0][1]]);v.set([z,x],B.result)})});v.data.input=u;v.parser={name:"double-grouped-interval",options:t};return v}}function o(){return function(t){var u=new b();u.appendColumn("Step Value");q(t.result,function(w,v){u.appendRow(t.steps[v].event_collection,[w])});u.data.input=t;u.parser={name:"funnel"};return u}}function l(){return function(t){var u=new b();q(t.result,function(w,v){u.set(["Value",v+1],w)});u.data.input=t;u.parser={name:"list"};return u}}function d(){return function(t){var u=new b();q(t.result,function(v,w){q(a(v),function(y,x){u.set([x,w+1],y)})});u.deleteColumn(0);u.data.input=t;u.parser={name:"extraction"};return u}}},{"../../core/utils/each":29,"./flatten":49}],52:[function(b,c,a){ -/*! - * ---------------------- - * C3.js Adapter - * ---------------------- - */ -var f=b("../dataviz"),d=b("../../core/utils/each"),g=b("../../core/utils/extend");c.exports=function(){var j={singular:["gauge"],categorical:["donut","pie"],"cat-interval":["area-step","step","bar","area","area-spline","spline","line"],"cat-ordinal":["bar","area","area-spline","spline","line","step","area-step"],chronological:["area","area-spline","spline","line","bar","step","area-step"],"cat-chronological":["line","spline","area","area-spline","bar","step","area-step"]};var k={};d(["gauge","donut","pie","bar","area","area-spline","spline","line","step","area-step"],function(n,m){k[n]={render:function(){var o=h.call(this,n);this.view._artifacts.c3=c3.generate(o);this.update()},update:function(){var o=this,p=[];if(n==="gauge"){o.view._artifacts.c3.load({columns:[[o.title(),o.data()[1][1]]]})}else{if(n==="pie"||n==="donut"){o.view._artifacts.c3.load({columns:o.dataset.data.output.slice(1)})}else{if(this.dataType().indexOf("chron")>-1){p.push(o.dataset.selectColumn(0));p[0][0]="x"}d(o.data()[0],function(r,q){if(q>0){p.push(o.dataset.selectColumn(q))}});if(o.stacked()){o.view._artifacts.c3.groups([o.labels()])}o.view._artifacts.c3.load({columns:p})}}},destroy:function(){l.call(this)}}});function h(n){var m={axis:{},bindto:this.el(),data:{columns:[]},color:{pattern:this.colors()},size:{height:this.height(),width:this.width()}};m.data["type"]=n;if(n==="gauge"){}else{if(n==="pie"||n==="donut"){m[n]={title:this.title()}}else{if(this.dataType().indexOf("chron")>-1){m.data["x"]="x";m.axis["x"]={type:"timeseries",tick:{format:"%Y-%m-%d"}}}else{if(this.dataType()==="cat-ordinal"){m.axis["x"]={type:"category",categories:this.labels()}}}if(this.title()){m.axis["y"]={label:this.title()}}}}return g(m,this.chartOptions())}function l(){if(this.view._artifacts.c3){this.view._artifacts.c3.destroy();this.view._artifacts.c3=null}}f.register("c3",k,{capabilities:j})}},{"../../core/utils/each":29,"../../core/utils/extend":31,"../dataviz":56}],53:[function(b,c,a){ -/*! - * ---------------------- - * Chart.js Adapter - * ---------------------- - */ -var f=b("../dataviz"),d=b("../../core/utils/each"),g=b("../../core/utils/extend");c.exports=function(){if(typeof Chart!=="undefined"){Chart.defaults.global.responsive=true}var r={categorical:["doughnut","pie","polar-area","radar"],"cat-interval":["bar","line"],"cat-ordinal":["bar","line"],chronological:["line","bar"],"cat-chronological":["line","bar"]};var p={radar:"Radar","polar-area":"PolarArea",pie:"Pie",doughnut:"Doughnut",line:"Line",bar:"Bar"};var n={doughnut:q,pie:q,"polar-area":q,radar:o,line:o,bar:o};function q(){var v=this,u=[];d(v.dataset.selectColumn(0).slice(1),function(w,x){u.push({value:v.dataset.selectColumn(1).slice(1)[x],color:v.colors()[+x],hightlight:v.colors()[+x+9],label:w})});return u}function o(){var v=this,w,u={labels:[],datasets:[]};w=this.dataset.selectColumn(0).slice(1);d(w,function(x,y){if(x instanceof Date){u.labels.push((x.getMonth()+1)+"-"+x.getDate()+"-"+x.getFullYear())}else{u.labels.push(x)}});d(v.dataset.selectRow(0).slice(1),function(x,y){var z={r:s(v.colors()[y]),g:k(v.colors()[y]),b:m(v.colors()[y])};u.datasets.push({label:x,fillColor:"rgba("+z.r+","+z.g+","+z.b+",0.2)",strokeColor:"rgba("+z.r+","+z.g+","+z.b+",1)",pointColor:"rgba("+z.r+","+z.g+","+z.b+",1)",pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:"rgba("+z.r+","+z.g+","+z.b+",1)",data:v.dataset.selectColumn(+y+1).slice(1)})});return u}var l={};d(["doughnut","pie","polar-area","radar","bar","line"],function(v,u){l[v]={initialize:function(){if(this.el().nodeName.toLowerCase()!=="canvas"){var w=document.createElement("canvas");this.el().innerHTML="";this.el().appendChild(w);this.view._artifacts.ctx=w.getContext("2d")}else{this.view._artifacts.ctx=this.el().getContext("2d")}if(this.height()){this.view._artifacts.ctx.canvas.height=this.height();this.view._artifacts.ctx.canvas.style.height=String(this.height()+"px")}if(this.width()){this.view._artifacts.ctx.canvas.width=this.width();this.view._artifacts.ctx.canvas.style.width=String(this.width()+"px")}return this},render:function(){if(h(this.dataset)){this.error("No results to display");return}var y=p[v],w=g({},this.chartOptions()),x=n[v].call(this);if(this.view._artifacts.chartjs){this.view._artifacts.chartjs.destroy()}this.view._artifacts.chartjs=new Chart(this.view._artifacts.ctx)[y](x,w);return this},destroy:function(){t.call(this)}}});function t(){if(this.view._artifacts.chartjs){this.view._artifacts.chartjs.destroy();this.view._artifacts.chartjs=null}}function h(v){var u=v.output().reduce(function(x,w){return x.concat(w)});return u.length===0}function s(u){return parseInt((j(u)).substring(0,2),16)}function k(u){return parseInt((j(u)).substring(2,4),16)}function m(u){return parseInt((j(u)).substring(4,6),16)}function j(u){return(u.charAt(0)=="#")?u.substring(1,7):u}f.register("chartjs",l,{capabilities:r})}},{"../../core/utils/each":29,"../../core/utils/extend":31,"../dataviz":56}],54:[function(c,d,b){ -/*! - * ---------------------- - * Google Charts Adapter - * ---------------------- - */ -var g=c("../dataviz"),f=c("../../core/utils/each"),h=c("../../core/utils/extend"),a=c("../../core");d.exports=function(){a.loaded=false;var j={"Data column(s) for axis #0 cannot be of type string":"No results to visualize"};var l=["AreaChart","BarChart","ColumnChart","LineChart","PieChart","Table"];var o={};var n={categorical:["piechart","barchart","columnchart","table"],"cat-interval":["columnchart","barchart","table"],"cat-ordinal":["barchart","columnchart","areachart","linechart","table"],chronological:["areachart","linechart","table"],"cat-chronological":["linechart","columnchart","barchart","areachart"],nominal:["table"],extraction:["table"]};f(l,function(q){var p=q.toLowerCase();o[p]={initialize:function(){},render:function(){if(typeof google==="undefined"){this.error("The Google Charts library could not be loaded.");return}var r=this;if(r.view._artifacts.googlechart){this.destroy()}r.view._artifacts.googlechart=r.view._artifacts.googlechart||new google.visualization[q](r.el());google.visualization.events.addListener(r.view._artifacts.googlechart,"error",function(s){k.call(r,s)});this.update()},update:function(){var r=m.call(this,q);h(r,this.chartOptions(),this.attributes());r.isStacked=(this.stacked()||r.isStacked);this.view._artifacts.datatable=google.visualization.arrayToDataTable(this.data());if(this.view._artifacts.googlechart){this.view._artifacts.googlechart.draw(this.view._artifacts.datatable,r)}},destroy:function(){if(this.view._artifacts.googlechart){google.visualization.events.removeAllListeners(this.view._artifacts.googlechart);this.view._artifacts.googlechart.clearChart();this.view._artifacts.googlechart=null;this.view._artifacts.datatable=null}}}});g.register("google",o,{capabilities:n,dependencies:[{type:"script",url:"https://www.google.com/jsapi",cb:function(p){if(typeof google==="undefined"){this.trigger("error","Problem loading Google Charts library. Please contact us!");p()}else{google.load("visualization","1.1",{packages:["corechart","table"],callback:function(){p()}})}}}]});function k(p){var q=j[p.message]||p.message||"An error occurred";this.error(q)}function m(q){var p={};switch(q.toLowerCase()){case"areachart":p.lineWidth=2;p.hAxis={baselineColor:"transparent",gridlines:{color:"transparent"}};p.vAxis={viewWindow:{min:0}};if(this.dataType()==="chronological"||this.dataType()==="cat-ordinal"){p.legend="none";p.chartArea={width:"85%"}}break;case"barchart":p.hAxis={viewWindow:{min:0}};p.vAxis={baselineColor:"transparent",gridlines:{color:"transparent"}};if(this.dataType()==="chronological"||this.dataType()==="cat-ordinal"){p.legend="none"}break;case"columnchart":p.hAxis={baselineColor:"transparent",gridlines:{color:"transparent"}};p.vAxis={viewWindow:{min:0}};if(this.dataType()==="chronological"||this.dataType()==="cat-ordinal"){p.legend="none";p.chartArea={width:"85%"}}break;case"linechart":p.lineWidth=2;p.hAxis={baselineColor:"transparent",gridlines:{color:"transparent"}};p.vAxis={viewWindow:{min:0}};if(this.dataType()==="chronological"||this.dataType()==="cat-ordinal"){p.legend="none";p.chartArea={width:"85%"}}break;case"piechart":p.sliceVisibilityThreshold=0.01;break;case"table":break}return p}}},{"../../core":16,"../../core/utils/each":29,"../../core/utils/extend":31,"../dataviz":56}],55:[function(d,b,f){ -/*! -* ---------------------- -* Keen IO Adapter -* ---------------------- -*/ -var g=d("../../core"),a=d("../dataviz");var j=d("../../core/utils/clone"),k=d("../../core/utils/each"),h=d("../../core/utils/extend"),c=d("../utils/prettyNumber");b.exports=function(){var l,o,n;g.Error={defaults:{backgroundColor:"",borderRadius:"4px",color:"#ccc",display:"block",fontFamily:"Helvetica Neue, Helvetica, Arial, sans-serif",fontSize:"21px",fontWeight:"light",textAlign:"center"}};g.Spinner.defaults={height:138,lines:10,length:8,width:3,radius:10,corners:1,rotate:0,direction:1,color:"#4d4d4d",speed:1.67,trail:60,shadow:false,hwaccel:false,className:"keen-spinner",zIndex:2000000000,top:"50%",left:"50%"};var m={singular:["metric"]};l={initialize:function(){var p=document.createElement("style"),q="#49c5b1";p.id="keen-widgets";p.type="text/css";p.innerHTML=" .keen-metric { \n background: "+q+"; \n border-radius: 4px; \n color: #fff; \n font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; \n padding: 10px 0; \n text-align: center; \n} .keen-metric-value { \n display: block; \n font-size: 84px; \n font-weight: 700; \n line-height: 84px; \n} .keen-metric-title { \n display: block; \n font-size: 24px; \n font-weight: 200; \n}";if(!document.getElementById(p.id)){document.body.appendChild(p)}},render:function(){var u=(this.colors().length==1)?this.colors()[0]:"#49c5b1",t=this.title()||"Result",v=this.data()[1][1]||0,r=this.width(),q=this.chartOptions()||{},s="",w="";var x={width:(r)?r+"px":"auto"};var p=v;if(typeof q.prettyNumber==="undefined"||q.prettyNumber==true){if(!isNaN(parseInt(v))){p=c(v)}}if(q.prefix){s=''+q.prefix+""}if(q.suffix){w=''+q.suffix+""}this.el().innerHTML='
'+s+p+w+''+t+"
"}};o={initialize:function(){},render:function(t,q){var r,s;var u=j(g.Error.defaults);var p=h(u,q);r=document.createElement("div");r.className="keen-error";k(p,function(w,v){r.style[v]=w});r.style.height=String(this.height()+"px");r.style.paddingTop=(this.height()/2-15)+"px";r.style.width=String(this.width()+"px");s=document.createElement("span");s.innerHTML=t||"Yikes! An error occurred!";r.appendChild(s);this.el().innerHTML="";this.el().appendChild(r)},destroy:function(){this.el().innerHTML=""}};n={initialize:function(){},render:function(){var q=document.createElement("div");var p=this.height()||g.Spinner.defaults.height;q.className="keen-loading";q.style.height=String(p+"px");q.style.position="relative";q.style.width=String(this.width()+"px");this.el().innerHTML="";this.el().appendChild(q);this.view._artifacts.spinner=new g.Spinner(g.Spinner.defaults).spin(q)},destroy:function(){this.view._artifacts.spinner.stop();this.view._artifacts.spinner=null}};g.Dataviz.register("keen-io",{metric:l,error:o,spinner:n},{capabilities:m})}},{"../../core":16,"../../core/utils/clone":28,"../../core/utils/each":29,"../../core/utils/extend":31,"../dataviz":56,"../utils/prettyNumber":94}],56:[function(f,d,g){var k=f("../core/utils/clone"),m=f("../core/utils/each"),j=f("../core/utils/extend"),a=f("./utils/loadScript"),n=f("./utils/loadStyle");var h=f("../core");var l=f("../core/utils/emitter-shim");var c=f("../dataset");function b(){this.dataset=new c();this.view={_prepared:false,_initialized:false,_rendered:false,_artifacts:{},adapter:{library:undefined,chartOptions:{},chartType:undefined,defaultChartType:undefined,dataType:undefined},attributes:k(b.defaults),defaults:k(b.defaults),el:undefined,loader:{library:"keen-io",chartType:"spinner"}};b.visuals.push(this)}j(b,{dataTypeMap:{singular:{library:"keen-io",chartType:"metric"},categorical:{library:"google",chartType:"piechart"},"cat-interval":{library:"google",chartType:"columnchart"},"cat-ordinal":{library:"google",chartType:"barchart"},chronological:{library:"google",chartType:"areachart"},"cat-chronological":{library:"google",chartType:"linechart"},extraction:{library:"google",chartType:"table"},nominal:{library:"google",chartType:"table"}},defaults:{colors:["#00bbde","#fe6672","#eeb058","#8a8ad6","#ff855c","#00cfbb","#5a9eed","#73d483","#c879bb","#0099b6","#d74d58","#cb9141","#6b6bb6","#d86945","#00aa99","#4281c9","#57b566","#ac5c9e","#27cceb","#ff818b","#f6bf71","#9b9be1","#ff9b79","#26dfcd","#73aff4","#87e096","#d88bcb"],indexBy:"timeframe.start",stacked:false},dependencies:{loading:0,loaded:0,urls:{}},libraries:{},visuals:[]});l(b);l(b.prototype);b.register=function(r,p,q){var o=this;var s=function(t){t.loaded++;if(t.loaded===t.loading){h.loaded=true;h.trigger("ready")}};b.libraries[r]=b.libraries[r]||{};m(p,function(u,t){b.libraries[r][t]=u});if(q&&q.capabilities){b.libraries[r]._defaults=b.libraries[r]._defaults||{};m(q.capabilities,function(t,u){b.libraries[r]._defaults[u]=t})}if(q&&q.dependencies){m(q.dependencies,function(v,u,w){var t=b.dependencies;if(!t.urls[v.url]){t.urls[v.url]=true;t.loading++;var x=v.type==="script"?a:n;x(v.url,function(){if(v.cb){v.cb.call(o,function(){s(t)})}else{s(t)}})}})}};b.find=function(q){if(!arguments.length){return b.visuals}var p=q.nodeName?q:document.querySelector(q),o;m(b.visuals,function(r){if(p==r.el()){o=r;return false}});if(o){return o}};d.exports=b},{"../core":16,"../core/utils/clone":28,"../core/utils/each":29,"../core/utils/emitter-shim":30,"../core/utils/extend":31,"../dataset":37,"./utils/loadScript":92,"./utils/loadStyle":93}],57:[function(b,d,a){var h=b("../../core/utils/clone"),g=b("../../core/utils/extend"),f=b("../dataviz"),c=b("../../core/request");d.exports=function(p,m,j){var l=h(f.defaults),o=new f(),n=new c(this,[p]),k=j||{};o.attributes(g(l,k)).el(m).prepare();n.refresh();n.on("complete",function(){o.parseRequest(this).call(function(){if(k.labels){this.labels(k.labels)}}).render()});n.on("error",function(q){o.error(q.message)});return o}},{"../../core/request":25,"../../core/utils/clone":28,"../../core/utils/extend":31,"../dataviz":56}],58:[function(b,c,a){var d=b("../dataviz"),f=b("../../core/utils/extend");c.exports=function(){var k=f({},d.dataTypeMap),h=this.dataType(),g=this.library(),j=this.chartType()||this.defaultChartType();if(!g&&k[h]){g=k[h].library}if(g&&!j&&h){j=d.libraries[g]._defaults[h][0]}if(g&&!j&&k[h]){j=k[h].chartType}return(g&&j)?d.libraries[g][j]:{}}},{"../../core/utils/extend":31,"../dataviz":56}],59:[function(b,c,a){c.exports=function(f){var h=f.queries[0].analysis.replace("_"," "),g=f.queries[0].get("event_collection"),d;d=h.replace(/\b./g,function(j){return j.toUpperCase()});if(g){d+=" - "+g}return d}},{}],60:[function(b,c,a){c.exports=function(g){var h=typeof g.params.interval==="string",f=typeof g.params.group_by==="string",j=g.params.group_by instanceof Array,d;if(!f&&!h){d="singular"}if(f&&!h){d="categorical"}if(h&&!f){d="chronological"}if(h&&f){d="cat-chronological"}if(!h&&j){d="categorical"}if(h&&j){d="cat-chronological"}if(g.analysis==="funnel"){d="cat-ordinal"}if(g.analysis==="extraction"){d="extraction"}if(g.analysis==="select_unique"){d="nominal"}return d}},{}],61:[function(b,c,a){var f=b("../core/utils/extend"),d=b("./dataviz");f(d.prototype,{adapter:b("./lib/adapter"),attributes:b("./lib/attributes"),call:b("./lib/call"),chartOptions:b("./lib/chartOptions"),chartType:b("./lib/chartType"),colorMapping:b("./lib/colorMapping"),colors:b("./lib/colors"),data:b("./lib/data"),dataType:b("./lib/dataType"),defaultChartType:b("./lib/defaultChartType"),el:b("./lib/el"),height:b("./lib/height"),indexBy:b("./lib/indexBy"),labelMapping:b("./lib/labelMapping"),labels:b("./lib/labels"),library:b("./lib/library"),parseRawData:b("./lib/parseRawData"),parseRequest:b("./lib/parseRequest"),prepare:b("./lib/prepare"),sortGroups:b("./lib/sortGroups"),sortIntervals:b("./lib/sortIntervals"),stacked:b("./lib/stacked"),title:b("./lib/title"),width:b("./lib/width")});f(d.prototype,{destroy:b("./lib/actions/destroy"),error:b("./lib/actions/error"),initialize:b("./lib/actions/initialize"),render:b("./lib/actions/render"),update:b("./lib/actions/update")});c.exports=d},{"../core/utils/extend":31,"./dataviz":56,"./lib/actions/destroy":62,"./lib/actions/error":63,"./lib/actions/initialize":64,"./lib/actions/render":65,"./lib/actions/update":66,"./lib/adapter":67,"./lib/attributes":68,"./lib/call":69,"./lib/chartOptions":70,"./lib/chartType":71,"./lib/colorMapping":72,"./lib/colors":73,"./lib/data":74,"./lib/dataType":75,"./lib/defaultChartType":76,"./lib/el":77,"./lib/height":78,"./lib/indexBy":79,"./lib/labelMapping":80,"./lib/labels":81,"./lib/library":82,"./lib/parseRawData":83,"./lib/parseRequest":84,"./lib/prepare":85,"./lib/sortGroups":86,"./lib/sortIntervals":87,"./lib/stacked":88,"./lib/title":89,"./lib/width":90}],62:[function(b,c,a){var d=b("../../helpers/getAdapterActions");c.exports=function(){var f=d.call(this);if(f.destroy){f.destroy.apply(this,arguments)}if(this.el()){this.el().innerHTML=""}this.view._prepared=false;this.view._initialized=false;this.view._rendered=false;this.view._artifacts={};return this}},{"../../helpers/getAdapterActions":58}],63:[function(b,c,a){var f=b("../../helpers/getAdapterActions"),d=b("../../dataviz");c.exports=function(){var g=f.call(this);if(g.error){g.error.apply(this,arguments)}else{d.libraries["keen-io"]["error"].render.apply(this,arguments)}return this}},{"../../dataviz":56,"../../helpers/getAdapterActions":58}],64:[function(b,c,a){var f=b("../../helpers/getAdapterActions"),d=b("../../dataviz");c.exports=function(){var h=f.call(this);var g=d.libraries[this.view.loader.library][this.view.loader.chartType];if(this.view._prepared){if(g.destroy){g.destroy.apply(this,arguments)}}else{if(this.el()){this.el().innerHTML=""}}if(h.initialize){h.initialize.apply(this,arguments)}this.view._initialized=true;return this}},{"../../dataviz":56,"../../helpers/getAdapterActions":58}],65:[function(c,d,b){var f=c("../../helpers/getAdapterActions"),a=c("../../utils/applyTransforms");d.exports=function(){var g=f.call(this);a.call(this);if(!this.view._initialized){this.initialize()}if(this.el()&&g.render){g.render.apply(this,arguments);this.view._rendered=true}return this}},{"../../helpers/getAdapterActions":58,"../../utils/applyTransforms":91}],66:[function(c,d,b){var f=c("../../helpers/getAdapterActions"),a=c("../../utils/applyTransforms");d.exports=function(){var g=f.call(this);a.call(this);if(g.update){g.update.apply(this,arguments)}else{if(g.render){this.render()}}return this}},{"../../helpers/getAdapterActions":58,"../../utils/applyTransforms":91}],67:[function(b,c,a){var d=b("../../core/utils/each");c.exports=function(g){if(!arguments.length){return this.view.adapter}var f=this;d(g,function(j,h){f.view.adapter[h]=(j?j:null)});return this}},{"../../core/utils/each":29}],68:[function(b,c,a){var d=b("../../core/utils/each");var f=b("./chartOptions");chartType=b("./chartType"),library=b("./library");c.exports=function(h){if(!arguments.length){return this.view.attributes}var g=this;d(h,function(k,j){if(j==="library"){library.call(g,k)}else{if(j==="chartType"){chartType.call(g,k)}else{if(j==="chartOptions"){f.call(g,k)}else{g.view.attributes[j]=k}}}});return this}},{"../../core/utils/each":29,"./chartOptions":70,"./chartType":71,"./library":82}],69:[function(b,c,a){c.exports=function(d){d.call(this);return this}},{}],70:[function(b,c,a){var d=b("../../core/utils/extend");c.exports=function(f){if(!arguments.length){return this.view.adapter.chartOptions}d(this.view.adapter.chartOptions,f);return this}},{"../../core/utils/extend":31}],71:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.adapter.chartType}this.view.adapter.chartType=(d?String(d):null);return this}},{}],72:[function(b,c,a){var d=b("../../core/utils/each");c.exports=function(g){if(!arguments.length){return this.view.attributes.colorMapping}this.view.attributes.colorMapping=(g?g:null);f.call(this);return this};function f(){var g=this,l=this.dataset.schema,m=this.dataset.output(),j=this.view.defaults.colors.slice(),h=this.colorMapping(),k=this.dataType()||"";if(h){if(k.indexOf("chronological")>-1||(l.unpack&&m[0].length>2)){d(m[0].slice(1),function(o,p){var n=h[o];if(n&&j[p]!==n){j.splice(p,0,n)}})}else{d(g.dataset.selectColumn(0).slice(1),function(o,p){var n=h[o];if(n&&j[p]!==n){j.splice(p,0,n)}})}g.view.attributes.colors=j}}},{"../../core/utils/each":29}],73:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.attributes.colors}this.view.attributes.colors=(d instanceof Array?d:null);this.view.defaults.colors=(d instanceof Array?d:null);return this}},{}],74:[function(b,d,a){var f=b("../../dataset"),c=b("../../core/request");d.exports=function(g){if(!arguments.length){return this.dataset.output()}if(g instanceof f){this.dataset=g}else{if(g instanceof c){this.parseRequest(g)}else{this.parseRawData(g)}}return this}},{"../../core/request":25,"../../dataset":37}],75:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.adapter.dataType}this.view.adapter.dataType=(d?String(d):null);return this}},{}],76:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.adapter.defaultChartType}this.view.adapter.defaultChartType=(d?String(d):null);return this}},{}],77:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.el}this.view.el=d;return this}},{}],78:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.attributes["height"]}this.view.attributes["height"]=(!isNaN(parseInt(d))?parseInt(d):null);return this}},{}],79:[function(b,d,a){var f=b("../../dataset"),h=b("../dataviz"),g=b("../../core/utils/each");d.exports=function(j){if(!arguments.length){return this.view.attributes.indexBy}this.view.attributes.indexBy=(j?String(j):h.defaults.indexBy);c.call(this);return this};function c(){var k,j;if(this.dataset.output().length>1&&!isNaN(new Date(this.dataset.output()[1][0]).getTime())){if(this.dataset.parser&&this.dataset.parser.name&&this.dataset.parser.options){if(this.dataset.parser.options.length===1){k=f.parser(this.dataset.parser.name,this.indexBy());this.dataset.parser.options[0]=this.indexBy()}else{k=f.parser(this.dataset.parser.name,this.dataset.parser.options[0],this.indexBy());this.dataset.parser.options[1]=this.indexBy()}}else{if(this.dataset.output()[0].length===2){k=f.parser("interval",this.indexBy());this.dataset.parser={name:"interval",options:[this.indexBy()]}}else{k=f.parser("grouped-interval",this.indexBy());this.dataset.parser={name:"grouped-interval",options:[this.indexBy()]}}}this.dataset=k(this.dataset.input());this.dataset.updateColumn(0,function(l){return(typeof l==="string")?new Date(l):l})}}},{"../../core/utils/each":29,"../../dataset":37,"../dataviz":56}],80:[function(b,c,a){var f=b("../../core/utils/each");c.exports=function(g){if(!arguments.length){return this.view.attributes.labelMapping}this.view.attributes.labelMapping=(g?g:null);d.call(this);return this};function d(){var g=this,j=this.labelMapping(),h=this.dataType()||"";if(j){if(h.indexOf("chronological")>-1||(g.dataset.output()[0].length>2)){f(g.dataset.output()[0],function(l,k){if(k>0){g.dataset.data.output[0][k]=j[l]||l}})}else{if(g.dataset.output()[0].length===2){g.dataset.updateColumn(0,function(l,k){return j[l]||l})}}}}},{"../../core/utils/each":29}],81:[function(c,d,b){var f=c("../../core/utils/each");d.exports=function(h){if(!arguments.length){if(!this.view.attributes.labels||!this.view.attributes.labels.length){return g.call(this)}else{return this.view.attributes.labels}}else{this.view.attributes.labels=(h instanceof Array?h:null);a.call(this);return this}};function a(){var h=this,l=this.labels()||null,k=this.dataset.output(),j=this.dataType()||"";if(l){if(j.indexOf("chronological")>-1||(k[0].length>2)){f(k[0],function(m,n){if(n>0&&l[n-1]){h.dataset.data.output[0][n]=l[n-1]}})}else{f(k,function(n,m){if(m>0&&l[m-1]){h.dataset.data.output[m][0]=l[m-1]}})}}}function g(){var j=this.dataset.output(),h=this.dataType()||"",k;if(h.indexOf("chron")>-1||(j[0].length>2)){k=this.dataset.selectRow(0).slice(1)}else{k=this.dataset.selectColumn(0).slice(1)}return k}},{"../../core/utils/each":29}],82:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.adapter.library}this.view.adapter.library=(d?String(d):null);return this}},{}],83:[function(b,c,a){var d=b("../../dataset");c.exports=function(h){var g,j=this.indexBy()?this.indexBy():"timestamp.start",l,f=[],k=(typeof h.query!=="undefined")?h.query:{};if(k.analysis_type==="funnel"){g="cat-ordinal";l="funnel"}else{if(k.analysis_type==="extraction"){g="extraction";l="extraction"}else{if(k.analysis_type==="select_unique"){if(!k.group_by&&!k.interval){g="nominal";l="list"}}else{if(k.analysis_type){if(!k.group_by&&!k.interval){g="singular";l="metric"}else{if(k.group_by&&!k.interval){if(typeof k.group_by==="string"){g="categorical";l="grouped-metric"}else{g="categorical";l="double-grouped-metric";f.push(k.group_by)}}else{if(k.interval&&!k.group_by){g="chronological";l="interval";f.push(j)}else{if(k.group_by&&k.interval){if(typeof k.group_by==="string"){g="cat-chronological";l="grouped-interval";f.push(j)}else{g="cat-chronological";l="double-grouped-interval";f.push(k.group_by);f.push(j)}}}}}}}}}if(!l){if(typeof h.result==="number"){g="singular";l="metric"}if(h.result instanceof Array&&h.result.length>0){if(h.result[0].timeframe&&(typeof h.result[0].value=="number"||h.result[0].value==null)){g="chronological";l="interval";f.push(j)}if(typeof h.result[0].result=="number"){g="categorical";l="grouped-metric"}if(h.result[0].value instanceof Array){g="cat-chronological";l="grouped-interval";f.push(j)}if(typeof h.result[0]=="number"&&typeof h.steps!=="undefined"){g="cat-ordinal";l="funnel"}if((typeof h.result[0]=="string"||typeof h.result[0]=="number")&&typeof h.steps==="undefined"){g="nominal";l="list"}if(g===void 0){g="extraction";l="extraction"}}}if(g){this.dataType(g)}this.dataset=d.parser.apply(this,[l].concat(f))(h);if(l.indexOf("interval")>-1){this.dataset.updateColumn(0,function(n,m){return new Date(n)})}return this}},{"../../dataset":37}],84:[function(d,f,b){var c=d("../helpers/getDefaultTitle"),g=d("../helpers/getQueryDataType"),h=d("./parseRawData"),a=d("../../core/query");f.exports=function(k){var j;if(k.queries[0] instanceof a){j=g(k.queries[0]);this.dataType(j);this.view.defaults.title=c.call(this,k);if(!this.title()){this.title(this.view.defaults.title)}}h.call(this,k.data instanceof Array?k.data[0]:k.data);return this}},{"../../core/query":24,"../helpers/getDefaultTitle":59,"../helpers/getQueryDataType":60,"./parseRawData":83}],85:[function(b,c,a){var d=b("../dataviz");c.exports=function(){var f;if(this.view._rendered){this.destroy()}if(this.el()){this.el().innerHTML="";f=d.libraries[this.view.loader.library][this.view.loader.chartType];if(f.initialize){f.initialize.apply(this,arguments)}if(f.render){f.render.apply(this,arguments)}this.view._prepared=true}return this}},{"../dataviz":56}],86:[function(b,c,a){c.exports=function(f){if(!arguments.length){return this.view.attributes.sortGroups}this.view.attributes.sortGroups=(f?String(f):null);d.call(this);return this};function d(){var f=this.dataType();if(!this.sortGroups()){return}if((f&&f.indexOf("chronological")>-1)||this.data()[0].length>2){this.dataset.sortColumns(this.sortGroups(),this.dataset.getColumnSum)}else{if(f&&(f.indexOf("cat-")>-1||f.indexOf("categorical")>-1)){this.dataset.sortRows(this.sortGroups(),this.dataset.getRowSum)}}return}},{}],87:[function(b,c,a){c.exports=function(f){if(!arguments.length){return this.view.attributes.sortIntervals}this.view.attributes.sortIntervals=(f?String(f):null);d.call(this);return this};function d(){if(!this.sortIntervals()){return}this.dataset.sortRows(this.sortIntervals());return}},{}],88:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.attributes["stacked"]}this.view.attributes["stacked"]=d?true:false;return this}},{}],89:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.attributes["title"]}this.view.attributes["title"]=(d?String(d):null);return this}},{}],90:[function(b,c,a){c.exports=function(d){if(!arguments.length){return this.view.attributes["width"]}this.view.attributes["width"]=(!isNaN(parseInt(d))?parseInt(d):null);return this}},{}],91:[function(b,c,a){c.exports=function(){if(this.labelMapping()){this.labelMapping(this.labelMapping())}if(this.colorMapping()){this.colorMapping(this.colorMapping())}if(this.sortGroups()){this.sortGroups(this.sortGroups())}if(this.sortIntervals()){this.sortIntervals(this.sortIntervals())}}},{}],92:[function(b,c,a){c.exports=function(f,d){var j=document;var h;var g=j.head||j.getElementsByTagName("head");setTimeout(function(){if("item" in g){if(!g[0]){setTimeout(arguments.callee,25);return}g=g[0]}var k=j.createElement("script"),l=false;k.onload=k.onreadystatechange=function(){if((k.readyState&&k.readyState!=="complete"&&k.readyState!=="loaded")||l){return false}k.onload=k.onreadystatechange=null;l=true;d()};k.src=f;g.insertBefore(k,g.firstChild)},0);if(j.readyState===null&&j.addEventListener){j.readyState="loading";j.addEventListener("DOMContentLoaded",h=function(){j.removeEventListener("DOMContentLoaded",h,false);j.readyState="complete"},false)}}},{}],93:[function(b,c,a){c.exports=function(f,d){var g=document.createElement("link");g.setAttribute("rel","stylesheet");g.type="text/css";g.href=f;d();document.head.appendChild(g)}},{}],94:[function(b,c,a){c.exports=function(k){var d=Number(k),h=d.toPrecision(3),j="",f=["","k","M","B","T"];if(Number(h)==d&&String(d).length<=4){return String(d)}if(d>=1||d<=-1){if(d<0){d=-d;j="-"}return j+g(d,0)}else{return d.toPrecision(3)}function g(l,n){var l=String(l);var m=l.split(".");if(m.length>1){l=m[0];var p=m[1];if(l.length==2&&p.length>0){if(p.length>0){l=l+"."+p.charAt(0)}else{l+="0"}}else{if(l.length==1&&p.length>0){l=l+"."+p.charAt(0);if(p.length>1){l+=p.charAt(1)}else{l+="0"}}}}var o=l.length;if(l.split(".").length>1){o--}if(o<=3){return String(l)+f[n]}else{return g(Number(l)/1000,n+1)}}}},{}],95:[function(b,c,a){(function(d){(function(j){if(typeof define==="function"&&define.amd){define("keen",[],function(){return j()})}if(typeof a==="object"&&typeof c!=="undefined"){c.exports=j()}var h=null;if(typeof window!=="undefined"){h=window}else{if(typeof d!=="undefined"){h=d}else{if(typeof self!=="undefined"){h=self}}}if(h){h.Keen=j()}})(function(){var f=b("./core"),g=b("./core/utils/extend");g(f.prototype,{addEvent:b("./core/lib/addEvent"),addEvents:b("./core/lib/addEvents"),setGlobalProperties:b("./core/lib/setGlobalProperties"),trackExternalLink:b("./core/lib/trackExternalLink"),get:b("./core/lib/get"),post:b("./core/lib/post"),put:b("./core/lib/post"),run:b("./core/lib/run"),savedQueries:b("./core/saved-queries"),draw:b("./dataviz/extensions/draw")});f.Query=b("./core/query");f.Request=b("./core/request");f.Dataset=b("./dataset");f.Dataviz=b("./dataviz");f.Base64=b("./core/utils/base64");f.Spinner=b("spin.js");f.utils={domready:b("domready"),each:b("./core/utils/each"),extend:g,parseParams:b("./core/utils/parseParams"),prettyNumber:b("./dataviz/utils/prettyNumber")};b("./dataviz/adapters/keen-io")();b("./dataviz/adapters/google")();b("./dataviz/adapters/c3")();b("./dataviz/adapters/chartjs")();if(f.loaded){setTimeout(function(){f.utils.domready(function(){f.emit("ready")})},0)}b("./core/async")();c.exports=f;return f})}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./core":16,"./core/async":8,"./core/lib/addEvent":17,"./core/lib/addEvents":18,"./core/lib/get":19,"./core/lib/post":20,"./core/lib/run":21,"./core/lib/setGlobalProperties":22,"./core/lib/trackExternalLink":23,"./core/query":24,"./core/request":25,"./core/saved-queries":26,"./core/utils/base64":27,"./core/utils/each":29,"./core/utils/extend":31,"./core/utils/parseParams":33,"./dataset":37,"./dataviz":61,"./dataviz/adapters/c3":52,"./dataviz/adapters/chartjs":53,"./dataviz/adapters/google":54,"./dataviz/adapters/keen-io":55,"./dataviz/extensions/draw":57,"./dataviz/utils/prettyNumber":94,domready:2,"spin.js":4}]},{},[95]); \ No newline at end of file diff --git a/assets/scripts/metrics.js b/assets/scripts/metrics.js deleted file mode 100644 index 1c415f0..0000000 --- a/assets/scripts/metrics.js +++ /dev/null @@ -1,101 +0,0 @@ -'use strict'; - -(function() { - var client = new Keen({ - projectId: '56bfd55296773d74919d1035', - writeKey: 'f59539f4db693c0d240435c13d273e1d' + - '702cc524d3ecadc4095f13cc0e8ab251' + - '96c8615c2c815a6d2f4b18ac08b99740' + - '67b7b1740cd469a761fffd7632065554' + - '730d6d1a07b32df59516f94144799791' + - 'b03e9776cb9b659b9128c0b79b6e396f' - }); - - setTimeout(function() { - client.addEvent('pageviews', getMetrics(), function(err, res) { - if (err) { - console.error(err); - } - }); - }, 1000); - - var getMetrics = function() { - var metrics = { - timing: getTimingMetrics(), - source: getSourceMetrics(), - visitor: getVisitorMetrics(), - page: getPageMetrics() - }; - return metrics; - }; - - var getTimingMetrics = function() { - if (window.performance && window.performance.timing) { - var t = window.performance.timing; - return { - redirect: t.redirectEnd - t.redirectStart, - appCache: t.domainLookupStart - t.fetchStart, - dns: t.domainLookupEnd - t.domainLookupStart, - tcp: t.connectEnd - t.connectStart, - request: t.responseStart - t.requestStart, - response: t.responseEnd - t.responseStart, - processing: t.domComplete - t.domLoading, - onLoad: t.loadEventEnd - t.loadEventStart, - click_to_interactive: t.domInteractive - t.navigationStart, - total: t.loadEventEnd - t.navigationStart - }; - } else { - return {}; - } - }; - - var getVisitorMetrics = function() { - return { - browser: getBrowser(), - language: window.navigator.language - }; - }; - - var getSourceMetrics = function() { - if (window.document.referrer) { - var d = window.document.referrer.match(/\/\/(.+)\//); - var referring_domain = d ? d[1] : ''; - } else { - var referring_domain = ''; - } - return { - referring_domain: referring_domain, - referrer: window.document.referrer - }; - }; - - var getBrowser = function() { - var ua = window.navigator.userAgent; - if (/Firefox/.test(ua) && !/Seamonkey/.test(ua)) { - return 'Firefox'; - } else if (/Seamonkey/.test(ua)) { - return 'Seamonkey'; - } else if (/Chrome/.test(ua) && !/Chromium/.test(ua)) { - return 'Chrome'; - } else if (/Chromium/.test(ua)) { - return 'Chromium'; - } else if ( - /Safari/.test(ua) && !/Chrome/.test(ua) && !/Chromium/.test(ua) - ) { - return 'Safari'; - } else if (/OPR/.test(ua) || /Opera/.test(ua)) { - return 'Opera'; - } else if (/MSIE/.test(ua)) { - return 'Internet Explorer'; - } else { - return 'Unknown'; - } - }; - - var getPageMetrics = function() { - return { - path: window.location.pathname, - title: window.document.title - }; - }; -})(); diff --git a/googlea20b1d28f28adfd3.html b/googlea20b1d28f28adfd3.html deleted file mode 100644 index 275c526..0000000 --- a/googlea20b1d28f28adfd3.html +++ /dev/null @@ -1 +0,0 @@ -google-site-verification: googlea20b1d28f28adfd3.html \ No newline at end of file diff --git a/index.html b/index.html index aabd0d0..9ebfdae 100644 --- a/index.html +++ b/index.html @@ -1,22 +1,12 @@ --- layout: master -title: "Ben Burwell: code + crypto + coffee + kerning" +title: Ben Burwell --- -
-
{
-  "name": "Ben Burwell",
-  "email": "ben@benburwell.com",
-  "pgp": "6661 12D9 67A3 6ECD",
-  "blog": "/posts/",
-  "projects": "/projects/",
-  "resume": "/resume.pdf",
-  "github": "@benburwell",
-  "likes": [
-    "unix philosophy",
-    "crypto",
-    "infosec",
-    "lighting design"
-  ]
-}
-
+

Ben Burwell

+ + diff --git a/license/index.md b/license/index.md deleted file mode 100644 index 7760d78..0000000 --- a/license/index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -layout: blog -title: BenBurwell.com License ---- - -License -======= - -Unless otherwise noted, all content on this website is copyright Ben Burwell and licensed under the [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by/4.0/). - -You are free to copy and redistribute the material in any medium or format, as well as to remix, transform, and build upon the material for any purpose (even commercially) under the condition that you give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests that I have endorsed you or your use. Furthermore, you must not apply legal terms or technological measures that legally restrict others from doing anything the license permits. diff --git a/posts/index.html b/posts/index.html index 6d0eff3..ddf174d 100644 --- a/posts/index.html +++ b/posts/index.html @@ -1,19 +1,13 @@ --- -layout: blog +layout: master title: Posts - Ben Burwell description: Irregularly updated blogish thing about stuff I’m interested in. -redirect_from: /writing/ ---

Posts

+
    {% for post in site.posts %} -
    - -
    - {{ post.title }} -
    -
    +
  • {{post.date | date: "%Y-%m-%d"}} {{post.title}}
  • {% endfor %} +
diff --git a/privacy/index.md b/privacy/index.md deleted file mode 100644 index 02a426d..0000000 --- a/privacy/index.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -layout: blog -title: Privacy Statement ---- - -Privacy Statement -================= - -This site is served from [GitHub Pages][gh-pages], so requests made to this site -will terminate and be logged on GitHub servers. You can see [their privacy -policy][gh-privacy] for more information. - -The CloudFlare CDN is used to enable TLS and ensure a speedy response time -worldwide. Limited analytic data are kept by CloudFlare. CloudFlare also sets a -`__cfduid` cookie for overriding IP-based security restrictions. You can read -more about this cookie [here][cfduid]. You can also read [CloudFlare's privacy -policy][cf-privacy]. - -CloudFlare is also the ultimate DNS resolver for `benburwell.com`. If DNS logs -are kept, they will also be subject to CloudFlare policies. - -Furthermore, very limited metrics are collected and recorded for my own use. A -[custom tracking script][metrics-script] is used and metrics are sent to and -stored by Keen.io ([privacy policy][keen-privacy]). No personally identifying -information is collected. The metrics collected include: - -* page load timing information (using the [Navigation Timing API][timing-api]); -* the path and title of the page visited. - -The metrics script respects the visitor's [Do Not Track][dnt] preference. If the -Do Not Track flag is _not_ set, the following information is collected in -addition to the information collected about all visits: - -* language; -* browser (not the entire User-Agent string); -* referring domain. - -If you have questions or concerns, please [shoot me a -note](mailto:ben@benburwell.com). - -[gh-pages]: https://pages.github.com -[gh-privacy]: https://help.github.com/articles/github-privacy-statement/ -[cfduid]: https://web.archive.org/web/20170611221608/https://support.cloudflare.com/hc/en-us/articles/200170156-What-does-the-CloudFlare-cfduid-cookie-do- -[cf-privacy]: https://www.cloudflare.com/security-policy/ -[metrics-script]: https://github.com/benburwell/benburwell.github.io/blob/master/assets/scripts/metrics.js -[keen-privacy]: https://keen.io/privacy-policy/ -[timing-api]: https://developer.mozilla.org/en-US/docs/Web/API/Navigation_timing_API -[dnt]: https://en.wikipedia.org/wiki/Do_Not_Track diff --git a/projects/index.html b/projects/index.html deleted file mode 100644 index 7e82d23..0000000 --- a/projects/index.html +++ /dev/null @@ -1,25 +0,0 @@ ---- -layout: blog -title: Ben Burwell’s Projects -description: Projects I’ve done. ---- - -

My Projects

- -{% for project in site.data.projects %} -

- {% if project.live %} - {{ project.name }} - {% else %} - {{ project.name }} - {% endif %} -

-

- {{ project.tech }} - {% if project.github %} - • - {{ project.github }} - {% endif %} -

-

{{ project.description }}

-{% endfor %} diff --git a/resume.pdf b/resume.pdf deleted file mode 100644 index cc8166f..0000000 Binary files a/resume.pdf and /dev/null differ diff --git a/theatre/index.html b/theatre/index.html index d281275..fd53371 100644 --- a/theatre/index.html +++ b/theatre/index.html @@ -1,10 +1,10 @@ --- -layout: blog +layout: master title: Theatrical Credits description: Mostly for my own reference, here’s a list of shows I’ve worked on. --- -

Theatrical Credits

+

Theatrical Credits

{% for show in site.data.shows %} -- cgit v1.2.3