!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{("undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this).SimpleMDE=e()}}(function(){returnfunctione(t,n,r){functioni(a,l){if(!n[a]){if(!t[a]){vars="function"==typeofrequire&&require;if(!l&&s)returns(a,!0);if(o)returno(a,!0);varc=newError("Cannot find module '"+a+"'");throwc.code="MODULE_NOT_FOUND",c}varu=n[a]={exports:{}};t[a][0].call(u.exports,function(e){varn=t[a][1][e];returni(n||e)},u,u.exports,e,t,n,r)}returnn[a].exports}for(varo="function"==typeofrequire&&require,a=0;a<r.length;a++)i(r[a]);returni}({1:[function(e,t,n){"use strict";functionr(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}functioni(e){returna[e>>18&63]+a[e>>12&63]+a[e>>6&63]+a[63&e]}functiono(e,t,n){for(varr,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(i(r));returno.join("")}n.byteLength=function(e){return3*e.length/4-r(e)},n.toByteArray=function(e){vart,n,i,o,a,c,u=e.length;a=r(e),c=news(3*u/4-a),i=a>0?u-4:u;varf=0;for(t=0,n=0;t<i;t+=4,n+=3)o=l[e.charCodeAt(t)]<<18|l[e.charCodeAt(t+1)]<<12|l[e.charCodeAt(t+2)]<<6|l[e.charCodeAt(t+3)],c[f++]=o>>16&255,c[f++]=o>>8&255,c[f++]=255&o;return2===a?(o=l[e.charCodeAt(t)]<<2|l[e.charCodeAt(t+1)]>>4,c[f++]=255&o):1===a&&(o=l[e.charCodeAt(t)]<<10|l[e.charCodeAt(t+1)]<<4|l[e.charCodeAt(t+2)]>>2,c[f++]=o>>8&255,c[f++]=255&o),c},n.fromByteArray=function(e){for(vart,n=e.length,r=n%3,i="",l=[],s=0,c=n-r;s<c;s+=16383)l.push(o(e,s,s+16383>c?c:s+16383));return1===r?(t=e[n-1],i+=a[t>>2],i+=a[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=a[t>>10],i+=a[t>>4&63],i+=a[t<<2&63],i+="="),l.push(i),l.join("")};for(vara=[],l=[],s="undefined"!=typeofUint8Array?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,f=c.length;u<f;++u)a[u]=c[u],l[c.charCodeAt(u)]=u;l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},{}],2:[function(e,t,n){},{}],3:[function(e,t,n){"use strict";functionr(e){if(e>K)thrownewRangeError("Invalid typed array length");vart=newUint8Array(e);returnt.__proto__=i.prototype,t}functioni(e,t,n){if("number"==typeofe){if("string"==typeoft)thrownewError("If encoding is specified then the first argument must be a string");returns(e)}returno(e,t,n)}functiono(e,t,n){if("number"==typeofe)thrownewTypeError('"value" argument must not be a number');returneinstanceofArrayBuffer?f(e,t,n):"string"==typeofe?c(e,t):h(e)}functiona(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionl(e,t,n){returna(e),e<=0?r(e):void0!==t?"string"==typeofn?r(e).fill(t,n):r(e).fill(t):r(e)}functions(e){returna(e),r(e<0?0:0|d(e))}functionc(e,t){if("string"==typeoft&&""!==t||(t="utf8"),!i.isEncoding(t))thrownewTypeError('"encoding" must be a valid string encoding');varn=0|p(e,t),o=r(n),a=o.write(e,t);returna!==n&&(o=o.slice(0,a)),o}functionu(e){for(vart=e.length<0?0:0|d(e.length),n=r(t),i=0;i<t;i+=1)n[i]=255&e[i];returnn}functionf(e,t,n){if(t<0||e.byteLength<t)thrownewRangeError("'offset' is out of bounds");if(e.byteLength<t+(n||0))thrownewRangeError("'length' is out of bounds");varr;returnr=void0===t&&void0===n?newUint8Array(e):void0===n?newUint8Array(e,t):newUint8Array(e,t,n),r.__proto__=i.prototype,r}functionh(e){if(i.isBuffer(e)){vart=0|d(e.length),n=r(t);return0===n.length?n:(e.copy(n,0,0,t),n)}if(e){if(q(e)||"length"ine)return"number"!=typeofe.length||G(e.length)?r(0):u(e);if("Buffer"===e.type&&Array.isArray(e.data))returnu(e.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functiond(e){if(e>=K)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+K.toString(16)+" bytes");return0|e}functionp(e,t){if(i.isBuffer(e))returne.length;if(q(e)||