text: /*!
   * reveal.js 3.0.0 (2017-02-25, 23:13)
   * http://lab.hakim.se/reveal-js
   * MIT licensed
   *
   * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
   */
  !function(a,b){"function"==typeof define&&define.amd?define(function(){return a.Reveal=b(),a.Reveal}):"object"==typeof exports?module.exports=b():a.Reveal=b()}(this,function(){"use strict";function a(a){if(b(),Bb.transforms2d||Bb.transforms3d){Ab.wrapper=document.querySelector(".reveal"),Ab.slides=document.querySelector(".reveal .slides"),window.addEventListener("load",J,!1);var d=kb.getQueryHash();"undefined"!=typeof d.dependencies&&delete d.dependencies,o(wb,a),o(wb,d),z(),c()}else{document.body.setAttribute("class","no-transforms");for(var e=document.getElementsByTagName("img"),f=0,g=e.length;g>f;f++){var h=e[f];h.getAttribute("data-src")&&(h.setAttribute("src",h.getAttribute("data-src")),h.removeAttribute("data-src"))}}}function b(){Bb.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,Bb.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,Bb.requestAnimationFrameMethod=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,Bb.requestAnimationFrame="function"==typeof Bb.requestAnimationFrameMethod,Bb.canvas=!!document.createElement("canvas").getContext,Bb.touch=!!("ontouchstart"in window),qb=navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)}function c(){function a(){e.length&&head.js.apply(null,e),d()}function b(b){head.ready(b.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],function(){"function"==typeof b.callback&&b.callback.apply(this),0===--f&&a()})}for(var c=[],e=[],f=0,g=0,h=wb.dependencies.length;h>g;g++){var i=wb.dependencies[g];(!i.condition||i.condition())&&(i.async?e.push(i.src):c.push(i.src),b(i))}c.length?(f=c.length,head.js.apply(null,c)):a()}function d(){e(),k(),aa(),l(),sa(),ha(!0),setTimeout(function(){Ab.slides.classList.remove("no-transition"),xb=!0,B("ready",{indexh:lb,indexv:mb,currentSlide:ob})},1),y()&&(n(),"complete"===document.readyState?g():window.addEventListener("load",g))}function e(){Ab.slides.classList.add("no-transition"),Ab.background=h(Ab.wrapper,"div","backgrounds",null),Ab.progress=h(Ab.wrapper,"div","progress","<span></span>"),Ab.progressbar=Ab.progress.querySelector("span"),h(Ab.wrapper,"aside","controls",'<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>'),Ab.slideNumber=h(Ab.wrapper,"div","slide-number",""),h(Ab.wrapper,"div","pause-overlay",null),Ab.controls=document.querySelector(".reveal .controls"),Ab.theme=document.querySelector("#theme"),Ab.wrapper.setAttribute("role","application"),Ab.controlsLeft=p(document.querySelectorAll(".navigate-left")),Ab.controlsRight=p(document.querySelectorAll(".navigate-right")),Ab.controlsUp=p(document.querySelectorAll(".navigate-up")),Ab.controlsDown=p(document.querySelectorAll(".navigate-down")),Ab.controlsPrev=p(document.querySelectorAll(".navigate-prev")),Ab.controlsNext=p(document.querySelectorAll(".navigate-next")),Ab.statusDiv=f()}function f(){var a=document.getElementById("aria-status-div");return a||(a=document.createElement("div"),a.style.position="absolute",a.style.height="1px",a.style.width="1px",a.style.overflow="hidden",a.style.clip="rect( 1px, 1px, 1px, 1px )",a.setAttribute("id","aria-status-div"),a.setAttribute("aria-live","polite"),a.setAttribute("aria-atomic","true"),Ab.wrapper.appendChild(a)),a}function g(){var a=L(window.innerWidth,window.innerHeight),b=Math.floor(a.width*(1+wb.margin)),c=Math.floor(a.height*(1+wb.margin)),d=a.width,e=a.height;t("@page{size:"+b+"px "+c+"px; margin: 0;}"),t(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+d+"px; max-height:"+e+"px}"),document.body.classList.add("print-pdf"),document.body.style.width=b+"px",document.body.style.height=c+"px",p(Ab.wrapper.querySelectorAll(sb)).forEach(function(a){if(a.classList.contains("stack")===!1){var f=(b-d)/2,g=(c-e)/2,h=w(a),i=Math.max(Math.ceil(h/c),1);(1===i&&wb.center||a.classList.contains("center"))&&(g=Math.max((c-h)/2,0)),a.style.left=f+"px",a.style.top=g+"px",a.style.width=d+"px";var j=a.querySelector(".slide-background");j&&(j.style.width=b+"px",j.style.height=c*i+"px",j.style.top=-g+"px",j.style.left=-f+"px")}}),p(Ab.wrapper.querySelectorAll(sb+" .fragment")).forEach(function(a){a.classList.add("visible")})}function h(a,b,c,d){for(var e=a.querySelectorAll("."+c),f=0;f<e.length;f++){var g=e[f];if(g.parentNode===a)return g}var h=document.createElement(b);return h.classList.add(c),"string"==typeof d&&(h.innerHTML=d),a.appendChild(h),h}function i(){var a=y();Ab.background.innerHTML="",Ab.background.classList.add("no-transition"),p(Ab.wrapper.querySelectorAll(tb)).forEach(function(b){var c;c=a?j(b,b):j(b,Ab.background),p(b.querySelectorAll("section")).forEach(function(b){a?j(b,b):j(b,c),c.classList.add("stack")})}),wb.parallaxBackgroundImage?(Ab.background.style.backgroundImage='url("'+wb.parallaxBackgroundImage+'")',Ab.background.style.backgroundSize=wb.parallaxBackgroundSize,setTimeout(function(){Ab.wrapper.classList.add("has-parallax-background")},1)):(Ab.background.style.backgroundImage="",Ab.wrapper.classList.remove("has-parallax-background"))}function j(a,b){var c={background:a.getAttribute("data-background"),backgroundSize:a.getAttribute("data-background-size"),backgroundImage:a.getAttribute("data-background-image"),backgroundVideo:a.getAttribute("data-background-video"),backgroundIframe:a.getAttribute("data-background-iframe"),backgroundColor:a.getAttribute("data-background-color"),backgroundRepeat:a.getAttribute("data-background-repeat"),backgroundPosition:a.getAttribute("data-background-position"),backgroundTransition:a.getAttribute("data-background-transition")},d=document.createElement("div");d.className="slide-background "+a.className.replace(/present|past|future/,""),c.background&&(/^(http|file|\/\/)/gi.test(c.background)||/\.(svg|png|jpg|jpeg|gif|bmp)$/gi.test(c.background)?a.setAttribute("data-background-image",c.background):d.style.background=c.background),(c.background||c.backgroundColor||c.backgroundImage||c.backgroundVideo||c.backgroundIframe)&&d.setAttribute("data-background-hash",c.background+c.backgroundSize+c.backgroundImage+c.backgroundVideo+c.backgroundIframe+c.backgroundColor+c.backgroundRepeat+c.backgroundPosition+c.backgroundTransition),c.backgroundSize&&(d.style.backgroundSize=c.backgroundSize),c.backgroundColor&&(d.style.backgroundColor=c.backgroundColor),c.backgroundRepeat&&(d.style.backgroundRepeat=c.backgroundRepeat),c.backgroundPosition&&(d.style.backgroundPosition=c.backgroundPosition),c.backgroundTransition&&d.setAttribute("data-background-transition",c.backgroundTransition),b.appendChild(d),a.classList.remove("has-dark-background"),a.classList.remove("has-light-background");var e=window.getComputedStyle(d).backgroundColor;if(e){var f=u(e);f&&0!==f.a&&a.classList.add(v(e)<128?"has-dark-background":"has-light-background")}return d}function k(){wb.postMessage&&window.addEventListener("message",function(a){var b=a.data;"{"===b.charAt(0)&&"}"===b.charAt(b.length-1)&&(b=JSON.parse(b),b.method&&"function"==typeof kb[b.method]&&kb[b.method].apply(kb,b.args))},!1)}function l(a){var b=Ab.wrapper.querySelectorAll(sb).length;Ab.wrapper.classList.remove(wb.transition),"object"==typeof a&&o(wb,a),Bb.transforms3d===!1&&(wb.transition="linear"),Ab.wrapper.classList.add(wb.transition),Ab.wrapper.setAttribute("data-transition-speed",wb.transitionSpeed),Ab.wrapper.setAttribute("data-background-transition",wb.backgroundTransition),Ab.controls.style.display=wb.controls?"block":"none",Ab.progress.style.display=wb.progress?"block":"none",wb.rtl?Ab.wrapper.classList.add("rtl"):Ab.wrapper.classList.remove("rtl"),wb.center?Ab.wrapper.classList.add("center"):Ab.wrapper.classList.remove("center"),wb.pause===!1&&V(),wb.mouseWheel?(document.addEventListener("DOMMouseScroll",Xa,!1),document.addEventListener("mousewheel",Xa,!1)):(document.removeEventListener("DOMMouseScroll",Xa,!1),document.removeEventListener("mousewheel",Xa,!1)),wb.rollingLinks?C():D(),wb.previewLinks?E():(F(),E("[data-preview-link]")),rb&&(rb.destroy(),rb=null),b>1&&wb.autoSlide&&wb.autoSlideStoppable&&Bb.canvas&&Bb.requestAnimationFrame&&(rb=new jb(Ab.wrapper,function(){return Math.min(Math.max((Date.now()-Hb)/Fb,0),1)}),rb.on("click",ib),Ib=!1),wb.fragments===!1&&p(Ab.slides.querySelectorAll(".fragment")).forEach(function(a){a.classList.add("visible"),a.classList.remove("current-fragment")}),_()}function m(){if(Eb=!0,window.addEventListener("hashchange",db,!1),window.addEventListener("resize",eb,!1),wb.touch&&(Ab.wrapper.addEventListener("touchstart",Ra,!1),Ab.wrapper.addEventListener("touchmove",Sa,!1),Ab.wrapper.addEventListener("touchend",Ta,!1),window.navigator.pointerEnabled?(Ab.wrapper.addEventListener("pointerdown",Ua,!1),Ab.wrapper.addEventListener("pointermove",Va,!1),Ab.wrapper.addEventListener("pointerup",Wa,!1)):window.navigator.msPointerEnabled&&(Ab.wrapper.addEventListener("MSPointerDown",Ua,!1),Ab.wrapper.addEventListener("MSPointerMove",Va,!1),Ab.wrapper.addEventListener("MSPointerUp",Wa,!1))),wb.keyboard&&(document.addEventListener("keydown",Qa,!1),document.addEventListener("keypress",Pa,!1)),wb.progress&&Ab.progress&&Ab.progress.addEventListener("click",Ya,!1),wb.focusBodyOnPageVisibilityChange){var a;"hidden"in document?a="visibilitychange":"msHidden"in document?a="msvisibilitychange":"webkitHidden"in document&&(a="webkitvisibilitychange"),a&&document.addEventListener(a,fb,!1)}var b=["touchstart","click"];navigator.userAgent.match(/android/gi)&&(b=["touchstart"]),b.forEach(function(a){Ab.controlsLeft.forEach(function(b){b.addEventListener(a,Za,!1)}),Ab.controlsRight.forEach(function(b){b.addEventListener(a,$a,!1)}),Ab.controlsUp.forEach(function(b){b.addEventListener(a,_a,!1)}),Ab.controlsDown.forEach(function(b){b.addEventListener(a,ab,!1)}),Ab.controlsPrev.forEach(function(b){b.addEventListener(a,bb,!1)}),Ab.controlsNext.forEach(function(b){b.addEventListener(a,cb,!1)})})}function n(){Eb=!1,document.removeEventListener("keydown",Qa,!1),document.removeEventListener("keypress",Pa,!1),window.removeEventListener("hashchange",db,!1),window.removeEventListener("resize",eb,!1),Ab.wrapper.removeEventListener("touchstart",Ra,!1),Ab.wrapper.removeEventListener("touchmove",Sa,!1),Ab.wrapper.removeEventListener("touchend",Ta,!1),window.navigator.pointerEnabled?(Ab.wrapper.removeEventListener("pointerdown",Ua,!1),Ab.wrapper.removeEventListener("pointermove",Va,!1),Ab.wrapper.removeEventListener("pointerup",Wa,!1)):window.navigator.msPointerEnabled&&(Ab.wrapper.removeEventListener("MSPointerDown",Ua,!1),Ab.wrapper.removeEventListener("MSPointerMove",Va,!1),Ab.wrapper.removeEventListener("MSPointerUp",Wa,!1)),wb.progress&&Ab.progress&&Ab.progress.removeEventListener("click",Ya,!1),["touchstart","click"].forEach(function(a){Ab.controlsLeft.forEach(function(b){b.removeEventListener(a,Za,!1)}),Ab.controlsRight.forEach(function(b){b.removeEventListener(a,$a,!1)}),Ab.controlsUp.forEach(function(b){b.removeEventListener(a,_a,!1)}),Ab.controlsDown.forEach(function(b){b.removeEventListener(a,ab,!1)}),Ab.controlsPrev.forEach(function(b){b.removeEventListener(a,bb,!1)}),Ab.controlsNext.forEach(function(b){b.removeEventListener(a,cb,!1)})})}function o(a,b){for(var c in b)a[c]=b[c]}function p(a){return Array.prototype.slice.call(a)}function q(a){if("string"==typeof a){if("null"===a)return null;if("true"===a)return!0;if("false"===a)return!1;if(a.match(/^\d+$/))return parseFloat(a)}return a}function r(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function s(a,b){a.style.WebkitTransform=b,a.style.MozTransform=b,a.style.msTransform=b,a.style.OTransform=b,a.style.transform=b}function t(a){var b=document.createElement("style");b.type="text/css",b.styleSheet?b.styleSheet.cssText=a:b.appendChild(document.createTextNode(a)),document.getElementsByTagName("head")[0].appendChild(b)}function u(a){var b=a.match(/^#([0-9a-f]{3})$/i);if(b&&b[1])return b=b[1],{r:17*parseInt(b.charAt(0),16),g:17*parseInt(b.charAt(1),16),b:17*parseInt(b.charAt(2),16)};var c=a.match(/^#([0-9a-f]{6})$/i);if(c&&c[1])return c=c[1],{r:parseInt(c.substr(0,2),16),g:parseInt(c.substr(2,2),16),b:parseInt(c.substr(4,2),16)};var d=a.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(d)return{r:parseInt(d[1],10),g:parseInt(d[2],10),b:parseInt(d[3],10)};var e=a.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return e?{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10),a:parseFloat(e[4])}:null}function v(a){return"string"==typeof a&&(a=u(a)),a?(299*a.r+587*a.g+114*a.b)/1e3:null}function w(a){var b=0;if(a){var c=0;p(a.childNodes).forEach(function(a){"number"==typeof a.offsetTop&&a.style&&("absolute"===window.getComputedStyle(a).position&&(c+=1),b=Math.max(b,a.offsetTop+a.offsetHeight))}),0===c&&(b=a.offsetHeight)}return b}function x(a,b){if(b=b||0,a){var c,d=a.style.height;return a.style.height="0px",c=b-a.parentNode.offsetHeight,a.style.height=d+"px",c}return b}function y(){return/print-pdf/gi.test(window.location.search)}function z(){wb.hideAddressBar&&qb&&(window.addEventListener("load",A,!1),window.addEventListener("orientationchange",A,!1))}function A(){setTimeout(function(){window.scrollTo(0,1)},10)}function B(a,b){var c=document.createEvent("HTMLEvents",1,2);c.initEvent(a,!0,!0),o(c,b),Ab.wrapper.dispatchEvent(c),wb.postMessageEvents&&window.parent!==window.self&&window.parent.postMessage(JSON.stringify({namespace:"reveal",eventName:a,state:ya()}),"*")}function C(){if(Bb.transforms3d&&!("msPerspective"in document.body.style))for(var a=Ab.wrapper.querySelectorAll(sb+" a"),b=0,c=a.length;c>b;b++){var d=a[b];if(!(!d.textContent||d.querySelector("*")||d.className&&d.classList.contains(d,"roll"))){var e=document.createElement("span");e.setAttribute("data-title",d.text),e.innerHTML=d.innerHTML,d.classList.add("roll"),d.innerHTML="",d.appendChild(e)}}}function D(){for(var a=Ab.wrapper.querySelectorAll(sb+" a.roll"),b=0,c=a.length;c>b;b++){var d=a[b],e=d.querySelector("span");e&&(d.classList.remove("roll"),d.innerHTML=e.innerHTML)}}function E(a){var b=p(document.querySelectorAll(a?a:"a"));b.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.addEventListener("click",hb,!1)})}function F(){var a=p(document.querySelectorAll("a"));a.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.removeEventListener("click",hb,!1)})}function G(a){I(),Ab.overlay=document.createElement("div"),Ab.overlay.classList.add("overlay"),Ab.overlay.classList.add("overlay-preview"),Ab.wrapper.appendChild(Ab.overlay),Ab.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>','<a class="external" href="'+a+'" target="_blank"><span class="icon"></span></a>',"</header>",'<div class="spinner"></div>','<div class="viewport">','<iframe src="'+a+'"></iframe>',"</div>"].join(""),Ab.overlay.querySelector("iframe").addEventListener("load",function(a){Ab.overlay.classList.add("loaded")},!1),Ab.overlay.querySelector(".close").addEventListener("click",function(a){I(),a.preventDefault()},!1),Ab.overlay.querySelector(".external").addEventListener("click",function(a){I()},!1),setTimeout(function(){Ab.overlay.classList.add("visible")},1)}function H(){if(wb.help){I(),Ab.overlay=document.createElement("div"),Ab.overlay.classList.add("overlay"),Ab.overlay.classList.add("overlay-help"),Ab.wrapper.appendChild(Ab.overlay);var a='<p class="title">Keyboard Shortcuts</p><br/>';a+="<table><th>KEY</th><th>ACTION</th>";for(var b in Kb)a+="<tr><td>"+b+"</td><td>"+Kb[b]+"</td></tr>";a+="</table>",Ab.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>',"</header>",'<div class="viewport">','<div class="viewport-inner">'+a+"</div>","</div>"].join(""),Ab.overlay.querySelector(".close").addEventListener("click",function(a){I(),a.preventDefault()},!1),setTimeout(function(){Ab.overlay.classList.add("visible")},1)}}function I(){Ab.overlay&&(Ab.overlay.parentNode.removeChild(Ab.overlay),Ab.overlay=null)}function J(){if(Ab.wrapper&&!y()){var a=L(),b=20;K(wb.width,wb.height,b),Ab.slides.style.width=a.width+"px",Ab.slides.style.height=a.height+"px",zb=Math.min(a.presentationWidth/a.width,a.presentationHeight/a.height),zb=Math.max(zb,wb.minScale),zb=Math.min(zb,wb.maxScale),1===zb?(Ab.slides.style.zoom="",Ab.slides.style.left="",Ab.slides.style.top="",Ab.slides.style.bottom="",Ab.slides.style.right="",s(Ab.slides,"")):!qb&&/chrome/i.test(navigator.userAgent)&&"undefined"!=typeof Ab.slides.style.zoom?Ab.slides.style.zoom=zb:(Ab.slides.style.left="50%",Ab.slides.style.top="50%",Ab.slides.style.bottom="auto",Ab.slides.style.right="auto",s(Ab.slides,"translate(-50%, -50%) scale("+zb+")"));for(var c=p(Ab.wrapper.querySelectorAll(sb)),d=0,e=c.length;e>d;d++){var f=c[d];"none"!==f.style.display&&(wb.center||f.classList.contains("center")?f.classList.contains("stack")?f.style.top=0:f.style.top=Math.max((a.height-w(f))/2-b,0)+"px":f.style.top="")}ea(),ia()}}function K(a,b,c){p(Ab.slides.querySelectorAll("section > .stretch")).forEach(function(c){var d=x(c,b);if(/(img|video)/gi.test(c.nodeName)){var e=c.naturalWidth||c.videoWidth,f=c.naturalHeight||c.videoHeight,g=Math.min(a/e,d/f);c.style.width=e*g+"px",c.style.height=f*g+"px"}else c.style.width=a+"px",c.style.height=d+"px"})}function L(a,b){var c={width:wb.width,height:wb.height,presentationWidth:a||Ab.wrapper.offsetWidth,presentationHeight:b||Ab.wrapper.offsetHeight};return c.presentationWidth-=c.presentationHeight*wb.margin,c.presentationHeight-=c.presentationHeight*wb.margin,"string"==typeof c.width&&/%$/.test(c.width)&&(c.width=parseInt(c.width,10)/100*c.presentationWidth),"string"==typeof c.height&&/%$/.test(c.height)&&(c.height=parseInt(c.height,10)/100*c.presentationHeight),c}function M(a,b){"object"==typeof a&&"function"==typeof a.setAttribute&&a.setAttribute("data-previous-indexv",b||0)}function N(a){if("object"==typeof a&&"function"==typeof a.setAttribute&&a.classList.contains("stack")){var b=a.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(a.getAttribute(b)||0,10)}return 0}function O(){if(wb.overview){Fa();var a=Ab.wrapper.classList.contains("overview"),b=window.innerWidth<400?1e3:2500;Ab.wrapper.classList.add("overview"),Ab.wrapper.classList.remove("overview-deactivating");for(var c=Ab.wrapper.querySelectorAll(tb),d=0,e=c.length;e>d;d++){var f=c[d],g=wb.rtl?-105:105;if(f.setAttribute("data-index-h",d),s(f,"translateZ(-"+b+"px) translate("+(d-lb)*g+"%, 0%)"),f.classList.contains("stack"))for(var h=f.querySelectorAll("section"),i=0,j=h.length;j>i;i++){var k=d===lb?mb:N(f),l=h[i];l.setAttribute("data-index-h",d),l.setAttribute("data-index-v",i),s(l,"translate(0%, "+105*(i-k)+"%)"),l.addEventListener("click",gb,!0)}else f.addEventListener("click",gb,!0)}da(),J(),a||B("overviewshown",{indexh:lb,indexv:mb,currentSlide:ob})}}function P(){wb.overview&&(Ab.wrapper.classList.remove("overview"),Ab.wrapper.classList.add("overview-deactivating"),setTimeout(function(){Ab.wrapper.classList.remove("overview-deactivating")},1),p(Ab.wrapper.querySelectorAll(sb)).forEach(function(a){s(a,""),a.removeEventListener("click",gb,!0)}),$(lb,mb),Ea(),B("overviewhidden",{indexh:lb,indexv:mb,currentSlide:ob}))}function Q(a){"boolean"==typeof a?a?O():P():R()?P():O()}function R(){return Ab.wrapper.classList.contains("overview")}function S(a){return a=a?a:ob,a&&a.parentNode&&!!a.parentNode.nodeName.match(/section/i)}function T(){var a=document.body,b=a.requestFullScreen||a.webkitRequestFullscreen||a.webkitRequestFullScreen||a.mozRequestFullScreen||a.msRequestFullscreen;b&&b.apply(a)}function U(){if(wb.pause){var a=Ab.wrapper.classList.contains("paused");Fa(),Ab.wrapper.classList.add("paused"),a===!1&&B("paused")}}function V(){var a=Ab.wrapper.classList.contains("paused");Ab.wrapper.classList.remove("paused"),Ea(),a&&B("resumed")}function W(a){"boolean"==typeof a?a?U():V():X()?V():U()}function X(){return Ab.wrapper.classList.contains("paused")}function Y(a){"boolean"==typeof a?a?Ha():Ga():Ib?Ha():Ga()}function Z(){return!(!Fb||Ib)}function $(a,b,c,d){nb=ob;var e=Ab.wrapper.querySelectorAll(tb);void 0===b&&(b=N(e[a])),nb&&nb.parentNode&&nb.parentNode.classList.contains("stack")&&M(nb.parentNode,mb);var f=yb.concat();yb.length=0;var g=lb||0,h=mb||0;lb=ca(tb,void 0===a?lb:a),mb=ca(ub,void 0===b?mb:b),da(),J();a:for(var i=0,j=yb.length;j>i;i++){for(var k=0;k<f.length;k++)if(f[k]===yb[i]){f.splice(k,1);continue a}document.documentElement.classList.add(yb[i]),B(yb[i])}for(;f.length;)document.documentElement.classList.remove(f.pop());R()&&O();var l=e[lb],m=l.querySelectorAll("section");ob=m[mb]||l,"undefined"!=typeof c&&Ba(c);var n=lb!==g||mb!==h;n?B("slidechanged",{indexh:lb,indexv:mb,previousSlide:nb,currentSlide:ob,origin:d}):nb=null,nb&&(nb.classList.remove("present"),nb.setAttribute("aria-hidden","true"),Ab.wrapper.querySelector(vb).classList.contains("present")&&setTimeout(function(){var a,b=p(Ab.wrapper.querySelectorAll(tb+".stack"));for(a in b)b[a]&&M(b[a],0)},0)),(n||!nb)&&(pa(nb),oa(ob)),Ab.statusDiv.textContent=ob.textContent,ga(),ea(),ha(),ia(),fa(),ta(),Ea()}function _(){n(),m(),J(),Fb=wb.autoSlide,Ea(),i(),ta(),ba(),ga(),ea(),ha(!0),fa(),da(),na()}function aa(){var a=p(Ab.wrapper.querySelectorAll(tb));a.forEach(function(a){var b=p(a.querySelectorAll("section"));b.forEach(function(a,b){b>0&&(a.classList.remove("present"),a.classList.remove("past"),a.classList.add("future"),a.setAttribute("aria-hidden","true"))})})}function ba(){var a=p(Ab.wrapper.querySelectorAll(tb));a.forEach(function(a){var b=p(a.querySelectorAll("section"));b.forEach(function(a,b){Aa(a.querySelectorAll(".fragment"))}),0===b.length&&Aa(a.querySelectorAll(".fragment"))})}function ca(a,b){var c=p(Ab.wrapper.querySelectorAll(a)),d=c.length,e=y();if(d){wb.loop&&(b%=d,0>b&&(b=d+b)),b=Math.max(Math.min(b,d-1),0);for(var f=0;d>f;f++){var g=c[f],h=wb.rtl&&!S(g);if(g.classList.remove("past"),g.classList.remove("present"),g.classList.remove("future"),g.setAttribute("hidden",""),g.setAttribute("aria-hidden","true"),g.querySelector("section")&&g.classList.add("stack"),e)g.classList.add("present");else if(b>f){if(g.classList.add(h?"future":"past"),wb.fragments)for(var i=p(g.querySelectorAll(".fragment"));i.length;){var j=i.pop();j.classList.add("visible"),j.classList.remove("current-fragment")}}else if(f>b&&(g.classList.add(h?"past":"future"),wb.fragments))for(var k=p(g.querySelectorAll(".fragment.visible"));k.length;){var l=k.pop();l.classList.remove("visible"),l.classList.remove("current-fragment")}}c[b].classList.add("present"),c[b].removeAttribute("hidden"),c[b].removeAttribute("aria-hidden");var m=c[b].getAttribute("data-state");m&&(yb=yb.concat(m.split(" ")))}else b=0;return b}function da(){var a,b,c=p(Ab.wrapper.querySelectorAll(tb)),d=c.length;if(d&&"undefined"!=typeof lb){var e=R()?10:wb.viewDistance;qb&&(e=R()?6:2),y()&&(e=Number.MAX_VALUE);for(var f=0;d>f;f++){var g=c[f],h=p(g.querySelectorAll("section")),i=h.length;if(a=Math.abs(((lb||0)-f)%(d-e))||0,e>a?ja(g):ka(g),i)for(var j=N(g),k=0;i>k;k++){var l=h[k];b=Math.abs(f===(lb||0)?(mb||0)-k:k-j),e>a+b?ja(l):ka(l)}}}}function ea(){wb.progress&&Ab.progressbar&&(Ab.progressbar.style.width=qa()*Ab.wrapper.offsetWidth+"px")}function fa(){if(wb.slideNumber&&Ab.slideNumber){var a=lb;mb>0&&(a+=" - "+mb),Ab.slideNumber.innerHTML=a}}function ga(){var a=la(),b=ma();Ab.controlsLeft.concat(Ab.controlsRight).concat(Ab.controlsUp).concat(Ab.controlsDown).concat(Ab.controlsPrev).concat(Ab.controlsNext).forEach(function(a){a.classList.remove("enabled"),a.classList.remove("fragmented")}),a.left&&Ab.controlsLeft.forEach(function(a){a.classList.add("enabled")}),a.right&&Ab.controlsRight.forEach(function(a){a.classList.add("enabled")}),a.up&&Ab.controlsUp.forEach(function(a){a.classList.add("enabled")}),a.down&&Ab.controlsDown.forEach(function(a){a.classList.add("enabled")}),(a.left||a.up)&&Ab.controlsPrev.forEach(function(a){a.classList.add("enabled")}),(a.right||a.down)&&Ab.controlsNext.forEach(function(a){a.classList.add("enabled")}),ob&&(b.prev&&Ab.controlsPrev.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ab.controlsNext.forEach(function(a){a.classList.add("fragmented","enabled")}),S(ob)?(b.prev&&Ab.controlsUp.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ab.controlsDown.forEach(function(a){a.classList.add("fragmented","enabled")})):(b.prev&&Ab.controlsLeft.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ab.controlsRight.forEach(function(a){a.classList.add("fragmented","enabled")})))}function ha(a){var b=null,c=wb.rtl?"future":"past",d=wb.rtl?"past":"future";if(p(Ab.background.childNodes).forEach(function(e,f){e.classList.remove("past"),e.classList.remove("present"),e.classList.remove("future"),lb>f?e.classList.add(c):f>lb?e.classList.add(d):(e.classList.add("present"),b=e),(a||f===lb)&&p(e.querySelectorAll(".slide-background")).forEach(function(a,c){a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),mb>c?a.classList.add("past"):c>mb?a.classList.add("future"):(a.classList.add("present"),f===lb&&(b=a))})}),pb){var e=pb.querySelector("video");e&&e.pause()}if(b){var f=b.querySelector("video");f&&(f.currentTime=0,f.play());var g=pb?pb.getAttribute("data-background-hash"):null,h=b.getAttribute("data-background-hash");h&&h===g&&b!==pb&&Ab.background.classList.add("no-transition"),pb=b}ob&&["has-light-background","has-dark-background"].forEach(function(a){ob.classList.contains(a)?Ab.wrapper.classList.add(a):Ab.wrapper.classList.remove(a)}),setTimeout(function(){Ab.background.classList.remove("no-transition")},1)}function ia(){if(wb.parallaxBackgroundImage){var a,b,c=Ab.wrapper.querySelectorAll(tb),d=Ab.wrapper.querySelectorAll(ub),e=Ab.background.style.backgroundSize.split(" ");1===e.length?a=b=parseInt(e[0],10):(a=parseInt(e[0],10),b=parseInt(e[1],10));var f=Ab.background.offsetWidth,g=c.length,h=-(a-f)/(g-1)*lb,i=Ab.background.offsetHeight,j=d.length,k=j>1?-(b-i)/(j-1)*mb:0;Ab.background.style.backgroundPosition=h+"px "+k+"px"}}function ja(a){a.style.display="block",p(a.querySelectorAll("img[data-src], video[data-src], audio[data-src], iframe[data-src]")).forEach(function(a){a.setAttribute("src",a.getAttribute("data-src")),a.removeAttribute("data-src")}),p(a.querySelectorAll("video, audio")).forEach(function(a){var b=0;p(a.querySelectorAll("source[data-src]")).forEach(function(a){a.setAttribute("src",a.getAttribute("data-src")),a.removeAttribute("data-src"),b+=1}),b>0&&a.load()});var b=ua(a),c=xa(b.h,b.v);if(c&&(c.style.display="block",c.hasAttribute("data-loaded")===!1)){c.setAttribute("data-loaded","true");var d=a.getAttribute("data-background-image"),e=a.getAttribute("data-background-video"),f=a.getAttribute("data-background-iframe");if(d)c.style.backgroundImage="url("+d+")";else if(e&&!ra()){var g=document.createElement("video");e.split(",").forEach(function(a){g.innerHTML+='<source src="'+a+'">'}),c.appendChild(g)}else if(f){var h=document.createElement("iframe");h.setAttribute("src",f),h.style.width="100%",h.style.height="100%",h.style.maxHeight="100%",h.style.maxWidth="100%",c.appendChild(h)}}}function ka(a){a.style.display="none";var b=ua(a),c=xa(b.h,b.v);c&&(c.style.display="none")}function la(){var a=Ab.wrapper.querySelectorAll(tb),b=Ab.wrapper.querySelectorAll(ub),c={left:lb>0||wb.loop,right:lb<a.length-1||wb.loop,up:mb>0,down:mb<b.length-1};if(wb.rtl){var d=c.left;c.left=c.right,c.right=d}return c}function ma(){if(ob&&wb.fragments){var a=ob.querySelectorAll(".fragment"),b=ob.querySelectorAll(".fragment:not(.visible)");return{prev:a.length-b.length>0,next:!!b.length}}return{prev:!1,next:!1}}function na(){p(Ab.slides.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){var b=a.getAttribute("src");/enablejsapi\=1/gi.test(b)||a.setAttribute("src",b+(/\?/.test(b)?"&":"?")+"enablejsapi=1")}),p(Ab.slides.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(a){var b=a.getAttribute("src");/api\=1/gi.test(b)||a.setAttribute("src",b+(/\?/.test(b)?"&":"?")+"api=1")})}function oa(a){a&&!ra()&&(p(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&a.play()}),p(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:start","*")}),p(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-autoplay")&&a.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}),p(a.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(a){a.hasAttribute("data-autoplay")&&a.contentWindow.postMessage('{"method":"play"}',"*")}))}function pa(a){a&&a.parentNode&&(p(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-ignore")||a.pause()}),p(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:stop","*")}),p(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),p(a.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"method":"pause"}',"*")}))}function qa(){var a=p(Ab.wrapper.querySelectorAll(tb)),b=va(),c=0;a:for(var d=0;d<a.length;d++){for(var e=a[d],f=p(e.querySelectorAll("section")),g=0;g<f.length;g++){if(f[g].classList.contains("present"))break a;c++}if(e.classList.contains("present"))break;e.classList.contains("stack")===!1&&c++}if(ob){var h=ob.querySelectorAll(".fragment");if(h.length>0){var i=ob.querySelectorAll(".fragment.visible"),j=.9;c+=i.length/h.length*j}}return c/(b-1)}function ra(){return!!window.location.search.match(/receiver/gi)}function sa(){var a=window.location.hash,b=a.slice(2).split("/"),c=a.replace(/#|\//gi,"");if(isNaN(parseInt(b[0],10))&&c.length){var d;if(/^[a-zA-Z][\w:.-]*$/.test(c)&&(d=document.querySelector("#"+c)),d){var e=kb.getIndices(d);$(e.h,e.v)}else $(lb||0,mb||0)}else{var f=parseInt(b[0],10)||0,g=parseInt(b[1],10)||0;(f!==lb||g!==mb)&&$(f,g)}}function ta(a){if(wb.history)if(clearTimeout(Db),"number"==typeof a)Db=setTimeout(ta,a);else if(ob){var b="/",c=ob.getAttribute("id");c&&(c=c.toLowerCase(),c=c.replace(/[^a-zA-Z0-9\-\_\:\.]/g,"")),"string"==typeof c&&c.length?b="/"+c:((lb>0||mb>0)&&(b+=lb),mb>0&&(b+="/"+mb)),window.location.hash=b}}function ua(a){var b,c=lb,d=mb;if(a){var e=S(a),f=e?a.parentNode:a,g=p(Ab.wrapper.querySelectorAll(tb));c=Math.max(g.indexOf(f),0),d=void 0,e&&(d=Math.max(p(a.parentNode.querySelectorAll("section")).indexOf(a),0))}if(!a&&ob){var h=ob.querySelectorAll(".fragment").length>0;if(h){var i=ob.querySelector(".current-fragment");b=i&&i.hasAttribute("data-fragment-index")?parseInt(i.getAttribute("data-fragment-index"),10):ob.querySelectorAll(".fragment.visible").length-1}}return{h:c,v:d,f:b}}function va(){return Ab.wrapper.querySelectorAll(sb+":not(.stack)").length}function wa(a,b){var c=Ab.wrapper.querySelectorAll(tb)[a],d=c&&c.querySelectorAll("section");return d&&d.length&&"number"==typeof b?d?d[b]:void 0:c}function xa(a,b){if(y()){var c=wa(a,b);if(c){var d=c.querySelector(".slide-background");if(d&&d.parentNode===c)return d}return void 0}var e=Ab.wrapper.querySelectorAll(".backgrounds>.slide-background")[a],f=e&&e.querySelectorAll(".slide-background");return f&&f.length&&"number"==typeof b?f?f[b]:void 0:e}function ya(){var a=ua();return{indexh:a.h,indexv:a.v,indexf:a.f,paused:X(),overview:R()}}function za(a){if("object"==typeof a){$(q(a.indexh),q(a.indexv),q(a.indexf));var b=q(a.paused),c=q(a.overview);
  
  "boolean"==typeof b&&b!==X()&&W(b),"boolean"==typeof c&&c!==R()&&Q(c)}}function Aa(a){a=p(a);var b=[],c=[],d=[];a.forEach(function(a,d){if(a.hasAttribute("data-fragment-index")){var e=parseInt(a.getAttribute("data-fragment-index"),10);b[e]||(b[e]=[]),b[e].push(a)}else c.push([a])}),b=b.concat(c);var e=0;return b.forEach(function(a){a.forEach(function(a){d.push(a),a.setAttribute("data-fragment-index",e)}),e++}),d}function Ba(a,b){if(ob&&wb.fragments){var c=Aa(ob.querySelectorAll(".fragment"));if(c.length){if("number"!=typeof a){var d=Aa(ob.querySelectorAll(".fragment.visible")).pop();a=d?parseInt(d.getAttribute("data-fragment-index")||0,10):-1}"number"==typeof b&&(a+=b);var e=[],f=[];return p(c).forEach(function(b,c){b.hasAttribute("data-fragment-index")&&(c=parseInt(b.getAttribute("data-fragment-index"),10)),a>=c?(b.classList.contains("visible")||e.push(b),b.classList.add("visible"),b.classList.remove("current-fragment"),Ab.statusDiv.textContent=b.textContent,c===a&&b.classList.add("current-fragment")):(b.classList.contains("visible")&&f.push(b),b.classList.remove("visible"),b.classList.remove("current-fragment"))}),f.length&&B("fragmenthidden",{fragment:f[0],fragments:f}),e.length&&B("fragmentshown",{fragment:e[0],fragments:e}),ga(),ea(),!(!e.length&&!f.length)}}return!1}function Ca(){return Ba(null,1)}function Da(){return Ba(null,-1)}function Ea(){if(Fa(),ob){var a=ob.querySelector(".current-fragment"),b=a?a.getAttribute("data-autoslide"):null,c=ob.parentNode?ob.parentNode.getAttribute("data-autoslide"):null,d=ob.getAttribute("data-autoslide");Fb=b?parseInt(b,10):d?parseInt(d,10):c?parseInt(c,10):wb.autoSlide,p(ob.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&Fb&&1e3*a.duration>Fb&&(Fb=1e3*a.duration+1e3)}),!Fb||Ib||X()||R()||kb.isLastSlide()&&!ma().next&&wb.loop!==!0||(Gb=setTimeout(Na,Fb),Hb=Date.now()),rb&&rb.setPlaying(-1!==Gb)}}function Fa(){clearTimeout(Gb),Gb=-1}function Ga(){Fb&&!Ib&&(Ib=!0,B("autoslidepaused"),clearTimeout(Gb),rb&&rb.setPlaying(!1))}function Ha(){Fb&&Ib&&(Ib=!1,B("autoslideresumed"),Ea())}function Ia(){wb.rtl?(R()||Ca()===!1)&&la().left&&$(lb+1):(R()||Da()===!1)&&la().left&&$(lb-1)}function Ja(){wb.rtl?(R()||Da()===!1)&&la().right&&$(lb-1):(R()||Ca()===!1)&&la().right&&$(lb+1)}function Ka(){(R()||Da()===!1)&&la().up&&$(lb,mb-1)}function La(){(R()||Ca()===!1)&&la().down&&$(lb,mb+1)}function Ma(){if(Da()===!1)if(la().up)Ka();else{var a;if(a=wb.rtl?p(Ab.wrapper.querySelectorAll(tb+".future")).pop():p(Ab.wrapper.querySelectorAll(tb+".past")).pop()){var b=a.querySelectorAll("section").length-1||void 0,c=lb-1;$(c,b)}}}function Na(){Ca()===!1&&(la().down?La():wb.rtl?Ia():Ja()),Ea()}function Oa(a){wb.autoSlideStoppable&&Ga()}function Pa(a){a.shiftKey&&63===a.charCode&&(Ab.overlay?I():H(!0))}function Qa(a){if("function"==typeof wb.keyboardCondition&&wb.keyboardCondition()===!1)return!0;var b=Ib;Oa(a);var c=document.activeElement&&"inherit"!==document.activeElement.contentEditable,d=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName);if(!(c||d||a.shiftKey&&32!==a.keyCode||a.altKey||a.ctrlKey||a.metaKey)){if(X()&&-1===[66,190,191].indexOf(a.keyCode))return!1;var e=!1;if("object"==typeof wb.keyboard)for(var f in wb.keyboard)if(parseInt(f,10)===a.keyCode){var g=wb.keyboard[f];"function"==typeof g?g.apply(null,[a]):"string"==typeof g&&"function"==typeof kb[g]&&kb[g].call(),e=!0}if(e===!1)switch(e=!0,a.keyCode){case 80:case 33:Ma();break;case 78:case 34:Na();break;case 72:case 37:Ia();break;case 76:case 39:Ja();break;case 75:case 38:Ka();break;case 74:case 40:La();break;case 36:$(0);break;case 35:$(Number.MAX_VALUE);break;case 32:R()?P():a.shiftKey?Ma():Na();break;case 13:R()?P():e=!1;break;case 58:case 59:case 66:case 190:case 191:W();break;case 70:T();break;case 65:wb.autoSlideStoppable&&Y(b);break;default:e=!1}e?a.preventDefault&&a.preventDefault():27!==a.keyCode&&79!==a.keyCode||!Bb.transforms3d||(Ab.overlay?I():Q(),a.preventDefault&&a.preventDefault()),Ea()}}function Ra(a){Jb.startX=a.touches[0].clientX,Jb.startY=a.touches[0].clientY,Jb.startCount=a.touches.length,2===a.touches.length&&wb.overview&&(Jb.startSpan=r({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:Jb.startX,y:Jb.startY}))}function Sa(a){if(Jb.captured)navigator.userAgent.match(/android/gi)&&a.preventDefault();else{Oa(a);var b=a.touches[0].clientX,c=a.touches[0].clientY;if(2===a.touches.length&&2===Jb.startCount&&wb.overview){var d=r({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:Jb.startX,y:Jb.startY});Math.abs(Jb.startSpan-d)>Jb.threshold&&(Jb.captured=!0,d<Jb.startSpan?O():P()),a.preventDefault()}else if(1===a.touches.length&&2!==Jb.startCount){var e=b-Jb.startX,f=c-Jb.startY;e>Jb.threshold&&Math.abs(e)>Math.abs(f)?(Jb.captured=!0,Ia()):e<-Jb.threshold&&Math.abs(e)>Math.abs(f)?(Jb.captured=!0,Ja()):f>Jb.threshold?(Jb.captured=!0,Ka()):f<-Jb.threshold&&(Jb.captured=!0,La()),wb.embedded?(Jb.captured||S(ob))&&a.preventDefault():a.preventDefault()}}}function Ta(a){Jb.captured=!1}function Ua(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Ra(a))}function Va(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Sa(a))}function Wa(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Ta(a))}function Xa(a){if(Date.now()-Cb>600){Cb=Date.now();var b=a.detail||-a.wheelDelta;b>0?Na():Ma()}}function Ya(a){Oa(a),a.preventDefault();var b=p(Ab.wrapper.querySelectorAll(tb)).length,c=Math.floor(a.clientX/Ab.wrapper.offsetWidth*b);$(c)}function Za(a){a.preventDefault(),Oa(),Ia()}function $a(a){a.preventDefault(),Oa(),Ja()}function _a(a){a.preventDefault(),Oa(),Ka()}function ab(a){a.preventDefault(),Oa(),La()}function bb(a){a.preventDefault(),Oa(),Ma()}function cb(a){a.preventDefault(),Oa(),Na()}function db(a){sa()}function eb(a){J()}function fb(a){var b=document.webkitHidden||document.msHidden||document.hidden;b===!1&&document.activeElement!==document.body&&(document.activeElement.blur(),document.body.focus())}function gb(a){if(Eb&&R()){a.preventDefault();for(var b=a.target;b&&!b.nodeName.match(/section/gi);)b=b.parentNode;if(b&&!b.classList.contains("disabled")&&(P(),b.nodeName.match(/section/gi))){var c=parseInt(b.getAttribute("data-index-h"),10),d=parseInt(b.getAttribute("data-index-v"),10);$(c,d)}}}function hb(a){if(a.currentTarget&&a.currentTarget.hasAttribute("href")){var b=a.currentTarget.getAttribute("href");b&&(G(b),a.preventDefault())}}function ib(a){kb.isLastSlide()&&wb.loop===!1?($(0,0),Ha()):Ib?Ha():Ga()}function jb(a,b){this.diameter=50,this.thickness=3,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=a,this.progressCheck=b,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 kb,lb,mb,nb,ob,pb,qb,rb,sb=".slides section",tb=".slides>section",ub=".slides>section.present>section",vb=".slides>section:first-of-type",wb={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:[]},xb=!1,yb=[],zb=1,Ab={},Bb={},Cb=0,Db=0,Eb=!1,Fb=0,Gb=0,Hb=-1,Ib=!1,Jb={startX:0,startY:0,startSpan:0,startCount:0,captured:!1,threshold:40},Kb={"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 jb.prototype.setPlaying=function(a){var b=this.playing;this.playing=a,!b&&this.playing?this.animate():this.render()},jb.prototype.animate=function(){var a=this.progress;this.progress=this.progressCheck(),a>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&Bb.requestAnimationFrameMethod.call(window,this.animate.bind(this))},jb.prototype.render=function(){var a=this.playing?this.progress:0,b=this.diameter/2-this.thickness,c=this.diameter/2,d=this.diameter/2,e=14;this.progressOffset+=.1*(1-this.progressOffset);var f=-Math.PI/2+2*a*Math.PI,g=-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(c,d,b+2,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(c,d,b,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(c,d,b,g,f,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(c-e/2,d-e/2),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,e/2-2,e),this.context.fillRect(e/2+2,0,e/2-2,e)):(this.context.beginPath(),this.context.translate(2,0),this.context.moveTo(0,0),this.context.lineTo(e-2,e/2),this.context.lineTo(0,e),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()},jb.prototype.on=function(a,b){this.canvas.addEventListener(a,b,!1)},jb.prototype.off=function(a,b){this.canvas.removeEventListener(a,b,!1)},jb.prototype.destroy=function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)},kb={initialize:a,configure:l,sync:_,slide:$,left:Ia,right:Ja,up:Ka,down:La,prev:Ma,next:Na,navigateFragment:Ba,prevFragment:Da,nextFragment:Ca,navigateTo:$,navigateLeft:Ia,navigateRight:Ja,navigateUp:Ka,navigateDown:La,navigatePrev:Ma,navigateNext:Na,layout:J,availableRoutes:la,availableFragments:ma,toggleOverview:Q,togglePause:W,toggleAutoSlide:Y,isOverview:R,isPaused:X,isAutoSliding:Z,addEventListeners:m,removeEventListeners:n,getState:ya,setState:za,getProgress:qa,getIndices:ua,getTotalSlides:va,getSlide:wa,getSlideBackground:xa,getPreviousSlide:function(){return nb},getCurrentSlide:function(){return ob},getScale:function(){return zb},getConfig:function(){return wb},getQueryHash:function(){var a={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,function(b){a[b.split("=").shift()]=b.split("=").pop()});for(var b in a){var c=a[b];a[b]=q(unescape(c))}return a},isFirstSlide:function(){return 0===lb&&0===mb},isLastSlide:function(){return ob?ob.nextElementSibling?!1:S(ob)&&ob.parentNode.nextElementSibling?!1:!0:!1},isReady:function(){return xb},addEventListener:function(a,b,c){"addEventListener"in window&&(Ab.wrapper||document.querySelector(".reveal")).addEventListener(a,b,c)},removeEventListener:function(a,b,c){"addEventListener"in window&&(Ab.wrapper||document.querySelector(".reveal")).removeEventListener(a,b,c)},triggerKey:function(a){Qa({keyCode:a})}}});