!function(e,t){"function"==typeof define&&define.amd?define(function(){return e.Reveal=t(),e.Reveal}):"object"==typeof exports?module.exports=t():e.Reveal=t()}(this,function(){"use strict";function e(e){if(t(),qr.transforms2d||qr.transforms3d){xr.wrapper=document.querySelector(".reveal"),xr.slides=document.querySelector(".reveal .slides"),window.addEventListener("load",H,!1);var n=dr.getQueryHash();"undefined"!=typeof n.dependencies&&delete n.dependencies,v(kr,e),v(kr,n),S(),r()}else{document.body.setAttribute("class","no-transforms");for(var a=document.getElementsByTagName("img"),i=0,o=a.length;o>i;i++){var s=a[i];s.getAttribute("data-src")&&(s.setAttribute("src",s.getAttribute("data-src")),s.removeAttribute("data-src"))}}}function t(){qr.transforms3d="WebkitPerspective"in document.body.style||"MozPerspective"in document.body.style||"msPerspective"in document.body.style||"OPerspective"in document.body.style||"perspective"in document.body.style,qr.transforms2d="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style,qr.requestAnimationFrameMethod=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,qr.requestAnimationFrame="function"==typeof qr.requestAnimationFrameMethod,qr.canvas=!!document.createElement("canvas").getContext,qr.touch=!!("ontouchstart"in window),gr=navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)}function r(){function e(){a.length&&head.js.apply(null,a),n()}function t(t){head.ready(t.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],function(){"function"==typeof t.callback&&t.callback.apply(this),0===--i&&e()})}for(var r=[],a=[],i=0,o=0,s=kr.dependencies.length;s>o;o++){var c=kr.dependencies[o];(!c.condition||c.condition())&&(c.async?a.push(c.src):r.push(c.src),t(c))}r.length?(i=r.length,head.js.apply(null,r)):e()}function n(){a(),d(),et(),u(),yt(),st(!0),setTimeout(function(){xr.slides.classList.remove("no-transition"),Ar=!0,q("ready",{indexh:ur,indexv:pr,currentSlide:vr})},1),E()&&(f(),"complete"===document.readyState?o():window.addEventListener("load",o))}function a(){xr.slides.classList.add("no-transition"),xr.background=s(xr.wrapper,"div","backgrounds",null),xr.progress=s(xr.wrapper,"div","progress","<span></span>"),xr.progressbar=xr.progress.querySelector("span"),s(xr.wrapper,"aside","controls",'<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>'),xr.slideNumber=s(xr.wrapper,"div","slide-number",""),s(xr.wrapper,"div","pause-overlay",null),xr.controls=document.querySelector(".reveal .controls"),xr.theme=document.querySelector("#theme"),xr.wrapper.setAttribute("role","application"),xr.controlsLeft=h(document.querySelectorAll(".navigate-left")),xr.controlsRight=h(document.querySelectorAll(".navigate-right")),xr.controlsUp=h(document.querySelectorAll(".navigate-up")),xr.controlsDown=h(document.querySelectorAll(".navigate-down")),xr.controlsPrev=h(document.querySelectorAll(".navigate-prev")),xr.controlsNext=h(document.querySelectorAll(".navigate-next")),xr.statusDiv=i()}function i(){var e=document.getElementById("aria-status-div");return e||(e=document.createElement("div"),e.style.position="absolute",e.style.height="1px",e.style.width="1px",e.style.overflow="hidden",e.style.clip="rect( 1px, 1px, 1px, 1px )",e.setAttribute("id","aria-status-div"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),xr.wrapper.appendChild(e)),e}function o(){var e=W(window.innerWidth,window.innerHeight),t=Math.floor(e.width*(1+kr.margin)),r=Math.floor(e.height*(1+kr.margin)),n=e.width,a=e.height;b("@page{size:"+t+"px "+r+"px; margin: 0;}"),b(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+n+"px; max-height:"+a+"px}"),document.body.classList.add("print-pdf"),document.body.style.width=t+"px",document.body.style.height=r+"px",h(xr.wrapper.querySelectorAll(yr)).forEach(function(e){if(e.classList.contains("stack")===!1){var i=(t-n)/2,o=(r-a)/2,s=k(e),c=Math.max(Math.ceil(s/r),1);(1===c&&kr.center||e.classList.contains("center"))&&(o=Math.max((r-s)/2,0)),e.style.left=i+"px",e.style.top=o+"px",e.style.width=n+"px";var l=e.querySelector(".slide-background");l&&(l.style.width=t+"px",l.style.height=r*c+"px",l.style.top=-o+"px",l.style.left=-i+"px")}}),h(xr.wrapper.querySelectorAll(yr+" .fragment")).forEach(function(e){e.classList.add("visible")})}function s(e,t,r,n){for(var a=e.querySelectorAll("."+r),i=0;i<a.length;i++){var o=a[i];if(o.parentNode===e)return o}var s=document.createElement(t);return s.classList.add(r),"string"==typeof n&&(s.innerHTML=n),e.appendChild(s),s}function c(){var e=E();xr.background.innerHTML="",xr.background.classList.add("no-transition"),h(xr.wrapper.querySelectorAll(br)).forEach(function(t){var r;r=e?l(t,t):l(t,xr.background),h(t.querySelectorAll("section")).forEach(function(t){e?l(t,t):l(t,r),r.classList.add("stack")})}),kr.parallaxBackgroundImage?(xr.background.style.backgroundImage='url("'+kr.parallaxBackgroundImage+'")',xr.background.style.backgroundSize=kr.parallaxBackgroundSize,setTimeout(function(){xr.wrapper.classList.add("has-parallax-background")},1)):(xr.background.style.backgroundImage="",xr.wrapper.classList.remove("has-parallax-background"))}function l(e,t){var r={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundImage:e.getAttribute("data-background-image"),backgroundVideo:e.getAttribute("data-background-video"),backgroundIframe:e.getAttribute("data-background-iframe"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position"),backgroundTransition:e.getAttribute("data-background-transition")},n=document.createElement("div");n.className="slide-background "+e.className.replace(/present|past|future/,""),r.background&&(/^(http|file|\/\/)/gi.test(r.background)||/\.(svg|png|jpg|jpeg|gif|bmp)$/gi.test(r.background)?e.setAttribute("data-background-image",r.background):n.style.background=r.background),(r.background||r.backgroundColor||r.backgroundImage||r.backgroundVideo||r.backgroundIframe)&&n.setAttribute("data-background-hash",r.background+r.backgroundSize+r.backgroundImage+r.backgroundVideo+r.backgroundIframe+r.backgroundColor+r.backgroundRepeat+r.backgroundPosition+r.backgroundTransition),r.backgroundSize&&(n.style.backgroundSize=r.backgroundSize),r.backgroundColor&&(n.style.backgroundColor=r.backgroundColor),r.backgroundRepeat&&(n.style.backgroundRepeat=r.backgroundRepeat),r.backgroundPosition&&(n.style.backgroundPosition=r.backgroundPosition),r.backgroundTransition&&n.setAttribute("data-background-transition",r.backgroundTransition),t.appendChild(n),e.classList.remove("has-dark-background"),e.classList.remove("has-light-background");var a=window.getComputedStyle(n).backgroundColor;if(a){var i=w(a);i&&0!==i.a&&e.classList.add(L(a)<128?"has-dark-background":"has-light-background")}return n}function d(){kr.postMessage&&window.addEventListener("message",function(e){var t=e.data;"{"===t.charAt(0)&&"}"===t.charAt(t.length-1)&&(t=JSON.parse(t),t.method&&"function"==typeof dr[t.method]&&dr[t.method].apply(dr,t.args))},!1)}function u(e){var t=xr.wrapper.querySelectorAll(yr).length;xr.wrapper.classList.remove(kr.transition),"object"==typeof e&&v(kr,e),qr.transforms3d===!1&&(kr.transition="linear"),xr.wrapper.classList.add(kr.transition),xr.wrapper.setAttribute("data-transition-speed",kr.transitionSpeed),xr.wrapper.setAttribute("data-background-transition",kr.backgroundTransition),xr.controls.style.display=kr.controls?"block":"none",xr.progress.style.display=kr.progress?"block":"none",kr.rtl?xr.wrapper.classList.add("rtl"):xr.wrapper.classList.remove("rtl"),kr.center?xr.wrapper.classList.add("center"):xr.wrapper.classList.remove("center"),kr.pause===!1&&_(),kr.mouseWheel?(document.addEventListener("DOMMouseScroll",Vt,!1),document.addEventListener("mousewheel",Vt,!1)):(document.removeEventListener("DOMMouseScroll",Vt,!1),document.removeEventListener("mousewheel",Vt,!1)),kr.rollingLinks?M():T(),kr.previewLinks?N():(I(),N("[data-preview-link]")),mr&&(mr.destroy(),mr=null),t>1&&kr.autoSlide&&kr.autoSlideStoppable&&qr.canvas&&qr.requestAnimationFrame&&(mr=new lr(xr.wrapper,function(){return Math.min(Math.max((Date.now()-Pr)/Ir,0),1)}),mr.on("click",cr),Dr=!1),kr.fragments===!1&&h(xr.slides.querySelectorAll(".fragment")).forEach(function(e){e.classList.add("visible"),e.classList.remove("current-fragment")}),G()}function p(){if(Nr=!0,window.addEventListener("hashchange",nr,!1),window.addEventListener("resize",ar,!1),kr.touch&&(xr.wrapper.addEventListener("touchstart",jt,!1),xr.wrapper.addEventListener("touchmove",Bt,!1),xr.wrapper.addEventListener("touchend",Ut,!1),window.navigator.pointerEnabled?(xr.wrapper.addEventListener("pointerdown",$t,!1),xr.wrapper.addEventListener("pointermove",_t,!1),xr.wrapper.addEventListener("pointerup",Kt,!1)):window.navigator.msPointerEnabled&&(xr.wrapper.addEventListener("MSPointerDown",$t,!1),xr.wrapper.addEventListener("MSPointerMove",_t,!1),xr.wrapper.addEventListener("MSPointerUp",Kt,!1))),kr.keyboard&&(document.addEventListener("keydown",Xt,!1),document.addEventListener("keypress",Yt,!1)),kr.progress&&xr.progress&&xr.progress.addEventListener("click",Zt,!1),kr.focusBodyOnPageVisibilityChange){var e;"hidden"in document?e="visibilitychange":"msHidden"in document?e="msvisibilitychange":"webkitHidden"in document&&(e="webkitvisibilitychange"),e&&document.addEventListener(e,ir,!1)}var t=["touchstart","click"];navigator.userAgent.match(/android/gi)&&(t=["touchstart"]),t.forEach(function(e){xr.controlsLeft.forEach(function(t){t.addEventListener(e,Jt,!1)}),xr.controlsRight.forEach(function(t){t.addEventListener(e,Qt,!1)}),xr.controlsUp.forEach(function(t){t.addEventListener(e,Gt,!1)}),xr.controlsDown.forEach(function(t){t.addEventListener(e,er,!1)}),xr.controlsPrev.forEach(function(t){t.addEventListener(e,tr,!1)}),xr.controlsNext.forEach(function(t){t.addEventListener(e,rr,!1)})})}function f(){Nr=!1,document.removeEventListener("keydown",Xt,!1),document.removeEventListener("keypress",Yt,!1),window.removeEventListener("hashchange",nr,!1),window.removeEventListener("resize",ar,!1),xr.wrapper.removeEventListener("touchstart",jt,!1),xr.wrapper.removeEventListener("touchmove",Bt,!1),xr.wrapper.removeEventListener("touchend",Ut,!1),window.navigator.pointerEnabled?(xr.wrapper.removeEventListener("pointerdown",$t,!1),xr.wrapper.removeEventListener("pointermove",_t,!1),xr.wrapper.removeEventListener("pointerup",Kt,!1)):window.navigator.msPointerEnabled&&(xr.wrapper.removeEventListener("MSPointerDown",$t,!1),xr.wrapper.removeEventListener("MSPointerMove",_t,!1),xr.wrapper.removeEventListener("MSPointerUp",Kt,!1)),kr.progress&&xr.progress&&xr.progress.removeEventListener("click",Zt,!1),["touchstart","click"].forEach(function(e){xr.controlsLeft.forEach(function(t){t.removeEventListener(e,Jt,!1)}),xr.controlsRight.forEach(function(t){t.removeEventListener(e,Qt,!1)}),xr.controlsUp.forEach(function(t){t.removeEventListener(e,Gt,!1)}),xr.controlsDown.forEach(function(t){t.removeEventListener(e,er,!1)}),xr.controlsPrev.forEach(function(t){t.removeEventListener(e,tr,!1)}),xr.controlsNext.forEach(function(t){t.removeEventListener(e,rr,!1)})})}function v(e,t){for(var r in t)e[r]=t[r]}function h(e){return Array.prototype.slice.call(e)}function g(e){if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;if(e.match(/^\d+$/))return parseFloat(e)}return e}function m(e,t){var r=e.x-t.x,n=e.y-t.y;return Math.sqrt(r*r+n*n)}function y(e,t){e.style.WebkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t}function b(e){var t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),document.getElementsByTagName("head")[0].appendChild(t)}function w(e){var t=e.match(/^#([0-9a-f]{3})$/i);if(t&&t[1])return t=t[1],{r:17*parseInt(t.charAt(0),16),g:17*parseInt(t.charAt(1),16),b:17*parseInt(t.charAt(2),16)};var r=e.match(/^#([0-9a-f]{6})$/i);if(r&&r[1])return r=r[1],{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16)};var n=e.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(n)return{r:parseInt(n[1],10),g:parseInt(n[2],10),b:parseInt(n[3],10)};var a=e.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return a?{r:parseInt(a[1],10),g:parseInt(a[2],10),b:parseInt(a[3],10),a:parseFloat(a[4])}:null}function L(e){return"string"==typeof e&&(e=w(e)),e?(299*e.r+587*e.g+114*e.b)/1e3:null}function k(e){var t=0;if(e){var r=0;h(e.childNodes).forEach(function(e){"number"==typeof e.offsetTop&&e.style&&("absolute"===window.getComputedStyle(e).position&&(r+=1),t=Math.max(t,e.offsetTop+e.offsetHeight))}),0===r&&(t=e.offsetHeight)}return t}function A(e,t){if(t=t||0,e){var r,n=e.style.height;return e.style.height="0px",r=t-e.parentNode.offsetHeight,e.style.height=n+"px",r}return t}function E(){return/print-pdf/gi.test(window.location.search)}function S(){kr.hideAddressBar&&gr&&(window.addEventListener("load",x,!1),window.addEventListener("orientationchange",x,!1))}function x(){setTimeout(function(){window.scrollTo(0,1)},10)}function q(e,t){var r=document.createEvent("HTMLEvents",1,2);r.initEvent(e,!0,!0),v(r,t),xr.wrapper.dispatchEvent(r),kr.postMessageEvents&&window.parent!==window.self&&window.parent.postMessage(JSON.stringify({namespace:"reveal",eventName:e,state:Et()}),"*")}function M(){if(qr.transforms3d&&!("msPerspective"in document.body.style))for(var e=xr.wrapper.querySelectorAll(yr+" a"),t=0,r=e.length;r>t;t++){var n=e[t];if(!(!n.textContent||n.querySelector("*")||n.className&&n.classList.contains(n,"roll"))){var a=document.createElement("span");a.setAttribute("data-title",n.text),a.innerHTML=n.innerHTML,n.classList.add("roll"),n.innerHTML="",n.appendChild(a)}}}function T(){for(var e=xr.wrapper.querySelectorAll(yr+" a.roll"),t=0,r=e.length;r>t;t++){var n=e[t],a=n.querySelector("span");a&&(n.classList.remove("roll"),n.innerHTML=a.innerHTML)}}function N(e){var t=h(document.querySelectorAll(e?e:"a"));t.forEach(function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.addEventListener("click",sr,!1)})}function I(){var e=h(document.querySelectorAll("a"));e.forEach(function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.removeEventListener("click",sr,!1)})}function C(e){D(),xr.overlay=document.createElement("div"),xr.overlay.classList.add("overlay"),xr.overlay.classList.add("overlay-preview"),xr.wrapper.appendChild(xr.overlay),xr.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>','<a class="external" href="'+e+'" target="_blank"><span class="icon"></span></a>',"</header>",'<div class="spinner"></div>','<div class="viewport">','<iframe src="'+e+'"></iframe>',"</div>"].join(""),xr.overlay.querySelector("iframe").addEventListener("load",function(){xr.overlay.classList.add("loaded")},!1),xr.overlay.querySelector(".close").addEventListener("click",function(e){D(),e.preventDefault()},!1),xr.overlay.querySelector(".external").addEventListener("click",function(){D()},!1),setTimeout(function(){xr.overlay.classList.add("visible")},1)}function P(){if(kr.help){D(),xr.overlay=document.createElement("div"),xr.overlay.classList.add("overlay"),xr.overlay.classList.add("overlay-help"),xr.wrapper.appendChild(xr.overlay);var e='<p class="title">Keyboard Shortcuts</p><br/>';e+="<table><th>KEY</th><th>ACTION</th>";for(var t in Rr)e+="<tr><td>"+t+"</td><td>"+Rr[t]+"</td></tr>";e+="</table>",xr.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>',"</header>",'<div class="viewport">','<div class="viewport-inner">'+e+"</div>","</div>"].join(""),xr.overlay.querySelector(".close").addEventListener("click",function(e){D(),e.preventDefault()},!1),setTimeout(function(){xr.overlay.classList.add("visible")},1)}}function D(){xr.overlay&&(xr.overlay.parentNode.removeChild(xr.overlay),xr.overlay=null)}function H(){if(xr.wrapper&&!E()){var e=W(),t=20;R(kr.width,kr.height,t),xr.slides.style.width=e.width+"px",xr.slides.style.height=e.height+"px",Sr=Math.min(e.presentationWidth/e.width,e.presentationHeight/e.height),Sr=Math.max(Sr,kr.minScale),Sr=Math.min(Sr,kr.maxScale),1===Sr?(xr.slides.style.zoom="",xr.slides.style.left="",xr.slides.style.top="",xr.slides.style.bottom="",xr.slides.style.right="",y(xr.slides,"")):!gr&&/chrome/i.test(navigator.userAgent)&&"undefined"!=typeof xr.slides.style.zoom?xr.slides.style.zoom=Sr:(xr.slides.style.left="50%",xr.slides.style.top="50%",xr.slides.style.bottom="auto",xr.slides.style.right="auto",y(xr.slides,"translate(-50%, -50%) scale("+Sr+")"));for(var r=h(xr.wrapper.querySelectorAll(yr)),n=0,a=r.length;a>n;n++){var i=r[n];"none"!==i.style.display&&(i.style.top=kr.center||i.classList.contains("center")?i.classList.contains("stack")?0:Math.max((e.height-k(i))/2-t,0)+"px":"")}at(),ct()}}function R(e,t){h(xr.slides.querySelectorAll("section > .stretch")).forEach(function(r){var n=A(r,t);if(/(img|video)/gi.test(r.nodeName)){var a=r.naturalWidth||r.videoWidth,i=r.naturalHeight||r.videoHeight,o=Math.min(e/a,n/i);r.style.width=a*o+"px",r.style.height=i*o+"px"}else r.style.width=e+"px",r.style.height=n+"px"})}function W(e,t){var r={width:kr.width,height:kr.height,presentationWidth:e||xr.wrapper.offsetWidth,presentationHeight:t||xr.wrapper.offsetHeight};return r.presentationWidth-=r.presentationHeight*kr.margin,r.presentationHeight-=r.presentationHeight*kr.margin,"string"==typeof r.width&&/%$/.test(r.width)&&(r.width=parseInt(r.width,10)/100*r.presentationWidth),"string"==typeof r.height&&/%$/.test(r.height)&&(r.height=parseInt(r.height,10)/100*r.presentationHeight),r}function O(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function z(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function F(){if(kr.overview){It();var e=xr.wrapper.classList.contains("overview"),t=window.innerWidth<400?1e3:2500;xr.wrapper.classList.add("overview"),xr.wrapper.classList.remove("overview-deactivating");for(var r=xr.wrapper.querySelectorAll(br),n=0,a=r.length;a>n;n++){var i=r[n],o=kr.rtl?-105:105;if(i.setAttribute("data-index-h",n),y(i,"translateZ(-"+t+"px) translate("+(n-ur)*o+"%, 0%)"),i.classList.contains("stack"))for(var s=i.querySelectorAll("section"),c=0,l=s.length;l>c;c++){var d=n===ur?pr:z(i),u=s[c];u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),y(u,"translate(0%, "+105*(c-d)+"%)"),u.addEventListener("click",or,!0)}else i.addEventListener("click",or,!0)}nt(),H(),e||q("overviewshown",{indexh:ur,indexv:pr,currentSlide:vr})}}function Y(){kr.overview&&(xr.wrapper.classList.remove("overview"),xr.wrapper.classList.add("overview-deactivating"),setTimeout(function(){xr.wrapper.classList.remove("overview-deactivating")},1),h(xr.wrapper.querySelectorAll(yr)).forEach(function(e){y(e,""),e.removeEventListener("click",or,!0)}),Q(ur,pr),Nt(),q("overviewhidden",{indexh:ur,indexv:pr,currentSlide:vr}))}function X(e){"boolean"==typeof e?e?F():Y():j()?Y():F()}function j(){return xr.wrapper.classList.contains("overview")}function B(e){return e=e?e:vr,e&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function U(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&t.apply(e)}function $(){if(kr.pause){var e=xr.wrapper.classList.contains("paused");It(),xr.wrapper.classList.add("paused"),e===!1&&q("paused")}}function _(){var e=xr.wrapper.classList.contains("paused");xr.wrapper.classList.remove("paused"),Nt(),e&&q("resumed")}function K(e){"boolean"==typeof e?e?$():_():V()?_():$()}function V(){return xr.wrapper.classList.contains("paused")}function Z(e){"boolean"==typeof e?e?Pt():Ct():Dr?Pt():Ct()}function J(){return!(!Ir||Dr)}function Q(e,t,r,n){fr=vr;var a=xr.wrapper.querySelectorAll(br);void 0===t&&(t=z(a[e])),fr&&fr.parentNode&&fr.parentNode.classList.contains("stack")&&O(fr.parentNode,pr);var i=Er.concat();Er.length=0;var o=ur||0,s=pr||0;ur=rt(br,void 0===e?ur:e),pr=rt(wr,void 0===t?pr:t),nt(),H();e:for(var c=0,l=Er.length;l>c;c++){for(var d=0;d<i.length;d++)if(i[d]===Er[c]){i.splice(d,1);continue e}document.documentElement.classList.add(Er[c]),q(Er[c])}for(;i.length;)document.documentElement.classList.remove(i.pop());j()&&F();var u=a[ur],p=u.querySelectorAll("section");vr=p[pr]||u,"undefined"!=typeof r&&qt(r);var f=ur!==o||pr!==s;f?q("slidechanged",{indexh:ur,indexv:pr,previousSlide:fr,currentSlide:vr,origin:n}):fr=null,fr&&(fr.classList.remove("present"),fr.setAttribute("aria-hidden","true"),xr.wrapper.querySelector(Lr).classList.contains("present")&&setTimeout(function(){var e,t=h(xr.wrapper.querySelectorAll(br+".stack"));for(e in t)t[e]&&O(t[e],0)},0)),(f||!fr)&&(ht(fr),vt(vr)),xr.statusDiv.textContent=vr.textContent,ot(),at(),st(),ct(),it(),bt(),Nt()}function G(){f(),p(),H(),Ir=kr.autoSlide,Nt(),c(),bt(),tt(),ot(),at(),st(!0),it(),nt(),ft()}function et(){var e=h(xr.wrapper.querySelectorAll(br));e.forEach(function(e){var t=h(e.querySelectorAll("section"));t.forEach(function(e,t){t>0&&(e.classList.remove("present"),e.classList.remove("past"),e.classList.add("future"),e.setAttribute("aria-hidden","true"))})})}function tt(){var e=h(xr.wrapper.querySelectorAll(br));e.forEach(function(e){var t=h(e.querySelectorAll("section"));t.forEach(function(e){xt(e.querySelectorAll(".fragment"))}),0===t.length&&xt(e.querySelectorAll(".fragment"))})}function rt(e,t){var r=h(xr.wrapper.querySelectorAll(e)),n=r.length,a=E();if(n){kr.loop&&(t%=n,0>t&&(t=n+t)),t=Math.max(Math.min(t,n-1),0);for(var i=0;n>i;i++){var o=r[i],s=kr.rtl&&!B(o);if(o.classList.remove("past"),o.classList.remove("present"),o.classList.remove("future"),o.setAttribute("hidden",""),o.setAttribute("aria-hidden","true"),o.querySelector("section")&&o.classList.add("stack"),a)o.classList.add("present");else if(t>i){if(o.classList.add(s?"future":"past"),kr.fragments)for(var c=h(o.querySelectorAll(".fragment"));c.length;){var l=c.pop();l.classList.add("visible"),l.classList.remove("current-fragment")}}else if(i>t&&(o.classList.add(s?"past":"future"),kr.fragments))for(var d=h(o.querySelectorAll(".fragment.visible"));d.length;){var u=d.pop();u.classList.remove("visible"),u.classList.remove("current-fragment")}}r[t].classList.add("present"),r[t].removeAttribute("hidden"),r[t].removeAttribute("aria-hidden");var p=r[t].getAttribute("data-state");p&&(Er=Er.concat(p.split(" ")))}else t=0;return t}function nt(){var e,t,r=h(xr.wrapper.querySelectorAll(br)),n=r.length;if(n&&"undefined"!=typeof ur){var a=j()?10:kr.viewDistance;gr&&(a=j()?6:2),E()&&(a=Number.MAX_VALUE);for(var i=0;n>i;i++){var o=r[i],s=h(o.querySelectorAll("section")),c=s.length;if(e=Math.abs(((ur||0)-i)%(n-a))||0,a>e?lt(o):dt(o),c)for(var l=z(o),d=0;c>d;d++){var u=s[d];t=Math.abs(i===(ur||0)?(pr||0)-d:d-l),a>e+t?lt(u):dt(u)}}}}function at(){kr.progress&&xr.progressbar&&(xr.progressbar.style.width=gt()*xr.wrapper.offsetWidth+"px")}function it(){if(kr.slideNumber&&xr.slideNumber){var e=ur;pr>0&&(e+=" - "+pr),xr.slideNumber.innerHTML=e}}function ot(){var e=ut(),t=pt();xr.controlsLeft.concat(xr.controlsRight).concat(xr.controlsUp).concat(xr.controlsDown).concat(xr.controlsPrev).concat(xr.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&xr.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&xr.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&xr.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&xr.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&xr.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&xr.controlsNext.forEach(function(e){e.classList.add("enabled")}),vr&&(t.prev&&xr.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&xr.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),B(vr)?(t.prev&&xr.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&xr.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&xr.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&xr.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}function st(e){var t=null,r=kr.rtl?"future":"past",n=kr.rtl?"past":"future";if(h(xr.background.childNodes).forEach(function(a,i){a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),ur>i?a.classList.add(r):i>ur?a.classList.add(n):(a.classList.add("present"),t=a),(e||i===ur)&&h(a.querySelectorAll(".slide-background")).forEach(function(e,r){e.classList.remove("past"),e.classList.remove("present"),e.classList.remove("future"),pr>r?e.classList.add("past"):r>pr?e.classList.add("future"):(e.classList.add("present"),i===ur&&(t=e))})}),hr){var a=hr.querySelector("video");a&&a.pause()}if(t){var i=t.querySelector("video");i&&(i.currentTime=0,i.play());var o=hr?hr.getAttribute("data-background-hash"):null,s=t.getAttribute("data-background-hash");s&&s===o&&t!==hr&&xr.background.classList.add("no-transition"),hr=t}vr&&["has-light-background","has-dark-background"].forEach(function(e){vr.classList.contains(e)?xr.wrapper.classList.add(e):xr.wrapper.classList.remove(e)}),setTimeout(function(){xr.background.classList.remove("no-transition")},1)}function ct(){if(kr.parallaxBackgroundImage){var e,t,r=xr.wrapper.querySelectorAll(br),n=xr.wrapper.querySelectorAll(wr),a=xr.background.style.backgroundSize.split(" ");1===a.length?e=t=parseInt(a[0],10):(e=parseInt(a[0],10),t=parseInt(a[1],10));var i=xr.background.offsetWidth,o=r.length,s=-(e-i)/(o-1)*ur,c=xr.background.offsetHeight,l=n.length,d=l>1?-(t-c)/(l-1)*pr:0;xr.background.style.backgroundPosition=s+"px "+d+"px"}}function lt(e){e.style.display="block",h(e.querySelectorAll("img[data-src], video[data-src], audio[data-src], iframe[data-src]")).forEach(function(e){e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src")}),h(e.querySelectorAll("video, audio")).forEach(function(e){var t=0;h(e.querySelectorAll("source[data-src]")).forEach(function(e){e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),t+=1}),t>0&&e.load()});var t=wt(e),r=At(t.h,t.v);if(r&&(r.style.display="block",r.hasAttribute("data-loaded")===!1)){r.setAttribute("data-loaded","true");var n=e.getAttribute("data-background-image"),a=e.getAttribute("data-background-video"),i=e.getAttribute("data-background-iframe");if(n)r.style.backgroundImage="url("+n+")";else if(a&&!mt()){var o=document.createElement("video");a.split(",").forEach(function(e){o.innerHTML+='<source src="'+e+'">'}),r.appendChild(o)}else if(i){var s=document.createElement("iframe");s.setAttribute("src",i),s.style.width="100%",s.style.height="100%",s.style.maxHeight="100%",s.style.maxWidth="100%",r.appendChild(s)}}}function dt(e){e.style.display="none";var t=wt(e),r=At(t.h,t.v);r&&(r.style.display="none")}function ut(){var e=xr.wrapper.querySelectorAll(br),t=xr.wrapper.querySelectorAll(wr),r={left:ur>0||kr.loop,right:ur<e.length-1||kr.loop,up:pr>0,down:pr<t.length-1};if(kr.rtl){var n=r.left;r.left=r.right,r.right=n}return r}function pt(){if(vr&&kr.fragments){var e=vr.querySelectorAll(".fragment"),t=vr.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function ft(){h(xr.slides.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){var t=e.getAttribute("src");/enablejsapi\=1/gi.test(t)||e.setAttribute("src",t+(/\?/.test(t)?"&":"?")+"enablejsapi=1")}),h(xr.slides.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(e){var t=e.getAttribute("src");/api\=1/gi.test(t)||e.setAttribute("src",t+(/\?/.test(t)?"&":"?")+"api=1")})}function vt(e){e&&!mt()&&(h(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),h(e.querySelectorAll("iframe")).forEach(function(e){e.contentWindow.postMessage("slide:start","*")}),h(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}),h(e.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"method":"play"}',"*")}))}function ht(e){e&&e.parentNode&&(h(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),h(e.querySelectorAll("iframe")).forEach(function(e){e.contentWindow.postMessage("slide:stop","*")}),h(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),h(e.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"method":"pause"}',"*")}))}function gt(){var e=h(xr.wrapper.querySelectorAll(br)),t=Lt(),r=0;e:for(var n=0;n<e.length;n++){for(var a=e[n],i=h(a.querySelectorAll("section")),o=0;o<i.length;o++){if(i[o].classList.contains("present"))break e;r++}if(a.classList.contains("present"))break;a.classList.contains("stack")===!1&&r++}if(vr){var s=vr.querySelectorAll(".fragment");if(s.length>0){var c=vr.querySelectorAll(".fragment.visible"),l=.9;r+=c.length/s.length*l}}return r/(t-1)}function mt(){return!!window.location.search.match(/receiver/gi)}function yt(){var e=window.location.hash,t=e.slice(2).split("/"),r=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&r.length){var n;if(/^[a-zA-Z][\w:.-]*$/.test(r)&&(n=document.querySelector("#"+r)),n){var a=dr.getIndices(n);Q(a.h,a.v)}else Q(ur||0,pr||0)}else{var i=parseInt(t[0],10)||0,o=parseInt(t[1],10)||0;(i!==ur||o!==pr)&&Q(i,o)}}function bt(e){if(kr.history)if(clearTimeout(Tr),"number"==typeof e)Tr=setTimeout(bt,e);else if(vr){var t="/",r=vr.getAttribute("id");r&&(r=r.toLowerCase(),r=r.replace(/[^a-zA-Z0-9\-\_\:\.]/g,"")),"string"==typeof r&&r.length?t="/"+r:((ur>0||pr>0)&&(t+=ur),pr>0&&(t+="/"+pr)),window.location.hash=t}}function wt(e){var t,r=ur,n=pr;if(e){var a=B(e),i=a?e.parentNode:e,o=h(xr.wrapper.querySelectorAll(br));r=Math.max(o.indexOf(i),0),n=void 0,a&&(n=Math.max(h(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&vr){var s=vr.querySelectorAll(".fragment").length>0;if(s){var c=vr.querySelector(".current-fragment");t=c&&c.hasAttribute("data-fragment-index")?parseInt(c.getAttribute("data-fragment-index"),10):vr.querySelectorAll(".fragment.visible").length-1}}return{h:r,v:n,f:t}}function Lt(){return xr.wrapper.querySelectorAll(yr+":not(.stack)").length}function kt(e,t){var r=xr.wrapper.querySelectorAll(br)[e],n=r&&r.querySelectorAll("section");return n&&n.length&&"number"==typeof t?n?n[t]:void 0:r}function At(e,t){if(E()){var r=kt(e,t);if(r){var n=r.querySelector(".slide-background");if(n&&n.parentNode===r)return n}return void 0}var a=xr.wrapper.querySelectorAll(".backgrounds>.slide-background")[e],i=a&&a.querySelectorAll(".slide-background");return i&&i.length&&"number"==typeof t?i?i[t]:void 0:a}function Et(){var e=wt();return{indexh:e.h,indexv:e.v,indexf:e.f,paused:V(),overview:j()}}function St(e){if("object"==typeof e){Q(g(e.indexh),g(e.indexv),g(e.indexf));var t=g(e.paused),r=g(e.overview);
"boolean"==typeof t&&t!==V()&&K(t),"boolean"==typeof r&&r!==j()&&X(r)}}function xt(e){e=h(e);var t=[],r=[],n=[];e.forEach(function(e){if(e.hasAttribute("data-fragment-index")){var n=parseInt(e.getAttribute("data-fragment-index"),10);t[n]||(t[n]=[]),t[n].push(e)}else r.push([e])}),t=t.concat(r);var a=0;return t.forEach(function(e){e.forEach(function(e){n.push(e),e.setAttribute("data-fragment-index",a)}),a++}),n}function qt(e,t){if(vr&&kr.fragments){var r=xt(vr.querySelectorAll(".fragment"));if(r.length){if("number"!=typeof e){var n=xt(vr.querySelectorAll(".fragment.visible")).pop();e=n?parseInt(n.getAttribute("data-fragment-index")||0,10):-1}"number"==typeof t&&(e+=t);var a=[],i=[];return h(r).forEach(function(t,r){t.hasAttribute("data-fragment-index")&&(r=parseInt(t.getAttribute("data-fragment-index"),10)),e>=r?(t.classList.contains("visible")||a.push(t),t.classList.add("visible"),t.classList.remove("current-fragment"),xr.statusDiv.innerHTML=t.textContent,r===e&&t.classList.add("current-fragment")):(t.classList.contains("visible")&&i.push(t),t.classList.remove("visible"),t.classList.remove("current-fragment"))}),i.length&&q("fragmenthidden",{fragment:i[0],fragments:i}),a.length&&q("fragmentshown",{fragment:a[0],fragments:a}),ot(),at(),!(!a.length&&!i.length)}}return!1}function Mt(){return qt(null,1)}function Tt(){return qt(null,-1)}function Nt(){if(It(),vr){var e=vr.querySelector(".current-fragment"),t=e?e.getAttribute("data-autoslide"):null,r=vr.parentNode?vr.parentNode.getAttribute("data-autoslide"):null,n=vr.getAttribute("data-autoslide");Ir=t?parseInt(t,10):n?parseInt(n,10):r?parseInt(r,10):kr.autoSlide,h(vr.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&Ir&&1e3*e.duration>Ir&&(Ir=1e3*e.duration+1e3)}),!Ir||Dr||V()||j()||dr.isLastSlide()&&!pt().next&&kr.loop!==!0||(Cr=setTimeout(zt,Ir),Pr=Date.now()),mr&&mr.setPlaying(-1!==Cr)}}function It(){clearTimeout(Cr),Cr=-1}function Ct(){Ir&&!Dr&&(Dr=!0,q("autoslidepaused"),clearTimeout(Cr),mr&&mr.setPlaying(!1))}function Pt(){Ir&&Dr&&(Dr=!1,q("autoslideresumed"),Nt())}function Dt(){kr.rtl?(j()||Mt()===!1)&&ut().left&&Q(ur+1):(j()||Tt()===!1)&&ut().left&&Q(ur-1)}function Ht(){kr.rtl?(j()||Tt()===!1)&&ut().right&&Q(ur-1):(j()||Mt()===!1)&&ut().right&&Q(ur+1)}function Rt(){(j()||Tt()===!1)&&ut().up&&Q(ur,pr-1)}function Wt(){(j()||Mt()===!1)&&ut().down&&Q(ur,pr+1)}function Ot(){if(Tt()===!1)if(ut().up)Rt();else{var e;if(e=kr.rtl?h(xr.wrapper.querySelectorAll(br+".future")).pop():h(xr.wrapper.querySelectorAll(br+".past")).pop()){var t=e.querySelectorAll("section").length-1||void 0,r=ur-1;Q(r,t)}}}function zt(){Mt()===!1&&(ut().down?Wt():kr.rtl?Dt():Ht()),Nt()}function Ft(){kr.autoSlideStoppable&&Ct()}function Yt(e){e.shiftKey&&63===e.charCode&&(xr.overlay?D():P(!0))}function Xt(e){if("function"==typeof kr.keyboardCondition&&kr.keyboardCondition()===!1)return!0;var t=Dr;Ft(e);var r=document.activeElement&&"inherit"!==document.activeElement.contentEditable,n=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName);if(!(r||n||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){if(V()&&-1===[66,190,191].indexOf(e.keyCode))return!1;var a=!1;if("object"==typeof kr.keyboard)for(var i in kr.keyboard)if(parseInt(i,10)===e.keyCode){var o=kr.keyboard[i];"function"==typeof o?o.apply(null,[e]):"string"==typeof o&&"function"==typeof dr[o]&&dr[o].call(),a=!0}if(a===!1)switch(a=!0,e.keyCode){case 80:case 33:Ot();break;case 78:case 34:zt();break;case 72:case 37:Dt();break;case 76:case 39:Ht();break;case 75:case 38:Rt();break;case 74:case 40:Wt();break;case 36:Q(0);break;case 35:Q(Number.MAX_VALUE);break;case 32:j()?Y():e.shiftKey?Ot():zt();break;case 13:j()?Y():a=!1;break;case 58:case 59:case 66:case 190:case 191:K();break;case 70:U();break;case 65:kr.autoSlideStoppable&&Z(t);break;default:a=!1}a?e.preventDefault&&e.preventDefault():27!==e.keyCode&&79!==e.keyCode||!qr.transforms3d||(xr.overlay?D():X(),e.preventDefault&&e.preventDefault()),Nt()}}function jt(e){Hr.startX=e.touches[0].clientX,Hr.startY=e.touches[0].clientY,Hr.startCount=e.touches.length,2===e.touches.length&&kr.overview&&(Hr.startSpan=m({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Hr.startX,y:Hr.startY}))}function Bt(e){if(Hr.captured)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{Ft(e);var t=e.touches[0].clientX,r=e.touches[0].clientY;if(2===e.touches.length&&2===Hr.startCount&&kr.overview){var n=m({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Hr.startX,y:Hr.startY});Math.abs(Hr.startSpan-n)>Hr.threshold&&(Hr.captured=!0,n<Hr.startSpan?F():Y()),e.preventDefault()}else if(1===e.touches.length&&2!==Hr.startCount){var a=t-Hr.startX,i=r-Hr.startY;a>Hr.threshold&&Math.abs(a)>Math.abs(i)?(Hr.captured=!0,Dt()):a<-Hr.threshold&&Math.abs(a)>Math.abs(i)?(Hr.captured=!0,Ht()):i>Hr.threshold?(Hr.captured=!0,Rt()):i<-Hr.threshold&&(Hr.captured=!0,Wt()),kr.embedded?(Hr.captured||B(vr))&&e.preventDefault():e.preventDefault()}}}function Ut(){Hr.captured=!1}function $t(e){(e.pointerType===e.MSPOINTER_TYPE_TOUCH||"touch"===e.pointerType)&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],jt(e))}function _t(e){(e.pointerType===e.MSPOINTER_TYPE_TOUCH||"touch"===e.pointerType)&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],Bt(e))}function Kt(e){(e.pointerType===e.MSPOINTER_TYPE_TOUCH||"touch"===e.pointerType)&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],Ut(e))}function Vt(e){if(Date.now()-Mr>600){Mr=Date.now();var t=e.detail||-e.wheelDelta;t>0?zt():Ot()}}function Zt(e){Ft(e),e.preventDefault();var t=h(xr.wrapper.querySelectorAll(br)).length,r=Math.floor(e.clientX/xr.wrapper.offsetWidth*t);Q(r)}function Jt(e){e.preventDefault(),Ft(),Dt()}function Qt(e){e.preventDefault(),Ft(),Ht()}function Gt(e){e.preventDefault(),Ft(),Rt()}function er(e){e.preventDefault(),Ft(),Wt()}function tr(e){e.preventDefault(),Ft(),Ot()}function rr(e){e.preventDefault(),Ft(),zt()}function nr(){yt()}function ar(){H()}function ir(){var e=document.webkitHidden||document.msHidden||document.hidden;e===!1&&document.activeElement!==document.body&&(document.activeElement.blur(),document.body.focus())}function or(e){if(Nr&&j()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(Y(),t.nodeName.match(/section/gi))){var r=parseInt(t.getAttribute("data-index-h"),10),n=parseInt(t.getAttribute("data-index-v"),10);Q(r,n)}}}function sr(e){if(e.currentTarget&&e.currentTarget.hasAttribute("href")){var t=e.currentTarget.getAttribute("href");t&&(C(t),e.preventDefault())}}function cr(){dr.isLastSlide()&&kr.loop===!1?(Q(0,0),Pt()):Dr?Pt():Ct()}function lr(e,t){this.diameter=50,this.thickness=3,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=e,this.progressCheck=t,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}var dr,ur,pr,fr,vr,hr,gr,mr,yr=".slides section",br=".slides>section",wr=".slides>section.present>section",Lr=".slides>section:first-of-type",kr={width:960,height:700,margin:.1,minScale:.2,maxScale:1.5,controls:!0,progress:!0,slideNumber:!1,history:!1,keyboard:!0,keyboardCondition:null,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,embedded:!1,help:!0,pause:!0,autoSlide:0,autoSlideStoppable:!0,mouseWheel:!1,rollingLinks:!1,hideAddressBar:!0,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",viewDistance:3,dependencies:[]},Ar=!1,Er=[],Sr=1,xr={},qr={},Mr=0,Tr=0,Nr=!1,Ir=0,Cr=0,Pr=-1,Dr=!1,Hr={startX:0,startY:0,startSpan:0,startCount:0,captured:!1,threshold:40},Rr={"N  ,  SPACE":"Next slide",P:"Previous slide","&#8592;  ,  H":"Navigate left","&#8594;  ,  L":"Navigate right","&#8593;  ,  K":"Navigate up","&#8595;  ,  J":"Navigate down",Home:"First slide",End:"Last slide","B  ,  .":"Pause",F:"Fullscreen","ESC, O":"Slide overview"};return lr.prototype.setPlaying=function(e){var t=this.playing;this.playing=e,!t&&this.playing?this.animate():this.render()},lr.prototype.animate=function(){var e=this.progress;this.progress=this.progressCheck(),e>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&qr.requestAnimationFrameMethod.call(window,this.animate.bind(this))},lr.prototype.render=function(){var e=this.playing?this.progress:0,t=this.diameter/2-this.thickness,r=this.diameter/2,n=this.diameter/2,a=14;this.progressOffset+=.1*(1-this.progressOffset);var i=-Math.PI/2+2*e*Math.PI,o=-Math.PI/2+2*this.progressOffset*Math.PI;this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(r,n,t+2,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(r,n,t,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#666",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(r,n,t,o,i,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(r-a/2,n-a/2),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,a/2-2,a),this.context.fillRect(a/2+2,0,a/2-2,a)):(this.context.beginPath(),this.context.translate(2,0),this.context.moveTo(0,0),this.context.lineTo(a-2,a/2),this.context.lineTo(0,a),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()},lr.prototype.on=function(e,t){this.canvas.addEventListener(e,t,!1)},lr.prototype.off=function(e,t){this.canvas.removeEventListener(e,t,!1)},lr.prototype.destroy=function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)},dr={initialize:e,configure:u,sync:G,slide:Q,left:Dt,right:Ht,up:Rt,down:Wt,prev:Ot,next:zt,navigateFragment:qt,prevFragment:Tt,nextFragment:Mt,navigateTo:Q,navigateLeft:Dt,navigateRight:Ht,navigateUp:Rt,navigateDown:Wt,navigatePrev:Ot,navigateNext:zt,layout:H,availableRoutes:ut,availableFragments:pt,toggleOverview:X,togglePause:K,toggleAutoSlide:Z,isOverview:j,isPaused:V,isAutoSliding:J,addEventListeners:p,removeEventListeners:f,getState:Et,setState:St,getProgress:gt,getIndices:wt,getTotalSlides:Lt,getSlide:kt,getSlideBackground:At,getPreviousSlide:function(){return fr},getCurrentSlide:function(){return vr},getScale:function(){return Sr},getConfig:function(){return kr},getQueryHash:function(){var e={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()});for(var t in e){var r=e[t];e[t]=g(unescape(r))}return e},isFirstSlide:function(){return 0===ur&&0===pr},isLastSlide:function(){return vr?vr.nextElementSibling?!1:B(vr)&&vr.parentNode.nextElementSibling?!1:!0:!1},isReady:function(){return Ar},addEventListener:function(e,t,r){"addEventListener"in window&&(xr.wrapper||document.querySelector(".reveal")).addEventListener(e,t,r)},removeEventListener:function(e,t,r){"addEventListener"in window&&(xr.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,r)},triggerKey:function(e){Xt({keyCode:e})}}});