!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define(e):(t=t||self).RevealNotes=e()}(this,(function(){"use strict";vart=function(t,e){returnt(e={exports:{}},e.exports),e.exports}((function(t){functione(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}t.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}}));t.defaults,t.getDefaults,t.changeDefaults;conste=/[&<>"']/,n=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"},a=t=>r[t];constl=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;functiono(t){returnt.replace(l,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):"")}constc=/(^|[^\[])\^/g;constu=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;constp={},h=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,m=/^([^:]+:\/*[^/]*)[\s\S]*$/;functionf(t,e){p[" "+t]||(h.test(t)?p[" "+t]=t+"/":p[" "+t]=k(t,"/",!0));constn=-1===(t=p[" "+t]).indexOf(":");return"//"===e.substring(0,2)?n?e:t.replace(g,"$1")+e:"/"===e.charAt(0)?n?e:t.replace(m,"$1")+e:t+e}functionk(t,e,n){consts=t.length;if(0===s)return"";leti=0;for(;i<s;){constr=t.charAt(s-i-1);if(r!==e||n){if(r===e||!n)break;i++}elsei++}returnt.substr(0,s-i)}varb={escape:function(t,r){if(r){if(e.test(t))returnt.replace(n,a)}elseif(s.test(t))returnt.replace(i,a);returnt},unescape:o,edit:function(t,e){t=t.source||t,e=e||"";constn={replace:(e,s)=>(s=(s=s.source||s).replace(c,"$1"),t=t.replace(e,s),n),getRegex:()=>newRegExp(t,e)};returnn},cleanUrl:function(t,e,n){if(t){lett;try{t=decodeURIComponent(o(n)).replace(u,"").toLowerCase()}catch(t){returnnull}if(0===t.indexOf("javascript:")||0===t.indexOf("vbscript:")||0===t.indexOf("data:"))returnnull}e&&!d.test(n)&&(n=f(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(t){returnnull}returnn},resolveUrl:f,noopTest:{exec:function(){}},merge:function(t){lete,n,s=1;for(;s<arguments.length;s++)for(nine=arguments[s],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);returnt},splitCells:function(t,e){constn=t.replace(/\|/g,(t,e,n)=>{lets=!1,i=e;for(;--i>=0&&"\\"===n[i];)s=!s;returns?"|":" |"}).split(/ \|/);lets=0;if(n.length>e)n.splice(e);elsefor(;n.length<e;)n.push("");for(;s<n.length;s++)n[s]=n[s].trim().replace(/\\\|/g,"|");returnn},rtrim:k,findClosingBracket:function(t,e){if(-1===t.indexOf(e[1]))return-1;constn=t.length;lets=0,i=0;for(;i<n;i++)if("\\"===t[i])i++;elseif(t[i]===e[0])s++;elseif(t[i]===e[1]&&(s--,s<0))returni;return-1},checkSanitizeDeprecation:function(t){t&&t.sanitize&&!t.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}};const{defaults:w}=t,{rtrim:y,splitCells:x,escape:v,findClosingBracket:S}=b;functionT(t,e,n){consts=e.href,i=e.title?v(e.title):null;return"!"!==t[0].charAt(0)?{type:"link",raw:n,href:s,title:i,text:t[1]}:{type:"image",raw:n,text:v(t[1]),href:s,title:i}}varz=class{constructor(t){this.options=t||w}space(t){conste=this.rules.block.newline.exec(t);if(e)returne[0].length>1?{type:"space",raw:e[0]}:{raw:"\n"}}code(t,e){constn=this.rules.block.code.exec(t);if(n){constt=e[e.length-1];if(t&&"paragraph"===t.type)return{raw:n[0],text:n[0].trimRight()};consts=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?s:y(s,"\n")}}}fences(t){conste=