window.shower=window.shower||function(e,t,i){varr={},n=e.location,s=t.body,l=[],o=[],a,u=!!(e.history&&e.history.pushState);functiond(e){for(vartine){if(e.hasOwnProperty(t)){this[t]=e[t]}}}d.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){vart=this;if(!t.timing){returnfalse}t.stopTimer();if(t.isFinished()){a=setInterval(function(){t.stopTimer();e.next()},t.timing*(t.innerLength||1))}else{a=setInterval(function(){if(t.isFinished()){t.stopTimer();e.next()}else{t.next(e)}},t.timing)}returnthis},stopTimer:function(){if(a){clearInterval(a);a=false}returnthis},prev:function(e){vari,r=this;if(!r.hasInnerNavigation||r.isFinished()||r.innerComplete===0){e.prev();returnfalse}i=t.getElementById(r.id).querySelectorAll(".next.active");if(!i||i.length<1){returnfalse}if(r.innerComplete>0){r.innerComplete--;i[i.length-1].classList.remove("active")}else{e.prev()}returnthis},next:function(e){vari,r=this;if(!r.hasInnerNavigation||r.isFinished()){e.next();returnfalse}if(!r.isFinished()){i=t.getElementById(r.id).querySelectorAll(".next:not(.active)");i[0].classList.add("active");r.innerComplete++}returnthis}};r._getData=function(e,t){returne.dataset?e.dataset[t]:e.getAttribute("data-"+t)};r.slideList=[];r.init=function(e,i){varn;e=e||".slide";i=i||"div.progress div";l=t.querySelectorAll(e);o=t.querySelector(i);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(newd({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(){vart=Math.max(s.clientWidth/e.innerWidth,s.clientHeight/e.innerHeight);return"scale("+1/t+")"};r._applyTransform=function(e){["WebkitTransform","MozTransform","msTransform","OTransform","transform"].forEach(function(t){s.style[t]=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){vart=r.slideList.length-1,i;if(e===""){i=0}for(;t>=0;--t){if(e===r.slideList[t].id){i=t;break}}returni};r.go=function(e,t){vari;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);i=r.slideList[e];if(i.timing){i.initTimer(r)}}if(typeoft==="function"){t()}returne};r.next=function(e){vart=r.getCurrentSlideNumber(),i=r.slideList[t+1];if(!i){returnfalse}r.go(t+1);if(typeofe==="function"){e()}returnthis};r._turnNextSlide=function(e){vart=r.getCurrentSlideNumber(),i=r.slideList[t];if(r.isSlideMode()){i.stopTimer();i.next(r)}else{r.go(t+1)}if(typeofe==="function"){e()}return};r.prev=r.previous=function(e){vart=r.getCurrentSlideNumber();if(t<1){returnfalse}r.go(t-1);if(typeofe==="function"){e()}returntrue};r._turnPreviousSlide=function(e){vart=r.getCurrentSlideNumber(),i=r.slideList[t];i.stopTimer();if(r.isSlideMode()){i.prev(r)}else{r.go(t-1)}if(typeofe==="function"){e()}returntrue};r.first=function(e){vart=r.slideList[r.getCurrentSlideNumber()];t.timing&&t.stopTimer();r.go(0);if(typeofe==="function"){e()}};r.last=function(e){vart=r.slideList[r.getCurrentSlideNumber()];t.timing&&