diff --git a/.gitignore b/.gitignore index 8eda50e..24e26ee 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,3 @@ log/*.log tmp/** node_modules/ .sass-cache -css/reveal.min.css -js/reveal.min.js diff --git a/css/print/paper.css b/css/print/paper.css deleted file mode 100644 index 27d19dd..0000000 --- a/css/print/paper.css +++ /dev/null @@ -1,203 +0,0 @@ -/* Default Print Stylesheet Template - by Rob Glazebrook of CSSnewbie.com - Last Updated: June 4, 2008 - - Feel free (nay, compelled) to edit, append, and - manipulate this file as you see fit. */ - - -@media print { - - /* SECTION 1: Set default width, margin, float, and - background. This prevents elements from extending - beyond the edge of the printed page, and prevents - unnecessary background images from printing */ - html { - background: #fff; - width: auto; - height: auto; - overflow: visible; - } - body { - background: #fff; - font-size: 20pt; - width: auto; - height: auto; - border: 0; - margin: 0 5%; - padding: 0; - overflow: visible; - float: none !important; - } - - /* SECTION 2: Remove any elements not needed in print. - This would include navigation, ads, sidebars, etc. */ - .nestedarrow, - .controls, - .fork-reveal, - .share-reveal, - .state-background, - .reveal .progress, - .reveal .backgrounds, - .reveal .slide-number { - display: none !important; - } - - /* SECTION 3: Set body font face, size, and color. - Consider using a serif font for readability. */ - body, p, td, li, div { - font-size: 20pt!important; - font-family: Georgia, "Times New Roman", Times, serif !important; - color: #000; - } - - /* SECTION 4: Set heading font face, sizes, and color. - Differentiate your headings from your body text. - Perhaps use a large sans-serif for distinction. */ - h1,h2,h3,h4,h5,h6 { - color: #000!important; - height: auto; - line-height: normal; - font-family: Georgia, "Times New Roman", Times, serif !important; - text-shadow: 0 0 0 #000 !important; - text-align: left; - letter-spacing: normal; - } - /* Need to reduce the size of the fonts for printing */ - h1 { font-size: 28pt !important; } - h2 { font-size: 24pt !important; } - h3 { font-size: 22pt !important; } - h4 { font-size: 22pt !important; font-variant: small-caps; } - h5 { font-size: 21pt !important; } - h6 { font-size: 20pt !important; font-style: italic; } - - /* SECTION 5: Make hyperlinks more usable. - Ensure links are underlined, and consider appending - the URL to the end of the link for usability. */ - a:link, - a:visited { - color: #000 !important; - font-weight: bold; - text-decoration: underline; - } - /* - .reveal a:link:after, - .reveal a:visited:after { - content: " (" attr(href) ") "; - color: #222 !important; - font-size: 90%; - } - */ - - - /* SECTION 6: more reveal.js specific additions by @skypanther */ - ul, ol, div, p { - visibility: visible; - position: static; - width: auto; - height: auto; - display: block; - overflow: visible; - margin: 0; - text-align: left !important; - } - .reveal pre, - .reveal table { - margin-left: 0; - margin-right: 0; - } - .reveal pre code { - padding: 20px; - border: 1px solid #ddd; - } - .reveal blockquote { - margin: 20px 0; - } - .reveal .slides { - position: static !important; - width: auto !important; - height: auto !important; - - left: 0 !important; - top: 0 !important; - margin-left: 0 !important; - margin-top: 0 !important; - padding: 0 !important; - zoom: 1 !important; - - overflow: visible !important; - display: block !important; - - text-align: left !important; - -webkit-perspective: none; - -moz-perspective: none; - -ms-perspective: none; - perspective: none; - - -webkit-perspective-origin: 50% 50%; - -moz-perspective-origin: 50% 50%; - -ms-perspective-origin: 50% 50%; - perspective-origin: 50% 50%; - } - .reveal .slides section { - visibility: visible !important; - position: static !important; - width: auto !important; - height: auto !important; - display: block !important; - overflow: visible !important; - - left: 0 !important; - top: 0 !important; - margin-left: 0 !important; - margin-top: 0 !important; - padding: 60px 20px !important; - z-index: auto !important; - - opacity: 1 !important; - - page-break-after: always !important; - - -webkit-transform-style: flat !important; - -moz-transform-style: flat !important; - -ms-transform-style: flat !important; - transform-style: flat !important; - - -webkit-transform: none !important; - -moz-transform: none !important; - -ms-transform: none !important; - transform: none !important; - - -webkit-transition: none !important; - -moz-transition: none !important; - -ms-transition: none !important; - transition: none !important; - } - .reveal .slides section.stack { - padding: 0 !important; - } - .reveal section:last-of-type { - page-break-after: avoid !important; - } - .reveal section .fragment { - opacity: 1 !important; - visibility: visible !important; - - -webkit-transform: none !important; - -moz-transform: none !important; - -ms-transform: none !important; - transform: none !important; - } - .reveal section img { - display: block; - margin: 15px 0px; - background: rgba(255,255,255,1); - border: 1px solid #666; - box-shadow: none; - } - - .reveal section small { - font-size: 0.8em; - } - -} diff --git a/css/print/paper.scss b/css/print/paper.scss new file mode 100644 index 0000000..2428b68 --- /dev/null +++ b/css/print/paper.scss @@ -0,0 +1,202 @@ +/* Default Print Stylesheet Template + by Rob Glazebrook of CSSnewbie.com + Last Updated: June 4, 2008 + + Feel free (nay, compelled) to edit, append, and + manipulate this file as you see fit. */ + +@media print { + html:not(.print-pdf) { + + /* SECTION 1: Set default width, margin, float, and + background. This prevents elements from extending + beyond the edge of the printed page, and prevents + unnecessary background images from printing */ + background: #fff; + width: auto; + height: auto; + overflow: visible; + + body { + background: #fff; + font-size: 20pt; + width: auto; + height: auto; + border: 0; + margin: 0 5%; + padding: 0; + overflow: visible; + float: none !important; + } + + /* SECTION 2: Remove any elements not needed in print. + This would include navigation, ads, sidebars, etc. */ + .nestedarrow, + .controls, + .fork-reveal, + .share-reveal, + .state-background, + .reveal .progress, + .reveal .backgrounds, + .reveal .slide-number { + display: none !important; + } + + /* SECTION 3: Set body font face, size, and color. + Consider using a serif font for readability. */ + body, p, td, li, div { + font-size: 20pt!important; + font-family: Georgia, "Times New Roman", Times, serif !important; + color: #000; + } + + /* SECTION 4: Set heading font face, sizes, and color. + Differentiate your headings from your body text. + Perhaps use a large sans-serif for distinction. */ + h1,h2,h3,h4,h5,h6 { + color: #000!important; + height: auto; + line-height: normal; + font-family: Georgia, "Times New Roman", Times, serif !important; + text-shadow: 0 0 0 #000 !important; + text-align: left; + letter-spacing: normal; + } + /* Need to reduce the size of the fonts for printing */ + h1 { font-size: 28pt !important; } + h2 { font-size: 24pt !important; } + h3 { font-size: 22pt !important; } + h4 { font-size: 22pt !important; font-variant: small-caps; } + h5 { font-size: 21pt !important; } + h6 { font-size: 20pt !important; font-style: italic; } + + /* SECTION 5: Make hyperlinks more usable. + Ensure links are underlined, and consider appending + the URL to the end of the link for usability. */ + a:link, + a:visited { + color: #000 !important; + font-weight: bold; + text-decoration: underline; + } + /* + .reveal a:link:after, + .reveal a:visited:after { + content: " (" attr(href) ") "; + color: #222 !important; + font-size: 90%; + } + */ + + + /* SECTION 6: more reveal.js specific additions by @skypanther */ + ul, ol, div, p { + visibility: visible; + position: static; + width: auto; + height: auto; + display: block; + overflow: visible; + margin: 0; + text-align: left !important; + } + .reveal pre, + .reveal table { + margin-left: 0; + margin-right: 0; + } + .reveal pre code { + padding: 20px; + border: 1px solid #ddd; + } + .reveal blockquote { + margin: 20px 0; + } + .reveal .slides { + position: static !important; + width: auto !important; + height: auto !important; + + left: 0 !important; + top: 0 !important; + margin-left: 0 !important; + margin-top: 0 !important; + padding: 0 !important; + zoom: 1 !important; + + overflow: visible !important; + display: block !important; + + text-align: left !important; + -webkit-perspective: none; + -moz-perspective: none; + -ms-perspective: none; + perspective: none; + + -webkit-perspective-origin: 50% 50%; + -moz-perspective-origin: 50% 50%; + -ms-perspective-origin: 50% 50%; + perspective-origin: 50% 50%; + } + .reveal .slides section { + visibility: visible !important; + position: static !important; + width: auto !important; + height: auto !important; + display: block !important; + overflow: visible !important; + + left: 0 !important; + top: 0 !important; + margin-left: 0 !important; + margin-top: 0 !important; + padding: 60px 20px !important; + z-index: auto !important; + + opacity: 1 !important; + + page-break-after: always !important; + + -webkit-transform-style: flat !important; + -moz-transform-style: flat !important; + -ms-transform-style: flat !important; + transform-style: flat !important; + + -webkit-transform: none !important; + -moz-transform: none !important; + -ms-transform: none !important; + transform: none !important; + + -webkit-transition: none !important; + -moz-transition: none !important; + -ms-transition: none !important; + transition: none !important; + } + .reveal .slides section.stack { + padding: 0 !important; + } + .reveal section:last-of-type { + page-break-after: avoid !important; + } + .reveal section .fragment { + opacity: 1 !important; + visibility: visible !important; + + -webkit-transform: none !important; + -moz-transform: none !important; + -ms-transform: none !important; + transform: none !important; + } + .reveal section img { + display: block; + margin: 15px 0px; + background: rgba(255,255,255,1); + border: 1px solid #666; + box-shadow: none; + } + + .reveal section small { + font-size: 0.8em; + } + } +} diff --git a/css/print/pdf.css b/css/print/pdf.css deleted file mode 100644 index bf96ed1..0000000 --- a/css/print/pdf.css +++ /dev/null @@ -1,165 +0,0 @@ -/** - * This stylesheet is used to print reveal.js - * presentations to PDF. - * - * https://github.com/hakimel/reveal.js#pdf-export - */ - -* { - -webkit-print-color-adjust: exact; -} - -body { - margin: 0 auto !important; - border: 0; - padding: 0; - float: none !important; - overflow: visible; -} - -html { - width: 100%; - height: 100%; - overflow: visible; -} - -/* Remove any elements not needed in print. */ -.nestedarrow, -.reveal .controls, -.reveal .progress, -.reveal .playback, -.reveal.overview, -.fork-reveal, -.share-reveal, -.state-background { - display: none !important; -} - -h1, h2, h3, h4, h5, h6 { - text-shadow: 0 0 0 #000 !important; -} - -.reveal pre code { - overflow: hidden !important; - font-family: Courier, 'Courier New', monospace !important; -} - -ul, ol, div, p { - visibility: visible; - position: static; - width: auto; - height: auto; - display: block; - overflow: visible; - margin: auto; -} -.reveal { - width: auto !important; - height: auto !important; - overflow: hidden !important; -} -.reveal .slides { - position: static; - width: 100% !important; - height: auto !important; - zoom: 1 !important; - pointer-events: initial; - - left: auto; - top: auto; - margin: 0 !important; - padding: 0 !important; - - overflow: visible; - display: block; - - perspective: none; - perspective-origin: 50% 50%; -} - -.reveal .slides .pdf-page { - position: relative; - overflow: hidden; - z-index: 1; - - page-break-after: always; -} - -.reveal .slides section { - visibility: visible !important; - display: block !important; - position: absolute !important; - - margin: 0 !important; - padding: 0 !important; - box-sizing: border-box !important; - min-height: 1px; - - opacity: 1 !important; - - transform-style: flat !important; - transform: none !important; -} - -.reveal section.stack { - position: relative !important; - margin: 0 !important; - padding: 0 !important; - page-break-after: avoid !important; - height: auto !important; - min-height: auto !important; -} - -.reveal img { - box-shadow: none; -} - -.reveal .roll { - overflow: visible; - line-height: 1em; -} - -/* Slide backgrounds are placed inside of their slide when exporting to PDF */ -.reveal .slide-background { - display: block !important; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: auto !important; -} - -/* Display slide speaker notes when 'showNotes' is enabled */ -.reveal.show-notes { - max-width: none; - max-height: none; -} -.reveal .speaker-notes-pdf { - display: block; - width: 100%; - height: auto; - max-height: none; - top: auto; - right: auto; - bottom: auto; - left: auto; - z-index: 100; -} - -/* Layout option which makes notes appear on a separate page */ -.reveal .speaker-notes-pdf[data-layout="separate-page"] { - position: relative; - color: inherit; - background-color: transparent; - padding: 20px; - page-break-after: always; - border: 0; -} - -/* Display slide numbers when 'slideNumber' is enabled */ -.reveal .slide-number-pdf { - display: block; - position: absolute; - font-size: 14px; -} diff --git a/css/print/pdf.scss b/css/print/pdf.scss new file mode 100644 index 0000000..96b774d --- /dev/null +++ b/css/print/pdf.scss @@ -0,0 +1,172 @@ +/** + * This stylesheet is used to print reveal.js + * presentations to PDF. + * + * https://github.com/hakimel/reveal.js#pdf-export + */ + +html.print-pdf { + * { + -webkit-print-color-adjust: exact; + } + + & { + width: 100%; + height: 100%; + overflow: visible; + } + + body { + margin: 0 auto !important; + border: 0; + padding: 0; + float: none !important; + overflow: visible; + } + + /* Remove any elements not needed in print. */ + .nestedarrow, + .reveal .controls, + .reveal .progress, + .reveal .playback, + .reveal.overview, + .fork-reveal, + .share-reveal, + .state-background { + display: none !important; + } + + h1, h2, h3, h4, h5, h6 { + text-shadow: 0 0 0 #000 !important; + } + + .reveal pre code { + overflow: hidden !important; + font-family: Courier, 'Courier New', monospace !important; + } + + ul, ol, div, p { + visibility: visible; + position: static; + width: auto; + height: auto; + display: block; + overflow: visible; + margin: auto; + } + .reveal { + width: auto !important; + height: auto !important; + overflow: hidden !important; + } + .reveal .slides { + position: static; + width: 100% !important; + height: auto !important; + zoom: 1 !important; + pointer-events: initial; + + left: auto; + top: auto; + margin: 0 !important; + padding: 0 !important; + + overflow: visible; + display: block; + + perspective: none; + perspective-origin: 50% 50%; + } + + .reveal .slides .pdf-page { + position: relative; + overflow: hidden; + z-index: 1; + + page-break-after: always; + } + + .reveal .slides section { + visibility: visible !important; + display: block !important; + position: absolute !important; + + margin: 0 !important; + padding: 0 !important; + box-sizing: border-box !important; + min-height: 1px; + + opacity: 1 !important; + + transform-style: flat !important; + transform: none !important; + } + + .reveal section.stack { + position: relative !important; + margin: 0 !important; + padding: 0 !important; + page-break-after: avoid !important; + height: auto !important; + min-height: auto !important; + } + + .reveal img { + box-shadow: none; + } + + .reveal .roll { + overflow: visible; + line-height: 1em; + } + + /* Slide backgrounds are placed inside of their slide when exporting to PDF */ + .reveal .slide-background { + display: block !important; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: auto !important; + } + + /* Display slide speaker notes when 'showNotes' is enabled */ + .reveal.show-notes { + max-width: none; + max-height: none; + } + .reveal .speaker-notes-pdf { + display: block; + width: 100%; + height: auto; + max-height: none; + top: auto; + right: auto; + bottom: auto; + left: auto; + z-index: 100; + } + + /* Layout option which makes notes appear on a separate page */ + .reveal .speaker-notes-pdf[data-layout="separate-page"] { + position: relative; + color: inherit; + background-color: transparent; + padding: 20px; + page-break-after: always; + border: 0; + } + + /* Display slide numbers when 'slideNumber' is enabled */ + .reveal .slide-number-pdf { + display: block; + position: absolute; + font-size: 14px; + } + + /* This accessibility tool is not useful in PDF and breaks it visually */ + .aria-status { + display: none; + } +} diff --git a/demo.html b/demo.html index 06be8ca..ffaf0f4 100644 --- a/demo.html +++ b/demo.html @@ -18,17 +18,12 @@ + + + + - - - diff --git a/dist/print/paper.css b/dist/print/paper.css index 93855f6..bfca2b3 100644 --- a/dist/print/paper.css +++ b/dist/print/paper.css @@ -5,167 +5,167 @@ Feel free (nay, compelled) to edit, append, and manipulate this file as you see fit. */ @media print { - /* SECTION 1: Set default width, margin, float, and - background. This prevents elements from extending - beyond the edge of the printed page, and prevents - unnecessary background images from printing */ - html { + html:not(.print-pdf) { + /* SECTION 1: Set default width, margin, float, and + background. This prevents elements from extending + beyond the edge of the printed page, and prevents + unnecessary background images from printing */ background: #fff; width: auto; height: auto; - overflow: visible; } - body { - background: #fff; - font-size: 20pt; - width: auto; - height: auto; - border: 0; - margin: 0 5%; - padding: 0; overflow: visible; - float: none !important; } - /* SECTION 2: Remove any elements not needed in print. - This would include navigation, ads, sidebars, etc. */ - .nestedarrow, - .controls, - .fork-reveal, - .share-reveal, - .state-background, - .reveal .progress, - .reveal .backgrounds, - .reveal .slide-number { - display: none !important; } - /* SECTION 3: Set body font face, size, and color. - Consider using a serif font for readability. */ - body, p, td, li, div { - font-size: 20pt !important; - font-family: Georgia, "Times New Roman", Times, serif !important; - color: #000; } - /* SECTION 4: Set heading font face, sizes, and color. - Differentiate your headings from your body text. - Perhaps use a large sans-serif for distinction. */ - h1, h2, h3, h4, h5, h6 { - color: #000 !important; - height: auto; - line-height: normal; - font-family: Georgia, "Times New Roman", Times, serif !important; - text-shadow: 0 0 0 #000 !important; - text-align: left; - letter-spacing: normal; } - /* Need to reduce the size of the fonts for printing */ - h1 { - font-size: 28pt !important; } - h2 { - font-size: 24pt !important; } - h3 { - font-size: 22pt !important; } - h4 { - font-size: 22pt !important; - font-variant: small-caps; } - h5 { - font-size: 21pt !important; } - h6 { - font-size: 20pt !important; - font-style: italic; } - /* SECTION 5: Make hyperlinks more usable. - Ensure links are underlined, and consider appending - the URL to the end of the link for usability. */ - a:link, - a:visited { - color: #000 !important; - font-weight: bold; - text-decoration: underline; } - /* - .reveal a:link:after, - .reveal a:visited:after { - content: " (" attr(href) ") "; - color: #222 !important; - font-size: 90%; - } - */ - /* SECTION 6: more reveal.js specific additions by @skypanther */ - ul, ol, div, p { - visibility: visible; - position: static; - width: auto; - height: auto; - display: block; - overflow: visible; - margin: 0; - text-align: left !important; } - .reveal pre, - .reveal table { - margin-left: 0; - margin-right: 0; } - .reveal pre code { - padding: 20px; - border: 1px solid #ddd; } - .reveal blockquote { - margin: 20px 0; } - .reveal .slides { - position: static !important; - width: auto !important; - height: auto !important; - left: 0 !important; - top: 0 !important; - margin-left: 0 !important; - margin-top: 0 !important; - padding: 0 !important; - zoom: 1 !important; - overflow: visible !important; - display: block !important; - text-align: left !important; - -webkit-perspective: none; - -moz-perspective: none; - -ms-perspective: none; - perspective: none; - -webkit-perspective-origin: 50% 50%; - -moz-perspective-origin: 50% 50%; - -ms-perspective-origin: 50% 50%; - perspective-origin: 50% 50%; } - .reveal .slides section { - visibility: visible !important; - position: static !important; - width: auto !important; - height: auto !important; - display: block !important; - overflow: visible !important; - left: 0 !important; - top: 0 !important; - margin-left: 0 !important; - margin-top: 0 !important; - padding: 60px 20px !important; - z-index: auto !important; - opacity: 1 !important; - page-break-after: always !important; - -webkit-transform-style: flat !important; - -moz-transform-style: flat !important; - -ms-transform-style: flat !important; - transform-style: flat !important; - -webkit-transform: none !important; - -moz-transform: none !important; - -ms-transform: none !important; - transform: none !important; - -webkit-transition: none !important; - -moz-transition: none !important; - -ms-transition: none !important; - transition: none !important; } - .reveal .slides section.stack { - padding: 0 !important; } - .reveal section:last-of-type { - page-break-after: avoid !important; } - .reveal section .fragment { - opacity: 1 !important; - visibility: visible !important; - -webkit-transform: none !important; - -moz-transform: none !important; - -ms-transform: none !important; - transform: none !important; } - .reveal section img { - display: block; - margin: 15px 0px; - background: white; - border: 1px solid #666; - box-shadow: none; } - .reveal section small { - font-size: 0.8em; } } + /* SECTION 2: Remove any elements not needed in print. + This would include navigation, ads, sidebars, etc. */ + /* SECTION 3: Set body font face, size, and color. + Consider using a serif font for readability. */ + /* SECTION 4: Set heading font face, sizes, and color. + Differentiate your headings from your body text. + Perhaps use a large sans-serif for distinction. */ + /* Need to reduce the size of the fonts for printing */ + /* SECTION 5: Make hyperlinks more usable. + Ensure links are underlined, and consider appending + the URL to the end of the link for usability. */ + /* + .reveal a:link:after, + .reveal a:visited:after { + content: " (" attr(href) ") "; + color: #222 !important; + font-size: 90%; + } + */ + /* SECTION 6: more reveal.js specific additions by @skypanther */ } + html:not(.print-pdf) body { + background: #fff; + font-size: 20pt; + width: auto; + height: auto; + border: 0; + margin: 0 5%; + padding: 0; + overflow: visible; + float: none !important; } + html:not(.print-pdf) .nestedarrow, + html:not(.print-pdf) .controls, + html:not(.print-pdf) .fork-reveal, + html:not(.print-pdf) .share-reveal, + html:not(.print-pdf) .state-background, + html:not(.print-pdf) .reveal .progress, + html:not(.print-pdf) .reveal .backgrounds, + html:not(.print-pdf) .reveal .slide-number { + display: none !important; } + html:not(.print-pdf) body, html:not(.print-pdf) p, html:not(.print-pdf) td, html:not(.print-pdf) li, html:not(.print-pdf) div { + font-size: 20pt !important; + font-family: Georgia, "Times New Roman", Times, serif !important; + color: #000; } + html:not(.print-pdf) h1, html:not(.print-pdf) h2, html:not(.print-pdf) h3, html:not(.print-pdf) h4, html:not(.print-pdf) h5, html:not(.print-pdf) h6 { + color: #000 !important; + height: auto; + line-height: normal; + font-family: Georgia, "Times New Roman", Times, serif !important; + text-shadow: 0 0 0 #000 !important; + text-align: left; + letter-spacing: normal; } + html:not(.print-pdf) h1 { + font-size: 28pt !important; } + html:not(.print-pdf) h2 { + font-size: 24pt !important; } + html:not(.print-pdf) h3 { + font-size: 22pt !important; } + html:not(.print-pdf) h4 { + font-size: 22pt !important; + font-variant: small-caps; } + html:not(.print-pdf) h5 { + font-size: 21pt !important; } + html:not(.print-pdf) h6 { + font-size: 20pt !important; + font-style: italic; } + html:not(.print-pdf) a:link, + html:not(.print-pdf) a:visited { + color: #000 !important; + font-weight: bold; + text-decoration: underline; } + html:not(.print-pdf) ul, html:not(.print-pdf) ol, html:not(.print-pdf) div, html:not(.print-pdf) p { + visibility: visible; + position: static; + width: auto; + height: auto; + display: block; + overflow: visible; + margin: 0; + text-align: left !important; } + html:not(.print-pdf) .reveal pre, + html:not(.print-pdf) .reveal table { + margin-left: 0; + margin-right: 0; } + html:not(.print-pdf) .reveal pre code { + padding: 20px; + border: 1px solid #ddd; } + html:not(.print-pdf) .reveal blockquote { + margin: 20px 0; } + html:not(.print-pdf) .reveal .slides { + position: static !important; + width: auto !important; + height: auto !important; + left: 0 !important; + top: 0 !important; + margin-left: 0 !important; + margin-top: 0 !important; + padding: 0 !important; + zoom: 1 !important; + overflow: visible !important; + display: block !important; + text-align: left !important; + -webkit-perspective: none; + -moz-perspective: none; + -ms-perspective: none; + perspective: none; + -webkit-perspective-origin: 50% 50%; + -moz-perspective-origin: 50% 50%; + -ms-perspective-origin: 50% 50%; + perspective-origin: 50% 50%; } + html:not(.print-pdf) .reveal .slides section { + visibility: visible !important; + position: static !important; + width: auto !important; + height: auto !important; + display: block !important; + overflow: visible !important; + left: 0 !important; + top: 0 !important; + margin-left: 0 !important; + margin-top: 0 !important; + padding: 60px 20px !important; + z-index: auto !important; + opacity: 1 !important; + page-break-after: always !important; + -webkit-transform-style: flat !important; + -moz-transform-style: flat !important; + -ms-transform-style: flat !important; + transform-style: flat !important; + -webkit-transform: none !important; + -moz-transform: none !important; + -ms-transform: none !important; + transform: none !important; + -webkit-transition: none !important; + -moz-transition: none !important; + -ms-transition: none !important; + transition: none !important; } + html:not(.print-pdf) .reveal .slides section.stack { + padding: 0 !important; } + html:not(.print-pdf) .reveal section:last-of-type { + page-break-after: avoid !important; } + html:not(.print-pdf) .reveal section .fragment { + opacity: 1 !important; + visibility: visible !important; + -webkit-transform: none !important; + -moz-transform: none !important; + -ms-transform: none !important; + transform: none !important; } + html:not(.print-pdf) .reveal section img { + display: block; + margin: 15px 0px; + background: white; + border: 1px solid #666; + box-shadow: none; } + html:not(.print-pdf) .reveal section small { + font-size: 0.8em; } } diff --git a/dist/print/pdf.css b/dist/print/pdf.css index 345db85..7c6bba1 100644 --- a/dist/print/pdf.css +++ b/dist/print/pdf.css @@ -4,137 +4,124 @@ * * https://github.com/hakimel/reveal.js#pdf-export */ -* { - -webkit-print-color-adjust: exact; } - -body { - margin: 0 auto !important; - border: 0; - padding: 0; - float: none !important; - overflow: visible; } - -html { - width: 100%; - height: 100%; - overflow: visible; } - -/* Remove any elements not needed in print. */ -.nestedarrow, -.reveal .controls, -.reveal .progress, -.reveal .playback, -.reveal.overview, -.fork-reveal, -.share-reveal, -.state-background { - display: none !important; } - -h1, h2, h3, h4, h5, h6 { - text-shadow: 0 0 0 #000 !important; } - -.reveal pre code { - overflow: hidden !important; - font-family: Courier, 'Courier New', monospace !important; } - -ul, ol, div, p { - visibility: visible; - position: static; - width: auto; - height: auto; - display: block; - overflow: visible; - margin: auto; } - -.reveal { - width: auto !important; - height: auto !important; - overflow: hidden !important; } - -.reveal .slides { - position: static; - width: 100% !important; - height: auto !important; - zoom: 1 !important; - left: auto; - top: auto; - margin: 0 !important; - padding: 0 !important; - overflow: visible; - display: block; - perspective: none; - perspective-origin: 50% 50%; } - -.reveal .slides .pdf-page { - position: relative; - overflow: hidden; - z-index: 1; - page-break-after: always; } - -.reveal .slides section { - visibility: visible !important; - display: block !important; - position: absolute !important; - margin: 0 !important; - padding: 0 !important; - box-sizing: border-box !important; - min-height: 1px; - opacity: 1 !important; - transform-style: flat !important; - transform: none !important; } - -.reveal section.stack { - position: relative !important; - margin: 0 !important; - padding: 0 !important; - page-break-after: avoid !important; - height: auto !important; - min-height: auto !important; } - -.reveal img { - box-shadow: none; } - -.reveal .roll { - overflow: visible; - line-height: 1em; } - -/* Slide backgrounds are placed inside of their slide when exporting to PDF */ -.reveal .slide-background { - display: block !important; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: auto !important; } - -/* Display slide speaker notes when 'showNotes' is enabled */ -.reveal.show-notes { - max-width: none; - max-height: none; } - -.reveal .speaker-notes-pdf { - display: block; - width: 100%; - height: auto; - max-height: none; - top: auto; - right: auto; - bottom: auto; - left: auto; - z-index: 100; } - -/* Layout option which makes notes appear on a separate page */ -.reveal .speaker-notes-pdf[data-layout="separate-page"] { - position: relative; - color: inherit; - background-color: transparent; - padding: 20px; - page-break-after: always; - border: 0; } - -/* Display slide numbers when 'slideNumber' is enabled */ -.reveal .slide-number-pdf { - display: block; - position: absolute; - font-size: 14px; } +html.print-pdf { + /* Remove any elements not needed in print. */ + /* Slide backgrounds are placed inside of their slide when exporting to PDF */ + /* Display slide speaker notes when 'showNotes' is enabled */ + /* Layout option which makes notes appear on a separate page */ + /* Display slide numbers when 'slideNumber' is enabled */ + /* This accessibility tool is not useful in PDF and breaks it visually */ } + html.print-pdf * { + -webkit-print-color-adjust: exact; } + html.print-pdf { + width: 100%; + height: 100%; + overflow: visible; } + html.print-pdf body { + margin: 0 auto !important; + border: 0; + padding: 0; + float: none !important; + overflow: visible; } + html.print-pdf .nestedarrow, + html.print-pdf .reveal .controls, + html.print-pdf .reveal .progress, + html.print-pdf .reveal .playback, + html.print-pdf .reveal.overview, + html.print-pdf .fork-reveal, + html.print-pdf .share-reveal, + html.print-pdf .state-background { + display: none !important; } + html.print-pdf h1, html.print-pdf h2, html.print-pdf h3, html.print-pdf h4, html.print-pdf h5, html.print-pdf h6 { + text-shadow: 0 0 0 #000 !important; } + html.print-pdf .reveal pre code { + overflow: hidden !important; + font-family: Courier, 'Courier New', monospace !important; } + html.print-pdf ul, html.print-pdf ol, html.print-pdf div, html.print-pdf p { + visibility: visible; + position: static; + width: auto; + height: auto; + display: block; + overflow: visible; + margin: auto; } + html.print-pdf .reveal { + width: auto !important; + height: auto !important; + overflow: hidden !important; } + html.print-pdf .reveal .slides { + position: static; + width: 100% !important; + height: auto !important; + zoom: 1 !important; + pointer-events: initial; + left: auto; + top: auto; + margin: 0 !important; + padding: 0 !important; + overflow: visible; + display: block; + perspective: none; + perspective-origin: 50% 50%; } + html.print-pdf .reveal .slides .pdf-page { + position: relative; + overflow: hidden; + z-index: 1; + page-break-after: always; } + html.print-pdf .reveal .slides section { + visibility: visible !important; + display: block !important; + position: absolute !important; + margin: 0 !important; + padding: 0 !important; + box-sizing: border-box !important; + min-height: 1px; + opacity: 1 !important; + transform-style: flat !important; + transform: none !important; } + html.print-pdf .reveal section.stack { + position: relative !important; + margin: 0 !important; + padding: 0 !important; + page-break-after: avoid !important; + height: auto !important; + min-height: auto !important; } + html.print-pdf .reveal img { + box-shadow: none; } + html.print-pdf .reveal .roll { + overflow: visible; + line-height: 1em; } + html.print-pdf .reveal .slide-background { + display: block !important; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: auto !important; } + html.print-pdf .reveal.show-notes { + max-width: none; + max-height: none; } + html.print-pdf .reveal .speaker-notes-pdf { + display: block; + width: 100%; + height: auto; + max-height: none; + top: auto; + right: auto; + bottom: auto; + left: auto; + z-index: 100; } + html.print-pdf .reveal .speaker-notes-pdf[data-layout="separate-page"] { + position: relative; + color: inherit; + background-color: transparent; + padding: 20px; + page-break-after: always; + border: 0; } + html.print-pdf .reveal .slide-number-pdf { + display: block; + position: absolute; + font-size: 14px; } + html.print-pdf .aria-status { + display: none; } diff --git a/dist/reveal.css b/dist/reveal.css index 941924b..a5c7d8c 100644 --- a/dist/reveal.css +++ b/dist/reveal.css @@ -1,5 +1,5 @@ /*! -* reveal.js 4.0.0-dev (Tue Mar 10 2020) +* reveal.js 4.0.0-dev (Thu Mar 12 2020) * https://revealjs.com * MIT licensed * diff --git a/dist/reveal.min.js b/dist/reveal.min.js index 066efe1..91d4f24 100644 --- a/dist/reveal.min.js +++ b/dist/reveal.min.js @@ -1,8 +1,8 @@ /*! -* reveal.js 4.0.0-dev (Wed Mar 11 2020) +* reveal.js 4.0.0-dev (Thu Mar 12 2020) * https://revealjs.com * MIT licensed * * Copyright (C) 2020 Hakim El Hattab, https://hakim.se */ -!function(e){var t={};function i(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=t,i.d=function(e,t,a){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(a,n,function(t){return e[t]}.bind(null,n));return a},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,i){"use strict";i.r(t);const a=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,n=(e,t)=>{for(let i in t)e[i]=t[i];return e},s=e=>Array.prototype.slice.call(e),r=e=>{if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;if(e.match(/^-?[\d\.]+$/))return parseFloat(e)}return e},o=(e,t)=>{e.style.transform=t},l=(e,t)=>{let i=e.parentNode;for(;i;){let e=i.matches||i.matchesSelector||i.msMatchesSelector;if(e&&e.call(i,t))return i;i=i.parentNode}return null},d=(e,t,i,a="")=>{let n=e.querySelectorAll("."+i);for(let t=0;t{let t=document.createElement("style");return t.type="text/css",e&&e.length>0&&(t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))),document.head.appendChild(t),t},u=()=>{let e={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,t=>{e[t.split("=").shift()]=t.split("=").pop()});for(let t in e){let i=e[t];e[t]=r(unescape(i))}return void 0!==e.dependencies&&delete e.dependencies,e},h=navigator.userAgent,g=document.createElement("div"),p=/(iphone|ipod|ipad|android)/gi.test(h)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,v=/chrome/i.test(h)&&!/edge/i.test(h),f=/android/gi.test(h),m="zoom"in g.style&&!p&&(v||/Version\/[\d\.]+.*Safari/.test(h));class b{constructor(e){this.Reveal=e}shouldPreload(e){let t=this.Reveal.getConfig().preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}load(e,t={}){e.style.display=this.Reveal.getConfig().display,s(e.querySelectorAll("img[data-src], video[data-src], audio[data-src], iframe[data-src]")).forEach(e=>{("IFRAME"!==e.tagName||this.shouldPreload(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))}),s(e.querySelectorAll("video, audio")).forEach(e=>{let t=0;s(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 i=e.slideBackgroundElement;if(i){i.style.display="block";let a=e.slideBackgroundContentElement,n=e.getAttribute("data-background-iframe");if(!1===i.hasAttribute("data-loaded")){i.setAttribute("data-loaded","true");let s=e.getAttribute("data-background-image"),r=e.getAttribute("data-background-video"),o=e.hasAttribute("data-background-video-loop"),l=e.hasAttribute("data-background-video-muted");if(s)a.style.backgroundImage="url("+encodeURI(s)+")";else if(r&&!this.Reveal.isSpeakerNotes()){let e=document.createElement("video");o&&e.setAttribute("loop",""),l&&(e.muted=!0),p&&(e.muted=!0,e.autoplay=!0,e.setAttribute("playsinline","")),r.split(",").forEach(t=>{e.innerHTML+=''}),a.appendChild(e)}else if(n&&!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",n),e.style.width="100%",e.style.height="100%",e.style.maxHeight="100%",e.style.maxWidth="100%",a.appendChild(e)}}let s=a.querySelector("iframe[data-src]");s&&this.shouldPreload(i)&&!/autoplay=(1|true|yes)/gi.test(n)&&s.getAttribute("src")!==n&&s.setAttribute("src",n)}}unload(e){e.style.display="none";let t=this.Reveal.getSlideBackground(e);t&&(t.style.display="none",s(t.querySelectorAll("iframe[src]")).forEach(e=>{e.removeAttribute("src")})),s(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")}),s(e.querySelectorAll("video[data-lazy-loaded] source[src], audio source[src]")).forEach(e=>{e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")})}formatEmbeddedContent(){let e=(e,t,i)=>{s(this.Reveal.getSlidesElement().querySelectorAll("iframe["+e+'*="'+t+'"]')).forEach(t=>{let a=t.getAttribute(e);a&&-1===a.indexOf(i)&&t.setAttribute(e,a+(/\?/.test(a)?"&":"?")+i)})};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")}startEmbeddedContent(e){e&&!this.Reveal.isSpeakerNotes()&&(s(e.querySelectorAll('img[src$=".gif"]')).forEach(e=>{e.setAttribute("src",e.getAttribute("src"))}),s(e.querySelectorAll("video, audio")).forEach(e=>{if(l(e,".fragment")&&!l(e,".fragment.visible"))return;let t=this.Reveal.getConfig().autoPlayMedia;if("boolean"!=typeof t&&(t=e.hasAttribute("data-autoplay")||!!l(e,".slide-background")),t&&"function"==typeof e.play)if(e.readyState>1)this.startEmbeddedMedia({target:e});else if(p){let t=e.play();t&&"function"==typeof t.catch&&!1===e.controls&&t.catch(()=>{e.controls=!0,e.addEventListener("play",()=>{e.controls=!1})})}else e.removeEventListener("loadeddata",this.startEmbeddedMedia),e.addEventListener("loadeddata",this.startEmbeddedMedia)}),s(e.querySelectorAll("iframe[src]")).forEach(e=>{l(e,".fragment")&&!l(e,".fragment.visible")||this.startEmbeddedIframe({target:e})}),s(e.querySelectorAll("iframe[data-src]")).forEach(e=>{l(e,".fragment")&&!l(e,".fragment.visible")||e.getAttribute("src")!==e.getAttribute("data-src")&&(e.removeEventListener("load",this.startEmbeddedIframe),e.addEventListener("load",this.startEmbeddedIframe),e.setAttribute("src",e.getAttribute("data-src")))}))}startEmbeddedMedia(e){let t=!!l(e.target,"html"),i=!!l(e.target,".present");t&&i&&(e.target.currentTime=0,e.target.play()),e.target.removeEventListener("loadeddata",this.startEmbeddedMedia)}startEmbeddedIframe(e){let t=e.target;if(t&&t.contentWindow){let i=!!l(e.target,"html"),a=!!l(e.target,".present");if(i&&a){let e=this.Reveal.getConfig().autoPlayMedia;"boolean"!=typeof e&&(e=t.hasAttribute("data-autoplay")||!!l(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","*")}}}stopEmbeddedContent(e,t={}){t=n({unloadIframes:!0},t),e&&e.parentNode&&(s(e.querySelectorAll("video, audio")).forEach(e=>{e.hasAttribute("data-ignore")||"function"!=typeof e.pause||(e.setAttribute("data-paused-by-reveal",""),e.pause())}),s(e.querySelectorAll("iframe")).forEach(e=>{e.contentWindow&&e.contentWindow.postMessage("slide:stop","*"),e.removeEventListener("load",this.startEmbeddedIframe)}),s(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":""}',"*")}),s(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&&s(e.querySelectorAll("iframe[data-src]")).forEach(e=>{e.setAttribute("src","about:blank"),e.removeAttribute("src")}))}}class y{constructor(e){this.Reveal=e}createElement(){this.element=document.createElement("div"),this.element.className="slide-number",this.Reveal.getRevealElement().appendChild(this.element)}refreshVisibility(){let e=this.Reveal.getConfig(),t="none";e.slideNumber&&!this.Reveal.isPrintingPDF()&&("all"===e.showSlideNumber||"speaker"===e.showSlideNumber&&this.Reveal.isSpeakerNotes())&&(t="block"),this.element.style.display=t}update(){this.Reveal.getConfig().slideNumber&&this.element&&(this.element.innerHTML=this.getSlideNumber())}getSlideNumber(e=this.Reveal.getCurrentSlide()){let t,i=this.Reveal.getConfig(),a="h.v";if("function"==typeof i.slideNumber)t=i.slideNumber(e);else switch("string"==typeof i.slideNumber&&(a=i.slideNumber),/c/.test(a)||1!==this.Reveal.getHorizontalSlides().length||(a="c"),t=[],a){case"c":t.push(this.Reveal.getSlidePastCount(e)+1);break;case"c/t":t.push(this.Reveal.getSlidePastCount(e)+1,"/",this.Reveal.getTotalSlides());break;default:let i=this.Reveal.getIndices(e);t.push(i.h+1);let n="h/v"===a?"/":".";this.Reveal.isVerticalSlide(e)&&t.push(n,i.v+1)}let n="#"+this.Reveal.location.getHash(e);return this.formatNumber(t[0],t[1],t[2],n)}formatNumber(e,t,i,a="#"+this.Reveal.location.getHash()){return"number"!=typeof i||isNaN(i)?`\n\t\t\t\t\t${e}\n\t\t\t\t\t`:`\n\t\t\t\t\t${e}\n\t\t\t\t\t${t}\n\t\t\t\t\t${i}\n\t\t\t\t\t`}}class A{constructor(e){this.Reveal=e,this.autoAnimateCounter=0}run(e,t){if(this.reset(),e.hasAttribute("data-auto-animate")&&t.hasAttribute("data-auto-animate")){this.autoAnimateStyleSheet=this.autoAnimateStyleSheet||c();let i=this.getAutoAnimateOptions(t);e.dataset.autoAnimate="pending",t.dataset.autoAnimate="pending";let a=this.getAutoAnimatableElements(e,t).map(e=>this.getAutoAnimateCSS(e.from,e.to,e.options||{},i,this.autoAnimateCounter++));"false"!==t.dataset.autoAnimateUnmatched&&!0===this.Reveal.getConfig().autoAnimateUnmatched&&(this.getUnmatchedAutoAnimateElements(t).forEach(e=>{e.dataset.autoAnimateTarget="unmatched"}),a.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${.8*i.duration}s ease ${.2*i.duration}s; }`)),this.autoAnimateStyleSheet.innerHTML=a.join(""),requestAnimationFrame(()=>{this.autoAnimateStyleSheet&&(getComputedStyle(this.autoAnimateStyleSheet).fontWeight,t.dataset.autoAnimate="running")}),this.Reveal.dispatchEvent("autoanimate",{fromSlide:e,toSlide:t,sheet:this.autoAnimateStyleSheet})}}reset(){s(this.Reveal.getRevealElement().querySelectorAll('[data-auto-animate]:not([data-auto-animate=""])')).forEach(e=>{e.dataset.autoAnimate=""}),s(this.Reveal.getRevealElement().querySelectorAll("[data-auto-animate-target]")).forEach(e=>{delete e.dataset.autoAnimateTarget}),this.autoAnimateStyleSheet&&this.autoAnimateStyleSheet.parentNode&&(this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet),this.autoAnimateStyleSheet=null)}getAutoAnimateCSS(e,t,i,a,n){e.dataset.autoAnimateTarget="",t.dataset.autoAnimateTarget=n;let s=this.getAutoAnimateOptions(t,a);void 0!==i.delay&&(s.delay=i.delay),void 0!==i.duration&&(s.duration=i.duration),void 0!==i.easing&&(s.easing=i.easing);let r=this.getAutoAnimatableProperties("from",e,i),o=this.getAutoAnimatableProperties("to",t,i);if(!1!==i.translate||!1!==i.scale){let e=this.Reveal.getScale(),t={x:(r.x-o.x)/e,y:(r.y-o.y)/e,scaleX:r.width/o.width,scaleY:r.height/o.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 a=!1!==i.translate&&(0!==t.x||0!==t.y),n=!1!==i.scale&&(0!==t.scaleX||0!==t.scaleY);if(a||n){let e=[];a&&e.push(`translate(${t.x}px, ${t.y}px)`),n&&e.push(`scale(${t.scaleX}, ${t.scaleY})`),r.styles.transform=e.join(" "),r.styles["transform-origin"]="top left",o.styles.transform="none"}}for(let e in o.styles){const t=o.styles[e],i=r.styles[e];t===i?delete o.styles[e]:(!0===t.explicitValue&&(o.styles[e]=t.value),!0===i.explicitValue&&(r.styles[e]=i.value))}let l="",d=Object.keys(o.styles);if(d.length>0){r.styles.transition="none",o.styles.transition=`all ${s.duration}s ${s.easing} ${s.delay}s`,o.styles["transition-property"]=d.join(", "),o.styles["will-change"]=d.join(", "),l='[data-auto-animate-target="'+n+'"] {'+Object.keys(r.styles).map(e=>e+": "+r.styles[e]+" !important;").join("")+'}[data-auto-animate="running"] [data-auto-animate-target="'+n+'"] {'+Object.keys(o.styles).map(e=>e+": "+o.styles[e]+" !important;").join("")+"}"}return l}getAutoAnimateOptions(e,t){let i={easing:this.Reveal.getConfig().autoAnimateEasing,duration:this.Reveal.getConfig().autoAnimateDuration,delay:0};if(i=n(i,t),e.closest&&e.parentNode){let t=e.parentNode.closest("[data-auto-animate-target]");t&&(i=this.getAutoAnimateOptions(t,i))}return e.dataset.autoAnimateEasing&&(i.easing=e.dataset.autoAnimateEasing),e.dataset.autoAnimateDuration&&(i.duration=parseFloat(e.dataset.autoAnimateDuration)),e.dataset.autoAnimateDelay&&(i.delay=parseFloat(e.dataset.autoAnimateDelay)),i}getAutoAnimatableProperties(e,t,i){let a={styles:[]};if(!1!==i.translate||!1!==i.scale){let e;e="function"==typeof i.measure?i.measure(t):t.getBoundingClientRect(),a.x=e.x,a.y=e.y,a.width=e.width,a.height=e.height}const n=getComputedStyle(t);return(i.styles||this.Reveal.getConfig().autoAnimateStyles).forEach(t=>{let i;"string"==typeof t&&(t={property:t}),i=void 0!==t.from&&"from"===e?{value:t.from,explicitValue:!0}:void 0!==t.to&&"to"===e?{value:t.to,explicitValue:!0}:n[t.property],""!==i&&(a.styles[t.property]=i)}),a}getAutoAnimatableElements(e,t){let i=("function"==typeof this.Reveal.getConfig().autoAnimateMatcher?this.Reveal.getConfig().autoAnimateMatcher:this.getAutoAnimatePairs).call(this,e,t),a=[];return i.filter((e,t)=>{if(-1===a.indexOf(e.to))return a.push(e.to),!0})}getAutoAnimatePairs(e,t){let i=[];const a="h1, h2, h3, h4, h5, h6, p, li";return this.findAutoAnimateMatches(i,e,t,"[data-id]",e=>e.nodeName+":::"+e.getAttribute("data-id")),this.findAutoAnimateMatches(i,e,t,a,e=>e.nodeName+":::"+e.innerText),this.findAutoAnimateMatches(i,e,t,"img, video, iframe",e=>e.nodeName+":::"+(e.getAttribute("src")||e.getAttribute("data-src"))),this.findAutoAnimateMatches(i,e,t,"pre",e=>e.nodeName+":::"+e.innerText),i.forEach(e=>{e.from.matches(a)?e.options={scale:!1}:e.from.matches("pre")&&(e.options={scale:!1,styles:["width","height"]},this.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-code",e=>e.textContent,{scale:!1,styles:[],measure:this.getLocalBoundingBox.bind(this)}),this.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-line[data-line-number]",e=>e.getAttribute("data-line-number"),{scale:!1,styles:["width"],measure:this.getLocalBoundingBox.bind(this)}))},this),i}getLocalBoundingBox(e){const t=this.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}}findAutoAnimateMatches(e,t,i,a,n,s){let r={},o={};[].slice.call(t.querySelectorAll(a)).forEach((e,t)=>{const i=n(e);"string"==typeof i&&i.length&&(r[i]=r[i]||[],r[i].push(e))}),[].slice.call(i.querySelectorAll(a)).forEach((t,i)=>{const a=n(t);let l;if(o[a]=o[a]||[],o[a].push(t),r[a]){const e=o[a].length-1,t=r[a].length-1;r[a][e]?(l=r[a][e],r[a][e]=null):r[a][t]&&(l=r[a][t],r[a][t]=null)}l&&e.push({from:l,to:t,options:s})})}getUnmatchedAutoAnimateElements(e){return[].slice.call(e.children).reduce((e,t)=>{const i=t.querySelector("[data-auto-animate-target]");return t.hasAttribute("data-auto-animate-target")||i||e.push(t),t.querySelector("[data-auto-animate-target]")&&(e=e.concat(this.getUnmatchedAutoAnimateElements(t))),e},[])}}class w{constructor(e){this.Reveal=e}showAll(){s(this.Reveal.getSlidesElement().querySelectorAll(".fragment")).forEach(e=>{e.classList.add("visible"),e.classList.remove("current-fragment")})}availableRoutes(){let e=this.Reveal.getCurrentSlide();if(e&&this.Reveal.getConfig().fragments){let t=e.querySelectorAll(".fragment"),i=e.querySelectorAll(".fragment:not(.visible)");return{prev:t.length-i.length>0,next:!!i.length}}return{prev:!1,next:!1}}sort(e,t=!1){e=s(e);let i=[],a=[],n=[];e.forEach(e=>{if(e.hasAttribute("data-fragment-index")){let t=parseInt(e.getAttribute("data-fragment-index"),10);i[t]||(i[t]=[]),i[t].push(e)}else a.push([e])}),i=i.concat(a);let r=0;return i.forEach(e=>{e.forEach(e=>{n.push(e),e.setAttribute("data-fragment-index",r)}),r++}),!0===t?i:n}sortAll(){this.Reveal.getHorizontalSlides().forEach(e=>{let t=s(e.querySelectorAll("section"));t.forEach((e,t)=>{this.sort(e.querySelectorAll(".fragment"))},this),0===t.length&&this.sort(e.querySelectorAll(".fragment"))})}update(e,t){let i={shown:[],hidden:[]},a=this.Reveal.getCurrentSlide();if(a&&this.Reveal.getConfig().fragments&&(t=t||this.sort(a.querySelectorAll(".fragment"))).length){let n=0;if("number"!=typeof e){let t=this.sort(a.querySelectorAll(".fragment.visible")).pop();t&&(e=parseInt(t.getAttribute("data-fragment-index")||0,10))}s(t).forEach((t,a)=>{t.hasAttribute("data-fragment-index")&&(a=parseInt(t.getAttribute("data-fragment-index"),10)),n=Math.max(n,a),a<=e?(t.classList.contains("visible")||i.shown.push(t),t.classList.add("visible"),t.classList.remove("current-fragment"),this.Reveal.announceStatus(this.Reveal.getStatusText(t)),a===e&&(t.classList.add("current-fragment"),this.Reveal.slideContent.startEmbeddedContent(t))):(t.classList.contains("visible")&&i.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),a.setAttribute("data-fragment",e)}return i}goto(e,t=0){let i=this.Reveal.getCurrentSlide();if(i&&this.Reveal.getConfig().fragments){let a=this.sort(i.querySelectorAll(".fragment"));if(a.length){if("number"!=typeof e){let t=this.sort(i.querySelectorAll(".fragment.visible")).pop();e=t?parseInt(t.getAttribute("data-fragment-index")||0,10):-1}e+=t;let n=this.update(e,a);return n.hidden.length&&this.Reveal.dispatchEvent("fragmenthidden",{fragment:n.hidden[0],fragments:n.hidden}),n.shown.length&&this.Reveal.dispatchEvent("fragmentshown",{fragment:n.shown[0],fragments:n.shown}),this.Reveal.updateControls(),this.Reveal.updateProgress(),this.Reveal.getConfig().fragmentInURL&&this.Reveal.location.writeURL(),!(!n.shown.length&&!n.hidden.length)}}return!1}next(){return this.goto(null,1)}prev(){return this.goto(null,-1)}}class S{constructor(e){this.Reveal=e,this.active=!1,this.onSlideClicked=this.onSlideClicked.bind(this)}activate(){if(this.Reveal.getConfig().overview&&!this.isActive()){this.active=!0,this.Reveal.getRevealElement().classList.add("overview"),this.Reveal.cancelAutoSlide(),this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()),s(this.Reveal.getRevealElement().querySelectorAll(".slides section")).forEach(e=>{e.classList.contains("stack")||e.addEventListener("click",this.onSlideClicked,!0)});const e=70,t=this.Reveal.getComputedSlideSize();this.overviewSlideWidth=t.width+e,this.overviewSlideHeight=t.height+e,this.Reveal.getConfig().rtl&&(this.overviewSlideWidth=-this.overviewSlideWidth),this.Reveal.updateSlidesVisibility(),this.layout(),this.update(),this.Reveal.layout();const i=this.Reveal.getIndices();this.Reveal.dispatchEvent("overviewshown",{indexh:i.h,indexv:i.v,currentSlide:this.Reveal.getCurrentSlide()})}}layout(){this.Reveal.getHorizontalSlides().forEach((e,t)=>{e.setAttribute("data-index-h",t),o(e,"translate3d("+t*this.overviewSlideWidth+"px, 0, 0)"),e.classList.contains("stack")&&s(e.querySelectorAll("section")).forEach((e,i)=>{e.setAttribute("data-index-h",t),e.setAttribute("data-index-v",i),o(e,"translate3d(0, "+i*this.overviewSlideHeight+"px, 0)")})}),s(this.Reveal.getBackgroundsElement().childNodes).forEach((e,t)=>{o(e,"translate3d("+t*this.overviewSlideWidth+"px, 0, 0)"),s(e.querySelectorAll(".slide-background")).forEach((e,t)=>{o(e,"translate3d(0, "+t*this.overviewSlideHeight+"px, 0)")})})}update(){const e=Math.min(window.innerWidth,window.innerHeight),t=Math.max(e/5,150)/e,i=this.Reveal.getIndices();this.Reveal.transformSlides({overview:["scale("+t+")","translateX("+-i.h*this.overviewSlideWidth+"px)","translateY("+-i.v*this.overviewSlideHeight+"px)"].join(" ")})}deactivate(){if(this.Reveal.getConfig().overview){this.active=!1,this.Reveal.getRevealElement().classList.remove("overview"),this.Reveal.getRevealElement().classList.add("overview-deactivating"),setTimeout(()=>{this.Reveal.getRevealElement().classList.remove("overview-deactivating")},1),this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()),s(this.Reveal.getRevealElement().querySelectorAll(".slides section")).forEach(e=>{o(e,""),e.removeEventListener("click",this.onSlideClicked,!0)}),s(this.Reveal.getBackgroundsElement().querySelectorAll(".slide-background")).forEach(e=>{o(e,"")}),this.Reveal.transformSlides({overview:""});const e=this.Reveal.getIndices();this.Reveal.slide(e.h,e.v),this.Reveal.layout(),this.Reveal.cueAutoSlide(),this.Reveal.dispatchEvent("overviewhidden",{indexh:e.h,indexv:e.v,currentSlide:this.Reveal.getCurrentSlide()})}}toggle(e){"boolean"==typeof e?e?this.activate():this.deactivate():this.isActive()?this.deactivate():this.activate()}isActive(){return this.active}onSlideClicked(e){if(this.isActive()){e.preventDefault();let t=e.target;for(;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(this.deactivate(),t.nodeName.match(/section/gi))){let e=parseInt(t.getAttribute("data-index-h"),10),i=parseInt(t.getAttribute("data-index-v"),10);this.Reveal.slide(e,i)}}}}class E{constructor(e){this.Reveal=e,this.shortcuts={},this.bindings={},this.onDocumentKeyDown=this.onDocumentKeyDown.bind(this),this.onDocumentKeyPress=this.onDocumentKeyPress.bind(this)}bind(){document.addEventListener("keydown",this.onDocumentKeyDown,!1),document.addEventListener("keypress",this.onDocumentKeyPress,!1)}unbind(){document.removeEventListener("keydown",this.onDocumentKeyDown,!1),document.removeEventListener("keypress",this.onDocumentKeyPress,!1)}addKeyBinding(e,t){"object"==typeof e&&e.keyCode?this.bindings[e.keyCode]={callback:t,key:e.key,description:e.description}:this.bindings[e]={callback:t,key:null,description:null}}removeKeyBinding(e){delete this.bindings[e]}refreshSortcuts(){"linear"===this.Reveal.getConfig().navigationMode?(this.shortcuts["→ , ↓ , SPACE , N , L , J"]="Next slide",this.shortcuts["← , ↑ , P , H , K"]="Previous slide"):(this.shortcuts["N , SPACE"]="Next slide",this.shortcuts.P="Previous slide",this.shortcuts["← , H"]="Navigate left",this.shortcuts["→ , L"]="Navigate right",this.shortcuts["↑ , K"]="Navigate up",this.shortcuts["↓ , J"]="Navigate down"),this.shortcuts["Home , Shift ←"]="First slide",this.shortcuts["End , Shift →"]="Last slide",this.shortcuts["B , ."]="Pause",this.shortcuts.F="Fullscreen",this.shortcuts["ESC, O"]="Slide overview"}triggerKey(e){this.onDocumentKeyDown({keyCode:e})}registerKeyboardShortcut(e,t){this.shortcuts[e]=t}onDocumentKeyPress(e){e.shiftKey&&63===e.charCode&&this.Reveal.toggleHelp()}onDocumentKeyDown(e){let t=this.Reveal.getConfig();if("function"==typeof t.keyboardCondition&&!1===t.keyboardCondition(e))return!0;let i=e.keyCode,a=!this.Reveal.isAutoSliding();this.Reveal.onUserInput(e);let n=document.activeElement&&"inherit"!==document.activeElement.contentEditable,s=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),r=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),o=e.shiftKey&&32===e.keyCode,l=e.shiftKey&&37===i,d=e.shiftKey&&39===i,c=!o&&!l&&!d&&(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey);if(n||s||r||c)return;let u,h=[66,86,190,191];if("object"==typeof t.keyboard)for(u in t.keyboard)"togglePause"===t.keyboard[u]&&h.push(parseInt(u,10));if(this.Reveal.isPaused()&&-1===h.indexOf(i))return!1;let g="linear"===t.navigationMode||!this.Reveal.hasHorizontalSlides()||!this.Reveal.hasVerticalSlides(),p=!1;if("object"==typeof t.keyboard)for(u in t.keyboard)if(parseInt(u,10)===i){let i=t.keyboard[u];"function"==typeof i?i.apply(null,[e]):"string"==typeof i&&"function"==typeof this.Reveal[i]&&this.Reveal[i].call(),p=!0}if(!1===p)for(u in this.bindings)if(parseInt(u,10)===i){let t=this.bindings[u].callback;"function"==typeof t?t.apply(null,[e]):"string"==typeof t&&"function"==typeof this.Reveal[t]&&this.Reveal[t].call(),p=!0}!1===p&&(p=!0,80===i||33===i?this.Reveal.prev():78===i||34===i?this.Reveal.next():72===i||37===i?l?this.Reveal.slide(0):!this.Reveal.overview.isActive()&&g?this.Reveal.prev():this.Reveal.left():76===i||39===i?d?this.Reveal.slide(Number.MAX_VALUE):!this.Reveal.overview.isActive()&&g?this.Reveal.next():this.Reveal.right():75===i||38===i?!this.Reveal.overview.isActive()&&g?this.Reveal.prev():this.Reveal.up():74===i||40===i?!this.Reveal.overview.isActive()&&g?this.Reveal.next():this.Reveal.down():36===i?this.Reveal.slide(0):35===i?this.Reveal.slide(Number.MAX_VALUE):32===i?(this.Reveal.overview.isActive()&&this.Reveal.overview.deactivate(),e.shiftKey?this.Reveal.prev():this.Reveal.next()):58===i||59===i||66===i||86===i||190===i||191===i?this.Reveal.togglePause():70===i?(()=>{let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&t.apply(e)})():65===i?t.autoSlideStoppable&&this.Reveal.toggleAutoSlide(a):p=!1),p?e.preventDefault&&e.preventDefault():27!==i&&79!==i||(!1===this.Reveal.closeOverlay()&&this.Reveal.overview.toggle(),e.preventDefault&&e.preventDefault()),this.Reveal.cueAutoSlide()}}class k{constructor(e){this.Reveal=e,this.writeURLTimeout=0}readURL(){let e=this.Reveal.getConfig(),t=this.Reveal.getIndices(),i=this.Reveal.getCurrentSlide(),a=window.location.hash,n=a.slice(2).split("/"),s=a.replace(/#|\//gi,"");if(!/^[0-9]*$/.test(n[0])&&s.length){let e;try{e=document.getElementById(decodeURIComponent(s))}catch(e){}let a=!!i&&i.getAttribute("id")===s;if(e){if(!a){let t=this.Reveal.getIndices(e);this.Reveal.slide(t.h,t.v)}}else this.Reveal.slide(t.h||0,t.v||0)}else{let i,a=e.hashOneBasedIndex?1:0,s=parseInt(n[0],10)-a||0,r=parseInt(n[1],10)-a||0;e.fragmentInURL&&(i=parseInt(n[2],10),isNaN(i)&&(i=void 0)),s===t.h&&r===t.v&&void 0===i||this.Reveal.slide(s,r,i)}}writeURL(e){let t=this.Reveal.getConfig(),i=this.Reveal.getCurrentSlide();clearTimeout(this.writeURLTimeout),"number"==typeof e?this.writeURLTimeout=setTimeout(this.writeURL,e):i&&(t.history||!window.history?window.location.hash=this.getHash():t.hash?window.history.replaceState(null,null,"#"+this.getHash()):window.history.replaceState(null,null,window.location.pathname+window.location.search))}getHash(e){let t="/",i=e||this.Reveal.getCurrentSlide(),a=i?i.getAttribute("id"):null;a&&(a=encodeURIComponent(a));let n=this.Reveal.getIndices(e);if(this.Reveal.getConfig().fragmentInURL||(n.f=void 0),"string"==typeof a&&a.length&&void 0===n.f)t="/"+a;else{let e=this.Reveal.getConfig().hashOneBasedIndex?1:0;(n.h>0||n.v>0||void 0!==n.f)&&(t+=n.h+e),(n.v>0||void 0!==n.f)&&(t+="/"+(n.v+e)),void 0!==n.f&&(t+="/"+n.f)}return t}}const L=(e,t)=>{const i=document.createElement("script");i.type="text/javascript",i.async=!1,i.defer=!1,i.src=e,"function"==typeof t&&(i.onload=i.onreadystatechange=e=>{("load"===e.type||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=i.onerror=null,t())},i.onerror=e=>{i.onload=i.onreadystatechange=i.onerror=null,t(new Error("Failed loading script: "+i.src+"\n"+e))});const a=document.querySelector("head");a.insertBefore(i,a.lastChild)};class R{constructor(){this.state="idle",this.registeredPlugins={},this.asyncDependencies=[]}load(e){return this.state="loading",new Promise(t=>{let i=[],a=0;if(e.forEach(e=>{e.condition&&!e.condition()||(e.async?this.asyncDependencies.push(e):i.push(e))}),i.length){a=i.length;const e=e=>{"function"==typeof e.callback&&e.callback(),0==--a&&this.initPlugins().then(t)};i.forEach(t=>{t.id?(this.registerPlugin(t.id,t.plugin),e(t)):L(t.src,()=>e(t))})}else this.initPlugins().then(t)})}initPlugins(){return new Promise(e=>{let t=Object.keys(this.registeredPlugins).length;if(0===t)this.loadAsync().then(e);else{let i=()=>{0==--t&&this.loadAsync().then(e)};for(let e in this.registeredPlugins){let t=this.registeredPlugins[e];if("function"==typeof t.init){let e=t.init();e&&"function"==typeof e.then?e.then(i):i()}else i()}}})}loadAsync(){return this.state="loaded",this.asyncDependencies.length&&this.asyncDependencies.forEach(e=>{e.id?(this.registerPlugin(e.id,e.plugin),"function"==typeof e.plugin.init&&e.plugin.init(),"function"==typeof e.callback&&e.callback()):L(e.src,e.callback)}),Promise.resolve()}registerPlugin(e,t){void 0===this.registeredPlugins[e]?(this.registeredPlugins[e]=t,"loaded"===this.state&&"function"==typeof t.init&&t.init()):console.warn('reveal.js: "'+e+'" plugin has already been registered')}hasPlugin(e){return!!this.registeredPlugins[e]}getPlugin(e){return this.registeredPlugins[e]}getRegisteredPlugins(){return this.registeredPlugins}}class x{constructor(e){this.Reveal=e,this.touchStartX=0,this.touchStartY=0,this.touchStartCount=0,this.touchCaptured=!1,this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this)}bind(){var e=this.Reveal.getRevealElement();"onpointerdown"in window?(e.addEventListener("pointerdown",this.onPointerDown,!1),e.addEventListener("pointermove",this.onPointerMove,!1),e.addEventListener("pointerup",this.onPointerUp,!1)):window.navigator.msPointerEnabled?(e.addEventListener("MSPointerDown",this.onPointerDown,!1),e.addEventListener("MSPointerMove",this.onPointerMove,!1),e.addEventListener("MSPointerUp",this.onPointerUp,!1)):(e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1))}unbind(){var e=this.Reveal.getRevealElement();e.removeEventListener("pointerdown",this.onPointerDown,!1),e.removeEventListener("pointermove",this.onPointerMove,!1),e.removeEventListener("pointerup",this.onPointerUp,!1),e.removeEventListener("MSPointerDown",this.onPointerDown,!1),e.removeEventListener("MSPointerMove",this.onPointerMove,!1),e.removeEventListener("MSPointerUp",this.onPointerUp,!1),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1)}isSwipePrevented(e){for(;e&&"function"==typeof e.hasAttribute;){if(e.hasAttribute("data-prevent-swipe"))return!0;e=e.parentNode}return!1}onTouchStart(e){if(this.isSwipePrevented(e.target))return!0;this.touchStartX=e.touches[0].clientX,this.touchStartY=e.touches[0].clientY,this.touchStartCount=e.touches.length}onTouchMove(e){if(this.isSwipePrevented(e.target))return!0;let t=this.Reveal.getConfig();if(this.touchCaptured)isAndroid&&e.preventDefault();else{this.Reveal.onUserInput(e);let i=e.touches[0].clientX,a=e.touches[0].clientY;if(1===e.touches.length&&2!==this.touchStartCount){let n=i-this.touchStartX,s=a-this.touchStartY;n>40&&Math.abs(n)>Math.abs(s)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.next():this.Reveal.prev()():this.Reveal.left()):n<-40&&Math.abs(n)>Math.abs(s)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.prev()():this.Reveal.next():this.Reveal.right()):s>40?(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.prev()():this.Reveal.up()):s<-40&&(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.next():this.Reveal.down()),t.embedded?(this.touchCaptured||this.Reveal.isVerticalSlide(currentSlide))&&e.preventDefault():e.preventDefault()}}}onTouchEnd(e){this.touchCaptured=!1}onPointerDown(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchStart(e))}onPointerMove(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchMove(e))}onPointerUp(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchEnd(e))}}class P{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,i=this.diameter2,a=this.diameter2;this.progressOffset+=.1*(1-this.progressOffset);const n=-Math.PI/2+e*(2*Math.PI),s=-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(i,a,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(i,a,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(i,a,t,s,n,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(i-14,a-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 M={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 C=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 i=e.match(/^#([0-9a-f]{6})$/i);if(i&&i[1])return i=i[1],{r:parseInt(i.substr(0,2),16),g:parseInt(i.substr(2,2),16),b:parseInt(i.substr(4,2),16)};let a=e.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(a)return{r:parseInt(a[1],10),g:parseInt(a[2],10),b:parseInt(a[3],10)};let n=e.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return n?{r:parseInt(n[1],10),g:parseInt(n[2],10),b:parseInt(n[3],10),a:parseFloat(n[4])}:null};var N=function(e,t){const i={};let l,h,g,v,L,N,q,I=!1,T=!1,D=!1,B=[],H=1,O=new b(i),z=new y(i),U=new A(i),K=new w(i),W=new S(i),j=new E(i),$=new k(i),V=new R,F=new x(i),X={layout:"",overview:""},Y={},_=0,J=!1,Q=0,Z=!1,G=0,ee=0,te=-1,ie=!1;function ae(){I=!0,function(){Y.slides.classList.add("no-transition"),p?Y.wrapper.classList.add("no-hover"):Y.wrapper.classList.remove("no-hover");Y.background=d(Y.wrapper,"div","backgrounds",null),Y.progress=d(Y.wrapper,"div","progress",""),Y.progressbar=Y.progress.querySelector("span"),Y.controls=d(Y.wrapper,"aside","controls",`\n\t\t\t\n\t\t\t\n\t\t\t`),z.createElement(),Y.speakerNotes=d(Y.wrapper,"div","speaker-notes",null),Y.speakerNotes.setAttribute("data-prevent-swipe",""),Y.speakerNotes.setAttribute("tabindex","0"),Y.pauseOverlay=d(Y.wrapper,"div","pause-overlay",l.controls?'':null),Y.wrapper.setAttribute("role","application"),Y.controlsLeft=s(Y.wrapper.querySelectorAll(".navigate-left")),Y.controlsRight=s(Y.wrapper.querySelectorAll(".navigate-right")),Y.controlsUp=s(Y.wrapper.querySelectorAll(".navigate-up")),Y.controlsDown=s(Y.wrapper.querySelectorAll(".navigate-down")),Y.controlsPrev=s(Y.wrapper.querySelectorAll(".navigate-prev")),Y.controlsNext=s(Y.wrapper.querySelectorAll(".navigate-next")),Y.controlsRightArrow=Y.controls.querySelector(".navigate-right"),Y.controlsLeftArrow=Y.controls.querySelector(".navigate-left"),Y.controlsDownArrow=Y.controls.querySelector(".navigate-down"),Y.statusElement=function(){let e=Y.wrapper.querySelector(".aria-status");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.classList.add("aria-status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),Y.wrapper.appendChild(e));return e}()}(),l.postMessage&&window.addEventListener("message",e=>{let t=e.data;if("string"==typeof t&&"{"===t.charAt(0)&&"}"===t.charAt(t.length-1)&&(t=JSON.parse(t),t.method&&"function"==typeof i[t.method]))if(!1===a.test(t.method)){const e=i[t.method].apply(i,t.args);ve("callback",{method:t.method,result:e})}else console.warn('reveal.js: "'+t.method+'" is is blacklisted from the postMessage API')},!1),setInterval(()=>{0===Y.wrapper.scrollTop&&0===Y.wrapper.scrollLeft||(Y.wrapper.scrollTop=0,Y.wrapper.scrollLeft=0)},1e3),Qe().forEach(e=>{s(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"))})}),de(),$.readURL(),$e(!0),setTimeout(()=>{Y.slides.classList.remove("no-transition"),Y.wrapper.classList.add("ready"),pe("ready",{indexh:h,indexv:g,currentSlide:L})},1),ge()&&(ue(),"complete"===document.readyState?re():window.addEventListener("load",re))}function ne(e){Y.statusElement.textContent=e}function se(e){let t="";if(3===e.nodeType)t+=e.textContent;else if(1===e.nodeType){let i=e.getAttribute("aria-hidden"),a="none"===window.getComputedStyle(e).display;"true"===i||a||s(e.childNodes).forEach(e=>{t+=se(e)})}return t=t.trim(),""===t?"":t+" "}function re(){let e=Se(window.innerWidth,window.innerHeight),t=Math.floor(e.width*(1+l.margin)),i=Math.floor(e.height*(1+l.margin)),a=e.width,n=e.height;c("@page{size:"+t+"px "+i+"px; margin: 0px;}"),c(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+a+"px; max-height:"+n+"px}"),document.body.classList.add("print-pdf"),document.body.style.width=t+"px",document.body.style.height=i+"px",we(a,n);let r=l.slideNumber&&/all|print/i.test(l.showSlideNumber);s(Y.wrapper.querySelectorAll(".slides section")).forEach((function(e){e.setAttribute("data-slide-number",z.getSlideNumber(e))})),s(Y.wrapper.querySelectorAll(".slides section")).forEach((function(e){if(!1===e.classList.contains("stack")){let o=(t-a)/2,d=(i-n)/2,c=e.scrollHeight,u=Math.max(Math.ceil(c/i),1);u=Math.min(u,l.pdfMaxPagesPerSlide),(1===u&&l.center||e.classList.contains("center"))&&(d=Math.max((i-c)/2,0));let h=document.createElement("div");if(h.className="pdf-page",h.style.height=(i+l.pdfPageHeightOffset)*u+"px",e.parentNode.insertBefore(h,e),h.appendChild(e),e.style.left=o+"px",e.style.top=d+"px",e.style.width=a+"px",e.slideBackgroundElement&&h.insertBefore(e.slideBackgroundElement,e),l.showNotes){let i=at(e);if(i){let e=8,a="string"==typeof l.showNotes?l.showNotes:"inline",n=document.createElement("div");n.classList.add("speaker-notes"),n.classList.add("speaker-notes-pdf"),n.setAttribute("data-layout",a),n.innerHTML=i,"separate-page"===a?h.parentNode.insertBefore(n,h.nextSibling):(n.style.left=e+"px",n.style.bottom=e+"px",n.style.width=t-2*e+"px",h.appendChild(n))}}if(r){let t=document.createElement("div");t.classList.add("slide-number"),t.classList.add("slide-number-pdf"),t.innerHTML=e.getAttribute("data-slide-number"),h.appendChild(t)}if(l.pdfSeparateFragments){let e,t,i=K.sort(h.querySelectorAll(".fragment"),!0);i.forEach((function(i){e&&e.forEach((function(e){e.classList.remove("current-fragment")})),i.forEach((function(e){e.classList.add("visible","current-fragment")}));let a=h.cloneNode(!0);h.parentNode.insertBefore(a,(t||h).nextSibling),e=i,t=a})),i.forEach((function(e){e.forEach((function(e){e.classList.remove("visible","current-fragment")}))}))}else s(h.querySelectorAll(".fragment:not(.fade-out)")).forEach((function(e){e.classList.add("visible")}))}})),pe("pdf-ready")}function oe(e,t){let i=document.createElement("div");i.className="slide-background "+e.className.replace(/present|past|future/,"");let a=document.createElement("div");return a.className="slide-background-content",i.appendChild(a),t.appendChild(i),e.slideBackgroundElement=i,e.slideBackgroundContentElement=a,le(e),i}function le(e){let t=e.slideBackgroundElement,i=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="",i.style.backgroundSize="",i.style.backgroundRepeat="",i.style.backgroundPosition="",i.style.backgroundImage="",i.style.opacity="",i.innerHTML="";let a={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")};a.background&&(/^(http|file|\/\/)/gi.test(a.background)||/\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.test(a.background)?e.setAttribute("data-background-image",a.background):t.style.background=a.background),(a.background||a.backgroundColor||a.backgroundImage||a.backgroundVideo||a.backgroundIframe)&&t.setAttribute("data-background-hash",a.background+a.backgroundSize+a.backgroundImage+a.backgroundVideo+a.backgroundIframe+a.backgroundColor+a.backgroundRepeat+a.backgroundPosition+a.backgroundTransition+a.backgroundOpacity),a.backgroundSize&&t.setAttribute("data-background-size",a.backgroundSize),a.backgroundColor&&(t.style.backgroundColor=a.backgroundColor),a.backgroundTransition&&t.setAttribute("data-background-transition",a.backgroundTransition),e.hasAttribute("data-preload")&&t.setAttribute("data-preload",""),a.backgroundSize&&(i.style.backgroundSize=a.backgroundSize),a.backgroundRepeat&&(i.style.backgroundRepeat=a.backgroundRepeat),a.backgroundPosition&&(i.style.backgroundPosition=a.backgroundPosition),a.backgroundOpacity&&(i.style.opacity=a.backgroundOpacity);let n=a.backgroundColor;if(!n){let e=window.getComputedStyle(t);e&&e.backgroundColor&&(n=e.backgroundColor)}if(n){let t=C(n);t&&0!==t.a&&("string"==typeof(s=n)&&(s=C(s)),(s?(299*s.r+587*s.g+114*s.b)/1e3:null)<128?e.classList.add("has-dark-background"):e.classList.add("has-light-background"))}var s}function de(e){const t=l.transition;if("object"==typeof e&&n(l,e),!1===i.isReady())return;const a=Y.wrapper.querySelectorAll(".slides section").length;Y.wrapper.classList.remove(t),Y.wrapper.classList.add(l.transition),Y.wrapper.setAttribute("data-transition-speed",l.transitionSpeed),Y.wrapper.setAttribute("data-background-transition",l.backgroundTransition),Y.controls.style.display=l.controls?"block":"none",Y.progress.style.display=l.progress?"block":"none",Y.controls.setAttribute("data-controls-layout",l.controlsLayout),Y.controls.setAttribute("data-controls-back-arrows",l.controlsBackArrows),l.shuffle&&Oe(),l.rtl?Y.wrapper.classList.add("rtl"):Y.wrapper.classList.remove("rtl"),l.center?Y.wrapper.classList.add("center"):Y.wrapper.classList.remove("center"),!1===l.pause&&qe(),l.showNotes&&Y.speakerNotes.setAttribute("data-layout","string"==typeof l.showNotes?l.showNotes:"inline"),l.mouseWheel?(document.addEventListener("DOMMouseScroll",mt,!1),document.addEventListener("mousewheel",mt,!1)):(document.removeEventListener("DOMMouseScroll",mt,!1),document.removeEventListener("mousewheel",mt,!1)),l.hideInactiveCursor?(document.addEventListener("mousemove",ft,!1),document.addEventListener("mousedown",ft,!1)):(Me(),document.removeEventListener("mousemove",ft,!1),document.removeEventListener("mousedown",ft,!1)),l.previewLinks?(fe(),me("[data-preview-link=false]")):(me(),fe("[data-preview-link]:not([data-preview-link=false])")),U.reset(),q&&(q.destroy(),q=null),a>1&&l.autoSlide&&l.autoSlideStoppable&&(q=new P(Y.wrapper,()=>Math.min(Math.max((Date.now()-te)/G,0),1)),q.on("click",Mt),ie=!1),!1===l.fragments&&K.showAll(),"default"!==l.navigationMode?Y.wrapper.setAttribute("data-navigation-mode",l.navigationMode):Y.wrapper.removeAttribute("data-navigation-mode"),z.refreshVisibility(),j.refreshSortcuts(),Be()}function ce(){Z=!0,window.addEventListener("hashchange",Lt,!1),window.addEventListener("resize",Rt,!1),l.touch&&F.bind(),l.keyboard&&j.bind(),l.progress&&Y.progress&&Y.progress.addEventListener("click",bt,!1),Y.pauseOverlay.addEventListener("click",qe,!1),l.focusBodyOnPageVisibilityChange&&document.addEventListener("visibilitychange",xt,!1);let e=["touchstart","click"];f&&(e=["touchstart"]),e.forEach(e=>{Y.controlsLeft.forEach(t=>t.addEventListener(e,yt,!1)),Y.controlsRight.forEach(t=>t.addEventListener(e,At,!1)),Y.controlsUp.forEach(t=>t.addEventListener(e,wt,!1)),Y.controlsDown.forEach(t=>t.addEventListener(e,St,!1)),Y.controlsPrev.forEach(t=>t.addEventListener(e,Et,!1)),Y.controlsNext.forEach(t=>t.addEventListener(e,kt,!1))})}function ue(){Z=!1,F.unbind(),j.unbind(),window.removeEventListener("hashchange",Lt,!1),window.removeEventListener("resize",Rt,!1),Y.pauseOverlay.removeEventListener("click",qe,!1),l.progress&&Y.progress&&Y.progress.removeEventListener("click",bt,!1),["touchstart","click"].forEach(e=>{Y.controlsLeft.forEach(t=>t.removeEventListener(e,yt,!1)),Y.controlsRight.forEach(t=>t.removeEventListener(e,At,!1)),Y.controlsUp.forEach(t=>t.removeEventListener(e,wt,!1)),Y.controlsDown.forEach(t=>t.removeEventListener(e,St,!1)),Y.controlsPrev.forEach(t=>t.removeEventListener(e,Et,!1)),Y.controlsNext.forEach(t=>t.removeEventListener(e,kt,!1))})}function he(e){"string"==typeof e.layout&&(X.layout=e.layout),"string"==typeof e.overview&&(X.overview=e.overview),X.layout?o(Y.slides,X.layout+" "+X.overview):o(Y.slides,X.overview)}function ge(){return/print-pdf/gi.test(window.location.search)}function pe(e,t){let i=document.createEvent("HTMLEvents",1,2);i.initEvent(e,!0,!0),n(i,t),Y.wrapper.dispatchEvent(i),ve(e)}function ve(e,t){if(l.postMessageEvents&&window.parent!==window.self){let i={namespace:"reveal",eventName:e,state:nt()};n(i,t),window.parent.postMessage(JSON.stringify(i),"*")}}function fe(e="a"){s(Y.wrapper.querySelectorAll(e)).forEach(e=>{/^(http|www)/gi.test(e.getAttribute("href"))&&e.addEventListener("click",Pt,!1)})}function me(e="a"){s(Y.wrapper.querySelectorAll(e)).forEach(e=>{/^(http|www)/gi.test(e.getAttribute("href"))&&e.removeEventListener("click",Pt,!1)})}function be(){if(l.help){ye(),Y.overlay=document.createElement("div"),Y.overlay.classList.add("overlay"),Y.overlay.classList.add("overlay-help"),Y.wrapper.appendChild(Y.overlay);let e='

Keyboard Shortcuts


';e+="";for(let t in j.shortcuts)e+=``;for(let t in j.registeredKeyBindings)j.registeredKeyBindings[t].key&&j.registeredKeyBindings[t].description&&(e+=``);e+="
KEYACTION
${t}${j.shortcuts[t]}
${j.registeredKeyBindings[t].key}${j.registeredKeyBindings[t].description}
",Y.overlay.innerHTML=`\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
${e}
\n\t\t\t\t
\n\t\t\t`,Y.overlay.querySelector(".close").addEventListener("click",e=>{ye(),e.preventDefault()},!1)}}function ye(){return!!Y.overlay&&(Y.overlay.parentNode.removeChild(Y.overlay),Y.overlay=null,!0)}function Ae(){if(Y.wrapper&&!ge()){if(!l.disableLayout){p&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");const e=Se(),t=H;we(l.width,l.height),Y.slides.style.width=e.width+"px",Y.slides.style.height=e.height+"px",H=Math.min(e.presentationWidth/e.width,e.presentationHeight/e.height),H=Math.max(H,l.minScale),H=Math.min(H,l.maxScale),1===H?(Y.slides.style.zoom="",Y.slides.style.left="",Y.slides.style.top="",Y.slides.style.bottom="",Y.slides.style.right="",he({layout:""})):H>1&&m&&window.devicePixelRatio<2?(Y.slides.style.zoom=H,Y.slides.style.left="",Y.slides.style.top="",Y.slides.style.bottom="",Y.slides.style.right="",he({layout:""})):(Y.slides.style.zoom="",Y.slides.style.left="50%",Y.slides.style.top="50%",Y.slides.style.bottom="auto",Y.slides.style.right="auto",he({layout:"translate(-50%, -50%) scale("+H+")"}));const i=s(Y.wrapper.querySelectorAll(".slides section"));for(let t=0,a=i.length;t .stretch")).forEach(i=>{let a=function(e,t=0){if(e){let i,a=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",i=t-e.parentNode.offsetHeight,e.style.height=a+"px",e.parentNode.style.removeProperty("height"),i}return t}(i,t);if(/(img|video)/gi.test(i.nodeName)){const t=i.naturalWidth||i.videoWidth,n=i.naturalHeight||i.videoHeight,s=Math.min(e/t,a/n);i.style.width=t*s+"px",i.style.height=n*s+"px"}else i.style.width=e+"px",i.style.height=a+"px"})}function Se(e,t){const i={width:l.width,height:l.height,presentationWidth:e||Y.wrapper.offsetWidth,presentationHeight:t||Y.wrapper.offsetHeight};return i.presentationWidth-=i.presentationWidth*l.margin,i.presentationHeight-=i.presentationHeight*l.margin,"string"==typeof i.width&&/%$/.test(i.width)&&(i.width=parseInt(i.width,10)/100*i.presentationWidth),"string"==typeof i.height&&/%$/.test(i.height)&&(i.height=parseInt(i.height,10)/100*i.presentationHeight),i}function Ee(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function ke(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 Le(e=L){return e&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function Re(){return!(!L||!Le(L))&&!L.nextElementSibling}function xe(){return 0===h&&0===g}function Pe(){return!!L&&(!L.nextElementSibling&&(!Le(L)||!L.parentNode.nextElementSibling))}function Me(){J&&(J=!1,Y.wrapper.style.cursor="")}function Ce(){!1===J&&(J=!0,Y.wrapper.style.cursor="none")}function Ne(){if(l.pause){const e=Y.wrapper.classList.contains("paused");rt(),Y.wrapper.classList.add("paused"),!1===e&&pe("paused")}}function qe(){const e=Y.wrapper.classList.contains("paused");Y.wrapper.classList.remove("paused"),st(),e&&pe("resumed")}function Ie(e){"boolean"==typeof e?e?Ne():qe():Te()?qe():Ne()}function Te(){return Y.wrapper.classList.contains("paused")}function De(e,t,i,a){v=L;const n=Y.wrapper.querySelectorAll(".slides>section");if(0===n.length)return;void 0!==t||W.isActive()||(t=ke(n[e])),v&&v.parentNode&&v.parentNode.classList.contains("stack")&&Ee(v.parentNode,g);const r=B.concat();B.length=0;let o=h||0,d=g||0;h=ze(".slides>section",void 0===e?h:e),g=ze(".slides>section.present>section",void 0===t?g:t),Ue(),Ae(),W.isActive()&&W.update();let c=n[h],u=c.querySelectorAll("section");L=u[g]||c,void 0!==i&&K.goto(i);let p=h!==o||g!==d;p||(v=null),v&&v!==L&&(v.classList.remove("present"),v.setAttribute("aria-hidden","true"),xe()&&setTimeout(()=>{s(Y.wrapper.querySelectorAll(".slides>section.stack")).forEach(e=>{Ee(e,0)})},0));e:for(let e=0,t=B.length;e{Y.slides.classList.remove("disable-slide-transitions")},0),l.autoAnimate&&U.run(v,L))}function Be(){ue(),ce(),Ae(),G=l.autoSlide,st(),ge(),Y.background.innerHTML="",Y.background.classList.add("no-transition"),s(Y.wrapper.querySelectorAll(".slides>section")).forEach(e=>{let t=oe(e,Y.background);s(e.querySelectorAll("section")).forEach(e=>{oe(e,t),t.classList.add("stack")})}),l.parallaxBackgroundImage?(Y.background.style.backgroundImage='url("'+l.parallaxBackgroundImage+'")',Y.background.style.backgroundSize=l.parallaxBackgroundSize,Y.background.style.backgroundRepeat=l.parallaxBackgroundRepeat,Y.background.style.backgroundPosition=l.parallaxBackgroundPosition,setTimeout(()=>{Y.wrapper.classList.add("has-parallax-background")},1)):(Y.background.style.backgroundImage="",Y.wrapper.classList.remove("has-parallax-background")),$.writeURL(),K.sortAll(),je(),We(),Ue(),$e(!0),l.showNotes&&Y.slides.querySelectorAll("[data-notes], aside.notes").length>0?Y.wrapper.classList.add("show-notes"):Y.wrapper.classList.remove("show-notes"),Ke(),z.update(),O.formatEmbeddedContent(),!1===l.autoPlayMedia?O.stopEmbeddedContent(L,{unloadIframes:!1}):O.startEmbeddedContent(L),W.isActive()&&W.layout()}function He(e=L){return l.sort(e.querySelectorAll(".fragment"))}function Oe(){Qe().forEach((e,t,i)=>{Y.slides.insertBefore(e,i[Math.floor(Math.random()*i.length)])})}function ze(e,t){let i=s(Y.wrapper.querySelectorAll(e)),a=i.length,n=ge();if(a){l.loop&&(t%=a)<0&&(t=a+t),t=Math.max(Math.min(t,a-1),0);for(let e=0;e{e.classList.add("visible"),e.classList.remove("current-fragment")})):e>t&&(a.classList.add(r?"past":"future"),l.fragments&&s(a.querySelectorAll(".fragment.visible")).forEach(e=>{e.classList.remove("visible","current-fragment")}))}i[t].classList.add("present"),i[t].removeAttribute("hidden"),i[t].removeAttribute("aria-hidden");let e=i[t].getAttribute("data-state");e&&(B=B.concat(e.split(" ")))}else t=0;return t}function Ue(){let e,t,i=Qe(),a=i.length;if(a&&void 0!==h){let n=W.isActive()?10:l.viewDistance;p&&(n=W.isActive()?6:l.mobileViewDistance),ge()&&(n=Number.MAX_VALUE);for(let r=0;rNo notes on this slide.')}function We(){l.progress&&Y.progressbar&&(Y.progressbar.style.width=Ye()*Y.wrapper.offsetWidth+"px")}function je(){let e=Fe(),t=K.availableRoutes();[...Y.controlsLeft,...Y.controlsRight,...Y.controlsUp,...Y.controlsDown,...Y.controlsPrev,...Y.controlsNext].forEach(e=>{e.classList.remove("enabled","fragmented"),e.setAttribute("disabled","disabled")}),e.left&&Y.controlsLeft.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.right&&Y.controlsRight.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.up&&Y.controlsUp.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.down&&Y.controlsDown.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.left||e.up)&&Y.controlsPrev.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.right||e.down)&&Y.controlsNext.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),L&&(t.prev&&Y.controlsPrev.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&Y.controlsNext.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),Le(L)?(t.prev&&Y.controlsUp.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&Y.controlsDown.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})):(t.prev&&Y.controlsLeft.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&Y.controlsRight.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}))),l.controlsTutorial&&(!D&&e.down?Y.controlsDownArrow.classList.add("highlight"):(Y.controlsDownArrow.classList.remove("highlight"),l.rtl?!T&&e.left&&0===g?Y.controlsLeftArrow.classList.add("highlight"):Y.controlsLeftArrow.classList.remove("highlight"):!T&&e.right&&0===g?Y.controlsRightArrow.classList.add("highlight"):Y.controlsRightArrow.classList.remove("highlight")))}function $e(e=!1){let t=null,i=l.rtl?"future":"past",a=l.rtl?"past":"future";if(s(Y.background.childNodes).forEach((n,r)=>{n.classList.remove("past","present","future"),rh?n.classList.add(a):(n.classList.add("present"),t=n),(e||r===h)&&s(n.querySelectorAll(".slide-background")).forEach((e,i)=>{e.classList.remove("past","present","future"),ig?e.classList.add("future"):(e.classList.add("present"),r===h&&(t=e))})}),N&&O.stopEmbeddedContent(N,{unloadIframes:!O.shouldPreload(N)}),t){O.startEmbeddedContent(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 i=N?N.getAttribute("data-background-hash"):null,a=t.getAttribute("data-background-hash");a&&a===i&&t!==N&&Y.background.classList.add("no-transition"),N=t}L&&["has-light-background","has-dark-background"].forEach(e=>{L.classList.contains(e)?Y.wrapper.classList.add(e):Y.wrapper.classList.remove(e)}),setTimeout(()=>{Y.background.classList.remove("no-transition")},1)}function Ve(){if(l.parallaxBackgroundImage){let e,t,i=Qe(),a=Ze(),n=Y.background.style.backgroundSize.split(" ");1===n.length?e=t=parseInt(n[0],10):(e=parseInt(n[0],10),t=parseInt(n[1],10));let s,r,o=Y.background.offsetWidth,d=i.length;s="number"==typeof l.parallaxBackgroundHorizontal?l.parallaxBackgroundHorizontal:d>1?(e-o)/(d-1):0,r=s*h*-1;let c,u,p=Y.background.offsetHeight,v=a.length;c="number"==typeof l.parallaxBackgroundVertical?l.parallaxBackgroundVertical:(t-p)/(v-1),u=v>0?c*g:0,Y.background.style.backgroundPosition=r+"px "+-u+"px"}}function Fe(){let e=Y.wrapper.querySelectorAll(".slides>section"),t=Y.wrapper.querySelectorAll(".slides>section.present>section"),i={left:h>0,right:h0,down:g1&&(i.left=!0,i.right=!0),t.length>1&&(i.up=!0,i.down=!0)),e.length>1&&"linear"===l.navigationMode&&(i.right=i.right||i.down,i.left=i.left||i.up),l.rtl){let e=i.left;i.left=i.right,i.right=e}return i}function Xe(e=L){let t=Qe(),i=0;e:for(let a=0;a0){let i=.9;t+=L.querySelectorAll(".fragment.visible").length/e.length*i}}return Math.min(t/(e-1),1)}function _e(e){let t,i=h,a=g;if(e){let t=Le(e),n=t?e.parentNode:e,r=s(Y.wrapper.querySelectorAll(".slides>section"));i=Math.max(r.indexOf(n),0),a=void 0,t&&(a=Math.max(s(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&L){if(L.querySelectorAll(".fragment").length>0){let e=L.querySelector(".current-fragment");t=e&&e.hasAttribute("data-fragment-index")?parseInt(e.getAttribute("data-fragment-index"),10):L.querySelectorAll(".fragment.visible").length-1}}return{h:i,v:a,f:t}}function Je(){return s(Y.wrapper.querySelectorAll('.slides section:not(.stack):not([data-visibility="uncounted"])'))}function Qe(){return s(Y.wrapper.querySelectorAll(".slides>section"))}function Ze(){return s(Y.wrapper.querySelectorAll(".slides>section>section"))}function Ge(){return Qe().length>1}function et(){return Ze().length>1}function tt(){return Je().length}function it(e,t){let i=Qe()[e],a=i&&i.querySelectorAll("section");return a&&a.length&&"number"==typeof t?a?a[t]:void 0:i}function at(e=L){if(e.hasAttribute("data-notes"))return e.getAttribute("data-notes");let t=e.querySelector("aside.notes");return t?t.innerHTML:null}function nt(){let e=_e();return{indexh:e.h,indexv:e.v,indexf:e.f,paused:Te(),overview:W.isActive()}}function st(){if(rt(),L&&!1!==l.autoSlide){let e=L.querySelector(".current-fragment");e||(e=L.querySelector(".fragment"));let t=e?e.getAttribute("data-autoslide"):null,i=L.parentNode?L.parentNode.getAttribute("data-autoslide"):null,a=L.getAttribute("data-autoslide");G=t?parseInt(t,10):a?parseInt(a,10):i?parseInt(i,10):l.autoSlide,0===L.querySelectorAll(".fragment").length&&s(L.querySelectorAll("video, audio")).forEach(e=>{e.hasAttribute("data-autoplay")&&G&&1e3*e.duration/e.playbackRate>G&&(G=1e3*e.duration/e.playbackRate+1e3)}),!G||ie||Te()||W.isActive()||Pe()&&!K.availableRoutes().next&&!0!==l.loop||(ee=setTimeout(()=>{"function"==typeof l.autoSlideMethod?l.autoSlideMethod():pt(),st()},G),te=Date.now()),q&&q.setPlaying(-1!==ee)}}function rt(){clearTimeout(ee),ee=-1}function ot(){G&&!ie&&(ie=!0,pe("autoslidepaused"),clearTimeout(ee),q&&q.setPlaying(!1))}function lt(){G&&ie&&(ie=!1,pe("autoslideresumed"),st())}function dt(){T=!0,l.rtl?(W.isActive()||!1===K.next())&&Fe().left&&De(h+1,"grid"===l.navigationMode?g:void 0):(W.isActive()||!1===K.prev())&&Fe().left&&De(h-1,"grid"===l.navigationMode?g:void 0)}function ct(){T=!0,l.rtl?(W.isActive()||!1===K.prev())&&Fe().right&&De(h-1,"grid"===l.navigationMode?g:void 0):(W.isActive()||!1===K.next())&&Fe().right&&De(h+1,"grid"===l.navigationMode?g:void 0)}function ut(){(W.isActive()||!1===K.prev())&&Fe().up&&De(h,g-1)}function ht(){D=!0,(W.isActive()||!1===K.next())&&Fe().down&&De(h,g+1)}function gt(){if(!1===K.prev())if(Fe().up)ut();else{let e;if(e=l.rtl?s(Y.wrapper.querySelectorAll(".slides>section.future")).pop():s(Y.wrapper.querySelectorAll(".slides>section.past")).pop(),e){let t=e.querySelectorAll("section").length-1||void 0;De(h-1,t)}}}function pt(){if(T=!0,D=!0,!1===K.next()){let e=Fe();e.down&&e.right&&l.loop&&Re()&&(e.down=!1),e.down?ht():l.rtl?dt():ct()}}function vt(e){l.autoSlideStoppable&&ot()}function ft(e){Me(),clearTimeout(Q),Q=setTimeout(Ce,l.hideCursorTime)}function mt(e){if(Date.now()-_>600){_=Date.now();let t=e.detail||-e.wheelDelta;t>0?pt():t<0&>()}}function bt(e){vt(),e.preventDefault();let t=Qe().length,i=Math.floor(e.clientX/Y.wrapper.offsetWidth*t);l.rtl&&(i=t-i),De(i)}function yt(e){e.preventDefault(),vt(),"linear"===l.navigationMode?gt():dt()}function At(e){e.preventDefault(),vt(),"linear"===l.navigationMode?pt():ct()}function wt(e){e.preventDefault(),vt(),ut()}function St(e){e.preventDefault(),vt(),ht()}function Et(e){e.preventDefault(),vt(),gt()}function kt(e){e.preventDefault(),vt(),pt()}function Lt(e){$.readURL()}function Rt(e){Ae()}function xt(e){!1===document.hidden&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function Pt(e){if(e.currentTarget&&e.currentTarget.hasAttribute("href")){let t=e.currentTarget.getAttribute("href");t&&(!function(e){ye(),Y.overlay=document.createElement("div"),Y.overlay.classList.add("overlay"),Y.overlay.classList.add("overlay-preview"),Y.wrapper.appendChild(Y.overlay),Y.overlay.innerHTML=`
\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tUnable to load iframe. This is likely due to the site's policy (x-frame-options).\n\t\t\t\t\n\t\t\t
`,Y.overlay.querySelector("iframe").addEventListener("load",e=>{Y.overlay.classList.add("loaded")},!1),Y.overlay.querySelector(".close").addEventListener("click",e=>{ye(),e.preventDefault()},!1),Y.overlay.querySelector(".external").addEventListener("click",e=>{ye()},!1)}(t),e.preventDefault())}}function Mt(e){Pe()&&!1===l.loop?(De(0,0),lt()):ie?lt():ot()}return n(i,{VERSION:"4.0.0-dev",initialize:function(){if(e)return Y.wrapper=e,Y.slides=e.querySelector(".slides"),window.addEventListener("load",Ae,!1),l={...M,...t,...u()},V.load(l.dependencies).then(ae),new Promise(e=>i.addEventListener("ready",e));console.warn("reveal.js can not initialize without a valid .reveal element.")},configure:de,sync:Be,syncSlide:function(e=L){le(e),He(e),O.load(e),$e(),Ke()},syncFragments:He,slide:De,left:dt,right:ct,up:ut,down:ht,prev:gt,next:pt,navigateTo:De,navigateLeft:dt,navigateRight:ct,navigateUp:ut,navigateDown:ht,navigatePrev:gt,navigateNext:pt,navigateFragment:K.goto.bind(K),prevFragment:K.prev.bind(K),nextFragment:K.next.bind(K),addEventListener:(e,t,a)=>{i.getRevealElement().addEventListener(e,t,a)},removeEventListener:(e,t,a)=>{i.getRevealElement().removeEventListener(e,t,a)},layout:Ae,shuffle:Oe,availableRoutes:Fe,availableFragments:K.availableRoutes.bind(K),toggleHelp:function(e){"boolean"==typeof e?e?be():ye():Y.overlay?ye():be()},toggleOverview:W.toggle.bind(W),togglePause:Ie,toggleAutoSlide:function(e){"boolean"==typeof e?e?lt():ot():ie?lt():ot()},isFirstSlide:xe,isLastSlide:Pe,isLastVerticalSlide:Re,isVerticalSlide:Le,isOverview:W.isActive.bind(W),isPaused:Te,isAutoSliding:function(){return!(!G||ie)},isSpeakerNotes:function(){return!!window.location.search.match(/receiver/gi)},isPrintingPDF:ge,loadSlide:O.load.bind(O),unloadSlide:O.unload.bind(O),addEventListeners:ce,removeEventListeners:ue,dispatchEvent:pe,getState:nt,setState:function(e){if("object"==typeof e){De(r(e.indexh),r(e.indexv),r(e.indexf));let t=r(e.paused),i=r(e.overview);"boolean"==typeof t&&t!==Te()&&Ie(t),"boolean"==typeof i&&i!==W.isActive()&&W.toggle(i)}},getSlidePastCount:Xe,getProgress:Ye,getIndices:_e,getSlides:Je,getSlidesAttributes:function(){return Je().map(e=>{let t={};for(let i=0;iv,getCurrentSlide:()=>L,getScale:()=>H,getConfig:()=>l,getQueryHash:u,getRevealElement:()=>Y.wrapper||document.querySelector(".reveal"),getSlidesElement:()=>Y.slides,getBackgroundsElement:()=>Y.background,isReady:()=>I,announceStatus:ne,getStatusText:se,location:$,overview:W,slideContent:O,onUserInput:vt,closeOverlay:ye,updateControls:je,updateProgress:We,updateSlidesVisibility:Ue,transformSlides:he,cueAutoSlide:st,cancelAutoSlide:rt})};window.Reveal={initialize:e=>(window.Reveal=new N(document.querySelector(".reveal"),e),window.Reveal.initialize())}}]); \ No newline at end of file +!function(e){var t={};function i(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=t,i.d=function(e,t,a){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(a,n,function(t){return e[t]}.bind(null,n));return a},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,i){"use strict";i.r(t);const a=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,n=(e,t)=>{for(let i in t)e[i]=t[i];return e},s=e=>Array.prototype.slice.call(e),r=e=>{if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;if(e.match(/^-?[\d\.]+$/))return parseFloat(e)}return e},o=(e,t)=>{e.style.transform=t},l=(e,t)=>{let i=e.parentNode;for(;i;){let e=i.matches||i.matchesSelector||i.msMatchesSelector;if(e&&e.call(i,t))return i;i=i.parentNode}return null},d=(e,t,i,a="")=>{let n=e.querySelectorAll("."+i);for(let t=0;t{let t=document.createElement("style");return t.type="text/css",e&&e.length>0&&(t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))),document.head.appendChild(t),t},u=()=>{let e={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,t=>{e[t.split("=").shift()]=t.split("=").pop()});for(let t in e){let i=e[t];e[t]=r(unescape(i))}return void 0!==e.dependencies&&delete e.dependencies,e},h=navigator.userAgent,g=document.createElement("div"),p=/(iphone|ipod|ipad|android)/gi.test(h)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,v=/chrome/i.test(h)&&!/edge/i.test(h),f=/android/gi.test(h),m="zoom"in g.style&&!p&&(v||/Version\/[\d\.]+.*Safari/.test(h));class b{constructor(e){this.Reveal=e}shouldPreload(e){let t=this.Reveal.getConfig().preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}load(e,t={}){e.style.display=this.Reveal.getConfig().display,s(e.querySelectorAll("img[data-src], video[data-src], audio[data-src], iframe[data-src]")).forEach(e=>{("IFRAME"!==e.tagName||this.shouldPreload(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))}),s(e.querySelectorAll("video, audio")).forEach(e=>{let t=0;s(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 i=e.slideBackgroundElement;if(i){i.style.display="block";let a=e.slideBackgroundContentElement,n=e.getAttribute("data-background-iframe");if(!1===i.hasAttribute("data-loaded")){i.setAttribute("data-loaded","true");let s=e.getAttribute("data-background-image"),r=e.getAttribute("data-background-video"),o=e.hasAttribute("data-background-video-loop"),l=e.hasAttribute("data-background-video-muted");if(s)a.style.backgroundImage="url("+encodeURI(s)+")";else if(r&&!this.Reveal.isSpeakerNotes()){let e=document.createElement("video");o&&e.setAttribute("loop",""),l&&(e.muted=!0),p&&(e.muted=!0,e.autoplay=!0,e.setAttribute("playsinline","")),r.split(",").forEach(t=>{e.innerHTML+=''}),a.appendChild(e)}else if(n&&!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",n),e.style.width="100%",e.style.height="100%",e.style.maxHeight="100%",e.style.maxWidth="100%",a.appendChild(e)}}let s=a.querySelector("iframe[data-src]");s&&this.shouldPreload(i)&&!/autoplay=(1|true|yes)/gi.test(n)&&s.getAttribute("src")!==n&&s.setAttribute("src",n)}}unload(e){e.style.display="none";let t=this.Reveal.getSlideBackground(e);t&&(t.style.display="none",s(t.querySelectorAll("iframe[src]")).forEach(e=>{e.removeAttribute("src")})),s(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")}),s(e.querySelectorAll("video[data-lazy-loaded] source[src], audio source[src]")).forEach(e=>{e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")})}formatEmbeddedContent(){let e=(e,t,i)=>{s(this.Reveal.getSlidesElement().querySelectorAll("iframe["+e+'*="'+t+'"]')).forEach(t=>{let a=t.getAttribute(e);a&&-1===a.indexOf(i)&&t.setAttribute(e,a+(/\?/.test(a)?"&":"?")+i)})};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")}startEmbeddedContent(e){e&&!this.Reveal.isSpeakerNotes()&&(s(e.querySelectorAll('img[src$=".gif"]')).forEach(e=>{e.setAttribute("src",e.getAttribute("src"))}),s(e.querySelectorAll("video, audio")).forEach(e=>{if(l(e,".fragment")&&!l(e,".fragment.visible"))return;let t=this.Reveal.getConfig().autoPlayMedia;if("boolean"!=typeof t&&(t=e.hasAttribute("data-autoplay")||!!l(e,".slide-background")),t&&"function"==typeof e.play)if(e.readyState>1)this.startEmbeddedMedia({target:e});else if(p){let t=e.play();t&&"function"==typeof t.catch&&!1===e.controls&&t.catch(()=>{e.controls=!0,e.addEventListener("play",()=>{e.controls=!1})})}else e.removeEventListener("loadeddata",this.startEmbeddedMedia),e.addEventListener("loadeddata",this.startEmbeddedMedia)}),s(e.querySelectorAll("iframe[src]")).forEach(e=>{l(e,".fragment")&&!l(e,".fragment.visible")||this.startEmbeddedIframe({target:e})}),s(e.querySelectorAll("iframe[data-src]")).forEach(e=>{l(e,".fragment")&&!l(e,".fragment.visible")||e.getAttribute("src")!==e.getAttribute("data-src")&&(e.removeEventListener("load",this.startEmbeddedIframe),e.addEventListener("load",this.startEmbeddedIframe),e.setAttribute("src",e.getAttribute("data-src")))}))}startEmbeddedMedia(e){let t=!!l(e.target,"html"),i=!!l(e.target,".present");t&&i&&(e.target.currentTime=0,e.target.play()),e.target.removeEventListener("loadeddata",this.startEmbeddedMedia)}startEmbeddedIframe(e){let t=e.target;if(t&&t.contentWindow){let i=!!l(e.target,"html"),a=!!l(e.target,".present");if(i&&a){let e=this.Reveal.getConfig().autoPlayMedia;"boolean"!=typeof e&&(e=t.hasAttribute("data-autoplay")||!!l(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","*")}}}stopEmbeddedContent(e,t={}){t=n({unloadIframes:!0},t),e&&e.parentNode&&(s(e.querySelectorAll("video, audio")).forEach(e=>{e.hasAttribute("data-ignore")||"function"!=typeof e.pause||(e.setAttribute("data-paused-by-reveal",""),e.pause())}),s(e.querySelectorAll("iframe")).forEach(e=>{e.contentWindow&&e.contentWindow.postMessage("slide:stop","*"),e.removeEventListener("load",this.startEmbeddedIframe)}),s(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":""}',"*")}),s(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&&s(e.querySelectorAll("iframe[data-src]")).forEach(e=>{e.setAttribute("src","about:blank"),e.removeAttribute("src")}))}}class y{constructor(e){this.Reveal=e}createElement(){this.element=document.createElement("div"),this.element.className="slide-number",this.Reveal.getRevealElement().appendChild(this.element)}refreshVisibility(){let e=this.Reveal.getConfig(),t="none";e.slideNumber&&!this.Reveal.isPrintingPDF()&&("all"===e.showSlideNumber||"speaker"===e.showSlideNumber&&this.Reveal.isSpeakerNotes())&&(t="block"),this.element.style.display=t}update(){this.Reveal.getConfig().slideNumber&&this.element&&(this.element.innerHTML=this.getSlideNumber())}getSlideNumber(e=this.Reveal.getCurrentSlide()){let t,i=this.Reveal.getConfig(),a="h.v";if("function"==typeof i.slideNumber)t=i.slideNumber(e);else switch("string"==typeof i.slideNumber&&(a=i.slideNumber),/c/.test(a)||1!==this.Reveal.getHorizontalSlides().length||(a="c"),t=[],a){case"c":t.push(this.Reveal.getSlidePastCount(e)+1);break;case"c/t":t.push(this.Reveal.getSlidePastCount(e)+1,"/",this.Reveal.getTotalSlides());break;default:let i=this.Reveal.getIndices(e);t.push(i.h+1);let n="h/v"===a?"/":".";this.Reveal.isVerticalSlide(e)&&t.push(n,i.v+1)}let n="#"+this.Reveal.location.getHash(e);return this.formatNumber(t[0],t[1],t[2],n)}formatNumber(e,t,i,a="#"+this.Reveal.location.getHash()){return"number"!=typeof i||isNaN(i)?`\n\t\t\t\t\t${e}\n\t\t\t\t\t`:`\n\t\t\t\t\t${e}\n\t\t\t\t\t${t}\n\t\t\t\t\t${i}\n\t\t\t\t\t`}}class A{constructor(e){this.Reveal=e,this.autoAnimateCounter=0}run(e,t){if(this.reset(),e.hasAttribute("data-auto-animate")&&t.hasAttribute("data-auto-animate")){this.autoAnimateStyleSheet=this.autoAnimateStyleSheet||c();let i=this.getAutoAnimateOptions(t);e.dataset.autoAnimate="pending",t.dataset.autoAnimate="pending";let a=this.getAutoAnimatableElements(e,t).map(e=>this.getAutoAnimateCSS(e.from,e.to,e.options||{},i,this.autoAnimateCounter++));"false"!==t.dataset.autoAnimateUnmatched&&!0===this.Reveal.getConfig().autoAnimateUnmatched&&(this.getUnmatchedAutoAnimateElements(t).forEach(e=>{e.dataset.autoAnimateTarget="unmatched"}),a.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${.8*i.duration}s ease ${.2*i.duration}s; }`)),this.autoAnimateStyleSheet.innerHTML=a.join(""),requestAnimationFrame(()=>{this.autoAnimateStyleSheet&&(getComputedStyle(this.autoAnimateStyleSheet).fontWeight,t.dataset.autoAnimate="running")}),this.Reveal.dispatchEvent("autoanimate",{fromSlide:e,toSlide:t,sheet:this.autoAnimateStyleSheet})}}reset(){s(this.Reveal.getRevealElement().querySelectorAll('[data-auto-animate]:not([data-auto-animate=""])')).forEach(e=>{e.dataset.autoAnimate=""}),s(this.Reveal.getRevealElement().querySelectorAll("[data-auto-animate-target]")).forEach(e=>{delete e.dataset.autoAnimateTarget}),this.autoAnimateStyleSheet&&this.autoAnimateStyleSheet.parentNode&&(this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet),this.autoAnimateStyleSheet=null)}getAutoAnimateCSS(e,t,i,a,n){e.dataset.autoAnimateTarget="",t.dataset.autoAnimateTarget=n;let s=this.getAutoAnimateOptions(t,a);void 0!==i.delay&&(s.delay=i.delay),void 0!==i.duration&&(s.duration=i.duration),void 0!==i.easing&&(s.easing=i.easing);let r=this.getAutoAnimatableProperties("from",e,i),o=this.getAutoAnimatableProperties("to",t,i);if(!1!==i.translate||!1!==i.scale){let e=this.Reveal.getScale(),t={x:(r.x-o.x)/e,y:(r.y-o.y)/e,scaleX:r.width/o.width,scaleY:r.height/o.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 a=!1!==i.translate&&(0!==t.x||0!==t.y),n=!1!==i.scale&&(0!==t.scaleX||0!==t.scaleY);if(a||n){let e=[];a&&e.push(`translate(${t.x}px, ${t.y}px)`),n&&e.push(`scale(${t.scaleX}, ${t.scaleY})`),r.styles.transform=e.join(" "),r.styles["transform-origin"]="top left",o.styles.transform="none"}}for(let e in o.styles){const t=o.styles[e],i=r.styles[e];t===i?delete o.styles[e]:(!0===t.explicitValue&&(o.styles[e]=t.value),!0===i.explicitValue&&(r.styles[e]=i.value))}let l="",d=Object.keys(o.styles);if(d.length>0){r.styles.transition="none",o.styles.transition=`all ${s.duration}s ${s.easing} ${s.delay}s`,o.styles["transition-property"]=d.join(", "),o.styles["will-change"]=d.join(", "),l='[data-auto-animate-target="'+n+'"] {'+Object.keys(r.styles).map(e=>e+": "+r.styles[e]+" !important;").join("")+'}[data-auto-animate="running"] [data-auto-animate-target="'+n+'"] {'+Object.keys(o.styles).map(e=>e+": "+o.styles[e]+" !important;").join("")+"}"}return l}getAutoAnimateOptions(e,t){let i={easing:this.Reveal.getConfig().autoAnimateEasing,duration:this.Reveal.getConfig().autoAnimateDuration,delay:0};if(i=n(i,t),e.closest&&e.parentNode){let t=e.parentNode.closest("[data-auto-animate-target]");t&&(i=this.getAutoAnimateOptions(t,i))}return e.dataset.autoAnimateEasing&&(i.easing=e.dataset.autoAnimateEasing),e.dataset.autoAnimateDuration&&(i.duration=parseFloat(e.dataset.autoAnimateDuration)),e.dataset.autoAnimateDelay&&(i.delay=parseFloat(e.dataset.autoAnimateDelay)),i}getAutoAnimatableProperties(e,t,i){let a={styles:[]};if(!1!==i.translate||!1!==i.scale){let e;e="function"==typeof i.measure?i.measure(t):t.getBoundingClientRect(),a.x=e.x,a.y=e.y,a.width=e.width,a.height=e.height}const n=getComputedStyle(t);return(i.styles||this.Reveal.getConfig().autoAnimateStyles).forEach(t=>{let i;"string"==typeof t&&(t={property:t}),i=void 0!==t.from&&"from"===e?{value:t.from,explicitValue:!0}:void 0!==t.to&&"to"===e?{value:t.to,explicitValue:!0}:n[t.property],""!==i&&(a.styles[t.property]=i)}),a}getAutoAnimatableElements(e,t){let i=("function"==typeof this.Reveal.getConfig().autoAnimateMatcher?this.Reveal.getConfig().autoAnimateMatcher:this.getAutoAnimatePairs).call(this,e,t),a=[];return i.filter((e,t)=>{if(-1===a.indexOf(e.to))return a.push(e.to),!0})}getAutoAnimatePairs(e,t){let i=[];const a="h1, h2, h3, h4, h5, h6, p, li";return this.findAutoAnimateMatches(i,e,t,"[data-id]",e=>e.nodeName+":::"+e.getAttribute("data-id")),this.findAutoAnimateMatches(i,e,t,a,e=>e.nodeName+":::"+e.innerText),this.findAutoAnimateMatches(i,e,t,"img, video, iframe",e=>e.nodeName+":::"+(e.getAttribute("src")||e.getAttribute("data-src"))),this.findAutoAnimateMatches(i,e,t,"pre",e=>e.nodeName+":::"+e.innerText),i.forEach(e=>{e.from.matches(a)?e.options={scale:!1}:e.from.matches("pre")&&(e.options={scale:!1,styles:["width","height"]},this.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-code",e=>e.textContent,{scale:!1,styles:[],measure:this.getLocalBoundingBox.bind(this)}),this.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-line[data-line-number]",e=>e.getAttribute("data-line-number"),{scale:!1,styles:["width"],measure:this.getLocalBoundingBox.bind(this)}))},this),i}getLocalBoundingBox(e){const t=this.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}}findAutoAnimateMatches(e,t,i,a,n,s){let r={},o={};[].slice.call(t.querySelectorAll(a)).forEach((e,t)=>{const i=n(e);"string"==typeof i&&i.length&&(r[i]=r[i]||[],r[i].push(e))}),[].slice.call(i.querySelectorAll(a)).forEach((t,i)=>{const a=n(t);let l;if(o[a]=o[a]||[],o[a].push(t),r[a]){const e=o[a].length-1,t=r[a].length-1;r[a][e]?(l=r[a][e],r[a][e]=null):r[a][t]&&(l=r[a][t],r[a][t]=null)}l&&e.push({from:l,to:t,options:s})})}getUnmatchedAutoAnimateElements(e){return[].slice.call(e.children).reduce((e,t)=>{const i=t.querySelector("[data-auto-animate-target]");return t.hasAttribute("data-auto-animate-target")||i||e.push(t),t.querySelector("[data-auto-animate-target]")&&(e=e.concat(this.getUnmatchedAutoAnimateElements(t))),e},[])}}class w{constructor(e){this.Reveal=e}showAll(){s(this.Reveal.getSlidesElement().querySelectorAll(".fragment")).forEach(e=>{e.classList.add("visible"),e.classList.remove("current-fragment")})}availableRoutes(){let e=this.Reveal.getCurrentSlide();if(e&&this.Reveal.getConfig().fragments){let t=e.querySelectorAll(".fragment"),i=e.querySelectorAll(".fragment:not(.visible)");return{prev:t.length-i.length>0,next:!!i.length}}return{prev:!1,next:!1}}sort(e,t=!1){e=s(e);let i=[],a=[],n=[];e.forEach(e=>{if(e.hasAttribute("data-fragment-index")){let t=parseInt(e.getAttribute("data-fragment-index"),10);i[t]||(i[t]=[]),i[t].push(e)}else a.push([e])}),i=i.concat(a);let r=0;return i.forEach(e=>{e.forEach(e=>{n.push(e),e.setAttribute("data-fragment-index",r)}),r++}),!0===t?i:n}sortAll(){this.Reveal.getHorizontalSlides().forEach(e=>{let t=s(e.querySelectorAll("section"));t.forEach((e,t)=>{this.sort(e.querySelectorAll(".fragment"))},this),0===t.length&&this.sort(e.querySelectorAll(".fragment"))})}update(e,t){let i={shown:[],hidden:[]},a=this.Reveal.getCurrentSlide();if(a&&this.Reveal.getConfig().fragments&&(t=t||this.sort(a.querySelectorAll(".fragment"))).length){let n=0;if("number"!=typeof e){let t=this.sort(a.querySelectorAll(".fragment.visible")).pop();t&&(e=parseInt(t.getAttribute("data-fragment-index")||0,10))}s(t).forEach((t,a)=>{t.hasAttribute("data-fragment-index")&&(a=parseInt(t.getAttribute("data-fragment-index"),10)),n=Math.max(n,a),a<=e?(t.classList.contains("visible")||i.shown.push(t),t.classList.add("visible"),t.classList.remove("current-fragment"),this.Reveal.announceStatus(this.Reveal.getStatusText(t)),a===e&&(t.classList.add("current-fragment"),this.Reveal.slideContent.startEmbeddedContent(t))):(t.classList.contains("visible")&&i.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),a.setAttribute("data-fragment",e)}return i}goto(e,t=0){let i=this.Reveal.getCurrentSlide();if(i&&this.Reveal.getConfig().fragments){let a=this.sort(i.querySelectorAll(".fragment"));if(a.length){if("number"!=typeof e){let t=this.sort(i.querySelectorAll(".fragment.visible")).pop();e=t?parseInt(t.getAttribute("data-fragment-index")||0,10):-1}e+=t;let n=this.update(e,a);return n.hidden.length&&this.Reveal.dispatchEvent("fragmenthidden",{fragment:n.hidden[0],fragments:n.hidden}),n.shown.length&&this.Reveal.dispatchEvent("fragmentshown",{fragment:n.shown[0],fragments:n.shown}),this.Reveal.updateControls(),this.Reveal.updateProgress(),this.Reveal.getConfig().fragmentInURL&&this.Reveal.location.writeURL(),!(!n.shown.length&&!n.hidden.length)}}return!1}next(){return this.goto(null,1)}prev(){return this.goto(null,-1)}}class S{constructor(e){this.Reveal=e,this.active=!1,this.onSlideClicked=this.onSlideClicked.bind(this)}activate(){if(this.Reveal.getConfig().overview&&!this.isActive()){this.active=!0,this.Reveal.getRevealElement().classList.add("overview"),this.Reveal.cancelAutoSlide(),this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()),s(this.Reveal.getRevealElement().querySelectorAll(".slides section")).forEach(e=>{e.classList.contains("stack")||e.addEventListener("click",this.onSlideClicked,!0)});const e=70,t=this.Reveal.getComputedSlideSize();this.overviewSlideWidth=t.width+e,this.overviewSlideHeight=t.height+e,this.Reveal.getConfig().rtl&&(this.overviewSlideWidth=-this.overviewSlideWidth),this.Reveal.updateSlidesVisibility(),this.layout(),this.update(),this.Reveal.layout();const i=this.Reveal.getIndices();this.Reveal.dispatchEvent("overviewshown",{indexh:i.h,indexv:i.v,currentSlide:this.Reveal.getCurrentSlide()})}}layout(){this.Reveal.getHorizontalSlides().forEach((e,t)=>{e.setAttribute("data-index-h",t),o(e,"translate3d("+t*this.overviewSlideWidth+"px, 0, 0)"),e.classList.contains("stack")&&s(e.querySelectorAll("section")).forEach((e,i)=>{e.setAttribute("data-index-h",t),e.setAttribute("data-index-v",i),o(e,"translate3d(0, "+i*this.overviewSlideHeight+"px, 0)")})}),s(this.Reveal.getBackgroundsElement().childNodes).forEach((e,t)=>{o(e,"translate3d("+t*this.overviewSlideWidth+"px, 0, 0)"),s(e.querySelectorAll(".slide-background")).forEach((e,t)=>{o(e,"translate3d(0, "+t*this.overviewSlideHeight+"px, 0)")})})}update(){const e=Math.min(window.innerWidth,window.innerHeight),t=Math.max(e/5,150)/e,i=this.Reveal.getIndices();this.Reveal.transformSlides({overview:["scale("+t+")","translateX("+-i.h*this.overviewSlideWidth+"px)","translateY("+-i.v*this.overviewSlideHeight+"px)"].join(" ")})}deactivate(){if(this.Reveal.getConfig().overview){this.active=!1,this.Reveal.getRevealElement().classList.remove("overview"),this.Reveal.getRevealElement().classList.add("overview-deactivating"),setTimeout(()=>{this.Reveal.getRevealElement().classList.remove("overview-deactivating")},1),this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()),s(this.Reveal.getRevealElement().querySelectorAll(".slides section")).forEach(e=>{o(e,""),e.removeEventListener("click",this.onSlideClicked,!0)}),s(this.Reveal.getBackgroundsElement().querySelectorAll(".slide-background")).forEach(e=>{o(e,"")}),this.Reveal.transformSlides({overview:""});const e=this.Reveal.getIndices();this.Reveal.slide(e.h,e.v),this.Reveal.layout(),this.Reveal.cueAutoSlide(),this.Reveal.dispatchEvent("overviewhidden",{indexh:e.h,indexv:e.v,currentSlide:this.Reveal.getCurrentSlide()})}}toggle(e){"boolean"==typeof e?e?this.activate():this.deactivate():this.isActive()?this.deactivate():this.activate()}isActive(){return this.active}onSlideClicked(e){if(this.isActive()){e.preventDefault();let t=e.target;for(;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(this.deactivate(),t.nodeName.match(/section/gi))){let e=parseInt(t.getAttribute("data-index-h"),10),i=parseInt(t.getAttribute("data-index-v"),10);this.Reveal.slide(e,i)}}}}class E{constructor(e){this.Reveal=e,this.shortcuts={},this.bindings={},this.onDocumentKeyDown=this.onDocumentKeyDown.bind(this),this.onDocumentKeyPress=this.onDocumentKeyPress.bind(this)}bind(){document.addEventListener("keydown",this.onDocumentKeyDown,!1),document.addEventListener("keypress",this.onDocumentKeyPress,!1)}unbind(){document.removeEventListener("keydown",this.onDocumentKeyDown,!1),document.removeEventListener("keypress",this.onDocumentKeyPress,!1)}addKeyBinding(e,t){"object"==typeof e&&e.keyCode?this.bindings[e.keyCode]={callback:t,key:e.key,description:e.description}:this.bindings[e]={callback:t,key:null,description:null}}removeKeyBinding(e){delete this.bindings[e]}refreshSortcuts(){"linear"===this.Reveal.getConfig().navigationMode?(this.shortcuts["→ , ↓ , SPACE , N , L , J"]="Next slide",this.shortcuts["← , ↑ , P , H , K"]="Previous slide"):(this.shortcuts["N , SPACE"]="Next slide",this.shortcuts.P="Previous slide",this.shortcuts["← , H"]="Navigate left",this.shortcuts["→ , L"]="Navigate right",this.shortcuts["↑ , K"]="Navigate up",this.shortcuts["↓ , J"]="Navigate down"),this.shortcuts["Home , Shift ←"]="First slide",this.shortcuts["End , Shift →"]="Last slide",this.shortcuts["B , ."]="Pause",this.shortcuts.F="Fullscreen",this.shortcuts["ESC, O"]="Slide overview"}triggerKey(e){this.onDocumentKeyDown({keyCode:e})}registerKeyboardShortcut(e,t){this.shortcuts[e]=t}onDocumentKeyPress(e){e.shiftKey&&63===e.charCode&&this.Reveal.toggleHelp()}onDocumentKeyDown(e){let t=this.Reveal.getConfig();if("function"==typeof t.keyboardCondition&&!1===t.keyboardCondition(e))return!0;let i=e.keyCode,a=!this.Reveal.isAutoSliding();this.Reveal.onUserInput(e);let n=document.activeElement&&"inherit"!==document.activeElement.contentEditable,s=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),r=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),o=e.shiftKey&&32===e.keyCode,l=e.shiftKey&&37===i,d=e.shiftKey&&39===i,c=!o&&!l&&!d&&(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey);if(n||s||r||c)return;let u,h=[66,86,190,191];if("object"==typeof t.keyboard)for(u in t.keyboard)"togglePause"===t.keyboard[u]&&h.push(parseInt(u,10));if(this.Reveal.isPaused()&&-1===h.indexOf(i))return!1;let g="linear"===t.navigationMode||!this.Reveal.hasHorizontalSlides()||!this.Reveal.hasVerticalSlides(),p=!1;if("object"==typeof t.keyboard)for(u in t.keyboard)if(parseInt(u,10)===i){let i=t.keyboard[u];"function"==typeof i?i.apply(null,[e]):"string"==typeof i&&"function"==typeof this.Reveal[i]&&this.Reveal[i].call(),p=!0}if(!1===p)for(u in this.bindings)if(parseInt(u,10)===i){let t=this.bindings[u].callback;"function"==typeof t?t.apply(null,[e]):"string"==typeof t&&"function"==typeof this.Reveal[t]&&this.Reveal[t].call(),p=!0}!1===p&&(p=!0,80===i||33===i?this.Reveal.prev():78===i||34===i?this.Reveal.next():72===i||37===i?l?this.Reveal.slide(0):!this.Reveal.overview.isActive()&&g?this.Reveal.prev():this.Reveal.left():76===i||39===i?d?this.Reveal.slide(Number.MAX_VALUE):!this.Reveal.overview.isActive()&&g?this.Reveal.next():this.Reveal.right():75===i||38===i?!this.Reveal.overview.isActive()&&g?this.Reveal.prev():this.Reveal.up():74===i||40===i?!this.Reveal.overview.isActive()&&g?this.Reveal.next():this.Reveal.down():36===i?this.Reveal.slide(0):35===i?this.Reveal.slide(Number.MAX_VALUE):32===i?(this.Reveal.overview.isActive()&&this.Reveal.overview.deactivate(),e.shiftKey?this.Reveal.prev():this.Reveal.next()):58===i||59===i||66===i||86===i||190===i||191===i?this.Reveal.togglePause():70===i?(()=>{let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&t.apply(e)})():65===i?t.autoSlideStoppable&&this.Reveal.toggleAutoSlide(a):p=!1),p?e.preventDefault&&e.preventDefault():27!==i&&79!==i||(!1===this.Reveal.closeOverlay()&&this.Reveal.overview.toggle(),e.preventDefault&&e.preventDefault()),this.Reveal.cueAutoSlide()}}class k{constructor(e){this.Reveal=e,this.writeURLTimeout=0}readURL(){let e=this.Reveal.getConfig(),t=this.Reveal.getIndices(),i=this.Reveal.getCurrentSlide(),a=window.location.hash,n=a.slice(2).split("/"),s=a.replace(/#|\//gi,"");if(!/^[0-9]*$/.test(n[0])&&s.length){let e;try{e=document.getElementById(decodeURIComponent(s))}catch(e){}let a=!!i&&i.getAttribute("id")===s;if(e){if(!a){let t=this.Reveal.getIndices(e);this.Reveal.slide(t.h,t.v)}}else this.Reveal.slide(t.h||0,t.v||0)}else{let i,a=e.hashOneBasedIndex?1:0,s=parseInt(n[0],10)-a||0,r=parseInt(n[1],10)-a||0;e.fragmentInURL&&(i=parseInt(n[2],10),isNaN(i)&&(i=void 0)),s===t.h&&r===t.v&&void 0===i||this.Reveal.slide(s,r,i)}}writeURL(e){let t=this.Reveal.getConfig(),i=this.Reveal.getCurrentSlide();clearTimeout(this.writeURLTimeout),"number"==typeof e?this.writeURLTimeout=setTimeout(this.writeURL,e):i&&(t.history||!window.history?window.location.hash=this.getHash():t.hash?window.history.replaceState(null,null,"#"+this.getHash()):window.history.replaceState(null,null,window.location.pathname+window.location.search))}getHash(e){let t="/",i=e||this.Reveal.getCurrentSlide(),a=i?i.getAttribute("id"):null;a&&(a=encodeURIComponent(a));let n=this.Reveal.getIndices(e);if(this.Reveal.getConfig().fragmentInURL||(n.f=void 0),"string"==typeof a&&a.length&&void 0===n.f)t="/"+a;else{let e=this.Reveal.getConfig().hashOneBasedIndex?1:0;(n.h>0||n.v>0||void 0!==n.f)&&(t+=n.h+e),(n.v>0||void 0!==n.f)&&(t+="/"+(n.v+e)),void 0!==n.f&&(t+="/"+n.f)}return t}}const L=(e,t)=>{const i=document.createElement("script");i.type="text/javascript",i.async=!1,i.defer=!1,i.src=e,"function"==typeof t&&(i.onload=i.onreadystatechange=e=>{("load"===e.type||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=i.onerror=null,t())},i.onerror=e=>{i.onload=i.onreadystatechange=i.onerror=null,t(new Error("Failed loading script: "+i.src+"\n"+e))});const a=document.querySelector("head");a.insertBefore(i,a.lastChild)};class R{constructor(){this.state="idle",this.registeredPlugins={},this.asyncDependencies=[]}load(e){return this.state="loading",new Promise(t=>{let i=[],a=0;if(e.forEach(e=>{e.condition&&!e.condition()||(e.async?this.asyncDependencies.push(e):i.push(e))}),i.length){a=i.length;const e=e=>{"function"==typeof e.callback&&e.callback(),0==--a&&this.initPlugins().then(t)};i.forEach(t=>{t.id?(this.registerPlugin(t.id,t.plugin),e(t)):L(t.src,()=>e(t))})}else this.initPlugins().then(t)})}initPlugins(){return new Promise(e=>{let t=Object.keys(this.registeredPlugins).length;if(0===t)this.loadAsync().then(e);else{let i=()=>{0==--t&&this.loadAsync().then(e)};for(let e in this.registeredPlugins){let t=this.registeredPlugins[e];if("function"==typeof t.init){let e=t.init();e&&"function"==typeof e.then?e.then(i):i()}else i()}}})}loadAsync(){return this.state="loaded",this.asyncDependencies.length&&this.asyncDependencies.forEach(e=>{e.id?(this.registerPlugin(e.id,e.plugin),"function"==typeof e.plugin.init&&e.plugin.init(),"function"==typeof e.callback&&e.callback()):L(e.src,e.callback)}),Promise.resolve()}registerPlugin(e,t){void 0===this.registeredPlugins[e]?(this.registeredPlugins[e]=t,"loaded"===this.state&&"function"==typeof t.init&&t.init()):console.warn('reveal.js: "'+e+'" plugin has already been registered')}hasPlugin(e){return!!this.registeredPlugins[e]}getPlugin(e){return this.registeredPlugins[e]}getRegisteredPlugins(){return this.registeredPlugins}}class x{constructor(e){this.Reveal=e,this.touchStartX=0,this.touchStartY=0,this.touchStartCount=0,this.touchCaptured=!1,this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this)}bind(){var e=this.Reveal.getRevealElement();"onpointerdown"in window?(e.addEventListener("pointerdown",this.onPointerDown,!1),e.addEventListener("pointermove",this.onPointerMove,!1),e.addEventListener("pointerup",this.onPointerUp,!1)):window.navigator.msPointerEnabled?(e.addEventListener("MSPointerDown",this.onPointerDown,!1),e.addEventListener("MSPointerMove",this.onPointerMove,!1),e.addEventListener("MSPointerUp",this.onPointerUp,!1)):(e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1))}unbind(){var e=this.Reveal.getRevealElement();e.removeEventListener("pointerdown",this.onPointerDown,!1),e.removeEventListener("pointermove",this.onPointerMove,!1),e.removeEventListener("pointerup",this.onPointerUp,!1),e.removeEventListener("MSPointerDown",this.onPointerDown,!1),e.removeEventListener("MSPointerMove",this.onPointerMove,!1),e.removeEventListener("MSPointerUp",this.onPointerUp,!1),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1)}isSwipePrevented(e){for(;e&&"function"==typeof e.hasAttribute;){if(e.hasAttribute("data-prevent-swipe"))return!0;e=e.parentNode}return!1}onTouchStart(e){if(this.isSwipePrevented(e.target))return!0;this.touchStartX=e.touches[0].clientX,this.touchStartY=e.touches[0].clientY,this.touchStartCount=e.touches.length}onTouchMove(e){if(this.isSwipePrevented(e.target))return!0;let t=this.Reveal.getConfig();if(this.touchCaptured)isAndroid&&e.preventDefault();else{this.Reveal.onUserInput(e);let i=e.touches[0].clientX,a=e.touches[0].clientY;if(1===e.touches.length&&2!==this.touchStartCount){let n=i-this.touchStartX,s=a-this.touchStartY;n>40&&Math.abs(n)>Math.abs(s)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.next():this.Reveal.prev()():this.Reveal.left()):n<-40&&Math.abs(n)>Math.abs(s)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.prev()():this.Reveal.next():this.Reveal.right()):s>40?(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.prev()():this.Reveal.up()):s<-40&&(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.next():this.Reveal.down()),t.embedded?(this.touchCaptured||this.Reveal.isVerticalSlide(currentSlide))&&e.preventDefault():e.preventDefault()}}}onTouchEnd(e){this.touchCaptured=!1}onPointerDown(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchStart(e))}onPointerMove(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchMove(e))}onPointerUp(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchEnd(e))}}class P{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,i=this.diameter2,a=this.diameter2;this.progressOffset+=.1*(1-this.progressOffset);const n=-Math.PI/2+e*(2*Math.PI),s=-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(i,a,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(i,a,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(i,a,t,s,n,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(i-14,a-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 M={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 C=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 i=e.match(/^#([0-9a-f]{6})$/i);if(i&&i[1])return i=i[1],{r:parseInt(i.substr(0,2),16),g:parseInt(i.substr(2,2),16),b:parseInt(i.substr(4,2),16)};let a=e.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(a)return{r:parseInt(a[1],10),g:parseInt(a[2],10),b:parseInt(a[3],10)};let n=e.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return n?{r:parseInt(n[1],10),g:parseInt(n[2],10),b:parseInt(n[3],10),a:parseFloat(n[4])}:null};var N=function(e,t){const i={};let l,h,g,v,L,N,q,I=!1,T=!1,D=!1,B=[],H=1,O=new b(i),z=new y(i),U=new A(i),K=new w(i),W=new S(i),j=new E(i),$=new k(i),V=new R,F=new x(i),X={layout:"",overview:""},Y={},_=0,J=!1,Q=0,Z=!1,G=0,ee=0,te=-1,ie=!1;function ae(){I=!0,function(){Y.slides.classList.add("no-transition"),p?Y.wrapper.classList.add("no-hover"):Y.wrapper.classList.remove("no-hover");Y.background=d(Y.wrapper,"div","backgrounds",null),Y.progress=d(Y.wrapper,"div","progress",""),Y.progressbar=Y.progress.querySelector("span"),Y.controls=d(Y.wrapper,"aside","controls",`\n\t\t\t\n\t\t\t\n\t\t\t`),z.createElement(),Y.speakerNotes=d(Y.wrapper,"div","speaker-notes",null),Y.speakerNotes.setAttribute("data-prevent-swipe",""),Y.speakerNotes.setAttribute("tabindex","0"),Y.pauseOverlay=d(Y.wrapper,"div","pause-overlay",l.controls?'':null),Y.wrapper.setAttribute("role","application"),Y.controlsLeft=s(Y.wrapper.querySelectorAll(".navigate-left")),Y.controlsRight=s(Y.wrapper.querySelectorAll(".navigate-right")),Y.controlsUp=s(Y.wrapper.querySelectorAll(".navigate-up")),Y.controlsDown=s(Y.wrapper.querySelectorAll(".navigate-down")),Y.controlsPrev=s(Y.wrapper.querySelectorAll(".navigate-prev")),Y.controlsNext=s(Y.wrapper.querySelectorAll(".navigate-next")),Y.controlsRightArrow=Y.controls.querySelector(".navigate-right"),Y.controlsLeftArrow=Y.controls.querySelector(".navigate-left"),Y.controlsDownArrow=Y.controls.querySelector(".navigate-down"),Y.statusElement=function(){let e=Y.wrapper.querySelector(".aria-status");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.classList.add("aria-status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),Y.wrapper.appendChild(e));return e}()}(),l.postMessage&&window.addEventListener("message",e=>{let t=e.data;if("string"==typeof t&&"{"===t.charAt(0)&&"}"===t.charAt(t.length-1)&&(t=JSON.parse(t),t.method&&"function"==typeof i[t.method]))if(!1===a.test(t.method)){const e=i[t.method].apply(i,t.args);ve("callback",{method:t.method,result:e})}else console.warn('reveal.js: "'+t.method+'" is is blacklisted from the postMessage API')},!1),setInterval(()=>{0===Y.wrapper.scrollTop&&0===Y.wrapper.scrollLeft||(Y.wrapper.scrollTop=0,Y.wrapper.scrollLeft=0)},1e3),Qe().forEach(e=>{s(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"))})}),de(),$.readURL(),$e(!0),setTimeout(()=>{Y.slides.classList.remove("no-transition"),Y.wrapper.classList.add("ready"),pe("ready",{indexh:h,indexv:g,currentSlide:L})},1),ge()&&(ue(),"complete"===document.readyState?re():window.addEventListener("load",re))}function ne(e){Y.statusElement.textContent=e}function se(e){let t="";if(3===e.nodeType)t+=e.textContent;else if(1===e.nodeType){let i=e.getAttribute("aria-hidden"),a="none"===window.getComputedStyle(e).display;"true"===i||a||s(e.childNodes).forEach(e=>{t+=se(e)})}return t=t.trim(),""===t?"":t+" "}function re(){let e=Se(window.innerWidth,window.innerHeight),t=Math.floor(e.width*(1+l.margin)),i=Math.floor(e.height*(1+l.margin)),a=e.width,n=e.height;c("@page{size:"+t+"px "+i+"px; margin: 0px;}"),c(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+a+"px; max-height:"+n+"px}"),document.documentElement.classList.add("print-pdf"),document.body.style.width=t+"px",document.body.style.height=i+"px",we(a,n);let r=l.slideNumber&&/all|print/i.test(l.showSlideNumber);s(Y.wrapper.querySelectorAll(".slides section")).forEach((function(e){e.setAttribute("data-slide-number",z.getSlideNumber(e))})),s(Y.wrapper.querySelectorAll(".slides section")).forEach((function(e){if(!1===e.classList.contains("stack")){let o=(t-a)/2,d=(i-n)/2,c=e.scrollHeight,u=Math.max(Math.ceil(c/i),1);u=Math.min(u,l.pdfMaxPagesPerSlide),(1===u&&l.center||e.classList.contains("center"))&&(d=Math.max((i-c)/2,0));let h=document.createElement("div");if(h.className="pdf-page",h.style.height=(i+l.pdfPageHeightOffset)*u+"px",e.parentNode.insertBefore(h,e),h.appendChild(e),e.style.left=o+"px",e.style.top=d+"px",e.style.width=a+"px",e.slideBackgroundElement&&h.insertBefore(e.slideBackgroundElement,e),l.showNotes){let i=at(e);if(i){let e=8,a="string"==typeof l.showNotes?l.showNotes:"inline",n=document.createElement("div");n.classList.add("speaker-notes"),n.classList.add("speaker-notes-pdf"),n.setAttribute("data-layout",a),n.innerHTML=i,"separate-page"===a?h.parentNode.insertBefore(n,h.nextSibling):(n.style.left=e+"px",n.style.bottom=e+"px",n.style.width=t-2*e+"px",h.appendChild(n))}}if(r){let t=document.createElement("div");t.classList.add("slide-number"),t.classList.add("slide-number-pdf"),t.innerHTML=e.getAttribute("data-slide-number"),h.appendChild(t)}if(l.pdfSeparateFragments){let e,t,i=K.sort(h.querySelectorAll(".fragment"),!0);i.forEach((function(i){e&&e.forEach((function(e){e.classList.remove("current-fragment")})),i.forEach((function(e){e.classList.add("visible","current-fragment")}));let a=h.cloneNode(!0);h.parentNode.insertBefore(a,(t||h).nextSibling),e=i,t=a})),i.forEach((function(e){e.forEach((function(e){e.classList.remove("visible","current-fragment")}))}))}else s(h.querySelectorAll(".fragment:not(.fade-out)")).forEach((function(e){e.classList.add("visible")}))}})),pe("pdf-ready")}function oe(e,t){let i=document.createElement("div");i.className="slide-background "+e.className.replace(/present|past|future/,"");let a=document.createElement("div");return a.className="slide-background-content",i.appendChild(a),t.appendChild(i),e.slideBackgroundElement=i,e.slideBackgroundContentElement=a,le(e),i}function le(e){let t=e.slideBackgroundElement,i=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="",i.style.backgroundSize="",i.style.backgroundRepeat="",i.style.backgroundPosition="",i.style.backgroundImage="",i.style.opacity="",i.innerHTML="";let a={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")};a.background&&(/^(http|file|\/\/)/gi.test(a.background)||/\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.test(a.background)?e.setAttribute("data-background-image",a.background):t.style.background=a.background),(a.background||a.backgroundColor||a.backgroundImage||a.backgroundVideo||a.backgroundIframe)&&t.setAttribute("data-background-hash",a.background+a.backgroundSize+a.backgroundImage+a.backgroundVideo+a.backgroundIframe+a.backgroundColor+a.backgroundRepeat+a.backgroundPosition+a.backgroundTransition+a.backgroundOpacity),a.backgroundSize&&t.setAttribute("data-background-size",a.backgroundSize),a.backgroundColor&&(t.style.backgroundColor=a.backgroundColor),a.backgroundTransition&&t.setAttribute("data-background-transition",a.backgroundTransition),e.hasAttribute("data-preload")&&t.setAttribute("data-preload",""),a.backgroundSize&&(i.style.backgroundSize=a.backgroundSize),a.backgroundRepeat&&(i.style.backgroundRepeat=a.backgroundRepeat),a.backgroundPosition&&(i.style.backgroundPosition=a.backgroundPosition),a.backgroundOpacity&&(i.style.opacity=a.backgroundOpacity);let n=a.backgroundColor;if(!n){let e=window.getComputedStyle(t);e&&e.backgroundColor&&(n=e.backgroundColor)}if(n){let t=C(n);t&&0!==t.a&&("string"==typeof(s=n)&&(s=C(s)),(s?(299*s.r+587*s.g+114*s.b)/1e3:null)<128?e.classList.add("has-dark-background"):e.classList.add("has-light-background"))}var s}function de(e){const t=l.transition;if("object"==typeof e&&n(l,e),!1===i.isReady())return;const a=Y.wrapper.querySelectorAll(".slides section").length;Y.wrapper.classList.remove(t),Y.wrapper.classList.add(l.transition),Y.wrapper.setAttribute("data-transition-speed",l.transitionSpeed),Y.wrapper.setAttribute("data-background-transition",l.backgroundTransition),Y.controls.style.display=l.controls?"block":"none",Y.progress.style.display=l.progress?"block":"none",Y.controls.setAttribute("data-controls-layout",l.controlsLayout),Y.controls.setAttribute("data-controls-back-arrows",l.controlsBackArrows),l.shuffle&&Oe(),l.rtl?Y.wrapper.classList.add("rtl"):Y.wrapper.classList.remove("rtl"),l.center?Y.wrapper.classList.add("center"):Y.wrapper.classList.remove("center"),!1===l.pause&&qe(),l.showNotes&&Y.speakerNotes.setAttribute("data-layout","string"==typeof l.showNotes?l.showNotes:"inline"),l.mouseWheel?(document.addEventListener("DOMMouseScroll",mt,!1),document.addEventListener("mousewheel",mt,!1)):(document.removeEventListener("DOMMouseScroll",mt,!1),document.removeEventListener("mousewheel",mt,!1)),l.hideInactiveCursor?(document.addEventListener("mousemove",ft,!1),document.addEventListener("mousedown",ft,!1)):(Me(),document.removeEventListener("mousemove",ft,!1),document.removeEventListener("mousedown",ft,!1)),l.previewLinks?(fe(),me("[data-preview-link=false]")):(me(),fe("[data-preview-link]:not([data-preview-link=false])")),U.reset(),q&&(q.destroy(),q=null),a>1&&l.autoSlide&&l.autoSlideStoppable&&(q=new P(Y.wrapper,()=>Math.min(Math.max((Date.now()-te)/G,0),1)),q.on("click",Mt),ie=!1),!1===l.fragments&&K.showAll(),"default"!==l.navigationMode?Y.wrapper.setAttribute("data-navigation-mode",l.navigationMode):Y.wrapper.removeAttribute("data-navigation-mode"),z.refreshVisibility(),j.refreshSortcuts(),Be()}function ce(){Z=!0,window.addEventListener("hashchange",Lt,!1),window.addEventListener("resize",Rt,!1),l.touch&&F.bind(),l.keyboard&&j.bind(),l.progress&&Y.progress&&Y.progress.addEventListener("click",bt,!1),Y.pauseOverlay.addEventListener("click",qe,!1),l.focusBodyOnPageVisibilityChange&&document.addEventListener("visibilitychange",xt,!1);let e=["touchstart","click"];f&&(e=["touchstart"]),e.forEach(e=>{Y.controlsLeft.forEach(t=>t.addEventListener(e,yt,!1)),Y.controlsRight.forEach(t=>t.addEventListener(e,At,!1)),Y.controlsUp.forEach(t=>t.addEventListener(e,wt,!1)),Y.controlsDown.forEach(t=>t.addEventListener(e,St,!1)),Y.controlsPrev.forEach(t=>t.addEventListener(e,Et,!1)),Y.controlsNext.forEach(t=>t.addEventListener(e,kt,!1))})}function ue(){Z=!1,F.unbind(),j.unbind(),window.removeEventListener("hashchange",Lt,!1),window.removeEventListener("resize",Rt,!1),Y.pauseOverlay.removeEventListener("click",qe,!1),l.progress&&Y.progress&&Y.progress.removeEventListener("click",bt,!1),["touchstart","click"].forEach(e=>{Y.controlsLeft.forEach(t=>t.removeEventListener(e,yt,!1)),Y.controlsRight.forEach(t=>t.removeEventListener(e,At,!1)),Y.controlsUp.forEach(t=>t.removeEventListener(e,wt,!1)),Y.controlsDown.forEach(t=>t.removeEventListener(e,St,!1)),Y.controlsPrev.forEach(t=>t.removeEventListener(e,Et,!1)),Y.controlsNext.forEach(t=>t.removeEventListener(e,kt,!1))})}function he(e){"string"==typeof e.layout&&(X.layout=e.layout),"string"==typeof e.overview&&(X.overview=e.overview),X.layout?o(Y.slides,X.layout+" "+X.overview):o(Y.slides,X.overview)}function ge(){return/print-pdf/gi.test(window.location.search)}function pe(e,t){let i=document.createEvent("HTMLEvents",1,2);i.initEvent(e,!0,!0),n(i,t),Y.wrapper.dispatchEvent(i),ve(e)}function ve(e,t){if(l.postMessageEvents&&window.parent!==window.self){let i={namespace:"reveal",eventName:e,state:nt()};n(i,t),window.parent.postMessage(JSON.stringify(i),"*")}}function fe(e="a"){s(Y.wrapper.querySelectorAll(e)).forEach(e=>{/^(http|www)/gi.test(e.getAttribute("href"))&&e.addEventListener("click",Pt,!1)})}function me(e="a"){s(Y.wrapper.querySelectorAll(e)).forEach(e=>{/^(http|www)/gi.test(e.getAttribute("href"))&&e.removeEventListener("click",Pt,!1)})}function be(){if(l.help){ye(),Y.overlay=document.createElement("div"),Y.overlay.classList.add("overlay"),Y.overlay.classList.add("overlay-help"),Y.wrapper.appendChild(Y.overlay);let e='

Keyboard Shortcuts


';e+="";for(let t in j.shortcuts)e+=``;for(let t in j.registeredKeyBindings)j.registeredKeyBindings[t].key&&j.registeredKeyBindings[t].description&&(e+=``);e+="
KEYACTION
${t}${j.shortcuts[t]}
${j.registeredKeyBindings[t].key}${j.registeredKeyBindings[t].description}
",Y.overlay.innerHTML=`\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
${e}
\n\t\t\t\t
\n\t\t\t`,Y.overlay.querySelector(".close").addEventListener("click",e=>{ye(),e.preventDefault()},!1)}}function ye(){return!!Y.overlay&&(Y.overlay.parentNode.removeChild(Y.overlay),Y.overlay=null,!0)}function Ae(){if(Y.wrapper&&!ge()){if(!l.disableLayout){p&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");const e=Se(),t=H;we(l.width,l.height),Y.slides.style.width=e.width+"px",Y.slides.style.height=e.height+"px",H=Math.min(e.presentationWidth/e.width,e.presentationHeight/e.height),H=Math.max(H,l.minScale),H=Math.min(H,l.maxScale),1===H?(Y.slides.style.zoom="",Y.slides.style.left="",Y.slides.style.top="",Y.slides.style.bottom="",Y.slides.style.right="",he({layout:""})):H>1&&m&&window.devicePixelRatio<2?(Y.slides.style.zoom=H,Y.slides.style.left="",Y.slides.style.top="",Y.slides.style.bottom="",Y.slides.style.right="",he({layout:""})):(Y.slides.style.zoom="",Y.slides.style.left="50%",Y.slides.style.top="50%",Y.slides.style.bottom="auto",Y.slides.style.right="auto",he({layout:"translate(-50%, -50%) scale("+H+")"}));const i=s(Y.wrapper.querySelectorAll(".slides section"));for(let t=0,a=i.length;t .stretch")).forEach(i=>{let a=function(e,t=0){if(e){let i,a=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",i=t-e.parentNode.offsetHeight,e.style.height=a+"px",e.parentNode.style.removeProperty("height"),i}return t}(i,t);if(/(img|video)/gi.test(i.nodeName)){const t=i.naturalWidth||i.videoWidth,n=i.naturalHeight||i.videoHeight,s=Math.min(e/t,a/n);i.style.width=t*s+"px",i.style.height=n*s+"px"}else i.style.width=e+"px",i.style.height=a+"px"})}function Se(e,t){const i={width:l.width,height:l.height,presentationWidth:e||Y.wrapper.offsetWidth,presentationHeight:t||Y.wrapper.offsetHeight};return i.presentationWidth-=i.presentationWidth*l.margin,i.presentationHeight-=i.presentationHeight*l.margin,"string"==typeof i.width&&/%$/.test(i.width)&&(i.width=parseInt(i.width,10)/100*i.presentationWidth),"string"==typeof i.height&&/%$/.test(i.height)&&(i.height=parseInt(i.height,10)/100*i.presentationHeight),i}function Ee(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function ke(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 Le(e=L){return e&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function Re(){return!(!L||!Le(L))&&!L.nextElementSibling}function xe(){return 0===h&&0===g}function Pe(){return!!L&&(!L.nextElementSibling&&(!Le(L)||!L.parentNode.nextElementSibling))}function Me(){J&&(J=!1,Y.wrapper.style.cursor="")}function Ce(){!1===J&&(J=!0,Y.wrapper.style.cursor="none")}function Ne(){if(l.pause){const e=Y.wrapper.classList.contains("paused");rt(),Y.wrapper.classList.add("paused"),!1===e&&pe("paused")}}function qe(){const e=Y.wrapper.classList.contains("paused");Y.wrapper.classList.remove("paused"),st(),e&&pe("resumed")}function Ie(e){"boolean"==typeof e?e?Ne():qe():Te()?qe():Ne()}function Te(){return Y.wrapper.classList.contains("paused")}function De(e,t,i,a){v=L;const n=Y.wrapper.querySelectorAll(".slides>section");if(0===n.length)return;void 0!==t||W.isActive()||(t=ke(n[e])),v&&v.parentNode&&v.parentNode.classList.contains("stack")&&Ee(v.parentNode,g);const r=B.concat();B.length=0;let o=h||0,d=g||0;h=ze(".slides>section",void 0===e?h:e),g=ze(".slides>section.present>section",void 0===t?g:t),Ue(),Ae(),W.isActive()&&W.update();let c=n[h],u=c.querySelectorAll("section");L=u[g]||c,void 0!==i&&K.goto(i);let p=h!==o||g!==d;p||(v=null),v&&v!==L&&(v.classList.remove("present"),v.setAttribute("aria-hidden","true"),xe()&&setTimeout(()=>{s(Y.wrapper.querySelectorAll(".slides>section.stack")).forEach(e=>{Ee(e,0)})},0));e:for(let e=0,t=B.length;e{Y.slides.classList.remove("disable-slide-transitions")},0),l.autoAnimate&&U.run(v,L))}function Be(){ue(),ce(),Ae(),G=l.autoSlide,st(),ge(),Y.background.innerHTML="",Y.background.classList.add("no-transition"),s(Y.wrapper.querySelectorAll(".slides>section")).forEach(e=>{let t=oe(e,Y.background);s(e.querySelectorAll("section")).forEach(e=>{oe(e,t),t.classList.add("stack")})}),l.parallaxBackgroundImage?(Y.background.style.backgroundImage='url("'+l.parallaxBackgroundImage+'")',Y.background.style.backgroundSize=l.parallaxBackgroundSize,Y.background.style.backgroundRepeat=l.parallaxBackgroundRepeat,Y.background.style.backgroundPosition=l.parallaxBackgroundPosition,setTimeout(()=>{Y.wrapper.classList.add("has-parallax-background")},1)):(Y.background.style.backgroundImage="",Y.wrapper.classList.remove("has-parallax-background")),$.writeURL(),K.sortAll(),je(),We(),Ue(),$e(!0),l.showNotes&&Y.slides.querySelectorAll("[data-notes], aside.notes").length>0?Y.wrapper.classList.add("show-notes"):Y.wrapper.classList.remove("show-notes"),Ke(),z.update(),O.formatEmbeddedContent(),!1===l.autoPlayMedia?O.stopEmbeddedContent(L,{unloadIframes:!1}):O.startEmbeddedContent(L),W.isActive()&&W.layout()}function He(e=L){return l.sort(e.querySelectorAll(".fragment"))}function Oe(){Qe().forEach((e,t,i)=>{Y.slides.insertBefore(e,i[Math.floor(Math.random()*i.length)])})}function ze(e,t){let i=s(Y.wrapper.querySelectorAll(e)),a=i.length,n=ge();if(a){l.loop&&(t%=a)<0&&(t=a+t),t=Math.max(Math.min(t,a-1),0);for(let e=0;e{e.classList.add("visible"),e.classList.remove("current-fragment")})):e>t&&(a.classList.add(r?"past":"future"),l.fragments&&s(a.querySelectorAll(".fragment.visible")).forEach(e=>{e.classList.remove("visible","current-fragment")}))}i[t].classList.add("present"),i[t].removeAttribute("hidden"),i[t].removeAttribute("aria-hidden");let e=i[t].getAttribute("data-state");e&&(B=B.concat(e.split(" ")))}else t=0;return t}function Ue(){let e,t,i=Qe(),a=i.length;if(a&&void 0!==h){let n=W.isActive()?10:l.viewDistance;p&&(n=W.isActive()?6:l.mobileViewDistance),ge()&&(n=Number.MAX_VALUE);for(let r=0;rNo notes on this slide.')}function We(){l.progress&&Y.progressbar&&(Y.progressbar.style.width=Ye()*Y.wrapper.offsetWidth+"px")}function je(){let e=Fe(),t=K.availableRoutes();[...Y.controlsLeft,...Y.controlsRight,...Y.controlsUp,...Y.controlsDown,...Y.controlsPrev,...Y.controlsNext].forEach(e=>{e.classList.remove("enabled","fragmented"),e.setAttribute("disabled","disabled")}),e.left&&Y.controlsLeft.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.right&&Y.controlsRight.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.up&&Y.controlsUp.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.down&&Y.controlsDown.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.left||e.up)&&Y.controlsPrev.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.right||e.down)&&Y.controlsNext.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),L&&(t.prev&&Y.controlsPrev.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&Y.controlsNext.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),Le(L)?(t.prev&&Y.controlsUp.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&Y.controlsDown.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})):(t.prev&&Y.controlsLeft.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),t.next&&Y.controlsRight.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}))),l.controlsTutorial&&(!D&&e.down?Y.controlsDownArrow.classList.add("highlight"):(Y.controlsDownArrow.classList.remove("highlight"),l.rtl?!T&&e.left&&0===g?Y.controlsLeftArrow.classList.add("highlight"):Y.controlsLeftArrow.classList.remove("highlight"):!T&&e.right&&0===g?Y.controlsRightArrow.classList.add("highlight"):Y.controlsRightArrow.classList.remove("highlight")))}function $e(e=!1){let t=null,i=l.rtl?"future":"past",a=l.rtl?"past":"future";if(s(Y.background.childNodes).forEach((n,r)=>{n.classList.remove("past","present","future"),rh?n.classList.add(a):(n.classList.add("present"),t=n),(e||r===h)&&s(n.querySelectorAll(".slide-background")).forEach((e,i)=>{e.classList.remove("past","present","future"),ig?e.classList.add("future"):(e.classList.add("present"),r===h&&(t=e))})}),N&&O.stopEmbeddedContent(N,{unloadIframes:!O.shouldPreload(N)}),t){O.startEmbeddedContent(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 i=N?N.getAttribute("data-background-hash"):null,a=t.getAttribute("data-background-hash");a&&a===i&&t!==N&&Y.background.classList.add("no-transition"),N=t}L&&["has-light-background","has-dark-background"].forEach(e=>{L.classList.contains(e)?Y.wrapper.classList.add(e):Y.wrapper.classList.remove(e)}),setTimeout(()=>{Y.background.classList.remove("no-transition")},1)}function Ve(){if(l.parallaxBackgroundImage){let e,t,i=Qe(),a=Ze(),n=Y.background.style.backgroundSize.split(" ");1===n.length?e=t=parseInt(n[0],10):(e=parseInt(n[0],10),t=parseInt(n[1],10));let s,r,o=Y.background.offsetWidth,d=i.length;s="number"==typeof l.parallaxBackgroundHorizontal?l.parallaxBackgroundHorizontal:d>1?(e-o)/(d-1):0,r=s*h*-1;let c,u,p=Y.background.offsetHeight,v=a.length;c="number"==typeof l.parallaxBackgroundVertical?l.parallaxBackgroundVertical:(t-p)/(v-1),u=v>0?c*g:0,Y.background.style.backgroundPosition=r+"px "+-u+"px"}}function Fe(){let e=Y.wrapper.querySelectorAll(".slides>section"),t=Y.wrapper.querySelectorAll(".slides>section.present>section"),i={left:h>0,right:h0,down:g1&&(i.left=!0,i.right=!0),t.length>1&&(i.up=!0,i.down=!0)),e.length>1&&"linear"===l.navigationMode&&(i.right=i.right||i.down,i.left=i.left||i.up),l.rtl){let e=i.left;i.left=i.right,i.right=e}return i}function Xe(e=L){let t=Qe(),i=0;e:for(let a=0;a0){let i=.9;t+=L.querySelectorAll(".fragment.visible").length/e.length*i}}return Math.min(t/(e-1),1)}function _e(e){let t,i=h,a=g;if(e){let t=Le(e),n=t?e.parentNode:e,r=s(Y.wrapper.querySelectorAll(".slides>section"));i=Math.max(r.indexOf(n),0),a=void 0,t&&(a=Math.max(s(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&L){if(L.querySelectorAll(".fragment").length>0){let e=L.querySelector(".current-fragment");t=e&&e.hasAttribute("data-fragment-index")?parseInt(e.getAttribute("data-fragment-index"),10):L.querySelectorAll(".fragment.visible").length-1}}return{h:i,v:a,f:t}}function Je(){return s(Y.wrapper.querySelectorAll('.slides section:not(.stack):not([data-visibility="uncounted"])'))}function Qe(){return s(Y.wrapper.querySelectorAll(".slides>section"))}function Ze(){return s(Y.wrapper.querySelectorAll(".slides>section>section"))}function Ge(){return Qe().length>1}function et(){return Ze().length>1}function tt(){return Je().length}function it(e,t){let i=Qe()[e],a=i&&i.querySelectorAll("section");return a&&a.length&&"number"==typeof t?a?a[t]:void 0:i}function at(e=L){if(e.hasAttribute("data-notes"))return e.getAttribute("data-notes");let t=e.querySelector("aside.notes");return t?t.innerHTML:null}function nt(){let e=_e();return{indexh:e.h,indexv:e.v,indexf:e.f,paused:Te(),overview:W.isActive()}}function st(){if(rt(),L&&!1!==l.autoSlide){let e=L.querySelector(".current-fragment");e||(e=L.querySelector(".fragment"));let t=e?e.getAttribute("data-autoslide"):null,i=L.parentNode?L.parentNode.getAttribute("data-autoslide"):null,a=L.getAttribute("data-autoslide");G=t?parseInt(t,10):a?parseInt(a,10):i?parseInt(i,10):l.autoSlide,0===L.querySelectorAll(".fragment").length&&s(L.querySelectorAll("video, audio")).forEach(e=>{e.hasAttribute("data-autoplay")&&G&&1e3*e.duration/e.playbackRate>G&&(G=1e3*e.duration/e.playbackRate+1e3)}),!G||ie||Te()||W.isActive()||Pe()&&!K.availableRoutes().next&&!0!==l.loop||(ee=setTimeout(()=>{"function"==typeof l.autoSlideMethod?l.autoSlideMethod():pt(),st()},G),te=Date.now()),q&&q.setPlaying(-1!==ee)}}function rt(){clearTimeout(ee),ee=-1}function ot(){G&&!ie&&(ie=!0,pe("autoslidepaused"),clearTimeout(ee),q&&q.setPlaying(!1))}function lt(){G&&ie&&(ie=!1,pe("autoslideresumed"),st())}function dt(){T=!0,l.rtl?(W.isActive()||!1===K.next())&&Fe().left&&De(h+1,"grid"===l.navigationMode?g:void 0):(W.isActive()||!1===K.prev())&&Fe().left&&De(h-1,"grid"===l.navigationMode?g:void 0)}function ct(){T=!0,l.rtl?(W.isActive()||!1===K.prev())&&Fe().right&&De(h-1,"grid"===l.navigationMode?g:void 0):(W.isActive()||!1===K.next())&&Fe().right&&De(h+1,"grid"===l.navigationMode?g:void 0)}function ut(){(W.isActive()||!1===K.prev())&&Fe().up&&De(h,g-1)}function ht(){D=!0,(W.isActive()||!1===K.next())&&Fe().down&&De(h,g+1)}function gt(){if(!1===K.prev())if(Fe().up)ut();else{let e;if(e=l.rtl?s(Y.wrapper.querySelectorAll(".slides>section.future")).pop():s(Y.wrapper.querySelectorAll(".slides>section.past")).pop(),e){let t=e.querySelectorAll("section").length-1||void 0;De(h-1,t)}}}function pt(){if(T=!0,D=!0,!1===K.next()){let e=Fe();e.down&&e.right&&l.loop&&Re()&&(e.down=!1),e.down?ht():l.rtl?dt():ct()}}function vt(e){l.autoSlideStoppable&&ot()}function ft(e){Me(),clearTimeout(Q),Q=setTimeout(Ce,l.hideCursorTime)}function mt(e){if(Date.now()-_>600){_=Date.now();let t=e.detail||-e.wheelDelta;t>0?pt():t<0&>()}}function bt(e){vt(),e.preventDefault();let t=Qe().length,i=Math.floor(e.clientX/Y.wrapper.offsetWidth*t);l.rtl&&(i=t-i),De(i)}function yt(e){e.preventDefault(),vt(),"linear"===l.navigationMode?gt():dt()}function At(e){e.preventDefault(),vt(),"linear"===l.navigationMode?pt():ct()}function wt(e){e.preventDefault(),vt(),ut()}function St(e){e.preventDefault(),vt(),ht()}function Et(e){e.preventDefault(),vt(),gt()}function kt(e){e.preventDefault(),vt(),pt()}function Lt(e){$.readURL()}function Rt(e){Ae()}function xt(e){!1===document.hidden&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function Pt(e){if(e.currentTarget&&e.currentTarget.hasAttribute("href")){let t=e.currentTarget.getAttribute("href");t&&(!function(e){ye(),Y.overlay=document.createElement("div"),Y.overlay.classList.add("overlay"),Y.overlay.classList.add("overlay-preview"),Y.wrapper.appendChild(Y.overlay),Y.overlay.innerHTML=`
\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tUnable to load iframe. This is likely due to the site's policy (x-frame-options).\n\t\t\t\t\n\t\t\t
`,Y.overlay.querySelector("iframe").addEventListener("load",e=>{Y.overlay.classList.add("loaded")},!1),Y.overlay.querySelector(".close").addEventListener("click",e=>{ye(),e.preventDefault()},!1),Y.overlay.querySelector(".external").addEventListener("click",e=>{ye()},!1)}(t),e.preventDefault())}}function Mt(e){Pe()&&!1===l.loop?(De(0,0),lt()):ie?lt():ot()}return n(i,{VERSION:"4.0.0-dev",initialize:function(){if(e)return Y.wrapper=e,Y.slides=e.querySelector(".slides"),window.addEventListener("load",Ae,!1),l={...M,...t,...u()},V.load(l.dependencies).then(ae),new Promise(e=>i.addEventListener("ready",e));console.warn("reveal.js can not initialize without a valid .reveal element.")},configure:de,sync:Be,syncSlide:function(e=L){le(e),He(e),O.load(e),$e(),Ke()},syncFragments:He,slide:De,left:dt,right:ct,up:ut,down:ht,prev:gt,next:pt,navigateTo:De,navigateLeft:dt,navigateRight:ct,navigateUp:ut,navigateDown:ht,navigatePrev:gt,navigateNext:pt,navigateFragment:K.goto.bind(K),prevFragment:K.prev.bind(K),nextFragment:K.next.bind(K),addEventListener:(e,t,a)=>{i.getRevealElement().addEventListener(e,t,a)},removeEventListener:(e,t,a)=>{i.getRevealElement().removeEventListener(e,t,a)},layout:Ae,shuffle:Oe,availableRoutes:Fe,availableFragments:K.availableRoutes.bind(K),toggleHelp:function(e){"boolean"==typeof e?e?be():ye():Y.overlay?ye():be()},toggleOverview:W.toggle.bind(W),togglePause:Ie,toggleAutoSlide:function(e){"boolean"==typeof e?e?lt():ot():ie?lt():ot()},isFirstSlide:xe,isLastSlide:Pe,isLastVerticalSlide:Re,isVerticalSlide:Le,isOverview:W.isActive.bind(W),isPaused:Te,isAutoSliding:function(){return!(!G||ie)},isSpeakerNotes:function(){return!!window.location.search.match(/receiver/gi)},isPrintingPDF:ge,loadSlide:O.load.bind(O),unloadSlide:O.unload.bind(O),addEventListeners:ce,removeEventListeners:ue,dispatchEvent:pe,getState:nt,setState:function(e){if("object"==typeof e){De(r(e.indexh),r(e.indexv),r(e.indexf));let t=r(e.paused),i=r(e.overview);"boolean"==typeof t&&t!==Te()&&Ie(t),"boolean"==typeof i&&i!==W.isActive()&&W.toggle(i)}},getSlidePastCount:Xe,getProgress:Ye,getIndices:_e,getSlides:Je,getSlidesAttributes:function(){return Je().map(e=>{let t={};for(let i=0;iv,getCurrentSlide:()=>L,getScale:()=>H,getConfig:()=>l,getQueryHash:u,getRevealElement:()=>Y.wrapper||document.querySelector(".reveal"),getSlidesElement:()=>Y.slides,getBackgroundsElement:()=>Y.background,isReady:()=>I,announceStatus:ne,getStatusText:se,location:$,overview:W,slideContent:O,onUserInput:vt,closeOverlay:ye,updateControls:je,updateProgress:We,updateSlidesVisibility:Ue,transformSlides:he,cueAutoSlide:st,cancelAutoSlide:rt})};window.Reveal={initialize:e=>(window.Reveal=new N(document.querySelector(".reveal"),e),window.Reveal.initialize())}}]); \ No newline at end of file diff --git a/index.html b/index.html index 8a105b9..b37dc17 100644 --- a/index.html +++ b/index.html @@ -10,17 +10,12 @@ + + + + - - -
diff --git a/js/reveal.js b/js/reveal.js index 1768521..db57e23 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -371,7 +371,7 @@ export default function( revealElement, options ) { // Limit the size of certain elements to the dimensions of the slide createStyleSheet( '.reveal section>img, .reveal section>video, .reveal section>iframe{max-width: '+ slideWidth +'px; max-height:'+ slideHeight +'px}' ); - document.body.classList.add( 'print-pdf' ); + document.documentElement.classList.add( 'print-pdf' ); document.body.style.width = pageWidth + 'px'; document.body.style.height = pageHeight + 'px'; diff --git a/test/test-pdf.html b/test/test-pdf.html index ee9591d..bd285cf 100644 --- a/test/test-pdf.html +++ b/test/test-pdf.html @@ -7,7 +7,8 @@ reveal.js - Test PDF exports - + +