Blame view

public/js/dist/vendors.0040.ba1d9c0aee0de828aab6.js 23.3 KB
e77200db5   nologostudio.ru   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
  (window.webpackJsonp=window.webpackJsonp||[]).push([["0040"],{WUsl:function(e,r,t){/*! showdown 27-08-2015 */
  (function(){function r(e){"use strict";var r={omitExtraWLInCodeBlocks:{default:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{default:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{default:!1,describe:"Specify a prefix to generated header ids",type:"string"},headerLevelStart:{default:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{default:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{default:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},literalMidWordUnderscores:{default:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},strikethrough:{default:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{default:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{default:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{default:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{default:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{default:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(r));var t={};for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n].default);return t}var t={},n={},s={},a=r(!0),i={github:{omitExtraWLInCodeBlocks:!0,prefixHeaderId:"user-content-",simplifiedAutoLink:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0},vanilla:r(!0)};function o(e,r){"use strict";var n=r?"Error in "+r+" extension->":"Error in unnamed extension",s={valid:!0,error:""};t.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var i=n+" sub-extension "+a+": ",o=e[a];if("object"!=typeof o)return s.valid=!1,s.error=i+"must be an object, but "+typeof o+" given",s;if(!t.helper.isString(o.type))return s.valid=!1,s.error=i+'property "type" must be a string, but '+typeof o.type+" given",s;var u=o.type=o.type.toLowerCase();if("language"===u&&(u=o.type="lang"),"html"===u&&(u=o.type="output"),"lang"!==u&&"output"!==u)return s.valid=!1,s.error=i+"type "+u+' is not recognized. Valid values: "lang" or "output"',s;if(o.filter){if("function"!=typeof o.filter)return s.valid=!1,s.error=i+'"filter" must be a function, but '+typeof o.filter+" given",s}else{if(!o.regex)return s.valid=!1,s.error=i+'extensions must define either a "regex" property or a "filter" method',s;if(t.helper.isString(o.regex)&&(o.regex=new RegExp(o.regex,"g")),!o.regex instanceof RegExp)return s.valid=!1,s.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof o.regex+" given",s;if(t.helper.isUndefined(o.replace))return s.valid=!1,s.error=i+'"regex" extensions must implement a replace string or function',s}if(t.helper.isUndefined(o.filter)&&t.helper.isUndefined(o.regex))return s.valid=!1,s.error=i+"output extensions must define a filter property",s}return s}function u(e,r){"use strict";return"~E"+r.charCodeAt(0)+"E"}t.helper={},t.extensions={},t.setOption=function(e,r){"use strict";return a[e]=r,this},t.getOption=function(e){"use strict";return a[e]},t.getOptions=function(){"use strict";return a},t.resetOptions=function(){"use strict";a=r(!0)},t.setFlavor=function(e){"use strict";if(i.hasOwnProperty(e)){var r=i[e];for(var t in r)r.hasOwnProperty(t)&&(a[t]=r[t])}},t.getDefaultOptions=function(e){"use strict";return r(e)},t.subParser=function(e,r){"use strict";if(t.helper.isString(e)){if(void 0===r){if(n.hasOwnProperty(e))return n[e];throw Error("SubParser named "+e+" not registered!")}n[e]=r}},t.extension=function(e,r){"use strict";if(!t.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=t.helper.stdExtName(e),t.helper.isUndefined(r)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof r&&(r=r()),t.helper.isArray(r)||(r=[r]);var n=o(r,e);if(!n.valid)throw Error(n.error);s[e]=r},t.getAllExtensions=function(){"use strict";return s},t.removeExtension=function(e){"use strict";delete s[e]},t.resetExtensions=function(){"use strict";s={}},t.validateExtension=function(e){"use strict";var r=o(e,null);return!!r.valid||(console.warn(r.error),!1)},t.hasOwnProperty("helper")||(t.helper={}),t.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},t.helper.forEach=function(e,r){"use strict";if("function"==typeof e.forEach)e.forEach(r);else for(var t=0;t<e.length;t++)r(e[t],t,e)},t.helper.isArray=function(e){"use strict";return e.constructor===Array},t.helper.isUndefined=function(e){"use strict";return void 0===e},t.helper.stdExtName=function(e){"use strict";return e.replace(/[_-]||\s/g,"").toLowerCase()},t.helper.escapeCharactersCallback=u,t.helper.escapeCharacters=function(e,r,t){"use strict";var n="(["+r.replace(/([\[\]\\])/g,"\\$1")+"])";t&&(n="\\\\"+n);var s=new RegExp(n,"g");return e=e.replace(s,u)},t.helper.isUndefined(console)&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)}}),t.Converter=function(e){"use strict";var r={},u=[],c=[],l=["githubCodeBlocks","hashHTMLBlocks","stripLinkDefinitions","blockGamut","unescapeSpecialChars"];function p(e,r){if(r=r||null,t.helper.isString(e)){if(r=e=t.helper.stdExtName(e),t.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,r){"function"==typeof e&&(e=e(new t.Converter));t.helper.isArray(e)||(e=[e]);var n=o(e,r);if(!n.valid)throw Error(n.error);for(var s=0;s<e.length;++s)switch(e[s].type){case"lang":u.push(e[s]);break;case"output":c.push(e[s]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(t.extensions[e],e);if(t.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),t.helper.isArray(e)||(e=[e]);var n=o(e,r);if(!n.valid)throw Error(n.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":u.push(e[a]);break;case"output":c.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}!function(){for(var n in e=e||{},a)a.hasOwnProperty(n)&&(r[n]=a[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var s in e)e.hasOwnProperty(s)&&(r[s]=e[s]);r.extensions&&t.helper.forEach(r.extensions,p)}(),this.makeHtml=function(e){if(!e)return e;var s={gHtmlBlocks:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:u,outputModifiers:c,converter:this};e="
  
  "+(e=(e=(e=(e=e.replace(/~/g,"~T")).replace(/\$/g,"~D")).replace(/\r
  /g,"
  ")).replace(/\r/g,"
  "))+"
  
  ",e=t.subParser("detab")(e,r,s),e=t.subParser("stripBlankLines")(e,r,s),t.helper.forEach(u,function(n){e=t.subParser("runExtension")(n,e,r,s)});for(var a=0;a<l.length;++a){e=n[l[a]](e,r,s)}return e=(e=e.replace(/~D/g,"$$")).replace(/~T/g,"~"),t.helper.forEach(c,function(n){e=t.subParser("runExtension")(n,e,r,s)}),e},this.setOption=function(e,t){r[e]=t},this.getOption=function(e){return r[e]},this.getOptions=function(){return r},this.addExtension=function(e,r){p(e,r=r||null)},this.useExtension=function(e){p(e)},this.setFlavor=function(e){if(i.hasOwnProperty(e)){var t=i[e];for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n])}},this.removeExtension=function(e){t.helper.isArray(e)||(e=[e]);for(var r=0;r<e.length;++r){for(var n=e[r],s=0;s<u.length;++s)u[s]===n&&u[s].splice(s,1);for(;0<c.length;++s)c[0]===n&&c[0].splice(s,1)}},this.getAllExtensions=function(){return{language:u,output:c}}},t.subParser("anchors",function(e,r,n){"use strict";var s=function(e,r,s,a,i,o,u,c){t.helper.isUndefined(c)&&(c=""),e=r;var l=s,p=a.toLowerCase(),h=i,d=c;if(!h)if(p||(p=l.toLowerCase().replace(/ ?
  /g," ")),h="#"+p,t.helper.isUndefined(n.gUrls[p])){if(!(e.search(/\(\s*\)$/m)>-1))return e;h=""}else h=n.gUrls[p],t.helper.isUndefined(n.gTitles[p])||(d=n.gTitles[p]);var f='<a href="'+(h=t.helper.escapeCharacters(h,"*_",!1))+'"';return""!==d&&null!==d&&(d=d.replace(/"/g,"&quot;"),f+=' title="'+(d=t.helper.escapeCharacters(d,"*_",!1))+'"'),f+=">"+l+"</a>"};return e=(e=(e=e.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][ ]?(?:
  [ ]*)?\[(.*?)\])()()()()/g,s)).replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([ \t]*()<?(.*?(?:\(.*?\).*?)?)>?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,s)).replace(/(\[([^\[\]]+)\])()()()()()/g,s)}),t.subParser("autoLinks",function(e,r){"use strict";function n(e,r){var n=t.subParser("unescapeSpecialChars")(r);return t.subParser("encodeEmailAddress")(n)}return e=(e=e.replace(/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)>/gi,'<a href="$1">$1</a>')).replace(/<(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,n),r.simplifiedAutoLink&&(e=(e=e.replace(/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)(?=\s|$)(?!["<>])/gi,'<a href="$1">$1</a>')).replace(/\b(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)\b/gi,n)),e}),t.subParser("blockGamut",function(e,r,n){"use strict";e=t.subParser("blockQuotes")(e,r,n),e=t.subParser("headers")(e,r,n);var s=t.subParser("hashBlock")("<hr />",r,n);return e=(e=(e=e.replace(/^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$/gm,s)).replace(/^[ ]{0,2}([ ]?\-[ ]?){3,}[ \t]*$/gm,s)).replace(/^[ ]{0,2}([ ]?_[ ]?){3,}[ \t]*$/gm,s),e=t.subParser("lists")(e,r,n),e=t.subParser("codeBlocks")(e,r,n),e=t.subParser("tables")(e,r,n),e=t.subParser("hashHTMLBlocks")(e,r,n),e=t.subParser("paragraphs")(e,r,n)}),t.subParser("blockQuotes",function(e,r,n){"use strict";return e=e.replace(/((^[ \t]{0,3}>[ \t]?.+
  (.+
  )*
  *)+)/gm,function(e,s){var a=s;return a=(a=(a=a.replace(/^[ \t]*>[ \t]?/gm,"~0")).replace(/~0/g,"")).replace(/^[ \t]+$/gm,""),a=t.subParser("githubCodeBlocks")(a,r,n),a=(a=(a=t.subParser("blockGamut")(a,r,n)).replace(/(^|
  )/g,"$1  ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,r){var t=r;return t=(t=t.replace(/^  /gm,"~0")).replace(/~0/g,"")}),t.subParser("hashBlock")("<blockquote>
  "+a+"
  </blockquote>",r,n)})}),t.subParser("codeBlocks",function(e,r,n){"use strict";return e=(e=(e+="~0").replace(/(?:
  
  |^)((?:(?:[ ]{4}|\t).*
  +)+)(
  *[ ]{0,3}[^ \t
  ]|(?=~0))/g,function(e,s,a){var i=s,o=a,u="
  ";return i=t.subParser("outdent")(i),i=t.subParser("encodeCode")(i),i=(i=(i=t.subParser("detab")(i)).replace(/^
  +/g,"")).replace(/
  +$/g,""),r.omitExtraWLInCodeBlocks&&(u=""),i="<pre><code>"+i+u+"</code></pre>",t.subParser("hashBlock")(i,r,n)+o})).replace(/~0/,"")}),t.subParser("codeSpans",function(e){"use strict";return e=(e=e.replace(/(<code[^><]*?>)([^]*?)<\/code>/g,function(e,r,n){return n=(n=n.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),r+(n=t.subParser("encodeCode")(n))+"</code>"})).replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,n,s){var a=s;return a=(a=a.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),r+"<code>"+(a=t.subParser("encodeCode")(a))+"</code>"})}),t.subParser("detab",function(e){"use strict";return e=(e=(e=(e=(e=e.replace(/\t(?=\t)/g,"    ")).replace(/\t/g,"~A~B")).replace(/~B(.+?)~A/g,function(e,r){for(var t=r,n=4-t.length%4,s=0;s<n;s++)t+=" ";return t})).replace(/~A/g,"    ")).replace(/~B/g,"")}),t.subParser("encodeAmpsAndAngles",function(e){"use strict";return e=(e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?\$!])/gi,"&lt;")}),t.subParser("encodeBackslashEscapes",function(e){"use strict";return e=(e=e.replace(/\\(\\)/g,t.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+-.!])/g,t.helper.escapeCharactersCallback)}),t.subParser("encodeCode",function(e){"use strict";return e=(e=(e=e.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=t.helper.escapeCharacters(e,"*_{}[]\\",!1)}),t.subParser("encodeEmailAddress",function(e){"use strict";var r=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=(e='<a href="'+(e=(e="mailto:"+e).replace(/./g,function(e){if("@"===e)e=r[Math.floor(2*Math.random())](e);else if(":"!==e){var t=Math.random();e=t>.9?r[2](e):t>.45?r[1](e):r[0](e)}return e}))+'">'+e+"</a>").replace(/">.+:/g,'">')}),t.subParser("escapeSpecialCharsWithinTagAttributes",function(e){"use strict";return e=e.replace(/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi,function(e){var r=e.replace(/(.)<\/?code>(?=.)/g,"$1`");return r=t.helper.escapeCharacters(r,"\\`*_",!1)})}),t.subParser("githubCodeBlocks",function(e,r,n){"use strict";return r.ghCodeBlocks?e=(e=(e+="~0").replace(/(?:^|
  )```(.*)
  ([\s\S]*?)
  ```/g,function(e,s,a){var i=r.omitExtraWLInCodeBlocks?"":"
  ";return a=t.subParser("encodeCode")(a),a="<pre><code"+(s?' class="'+s+" language-"+s+'"':"")+">"+(a=(a=(a=t.subParser("detab")(a)).replace(/^
  +/g,"")).replace(/
  +$/g,""))+i+"</code></pre>",t.subParser("hashBlock")(a,r,n)})).replace(/~0/,""):e}),t.subParser("hashBlock",function(e,r,t){"use strict";return e=e.replace(/(^
  +|
  +$)/g,""),"
  
  ~K"+(t.gHtmlBlocks.push(e)-1)+"K
  
  "}),t.subParser("hashElement",function(e,r,t){"use strict";return function(e,r){var n=r;return n=(n=(n=n.replace(/
  
  /g,"
  ")).replace(/^
  /,"")).replace(/
  +$/g,""),n="
  
  ~K"+(t.gHtmlBlocks.push(n)-1)+"K
  
  "}}),t.subParser("hashHTMLBlocks",function(e,r,n){"use strict";return e=(e=(e=(e=(e=(e=(e=e.replace(/
  /g,"
  
  ")).replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?
  <\/\2>[ \t]*(?=
  +))/gm,t.subParser("hashElement")(e,r,n))).replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|style|section|header|footer|nav|article|aside|address|audio|canvas|figure|hgroup|output|video)\b[^\r]*?<\/\2>[ \t]*(?=
  +)
  )/gm,t.subParser("hashElement")(e,r,n))).replace(/(
  [ ]{0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=
  {2,}))/g,t.subParser("hashElement")(e,r,n))).replace(/(
  
  [ ]{0,3}<!(--[^\r]*?--\s*)+>[ \t]*(?=
  {2,}))/g,t.subParser("hashElement")(e,r,n))).replace(/(?:
  
  )([ ]{0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=
  {2,}))/g,t.subParser("hashElement")(e,r,n))).replace(/
  
  /g,"
  ")}),t.subParser("headers",function(e,r,n){"use strict";var s=r.prefixHeaderId,a=isNaN(parseInt(r.headerLevelStart))?1:parseInt(r.headerLevelStart),i=r.smoothLivePreview?/^(.+)[ \t]*
  ={2,}[ \t]*
  +/gm:/^(.+)[ \t]*
  =+[ \t]*
  +/gm,o=r.smoothLivePreview?/^(.+)[ \t]*
  -{2,}[ \t]*
  +/gm:/^(.+)[ \t]*
  -+[ \t]*
  +/gm;function u(e){var r,a=e.replace(/[^\w]/g,"").toLowerCase();return n.hashLinkCounts[a]?r=a+"-"+n.hashLinkCounts[a]++:(r=a,n.hashLinkCounts[a]=1),!0===s&&(s="section"),t.helper.isString(s)?s+r:r}return e=(e=(e=e.replace(i,function(e,s){var i=t.subParser("spanGamut")(s,r,n),o=r.noHeaderId?"":' id="'+u(s)+'"',c="<h"+a+o+">"+i+"</h"+a+">";return t.subParser("hashBlock")(c,r,n)})).replace(o,function(e,s){var i=t.subParser("spanGamut")(s,r,n),o=r.noHeaderId?"":' id="'+u(s)+'"',c=a+1,l="<h"+c+o+">"+i+"</h"+c+">";return t.subParser("hashBlock")(l,r,n)})).replace(/^(#{1,6})[ \t]*(.+?)[ \t]*#*
  +/gm,function(e,s,i){var o=t.subParser("spanGamut")(i,r,n),c=r.noHeaderId?"":' id="'+u(i)+'"',l=a-1+s.length,p="<h"+l+c+">"+o+"</h"+l+">";return t.subParser("hashBlock")(p,r,n)})}),t.subParser("images",function(e,r,n){"use strict";function s(e,r,s,a,i,o,u,c){var l=n.gUrls,p=n.gTitles,h=n.gDimensions;if(s=s.toLowerCase(),c||(c=""),""===a||null===a){if(""!==s&&null!==s||(s=r.toLowerCase().replace(/ ?
  /g," ")),a="#"+s,t.helper.isUndefined(l[s]))return e;a=l[s],t.helper.isUndefined(p[s])||(c=p[s]),t.helper.isUndefined(h[s])||(i=h[s].width,o=h[s].height)}r=r.replace(/"/g,"&quot;"),r=t.helper.escapeCharacters(r,"*_",!1);var d='<img src="'+(a=t.helper.escapeCharacters(a,"*_",!1))+'" alt="'+r+'"';return c&&(c=c.replace(/"/g,"&quot;"),d+=' title="'+(c=t.helper.escapeCharacters(c,"*_",!1))+'"'),i&&o&&(d+=' width="'+(i="*"===i?"auto":i)+'"',d+=' height="'+(o="*"===o?"auto":o)+'"'),d+=" />"}return e=(e=e.replace(/!\[(.*?)][ ]?(?:
  [ ]*)?\[(.*?)]()()()()()/g,s)).replace(/!\[(.*?)]\s?\([ \t]*()<?(\S+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(['"])(.*?)\6[ \t]*)?\)/g,s)}),t.subParser("italicsAndBold",function(e,r){"use strict";return e=r.literalMidWordUnderscores?(e=(e=(e=e.replace(/(^|\s|>|\b)__(?=\S)([^]+?)__(?=\b|<|\s|$)/gm,"$1<strong>$2</strong>")).replace(/(^|\s|>|\b)_(?=\S)([^]+?)_(?=\b|<|\s|$)/gm,"$1<em>$2</em>")).replace(/\*\*(?=\S)([^]+?)\*\*/g,"<strong>$1</strong>")).replace(/\*(?=\S)([^]+?)\*/g,"<em>$1</em>"):(e=e.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,"<strong>$2</strong>")).replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,"<em>$2</em>")}),t.subParser("lists",function(e,r,n){"use strict";function s(e,s){n.gListLevel++,e=e.replace(/
  {2,}$/,"
  ");var a=/
  [ \t]*
  (?!~0)/.test(e+="~0");return e=(e=e.replace(/(
  )?(^[ \t]*)([*+-]|\d+[.])[ \t]+((\[(x| )?])?[ \t]*[^\r]+?(
  {1,2}))(?=
  *(~0|\2([*+-]|\d+[.])[ \t]+))/gm,function(e,s,i,o,u,c,l){l=l&&""!==l.trim();var p=t.subParser("outdent")(u,r,n),h="";return c&&r.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',p=p.replace(/^[ \t]*\[(x| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return l&&(e+=" checked"),e+=">"})),s||p.search(/
  {2,}/)>-1?(p=t.subParser("githubCodeBlocks")(p,r,n),p=t.subParser("blockGamut")(p,r,n)):(p=(p=t.subParser("lists")(p,r,n)).replace(/
  $/,""),p=a?t.subParser("paragraphs")(p,r,n):t.subParser("spanGamut")(p,r,n)),p="
  <li"+h+">"+p+"</li>
  "})).replace(/~0/g,""),n.gListLevel--,s&&(e=e.replace(/\s+$/,"")),e}function a(e,r,t){var n="ul"===r?/^ {0,2}\d+\.[ \t]/gm:/^ {0,2}[*+-][ \t]/gm,a=[],i="";if(-1!==e.search(n)){!function e(a){var o=a.search(n);-1!==o?(i+="
  
  <"+r+">"+s(a.slice(0,o),!!t)+"</"+r+">
  
  ",n="ul"===(r="ul"===r?"ol":"ul")?/^ {0,2}\d+\.[ \t]/gm:/^ {0,2}[*+-][ \t]/gm,e(a.slice(o))):i+="
  
  <"+r+">"+s(a,!!t)+"</"+r+">
  
  "}(e);for(var o=0;o<a.length;++o);}else i="
  
  <"+r+">"+s(e,!!t)+"</"+r+">
  
  ";return i}e+="~0";var i=/^(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|
  {2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm;return n.gListLevel?e=e.replace(i,function(e,r,t){return a(r,t.search(/[*+-]/g)>-1?"ul":"ol",!0)}):(i=/(
  
  |^
  ?)(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|
  {2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,e=e.replace(i,function(e,r,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol")})),e=e.replace(/~0/,"")}),t.subParser("outdent",function(e){"use strict";return e=(e=e.replace(/^(\t|[ ]{1,4})/gm,"~0")).replace(/~0/g,"")}),t.subParser("paragraphs",function(e,r,n){"use strict";for(var s=(e=(e=e.replace(/^
  +/g,"")).replace(/
  +$/g,"")).split(/
  {2,}/g),a=[],i=s.length,o=0;o<i;o++){var u=s[o];u.search(/~K(\d+)K/g)>=0?a.push(u):u.search(/\S/)>=0&&(u=(u=t.subParser("spanGamut")(u,r,n)).replace(/^([ \t]*)/g,"<p>"),u+="</p>",a.push(u))}for(i=a.length,o=0;o<i;o++)for(;a[o].search(/~K(\d+)K/)>=0;){var c=n.gHtmlBlocks[RegExp.$1];c=c.replace(/\$/g,"$$$$"),a[o]=a[o].replace(/~K\d+K/,c)}return a.join("
  
  ")}),t.subParser("runExtension",function(e,r,t,n){"use strict";if(e.filter)r=e.filter(r,n.converter,t);else if(e.regex){var s=e.regex;!s instanceof RegExp&&(s=new RegExp(s,"g")),r=r.replace(s,e.replace)}return r}),t.subParser("spanGamut",function(e,r,n){"use strict";return e=t.subParser("codeSpans")(e,r,n),e=t.subParser("escapeSpecialCharsWithinTagAttributes")(e,r,n),e=t.subParser("encodeBackslashEscapes")(e,r,n),e=t.subParser("images")(e,r,n),e=t.subParser("anchors")(e,r,n),e=t.subParser("autoLinks")(e,r,n),e=t.subParser("encodeAmpsAndAngles")(e,r,n),e=t.subParser("italicsAndBold")(e,r,n),e=(e=t.subParser("strikethrough")(e,r,n)).replace(/  +
  /g," <br />
  ")}),t.subParser("strikethrough",function(e,r){"use strict";return r.strikethrough&&(e=e.replace(/(?:~T){2}([^~]+)(?:~T){2}/g,"<del>$1</del>")),e}),t.subParser("stripBlankLines",function(e){"use strict";return e.replace(/^[ \t]+$/gm,"")}),t.subParser("stripLinkDefinitions",function(e,r,n){"use strict";return e=(e=(e+="~0").replace(/^ {0,3}\[(.+)]:[ \t]*
  ?[ \t]*<?(\S+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*
  ?[ \t]*(?:(
  *)["|'(](.+?)["|')][ \t]*)?(?:
  +|(?=~0))/gm,function(e,s,a,i,o,u,c){return s=s.toLowerCase(),n.gUrls[s]=t.subParser("encodeAmpsAndAngles")(a),u?u+c:(c&&(n.gTitles[s]=c.replace(/"|'/g,"&quot;")),r.parseImgDimensions&&i&&o&&(n.gDimensions[s]={width:i,height:o}),"")})).replace(/~0/,"")}),t.subParser("tables",function(e,r,n){"use strict";var s;return r.tables?((s={}).th=function(e,s){var a="";return""===(e=e.trim())?"":(r.tableHeaderId&&(a=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=t.subParser("spanGamut")(e,r,n),"<th"+a+(s=s&&""!==s.trim()?' style="'+s+'"':"")+">"+e+"</th>")},s.td=function(e,s){var a=t.subParser("spanGamut")(e.trim(),r,n);return"<td"+(s=s&&""!==s.trim()?' style="'+s+'"':"")+">"+a+"</td>"},s.ths=function(){for(var e="",r=0,t=[].slice.apply(arguments[0]),n=[].slice.apply(arguments[1]);r<t.length;r+=1)e+=s.th(t[r],n[r])+"
  ";return e},s.tds=function(){for(var e="",r=0,t=[].slice.apply(arguments[0]),n=[].slice.apply(arguments[1]);r<t.length;r+=1)e+=s.td(t[r],n[r])+"
  ";return e},s.thead=function(){var e,r=[].slice.apply(arguments[0]),t=[].slice.apply(arguments[1]);return e="<thead>
  ",e+="<tr>
  ",e+=s.ths.apply(this,[r,t]),e+="</tr>
  ",e+="</thead>
  "},s.tr=function(){var e,r=[].slice.apply(arguments[0]),t=[].slice.apply(arguments[1]);return e="<tr>
  ",e+=s.tds.apply(this,[r,t]),e+="</tr>
  "},{parse:function(e){for(var r,t,n=0,a=e.split("
  "),i=[];n<a.length;n+=1){if((r=a[n]).trim().match(/^[|].*[|]$/)){r=r.trim();var o=[],u=a[n+1].trim(),c=[],l=0;if(u.match(/^[|][-=|: ]+[|]$/))for(c=u.substring(1,u.length-1).split("|"),l=0;l<c.length;++l)c[l]=c[l].trim(),c[l].match(/^[:][-=| ]+[:]$/)?c[l]="text-align:center;":c[l].match(/^[-=| ]+[:]$/)?c[l]="text-align:right;":c[l].match(/^[:][-=| ]+$/)?c[l]="text-align:left;":c[l]="";if(o.push("<table>"),t=r.substring(1,r.length-1).split("|"),0===c.length)for(l=0;l<t.length;++l)c.push("text-align:left");if(o.push(s.thead.apply(this,[t,c])),(r=a[++n]).trim().match(/^[|][-=|: ]+[|]$/)){for(r=a[++n],o.push("<tbody>");r.trim().match(/^[|].*[|]$/);)r=r.trim(),o.push(s.tr.apply(this,[r.substring(1,r.length-1).split("|"),c])),r=a[++n];o.push("</tbody>"),o.push("</table>"),i.push(o.join("
  "));continue}r=a[--n]}i.push(r)}return i.join("
  ")}}).parse(e):e}),t.subParser("unescapeSpecialChars",function(e){"use strict";return e=e.replace(/~E(\d+)E/g,function(e,r){var t=parseInt(r);return String.fromCharCode(t)})});e.exports?e.exports=t:"function"==typeof define&&define.amd?define("showdown",function(){"use strict";return t}):this.showdown=t}).call(this)},bwDz:function(e,r,t){
  /*! showdown-htmlescape 25-08-2015 */
  !function(){"use strict";var r=[{type:"lang",filter:function(e,r,t){var n=[];function s(e){return e="~C"+(n.push(e)-1)+"C"}for(e=(e+="~0").replace(/(^[ \t]*>([ \t]*>)*)(?=.*?$)/gm,function(e){return e=e.replace(/>/g,"~Q")}),t.ghCodeBlocks&&(e=e.replace(/(^|
  )(```(.*)
  ([\s\S]*?)
  ```)/g,function(e,r,t){return r+s(t)})),e=(e=(e=(e=(e=e.replace(/((?:(?:(?: |\t|~Q)*?~Q)?
  ){2}|^(?:(?: |\t|~Q)*?~Q)?)((?:(?:(?: |\t|~Q)*?~Q)?(?:[ ]{4}|\t).*
  +)+)((?:(?: |\t|~Q)*?~Q)?
  *[ ]{0,3}(?![^ \t
  ])|(?=(?:(?: |\t|~Q)*?~Q)?~0))/g,function(e,r,t,n){return r+s(t)+n})).replace(/(^|[^\\])((`+)([^\r]*?[^`])\3)(?!`)/gm,function(e){return s(e)})).replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;");e.search(/~C(\d+)C/)>=0;){var a=n[RegExp.$1];a=a.replace(/\$/g,"$$$$"),e=e.replace(/~C\d+C/,a)}return e=(e=e.replace(/~Q/g,">")).replace(/~0$/,"")}}];"undefined"!=typeof window&&window.showdown&&window.showdown.extension&&window.showdown.extension("htmlescape",r),e.exports=r}()}}]);