Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markdown-to-jsx

Package Overview
Dependencies
Maintainers
2
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-to-jsx - npm Package Compare versions

Comparing version 7.1.9 to 7.2.0

2

dist/index.d.ts

@@ -76,3 +76,3 @@ /**

* By default
* the following entites are replaced with their unicode equivalents:
* the following entities are replaced with their unicode equivalents:
*

@@ -79,0 +79,0 @@ * ```

@@ -1,2 +0,2 @@

function n(n){if(n&&n.t)return n;var r=Object.create(null);return n&&Object.keys(n).forEach(function(t){if("default"!==t){var e=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(r,t,e.get?e:{enumerable:!0,get:function(){return n[t]}})}}),r.default=n,r}var r=/*#__PURE__*/n(require("react"));function t(){return t=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},t.apply(this,arguments)}var e=["children","options"],u=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,r){return n[r.toLowerCase()]=r,n},{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},a=["style","script"],c=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i=/mailto:/i,_=/\n{2,}$/,f=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,l=/^ *> ?/gm,s=/^ {2,}\n/,d=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,p=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,v=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,g=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,m=/^(?:\n *)*\n/,y=/\r\n?/g,h=/^\[\^([^\]]+)](:.*)\n/,k=/^\[\^([^\]]+)]/,b=/\f/g,x=/^\s*?\[(x|\s)\]/,S=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,$=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,w=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,z=/&([a-zA-Z]+);/g,O=/^<!--[\s\S]*?(?:-->)/,E=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,j=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,A=/^\{.*\}$/,L=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,R=/^<([^ >]+@[^ >]+)>/,I=/^<([^ >]+:\/[^ >]+)>/,M=/-([a-z])?/gi,B=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,T=/^\[([^\]]*)\]:\s+(\S+)\s*("([^"]*)")?/,C=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Z=/^\[([^\]]*)\] ?\[([^\]]*)\]/,D=/(\[|\])/g,N=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,F=/\t/g,P=/^ *\| */,q=/(^ *\||\| *$)/g,G=/ *$/,H=/^ *:-+: *$/,U=/^ *:-+ *$/,V=/^ *-+: *$/,W=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,Q=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,X=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,J=/^\\([^0-9A-Za-z\s])/,K=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Y=/^\n+/,nn=/^([ \t]*)/,rn=/\\([^0-9A-Z\s])/gi,tn=/ *\n+$/,en=/(?:^|\n)( *)$/,un="(?:\\d+\\.)",on="(?:[*+-])";function an(n){return"( *)("+(1===n?un:on)+") +"}var cn=an(1),_n=an(2);function fn(n){return new RegExp("^"+(1===n?cn:_n))}var ln=fn(1),sn=fn(2);function dn(n){return new RegExp("^"+(1===n?cn:_n)+"[^\\n]*(?:\\n(?!\\1"+(1===n?un:on)+" )[^\\n]*)*(\\n|$)","gm")}var pn=dn(1),vn=dn(2);function gn(n){var r=1===n?un:on;return new RegExp("^( *)("+r+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+r+" (?!"+r+" ))\\n*|\\s*\\n*$)")}var mn=gn(1),yn=gn(2);function hn(n,r){var t=1===r,e=t?mn:yn,u=t?pn:vn,o=t?ln:sn;return{u:function(n,r,t){var u=en.exec(t);return u&&(r.o||!r.i&&!r._)?e.exec(n=u[1]+n):null},l:Fn.HIGH,p:function(n,r,e){var a=t?+n[2]:void 0,c=n[0].replace(_,"\n").match(u),i=!1;return{v:c.map(function(n,t){var u=o.exec(n)[0].length,a=new RegExp("^ {1,"+u+"}","gm"),_=n.replace(a,"").replace(o,""),f=t===c.length-1,l=-1!==_.indexOf("\n\n")||f&&i;i=l;var s,d=e.i,p=e.o;e.o=!0,l?(e.i=!1,s=_.replace(tn,"\n\n")):(e.i=!0,s=_.replace(tn,""));var v=r(s,e);return e.i=d,e.o=p,v}),g:t,m:a}},h:function(r,t,e){return n(r.g?"ol":"ul",{key:e.k,start:r.m},r.v.map(function(r,u){return n("li",{key:u},t(r,e))}))}}}var kn="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",bn="\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",xn=new RegExp("^\\[("+kn+")\\]\\("+bn+"\\)"),Sn=new RegExp("^!\\[("+kn+")\\]\\("+bn+"\\)"),$n=[f,p,v,S,$,O,B,pn,mn,vn,yn],wn=[].concat($n,[/^[^\n]+(?: \n|\n{2,})/,w,j]);function zn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function On(n){return V.test(n)?"right":H.test(n)?"center":U.test(n)?"left":null}function En(n,r,t){var e=t.S;t.S=!0;var u=r(n.trim(),t);t.S=e;var o=[[]];return u.forEach(function(n,r){"tableSeparator"===n.type?0!==r&&r!==u.length-1&&o.push([]):("text"!==n.type||null!=u[r+1]&&"tableSeparator"!==u[r+1].type||(n.$=n.$.replace(G,"")),o[o.length-1].push(n))}),o}function jn(n,r,t){t.i=!0;var e=En(n[1],r,t),u=n[2].replace(q,"").split("|").map(On),o=function(n,r,t){return n.trim().split("\n").map(function(n){return En(n,r,t)})}(n[3],r,t);return t.i=!1,{O:u,j:o,A:e,type:"table"}}function An(n,r){return null==n.O[r]?{}:{textAlign:n.O[r]}}function Ln(n){return function(r,t){return t.i?n.exec(r):null}}function Rn(n){return function(r,t){return t.i||t._?n.exec(r):null}}function In(n){return function(r,t){return t.i||t._?null:n.exec(r)}}function Mn(n){return function(r){return n.exec(r)}}function Bn(n,r,t){if(r.i||r._)return null;if(t&&!t.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!$n.some(function(r){return r.test(n)})&&(e+=n+"\n",n.trim())});var u=e.trimEnd();return""==u?null:[e,u]}function Tn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function Cn(n){return n.replace(rn,"$1")}function Zn(n,r,t){var e=t.i||!1,u=t._||!1;t.i=!0,t._=!0;var o=n(r,t);return t.i=e,t._=u,o}function Dn(n,r,t){var e=t.i||!1,u=t._||!1;t.i=!1,t._=!0;var o=n(r,t);return t.i=e,t._=u,o}function Nn(n,r,t){return t.i=!1,n(r+"\n\n",t)}var Fn,Pn=function(n,r,t){return{$:Zn(r,n[1],t)}};function qn(){return{}}function Gn(){return null}function Hn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Un(n,r,t){for(var e=n,u=r.split(".");u.length&&void 0!==(e=e[u[0]]);)u.shift();return e||t}function Vn(n,r){var t=Un(r,n);return t?"function"==typeof t||"object"==typeof t&&"render"in t?t:Un(r,n+".component",n):n}function Wn(n,e){void 0===e&&(e={}),e.overrides=e.overrides||{},e.slugify=e.slugify||zn,e.namedCodesToUnicode=e.namedCodesToUnicode?t({},o,e.namedCodesToUnicode):o;var _=e.createElement||r.createElement;function q(n,r){var u=Un(e.overrides,n+".props",{});return _.apply(void 0,[Vn(n,e.overrides),t({},r,u,{className:Hn(null==r?void 0:r.className,u.className)||void 0})].concat([].slice.call(arguments,2)))}function G(n){var t=!1;e.forceInline?t=!0:e.forceBlock||(t=!1===N.test(n));for(var u=un(en(t?n:n.trimEnd().replace(Y,"")+"\n\n",{i:t}));"string"==typeof u[u.length-1]&&!u[u.length-1].trim();)u.pop();if(null===e.wrapper)return u;var o,a=e.wrapper||(t?"span":"div");if(u.length>1||e.forceWrapper)o=u;else{if(1===u.length)return"string"==typeof(o=u[0])?q("span",{key:"outer"},o):o;o=null}return r.createElement(a,{key:"outer"},o)}function H(n){var t=n.match(c);return t?t.reduce(function(n,t,e){var o=t.indexOf("=");if(-1!==o){var a=function(n){return-1!==n.indexOf("-")&&null===n.match(E)&&(n=n.replace(M,function(n,r){return r.toUpperCase()})),n}(t.slice(0,o)).trim(),c=function(n){var r=n[0];return('"'===r||"'"===r)&&n.length>=2&&n[n.length-1]===r?n.slice(1,-1):n}(t.slice(o+1).trim()),i=u[a]||a,_=n[i]=function(n,r){return"style"===n?r.split(/;\s?/).reduce(function(n,r){var t=r.slice(0,r.indexOf(":"));return n[t.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=r.slice(t.length+1).trim(),n},{}):"href"===n?Tn(r):(r.match(A)&&(r=r.slice(1,r.length-1)),"true"===r||"false"!==r&&r)}(a,c);"string"==typeof _&&(w.test(_)||j.test(_))&&(n[i]=r.cloneElement(G(_.trim()),{key:e}))}else"style"!==t&&(n[u[t]||t]=!0);return n},{}):void 0}var U=[],V={},rn={blockQuote:{u:In(f),l:Fn.HIGH,p:function(n,r,t){return{$:r(n[0].replace(l,""),t)}},h:function(n,r,t){return q("blockquote",{key:t.k},r(n.$,t))}},breakLine:{u:Mn(s),l:Fn.HIGH,p:qn,h:function(n,r,t){return q("br",{key:t.k})}},breakThematic:{u:In(d),l:Fn.HIGH,p:qn,h:function(n,r,t){return q("hr",{key:t.k})}},codeBlock:{u:In(v),l:Fn.MAX,p:function(n){return{$:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),L:void 0}},h:function(n,r,e){return q("pre",{key:e.k},q("code",t({},n.R,{className:n.L?"lang-"+n.L:""}),n.$))}},codeFenced:{u:In(p),l:Fn.MAX,p:function(n){return{R:H(n[3]||""),$:n[4],L:n[2]||void 0,type:"codeBlock"}}},codeInline:{u:Rn(g),l:Fn.LOW,p:function(n){return{$:n[2]}},h:function(n,r,t){return q("code",{key:t.k},n.$)}},footnote:{u:In(h),l:Fn.MAX,p:function(n){return U.push({I:n[2],M:n[1]}),{}},h:Gn},footnoteReference:{u:Ln(k),l:Fn.HIGH,p:function(n){return{$:n[1],B:"#"+e.slugify(n[1])}},h:function(n,r,t){return q("a",{key:t.k,href:Tn(n.B)},q("sup",{key:t.k},n.$))}},gfmTask:{u:Ln(x),l:Fn.HIGH,p:function(n){return{T:"x"===n[1].toLowerCase()}},h:function(n,r,t){return q("input",{checked:n.T,key:t.k,readOnly:!0,type:"checkbox"})}},heading:{u:In(S),l:Fn.HIGH,p:function(n,r,t){return{$:Zn(r,n[2],t),C:e.slugify(n[2]),Z:n[1].length}},h:function(n,r,t){return q("h"+n.Z,{id:n.C,key:t.k},r(n.$,t))}},headingSetext:{u:In($),l:Fn.MAX,p:function(n,r,t){return{$:Zn(r,n[1],t),Z:"="===n[2]?1:2,type:"heading"}}},htmlComment:{u:Mn(O),l:Fn.HIGH,p:function(){return{}},h:Gn},image:{u:Rn(Sn),l:Fn.HIGH,p:function(n){return{D:n[1],B:Cn(n[2]),N:n[3]}},h:function(n,r,t){return q("img",{key:t.k,alt:n.D||void 0,title:n.N||void 0,src:Tn(n.B)})}},link:{u:Ln(xn),l:Fn.LOW,p:function(n,r,t){return{$:Dn(r,n[1],t),B:Cn(n[2]),N:n[3]}},h:function(n,r,t){return q("a",{key:t.k,href:Tn(n.B),title:n.N},r(n.$,t))}},linkAngleBraceStyleDetector:{u:Ln(I),l:Fn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],B:n[1],type:"link"}}},linkBareUrlDetector:{u:function(n,r){return r.F?null:Ln(L)(n,r)},l:Fn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],B:n[1],N:void 0,type:"link"}}},linkMailtoDetector:{u:Ln(R),l:Fn.MAX,p:function(n){var r=n[1],t=n[1];return i.test(t)||(t="mailto:"+t),{$:[{$:r.replace("mailto:",""),type:"text"}],B:t,type:"link"}}},orderedList:hn(q,1),unorderedList:hn(q,2),newlineCoalescer:{u:In(m),l:Fn.LOW,p:qn,h:function(){return"\n"}},paragraph:{u:Bn,l:Fn.LOW,p:Pn,h:function(n,r,t){return q("p",{key:t.k},r(n.$,t))}},ref:{u:Ln(T),l:Fn.MAX,p:function(n){return V[n[1]]={B:n[2],N:n[4]},{}},h:Gn},refImage:{u:Rn(C),l:Fn.MAX,p:function(n){return{D:n[1]||void 0,P:n[2]}},h:function(n,r,t){return q("img",{key:t.k,alt:n.D,src:Tn(V[n.P].B),title:V[n.P].N})}},refLink:{u:Ln(Z),l:Fn.MAX,p:function(n,r,t){return{$:r(n[1],t),q:r(n[0].replace(D,"\\$1"),t),P:n[2]}},h:function(n,r,t){return V[n.P]?q("a",{key:t.k,href:Tn(V[n.P].B),title:V[n.P].N},r(n.$,t)):q("span",{key:t.k},r(n.q,t))}},table:{u:In(B),l:Fn.HIGH,p:jn,h:function(n,r,t){return q("table",{key:t.k},q("thead",null,q("tr",null,n.A.map(function(e,u){return q("th",{key:u,style:An(n,u)},r(e,t))}))),q("tbody",null,n.j.map(function(e,u){return q("tr",{key:u},e.map(function(e,u){return q("td",{key:u,style:An(n,u)},r(e,t))}))})))}},tableSeparator:{u:function(n,r){return r.S?P.exec(n):null},l:Fn.HIGH,p:function(){return{type:"tableSeparator"}},h:function(){return" | "}},text:{u:Mn(K),l:Fn.MIN,p:function(n){return{$:n[0].replace(z,function(n,r){return e.namedCodesToUnicode[r]?e.namedCodesToUnicode[r]:n})}},h:function(n){return n.$}},textBolded:{u:Rn(W),l:Fn.MED,p:function(n,r,t){return{$:r(n[2],t)}},h:function(n,r,t){return q("strong",{key:t.k},r(n.$,t))}},textEmphasized:{u:Rn(Q),l:Fn.LOW,p:function(n,r,t){return{$:r(n[2],t)}},h:function(n,r,t){return q("em",{key:t.k},r(n.$,t))}},textEscaped:{u:Rn(J),l:Fn.HIGH,p:function(n){return{$:n[1],type:"text"}}},textStrikethroughed:{u:Rn(X),l:Fn.LOW,p:Pn,h:function(n,r,t){return q("del",{key:t.k},r(n.$,t))}}};!0!==e.disableParsingRawHTML&&(rn.htmlBlock={u:Mn(w),l:Fn.HIGH,p:function(n,r,t){var e,u=n[3].match(nn),o=new RegExp("^"+u[1],"gm"),c=n[3].replace(o,""),i=(e=c,wn.some(function(n){return n.test(e)})?Nn:Zn),_=n[1].toLowerCase(),f=-1!==a.indexOf(_);t.F=t.F||"a"===_;var l=f?n[3]:i(r,c,t);return t.F=!1,{R:H(n[2]),$:l,G:f,H:f?_:n[1]}},h:function(n,r,e){return q(n.H,t({key:e.k},n.R),n.G?n.$:r(n.$,e))}},rn.htmlSelfClosing={u:Mn(j),l:Fn.HIGH,p:function(n){return{R:H(n[2]||""),H:n[1]}},h:function(n,r,e){return q(n.H,t({},n.R,{key:e.k}))}});var tn,en=function(n){var r=Object.keys(n);function t(e,u){for(var o=[],a="";e;)for(var c=0;c<r.length;){var i=r[c],_=n[i],f=_.u(e,u,a);if(f){var l=f[0];e=e.substring(l.length);var s=_.p(f,t,u);null==s.type&&(s.type=i),o.push(s),a=l;break}c++}return o}return r.sort(function(r,t){var e=n[r].l,u=n[t].l;return e!==u?e-u:r<t?-1:1}),function(n,r){return t(function(n){return n.replace(y,"\n").replace(b,"").replace(F," ")}(n),r)}}(rn),un=(tn=function(n){return function(r,t,e){return n[r.type].h(r,t,e)}}(rn),function n(r,t){if(void 0===t&&(t={}),Array.isArray(r)){for(var e=t.k,u=[],o=!1,a=0;a<r.length;a++){t.k=a;var c=n(r[a],t),i="string"==typeof c;i&&o?u[u.length-1]+=c:null!==c&&u.push(c),o=i}return t.k=e,u}return tn(r,n,t)}),on=G(n);return U.length?q("div",null,on,q("footer",{key:"footer"},U.map(function(n){return q("div",{id:e.slugify(n.M),key:n.M},n.M,un(en(n.I,{i:!0})))}))):on}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Fn||(Fn={}));var Qn=function(n){var t=n.children,u=n.options,o=function(n,r){if(null==n)return{};var t,e,u={},o=Object.keys(n);for(e=0;e<o.length;e++)r.indexOf(t=o[e])>=0||(u[t]=n[t]);return u}(n,e);return r.cloneElement(Wn(t,u),o)};Object.assign(Qn,{compiler:Wn}),module.exports=Qn;
function n(n){if(n&&n.t)return n;var r=Object.create(null);return n&&Object.keys(n).forEach(function(t){if("default"!==t){var e=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(r,t,e.get?e:{enumerable:!0,get:function(){return n[t]}})}}),r.default=n,r}var r=/*#__PURE__*/n(require("react"));function t(){return t=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},t.apply(this,arguments)}var e=["children","options"],u=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,r){return n[r.toLowerCase()]=r,n},{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},a=["style","script"],c=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i=/mailto:/i,_=/\n{2,}$/,f=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,l=/^ *> ?/gm,s=/^ {2,}\n/,d=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,p=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,m=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,v=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,g=/^(?:\n *)*\n/,y=/\r\n?/g,h=/^\[\^([^\]]+)](:.*)\n/,k=/^\[\^([^\]]+)]/,b=/\f/g,x=/^\s*?\[(x|\s)\]/,S=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,$=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,z=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,O=/&([a-zA-Z]+);/g,j=/^<!--[\s\S]*?(?:-->)/,w=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,A=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,E=/^\{.*\}$/,L=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,M=/^<([^ >]+@[^ >]+)>/,I=/^<([^ >]+:\/[^ >]+)>/,B=/-([a-z])?/gi,R=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,T=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,C=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,D=/^\[([^\]]*)\] ?\[([^\]]*)\]/,N=/(\[|\])/g,Z=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,F=/\t/g,P=/^ *\| */,q=/(^ *\||\| *$)/g,G=/ *$/,H=/^ *:-+: *$/,U=/^ *:-+ *$/,V=/^ *-+: *$/,W=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,Q=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,X=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,J=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,K=/^\\([^0-9A-Za-z\s])/,Y=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,nn=/^\n+/,rn=/^([ \t]*)/,tn=/\\([^\\])/g,en=/ *\n+$/,un=/(?:^|\n)( *)$/,on="(?:\\d+\\.)",an="(?:[*+-])";function cn(n){return"( *)("+(1===n?on:an)+") +"}var _n=cn(1),fn=cn(2);function ln(n){return new RegExp("^"+(1===n?_n:fn))}var sn=ln(1),dn=ln(2);function pn(n){return new RegExp("^"+(1===n?_n:fn)+"[^\\n]*(?:\\n(?!\\1"+(1===n?on:an)+" )[^\\n]*)*(\\n|$)","gm")}var mn=pn(1),vn=pn(2);function gn(n){var r=1===n?on:an;return new RegExp("^( *)("+r+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+r+" (?!"+r+" ))\\n*|\\s*\\n*$)")}var yn=gn(1),hn=gn(2);function kn(n,r){var t=1===r,e=t?yn:hn,u=t?mn:vn,o=t?sn:dn;return{u:function(n,r,t){var u=un.exec(t);return u&&(r.o||!r.i&&!r._)?e.exec(n=u[1]+n):null},l:Zn.HIGH,p:function(n,r,e){var a=t?+n[2]:void 0,c=n[0].replace(_,"\n").match(u),i=!1;return{m:c.map(function(n,t){var u=o.exec(n)[0].length,a=new RegExp("^ {1,"+u+"}","gm"),_=n.replace(a,"").replace(o,""),f=t===c.length-1,l=-1!==_.indexOf("\n\n")||f&&i;i=l;var s,d=e.i,p=e.o;e.o=!0,l?(e.i=!1,s=_.replace(en,"\n\n")):(e.i=!0,s=_.replace(en,""));var m=r(s,e);return e.i=d,e.o=p,m}),v:t,g:a}},h:function(r,t,e){return n(r.v?"ol":"ul",{key:e.k,start:r.g},r.m.map(function(r,u){return n("li",{key:u},t(r,e))}))}}}var bn=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,xn=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Sn=[f,p,m,S,$,j,R,mn,yn,vn,hn],$n=[].concat(Sn,[/^[^\n]+(?: \n|\n{2,})/,z,A]);function zn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function On(n){return V.test(n)?"right":H.test(n)?"center":U.test(n)?"left":null}function jn(n,r,t){var e=t.S;t.S=!0;var u=r(n.trim(),t);t.S=e;var o=[[]];return u.forEach(function(n,r){"tableSeparator"===n.type?0!==r&&r!==u.length-1&&o.push([]):("text"!==n.type||null!=u[r+1]&&"tableSeparator"!==u[r+1].type||(n.$=n.$.replace(G,"")),o[o.length-1].push(n))}),o}function wn(n,r,t){t.i=!0;var e=jn(n[1],r,t),u=n[2].replace(q,"").split("|").map(On),o=function(n,r,t){return n.trim().split("\n").map(function(n){return jn(n,r,t)})}(n[3],r,t);return t.i=!1,{O:u,j:o,A:e,type:"table"}}function An(n,r){return null==n.O[r]?{}:{textAlign:n.O[r]}}function En(n){return function(r,t){return t.i?n.exec(r):null}}function Ln(n){return function(r,t){return t.i||t._?n.exec(r):null}}function Mn(n){return function(r,t){return t.i||t._?null:n.exec(r)}}function In(n){return function(r){return n.exec(r)}}function Bn(n,r,t){if(r.i||r._)return null;if(t&&!t.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!Sn.some(function(r){return r.test(n)})&&(e+=n+"\n",n.trim())});var u=e.trimEnd();return""==u?null:[e,u]}function Rn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(n){return null}return n}function Tn(n){return n.replace(tn,"$1")}function Cn(n,r,t){var e=t.i||!1,u=t._||!1;t.i=!0,t._=!0;var o=n(r,t);return t.i=e,t._=u,o}function Dn(n,r,t){var e=t.i||!1,u=t._||!1;t.i=!1,t._=!0;var o=n(r,t);return t.i=e,t._=u,o}function Nn(n,r,t){return t.i=!1,n(r+"\n\n",t)}var Zn,Fn=function(n,r,t){return{$:Cn(r,n[1],t)}};function Pn(){return{}}function qn(){return null}function Gn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Hn(n,r,t){for(var e=n,u=r.split(".");u.length&&void 0!==(e=e[u[0]]);)u.shift();return e||t}function Un(n,r){var t=Hn(r,n);return t?"function"==typeof t||"object"==typeof t&&"render"in t?t:Hn(r,n+".component",n):n}function Vn(n,e){void 0===e&&(e={}),e.overrides=e.overrides||{},e.slugify=e.slugify||zn,e.namedCodesToUnicode=e.namedCodesToUnicode?t({},o,e.namedCodesToUnicode):o;var _=e.createElement||r.createElement;function q(n,r){var u=Hn(e.overrides,n+".props",{});return _.apply(void 0,[Un(n,e.overrides),t({},r,u,{className:Gn(null==r?void 0:r.className,u.className)||void 0})].concat([].slice.call(arguments,2)))}function G(n){var t=!1;e.forceInline?t=!0:e.forceBlock||(t=!1===Z.test(n));for(var u=on(un(t?n:n.trimEnd().replace(nn,"")+"\n\n",{i:t}));"string"==typeof u[u.length-1]&&!u[u.length-1].trim();)u.pop();if(null===e.wrapper)return u;var o,a=e.wrapper||(t?"span":"div");if(u.length>1||e.forceWrapper)o=u;else{if(1===u.length)return"string"==typeof(o=u[0])?q("span",{key:"outer"},o):o;o=null}return r.createElement(a,{key:"outer"},o)}function H(n){var t=n.match(c);return t?t.reduce(function(n,t,e){var o=t.indexOf("=");if(-1!==o){var a=function(n){return-1!==n.indexOf("-")&&null===n.match(w)&&(n=n.replace(B,function(n,r){return r.toUpperCase()})),n}(t.slice(0,o)).trim(),c=function(n){var r=n[0];return('"'===r||"'"===r)&&n.length>=2&&n[n.length-1]===r?n.slice(1,-1):n}(t.slice(o+1).trim()),i=u[a]||a,_=n[i]=function(n,r){return"style"===n?r.split(/;\s?/).reduce(function(n,r){var t=r.slice(0,r.indexOf(":"));return n[t.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=r.slice(t.length+1).trim(),n},{}):"href"===n?Rn(r):(r.match(E)&&(r=r.slice(1,r.length-1)),"true"===r||"false"!==r&&r)}(a,c);"string"==typeof _&&(z.test(_)||A.test(_))&&(n[i]=r.cloneElement(G(_.trim()),{key:e}))}else"style"!==t&&(n[u[t]||t]=!0);return n},{}):null}var U=[],V={},tn={blockQuote:{u:Mn(f),l:Zn.HIGH,p:function(n,r,t){return{$:r(n[0].replace(l,""),t)}},h:function(n,r,t){return q("blockquote",{key:t.k},r(n.$,t))}},breakLine:{u:In(s),l:Zn.HIGH,p:Pn,h:function(n,r,t){return q("br",{key:t.k})}},breakThematic:{u:Mn(d),l:Zn.HIGH,p:Pn,h:function(n,r,t){return q("hr",{key:t.k})}},codeBlock:{u:Mn(m),l:Zn.MAX,p:function(n){return{$:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),L:void 0}},h:function(n,r,e){return q("pre",{key:e.k},q("code",t({},n.M,{className:n.L?"lang-"+n.L:""}),n.$))}},codeFenced:{u:Mn(p),l:Zn.MAX,p:function(n){return{M:H(n[3]||""),$:n[4],L:n[2]||void 0,type:"codeBlock"}}},codeInline:{u:Ln(v),l:Zn.LOW,p:function(n){return{$:n[2]}},h:function(n,r,t){return q("code",{key:t.k},n.$)}},footnote:{u:Mn(h),l:Zn.MAX,p:function(n){return U.push({I:n[2],B:n[1]}),{}},h:qn},footnoteReference:{u:En(k),l:Zn.HIGH,p:function(n){return{$:n[1],R:"#"+e.slugify(n[1])}},h:function(n,r,t){return q("a",{key:t.k,href:Rn(n.R)},q("sup",{key:t.k},n.$))}},gfmTask:{u:En(x),l:Zn.HIGH,p:function(n){return{T:"x"===n[1].toLowerCase()}},h:function(n,r,t){return q("input",{checked:n.T,key:t.k,readOnly:!0,type:"checkbox"})}},heading:{u:Mn(S),l:Zn.HIGH,p:function(n,r,t){return{$:Cn(r,n[2],t),C:e.slugify(n[2]),D:n[1].length}},h:function(n,r,t){return q("h"+n.D,{id:n.C,key:t.k},r(n.$,t))}},headingSetext:{u:Mn($),l:Zn.MAX,p:function(n,r,t){return{$:Cn(r,n[1],t),D:"="===n[2]?1:2,type:"heading"}}},htmlComment:{u:In(j),l:Zn.HIGH,p:function(){return{}},h:qn},image:{u:Ln(xn),l:Zn.HIGH,p:function(n){return{N:n[1],R:Tn(n[2]),Z:n[3]}},h:function(n,r,t){return q("img",{key:t.k,alt:n.N||void 0,title:n.Z||void 0,src:Rn(n.R)})}},link:{u:En(bn),l:Zn.LOW,p:function(n,r,t){return{$:Dn(r,n[1],t),R:Tn(n[2]),Z:n[3]}},h:function(n,r,t){return q("a",{key:t.k,href:Rn(n.R),title:n.Z},r(n.$,t))}},linkAngleBraceStyleDetector:{u:En(I),l:Zn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],R:n[1],type:"link"}}},linkBareUrlDetector:{u:function(n,r){return r.F?null:En(L)(n,r)},l:Zn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],R:n[1],Z:void 0,type:"link"}}},linkMailtoDetector:{u:En(M),l:Zn.MAX,p:function(n){var r=n[1],t=n[1];return i.test(t)||(t="mailto:"+t),{$:[{$:r.replace("mailto:",""),type:"text"}],R:t,type:"link"}}},orderedList:kn(q,1),unorderedList:kn(q,2),newlineCoalescer:{u:Mn(g),l:Zn.LOW,p:Pn,h:function(){return"\n"}},paragraph:{u:Bn,l:Zn.LOW,p:Fn,h:function(n,r,t){return q("p",{key:t.k},r(n.$,t))}},ref:{u:En(T),l:Zn.MAX,p:function(n){return V[n[1]]={R:n[2],Z:n[4]},{}},h:qn},refImage:{u:Ln(C),l:Zn.MAX,p:function(n){return{N:n[1]||void 0,P:n[2]}},h:function(n,r,t){return q("img",{key:t.k,alt:n.N,src:Rn(V[n.P].R),title:V[n.P].Z})}},refLink:{u:En(D),l:Zn.MAX,p:function(n,r,t){return{$:r(n[1],t),q:r(n[0].replace(N,"\\$1"),t),P:n[2]}},h:function(n,r,t){return V[n.P]?q("a",{key:t.k,href:Rn(V[n.P].R),title:V[n.P].Z},r(n.$,t)):q("span",{key:t.k},r(n.q,t))}},table:{u:Mn(R),l:Zn.HIGH,p:wn,h:function(n,r,t){return q("table",{key:t.k},q("thead",null,q("tr",null,n.A.map(function(e,u){return q("th",{key:u,style:An(n,u)},r(e,t))}))),q("tbody",null,n.j.map(function(e,u){return q("tr",{key:u},e.map(function(e,u){return q("td",{key:u,style:An(n,u)},r(e,t))}))})))}},tableSeparator:{u:function(n,r){return r.S?P.exec(n):null},l:Zn.HIGH,p:function(){return{type:"tableSeparator"}},h:function(){return" | "}},text:{u:In(Y),l:Zn.MIN,p:function(n){return{$:n[0].replace(O,function(n,r){return e.namedCodesToUnicode[r]?e.namedCodesToUnicode[r]:n})}},h:function(n){return n.$}},textBolded:{u:Ln(W),l:Zn.MED,p:function(n,r,t){return{$:r(n[2],t)}},h:function(n,r,t){return q("strong",{key:t.k},r(n.$,t))}},textEmphasized:{u:Ln(Q),l:Zn.LOW,p:function(n,r,t){return{$:r(n[2],t)}},h:function(n,r,t){return q("em",{key:t.k},r(n.$,t))}},textEscaped:{u:Ln(K),l:Zn.HIGH,p:function(n){return{$:n[1],type:"text"}}},textMarked:{u:Ln(X),l:Zn.LOW,p:Fn,h:function(n,r,t){return q("mark",{key:t.k},r(n.$,t))}},textStrikethroughed:{u:Ln(J),l:Zn.LOW,p:Fn,h:function(n,r,t){return q("del",{key:t.k},r(n.$,t))}}};!0!==e.disableParsingRawHTML&&(tn.htmlBlock={u:In(z),l:Zn.HIGH,p:function(n,r,t){var e,u=n[3].match(rn),o=new RegExp("^"+u[1],"gm"),c=n[3].replace(o,""),i=(e=c,$n.some(function(n){return n.test(e)})?Nn:Cn),_=n[1].toLowerCase(),f=-1!==a.indexOf(_);t.F=t.F||"a"===_;var l=f?n[3]:i(r,c,t);return t.F=!1,{M:H(n[2]),$:l,G:f,H:f?_:n[1]}},h:function(n,r,e){return q(n.H,t({key:e.k},n.M),n.G?n.$:r(n.$,e))}},tn.htmlSelfClosing={u:In(A),l:Zn.HIGH,p:function(n){return{M:H(n[2]||""),H:n[1]}},h:function(n,r,e){return q(n.H,t({},n.M,{key:e.k}))}});var en,un=function(n){var r=Object.keys(n);function t(e,u){for(var o=[],a="";e;)for(var c=0;c<r.length;){var i=r[c],_=n[i],f=_.u(e,u,a);if(f){var l=f[0];e=e.substring(l.length);var s=_.p(f,t,u);null==s.type&&(s.type=i),o.push(s),a=l;break}c++}return o}return r.sort(function(r,t){var e=n[r].l,u=n[t].l;return e!==u?e-u:r<t?-1:1}),function(n,r){return t(function(n){return n.replace(y,"\n").replace(b,"").replace(F," ")}(n),r)}}(tn),on=(en=function(n){return function(r,t,e){return n[r.type].h(r,t,e)}}(tn),function n(r,t){if(void 0===t&&(t={}),Array.isArray(r)){for(var e=t.k,u=[],o=!1,a=0;a<r.length;a++){t.k=a;var c=n(r[a],t),i="string"==typeof c;i&&o?u[u.length-1]+=c:null!==c&&u.push(c),o=i}return t.k=e,u}return en(r,n,t)}),an=G(n);return U.length?q("div",null,an,q("footer",{key:"footer"},U.map(function(n){return q("div",{id:e.slugify(n.B),key:n.B},n.B,on(un(n.I,{i:!0})))}))):an}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Zn||(Zn={}));var Wn=function(n){var t=n.children,u=n.options,o=function(n,r){if(null==n)return{};var t,e,u={},o=Object.keys(n);for(e=0;e<o.length;e++)r.indexOf(t=o[e])>=0||(u[t]=n[t]);return u}(n,e);return r.cloneElement(Vn(t,u),o)};Object.assign(Wn,{compiler:Vn}),module.exports=Wn;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import*as t from"react";function n(){return n=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},n.apply(this,arguments)}const e=["children","options"],r=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((t,n)=>(t[n.toLowerCase()]=n,t),{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],a=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,u=/mailto:/i,_=/\n{2,}$/,i=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,s=/^ *> ?/gm,l=/^ {2,}\n/,f=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,d=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,p=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,g=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,m=/^(?:\n *)*\n/,y=/\r\n?/g,h=/^\[\^([^\]]+)](:.*)\n/,k=/^\[\^([^\]]+)]/,x=/\f/g,b=/^\s*?\[(x|\s)\]/,v=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,S=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,$=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,w=/&([a-zA-Z]+);/g,z=/^<!--[\s\S]*?(?:-->)/,E=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,A=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L=/^\{.*\}$/,R=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,I=/^<([^ >]+@[^ >]+)>/,M=/^<([^ >]+:\/[^ >]+)>/,O=/-([a-z])?/gi,B=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,T=/^\[([^\]]*)\]:\s+(\S+)\s*("([^"]*)")?/,j=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,C=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Z=/(\[|\])/g,D=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,N=/\t/g,F=/^ *\| */,P=/(^ *\||\| *$)/g,G=/ *$/,H=/^ *:-+: *$/,q=/^ *:-+ *$/,U=/^ *-+: *$/,V=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,W=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Q=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,X=/^\\([^0-9A-Za-z\s])/,J=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,K=/^\n+/,Y=/^([ \t]*)/,tt=/\\([^0-9A-Z\s])/gi,nt=/ *\n+$/,et=/(?:^|\n)( *)$/,rt="(?:\\d+\\.)",ot="(?:[*+-])";function ct(t){return"( *)("+(1===t?rt:ot)+") +"}const at=ct(1),ut=ct(2);function _t(t){return new RegExp("^"+(1===t?at:ut))}const it=_t(1),st=_t(2);function lt(t){return new RegExp("^"+(1===t?at:ut)+"[^\\n]*(?:\\n(?!\\1"+(1===t?rt:ot)+" )[^\\n]*)*(\\n|$)","gm")}const ft=lt(1),dt=lt(2);function pt(t){const n=1===t?rt:ot;return new RegExp("^( *)("+n+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+n+" (?!"+n+" ))\\n*|\\s*\\n*$)")}const gt=pt(1),mt=pt(2);function yt(t,n){const e=1===n,r=e?gt:mt,o=e?ft:dt,c=e?it:st;return{t(t,n,e){const o=et.exec(e);return o&&(n.o||!n.u&&!n._)?r.exec(t=o[1]+t):null},i:Ht.HIGH,l(t,n,r){const a=e?+t[2]:void 0,u=t[0].replace(_,"\n").match(o);let i=!1;return{p:u.map(function(t,e){const o=c.exec(t)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),_=t.replace(a,"").replace(c,""),s=e===u.length-1,l=-1!==_.indexOf("\n\n")||s&&i;i=l;const f=r.u,d=r.o;let p;r.o=!0,l?(r.u=!1,p=_.replace(nt,"\n\n")):(r.u=!0,p=_.replace(nt,""));const g=n(p,r);return r.u=f,r.o=d,g}),g:e,m:a}},h:(n,e,r)=>t(n.g?"ol":"ul",{key:r.k,start:n.m},n.p.map(function(n,o){return t("li",{key:o},e(n,r))}))}}const ht="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",kt="\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",xt=new RegExp("^\\[("+ht+")\\]\\("+kt+"\\)"),bt=new RegExp("^!\\[("+ht+")\\]\\("+kt+"\\)"),vt=[i,d,p,v,S,z,B,ft,gt,dt,mt],St=[...vt,/^[^\n]+(?: \n|\n{2,})/,$,A];function $t(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function wt(t){return U.test(t)?"right":H.test(t)?"center":q.test(t)?"left":null}function zt(t,n,e){const r=e.v;e.v=!0;const o=n(t.trim(),e);e.v=r;let c=[[]];return o.forEach(function(t,n){"tableSeparator"===t.type?0!==n&&n!==o.length-1&&c.push([]):("text"!==t.type||null!=o[n+1]&&"tableSeparator"!==o[n+1].type||(t.S=t.S.replace(G,"")),c[c.length-1].push(t))}),c}function Et(t,n,e){e.u=!0;const r=zt(t[1],n,e),o=t[2].replace(P,"").split("|").map(wt),c=function(t,n,e){return t.trim().split("\n").map(function(t){return zt(t,n,e)})}(t[3],n,e);return e.u=!1,{$:o,A:c,L:r,type:"table"}}function At(t,n){return null==t.$[n]?{}:{textAlign:t.$[n]}}function Lt(t){return function(n,e){return e.u?t.exec(n):null}}function Rt(t){return function(n,e){return e.u||e._?t.exec(n):null}}function It(t){return function(n,e){return e.u||e._?null:t.exec(n)}}function Mt(t){return function(n){return t.exec(n)}}function Ot(t,n,e){if(n.u||n._)return null;if(e&&!e.endsWith("\n"))return null;let r="";t.split("\n").every(t=>!vt.some(n=>n.test(t))&&(r+=t+"\n",t.trim()));const o=r.trimEnd();return""==o?null:[r,o]}function Bt(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(t){return null}return t}function Tt(t){return t.replace(tt,"$1")}function jt(t,n,e){const r=e.u||!1,o=e._||!1;e.u=!0,e._=!0;const c=t(n,e);return e.u=r,e._=o,c}function Ct(t,n,e){const r=e.u||!1,o=e._||!1;e.u=!1,e._=!0;const c=t(n,e);return e.u=r,e._=o,c}function Zt(t,n,e){return e.u=!1,t(n+"\n\n",e)}const Dt=(t,n,e)=>({S:jt(n,t[1],e)});function Nt(){return{}}function Ft(){return null}function Pt(...t){return t.filter(Boolean).join(" ")}function Gt(t,n,e){let r=t;const o=n.split(".");for(;o.length&&(r=r[o[0]],void 0!==r);)o.shift();return r||e}var Ht;function qt(e,_={}){_.overrides=_.overrides||{},_.slugify=_.slugify||$t,_.namedCodesToUnicode=_.namedCodesToUnicode?n({},o,_.namedCodesToUnicode):o;const P=_.createElement||t.createElement;function G(t,e,...r){const o=Gt(_.overrides,`${t}.props`,{});return P(function(t,n){const e=Gt(n,t);return e?"function"==typeof e||"object"==typeof e&&"render"in e?e:Gt(n,`${t}.component`,t):t}(t,_.overrides),n({},e,o,{className:Pt(null==e?void 0:e.className,o.className)||void 0}),...r)}function H(n){let e=!1;_.forceInline?e=!0:_.forceBlock||(e=!1===D.test(n));const r=rt(et(e?n:`${n.trimEnd().replace(K,"")}\n\n`,{u:e}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===_.wrapper)return r;const o=_.wrapper||(e?"span":"div");let c;if(r.length>1||_.forceWrapper)c=r;else{if(1===r.length)return c=r[0],"string"==typeof c?G("span",{key:"outer"},c):c;c=null}return t.createElement(o,{key:"outer"},c)}function q(n){const e=n.match(a);return e?e.reduce(function(n,e,o){const c=e.indexOf("=");if(-1!==c){const a=function(t){return-1!==t.indexOf("-")&&null===t.match(E)&&(t=t.replace(O,function(t,n){return n.toUpperCase()})),t}(e.slice(0,c)).trim(),u=function(t){const n=t[0];return('"'===n||"'"===n)&&t.length>=2&&t[t.length-1]===n?t.slice(1,-1):t}(e.slice(c+1).trim()),_=r[a]||a,i=n[_]=function(t,n){return"style"===t?n.split(/;\s?/).reduce(function(t,n){const e=n.slice(0,n.indexOf(":"));return t[e.replace(/(-[a-z])/g,t=>t[1].toUpperCase())]=n.slice(e.length+1).trim(),t},{}):"href"===t?Bt(n):(n.match(L)&&(n=n.slice(1,n.length-1)),"true"===n||"false"!==n&&n)}(a,u);"string"==typeof i&&($.test(i)||A.test(i))&&(n[_]=t.cloneElement(H(i.trim()),{key:o}))}else"style"!==e&&(n[r[e]||e]=!0);return n},{}):void 0}const U=[],tt={},nt={blockQuote:{t:It(i),i:Ht.HIGH,l:(t,n,e)=>({S:n(t[0].replace(s,""),e)}),h:(t,n,e)=>G("blockquote",{key:e.k},n(t.S,e))},breakLine:{t:Mt(l),i:Ht.HIGH,l:Nt,h:(t,n,e)=>G("br",{key:e.k})},breakThematic:{t:It(f),i:Ht.HIGH,l:Nt,h:(t,n,e)=>G("hr",{key:e.k})},codeBlock:{t:It(p),i:Ht.MAX,l:t=>({S:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),R:void 0}),h:(t,e,r)=>G("pre",{key:r.k},G("code",n({},t.I,{className:t.R?`lang-${t.R}`:""}),t.S))},codeFenced:{t:It(d),i:Ht.MAX,l:t=>({I:q(t[3]||""),S:t[4],R:t[2]||void 0,type:"codeBlock"})},codeInline:{t:Rt(g),i:Ht.LOW,l:t=>({S:t[2]}),h:(t,n,e)=>G("code",{key:e.k},t.S)},footnote:{t:It(h),i:Ht.MAX,l:t=>(U.push({M:t[2],O:t[1]}),{}),h:Ft},footnoteReference:{t:Lt(k),i:Ht.HIGH,l:t=>({S:t[1],B:`#${_.slugify(t[1])}`}),h:(t,n,e)=>G("a",{key:e.k,href:Bt(t.B)},G("sup",{key:e.k},t.S))},gfmTask:{t:Lt(b),i:Ht.HIGH,l:t=>({T:"x"===t[1].toLowerCase()}),h:(t,n,e)=>G("input",{checked:t.T,key:e.k,readOnly:!0,type:"checkbox"})},heading:{t:It(v),i:Ht.HIGH,l:(t,n,e)=>({S:jt(n,t[2],e),j:_.slugify(t[2]),C:t[1].length}),h:(t,n,e)=>G(`h${t.C}`,{id:t.j,key:e.k},n(t.S,e))},headingSetext:{t:It(S),i:Ht.MAX,l:(t,n,e)=>({S:jt(n,t[1],e),C:"="===t[2]?1:2,type:"heading"})},htmlComment:{t:Mt(z),i:Ht.HIGH,l:()=>({}),h:Ft},image:{t:Rt(bt),i:Ht.HIGH,l:t=>({Z:t[1],B:Tt(t[2]),D:t[3]}),h:(t,n,e)=>G("img",{key:e.k,alt:t.Z||void 0,title:t.D||void 0,src:Bt(t.B)})},link:{t:Lt(xt),i:Ht.LOW,l:(t,n,e)=>({S:Ct(n,t[1],e),B:Tt(t[2]),D:t[3]}),h:(t,n,e)=>G("a",{key:e.k,href:Bt(t.B),title:t.D},n(t.S,e))},linkAngleBraceStyleDetector:{t:Lt(M),i:Ht.MAX,l:t=>({S:[{S:t[1],type:"text"}],B:t[1],type:"link"})},linkBareUrlDetector:{t:(t,n)=>n.N?null:Lt(R)(t,n),i:Ht.MAX,l:t=>({S:[{S:t[1],type:"text"}],B:t[1],D:void 0,type:"link"})},linkMailtoDetector:{t:Lt(I),i:Ht.MAX,l(t){let n=t[1],e=t[1];return u.test(e)||(e="mailto:"+e),{S:[{S:n.replace("mailto:",""),type:"text"}],B:e,type:"link"}}},orderedList:yt(G,1),unorderedList:yt(G,2),newlineCoalescer:{t:It(m),i:Ht.LOW,l:Nt,h:()=>"\n"},paragraph:{t:Ot,i:Ht.LOW,l:Dt,h:(t,n,e)=>G("p",{key:e.k},n(t.S,e))},ref:{t:Lt(T),i:Ht.MAX,l:t=>(tt[t[1]]={B:t[2],D:t[4]},{}),h:Ft},refImage:{t:Rt(j),i:Ht.MAX,l:t=>({Z:t[1]||void 0,F:t[2]}),h:(t,n,e)=>G("img",{key:e.k,alt:t.Z,src:Bt(tt[t.F].B),title:tt[t.F].D})},refLink:{t:Lt(C),i:Ht.MAX,l:(t,n,e)=>({S:n(t[1],e),P:n(t[0].replace(Z,"\\$1"),e),F:t[2]}),h:(t,n,e)=>tt[t.F]?G("a",{key:e.k,href:Bt(tt[t.F].B),title:tt[t.F].D},n(t.S,e)):G("span",{key:e.k},n(t.P,e))},table:{t:It(B),i:Ht.HIGH,l:Et,h:(t,n,e)=>G("table",{key:e.k},G("thead",null,G("tr",null,t.L.map(function(r,o){return G("th",{key:o,style:At(t,o)},n(r,e))}))),G("tbody",null,t.A.map(function(r,o){return G("tr",{key:o},r.map(function(r,o){return G("td",{key:o,style:At(t,o)},n(r,e))}))})))},tableSeparator:{t:function(t,n){return n.v?F.exec(t):null},i:Ht.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:Mt(J),i:Ht.MIN,l:t=>({S:t[0].replace(w,(t,n)=>_.namedCodesToUnicode[n]?_.namedCodesToUnicode[n]:t)}),h:t=>t.S},textBolded:{t:Rt(V),i:Ht.MED,l:(t,n,e)=>({S:n(t[2],e)}),h:(t,n,e)=>G("strong",{key:e.k},n(t.S,e))},textEmphasized:{t:Rt(W),i:Ht.LOW,l:(t,n,e)=>({S:n(t[2],e)}),h:(t,n,e)=>G("em",{key:e.k},n(t.S,e))},textEscaped:{t:Rt(X),i:Ht.HIGH,l:t=>({S:t[1],type:"text"})},textStrikethroughed:{t:Rt(Q),i:Ht.LOW,l:Dt,h:(t,n,e)=>G("del",{key:e.k},n(t.S,e))}};!0!==_.disableParsingRawHTML&&(nt.htmlBlock={t:Mt($),i:Ht.HIGH,l(t,n,e){const[,r]=t[3].match(Y),o=new RegExp(`^${r}`,"gm"),a=t[3].replace(o,""),u=(_=a,St.some(t=>t.test(_))?Zt:jt);var _;const i=t[1].toLowerCase(),s=-1!==c.indexOf(i);e.N=e.N||"a"===i;const l=s?t[3]:u(n,a,e);return e.N=!1,{I:q(t[2]),S:l,G:s,H:s?i:t[1]}},h:(t,e,r)=>G(t.H,n({key:r.k},t.I),t.G?t.S:e(t.S,r))},nt.htmlSelfClosing={t:Mt(A),i:Ht.HIGH,l:t=>({I:q(t[2]||""),H:t[1]}),h:(t,e,r)=>G(t.H,n({},t.I,{key:r.k}))});const et=function(t){let n=Object.keys(t);function e(r,o){let c=[],a="";for(;r;){let u=0;for(;u<n.length;){const _=n[u],i=t[_],s=i.t(r,o,a);if(s){const t=s[0];r=r.substring(t.length);const n=i.l(s,e,o);null==n.type&&(n.type=_),c.push(n),a=t;break}u++}}return c}return n.sort(function(n,e){let r=t[n].i,o=t[e].i;return r!==o?r-o:n<e?-1:1}),function(t,n){return e(function(t){return t.replace(y,"\n").replace(x,"").replace(N," ")}(t),n)}}(nt),rt=(ot=function(t){return function(n,e,r){return t[n.type].h(n,e,r)}}(nt),function t(n,e={}){if(Array.isArray(n)){const r=e.k,o=[];let c=!1;for(let r=0;r<n.length;r++){e.k=r;const a=t(n[r],e),u="string"==typeof a;u&&c?o[o.length-1]+=a:null!==a&&o.push(a),c=u}return e.k=r,o}return ot(n,t,e)});var ot;const ct=H(e);return U.length?G("div",null,ct,G("footer",{key:"footer"},U.map(function(t){return G("div",{id:_.slugify(t.O),key:t.O},t.O,rt(et(t.M,{u:!0})))}))):ct}!function(t){t[t.MAX=0]="MAX",t[t.HIGH=1]="HIGH",t[t.MED=2]="MED",t[t.LOW=3]="LOW",t[t.MIN=4]="MIN"}(Ht||(Ht={}));export default n=>{let{children:r,options:o}=n,c=function(t,n){if(null==t)return{};var e,r,o={},c=Object.keys(t);for(r=0;r<c.length;r++)n.indexOf(e=c[r])>=0||(o[e]=t[e]);return o}(n,e);return t.cloneElement(qt(r,o),c)};export{qt as compiler};
import*as t from"react";function n(){return n=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},n.apply(this,arguments)}const e=["children","options"],r=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((t,n)=>(t[n.toLowerCase()]=n,t),{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],a=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,_=/mailto:/i,u=/\n{2,}$/,i=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,l=/^ *> ?/gm,s=/^ {2,}\n/,f=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,d=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,p=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,m=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,g=/^(?:\n *)*\n/,y=/\r\n?/g,h=/^\[\^([^\]]+)](:.*)\n/,k=/^\[\^([^\]]+)]/,x=/\f/g,b=/^\s*?\[(x|\s)\]/,v=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,$=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,S=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,z=/&([a-zA-Z]+);/g,w=/^<!--[\s\S]*?(?:-->)/,A=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,E=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L=/^\{.*\}$/,M=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,I=/^<([^ >]+@[^ >]+)>/,O=/^<([^ >]+:\/[^ >]+)>/,B=/-([a-z])?/gi,R=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,T=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,j=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,C=/^\[([^\]]*)\] ?\[([^\]]*)\]/,D=/(\[|\])/g,N=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Z=/\t/g,F=/^ *\| */,P=/(^ *\||\| *$)/g,G=/ *$/,H=/^ *:-+: *$/,q=/^ *:-+ *$/,U=/^ *-+: *$/,V=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,W=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Q=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,X=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,J=/^\\([^0-9A-Za-z\s])/,K=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Y=/^\n+/,tt=/^([ \t]*)/,nt=/\\([^\\])/g,et=/ *\n+$/,rt=/(?:^|\n)( *)$/,ot="(?:\\d+\\.)",ct="(?:[*+-])";function at(t){return"( *)("+(1===t?ot:ct)+") +"}const _t=at(1),ut=at(2);function it(t){return new RegExp("^"+(1===t?_t:ut))}const lt=it(1),st=it(2);function ft(t){return new RegExp("^"+(1===t?_t:ut)+"[^\\n]*(?:\\n(?!\\1"+(1===t?ot:ct)+" )[^\\n]*)*(\\n|$)","gm")}const dt=ft(1),pt=ft(2);function mt(t){const n=1===t?ot:ct;return new RegExp("^( *)("+n+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+n+" (?!"+n+" ))\\n*|\\s*\\n*$)")}const gt=mt(1),yt=mt(2);function ht(t,n){const e=1===n,r=e?gt:yt,o=e?dt:pt,c=e?lt:st;return{t(t,n,e){const o=rt.exec(e);return o&&(n.o||!n._&&!n.u)?r.exec(t=o[1]+t):null},i:Gt.HIGH,l(t,n,r){const a=e?+t[2]:void 0,_=t[0].replace(u,"\n").match(o);let i=!1;return{p:_.map(function(t,e){const o=c.exec(t)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),u=t.replace(a,"").replace(c,""),l=e===_.length-1,s=-1!==u.indexOf("\n\n")||l&&i;i=s;const f=r._,d=r.o;let p;r.o=!0,s?(r._=!1,p=u.replace(et,"\n\n")):(r._=!0,p=u.replace(et,""));const m=n(p,r);return r._=f,r.o=d,m}),m:e,g:a}},h:(n,e,r)=>t(n.m?"ol":"ul",{key:r.k,start:n.g},n.p.map(function(n,o){return t("li",{key:o},e(n,r))}))}}const kt=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,xt=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,bt=[i,d,p,v,$,w,R,dt,gt,pt,yt],vt=[...bt,/^[^\n]+(?: \n|\n{2,})/,S,E];function $t(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function St(t){return U.test(t)?"right":H.test(t)?"center":q.test(t)?"left":null}function zt(t,n,e){const r=e.v;e.v=!0;const o=n(t.trim(),e);e.v=r;let c=[[]];return o.forEach(function(t,n){"tableSeparator"===t.type?0!==n&&n!==o.length-1&&c.push([]):("text"!==t.type||null!=o[n+1]&&"tableSeparator"!==o[n+1].type||(t.$=t.$.replace(G,"")),c[c.length-1].push(t))}),c}function wt(t,n,e){e._=!0;const r=zt(t[1],n,e),o=t[2].replace(P,"").split("|").map(St),c=function(t,n,e){return t.trim().split("\n").map(function(t){return zt(t,n,e)})}(t[3],n,e);return e._=!1,{S:o,A:c,L:r,type:"table"}}function At(t,n){return null==t.S[n]?{}:{textAlign:t.S[n]}}function Et(t){return function(n,e){return e._?t.exec(n):null}}function Lt(t){return function(n,e){return e._||e.u?t.exec(n):null}}function Mt(t){return function(n,e){return e._||e.u?null:t.exec(n)}}function It(t){return function(n){return t.exec(n)}}function Ot(t,n,e){if(n._||n.u)return null;if(e&&!e.endsWith("\n"))return null;let r="";t.split("\n").every(t=>!bt.some(n=>n.test(t))&&(r+=t+"\n",t.trim()));const o=r.trimEnd();return""==o?null:[r,o]}function Bt(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(t){return null}return t}function Rt(t){return t.replace(nt,"$1")}function Tt(t,n,e){const r=e._||!1,o=e.u||!1;e._=!0,e.u=!0;const c=t(n,e);return e._=r,e.u=o,c}function jt(t,n,e){const r=e._||!1,o=e.u||!1;e._=!1,e.u=!0;const c=t(n,e);return e._=r,e.u=o,c}function Ct(t,n,e){return e._=!1,t(n+"\n\n",e)}const Dt=(t,n,e)=>({$:Tt(n,t[1],e)});function Nt(){return{}}function Zt(){return null}function Ft(...t){return t.filter(Boolean).join(" ")}function Pt(t,n,e){let r=t;const o=n.split(".");for(;o.length&&(r=r[o[0]],void 0!==r);)o.shift();return r||e}var Gt;function Ht(e,u={}){u.overrides=u.overrides||{},u.slugify=u.slugify||$t,u.namedCodesToUnicode=u.namedCodesToUnicode?n({},o,u.namedCodesToUnicode):o;const P=u.createElement||t.createElement;function G(t,e,...r){const o=Pt(u.overrides,`${t}.props`,{});return P(function(t,n){const e=Pt(n,t);return e?"function"==typeof e||"object"==typeof e&&"render"in e?e:Pt(n,`${t}.component`,t):t}(t,u.overrides),n({},e,o,{className:Ft(null==e?void 0:e.className,o.className)||void 0}),...r)}function H(n){let e=!1;u.forceInline?e=!0:u.forceBlock||(e=!1===N.test(n));const r=ot(rt(e?n:`${n.trimEnd().replace(Y,"")}\n\n`,{_:e}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===u.wrapper)return r;const o=u.wrapper||(e?"span":"div");let c;if(r.length>1||u.forceWrapper)c=r;else{if(1===r.length)return c=r[0],"string"==typeof c?G("span",{key:"outer"},c):c;c=null}return t.createElement(o,{key:"outer"},c)}function q(n){const e=n.match(a);return e?e.reduce(function(n,e,o){const c=e.indexOf("=");if(-1!==c){const a=function(t){return-1!==t.indexOf("-")&&null===t.match(A)&&(t=t.replace(B,function(t,n){return n.toUpperCase()})),t}(e.slice(0,c)).trim(),_=function(t){const n=t[0];return('"'===n||"'"===n)&&t.length>=2&&t[t.length-1]===n?t.slice(1,-1):t}(e.slice(c+1).trim()),u=r[a]||a,i=n[u]=function(t,n){return"style"===t?n.split(/;\s?/).reduce(function(t,n){const e=n.slice(0,n.indexOf(":"));return t[e.replace(/(-[a-z])/g,t=>t[1].toUpperCase())]=n.slice(e.length+1).trim(),t},{}):"href"===t?Bt(n):(n.match(L)&&(n=n.slice(1,n.length-1)),"true"===n||"false"!==n&&n)}(a,_);"string"==typeof i&&(S.test(i)||E.test(i))&&(n[u]=t.cloneElement(H(i.trim()),{key:o}))}else"style"!==e&&(n[r[e]||e]=!0);return n},{}):null}const U=[],nt={},et={blockQuote:{t:Mt(i),i:Gt.HIGH,l:(t,n,e)=>({$:n(t[0].replace(l,""),e)}),h:(t,n,e)=>G("blockquote",{key:e.k},n(t.$,e))},breakLine:{t:It(s),i:Gt.HIGH,l:Nt,h:(t,n,e)=>G("br",{key:e.k})},breakThematic:{t:Mt(f),i:Gt.HIGH,l:Nt,h:(t,n,e)=>G("hr",{key:e.k})},codeBlock:{t:Mt(p),i:Gt.MAX,l:t=>({$:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(t,e,r)=>G("pre",{key:r.k},G("code",n({},t.I,{className:t.M?`lang-${t.M}`:""}),t.$))},codeFenced:{t:Mt(d),i:Gt.MAX,l:t=>({I:q(t[3]||""),$:t[4],M:t[2]||void 0,type:"codeBlock"})},codeInline:{t:Lt(m),i:Gt.LOW,l:t=>({$:t[2]}),h:(t,n,e)=>G("code",{key:e.k},t.$)},footnote:{t:Mt(h),i:Gt.MAX,l:t=>(U.push({O:t[2],B:t[1]}),{}),h:Zt},footnoteReference:{t:Et(k),i:Gt.HIGH,l:t=>({$:t[1],R:`#${u.slugify(t[1])}`}),h:(t,n,e)=>G("a",{key:e.k,href:Bt(t.R)},G("sup",{key:e.k},t.$))},gfmTask:{t:Et(b),i:Gt.HIGH,l:t=>({T:"x"===t[1].toLowerCase()}),h:(t,n,e)=>G("input",{checked:t.T,key:e.k,readOnly:!0,type:"checkbox"})},heading:{t:Mt(v),i:Gt.HIGH,l:(t,n,e)=>({$:Tt(n,t[2],e),j:u.slugify(t[2]),C:t[1].length}),h:(t,n,e)=>G(`h${t.C}`,{id:t.j,key:e.k},n(t.$,e))},headingSetext:{t:Mt($),i:Gt.MAX,l:(t,n,e)=>({$:Tt(n,t[1],e),C:"="===t[2]?1:2,type:"heading"})},htmlComment:{t:It(w),i:Gt.HIGH,l:()=>({}),h:Zt},image:{t:Lt(xt),i:Gt.HIGH,l:t=>({D:t[1],R:Rt(t[2]),N:t[3]}),h:(t,n,e)=>G("img",{key:e.k,alt:t.D||void 0,title:t.N||void 0,src:Bt(t.R)})},link:{t:Et(kt),i:Gt.LOW,l:(t,n,e)=>({$:jt(n,t[1],e),R:Rt(t[2]),N:t[3]}),h:(t,n,e)=>G("a",{key:e.k,href:Bt(t.R),title:t.N},n(t.$,e))},linkAngleBraceStyleDetector:{t:Et(O),i:Gt.MAX,l:t=>({$:[{$:t[1],type:"text"}],R:t[1],type:"link"})},linkBareUrlDetector:{t:(t,n)=>n.Z?null:Et(M)(t,n),i:Gt.MAX,l:t=>({$:[{$:t[1],type:"text"}],R:t[1],N:void 0,type:"link"})},linkMailtoDetector:{t:Et(I),i:Gt.MAX,l(t){let n=t[1],e=t[1];return _.test(e)||(e="mailto:"+e),{$:[{$:n.replace("mailto:",""),type:"text"}],R:e,type:"link"}}},orderedList:ht(G,1),unorderedList:ht(G,2),newlineCoalescer:{t:Mt(g),i:Gt.LOW,l:Nt,h:()=>"\n"},paragraph:{t:Ot,i:Gt.LOW,l:Dt,h:(t,n,e)=>G("p",{key:e.k},n(t.$,e))},ref:{t:Et(T),i:Gt.MAX,l:t=>(nt[t[1]]={R:t[2],N:t[4]},{}),h:Zt},refImage:{t:Lt(j),i:Gt.MAX,l:t=>({D:t[1]||void 0,F:t[2]}),h:(t,n,e)=>G("img",{key:e.k,alt:t.D,src:Bt(nt[t.F].R),title:nt[t.F].N})},refLink:{t:Et(C),i:Gt.MAX,l:(t,n,e)=>({$:n(t[1],e),P:n(t[0].replace(D,"\\$1"),e),F:t[2]}),h:(t,n,e)=>nt[t.F]?G("a",{key:e.k,href:Bt(nt[t.F].R),title:nt[t.F].N},n(t.$,e)):G("span",{key:e.k},n(t.P,e))},table:{t:Mt(R),i:Gt.HIGH,l:wt,h:(t,n,e)=>G("table",{key:e.k},G("thead",null,G("tr",null,t.L.map(function(r,o){return G("th",{key:o,style:At(t,o)},n(r,e))}))),G("tbody",null,t.A.map(function(r,o){return G("tr",{key:o},r.map(function(r,o){return G("td",{key:o,style:At(t,o)},n(r,e))}))})))},tableSeparator:{t:function(t,n){return n.v?F.exec(t):null},i:Gt.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:It(K),i:Gt.MIN,l:t=>({$:t[0].replace(z,(t,n)=>u.namedCodesToUnicode[n]?u.namedCodesToUnicode[n]:t)}),h:t=>t.$},textBolded:{t:Lt(V),i:Gt.MED,l:(t,n,e)=>({$:n(t[2],e)}),h:(t,n,e)=>G("strong",{key:e.k},n(t.$,e))},textEmphasized:{t:Lt(W),i:Gt.LOW,l:(t,n,e)=>({$:n(t[2],e)}),h:(t,n,e)=>G("em",{key:e.k},n(t.$,e))},textEscaped:{t:Lt(J),i:Gt.HIGH,l:t=>({$:t[1],type:"text"})},textMarked:{t:Lt(Q),i:Gt.LOW,l:Dt,h:(t,n,e)=>G("mark",{key:e.k},n(t.$,e))},textStrikethroughed:{t:Lt(X),i:Gt.LOW,l:Dt,h:(t,n,e)=>G("del",{key:e.k},n(t.$,e))}};!0!==u.disableParsingRawHTML&&(et.htmlBlock={t:It(S),i:Gt.HIGH,l(t,n,e){const[,r]=t[3].match(tt),o=new RegExp(`^${r}`,"gm"),a=t[3].replace(o,""),_=(u=a,vt.some(t=>t.test(u))?Ct:Tt);var u;const i=t[1].toLowerCase(),l=-1!==c.indexOf(i);e.Z=e.Z||"a"===i;const s=l?t[3]:_(n,a,e);return e.Z=!1,{I:q(t[2]),$:s,G:l,H:l?i:t[1]}},h:(t,e,r)=>G(t.H,n({key:r.k},t.I),t.G?t.$:e(t.$,r))},et.htmlSelfClosing={t:It(E),i:Gt.HIGH,l:t=>({I:q(t[2]||""),H:t[1]}),h:(t,e,r)=>G(t.H,n({},t.I,{key:r.k}))});const rt=function(t){let n=Object.keys(t);function e(r,o){let c=[],a="";for(;r;){let _=0;for(;_<n.length;){const u=n[_],i=t[u],l=i.t(r,o,a);if(l){const t=l[0];r=r.substring(t.length);const n=i.l(l,e,o);null==n.type&&(n.type=u),c.push(n),a=t;break}_++}}return c}return n.sort(function(n,e){let r=t[n].i,o=t[e].i;return r!==o?r-o:n<e?-1:1}),function(t,n){return e(function(t){return t.replace(y,"\n").replace(x,"").replace(Z," ")}(t),n)}}(et),ot=(ct=function(t){return function(n,e,r){return t[n.type].h(n,e,r)}}(et),function t(n,e={}){if(Array.isArray(n)){const r=e.k,o=[];let c=!1;for(let r=0;r<n.length;r++){e.k=r;const a=t(n[r],e),_="string"==typeof a;_&&c?o[o.length-1]+=a:null!==a&&o.push(a),c=_}return e.k=r,o}return ct(n,t,e)});var ct;const at=H(e);return U.length?G("div",null,at,G("footer",{key:"footer"},U.map(function(t){return G("div",{id:u.slugify(t.B),key:t.B},t.B,ot(rt(t.O,{_:!0})))}))):at}!function(t){t[t.MAX=0]="MAX",t[t.HIGH=1]="HIGH",t[t.MED=2]="MED",t[t.LOW=3]="LOW",t[t.MIN=4]="MIN"}(Gt||(Gt={}));export default n=>{let{children:r,options:o}=n,c=function(t,n){if(null==t)return{};var e,r,o={},c=Object.keys(t);for(r=0;r<c.length;r++)n.indexOf(e=c[r])>=0||(o[e]=t[e]);return o}(n,e);return t.cloneElement(Ht(r,o),c)};export{Ht as compiler};
//# sourceMappingURL=index.modern.js.map

@@ -1,2 +0,2 @@

import*as n from"react";function r(){return r=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},r.apply(this,arguments)}var t=["children","options"],e=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,r){return n[r.toLowerCase()]=r,n},{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},u=["style","script"],a=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,c=/mailto:/i,i=/\n{2,}$/,_=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,f=/^ *> ?/gm,l=/^ {2,}\n/,s=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,d=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,p=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,g=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,v=/^(?:\n *)*\n/,m=/\r\n?/g,y=/^\[\^([^\]]+)](:.*)\n/,h=/^\[\^([^\]]+)]/,k=/\f/g,x=/^\s*?\[(x|\s)\]/,b=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,S=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,$=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,w=/&([a-zA-Z]+);/g,z=/^<!--[\s\S]*?(?:-->)/,E=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,A=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L=/^\{.*\}$/,R=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,I=/^<([^ >]+@[^ >]+)>/,M=/^<([^ >]+:\/[^ >]+)>/,O=/-([a-z])?/gi,B=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,T=/^\[([^\]]*)\]:\s+(\S+)\s*("([^"]*)")?/,j=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,C=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Z=/(\[|\])/g,D=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,N=/\t/g,F=/^ *\| */,P=/(^ *\||\| *$)/g,G=/ *$/,H=/^ *:-+: *$/,q=/^ *:-+ *$/,U=/^ *-+: *$/,V=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,W=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Q=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,X=/^\\([^0-9A-Za-z\s])/,J=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,K=/^\n+/,Y=/^([ \t]*)/,nn=/\\([^0-9A-Z\s])/gi,rn=/ *\n+$/,tn=/(?:^|\n)( *)$/,en="(?:\\d+\\.)",on="(?:[*+-])";function un(n){return"( *)("+(1===n?en:on)+") +"}var an=un(1),cn=un(2);function _n(n){return new RegExp("^"+(1===n?an:cn))}var fn=_n(1),ln=_n(2);function sn(n){return new RegExp("^"+(1===n?an:cn)+"[^\\n]*(?:\\n(?!\\1"+(1===n?en:on)+" )[^\\n]*)*(\\n|$)","gm")}var dn=sn(1),pn=sn(2);function gn(n){var r=1===n?en:on;return new RegExp("^( *)("+r+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+r+" (?!"+r+" ))\\n*|\\s*\\n*$)")}var vn=gn(1),mn=gn(2);function yn(n,r){var t=1===r,e=t?vn:mn,o=t?dn:pn,u=t?fn:ln;return{t:function(n,r,t){var o=tn.exec(t);return o&&(r.o||!r.u&&!r.i)?e.exec(n=o[1]+n):null},_:Nn.HIGH,l:function(n,r,e){var a=t?+n[2]:void 0,c=n[0].replace(i,"\n").match(o),_=!1;return{p:c.map(function(n,t){var o=u.exec(n)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(a,"").replace(u,""),f=t===c.length-1,l=-1!==i.indexOf("\n\n")||f&&_;_=l;var s,d=e.u,p=e.o;e.o=!0,l?(e.u=!1,s=i.replace(rn,"\n\n")):(e.u=!0,s=i.replace(rn,""));var g=r(s,e);return e.u=d,e.o=p,g}),g:t,v:a}},m:function(r,t,e){return n(r.g?"ol":"ul",{key:e.h,start:r.v},r.p.map(function(r,o){return n("li",{key:o},t(r,e))}))}}}var hn="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",kn="\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",xn=new RegExp("^\\[("+hn+")\\]\\("+kn+"\\)"),bn=new RegExp("^!\\[("+hn+")\\]\\("+kn+"\\)"),Sn=[_,d,p,b,S,z,B,dn,vn,pn,mn],$n=[].concat(Sn,[/^[^\n]+(?: \n|\n{2,})/,$,A]);function wn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function zn(n){return U.test(n)?"right":H.test(n)?"center":q.test(n)?"left":null}function En(n,r,t){var e=t.k;t.k=!0;var o=r(n.trim(),t);t.k=e;var u=[[]];return o.forEach(function(n,r){"tableSeparator"===n.type?0!==r&&r!==o.length-1&&u.push([]):("text"!==n.type||null!=o[r+1]&&"tableSeparator"!==o[r+1].type||(n.S=n.S.replace(G,"")),u[u.length-1].push(n))}),u}function An(n,r,t){t.u=!0;var e=En(n[1],r,t),o=n[2].replace(P,"").split("|").map(zn),u=function(n,r,t){return n.trim().split("\n").map(function(n){return En(n,r,t)})}(n[3],r,t);return t.u=!1,{$:o,A:u,L:e,type:"table"}}function Ln(n,r){return null==n.$[r]?{}:{textAlign:n.$[r]}}function Rn(n){return function(r,t){return t.u?n.exec(r):null}}function In(n){return function(r,t){return t.u||t.i?n.exec(r):null}}function Mn(n){return function(r,t){return t.u||t.i?null:n.exec(r)}}function On(n){return function(r){return n.exec(r)}}function Bn(n,r,t){if(r.u||r.i)return null;if(t&&!t.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!Sn.some(function(r){return r.test(n)})&&(e+=n+"\n",n.trim())});var o=e.trimEnd();return""==o?null:[e,o]}function Tn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function jn(n){return n.replace(nn,"$1")}function Cn(n,r,t){var e=t.u||!1,o=t.i||!1;t.u=!0,t.i=!0;var u=n(r,t);return t.u=e,t.i=o,u}function Zn(n,r,t){var e=t.u||!1,o=t.i||!1;t.u=!1,t.i=!0;var u=n(r,t);return t.u=e,t.i=o,u}function Dn(n,r,t){return t.u=!1,n(r+"\n\n",t)}var Nn,Fn=function(n,r,t){return{S:Cn(r,n[1],t)}};function Pn(){return{}}function Gn(){return null}function Hn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function qn(n,r,t){for(var e=n,o=r.split(".");o.length&&void 0!==(e=e[o[0]]);)o.shift();return e||t}function Un(n,r){var t=qn(r,n);return t?"function"==typeof t||"object"==typeof t&&"render"in t?t:qn(r,n+".component",n):n}function Vn(t,i){void 0===i&&(i={}),i.overrides=i.overrides||{},i.slugify=i.slugify||wn,i.namedCodesToUnicode=i.namedCodesToUnicode?r({},o,i.namedCodesToUnicode):o;var P=i.createElement||n.createElement;function G(n,t){var e=qn(i.overrides,n+".props",{});return P.apply(void 0,[Un(n,i.overrides),r({},t,e,{className:Hn(null==t?void 0:t.className,e.className)||void 0})].concat([].slice.call(arguments,2)))}function H(r){var t=!1;i.forceInline?t=!0:i.forceBlock||(t=!1===D.test(r));for(var e=on(en(t?r:r.trimEnd().replace(K,"")+"\n\n",{u:t}));"string"==typeof e[e.length-1]&&!e[e.length-1].trim();)e.pop();if(null===i.wrapper)return e;var o,u=i.wrapper||(t?"span":"div");if(e.length>1||i.forceWrapper)o=e;else{if(1===e.length)return"string"==typeof(o=e[0])?G("span",{key:"outer"},o):o;o=null}return n.createElement(u,{key:"outer"},o)}function q(r){var t=r.match(a);return t?t.reduce(function(r,t,o){var u=t.indexOf("=");if(-1!==u){var a=function(n){return-1!==n.indexOf("-")&&null===n.match(E)&&(n=n.replace(O,function(n,r){return r.toUpperCase()})),n}(t.slice(0,u)).trim(),c=function(n){var r=n[0];return('"'===r||"'"===r)&&n.length>=2&&n[n.length-1]===r?n.slice(1,-1):n}(t.slice(u+1).trim()),i=e[a]||a,_=r[i]=function(n,r){return"style"===n?r.split(/;\s?/).reduce(function(n,r){var t=r.slice(0,r.indexOf(":"));return n[t.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=r.slice(t.length+1).trim(),n},{}):"href"===n?Tn(r):(r.match(L)&&(r=r.slice(1,r.length-1)),"true"===r||"false"!==r&&r)}(a,c);"string"==typeof _&&($.test(_)||A.test(_))&&(r[i]=n.cloneElement(H(_.trim()),{key:o}))}else"style"!==t&&(r[e[t]||t]=!0);return r},{}):void 0}var U=[],nn={},rn={blockQuote:{t:Mn(_),_:Nn.HIGH,l:function(n,r,t){return{S:r(n[0].replace(f,""),t)}},m:function(n,r,t){return G("blockquote",{key:t.h},r(n.S,t))}},breakLine:{t:On(l),_:Nn.HIGH,l:Pn,m:function(n,r,t){return G("br",{key:t.h})}},breakThematic:{t:Mn(s),_:Nn.HIGH,l:Pn,m:function(n,r,t){return G("hr",{key:t.h})}},codeBlock:{t:Mn(p),_:Nn.MAX,l:function(n){return{S:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),R:void 0}},m:function(n,t,e){return G("pre",{key:e.h},G("code",r({},n.I,{className:n.R?"lang-"+n.R:""}),n.S))}},codeFenced:{t:Mn(d),_:Nn.MAX,l:function(n){return{I:q(n[3]||""),S:n[4],R:n[2]||void 0,type:"codeBlock"}}},codeInline:{t:In(g),_:Nn.LOW,l:function(n){return{S:n[2]}},m:function(n,r,t){return G("code",{key:t.h},n.S)}},footnote:{t:Mn(y),_:Nn.MAX,l:function(n){return U.push({M:n[2],O:n[1]}),{}},m:Gn},footnoteReference:{t:Rn(h),_:Nn.HIGH,l:function(n){return{S:n[1],B:"#"+i.slugify(n[1])}},m:function(n,r,t){return G("a",{key:t.h,href:Tn(n.B)},G("sup",{key:t.h},n.S))}},gfmTask:{t:Rn(x),_:Nn.HIGH,l:function(n){return{T:"x"===n[1].toLowerCase()}},m:function(n,r,t){return G("input",{checked:n.T,key:t.h,readOnly:!0,type:"checkbox"})}},heading:{t:Mn(b),_:Nn.HIGH,l:function(n,r,t){return{S:Cn(r,n[2],t),j:i.slugify(n[2]),C:n[1].length}},m:function(n,r,t){return G("h"+n.C,{id:n.j,key:t.h},r(n.S,t))}},headingSetext:{t:Mn(S),_:Nn.MAX,l:function(n,r,t){return{S:Cn(r,n[1],t),C:"="===n[2]?1:2,type:"heading"}}},htmlComment:{t:On(z),_:Nn.HIGH,l:function(){return{}},m:Gn},image:{t:In(bn),_:Nn.HIGH,l:function(n){return{Z:n[1],B:jn(n[2]),D:n[3]}},m:function(n,r,t){return G("img",{key:t.h,alt:n.Z||void 0,title:n.D||void 0,src:Tn(n.B)})}},link:{t:Rn(xn),_:Nn.LOW,l:function(n,r,t){return{S:Zn(r,n[1],t),B:jn(n[2]),D:n[3]}},m:function(n,r,t){return G("a",{key:t.h,href:Tn(n.B),title:n.D},r(n.S,t))}},linkAngleBraceStyleDetector:{t:Rn(M),_:Nn.MAX,l:function(n){return{S:[{S:n[1],type:"text"}],B:n[1],type:"link"}}},linkBareUrlDetector:{t:function(n,r){return r.N?null:Rn(R)(n,r)},_:Nn.MAX,l:function(n){return{S:[{S:n[1],type:"text"}],B:n[1],D:void 0,type:"link"}}},linkMailtoDetector:{t:Rn(I),_:Nn.MAX,l:function(n){var r=n[1],t=n[1];return c.test(t)||(t="mailto:"+t),{S:[{S:r.replace("mailto:",""),type:"text"}],B:t,type:"link"}}},orderedList:yn(G,1),unorderedList:yn(G,2),newlineCoalescer:{t:Mn(v),_:Nn.LOW,l:Pn,m:function(){return"\n"}},paragraph:{t:Bn,_:Nn.LOW,l:Fn,m:function(n,r,t){return G("p",{key:t.h},r(n.S,t))}},ref:{t:Rn(T),_:Nn.MAX,l:function(n){return nn[n[1]]={B:n[2],D:n[4]},{}},m:Gn},refImage:{t:In(j),_:Nn.MAX,l:function(n){return{Z:n[1]||void 0,F:n[2]}},m:function(n,r,t){return G("img",{key:t.h,alt:n.Z,src:Tn(nn[n.F].B),title:nn[n.F].D})}},refLink:{t:Rn(C),_:Nn.MAX,l:function(n,r,t){return{S:r(n[1],t),P:r(n[0].replace(Z,"\\$1"),t),F:n[2]}},m:function(n,r,t){return nn[n.F]?G("a",{key:t.h,href:Tn(nn[n.F].B),title:nn[n.F].D},r(n.S,t)):G("span",{key:t.h},r(n.P,t))}},table:{t:Mn(B),_:Nn.HIGH,l:An,m:function(n,r,t){return G("table",{key:t.h},G("thead",null,G("tr",null,n.L.map(function(e,o){return G("th",{key:o,style:Ln(n,o)},r(e,t))}))),G("tbody",null,n.A.map(function(e,o){return G("tr",{key:o},e.map(function(e,o){return G("td",{key:o,style:Ln(n,o)},r(e,t))}))})))}},tableSeparator:{t:function(n,r){return r.k?F.exec(n):null},_:Nn.HIGH,l:function(){return{type:"tableSeparator"}},m:function(){return" | "}},text:{t:On(J),_:Nn.MIN,l:function(n){return{S:n[0].replace(w,function(n,r){return i.namedCodesToUnicode[r]?i.namedCodesToUnicode[r]:n})}},m:function(n){return n.S}},textBolded:{t:In(V),_:Nn.MED,l:function(n,r,t){return{S:r(n[2],t)}},m:function(n,r,t){return G("strong",{key:t.h},r(n.S,t))}},textEmphasized:{t:In(W),_:Nn.LOW,l:function(n,r,t){return{S:r(n[2],t)}},m:function(n,r,t){return G("em",{key:t.h},r(n.S,t))}},textEscaped:{t:In(X),_:Nn.HIGH,l:function(n){return{S:n[1],type:"text"}}},textStrikethroughed:{t:In(Q),_:Nn.LOW,l:Fn,m:function(n,r,t){return G("del",{key:t.h},r(n.S,t))}}};!0!==i.disableParsingRawHTML&&(rn.htmlBlock={t:On($),_:Nn.HIGH,l:function(n,r,t){var e,o=n[3].match(Y),a=new RegExp("^"+o[1],"gm"),c=n[3].replace(a,""),i=(e=c,$n.some(function(n){return n.test(e)})?Dn:Cn),_=n[1].toLowerCase(),f=-1!==u.indexOf(_);t.N=t.N||"a"===_;var l=f?n[3]:i(r,c,t);return t.N=!1,{I:q(n[2]),S:l,G:f,H:f?_:n[1]}},m:function(n,t,e){return G(n.H,r({key:e.h},n.I),n.G?n.S:t(n.S,e))}},rn.htmlSelfClosing={t:On(A),_:Nn.HIGH,l:function(n){return{I:q(n[2]||""),H:n[1]}},m:function(n,t,e){return G(n.H,r({},n.I,{key:e.h}))}});var tn,en=function(n){var r=Object.keys(n);function t(e,o){for(var u=[],a="";e;)for(var c=0;c<r.length;){var i=r[c],_=n[i],f=_.t(e,o,a);if(f){var l=f[0];e=e.substring(l.length);var s=_.l(f,t,o);null==s.type&&(s.type=i),u.push(s),a=l;break}c++}return u}return r.sort(function(r,t){var e=n[r]._,o=n[t]._;return e!==o?e-o:r<t?-1:1}),function(n,r){return t(function(n){return n.replace(m,"\n").replace(k,"").replace(N," ")}(n),r)}}(rn),on=(tn=function(n){return function(r,t,e){return n[r.type].m(r,t,e)}}(rn),function n(r,t){if(void 0===t&&(t={}),Array.isArray(r)){for(var e=t.h,o=[],u=!1,a=0;a<r.length;a++){t.h=a;var c=n(r[a],t),i="string"==typeof c;i&&u?o[o.length-1]+=c:null!==c&&o.push(c),u=i}return t.h=e,o}return tn(r,n,t)}),un=H(t);return U.length?G("div",null,un,G("footer",{key:"footer"},U.map(function(n){return G("div",{id:i.slugify(n.O),key:n.O},n.O,on(en(n.M,{u:!0})))}))):un}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Nn||(Nn={}));export default function(r){var e=r.children,o=r.options,u=function(n,r){if(null==n)return{};var t,e,o={},u=Object.keys(n);for(e=0;e<u.length;e++)r.indexOf(t=u[e])>=0||(o[t]=n[t]);return o}(r,t);return n.cloneElement(Vn(e,o),u)}export{Vn as compiler};
import*as n from"react";function r(){return r=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},r.apply(this,arguments)}var t=["children","options"],e=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,r){return n[r.toLowerCase()]=r,n},{for:"htmlFor"}),o={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},u=["style","script"],a=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,c=/mailto:/i,i=/\n{2,}$/,_=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,f=/^ *> ?/gm,l=/^ {2,}\n/,s=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,d=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,p=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,m=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,g=/^(?:\n *)*\n/,v=/\r\n?/g,y=/^\[\^([^\]]+)](:.*)\n/,h=/^\[\^([^\]]+)]/,k=/\f/g,x=/^\s*?\[(x|\s)\]/,b=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,S=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,$=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,z=/&([a-zA-Z]+);/g,w=/^<!--[\s\S]*?(?:-->)/,A=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,E=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L=/^\{.*\}$/,M=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,I=/^<([^ >]+@[^ >]+)>/,O=/^<([^ >]+:\/[^ >]+)>/,B=/-([a-z])?/gi,R=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,T=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,j=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,C=/^\[([^\]]*)\] ?\[([^\]]*)\]/,D=/(\[|\])/g,N=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Z=/\t/g,F=/^ *\| */,P=/(^ *\||\| *$)/g,G=/ *$/,H=/^ *:-+: *$/,q=/^ *:-+ *$/,U=/^ *-+: *$/,V=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,W=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Q=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,X=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,J=/^\\([^0-9A-Za-z\s])/,K=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Y=/^\n+/,nn=/^([ \t]*)/,rn=/\\([^\\])/g,tn=/ *\n+$/,en=/(?:^|\n)( *)$/,on="(?:\\d+\\.)",un="(?:[*+-])";function an(n){return"( *)("+(1===n?on:un)+") +"}var cn=an(1),_n=an(2);function fn(n){return new RegExp("^"+(1===n?cn:_n))}var ln=fn(1),sn=fn(2);function dn(n){return new RegExp("^"+(1===n?cn:_n)+"[^\\n]*(?:\\n(?!\\1"+(1===n?on:un)+" )[^\\n]*)*(\\n|$)","gm")}var pn=dn(1),mn=dn(2);function gn(n){var r=1===n?on:un;return new RegExp("^( *)("+r+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+r+" (?!"+r+" ))\\n*|\\s*\\n*$)")}var vn=gn(1),yn=gn(2);function hn(n,r){var t=1===r,e=t?vn:yn,o=t?pn:mn,u=t?ln:sn;return{t:function(n,r,t){var o=en.exec(t);return o&&(r.o||!r.u&&!r.i)?e.exec(n=o[1]+n):null},_:Nn.HIGH,l:function(n,r,e){var a=t?+n[2]:void 0,c=n[0].replace(i,"\n").match(o),_=!1;return{p:c.map(function(n,t){var o=u.exec(n)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(a,"").replace(u,""),f=t===c.length-1,l=-1!==i.indexOf("\n\n")||f&&_;_=l;var s,d=e.u,p=e.o;e.o=!0,l?(e.u=!1,s=i.replace(tn,"\n\n")):(e.u=!0,s=i.replace(tn,""));var m=r(s,e);return e.u=d,e.o=p,m}),m:t,g:a}},v:function(r,t,e){return n(r.m?"ol":"ul",{key:e.h,start:r.g},r.p.map(function(r,o){return n("li",{key:o},t(r,e))}))}}}var kn=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,xn=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,bn=[_,d,p,b,S,w,R,pn,vn,mn,yn],Sn=[].concat(bn,[/^[^\n]+(?: \n|\n{2,})/,$,E]);function $n(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function zn(n){return U.test(n)?"right":H.test(n)?"center":q.test(n)?"left":null}function wn(n,r,t){var e=t.k;t.k=!0;var o=r(n.trim(),t);t.k=e;var u=[[]];return o.forEach(function(n,r){"tableSeparator"===n.type?0!==r&&r!==o.length-1&&u.push([]):("text"!==n.type||null!=o[r+1]&&"tableSeparator"!==o[r+1].type||(n.S=n.S.replace(G,"")),u[u.length-1].push(n))}),u}function An(n,r,t){t.u=!0;var e=wn(n[1],r,t),o=n[2].replace(P,"").split("|").map(zn),u=function(n,r,t){return n.trim().split("\n").map(function(n){return wn(n,r,t)})}(n[3],r,t);return t.u=!1,{$:o,A:u,L:e,type:"table"}}function En(n,r){return null==n.$[r]?{}:{textAlign:n.$[r]}}function Ln(n){return function(r,t){return t.u?n.exec(r):null}}function Mn(n){return function(r,t){return t.u||t.i?n.exec(r):null}}function In(n){return function(r,t){return t.u||t.i?null:n.exec(r)}}function On(n){return function(r){return n.exec(r)}}function Bn(n,r,t){if(r.u||r.i)return null;if(t&&!t.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!bn.some(function(r){return r.test(n)})&&(e+=n+"\n",n.trim())});var o=e.trimEnd();return""==o?null:[e,o]}function Rn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(n){return null}return n}function Tn(n){return n.replace(rn,"$1")}function jn(n,r,t){var e=t.u||!1,o=t.i||!1;t.u=!0,t.i=!0;var u=n(r,t);return t.u=e,t.i=o,u}function Cn(n,r,t){var e=t.u||!1,o=t.i||!1;t.u=!1,t.i=!0;var u=n(r,t);return t.u=e,t.i=o,u}function Dn(n,r,t){return t.u=!1,n(r+"\n\n",t)}var Nn,Zn=function(n,r,t){return{S:jn(r,n[1],t)}};function Fn(){return{}}function Pn(){return null}function Gn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Hn(n,r,t){for(var e=n,o=r.split(".");o.length&&void 0!==(e=e[o[0]]);)o.shift();return e||t}function qn(n,r){var t=Hn(r,n);return t?"function"==typeof t||"object"==typeof t&&"render"in t?t:Hn(r,n+".component",n):n}function Un(t,i){void 0===i&&(i={}),i.overrides=i.overrides||{},i.slugify=i.slugify||$n,i.namedCodesToUnicode=i.namedCodesToUnicode?r({},o,i.namedCodesToUnicode):o;var P=i.createElement||n.createElement;function G(n,t){var e=Hn(i.overrides,n+".props",{});return P.apply(void 0,[qn(n,i.overrides),r({},t,e,{className:Gn(null==t?void 0:t.className,e.className)||void 0})].concat([].slice.call(arguments,2)))}function H(r){var t=!1;i.forceInline?t=!0:i.forceBlock||(t=!1===N.test(r));for(var e=un(on(t?r:r.trimEnd().replace(Y,"")+"\n\n",{u:t}));"string"==typeof e[e.length-1]&&!e[e.length-1].trim();)e.pop();if(null===i.wrapper)return e;var o,u=i.wrapper||(t?"span":"div");if(e.length>1||i.forceWrapper)o=e;else{if(1===e.length)return"string"==typeof(o=e[0])?G("span",{key:"outer"},o):o;o=null}return n.createElement(u,{key:"outer"},o)}function q(r){var t=r.match(a);return t?t.reduce(function(r,t,o){var u=t.indexOf("=");if(-1!==u){var a=function(n){return-1!==n.indexOf("-")&&null===n.match(A)&&(n=n.replace(B,function(n,r){return r.toUpperCase()})),n}(t.slice(0,u)).trim(),c=function(n){var r=n[0];return('"'===r||"'"===r)&&n.length>=2&&n[n.length-1]===r?n.slice(1,-1):n}(t.slice(u+1).trim()),i=e[a]||a,_=r[i]=function(n,r){return"style"===n?r.split(/;\s?/).reduce(function(n,r){var t=r.slice(0,r.indexOf(":"));return n[t.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=r.slice(t.length+1).trim(),n},{}):"href"===n?Rn(r):(r.match(L)&&(r=r.slice(1,r.length-1)),"true"===r||"false"!==r&&r)}(a,c);"string"==typeof _&&($.test(_)||E.test(_))&&(r[i]=n.cloneElement(H(_.trim()),{key:o}))}else"style"!==t&&(r[e[t]||t]=!0);return r},{}):null}var U=[],rn={},tn={blockQuote:{t:In(_),_:Nn.HIGH,l:function(n,r,t){return{S:r(n[0].replace(f,""),t)}},v:function(n,r,t){return G("blockquote",{key:t.h},r(n.S,t))}},breakLine:{t:On(l),_:Nn.HIGH,l:Fn,v:function(n,r,t){return G("br",{key:t.h})}},breakThematic:{t:In(s),_:Nn.HIGH,l:Fn,v:function(n,r,t){return G("hr",{key:t.h})}},codeBlock:{t:In(p),_:Nn.MAX,l:function(n){return{S:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}},v:function(n,t,e){return G("pre",{key:e.h},G("code",r({},n.I,{className:n.M?"lang-"+n.M:""}),n.S))}},codeFenced:{t:In(d),_:Nn.MAX,l:function(n){return{I:q(n[3]||""),S:n[4],M:n[2]||void 0,type:"codeBlock"}}},codeInline:{t:Mn(m),_:Nn.LOW,l:function(n){return{S:n[2]}},v:function(n,r,t){return G("code",{key:t.h},n.S)}},footnote:{t:In(y),_:Nn.MAX,l:function(n){return U.push({O:n[2],B:n[1]}),{}},v:Pn},footnoteReference:{t:Ln(h),_:Nn.HIGH,l:function(n){return{S:n[1],R:"#"+i.slugify(n[1])}},v:function(n,r,t){return G("a",{key:t.h,href:Rn(n.R)},G("sup",{key:t.h},n.S))}},gfmTask:{t:Ln(x),_:Nn.HIGH,l:function(n){return{T:"x"===n[1].toLowerCase()}},v:function(n,r,t){return G("input",{checked:n.T,key:t.h,readOnly:!0,type:"checkbox"})}},heading:{t:In(b),_:Nn.HIGH,l:function(n,r,t){return{S:jn(r,n[2],t),j:i.slugify(n[2]),C:n[1].length}},v:function(n,r,t){return G("h"+n.C,{id:n.j,key:t.h},r(n.S,t))}},headingSetext:{t:In(S),_:Nn.MAX,l:function(n,r,t){return{S:jn(r,n[1],t),C:"="===n[2]?1:2,type:"heading"}}},htmlComment:{t:On(w),_:Nn.HIGH,l:function(){return{}},v:Pn},image:{t:Mn(xn),_:Nn.HIGH,l:function(n){return{D:n[1],R:Tn(n[2]),N:n[3]}},v:function(n,r,t){return G("img",{key:t.h,alt:n.D||void 0,title:n.N||void 0,src:Rn(n.R)})}},link:{t:Ln(kn),_:Nn.LOW,l:function(n,r,t){return{S:Cn(r,n[1],t),R:Tn(n[2]),N:n[3]}},v:function(n,r,t){return G("a",{key:t.h,href:Rn(n.R),title:n.N},r(n.S,t))}},linkAngleBraceStyleDetector:{t:Ln(O),_:Nn.MAX,l:function(n){return{S:[{S:n[1],type:"text"}],R:n[1],type:"link"}}},linkBareUrlDetector:{t:function(n,r){return r.Z?null:Ln(M)(n,r)},_:Nn.MAX,l:function(n){return{S:[{S:n[1],type:"text"}],R:n[1],N:void 0,type:"link"}}},linkMailtoDetector:{t:Ln(I),_:Nn.MAX,l:function(n){var r=n[1],t=n[1];return c.test(t)||(t="mailto:"+t),{S:[{S:r.replace("mailto:",""),type:"text"}],R:t,type:"link"}}},orderedList:hn(G,1),unorderedList:hn(G,2),newlineCoalescer:{t:In(g),_:Nn.LOW,l:Fn,v:function(){return"\n"}},paragraph:{t:Bn,_:Nn.LOW,l:Zn,v:function(n,r,t){return G("p",{key:t.h},r(n.S,t))}},ref:{t:Ln(T),_:Nn.MAX,l:function(n){return rn[n[1]]={R:n[2],N:n[4]},{}},v:Pn},refImage:{t:Mn(j),_:Nn.MAX,l:function(n){return{D:n[1]||void 0,F:n[2]}},v:function(n,r,t){return G("img",{key:t.h,alt:n.D,src:Rn(rn[n.F].R),title:rn[n.F].N})}},refLink:{t:Ln(C),_:Nn.MAX,l:function(n,r,t){return{S:r(n[1],t),P:r(n[0].replace(D,"\\$1"),t),F:n[2]}},v:function(n,r,t){return rn[n.F]?G("a",{key:t.h,href:Rn(rn[n.F].R),title:rn[n.F].N},r(n.S,t)):G("span",{key:t.h},r(n.P,t))}},table:{t:In(R),_:Nn.HIGH,l:An,v:function(n,r,t){return G("table",{key:t.h},G("thead",null,G("tr",null,n.L.map(function(e,o){return G("th",{key:o,style:En(n,o)},r(e,t))}))),G("tbody",null,n.A.map(function(e,o){return G("tr",{key:o},e.map(function(e,o){return G("td",{key:o,style:En(n,o)},r(e,t))}))})))}},tableSeparator:{t:function(n,r){return r.k?F.exec(n):null},_:Nn.HIGH,l:function(){return{type:"tableSeparator"}},v:function(){return" | "}},text:{t:On(K),_:Nn.MIN,l:function(n){return{S:n[0].replace(z,function(n,r){return i.namedCodesToUnicode[r]?i.namedCodesToUnicode[r]:n})}},v:function(n){return n.S}},textBolded:{t:Mn(V),_:Nn.MED,l:function(n,r,t){return{S:r(n[2],t)}},v:function(n,r,t){return G("strong",{key:t.h},r(n.S,t))}},textEmphasized:{t:Mn(W),_:Nn.LOW,l:function(n,r,t){return{S:r(n[2],t)}},v:function(n,r,t){return G("em",{key:t.h},r(n.S,t))}},textEscaped:{t:Mn(J),_:Nn.HIGH,l:function(n){return{S:n[1],type:"text"}}},textMarked:{t:Mn(Q),_:Nn.LOW,l:Zn,v:function(n,r,t){return G("mark",{key:t.h},r(n.S,t))}},textStrikethroughed:{t:Mn(X),_:Nn.LOW,l:Zn,v:function(n,r,t){return G("del",{key:t.h},r(n.S,t))}}};!0!==i.disableParsingRawHTML&&(tn.htmlBlock={t:On($),_:Nn.HIGH,l:function(n,r,t){var e,o=n[3].match(nn),a=new RegExp("^"+o[1],"gm"),c=n[3].replace(a,""),i=(e=c,Sn.some(function(n){return n.test(e)})?Dn:jn),_=n[1].toLowerCase(),f=-1!==u.indexOf(_);t.Z=t.Z||"a"===_;var l=f?n[3]:i(r,c,t);return t.Z=!1,{I:q(n[2]),S:l,G:f,H:f?_:n[1]}},v:function(n,t,e){return G(n.H,r({key:e.h},n.I),n.G?n.S:t(n.S,e))}},tn.htmlSelfClosing={t:On(E),_:Nn.HIGH,l:function(n){return{I:q(n[2]||""),H:n[1]}},v:function(n,t,e){return G(n.H,r({},n.I,{key:e.h}))}});var en,on=function(n){var r=Object.keys(n);function t(e,o){for(var u=[],a="";e;)for(var c=0;c<r.length;){var i=r[c],_=n[i],f=_.t(e,o,a);if(f){var l=f[0];e=e.substring(l.length);var s=_.l(f,t,o);null==s.type&&(s.type=i),u.push(s),a=l;break}c++}return u}return r.sort(function(r,t){var e=n[r]._,o=n[t]._;return e!==o?e-o:r<t?-1:1}),function(n,r){return t(function(n){return n.replace(v,"\n").replace(k,"").replace(Z," ")}(n),r)}}(tn),un=(en=function(n){return function(r,t,e){return n[r.type].v(r,t,e)}}(tn),function n(r,t){if(void 0===t&&(t={}),Array.isArray(r)){for(var e=t.h,o=[],u=!1,a=0;a<r.length;a++){t.h=a;var c=n(r[a],t),i="string"==typeof c;i&&u?o[o.length-1]+=c:null!==c&&o.push(c),u=i}return t.h=e,o}return en(r,n,t)}),an=H(t);return U.length?G("div",null,an,G("footer",{key:"footer"},U.map(function(n){return G("div",{id:i.slugify(n.B),key:n.B},n.B,un(on(n.O,{u:!0})))}))):an}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Nn||(Nn={}));export default function(r){var e=r.children,o=r.options,u=function(n,r){if(null==n)return{};var t,e,o={},u=Object.keys(n);for(e=0;e<u.length;e++)r.indexOf(t=u[e])>=0||(o[t]=n[t]);return o}(r,t);return n.cloneElement(Un(e,o),u)}export{Un as compiler};
//# sourceMappingURL=index.module.js.map

