!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).RevealMarkdown=t()}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),i=function(e){try{return!!e()}catch(e){return!0}},o=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!a.call({1:2},1)?function(e){var t=s(this,e);return!!t&&t.enumerable}:a},c=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},u={}.toString,f=function(e){return u.call(e).slice(8,-1)},h="".split,p=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==f(e)?h.call(e,""):Object(e)}:Object,g=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},d=function(e){return p(g(e))},v=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!v(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!v(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!v(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!v(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,m=function(e,t){return b.call(e,t)},k=r.document,x=v(k)&&v(k.createElement),w=function(e){return x?k.createElement(e):{}},S=!o&&!i((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),E=Object.getOwnPropertyDescriptor,_={f:o?E:function(e,t){if(e=d(e),t=y(t,!0),S)try{return E(e,t)}catch(e){}if(m(e,t))return c(!l.f.call(e,t),e[t])}},A=function(e){if(!v(e))throw TypeError(String(e)+" is not an object");return e},T=Object.defineProperty,O={f:o?T:function(e,t,n){if(A(e),t=y(t,!0),A(n),S)try{return T(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},R=o?function(e,t,n){return O.f(e,t,c(1,n))}:function(e,t,n){return e[t]=n,e},j=function(e,t){try{R(r,e,t)}catch(n){r[e]=t}return t},z="__core-js_shared__",$=r[z]||j(z,{}),P=Function.toString;"function"!=typeof $.inspectSource&&($.inspectSource=function(e){return P.call(e)});var I,C,L,M=$.inspectSource,N=r.WeakMap,q="function"==typeof N&&/native code/.test(M(N)),D=t((function(e){(e.exports=function(e,t){return $[e]||($[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),U=0,Z=Math.random(),F=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++U+Z).toString(36)},G=D("keys"),H=function(e){return G[e]||(G[e]=F(e))},W={},B=r.WeakMap;if(q){var V=new B,K=V.get,X=V.has,Y=V.set;I=function(e,t){return Y.call(V,e,t),t},C=function(e){return K.call(V,e)||{}},L=function(e){return X.call(V,e)}}else{var J=H("state");W[J]=!0,I=function(e,t){return R(e,J,t),t},C=function(e){return m(e,J)?e[J]:{}},L=function(e){return m(e,J)}}var Q,ee,te={set:I,get:C,has:L,enforce:function(e){return L(e)?C(e):I(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=C(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ne=t((function(e){var t=te.get,n=te.enforce,i=String(String).split("String");(e.exports=function(e,t,o,a){var s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||m(o,"name")||R(o,"name",t),n(o).source=i.join("string"==typeof t?t:"")),e!==r?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=o:R(e,t,o)):l?e[t]=o:j(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||M(this)}))})),re=r,ie=function(e){return"function"==typeof e?e:void 0},oe=function(e,t){return arguments.length<2?ie(re[e])||ie(r[e]):re[e]&&re[e][t]||r[e]&&r[e][t]},ae=Math.ceil,se=Math.floor,le=function(e){return isNaN(e=+e)?0:(e>0?se:ae)(e)},ce=Math.min,ue=function(e){return e>0?ce(le(e),9007199254740991):0},fe=Math.max,he=Math.min,pe=function(e,t){var n=le(e);return n<0?fe(n+t,0):he(n,t)},ge=function(e){return function(t,n,r){var i,o=d(t),a=ue(o.length),s=pe(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},de={includes:ge(!0),indexOf:ge(!1)},ve=de.indexOf,ye=function(e,t){var n,r=d(e),i=0,o=[];for(n in r)!m(W,n)&&m(r,n)&&o.push(n);for(;t.length>i;)m(r,n=t[i++])&&(~ve(o,n)||o.push(n));return o},be=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],me=be.concat("length","prototype"),ke={f:Object.getOwnPropertyNames||function(e){return ye(e,me)}},xe={f:Object.getOwnPropertySymbols},we=oe("Reflect","ownKeys")||function(e){var t=ke.f(A(e)),n=xe.f;return n?t.concat(n(e)):t},Se=function(e,t){for(var n=we(t),r=O.f,i=_.f,o=0;o=74)&&(Q=Ge.match(/Chrome\/(\d+)/))&&(ee=Q[1]);var Ve=ee&&+ee,Ke=Ue("species"),Xe=function(e){return Ve>=51||!i((function(){var t=[];return(t.constructor={})[Ke]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ye=Ue("isConcatSpreadable"),Je=9007199254740991,Qe="Maximum allowed index exceeded",et=Ve>=51||!i((function(){var e=[];return e[Ye]=!1,e.concat()[0]!==e})),tt=Xe("concat"),nt=function(e){if(!v(e))return!1;var t=e[Ye];return void 0!==t?!!t:Pe(e)};$e({target:"Array",proto:!0,forced:!et||!tt},{concat:function(e){var t,n,r,i,o,a=Ie(this),s=Fe(a,0),l=0;for(t=-1,r=arguments.length;tJe)throw TypeError(Qe);for(n=0;n=Je)throw TypeError(Qe);Ce(s,l++,o)}return s.length=l,s}});var rt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},it=function(e,t,n){if(rt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},ot=[].push,at=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=5==e||o;return function(s,l,c,u){for(var f,h,g=Ie(s),d=p(g),v=it(l,c,3),y=ue(d.length),b=0,m=u||Fe,k=t?m(s,y):n?m(s,0):void 0;y>b;b++)if((a||b in d)&&(h=v(f=d[b],b,g),e))if(t)k[b]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return b;case 2:ot.call(k,f)}else if(i)return!1;return o?-1:r||i?i:k}},st={forEach:at(0),map:at(1),filter:at(2),some:at(3),every:at(4),find:at(5),findIndex:at(6)},lt=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))},ct=Object.defineProperty,ut={},ft=function(e){throw e},ht=function(e,t){if(m(ut,e))return ut[e];t||(t={});var n=[][e],r=!!m(t,"ACCESSORS")&&t.ACCESSORS,a=m(t,0)?t[0]:ft,s=m(t,1)?t[1]:void 0;return ut[e]=!!n&&!i((function(){if(r&&!o)return!0;var e={length:-1};r?ct(e,1,{enumerable:!0,get:ft}):e[1]=1,n.call(e,a,s)}))},pt=st.forEach,gt=lt("forEach"),dt=ht("forEach"),vt=gt&&dt?[].forEach:function(e){return pt(this,e,arguments.length>1?arguments[1]:void 0)};$e({target:"Array",proto:!0,forced:[].forEach!=vt},{forEach:vt});var yt,bt=Object.keys||function(e){return ye(e,be)},mt=o?Object.defineProperties:function(e,t){A(e);for(var n,r=bt(t),i=r.length,o=0;i>o;)O.f(e,n=r[o++],t[n]);return e},kt=oe("document","documentElement"),xt=H("IE_PROTO"),wt=function(){},St=function(e){return"