1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8076],{41392:function(e,t,n){"use strict";var i=n(58060);function r(e){if("function"!=typeof(e=e||{}).codeMirrorInstance||"function"!=typeof e.codeMirrorInstance.defineMode){console.log("CodeMirror Spell Checker: You must provide an instance of CodeMirror via the option `codeMirrorInstance`");return}String.prototype.includes||(String.prototype.includes=function(){return -1!==String.prototype.indexOf.apply(this,arguments)}),e.codeMirrorInstance.defineMode("spell-checker",function(t){if(!r.aff_loading){r.aff_loading=!0;var n=new XMLHttpRequest;n.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.aff",!0),n.onload=function(){4===n.readyState&&200===n.status&&(r.aff_data=n.responseText,r.num_loaded++,2==r.num_loaded&&(r.typo=new i("en_US",r.aff_data,r.dic_data,{platform:"any"})))},n.send(null)}if(!r.dic_loading){r.dic_loading=!0;var a=new XMLHttpRequest;a.open("GET","https://cdn.jsdelivr.net/codemirror.spell-checker/latest/en_US.dic",!0),a.onload=function(){4===a.readyState&&200===a.status&&(r.dic_data=a.responseText,r.num_loaded++,2==r.num_loaded&&(r.typo=new i("en_US",r.aff_data,r.dic_data,{platform:"any"})))},a.send(null)}var o='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~ ',s=e.codeMirrorInstance.getMode(t,t.backdrop||"text/plain");return e.codeMirrorInstance.overlayMode(s,{token:function(e){var t=e.peek(),n="";if(o.includes(t))return e.next(),null;for(;null!=(t=e.peek())&&!o.includes(t);)n+=t,e.next();return r.typo&&!r.typo.check(n)?"spell-error":null}},!0)})}r.num_loaded=0,r.aff_loading=!1,r.dic_loading=!1,r.aff_data="",r.dic_data="",r.typo,e.exports=r},44936:function(e,t,n){!function(e){"use strict";function t(t,n){clearTimeout(n.timeout),e.off(window,"mouseup",n.hurry),e.off(window,"keyup",n.hurry)}e.defineOption("autoRefresh",!1,function(n,i){n.state.autoRefresh&&(t(n,n.state.autoRefresh),n.state.autoRefresh=null),i&&0==n.display.wrapper.offsetHeight&&function(n,i){function r(){n.display.wrapper.offsetHeight?(t(n,i),n.display.lastWrapHeight!=n.display.wrapper.clientHeight&&n.refresh()):i.timeout=setTimeout(r,i.delay)}i.timeout=setTimeout(r,i.delay),i.hurry=function(){clearTimeout(i.timeout),i.timeout=setTimeout(r,50)},e.on(window,"mouseup",i.hurry),e.on(window,"keyup",i.hurry)}(n,n.state.autoRefresh={delay:i.delay||250})})}(n(51257))},49524:function(e,t,n){!function(e){"use strict";e.defineOption("fullScreen",!1,function(t,n,i){var r,a,o,s;i==e.Init&&(i=!1),!i!=!n&&(n?(a=(r=t).getWrapperElement(),r.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:a.style.width,height:a.style.height},a.style.width="",a.style.height="auto",a.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",r.refresh()):((o=t.getWrapperElement()).className=o.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="",s=t.state.fullScreenRestore,o.style.width=s.width,o.style.height=s.height,window.scrollTo(s.scrollLeft,s.scrollTop),t.refresh()))})}(n(51257))},51913:function(e,t,n){!function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function n(e){t(e);var n=e.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=e.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var i=e.getOption("placeholder");"string"==typeof i&&(i=document.createTextNode(i)),n.appendChild(i),e.display.lineSpace.insertBefore(n,e.display.lineSpace.firstChild)}function i(e){a(e)&&n(e)}function r(e){var i=e.getWrapperElement(),r=a(e);i.className=i.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?n(e):t(e)}function a(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",function(a,o,s){var u=s&&s!=e.Init;if(o&&!u)a.on("blur",i),a.on("change",r),a.on("swapDoc",r),e.on(a.getInputField(),"compositionupdate",a.state.placeholderCompose=function(){setTimeout(function(){var e=!1;if(1==a.lineCount()){var i=a.getInputField();e="TEXTAREA"==i.nodeName?!a.getLine(0).length:!/[^\u200b]/.test(i.querySelector(".CodeMirror-line").textContent)}e?n(a):t(a)},20)}),r(a);
1else if(!o&&u){a.off("blur",i),a.off("change",r),a.off("swapDoc",r),e.off(a.getInputField(),"compositionupdate",a.state.placeholderCompose),t(a);var l=a.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}o&&!a.hasFocus()&&i(a)})}(n(51257))},13865:function(e,t,n){var i,r,a,o;i=n(51257),r=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,a=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,o=/[*+-]\s/,i.commands.newlineAndIndentContinueMarkdownList=function(e){if(e.getOption("disableInput"))return i.Pass;for(var t=e.listSelections(),n=[],s=0;s<t.length;s++){var u=t[s].head,l=e.getStateAfter(u.line),c=i.innerMode(e.getMode(),l);if("markdown"!==c.mode.name&&"markdown"!==c.mode.helperType){e.execCommand("newlineAndIndent");return}var m=!1!==(l=c.state).list,d=0!==l.quote,p=e.getLine(u.line),h=r.exec(p),f=/^\s*$/.test(p.slice(0,u.ch));if(!t[s].empty()||!m&&!d||!h||f){e.execCommand("newlineAndIndent");return}if(a.test(p)){var g=d&&/>\s*$/.test(p),D=!/>\s*$/.test(p);(g||D)&&e.replaceRange("",{line:u.line,ch:0},{line:u.line,ch:u.ch+1}
1),n[s]="\n"}else{var x=h[1],v=h[5],k=!(o.test(h[2])||h[2].indexOf(">")>=0),b=k?parseInt(h[3],10)+1+h[4]:h[2].replace("x"," ");n[s]="\n"+x+b+v,k&&function(e,t){var n=t.line,i=0,a=0,o=r.exec(e.getLine(n)),s=o[1];do{var u=n+(i+=1),l=e.getLine(u),c=r.exec(l);if(c){var m=c[1],d=parseInt(o[3],10)+i-a,p=parseInt(c[3],10),h=p;if(s!==m||isNaN(p)){if(s.length>m.length||s.length<m.length&&1===i)return;a+=1}else d===p&&(h=p+1),d>p&&(h=d+1),e.replaceRange(l.replace(r,m+h+c[4]+c[5]),{line:u,ch:0},{line:u,ch:l.length})}}while(c)}(e,u)}}e.replaceSelections(n)}},9547:function(e,t,n){var i;(i=n(51257)).overlayMode=function(e,t,n){return{startState:function(){return{base:i.startState(e),overlay:i.startState(t),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(n){return{base:i.copyState(e,n.base),overlay:i.copyState(t,n.overlay),basePos:n.basePos,baseCur:null,overlayPos:n.overlayPos,overlayCur:null}},token:function(i,r){return((i!=r.streamSeen||Math.min(r.basePos,r.overlayPos)<i.start)&&(r.streamSeen=i,r.basePos=r.overlayPos=i.start),i.start==r.basePos&&(r.baseCur=e.token(i,r.base),r.basePos=i.pos),i.start==r.overlayPos&&(i.pos=i.start,r.overlayCur=t.token(i,r.overlay),r.overlayPos=i.pos),i.pos=Math.min(r.basePos,r.overlayPos),null==r.overlayCur)?r.baseCur:null!=r.baseCur&&r.overlay.combineTokens||n&&null==r.overlay.combineTokens?r.baseCur+" "+r.overlayCur:r.overlayCur},indent:e.indent&&function(t,n,i){return e.indent(t.base,n,i)},electricChars:e.electricChars,innerMode:function(t){return{state:t.base,mode:e}},blankLine:function(i){var r,a;return e.blankLine&&(r=e.blankLine(i.base)),t.blankLine&&(a=t.blankLine(i.overlay)),null==a?r:n&&null!=r?r+" "+a:a}}}},25491:function(e,t,n){!function(e){"use strict";var t,n,i=e.Pos;function r(e,t){for(var n,i=null!=(n=e.flags)?n:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":""),r=i,a=0;a<t.length;a++)-1==r.indexOf(t.charAt(a))&&(r+=t.charAt(a));return i==r?e:new RegExp(e.source,r)}function a(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function o(e,t,n){t=r(t,"g");for(var a=n.line,o=n.ch,s=e.lastLine();a<=s;a++,o=0){t.lastIndex=o;var u=e.getLine(a),l=t.exec(u);if(l)return{from:i(a,l.index),to:i(a,l.index+l[0].length),match:l}}}function s(e,t,n){if(!a(t))return o(e,t,n);t=r(t,"gm");for(var s,u=1,l=n.line,c=e.lastLine();l<=c;){for(var m=0;m<u&&!(l>c);m++){var d=e.getLine(l++);s=null==s?d:s+"\n"+d}u*=2,t.lastIndex=n.ch;var p=t.exec(s);if(p){var h=s.slice(0,p.index).split("\n"),f=p[0].split("\n"),g=n.line+h.length-1,D=h[h.length-1].length;return{from:i(g,D),to:i(g+f.length-1,1==f.length?D+f[0].length:f[f.length-1].length),match:p}}}}function u(e,t,n){for(var i,r=0;r<=e.length;){t.lastIndex=r;var a=t.exec(e);if(!a)break;var o=a.index+a[0].length;if(o>e.length-n)break;(!i||o>i.index+i[0].length)&&(i=a),r=a.index+1}return i}function l(e,t,n){t=r(t,"g");for(var a=n.line,o=n.ch,s=e.firstLine();a>=s;a--,o=-1){var l=e.getLine(a),c=u(l,t,o<0?0:l.length-o);if(c)return{from:i(a,c.index),to:i(a,c.index+c[0].length),match:c}}}function c(e,t,n){if(!a(t))return l(e,t,n);t=r(t,"gm");for(var o,s=1,c=e.getLine(n.line).length-n.ch,m=n.line,d=e.firstLine();m>=d;){for(var p=0;p<s&&m>=d;p++){var h=e.getLine(m--);o=null==o?h:h+"\n"+o}s*=2;var f=u(o,t,c);if(f){var g=o.slice(0,f.index).split("\n"),D=f[0].split("\n"),x=m+g.length,v=g[g.length-1].length;return{from:i(x,v),to:i(x+D.length-1,1==D.length?v+D[0].length:D[D.length-1].length),match:f}}}}function m(e,t,n,i){if(e.length==t.length)return n;for(var r=0,a=n+Math.max(0,e.length-t.length);;){if(r==a)return r;var o=r+a>>1,s=i(e.slice(0,o)).length;if(s==n)return o;s>n?a=o:r=o+1}}function d(e,r,a,o){if(!r.length)return null;var s=o?t:n,u=s(r).split(/\r|\n\r?/);e:for(var l=a.line,c=a.ch,d=e.lastLine()+1-u.length;l<=d;l++,c=0){var p=e.getLine(l).slice(c),h=s(p);if(1==u.length){var f=h.indexOf(u[0]);if(-1==f)continue e;var a=m(p,h,f,s)+c;return{from:i(l,m(p,h,f,s)+c),to:i(l,m(p,h,f+u[0].length,s)+c)}}var g=h.length-u[0].length;if(h.slice(g)!=u[0])continue e;for(var D=1;D<u.length-1;D++)if(s(e.getLine(l+D))!=u[D])continue e;var x=e.getLine(l+u.length-1),v=s(x),k=u[u.length-1];if(v.slice(0,k.length)!=k)continue e;return{from:i(l,m(p,h,g,s)+c),to:i(l+u.length-1,m(x,v,k.length,s))}}}function p(e,r,a,o){if(!r.length)return null;var s=o?t:n,u=s(r).split(/\r|\n\r?/);e:for(var l=a.line,c=a.ch,d=e.firstLine()-1+u.length;l>=d;l--,c=-1){var p=e.getLine(l);c>-1&&(p=p.slice(0,c));var h=s(p);if(1==u.length){var f=h.lastIndexOf(u[0]);if(-1==f)continue e;return{from:i(l,m(p,h,f,s)),to:i(l,m(p,h,f+u[0].length,s))}}var g=u[u.length-1];if(h.slice(0,g.length)!=g)continue e;
1for(var D=1,a=l-u.length+1;D<u.length-1;D++)if(s(e.getLine(a+D))!=u[D])continue e;var x=e.getLine(l+1-u.length),v=s(x);if(v.slice(v.length-u[0].length)!=u[0])continue e;return{from:i(l+1-u.length,m(x,v,x.length-u[0].length,s)),to:i(l,m(p,h,g.length,s))}}}function h(e,t,n,a){var u;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):i(0,0),this.pos={from:n,to:n},"object"==typeof a?u=a.caseFold:(u=a,a=null),"string"==typeof t?(null==u&&(u=!1),this.matches=function(n,i){return(n?p:d)(e,t,i,u)}):(t=r(t,"gm"),a&&!1===a.multiline?this.matches=function(n,i){return(n?l:o)(e,t,i)}:this.matches=function(n,i){return(n?c:s)(e,t,i)})}String.prototype.normalize?(t=function(e){return e.normalize("NFD").toLowerCase()},n=function(e){return e.normalize("NFD")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),h.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=i(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||"").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var r=this.matches(t,n);if(this.afterEmptyMatch=r&&0==e.cmpPos(r.from,r.to),r)return this.pos=r,this.atOccurrence=!0,this.pos.match||!0;var a=i(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:a,to:a},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var r=e.splitLines(t);this.doc.replaceRange(r,this.pos.from,this.pos.to,n),this.pos.to=i(this.pos.from.line+r.length-1,r[r.length-1].length+(1==r.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",function(e,t,n){return new h(this.doc,e,t,n)}),e.defineDocExtension("getSearchCursor",function(e,t,n){return new h(this,e,t,n)}),e.defineExtension("selectMatches",function(t,n){for(var i=[],r=this.getSearchCursor(t,this.getCursor("from"),n);r.findNext()&&!(e.cmpPos(r.to(),this.getCursor("to"))>0);)i.push({anchor:r.from(),head:r.to()});i.length&&this.setSelections(i,0)})}(n(51257))},35710:function(e,t,n){!function(e){"use strict";function t(e){e.state.markedSelection&&e.operation(function(){!function(e){if(!e.somethingSelected())return o(e);if(e.listSelections().length>1)return s(e);var t=e.getCursor("start"),n=e.getCursor("end"),i=e.state.markedSelection;if(!i.length)return a(e,t,n);var u=i[0].find(),l=i[i.length-1].find();if(!u||!l||n.line-t.line<=8||r(t,l.to)>=0||0>=r(n,u.from))return s(e);for(;r(t,u.from)>0;)i.shift().clear(),u=i[0].find();for(0>r(t,u.from)&&(u.to.line-t.line<8?(i.shift().clear(),a(e,t,u.to,0)):a(e,t,u.from,0));0>r(n,l.to);)i.pop().clear(),l=i[i.length-1].find();r(n,l.to)>0&&(n.line-l.from.line<8?(i.pop().clear(),a(e,l.from,n)):a(e,l.to,n))}(e)})}function n(e){e.state.markedSelection&&e.state.markedSelection.length&&e.operation(function(){o(e)})}e.defineOption("styleSelectedText",!1,function(i,r,a){var u=a&&a!=e.Init;r&&!u?(i.state.markedSelection=[],i.state.markedSelectionStyle="string"==typeof r?r:"CodeMirror-selectedtext",s(i),i.on("cursorActivity",t),i.on("change",n)):!r&&u&&(i.off("cursorActivity",t),i.off("change",n),o(i),i.state.markedSelection=i.state.markedSelectionStyle=null)});var i=e.Pos,r=e.cmpPos;function a(e,t,n,a){if(0!=r(t,n))for(var o=e.state.markedSelection,s=e.state.markedSelectionStyle,u=t.line;;){var l=u==t.line?t:i(u,0),c=u+8,m=c>=n.line,d=m?n:i(c,0),p=e.markText(l,d,{className:s});if(null==a?o.push(p):o.splice(a++,0,p),m)break;u=c}}function o(e){for(var t=e.state.markedSelection,n=0;n<t.length;++n)t[n].clear();t.length=0}function s(e){o(e);for(var t=e.listSelections(),n=0;n<t.length;n++)a(e,t[n].from(),t[n].to())}}(n(51257))},80522:function(e,t,n){var i,r;i=n(51257),n(84583),n(9547),r=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facet
1ime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»ââââ]))/i,i.defineMode("gfm",function(e,t){var n=0,a={taskLists:!0,strikethrough:!0,emoji:!0};for(var o in t)a[o]=t[o];return a.name="markdown",i.overlayMode(i.getMode(e,a),{startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,i){if(i.combineTokens=null,i.codeBlock)return e.match(/^```+/)?(i.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(i.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),i.codeBlock=!0,null;if("`"===e.peek()){e.next();var a=e.pos;e.eatWhile("`");var o=1+e.pos-a;return i.code?o===n&&(i.code=!1):(n=o,i.code=!0),null}return i.code?(e.next(),null):e.eatSpace()?(i.ateSpace=!0,null):(e.sol()||i.ateSpace)&&(i.ateSpace=!1,!1!==t.gitHubSpice)&&(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/)||e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))?(i.combineTokens=!0,"link"):e.match(r)&&"]("!=e.string.slice(e.start-2,e.start)&&(0==e.start||/\W/.test(e.string.charAt(e.start-1)))?(i.combineTokens=!0,"link"):(e.next(),null)},blankLine:function(e){return e.code=!1,null}})},"markdown"),i.defineMIME("text/x-gfm","gfm")},84583:function(e,t,n){var i;i=n(51257),n(17140),n(22745),i.defineMode("markdown",function(e,t){var n=i.getMode(e,"text/html"),r="null"==n.name;void 0===t.highlightFormatting&&(t.highlightFormatting=!1),void 0===t.maxBlockquoteDepth&&(t.maxBlockquoteDepth=0),void 0===t.taskLists&&(t.taskLists=!1),void 0===t.strikethrough&&(t.strikethrough=!1),void 0===t.emoji&&(t.emoji=!1),void 0===t.fencedCodeBlockHighlighting&&(t.fencedCodeBlockHighlighting=!0),void 0===t.fencedCodeBlockDefaultMode&&(t.fencedCodeBlockDefaultMode="text/plain"),void 0===t.xml&&(t.xml=!0),void 0===t.tokenTypeOverrides&&(t.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var o in a)a.hasOwnProperty(o)&&t.tokenTypeOverrides[o]&&(a[o]=t.tokenTypeOverrides[o]);var s=/^([*\-_])(?:\s*\1){2,}\s*$/,u=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,l=/^\[(x| )\](?=\s)/i,c=t.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,m=/^ {0,3}(?:\={1,}|-{2,})\s*$/,d=/^[^#!\[\]*_\\<>` "'(~:]+/,p=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,h=/^\s*\[[^\]]+?\]:.*$/,f=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/;function g(e,t,n){return t.f=t.inline=n,n(e,t)}function D(e,t,n){return t.f=t.block=n,n(e,t)}function x(e){if(e.linkTitle=!1,e.linkHref=!1,e.linkText=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,e.f==k){var t=r;if(!t){var a=i.innerMode(n,e.htmlState);
1t="xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText}t&&(e.f=y,e.block=v,e.htmlState=null)}return e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.prevLine=e.thisLine,e.thisLine={stream:null},null}function v(n,r){var o,d=n.column()===r.indentation,f=!(o=r.prevLine.stream)||!/\S/.test(o.string),D=r.indentedCode,x=r.prevLine.hr,v=!1!==r.list,k=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var F=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,v)){for(r.list=null;F<r.listStack[r.listStack.length-1];)r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=F-r.listStack[r.listStack.length-1])}var y=!f&&!x&&!r.prevLine.header&&(!v||!D)&&!r.prevLine.fencedCodeEnd,E=(!1===r.list||x||f)&&r.indentation<=k&&n.match(s),A=null;if(r.indentationDiff>=4&&(D||r.prevLine.fencedCodeEnd||r.prevLine.header||f))return n.skipToEnd(),r.indentedCode=!0,a.code;if(n.eatSpace())return null;if(d&&r.indentation<=k&&(A=n.match(c))&&A[1].length<=6)return r.quote=0,r.header=A[1].length,r.thisLine.header=!0,t.highlightFormatting&&(r.formatting="header"),r.f=r.inline,C(r);if(r.indentation<=k&&n.eat(">"))return r.quote=d?1:r.quote+1,t.highlightFormatting&&(r.formatting="quote"),n.eatSpace(),C(r);if(!E&&!r.setext&&d&&r.indentation<=k&&(A=n.match(u))){var w=A[1]?"ol":"ul";return r.indentation=F+n.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,t.taskLists&&n.match(l,!1)&&(r.taskList=!0),r.f=r.inline,t.highlightFormatting&&(r.formatting=["list","list-"+w]),C(r)}if(d&&r.indentation<=k&&(A=n.match(p,!0)))return r.quote=0,r.fencedEndRE=RegExp(A[1]+"+ *$"),r.localMode=t.fencedCodeBlockHighlighting&&function(t){if(i.findModeByName){var n=i.findModeByName(t);n&&(t=n.mime||n.mimes[0])}var r=i.getMode(e,t);return"null"==r.name?null:r}(A[2]||t.fencedCodeBlockDefaultMode),r.localMode&&(r.localState=i.startState(r.localMode)),r.f=r.block=b,t.highlightFormatting&&(r.formatting="code-block"),r.code=-1,C(r);if(r.setext||(!y||!v)&&!r.quote&&!1===r.list&&!r.code&&!E&&!h.test(n.string)&&(A=n.lookAhead(1))&&(A=A.match(m)))return r.setext?(r.header=r.setext,r.setext=0,n.skipToEnd(),t.highlightFormatting&&(r.formatting="header")):(r.header="="==A[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,C(r);else if(E)return n.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr;else if("["===n.peek())return g(n,r,S);return g(n,r,r.inline)}function k(e,t){var a=n.token(e,t.htmlState);if(!r){var o=i.innerMode(n,t.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||t.md_inside&&e.current().indexOf(">")>-1)&&(t.f=y,t.block=v,t.htmlState=null)}return a}function b(e,n){var i,r=n.listStack[n.listStack.length-1]||0,o=n.indentation<r;return n.fencedEndRE&&n.indentation<=r+3&&(o||e.match(n.fencedEndRE))?(t.highlightFormatting&&(n.formatting="code-block"),o||(i=C(n)),n.localMode=n.localState=null,n.block=v,n.f=y,n.fencedEndRE=null,n.code=0,n.thisLine.fencedCodeEnd=!0,o)?D(e,n,n.block):i:n.localMode?n.localMode.token(e,n.localState):(e.skipToEnd(),a.code)}function C(e){var n=[];if(e.formatting){n.push(a.formatting),"string"==typeof e.formatting&&(e.formatting=[e.formatting]);for(var i=0;i<e.formatting.length;i++)n.push(a.formatting+"-"+e.formatting[i]),"header"===e.formatting[i]&&n.push(a.formatting+"-"+e.formatting[i]+"-"+e.header),"quote"===e.formatting[i]&&(!t.maxBlockquoteDepth||t.maxBlockquoteDepth>=e.quote?n.push(a.formatting+"-"+e.formatting[i]+"-"+e.quote):n.push("error"))}if(e.taskOpen)return n.push("meta"),n.length?n.join(" "):null;if(e.taskClosed)return n.push("property"),n.length?n.join(" "):null;if(e.linkHref?n.push(a.linkHref,"url"):(e.strong&&n.push(a.strong),e.em&&n.push(a.em),e.strikethrough&&n.push(a.strikethrough),e.emoji&&n.push(a.emoji),e.linkText&&n.push(a.linkText),e.code&&n.push(a.code),e.image&&n.push(a.image),e.imageAltText&&n.push(a.imageAltText,"link"),e.imageMarker&&n.push(a.imageMarker)),e.header&&n.push(a.header,a.header+"-"+e.header),e.quote&&(n.push(a.quote),!t.maxBlockquoteDepth||t.maxBlockquoteDepth>=e.quote?n.push(a.quote+"-"+e.quote):n.push(a.quote+"-"+t.maxBlockquoteDepth)),!1!==e.list){var r=(e.listStack.length-1)%3;r?1===r?n.push(a.list2):n.push(a.list3):n.push(a.list1)}return e.trailingSpaceNewLine?n.push("trailing-space-new-line"):e.trailingSpace&&n.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),n.length?n.join(" "):null}function F(e,t){if(e.match(d,!0))return C(t)}function y(e,r){var o=r.text(e,r);if(void 0!==o)return o;if(r.list)return r.list=null,C(r);if(r.taskList)return" "===e.match(l,!0)[1]?r.taskOpen=!0:r.taskClosed=!0,t.highlightFormatting&&(r.formatting="task"),r.taskList=!1,C(r);if(r.taskOpen=!1,r.taskClosed=!1,r.header&&e.match(/^#+$/,!0))return t.highlightFormatting&&(r.formatting="header"),C(r);var s=e.next();if(r.linkTitle){r.linkTitle=!1;var u=s;"("===s&&(u=")");var c="^\\s*(?:[^"+(u=(u+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+u;if(e.match(new RegExp(c),!0))return a.linkHref}if("`"===s){var m=r.formatting;t.highlightFormatting&&(r.formatting="code"),e.eatWhile("`");var d=e.current().length;if(0==r.code&&(!r.quote||1==d))return r.code=d,C(r);if(d!=r.code)return r.formatting=m,C(r);var p=C(r);return r.code=0,p}if(r.code)return C(r);if("\\"===s&&(e.next(),t.highlightFormatting)){var h=C(r),g=a.formatting+"-escape";return h?h+" "+g:g}if("!"===s&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,t.highlightFormatting&&(r.formatting="image"),C(r);if("["===s&&r.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,t.highlightFormatting&&(r.formatting="image"),C(r);if("]"===s&&r.imageAltText){t.highlightFormatting&&(r.formatting="image");var h=C(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=A,h}
1if("["===s&&!r.image)return r.linkText&&e.match(/^.*?\]/)||(r.linkText=!0,t.highlightFormatting&&(r.formatting="link")),C(r);if("]"===s&&r.linkText){t.highlightFormatting&&(r.formatting="link");var h=C(r);return r.linkText=!1,r.inline=r.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?A:y,h}if("<"===s&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=E,t.highlightFormatting&&(r.formatting="link");var h=C(r);return h?h+=" ":h="",h+a.linkInline}if("<"===s&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=E,t.highlightFormatting&&(r.formatting="link");var h=C(r);return h?h+=" ":h="",h+a.linkEmail}if(t.xml&&"<"===s&&e.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var x=e.string.indexOf(">",e.pos);if(-1!=x){var v=e.string.substring(e.start,x);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(v)&&(r.md_inside=!0)}return e.backUp(1),r.htmlState=i.startState(n),D(e,r,k)}if(t.xml&&"<"===s&&e.match(/^\/\w*?>/))return r.md_inside=!1,"tag";if("*"===s||"_"===s){for(var b=1,F=1==e.pos?" ":e.string.charAt(e.pos-2);b<3&&e.eat(s);)b++;var w=e.peek()||" ",S=!/\s/.test(w)&&(!f.test(w)||/\s/.test(F)||f.test(F)),B=!/\s/.test(F)&&(!f.test(F)||/\s/.test(w)||f.test(w)),T=null,_=null;if(b%2&&(!r.em&&S&&("*"===s||!B||f.test(F))?T=!0:r.em==s&&B&&("*"===s||!S||f.test(w))&&(T=!1)),b>1&&(!r.strong&&S&&("*"===s||!B||f.test(F))?_=!0:r.strong==s&&B&&("*"===s||!S||f.test(w))&&(_=!1)),null!=_||null!=T){t.highlightFormatting&&(r.formatting=null==T?"strong":null==_?"em":"strong em"),!0===T&&(r.em=s),!0===_&&(r.strong=s);var p=C(r);return!1===T&&(r.em=!1),!1===_&&(r.strong=!1),p}}else if(" "===s&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return C(r);e.backUp(1)}if(t.strikethrough){if("~"===s&&e.eatWhile(s)){if(r.strikethrough){t.highlightFormatting&&(r.formatting="strikethrough");var p=C(r);return r.strikethrough=!1,p}if(e.match(/^[^\s]/,!1))return r.strikethrough=!0,t.highlightFormatting&&(r.formatting="strikethrough"),C(r)}else if(" "===s&&e.match("~~",!0)){if(" "===e.peek())return C(r);e.backUp(2)}}if(t.emoji&&":"===s&&e.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){r.emoji=!0,t.highlightFormatting&&(r.formatting="emoji");var L=C(r);return r.emoji=!1,L}return" "===s&&(e.match(/^ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),C(r)}function E(e,n){if(">"===e.next()){n.f=n.inline=y,t.highlightFormatting&&(n.formatting="link");var i=C(n);return i?i+=" ":i="",i+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function A(e,n){if(e.eatSpace())return null;var i,r=e.next();return"("===r||"["===r?(n.f=n.inline=(i="("===r?")":"]",function(e,n){if(e.next()===i){n.f=n.inline=y,t.highlightFormatting&&(n.formatting="link-string");var r=C(n);return n.linkHref=!1,r}return e.match(w[i]),n.linkHref=!0,C(n)}),t.highlightFormatting&&(n.formatting="link-string"),n.linkHref=!0,C(n)):"error"}var w={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function S(e,n){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(n.f=B,e.next(),t.highlightFormatting&&(n.formatting="link"),n.linkText=!0,C(n)):g(e,n,y)}function B(e,n){if(e.match("]:",!0)){n.f=n.inline=T,t.highlightFormatting&&(n.formatting="link");var i=C(n);return n.linkText=!1,i}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function T(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),t.f=t.inline=y,a.linkHref+" url")}var _={startState:function(){return{f:v,prevLine:{stream:null},thisLine:{stream:null},block:v,htmlState:null,indentation:0,inline:y,text:F,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&i.copyState(n,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?i.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,linkHref:e.linkHref,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return x(t),null;
vendor: 1,539 bytes, line 1
1if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=k)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==k?{state:e.htmlState,mode:n}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:_}},indent:function(e,t,r){return e.block==k&&n.indent?n.indent(e.htmlState,t,r):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,t,r):i.Pass},blankLine:x,getType:C,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return _},"xml"),i.defineMIME("text/markdown","markdown"),i.defineMIME("text/x-markdown","markdown")},22745:function(e,t,n){!function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl
vendor: 11,105 bytes, line 1
1"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.mime==t)return i;if(i.mimes)
1{for(var r=0;r<i.mimes.length;r++)if(i.mimes[r]==t)return i}}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.ext){for(var r=0;r<i.ext.length;r++)if(i.ext[r]==t)return i}}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.file&&i.file.test(t))return i}var r=t.lastIndexOf("."),a=r>-1&&t.substring(r+1,t.length);if(a)return e.findModeByExtension(a)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.name.toLowerCase()==t)return i;if(i.alias){for(var r=0;r<i.alias.length;r++)if(i.alias[r].toLowerCase()==t)return i}}}}(n(51257))}
1,17140:function(e,t,n){var i,r,a;i=n(51257),r={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},a={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},i.defineMode("xml",function(e,t){var n,o,s=e.indentUnit,u={},l=t.htmlMode?r:a;for(var c in l)u[c]=l[c];for(var c in t)u[c]=t[c];function m(e,t){function i(n){return t.tokenize=n,n(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?i(p("atom","]]>")):null:e.match("--")?i(p("comment","-->")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),i(function e(t){return function(n,i){for(var r;null!=(r=n.next());){if("<"==r)return i.tokenize=e(t+1),i.tokenize(n,i);if(">"==r){if(1!=t)return i.tokenize=e(t-1),i.tokenize(n,i);i.tokenize=m;break}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=p("meta","?>"),"meta"):(n=e.eat("/")?"closeTag":"openTag",t.tokenize=d,"tag bracket");return"&"==r?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function d(e,t){var i,r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=m,n=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return n="equals",null;if("<"==r){t.tokenize=m,t.state=x,t.tagName=t.tagStart=null;var a=t.tokenize(e,t);return a?a+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=((i=function(e,t){for(;!e.eol();)if(e.next()==r){t.tokenize=d;break}return"string"}).isInAttribute=!0,i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function p(e,t){return function(n,i){for(;!n.eol();){if(n.match(t)){i.tokenize=m;break}n.next()}return e}}function h(e){return e&&e.toLowerCase()}function f(e,t,n){this.prev=e.context,this.tagName=t||"",this.indent=e.indented,this.startOfLine=n,(u.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function g(e){e.context&&(e.context=e.context.prev)}function D(e,t){for(var n;;){if(!e.context||(n=e.context.tagName,!u.contextGrabbers.hasOwnProperty(h(n))||!u.contextGrabbers[h(n)].hasOwnProperty(h(t))))return;g(e)}}function x(e,t,n){return"openTag"==e?(n.tagStart=t.column(),v):"closeTag"==e?k:x}function v(e,t,n){return"word"==e?(n.tagName=t.current(),o="tag",F):u.allowMissingTagName&&"endTag"==e?(o="tag bracket",F(e,t,n)):(o="error",v)}function k(e,t,n){if("word"==e){var i=t.current();return(n.context&&n.context.tagName!=i&&u.implicitlyClosed.hasOwnProperty(h(n.context.tagName))&&g(n),n.context&&n.context.tagName==i||!1===u.matchClosing)?(o="tag",b):(o="tag error",C)}return u.allowMissingTagName&&"endTag"==e?(o="tag bracket",b(e,t,n)):(o="error",C)}function b(e,t,n){return"endTag"!=e?(o="error",b):(g(n),x)}function C(e,t,n){return o="error",b(e,t,n)}function F(e,t,n){if("word"==e)return o="attribute",y;if("endTag"==e||"selfcloseTag"==e){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||u.autoSelfClosers.hasOwnProperty(h(i))?D(n,i):(D(n,i),n.context=new f(n,i,r==n.indented)),x}return o="error",F}function y(e,t,n){return"equals"==e?E:(u.allowMissing||(o="error"),F(e,t,n))}function E(e,t,n){return"string"==e?A:"word"==e&&u.allowUnquoted?(o="string",F):(o="error",F(e,t,n))}
1function A(e,t,n){return"string"==e?A:F(e,t,n)}return m.isInText=!0,{startState:function(e){var t={tokenize:m,state:x,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;n=null;var i=t.tokenize(e,t);return(i||n)&&"comment"!=i&&(o=null,t.state=t.state(n||i,e,t),o&&(i="error"==o?i+" error":o)),i},indent:function(e,t,n){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+s;if(r&&r.noIndent)return i.Pass;if(e.tokenize!=d&&e.tokenize!=m)return n?n.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==u.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+s*(u.multilineTagIndentFactor||1);if(u.alignCDATA&&/<!\[CDATA\[/.test(t))return 0;var a=t&&/^<(\/)?([\w_:\.-]*)/.exec(t);if(a&&a[1])for(;r;){if(r.tagName==a[2]){r=r.prev;break}if(u.implicitlyClosed.hasOwnProperty(h(r.tagName)))r=r.prev;else break}else if(a)for(;r;){var o=u.contextGrabbers[h(r.tagName)];if(o&&o.hasOwnProperty(h(a[2])))r=r.prev;else break}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+s:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:u.htmlMode?"html":"xml",helperType:u.htmlMode?"html":"xml",skipAttribute:function(e){e.state==E&&(e.state=F)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)t.push(n.tagName);return t.reverse()}}}),i.defineMIME("text/xml","xml"),i.defineMIME("application/xml","xml"),i.mimeModes.hasOwnProperty("text/html")||i.defineMIME("text/html",{name:"xml",htmlMode:!0})},864:function(e,t,n){var i=n(51257);i.commands.tabAndIndentMarkdownList=function(e){var t=e.listSelections()[0].head;if(!1!==e.getStateAfter(t.line).list){e.execCommand("indentMore");return}if(e.options.indentWithTabs)e.execCommand("insertTab");else{var n=Array(e.options.tabSize+1).join(" ");e.replaceSelection(n)}},i.commands.shiftTabAndUnindentMarkdownList=function(e){var t=e.listSelections()[0].head;if(!1!==e.getStateAfter(t.line).list){e.execCommand("indentLess");return}if(e.options.indentWithTabs)e.execCommand("insertTab");else{var n=Array(e.options.tabSize+1).join(" ");e.replaceSelection(n)}}},72529:function(e,t,n){"use strict";var i=n(51257);n(13865),n(864),n(49524),n(84583),n(9547),n(51913),n(44936),n(35710),n(25491),n(80522),n(17140);var r=n(41392),a=n(551).TU,o=/Mac/.test(navigator.platform),s=new RegExp(/(<a.*?https?:\/\/.*?[^a]>)+?/g),u={toggleBold:b,toggleItalic:C,drawLink:M,toggleHeadingSmaller:A,toggleHeadingBigger:w,drawImage:N,toggleBlockquote:E,toggleOrderedList:L,toggleUnorderedList:_,toggleCodeBlock:y,togglePreview:$,toggleStrikethrough:F,toggleHeading1:S,toggleHeading2:B,toggleHeading3:T,cleanBlock:I,drawTable:O,drawHorizontalRule:j,undo:q,redo:P,toggleSideBySide:H,toggleFullScreen:k},l={toggleBold:"Cmd-B",toggleItalic:"Cmd-I",drawLink:"Cmd-K",toggleHeadingSmaller:"Cmd-H",toggleHeadingBigger:"Shift-Cmd-H",cleanBlock:"Cmd-E",drawImage:"Cmd-Alt-I",toggleBlockquote:"Cmd-'",toggleOrderedList:"Cmd-Alt-L",toggleUnorderedList:"Cmd-L",toggleCodeBlock:"Cmd-Alt-C",togglePreview:"Cmd-P",toggleSideBySide:"F9",toggleFullScreen:"F11"},c=function(e){for(var t in u)if(u[t]===e)return t;return null},m=function(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4)))&&(t=!0),t};function d(e){return e=o?e.replace("Ctrl","Cmd"):e.replace("Cmd","Ctrl")}var p={};function h(e){return p[e]||(p[e]=RegExp("\\s*"+e+"(\\s*)","g"))}function f(e,t){if(e&&t){var n=h(t);e.className.match(n)||(e.className+=" "+t)}}function g(e,t){if(e&&t){var n=h(t);e.className.match(n)&&(e.className=e.className.replace(n,"$1"))}}function D(e,t,n,i,r,a){e=e||{};var s,l,m,p,h=document.createElement(r);if(e.attributes)for(var f in e.attributes)Object.prototype.hasOwnProperty.call(e.attributes,f)&&h.setAttribute(f,e.attributes[f]);
1h.className=e.name,h.setAttribute("type",r),n=void 0==n||n,e.name&&e.name in i&&(u[e.name]=e.action),e.title&&n&&(h.title=(s=e.title,l=e.action,p=s,l&&i[m=c(l)]&&(p+=" ("+d(i[m])+")"),p),o&&(h.title=h.title.replace("Ctrl","â"),h.title=h.title.replace("Alt","â¥"))),e.noDisable&&h.classList.add("no-disable"),e.noMobile&&h.classList.add("no-mobile");var g=[];void 0!==e.className&&(g=e.className.split(" "));for(var D=[],x=0;x<g.length;x++){var v=g[x];v.match(/^fa([srlb]|(-[\w-]*)|$)/)?D.push(v):h.classList.add(v)}h.tabIndex=-1;for(var k=document.createElement("i"),b=0;b<D.length;b++){var C=D[b];k.classList.add(C)}return h.appendChild(k),void 0!==e.icon&&(h.innerHTML=e.icon),e.action&&t&&("function"==typeof e.action?h.onclick=function(t){t.preventDefault(),e.action(a)}:"string"==typeof e.action&&(h.onclick=function(t){t.preventDefault(),window.open(e.action,"_blank")})),h}function x(e,t){t=t||e.getCursor("start");var n=e.getTokenAt(t);if(!n.type)return{};for(var i,r,a=n.type.split(" "),o={},s=0;s<a.length;s++)"strong"===(i=a[s])?o.bold=!0:"variable-2"===i?(r=e.getLine(t.line),/^\s*\d+\.\s/.test(r)?o["ordered-list"]=!0:o["unordered-list"]=!0):"atom"===i?o.quote=!0:"em"===i?o.italic=!0:"quote"===i?o.quote=!0:"strikethrough"===i?o.strikethrough=!0:"comment"===i?o.code=!0:"link"===i?o.link=!0:"tag"===i?o.image=!0:i.match(/^header(-[1-6])?$/)&&(o[i.replace("header","heading")]=!0);return o}var v="";function k(e){var t=e.codemirror;t.setOption("fullScreen",!t.getOption("fullScreen")),t.getOption("fullScreen")?(v=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=v;var n=t.getWrapperElement(),i=n.nextSibling;if(/editor-preview-active-side/.test(i.className)){if(!1===e.options.sideBySideFullscreen){var r=n.parentNode;t.getOption("fullScreen")?g(r,"sided--no-fullscreen"):f(r,"sided--no-fullscreen")}else H(e)}if(e.options.onToggleFullScreen&&e.options.onToggleFullScreen(t.getOption("fullScreen")||!1),void 0!==e.options.maxHeight&&(t.getOption("fullScreen")?(t.getScrollerElement().style.removeProperty("height"),i.style.removeProperty("height")):(t.getScrollerElement().style.height=e.options.maxHeight,e.setPreviewMaxHeight())),/fullscreen/.test(e.toolbar_div.className)?e.toolbar_div.className=e.toolbar_div.className.replace(/\s*fullscreen\b/,""):e.toolbar_div.className+=" fullscreen",e.toolbarElements&&e.toolbarElements.fullscreen){var a=e.toolbarElements.fullscreen;/active/.test(a.className)?a.className=a.className.replace(/\s*active\s*/g,""):a.className+=" active"}}function b(e){G(e,"bold",e.options.blockStyles.bold)}function C(e){G(e,"italic",e.options.blockStyles.italic)}function F(e){G(e,"strikethrough","~~")}function y(e){var t=e.options.blockStyles.code;function n(e){if("object"!=typeof e)throw"fencing_line() takes a 'line' object (not a line number, or line text). Got: "+typeof e+": "+e;return e.styles&&e.styles[2]&&-1!==e.styles[2].indexOf("formatting-code-block")}function i(e){return e.state.base.base||e.state.base}function r(e,t,r,a,o){r=r||e.getLineHandle(t),a=a||e.getTokenAt({line:t,ch:1}),o=o||!!r.text&&e.getTokenAt({line:t,ch:r.text.length-1});var s=a.type?a.type.split(" "):[];return o&&i(o).indentedCode?"indented":-1!==s.indexOf("comment")&&(i(a).fencedChars||i(o).fencedChars||n(r)?"fenced":"single")}var a=e.codemirror,o=a.getCursor("start"),s=a.getCursor("end"),u=a.getTokenAt({line:o.line,ch:o.ch||1}),l=a.getLineHandle(o.line),c=r(a,o.line,l,u);if("single"===c){var m=l.text.slice(0,o.ch).replace("`",""),d=l.text.slice(o.ch).replace("`","");a.replaceRange(m+d,{line:o.line,ch:0},{line:o.line,ch:99999999999999}),o.ch--,o!==s&&s.ch--,a.setSelection(o,s),a.focus()}else if("fenced"===c){if(o.line!==s.line||o.ch!==s.ch){for(p=o.line;p>=0&&!n(l=a.getLineHandle(p));p--);var p,h,f,g,D,x,v,k=i(a.getTokenAt({line:p,ch:1})).fencedChars;n(a.getLineHandle(o.line))?(g="",D=o.line):n(a.getLineHandle(o.line-1))?(g="",D=o.line-1):(g=k+"\n",D=o.line),n(a.getLineHandle(s.line))?(x="",v=s.line,0===s.ch&&(v+=1)):0!==s.ch&&n(a.getLineHandle(s.line+1))?(x="",v=s.line+1):(x=k+"\n",v=s.line+1),0===s.ch&&(v-=1),a.operation(function(){a.replaceRange(x,{line:v,ch:0},{line:v+(x?0:1),ch:0}),a.replaceRange(g,{line:D,ch:0},{line:D+(g?0:1),ch:0})}),a.setSelection({line:D+(g?1:0),ch:0},{line:v+(g?1:-1),ch:0}),a.focus()}else{var b=o.line;if(n(a.getLineHandle(o.line))&&("fenced"===r(a,o.line+1)?(p=o.line,b=o.line+1):(h=o.line,b=o.line-1)),void 0===p)for(p=b;p>=0&&!n(l=a.getLineHandle(p));p--);if(void 0===h)for(f=a.lineCount(),h=b;h<f&&!n(l=a.getLineHandle(h));h++);a.operation(function(){a.replaceRange("",{line:p,ch:0},{line:p+1,ch:0}),a.replaceRange("",{line:h-1,ch:0},{line:h,ch:0})}),a.focus()}}else if("indented"===c){if(o.line!==s.line||o.ch!==s.ch)p=o.line,h=s.line,0===s.ch&&h--;else{for(p=o.line;p>=0;p--)if(!(l=a.getLineHandle(p)).text.match(/^\s*$/)&&"indented"!==r(a,p,l)){p+=1;break}for(f=a.lineCount(),h=o.line;h<f;h++)if(!(l=a.getLineHandle(h)).text.match(/^\s*$/)&&"indented"!==r(a,h,l)){h-=1;break}}var C=a.getLineHandle(h+1),F=C&&a.getTokenAt({line:h+1,ch:C.text.length-1});F&&i(F).indentedCode&&a.replaceRange("\n",{line:h+1,ch:0});for(var y=p;y<=h;y++)a.indentLine(y,"subtract");a.focus()}else{var E,A,w,S,B=o.line===s.line&&o.ch===s.ch&&0===o.ch,T=o.line!==s.line;B||T?(E=o.line+1,A=s.line+1,w=o.line!==s.line,S="\n"+t,w&&A++,w&&0===s.ch&&(S=t+"\n",A--),U(a,!1,[t+"\n",S]),a.setSelection({line:E,ch:0},{line:A,ch:0})):U(a,!1,["`","`"])}}function E(e){Z(e.codemirror,"quote")}function A(e){W(e.codemirror,"smaller")}function w(e){W(e.codemirror,"bigger")}function S(e){W(e.codemirror,void 0,1)}function B(e){W(e.codemirror,void 0,2)}function T(e){W(e.codemirror,void 0,3)}function _(e){var t=e.codemirror,n="*";["-","+","*"].includes(e.options.unorderedListStyle)&&(n=e.options.unorderedListStyle),Z(t,"unordered-list",n)}function L(e){Z(e.codemirror,"ordered-list")}function I(e){!function(e){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className))for(var t,n=e.getCursor("start"),i=e.getCursor("end"),r=n.line;r<=i.line;r++)t=(t=e.getLine(r)).replace(/^[ ]*([# ]+|\*|-|[> ]+|[0-9]+(.|\)))[ ]*/,""),e.replaceRange(t,{line:r,ch:0},{line:r,ch:99999999999999})}(e.codemirror)}function M(e){var t=e.codemirror,n=x(t),i=e.options,r="https://";if(i.promptURLs&&!(r=prompt(i.promptTexts.link,"https://")))return!1;U(t,n.link,i.insertTexts.link,r)}function N(e){var t=e.codemirror,n=x(t),i=e.options,r="https://";if(i.promptURLs&&!(r=prompt(i.promptTexts.image,"https://")))return!1;U(t,n.image,i.insertTexts.image,r)}function z(e){e.openBrowseFileWindow()}function R(e,t){var n=e.codemirror,i=x(n),r=e.options,a=t.substr(t.lastIndexOf("/")+1);if(["png","jpg","jpeg","gif","svg"].includes(a.substring(a.lastIndexOf(".")+1).replace(/\?.*$/,"").toLowerCase()))U(n,i.image,r.insertTexts.uploadedImage,t);else{var o=r.insertTexts.link;o[0]="["+a,U(n,i.link,o,t)}e.updateStatusBar("upload-image",e.options.imageTexts.sbOnUploaded.replace("#image_name#",a)),setTimeout(function(){e.updateStatusBar("upload-image",e.options.imageTexts.sbInit)},1e3)}function O(e){var t=e.codemirror,n=x(t),i=e.options;U(t,n.table,i.insertTexts.table)}function j(e){var t=e.codemirror,n=x(t),i=e.options;U(t,n.image,i.insertTexts.horizontalRule)}function q(e){var t=e.codemirror;t.undo(),t.focus()}function P(e){var t=e.codemirror;t.redo(),t.focus()}function H(e){var t=e.codemirror,n=t.getWrapperElement(),i=n.nextSibling,r=e.toolbarElements&&e.toolbarElements["side-by-side"],a=!1,o=n.parentNode;/editor-preview-active-side/.test(i.className)?(!1===e.options.sideBySideFullscreen&&g(o,"sided--no-fullscreen"),i.className=i.className.replace(/\s*editor-preview-active-side\s*/g,""),r&&(r.className=r.className.replace(/\s*active\s*/g,"")),n.className=n.className.replace(/\s*CodeMirror-sided\s*/g," ")):(setTimeout(function(){t.getOption("fullScreen")||(!1===e.options.sideBySideFullscreen?f(o,"sided--no-fullscreen"):k(e)),i.className+=" editor-preview-active-side"},1),r&&(r.className+=" active"),n.className+=" CodeMirror-sided",a=!0);var s=n.lastChild;if(/editor-preview-active/.test(s.className)){s.className=s.className.replace(/\s*editor-preview-active\s*/g,"");var u=e.toolbarElements.preview,l=e.toolbar_div;u.className=u.className.replace(/\s*active\s*/g,""),l.className=l.className.replace(/\s*disabled-for-preview*/g,"")}if(t.sideBySideRenderingFunction||(t.sideBySideRenderingFunction=function(){var t=e.options.previewRender(e.value(),i);null!=t&&(i.innerHTML=t)}),a){var c=e.options.previewRender(e.value(),i);null!=c&&(i.innerHTML=c),t.on("update",t.sideBySideRenderingFunction)}else t.off("update",t.sideBySideRenderingFunction);t.refresh()}function $(e){var t=e.codemirror,n=t.getWrapperElement(),i=e.toolbar_div,r=!!e.options.toolbar&&e.toolbarElements.preview,a=n.lastChild,o=t.getWrapperElement().nextSibling;if(/editor-preview-active-side/.test(o.className)&&H(e),!a||!/editor-preview-full/.test(a.className)){if((a=document.createElement("div")).className="editor-preview-full",e.options.previewClass){if(Array.isArray(e.options.previewClass))for(var s=0;s<e.options.previewClass.length;s++)a.className+=" "+e.options.previewClass[s];
1else"string"==typeof e.options.previewClass&&(a.className+=" "+e.options.previewClass)}n.appendChild(a)}/editor-preview-active/.test(a.className)?(a.className=a.className.replace(/\s*editor-preview-active\s*/g,""),r&&(r.className=r.className.replace(/\s*active\s*/g,""),i.className=i.className.replace(/\s*disabled-for-preview*/g,""))):(setTimeout(function(){a.className+=" editor-preview-active"},1),r&&(r.className+=" active",i.className+=" disabled-for-preview")),a.innerHTML=e.options.previewRender(e.value(),a)}function U(e,t,n,i){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){var r,a=n[0],o=n[1],s={},u={};Object.assign(s,e.getCursor("start")),Object.assign(u,e.getCursor("end")),i&&(a=a.replace("#url#",i),o=o.replace("#url#",i)),t?(a=(r=e.getLine(s.line)).slice(0,s.ch),o=r.slice(s.ch),e.replaceRange(a+o,{line:s.line,ch:0})):(r=e.getSelection(),e.replaceSelection(a+r+o),s.ch+=a.length,s!==u&&(u.ch+=a.length)),e.setSelection(s,u),e.focus()}}function W(e,t,n){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var i=e.getCursor("start"),r=e.getCursor("end"),a=i.line;a<=r.line;a++)!function(i){var r=e.getLine(i),a=r.search(/[^#]/);r=void 0!==t?a<=0?"bigger"==t?"###### "+r:"# "+r:6==a&&"smaller"==t?r.substr(7):1==a&&"bigger"==t?r.substr(2):"bigger"==t?r.substr(1):"#"+r:1==n?a<=0?"# "+r:a==n?r.substr(a+1):"# "+r.substr(a+1):2==n?a<=0?"## "+r:a==n?r.substr(a+1):"## "+r.substr(a+1):a<=0?"### "+r:a==n?r.substr(a+1):"### "+r.substr(a+1),e.replaceRange(r,{line:i,ch:0},{line:i,ch:99999999999999})}(a);e.focus()}}function Z(e,t,n){if(!/editor-preview-active/.test(e.getWrapperElement().lastChild.className)){for(var i=/^(\s*)(\*|-|\+|\d*\.)(\s+)/,r=/^\s*/,a=x(e),o=e.getCursor("start"),s=e.getCursor("end"),u={quote:/^(\s*)>\s+/,"unordered-list":i,"ordered-list":i},l=function(e,t){var i=new RegExp({quote:">","unordered-list":"\\"+n,"ordered-list":"\\d+."}[e]);return t&&i.test(t)},c=function(e,t,a){var o,s=i.exec(t),c=(o=m,({quote:">","unordered-list":n,"ordered-list":"%%i."})[e].replace("%%i",o));return null!==s?(l(e,s[2])&&(c=""),t=s[1]+c+s[3]+t.replace(r,"").replace(u[e],"$1")):!1==a&&(t=c+" "+t),t},m=1,d=o.line;d<=s.line;d++)!function(n){var i=e.getLine(n);a[t]?i=i.replace(u[t],"$1"):("unordered-list"==t&&(i=c("ordered-list",i,!0)),i=c(t,i,!1),m+=1),e.replaceRange(i,{line:n,ch:0},{line:n,ch:99999999999999})}(d);e.focus()}}function G(e,t,n,i){if(!/editor-preview-active/.test(e.codemirror.getWrapperElement().lastChild.className)){i=void 0===i?n:i;var r,a=e.codemirror,o=x(a),s=n,u=i,l=a.getCursor("start"),c=a.getCursor("end");o[t]?(s=(r=a.getLine(l.line)).slice(0,l.ch),u=r.slice(l.ch),"bold"==t?(s=s.replace(/(\*\*|__)(?![\s\S]*(\*\*|__))/,""),u=u.replace(/(\*\*|__)/,"")):"italic"==t?(s=s.replace(/(\*|_)(?![\s\S]*(\*|_))/,""),u=u.replace(/(\*|_)/,"")):"strikethrough"==t&&(s=s.replace(/(\*\*|~~)(?![\s\S]*(\*\*|~~))/,""),u=u.replace(/(\*\*|~~)/,"")),a.replaceRange(s+u,{line:l.line,ch:0},{line:l.line,ch:99999999999999}),"bold"==t||"strikethrough"==t?(l.ch-=2,l!==c&&(c.ch-=2)):"italic"==t&&(l.ch-=1,l!==c&&(c.ch-=1))):(r=a.getSelection(),"bold"==t?r=(r=r.split("**").join("")).split("__").join(""):"italic"==t?r=(r=r.split("*").join("")).split("_").join(""):"strikethrough"==t&&(r=r.split("~~").join("")),a.replaceSelection(s+r+u),l.ch+=n.length,c.ch=l.ch+r.length),a.setSelection(l,c),a.focus()}}function Q(e,t){if(1024>Math.abs(e))return""+e+t[0];var n=0;do e/=1024,++n;while(Math.abs(e)>=1024&&n<t.length);return""+e.toFixed(1)+t[n]}function V(e){for(var t=1;t<arguments.length;t++)e=function e(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(n[i]instanceof Array?t[i]=n[i].concat(t[i]instanceof Array?t[i]:[]):null!==n[i]&&"object"==typeof n[i]&&n[i].constructor===Object?t[i]=e(t[i]||{},n[i]):t[i]=n[i]);return t}(e,arguments[t]);return e}function X(e){var t=e.match(/[a-zA-Z0-9_\u00A0-\u02AF\u0392-\u03c9\u0410-\u04F9]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]+/g),n=0;if(null===t)return n;for(var i=0;i<t.length;i++)t[i].charCodeAt(0)>=19968?n+=t[i].length:n+=1;return n}var J={bold:{name:"bold",action:b,className:"fa fa-bold",title:"Bold",default:!0},italic:{name:"italic",action:C,className:"fa fa-italic",title:"Italic",default:!0},strikethrough:{name:"strikethrough",action:F,className:"fa fa-strikethrough",title:"Str
1ikethrough"},heading:{name:"heading",action:A,className:"fa fa-header fa-heading",title:"Heading",default:!0},"heading-smaller":{name:"heading-smaller",action:A,className:"fa fa-header fa-heading header-smaller",title:"Smaller Heading"},"heading-bigger":{name:"heading-bigger",action:w,className:"fa fa-header fa-heading header-bigger",title:"Bigger Heading"},"heading-1":{name:"heading-1",action:S,className:"fa fa-header fa-heading header-1",title:"Big Heading"},"heading-2":{name:"heading-2",action:B,className:"fa fa-header fa-heading header-2",title:"Medium Heading"},"heading-3":{name:"heading-3",action:T,className:"fa fa-header fa-heading header-3",title:"Small Heading"},"separator-1":{name:"separator-1"},code:{name:"code",action:y,className:"fa fa-code",title:"Code"},quote:{name:"quote",action:E,className:"fa fa-quote-left",title:"Quote",default:!0},"unordered-list":{name:"unordered-list",action:_,className:"fa fa-list-ul",title:"Generic List",default:!0},"ordered-list":{name:"ordered-list",action:L,className:"fa fa-list-ol",title:"Numbered List",default:!0},"clean-block":{name:"clean-block",action:I,className:"fa fa-eraser",title:"Clean block"},"separator-2":{name:"separator-2"},link:{name:"link",action:M,className:"fa fa-link",title:"Create Link",default:!0},image:{name:"image",action:N,className:"fa fa-image",title:"Insert Image",default:!0},"upload-image":{name:"upload-image",action:z,className:"fa fa-image",title:"Import an image"},table:{name:"table",action:O,className:"fa fa-table",title:"Insert Table"},"horizontal-rule":{name:"horizontal-rule",action:j,className:"fa fa-minus",title:"Insert Horizontal Line"},"separator-3":{name:"separator-3"},preview:{name:"preview",action:$,className:"fa fa-eye",noDisable:!0,title:"Toggle Preview",default:!0},"side-by-side":{name:"side-by-side",action:H,className:"fa fa-columns",noDisable:!0,noMobile:!0,title:"Toggle Side by Side",default:!0},fullscreen:{name:"fullscreen",action:k,className:"fa fa-arrows-alt",noDisable:!0,noMobile:!0,title:"Toggle Fullscreen",default:!0},"separator-4":{name:"separator-4"},guide:{name:"guide",action:"https://www.markdownguide.org/basic-syntax/",className:"fa fa-question-circle",noDisable:!0,title:"Markdown Guide",default:!0},"separator-5":{name:"separator-5"},undo:{name:"undo",action:q,className:"fa fa-undo",noDisable:!0,title:"Undo"},redo:{name:"redo",action:P,className:"fa fa-repeat fa-redo",noDisable:!0,title:"Redo"}},Y={link:["[","](#url#)"],image:[""],uploadedImage:["",""],table:["","\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],horizontalRule:["","\n\n-----\n\n"]},K={link:"URL for the link:",image:"URL of the image:"},ee={locale:"en-US",format:{hour:"2-digit",minute:"2-digit"}},et={bold:"**",code:"```",italic:"*"},en={sbInit:"Attach files by drag and dropping or pasting from clipboard.",sbOnDragEnter:"Drop image to upload it.",sbOnDrop:"Uploading image #images_names#...",sbProgress:"Uploading #file_name#: #progress#%",sbOnUploaded:"Uploaded #image_name#",sizeUnits:" B, KB, MB"},ei={noFileGiven:"You must select a file.",typeNotAllowed:"This image type is not allowed.",fileTooLarge:"Image #image_name# is too big (#image_size#).\nMaximum file size is #image_max_size#.",importError:"Something went wrong when uploading the image #image_name#."};function er(e){(e=e||{}).parent=this;var t=!0;if(!1===e.autoDownloadFontAwesome&&(t=!1),!0!==e.autoDownloadFontAwesome)for(var n=document.styleSheets,i=0;i<n.length;i++)n[i].href&&n[i].href.indexOf("//maxcdn.bootstrapcdn.com/font-awesome/")>-1&&(t=!1);if(t){var r=document.createElement("link");r.rel="stylesheet",r.href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css",document.getElementsByTagName("head")[0].appendChild(r)}if(e.element)this.element=e.element;else if(null===e.element){console.log("EasyMDE: Error. No element was found.");return}if(void 0===e.toolbar)for(var a in e.toolbar=[],J)Object.prototype.hasOwnProperty.call(J,a)&&(-1!=a.indexOf("separator-")&&e.toolbar.push("|"),(!0===J[a].default||e.showIcons&&e.showIcons.constructor===Array&&-1!=e.showIcons.indexOf(a))&&e.toolbar.push(a));if(Object.prototype.hasOwnProperty.call(e,"previewClass")||(e.previewClass="editor-preview"),!Object.prototype.hasOwnProperty.call(e,"status")&&(e.status=["autosave","lines","words","cursor"],e.uploadImage&&e.status.unshift("upload-image")),e.previewRender||(e.previewRender=function(e){return this.parent.markdown(e)}),e.parsingConfig=V({highlightFormatting:!0},e.parsingConfig||{}),e.insertTexts=V({},Y,e.insertTexts||{}),e.promptTexts=V({},K,e.promptTexts||{}),e.blockStyles=V({},et,e.blockStyles||{}),void 0!=e.autosave&&(e.autosave.timeFormat=V({},ee,e.autosave.timeFormat||{})),e.shortcuts=V({},l,e.shortcuts||{}),e.maxHeight=e.maxHeight||void 0,e.direction=e.direction||"ltr",void 0!==e.maxHeight?e.minHeight=e.maxHeight:e.minHeight=e.minHeight||"300px",e.errorCallback=e.errorCallback||function(e){alert(e)},e.uploadImage=e.uploadImage||!1,e.imageMaxSize=e.imageMaxSize||2097152,e.imageAccept=e.imageAccept||"image/png, image/jpeg",e.imageTexts=V({},en,e.imageTexts||{}),e.errorMessages=V({},ei,e.errorMessages||{}),void 0!=e.autosave&&void 0!=e.autosave.unique_id&&""!=e.autosave.unique_id&&(e.autosave.uniqueId=e.autosave.unique_id),e.overlayMode&&void 0===e.overlayMode.combine&&(e.overlayMode.combine=!0),this.options=e,this.render(),e.initialValue&&(!this.options.autosave||!0!==this.options.autosave.foun
1dSavedValue)&&this.value(e.initialValue),e.uploadImage){var o=this;this.codemirror.on("dragenter",function(e,t){o.updateStatusBar("upload-image",o.options.imageTexts.sbOnDragEnter),t.stopPropagation(),t.preventDefault()}),this.codemirror.on("dragend",function(e,t){o.updateStatusBar("upload-image",o.options.imageTexts.sbInit),t.stopPropagation(),t.preventDefault()}),this.codemirror.on("dragleave",function(e,t){o.updateStatusBar("upload-image",o.options.imageTexts.sbInit),t.stopPropagation(),t.preventDefault()}),this.codemirror.on("dragover",function(e,t){o.updateStatusBar("upload-image",o.options.imageTexts.sbOnDragEnter),t.stopPropagation(),t.preventDefault()}),this.codemirror.on("drop",function(t,n){n.stopPropagation(),n.preventDefault(),e.imageUploadFunction?o.uploadImagesUsingCustomFunction(e.imageUploadFunction,n.dataTransfer.files):o.uploadImages(n.dataTransfer.files)}),this.codemirror.on("paste",function(t,n){e.imageUploadFunction?o.uploadImagesUsingCustomFunction(e.imageUploadFunction,n.clipboardData.files):o.uploadImages(n.clipboardData.files)})}}function ea(){if("object"!=typeof localStorage)return!1;try{localStorage.setItem("smde_localStorage",1),localStorage.removeItem("smde_localStorage")}catch(e){return!1}return!0}er.prototype.uploadImages=function(e,t,n){if(0!==e.length){for(var i=[],r=0;r<e.length;r++)i.push(e[r].name),this.uploadImage(e[r],t,n);this.updateStatusBar("upload-image",this.options.imageTexts.sbOnDrop.replace("#images_names#",i.join(", ")))}},er.prototype.uploadImagesUsingCustomFunction=function(e,t){if(0!==t.length){for(var n=[],i=0;i<t.length;i++)n.push(t[i].name),this.uploadImageUsingCustomFunction(e,t[i]);this.updateStatusBar("upload-image",this.options.imageTexts.sbOnDrop.replace("#images_names#",n.join(", ")))}},er.prototype.updateStatusBar=function(e,t){if(this.gui.statusbar){var n=this.gui.statusbar.getElementsByClassName(e);1===n.length?this.gui.statusbar.getElementsByClassName(e)[0].textContent=t:0===n.length?console.log("EasyMDE: status bar item "+e+" was not found."):console.log("EasyMDE: Several status bar items named "+e+" was found.")}},er.prototype.markdown=function(e){if(a){if(t=this.options&&this.options.renderingConfig&&this.options.renderingConfig.markedOptions?this.options.renderingConfig.markedOptions:{},this.options&&this.options.renderingConfig&&!1===this.options.renderingConfig.singleLineBreaks?t.breaks=!1:t.breaks=!0,this.options&&this.options.renderingConfig&&!0===this.options.renderingConfig.codeSyntaxHighlighting){var t,n=this.options.renderingConfig.hljs||window.hljs;n&&(t.highlight=function(e,t){return t&&n.getLanguage(t)?n.highlight(t,e).value:n.highlightAuto(e).value})}a.setOptions(t);var i=a.parse(e);return this.options.renderingConfig&&"function"==typeof this.options.renderingConfig.sanitizerFunction&&(i=this.options.renderingConfig.sanitizerFunction.call(this,i)),i=function(e){for(var t=new DOMParser().parseFromString(e,"text/html"),n=t.getElementsByTagName("li"),i=0;i<n.length;i++)for(var r=n[i],a=0;a<r.children.length;a++){var o=r.children[a];o instanceof HTMLInputElement&&"checkbox"===o.type&&(r.style.marginLeft="-1.5em",r.style.listStyleType="none")}return t.documentElement.innerHTML}(i=function(e){for(var t;null!==(t=s.exec(e));){var n=t[0];if(-1===n.indexOf("target=")){var i=n.replace(/>$/,' target="_blank">');e=e.replace(n,i)}}return e}(i))}},er.prototype.render=function(e){if(e||(e=this.element||document.getElementsByTagName("textarea")[0]),!this._rendered||this._rendered!==e){this.element=e;var t,n,a=this.options,o=this,s={};for(var l in a.shortcuts)null!==a.shortcuts[l]&&null!==u[l]&&function(e){s[d(a.shortcuts[e])]=function(){var t=u[e];"function"==typeof t?t(o):"string"==typeof t&&window.open(t,"_blank")}}(l);if(s.Enter="newlineAndIndentContinueMarkdownList",s.Tab="tabAndIndentMarkdownList",s["Shift-Tab"]="shiftTabAndUnindentMarkdownList",s.Esc=function(e){e.getOption("fullScreen")&&k(o)},this.documentOnKeyDown=function(e){27==(e=e||window.event).keyCode&&o.codemirror.getOption("fullScreen")&&k(o)},document.addEventListener("keydown",this.documentOnKeyDown,!1),a.overlayMode?(i.defineMode("overlay-mode",function(e){return i.overlayMode(i.getMode(e,!1!==a.spellChecker?"spell-checker":"gfm"),a.overlayMode.mode,a.overlayMode.combine)}),t="overlay-mode",(n=a.parsingConfig).gitHubSpice=!1):((t=a.parsingConfig).name="gfm",t.gitHubSpice=!1),!1!==a.spellChecker&&(t="spell-checker",(n=a.parsingConfig).name="gfm",n.gitHubSpice=!1,"function"==typeof a.spellChecker?a.spellChecker({codeMirrorInstance:i}):r({codeMirrorInstance:i})),this.codemirror=i.fromTextArea(e,{mode:t,backdrop:n,theme:void 0!=a.theme?a.theme:"easymde",tabSize:void 0!=a.tabSize?a.tabSize:2,indentUnit:void 0!=a.tabSize?a.tabSize:2,indentWithTabs:!1!==a.indentWithTabs,lineNumbers:!0===a.lineNumbers,autofocus:!0===a.autofocus,extraKeys:s,direction:a.direction,lineWrapping:!1!==a.lineWrapping,allowDropFileTypes:["text/plain"],placeholder:a.placeholder||e.getAttribute("placeholder")||"",styleSelectedText:void 0!=a.styleSelectedText?a.styleSelectedText:!m(),scrollbarStyle:void 0!=a.scrollbarStyle?a.scrollbarStyle:"native",configureMouse:function(e,t,n){return{addNew:!1}},inputStyle:void 0!=a.inputStyle?a.inputStyle:m()?"contenteditable":"textarea",spellcheck:void 0==a.nativeSpellcheck||a.nativeSpellcheck,autoRefresh:void 0!=a.autoRefresh&&a.autoRefresh}),this.codemirror.getScrollerElement().style.minHeight=a.minHeight,void 0!==a.maxHeight&&(this.codemirror.getScrollerElement().style.height=a.maxHeight),!0===a.forceSync){var c=this.codemirror;c.on("change",function(){c.save()})}this.gui={};var p=document.createElement("div");p.classList.add("EasyMDEContainer");var h=this.codemirror.getWrapperElement();h.parentNode.insertBefore(p,h),p.appendChild(h),!1!==a.toolbar&&(this.gui.toolbar=this.createToolbar()),!1!==a.status&&(this.gui.statusbar=this.createStatusbar()),void 0!=a.autosave&&!0===a.autosave.enabled&&(this.autosave(),this.codemirror.on("change",function(){clearTimeout(o._autosave_timeout),o._autosave_timeout=setTimeout(function(){o.autosave()},o.options.autosave.submit_delay||o.options.autosave.delay||1e3)}));var f=this;
1this.codemirror.on("update",function(){a.previewImagesInEditor&&p.querySelectorAll(".cm-image-marker").forEach(function(e){var t=e.parentElement;if(t.innerText.match(/^!\[.*?\]\(.*\)/g)&&!t.hasAttribute("data-img-src")){var n=t.innerText.match("\\((.*)\\)");if(window.EMDEimagesCache||(window.EMDEimagesCache={}),n&&n.length>=2){var i=n[1];if(window.EMDEimagesCache[i])D(t,window.EMDEimagesCache[i]);else{var r=document.createElement("img");r.onload=function(){window.EMDEimagesCache[i]={naturalWidth:r.naturalWidth,naturalHeight:r.naturalHeight,url:i},D(t,window.EMDEimagesCache[i])},r.src=i}}}})}),this.gui.sideBySide=this.createSideBySide(),this._rendered=this.element;var g=this.codemirror;setTimeout((function(){g.refresh()}).bind(g),0)}function D(e,t){var n,i;e.setAttribute("data-img-src",t.url),e.setAttribute("style","--bg-image:url("+t.url+");--width:"+t.naturalWidth+"px;--height:"+(n=t.naturalWidth,i=t.naturalHeight,n<window.getComputedStyle(document.querySelector(".CodeMirror-sizer")).width.replace("px","")?i+"px":i/n*100+"%")),f.codemirror.setSize()}},er.prototype.cleanup=function(){document.removeEventListener("keydown",this.documentOnKeyDown)},er.prototype.autosave=function(){if(ea()){var e=this;if(void 0==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId){console.log("EasyMDE: You must set a uniqueId to use the autosave feature");return}!0!==this.options.autosave.binded&&(null!=e.element.form&&void 0!=e.element.form&&e.element.form.addEventListener("submit",function(){clearTimeout(e.autosaveTimeoutId),e.autosaveTimeoutId=void 0,localStorage.removeItem("smde_"+e.options.autosave.uniqueId)}),this.options.autosave.binded=!0),!0!==this.options.autosave.loaded&&("string"==typeof localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&""!=localStorage.getItem("smde_"+this.options.autosave.uniqueId)&&(this.codemirror.setValue(localStorage.getItem("smde_"+this.options.autosave.uniqueId)),this.options.autosave.foundSavedValue=!0),this.options.autosave.loaded=!0);var t=e.value();""!==t?localStorage.setItem("smde_"+this.options.autosave.uniqueId,t):localStorage.removeItem("smde_"+this.options.autosave.uniqueId);var n=document.getElementById("autosaved");if(null!=n&&void 0!=n&&""!=n){var i=new Date,r=new Intl.DateTimeFormat([this.options.autosave.timeFormat.locale,"en-US"],this.options.autosave.timeFormat.format).format(i),a=void 0==this.options.autosave.text?"Autosaved: ":this.options.autosave.text;n.innerHTML=a+r}}else console.log("EasyMDE: localStorage not available, cannot autosave")},er.prototype.clearAutosavedValue=function(){if(ea()){if(void 0==this.options.autosave||void 0==this.options.autosave.uniqueId||""==this.options.autosave.uniqueId){console.log("EasyMDE: You must set a uniqueId to clear the autosave value");return}localStorage.removeItem("smde_"+this.options.autosave.uniqueId)}else console.log("EasyMDE: localStorage not available, cannot autosave")},er.prototype.openBrowseFileWindow=function(e,t){var n=this,i=this.gui.toolbar.getElementsByClassName("imageInput")[0];i.click(),i.addEventListener("change",function r(a){n.options.imageUploadFunction?n.uploadImagesUsingCustomFunction(n.options.imageUploadFunction,a.target.files):n.uploadImages(a.target.files,e,t),i.removeEventListener("change",r)})},er.prototype.uploadImage=function(e,t,n){var i=this;function r(e){i.updateStatusBar("upload-image",e),setTimeout(function(){i.updateStatusBar("upload-image",i.options.imageTexts.sbInit)},1e4),n&&"function"==typeof n&&n(e),i.options.errorCallback(e)}function a(t){var n=i.options.imageTexts.sizeUnits.split(",");return t.replace("#image_name#",e.name).replace("#image_size#",Q(e.size,n)).replace("#image_max_size#",Q(i.options.imageMaxSize,n))}if(t=t||function(e){R(i,e)},e.size>this.options.imageMaxSize){r(a(this.options.errorMessages.fileTooLarge));return}var o=new FormData;o.append("image",e),i.options.imageCSRFToken&&o.append("csrfmiddlewaretoken",
1i.options.imageCSRFToken);var s=new XMLHttpRequest;s.upload.onprogress=function(t){if(t.lengthComputable){var n=""+Math.round(100*t.loaded/t.total);i.updateStatusBar("upload-image",i.options.imageTexts.sbProgress.replace("#file_name#",e.name).replace("#progress#",n))}},s.open("POST",this.options.imageUploadEndpoint),s.onload=function(){try{var e=JSON.parse(this.responseText)}catch(e){console.error("EasyMDE: The server did not return a valid json."),r(a(i.options.errorMessages.importError));return}200===this.status&&e&&!e.error&&e.data&&e.data.filePath?t((i.options.imagePathAbsolute?"":window.location.origin+"/")+e.data.filePath):e.error&&e.error in i.options.errorMessages?r(a(i.options.errorMessages[e.error])):e.error?r(a(e.error)):(console.error("EasyMDE: Received an unexpected response after uploading the image."+this.status+" ("+this.statusText+")"),r(a(i.options.errorMessages.importError)))},s.onerror=function(e){console.error("EasyMDE: An unexpected error occurred when trying to upload the image."+e.target.status+" ("+e.target.statusText+")"),r(i.options.errorMessages.importError)},s.send(o)},er.prototype.uploadImageUsingCustomFunction=function(e,t){var n=this;e.apply(this,[t,function(e){R(n,e)},function(e){var i,r=(i=n.options.imageTexts.sizeUnits.split(","),e.replace("#image_name#",t.name).replace("#image_size#",Q(t.size,i)).replace("#image_max_size#",Q(n.options.imageMaxSize,i)));n.updateStatusBar("upload-image",r),setTimeout(function(){n.updateStatusBar("upload-image",n.options.imageTexts.sbInit)},1e4),n.options.errorCallback(r)}])},er.prototype.setPreviewMaxHeight=function(){var e=this.codemirror.getWrapperElement(),t=e.nextSibling,n=parseInt(window.getComputedStyle(e).paddingTop),i=parseInt(window.getComputedStyle(e).borderTopWidth),r=(parseInt(this.options.maxHeight)+2*n+2*i).toString()+"px";t.style.height=r},er.prototype.createSideBySide=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling;if(!n||!/editor-preview-side/.test(n.className)){if((n=document.createElement("div")).className="editor-preview-side",this.options.previewClass){if(Array.isArray(this.options.previewClass))for(var i=0;i<this.options.previewClass.length;i++)n.className+=" "+this.options.previewClass[i];else"string"==typeof this.options.previewClass&&(n.className+=" "+this.options.previewClass)}t.parentNode.insertBefore(n,t.nextSibling)}if(void 0!==this.options.maxHeight&&this.setPreviewMaxHeight(),!1===this.options.syncSideBySidePreviewScroll)return n;var r=!1,a=!1;return e.on("scroll",function(e){if(r){r=!1;return}a=!0;var t=e.getScrollInfo().height-e.getScrollInfo().clientHeight,i=parseFloat(e.getScrollInfo().top)/t,o=(n.scrollHeight-n.clientHeight)*i;n.scrollTop=o}),n.onscroll=function(){if(a){a=!1;return}r=!0;var t=n.scrollHeight-n.clientHeight,i=parseFloat(n.scrollTop)/t,o=(e.getScrollInfo().height-e.getScrollInfo().clientHeight)*i;e.scrollTo(0,o)},n},er.prototype.createToolbar=function(e){if((e=e||this.options.toolbar)&&0!==e.length){for(t=0;t<e.length;t++)void 0!=J[e[t]]&&(e[t]=J[e[t]]);var t,n=document.createElement("div");n.className="editor-toolbar";var i=this,r={};for(t=0,i.toolbar=e;t<e.length;t++)if(("guide"!=e[t].name||!1!==i.options.toolbarGuideIcon)&&(!i.options.hideIcons||-1==i.options.hideIcons.indexOf(e[t].name))&&!(("fullscreen"==e[t].name||"side-by-side"==e[t].name)&&m())){if("|"===e[t]){for(var a=!1,o=t+1;o<e.length;o++)"|"===e[o]||i.options.hideIcons&&-1!=i.options.hideIcons.indexOf(e[o].name)||(a=!0);if(!a)continue}!function(e){var t;if(t="|"===e?function(){var e=document.createElement("i");return e.className="separator",e.innerHTML="|",e}():e.children?function(e,t,n,i){var r=D(e,!1,t,n,"button",i);r.className+=" easymde-dropdown",r.onclick=function(){r.focus()};var a=document.createElement("div");a.className="easymde-dropdown-content";for(var o=0;o<e.children.length;o++){var s,u=e.children[o];(s="string"==typeof u&&u in J?D(J[u],!0,t,n,"button",i):D(u,!0,t,n,"button",i)).addEventListener("click",function(e){e.stopPropagation()},!1),a.appendChild(s)}return r.appendChild(a),r}(e,i.options.toolbarTips,i.options.shortcuts,i):D(e,!0,i.options.toolbarTips,i.options.shortcuts,"button",i),r[e.name||e]=t,n.appendChild(t),"upload-image"===e.name){var a=document.createElement("input");a.className="imageInput",a.type="file",a.multiple=!0,a.name="image",a.accept=i.options.imageAccept,a.style.display="none",a.style.opacity=0,n.appendChild(a)}}(e[t])}i.toolbar_div=n,i.toolbarElements=r;var s=this.codemirror;s.on("cursorActivity",function(){var e=x(s);for(var t in r)!function(t){var n=r[t];e[t]?n.className+=" active":"fullscreen"!=t&&"side-by-side"!=t&&(n.className=n.className.replace(/\s*active\s*/g,""))}(t)});var u=s.getWrapperElement();return u.parentNode.insertBefore(n,u),n}},er.prototype.createStatusbar=function(e){e=e||this.options.status;var t,n,i,r,a=this.options,o=this.codemirror;if(e&&0!==e.length){var s=[];for(t=0;t<e.length;t++)if(n=void 0,i=void 0,r=void 0,"object"==typeof e[t])s.push({className:e[t].className,defaultValue:e[t].defaultValue,onUpdate:e[t].onUpdate,onActivity:e[t].onActivity});else{var u=e[t];"words"===u?(r=function(e){e.innerHTML=X(o.getValue())},n=function(e){e.innerHTML=X(o.getValue())}):"lines"===u?(r=function(e){e.innerHTML=o.lineCount()},n=function(e){e.innerHTML=o.lineCount()}):"cursor"===u?(r=function(e){e.innerHTML="1:1"},i=function(e){var t=o.getCursor(),n=t.line+1,i=t.ch+1;e.innerHTML=n+":"+i}):"autosave"===u?r=function(e){void 0!=a.autosave&&!0===a.autosave.enabled&&e.setAttribute("id","autosaved")}:"upload-image"===u&&(r=function(e){e.innerHTML=a.imageTexts.sbInit}),s.push({className:u,defaultValue:r,onUpdate:n,onActivity:i})}var l=document.createElement("div");for(t=0,l.className="editor-statusbar";t<s.length;t++){var c=s[t],m=document.createElement("span");m.className=c.className,"function"==typeof c.defaultValue&&c.defaultValue(m),"function"==typeof c.onUpdate&&this.codemirror.on("update",function(e,t){return function(){t.onUpdate(e)}}(m,c)),"function"==typeof c.onActivity&&this.codemirror.on("cursorActivity",function(e,t){return function(){t.onActivity(e)}}(m,c)),l.appendChild(m)}var d=this.codemirror.getWrapperElement();return d.parentNode.insertBefore(l,d.nextSibling),l}},er.prototype.value=function(e){var t=this.codemirror;if(void 0===e)return t.getValue();if(t.getDoc().setValue(e),this.isPreviewActive()){var n=t.getWrapperElement().lastChild;n.innerHTML=this.options.previewRender(e,n)}return this},er.toggleBold=b,er.toggleItalic=C,er.toggleStrikethrough=F,er.toggleBlockquote=E,er.toggleHeadingSmaller=A,er.toggleHeadingBigger=w,er.toggleHeading1=S,er.toggleHeading2=B,er.toggleHeading3=T,er.toggleCodeBlock=y,er.toggleUnorderedList=_,er.toggleOrderedList=L,er.cleanBlock=I,er.drawLink=M,er.drawImage=N,er.drawUploadedImage=z,er.drawTable=O,er.drawHorizontalRule=j,er.undo=q,er.redo=P,er.togglePreview=$,er.toggleSideBySide=H,er.toggleFullScreen=k,er.prototype.toggleBold=function(){b(this)},er.prototype.toggleItalic=function(){C(this)},er.prototype.toggleStrikethrough=function(){F(this)},er.prototype.toggleBlockquote=function(){E(this)},er.prototype.toggleHeadingSmaller=function(){A(this)},er.prototype.toggleHeadingBigger=function(){w(this)},er.prototype.toggleHeading1=function(){S(this)},er.prototype.toggleHeading2=function(){B(this)},er.prototype.toggleHeading3=function(){T(this)},er.prototype.toggleCodeBlock=function(){y(this)},er.prototype.toggleUnorderedList=function(){_(this)},er.prototype.toggleOrderedList=function(){L(this)},er.prototype.cleanBlock=function(){I(this)},er.prototype.drawLink=function(){M(this)},er.prototype.drawImage=function(){N(this)},er.prototype.drawUploadedImage=function(){z(this)},er.prototype.drawTable=function(){O(this)},er.prototype.drawHorizontalRule=function(){j(this)},er.prototype.undo=function(){q(this)},er.prototype.redo=function(){P(this)},er.prototype.togglePreview=function(){$(this)},er.prototype.toggleSideBySide=function(){H(this)},er.prototype.toggleFullScreen=function(){k(this)},er.prototype.isPreviewActive=function(){var e=this.codemirror.getWrapperElement().lastChild;return/editor-preview-active/.test(e.className)},er.prototype.isSideBySideActive=function(){var e=this.codemirror.getWrapperElement().nextSibling;return/editor-preview-active-side/.test(e.className)}
1,er.prototype.isFullscreenActive=function(){return this.codemirror.getOption("fullScreen")},er.prototype.getState=function(){return x(this.codemirror)},er.prototype.toTextArea=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.parentNode;n&&(this.gui.toolbar&&n.removeChild(this.gui.toolbar),this.gui.statusbar&&n.removeChild(this.gui.statusbar),this.gui.sideBySide&&n.removeChild(this.gui.sideBySide)),n.parentNode.insertBefore(t,n),n.remove(),e.toTextArea(),this.autosaveTimeoutId&&(clearTimeout(this.autosaveTimeoutId),this.autosaveTimeoutId=void 0,this.clearAutosavedValue())},e.exports=er},88389:function(){},58060:function(e,t,n){var i;(i=function(e,t,n,i){i=i||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=i.flags||{},this.memoized={},this.loaded=!1;var r,a,o,s,u,l=this;function c(e,t){var n=l._readFile(e,null,i.asyncLoad);i.asyncLoad?n.then(function(e){t(e)}):t(n)}function m(e){t=e,n&&p()}function d(e){n=e,t&&p()}function p(){for(a=0,l.rules=l._parseAFF(t),l.compoundRuleCodes={},s=l.compoundRules.length;a<s;a++){var e=l.compoundRules[a];for(o=0,u=e.length;o<u;o++)l.compoundRuleCodes[e[o]]=[]}for(a in"ONLYINCOMPOUND"in l.flags&&(l.compoundRuleCodes[l.flags.ONLYINCOMPOUND]=[]),l.dictionaryTable=l._parseDIC(n),l.compoundRuleCodes)0===l.compoundRuleCodes[a].length&&delete l.compoundRuleCodes[a];for(a=0,s=l.compoundRules.length;a<s;a++){var r=l.compoundRules[a],c="";for(o=0,u=r.length;o<u;o++){var m=r[o];m in l.compoundRuleCodes?c+="("+l.compoundRuleCodes[m].join("|")+")":c+=m}l.compoundRules[a]=RegExp(c,"i")}l.loaded=!0,i.asyncLoad&&i.loadedCallback&&i.loadedCallback(l)}return!e||(l.dictionary=e,t&&n?p():"undefined"!=typeof window&&"chrome"in window&&"extension"in window.chrome&&"getURL"in window.chrome.extension?(r=i.dictionaryPath?i.dictionaryPath:"typo/dictionaries",t||c(chrome.extension.getURL(r+"/"+e+"/"+e+".aff"),m),n||c(chrome.extension.getURL(r+"/"+e+"/"+e+".dic"),d)):(r=i.dictionaryPath?i.dictionaryPath:"//dictionaries",t||c(r+"/"+e+"/"+e+".aff",m),n||c(r+"/"+e+"/"+e+".dic",d))),this}).prototype={load:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);return this},_readFile:function(e,t,i){if(t=t||"utf8","undefined"!=typeof XMLHttpRequest){var r,a=new XMLHttpRequest;return a.open("GET",e,i),i&&(r=new Promise(function(e,t){a.onload=function(){200===a.status?e(a.responseText):t(a.statusText)},a.onerror=function(){t(a.statusText)}}
1)),a.overrideMimeType&&a.overrideMimeType("text/plain; charset="+t),a.send(null),i?r:a.responseText}var o=n(8806);try{if(o.existsSync(e))return o.readFileSync(e,t);console.log("Path "+e+" does not exist.")}catch(e){return console.log(e),""}},_parseAFF:function(e){var t,n,i,r,a,o,s,u={},l=e.split(/\r?\n/);for(r=0,o=l.length;r<o;r++)if(t=(t=this._removeAffixComments(l[r])).trim()){var c=t.split(/\s+/),m=c[0];if("PFX"==m||"SFX"==m){var d=c[1],p=c[2];n=parseInt(c[3],10);var h=[];for(a=r+1,s=r+1+n;a<s;a++){var f=(i=l[a].split(/\s+/))[2],g=i[3].split("/"),D=g[0];"0"===D&&(D="");var x=this.parseRuleCodes(g[1]),v=i[4],k={};k.add=D,x.length>0&&(k.continuationClasses=x),"."!==v&&("SFX"===m?k.match=RegExp(v+"$"):k.match=RegExp("^"+v)),"0"!=f&&("SFX"===m?k.remove=RegExp(f+"$"):k.remove=f),h.push(k)}u[d]={type:m,combineable:"Y"==p,entries:h},r+=n}else if("COMPOUNDRULE"===m){for(n=parseInt(c[1],10),a=r+1,s=r+1+n;a<s;a++)i=(t=l[a]).split(/\s+/),this.compoundRules.push(i[1]);r+=n}else"REP"===m?3===(i=t.split(/\s+/)).length&&this.replacementTable.push([i[1],i[2]]):this.flags[m]=c[1]}return u},_removeAffixComments:function(e){return e.match(/^\s*#/,"")?"":e},_parseDIC:function(e){var t=(e=this._removeDicComments(e)).split(/\r?\n/),n={};function i(e,t){n.hasOwnProperty(e)||(n[e]=null),t.length>0&&(null===n[e]&&(n[e]=[]),n[e].push(t))}for(var r=1,a=t.length;r<a;r++){var o=t[r];if(o){var s=o.split("/",2),u=s[0];if(s.length>1){var l=this.parseRuleCodes(s[1]);"NEEDAFFIX"in this.flags&&-1!=l.indexOf(this.flags.NEEDAFFIX)||i(u,l);for(var c=0,m=l.length;c<m;c++){var d=l[c],p=this.rules[d];if(p)for(var h=this._applyRule(u,p),f=0,g=h.length;f<g;f++){var D=h[f];if(i(D,[]),p.combineable)for(var x=c+1;x<m;x++){var v=l[x],k=this.rules[v];if(k&&k.combineable&&p.type!=k.type)for(var b=this._applyRule(D,k),C=0,F=b.length;C<F;C++)i(b[C],[])}}d in this.compoundRuleCodes&&this.compoundRuleCodes[d].push(u)}}else i(u.trim(),[])}}return n},_removeDicComments:function(e){return e=e.replace(/^\t.*$/mg,"")},parseRuleCodes:function(e){if(!e)return[];if(!("FLAG"in this.flags))return e.split("");if("long"===this.flags.FLAG){for(var t=[],n=0,i=e.length;n<i;n+=2)t.push(e.substr(n,2));return t}if("num"===this.flags.FLAG)return e.split(",")},_applyRule:function(e,t){for(var n=t.entries,i=[],r=0,a=n.length;r<a;r++){var o=n[r];if(!o.match||e.match(o.match)){var s=e;if(o.remove&&(s=s.replace(o.remove,"")),"SFX"===t.type?s+=o.add:s=o.add+s,i.push(s),"continuationClasses"in o)for(var u=0,l=o.continuationClasses.length;u<l;u++){var c=this.rules[o.continuationClasses[u]];c&&(i=i.concat(this._applyRule(s,c)))}}}return i},check:function(e){if(!this.loaded)throw"Dictionary not loaded.";var t=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"");if(this.checkExact(t))return!0;if(t.toUpperCase()===t){var n=t[0]+t.substring(1).toLowerCase();if(this.hasFlag(n,"KEEPCASE"))return!1;if(this.checkExact(n)||this.checkExact(t.toLowerCase()))return!0}var i=t[0].toLowerCase()+t.substring(1);if(i!==t){if(this.hasFlag(i,"KEEPCASE"))return!1;if(this.checkExact(i))return!0}return!1},checkExact:function(e){if(!this.loaded)throw"Dictionary not loaded.";var t,n,i=this.dictionaryTable[e];if(void 0===i){if("COMPOUNDMIN"in this.flags&&e.length>=this.flags.COMPOUNDMIN){for(t=0,n=this.compoundRules.length;t<n;t++)if(e.match(this.compoundRules[t]))return!0}}else if(null===i)return!0;else if("object"==typeof i){for(t=0,n=i.length;t<n;t++)if(!this.hasFlag(e,"ONLYINCOMPOUND",i[t]))return!0}return!1},hasFlag:function(e,t,n){if(!this.loaded)throw"Dictionary not loaded.";return t in this.flags&&(void 0===n&&(n=Array.prototype.concat.apply([],this.dictionaryTable[e])),!!n&&-1!==n.indexOf(this.flags[t]))},alphabet:"",suggest:function(e,t){if(!this.loaded)throw"Dictionary not loaded.";if(t=t||5,this.memoized.hasOwnProperty(e)){var n=this.memoized[e].limit;if(t<=n||this.memoized[e].suggestions.length<n)return this.memoized[e].suggestions.slice(0,t)}if(this.check(e))return[];for(var i=0,r=this.replacementTable.length;i<r;i++){var a=this.replacementTable[i];if(-1!==e.indexOf(a[0])){var o=e.replace(a[0],a[1]);if(this.check(o))return[o]}}var s=this;function u(e,t){var n,i,r,a,o={},u=s.alphabet.length;if("string"==typeof e){var l=e;(e={})[l]=!0}for(var l in e)for(n=0,r=l.length+1;n<r;n++){var c=[l.substring(0,n),l.substring(n)];if(c[1]&&(a=c[0]+c[1].substring(1),(!t||s.check(a))&&(a in o?o[a]+=1:o[a]=1)),c[1].length>1&&c[1][1]!==c[1][0]&&(a=c[0]+c[1][1]+c[1][0]+c[1].substring(2),(!t||s.check(a))&&(a in o?o[a]+=1:o[a]=1)),c[1]){var m=c[1].substring(0,1).toUpperCase()===c[1].substring(0,1)?"uppercase":"lowercase";for(i=0;i<u;i++){var d=s.alphabet[i];"uppercase"===m&&(d=d.toUpperCase()),d!=c[1].substring(0,1)&&(a=c[0]+d+c[1].substring(1),(!t||s.check(a))&&(a in o?o[a]+=1:o[a]=1))}}if(c[1])for(i=0;i<u;i++){var m=c[0].substring(-1).toUpperCase()===c[0].substring(-1)&&c[1].substring(0,1).toUpperCase()===c[1].substring(0,1)?"uppercase":"lowercase",d=s.alphabet[i];"uppercase"===m&&(d=d.toUpperCase()),a=c[0]+d+c[1],(!t||s.check(a))&&(a in o?o[a]+=1:o[a]=1)}}return o}
1return s.alphabet="abcdefghijklmnopqrstuvwxyz",this.memoized[e]={suggestions:function(e){var n,i=u(e),r=u(i,!0);for(var a in i)s.check(a)&&(a in r?r[a]+=i[a]:r[a]=i[a]);var o=[];for(n in r)r.hasOwnProperty(n)&&o.push([n,r[n]]);o.sort(function(e,t){var n=e[1],i=t[1];return n<i?-1:n>i?1:t[0].localeCompare(e[0])}).reverse();var l=[],c="lowercase";e.toUpperCase()===e?c="uppercase":e.substr(0,1).toUpperCase()+e.substr(1).toLowerCase()===e&&(c="capitalized");var m=t;for(n=0;n<Math.min(m,o.length);n++)"uppercase"===c?o[n][0]=o[n][0].toUpperCase():"capitalized"===c&&(o[n][0]=o[n][0].substr(0,1).toUpperCase()+o[n][0].substr(1)),s.hasFlag(o[n][0],"NOSUGGEST")||-1!=l.indexOf(o[n][0])?m++:l.push(o[n][0]);return l}(e),limit:t},this.memoized[e].suggestions}},e.exports=i},551:function(e,t){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function i(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return(i=i.call(e)).next.bind(i);if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return n(e,t)}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}t.ce=r();var a=/[&<>"']/,o=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return l[e]};function m(e,t){if(t){if(a.test(e))return e.replace(o,c)}else if(s.test(e))return e.replace(u,c);return e}var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function p(e){return e.replace(d,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var h=/(^|[^\[])\^/g;function f(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(h,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n}var g=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(e,t,n){var i,r,a,o;if(e){try{i=decodeURIComponent(p(n)).replace(g,"").toLowerCase()}catch(e){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!D.test(n)&&(r=t,a=n,v[" "+r]||(k.test(r)?v[" "+r]=r+"/":v[" "+r]=A(r,"/",!0)),o=-1===(r=v[" "+r]).indexOf(":"),n="//"===a.substring(0,2)?o?a:r.replace(b,"$1")+a:"/"!==a.charAt(0)?r+a:o?a:r.replace(C,"$1")+a);try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}var v={},k=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,C=/^([^:]+:\/*[^/]*)[\s\S]*$/,F={exec:function(){}};function y(e){for(var t,n,i=1;i<arguments.length;i++)for(n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function E(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var i=!1,r=t;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(n[0].trim()||n.shift(),n[n.length-1].trim()||n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function A(e,t,n){var i=e.length;if(0===i)return"";for(var r=0;r<i;){var a=e.charAt(i-r-1);if(a!==t||n){if(a!==t&&n)r++;else break}else r++}return e.substr(0,i-r)}function w(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function S(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function B(e,t,n,i){var r=t.href,a=t.title?m(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"===e[0].charAt(0))return{type:"image",raw:n,href:r,title:a,text:m(o)};i.state.inLink=!0;
1var s={type:"link",raw:n,href:r,title:a,text:o,tokens:i.inlineTokens(o,[])};return i.state.inLink=!1,s}var T=function(){function e(e){this.options=e||t.ce}var n=e.prototype;return n.space=function(e){var t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}},n.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:A(n,"\n")}}},n.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e}).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},n.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var i=A(n,"#");this.options.pedantic?n=i.trim():(!i||/ $/.test(i))&&(n=i.trim())}var r={type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:[]};return this.lexer.inline(r.text,r.tokens),r}},n.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},n.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(n,[]),text:n}}},n.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,a,o,s,u,l,c,m,d,p,h,f=t[1].trim(),g=f.length>1,D={type:"list",raw:"",ordered:g,start:g?+f.slice(0,-1):"",loose:!1,items:[]};f=g?"\\d{1,9}\\"+f.slice(-1):"\\"+f,this.options.pedantic&&(f=g?f:"[*+-]");for(var x=RegExp("^( {0,3}"+f+")((?: [^\\n]*)?(?:\\n|$))");e&&(h=!1,!(!(t=x.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0],m=e.split("\n",1)[0],this.options.pedantic?(o=2,p=c.trimLeft()):(o=(o=t[2].search(/[^ ]/))>4?1:o,p=c.slice(o),o+=t[1].length),u=!1,!c&&/^ *$/.test(m)&&(n+=m+"\n",e=e.substring(m.length+1),h=!0),!h)for(var v=RegExp("^ {0,"+Math.min(3,o-1)+"}(?:[*+-]|\\d{1,9}[.)])");e&&(c=d=e.split("\n",1)[0],this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!v.test(c));){if(c.search(/[^ ]/)>=o||!c.trim())p+="\n"+c.slice(o);else if(u)break;else p+="\n"+c;u||c.trim()||(u=!0),n+=d+"\n",e=e.substring(d.length+1)}!D.loose&&(l?D.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p))&&(a="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,"")),D.items.push({type:"list_item",raw:n,task:!!r,checked:a,loose:!1,text:p}),D.raw+=n}D.items[D.items.length-1].raw=n.trimRight(),D.items[D.items.length-1].text=p.trimRight(),D.raw=D.raw.trimRight();var k=D.items.length;for(s=0;s<k;s++){this.lexer.state.top=!1,D.items[s].tokens=this.lexer.blockTokens(D.items[s].text,[]);var b=D.items[s].tokens.filter(function(e){return"space"===e.type}),C=b.every(function(e){for(var t,n=e.raw.split(""),r=0,a=i(n);!(t=a()).done;)if("\n"===t.value&&(r+=1),r>1)return!0;return!1});!D.loose&&b.length&&C&&(D.loose=!0,D.items[s].loose=!0)}return D}},n.html=function(e){var t=this.rules.block.html.exec(e);if(t){var n={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(n.type="paragraph",n.text=this.options.sanitizer?this.options.sanitizer(t[0]):m(t[0]),n.tokens=[],this.lexer.inline(n.text,n.tokens)),n}},n.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},n.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:E(t[1]).map(function(e){return{text:e}}),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var i,r,a,o,s=n.align.length;for(i=0;i<s;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(i=0,s=n.rows.length;i<s;i++)n.rows[i]=E(n.rows[i],n.header.length).map(function(e){return{text:e}});for(r=0,s=n.header.length;r<s;r++)n.header[r].tokens=[],this.lexer.inlineTokens(n.header[r].text,n.header[r].tokens);for(r=0,s=n.rows.length;r<s;r++)for(a=0,o=n.rows[r];a<o.length;a++)o[a].tokens=[],this.lexer.inlineTokens(o[a].text,o[a].tokens);return n}}},n.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t){var n={type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},n.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t){var n={type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},n.text=function(e){var t=this.rules.block.text.exec(e);if(t){var n={type:"text",raw:t[0],text:t[0],tokens:[]};return this.lexer.inline(n.text,n.tokens),n}},n.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:m(t[1])}},n.tag=function(e){var t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):m(t[0]):t[0]}},n.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();
vendor: 4,589 bytes, line 1
1if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;var i=A(n.slice(0,-1),"\\");if((n.length-i.length)%2==0)return}else{var r=function(e,t){if(-1===e.indexOf(t[1]))return -1;for(var n=e.length,i=0,r=0;r<n;r++)if("\\"===e[r])r++;else if(e[r]===t[0])i++;else if(e[r]===t[1]&&--i<0)return r;return -1}(t[2],"()");if(r>-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,a).trim(),t[3]=""}}var o=t[2],s="";if(this.options.pedantic){var u=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);u&&(o=u[1],s=u[3])}else s=t[3]?t[3].slice(1,-1):"";return o=o.trim(),/^</.test(o)&&(o=this.options.pedantic&&!/>$/.test(n)?o.slice(1):o.slice(1,-1)),B(t,{href:o?o.replace(this.rules.inline._escapes,"$1"):o,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0],this.lexer)}},n.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return B(n,i,n[0],this.lexer)}},n.emStrong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.emStrong.lDelim.exec(e);if(i&&!(i[3]&&n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CF
1D\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var r=i[1]||i[2]||"";if(!r||r&&(""===n||this.rules.inline.punctuation.exec(n))){var a,o,s=i[0].length-1,u=s,l=0,c="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+s);null!=(i=c.exec(t));
vendor: 10,698 bytes, line 1
1)if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6]){if(o=a.length,i[3]||i[4]){u+=o;continue}if((i[5]||i[6])&&s%3&&!((s+o)%3)){l+=o;continue}if(!((u-=o)>0)){if(Math.min(s,o=Math.min(o,o+u+l))%2){var m=e.slice(1,s+i.index+o);return{type:"em",raw:e.slice(0,s+i.index+o+1),text:m,tokens:this.lexer.inlineTokens(m,[])}}var d=e.slice(2,s+i.index+o-1);return{type:"strong",raw:e.slice(0,s+i.index+o+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}}}}},n.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=m(n,!0),{type:"codespan",raw:t[0],text:n}}},n.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},n.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},n.autolink=function(e,t){var n,i,r=this.rules.inline.autolink.exec(e);if(r)return i="@"===r[2]?"mailto:"+(n=m(this.options.mangle?t(r[1]):r[1])):n=m(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},n.url=function(e,t){var n,i,r,a;if(n=this.rules.inline.url.exec(e)){if("@"===n[2])r="mailto:"+(i=m(this.options.mangle?t(n[0]):n[0]));else{do a=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(a!==n[0]);i=m(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},n.inlineText=function(e,t){var n,i=this.rules.inline.text.exec(e);if(i)return n=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):m(i[0]):i[0]:m(this.options.smartypants?t(i[0]):i[0]),{type:"text",raw:i[0],text:n}},e}(),_={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:F,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};_._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,_._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,_.def=f(_.def).replace("label",_._label).replace("title",_._title).getRegex(),_.bullet=/(?:[*+-]|\d{1,9}[.)])/,_.listItemStart=f(/^( *)(bull) */).replace("bull",_.bullet).getRegex(),_.list=f(_.list).replace(/bull/g,_.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+_.def.source+")").getRegex(),_._tag="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,_.html=f(_.html,"i").replace("comment",_._comment).replace("tag",_._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_.paragraph=f(_._paragraph).replace("hr",_.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_._tag).getRegex(),_.blockquote=f(_.blockquote).replace("paragraph",_.paragraph).getRegex(),_.normal=y({},_),_.gfm=y({},_.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),_.gfm.table=f(_.gfm.table).replace("hr",_.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_._tag).getRegex(),_.gfm.paragraph=f(_._paragraph).replace("hr",_.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",_.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_._tag).getRegex(),_.pedantic=y({},_.normal,{html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",_._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:F,paragraph:f(_.normal._paragraph).replace("hr",_.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",_.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var L={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:F,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:F,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function I(e){return e.replace(/---/g,"â").replace(/--/g,"â").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1â").replace(/'/g,"â").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1â").replace(/"/g,"â").replace(/\.{3}/g,"â¦")}function M(e){var t,n,i="",r=e.length;for(t=0;t<r;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}L._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",L.punctuation=f(L.punctuation).replace(/punctuation/g,L._punctuation).getRegex(),L.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,L.escapedEmSt=/\\\*|\\_/g,L._comment=f(_._comment).replace("(?:-->|$)","-->").getRegex(),L.emStrong.lDelim=f(L.emStrong.lDelim).replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimAst=f(L.emStrong.rDelimAst,"g").replace(/punct/g,L._punctuation).getRegex(),L.emStrong.rDelimUnd=f(L.emStrong.rDelimUnd,"g").replace(/punct/g,L._punctuation).getRegex(),L._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,L._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,L._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,L.autolink=f(L.autolink).replace("scheme",L._scheme).replace("email",L._email).getRegex(),L._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,L.tag=f(L.tag).replace("comment",L._comment).replace("attribute",L._attribute).getRegex(),L._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,L._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,L._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,L.link=f(L.link).replace("label",L._label).replace("href",L._href).replace("title",L._title).getRegex(),L.reflink=f(L.reflink).replace("label",L._label).replace("ref",_._label).getRegex(),L.nolink=f(L.nolink).replace("ref",_._label).getRegex(),L.reflinkSearch=f(L.reflinkSearch,"g").replace("reflink",L.reflink).replace("nolink",L.nolink).getRegex(),L.normal=y({},L),L.pedantic=y({},L.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",L._label).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",L._label).getRegex()}),L.gfm=y({},L.normal,{escape:f(L.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),L.gfm.url=f(L.gfm.url,"i").replace("email",L.gfm._extended_email).getRegex(),L.breaks=y({},L.gfm,{br:f(L.br).replace("{2,}","*").getRegex(),text:f(L.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var N=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||t.ce,this.options.tokenizer=this.options.tokenizer||new T,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};
1var n={block:_.normal,inline:L.normal};this.options.pedantic?(n.block=_.pedantic,n.inline=L.pedantic):this.options.gfm&&(n.block=_.gfm,this.options.breaks?n.inline=L.breaks:n.inline=L.gfm),this.tokenizer.rules=n}e.lex=function(t,n){return new e(n).lex(t)},e.lexInline=function(t,n){return new e(n).inlineTokens(t)};var n,i=e.prototype;return i.lex=function(e){var t;for(e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens},i.blockTokens=function(e,t){var n,i,r,a,o=this;for(void 0===t&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(i){return!!(n=i.call({lexer:o},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)}))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&("paragraph"===i.type||"text"===i.type)?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if((n=this.tokenizer.fences(e))||(n=this.tokenizer.heading(e))||(n=this.tokenizer.hr(e))||(n=this.tokenizer.blockquote(e))||(n=this.tokenizer.list(e))||(n=this.tokenizer.html(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&("paragraph"===i.type||"text"===i.type)?(i.raw+="\n"+n.raw,i.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if((n=this.tokenizer.table(e))||(n=this.tokenizer.lheading(e))){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,n=e.slice(1),i=void 0;o.options.extensions.startBlock.forEach(function(e){"number"==typeof(i=e.call({lexer:this},n))&&i>=0&&(t=Math.min(t,i))}),t<1/0&&t>=0&&(r=e.substring(0,t+1))}(),this.state.top&&(n=this.tokenizer.paragraph(r))){i=t[t.length-1],a&&"paragraph"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),a=r.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===i.type?(i.raw+="\n"+n.raw,i.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw Error(s)}}return this.state.top=!0,t},i.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},i.inlineTokens=function(e,t){var n,i,r,a,o,s,u=this;void 0===t&&(t=[]);var l=e;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(l));)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,a.index)+"["+S("a",a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,a.index)+"["+S("a",a[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,a.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(o||(s=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(i){return!!(n=i.call({lexer:u},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)}))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),(i=t[t.length-1])&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,l,s))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e))||(n=this.tokenizer.autolink(e,M))||!this.state.inLink&&(n=this.tokenizer.url(e,M))){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),i=void 0;u.options.extensions.startInline.forEach(function(e){"number"==typeof(i=e.call({lexer:this},n))&&i>=0&&(t=Math.min(t,i))}),t<1/0&&t>=0&&(r=e.substring(0,t+1))}(),n=this.tokenizer.inlineText(r,I)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),o=!0,(i=t[t.length-1])&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(e){var m="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(m);break}throw Error(m)}}return t},n=[{key:"rules",get:function(){return{block:_,inline:L}}}],function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(),z=function(){function e(e){this.options=e||t.ce}var n=e.prototype;return n.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,i);null!=r&&r!==e&&(n=!0,e=r)}return(e=e.replace(/\n$/,"")+"\n",i)?'<pre><code class="'+this.options.langPrefix+m(i,!0)+'">'+(n?e:m(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:m(e,!0))+"</code></pre>\n"},n.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},n.html=function(e){return e},n.heading=function(e,t,n,i){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+i.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},n.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},n.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+i+">\n"},n.listitem=function(e){return"<li>"+e+"</li>\n"},n.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},n.paragraph=function(e){return"<p>"+e+"</p>\n"},n.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},n.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},n.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},n.strong=function(e){return"<strong>"+e+"</strong>"},n.em=function(e){return"<em>"+e+"</em>"},n.codespan=function(e){return"<code>"+e+"</code>"},n.br=function(){return this.options.xhtml?"<br/>":"<br>"},n.del=function(e){return"<del>"+e+"</del>"},n.link=function(e,t,n){if(null===(e=x(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<a href="'+m(e)+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},n.image=function(e,t,n){if(null===(e=x(this.options.sanitize,this.options.baseUrl,e)))return n;var i='<img src="'+e+'" alt="'+n+'"';return t&&(i+=' title="'+t+'"'),i+=this.options.xhtml?"/>":">"},n.text=function(e){return e},e}(),R=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),O=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do n=e+"-"+ ++i;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),j=function(){function e(e){this.options=e||t.ce,this.options.renderer=this.options.renderer||new z,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new R,this.slugger=new O}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var n=e.prototype;return n.parse=function(e,t){void 0===t&&(t=!0);var n,i,r,a,o,s,u,l,c,m,d,h,f,g,D,x,v,k,b,C="",F=e.length;for(n=0;n<F;n++){if(m=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[m.type]&&(!1!==(b=this.options.extensions.renderers[m.type].call({parser:this},m))||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(m.type))){C+=b||"";continue}switch(m.type){case"space":continue;case"hr":C+=this.renderer.hr();continue;case"heading":C+=this.renderer.heading(this.parseInline(m.tokens),m.depth,p(this.parseInline(m.tokens,this.textRenderer)),this.slugger);continue;case"code":C+=this.renderer.code(m.text,m.lang,m.escaped);continue;case"table":for(i=0,l="",u="",a=m.header.length;i<a;i++)u+=this.renderer.tablecell(this.parseInline(m.header[i].tokens),{header:!0,align:m.align[i]});for(l+=this.renderer.tablerow(u),c="",a=m.rows.length,i=0;i<a;i++){for(r=0,s=m.rows[i],u="",o=s.length;r<o;r++)u+=this.renderer.tablecell(this.parseInline(s[r].tokens),{header:!1,align:m.align[r]});c+=this.renderer.tablerow(u)}C+=this.renderer.table(l,c);continue;case"blockquote":c=this.parse(m.tokens),C+=this.renderer.blockquote(c);continue;case"list":for(i=0,d=m.ordered,h=m.start,f=m.loose,a=m.items.length,c="";i<a;i++)x=(D=m.items[i]).checked,v=D.task,g="",D.task&&(k=this.renderer.checkbox(x),f?D.tokens.length>0&&"paragraph"===D.tokens[0].type?(D.tokens[0].text=k+" "+D.tokens[0].text,D.tokens[0].tokens&&D.tokens[0].tokens.length>0&&"text"===D.tokens[0].tokens[0].type&&(D.tokens[0].tokens[0].text=k+" "+D.tokens[0].tokens[0].text)):D.tokens.unshift({type:"text",text:k}):g+=k),g+=this.parse(D.tokens,f),c+=this.renderer.listitem(g,v,x);C+=this.renderer.list(c,d,h);continue;case"html":C+=this.renderer.html(m.text);continue;case"paragraph":C+=this.renderer.paragraph(this.parseInline(m.tokens));continue;case"text":for(c=m.tokens?this.parseInline(m.tokens):m.text;n+1<F&&"text"===e[n+1].type;)c+="\n"+((m=e[++n]).tokens?this.parseInline(m.tokens):m.text);C+=t?this.renderer.paragraph(c):c;continue;default:var y='Token with "'+m.type+'" type was not found.';if(this.options.silent){console.error(y);return}throw Error(y)}}return C},n.parseInline=function(e,t){t=t||this.renderer;var n,i,r,a="",o=e.length;for(n=0;n<o;n++){if(i=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(!1!==(r=this.options.extensions.renderers[i.type].call({parser:this},i))||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){a+=r||"";continue}switch(i.type){case"escape":case"text":a+=t.text(i.text);break;case"html":a+=t.html(i.text);break;case"link":a+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break;case"image":a+=t.image(i.href,i.title,i.text);break;case"strong":a+=t.strong(this.parseInline(i.tokens,t));break;case"em":a+=t.em(this.parseInline(i.tokens,t));break;case"codespan":a+=t.codespan(i.text);break;case"br":a+=t.br();break;case"del":a+=t.del(this.parseInline(i.tokens,t));break;default:var s='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(s);return}throw Error(s)}}return a},e}();function q(e,t,n){if(null==e)throw Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof t&&(n=t,t=null),w(t=y({},q.defaults,t||{})),n){var i,r=t.highlight;try{i=N.lex(e,t)}catch(e){return n(e)}var a=function(e){var a;if(!e)try{t.walkTokens&&q.walkTokens(i,t.walkTokens),a=j.parse(i,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,a)};if(!r||r.length<3||(delete t.highlight,!i.length))return a();var o=0;return q.walkTokens(i,function(e){"code"===e.type&&(o++,setTimeout(function(){r(e.text,e.lang,function(t,n){if(t)return a(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--o&&a()})}
1,0))}),void(0===o&&a())}try{var s=N.lex(e,t);return t.walkTokens&&q.walkTokens(s,t.walkTokens),j.parse(s,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+m(e.message+"",!0)+"</pre>";throw e}}q.options=q.setOptions=function(e){var n;return y(q.defaults,e),n=q.defaults,t.ce=n,q},q.getDefaults=r,q.defaults=t.ce,q.use=function(){for(var e,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=y.apply(void 0,[{}].concat(n)),a=q.defaults.extensions||{renderers:{},childTokens:{}};n.forEach(function(t){if(t.extensions&&(e=!0,t.extensions.forEach(function(e){if(!e.name)throw Error("extension name required");if(e.renderer){var t=a.renderers?a.renderers[e.name]:null;t?a.renderers[e.name]=function(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var a=e.renderer.apply(this,i);return!1===a&&(a=t.apply(this,i)),a}:a.renderers[e.name]=e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");a[e.level]?a[e.level].unshift(e.tokenizer):a[e.level]=[e.tokenizer],e.start&&("block"===e.level?a.startBlock?a.startBlock.push(e.start):a.startBlock=[e.start]:"inline"===e.level&&(a.startInline?a.startInline.push(e.start):a.startInline=[e.start]))}e.childTokens&&(a.childTokens[e.name]=e.childTokens)})),t.renderer&&function(){var e=q.defaults.renderer||new z,n=function(n){var i=e[n];e[n]=function(){for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];var s=t.renderer[n].apply(e,a);return!1===s&&(s=i.apply(e,a)),s}};for(var i in t.renderer)n(i);r.renderer=e}(),t.tokenizer&&function(){var e=q.defaults.tokenizer||new T,n=function(n){var i=e[n];e[n]=function(){for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];var s=t.tokenizer[n].apply(e,a);return!1===s&&(s=i.apply(e,a)),s}};for(var i in t.tokenizer)n(i);r.tokenizer=e}(),t.walkTokens){var n=q.defaults.walkTokens;r.walkTokens=function(e){t.walkTokens.call(this,e),n&&n.call(this,e)}}e&&(r.extensions=a),q.setOptions(r)})},q.walkTokens=function(e,t){for(var n,r=i(e);!(n=r()).done;)!function(){var e=n.value;switch(t.call(q,e),e.type){case"table":for(var r,a=i(e.header);!(r=a()).done;){var o=r.value;q.walkTokens(o.tokens,t)}for(var s,u=i(e.rows);!(s=u()).done;)for(var l,c=s.value,m=i(c);!(l=m()).done;){var d=l.value;q.walkTokens(d.tokens,t)}break;case"list":q.walkTokens(e.items,t);break;default:q.defaults.extensions&&q.defaults.extensions.childTokens&&q.defaults.extensions.childTokens[e.type]?q.defaults.extensions.childTokens[e.type].forEach(function(n){q.walkTokens(e[n],t)}):e.tokens&&q.walkTokens(e.tokens,t)}}()},q.parseInline=function(e,t){if(null==e)throw Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");w(t=y({},q.defaults,t||{}));try{var n=N.lexInline(e,t);return t.walkTokens&&q.walkTokens(n,t.walkTokens),j.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+m(e.message+"",!0)+"</pre>";throw e}},q.Parser=j,q.parser=j.parse,q.Renderer=z,q.TextRenderer=R,q.Lexer=N,q.lexer=N.lex,q.Tokenizer=T,q.Slugger=O,q.parse=q,q.options,q.setOptions,q.use,q.walkTokens,q.parseInline,j.parse,N.lex,t.TU=q}}]); 2//# sourceMappingURL=8076.82354269fe1fd593.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.