@@ -1,2 +0,2 @@

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(n||self).MarkdownToJSX=t(n.React)}(this,function(n){function t(n){if(n&&n.t)return n;var t=Object.create(null);return n&&Object.keys(n).forEach(function(r){if("default"!==r){var e=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,e.get?e:{enumerable:!0,get:function(){return n[r]}})}}),t.default=n,t}var r=/*#__PURE__*/t(n);function e(){return e=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n},e.apply(this,arguments)}var u=["children","options"],o=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,t){return n[t.toLowerCase()]=t,n},{for:"htmlFor"}),a={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],i=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,f=/mailto:/i,_=/\n{2,}$/,l=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,s=/^ *> ?/gm,d=/^ {2,}\n/,p=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,g=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,v=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,m=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,y=/^(?:\n *)*\n/,h=/\r\n?/g,k=/^\[\^([^\]]+)](:.*)\n/,b=/^\[\^([^\]]+)]/,x=/\f/g,S=/^\s*?\[(x|\s)\]/,$=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,w=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,z=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,O=/&([a-zA-Z]+);/g,j=/^<!--[\s\S]*?(?:-->)/,E=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,A=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L=/^\{.*\}$/,R=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,T=/^<([^ >]+@[^ >]+)>/,I=/^<([^ >]+:\/[^ >]+)>/,M=/-([a-z])?/gi,B=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,C=/^\[([^\]]*)\]:\s+(\S+)\s*("([^"]*)")?/,Z=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,D=/^\[([^\]]*)\] ?\[([^\]]*)\]/,N=/(\[|\])/g,F=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,P=/\t/g,q=/^ *\| */,G=/(^ *\||\| *$)/g,H=/ *$/,U=/^ *:-+: *$/,V=/^ *:-+ *$/,W=/^ *-+: *$/,Q=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,X=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,J=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,K=/^\\([^0-9A-Za-z\s])/,Y=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,nn=/^\n+/,tn=/^([ \t]*)/,rn=/\\([^0-9A-Z\s])/gi,en=/ *\n+$/,un=/(?:^|\n)( *)$/,on="(?:\\d+\\.)",an="(?:[*+-])";function cn(n){return"( *)("+(1===n?on:an)+") +"}var fn=cn(1),_n=cn(2);function ln(n){return new RegExp("^"+(1===n?fn:_n))}var sn=ln(1),dn=ln(2);function pn(n){return new RegExp("^"+(1===n?fn:_n)+"[^\\n]*(?:\\n(?!\\1"+(1===n?on:an)+" )[^\\n]*)*(\\n|$)","gm")}var gn=pn(1),vn=pn(2);function mn(n){var t=1===n?on:an;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var yn=mn(1),hn=mn(2);function kn(n,t){var r=1===t,e=r?yn:hn,u=r?gn:vn,o=r?sn:dn;return{u:function(n,t,r){var u=un.exec(r);return u&&(t.o||!t.i&&!t._)?e.exec(n=u[1]+n):null},l:Pn.HIGH,p:function(n,t,e){var a=r?+n[2]:void 0,c=n[0].replace(_,"\n").match(u),i=!1;return{g:c.map(function(n,r){var u=o.exec(n)[0].length,a=new RegExp("^ {1,"+u+"}","gm"),f=n.replace(a,"").replace(o,""),_=r===c.length-1,l=-1!==f.indexOf("\n\n")||_&&i;i=l;var s,d=e.i,p=e.o;e.o=!0,l?(e.i=!1,s=f.replace(en,"\n\n")):(e.i=!0,s=f.replace(en,""));var g=t(s,e);return e.i=d,e.o=p,g}),v:r,m:a}},h:function(t,r,e){return n(t.v?"ol":"ul",{key:e.k,start:t.m},t.g.map(function(t,u){return n("li",{key:u},r(t,e))}))}}}var bn="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",xn="\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",Sn=new RegExp("^\\[("+bn+")\\]\\("+xn+"\\)"),$n=new RegExp("^!\\[("+bn+")\\]\\("+xn+"\\)"),wn=[l,g,v,$,w,j,B,gn,yn,vn,hn],zn=[].concat(wn,[/^[^\n]+(?: \n|\n{2,})/,z,A]);function On(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function jn(n){return W.test(n)?"right":U.test(n)?"center":V.test(n)?"left":null}function En(n,t,r){var e=r.S;r.S=!0;var u=t(n.trim(),r);r.S=e;var o=[[]];return u.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==u.length-1&&o.push([]):("text"!==n.type||null!=u[t+1]&&"tableSeparator"!==u[t+1].type||(n.$=n.$.replace(H,"")),o[o.length-1].push(n))}),o}function An(n,t,r){r.i=!0;var e=En(n[1],t,r),u=n[2].replace(G,"").split("|").map(jn),o=function(n,t,r){return n.trim().split("\n").map(function(n){return En(n,t,r)})}(n[3],t,r);return r.i=!1,{O:u,j:o,A:e,type:"table"}}function Ln(n,t){return null==n.O[t]?{}:{textAlign:n.O[t]}}function Rn(n){return function(t,r){return r.i?n.exec(t):null}}function Tn(n){return function(t,r){return r.i||r._?n.exec(t):null}}function In(n){return function(t,r){return r.i||r._?null:n.exec(t)}}function Mn(n){return function(t){return n.exec(t)}}function Bn(n,t,r){if(t.i||t._)return null;if(r&&!r.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!wn.some(function(t){return t.test(n)})&&(e+=n+"\n",n.trim())});var u=e.trimEnd();return""==u?null:[e,u]}function Cn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function Zn(n){return n.replace(rn,"$1")}function Dn(n,t,r){var e=r.i||!1,u=r._||!1;r.i=!0,r._=!0;var o=n(t,r);return r.i=e,r._=u,o}function Nn(n,t,r){var e=r.i||!1,u=r._||!1;r.i=!1,r._=!0;var o=n(t,r);return r.i=e,r._=u,o}function Fn(n,t,r){return r.i=!1,n(t+"\n\n",r)}var Pn,qn=function(n,t,r){return{$:Dn(t,n[1],r)}};function Gn(){return{}}function Hn(){return null}function Un(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Vn(n,t,r){for(var e=n,u=t.split(".");u.length&&void 0!==(e=e[u[0]]);)u.shift();return e||r}function Wn(n,t){var r=Vn(t,n);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:Vn(t,n+".component",n):n}function Qn(n,t){void 0===t&&(t={}),t.overrides=t.overrides||{},t.slugify=t.slugify||On,t.namedCodesToUnicode=t.namedCodesToUnicode?e({},a,t.namedCodesToUnicode):a;var u=t.createElement||r.createElement;function _(n,r){var o=Vn(t.overrides,n+".props",{});return u.apply(void 0,[Wn(n,t.overrides),e({},r,o,{className:Un(null==r?void 0:r.className,o.className)||void 0})].concat([].slice.call(arguments,2)))}function G(n){var e=!1;t.forceInline?e=!0:t.forceBlock||(e=!1===F.test(n));for(var u=un(en(e?n:n.trimEnd().replace(nn,"")+"\n\n",{i:e}));"string"==typeof u[u.length-1]&&!u[u.length-1].trim();)u.pop();if(null===t.wrapper)return u;var o,a=t.wrapper||(e?"span":"div");if(u.length>1||t.forceWrapper)o=u;else{if(1===u.length)return"string"==typeof(o=u[0])?_("span",{key:"outer"},o):o;o=null}return r.createElement(a,{key:"outer"},o)}function H(n){var t=n.match(i);return t?t.reduce(function(n,t,e){var u=t.indexOf("=");if(-1!==u){var a=function(n){return-1!==n.indexOf("-")&&null===n.match(E)&&(n=n.replace(M,function(n,t){return t.toUpperCase()})),n}(t.slice(0,u)).trim(),c=function(n){var t=n[0];return('"'===t||"'"===t)&&n.length>=2&&n[n.length-1]===t?n.slice(1,-1):n}(t.slice(u+1).trim()),i=o[a]||a,f=n[i]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var r=t.slice(0,t.indexOf(":"));return n[r.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(r.length+1).trim(),n},{}):"href"===n?Cn(t):(t.match(L)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(a,c);"string"==typeof f&&(z.test(f)||A.test(f))&&(n[i]=r.cloneElement(G(f.trim()),{key:e}))}else"style"!==t&&(n[o[t]||t]=!0);return n},{}):void 0}var U=[],V={},W={blockQuote:{u:In(l),l:Pn.HIGH,p:function(n,t,r){return{$:t(n[0].replace(s,""),r)}},h:function(n,t,r){return _("blockquote",{key:r.k},t(n.$,r))}},breakLine:{u:Mn(d),l:Pn.HIGH,p:Gn,h:function(n,t,r){return _("br",{key:r.k})}},breakThematic:{u:In(p),l:Pn.HIGH,p:Gn,h:function(n,t,r){return _("hr",{key:r.k})}},codeBlock:{u:In(v),l:Pn.MAX,p:function(n){return{$:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),L:void 0}},h:function(n,t,r){return _("pre",{key:r.k},_("code",e({},n.R,{className:n.L?"lang-"+n.L:""}),n.$))}},codeFenced:{u:In(g),l:Pn.MAX,p:function(n){return{R:H(n[3]||""),$:n[4],L:n[2]||void 0,type:"codeBlock"}}},codeInline:{u:Tn(m),l:Pn.LOW,p:function(n){return{$:n[2]}},h:function(n,t,r){return _("code",{key:r.k},n.$)}},footnote:{u:In(k),l:Pn.MAX,p:function(n){return U.push({T:n[2],I:n[1]}),{}},h:Hn},footnoteReference:{u:Rn(b),l:Pn.HIGH,p:function(n){return{$:n[1],M:"#"+t.slugify(n[1])}},h:function(n,t,r){return _("a",{key:r.k,href:Cn(n.M)},_("sup",{key:r.k},n.$))}},gfmTask:{u:Rn(S),l:Pn.HIGH,p:function(n){return{B:"x"===n[1].toLowerCase()}},h:function(n,t,r){return _("input",{checked:n.B,key:r.k,readOnly:!0,type:"checkbox"})}},heading:{u:In($),l:Pn.HIGH,p:function(n,r,e){return{$:Dn(r,n[2],e),C:t.slugify(n[2]),Z:n[1].length}},h:function(n,t,r){return _("h"+n.Z,{id:n.C,key:r.k},t(n.$,r))}},headingSetext:{u:In(w),l:Pn.MAX,p:function(n,t,r){return{$:Dn(t,n[1],r),Z:"="===n[2]?1:2,type:"heading"}}},htmlComment:{u:Mn(j),l:Pn.HIGH,p:function(){return{}},h:Hn},image:{u:Tn($n),l:Pn.HIGH,p:function(n){return{D:n[1],M:Zn(n[2]),N:n[3]}},h:function(n,t,r){return _("img",{key:r.k,alt:n.D||void 0,title:n.N||void 0,src:Cn(n.M)})}},link:{u:Rn(Sn),l:Pn.LOW,p:function(n,t,r){return{$:Nn(t,n[1],r),M:Zn(n[2]),N:n[3]}},h:function(n,t,r){return _("a",{key:r.k,href:Cn(n.M),title:n.N},t(n.$,r))}},linkAngleBraceStyleDetector:{u:Rn(I),l:Pn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],M:n[1],type:"link"}}},linkBareUrlDetector:{u:function(n,t){return t.F?null:Rn(R)(n,t)},l:Pn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],M:n[1],N:void 0,type:"link"}}},linkMailtoDetector:{u:Rn(T),l:Pn.MAX,p:function(n){var t=n[1],r=n[1];return f.test(r)||(r="mailto:"+r),{$:[{$:t.replace("mailto:",""),type:"text"}],M:r,type:"link"}}},orderedList:kn(_,1),unorderedList:kn(_,2),newlineCoalescer:{u:In(y),l:Pn.LOW,p:Gn,h:function(){return"\n"}},paragraph:{u:Bn,l:Pn.LOW,p:qn,h:function(n,t,r){return _("p",{key:r.k},t(n.$,r))}},ref:{u:Rn(C),l:Pn.MAX,p:function(n){return V[n[1]]={M:n[2],N:n[4]},{}},h:Hn},refImage:{u:Tn(Z),l:Pn.MAX,p:function(n){return{D:n[1]||void 0,P:n[2]}},h:function(n,t,r){return _("img",{key:r.k,alt:n.D,src:Cn(V[n.P].M),title:V[n.P].N})}},refLink:{u:Rn(D),l:Pn.MAX,p:function(n,t,r){return{$:t(n[1],r),q:t(n[0].replace(N,"\\$1"),r),P:n[2]}},h:function(n,t,r){return V[n.P]?_("a",{key:r.k,href:Cn(V[n.P].M),title:V[n.P].N},t(n.$,r)):_("span",{key:r.k},t(n.q,r))}},table:{u:In(B),l:Pn.HIGH,p:An,h:function(n,t,r){return _("table",{key:r.k},_("thead",null,_("tr",null,n.A.map(function(e,u){return _("th",{key:u,style:Ln(n,u)},t(e,r))}))),_("tbody",null,n.j.map(function(e,u){return _("tr",{key:u},e.map(function(e,u){return _("td",{key:u,style:Ln(n,u)},t(e,r))}))})))}},tableSeparator:{u:function(n,t){return t.S?q.exec(n):null},l:Pn.HIGH,p:function(){return{type:"tableSeparator"}},h:function(){return" | "}},text:{u:Mn(Y),l:Pn.MIN,p:function(n){return{$:n[0].replace(O,function(n,r){return t.namedCodesToUnicode[r]?t.namedCodesToUnicode[r]:n})}},h:function(n){return n.$}},textBolded:{u:Tn(Q),l:Pn.MED,p:function(n,t,r){return{$:t(n[2],r)}},h:function(n,t,r){return _("strong",{key:r.k},t(n.$,r))}},textEmphasized:{u:Tn(X),l:Pn.LOW,p:function(n,t,r){return{$:t(n[2],r)}},h:function(n,t,r){return _("em",{key:r.k},t(n.$,r))}},textEscaped:{u:Tn(K),l:Pn.HIGH,p:function(n){return{$:n[1],type:"text"}}},textStrikethroughed:{u:Tn(J),l:Pn.LOW,p:qn,h:function(n,t,r){return _("del",{key:r.k},t(n.$,r))}}};!0!==t.disableParsingRawHTML&&(W.htmlBlock={u:Mn(z),l:Pn.HIGH,p:function(n,t,r){var e,u=n[3].match(tn),o=new RegExp("^"+u[1],"gm"),a=n[3].replace(o,""),i=(e=a,zn.some(function(n){return n.test(e)})?Fn:Dn),f=n[1].toLowerCase(),_=-1!==c.indexOf(f);r.F=r.F||"a"===f;var l=_?n[3]:i(t,a,r);return r.F=!1,{R:H(n[2]),$:l,G:_,H:_?f:n[1]}},h:function(n,t,r){return _(n.H,e({key:r.k},n.R),n.G?n.$:t(n.$,r))}},W.htmlSelfClosing={u:Mn(A),l:Pn.HIGH,p:function(n){return{R:H(n[2]||""),H:n[1]}},h:function(n,t,r){return _(n.H,e({},n.R,{key:r.k}))}});var rn,en=function(n){var t=Object.keys(n);function r(e,u){for(var o=[],a="";e;)for(var c=0;c<t.length;){var i=t[c],f=n[i],_=f.u(e,u,a);if(_){var l=_[0];e=e.substring(l.length);var s=f.p(_,r,u);null==s.type&&(s.type=i),o.push(s),a=l;break}c++}return o}return t.sort(function(t,r){var e=n[t].l,u=n[r].l;return e!==u?e-u:t<r?-1:1}),function(n,t){return r(function(n){return n.replace(h,"\n").replace(x,"").replace(P," ")}(n),t)}}(W),un=(rn=function(n){return function(t,r,e){return n[t.type].h(t,r,e)}}(W),function n(t,r){if(void 0===r&&(r={}),Array.isArray(t)){for(var e=r.k,u=[],o=!1,a=0;a<t.length;a++){r.k=a;var c=n(t[a],r),i="string"==typeof c;i&&o?u[u.length-1]+=c:null!==c&&u.push(c),o=i}return r.k=e,u}return rn(t,n,r)}),on=G(n);return U.length?_("div",null,on,_("footer",{key:"footer"},U.map(function(n){return _("div",{id:t.slugify(n.I),key:n.I},n.I,un(en(n.T,{i:!0})))}))):on}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Pn||(Pn={}));var Xn=function(n){var t=n.children,e=n.options,o=function(n,t){if(null==n)return{};var r,e,u={},o=Object.keys(n);for(e=0;e<o.length;e++)t.indexOf(r=o[e])>=0||(u[r]=n[r]);return u}(n,u);return r.cloneElement(Qn(t,e),o)};return Object.assign(Xn,{compiler:Qn}),Xn});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(n||self).MarkdownToJSX=t(n.React)}(this,function(n){function t(n){if(n&&n.t)return n;var t=Object.create(null);return n&&Object.keys(n).forEach(function(r){if("default"!==r){var e=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,e.get?e:{enumerable:!0,get:function(){return n[r]}})}}),t.default=n,t}var r=/*#__PURE__*/t(n);function e(){return e=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n},e.apply(this,arguments)}var u=["children","options"],o=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,t){return n[t.toLowerCase()]=t,n},{for:"htmlFor"}),a={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],i=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,f=/mailto:/i,_=/\n{2,}$/,l=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,s=/^ *> ?/gm,d=/^ {2,}\n/,p=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,m=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,g=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,v=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,y=/^(?:\n *)*\n/,h=/\r\n?/g,k=/^\[\^([^\]]+)](:.*)\n/,b=/^\[\^([^\]]+)]/,x=/\f/g,S=/^\s*?\[(x|\s)\]/,$=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,z=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,O=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,j=/&([a-zA-Z]+);/g,w=/^<!--[\s\S]*?(?:-->)/,A=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,E=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L=/^\{.*\}$/,M=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,T=/^<([^ >]+@[^ >]+)>/,I=/^<([^ >]+:\/[^ >]+)>/,B=/-([a-z])?/gi,R=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,C=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,D=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,N=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Z=/(\[|\])/g,F=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,P=/\t/g,q=/^ *\| */,G=/(^ *\||\| *$)/g,H=/ *$/,U=/^ *:-+: *$/,V=/^ *:-+ *$/,W=/^ *-+: *$/,Q=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,X=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,J=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,K=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,Y=/^\\([^0-9A-Za-z\s])/,nn=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,tn=/^\n+/,rn=/^([ \t]*)/,en=/\\([^\\])/g,un=/ *\n+$/,on=/(?:^|\n)( *)$/,an="(?:\\d+\\.)",cn="(?:[*+-])";function fn(n){return"( *)("+(1===n?an:cn)+") +"}var _n=fn(1),ln=fn(2);function sn(n){return new RegExp("^"+(1===n?_n:ln))}var dn=sn(1),pn=sn(2);function mn(n){return new RegExp("^"+(1===n?_n:ln)+"[^\\n]*(?:\\n(?!\\1"+(1===n?an:cn)+" )[^\\n]*)*(\\n|$)","gm")}var gn=mn(1),vn=mn(2);function yn(n){var t=1===n?an:cn;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var hn=yn(1),kn=yn(2);function bn(n,t){var r=1===t,e=r?hn:kn,u=r?gn:vn,o=r?dn:pn;return{u:function(n,t,r){var u=on.exec(r);return u&&(t.o||!t.i&&!t._)?e.exec(n=u[1]+n):null},l:Fn.HIGH,p:function(n,t,e){var a=r?+n[2]:void 0,c=n[0].replace(_,"\n").match(u),i=!1;return{m:c.map(function(n,r){var u=o.exec(n)[0].length,a=new RegExp("^ {1,"+u+"}","gm"),f=n.replace(a,"").replace(o,""),_=r===c.length-1,l=-1!==f.indexOf("\n\n")||_&&i;i=l;var s,d=e.i,p=e.o;e.o=!0,l?(e.i=!1,s=f.replace(un,"\n\n")):(e.i=!0,s=f.replace(un,""));var m=t(s,e);return e.i=d,e.o=p,m}),g:r,v:a}},h:function(t,r,e){return n(t.g?"ol":"ul",{key:e.k,start:t.v},t.m.map(function(t,u){return n("li",{key:u},r(t,e))}))}}}var xn=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Sn=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,$n=[l,m,g,$,z,w,R,gn,hn,vn,kn],zn=[].concat($n,[/^[^\n]+(?: \n|\n{2,})/,O,E]);function On(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function jn(n){return W.test(n)?"right":U.test(n)?"center":V.test(n)?"left":null}function wn(n,t,r){var e=r.S;r.S=!0;var u=t(n.trim(),r);r.S=e;var o=[[]];return u.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==u.length-1&&o.push([]):("text"!==n.type||null!=u[t+1]&&"tableSeparator"!==u[t+1].type||(n.$=n.$.replace(H,"")),o[o.length-1].push(n))}),o}function An(n,t,r){r.i=!0;var e=wn(n[1],t,r),u=n[2].replace(G,"").split("|").map(jn),o=function(n,t,r){return n.trim().split("\n").map(function(n){return wn(n,t,r)})}(n[3],t,r);return r.i=!1,{O:u,j:o,A:e,type:"table"}}function En(n,t){return null==n.O[t]?{}:{textAlign:n.O[t]}}function Ln(n){return function(t,r){return r.i?n.exec(t):null}}function Mn(n){return function(t,r){return r.i||r._?n.exec(t):null}}function Tn(n){return function(t,r){return r.i||r._?null:n.exec(t)}}function In(n){return function(t){return n.exec(t)}}function Bn(n,t,r){if(t.i||t._)return null;if(r&&!r.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!$n.some(function(t){return t.test(n)})&&(e+=n+"\n",n.trim())});var u=e.trimEnd();return""==u?null:[e,u]}function Rn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(n){return null}return n}function Cn(n){return n.replace(en,"$1")}function Dn(n,t,r){var e=r.i||!1,u=r._||!1;r.i=!0,r._=!0;var o=n(t,r);return r.i=e,r._=u,o}function Nn(n,t,r){var e=r.i||!1,u=r._||!1;r.i=!1,r._=!0;var o=n(t,r);return r.i=e,r._=u,o}function Zn(n,t,r){return r.i=!1,n(t+"\n\n",r)}var Fn,Pn=function(n,t,r){return{$:Dn(t,n[1],r)}};function qn(){return{}}function Gn(){return null}function Hn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Un(n,t,r){for(var e=n,u=t.split(".");u.length&&void 0!==(e=e[u[0]]);)u.shift();return e||r}function Vn(n,t){var r=Un(t,n);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:Un(t,n+".component",n):n}function Wn(n,t){void 0===t&&(t={}),t.overrides=t.overrides||{},t.slugify=t.slugify||On,t.namedCodesToUnicode=t.namedCodesToUnicode?e({},a,t.namedCodesToUnicode):a;var u=t.createElement||r.createElement;function _(n,r){var o=Un(t.overrides,n+".props",{});return u.apply(void 0,[Vn(n,t.overrides),e({},r,o,{className:Hn(null==r?void 0:r.className,o.className)||void 0})].concat([].slice.call(arguments,2)))}function G(n){var e=!1;t.forceInline?e=!0:t.forceBlock||(e=!1===F.test(n));for(var u=on(un(e?n:n.trimEnd().replace(tn,"")+"\n\n",{i:e}));"string"==typeof u[u.length-1]&&!u[u.length-1].trim();)u.pop();if(null===t.wrapper)return u;var o,a=t.wrapper||(e?"span":"div");if(u.length>1||t.forceWrapper)o=u;else{if(1===u.length)return"string"==typeof(o=u[0])?_("span",{key:"outer"},o):o;o=null}return r.createElement(a,{key:"outer"},o)}function H(n){var t=n.match(i);return t?t.reduce(function(n,t,e){var u=t.indexOf("=");if(-1!==u){var a=function(n){return-1!==n.indexOf("-")&&null===n.match(A)&&(n=n.replace(B,function(n,t){return t.toUpperCase()})),n}(t.slice(0,u)).trim(),c=function(n){var t=n[0];return('"'===t||"'"===t)&&n.length>=2&&n[n.length-1]===t?n.slice(1,-1):n}(t.slice(u+1).trim()),i=o[a]||a,f=n[i]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var r=t.slice(0,t.indexOf(":"));return n[r.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(r.length+1).trim(),n},{}):"href"===n?Rn(t):(t.match(L)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(a,c);"string"==typeof f&&(O.test(f)||E.test(f))&&(n[i]=r.cloneElement(G(f.trim()),{key:e}))}else"style"!==t&&(n[o[t]||t]=!0);return n},{}):null}var U=[],V={},W={blockQuote:{u:Tn(l),l:Fn.HIGH,p:function(n,t,r){return{$:t(n[0].replace(s,""),r)}},h:function(n,t,r){return _("blockquote",{key:r.k},t(n.$,r))}},breakLine:{u:In(d),l:Fn.HIGH,p:qn,h:function(n,t,r){return _("br",{key:r.k})}},breakThematic:{u:Tn(p),l:Fn.HIGH,p:qn,h:function(n,t,r){return _("hr",{key:r.k})}},codeBlock:{u:Tn(g),l:Fn.MAX,p:function(n){return{$:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),L:void 0}},h:function(n,t,r){return _("pre",{key:r.k},_("code",e({},n.M,{className:n.L?"lang-"+n.L:""}),n.$))}},codeFenced:{u:Tn(m),l:Fn.MAX,p:function(n){return{M:H(n[3]||""),$:n[4],L:n[2]||void 0,type:"codeBlock"}}},codeInline:{u:Mn(v),l:Fn.LOW,p:function(n){return{$:n[2]}},h:function(n,t,r){return _("code",{key:r.k},n.$)}},footnote:{u:Tn(k),l:Fn.MAX,p:function(n){return U.push({T:n[2],I:n[1]}),{}},h:Gn},footnoteReference:{u:Ln(b),l:Fn.HIGH,p:function(n){return{$:n[1],B:"#"+t.slugify(n[1])}},h:function(n,t,r){return _("a",{key:r.k,href:Rn(n.B)},_("sup",{key:r.k},n.$))}},gfmTask:{u:Ln(S),l:Fn.HIGH,p:function(n){return{R:"x"===n[1].toLowerCase()}},h:function(n,t,r){return _("input",{checked:n.R,key:r.k,readOnly:!0,type:"checkbox"})}},heading:{u:Tn($),l:Fn.HIGH,p:function(n,r,e){return{$:Dn(r,n[2],e),C:t.slugify(n[2]),D:n[1].length}},h:function(n,t,r){return _("h"+n.D,{id:n.C,key:r.k},t(n.$,r))}},headingSetext:{u:Tn(z),l:Fn.MAX,p:function(n,t,r){return{$:Dn(t,n[1],r),D:"="===n[2]?1:2,type:"heading"}}},htmlComment:{u:In(w),l:Fn.HIGH,p:function(){return{}},h:Gn},image:{u:Mn(Sn),l:Fn.HIGH,p:function(n){return{N:n[1],B:Cn(n[2]),Z:n[3]}},h:function(n,t,r){return _("img",{key:r.k,alt:n.N||void 0,title:n.Z||void 0,src:Rn(n.B)})}},link:{u:Ln(xn),l:Fn.LOW,p:function(n,t,r){return{$:Nn(t,n[1],r),B:Cn(n[2]),Z:n[3]}},h:function(n,t,r){return _("a",{key:r.k,href:Rn(n.B),title:n.Z},t(n.$,r))}},linkAngleBraceStyleDetector:{u:Ln(I),l:Fn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],B:n[1],type:"link"}}},linkBareUrlDetector:{u:function(n,t){return t.F?null:Ln(M)(n,t)},l:Fn.MAX,p:function(n){return{$:[{$:n[1],type:"text"}],B:n[1],Z:void 0,type:"link"}}},linkMailtoDetector:{u:Ln(T),l:Fn.MAX,p:function(n){var t=n[1],r=n[1];return f.test(r)||(r="mailto:"+r),{$:[{$:t.replace("mailto:",""),type:"text"}],B:r,type:"link"}}},orderedList:bn(_,1),unorderedList:bn(_,2),newlineCoalescer:{u:Tn(y),l:Fn.LOW,p:qn,h:function(){return"\n"}},paragraph:{u:Bn,l:Fn.LOW,p:Pn,h:function(n,t,r){return _("p",{key:r.k},t(n.$,r))}},ref:{u:Ln(C),l:Fn.MAX,p:function(n){return V[n[1]]={B:n[2],Z:n[4]},{}},h:Gn},refImage:{u:Mn(D),l:Fn.MAX,p:function(n){return{N:n[1]||void 0,P:n[2]}},h:function(n,t,r){return _("img",{key:r.k,alt:n.N,src:Rn(V[n.P].B),title:V[n.P].Z})}},refLink:{u:Ln(N),l:Fn.MAX,p:function(n,t,r){return{$:t(n[1],r),q:t(n[0].replace(Z,"\\$1"),r),P:n[2]}},h:function(n,t,r){return V[n.P]?_("a",{key:r.k,href:Rn(V[n.P].B),title:V[n.P].Z},t(n.$,r)):_("span",{key:r.k},t(n.q,r))}},table:{u:Tn(R),l:Fn.HIGH,p:An,h:function(n,t,r){return _("table",{key:r.k},_("thead",null,_("tr",null,n.A.map(function(e,u){return _("th",{key:u,style:En(n,u)},t(e,r))}))),_("tbody",null,n.j.map(function(e,u){return _("tr",{key:u},e.map(function(e,u){return _("td",{key:u,style:En(n,u)},t(e,r))}))})))}},tableSeparator:{u:function(n,t){return t.S?q.exec(n):null},l:Fn.HIGH,p:function(){return{type:"tableSeparator"}},h:function(){return" | "}},text:{u:In(nn),l:Fn.MIN,p:function(n){return{$:n[0].replace(j,function(n,r){return t.namedCodesToUnicode[r]?t.namedCodesToUnicode[r]:n})}},h:function(n){return n.$}},textBolded:{u:Mn(Q),l:Fn.MED,p:function(n,t,r){return{$:t(n[2],r)}},h:function(n,t,r){return _("strong",{key:r.k},t(n.$,r))}},textEmphasized:{u:Mn(X),l:Fn.LOW,p:function(n,t,r){return{$:t(n[2],r)}},h:function(n,t,r){return _("em",{key:r.k},t(n.$,r))}},textEscaped:{u:Mn(Y),l:Fn.HIGH,p:function(n){return{$:n[1],type:"text"}}},textMarked:{u:Mn(J),l:Fn.LOW,p:Pn,h:function(n,t,r){return _("mark",{key:r.k},t(n.$,r))}},textStrikethroughed:{u:Mn(K),l:Fn.LOW,p:Pn,h:function(n,t,r){return _("del",{key:r.k},t(n.$,r))}}};!0!==t.disableParsingRawHTML&&(W.htmlBlock={u:In(O),l:Fn.HIGH,p:function(n,t,r){var e,u=n[3].match(rn),o=new RegExp("^"+u[1],"gm"),a=n[3].replace(o,""),i=(e=a,zn.some(function(n){return n.test(e)})?Zn:Dn),f=n[1].toLowerCase(),_=-1!==c.indexOf(f);r.F=r.F||"a"===f;var l=_?n[3]:i(t,a,r);return r.F=!1,{M:H(n[2]),$:l,G:_,H:_?f:n[1]}},h:function(n,t,r){return _(n.H,e({key:r.k},n.M),n.G?n.$:t(n.$,r))}},W.htmlSelfClosing={u:In(E),l:Fn.HIGH,p:function(n){return{M:H(n[2]||""),H:n[1]}},h:function(n,t,r){return _(n.H,e({},n.M,{key:r.k}))}});var en,un=function(n){var t=Object.keys(n);function r(e,u){for(var o=[],a="";e;)for(var c=0;c<t.length;){var i=t[c],f=n[i],_=f.u(e,u,a);if(_){var l=_[0];e=e.substring(l.length);var s=f.p(_,r,u);null==s.type&&(s.type=i),o.push(s),a=l;break}c++}return o}return t.sort(function(t,r){var e=n[t].l,u=n[r].l;return e!==u?e-u:t<r?-1:1}),function(n,t){return r(function(n){return n.replace(h,"\n").replace(x,"").replace(P," ")}(n),t)}}(W),on=(en=function(n){return function(t,r,e){return n[t.type].h(t,r,e)}}(W),function n(t,r){if(void 0===r&&(r={}),Array.isArray(t)){for(var e=r.k,u=[],o=!1,a=0;a<t.length;a++){r.k=a;var c=n(t[a],r),i="string"==typeof c;i&&o?u[u.length-1]+=c:null!==c&&u.push(c),o=i}return r.k=e,u}return en(t,n,r)}),an=G(n);return U.length?_("div",null,an,_("footer",{key:"footer"},U.map(function(n){return _("div",{id:t.slugify(n.I),key:n.I},n.I,on(un(n.T,{i:!0})))}))):an}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Fn||(Fn={}));var Qn=function(n){var t=n.children,e=n.options,o=function(n,t){if(null==n)return{};var r,e,u={},o=Object.keys(n);for(e=0;e<o.length;e++)t.indexOf(r=o[e])>=0||(u[r]=n[r]);return u}(n,u);return r.cloneElement(Wn(t,e),o)};return Object.assign(Qn,{compiler:Wn}),Qn});
//# sourceMappingURL=index.umd.js.map

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "7.1.9",
"version": "7.2.0",
"engines": {

@@ -28,5 +28,8 @@ "node": ">= 10"

"exports": {
"import": "./dist/index.modern.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"./package.json": "./package.json",
".": {
"import": "./dist/index.modern.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},

@@ -33,0 +36,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc