!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).EasyMDE=e()}}((function(){returnfunctione(t,n,r){functioni(a,s){if(!n[a]){if(!t[a]){varl="function"==typeofrequire&&require;if(!s&&l)returnl(a,!0);if(o)returno(a,!0);varu=newError("Cannot find module '"+a+"'");throwu.code="MODULE_NOT_FOUND",u}varc=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){returni(t[a][1][e]||e)}),c,c.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";n.byteLength=function(e){vart=u(e),n=t[0],r=t[1];return3*(n+r)/4-r},n.toByteArray=function(e){vart,n,r=u(e),a=r[0],s=r[1],l=newo(function(e,t,n){return3*(t+n)/4-n}(0,a,s)),c=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);returnl},n.fromByteArray=function(e){for(vart,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));returno.join("")};for(varr=[],i=[],o="undefined"!=typeofUint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;functionu(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varn=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}functionc(e,t,n){for(vari,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);returna.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],2:[function(e,t,n){},{}],3:[function(e,t,n){(function(t){
/*!
*Thebuffermodulefromnode.js,forthebrowser.
*
*@authorFerossAboukhadijeh<https://feross.org>
*@licenseMIT
*/
"use strict";varr=e("base64-js"),i=e("ieee754"),o="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=t,n.SlowBuffer=function(e){+e!=e&&(e=0);returnt.alloc(+e)},n.INSPECT_MAX_BYTES=50;vara=2147483647;functions(e){if(e>a)thrownewRangeError('The value "'+e+'" is invalid for option "size"');varn=newUint8Array(e);returnObject.setPrototypeOf(n,t.prototype),n}functiont(e,t,n){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnc(e)}returnl(e,t,n)}functionl(e,n,r){if("string"==typeofe)returnfunction(e,n){"string"==typeofn&&""!==n||(n="utf8");if(!t.isEncoding(n))thrownewTypeError("Unknown encoding: "+n);varr=0|d(e,n),i=s(r),o=i.write(e,n);o!==r&&(i=i.slice(0,o));returni}(e,n);if(ArrayBuffer.isView(e))returnh(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer))returnfunction(e,n,r){if(n<0||e.byteLength<n)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<n+(r||0))thrownewRangeError('"length" is outside of buffer bounds');vari;i=void0===n&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,n):newUint8Array(e,n,r);returnObject.setPrototypeOf(i,t.prototype),i}(e,n,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');vari=e.valueOf&&e.valueOf();if(null!=i&&i!==e)returnt.from(i,n,r);varo=function(e){if(t.isBuffer(e)){varn=0|f(e.length),r=s(n);return0===r.length?r:(e.copy(r,0,0,n),r)}if(void0!==e.length)return"number"!=typeofe.length||_(e.length)?s(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))returnh(e.data)}(e);if(o)returno;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofe[Symbol.toPrimitive])returnt.from(e[Symbol.toPrimitive]("string"),n,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionu(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionc(e){returnu(e),s(e<0?0:0|f(e))}functionh(e){for(vart=e.length<0?0:0|f(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];returnn}functionf(e){if(e>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|e}functiond(e,n){if(t.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))returne.byteLength;if("string"!=typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);varr=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return0;for(varo=!1;;)switch(n){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":returnz(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnP(e).length;default:if(o)returni?-1:z(e).length;n=(""+n).toLowerCase(),o=!0}}functionp(e,t,n){varr=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":returnE(this,t,n);case"utf8":case"utf-8":returnL(this,t,n);case"ascii":returnM(this,t,n);case"latin1":case"binary":returnA(this,t,n);case"base64":returnS(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnN(this,t,n);default:if(r)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}functionm(e,t,n){varr=e[t];e[t]=e[n],e[n]=r}functiong(e,n,r,i,o){if(0===e.length)return-1;if("string"==typeofr?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),_(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}elseif(r<0){if(!o)return-1;r=0}if("st