var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var l=/\blang(?:uage)?-([\w-]+)\b/i,t=0,w=_self.Prism={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof s?new s(e.type,w.util.encode(e.content),e.alias):"Array"===w.util.type(e)?e.map(w.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(R instanceof o)){if(c&&I!=t.length-1){if(d.lastIndex=A,!(h=d.exec(e)))break;for(var N=h.index+(g?h[1].length:0),b=h.index+h[0].length,O=I,L=A,P=t.length;O
"+a.content+""+a.tag+">"},!_self.document)return _self.addEventListener&&(w.disableWorkerMessageHandler||_self.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,a=t.code,r=t.immediateClose;_self.postMessage(w.highlight(a,w.languages[n],n)),r&&_self.close()},!1)),_self.Prism;var e=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return e&&(w.filename=e.src,w.manual||e.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(w.highlightAll):window.setTimeout(w.highlightAll,16):document.addEventListener("DOMContentLoaded",w.highlightAll))),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css,Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(',t.appendChild(i.childNodes[1])}return e&&o.extend(n,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];n.customSelector&&e.push(n.customSelector);var r=".fitvidsignore";n.ignore&&(r=r+", "+n.ignore);var t=o(this).find(e.join(","));(t=(t=t.not("object object")).not(r)).each(function(e){var t=o(this);if(!(0
').parent(".fluid-width-video-wrapper").css("padding-top",100*n+"%"),t.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto);var $nav=$("#site-nav"),$btn=$("#site-nav button"),$vlinks=$("#site-nav .visible-links"),$hlinks=$("#site-nav .hidden-links"),breaks=[];function updateNav(){var e=$btn.hasClass("hidden")?$nav.width():$nav.width()-$btn.width()-30;$vlinks.width()>e?(breaks.push($vlinks.width()),$vlinks.children().last().prependTo($hlinks),$btn.hasClass("hidden")&&$btn.removeClass("hidden")):(e>breaks[breaks.length-1]&&($hlinks.children().first().appendTo($vlinks),breaks.pop()),breaks.length<1&&($btn.addClass("hidden"),$hlinks.addClass("hidden"))),$btn.attr("count",breaks.length),$vlinks.width()>e&&updateNav()}$(window).resize(function(){updateNav()}),$btn.on("click",function(){$hlinks.toggleClass("hidden"),$(this).toggleClass("close")}),updateNav(),function(c){var d,i,f,p,r,h,t,l="Close",u="BeforeClose",m="MarkupParse",g="Open",v=".mfp",y="mfp-ready",n="mfp-removing",a="mfp-prevent-close",e=function(){},s=!!window.jQuery,b=c(window),x=function(e,t){d.ev.on("mfp"+e+v,t)},w=function(e,t,n,i){var r=document.createElement("div");return r.className="mfp-"+e,n&&(r.innerHTML=n),i?t&&t.appendChild(r):(r=c(r),t&&r.appendTo(t)),r},C=function(e,t){d.ev.triggerHandler("mfp"+e,t),d.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),d.st.callbacks[e]&&d.st.callbacks[e].apply(d,c.isArray(t)?t:[t]))},T=function(e){return e===t&&d.currTemplate.closeBtn||(d.currTemplate.closeBtn=c(d.st.closeMarkup.replace("%title%",d.st.tClose)),t=e),d.currTemplate.closeBtn},o=function(){c.magnificPopup.instance||((d=new e).init(),c.magnificPopup.instance=d)};e.prototype={constructor:e,init:function(){var e=navigator.appVersion;d.isIE7=-1!==e.indexOf("MSIE 7."),d.isIE8=-1!==e.indexOf("MSIE 8."),d.isLowIE=d.isIE7||d.isIE8,d.isAndroid=/android/gi.test(e),d.isIOS=/iphone|ipad|ipod/gi.test(e),d.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),d.probablyMobile=d.isAndroid||d.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),p=c(document),d.popupsCache={}},open:function(e){var t;if(f||(f=c(document.body)),!1===e.isObj){d.items=e.items.toArray(),d.index=0;var n,i=e.items;for(t=0;t
(e||b.height())},_setFocus:function(){(d.st.focus?d.content.find(d.st.focus).eq(0):d.wrap).focus()},_onFocusIn:function(e){if(e.target!==d.wrap[0]&&!c.contains(d.wrap[0],e.target))return d._setFocus(),!1},_parseMarkup:function(r,e,t){var o;t.data&&(e=c.extend(t.data,e)),C(m,[r,e,t]),c.each(e,function(e,t){if(void 0===t||!1===t)return!0;if(1<(o=e.split("_")).length){var n=r.find(v+"-"+o[0]);if(0 '):n.attr(o[1],t)}}else r.find(v+"-"+e).html(t)})},_getScrollbarSize:function(){if(void 0===d.scrollbarSize){var e=document.createElement("div");e.id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),d.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return d.scrollbarSize}},c.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return o(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'× ',tClose:"Close (Esc)",tLoading:"Loading..."}},c.fn.magnificPopup=function(e){o();var t=c(this);if("string"==typeof e)if("open"===e){var n,i=s?t.data("magnificPopup"):t[0].magnificPopup,r=parseInt(arguments[1],10)||0;n=i.items?i.items[r]:(n=t,i.delegate&&(n=n.find(i.delegate)),n.eq(r)),d._openClick({mfpEl:n},t,i)}else d.isOpen&&d[e].apply(d,Array.prototype.slice.call(arguments,1));else e=c.extend(!0,{},e),s?t.data("magnificPopup",e):t[0].magnificPopup=e,d.addGroup(t,e);return t};var k,E,S,N="inline",L=function(){S&&(E.after(S.addClass(k)).detach(),S=null)};c.magnificPopup.registerModule(N,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){d.types.push(N),x(l+"."+N,function(){L()})},getInline:function(e,t){if(L(),e.src){var n=d.st.inline,i=c(e.src);if(i.length){var r=i[0].parentNode;r&&r.tagName&&(E||(k=n.hiddenClass,E=w(k),k="mfp-"+k),S=i.after(E).detach().removeClass(k)),d.updateStatus("ready")}else d.updateStatus("error",n.tNotFound),i=c("");return e.inlineElement=i}return d.updateStatus("ready"),d._parseMarkup(t,{},e),t}}});var A,j="ajax",_=function(){A&&f.removeClass(A)},I=function(){_(),d.req&&d.req.abort()};c.magnificPopup.registerModule(j,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'
The content could not be loaded.'},proto:{initAjax:function(){d.types.push(j),A=d.st.ajax.cursor,x(l+"."+j,I),x("BeforeChange."+j,I)},getAjax:function(r){A&&f.addClass(A),d.updateStatus("loading");var e=c.extend({url:r.src,success:function(e,t,n){var i={data:e,xhr:n};C("ParseAjax",i),d.appendContent(c(i.data),j),r.finished=!0,_(),d._setFocus(),setTimeout(function(){d.wrap.addClass(y)},16),d.updateStatus("ready"),C("AjaxContentAdded")},error:function(){_(),r.finished=r.loadError=!0,d.updateStatus("error",d.st.ajax.tError.replace("%url%",r.src))}},d.st.ajax.settings);return d.req=c.ajax(e),""}}});var D;c.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'
The image could not be loaded.'},proto:{initImage:function(){var e=d.st.image,t=".image";d.types.push("image"),x(g+t,function(){"image"===d.currItem.type&&e.cursor&&f.addClass(e.cursor)}),x(l+t,function(){e.cursor&&f.removeClass(e.cursor),b.off("resize"+v)}),x("Resize"+t,d.resizeImage),d.isLowIE&&x("AfterChange",d.resizeImage)},resizeImage:function(){var e=d.currItem;if(e&&e.img&&d.st.image.verticalFit){var t=0;d.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",d.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,D&&clearInterval(D),e.isCheckingImgSize=!1,C("ImageHasSize",e),e.imgHidden&&(d.content&&d.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],r=function(e){D&&clearInterval(D),D=setInterval(function(){0
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){d.types.push(O),x("BeforeChange",function(e,t,n){t!==n&&(t===O?M():n===O&&M(!0))}),x(l+"."+O,function(){M()})},getIframe:function(e,t){var n=e.src,i=d.st.iframe;c.each(i.patterns,function(){if(-1',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=d.st.gallery,e=".mfp-gallery",r=Boolean(c.fn.mfpFastClick);if(d.direction=!0,!o||!o.enabled)return!1;h+=" mfp-gallery",x(g+e,function(){o.navigateByImgClick&&d.wrap.on("click"+e,".mfp-img",function(){if(1=d.index,d.index=e,d.updateItemHTML()},preloadNearbyImages:function(){var e,t=d.st.gallery.preload,n=Math.min(t[0],d.items.length),i=Math.min(t[1],d.items.length);for(e=1;e<=(d.direction?i:n);e++)d._preloadItem(d.index+e);for(e=1;e<=(d.direction?n:i);e++)d._preloadItem(d.index-e)},_preloadItem:function(e){if(e=P(e),!d.items[e].preloaded){var t=d.items[e];t.parsed||(t=d.parseEl(e)),C("LazyLoad",t),"image"===t.type&&(t.img=c(' ').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,C("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0}}}});var F,q,$,z="retina";c.magnificPopup.registerModule(z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(1=e.limit.end?2:1;e.mode!=t&&function(e,t){var n=e.node.style;switch(t){case 0:n.position="absolute",n.left=e.offset.left+"px",n.right=e.offset.right+"px",n.top=e.offset.top+"px",n.bottom="auto",n.width="auto",n.marginLeft=0,n.marginRight=0,n.marginTop=0;break;case 1:n.position="fixed",n.left=e.box.left+"px",n.right=e.box.right+"px",n.top=e.css.top,n.bottom="auto",n.width="auto",n.marginLeft=0,n.marginRight=0,n.marginTop=0;break;case 2:n.position="absolute",n.left=e.offset.left+"px",n.right=e.offset.right+"px",n.top="auto",n.bottom=0,n.width="auto",n.marginLeft=0,n.marginRight=0}e.mode=t}(e,t)}}function l(e){isNaN(parseFloat(e.computed.top))||e.isCell||"none"==e.computed.display||(e.inited=!0,e.clone||function(e){e.clone=document.createElement("div");var t=e.node.nextSibling||e.node,n=e.clone.style;n.height=e.height+"px",n.width=e.width+"px",n.marginTop=e.computed.marginTop,n.marginBottom=e.computed.marginBottom,n.marginLeft=e.computed.marginLeft,n.marginRight=e.computed.marginRight,n.padding=n.border=n.borderSpacing=0,n.fontSize="1em",n.position="static",n.cssFloat=e.computed.cssFloat,e.node.parentNode.insertBefore(e.clone,t)}(e),"absolute"!=e.parent.computed.position&&"relative"!=e.parent.computed.position&&(e.parent.node.style.position="relative"),s(e),e.parent.height=e.parent.node.offsetHeight,e.docOffsetTop=h(e.clone))}function u(e){var t,n=!0;e.clone&&((t=e).clone.parentNode.removeChild(t.clone),t.clone=void 0),function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}(e.node.style,e.css);for(var i=N.length-1;0<=i;i--)if(N[i].node!==e.node&&N[i].parent.node===e.parent.node){n=!1;break}n&&(e.parent.node.style.position=e.parent.css.position),e.mode=-1}function c(){for(var e=N.length-1;0<=e;e--)l(N[e])}function f(){for(var e=N.length-1;0<=e;e--)u(N[e])}function p(e){var t=getComputedStyle(e),n=e.parentNode,i=getComputedStyle(n),r=e.style.position;e.style.position="relative";var o={top:t.top,marginTop:t.marginTop,marginBottom:t.marginBottom,marginLeft:t.marginLeft,marginRight:t.marginRight,cssFloat:t.cssFloat,display:t.display},a={top:d(t.top),marginBottom:d(t.marginBottom),paddingLeft:d(t.paddingLeft),paddingRight:d(t.paddingRight),borderLeftWidth:d(t.borderLeftWidth),borderRightWidth:d(t.borderRightWidth)};e.style.position=r;var s={position:e.style.position,top:e.style.top,bottom:e.style.bottom,left:e.style.left,right:e.style.right,width:e.style.width,marginTop:e.style.marginTop,marginLeft:e.style.marginLeft,marginRight:e.style.marginRight},l=m(e),u=m(n),c={node:n,css:{position:n.style.position},computed:{position:i.position},numeric:{borderLeftWidth:d(i.borderLeftWidth),borderRightWidth:d(i.borderRightWidth),borderTopWidth:d(i.borderTopWidth),borderBottomWidth:d(i.borderBottomWidth)}};return{node:e,box:{left:l.win.left,right:A.clientWidth-l.win.right},offset:{top:l.win.top-u.win.top-c.numeric.borderTopWidth,left:l.win.left-u.win.left-c.numeric.borderLeftWidth,right:-l.win.right+u.win.right-c.numeric.borderRightWidth},css:s,isCell:"table-cell"==t.display,computed:o,numeric:a,width:l.win.right-l.win.left,height:l.win.bottom-l.win.top,mode:-1,inited:!1,parent:c,limit:{start:l.doc.top-a.top,end:u.doc.top+n.offsetHeight-c.numeric.borderBottomWidth-e.offsetHeight-a.top-a.marginBottom}}}function h(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t}function m(e){var t=e.getBoundingClientRect();return{doc:{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset},win:t}}function g(){S=setInterval(function(){!function(){for(var e=N.length-1;0<=e;e--)if(N[e].inited){var t=Math.abs(h(N[e].clone)-N[e].docOffsetTop),n=Math.abs(N[e].parent.node.offsetHeight-N[e].parent.height);if(2<=t||2<=n)return!1}return!0}()&&x()},500)}function v(){clearInterval(S)}function y(){L&&(document[_]?v():g())}function b(){L||(i(),c(),n.addEventListener("scroll",r),n.addEventListener("wheel",o),n.addEventListener("resize",x),n.addEventListener("orientationchange",x),e.addEventListener(I,y),g(),L=!0)}function x(){if(L){f();for(var e=N.length-1;0<=e;e--)N[e]=p(N[e].node);c()}}function w(){n.removeEventListener("scroll",r),n.removeEventListener("wheel",o),n.removeEventListener("resize",x),n.removeEventListener("orientationchange",x),e.removeEventListener(I,y),v(),L=!1}function C(){w(),f()}function T(){for(C();N.length;)N.pop()}function k(e){for(var t=N.length-1;0<=t;t--)if(N[t].node===e)return;var n=p(e);N.push(n),L?l(n):b()}var E,S,N=[],L=!1,A=e.documentElement,j=function(){},_="hidden",I="visibilitychange";void 0!==e.webkitHidden&&(_="webkitHidden",I="webkitvisibilitychange"),n.getComputedStyle||t();for(var D=["","-webkit-","-moz-","-ms-"],H=document.createElement("div"),O=D.length-1;0<=O;O--){try{H.style.position=D[O]+"sticky"}catch(e){}""!=H.style.position&&t()}i(),n.Stickyfill={stickies:N,add:k,remove:function(e){for(var t=N.length-1;0<=t;t--)N[t].node===e&&(u(N[t]),N.splice(t,1))},init:b,rebuild:x,pause:w,stop:C,kill:T}}(document,window),window.jQuery&&(window.jQuery.fn.Stickyfill=function(e){return this.each(function(){Stickyfill.add(this)}),this}),$(document).ready(function(){var e=function(){$("body").css("margin-bottom",$(".page__footer").outerHeight(!0))},t=!1;e(),$(window).resize(function(){t=!0}),setInterval(function(){t&&(t=!1,e())},250),$("#main").fitVids(),$(".sticky").Stickyfill();var n=function(){(0===$(".author__urls-wrapper button").length?1024<$(window).width():!$(".author__urls-wrapper button").is(":visible"))?(Stickyfill.rebuild(),Stickyfill.init(),$(".author__urls").show()):(Stickyfill.stop(),$(".author__urls").hide())};n(),$(window).resize(function(){n()}),$(".author__urls-wrapper button").on("click",function(){$(".author__urls").fadeToggle("fast",function(){}),$(".author__urls-wrapper button").toggleClass("open")}),$("a").smoothScroll({offset:-20}),$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']").addClass("image-popup"),$(".image-popup").magnificPopup({type:"image",tLoading:"Loading image #%curr%...",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'Image #%curr% could not be loaded.'},removalDelay:500,mainClass:"mfp-zoom-in",callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace("mfp-figure","mfp-figure mfp-with-anim")}},closeOnContentClick:!0,midClick:!0})});