-);C.breaks=merge({},C.gfm,{br:replace(C.br)('{2,}','*')(),text:replace(C.gfm.text)('{2,}','*')()});var D=function(E,F){this.options=F||marked.defaults;this.links=E;this.rules=C.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;
-if(!this.links){throw new Error('Tokens array requires a `links` property.');}if(this.options.gfm){if(this.options.breaks){this.rules=C.breaks;}else{this.rules=C.gfm;}}else if(this.options.pedantic){this.rules=C.pedantic;}};D.rules=C;D.output=function(E,F,G){var H=new D(F,G);
-return H.output(E);};D.prototype.output=function(E){var F='',G,H,I,J;while(E){if(J=this.rules.escape.exec(E)){E=E.substring(J[0].length);F+=J[1];continue;}if(J=this.rules.autolink.exec(E)){E=E.substring(J[0].length);if(J[2]==='@'){H=J[1].charAt(6)===':'?this.mangle(J[1].substring(7)):this.mangle(J[1]);
-I=this.mangle('mailto:')+H;}else{H=escape(J[1]);I=H;}F+=this.renderer.link(I,null,H);continue;}if(!this.inLink&&(J=this.rules.url.exec(E))){E=E.substring(J[0].length);H=escape(J[1]);I=H;F+=this.renderer.link(I,null,H);continue;}if(J=this.rules.tag.exec(E)){if(!this.inLink&&/^<a /i.test(J[0])){this.inLink=true;
-}else if(this.inLink&&/^<\/a>/i.test(J[0])){this.inLink=false;}E=E.substring(J[0].length);F+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(J[0]):escape(J[0]):J[0];continue;}if(J=this.rules.link.exec(E)){E=E.substring(J[0].length);this.inLink=true;
-F+=this.outputLink(J,{href:J[2],title:J[3]});this.inLink=false;continue;}if((J=this.rules.reflink.exec(E))||(J=this.rules.nolink.exec(E))){E=E.substring(J[0].length);G=(J[2]||J[1]).replace(/\s+/g,' ');G=this.links[G.toLowerCase()];if(!G||!G.href){F+=J[0].charAt(0);
-E=J[0].substring(1)+E;continue;}this.inLink=true;F+=this.outputLink(J,G);this.inLink=false;continue;}if(J=this.rules.strong.exec(E)){E=E.substring(J[0].length);F+=this.renderer.strong(this.output(J[2]||J[1]));continue;}if(J=this.rules.em.exec(E)){E=E.substring(J[0].length);
-F+=this.renderer.em(this.output(J[2]||J[1]));continue;}if(J=this.rules.code.exec(E)){E=E.substring(J[0].length);F+=this.renderer.codespan(escape(J[2],true));continue;}if(J=this.rules.br.exec(E)){E=E.substring(J[0].length);F+=this.renderer.br();continue;}if(J=this.rules.del.exec(E)){E=E.substring(J[0].length);
-F+=this.renderer.del(this.output(J[1]));continue;}if(J=this.rules.text.exec(E)){E=E.substring(J[0].length);F+=this.renderer.text(escape(this.smartypants(J[0])));continue;}if(E){throw new Error('Infinite loop on byte: '+E.charCodeAt(0));}}return F;};D.prototype.outputLink=function(E,F){var G=escape(F.href),H=F.title?escape(F.title):null;
-return E[0].charAt(0)!=='!'?this.renderer.link(G,H,this.output(E[1])):this.renderer.image(G,H,escape(E[1]));};D.prototype.smartypants=function(E){if(!this.options.smartypants){return E;}return E.replace(/---/g,'\u2014').replace(/--/g,'\u2013').replace(/(^|[-\u2014/(\[{"\s])'/g,'$1\u2018').replace(/'/g,'\u2019').replace(/(^|[-\u2014/(\[{\u2018\s])"/g,'$1\u201c').replace(/"/g,'\u201d').replace(/\.{3}/g,'\u2026');
-};D.prototype.mangle=function(E){if(!this.options.mangle){return E;}var F='',l=E.length,i=0,ch;for(;i<l;i++){ch=E.charCodeAt(i);if(Math.random()>0.5){ch='x'+ch.toString(16);}F+='&#'+ch+';';}return F;};function Renderer(E){this.options=E||{};}Renderer.prototype.code=function(E,F,G){if(this.options.highlight){var H=this.options.highlight(E,F);
-if(H!=null&&H!==E){G=true;E=H;}}else{G=true;}if(!F){return '<pre><code>'+(G?E:escape(E,true))+'\n</code></pre>';}return '<pre><code class="'+this.options.langPrefix+escape(F,true)+'">'+(G?E:escape(E,true))+'\n</code></pre>\n';};Renderer.prototype.blockquote=function(E){return '<blockquote>\n'+E+'</blockquote>\n';
-};Renderer.prototype.html=function(E){return E;};Renderer.prototype.heading=function(E,F,G){return '<h'+F+' id="'+this.options.headerPrefix+G.toLowerCase().replace(/[^\w]+/g,'-')+'">'+E+'</h'+F+'>\n';};Renderer.prototype.hr=function(){return this.options.xhtml?'<hr/>\n':'<hr>\n';
-};Renderer.prototype.list=function(E,F){var G=F?'ol':'ul';return '<'+G+'>\n'+E+'</'+G+'>\n';};Renderer.prototype.listitem=function(E){return '<li>'+E+'</li>\n';};Renderer.prototype.paragraph=function(E){return '<p>'+E+'</p>\n';};Renderer.prototype.table=function(E,F){return '<table class="table table-striped">\n'+'<thead>\n'+E+'</thead>\n'+'<tbody>\n'+F+'</tbody>\n'+'</table>\n';
-};Renderer.prototype.tablerow=function(E){return '<tr>\n'+E+'</tr>\n';};Renderer.prototype.tablecell=function(E,F){var G=F.header?'th':'td';var H=F.align?'<'+G+' style="text-align:'+F.align+'">':'<'+G+'>';return H+E+'</'+G+'>\n';};Renderer.prototype.strong=function(E){return '<strong>'+E+'</strong>';
-};Renderer.prototype.em=function(E){return '<em>'+E+'</em>';};Renderer.prototype.codespan=function(E){return '<code>'+E+'</code>';};Renderer.prototype.br=function(){return this.options.xhtml?'<br/>':'<br>';};Renderer.prototype.del=function(E){return '<del>'+E+'</del>';
-};Renderer.prototype.link=function(E,F,G){if(this.options.sanitize){try{var H=decodeURIComponent(unescape(E)).replace(/[^\w:]/g,'').toLowerCase();}catch(e){return '';}if(H.indexOf('javascript:')===0||H.indexOf('vbscript:')===0){return '';}}var I='<a href="'+E+'"';
-if(F){I+=' title="'+F+'"';}I+='>'+G+'</a>';return I;};Renderer.prototype.image=function(E,F,G){var H='<img src="'+E+'" alt="'+G+'"';if(F){H+=' title="'+F+'"';}H+=this.options.xhtml?'/>':'>';return H;};Renderer.prototype.text=function(E){return E;};function Parser(E){this.tokens=[];
-this.token=null;this.options=E||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options;}Parser.parse=function(E,F,G){var H=new Parser(F,G);return H.parse(E);};Parser.prototype.parse=function(E){this.inline=new D(E.links,this.options,this.renderer);
-this.tokens=E.reverse();var F='';while(this.next()){F+=this.tok();}return F;};Parser.prototype.next=function(){return this.token=this.tokens.pop();};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0;};Parser.prototype.parseText=function(){var E=this.token.text;
-while(this.peek().type==='text'){E+='\n'+this.next().text;}return this.inline.output(E);};Parser.prototype.tok=function(){switch(this.token.type){case 'space':{return '';}case 'hr':{return this.renderer.hr();}case 'heading':{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);
-}case 'code':{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);}case 'table':{var E='',F='',i,G,H,I,j;H='';for(i=0;i<this.token.header.length;i++){I={header:true,align:this.token.align[i]};H+=this.renderer.tablecell(this.inline.output(this.token.header[i]),{header:true,align:this.token.align[i]}
-);}E+=this.renderer.tablerow(H);for(i=0;i<this.token.cells.length;i++){G=this.token.cells[i];H='';for(j=0;j<G.length;j++){H+=this.renderer.tablecell(this.inline.output(G[j]),{header:false,align:this.token.align[j]});}F+=this.renderer.tablerow(H);}return this.renderer.table(E,F);
-}case 'blockquote_start':{var F='';while(this.next().type!=='blockquote_end'){F+=this.tok();}return this.renderer.blockquote(F);}case 'list_start':{var F='',J=this.token.ordered;while(this.next().type!=='list_end'){F+=this.tok();}return this.renderer.list(F,J);
-}case 'list_item_start':{var F='';while(this.next().type!=='list_item_end'){F+=this.token.type==='text'?this.parseText():this.tok();}return this.renderer.listitem(F);}case 'loose_item_start':{var F='';while(this.next().type!=='list_item_end'){F+=this.tok();
-}return this.renderer.listitem(F);}case 'html':{var K=!this.token.pre&&!this.options.pedantic?this.inline.output(this.token.text):this.token.text;return this.renderer.html(K);}case 'paragraph':{return this.renderer.paragraph(this.inline.output(this.token.text));
-}case 'text':{return this.renderer.paragraph(this.parseText());}}};function escape(E,F){return E.replace(!F?/&(?!#?\w+;)/g:/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');}function unescape(E){return E.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(_,n){n=n.toLowerCase();
-if(n==='colon'){return ':';}if(n.charAt(0)==='#'){return n.charAt(1)==='x'?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1));}return '';});}function replace(E,F){E=E.source;F=F||'';return function G(H,I){if(!H){return new RegExp(E,F);
-}I=I.source||I;I=I.replace(/(^|[^\[])\^/g,'$1');E=E.replace(H,I);return G;};}function noop(){}noop.exec=noop;function merge(E){var i=1,F,G;for(;i<arguments.length;i++){F=arguments[i];for(G in F){if(Object.prototype.hasOwnProperty.call(F,G)){E[G]=F[G];}}}return E;
-}function marked(E,F,G){if(G||typeof F==='function'){if(!G){G=F;F=null;}F=merge({},marked.defaults,F||{});var H=F.highlight,I,J,i=0;try{I=B.lex(E,F)}catch(e){return G(e);}J=I.length;var K=function(L){if(L){F.highlight=H;return G(L);}var M;try{M=Parser.parse(I,F);
-}catch(e){L=e;}F.highlight=H;return L?G(L):G(null,M);};if(!H||H.length<3){return K();}delete F.highlight;if(!J){return K();}for(;i<I.length;i++){(function(L){if(L.type!=='code'){return --J||K();}return H(L.text,L.lang,function(M,N){if(M){return K(M);}if(N==null||N===L.text){return --J||K();
-}L.text=N;L.escaped=true;--J||K();});})(I[i]);}return;}try{if(F){F=merge({},marked.defaults,F);}return Parser.parse(B.lex(E,F),F);}catch(e){e.message+='\nPlease report this to https://github.com/chjj/marked.';if((F||marked.defaults).silent){return '<p>An error occured:</p><pre>'+escape(e.message+'',true)+'</pre>';
-}throw e;}}marked.options=marked.setOptions=function(E){merge(marked.defaults,E);return marked;};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:'lang-',smartypants:false,headerPrefix:'',renderer:new Renderer,xhtml:false}
-;marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=B;marked.lexer=B.lex;marked.InlineLexer=D;marked.inlineLexer=D.output;marked.parse=marked;Roo.Markdown.marked=marked;})();
+);C.breaks=merge({},C.gfm,{br:replace(C.br)('{2,}','*')(),text:replace(C.gfm.text)('{2,}','*')()});var D=function(F,G){this.options=G||marked.defaults;this.links=F;this.rules=C.normal;this.renderer=this.options.renderer||new E;this.renderer.options=this.options;
+if(!this.links){throw new Error('Tokens array requires a `links` property.');}if(this.options.gfm){if(this.options.breaks){this.rules=C.breaks;}else{this.rules=C.gfm;}}else if(this.options.pedantic){this.rules=C.pedantic;}};D.rules=C;D.output=function(F,G,H){var I=new D(G,H);
+return I.output(F);};D.prototype.output=function(F){var G='',H,I,J,K;while(F){if(K=this.rules.escape.exec(F)){F=F.substring(K[0].length);G+=K[1];continue;}if(K=this.rules.autolink.exec(F)){F=F.substring(K[0].length);if(K[2]==='@'){I=K[1].charAt(6)===':'?this.mangle(K[1].substring(7)):this.mangle(K[1]);
+J=this.mangle('mailto:')+I;}else{I=escape(K[1]);J=I;}G+=this.renderer.link(J,null,I);continue;}if(!this.inLink&&(K=this.rules.url.exec(F))){F=F.substring(K[0].length);I=escape(K[1]);J=I;G+=this.renderer.link(J,null,I);continue;}if(K=this.rules.tag.exec(F)){if(!this.inLink&&/^<a /i.test(K[0])){this.inLink=true;
+}else if(this.inLink&&/^<\/a>/i.test(K[0])){this.inLink=false;}F=F.substring(K[0].length);G+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(K[0]):escape(K[0]):K[0];continue;}if(K=this.rules.link.exec(F)){F=F.substring(K[0].length);this.inLink=true;
+G+=this.outputLink(K,{href:K[2],title:K[3]});this.inLink=false;continue;}if((K=this.rules.reflink.exec(F))||(K=this.rules.nolink.exec(F))){F=F.substring(K[0].length);H=(K[2]||K[1]).replace(/\s+/g,' ');H=this.links[H.toLowerCase()];if(!H||!H.href){G+=K[0].charAt(0);
+F=K[0].substring(1)+F;continue;}this.inLink=true;G+=this.outputLink(K,H);this.inLink=false;continue;}if(K=this.rules.strong.exec(F)){F=F.substring(K[0].length);G+=this.renderer.strong(this.output(K[2]||K[1]));continue;}if(K=this.rules.em.exec(F)){F=F.substring(K[0].length);
+G+=this.renderer.em(this.output(K[2]||K[1]));continue;}if(K=this.rules.code.exec(F)){F=F.substring(K[0].length);G+=this.renderer.codespan(escape(K[2],true));continue;}if(K=this.rules.br.exec(F)){F=F.substring(K[0].length);G+=this.renderer.br();continue;}if(K=this.rules.del.exec(F)){F=F.substring(K[0].length);
+G+=this.renderer.del(this.output(K[1]));continue;}if(K=this.rules.text.exec(F)){F=F.substring(K[0].length);G+=this.renderer.text(escape(this.smartypants(K[0])));continue;}if(F){throw new Error('Infinite loop on byte: '+F.charCodeAt(0));}}return G;};D.prototype.outputLink=function(F,G){var H=escape(G.href),I=G.title?escape(G.title):null;
+return F[0].charAt(0)!=='!'?this.renderer.link(H,I,this.output(F[1])):this.renderer.image(H,I,escape(F[1]));};D.prototype.smartypants=function(F){if(!this.options.smartypants){return F;}return F.replace(/---/g,'\u2014').replace(/--/g,'\u2013').replace(/(^|[-\u2014/(\[{"\s])'/g,'$1\u2018').replace(/'/g,'\u2019').replace(/(^|[-\u2014/(\[{\u2018\s])"/g,'$1\u201c').replace(/"/g,'\u201d').replace(/\.{3}/g,'\u2026');
+};D.prototype.mangle=function(F){if(!this.options.mangle){return F;}var G='',l=F.length,i=0,ch;for(;i<l;i++){ch=F.charCodeAt(i);if(Math.random()>0.5){ch='x'+ch.toString(16);}G+='&#'+ch+';';}return G;};var E=function(F){this.options=F||{};};E.prototype.code=function(F,G,H){if(this.options.highlight){var I=this.options.highlight(F,G);
+if(I!=null&&I!==F){H=true;F=I;}}else{H=true;}if(!G){return '<pre><code>'+(H?F:escape(F,true))+'\n</code></pre>';}return '<pre><code class="'+this.options.langPrefix+escape(G,true)+'">'+(H?F:escape(F,true))+'\n</code></pre>\n';};E.prototype.blockquote=function(F){return '<blockquote>\n'+F+'</blockquote>\n';
+};E.prototype.html=function(F){return F;};E.prototype.heading=function(F,G,H){return '<h'+G+' id="'+this.options.headerPrefix+H.toLowerCase().replace(/[^\w]+/g,'-')+'">'+F+'</h'+G+'>\n';};E.prototype.hr=function(){return this.options.xhtml?'<hr/>\n':'<hr>\n';
+};E.prototype.list=function(F,G){var H=G?'ol':'ul';return '<'+H+'>\n'+F+'</'+H+'>\n';};E.prototype.listitem=function(F){return '<li>'+F+'</li>\n';};E.prototype.paragraph=function(F){return '<p>'+F+'</p>\n';};E.prototype.table=function(F,G){return '<table class="table table-striped">\n'+'<thead>\n'+F+'</thead>\n'+'<tbody>\n'+G+'</tbody>\n'+'</table>\n';
+};E.prototype.tablerow=function(F){return '<tr>\n'+F+'</tr>\n';};E.prototype.tablecell=function(F,G){var H=G.header?'th':'td';var I=G.align?'<'+H+' style="text-align:'+G.align+'">':'<'+H+'>';return I+F+'</'+H+'>\n';};E.prototype.strong=function(F){return '<strong>'+F+'</strong>';
+};E.prototype.em=function(F){return '<em>'+F+'</em>';};E.prototype.codespan=function(F){return '<code>'+F+'</code>';};E.prototype.br=function(){return this.options.xhtml?'<br/>':'<br>';};E.prototype.del=function(F){return '<del>'+F+'</del>';};E.prototype.link=function(F,G,H){if(this.options.sanitize){try{var I=decodeURIComponent(unescape(F)).replace(/[^\w:]/g,'').toLowerCase();
+}catch(e){return '';}if(I.indexOf('javascript:')===0||I.indexOf('vbscript:')===0){return '';}}var J='<a href="'+F+'"';if(G){J+=' title="'+G+'"';}J+='>'+H+'</a>';return J;};E.prototype.image=function(F,G,H){var I='<img src="'+F+'" alt="'+H+'"';if(G){I+=' title="'+G+'"';
+}I+=this.options.xhtml?'/>':'>';return I;};E.prototype.text=function(F){return F;};function Parser(F){this.tokens=[];this.token=null;this.options=F||marked.defaults;this.options.renderer=this.options.renderer||new E;this.renderer=this.options.renderer;this.renderer.options=this.options;
+}Parser.parse=function(F,G,H){var I=new Parser(G,H);return I.parse(F);};Parser.prototype.parse=function(F){this.inline=new D(F.links,this.options,this.renderer);this.tokens=F.reverse();var G='';while(this.next()){G+=this.tok();}return G;};Parser.prototype.next=function(){return this.token=this.tokens.pop();
+};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0;};Parser.prototype.parseText=function(){var F=this.token.text;while(this.peek().type==='text'){F+='\n'+this.next().text;}return this.inline.output(F);};Parser.prototype.tok=function(){switch(this.token.type){case 'space':{return '';
+}case 'hr':{return this.renderer.hr();}case 'heading':{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);}case 'code':{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);}case 'table':{var F='',G='',i,H,I,J,j;
+I='';for(i=0;i<this.token.header.length;i++){J={header:true,align:this.token.align[i]};I+=this.renderer.tablecell(this.inline.output(this.token.header[i]),{header:true,align:this.token.align[i]});}F+=this.renderer.tablerow(I);for(i=0;i<this.token.cells.length;
+i++){H=this.token.cells[i];I='';for(j=0;j<H.length;j++){I+=this.renderer.tablecell(this.inline.output(H[j]),{header:false,align:this.token.align[j]});}G+=this.renderer.tablerow(I);}return this.renderer.table(F,G);}case 'blockquote_start':{var G='';while(this.next().type!=='blockquote_end'){G+=this.tok();
+}return this.renderer.blockquote(G);}case 'list_start':{var G='',K=this.token.ordered;while(this.next().type!=='list_end'){G+=this.tok();}return this.renderer.list(G,K);}case 'list_item_start':{var G='';while(this.next().type!=='list_item_end'){G+=this.token.type==='text'?this.parseText():this.tok();
+}return this.renderer.listitem(G);}case 'loose_item_start':{var G='';while(this.next().type!=='list_item_end'){G+=this.tok();}return this.renderer.listitem(G);}case 'html':{var L=!this.token.pre&&!this.options.pedantic?this.inline.output(this.token.text):this.token.text;
+return this.renderer.html(L);}case 'paragraph':{return this.renderer.paragraph(this.inline.output(this.token.text));}case 'text':{return this.renderer.paragraph(this.parseText());}}};function escape(F,G){return F.replace(!G?/&(?!#?\w+;)/g:/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/'/g,''');
+}function unescape(F){return F.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(_,n){n=n.toLowerCase();if(n==='colon'){return ':';}if(n.charAt(0)==='#'){return n.charAt(1)==='x'?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1));
+}return '';});}function replace(F,G){F=F.source;G=G||'';return function H(I,J){if(!I){return new RegExp(F,G);}J=J.source||J;J=J.replace(/(^|[^\[])\^/g,'$1');F=F.replace(I,J);return H;};}function noop(){}noop.exec=noop;function merge(F){var i=1,G,H;for(;i<arguments.length;
+i++){G=arguments[i];for(H in G){if(Object.prototype.hasOwnProperty.call(G,H)){F[H]=G[H];}}}return F;}function marked(F,G,H){if(H||typeof G==='function'){if(!H){H=G;G=null;}G=merge({},marked.defaults,G||{});var I=G.highlight,J,K,i=0;try{J=B.lex(F,G)}catch(e){return H(e);
+}K=J.length;var L=function(M){if(M){G.highlight=I;return H(M);}var N;try{N=Parser.parse(J,G);}catch(e){M=e;}G.highlight=I;return M?H(M):H(null,N);};if(!I||I.length<3){return L();}delete G.highlight;if(!K){return L();}for(;i<J.length;i++){(function(M){if(M.type!=='code'){return --K||L();
+}return I(M.text,M.lang,function(N,O){if(N){return L(N);}if(O==null||O===M.text){return --K||L();}M.text=O;M.escaped=true;--K||L();});})(J[i]);}return;}try{if(G){G=merge({},marked.defaults,G);}return Parser.parse(B.lex(F,G),G);}catch(e){e.message+='\nPlease report this to https://github.com/chjj/marked.';
+if((G||marked.defaults).silent){return '<p>An error occured:</p><pre>'+escape(e.message+'',true)+'</pre>';}throw e;}}marked.options=marked.setOptions=function(F){merge(marked.defaults,F);return marked;};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:'lang-',smartypants:false,headerPrefix:'',renderer:new E,xhtml:false}
+;marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=E;marked.Lexer=B;marked.lexer=B.lex;marked.InlineLexer=D;marked.inlineLexer=D.output;marked.parse=marked;Roo.Markdown.marked=marked;})();