presentazione-papero/dist/reveal.js

10 lines
80 KiB
JavaScript
Raw Normal View History

/*!
2020-05-20 12:08:57 +02:00
* reveal.js 4.0.0 (Wed May 20 2020)
* https://revealjs.com
* MIT licensed
*
* Copyright (C) 2020 Hakim El Hattab, https://hakim.se
*/
2020-05-20 12:08:57 +02:00
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Reveal=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function i(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,a)}return i}function a(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?i(Object(n),!0).forEach((function(i){t(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var n=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,s=/fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/,r=(e,t)=>{for(var i in t)e[i]=t[i];return e},o=(e,t)=>Array.from(e.querySelectorAll(t)),l=(e,t,i)=>{i?e.classList.add(t):e.classList.remove(t)},d=e=>{if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;if(e.match(/^-?[\d\.]+$/))return parseFloat(e)}return e},c=(e,t)=>{e.style.transform=t},h=(e,t)=>{for(var i=e.parentNode;i;){var a=i.matches||i.matchesSelector||i.msMatchesSelector;if(a&&a.call(i,t))return i;i=i.parentNode}return null},u=function(e,t,i){for(var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=e.querySelectorAll("."+i),s=0;s<n.length;s++){var r=n[s];if(r.parentNode===e)return r}var o=document.createElement(t);return o.className=i,o.innerHTML=a,e.appendChild(o),o},v=e=>{var t=document.createElement("style");return t.type="text/css",e&&e.length>0&&(t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))),document.head.appendChild(t),t},g=()=>{var e={};for(var t in location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,t=>{e[t.split("=").shift()]=t.split("=").pop()}),e){var i=e[t];e[t]=d(unescape(i))}return void 0!==e.dependencies&&delete e.dependencies,e},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e){var i,a=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",i=t-e.parentNode.offsetHeight,e.style.height=a+"px",e.parentNode.style.removeProperty("height"),i}return t},m=navigator.userAgent,f=document.createElement("div"),b=/(iphone|ipod|ipad|android)/gi.test(m)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,y=/chrome/i.test(m)&&!/edge/i.test(m),w=/android/gi.test(m),R="zoom"in f.style&&!b&&(y||/Version\/[\d\.]+.*Safari/.test(m)),A="function"==typeof window.history.replaceState&&!/PhantomJS/.test(m);class E{constructor(e){this.Reveal=e,this.startEmbeddedIframe=this.startEmbeddedIframe.bind(this)}shouldPreload(e){var t=this.Reveal.getConfig().preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}load(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.style.display=this.Reveal.getConfig().display,o(e,"img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach(e=>{("IFRAME"!==e.tagName||this.shouldPreload(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))}),o(e,"video, audio").forEach(e=>{var t=0;o(e,"source[data-src]").forEach(e=>{e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),e.setAttribute("data-lazy-loaded",""),t+=1}),t>0&&e.load()});var i=e.slideBackgroundElement;if(i){i.style.display="block";var a=e.slideBackgroundContentElement,n=e.getAttribute("data-background-iframe");if(!1===i.hasAttribute("data-loaded")){i.setAttribute("dat
//# sourceMappingURL=reveal.js.map