diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-04-27 18:27:34 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-04-27 18:27:34 -0400 |
commit | 32736a791c3e56298e3359d58d9a5561eaa82a47 (patch) | |
tree | 0f71b4da0215f94c8890408a2327f56b9eae8e2c /js/reveal.min.js | |
parent | 18795c161f2ea7d01fdadb9cca4d95c52e76d3db (diff) | |
download | fosdem-2018-presentation-32736a791c3e56298e3359d58d9a5561eaa82a47.tar fosdem-2018-presentation-32736a791c3e56298e3359d58d9a5561eaa82a47.tar.gz |
auto play/pause html5 media when entering/leaving slide (#388)
Diffstat (limited to 'js/reveal.min.js')
-rw-r--r-- | js/reveal.min.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.min.js b/js/reveal.min.js index 1b9bef1..1462055 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -1,8 +1,8 @@ /*! - * reveal.js 2.4.0 (2013-04-27, 18:02) + * reveal.js 2.4.0 (2013-04-27, 18:27) * http://lab.hakim.se/reveal-js * MIT licensed * * Copyright (C) 2013 Hakim El Hattab, http://hakim.se */ -var Reveal=function(){"use strict";function e(e){return xt||qt?(window.addEventListener("load",h,!1),c(yt,e),n(),r(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(At.theme=document.querySelector("#theme"),At.wrapper=document.querySelector(".reveal"),At.slides=document.querySelector(".reveal .slides"),!At.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="<span></span>",At.wrapper.appendChild(e)}if(!At.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>',At.wrapper.appendChild(t)}if(!At.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),At.wrapper.appendChild(n)}if(!At.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),At.wrapper.appendChild(r)}At.progress=document.querySelector(".reveal .progress"),At.progressbar=document.querySelector(".reveal .progress span"),yt.controls&&(At.controls=document.querySelector(".reveal .controls"),At.controlsLeft=l(document.querySelectorAll(".navigate-left")),At.controlsRight=l(document.querySelectorAll(".navigate-right")),At.controlsUp=l(document.querySelectorAll(".navigate-up")),At.controlsDown=l(document.querySelectorAll(".navigate-down")),At.controlsPrev=l(document.querySelectorAll(".navigate-prev")),At.controlsNext=l(document.querySelectorAll(".navigate-next")))}function n(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",u,!1),window.addEventListener("orientationchange",u,!1))}function r(){function e(){n.length&&head.js.apply(null,n),o()}for(var t=[],n=[],r=0,s=yt.dependencies.length;s>r;r++){var a=yt.dependencies[r];(!a.condition||a.condition())&&(a.async?n.push(a.src):t.push(a.src),"function"==typeof a.callback&&head.ready(a.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],a.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function o(){t(),s(),Y(),setTimeout(function(){v("ready",{indexh:wt,indexv:bt,currentSlide:ft})},1)}function s(e){if(At.wrapper.classList.remove(yt.transition),"object"==typeof e&&c(yt,e),qt===!1&&(yt.transition="linear"),At.wrapper.classList.add(yt.transition),At.wrapper.setAttribute("data-transition-speed",yt.transitionSpeed),At.controls&&(At.controls.style.display=yt.controls&&At.controls?"block":"none"),At.progress&&(At.progress.style.display=yt.progress&&At.progress?"block":"none"),yt.rtl?At.wrapper.classList.add("rtl"):At.wrapper.classList.remove("rtl"),yt.center?At.wrapper.classList.add("center"):At.wrapper.classList.remove("center"),yt.mouseWheel?(document.addEventListener("DOMMouseScroll",tt,!1),document.addEventListener("mousewheel",tt,!1)):(document.removeEventListener("DOMMouseScroll",tt,!1),document.removeEventListener("mousewheel",tt,!1)),yt.rollingLinks?f():p(),yt.theme&&At.theme){var t=At.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];yt.theme!==r&&(t=t.replace(n,yt.theme),At.theme.setAttribute("href",t))}M()}function a(){Dt=!0,window.addEventListener("hashchange",lt,!1),window.addEventListener("resize",dt,!1),yt.touch&&(At.wrapper.addEventListener("touchstart",Q,!1),At.wrapper.addEventListener("touchmove",V,!1),At.wrapper.addEventListener("touchend",B,!1),window.navigator.msPointerEnabled&&(At.wrapper.addEventListener("MSPointerDown",G,!1),At.wrapper.addEventListener("MSPointerMove",J,!1),At.wrapper.addEventListener("MSPointerUp",et,!1))),yt.keyboard&&document.addEventListener("keydown",Z,!1),yt.progress&&At.progress&&At.progress.addEventListener("click",nt,!1),yt.controls&&At.controls&&["touchstart","click"].forEach(function(e){At.controlsLeft.forEach(function(t){t.addEventListener(e,rt,!1)}),At.controlsRight.forEach(function(t){t.addEventListener(e,ot,!1)}),At.controlsUp.forEach(function(t){t.addEventListener(e,st,!1)}),At.controlsDown.forEach(function(t){t.addEventListener(e,at,!1)}),At.controlsPrev.forEach(function(t){t.addEventListener(e,it,!1)}),At.controlsNext.forEach(function(t){t.addEventListener(e,ct,!1)})})}function i(){Dt=!1,document.removeEventListener("keydown",Z,!1),window.removeEventListener("hashchange",lt,!1),window.removeEventListener("resize",dt,!1),At.wrapper.removeEventListener("touchstart",Q,!1),At.wrapper.removeEventListener("touchmove",V,!1),At.wrapper.removeEventListener("touchend",B,!1),window.navigator.msPointerEnabled&&(At.wrapper.removeEventListener("MSPointerDown",G,!1),At.wrapper.removeEventListener("MSPointerMove",J,!1),At.wrapper.removeEventListener("MSPointerUp",et,!1)),yt.progress&&At.progress&&At.progress.removeEventListener("click",nt,!1),yt.controls&&At.controls&&["touchstart","click"].forEach(function(e){At.controlsLeft.forEach(function(t){t.removeEventListener(e,rt,!1)}),At.controlsRight.forEach(function(t){t.removeEventListener(e,ot,!1)}),At.controlsUp.forEach(function(t){t.removeEventListener(e,st,!1)}),At.controlsDown.forEach(function(t){t.removeEventListener(e,at,!1)}),At.controlsPrev.forEach(function(t){t.removeEventListener(e,it,!1)}),At.controlsNext.forEach(function(t){t.removeEventListener(e,ct,!1)})})}function c(e,t){for(var n in t)e[n]=t[n]}function l(e){return Array.prototype.slice.call(e)}function d(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function u(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),c(n,t),At.wrapper.dispatchEvent(n)}function f(){if(qt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(pt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function p(){for(var e=document.querySelectorAll(pt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function m(e){var t=l(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function h(){if(At.wrapper){var e=At.wrapper.offsetWidth,t=At.wrapper.offsetHeight;e-=t*yt.margin,t-=t*yt.margin;var n=yt.width,r=yt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),At.slides.style.width=n+"px",At.slides.style.height=r+"px",St=Math.min(e/n,t/r),St=Math.max(St,yt.minScale),St=Math.min(St,yt.maxScale),void 0===At.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+St+") translate(50%, 50%)";At.slides.style.WebkitTransform=o,At.slides.style.MozTransform=o,At.slides.style.msTransform=o,At.slides.style.OTransform=o,At.slides.style.transform=o}else At.slides.style.zoom=St;for(var s=l(document.querySelectorAll(pt)),a=0,i=s.length;i>a;a++){var c=s[a];"none"!==c.style.display&&(c.style.top=yt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}N()}}function g(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function y(e){return"object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")?parseInt(e.getAttribute("data-previous-indexv")||0,10):0}function L(){if(yt.overview){z();var e=At.wrapper.classList.contains("overview");At.wrapper.classList.add("overview"),At.wrapper.classList.remove("exit-overview"),clearTimeout(Pt),clearTimeout(Nt),Pt=setTimeout(function(){for(var t=document.querySelectorAll(mt),n=0,r=t.length;r>n;n++){var o=t[n],s="translateZ(-2500px) translate("+105*(n-wt)+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var a=o.querySelectorAll("section"),i=0,c=a.length;c>i;i++){var l=n===wt?bt:y(o),d=a[i],u="translate(0%, "+105*(i-l)+"%)";d.setAttribute("data-index-h",n),d.setAttribute("data-index-v",i),d.style.display="block",d.style.WebkitTransform=u,d.style.MozTransform=u,d.style.msTransform=u,d.style.OTransform=u,d.style.transform=u,d.addEventListener("click",ut,!0)}else o.addEventListener("click",ut,!0)}h(),e||v("overviewshown",{indexh:wt,indexv:bt,currentSlide:ft})},10)}}function w(){if(yt.overview){clearTimeout(Pt),clearTimeout(Nt),At.wrapper.classList.remove("overview"),At.wrapper.classList.add("exit-overview"),Nt=setTimeout(function(){At.wrapper.classList.remove("exit-overview")},10);for(var e=l(document.querySelectorAll(pt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ut,!0)}k(wt,bt),U(),v("overviewhidden",{indexh:wt,indexv:bt,currentSlide:ft})}}function b(e){"boolean"==typeof e?e?L():w():E()?w():L()}function E(){return At.wrapper.classList.contains("overview")}function S(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function A(){var e=At.wrapper.classList.contains("paused");z(),At.wrapper.classList.add("paused"),e===!1&&v("paused")}function q(){var e=At.wrapper.classList.contains("paused");At.wrapper.classList.remove("paused"),U(),e&&v("resumed")}function x(){T()?q():A()}function T(){return At.wrapper.classList.contains("paused")}function k(e,t,n,r){vt=ft;var o=document.querySelectorAll(mt);void 0===t&&(t=y(o[e])),vt&&vt.parentNode&&vt.parentNode.classList.contains("stack")&&g(vt.parentNode,bt);var s=Et.concat();Et.length=0;var a=wt,i=bt;wt=P(mt,void 0===e?wt:e),bt=P(ht,void 0===t?bt:t),h();e:for(var c=0,d=Et.length;d>c;c++){for(var u=0;s.length>u;u++)if(s[u]===Et[c]){s.splice(u,1);continue e}document.documentElement.classList.add(Et[c]),v(Et[c])}for(;s.length;)document.documentElement.classList.remove(s.pop());E()&&L(),R(1500);var f=o[wt],p=f.querySelectorAll("section");if(ft=p[bt]||f,n!==void 0){var w=m(ft.querySelectorAll(".fragment"));l(w).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}wt!==a||bt!==i?v("slidechanged",{indexh:wt,indexv:bt,previousSlide:vt,currentSlide:ft,origin:r}):vt=null,vt&&(vt.classList.remove("present"),document.querySelector(gt).classList.contains("present")&&setTimeout(function(){var e,t=l(document.querySelectorAll(mt+".stack"));for(e in t)t[e]&&g(t[e],0)},0)),D(),N()}function M(){i(),a(),h(),Lt=yt.autoSlide,U(),D(),N()}function P(e,t){var n=l(document.querySelectorAll(e)),r=n.length;if(r){yt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var s=n[o];if(E()===!1){var a=Math.abs((t-o)%(r-3))||0;s.style.display=a>3?"none":"block"}n[o].classList.remove("past"),n[o].classList.remove("present"),n[o].classList.remove("future"),t>o?n[o].classList.add("past"):o>t&&n[o].classList.add("future"),s.querySelector("section")&&n[o].classList.add("stack")}n[t].classList.add("present");var i=n[t].getAttribute("data-state");i&&(Et=Et.concat(i.split(" ")));var c=n[t].getAttribute("data-autoslide");Lt=c?parseInt(c,10):yt.autoSlide}else t=0;return t}function N(){if(yt.progress&&At.progress){var e=l(document.querySelectorAll(mt)),t=document.querySelectorAll(pt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],s=l(o.querySelectorAll("section")),a=0;s.length>a;a++){if(s[a].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}At.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function D(){if(yt.controls&&At.controls){var e=C(),t=O();if(At.controlsLeft.concat(At.controlsRight).concat(At.controlsUp).concat(At.controlsDown).concat(At.controlsPrev).concat(At.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&At.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&At.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&At.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&At.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&At.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&At.controlsNext.forEach(function(e){e.classList.add("enabled")}),ft){var n=!!ft.parentNode.nodeName.match(/section/gi);t.prev&&At.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&At.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),n?(t.prev&&At.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&At.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&At.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&At.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")}))}}}function C(){var e=document.querySelectorAll(mt),t=document.querySelectorAll(ht);return{left:wt>0||yt.loop,right:e.length-1>wt||yt.loop,up:bt>0,down:t.length-1>bt}}function O(){if(ft&&yt.fragments){var e=ft.querySelectorAll(".fragment"),t=ft.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function Y(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);k(o.h,o.v)}else k(wt,bt)}else{var s=parseInt(t[0],10)||0,a=parseInt(t[1],10)||0;k(s,a)}}function R(e){if(yt.history)if(clearTimeout(Mt),"number"==typeof e)Mt=setTimeout(R,e);else{var t="/";ft&&"string"==typeof ft.getAttribute("id")?t="/"+ft.getAttribute("id"):((wt>0||bt>0)&&(t+=wt),bt>0&&(t+="/"+bt)),window.location.hash=t}}function X(e){var t,n=wt,r=bt;if(e){var o=!!e.parentNode.nodeName.match(/section/gi),s=o?e.parentNode:e,a=l(document.querySelectorAll(mt));n=Math.max(a.indexOf(s),0),o&&(r=Math.max(l(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&ft){var i=ft.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function H(){if(ft&&yt.fragments){var e=m(ft.querySelectorAll(".fragment:not(.visible)"));if(e.length)return e[0].classList.add("visible"),v("fragmentshown",{fragment:e[0]}),D(),!0}return!1}function I(){if(ft&&yt.fragments){var e=m(ft.querySelectorAll(".fragment.visible"));if(e.length)return e[e.length-1].classList.remove("visible"),v("fragmenthidden",{fragment:e[e.length-1]}),D(),!0}return!1}function U(){clearTimeout(kt),!Lt||T()||E()||(kt=setTimeout($,Lt))}function z(){clearTimeout(kt)}function W(){(E()||I()===!1)&&C().left&&k(wt-1)}function F(){(E()||H()===!1)&&C().right&&k(wt+1)}function _(){(E()||I()===!1)&&C().up&&k(wt,bt-1)}function j(){(E()||H()===!1)&&C().down&&k(wt,bt+1)}function K(){if(I()===!1)if(C().up)_();else{var e=document.querySelector(mt+".past:nth-child("+wt+")");e&&(bt=e.querySelectorAll("section").length+1||void 0,wt--,k(wt,bt))}}function $(){H()===!1&&(C().down?j():F()),U()}function Z(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(T()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:K();break;case 78:case 34:$();break;case 72:case 37:W();break;case 76:case 39:F();break;case 75:case 38:_();break;case 74:case 40:j();break;case 36:k(0);break;case 35:k(Number.MAX_VALUE);break;case 32:E()?w():e.shiftKey?K():$();break;case 13:E()?w():n=!1;break;case 66:case 190:case 191:x();break;case 70:S();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&qt&&(b(),e.preventDefault()),U()}}function Q(e){Ct.startX=e.touches[0].clientX,Ct.startY=e.touches[0].clientY,Ct.startCount=e.touches.length,2===e.touches.length&&yt.overview&&(Ct.startSpan=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ct.startX,y:Ct.startY}))}function V(e){if(Ct.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Ct.startCount&&yt.overview){var r=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Ct.startX,y:Ct.startY});Math.abs(Ct.startSpan-r)>Ct.threshold&&(Ct.handled=!0,Ct.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Ct.startCount){var o=t-Ct.startX,s=n-Ct.startY;o>Ct.threshold&&Math.abs(o)>Math.abs(s)?(Ct.handled=!0,W()):-Ct.threshold>o&&Math.abs(o)>Math.abs(s)?(Ct.handled=!0,F()):s>Ct.threshold?(Ct.handled=!0,_()):-Ct.threshold>s&&(Ct.handled=!0,j()),e.preventDefault()}}}function B(){Ct.handled=!1}function G(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],Q(e))}function J(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],V(e))}function et(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],B(e))}function tt(e){clearTimeout(Tt),Tt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?$():K()},100)}function nt(e){e.preventDefault();var t=l(document.querySelectorAll(mt)).length,n=Math.floor(e.clientX/At.wrapper.offsetWidth*t);k(n)}function rt(e){e.preventDefault(),W()}function ot(e){e.preventDefault(),F()}function st(e){e.preventDefault(),_()}function at(e){e.preventDefault(),j()}function it(e){e.preventDefault(),K()}function ct(e){e.preventDefault(),$()}function lt(){Y()}function dt(){h()}function ut(e){if(Dt&&E()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);k(n,r)}}}var vt,ft,pt=".reveal .slides section",mt=".reveal .slides>section",ht=".reveal .slides>section.present>section",gt=".reveal .slides>section:first-child",yt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},Lt=0,wt=0,bt=0,Et=[],St=1,At={},qt="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,xt="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,Tt=0,kt=0,Mt=0,Pt=0,Nt=0,Dt=!1,Ct={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:s,sync:M,slide:k,left:W,right:F,up:_,down:j,prev:K,next:$,prevFragment:I,nextFragment:H,navigateTo:k,navigateLeft:W,navigateRight:F,navigateUp:_,navigateDown:j,navigatePrev:K,navigateNext:$,layout:h,availableRoutes:C,availableFragments:O,toggleOverview:b,togglePause:x,isOverview:E,isPaused:T,addEventListeners:a,removeEventListeners:i,getIndices:X,getSlide:function(e,t){var n=document.querySelectorAll(mt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return vt},getCurrentSlide:function(){return ft},getScale:function(){return St},getConfig:function(){return yt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(pt+".past")?!0:!1},isLastSlide:function(){return ft&&ft.classList.contains(".stack")?null==ft.querySelector(pt+".future")?!0:!1:null==document.querySelector(pt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(At.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(At.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}();
\ No newline at end of file +var Reveal=function(){"use strict";function e(e){return kt||Tt?(window.addEventListener("load",h,!1),c(wt,e),n(),r(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(xt.theme=document.querySelector("#theme"),xt.wrapper=document.querySelector(".reveal"),xt.slides=document.querySelector(".reveal .slides"),!xt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="<span></span>",xt.wrapper.appendChild(e)}if(!xt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>',xt.wrapper.appendChild(t)}if(!xt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),xt.wrapper.appendChild(n)}if(!xt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),xt.wrapper.appendChild(r)}xt.progress=document.querySelector(".reveal .progress"),xt.progressbar=document.querySelector(".reveal .progress span"),wt.controls&&(xt.controls=document.querySelector(".reveal .controls"),xt.controlsLeft=l(document.querySelectorAll(".navigate-left")),xt.controlsRight=l(document.querySelectorAll(".navigate-right")),xt.controlsUp=l(document.querySelectorAll(".navigate-up")),xt.controlsDown=l(document.querySelectorAll(".navigate-down")),xt.controlsPrev=l(document.querySelectorAll(".navigate-prev")),xt.controlsNext=l(document.querySelectorAll(".navigate-next")))}function n(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",u,!1),window.addEventListener("orientationchange",u,!1))}function r(){function e(){n.length&&head.js.apply(null,n),o()}for(var t=[],n=[],r=0,a=wt.dependencies.length;a>r;r++){var s=wt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function o(){t(),a(),X(),setTimeout(function(){v("ready",{indexh:Et,indexv:St,currentSlide:mt})},1)}function a(e){if(xt.wrapper.classList.remove(wt.transition),"object"==typeof e&&c(wt,e),Tt===!1&&(wt.transition="linear"),xt.wrapper.classList.add(wt.transition),xt.wrapper.setAttribute("data-transition-speed",wt.transitionSpeed),xt.controls&&(xt.controls.style.display=wt.controls&&xt.controls?"block":"none"),xt.progress&&(xt.progress.style.display=wt.progress&&xt.progress?"block":"none"),wt.rtl?xt.wrapper.classList.add("rtl"):xt.wrapper.classList.remove("rtl"),wt.center?xt.wrapper.classList.add("center"):xt.wrapper.classList.remove("center"),wt.mouseWheel?(document.addEventListener("DOMMouseScroll",rt,!1),document.addEventListener("mousewheel",rt,!1)):(document.removeEventListener("DOMMouseScroll",rt,!1),document.removeEventListener("mousewheel",rt,!1)),wt.rollingLinks?f():p(),wt.theme&&xt.theme){var t=xt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];wt.theme!==r&&(t=t.replace(n,wt.theme),xt.theme.setAttribute("href",t))}M()}function s(){Ot=!0,window.addEventListener("hashchange",ut,!1),window.addEventListener("resize",vt,!1),wt.touch&&(xt.wrapper.addEventListener("touchstart",B,!1),xt.wrapper.addEventListener("touchmove",G,!1),xt.wrapper.addEventListener("touchend",J,!1),window.navigator.msPointerEnabled&&(xt.wrapper.addEventListener("MSPointerDown",et,!1),xt.wrapper.addEventListener("MSPointerMove",tt,!1),xt.wrapper.addEventListener("MSPointerUp",nt,!1))),wt.keyboard&&document.addEventListener("keydown",V,!1),wt.progress&&xt.progress&&xt.progress.addEventListener("click",ot,!1),wt.controls&&xt.controls&&["touchstart","click"].forEach(function(e){xt.controlsLeft.forEach(function(t){t.addEventListener(e,at,!1)}),xt.controlsRight.forEach(function(t){t.addEventListener(e,st,!1)}),xt.controlsUp.forEach(function(t){t.addEventListener(e,it,!1)}),xt.controlsDown.forEach(function(t){t.addEventListener(e,ct,!1)}),xt.controlsPrev.forEach(function(t){t.addEventListener(e,lt,!1)}),xt.controlsNext.forEach(function(t){t.addEventListener(e,dt,!1)})})}function i(){Ot=!1,document.removeEventListener("keydown",V,!1),window.removeEventListener("hashchange",ut,!1),window.removeEventListener("resize",vt,!1),xt.wrapper.removeEventListener("touchstart",B,!1),xt.wrapper.removeEventListener("touchmove",G,!1),xt.wrapper.removeEventListener("touchend",J,!1),window.navigator.msPointerEnabled&&(xt.wrapper.removeEventListener("MSPointerDown",et,!1),xt.wrapper.removeEventListener("MSPointerMove",tt,!1),xt.wrapper.removeEventListener("MSPointerUp",nt,!1)),wt.progress&&xt.progress&&xt.progress.removeEventListener("click",ot,!1),wt.controls&&xt.controls&&["touchstart","click"].forEach(function(e){xt.controlsLeft.forEach(function(t){t.removeEventListener(e,at,!1)}),xt.controlsRight.forEach(function(t){t.removeEventListener(e,st,!1)}),xt.controlsUp.forEach(function(t){t.removeEventListener(e,it,!1)}),xt.controlsDown.forEach(function(t){t.removeEventListener(e,ct,!1)}),xt.controlsPrev.forEach(function(t){t.removeEventListener(e,lt,!1)}),xt.controlsNext.forEach(function(t){t.removeEventListener(e,dt,!1)})})}function c(e,t){for(var n in t)e[n]=t[n]}function l(e){return Array.prototype.slice.call(e)}function d(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function u(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function v(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),c(n,t),xt.wrapper.dispatchEvent(n)}function f(){if(Tt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(ht+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function p(){for(var e=document.querySelectorAll(ht+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function m(e){var t=l(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function h(){if(xt.wrapper){var e=xt.wrapper.offsetWidth,t=xt.wrapper.offsetHeight;e-=t*wt.margin,t-=t*wt.margin;var n=wt.width,r=wt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),xt.slides.style.width=n+"px",xt.slides.style.height=r+"px",qt=Math.min(e/n,t/r),qt=Math.max(qt,wt.minScale),qt=Math.min(qt,wt.maxScale),void 0===xt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+qt+") translate(50%, 50%)";xt.slides.style.WebkitTransform=o,xt.slides.style.MozTransform=o,xt.slides.style.msTransform=o,xt.slides.style.OTransform=o,xt.slides.style.transform=o}else xt.slides.style.zoom=qt;for(var a=l(document.querySelectorAll(ht)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=wt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}N()}}function g(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function y(e){return"object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")?parseInt(e.getAttribute("data-previous-indexv")||0,10):0}function L(){if(wt.overview){F();var e=xt.wrapper.classList.contains("overview");xt.wrapper.classList.add("overview"),xt.wrapper.classList.remove("exit-overview"),clearTimeout(Dt),clearTimeout(Ct),Dt=setTimeout(function(){for(var t=document.querySelectorAll(gt),n=0,r=t.length;r>n;n++){var o=t[n],a="translateZ(-2500px) translate("+105*(n-Et)+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=a,o.style.MozTransform=a,o.style.msTransform=a,o.style.OTransform=a,o.style.transform=a,o.classList.contains("stack"))for(var s=o.querySelectorAll("section"),i=0,c=s.length;c>i;i++){var l=n===Et?St:y(o),d=s[i],u="translate(0%, "+105*(i-l)+"%)";d.setAttribute("data-index-h",n),d.setAttribute("data-index-v",i),d.style.display="block",d.style.WebkitTransform=u,d.style.MozTransform=u,d.style.msTransform=u,d.style.OTransform=u,d.style.transform=u,d.addEventListener("click",ft,!0)}else o.addEventListener("click",ft,!0)}h(),e||v("overviewshown",{indexh:Et,indexv:St,currentSlide:mt})},10)}}function w(){if(wt.overview){clearTimeout(Dt),clearTimeout(Ct),xt.wrapper.classList.remove("overview"),xt.wrapper.classList.add("exit-overview"),Ct=setTimeout(function(){xt.wrapper.classList.remove("exit-overview")},10);for(var e=l(document.querySelectorAll(ht)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",ft,!0)}k(Et,St),W(),v("overviewhidden",{indexh:Et,indexv:St,currentSlide:mt})}}function b(e){"boolean"==typeof e?e?L():w():E()?w():L()}function E(){return xt.wrapper.classList.contains("overview")}function S(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function A(){var e=xt.wrapper.classList.contains("paused");F(),xt.wrapper.classList.add("paused"),e===!1&&v("paused")}function q(){var e=xt.wrapper.classList.contains("paused");xt.wrapper.classList.remove("paused"),W(),e&&v("resumed")}function x(){T()?q():A()}function T(){return xt.wrapper.classList.contains("paused")}function k(e,t,n,r){pt=mt;var o=document.querySelectorAll(gt);void 0===t&&(t=y(o[e])),pt&&pt.parentNode&&pt.parentNode.classList.contains("stack")&&g(pt.parentNode,St);var a=At.concat();At.length=0;var s=Et,i=St;Et=P(gt,void 0===e?Et:e),St=P(yt,void 0===t?St:t),h();e:for(var c=0,d=At.length;d>c;c++){for(var u=0;a.length>u;u++)if(a[u]===At[c]){a.splice(u,1);continue e}document.documentElement.classList.add(At[c]),v(At[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());E()&&L(),H(1500);var f=o[Et],p=f.querySelectorAll("section");if(mt=p[St]||f,n!==void 0){var w=m(mt.querySelectorAll(".fragment"));l(w).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}Et!==s||St!==i?v("slidechanged",{indexh:Et,indexv:St,previousSlide:pt,currentSlide:mt,origin:r}):pt=null,pt&&(pt.classList.remove("present"),document.querySelector(Lt).classList.contains("present")&&setTimeout(function(){var e,t=l(document.querySelectorAll(gt+".stack"));for(e in t)t[e]&&g(t[e],0)},0)),R(pt),Y(mt),D(),N()}function M(){i(),s(),h(),bt=wt.autoSlide,W(),D(),N()}function P(e,t){var n=l(document.querySelectorAll(e)),r=n.length;if(r){wt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(E()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}n[o].classList.remove("past"),n[o].classList.remove("present"),n[o].classList.remove("future"),t>o?n[o].classList.add("past"):o>t&&n[o].classList.add("future"),a.querySelector("section")&&n[o].classList.add("stack")}n[t].classList.add("present");var i=n[t].getAttribute("data-state");i&&(At=At.concat(i.split(" ")));var c=n[t].getAttribute("data-autoslide");bt=c?parseInt(c,10):wt.autoSlide}else t=0;return t}function N(){if(wt.progress&&xt.progress){var e=l(document.querySelectorAll(gt)),t=document.querySelectorAll(ht+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=l(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}xt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function D(){if(wt.controls&&xt.controls){var e=C(),t=O();if(xt.controlsLeft.concat(xt.controlsRight).concat(xt.controlsUp).concat(xt.controlsDown).concat(xt.controlsPrev).concat(xt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&xt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&xt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&xt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&xt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&xt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&xt.controlsNext.forEach(function(e){e.classList.add("enabled")}),mt){var n=!!mt.parentNode.nodeName.match(/section/gi);t.prev&&xt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&xt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),n?(t.prev&&xt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&xt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&xt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&xt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")}))}}}function C(){var e=document.querySelectorAll(gt),t=document.querySelectorAll(yt);return{left:Et>0||wt.loop,right:e.length-1>Et||wt.loop,up:St>0,down:t.length-1>St}}function O(){if(mt&&wt.fragments){var e=mt.querySelectorAll(".fragment"),t=mt.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function Y(e){e&&l(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.play()})}function R(e){e&&l(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()})}function X(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);k(o.h,o.v)}else k(Et,St)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;k(a,s)}}function H(e){if(wt.history)if(clearTimeout(Nt),"number"==typeof e)Nt=setTimeout(H,e);else{var t="/";mt&&"string"==typeof mt.getAttribute("id")?t="/"+mt.getAttribute("id"):((Et>0||St>0)&&(t+=Et),St>0&&(t+="/"+St)),window.location.hash=t}}function I(e){var t,n=Et,r=St;if(e){var o=!!e.parentNode.nodeName.match(/section/gi),a=o?e.parentNode:e,s=l(document.querySelectorAll(gt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(l(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&mt){var i=mt.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function U(){if(mt&&wt.fragments){var e=m(mt.querySelectorAll(".fragment:not(.visible)"));if(e.length)return e[0].classList.add("visible"),v("fragmentshown",{fragment:e[0]}),D(),!0}return!1}function z(){if(mt&&wt.fragments){var e=m(mt.querySelectorAll(".fragment.visible"));if(e.length)return e[e.length-1].classList.remove("visible"),v("fragmenthidden",{fragment:e[e.length-1]}),D(),!0}return!1}function W(){clearTimeout(Pt),!bt||T()||E()||(Pt=setTimeout(Q,bt))}function F(){clearTimeout(Pt)}function _(){(E()||z()===!1)&&C().left&&k(Et-1)}function j(){(E()||U()===!1)&&C().right&&k(Et+1)}function K(){(E()||z()===!1)&&C().up&&k(Et,St-1)}function $(){(E()||U()===!1)&&C().down&&k(Et,St+1)}function Z(){if(z()===!1)if(C().up)K();else{var e=document.querySelector(gt+".past:nth-child("+Et+")");e&&(St=e.querySelectorAll("section").length+1||void 0,Et--,k(Et,St))}}function Q(){U()===!1&&(C().down?$():j()),W()}function V(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(T()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:Z();break;case 78:case 34:Q();break;case 72:case 37:_();break;case 76:case 39:j();break;case 75:case 38:K();break;case 74:case 40:$();break;case 36:k(0);break;case 35:k(Number.MAX_VALUE);break;case 32:E()?w():e.shiftKey?Z():Q();break;case 13:E()?w():n=!1;break;case 66:case 190:case 191:x();break;case 70:S();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&Tt&&(b(),e.preventDefault()),W()}}function B(e){Yt.startX=e.touches[0].clientX,Yt.startY=e.touches[0].clientY,Yt.startCount=e.touches.length,2===e.touches.length&&wt.overview&&(Yt.startSpan=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Yt.startX,y:Yt.startY}))}function G(e){if(Yt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Yt.startCount&&wt.overview){var r=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Yt.startX,y:Yt.startY});Math.abs(Yt.startSpan-r)>Yt.threshold&&(Yt.handled=!0,Yt.startSpan>r?L():w()),e.preventDefault()}else if(1===e.touches.length&&2!==Yt.startCount){var o=t-Yt.startX,a=n-Yt.startY;o>Yt.threshold&&Math.abs(o)>Math.abs(a)?(Yt.handled=!0,_()):-Yt.threshold>o&&Math.abs(o)>Math.abs(a)?(Yt.handled=!0,j()):a>Yt.threshold?(Yt.handled=!0,K()):-Yt.threshold>a&&(Yt.handled=!0,$()),e.preventDefault()}}}function J(){Yt.handled=!1}function et(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],B(e))}function tt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],G(e))}function nt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],J(e))}function rt(e){clearTimeout(Mt),Mt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?Q():Z()},100)}function ot(e){e.preventDefault();var t=l(document.querySelectorAll(gt)).length,n=Math.floor(e.clientX/xt.wrapper.offsetWidth*t);k(n)}function at(e){e.preventDefault(),_()}function st(e){e.preventDefault(),j()}function it(e){e.preventDefault(),K()}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),Z()}function dt(e){e.preventDefault(),Q()}function ut(){X()}function vt(){h()}function ft(e){if(Ot&&E()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(w(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);k(n,r)}}}var pt,mt,ht=".reveal .slides section",gt=".reveal .slides>section",yt=".reveal .slides>section.present>section",Lt=".reveal .slides>section:first-child",wt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},bt=0,Et=0,St=0,At=[],qt=1,xt={},Tt="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,kt="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,Mt=0,Pt=0,Nt=0,Dt=0,Ct=0,Ot=!1,Yt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:a,sync:M,slide:k,left:_,right:j,up:K,down:$,prev:Z,next:Q,prevFragment:z,nextFragment:U,navigateTo:k,navigateLeft:_,navigateRight:j,navigateUp:K,navigateDown:$,navigatePrev:Z,navigateNext:Q,layout:h,availableRoutes:C,availableFragments:O,toggleOverview:b,togglePause:x,isOverview:E,isPaused:T,addEventListeners:s,removeEventListeners:i,getIndices:I,getSlide:function(e,t){var n=document.querySelectorAll(gt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return pt},getCurrentSlide:function(){return mt},getScale:function(){return qt},getConfig:function(){return wt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(ht+".past")?!0:!1},isLastSlide:function(){return mt&&mt.classList.contains(".stack")?null==mt.querySelector(ht+".future")?!0:!1:null==document.querySelector(ht+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(xt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(xt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}();
\ No newline at end of file |