presentazione-papero/dist/reveal.min.js

8 lines
62 KiB
JavaScript

/*!
* reveal.js 4.0.0-dev (Sat Mar 07 2020)
* https://revealjs.com
* MIT licensed
*
* Copyright (C) 2020 Hakim El Hattab, https://hakim.se
*/
!function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=0)}([function(e,t,a){"use strict";a.r(t);class n{constructor(e,t){this.diameter=100,this.diameter2=this.diameter/2,this.thickness=6,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=e,this.progressCheck=t,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.canvas.style.width=this.diameter2+"px",this.canvas.style.height=this.diameter2+"px",this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}setPlaying(e){const t=this.playing;this.playing=e,!t&&this.playing?this.animate():this.render()}animate(){const e=this.progress;this.progress=this.progressCheck(),e>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&requestAnimationFrame(this.animate.bind(this))}render(){let e=this.playing?this.progress:0,t=this.diameter2-this.thickness,a=this.diameter2,n=this.diameter2;this.progressOffset+=.1*(1-this.progressOffset);const r=-Math.PI/2+e*(2*Math.PI),i=-Math.PI/2+this.progressOffset*(2*Math.PI);this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(a,n,t+4,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(a,n,t,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="rgba( 255, 255, 255, 0.2 )",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(a,n,t,i,r,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(a-14,n-14),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,10,28),this.context.fillRect(18,0,10,28)):(this.context.beginPath(),this.context.translate(4,0),this.context.moveTo(0,0),this.context.lineTo(24,14),this.context.lineTo(0,28),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()}on(e,t){this.canvas.addEventListener(e,t,!1)}off(e,t){this.canvas.removeEventListener(e,t,!1)}destroy(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)}}var r={width:960,height:700,margin:.04,minScale:.2,maxScale:2,controls:!0,controlsTutorial:!0,controlsLayout:"bottom-right",controlsBackArrows:"faded",progress:!0,slideNumber:!1,showSlideNumber:"all",hashOneBasedIndex:!1,hash:!1,history:!1,keyboard:!0,keyboardCondition:null,overview:!0,disableLayout:!1,center:!0,touch:!0,loop:!1,rtl:!1,navigationMode:"default",shuffle:!1,fragments:!0,fragmentInURL:!1,embedded:!1,help:!0,pause:!0,showNotes:!1,autoPlayMedia:null,preloadIframes:null,autoAnimate:!0,autoAnimateMatcher:null,autoAnimateEasing:"ease",autoAnimateDuration:1,autoAnimateUnmatched:!0,autoAnimateStyles:["opacity","color","background-color","padding","font-size","line-height","letter-spacing","border-width","border-color","border-radius","outline","outline-offset"],autoSlide:0,autoSlideStoppable:!0,autoSlideMethod:null,defaultTiming:null,mouseWheel:!1,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundRepeat:"",parallaxBackgroundPosition:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,pdfMaxPagesPerSlide:Number.POSITIVE_INFINITY,pdfSeparateFragments:!0,pdfPageHeightOffset:-1,viewDistance:3,mobileViewDistance:2,display:"block",hideInactiveCursor:!0,hideCursorTime:5e3,dependencies:[]};const i=e=>Array.prototype.slice.call(e);function o(e,t){if(s(),autoAnimateStyleSheet&&autoAnimateStyleSheet.parentNode&&(autoAnimateStyleSheet.parentNode.removeChild(autoAnimateStyleSheet),autoAnimateStyleSheet=null),e.hasAttribute("data-auto-animate")&&t.hasAttribute("data-auto-animate")){autoAnimateStyleSheet=autoAnimateStyleSheet||document.createElement("style"),autoAnimateStyleSheet.type="text/css",document.head.appendChild(autoAnimateStyleSheet);let a=l(t);e.dataset.autoAnimate="pending",t.dataset.autoAnimate="pending";let n=function(e,t){let a=("function"==typeof config.autoAnimateMatcher?config.autoAnimateMatcher:c)(e,t),n=[];return a.filter((e,t)=>{if(-1===n.indexOf(e.to))return n.push(e.to),!0})}(e,t).map((function(e){return function(e,t,a,n,r){e.dataset.autoAnimateTarget="",t.dataset.autoAnimateTarget=r;let i=l(t,n);void 0!==a.delay&&(i.delay=a.delay);void 0!==a.duration&&(i.duration=a.duration);void 0!==a.easing&&(i.easing=a.easing);let o=d("from",e,a),s=d("to",t,a);if(!1!==a.translate||!1!==a.scale){let e=Reveal.getScale(),t={x:(o.x-s.x)/e,y:(o.y-s.y)/e,scaleX:o.width/s.width,scaleY:o.height/s.height};t.x=Math.round(1e3*t.x)/1e3,t.y=Math.round(1e3*t.y)/1e3,t.scaleX=Math.round(1e3*t.scaleX)/1e3,t.scaleX=Math.round(1e3*t.scaleX)/1e3;let n=!1!==a.translate&&(0!==t.x||0!==t.y),r=!1!==a.scale&&(0!==t.scaleX||0!==t.scaleY);if(n||r){let e=[];n&&e.push(`translate(${t.x}px, ${t.y}px)`),r&&e.push(`scale(${t.scaleX}, ${t.scaleY})`),o.styles.transform=e.join(" "),o.styles["transform-origin"]="top left",s.styles.transform="none"}}for(let e in s.styles){const t=s.styles[e],a=o.styles[e];t===a?delete s.styles[e]:(!0===t.explicitValue&&(s.styles[e]=t.value),!0===a.explicitValue&&(o.styles[e]=a.value))}let c="",u=Object.keys(s.styles);if(u.length>0){o.styles.transition="none",s.styles.transition=`all ${i.duration}s ${i.easing} ${i.delay}s`,s.styles["transition-property"]=u.join(", "),s.styles["will-change"]=u.join(", ");let e=Object.keys(o.styles).map((function(e){return e+": "+o.styles[e]+" !important;"})).join(""),t=Object.keys(s.styles).map((function(e){return e+": "+s.styles[e]+" !important;"})).join("");c='[data-auto-animate-target="'+r+'"] {'+e+'}[data-auto-animate="running"] [data-auto-animate-target="'+r+'"] {'+t+"}"}return c}(e.from,e.to,e.options||{},a,autoAnimateCounter++)}));"false"!==t.dataset.autoAnimateUnmatched&&!0===config.autoAnimateUnmatched&&(function e(t){return[].slice.call(t.children).reduce((t,a)=>{const n=a.querySelector("[data-auto-animate-target]");return a.hasAttribute("data-auto-animate-target")||n||t.push(a),a.querySelector("[data-auto-animate-target]")&&(t=t.concat(e(a))),t},[])}(t).forEach((function(e){e.dataset.autoAnimateTarget="unmatched"})),n.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${.8*a.duration}s ease ${.2*a.duration}s; }`)),autoAnimateStyleSheet.innerHTML=n.join(""),requestAnimationFrame(()=>{autoAnimateStyleSheet&&(getComputedStyle(autoAnimateStyleSheet).fontWeight,t.dataset.autoAnimate="running")}),dispatchEvent("autoanimate",{fromSlide:e,toSlide:t,sheet:autoAnimateStyleSheet})}}function s(){toArray(dom.wrapper.querySelectorAll("[data-auto-animate-target]")).forEach(e=>{delete e.dataset.autoAnimateTarget})}function l(e,t){let a={easing:config.autoAnimateEasing,duration:config.autoAnimateDuration,delay:0};if(a=extend(a,t),e.closest&&e.parentNode){let t=e.parentNode.closest("[data-auto-animate-target]");t&&(a=l(t,a))}return e.dataset.autoAnimateEasing&&(a.easing=e.dataset.autoAnimateEasing),e.dataset.autoAnimateDuration&&(a.duration=parseFloat(e.dataset.autoAnimateDuration)),e.dataset.autoAnimateDelay&&(a.delay=parseFloat(e.dataset.autoAnimateDelay)),a}function d(e,t,a){let n={styles:[]};if(!1!==a.translate||!1!==a.scale){let e;e="function"==typeof a.measure?a.measure(t):t.getBoundingClientRect(),n.x=e.x,n.y=e.y,n.width=e.width,n.height=e.height}const r=getComputedStyle(t);return(a.styles||config.autoAnimateStyles).forEach(t=>{let a;"string"==typeof t&&(t={property:t}),a=void 0!==t.from&&"from"===e?{value:t.from,explicitValue:!0}:void 0!==t.to&&"to"===e?{value:t.to,explicitValue:!0}:r[t.property],""!==a&&(n.styles[t.property]=a)}),n}function c(e,t){let a=[];const n="h1, h2, h3, h4, h5, h6, p, li";return p(a,e,t,"[data-id]",e=>e.nodeName+":::"+e.getAttribute("data-id")),p(a,e,t,n,e=>e.nodeName+":::"+e.innerText),p(a,e,t,"img, video, iframe",e=>e.nodeName+":::"+(e.getAttribute("src")||e.getAttribute("data-src"))),p(a,e,t,"pre",e=>e.nodeName+":::"+e.innerText),a.forEach(e=>{e.from.matches(n)?e.options={scale:!1}:e.from.matches("pre")&&(e.options={scale:!1,styles:["width","height"]},p(a,e.from,e.to,".hljs .hljs-ln-code",e=>e.textContent,{scale:!1,styles:[],measure:u}),p(a,e.from,e.to,".hljs .hljs-ln-line[data-line-number]",e=>e.getAttribute("data-line-number"),{scale:!1,styles:["width"],measure:u}))}),a}function u(e){const t=Reveal.getScale();return{x:Math.round(e.offsetLeft*t*100)/100,y:Math.round(e.offsetTop*t*100)/100,width:Math.round(e.offsetWidth*t*100)/100,height:Math.round(e.offsetHeight*t*100)/100}}function p(e,t,a,n,r,i){let o={},s={};[].slice.call(t.querySelectorAll(n)).forEach((e,t)=>{const a=r(e);"string"==typeof a&&a.length&&(o[a]=o[a]||[],o[a].push(e))}),[].slice.call(a.querySelectorAll(n)).forEach((t,a)=>{const n=r(t);let l;if(s[n]=s[n]||[],s[n].push(t),o[n]){const e=s[n].length-1,t=o[n].length-1;o[n][e]?(l=o[n][e],o[n][e]=null):o[n][t]&&(l=o[n][t],o[n][t]=null)}l&&e.push({from:l,to:t,options:i})})}var h=function(e,t){let a;const l=navigator.userAgent,d=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/;let c,u,p,h,f,g,m,v,y,b,w=!1,A=!1,k=null,S=null,E=!1,L=!1,x=[],M=1,N={layout:"",overview:""},q={},I={},P=[],T={},C=0,R=0,O=!1,z=0,D=!1,B=0,H=0,j=-1,$=!1,W={startX:0,startY:0,startCount:0,captured:!1,threshold:40},U={},V={};function F(){let e=Object.keys(I).length;if(0===e)X();else{let t=()=>{0==--e&&X()};for(let e in I){let a=I[e];if("function"==typeof a.init){let e=a.init();e&&"function"==typeof e.then?e.then(t):t()}else t()}}}function X(){P.length&&P.forEach(e=>{Y(e.src,e.callback)}),w=!0,q.slides.classList.add("no-transition"),m?q.wrapper.classList.add("no-hover"):q.wrapper.classList.remove("no-hover"),/iphone/gi.test(l)?q.wrapper.classList.add("ua-iphone"):q.wrapper.classList.remove("ua-iphone"),q.background=J(q.wrapper,"div","backgrounds",null),q.progress=J(q.wrapper,"div","progress","<span></span>"),q.progressbar=q.progress.querySelector("span"),q.controls=J(q.wrapper,"aside","controls",`<button class="navigate-left" aria-label="${c.rtl?"next slide":"previous slide"}"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-right" aria-label="${c.rtl?"previous slide":"next slide"}"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-up" aria-label="above slide"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-down" aria-label="below slide"><div class="controls-arrow"></div></button>`),q.slideNumber=J(q.wrapper,"div","slide-number",""),q.speakerNotes=J(q.wrapper,"div","speaker-notes",null),q.speakerNotes.setAttribute("data-prevent-swipe",""),q.speakerNotes.setAttribute("tabindex","0"),q.pauseOverlay=J(q.wrapper,"div","pause-overlay",c.controls?'<button class="resume-button">Resume presentation</button>':null),q.wrapper.setAttribute("role","application"),q.controlsLeft=i(document.querySelectorAll(".navigate-left")),q.controlsRight=i(document.querySelectorAll(".navigate-right")),q.controlsUp=i(document.querySelectorAll(".navigate-up")),q.controlsDown=i(document.querySelectorAll(".navigate-down")),q.controlsPrev=i(document.querySelectorAll(".navigate-prev")),q.controlsNext=i(document.querySelectorAll(".navigate-next")),q.controlsRightArrow=q.controls.querySelector(".navigate-right"),q.controlsLeftArrow=q.controls.querySelector(".navigate-left"),q.controlsDownArrow=q.controls.querySelector(".navigate-down"),q.statusDiv=function(){let e=document.getElementById("aria-status-div");return e||(e=document.createElement("div"),e.style.position="absolute",e.style.height="1px",e.style.width="1px",e.style.overflow="hidden",e.style.clip="rect( 1px, 1px, 1px, 1px )",e.setAttribute("id","aria-status-div"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),q.wrapper.appendChild(e)),e}(),c.postMessage&&window.addEventListener("message",e=>{const t=e.data;if("string"==typeof t&&"{"===t.charAt(0)&&"}"===t.charAt(t.length-1)&&(t=JSON.parse(t),t.method&&"function"==typeof a[t.method]))if(!1===d.test(t.method)){var n=a[t.method].apply(a,t.args);de("callback",{method:t.method,result:n})}else console.warn('reveal.js: "'+t.method+'" is is blacklisted from the postMessage API')},!1),setInterval(()=>{0===q.wrapper.scrollTop&&0===q.wrapper.scrollLeft||(q.wrapper.scrollTop=0,q.wrapper.scrollLeft=0)},1e3),ct().forEach((function(e){i(e.querySelectorAll("section")).forEach((e,t)=>{t>0&&(e.classList.remove("present"),e.classList.remove("past"),e.classList.add("future"),e.setAttribute("aria-hidden","true"))})})),G(),ot(),Xe(!0),setTimeout(()=>{q.slides.classList.remove("no-transition"),q.wrapper.classList.add("ready"),le("ready",{indexh:u,indexv:p,currentSlide:f})},1),se()&&(te(),"complete"===document.readyState?_():window.addEventListener("load",_))}function Y(e,t){const a=document.createElement("script");a.type="text/javascript",a.async=!1,a.defer=!1,a.src=e,t&&(a.onload=a.onreadystatechange=e=>{("load"===e.type||/loaded|complete/.test(a.readyState))&&(a.onload=a.onreadystatechange=a.onerror=null,t())},a.onerror=e=>{a.onload=a.onreadystatechange=a.onerror=null,t(new Error("Failed loading script: "+a.src+"\n"+e))});const n=document.querySelector("head");n.insertBefore(a,n.lastChild)}function K(e){let t="";if(3===e.nodeType)t+=e.textContent;else if(1===e.nodeType){let a=e.getAttribute("aria-hidden"),n="none"===window.getComputedStyle(e).display;"true"===a||n||i(e.childNodes).forEach(e=>{t+=K(e)})}return t.trim()}function _(){var e=ve(window.innerWidth,window.innerHeight),t=Math.floor(e.width*(1+c.margin)),a=Math.floor(e.height*(1+c.margin)),n=e.width,r=e.height;re("@page{size:"+t+"px "+a+"px; margin: 0px;}"),re(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+n+"px; max-height:"+r+"px}"),document.body.classList.add("print-pdf"),document.body.style.width=t+"px",document.body.style.height=a+"px",me(n,r);var o=c.slideNumber&&/all|print/i.test(c.showSlideNumber);i(q.wrapper.querySelectorAll(".slides section")).forEach((function(e){e.setAttribute("data-slide-number",Ve(e))})),i(q.wrapper.querySelectorAll(".slides section")).forEach((function(e){if(!1===e.classList.contains("stack")){var s=(t-n)/2,l=(a-r)/2,d=e.scrollHeight,u=Math.max(Math.ceil(d/a),1);(1===(u=Math.min(u,c.pdfMaxPagesPerSlide))&&c.center||e.classList.contains("center"))&&(l=Math.max((a-d)/2,0));var p=document.createElement("div");if(p.className="pdf-page",p.style.height=(a+c.pdfPageHeightOffset)*u+"px",e.parentNode.insertBefore(p,e),p.appendChild(e),e.style.left=s+"px",e.style.top=l+"px",e.style.width=n+"px",e.slideBackgroundElement&&p.insertBefore(e.slideBackgroundElement,e),c.showNotes){var h=vt(e);if(h){var f="string"==typeof c.showNotes?c.showNotes:"inline",g=document.createElement("div");g.classList.add("speaker-notes"),g.classList.add("speaker-notes-pdf"),g.setAttribute("data-layout",f),g.innerHTML=h,"separate-page"===f?p.parentNode.insertBefore(g,p.nextSibling):(g.style.left="8px",g.style.bottom="8px",g.style.width=t-16+"px",p.appendChild(g))}}if(o){var m=document.createElement("div");m.classList.add("slide-number"),m.classList.add("slide-number-pdf"),m.innerHTML=e.getAttribute("data-slide-number"),p.appendChild(m)}if(c.pdfSeparateFragments){var v,y,b=bt(p.querySelectorAll(".fragment"),!0);b.forEach((function(e){v&&v.forEach((function(e){e.classList.remove("current-fragment")})),e.forEach((function(e){e.classList.add("visible","current-fragment")}));var t=p.cloneNode(!0);p.parentNode.insertBefore(t,(y||p).nextSibling),v=e,y=t})),b.forEach((function(e){e.forEach((function(e){e.classList.remove("visible","current-fragment")}))}))}else i(p.querySelectorAll(".fragment:not(.fade-out)")).forEach((function(e){e.classList.add("visible")}))}})),le("pdf-ready")}function J(e,t,a,n=""){let r=e.querySelectorAll("."+a);for(let t=0;t<r.length;t++){let a=r[t];if(a.parentNode===e)return a}let i=document.createElement(t);return i.className=a,i.innerHTML=n,e.appendChild(i),i}function Q(e,t){let a=document.createElement("div");a.className="slide-background "+e.className.replace(/present|past|future/,"");let n=document.createElement("div");return n.className="slide-background-content",a.appendChild(n),t.appendChild(a),e.slideBackgroundElement=a,e.slideBackgroundContentElement=n,Z(e),a}function Z(e){let t=e.slideBackgroundElement,a=e.slideBackgroundContentElement;e.classList.remove("has-dark-background"),e.classList.remove("has-light-background"),t.removeAttribute("data-loaded"),t.removeAttribute("data-background-hash"),t.removeAttribute("data-background-size"),t.removeAttribute("data-background-transition"),t.style.backgroundColor="",a.style.backgroundSize="",a.style.backgroundRepeat="",a.style.backgroundPosition="",a.style.backgroundImage="",a.style.opacity="",a.innerHTML="";let n={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundImage:e.getAttribute("data-background-image"),backgroundVideo:e.getAttribute("data-background-video"),backgroundIframe:e.getAttribute("data-background-iframe"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position"),backgroundTransition:e.getAttribute("data-background-transition"),backgroundOpacity:e.getAttribute("data-background-opacity")};n.background&&(/^(http|file|\/\/)/gi.test(n.background)||/\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.test(n.background)?e.setAttribute("data-background-image",n.background):t.style.background=n.background),(n.background||n.backgroundColor||n.backgroundImage||n.backgroundVideo||n.backgroundIframe)&&t.setAttribute("data-background-hash",n.background+n.backgroundSize+n.backgroundImage+n.backgroundVideo+n.backgroundIframe+n.backgroundColor+n.backgroundRepeat+n.backgroundPosition+n.backgroundTransition+n.backgroundOpacity),n.backgroundSize&&t.setAttribute("data-background-size",n.backgroundSize),n.backgroundColor&&(t.style.backgroundColor=n.backgroundColor),n.backgroundTransition&&t.setAttribute("data-background-transition",n.backgroundTransition),e.hasAttribute("data-preload")&&t.setAttribute("data-preload",""),n.backgroundSize&&(a.style.backgroundSize=n.backgroundSize),n.backgroundRepeat&&(a.style.backgroundRepeat=n.backgroundRepeat),n.backgroundPosition&&(a.style.backgroundPosition=n.backgroundPosition),n.backgroundOpacity&&(a.style.opacity=n.backgroundOpacity);let r=n.backgroundColor;if(!r){let e=window.getComputedStyle(t);e&&e.backgroundColor&&(r=e.backgroundColor)}if(r){let t=oe(r);t&&0!==t.a&&(function(e){"string"==typeof e&&(e=oe(e));if(e)return(299*e.r+587*e.g+114*e.b)/1e3;return null}(r)<128?e.classList.add("has-dark-background"):e.classList.add("has-light-background"))}}function G(e){const t=c.transition;if("object"==typeof e&&extend(c,e),!1===w)return;const a=q.wrapper.querySelectorAll(".slides section").length;q.wrapper.classList.remove(t),q.wrapper.classList.add(c.transition),q.wrapper.setAttribute("data-transition-speed",c.transitionSpeed),q.wrapper.setAttribute("data-background-transition",c.backgroundTransition),q.controls.style.display=c.controls?"block":"none",q.progress.style.display=c.progress?"block":"none",q.controls.setAttribute("data-controls-layout",c.controlsLayout),q.controls.setAttribute("data-controls-back-arrows",c.controlsBackArrows),c.shuffle&&Be(),c.rtl?q.wrapper.classList.add("rtl"):q.wrapper.classList.remove("rtl"),c.center?q.wrapper.classList.add("center"):q.wrapper.classList.remove("center"),!1===c.pause&&Pe(),c.showNotes&&q.speakerNotes.setAttribute("data-layout","string"==typeof c.showNotes?c.showNotes:"inline"),c.mouseWheel?(document.addEventListener("DOMMouseScroll",Ft,!1),document.addEventListener("mousewheel",Ft,!1)):(document.removeEventListener("DOMMouseScroll",Ft,!1),document.removeEventListener("mousewheel",Ft,!1)),c.hideInactiveCursor?(document.addEventListener("mousemove",zt,!1),document.addEventListener("mousedown",zt,!1)):(Ne(),document.removeEventListener("mousemove",zt,!1),document.removeEventListener("mousedown",zt,!1)),c.previewLinks?(ce(),ue("[data-preview-link=false]")):(ue(),ce("[data-preview-link]:not([data-preview-link=false])")),i(q.slides.querySelectorAll('[data-auto-animate]:not([data-auto-animate=""])')).forEach((function(e){e.dataset.autoAnimate=""})),s(),y&&y.parentNode&&(y.parentNode.removeChild(y),y=null),b&&(b.destroy(),b=null),a>1&&c.autoSlide&&c.autoSlideStoppable&&(b=new n(q.wrapper,()=>Math.min(Math.max((Date.now()-j)/B,0),1)),b.on("click",ra),$=!1),!1===c.fragments&&i(q.slides.querySelectorAll(".fragment")).forEach(e=>{e.classList.add("visible"),e.classList.remove("current-fragment")});let r="none";c.slideNumber&&!se()&&("all"===c.showSlideNumber||"speaker"===c.showSlideNumber&&it())&&(r="block"),q.slideNumber.style.display=r,"default"!==c.navigationMode?q.wrapper.setAttribute("data-navigation-mode",c.navigationMode):q.wrapper.removeAttribute("data-navigation-mode"),"linear"===c.navigationMode?(U["&#8594; , &#8595; , SPACE , N , L , J"]="Next slide",U["&#8592; , &#8593; , P , H , K"]="Previous slide"):(U["N , SPACE"]="Next slide",U.P="Previous slide",U["&#8592; , H"]="Navigate left",U["&#8594; , L"]="Navigate right",U["&#8593; , K"]="Navigate up",U["&#8595; , J"]="Navigate down"),U["Home , Shift &#8592;"]="First slide",U["End , Shift &#8594;"]="Last slide",U["B , ."]="Pause",U.F="Fullscreen",U["ESC, O"]="Slide overview",ze()}function ee(){D=!0,window.addEventListener("hashchange",Gt,!1),window.addEventListener("resize",ea,!1),c.touch&&("onpointerdown"in window?(q.wrapper.addEventListener("pointerdown",Wt,!1),q.wrapper.addEventListener("pointermove",Ut,!1),q.wrapper.addEventListener("pointerup",Vt,!1)):window.navigator.msPointerEnabled?(q.wrapper.addEventListener("MSPointerDown",Wt,!1),q.wrapper.addEventListener("MSPointerMove",Ut,!1),q.wrapper.addEventListener("MSPointerUp",Vt,!1)):(q.wrapper.addEventListener("touchstart",Ht,!1),q.wrapper.addEventListener("touchmove",jt,!1),q.wrapper.addEventListener("touchend",$t,!1))),c.keyboard&&(document.addEventListener("keydown",Bt,!1),document.addEventListener("keypress",Dt,!1)),c.progress&&q.progress&&q.progress.addEventListener("click",Xt,!1),q.pauseOverlay.addEventListener("click",Pe,!1),c.focusBodyOnPageVisibilityChange&&document.addEventListener("visibilitychange",ta,!1);let e=["touchstart","click"];l.match(/android/gi)&&(e=["touchstart"]),e.forEach((function(e){q.controlsLeft.forEach((function(t){t.addEventListener(e,Yt,!1)})),q.controlsRight.forEach((function(t){t.addEventListener(e,Kt,!1)})),q.controlsUp.forEach((function(t){t.addEventListener(e,_t,!1)})),q.controlsDown.forEach((function(t){t.addEventListener(e,Jt,!1)})),q.controlsPrev.forEach((function(t){t.addEventListener(e,Qt,!1)})),q.controlsNext.forEach((function(t){t.addEventListener(e,Zt,!1)}))}))}function te(){D=!1,document.removeEventListener("keydown",Bt,!1),document.removeEventListener("keypress",Dt,!1),window.removeEventListener("hashchange",Gt,!1),window.removeEventListener("resize",ea,!1),q.wrapper.removeEventListener("pointerdown",Wt,!1),q.wrapper.removeEventListener("pointermove",Ut,!1),q.wrapper.removeEventListener("pointerup",Vt,!1),q.wrapper.removeEventListener("MSPointerDown",Wt,!1),q.wrapper.removeEventListener("MSPointerMove",Ut,!1),q.wrapper.removeEventListener("MSPointerUp",Vt,!1),q.wrapper.removeEventListener("touchstart",Ht,!1),q.wrapper.removeEventListener("touchmove",jt,!1),q.wrapper.removeEventListener("touchend",$t,!1),q.pauseOverlay.removeEventListener("click",Pe,!1),c.progress&&q.progress&&q.progress.removeEventListener("click",Xt,!1),["touchstart","click"].forEach((function(e){q.controlsLeft.forEach((function(t){t.removeEventListener(e,Yt,!1)})),q.controlsRight.forEach((function(t){t.removeEventListener(e,Kt,!1)})),q.controlsUp.forEach((function(t){t.removeEventListener(e,_t,!1)})),q.controlsDown.forEach((function(t){t.removeEventListener(e,Jt,!1)})),q.controlsPrev.forEach((function(t){t.removeEventListener(e,Qt,!1)})),q.controlsNext.forEach((function(t){t.removeEventListener(e,Zt,!1)}))}))}function ae(e,t){e.style.transform=t}function ne(e){"string"==typeof e.layout&&(N.layout=e.layout),"string"==typeof e.overview&&(N.overview=e.overview),N.layout?ae(q.slides,N.layout+" "+N.overview):ae(q.slides,N.overview)}function re(e){let t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),document.getElementsByTagName("head")[0].appendChild(t)}function ie(e,t){let a=e.parentNode;for(;a;){let e=a.matches||a.matchesSelector||a.msMatchesSelector;if(e&&e.call(a,t))return a;a=a.parentNode}return null}function oe(e){let t=e.match(/^#([0-9a-f]{3})$/i);if(t&&t[1])return t=t[1],{r:17*parseInt(t.charAt(0),16),g:17*parseInt(t.charAt(1),16),b:17*parseInt(t.charAt(2),16)};let a=e.match(/^#([0-9a-f]{6})$/i);if(a&&a[1])return a=a[1],{r:parseInt(a.substr(0,2),16),g:parseInt(a.substr(2,2),16),b:parseInt(a.substr(4,2),16)};let n=e.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(n)return{r:parseInt(n[1],10),g:parseInt(n[2],10),b:parseInt(n[3],10)};let r=e.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return r?{r:parseInt(r[1],10),g:parseInt(r[2],10),b:parseInt(r[3],10),a:parseFloat(r[4])}:null}function se(){return/print-pdf/gi.test(window.location.search)}function le(e,t){let a=document.createEvent("HTMLEvents",1,2);a.initEvent(e,!0,!0),extend(a,t),q.wrapper.dispatchEvent(a),de(e)}function de(e,t){if(c.postMessageEvents&&window.parent!==window.self){let a={namespace:"reveal",eventName:e,state:yt()};extend(a,t),window.parent.postMessage(JSON.stringify(a),"*")}}function ce(e="a"){i(document.querySelectorAll(e)).forEach(e=>{/^(http|www)/gi.test(e.getAttribute("href"))&&e.addEventListener("click",na,!1)})}function ue(e="a"){i(document.querySelectorAll(e)).forEach(e=>{/^(http|www)/gi.test(e.getAttribute("href"))&&e.removeEventListener("click",na,!1)})}function pe(e){"boolean"==typeof e?e?he():fe():q.overlay?fe():he()}function he(){if(c.help){fe(),q.overlay=document.createElement("div"),q.overlay.classList.add("overlay"),q.overlay.classList.add("overlay-help"),q.wrapper.appendChild(q.overlay);let a='<p class="title">Keyboard Shortcuts</p><br/>';for(var e in a+="<table><th>KEY</th><th>ACTION</th>",U)a+=`<tr><td>${e}</td><td>${U[e]}</td></tr>`;for(var t in V)V[t].key&&V[t].description&&(a+=`<tr><td>${V[t].key}</td><td>${V[t].description}</td></tr>`);a+="</table>",q.overlay.innerHTML=`\n\t\t\t\t<header>\n\t\t\t\t\t<a class="close" href="#"><span class="icon"></span></a>\n\t\t\t\t</header>\n\t\t\t\t<div class="viewport">\n\t\t\t\t\t<div class="viewport-inner">${a}</div>\n\t\t\t\t</div>\n\t\t\t`,q.overlay.querySelector(".close").addEventListener("click",(function(e){fe(),e.preventDefault()}),!1)}}function fe(){q.overlay&&(q.overlay.parentNode.removeChild(q.overlay),q.overlay=null)}function ge(){if(q.wrapper&&!se()){if(!c.disableLayout){m&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");const a=ve(),n=M;me(c.width,c.height),q.slides.style.width=a.width+"px",q.slides.style.height=a.height+"px",M=Math.min(a.presentationWidth/a.width,a.presentationHeight/a.height),M=Math.max(M,c.minScale),M=Math.min(M,c.maxScale),1===M?(q.slides.style.zoom="",q.slides.style.left="",q.slides.style.top="",q.slides.style.bottom="",q.slides.style.right="",ne({layout:""})):M>1&&T.zoom&&window.devicePixelRatio<2?(q.slides.style.zoom=M,q.slides.style.left="",q.slides.style.top="",q.slides.style.bottom="",q.slides.style.right="",ne({layout:""})):(q.slides.style.zoom="",q.slides.style.left="50%",q.slides.style.top="50%",q.slides.style.bottom="auto",q.slides.style.right="auto",ne({layout:"translate(-50%, -50%) scale("+M+")"}));const r=i(q.wrapper.querySelectorAll(".slides section"));for(var e=0,t=r.length;e<t;e++){const t=r[e];"none"!==t.style.display&&(c.center||t.classList.contains("center")?t.classList.contains("stack")?t.style.top=0:t.style.top=Math.max((a.height-t.scrollHeight)/2,0)+"px":t.style.top="")}n!==M&&le("resize",{oldScale:n,scale:M,size:a})}We(),Ye(),Le()&&ke()}}function me(e,t){i(q.slides.querySelectorAll("section > .stretch")).forEach(a=>{var n=function(e,t=0){if(e){let a,n=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",a=t-e.parentNode.offsetHeight,e.style.height=n+"px",e.parentNode.style.removeProperty("height"),a}return t}(a,t);if(/(img|video)/gi.test(a.nodeName)){const t=a.naturalWidth||a.videoWidth,r=a.naturalHeight||a.videoHeight,i=Math.min(e/t,n/r);a.style.width=t*i+"px",a.style.height=r*i+"px"}else a.style.width=e+"px",a.style.height=n+"px"})}function ve(e,t){const a={width:c.width,height:c.height,presentationWidth:e||q.wrapper.offsetWidth,presentationHeight:t||q.wrapper.offsetHeight};return a.presentationWidth-=a.presentationWidth*c.margin,a.presentationHeight-=a.presentationHeight*c.margin,"string"==typeof a.width&&/%$/.test(a.width)&&(a.width=parseInt(a.width,10)/100*a.presentationWidth),"string"==typeof a.height&&/%$/.test(a.height)&&(a.height=parseInt(a.height,10)/100*a.presentationHeight),a}function ye(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function be(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){const t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function we(){if(c.overview&&!Le()){A=!0,q.wrapper.classList.add("overview"),Lt(),q.slides.appendChild(q.background),i(q.wrapper.querySelectorAll(".slides section")).forEach(e=>{e.classList.contains("stack")||e.addEventListener("click",aa,!0)});const e=70,t=ve();k=t.width+e,S=t.height+e,c.rtl&&(k=-k),je(),Ae(),ke(),ge(),le("overviewshown",{indexh:u,indexv:p,currentSlide:f})}}function Ae(){i(q.wrapper.querySelectorAll(".slides>section")).forEach((e,t)=>{e.setAttribute("data-index-h",t),ae(e,"translate3d("+t*k+"px, 0, 0)"),e.classList.contains("stack")&&i(e.querySelectorAll("section")).forEach((e,a)=>{e.setAttribute("data-index-h",t),e.setAttribute("data-index-v",a),ae(e,"translate3d(0, "+a*S+"px, 0)")})}),i(q.background.childNodes).forEach((e,t)=>{ae(e,"translate3d("+t*k+"px, 0, 0)"),i(e.querySelectorAll(".slide-background")).forEach((e,t)=>{ae(e,"translate3d(0, "+t*S+"px, 0)")})})}function ke(){const e=Math.min(window.innerWidth,window.innerHeight);ne({overview:["scale("+Math.max(e/5,150)/e+")","translateX("+-u*k+"px)","translateY("+-p*S+"px)"].join(" ")})}function Se(){c.overview&&(A=!1,q.wrapper.classList.remove("overview"),q.wrapper.classList.add("overview-deactivating"),setTimeout(()=>{q.wrapper.classList.remove("overview-deactivating")},1),q.wrapper.appendChild(q.background),i(q.wrapper.querySelectorAll(".slides section")).forEach(e=>{ae(e,""),e.removeEventListener("click",aa,!0)}),i(q.background.querySelectorAll(".slide-background")).forEach(e=>{ae(e,"")}),ne({overview:""}),Oe(u,p),ge(),Et(),le("overviewhidden",{indexh:u,indexv:p,currentSlide:f}))}function Ee(e){"boolean"==typeof e?e?we():Se():Le()?Se():we()}function Le(){return A}function xe(e){let t="/",a=e||f,n=a?a.getAttribute("id"):null;n&&(n=encodeURIComponent(n));let r=lt(e);if(c.fragmentInURL||(r.f=void 0),"string"==typeof n&&n.length&&void 0===r.f)t="/"+n;else{let e=c.hashOneBasedIndex?1:0;(r.h>0||r.v>0||void 0!==r.f)&&(t+=r.h+e),(r.v>0||void 0!==r.f)&&(t+="/"+(r.v+e)),void 0!==r.f&&(t+="/"+r.f)}return t}function Me(e=f){return e&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function Ne(){O&&(O=!1,q.wrapper.style.cursor="")}function qe(){!1===O&&(O=!0,q.wrapper.style.cursor="none")}function Ie(){if(c.pause){const e=q.wrapper.classList.contains("paused");Lt(),q.wrapper.classList.add("paused"),!1===e&&le("paused")}}function Pe(){const e=q.wrapper.classList.contains("paused");q.wrapper.classList.remove("paused"),Et(),e&&le("resumed")}function Te(e){"boolean"==typeof e?e?Ie():Pe():Ce()?Pe():Ie()}function Ce(){return q.wrapper.classList.contains("paused")}function Re(e){"boolean"==typeof e?e?Mt():xt():$?Mt():xt()}function Oe(e,t,n,r){h=f;const s=q.wrapper.querySelectorAll(".slides>section");if(0===s.length)return;void 0!==t||Le()||(t=be(s[e])),h&&h.parentNode&&h.parentNode.classList.contains("stack")&&ye(h.parentNode,p);const l=x.concat();x.length=0;let d=u||0,g=p||0;u=He(".slides>section",void 0===e?u:e),p=He(".slides>section.present>section",void 0===t?p:t),je(),ge(),Le()&&ke();let m=s[u],v=m.querySelectorAll("section");f=v[p]||m,void 0!==n&&At(n);let y=u!==d||p!==g;y||(h=null),h&&h!==f&&(h.classList.remove("present"),h.setAttribute("aria-hidden","true"),a.isFirstSlide()&&setTimeout(()=>{i(q.wrapper.querySelectorAll(".slides>section.stack")).forEach(e=>{ye(e,0)})},0));e:for(let e=0,t=x.length;e<t;e++){for(let t=0;t<l.length;t++)if(l[t]===x[e]){l.splice(t,1);continue e}document.documentElement.classList.add(x[e]),le(x[e])}for(;l.length;)document.documentElement.classList.remove(l.pop());y&&le("slidechanged",{indexh:u,indexv:p,previousSlide:h,currentSlide:f,origin:r}),!y&&h||(at(h),Ge(f)),q.statusDiv.textContent=K(f),Fe(),We(),Xe(),Ye(),Ue(),$e(),wt(),st(),Et(),y&&h&&f&&!Le()&&h.hasAttribute("data-auto-animate")&&f.hasAttribute("data-auto-animate")&&(q.slides.classList.add("disable-slide-transitions"),setTimeout(()=>{q.slides.classList.remove("disable-slide-transitions")},0),c.autoAnimate&&o(h,f))}function ze(){te(),ee(),ge(),B=c.autoSlide,Et(),se(),q.background.innerHTML="",q.background.classList.add("no-transition"),i(q.wrapper.querySelectorAll(".slides>section")).forEach(e=>{let t=Q(e,q.background);i(e.querySelectorAll("section")).forEach(e=>{Q(e,t),t.classList.add("stack")})}),c.parallaxBackgroundImage?(q.background.style.backgroundImage='url("'+c.parallaxBackgroundImage+'")',q.background.style.backgroundSize=c.parallaxBackgroundSize,q.background.style.backgroundRepeat=c.parallaxBackgroundRepeat,q.background.style.backgroundPosition=c.parallaxBackgroundPosition,setTimeout(()=>{q.wrapper.classList.add("has-parallax-background")},1)):(q.background.style.backgroundImage="",q.wrapper.classList.remove("has-parallax-background")),st(),ct().forEach(e=>{let t=i(e.querySelectorAll("section"));t.forEach((e,t)=>{bt(e.querySelectorAll(".fragment"))}),0===t.length&&bt(e.querySelectorAll(".fragment"))}),Fe(),We(),Ue(),je(),Xe(!0),c.showNotes&&q.slides.querySelectorAll("[data-notes], aside.notes").length>0?q.wrapper.classList.add("show-notes"):q.wrapper.classList.remove("show-notes"),$e(),function(){let e=(e,t,a)=>{i(q.slides.querySelectorAll("iframe["+e+'*="'+t+'"]')).forEach(t=>{var n=t.getAttribute(e);n&&-1===n.indexOf(a)&&t.setAttribute(e,n+(/\?/.test(n)?"&":"?")+a)})};e("src","youtube.com/embed/","enablejsapi=1"),e("data-src","youtube.com/embed/","enablejsapi=1"),e("src","player.vimeo.com/","api=1"),e("data-src","player.vimeo.com/","api=1")}(),!1===c.autoPlayMedia?at(f,{unloadIframes:!1}):Ge(f),Le()&&Ae()}function De(e=f){return bt(e.querySelectorAll(".fragment"))}function Be(){ct().forEach((e,t,a)=>{q.slides.insertBefore(e,a[Math.floor(Math.random()*a.length)])})}function He(e,t){let a=i(q.wrapper.querySelectorAll(e)),n=a.length,r=se();if(n){c.loop&&(t%=n)<0&&(t=n+t),t=Math.max(Math.min(t,n-1),0);for(let e=0;e<n;e++){let n=a[e],o=c.rtl&&!Me(n);n.classList.remove("past","present","future"),n.setAttribute("hidden",""),n.setAttribute("aria-hidden","true"),n.querySelector("section")&&n.classList.add("stack"),r?n.classList.add("present"):e<t?(n.classList.add(o?"future":"past"),c.fragments&&i(n.querySelectorAll(".fragment")).forEach(e=>{e.classList.add("visible"),e.classList.remove("current-fragment")})):e>t&&(n.classList.add(o?"past":"future"),c.fragments&&i(n.querySelectorAll(".fragment.visible")).forEach(e=>{e.classList.remove("visible","current-fragment")}))}a[t].classList.add("present"),a[t].removeAttribute("hidden"),a[t].removeAttribute("aria-hidden");let e=a[t].getAttribute("data-state");e&&(x=x.concat(e.split(" ")))}else t=0;return t}function je(){let e,t,a=ct(),n=a.length;if(n&&void 0!==u){let r=Le()?10:c.viewDistance;m&&(r=Le()?6:c.mobileViewDistance),se()&&(r=Number.MAX_VALUE);for(let o=0;o<n;o++){let s=a[o],l=i(s.querySelectorAll("section")),d=l.length;if(e=Math.abs((u||0)-o)||0,c.loop&&(e=Math.abs(((u||0)-o)%(n-r))||0),e<r?_e(s):Je(s),d){let a=be(s);for(let n=0;n<d;n++){let i=l[n];t=o===(u||0)?Math.abs((p||0)-n):Math.abs(n-a),e+t<r?_e(i):Je(i)}}}ht()?q.wrapper.classList.add("has-vertical-slides"):q.wrapper.classList.remove("has-vertical-slides"),pt()?q.wrapper.classList.add("has-horizontal-slides"):q.wrapper.classList.remove("has-horizontal-slides")}}function $e(){c.showNotes&&q.speakerNotes&&f&&!se()&&(q.speakerNotes.innerHTML=vt()||'<span class="notes-placeholder">No notes on this slide.</span>')}function We(){c.progress&&q.progressbar&&(q.progressbar.style.width=rt()*q.wrapper.offsetWidth+"px")}function Ue(){c.slideNumber&&q.slideNumber&&(q.slideNumber.innerHTML=Ve())}function Ve(e=f){let t,a="h.v";if("function"==typeof c.slideNumber)t=c.slideNumber(e);else switch("string"==typeof c.slideNumber&&(a=c.slideNumber),/c/.test(a)||1!==q.wrapper.querySelectorAll(".slides>section").length||(a="c"),t=[],a){case"c":t.push(nt(e)+1);break;case"c/t":t.push(nt(e)+1,"/",ft());break;default:let n=lt(e);t.push(n.h+1);let r="h/v"===a?"/":".";Me(e)&&t.push(r,n.v+1)}let n="#"+xe(e);return function(e,t,a,n="#"+xe()){return"number"!=typeof a||isNaN(a)?`<a href="${n}">\n\t\t\t\t\t<span class="slide-number-a">${e}</span>\n\t\t\t\t\t</a>`:`<a href="${n}">\n\t\t\t\t\t<span class="slide-number-a">${e}</span>\n\t\t\t\t\t<span class="slide-number-delimiter">${t}</span>\n\t\t\t\t\t<span class="slide-number-b">${a}</span>\n\t\t\t\t\t</a>`}(t[0],t[1],t[2],n)}function Fe(){let e=Qe(),t=Ze();[...q.controlsLeft,...q.controlsRight,...q.controlsUp,...q.controlsDown,...q.controlsPrev,...q.controlsNext].forEach(e=>{e.classList.remove("enabled","fragmented"),e.setAttribute("disabled","disabled")}),e.left&&q.controlsLeft.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.right&&q.controlsRight.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.up&&q.controlsUp.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.down&&q.controlsDown.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.left||e.up)&&q.controlsPrev.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.right||e.down)&&q.controlsNext.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),f&&(t.prev&&q.controlsPrev.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&q.controlsNext.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),Me(f)?(t.prev&&q.controlsUp.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&q.controlsDown.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})):(t.prev&&q.controlsLeft.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&q.controlsRight.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}))),c.controlsTutorial&&(!L&&e.down?q.controlsDownArrow.classList.add("highlight"):(q.controlsDownArrow.classList.remove("highlight"),c.rtl?!E&&e.left&&0===p?q.controlsLeftArrow.classList.add("highlight"):q.controlsLeftArrow.classList.remove("highlight"):!E&&e.right&&0===p?q.controlsRightArrow.classList.add("highlight"):q.controlsRightArrow.classList.remove("highlight")))}function Xe(e=!1){let t=null,a=c.rtl?"future":"past",n=c.rtl?"past":"future";if(i(q.background.childNodes).forEach((r,o)=>{r.classList.remove("past","present","future"),o<u?r.classList.add(a):o>u?r.classList.add(n):(r.classList.add("present"),t=r),(e||o===u)&&i(r.querySelectorAll(".slide-background")).forEach((e,a)=>{e.classList.remove("past","present","future"),a<p?e.classList.add("past"):a>p?e.classList.add("future"):(e.classList.add("present"),o===u&&(t=e))})}),g&&at(g,{unloadIframes:!Ke(g)}),t){Ge(t);let e=t.querySelector(".slide-background-content");if(e){let t=e.style.backgroundImage||"";/\.gif/i.test(t)&&(e.style.backgroundImage="",window.getComputedStyle(e).opacity,e.style.backgroundImage=t)}let a=g?g.getAttribute("data-background-hash"):null,n=t.getAttribute("data-background-hash");n&&n===a&&t!==g&&q.background.classList.add("no-transition"),g=t}f&&["has-light-background","has-dark-background"].forEach(e=>{f.classList.contains(e)?q.wrapper.classList.add(e):q.wrapper.classList.remove(e)}),setTimeout(()=>{q.background.classList.remove("no-transition")},1)}function Ye(){if(c.parallaxBackgroundImage){let e,t,a=ct(),n=ut(),r=q.background.style.backgroundSize.split(" ");1===r.length?e=t=parseInt(r[0],10):(e=parseInt(r[0],10),t=parseInt(r[1],10));let i,o,s=q.background.offsetWidth,l=a.length;i="number"==typeof c.parallaxBackgroundHorizontal?c.parallaxBackgroundHorizontal:l>1?(e-s)/(l-1):0,o=i*u*-1;let d,h,f=q.background.offsetHeight,g=n.length;d="number"==typeof c.parallaxBackgroundVertical?c.parallaxBackgroundVertical:(t-f)/(g-1),h=g>0?d*p:0,q.background.style.backgroundPosition=o+"px "+-h+"px"}}function Ke(e){let t=c.preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}function _e(e,t={}){e.style.display=c.display,i(e.querySelectorAll("img[data-src], video[data-src], audio[data-src], iframe[data-src]")).forEach(e=>{("IFRAME"!==e.tagName||Ke(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))}),i(e.querySelectorAll("video, audio")).forEach(e=>{var t=0;i(e.querySelectorAll("source[data-src]")).forEach(e=>{e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),e.setAttribute("data-lazy-loaded",""),t+=1}),t>0&&e.load()});let a=e.slideBackgroundElement;if(a){a.style.display="block";let n=e.slideBackgroundContentElement,r=e.getAttribute("data-background-iframe");if(!1===a.hasAttribute("data-loaded")){a.setAttribute("data-loaded","true");let i=e.getAttribute("data-background-image"),o=e.getAttribute("data-background-video"),s=e.hasAttribute("data-background-video-loop"),l=e.hasAttribute("data-background-video-muted");if(i)n.style.backgroundImage="url("+encodeURI(i)+")";else if(o&&!it()){let e=document.createElement("video");s&&e.setAttribute("loop",""),l&&(e.muted=!0),m&&(e.muted=!0,e.autoplay=!0,e.setAttribute("playsinline","")),o.split(",").forEach(t=>{e.innerHTML+='<source src="'+t+'">'}),n.appendChild(e)}else if(r&&!0!==t.excludeIframes){let e=document.createElement("iframe");e.setAttribute("allowfullscreen",""),e.setAttribute("mozallowfullscreen",""),e.setAttribute("webkitallowfullscreen",""),e.setAttribute("allow","autoplay"),e.setAttribute("data-src",r),e.style.width="100%",e.style.height="100%",e.style.maxHeight="100%",e.style.maxWidth="100%",n.appendChild(e)}}let i=n.querySelector("iframe[data-src]");i&&Ke(a)&&!/autoplay=(1|true|yes)/gi.test(r)&&i.getAttribute("src")!==r&&i.setAttribute("src",r)}}function Je(e){e.style.display="none";let t=mt(e);t&&(t.style.display="none",i(t.querySelectorAll("iframe[src]")).forEach(e=>{e.removeAttribute("src")})),i(e.querySelectorAll("video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]")).forEach(e=>{e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")}),i(e.querySelectorAll("video[data-lazy-loaded] source[src], audio source[src]")).forEach(e=>{e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")})}function Qe(){var e=q.wrapper.querySelectorAll(".slides>section"),t=q.wrapper.querySelectorAll(".slides>section.present>section");let a={left:u>0,right:u<e.length-1,up:p>0,down:p<t.length-1};if(c.loop&&(e.length>1&&(a.left=!0,a.right=!0),t.length>1&&(a.up=!0,a.down=!0)),c.rtl){let e=a.left;a.left=a.right,a.right=e}return a}function Ze(){if(f&&c.fragments){let e=f.querySelectorAll(".fragment"),t=f.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function Ge(e){e&&!it()&&(i(e.querySelectorAll('img[src$=".gif"]')).forEach(e=>{e.setAttribute("src",e.getAttribute("src"))}),i(e.querySelectorAll("video, audio")).forEach(e=>{if(ie(e,".fragment")&&!ie(e,".fragment.visible"))return;let t=c.autoPlayMedia;if("boolean"!=typeof t&&(t=e.hasAttribute("data-autoplay")||!!ie(e,".slide-background")),t&&"function"==typeof e.play)if(e.readyState>1)et({target:e});else if(m){let t=e.play();t&&"function"==typeof t.catch&&!1===e.controls&&t.catch((function(){e.controls=!0,e.addEventListener("play",()=>{e.controls=!1})}))}else e.removeEventListener("loadeddata",et),e.addEventListener("loadeddata",et)}),i(e.querySelectorAll("iframe[src]")).forEach(e=>{ie(e,".fragment")&&!ie(e,".fragment.visible")||tt({target:e})}),i(e.querySelectorAll("iframe[data-src]")).forEach(e=>{ie(e,".fragment")&&!ie(e,".fragment.visible")||e.getAttribute("src")!==e.getAttribute("data-src")&&(e.removeEventListener("load",tt),e.addEventListener("load",tt),e.setAttribute("src",e.getAttribute("data-src")))}))}function et(e){let t=!!ie(e.target,"html"),a=!!ie(e.target,".present");t&&a&&(e.target.currentTime=0,e.target.play()),e.target.removeEventListener("loadeddata",et)}function tt(e){let t=e.target;if(t&&t.contentWindow){let a=!!ie(e.target,"html"),n=!!ie(e.target,".present");if(a&&n){let e=c.autoPlayMedia;"boolean"!=typeof e&&(e=t.hasAttribute("data-autoplay")||!!ie(t,".slide-background")),/youtube\.com\/embed\//.test(t.getAttribute("src"))&&e?t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):/player\.vimeo\.com\//.test(t.getAttribute("src"))&&e?t.contentWindow.postMessage('{"method":"play"}',"*"):t.contentWindow.postMessage("slide:start","*")}}}function at(e,t={}){t=extend({unloadIframes:!0},t),e&&e.parentNode&&(i(e.querySelectorAll("video, audio")).forEach(e=>{e.hasAttribute("data-ignore")||"function"!=typeof e.pause||(e.setAttribute("data-paused-by-reveal",""),e.pause())}),i(e.querySelectorAll("iframe")).forEach(e=>{e.contentWindow&&e.contentWindow.postMessage("slide:stop","*"),e.removeEventListener("load",tt)}),i(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(e=>{!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),i(e.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(e=>{!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"method":"pause"}',"*")}),!0===t.unloadIframes&&i(e.querySelectorAll("iframe[data-src]")).forEach(e=>{e.setAttribute("src","about:blank"),e.removeAttribute("src")}))}function nt(e=f){let t=ct(),a=0;e:for(let n=0;n<t.length;n++){let r=t[n],i=r.querySelectorAll("section");for(let t=0;t<i.length;t++){if(i[t]===e)break e;"uncounted"!==i[t].dataset.visibility&&a++}if(r===e)break;!1===r.classList.contains("stack")&&"uncounted"!==!r.dataset.visibility&&a++}return a}function rt(){let e=ft(),t=nt();if(f){let e=f.querySelectorAll(".fragment");if(e.length>0){let a=.9;t+=f.querySelectorAll(".fragment.visible").length/e.length*a}}return Math.min(t/(e-1),1)}function it(){return!!window.location.search.match(/receiver/gi)}function ot(){let e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(!/^[0-9]*$/.test(t[0])&&n.length){let e;try{e=document.getElementById(decodeURIComponent(n))}catch(e){}let t=!!f&&f.getAttribute("id")===n;if(e){if(!t){let t=a.getIndices(e);Oe(t.h,t.v)}}else Oe(u||0,p||0)}else{let e,a=c.hashOneBasedIndex?1:0,n=parseInt(t[0],10)-a||0,r=parseInt(t[1],10)-a||0;c.fragmentInURL&&(e=parseInt(t[2],10),isNaN(e)&&(e=void 0)),n===u&&r===p&&void 0===e||Oe(n,r,e)}}function st(e){clearTimeout(R),"number"==typeof e?R=setTimeout(st,e):f&&(c.history||!window.history?window.location.hash=xe():c.hash?window.history.replaceState(null,null,"#"+xe()):window.history.replaceState(null,null,window.location.pathname+window.location.search))}function lt(e){let t,a=u,n=p;if(e){let t=Me(e),r=t?e.parentNode:e,o=i(q.wrapper.querySelectorAll(".slides>section"));a=Math.max(o.indexOf(r),0),n=void 0,t&&(n=Math.max(i(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&f){if(f.querySelectorAll(".fragment").length>0){let e=f.querySelector(".current-fragment");t=e&&e.hasAttribute("data-fragment-index")?parseInt(e.getAttribute("data-fragment-index"),10):f.querySelectorAll(".fragment.visible").length-1}}return{h:a,v:n,f:t}}function dt(){return i(q.wrapper.querySelectorAll('.slides section:not(.stack):not([data-visibility="uncounted"])'))}function ct(){return i(q.wrapper.querySelectorAll(".slides>section"))}function ut(){return i(q.wrapper.querySelectorAll(".slides>section>section"))}function pt(){return ct().length>1}function ht(){return ut().length>1}function ft(){return dt().length}function gt(e,t){let a=ct()[e],n=a&&a.querySelectorAll("section");return n&&n.length&&"number"==typeof t?n?n[t]:void 0:a}function mt(e,t){let a="number"==typeof e?gt(e,t):e;if(a)return a.slideBackgroundElement}function vt(e=f){if(e.hasAttribute("data-notes"))return e.getAttribute("data-notes");let t=e.querySelector("aside.notes");return t?t.innerHTML:null}function yt(){let e=lt();return{indexh:e.h,indexv:e.v,indexf:e.f,paused:Ce(),overview:Le()}}function bt(e,t=!1){e=i(e);let a=[],n=[],r=[];e.forEach(e=>{if(e.hasAttribute("data-fragment-index")){let t=parseInt(e.getAttribute("data-fragment-index"),10);a[t]||(a[t]=[]),a[t].push(e)}else n.push([e])}),a=a.concat(n);let o=0;return a.forEach(e=>{e.forEach(e=>{r.push(e),e.setAttribute("data-fragment-index",o)}),o++}),!0===t?a:r}function wt(e,t){let a={shown:[],hidden:[]};if(f&&c.fragments&&(t=t||bt(f.querySelectorAll(".fragment"))).length){let n=0;if("number"!=typeof e){let t=bt(f.querySelectorAll(".fragment.visible")).pop();t&&(e=parseInt(t.getAttribute("data-fragment-index")||0,10))}i(t).forEach((t,r)=>{t.hasAttribute("data-fragment-index")&&(r=parseInt(t.getAttribute("data-fragment-index"),10)),n=Math.max(n,r),r<=e?(t.classList.contains("visible")||a.shown.push(t),t.classList.add("visible"),t.classList.remove("current-fragment"),q.statusDiv.textContent=K(t),r===e&&(t.classList.add("current-fragment"),Ge(t))):(t.classList.contains("visible")&&a.hidden.push(t),t.classList.remove("visible"),t.classList.remove("current-fragment"))}),e="number"==typeof e?e:-1,e=Math.max(Math.min(e,n),-1),f.setAttribute("data-fragment",e)}return a}function At(e,t=0){if(f&&c.fragments){let a=bt(f.querySelectorAll(".fragment"));if(a.length){if("number"!=typeof e){let t=bt(f.querySelectorAll(".fragment.visible")).pop();e=t?parseInt(t.getAttribute("data-fragment-index")||0,10):-1}let n=wt(e+=t,a);return n.hidden.length&&le("fragmenthidden",{fragment:n.hidden[0],fragments:n.hidden}),n.shown.length&&le("fragmentshown",{fragment:n.shown[0],fragments:n.shown}),Fe(),We(),c.fragmentInURL&&st(),!(!n.shown.length&&!n.hidden.length)}}return!1}function kt(){return At(null,1)}function St(){return At(null,-1)}function Et(){if(Lt(),f&&!1!==c.autoSlide){let e=f.querySelector(".current-fragment");e||(e=f.querySelector(".fragment"));let t=e?e.getAttribute("data-autoslide"):null,n=f.parentNode?f.parentNode.getAttribute("data-autoslide"):null,r=f.getAttribute("data-autoslide");B=t?parseInt(t,10):r?parseInt(r,10):n?parseInt(n,10):c.autoSlide,0===f.querySelectorAll(".fragment").length&&i(f.querySelectorAll("video, audio")).forEach(e=>{e.hasAttribute("data-autoplay")&&B&&1e3*e.duration/e.playbackRate>B&&(B=1e3*e.duration/e.playbackRate+1e3)}),!B||$||Ce()||Le()||a.isLastSlide()&&!Ze().next&&!0!==c.loop||(H=setTimeout(()=>{"function"==typeof c.autoSlideMethod?c.autoSlideMethod():Ct(),Et()},B),j=Date.now()),b&&b.setPlaying(-1!==H)}}function Lt(){clearTimeout(H),H=-1}function xt(){B&&!$&&($=!0,le("autoslidepaused"),clearTimeout(H),b&&b.setPlaying(!1))}function Mt(){B&&$&&($=!1,le("autoslideresumed"),Et())}function Nt(){E=!0,c.rtl?(Le()||!1===kt())&&Qe().left&&Oe(u+1,"grid"===c.navigationMode?p:void 0):(Le()||!1===St())&&Qe().left&&Oe(u-1,"grid"===c.navigationMode?p:void 0)}function qt(){E=!0,c.rtl?(Le()||!1===St())&&Qe().right&&Oe(u-1,"grid"===c.navigationMode?p:void 0):(Le()||!1===kt())&&Qe().right&&Oe(u+1,"grid"===c.navigationMode?p:void 0)}function It(){(Le()||!1===St())&&Qe().up&&Oe(u,p-1)}function Pt(){L=!0,(Le()||!1===kt())&&Qe().down&&Oe(u,p+1)}function Tt(){if(!1===St())if(Qe().up)It();else{let e;if(e=c.rtl?i(q.wrapper.querySelectorAll(".slides>section.future")).pop():i(q.wrapper.querySelectorAll(".slides>section.past")).pop(),e){let t=e.querySelectorAll("section").length-1||void 0;Oe(u-1,t)}}}function Ct(){if(E=!0,L=!0,!1===kt()){let e=Qe();e.down&&e.right&&c.loop&&a.isLastVerticalSlide(f)&&(e.down=!1),e.down?Pt():c.rtl?Nt():qt()}}function Rt(e){for(;e&&"function"==typeof e.hasAttribute;){if(e.hasAttribute("data-prevent-swipe"))return!0;e=e.parentNode}return!1}function Ot(e){c.autoSlideStoppable&&xt()}function zt(e){Ne(),clearTimeout(z),z=setTimeout(qe,c.hideCursorTime)}function Dt(e){e.shiftKey&&63===e.charCode&&pe()}function Bt(e){if("function"==typeof c.keyboardCondition&&!1===c.keyboardCondition(e))return!0;let t=e.keyCode,n=$;Ot();let r=document.activeElement&&"inherit"!==document.activeElement.contentEditable,i=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),o=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),s=e.shiftKey&&32===e.keyCode,l=e.shiftKey&&37===t,d=e.shiftKey&&39===t,u=!s&&!l&&!d&&(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey);if(r||i||o||u)return;let p,h=[66,86,190,191];if("object"==typeof c.keyboard)for(p in c.keyboard)"togglePause"===c.keyboard[p]&&h.push(parseInt(p,10));if(Ce()&&-1===h.indexOf(t))return!1;let f="linear"===c.navigationMode||!pt()||!ht(),g=!1;if("object"==typeof c.keyboard)for(p in c.keyboard)if(parseInt(p,10)===t){var m=c.keyboard[p];"function"==typeof m?m.apply(null,[e]):"string"==typeof m&&"function"==typeof a[m]&&a[m].call(),g=!0}if(!1===g)for(p in V)if(parseInt(p,10)===t){let t=V[p].callback;"function"==typeof t?t.apply(null,[e]):"string"==typeof t&&"function"==typeof a[t]&&a[t].call(),g=!0}!1===g&&(g=!0,80===t||33===t?Tt():78===t||34===t?Ct():72===t||37===t?l?Oe(0):!Le()&&f?Tt():Nt():76===t||39===t?d?Oe(Number.MAX_VALUE):!Le()&&f?Ct():qt():75===t||38===t?!Le()&&f?Tt():It():74===t||40===t?!Le()&&f?Ct():Pt():36===t?Oe(0):35===t?Oe(Number.MAX_VALUE):32===t?(Le()&&Se(),e.shiftKey?Tt():Ct()):58===t||59===t||66===t||86===t||190===t||191===t?Te():70===t?function(){let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&t.apply(e)}():65===t?c.autoSlideStoppable&&Re(n):g=!1),g?e.preventDefault&&e.preventDefault():27!==t&&79!==t||(q.overlay?fe():Ee(),e.preventDefault&&e.preventDefault()),Et()}function Ht(e){if(Rt(e.target))return!0;W.startX=e.touches[0].clientX,W.startY=e.touches[0].clientY,W.startCount=e.touches.length}function jt(e){if(Rt(e.target))return!0;if(W.captured)l.match(/android/gi)&&e.preventDefault();else{Ot();let t=e.touches[0].clientX,a=e.touches[0].clientY;if(1===e.touches.length&&2!==W.startCount){let n=t-W.startX,r=a-W.startY;n>W.threshold&&Math.abs(n)>Math.abs(r)?(W.captured=!0,"linear"===c.navigationMode?c.rtl?Ct():Tt():Nt()):n<-W.threshold&&Math.abs(n)>Math.abs(r)?(W.captured=!0,"linear"===c.navigationMode?c.rtl?Tt():Ct():qt()):r>W.threshold?(W.captured=!0,"linear"===c.navigationMode?Tt():It()):r<-W.threshold&&(W.captured=!0,"linear"===c.navigationMode?Ct():Pt()),c.embedded?(W.captured||Me(f))&&e.preventDefault():e.preventDefault()}}}function $t(e){W.captured=!1}function Wt(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],Ht(e))}function Ut(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],jt(e))}function Vt(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],$t())}function Ft(e){if(Date.now()-C>600){C=Date.now();let t=e.detail||-e.wheelDelta;t>0?Ct():t<0&&Tt()}}function Xt(e){Ot(),e.preventDefault();let t=ct().length,a=Math.floor(e.clientX/q.wrapper.offsetWidth*t);c.rtl&&(a=t-a),Oe(a)}function Yt(e){e.preventDefault(),Ot(),"linear"===c.navigationMode?Tt():Nt()}function Kt(e){e.preventDefault(),Ot(),"linear"===c.navigationMode?Ct():qt()}function _t(e){e.preventDefault(),Ot(),It()}function Jt(e){e.preventDefault(),Ot(),Pt()}function Qt(e){e.preventDefault(),Ot(),Tt()}function Zt(e){e.preventDefault(),Ot(),Ct()}function Gt(e){ot()}function ea(e){ge()}function ta(e){!1===document.hidden&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function aa(e){if(D&&Le()){e.preventDefault();let t=e.target;for(;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled"))if(Se(),t.nodeName.match(/section/gi))Oe(parseInt(t.getAttribute("data-index-h"),10),parseInt(t.getAttribute("data-index-v"),10))}}function na(e){if(e.currentTarget&&e.currentTarget.hasAttribute("href")){let t=e.currentTarget.getAttribute("href");t&&(!function(e){fe(),q.overlay=document.createElement("div"),q.overlay.classList.add("overlay"),q.overlay.classList.add("overlay-preview"),q.wrapper.appendChild(q.overlay),q.overlay.innerHTML=`<header>\n\t\t\t\t<a class="close" href="#"><span class="icon"></span></a>\n\t\t\t\t<a class="external" href="${e}" target="_blank"><span class="icon"></span></a>\n\t\t\t</header>\n\t\t\t<div class="spinner"></div>\n\t\t\t<div class="viewport">\n\t\t\t\t<iframe src="${e}"></iframe>\n\t\t\t\t<small class="viewport-inner">\n\t\t\t\t\t<span class="x-frame-error">Unable to load iframe. This is likely due to the site's policy (x-frame-options).</span>\n\t\t\t\t</small>\n\t\t\t</div>`,q.overlay.querySelector("iframe").addEventListener("load",e=>{q.overlay.classList.add("loaded")},!1),q.overlay.querySelector(".close").addEventListener("click",e=>{fe(),e.preventDefault()},!1),q.overlay.querySelector(".external").addEventListener("click",e=>{fe()},!1)}(t),e.preventDefault())}}function ra(e){a.isLastSlide()&&!1===c.loop?(Oe(0,0),Mt()):$?Mt():xt()}return a={VERSION:"4.0.0-dev",configure:G,sync:ze,syncSlide:function(e=f){Z(e),De(e),_e(e),Xe(),$e()},syncFragments:De,slide:Oe,left:Nt,right:qt,up:It,down:Pt,prev:Tt,next:Ct,navigateTo:Oe,navigateLeft:Nt,navigateRight:qt,navigateUp:It,navigateDown:Pt,navigatePrev:Tt,navigateNext:Ct,navigateFragment:At,prevFragment:St,nextFragment:kt,layout:ge,shuffle:Be,availableRoutes:Qe,availableFragments:Ze,toggleHelp:pe,toggleOverview:Ee,togglePause:Te,toggleAutoSlide:Re,isOverview:Le,isPaused:Ce,isAutoSliding:function(){return!(!B||$)},isSpeakerNotes:it,loadSlide:_e,unloadSlide:Je,addEventListeners:ee,removeEventListeners:te,getState:yt,setState:function(e){if("object"==typeof e){Oe(deserialize(e.indexh),deserialize(e.indexv),deserialize(e.indexf));var t=deserialize(e.paused),a=deserialize(e.overview);"boolean"==typeof t&&t!==Ce()&&Te(t),"boolean"==typeof a&&a!==Le()&&Ee(a)}},getSlidePastCount:nt,getProgress:rt,getIndices:lt,getSlides:dt,getSlidesAttributes:function(){return dt().map((function(e){let t={};for(let a=0;a<e.attributes.length;a++){let n=e.attributes[a];t[n.name]=n.value}return t}))},getTotalSlides:ft,getSlide:gt,getSlideBackground:mt,getSlideNotes:vt,getHorizontalSlides:ct,getVerticalSlides:ut,hasHorizontalSlides:pt,hasVerticalSlides:ht,addKeyBinding:function(e,t){"object"==typeof e&&e.keyCode?V[e.keyCode]={callback:t,key:e.key,description:e.description}:V[e]={callback:t,key:null,description:null}},removeKeyBinding:function(e){delete V[e]},registerPlugin:function(e,t){void 0===I[e]?(I[e]=t,w&&"function"==typeof t.init&&t.init()):console.warn('reveal.js: "'+e+'" plugin has already been registered')},hasPlugin:function(e){return!!I[e]},getPlugin:function(e){return I[e]},getComputedSlideSize:ve,getPreviousSlide:()=>h,getCurrentSlide:()=>f,getScale:()=>M,getConfig:()=>c,getQueryHash:()=>{let e={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,t=>{e[t.split("=").shift()]=t.split("=").pop()});for(let t in e){let a=e[t];e[t]=deserialize(unescape(a))}return e},getRevealElement:()=>q.wrapper||document.querySelector(".reveal"),getPlugins:()=>I,isFirstSlide:()=>0===u&&0===p,isLastSlide:()=>!!f&&(!f.nextElementSibling&&(!Me(f)||!f.parentNode.nextElementSibling)),isLastVerticalSlide:()=>!(!f||!Me(f))&&!f.nextElementSibling,isReady:()=>w,addEventListener:(e,t,n)=>{"addEventListener"in window&&a.getRevealElement().addEventListener(e,t,n)},removeEventListener:(e,t,n)=>{"addEventListener"in window&&a.getRevealElement().removeEventListener(e,t,n)},triggerKey:e=>{Bt({keyCode:e})},registerKeyboardShortcut:(e,t)=>{U[e]=t}},function(){if(!e)return void console.warn("reveal.js must be instantiated with a valid .reveal element");!function(){m=/(iphone|ipod|ipad|android)/gi.test(l)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,v=/chrome/i.test(l)&&!/edge/i.test(l);let e=document.createElement("div");T.zoom="zoom"in e.style&&!m&&(v||/Version\/[\d\.]+.*Safari/.test(l))}(),q.wrapper=e,q.slides=e.querySelector(".slides"),window.addEventListener("load",ge,!1);let n=a.getQueryHash();var i,o;return void 0!==n.dependencies&&delete n.dependencies,c={...r,...t,...n},i=[],o=0,c.dependencies.forEach(e=>{e.condition&&!e.condition()||(e.async?P.push(e):i.push(e))}),i.length?(o=i.length,i.forEach(e=>{Y(e.src,(function(){"function"==typeof e.callback&&e.callback(),0==--o&&F()}))})):F(),a}()};window.Reveal=h,window.Reveal.initialize=e=>{window.Reveal=new h(document.querySelector(".reveal"),e)}}]);