"use strict";function showTooltip(e,t){e.setAttribute("class","copy-button tooltipped tooltipped-s"),e.setAttribute("aria-label",t)}function fallbackMessage(e){var t="",r="cut"===e?"X":"C";return t=isMac?"Press ⌘-"+r:"Press Ctrl-"+r}function toggleToc(e){e.preventDefault(),e.stopPropagation(),console.log("hello"),document.getElementById("toc").classList.toggle("toc-open"),document.getElementById("toc-toggle").classList.toggle("toc-open")}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Clipboard=e()}}(function(){var e;return function t(e,r,n){function o(i,s){if(!r[i]){if(!e[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(a)return a(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[i]={exports:{}};e[i][0].call(u.exports,function(t){var r=e[i][1][t];return o(r?r:t)},u,u.exports,t,e,r,n)}return r[i].exports}for(var a="function"==typeof require&&require,i=0;in;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],o=[];if(n&&t)for(var a=0,i=n.length;i>a;a++)n[a].fn!==t&&n[a].fn._!==t&&o.push(n[a]);return o.length?r[e]=o:delete r[e],this}},t.exports=n},{}],8:[function(t,r,n){!function(o,a){if("function"==typeof e&&e.amd)e(["module","select"],a);else if("undefined"!=typeof n)a(r,t("select"));else{var i={exports:{}};a(i,o.select),o.clipboardAction=i.exports}}(this,function(e,t){function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=r(t),a="function"==typeof Symbol&&"symbol"==_typeof(Symbol.iterator)?function(e){return"undefined"==typeof e?"undefined":_typeof(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":"undefined"==typeof e?"undefined":_typeof(e)},i=function(){function e(e,t){for(var r=0;r0&&t-1 in e)}if(!e.jQuery){var r=function c(e,t){return new c.fn.init(e,t)};r.isWindow=function(e){return e&&e===e.window},r.type=function(e){return e?"object"==("undefined"==typeof e?"undefined":_typeof(e))||"function"==typeof e?o[i.call(e)]||"object":"undefined"==typeof e?"undefined":_typeof(e):e+""},r.isArray=Array.isArray||function(e){return"array"===r.type(e)},r.isPlainObject=function(e){var t;if(!e||"object"!==r.type(e)||e.nodeType||r.isWindow(e))return!1;try{if(e.constructor&&!a.call(e,"constructor")&&!a.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}for(t in e);return void 0===t||a.call(e,t)},r.each=function(e,r,n){var o,a=0,i=e.length,s=t(e);if(n){if(s)for(;a0?o=i:r=i;while(Math.abs(a)>h&&++s=b?u(t,s):0===l?s:p(t,r,r+S)}function g(){k=!0,e===r&&n===o||f()}var m=4,b=.001,h=1e-7,y=10,v=11,S=1/(v-1),w="Float32Array"in t;if(4!==arguments.length)return!1;for(var x=0;x<4;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var C=w?new Float32Array(v):new Array(v),k=!1,N=function(t){return k||g(),e===r&&n===o?t:0===t?0:1===t?1:l(d(t),r,o)};N.getControlPoints=function(){return[{x:e,y:r},{x:n,y:o}]};var P="generateBezier("+[e,r,n,o]+")";return N.toString=function(){return P},N}function c(e,t){var r=e;return m.isString(e)?v.Easings[e]||(r=!1):r=m.isArray(e)&&1===e.length?s.apply(null,e):m.isArray(e)&&2===e.length?S.apply(null,e.concat([t])):!(!m.isArray(e)||4!==e.length)&&l.apply(null,e),r===!1&&(r=v.Easings[v.defaults.easing]?v.defaults.easing:y),r}function u(e){if(e){var t=(new Date).getTime(),r=v.State.calls.length;r>1e4&&(v.State.calls=o(v.State.calls),r=v.State.calls.length);for(var a=0;a4;e--){var t=r.createElement("div");if(t.innerHTML="",t.getElementsByTagName("span").length)return t=null,e}return n}(),g=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var r,n=(new Date).getTime();return r=Math.max(0,16-(n-e)),e=n+r,setTimeout(function(){t(n+r)},r)}}(),m={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==("undefined"==typeof e?"undefined":_typeof(e))&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==n&&(0===e.length||"object"==_typeof(e[0])&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},b=!1;if(e.fn&&e.fn.jquery?(p=e,b=!0):p=t.Velocity.Utilities,d<=8&&!b)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(d<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var h=400,y="swing",v={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:r.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:p,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:h,easing:y,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){p.data(e,"velocity",{isSVG:m.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:3,patch:0},debug:!1};t.pageYOffset!==n?(v.State.scrollAnchor=t,v.State.scrollPropertyLeft="pageXOffset",v.State.scrollPropertyTop="pageYOffset"):(v.State.scrollAnchor=r.documentElement||r.body.parentNode||r.body,v.State.scrollPropertyLeft="scrollLeft",v.State.scrollPropertyTop="scrollTop");var S=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,r,n){var o={x:t.x+n.dx*r,v:t.v+n.dv*r,tension:t.tension,friction:t.friction};return{dx:o.v,dv:e(o)}}function r(r,n){var o={dx:r.v,dv:e(r)},a=t(r,.5*n,o),i=t(r,.5*n,a),s=t(r,n,i),l=1/6*(o.dx+2*(a.dx+i.dx)+s.dx),c=1/6*(o.dv+2*(a.dv+i.dv)+s.dv);return r.x=r.x+l*n,r.v=r.v+c*n,r}return function n(e,t,o){var a,i,s,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,f=1e-4,p=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,o=o||null,l.tension=e,l.friction=t,a=null!==o,a?(u=n(e,t),i=u/o*p):i=p;s=r(s||l,i),c.push(1+s.x),u+=16,Math.abs(s.x)>f&&Math.abs(s.v)>f;);return a?function(e){return c[e*(c.length-1)|0]}:u}}();v.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},p.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){v.Easings[t[0]]=l.apply(null,t[1])});var w=v.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e=1?"":"alpha(opacity="+parseInt(100*parseFloat(r),10)+")"}else switch(e){case"name":return"opacity";case"extract":return r;case"inject":return r}}},register:function(){d&&!(d>9)||v.State.isGingerbread||(w.Lists.transformsBase=w.Lists.transformsBase.concat(w.Lists.transforms3D));for(var e=0;e8)&&3===a.split(" ").length&&(a+=" 1"),a;case"inject":return d<=8?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(d<=8?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(d||v.State.isAndroid&&!v.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(v.State.prefixMatches[e])return[v.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],r=0,n=t.length;r=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,n,o,a){var s=r;if("scroll"===r)a.container?a.container["scroll"+a.direction]=n:"Left"===a.direction?t.scrollTo(n,a.alternateValue):t.scrollTo(a.alternateValue,n);else if(w.Normalizations.registered[r]&&"transform"===w.Normalizations.registered[r]("name",e))w.Normalizations.registered[r]("inject",e,n),s="transform",n=i(e).transformCache[r];else{if(w.Hooks.registered[r]){var l=r,c=w.Hooks.getRoot(r);o=o||w.getPropertyValue(e,c),n=w.Hooks.injectValue(l,n,o),r=c}if(w.Normalizations.registered[r]&&(n=w.Normalizations.registered[r]("inject",e,n),r=w.Normalizations.registered[r]("name",e)),s=w.Names.prefixCheck(r)[0],d<=8)try{e.style[s]=n}catch(u){v.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else{var f=i(e);f&&f.isSVG&&w.Names.SVGAttribute(r)?e.setAttribute(r,n):e.style[s]=n}v.debug>=2&&console.log("Set "+r+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){var t="",r=i(e);if((d||v.State.isAndroid&&!v.State.isChrome)&&r&&r.isSVG){var n=function(t){return parseFloat(w.getPropertyValue(e,t))},o={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};p.each(i(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),o[e]&&(t+=e+"("+o[e].join(" ")+") ",delete o[e])})}else{var a,s;p.each(i(e).transformCache,function(r){return a=i(e).transformCache[r],"transformPerspective"===r?(s=a,!0):(9===d&&"rotateZ"===r&&(r="rotate"),void(t+=r+a+" "))}),s&&(t="perspective"+s+" "+t)}w.setPropertyValue(e,"transform",t)}};w.Hooks.register(),w.Normalizations.register(),v.hook=function(e,t,r){var o;return e=a(e),p.each(e,function(e,a){if(i(a)===n&&v.init(a),r===n)o===n&&(o=v.CSS.getPropertyValue(a,t));else{var s=v.CSS.setPropertyValue(a,t,r);"transform"===s[0]&&v.CSS.flushTransformCache(a),o=s}}),o};var x=function k(){function e(){return l?T.promise||null:d}function o(e,o){function a(a){var d,g;if(l.begin&&0===N)try{l.begin.call(b,b)}catch(h){setTimeout(function(){throw h},1)}if("scroll"===O){var x,k,P,E=/^x$/i.test(l.axis)?"Left":"Top",I=parseFloat(l.offset)||0;l.container?m.isWrapped(l.container)||m.isNode(l.container)?(l.container=l.container[0]||l.container,x=l.container["scroll"+E],P=x+p(e).position()[E.toLowerCase()]+I):l.container=null:(x=v.State.scrollAnchor[v.State["scrollProperty"+E]],k=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===E?"Top":"Left")]],P=p(e).offset()[E.toLowerCase()]+I),f={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:P,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:E,alternateValue:k}},element:e},v.debug&&console.log("tweensContainer (scroll): ",f.scroll,e)}else if("reverse"===O){if(d=i(e),!d)return;if(!d.tweensContainer)return void p.dequeue(e,l.queue);"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,S.easing||delete l.easing,S.duration||delete l.duration,l=p.extend({},d.opts,l),g=p.extend(!0,{},d?d.tweensContainer:null);for(var M in g)if("element"!==M){var A=g[M].startValue;g[M].startValue=g[M].currentValue=g[M].endValue,g[M].endValue=A,m.isEmptyObject(S)||(g[M].easing=l.easing),v.debug&&console.log("reverse tweensContainer ("+M+"): "+JSON.stringify(g[M]),e)}f=g}else if("start"===O){d=i(e),d&&d.tweensContainer&&d.isAnimating===!0&&(g=d.tweensContainer);var D=function(t,r){var a,i,s;return m.isArray(t)?(a=t[0],!m.isArray(t[1])&&/^[\d-]/.test(t[1])||m.isFunction(t[1])||w.RegEx.isHex.test(t[1])?s=t[1]:(m.isString(t[1])&&!w.RegEx.isHex.test(t[1])||m.isArray(t[1]))&&(i=r?t[1]:c(t[1],l.duration),t[2]!==n&&(s=t[2]))):a=t,r||(i=i||l.easing),m.isFunction(a)&&(a=a.call(e,o,C)),m.isFunction(s)&&(s=s.call(e,o,C)),[a||0,i,s]};p.each(y,function(e,t){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(w.Names.camelCase(e))){var r=D(t,!0),o=r[0],a=r[1],i=r[2];if(w.RegEx.isHex.test(o)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(o),c=i?w.Values.hexToRgb(i):n,u=0;u=1&&console.log("Unit ratios: "+JSON.stringify(s),e),s};if(/[\/*]/.test(W))_=H;else if(H!==_&&0!==F)if(0===j)_=H;else{s=s||q();var U=/margin|padding|left|right|width|text|word|letter/i.test(L)||/X$/.test(L)||"x"===L?"x":"y";switch(H){case"%":F*="x"===U?s.percentToPxWidth:s.percentToPxHeight;break;case"px":break;default:F*=s[H+"ToPx"]}switch(_){case"%":F*=1/("x"===U?s.percentToPxWidth:s.percentToPxHeight);break;case"px":break;default:F*=1/s[_+"ToPx"]}}switch(W){case"+":j=F+j;break;case"-":j=F-j;break;case"*":j=F*j;break;case"/":j=F/j}f[L]={rootPropertyValue:Y,startValue:F,currentValue:F,endValue:j,unitType:_,easing:X},v.debug&&console.log("tweensContainer ("+L+"): "+JSON.stringify(f[L]),e)}else v.debug&&console.log("Skipping ["+B+"] due to a lack of browser support.")}f.element=e}f.element&&(w.Values.addClass(e,"velocity-animating"),V.push(f),d=i(e),d&&(""===l.queue&&(d.tweensContainer=f,d.opts=l),d.isAnimating=!0),N===C-1?(v.State.calls.push([V,b,l,null,T.resolver]),v.State.isTicking===!1&&(v.State.isTicking=!0,u())):N++)}var s,l=p.extend({},v.defaults,S),f={};switch(i(e)===n&&v.init(e),parseFloat(l.delay)&&l.queue!==!1&&p.queue(e,l.queue,function(t){v.velocityQueueEntryFlag=!0,i(e).delayTimer={setTimeout:setTimeout(t,parseFloat(l.delay)),next:t}}),l.duration.toString().toLowerCase()){case"fast":l.duration=200;break;case"normal":l.duration=h;break;case"slow":l.duration=600;break;default:l.duration=parseFloat(l.duration)||1}v.mock!==!1&&(v.mock===!0?l.duration=l.delay=1:(l.duration*=parseFloat(v.mock)||1,l.delay*=parseFloat(v.mock)||1)),l.easing=c(l.easing,l.duration),l.begin&&!m.isFunction(l.begin)&&(l.begin=null),l.progress&&!m.isFunction(l.progress)&&(l.progress=null),l.complete&&!m.isFunction(l.complete)&&(l.complete=null),l.display!==n&&null!==l.display&&(l.display=l.display.toString().toLowerCase(),"auto"===l.display&&(l.display=v.CSS.Values.getDisplayType(e))),l.visibility!==n&&null!==l.visibility&&(l.visibility=l.visibility.toString().toLowerCase()),l.mobileHA=l.mobileHA&&v.State.isMobile&&!v.State.isGingerbread,l.queue===!1?l.delay?setTimeout(a,l.delay):a():p.queue(e,l.queue,function(e,t){return t===!0?(T.promise&&T.resolver(b),!0):(v.velocityQueueEntryFlag=!0,void a(e))}),""!==l.queue&&"fx"!==l.queue||"inprogress"===p.queue(e)[0]||p.dequeue(e)}var s,l,d,g,b,y,S,x=arguments[0]&&(arguments[0].p||p.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||m.isString(arguments[0].properties));if(m.isWrapped(this)?(l=!1,g=0,b=this,d=this):(l=!0,g=1,b=x?arguments[0].elements||arguments[0].e:arguments[0]),b=a(b)){x?(y=arguments[0].properties||arguments[0].p,S=arguments[0].options||arguments[0].o):(y=arguments[g],S=arguments[g+1]);var C=b.length,N=0;if(!/^(stop|finish|finishAll)$/i.test(y)&&!p.isPlainObject(S)){var P=g+1;S={};for(var E=P;EparseFloat(r[1]))}var a=e.Velocity;if(!a||!a.Utilities)return void(t.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting."));var i=a.Utilities,s=a.version,l={major:1,minor:1,patch:0};if(o(l,s)){var c="Velocity UI Pack: You need to update Velocity (velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.";throw alert(c),new Error(c)}a.RegisterEffect=a.RegisterUI=function(e,t){function r(e,t,r,n){var o,s=0;i.each(e.nodeType?[e]:e,function(e,t){n&&(r+=e*n),o=t.parentNode;var l=["height","paddingTop","paddingBottom","marginTop","marginBottom"];"border-box"===a.CSS.getPropertyValue(t,"boxSizing").toString().toLowerCase()&&(l=["height"]),i.each(l,function(e,r){s+=parseFloat(a.CSS.getPropertyValue(t,r))})}),a.animate(o,{height:("In"===t?"+":"-")+"="+s},{queue:!1,easing:"ease-in-out",duration:r*("In"===t?.6:1)})}return a.Redirects[e]=function(o,s,l,c,u,f,p){var d=l===c-1;p=p||t.loop,"function"==typeof t.defaultDuration?t.defaultDuration=t.defaultDuration.call(u,u):t.defaultDuration=parseFloat(t.defaultDuration);for(var g=0;g1&&(i.each(t.reverse(),function(e,r){var n=t[e+1];if(n){var o=r.o||r.options,s=n.o||n.options,l=o&&o.sequenceQueue===!1?"begin":"complete",c=s&&s[l],u={};u[l]=function(){var e=n.e||n.elements,t=e.nodeType?[e]:e;c&&c.call(t,t),a(r)},n.o?n.o=i.extend({},s,u):n.options=i.extend({},s,u)}}),t.reverse()),a(t[0])}}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}),$("document").ready(function(){$('.body-copy a[href$=".pdf"]').append(''),$(".body-copy > h2:not(.section-heading),.body-copy > h3").each(function(){var e=$(this).attr("id");$(this).prepend('')})}),function(){for(var e=document.querySelectorAll("blockquote > p"),t=new RegExp(/\s\-\s/),r=0;r― '+o+""}}(),$(".download-button").on("click",function(){var e=$(this).siblings(".code-copy-content"),t=e.text(),r=e.attr("id"),n=new Blob([t],{type:"text/plain;charset=utf-8"});saveAs(n,r)});var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){$(".body-copy img:not(.hugo-icon)").each(function(){$(this).wrap('')})}(),function(e){function t(e,r){if(!(this instanceof t)){var n=new t(e,r);return n.open(),n}this.id=t.id++,this.setup(e,r),this.chainCallbacks(t._callbackChain)}if("undefined"==typeof e)return void("console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery."));var r=[],n=function(t){return r=e.grep(r,function(e){return e!==t&&e.$instance.closest("body").length>0})},o=function(e,t){var r={},n=new RegExp("^"+t+"([A-Z])(.*)");for(var o in e){var a=o.match(n);if(a){var i=(a[1]+a[2].replace(/([A-Z])/g,"-$1")).toLowerCase(); r[i]=e[o]}}return r},a={keyup:"onKeyUp",resize:"onResize"},i=function(r){e.each(t.opened().reverse(),function(){if(!r.isDefaultPrevented()&&!1===this[a[r.type]](r))return r.preventDefault(),r.stopPropagation(),!1})},s=function(r){if(r!==t._globalHandlerInstalled){t._globalHandlerInstalled=r;var n=e.map(a,function(e,r){return r+"."+t.prototype.namespace}).join(" ");e(window)[r?"on":"off"](n,i)}};t.prototype={constructor:t,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"✕",loading:"",persist:!1,otherClose:null,beforeOpen:e.noop,beforeContent:e.noop,beforeClose:e.noop,afterOpen:e.noop,afterContent:e.noop,afterClose:e.noop,onKeyUp:e.noop,onResize:e.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(t,r){"object"!==("undefined"==typeof t?"undefined":_typeof(t))||t instanceof e!=!1||r||(r=t,t=void 0);var n=e.extend(this,r,{target:t}),o=n.resetCss?n.namespace+"-reset":n.namespace,a=e(n.background||['
','
','',n.closeIcon,"",'
'+n.loading+"
","
","
"].join("")),i="."+n.namespace+"-close"+(n.otherClose?","+n.otherClose:"");return n.$instance=a.clone().addClass(n.variant),n.$instance.on(n.closeTrigger+"."+n.namespace,function(t){var r=e(t.target);("background"===n.closeOnClick&&r.is("."+n.namespace)||"anywhere"===n.closeOnClick||r.closest(i).length)&&(n.close(t),t.preventDefault())}),this},getContent:function(){if(this.persist!==!1&&this.$content)return this.$content;var t=this,r=this.constructor.contentFilters,n=function(e){return t.$currentTarget&&t.$currentTarget.attr(e)},o=n(t.targetAttr),a=t.target||o||"",i=r[t.type];if(!i&&a in r&&(i=r[a],a=t.target&&o),a=a||n("href")||"",!i)for(var s in r)t[s]&&(i=r[s],a=t[s]);if(!i){var l=a;if(a=null,e.each(t.contentFilters,function(){return i=r[this],i.test&&(a=i.test(l)),!a&&i.regex&&l.match&&l.match(i.regex)&&(a=l),!a}),!a)return"console"in window&&window.console.error("Featherlight: no content filter found "+(l?' for "'+l+'"':" (no target specified)")),!1}return i.process.call(t,a)},setContent:function(t){var r=this;return(t.is("iframe")||e("iframe",t).length>0)&&r.$instance.addClass(r.namespace+"-iframe"),r.$instance.removeClass(r.namespace+"-loading"),r.$instance.find("."+r.namespace+"-inner").not(t).slice(1).remove().end().replaceWith(e.contains(r.$instance[0],t[0])?"":t),r.$content=t.addClass(r.namespace+"-inner"),r},open:function(t){var n=this;if(n.$instance.hide().appendTo(n.root),!(t&&t.isDefaultPrevented()||n.beforeOpen(t)===!1)){t&&t.preventDefault();var o=n.getContent();if(o)return r.push(n),s(!0),n.$instance.fadeIn(n.openSpeed),n.beforeContent(t),e.when(o).always(function(e){n.setContent(e),n.afterContent(t)}).then(n.$instance.promise()).done(function(){n.afterOpen(t)})}return n.$instance.detach(),e.Deferred().reject().promise()},close:function(t){var r=this,o=e.Deferred();return r.beforeClose(t)===!1?o.reject():(0===n(r).length&&s(!1),r.$instance.fadeOut(r.closeSpeed,function(){r.$instance.detach(),r.afterClose(t),o.resolve()})),o.promise()},resize:function(e,t){if(e&&t){this.$content.css("width","").css("height","");var r=Math.max(e/(parseInt(this.$content.parent().css("width"),10)-1),t/(parseInt(this.$content.parent().css("height"),10)-1));r>1&&(r=t/Math.floor(t/r),this.$content.css("width",""+e/r+"px").css("height",""+t/r+"px"))}},chainCallbacks:function(t){for(var r in t)this[r]=e.proxy(t[r],this,e.proxy(this[r],this))}},e.extend(t,{id:0,autoBind:"[data-featherlight]",defaults:t.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(t){return t instanceof e&&t},process:function(t){return this.persist!==!1?e(t):e(t).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff|bmp|svg)(\?\S*)?$/i,process:function(t){var r=this,n=e.Deferred(),o=new Image,a=e('');return o.onload=function(){a.naturalWidth=o.width,a.naturalHeight=o.height,n.resolve(a)},o.onerror=function(){n.reject(a)},o.src=t,n.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(t){return e(t)}},ajax:{regex:/./,process:function(t){var r=e.Deferred(),n=e("
").load(t,function(e,t){"error"!==t&&r.resolve(n.contents()),r.fail()});return r.promise()}},iframe:{process:function(t){var r=new e.Deferred,n=e("