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