slippery 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +37 -20
- data/assets/LICENSE.md +21 -0
- data/assets/README.md +48 -0
- data/assets/highlight.js/CHANGES.md +693 -0
- data/assets/highlight.js/README.md +86 -37
- data/assets/highlight.js/README.ru.md +65 -24
- data/assets/highlight.js/highlight.pack.js +2 -1
- data/assets/highlight.js/styles/agate.css +108 -0
- data/assets/highlight.js/styles/androidstudio.css +66 -0
- data/assets/highlight.js/styles/arduino-light.css +88 -0
- data/assets/highlight.js/styles/arta.css +25 -93
- data/assets/highlight.js/styles/ascetic.css +20 -28
- data/assets/highlight.js/styles/atelier-cave-dark.css +83 -0
- data/assets/highlight.js/styles/atelier-cave-light.css +85 -0
- data/assets/highlight.js/styles/atelier-dune-dark.css +69 -0
- data/assets/highlight.js/styles/atelier-dune-light.css +69 -0
- data/assets/highlight.js/styles/atelier-estuary-dark.css +84 -0
- data/assets/highlight.js/styles/atelier-estuary-light.css +84 -0
- data/assets/highlight.js/styles/atelier-forest-dark.css +69 -0
- data/assets/highlight.js/styles/atelier-forest-light.css +69 -0
- data/assets/highlight.js/styles/atelier-heath-dark.css +69 -0
- data/assets/highlight.js/styles/atelier-heath-light.css +69 -0
- data/assets/highlight.js/styles/atelier-lakeside-dark.css +69 -0
- data/assets/highlight.js/styles/atelier-lakeside-light.css +69 -0
- data/assets/highlight.js/styles/atelier-plateau-dark.css +84 -0
- data/assets/highlight.js/styles/atelier-plateau-light.css +84 -0
- data/assets/highlight.js/styles/atelier-savanna-dark.css +84 -0
- data/assets/highlight.js/styles/atelier-savanna-light.css +84 -0
- data/assets/highlight.js/styles/atelier-seaside-dark.css +69 -0
- data/assets/highlight.js/styles/atelier-seaside-light.css +69 -0
- data/assets/highlight.js/styles/atelier-sulphurpool-dark.css +69 -0
- data/assets/highlight.js/styles/atelier-sulphurpool-light.css +69 -0
- data/assets/highlight.js/styles/atom-one-dark.css +96 -0
- data/assets/highlight.js/styles/atom-one-light.css +96 -0
- data/assets/highlight.js/styles/brown-paper.css +64 -0
- data/assets/highlight.js/styles/codepen-embed.css +22 -70
- data/assets/highlight.js/styles/color-brewer.css +20 -118
- data/assets/highlight.js/styles/darcula.css +77 -0
- data/assets/highlight.js/styles/dark.css +20 -62
- data/assets/highlight.js/styles/darkula.css +6 -0
- data/assets/highlight.js/styles/default.css +67 -121
- data/assets/highlight.js/styles/docco.css +22 -61
- data/assets/highlight.js/styles/dracula.css +76 -0
- data/assets/highlight.js/styles/far.css +26 -67
- data/assets/highlight.js/styles/foundation.css +22 -70
- data/assets/highlight.js/styles/github-gist.css +71 -0
- data/assets/highlight.js/styles/github.css +23 -51
- data/assets/highlight.js/styles/googlecode.css +29 -88
- data/assets/highlight.js/styles/grayscale.css +101 -0
- data/assets/highlight.js/styles/gruvbox-dark.css +108 -0
- data/assets/highlight.js/styles/gruvbox-light.css +108 -0
- data/assets/highlight.js/styles/hopscotch.css +83 -0
- data/assets/highlight.js/styles/hybrid.css +22 -91
- data/assets/highlight.js/styles/idea.css +24 -53
- data/assets/highlight.js/styles/ir-black.css +73 -0
- data/assets/highlight.js/styles/kimbie.dark.css +24 -46
- data/assets/highlight.js/styles/kimbie.light.css +24 -46
- data/assets/highlight.js/styles/magula.css +19 -71
- data/assets/highlight.js/styles/mono-blue.css +22 -33
- data/assets/highlight.js/styles/monokai-sublime.css +83 -0
- data/assets/highlight.js/styles/monokai.css +23 -80
- data/assets/highlight.js/styles/obsidian.css +26 -92
- data/assets/highlight.js/styles/ocean.css +74 -0
- data/assets/highlight.js/styles/paraiso-dark.css +72 -0
- data/assets/highlight.js/styles/paraiso-light.css +72 -0
- data/assets/highlight.js/styles/pojoaque.css +29 -54
- data/assets/highlight.js/styles/purebasic.css +96 -0
- data/assets/highlight.js/styles/qtcreator_dark.css +83 -0
- data/assets/highlight.js/styles/qtcreator_light.css +83 -0
- data/assets/highlight.js/styles/railscasts.css +32 -111
- data/assets/highlight.js/styles/rainbow.css +34 -58
- data/assets/highlight.js/styles/routeros.css +108 -0
- data/assets/highlight.js/styles/school-book.css +72 -0
- data/assets/highlight.js/styles/solarized-dark.css +84 -0
- data/assets/highlight.js/styles/solarized-light.css +84 -0
- data/assets/highlight.js/styles/sunburst.css +28 -91
- data/assets/highlight.js/styles/tomorrow-night-blue.css +23 -43
- data/assets/highlight.js/styles/tomorrow-night-bright.css +23 -43
- data/assets/highlight.js/styles/tomorrow-night-eighties.css +23 -43
- data/assets/highlight.js/styles/tomorrow-night.css +23 -43
- data/assets/highlight.js/styles/tomorrow.css +23 -43
- data/assets/highlight.js/styles/vs.css +33 -59
- data/assets/highlight.js/styles/vs2015.css +115 -0
- data/assets/highlight.js/styles/xcode.css +28 -94
- data/assets/highlight.js/styles/xt256.css +92 -0
- data/assets/highlight.js/styles/zenburn.css +26 -65
- data/assets/index.html +186 -0
- data/assets/pictures/cover.jpg +0 -0
- data/assets/pictures/logo.svg +3 -0
- data/assets/pictures/picture.jpg +0 -0
- data/assets/reveal.js/css/print/paper.css +193 -167
- data/assets/reveal.js/css/print/pdf.css +20 -53
- data/assets/reveal.js/css/reveal.css +953 -1663
- data/assets/reveal.js/css/reveal.min.css +3 -3
- data/assets/reveal.js/css/reveal.scss +1319 -0
- data/assets/reveal.js/css/theme/README.md +2 -4
- data/assets/reveal.js/css/theme/beige.css +183 -60
- data/assets/reveal.js/css/theme/black.css +267 -0
- data/assets/reveal.js/css/theme/blood.css +190 -80
- data/assets/reveal.js/css/theme/league.css +273 -0
- data/assets/reveal.js/css/theme/moon.css +174 -51
- data/assets/reveal.js/css/theme/night.css +171 -42
- data/assets/reveal.js/css/theme/serif.css +187 -58
- data/assets/reveal.js/css/theme/simple.css +179 -50
- data/assets/reveal.js/css/theme/sky.css +176 -47
- data/assets/reveal.js/css/theme/solarized.css +174 -51
- data/assets/reveal.js/css/theme/source/beige.scss +1 -12
- data/assets/reveal.js/css/theme/source/black.scss +49 -0
- data/assets/reveal.js/css/theme/source/blood.scss +3 -15
- data/assets/reveal.js/css/theme/source/{default.scss → league.scss} +5 -13
- data/assets/reveal.js/css/theme/source/moon.scss +1 -12
- data/assets/reveal.js/css/theme/source/serif.scss +1 -1
- data/assets/reveal.js/css/theme/source/sky.scss +1 -1
- data/assets/reveal.js/css/theme/source/solarized.scss +1 -12
- data/assets/reveal.js/css/theme/source/white.scss +49 -0
- data/assets/reveal.js/css/theme/template/settings.scss +13 -4
- data/assets/reveal.js/css/theme/template/theme.scss +193 -14
- data/assets/reveal.js/css/theme/white.css +267 -0
- data/assets/reveal.js/js/reveal.js +1572 -446
- data/assets/reveal.js/js/reveal.min.js +4 -4
- data/assets/reveal.js/lib/css/zenburn.css +74 -71
- data/assets/reveal.js/lib/font/league-gothic/league-gothic.css +10 -0
- data/assets/reveal.js/lib/font/league-gothic/league-gothic.eot +0 -0
- data/assets/reveal.js/lib/font/league-gothic/league-gothic.ttf +0 -0
- data/assets/reveal.js/lib/font/league-gothic/league-gothic.woff +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/LICENSE +45 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- data/assets/reveal.js/lib/font/source-sans-pro/source-sans-pro.css +39 -0
- data/assets/reveal.js/plugin/highlight/highlight.js +2 -4
- data/assets/reveal.js/plugin/leap/leap.js +4 -2
- data/assets/reveal.js/plugin/markdown/example.html +3 -3
- data/assets/reveal.js/plugin/markdown/markdown.js +10 -9
- data/assets/reveal.js/plugin/markdown/marked.js +2 -33
- data/assets/reveal.js/plugin/math/math.js +1 -1
- data/assets/reveal.js/plugin/notes/notes.html +321 -182
- data/assets/reveal.js/plugin/notes/notes.js +89 -45
- data/assets/reveal.js/plugin/notes-server/client.js +49 -46
- data/assets/reveal.js/plugin/notes-server/index.js +28 -21
- data/assets/reveal.js/plugin/notes-server/notes.html +351 -97
- data/assets/reveal.js/plugin/print-pdf/print-pdf.js +24 -20
- data/assets/reveal.js/plugin/zoom-js/zoom.js +78 -58
- data/assets/shower/shower.min.js +8 -0
- data/assets/shower/themes/material/LICENSE.md +21 -0
- data/assets/shower/themes/material/README.md +45 -0
- data/assets/shower/themes/material/fonts/COPYRIGHT.txt +1 -0
- data/assets/shower/themes/material/fonts/LICENSE.txt +202 -0
- data/assets/shower/themes/material/fonts/roboto-bold-italic.woff2 +0 -0
- data/assets/shower/themes/material/fonts/roboto-bold.woff2 +0 -0
- data/assets/shower/themes/material/fonts/roboto-italic.woff2 +0 -0
- data/assets/shower/themes/material/fonts/roboto-light.woff2 +0 -0
- data/assets/shower/themes/material/fonts/roboto-mono-regular.woff2 +0 -0
- data/assets/shower/themes/material/fonts/roboto-regular.woff2 +0 -0
- data/assets/shower/themes/material/index.html +488 -0
- data/assets/shower/themes/material/pictures/canvas.png +0 -0
- data/assets/shower/themes/material/pictures/exact.svg +3 -0
- data/assets/shower/themes/material/pictures/picture-1.svg +3 -0
- data/assets/shower/themes/material/pictures/picture-2.svg +3 -0
- data/assets/shower/themes/material/pictures/picture-3.svg +3 -0
- data/assets/shower/themes/material/pictures/square.svg +3 -0
- data/assets/shower/themes/material/pictures/tall.svg +3 -0
- data/assets/shower/themes/material/pictures/wide.svg +3 -0
- data/assets/shower/themes/material/styles/blocks/badge.css +65 -0
- data/assets/shower/themes/material/styles/blocks/caption.css +67 -0
- data/assets/shower/themes/material/styles/blocks/progress.css +37 -0
- data/assets/shower/themes/material/styles/blocks/region.css +29 -0
- data/assets/shower/themes/material/styles/fonts.css +64 -0
- data/assets/shower/themes/material/styles/shower/grid.svg +50 -0
- data/assets/shower/themes/material/styles/shower/shower-full.css +13 -0
- data/assets/shower/themes/material/styles/shower/shower-grid.css +13 -0
- data/assets/shower/themes/material/styles/shower/shower-list.css +30 -0
- data/assets/shower/themes/material/styles/shower/shower-print.css +11 -0
- data/assets/shower/themes/material/styles/shower/shower.css +39 -0
- data/assets/shower/themes/material/styles/slide/content/basic.css +23 -0
- data/assets/shower/themes/material/styles/slide/content/code.css +80 -0
- data/assets/shower/themes/material/styles/slide/content/footer.css +29 -0
- data/assets/shower/themes/material/styles/slide/content/inline.css +49 -0
- data/assets/shower/themes/material/styles/slide/content/lists.css +54 -0
- data/assets/shower/themes/material/styles/slide/content/quote.css +24 -0
- data/assets/shower/themes/material/styles/slide/content/table.css +53 -0
- data/assets/shower/themes/material/styles/slide/elements/columns.css +19 -0
- data/assets/shower/themes/material/styles/slide/elements/copyright.css +38 -0
- data/assets/shower/themes/material/styles/slide/elements/cover.css +25 -0
- data/assets/shower/themes/material/styles/slide/elements/next.css +9 -0
- data/assets/shower/themes/material/styles/slide/elements/place.css +63 -0
- data/assets/shower/themes/material/styles/slide/elements/shout.css +53 -0
- data/assets/shower/themes/material/styles/slide/modifiers/black.css +5 -0
- data/assets/shower/themes/material/styles/slide/modifiers/clear.css +11 -0
- data/assets/shower/themes/material/styles/slide/modifiers/white.css +5 -0
- data/assets/shower/themes/material/styles/slide/slide-full.css +16 -0
- data/assets/shower/themes/material/styles/slide/slide-list.css +68 -0
- data/assets/shower/themes/material/styles/slide/slide.css +56 -0
- data/assets/shower/themes/material/styles/styles.css +9 -0
- data/assets/shower/themes/ribbon/LICENSE.md +21 -0
- data/assets/shower/themes/ribbon/README.md +41 -0
- data/assets/shower/themes/ribbon/fonts/LICENSE.txt +44 -0
- data/assets/shower/themes/ribbon/fonts/pt-mono-regular.woff2 +0 -0
- data/assets/shower/themes/ribbon/fonts/pt-sans-bold-italic.woff2 +0 -0
- data/assets/shower/themes/ribbon/fonts/pt-sans-bold.woff2 +0 -0
- data/assets/shower/themes/ribbon/fonts/pt-sans-italic.woff2 +0 -0
- data/assets/shower/themes/ribbon/fonts/pt-sans-narrow-bold.woff2 +0 -0
- data/assets/shower/themes/ribbon/fonts/pt-sans-regular.woff2 +0 -0
- data/assets/shower/themes/ribbon/index.html +490 -0
- data/assets/shower/themes/ribbon/pictures/canvas.png +0 -0
- data/assets/shower/themes/ribbon/pictures/exact.svg +3 -0
- data/assets/shower/themes/ribbon/pictures/picture-1.svg +3 -0
- data/assets/shower/themes/ribbon/pictures/picture-2.svg +3 -0
- data/assets/shower/themes/ribbon/pictures/picture-3.svg +3 -0
- data/assets/shower/themes/ribbon/pictures/square.svg +3 -0
- data/assets/shower/themes/ribbon/pictures/tall.svg +3 -0
- data/assets/shower/themes/ribbon/pictures/wide.svg +3 -0
- data/assets/shower/themes/ribbon/styles/blocks/badge.css +63 -0
- data/assets/shower/themes/ribbon/styles/blocks/caption.css +63 -0
- data/assets/shower/themes/ribbon/styles/blocks/progress.css +46 -0
- data/assets/shower/themes/ribbon/styles/blocks/region.css +29 -0
- data/assets/shower/themes/ribbon/styles/fonts.css +64 -0
- data/assets/shower/themes/ribbon/styles/shower/grid.svg +40 -0
- data/assets/shower/themes/ribbon/styles/shower/shower-full.css +13 -0
- data/assets/shower/themes/ribbon/styles/shower/shower-grid.css +13 -0
- data/assets/shower/themes/ribbon/styles/shower/shower-list.css +30 -0
- data/assets/shower/themes/ribbon/styles/shower/shower-print.css +11 -0
- data/assets/shower/themes/ribbon/styles/shower/shower.css +32 -0
- data/assets/shower/themes/ribbon/styles/slide/content/basic.css +21 -0
- data/assets/shower/themes/ribbon/styles/slide/content/code.css +82 -0
- data/assets/shower/themes/ribbon/styles/slide/content/footer.css +29 -0
- data/assets/shower/themes/ribbon/styles/slide/content/inline.css +50 -0
- data/assets/shower/themes/ribbon/styles/slide/content/lists.css +55 -0
- data/assets/shower/themes/ribbon/styles/slide/content/quote.css +23 -0
- data/assets/shower/themes/ribbon/styles/slide/content/table.css +53 -0
- data/assets/shower/themes/ribbon/styles/slide/elements/columns.css +19 -0
- data/assets/shower/themes/ribbon/styles/slide/elements/copyright.css +38 -0
- data/assets/shower/themes/ribbon/styles/slide/elements/cover.css +25 -0
- data/assets/shower/themes/ribbon/styles/slide/elements/next.css +9 -0
- data/assets/shower/themes/ribbon/styles/slide/elements/place.css +63 -0
- data/assets/shower/themes/ribbon/styles/slide/elements/shout.css +54 -0
- data/assets/shower/themes/ribbon/styles/slide/modifiers/black.css +5 -0
- data/assets/shower/themes/ribbon/styles/slide/modifiers/clear.css +11 -0
- data/assets/shower/themes/ribbon/styles/slide/modifiers/white.css +5 -0
- data/assets/shower/themes/ribbon/styles/slide/ribbon.svg +1 -0
- data/assets/shower/themes/ribbon/styles/slide/slide-full.css +16 -0
- data/assets/shower/themes/ribbon/styles/slide/slide-list.css +68 -0
- data/assets/shower/themes/ribbon/styles/slide/slide.css +60 -0
- data/assets/shower/themes/ribbon/styles/styles.css +9 -0
- data/lib/slippery/presentation.rb +4 -0
- data/lib/slippery/processors/add_highlight.rb +3 -8
- data/lib/slippery/processors/reveal_js/add_reveal_js.rb +1 -1
- data/lib/slippery/processors/shower.rb +76 -0
- data/lib/slippery/rake_tasks.rb +8 -3
- data/lib/slippery/version.rb +1 -1
- data/lib/slippery.rb +1 -0
- data/slippery.gemspec +3 -3
- metadata +194 -56
- data/assets/highlight.js/highlight-0.8.default.min.css +0 -1
- data/assets/highlight.js/highlight-0.8.min.js +0 -1
- data/assets/highlight.js/styles/atelier-dune.dark.css +0 -95
- data/assets/highlight.js/styles/atelier-dune.light.css +0 -95
- data/assets/highlight.js/styles/atelier-forest.dark.css +0 -95
- data/assets/highlight.js/styles/atelier-forest.light.css +0 -95
- data/assets/highlight.js/styles/atelier-heath.dark.css +0 -95
- data/assets/highlight.js/styles/atelier-heath.light.css +0 -95
- data/assets/highlight.js/styles/atelier-lakeside.dark.css +0 -95
- data/assets/highlight.js/styles/atelier-lakeside.light.css +0 -95
- data/assets/highlight.js/styles/atelier-seaside.dark.css +0 -95
- data/assets/highlight.js/styles/atelier-seaside.light.css +0 -95
- data/assets/highlight.js/styles/brown_paper.css +0 -105
- data/assets/highlight.js/styles/ir_black.css +0 -110
- data/assets/highlight.js/styles/monokai_sublime.css +0 -148
- data/assets/highlight.js/styles/paraiso.dark.css +0 -95
- data/assets/highlight.js/styles/paraiso.light.css +0 -95
- data/assets/highlight.js/styles/school_book.css +0 -113
- data/assets/highlight.js/styles/solarized_dark.css +0 -109
- data/assets/highlight.js/styles/solarized_light.css +0 -109
- data/assets/reveal.js/css/theme/default.css +0 -148
- data/assets/reveal.js/lib/font/league_gothic-webfont.eot +0 -0
- data/assets/reveal.js/lib/font/league_gothic-webfont.svg +0 -230
- data/assets/reveal.js/lib/font/league_gothic-webfont.ttf +0 -0
- data/assets/reveal.js/lib/font/league_gothic-webfont.woff +0 -0
- data/assets/reveal.js/plugin/postmessage/example.html +0 -39
- data/assets/reveal.js/plugin/postmessage/postmessage.js +0 -42
- /data/assets/highlight.js/styles/{brown_papersq.png → brown-papersq.png} +0 -0
- /data/assets/highlight.js/styles/{school_book.png → school-book.png} +0 -0
- /data/assets/reveal.js/lib/font/{league_gothic_license → league-gothic/LICENSE} +0 -0
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* reveal.js
|
2
|
+
* reveal.js 3.1.0 (2015-09-06, 09:46)
|
3
3
|
* http://lab.hakim.se/reveal-js
|
4
4
|
* MIT licensed
|
5
5
|
*
|
6
|
-
* Copyright (C)
|
6
|
+
* Copyright (C) 2015 Hakim El Hattab, http://hakim.se
|
7
7
|
*/
|
8
|
-
var Reveal=function(){"use strict";function a(a){if(b(),!ec.transforms2d&&!ec.transforms3d)return document.body.setAttribute("class","no-transforms"),void 0;window.addEventListener("load",A,!1);var d=Reveal.getQueryHash();"undefined"!=typeof d.dependencies&&delete d.dependencies,k(_b,a),k(_b,d),r(),c()}function b(){ec.transforms3d="WebkitPerspective"in document.body.style||"MozPerspective"in document.body.style||"msPerspective"in document.body.style||"OPerspective"in document.body.style||"perspective"in document.body.style,ec.transforms2d="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style,ec.requestAnimationFrameMethod=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,ec.requestAnimationFrame="function"==typeof ec.requestAnimationFrameMethod,ec.canvas=!!document.createElement("canvas").getContext,Vb=navigator.userAgent.match(/(iphone|ipod|android)/gi)}function c(){function a(){e.length&&head.js.apply(null,e),d()}function b(b){head.ready(b.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],function(){"function"==typeof b.callback&&b.callback.apply(this),0===--f&&a()})}for(var c=[],e=[],f=0,g=0,h=_b.dependencies.length;h>g;g++){var i=_b.dependencies[g];(!i.condition||i.condition())&&(i.async?e.push(i.src):c.push(i.src),b(i))}c.length?(f=c.length,head.js.apply(null,c)):a()}function d(){e(),Q(),h(),cb(),X(!0),setTimeout(function(){dc.slides.classList.remove("no-transition"),ac=!0,t("ready",{indexh:Qb,indexv:Rb,currentSlide:Tb})},1)}function e(){dc.theme=document.querySelector("#theme"),dc.wrapper=document.querySelector(".reveal"),dc.slides=document.querySelector(".reveal .slides"),dc.slides.classList.add("no-transition"),dc.background=f(dc.wrapper,"div","backgrounds",null),dc.progress=f(dc.wrapper,"div","progress","<span></span>"),dc.progressbar=dc.progress.querySelector("span"),f(dc.wrapper,"aside","controls",'<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>'),dc.slideNumber=f(dc.wrapper,"div","slide-number",""),f(dc.wrapper,"div","state-background",null),f(dc.wrapper,"div","pause-overlay",null),dc.controls=document.querySelector(".reveal .controls"),dc.controlsLeft=l(document.querySelectorAll(".navigate-left")),dc.controlsRight=l(document.querySelectorAll(".navigate-right")),dc.controlsUp=l(document.querySelectorAll(".navigate-up")),dc.controlsDown=l(document.querySelectorAll(".navigate-down")),dc.controlsPrev=l(document.querySelectorAll(".navigate-prev")),dc.controlsNext=l(document.querySelectorAll(".navigate-next"))}function f(a,b,c,d){var e=a.querySelector("."+c);return e||(e=document.createElement(b),e.classList.add(c),null!==d&&(e.innerHTML=d),a.appendChild(e)),e}function g(){function a(a,b){var c={background:a.getAttribute("data-background"),backgroundSize:a.getAttribute("data-background-size"),backgroundImage:a.getAttribute("data-background-image"),backgroundColor:a.getAttribute("data-background-color"),backgroundRepeat:a.getAttribute("data-background-repeat"),backgroundPosition:a.getAttribute("data-background-position"),backgroundTransition:a.getAttribute("data-background-transition")},d=document.createElement("div");return d.className="slide-background",c.background&&(/^(http|file|\/\/)/gi.test(c.background)||/\.(svg|png|jpg|jpeg|gif|bmp)$/gi.test(c.background)?d.style.backgroundImage="url("+c.background+")":d.style.background=c.background),(c.background||c.backgroundColor||c.backgroundImage)&&d.setAttribute("data-background-hash",c.background+c.backgroundSize+c.backgroundImage+c.backgroundColor+c.backgroundRepeat+c.backgroundPosition+c.backgroundTransition),c.backgroundSize&&(d.style.backgroundSize=c.backgroundSize),c.backgroundImage&&(d.style.backgroundImage='url("'+c.backgroundImage+'")'),c.backgroundColor&&(d.style.backgroundColor=c.backgroundColor),c.backgroundRepeat&&(d.style.backgroundRepeat=c.backgroundRepeat),c.backgroundPosition&&(d.style.backgroundPosition=c.backgroundPosition),c.backgroundTransition&&d.setAttribute("data-background-transition",c.backgroundTransition),b.appendChild(d),d}q()&&document.body.classList.add("print-pdf"),dc.background.innerHTML="",dc.background.classList.add("no-transition"),l(document.querySelectorAll(Yb)).forEach(function(b){var c;c=q()?a(b,b):a(b,dc.background),l(b.querySelectorAll("section")).forEach(function(b){q()?a(b,b):a(b,c)})}),_b.parallaxBackgroundImage?(dc.background.style.backgroundImage='url("'+_b.parallaxBackgroundImage+'")',dc.background.style.backgroundSize=_b.parallaxBackgroundSize,setTimeout(function(){dc.wrapper.classList.add("has-parallax-background")},1)):(dc.background.style.backgroundImage="",dc.wrapper.classList.remove("has-parallax-background"))}function h(a){var b=document.querySelectorAll(Xb).length;if(dc.wrapper.classList.remove(_b.transition),"object"==typeof a&&k(_b,a),ec.transforms3d===!1&&(_b.transition="linear"),dc.wrapper.classList.add(_b.transition),dc.wrapper.setAttribute("data-transition-speed",_b.transitionSpeed),dc.wrapper.setAttribute("data-background-transition",_b.backgroundTransition),dc.controls.style.display=_b.controls?"block":"none",dc.progress.style.display=_b.progress?"block":"none",_b.rtl?dc.wrapper.classList.add("rtl"):dc.wrapper.classList.remove("rtl"),_b.center?dc.wrapper.classList.add("center"):dc.wrapper.classList.remove("center"),_b.mouseWheel?(document.addEventListener("DOMMouseScroll",Bb,!1),document.addEventListener("mousewheel",Bb,!1)):(document.removeEventListener("DOMMouseScroll",Bb,!1),document.removeEventListener("mousewheel",Bb,!1)),_b.rollingLinks?u():v(),_b.previewLinks?w():(x(),w("[data-preview-link]")),b>1&&_b.autoSlide&&_b.autoSlideStoppable&&ec.canvas&&ec.requestAnimationFrame?(Wb=new Pb(dc.wrapper,function(){return Math.min(Math.max((Date.now()-mc)/kc,0),1)}),Wb.on("click",Ob),nc=!1):Wb&&(Wb.destroy(),Wb=null),_b.theme&&dc.theme){var c=dc.theme.getAttribute("href"),d=/[^\/]*?(?=\.css)/,e=c.match(d)[0];_b.theme!==e&&(c=c.replace(d,_b.theme),dc.theme.setAttribute("href",c))}P()}function i(){if(jc=!0,window.addEventListener("hashchange",Jb,!1),window.addEventListener("resize",Kb,!1),_b.touch&&(dc.wrapper.addEventListener("touchstart",vb,!1),dc.wrapper.addEventListener("touchmove",wb,!1),dc.wrapper.addEventListener("touchend",xb,!1),window.navigator.msPointerEnabled&&(dc.wrapper.addEventListener("MSPointerDown",yb,!1),dc.wrapper.addEventListener("MSPointerMove",zb,!1),dc.wrapper.addEventListener("MSPointerUp",Ab,!1))),_b.keyboard&&document.addEventListener("keydown",ub,!1),_b.progress&&dc.progress&&dc.progress.addEventListener("click",Cb,!1),_b.focusBodyOnPageVisiblityChange){var a;"hidden"in document?a="visibilitychange":"msHidden"in document?a="msvisibilitychange":"webkitHidden"in document&&(a="webkitvisibilitychange"),a&&document.addEventListener(a,Lb,!1)}["touchstart","click"].forEach(function(a){dc.controlsLeft.forEach(function(b){b.addEventListener(a,Db,!1)}),dc.controlsRight.forEach(function(b){b.addEventListener(a,Eb,!1)}),dc.controlsUp.forEach(function(b){b.addEventListener(a,Fb,!1)}),dc.controlsDown.forEach(function(b){b.addEventListener(a,Gb,!1)}),dc.controlsPrev.forEach(function(b){b.addEventListener(a,Hb,!1)}),dc.controlsNext.forEach(function(b){b.addEventListener(a,Ib,!1)})})}function j(){jc=!1,document.removeEventListener("keydown",ub,!1),window.removeEventListener("hashchange",Jb,!1),window.removeEventListener("resize",Kb,!1),dc.wrapper.removeEventListener("touchstart",vb,!1),dc.wrapper.removeEventListener("touchmove",wb,!1),dc.wrapper.removeEventListener("touchend",xb,!1),window.navigator.msPointerEnabled&&(dc.wrapper.removeEventListener("MSPointerDown",yb,!1),dc.wrapper.removeEventListener("MSPointerMove",zb,!1),dc.wrapper.removeEventListener("MSPointerUp",Ab,!1)),_b.progress&&dc.progress&&dc.progress.removeEventListener("click",Cb,!1),["touchstart","click"].forEach(function(a){dc.controlsLeft.forEach(function(b){b.removeEventListener(a,Db,!1)}),dc.controlsRight.forEach(function(b){b.removeEventListener(a,Eb,!1)}),dc.controlsUp.forEach(function(b){b.removeEventListener(a,Fb,!1)}),dc.controlsDown.forEach(function(b){b.removeEventListener(a,Gb,!1)}),dc.controlsPrev.forEach(function(b){b.removeEventListener(a,Hb,!1)}),dc.controlsNext.forEach(function(b){b.removeEventListener(a,Ib,!1)})})}function k(a,b){for(var c in b)a[c]=b[c]}function l(a){return Array.prototype.slice.call(a)}function m(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function n(a,b){a.style.WebkitTransform=b,a.style.MozTransform=b,a.style.msTransform=b,a.style.OTransform=b,a.style.transform=b}function o(a){var b=0;if(a){var c=0;l(a.childNodes).forEach(function(a){"number"==typeof a.offsetTop&&a.style&&("absolute"===a.style.position&&(c+=1),b=Math.max(b,a.offsetTop+a.offsetHeight))}),0===c&&(b=a.offsetHeight)}return b}function p(a,b){if(b=b||0,a){var c=a.parentNode,d=c.childNodes;l(d).forEach(function(c){if("number"==typeof c.offsetHeight&&c!==a){var d=window.getComputedStyle(c),e=parseInt(d.marginTop,10),f=parseInt(d.marginBottom,10);b-=c.offsetHeight+e+f}});var e=window.getComputedStyle(a);b-=parseInt(e.marginTop,10)+parseInt(e.marginBottom,10)}return b}function q(){return/print-pdf/gi.test(window.location.search)}function r(){_b.hideAddressBar&&Vb&&(window.addEventListener("load",s,!1),window.addEventListener("orientationchange",s,!1))}function s(){setTimeout(function(){window.scrollTo(0,1)},10)}function t(a,b){var c=document.createEvent("HTMLEvents",1,2);c.initEvent(a,!0,!0),k(c,b),dc.wrapper.dispatchEvent(c)}function u(){if(ec.transforms3d&&!("msPerspective"in document.body.style))for(var a=document.querySelectorAll(Xb+" a:not(.image)"),b=0,c=a.length;c>b;b++){var d=a[b];if(!(!d.textContent||d.querySelector("*")||d.className&&d.classList.contains(d,"roll"))){var e=document.createElement("span");e.setAttribute("data-title",d.text),e.innerHTML=d.innerHTML,d.classList.add("roll"),d.innerHTML="",d.appendChild(e)}}}function v(){for(var a=document.querySelectorAll(Xb+" a.roll"),b=0,c=a.length;c>b;b++){var d=a[b],e=d.querySelector("span");e&&(d.classList.remove("roll"),d.innerHTML=e.innerHTML)}}function w(a){var b=l(document.querySelectorAll(a?a:"a"));b.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.addEventListener("click",Nb,!1)})}function x(){var a=l(document.querySelectorAll("a"));a.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.removeEventListener("click",Nb,!1)})}function y(a){z(),dc.preview=document.createElement("div"),dc.preview.classList.add("preview-link-overlay"),dc.wrapper.appendChild(dc.preview),dc.preview.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>','<a class="external" href="'+a+'" target="_blank"><span class="icon"></span></a>',"</header>",'<div class="spinner"></div>','<div class="viewport">','<iframe src="'+a+'"></iframe>',"</div>"].join(""),dc.preview.querySelector("iframe").addEventListener("load",function(){dc.preview.classList.add("loaded")},!1),dc.preview.querySelector(".close").addEventListener("click",function(a){z(),a.preventDefault()},!1),dc.preview.querySelector(".external").addEventListener("click",function(){z()},!1),setTimeout(function(){dc.preview.classList.add("visible")},1)}function z(){dc.preview&&(dc.preview.setAttribute("src",""),dc.preview.parentNode.removeChild(dc.preview),dc.preview=null)}function A(){if(dc.wrapper&&!q()){var a=dc.wrapper.offsetWidth,b=dc.wrapper.offsetHeight;a-=b*_b.margin,b-=b*_b.margin;var c=_b.width,d=_b.height,e=20;B(_b.width,_b.height,e),"string"==typeof c&&/%$/.test(c)&&(c=parseInt(c,10)/100*a),"string"==typeof d&&/%$/.test(d)&&(d=parseInt(d,10)/100*b),dc.slides.style.width=c+"px",dc.slides.style.height=d+"px",cc=Math.min(a/c,b/d),cc=Math.max(cc,_b.minScale),cc=Math.min(cc,_b.maxScale),"undefined"==typeof dc.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)?n(dc.slides,"translate(-50%, -50%) scale("+cc+") translate(50%, 50%)"):dc.slides.style.zoom=cc;for(var f=l(document.querySelectorAll(Xb)),g=0,h=f.length;h>g;g++){var i=f[g];"none"!==i.style.display&&(i.style.top=_b.center||i.classList.contains("center")?i.classList.contains("stack")?0:Math.max(-(o(i)/2)-e,-d/2)+"px":"")}U(),Y()}}function B(a,b,c){l(dc.slides.querySelectorAll("section > .stretch")).forEach(function(d){var e=p(d,b-2*c);if(/(img|video)/gi.test(d.nodeName)){var f=d.naturalWidth||d.videoWidth,g=d.naturalHeight||d.videoHeight,h=Math.min(a/f,e/g);d.style.width=f*h+"px",d.style.height=g*h+"px"}else d.style.width=a+"px",d.style.height=e+"px"})}function C(a,b){"object"==typeof a&&"function"==typeof a.setAttribute&&a.setAttribute("data-previous-indexv",b||0)}function D(a){if("object"==typeof a&&"function"==typeof a.setAttribute&&a.classList.contains("stack")){var b=a.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(a.getAttribute(b)||0,10)}return 0}function E(){if(_b.overview){kb();var a=dc.wrapper.classList.contains("overview"),b=window.innerWidth<400?1e3:2500;dc.wrapper.classList.add("overview"),dc.wrapper.classList.remove("overview-deactivating"),clearTimeout(hc),clearTimeout(ic),hc=setTimeout(function(){for(var c=document.querySelectorAll(Yb),d=0,e=c.length;e>d;d++){var f=c[d],g=_b.rtl?-105:105;if(f.setAttribute("data-index-h",d),n(f,"translateZ(-"+b+"px) translate("+(d-Qb)*g+"%, 0%)"),f.classList.contains("stack"))for(var h=f.querySelectorAll("section"),i=0,j=h.length;j>i;i++){var k=d===Qb?Rb:D(f),l=h[i];l.setAttribute("data-index-h",d),l.setAttribute("data-index-v",i),n(l,"translate(0%, "+105*(i-k)+"%)"),l.addEventListener("click",Mb,!0)}else f.addEventListener("click",Mb,!0)}T(),A(),a||t("overviewshown",{indexh:Qb,indexv:Rb,currentSlide:Tb})},10)}}function F(){_b.overview&&(clearTimeout(hc),clearTimeout(ic),dc.wrapper.classList.remove("overview"),dc.wrapper.classList.add("overview-deactivating"),ic=setTimeout(function(){dc.wrapper.classList.remove("overview-deactivating")},1),l(document.querySelectorAll(Xb)).forEach(function(a){n(a,""),a.removeEventListener("click",Mb,!0)}),O(Qb,Rb),jb(),t("overviewhidden",{indexh:Qb,indexv:Rb,currentSlide:Tb}))}function G(a){"boolean"==typeof a?a?E():F():H()?F():E()}function H(){return dc.wrapper.classList.contains("overview")}function I(a){return a=a?a:Tb,a&&a.parentNode&&!!a.parentNode.nodeName.match(/section/i)}function J(){var a=document.body,b=a.requestFullScreen||a.webkitRequestFullscreen||a.webkitRequestFullScreen||a.mozRequestFullScreen||a.msRequestFullScreen;b&&b.apply(a)}function K(){var a=dc.wrapper.classList.contains("paused");kb(),dc.wrapper.classList.add("paused"),a===!1&&t("paused")}function L(){var a=dc.wrapper.classList.contains("paused");dc.wrapper.classList.remove("paused"),jb(),a&&t("resumed")}function M(){N()?L():K()}function N(){return dc.wrapper.classList.contains("paused")}function O(a,b,c,d){Sb=Tb;var e=document.querySelectorAll(Yb);void 0===b&&(b=D(e[a])),Sb&&Sb.parentNode&&Sb.parentNode.classList.contains("stack")&&C(Sb.parentNode,Rb);var f=bc.concat();bc.length=0;var g=Qb||0,h=Rb||0;Qb=S(Yb,void 0===a?Qb:a),Rb=S(Zb,void 0===b?Rb:b),T(),A();a:for(var i=0,j=bc.length;j>i;i++){for(var k=0;k<f.length;k++)if(f[k]===bc[i]){f.splice(k,1);continue a}document.documentElement.classList.add(bc[i]),t(bc[i])}for(;f.length;)document.documentElement.classList.remove(f.pop());H()&&E();var m=e[Qb],n=m.querySelectorAll("section");Tb=n[Rb]||m,"undefined"!=typeof c&&gb(c);var o=Qb!==g||Rb!==h;o?t("slidechanged",{indexh:Qb,indexv:Rb,previousSlide:Sb,currentSlide:Tb,origin:d}):Sb=null,Sb&&(Sb.classList.remove("present"),document.querySelector($b).classList.contains("present")&&setTimeout(function(){var a,b=l(document.querySelectorAll(Yb+".stack"));for(a in b)b[a]&&C(b[a],0)},0)),o&&(ab(Sb),_(Tb)),W(),U(),X(),Y(),V(),db(),jb()}function P(){j(),i(),A(),kc=_b.autoSlide,jb(),g(),R(),W(),U(),X(!0),V()}function Q(){var a=l(document.querySelectorAll(Yb));a.forEach(function(a){var b=l(a.querySelectorAll("section"));b.forEach(function(a,b){b>0&&(a.classList.remove("present"),a.classList.remove("past"),a.classList.add("future"))})})}function R(){var a=l(document.querySelectorAll(Yb));a.forEach(function(a){var b=l(a.querySelectorAll("section"));b.forEach(function(a){fb(a.querySelectorAll(".fragment"))}),0===b.length&&fb(a.querySelectorAll(".fragment"))})}function S(a,b){var c=l(document.querySelectorAll(a)),d=c.length;if(d){_b.loop&&(b%=d,0>b&&(b=d+b)),b=Math.max(Math.min(b,d-1),0);for(var e=0;d>e;e++){var f=c[e],g=_b.rtl&&!I(f);if(f.classList.remove("past"),f.classList.remove("present"),f.classList.remove("future"),f.setAttribute("hidden",""),b>e){f.classList.add(g?"future":"past");for(var h=l(f.querySelectorAll(".fragment"));h.length;){var i=h.pop();i.classList.add("visible"),i.classList.remove("current-fragment")}}else if(e>b){f.classList.add(g?"past":"future");for(var j=l(f.querySelectorAll(".fragment.visible"));j.length;){var k=j.pop();k.classList.remove("visible"),k.classList.remove("current-fragment")}}f.querySelector("section")&&f.classList.add("stack")}c[b].classList.add("present"),c[b].removeAttribute("hidden");var m=c[b].getAttribute("data-state");m&&(bc=bc.concat(m.split(" ")))}else b=0;return b}function T(){var a,b,c=l(document.querySelectorAll(Yb)),d=c.length;if(d){var e=H()?10:_b.viewDistance;Vb&&(e=H()?6:1);for(var f=0;d>f;f++){var g=c[f],h=l(g.querySelectorAll("section")),i=h.length;if(a=Math.abs((Qb-f)%(d-e))||0,g.style.display=a>e?"none":"block",i)for(var j=D(g),k=0;i>k;k++){var m=h[k];b=f===Qb?Math.abs(Rb-k):Math.abs(k-j),m.style.display=a+b>e?"none":"block"}}}}function U(){if(_b.progress&&dc.progress){var a=l(document.querySelectorAll(Yb)),b=document.querySelectorAll(Xb+":not(.stack)").length,c=0;a:for(var d=0;d<a.length;d++){for(var e=a[d],f=l(e.querySelectorAll("section")),g=0;g<f.length;g++){if(f[g].classList.contains("present"))break a;c++}if(e.classList.contains("present"))break;e.classList.contains("stack")===!1&&c++}dc.progressbar.style.width=c/(b-1)*window.innerWidth+"px"}}function V(){if(_b.slideNumber&&dc.slideNumber){var a=Qb;Rb>0&&(a+=" - "+Rb),dc.slideNumber.innerHTML=a}}function W(){var a=Z(),b=$();dc.controlsLeft.concat(dc.controlsRight).concat(dc.controlsUp).concat(dc.controlsDown).concat(dc.controlsPrev).concat(dc.controlsNext).forEach(function(a){a.classList.remove("enabled"),a.classList.remove("fragmented")}),a.left&&dc.controlsLeft.forEach(function(a){a.classList.add("enabled")}),a.right&&dc.controlsRight.forEach(function(a){a.classList.add("enabled")}),a.up&&dc.controlsUp.forEach(function(a){a.classList.add("enabled")}),a.down&&dc.controlsDown.forEach(function(a){a.classList.add("enabled")}),(a.left||a.up)&&dc.controlsPrev.forEach(function(a){a.classList.add("enabled")}),(a.right||a.down)&&dc.controlsNext.forEach(function(a){a.classList.add("enabled")}),Tb&&(b.prev&&dc.controlsPrev.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&dc.controlsNext.forEach(function(a){a.classList.add("fragmented","enabled")}),I(Tb)?(b.prev&&dc.controlsUp.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&dc.controlsDown.forEach(function(a){a.classList.add("fragmented","enabled")})):(b.prev&&dc.controlsLeft.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&dc.controlsRight.forEach(function(a){a.classList.add("fragmented","enabled")})))}function X(a){var b=null,c=_b.rtl?"future":"past",d=_b.rtl?"past":"future";if(l(dc.background.childNodes).forEach(function(e,f){Qb>f?e.className="slide-background "+c:f>Qb?e.className="slide-background "+d:(e.className="slide-background present",b=e),(a||f===Qb)&&l(e.childNodes).forEach(function(a,c){Rb>c?a.className="slide-background past":c>Rb?a.className="slide-background future":(a.className="slide-background present",f===Qb&&(b=a))})}),b){var e=Ub?Ub.getAttribute("data-background-hash"):null,f=b.getAttribute("data-background-hash");f&&f===e&&b!==Ub&&dc.background.classList.add("no-transition"),Ub=b}setTimeout(function(){dc.background.classList.remove("no-transition")},1)}function Y(){if(_b.parallaxBackgroundImage){var a,b,c=document.querySelectorAll(Yb),d=document.querySelectorAll(Zb),e=dc.background.style.backgroundSize.split(" ");1===e.length?a=b=parseInt(e[0],10):(a=parseInt(e[0],10),b=parseInt(e[1],10));var f=dc.background.offsetWidth,g=c.length,h=-(a-f)/(g-1)*Qb,i=dc.background.offsetHeight,j=d.length,k=j>0?-(b-i)/(j-1)*Rb:0;dc.background.style.backgroundPosition=h+"px "+k+"px"}}function Z(){var a=document.querySelectorAll(Yb),b=document.querySelectorAll(Zb),c={left:Qb>0||_b.loop,right:Qb<a.length-1||_b.loop,up:Rb>0,down:Rb<b.length-1};if(_b.rtl){var d=c.left;c.left=c.right,c.right=d}return c}function $(){if(Tb&&_b.fragments){var a=Tb.querySelectorAll(".fragment"),b=Tb.querySelectorAll(".fragment:not(.visible)");return{prev:a.length-b.length>0,next:!!b.length}}return{prev:!1,next:!1}}function _(a){a&&!bb()&&(l(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&a.play()}),l(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:start","*")}),l(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-autoplay")&&a.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function ab(a){a&&(l(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-ignore")||a.pause()}),l(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:stop","*")}),l(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function bb(){return!!window.location.search.match(/receiver/gi)}function cb(){var a=window.location.hash,b=a.slice(2).split("/"),c=a.replace(/#|\//gi,"");if(isNaN(parseInt(b[0],10))&&c.length){var d=document.querySelector("#"+c);if(d){var e=Reveal.getIndices(d);O(e.h,e.v)}else O(Qb||0,Rb||0)}else{var f=parseInt(b[0],10)||0,g=parseInt(b[1],10)||0;(f!==Qb||g!==Rb)&&O(f,g)}}function db(a){if(_b.history)if(clearTimeout(gc),"number"==typeof a)gc=setTimeout(db,a);else{var b="/";Tb&&"string"==typeof Tb.getAttribute("id")?b="/"+Tb.getAttribute("id"):((Qb>0||Rb>0)&&(b+=Qb),Rb>0&&(b+="/"+Rb)),window.location.hash=b}}function eb(a){var b,c=Qb,d=Rb;if(a){var e=I(a),f=e?a.parentNode:a,g=l(document.querySelectorAll(Yb));c=Math.max(g.indexOf(f),0),e&&(d=Math.max(l(a.parentNode.querySelectorAll("section")).indexOf(a),0))}if(!a&&Tb){var h=Tb.querySelectorAll(".fragment").length>0;if(h){var i=Tb.querySelectorAll(".fragment.visible");b=i.length-1}}return{h:c,v:d,f:b}}function fb(a){a=l(a);var b=[],c=[],d=[];a.forEach(function(a){if(a.hasAttribute("data-fragment-index")){var d=parseInt(a.getAttribute("data-fragment-index"),10);b[d]||(b[d]=[]),b[d].push(a)}else c.push([a])}),b=b.concat(c);var e=0;return b.forEach(function(a){a.forEach(function(a){d.push(a),a.setAttribute("data-fragment-index",e)}),e++}),d}function gb(a,b){if(Tb&&_b.fragments){var c=fb(Tb.querySelectorAll(".fragment"));if(c.length){if("number"!=typeof a){var d=fb(Tb.querySelectorAll(".fragment.visible")).pop();a=d?parseInt(d.getAttribute("data-fragment-index")||0,10):-1}"number"==typeof b&&(a+=b);var e=[],f=[];return l(c).forEach(function(b,c){b.hasAttribute("data-fragment-index")&&(c=parseInt(b.getAttribute("data-fragment-index"),10)),a>=c?(b.classList.contains("visible")||e.push(b),b.classList.add("visible"),b.classList.remove("current-fragment"),c===a&&b.classList.add("current-fragment")):(b.classList.contains("visible")&&f.push(b),b.classList.remove("visible"),b.classList.remove("current-fragment"))}),f.length&&t("fragmenthidden",{fragment:f[0],fragments:f}),e.length&&t("fragmentshown",{fragment:e[0],fragments:e}),W(),!(!e.length&&!f.length)}}return!1}function hb(){return gb(null,1)}function ib(){return gb(null,-1)}function jb(){if(kb(),Tb){var a=Tb.parentNode?Tb.parentNode.getAttribute("data-autoslide"):null,b=Tb.getAttribute("data-autoslide");kc=b?parseInt(b,10):a?parseInt(a,10):_b.autoSlide,l(Tb.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&kc&&1e3*a.duration>kc&&(kc=1e3*a.duration+1e3)}),!kc||nc||N()||H()||Reveal.isLastSlide()&&_b.loop!==!0||(lc=setTimeout(sb,kc),mc=Date.now()),Wb&&Wb.setPlaying(-1!==lc)}}function kb(){clearTimeout(lc),lc=-1}function lb(){nc=!0,clearTimeout(lc),Wb&&Wb.setPlaying(!1)}function mb(){nc=!1,jb()}function nb(){_b.rtl?(H()||hb()===!1)&&Z().left&&O(Qb+1):(H()||ib()===!1)&&Z().left&&O(Qb-1)}function ob(){_b.rtl?(H()||ib()===!1)&&Z().right&&O(Qb-1):(H()||hb()===!1)&&Z().right&&O(Qb+1)}function pb(){(H()||ib()===!1)&&Z().up&&O(Qb,Rb-1)}function qb(){(H()||hb()===!1)&&Z().down&&O(Qb,Rb+1)}function rb(){if(ib()===!1)if(Z().up)pb();else{var a=document.querySelector(Yb+".past:nth-child("+Qb+")");if(a){var b=a.querySelectorAll("section").length-1||void 0,c=Qb-1;O(c,b)}}}function sb(){hb()===!1&&(Z().down?qb():ob()),jb()}function tb(){_b.autoSlideStoppable&&lb()}function ub(a){tb(a),document.activeElement;var b=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(b||a.shiftKey&&32!==a.keyCode||a.altKey||a.ctrlKey||a.metaKey)){if(N()&&-1===[66,190,191].indexOf(a.keyCode))return!1;var c=!1;if("object"==typeof _b.keyboard)for(var d in _b.keyboard)if(parseInt(d,10)===a.keyCode){var e=_b.keyboard[d];"function"==typeof e?e.apply(null,[a]):"string"==typeof e&&"function"==typeof Reveal[e]&&Reveal[e].call(),c=!0}if(c===!1)switch(c=!0,a.keyCode){case 80:case 33:rb();break;case 78:case 34:sb();break;case 72:case 37:nb();break;case 76:case 39:ob();break;case 75:case 38:pb();break;case 74:case 40:qb();break;case 36:O(0);break;case 35:O(Number.MAX_VALUE);break;case 32:H()?F():a.shiftKey?rb():sb();break;case 13:H()?F():c=!1;break;case 66:case 190:case 191:M();break;case 70:J();break;default:c=!1}c?a.preventDefault():27!==a.keyCode&&79!==a.keyCode||!ec.transforms3d||(dc.preview?z():G(),a.preventDefault()),jb()}}function vb(a){oc.startX=a.touches[0].clientX,oc.startY=a.touches[0].clientY,oc.startCount=a.touches.length,2===a.touches.length&&_b.overview&&(oc.startSpan=m({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:oc.startX,y:oc.startY}))}function wb(a){if(oc.captured)navigator.userAgent.match(/android/gi)&&a.preventDefault();else{tb(a);var b=a.touches[0].clientX,c=a.touches[0].clientY;if(2===a.touches.length&&2===oc.startCount&&_b.overview){var d=m({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:oc.startX,y:oc.startY});Math.abs(oc.startSpan-d)>oc.threshold&&(oc.captured=!0,d<oc.startSpan?E():F()),a.preventDefault()}else if(1===a.touches.length&&2!==oc.startCount){var e=b-oc.startX,f=c-oc.startY;e>oc.threshold&&Math.abs(e)>Math.abs(f)?(oc.captured=!0,nb()):e<-oc.threshold&&Math.abs(e)>Math.abs(f)?(oc.captured=!0,ob()):f>oc.threshold?(oc.captured=!0,pb()):f<-oc.threshold&&(oc.captured=!0,qb()),_b.embedded?(oc.captured||I(Tb))&&a.preventDefault():a.preventDefault()}}}function xb(){oc.captured=!1}function yb(a){a.pointerType===a.MSPOINTER_TYPE_TOUCH&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],vb(a))}function zb(a){a.pointerType===a.MSPOINTER_TYPE_TOUCH&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],wb(a))}function Ab(a){a.pointerType===a.MSPOINTER_TYPE_TOUCH&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],xb(a))}function Bb(a){if(Date.now()-fc>600){fc=Date.now();var b=a.detail||-a.wheelDelta;b>0?sb():rb()}}function Cb(a){tb(a),a.preventDefault();var b=l(document.querySelectorAll(Yb)).length,c=Math.floor(a.clientX/dc.wrapper.offsetWidth*b);O(c)}function Db(a){a.preventDefault(),tb(),nb()}function Eb(a){a.preventDefault(),tb(),ob()}function Fb(a){a.preventDefault(),tb(),pb()}function Gb(a){a.preventDefault(),tb(),qb()}function Hb(a){a.preventDefault(),tb(),rb()}function Ib(a){a.preventDefault(),tb(),sb()}function Jb(){cb()}function Kb(){A()}function Lb(){var a=document.webkitHidden||document.msHidden||document.hidden;a===!1&&document.activeElement!==document.body&&(document.activeElement.blur(),document.body.focus())}function Mb(a){if(jc&&H()){a.preventDefault();for(var b=a.target;b&&!b.nodeName.match(/section/gi);)b=b.parentNode;if(b&&!b.classList.contains("disabled")&&(F(),b.nodeName.match(/section/gi))){var c=parseInt(b.getAttribute("data-index-h"),10),d=parseInt(b.getAttribute("data-index-v"),10);O(c,d)}}}function Nb(a){var b=a.target.getAttribute("href");b&&(y(b),a.preventDefault())}function Ob(){Reveal.isLastSlide()&&_b.loop===!1?(O(0,0),mb()):nc?mb():lb()}function Pb(a,b){this.diameter=50,this.thickness=3,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=a,this.progressCheck=b,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}var Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb=".reveal .slides section",Yb=".reveal .slides>section",Zb=".reveal .slides>section.present>section",$b=".reveal .slides>section:first-of-type",_b={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,slideNumber:!1,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,embedded:!1,autoSlide:0,autoSlideStoppable:!0,mouseWheel:!1,rollingLinks:!1,hideAddressBar:!0,previewLinks:!1,focusBodyOnPageVisiblityChange:!0,theme:null,transition:"default",transitionSpeed:"default",backgroundTransition:"default",parallaxBackgroundImage:"",parallaxBackgroundSize:"",viewDistance:3,dependencies:[]},ac=!1,bc=[],cc=1,dc={},ec={},fc=0,gc=0,hc=0,ic=0,jc=!1,kc=0,lc=0,mc=-1,nc=!1,oc={startX:0,startY:0,startSpan:0,startCount:0,captured:!1,threshold:40};return Pb.prototype.setPlaying=function(a){var b=this.playing;this.playing=a,!b&&this.playing?this.animate():this.render()},Pb.prototype.animate=function(){var a=this.progress;this.progress=this.progressCheck(),a>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&ec.requestAnimationFrameMethod.call(window,this.animate.bind(this))},Pb.prototype.render=function(){var a=this.playing?this.progress:0,b=this.diameter/2-this.thickness,c=this.diameter/2,d=this.diameter/2,e=14;this.progressOffset+=.1*(1-this.progressOffset);var f=-Math.PI/2+a*2*Math.PI,g=-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(c,d,b+2,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(c,d,b,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#666",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(c,d,b,g,f,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(c-e/2,d-e/2),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,e/2-2,e),this.context.fillRect(e/2+2,0,e/2-2,e)):(this.context.beginPath(),this.context.translate(2,0),this.context.moveTo(0,0),this.context.lineTo(e-2,e/2),this.context.lineTo(0,e),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()},Pb.prototype.on=function(a,b){this.canvas.addEventListener(a,b,!1)},Pb.prototype.off=function(a,b){this.canvas.removeEventListener(a,b,!1)},Pb.prototype.destroy=function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)},{initialize:a,configure:h,sync:P,slide:O,left:nb,right:ob,up:pb,down:qb,prev:rb,next:sb,navigateFragment:gb,prevFragment:ib,nextFragment:hb,navigateTo:O,navigateLeft:nb,navigateRight:ob,navigateUp:pb,navigateDown:qb,navigatePrev:rb,navigateNext:sb,layout:A,availableRoutes:Z,availableFragments:$,toggleOverview:G,togglePause:M,isOverview:H,isPaused:N,addEventListeners:i,removeEventListeners:j,getIndices:eb,getSlide:function(a,b){var c=document.querySelectorAll(Yb)[a],d=c&&c.querySelectorAll("section");
|
9
|
-
return"undefined"!=typeof b?d?d[b]:void 0:c},getPreviousSlide:function(){return Sb},getCurrentSlide:function(){return Tb},getScale:function(){return cc},getConfig:function(){return _b},getQueryHash:function(){var a={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,function(b){a[b.split("=").shift()]=b.split("=").pop()});for(var b in a){var c=a[b];a[b]=unescape(c),"null"===c?a[b]=null:"true"===c?a[b]=!0:"false"===c?a[b]=!1:c.match(/^\d+$/)&&(a[b]=parseFloat(c))}return a},isFirstSlide:function(){return null==document.querySelector(Xb+".past")?!0:!1},isLastSlide:function(){return Tb?Tb.nextElementSibling?!1:I(Tb)&&Tb.parentNode.nextElementSibling?!1:!0:!1},isReady:function(){return ac},addEventListener:function(a,b,c){"addEventListener"in window&&(dc.wrapper||document.querySelector(".reveal")).addEventListener(a,b,c)},removeEventListener:function(a,b,c){"addEventListener"in window&&(dc.wrapper||document.querySelector(".reveal")).removeEventListener(a,b,c)}}}();
|
8
|
+
!function(a,b){"function"==typeof define&&define.amd?define(function(){return a.Reveal=b(),a.Reveal}):"object"==typeof exports?module.exports=b():a.Reveal=b()}(this,function(){"use strict";function a(a){if(b(),Jb.transforms2d||Jb.transforms3d){Ib.wrapper=document.querySelector(".reveal"),Ib.slides=document.querySelector(".reveal .slides"),window.addEventListener("load",L,!1);var d=qb.getQueryHash();"undefined"!=typeof d.dependencies&&delete d.dependencies,p(Cb,a),p(Cb,d),B(),c()}else{document.body.setAttribute("class","no-transforms");for(var e=q(document.getElementsByTagName("img")),f=q(document.getElementsByTagName("iframe")),g=e.concat(f),h=0,i=g.length;i>h;h++){var j=g[h];j.getAttribute("data-src")&&(j.setAttribute("src",j.getAttribute("data-src")),j.removeAttribute("data-src"))}}}function b(){Jb.transforms3d="WebkitPerspective"in document.body.style||"MozPerspective"in document.body.style||"msPerspective"in document.body.style||"OPerspective"in document.body.style||"perspective"in document.body.style,Jb.transforms2d="WebkitTransform"in document.body.style||"MozTransform"in document.body.style||"msTransform"in document.body.style||"OTransform"in document.body.style||"transform"in document.body.style,Jb.requestAnimationFrameMethod=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,Jb.requestAnimationFrame="function"==typeof Jb.requestAnimationFrameMethod,Jb.canvas=!!document.createElement("canvas").getContext,Jb.touch=!!("ontouchstart"in window),Jb.overviewTransitions=!/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),wb=/(iphone|ipod|ipad|android)/gi.test(navigator.userAgent)}function c(){function a(){e.length&&head.js.apply(null,e),d()}function b(b){head.ready(b.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],function(){"function"==typeof b.callback&&b.callback.apply(this),0===--f&&a()})}for(var c=[],e=[],f=0,g=0,h=Cb.dependencies.length;h>g;g++){var i=Cb.dependencies[g];(!i.condition||i.condition())&&(i.async?e.push(i.src):c.push(i.src),b(i))}c.length?(f=c.length,head.js.apply(null,c)):a()}function d(){e(),l(),h(),ea(),m(),ya(),la(!0),setTimeout(function(){Ib.slides.classList.remove("no-transition"),Db=!0,D("ready",{indexh:rb,indexv:sb,currentSlide:ub})},1),A()&&(o(),"complete"===document.readyState?g():window.addEventListener("load",g))}function e(){Ib.slides.classList.add("no-transition"),Ib.background=i(Ib.wrapper,"div","backgrounds",null),Ib.progress=i(Ib.wrapper,"div","progress","<span></span>"),Ib.progressbar=Ib.progress.querySelector("span"),i(Ib.wrapper,"aside","controls",'<div class="navigate-left"></div><div class="navigate-right"></div><div class="navigate-up"></div><div class="navigate-down"></div>'),Ib.slideNumber=i(Ib.wrapper,"div","slide-number",""),i(Ib.wrapper,"div","pause-overlay",null),Ib.controls=document.querySelector(".reveal .controls"),Ib.theme=document.querySelector("#theme"),Ib.wrapper.setAttribute("role","application"),Ib.controlsLeft=q(document.querySelectorAll(".navigate-left")),Ib.controlsRight=q(document.querySelectorAll(".navigate-right")),Ib.controlsUp=q(document.querySelectorAll(".navigate-up")),Ib.controlsDown=q(document.querySelectorAll(".navigate-down")),Ib.controlsPrev=q(document.querySelectorAll(".navigate-prev")),Ib.controlsNext=q(document.querySelectorAll(".navigate-next")),Ib.statusDiv=f()}function f(){var a=document.getElementById("aria-status-div");return a||(a=document.createElement("div"),a.style.position="absolute",a.style.height="1px",a.style.width="1px",a.style.overflow="hidden",a.style.clip="rect( 1px, 1px, 1px, 1px )",a.setAttribute("id","aria-status-div"),a.setAttribute("aria-live","polite"),a.setAttribute("aria-atomic","true"),Ib.wrapper.appendChild(a)),a}function g(){var a=N(window.innerWidth,window.innerHeight),b=Math.floor(a.width*(1+Cb.margin)),c=Math.floor(a.height*(1+Cb.margin)),d=a.width,e=a.height;v("@page{size:"+b+"px "+c+"px; margin: 0;}"),v(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+d+"px; max-height:"+e+"px}"),document.body.classList.add("print-pdf"),document.body.style.width=b+"px",document.body.style.height=c+"px",q(Ib.wrapper.querySelectorAll(yb)).forEach(function(a){if(a.classList.contains("stack")===!1){var f=(b-d)/2,g=(c-e)/2,h=y(a),i=Math.max(Math.ceil(h/c),1);(1===i&&Cb.center||a.classList.contains("center"))&&(g=Math.max((c-h)/2,0)),a.style.left=f+"px",a.style.top=g+"px",a.style.width=d+"px";var j=a.querySelector(".slide-background");j&&(j.style.width=b+"px",j.style.height=c*i+"px",j.style.top=-g+"px",j.style.left=-f+"px")}}),q(Ib.wrapper.querySelectorAll(yb+" .fragment")).forEach(function(a){a.classList.add("visible")})}function h(){Ib.slides.querySelector("iframe")&&setInterval(function(){(0!==Ib.wrapper.scrollTop||0!==Ib.wrapper.scrollLeft)&&(Ib.wrapper.scrollTop=0,Ib.wrapper.scrollLeft=0)},500)}function i(a,b,c,d){for(var e=a.querySelectorAll("."+c),f=0;f<e.length;f++){var g=e[f];if(g.parentNode===a)return g}var h=document.createElement(b);return h.classList.add(c),"string"==typeof d&&(h.innerHTML=d),a.appendChild(h),h}function j(){var a=A();Ib.background.innerHTML="",Ib.background.classList.add("no-transition"),q(Ib.wrapper.querySelectorAll(zb)).forEach(function(b){var c;c=a?k(b,b):k(b,Ib.background),q(b.querySelectorAll("section")).forEach(function(b){a?k(b,b):k(b,c),c.classList.add("stack")})}),Cb.parallaxBackgroundImage?(Ib.background.style.backgroundImage='url("'+Cb.parallaxBackgroundImage+'")',Ib.background.style.backgroundSize=Cb.parallaxBackgroundSize,setTimeout(function(){Ib.wrapper.classList.add("has-parallax-background")},1)):(Ib.background.style.backgroundImage="",Ib.wrapper.classList.remove("has-parallax-background"))}function k(a,b){var c={background:a.getAttribute("data-background"),backgroundSize:a.getAttribute("data-background-size"),backgroundImage:a.getAttribute("data-background-image"),backgroundVideo:a.getAttribute("data-background-video"),backgroundIframe:a.getAttribute("data-background-iframe"),backgroundColor:a.getAttribute("data-background-color"),backgroundRepeat:a.getAttribute("data-background-repeat"),backgroundPosition:a.getAttribute("data-background-position"),backgroundTransition:a.getAttribute("data-background-transition")},d=document.createElement("div");d.className="slide-background "+a.className.replace(/present|past|future/,""),c.background&&(/^(http|file|\/\/)/gi.test(c.background)||/\.(svg|png|jpg|jpeg|gif|bmp)$/gi.test(c.background)?a.setAttribute("data-background-image",c.background):d.style.background=c.background),(c.background||c.backgroundColor||c.backgroundImage||c.backgroundVideo||c.backgroundIframe)&&d.setAttribute("data-background-hash",c.background+c.backgroundSize+c.backgroundImage+c.backgroundVideo+c.backgroundIframe+c.backgroundColor+c.backgroundRepeat+c.backgroundPosition+c.backgroundTransition),c.backgroundSize&&(d.style.backgroundSize=c.backgroundSize),c.backgroundColor&&(d.style.backgroundColor=c.backgroundColor),c.backgroundRepeat&&(d.style.backgroundRepeat=c.backgroundRepeat),c.backgroundPosition&&(d.style.backgroundPosition=c.backgroundPosition),c.backgroundTransition&&d.setAttribute("data-background-transition",c.backgroundTransition),b.appendChild(d),a.classList.remove("has-dark-background"),a.classList.remove("has-light-background");var e=window.getComputedStyle(d).backgroundColor;if(e){var f=w(e);f&&0!==f.a&&(x(e)<128?a.classList.add("has-dark-background"):a.classList.add("has-light-background"))}return d}function l(){Cb.postMessage&&window.addEventListener("message",function(a){var b=a.data;"string"==typeof b&&"{"===b.charAt(0)&&"}"===b.charAt(b.length-1)&&(b=JSON.parse(b),b.method&&"function"==typeof qb[b.method]&&qb[b.method].apply(qb,b.args))},!1)}function m(a){var b=Ib.wrapper.querySelectorAll(yb).length;Ib.wrapper.classList.remove(Cb.transition),"object"==typeof a&&p(Cb,a),Jb.transforms3d===!1&&(Cb.transition="linear"),Ib.wrapper.classList.add(Cb.transition),Ib.wrapper.setAttribute("data-transition-speed",Cb.transitionSpeed),Ib.wrapper.setAttribute("data-background-transition",Cb.backgroundTransition),Ib.controls.style.display=Cb.controls?"block":"none",Ib.progress.style.display=Cb.progress?"block":"none",Cb.rtl?Ib.wrapper.classList.add("rtl"):Ib.wrapper.classList.remove("rtl"),Cb.center?Ib.wrapper.classList.add("center"):Ib.wrapper.classList.remove("center"),Cb.pause===!1&&Z(),Cb.mouseWheel?(document.addEventListener("DOMMouseScroll",bb,!1),document.addEventListener("mousewheel",bb,!1)):(document.removeEventListener("DOMMouseScroll",bb,!1),document.removeEventListener("mousewheel",bb,!1)),Cb.rollingLinks?E():F(),Cb.previewLinks?G():(H(),G("[data-preview-link]")),xb&&(xb.destroy(),xb=null),b>1&&Cb.autoSlide&&Cb.autoSlideStoppable&&Jb.canvas&&Jb.requestAnimationFrame&&(xb=new pb(Ib.wrapper,function(){return Math.min(Math.max((Date.now()-Pb)/Nb,0),1)}),xb.on("click",ob),Qb=!1),Cb.fragments===!1&&q(Ib.slides.querySelectorAll(".fragment")).forEach(function(a){a.classList.add("visible"),a.classList.remove("current-fragment")}),da()}function n(){if(Mb=!0,window.addEventListener("hashchange",jb,!1),window.addEventListener("resize",kb,!1),Cb.touch&&(Ib.wrapper.addEventListener("touchstart",Xa,!1),Ib.wrapper.addEventListener("touchmove",Ya,!1),Ib.wrapper.addEventListener("touchend",Za,!1),window.navigator.pointerEnabled?(Ib.wrapper.addEventListener("pointerdown",$a,!1),Ib.wrapper.addEventListener("pointermove",_a,!1),Ib.wrapper.addEventListener("pointerup",ab,!1)):window.navigator.msPointerEnabled&&(Ib.wrapper.addEventListener("MSPointerDown",$a,!1),Ib.wrapper.addEventListener("MSPointerMove",_a,!1),Ib.wrapper.addEventListener("MSPointerUp",ab,!1))),Cb.keyboard&&(document.addEventListener("keydown",Wa,!1),document.addEventListener("keypress",Va,!1)),Cb.progress&&Ib.progress&&Ib.progress.addEventListener("click",cb,!1),Cb.focusBodyOnPageVisibilityChange){var a;"hidden"in document?a="visibilitychange":"msHidden"in document?a="msvisibilitychange":"webkitHidden"in document&&(a="webkitvisibilitychange"),a&&document.addEventListener(a,lb,!1)}var b=["touchstart","click"];navigator.userAgent.match(/android/gi)&&(b=["touchstart"]),b.forEach(function(a){Ib.controlsLeft.forEach(function(b){b.addEventListener(a,db,!1)}),Ib.controlsRight.forEach(function(b){b.addEventListener(a,eb,!1)}),Ib.controlsUp.forEach(function(b){b.addEventListener(a,fb,!1)}),Ib.controlsDown.forEach(function(b){b.addEventListener(a,gb,!1)}),Ib.controlsPrev.forEach(function(b){b.addEventListener(a,hb,!1)}),Ib.controlsNext.forEach(function(b){b.addEventListener(a,ib,!1)})})}function o(){Mb=!1,document.removeEventListener("keydown",Wa,!1),document.removeEventListener("keypress",Va,!1),window.removeEventListener("hashchange",jb,!1),window.removeEventListener("resize",kb,!1),Ib.wrapper.removeEventListener("touchstart",Xa,!1),Ib.wrapper.removeEventListener("touchmove",Ya,!1),Ib.wrapper.removeEventListener("touchend",Za,!1),window.navigator.pointerEnabled?(Ib.wrapper.removeEventListener("pointerdown",$a,!1),Ib.wrapper.removeEventListener("pointermove",_a,!1),Ib.wrapper.removeEventListener("pointerup",ab,!1)):window.navigator.msPointerEnabled&&(Ib.wrapper.removeEventListener("MSPointerDown",$a,!1),Ib.wrapper.removeEventListener("MSPointerMove",_a,!1),Ib.wrapper.removeEventListener("MSPointerUp",ab,!1)),Cb.progress&&Ib.progress&&Ib.progress.removeEventListener("click",cb,!1),["touchstart","click"].forEach(function(a){Ib.controlsLeft.forEach(function(b){b.removeEventListener(a,db,!1)}),Ib.controlsRight.forEach(function(b){b.removeEventListener(a,eb,!1)}),Ib.controlsUp.forEach(function(b){b.removeEventListener(a,fb,!1)}),Ib.controlsDown.forEach(function(b){b.removeEventListener(a,gb,!1)}),Ib.controlsPrev.forEach(function(b){b.removeEventListener(a,hb,!1)}),Ib.controlsNext.forEach(function(b){b.removeEventListener(a,ib,!1)})})}function p(a,b){for(var c in b)a[c]=b[c]}function q(a){return Array.prototype.slice.call(a)}function r(a){if("string"==typeof a){if("null"===a)return null;if("true"===a)return!0;if("false"===a)return!1;if(a.match(/^\d+$/))return parseFloat(a)}return a}function s(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function t(a,b){a.style.WebkitTransform=b,a.style.MozTransform=b,a.style.msTransform=b,a.style.transform=b}function u(a){"string"==typeof a.layout&&(Hb.layout=a.layout),"string"==typeof a.overview&&(Hb.overview=a.overview),Hb.layout?t(Ib.slides,Hb.layout+" "+Hb.overview):t(Ib.slides,Hb.overview)}function v(a){var b=document.createElement("style");b.type="text/css",b.styleSheet?b.styleSheet.cssText=a:b.appendChild(document.createTextNode(a)),document.getElementsByTagName("head")[0].appendChild(b)}function w(a){var b=a.match(/^#([0-9a-f]{3})$/i);if(b&&b[1])return b=b[1],{r:17*parseInt(b.charAt(0),16),g:17*parseInt(b.charAt(1),16),b:17*parseInt(b.charAt(2),16)};var c=a.match(/^#([0-9a-f]{6})$/i);if(c&&c[1])return c=c[1],{r:parseInt(c.substr(0,2),16),g:parseInt(c.substr(2,2),16),b:parseInt(c.substr(4,2),16)};var d=a.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(d)return{r:parseInt(d[1],10),g:parseInt(d[2],10),b:parseInt(d[3],10)};var e=a.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return e?{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10),a:parseFloat(e[4])}:null}function x(a){return"string"==typeof a&&(a=w(a)),a?(299*a.r+587*a.g+114*a.b)/1e3:null}function y(a){var b=0;if(a){var c=0;q(a.childNodes).forEach(function(a){"number"==typeof a.offsetTop&&a.style&&("absolute"===window.getComputedStyle(a).position&&(c+=1),b=Math.max(b,a.offsetTop+a.offsetHeight))}),0===c&&(b=a.offsetHeight)}return b}function z(a,b){if(b=b||0,a){var c,d=a.style.height;return a.style.height="0px",c=b-a.parentNode.offsetHeight,a.style.height=d+"px",c}return b}function A(){return/print-pdf/gi.test(window.location.search)}function B(){Cb.hideAddressBar&&wb&&(window.addEventListener("load",C,!1),window.addEventListener("orientationchange",C,!1))}function C(){setTimeout(function(){window.scrollTo(0,1)},10)}function D(a,b){var c=document.createEvent("HTMLEvents",1,2);c.initEvent(a,!0,!0),p(c,b),Ib.wrapper.dispatchEvent(c),Cb.postMessageEvents&&window.parent!==window.self&&window.parent.postMessage(JSON.stringify({namespace:"reveal",eventName:a,state:Ea()}),"*")}function E(){if(Jb.transforms3d&&!("msPerspective"in document.body.style))for(var a=Ib.wrapper.querySelectorAll(yb+" a"),b=0,c=a.length;c>b;b++){var d=a[b];if(d.textContent&&!d.querySelector("*")&&(!d.className||!d.classList.contains(d,"roll"))){var e=document.createElement("span");e.setAttribute("data-title",d.text),e.innerHTML=d.innerHTML,d.classList.add("roll"),d.innerHTML="",d.appendChild(e)}}}function F(){for(var a=Ib.wrapper.querySelectorAll(yb+" a.roll"),b=0,c=a.length;c>b;b++){var d=a[b],e=d.querySelector("span");e&&(d.classList.remove("roll"),d.innerHTML=e.innerHTML)}}function G(a){var b=q(document.querySelectorAll(a?a:"a"));b.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.addEventListener("click",nb,!1)})}function H(){var a=q(document.querySelectorAll("a"));a.forEach(function(a){/^(http|www)/gi.test(a.getAttribute("href"))&&a.removeEventListener("click",nb,!1)})}function I(a){K(),Ib.overlay=document.createElement("div"),Ib.overlay.classList.add("overlay"),Ib.overlay.classList.add("overlay-preview"),Ib.wrapper.appendChild(Ib.overlay),Ib.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>','<a class="external" href="'+a+'" target="_blank"><span class="icon"></span></a>',"</header>",'<div class="spinner"></div>','<div class="viewport">','<iframe src="'+a+'"></iframe>',"</div>"].join(""),Ib.overlay.querySelector("iframe").addEventListener("load",function(a){Ib.overlay.classList.add("loaded")},!1),Ib.overlay.querySelector(".close").addEventListener("click",function(a){K(),a.preventDefault()},!1),Ib.overlay.querySelector(".external").addEventListener("click",function(a){K()},!1),setTimeout(function(){Ib.overlay.classList.add("visible")},1)}function J(){if(Cb.help){K(),Ib.overlay=document.createElement("div"),Ib.overlay.classList.add("overlay"),Ib.overlay.classList.add("overlay-help"),Ib.wrapper.appendChild(Ib.overlay);var a='<p class="title">Keyboard Shortcuts</p><br/>';a+="<table><th>KEY</th><th>ACTION</th>";for(var b in Sb)a+="<tr><td>"+b+"</td><td>"+Sb[b]+"</td></tr>";a+="</table>",Ib.overlay.innerHTML=["<header>",'<a class="close" href="#"><span class="icon"></span></a>',"</header>",'<div class="viewport">','<div class="viewport-inner">'+a+"</div>","</div>"].join(""),Ib.overlay.querySelector(".close").addEventListener("click",function(a){K(),a.preventDefault()},!1),setTimeout(function(){Ib.overlay.classList.add("visible")},1)}}function K(){Ib.overlay&&(Ib.overlay.parentNode.removeChild(Ib.overlay),Ib.overlay=null)}function L(){if(Ib.wrapper&&!A()){var a=N(),b=20;M(Cb.width,Cb.height,b),Ib.slides.style.width=a.width+"px",Ib.slides.style.height=a.height+"px",Gb=Math.min(a.presentationWidth/a.width,a.presentationHeight/a.height),Gb=Math.max(Gb,Cb.minScale),Gb=Math.min(Gb,Cb.maxScale),1===Gb?(Ib.slides.style.zoom="",Ib.slides.style.left="",Ib.slides.style.top="",Ib.slides.style.bottom="",Ib.slides.style.right="",u({layout:""})):!wb&&/chrome/i.test(navigator.userAgent)&&"undefined"!=typeof Ib.slides.style.zoom?(Ib.slides.style.zoom=Gb,u({layout:""})):(Ib.slides.style.left="50%",Ib.slides.style.top="50%",Ib.slides.style.bottom="auto",Ib.slides.style.right="auto",u({layout:"translate(-50%, -50%) scale("+Gb+")"}));for(var c=q(Ib.wrapper.querySelectorAll(yb)),d=0,e=c.length;e>d;d++){var f=c[d];"none"!==f.style.display&&(Cb.center||f.classList.contains("center")?f.classList.contains("stack")?f.style.top=0:f.style.top=Math.max((a.height-y(f))/2-b,0)+"px":f.style.top="")}ia(),ma()}}function M(a,b,c){q(Ib.slides.querySelectorAll("section > .stretch")).forEach(function(c){var d=z(c,b);if(/(img|video)/gi.test(c.nodeName)){var e=c.naturalWidth||c.videoWidth,f=c.naturalHeight||c.videoHeight,g=Math.min(a/e,d/f);c.style.width=e*g+"px",c.style.height=f*g+"px"}else c.style.width=a+"px",c.style.height=d+"px"})}function N(a,b){var c={width:Cb.width,height:Cb.height,presentationWidth:a||Ib.wrapper.offsetWidth,presentationHeight:b||Ib.wrapper.offsetHeight};return c.presentationWidth-=c.presentationWidth*Cb.margin,c.presentationHeight-=c.presentationHeight*Cb.margin,"string"==typeof c.width&&/%$/.test(c.width)&&(c.width=parseInt(c.width,10)/100*c.presentationWidth),"string"==typeof c.height&&/%$/.test(c.height)&&(c.height=parseInt(c.height,10)/100*c.presentationHeight),c}function O(a,b){"object"==typeof a&&"function"==typeof a.setAttribute&&a.setAttribute("data-previous-indexv",b||0)}function P(a){if("object"==typeof a&&"function"==typeof a.setAttribute&&a.classList.contains("stack")){var b=a.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(a.getAttribute(b)||0,10)}return 0}function Q(){Cb.overview&&!V()&&(Eb=!0,Ib.wrapper.classList.add("overview"),Ib.wrapper.classList.remove("overview-deactivating"),Jb.overviewTransitions&&setTimeout(function(){Ib.wrapper.classList.add("overview-animated")},1),La(),Ib.slides.appendChild(Ib.background),q(Ib.wrapper.querySelectorAll(yb)).forEach(function(a){a.classList.contains("stack")||a.addEventListener("click",mb,!0)}),ha(),R(),S(),L(),D("overviewshown",{indexh:rb,indexv:sb,currentSlide:ub}))}function R(){var a=70,b=Cb.width+a,c=Cb.height+a;Cb.rtl&&(b=-b),q(Ib.wrapper.querySelectorAll(zb)).forEach(function(a,d){a.setAttribute("data-index-h",d),t(a,"translate3d("+d*b+"px, 0, 0)"),a.classList.contains("stack")&&q(a.querySelectorAll("section")).forEach(function(a,b){a.setAttribute("data-index-h",d),a.setAttribute("data-index-v",b),t(a,"translate3d(0, "+b*c+"px, 0)")})}),q(Ib.background.childNodes).forEach(function(a,d){t(a,"translate3d("+d*b+"px, 0, 0)"),q(a.querySelectorAll(".slide-background")).forEach(function(a,b){t(a,"translate3d(0, "+b*c+"px, 0)")})})}function S(){var a=70,b=Cb.width+a,c=Cb.height+a;Cb.rtl&&(b=-b),u({overview:["translateX("+-rb*b+"px)","translateY("+-sb*c+"px)","translateZ("+(window.innerWidth<400?-1e3:-2500)+"px)"].join(" ")})}function T(){Cb.overview&&(Eb=!1,Ib.wrapper.classList.remove("overview"),Ib.wrapper.classList.remove("overview-animated"),Ib.wrapper.classList.add("overview-deactivating"),setTimeout(function(){Ib.wrapper.classList.remove("overview-deactivating")},1),Ib.wrapper.appendChild(Ib.background),q(Ib.wrapper.querySelectorAll(yb)).forEach(function(a){t(a,""),a.removeEventListener("click",mb,!0)}),q(Ib.background.querySelectorAll(".slide-background")).forEach(function(a){t(a,"")}),u({overview:""}),ca(rb,sb),L(),Ka(),D("overviewhidden",{indexh:rb,indexv:sb,currentSlide:ub}))}function U(a){"boolean"==typeof a?a?Q():T():V()?T():Q()}function V(){return Eb}function W(a){return a=a?a:ub,a&&a.parentNode&&!!a.parentNode.nodeName.match(/section/i)}function X(){var a=document.body,b=a.requestFullScreen||a.webkitRequestFullscreen||a.webkitRequestFullScreen||a.mozRequestFullScreen||a.msRequestFullscreen;b&&b.apply(a)}function Y(){if(Cb.pause){var a=Ib.wrapper.classList.contains("paused");La(),Ib.wrapper.classList.add("paused"),a===!1&&D("paused")}}function Z(){var a=Ib.wrapper.classList.contains("paused");Ib.wrapper.classList.remove("paused"),Ka(),a&&D("resumed")}function $(a){"boolean"==typeof a?a?Y():Z():_()?Z():Y()}function _(){return Ib.wrapper.classList.contains("paused")}function aa(a){"boolean"==typeof a?a?Na():Ma():Qb?Na():Ma()}function ba(){return!(!Nb||Qb)}function ca(a,b,c,d){tb=ub;var e=Ib.wrapper.querySelectorAll(zb);void 0!==b||V()||(b=P(e[a])),tb&&tb.parentNode&&tb.parentNode.classList.contains("stack")&&O(tb.parentNode,sb);var f=Fb.concat();Fb.length=0;var g=rb||0,h=sb||0;rb=ga(zb,void 0===a?rb:a),sb=ga(Ab,void 0===b?sb:b),ha(),L();a:for(var i=0,j=Fb.length;j>i;i++){for(var k=0;k<f.length;k++)if(f[k]===Fb[i]){f.splice(k,1);continue a}document.documentElement.classList.add(Fb[i]),D(Fb[i])}for(;f.length;)document.documentElement.classList.remove(f.pop());V()&&S();var l=e[rb],m=l.querySelectorAll("section");ub=m[sb]||l,"undefined"!=typeof c&&Ha(c);var n=rb!==g||sb!==h;n?D("slidechanged",{indexh:rb,indexv:sb,previousSlide:tb,currentSlide:ub,origin:d}):tb=null,tb&&(tb.classList.remove("present"),tb.setAttribute("aria-hidden","true"),Ib.wrapper.querySelector(Bb).classList.contains("present")&&setTimeout(function(){var a,b=q(Ib.wrapper.querySelectorAll(zb+".stack"));for(a in b)b[a]&&O(b[a],0)},0)),(n||!tb)&&(ua(tb),sa(ub)),Ib.statusDiv.textContent=ub.textContent,ka(),ia(),la(),ma(),ja(),za(),Ka()}function da(){o(),n(),L(),Nb=Cb.autoSlide,Ka(),j(),za(),fa(),ka(),ia(),la(!0),ja(),ha(),ra(),sa(ub),V()&&R()}function ea(){var a=q(Ib.wrapper.querySelectorAll(zb));a.forEach(function(a){var b=q(a.querySelectorAll("section"));b.forEach(function(a,b){b>0&&(a.classList.remove("present"),a.classList.remove("past"),a.classList.add("future"),a.setAttribute("aria-hidden","true"))})})}function fa(){var a=q(Ib.wrapper.querySelectorAll(zb));a.forEach(function(a){var b=q(a.querySelectorAll("section"));b.forEach(function(a,b){Ga(a.querySelectorAll(".fragment"))}),0===b.length&&Ga(a.querySelectorAll(".fragment"))})}function ga(a,b){var c=q(Ib.wrapper.querySelectorAll(a)),d=c.length,e=A();if(d){Cb.loop&&(b%=d,0>b&&(b=d+b)),b=Math.max(Math.min(b,d-1),0);for(var f=0;d>f;f++){var g=c[f],h=Cb.rtl&&!W(g);if(g.classList.remove("past"),g.classList.remove("present"),g.classList.remove("future"),g.setAttribute("hidden",""),g.setAttribute("aria-hidden","true"),g.querySelector("section")&&g.classList.add("stack"),e)g.classList.add("present");else if(b>f){if(g.classList.add(h?"future":"past"),Cb.fragments)for(var i=q(g.querySelectorAll(".fragment"));i.length;){var j=i.pop();j.classList.add("visible"),j.classList.remove("current-fragment")}}else if(f>b&&(g.classList.add(h?"past":"future"),Cb.fragments))for(var k=q(g.querySelectorAll(".fragment.visible"));k.length;){var l=k.pop();l.classList.remove("visible"),l.classList.remove("current-fragment")}}c[b].classList.add("present"),c[b].removeAttribute("hidden"),c[b].removeAttribute("aria-hidden");var m=c[b].getAttribute("data-state");m&&(Fb=Fb.concat(m.split(" ")))}else b=0;return b}function ha(){var a,b,c=q(Ib.wrapper.querySelectorAll(zb)),d=c.length;if(d&&"undefined"!=typeof rb){var e=V()?10:Cb.viewDistance;wb&&(e=V()?6:2),A()&&(e=Number.MAX_VALUE);for(var f=0;d>f;f++){var g=c[f],h=q(g.querySelectorAll("section")),i=h.length;if(a=Math.abs((rb||0)-f)||0,Cb.loop&&(a=Math.abs(((rb||0)-f)%(d-e))||0),e>a?na(g):oa(g),i)for(var j=P(g),k=0;i>k;k++){var l=h[k];b=f===(rb||0)?Math.abs((sb||0)-k):Math.abs(k-j),e>a+b?na(l):oa(l)}}}}function ia(){Cb.progress&&Ib.progressbar&&(Ib.progressbar.style.width=wa()*Ib.wrapper.offsetWidth+"px")}function ja(){if(Cb.slideNumber&&Ib.slideNumber){var a="c";"string"==typeof Cb.slideNumber&&(a=Cb.slideNumber),Ib.slideNumber.innerHTML=a.replace(/h/g,rb).replace(/v/g,sb).replace(/c/g,va()+1).replace(/t/g,Ba())}}function ka(){var a=pa(),b=qa();Ib.controlsLeft.concat(Ib.controlsRight).concat(Ib.controlsUp).concat(Ib.controlsDown).concat(Ib.controlsPrev).concat(Ib.controlsNext).forEach(function(a){a.classList.remove("enabled"),a.classList.remove("fragmented")}),a.left&&Ib.controlsLeft.forEach(function(a){a.classList.add("enabled")}),a.right&&Ib.controlsRight.forEach(function(a){a.classList.add("enabled")}),a.up&&Ib.controlsUp.forEach(function(a){a.classList.add("enabled")}),a.down&&Ib.controlsDown.forEach(function(a){a.classList.add("enabled")}),(a.left||a.up)&&Ib.controlsPrev.forEach(function(a){a.classList.add("enabled")}),(a.right||a.down)&&Ib.controlsNext.forEach(function(a){a.classList.add("enabled")}),ub&&(b.prev&&Ib.controlsPrev.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ib.controlsNext.forEach(function(a){a.classList.add("fragmented","enabled")}),W(ub)?(b.prev&&Ib.controlsUp.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ib.controlsDown.forEach(function(a){a.classList.add("fragmented","enabled")})):(b.prev&&Ib.controlsLeft.forEach(function(a){a.classList.add("fragmented","enabled")}),b.next&&Ib.controlsRight.forEach(function(a){a.classList.add("fragmented","enabled")})))}function la(a){var b=null,c=Cb.rtl?"future":"past",d=Cb.rtl?"past":"future";if(q(Ib.background.childNodes).forEach(function(e,f){e.classList.remove("past"),e.classList.remove("present"),e.classList.remove("future"),rb>f?e.classList.add(c):f>rb?e.classList.add(d):(e.classList.add("present"),b=e),(a||f===rb)&&q(e.querySelectorAll(".slide-background")).forEach(function(a,c){a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),sb>c?a.classList.add("past"):c>sb?a.classList.add("future"):(a.classList.add("present"),f===rb&&(b=a))})}),vb){var e=vb.querySelector("video");e&&e.pause()}if(b){var f=b.querySelector("video");f&&(f.currentTime=0,f.play());var g=b.style.backgroundImage||"";/\.gif/i.test(g)&&(b.style.backgroundImage="",window.getComputedStyle(b).opacity,b.style.backgroundImage=g);var h=vb?vb.getAttribute("data-background-hash"):null,i=b.getAttribute("data-background-hash");i&&i===h&&b!==vb&&Ib.background.classList.add("no-transition"),vb=b}ub&&["has-light-background","has-dark-background"].forEach(function(a){ub.classList.contains(a)?Ib.wrapper.classList.add(a):Ib.wrapper.classList.remove(a)}),setTimeout(function(){Ib.background.classList.remove("no-transition")},1)}function ma(){if(Cb.parallaxBackgroundImage){var a,b,c=Ib.wrapper.querySelectorAll(zb),d=Ib.wrapper.querySelectorAll(Ab),e=Ib.background.style.backgroundSize.split(" ");1===e.length?a=b=parseInt(e[0],10):(a=parseInt(e[0],10),b=parseInt(e[1],10));var f,g,h=Ib.background.offsetWidth,i=c.length;f="number"==typeof Cb.parallaxBackgroundHorizontal?Cb.parallaxBackgroundHorizontal:(a-h)/(i-1),g=f*rb*-1;var j,k,l=Ib.background.offsetHeight,m=d.length;j="number"==typeof Cb.parallaxBackgroundVertical?Cb.parallaxBackgroundVertical:(b-l)/(m-1),k=m>0?j*sb*1:0,Ib.background.style.backgroundPosition=g+"px "+-k+"px"}}function na(a){a.style.display="block",q(a.querySelectorAll("img[data-src], video[data-src], audio[data-src]")).forEach(function(a){a.setAttribute("src",a.getAttribute("data-src")),a.removeAttribute("data-src")}),q(a.querySelectorAll("video, audio")).forEach(function(a){var b=0;q(a.querySelectorAll("source[data-src]")).forEach(function(a){a.setAttribute("src",a.getAttribute("data-src")),a.removeAttribute("data-src"),b+=1}),b>0&&a.load()});var b=Aa(a),c=Da(b.h,b.v);if(c&&(c.style.display="block",c.hasAttribute("data-loaded")===!1)){c.setAttribute("data-loaded","true");var d=a.getAttribute("data-background-image"),e=a.getAttribute("data-background-video"),f=a.hasAttribute("data-background-video-loop"),g=a.getAttribute("data-background-iframe");if(d)c.style.backgroundImage="url("+d+")";else if(e&&!xa()){var h=document.createElement("video");f&&h.setAttribute("loop",""),e.split(",").forEach(function(a){h.innerHTML+='<source src="'+a+'">'}),c.appendChild(h)}else if(g){var i=document.createElement("iframe");i.setAttribute("src",g),i.style.width="100%",i.style.height="100%",i.style.maxHeight="100%",i.style.maxWidth="100%",c.appendChild(i)}}}function oa(a){a.style.display="none";var b=Aa(a),c=Da(b.h,b.v);c&&(c.style.display="none")}function pa(){var a=Ib.wrapper.querySelectorAll(zb),b=Ib.wrapper.querySelectorAll(Ab),c={left:rb>0||Cb.loop,right:rb<a.length-1||Cb.loop,up:sb>0,down:sb<b.length-1};if(Cb.rtl){var d=c.left;c.left=c.right,c.right=d}return c}function qa(){if(ub&&Cb.fragments){var a=ub.querySelectorAll(".fragment"),b=ub.querySelectorAll(".fragment:not(.visible)");return{prev:a.length-b.length>0,next:!!b.length}}return{prev:!1,next:!1}}function ra(){var a=function(a,b,c){q(Ib.slides.querySelectorAll("iframe["+a+'*="'+b+'"]')).forEach(function(b){var d=b.getAttribute(a);d&&-1===d.indexOf(c)&&b.setAttribute(a,d+(/\?/.test(d)?"&":"?")+c)})};a("src","youtube.com/embed/","enablejsapi=1"),a("data-src","youtube.com/embed/","enablejsapi=1"),a("src","player.vimeo.com/","api=1"),a("data-src","player.vimeo.com/","api=1")}function sa(a){a&&!xa()&&(q(a.querySelectorAll('img[src$=".gif"]')).forEach(function(a){a.setAttribute("src",a.getAttribute("src"))}),q(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&"function"==typeof a.play&&a.play()}),q(a.querySelectorAll("iframe[src]")).forEach(function(a){ta({target:a})}),q(a.querySelectorAll("iframe[data-src]")).forEach(function(a){a.getAttribute("src")!==a.getAttribute("data-src")&&(a.removeEventListener("load",ta),a.addEventListener("load",ta),a.setAttribute("src",a.getAttribute("data-src")))}))}function ta(a){var b=a.target;/youtube\.com\/embed\//.test(b.getAttribute("src"))&&b.hasAttribute("data-autoplay")?b.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):/player\.vimeo\.com\//.test(b.getAttribute("src"))&&b.hasAttribute("data-autoplay")?b.contentWindow.postMessage('{"method":"play"}',"*"):b.contentWindow.postMessage("slide:start","*")}function ua(a){a&&a.parentNode&&(q(a.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.pause||a.pause()}),q(a.querySelectorAll("iframe")).forEach(function(a){a.contentWindow.postMessage("slide:stop","*"),a.removeEventListener("load",ta)}),q(a.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),q(a.querySelectorAll('iframe[src*="player.vimeo.com/"]')).forEach(function(a){a.hasAttribute("data-ignore")||"function"!=typeof a.contentWindow.postMessage||a.contentWindow.postMessage('{"method":"pause"}',"*")}),q(a.querySelectorAll("iframe[data-src]")).forEach(function(a){a.setAttribute("src","about:blank"),a.removeAttribute("src")}))}function va(){var a=q(Ib.wrapper.querySelectorAll(zb)),b=0;a:for(var c=0;c<a.length;c++){
|
9
|
+
for(var d=a[c],e=q(d.querySelectorAll("section")),f=0;f<e.length;f++){if(e[f].classList.contains("present"))break a;b++}if(d.classList.contains("present"))break;d.classList.contains("stack")===!1&&b++}return b}function wa(){var a=Ba(),b=va();if(ub){var c=ub.querySelectorAll(".fragment");if(c.length>0){var d=ub.querySelectorAll(".fragment.visible"),e=.9;b+=d.length/c.length*e}}return b/(a-1)}function xa(){return!!window.location.search.match(/receiver/gi)}function ya(){var a=window.location.hash,b=a.slice(2).split("/"),c=a.replace(/#|\//gi,"");if(isNaN(parseInt(b[0],10))&&c.length){var d;if(/^[a-zA-Z][\w:.-]*$/.test(c)&&(d=document.getElementById(c)),d){var e=qb.getIndices(d);ca(e.h,e.v)}else ca(rb||0,sb||0)}else{var f=parseInt(b[0],10)||0,g=parseInt(b[1],10)||0;(f!==rb||g!==sb)&&ca(f,g)}}function za(a){if(Cb.history)if(clearTimeout(Lb),"number"==typeof a)Lb=setTimeout(za,a);else if(ub){var b="/",c=ub.getAttribute("id");c&&(c=c.toLowerCase(),c=c.replace(/[^a-zA-Z0-9\-\_\:\.]/g,"")),"string"==typeof c&&c.length?b="/"+c:((rb>0||sb>0)&&(b+=rb),sb>0&&(b+="/"+sb)),window.location.hash=b}}function Aa(a){var b,c=rb,d=sb;if(a){var e=W(a),f=e?a.parentNode:a,g=q(Ib.wrapper.querySelectorAll(zb));c=Math.max(g.indexOf(f),0),d=void 0,e&&(d=Math.max(q(a.parentNode.querySelectorAll("section")).indexOf(a),0))}if(!a&&ub){var h=ub.querySelectorAll(".fragment").length>0;if(h){var i=ub.querySelector(".current-fragment");b=i&&i.hasAttribute("data-fragment-index")?parseInt(i.getAttribute("data-fragment-index"),10):ub.querySelectorAll(".fragment.visible").length-1}}return{h:c,v:d,f:b}}function Ba(){return Ib.wrapper.querySelectorAll(yb+":not(.stack)").length}function Ca(a,b){var c=Ib.wrapper.querySelectorAll(zb)[a],d=c&&c.querySelectorAll("section");return d&&d.length&&"number"==typeof b?d?d[b]:void 0:c}function Da(a,b){if(A()){var c=Ca(a,b);if(c){var d=c.querySelector(".slide-background");if(d&&d.parentNode===c)return d}return void 0}var e=Ib.wrapper.querySelectorAll(".backgrounds>.slide-background")[a],f=e&&e.querySelectorAll(".slide-background");return f&&f.length&&"number"==typeof b?f?f[b]:void 0:e}function Ea(){var a=Aa();return{indexh:a.h,indexv:a.v,indexf:a.f,paused:_(),overview:V()}}function Fa(a){if("object"==typeof a){ca(r(a.indexh),r(a.indexv),r(a.indexf));var b=r(a.paused),c=r(a.overview);"boolean"==typeof b&&b!==_()&&$(b),"boolean"==typeof c&&c!==V()&&U(c)}}function Ga(a){a=q(a);var b=[],c=[],d=[];a.forEach(function(a,d){if(a.hasAttribute("data-fragment-index")){var e=parseInt(a.getAttribute("data-fragment-index"),10);b[e]||(b[e]=[]),b[e].push(a)}else c.push([a])}),b=b.concat(c);var e=0;return b.forEach(function(a){a.forEach(function(a){d.push(a),a.setAttribute("data-fragment-index",e)}),e++}),d}function Ha(a,b){if(ub&&Cb.fragments){var c=Ga(ub.querySelectorAll(".fragment"));if(c.length){if("number"!=typeof a){var d=Ga(ub.querySelectorAll(".fragment.visible")).pop();a=d?parseInt(d.getAttribute("data-fragment-index")||0,10):-1}"number"==typeof b&&(a+=b);var e=[],f=[];return q(c).forEach(function(b,c){b.hasAttribute("data-fragment-index")&&(c=parseInt(b.getAttribute("data-fragment-index"),10)),a>=c?(b.classList.contains("visible")||e.push(b),b.classList.add("visible"),b.classList.remove("current-fragment"),Ib.statusDiv.textContent=b.textContent,c===a&&b.classList.add("current-fragment")):(b.classList.contains("visible")&&f.push(b),b.classList.remove("visible"),b.classList.remove("current-fragment"))}),f.length&&D("fragmenthidden",{fragment:f[0],fragments:f}),e.length&&D("fragmentshown",{fragment:e[0],fragments:e}),ka(),ia(),!(!e.length&&!f.length)}}return!1}function Ia(){return Ha(null,1)}function Ja(){return Ha(null,-1)}function Ka(){if(La(),ub){var a=ub.querySelector(".current-fragment"),b=a?a.getAttribute("data-autoslide"):null,c=ub.parentNode?ub.parentNode.getAttribute("data-autoslide"):null,d=ub.getAttribute("data-autoslide");Nb=b?parseInt(b,10):d?parseInt(d,10):c?parseInt(c,10):Cb.autoSlide,0===ub.querySelectorAll(".fragment").length&&q(ub.querySelectorAll("video, audio")).forEach(function(a){a.hasAttribute("data-autoplay")&&Nb&&1e3*a.duration>Nb&&(Nb=1e3*a.duration+1e3)}),!Nb||Qb||_()||V()||qb.isLastSlide()&&!qa().next&&Cb.loop!==!0||(Ob=setTimeout(Ta,Nb),Pb=Date.now()),xb&&xb.setPlaying(-1!==Ob)}}function La(){clearTimeout(Ob),Ob=-1}function Ma(){Nb&&!Qb&&(Qb=!0,D("autoslidepaused"),clearTimeout(Ob),xb&&xb.setPlaying(!1))}function Na(){Nb&&Qb&&(Qb=!1,D("autoslideresumed"),Ka())}function Oa(){Cb.rtl?(V()||Ia()===!1)&&pa().left&&ca(rb+1):(V()||Ja()===!1)&&pa().left&&ca(rb-1)}function Pa(){Cb.rtl?(V()||Ja()===!1)&&pa().right&&ca(rb-1):(V()||Ia()===!1)&&pa().right&&ca(rb+1)}function Qa(){(V()||Ja()===!1)&&pa().up&&ca(rb,sb-1)}function Ra(){(V()||Ia()===!1)&&pa().down&&ca(rb,sb+1)}function Sa(){if(Ja()===!1)if(pa().up)Qa();else{var a;if(a=Cb.rtl?q(Ib.wrapper.querySelectorAll(zb+".future")).pop():q(Ib.wrapper.querySelectorAll(zb+".past")).pop()){var b=a.querySelectorAll("section").length-1||void 0,c=rb-1;ca(c,b)}}}function Ta(){Ia()===!1&&(pa().down?Ra():Cb.rtl?Oa():Pa()),Ka()}function Ua(a){Cb.autoSlideStoppable&&Ma()}function Va(a){a.shiftKey&&63===a.charCode&&(Ib.overlay?K():J(!0))}function Wa(a){if("function"==typeof Cb.keyboardCondition&&Cb.keyboardCondition()===!1)return!0;var b=Qb;Ua(a);var c=document.activeElement&&"inherit"!==document.activeElement.contentEditable,d=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName);if(!(c||d||a.shiftKey&&32!==a.keyCode||a.altKey||a.ctrlKey||a.metaKey)){if(_()&&-1===[66,190,191].indexOf(a.keyCode))return!1;var e=!1;if("object"==typeof Cb.keyboard)for(var f in Cb.keyboard)if(parseInt(f,10)===a.keyCode){var g=Cb.keyboard[f];"function"==typeof g?g.apply(null,[a]):"string"==typeof g&&"function"==typeof qb[g]&&qb[g].call(),e=!0}if(e===!1)switch(e=!0,a.keyCode){case 80:case 33:Sa();break;case 78:case 34:Ta();break;case 72:case 37:Oa();break;case 76:case 39:Pa();break;case 75:case 38:Qa();break;case 74:case 40:Ra();break;case 36:ca(0);break;case 35:ca(Number.MAX_VALUE);break;case 32:V()?T():a.shiftKey?Sa():Ta();break;case 13:V()?T():e=!1;break;case 58:case 59:case 66:case 190:case 191:$();break;case 70:X();break;case 65:Cb.autoSlideStoppable&&aa(b);break;default:e=!1}e?a.preventDefault&&a.preventDefault():27!==a.keyCode&&79!==a.keyCode||!Jb.transforms3d||(Ib.overlay?K():U(),a.preventDefault&&a.preventDefault()),Ka()}}function Xa(a){Rb.startX=a.touches[0].clientX,Rb.startY=a.touches[0].clientY,Rb.startCount=a.touches.length,2===a.touches.length&&Cb.overview&&(Rb.startSpan=s({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:Rb.startX,y:Rb.startY}))}function Ya(a){if(Rb.captured)navigator.userAgent.match(/android/gi)&&a.preventDefault();else{Ua(a);var b=a.touches[0].clientX,c=a.touches[0].clientY;if(2===a.touches.length&&2===Rb.startCount&&Cb.overview){var d=s({x:a.touches[1].clientX,y:a.touches[1].clientY},{x:Rb.startX,y:Rb.startY});Math.abs(Rb.startSpan-d)>Rb.threshold&&(Rb.captured=!0,d<Rb.startSpan?Q():T()),a.preventDefault()}else if(1===a.touches.length&&2!==Rb.startCount){var e=b-Rb.startX,f=c-Rb.startY;e>Rb.threshold&&Math.abs(e)>Math.abs(f)?(Rb.captured=!0,Oa()):e<-Rb.threshold&&Math.abs(e)>Math.abs(f)?(Rb.captured=!0,Pa()):f>Rb.threshold?(Rb.captured=!0,Qa()):f<-Rb.threshold&&(Rb.captured=!0,Ra()),Cb.embedded?(Rb.captured||W(ub))&&a.preventDefault():a.preventDefault()}}}function Za(a){Rb.captured=!1}function $a(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Xa(a))}function _a(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Ya(a))}function ab(a){(a.pointerType===a.MSPOINTER_TYPE_TOUCH||"touch"===a.pointerType)&&(a.touches=[{clientX:a.clientX,clientY:a.clientY}],Za(a))}function bb(a){if(Date.now()-Kb>600){Kb=Date.now();var b=a.detail||-a.wheelDelta;b>0?Ta():Sa()}}function cb(a){Ua(a),a.preventDefault();var b=q(Ib.wrapper.querySelectorAll(zb)).length,c=Math.floor(a.clientX/Ib.wrapper.offsetWidth*b);Cb.rtl&&(c=b-c),ca(c)}function db(a){a.preventDefault(),Ua(),Oa()}function eb(a){a.preventDefault(),Ua(),Pa()}function fb(a){a.preventDefault(),Ua(),Qa()}function gb(a){a.preventDefault(),Ua(),Ra()}function hb(a){a.preventDefault(),Ua(),Sa()}function ib(a){a.preventDefault(),Ua(),Ta()}function jb(a){ya()}function kb(a){L()}function lb(a){var b=document.webkitHidden||document.msHidden||document.hidden;b===!1&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function mb(a){if(Mb&&V()){a.preventDefault();for(var b=a.target;b&&!b.nodeName.match(/section/gi);)b=b.parentNode;if(b&&!b.classList.contains("disabled")&&(T(),b.nodeName.match(/section/gi))){var c=parseInt(b.getAttribute("data-index-h"),10),d=parseInt(b.getAttribute("data-index-v"),10);ca(c,d)}}}function nb(a){if(a.currentTarget&&a.currentTarget.hasAttribute("href")){var b=a.currentTarget.getAttribute("href");b&&(I(b),a.preventDefault())}}function ob(a){qb.isLastSlide()&&Cb.loop===!1?(ca(0,0),Na()):Qb?Na():Ma()}function pb(a,b){this.diameter=50,this.thickness=3,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=a,this.progressCheck=b,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}var qb,rb,sb,tb,ub,vb,wb,xb,yb=".slides section",zb=".slides>section",Ab=".slides>section.present>section",Bb=".slides>section:first-of-type",Cb={width:960,height:700,margin:.1,minScale:.2,maxScale:1.5,controls:!0,progress:!0,slideNumber:!1,history:!1,keyboard:!0,keyboardCondition:null,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,embedded:!1,help:!0,pause:!0,autoSlide:0,autoSlideStoppable:!0,mouseWheel:!1,rollingLinks:!1,hideAddressBar:!0,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,viewDistance:3,dependencies:[]},Db=!1,Eb=!1,Fb=[],Gb=1,Hb={layout:"",overview:""},Ib={},Jb={},Kb=0,Lb=0,Mb=!1,Nb=0,Ob=0,Pb=-1,Qb=!1,Rb={startX:0,startY:0,startSpan:0,startCount:0,captured:!1,threshold:40},Sb={"N , SPACE":"Next slide",P:"Previous slide","← , H":"Navigate left","→ , L":"Navigate right","↑ , K":"Navigate up","↓ , J":"Navigate down",Home:"First slide",End:"Last slide","B , .":"Pause",F:"Fullscreen","ESC, O":"Slide overview"};return pb.prototype.setPlaying=function(a){var b=this.playing;this.playing=a,!b&&this.playing?this.animate():this.render()},pb.prototype.animate=function(){var a=this.progress;this.progress=this.progressCheck(),a>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&Jb.requestAnimationFrameMethod.call(window,this.animate.bind(this))},pb.prototype.render=function(){var a=this.playing?this.progress:0,b=this.diameter/2-this.thickness,c=this.diameter/2,d=this.diameter/2,e=14;this.progressOffset+=.1*(1-this.progressOffset);var f=-Math.PI/2+a*(2*Math.PI),g=-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(c,d,b+2,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(c,d,b,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#666",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(c,d,b,g,f,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(c-e/2,d-e/2),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,e/2-2,e),this.context.fillRect(e/2+2,0,e/2-2,e)):(this.context.beginPath(),this.context.translate(2,0),this.context.moveTo(0,0),this.context.lineTo(e-2,e/2),this.context.lineTo(0,e),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()},pb.prototype.on=function(a,b){this.canvas.addEventListener(a,b,!1)},pb.prototype.off=function(a,b){this.canvas.removeEventListener(a,b,!1)},pb.prototype.destroy=function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)},qb={initialize:a,configure:m,sync:da,slide:ca,left:Oa,right:Pa,up:Qa,down:Ra,prev:Sa,next:Ta,navigateFragment:Ha,prevFragment:Ja,nextFragment:Ia,navigateTo:ca,navigateLeft:Oa,navigateRight:Pa,navigateUp:Qa,navigateDown:Ra,navigatePrev:Sa,navigateNext:Ta,layout:L,availableRoutes:pa,availableFragments:qa,toggleOverview:U,togglePause:$,toggleAutoSlide:aa,isOverview:V,isPaused:_,isAutoSliding:ba,addEventListeners:n,removeEventListeners:o,getState:Ea,setState:Fa,getProgress:wa,getIndices:Aa,getTotalSlides:Ba,getSlide:Ca,getSlideBackground:Da,getPreviousSlide:function(){return tb},getCurrentSlide:function(){return ub},getScale:function(){return Gb},getConfig:function(){return Cb},getQueryHash:function(){var a={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,function(b){a[b.split("=").shift()]=b.split("=").pop()});for(var b in a){var c=a[b];a[b]=r(unescape(c))}return a},isFirstSlide:function(){return 0===rb&&0===sb},isLastSlide:function(){return ub?ub.nextElementSibling?!1:W(ub)&&ub.parentNode.nextElementSibling?!1:!0:!1},isReady:function(){return Db},addEventListener:function(a,b,c){"addEventListener"in window&&(Ib.wrapper||document.querySelector(".reveal")).addEventListener(a,b,c)},removeEventListener:function(a,b,c){"addEventListener"in window&&(Ib.wrapper||document.querySelector(".reveal")).removeEventListener(a,b,c)},triggerKey:function(a){Wa({keyCode:a})}}});
|
@@ -5,110 +5,113 @@ based on dark.css by Ivan Sagalaev
|
|
5
5
|
|
6
6
|
*/
|
7
7
|
|
8
|
-
|
8
|
+
.hljs {
|
9
9
|
display: block; padding: 0.5em;
|
10
10
|
background: #3F3F3F;
|
11
11
|
color: #DCDCDC;
|
12
12
|
}
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
14
|
+
.hljs-keyword,
|
15
|
+
.hljs-tag,
|
16
|
+
.css .hljs-class,
|
17
|
+
.css .hljs-id,
|
18
|
+
.lisp .hljs-title,
|
19
|
+
.nginx .hljs-title,
|
20
|
+
.hljs-request,
|
21
|
+
.hljs-status,
|
22
|
+
.clojure .hljs-attribute {
|
23
23
|
color: #E3CEAB;
|
24
24
|
}
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
.django .hljs-template_tag,
|
27
|
+
.django .hljs-variable,
|
28
|
+
.django .hljs-filter .hljs-argument {
|
29
29
|
color: #DCDCDC;
|
30
30
|
}
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
.hljs-number,
|
33
|
+
.hljs-date {
|
34
34
|
color: #8CD0D3;
|
35
35
|
}
|
36
36
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
.dos .hljs-envvar,
|
38
|
+
.dos .hljs-stream,
|
39
|
+
.hljs-variable,
|
40
|
+
.apache .hljs-sqbracket {
|
41
41
|
color: #EFDCBC;
|
42
42
|
}
|
43
43
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
44
|
+
.dos .hljs-flow,
|
45
|
+
.diff .hljs-change,
|
46
|
+
.python .exception,
|
47
|
+
.python .hljs-built_in,
|
48
|
+
.hljs-literal,
|
49
|
+
.tex .hljs-special {
|
50
50
|
color: #EFEFAF;
|
51
51
|
}
|
52
52
|
|
53
|
-
|
54
|
-
|
53
|
+
.diff .hljs-chunk,
|
54
|
+
.hljs-subst {
|
55
55
|
color: #8F8F8F;
|
56
56
|
}
|
57
57
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
58
|
+
.dos .hljs-keyword,
|
59
|
+
.python .hljs-decorator,
|
60
|
+
.hljs-title,
|
61
|
+
.haskell .hljs-type,
|
62
|
+
.diff .hljs-header,
|
63
|
+
.ruby .hljs-class .hljs-parent,
|
64
|
+
.apache .hljs-tag,
|
65
|
+
.nginx .hljs-built_in,
|
66
|
+
.tex .hljs-command,
|
67
|
+
.hljs-prompt {
|
68
68
|
color: #efef8f;
|
69
69
|
}
|
70
70
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
71
|
+
.dos .hljs-winutils,
|
72
|
+
.ruby .hljs-symbol,
|
73
|
+
.ruby .hljs-symbol .hljs-string,
|
74
|
+
.ruby .hljs-string {
|
75
75
|
color: #DCA3A3;
|
76
76
|
}
|
77
77
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
78
|
+
.diff .hljs-deletion,
|
79
|
+
.hljs-string,
|
80
|
+
.hljs-tag .hljs-value,
|
81
|
+
.hljs-preprocessor,
|
82
|
+
.hljs-pragma,
|
83
|
+
.hljs-built_in,
|
84
|
+
.sql .hljs-aggregate,
|
85
|
+
.hljs-javadoc,
|
86
|
+
.smalltalk .hljs-class,
|
87
|
+
.smalltalk .hljs-localvars,
|
88
|
+
.smalltalk .hljs-array,
|
89
|
+
.css .hljs-rules .hljs-value,
|
90
|
+
.hljs-attr_selector,
|
91
|
+
.hljs-pseudo,
|
92
|
+
.apache .hljs-cbracket,
|
93
|
+
.tex .hljs-formula,
|
94
|
+
.coffeescript .hljs-attribute {
|
93
95
|
color: #CC9393;
|
94
96
|
}
|
95
97
|
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
98
|
+
.hljs-shebang,
|
99
|
+
.diff .hljs-addition,
|
100
|
+
.hljs-comment,
|
101
|
+
.java .hljs-annotation,
|
102
|
+
.hljs-template_comment,
|
103
|
+
.hljs-pi,
|
104
|
+
.hljs-doctype {
|
103
105
|
color: #7F9F7F;
|
104
106
|
}
|
105
107
|
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
108
|
+
.coffeescript .javascript,
|
109
|
+
.javascript .xml,
|
110
|
+
.tex .hljs-formula,
|
111
|
+
.xml .javascript,
|
112
|
+
.xml .vbscript,
|
113
|
+
.xml .css,
|
114
|
+
.xml .hljs-cdata {
|
113
115
|
opacity: 0.5;
|
114
|
-
}
|
116
|
+
}
|
117
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: 'League Gothic';
|
3
|
+
src: url('league-gothic.eot');
|
4
|
+
src: url('league-gothic.eot?#iefix') format('embedded-opentype'),
|
5
|
+
url('league-gothic.woff') format('woff'),
|
6
|
+
url('league-gothic.ttf') format('truetype');
|
7
|
+
|
8
|
+
font-weight: normal;
|
9
|
+
font-style: normal;
|
10
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,45 @@
|
|
1
|
+
SIL Open Font License
|
2
|
+
|
3
|
+
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
|
4
|
+
|
5
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
6
|
+
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
7
|
+
|
8
|
+
—————————————————————————————-
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
10
|
+
—————————————————————————————-
|
11
|
+
|
12
|
+
PREAMBLE
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
|
14
|
+
|
15
|
+
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
|
16
|
+
|
17
|
+
DEFINITIONS
|
18
|
+
“Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
|
19
|
+
|
20
|
+
“Reserved Font Name” refers to any names specified as such after the copyright statement(s).
|
21
|
+
|
22
|
+
“Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s).
|
23
|
+
|
24
|
+
“Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
|
25
|
+
|
26
|
+
“Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
|
27
|
+
|
28
|
+
PERMISSION & CONDITIONS
|
29
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
|
30
|
+
|
31
|
+
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
|
32
|
+
|
33
|
+
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
|
34
|
+
|
35
|
+
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
|
36
|
+
|
37
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
|
38
|
+
|
39
|
+
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
|
40
|
+
|
41
|
+
TERMINATION
|
42
|
+
This license becomes null and void if any of the above conditions are not met.
|
43
|
+
|
44
|
+
DISCLAIMER
|
45
|
+
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
Binary file
|
@@ -0,0 +1,39 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: 'Source Sans Pro';
|
3
|
+
src: url('source-sans-pro-regular.eot');
|
4
|
+
src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'),
|
5
|
+
url('source-sans-pro-regular.woff') format('woff'),
|
6
|
+
url('source-sans-pro-regular.ttf') format('truetype');
|
7
|
+
font-weight: normal;
|
8
|
+
font-style: normal;
|
9
|
+
}
|
10
|
+
|
11
|
+
@font-face {
|
12
|
+
font-family: 'Source Sans Pro';
|
13
|
+
src: url('source-sans-pro-italic.eot');
|
14
|
+
src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'),
|
15
|
+
url('source-sans-pro-italic.woff') format('woff'),
|
16
|
+
url('source-sans-pro-italic.ttf') format('truetype');
|
17
|
+
font-weight: normal;
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
|
21
|
+
@font-face {
|
22
|
+
font-family: 'Source Sans Pro';
|
23
|
+
src: url('source-sans-pro-semibold.eot');
|
24
|
+
src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'),
|
25
|
+
url('source-sans-pro-semibold.woff') format('woff'),
|
26
|
+
url('source-sans-pro-semibold.ttf') format('truetype');
|
27
|
+
font-weight: 600;
|
28
|
+
font-style: normal;
|
29
|
+
}
|
30
|
+
|
31
|
+
@font-face {
|
32
|
+
font-family: 'Source Sans Pro';
|
33
|
+
src: url('source-sans-pro-semibolditalic.eot');
|
34
|
+
src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'),
|
35
|
+
url('source-sans-pro-semibolditalic.woff') format('woff'),
|
36
|
+
url('source-sans-pro-semibolditalic.ttf') format('truetype');
|
37
|
+
font-weight: 600;
|
38
|
+
font-style: italic;
|
39
|
+
}
|