window.shower=window.shower||function(e,i,t){varr={},n=e.location,s=i.body,l=[],o=[],d,a=!!(e.history&&e.history.pushState);functionu(e){for(variine){if(e.hasOwnProperty(i)){this[i]=e[i]}}}u.prototype={getSlideNumber:function(){returnthis.number},isLast:function(){returnr.slideList.length===this.number+1},isFinished:function(){returnthis.innerComplete>=this.innerLength},process:function(e){if(this.timing){this.initTimer(e);returnthis}this.next(e);returnthis},initTimer:function(e){vari=this;if(!i.timing){returnfalse}i.stopTimer();if(i.isFinished()){d=setInterval(function(){i.stopTimer();e.next()},i.timing*(i.innerLength||1))}else{d=setInterval(function(){if(i.isFinished()){i.stopTimer();e.next()}else{i.next(e)}},i.timing)}returnthis},stopTimer:function(){if(d){clearInterval(d);d=false}returnthis},prev:function(e){vart,r=this;if(!r.hasInnerNavigation||r.isFinished()||r.innerComplete===0){e.prev();returnfalse}t=i.getElementById(r.id).querySelectorAll(".next.active");if(!t||t.length<1){returnfalse}if(r.innerComplete>0){r.innerComplete--;t[t.length-1].classList.remove("active")}else{e.prev()}returnthis},next:function(e){vart,r=this;if(!r.hasInnerNavigation||r.isFinished()){e.next();returnfalse}if(!r.isFinished()){t=i.getElementById(r.id).querySelectorAll(".next:not(.active)");t[0].classList.add("active");r.innerComplete++}returnthis}};r._getData=function(e,i){returne.dataset?e.dataset[i]:e.getAttribute("data-"+i)};r.slideList=[];r.init=function(e,t){varn;e=e||".slide";t=t||"div.progress div";l=i.querySelectorAll(e);o=i.querySelector(t);for(vars=0;s<l.length;s++){if(!l[s].id){l[s].id=s+1}n=r._getData(l[s],"timing");if(n&&/^(\d{1,2}:)?\d{1,3}$/.test(n)){if(n.indexOf(":")!==-1){n=n.split(":");n=(parseInt(n[0],10)*60+parseInt(n[1],10))*1e3}else{n=parseInt(n,10)*1e3}if(n===0){n=false}}else{n=false}r.slideList.push(newu({id:l[s].id,number:s,hasInnerNavigation:null!==l[s].querySelector(".next"),timing:n,innerLength:l[s].querySelectorAll(".next").length,innerComplete:0}))}returnr};r._getTransform=function(){vari=Math.max(s.clientWidth/e.innerWidth,s.clientHeight/e.innerHeight);return"scale("+1/i+")"};r._applyTransform=function(e){["WebkitTransform","MozTransform","msTransform","OTransform","transform"].forEach(function(i){s.style[i]=e});returntrue};r._isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};r._normalizeSlideNumber=function(e){if(!r._isNumber(e)){thrownewError("Gimme slide number as Number, baby!")}if(e<0){e=0}if(e>=r.slideList.length){e=r.slideList.length-1}returne};r._getSlideIdByEl=function(e){while("BODY"!==e.nodeName&&"HTML"!==e.nodeName){if(e.classList.contains("slide")){returne.id}else{e=e.parentNode}}return""};r._checkInteractiveElement=function(e){return"A"===e.target.nodeName};r.getSlideNumber=function(e){vari=r.slideList.length-1,t;if(e===""){t=0}for(;i>=0;--i){if(e===r.slideList[i].id){t=i;break}}returnt};r.go=function(e,i){vart;if(!r._isNumber(e)){thrownewError("Gimme slide number as Number, baby!")}if(!r.slideList[e]){returnfalse}n.hash=r.getSlideHash(e);r.updateProgress(e);r.updateActiveAndVisitedSlides(e);if(r.isSlideMode()){r.showPresenterNotes(e);t=r.slideList[e];if(t.timing){t.initTimer(r)}}if(typeofi==="function"){i()}returne};r.next=function(e){vari=r.getCurrentSlideNumber(),t=r.slideList[i+1];if(!t){returnfalse}r.go(i+1);if(typeofe==="function"){e()}returnthis};r._turnNextSlide=function(e){vari=r.getCurrentSlideNumber(),t=r.slideList[i];if(r.isSlideMode()){t.stopTimer();t.next(r)}else{r.go(i+1)}if(typeofe==="function"){e()}return};r.prev=r.previous=function(e){vari=r.getCurrentSlideNumber();if(i<1){returnfalse}r.go(i-1);if(typeofe==="function"){e()}returntrue};r._turnPreviousSlide=function(e){vari=r.getCurrentSlideNumber(),t=r.slideList[i];t.stopTimer();if(r.isSlideMode()){t.prev(r)}else{r.go(i-1)}if(typeofe==="function"){e()}returntrue};r.first=function(e){vari=r.slideList[r.getCurrentSlideNumber()];i.timing&&i.stopTimer();r.go(0);if(typeofe==="function"){e()}};r.last=function(e){vari=r.slideList[r.getCurrentSlideNumber()];i.timing&&