Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample code to render markdown client-side on Teachable
parcelRequire=function(e,r,n,t){var i="function"==typeof parcelRequire&&parcelRequire,o="function"==typeof require&&require;function u(n,t){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!t&&f)return f(n,!0);if(i)return i(n,!0);if(o&&"string"==typeof n)return o(n);var c=new Error("Cannot find module '"+n+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[n][1][r]||r},p.cache={};var l=r[n]=new u.Module(n);e[n][0].call(l.exports,p,l,l.exports,this)}return r[n].exports;function p(e){return u(p.resolve(e))}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.exports={}},u.modules=e,u.cache=r,u.parent=i,u.register=function(r,n){e[r]=[function(e,r){r.exports=n},{}]};for(var f=0;f<n.length;f++)u(n[f]);if(n.length){var c=u(n[n.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=c:"function"==typeof define&&define.amd?define(function(){return c}):t&&(this[t]=c)}return u}({"5bmg":[function(require,module,exports) {
"use strict";var r=Object.prototype.hasOwnProperty,t=Object.prototype.toString,e=Object.defineProperty,o=Object.getOwnPropertyDescriptor,n=function(r){return"function"==typeof Array.isArray?Array.isArray(r):"[object Array]"===t.call(r)},c=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var o,n=r.call(e,"constructor"),c=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!c)return!1;for(o in e);return void 0===o||r.call(e,o)},u=function(r,t){e&&"__proto__"===t.name?e(r,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):r[t.name]=t.newValue},a=function(t,e){if("__proto__"===e){if(!r.call(t,e))return;if(o)return o(t,e).value}return t[e]};module.exports=function r(){var t,e,o,l,i,f,p=arguments[0],y=1,s=arguments.length,b=!1;for("boolean"==typeof p&&(b=p,p=arguments[1]||{},y=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});y<s;++y)if(null!=(t=arguments[y]))for(e in t)o=a(p,e),p!==(l=a(t,e))&&(b&&l&&(c(l)||(i=n(l)))?(i?(i=!1,f=o&&n(o)?o:[]):f=o&&c(o)?o:{},u(p,{name:e,newValue:r(b,f,l)})):void 0!==l&&u(p,{name:e,newValue:l}));return p};
},{}],"TqW3":[function(require,module,exports) {
"use strict";function t(t){if(t)throw t}module.exports=t;
},{}],"zhih":[function(require,module,exports) {
"use strict";var t={}.hasOwnProperty;function n(n){return n&&"object"==typeof n?t.call(n,"position")||t.call(n,"type")?l(n.position):t.call(n,"start")||t.call(n,"end")?l(n):t.call(n,"line")||t.call(n,"column")?e(n):null:null}function e(t){return t&&"object"==typeof t||(t={}),o(t.line)+":"+o(t.column)}function l(t){return t&&"object"==typeof t||(t={}),e(t.start)+"-"+e(t.end)}function o(t){return t&&"number"==typeof t?t:1}module.exports=n;
},{}],"vzNg":[function(require,module,exports) {
"use strict";var t=require("unist-util-stringify-position");function n(){}module.exports=s,n.prototype=Error.prototype,s.prototype=new n;var l=s.prototype;function s(n,l,s){var e,o,r;"string"==typeof l&&(s=l,l=null),e=i(s),o=t(l)||"1:1",r={start:{line:null,column:null},end:{line:null,column:null}},l&&l.position&&(l=l.position),l&&(l.start?(r=l,l=l.start):r.start=l),n.stack&&(this.stack=n.stack,n=n.message),this.message=n,this.name=o,this.reason=n,this.line=l?l.line:null,this.column=l?l.column:null,this.location=r,this.source=e[0],this.ruleId=e[1]}function i(t){var n,l=[null,null];return"string"==typeof t&&(-1===(n=t.indexOf(":"))?l[1]=t:(l[0]=t.slice(0,n),l[1]=t.slice(n+1))),l}l.file="",l.name="",l.reason="",l.message="",l.stack="",l.fatal=null,l.column=null,l.line=null;
},{"unist-util-stringify-position":"zhih"}],"g5I+":[function(require,module,exports) {
var t,e,n=module.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function u(t){if(e===clearTimeout)return clearTimeout(t);if((e===o||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(t);try{return e(t)}catch(n){try{return e.call(null,t)}catch(n){return e.call(this,t)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(n){t=r}try{e="function"==typeof clearTimeout?clearTimeout:o}catch(n){e=o}}();var c,s=[],l=!1,a=-1;function f(){l&&c&&(l=!1,c.length?s=c.concat(s):a=-1,s.length&&h())}function h(){if(!l){var t=i(f);l=!0;for(var e=s.length;e;){for(c=s,s=[];++a<e;)c&&c[a].run();a=-1,e=s.length}c=null,l=!1,u(t)}}function m(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];s.push(new m(t,e)),1!==s.length||l||i(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0};
},{}],"sNrv":[function(require,module,exports) {
var process = require("process");
var r=require("process");function t(r,t){for(var e=0,n=r.length-1;n>=0;n--){var s=r[n];"."===s?r.splice(n,1):".."===s?(r.splice(n,1),e++):e&&(r.splice(n,1),e--)}if(t)for(;e--;e)r.unshift("..");return r}var e=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,n=function(r){return e.exec(r).slice(1)};function s(r,t){if(r.filter)return r.filter(t);for(var e=[],n=0;n<r.length;n++)t(r[n],n,r)&&e.push(r[n]);return e}exports.resolve=function(){for(var e="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var i=o>=0?arguments[o]:r.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,n="/"===i.charAt(0))}return(n?"/":"")+(e=t(s(e.split("/"),function(r){return!!r}),!n).join("/"))||"."},exports.normalize=function(r){var e=exports.isAbsolute(r),n="/"===o(r,-1);return(r=t(s(r.split("/"),function(r){return!!r}),!e).join("/"))||e||(r="."),r&&n&&(r+="/"),(e?"/":"")+r},exports.isAbsolute=function(r){return"/"===r.charAt(0)},exports.join=function(){var r=Array.prototype.slice.call(arguments,0);return exports.normalize(s(r,function(r,t){if("string"!=typeof r)throw new TypeError("Arguments to path.join must be strings");return r}).join("/"))},exports.relative=function(r,t){function e(r){for(var t=0;t<r.length&&""===r[t];t++);for(var e=r.length-1;e>=0&&""===r[e];e--);return t>e?[]:r.slice(t,e-t+1)}r=exports.resolve(r).substr(1),t=exports.resolve(t).substr(1);for(var n=e(r.split("/")),s=e(t.split("/")),o=Math.min(n.length,s.length),i=o,u=0;u<o;u++)if(n[u]!==s[u]){i=u;break}var l=[];for(u=i;u<n.length;u++)l.push("..");return(l=l.concat(s.slice(i))).join("/")},exports.sep="/",exports.delimiter=":",exports.dirname=function(r){var t=n(r),e=t[0],s=t[1];return e||s?(s&&(s=s.substr(0,s.length-1)),e+s):"."},exports.basename=function(r,t){var e=n(r)[2];return t&&e.substr(-1*t.length)===t&&(e=e.substr(0,e.length-t.length)),e},exports.extname=function(r){return n(r)[3]};var o="b"==="ab".substr(-1)?function(r,t,e){return r.substr(t,e)}:function(r,t,e){return t<0&&(t=r.length+t),r.substr(t,e)};
},{"process":"g5I+"}],"t2UW":[function(require,module,exports) {
"use strict";var e=require("path");function r(r,t){if("string"!=typeof r)return r;if(0===r.length)return r;var n=e.basename(r,e.extname(r))+t;return e.join(e.dirname(r),n)}module.exports=r;
},{"path":"sNrv"}],"Qo3Y":[function(require,module,exports) {
module.exports=function(o){return null!=o&&null!=o.constructor&&"function"==typeof o.constructor.isBuffer&&o.constructor.isBuffer(o)};
},{}],"9Kd2":[function(require,module,exports) {
var process = require("process");
var t=require("process"),e=require("path"),n=require("replace-ext"),i=require("is-buffer");module.exports=h;var r={}.hasOwnProperty,s=h.prototype;s.toString=o;var a=["history","path","basename","stem","extname","dirname"];function h(e){var n,s,o;if(e){if("string"==typeof e||i(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof h))return new h(e);for(this.data={},this.messages=[],this.history=[],this.cwd=t.cwd(),s=-1,o=a.length;++s<o;)n=a[s],r.call(e,n)&&(this[n]=e[n]);for(n in e)-1===a.indexOf(n)&&(this[n]=e[n])}function o(t){var e=this.contents||"";return i(e)?e.toString(t):String(e)}function p(t,n){if(-1!==t.indexOf(e.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+e.sep+"`")}function f(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function c(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}Object.defineProperty(s,"path",{get:function(){return this.history[this.history.length-1]},set:function(t){f(t,"path"),t!==this.path&&this.history.push(t)}}),Object.defineProperty(s,"dirname",{get:function(){return"string"==typeof this.path?e.dirname(this.path):void 0},set:function(t){c(this.path,"dirname"),this.path=e.join(t||"",this.basename)}}),Object.defineProperty(s,"basename",{get:function(){return"string"==typeof this.path?e.basename(this.path):void 0},set:function(t){f(t,"basename"),p(t,"basename"),this.path=e.join(this.dirname||"",t)}}),Object.defineProperty(s,"extname",{get:function(){return"string"==typeof this.path?e.extname(this.path):void 0},set:function(t){var e=t||"";if(p(e,"extname"),c(this.path,"extname"),e){if("."!==e.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==e.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=n(this.path,e)}}),Object.defineProperty(s,"stem",{get:function(){return"string"==typeof this.path?e.basename(this.path,this.extname):void 0},set:function(t){f(t,"stem"),p(t,"stem"),this.path=e.join(this.dirname||"",t+(this.extname||""))}});
},{"path":"sNrv","replace-ext":"t2UW","is-buffer":"Qo3Y","process":"g5I+"}],"4ibg":[function(require,module,exports) {
"use strict";var e=require("vfile-message"),a=require("./core.js");module.exports=a;var s=a.prototype;function t(a,s,t){var r=this.path,i=new e(a,s,t);return r&&(i.name=r+":"+i.name,i.file=r),i.fatal=!1,this.messages.push(i),i}function r(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}function i(){var e=this.message.apply(this,arguments);return e.fatal=null,e}s.message=t,s.info=i,s.fail=r,s.warn=t;
},{"vfile-message":"vzNg","./core.js":"9Kd2"}],"Gnzo":[function(require,module,exports) {
"use strict";var n=[].slice;function t(t,l){var r;return function(){var l,c=n.call(arguments,0),o=t.length>c.length;o&&c.push(u);try{l=t.apply(null,c)}catch(i){if(o&&r)throw i;return u(i)}o||(l&&"function"==typeof l.then?l.then(e,u):l instanceof Error?u(l):e(l))};function u(){r||(r=!0,l.apply(null,arguments))}function e(n){u(null,n)}}module.exports=t;
},{}],"Ef1/":[function(require,module,exports) {
"use strict";var n=require("./wrap.js");module.exports=t,t.wrap=n;var r=[].slice;function t(){var t=[],l={run:function(){var l=-1,o=r.call(arguments,0,-1),u=arguments[arguments.length-1];if("function"!=typeof u)throw new Error("Expected function as last argument, not "+u);(function e(a){var c=t[++l];var i=r.call(arguments,0);var f=i.slice(1);var p=o.length;var v=-1;if(a)return void u(a);for(;++v<p;)null!==f[v]&&void 0!==f[v]||(f[v]=o[v]);o=f;c?n(c,e).apply(null,o):u.apply(null,[null].concat(o))}).apply(null,[null].concat(o))},use:function(n){if("function"!=typeof n)throw new Error("Expected `fn` to be a function, not "+n);return t.push(n),l}};return l}
},{"./wrap.js":"Gnzo"}],"evxG":[function(require,module,exports) {
var t=Object.prototype.toString;function o(o){return"[object String]"===t.call(o)}module.exports=o;
},{}],"3vRV":[function(require,module,exports) {
"use strict";var t=Object.prototype.toString;module.exports=function(e){var o;return"[object Object]"===t.call(e)&&(null===(o=Object.getPrototypeOf(e))||o===Object.getPrototypeOf({}))};
},{}],"EJQW":[function(require,module,exports) {
var process = require("process");
var n=require("process"),e=require("extend"),r=require("bail"),t=require("vfile"),o=require("trough"),i=require("x-is-string"),u=require("is-plain-obj");module.exports=y().freeze();var f=[].slice,s={}.hasOwnProperty,c=o().use(l).use(a).use(p);function l(n,e){e.tree=n.parse(e.file)}function a(n,e,r){n.run(e.tree,e.file,function(n,t,o){n?r(n):(e.tree=t,e.file=o,r())})}function p(n,e){e.file.contents=n.stringify(e.tree,e.file)}function y(){var n=[],l=o(),a={},p=!1,g=-1;return m.data=function(n,e){if(i(n))return 2===arguments.length?(d("data",p),a[n]=e,m):s.call(a,n)&&a[n]||null;if(n)return d("data",p),a=n,m;return a},m.freeze=C,m.attachers=n,m.use=function(r){var t;if(d("use",p),null==r);else if("function"==typeof r)c.apply(null,arguments);else{if("object"!=typeof r)throw new Error("Expected usable value, not `"+r+"`");"length"in r?s(r):o(r)}t&&(a.settings=e(a.settings||{},t));return m;function o(n){s(n.plugins),n.settings&&(t=e(t||{},n.settings))}function i(n){if("function"==typeof n)c(n);else{if("object"!=typeof n)throw new Error("Expected usable value, not `"+n+"`");"length"in n?c.apply(null,n):o(n)}}function s(n){var e,r;if(null==n);else{if(!("object"==typeof n&&"length"in n))throw new Error("Expected a list of plugins, not `"+n+"`");for(e=n.length,r=-1;++r<e;)i(n[r])}}function c(r,t){var o=function(e){var r,t=n.length,o=-1;for(;++o<t;)if((r=n[o])[0]===e)return r}(r);o?(u(o[1])&&u(t)&&(t=e(o[1],t)),o[1]=t):n.push(f.call(arguments))}},m.parse=function(n){var e,r=t(n);if(C(),h("parse",e=m.Parser),w(e))return new e(String(r),r).parse();return e(String(r),r)},m.stringify=function(n,e){var r,o=t(e);if(C(),v("stringify",r=m.Compiler),E(n),w(r))return new r(n,o).compile();return r(n,o)},m.run=S,m.runSync=function(n,e){var t,o=!1;return S(n,e,function(n,e){o=!0,r(n),t=e}),b("runSync","run",o),t},m.process=q,m.processSync=function(n){var e,o=!1;return C(),h("processSync",m.Parser),v("processSync",m.Compiler),q(e=t(n),function(n){o=!0,r(n)}),b("processSync","process",o),e},m;function m(){for(var r=y(),t=n.length,o=-1;++o<t;)r.use.apply(null,n[o]);return r.data(e(!0,{},a)),r}function C(){var e,r,t,o;if(p)return m;for(;++g<n.length;)r=(e=n[g])[0],null,!1!==(t=e[1])&&(!0===t&&(e[1]=void 0),"function"==typeof(o=r.apply(m,e.slice(1)))&&l.use(o));return p=!0,g=1/0,m}function S(n,e,r){if(E(n),C(),r||"function"!=typeof e||(r=e,e=null),!r)return new Promise(o);function o(o,i){l.run(n,t(e),function(e,t,u){t=t||n,e?i(e):o?o(t):r(null,t,u)})}o(null,r)}function q(n,e){if(C(),h("process",m.Parser),v("process",m.Compiler),!e)return new Promise(r);function r(r,o){var i=t(n);c.run(m,{file:i},function(n){n?o(n):r?r(i):e(null,i)})}r(null,e)}}function w(n){return"function"==typeof n&&g(n.prototype)}function g(n){var e;for(e in n)return!0;return!1}function h(n,e){if("function"!=typeof e)throw new Error("Cannot `"+n+"` without `Parser`")}function v(n,e){if("function"!=typeof e)throw new Error("Cannot `"+n+"` without `Compiler`")}function d(n,e){if(e)throw new Error("Cannot invoke `"+n+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function E(n){if(!n||!i(n.type))throw new Error("Expected node, got `"+n+"`")}function b(n,e,r){if(!r)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}
},{"extend":"5bmg","bail":"TqW3","vfile":"4ibg","trough":"Ef1/","x-is-string":"evxG","is-plain-obj":"3vRV","process":"g5I+"}],"YxsI":[function(require,module,exports) {
module.exports=o;var r=Object.prototype.hasOwnProperty;function o(){for(var o={},t=0;t<arguments.length;t++){var e=arguments[t];for(var a in e)r.call(e,a)&&(o[a]=e[a])}return o}
},{}],"oxw+":[function(require,module,exports) {
"function"==typeof Object.create?module.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function(t,e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t};
},{}],"3hHz":[function(require,module,exports) {
"use strict";var t=require("xtend"),n=require("inherits");function e(e){var r,i,o;for(i in n(u,e),n(c,u),r=u.prototype)(o=r[i])&&"object"==typeof o&&(r[i]="concat"in o?o.concat():t(o));return u;function c(t){return e.apply(this,t)}function u(){return this instanceof u?e.apply(this,arguments):new c(arguments)}}module.exports=e;
},{"xtend":"YxsI","inherits":"oxw+"}],"GcGV":[function(require,module,exports) {
"use strict";function t(t,n,r){return function(){var u=r||this,e=u[t];return u[t]=!n,function(){u[t]=e}}}module.exports=t;
},{}],"ZEqf":[function(require,module,exports) {
"use strict";function n(n){var e=u(String(n));return{toPosition:r(e),toOffset:t(e)}}function r(n){return function(r){var t=-1,u=n.length;if(r<0)return{};for(;++t<u;)if(n[t]>r)return{line:t+1,column:r-(n[t-1]||0)+1,offset:r};return{}}}function t(n){return function(r){var t=r&&r.line,u=r&&r.column;if(!isNaN(t)&&!isNaN(u)&&t-1 in n)return(n[t-2]||0)+u-1||0;return-1}}function u(n){for(var r=[],t=n.indexOf("\n");-1!==t;)r.push(t+1),t=n.indexOf("\n",t+1);return r.push(n.length+1),r}module.exports=n;
},{}],"/Jk/":[function(require,module,exports) {
"use strict";module.exports=n;var e="\\";function n(n,r){return function(i){var u,s=0,t=i.indexOf(e),c=n[r],f=[];for(;-1!==t;)f.push(i.slice(s,t)),s=t+1,(u=i.charAt(s))&&-1!==c.indexOf(u)||f.push(e),t=i.indexOf(e,s+1);return f.push(i.slice(s)),f.join("")}}
},{}],"q+rO":[function(require,module,exports) {
module.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"};
},{}],"PPEg":[function(require,module,exports) {
module.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};
},{}],"NJbw":[function(require,module,exports) {
"use strict";function t(t){var r="string"==typeof t?t.charCodeAt(0):t;return r>=48&&r<=57}module.exports=t;
},{}],"7lFt":[function(require,module,exports) {
"use strict";function t(t){var r="string"==typeof t?t.charCodeAt(0):t;return r>=97&&r<=102||r>=65&&r<=70||r>=48&&r<=57}module.exports=t;
},{}],"2SGd":[function(require,module,exports) {
"use strict";function t(t){var r="string"==typeof t?t.charCodeAt(0):t;return r>=97&&r<=122||r>=65&&r<=90}module.exports=t;
},{}],"KFKK":[function(require,module,exports) {
"use strict";var e=require("is-alphabetical"),r=require("is-decimal");function i(i){return e(i)||r(i)}module.exports=i;
},{"is-alphabetical":"2SGd","is-decimal":"NJbw"}],"cYN3":[function(require,module,exports) {
"use strict";var e;function t(t){var n,r="&"+t+";";return(e=e||document.createElement("i")).innerHTML=r,(";"!==(n=e.textContent).slice(-1)||"semi"===t)&&(n!==r&&n)}module.exports=t;
},{}],"kMt5":[function(require,module,exports) {
"use strict";var e=require("character-entities-legacy"),n=require("character-reference-invalid"),t=require("is-decimal"),r=require("is-hexadecimal"),i=require("is-alphanumerical"),a=require("./decode-entity");module.exports=N;var c={}.hasOwnProperty,o=String.fromCharCode,l=Function.prototype,u={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},s="named",f="hexadecimal",d="decimal",m={};m[f]=16,m[d]=10;var h={};h[s]=i,h[d]=t,h[f]=r;var p=1,x=2,b=3,g=4,v=5,y=6,C=7,w={};function N(e,n){var t,r,i={};for(r in n||(n={}),u)t=n[r],i[r]=null==t?u[r]:t;return(i.position.indent||i.position.start)&&(i.indent=i.position.indent||[],i.position=i.position.start),q(e,i)}function q(t,r){var u,N,q,k,A,F,I,O,P,S,U,X,z,B,D,E,G,H,J,K=r.additional,L=r.nonTerminated,M=r.text,Q=r.reference,R=r.warning,V=r.textContext,W=r.referenceContext,Y=r.warningContext,Z=r.position,$=r.indent||[],_=t.length,ee=0,ne=-1,te=Z.column||1,re=Z.line||1,ie="",ae=[];for(E=ce(),O=R?function(e,n){var t=ce();t.column+=n,t.offset+=n,R.call(Y,w[e],t,e)}:l,ee--,_++;++ee<_;)if("\n"===A&&(te=$[ne]||1),"&"!==(A=oe(ee)))"\n"===A&&(re++,ne++,te=0),A?(ie+=A,te++):le();else{if("\t"===(I=oe(ee+1))||"\n"===I||"\f"===I||" "===I||"<"===I||"&"===I||""===I||K&&I===K){ie+=A,te++;continue}for(X=z=ee+1,J=z,"#"!==I?B=s:"x"===(I=oe(J=++X))||"X"===I?(B=f,J=++X):B=d,u="",U="",k="",D=h[B],J--;++J<_&&D(I=oe(J));)k+=I,B===s&&c.call(e,k)&&(u=k,U=e[k]);(q=";"===oe(J))&&(J++,(N=B===s&&a(k))&&(u=k,U=N)),H=1+J-z,(q||L)&&(k?B===s?(q&&!U?O(v,1):(u!==k&&(H=1+(J=X+u.length)-X,q=!1),q||(P=u?p:b,r.attribute?"="===(I=oe(J))?(O(P,H),U=null):i(I)?U=null:O(P,H):O(P,H))),F=U):(q||O(x,H),T(F=parseInt(k,m[B]))?(O(C,H),F="�"):F in n?(O(y,H),F=n[F]):(S="",j(F)&&O(y,H),F>65535&&(S+=o((F-=65536)>>>10|55296),F=56320|1023&F),F=S+o(F))):B!==s&&O(g,H)),F?(le(),E=ce(),ee=J-1,te+=J-z+1,ae.push(F),(G=ce()).offset++,Q&&Q.call(W,F,{start:E,end:G},t.slice(z-1,J)),E=G):(k=t.slice(z-1,J),ie+=k,te+=k.length,ee=J-1)}return ae.join("");function ce(){return{line:re,column:te,offset:ee+(Z.offset||0)}}function oe(e){return t.charAt(e)}function le(){ie&&(ae.push(ie),M&&M.call(V,ie,{start:E,end:ce()}),ie="")}}function T(e){return e>=55296&&e<=57343||e>1114111}function j(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}w[p]="Named character references must be terminated by a semicolon",w[x]="Numeric character references must be terminated by a semicolon",w[b]="Named character references cannot be empty",w[g]="Numeric character references cannot be empty",w[v]="Named character references must be known",w[y]="Numeric character references cannot be disallowed",w[C]="Numeric character references cannot be outside the permissible Unicode range";
},{"character-entities-legacy":"q+rO","character-reference-invalid":"PPEg","is-decimal":"NJbw","is-hexadecimal":"7lFt","is-alphanumerical":"KFKK","./decode-entity":"cYN3"}],"bkA+":[function(require,module,exports) {
"use strict";var e=require("xtend"),n=require("parse-entities");function t(t){return i.raw=function(t,i,u){return n(t,e(u,{position:r(i),warning:o}))},i;function r(e){for(var n=t.offset,r=e.line,i=[];++r&&r in n;)i.push((n[r]||0)+1);return{start:e,indent:i}}function i(e,i,u){n(e,{position:r(i),warning:o,text:u,reference:u,textContext:t,referenceContext:t})}function o(e,n,r){3!==r&&t.file.message(e,n)}}module.exports=t;
},{"xtend":"YxsI","parse-entities":"kMt5"}],"Bgea":[function(require,module,exports) {
"use strict";function n(n){return function(r,o){var u,l,f,c,s,a,p=this,h=p.offset,v=[],g=p[n+"Methods"],d=p[n+"Tokenizers"],m=o.line,y=o.column;if(!r)return v;I.now=x,I.file=p.file,k("");for(;r;){for(u=-1,l=g.length,s=!1;++u<l&&(c=g[u],!(f=d[c])||f.onlyAtStart&&!p.atStart||f.notInList&&p.inList||f.notInBlock&&p.inBlock||f.notInLink&&p.inLink||(a=r.length,f.apply(p,[I,r]),!(s=a!==r.length))););s||p.file.fail(new Error("Infinite loop"),I.now())}return p.eof=x(),v;function k(n){for(var t=-1,e=n.indexOf("\n");-1!==e;)m++,t=e,e=n.indexOf("\n",e+1);-1===t?y+=n.length:y=n.length-t,m in h&&(-1!==t?y+=h[m]:y<=h[m]&&(y=h[m]+1))}function x(){var n={line:m,column:y};return n.offset=p.toOffset(n),n}function w(n){this.start=n,this.end=x()}function I(n){var o=function(){var n=[],t=m+1;return function(){for(var e=m+1;t<e;)n.push((h[t]||0)+1),t++;return n}}(),u=function(){var n=x();return function(t,e){var i=t.position,r=i?i.start:n,o=[],u=i&&i.end.line,l=n.line;if(t.position=new w(r),i&&e&&i.indent){if(o=i.indent,u<l){for(;++u<l;)o.push((h[u]||0)+1);o.push(n.column)}e=o.concat(e)}return t.position.indent=e||[],t}}(),l=x();return function(n){r.substring(0,n.length)!==n&&p.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),x())}(n),f.reset=c,c.test=s,f.test=s,r=r.substring(n.length),k(n),o=o(),f;function f(n,r){return u(function(n,r){var o,u=r?r.children:v,l=u[u.length-1];l&&n.type===l.type&&("text"===n.type||"blockquote"===n.type)&&t(l)&&t(n)&&(o="text"===n.type?e:i,n=o.call(p,l,n));n!==l&&u.push(n);p.atStart&&0!==v.length&&p.exitStart();return n}(u(n),r),o)}function c(){var t=f.apply(null,arguments);return m=l.line,y=l.column,r=n+r,t}function s(){var t=u({});return m=l.line,y=l.column,r=n+r,t.position}}}}function t(n){var t,e;return"text"!==n.type||!n.position||(t=n.position.start,e=n.position.end,t.line!==e.line||e.column-t.column===n.value.length)}function e(n,t){return n.value+=t.value,n}function i(n,t){return this.options.commonmark?t:(n.children=n.children.concat(t.children),n)}module.exports=n;
},{}],"WH32":[function(require,module,exports) {
"use strict";module.exports=n;var m=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],o=m.concat(["~","|"]),c=o.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);function n(n){var r=n||{};return r.commonmark?c:r.gfm?o:m}n.default=m,n.gfm=o,n.commonmark=c;
},{}],"dOTL":[function(require,module,exports) {
"use strict";module.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"];
},{}],"rcGr":[function(require,module,exports) {
"use strict";module.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:require("./block-elements")};
},{"./block-elements":"dOTL"}],"2z01":[function(require,module,exports) {
"use strict";var e=require("xtend"),o=require("markdown-escapes"),t=require("./defaults");function r(r){var i,s,n=this.options;if(null==r)r={};else{if("object"!=typeof r)throw new Error("Invalid value `"+r+"` for setting `options`");r=e(r)}for(i in t){if(null==(s=r[i])&&(s=n[i]),"blocks"!==i&&"boolean"!=typeof s||"blocks"===i&&"object"!=typeof s)throw new Error("Invalid value `"+s+"` for setting `options."+i+"`");r[i]=s}return this.options=r,this.escape=o(r),this}module.exports=r;
},{"xtend":"YxsI","markdown-escapes":"WH32","./defaults":"rcGr"}],"Xtcr":[function(require,module,exports) {
"use strict";function n(t,e,o,i,u){var f=null!=i,c=null!=o,l=r(t);if(c&&("number"!=typeof o||o<0||o===1/0))throw new Error("Expected positive finite index or child node");if(f&&(!n(null,i)||!i.children))throw new Error("Expected parent node");if(!e||!e.type||"string"!=typeof e.type)return!1;if(f!==c)throw new Error("Expected both parent and index");return Boolean(l.call(u,e,o,i))}function r(n){if("string"==typeof n)return i(n);if(null==n)return u;if("object"==typeof n)return("length"in n?o:e)(n);if("function"==typeof n)return n;throw new Error("Expected function, string, or object as test")}function t(n){for(var t=[],e=n.length,o=-1;++o<e;)t[o]=r(n[o]);return t}function e(n){return function(r){var t;for(t in n)if(r[t]!==n[t])return!1;return!0}}function o(n){var r=t(n),e=r.length;return function(){var n=-1;for(;++n<e;)if(r[n].apply(this,arguments))return!0;return!1}}function i(n){return function(r){return Boolean(r&&r.type===n)}}function u(){return!0}module.exports=n;
},{}],"JmCt":[function(require,module,exports) {
"use strict";module.exports=r;var n=require("unist-util-is"),t=!0,e="skip",u=!1;function r(t,r,i,l){function o(t,c,f){var s;return(r&&!n(r,t,c,f[f.length-1]||null)||(s=i(t,f))!==u)&&t.children&&s!==e&&function(n,t){var e,r,i=l?-1:1,c=(l?n.length:-1)+i;for(;c>-1&&c<n.length;){if(e=n[c],(r=e&&o(e,c,t))===u)return r;c="number"==typeof r?r:c+i}}(t.children,f.concat(t))===u?u:s}"function"==typeof r&&"function"!=typeof i&&(l=i,i=r,r=null),o(t,null,[])}r.CONTINUE=t,r.SKIP=e,r.EXIT=u;
},{"unist-util-is":"Xtcr"}],"JLXd":[function(require,module,exports) {
"use strict";module.exports=u;var n=require("unist-util-visit-parents"),t=n.CONTINUE,e=n.SKIP,i=n.EXIT;function u(t,e,i,u){"function"==typeof e&&"function"!=typeof i&&(u=i,i=e,e=null),n(t,e,function(n,t){var e=t[t.length-1],u=e?e.children.indexOf(n):null;return i(n,u,e)},u)}u.CONTINUE=t,u.SKIP=e,u.EXIT=i;
},{"unist-util-visit-parents":"JmCt"}],"aXgk":[function(require,module,exports) {
"use strict";var i=require("unist-util-visit");function t(t,e){return i(t,e?n:o),t}function n(i){delete i.position}function o(i){i.position=void 0}module.exports=t;
},{"unist-util-visit":"JLXd"}],"55XZ":[function(require,module,exports) {
"use strict";var e=require("xtend"),t=require("unist-util-remove-position");module.exports=r;var i="\n",o=/\r\n|\r/g;function r(){var r,n=String(this.file),s={line:1,column:1,offset:0},l=e(s);return 65279===(n=n.replace(o,i)).charCodeAt(0)&&(n=n.slice(1),l.column++,l.offset++),r={type:"root",children:this.tokenizeBlock(n,l),position:{start:s,end:this.eof||e(s)}},this.options.position||t(r,!0),r}
},{"xtend":"YxsI","unist-util-remove-position":"aXgk"}],"zWUq":[function(require,module,exports) {
"use strict";module.exports=e;var r=String.fromCharCode,t=/\s/;function e(e){return t.test("number"==typeof e?r(e):e.charAt(0))}
},{}],"DIjs":[function(require,module,exports) {
"use strict";var r=require("is-whitespace-character");module.exports=t;var e="\n";function t(t,a,c){var i,h,n,s,u=a.charAt(0);if(u===e){if(c)return!0;for(s=1,i=a.length,h=u,n="";s<i&&(u=a.charAt(s),r(u));)n+=u,u===e&&(h+=n,n=""),s++;t(h)}}
},{"is-whitespace-character":"zWUq"}],"+oXU":[function(require,module,exports) {
"use strict";var r,e="";function t(t,n){if("string"!=typeof t)throw new TypeError("expected a string");if(1===n)return t;if(2===n)return t+t;var i=t.length*n;if(r!==t||void 0===r)r=t,e="";else if(e.length>=i)return e.substr(0,i);for(;i>e.length&&n>1;)1&n&&(e+=t),n>>=1,t+=t;return e=(e+=t).substr(0,i)}module.exports=t;
},{}],"j+pQ":[function(require,module,exports) {
"use strict";module.exports=t;var r="\n";function t(t){for(var e=String(t),n=e.length;e.charAt(--n)===r;);return e.slice(0,n+1)}
},{}],"A6Ak":[function(require,module,exports) {
"use strict";var e=require("repeat-string"),r=require("trim-trailing-lines");module.exports=n;var t="\n",a="\t",i=" ",l=4,f=e(i,l);function n(e,l,n){for(var c,s,u,h=-1,o=l.length,A="",g="",v="",m="";++h<o;)if(c=l.charAt(h),u)if(u=!1,A+=v,g+=m,v="",m="",c===t)v=c,m=c;else for(A+=c,g+=c;++h<o;){if(!(c=l.charAt(h))||c===t){m=c,v=c;break}A+=c,g+=c}else if(c===i&&l.charAt(h+1)===c&&l.charAt(h+2)===c&&l.charAt(h+3)===c)v+=f,h+=3,u=!0;else if(c===a)v+=c,u=!0;else{for(s="";c===a||c===i;)s+=c,c=l.charAt(++h);if(c!==t)break;v+=s+c,m+=c}if(g)return!!n||e(A)({type:"code",lang:null,meta:null,value:r(g)})}
},{"repeat-string":"+oXU","trim-trailing-lines":"j+pQ"}],"MBZr":[function(require,module,exports) {
"use strict";var r=require("trim-trailing-lines");module.exports=h;var t="\n",e="\t",i=" ",f="~",a="`",l=3,c=4;function h(h,n,o){var s,u,A,g,m,d,p,v,b,k,w,q,x,y=this.options.gfm,j=n.length+1,z=0,B="";if(y){for(;z<j&&((A=n.charAt(z))===i||A===e);)B+=A,z++;if(q=z,(A=n.charAt(z))===f||A===a){for(z++,u=A,s=1,B+=A;z<j&&(A=n.charAt(z))===u;)B+=A,s++,z++;if(!(s<l)){for(;z<j&&((A=n.charAt(z))===i||A===e);)B+=A,z++;for(g="",p="";z<j&&(A=n.charAt(z))!==t&&A!==f&&A!==a;)A===i||A===e?p+=A:(g+=p+A,p=""),z++;if(!(A=n.charAt(z))||A===t){if(o)return!0;for((x=h.now()).column+=B.length,x.offset+=B.length,B+=g,g=this.decode.raw(this.unescape(g),x),p&&(B+=p),p="",k="",w="",v="",b="";z<j;)if(v+=k,b+=w,k="",w="",(A=n.charAt(z))===t){for(v?(k+=A,w+=A):B+=A,p="",z++;z<j&&(A=n.charAt(z))===i;)p+=A,z++;if(k+=p,w+=p.slice(q),!(p.length>=c)){for(p="";z<j&&(A=n.charAt(z))===u;)p+=A,z++;if(k+=p,w+=p,!(p.length<s)){for(p="";z<j&&((A=n.charAt(z))===i||A===e);)k+=A,w+=A,z++;if(!A||A===t)break}}}else v+=A,w+=A,z++;for(B+=v+k,z=-1,j=g.length;++z<j;)if((A=g.charAt(z))===i||A===e)m||(m=g.slice(0,z));else if(m){d=g.slice(z);break}return h(B)({type:"code",lang:m||g||null,meta:d||null,value:r(b)})}}}}}
},{"trim-trailing-lines":"j+pQ"}],"JrhO":[function(require,module,exports) {
function e(e){return e.replace(/^\s*|\s*$/g,"")}exports=module.exports=e,exports.left=function(e){return e.replace(/^\s*/,"")},exports.right=function(e){return e.replace(/\s*$/,"")};
},{}],"Mjd1":[function(require,module,exports) {
"use strict";function o(o,n,t,r){for(var i,m,e=o.length,a=-1;++a<e;)if((void 0===(m=(i=o[a])[1]||{}).pedantic||m.pedantic===t.options.pedantic)&&(void 0===m.commonmark||m.commonmark===t.options.commonmark)&&n[i[0]].apply(t,r))return!0;return!1}module.exports=o;
},{}],"22KA":[function(require,module,exports) {
"use strict";var r=require("trim"),t=require("../util/interrupt");module.exports=h;var e="\n",i="\t",o=" ",n=">";function h(h,s,c){for(var u,l,f,a,k,p,A,b,q,d=this.offset,v=this.blockTokenizers,B=this.interruptBlockquote,g=h.now(),j=g.line,m=s.length,x=[],z=[],w=[],y=0;y<m&&((l=s.charAt(y))===o||l===i);)y++;if(s.charAt(y)===n){if(c)return!0;for(y=0;y<m;){for(A=y,b=!1,-1===(a=s.indexOf(e,y))&&(a=m);y<m&&((l=s.charAt(y))===o||l===i);)y++;if(s.charAt(y)===n?(y++,b=!0,s.charAt(y)===o&&y++):y=A,k=s.slice(y,a),!b&&!r(k)){y=A;break}if(!b&&(f=s.slice(y),t(B,v,this,[h,f,!0])))break;p=A===y?k:s.slice(A,a),w.push(y-A),x.push(p),z.push(k),y=a+1}for(y=-1,m=w.length,u=h(x.join(e));++y<m;)d[j]=(d[j]||0)+w[y],j++;return q=this.enterBlock(),z=this.tokenizeBlock(z.join(e),g),q(),u({type:"blockquote",children:z})}}
},{"trim":"JrhO","../util/interrupt":"Mjd1"}],"F58J":[function(require,module,exports) {
"use strict";module.exports=h;var t="\n",r="\t",e=" ",n="#",f=6;function h(h,i,o){for(var a,c,l,s=this.options.pedantic,A=i.length+1,g=-1,u=h.now(),d="",p="";++g<A;){if((a=i.charAt(g))!==e&&a!==r){g--;break}d+=a}for(l=0;++g<=A;){if((a=i.charAt(g))!==n){g--;break}d+=a,l++}if(!(l>f)&&l&&(s||i.charAt(g+1)!==n)){for(A=i.length+1,c="";++g<A;){if((a=i.charAt(g))!==e&&a!==r){g--;break}c+=a}if(s||0!==c.length||!a||a===t){if(o)return!0;for(d+=c,c="",p="";++g<A&&(a=i.charAt(g))&&a!==t;)if(a===e||a===r||a===n){for(;a===e||a===r;)c+=a,a=i.charAt(++g);if(s||!p||c||a!==n){for(;a===n;)c+=a,a=i.charAt(++g);for(;a===e||a===r;)c+=a,a=i.charAt(++g);g--}else p+=a}else p+=c+a,c="";return u.column+=d.length,u.offset+=d.length,h(d+=p+c)({type:"heading",depth:l,children:this.tokenizeInline(p,u)})}}}
},{}],"2KEU":[function(require,module,exports) {
"use strict";module.exports=c;var t="\t",r="\n",e=" ",i="*",a="-",f="_",o=3;function c(c,n,h){for(var s,u,l,v,d=-1,m=n.length+1,p="";++d<m&&((s=n.charAt(d))===t||s===e);)p+=s;if(s===i||s===a||s===f)for(u=s,p+=s,l=1,v="";++d<m;)if((s=n.charAt(d))===u)l++,p+=v+u,v="";else{if(s!==e)return l>=o&&(!s||s===r)?(p+=v,!!h||c(p)({type:"thematicBreak"})):void 0;v+=s}}
},{}],"ELO6":[function(require,module,exports) {
"use strict";module.exports=e;var t="\t",r=" ",o=1,a=4;function e(e){for(var n,s=0,c=0,u=e.charAt(s),f={};u===t||u===r;)c+=n=u===t?a:o,n>1&&(c=Math.floor(c/n)*n),f[c]=s,u=e.charAt(++s);return{indent:c,stops:f}}
},{}],"J9Y1":[function(require,module,exports) {
"use strict";var e=require("trim"),n=require("repeat-string"),t=require("./get-indentation");module.exports=o;var i="\t",r="\n",s=" ",f="!";function o(o,u){var l,a,d,g,h=o.split(r),p=h.length+1,c=1/0,q=[];for(h.unshift(n(s,u)+f);p--;)if(a=t(h[p]),q[p]=a.stops,0!==e(h[p]).length){if(!a.indent){c=1/0;break}a.indent>0&&a.indent<c&&(c=a.indent)}if(c!==1/0)for(p=h.length;p--;){for(d=q[p],l=c;l&&!(l in d);)l--;g=0!==e(h[p]).length&&c&&l!==c?i:"",h[p]=g+h[p].slice(l in d?d[l]+1:0)}return h.shift(),h.join(r)}
},{"trim":"JrhO","repeat-string":"+oXU","./get-indentation":"ELO6"}],"QPSD":[function(require,module,exports) {
"use strict";var e=require("trim"),t=require("repeat-string"),i=require("is-decimal"),r=require("../util/get-indentation"),n=require("../util/remove-indentation"),l=require("../util/interrupt");module.exports=j;var a="*",c="_",s="+",o="-",f=".",h=" ",u="\n",p="\t",d=")",g="x",k=4,v=/\n\n(?!\s*$)/,m=/^\[([ \t]|x|X)][ \t]/,A=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,b=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,q=/^( {1,4}|\t)?/gm;function j(t,r,n){for(var g,v,m,A,b,q,j,y,B,L,w,z,I,$,C,N,O,T,X,_,D,E,F=this.options.commonmark,G=this.options.pedantic,H=this.blockTokenizers,J=this.interruptList,K=0,M=r.length,P=null,Q=0,R=!1;K<M;){if((m=r.charAt(K))===p)Q+=k-Q%k;else{if(m!==h)break;Q++}K++}if(!(Q>=k)){if((m=r.charAt(K))===a||m===s||m===o)A=m,v=!1;else{for(v=!0,g="";K<M&&(m=r.charAt(K),i(m));)g+=m,K++;if(m=r.charAt(K),!g||!(m===f||F&&m===d))return;P=parseInt(g,10),A=m}if((m=r.charAt(++K))===h||m===p||!(G||m!==u&&""!==m)){if(n)return!0;for(K=0,I=[],$=[],C=[];K<M;){for(q=K,j=!1,E=!1,-1===(b=r.indexOf(u,K))&&(b=M),D=K+k,Q=0;K<M;){if((m=r.charAt(K))===p)Q+=k-Q%k;else{if(m!==h)break;Q++}K++}if(Q>=k&&(E=!0),N&&Q>=N.indent&&(E=!0),m=r.charAt(K),y=null,!E){if(m===a||m===s||m===o)y=m,K++,Q++;else{for(g="";K<M&&(m=r.charAt(K),i(m));)g+=m,K++;m=r.charAt(K),K++,g&&(m===f||F&&m===d)&&(y=m,Q+=g.length+1)}if(y)if((m=r.charAt(K))===p)Q+=k-Q%k,K++;else if(m===h){for(D=K+k;K<D&&r.charAt(K)===h;)K++,Q++;K===D&&r.charAt(K)===h&&(K-=k-1,Q-=k-1)}else m!==u&&""!==m&&(y=null)}if(y){if(!G&&A!==y)break;j=!0}else F||E||r.charAt(q)!==h?F&&N&&(E=Q>=N.indent||Q>k):E=!0,j=!1,K=q;if(L=r.slice(q,b),B=q===K?L:r.slice(K,b),(y===a||y===c||y===o)&&H.thematicBreak.call(this,t,L,!0))break;if(w=z,z=!j&&!e(B).length,E&&N)N.value=N.value.concat(C,L),$=$.concat(C,L),C=[];else if(j)0!==C.length&&(R=!0,N.value.push(""),N.trail=C.concat()),N={value:[L],indent:Q,trail:[]},I.push(N),$=$.concat(C,L),C=[];else if(z){if(w&&!F)break;C.push(L)}else{if(w)break;if(l(J,H,this,[t,L,!0]))break;N.value=N.value.concat(C,L),$=$.concat(C,L),C=[]}K=b+1}for(X=t($.join(u)).reset({type:"list",ordered:v,start:P,spread:R,children:[]}),O=this.enterList(),T=this.enterBlock(),K=-1,M=I.length;++K<M;)N=I[K].value.join(u),_=t.now(),t(N)(x(this,N,_),X),N=I[K].trail.join(u),K!==M-1&&(N+=u),t(N);return O(),T(),X}}}function x(e,t,i){var r,n,l=e.offset,a=null;return t=(e.options.pedantic?y:B).apply(null,arguments),e.options.gfm&&(r=t.match(m))&&(n=r[0].length,a=r[1].toLowerCase()===g,l[i.line]+=n,t=t.slice(n)),{type:"listItem",spread:v.test(t),checked:a,children:e.tokenizeBlock(t,i)}}function y(e,t,i){var r=e.offset,n=i.line;return t=t.replace(b,l),n=i.line,t.replace(q,l);function l(e){return r[n]=(r[n]||0)+e.length,n++,""}}function B(e,i,l){var a,c,s,o,f,p,d,g=e.offset,k=l.line;for(o=(i=i.replace(A,function(e,i,r,n,l){c=i+r+n,s=l,Number(r)<10&&c.length%2==1&&(r=h+r);return(a=i+t(h,r.length)+n)+s})).split(u),(f=n(i,r(a).indent).split(u))[0]=s,g[k]=(g[k]||0)+c.length,k++,p=0,d=o.length;++p<d;)g[k]=(g[k]||0)+o[p].length-f[p].length,k++;return f.join(u)}
},{"trim":"JrhO","repeat-string":"+oXU","is-decimal":"NJbw","../util/get-indentation":"ELO6","../util/remove-indentation":"J9Y1","../util/interrupt":"Mjd1"}],"mb4J":[function(require,module,exports) {
"use strict";module.exports=o;var r="\n",t="\t",e=" ",n="=",h="-",i=3,a=1,f=2;function o(o,c,l){for(var u,s,A,d,g,k=o.now(),b=c.length,p=-1,m="";++p<b;){if((A=c.charAt(p))!==e||p>=i){p--;break}m+=A}for(u="",s="";++p<b;){if((A=c.charAt(p))===r){p--;break}A===e||A===t?s+=A:(u+=s+A,s="")}if(k.column+=m.length,k.offset+=m.length,m+=u+s,A=c.charAt(++p),d=c.charAt(++p),A===r&&(d===n||d===h)){for(m+=A,s=d,g=d===n?a:f;++p<b;){if((A=c.charAt(p))!==d){if(A!==r)return;p--;break}s+=A}return!!l||o(m+s)({type:"heading",depth:g,children:this.tokenizeInline(u,k)})}}
},{}],"WspG":[function(require,module,exports) {
"use strict";var s="[a-zA-Z_:][a-zA-Z0-9:._-]*",e="[^\"'=<>`\\u0000-\\u0020]+",a="'[^']*'",A='"[^"]*"',x="(?:"+e+"|"+a+"|"+A+")",z="(?:\\s+"+s+"(?:\\s*=\\s*"+x+")?)",Z="<[A-Za-z][A-Za-z0-9\\-]*"+z+"*\\s*\\/?>",p="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",t="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",g="<[?].*?[?]>",o="<![A-Za-z]+\\s+[^>]*>",r="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";exports.openCloseTag=new RegExp("^(?:"+Z+"|"+p+")"),exports.tag=new RegExp("^(?:"+Z+"|"+p+"|"+t+"|"+g+"|"+o+"|"+r+")");
},{}],"P43v":[function(require,module,exports) {
"use strict";var e=require("../util/html").openCloseTag;module.exports=v;var t="\t",i=" ",r="\n",s="<",l=/^<(script|pre|style)(?=(\s|>|$))/i,n=/<\/(script|pre|style)>/i,o=/^<!--/,f=/-->/,c=/^<\?/,a=/\?>/,p=/^<![A-Za-z]/,u=/>/,h=/^<!\[CDATA\[/,g=/\]\]>/,x=/^$/,A=new RegExp(e.source+"\\s*$");function v(e,v,$){for(var b,d,k,m,y,w,C,E=this.options.blocks.join("|"),O=new RegExp("^</?("+E+")(?=(\\s|/?>|$))","i"),R=v.length,T=0,j=[[l,n,!0],[o,f,!0],[c,a,!0],[p,u,!0],[h,g,!0],[O,x,!0],[A,x,!1]];T<R&&((m=v.charAt(T))===t||m===i);)T++;if(v.charAt(T)===s){for(b=-1===(b=v.indexOf(r,T+1))?R:b,d=v.slice(T,b),k=-1,y=j.length;++k<y;)if(j[k][0].test(d)){w=j[k];break}if(w){if($)return w[2];if(T=b,!w[1].test(d))for(;T<R;){if(b=-1===(b=v.indexOf(r,T+1))?R:b,d=v.slice(T+1,b),w[1].test(d)){d&&(T=b);break}T=b}return e(C=v.slice(0,T))({type:"html",value:C})}}}
},{"../util/html":"WspG"}],"cHHr":[function(require,module,exports) {
"use strict";function e(e){return String(e).replace(/\s+/g," ")}module.exports=e;
},{}],"3Faa":[function(require,module,exports) {
"use strict";var e=require("collapse-white-space");function r(r){return e(r).toLowerCase()}module.exports=r;
},{"collapse-white-space":"cHHr"}],"Dh/c":[function(require,module,exports) {
"use strict";var t=require("is-whitespace-character"),r=require("../util/normalize");module.exports=s,s.notInList=!0,s.notInBlock=!0;var e="\\",n="\n",i="\t",o=" ",h="[",c="]",f="^",a=":",l=/^( {4}|\t)?/gm;function s(s,u,A){var g,k,p,m,d,v,B,b,q,w,z,I,x=this.offset;if(this.options.footnotes){for(g=0,k=u.length,p="",m=s.now(),d=m.line;g<k&&(q=u.charAt(g),t(q));)p+=q,g++;if(u.charAt(g)===h&&u.charAt(g+1)===f){for(g=(p+=h+f).length,B="";g<k&&(q=u.charAt(g))!==c;)q===e&&(B+=q,g++,q=u.charAt(g)),B+=q,g++;if(B&&u.charAt(g)===c&&u.charAt(g+1)===a){if(A)return!0;for(w=B,g=(p+=B+c+a).length;g<k&&((q=u.charAt(g))===i||q===o);)p+=q,g++;for(m.column+=p.length,m.offset+=p.length,B="",v="",b="";g<k;){if((q=u.charAt(g))===n){for(b=q,g++;g<k&&(q=u.charAt(g))===n;)b+=q,g++;for(B+=b,b="";g<k&&(q=u.charAt(g))===o;)b+=q,g++;if(0===b.length)break;B+=b}B&&(v+=B,B=""),v+=q,g++}return p+=v,v=v.replace(l,function(t){return x[d]=(x[d]||0)+t.length,d++,""}),z=s(p),I=this.enterBlock(),v=this.tokenizeBlock(v,m),I(),z({type:"footnoteDefinition",identifier:r(w),label:w,children:v})}}}}
},{"is-whitespace-character":"zWUq","../util/normalize":"3Faa"}],"FgHM":[function(require,module,exports) {
"use strict";var t=require("is-whitespace-character"),r=require("../util/normalize");module.exports=m,m.notInList=!0,m.notInBlock=!0;var e='"',i="'",n="\\",a="\n",c="\t",h=" ",o="[",f="]",l="(",u=")",s=":",A="<",d=">";function m(t,d,m){for(var v,w,k,q,I,b,x,y,z=this.options.commonmark,B=0,L=d.length,T="";B<L&&((q=d.charAt(B))===h||q===c);)T+=q,B++;if((q=d.charAt(B))===o){for(B++,T+=q,k="";B<L&&(q=d.charAt(B))!==f;)q===n&&(k+=q,B++,q=d.charAt(B)),k+=q,B++;if(k&&d.charAt(B)===f&&d.charAt(B+1)===s){for(b=k,B=(T+=k+f+s).length,k="";B<L&&((q=d.charAt(B))===c||q===h||q===a);)T+=q,B++;if(k="",v=T,(q=d.charAt(B))===A){for(B++;B<L&&p(q=d.charAt(B));)k+=q,B++;if((q=d.charAt(B))===p.delimiter)T+=A+k+q,B++;else{if(z)return;B-=k.length+1,k=""}}if(!k){for(;B<L&&g(q=d.charAt(B));)k+=q,B++;T+=k}if(k){for(x=k,k="";B<L&&((q=d.charAt(B))===c||q===h||q===a);)k+=q,B++;if(I=null,(q=d.charAt(B))===e?I=e:q===i?I=i:q===l&&(I=u),I){if(!k)return;for(B=(T+=k+q).length,k="";B<L&&(q=d.charAt(B))!==I;){if(q===a){if(B++,(q=d.charAt(B))===a||q===I)return;k+=a}k+=q,B++}if((q=d.charAt(B))!==I)return;w=T,T+=k+q,B++,y=k,k=""}else k="",B=T.length;for(;B<L&&((q=d.charAt(B))===c||q===h);)T+=q,B++;return(q=d.charAt(B))&&q!==a?void 0:!!m||(v=t(v).test().end,x=this.decode.raw(this.unescape(x),v,{nonTerminated:!1}),y&&(w=t(w).test().end,y=this.decode.raw(this.unescape(y),w)),t(T)({type:"definition",identifier:r(b),label:b,title:y||null,url:x}))}}}}function p(t){return t!==d&&t!==o&&t!==f}function g(r){return r!==o&&r!==f&&!t(r)}p.delimiter=d;
},{"is-whitespace-character":"zWUq","../util/normalize":"3Faa"}],"7Z5e":[function(require,module,exports) {
"use strict";var e=require("is-whitespace-character");module.exports=p;var t="\t",l="\n",i=" ",r="-",n=":",f="\\",h="`",s="|",c=1,u=2,a="left",o="center",g="right";function p(p,d,A){var b,v,w,x,y,k,m,O,j,q,z,C,I,R,B,D,E,F,G,H,J,K,L,M;if(this.options.gfm){for(b=0,F=0,k=d.length+1,m=[];b<k;){if(K=d.indexOf(l,b),L=d.indexOf(s,b+1),-1===K&&(K=d.length),-1===L||L>K){if(F<u)return;break}m.push(d.slice(b,K)),F++,b=K+1}for(x=m.join(l),b=0,k=(v=m.splice(1,1)[0]||[]).length,F--,w=!1,z=[];b<k;){if((j=v.charAt(b))===s){if(q=null,!1===w){if(!1===M)return}else z.push(w),w=!1;M=!1}else if(j===r)q=!0,w=w||null;else if(j===n)w=w===a?o:q&&null===w?g:a;else if(!e(j))return;b++}if(!1!==w&&z.push(w),!(z.length<c)){if(A)return!0;for(E=-1,H=[],J=p(x).reset({type:"table",align:z,children:H});++E<F;){for(G=m[E],y={type:"tableRow",children:[]},E&&p(l),p(G).reset(y,J),k=G.length+1,b=0,O="",C="",I=!0,R=null,B=null;b<k;)if((j=G.charAt(b))!==t&&j!==i){if(""===j||j===s)if(I)p(j);else{if(j&&B){O+=j,b++;continue}!C&&!j||I||(x=C,O.length>1&&(j?(x+=O.slice(0,O.length-1),O=O.charAt(O.length-1)):(x+=O,O="")),D=p.now(),p(x)({type:"tableCell",children:this.tokenizeInline(C,D)},y)),p(O+j),O="",C=""}else if(O&&(C+=O,O=""),C+=j,j===f&&b!==k-2&&(C+=G.charAt(b+1),b++),j===h){for(R=1;G.charAt(b+1)===j;)C+=j,b++,R++;B?R>=B&&(B=0):B=R}I=!1,b++}else C?O+=j:p(j),b++;E||p(l+v)}return J}}}
},{"is-whitespace-character":"zWUq"}],"fJtX":[function(require,module,exports) {
"use strict";var i=require("trim"),r=require("is-decimal"),e=require("trim-trailing-lines"),t=require("../util/interrupt");module.exports=f;var n="\t",a="\n",s=" ",l=4;function f(f,c,h){for(var o,u,k,b,m,p=this.options,d=p.commonmark,g=p.gfm,q=this.blockTokenizers,x=this.interruptParagraph,v=c.indexOf(a),A=c.length;v<A;){if(-1===v){v=A;break}if(c.charAt(v+1)===a)break;if(d){for(b=0,o=v+1;o<A;){if((k=c.charAt(o))===n){b=l;break}if(k!==s)break;b++,o++}if(b>=l&&k!==a){v=c.indexOf(a,v+1);continue}}if(u=c.slice(v+1),t(x,q,this,[f,u,!0]))break;if(q.list.call(this,f,u,!0)&&(this.inList||d||g&&!r(i.left(u).charAt(0))))break;if(o=v,-1!==(v=c.indexOf(a,v+1))&&""===i(c.slice(o,v))){v=o;break}}return u=c.slice(0,v),""===i(u)?(f(u),null):!!h||(m=f.now(),f(u=e(u))({type:"paragraph",children:this.tokenizeInline(u,m)}))}
},{"trim":"JrhO","is-decimal":"NJbw","trim-trailing-lines":"j+pQ","../util/interrupt":"Mjd1"}],"E5JH":[function(require,module,exports) {
"use strict";function e(e,t){return e.indexOf("\\",t)}module.exports=e;
},{}],"TzE/":[function(require,module,exports) {
"use strict";var e=require("../locate/escape");module.exports=a,a.locator=e;var t="\n",r="\\";function a(e,a,c){var i,o;if(a.charAt(0)===r&&(i=a.charAt(1),-1!==this.escape.indexOf(i)))return!!c||(o=i===t?{type:"break"}:{type:"text",value:i},e(r+i)(o))}
},{"../locate/escape":"E5JH"}],"nJOx":[function(require,module,exports) {
"use strict";function e(e,t){return e.indexOf("<",t)}module.exports=e;
},{}],"f1dU":[function(require,module,exports) {
"use strict";var e=require("is-whitespace-character"),t=require("parse-entities"),i=require("../locate/tag");module.exports=c,c.locator=i,c.notInLink=!0;var r="<",n=">",o="@",s="/",a="mailto:",l=a.length;function c(i,c,h){var u,f,k,A,m,p="",z=c.length,T=0,d="",g=!1,q="";if(c.charAt(0)===r){for(T++,p=r;T<z&&(u=c.charAt(T),!(e(u)||u===n||u===o||":"===u&&c.charAt(T+1)===s));)d+=u,T++;if(d){if(q+=d,d="",q+=u=c.charAt(T),T++,u===o)g=!0;else{if(":"!==u||c.charAt(T+1)!==s)return;q+=s,T++}for(;T<z&&(u=c.charAt(T),!e(u)&&u!==n);)d+=u,T++;if(u=c.charAt(T),d&&u===n)return!!h||(k=q+=d,p+=q+u,(f=i.now()).column++,f.offset++,g&&(q.slice(0,l).toLowerCase()===a?(k=k.substr(l),f.column+=l,f.offset+=l):q=a+q),A=this.inlineTokenizers,this.inlineTokenizers={text:A.text},m=this.enterLink(),k=this.tokenizeInline(k,f),this.inlineTokenizers=A,m(),i(p)({type:"link",title:null,url:t(q,{nonTerminated:!1}),children:k}))}}}
},{"is-whitespace-character":"zWUq","parse-entities":"kMt5","../locate/tag":"nJOx"}],"GM4m":[function(require,module,exports) {
"use strict";module.exports=r;var t=["https://","http://","mailto:"];function r(r,e){var i,n=t.length,o=-1,s=-1;if(!this.options.gfm)return-1;for(;++o<n;)-1!==(i=r.indexOf(t[o],e))&&(i<s||-1===s)&&(s=i);return s}
},{}],"C4iF":[function(require,module,exports) {
"use strict";var e=require("parse-entities"),t=require("is-whitespace-character"),i=require("../locate/url");module.exports=T,T.locator=i,T.notInLink=!0;var n='"',r="'",s="(",l=")",o=",",h=".",a=":",u=";",c="<",f="@",k="[",p="]",g="http://",d="https://",m="mailto:",x=[g,d,m],z=x.length;function T(i,g,d){var T,q,v,w,L,b,A,I,y,C,O,j,B;if(this.options.gfm){for(T="",w=-1;++w<z;)if(b=x[w],(A=g.slice(0,b.length)).toLowerCase()===b){T=A;break}if(T){for(w=T.length,I=g.length,y="",C=0;w<I&&(v=g.charAt(w),!t(v)&&v!==c)&&(v!==h&&v!==o&&v!==a&&v!==u&&v!==n&&v!==r&&v!==l&&v!==p||(O=g.charAt(w+1))&&!t(O))&&(v!==s&&v!==k||C++,v!==l&&v!==p||!(--C<0));)y+=v,w++;if(y){if(q=T+=y,b===m){if(-1===(L=y.indexOf(f))||L===I-1)return;q=q.substr(m.length)}return!!d||(B=this.enterLink(),j=this.inlineTokenizers,this.inlineTokenizers={text:j.text},q=this.tokenizeInline(q,i.now()),this.inlineTokenizers=j,B(),i(T)({type:"link",title:null,url:e(T,{nonTerminated:!1}),children:q}))}}}}
},{"parse-entities":"kMt5","is-whitespace-character":"zWUq","../locate/url":"GM4m"}],"bNzL":[function(require,module,exports) {
"use strict";var t=require("is-alphabetical"),i=require("../locate/tag"),e=require("../util/html").tag;module.exports=u,u.locator=i;var a="<",r="?",n="!",h="/",l=/^<a /i,s=/^<\/a>/i;function u(i,u,c){var o,k,m=u.length;if(!(u.charAt(0)!==a||m<3)&&(o=u.charAt(1),(t(o)||o===r||o===n||o===h)&&(k=u.match(e))))return!!c||(k=k[0],!this.inLink&&l.test(k)?this.inLink=!0:this.inLink&&s.test(k)&&(this.inLink=!1),i(k)({type:"html",value:k}))}
},{"is-alphabetical":"2SGd","../locate/tag":"nJOx","../util/html":"WspG"}],"4WCY":[function(require,module,exports) {
"use strict";function e(e,n){var r=e.indexOf("[",n),t=e.indexOf("![",n);return-1===t?r:r<t?r:t}module.exports=e;
},{}],"Vpcu":[function(require,module,exports) {
"use strict";var e=require("is-whitespace-character"),r=require("../locate/link");module.exports=d,d.locator=r;var t="\n",i="!",a='"',c="'",f="(",h=")",n="<",s=">",o="[",l="\\",A="]",u="`";function d(r,d,k){var p,m,w,b,g,v,q,L,x,y,z,I,T,j,B,C,D,E,F="",G=0,H=d.charAt(0),J=this.options.pedantic,K=this.options.commonmark,M=this.options.gfm;if(H===i&&(L=!0,F=H,H=d.charAt(++G)),H===o&&(L||!this.inLink)){for(F+=H,j="",G++,z=d.length,T=0,(C=r.now()).column+=G,C.offset+=G;G<z;){if(v=H=d.charAt(G),H===u){for(m=1;d.charAt(G+1)===u;)v+=H,G++,m++;w?m>=w&&(w=0):w=m}else if(H===l)G++,v+=d.charAt(G);else if(w&&!M||H!==o){if((!w||M)&&H===A){if(!T){if(!J)for(;G<z&&(H=d.charAt(G+1),e(H));)v+=H,G++;if(d.charAt(G+1)!==f)return;v+=f,p=!0,G++;break}T--}}else T++;j+=v,v="",G++}if(p){for(x=j,F+=j+v,G++;G<z&&(H=d.charAt(G),e(H));)F+=H,G++;if(j="",b=F,(H=d.charAt(G))===n){for(G++,b+=n;G<z&&(H=d.charAt(G))!==s;){if(K&&H===t)return;j+=H,G++}if(d.charAt(G)!==s)return;F+=n+j+s,B=j,G++}else{for(H=null,v="";G<z&&(H=d.charAt(G),!v||!(H===a||H===c||K&&H===f));){if(e(H)){if(!J)break;v+=H}else{if(H===f)T++;else if(H===h){if(0===T)break;T--}j+=v,v="",H===l&&(j+=l,H=d.charAt(++G)),j+=H}G++}B=j,G=(F+=j).length}for(j="";G<z&&(H=d.charAt(G),e(H));)j+=H,G++;if(H=d.charAt(G),F+=j,j&&(H===a||H===c||K&&H===f))if(G++,j="",y=H===f?h:H,g=F+=H,K){for(;G<z&&(H=d.charAt(G))!==y;)H===l&&(j+=l,H=d.charAt(++G)),G++,j+=H;if((H=d.charAt(G))!==y)return;for(I=j,F+=j+H,G++;G<z&&(H=d.charAt(G),e(H));)F+=H,G++}else for(v="";G<z;){if((H=d.charAt(G))===y)q&&(j+=y+v,v=""),q=!0;else if(q){if(H===h){F+=j+y+v,I=j;break}e(H)?v+=H:(j+=y+v+H,v="",q=!1)}else j+=H;G++}if(d.charAt(G)===h)return!!k||(F+=h,B=this.decode.raw(this.unescape(B),r(b).test().end,{nonTerminated:!1}),I&&(g=r(g).test().end,I=this.decode.raw(this.unescape(I),g)),E={type:L?"image":"link",title:I||null,url:B},L?E.alt=this.decode.raw(this.unescape(x),C)||null:(D=this.enterLink(),E.children=this.tokenizeInline(x,C),D()),r(F)(E))}}}
},{"is-whitespace-character":"zWUq","../locate/link":"4WCY"}],"Cj7B":[function(require,module,exports) {
"use strict";var e=require("is-whitespace-character"),t=require("../locate/link"),i=require("../util/normalize");module.exports=d,d.locator=t;var r="link",n="image",o="footnote",a="shortcut",c="collapsed",l="full",h=" ",f="!",s="[",u="\\",A="]",p="^";function d(t,d,k){var m,g,w,q,v,y,z,b,x=this.options.commonmark,I=d.charAt(0),L=0,O=d.length,R="",T="",j=r,B=a;if(I===f&&(j=n,T=I,I=d.charAt(++L)),I===s){if(L++,T+=I,y="",this.options.footnotes&&d.charAt(L)===p){if(j===n)return;T+=p,L++,j=o}for(b=0;L<O;){if((I=d.charAt(L))===s)z=!0,b++;else if(I===A){if(!b)break;b--}I===u&&(y+=u,I=d.charAt(++L)),y+=I,L++}if(R=y,m=y,(I=d.charAt(L))===A){if(L++,R+=I,y="",!x)for(;L<O&&(I=d.charAt(L),e(I));)y+=I,L++;if(I=d.charAt(L),j!==o&&I===s){for(g="",y+=I,L++;L<O&&(I=d.charAt(L))!==s&&I!==A;)I===u&&(g+=u,I=d.charAt(++L)),g+=I,L++;(I=d.charAt(L))===A?(B=g?l:c,y+=g+I,L++):g="",R+=y,y=""}else{if(!m)return;g=m}if(B===l||!z)return R=T+R,j===r&&this.inLink?null:!!k||(j===o&&-1!==m.indexOf(h)?t(R)({type:o,children:this.tokenizeInline(m,t.now())}):((w=t.now()).column+=T.length,w.offset+=T.length,q={type:j+"Reference",identifier:i(g=B===l?g:m),label:g},j!==r&&j!==n||(q.referenceType=B),j===r?(v=this.enterLink(),q.children=this.tokenizeInline(m,w),v()):j===n&&(q.alt=this.decode.raw(this.unescape(m),w)||null),t(R)(q)))}}}
},{"is-whitespace-character":"zWUq","../locate/link":"4WCY","../util/normalize":"3Faa"}],"XIcf":[function(require,module,exports) {
"use strict";function e(e,n){var r=e.indexOf("**",n),t=e.indexOf("__",n);return-1===t?r:-1===r?t:t<r?t:r}module.exports=e;
},{}],"Qs0B":[function(require,module,exports) {
"use strict";var r=require("trim"),t=require("is-whitespace-character"),e=require("../locate/strong");module.exports=n,n.locator=e;var i="\\",c="*",a="_";function n(e,n,o){var h,s,u,f,l,A,p,d=0,g=n.charAt(d);if(!(g!==c&&g!==a||n.charAt(++d)!==g||(s=this.options.pedantic,l=(u=g)+u,A=n.length,d++,f="",g="",s&&t(n.charAt(d)))))for(;d<A;){if(p=g,!((g=n.charAt(d))!==u||n.charAt(d+1)!==u||s&&t(p))&&(g=n.charAt(d+2))!==u){if(!r(f))return;return!!o||((h=e.now()).column+=2,h.offset+=2,e(l+f+l)({type:"strong",children:this.tokenizeInline(f,h)}))}s||g!==i||(f+=g,g=n.charAt(++d)),f+=g,d++}}
},{"trim":"JrhO","is-whitespace-character":"zWUq","../locate/strong":"XIcf"}],"MsYn":[function(require,module,exports) {
"use strict";module.exports=e;var r=String.fromCharCode,t=/\w/;function e(e){return t.test("number"==typeof e?r(e):e.charAt(0))}
},{}],"0wkt":[function(require,module,exports) {
"use strict";function e(e,n){var r=e.indexOf("*",n),t=e.indexOf("_",n);return-1===t?r:-1===r?t:t<r?t:r}module.exports=e;
},{}],"i4aF":[function(require,module,exports) {
"use strict";var r=require("trim"),e=require("is-word-character"),t=require("is-whitespace-character"),i=require("../locate/emphasis");module.exports=o,o.locator=i;var a="*",c="_",n="\\";function o(i,o,h){var s,u,f,l,p,m,A,d=0,q=o.charAt(d);if(!(q!==a&&q!==c||(u=this.options.pedantic,p=q,f=q,m=o.length,d++,l="",q="",u&&t(o.charAt(d)))))for(;d<m;){if(A=q,!((q=o.charAt(d))!==f||u&&t(A))){if((q=o.charAt(++d))!==f){if(!r(l)||A===f)return;if(!u&&f===c&&e(q)){l+=f;continue}return!!h||((s=i.now()).column++,s.offset++,i(p+l+f)({type:"emphasis",children:this.tokenizeInline(l,s)}))}l+=f}u||q!==n||(l+=q,q=o.charAt(++d)),l+=q,d++}}
},{"trim":"JrhO","is-word-character":"MsYn","is-whitespace-character":"zWUq","../locate/emphasis":"0wkt"}],"GivV":[function(require,module,exports) {
"use strict";function e(e,t){return e.indexOf("~~",t)}module.exports=e;
},{}],"Y7ij":[function(require,module,exports) {
"use strict";var e=require("is-whitespace-character"),t=require("../locate/delete");module.exports=c,c.locator=t;var r="~",i="~~";function c(t,c,o){var a,n,h,l="",s="",f="",u="";if(this.options.gfm&&c.charAt(0)===r&&c.charAt(1)===r&&!e(c.charAt(2)))for(a=1,n=c.length,(h=t.now()).column+=2,h.offset+=2;++a<n;){if(!((l=c.charAt(a))!==r||s!==r||f&&e(f)))return!!o||t(i+u+i)({type:"delete",children:this.tokenizeInline(u,h)});u+=s,f=s,s=l}}
},{"is-whitespace-character":"zWUq","../locate/delete":"GivV"}],"3T6Z":[function(require,module,exports) {
"use strict";function e(e,t){return e.indexOf("`",t)}module.exports=e;
},{}],"GELT":[function(require,module,exports) {
"use strict";var r=require("is-whitespace-character"),e=require("../locate/code-inline");module.exports=i,i.locator=e;var t="`";function i(e,i,a){for(var c,n,o,f,u,h,l,s,v=i.length,A=0,d="",p="";A<v&&i.charAt(A)===t;)d+=t,A++;if(d){for(u=d,f=A,d="",s=i.charAt(A),o=0;A<v;){if(h=s,s=i.charAt(A+1),h===t?(o++,p+=h):(o=0,d+=h),o&&s!==t){if(o===f){u+=d+p,l=!0;break}d+=p,p=""}A++}if(!l){if(f%2!=0)return;d=""}if(a)return!0;for(c="",n="",v=d.length,A=-1;++A<v;)h=d.charAt(A),r(h)?n+=h:(n&&(c&&(c+=n),n=""),c+=h);return e(u)({type:"inlineCode",value:c})}}
},{"is-whitespace-character":"zWUq","../locate/code-inline":"3T6Z"}],"3bUb":[function(require,module,exports) {
"use strict";function r(r,t){for(var e=r.indexOf("\n",t);e>t&&" "===r.charAt(e-1);)e--;return e}module.exports=r;
},{}],"dJbp":[function(require,module,exports) {
"use strict";var r=require("../locate/break");module.exports=n,n.locator=r;var e=" ",t="\n",a=2;function n(r,n,o){for(var u,i=n.length,c=-1,f="";++c<i;){if((u=n.charAt(c))===t){if(c<a)return;return!!o||r(f+=u)({type:"break"})}if(u!==e)return;f+=u}}
},{"../locate/break":"3bUb"}],"/8EO":[function(require,module,exports) {
"use strict";function t(t,e,i){var n,l,o,s,r,c,h,a,f,u;if(i)return!0;for(s=(n=this.inlineMethods).length,l=this.inlineTokenizers,o=-1,f=e.length;++o<s;)"text"!==(a=n[o])&&l[a]&&((h=l[a].locator)||t.file.fail("Missing locator: `"+a+"`"),-1!==(c=h.call(this,e,1))&&c<f&&(f=c));r=e.slice(0,f),u=t.now(),this.decode(r,u,function(e,i,n){t(n||e)({type:"text",value:e})})}module.exports=t;
},{}],"bCbY":[function(require,module,exports) {
"use strict";var e=require("xtend"),i=require("state-toggle"),t=require("vfile-location"),n=require("./unescape"),o=require("./decode"),r=require("./tokenizer");function a(i,r){this.file=r,this.offset={},this.options=e(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=t(r).toOffset,this.unescape=n(this,"escape"),this.decode=o(this)}module.exports=a;var k=a.prototype;function s(e){var i,t=[];for(i in e)t.push(i);return t}k.setOptions=require("./set-options"),k.parse=require("./parse"),k.options=require("./defaults"),k.exitStart=i("atStart",!0),k.enterList=i("inList",!1),k.enterLink=i("inLink",!1),k.enterBlock=i("inBlock",!1),k.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],k.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],k.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],k.blockTokenizers={newline:require("./tokenize/newline"),indentedCode:require("./tokenize/code-indented"),fencedCode:require("./tokenize/code-fenced"),blockquote:require("./tokenize/blockquote"),atxHeading:require("./tokenize/heading-atx"),thematicBreak:require("./tokenize/thematic-break"),list:require("./tokenize/list"),setextHeading:require("./tokenize/heading-setext"),html:require("./tokenize/html-block"),footnote:require("./tokenize/footnote-definition"),definition:require("./tokenize/definition"),table:require("./tokenize/table"),paragraph:require("./tokenize/paragraph")},k.inlineTokenizers={escape:require("./tokenize/escape"),autoLink:require("./tokenize/auto-link"),url:require("./tokenize/url"),html:require("./tokenize/html-inline"),link:require("./tokenize/link"),reference:require("./tokenize/reference"),strong:require("./tokenize/strong"),emphasis:require("./tokenize/emphasis"),deletion:require("./tokenize/delete"),code:require("./tokenize/code-inline"),break:require("./tokenize/break"),text:require("./tokenize/text")},k.blockMethods=s(k.blockTokenizers),k.inlineMethods=s(k.inlineTokenizers),k.tokenizeBlock=r("block"),k.tokenizeInline=r("inline"),k.tokenizeFactory=r;
},{"xtend":"YxsI","state-toggle":"GcGV","vfile-location":"ZEqf","./unescape":"/Jk/","./decode":"bkA+","./tokenizer":"Bgea","./set-options":"2z01","./parse":"55XZ","./defaults":"rcGr","./tokenize/newline":"DIjs","./tokenize/code-indented":"A6Ak","./tokenize/code-fenced":"MBZr","./tokenize/blockquote":"22KA","./tokenize/heading-atx":"F58J","./tokenize/thematic-break":"2KEU","./tokenize/list":"QPSD","./tokenize/heading-setext":"mb4J","./tokenize/html-block":"P43v","./tokenize/footnote-definition":"Dh/c","./tokenize/definition":"FgHM","./tokenize/table":"7Z5e","./tokenize/paragraph":"fJtX","./tokenize/escape":"TzE/","./tokenize/auto-link":"f1dU","./tokenize/url":"C4iF","./tokenize/html-inline":"bNzL","./tokenize/link":"Vpcu","./tokenize/reference":"Cj7B","./tokenize/strong":"Qs0B","./tokenize/emphasis":"i4aF","./tokenize/delete":"Y7ij","./tokenize/code-inline":"GELT","./tokenize/break":"dJbp","./tokenize/text":"/8EO"}],"+8Y3":[function(require,module,exports) {
"use strict";var r=require("unherit"),e=require("xtend"),t=require("./lib/parser.js");function s(s){var i=this.data("settings"),o=r(t);o.prototype.options=e(o.prototype.options,i,s),this.Parser=o}module.exports=s,s.Parser=t;
},{"unherit":"3hHz","xtend":"YxsI","./lib/parser.js":"bCbY"}],"YOw+":[function(require,module,exports) {
"use strict";var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable;function n(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function o(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(r){return t[r]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(r){n[r]=r}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}module.exports=o()?Object.assign:function(o,c){for(var a,i,s=n(o),f=1;f<arguments.length;f++){for(var u in a=Object(arguments[f]))t.call(a,u)&&(s[u]=a[u]);if(r){i=r(a);for(var b=0;b<i.length;b++)e.call(a,i[b])&&(s[i[b]]=a[i[b]])}}return s};
},{}],"aBh2":[function(require,module,exports) {
"use strict";var r=require("object-assign");function e(e,t,i){var n;return null!=i||"object"==typeof t&&!Array.isArray(t)||(i=t,t={}),n=r({type:String(e)},t),Array.isArray(i)?n.children=i:null!=i&&(n.value=String(i)),n}module.exports=e;
},{"object-assign":"YOw+"}],"e5bs":[function(require,module,exports) {
"use strict";var n=exports;function t(n){return t.displayName=n,t;function t(t){var e=t&&t.position&&t.position[n]||{};return{line:e.line||null,column:e.column||null,offset:isNaN(e.offset)?null:e.offset}}}n.start=t("start"),n.end=t("end");
},{}],"H4ou":[function(require,module,exports) {
"use strict";function n(n){var e=t(t(n).position),o=t(e.start),r=t(e.end);return!(o.line&&o.column&&r.line&&r.column)}function t(n){return n&&"object"==typeof n?n:{}}module.exports=n;
},{}],"A8iM":[function(require,module,exports) {
"use strict";var n=require("unist-util-visit");module.exports=t;var r={}.hasOwnProperty;function t(n,r){return e(i(n,r))}function i(t,i){var e={};if(!t||!t.type)throw new Error("mdast-util-definitions expected node");return n(t,"definition",i&&i.commonmark?function(n){var t=u(n.identifier);r.call(e,t)||(e[t]=n)}:function(n){e[u(n.identifier)]=n}),e}function e(n){return function(t){var i=t&&u(t);return i&&r.call(n,i)?n[i]:null}}function u(n){return n.toUpperCase()}
},{"unist-util-visit":"JLXd"}],"meR3":[function(require,module,exports) {
"use strict";module.exports=l;var e=require("trim"),r=require("./one");function l(l,u){for(var t,a,n=u.children||[],i=n.length,v=[],c=-1;++c<i;)(t=r(l,n[c],u))&&(c&&"break"===n[c-1].type&&(t.value&&(t.value=e.left(t.value)),(a=t.children&&t.children[0])&&a.value&&(a.value=e.left(a.value))),v=v.concat(t));return v}
},{"trim":"JrhO","./one":"SmsT"}],"SmsT":[function(require,module,exports) {
"use strict";module.exports=l;var e=require("unist-builder"),r=require("./all"),t={}.hasOwnProperty;function n(t,n){return a(n)?t.augment(n,e("text",n.value)):t(n,"div",r(t,n))}function l(e,r,l){var a=r&&r.type,u=t.call(e.handlers,a)?e.handlers[a]:null;if(!a)throw new Error("Expected node, got `"+r+"`");return("function"==typeof u?u:n)(e,r,l)}function a(e){var r=e.data||{};return!(t.call(r,"hName")||t.call(r,"hProperties")||t.call(r,"hChildren"))&&"value"in e}
},{"unist-builder":"aBh2","./all":"meR3"}],"5Xdv":[function(require,module,exports) {
"use strict";function r(r,t){return r(t,"hr")}module.exports=r;
},{}],"k1FH":[function(require,module,exports) {
"use strict";module.exports=e;var t=require("unist-builder");function e(e,u){var r=[],n=-1,s=e.length;for(u&&r.push(t("text","\n"));++n<s;)n&&r.push(t("text","\n")),r.push(e[n]);return u&&0!==e.length&&r.push(t("text","\n")),r}
},{"unist-builder":"aBh2"}],"8lkV":[function(require,module,exports) {
"use strict";module.exports=e;var r=require("../wrap"),t=require("../all");function e(e,a){var u={},s=a.ordered?"ol":"ul";return"number"==typeof a.start&&1!==a.start&&(u.start=a.start),e(a,s,u,r(t(e,a),!0))}
},{"../wrap":"k1FH","../all":"meR3"}],"GId/":[function(require,module,exports) {
"use strict";module.exports=i;var e=require("./handlers/thematic-break"),r=require("./handlers/list"),t=require("./wrap");function i(i){var n,o=i.footnotes,l=o.length,a=-1,s=[];if(!l)return null;for(;++a<l;)n=o[a],s[a]={type:"listItem",data:{hProperties:{id:"fn-"+n.identifier}},children:n.children.concat({type:"link",url:"#fnref-"+n.identifier,data:{hProperties:{className:["footnote-backref"]}},children:[{type:"text",value:"↩"}]}),position:n.position};return i(null,"div",{className:["footnotes"]},t([e(i),r(i,{type:"list",ordered:!0,children:s})],!0))}
},{"./handlers/thematic-break":"5Xdv","./handlers/list":"8lkV","./wrap":"k1FH"}],"Wrvk":[function(require,module,exports) {
"use strict";module.exports=u;var r=require("../wrap"),e=require("../all");function u(u,t){return u(t,"blockquote",r(e(u,t),!0))}
},{"../wrap":"k1FH","../all":"meR3"}],"qLyj":[function(require,module,exports) {
"use strict";module.exports=e;var r=require("unist-builder");function e(e,t){return[e(t,"br"),r("text","\n")]}
},{"unist-builder":"aBh2"}],"SnGC":[function(require,module,exports) {
"use strict";module.exports=s;var e=require("repeat-string"),r=9,t=10,i=13;function s(s,n){var o,u,c="string"==typeof s,p=c&&s.length,a=0,h=-1,d=-1,f=n||4,g=[];if(!c)throw new Error("detab expected string");for(;++h<p;)(o=s.charCodeAt(h))===r?(d+=u=f-(d+1)%f,g.push(s.slice(a,h)+e(" ",u)),a=h+1):o===t||o===i?d=-1:d++;return g.push(s.slice(a)),g.join("")}
},{"repeat-string":"+oXU"}],"kMww":[function(require,module,exports) {
"use strict";module.exports=a;var e=require("detab"),t=require("unist-builder");function a(a,r){var u=r.value?e(r.value+"\n"):"",n=r.lang&&r.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};return n&&(i.className=["language-"+n]),a(r.position,"pre",[a(r,"code",i,[t("text",u)])])}
},{"detab":"SnGC","unist-builder":"aBh2"}],"Tjrf":[function(require,module,exports) {
"use strict";module.exports=r;var e=require("../all");function r(r,t){return r(t,"del",e(r,t))}
},{"../all":"meR3"}],"irCd":[function(require,module,exports) {
"use strict";module.exports=r;var e=require("../all");function r(r,t){return r(t,"em",e(r,t))}
},{"../all":"meR3"}],"IzFm":[function(require,module,exports) {
"use strict";module.exports=r;var e=require("unist-builder");function r(r,t){var i=t.identifier;return r(t.position,"sup",{id:"fnref-"+i},[r(t,"a",{href:"#fn-"+i,className:["footnote-ref"]},[e("text",i)])])}
},{"unist-builder":"aBh2"}],"BFom":[function(require,module,exports) {
"use strict";module.exports=i;var e=require("./footnote-reference");function i(i,t){for(var o=[],n=1,r=i.footnotes,f=r.length,p=-1;++p<f;)o[p]=r[p].identifier;for(;-1!==o.indexOf(String(n));)n++;return n=String(n),r.push({type:"footnoteDefinition",identifier:n,children:[{type:"paragraph",children:t.children}],position:t.position}),e(i,{type:"footnoteReference",identifier:n,position:t.position})}
},{"./footnote-reference":"IzFm"}],"EEhb":[function(require,module,exports) {
"use strict";module.exports=r;var e=require("../all");function r(r,t){return r(t,"h"+t.depth,e(r,t))}
},{"../all":"meR3"}],"6iL/":[function(require,module,exports) {
"use strict";module.exports=e;var u=require("unist-builder");function e(e,r){return e.dangerous?e.augment(r,u("raw",r.value)):null}
},{"unist-builder":"aBh2"}],"be6a":[function(require,module,exports) {
"use strict";var e={};function t(t){var r,o,n=e[t];if(n)return n;for(n=e[t]=[],r=0;r<128;r++)o=String.fromCharCode(r),/^[0-9a-z]$/i.test(o)?n.push(o):n.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<t.length;r++)n[t.charCodeAt(r)]=t[r];return n}function r(e,o,n){var i,s,a,f,c,u="";for("string"!=typeof o&&(n=o,o=r.defaultChars),void 0===n&&(n=!0),c=t(o),i=0,s=e.length;i<s;i++)if(a=e.charCodeAt(i),n&&37===a&&i+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(a<128)u+=c[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1<s&&(f=e.charCodeAt(i+1))>=56320&&f<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",module.exports=r;
},{}],"pO0Y":[function(require,module,exports) {
"use strict";module.exports=r;var e=require("unist-builder"),t=require("./all");function r(r,u){var l,i,a,n=u.referenceType,p="]";return"collapsed"===n?p+="[]":"full"===n&&(p+="["+u.identifier+"]"),"imageReference"===u.type?e("text","!["+u.alt+p):((i=(l=t(r,u))[0])&&"text"===i.type?i.value="["+i.value:l.unshift(e("text","[")),(a=l[l.length-1])&&"text"===a.type?a.value+=p:l.push(e("text",p)),l)}
},{"unist-builder":"aBh2","./all":"meR3"}],"yunL":[function(require,module,exports) {
"use strict";module.exports=i;var e=require("mdurl/encode"),t=require("../revert");function i(i,r){var l,u=i.definition(r.identifier);return u?(l={src:e(u.url||""),alt:r.alt},null!==u.title&&void 0!==u.title&&(l.title=u.title),i(r,"img",l)):t(i,r)}
},{"mdurl/encode":"be6a","../revert":"pO0Y"}],"geTS":[function(require,module,exports) {
"use strict";var t=require("mdurl/encode");function e(e,l){var r={src:t(l.url),alt:l.alt};return null!==l.title&&void 0!==l.title&&(r.title=l.title),e(l,"img",r)}module.exports=e;
},{"mdurl/encode":"be6a"}],"lSr7":[function(require,module,exports) {
"use strict";module.exports=t;var e=require("collapse-white-space"),r=require("unist-builder");function t(t,u){return t(u,"code",[r("text",e(u.value))])}
},{"collapse-white-space":"cHHr","unist-builder":"aBh2"}],"w1hp":[function(require,module,exports) {
"use strict";module.exports=t;var e=require("mdurl/encode"),r=require("../revert"),i=require("../all");function t(t,l){var u,n=t.definition(l.identifier);return n?(u={href:e(n.url||"")},null!==n.title&&void 0!==n.title&&(u.title=n.title),t(l,"a",u,i(t,l))):r(t,l)}
},{"mdurl/encode":"be6a","../revert":"pO0Y","../all":"meR3"}],"vyBt":[function(require,module,exports) {
"use strict";var e=require("mdurl/encode"),r=require("../all");function t(t,l){var i={href:e(l.url)};return null!==l.title&&void 0!==l.title&&(i.title=l.title),t(l,"a",i,r(t,l))}module.exports=t;
},{"mdurl/encode":"be6a","../all":"meR3"}],"rVc4":[function(