diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..e7e9d11
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,2 @@
+# Default ignored files
+/workspace.xml
diff --git a/.idea/appuntiweb.iml b/.idea/appuntiweb.iml
new file mode 100644
index 0000000..50046c8
--- /dev/null
+++ b/.idea/appuntiweb.iml
@@ -0,0 +1,10 @@
+
+
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:
[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,"")}),l.subParser("hashBlock")("","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),l.subParser("headers",function(e,t,n){"use strict";function r(e){var r,a;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return r=e,a=l.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=a+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=a+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}e=n.converter._dispatch("headers.before",e,t,n);var a=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;return e=e.replace(o,function(e,o){var i=l.subParser("spanGamut")(o,t,n),c=t.noHeaderId?"":' id="'+r(o)+'"',s=a,u="\n"+e+"\n",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),l.subParser("codeBlocks",function(e,t,n){"use strict";return e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,r,a){var o=r,i=a,c="\n";return o=l.subParser("outdent")(o,t,n),o=l.subParser("encodeCode")(o,t,n),o=l.subParser("detab")(o,t,n),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),o="",l.subParser("hashBlock")(o,t,n)+i}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),l.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,a,o){var i=o;return i=i.replace(/^([ \t]*)/g,""),i=i.replace(/[ \t]*$/g,""),i=l.subParser("encodeCode")(i,t,n),i=r+""+o+c+"
"+i+"
",i=l.subParser("hashHTMLSpans")(i,t,n)}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),l.subParser("completeHTMLDocument",function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",a="\n",o="",i='\n',l="",c="";void 0!==n.metadata.parsed.doctype&&(a="\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(i=''));for(var s in n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(s))switch(s.toLowerCase()){case"doctype":break;case"title":o=""+n.metadata.parsed.title+" \n";break;case"charset":i="html"===r||"html5"===r?'\n':'\n';break;case"language":case"lang":l=' lang="'+n.metadata.parsed[s]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+o+i+c+"\n\n"+e.trim()+"\n\n",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)}),l.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,a=0;a/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),l.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,l.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),l.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),l.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var r=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,a=/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return e=e.replace(r,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,l.helper.escapeCharactersCallback)}),e=e.replace(a,function(e){return e.replace(/([\\`*_~=|])/g,l.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),l.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,r,a,o){var i=t.omitExtraWLInCodeBlocks?"":"\n";return o=l.subParser("encodeCode")(o,t,n),o=l.subParser("detab")(o,t,n),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),o=" ",o=l.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),l.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),l.subParser("hashCodeTags",function(e,t,n){"use strict";return e=n.converter._dispatch("hashCodeTags.before",e,t,n),e=l.helper.replaceRecursiveRegExp(e,function(e,r,a,o){var i=a+l.subParser("encodeCode")(r,t,n)+o;return"¨C"+(n.gHtmlSpans.push(i)-1)+"C"},""+o+i+"
]*>","
","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),l.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),l.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,r,a){var o=e;return-1!==r.search(/\bmarkdown\b/)&&(o=r+n.converter.makeHtml(t)+a),"\n\n¨K"+(n.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var o=0;o]*>)","im"),s="<"+r[o]+"\\b[^>]*>",u=""+r[o]+">";-1!==(i=l.helper.regexIndexOf(e,c));){var h=l.helper.splitAtIndex(e,i),p=l.helper.replaceRecursiveRegExp(h[1],a,s,u,"im");if(p===h[1])break;e=h[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=l.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),l.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return r(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),l.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r ]*>\\s* ]*>","^ {0,3}
\\s*
"),c+="
",a.push(c))}for(o=a.length,i=0;i]*>/.test(u)&&(h=!0)}a[i]=u}return e=a.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),l.subParser("runExtension",function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t}),l.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=l.subParser("codeSpans")(e,t,n),e=l.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=l.subParser("encodeBackslashEscapes")(e,t,n),e=l.subParser("images")(e,t,n),e=l.subParser("anchors")(e,t,n),e=l.subParser("autoLinks")(e,t,n),e=l.subParser("simplifiedAutoLinks")(e,t,n),e=l.subParser("emoji")(e,t,n),e=l.subParser("underline")(e,t,n),e=l.subParser("italicsAndBold")(e,t,n),e=l.subParser("strikethrough")(e,t,n),e=l.subParser("ellipsis")(e,t,n),e=l.subParser("hashHTMLSpans")(e,t,n),e=l.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),l.subParser("strikethrough",function(e,t,n){"use strict";function r(e){return t.simplifiedAutoLink&&(e=l.subParser("simplifiedAutoLinks")(e,t,n)),""+e+""}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return r(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),l.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,a=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;e+="¨0";var o=function(e,r,a,o,i,c,s){return r=r.toLowerCase(),n.gUrls[r]=a.match(/^data:.+?\/.+?;base64,/)?a.replace(/\s/g,""):l.subParser("encodeAmpsAndAngles")(a,t,n),c?c+s:(s&&(n.gTitles[r]=s.replace(/"|'/g,""")),t.parseImgDimensions&&o&&i&&(n.gDimensions[r]={width:o,height:i}),"")};return e=e.replace(a,o),e=e.replace(r,o),e=e.replace(/¨0/,"")}),l.subParser("tables",function(e,t,n){"use strict";function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function a(e,r){var a="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(a=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=l.subParser("spanGamut")(e,t,n),""+e+" \n"}function o(e,r){return""+l.subParser("spanGamut")(e,t,n)+" \n"}function i(e,t){for(var n="\n\n\n",r=e.length,a=0;a\n \n\n",a=0;a\n";for(var o=0;o\n"}return n+=" \n
\n"}function c(e){var c,s=e.split("\n");for(c=0;c"+t+""}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?""+t+"":e})),e=e.replace(/(_)/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e}),l.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)}),l.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,a=r.length,o=0;o "+n.split("\n").join("\n> ")}),l.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";return"```"+e.getAttribute("language")+"\n"+t.preList[e.getAttribute("precodenum")]+"\n```"}),l.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),l.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,a=r.length,o=0;o",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),l.subParser("makeMarkdown.links",function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,a=r.length;n="[";for(var o=0;o",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n}),l.subParser("makeMarkdown.list",function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,i=e.getAttribute("start")||1,c=0;c"+t.preList[e.getAttribute("prenum")]+""}),l.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,a=r.length,o=0;otr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;nb&&(b=f)}for(n=0;n/g,"\\$1>"),t=t.replace(/^#/gm,"\\#"),t=t.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),t=t.replace(/^( {0,3}\d+)\./gm,"$1\\."),t=t.replace(/^( {0,3})([+-])/gm,"$1\\$2"),t=t.replace(/]([\s]*)\(/g,"\\]$1\\("),t=t.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});void 0!==(r=function(){"use strict";return l}.call(t,n,t,e))&&(e.exports=r)}).call(this)},"99bU":function(e,t,n){"use strict";var r=n("KM04");"serviceWorker"in navigator&&"https:"===location.protocol&&navigator.serviceWorker.register(n.p+"sw.js");var a=function(e){return e&&e.default?e.default:e};if("function"==typeof a(n("JkW7"))){var o=document.body.firstElementChild,i=function(){var e=a(n("JkW7"));o=(0,r.render)((0,r.h)(e),document.body,o)};i()}},JkW7:function(e,t,n){"use strict";function r(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t,n){var r,a=/(?:\?([^#]*))?(#.*)?$/,o=e.match(a),i={};if(o&&o[1])for(var c=o[1].split("&"),s=0;st.rank?-1:e.index-t.index}function i(e,t){return e.index=t,e.rank=u(e),e.attributes}function l(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function c(e){return":"==e.charAt(0)?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function s(e){return l(e).map(c).join("")}function u(e){return e.attributes.default?0:s(e.attributes.path)}function h(e){return null!=e.__preactattr_||"undefined"!=typeof Symbol&&null!=e[Symbol.for("preactattr")]}function p(e,t){void 0===t&&(t="push"),se&&se[t]?se[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}function d(){var e;return e=se&&se.location?se.location:se&&se.getCurrentLocation?se.getCurrentLocation():"undefined"!=typeof location?location:pe,""+(e.pathname||"")+(e.search||"")}function b(e,t){return void 0===t&&(t=!1),"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),f(e)&&p(e,t?"replace":"push"),m(e)}function f(e){for(var t=ue.length;t--;)if(ue[t].canRoute(e))return!0;return!1}function m(e){for(var t=!1,n=0;n0},t.prototype.routeTo=function(e){return this._didRoute=!1,this.setState({url:e}),this.updating?this.canRoute(e):(this.forceUpdate(),this._didRoute)},t.prototype.componentWillMount=function(){ue.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var e=this;se&&(this.unlisten=se.listen(function(t){e.routeTo(""+(t.pathname||"")+(t.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),ue.splice(ue.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(e,t,n){return e.filter(i).sort(o).map(function(e){var o=a(t,e.attributes.path,e.attributes);if(o){if(!1!==n){var i={url:t,matches:o};return r(i,o),delete i.ref,delete i.key,Object(le.cloneElement)(e,i)}return e}}).filter(Boolean)},t.prototype.render=function(e,t){var n=e.children,r=e.onChange,a=t.url,o=this.getMatchingChildren(n,a,!0),i=o[0]||null;this._didRoute=!!i;var l=this.previousUrl;return a!==l&&(this.previousUrl=a,"function"==typeof r&&r({router:this,url:a,previous:l,active:o,current:i})),i},t}(le.Component),fe=function(e){return Object(le.h)("a",r({onClick:_},e))},me=function(e){return Object(le.h)(e.component,e)};be.subscribers=he,be.getCurrentUrl=d,be.route=b,be.Router=be,be.Route=me,be.Link=fe;var ge=be,_e=(n("36Ou"),n("P9k+")),ve=n.n(_e),je=function(e){function t(){return O(this,e.apply(this,arguments))}return y(t,e),t.prototype.render=function(){return Object(le.h)("div",{class:ve.a.panel},this.props.children)},t}(le.Component),we=n("1EpE"),Oe=n.n(we),ye=function(e){function t(){return k(this,t),z(this,e.apply(this,arguments))}return P(t,e),t.prototype.render=function(){var e=null;return e=Array.isArray(this.props.children)?this.props.children.map(function(e){return Object(le.h)("div",{class:Oe.a.splitchild},e)}):Object(le.h)("div",{class:Oe.a.splitchild},this.props.children),Object(le.h)("div",{class:Oe.a.split},e)},t}(le.Component),ke=n("tO1d"),ze=n.n(ke),Pe=function(e){function t(){return C(this,t),x(this,e.apply(this,arguments))}return S(t,e),t.prototype.render=function(){return Object(le.h)("span",{class:ze.a.todo},this.props.children)},t}(le.Component),Ce=Object(le.h)("div",null,Object(le.h)("h1",null,"Appuntiweb ",Object(le.h)("small",null,"di ",Object(le.h)("a",{href:"https://steffo.eu/"},"Steffo"))),Object(le.h)("h2",null,"Argomenti"),Object(le.h)(ye,null,Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"/fisica"},"Fisica")),Object(le.h)("p",null,"Appunti delle ",Object(le.h)("a",{href:"http://personale.unimore.it/rubrica/contenutiad/brunetti/2019/58025/N0/N0/9999"},"lezioni di Fisica")," del ",Object(le.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(le.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenute dalla ",Object(le.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/brunetti"},"Prof.ssa Rossella Brunetti")," nel primo semestre dell'Anno Accademico 2019/2020.")),Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"https://github.com/Steffo99/appunti-universitari/tree/master/2019_SistemiOperativi/Arzigogoli"},"Sistemi Operativi")),Object(le.h)("p",null,"Soluzioni agli ",Object(le.h)("a",{href:"https://weblab.ing.unimore.it/people/andreolini/didattica/sistemi-operativi/index.html#arzigogoli"},"Arzigogoli")," proposti dal ",Object(le.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/andreolini"},"Prof. Mauro Andreolini")," durante le ",Object(le.h)("a",{href:"https://personale.unimore.it/rubrica/contenutiad/andreolini/2019/58027/N0/N0/9999"},"lezioni di Sistemi Operativi")," del ",Object(le.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(le.h)("a",{href:"https://www.unimore.it/"},"Unimore")," tenutesi nel primo semestre dell'Anno Accademico 2019/2020.")),Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"https://github.com/Steffo99/appunti-universitari/tree/master/2018_AlgoritmiEStruttureDati"},"Algoritmi e Strutture Dati")),Object(le.h)("p",null,"Appunti delle ",Object(le.h)("a",{href:"https://personale.unimore.it/rubrica/contenutiad/mmontangero/2018/58133/N0/N0/9999"},"lezioni di Algoritmi e Strutture Dati")," del ",Object(le.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(le.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenute dalla ",Object(le.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/mmontangero"},"Prof.ssa Manuela Montangero")," nel secondo semestre dell'Anno Accademico 2018/2019.")),Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"/vldigeometria"},"Videolezioni di Geometria")),Object(le.h)("p",null,"Ottime videolezioni di Geometria con licenza ",Object(le.h)("a",{href:"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"CC BY-NC-SA 4.0")," che ho trovato sul ",Object(le.h)("a",{href:"https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0"},"portale Dolly 2018")," dell'",Object(le.h)("a",{href:"https://www.unimore.it/"},"Unimore"),".")),Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"/mingwinstall"},"Come installare MinGW")),Object(le.h)("p",null,"Un breve tutorial con immagini su come installare e configurare ",Object(le.h)("a",{href:"https://it.wikipedia.org/wiki/MinGW"},"MinGW")," per compilare programmi C e C++ su Windows."))),Object(le.h)("h2",null,"Altre collegamenti utili"),Object(le.h)(ye,null,Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"https://t.me/unimoreinfo"},"@unimoreinfo")),Object(le.h)("p",null,"Il gruppo ",Object(le.h)("a",{href:"https://telegram.org/"},"Telegram")," del corso di Informatica dell'Unimore!")),Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"https://calendar.google.com/calendar?cid=MmYza2o2M3VuZWQ1cmZqaGpmOGY0MWFrNmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ"},"Calendario Lezioni")),Object(le.h)("p",null,"Calendario Google ",Object(le.h)("small",null,"quasi")," sempre aggiornato delle lezioni e degli esami del secondo anno dell'",Object(le.h)("a",{href:"https://www.unimore.it/"},"Unimore")," durante l'Anno Accademico 2019/2020.")),Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"http://erre2.fermitech.info/dashboard"},"Erre2")),Object(le.h)("p",null,"Portale contenente appunti e riassunti mantenuto da ",Object(le.h)("a",{href:"https://github.com/LBindustries"},"Lorenzo Balugani"),".")),Object(le.h)(je,null,Object(le.h)("h2",null,Object(le.h)("a",{href:"https://github.com/vezzalinistefano/Appunti-Algoritmi"},"vezzalinistefano/Appunti-Algoritmi")),Object(le.h)("p",null,"Appunti di Algoritmi e Strutture Dati mantenuti da ",Object(le.h)("a",{href:"https://github.com/vezzalinistefano/"},"Vezzalini Stefano"),".")))),xe=function(e){function t(){return E(this,t),A(this,e.apply(this,arguments))}return M(t,e),t.prototype.render=function(){return Ce},t}(le.Component),Se=(n("0lnO"),n("+uq9")),Ee=n.n(Se),Ae=function(e){function t(){return L(this,t),T(this,e.apply(this,arguments))}return I(t,e),t.prototype.render=function(){var e="{\\color{White} "+this.props.children+" }";return Object(le.h)("img",{src:"https://latex.codecogs.com/png.latex?"+e,alt:this.props.children,title:this.props.children,class:Ee.a.latex})},t}(le.Component),Me=n("ddTt"),Le=n.n(Me),Te=function(e){function t(){return D(this,t),B(this,e.apply(this,arguments))}return q(t,e),t.prototype.render=function(){return Object(le.h)("span",{class:Le.a.plus},this.props.children)},t}(le.Component),Ie=n("MeW5"),De=n.n(Ie),Be=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.render=function(){return Object(le.h)("span",{class:De.a.minus},this.props.children)},t}(le.Component),qe=H(["\vec{v} = \vec{v}_x + \vec{v}_y"],["\\vec{v} = \\vec{v}_x + \\vec{v}_y"]),Fe=H(["left | \vec{v}_x \right | = left | \vec{v} \right | sin alpha"],["\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha"]),Ne=H(["left | \vec{v}_y \right | = left | \vec{v} \right | cos alpha"],["\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha"]),Re=H(["\vec{v} + \vec{w} = (\vec{v}_x + \vec{w}_x) + (\vec{v}_y + \vec{w}_y)"],["\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)"]),He=H(["\vec{v} - \vec{w} = (\vec{v}_x - \vec{w}_x) + (\vec{v}_y - \vec{w}_y)"],["\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)"]),Ue=H(["\vec{v} cdot \vec{w} = left | \vec{v} \right | left | \vec{w} \right | cos alpha"],["\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha"]),Ve=H(["\vec{a}"],["\\vec{a}"]),We=H(["\vec{b}"],["\\vec{b}"]),$e=H(["\vec{c} = \vec{a} \times \vec{b}"],["\\vec{c} = \\vec{a} \\times \\vec{b}"]),Ge=H(["left | \vec{c} \right | = left | \vec{a} \right | cdot left | \vec{b} \right | cdot sin(alpha)"],["\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)"]),Ke=H(["Sigma \vec{F} = 0 Longleftrightarrow Delta v = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0"]),Ze=H(["Sigma \vec{F} = m \vec{a}"],["\\Sigma \\vec{F} = m \\vec{a}"]),Ye=H(["\vec{F}_{21} = -\vec{F}_{12}"],["\\vec{F}_{21} = -\\vec{F}_{12}"]),Qe=H(["left | \vec{F} \right | = G \frac{m_1 m_2}{s^2}"],["\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}"]),Xe=H(["G = 6.67 cdot 10^{-11} \frac{N m^2}{{kg}^2}"],["G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}"]),Je=H(["left | \vec{F} \right | = g m"],["\\left | \\vec{F} \\right | = g m"]),et=H(["g = 9.81 \frac{m}{s^2}"],["g = 9.81 \\frac{m}{s^2}"]),tt=H(["g_{luna} = 1.62 \frac{m}{s^2}"],["g_{luna} = 1.62 \\frac{m}{s^2}"]),nt=H(["g_{marte} = 3.71 \frac{m}{s^2}"],["g_{marte} = 3.71 \\frac{m}{s^2}"]),rt=H(["left | \vec{F} \right | leq mu_{s} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |"]),at=H(["left | \vec{F} \right | leq mu_{d} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |"]),ot=H(["F = -k x"],["F = -k x"]),it=H(["Delta \vec{s} = \vec{s}(fine) - \vec{s}(inizio)"],["\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)"]),lt=H(["\vec{v} = \frac{Delta \vec{s}}{Delta t}"],["\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}"]),ct=H(["\vec{v} = lim_{Delta t \to 0} \frac{Delta \vec{s}}{Delta t} = \frac{d \vec{s}}{dt}"],["\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}"]),st=H(["\vec{a} = \frac{Delta \vec{v}}{Delta t}"],["\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}"]),ut=H(["\vec{a} = lim_{Delta v \to 0} \frac{Delta \vec{v}}{Delta t} = \frac{d \vec{v}}{d t} = \frac{d^2 \vec{s}}{d t^2}"],["\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}"]),ht=H(["\vec{p} = m \vec{v}"],["\\vec{p} = m \\vec{v}"]),pt=H(["Sigma \vec{F} = 0 Longleftrightarrow Delta \vec{p} = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0"]),dt=H(["s(t) = v cdot Delta t + s(0)"],["s(t) = v \\cdot \\Delta t + s(0)"]),bt=H(["v(t) = k"],["v(t) = k"]),ft=H(["a(t) = 0"],["a(t) = 0"]),mt=H(["s(t) = \frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)"],["s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)"]),gt=H(["v(t) = a Delta t + v(0)"],["v(t) = a \\Delta t + v(0)"]),_t=H(["a(t) = k"],["a(t) = k"]),vt=H(["omega = \frac{2 pi}{T}"],["\\omega = \\frac{2 \\pi}{T}"]),jt=H(["s(t) = A sin (omega cdot t + phi)"],["s(t) = A \\sin (\\omega \\cdot t + \\phi)"]),wt=H(["\frac{pi}{2}"],["\\frac{\\pi}{2}"]),Ot=H(["v(t) = A sin (omega cdot t + phi + \frac{pi}{2})"],["v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})"]),yt=H(["pi"],["\\pi"]),kt=H(["a(t) = A sin (omega cdot t + phi + pi)"],["a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)"]),zt=H(["phi"],["\\phi"]),Pt=H(["v = \frac{Delta s}{t} = \frac{2 pi cdot r}{T} = omega r"],["v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r"]),Ct=H(["a = \frac{v^2}{r} = r cdot omega^2 = v cdot omega"],["a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega"]),xt=H(["F = m cdot a"],["F = m \\cdot a"]),St=H(["W = \vec{F} cdot \vec{s} = F cdot Delta s cdot cos(alpha )"],["W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )"]),Et=H(["E_c = \frac{1}{2} m v^2"],["E_c = \\frac{1}{2} m v^2"]),At=H(["Delta E_c = W"],["\\Delta E_c = W"]),Mt=H(["E_{p_g} = m cdot g cdot h"],["E_{p_g} = m \\cdot g \\cdot h"]),Lt=H(["E_{p_e} = \frac{1}{2} k x^2"],["E_{p_e} = \\frac{1}{2} k x^2"]),Tt=H(["E = E_k + E_p"],["E = E_k + E_p"]),It=H(["P = \frac{Delta E}{Delta t}"],["P = \\frac{\\Delta E}{\\Delta t}"]),Dt=H(["C_{elettrone} = 1.602 cdot 10^{-19}"],["C_{elettrone} = 1.602 \\cdot 10^{-19}"]),Bt=H(["left | \vec{F}_{elettrica} \right | = \frac{-k cdot q_1 cdot q_2}{s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}"]),qt=H(["k"],["k"]),Ft=H(["k = 8.99 cdot 10^9 \frac{N cdot m^2}{C^2}"],["k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}"]),Nt=H(["epsilon_0"],["\\epsilon_0"]),Rt=H(["k = \frac{1}{4 pi cdot epsilon_0}"],["k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}"]),Ht=H(["left | \vec{F}_{elettrica} \right | = \frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}"]),Ut=H(["\vec{E} = \frac{\vec{F}_{elettrica}}{q} = \frac{-k cdot q}{s^2}"],["\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}"]),Vt=H(["Phi_E = \vec{E} cdot \vec{S} = E cdot S cdot cos(phi)"],["\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)"]),Wt=H(["\vec{S}"],["\\vec{S}"]),$t=H(["Phi_E = \frac{q_{interna}}{epsilon_0}"],["\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}"]),Gt=H(["U_e"],["U_e"]),Kt=H(["V = \frac{E_{elettrica}}{q}"],["V = \\frac{E_{elettrica}}{q}"]),Zt=H(["V"],["V"]),Yt=H(["I = \frac{Delta q}{Delta t}"],["I = \\frac{\\Delta q}{\\Delta t}"]),Qt=H(["A"],["A"]),Xt=H(["P = \frac{Delta U}{Delta t} = I cdot Delta V = I^2 cdot R = \frac{(Delta V)^2}{R}"],["P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}"]),Jt=H(["V = R cdot I"],["V = R \\cdot I"]),en=H(["R"],["R"]),tn=H(["Omega"],["\\Omega"]),nn=H(["R = \rho \frac{L_{unghezza}}{A_{rea}}"],["R = \\rho \\frac{L_{unghezza}}{A_{rea}}"]),rn=H(["\rho"],["\\rho"]),an=H(["\rho = \rho_0 (1 + alpha(T - T_0))"],["\\rho = \\rho_0 (1 + \\alpha(T - T_0))"]),on=H(["C = \frac{q_{massima}}{Delta V}"],["C = \\frac{q_{massima}}{\\Delta V}"]),ln=H(["C_{nuova} = kappa cdot \frac{epsilon_0 cdot A}{s}"],["C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}"]),cn=H(["kappa"],["\\kappa"]),sn=H(["d"],["d"]),un=H(["Fa"],["Fa"]),hn=H(["R_{serie} = sum_{i=1}^{n} R_i"],["R_{serie} = \\sum_{i=1}^{n} R_i"]),pn=H(["R_{parallelo} = \frac{1}{sum_{i=1}^{n} \frac{1}{R_i}}"],["R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}"]),dn=H(["C_{serie} = \frac{1}{sum_{i=1}^{n} \frac{1}{C_i}}"],["C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}"]),bn=H(["C_{parallelo} = sum_{i=1}^{n} C_n"],["C_{parallelo} = \\sum_{i=1}^{n} C_n"]),fn=H(["mu_0 = 4 pi cdot 10^{-7} \frac{H}{m}"],["\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}"]),mn=H(["\frac{N}{A^2}"],["\\frac{N}{A^2}"]),gn=H(["B"],["B"]),_n=H(["Phi_B"],["\\Phi_B"]),vn=H(["Wb = T cdot m^2"],["Wb = T \\cdot m^2"]),jn=H(["\vec{F}_{magnetica} = q cdot (\vec{v} \times \vec{B})"],["\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})"]),wn=H(["\vec{B}"],["\\vec{B}"]),On=H(["\vec{v}"],["\\vec{v}"]),yn=H(["\vec{F}_{magnetica} = I cdot (\vec{L} \times \vec{B})"],["\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})"]),kn=H(["\vec{L}"],["\\vec{L}"]),zn=H(["left | \vec{B} \right | = mu_0 cdot I cdot \frac{A_{vvolgimenti}}{L_{unghezzafilo}}"],["\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}"]),Pn=H(["left | \vec{B} \right | = \frac{mu cdot I}{2 pi r}"],["\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}"]),Cn=H(["Delta V_{indotta} = v cdot B cdot L"],["\\Delta V_{indotta} = v \\cdot B \\cdot L"]),xn=H(["Phi_B = \vec{B} cdot \vec{A} = B cdot A cdot cos(alpha)"],["\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)"]),Sn=String.raw,En=Object(le.h)("h1",null,"Fisica"),An=Object(le.h)("h2",null,"Vettori"),Mn=Object(le.h)("h3",null,"Componenti cartesiane"),Ln=Object(le.h)("p",null,"Usa le regole base della trigonometria:"),Tn=Object(le.h)("h3",null,"Somma"),In=Object(le.h)("p",null,"Scomponi in componenti, poi sommali:"),Dn=Object(le.h)("p",null,"Produce il vettore risultante dall'applicazione della regola del parallelogramma."),Bn=Object(le.h)("h3",null,"Differenza"),qn=Object(le.h)("p",null,"Alla fine è sempre una somma:"),Fn=Object(le.h)("p",null,"Produce il vettore che parte da ",Object(le.h)(Ae,null,"w")," e arriva a ",Object(le.h)(Ae,null,"v"),"."),Nn=Object(le.h)("h3",null,"Prodotto scalare"),Rn=Object(le.h)("p",null,"Si chiama scalare perchè il risultato è uno scalare, non un vettore."),Hn=Object(le.h)("h3",null,"Prodotto vettoriale"),Un=Object(le.h)("p",null,"Si chiama vettoriale perchè il risultato è un altro vettore."),Vn=Object(le.h)("li",null,Object(le.h)("a",{href:"https://it.wikipedia.org/wiki/Regola_della_mano_destra"},"Regola della mano destra")),Wn=Object(le.h)("p",null,"Non è commutativo!"),$n=Object(le.h)("h2",null,"Leggi di Newton"),Gn=Object(le.h)("h3",null,"1ᵃ: Inerzia"),Kn=Object(le.h)("p",null,"Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia."),Zn=Object(le.h)("h3",null,"2ᵃ: Proporzionalità"),Yn=Object(le.h)("p",null,"La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la ",Object(le.h)("i",null,"massa"),"."),Qn=Object(le.h)("h3",null,"3ᵃ: Azione e reazione"),Xn=Object(le.h)("p",null,"Due corpi esercitano forze uguali e opposte uno sull'altro."),Jn=Object(le.h)("h2",null,"Forza di gravità"),er=Object(le.h)("h3",null,"Tra due corpi"),tr=Object(le.h)("p",null,"Due corpi puntiformi si attirano uno verso l'altro con forza:"),nr=Object(le.h)("p",null,Object(le.h)(Ae,null,"G")," è la ",Object(le.h)("i",null,"costante di gravitazione universale")," e vale:"),rr=Object(le.h)("h3",null,"Verso la Terra"),ar=Object(le.h)("p",null,"Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza ",Object(le.h)("i",null,"peso")," uguale a:"),or=Object(le.h)("p",null,Object(le.h)(Ae,null,"g")," è la ",Object(le.h)("i",null,"costante di gravità")," della Terra, e vale:"),ir=Object(le.h)("h3",null,"Su pianeti diversi"),lr=Object(le.h)("p",null,"Per pianeti diversi dalla Terra vale la stessa regola:"),cr=Object(le.h)("p",null,"L'unica differenza è che cambia la ",Object(le.h)("i",null,"costante di gravità"),":"),sr=Object(le.h)("h2",null,"Forze di contatto"),ur=Object(le.h)(je,null,Object(le.h)("h3",null,"Normale"),Object(le.h)("p",null,"Si oppone alle forze applicate alla superficie di contatto."),Object(le.h)("p",null,"Un libro appoggiato su un tavolo ha la ",Object(le.h)("b",null,"forza di gravità")," che lo attira verso il terreno e la ",Object(le.h)("b",null,"forza normale")," che lo trattiene dal cadere.")),hr=Object(le.h)("h3",null,"Attrito statico"),pr=Object(le.h)("p",null,"Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:"),dr=Object(le.h)("h3",null,"Attrito dinamico"),br=Object(le.h)("p",null,"Rallenta i corpi che si stanno muovendo finchè essi non si fermano:"),fr=Object(le.h)(je,null,Object(le.h)("h3",null,"Tensione"),Object(le.h)("p",null,"E' forza trasmessa tra due estremi di una fune."),Object(le.h)("p",null,"Può essere redirezionata per mezzo di carrucole.")),mr=Object(le.h)("h3",null,"Elastica"),gr=Object(le.h)("p",null,"Una molla cerca sempre di tornare alla sua posizione indeformata con forza:"),_r=Object(le.h)("p",null,"(E' negativa perchè la forza è opposta a quella applicata per deformarla.)"),vr=Object(le.h)("h2",null,"Cinematica"),jr=Object(le.h)("h3",null,"Spostamento"),wr=Object(le.h)("p",null,"È un vettore che indica la posizione di un corpo rispetto a un'origine."),Or=Object(le.h)("h3",null,"Velocità"),yr=Object(le.h)("p",null,"È un vettore che misura la variazione di posizione nel tempo."),kr=Object(le.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(le.h)("i",null,"velocità istantanea"),":"),zr=Object(le.h)("h3",null,"Accelerazione"),Pr=Object(le.h)("p",null,"È un vettore che misura la variazione di velocità nel tempo."),Cr=Object(le.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(le.h)("i",null,"accelerazione istantanea"),":"),xr=Object(le.h)("h3",null,"Quantità di moto ",Object(le.h)("small",null,"(momento lineare)")),Sr=Object(le.h)("p",null,"La quantità di moto è una proprietà vettoriale dei corpi:"),Er=Object(le.h)("p",null,"Se la forza risultante è nulla, la quantità di moto non cambia."),Ar=Object(le.h)("h2",null,"Moto rettilineo uniforme"),Mr=Object(le.h)("h3",null,"Spostamento"),Lr=Object(le.h)("p",null,"La ",Object(le.h)("i",null,"legge oraria")," è:"),Tr=Object(le.h)("h3",null,"Velocità"),Ir=Object(le.h)("p",null,"È costante:"),Dr=Object(le.h)("h3",null,"Accelerazione"),Br=Object(le.h)("p",null,"La velocità non varia:"),qr=Object(le.h)(je,null,Object(le.h)("h3",null,"Forze"),Object(le.h)("p",null,"Si applica la prima legge di Newton:"),Object(le.h)("p",null,Object(le.h)(Ae,null,"f(t) = 0"))),Fr=Object(le.h)("h2",null,"Moto rettilineo uniformemente accelerato"),Nr=Object(le.h)("h3",null,"Spostamento"),Rr=Object(le.h)("p",null,"La ",Object(le.h)("i",null,"legge oraria")," è:"),Hr=Object(le.h)("h3",null,"Velocità"),Ur=Object(le.h)("p",null,"È una retta:"),Vr=Object(le.h)("h3",null,"Accelerazione"),Wr=Object(le.h)("p",null,"È costante:"),$r=Object(le.h)(je,null,Object(le.h)("h3",null,"Forze"),Object(le.h)("p",null,"Si applica la prima legge di Newton:"),Object(le.h)("p",null,Object(le.h)(Ae,null,"f(t) = m a"))),Gr=Object(le.h)("h2",null,"Moto armonico semplice"),Kr=Object(le.h)(je,null,Object(le.h)("h3",null,"Ampiezza"),Object(le.h)("p",null,"E' la distanza dal centro massima che raggiunge il corpo."),Object(le.h)("p",null,"(L'ampiezza di una sinusoide.)")),Zr=Object(le.h)("h3",null,"Velocità angolare"),Yr=Object(le.h)("p",null,"Indica quanto in fretta cambia la posizione del corpo."),Qr=Object(le.h)("p",null,"Dipende dal periodo:"),Xr=Object(le.h)("h3",null,"Spostamento"),Jr=Object(le.h)("p",null,"E' una sinusoide:"),ea=Object(le.h)("h3",null,"Velocità"),ta=Object(le.h)("h3",null,"Accelerazione"),na=Object(le.h)(je,null,Object(le.h)("h3",null,"Forze"),Object(le.h)("p",null,"Si applica la prima legge di Newton:"),Object(le.h)("p",null,Object(le.h)(Ae,null,"f(t) = m a"))),ra=Object(le.h)("h2",null,"Moti composti"),aa=Object(le.h)(je,null,Object(le.h)("h3",null,"Moto parabolico"),Object(le.h)("p",null,"Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.")),oa=Object(le.h)("h3",null,"Moto circolare uniforme"),ia=Object(le.h)("h2",null,"Moto circolare uniforme"),la=Object(le.h)("h3",null,"Velocità angolare"),ca=Object(le.h)("p",null,"Quanto cambia la fase nel tempo."),sa=Object(le.h)("h3",null,"Fase"),ua=Object(le.h)("p",null,"E' l'angolo percorso dal corpo rispetto alla posizione iniziale."),ha=Object(le.h)("h3",null,"Velocità"),pa=Object(le.h)("p",null,"Si applicano le formule per la circonferenza:"),da=Object(le.h)("h3",null,"Accelerazione"),ba=Object(le.h)("p",null,"Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:"),fa=Object(le.h)("h3",null,"Forza centripeta"),ma=Object(le.h)("p",null,"È verso il centro e si calcola con:"),ga=Object(le.h)("h2",null,"Lavoro ed energia"),_a=Object(le.h)("h3",null,"Lavoro"),va=Object(le.h)("p",null,"E' compiuto da una forza che sposta un corpo."),ja=Object(le.h)("p",null,"(Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)"),wa=Object(le.h)("h3",null,"Energia cinetica"),Oa=Object(le.h)("p",null,"Un corpo ha energia cinetica in ogni momento uguale a:"),ya=Object(le.h)("p",null,"Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:"),ka=Object(le.h)("h3",null,"Energia potenziale gravitazionale"),za=Object(le.h)("p",null,"Un corpo ha energia potenziale in ogni momento pari a:"),Pa=Object(le.h)("p",null,"(Con ",Object(le.h)(Ae,null,"h")," uguale a un altezza scelta come punto di riferimento.)"),Ca=Object(le.h)("h3",null,"Energia potenziale elastica"),xa=Object(le.h)("p",null,"Una molla ha sempre energia potenziale elastica pari a:"),Sa=Object(le.h)("h3",null,"Forze conservative"),Ea=Object(le.h)("p",null,"Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo."),Aa=Object(le.h)("p",null,"Ad esempio, è conservativa la ",Object(le.h)("i",null,"forza di gravità"),", ma ",Object(le.h)("b",null,"non")," è conservativa la forza di attrito."),Ma=Object(le.h)("p",null,"Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:"),La=Object(le.h)("h3",null,"Potenza"),Ta=Object(le.h)("p",null,"È la velocità di trasferimento di energia:"),Ia=Object(le.h)("h2",null,"Elettrostatica"),Da=Object(le.h)("h3",null,"Carica elettrica"),Ba=Object(le.h)("p",null,"È una proprietà dei corpi che può essere ",Object(le.h)(Te,null,"positiva")," o ",Object(le.h)(Be,null,"negativa"),"."),qa=Object(le.h)("p",null,"Si conserva: in un sistema chiuso la carica totale è costante."),Fa=Object(le.h)("p",null,"Cariche ",Object(le.h)(Te,null,"opp"),Object(le.h)(Be,null,"oste")," si attraggono; cariche ",Object(le.h)(Te,null,"uguali")," si respingono."),Na=Object(le.h)(je,null,Object(le.h)("h3",null,"Conduttori e isolanti"),Object(le.h)("p",null,"Più ",Object(le.h)("a",{href:"https://it.wikipedia.org/wiki/Ione"},"ioni")," ha un corpo, meglio la carica si muove attraverso di esso."),Object(le.h)("p",null,"I corpi in cui la carica si muove bene sono ",Object(le.h)("i",null,"conduttori"),", mentre quelli in cui si muove difficilmente sono ",Object(le.h)("i",null,"isolanti"),"."),Object(le.h)("p",null,"Il corpo umano è un buon conduttore.")),Ra=Object(le.h)("h2",null,"Polarizzazione"),Ha=Object(le.h)(ye,null,Object(le.h)(je,null,Object(le.h)("h3",null,"Polarizzazione"),Object(le.h)("p",null,"E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona."))),Ua=Object(le.h)(ye,null,Object(le.h)(je,null,Object(le.h)("h3",null,"Messa a terra"),Object(le.h)("p",null,"Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno ",Object(le.h)("i",null,"equilibrate")," e il corpo diventerà elettricamente neutro (con stesso numero di ",Object(le.h)(Te,null,"cariche positive")," e ",Object(le.h)(Be,null,"negative")," all'interno)."))),Va=Object(le.h)(ye,null,Object(le.h)(je,null,Object(le.h)("h3",null,"Polarizzazione per strofinio"),Object(le.h)("p",null,"Strofinando tra loro due corpi isolanti, essi si ",Object(le.h)("i",null,"polarizzeranno per strofinio"),".")),Object(le.h)(je,null,Object(le.h)("h3",null,"Polarizzazione per contatto"),Object(le.h)("p",null,"Toccando un conduttore con un corpo carico, il conduttore potrà ",Object(le.h)("i",null,"polarizzarsi per contatto"),".")),Object(le.h)(je,null,Object(le.h)("h3",null,"Polarizzazione per induzione"),Object(le.h)("p",null,'Se un corpo conduttore ha cariche "esterne" di un ',Object(le.h)(Te,null,"certo segno")," vicino, esso avrà tutte le cariche del ",Object(le.h)(Be,null,"segno opposto")," in equilibrio vicino alle cariche esterne, e tutte le cariche dello ",Object(le.h)(Te,null,"stesso segno")," più lontano possibile da esse."),Object(le.h)("p",null,"Mettendo a terra il conduttore, nuove cariche del ",Object(le.h)(Be,null,"segno opposto")," saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate."),Object(le.h)("p",null,"Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà ",Object(le.h)(Be,null,"caricato del segno opposto")," rispetto alle cariche esterne."))),Wa=Object(le.h)("h2",null,"Forza elettrica"),$a=Object(le.h)("h3",null,"Legge di Coulomb"),Ga=Object(le.h)("p",null,"Due corpi carichi si attraggono tra loro con forza:"),Ka=Object(le.h)("i",null,"costante di Coulomb"),Za=Object(le.h)("h3",null,"Permeabilità dello spazio vuoto"),Ya=Object(le.h)("i",null,"permeabilità del vuoto"),Qa=Object(le.h)("h3",null,"Campo elettrico"),Xa=Object(le.h)("p",null,"Misura che forza viene applicata in ogni punto su una carica unitaria:"),Ja=Object(le.h)("h3",null,"Flusso elettrico"),eo=Object(le.h)("p",null,'È la differenza tra "quanto" campo elettrico ',Object(le.h)(Te,null,"entra")," e quanto campo elettrico ",Object(le.h)(Be,null,"esce")," da una certa area."),to=Object(le.h)("p",null,"È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo."),no=Object(le.h)("p",null,"Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:"),ro=Object(le.h)("h3",null,"Legge di Gauss"),ao=Object(le.h)("p",null,"Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno."),oo=Object(le.h)("p",null,"E' equivalente alla Legge di Coulomb."),io=Object(le.h)("h2",null,"Energia elettrica"),lo=Object(le.h)("h3",null,"Energia potenziale elettrica"),co=Object(le.h)("i",null,"energia potenziale elettrica"),so=Object(le.h)("h2",null,"Circuiti elettrici"),uo=Object(le.h)("h3",null,"Potenziale elettrico (Tensione)"),ho=Object(le.h)("p",null,"È il valore dell'energia potenziale elettrica per una carica unitaria."),po=Object(le.h)("p",null,"In una batteria è detto ",Object(le.h)("i",null,"forza elettromotrice"),", e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli."),bo=Object(le.h)("h3",null,"Corrente elettrica (Intensità)"),fo=Object(le.h)("p",null,"Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo."),mo=Object(le.h)("p",null,"Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla."),go=Object(le.h)(je,null,Object(le.h)("h3",null,"Corrente continua (",Object(le.h)("abbr",{title:"Direct Current"},"DC"),")"),Object(le.h)("p",null,"Quando in un circuito la direzione della corrente è costante.")),_o=Object(le.h)(je,null,Object(le.h)("h3",null,"Corrente alternata (",Object(le.h)("abbr",{title:"Alternate Current"},"AC"),")"),Object(le.h)("p",null,"Quando in un circuito la direzione della corrente si alterna periodicamente.")),vo=Object(le.h)("h3",null,"Potenza elettrica"),jo=Object(le.h)("p",null,"Possiamo calcolare la potenza di un circuito:"),wo=Object(le.h)("h2",null,"Elementi di un circuito"),Oo=Object(le.h)("h3",null,"Resistore"),yo=Object(le.h)("p",null,"Riduce l'intensità di corrente, e converte parte del potenziale in calore."),ko=Object(le.h)("p",null,"Il potenziale utilizzato è pari a:"),zo=Object(le.h)("i",null,"resistenza"),Po=Object(le.h)("p",null,"La resistenza di un conduttore vale:"),Co=Object(le.h)("i",null,"resistività"),xo=Object(le.h)("h3",null,"Condensatore"),So=Object(le.h)("p",null,"Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito."),Eo=Object(le.h)("p",null,"Per farlo, cattura cariche ",Object(le.h)(Te,null,"positive")," e ",Object(le.h)(Be,null,"negative")," sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro."),Ao=Object(le.h)("p",null,"Ha una ",Object(le.h)("b",null,"capacità")," caratteristica, che in un condensatore a facce piane parallele è:"),Mo=Object(le.h)("p",null,"Condensatori di capacità maggiore immagazzinano più potenziale con meno carica."),Lo=Object(le.h)("p",null,"La capacità aumenta se viene messo qualcosa tra le armature:"),To=Object(le.h)("i",null,"costante dielettrica relativa"),Io=Object(le.h)("p",null,"Se il campo elettrico creatosi tra le due armature supera la ",Object(le.h)("i",null,"rigidità dielettrica")," del condensatore, la carica immagazzinata viene persa e ha luogo un ",Object(le.h)("i",null,"breakdown"),"."),Do=Object(le.h)(je,null,Object(le.h)("h3",null,"Amperometro"),Object(le.h)("p",null,"Misura la corrente elettrica se messo in serie."),Object(le.h)("p",null,"(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)")),Bo=Object(le.h)(je,null,Object(le.h)("h3",null,"Voltmetro"),Object(le.h)("p",null,"Misura la differenza di potenziale se messo in parallelo."),Object(le.h)("p",null,"(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)")),qo=Object(le.h)("h2",null,"Principi di Kirchhoff"),Fo=Object(le.h)(ye,null,Object(le.h)(je,null,Object(le.h)("h3",null,"Legge dei nodi"),Object(le.h)("p",null,"Per nodo si intende un qualsiasi punto del circuito."),Object(le.h)("p",null,"Da un nodo entra ed esce la stessa corrente.")),Object(le.h)(je,null,Object(le.h)("h3",null,"Legge delle maglie"),Object(le.h)("p",null,"Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito."),Object(le.h)("p",null,"In una maglia chiusa, la somma delle differenze di potenziale è 0."))),No=Object(le.h)("h2",null,"Serie e Parallelo"),Ro=Object(le.h)(ye,null,Object(le.h)(je,null,Object(le.h)("h3",null,"Circuito in serie"),Object(le.h)("p",null,"Più parti di circuito sono ",Object(le.h)("i",null,"in serie")," se sono consecutive e senza biforcazioni."),Object(le.h)("p",null,"Parti di circuito in serie sono attraversate dalla stessa corrente.")),Object(le.h)(je,null,Object(le.h)("h3",null,"Circuito in parallelo"),Object(le.h)("p",null,"Più parti di circuito sono ",Object(le.h)("i",null,"in parallelo")," tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo."),Object(le.h)("p",null,"Parti di circuito in parallelo hanno la stessa differenza di potenziale."))),Ho=Object(le.h)("h2",null,"Resistenze equivalenti"),Uo=Object(le.h)("h3",null,"Circuiti in serie"),Vo=Object(le.h)("p",null,"Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:"),Wo=Object(le.h)("h3",null,"Circuiti in parallelo"),$o=Object(le.h)("p",null,"Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:"),Go=Object(le.h)("h2",null,"Condensatori equivalenti"),Ko=Object(le.h)("h3",null,"Circuiti in serie"),Zo=Object(le.h)("p",null,"Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:"),Yo=Object(le.h)("h3",null,"Circuiti in parallelo"),Qo=Object(le.h)("p",null,"Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacità di tutti quelli sostituiti:"),Xo=Object(le.h)("h2",null,"Magnetismo"),Jo=Object(le.h)("h3",null,"Permeabilità magnetica dello spazio vuoto"),ei=Object(le.h)("p",null,"E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente."),ti=Object(le.h)("h3",null,"Campo magnetico"),ni=Object(le.h)("p",null,"Come un campo elettrico, ma per i magneti."),ri=Object(le.h)(Ae,null,"T"),ai=Object(le.h)("h3",null,"Flusso magnetico"),oi=Object(le.h)("p",null,"Come il flusso elettrico, ma per campi magnetici."),ii=Object(le.h)(je,null,Object(le.h)("h3",null,"Legge di Gauss per il magnetismo"),Object(le.h)("p",null,"Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.")),li=Object(le.h)("h2",null,"Forze magnetiche"),ci=Object(le.h)("h3",null,"Forza magnetica su carica puntiforme ",Object(le.h)("small",null,"(Forza di Lorentz)")),si=Object(le.h)("p",null,"I campi magnetici applicano una forza sulle cariche vicine:"),ui=Object(le.h)("p",null,"Si ha una forza massima se la velocità è perpendicolare al campo magnetico."),hi=Object(le.h)("p",null,"In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme."),pi=Object(le.h)("h3",null,"Forza magnetica in un filo"),di=Object(le.h)("p",null,"I campi magnetici influenzano anche le cariche presenti in un conduttore:"),bi=Object(le.h)("p",null,Object(le.h)(Pe,null,"Modulo di L?")),fi=Object(le.h)("h2",null,"Campi magnetici"),mi=Object(le.h)(je,null,Object(le.h)("h3",null,"Campo magnetico in una spira"),Object(le.h)("p",null,"Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.")),gi=Object(le.h)("h3",null,"Campo magnetico di un solenoide"),_i=Object(le.h)("p",null,"Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro."),vi=Object(le.h)("p",null,"All'interno del solenoide si crea un campo (quasi) uniforme:"),ji=Object(le.h)("h3",null,"Legge di Oersted"),wi=Object(le.h)("p",null,Object(le.h)("i",null,"Caso particolare della ",Object(le.h)("a",{href:"https://it.wikipedia.org/wiki/Legge_di_Amp%C3%A8re"},"Legge di Ampère"),".")),Oi=Object(le.h)("p",null,"Il modulo del campo magnetico ",Object(le.h)(Ae,null,"B")," prodotto da un filo in cui passa una corrente continua ",Object(le.h)(Ae,null,"I")," alla distanza ",Object(le.h)(Ae,null,"s")," è:"),yi=Object(le.h)("p",null,Object(le.h)(Pe,null,"Verso di B?")),ki=Object(le.h)("h2",null,"Induzione elettromagnetica"),zi=Object(le.h)("h3",null,"Forza elettromotrice indotta"),Pi=Object(le.h)("p",null,"Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo."),Ci=Object(le.h)("p",null,"La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore."),xi=Object(le.h)("p",null,"Essa vale:"),Si=Object(le.h)("p",null,"Dove ",Object(le.h)(Ae,null,"v")," è la velocità del conduttore, ",Object(le.h)(Ae,null,"B")," è l'intensità del campo magnetico ed ",Object(le.h)(Ae,null,"L")," è la lunghezza del conduttore."),Ei=Object(le.h)("h3",null,"Flusso magnetico in una spira"),Ai=Object(le.h)("i",null,"Legge di Farady-Neumann-Lenz"),Mi=Object(le.h)(je,null,Object(le.h)("h3",null,"Legge di Faraday"),Object(le.h)("p",null,"Dice che la forza elettromotrice indotta dipende dalla variazione nel tempo del flusso magnetico.")),Li=function(e){function t(){return U(this,t),V(this,e.apply(this,arguments))}return W(t,e),t.prototype.render=function(){return Object(le.h)("div",null,En,An,Object(le.h)(ye,null,Object(le.h)(je,null,Mn,Ln,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(qe))),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Fe))),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ne)))),Object(le.h)(je,null,Tn,In,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Re))),Dn),Object(le.h)(je,null,Bn,qn,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(He))),Fn),Object(le.h)(je,null,Nn,Rn,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ue))),Object(le.h)("p",null,"Produce il modulo della proiezione di ",Object(le.h)(Ae,null,Sn(Ve))," su ",Object(le.h)(Ae,null,Sn(We)),".")),Object(le.h)(je,null,Hn,Un,Object(le.h)("ul",null,Object(le.h)("li",null,Object(le.h)(Ae,null,Sn($e))),Object(le.h)("li",null,Object(le.h)(Ae,null,Sn(Ge))),Vn),Wn)),$n,Object(le.h)(ye,null,Object(le.h)(je,null,Gn,Kn,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ke)))),Object(le.h)(je,null,Zn,Yn,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ze)))),Object(le.h)(je,null,Qn,Xn,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ye))))),Jn,Object(le.h)(ye,null,Object(le.h)(je,null,er,tr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Qe))),nr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Xe)))),Object(le.h)(je,null,rr,ar,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Je))),or,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(et)))),Object(le.h)(je,null,ir,lr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Je))),cr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(tt))),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(nt))))),sr,Object(le.h)(ye,null,ur,Object(le.h)(je,null,hr,pr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(rt)))),Object(le.h)(je,null,dr,br,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(at)))),fr,Object(le.h)(je,null,mr,gr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(ot))),_r)),vr,Object(le.h)(ye,null,Object(le.h)(je,null,jr,wr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(it)))),Object(le.h)(je,null,Or,yr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(lt))),kr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(ct)))),Object(le.h)(je,null,zr,Pr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(st))),Cr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(ut)))),Object(le.h)(je,null,xr,Sr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(ht))),Er,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(pt))))),Ar,Object(le.h)(ye,null,Object(le.h)(je,null,Mr,Lr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(dt)))),Object(le.h)(je,null,Tr,Ir,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(bt)))),Object(le.h)(je,null,Dr,Br,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(ft)))),qr),Fr,Object(le.h)(ye,null,Object(le.h)(je,null,Nr,Rr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(mt)))),Object(le.h)(je,null,Hr,Ur,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(gt)))),Object(le.h)(je,null,Vr,Wr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(_t)))),$r),Gr,Object(le.h)(ye,null,Kr,Object(le.h)(je,null,Zr,Yr,Qr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(vt)))),Object(le.h)(je,null,Xr,Jr,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(jt)))),Object(le.h)(je,null,ea,Object(le.h)("p",null,"E' la sinusoide dello spostamento, sfasata di ",Object(le.h)(Ae,null,Sn(wt)),":"),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ot)))),Object(le.h)(je,null,ta,Object(le.h)("p",null,"E' la sinusoide della velocità, sfasata di ",Object(le.h)(Ae,null,Sn(yt)),":"),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(kt)))),na),ra,Object(le.h)(ye,null,aa,Object(le.h)(je,null,oa,Object(le.h)("p",null,"Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di ",Object(le.h)(Ae,null,Sn(wt)),", sull'asse Y."))),ia,Object(le.h)(ye,null,Object(le.h)(je,null,la,ca,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(vt)))),Object(le.h)(je,null,sa,ua,Object(le.h)("p",null,"Si indica con ",Object(le.h)(Ae,null,Sn(zt)),", e generalmente si usa in radianti.")),Object(le.h)(je,null,ha,pa,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Pt)))),Object(le.h)(je,null,da,ba,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ct)))),Object(le.h)(je,null,fa,ma,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(xt))))),ga,Object(le.h)(ye,null,Object(le.h)(je,null,_a,va,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(St))),ja),Object(le.h)(je,null,wa,Oa,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Et))),ya,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(At)))),Object(le.h)(je,null,ka,za,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Mt))),Pa),Object(le.h)(je,null,Ca,xa,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Lt)))),Object(le.h)(je,null,Sa,Ea,Aa,Ma,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Tt)))),Object(le.h)(je,null,La,Ta,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(It))))),Ia,Object(le.h)(ye,null,Object(le.h)(je,null,Da,Ba,qa,Object(le.h)("p",null,"Esiste un'unità elementare: ",Object(le.h)(Ae,null,Sn(Dt)),"."),Fa),Na),Ra,Ha,Ua,Va,Wa,Object(le.h)(ye,null,Object(le.h)(je,null,$a,Ga,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Bt))),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(qt))," è la ",Ka,", e vale ",Object(le.h)(Ae,null,Sn(Ft)),".")),Object(le.h)(je,null,Za,Object(le.h)("p",null,"La costante ",Object(le.h)(Ae,null,Sn(qt))," è in realtà dipendente da un altra costante, ",Object(le.h)(Ae,null,Sn(Nt)),", la ",Ya,"."),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Rt))),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ht)))),Object(le.h)(je,null,Qa,Xa,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Ut)))),Object(le.h)(je,null,Ja,eo,to,no,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Vt))),Object(le.h)("p",null,"(dove ",Object(le.h)(Ae,null,Sn(Wt))," è il vettore dell'area che abbiamo scelto.)")),Object(le.h)(je,null,ro,ao,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn($t))),oo)),io,Object(le.h)(ye,null,Object(le.h)(je,null,lo,Object(le.h)("p",null,"Un corpo carico vicino ad altre cariche possiede un'",co," ",Object(le.h)(Ae,null,Sn(Gt)),"."))),so,Object(le.h)(ye,null,Object(le.h)(je,null,uo,ho,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Kt))),Object(le.h)("p",null,"La sua unità di misura è il Volt (",Object(le.h)(Ae,null,Sn(Zt)),")."),po),Object(le.h)(je,null,bo,fo,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Yt))),mo,Object(le.h)("p",null,"La sua unità di misura è l'Ampere (",Object(le.h)(Ae,null,Sn(Qt)),").")),go,_o,Object(le.h)(je,null,vo,jo,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Xt))))),wo,Object(le.h)(ye,null,Object(le.h)(je,null,Oo,yo,ko,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Jt))),Object(le.h)("p",null,"Dove ",Object(le.h)(Ae,null,Sn(en))," è una costante detta ",zo," con unità di misura Ohm (",Object(le.h)(Ae,null,Sn(tn)),")."),Po,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(nn))),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(rn))," è la ",Co," del materiale, e varia in base alla temperatura:"),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(an)))),Object(le.h)(je,null,xo,So,Eo,Ao,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(on))),Mo,Lo,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(ln))),Object(le.h)("p",null,"Dove ",Object(le.h)(Ae,null,Sn(cn))," è la ",To," del materiale inserito, ",Object(le.h)(Ae,null,Sn(Qt))," l'area di una armatura e ",Object(le.h)(Ae,null,Sn(sn))," la distanza tra le due armature."),Io,Object(le.h)("p",null,"La sua unità di misura è il Farad (",Object(le.h)(Ae,null,Sn(un)),")")),Do,Bo),qo,Fo,No,Ro,Ho,Object(le.h)(ye,null,Object(le.h)(je,null,Uo,Vo,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(hn)))),Object(le.h)(je,null,Wo,$o,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(pn))))),Go,Object(le.h)(ye,null,Object(le.h)(je,null,Ko,Zo,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(dn)))),Object(le.h)(je,null,Yo,Qo,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(bn))))),Xo,Object(le.h)(ye,null,Object(le.h)(je,null,Jo,ei,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(fn))," (",Object(le.h)(Ae,null,Sn(mn)),")")),Object(le.h)(je,null,ti,ni,Object(le.h)("p",null,"Il suo simbolo è ",Object(le.h)(Ae,null,Sn(gn)),", e la sua unità di misura è il Tesla (",ri,").")),Object(le.h)(je,null,ai,oi,Object(le.h)("p",null,"Il suo simbolo è ",Object(le.h)(Ae,null,Sn(_n))," e la sua unità di misura è il Weber (",Object(le.h)(Ae,null,Sn(vn)),").")),ii),li,Object(le.h)(ye,null,Object(le.h)(je,null,ci,si,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(jn))),Object(le.h)("p",null,"Dove ",Object(le.h)(Ae,null,Sn(wn))," è l'intensità del campo magnetico e ",Object(le.h)(Ae,null,Sn(On))," la velocità della carica considerata."),ui,hi),Object(le.h)(je,null,pi,di,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(yn))),Object(le.h)("p",null,"Dove ",Object(le.h)(Ae,null,Sn(kn))," è un vettore che punta nella direzione di scorrimento della corrente."),bi)),fi,Object(le.h)(ye,null,mi,Object(le.h)(je,null,gi,_i,vi,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(zn)))),Object(le.h)(je,null,ji,wi,Oi,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Pn))),yi)),ki,Object(le.h)(ye,null,Object(le.h)(je,null,zi,Pi,Ci,xi,Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(Cn))),Si),Object(le.h)(je,null,Ei,Object(le.h)("p",null,"In un campo magnetico ",Object(le.h)(Ae,null,Sn(gn))," uniforme e perpendicolare al piano di una spira di area ",Object(le.h)(Ae,null,Sn(Qt)),", il flusso magnetico si può determinare con la ",Ai,":"),Object(le.h)("p",null,Object(le.h)(Ae,null,Sn(xn)))),Mi))},t}(le.Component),Ti=(n("jHTF"),n("MKE3"),n("6adR")),Ii=n.n(Ti),Di=function(e){function t(){return $(this,t),G(this,e.apply(this,arguments))}return K(t,e),t.prototype.render=function(){var e=new Ii.a.Converter;e.setFlavor("github");var t=e.makeHtml(""+this.props.children);return Object(le.h)("div",{dangerouslySetInnerHTML:{__html:t}})},t}(le.Component),Bi=function(e,t){return e.raw=t,e}(["\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n "],["\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n "]),qi=String.raw,Fi=Object(le.h)("h1",null,"Videolezioni di Geometria"),Ni=function(e){function t(){return Z(this,t),Y(this,e.apply(this,arguments))}return Q(t,e),t.prototype.render=function(){return Object(le.h)("div",null,Fi,Object(le.h)(je,null,Object(le.h)(Di,null,qi(Bi))))},t}(le.Component),Ri=(String,Object(le.h)("div",null,Object(le.h)("h1",null,"Come installare MinGW"),Object(le.h)(je,null,Object(le.h)("p",null," Scaricate ",Object(le.h)("a",{href:"https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/"},"l'installer ufficiale"),", ed eseguitelo."),Object(le.h)("img",{src:"https://i.imgur.com/mDZSqjV.png"}),Object(le.h)("p",null," Dovrebbe comparire questa schermata. Cliccate su ",Object(le.h)("code",null,"Install"),", poi scegliete una cartella di installazione (ricordatevela!) e poi ",Object(le.h)("code",null,"Continue"),". Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate, tranne ",Object(le.h)("code",null,"For all users"),", che dovrebbe essere disattivato."),Object(le.h)("img",{src:"https://i.imgur.com/brdw8Xy.png"}),Object(le.h)("p",null," Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto",Object(le.h)("code",null,"Continue"),". Premetelo."),Object(le.h)("img",{src:"https://i.imgur.com/aPTwrxz.png"}),Object(le.h)("p",null," Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo ",Object(le.h)("code",null,"apt")," su Ubuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità."),Object(le.h)("img",{src:"https://i.imgur.com/5QLSkFN.png"}),Object(le.h)("p",null," Nel nostro caso, dovrebbero servirci ",Object(le.h)("code",null,"mingw32-base-bin")," (per il C e alcune librerie C++) e",Object(le.h)("code",null,"mingw32-gcc-g++-bin")," (per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete",Object(le.h)("code",null,"Mark for Installation"),". Dovrebbe comparire una freccia gialla sul quadratino."),Object(le.h)("img",{src:"https://i.imgur.com/zP74nks.png"}),Object(le.h)("p",null," Ora, è il momento di installare i pacchetti. Aprite il menù ",Object(le.h)("code",null,"Installation"),", poi premete",Object(le.h)("code",null,"Apply Changes"),", e di nuovo ",Object(le.h)("code",null,"Apply"),"."),Object(le.h)("img",{src:"https://i.imgur.com/jp4uz5B.png"}),Object(le.h)("p",null," Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate dopo circa 10 minuti."),Object(le.h)("img",{src:"https://i.imgur.com/Lq9IepY.png"}),Object(le.h)("p",null," Una volta installato, dobbiamo aggiungere ",Object(le.h)("code",null,"g++")," ai programmi eseguibili da Prompt dei Comandi: premete il tasto ",Object(le.h)("kbd",null,"Windows"),", e scrivete ",Object(le.h)("code",null,"PATH"),". Windows dovrebbe trovarvi automaticamente quell'opzione."),Object(le.h)("img",{src:"https://i.imgur.com/dy3b5Ub.png"}),Object(le.h)("p",null," Dentro la finestra di ",Object(le.h)("i",null,"Proprietà del Sistema"),", premete ",Object(le.h)("code",null,"Variabili d'ambiente"),"."),Object(le.h)("img",{src:"https://i.imgur.com/FjYpT1n.png"}),Object(le.h)("p",null," Trovate la variabile d'ambiente globale ",Object(le.h)("code",null,"Path"),", e fateci doppio click per modificarla."),Object(le.h)("img",{src:"https://i.imgur.com/klZQ9So.png"}),Object(le.h)("p",null," Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere quella di MinGW! Premete ",Object(le.h)("code",null,"Sfoglia"),"."),Object(le.h)("img",{src:"https://i.imgur.com/F6lBCqS.png"}),Object(le.h)("p",null," Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la sottocartella ",Object(le.h)("code",null,"bin")," e premete ",Object(le.h)("code",null,"OK")," su tutte le finestre che avete aperto fino ad ora, chiudendole."),Object(le.h)("p",null," Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione",Object(le.h)("code",null,"gcc")," e ",Object(le.h)("code",null,"g++")," sul Prompt dei Comandi, e potete finalmente creare dei file .exe! ")))),Hi=function(e){function t(){return X(this,t),J(this,e.apply(this,arguments))}return ee(t,e),t.prototype.render=function(){return Ri},t}(le.Component),Ui=n("qMTX"),Vi=n.n(Ui),Wi=Object(le.h)("a",{href:"https://creativecommons.org/licenses/by-sa/4.0/"},"CC BY-SA 4.0"),$i=Object(le.h)("a",{href:"https://github.com/Steffo99/appuntiweb"},"Codice sorgente"),Gi=function(e){function t(){return te(this,t),ne(this,e.apply(this,arguments))}return re(t,e),t.prototype.render=function(){return Object(le.h)("div",{class:Vi.a.copyright},"© 2019 - Stefano Pigozzi - ",Wi," - ",$i)},t}(le.Component);n.d(t,"default",function(){return Zi});var Ki=(String,Object(le.h)("div",{id:"app"},Object(le.h)(ge,null,Object(le.h)(xe,{path:"/"}),Object(le.h)(Li,{path:"/fisica"}),Object(le.h)(Ni,{path:"/vldigeometria"}),Object(le.h)(Hi,{path:"/mingwinstall"})),Object(le.h)(Gi,null))),Zi=function(e){function t(){return ae(this,t),oe(this,e.apply(this,arguments))}return ie(t,e),t.prototype.render=function(){return Ki},t}(le.Component)},KM04:function(e){!function(){"use strict";function t(e,t){var n,r,a,o,i=L;for(o=arguments.length;o-- >2;)M.push(arguments[o]);for(t&&null!=t.children&&(M.length||M.push(t.children),delete t.children);M.length;)if((r=M.pop())&&void 0!==r.pop)for(o=r.length;o--;)M.push(r[o]);else"boolean"==typeof r&&(r=null),(a="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r+="":"string"!=typeof r&&(a=!1)),a&&n?i[i.length-1]+=r:i===L?i=[r]:i.push(r),n=a;var l=new E;return l.nodeName=e,l.children=i,l.attributes=null==t?void 0:t,l.key=null==t?void 0:t.key,void 0!==A.vnode&&A.vnode(l),l}function n(e,t){for(var n in t)e[n]=t[n];return e}function r(e,t){e&&("function"==typeof e?e(t):e.current=t)}function a(e,r){return t(e.nodeName,n(n({},e.attributes),r),arguments.length>2?[].slice.call(arguments,2):e.children)}function o(e){!e.__d&&(e.__d=!0)&&1==D.push(e)&&(A.debounceRendering||T)(i)}function i(){for(var e;e=D.pop();)e.__d&&k(e)}function l(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function s(e){var t=n({},e.attributes);t.children=e.children;var r=e.nodeName.defaultProps;if(void 0!==r)for(var a in r)void 0===t[a]&&(t[a]=r[a]);return t}function u(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.__n=e,n}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function p(e,t,n,a,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)r(n,null),r(a,e);else if("class"!==t||o)if("style"===t){if(a&&"string"!=typeof a&&"string"!=typeof n||(e.style.cssText=a||""),a&&"object"==typeof a){if("string"!=typeof n)for(var i in n)i in a||(e.style[i]="");for(var i in a)e.style[i]="number"==typeof a[i]&&!1===I.test(i)?a[i]+"px":a[i]}}else if("dangerouslySetInnerHTML"===t)a&&(e.innerHTML=a.__html||"");else if("o"==t[0]&&"n"==t[1]){var l=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),a?n||e.addEventListener(t,d,l):e.removeEventListener(t,d,l),(e.__l||(e.__l={}))[t]=a}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==a?"":a}catch(e){}null!=a&&!1!==a||"spellcheck"==t||e.removeAttribute(t)}else{var c=o&&t!==(t=t.replace(/^xlink:?/,""));null==a||!1===a?c?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof a&&(c?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),a):e.setAttribute(t,a))}else e.className=a||""}function d(e){return this.__l[e.type](A.event&&A.event(e)||e)}function b(){for(var e;e=B.shift();)A.afterMount&&A.afterMount(e),e.componentDidMount&&e.componentDidMount()}function f(e,t,n,r,a,o){q++||(F=null!=a&&void 0!==a.ownerSVGElement,N=null!=e&&!("__preactattr_"in e));var i=m(e,t,n,r,o);return a&&i.parentNode!==a&&a.appendChild(i),--q||(N=!1,o||b()),i}function m(e,t,n,r,a){var o=e,i=F;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||a)?e.nodeValue!=t&&(e.nodeValue=t):(o=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(o,e),_(e,!0))),o.__preactattr_=!0,o;var l=t.nodeName;if("function"==typeof l)return z(e,t,n,r);if(F="svg"===l||"foreignObject"!==l&&F,l+="",(!e||!c(e,l))&&(o=u(l,F),e)){for(;e.firstChild;)o.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(o,e),_(e,!0)}var s=o.firstChild,h=o.__preactattr_,p=t.children;if(null==h){h=o.__preactattr_={};for(var d=o.attributes,b=d.length;b--;)h[d[b].name]=d[b].value}return!N&&p&&1===p.length&&"string"==typeof p[0]&&null!=s&&void 0!==s.splitText&&null==s.nextSibling?s.nodeValue!=p[0]&&(s.nodeValue=p[0]):(p&&p.length||null!=s)&&g(o,p,n,r,N||null!=h.dangerouslySetInnerHTML),j(o,t.attributes,h),F=i,o}function g(e,t,n,r,a){var o,i,c,s,u,p=e.childNodes,d=[],b={},f=0,g=0,v=p.length,j=0,w=t?t.length:0;if(0!==v)for(var O=0;O (GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n }\n\n function allOptionsOn() {\n 'use strict';\n\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n }\n\n /**\n * Created by Tivie on 06-01-2015.\n */\n\n // Private properties\n var showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n /**\n * helper namespace\n * @type {{}}\n */\n showdown.helper = {};\n\n /**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\n showdown.extensions = {};\n\n /**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\n showdown.setOption = function (key, value) {\n 'use strict';\n\n globalOptions[key] = value;\n return this;\n };\n\n /**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\n showdown.getOption = function (key) {\n 'use strict';\n\n return globalOptions[key];\n };\n\n /**\n * Get the global options\n * @static\n * @returns {{}}\n */\n showdown.getOptions = function () {\n 'use strict';\n\n return globalOptions;\n };\n\n /**\n * Reset global options to the default values\n * @static\n */\n showdown.resetOptions = function () {\n 'use strict';\n\n globalOptions = getDefaultOpts(true);\n };\n\n /**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\n showdown.setFlavor = function (name) {\n 'use strict';\n\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor\n * @returns {string}\n */\n showdown.getFlavor = function () {\n 'use strict';\n\n return setFlavor;\n };\n\n /**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\n showdown.getFlavorOptions = function (name) {\n 'use strict';\n\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n };\n\n /**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\n showdown.getDefaultOptions = function (simple) {\n 'use strict';\n\n return getDefaultOpts(simple);\n };\n\n /**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\n showdown.subParser = function (name, func) {\n 'use strict';\n\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n };\n\n /**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\n showdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n };\n\n /**\n * Gets all extensions registered\n * @returns {{}}\n */\n showdown.getAllExtensions = function () {\n 'use strict';\n\n return extensions;\n };\n\n /**\n * Remove an extension\n * @param {string} name\n */\n showdown.removeExtension = function (name) {\n 'use strict';\n\n delete extensions[name];\n };\n\n /**\n * Removes all extensions\n */\n showdown.resetExtensions = function () {\n 'use strict';\n\n extensions = {};\n };\n\n /**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\n function validate(extension, name) {\n 'use strict';\n\n var errMsg = name ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln + ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n }\n\n /**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\n showdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n };\n\n /**\n * showdownjs helper functions\n */\n\n if (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n }\n\n /**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\n showdown.helper.isString = function (a) {\n 'use strict';\n\n return typeof a === 'string' || a instanceof String;\n };\n\n /**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isFunction = function (a) {\n 'use strict';\n\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n };\n\n /**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isArray = function (a) {\n 'use strict';\n\n return Array.isArray(a);\n };\n\n /**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\n showdown.helper.isUndefined = function (value) {\n 'use strict';\n\n return typeof value === 'undefined';\n };\n\n /**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\n showdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof obj === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n };\n\n /**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\n showdown.helper.stdExtName = function (s) {\n 'use strict';\n\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n };\n\n function escapeCharactersCallback(wholeMatch, m1) {\n 'use strict';\n\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n }\n\n /**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\n showdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n /**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\n showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n };\n\n /**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\n showdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt.replace(/"/g, '\"').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');\n };\n\n var rgxFindMatchPos = function rgxFindMatchPos(str, left, right, flags) {\n 'use strict';\n\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t,\n s,\n m,\n start,\n end;\n\n do {\n t = 0;\n while (m = x.exec(str)) {\n if (l.test(m[0])) {\n if (!t++) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (! --t) {\n end = m.index + m[0].length;\n var obj = {\n left: { start: start, end: s },\n match: { start: s, end: m.index },\n right: { start: m.index, end: end },\n wholeMatch: { start: start, end: end }\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n };\n\n /**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\n showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)]);\n }\n return results;\n };\n\n /**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\n showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function replacement() {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(replacement(str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)));\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n };\n\n /**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\n showdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return indexOf >= 0 ? indexOf + (fromIndex || 0) : indexOf;\n };\n\n /**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\n showdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n };\n\n /**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\n showdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n\n var encode = [function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n }, function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n }, function (ch) {\n return ch;\n }];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch);\n }\n return ch;\n });\n\n return mail;\n };\n\n /**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\n showdown.helper.padEnd = function padEnd(str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n\n targetLength = targetLength >> 0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0, targetLength);\n }\n };\n\n /**\n * POLYFILLS\n */\n // use this instead of builtin is undefined for IE8 compatibility\n if (typeof console === 'undefined') {\n console = {\n warn: function warn(msg) {\n 'use strict';\n\n alert(msg);\n },\n log: function log(msg) {\n 'use strict';\n\n alert(msg);\n },\n error: function error(msg) {\n 'use strict';\n\n throw msg;\n }\n };\n }\n\n /**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\n showdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n };\n\n /**\n * EMOJIS LIST\n */\n showdown.helper.emojis = {\n '+1': '\\uD83D\\uDC4D',\n '-1': '\\uD83D\\uDC4E',\n '100': '\\uD83D\\uDCAF',\n '1234': '\\uD83D\\uDD22',\n '1st_place_medal': '\\uD83E\\uDD47',\n '2nd_place_medal': '\\uD83E\\uDD48',\n '3rd_place_medal': '\\uD83E\\uDD49',\n '8ball': '\\uD83C\\uDFB1',\n 'a': '\\uD83C\\uDD70\\uFE0F',\n 'ab': '\\uD83C\\uDD8E',\n 'abc': '\\uD83D\\uDD24',\n 'abcd': '\\uD83D\\uDD21',\n 'accept': '\\uD83C\\uDE51',\n 'aerial_tramway': '\\uD83D\\uDEA1',\n 'airplane': '\\u2708\\uFE0F',\n 'alarm_clock': '\\u23F0',\n 'alembic': '\\u2697\\uFE0F',\n 'alien': '\\uD83D\\uDC7D',\n 'ambulance': '\\uD83D\\uDE91',\n 'amphora': '\\uD83C\\uDFFA',\n 'anchor': '\\u2693\\uFE0F',\n 'angel': '\\uD83D\\uDC7C',\n 'anger': '\\uD83D\\uDCA2',\n 'angry': '\\uD83D\\uDE20',\n 'anguished': '\\uD83D\\uDE27',\n 'ant': '\\uD83D\\uDC1C',\n 'apple': '\\uD83C\\uDF4E',\n 'aquarius': '\\u2652\\uFE0F',\n 'aries': '\\u2648\\uFE0F',\n 'arrow_backward': '\\u25C0\\uFE0F',\n 'arrow_double_down': '\\u23EC',\n 'arrow_double_up': '\\u23EB',\n 'arrow_down': '\\u2B07\\uFE0F',\n 'arrow_down_small': '\\uD83D\\uDD3D',\n 'arrow_forward': '\\u25B6\\uFE0F',\n 'arrow_heading_down': '\\u2935\\uFE0F',\n 'arrow_heading_up': '\\u2934\\uFE0F',\n 'arrow_left': '\\u2B05\\uFE0F',\n 'arrow_lower_left': '\\u2199\\uFE0F',\n 'arrow_lower_right': '\\u2198\\uFE0F',\n 'arrow_right': '\\u27A1\\uFE0F',\n 'arrow_right_hook': '\\u21AA\\uFE0F',\n 'arrow_up': '\\u2B06\\uFE0F',\n 'arrow_up_down': '\\u2195\\uFE0F',\n 'arrow_up_small': '\\uD83D\\uDD3C',\n 'arrow_upper_left': '\\u2196\\uFE0F',\n 'arrow_upper_right': '\\u2197\\uFE0F',\n 'arrows_clockwise': '\\uD83D\\uDD03',\n 'arrows_counterclockwise': '\\uD83D\\uDD04',\n 'art': '\\uD83C\\uDFA8',\n 'articulated_lorry': '\\uD83D\\uDE9B',\n 'artificial_satellite': '\\uD83D\\uDEF0',\n 'astonished': '\\uD83D\\uDE32',\n 'athletic_shoe': '\\uD83D\\uDC5F',\n 'atm': '\\uD83C\\uDFE7',\n 'atom_symbol': '\\u269B\\uFE0F',\n 'avocado': '\\uD83E\\uDD51',\n 'b': '\\uD83C\\uDD71\\uFE0F',\n 'baby': '\\uD83D\\uDC76',\n 'baby_bottle': '\\uD83C\\uDF7C',\n 'baby_chick': '\\uD83D\\uDC24',\n 'baby_symbol': '\\uD83D\\uDEBC',\n 'back': '\\uD83D\\uDD19',\n 'bacon': '\\uD83E\\uDD53',\n 'badminton': '\\uD83C\\uDFF8',\n 'baggage_claim': '\\uD83D\\uDEC4',\n 'baguette_bread': '\\uD83E\\uDD56',\n 'balance_scale': '\\u2696\\uFE0F',\n 'balloon': '\\uD83C\\uDF88',\n 'ballot_box': '\\uD83D\\uDDF3',\n 'ballot_box_with_check': '\\u2611\\uFE0F',\n 'bamboo': '\\uD83C\\uDF8D',\n 'banana': '\\uD83C\\uDF4C',\n 'bangbang': '\\u203C\\uFE0F',\n 'bank': '\\uD83C\\uDFE6',\n 'bar_chart': '\\uD83D\\uDCCA',\n 'barber': '\\uD83D\\uDC88',\n 'baseball': '\\u26BE\\uFE0F',\n 'basketball': '\\uD83C\\uDFC0',\n 'basketball_man': '\\u26F9\\uFE0F',\n 'basketball_woman': '\\u26F9\\uFE0F\\u2640\\uFE0F',\n 'bat': '\\uD83E\\uDD87',\n 'bath': '\\uD83D\\uDEC0',\n 'bathtub': '\\uD83D\\uDEC1',\n 'battery': '\\uD83D\\uDD0B',\n 'beach_umbrella': '\\uD83C\\uDFD6',\n 'bear': '\\uD83D\\uDC3B',\n 'bed': '\\uD83D\\uDECF',\n 'bee': '\\uD83D\\uDC1D',\n 'beer': '\\uD83C\\uDF7A',\n 'beers': '\\uD83C\\uDF7B',\n 'beetle': '\\uD83D\\uDC1E',\n 'beginner': '\\uD83D\\uDD30',\n 'bell': '\\uD83D\\uDD14',\n 'bellhop_bell': '\\uD83D\\uDECE',\n 'bento': '\\uD83C\\uDF71',\n 'biking_man': '\\uD83D\\uDEB4',\n 'bike': '\\uD83D\\uDEB2',\n 'biking_woman': '\\uD83D\\uDEB4\\u2640\\uFE0F',\n 'bikini': '\\uD83D\\uDC59',\n 'biohazard': '\\u2623\\uFE0F',\n 'bird': '\\uD83D\\uDC26',\n 'birthday': '\\uD83C\\uDF82',\n 'black_circle': '\\u26AB\\uFE0F',\n 'black_flag': '\\uD83C\\uDFF4',\n 'black_heart': '\\uD83D\\uDDA4',\n 'black_joker': '\\uD83C\\uDCCF',\n 'black_large_square': '\\u2B1B\\uFE0F',\n 'black_medium_small_square': '\\u25FE\\uFE0F',\n 'black_medium_square': '\\u25FC\\uFE0F',\n 'black_nib': '\\u2712\\uFE0F',\n 'black_small_square': '\\u25AA\\uFE0F',\n 'black_square_button': '\\uD83D\\uDD32',\n 'blonde_man': '\\uD83D\\uDC71',\n 'blonde_woman': '\\uD83D\\uDC71\\u2640\\uFE0F',\n 'blossom': '\\uD83C\\uDF3C',\n 'blowfish': '\\uD83D\\uDC21',\n 'blue_book': '\\uD83D\\uDCD8',\n 'blue_car': '\\uD83D\\uDE99',\n 'blue_heart': '\\uD83D\\uDC99',\n 'blush': '\\uD83D\\uDE0A',\n 'boar': '\\uD83D\\uDC17',\n 'boat': '\\u26F5\\uFE0F',\n 'bomb': '\\uD83D\\uDCA3',\n 'book': '\\uD83D\\uDCD6',\n 'bookmark': '\\uD83D\\uDD16',\n 'bookmark_tabs': '\\uD83D\\uDCD1',\n 'books': '\\uD83D\\uDCDA',\n 'boom': '\\uD83D\\uDCA5',\n 'boot': '\\uD83D\\uDC62',\n 'bouquet': '\\uD83D\\uDC90',\n 'bowing_man': '\\uD83D\\uDE47',\n 'bow_and_arrow': '\\uD83C\\uDFF9',\n 'bowing_woman': '\\uD83D\\uDE47\\u2640\\uFE0F',\n 'bowling': '\\uD83C\\uDFB3',\n 'boxing_glove': '\\uD83E\\uDD4A',\n 'boy': '\\uD83D\\uDC66',\n 'bread': '\\uD83C\\uDF5E',\n 'bride_with_veil': '\\uD83D\\uDC70',\n 'bridge_at_night': '\\uD83C\\uDF09',\n 'briefcase': '\\uD83D\\uDCBC',\n 'broken_heart': '\\uD83D\\uDC94',\n 'bug': '\\uD83D\\uDC1B',\n 'building_construction': '\\uD83C\\uDFD7',\n 'bulb': '\\uD83D\\uDCA1',\n 'bullettrain_front': '\\uD83D\\uDE85',\n 'bullettrain_side': '\\uD83D\\uDE84',\n 'burrito': '\\uD83C\\uDF2F',\n 'bus': '\\uD83D\\uDE8C',\n 'business_suit_levitating': '\\uD83D\\uDD74',\n 'busstop': '\\uD83D\\uDE8F',\n 'bust_in_silhouette': '\\uD83D\\uDC64',\n 'busts_in_silhouette': '\\uD83D\\uDC65',\n 'butterfly': '\\uD83E\\uDD8B',\n 'cactus': '\\uD83C\\uDF35',\n 'cake': '\\uD83C\\uDF70',\n 'calendar': '\\uD83D\\uDCC6',\n 'call_me_hand': '\\uD83E\\uDD19',\n 'calling': '\\uD83D\\uDCF2',\n 'camel': '\\uD83D\\uDC2B',\n 'camera': '\\uD83D\\uDCF7',\n 'camera_flash': '\\uD83D\\uDCF8',\n 'camping': '\\uD83C\\uDFD5',\n 'cancer': '\\u264B\\uFE0F',\n 'candle': '\\uD83D\\uDD6F',\n 'candy': '\\uD83C\\uDF6C',\n 'canoe': '\\uD83D\\uDEF6',\n 'capital_abcd': '\\uD83D\\uDD20',\n 'capricorn': '\\u2651\\uFE0F',\n 'car': '\\uD83D\\uDE97',\n 'card_file_box': '\\uD83D\\uDDC3',\n 'card_index': '\\uD83D\\uDCC7',\n 'card_index_dividers': '\\uD83D\\uDDC2',\n 'carousel_horse': '\\uD83C\\uDFA0',\n 'carrot': '\\uD83E\\uDD55',\n 'cat': '\\uD83D\\uDC31',\n 'cat2': '\\uD83D\\uDC08',\n 'cd': '\\uD83D\\uDCBF',\n 'chains': '\\u26D3',\n 'champagne': '\\uD83C\\uDF7E',\n 'chart': '\\uD83D\\uDCB9',\n 'chart_with_downwards_trend': '\\uD83D\\uDCC9',\n 'chart_with_upwards_trend': '\\uD83D\\uDCC8',\n 'checkered_flag': '\\uD83C\\uDFC1',\n 'cheese': '\\uD83E\\uDDC0',\n 'cherries': '\\uD83C\\uDF52',\n 'cherry_blossom': '\\uD83C\\uDF38',\n 'chestnut': '\\uD83C\\uDF30',\n 'chicken': '\\uD83D\\uDC14',\n 'children_crossing': '\\uD83D\\uDEB8',\n 'chipmunk': '\\uD83D\\uDC3F',\n 'chocolate_bar': '\\uD83C\\uDF6B',\n 'christmas_tree': '\\uD83C\\uDF84',\n 'church': '\\u26EA\\uFE0F',\n 'cinema': '\\uD83C\\uDFA6',\n 'circus_tent': '\\uD83C\\uDFAA',\n 'city_sunrise': '\\uD83C\\uDF07',\n 'city_sunset': '\\uD83C\\uDF06',\n 'cityscape': '\\uD83C\\uDFD9',\n 'cl': '\\uD83C\\uDD91',\n 'clamp': '\\uD83D\\uDDDC',\n 'clap': '\\uD83D\\uDC4F',\n 'clapper': '\\uD83C\\uDFAC',\n 'classical_building': '\\uD83C\\uDFDB',\n 'clinking_glasses': '\\uD83E\\uDD42',\n 'clipboard': '\\uD83D\\uDCCB',\n 'clock1': '\\uD83D\\uDD50',\n 'clock10': '\\uD83D\\uDD59',\n 'clock1030': '\\uD83D\\uDD65',\n 'clock11': '\\uD83D\\uDD5A',\n 'clock1130': '\\uD83D\\uDD66',\n 'clock12': '\\uD83D\\uDD5B',\n 'clock1230': '\\uD83D\\uDD67',\n 'clock130': '\\uD83D\\uDD5C',\n 'clock2': '\\uD83D\\uDD51',\n 'clock230': '\\uD83D\\uDD5D',\n 'clock3': '\\uD83D\\uDD52',\n 'clock330': '\\uD83D\\uDD5E',\n 'clock4': '\\uD83D\\uDD53',\n 'clock430': '\\uD83D\\uDD5F',\n 'clock5': '\\uD83D\\uDD54',\n 'clock530': '\\uD83D\\uDD60',\n 'clock6': '\\uD83D\\uDD55',\n 'clock630': '\\uD83D\\uDD61',\n 'clock7': '\\uD83D\\uDD56',\n 'clock730': '\\uD83D\\uDD62',\n 'clock8': '\\uD83D\\uDD57',\n 'clock830': '\\uD83D\\uDD63',\n 'clock9': '\\uD83D\\uDD58',\n 'clock930': '\\uD83D\\uDD64',\n 'closed_book': '\\uD83D\\uDCD5',\n 'closed_lock_with_key': '\\uD83D\\uDD10',\n 'closed_umbrella': '\\uD83C\\uDF02',\n 'cloud': '\\u2601\\uFE0F',\n 'cloud_with_lightning': '\\uD83C\\uDF29',\n 'cloud_with_lightning_and_rain': '\\u26C8',\n 'cloud_with_rain': '\\uD83C\\uDF27',\n 'cloud_with_snow': '\\uD83C\\uDF28',\n 'clown_face': '\\uD83E\\uDD21',\n 'clubs': '\\u2663\\uFE0F',\n 'cocktail': '\\uD83C\\uDF78',\n 'coffee': '\\u2615\\uFE0F',\n 'coffin': '\\u26B0\\uFE0F',\n 'cold_sweat': '\\uD83D\\uDE30',\n 'comet': '\\u2604\\uFE0F',\n 'computer': '\\uD83D\\uDCBB',\n 'computer_mouse': '\\uD83D\\uDDB1',\n 'confetti_ball': '\\uD83C\\uDF8A',\n 'confounded': '\\uD83D\\uDE16',\n 'confused': '\\uD83D\\uDE15',\n 'congratulations': '\\u3297\\uFE0F',\n 'construction': '\\uD83D\\uDEA7',\n 'construction_worker_man': '\\uD83D\\uDC77',\n 'construction_worker_woman': '\\uD83D\\uDC77\\u2640\\uFE0F',\n 'control_knobs': '\\uD83C\\uDF9B',\n 'convenience_store': '\\uD83C\\uDFEA',\n 'cookie': '\\uD83C\\uDF6A',\n 'cool': '\\uD83C\\uDD92',\n 'policeman': '\\uD83D\\uDC6E',\n 'copyright': '\\xA9\\uFE0F',\n 'corn': '\\uD83C\\uDF3D',\n 'couch_and_lamp': '\\uD83D\\uDECB',\n 'couple': '\\uD83D\\uDC6B',\n 'couple_with_heart_woman_man': '\\uD83D\\uDC91',\n 'couple_with_heart_man_man': '\\uD83D\\uDC68\\u2764\\uFE0F\\uD83D\\uDC68',\n 'couple_with_heart_woman_woman': '\\uD83D\\uDC69\\u2764\\uFE0F\\uD83D\\uDC69',\n 'couplekiss_man_man': '\\uD83D\\uDC68\\u2764\\uFE0F\\uD83D\\uDC8B\\uD83D\\uDC68',\n 'couplekiss_man_woman': '\\uD83D\\uDC8F',\n 'couplekiss_woman_woman': '\\uD83D\\uDC69\\u2764\\uFE0F\\uD83D\\uDC8B\\uD83D\\uDC69',\n 'cow': '\\uD83D\\uDC2E',\n 'cow2': '\\uD83D\\uDC04',\n 'cowboy_hat_face': '\\uD83E\\uDD20',\n 'crab': '\\uD83E\\uDD80',\n 'crayon': '\\uD83D\\uDD8D',\n 'credit_card': '\\uD83D\\uDCB3',\n 'crescent_moon': '\\uD83C\\uDF19',\n 'cricket': '\\uD83C\\uDFCF',\n 'crocodile': '\\uD83D\\uDC0A',\n 'croissant': '\\uD83E\\uDD50',\n 'crossed_fingers': '\\uD83E\\uDD1E',\n 'crossed_flags': '\\uD83C\\uDF8C',\n 'crossed_swords': '\\u2694\\uFE0F',\n 'crown': '\\uD83D\\uDC51',\n 'cry': '\\uD83D\\uDE22',\n 'crying_cat_face': '\\uD83D\\uDE3F',\n 'crystal_ball': '\\uD83D\\uDD2E',\n 'cucumber': '\\uD83E\\uDD52',\n 'cupid': '\\uD83D\\uDC98',\n 'curly_loop': '\\u27B0',\n 'currency_exchange': '\\uD83D\\uDCB1',\n 'curry': '\\uD83C\\uDF5B',\n 'custard': '\\uD83C\\uDF6E',\n 'customs': '\\uD83D\\uDEC3',\n 'cyclone': '\\uD83C\\uDF00',\n 'dagger': '\\uD83D\\uDDE1',\n 'dancer': '\\uD83D\\uDC83',\n 'dancing_women': '\\uD83D\\uDC6F',\n 'dancing_men': '\\uD83D\\uDC6F\\u2642\\uFE0F',\n 'dango': '\\uD83C\\uDF61',\n 'dark_sunglasses': '\\uD83D\\uDD76',\n 'dart': '\\uD83C\\uDFAF',\n 'dash': '\\uD83D\\uDCA8',\n 'date': '\\uD83D\\uDCC5',\n 'deciduous_tree': '\\uD83C\\uDF33',\n 'deer': '\\uD83E\\uDD8C',\n 'department_store': '\\uD83C\\uDFEC',\n 'derelict_house': '\\uD83C\\uDFDA',\n 'desert': '\\uD83C\\uDFDC',\n 'desert_island': '\\uD83C\\uDFDD',\n 'desktop_computer': '\\uD83D\\uDDA5',\n 'male_detective': '\\uD83D\\uDD75\\uFE0F',\n 'diamond_shape_with_a_dot_inside': '\\uD83D\\uDCA0',\n 'diamonds': '\\u2666\\uFE0F',\n 'disappointed': '\\uD83D\\uDE1E',\n 'disappointed_relieved': '\\uD83D\\uDE25',\n 'dizzy': '\\uD83D\\uDCAB',\n 'dizzy_face': '\\uD83D\\uDE35',\n 'do_not_litter': '\\uD83D\\uDEAF',\n 'dog': '\\uD83D\\uDC36',\n 'dog2': '\\uD83D\\uDC15',\n 'dollar': '\\uD83D\\uDCB5',\n 'dolls': '\\uD83C\\uDF8E',\n 'dolphin': '\\uD83D\\uDC2C',\n 'door': '\\uD83D\\uDEAA',\n 'doughnut': '\\uD83C\\uDF69',\n 'dove': '\\uD83D\\uDD4A',\n 'dragon': '\\uD83D\\uDC09',\n 'dragon_face': '\\uD83D\\uDC32',\n 'dress': '\\uD83D\\uDC57',\n 'dromedary_camel': '\\uD83D\\uDC2A',\n 'drooling_face': '\\uD83E\\uDD24',\n 'droplet': '\\uD83D\\uDCA7',\n 'drum': '\\uD83E\\uDD41',\n 'duck': '\\uD83E\\uDD86',\n 'dvd': '\\uD83D\\uDCC0',\n 'e-mail': '\\uD83D\\uDCE7',\n 'eagle': '\\uD83E\\uDD85',\n 'ear': '\\uD83D\\uDC42',\n 'ear_of_rice': '\\uD83C\\uDF3E',\n 'earth_africa': '\\uD83C\\uDF0D',\n 'earth_americas': '\\uD83C\\uDF0E',\n 'earth_asia': '\\uD83C\\uDF0F',\n 'egg': '\\uD83E\\uDD5A',\n 'eggplant': '\\uD83C\\uDF46',\n 'eight_pointed_black_star': '\\u2734\\uFE0F',\n 'eight_spoked_asterisk': '\\u2733\\uFE0F',\n 'electric_plug': '\\uD83D\\uDD0C',\n 'elephant': '\\uD83D\\uDC18',\n 'email': '\\u2709\\uFE0F',\n 'end': '\\uD83D\\uDD1A',\n 'envelope_with_arrow': '\\uD83D\\uDCE9',\n 'euro': '\\uD83D\\uDCB6',\n 'european_castle': '\\uD83C\\uDFF0',\n 'european_post_office': '\\uD83C\\uDFE4',\n 'evergreen_tree': '\\uD83C\\uDF32',\n 'exclamation': '\\u2757\\uFE0F',\n 'expressionless': '\\uD83D\\uDE11',\n 'eye': '\\uD83D\\uDC41',\n 'eye_speech_bubble': '\\uD83D\\uDC41\\uD83D\\uDDE8',\n 'eyeglasses': '\\uD83D\\uDC53',\n 'eyes': '\\uD83D\\uDC40',\n 'face_with_head_bandage': '\\uD83E\\uDD15',\n 'face_with_thermometer': '\\uD83E\\uDD12',\n 'fist_oncoming': '\\uD83D\\uDC4A',\n 'factory': '\\uD83C\\uDFED',\n 'fallen_leaf': '\\uD83C\\uDF42',\n 'family_man_woman_boy': '\\uD83D\\uDC6A',\n 'family_man_boy': '\\uD83D\\uDC68\\uD83D\\uDC66',\n 'family_man_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_girl': '\\uD83D\\uDC68\\uD83D\\uDC67',\n 'family_man_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_man_man_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC66',\n 'family_man_man_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_man_girl': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67',\n 'family_man_man_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_man_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_man_woman_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_woman_girl': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_man_woman_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_woman_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_woman_boy': '\\uD83D\\uDC69\\uD83D\\uDC66',\n 'family_woman_boy_boy': '\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_woman_girl': '\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_woman_girl_boy': '\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_woman_girl_girl': '\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_woman_woman_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC66',\n 'family_woman_woman_boy_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_woman_woman_girl': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_woman_woman_girl_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_woman_woman_girl_girl': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'fast_forward': '\\u23E9',\n 'fax': '\\uD83D\\uDCE0',\n 'fearful': '\\uD83D\\uDE28',\n 'feet': '\\uD83D\\uDC3E',\n 'female_detective': '\\uD83D\\uDD75\\uFE0F\\u2640\\uFE0F',\n 'ferris_wheel': '\\uD83C\\uDFA1',\n 'ferry': '\\u26F4',\n 'field_hockey': '\\uD83C\\uDFD1',\n 'file_cabinet': '\\uD83D\\uDDC4',\n 'file_folder': '\\uD83D\\uDCC1',\n 'film_projector': '\\uD83D\\uDCFD',\n 'film_strip': '\\uD83C\\uDF9E',\n 'fire': '\\uD83D\\uDD25',\n 'fire_engine': '\\uD83D\\uDE92',\n 'fireworks': '\\uD83C\\uDF86',\n 'first_quarter_moon': '\\uD83C\\uDF13',\n 'first_quarter_moon_with_face': '\\uD83C\\uDF1B',\n 'fish': '\\uD83D\\uDC1F',\n 'fish_cake': '\\uD83C\\uDF65',\n 'fishing_pole_and_fish': '\\uD83C\\uDFA3',\n 'fist_raised': '\\u270A',\n 'fist_left': '\\uD83E\\uDD1B',\n 'fist_right': '\\uD83E\\uDD1C',\n 'flags': '\\uD83C\\uDF8F',\n 'flashlight': '\\uD83D\\uDD26',\n 'fleur_de_lis': '\\u269C\\uFE0F',\n 'flight_arrival': '\\uD83D\\uDEEC',\n 'flight_departure': '\\uD83D\\uDEEB',\n 'floppy_disk': '\\uD83D\\uDCBE',\n 'flower_playing_cards': '\\uD83C\\uDFB4',\n 'flushed': '\\uD83D\\uDE33',\n 'fog': '\\uD83C\\uDF2B',\n 'foggy': '\\uD83C\\uDF01',\n 'football': '\\uD83C\\uDFC8',\n 'footprints': '\\uD83D\\uDC63',\n 'fork_and_knife': '\\uD83C\\uDF74',\n 'fountain': '\\u26F2\\uFE0F',\n 'fountain_pen': '\\uD83D\\uDD8B',\n 'four_leaf_clover': '\\uD83C\\uDF40',\n 'fox_face': '\\uD83E\\uDD8A',\n 'framed_picture': '\\uD83D\\uDDBC',\n 'free': '\\uD83C\\uDD93',\n 'fried_egg': '\\uD83C\\uDF73',\n 'fried_shrimp': '\\uD83C\\uDF64',\n 'fries': '\\uD83C\\uDF5F',\n 'frog': '\\uD83D\\uDC38',\n 'frowning': '\\uD83D\\uDE26',\n 'frowning_face': '\\u2639\\uFE0F',\n 'frowning_man': '\\uD83D\\uDE4D\\u2642\\uFE0F',\n 'frowning_woman': '\\uD83D\\uDE4D',\n 'middle_finger': '\\uD83D\\uDD95',\n 'fuelpump': '\\u26FD\\uFE0F',\n 'full_moon': '\\uD83C\\uDF15',\n 'full_moon_with_face': '\\uD83C\\uDF1D',\n 'funeral_urn': '\\u26B1\\uFE0F',\n 'game_die': '\\uD83C\\uDFB2',\n 'gear': '\\u2699\\uFE0F',\n 'gem': '\\uD83D\\uDC8E',\n 'gemini': '\\u264A\\uFE0F',\n 'ghost': '\\uD83D\\uDC7B',\n 'gift': '\\uD83C\\uDF81',\n 'gift_heart': '\\uD83D\\uDC9D',\n 'girl': '\\uD83D\\uDC67',\n 'globe_with_meridians': '\\uD83C\\uDF10',\n 'goal_net': '\\uD83E\\uDD45',\n 'goat': '\\uD83D\\uDC10',\n 'golf': '\\u26F3\\uFE0F',\n 'golfing_man': '\\uD83C\\uDFCC\\uFE0F',\n 'golfing_woman': '\\uD83C\\uDFCC\\uFE0F\\u2640\\uFE0F',\n 'gorilla': '\\uD83E\\uDD8D',\n 'grapes': '\\uD83C\\uDF47',\n 'green_apple': '\\uD83C\\uDF4F',\n 'green_book': '\\uD83D\\uDCD7',\n 'green_heart': '\\uD83D\\uDC9A',\n 'green_salad': '\\uD83E\\uDD57',\n 'grey_exclamation': '\\u2755',\n 'grey_question': '\\u2754',\n 'grimacing': '\\uD83D\\uDE2C',\n 'grin': '\\uD83D\\uDE01',\n 'grinning': '\\uD83D\\uDE00',\n 'guardsman': '\\uD83D\\uDC82',\n 'guardswoman': '\\uD83D\\uDC82\\u2640\\uFE0F',\n 'guitar': '\\uD83C\\uDFB8',\n 'gun': '\\uD83D\\uDD2B',\n 'haircut_woman': '\\uD83D\\uDC87',\n 'haircut_man': '\\uD83D\\uDC87\\u2642\\uFE0F',\n 'hamburger': '\\uD83C\\uDF54',\n 'hammer': '\\uD83D\\uDD28',\n 'hammer_and_pick': '\\u2692',\n 'hammer_and_wrench': '\\uD83D\\uDEE0',\n 'hamster': '\\uD83D\\uDC39',\n 'hand': '\\u270B',\n 'handbag': '\\uD83D\\uDC5C',\n 'handshake': '\\uD83E\\uDD1D',\n 'hankey': '\\uD83D\\uDCA9',\n 'hatched_chick': '\\uD83D\\uDC25',\n 'hatching_chick': '\\uD83D\\uDC23',\n 'headphones': '\\uD83C\\uDFA7',\n 'hear_no_evil': '\\uD83D\\uDE49',\n 'heart': '\\u2764\\uFE0F',\n 'heart_decoration': '\\uD83D\\uDC9F',\n 'heart_eyes': '\\uD83D\\uDE0D',\n 'heart_eyes_cat': '\\uD83D\\uDE3B',\n 'heartbeat': '\\uD83D\\uDC93',\n 'heartpulse': '\\uD83D\\uDC97',\n 'hearts': '\\u2665\\uFE0F',\n 'heavy_check_mark': '\\u2714\\uFE0F',\n 'heavy_division_sign': '\\u2797',\n 'heavy_dollar_sign': '\\uD83D\\uDCB2',\n 'heavy_heart_exclamation': '\\u2763\\uFE0F',\n 'heavy_minus_sign': '\\u2796',\n 'heavy_multiplication_x': '\\u2716\\uFE0F',\n 'heavy_plus_sign': '\\u2795',\n 'helicopter': '\\uD83D\\uDE81',\n 'herb': '\\uD83C\\uDF3F',\n 'hibiscus': '\\uD83C\\uDF3A',\n 'high_brightness': '\\uD83D\\uDD06',\n 'high_heel': '\\uD83D\\uDC60',\n 'hocho': '\\uD83D\\uDD2A',\n 'hole': '\\uD83D\\uDD73',\n 'honey_pot': '\\uD83C\\uDF6F',\n 'horse': '\\uD83D\\uDC34',\n 'horse_racing': '\\uD83C\\uDFC7',\n 'hospital': '\\uD83C\\uDFE5',\n 'hot_pepper': '\\uD83C\\uDF36',\n 'hotdog': '\\uD83C\\uDF2D',\n 'hotel': '\\uD83C\\uDFE8',\n 'hotsprings': '\\u2668\\uFE0F',\n 'hourglass': '\\u231B\\uFE0F',\n 'hourglass_flowing_sand': '\\u23F3',\n 'house': '\\uD83C\\uDFE0',\n 'house_with_garden': '\\uD83C\\uDFE1',\n 'houses': '\\uD83C\\uDFD8',\n 'hugs': '\\uD83E\\uDD17',\n 'hushed': '\\uD83D\\uDE2F',\n 'ice_cream': '\\uD83C\\uDF68',\n 'ice_hockey': '\\uD83C\\uDFD2',\n 'ice_skate': '\\u26F8',\n 'icecream': '\\uD83C\\uDF66',\n 'id': '\\uD83C\\uDD94',\n 'ideograph_advantage': '\\uD83C\\uDE50',\n 'imp': '\\uD83D\\uDC7F',\n 'inbox_tray': '\\uD83D\\uDCE5',\n 'incoming_envelope': '\\uD83D\\uDCE8',\n 'tipping_hand_woman': '\\uD83D\\uDC81',\n 'information_source': '\\u2139\\uFE0F',\n 'innocent': '\\uD83D\\uDE07',\n 'interrobang': '\\u2049\\uFE0F',\n 'iphone': '\\uD83D\\uDCF1',\n 'izakaya_lantern': '\\uD83C\\uDFEE',\n 'jack_o_lantern': '\\uD83C\\uDF83',\n 'japan': '\\uD83D\\uDDFE',\n 'japanese_castle': '\\uD83C\\uDFEF',\n 'japanese_goblin': '\\uD83D\\uDC7A',\n 'japanese_ogre': '\\uD83D\\uDC79',\n 'jeans': '\\uD83D\\uDC56',\n 'joy': '\\uD83D\\uDE02',\n 'joy_cat': '\\uD83D\\uDE39',\n 'joystick': '\\uD83D\\uDD79',\n 'kaaba': '\\uD83D\\uDD4B',\n 'key': '\\uD83D\\uDD11',\n 'keyboard': '\\u2328\\uFE0F',\n 'keycap_ten': '\\uD83D\\uDD1F',\n 'kick_scooter': '\\uD83D\\uDEF4',\n 'kimono': '\\uD83D\\uDC58',\n 'kiss': '\\uD83D\\uDC8B',\n 'kissing': '\\uD83D\\uDE17',\n 'kissing_cat': '\\uD83D\\uDE3D',\n 'kissing_closed_eyes': '\\uD83D\\uDE1A',\n 'kissing_heart': '\\uD83D\\uDE18',\n 'kissing_smiling_eyes': '\\uD83D\\uDE19',\n 'kiwi_fruit': '\\uD83E\\uDD5D',\n 'koala': '\\uD83D\\uDC28',\n 'koko': '\\uD83C\\uDE01',\n 'label': '\\uD83C\\uDFF7',\n 'large_blue_circle': '\\uD83D\\uDD35',\n 'large_blue_diamond': '\\uD83D\\uDD37',\n 'large_orange_diamond': '\\uD83D\\uDD36',\n 'last_quarter_moon': '\\uD83C\\uDF17',\n 'last_quarter_moon_with_face': '\\uD83C\\uDF1C',\n 'latin_cross': '\\u271D\\uFE0F',\n 'laughing': '\\uD83D\\uDE06',\n 'leaves': '\\uD83C\\uDF43',\n 'ledger': '\\uD83D\\uDCD2',\n 'left_luggage': '\\uD83D\\uDEC5',\n 'left_right_arrow': '\\u2194\\uFE0F',\n 'leftwards_arrow_with_hook': '\\u21A9\\uFE0F',\n 'lemon': '\\uD83C\\uDF4B',\n 'leo': '\\u264C\\uFE0F',\n 'leopard': '\\uD83D\\uDC06',\n 'level_slider': '\\uD83C\\uDF9A',\n 'libra': '\\u264E\\uFE0F',\n 'light_rail': '\\uD83D\\uDE88',\n 'link': '\\uD83D\\uDD17',\n 'lion': '\\uD83E\\uDD81',\n 'lips': '\\uD83D\\uDC44',\n 'lipstick': '\\uD83D\\uDC84',\n 'lizard': '\\uD83E\\uDD8E',\n 'lock': '\\uD83D\\uDD12',\n 'lock_with_ink_pen': '\\uD83D\\uDD0F',\n 'lollipop': '\\uD83C\\uDF6D',\n 'loop': '\\u27BF',\n 'loud_sound': '\\uD83D\\uDD0A',\n 'loudspeaker': '\\uD83D\\uDCE2',\n 'love_hotel': '\\uD83C\\uDFE9',\n 'love_letter': '\\uD83D\\uDC8C',\n 'low_brightness': '\\uD83D\\uDD05',\n 'lying_face': '\\uD83E\\uDD25',\n 'm': '\\u24C2\\uFE0F',\n 'mag': '\\uD83D\\uDD0D',\n 'mag_right': '\\uD83D\\uDD0E',\n 'mahjong': '\\uD83C\\uDC04\\uFE0F',\n 'mailbox': '\\uD83D\\uDCEB',\n 'mailbox_closed': '\\uD83D\\uDCEA',\n 'mailbox_with_mail': '\\uD83D\\uDCEC',\n 'mailbox_with_no_mail': '\\uD83D\\uDCED',\n 'man': '\\uD83D\\uDC68',\n 'man_artist': '\\uD83D\\uDC68\\uD83C\\uDFA8',\n 'man_astronaut': '\\uD83D\\uDC68\\uD83D\\uDE80',\n 'man_cartwheeling': '\\uD83E\\uDD38\\u2642\\uFE0F',\n 'man_cook': '\\uD83D\\uDC68\\uD83C\\uDF73',\n 'man_dancing': '\\uD83D\\uDD7A',\n 'man_facepalming': '\\uD83E\\uDD26\\u2642\\uFE0F',\n 'man_factory_worker': '\\uD83D\\uDC68\\uD83C\\uDFED',\n 'man_farmer': '\\uD83D\\uDC68\\uD83C\\uDF3E',\n 'man_firefighter': '\\uD83D\\uDC68\\uD83D\\uDE92',\n 'man_health_worker': '\\uD83D\\uDC68\\u2695\\uFE0F',\n 'man_in_tuxedo': '\\uD83E\\uDD35',\n 'man_judge': '\\uD83D\\uDC68\\u2696\\uFE0F',\n 'man_juggling': '\\uD83E\\uDD39\\u2642\\uFE0F',\n 'man_mechanic': '\\uD83D\\uDC68\\uD83D\\uDD27',\n 'man_office_worker': '\\uD83D\\uDC68\\uD83D\\uDCBC',\n 'man_pilot': '\\uD83D\\uDC68\\u2708\\uFE0F',\n 'man_playing_handball': '\\uD83E\\uDD3E\\u2642\\uFE0F',\n 'man_playing_water_polo': '\\uD83E\\uDD3D\\u2642\\uFE0F',\n 'man_scientist': '\\uD83D\\uDC68\\uD83D\\uDD2C',\n 'man_shrugging': '\\uD83E\\uDD37\\u2642\\uFE0F',\n 'man_singer': '\\uD83D\\uDC68\\uD83C\\uDFA4',\n 'man_student': '\\uD83D\\uDC68\\uD83C\\uDF93',\n 'man_teacher': '\\uD83D\\uDC68\\uD83C\\uDFEB',\n 'man_technologist': '\\uD83D\\uDC68\\uD83D\\uDCBB',\n 'man_with_gua_pi_mao': '\\uD83D\\uDC72',\n 'man_with_turban': '\\uD83D\\uDC73',\n 'tangerine': '\\uD83C\\uDF4A',\n 'mans_shoe': '\\uD83D\\uDC5E',\n 'mantelpiece_clock': '\\uD83D\\uDD70',\n 'maple_leaf': '\\uD83C\\uDF41',\n 'martial_arts_uniform': '\\uD83E\\uDD4B',\n 'mask': '\\uD83D\\uDE37',\n 'massage_woman': '\\uD83D\\uDC86',\n 'massage_man': '\\uD83D\\uDC86\\u2642\\uFE0F',\n 'meat_on_bone': '\\uD83C\\uDF56',\n 'medal_military': '\\uD83C\\uDF96',\n 'medal_sports': '\\uD83C\\uDFC5',\n 'mega': '\\uD83D\\uDCE3',\n 'melon': '\\uD83C\\uDF48',\n 'memo': '\\uD83D\\uDCDD',\n 'men_wrestling': '\\uD83E\\uDD3C\\u2642\\uFE0F',\n 'menorah': '\\uD83D\\uDD4E',\n 'mens': '\\uD83D\\uDEB9',\n 'metal': '\\uD83E\\uDD18',\n 'metro': '\\uD83D\\uDE87',\n 'microphone': '\\uD83C\\uDFA4',\n 'microscope': '\\uD83D\\uDD2C',\n 'milk_glass': '\\uD83E\\uDD5B',\n 'milky_way': '\\uD83C\\uDF0C',\n 'minibus': '\\uD83D\\uDE90',\n 'minidisc': '\\uD83D\\uDCBD',\n 'mobile_phone_off': '\\uD83D\\uDCF4',\n 'money_mouth_face': '\\uD83E\\uDD11',\n 'money_with_wings': '\\uD83D\\uDCB8',\n 'moneybag': '\\uD83D\\uDCB0',\n 'monkey': '\\uD83D\\uDC12',\n 'monkey_face': '\\uD83D\\uDC35',\n 'monorail': '\\uD83D\\uDE9D',\n 'moon': '\\uD83C\\uDF14',\n 'mortar_board': '\\uD83C\\uDF93',\n 'mosque': '\\uD83D\\uDD4C',\n 'motor_boat': '\\uD83D\\uDEE5',\n 'motor_scooter': '\\uD83D\\uDEF5',\n 'motorcycle': '\\uD83C\\uDFCD',\n 'motorway': '\\uD83D\\uDEE3',\n 'mount_fuji': '\\uD83D\\uDDFB',\n 'mountain': '\\u26F0',\n 'mountain_biking_man': '\\uD83D\\uDEB5',\n 'mountain_biking_woman': '\\uD83D\\uDEB5\\u2640\\uFE0F',\n 'mountain_cableway': '\\uD83D\\uDEA0',\n 'mountain_railway': '\\uD83D\\uDE9E',\n 'mountain_snow': '\\uD83C\\uDFD4',\n 'mouse': '\\uD83D\\uDC2D',\n 'mouse2': '\\uD83D\\uDC01',\n 'movie_camera': '\\uD83C\\uDFA5',\n 'moyai': '\\uD83D\\uDDFF',\n 'mrs_claus': '\\uD83E\\uDD36',\n 'muscle': '\\uD83D\\uDCAA',\n 'mushroom': '\\uD83C\\uDF44',\n 'musical_keyboard': '\\uD83C\\uDFB9',\n 'musical_note': '\\uD83C\\uDFB5',\n 'musical_score': '\\uD83C\\uDFBC',\n 'mute': '\\uD83D\\uDD07',\n 'nail_care': '\\uD83D\\uDC85',\n 'name_badge': '\\uD83D\\uDCDB',\n 'national_park': '\\uD83C\\uDFDE',\n 'nauseated_face': '\\uD83E\\uDD22',\n 'necktie': '\\uD83D\\uDC54',\n 'negative_squared_cross_mark': '\\u274E',\n 'nerd_face': '\\uD83E\\uDD13',\n 'neutral_face': '\\uD83D\\uDE10',\n 'new': '\\uD83C\\uDD95',\n 'new_moon': '\\uD83C\\uDF11',\n 'new_moon_with_face': '\\uD83C\\uDF1A',\n 'newspaper': '\\uD83D\\uDCF0',\n 'newspaper_roll': '\\uD83D\\uDDDE',\n 'next_track_button': '\\u23ED',\n 'ng': '\\uD83C\\uDD96',\n 'no_good_man': '\\uD83D\\uDE45\\u2642\\uFE0F',\n 'no_good_woman': '\\uD83D\\uDE45',\n 'night_with_stars': '\\uD83C\\uDF03',\n 'no_bell': '\\uD83D\\uDD15',\n 'no_bicycles': '\\uD83D\\uDEB3',\n 'no_entry': '\\u26D4\\uFE0F',\n 'no_entry_sign': '\\uD83D\\uDEAB',\n 'no_mobile_phones': '\\uD83D\\uDCF5',\n 'no_mouth': '\\uD83D\\uDE36',\n 'no_pedestrians': '\\uD83D\\uDEB7',\n 'no_smoking': '\\uD83D\\uDEAD',\n 'non-potable_water': '\\uD83D\\uDEB1',\n 'nose': '\\uD83D\\uDC43',\n 'notebook': '\\uD83D\\uDCD3',\n 'notebook_with_decorative_cover': '\\uD83D\\uDCD4',\n 'notes': '\\uD83C\\uDFB6',\n 'nut_and_bolt': '\\uD83D\\uDD29',\n 'o': '\\u2B55\\uFE0F',\n 'o2': '\\uD83C\\uDD7E\\uFE0F',\n 'ocean': '\\uD83C\\uDF0A',\n 'octopus': '\\uD83D\\uDC19',\n 'oden': '\\uD83C\\uDF62',\n 'office': '\\uD83C\\uDFE2',\n 'oil_drum': '\\uD83D\\uDEE2',\n 'ok': '\\uD83C\\uDD97',\n 'ok_hand': '\\uD83D\\uDC4C',\n 'ok_man': '\\uD83D\\uDE46\\u2642\\uFE0F',\n 'ok_woman': '\\uD83D\\uDE46',\n 'old_key': '\\uD83D\\uDDDD',\n 'older_man': '\\uD83D\\uDC74',\n 'older_woman': '\\uD83D\\uDC75',\n 'om': '\\uD83D\\uDD49',\n 'on': '\\uD83D\\uDD1B',\n 'oncoming_automobile': '\\uD83D\\uDE98',\n 'oncoming_bus': '\\uD83D\\uDE8D',\n 'oncoming_police_car': '\\uD83D\\uDE94',\n 'oncoming_taxi': '\\uD83D\\uDE96',\n 'open_file_folder': '\\uD83D\\uDCC2',\n 'open_hands': '\\uD83D\\uDC50',\n 'open_mouth': '\\uD83D\\uDE2E',\n 'open_umbrella': '\\u2602\\uFE0F',\n 'ophiuchus': '\\u26CE',\n 'orange_book': '\\uD83D\\uDCD9',\n 'orthodox_cross': '\\u2626\\uFE0F',\n 'outbox_tray': '\\uD83D\\uDCE4',\n 'owl': '\\uD83E\\uDD89',\n 'ox': '\\uD83D\\uDC02',\n 'package': '\\uD83D\\uDCE6',\n 'page_facing_up': '\\uD83D\\uDCC4',\n 'page_with_curl': '\\uD83D\\uDCC3',\n 'pager': '\\uD83D\\uDCDF',\n 'paintbrush': '\\uD83D\\uDD8C',\n 'palm_tree': '\\uD83C\\uDF34',\n 'pancakes': '\\uD83E\\uDD5E',\n 'panda_face': '\\uD83D\\uDC3C',\n 'paperclip': '\\uD83D\\uDCCE',\n 'paperclips': '\\uD83D\\uDD87',\n 'parasol_on_ground': '\\u26F1',\n 'parking': '\\uD83C\\uDD7F\\uFE0F',\n 'part_alternation_mark': '\\u303D\\uFE0F',\n 'partly_sunny': '\\u26C5\\uFE0F',\n 'passenger_ship': '\\uD83D\\uDEF3',\n 'passport_control': '\\uD83D\\uDEC2',\n 'pause_button': '\\u23F8',\n 'peace_symbol': '\\u262E\\uFE0F',\n 'peach': '\\uD83C\\uDF51',\n 'peanuts': '\\uD83E\\uDD5C',\n 'pear': '\\uD83C\\uDF50',\n 'pen': '\\uD83D\\uDD8A',\n 'pencil2': '\\u270F\\uFE0F',\n 'penguin': '\\uD83D\\uDC27',\n 'pensive': '\\uD83D\\uDE14',\n 'performing_arts': '\\uD83C\\uDFAD',\n 'persevere': '\\uD83D\\uDE23',\n 'person_fencing': '\\uD83E\\uDD3A',\n 'pouting_woman': '\\uD83D\\uDE4E',\n 'phone': '\\u260E\\uFE0F',\n 'pick': '\\u26CF',\n 'pig': '\\uD83D\\uDC37',\n 'pig2': '\\uD83D\\uDC16',\n 'pig_nose': '\\uD83D\\uDC3D',\n 'pill': '\\uD83D\\uDC8A',\n 'pineapple': '\\uD83C\\uDF4D',\n 'ping_pong': '\\uD83C\\uDFD3',\n 'pisces': '\\u2653\\uFE0F',\n 'pizza': '\\uD83C\\uDF55',\n 'place_of_worship': '\\uD83D\\uDED0',\n 'plate_with_cutlery': '\\uD83C\\uDF7D',\n 'play_or_pause_button': '\\u23EF',\n 'point_down': '\\uD83D\\uDC47',\n 'point_left': '\\uD83D\\uDC48',\n 'point_right': '\\uD83D\\uDC49',\n 'point_up': '\\u261D\\uFE0F',\n 'point_up_2': '\\uD83D\\uDC46',\n 'police_car': '\\uD83D\\uDE93',\n 'policewoman': '\\uD83D\\uDC6E\\u2640\\uFE0F',\n 'poodle': '\\uD83D\\uDC29',\n 'popcorn': '\\uD83C\\uDF7F',\n 'post_office': '\\uD83C\\uDFE3',\n 'postal_horn': '\\uD83D\\uDCEF',\n 'postbox': '\\uD83D\\uDCEE',\n 'potable_water': '\\uD83D\\uDEB0',\n 'potato': '\\uD83E\\uDD54',\n 'pouch': '\\uD83D\\uDC5D',\n 'poultry_leg': '\\uD83C\\uDF57',\n 'pound': '\\uD83D\\uDCB7',\n 'rage': '\\uD83D\\uDE21',\n 'pouting_cat': '\\uD83D\\uDE3E',\n 'pouting_man': '\\uD83D\\uDE4E\\u2642\\uFE0F',\n 'pray': '\\uD83D\\uDE4F',\n 'prayer_beads': '\\uD83D\\uDCFF',\n 'pregnant_woman': '\\uD83E\\uDD30',\n 'previous_track_button': '\\u23EE',\n 'prince': '\\uD83E\\uDD34',\n 'princess': '\\uD83D\\uDC78',\n 'printer': '\\uD83D\\uDDA8',\n 'purple_heart': '\\uD83D\\uDC9C',\n 'purse': '\\uD83D\\uDC5B',\n 'pushpin': '\\uD83D\\uDCCC',\n 'put_litter_in_its_place': '\\uD83D\\uDEAE',\n 'question': '\\u2753',\n 'rabbit': '\\uD83D\\uDC30',\n 'rabbit2': '\\uD83D\\uDC07',\n 'racehorse': '\\uD83D\\uDC0E',\n 'racing_car': '\\uD83C\\uDFCE',\n 'radio': '\\uD83D\\uDCFB',\n 'radio_button': '\\uD83D\\uDD18',\n 'radioactive': '\\u2622\\uFE0F',\n 'railway_car': '\\uD83D\\uDE83',\n 'railway_track': '\\uD83D\\uDEE4',\n 'rainbow': '\\uD83C\\uDF08',\n 'rainbow_flag': '\\uD83C\\uDFF3\\uFE0F\\uD83C\\uDF08',\n 'raised_back_of_hand': '\\uD83E\\uDD1A',\n 'raised_hand_with_fingers_splayed': '\\uD83D\\uDD90',\n 'raised_hands': '\\uD83D\\uDE4C',\n 'raising_hand_woman': '\\uD83D\\uDE4B',\n 'raising_hand_man': '\\uD83D\\uDE4B\\u2642\\uFE0F',\n 'ram': '\\uD83D\\uDC0F',\n 'ramen': '\\uD83C\\uDF5C',\n 'rat': '\\uD83D\\uDC00',\n 'record_button': '\\u23FA',\n 'recycle': '\\u267B\\uFE0F',\n 'red_circle': '\\uD83D\\uDD34',\n 'registered': '\\xAE\\uFE0F',\n 'relaxed': '\\u263A\\uFE0F',\n 'relieved': '\\uD83D\\uDE0C',\n 'reminder_ribbon': '\\uD83C\\uDF97',\n 'repeat': '\\uD83D\\uDD01',\n 'repeat_one': '\\uD83D\\uDD02',\n 'rescue_worker_helmet': '\\u26D1',\n 'restroom': '\\uD83D\\uDEBB',\n 'revolving_hearts': '\\uD83D\\uDC9E',\n 'rewind': '\\u23EA',\n 'rhinoceros': '\\uD83E\\uDD8F',\n 'ribbon': '\\uD83C\\uDF80',\n 'rice': '\\uD83C\\uDF5A',\n 'rice_ball': '\\uD83C\\uDF59',\n 'rice_cracker': '\\uD83C\\uDF58',\n 'rice_scene': '\\uD83C\\uDF91',\n 'right_anger_bubble': '\\uD83D\\uDDEF',\n 'ring': '\\uD83D\\uDC8D',\n 'robot': '\\uD83E\\uDD16',\n 'rocket': '\\uD83D\\uDE80',\n 'rofl': '\\uD83E\\uDD23',\n 'roll_eyes': '\\uD83D\\uDE44',\n 'roller_coaster': '\\uD83C\\uDFA2',\n 'rooster': '\\uD83D\\uDC13',\n 'rose': '\\uD83C\\uDF39',\n 'rosette': '\\uD83C\\uDFF5',\n 'rotating_light': '\\uD83D\\uDEA8',\n 'round_pushpin': '\\uD83D\\uDCCD',\n 'rowing_man': '\\uD83D\\uDEA3',\n 'rowing_woman': '\\uD83D\\uDEA3\\u2640\\uFE0F',\n 'rugby_football': '\\uD83C\\uDFC9',\n 'running_man': '\\uD83C\\uDFC3',\n 'running_shirt_with_sash': '\\uD83C\\uDFBD',\n 'running_woman': '\\uD83C\\uDFC3\\u2640\\uFE0F',\n 'sa': '\\uD83C\\uDE02\\uFE0F',\n 'sagittarius': '\\u2650\\uFE0F',\n 'sake': '\\uD83C\\uDF76',\n 'sandal': '\\uD83D\\uDC61',\n 'santa': '\\uD83C\\uDF85',\n 'satellite': '\\uD83D\\uDCE1',\n 'saxophone': '\\uD83C\\uDFB7',\n 'school': '\\uD83C\\uDFEB',\n 'school_satchel': '\\uD83C\\uDF92',\n 'scissors': '\\u2702\\uFE0F',\n 'scorpion': '\\uD83E\\uDD82',\n 'scorpius': '\\u264F\\uFE0F',\n 'scream': '\\uD83D\\uDE31',\n 'scream_cat': '\\uD83D\\uDE40',\n 'scroll': '\\uD83D\\uDCDC',\n 'seat': '\\uD83D\\uDCBA',\n 'secret': '\\u3299\\uFE0F',\n 'see_no_evil': '\\uD83D\\uDE48',\n 'seedling': '\\uD83C\\uDF31',\n 'selfie': '\\uD83E\\uDD33',\n 'shallow_pan_of_food': '\\uD83E\\uDD58',\n 'shamrock': '\\u2618\\uFE0F',\n 'shark': '\\uD83E\\uDD88',\n 'shaved_ice': '\\uD83C\\uDF67',\n 'sheep': '\\uD83D\\uDC11',\n 'shell': '\\uD83D\\uDC1A',\n 'shield': '\\uD83D\\uDEE1',\n 'shinto_shrine': '\\u26E9',\n 'ship': '\\uD83D\\uDEA2',\n 'shirt': '\\uD83D\\uDC55',\n 'shopping': '\\uD83D\\uDECD',\n 'shopping_cart': '\\uD83D\\uDED2',\n 'shower': '\\uD83D\\uDEBF',\n 'shrimp': '\\uD83E\\uDD90',\n 'signal_strength': '\\uD83D\\uDCF6',\n 'six_pointed_star': '\\uD83D\\uDD2F',\n 'ski': '\\uD83C\\uDFBF',\n 'skier': '\\u26F7',\n 'skull': '\\uD83D\\uDC80',\n 'skull_and_crossbones': '\\u2620\\uFE0F',\n 'sleeping': '\\uD83D\\uDE34',\n 'sleeping_bed': '\\uD83D\\uDECC',\n 'sleepy': '\\uD83D\\uDE2A',\n 'slightly_frowning_face': '\\uD83D\\uDE41',\n 'slightly_smiling_face': '\\uD83D\\uDE42',\n 'slot_machine': '\\uD83C\\uDFB0',\n 'small_airplane': '\\uD83D\\uDEE9',\n 'small_blue_diamond': '\\uD83D\\uDD39',\n 'small_orange_diamond': '\\uD83D\\uDD38',\n 'small_red_triangle': '\\uD83D\\uDD3A',\n 'small_red_triangle_down': '\\uD83D\\uDD3B',\n 'smile': '\\uD83D\\uDE04',\n 'smile_cat': '\\uD83D\\uDE38',\n 'smiley': '\\uD83D\\uDE03',\n 'smiley_cat': '\\uD83D\\uDE3A',\n 'smiling_imp': '\\uD83D\\uDE08',\n 'smirk': '\\uD83D\\uDE0F',\n 'smirk_cat': '\\uD83D\\uDE3C',\n 'smoking': '\\uD83D\\uDEAC',\n 'snail': '\\uD83D\\uDC0C',\n 'snake': '\\uD83D\\uDC0D',\n 'sneezing_face': '\\uD83E\\uDD27',\n 'snowboarder': '\\uD83C\\uDFC2',\n 'snowflake': '\\u2744\\uFE0F',\n 'snowman': '\\u26C4\\uFE0F',\n 'snowman_with_snow': '\\u2603\\uFE0F',\n 'sob': '\\uD83D\\uDE2D',\n 'soccer': '\\u26BD\\uFE0F',\n 'soon': '\\uD83D\\uDD1C',\n 'sos': '\\uD83C\\uDD98',\n 'sound': '\\uD83D\\uDD09',\n 'space_invader': '\\uD83D\\uDC7E',\n 'spades': '\\u2660\\uFE0F',\n 'spaghetti': '\\uD83C\\uDF5D',\n 'sparkle': '\\u2747\\uFE0F',\n 'sparkler': '\\uD83C\\uDF87',\n 'sparkles': '\\u2728',\n 'sparkling_heart': '\\uD83D\\uDC96',\n 'speak_no_evil': '\\uD83D\\uDE4A',\n 'speaker': '\\uD83D\\uDD08',\n 'speaking_head': '\\uD83D\\uDDE3',\n 'speech_balloon': '\\uD83D\\uDCAC',\n 'speedboat': '\\uD83D\\uDEA4',\n 'spider': '\\uD83D\\uDD77',\n 'spider_web': '\\uD83D\\uDD78',\n 'spiral_calendar': '\\uD83D\\uDDD3',\n 'spiral_notepad': '\\uD83D\\uDDD2',\n 'spoon': '\\uD83E\\uDD44',\n 'squid': '\\uD83E\\uDD91',\n 'stadium': '\\uD83C\\uDFDF',\n 'star': '\\u2B50\\uFE0F',\n 'star2': '\\uD83C\\uDF1F',\n 'star_and_crescent': '\\u262A\\uFE0F',\n 'star_of_david': '\\u2721\\uFE0F',\n 'stars': '\\uD83C\\uDF20',\n 'station': '\\uD83D\\uDE89',\n 'statue_of_liberty': '\\uD83D\\uDDFD',\n 'steam_locomotive': '\\uD83D\\uDE82',\n 'stew': '\\uD83C\\uDF72',\n 'stop_button': '\\u23F9',\n 'stop_sign': '\\uD83D\\uDED1',\n 'stopwatch': '\\u23F1',\n 'straight_ruler': '\\uD83D\\uDCCF',\n 'strawberry': '\\uD83C\\uDF53',\n 'stuck_out_tongue': '\\uD83D\\uDE1B',\n 'stuck_out_tongue_closed_eyes': '\\uD83D\\uDE1D',\n 'stuck_out_tongue_winking_eye': '\\uD83D\\uDE1C',\n 'studio_microphone': '\\uD83C\\uDF99',\n 'stuffed_flatbread': '\\uD83E\\uDD59',\n 'sun_behind_large_cloud': '\\uD83C\\uDF25',\n 'sun_behind_rain_cloud': '\\uD83C\\uDF26',\n 'sun_behind_small_cloud': '\\uD83C\\uDF24',\n 'sun_with_face': '\\uD83C\\uDF1E',\n 'sunflower': '\\uD83C\\uDF3B',\n 'sunglasses': '\\uD83D\\uDE0E',\n 'sunny': '\\u2600\\uFE0F',\n 'sunrise': '\\uD83C\\uDF05',\n 'sunrise_over_mountains': '\\uD83C\\uDF04',\n 'surfing_man': '\\uD83C\\uDFC4',\n 'surfing_woman': '\\uD83C\\uDFC4\\u2640\\uFE0F',\n 'sushi': '\\uD83C\\uDF63',\n 'suspension_railway': '\\uD83D\\uDE9F',\n 'sweat': '\\uD83D\\uDE13',\n 'sweat_drops': '\\uD83D\\uDCA6',\n 'sweat_smile': '\\uD83D\\uDE05',\n 'sweet_potato': '\\uD83C\\uDF60',\n 'swimming_man': '\\uD83C\\uDFCA',\n 'swimming_woman': '\\uD83C\\uDFCA\\u2640\\uFE0F',\n 'symbols': '\\uD83D\\uDD23',\n 'synagogue': '\\uD83D\\uDD4D',\n 'syringe': '\\uD83D\\uDC89',\n 'taco': '\\uD83C\\uDF2E',\n 'tada': '\\uD83C\\uDF89',\n 'tanabata_tree': '\\uD83C\\uDF8B',\n 'taurus': '\\u2649\\uFE0F',\n 'taxi': '\\uD83D\\uDE95',\n 'tea': '\\uD83C\\uDF75',\n 'telephone_receiver': '\\uD83D\\uDCDE',\n 'telescope': '\\uD83D\\uDD2D',\n 'tennis': '\\uD83C\\uDFBE',\n 'tent': '\\u26FA\\uFE0F',\n 'thermometer': '\\uD83C\\uDF21',\n 'thinking': '\\uD83E\\uDD14',\n 'thought_balloon': '\\uD83D\\uDCAD',\n 'ticket': '\\uD83C\\uDFAB',\n 'tickets': '\\uD83C\\uDF9F',\n 'tiger': '\\uD83D\\uDC2F',\n 'tiger2': '\\uD83D\\uDC05',\n 'timer_clock': '\\u23F2',\n 'tipping_hand_man': '\\uD83D\\uDC81\\u2642\\uFE0F',\n 'tired_face': '\\uD83D\\uDE2B',\n 'tm': '\\u2122\\uFE0F',\n 'toilet': '\\uD83D\\uDEBD',\n 'tokyo_tower': '\\uD83D\\uDDFC',\n 'tomato': '\\uD83C\\uDF45',\n 'tongue': '\\uD83D\\uDC45',\n 'top': '\\uD83D\\uDD1D',\n 'tophat': '\\uD83C\\uDFA9',\n 'tornado': '\\uD83C\\uDF2A',\n 'trackball': '\\uD83D\\uDDB2',\n 'tractor': '\\uD83D\\uDE9C',\n 'traffic_light': '\\uD83D\\uDEA5',\n 'train': '\\uD83D\\uDE8B',\n 'train2': '\\uD83D\\uDE86',\n 'tram': '\\uD83D\\uDE8A',\n 'triangular_flag_on_post': '\\uD83D\\uDEA9',\n 'triangular_ruler': '\\uD83D\\uDCD0',\n 'trident': '\\uD83D\\uDD31',\n 'triumph': '\\uD83D\\uDE24',\n 'trolleybus': '\\uD83D\\uDE8E',\n 'trophy': '\\uD83C\\uDFC6',\n 'tropical_drink': '\\uD83C\\uDF79',\n 'tropical_fish': '\\uD83D\\uDC20',\n 'truck': '\\uD83D\\uDE9A',\n 'trumpet': '\\uD83C\\uDFBA',\n 'tulip': '\\uD83C\\uDF37',\n 'tumbler_glass': '\\uD83E\\uDD43',\n 'turkey': '\\uD83E\\uDD83',\n 'turtle': '\\uD83D\\uDC22',\n 'tv': '\\uD83D\\uDCFA',\n 'twisted_rightwards_arrows': '\\uD83D\\uDD00',\n 'two_hearts': '\\uD83D\\uDC95',\n 'two_men_holding_hands': '\\uD83D\\uDC6C',\n 'two_women_holding_hands': '\\uD83D\\uDC6D',\n 'u5272': '\\uD83C\\uDE39',\n 'u5408': '\\uD83C\\uDE34',\n 'u55b6': '\\uD83C\\uDE3A',\n 'u6307': '\\uD83C\\uDE2F\\uFE0F',\n 'u6708': '\\uD83C\\uDE37\\uFE0F',\n 'u6709': '\\uD83C\\uDE36',\n 'u6e80': '\\uD83C\\uDE35',\n 'u7121': '\\uD83C\\uDE1A\\uFE0F',\n 'u7533': '\\uD83C\\uDE38',\n 'u7981': '\\uD83C\\uDE32',\n 'u7a7a': '\\uD83C\\uDE33',\n 'umbrella': '\\u2614\\uFE0F',\n 'unamused': '\\uD83D\\uDE12',\n 'underage': '\\uD83D\\uDD1E',\n 'unicorn': '\\uD83E\\uDD84',\n 'unlock': '\\uD83D\\uDD13',\n 'up': '\\uD83C\\uDD99',\n 'upside_down_face': '\\uD83D\\uDE43',\n 'v': '\\u270C\\uFE0F',\n 'vertical_traffic_light': '\\uD83D\\uDEA6',\n 'vhs': '\\uD83D\\uDCFC',\n 'vibration_mode': '\\uD83D\\uDCF3',\n 'video_camera': '\\uD83D\\uDCF9',\n 'video_game': '\\uD83C\\uDFAE',\n 'violin': '\\uD83C\\uDFBB',\n 'virgo': '\\u264D\\uFE0F',\n 'volcano': '\\uD83C\\uDF0B',\n 'volleyball': '\\uD83C\\uDFD0',\n 'vs': '\\uD83C\\uDD9A',\n 'vulcan_salute': '\\uD83D\\uDD96',\n 'walking_man': '\\uD83D\\uDEB6',\n 'walking_woman': '\\uD83D\\uDEB6\\u2640\\uFE0F',\n 'waning_crescent_moon': '\\uD83C\\uDF18',\n 'waning_gibbous_moon': '\\uD83C\\uDF16',\n 'warning': '\\u26A0\\uFE0F',\n 'wastebasket': '\\uD83D\\uDDD1',\n 'watch': '\\u231A\\uFE0F',\n 'water_buffalo': '\\uD83D\\uDC03',\n 'watermelon': '\\uD83C\\uDF49',\n 'wave': '\\uD83D\\uDC4B',\n 'wavy_dash': '\\u3030\\uFE0F',\n 'waxing_crescent_moon': '\\uD83C\\uDF12',\n 'wc': '\\uD83D\\uDEBE',\n 'weary': '\\uD83D\\uDE29',\n 'wedding': '\\uD83D\\uDC92',\n 'weight_lifting_man': '\\uD83C\\uDFCB\\uFE0F',\n 'weight_lifting_woman': '\\uD83C\\uDFCB\\uFE0F\\u2640\\uFE0F',\n 'whale': '\\uD83D\\uDC33',\n 'whale2': '\\uD83D\\uDC0B',\n 'wheel_of_dharma': '\\u2638\\uFE0F',\n 'wheelchair': '\\u267F\\uFE0F',\n 'white_check_mark': '\\u2705',\n 'white_circle': '\\u26AA\\uFE0F',\n 'white_flag': '\\uD83C\\uDFF3\\uFE0F',\n 'white_flower': '\\uD83D\\uDCAE',\n 'white_large_square': '\\u2B1C\\uFE0F',\n 'white_medium_small_square': '\\u25FD\\uFE0F',\n 'white_medium_square': '\\u25FB\\uFE0F',\n 'white_small_square': '\\u25AB\\uFE0F',\n 'white_square_button': '\\uD83D\\uDD33',\n 'wilted_flower': '\\uD83E\\uDD40',\n 'wind_chime': '\\uD83C\\uDF90',\n 'wind_face': '\\uD83C\\uDF2C',\n 'wine_glass': '\\uD83C\\uDF77',\n 'wink': '\\uD83D\\uDE09',\n 'wolf': '\\uD83D\\uDC3A',\n 'woman': '\\uD83D\\uDC69',\n 'woman_artist': '\\uD83D\\uDC69\\uD83C\\uDFA8',\n 'woman_astronaut': '\\uD83D\\uDC69\\uD83D\\uDE80',\n 'woman_cartwheeling': '\\uD83E\\uDD38\\u2640\\uFE0F',\n 'woman_cook': '\\uD83D\\uDC69\\uD83C\\uDF73',\n 'woman_facepalming': '\\uD83E\\uDD26\\u2640\\uFE0F',\n 'woman_factory_worker': '\\uD83D\\uDC69\\uD83C\\uDFED',\n 'woman_farmer': '\\uD83D\\uDC69\\uD83C\\uDF3E',\n 'woman_firefighter': '\\uD83D\\uDC69\\uD83D\\uDE92',\n 'woman_health_worker': '\\uD83D\\uDC69\\u2695\\uFE0F',\n 'woman_judge': '\\uD83D\\uDC69\\u2696\\uFE0F',\n 'woman_juggling': '\\uD83E\\uDD39\\u2640\\uFE0F',\n 'woman_mechanic': '\\uD83D\\uDC69\\uD83D\\uDD27',\n 'woman_office_worker': '\\uD83D\\uDC69\\uD83D\\uDCBC',\n 'woman_pilot': '\\uD83D\\uDC69\\u2708\\uFE0F',\n 'woman_playing_handball': '\\uD83E\\uDD3E\\u2640\\uFE0F',\n 'woman_playing_water_polo': '\\uD83E\\uDD3D\\u2640\\uFE0F',\n 'woman_scientist': '\\uD83D\\uDC69\\uD83D\\uDD2C',\n 'woman_shrugging': '\\uD83E\\uDD37\\u2640\\uFE0F',\n 'woman_singer': '\\uD83D\\uDC69\\uD83C\\uDFA4',\n 'woman_student': '\\uD83D\\uDC69\\uD83C\\uDF93',\n 'woman_teacher': '\\uD83D\\uDC69\\uD83C\\uDFEB',\n 'woman_technologist': '\\uD83D\\uDC69\\uD83D\\uDCBB',\n 'woman_with_turban': '\\uD83D\\uDC73\\u2640\\uFE0F',\n 'womans_clothes': '\\uD83D\\uDC5A',\n 'womans_hat': '\\uD83D\\uDC52',\n 'women_wrestling': '\\uD83E\\uDD3C\\u2640\\uFE0F',\n 'womens': '\\uD83D\\uDEBA',\n 'world_map': '\\uD83D\\uDDFA',\n 'worried': '\\uD83D\\uDE1F',\n 'wrench': '\\uD83D\\uDD27',\n 'writing_hand': '\\u270D\\uFE0F',\n 'x': '\\u274C',\n 'yellow_heart': '\\uD83D\\uDC9B',\n 'yen': '\\uD83D\\uDCB4',\n 'yin_yang': '\\u262F\\uFE0F',\n 'yum': '\\uD83D\\uDE0B',\n 'zap': '\\u26A1\\uFE0F',\n 'zipper_mouth_face': '\\uD83E\\uDD10',\n 'zzz': '\\uD83D\\uDCA4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n };\n\n /**\n * Created by Estevao on 31-05-2015.\n */\n\n /**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\n showdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor() {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions + ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension(ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' + 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading(ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:\n // should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen(name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText(text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch(evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean(node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags(doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n };\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function writeAnchorTag(wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n });\n\n // url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\n var simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n replaceLink = function replaceLink(options) {\n 'use strict';\n\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n replaceMail = function replaceMail(options, globals) {\n 'use strict';\n\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\n showdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n });\n\n /**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n });\n\n /**\n * Process Markdown `` blocks.\n */\n showdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\n showdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm, function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, ''); // leading whitespace\n c = c.replace(/[ \\t]*$/g, ''); // trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n });\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Create a full HTML document from the processed markdown\n */\n showdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n });\n\n /**\n * Convert all tabs to spaces\n */\n showdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\n showdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\n showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n });\n\n /**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\n showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n });\n\n /**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\n showdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text.replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n });\n\n /**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\n showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch.replace(/(.)<\\/?code>(?=.)/g, '$1`').replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch.replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n });\n\n /**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\n showdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = options.omitExtraWLInCodeBlocks ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n });\n\n showdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape elements that should not be parsed as markdown\n */\n showdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function repFunc(wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n });\n\n showdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = ['pre', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'table', 'dl', 'ol', 'ul', 'script', 'noscript', 'form', 'fieldset', 'iframe', 'math', 'style', 'section', 'header', 'footer', 'nav', 'article', 'aside', 'address', 'audio', 'canvas', 'figure', 'hgroup', 'output', 'video', 'p'],\n repFunc = function repFunc(wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash span elements that should not be parsed as markdown\n */\n showdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan(html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Unhash HTML spans\n */\n showdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape elements that should not be parsed as markdown\n */\n showdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function repFunc(wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = isNaN(parseInt(options.headerLevelStart)) ? 1 : parseInt(options.headerLevelStart),\n\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = options.requireSpaceBeforeHeadingText ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId(m) {\n var title, prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '').replace(/¨T/g, '').replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '').toLowerCase();\n } else if (options.rawHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&').replace(/¨T/g, '¨').replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-').toLowerCase();\n } else {\n title = title.replace(/[^\\w]/g, '').toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + globals.hashLinkCounts[title]++;\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown image shortcuts into tags.\n */\n showdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64(wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText.replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside(txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n });\n\n /**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\n showdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n\n function processListItems(listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = /\\n[ \\t]*\\n(?!¨0)/.test(listStr);\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = checked && checked.trim() !== '';\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || item.search(/\\n{2,}/) > -1) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber(list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists(list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = options.disableForced4SpacesIndentedSublists ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = options.disableForced4SpacesIndentedSublists ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = listType === 'ul' ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL(txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = listType === 'ul' ? 'ol' : 'ul';\n counterRxg = listType === 'ul' ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, list, m2) {\n var listType = m2.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n });\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, m1, list, m3) {\n var listType = m3.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n });\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n });\n\n /**\n * Parse metadata at the top of the document\n */\n showdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents(content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n });\n\n /**\n * Remove one level of line-leading tabs or spaces\n */\n showdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n });\n\n /**\n *\n */\n showdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n });\n\n /**\n * Run extension\n */\n showdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n });\n\n /**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside(txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) {\n return parseInside(txt);\n });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n });\n\n /**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\n showdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*([^>\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,\n base64Regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function replaceFunc(wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n });\n\n showdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles(sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders(header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells(cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable(headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable(rawTable) {\n var i,\n tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) {\n return s.trim();\n }),\n rawStyles = tableLines[1].split('|').map(function (s) {\n return s.trim();\n }),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(tableLines[i].split('|').map(function (s) {\n return s.trim();\n }));\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {}\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Swap back in all the special characters we've hidden.\n */\n showdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n });\n\n showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n });\n\n showdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n });\n\n showdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n });\n\n showdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt.split('\\n').join('\\n ').replace(/^ {4}$/gm, '').replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n });\n\n showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n';\n }\n break;\n case 'h2':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n';\n }\n break;\n case 'h3':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n';\n }\n break;\n case 'h4':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n';\n }\n break;\n case 'h5':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n';\n }\n break;\n case 'h6':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n';\n }\n break;\n\n case 'p':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'blockquote':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'hr':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'ol':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n';\n }\n break;\n\n case 'ul':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n';\n }\n break;\n\n case 'precode':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'pre':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'table':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n';\n }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n });\n\n showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i,\n ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n });\n\n var root = this;\n\n // AMD Loader\n if (true) {\n !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n 'use strict';\n\n return showdown;\n }).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n // CommonJS/nodeJS Loader\n } else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n // Regular Browser loader\n } else {\n root.showdown = showdown;\n }\n}).call(this);\n\n//# sourceMappingURL=showdown.js.map\n\n/***/ }),\n\n/***/ \"99bU\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _preact = __webpack_require__(\"KM04\");\n\nif (false) {\n\trequire('preact/devtools');\n} else if (true && 'serviceWorker' in navigator && location.protocol === 'https:') {\n\tnavigator.serviceWorker.register(__webpack_require__.p + 'sw.js');\n}\n\nvar interopDefault = function interopDefault(m) {\n\treturn m && m.default ? m.default : m;\n};\n\nvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\nif (typeof app === 'function') {\n\tvar root = document.body.firstElementChild;\n\n\tvar init = function init() {\n\t\tvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (false) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n/***/ }),\n\n/***/ \"JkW7\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n// EXTERNAL MODULE: ../node_modules/preact/dist/preact.min.js\nvar preact_min = __webpack_require__(\"KM04\");\nvar preact_min_default = /*#__PURE__*/__webpack_require__.n(preact_min);\n\n// EXTERNAL MODULE: ./index.css\nvar index = __webpack_require__(\"xHuH\");\nvar index_default = /*#__PURE__*/__webpack_require__.n(index);\n\n// CONCATENATED MODULE: ../node_modules/preact-router/dist/preact-router.es.js\n\n\nvar EMPTY$1 = {};\n\nfunction preact_router_es_assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t c = url.match(reg),\n\t matches = {},\n\t ret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i = 0; i < p.length; i++) {\n\t\t\tvar r = p[i].split('=');\n\t\t\tmatches[decodeURIComponent(r[0])] = decodeURIComponent(r.slice(1).join('='));\n\t\t}\n\t}\n\turl = segmentize(url.replace(reg, ''));\n\troute = segmentize(route || '');\n\tvar max = Math.max(url.length, route.length);\n\tfor (var i$1 = 0; i$1 < max; i$1++) {\n\t\tif (route[i$1] && route[i$1].charAt(0) === ':') {\n\t\t\tvar param = route[i$1].replace(/(^\\:|[+*?]+$)/g, ''),\n\t\t\t flags = (route[i$1].match(/[+*?]+$/) || EMPTY$1)[0] || '',\n\t\t\t plus = ~flags.indexOf('+'),\n\t\t\t star = ~flags.indexOf('*'),\n\t\t\t val = url[i$1] || '';\n\t\t\tif (!val && !star && (flags.indexOf('?') < 0 || plus)) {\n\t\t\t\tret = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatches[param] = decodeURIComponent(val);\n\t\t\tif (plus || star) {\n\t\t\t\tmatches[param] = url.slice(i$1).map(decodeURIComponent).join('/');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} else if (route[i$1] !== url[i$1]) {\n\t\t\tret = false;\n\t\t\tbreak;\n\t\t}\n\t}\n\tif (opts.default !== true && ret === false) {\n\t\treturn false;\n\t}\n\treturn matches;\n}\n\nfunction pathRankSort(a, b) {\n\treturn a.rank < b.rank ? 1 : a.rank > b.rank ? -1 : a.index - b.index;\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0) == ':' ? 1 + '*+?'.indexOf(segment.charAt(segment.length - 1)) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_ != null || typeof Symbol !== 'undefined' && node[Symbol.for('preactattr')] != null;\n}\n\nfunction setUrl(url, type) {\n\tif (type === void 0) type = 'push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t} else if (typeof history !== 'undefined' && history[type + 'State']) {\n\t\thistory[type + 'State'](null, null, url);\n\t}\n}\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t} else if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t} else {\n\t\turl = typeof location !== 'undefined' ? location : EMPTY;\n\t}\n\treturn \"\" + (url.pathname || '') + (url.search || '');\n}\n\nfunction route(url, replace) {\n\tif (replace === void 0) replace = false;\n\n\tif (typeof url !== 'string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i = ROUTERS.length; i--;) {\n\t\tif (ROUTERS[i].canRoute(url)) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n}\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i = 0; i < ROUTERS.length; i++) {\n\t\tif (ROUTERS[i].routeTo(url) === true) {\n\t\t\tdidRoute = true;\n\t\t}\n\t}\n\tfor (var i$1 = subscribers.length; i$1--;) {\n\t\tsubscribers[i$1](url);\n\t}\n\treturn didRoute;\n}\n\nfunction routeFromLink(node) {\n\t// only valid elements\n\tif (!node || !node.getAttribute) {\n\t\treturn;\n\t}\n\n\tvar href = node.getAttribute('href'),\n\t target = node.getAttribute('target');\n\n\t// ignore links with targets and non-path URLs\n\tif (!href || !href.match(/^\\//g) || target && !target.match(/^_?self$/i)) {\n\t\treturn;\n\t}\n\n\t// attempt to route, if no match simply cede control to browser\n\treturn route(href);\n}\n\nfunction handleLinkClick(e) {\n\tif (e.button == 0) {\n\t\trouteFromLink(e.currentTarget || e.target || this);\n\t\treturn prevent(e);\n\t}\n}\n\nfunction prevent(e) {\n\tif (e) {\n\t\tif (e.stopImmediatePropagation) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\t\tif (e.stopPropagation) {\n\t\t\te.stopPropagation();\n\t\t}\n\t\te.preventDefault();\n\t}\n\treturn false;\n}\n\nfunction delegateLinkHandler(e) {\n\t// ignore events the browser takes care of already:\n\tif (e.ctrlKey || e.metaKey || e.altKey || e.shiftKey || e.button !== 0) {\n\t\treturn;\n\t}\n\n\tvar t = e.target;\n\tdo {\n\t\tif (String(t.nodeName).toUpperCase() === 'A' && t.getAttribute('href') && isPreactElement(t)) {\n\t\t\tif (t.hasAttribute('native')) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// if link is handled by the router, prevent browser defaults\n\t\t\tif (routeFromLink(t)) {\n\t\t\t\treturn prevent(e);\n\t\t\t}\n\t\t}\n\t} while (t = t.parentNode);\n}\n\nvar eventListenersInitialized = false;\n\nfunction initEventListeners() {\n\tif (eventListenersInitialized) {\n\t\treturn;\n\t}\n\n\tif (typeof addEventListener === 'function') {\n\t\tif (!customHistory) {\n\t\t\taddEventListener('popstate', function () {\n\t\t\t\trouteTo(getCurrentUrl());\n\t\t\t});\n\t\t}\n\t\taddEventListener('click', delegateLinkHandler);\n\t}\n\teventListenersInitialized = true;\n}\n\nvar preact_router_es_Router = function (Component$$1) {\n\tfunction Router(props) {\n\t\tComponent$$1.call(this, props);\n\t\tif (props.history) {\n\t\t\tcustomHistory = props.history;\n\t\t}\n\n\t\tthis.state = {\n\t\t\turl: props.url || getCurrentUrl()\n\t\t};\n\n\t\tinitEventListeners();\n\t}\n\n\tif (Component$$1) Router.__proto__ = Component$$1;\n\tRouter.prototype = Object.create(Component$$1 && Component$$1.prototype);\n\tRouter.prototype.constructor = Router;\n\n\tRouter.prototype.shouldComponentUpdate = function shouldComponentUpdate(props) {\n\t\tif (props.static !== true) {\n\t\t\treturn true;\n\t\t}\n\t\treturn props.url !== this.props.url || props.onChange !== this.props.onChange;\n\t};\n\n\t/** Check if the given URL can be matched against any children */\n\tRouter.prototype.canRoute = function canRoute(url) {\n\t\treturn this.getMatchingChildren(this.props.children, url, false).length > 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo(url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) {\n\t\t\treturn this.canRoute(url);\n\t\t}\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount() {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount() {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo(\"\" + (location.pathname || '') + (location.search || ''));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount() {\n\t\tif (typeof this.unlisten === 'function') {\n\t\t\tthis.unlisten();\n\t\t}\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate() {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate() {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren(children, url, invoke) {\n\t\treturn children.filter(prepareVNodeForRanking).sort(pathRankSort).map(function (vnode) {\n\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\tif (matches) {\n\t\t\t\tif (invoke !== false) {\n\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\tpreact_router_es_assign(newProps, matches);\n\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\treturn Object(preact_min[\"cloneElement\"])(vnode, newProps);\n\t\t\t\t}\n\t\t\t\treturn vnode;\n\t\t\t}\n\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render(ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url !== previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange === 'function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(preact_min[\"Component\"]);\n\nvar preact_router_es_Link = function Link(props) {\n\treturn Object(preact_min[\"h\"])('a', preact_router_es_assign({ onClick: handleLinkClick }, props));\n};\n\nvar preact_router_es_Route = function Route(props) {\n\treturn Object(preact_min[\"h\"])(props.component, props);\n};\n\npreact_router_es_Router.subscribers = subscribers;\npreact_router_es_Router.getCurrentUrl = getCurrentUrl;\npreact_router_es_Router.route = route;\npreact_router_es_Router.Router = preact_router_es_Router;\npreact_router_es_Router.Route = preact_router_es_Route;\npreact_router_es_Router.Link = preact_router_es_Link;\n\n/* harmony default export */ var preact_router_es = (preact_router_es_Router);\n//# sourceMappingURL=preact-router.es.js.map\n// EXTERNAL MODULE: ./pages/home.css\nvar home = __webpack_require__(\"36Ou\");\nvar home_default = /*#__PURE__*/__webpack_require__.n(home);\n\n// EXTERNAL MODULE: ./components/panel.css\nvar panel = __webpack_require__(\"P9k+\");\nvar panel_default = /*#__PURE__*/__webpack_require__.n(panel);\n\n// CONCATENATED MODULE: ./components/panel.js\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar panel_Panel = function (_Component) {\n\t_inherits(Panel, _Component);\n\n\tfunction Panel() {\n\t\t_classCallCheck(this, Panel);\n\n\t\treturn _possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPanel.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"div\",\n\t\t\t{ \"class\": panel_default.a.panel },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Panel;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/split.css\nvar split = __webpack_require__(\"1EpE\");\nvar split_default = /*#__PURE__*/__webpack_require__.n(split);\n\n// CONCATENATED MODULE: ./components/split.js\n\n\nfunction split__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction split__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction split__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar split_Split = function (_Component) {\n split__inherits(Split, _Component);\n\n function Split() {\n split__classCallCheck(this, Split);\n\n return split__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Split.prototype.render = function render() {\n var percent = 100 / this.props.children.count;\n var children = null;\n if (Array.isArray(this.props.children)) {\n children = this.props.children.map(function (element) {\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n element\n );\n });\n } else {\n children = Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n this.props.children\n );\n }\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.split },\n children\n );\n };\n\n return Split;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/todo.css\nvar todo = __webpack_require__(\"tO1d\");\nvar todo_default = /*#__PURE__*/__webpack_require__.n(todo);\n\n// CONCATENATED MODULE: ./components/todo.js\n\n\nfunction todo__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction todo__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction todo__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar todo_Todo = function (_Component) {\n\ttodo__inherits(Todo, _Component);\n\n\tfunction Todo() {\n\t\ttodo__classCallCheck(this, Todo);\n\n\t\treturn todo__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tTodo.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": todo_default.a.todo },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Todo;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/home.js\n\n\nfunction home__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction home__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction home__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\nvar _ref = Object(preact_min[\"h\"])(\n 'div',\n null,\n Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Appuntiweb ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n 'di ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://steffo.eu/' },\n 'Steffo'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Argomenti'\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: '/fisica' },\n 'Fisica'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti delle ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/rubrica/contenutiad/brunetti/2019/58025/N0/N0/9999' },\n 'lezioni di Fisica'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenute dalla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/brunetti' },\n 'Prof.ssa Rossella Brunetti'\n ),\n ' nel primo semestre dell\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2019_SistemiOperativi/Arzigogoli' },\n 'Sistemi Operativi'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Soluzioni agli ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://weblab.ing.unimore.it/people/andreolini/didattica/sistemi-operativi/index.html#arzigogoli' },\n 'Arzigogoli'\n ),\n ' proposti dal ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/andreolini' },\n 'Prof. Mauro Andreolini'\n ),\n ' durante le ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/contenutiad/andreolini/2019/58027/N0/N0/9999' },\n 'lezioni di Sistemi Operativi'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' tenutesi nel primo semestre dell\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2018_AlgoritmiEStruttureDati' },\n 'Algoritmi e Strutture Dati'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti delle ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/contenutiad/mmontangero/2018/58133/N0/N0/9999' },\n 'lezioni di Algoritmi e Strutture Dati'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenute dalla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/mmontangero' },\n 'Prof.ssa Manuela Montangero'\n ),\n ' nel secondo semestre dell\\'Anno Accademico 2018/2019.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: '/vldigeometria' },\n 'Videolezioni di Geometria'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ottime videolezioni di Geometria con licenza ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://creativecommons.org/licenses/by-nc-sa/4.0/' },\n 'CC BY-NC-SA 4.0'\n ),\n ' che ho trovato sul ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0' },\n 'portale Dolly 2018'\n ),\n ' dell\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: '/mingwinstall' },\n 'Come installare MinGW'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un breve tutorial con immagini su come installare e configurare ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/MinGW' },\n 'MinGW'\n ),\n ' per compilare programmi C e C++ su Windows.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Altre collegamenti utili'\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://t.me/unimoreinfo' },\n '@unimoreinfo'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il gruppo ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://telegram.org/' },\n 'Telegram'\n ),\n ' del corso di Informatica dell\\'Unimore!'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://calendar.google.com/calendar?cid=MmYza2o2M3VuZWQ1cmZqaGpmOGY0MWFrNmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ' },\n 'Calendario Lezioni'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Calendario Google ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n 'quasi'\n ),\n ' sempre aggiornato delle lezioni e degli esami del secondo anno dell\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' durante l\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://erre2.fermitech.info/dashboard' },\n 'Erre2'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Portale contenente appunti e riassunti mantenuto da ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/LBindustries' },\n 'Lorenzo Balugani'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h2',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/vezzalinistefano/Appunti-Algoritmi' },\n 'vezzalinistefano/Appunti-Algoritmi'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti di Algoritmi e Strutture Dati mantenuti da ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/vezzalinistefano/' },\n 'Vezzalini Stefano'\n ),\n '.'\n )\n )\n )\n);\n\nvar Home = function (_Component) {\n home__inherits(Home, _Component);\n\n function Home() {\n home__classCallCheck(this, Home);\n\n return home__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Home.prototype.render = function render() {\n return _ref;\n };\n\n return Home;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/fisica.css\nvar fisica = __webpack_require__(\"0lnO\");\nvar fisica_default = /*#__PURE__*/__webpack_require__.n(fisica);\n\n// EXTERNAL MODULE: ./components/latex.css\nvar latex = __webpack_require__(\"+uq9\");\nvar latex_default = /*#__PURE__*/__webpack_require__.n(latex);\n\n// CONCATENATED MODULE: ./components/latex.js\n\n\nfunction latex__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction latex__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction latex__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar latex_Latex = function (_Component) {\n\tlatex__inherits(Latex, _Component);\n\n\tfunction Latex() {\n\t\tlatex__classCallCheck(this, Latex);\n\n\t\treturn latex__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tLatex.prototype.render = function render() {\n\t\tvar equation = \"{\\\\color{White} \" + this.props.children + \" }\";\n\t\treturn Object(preact_min[\"h\"])(\"img\", { src: \"https://latex.codecogs.com/png.latex?\" + equation,\n\t\t\talt: this.props.children,\n\t\t\ttitle: this.props.children,\n\t\t\t\"class\": latex_default.a.latex });\n\t};\n\n\treturn Latex;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/plus.css\nvar plus = __webpack_require__(\"ddTt\");\nvar plus_default = /*#__PURE__*/__webpack_require__.n(plus);\n\n// CONCATENATED MODULE: ./components/plus.js\n\n\nfunction plus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction plus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction plus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar plus_Plus = function (_Component) {\n\tplus__inherits(Plus, _Component);\n\n\tfunction Plus() {\n\t\tplus__classCallCheck(this, Plus);\n\n\t\treturn plus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPlus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": plus_default.a.plus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Plus;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/minus.css\nvar minus = __webpack_require__(\"MeW5\");\nvar minus_default = /*#__PURE__*/__webpack_require__.n(minus);\n\n// CONCATENATED MODULE: ./components/minus.js\n\n\nfunction minus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction minus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction minus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar minus_Minus = function (_Component) {\n\tminus__inherits(Minus, _Component);\n\n\tfunction Minus() {\n\t\tminus__classCallCheck(this, Minus);\n\n\t\treturn minus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tMinus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": minus_default.a.minus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Minus;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/fisica.js\nvar _templateObject = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\x0Bec{v}_x + \\x0Bec{v}_y'], ['\\\\vec{v} = \\\\vec{v}_x + \\\\vec{v}_y']),\n _templateObject2 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_x \\right | = left | \\x0Bec{v} \\right | sin alpha'], ['\\\\left | \\\\vec{v}_x \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\sin \\\\alpha']),\n _templateObject3 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_y \\right | = left | \\x0Bec{v} \\right | cos alpha'], ['\\\\left | \\\\vec{v}_y \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\cos \\\\alpha']),\n _templateObject4 = _taggedTemplateLiteralLoose(['\\x0Bec{v} + \\x0Bec{w} = (\\x0Bec{v}_x + \\x0Bec{w}_x) + (\\x0Bec{v}_y + \\x0Bec{w}_y)'], ['\\\\vec{v} + \\\\vec{w} = (\\\\vec{v}_x + \\\\vec{w}_x) + (\\\\vec{v}_y + \\\\vec{w}_y)']),\n _templateObject5 = _taggedTemplateLiteralLoose(['\\x0Bec{v} - \\x0Bec{w} = (\\x0Bec{v}_x - \\x0Bec{w}_x) + (\\x0Bec{v}_y - \\x0Bec{w}_y)'], ['\\\\vec{v} - \\\\vec{w} = (\\\\vec{v}_x - \\\\vec{w}_x) + (\\\\vec{v}_y - \\\\vec{w}_y)']),\n _templateObject6 = _taggedTemplateLiteralLoose(['\\x0Bec{v} cdot \\x0Bec{w} = left | \\x0Bec{v} \\right | left | \\x0Bec{w} \\right | cos alpha'], ['\\\\vec{v} \\\\cdot \\\\vec{w} = \\\\left | \\\\vec{v} \\\\right | \\\\left | \\\\vec{w} \\\\right | \\\\cos \\\\alpha']),\n _templateObject7 = _taggedTemplateLiteralLoose(['\\x0Bec{a}'], ['\\\\vec{a}']),\n _templateObject8 = _taggedTemplateLiteralLoose(['\\x0Bec{b}'], ['\\\\vec{b}']),\n _templateObject9 = _taggedTemplateLiteralLoose(['\\x0Bec{c} = \\x0Bec{a} \\times \\x0Bec{b}'], ['\\\\vec{c} = \\\\vec{a} \\\\times \\\\vec{b}']),\n _templateObject10 = _taggedTemplateLiteralLoose(['left | \\x0Bec{c} \\right | = left | \\x0Bec{a} \\right | cdot left | \\x0Bec{b} \\right | cdot sin(alpha)'], ['\\\\left | \\\\vec{c} \\\\right | = \\\\left | \\\\vec{a} \\\\right | \\\\cdot \\\\left | \\\\vec{b} \\\\right | \\\\cdot \\\\sin(\\\\alpha)']),\n _templateObject11 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta v = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta v = 0']),\n _templateObject12 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = m \\x0Bec{a}'], ['\\\\Sigma \\\\vec{F} = m \\\\vec{a}']),\n _templateObject13 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{21} = -\\x0Bec{F}_{12}'], ['\\\\vec{F}_{21} = -\\\\vec{F}_{12}']),\n _templateObject14 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = G \\frac{m_1 m_2}{s^2}'], ['\\\\left | \\\\vec{F} \\\\right | = G \\\\frac{m_1 m_2}{s^2}']),\n _templateObject15 = _taggedTemplateLiteralLoose(['G = 6.67 cdot 10^{-11} \\frac{N m^2}{{kg}^2}'], ['G = 6.67 \\\\cdot 10^{-11} \\\\frac{N m^2}{{kg}^2}']),\n _templateObject16 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = g m'], ['\\\\left | \\\\vec{F} \\\\right | = g m']),\n _templateObject17 = _taggedTemplateLiteralLoose(['g = 9.81 \\frac{m}{s^2}'], ['g = 9.81 \\\\frac{m}{s^2}']),\n _templateObject18 = _taggedTemplateLiteralLoose(['g_{luna} = 1.62 \\frac{m}{s^2}'], ['g_{luna} = 1.62 \\\\frac{m}{s^2}']),\n _templateObject19 = _taggedTemplateLiteralLoose(['g_{marte} = 3.71 \\frac{m}{s^2}'], ['g_{marte} = 3.71 \\\\frac{m}{s^2}']),\n _templateObject20 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{s} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{s} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject21 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{d} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{d} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject22 = _taggedTemplateLiteralLoose(['F = -k x'], ['F = -k x']),\n _templateObject23 = _taggedTemplateLiteralLoose(['Delta \\x0Bec{s} = \\x0Bec{s}(fine) - \\x0Bec{s}(inizio)'], ['\\\\Delta \\\\vec{s} = \\\\vec{s}(fine) - \\\\vec{s}(inizio)']),\n _templateObject24 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\frac{Delta \\x0Bec{s}}{Delta t}'], ['\\\\vec{v} = \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t}']),\n _templateObject25 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = lim_{Delta t \\to 0} \\frac{Delta \\x0Bec{s}}{Delta t} = \\frac{d \\x0Bec{s}}{dt}'], ['\\\\vec{v} = \\\\lim_{\\\\Delta t \\\\to 0} \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t} = \\\\frac{d \\\\vec{s}}{dt}']),\n _templateObject26 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = \\frac{Delta \\x0Bec{v}}{Delta t}'], ['\\\\vec{a} = \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t}']),\n _templateObject27 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = lim_{Delta v \\to 0} \\frac{Delta \\x0Bec{v}}{Delta t} = \\frac{d \\x0Bec{v}}{d t} = \\frac{d^2 \\x0Bec{s}}{d t^2}'], ['\\\\vec{a} = \\\\lim_{\\\\Delta v \\\\to 0} \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t} = \\\\frac{d \\\\vec{v}}{d t} = \\\\frac{d^2 \\\\vec{s}}{d t^2}']),\n _templateObject28 = _taggedTemplateLiteralLoose(['\\x0Bec{p} = m \\x0Bec{v}'], ['\\\\vec{p} = m \\\\vec{v}']),\n _templateObject29 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta \\x0Bec{p} = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta \\\\vec{p} = 0']),\n _templateObject30 = _taggedTemplateLiteralLoose(['s(t) = v cdot Delta t + s(0)'], ['s(t) = v \\\\cdot \\\\Delta t + s(0)']),\n _templateObject31 = _taggedTemplateLiteralLoose(['v(t) = k'], ['v(t) = k']),\n _templateObject32 = _taggedTemplateLiteralLoose(['a(t) = 0'], ['a(t) = 0']),\n _templateObject33 = _taggedTemplateLiteralLoose(['s(t) = \\frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)'], ['s(t) = \\\\frac{1}{2} a \\\\cdot (\\\\Delta t)^2 + v(0) \\\\cdot (\\\\Delta t) + s(0)']),\n _templateObject34 = _taggedTemplateLiteralLoose(['v(t) = a Delta t + v(0)'], ['v(t) = a \\\\Delta t + v(0)']),\n _templateObject35 = _taggedTemplateLiteralLoose(['a(t) = k'], ['a(t) = k']),\n _templateObject36 = _taggedTemplateLiteralLoose(['omega = \\frac{2 pi}{T}'], ['\\\\omega = \\\\frac{2 \\\\pi}{T}']),\n _templateObject37 = _taggedTemplateLiteralLoose(['s(t) = A sin (omega cdot t + phi)'], ['s(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi)']),\n _templateObject38 = _taggedTemplateLiteralLoose(['\\frac{pi}{2}'], ['\\\\frac{\\\\pi}{2}']),\n _templateObject39 = _taggedTemplateLiteralLoose(['v(t) = A sin (omega cdot t + phi + \\frac{pi}{2})'], ['v(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\frac{\\\\pi}{2})']),\n _templateObject40 = _taggedTemplateLiteralLoose(['pi'], ['\\\\pi']),\n _templateObject41 = _taggedTemplateLiteralLoose(['a(t) = A sin (omega cdot t + phi + pi)'], ['a(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\pi)']),\n _templateObject42 = _taggedTemplateLiteralLoose(['phi'], ['\\\\phi']),\n _templateObject43 = _taggedTemplateLiteralLoose(['v = \\frac{Delta s}{t} = \\frac{2 pi cdot r}{T} = omega r'], ['v = \\\\frac{\\\\Delta s}{t} = \\\\frac{2 \\\\pi \\\\cdot r}{T} = \\\\omega r']),\n _templateObject44 = _taggedTemplateLiteralLoose(['a = \\frac{v^2}{r} = r cdot omega^2 = v cdot omega'], ['a = \\\\frac{v^2}{r} = r \\\\cdot \\\\omega^2 = v \\\\cdot \\\\omega']),\n _templateObject45 = _taggedTemplateLiteralLoose(['F = m cdot a'], ['F = m \\\\cdot a']),\n _templateObject46 = _taggedTemplateLiteralLoose(['W = \\x0Bec{F} cdot \\x0Bec{s} = F cdot Delta s cdot cos(alpha )'], ['W = \\\\vec{F} \\\\cdot \\\\vec{s} = F \\\\cdot \\\\Delta s \\\\cdot cos(\\\\alpha )']),\n _templateObject47 = _taggedTemplateLiteralLoose(['E_c = \\frac{1}{2} m v^2'], ['E_c = \\\\frac{1}{2} m v^2']),\n _templateObject48 = _taggedTemplateLiteralLoose(['Delta E_c = W'], ['\\\\Delta E_c = W']),\n _templateObject49 = _taggedTemplateLiteralLoose(['E_{p_g} = m cdot g cdot h'], ['E_{p_g} = m \\\\cdot g \\\\cdot h']),\n _templateObject50 = _taggedTemplateLiteralLoose(['E_{p_e} = \\frac{1}{2} k x^2'], ['E_{p_e} = \\\\frac{1}{2} k x^2']),\n _templateObject51 = _taggedTemplateLiteralLoose(['E = E_k + E_p'], ['E = E_k + E_p']),\n _templateObject52 = _taggedTemplateLiteralLoose(['P = \\frac{Delta E}{Delta t}'], ['P = \\\\frac{\\\\Delta E}{\\\\Delta t}']),\n _templateObject53 = _taggedTemplateLiteralLoose(['C_{elettrone} = 1.602 cdot 10^{-19}'], ['C_{elettrone} = 1.602 \\\\cdot 10^{-19}']),\n _templateObject54 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{-k cdot q_1 cdot q_2}{s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{-k \\\\cdot q_1 \\\\cdot q_2}{s^2}']),\n _templateObject55 = _taggedTemplateLiteralLoose(['k'], ['k']),\n _templateObject56 = _taggedTemplateLiteralLoose(['k = 8.99 cdot 10^9 \\frac{N cdot m^2}{C^2}'], ['k = 8.99 \\\\cdot 10^9 \\\\frac{N \\\\cdot m^2}{C^2}']),\n _templateObject57 = _taggedTemplateLiteralLoose(['epsilon_0'], ['\\\\epsilon_0']),\n _templateObject58 = _taggedTemplateLiteralLoose(['k = \\frac{1}{4 pi cdot epsilon_0}'], ['k = \\\\frac{1}{4 \\\\pi \\\\cdot \\\\epsilon_0}']),\n _templateObject59 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{q_1 \\\\cdot q_2}{4 \\\\pi \\\\cdot \\\\epsilon_0 \\\\cdot s^2}']),\n _templateObject60 = _taggedTemplateLiteralLoose(['\\x0Bec{E} = \\frac{\\x0Bec{F}_{elettrica}}{q} = \\frac{-k cdot q}{s^2}'], ['\\\\vec{E} = \\\\frac{\\\\vec{F}_{elettrica}}{q} = \\\\frac{-k \\\\cdot q}{s^2}']),\n _templateObject61 = _taggedTemplateLiteralLoose(['Phi_E = \\x0Bec{E} cdot \\x0Bec{S} = E cdot S cdot cos(phi)'], ['\\\\Phi_E = \\\\vec{E} \\\\cdot \\\\vec{S} = E \\\\cdot S \\\\cdot \\\\cos(\\\\phi)']),\n _templateObject62 = _taggedTemplateLiteralLoose(['\\x0Bec{S}'], ['\\\\vec{S}']),\n _templateObject63 = _taggedTemplateLiteralLoose(['Phi_E = \\frac{q_{interna}}{epsilon_0}'], ['\\\\Phi_E = \\\\frac{q_{interna}}{\\\\epsilon_0}']),\n _templateObject64 = _taggedTemplateLiteralLoose(['U_e'], ['U_e']),\n _templateObject65 = _taggedTemplateLiteralLoose(['V = \\frac{E_{elettrica}}{q}'], ['V = \\\\frac{E_{elettrica}}{q}']),\n _templateObject66 = _taggedTemplateLiteralLoose(['V'], ['V']),\n _templateObject67 = _taggedTemplateLiteralLoose(['I = \\frac{Delta q}{Delta t}'], ['I = \\\\frac{\\\\Delta q}{\\\\Delta t}']),\n _templateObject68 = _taggedTemplateLiteralLoose(['A'], ['A']),\n _templateObject69 = _taggedTemplateLiteralLoose(['P = \\frac{Delta U}{Delta t} = I cdot Delta V = I^2 cdot R = \\frac{(Delta V)^2}{R}'], ['P = \\\\frac{\\\\Delta U}{\\\\Delta t} = I \\\\cdot \\\\Delta V = I^2 \\\\cdot R = \\\\frac{(\\\\Delta V)^2}{R}']),\n _templateObject70 = _taggedTemplateLiteralLoose(['V = R cdot I'], ['V = R \\\\cdot I']),\n _templateObject71 = _taggedTemplateLiteralLoose(['R'], ['R']),\n _templateObject72 = _taggedTemplateLiteralLoose(['Omega'], ['\\\\Omega']),\n _templateObject73 = _taggedTemplateLiteralLoose(['R = \\rho \\frac{L_{unghezza}}{A_{rea}}'], ['R = \\\\rho \\\\frac{L_{unghezza}}{A_{rea}}']),\n _templateObject74 = _taggedTemplateLiteralLoose(['\\rho'], ['\\\\rho']),\n _templateObject75 = _taggedTemplateLiteralLoose(['\\rho = \\rho_0 (1 + alpha(T - T_0))'], ['\\\\rho = \\\\rho_0 (1 + \\\\alpha(T - T_0))']),\n _templateObject76 = _taggedTemplateLiteralLoose(['C = \\frac{q_{massima}}{Delta V}'], ['C = \\\\frac{q_{massima}}{\\\\Delta V}']),\n _templateObject77 = _taggedTemplateLiteralLoose(['C_{nuova} = kappa cdot \\frac{epsilon_0 cdot A}{s}'], ['C_{nuova} = \\\\kappa \\\\cdot \\\\frac{\\\\epsilon_0 \\\\cdot A}{s}']),\n _templateObject78 = _taggedTemplateLiteralLoose(['kappa'], ['\\\\kappa']),\n _templateObject79 = _taggedTemplateLiteralLoose(['d'], ['d']),\n _templateObject80 = _taggedTemplateLiteralLoose(['Fa'], ['Fa']),\n _templateObject81 = _taggedTemplateLiteralLoose(['R_{serie} = sum_{i=1}^{n} R_i'], ['R_{serie} = \\\\sum_{i=1}^{n} R_i']),\n _templateObject82 = _taggedTemplateLiteralLoose(['R_{parallelo} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{R_i}}'], ['R_{parallelo} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{R_i}}']),\n _templateObject83 = _taggedTemplateLiteralLoose(['C_{serie} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{C_i}}'], ['C_{serie} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{C_i}}']),\n _templateObject84 = _taggedTemplateLiteralLoose(['C_{parallelo} = sum_{i=1}^{n} C_n'], ['C_{parallelo} = \\\\sum_{i=1}^{n} C_n']),\n _templateObject85 = _taggedTemplateLiteralLoose(['mu_0 = 4 pi cdot 10^{-7} \\frac{H}{m}'], ['\\\\mu_0 = 4 \\\\pi \\\\cdot 10^{-7} \\\\frac{H}{m}']),\n _templateObject86 = _taggedTemplateLiteralLoose(['\\frac{N}{A^2}'], ['\\\\frac{N}{A^2}']),\n _templateObject87 = _taggedTemplateLiteralLoose(['B'], ['B']),\n _templateObject88 = _taggedTemplateLiteralLoose(['Phi_B'], ['\\\\Phi_B']),\n _templateObject89 = _taggedTemplateLiteralLoose(['Wb = T cdot m^2'], ['Wb = T \\\\cdot m^2']),\n _templateObject90 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{magnetica} = q cdot (\\x0Bec{v} \\times \\x0Bec{B})'], ['\\\\vec{F}_{magnetica} = q \\\\cdot (\\\\vec{v} \\\\times \\\\vec{B})']),\n _templateObject91 = _taggedTemplateLiteralLoose(['\\x0Bec{B}'], ['\\\\vec{B}']),\n _templateObject92 = _taggedTemplateLiteralLoose(['\\x0Bec{v}'], ['\\\\vec{v}']),\n _templateObject93 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{magnetica} = I cdot (\\x0Bec{L} \\times \\x0Bec{B})'], ['\\\\vec{F}_{magnetica} = I \\\\cdot (\\\\vec{L} \\\\times \\\\vec{B})']),\n _templateObject94 = _taggedTemplateLiteralLoose(['\\x0Bec{L}'], ['\\\\vec{L}']),\n _templateObject95 = _taggedTemplateLiteralLoose(['left | \\x0Bec{B} \\right | = mu_0 cdot I cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}'], ['\\\\left | \\\\vec{B} \\\\right | = \\\\mu_0 \\\\cdot I \\\\cdot \\\\frac{A_{vvolgimenti}}{L_{unghezzafilo}}']),\n _templateObject96 = _taggedTemplateLiteralLoose(['left | \\x0Bec{B} \\right | = \\frac{mu cdot I}{2 pi r}'], ['\\\\left | \\\\vec{B} \\\\right | = \\\\frac{\\\\mu \\\\cdot I}{2 \\\\pi r}']),\n _templateObject97 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = v cdot B cdot L'], ['\\\\Delta V_{indotta} = v \\\\cdot B \\\\cdot L']),\n _templateObject98 = _taggedTemplateLiteralLoose(['Phi_B = \\x0Bec{B} cdot \\x0Bec{A} = B cdot A cdot cos(alpha)'], ['\\\\Phi_B = \\\\vec{B} \\\\cdot \\\\vec{A} = B \\\\cdot A \\\\cdot \\\\cos(\\\\alpha)']);\n\n\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction fisica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction fisica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction fisica__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\nvar r = String.raw;\n\nvar fisica__ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Fisica'\n);\n\nvar _ref2 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Vettori'\n);\n\nvar _ref3 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Componenti cartesiane'\n);\n\nvar _ref4 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Usa le regole base della trigonometria:'\n);\n\nvar _ref5 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Somma'\n);\n\nvar _ref6 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Scomponi in componenti, poi sommali:'\n);\n\nvar _ref7 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore risultante dall\\'applicazione della regola del parallelogramma.'\n);\n\nvar _ref8 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Differenza'\n);\n\nvar _ref9 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Alla fine \\xE8 sempre una somma:'\n);\n\nvar _ref10 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore che parte da ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'w'\n ),\n ' e arriva a ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'v'\n ),\n '.'\n);\n\nvar _ref11 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Prodotto scalare'\n);\n\nvar _ref12 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama scalare perch\\xE8 il risultato \\xE8 uno scalare, non un vettore.'\n);\n\nvar _ref13 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Prodotto vettoriale'\n);\n\nvar _ref14 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama vettoriale perch\\xE8 il risultato \\xE8 un altro vettore.'\n);\n\nvar _ref15 = Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Regola_della_mano_destra' },\n 'Regola della mano destra'\n )\n);\n\nvar _ref16 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Non \\xE8 commutativo!'\n);\n\nvar _ref17 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Leggi di Newton'\n);\n\nvar _ref18 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n '1\\u1D43: Inerzia'\n);\n\nvar _ref19 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo puntiforme ha forza risultante nulla, allora la sua velocit\\xE0 non cambia.'\n);\n\nvar _ref20 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n '2\\u1D43: Proporzionalit\\xE0'\n);\n\nvar _ref21 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La forza risultante di un corpo \\xE8 direttamente proporzionale alla sua accelerazione, e la costante di proporzionalit\\xE0 \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'massa'\n ),\n '.'\n);\n\nvar _ref22 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n '3\\u1D43: Azione e reazione'\n);\n\nvar _ref23 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi esercitano forze uguali e opposte uno sull\\'altro.'\n);\n\nvar _ref24 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Forza di gravit\\xE0'\n);\n\nvar _ref25 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Tra due corpi'\n);\n\nvar _ref26 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi puntiformi si attirano uno verso l\\'altro con forza:'\n);\n\nvar _ref27 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'G'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravitazione universale'\n ),\n ' e vale:'\n);\n\nvar _ref28 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Verso la Terra'\n);\n\nvar _ref29 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo \\xE8 attratto verso la Terra con forza ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'peso'\n ),\n ' uguale a:'\n);\n\nvar _ref30 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'g'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ' della Terra, e vale:'\n);\n\nvar _ref31 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Su pianeti diversi'\n);\n\nvar _ref32 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per pianeti diversi dalla Terra vale la stessa regola:'\n);\n\nvar _ref33 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'unica differenza \\xE8 che cambia la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ':'\n);\n\nvar _ref34 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Forze di contatto'\n);\n\nvar _ref35 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Normale'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si oppone alle forze applicate alla superficie di contatto.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un libro appoggiato su un tavolo ha la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza di gravit\\xE0'\n ),\n ' che lo attira verso il terreno e la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza normale'\n ),\n ' che lo trattiene dal cadere.'\n )\n);\n\nvar _ref36 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Attrito statico'\n);\n\nvar _ref37 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:'\n);\n\nvar _ref38 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Attrito dinamico'\n);\n\nvar _ref39 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Rallenta i corpi che si stanno muovendo finch\\xE8 essi non si fermano:'\n);\n\nvar _ref40 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Tensione'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' forza trasmessa tra due estremi di una fune.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pu\\xF2 essere redirezionata per mezzo di carrucole.'\n )\n);\n\nvar _ref41 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Elastica'\n);\n\nvar _ref42 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla cerca sempre di tornare alla sua posizione indeformata con forza:'\n);\n\nvar _ref43 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(E\\' negativa perch\\xE8 la forza \\xE8 opposta a quella applicata per deformarla.)'\n);\n\nvar _ref44 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Cinematica'\n);\n\nvar _ref45 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref46 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che indica la posizione di un corpo rispetto a un\\'origine.'\n);\n\nvar _ref47 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref48 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di posizione nel tempo.'\n);\n\nvar _ref49 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'velocit\\xE0 istantanea'\n ),\n ':'\n);\n\nvar _ref50 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref51 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di velocit\\xE0 nel tempo.'\n);\n\nvar _ref52 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'accelerazione istantanea'\n ),\n ':'\n);\n\nvar _ref53 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Quantit\\xE0 di moto ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(momento lineare)'\n )\n);\n\nvar _ref54 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La quantit\\xE0 di moto \\xE8 una propriet\\xE0 vettoriale dei corpi:'\n);\n\nvar _ref55 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la forza risultante \\xE8 nulla, la quantit\\xE0 di moto non cambia.'\n);\n\nvar _ref56 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto rettilineo uniforme'\n);\n\nvar _ref57 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref58 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref59 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref60 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref61 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref62 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La velocit\\xE0 non varia:'\n);\n\nvar _ref63 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = 0'\n )\n )\n);\n\nvar _ref64 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto rettilineo uniformemente accelerato'\n);\n\nvar _ref65 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref66 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref67 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref68 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una retta:'\n);\n\nvar _ref69 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref70 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref71 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref72 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto armonico semplice'\n);\n\nvar _ref73 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Ampiezza'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la distanza dal centro massima che raggiunge il corpo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(L\\'ampiezza di una sinusoide.)'\n )\n);\n\nvar _ref74 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0 angolare'\n);\n\nvar _ref75 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Indica quanto in fretta cambia la posizione del corpo.'\n);\n\nvar _ref76 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dipende dal periodo:'\n);\n\nvar _ref77 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref78 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una sinusoide:'\n);\n\nvar _ref79 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref80 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref81 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref82 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moti composti'\n);\n\nvar _ref83 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Moto parabolico'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando un moto rettilineo uniforme sull\\'asse orizzontale e un moto rettilineo uniformemente accelerato sull\\'asse verticale.'\n )\n);\n\nvar _ref84 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Moto circolare uniforme'\n);\n\nvar _ref85 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto circolare uniforme'\n);\n\nvar _ref86 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0 angolare'\n);\n\nvar _ref87 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanto cambia la fase nel tempo.'\n);\n\nvar _ref88 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Fase'\n);\n\nvar _ref89 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' l\\'angolo percorso dal corpo rispetto alla posizione iniziale.'\n);\n\nvar _ref90 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref91 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applicano le formule per la circonferenza:'\n);\n\nvar _ref92 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref93 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:'\n);\n\nvar _ref94 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forza centripeta'\n);\n\nvar _ref95 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 verso il centro e si calcola con:'\n);\n\nvar _ref96 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Lavoro ed energia'\n);\n\nvar _ref97 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Lavoro'\n);\n\nvar _ref98 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' compiuto da una forza che sposta un corpo.'\n);\n\nvar _ref99 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Se la forza non \\xE8 parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)'\n);\n\nvar _ref100 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia cinetica'\n);\n\nvar _ref101 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia cinetica in ogni momento uguale a:'\n);\n\nvar _ref102 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:'\n);\n\nvar _ref103 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia potenziale gravitazionale'\n);\n\nvar _ref104 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia potenziale in ogni momento pari a:'\n);\n\nvar _ref105 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'h'\n ),\n ' uguale a un altezza scelta come punto di riferimento.)'\n);\n\nvar _ref106 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia potenziale elastica'\n);\n\nvar _ref107 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla ha sempre energia potenziale elastica pari a:'\n);\n\nvar _ref108 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze conservative'\n);\n\nvar _ref109 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all\\'arrivo.'\n);\n\nvar _ref110 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ad esempio, \\xE8 conservativa la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza di gravit\\xE0'\n ),\n ', ma ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'non'\n ),\n ' \\xE8 conservativa la forza di attrito.'\n);\n\nvar _ref111 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se in un sistema ci sono solo forze conservative, allora l\\'energia meccanica totale si conserva:'\n);\n\nvar _ref112 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Potenza'\n);\n\nvar _ref113 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la velocit\\xE0 di trasferimento di energia:'\n);\n\nvar _ref114 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Elettrostatica'\n);\n\nvar _ref115 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Carica elettrica'\n);\n\nvar _ref116 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una propriet\\xE0 dei corpi che pu\\xF2 essere ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positiva'\n ),\n ' o ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negativa'\n ),\n '.'\n);\n\nvar _ref117 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si conserva: in un sistema chiuso la carica totale \\xE8 costante.'\n);\n\nvar _ref118 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'opp'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'oste'\n ),\n ' si attraggono; cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'uguali'\n ),\n ' si respingono.'\n);\n\nvar _ref119 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Conduttori e isolanti'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Ione' },\n 'ioni'\n ),\n ' ha un corpo, meglio la carica si muove attraverso di esso.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I corpi in cui la carica si muove bene sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'conduttori'\n ),\n ', mentre quelli in cui si muove difficilmente sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'isolanti'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il corpo umano \\xE8 un buon conduttore.'\n )\n);\n\nvar _ref120 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Polarizzazione'\n);\n\nvar _ref121 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.'\n )\n )\n);\n\nvar _ref122 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Messa a terra'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore \\xE8 in contatto con la Terra, le cariche su di esso saranno ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'equilibrate'\n ),\n ' e il corpo diventer\\xE0 elettricamente neutro (con stesso numero di ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'cariche positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' all\\'interno).'\n )\n )\n);\n\nvar _ref123 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione per strofinio'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Strofinando tra loro due corpi isolanti, essi si ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzeranno per strofinio'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione per contatto'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Toccando un conduttore con un corpo carico, il conduttore potr\\xE0 ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzarsi per contatto'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione per induzione'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore ha cariche \"esterne\" di un ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'certo segno'\n ),\n ' vicino, esso avr\\xE0 tutte le cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' in equilibrio vicino alle cariche esterne, e tutte le cariche dello ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'stesso segno'\n ),\n ' pi\\xF9 lontano possibile da esse.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Mettendo a terra il conduttore, nuove cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' saranno attratte all\\'interno del corpo per equilibrare le cariche che si sono allontanate.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritrover\\xE0 ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'caricato del segno opposto'\n ),\n ' rispetto alle cariche esterne.'\n )\n )\n);\n\nvar _ref124 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Forza elettrica'\n);\n\nvar _ref125 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Coulomb'\n);\n\nvar _ref126 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi carichi si attraggono tra loro con forza:'\n);\n\nvar _ref127 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di Coulomb'\n);\n\nvar _ref128 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Permeabilit\\xE0 dello spazio vuoto'\n);\n\nvar _ref129 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'permeabilit\\xE0 del vuoto'\n);\n\nvar _ref130 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Campo elettrico'\n);\n\nvar _ref131 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura che forza viene applicata in ogni punto su una carica unitaria:'\n);\n\nvar _ref132 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Flusso elettrico'\n);\n\nvar _ref133 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la differenza tra \"quanto\" campo elettrico ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'entra'\n ),\n ' e quanto campo elettrico ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'esce'\n ),\n ' da una certa area.'\n);\n\nvar _ref134 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 proporzionale alla intensit\\xE0 del campo, alla dimensione dell\\'area scelta e a come l\\'area \\xE8 disposta rispetto alla direzione del campo.'\n);\n\nvar _ref135 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico \\xE8 uniforme, se ne pu\\xF2 calcolare facilmente il valore:'\n);\n\nvar _ref136 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Gauss'\n);\n\nvar _ref137 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso elettrico uscente da una superficie \\xE8 proporzionale alla carica presente al suo interno.'\n);\n\nvar _ref138 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' equivalente alla Legge di Coulomb.'\n);\n\nvar _ref139 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Energia elettrica'\n);\n\nvar _ref140 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia potenziale elettrica'\n);\n\nvar _ref141 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'energia potenziale elettrica'\n);\n\nvar _ref142 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Circuiti elettrici'\n);\n\nvar _ref143 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Potenziale elettrico (Tensione)'\n);\n\nvar _ref144 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 il valore dell\\'energia potenziale elettrica per una carica unitaria.'\n);\n\nvar _ref145 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una batteria \\xE8 detto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza elettromotrice'\n ),\n ', e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.'\n);\n\nvar _ref146 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Corrente elettrica (Intensit\\xE0)'\n);\n\nvar _ref147 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanta carica passa attraverso un\\'area (perpendicolare al flusso) nel tempo.'\n);\n\nvar _ref148 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Fintanto che c\\'\\xE8 differenza di potenziale, ci sar\\xE0 anche intensit\\xE0 non nulla.'\n);\n\nvar _ref149 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Corrente continua (',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Direct Current' },\n 'DC'\n ),\n ')'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente \\xE8 costante.'\n )\n);\n\nvar _ref150 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Corrente alternata (',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Alternate Current' },\n 'AC'\n ),\n ')'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente si alterna periodicamente.'\n )\n);\n\nvar _ref151 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Potenza elettrica'\n);\n\nvar _ref152 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Possiamo calcolare la potenza di un circuito:'\n);\n\nvar _ref153 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Elementi di un circuito'\n);\n\nvar _ref154 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Resistore'\n);\n\nvar _ref155 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Riduce l\\'intensit\\xE0 di corrente, e converte parte del potenziale in calore.'\n);\n\nvar _ref156 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il potenziale utilizzato \\xE8 pari a:'\n);\n\nvar _ref157 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistenza'\n);\n\nvar _ref158 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La resistenza di un conduttore vale:'\n);\n\nvar _ref159 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistivit\\xE0'\n);\n\nvar _ref160 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Condensatore'\n);\n\nvar _ref161 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.'\n);\n\nvar _ref162 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per farlo, cattura cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' sulle sue due armature; perch\\xE8 questo avvenga, deve essere compiuto lavoro.'\n);\n\nvar _ref163 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ha una ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'capacit\\xE0'\n ),\n ' caratteristica, che in un condensatore a facce piane parallele \\xE8:'\n);\n\nvar _ref164 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Condensatori di capacit\\xE0 maggiore immagazzinano pi\\xF9 potenziale con meno carica.'\n);\n\nvar _ref165 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La capacit\\xE0 aumenta se viene messo qualcosa tra le armature:'\n);\n\nvar _ref166 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante dielettrica relativa'\n);\n\nvar _ref167 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico creatosi tra le due armature supera la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'rigidit\\xE0 dielettrica'\n ),\n ' del condensatore, la carica immagazzinata viene persa e ha luogo un ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'breakdown'\n ),\n '.'\n);\n\nvar _ref168 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Amperometro'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la corrente elettrica se messo in serie.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)'\n )\n);\n\nvar _ref169 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Voltmetro'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la differenza di potenziale se messo in parallelo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)'\n )\n);\n\nvar _ref170 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Principi di Kirchhoff'\n);\n\nvar _ref171 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge dei nodi'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per nodo si intende un qualsiasi punto del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Da un nodo entra ed esce la stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge delle maglie'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per maglia si intende un qualsiasi percorso chiuso all\\'interno del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una maglia chiusa, la somma delle differenze di potenziale \\xE8 0.'\n )\n )\n);\n\nvar _ref172 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Serie e Parallelo'\n);\n\nvar _ref173 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuito in serie'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in serie'\n ),\n ' se sono consecutive e senza biforcazioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in serie sono attraversate dalla stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuito in parallelo'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in parallelo'\n ),\n ' tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in parallelo hanno la stessa differenza di potenziale.'\n )\n )\n);\n\nvar _ref174 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Resistenze equivalenti'\n);\n\nvar _ref175 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in serie'\n);\n\nvar _ref176 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:'\n);\n\nvar _ref177 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in parallelo'\n);\n\nvar _ref178 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:'\n);\n\nvar _ref179 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Condensatori equivalenti'\n);\n\nvar _ref180 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in serie'\n);\n\nvar _ref181 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:'\n);\n\nvar _ref182 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in parallelo'\n);\n\nvar _ref183 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacit\\xE0 di tutti quelli sostituiti:'\n);\n\nvar _ref184 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Magnetismo'\n);\n\nvar _ref185 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Permeabilit\\xE0 magnetica dello spazio vuoto'\n);\n\nvar _ref186 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.'\n);\n\nvar _ref187 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Campo magnetico'\n);\n\nvar _ref188 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Come un campo elettrico, ma per i magneti.'\n);\n\nvar _ref189 = Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'T'\n);\n\nvar _ref190 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Flusso magnetico'\n);\n\nvar _ref191 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Come il flusso elettrico, ma per campi magnetici.'\n);\n\nvar _ref192 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Gauss per il magnetismo'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso magnetico attraverso qualsiasi superficie chiusa \\xE8 sempre nullo.'\n )\n);\n\nvar _ref193 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Forze magnetiche'\n);\n\nvar _ref194 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forza magnetica su carica puntiforme ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(Forza di Lorentz)'\n )\n);\n\nvar _ref195 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici applicano una forza sulle cariche vicine:'\n);\n\nvar _ref196 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si ha una forza massima se la velocit\\xE0 \\xE8 perpendicolare al campo magnetico.'\n);\n\nvar _ref197 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un campo magnetico uniforme, una velocit\\xE0 perpendicolare al campo porta alla creazione di un moto circolare uniforme.'\n);\n\nvar _ref198 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forza magnetica in un filo'\n);\n\nvar _ref199 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici influenzano anche le cariche presenti in un conduttore:'\n);\n\nvar _ref200 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'Modulo di L?'\n )\n);\n\nvar _ref201 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Campi magnetici'\n);\n\nvar _ref202 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Campo magnetico in una spira'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.'\n )\n);\n\nvar _ref203 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Campo magnetico di un solenoide'\n);\n\nvar _ref204 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.'\n);\n\nvar _ref205 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'All\\'interno del solenoide si crea un campo (quasi) uniforme:'\n);\n\nvar _ref206 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Oersted'\n);\n\nvar _ref207 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Caso particolare della ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Legge_di_Amp%C3%A8re' },\n 'Legge di Amp\\xE8re'\n ),\n '.'\n )\n);\n\nvar _ref208 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il modulo del campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'B'\n ),\n ' prodotto da un filo in cui passa una corrente continua ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'I'\n ),\n ' alla distanza ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 's'\n ),\n ' \\xE8:'\n);\n\nvar _ref209 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'Verso di B?'\n )\n);\n\nvar _ref210 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Induzione elettromagnetica'\n);\n\nvar _ref211 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forza elettromotrice indotta'\n);\n\nvar _ref212 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un conduttore perpendicolare ad un campo magnetico pu\\xF2 ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo.'\n);\n\nvar _ref213 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore.'\n);\n\nvar _ref214 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Essa vale:'\n);\n\nvar _ref215 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'v'\n ),\n ' \\xE8 la velocit\\xE0 del conduttore, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'B'\n ),\n ' \\xE8 l\\'intensit\\xE0 del campo magnetico ed ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'L'\n ),\n ' \\xE8 la lunghezza del conduttore.'\n);\n\nvar _ref216 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Flusso magnetico in una spira'\n);\n\nvar _ref217 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Legge di Farady-Neumann-Lenz'\n);\n\nvar _ref218 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Faraday'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dice che la forza elettromotrice indotta dipende dalla variazione nel tempo del flusso magnetico.'\n )\n);\n\nvar fisica_Fisica = function (_Component) {\n fisica__inherits(Fisica, _Component);\n\n function Fisica() {\n fisica__classCallCheck(this, Fisica);\n\n return fisica__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Fisica.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n null,\n fisica__ref,\n _ref2,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref3,\n _ref4,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject2)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject3)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref5,\n _ref6,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject4)\n )\n ),\n _ref7\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref8,\n _ref9,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject5)\n )\n ),\n _ref10\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref11,\n _ref12,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject6)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il modulo della proiezione di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject7)\n ),\n ' su ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject8)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref13,\n _ref14,\n Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject9)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject10)\n )\n ),\n _ref15\n ),\n _ref16\n )\n ),\n _ref17,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref18,\n _ref19,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject11)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref20,\n _ref21,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject12)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref22,\n _ref23,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject13)\n )\n )\n )\n ),\n _ref24,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref25,\n _ref26,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject14)\n )\n ),\n _ref27,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject15)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref28,\n _ref29,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject16)\n )\n ),\n _ref30,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject17)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref31,\n _ref32,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject16)\n )\n ),\n _ref33,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject18)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject19)\n )\n )\n )\n ),\n _ref34,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n _ref35,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref36,\n _ref37,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject20)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref38,\n _ref39,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject21)\n )\n )\n ),\n _ref40,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref41,\n _ref42,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject22)\n )\n ),\n _ref43\n )\n ),\n _ref44,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref45,\n _ref46,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject23)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref47,\n _ref48,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject24)\n )\n ),\n _ref49,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject25)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref50,\n _ref51,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject26)\n )\n ),\n _ref52,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject27)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref53,\n _ref54,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject28)\n )\n ),\n _ref55,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject29)\n )\n )\n )\n ),\n _ref56,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref57,\n _ref58,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject30)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref59,\n _ref60,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject31)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref61,\n _ref62,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject32)\n )\n )\n ),\n _ref63\n ),\n _ref64,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref65,\n _ref66,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject33)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref67,\n _ref68,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject34)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref69,\n _ref70,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject35)\n )\n )\n ),\n _ref71\n ),\n _ref72,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n _ref73,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref74,\n _ref75,\n _ref76,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref77,\n _ref78,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject37)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref79,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide dello spostamento, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject38)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject39)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref80,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide della velocit\\xE0, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject40)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject41)\n )\n )\n ),\n _ref81\n ),\n _ref82,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n _ref83,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref84,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando due moti armonici semplici: uno sull\\'asse X, e l\\'altro, sfasato di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject38)\n ),\n ', sull\\'asse Y.'\n )\n )\n ),\n _ref85,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref86,\n _ref87,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref88,\n _ref89,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si indica con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject42)\n ),\n ', e generalmente si usa in radianti.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref90,\n _ref91,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject43)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref92,\n _ref93,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject44)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref94,\n _ref95,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject45)\n )\n )\n )\n ),\n _ref96,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref97,\n _ref98,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject46)\n )\n ),\n _ref99\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref100,\n _ref101,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject47)\n )\n ),\n _ref102,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject48)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref103,\n _ref104,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject49)\n )\n ),\n _ref105\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref106,\n _ref107,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject50)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref108,\n _ref109,\n _ref110,\n _ref111,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject51)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref112,\n _ref113,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject52)\n )\n )\n )\n ),\n _ref114,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref115,\n _ref116,\n _ref117,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esiste un\\'unit\\xE0 elementare: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject53)\n ),\n '.'\n ),\n _ref118\n ),\n _ref119\n ),\n _ref120,\n _ref121,\n _ref122,\n _ref123,\n _ref124,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref125,\n _ref126,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject54)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject55)\n ),\n ' \\xE8 la ',\n _ref127,\n ', e vale ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject56)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref128,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La costante ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject55)\n ),\n ' \\xE8 in realt\\xE0 dipendente da un altra costante, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject57)\n ),\n ', la ',\n _ref129,\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject58)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject59)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref130,\n _ref131,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject60)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref132,\n _ref133,\n _ref134,\n _ref135,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject61)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject62)\n ),\n ' \\xE8 il vettore dell\\'area che abbiamo scelto.)'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref136,\n _ref137,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject63)\n )\n ),\n _ref138\n )\n ),\n _ref139,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref140,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo carico vicino ad altre cariche possiede un\\'',\n _ref141,\n ' ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject64)\n ),\n '.'\n )\n )\n ),\n _ref142,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref143,\n _ref144,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject65)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Volt (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject66)\n ),\n ').'\n ),\n _ref145\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref146,\n _ref147,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject67)\n )\n ),\n _ref148,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 l\\'Ampere (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ').'\n )\n ),\n _ref149,\n _ref150,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref151,\n _ref152,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject69)\n )\n )\n )\n ),\n _ref153,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref154,\n _ref155,\n _ref156,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject70)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject71)\n ),\n ' \\xE8 una costante detta ',\n _ref157,\n ' con unit\\xE0 di misura Ohm (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject72)\n ),\n ').'\n ),\n _ref158,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject73)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject74)\n ),\n ' \\xE8 la ',\n _ref159,\n ' del materiale, e varia in base alla temperatura:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject75)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref160,\n _ref161,\n _ref162,\n _ref163,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject76)\n )\n ),\n _ref164,\n _ref165,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject77)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject78)\n ),\n ' \\xE8 la ',\n _ref166,\n ' del materiale inserito, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ' l\\'area di una armatura e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject79)\n ),\n ' la distanza tra le due armature.'\n ),\n _ref167,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Farad (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject80)\n ),\n ')'\n )\n ),\n _ref168,\n _ref169\n ),\n _ref170,\n _ref171,\n _ref172,\n _ref173,\n _ref174,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref175,\n _ref176,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject81)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref177,\n _ref178,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject82)\n )\n )\n )\n ),\n _ref179,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref180,\n _ref181,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject83)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref182,\n _ref183,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject84)\n )\n )\n )\n ),\n _ref184,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref185,\n _ref186,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject85)\n ),\n ' (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject86)\n ),\n ')'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref187,\n _ref188,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il suo simbolo \\xE8 ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ', e la sua unit\\xE0 di misura \\xE8 il Tesla (',\n _ref189,\n ').'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref190,\n _ref191,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il suo simbolo \\xE8 ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject88)\n ),\n ' e la sua unit\\xE0 di misura \\xE8 il Weber (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject89)\n ),\n ').'\n )\n ),\n _ref192\n ),\n _ref193,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref194,\n _ref195,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject90)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject91)\n ),\n ' \\xE8 l\\'intensit\\xE0 del campo magnetico e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject92)\n ),\n ' la velocit\\xE0 della carica considerata.'\n ),\n _ref196,\n _ref197\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref198,\n _ref199,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject93)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject94)\n ),\n ' \\xE8 un vettore che punta nella direzione di scorrimento della corrente.'\n ),\n _ref200\n )\n ),\n _ref201,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n _ref202,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref203,\n _ref204,\n _ref205,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject95)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref206,\n _ref207,\n _ref208,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject96)\n )\n ),\n _ref209\n )\n ),\n _ref210,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref211,\n _ref212,\n _ref213,\n _ref214,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject97)\n )\n ),\n _ref215\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref216,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ' uniforme e perpendicolare al piano di una spira di area ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ', il flusso magnetico si pu\\xF2 determinare con la ',\n _ref217,\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject98)\n )\n )\n ),\n _ref218\n )\n );\n };\n\n return Fisica;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/vldigeometria.css\nvar vldigeometria = __webpack_require__(\"jHTF\");\nvar vldigeometria_default = /*#__PURE__*/__webpack_require__.n(vldigeometria);\n\n// EXTERNAL MODULE: ./components/markdown.css\nvar markdown = __webpack_require__(\"MKE3\");\nvar markdown_default = /*#__PURE__*/__webpack_require__.n(markdown);\n\n// EXTERNAL MODULE: ../node_modules/showdown/dist/showdown.js\nvar showdown = __webpack_require__(\"6adR\");\nvar showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);\n\n// CONCATENATED MODULE: ./components/markdown.js\n\n\nfunction markdown__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction markdown__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction markdown__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\nvar markdown_Markdown = function (_Component) {\n markdown__inherits(Markdown, _Component);\n\n function Markdown() {\n markdown__classCallCheck(this, Markdown);\n\n return markdown__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Markdown.prototype.render = function render() {\n var converter = new showdown_default.a.Converter();\n converter.setFlavor(\"github\");\n var html = converter.makeHtml(\"\" + this.props.children);\n return Object(preact_min[\"h\"])(\"div\", { dangerouslySetInnerHTML: { __html: html } });\n };\n\n return Markdown;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/vldigeometria.js\nvar vldigeometria__templateObject = vldigeometria__taggedTemplateLiteralLoose(['\\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\\n\\nPer comodit\\xE0, ho estratto l\\'url sorgente del video dall\\'embed presente nella rispettiva pagina.\\n\\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\\n11. [Propriet\\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\\n13. [Propriet\\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\\n20. [Teorema diagonalizzabilit\\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\\n\\nNell\\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\\n '], ['\\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\\n\\nPer comodit\\xE0, ho estratto l\\'url sorgente del video dall\\'embed presente nella rispettiva pagina.\\n\\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\\n11. [Propriet\\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\\n13. [Propriet\\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\\n20. [Teorema diagonalizzabilit\\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\\n\\nNell\\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\\n ']);\n\n\n\nfunction vldigeometria__taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction vldigeometria__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction vldigeometria__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction vldigeometria__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\nvar vldigeometria_r = String.raw;\n\nvar vldigeometria__ref = Object(preact_min[\"h\"])(\n\t'h1',\n\tnull,\n\t'Videolezioni di Geometria'\n);\n\nvar vldigeometria_VlDiGeometria = function (_Component) {\n\tvldigeometria__inherits(VlDiGeometria, _Component);\n\n\tfunction VlDiGeometria() {\n\t\tvldigeometria__classCallCheck(this, VlDiGeometria);\n\n\t\treturn vldigeometria__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tVlDiGeometria.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t'div',\n\t\t\tnull,\n\t\t\tvldigeometria__ref,\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\tpanel_Panel,\n\t\t\t\tnull,\n\t\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t\tmarkdown_Markdown,\n\t\t\t\t\tnull,\n\t\t\t\t\tvldigeometria_r(vldigeometria__templateObject)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t};\n\n\treturn VlDiGeometria;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/mingwinstall.js\n\n\nfunction mingwinstall__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction mingwinstall__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction mingwinstall__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\nvar mingwinstall_r = String.raw;\n\nvar mingwinstall__ref = Object(preact_min[\"h\"])(\n\t'div',\n\tnull,\n\tObject(preact_min[\"h\"])(\n\t\t'h1',\n\t\tnull,\n\t\t'Come installare MinGW'\n\t),\n\tObject(preact_min[\"h\"])(\n\t\tpanel_Panel,\n\t\tnull,\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Scaricate ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'a',\n\t\t\t\t{ href: 'https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/' },\n\t\t\t\t'l\\'installer ufficiale'\n\t\t\t),\n\t\t\t', ed eseguitelo.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/mDZSqjV.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Dovrebbe comparire questa schermata. Cliccate su ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Install'\n\t\t\t),\n\t\t\t', poi scegliete una cartella di installazione (ricordatevela!) e poi ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Continue'\n\t\t\t),\n\t\t\t'. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate, tranne ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'For all users'\n\t\t\t),\n\t\t\t', che dovrebbe essere disattivato.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/brdw8Xy.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Continue'\n\t\t\t),\n\t\t\t'. Premetelo.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/aPTwrxz.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Dovrebbe apparirvi questa finestra. L\\'installer di MinGW \\xE8 una specie di gestore pacchetti (tipo ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'apt'\n\t\t\t),\n\t\t\t' su Ubuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalit\\xE0.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/5QLSkFN.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Nel nostro caso, dovrebbero servirci ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'mingw32-base-bin'\n\t\t\t),\n\t\t\t' (per il C e alcune librerie C++) e',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'mingw32-gcc-g++-bin'\n\t\t\t),\n\t\t\t' (per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Mark for Installation'\n\t\t\t),\n\t\t\t'. Dovrebbe comparire una freccia gialla sul quadratino.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/zP74nks.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Ora, \\xE8 il momento di installare i pacchetti. Aprite il men\\xF9 ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Installation'\n\t\t\t),\n\t\t\t', poi premete',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Apply Changes'\n\t\t\t),\n\t\t\t', e di nuovo ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Apply'\n\t\t\t),\n\t\t\t'.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/jp4uz5B.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Lasciate che scarichi, ci vorr\\xE0 un po\\'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate dopo circa 10 minuti.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/Lq9IepY.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Una volta installato, dobbiamo aggiungere ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'g++'\n\t\t\t),\n\t\t\t' ai programmi eseguibili da Prompt dei Comandi: premete il tasto ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'kbd',\n\t\t\t\tnull,\n\t\t\t\t'Windows'\n\t\t\t),\n\t\t\t', e scrivete ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'PATH'\n\t\t\t),\n\t\t\t'. Windows dovrebbe trovarvi automaticamente quell\\'opzione.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/dy3b5Ub.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Dentro la finestra di ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'i',\n\t\t\t\tnull,\n\t\t\t\t'Propriet\\xE0 del Sistema'\n\t\t\t),\n\t\t\t', premete ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Variabili d\\'ambiente'\n\t\t\t),\n\t\t\t'.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/FjYpT1n.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Trovate la variabile d\\'ambiente globale ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Path'\n\t\t\t),\n\t\t\t', e fateci doppio click per modificarla.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/klZQ9So.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Ora dovreste vedere l\\'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere quella di MinGW! Premete ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'Sfoglia'\n\t\t\t),\n\t\t\t'.'\n\t\t),\n\t\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/F6lBCqS.png' }),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la sottocartella ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'bin'\n\t\t\t),\n\t\t\t' e premete ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'OK'\n\t\t\t),\n\t\t\t' su tutte le finestre che avete aperto fino ad ora, chiudendole.'\n\t\t),\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\t' Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'gcc'\n\t\t\t),\n\t\t\t' e ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'code',\n\t\t\t\tnull,\n\t\t\t\t'g++'\n\t\t\t),\n\t\t\t' sul Prompt dei Comandi, e potete finalmente creare dei file .exe! '\n\t\t)\n\t)\n);\n\nvar MingwInstall = function (_Component) {\n\tmingwinstall__inherits(MingwInstall, _Component);\n\n\tfunction MingwInstall() {\n\t\tmingwinstall__classCallCheck(this, MingwInstall);\n\n\t\treturn mingwinstall__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tMingwInstall.prototype.render = function render() {\n\t\t//Imported from unimore-info-wiki\n\t\treturn mingwinstall__ref;\n\t};\n\n\treturn MingwInstall;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/copyright.css\nvar copyright = __webpack_require__(\"qMTX\");\nvar copyright_default = /*#__PURE__*/__webpack_require__.n(copyright);\n\n// CONCATENATED MODULE: ./components/copyright.js\n\n\nfunction copyright__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction copyright__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction copyright__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar copyright__ref = Object(preact_min[\"h\"])(\n\t\"a\",\n\t{ href: \"https://creativecommons.org/licenses/by-sa/4.0/\" },\n\t\"CC BY-SA 4.0\"\n);\n\nvar copyright__ref2 = Object(preact_min[\"h\"])(\n\t\"a\",\n\t{ href: \"https://github.com/Steffo99/appuntiweb\" },\n\t\"Codice sorgente\"\n);\n\nvar copyright_Copyright = function (_Component) {\n\tcopyright__inherits(Copyright, _Component);\n\n\tfunction Copyright() {\n\t\tcopyright__classCallCheck(this, Copyright);\n\n\t\treturn copyright__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tCopyright.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"div\",\n\t\t\t{ \"class\": copyright_default.a.copyright },\n\t\t\t\"\\xA9 2019 - Stefano Pigozzi - \",\n\t\t\tcopyright__ref,\n\t\t\t\" - \",\n\t\t\tcopyright__ref2\n\t\t);\n\t};\n\n\treturn Copyright;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./index.js\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return App; });\n\n\nfunction index__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction index__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction index__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\nvar index_r = String.raw;\n\nvar index__ref = Object(preact_min[\"h\"])(\n\t'div',\n\t{ id: 'app' },\n\tObject(preact_min[\"h\"])(\n\t\tpreact_router_es,\n\t\tnull,\n\t\tObject(preact_min[\"h\"])(Home, { path: '/' }),\n\t\tObject(preact_min[\"h\"])(fisica_Fisica, { path: '/fisica' }),\n\t\tObject(preact_min[\"h\"])(vldigeometria_VlDiGeometria, { path: '/vldigeometria' }),\n\t\tObject(preact_min[\"h\"])(MingwInstall, { path: '/mingwinstall' })\n\t),\n\tObject(preact_min[\"h\"])(copyright_Copyright, null)\n);\n\nvar App = function (_Component) {\n\tindex__inherits(App, _Component);\n\n\tfunction App() {\n\t\tindex__classCallCheck(this, App);\n\n\t\treturn index__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tApp.prototype.render = function render() {\n\t\treturn index__ref;\n\t};\n\n\treturn App;\n}(preact_min[\"Component\"]);\n\n\n\n/***/ }),\n\n/***/ \"KM04\":\n/***/ (function(module, exports, __webpack_require__) {\n\n!function () {\n \"use strict\";\n function e(e, t) {\n var n,\n o,\n r,\n i,\n l = W;for (i = arguments.length; i-- > 2;) {\n P.push(arguments[i]);\n }t && null != t.children && (P.length || P.push(t.children), delete t.children);while (P.length) {\n if ((o = P.pop()) && void 0 !== o.pop) for (i = o.length; i--;) {\n P.push(o[i]);\n } else \"boolean\" == typeof o && (o = null), (r = \"function\" != typeof e) && (null == o ? o = \"\" : \"number\" == typeof o ? o += \"\" : \"string\" != typeof o && (r = !1)), r && n ? l[l.length - 1] += o : l === W ? l = [o] : l.push(o), n = r;\n }var a = new T();return a.nodeName = e, a.children = l, a.attributes = null == t ? void 0 : t, a.key = null == t ? void 0 : t.key, void 0 !== M.vnode && M.vnode(a), a;\n }function t(e, t) {\n for (var n in t) {\n e[n] = t[n];\n }return e;\n }function n(e, t) {\n e && (\"function\" == typeof e ? e(t) : e.current = t);\n }function o(n, o) {\n return e(n.nodeName, t(t({}, n.attributes), o), arguments.length > 2 ? [].slice.call(arguments, 2) : n.children);\n }function r(e) {\n !e.__d && (e.__d = !0) && 1 == V.push(e) && (M.debounceRendering || D)(i);\n }function i() {\n var e;while (e = V.pop()) {\n e.__d && x(e);\n }\n }function l(e, t, n) {\n return \"string\" == typeof t || \"number\" == typeof t ? void 0 !== e.splitText : \"string\" == typeof t.nodeName ? !e._componentConstructor && a(e, t.nodeName) : n || e._componentConstructor === t.nodeName;\n }function a(e, t) {\n return e.__n === t || e.nodeName.toLowerCase() === t.toLowerCase();\n }function u(e) {\n var n = t({}, e.attributes);n.children = e.children;var o = e.nodeName.defaultProps;if (void 0 !== o) for (var r in o) {\n void 0 === n[r] && (n[r] = o[r]);\n }return n;\n }function c(e, t) {\n var n = t ? document.createElementNS(\"http://www.w3.org/2000/svg\", e) : document.createElement(e);return n.__n = e, n;\n }function p(e) {\n var t = e.parentNode;t && t.removeChild(e);\n }function s(e, t, o, r, i) {\n if (\"className\" === t && (t = \"class\"), \"key\" === t) ;else if (\"ref\" === t) n(o, null), n(r, e);else if (\"class\" !== t || i) {\n if (\"style\" === t) {\n if (r && \"string\" != typeof r && \"string\" != typeof o || (e.style.cssText = r || \"\"), r && \"object\" == typeof r) {\n if (\"string\" != typeof o) for (var l in o) {\n l in r || (e.style[l] = \"\");\n }for (var l in r) {\n e.style[l] = \"number\" == typeof r[l] && !1 === E.test(l) ? r[l] + \"px\" : r[l];\n }\n }\n } else if (\"dangerouslySetInnerHTML\" === t) r && (e.innerHTML = r.__html || \"\");else if (\"o\" == t[0] && \"n\" == t[1]) {\n var a = t !== (t = t.replace(/Capture$/, \"\"));t = t.toLowerCase().substring(2), r ? o || e.addEventListener(t, _, a) : e.removeEventListener(t, _, a), (e.__l || (e.__l = {}))[t] = r;\n } else if (\"list\" !== t && \"type\" !== t && !i && t in e) {\n try {\n e[t] = null == r ? \"\" : r;\n } catch (e) {}null != r && !1 !== r || \"spellcheck\" == t || e.removeAttribute(t);\n } else {\n var u = i && t !== (t = t.replace(/^xlink:?/, \"\"));null == r || !1 === r ? u ? e.removeAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase()) : e.removeAttribute(t) : \"function\" != typeof r && (u ? e.setAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase(), r) : e.setAttribute(t, r));\n }\n } else e.className = r || \"\";\n }function _(e) {\n return this.__l[e.type](M.event && M.event(e) || e);\n }function f() {\n var e;while (e = A.shift()) {\n M.afterMount && M.afterMount(e), e.componentDidMount && e.componentDidMount();\n }\n }function d(e, t, n, o, r, i) {\n H++ || (R = null != r && void 0 !== r.ownerSVGElement, B = null != e && !(\"__preactattr_\" in e));var l = h(e, t, n, o, i);return r && l.parentNode !== r && r.appendChild(l), --H || (B = !1, i || f()), l;\n }function h(e, t, n, o, r) {\n var i = e,\n l = R;if (null != t && \"boolean\" != typeof t || (t = \"\"), \"string\" == typeof t || \"number\" == typeof t) return e && void 0 !== e.splitText && e.parentNode && (!e._component || r) ? e.nodeValue != t && (e.nodeValue = t) : (i = document.createTextNode(t), e && (e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0))), i.__preactattr_ = !0, i;var u = t.nodeName;if (\"function\" == typeof u) return N(e, t, n, o);if (R = \"svg\" === u || \"foreignObject\" !== u && R, u += \"\", (!e || !a(e, u)) && (i = c(u, R), e)) {\n while (e.firstChild) {\n i.appendChild(e.firstChild);\n }e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0);\n }var p = i.firstChild,\n s = i.__preactattr_,\n _ = t.children;if (null == s) {\n s = i.__preactattr_ = {};for (var f = i.attributes, d = f.length; d--;) {\n s[f[d].name] = f[d].value;\n }\n }return !B && _ && 1 === _.length && \"string\" == typeof _[0] && null != p && void 0 !== p.splitText && null == p.nextSibling ? p.nodeValue != _[0] && (p.nodeValue = _[0]) : (_ && _.length || null != p) && m(i, _, n, o, B || null != s.dangerouslySetInnerHTML), y(i, t.attributes, s), R = l, i;\n }function m(e, t, n, o, r) {\n var i,\n a,\n u,\n c,\n s,\n _ = e.childNodes,\n f = [],\n d = {},\n m = 0,\n b = 0,\n y = _.length,\n g = 0,\n w = t ? t.length : 0;if (0 !== y) for (var C = 0; C < y; C++) {\n var x = _[C],\n N = x.__preactattr_,\n k = w && N ? x._component ? x._component.__k : N.key : null;null != k ? (m++, d[k] = x) : (N || (void 0 !== x.splitText ? !r || x.nodeValue.trim() : r)) && (f[g++] = x);\n }if (0 !== w) for (var C = 0; C < w; C++) {\n c = t[C], s = null;var k = c.key;if (null != k) m && void 0 !== d[k] && (s = d[k], d[k] = void 0, m--);else if (b < g) for (i = b; i < g; i++) {\n if (void 0 !== f[i] && l(a = f[i], c, r)) {\n s = a, f[i] = void 0, i === g - 1 && g--, i === b && b++;break;\n }\n }s = h(s, c, n, o), u = _[C], s && s !== e && s !== u && (null == u ? e.appendChild(s) : s === u.nextSibling ? p(u) : e.insertBefore(s, u));\n }if (m) for (var C in d) {\n void 0 !== d[C] && v(d[C], !1);\n }while (b <= g) {\n void 0 !== (s = f[g--]) && v(s, !1);\n }\n }function v(e, t) {\n var o = e._component;o ? k(o) : (null != e.__preactattr_ && n(e.__preactattr_.ref, null), !1 !== t && null != e.__preactattr_ || p(e), b(e));\n }function b(e) {\n e = e.lastChild;while (e) {\n var t = e.previousSibling;v(e, !0), e = t;\n }\n }function y(e, t, n) {\n var o;for (o in n) {\n t && null != t[o] || null == n[o] || s(e, o, n[o], n[o] = void 0, R);\n }for (o in t) {\n \"children\" === o || \"innerHTML\" === o || o in n && t[o] === (\"value\" === o || \"checked\" === o ? e[o] : n[o]) || s(e, o, n[o], n[o] = t[o], R);\n }\n }function g(e, t, n) {\n var o,\n r = F.length;e.prototype && e.prototype.render ? (o = new e(t, n), U.call(o, t, n)) : (o = new U(t, n), o.constructor = e, o.render = w);while (r--) {\n if (F[r].constructor === e) return o.__b = F[r].__b, F.splice(r, 1), o;\n }return o;\n }function w(e, t, n) {\n return this.constructor(e, n);\n }function C(e, t, o, i, l) {\n e.__x || (e.__x = !0, e.__r = t.ref, e.__k = t.key, delete t.ref, delete t.key, void 0 === e.constructor.getDerivedStateFromProps && (!e.base || l ? e.componentWillMount && e.componentWillMount() : e.componentWillReceiveProps && e.componentWillReceiveProps(t, i)), i && i !== e.context && (e.__c || (e.__c = e.context), e.context = i), e.__p || (e.__p = e.props), e.props = t, e.__x = !1, 0 !== o && (1 !== o && !1 === M.syncComponentUpdates && e.base ? r(e) : x(e, 1, l)), n(e.__r, e));\n }function x(e, n, o, r) {\n if (!e.__x) {\n var i,\n l,\n a,\n c = e.props,\n p = e.state,\n s = e.context,\n _ = e.__p || c,\n h = e.__s || p,\n m = e.__c || s,\n b = e.base,\n y = e.__b,\n w = b || y,\n N = e._component,\n U = !1,\n S = m;if (e.constructor.getDerivedStateFromProps && (p = t(t({}, p), e.constructor.getDerivedStateFromProps(c, p)), e.state = p), b && (e.props = _, e.state = h, e.context = m, 2 !== n && e.shouldComponentUpdate && !1 === e.shouldComponentUpdate(c, p, s) ? U = !0 : e.componentWillUpdate && e.componentWillUpdate(c, p, s), e.props = c, e.state = p, e.context = s), e.__p = e.__s = e.__c = e.__b = null, e.__d = !1, !U) {\n i = e.render(c, p, s), e.getChildContext && (s = t(t({}, s), e.getChildContext())), b && e.getSnapshotBeforeUpdate && (S = e.getSnapshotBeforeUpdate(_, h));var L,\n T,\n P = i && i.nodeName;if (\"function\" == typeof P) {\n var W = u(i);l = N, l && l.constructor === P && W.key == l.__k ? C(l, W, 1, s, !1) : (L = l, e._component = l = g(P, W, s), l.__b = l.__b || y, l.__u = e, C(l, W, 0, s, !1), x(l, 1, o, !0)), T = l.base;\n } else a = w, L = N, L && (a = e._component = null), (w || 1 === n) && (a && (a._component = null), T = d(a, i, s, o || !b, w && w.parentNode, !0));if (w && T !== w && l !== N) {\n var D = w.parentNode;D && T !== D && (D.replaceChild(T, w), L || (w._component = null, v(w, !1)));\n }if (L && k(L), e.base = T, T && !r) {\n var E = e,\n V = e;while (V = V.__u) {\n (E = V).base = T;\n }T._component = E, T._componentConstructor = E.constructor;\n }\n }!b || o ? A.push(e) : U || (e.componentDidUpdate && e.componentDidUpdate(_, h, S), M.afterUpdate && M.afterUpdate(e));while (e.__h.length) {\n e.__h.pop().call(e);\n }H || r || f();\n }\n }function N(e, t, n, o) {\n var r = e && e._component,\n i = r,\n l = e,\n a = r && e._componentConstructor === t.nodeName,\n c = a,\n p = u(t);while (r && !c && (r = r.__u)) {\n c = r.constructor === t.nodeName;\n }return r && c && (!o || r._component) ? (C(r, p, 3, n, o), e = r.base) : (i && !a && (k(i), e = l = null), r = g(t.nodeName, p, n), e && !r.__b && (r.__b = e, l = null), C(r, p, 1, n, o), e = r.base, l && e !== l && (l._component = null, v(l, !1))), e;\n }function k(e) {\n M.beforeUnmount && M.beforeUnmount(e);var t = e.base;e.__x = !0, e.componentWillUnmount && e.componentWillUnmount(), e.base = null;var o = e._component;o ? k(o) : t && (null != t.__preactattr_ && n(t.__preactattr_.ref, null), e.__b = t, p(t), F.push(e), b(t)), n(e.__r, null);\n }function U(e, t) {\n this.__d = !0, this.context = t, this.props = e, this.state = this.state || {}, this.__h = [];\n }function S(e, t, n) {\n return d(n, e, {}, !1, t, !1);\n }function L() {\n return {};\n }var T = function T() {},\n M = {},\n P = [],\n W = [],\n D = \"function\" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout,\n E = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,\n V = [],\n A = [],\n H = 0,\n R = !1,\n B = !1,\n F = [];t(U.prototype, { setState: function setState(e, n) {\n this.__s || (this.__s = this.state), this.state = t(t({}, this.state), \"function\" == typeof e ? e(this.state, this.props) : e), n && this.__h.push(n), r(this);\n }, forceUpdate: function forceUpdate(e) {\n e && this.__h.push(e), x(this, 2);\n }, render: function render() {} });var j = { h: e, createElement: e, cloneElement: o, createRef: L, Component: U, render: S, rerender: i, options: M }; true ? module.exports = j : self.preact = j;\n}();\n//# sourceMappingURL=preact.min.js.map\n\n/***/ }),\n\n/***/ \"MKE3\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"MeW5\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"minus\":\"minus__2d_8r\"};\n\n/***/ }),\n\n/***/ \"P9k+\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"panel\":\"panel__22fOQ\"};\n\n/***/ }),\n\n/***/ \"ddTt\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"plus\":\"plus__1JPyf\"};\n\n/***/ }),\n\n/***/ \"jHTF\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"qMTX\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"copyright\":\"copyright__TBGn1\"};\n\n/***/ }),\n\n/***/ \"tO1d\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"todo\":\"todo__5Soco\"};\n\n/***/ }),\n\n/***/ \"xHuH\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// bundle.58b01.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"99bU\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap d2547e9832a12330d8de","// removed by extract-text-webpack-plugin\nmodule.exports = {\"latex\":\"latex__34DCT\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/latex.css\n// module id = +uq9\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"split\":\"split__2Bl8C\",\"splitchild\":\"splitchild__3Ip86\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/split.css\n// module id = 1EpE\n// module chunks = 0",";/*! showdown v 1.9.1 - 02-11-2019 */\r\n(function(){\r\n/**\n * Created by Tivie on 13-07-2015.\n */\n\nfunction getDefaultOpts (simple) {\n 'use strict';\n\n var defaultOptions = {\n omitExtraWLInCodeBlocks: {\n defaultValue: false,\n describe: 'Omit the default extra whiteline added to code blocks',\n type: 'boolean'\n },\n noHeaderId: {\n defaultValue: false,\n describe: 'Turn on/off generated header id',\n type: 'boolean'\n },\n prefixHeaderId: {\n defaultValue: false,\n describe: 'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \\'section-\\' prefix',\n type: 'string'\n },\n rawPrefixHeaderId: {\n defaultValue: false,\n describe: 'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the \" char is used in the prefix)',\n type: 'boolean'\n },\n ghCompatibleHeaderId: {\n defaultValue: false,\n describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',\n type: 'boolean'\n },\n rawHeaderId: {\n defaultValue: false,\n describe: 'Remove only spaces, \\' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',\n type: 'boolean'\n },\n headerLevelStart: {\n defaultValue: false,\n describe: 'The header blocks level start',\n type: 'integer'\n },\n parseImgDimensions: {\n defaultValue: false,\n describe: 'Turn on/off image dimension parsing',\n type: 'boolean'\n },\n simplifiedAutoLink: {\n defaultValue: false,\n describe: 'Turn on/off GFM autolink style',\n type: 'boolean'\n },\n excludeTrailingPunctuationFromURLs: {\n defaultValue: false,\n describe: 'Excludes trailing punctuation from links generated with autoLinking',\n type: 'boolean'\n },\n literalMidWordUnderscores: {\n defaultValue: false,\n describe: 'Parse midword underscores as literal underscores',\n type: 'boolean'\n },\n literalMidWordAsterisks: {\n defaultValue: false,\n describe: 'Parse midword asterisks as literal asterisks',\n type: 'boolean'\n },\n strikethrough: {\n defaultValue: false,\n describe: 'Turn on/off strikethrough support',\n type: 'boolean'\n },\n tables: {\n defaultValue: false,\n describe: 'Turn on/off tables support',\n type: 'boolean'\n },\n tablesHeaderId: {\n defaultValue: false,\n describe: 'Add an id to table headers',\n type: 'boolean'\n },\n ghCodeBlocks: {\n defaultValue: true,\n describe: 'Turn on/off GFM fenced code blocks support',\n type: 'boolean'\n },\n tasklists: {\n defaultValue: false,\n describe: 'Turn on/off GFM tasklist support',\n type: 'boolean'\n },\n smoothLivePreview: {\n defaultValue: false,\n describe: 'Prevents weird effects in live previews due to incomplete input',\n type: 'boolean'\n },\n smartIndentationFix: {\n defaultValue: false,\n description: 'Tries to smartly fix indentation in es6 strings',\n type: 'boolean'\n },\n disableForced4SpacesIndentedSublists: {\n defaultValue: false,\n description: 'Disables the requirement of indenting nested sublists by 4 spaces',\n type: 'boolean'\n },\n simpleLineBreaks: {\n defaultValue: false,\n description: 'Parses simple line breaks as
(GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*([^>\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,\n base64Regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","'use strict';\n\nvar _preact = require('preact');\n\nif (process.env.NODE_ENV === 'development') {\n\trequire('preact/devtools');\n} else if (process.env.ADD_SW && 'serviceWorker' in navigator && location.protocol === 'https:') {\n\tnavigator.serviceWorker.register(__webpack_public_path__ + 'sw.js');\n}\n\nconst interopDefault = m => m && m.default ? m.default : m;\n\nlet app = interopDefault(require('preact-cli-entrypoint'));\n\nif (typeof app === 'function') {\n\tlet root = document.body.firstElementChild;\n\n\tlet init = () => {\n\t\tlet app = interopDefault(require('preact-cli-entrypoint'));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (module.hot) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n\n// WEBPACK FOOTER //\n// ../C:/Users/stepi/AppData/Roaming/npm/node_modules/preact-cli/lib/lib/entry.js","import { Component, cloneElement, h } from 'preact';\n\nvar EMPTY$1 = {};\n\nfunction assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t\tc = url.match(reg),\n\t\tmatches = {},\n\t\tret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i=0; i b.rank) ? -1 :\n\t\t(a.index - b.index)\n\t);\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0)==':' ? (1 + '*+?'.indexOf(segment.charAt(segment.length-1))) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_!=null || typeof Symbol!=='undefined' && node[Symbol.for('preactattr')]!=null;\n}\n\nfunction setUrl(url, type) {\n\tif ( type === void 0 ) type='push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t}\n\telse if (typeof history!=='undefined' && history[type+'State']) {\n\t\thistory[type+'State'](null, null, url);\n\t}\n}\n\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t}\n\telse if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t}\n\telse {\n\t\turl = typeof location!=='undefined' ? location : EMPTY;\n\t}\n\treturn (\"\" + (url.pathname || '') + (url.search || ''));\n}\n\n\n\nfunction route(url, replace) {\n\tif ( replace === void 0 ) replace=false;\n\n\tif (typeof url!=='string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i=ROUTERS.length; i--; ) {\n\t\tif (ROUTERS[i].canRoute(url)) { return true; }\n\t}\n\treturn false;\n}\n\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i=0; i 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo (url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) { return this.canRoute(url); }\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount () {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount () {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo((\"\" + (location.pathname || '') + (location.search || '')));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount () {\n\t\tif (typeof this.unlisten==='function') { this.unlisten(); }\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate () {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate () {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren (children, url, invoke) {\n\t\treturn children\n\t\t\t.filter(prepareVNodeForRanking)\n\t\t\t.sort(pathRankSort)\n\t\t\t.map( function (vnode) {\n\t\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\t\tif (matches) {\n\t\t\t\t\tif (invoke !== false) {\n\t\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\t\tassign(newProps, matches);\n\t\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\t\treturn cloneElement(vnode, newProps);\n\t\t\t\t\t}\n\t\t\t\t\treturn vnode;\n\t\t\t\t}\n\t\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render (ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url!==previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange==='function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(Component));\n\nvar Link = function (props) { return (\n\th('a', assign({ onClick: handleLinkClick }, props))\n); };\n\nvar Route = function (props) { return h(props.component, props); };\n\nRouter.subscribers = subscribers;\nRouter.getCurrentUrl = getCurrentUrl;\nRouter.route = route;\nRouter.Router = Router;\nRouter.Route = Route;\nRouter.Link = Link;\n\nexport { subscribers, getCurrentUrl, route, Router, Route, Link };export default Router;\n//# sourceMappingURL=preact-router.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-router/dist/preact-router.es.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n let percent = 100 / this.props.children.count;\n let children = null;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return ({element});\n });\n }\n else {\n children = {this.props.children};\n }\n\t\treturn {children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './home.css'\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Todo from '../components/todo';\r\n\r\nexport default class Home extends Component {\r\n render() {\r\n return (\r\n \r\n Appuntiweb di Steffo
\r\n \r\n Argomenti\r\n
\r\n \r\n \r\n \r\n Fisica\r\n
\r\n \r\n Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n \r\n \r\n Sistemi Operativi\r\n
\r\n \r\n Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n \r\n \r\n Algoritmi e Strutture Dati\r\n
\r\n \r\n Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.\r\n
\r\n \r\n \r\n \r\n Videolezioni di Geometria\r\n
\r\n \r\n Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.\r\n
\r\n \r\n \r\n \r\n Come installare MinGW\r\n
\r\n \r\n Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows. \r\n
\r\n \r\n \r\n \r\n Altre collegamenti utili\r\n
\r\n \r\n \r\n \r\n @unimoreinfo\r\n
\r\n \r\n Il gruppo Telegram del corso di Informatica dell'Unimore! \r\n
\r\n \r\n \r\n \r\n Calendario Lezioni\r\n
\r\n \r\n Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.\r\n
\r\n \r\n \r\n \r\n Erre2\r\n
\r\n \r\n Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.\r\n
\r\n \r\n \r\n \r\n vezzalinistefano/Appunti-Algoritmi\r\n
\r\n \r\n Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.\r\n
\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/home.js","import style from \"./latex.css\";\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }` \n\t\treturn ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./plus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Plus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Minus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n \n Fisica
\n Vettori
\n \n \n \n Componenti cartesiane\n
\n \n Usa le regole base della trigonometria:\n
\n \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`} \n
\n \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`} \n
\n \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`} \n
\n \n \n \n Somma\n
\n \n Scomponi in componenti, poi sommali:\n
\n \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`} \n
\n \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n
\n \n \n \n Differenza\n
\n \n Alla fine è sempre una somma:\n
\n \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`} \n
\n \n Produce il vettore che parte da w e arriva a v .\n
\n \n \n \n Prodotto scalare\n
\n \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n
\n \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`} \n
\n \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`} .\n
\n \n \n \n Prodotto vettoriale\n
\n \n Si chiama vettoriale perchè il risultato è un altro vettore.\n
\n \n {r`\\vec{c} = \\vec{a} \\times \\vec{b}`} \n {r`\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)`} \n - Regola della mano destra
\n
\n \n Non è commutativo!\n
\n \n \n \n Leggi di Newton\n
\n \n \n \n 1ᵃ: Inerzia\n
\n \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`} \n
\n \n \n \n 2ᵃ: Proporzionalità\n
\n \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n
\n \n {r`\\Sigma \\vec{F} = m \\vec{a}`} \n
\n \n \n \n 3ᵃ: Azione e reazione\n
\n \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n
\n \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`} \n
\n \n \n \n Forza di gravità\n
\n \n \n \n Tra due corpi\n
\n \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n
\n \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`} \n
\n \n G è la costante di gravitazione universale e vale:\n
\n \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`} \n
\n \n \n \n Verso la Terra\n
\n \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n g è la costante di gravità della Terra, e vale:\n
\n \n {r`g = 9.81 \\frac{m}{s^2}`} \n
\n \n \n \n Su pianeti diversi\n
\n \n Per pianeti diversi dalla Terra vale la stessa regola:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n L'unica differenza è che cambia la costante di gravità:\n
\n \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`} \n
\n \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`} \n
\n \n \n \n Forze di contatto\n
\n \n \n \n Normale\n
\n \n Si oppone alle forze applicate alla superficie di contatto.\n
\n \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n
\n \n \n \n Attrito statico\n
\n \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Attrito dinamico\n
\n \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Tensione\n
\n \n E' forza trasmessa tra due estremi di una fune.\n
\n \n Può essere redirezionata per mezzo di carrucole.\n
\n \n \n \n Elastica\n
\n \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n
\n \n {r`F = -k x`} \n
\n \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n
\n \n \n \n Cinematica\n
\n \n \n \n Spostamento\n
\n \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n
\n \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`} \n
\n \n \n \n Velocità\n
\n \n È un vettore che misura la variazione di posizione nel tempo.\n
\n \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n
\n \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`} \n
\n \n \n \n Accelerazione\n
\n \n È un vettore che misura la variazione di velocità nel tempo.\n
\n \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n
\n \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`} \n
\n \n \n \n Quantità di moto (momento lineare)\n
\n \n La quantità di moto è una proprietà vettoriale dei corpi:\n
\n \n {r`\\vec{p} = m \\vec{v}`} \n
\n \n Se la forza risultante è nulla, la quantità di moto non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`} \n
\n \n \n \n Moto rettilineo uniforme\n
\n \n \n \n Spostamento\n
\n \n La legge oraria è:\n
\n \n {r`s(t) = v \\cdot \\Delta t + s(0)`} \n
\n \n \n \n Velocità\n
\n \n È costante:\n
\n \n {r`v(t) = k`} \n
\n \n \n \n Accelerazione\n
\n \n La velocità non varia:\n
\n \n {r`a(t) = 0`} \n
\n \n \n \n Forze\n
\n \n Si applica la prima legge di Newton:\n
\n \n f(t) = 0 \n
\n \n \n \n Moto rettilineo uniformemente accelerato\n
\n \n \n \n Spostamento\n
\n \n La legge oraria è:\n
\n \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`} \n
\n \n \n \n Velocità\n
\n \n È una retta:\n
\n \n {r`v(t) = a \\Delta t + v(0)`} \n
\n \n \n \n Accelerazione\n
\n \n È costante:\n
\n \n {r`a(t) = k`} \n
\n \n \n \n Forze\n
\n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n Moto armonico semplice\n
\n \n \n \n Ampiezza\n
\n \n E' la distanza dal centro massima che raggiunge il corpo.\n
\n \n (L'ampiezza di una sinusoide.)\n
\n \n \n \n Velocità angolare\n
\n \n Indica quanto in fretta cambia la posizione del corpo. \n
\n \n Dipende dal periodo:\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n Spostamento\n
\n \n E' una sinusoide:\n
\n \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`} \n
\n \n \n \n Velocità\n
\n \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`} :\n
\n \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`} \n
\n \n \n \n Accelerazione\n
\n \n E' la sinusoide della velocità, sfasata di {r`\\pi`} :\n
\n \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`} \n
\n \n \n \n Forze\n
\n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n Moti composti\n
\n \n \n \n Moto parabolico\n
\n \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n
\n \n \n \n Moto circolare uniforme\n
\n \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`} , sull'asse Y.\n
\n \n \n \n Moto circolare uniforme\n
\n \n \n \n Velocità angolare\n
\n \n Quanto cambia la fase nel tempo.\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n Fase\n
\n \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n
\n \n Si indica con {r`\\phi`} , e generalmente si usa in radianti.\n
\n \n \n \n Velocità\n
\n \n Si applicano le formule per la circonferenza:\n
\n \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`} \n
\n \n \n \n Accelerazione\n
\n \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n
\n \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`} \n
\n \n \n \n Forza centripeta\n
\n \n È verso il centro e si calcola con:\n
\n \n {r`F = m \\cdot a`} \n
\n \n \n \n Lavoro ed energia\n
\n \n \n \n Lavoro\n
\n \n E' compiuto da una forza che sposta un corpo.\n
\n \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`} \n
\n \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n
\n \n \n \n Energia cinetica\n
\n \n Un corpo ha energia cinetica in ogni momento uguale a:\n
\n \n {r`E_c = \\frac{1}{2} m v^2`} \n
\n \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n
\n \n {r`\\Delta E_c = W`} \n
\n \n \n \n Energia potenziale gravitazionale\n
\n \n Un corpo ha energia potenziale in ogni momento pari a: \n
\n \n {r`E_{p_g} = m \\cdot g \\cdot h`} \n
\n \n (Con h uguale a un altezza scelta come punto di riferimento.)\n
\n \n \n \n Energia potenziale elastica\n
\n \n Una molla ha sempre energia potenziale elastica pari a:\n
\n \n {r`E_{p_e} = \\frac{1}{2} k x^2`} \n
\n \n \n \n Forze conservative\n
\n \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n
\n \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n
\n \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n
\n \n {r`E = E_k + E_p`} \n
\n \n \n \n Potenza\n
\n \n È la velocità di trasferimento di energia:\n
\n \n {r`P = \\frac{\\Delta E}{\\Delta t}`} \n
\n \n \n \n Elettrostatica\n
\n \n \n \n Carica elettrica\n
\n \n È una proprietà dei corpi che può essere positiva o negativa .\n
\n \n Si conserva: in un sistema chiuso la carica totale è costante.\n
\n \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`} .\n
\n \n Cariche opp oste si attraggono; cariche uguali si respingono.\n
\n \n \n \n Conduttori e isolanti\n
\n \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n
\n \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n
\n \n Il corpo umano è un buon conduttore.\n
\n \n \n \n Polarizzazione\n
\n \n \n \n Polarizzazione\n
\n \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n
\n \n \n \n \n \n Messa a terra\n
\n \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n
\n \n \n \n \n \n Polarizzazione per strofinio\n
\n \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n
\n \n \n \n Polarizzazione per contatto\n
\n \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n
\n \n \n \n Polarizzazione per induzione\n
\n \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n
\n \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n
\n \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n
\n \n \n \n Forza elettrica\n
\n \n \n \n Legge di Coulomb\n
\n \n Due corpi carichi si attraggono tra loro con forza: \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`} \n
\n \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`} .\n
\n \n \n \n Permeabilità dello spazio vuoto\n
\n \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`} , la permeabilità del vuoto.\n
\n \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`} \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`} \n
\n \n \n \n Campo elettrico\n
\n \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n
\n \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`} \n
\n \n \n \n Flusso elettrico\n
\n \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n
\n \n È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo.\n
\n \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)`} \n
\n \n (dove {r`\\vec{S}`} è il vettore dell'area che abbiamo scelto.)\n
\n \n \n \n Legge di Gauss\n
\n \n Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno.\n
\n \n {r`\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}`} \n
\n \n E' equivalente alla Legge di Coulomb.\n
\n \n \n \n Energia elettrica\n
\n \n \n \n Energia potenziale elettrica\n
\n \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`} .\n
\n \n \n \n Circuiti elettrici\n
\n \n \n \n Potenziale elettrico (Tensione)\n
\n \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n
\n \n {r`V = \\frac{E_{elettrica}}{q}`} \n
\n \n La sua unità di misura è il Volt ({r`V`} ).\n
\n \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n
\n \n \n \n Corrente elettrica (Intensità)\n
\n \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n
\n \n {r`I = \\frac{\\Delta q}{\\Delta t}`} \n
\n \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n
\n \n La sua unità di misura è l'Ampere ({r`A`} ).\n
\n \n \n \n Corrente continua (DC)\n
\n \n Quando in un circuito la direzione della corrente è costante.\n
\n \n \n \n Corrente alternata (AC)\n
\n \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n
\n \n \n \n Potenza elettrica\n
\n \n Possiamo calcolare la potenza di un circuito:\n
\n \n {r`P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`} \n
\n \n \n \n Elementi di un circuito\n
\n \n \n \n Resistore\n
\n \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n
\n \n Il potenziale utilizzato è pari a:\n
\n \n {r`V = R \\cdot I`} \n
\n \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`} ).\n
\n \n La resistenza di un conduttore vale:\n
\n \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`} \n
\n \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n
\n \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`} \n
\n \n \n \n Condensatore\n
\n \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n
\n \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n
\n \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n
\n \n {r`C = \\frac{q_{massima}}{\\Delta V}`} \n
\n \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n
\n \n La capacità aumenta se viene messo qualcosa tra le armature:\n
\n \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`} \n
\n \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`d`} la distanza tra le due armature.\n
\n \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n
\n \n La sua unità di misura è il Farad ({r`Fa`} )\n
\n \n \n \n Amperometro\n
\n \n Misura la corrente elettrica se messo in serie.\n
\n \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n
\n \n \n \n Voltmetro\n
\n \n Misura la differenza di potenziale se messo in parallelo.\n
\n \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n
\n \n \n \n Principi di Kirchhoff\n
\n \n \n \n Legge dei nodi\n
\n \n Per nodo si intende un qualsiasi punto del circuito.\n
\n \n Da un nodo entra ed esce la stessa corrente.\n
\n \n \n \n Legge delle maglie\n
\n \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n
\n \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n
\n \n \n \n Serie e Parallelo\n
\n \n \n \n Circuito in serie\n
\n \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n
\n \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n
\n \n \n \n Circuito in parallelo\n
\n \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n
\n \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n
\n \n \n \n Resistenze equivalenti\n
\n \n \n \n Circuiti in serie\n
\n \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:\n
\n \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`} \n
\n \n \n \n Circuiti in parallelo\n
\n \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:\n
\n \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`} \n
\n \n \n \n Condensatori equivalenti\n
\n \n \n \n Circuiti in serie\n
\n \n Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:\n
\n \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`} \n
\n \n \n \n Circuiti in parallelo\n
\n \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacità di tutti quelli sostituiti:\n
\n \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`} \n
\n \n \n \n Magnetismo\n
\n \n \n \n Permeabilità magnetica dello spazio vuoto\n
\n \n E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.\n
\n \n {r`\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}`} ({r`\\frac{N}{A^2}`} )\n
\n \n \n \n Campo magnetico\n
\n \n Come un campo elettrico, ma per i magneti.\n
\n \n Il suo simbolo è {r`B`} , e la sua unità di misura è il Tesla (T ).\n
\n \n \n \n Flusso magnetico\n
\n \n Come il flusso elettrico, ma per campi magnetici.\n
\n \n Il suo simbolo è {r`\\Phi_B`} e la sua unità di misura è il Weber ({r`Wb = T \\cdot m^2`} ).\n
\n \n \n \n Legge di Gauss per il magnetismo\n
\n \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n
\n \n \n \n Forze magnetiche\n
\n \n \n \n Forza magnetica su carica puntiforme (Forza di Lorentz)\n
\n \n I campi magnetici applicano una forza sulle cariche vicine:\n
\n \n {r`\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n
\n \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n
\n \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n
\n \n \n \n Forza magnetica in un filo\n
\n \n I campi magnetici influenzano anche le cariche presenti in un conduttore:\n
\n \n {r`\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente.\n
\n \n Modulo di L? \n
\n \n \n \n Campi magnetici\n
\n \n \n \n Campo magnetico in una spira\n
\n \n Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.\n
\n \n \n \n Campo magnetico di un solenoide\n
\n \n Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.\n
\n \n All'interno del solenoide si crea un campo (quasi) uniforme:\n
\n \n {r`\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}`} \n
\n \n \n \n Legge di Oersted\n
\n \n Caso particolare della Legge di Ampère.\n
\n \n Il modulo del campo magnetico B prodotto da un filo in cui passa una corrente continua I alla distanza s è:\n
\n \n {r`\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}`} \n
\n \n Verso di B? \n
\n \n \n \n Induzione elettromagnetica\n
\n \n \n \n Forza elettromotrice indotta\n
\n \n Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo. \n
\n \n La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore. \n
\n \n Essa vale:\n
\n \n {r`\\Delta V_{indotta} = v \\cdot B \\cdot L`} \n
\n \n Dove v è la velocità del conduttore, B è l'intensità del campo magnetico ed L è la lunghezza del conduttore.\n
\n \n \n \n Flusso magnetico in una spira\n
\n \n In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Farady-Neumann-Lenz:\n
\n \n {r`\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n \n \n Legge di Faraday\n
\n \n Dice che la forza elettromotrice indotta dipende dalla variazione nel tempo del flusso magnetico.\n
\n \n \n \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n return ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class VlDiGeometria extends Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n Videolezioni di Geometria
\r\n \r\n {r`\r\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\r\n\r\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\r\n\r\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\r\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\r\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\r\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\r\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\r\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\r\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\r\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\r\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\r\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\r\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\r\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\r\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\r\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\r\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\r\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\r\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\r\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\r\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\r\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\r\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\r\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\r\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\r\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\r\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\r\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\r\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\r\n\r\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\r\n `} \r\n \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/vldigeometria.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class MingwInstall extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Come installare MinGW
\r\n \r\n\t\t\t\t\t Scaricate l'installer ufficiale,\r\n\t\t\t\t\t\ted eseguitelo.
\r\n\t\t\t\t\t Dovrebbe comparire questa schermata. Cliccate su Install
, poi scegliete una cartella di installazione\r\n\t\t\t\t\t\t(ricordatevela!) e poi Continue
. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate,\r\n\t\t\t\t\t\ttranne For all users
, che dovrebbe essere disattivato.
\r\n\t\t\t\t\t Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto\r\n\t\t\t\t\t\tContinue
. Premetelo.
\r\n\t\t\t\t\t Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo apt
su\r\n\t\t\t\t\t\tUbuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità.
\r\n\t\t\t\t\t Nel nostro caso, dovrebbero servirci mingw32-base-bin
(per il C e alcune librerie C++) e\r\n\t\t\t\t\t\tmingw32-gcc-g++-bin
(per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete\r\n\t\t\t\t\t\tMark for Installation
. Dovrebbe comparire una freccia gialla sul quadratino.
\r\n\t\t\t\t\t Ora, è il momento di installare i pacchetti. Aprite il menù Installation
, poi premete\r\n\t\t\t\t\t\tApply Changes
, e di nuovo Apply
.
\r\n\t\t\t\t\t Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate\r\n\t\t\t\t\t\tdopo circa 10 minuti.
\r\n\t\t\t\t\t Una volta installato, dobbiamo aggiungere g++
ai programmi eseguibili da Prompt dei Comandi: premete il\r\n\t\t\t\t\t\ttasto Windows, e scrivete PATH
. Windows dovrebbe trovarvi automaticamente quell'opzione.
\r\n\t\t\t\t\t\r\n\t\t\t\t\t Dentro la finestra di Proprietà del Sistema, premete Variabili d'ambiente
.
\r\n\t\t\t\t\t Trovate la variabile d'ambiente globale Path
, e fateci doppio click per modificarla.
\r\n\t\t\t\t\t Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere\r\n\t\t\t\t\t\tquella di MinGW! Premete Sfoglia
.
\r\n\t\t\t\t\t Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la\r\n\t\t\t\t\t\tsottocartella bin
e premete OK
su tutte le finestre che avete aperto fino ad ora,\r\n\t\t\t\t\t\tchiudendole.
\r\n\t\t\t\t\t Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione\r\n\t\t\t\t\t\tgcc
e g++
sul Prompt dei Comandi, e potete finalmente creare dei file .exe!
\r\n\t\t\t\t \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/mingwinstall.js","import style from \"./copyright.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Copyright extends Component {\r\n\trender() {\r\n\t\treturn © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente;\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import style from './index.css';\nimport { Component } from 'preact';\nimport Router from 'preact-router';\nimport Home from './pages/home';\nimport Fisica from './pages/fisica';\nimport VlDiGeometria from './pages/vldigeometria';\nimport MingwInstall from './pages/mingwinstall';\nimport Copyright from './components/copyright';\n\nconst r = String.raw;\n\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;Cappuntiweb Appuntiweb di Steffo
Argomenti
Fisica
Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.
Sistemi Operativi
Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.
Algoritmi e Strutture Dati
Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.
Videolezioni di Geometria
Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.
Come installare MinGW
Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows.
Altre collegamenti utili
@unimoreinfo
Il gruppo Telegram del corso di Informatica dell'Unimore!
Calendario Lezioni
Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.
Erre2
Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.
vezzalinistefano/Appunti-Algoritmi
Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.
© 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente
\ No newline at end of file
diff --git a/docs/manifest.json b/docs/manifest.json
deleted file mode 100644
index 8fd20bd..0000000
--- a/docs/manifest.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "preact-cli app",
- "start_url": "/",
- "display": "standalone",
- "background_color": "#fff",
- "theme_color": "#673ab8",
- "icons": [{
- "src": "/assets/icon.png",
- "type": "image/png",
- "sizes": "512x512"
- }]
-}
diff --git a/docs/polyfills.c6a1c.js b/docs/polyfills.c6a1c.js
deleted file mode 100644
index 2542ccd..0000000
--- a/docs/polyfills.c6a1c.js
+++ /dev/null
@@ -1,2 +0,0 @@
-!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="g9Sn")}({CxuT:function(e){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},LKQF:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="function"==typeof fetch?fetch.bind():function(e,t){return t=t||{},new Promise(function(n,o){function r(){var e,t=[],n=[],o={};return i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(r,i,u){t.push(i=i.toLowerCase()),n.push([i,u]),e=o[i],o[i]=e?e+","+u:u}),{ok:2==(i.status/100|0),status:i.status,statusText:i.statusText,url:i.responseURL,clone:r,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},headers:{keys:function(){return t},entries:function(){return n},get:function(e){return o[e.toLowerCase()]},has:function(e){return e.toLowerCase()in o}}}}var i=new XMLHttpRequest;i.open(t.method||"get",e,!0);for(var u in t.headers)i.setRequestHeader(u,t.headers[u]);i.withCredentials="include"==t.credentials,i.onload=function(){n(r())},i.onerror=o,i.send(t.body||null)})}},UNEV:function(e,t,n){e.exports=window.fetch||(window.fetch=n("LKQF").default||n("LKQF"))},g9Sn:function(e,t,n){"use strict";(function(e){e.Promise||(e.Promise=n("uQqn")),e.fetch||(e.fetch=n("UNEV"))}).call(t,n("CxuT"))},uQqn:function(e){!function(t){function n(){}function o(e,t){return function(){e.apply(t,arguments)}}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],a(e,this)}function i(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?u:c)(t.promise,e._value);var o;try{o=n(e._value)}catch(e){return void c(t.promise,e)}u(t.promise,o)})}function u(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void s(e);if("function"==typeof n)return void a(o(n,t),e)}e._state=1,e._value=t,s(e)}catch(t){c(e,t)}}function c(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t (GFM Style)',
- type: 'boolean'
- },
- requireSpaceBeforeHeadingText: {
- defaultValue: false,
- description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',
- type: 'boolean'
- },
- ghMentions: {
- defaultValue: false,
- description: 'Enables github @mentions',
- type: 'boolean'
- },
- ghMentionsLink: {
- defaultValue: 'https://github.com/{u}',
- description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',
- type: 'string'
- },
- encodeEmails: {
- defaultValue: true,
- description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
- type: 'boolean'
- },
- openLinksInNewWindow: {
- defaultValue: false,
- description: 'Open all links in new windows',
- type: 'boolean'
- },
- backslashEscapesHTMLTags: {
- defaultValue: false,
- description: 'Support for HTML Tag escaping. ex: \foo\',
- type: 'boolean'
- },
- emoji: {
- defaultValue: false,
- description: 'Enable emoji support. Ex: `this is a :smile: emoji`',
- type: 'boolean'
- },
- underline: {
- defaultValue: false,
- description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',
- type: 'boolean'
- },
- completeHTMLDocument: {
- defaultValue: false,
- description: 'Outputs a complete html document, including ``, `` and `` tags',
- type: 'boolean'
- },
- metadata: {
- defaultValue: false,
- description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',
- type: 'boolean'
- },
- splitAdjacentBlockquotes: {
- defaultValue: false,
- description: 'Split adjacent blockquote blocks',
- type: 'boolean'
- }
- };
- if (simple === false) {
- return JSON.parse(JSON.stringify(defaultOptions));
- }
- var ret = {};
- for (var opt in defaultOptions) {
- if (defaultOptions.hasOwnProperty(opt)) {
- ret[opt] = defaultOptions[opt].defaultValue;
- }
- }
- return ret;
- }
-
- function allOptionsOn() {
- 'use strict';
-
- var options = getDefaultOpts(true),
- ret = {};
- for (var opt in options) {
- if (options.hasOwnProperty(opt)) {
- ret[opt] = true;
- }
- }
- return ret;
- }
-
- /**
- * Created by Tivie on 06-01-2015.
- */
-
- // Private properties
- var showdown = {},
- parsers = {},
- extensions = {},
- globalOptions = getDefaultOpts(true),
- setFlavor = 'vanilla',
- flavor = {
- github: {
- omitExtraWLInCodeBlocks: true,
- simplifiedAutoLink: true,
- excludeTrailingPunctuationFromURLs: true,
- literalMidWordUnderscores: true,
- strikethrough: true,
- tables: true,
- tablesHeaderId: true,
- ghCodeBlocks: true,
- tasklists: true,
- disableForced4SpacesIndentedSublists: true,
- simpleLineBreaks: true,
- requireSpaceBeforeHeadingText: true,
- ghCompatibleHeaderId: true,
- ghMentions: true,
- backslashEscapesHTMLTags: true,
- emoji: true,
- splitAdjacentBlockquotes: true
- },
- original: {
- noHeaderId: true,
- ghCodeBlocks: false
- },
- ghost: {
- omitExtraWLInCodeBlocks: true,
- parseImgDimensions: true,
- simplifiedAutoLink: true,
- excludeTrailingPunctuationFromURLs: true,
- literalMidWordUnderscores: true,
- strikethrough: true,
- tables: true,
- tablesHeaderId: true,
- ghCodeBlocks: true,
- tasklists: true,
- smoothLivePreview: true,
- simpleLineBreaks: true,
- requireSpaceBeforeHeadingText: true,
- ghMentions: false,
- encodeEmails: true
- },
- vanilla: getDefaultOpts(true),
- allOn: allOptionsOn()
- };
-
- /**
- * helper namespace
- * @type {{}}
- */
- showdown.helper = {};
-
- /**
- * TODO LEGACY SUPPORT CODE
- * @type {{}}
- */
- showdown.extensions = {};
-
- /**
- * Set a global option
- * @static
- * @param {string} key
- * @param {*} value
- * @returns {showdown}
- */
- showdown.setOption = function (key, value) {
- 'use strict';
-
- globalOptions[key] = value;
- return this;
- };
-
- /**
- * Get a global option
- * @static
- * @param {string} key
- * @returns {*}
- */
- showdown.getOption = function (key) {
- 'use strict';
-
- return globalOptions[key];
- };
-
- /**
- * Get the global options
- * @static
- * @returns {{}}
- */
- showdown.getOptions = function () {
- 'use strict';
-
- return globalOptions;
- };
-
- /**
- * Reset global options to the default values
- * @static
- */
- showdown.resetOptions = function () {
- 'use strict';
-
- globalOptions = getDefaultOpts(true);
- };
-
- /**
- * Set the flavor showdown should use as default
- * @param {string} name
- */
- showdown.setFlavor = function (name) {
- 'use strict';
-
- if (!flavor.hasOwnProperty(name)) {
- throw Error(name + ' flavor was not found');
- }
- showdown.resetOptions();
- var preset = flavor[name];
- setFlavor = name;
- for (var option in preset) {
- if (preset.hasOwnProperty(option)) {
- globalOptions[option] = preset[option];
- }
- }
- };
-
- /**
- * Get the currently set flavor
- * @returns {string}
- */
- showdown.getFlavor = function () {
- 'use strict';
-
- return setFlavor;
- };
-
- /**
- * Get the options of a specified flavor. Returns undefined if the flavor was not found
- * @param {string} name Name of the flavor
- * @returns {{}|undefined}
- */
- showdown.getFlavorOptions = function (name) {
- 'use strict';
-
- if (flavor.hasOwnProperty(name)) {
- return flavor[name];
- }
- };
-
- /**
- * Get the default options
- * @static
- * @param {boolean} [simple=true]
- * @returns {{}}
- */
- showdown.getDefaultOptions = function (simple) {
- 'use strict';
-
- return getDefaultOpts(simple);
- };
-
- /**
- * Get or set a subParser
- *
- * subParser(name) - Get a registered subParser
- * subParser(name, func) - Register a subParser
- * @static
- * @param {string} name
- * @param {function} [func]
- * @returns {*}
- */
- showdown.subParser = function (name, func) {
- 'use strict';
-
- if (showdown.helper.isString(name)) {
- if (typeof func !== 'undefined') {
- parsers[name] = func;
- } else {
- if (parsers.hasOwnProperty(name)) {
- return parsers[name];
- } else {
- throw Error('SubParser named ' + name + ' not registered!');
- }
- }
- }
- };
-
- /**
- * Gets or registers an extension
- * @static
- * @param {string} name
- * @param {object|function=} ext
- * @returns {*}
- */
- showdown.extension = function (name, ext) {
- 'use strict';
-
- if (!showdown.helper.isString(name)) {
- throw Error('Extension \'name\' must be a string');
- }
-
- name = showdown.helper.stdExtName(name);
-
- // Getter
- if (showdown.helper.isUndefined(ext)) {
- if (!extensions.hasOwnProperty(name)) {
- throw Error('Extension named ' + name + ' is not registered!');
- }
- return extensions[name];
-
- // Setter
- } else {
- // Expand extension if it's wrapped in a function
- if (typeof ext === 'function') {
- ext = ext();
- }
-
- // Ensure extension is an array
- if (!showdown.helper.isArray(ext)) {
- ext = [ext];
- }
-
- var validExtension = validate(ext, name);
-
- if (validExtension.valid) {
- extensions[name] = ext;
- } else {
- throw Error(validExtension.error);
- }
- }
- };
-
- /**
- * Gets all extensions registered
- * @returns {{}}
- */
- showdown.getAllExtensions = function () {
- 'use strict';
-
- return extensions;
- };
-
- /**
- * Remove an extension
- * @param {string} name
- */
- showdown.removeExtension = function (name) {
- 'use strict';
-
- delete extensions[name];
- };
-
- /**
- * Removes all extensions
- */
- showdown.resetExtensions = function () {
- 'use strict';
-
- extensions = {};
- };
-
- /**
- * Validate extension
- * @param {array} extension
- * @param {string} name
- * @returns {{valid: boolean, error: string}}
- */
- function validate(extension, name) {
- 'use strict';
-
- var errMsg = name ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',
- ret = {
- valid: true,
- error: ''
- };
-
- if (!showdown.helper.isArray(extension)) {
- extension = [extension];
- }
-
- for (var i = 0; i < extension.length; ++i) {
- var baseMsg = errMsg + ' sub-extension ' + i + ': ',
- ext = extension[i];
- if (typeof ext !== 'object') {
- ret.valid = false;
- ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';
- return ret;
- }
-
- if (!showdown.helper.isString(ext.type)) {
- ret.valid = false;
- ret.error = baseMsg + 'property "type" must be a string, but ' + typeof ext.type + ' given';
- return ret;
- }
-
- var type = ext.type = ext.type.toLowerCase();
-
- // normalize extension type
- if (type === 'language') {
- type = ext.type = 'lang';
- }
-
- if (type === 'html') {
- type = ext.type = 'output';
- }
-
- if (type !== 'lang' && type !== 'output' && type !== 'listener') {
- ret.valid = false;
- ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: "lang/language", "output/html" or "listener"';
- return ret;
- }
-
- if (type === 'listener') {
- if (showdown.helper.isUndefined(ext.listeners)) {
- ret.valid = false;
- ret.error = baseMsg + '. Extensions of type "listener" must have a property called "listeners"';
- return ret;
- }
- } else {
- if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {
- ret.valid = false;
- ret.error = baseMsg + type + ' extensions must define either a "regex" property or a "filter" method';
- return ret;
- }
- }
-
- if (ext.listeners) {
- if (typeof ext.listeners !== 'object') {
- ret.valid = false;
- ret.error = baseMsg + '"listeners" property must be an object but ' + typeof ext.listeners + ' given';
- return ret;
- }
- for (var ln in ext.listeners) {
- if (ext.listeners.hasOwnProperty(ln)) {
- if (typeof ext.listeners[ln] !== 'function') {
- ret.valid = false;
- ret.error = baseMsg + '"listeners" property must be an hash of [event name]: [callback]. listeners.' + ln + ' must be a function but ' + typeof ext.listeners[ln] + ' given';
- return ret;
- }
- }
- }
- }
-
- if (ext.filter) {
- if (typeof ext.filter !== 'function') {
- ret.valid = false;
- ret.error = baseMsg + '"filter" must be a function, but ' + typeof ext.filter + ' given';
- return ret;
- }
- } else if (ext.regex) {
- if (showdown.helper.isString(ext.regex)) {
- ext.regex = new RegExp(ext.regex, 'g');
- }
- if (!(ext.regex instanceof RegExp)) {
- ret.valid = false;
- ret.error = baseMsg + '"regex" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';
- return ret;
- }
- if (showdown.helper.isUndefined(ext.replace)) {
- ret.valid = false;
- ret.error = baseMsg + '"regex" extensions must implement a replace string or function';
- return ret;
- }
- }
- }
- return ret;
- }
-
- /**
- * Validate extension
- * @param {object} ext
- * @returns {boolean}
- */
- showdown.validateExtension = function (ext) {
- 'use strict';
-
- var validateExtension = validate(ext, null);
- if (!validateExtension.valid) {
- console.warn(validateExtension.error);
- return false;
- }
- return true;
- };
-
- /**
- * showdownjs helper functions
- */
-
- if (!showdown.hasOwnProperty('helper')) {
- showdown.helper = {};
- }
-
- /**
- * Check if var is string
- * @static
- * @param {string} a
- * @returns {boolean}
- */
- showdown.helper.isString = function (a) {
- 'use strict';
-
- return typeof a === 'string' || a instanceof String;
- };
-
- /**
- * Check if var is a function
- * @static
- * @param {*} a
- * @returns {boolean}
- */
- showdown.helper.isFunction = function (a) {
- 'use strict';
-
- var getType = {};
- return a && getType.toString.call(a) === '[object Function]';
- };
-
- /**
- * isArray helper function
- * @static
- * @param {*} a
- * @returns {boolean}
- */
- showdown.helper.isArray = function (a) {
- 'use strict';
-
- return Array.isArray(a);
- };
-
- /**
- * Check if value is undefined
- * @static
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
- */
- showdown.helper.isUndefined = function (value) {
- 'use strict';
-
- return typeof value === 'undefined';
- };
-
- /**
- * ForEach helper function
- * Iterates over Arrays and Objects (own properties only)
- * @static
- * @param {*} obj
- * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object
- */
- showdown.helper.forEach = function (obj, callback) {
- 'use strict';
- // check if obj is defined
-
- if (showdown.helper.isUndefined(obj)) {
- throw new Error('obj param is required');
- }
-
- if (showdown.helper.isUndefined(callback)) {
- throw new Error('callback param is required');
- }
-
- if (!showdown.helper.isFunction(callback)) {
- throw new Error('callback param must be a function/closure');
- }
-
- if (typeof obj.forEach === 'function') {
- obj.forEach(callback);
- } else if (showdown.helper.isArray(obj)) {
- for (var i = 0; i < obj.length; i++) {
- callback(obj[i], i, obj);
- }
- } else if (typeof obj === 'object') {
- for (var prop in obj) {
- if (obj.hasOwnProperty(prop)) {
- callback(obj[prop], prop, obj);
- }
- }
- } else {
- throw new Error('obj does not seem to be an array or an iterable object');
- }
- };
-
- /**
- * Standardidize extension name
- * @static
- * @param {string} s extension name
- * @returns {string}
- */
- showdown.helper.stdExtName = function (s) {
- 'use strict';
-
- return s.replace(/[_?*+\/\\.^-]/g, '').replace(/\s/g, '').toLowerCase();
- };
-
- function escapeCharactersCallback(wholeMatch, m1) {
- 'use strict';
-
- var charCodeToEscape = m1.charCodeAt(0);
- return '¨E' + charCodeToEscape + 'E';
- }
-
- /**
- * Callback used to escape characters when passing through String.replace
- * @static
- * @param {string} wholeMatch
- * @param {string} m1
- * @returns {string}
- */
- showdown.helper.escapeCharactersCallback = escapeCharactersCallback;
-
- /**
- * Escape characters in a string
- * @static
- * @param {string} text
- * @param {string} charsToEscape
- * @param {boolean} afterBackslash
- * @returns {XML|string|void|*}
- */
- showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {
- 'use strict';
- // First we have to escape the escape characters so that
- // we can build a character class out of them
-
- var regexString = '([' + charsToEscape.replace(/([\[\]\\])/g, '\\$1') + '])';
-
- if (afterBackslash) {
- regexString = '\\\\' + regexString;
- }
-
- var regex = new RegExp(regexString, 'g');
- text = text.replace(regex, escapeCharactersCallback);
-
- return text;
- };
-
- /**
- * Unescape HTML entities
- * @param txt
- * @returns {string}
- */
- showdown.helper.unescapeHTMLEntities = function (txt) {
- 'use strict';
-
- return txt.replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');
- };
-
- var rgxFindMatchPos = function rgxFindMatchPos(str, left, right, flags) {
- 'use strict';
-
- var f = flags || '',
- g = f.indexOf('g') > -1,
- x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),
- l = new RegExp(left, f.replace(/g/g, '')),
- pos = [],
- t,
- s,
- m,
- start,
- end;
-
- do {
- t = 0;
- while (m = x.exec(str)) {
- if (l.test(m[0])) {
- if (!t++) {
- s = x.lastIndex;
- start = s - m[0].length;
- }
- } else if (t) {
- if (! --t) {
- end = m.index + m[0].length;
- var obj = {
- left: { start: start, end: s },
- match: { start: s, end: m.index },
- right: { start: m.index, end: end },
- wholeMatch: { start: start, end: end }
- };
- pos.push(obj);
- if (!g) {
- return pos;
- }
- }
- }
- }
- } while (t && (x.lastIndex = s));
-
- return pos;
- };
-
- /**
- * matchRecursiveRegExp
- *
- * (c) 2007 Steven Levithan
- * MIT License
- *
- * Accepts a string to search, a left and right format delimiter
- * as regex patterns, and optional regex flags. Returns an array
- * of matches, allowing nested instances of left/right delimiters.
- * Use the "g" flag to return all matches, otherwise only the
- * first is returned. Be careful to ensure that the left and
- * right format delimiters produce mutually exclusive matches.
- * Backreferences are not supported within the right delimiter
- * due to how it is internally combined with the left delimiter.
- * When matching strings whose format delimiters are unbalanced
- * to the left or right, the output is intentionally as a
- * conventional regex library with recursion support would
- * produce, e.g. "<" and ">" both produce ["x"] when using
- * "<" and ">" as the delimiters (both strings contain a single,
- * balanced instance of "").
- *
- * examples:
- * matchRecursiveRegExp("test", "\\(", "\\)")
- * returns: []
- * matchRecursiveRegExp(">>t<>", "<", ">", "g")
- * returns: ["t<>", ""]
- * matchRecursiveRegExp("test", "]*>", "", "gi")
- * returns: ["test"]
- */
- showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {
- 'use strict';
-
- var matchPos = rgxFindMatchPos(str, left, right, flags),
- results = [];
-
- for (var i = 0; i < matchPos.length; ++i) {
- results.push([str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)]);
- }
- return results;
- };
-
- /**
- *
- * @param {string} str
- * @param {string|function} replacement
- * @param {string} left
- * @param {string} right
- * @param {string} flags
- * @returns {string}
- */
- showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {
- 'use strict';
-
- if (!showdown.helper.isFunction(replacement)) {
- var repStr = replacement;
- replacement = function replacement() {
- return repStr;
- };
- }
-
- var matchPos = rgxFindMatchPos(str, left, right, flags),
- finalStr = str,
- lng = matchPos.length;
-
- if (lng > 0) {
- var bits = [];
- if (matchPos[0].wholeMatch.start !== 0) {
- bits.push(str.slice(0, matchPos[0].wholeMatch.start));
- }
- for (var i = 0; i < lng; ++i) {
- bits.push(replacement(str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)));
- if (i < lng - 1) {
- bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));
- }
- }
- if (matchPos[lng - 1].wholeMatch.end < str.length) {
- bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));
- }
- finalStr = bits.join('');
- }
- return finalStr;
- };
-
- /**
- * Returns the index within the passed String object of the first occurrence of the specified regex,
- * starting the search at fromIndex. Returns -1 if the value is not found.
- *
- * @param {string} str string to search
- * @param {RegExp} regex Regular expression to search
- * @param {int} [fromIndex = 0] Index to start the search
- * @returns {Number}
- * @throws InvalidArgumentError
- */
- showdown.helper.regexIndexOf = function (str, regex, fromIndex) {
- 'use strict';
-
- if (!showdown.helper.isString(str)) {
- throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
- }
- if (regex instanceof RegExp === false) {
- throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';
- }
- var indexOf = str.substring(fromIndex || 0).search(regex);
- return indexOf >= 0 ? indexOf + (fromIndex || 0) : indexOf;
- };
-
- /**
- * Splits the passed string object at the defined index, and returns an array composed of the two substrings
- * @param {string} str string to split
- * @param {int} index index to split string at
- * @returns {[string,string]}
- * @throws InvalidArgumentError
- */
- showdown.helper.splitAtIndex = function (str, index) {
- 'use strict';
-
- if (!showdown.helper.isString(str)) {
- throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
- }
- return [str.substring(0, index), str.substring(index)];
- };
-
- /**
- * Obfuscate an e-mail address through the use of Character Entities,
- * transforming ASCII characters into their equivalent decimal or hex entities.
- *
- * Since it has a random component, subsequent calls to this function produce different results
- *
- * @param {string} mail
- * @returns {string}
- */
- showdown.helper.encodeEmailAddress = function (mail) {
- 'use strict';
-
- var encode = [function (ch) {
- return '' + ch.charCodeAt(0) + ';';
- }, function (ch) {
- return '' + ch.charCodeAt(0).toString(16) + ';';
- }, function (ch) {
- return ch;
- }];
-
- mail = mail.replace(/./g, function (ch) {
- if (ch === '@') {
- // this *must* be encoded. I insist.
- ch = encode[Math.floor(Math.random() * 2)](ch);
- } else {
- var r = Math.random();
- // roughly 10% raw, 45% hex, 45% dec
- ch = r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch);
- }
- return ch;
- });
-
- return mail;
- };
-
- /**
- *
- * @param str
- * @param targetLength
- * @param padString
- * @returns {string}
- */
- showdown.helper.padEnd = function padEnd(str, targetLength, padString) {
- 'use strict';
- /*jshint bitwise: false*/
- // eslint-disable-next-line space-infix-ops
-
- targetLength = targetLength >> 0; //floor if number or convert non-number to 0;
- /*jshint bitwise: true*/
- padString = String(padString || ' ');
- if (str.length > targetLength) {
- return String(str);
- } else {
- targetLength = targetLength - str.length;
- if (targetLength > padString.length) {
- padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed
- }
- return String(str) + padString.slice(0, targetLength);
- }
- };
-
- /**
- * POLYFILLS
- */
- // use this instead of builtin is undefined for IE8 compatibility
- if (typeof console === 'undefined') {
- console = {
- warn: function warn(msg) {
- 'use strict';
-
- alert(msg);
- },
- log: function log(msg) {
- 'use strict';
-
- alert(msg);
- },
- error: function error(msg) {
- 'use strict';
-
- throw msg;
- }
- };
- }
-
- /**
- * Common regexes.
- * We declare some common regexes to improve performance
- */
- showdown.helper.regexes = {
- asteriskDashAndColon: /([*_:~])/g
- };
-
- /**
- * EMOJIS LIST
- */
- showdown.helper.emojis = {
- '+1': '\uD83D\uDC4D',
- '-1': '\uD83D\uDC4E',
- '100': '\uD83D\uDCAF',
- '1234': '\uD83D\uDD22',
- '1st_place_medal': '\uD83E\uDD47',
- '2nd_place_medal': '\uD83E\uDD48',
- '3rd_place_medal': '\uD83E\uDD49',
- '8ball': '\uD83C\uDFB1',
- 'a': '\uD83C\uDD70\uFE0F',
- 'ab': '\uD83C\uDD8E',
- 'abc': '\uD83D\uDD24',
- 'abcd': '\uD83D\uDD21',
- 'accept': '\uD83C\uDE51',
- 'aerial_tramway': '\uD83D\uDEA1',
- 'airplane': '\u2708\uFE0F',
- 'alarm_clock': '\u23F0',
- 'alembic': '\u2697\uFE0F',
- 'alien': '\uD83D\uDC7D',
- 'ambulance': '\uD83D\uDE91',
- 'amphora': '\uD83C\uDFFA',
- 'anchor': '\u2693\uFE0F',
- 'angel': '\uD83D\uDC7C',
- 'anger': '\uD83D\uDCA2',
- 'angry': '\uD83D\uDE20',
- 'anguished': '\uD83D\uDE27',
- 'ant': '\uD83D\uDC1C',
- 'apple': '\uD83C\uDF4E',
- 'aquarius': '\u2652\uFE0F',
- 'aries': '\u2648\uFE0F',
- 'arrow_backward': '\u25C0\uFE0F',
- 'arrow_double_down': '\u23EC',
- 'arrow_double_up': '\u23EB',
- 'arrow_down': '\u2B07\uFE0F',
- 'arrow_down_small': '\uD83D\uDD3D',
- 'arrow_forward': '\u25B6\uFE0F',
- 'arrow_heading_down': '\u2935\uFE0F',
- 'arrow_heading_up': '\u2934\uFE0F',
- 'arrow_left': '\u2B05\uFE0F',
- 'arrow_lower_left': '\u2199\uFE0F',
- 'arrow_lower_right': '\u2198\uFE0F',
- 'arrow_right': '\u27A1\uFE0F',
- 'arrow_right_hook': '\u21AA\uFE0F',
- 'arrow_up': '\u2B06\uFE0F',
- 'arrow_up_down': '\u2195\uFE0F',
- 'arrow_up_small': '\uD83D\uDD3C',
- 'arrow_upper_left': '\u2196\uFE0F',
- 'arrow_upper_right': '\u2197\uFE0F',
- 'arrows_clockwise': '\uD83D\uDD03',
- 'arrows_counterclockwise': '\uD83D\uDD04',
- 'art': '\uD83C\uDFA8',
- 'articulated_lorry': '\uD83D\uDE9B',
- 'artificial_satellite': '\uD83D\uDEF0',
- 'astonished': '\uD83D\uDE32',
- 'athletic_shoe': '\uD83D\uDC5F',
- 'atm': '\uD83C\uDFE7',
- 'atom_symbol': '\u269B\uFE0F',
- 'avocado': '\uD83E\uDD51',
- 'b': '\uD83C\uDD71\uFE0F',
- 'baby': '\uD83D\uDC76',
- 'baby_bottle': '\uD83C\uDF7C',
- 'baby_chick': '\uD83D\uDC24',
- 'baby_symbol': '\uD83D\uDEBC',
- 'back': '\uD83D\uDD19',
- 'bacon': '\uD83E\uDD53',
- 'badminton': '\uD83C\uDFF8',
- 'baggage_claim': '\uD83D\uDEC4',
- 'baguette_bread': '\uD83E\uDD56',
- 'balance_scale': '\u2696\uFE0F',
- 'balloon': '\uD83C\uDF88',
- 'ballot_box': '\uD83D\uDDF3',
- 'ballot_box_with_check': '\u2611\uFE0F',
- 'bamboo': '\uD83C\uDF8D',
- 'banana': '\uD83C\uDF4C',
- 'bangbang': '\u203C\uFE0F',
- 'bank': '\uD83C\uDFE6',
- 'bar_chart': '\uD83D\uDCCA',
- 'barber': '\uD83D\uDC88',
- 'baseball': '\u26BE\uFE0F',
- 'basketball': '\uD83C\uDFC0',
- 'basketball_man': '\u26F9\uFE0F',
- 'basketball_woman': '\u26F9\uFE0F\u2640\uFE0F',
- 'bat': '\uD83E\uDD87',
- 'bath': '\uD83D\uDEC0',
- 'bathtub': '\uD83D\uDEC1',
- 'battery': '\uD83D\uDD0B',
- 'beach_umbrella': '\uD83C\uDFD6',
- 'bear': '\uD83D\uDC3B',
- 'bed': '\uD83D\uDECF',
- 'bee': '\uD83D\uDC1D',
- 'beer': '\uD83C\uDF7A',
- 'beers': '\uD83C\uDF7B',
- 'beetle': '\uD83D\uDC1E',
- 'beginner': '\uD83D\uDD30',
- 'bell': '\uD83D\uDD14',
- 'bellhop_bell': '\uD83D\uDECE',
- 'bento': '\uD83C\uDF71',
- 'biking_man': '\uD83D\uDEB4',
- 'bike': '\uD83D\uDEB2',
- 'biking_woman': '\uD83D\uDEB4\u2640\uFE0F',
- 'bikini': '\uD83D\uDC59',
- 'biohazard': '\u2623\uFE0F',
- 'bird': '\uD83D\uDC26',
- 'birthday': '\uD83C\uDF82',
- 'black_circle': '\u26AB\uFE0F',
- 'black_flag': '\uD83C\uDFF4',
- 'black_heart': '\uD83D\uDDA4',
- 'black_joker': '\uD83C\uDCCF',
- 'black_large_square': '\u2B1B\uFE0F',
- 'black_medium_small_square': '\u25FE\uFE0F',
- 'black_medium_square': '\u25FC\uFE0F',
- 'black_nib': '\u2712\uFE0F',
- 'black_small_square': '\u25AA\uFE0F',
- 'black_square_button': '\uD83D\uDD32',
- 'blonde_man': '\uD83D\uDC71',
- 'blonde_woman': '\uD83D\uDC71\u2640\uFE0F',
- 'blossom': '\uD83C\uDF3C',
- 'blowfish': '\uD83D\uDC21',
- 'blue_book': '\uD83D\uDCD8',
- 'blue_car': '\uD83D\uDE99',
- 'blue_heart': '\uD83D\uDC99',
- 'blush': '\uD83D\uDE0A',
- 'boar': '\uD83D\uDC17',
- 'boat': '\u26F5\uFE0F',
- 'bomb': '\uD83D\uDCA3',
- 'book': '\uD83D\uDCD6',
- 'bookmark': '\uD83D\uDD16',
- 'bookmark_tabs': '\uD83D\uDCD1',
- 'books': '\uD83D\uDCDA',
- 'boom': '\uD83D\uDCA5',
- 'boot': '\uD83D\uDC62',
- 'bouquet': '\uD83D\uDC90',
- 'bowing_man': '\uD83D\uDE47',
- 'bow_and_arrow': '\uD83C\uDFF9',
- 'bowing_woman': '\uD83D\uDE47\u2640\uFE0F',
- 'bowling': '\uD83C\uDFB3',
- 'boxing_glove': '\uD83E\uDD4A',
- 'boy': '\uD83D\uDC66',
- 'bread': '\uD83C\uDF5E',
- 'bride_with_veil': '\uD83D\uDC70',
- 'bridge_at_night': '\uD83C\uDF09',
- 'briefcase': '\uD83D\uDCBC',
- 'broken_heart': '\uD83D\uDC94',
- 'bug': '\uD83D\uDC1B',
- 'building_construction': '\uD83C\uDFD7',
- 'bulb': '\uD83D\uDCA1',
- 'bullettrain_front': '\uD83D\uDE85',
- 'bullettrain_side': '\uD83D\uDE84',
- 'burrito': '\uD83C\uDF2F',
- 'bus': '\uD83D\uDE8C',
- 'business_suit_levitating': '\uD83D\uDD74',
- 'busstop': '\uD83D\uDE8F',
- 'bust_in_silhouette': '\uD83D\uDC64',
- 'busts_in_silhouette': '\uD83D\uDC65',
- 'butterfly': '\uD83E\uDD8B',
- 'cactus': '\uD83C\uDF35',
- 'cake': '\uD83C\uDF70',
- 'calendar': '\uD83D\uDCC6',
- 'call_me_hand': '\uD83E\uDD19',
- 'calling': '\uD83D\uDCF2',
- 'camel': '\uD83D\uDC2B',
- 'camera': '\uD83D\uDCF7',
- 'camera_flash': '\uD83D\uDCF8',
- 'camping': '\uD83C\uDFD5',
- 'cancer': '\u264B\uFE0F',
- 'candle': '\uD83D\uDD6F',
- 'candy': '\uD83C\uDF6C',
- 'canoe': '\uD83D\uDEF6',
- 'capital_abcd': '\uD83D\uDD20',
- 'capricorn': '\u2651\uFE0F',
- 'car': '\uD83D\uDE97',
- 'card_file_box': '\uD83D\uDDC3',
- 'card_index': '\uD83D\uDCC7',
- 'card_index_dividers': '\uD83D\uDDC2',
- 'carousel_horse': '\uD83C\uDFA0',
- 'carrot': '\uD83E\uDD55',
- 'cat': '\uD83D\uDC31',
- 'cat2': '\uD83D\uDC08',
- 'cd': '\uD83D\uDCBF',
- 'chains': '\u26D3',
- 'champagne': '\uD83C\uDF7E',
- 'chart': '\uD83D\uDCB9',
- 'chart_with_downwards_trend': '\uD83D\uDCC9',
- 'chart_with_upwards_trend': '\uD83D\uDCC8',
- 'checkered_flag': '\uD83C\uDFC1',
- 'cheese': '\uD83E\uDDC0',
- 'cherries': '\uD83C\uDF52',
- 'cherry_blossom': '\uD83C\uDF38',
- 'chestnut': '\uD83C\uDF30',
- 'chicken': '\uD83D\uDC14',
- 'children_crossing': '\uD83D\uDEB8',
- 'chipmunk': '\uD83D\uDC3F',
- 'chocolate_bar': '\uD83C\uDF6B',
- 'christmas_tree': '\uD83C\uDF84',
- 'church': '\u26EA\uFE0F',
- 'cinema': '\uD83C\uDFA6',
- 'circus_tent': '\uD83C\uDFAA',
- 'city_sunrise': '\uD83C\uDF07',
- 'city_sunset': '\uD83C\uDF06',
- 'cityscape': '\uD83C\uDFD9',
- 'cl': '\uD83C\uDD91',
- 'clamp': '\uD83D\uDDDC',
- 'clap': '\uD83D\uDC4F',
- 'clapper': '\uD83C\uDFAC',
- 'classical_building': '\uD83C\uDFDB',
- 'clinking_glasses': '\uD83E\uDD42',
- 'clipboard': '\uD83D\uDCCB',
- 'clock1': '\uD83D\uDD50',
- 'clock10': '\uD83D\uDD59',
- 'clock1030': '\uD83D\uDD65',
- 'clock11': '\uD83D\uDD5A',
- 'clock1130': '\uD83D\uDD66',
- 'clock12': '\uD83D\uDD5B',
- 'clock1230': '\uD83D\uDD67',
- 'clock130': '\uD83D\uDD5C',
- 'clock2': '\uD83D\uDD51',
- 'clock230': '\uD83D\uDD5D',
- 'clock3': '\uD83D\uDD52',
- 'clock330': '\uD83D\uDD5E',
- 'clock4': '\uD83D\uDD53',
- 'clock430': '\uD83D\uDD5F',
- 'clock5': '\uD83D\uDD54',
- 'clock530': '\uD83D\uDD60',
- 'clock6': '\uD83D\uDD55',
- 'clock630': '\uD83D\uDD61',
- 'clock7': '\uD83D\uDD56',
- 'clock730': '\uD83D\uDD62',
- 'clock8': '\uD83D\uDD57',
- 'clock830': '\uD83D\uDD63',
- 'clock9': '\uD83D\uDD58',
- 'clock930': '\uD83D\uDD64',
- 'closed_book': '\uD83D\uDCD5',
- 'closed_lock_with_key': '\uD83D\uDD10',
- 'closed_umbrella': '\uD83C\uDF02',
- 'cloud': '\u2601\uFE0F',
- 'cloud_with_lightning': '\uD83C\uDF29',
- 'cloud_with_lightning_and_rain': '\u26C8',
- 'cloud_with_rain': '\uD83C\uDF27',
- 'cloud_with_snow': '\uD83C\uDF28',
- 'clown_face': '\uD83E\uDD21',
- 'clubs': '\u2663\uFE0F',
- 'cocktail': '\uD83C\uDF78',
- 'coffee': '\u2615\uFE0F',
- 'coffin': '\u26B0\uFE0F',
- 'cold_sweat': '\uD83D\uDE30',
- 'comet': '\u2604\uFE0F',
- 'computer': '\uD83D\uDCBB',
- 'computer_mouse': '\uD83D\uDDB1',
- 'confetti_ball': '\uD83C\uDF8A',
- 'confounded': '\uD83D\uDE16',
- 'confused': '\uD83D\uDE15',
- 'congratulations': '\u3297\uFE0F',
- 'construction': '\uD83D\uDEA7',
- 'construction_worker_man': '\uD83D\uDC77',
- 'construction_worker_woman': '\uD83D\uDC77\u2640\uFE0F',
- 'control_knobs': '\uD83C\uDF9B',
- 'convenience_store': '\uD83C\uDFEA',
- 'cookie': '\uD83C\uDF6A',
- 'cool': '\uD83C\uDD92',
- 'policeman': '\uD83D\uDC6E',
- 'copyright': '\xA9\uFE0F',
- 'corn': '\uD83C\uDF3D',
- 'couch_and_lamp': '\uD83D\uDECB',
- 'couple': '\uD83D\uDC6B',
- 'couple_with_heart_woman_man': '\uD83D\uDC91',
- 'couple_with_heart_man_man': '\uD83D\uDC68\u2764\uFE0F\uD83D\uDC68',
- 'couple_with_heart_woman_woman': '\uD83D\uDC69\u2764\uFE0F\uD83D\uDC69',
- 'couplekiss_man_man': '\uD83D\uDC68\u2764\uFE0F\uD83D\uDC8B\uD83D\uDC68',
- 'couplekiss_man_woman': '\uD83D\uDC8F',
- 'couplekiss_woman_woman': '\uD83D\uDC69\u2764\uFE0F\uD83D\uDC8B\uD83D\uDC69',
- 'cow': '\uD83D\uDC2E',
- 'cow2': '\uD83D\uDC04',
- 'cowboy_hat_face': '\uD83E\uDD20',
- 'crab': '\uD83E\uDD80',
- 'crayon': '\uD83D\uDD8D',
- 'credit_card': '\uD83D\uDCB3',
- 'crescent_moon': '\uD83C\uDF19',
- 'cricket': '\uD83C\uDFCF',
- 'crocodile': '\uD83D\uDC0A',
- 'croissant': '\uD83E\uDD50',
- 'crossed_fingers': '\uD83E\uDD1E',
- 'crossed_flags': '\uD83C\uDF8C',
- 'crossed_swords': '\u2694\uFE0F',
- 'crown': '\uD83D\uDC51',
- 'cry': '\uD83D\uDE22',
- 'crying_cat_face': '\uD83D\uDE3F',
- 'crystal_ball': '\uD83D\uDD2E',
- 'cucumber': '\uD83E\uDD52',
- 'cupid': '\uD83D\uDC98',
- 'curly_loop': '\u27B0',
- 'currency_exchange': '\uD83D\uDCB1',
- 'curry': '\uD83C\uDF5B',
- 'custard': '\uD83C\uDF6E',
- 'customs': '\uD83D\uDEC3',
- 'cyclone': '\uD83C\uDF00',
- 'dagger': '\uD83D\uDDE1',
- 'dancer': '\uD83D\uDC83',
- 'dancing_women': '\uD83D\uDC6F',
- 'dancing_men': '\uD83D\uDC6F\u2642\uFE0F',
- 'dango': '\uD83C\uDF61',
- 'dark_sunglasses': '\uD83D\uDD76',
- 'dart': '\uD83C\uDFAF',
- 'dash': '\uD83D\uDCA8',
- 'date': '\uD83D\uDCC5',
- 'deciduous_tree': '\uD83C\uDF33',
- 'deer': '\uD83E\uDD8C',
- 'department_store': '\uD83C\uDFEC',
- 'derelict_house': '\uD83C\uDFDA',
- 'desert': '\uD83C\uDFDC',
- 'desert_island': '\uD83C\uDFDD',
- 'desktop_computer': '\uD83D\uDDA5',
- 'male_detective': '\uD83D\uDD75\uFE0F',
- 'diamond_shape_with_a_dot_inside': '\uD83D\uDCA0',
- 'diamonds': '\u2666\uFE0F',
- 'disappointed': '\uD83D\uDE1E',
- 'disappointed_relieved': '\uD83D\uDE25',
- 'dizzy': '\uD83D\uDCAB',
- 'dizzy_face': '\uD83D\uDE35',
- 'do_not_litter': '\uD83D\uDEAF',
- 'dog': '\uD83D\uDC36',
- 'dog2': '\uD83D\uDC15',
- 'dollar': '\uD83D\uDCB5',
- 'dolls': '\uD83C\uDF8E',
- 'dolphin': '\uD83D\uDC2C',
- 'door': '\uD83D\uDEAA',
- 'doughnut': '\uD83C\uDF69',
- 'dove': '\uD83D\uDD4A',
- 'dragon': '\uD83D\uDC09',
- 'dragon_face': '\uD83D\uDC32',
- 'dress': '\uD83D\uDC57',
- 'dromedary_camel': '\uD83D\uDC2A',
- 'drooling_face': '\uD83E\uDD24',
- 'droplet': '\uD83D\uDCA7',
- 'drum': '\uD83E\uDD41',
- 'duck': '\uD83E\uDD86',
- 'dvd': '\uD83D\uDCC0',
- 'e-mail': '\uD83D\uDCE7',
- 'eagle': '\uD83E\uDD85',
- 'ear': '\uD83D\uDC42',
- 'ear_of_rice': '\uD83C\uDF3E',
- 'earth_africa': '\uD83C\uDF0D',
- 'earth_americas': '\uD83C\uDF0E',
- 'earth_asia': '\uD83C\uDF0F',
- 'egg': '\uD83E\uDD5A',
- 'eggplant': '\uD83C\uDF46',
- 'eight_pointed_black_star': '\u2734\uFE0F',
- 'eight_spoked_asterisk': '\u2733\uFE0F',
- 'electric_plug': '\uD83D\uDD0C',
- 'elephant': '\uD83D\uDC18',
- 'email': '\u2709\uFE0F',
- 'end': '\uD83D\uDD1A',
- 'envelope_with_arrow': '\uD83D\uDCE9',
- 'euro': '\uD83D\uDCB6',
- 'european_castle': '\uD83C\uDFF0',
- 'european_post_office': '\uD83C\uDFE4',
- 'evergreen_tree': '\uD83C\uDF32',
- 'exclamation': '\u2757\uFE0F',
- 'expressionless': '\uD83D\uDE11',
- 'eye': '\uD83D\uDC41',
- 'eye_speech_bubble': '\uD83D\uDC41\uD83D\uDDE8',
- 'eyeglasses': '\uD83D\uDC53',
- 'eyes': '\uD83D\uDC40',
- 'face_with_head_bandage': '\uD83E\uDD15',
- 'face_with_thermometer': '\uD83E\uDD12',
- 'fist_oncoming': '\uD83D\uDC4A',
- 'factory': '\uD83C\uDFED',
- 'fallen_leaf': '\uD83C\uDF42',
- 'family_man_woman_boy': '\uD83D\uDC6A',
- 'family_man_boy': '\uD83D\uDC68\uD83D\uDC66',
- 'family_man_boy_boy': '\uD83D\uDC68\uD83D\uDC66\uD83D\uDC66',
- 'family_man_girl': '\uD83D\uDC68\uD83D\uDC67',
- 'family_man_girl_boy': '\uD83D\uDC68\uD83D\uDC67\uD83D\uDC66',
- 'family_man_girl_girl': '\uD83D\uDC68\uD83D\uDC67\uD83D\uDC67',
- 'family_man_man_boy': '\uD83D\uDC68\uD83D\uDC68\uD83D\uDC66',
- 'family_man_man_boy_boy': '\uD83D\uDC68\uD83D\uDC68\uD83D\uDC66\uD83D\uDC66',
- 'family_man_man_girl': '\uD83D\uDC68\uD83D\uDC68\uD83D\uDC67',
- 'family_man_man_girl_boy': '\uD83D\uDC68\uD83D\uDC68\uD83D\uDC67\uD83D\uDC66',
- 'family_man_man_girl_girl': '\uD83D\uDC68\uD83D\uDC68\uD83D\uDC67\uD83D\uDC67',
- 'family_man_woman_boy_boy': '\uD83D\uDC68\uD83D\uDC69\uD83D\uDC66\uD83D\uDC66',
- 'family_man_woman_girl': '\uD83D\uDC68\uD83D\uDC69\uD83D\uDC67',
- 'family_man_woman_girl_boy': '\uD83D\uDC68\uD83D\uDC69\uD83D\uDC67\uD83D\uDC66',
- 'family_man_woman_girl_girl': '\uD83D\uDC68\uD83D\uDC69\uD83D\uDC67\uD83D\uDC67',
- 'family_woman_boy': '\uD83D\uDC69\uD83D\uDC66',
- 'family_woman_boy_boy': '\uD83D\uDC69\uD83D\uDC66\uD83D\uDC66',
- 'family_woman_girl': '\uD83D\uDC69\uD83D\uDC67',
- 'family_woman_girl_boy': '\uD83D\uDC69\uD83D\uDC67\uD83D\uDC66',
- 'family_woman_girl_girl': '\uD83D\uDC69\uD83D\uDC67\uD83D\uDC67',
- 'family_woman_woman_boy': '\uD83D\uDC69\uD83D\uDC69\uD83D\uDC66',
- 'family_woman_woman_boy_boy': '\uD83D\uDC69\uD83D\uDC69\uD83D\uDC66\uD83D\uDC66',
- 'family_woman_woman_girl': '\uD83D\uDC69\uD83D\uDC69\uD83D\uDC67',
- 'family_woman_woman_girl_boy': '\uD83D\uDC69\uD83D\uDC69\uD83D\uDC67\uD83D\uDC66',
- 'family_woman_woman_girl_girl': '\uD83D\uDC69\uD83D\uDC69\uD83D\uDC67\uD83D\uDC67',
- 'fast_forward': '\u23E9',
- 'fax': '\uD83D\uDCE0',
- 'fearful': '\uD83D\uDE28',
- 'feet': '\uD83D\uDC3E',
- 'female_detective': '\uD83D\uDD75\uFE0F\u2640\uFE0F',
- 'ferris_wheel': '\uD83C\uDFA1',
- 'ferry': '\u26F4',
- 'field_hockey': '\uD83C\uDFD1',
- 'file_cabinet': '\uD83D\uDDC4',
- 'file_folder': '\uD83D\uDCC1',
- 'film_projector': '\uD83D\uDCFD',
- 'film_strip': '\uD83C\uDF9E',
- 'fire': '\uD83D\uDD25',
- 'fire_engine': '\uD83D\uDE92',
- 'fireworks': '\uD83C\uDF86',
- 'first_quarter_moon': '\uD83C\uDF13',
- 'first_quarter_moon_with_face': '\uD83C\uDF1B',
- 'fish': '\uD83D\uDC1F',
- 'fish_cake': '\uD83C\uDF65',
- 'fishing_pole_and_fish': '\uD83C\uDFA3',
- 'fist_raised': '\u270A',
- 'fist_left': '\uD83E\uDD1B',
- 'fist_right': '\uD83E\uDD1C',
- 'flags': '\uD83C\uDF8F',
- 'flashlight': '\uD83D\uDD26',
- 'fleur_de_lis': '\u269C\uFE0F',
- 'flight_arrival': '\uD83D\uDEEC',
- 'flight_departure': '\uD83D\uDEEB',
- 'floppy_disk': '\uD83D\uDCBE',
- 'flower_playing_cards': '\uD83C\uDFB4',
- 'flushed': '\uD83D\uDE33',
- 'fog': '\uD83C\uDF2B',
- 'foggy': '\uD83C\uDF01',
- 'football': '\uD83C\uDFC8',
- 'footprints': '\uD83D\uDC63',
- 'fork_and_knife': '\uD83C\uDF74',
- 'fountain': '\u26F2\uFE0F',
- 'fountain_pen': '\uD83D\uDD8B',
- 'four_leaf_clover': '\uD83C\uDF40',
- 'fox_face': '\uD83E\uDD8A',
- 'framed_picture': '\uD83D\uDDBC',
- 'free': '\uD83C\uDD93',
- 'fried_egg': '\uD83C\uDF73',
- 'fried_shrimp': '\uD83C\uDF64',
- 'fries': '\uD83C\uDF5F',
- 'frog': '\uD83D\uDC38',
- 'frowning': '\uD83D\uDE26',
- 'frowning_face': '\u2639\uFE0F',
- 'frowning_man': '\uD83D\uDE4D\u2642\uFE0F',
- 'frowning_woman': '\uD83D\uDE4D',
- 'middle_finger': '\uD83D\uDD95',
- 'fuelpump': '\u26FD\uFE0F',
- 'full_moon': '\uD83C\uDF15',
- 'full_moon_with_face': '\uD83C\uDF1D',
- 'funeral_urn': '\u26B1\uFE0F',
- 'game_die': '\uD83C\uDFB2',
- 'gear': '\u2699\uFE0F',
- 'gem': '\uD83D\uDC8E',
- 'gemini': '\u264A\uFE0F',
- 'ghost': '\uD83D\uDC7B',
- 'gift': '\uD83C\uDF81',
- 'gift_heart': '\uD83D\uDC9D',
- 'girl': '\uD83D\uDC67',
- 'globe_with_meridians': '\uD83C\uDF10',
- 'goal_net': '\uD83E\uDD45',
- 'goat': '\uD83D\uDC10',
- 'golf': '\u26F3\uFE0F',
- 'golfing_man': '\uD83C\uDFCC\uFE0F',
- 'golfing_woman': '\uD83C\uDFCC\uFE0F\u2640\uFE0F',
- 'gorilla': '\uD83E\uDD8D',
- 'grapes': '\uD83C\uDF47',
- 'green_apple': '\uD83C\uDF4F',
- 'green_book': '\uD83D\uDCD7',
- 'green_heart': '\uD83D\uDC9A',
- 'green_salad': '\uD83E\uDD57',
- 'grey_exclamation': '\u2755',
- 'grey_question': '\u2754',
- 'grimacing': '\uD83D\uDE2C',
- 'grin': '\uD83D\uDE01',
- 'grinning': '\uD83D\uDE00',
- 'guardsman': '\uD83D\uDC82',
- 'guardswoman': '\uD83D\uDC82\u2640\uFE0F',
- 'guitar': '\uD83C\uDFB8',
- 'gun': '\uD83D\uDD2B',
- 'haircut_woman': '\uD83D\uDC87',
- 'haircut_man': '\uD83D\uDC87\u2642\uFE0F',
- 'hamburger': '\uD83C\uDF54',
- 'hammer': '\uD83D\uDD28',
- 'hammer_and_pick': '\u2692',
- 'hammer_and_wrench': '\uD83D\uDEE0',
- 'hamster': '\uD83D\uDC39',
- 'hand': '\u270B',
- 'handbag': '\uD83D\uDC5C',
- 'handshake': '\uD83E\uDD1D',
- 'hankey': '\uD83D\uDCA9',
- 'hatched_chick': '\uD83D\uDC25',
- 'hatching_chick': '\uD83D\uDC23',
- 'headphones': '\uD83C\uDFA7',
- 'hear_no_evil': '\uD83D\uDE49',
- 'heart': '\u2764\uFE0F',
- 'heart_decoration': '\uD83D\uDC9F',
- 'heart_eyes': '\uD83D\uDE0D',
- 'heart_eyes_cat': '\uD83D\uDE3B',
- 'heartbeat': '\uD83D\uDC93',
- 'heartpulse': '\uD83D\uDC97',
- 'hearts': '\u2665\uFE0F',
- 'heavy_check_mark': '\u2714\uFE0F',
- 'heavy_division_sign': '\u2797',
- 'heavy_dollar_sign': '\uD83D\uDCB2',
- 'heavy_heart_exclamation': '\u2763\uFE0F',
- 'heavy_minus_sign': '\u2796',
- 'heavy_multiplication_x': '\u2716\uFE0F',
- 'heavy_plus_sign': '\u2795',
- 'helicopter': '\uD83D\uDE81',
- 'herb': '\uD83C\uDF3F',
- 'hibiscus': '\uD83C\uDF3A',
- 'high_brightness': '\uD83D\uDD06',
- 'high_heel': '\uD83D\uDC60',
- 'hocho': '\uD83D\uDD2A',
- 'hole': '\uD83D\uDD73',
- 'honey_pot': '\uD83C\uDF6F',
- 'horse': '\uD83D\uDC34',
- 'horse_racing': '\uD83C\uDFC7',
- 'hospital': '\uD83C\uDFE5',
- 'hot_pepper': '\uD83C\uDF36',
- 'hotdog': '\uD83C\uDF2D',
- 'hotel': '\uD83C\uDFE8',
- 'hotsprings': '\u2668\uFE0F',
- 'hourglass': '\u231B\uFE0F',
- 'hourglass_flowing_sand': '\u23F3',
- 'house': '\uD83C\uDFE0',
- 'house_with_garden': '\uD83C\uDFE1',
- 'houses': '\uD83C\uDFD8',
- 'hugs': '\uD83E\uDD17',
- 'hushed': '\uD83D\uDE2F',
- 'ice_cream': '\uD83C\uDF68',
- 'ice_hockey': '\uD83C\uDFD2',
- 'ice_skate': '\u26F8',
- 'icecream': '\uD83C\uDF66',
- 'id': '\uD83C\uDD94',
- 'ideograph_advantage': '\uD83C\uDE50',
- 'imp': '\uD83D\uDC7F',
- 'inbox_tray': '\uD83D\uDCE5',
- 'incoming_envelope': '\uD83D\uDCE8',
- 'tipping_hand_woman': '\uD83D\uDC81',
- 'information_source': '\u2139\uFE0F',
- 'innocent': '\uD83D\uDE07',
- 'interrobang': '\u2049\uFE0F',
- 'iphone': '\uD83D\uDCF1',
- 'izakaya_lantern': '\uD83C\uDFEE',
- 'jack_o_lantern': '\uD83C\uDF83',
- 'japan': '\uD83D\uDDFE',
- 'japanese_castle': '\uD83C\uDFEF',
- 'japanese_goblin': '\uD83D\uDC7A',
- 'japanese_ogre': '\uD83D\uDC79',
- 'jeans': '\uD83D\uDC56',
- 'joy': '\uD83D\uDE02',
- 'joy_cat': '\uD83D\uDE39',
- 'joystick': '\uD83D\uDD79',
- 'kaaba': '\uD83D\uDD4B',
- 'key': '\uD83D\uDD11',
- 'keyboard': '\u2328\uFE0F',
- 'keycap_ten': '\uD83D\uDD1F',
- 'kick_scooter': '\uD83D\uDEF4',
- 'kimono': '\uD83D\uDC58',
- 'kiss': '\uD83D\uDC8B',
- 'kissing': '\uD83D\uDE17',
- 'kissing_cat': '\uD83D\uDE3D',
- 'kissing_closed_eyes': '\uD83D\uDE1A',
- 'kissing_heart': '\uD83D\uDE18',
- 'kissing_smiling_eyes': '\uD83D\uDE19',
- 'kiwi_fruit': '\uD83E\uDD5D',
- 'koala': '\uD83D\uDC28',
- 'koko': '\uD83C\uDE01',
- 'label': '\uD83C\uDFF7',
- 'large_blue_circle': '\uD83D\uDD35',
- 'large_blue_diamond': '\uD83D\uDD37',
- 'large_orange_diamond': '\uD83D\uDD36',
- 'last_quarter_moon': '\uD83C\uDF17',
- 'last_quarter_moon_with_face': '\uD83C\uDF1C',
- 'latin_cross': '\u271D\uFE0F',
- 'laughing': '\uD83D\uDE06',
- 'leaves': '\uD83C\uDF43',
- 'ledger': '\uD83D\uDCD2',
- 'left_luggage': '\uD83D\uDEC5',
- 'left_right_arrow': '\u2194\uFE0F',
- 'leftwards_arrow_with_hook': '\u21A9\uFE0F',
- 'lemon': '\uD83C\uDF4B',
- 'leo': '\u264C\uFE0F',
- 'leopard': '\uD83D\uDC06',
- 'level_slider': '\uD83C\uDF9A',
- 'libra': '\u264E\uFE0F',
- 'light_rail': '\uD83D\uDE88',
- 'link': '\uD83D\uDD17',
- 'lion': '\uD83E\uDD81',
- 'lips': '\uD83D\uDC44',
- 'lipstick': '\uD83D\uDC84',
- 'lizard': '\uD83E\uDD8E',
- 'lock': '\uD83D\uDD12',
- 'lock_with_ink_pen': '\uD83D\uDD0F',
- 'lollipop': '\uD83C\uDF6D',
- 'loop': '\u27BF',
- 'loud_sound': '\uD83D\uDD0A',
- 'loudspeaker': '\uD83D\uDCE2',
- 'love_hotel': '\uD83C\uDFE9',
- 'love_letter': '\uD83D\uDC8C',
- 'low_brightness': '\uD83D\uDD05',
- 'lying_face': '\uD83E\uDD25',
- 'm': '\u24C2\uFE0F',
- 'mag': '\uD83D\uDD0D',
- 'mag_right': '\uD83D\uDD0E',
- 'mahjong': '\uD83C\uDC04\uFE0F',
- 'mailbox': '\uD83D\uDCEB',
- 'mailbox_closed': '\uD83D\uDCEA',
- 'mailbox_with_mail': '\uD83D\uDCEC',
- 'mailbox_with_no_mail': '\uD83D\uDCED',
- 'man': '\uD83D\uDC68',
- 'man_artist': '\uD83D\uDC68\uD83C\uDFA8',
- 'man_astronaut': '\uD83D\uDC68\uD83D\uDE80',
- 'man_cartwheeling': '\uD83E\uDD38\u2642\uFE0F',
- 'man_cook': '\uD83D\uDC68\uD83C\uDF73',
- 'man_dancing': '\uD83D\uDD7A',
- 'man_facepalming': '\uD83E\uDD26\u2642\uFE0F',
- 'man_factory_worker': '\uD83D\uDC68\uD83C\uDFED',
- 'man_farmer': '\uD83D\uDC68\uD83C\uDF3E',
- 'man_firefighter': '\uD83D\uDC68\uD83D\uDE92',
- 'man_health_worker': '\uD83D\uDC68\u2695\uFE0F',
- 'man_in_tuxedo': '\uD83E\uDD35',
- 'man_judge': '\uD83D\uDC68\u2696\uFE0F',
- 'man_juggling': '\uD83E\uDD39\u2642\uFE0F',
- 'man_mechanic': '\uD83D\uDC68\uD83D\uDD27',
- 'man_office_worker': '\uD83D\uDC68\uD83D\uDCBC',
- 'man_pilot': '\uD83D\uDC68\u2708\uFE0F',
- 'man_playing_handball': '\uD83E\uDD3E\u2642\uFE0F',
- 'man_playing_water_polo': '\uD83E\uDD3D\u2642\uFE0F',
- 'man_scientist': '\uD83D\uDC68\uD83D\uDD2C',
- 'man_shrugging': '\uD83E\uDD37\u2642\uFE0F',
- 'man_singer': '\uD83D\uDC68\uD83C\uDFA4',
- 'man_student': '\uD83D\uDC68\uD83C\uDF93',
- 'man_teacher': '\uD83D\uDC68\uD83C\uDFEB',
- 'man_technologist': '\uD83D\uDC68\uD83D\uDCBB',
- 'man_with_gua_pi_mao': '\uD83D\uDC72',
- 'man_with_turban': '\uD83D\uDC73',
- 'tangerine': '\uD83C\uDF4A',
- 'mans_shoe': '\uD83D\uDC5E',
- 'mantelpiece_clock': '\uD83D\uDD70',
- 'maple_leaf': '\uD83C\uDF41',
- 'martial_arts_uniform': '\uD83E\uDD4B',
- 'mask': '\uD83D\uDE37',
- 'massage_woman': '\uD83D\uDC86',
- 'massage_man': '\uD83D\uDC86\u2642\uFE0F',
- 'meat_on_bone': '\uD83C\uDF56',
- 'medal_military': '\uD83C\uDF96',
- 'medal_sports': '\uD83C\uDFC5',
- 'mega': '\uD83D\uDCE3',
- 'melon': '\uD83C\uDF48',
- 'memo': '\uD83D\uDCDD',
- 'men_wrestling': '\uD83E\uDD3C\u2642\uFE0F',
- 'menorah': '\uD83D\uDD4E',
- 'mens': '\uD83D\uDEB9',
- 'metal': '\uD83E\uDD18',
- 'metro': '\uD83D\uDE87',
- 'microphone': '\uD83C\uDFA4',
- 'microscope': '\uD83D\uDD2C',
- 'milk_glass': '\uD83E\uDD5B',
- 'milky_way': '\uD83C\uDF0C',
- 'minibus': '\uD83D\uDE90',
- 'minidisc': '\uD83D\uDCBD',
- 'mobile_phone_off': '\uD83D\uDCF4',
- 'money_mouth_face': '\uD83E\uDD11',
- 'money_with_wings': '\uD83D\uDCB8',
- 'moneybag': '\uD83D\uDCB0',
- 'monkey': '\uD83D\uDC12',
- 'monkey_face': '\uD83D\uDC35',
- 'monorail': '\uD83D\uDE9D',
- 'moon': '\uD83C\uDF14',
- 'mortar_board': '\uD83C\uDF93',
- 'mosque': '\uD83D\uDD4C',
- 'motor_boat': '\uD83D\uDEE5',
- 'motor_scooter': '\uD83D\uDEF5',
- 'motorcycle': '\uD83C\uDFCD',
- 'motorway': '\uD83D\uDEE3',
- 'mount_fuji': '\uD83D\uDDFB',
- 'mountain': '\u26F0',
- 'mountain_biking_man': '\uD83D\uDEB5',
- 'mountain_biking_woman': '\uD83D\uDEB5\u2640\uFE0F',
- 'mountain_cableway': '\uD83D\uDEA0',
- 'mountain_railway': '\uD83D\uDE9E',
- 'mountain_snow': '\uD83C\uDFD4',
- 'mouse': '\uD83D\uDC2D',
- 'mouse2': '\uD83D\uDC01',
- 'movie_camera': '\uD83C\uDFA5',
- 'moyai': '\uD83D\uDDFF',
- 'mrs_claus': '\uD83E\uDD36',
- 'muscle': '\uD83D\uDCAA',
- 'mushroom': '\uD83C\uDF44',
- 'musical_keyboard': '\uD83C\uDFB9',
- 'musical_note': '\uD83C\uDFB5',
- 'musical_score': '\uD83C\uDFBC',
- 'mute': '\uD83D\uDD07',
- 'nail_care': '\uD83D\uDC85',
- 'name_badge': '\uD83D\uDCDB',
- 'national_park': '\uD83C\uDFDE',
- 'nauseated_face': '\uD83E\uDD22',
- 'necktie': '\uD83D\uDC54',
- 'negative_squared_cross_mark': '\u274E',
- 'nerd_face': '\uD83E\uDD13',
- 'neutral_face': '\uD83D\uDE10',
- 'new': '\uD83C\uDD95',
- 'new_moon': '\uD83C\uDF11',
- 'new_moon_with_face': '\uD83C\uDF1A',
- 'newspaper': '\uD83D\uDCF0',
- 'newspaper_roll': '\uD83D\uDDDE',
- 'next_track_button': '\u23ED',
- 'ng': '\uD83C\uDD96',
- 'no_good_man': '\uD83D\uDE45\u2642\uFE0F',
- 'no_good_woman': '\uD83D\uDE45',
- 'night_with_stars': '\uD83C\uDF03',
- 'no_bell': '\uD83D\uDD15',
- 'no_bicycles': '\uD83D\uDEB3',
- 'no_entry': '\u26D4\uFE0F',
- 'no_entry_sign': '\uD83D\uDEAB',
- 'no_mobile_phones': '\uD83D\uDCF5',
- 'no_mouth': '\uD83D\uDE36',
- 'no_pedestrians': '\uD83D\uDEB7',
- 'no_smoking': '\uD83D\uDEAD',
- 'non-potable_water': '\uD83D\uDEB1',
- 'nose': '\uD83D\uDC43',
- 'notebook': '\uD83D\uDCD3',
- 'notebook_with_decorative_cover': '\uD83D\uDCD4',
- 'notes': '\uD83C\uDFB6',
- 'nut_and_bolt': '\uD83D\uDD29',
- 'o': '\u2B55\uFE0F',
- 'o2': '\uD83C\uDD7E\uFE0F',
- 'ocean': '\uD83C\uDF0A',
- 'octopus': '\uD83D\uDC19',
- 'oden': '\uD83C\uDF62',
- 'office': '\uD83C\uDFE2',
- 'oil_drum': '\uD83D\uDEE2',
- 'ok': '\uD83C\uDD97',
- 'ok_hand': '\uD83D\uDC4C',
- 'ok_man': '\uD83D\uDE46\u2642\uFE0F',
- 'ok_woman': '\uD83D\uDE46',
- 'old_key': '\uD83D\uDDDD',
- 'older_man': '\uD83D\uDC74',
- 'older_woman': '\uD83D\uDC75',
- 'om': '\uD83D\uDD49',
- 'on': '\uD83D\uDD1B',
- 'oncoming_automobile': '\uD83D\uDE98',
- 'oncoming_bus': '\uD83D\uDE8D',
- 'oncoming_police_car': '\uD83D\uDE94',
- 'oncoming_taxi': '\uD83D\uDE96',
- 'open_file_folder': '\uD83D\uDCC2',
- 'open_hands': '\uD83D\uDC50',
- 'open_mouth': '\uD83D\uDE2E',
- 'open_umbrella': '\u2602\uFE0F',
- 'ophiuchus': '\u26CE',
- 'orange_book': '\uD83D\uDCD9',
- 'orthodox_cross': '\u2626\uFE0F',
- 'outbox_tray': '\uD83D\uDCE4',
- 'owl': '\uD83E\uDD89',
- 'ox': '\uD83D\uDC02',
- 'package': '\uD83D\uDCE6',
- 'page_facing_up': '\uD83D\uDCC4',
- 'page_with_curl': '\uD83D\uDCC3',
- 'pager': '\uD83D\uDCDF',
- 'paintbrush': '\uD83D\uDD8C',
- 'palm_tree': '\uD83C\uDF34',
- 'pancakes': '\uD83E\uDD5E',
- 'panda_face': '\uD83D\uDC3C',
- 'paperclip': '\uD83D\uDCCE',
- 'paperclips': '\uD83D\uDD87',
- 'parasol_on_ground': '\u26F1',
- 'parking': '\uD83C\uDD7F\uFE0F',
- 'part_alternation_mark': '\u303D\uFE0F',
- 'partly_sunny': '\u26C5\uFE0F',
- 'passenger_ship': '\uD83D\uDEF3',
- 'passport_control': '\uD83D\uDEC2',
- 'pause_button': '\u23F8',
- 'peace_symbol': '\u262E\uFE0F',
- 'peach': '\uD83C\uDF51',
- 'peanuts': '\uD83E\uDD5C',
- 'pear': '\uD83C\uDF50',
- 'pen': '\uD83D\uDD8A',
- 'pencil2': '\u270F\uFE0F',
- 'penguin': '\uD83D\uDC27',
- 'pensive': '\uD83D\uDE14',
- 'performing_arts': '\uD83C\uDFAD',
- 'persevere': '\uD83D\uDE23',
- 'person_fencing': '\uD83E\uDD3A',
- 'pouting_woman': '\uD83D\uDE4E',
- 'phone': '\u260E\uFE0F',
- 'pick': '\u26CF',
- 'pig': '\uD83D\uDC37',
- 'pig2': '\uD83D\uDC16',
- 'pig_nose': '\uD83D\uDC3D',
- 'pill': '\uD83D\uDC8A',
- 'pineapple': '\uD83C\uDF4D',
- 'ping_pong': '\uD83C\uDFD3',
- 'pisces': '\u2653\uFE0F',
- 'pizza': '\uD83C\uDF55',
- 'place_of_worship': '\uD83D\uDED0',
- 'plate_with_cutlery': '\uD83C\uDF7D',
- 'play_or_pause_button': '\u23EF',
- 'point_down': '\uD83D\uDC47',
- 'point_left': '\uD83D\uDC48',
- 'point_right': '\uD83D\uDC49',
- 'point_up': '\u261D\uFE0F',
- 'point_up_2': '\uD83D\uDC46',
- 'police_car': '\uD83D\uDE93',
- 'policewoman': '\uD83D\uDC6E\u2640\uFE0F',
- 'poodle': '\uD83D\uDC29',
- 'popcorn': '\uD83C\uDF7F',
- 'post_office': '\uD83C\uDFE3',
- 'postal_horn': '\uD83D\uDCEF',
- 'postbox': '\uD83D\uDCEE',
- 'potable_water': '\uD83D\uDEB0',
- 'potato': '\uD83E\uDD54',
- 'pouch': '\uD83D\uDC5D',
- 'poultry_leg': '\uD83C\uDF57',
- 'pound': '\uD83D\uDCB7',
- 'rage': '\uD83D\uDE21',
- 'pouting_cat': '\uD83D\uDE3E',
- 'pouting_man': '\uD83D\uDE4E\u2642\uFE0F',
- 'pray': '\uD83D\uDE4F',
- 'prayer_beads': '\uD83D\uDCFF',
- 'pregnant_woman': '\uD83E\uDD30',
- 'previous_track_button': '\u23EE',
- 'prince': '\uD83E\uDD34',
- 'princess': '\uD83D\uDC78',
- 'printer': '\uD83D\uDDA8',
- 'purple_heart': '\uD83D\uDC9C',
- 'purse': '\uD83D\uDC5B',
- 'pushpin': '\uD83D\uDCCC',
- 'put_litter_in_its_place': '\uD83D\uDEAE',
- 'question': '\u2753',
- 'rabbit': '\uD83D\uDC30',
- 'rabbit2': '\uD83D\uDC07',
- 'racehorse': '\uD83D\uDC0E',
- 'racing_car': '\uD83C\uDFCE',
- 'radio': '\uD83D\uDCFB',
- 'radio_button': '\uD83D\uDD18',
- 'radioactive': '\u2622\uFE0F',
- 'railway_car': '\uD83D\uDE83',
- 'railway_track': '\uD83D\uDEE4',
- 'rainbow': '\uD83C\uDF08',
- 'rainbow_flag': '\uD83C\uDFF3\uFE0F\uD83C\uDF08',
- 'raised_back_of_hand': '\uD83E\uDD1A',
- 'raised_hand_with_fingers_splayed': '\uD83D\uDD90',
- 'raised_hands': '\uD83D\uDE4C',
- 'raising_hand_woman': '\uD83D\uDE4B',
- 'raising_hand_man': '\uD83D\uDE4B\u2642\uFE0F',
- 'ram': '\uD83D\uDC0F',
- 'ramen': '\uD83C\uDF5C',
- 'rat': '\uD83D\uDC00',
- 'record_button': '\u23FA',
- 'recycle': '\u267B\uFE0F',
- 'red_circle': '\uD83D\uDD34',
- 'registered': '\xAE\uFE0F',
- 'relaxed': '\u263A\uFE0F',
- 'relieved': '\uD83D\uDE0C',
- 'reminder_ribbon': '\uD83C\uDF97',
- 'repeat': '\uD83D\uDD01',
- 'repeat_one': '\uD83D\uDD02',
- 'rescue_worker_helmet': '\u26D1',
- 'restroom': '\uD83D\uDEBB',
- 'revolving_hearts': '\uD83D\uDC9E',
- 'rewind': '\u23EA',
- 'rhinoceros': '\uD83E\uDD8F',
- 'ribbon': '\uD83C\uDF80',
- 'rice': '\uD83C\uDF5A',
- 'rice_ball': '\uD83C\uDF59',
- 'rice_cracker': '\uD83C\uDF58',
- 'rice_scene': '\uD83C\uDF91',
- 'right_anger_bubble': '\uD83D\uDDEF',
- 'ring': '\uD83D\uDC8D',
- 'robot': '\uD83E\uDD16',
- 'rocket': '\uD83D\uDE80',
- 'rofl': '\uD83E\uDD23',
- 'roll_eyes': '\uD83D\uDE44',
- 'roller_coaster': '\uD83C\uDFA2',
- 'rooster': '\uD83D\uDC13',
- 'rose': '\uD83C\uDF39',
- 'rosette': '\uD83C\uDFF5',
- 'rotating_light': '\uD83D\uDEA8',
- 'round_pushpin': '\uD83D\uDCCD',
- 'rowing_man': '\uD83D\uDEA3',
- 'rowing_woman': '\uD83D\uDEA3\u2640\uFE0F',
- 'rugby_football': '\uD83C\uDFC9',
- 'running_man': '\uD83C\uDFC3',
- 'running_shirt_with_sash': '\uD83C\uDFBD',
- 'running_woman': '\uD83C\uDFC3\u2640\uFE0F',
- 'sa': '\uD83C\uDE02\uFE0F',
- 'sagittarius': '\u2650\uFE0F',
- 'sake': '\uD83C\uDF76',
- 'sandal': '\uD83D\uDC61',
- 'santa': '\uD83C\uDF85',
- 'satellite': '\uD83D\uDCE1',
- 'saxophone': '\uD83C\uDFB7',
- 'school': '\uD83C\uDFEB',
- 'school_satchel': '\uD83C\uDF92',
- 'scissors': '\u2702\uFE0F',
- 'scorpion': '\uD83E\uDD82',
- 'scorpius': '\u264F\uFE0F',
- 'scream': '\uD83D\uDE31',
- 'scream_cat': '\uD83D\uDE40',
- 'scroll': '\uD83D\uDCDC',
- 'seat': '\uD83D\uDCBA',
- 'secret': '\u3299\uFE0F',
- 'see_no_evil': '\uD83D\uDE48',
- 'seedling': '\uD83C\uDF31',
- 'selfie': '\uD83E\uDD33',
- 'shallow_pan_of_food': '\uD83E\uDD58',
- 'shamrock': '\u2618\uFE0F',
- 'shark': '\uD83E\uDD88',
- 'shaved_ice': '\uD83C\uDF67',
- 'sheep': '\uD83D\uDC11',
- 'shell': '\uD83D\uDC1A',
- 'shield': '\uD83D\uDEE1',
- 'shinto_shrine': '\u26E9',
- 'ship': '\uD83D\uDEA2',
- 'shirt': '\uD83D\uDC55',
- 'shopping': '\uD83D\uDECD',
- 'shopping_cart': '\uD83D\uDED2',
- 'shower': '\uD83D\uDEBF',
- 'shrimp': '\uD83E\uDD90',
- 'signal_strength': '\uD83D\uDCF6',
- 'six_pointed_star': '\uD83D\uDD2F',
- 'ski': '\uD83C\uDFBF',
- 'skier': '\u26F7',
- 'skull': '\uD83D\uDC80',
- 'skull_and_crossbones': '\u2620\uFE0F',
- 'sleeping': '\uD83D\uDE34',
- 'sleeping_bed': '\uD83D\uDECC',
- 'sleepy': '\uD83D\uDE2A',
- 'slightly_frowning_face': '\uD83D\uDE41',
- 'slightly_smiling_face': '\uD83D\uDE42',
- 'slot_machine': '\uD83C\uDFB0',
- 'small_airplane': '\uD83D\uDEE9',
- 'small_blue_diamond': '\uD83D\uDD39',
- 'small_orange_diamond': '\uD83D\uDD38',
- 'small_red_triangle': '\uD83D\uDD3A',
- 'small_red_triangle_down': '\uD83D\uDD3B',
- 'smile': '\uD83D\uDE04',
- 'smile_cat': '\uD83D\uDE38',
- 'smiley': '\uD83D\uDE03',
- 'smiley_cat': '\uD83D\uDE3A',
- 'smiling_imp': '\uD83D\uDE08',
- 'smirk': '\uD83D\uDE0F',
- 'smirk_cat': '\uD83D\uDE3C',
- 'smoking': '\uD83D\uDEAC',
- 'snail': '\uD83D\uDC0C',
- 'snake': '\uD83D\uDC0D',
- 'sneezing_face': '\uD83E\uDD27',
- 'snowboarder': '\uD83C\uDFC2',
- 'snowflake': '\u2744\uFE0F',
- 'snowman': '\u26C4\uFE0F',
- 'snowman_with_snow': '\u2603\uFE0F',
- 'sob': '\uD83D\uDE2D',
- 'soccer': '\u26BD\uFE0F',
- 'soon': '\uD83D\uDD1C',
- 'sos': '\uD83C\uDD98',
- 'sound': '\uD83D\uDD09',
- 'space_invader': '\uD83D\uDC7E',
- 'spades': '\u2660\uFE0F',
- 'spaghetti': '\uD83C\uDF5D',
- 'sparkle': '\u2747\uFE0F',
- 'sparkler': '\uD83C\uDF87',
- 'sparkles': '\u2728',
- 'sparkling_heart': '\uD83D\uDC96',
- 'speak_no_evil': '\uD83D\uDE4A',
- 'speaker': '\uD83D\uDD08',
- 'speaking_head': '\uD83D\uDDE3',
- 'speech_balloon': '\uD83D\uDCAC',
- 'speedboat': '\uD83D\uDEA4',
- 'spider': '\uD83D\uDD77',
- 'spider_web': '\uD83D\uDD78',
- 'spiral_calendar': '\uD83D\uDDD3',
- 'spiral_notepad': '\uD83D\uDDD2',
- 'spoon': '\uD83E\uDD44',
- 'squid': '\uD83E\uDD91',
- 'stadium': '\uD83C\uDFDF',
- 'star': '\u2B50\uFE0F',
- 'star2': '\uD83C\uDF1F',
- 'star_and_crescent': '\u262A\uFE0F',
- 'star_of_david': '\u2721\uFE0F',
- 'stars': '\uD83C\uDF20',
- 'station': '\uD83D\uDE89',
- 'statue_of_liberty': '\uD83D\uDDFD',
- 'steam_locomotive': '\uD83D\uDE82',
- 'stew': '\uD83C\uDF72',
- 'stop_button': '\u23F9',
- 'stop_sign': '\uD83D\uDED1',
- 'stopwatch': '\u23F1',
- 'straight_ruler': '\uD83D\uDCCF',
- 'strawberry': '\uD83C\uDF53',
- 'stuck_out_tongue': '\uD83D\uDE1B',
- 'stuck_out_tongue_closed_eyes': '\uD83D\uDE1D',
- 'stuck_out_tongue_winking_eye': '\uD83D\uDE1C',
- 'studio_microphone': '\uD83C\uDF99',
- 'stuffed_flatbread': '\uD83E\uDD59',
- 'sun_behind_large_cloud': '\uD83C\uDF25',
- 'sun_behind_rain_cloud': '\uD83C\uDF26',
- 'sun_behind_small_cloud': '\uD83C\uDF24',
- 'sun_with_face': '\uD83C\uDF1E',
- 'sunflower': '\uD83C\uDF3B',
- 'sunglasses': '\uD83D\uDE0E',
- 'sunny': '\u2600\uFE0F',
- 'sunrise': '\uD83C\uDF05',
- 'sunrise_over_mountains': '\uD83C\uDF04',
- 'surfing_man': '\uD83C\uDFC4',
- 'surfing_woman': '\uD83C\uDFC4\u2640\uFE0F',
- 'sushi': '\uD83C\uDF63',
- 'suspension_railway': '\uD83D\uDE9F',
- 'sweat': '\uD83D\uDE13',
- 'sweat_drops': '\uD83D\uDCA6',
- 'sweat_smile': '\uD83D\uDE05',
- 'sweet_potato': '\uD83C\uDF60',
- 'swimming_man': '\uD83C\uDFCA',
- 'swimming_woman': '\uD83C\uDFCA\u2640\uFE0F',
- 'symbols': '\uD83D\uDD23',
- 'synagogue': '\uD83D\uDD4D',
- 'syringe': '\uD83D\uDC89',
- 'taco': '\uD83C\uDF2E',
- 'tada': '\uD83C\uDF89',
- 'tanabata_tree': '\uD83C\uDF8B',
- 'taurus': '\u2649\uFE0F',
- 'taxi': '\uD83D\uDE95',
- 'tea': '\uD83C\uDF75',
- 'telephone_receiver': '\uD83D\uDCDE',
- 'telescope': '\uD83D\uDD2D',
- 'tennis': '\uD83C\uDFBE',
- 'tent': '\u26FA\uFE0F',
- 'thermometer': '\uD83C\uDF21',
- 'thinking': '\uD83E\uDD14',
- 'thought_balloon': '\uD83D\uDCAD',
- 'ticket': '\uD83C\uDFAB',
- 'tickets': '\uD83C\uDF9F',
- 'tiger': '\uD83D\uDC2F',
- 'tiger2': '\uD83D\uDC05',
- 'timer_clock': '\u23F2',
- 'tipping_hand_man': '\uD83D\uDC81\u2642\uFE0F',
- 'tired_face': '\uD83D\uDE2B',
- 'tm': '\u2122\uFE0F',
- 'toilet': '\uD83D\uDEBD',
- 'tokyo_tower': '\uD83D\uDDFC',
- 'tomato': '\uD83C\uDF45',
- 'tongue': '\uD83D\uDC45',
- 'top': '\uD83D\uDD1D',
- 'tophat': '\uD83C\uDFA9',
- 'tornado': '\uD83C\uDF2A',
- 'trackball': '\uD83D\uDDB2',
- 'tractor': '\uD83D\uDE9C',
- 'traffic_light': '\uD83D\uDEA5',
- 'train': '\uD83D\uDE8B',
- 'train2': '\uD83D\uDE86',
- 'tram': '\uD83D\uDE8A',
- 'triangular_flag_on_post': '\uD83D\uDEA9',
- 'triangular_ruler': '\uD83D\uDCD0',
- 'trident': '\uD83D\uDD31',
- 'triumph': '\uD83D\uDE24',
- 'trolleybus': '\uD83D\uDE8E',
- 'trophy': '\uD83C\uDFC6',
- 'tropical_drink': '\uD83C\uDF79',
- 'tropical_fish': '\uD83D\uDC20',
- 'truck': '\uD83D\uDE9A',
- 'trumpet': '\uD83C\uDFBA',
- 'tulip': '\uD83C\uDF37',
- 'tumbler_glass': '\uD83E\uDD43',
- 'turkey': '\uD83E\uDD83',
- 'turtle': '\uD83D\uDC22',
- 'tv': '\uD83D\uDCFA',
- 'twisted_rightwards_arrows': '\uD83D\uDD00',
- 'two_hearts': '\uD83D\uDC95',
- 'two_men_holding_hands': '\uD83D\uDC6C',
- 'two_women_holding_hands': '\uD83D\uDC6D',
- 'u5272': '\uD83C\uDE39',
- 'u5408': '\uD83C\uDE34',
- 'u55b6': '\uD83C\uDE3A',
- 'u6307': '\uD83C\uDE2F\uFE0F',
- 'u6708': '\uD83C\uDE37\uFE0F',
- 'u6709': '\uD83C\uDE36',
- 'u6e80': '\uD83C\uDE35',
- 'u7121': '\uD83C\uDE1A\uFE0F',
- 'u7533': '\uD83C\uDE38',
- 'u7981': '\uD83C\uDE32',
- 'u7a7a': '\uD83C\uDE33',
- 'umbrella': '\u2614\uFE0F',
- 'unamused': '\uD83D\uDE12',
- 'underage': '\uD83D\uDD1E',
- 'unicorn': '\uD83E\uDD84',
- 'unlock': '\uD83D\uDD13',
- 'up': '\uD83C\uDD99',
- 'upside_down_face': '\uD83D\uDE43',
- 'v': '\u270C\uFE0F',
- 'vertical_traffic_light': '\uD83D\uDEA6',
- 'vhs': '\uD83D\uDCFC',
- 'vibration_mode': '\uD83D\uDCF3',
- 'video_camera': '\uD83D\uDCF9',
- 'video_game': '\uD83C\uDFAE',
- 'violin': '\uD83C\uDFBB',
- 'virgo': '\u264D\uFE0F',
- 'volcano': '\uD83C\uDF0B',
- 'volleyball': '\uD83C\uDFD0',
- 'vs': '\uD83C\uDD9A',
- 'vulcan_salute': '\uD83D\uDD96',
- 'walking_man': '\uD83D\uDEB6',
- 'walking_woman': '\uD83D\uDEB6\u2640\uFE0F',
- 'waning_crescent_moon': '\uD83C\uDF18',
- 'waning_gibbous_moon': '\uD83C\uDF16',
- 'warning': '\u26A0\uFE0F',
- 'wastebasket': '\uD83D\uDDD1',
- 'watch': '\u231A\uFE0F',
- 'water_buffalo': '\uD83D\uDC03',
- 'watermelon': '\uD83C\uDF49',
- 'wave': '\uD83D\uDC4B',
- 'wavy_dash': '\u3030\uFE0F',
- 'waxing_crescent_moon': '\uD83C\uDF12',
- 'wc': '\uD83D\uDEBE',
- 'weary': '\uD83D\uDE29',
- 'wedding': '\uD83D\uDC92',
- 'weight_lifting_man': '\uD83C\uDFCB\uFE0F',
- 'weight_lifting_woman': '\uD83C\uDFCB\uFE0F\u2640\uFE0F',
- 'whale': '\uD83D\uDC33',
- 'whale2': '\uD83D\uDC0B',
- 'wheel_of_dharma': '\u2638\uFE0F',
- 'wheelchair': '\u267F\uFE0F',
- 'white_check_mark': '\u2705',
- 'white_circle': '\u26AA\uFE0F',
- 'white_flag': '\uD83C\uDFF3\uFE0F',
- 'white_flower': '\uD83D\uDCAE',
- 'white_large_square': '\u2B1C\uFE0F',
- 'white_medium_small_square': '\u25FD\uFE0F',
- 'white_medium_square': '\u25FB\uFE0F',
- 'white_small_square': '\u25AB\uFE0F',
- 'white_square_button': '\uD83D\uDD33',
- 'wilted_flower': '\uD83E\uDD40',
- 'wind_chime': '\uD83C\uDF90',
- 'wind_face': '\uD83C\uDF2C',
- 'wine_glass': '\uD83C\uDF77',
- 'wink': '\uD83D\uDE09',
- 'wolf': '\uD83D\uDC3A',
- 'woman': '\uD83D\uDC69',
- 'woman_artist': '\uD83D\uDC69\uD83C\uDFA8',
- 'woman_astronaut': '\uD83D\uDC69\uD83D\uDE80',
- 'woman_cartwheeling': '\uD83E\uDD38\u2640\uFE0F',
- 'woman_cook': '\uD83D\uDC69\uD83C\uDF73',
- 'woman_facepalming': '\uD83E\uDD26\u2640\uFE0F',
- 'woman_factory_worker': '\uD83D\uDC69\uD83C\uDFED',
- 'woman_farmer': '\uD83D\uDC69\uD83C\uDF3E',
- 'woman_firefighter': '\uD83D\uDC69\uD83D\uDE92',
- 'woman_health_worker': '\uD83D\uDC69\u2695\uFE0F',
- 'woman_judge': '\uD83D\uDC69\u2696\uFE0F',
- 'woman_juggling': '\uD83E\uDD39\u2640\uFE0F',
- 'woman_mechanic': '\uD83D\uDC69\uD83D\uDD27',
- 'woman_office_worker': '\uD83D\uDC69\uD83D\uDCBC',
- 'woman_pilot': '\uD83D\uDC69\u2708\uFE0F',
- 'woman_playing_handball': '\uD83E\uDD3E\u2640\uFE0F',
- 'woman_playing_water_polo': '\uD83E\uDD3D\u2640\uFE0F',
- 'woman_scientist': '\uD83D\uDC69\uD83D\uDD2C',
- 'woman_shrugging': '\uD83E\uDD37\u2640\uFE0F',
- 'woman_singer': '\uD83D\uDC69\uD83C\uDFA4',
- 'woman_student': '\uD83D\uDC69\uD83C\uDF93',
- 'woman_teacher': '\uD83D\uDC69\uD83C\uDFEB',
- 'woman_technologist': '\uD83D\uDC69\uD83D\uDCBB',
- 'woman_with_turban': '\uD83D\uDC73\u2640\uFE0F',
- 'womans_clothes': '\uD83D\uDC5A',
- 'womans_hat': '\uD83D\uDC52',
- 'women_wrestling': '\uD83E\uDD3C\u2640\uFE0F',
- 'womens': '\uD83D\uDEBA',
- 'world_map': '\uD83D\uDDFA',
- 'worried': '\uD83D\uDE1F',
- 'wrench': '\uD83D\uDD27',
- 'writing_hand': '\u270D\uFE0F',
- 'x': '\u274C',
- 'yellow_heart': '\uD83D\uDC9B',
- 'yen': '\uD83D\uDCB4',
- 'yin_yang': '\u262F\uFE0F',
- 'yum': '\uD83D\uDE0B',
- 'zap': '\u26A1\uFE0F',
- 'zipper_mouth_face': '\uD83E\uDD10',
- 'zzz': '\uD83D\uDCA4',
-
- /* special emojis :P */
- 'octocat': '',
- 'showdown': 'S'
- };
-
- /**
- * Created by Estevao on 31-05-2015.
- */
-
- /**
- * Showdown Converter class
- * @class
- * @param {object} [converterOptions]
- * @returns {Converter}
- */
- showdown.Converter = function (converterOptions) {
- 'use strict';
-
- var
- /**
- * Options used by this converter
- * @private
- * @type {{}}
- */
- options = {},
-
-
- /**
- * Language extensions used by this converter
- * @private
- * @type {Array}
- */
- langExtensions = [],
-
-
- /**
- * Output modifiers extensions used by this converter
- * @private
- * @type {Array}
- */
- outputModifiers = [],
-
-
- /**
- * Event listeners
- * @private
- * @type {{}}
- */
- listeners = {},
-
-
- /**
- * The flavor set in this converter
- */
- setConvFlavor = setFlavor,
-
-
- /**
- * Metadata of the document
- * @type {{parsed: {}, raw: string, format: string}}
- */
- metadata = {
- parsed: {},
- raw: '',
- format: ''
- };
-
- _constructor();
-
- /**
- * Converter constructor
- * @private
- */
- function _constructor() {
- converterOptions = converterOptions || {};
-
- for (var gOpt in globalOptions) {
- if (globalOptions.hasOwnProperty(gOpt)) {
- options[gOpt] = globalOptions[gOpt];
- }
- }
-
- // Merge options
- if (typeof converterOptions === 'object') {
- for (var opt in converterOptions) {
- if (converterOptions.hasOwnProperty(opt)) {
- options[opt] = converterOptions[opt];
- }
- }
- } else {
- throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions + ' was passed instead.');
- }
-
- if (options.extensions) {
- showdown.helper.forEach(options.extensions, _parseExtension);
- }
- }
-
- /**
- * Parse extension
- * @param {*} ext
- * @param {string} [name='']
- * @private
- */
- function _parseExtension(ext, name) {
-
- name = name || null;
- // If it's a string, the extension was previously loaded
- if (showdown.helper.isString(ext)) {
- ext = showdown.helper.stdExtName(ext);
- name = ext;
-
- // LEGACY_SUPPORT CODE
- if (showdown.extensions[ext]) {
- console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' + 'Please inform the developer that the extension should be updated!');
- legacyExtensionLoading(showdown.extensions[ext], ext);
- return;
- // END LEGACY SUPPORT CODE
- } else if (!showdown.helper.isUndefined(extensions[ext])) {
- ext = extensions[ext];
- } else {
- throw Error('Extension "' + ext + '" could not be loaded. It was either not found or is not a valid extension.');
- }
- }
-
- if (typeof ext === 'function') {
- ext = ext();
- }
-
- if (!showdown.helper.isArray(ext)) {
- ext = [ext];
- }
-
- var validExt = validate(ext, name);
- if (!validExt.valid) {
- throw Error(validExt.error);
- }
-
- for (var i = 0; i < ext.length; ++i) {
- switch (ext[i].type) {
-
- case 'lang':
- langExtensions.push(ext[i]);
- break;
-
- case 'output':
- outputModifiers.push(ext[i]);
- break;
- }
- if (ext[i].hasOwnProperty('listeners')) {
- for (var ln in ext[i].listeners) {
- if (ext[i].listeners.hasOwnProperty(ln)) {
- listen(ln, ext[i].listeners[ln]);
- }
- }
- }
- }
- }
-
- /**
- * LEGACY_SUPPORT
- * @param {*} ext
- * @param {string} name
- */
- function legacyExtensionLoading(ext, name) {
- if (typeof ext === 'function') {
- ext = ext(new showdown.Converter());
- }
- if (!showdown.helper.isArray(ext)) {
- ext = [ext];
- }
- var valid = validate(ext, name);
-
- if (!valid.valid) {
- throw Error(valid.error);
- }
-
- for (var i = 0; i < ext.length; ++i) {
- switch (ext[i].type) {
- case 'lang':
- langExtensions.push(ext[i]);
- break;
- case 'output':
- outputModifiers.push(ext[i]);
- break;
- default:
- // should never reach here
- throw Error('Extension loader error: Type unrecognized!!!');
- }
- }
- }
-
- /**
- * Listen to an event
- * @param {string} name
- * @param {function} callback
- */
- function listen(name, callback) {
- if (!showdown.helper.isString(name)) {
- throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');
- }
-
- if (typeof callback !== 'function') {
- throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');
- }
-
- if (!listeners.hasOwnProperty(name)) {
- listeners[name] = [];
- }
- listeners[name].push(callback);
- }
-
- function rTrimInputText(text) {
- var rsp = text.match(/^\s*/)[0].length,
- rgx = new RegExp('^\\s{0,' + rsp + '}', 'gm');
- return text.replace(rgx, '');
- }
-
- /**
- * Dispatch an event
- * @private
- * @param {string} evtName Event name
- * @param {string} text Text
- * @param {{}} options Converter Options
- * @param {{}} globals
- * @returns {string}
- */
- this._dispatch = function dispatch(evtName, text, options, globals) {
- if (listeners.hasOwnProperty(evtName)) {
- for (var ei = 0; ei < listeners[evtName].length; ++ei) {
- var nText = listeners[evtName][ei](evtName, text, this, options, globals);
- if (nText && typeof nText !== 'undefined') {
- text = nText;
- }
- }
- }
- return text;
- };
-
- /**
- * Listen to an event
- * @param {string} name
- * @param {function} callback
- * @returns {showdown.Converter}
- */
- this.listen = function (name, callback) {
- listen(name, callback);
- return this;
- };
-
- /**
- * Converts a markdown string into HTML
- * @param {string} text
- * @returns {*}
- */
- this.makeHtml = function (text) {
- //check if text is not falsy
- if (!text) {
- return text;
- }
-
- var globals = {
- gHtmlBlocks: [],
- gHtmlMdBlocks: [],
- gHtmlSpans: [],
- gUrls: {},
- gTitles: {},
- gDimensions: {},
- gListLevel: 0,
- hashLinkCounts: {},
- langExtensions: langExtensions,
- outputModifiers: outputModifiers,
- converter: this,
- ghCodeBlocks: [],
- metadata: {
- parsed: {},
- raw: '',
- format: ''
- }
- };
-
- // This lets us use ¨ trema as an escape char to avoid md5 hashes
- // The choice of character is arbitrary; anything that isn't
- // magic in Markdown will work.
- text = text.replace(/¨/g, '¨T');
-
- // Replace $ with ¨D
- // RegExp interprets $ as a special character
- // when it's in a replacement string
- text = text.replace(/\$/g, '¨D');
-
- // Standardize line endings
- text = text.replace(/\r\n/g, '\n'); // DOS to Unix
- text = text.replace(/\r/g, '\n'); // Mac to Unix
-
- // Stardardize line spaces
- text = text.replace(/\u00A0/g, ' ');
-
- if (options.smartIndentationFix) {
- text = rTrimInputText(text);
- }
-
- // Make sure text begins and ends with a couple of newlines:
- text = '\n\n' + text + '\n\n';
-
- // detab
- text = showdown.subParser('detab')(text, options, globals);
-
- /**
- * Strip any lines consisting only of spaces and tabs.
- * This makes subsequent regexs easier to write, because we can
- * match consecutive blank lines with /\n+/ instead of something
- * contorted like /[ \t]*\n+/
- */
- text = text.replace(/^[ \t]+$/mg, '');
-
- //run languageExtensions
- showdown.helper.forEach(langExtensions, function (ext) {
- text = showdown.subParser('runExtension')(ext, text, options, globals);
- });
-
- // run the sub parsers
- text = showdown.subParser('metadata')(text, options, globals);
- text = showdown.subParser('hashPreCodeTags')(text, options, globals);
- text = showdown.subParser('githubCodeBlocks')(text, options, globals);
- text = showdown.subParser('hashHTMLBlocks')(text, options, globals);
- text = showdown.subParser('hashCodeTags')(text, options, globals);
- text = showdown.subParser('stripLinkDefinitions')(text, options, globals);
- text = showdown.subParser('blockGamut')(text, options, globals);
- text = showdown.subParser('unhashHTMLSpans')(text, options, globals);
- text = showdown.subParser('unescapeSpecialChars')(text, options, globals);
-
- // attacklab: Restore dollar signs
- text = text.replace(/¨D/g, '$$');
-
- // attacklab: Restore tremas
- text = text.replace(/¨T/g, '¨');
-
- // render a complete html document instead of a partial if the option is enabled
- text = showdown.subParser('completeHTMLDocument')(text, options, globals);
-
- // Run output modifiers
- showdown.helper.forEach(outputModifiers, function (ext) {
- text = showdown.subParser('runExtension')(ext, text, options, globals);
- });
-
- // update metadata
- metadata = globals.metadata;
- return text;
- };
-
- /**
- * Converts an HTML string into a markdown string
- * @param src
- * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.
- * @returns {string}
- */
- this.makeMarkdown = this.makeMd = function (src, HTMLParser) {
-
- // replace \r\n with \n
- src = src.replace(/\r\n/g, '\n');
- src = src.replace(/\r/g, '\n'); // old macs
-
- // due to an edge case, we need to find this: > <
- // to prevent removing of non silent white spaces
- // ex: this is sparta
- src = src.replace(/>[ \t]+, '>¨NBSP;<');
-
- if (!HTMLParser) {
- if (window && window.document) {
- HTMLParser = window.document;
- } else {
- throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');
- }
- }
-
- var doc = HTMLParser.createElement('div');
- doc.innerHTML = src;
-
- var globals = {
- preList: substitutePreCodeTags(doc)
- };
-
- // remove all newlines and collapse spaces
- clean(doc);
-
- // some stuff, like accidental reference links must now be escaped
- // TODO
- // doc.innerHTML = doc.innerHTML.replace(/\[[\S\t ]]/);
-
- var nodes = doc.childNodes,
- mdDoc = '';
-
- for (var i = 0; i < nodes.length; i++) {
- mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);
- }
-
- function clean(node) {
- for (var n = 0; n < node.childNodes.length; ++n) {
- var child = node.childNodes[n];
- if (child.nodeType === 3) {
- if (!/\S/.test(child.nodeValue)) {
- node.removeChild(child);
- --n;
- } else {
- child.nodeValue = child.nodeValue.split('\n').join(' ');
- child.nodeValue = child.nodeValue.replace(/(\s)+/g, '$1');
- }
- } else if (child.nodeType === 1) {
- clean(child);
- }
- }
- }
-
- // find all pre tags and replace contents with placeholder
- // we need this so that we can remove all indentation from html
- // to ease up parsing
- function substitutePreCodeTags(doc) {
-
- var pres = doc.querySelectorAll('pre'),
- presPH = [];
-
- for (var i = 0; i < pres.length; ++i) {
-
- if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {
- var content = pres[i].firstChild.innerHTML.trim(),
- language = pres[i].firstChild.getAttribute('data-language') || '';
-
- // if data-language attribute is not defined, then we look for class language-*
- if (language === '') {
- var classes = pres[i].firstChild.className.split(' ');
- for (var c = 0; c < classes.length; ++c) {
- var matches = classes[c].match(/^language-(.+)$/);
- if (matches !== null) {
- language = matches[1];
- break;
- }
- }
- }
-
- // unescape html entities in content
- content = showdown.helper.unescapeHTMLEntities(content);
-
- presPH.push(content);
- pres[i].outerHTML = ' ';
- } else {
- presPH.push(pres[i].innerHTML);
- pres[i].innerHTML = '';
- pres[i].setAttribute('prenum', i.toString());
- }
- }
- return presPH;
- }
-
- return mdDoc;
- };
-
- /**
- * Set an option of this Converter instance
- * @param {string} key
- * @param {*} value
- */
- this.setOption = function (key, value) {
- options[key] = value;
- };
-
- /**
- * Get the option of this Converter instance
- * @param {string} key
- * @returns {*}
- */
- this.getOption = function (key) {
- return options[key];
- };
-
- /**
- * Get the options of this Converter instance
- * @returns {{}}
- */
- this.getOptions = function () {
- return options;
- };
-
- /**
- * Add extension to THIS converter
- * @param {{}} extension
- * @param {string} [name=null]
- */
- this.addExtension = function (extension, name) {
- name = name || null;
- _parseExtension(extension, name);
- };
-
- /**
- * Use a global registered extension with THIS converter
- * @param {string} extensionName Name of the previously registered extension
- */
- this.useExtension = function (extensionName) {
- _parseExtension(extensionName);
- };
-
- /**
- * Set the flavor THIS converter should use
- * @param {string} name
- */
- this.setFlavor = function (name) {
- if (!flavor.hasOwnProperty(name)) {
- throw Error(name + ' flavor was not found');
- }
- var preset = flavor[name];
- setConvFlavor = name;
- for (var option in preset) {
- if (preset.hasOwnProperty(option)) {
- options[option] = preset[option];
- }
- }
- };
-
- /**
- * Get the currently set flavor of this converter
- * @returns {string}
- */
- this.getFlavor = function () {
- return setConvFlavor;
- };
-
- /**
- * Remove an extension from THIS converter.
- * Note: This is a costly operation. It's better to initialize a new converter
- * and specify the extensions you wish to use
- * @param {Array} extension
- */
- this.removeExtension = function (extension) {
- if (!showdown.helper.isArray(extension)) {
- extension = [extension];
- }
- for (var a = 0; a < extension.length; ++a) {
- var ext = extension[a];
- for (var i = 0; i < langExtensions.length; ++i) {
- if (langExtensions[i] === ext) {
- langExtensions[i].splice(i, 1);
- }
- }
- for (var ii = 0; ii < outputModifiers.length; ++i) {
- if (outputModifiers[ii] === ext) {
- outputModifiers[ii].splice(i, 1);
- }
- }
- }
- };
-
- /**
- * Get all extension of THIS converter
- * @returns {{language: Array, output: Array}}
- */
- this.getAllExtensions = function () {
- return {
- language: langExtensions,
- output: outputModifiers
- };
- };
-
- /**
- * Get the metadata of the previously parsed document
- * @param raw
- * @returns {string|{}}
- */
- this.getMetadata = function (raw) {
- if (raw) {
- return metadata.raw;
- } else {
- return metadata.parsed;
- }
- };
-
- /**
- * Get the metadata format of the previously parsed document
- * @returns {string}
- */
- this.getMetadataFormat = function () {
- return metadata.format;
- };
-
- /**
- * Private: set a single key, value metadata pair
- * @param {string} key
- * @param {string} value
- */
- this._setMetadataPair = function (key, value) {
- metadata.parsed[key] = value;
- };
-
- /**
- * Private: set metadata format
- * @param {string} format
- */
- this._setMetadataFormat = function (format) {
- metadata.format = format;
- };
-
- /**
- * Private: set metadata raw text
- * @param {string} raw
- */
- this._setMetadataRaw = function (raw) {
- metadata.raw = raw;
- };
- };
-
- /**
- * Turn Markdown link shortcuts into XHTML tags.
- */
- showdown.subParser('anchors', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('anchors.before', text, options, globals);
-
- var writeAnchorTag = function writeAnchorTag(wholeMatch, linkText, linkId, url, m5, m6, title) {
- if (showdown.helper.isUndefined(title)) {
- title = '';
- }
- linkId = linkId.toLowerCase();
-
- // Special case for explicit empty url
- if (wholeMatch.search(/\(\s*>? ?(['"].*['"])?\)$/m) > -1) {
- url = '';
- } else if (!url) {
- if (!linkId) {
- // lower-case and turn embedded newlines into spaces
- linkId = linkText.toLowerCase().replace(/ ?\n/g, ' ');
- }
- url = '#' + linkId;
-
- if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {
- url = globals.gUrls[linkId];
- if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {
- title = globals.gTitles[linkId];
- }
- } else {
- return wholeMatch;
- }
- }
-
- //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance
- url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
-
- var result = '' + linkText + '';
-
- return result;
- };
-
- // First, handle reference-style links: [link text] [id]
- text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g, writeAnchorTag);
-
- // Next, inline-style links: [link text](url "optional title")
- // cases with crazy urls like ./image/cat1).png
- text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g, writeAnchorTag);
-
- // normal cases
- text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g, writeAnchorTag);
-
- // handle reference-style shortcuts: [link text]
- // These must come last in case you've also got [link test][1]
- // or [link test](/foo)
- text = text.replace(/\[([^\[\]]+)]()()()()()/g, writeAnchorTag);
-
- // Lastly handle GithubMentions if option is enabled
- if (options.ghMentions) {
- text = text.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi, function (wm, st, escape, mentions, username) {
- if (escape === '\\') {
- return st + mentions;
- }
-
- //check if options.ghMentionsLink is a string
- if (!showdown.helper.isString(options.ghMentionsLink)) {
- throw new Error('ghMentionsLink option must be a string');
- }
- var lnk = options.ghMentionsLink.replace(/\{u}/g, username),
- target = '';
- if (options.openLinksInNewWindow) {
- target = ' rel="noopener noreferrer" target="¨E95Eblank"';
- }
- return st + '' + mentions + '';
- });
- }
-
- text = globals.converter._dispatch('anchors.after', text, options, globals);
- return text;
- });
-
- // url allowed chars [a-z\d_.~:/?#[]@!$&'()*+,;=-]
-
- var simpleURLRegex = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,
- simpleURLRegex2 = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,
- delimUrlRegex = /()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,
- simpleMailRegex = /(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,
- delimMailRegex = /<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,
- replaceLink = function replaceLink(options) {
- 'use strict';
-
- return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {
- link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
- var lnkTxt = link,
- append = '',
- target = '',
- lmc = leadingMagicChars || '',
- tmc = trailingMagicChars || '';
- if (/^www\./i.test(link)) {
- link = link.replace(/^www\./i, 'http://www.');
- }
- if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {
- append = trailingPunctuation;
- }
- if (options.openLinksInNewWindow) {
- target = ' rel="noopener noreferrer" target="¨E95Eblank"';
- }
- return lmc + '' + lnkTxt + '' + append + tmc;
- };
- },
- replaceMail = function replaceMail(options, globals) {
- 'use strict';
-
- return function (wholeMatch, b, mail) {
- var href = 'mailto:';
- b = b || '';
- mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);
- if (options.encodeEmails) {
- href = showdown.helper.encodeEmailAddress(href + mail);
- mail = showdown.helper.encodeEmailAddress(mail);
- } else {
- href = href + mail;
- }
- return b + '' + mail + '';
- };
- };
-
- showdown.subParser('autoLinks', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('autoLinks.before', text, options, globals);
-
- text = text.replace(delimUrlRegex, replaceLink(options));
- text = text.replace(delimMailRegex, replaceMail(options, globals));
-
- text = globals.converter._dispatch('autoLinks.after', text, options, globals);
-
- return text;
- });
-
- showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {
- 'use strict';
-
- if (!options.simplifiedAutoLink) {
- return text;
- }
-
- text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);
-
- if (options.excludeTrailingPunctuationFromURLs) {
- text = text.replace(simpleURLRegex2, replaceLink(options));
- } else {
- text = text.replace(simpleURLRegex, replaceLink(options));
- }
- text = text.replace(simpleMailRegex, replaceMail(options, globals));
-
- text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);
-
- return text;
- });
-
- /**
- * These are all the transformations that form block-level
- * tags like paragraphs, headers, and list items.
- */
- showdown.subParser('blockGamut', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('blockGamut.before', text, options, globals);
-
- // we parse blockquotes first so that we can have headings and hrs
- // inside blockquotes
- text = showdown.subParser('blockQuotes')(text, options, globals);
- text = showdown.subParser('headers')(text, options, globals);
-
- // Do Horizontal Rules:
- text = showdown.subParser('horizontalRule')(text, options, globals);
-
- text = showdown.subParser('lists')(text, options, globals);
- text = showdown.subParser('codeBlocks')(text, options, globals);
- text = showdown.subParser('tables')(text, options, globals);
-
- // We already ran _HashHTMLBlocks() before, in Markdown(), but that
- // was to escape raw HTML in the original Markdown source. This time,
- // we're escaping the markup we've just created, so that we don't wrap
- // tags around block-level tags.
- text = showdown.subParser('hashHTMLBlocks')(text, options, globals);
- text = showdown.subParser('paragraphs')(text, options, globals);
-
- text = globals.converter._dispatch('blockGamut.after', text, options, globals);
-
- return text;
- });
-
- showdown.subParser('blockQuotes', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('blockQuotes.before', text, options, globals);
-
- // add a couple extra lines after the text and endtext mark
- text = text + '\n\n';
-
- var rgx = /(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;
-
- if (options.splitAdjacentBlockquotes) {
- rgx = /^ {0,3}>[\s\S]*?(?:\n\n)/gm;
- }
-
- text = text.replace(rgx, function (bq) {
- // attacklab: hack around Konqueror 3.5.4 bug:
- // "----------bug".replace(/^-/g,"") == "bug"
- bq = bq.replace(/^[ \t]*>[ \t]?/gm, ''); // trim one level of quoting
-
- // attacklab: clean up hack
- bq = bq.replace(/¨0/g, '');
-
- bq = bq.replace(/^[ \t]+$/gm, ''); // trim whitespace-only lines
- bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);
- bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse
-
- bq = bq.replace(/(^|\n)/g, '$1 ');
- // These leading spaces screw with
content, so we need to fix that:
- bq = bq.replace(/(\s*[^\r]+?<\/pre>)/gm, function (wholeMatch, m1) {
- var pre = m1;
- // attacklab: hack around Konqueror 3.5.4 bug:
- pre = pre.replace(/^ /mg, '¨0');
- pre = pre.replace(/¨0/g, '');
- return pre;
- });
-
- return showdown.subParser('hashBlock')('\n' + bq + '\n
', options, globals);
- });
-
- text = globals.converter._dispatch('blockQuotes.after', text, options, globals);
- return text;
- });
-
- /**
- * Process Markdown `` blocks.
- */
- showdown.subParser('codeBlocks', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('codeBlocks.before', text, options, globals);
-
- // sentinel workarounds for lack of \A and \Z, safari\khtml bug
- text += '¨0';
-
- var pattern = /(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;
- text = text.replace(pattern, function (wholeMatch, m1, m2) {
- var codeblock = m1,
- nextChar = m2,
- end = '\n';
-
- codeblock = showdown.subParser('outdent')(codeblock, options, globals);
- codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);
- codeblock = showdown.subParser('detab')(codeblock, options, globals);
- codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines
- codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing newlines
-
- if (options.omitExtraWLInCodeBlocks) {
- end = '';
- }
-
- codeblock = '' + codeblock + end + '
';
-
- return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;
- });
-
- // strip sentinel
- text = text.replace(/¨0/, '');
-
- text = globals.converter._dispatch('codeBlocks.after', text, options, globals);
- return text;
- });
-
- /**
- *
- * * Backtick quotes are used for
spans.
- *
- * * You can use multiple backticks as the delimiters if you want to
- * include literal backticks in the code span. So, this input:
- *
- * Just type ``foo `bar` baz`` at the prompt.
- *
- * Will translate to:
- *
- * Just type foo `bar` baz
at the prompt.
- *
- * There's no arbitrary limit to the number of backticks you
- * can use as delimters. If you need three consecutive backticks
- * in your code, use four for delimiters, etc.
- *
- * * You can use spaces to get literal backticks at the edges:
- *
- * ... type `` `bar` `` ...
- *
- * Turns to:
- *
- * ... type `bar`
...
- */
- showdown.subParser('codeSpans', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('codeSpans.before', text, options, globals);
-
- if (typeof text === 'undefined') {
- text = '';
- }
- text = text.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm, function (wholeMatch, m1, m2, m3) {
- var c = m3;
- c = c.replace(/^([ \t]*)/g, ''); // leading whitespace
- c = c.replace(/[ \t]*$/g, ''); // trailing whitespace
- c = showdown.subParser('encodeCode')(c, options, globals);
- c = m1 + '' + c + '
';
- c = showdown.subParser('hashHTMLSpans')(c, options, globals);
- return c;
- });
-
- text = globals.converter._dispatch('codeSpans.after', text, options, globals);
- return text;
- });
-
- /**
- * Create a full HTML document from the processed markdown
- */
- showdown.subParser('completeHTMLDocument', function (text, options, globals) {
- 'use strict';
-
- if (!options.completeHTMLDocument) {
- return text;
- }
-
- text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);
-
- var doctype = 'html',
- doctypeParsed = '\n',
- title = '',
- charset = '\n',
- lang = '',
- metadata = '';
-
- if (typeof globals.metadata.parsed.doctype !== 'undefined') {
- doctypeParsed = '\n';
- doctype = globals.metadata.parsed.doctype.toString().toLowerCase();
- if (doctype === 'html' || doctype === 'html5') {
- charset = '';
- }
- }
-
- for (var meta in globals.metadata.parsed) {
- if (globals.metadata.parsed.hasOwnProperty(meta)) {
- switch (meta.toLowerCase()) {
- case 'doctype':
- break;
-
- case 'title':
- title = '' + globals.metadata.parsed.title + ' \n';
- break;
-
- case 'charset':
- if (doctype === 'html' || doctype === 'html5') {
- charset = '\n';
- } else {
- charset = '\n';
- }
- break;
-
- case 'language':
- case 'lang':
- lang = ' lang="' + globals.metadata.parsed[meta] + '"';
- metadata += '\n';
- break;
-
- default:
- metadata += '\n';
- }
- }
- }
-
- text = doctypeParsed + '\n\n' + title + charset + metadata + '\n\n' + text.trim() + '\n\n';
-
- text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);
- return text;
- });
-
- /**
- * Convert all tabs to spaces
- */
- showdown.subParser('detab', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('detab.before', text, options, globals);
-
- // expand first n-1 tabs
- text = text.replace(/\t(?=\t)/g, ' '); // g_tab_width
-
- // replace the nth with two sentinels
- text = text.replace(/\t/g, '¨A¨B');
-
- // use the sentinel to anchor our regex so it doesn't explode
- text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {
- var leadingText = m1,
- numSpaces = 4 - leadingText.length % 4; // g_tab_width
-
- // there *must* be a better way to do this:
- for (var i = 0; i < numSpaces; i++) {
- leadingText += ' ';
- }
-
- return leadingText;
- });
-
- // clean up sentinels
- text = text.replace(/¨A/g, ' '); // g_tab_width
- text = text.replace(/¨B/g, '');
-
- text = globals.converter._dispatch('detab.after', text, options, globals);
- return text;
- });
-
- showdown.subParser('ellipsis', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('ellipsis.before', text, options, globals);
-
- text = text.replace(/\.\.\./g, '…');
-
- text = globals.converter._dispatch('ellipsis.after', text, options, globals);
-
- return text;
- });
-
- /**
- * Turn emoji codes into emojis
- *
- * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis
- */
- showdown.subParser('emoji', function (text, options, globals) {
- 'use strict';
-
- if (!options.emoji) {
- return text;
- }
-
- text = globals.converter._dispatch('emoji.before', text, options, globals);
-
- var emojiRgx = /:([\S]+?):/g;
-
- text = text.replace(emojiRgx, function (wm, emojiCode) {
- if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {
- return showdown.helper.emojis[emojiCode];
- }
- return wm;
- });
-
- text = globals.converter._dispatch('emoji.after', text, options, globals);
-
- return text;
- });
-
- /**
- * Smart processing for ampersands and angle brackets that need to be encoded.
- */
- showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);
-
- // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:
- // http://bumppo.net/projects/amputator/
- text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g, '&');
-
- // Encode naked <'s
- text = text.replace(/<(?![a-z\/?$!])/gi, '<');
-
- // Encode <
- text = text.replace(/
- text = text.replace(/>/g, '>');
-
- text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);
- return text;
- });
-
- /**
- * Returns the string, with after processing the following backslash escape sequences.
- *
- * attacklab: The polite way to do this is with the new escapeCharacters() function:
- *
- * text = escapeCharacters(text,"\\",true);
- * text = escapeCharacters(text,"`*_{}[]()>#+-.!",true);
- *
- * ...but we're sidestepping its use of the (slow) RegExp constructor
- * as an optimization for Firefox. This function gets called a LOT.
- */
- showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);
-
- text = text.replace(/\\(\\)/g, showdown.helper.escapeCharactersCallback);
- text = text.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);
-
- text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);
- return text;
- });
-
- /**
- * Encode/escape certain characters inside Markdown code runs.
- * The point is that in code, these characters are literals,
- * and lose their special Markdown meanings.
- */
- showdown.subParser('encodeCode', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('encodeCode.before', text, options, globals);
-
- // Encode all ampersands; HTML entities are not
- // entities within a Markdown code span.
- text = text.replace(/&/g, '&')
- // Do the angle bracket song and dance:
- .replace(//g, '>')
- // Now, escape characters that are magic in Markdown:
- .replace(/([*_{}\[\]\\=~-])/g, showdown.helper.escapeCharactersCallback);
-
- text = globals.converter._dispatch('encodeCode.after', text, options, globals);
- return text;
- });
-
- /**
- * Within tags -- meaning between < and > -- encode [\ ` * _ ~ =] so they
- * don't conflict with their use in Markdown for code, italics and strong.
- */
- showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);
-
- // Build a regex to find HTML tags.
- var tags = /<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,
- comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;
-
- text = text.replace(tags, function (wholeMatch) {
- return wholeMatch.replace(/(.)<\/?code>(?=.)/g, '$1`').replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);
- });
-
- text = text.replace(comments, function (wholeMatch) {
- return wholeMatch.replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);
- });
-
- text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);
- return text;
- });
-
- /**
- * Handle github codeblocks prior to running HashHTML so that
- * HTML contained within the codeblock gets escaped properly
- * Example:
- * ```ruby
- * def hello_world(x)
- * puts "Hello, #{x}"
- * end
- * ```
- */
- showdown.subParser('githubCodeBlocks', function (text, options, globals) {
- 'use strict';
-
- // early exit if option is not enabled
-
- if (!options.ghCodeBlocks) {
- return text;
- }
-
- text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);
-
- text += '¨0';
-
- text = text.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g, function (wholeMatch, delim, language, codeblock) {
- var end = options.omitExtraWLInCodeBlocks ? '' : '\n';
-
- // First parse the github code block
- codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);
- codeblock = showdown.subParser('detab')(codeblock, options, globals);
- codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines
- codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing whitespace
-
- codeblock = '' + codeblock + end + '
';
-
- codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);
-
- // Since GHCodeblocks can be false positives, we need to
- // store the primitive text and the parsed text in a global var,
- // and then return a token
- return '\n\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\n\n';
- });
-
- // attacklab: strip sentinel
- text = text.replace(/¨0/, '');
-
- return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);
- });
-
- showdown.subParser('hashBlock', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('hashBlock.before', text, options, globals);
- text = text.replace(/(^\n+|\n+$)/g, '');
- text = '\n\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\n\n';
- text = globals.converter._dispatch('hashBlock.after', text, options, globals);
- return text;
- });
-
- /**
- * Hash and escape elements that should not be parsed as markdown
- */
- showdown.subParser('hashCodeTags', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);
-
- var repFunc = function repFunc(wholeMatch, match, left, right) {
- var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;
- return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';
- };
-
- // Hash naked
- text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');
-
- text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);
- return text;
- });
-
- showdown.subParser('hashElement', function (text, options, globals) {
- 'use strict';
-
- return function (wholeMatch, m1) {
- var blockText = m1;
-
- // Undo double lines
- blockText = blockText.replace(/\n\n/g, '\n');
- blockText = blockText.replace(/^\n/, '');
-
- // strip trailing blank lines
- blockText = blockText.replace(/\n+$/g, '');
-
- // Replace the element text with a marker ("¨KxK" where x is its key)
- blockText = '\n\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\n\n';
-
- return blockText;
- };
- });
-
- showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);
-
- var blockTags = ['pre', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'table', 'dl', 'ol', 'ul', 'script', 'noscript', 'form', 'fieldset', 'iframe', 'math', 'style', 'section', 'header', 'footer', 'nav', 'article', 'aside', 'address', 'audio', 'canvas', 'figure', 'hgroup', 'output', 'video', 'p'],
- repFunc = function repFunc(wholeMatch, match, left, right) {
- var txt = wholeMatch;
- // check if this html element is marked as markdown
- // if so, it's contents should be parsed as markdown
- if (left.search(/\bmarkdown\b/) !== -1) {
- txt = left + globals.converter.makeHtml(match) + right;
- }
- return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n';
- };
-
- if (options.backslashEscapesHTMLTags) {
- // encode backslash escaped HTML tags
- text = text.replace(/\\<(\/?[^>]+?)>/g, function (wm, inside) {
- return '<' + inside + '>';
- });
- }
-
- // hash HTML Blocks
- for (var i = 0; i < blockTags.length; ++i) {
-
- var opTagPos,
- rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\b[^>]*>)', 'im'),
- patLeft = '<' + blockTags[i] + '\\b[^>]*>',
- patRight = '' + blockTags[i] + '>';
- // 1. Look for the first position of the first opening HTML tag in the text
- while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {
-
- // if the HTML tag is \ escaped, we need to escape it and break
-
-
- //2. Split the text in that position
- var subTexts = showdown.helper.splitAtIndex(text, opTagPos),
-
- //3. Match recursively
- newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');
-
- // prevent an infinite loop
- if (newSubText1 === subTexts[1]) {
- break;
- }
- text = subTexts[0].concat(newSubText1);
- }
- }
- // HR SPECIAL CASE
- text = text.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));
-
- // Special case for standalone HTML comments
- text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {
- return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n';
- }, '^ {0,3}', 'gm');
-
- // PHP and ASP-style processor instructions (...?> and <%...%>)
- text = text.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));
-
- text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);
- return text;
- });
-
- /**
- * Hash span elements that should not be parsed as markdown
- */
- showdown.subParser('hashHTMLSpans', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);
-
- function hashHTMLSpan(html) {
- return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';
- }
-
- // Hash Self Closing tags
- text = text.replace(/<[^>]+?\/>/gi, function (wm) {
- return hashHTMLSpan(wm);
- });
-
- // Hash tags without properties
- text = text.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g, function (wm) {
- return hashHTMLSpan(wm);
- });
-
- // Hash tags with properties
- text = text.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g, function (wm) {
- return hashHTMLSpan(wm);
- });
-
- // Hash self closing tags without />
- text = text.replace(/<[^>]+?>/gi, function (wm) {
- return hashHTMLSpan(wm);
- });
-
- /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/
-
- text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);
- return text;
- });
-
- /**
- * Unhash HTML spans
- */
- showdown.subParser('unhashHTMLSpans', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);
-
- for (var i = 0; i < globals.gHtmlSpans.length; ++i) {
- var repText = globals.gHtmlSpans[i],
-
- // limiter to prevent infinite loop (assume 10 as limit for recurse)
- limit = 0;
-
- while (/¨C(\d+)C/.test(repText)) {
- var num = RegExp.$1;
- repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);
- if (limit === 10) {
- console.error('maximum nesting of 10 spans reached!!!');
- break;
- }
- ++limit;
- }
- text = text.replace('¨C' + i + 'C', repText);
- }
-
- text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);
- return text;
- });
-
- /**
- * Hash and escape elements that should not be parsed as markdown
- */
- showdown.subParser('hashPreCodeTags', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);
-
- var repFunc = function repFunc(wholeMatch, match, left, right) {
- // encode html entities
- var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;
- return '\n\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\n\n';
- };
-
- // Hash
- text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\s*]*>', '^ {0,3}
\\s*
', 'gim');
-
- text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);
- return text;
- });
-
- showdown.subParser('headers', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('headers.before', text, options, globals);
-
- var headerLevelStart = isNaN(parseInt(options.headerLevelStart)) ? 1 : parseInt(options.headerLevelStart),
-
-
- // Set text-style headers:
- // Header 1
- // ========
- //
- // Header 2
- // --------
- //
- setextRegexH1 = options.smoothLivePreview ? /^(.+)[ \t]*\n={2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n=+[ \t]*\n+/gm,
- setextRegexH2 = options.smoothLivePreview ? /^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n-+[ \t]*\n+/gm;
-
- text = text.replace(setextRegexH1, function (wholeMatch, m1) {
-
- var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),
- hID = options.noHeaderId ? '' : ' id="' + headerId(m1) + '"',
- hLevel = headerLevelStart,
- hashBlock = '' + spanGamut + ' ';
- return showdown.subParser('hashBlock')(hashBlock, options, globals);
- });
-
- text = text.replace(setextRegexH2, function (matchFound, m1) {
- var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),
- hID = options.noHeaderId ? '' : ' id="' + headerId(m1) + '"',
- hLevel = headerLevelStart + 1,
- hashBlock = '' + spanGamut + ' ';
- return showdown.subParser('hashBlock')(hashBlock, options, globals);
- });
-
- // atx-style headers:
- // # Header 1
- // ## Header 2
- // ## Header 2 with closing hashes ##
- // ...
- // ###### Header 6
- //
- var atxStyle = options.requireSpaceBeforeHeadingText ? /^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm : /^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;
-
- text = text.replace(atxStyle, function (wholeMatch, m1, m2) {
- var hText = m2;
- if (options.customizedHeaderId) {
- hText = m2.replace(/\s?\{([^{]+?)}\s*$/, '');
- }
-
- var span = showdown.subParser('spanGamut')(hText, options, globals),
- hID = options.noHeaderId ? '' : ' id="' + headerId(m2) + '"',
- hLevel = headerLevelStart - 1 + m1.length,
- header = '' + span + ' ';
-
- return showdown.subParser('hashBlock')(header, options, globals);
- });
-
- function headerId(m) {
- var title, prefix;
-
- // It is separate from other options to allow combining prefix and customized
- if (options.customizedHeaderId) {
- var match = m.match(/\{([^{]+?)}\s*$/);
- if (match && match[1]) {
- m = match[1];
- }
- }
-
- title = m;
-
- // Prefix id to prevent causing inadvertent pre-existing style matches.
- if (showdown.helper.isString(options.prefixHeaderId)) {
- prefix = options.prefixHeaderId;
- } else if (options.prefixHeaderId === true) {
- prefix = 'section-';
- } else {
- prefix = '';
- }
-
- if (!options.rawPrefixHeaderId) {
- title = prefix + title;
- }
-
- if (options.ghCompatibleHeaderId) {
- title = title.replace(/ /g, '-')
- // replace previously escaped chars (&, ¨ and $)
- .replace(/&/g, '').replace(/¨T/g, '').replace(/¨D/g, '')
- // replace rest of the chars (&~$ are repeated as they might have been escaped)
- // borrowed from github's redcarpet (some they should produce similar results)
- .replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g, '').toLowerCase();
- } else if (options.rawHeaderId) {
- title = title.replace(/ /g, '-')
- // replace previously escaped chars (&, ¨ and $)
- .replace(/&/g, '&').replace(/¨T/g, '¨').replace(/¨D/g, '$')
- // replace " and '
- .replace(/["']/g, '-').toLowerCase();
- } else {
- title = title.replace(/[^\w]/g, '').toLowerCase();
- }
-
- if (options.rawPrefixHeaderId) {
- title = prefix + title;
- }
-
- if (globals.hashLinkCounts[title]) {
- title = title + '-' + globals.hashLinkCounts[title]++;
- } else {
- globals.hashLinkCounts[title] = 1;
- }
- return title;
- }
-
- text = globals.converter._dispatch('headers.after', text, options, globals);
- return text;
- });
-
- /**
- * Turn Markdown link shortcuts into XHTML tags.
- */
- showdown.subParser('horizontalRule', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('horizontalRule.before', text, options, globals);
-
- var key = showdown.subParser('hashBlock')('
', options, globals);
- text = text.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm, key);
- text = text.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm, key);
- text = text.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm, key);
-
- text = globals.converter._dispatch('horizontalRule.after', text, options, globals);
- return text;
- });
-
- /**
- * Turn Markdown image shortcuts into tags.
- */
- showdown.subParser('images', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('images.before', text, options, globals);
-
- var inlineRegExp = /!\[([^\]]*?)][ \t]*()\([ \t]?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,
- crazyRegExp = /!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,
- base64RegExp = /!\[([^\]]*?)][ \t]*()\([ \t]?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,
- referenceRegExp = /!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,
- refShortcutRegExp = /!\[([^\[\]]+)]()()()()()/g;
-
- function writeImageTagBase64(wholeMatch, altText, linkId, url, width, height, m5, title) {
- url = url.replace(/\s/g, '');
- return writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title);
- }
-
- function writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title) {
-
- var gUrls = globals.gUrls,
- gTitles = globals.gTitles,
- gDims = globals.gDimensions;
-
- linkId = linkId.toLowerCase();
-
- if (!title) {
- title = '';
- }
- // Special case for explicit empty url
- if (wholeMatch.search(/\(\s*>? ?(['"].*['"])?\)$/m) > -1) {
- url = '';
- } else if (url === '' || url === null) {
- if (linkId === '' || linkId === null) {
- // lower-case and turn embedded newlines into spaces
- linkId = altText.toLowerCase().replace(/ ?\n/g, ' ');
- }
- url = '#' + linkId;
-
- if (!showdown.helper.isUndefined(gUrls[linkId])) {
- url = gUrls[linkId];
- if (!showdown.helper.isUndefined(gTitles[linkId])) {
- title = gTitles[linkId];
- }
- if (!showdown.helper.isUndefined(gDims[linkId])) {
- width = gDims[linkId].width;
- height = gDims[linkId].height;
- }
- } else {
- return wholeMatch;
- }
- }
-
- altText = altText.replace(/"/g, '"')
- //altText = showdown.helper.escapeCharacters(altText, '*_', false);
- .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
- //url = showdown.helper.escapeCharacters(url, '*_', false);
- url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
- var result = '';
-
- return result;
- }
-
- // First, handle reference-style labeled images: ![alt text][id]
- text = text.replace(referenceRegExp, writeImageTag);
-
- // Next, handle inline images: ![alt text](url =x "optional title")
-
- // base64 encoded images
- text = text.replace(base64RegExp, writeImageTagBase64);
-
- // cases with crazy urls like ./image/cat1).png
- text = text.replace(crazyRegExp, writeImageTag);
-
- // normal cases
- text = text.replace(inlineRegExp, writeImageTag);
-
- // handle reference-style shortcuts: ![img text]
- text = text.replace(refShortcutRegExp, writeImageTag);
-
- text = globals.converter._dispatch('images.after', text, options, globals);
- return text;
- });
-
- showdown.subParser('italicsAndBold', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);
-
- // it's faster to have 3 separate regexes for each case than have just one
- // because of backtracing, in some cases, it could lead to an exponential effect
- // called "catastrophic backtrace". Ominous!
-
- function parseInside(txt, left, right) {
- /*
- if (options.simplifiedAutoLink) {
- txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);
- }
- */
- return left + txt + right;
- }
-
- // Parse underscores
- if (options.literalMidWordUnderscores) {
- text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
- return parseInside(txt, '', '');
- });
- text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
- return parseInside(txt, '', '');
- });
- text = text.replace(/\b_(\S[\s\S]*?)_\b/g, function (wm, txt) {
- return parseInside(txt, '', '');
- });
- } else {
- text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) {
- return (/\S$/.test(m) ? parseInside(m, '', '') : wm
- );
- });
- text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) {
- return (/\S$/.test(m) ? parseInside(m, '', '') : wm
- );
- });
- text = text.replace(/_([^\s_][\s\S]*?)_/g, function (wm, m) {
- // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)
- return (/\S$/.test(m) ? parseInside(m, '', '') : wm
- );
- });
- }
-
- // Now parse asterisks
- if (options.literalMidWordAsterisks) {
- text = text.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g, function (wm, lead, txt) {
- return parseInside(txt, lead + '', '');
- });
- text = text.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g, function (wm, lead, txt) {
- return parseInside(txt, lead + '', '');
- });
- text = text.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g, function (wm, lead, txt) {
- return parseInside(txt, lead + '', '');
- });
- } else {
- text = text.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g, function (wm, m) {
- return (/\S$/.test(m) ? parseInside(m, '', '') : wm
- );
- });
- text = text.replace(/\*\*(\S[\s\S]*?)\*\*/g, function (wm, m) {
- return (/\S$/.test(m) ? parseInside(m, '', '') : wm
- );
- });
- text = text.replace(/\*([^\s*][\s\S]*?)\*/g, function (wm, m) {
- // !/^\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)
- return (/\S$/.test(m) ? parseInside(m, '', '') : wm
- );
- });
- }
-
- text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);
- return text;
- });
-
- /**
- * Form HTML ordered (numbered) and unordered (bulleted) lists.
- */
- showdown.subParser('lists', function (text, options, globals) {
- 'use strict';
-
- /**
- * Process the contents of a single ordered or unordered list, splitting it
- * into individual list items.
- * @param {string} listStr
- * @param {boolean} trimTrailing
- * @returns {string}
- */
-
- function processListItems(listStr, trimTrailing) {
- // The $g_list_level global keeps track of when we're inside a list.
- // Each time we enter a list, we increment it; when we leave a list,
- // we decrement. If it's zero, we're not in a list anymore.
- //
- // We do this because when we're not inside a list, we want to treat
- // something like this:
- //
- // I recommend upgrading to version
- // 8. Oops, now this line is treated
- // as a sub-list.
- //
- // As a single paragraph, despite the fact that the second line starts
- // with a digit-period-space sequence.
- //
- // Whereas when we're inside a list (or sub-list), that line will be
- // treated as the start of a sub-list. What a kludge, huh? This is
- // an aspect of Markdown's syntax that's hard to parse perfectly
- // without resorting to mind-reading. Perhaps the solution is to
- // change the syntax rules such that sub-lists must start with a
- // starting cardinal number; e.g. "1." or "a.".
- globals.gListLevel++;
-
- // trim trailing blank lines:
- listStr = listStr.replace(/\n{2,}$/, '\n');
-
- // attacklab: add sentinel to emulate \z
- listStr += '¨0';
-
- var rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,
- isParagraphed = /\n[ \t]*\n(?!¨0)/.test(listStr);
-
- // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,
- // which is a syntax breaking change
- // activating this option reverts to old behavior
- if (options.disableForced4SpacesIndentedSublists) {
- rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm;
- }
-
- listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {
- checked = checked && checked.trim() !== '';
-
- var item = showdown.subParser('outdent')(m4, options, globals),
- bulletStyle = '';
-
- // Support for github tasklists
- if (taskbtn && options.tasklists) {
- bulletStyle = ' class="task-list-item" style="list-style-type: none;"';
- item = item.replace(/^[ \t]*\[(x|X| )?]/m, function () {
- var otp = '';
- return otp;
- });
- }
-
- // ISSUE #312
- // This input: - - - a
- // causes trouble to the parser, since it interprets it as:
- // - a
- // instead of:
- // - - - a
- // So, to prevent it, we will put a marker (¨A)in the beginning of the line
- // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser
- item = item.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g, function (wm2) {
- return '¨A' + wm2;
- });
-
- // m1 - Leading line or
- // Has a double return (multi paragraph) or
- // Has sublist
- if (m1 || item.search(/\n{2,}/) > -1) {
- item = showdown.subParser('githubCodeBlocks')(item, options, globals);
- item = showdown.subParser('blockGamut')(item, options, globals);
- } else {
- // Recursion for sub-lists:
- item = showdown.subParser('lists')(item, options, globals);
- item = item.replace(/\n$/, ''); // chomp(item)
- item = showdown.subParser('hashHTMLBlocks')(item, options, globals);
-
- // Colapse double linebreaks
- item = item.replace(/\n\n+/g, '\n\n');
- if (isParagraphed) {
- item = showdown.subParser('paragraphs')(item, options, globals);
- } else {
- item = showdown.subParser('spanGamut')(item, options, globals);
- }
- }
-
- // now we need to remove the marker (¨A)
- item = item.replace('¨A', '');
- // we can finally wrap the line in list item tags
- item = '' + item + ' \n';
-
- return item;
- });
-
- // attacklab: strip sentinel
- listStr = listStr.replace(/¨0/g, '');
-
- globals.gListLevel--;
-
- if (trimTrailing) {
- listStr = listStr.replace(/\s+$/, '');
- }
-
- return listStr;
- }
-
- function styleStartNumber(list, listType) {
- // check if ol and starts by a number different than 1
- if (listType === 'ol') {
- var res = list.match(/^ *(\d+)\./);
- if (res && res[1] !== '1') {
- return ' start="' + res[1] + '"';
- }
- }
- return '';
- }
-
- /**
- * Check and parse consecutive lists (better fix for issue #142)
- * @param {string} list
- * @param {string} listType
- * @param {boolean} trimTrailing
- * @returns {string}
- */
- function parseConsecutiveLists(list, listType, trimTrailing) {
- // check if we caught 2 or more consecutive lists by mistake
- // we use the counterRgx, meaning if listType is UL we look for OL and vice versa
- var olRgx = options.disableForced4SpacesIndentedSublists ? /^ ?\d+\.[ \t]/gm : /^ {0,3}\d+\.[ \t]/gm,
- ulRgx = options.disableForced4SpacesIndentedSublists ? /^ ?[*+-][ \t]/gm : /^ {0,3}[*+-][ \t]/gm,
- counterRxg = listType === 'ul' ? olRgx : ulRgx,
- result = '';
-
- if (list.search(counterRxg) !== -1) {
- (function parseCL(txt) {
- var pos = txt.search(counterRxg),
- style = styleStartNumber(list, listType);
- if (pos !== -1) {
- // slice
- result += '\n\n<' + listType + style + '>\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\n';
-
- // invert counterType and listType
- listType = listType === 'ul' ? 'ol' : 'ul';
- counterRxg = listType === 'ul' ? olRgx : ulRgx;
-
- //recurse
- parseCL(txt.slice(pos));
- } else {
- result += '\n\n<' + listType + style + '>\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\n';
- }
- })(list);
- } else {
- var style = styleStartNumber(list, listType);
- result = '\n\n<' + listType + style + '>\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\n';
- }
-
- return result;
- }
-
- /** Start of list parsing **/
- text = globals.converter._dispatch('lists.before', text, options, globals);
- // add sentinel to hack around khtml/safari bug:
- // http://bugs.webkit.org/show_bug.cgi?id=11231
- text += '¨0';
-
- if (globals.gListLevel) {
- text = text.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm, function (wholeMatch, list, m2) {
- var listType = m2.search(/[*+-]/g) > -1 ? 'ul' : 'ol';
- return parseConsecutiveLists(list, listType, true);
- });
- } else {
- text = text.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm, function (wholeMatch, m1, list, m3) {
- var listType = m3.search(/[*+-]/g) > -1 ? 'ul' : 'ol';
- return parseConsecutiveLists(list, listType, false);
- });
- }
-
- // strip sentinel
- text = text.replace(/¨0/, '');
- text = globals.converter._dispatch('lists.after', text, options, globals);
- return text;
- });
-
- /**
- * Parse metadata at the top of the document
- */
- showdown.subParser('metadata', function (text, options, globals) {
- 'use strict';
-
- if (!options.metadata) {
- return text;
- }
-
- text = globals.converter._dispatch('metadata.before', text, options, globals);
-
- function parseMetadataContents(content) {
- // raw is raw so it's not changed in any way
- globals.metadata.raw = content;
-
- // escape chars forbidden in html attributes
- // double quotes
- content = content
- // ampersand first
- .replace(/&/g, '&')
- // double quotes
- .replace(/"/g, '"');
-
- content = content.replace(/\n {4}/g, ' ');
- content.replace(/^([\S ]+): +([\s\S]+?)$/gm, function (wm, key, value) {
- globals.metadata.parsed[key] = value;
- return '';
- });
- }
-
- text = text.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/, function (wholematch, format, content) {
- parseMetadataContents(content);
- return '¨M';
- });
-
- text = text.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/, function (wholematch, format, content) {
- if (format) {
- globals.metadata.format = format;
- }
- parseMetadataContents(content);
- return '¨M';
- });
-
- text = text.replace(/¨M/g, '');
-
- text = globals.converter._dispatch('metadata.after', text, options, globals);
- return text;
- });
-
- /**
- * Remove one level of line-leading tabs or spaces
- */
- showdown.subParser('outdent', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('outdent.before', text, options, globals);
-
- // attacklab: hack around Konqueror 3.5.4 bug:
- // "----------bug".replace(/^-/g,"") == "bug"
- text = text.replace(/^(\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width
-
- // attacklab: clean up hack
- text = text.replace(/¨0/g, '');
-
- text = globals.converter._dispatch('outdent.after', text, options, globals);
- return text;
- });
-
- /**
- *
- */
- showdown.subParser('paragraphs', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('paragraphs.before', text, options, globals);
- // Strip leading and trailing lines:
- text = text.replace(/^\n+/g, '');
- text = text.replace(/\n+$/g, '');
-
- var grafs = text.split(/\n{2,}/g),
- grafsOut = [],
- end = grafs.length; // Wrap tags
-
- for (var i = 0; i < end; i++) {
- var str = grafs[i];
- // if this is an HTML marker, copy it
- if (str.search(/¨(K|G)(\d+)\1/g) >= 0) {
- grafsOut.push(str);
-
- // test for presence of characters to prevent empty lines being parsed
- // as paragraphs (resulting in undesired extra empty paragraphs)
- } else if (str.search(/\S/) >= 0) {
- str = showdown.subParser('spanGamut')(str, options, globals);
- str = str.replace(/^([ \t]*)/g, '
');
- str += '
';
- grafsOut.push(str);
- }
- }
-
- /** Unhashify HTML blocks */
- end = grafsOut.length;
- for (i = 0; i < end; i++) {
- var blockText = '',
- grafsOutIt = grafsOut[i],
- codeFlag = false;
- // if this is a marker for an html block...
- // use RegExp.test instead of string.search because of QML bug
- while (/¨(K|G)(\d+)\1/.test(grafsOutIt)) {
- var delim = RegExp.$1,
- num = RegExp.$2;
-
- if (delim === 'K') {
- blockText = globals.gHtmlBlocks[num];
- } else {
- // we need to check if ghBlock is a false positive
- if (codeFlag) {
- // use encoded version of all text
- blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);
- } else {
- blockText = globals.ghCodeBlocks[num].codeblock;
- }
- }
- blockText = blockText.replace(/\$/g, '$$$$'); // Escape any dollar signs
-
- grafsOutIt = grafsOutIt.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/, blockText);
- // Check if grafsOutIt is a pre->code
- if (/^]*>\s*]*>/.test(grafsOutIt)) {
- codeFlag = true;
- }
- }
- grafsOut[i] = grafsOutIt;
- }
- text = grafsOut.join('\n');
- // Strip leading and trailing lines:
- text = text.replace(/^\n+/g, '');
- text = text.replace(/\n+$/g, '');
- return globals.converter._dispatch('paragraphs.after', text, options, globals);
- });
-
- /**
- * Run extension
- */
- showdown.subParser('runExtension', function (ext, text, options, globals) {
- 'use strict';
-
- if (ext.filter) {
- text = ext.filter(text, globals.converter, options);
- } else if (ext.regex) {
- // TODO remove this when old extension loading mechanism is deprecated
- var re = ext.regex;
- if (!(re instanceof RegExp)) {
- re = new RegExp(re, 'g');
- }
- text = text.replace(re, ext.replace);
- }
-
- return text;
- });
-
- /**
- * These are all the transformations that occur *within* block-level
- * tags like paragraphs, headers, and list items.
- */
- showdown.subParser('spanGamut', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('spanGamut.before', text, options, globals);
- text = showdown.subParser('codeSpans')(text, options, globals);
- text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);
- text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);
-
- // Process anchor and image tags. Images must come first,
- // because ![foo][f] looks like an anchor.
- text = showdown.subParser('images')(text, options, globals);
- text = showdown.subParser('anchors')(text, options, globals);
-
- // Make links out of things like ` `
- // Must come after anchors, because you can use < and >
- // delimiters in inline links like [this]().
- text = showdown.subParser('autoLinks')(text, options, globals);
- text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);
- text = showdown.subParser('emoji')(text, options, globals);
- text = showdown.subParser('underline')(text, options, globals);
- text = showdown.subParser('italicsAndBold')(text, options, globals);
- text = showdown.subParser('strikethrough')(text, options, globals);
- text = showdown.subParser('ellipsis')(text, options, globals);
-
- // we need to hash HTML tags inside spans
- text = showdown.subParser('hashHTMLSpans')(text, options, globals);
-
- // now we encode amps and angles
- text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);
-
- // Do hard breaks
- if (options.simpleLineBreaks) {
- // GFM style hard breaks
- // only add line breaks if the text does not contain a block (special case for lists)
- if (!/\n\n¨K/.test(text)) {
- text = text.replace(/\n+/g, '
\n');
- }
- } else {
- // Vanilla hard breaks
- text = text.replace(/ +\n/g, '
\n');
- }
-
- text = globals.converter._dispatch('spanGamut.after', text, options, globals);
- return text;
- });
-
- showdown.subParser('strikethrough', function (text, options, globals) {
- 'use strict';
-
- function parseInside(txt) {
- if (options.simplifiedAutoLink) {
- txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);
- }
- return '' + txt + '';
- }
-
- if (options.strikethrough) {
- text = globals.converter._dispatch('strikethrough.before', text, options, globals);
- text = text.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g, function (wm, txt) {
- return parseInside(txt);
- });
- text = globals.converter._dispatch('strikethrough.after', text, options, globals);
- }
-
- return text;
- });
-
- /**
- * Strips link definitions from text, stores the URLs and titles in
- * hash references.
- * Link defs are in the form: ^[id]: url "optional title"
- */
- showdown.subParser('stripLinkDefinitions', function (text, options, globals) {
- 'use strict';
-
- var regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,
- base64Regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;
-
- // attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
- text += '¨0';
-
- var replaceFunc = function replaceFunc(wholeMatch, linkId, url, width, height, blankLines, title) {
- linkId = linkId.toLowerCase();
- if (url.match(/^data:.+?\/.+?;base64,/)) {
- // remove newlines
- globals.gUrls[linkId] = url.replace(/\s/g, '');
- } else {
- globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive
- }
-
- if (blankLines) {
- // Oops, found blank lines, so it's not a title.
- // Put back the parenthetical statement we stole.
- return blankLines + title;
- } else {
- if (title) {
- globals.gTitles[linkId] = title.replace(/"|'/g, '"');
- }
- if (options.parseImgDimensions && width && height) {
- globals.gDimensions[linkId] = {
- width: width,
- height: height
- };
- }
- }
- // Completely remove the definition from the text
- return '';
- };
-
- // first we try to find base64 link references
- text = text.replace(base64Regex, replaceFunc);
-
- text = text.replace(regex, replaceFunc);
-
- // attacklab: strip sentinel
- text = text.replace(/¨0/, '');
-
- return text;
- });
-
- showdown.subParser('tables', function (text, options, globals) {
- 'use strict';
-
- if (!options.tables) {
- return text;
- }
-
- var tableRgx = /^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,
-
- //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm;
- singeColTblRgx = /^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;
-
- function parseStyles(sLine) {
- if (/^:[ \t]*--*$/.test(sLine)) {
- return ' style="text-align:left;"';
- } else if (/^--*[ \t]*:[ \t]*$/.test(sLine)) {
- return ' style="text-align:right;"';
- } else if (/^:[ \t]*--*[ \t]*:$/.test(sLine)) {
- return ' style="text-align:center;"';
- } else {
- return '';
- }
- }
-
- function parseHeaders(header, style) {
- var id = '';
- header = header.trim();
- // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility
- if (options.tablesHeaderId || options.tableHeaderId) {
- id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
- }
- header = showdown.subParser('spanGamut')(header, options, globals);
-
- return '' + header + ' \n';
- }
-
- function parseCells(cell, style) {
- var subText = showdown.subParser('spanGamut')(cell, options, globals);
- return '' + subText + ' \n';
- }
-
- function buildTable(headers, cells) {
- var tb = '\n\n\n',
- tblLgn = headers.length;
-
- for (var i = 0; i < tblLgn; ++i) {
- tb += headers[i];
- }
- tb += ' \n\n\n';
-
- for (i = 0; i < cells.length; ++i) {
- tb += '\n';
- for (var ii = 0; ii < tblLgn; ++ii) {
- tb += cells[i][ii];
- }
- tb += ' \n';
- }
- tb += '\n
\n';
- return tb;
- }
-
- function parseTable(rawTable) {
- var i,
- tableLines = rawTable.split('\n');
-
- for (i = 0; i < tableLines.length; ++i) {
- // strip wrong first and last column if wrapped tables are used
- if (/^ {0,3}\|/.test(tableLines[i])) {
- tableLines[i] = tableLines[i].replace(/^ {0,3}\|/, '');
- }
- if (/\|[ \t]*$/.test(tableLines[i])) {
- tableLines[i] = tableLines[i].replace(/\|[ \t]*$/, '');
- }
- // parse code spans first, but we only support one line code spans
- tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);
- }
-
- var rawHeaders = tableLines[0].split('|').map(function (s) {
- return s.trim();
- }),
- rawStyles = tableLines[1].split('|').map(function (s) {
- return s.trim();
- }),
- rawCells = [],
- headers = [],
- styles = [],
- cells = [];
-
- tableLines.shift();
- tableLines.shift();
-
- for (i = 0; i < tableLines.length; ++i) {
- if (tableLines[i].trim() === '') {
- continue;
- }
- rawCells.push(tableLines[i].split('|').map(function (s) {
- return s.trim();
- }));
- }
-
- if (rawHeaders.length < rawStyles.length) {
- return rawTable;
- }
-
- for (i = 0; i < rawStyles.length; ++i) {
- styles.push(parseStyles(rawStyles[i]));
- }
-
- for (i = 0; i < rawHeaders.length; ++i) {
- if (showdown.helper.isUndefined(styles[i])) {
- styles[i] = '';
- }
- headers.push(parseHeaders(rawHeaders[i], styles[i]));
- }
-
- for (i = 0; i < rawCells.length; ++i) {
- var row = [];
- for (var ii = 0; ii < headers.length; ++ii) {
- if (showdown.helper.isUndefined(rawCells[i][ii])) {}
- row.push(parseCells(rawCells[i][ii], styles[ii]));
- }
- cells.push(row);
- }
-
- return buildTable(headers, cells);
- }
-
- text = globals.converter._dispatch('tables.before', text, options, globals);
-
- // find escaped pipe characters
- text = text.replace(/\\(\|)/g, showdown.helper.escapeCharactersCallback);
-
- // parse multi column tables
- text = text.replace(tableRgx, parseTable);
-
- // parse one column tables
- text = text.replace(singeColTblRgx, parseTable);
-
- text = globals.converter._dispatch('tables.after', text, options, globals);
-
- return text;
- });
-
- showdown.subParser('underline', function (text, options, globals) {
- 'use strict';
-
- if (!options.underline) {
- return text;
- }
-
- text = globals.converter._dispatch('underline.before', text, options, globals);
-
- if (options.literalMidWordUnderscores) {
- text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
- return '' + txt + '';
- });
- text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
- return '' + txt + '';
- });
- } else {
- text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) {
- return (/\S$/.test(m) ? '' + m + '' : wm
- );
- });
- text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) {
- return (/\S$/.test(m) ? '' + m + '' : wm
- );
- });
- }
-
- // escape remaining underscores to prevent them being parsed by italic and bold
- text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);
-
- text = globals.converter._dispatch('underline.after', text, options, globals);
-
- return text;
- });
-
- /**
- * Swap back in all the special characters we've hidden.
- */
- showdown.subParser('unescapeSpecialChars', function (text, options, globals) {
- 'use strict';
-
- text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);
-
- text = text.replace(/¨E(\d+)E/g, function (wholeMatch, m1) {
- var charCodeToReplace = parseInt(m1);
- return String.fromCharCode(charCodeToReplace);
- });
-
- text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);
- return text;
- });
-
- showdown.subParser('makeMarkdown.blockquote', function (node, globals) {
- 'use strict';
-
- var txt = '';
- if (node.hasChildNodes()) {
- var children = node.childNodes,
- childrenLength = children.length;
-
- for (var i = 0; i < childrenLength; ++i) {
- var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);
-
- if (innerTxt === '') {
- continue;
- }
- txt += innerTxt;
- }
- }
- // cleanup
- txt = txt.trim();
- txt = '> ' + txt.split('\n').join('\n> ');
- return txt;
- });
-
- showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {
- 'use strict';
-
- var lang = node.getAttribute('language'),
- num = node.getAttribute('precodenum');
- return '```' + lang + '\n' + globals.preList[num] + '\n```';
- });
-
- showdown.subParser('makeMarkdown.codeSpan', function (node) {
- 'use strict';
-
- return '`' + node.innerHTML + '`';
- });
-
- showdown.subParser('makeMarkdown.emphasis', function (node, globals) {
- 'use strict';
-
- var txt = '';
- if (node.hasChildNodes()) {
- txt += '*';
- var children = node.childNodes,
- childrenLength = children.length;
- for (var i = 0; i < childrenLength; ++i) {
- txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
- }
- txt += '*';
- }
- return txt;
- });
-
- showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {
- 'use strict';
-
- var headerMark = new Array(headerLevel + 1).join('#'),
- txt = '';
-
- if (node.hasChildNodes()) {
- txt = headerMark + ' ';
- var children = node.childNodes,
- childrenLength = children.length;
-
- for (var i = 0; i < childrenLength; ++i) {
- txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
- }
- }
- return txt;
- });
-
- showdown.subParser('makeMarkdown.hr', function () {
- 'use strict';
-
- return '---';
- });
-
- showdown.subParser('makeMarkdown.image', function (node) {
- 'use strict';
-
- var txt = '';
- if (node.hasAttribute('src')) {
- txt += '![' + node.getAttribute('alt') + '](';
- txt += '<' + node.getAttribute('src') + '>';
- if (node.hasAttribute('width') && node.hasAttribute('height')) {
- txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');
- }
-
- if (node.hasAttribute('title')) {
- txt += ' "' + node.getAttribute('title') + '"';
- }
- txt += ')';
- }
- return txt;
- });
-
- showdown.subParser('makeMarkdown.links', function (node, globals) {
- 'use strict';
-
- var txt = '';
- if (node.hasChildNodes() && node.hasAttribute('href')) {
- var children = node.childNodes,
- childrenLength = children.length;
- txt = '[';
- for (var i = 0; i < childrenLength; ++i) {
- txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
- }
- txt += '](';
- txt += '<' + node.getAttribute('href') + '>';
- if (node.hasAttribute('title')) {
- txt += ' "' + node.getAttribute('title') + '"';
- }
- txt += ')';
- }
- return txt;
- });
-
- showdown.subParser('makeMarkdown.list', function (node, globals, type) {
- 'use strict';
-
- var txt = '';
- if (!node.hasChildNodes()) {
- return '';
- }
- var listItems = node.childNodes,
- listItemsLenght = listItems.length,
- listNum = node.getAttribute('start') || 1;
-
- for (var i = 0; i < listItemsLenght; ++i) {
- if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {
- continue;
- }
-
- // define the bullet to use in list
- var bullet = '';
- if (type === 'ol') {
- bullet = listNum.toString() + '. ';
- } else {
- bullet = '- ';
- }
-
- // parse list item
- txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);
- ++listNum;
- }
-
- // add comment at the end to prevent consecutive lists to be parsed as one
- txt += '\n\n';
- return txt.trim();
- });
-
- showdown.subParser('makeMarkdown.listItem', function (node, globals) {
- 'use strict';
-
- var listItemTxt = '';
-
- var children = node.childNodes,
- childrenLenght = children.length;
-
- for (var i = 0; i < childrenLenght; ++i) {
- listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);
- }
- // if it's only one liner, we need to add a newline at the end
- if (!/\n$/.test(listItemTxt)) {
- listItemTxt += '\n';
- } else {
- // it's multiparagraph, so we need to indent
- listItemTxt = listItemTxt.split('\n').join('\n ').replace(/^ {4}$/gm, '').replace(/\n\n+/g, '\n\n');
- }
-
- return listItemTxt;
- });
-
- showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {
- 'use strict';
-
- spansOnly = spansOnly || false;
-
- var txt = '';
-
- // edge case of text without wrapper paragraph
- if (node.nodeType === 3) {
- return showdown.subParser('makeMarkdown.txt')(node, globals);
- }
-
- // HTML comment
- if (node.nodeType === 8) {
- return '\n\n';
- }
-
- // process only node elements
- if (node.nodeType !== 1) {
- return '';
- }
-
- var tagName = node.tagName.toLowerCase();
-
- switch (tagName) {
-
- //
- // BLOCKS
- //
- case 'h1':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\n\n';
- }
- break;
- case 'h2':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\n\n';
- }
- break;
- case 'h3':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\n\n';
- }
- break;
- case 'h4':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\n\n';
- }
- break;
- case 'h5':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\n\n';
- }
- break;
- case 'h6':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\n\n';
- }
- break;
-
- case 'p':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\n\n';
- }
- break;
-
- case 'blockquote':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\n\n';
- }
- break;
-
- case 'hr':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\n\n';
- }
- break;
-
- case 'ol':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\n\n';
- }
- break;
-
- case 'ul':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\n\n';
- }
- break;
-
- case 'precode':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\n\n';
- }
- break;
-
- case 'pre':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\n\n';
- }
- break;
-
- case 'table':
- if (!spansOnly) {
- txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\n\n';
- }
- break;
-
- //
- // SPANS
- //
- case 'code':
- txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);
- break;
-
- case 'em':
- case 'i':
- txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);
- break;
-
- case 'strong':
- case 'b':
- txt = showdown.subParser('makeMarkdown.strong')(node, globals);
- break;
-
- case 'del':
- txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);
- break;
-
- case 'a':
- txt = showdown.subParser('makeMarkdown.links')(node, globals);
- break;
-
- case 'img':
- txt = showdown.subParser('makeMarkdown.image')(node, globals);
- break;
-
- default:
- txt = node.outerHTML + '\n\n';
- }
-
- // common normalization
- // TODO eventually
-
- return txt;
- });
-
- showdown.subParser('makeMarkdown.paragraph', function (node, globals) {
- 'use strict';
-
- var txt = '';
- if (node.hasChildNodes()) {
- var children = node.childNodes,
- childrenLength = children.length;
- for (var i = 0; i < childrenLength; ++i) {
- txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
- }
- }
-
- // some text normalization
- txt = txt.trim();
-
- return txt;
- });
-
- showdown.subParser('makeMarkdown.pre', function (node, globals) {
- 'use strict';
-
- var num = node.getAttribute('prenum');
- return '' + globals.preList[num] + '
';
- });
-
- showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {
- 'use strict';
-
- var txt = '';
- if (node.hasChildNodes()) {
- txt += '~~';
- var children = node.childNodes,
- childrenLength = children.length;
- for (var i = 0; i < childrenLength; ++i) {
- txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
- }
- txt += '~~';
- }
- return txt;
- });
-
- showdown.subParser('makeMarkdown.strong', function (node, globals) {
- 'use strict';
-
- var txt = '';
- if (node.hasChildNodes()) {
- txt += '**';
- var children = node.childNodes,
- childrenLength = children.length;
- for (var i = 0; i < childrenLength; ++i) {
- txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
- }
- txt += '**';
- }
- return txt;
- });
-
- showdown.subParser('makeMarkdown.table', function (node, globals) {
- 'use strict';
-
- var txt = '',
- tableArray = [[], []],
- headings = node.querySelectorAll('thead>tr>th'),
- rows = node.querySelectorAll('tbody>tr'),
- i,
- ii;
- for (i = 0; i < headings.length; ++i) {
- var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),
- allign = '---';
-
- if (headings[i].hasAttribute('style')) {
- var style = headings[i].getAttribute('style').toLowerCase().replace(/\s/g, '');
- switch (style) {
- case 'text-align:left;':
- allign = ':---';
- break;
- case 'text-align:right;':
- allign = '---:';
- break;
- case 'text-align:center;':
- allign = ':---:';
- break;
- }
- }
- tableArray[0][i] = headContent.trim();
- tableArray[1][i] = allign;
- }
-
- for (i = 0; i < rows.length; ++i) {
- var r = tableArray.push([]) - 1,
- cols = rows[i].getElementsByTagName('td');
-
- for (ii = 0; ii < headings.length; ++ii) {
- var cellContent = ' ';
- if (typeof cols[ii] !== 'undefined') {
- cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);
- }
- tableArray[r].push(cellContent);
- }
- }
-
- var cellSpacesCount = 3;
- for (i = 0; i < tableArray.length; ++i) {
- for (ii = 0; ii < tableArray[i].length; ++ii) {
- var strLen = tableArray[i][ii].length;
- if (strLen > cellSpacesCount) {
- cellSpacesCount = strLen;
- }
- }
- }
-
- for (i = 0; i < tableArray.length; ++i) {
- for (ii = 0; ii < tableArray[i].length; ++ii) {
- if (i === 1) {
- if (tableArray[i][ii].slice(-1) === ':') {
- tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';
- } else {
- tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');
- }
- } else {
- tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);
- }
- }
- txt += '| ' + tableArray[i].join(' | ') + ' |\n';
- }
-
- return txt.trim();
- });
-
- showdown.subParser('makeMarkdown.tableCell', function (node, globals) {
- 'use strict';
-
- var txt = '';
- if (!node.hasChildNodes()) {
- return '';
- }
- var children = node.childNodes,
- childrenLength = children.length;
-
- for (var i = 0; i < childrenLength; ++i) {
- txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);
- }
- return txt.trim();
- });
-
- showdown.subParser('makeMarkdown.txt', function (node) {
- 'use strict';
-
- var txt = node.nodeValue;
-
- // multiple spaces are collapsed
- txt = txt.replace(/ +/g, ' ');
-
- // replace the custom ¨NBSP; with a space
- txt = txt.replace(/¨NBSP;/g, ' ');
-
- // ", <, > and & should replace escaped html entities
- txt = showdown.helper.unescapeHTMLEntities(txt);
-
- // escape markdown magic characters
- // emphasis, strong and strikethrough - can appear everywhere
- // we also escape pipe (|) because of tables
- // and escape ` because of code blocks and spans
- txt = txt.replace(/([*_~|`])/g, '\\$1');
-
- // escape > because of blockquotes
- txt = txt.replace(/^(\s*)>/g, '\\$1>');
-
- // hash character, only troublesome at the beginning of a line because of headers
- txt = txt.replace(/^#/gm, '\\#');
-
- // horizontal rules
- txt = txt.replace(/^(\s*)([-=]{3,})(\s*)$/, '$1\\$2$3');
-
- // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer
- txt = txt.replace(/^( {0,3}\d+)\./gm, '$1\\.');
-
- // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)
- txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\$2');
-
- // images and links, ] followed by ( is problematic, so we escape it
- txt = txt.replace(/]([\s]*)\(/g, '\\]$1\\(');
-
- // reference URIs must also be escaped
- txt = txt.replace(/^ {0,3}\[([\S \t]*?)]:/gm, '\\[$1]:');
-
- return txt;
- });
-
- var root = this;
-
- // AMD Loader
- if (true) {
- !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
- 'use strict';
-
- return showdown;
- }).call(exports, __webpack_require__, exports, module),
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-
- // CommonJS/nodeJS Loader
- } else if (typeof module !== 'undefined' && module.exports) {
- module.exports = showdown;
-
- // Regular Browser loader
- } else {
- root.showdown = showdown;
- }
-}).call(this);
-
-//# sourceMappingURL=showdown.js.map
-
-/***/ }),
-
-/***/ "JkW7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-
-// EXTERNAL MODULE: ../node_modules/preact/dist/preact.min.js
-var preact_min = __webpack_require__("KM04");
-var preact_min_default = /*#__PURE__*/__webpack_require__.n(preact_min);
-
-// EXTERNAL MODULE: ./index.css
-var index = __webpack_require__("xHuH");
-var index_default = /*#__PURE__*/__webpack_require__.n(index);
-
-// CONCATENATED MODULE: ../node_modules/preact-router/dist/preact-router.es.js
-
-
-var EMPTY$1 = {};
-
-function preact_router_es_assign(obj, props) {
- // eslint-disable-next-line guard-for-in
- for (var i in props) {
- obj[i] = props[i];
- }
- return obj;
-}
-
-function exec(url, route, opts) {
- var reg = /(?:\?([^#]*))?(#.*)?$/,
- c = url.match(reg),
- matches = {},
- ret;
- if (c && c[1]) {
- var p = c[1].split('&');
- for (var i = 0; i < p.length; i++) {
- var r = p[i].split('=');
- matches[decodeURIComponent(r[0])] = decodeURIComponent(r.slice(1).join('='));
- }
- }
- url = segmentize(url.replace(reg, ''));
- route = segmentize(route || '');
- var max = Math.max(url.length, route.length);
- for (var i$1 = 0; i$1 < max; i$1++) {
- if (route[i$1] && route[i$1].charAt(0) === ':') {
- var param = route[i$1].replace(/(^\:|[+*?]+$)/g, ''),
- flags = (route[i$1].match(/[+*?]+$/) || EMPTY$1)[0] || '',
- plus = ~flags.indexOf('+'),
- star = ~flags.indexOf('*'),
- val = url[i$1] || '';
- if (!val && !star && (flags.indexOf('?') < 0 || plus)) {
- ret = false;
- break;
- }
- matches[param] = decodeURIComponent(val);
- if (plus || star) {
- matches[param] = url.slice(i$1).map(decodeURIComponent).join('/');
- break;
- }
- } else if (route[i$1] !== url[i$1]) {
- ret = false;
- break;
- }
- }
- if (opts.default !== true && ret === false) {
- return false;
- }
- return matches;
-}
-
-function pathRankSort(a, b) {
- return a.rank < b.rank ? 1 : a.rank > b.rank ? -1 : a.index - b.index;
-}
-
-// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.
-function prepareVNodeForRanking(vnode, index) {
- vnode.index = index;
- vnode.rank = rankChild(vnode);
- return vnode.attributes;
-}
-
-function segmentize(url) {
- return url.replace(/(^\/+|\/+$)/g, '').split('/');
-}
-
-function rankSegment(segment) {
- return segment.charAt(0) == ':' ? 1 + '*+?'.indexOf(segment.charAt(segment.length - 1)) || 4 : 5;
-}
-
-function rank(path) {
- return segmentize(path).map(rankSegment).join('');
-}
-
-function rankChild(vnode) {
- return vnode.attributes.default ? 0 : rank(vnode.attributes.path);
-}
-
-var customHistory = null;
-
-var ROUTERS = [];
-
-var subscribers = [];
-
-var EMPTY = {};
-
-function isPreactElement(node) {
- return node.__preactattr_ != null || typeof Symbol !== 'undefined' && node[Symbol.for('preactattr')] != null;
-}
-
-function setUrl(url, type) {
- if (type === void 0) type = 'push';
-
- if (customHistory && customHistory[type]) {
- customHistory[type](url);
- } else if (typeof history !== 'undefined' && history[type + 'State']) {
- history[type + 'State'](null, null, url);
- }
-}
-
-function getCurrentUrl() {
- var url;
- if (customHistory && customHistory.location) {
- url = customHistory.location;
- } else if (customHistory && customHistory.getCurrentLocation) {
- url = customHistory.getCurrentLocation();
- } else {
- url = typeof location !== 'undefined' ? location : EMPTY;
- }
- return "" + (url.pathname || '') + (url.search || '');
-}
-
-function route(url, replace) {
- if (replace === void 0) replace = false;
-
- if (typeof url !== 'string' && url.url) {
- replace = url.replace;
- url = url.url;
- }
-
- // only push URL into history if we can handle it
- if (canRoute(url)) {
- setUrl(url, replace ? 'replace' : 'push');
- }
-
- return routeTo(url);
-}
-
-/** Check if the given URL can be handled by any router instances. */
-function canRoute(url) {
- for (var i = ROUTERS.length; i--;) {
- if (ROUTERS[i].canRoute(url)) {
- return true;
- }
- }
- return false;
-}
-
-/** Tell all router instances to handle the given URL. */
-function routeTo(url) {
- var didRoute = false;
- for (var i = 0; i < ROUTERS.length; i++) {
- if (ROUTERS[i].routeTo(url) === true) {
- didRoute = true;
- }
- }
- for (var i$1 = subscribers.length; i$1--;) {
- subscribers[i$1](url);
- }
- return didRoute;
-}
-
-function routeFromLink(node) {
- // only valid elements
- if (!node || !node.getAttribute) {
- return;
- }
-
- var href = node.getAttribute('href'),
- target = node.getAttribute('target');
-
- // ignore links with targets and non-path URLs
- if (!href || !href.match(/^\//g) || target && !target.match(/^_?self$/i)) {
- return;
- }
-
- // attempt to route, if no match simply cede control to browser
- return route(href);
-}
-
-function handleLinkClick(e) {
- if (e.button == 0) {
- routeFromLink(e.currentTarget || e.target || this);
- return prevent(e);
- }
-}
-
-function prevent(e) {
- if (e) {
- if (e.stopImmediatePropagation) {
- e.stopImmediatePropagation();
- }
- if (e.stopPropagation) {
- e.stopPropagation();
- }
- e.preventDefault();
- }
- return false;
-}
-
-function delegateLinkHandler(e) {
- // ignore events the browser takes care of already:
- if (e.ctrlKey || e.metaKey || e.altKey || e.shiftKey || e.button !== 0) {
- return;
- }
-
- var t = e.target;
- do {
- if (String(t.nodeName).toUpperCase() === 'A' && t.getAttribute('href') && isPreactElement(t)) {
- if (t.hasAttribute('native')) {
- return;
- }
- // if link is handled by the router, prevent browser defaults
- if (routeFromLink(t)) {
- return prevent(e);
- }
- }
- } while (t = t.parentNode);
-}
-
-var eventListenersInitialized = false;
-
-function initEventListeners() {
- if (eventListenersInitialized) {
- return;
- }
-
- if (typeof addEventListener === 'function') {
- if (!customHistory) {
- addEventListener('popstate', function () {
- routeTo(getCurrentUrl());
- });
- }
- addEventListener('click', delegateLinkHandler);
- }
- eventListenersInitialized = true;
-}
-
-var preact_router_es_Router = function (Component$$1) {
- function Router(props) {
- Component$$1.call(this, props);
- if (props.history) {
- customHistory = props.history;
- }
-
- this.state = {
- url: props.url || getCurrentUrl()
- };
-
- initEventListeners();
- }
-
- if (Component$$1) Router.__proto__ = Component$$1;
- Router.prototype = Object.create(Component$$1 && Component$$1.prototype);
- Router.prototype.constructor = Router;
-
- Router.prototype.shouldComponentUpdate = function shouldComponentUpdate(props) {
- if (props.static !== true) {
- return true;
- }
- return props.url !== this.props.url || props.onChange !== this.props.onChange;
- };
-
- /** Check if the given URL can be matched against any children */
- Router.prototype.canRoute = function canRoute(url) {
- return this.getMatchingChildren(this.props.children, url, false).length > 0;
- };
-
- /** Re-render children with a new URL to match against. */
- Router.prototype.routeTo = function routeTo(url) {
- this._didRoute = false;
- this.setState({ url: url });
-
- // if we're in the middle of an update, don't synchronously re-route.
- if (this.updating) {
- return this.canRoute(url);
- }
-
- this.forceUpdate();
- return this._didRoute;
- };
-
- Router.prototype.componentWillMount = function componentWillMount() {
- ROUTERS.push(this);
- this.updating = true;
- };
-
- Router.prototype.componentDidMount = function componentDidMount() {
- var this$1 = this;
-
- if (customHistory) {
- this.unlisten = customHistory.listen(function (location) {
- this$1.routeTo("" + (location.pathname || '') + (location.search || ''));
- });
- }
- this.updating = false;
- };
-
- Router.prototype.componentWillUnmount = function componentWillUnmount() {
- if (typeof this.unlisten === 'function') {
- this.unlisten();
- }
- ROUTERS.splice(ROUTERS.indexOf(this), 1);
- };
-
- Router.prototype.componentWillUpdate = function componentWillUpdate() {
- this.updating = true;
- };
-
- Router.prototype.componentDidUpdate = function componentDidUpdate() {
- this.updating = false;
- };
-
- Router.prototype.getMatchingChildren = function getMatchingChildren(children, url, invoke) {
- return children.filter(prepareVNodeForRanking).sort(pathRankSort).map(function (vnode) {
- var matches = exec(url, vnode.attributes.path, vnode.attributes);
- if (matches) {
- if (invoke !== false) {
- var newProps = { url: url, matches: matches };
- preact_router_es_assign(newProps, matches);
- delete newProps.ref;
- delete newProps.key;
- return Object(preact_min["cloneElement"])(vnode, newProps);
- }
- return vnode;
- }
- }).filter(Boolean);
- };
-
- Router.prototype.render = function render(ref, ref$1) {
- var children = ref.children;
- var onChange = ref.onChange;
- var url = ref$1.url;
-
- var active = this.getMatchingChildren(children, url, true);
-
- var current = active[0] || null;
- this._didRoute = !!current;
-
- var previous = this.previousUrl;
- if (url !== previous) {
- this.previousUrl = url;
- if (typeof onChange === 'function') {
- onChange({
- router: this,
- url: url,
- previous: previous,
- active: active,
- current: current
- });
- }
- }
-
- return current;
- };
-
- return Router;
-}(preact_min["Component"]);
-
-var preact_router_es_Link = function Link(props) {
- return Object(preact_min["h"])('a', preact_router_es_assign({ onClick: handleLinkClick }, props));
-};
-
-var preact_router_es_Route = function Route(props) {
- return Object(preact_min["h"])(props.component, props);
-};
-
-preact_router_es_Router.subscribers = subscribers;
-preact_router_es_Router.getCurrentUrl = getCurrentUrl;
-preact_router_es_Router.route = route;
-preact_router_es_Router.Router = preact_router_es_Router;
-preact_router_es_Router.Route = preact_router_es_Route;
-preact_router_es_Router.Link = preact_router_es_Link;
-
-/* harmony default export */ var preact_router_es = (preact_router_es_Router);
-//# sourceMappingURL=preact-router.es.js.map
-// EXTERNAL MODULE: ./pages/home.css
-var home = __webpack_require__("36Ou");
-var home_default = /*#__PURE__*/__webpack_require__.n(home);
-
-// EXTERNAL MODULE: ./components/panel.css
-var panel = __webpack_require__("P9k+");
-var panel_default = /*#__PURE__*/__webpack_require__.n(panel);
-
-// CONCATENATED MODULE: ./components/panel.js
-
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var panel_Panel = function (_Component) {
- _inherits(Panel, _Component);
-
- function Panel() {
- _classCallCheck(this, Panel);
-
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Panel.prototype.render = function render() {
- return Object(preact_min["h"])(
- "div",
- { "class": panel_default.a.panel },
- this.props.children
- );
- };
-
- return Panel;
-}(preact_min["Component"]);
-
-
-// EXTERNAL MODULE: ./components/split.css
-var split = __webpack_require__("1EpE");
-var split_default = /*#__PURE__*/__webpack_require__.n(split);
-
-// CONCATENATED MODULE: ./components/split.js
-
-
-function split__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function split__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function split__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var split_Split = function (_Component) {
- split__inherits(Split, _Component);
-
- function Split() {
- split__classCallCheck(this, Split);
-
- return split__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Split.prototype.render = function render() {
- var percent = 100 / this.props.children.count;
- var children = null;
- if (Array.isArray(this.props.children)) {
- children = this.props.children.map(function (element) {
- return Object(preact_min["h"])(
- "div",
- { "class": split_default.a.splitchild },
- element
- );
- });
- } else {
- children = Object(preact_min["h"])(
- "div",
- { "class": split_default.a.splitchild },
- this.props.children
- );
- }
- return Object(preact_min["h"])(
- "div",
- { "class": split_default.a.split },
- children
- );
- };
-
- return Split;
-}(preact_min["Component"]);
-
-
-// EXTERNAL MODULE: ./components/todo.css
-var todo = __webpack_require__("tO1d");
-var todo_default = /*#__PURE__*/__webpack_require__.n(todo);
-
-// CONCATENATED MODULE: ./components/todo.js
-
-
-function todo__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function todo__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function todo__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var todo_Todo = function (_Component) {
- todo__inherits(Todo, _Component);
-
- function Todo() {
- todo__classCallCheck(this, Todo);
-
- return todo__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Todo.prototype.render = function render() {
- return Object(preact_min["h"])(
- "span",
- { "class": todo_default.a.todo },
- this.props.children
- );
- };
-
- return Todo;
-}(preact_min["Component"]);
-
-
-// CONCATENATED MODULE: ./pages/home.js
-
-
-function home__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function home__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function home__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-
-
-
-var _ref = Object(preact_min["h"])(
- 'div',
- null,
- Object(preact_min["h"])(
- 'h1',
- null,
- 'Appuntiweb ',
- Object(preact_min["h"])(
- 'small',
- null,
- 'di ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://steffo.eu/' },
- 'Steffo'
- )
- )
- ),
- Object(preact_min["h"])(
- 'h2',
- null,
- 'Argomenti'
- ),
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: '/fisica' },
- 'Fisica'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Appunti delle ',
- Object(preact_min["h"])(
- 'a',
- { href: 'http://personale.unimore.it/rubrica/contenutiad/brunetti/2019/58025/N0/N0/9999' },
- 'lezioni di Fisica'
- ),
- ' del ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },
- 'corso triennale di Informatica'
- ),
- ' all\'',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/' },
- 'Unimore'
- ),
- ', tenute dalla ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://personale.unimore.it/rubrica/dettaglio/brunetti' },
- 'Prof.ssa Rossella Brunetti'
- ),
- ' nel primo semestre dell\'Anno Accademico 2019/2020.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2019_SistemiOperativi/Arzigogoli' },
- 'Sistemi Operativi'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Soluzioni agli ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://weblab.ing.unimore.it/people/andreolini/didattica/sistemi-operativi/index.html#arzigogoli' },
- 'Arzigogoli'
- ),
- ' proposti dal ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://personale.unimore.it/rubrica/dettaglio/andreolini' },
- 'Prof. Mauro Andreolini'
- ),
- ' durante le ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://personale.unimore.it/rubrica/contenutiad/andreolini/2019/58027/N0/N0/9999' },
- 'lezioni di Sistemi Operativi'
- ),
- ' del ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },
- 'corso triennale di Informatica'
- ),
- ' all\'',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/' },
- 'Unimore'
- ),
- ' tenutesi nel primo semestre dell\'Anno Accademico 2019/2020.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2018_AlgoritmiEStruttureDati' },
- 'Algoritmi e Strutture Dati'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Appunti delle ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://personale.unimore.it/rubrica/contenutiad/mmontangero/2018/58133/N0/N0/9999' },
- 'lezioni di Algoritmi e Strutture Dati'
- ),
- ' del ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },
- 'corso triennale di Informatica'
- ),
- ' all\'',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/' },
- 'Unimore'
- ),
- ', tenute dalla ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://personale.unimore.it/rubrica/dettaglio/mmontangero' },
- 'Prof.ssa Manuela Montangero'
- ),
- ' nel secondo semestre dell\'Anno Accademico 2018/2019.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: '/vldigeometria' },
- 'Videolezioni di Geometria'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Ottime videolezioni di Geometria con licenza ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://creativecommons.org/licenses/by-nc-sa/4.0/' },
- 'CC BY-NC-SA 4.0'
- ),
- ' che ho trovato sul ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0' },
- 'portale Dolly 2018'
- ),
- ' dell\'',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/' },
- 'Unimore'
- ),
- '.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: '/mingwinstall' },
- 'Come installare MinGW'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Un breve tutorial con immagini su come installare e configurare ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://it.wikipedia.org/wiki/MinGW' },
- 'MinGW'
- ),
- ' per compilare programmi C e C++ su Windows.'
- )
- )
- ),
- Object(preact_min["h"])(
- 'h2',
- null,
- 'Altre collegamenti utili'
- ),
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: 'https://t.me/unimoreinfo' },
- '@unimoreinfo'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Il gruppo ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://telegram.org/' },
- 'Telegram'
- ),
- ' del corso di Informatica dell\'Unimore!'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: 'https://calendar.google.com/calendar?cid=MmYza2o2M3VuZWQ1cmZqaGpmOGY0MWFrNmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ' },
- 'Calendario Lezioni'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Calendario Google ',
- Object(preact_min["h"])(
- 'small',
- null,
- 'quasi'
- ),
- ' sempre aggiornato delle lezioni e degli esami del secondo anno dell\'',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://www.unimore.it/' },
- 'Unimore'
- ),
- ' durante l\'Anno Accademico 2019/2020.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: 'http://erre2.fermitech.info/dashboard' },
- 'Erre2'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Portale contenente appunti e riassunti mantenuto da ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://github.com/LBindustries' },
- 'Lorenzo Balugani'
- ),
- '.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h2',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: 'https://github.com/vezzalinistefano/Appunti-Algoritmi' },
- 'vezzalinistefano/Appunti-Algoritmi'
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Appunti di Algoritmi e Strutture Dati mantenuti da ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://github.com/vezzalinistefano/' },
- 'Vezzalini Stefano'
- ),
- '.'
- )
- )
- )
-);
-
-var Home = function (_Component) {
- home__inherits(Home, _Component);
-
- function Home() {
- home__classCallCheck(this, Home);
-
- return home__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Home.prototype.render = function render() {
- return _ref;
- };
-
- return Home;
-}(preact_min["Component"]);
-
-
-// EXTERNAL MODULE: ./pages/fisica.css
-var fisica = __webpack_require__("0lnO");
-var fisica_default = /*#__PURE__*/__webpack_require__.n(fisica);
-
-// EXTERNAL MODULE: ./components/latex.css
-var latex = __webpack_require__("+uq9");
-var latex_default = /*#__PURE__*/__webpack_require__.n(latex);
-
-// CONCATENATED MODULE: ./components/latex.js
-
-
-function latex__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function latex__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function latex__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var latex_Latex = function (_Component) {
- latex__inherits(Latex, _Component);
-
- function Latex() {
- latex__classCallCheck(this, Latex);
-
- return latex__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Latex.prototype.render = function render() {
- var equation = "{\\color{White} " + this.props.children + " }";
- return Object(preact_min["h"])("img", { src: "https://latex.codecogs.com/png.latex?" + equation,
- alt: this.props.children,
- title: this.props.children,
- "class": latex_default.a.latex });
- };
-
- return Latex;
-}(preact_min["Component"]);
-
-
-// EXTERNAL MODULE: ./components/plus.css
-var plus = __webpack_require__("ddTt");
-var plus_default = /*#__PURE__*/__webpack_require__.n(plus);
-
-// CONCATENATED MODULE: ./components/plus.js
-
-
-function plus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function plus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function plus__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var plus_Plus = function (_Component) {
- plus__inherits(Plus, _Component);
-
- function Plus() {
- plus__classCallCheck(this, Plus);
-
- return plus__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Plus.prototype.render = function render() {
- return Object(preact_min["h"])(
- "span",
- { "class": plus_default.a.plus },
- this.props.children
- );
- };
-
- return Plus;
-}(preact_min["Component"]);
-
-
-// EXTERNAL MODULE: ./components/minus.css
-var minus = __webpack_require__("MeW5");
-var minus_default = /*#__PURE__*/__webpack_require__.n(minus);
-
-// CONCATENATED MODULE: ./components/minus.js
-
-
-function minus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function minus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function minus__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var minus_Minus = function (_Component) {
- minus__inherits(Minus, _Component);
-
- function Minus() {
- minus__classCallCheck(this, Minus);
-
- return minus__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Minus.prototype.render = function render() {
- return Object(preact_min["h"])(
- "span",
- { "class": minus_default.a.minus },
- this.props.children
- );
- };
-
- return Minus;
-}(preact_min["Component"]);
-
-
-// CONCATENATED MODULE: ./pages/fisica.js
-var _templateObject = _taggedTemplateLiteralLoose(['\x0Bec{v} = \x0Bec{v}_x + \x0Bec{v}_y'], ['\\vec{v} = \\vec{v}_x + \\vec{v}_y']),
- _templateObject2 = _taggedTemplateLiteralLoose(['left | \x0Bec{v}_x \right | = left | \x0Bec{v} \right | sin alpha'], ['\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha']),
- _templateObject3 = _taggedTemplateLiteralLoose(['left | \x0Bec{v}_y \right | = left | \x0Bec{v} \right | cos alpha'], ['\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha']),
- _templateObject4 = _taggedTemplateLiteralLoose(['\x0Bec{v} + \x0Bec{w} = (\x0Bec{v}_x + \x0Bec{w}_x) + (\x0Bec{v}_y + \x0Bec{w}_y)'], ['\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)']),
- _templateObject5 = _taggedTemplateLiteralLoose(['\x0Bec{v} - \x0Bec{w} = (\x0Bec{v}_x - \x0Bec{w}_x) + (\x0Bec{v}_y - \x0Bec{w}_y)'], ['\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)']),
- _templateObject6 = _taggedTemplateLiteralLoose(['\x0Bec{v} cdot \x0Bec{w} = left | \x0Bec{v} \right | left | \x0Bec{w} \right | cos alpha'], ['\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha']),
- _templateObject7 = _taggedTemplateLiteralLoose(['\x0Bec{a}'], ['\\vec{a}']),
- _templateObject8 = _taggedTemplateLiteralLoose(['\x0Bec{b}'], ['\\vec{b}']),
- _templateObject9 = _taggedTemplateLiteralLoose(['\x0Bec{c} = \x0Bec{a} \times \x0Bec{b}'], ['\\vec{c} = \\vec{a} \\times \\vec{b}']),
- _templateObject10 = _taggedTemplateLiteralLoose(['left | \x0Bec{c} \right | = left | \x0Bec{a} \right | cdot left | \x0Bec{b} \right | cdot sin(alpha)'], ['\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)']),
- _templateObject11 = _taggedTemplateLiteralLoose(['Sigma \x0Bec{F} = 0 Longleftrightarrow Delta v = 0'], ['\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0']),
- _templateObject12 = _taggedTemplateLiteralLoose(['Sigma \x0Bec{F} = m \x0Bec{a}'], ['\\Sigma \\vec{F} = m \\vec{a}']),
- _templateObject13 = _taggedTemplateLiteralLoose(['\x0Bec{F}_{21} = -\x0Bec{F}_{12}'], ['\\vec{F}_{21} = -\\vec{F}_{12}']),
- _templateObject14 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | = G \frac{m_1 m_2}{s^2}'], ['\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}']),
- _templateObject15 = _taggedTemplateLiteralLoose(['G = 6.67 cdot 10^{-11} \frac{N m^2}{{kg}^2}'], ['G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}']),
- _templateObject16 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | = g m'], ['\\left | \\vec{F} \\right | = g m']),
- _templateObject17 = _taggedTemplateLiteralLoose(['g = 9.81 \frac{m}{s^2}'], ['g = 9.81 \\frac{m}{s^2}']),
- _templateObject18 = _taggedTemplateLiteralLoose(['g_{luna} = 1.62 \frac{m}{s^2}'], ['g_{luna} = 1.62 \\frac{m}{s^2}']),
- _templateObject19 = _taggedTemplateLiteralLoose(['g_{marte} = 3.71 \frac{m}{s^2}'], ['g_{marte} = 3.71 \\frac{m}{s^2}']),
- _templateObject20 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | leq mu_{s} left | \x0Bec{F}_{normale} \right |'], ['\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |']),
- _templateObject21 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | leq mu_{d} left | \x0Bec{F}_{normale} \right |'], ['\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |']),
- _templateObject22 = _taggedTemplateLiteralLoose(['F = -k x'], ['F = -k x']),
- _templateObject23 = _taggedTemplateLiteralLoose(['Delta \x0Bec{s} = \x0Bec{s}(fine) - \x0Bec{s}(inizio)'], ['\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)']),
- _templateObject24 = _taggedTemplateLiteralLoose(['\x0Bec{v} = \frac{Delta \x0Bec{s}}{Delta t}'], ['\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}']),
- _templateObject25 = _taggedTemplateLiteralLoose(['\x0Bec{v} = lim_{Delta t \to 0} \frac{Delta \x0Bec{s}}{Delta t} = \frac{d \x0Bec{s}}{dt}'], ['\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}']),
- _templateObject26 = _taggedTemplateLiteralLoose(['\x0Bec{a} = \frac{Delta \x0Bec{v}}{Delta t}'], ['\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}']),
- _templateObject27 = _taggedTemplateLiteralLoose(['\x0Bec{a} = lim_{Delta v \to 0} \frac{Delta \x0Bec{v}}{Delta t} = \frac{d \x0Bec{v}}{d t} = \frac{d^2 \x0Bec{s}}{d t^2}'], ['\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}']),
- _templateObject28 = _taggedTemplateLiteralLoose(['\x0Bec{p} = m \x0Bec{v}'], ['\\vec{p} = m \\vec{v}']),
- _templateObject29 = _taggedTemplateLiteralLoose(['Sigma \x0Bec{F} = 0 Longleftrightarrow Delta \x0Bec{p} = 0'], ['\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0']),
- _templateObject30 = _taggedTemplateLiteralLoose(['s(t) = v cdot Delta t + s(0)'], ['s(t) = v \\cdot \\Delta t + s(0)']),
- _templateObject31 = _taggedTemplateLiteralLoose(['v(t) = k'], ['v(t) = k']),
- _templateObject32 = _taggedTemplateLiteralLoose(['a(t) = 0'], ['a(t) = 0']),
- _templateObject33 = _taggedTemplateLiteralLoose(['s(t) = \frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)'], ['s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)']),
- _templateObject34 = _taggedTemplateLiteralLoose(['v(t) = a Delta t + v(0)'], ['v(t) = a \\Delta t + v(0)']),
- _templateObject35 = _taggedTemplateLiteralLoose(['a(t) = k'], ['a(t) = k']),
- _templateObject36 = _taggedTemplateLiteralLoose(['omega = \frac{2 pi}{T}'], ['\\omega = \\frac{2 \\pi}{T}']),
- _templateObject37 = _taggedTemplateLiteralLoose(['s(t) = A sin (omega cdot t + phi)'], ['s(t) = A \\sin (\\omega \\cdot t + \\phi)']),
- _templateObject38 = _taggedTemplateLiteralLoose(['\frac{pi}{2}'], ['\\frac{\\pi}{2}']),
- _templateObject39 = _taggedTemplateLiteralLoose(['v(t) = A sin (omega cdot t + phi + \frac{pi}{2})'], ['v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})']),
- _templateObject40 = _taggedTemplateLiteralLoose(['pi'], ['\\pi']),
- _templateObject41 = _taggedTemplateLiteralLoose(['a(t) = A sin (omega cdot t + phi + pi)'], ['a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)']),
- _templateObject42 = _taggedTemplateLiteralLoose(['phi'], ['\\phi']),
- _templateObject43 = _taggedTemplateLiteralLoose(['v = \frac{Delta s}{t} = \frac{2 pi cdot r}{T} = omega r'], ['v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r']),
- _templateObject44 = _taggedTemplateLiteralLoose(['a = \frac{v^2}{r} = r cdot omega^2 = v cdot omega'], ['a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega']),
- _templateObject45 = _taggedTemplateLiteralLoose(['F = m cdot a'], ['F = m \\cdot a']),
- _templateObject46 = _taggedTemplateLiteralLoose(['W = \x0Bec{F} cdot \x0Bec{s} = F cdot Delta s cdot cos(alpha )'], ['W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )']),
- _templateObject47 = _taggedTemplateLiteralLoose(['E_c = \frac{1}{2} m v^2'], ['E_c = \\frac{1}{2} m v^2']),
- _templateObject48 = _taggedTemplateLiteralLoose(['Delta E_c = W'], ['\\Delta E_c = W']),
- _templateObject49 = _taggedTemplateLiteralLoose(['E_{p_g} = m cdot g cdot h'], ['E_{p_g} = m \\cdot g \\cdot h']),
- _templateObject50 = _taggedTemplateLiteralLoose(['E_{p_e} = \frac{1}{2} k x^2'], ['E_{p_e} = \\frac{1}{2} k x^2']),
- _templateObject51 = _taggedTemplateLiteralLoose(['E = E_k + E_p'], ['E = E_k + E_p']),
- _templateObject52 = _taggedTemplateLiteralLoose(['P = \frac{Delta E}{Delta t}'], ['P = \\frac{\\Delta E}{\\Delta t}']),
- _templateObject53 = _taggedTemplateLiteralLoose(['C_{elettrone} = 1.602 cdot 10^{-19}'], ['C_{elettrone} = 1.602 \\cdot 10^{-19}']),
- _templateObject54 = _taggedTemplateLiteralLoose(['left | \x0Bec{F}_{elettrica} \right | = \frac{-k cdot q_1 cdot q_2}{s^2}'], ['\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}']),
- _templateObject55 = _taggedTemplateLiteralLoose(['k'], ['k']),
- _templateObject56 = _taggedTemplateLiteralLoose(['k = 8.99 cdot 10^9 \frac{N cdot m^2}{C^2}'], ['k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}']),
- _templateObject57 = _taggedTemplateLiteralLoose(['epsilon_0'], ['\\epsilon_0']),
- _templateObject58 = _taggedTemplateLiteralLoose(['k = \frac{1}{4 pi cdot epsilon_0}'], ['k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}']),
- _templateObject59 = _taggedTemplateLiteralLoose(['left | \x0Bec{F}_{elettrica} \right | = \frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}'], ['\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}']),
- _templateObject60 = _taggedTemplateLiteralLoose(['\x0Bec{E} = \frac{\x0Bec{F}_{elettrica}}{q} = \frac{-k cdot q}{s^2}'], ['\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}']),
- _templateObject61 = _taggedTemplateLiteralLoose(['Phi_E = \x0Bec{E} cdot \x0Bec{S} = E cdot S cdot cos(phi)'], ['\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)']),
- _templateObject62 = _taggedTemplateLiteralLoose(['\x0Bec{S}'], ['\\vec{S}']),
- _templateObject63 = _taggedTemplateLiteralLoose(['Phi_E = \frac{q_{interna}}{epsilon_0}'], ['\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}']),
- _templateObject64 = _taggedTemplateLiteralLoose(['U_e'], ['U_e']),
- _templateObject65 = _taggedTemplateLiteralLoose(['V = \frac{E_{elettrica}}{q}'], ['V = \\frac{E_{elettrica}}{q}']),
- _templateObject66 = _taggedTemplateLiteralLoose(['V'], ['V']),
- _templateObject67 = _taggedTemplateLiteralLoose(['I = \frac{Delta q}{Delta t}'], ['I = \\frac{\\Delta q}{\\Delta t}']),
- _templateObject68 = _taggedTemplateLiteralLoose(['A'], ['A']),
- _templateObject69 = _taggedTemplateLiteralLoose(['P = \frac{Delta U}{Delta t} = I cdot Delta V = I^2 cdot R = \frac{(Delta V)^2}{R}'], ['P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}']),
- _templateObject70 = _taggedTemplateLiteralLoose(['V = R cdot I'], ['V = R \\cdot I']),
- _templateObject71 = _taggedTemplateLiteralLoose(['R'], ['R']),
- _templateObject72 = _taggedTemplateLiteralLoose(['Omega'], ['\\Omega']),
- _templateObject73 = _taggedTemplateLiteralLoose(['R = \rho \frac{L_{unghezza}}{A_{rea}}'], ['R = \\rho \\frac{L_{unghezza}}{A_{rea}}']),
- _templateObject74 = _taggedTemplateLiteralLoose(['\rho'], ['\\rho']),
- _templateObject75 = _taggedTemplateLiteralLoose(['\rho = \rho_0 (1 + alpha(T - T_0))'], ['\\rho = \\rho_0 (1 + \\alpha(T - T_0))']),
- _templateObject76 = _taggedTemplateLiteralLoose(['C = \frac{q_{massima}}{Delta V}'], ['C = \\frac{q_{massima}}{\\Delta V}']),
- _templateObject77 = _taggedTemplateLiteralLoose(['C_{nuova} = kappa cdot \frac{epsilon_0 cdot A}{s}'], ['C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}']),
- _templateObject78 = _taggedTemplateLiteralLoose(['kappa'], ['\\kappa']),
- _templateObject79 = _taggedTemplateLiteralLoose(['d'], ['d']),
- _templateObject80 = _taggedTemplateLiteralLoose(['Fa'], ['Fa']),
- _templateObject81 = _taggedTemplateLiteralLoose(['R_{serie} = sum_{i=1}^{n} R_i'], ['R_{serie} = \\sum_{i=1}^{n} R_i']),
- _templateObject82 = _taggedTemplateLiteralLoose(['R_{parallelo} = \frac{1}{sum_{i=1}^{n} \frac{1}{R_i}}'], ['R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}']),
- _templateObject83 = _taggedTemplateLiteralLoose(['C_{serie} = \frac{1}{sum_{i=1}^{n} \frac{1}{C_i}}'], ['C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}']),
- _templateObject84 = _taggedTemplateLiteralLoose(['C_{parallelo} = sum_{i=1}^{n} C_n'], ['C_{parallelo} = \\sum_{i=1}^{n} C_n']),
- _templateObject85 = _taggedTemplateLiteralLoose(['mu_0 = 4 pi cdot 10^{-7} \frac{H}{m}'], ['\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}']),
- _templateObject86 = _taggedTemplateLiteralLoose(['\frac{N}{A^2}'], ['\\frac{N}{A^2}']),
- _templateObject87 = _taggedTemplateLiteralLoose(['B'], ['B']),
- _templateObject88 = _taggedTemplateLiteralLoose(['Phi_B'], ['\\Phi_B']),
- _templateObject89 = _taggedTemplateLiteralLoose(['Wb = T cdot m^2'], ['Wb = T \\cdot m^2']),
- _templateObject90 = _taggedTemplateLiteralLoose(['\x0Bec{F}_{magnetica} = q cdot (\x0Bec{v} \times \x0Bec{B})'], ['\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})']),
- _templateObject91 = _taggedTemplateLiteralLoose(['\x0Bec{B}'], ['\\vec{B}']),
- _templateObject92 = _taggedTemplateLiteralLoose(['\x0Bec{v}'], ['\\vec{v}']),
- _templateObject93 = _taggedTemplateLiteralLoose(['\x0Bec{F}_{magnetica} = I cdot (\x0Bec{L} \times \x0Bec{B})'], ['\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})']),
- _templateObject94 = _taggedTemplateLiteralLoose(['\x0Bec{L}'], ['\\vec{L}']),
- _templateObject95 = _taggedTemplateLiteralLoose(['left | \x0Bec{B} \right | = mu_0 cdot I cdot \frac{A_{vvolgimenti}}{L_{unghezzafilo}}'], ['\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}']),
- _templateObject96 = _taggedTemplateLiteralLoose(['left | \x0Bec{B} \right | = \frac{mu cdot I}{2 pi r}'], ['\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}']),
- _templateObject97 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = v cdot B cdot L'], ['\\Delta V_{indotta} = v \\cdot B \\cdot L']),
- _templateObject98 = _taggedTemplateLiteralLoose(['Phi_B = \x0Bec{B} cdot \x0Bec{A} = B cdot A cdot cos(alpha)'], ['\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)']);
-
-
-
-function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }
-
-function fisica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function fisica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function fisica__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-
-
-
-
-
-
-var r = String.raw;
-
-var fisica__ref = Object(preact_min["h"])(
- 'h1',
- null,
- 'Fisica'
-);
-
-var _ref2 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Vettori'
-);
-
-var _ref3 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Componenti cartesiane'
-);
-
-var _ref4 = Object(preact_min["h"])(
- 'p',
- null,
- 'Usa le regole base della trigonometria:'
-);
-
-var _ref5 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Somma'
-);
-
-var _ref6 = Object(preact_min["h"])(
- 'p',
- null,
- 'Scomponi in componenti, poi sommali:'
-);
-
-var _ref7 = Object(preact_min["h"])(
- 'p',
- null,
- 'Produce il vettore risultante dall\'applicazione della regola del parallelogramma.'
-);
-
-var _ref8 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Differenza'
-);
-
-var _ref9 = Object(preact_min["h"])(
- 'p',
- null,
- 'Alla fine \xE8 sempre una somma:'
-);
-
-var _ref10 = Object(preact_min["h"])(
- 'p',
- null,
- 'Produce il vettore che parte da ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'w'
- ),
- ' e arriva a ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'v'
- ),
- '.'
-);
-
-var _ref11 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Prodotto scalare'
-);
-
-var _ref12 = Object(preact_min["h"])(
- 'p',
- null,
- 'Si chiama scalare perch\xE8 il risultato \xE8 uno scalare, non un vettore.'
-);
-
-var _ref13 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Prodotto vettoriale'
-);
-
-var _ref14 = Object(preact_min["h"])(
- 'p',
- null,
- 'Si chiama vettoriale perch\xE8 il risultato \xE8 un altro vettore.'
-);
-
-var _ref15 = Object(preact_min["h"])(
- 'li',
- null,
- Object(preact_min["h"])(
- 'a',
- { href: 'https://it.wikipedia.org/wiki/Regola_della_mano_destra' },
- 'Regola della mano destra'
- )
-);
-
-var _ref16 = Object(preact_min["h"])(
- 'p',
- null,
- 'Non \xE8 commutativo!'
-);
-
-var _ref17 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Leggi di Newton'
-);
-
-var _ref18 = Object(preact_min["h"])(
- 'h3',
- null,
- '1\u1D43: Inerzia'
-);
-
-var _ref19 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se un corpo puntiforme ha forza risultante nulla, allora la sua velocit\xE0 non cambia.'
-);
-
-var _ref20 = Object(preact_min["h"])(
- 'h3',
- null,
- '2\u1D43: Proporzionalit\xE0'
-);
-
-var _ref21 = Object(preact_min["h"])(
- 'p',
- null,
- 'La forza risultante di un corpo \xE8 direttamente proporzionale alla sua accelerazione, e la costante di proporzionalit\xE0 \xE8 la ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'massa'
- ),
- '.'
-);
-
-var _ref22 = Object(preact_min["h"])(
- 'h3',
- null,
- '3\u1D43: Azione e reazione'
-);
-
-var _ref23 = Object(preact_min["h"])(
- 'p',
- null,
- 'Due corpi esercitano forze uguali e opposte uno sull\'altro.'
-);
-
-var _ref24 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Forza di gravit\xE0'
-);
-
-var _ref25 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Tra due corpi'
-);
-
-var _ref26 = Object(preact_min["h"])(
- 'p',
- null,
- 'Due corpi puntiformi si attirano uno verso l\'altro con forza:'
-);
-
-var _ref27 = Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'G'
- ),
- ' \xE8 la ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'costante di gravitazione universale'
- ),
- ' e vale:'
-);
-
-var _ref28 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Verso la Terra'
-);
-
-var _ref29 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo \xE8 attratto verso la Terra con forza ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'peso'
- ),
- ' uguale a:'
-);
-
-var _ref30 = Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'g'
- ),
- ' \xE8 la ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'costante di gravit\xE0'
- ),
- ' della Terra, e vale:'
-);
-
-var _ref31 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Su pianeti diversi'
-);
-
-var _ref32 = Object(preact_min["h"])(
- 'p',
- null,
- 'Per pianeti diversi dalla Terra vale la stessa regola:'
-);
-
-var _ref33 = Object(preact_min["h"])(
- 'p',
- null,
- 'L\'unica differenza \xE8 che cambia la ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'costante di gravit\xE0'
- ),
- ':'
-);
-
-var _ref34 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Forze di contatto'
-);
-
-var _ref35 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Normale'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Si oppone alle forze applicate alla superficie di contatto.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Un libro appoggiato su un tavolo ha la ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'forza di gravit\xE0'
- ),
- ' che lo attira verso il terreno e la ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'forza normale'
- ),
- ' che lo trattiene dal cadere.'
- )
-);
-
-var _ref36 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Attrito statico'
-);
-
-var _ref37 = Object(preact_min["h"])(
- 'p',
- null,
- 'Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:'
-);
-
-var _ref38 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Attrito dinamico'
-);
-
-var _ref39 = Object(preact_min["h"])(
- 'p',
- null,
- 'Rallenta i corpi che si stanno muovendo finch\xE8 essi non si fermano:'
-);
-
-var _ref40 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Tensione'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'E\' forza trasmessa tra due estremi di una fune.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Pu\xF2 essere redirezionata per mezzo di carrucole.'
- )
-);
-
-var _ref41 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Elastica'
-);
-
-var _ref42 = Object(preact_min["h"])(
- 'p',
- null,
- 'Una molla cerca sempre di tornare alla sua posizione indeformata con forza:'
-);
-
-var _ref43 = Object(preact_min["h"])(
- 'p',
- null,
- '(E\' negativa perch\xE8 la forza \xE8 opposta a quella applicata per deformarla.)'
-);
-
-var _ref44 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Cinematica'
-);
-
-var _ref45 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Spostamento'
-);
-
-var _ref46 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 un vettore che indica la posizione di un corpo rispetto a un\'origine.'
-);
-
-var _ref47 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Velocit\xE0'
-);
-
-var _ref48 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 un vettore che misura la variazione di posizione nel tempo.'
-);
-
-var _ref49 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se si considera un intervallo di tempo infinitesimale si dice ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'velocit\xE0 istantanea'
- ),
- ':'
-);
-
-var _ref50 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Accelerazione'
-);
-
-var _ref51 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 un vettore che misura la variazione di velocit\xE0 nel tempo.'
-);
-
-var _ref52 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se si considera un intervallo di tempo infinitesimale si dice ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'accelerazione istantanea'
- ),
- ':'
-);
-
-var _ref53 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Quantit\xE0 di moto ',
- Object(preact_min["h"])(
- 'small',
- null,
- '(momento lineare)'
- )
-);
-
-var _ref54 = Object(preact_min["h"])(
- 'p',
- null,
- 'La quantit\xE0 di moto \xE8 una propriet\xE0 vettoriale dei corpi:'
-);
-
-var _ref55 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se la forza risultante \xE8 nulla, la quantit\xE0 di moto non cambia.'
-);
-
-var _ref56 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Moto rettilineo uniforme'
-);
-
-var _ref57 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Spostamento'
-);
-
-var _ref58 = Object(preact_min["h"])(
- 'p',
- null,
- 'La ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'legge oraria'
- ),
- ' \xE8:'
-);
-
-var _ref59 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Velocit\xE0'
-);
-
-var _ref60 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 costante:'
-);
-
-var _ref61 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Accelerazione'
-);
-
-var _ref62 = Object(preact_min["h"])(
- 'p',
- null,
- 'La velocit\xE0 non varia:'
-);
-
-var _ref63 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Forze'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Si applica la prima legge di Newton:'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'f(t) = 0'
- )
- )
-);
-
-var _ref64 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Moto rettilineo uniformemente accelerato'
-);
-
-var _ref65 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Spostamento'
-);
-
-var _ref66 = Object(preact_min["h"])(
- 'p',
- null,
- 'La ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'legge oraria'
- ),
- ' \xE8:'
-);
-
-var _ref67 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Velocit\xE0'
-);
-
-var _ref68 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 una retta:'
-);
-
-var _ref69 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Accelerazione'
-);
-
-var _ref70 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 costante:'
-);
-
-var _ref71 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Forze'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Si applica la prima legge di Newton:'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'f(t) = m a'
- )
- )
-);
-
-var _ref72 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Moto armonico semplice'
-);
-
-var _ref73 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Ampiezza'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'E\' la distanza dal centro massima che raggiunge il corpo.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- '(L\'ampiezza di una sinusoide.)'
- )
-);
-
-var _ref74 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Velocit\xE0 angolare'
-);
-
-var _ref75 = Object(preact_min["h"])(
- 'p',
- null,
- 'Indica quanto in fretta cambia la posizione del corpo.'
-);
-
-var _ref76 = Object(preact_min["h"])(
- 'p',
- null,
- 'Dipende dal periodo:'
-);
-
-var _ref77 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Spostamento'
-);
-
-var _ref78 = Object(preact_min["h"])(
- 'p',
- null,
- 'E\' una sinusoide:'
-);
-
-var _ref79 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Velocit\xE0'
-);
-
-var _ref80 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Accelerazione'
-);
-
-var _ref81 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Forze'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Si applica la prima legge di Newton:'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'f(t) = m a'
- )
- )
-);
-
-var _ref82 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Moti composti'
-);
-
-var _ref83 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Moto parabolico'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Il moto parabolico \xE8 dato sommando un moto rettilineo uniforme sull\'asse orizzontale e un moto rettilineo uniformemente accelerato sull\'asse verticale.'
- )
-);
-
-var _ref84 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Moto circolare uniforme'
-);
-
-var _ref85 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Moto circolare uniforme'
-);
-
-var _ref86 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Velocit\xE0 angolare'
-);
-
-var _ref87 = Object(preact_min["h"])(
- 'p',
- null,
- 'Quanto cambia la fase nel tempo.'
-);
-
-var _ref88 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Fase'
-);
-
-var _ref89 = Object(preact_min["h"])(
- 'p',
- null,
- 'E\' l\'angolo percorso dal corpo rispetto alla posizione iniziale.'
-);
-
-var _ref90 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Velocit\xE0'
-);
-
-var _ref91 = Object(preact_min["h"])(
- 'p',
- null,
- 'Si applicano le formule per la circonferenza:'
-);
-
-var _ref92 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Accelerazione'
-);
-
-var _ref93 = Object(preact_min["h"])(
- 'p',
- null,
- 'Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:'
-);
-
-var _ref94 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Forza centripeta'
-);
-
-var _ref95 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 verso il centro e si calcola con:'
-);
-
-var _ref96 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Lavoro ed energia'
-);
-
-var _ref97 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Lavoro'
-);
-
-var _ref98 = Object(preact_min["h"])(
- 'p',
- null,
- 'E\' compiuto da una forza che sposta un corpo.'
-);
-
-var _ref99 = Object(preact_min["h"])(
- 'p',
- null,
- '(Se la forza non \xE8 parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)'
-);
-
-var _ref100 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Energia cinetica'
-);
-
-var _ref101 = Object(preact_min["h"])(
- 'p',
- null,
- 'Un corpo ha energia cinetica in ogni momento uguale a:'
-);
-
-var _ref102 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:'
-);
-
-var _ref103 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Energia potenziale gravitazionale'
-);
-
-var _ref104 = Object(preact_min["h"])(
- 'p',
- null,
- 'Un corpo ha energia potenziale in ogni momento pari a:'
-);
-
-var _ref105 = Object(preact_min["h"])(
- 'p',
- null,
- '(Con ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'h'
- ),
- ' uguale a un altezza scelta come punto di riferimento.)'
-);
-
-var _ref106 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Energia potenziale elastica'
-);
-
-var _ref107 = Object(preact_min["h"])(
- 'p',
- null,
- 'Una molla ha sempre energia potenziale elastica pari a:'
-);
-
-var _ref108 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Forze conservative'
-);
-
-var _ref109 = Object(preact_min["h"])(
- 'p',
- null,
- 'Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all\'arrivo.'
-);
-
-var _ref110 = Object(preact_min["h"])(
- 'p',
- null,
- 'Ad esempio, \xE8 conservativa la ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'forza di gravit\xE0'
- ),
- ', ma ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'non'
- ),
- ' \xE8 conservativa la forza di attrito.'
-);
-
-var _ref111 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se in un sistema ci sono solo forze conservative, allora l\'energia meccanica totale si conserva:'
-);
-
-var _ref112 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Potenza'
-);
-
-var _ref113 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 la velocit\xE0 di trasferimento di energia:'
-);
-
-var _ref114 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Elettrostatica'
-);
-
-var _ref115 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Carica elettrica'
-);
-
-var _ref116 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 una propriet\xE0 dei corpi che pu\xF2 essere ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'positiva'
- ),
- ' o ',
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'negativa'
- ),
- '.'
-);
-
-var _ref117 = Object(preact_min["h"])(
- 'p',
- null,
- 'Si conserva: in un sistema chiuso la carica totale \xE8 costante.'
-);
-
-var _ref118 = Object(preact_min["h"])(
- 'p',
- null,
- 'Cariche ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'opp'
- ),
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'oste'
- ),
- ' si attraggono; cariche ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'uguali'
- ),
- ' si respingono.'
-);
-
-var _ref119 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Conduttori e isolanti'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Pi\xF9 ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://it.wikipedia.org/wiki/Ione' },
- 'ioni'
- ),
- ' ha un corpo, meglio la carica si muove attraverso di esso.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'I corpi in cui la carica si muove bene sono ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'conduttori'
- ),
- ', mentre quelli in cui si muove difficilmente sono ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'isolanti'
- ),
- '.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Il corpo umano \xE8 un buon conduttore.'
- )
-);
-
-var _ref120 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Polarizzazione'
-);
-
-var _ref121 = Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Polarizzazione'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'E\' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.'
- )
- )
-);
-
-var _ref122 = Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Messa a terra'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Se un corpo conduttore \xE8 in contatto con la Terra, le cariche su di esso saranno ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'equilibrate'
- ),
- ' e il corpo diventer\xE0 elettricamente neutro (con stesso numero di ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'cariche positive'
- ),
- ' e ',
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'negative'
- ),
- ' all\'interno).'
- )
- )
-);
-
-var _ref123 = Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Polarizzazione per strofinio'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Strofinando tra loro due corpi isolanti, essi si ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'polarizzeranno per strofinio'
- ),
- '.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Polarizzazione per contatto'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Toccando un conduttore con un corpo carico, il conduttore potr\xE0 ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'polarizzarsi per contatto'
- ),
- '.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Polarizzazione per induzione'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Se un corpo conduttore ha cariche "esterne" di un ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'certo segno'
- ),
- ' vicino, esso avr\xE0 tutte le cariche del ',
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'segno opposto'
- ),
- ' in equilibrio vicino alle cariche esterne, e tutte le cariche dello ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'stesso segno'
- ),
- ' pi\xF9 lontano possibile da esse.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Mettendo a terra il conduttore, nuove cariche del ',
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'segno opposto'
- ),
- ' saranno attratte all\'interno del corpo per equilibrare le cariche che si sono allontanate.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritrover\xE0 ',
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'caricato del segno opposto'
- ),
- ' rispetto alle cariche esterne.'
- )
- )
-);
-
-var _ref124 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Forza elettrica'
-);
-
-var _ref125 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Legge di Coulomb'
-);
-
-var _ref126 = Object(preact_min["h"])(
- 'p',
- null,
- 'Due corpi carichi si attraggono tra loro con forza:'
-);
-
-var _ref127 = Object(preact_min["h"])(
- 'i',
- null,
- 'costante di Coulomb'
-);
-
-var _ref128 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Permeabilit\xE0 dello spazio vuoto'
-);
-
-var _ref129 = Object(preact_min["h"])(
- 'i',
- null,
- 'permeabilit\xE0 del vuoto'
-);
-
-var _ref130 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Campo elettrico'
-);
-
-var _ref131 = Object(preact_min["h"])(
- 'p',
- null,
- 'Misura che forza viene applicata in ogni punto su una carica unitaria:'
-);
-
-var _ref132 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Flusso elettrico'
-);
-
-var _ref133 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 la differenza tra "quanto" campo elettrico ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'entra'
- ),
- ' e quanto campo elettrico ',
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'esce'
- ),
- ' da una certa area.'
-);
-
-var _ref134 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 proporzionale alla intensit\xE0 del campo, alla dimensione dell\'area scelta e a come l\'area \xE8 disposta rispetto alla direzione del campo.'
-);
-
-var _ref135 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se il campo elettrico \xE8 uniforme, se ne pu\xF2 calcolare facilmente il valore:'
-);
-
-var _ref136 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Legge di Gauss'
-);
-
-var _ref137 = Object(preact_min["h"])(
- 'p',
- null,
- 'Il flusso elettrico uscente da una superficie \xE8 proporzionale alla carica presente al suo interno.'
-);
-
-var _ref138 = Object(preact_min["h"])(
- 'p',
- null,
- 'E\' equivalente alla Legge di Coulomb.'
-);
-
-var _ref139 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Energia elettrica'
-);
-
-var _ref140 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Energia potenziale elettrica'
-);
-
-var _ref141 = Object(preact_min["h"])(
- 'i',
- null,
- 'energia potenziale elettrica'
-);
-
-var _ref142 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Circuiti elettrici'
-);
-
-var _ref143 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Potenziale elettrico (Tensione)'
-);
-
-var _ref144 = Object(preact_min["h"])(
- 'p',
- null,
- '\xC8 il valore dell\'energia potenziale elettrica per una carica unitaria.'
-);
-
-var _ref145 = Object(preact_min["h"])(
- 'p',
- null,
- 'In una batteria \xE8 detto ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'forza elettromotrice'
- ),
- ', e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.'
-);
-
-var _ref146 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Corrente elettrica (Intensit\xE0)'
-);
-
-var _ref147 = Object(preact_min["h"])(
- 'p',
- null,
- 'Quanta carica passa attraverso un\'area (perpendicolare al flusso) nel tempo.'
-);
-
-var _ref148 = Object(preact_min["h"])(
- 'p',
- null,
- 'Fintanto che c\'\xE8 differenza di potenziale, ci sar\xE0 anche intensit\xE0 non nulla.'
-);
-
-var _ref149 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Corrente continua (',
- Object(preact_min["h"])(
- 'abbr',
- { title: 'Direct Current' },
- 'DC'
- ),
- ')'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Quando in un circuito la direzione della corrente \xE8 costante.'
- )
-);
-
-var _ref150 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Corrente alternata (',
- Object(preact_min["h"])(
- 'abbr',
- { title: 'Alternate Current' },
- 'AC'
- ),
- ')'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Quando in un circuito la direzione della corrente si alterna periodicamente.'
- )
-);
-
-var _ref151 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Potenza elettrica'
-);
-
-var _ref152 = Object(preact_min["h"])(
- 'p',
- null,
- 'Possiamo calcolare la potenza di un circuito:'
-);
-
-var _ref153 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Elementi di un circuito'
-);
-
-var _ref154 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Resistore'
-);
-
-var _ref155 = Object(preact_min["h"])(
- 'p',
- null,
- 'Riduce l\'intensit\xE0 di corrente, e converte parte del potenziale in calore.'
-);
-
-var _ref156 = Object(preact_min["h"])(
- 'p',
- null,
- 'Il potenziale utilizzato \xE8 pari a:'
-);
-
-var _ref157 = Object(preact_min["h"])(
- 'i',
- null,
- 'resistenza'
-);
-
-var _ref158 = Object(preact_min["h"])(
- 'p',
- null,
- 'La resistenza di un conduttore vale:'
-);
-
-var _ref159 = Object(preact_min["h"])(
- 'i',
- null,
- 'resistivit\xE0'
-);
-
-var _ref160 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Condensatore'
-);
-
-var _ref161 = Object(preact_min["h"])(
- 'p',
- null,
- 'Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.'
-);
-
-var _ref162 = Object(preact_min["h"])(
- 'p',
- null,
- 'Per farlo, cattura cariche ',
- Object(preact_min["h"])(
- plus_Plus,
- null,
- 'positive'
- ),
- ' e ',
- Object(preact_min["h"])(
- minus_Minus,
- null,
- 'negative'
- ),
- ' sulle sue due armature; perch\xE8 questo avvenga, deve essere compiuto lavoro.'
-);
-
-var _ref163 = Object(preact_min["h"])(
- 'p',
- null,
- 'Ha una ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'capacit\xE0'
- ),
- ' caratteristica, che in un condensatore a facce piane parallele \xE8:'
-);
-
-var _ref164 = Object(preact_min["h"])(
- 'p',
- null,
- 'Condensatori di capacit\xE0 maggiore immagazzinano pi\xF9 potenziale con meno carica.'
-);
-
-var _ref165 = Object(preact_min["h"])(
- 'p',
- null,
- 'La capacit\xE0 aumenta se viene messo qualcosa tra le armature:'
-);
-
-var _ref166 = Object(preact_min["h"])(
- 'i',
- null,
- 'costante dielettrica relativa'
-);
-
-var _ref167 = Object(preact_min["h"])(
- 'p',
- null,
- 'Se il campo elettrico creatosi tra le due armature supera la ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'rigidit\xE0 dielettrica'
- ),
- ' del condensatore, la carica immagazzinata viene persa e ha luogo un ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'breakdown'
- ),
- '.'
-);
-
-var _ref168 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Amperometro'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Misura la corrente elettrica se messo in serie.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- '(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)'
- )
-);
-
-var _ref169 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Voltmetro'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Misura la differenza di potenziale se messo in parallelo.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- '(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)'
- )
-);
-
-var _ref170 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Principi di Kirchhoff'
-);
-
-var _ref171 = Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Legge dei nodi'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Per nodo si intende un qualsiasi punto del circuito.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Da un nodo entra ed esce la stessa corrente.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Legge delle maglie'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Per maglia si intende un qualsiasi percorso chiuso all\'interno del circuito.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'In una maglia chiusa, la somma delle differenze di potenziale \xE8 0.'
- )
- )
-);
-
-var _ref172 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Serie e Parallelo'
-);
-
-var _ref173 = Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Circuito in serie'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Pi\xF9 parti di circuito sono ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'in serie'
- ),
- ' se sono consecutive e senza biforcazioni.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Parti di circuito in serie sono attraversate dalla stessa corrente.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Circuito in parallelo'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Pi\xF9 parti di circuito sono ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'in parallelo'
- ),
- ' tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Parti di circuito in parallelo hanno la stessa differenza di potenziale.'
- )
- )
-);
-
-var _ref174 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Resistenze equivalenti'
-);
-
-var _ref175 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Circuiti in serie'
-);
-
-var _ref176 = Object(preact_min["h"])(
- 'p',
- null,
- 'Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:'
-);
-
-var _ref177 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Circuiti in parallelo'
-);
-
-var _ref178 = Object(preact_min["h"])(
- 'p',
- null,
- 'Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:'
-);
-
-var _ref179 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Condensatori equivalenti'
-);
-
-var _ref180 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Circuiti in serie'
-);
-
-var _ref181 = Object(preact_min["h"])(
- 'p',
- null,
- 'Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:'
-);
-
-var _ref182 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Circuiti in parallelo'
-);
-
-var _ref183 = Object(preact_min["h"])(
- 'p',
- null,
- 'Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacit\xE0 di tutti quelli sostituiti:'
-);
-
-var _ref184 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Magnetismo'
-);
-
-var _ref185 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Permeabilit\xE0 magnetica dello spazio vuoto'
-);
-
-var _ref186 = Object(preact_min["h"])(
- 'p',
- null,
- 'E\' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.'
-);
-
-var _ref187 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Campo magnetico'
-);
-
-var _ref188 = Object(preact_min["h"])(
- 'p',
- null,
- 'Come un campo elettrico, ma per i magneti.'
-);
-
-var _ref189 = Object(preact_min["h"])(
- latex_Latex,
- null,
- 'T'
-);
-
-var _ref190 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Flusso magnetico'
-);
-
-var _ref191 = Object(preact_min["h"])(
- 'p',
- null,
- 'Come il flusso elettrico, ma per campi magnetici.'
-);
-
-var _ref192 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Legge di Gauss per il magnetismo'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Il flusso magnetico attraverso qualsiasi superficie chiusa \xE8 sempre nullo.'
- )
-);
-
-var _ref193 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Forze magnetiche'
-);
-
-var _ref194 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Forza magnetica su carica puntiforme ',
- Object(preact_min["h"])(
- 'small',
- null,
- '(Forza di Lorentz)'
- )
-);
-
-var _ref195 = Object(preact_min["h"])(
- 'p',
- null,
- 'I campi magnetici applicano una forza sulle cariche vicine:'
-);
-
-var _ref196 = Object(preact_min["h"])(
- 'p',
- null,
- 'Si ha una forza massima se la velocit\xE0 \xE8 perpendicolare al campo magnetico.'
-);
-
-var _ref197 = Object(preact_min["h"])(
- 'p',
- null,
- 'In un campo magnetico uniforme, una velocit\xE0 perpendicolare al campo porta alla creazione di un moto circolare uniforme.'
-);
-
-var _ref198 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Forza magnetica in un filo'
-);
-
-var _ref199 = Object(preact_min["h"])(
- 'p',
- null,
- 'I campi magnetici influenzano anche le cariche presenti in un conduttore:'
-);
-
-var _ref200 = Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- todo_Todo,
- null,
- 'Modulo di L?'
- )
-);
-
-var _ref201 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Campi magnetici'
-);
-
-var _ref202 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Campo magnetico in una spira'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.'
- )
-);
-
-var _ref203 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Campo magnetico di un solenoide'
-);
-
-var _ref204 = Object(preact_min["h"])(
- 'p',
- null,
- 'Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.'
-);
-
-var _ref205 = Object(preact_min["h"])(
- 'p',
- null,
- 'All\'interno del solenoide si crea un campo (quasi) uniforme:'
-);
-
-var _ref206 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Legge di Oersted'
-);
-
-var _ref207 = Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- 'i',
- null,
- 'Caso particolare della ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://it.wikipedia.org/wiki/Legge_di_Amp%C3%A8re' },
- 'Legge di Amp\xE8re'
- ),
- '.'
- )
-);
-
-var _ref208 = Object(preact_min["h"])(
- 'p',
- null,
- 'Il modulo del campo magnetico ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'B'
- ),
- ' prodotto da un filo in cui passa una corrente continua ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'I'
- ),
- ' alla distanza ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 's'
- ),
- ' \xE8:'
-);
-
-var _ref209 = Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- todo_Todo,
- null,
- 'Verso di B?'
- )
-);
-
-var _ref210 = Object(preact_min["h"])(
- 'h2',
- null,
- 'Induzione elettromagnetica'
-);
-
-var _ref211 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Forza elettromotrice indotta'
-);
-
-var _ref212 = Object(preact_min["h"])(
- 'p',
- null,
- 'Un conduttore perpendicolare ad un campo magnetico pu\xF2 ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo.'
-);
-
-var _ref213 = Object(preact_min["h"])(
- 'p',
- null,
- 'La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore.'
-);
-
-var _ref214 = Object(preact_min["h"])(
- 'p',
- null,
- 'Essa vale:'
-);
-
-var _ref215 = Object(preact_min["h"])(
- 'p',
- null,
- 'Dove ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'v'
- ),
- ' \xE8 la velocit\xE0 del conduttore, ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'B'
- ),
- ' \xE8 l\'intensit\xE0 del campo magnetico ed ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- 'L'
- ),
- ' \xE8 la lunghezza del conduttore.'
-);
-
-var _ref216 = Object(preact_min["h"])(
- 'h3',
- null,
- 'Flusso magnetico in una spira'
-);
-
-var _ref217 = Object(preact_min["h"])(
- 'i',
- null,
- 'Legge di Farady-Neumann-Lenz'
-);
-
-var _ref218 = Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'h3',
- null,
- 'Legge di Faraday'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Dice che la forza elettromotrice indotta dipende dalla variazione nel tempo del flusso magnetico.'
- )
-);
-
-var fisica_Fisica = function (_Component) {
- fisica__inherits(Fisica, _Component);
-
- function Fisica() {
- fisica__classCallCheck(this, Fisica);
-
- return fisica__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Fisica.prototype.render = function render() {
- return Object(preact_min["h"])(
- 'div',
- null,
- fisica__ref,
- _ref2,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref3,
- _ref4,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject2)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject3)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref5,
- _ref6,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject4)
- )
- ),
- _ref7
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref8,
- _ref9,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject5)
- )
- ),
- _ref10
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref11,
- _ref12,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject6)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Produce il modulo della proiezione di ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject7)
- ),
- ' su ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject8)
- ),
- '.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref13,
- _ref14,
- Object(preact_min["h"])(
- 'ul',
- null,
- Object(preact_min["h"])(
- 'li',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject9)
- )
- ),
- Object(preact_min["h"])(
- 'li',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject10)
- )
- ),
- _ref15
- ),
- _ref16
- )
- ),
- _ref17,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref18,
- _ref19,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject11)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref20,
- _ref21,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject12)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref22,
- _ref23,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject13)
- )
- )
- )
- ),
- _ref24,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref25,
- _ref26,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject14)
- )
- ),
- _ref27,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject15)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref28,
- _ref29,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject16)
- )
- ),
- _ref30,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject17)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref31,
- _ref32,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject16)
- )
- ),
- _ref33,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject18)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject19)
- )
- )
- )
- ),
- _ref34,
- Object(preact_min["h"])(
- split_Split,
- null,
- _ref35,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref36,
- _ref37,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject20)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref38,
- _ref39,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject21)
- )
- )
- ),
- _ref40,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref41,
- _ref42,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject22)
- )
- ),
- _ref43
- )
- ),
- _ref44,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref45,
- _ref46,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject23)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref47,
- _ref48,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject24)
- )
- ),
- _ref49,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject25)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref50,
- _ref51,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject26)
- )
- ),
- _ref52,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject27)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref53,
- _ref54,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject28)
- )
- ),
- _ref55,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject29)
- )
- )
- )
- ),
- _ref56,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref57,
- _ref58,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject30)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref59,
- _ref60,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject31)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref61,
- _ref62,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject32)
- )
- )
- ),
- _ref63
- ),
- _ref64,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref65,
- _ref66,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject33)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref67,
- _ref68,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject34)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref69,
- _ref70,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject35)
- )
- )
- ),
- _ref71
- ),
- _ref72,
- Object(preact_min["h"])(
- split_Split,
- null,
- _ref73,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref74,
- _ref75,
- _ref76,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject36)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref77,
- _ref78,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject37)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref79,
- Object(preact_min["h"])(
- 'p',
- null,
- 'E\' la sinusoide dello spostamento, sfasata di ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject38)
- ),
- ':'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject39)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref80,
- Object(preact_min["h"])(
- 'p',
- null,
- 'E\' la sinusoide della velocit\xE0, sfasata di ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject40)
- ),
- ':'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject41)
- )
- )
- ),
- _ref81
- ),
- _ref82,
- Object(preact_min["h"])(
- split_Split,
- null,
- _ref83,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref84,
- Object(preact_min["h"])(
- 'p',
- null,
- 'Il moto parabolico \xE8 dato sommando due moti armonici semplici: uno sull\'asse X, e l\'altro, sfasato di ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject38)
- ),
- ', sull\'asse Y.'
- )
- )
- ),
- _ref85,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref86,
- _ref87,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject36)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref88,
- _ref89,
- Object(preact_min["h"])(
- 'p',
- null,
- 'Si indica con ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject42)
- ),
- ', e generalmente si usa in radianti.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref90,
- _ref91,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject43)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref92,
- _ref93,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject44)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref94,
- _ref95,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject45)
- )
- )
- )
- ),
- _ref96,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref97,
- _ref98,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject46)
- )
- ),
- _ref99
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref100,
- _ref101,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject47)
- )
- ),
- _ref102,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject48)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref103,
- _ref104,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject49)
- )
- ),
- _ref105
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref106,
- _ref107,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject50)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref108,
- _ref109,
- _ref110,
- _ref111,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject51)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref112,
- _ref113,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject52)
- )
- )
- )
- ),
- _ref114,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref115,
- _ref116,
- _ref117,
- Object(preact_min["h"])(
- 'p',
- null,
- 'Esiste un\'unit\xE0 elementare: ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject53)
- ),
- '.'
- ),
- _ref118
- ),
- _ref119
- ),
- _ref120,
- _ref121,
- _ref122,
- _ref123,
- _ref124,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref125,
- _ref126,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject54)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject55)
- ),
- ' \xE8 la ',
- _ref127,
- ', e vale ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject56)
- ),
- '.'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref128,
- Object(preact_min["h"])(
- 'p',
- null,
- 'La costante ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject55)
- ),
- ' \xE8 in realt\xE0 dipendente da un altra costante, ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject57)
- ),
- ', la ',
- _ref129,
- '.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject58)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject59)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref130,
- _ref131,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject60)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref132,
- _ref133,
- _ref134,
- _ref135,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject61)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- '(dove ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject62)
- ),
- ' \xE8 il vettore dell\'area che abbiamo scelto.)'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref136,
- _ref137,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject63)
- )
- ),
- _ref138
- )
- ),
- _ref139,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref140,
- Object(preact_min["h"])(
- 'p',
- null,
- 'Un corpo carico vicino ad altre cariche possiede un\'',
- _ref141,
- ' ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject64)
- ),
- '.'
- )
- )
- ),
- _ref142,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref143,
- _ref144,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject65)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'La sua unit\xE0 di misura \xE8 il Volt (',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject66)
- ),
- ').'
- ),
- _ref145
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref146,
- _ref147,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject67)
- )
- ),
- _ref148,
- Object(preact_min["h"])(
- 'p',
- null,
- 'La sua unit\xE0 di misura \xE8 l\'Ampere (',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject68)
- ),
- ').'
- )
- ),
- _ref149,
- _ref150,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref151,
- _ref152,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject69)
- )
- )
- )
- ),
- _ref153,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref154,
- _ref155,
- _ref156,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject70)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Dove ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject71)
- ),
- ' \xE8 una costante detta ',
- _ref157,
- ' con unit\xE0 di misura Ohm (',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject72)
- ),
- ').'
- ),
- _ref158,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject73)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject74)
- ),
- ' \xE8 la ',
- _ref159,
- ' del materiale, e varia in base alla temperatura:'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject75)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref160,
- _ref161,
- _ref162,
- _ref163,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject76)
- )
- ),
- _ref164,
- _ref165,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject77)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Dove ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject78)
- ),
- ' \xE8 la ',
- _ref166,
- ' del materiale inserito, ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject68)
- ),
- ' l\'area di una armatura e ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject79)
- ),
- ' la distanza tra le due armature.'
- ),
- _ref167,
- Object(preact_min["h"])(
- 'p',
- null,
- 'La sua unit\xE0 di misura \xE8 il Farad (',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject80)
- ),
- ')'
- )
- ),
- _ref168,
- _ref169
- ),
- _ref170,
- _ref171,
- _ref172,
- _ref173,
- _ref174,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref175,
- _ref176,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject81)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref177,
- _ref178,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject82)
- )
- )
- )
- ),
- _ref179,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref180,
- _ref181,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject83)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref182,
- _ref183,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject84)
- )
- )
- )
- ),
- _ref184,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref185,
- _ref186,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject85)
- ),
- ' (',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject86)
- ),
- ')'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref187,
- _ref188,
- Object(preact_min["h"])(
- 'p',
- null,
- 'Il suo simbolo \xE8 ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject87)
- ),
- ', e la sua unit\xE0 di misura \xE8 il Tesla (',
- _ref189,
- ').'
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref190,
- _ref191,
- Object(preact_min["h"])(
- 'p',
- null,
- 'Il suo simbolo \xE8 ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject88)
- ),
- ' e la sua unit\xE0 di misura \xE8 il Weber (',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject89)
- ),
- ').'
- )
- ),
- _ref192
- ),
- _ref193,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref194,
- _ref195,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject90)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Dove ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject91)
- ),
- ' \xE8 l\'intensit\xE0 del campo magnetico e ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject92)
- ),
- ' la velocit\xE0 della carica considerata.'
- ),
- _ref196,
- _ref197
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref198,
- _ref199,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject93)
- )
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- 'Dove ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject94)
- ),
- ' \xE8 un vettore che punta nella direzione di scorrimento della corrente.'
- ),
- _ref200
- )
- ),
- _ref201,
- Object(preact_min["h"])(
- split_Split,
- null,
- _ref202,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref203,
- _ref204,
- _ref205,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject95)
- )
- )
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref206,
- _ref207,
- _ref208,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject96)
- )
- ),
- _ref209
- )
- ),
- _ref210,
- Object(preact_min["h"])(
- split_Split,
- null,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref211,
- _ref212,
- _ref213,
- _ref214,
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject97)
- )
- ),
- _ref215
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- _ref216,
- Object(preact_min["h"])(
- 'p',
- null,
- 'In un campo magnetico ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject87)
- ),
- ' uniforme e perpendicolare al piano di una spira di area ',
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject68)
- ),
- ', il flusso magnetico si pu\xF2 determinare con la ',
- _ref217,
- ':'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- latex_Latex,
- null,
- r(_templateObject98)
- )
- )
- ),
- _ref218
- )
- );
- };
-
- return Fisica;
-}(preact_min["Component"]);
-
-
-// EXTERNAL MODULE: ./pages/vldigeometria.css
-var vldigeometria = __webpack_require__("jHTF");
-var vldigeometria_default = /*#__PURE__*/__webpack_require__.n(vldigeometria);
-
-// EXTERNAL MODULE: ./components/markdown.css
-var markdown = __webpack_require__("MKE3");
-var markdown_default = /*#__PURE__*/__webpack_require__.n(markdown);
-
-// EXTERNAL MODULE: ../node_modules/showdown/dist/showdown.js
-var showdown = __webpack_require__("6adR");
-var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
-
-// CONCATENATED MODULE: ./components/markdown.js
-
-
-function markdown__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function markdown__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function markdown__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-
-var markdown_Markdown = function (_Component) {
- markdown__inherits(Markdown, _Component);
-
- function Markdown() {
- markdown__classCallCheck(this, Markdown);
-
- return markdown__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Markdown.prototype.render = function render() {
- var converter = new showdown_default.a.Converter();
- converter.setFlavor("github");
- var html = converter.makeHtml("" + this.props.children);
- return Object(preact_min["h"])("div", { dangerouslySetInnerHTML: { __html: html } });
- };
-
- return Markdown;
-}(preact_min["Component"]);
-
-
-// CONCATENATED MODULE: ./pages/vldigeometria.js
-var vldigeometria__templateObject = vldigeometria__taggedTemplateLiteralLoose(['\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodit\xE0, ho estratto l\'url sorgente del video dall\'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Propriet\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Propriet\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilit\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n '], ['\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodit\xE0, ho estratto l\'url sorgente del video dall\'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Propriet\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Propriet\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilit\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n ']);
-
-
-
-function vldigeometria__taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }
-
-function vldigeometria__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function vldigeometria__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function vldigeometria__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-
-
-var vldigeometria_r = String.raw;
-
-var vldigeometria__ref = Object(preact_min["h"])(
- 'h1',
- null,
- 'Videolezioni di Geometria'
-);
-
-var vldigeometria_VlDiGeometria = function (_Component) {
- vldigeometria__inherits(VlDiGeometria, _Component);
-
- function VlDiGeometria() {
- vldigeometria__classCallCheck(this, VlDiGeometria);
-
- return vldigeometria__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- VlDiGeometria.prototype.render = function render() {
- return Object(preact_min["h"])(
- 'div',
- null,
- vldigeometria__ref,
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- markdown_Markdown,
- null,
- vldigeometria_r(vldigeometria__templateObject)
- )
- )
- );
- };
-
- return VlDiGeometria;
-}(preact_min["Component"]);
-
-
-// CONCATENATED MODULE: ./pages/mingwinstall.js
-
-
-function mingwinstall__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function mingwinstall__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function mingwinstall__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-
-
-var mingwinstall_r = String.raw;
-
-var mingwinstall__ref = Object(preact_min["h"])(
- 'div',
- null,
- Object(preact_min["h"])(
- 'h1',
- null,
- 'Come installare MinGW'
- ),
- Object(preact_min["h"])(
- panel_Panel,
- null,
- Object(preact_min["h"])(
- 'p',
- null,
- ' Scaricate ',
- Object(preact_min["h"])(
- 'a',
- { href: 'https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/' },
- 'l\'installer ufficiale'
- ),
- ', ed eseguitelo.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/mDZSqjV.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Dovrebbe comparire questa schermata. Cliccate su ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Install'
- ),
- ', poi scegliete una cartella di installazione (ricordatevela!) e poi ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Continue'
- ),
- '. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate, tranne ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'For all users'
- ),
- ', che dovrebbe essere disattivato.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/brdw8Xy.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Continue'
- ),
- '. Premetelo.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/aPTwrxz.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Dovrebbe apparirvi questa finestra. L\'installer di MinGW \xE8 una specie di gestore pacchetti (tipo ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'apt'
- ),
- ' su Ubuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalit\xE0.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/5QLSkFN.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Nel nostro caso, dovrebbero servirci ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'mingw32-base-bin'
- ),
- ' (per il C e alcune librerie C++) e',
- Object(preact_min["h"])(
- 'code',
- null,
- 'mingw32-gcc-g++-bin'
- ),
- ' (per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Mark for Installation'
- ),
- '. Dovrebbe comparire una freccia gialla sul quadratino.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/zP74nks.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Ora, \xE8 il momento di installare i pacchetti. Aprite il men\xF9 ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Installation'
- ),
- ', poi premete',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Apply Changes'
- ),
- ', e di nuovo ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Apply'
- ),
- '.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/jp4uz5B.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Lasciate che scarichi, ci vorr\xE0 un po\'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate dopo circa 10 minuti.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/Lq9IepY.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Una volta installato, dobbiamo aggiungere ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'g++'
- ),
- ' ai programmi eseguibili da Prompt dei Comandi: premete il tasto ',
- Object(preact_min["h"])(
- 'kbd',
- null,
- 'Windows'
- ),
- ', e scrivete ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'PATH'
- ),
- '. Windows dovrebbe trovarvi automaticamente quell\'opzione.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/dy3b5Ub.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Dentro la finestra di ',
- Object(preact_min["h"])(
- 'i',
- null,
- 'Propriet\xE0 del Sistema'
- ),
- ', premete ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Variabili d\'ambiente'
- ),
- '.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/FjYpT1n.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Trovate la variabile d\'ambiente globale ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Path'
- ),
- ', e fateci doppio click per modificarla.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/klZQ9So.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Ora dovreste vedere l\'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere quella di MinGW! Premete ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'Sfoglia'
- ),
- '.'
- ),
- Object(preact_min["h"])('img', { src: 'https://i.imgur.com/F6lBCqS.png' }),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la sottocartella ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'bin'
- ),
- ' e premete ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'OK'
- ),
- ' su tutte le finestre che avete aperto fino ad ora, chiudendole.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- ' Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione',
- Object(preact_min["h"])(
- 'code',
- null,
- 'gcc'
- ),
- ' e ',
- Object(preact_min["h"])(
- 'code',
- null,
- 'g++'
- ),
- ' sul Prompt dei Comandi, e potete finalmente creare dei file .exe! '
- )
- )
-);
-
-var MingwInstall = function (_Component) {
- mingwinstall__inherits(MingwInstall, _Component);
-
- function MingwInstall() {
- mingwinstall__classCallCheck(this, MingwInstall);
-
- return mingwinstall__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- MingwInstall.prototype.render = function render() {
- //Imported from unimore-info-wiki
- return mingwinstall__ref;
- };
-
- return MingwInstall;
-}(preact_min["Component"]);
-
-
-// EXTERNAL MODULE: ./components/copyright.css
-var copyright = __webpack_require__("qMTX");
-var copyright_default = /*#__PURE__*/__webpack_require__.n(copyright);
-
-// CONCATENATED MODULE: ./components/copyright.js
-
-
-function copyright__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function copyright__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function copyright__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-var copyright__ref = Object(preact_min["h"])(
- "a",
- { href: "https://creativecommons.org/licenses/by-sa/4.0/" },
- "CC BY-SA 4.0"
-);
-
-var copyright__ref2 = Object(preact_min["h"])(
- "a",
- { href: "https://github.com/Steffo99/appuntiweb" },
- "Codice sorgente"
-);
-
-var copyright_Copyright = function (_Component) {
- copyright__inherits(Copyright, _Component);
-
- function Copyright() {
- copyright__classCallCheck(this, Copyright);
-
- return copyright__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- Copyright.prototype.render = function render() {
- return Object(preact_min["h"])(
- "div",
- { "class": copyright_default.a.copyright },
- "\xA9 2019 - Stefano Pigozzi - ",
- copyright__ref,
- " - ",
- copyright__ref2
- );
- };
-
- return Copyright;
-}(preact_min["Component"]);
-
-
-// CONCATENATED MODULE: ./index.js
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return App; });
-
-
-function index__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function index__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function index__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-
-
-
-
-
-
-
-
-
-var index_r = String.raw;
-
-var index__ref = Object(preact_min["h"])(
- 'div',
- { id: 'app' },
- Object(preact_min["h"])(
- preact_router_es,
- null,
- Object(preact_min["h"])(Home, { path: '/' }),
- Object(preact_min["h"])(fisica_Fisica, { path: '/fisica' }),
- Object(preact_min["h"])(vldigeometria_VlDiGeometria, { path: '/vldigeometria' }),
- Object(preact_min["h"])(MingwInstall, { path: '/mingwinstall' })
- ),
- Object(preact_min["h"])(copyright_Copyright, null)
-);
-
-var App = function (_Component) {
- index__inherits(App, _Component);
-
- function App() {
- index__classCallCheck(this, App);
-
- return index__possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
-
- App.prototype.render = function render() {
- return index__ref;
- };
-
- return App;
-}(preact_min["Component"]);
-
-
-
-/***/ }),
-
-/***/ "KM04":
-/***/ (function(module, exports, __webpack_require__) {
-
-!function () {
- "use strict";
- function e(e, t) {
- var n,
- o,
- r,
- i,
- l = W;for (i = arguments.length; i-- > 2;) {
- P.push(arguments[i]);
- }t && null != t.children && (P.length || P.push(t.children), delete t.children);while (P.length) {
- if ((o = P.pop()) && void 0 !== o.pop) for (i = o.length; i--;) {
- P.push(o[i]);
- } else "boolean" == typeof o && (o = null), (r = "function" != typeof e) && (null == o ? o = "" : "number" == typeof o ? o += "" : "string" != typeof o && (r = !1)), r && n ? l[l.length - 1] += o : l === W ? l = [o] : l.push(o), n = r;
- }var a = new T();return a.nodeName = e, a.children = l, a.attributes = null == t ? void 0 : t, a.key = null == t ? void 0 : t.key, void 0 !== M.vnode && M.vnode(a), a;
- }function t(e, t) {
- for (var n in t) {
- e[n] = t[n];
- }return e;
- }function n(e, t) {
- e && ("function" == typeof e ? e(t) : e.current = t);
- }function o(n, o) {
- return e(n.nodeName, t(t({}, n.attributes), o), arguments.length > 2 ? [].slice.call(arguments, 2) : n.children);
- }function r(e) {
- !e.__d && (e.__d = !0) && 1 == V.push(e) && (M.debounceRendering || D)(i);
- }function i() {
- var e;while (e = V.pop()) {
- e.__d && x(e);
- }
- }function l(e, t, n) {
- return "string" == typeof t || "number" == typeof t ? void 0 !== e.splitText : "string" == typeof t.nodeName ? !e._componentConstructor && a(e, t.nodeName) : n || e._componentConstructor === t.nodeName;
- }function a(e, t) {
- return e.__n === t || e.nodeName.toLowerCase() === t.toLowerCase();
- }function u(e) {
- var n = t({}, e.attributes);n.children = e.children;var o = e.nodeName.defaultProps;if (void 0 !== o) for (var r in o) {
- void 0 === n[r] && (n[r] = o[r]);
- }return n;
- }function c(e, t) {
- var n = t ? document.createElementNS("http://www.w3.org/2000/svg", e) : document.createElement(e);return n.__n = e, n;
- }function p(e) {
- var t = e.parentNode;t && t.removeChild(e);
- }function s(e, t, o, r, i) {
- if ("className" === t && (t = "class"), "key" === t) ;else if ("ref" === t) n(o, null), n(r, e);else if ("class" !== t || i) {
- if ("style" === t) {
- if (r && "string" != typeof r && "string" != typeof o || (e.style.cssText = r || ""), r && "object" == typeof r) {
- if ("string" != typeof o) for (var l in o) {
- l in r || (e.style[l] = "");
- }for (var l in r) {
- e.style[l] = "number" == typeof r[l] && !1 === E.test(l) ? r[l] + "px" : r[l];
- }
- }
- } else if ("dangerouslySetInnerHTML" === t) r && (e.innerHTML = r.__html || "");else if ("o" == t[0] && "n" == t[1]) {
- var a = t !== (t = t.replace(/Capture$/, ""));t = t.toLowerCase().substring(2), r ? o || e.addEventListener(t, _, a) : e.removeEventListener(t, _, a), (e.__l || (e.__l = {}))[t] = r;
- } else if ("list" !== t && "type" !== t && !i && t in e) {
- try {
- e[t] = null == r ? "" : r;
- } catch (e) {}null != r && !1 !== r || "spellcheck" == t || e.removeAttribute(t);
- } else {
- var u = i && t !== (t = t.replace(/^xlink:?/, ""));null == r || !1 === r ? u ? e.removeAttributeNS("http://www.w3.org/1999/xlink", t.toLowerCase()) : e.removeAttribute(t) : "function" != typeof r && (u ? e.setAttributeNS("http://www.w3.org/1999/xlink", t.toLowerCase(), r) : e.setAttribute(t, r));
- }
- } else e.className = r || "";
- }function _(e) {
- return this.__l[e.type](M.event && M.event(e) || e);
- }function f() {
- var e;while (e = A.shift()) {
- M.afterMount && M.afterMount(e), e.componentDidMount && e.componentDidMount();
- }
- }function d(e, t, n, o, r, i) {
- H++ || (R = null != r && void 0 !== r.ownerSVGElement, B = null != e && !("__preactattr_" in e));var l = h(e, t, n, o, i);return r && l.parentNode !== r && r.appendChild(l), --H || (B = !1, i || f()), l;
- }function h(e, t, n, o, r) {
- var i = e,
- l = R;if (null != t && "boolean" != typeof t || (t = ""), "string" == typeof t || "number" == typeof t) return e && void 0 !== e.splitText && e.parentNode && (!e._component || r) ? e.nodeValue != t && (e.nodeValue = t) : (i = document.createTextNode(t), e && (e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0))), i.__preactattr_ = !0, i;var u = t.nodeName;if ("function" == typeof u) return N(e, t, n, o);if (R = "svg" === u || "foreignObject" !== u && R, u += "", (!e || !a(e, u)) && (i = c(u, R), e)) {
- while (e.firstChild) {
- i.appendChild(e.firstChild);
- }e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0);
- }var p = i.firstChild,
- s = i.__preactattr_,
- _ = t.children;if (null == s) {
- s = i.__preactattr_ = {};for (var f = i.attributes, d = f.length; d--;) {
- s[f[d].name] = f[d].value;
- }
- }return !B && _ && 1 === _.length && "string" == typeof _[0] && null != p && void 0 !== p.splitText && null == p.nextSibling ? p.nodeValue != _[0] && (p.nodeValue = _[0]) : (_ && _.length || null != p) && m(i, _, n, o, B || null != s.dangerouslySetInnerHTML), y(i, t.attributes, s), R = l, i;
- }function m(e, t, n, o, r) {
- var i,
- a,
- u,
- c,
- s,
- _ = e.childNodes,
- f = [],
- d = {},
- m = 0,
- b = 0,
- y = _.length,
- g = 0,
- w = t ? t.length : 0;if (0 !== y) for (var C = 0; C < y; C++) {
- var x = _[C],
- N = x.__preactattr_,
- k = w && N ? x._component ? x._component.__k : N.key : null;null != k ? (m++, d[k] = x) : (N || (void 0 !== x.splitText ? !r || x.nodeValue.trim() : r)) && (f[g++] = x);
- }if (0 !== w) for (var C = 0; C < w; C++) {
- c = t[C], s = null;var k = c.key;if (null != k) m && void 0 !== d[k] && (s = d[k], d[k] = void 0, m--);else if (b < g) for (i = b; i < g; i++) {
- if (void 0 !== f[i] && l(a = f[i], c, r)) {
- s = a, f[i] = void 0, i === g - 1 && g--, i === b && b++;break;
- }
- }s = h(s, c, n, o), u = _[C], s && s !== e && s !== u && (null == u ? e.appendChild(s) : s === u.nextSibling ? p(u) : e.insertBefore(s, u));
- }if (m) for (var C in d) {
- void 0 !== d[C] && v(d[C], !1);
- }while (b <= g) {
- void 0 !== (s = f[g--]) && v(s, !1);
- }
- }function v(e, t) {
- var o = e._component;o ? k(o) : (null != e.__preactattr_ && n(e.__preactattr_.ref, null), !1 !== t && null != e.__preactattr_ || p(e), b(e));
- }function b(e) {
- e = e.lastChild;while (e) {
- var t = e.previousSibling;v(e, !0), e = t;
- }
- }function y(e, t, n) {
- var o;for (o in n) {
- t && null != t[o] || null == n[o] || s(e, o, n[o], n[o] = void 0, R);
- }for (o in t) {
- "children" === o || "innerHTML" === o || o in n && t[o] === ("value" === o || "checked" === o ? e[o] : n[o]) || s(e, o, n[o], n[o] = t[o], R);
- }
- }function g(e, t, n) {
- var o,
- r = F.length;e.prototype && e.prototype.render ? (o = new e(t, n), U.call(o, t, n)) : (o = new U(t, n), o.constructor = e, o.render = w);while (r--) {
- if (F[r].constructor === e) return o.__b = F[r].__b, F.splice(r, 1), o;
- }return o;
- }function w(e, t, n) {
- return this.constructor(e, n);
- }function C(e, t, o, i, l) {
- e.__x || (e.__x = !0, e.__r = t.ref, e.__k = t.key, delete t.ref, delete t.key, void 0 === e.constructor.getDerivedStateFromProps && (!e.base || l ? e.componentWillMount && e.componentWillMount() : e.componentWillReceiveProps && e.componentWillReceiveProps(t, i)), i && i !== e.context && (e.__c || (e.__c = e.context), e.context = i), e.__p || (e.__p = e.props), e.props = t, e.__x = !1, 0 !== o && (1 !== o && !1 === M.syncComponentUpdates && e.base ? r(e) : x(e, 1, l)), n(e.__r, e));
- }function x(e, n, o, r) {
- if (!e.__x) {
- var i,
- l,
- a,
- c = e.props,
- p = e.state,
- s = e.context,
- _ = e.__p || c,
- h = e.__s || p,
- m = e.__c || s,
- b = e.base,
- y = e.__b,
- w = b || y,
- N = e._component,
- U = !1,
- S = m;if (e.constructor.getDerivedStateFromProps && (p = t(t({}, p), e.constructor.getDerivedStateFromProps(c, p)), e.state = p), b && (e.props = _, e.state = h, e.context = m, 2 !== n && e.shouldComponentUpdate && !1 === e.shouldComponentUpdate(c, p, s) ? U = !0 : e.componentWillUpdate && e.componentWillUpdate(c, p, s), e.props = c, e.state = p, e.context = s), e.__p = e.__s = e.__c = e.__b = null, e.__d = !1, !U) {
- i = e.render(c, p, s), e.getChildContext && (s = t(t({}, s), e.getChildContext())), b && e.getSnapshotBeforeUpdate && (S = e.getSnapshotBeforeUpdate(_, h));var L,
- T,
- P = i && i.nodeName;if ("function" == typeof P) {
- var W = u(i);l = N, l && l.constructor === P && W.key == l.__k ? C(l, W, 1, s, !1) : (L = l, e._component = l = g(P, W, s), l.__b = l.__b || y, l.__u = e, C(l, W, 0, s, !1), x(l, 1, o, !0)), T = l.base;
- } else a = w, L = N, L && (a = e._component = null), (w || 1 === n) && (a && (a._component = null), T = d(a, i, s, o || !b, w && w.parentNode, !0));if (w && T !== w && l !== N) {
- var D = w.parentNode;D && T !== D && (D.replaceChild(T, w), L || (w._component = null, v(w, !1)));
- }if (L && k(L), e.base = T, T && !r) {
- var E = e,
- V = e;while (V = V.__u) {
- (E = V).base = T;
- }T._component = E, T._componentConstructor = E.constructor;
- }
- }!b || o ? A.push(e) : U || (e.componentDidUpdate && e.componentDidUpdate(_, h, S), M.afterUpdate && M.afterUpdate(e));while (e.__h.length) {
- e.__h.pop().call(e);
- }H || r || f();
- }
- }function N(e, t, n, o) {
- var r = e && e._component,
- i = r,
- l = e,
- a = r && e._componentConstructor === t.nodeName,
- c = a,
- p = u(t);while (r && !c && (r = r.__u)) {
- c = r.constructor === t.nodeName;
- }return r && c && (!o || r._component) ? (C(r, p, 3, n, o), e = r.base) : (i && !a && (k(i), e = l = null), r = g(t.nodeName, p, n), e && !r.__b && (r.__b = e, l = null), C(r, p, 1, n, o), e = r.base, l && e !== l && (l._component = null, v(l, !1))), e;
- }function k(e) {
- M.beforeUnmount && M.beforeUnmount(e);var t = e.base;e.__x = !0, e.componentWillUnmount && e.componentWillUnmount(), e.base = null;var o = e._component;o ? k(o) : t && (null != t.__preactattr_ && n(t.__preactattr_.ref, null), e.__b = t, p(t), F.push(e), b(t)), n(e.__r, null);
- }function U(e, t) {
- this.__d = !0, this.context = t, this.props = e, this.state = this.state || {}, this.__h = [];
- }function S(e, t, n) {
- return d(n, e, {}, !1, t, !1);
- }function L() {
- return {};
- }var T = function T() {},
- M = {},
- P = [],
- W = [],
- D = "function" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout,
- E = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,
- V = [],
- A = [],
- H = 0,
- R = !1,
- B = !1,
- F = [];t(U.prototype, { setState: function setState(e, n) {
- this.__s || (this.__s = this.state), this.state = t(t({}, this.state), "function" == typeof e ? e(this.state, this.props) : e), n && this.__h.push(n), r(this);
- }, forceUpdate: function forceUpdate(e) {
- e && this.__h.push(e), x(this, 2);
- }, render: function render() {} });var j = { h: e, createElement: e, cloneElement: o, createRef: L, Component: U, render: S, rerender: i, options: M }; true ? module.exports = j : self.preact = j;
-}();
-//# sourceMappingURL=preact.min.js.map
-
-/***/ }),
-
-/***/ "MKE3":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-
-/***/ "MeW5":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-module.exports = {"minus":"minus__2d_8r"};
-
-/***/ }),
-
-/***/ "P9k+":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-module.exports = {"panel":"panel__22fOQ"};
-
-/***/ }),
-
-/***/ "ddTt":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-module.exports = {"plus":"plus__1JPyf"};
-
-/***/ }),
-
-/***/ "jHTF":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ }),
-
-/***/ "qMTX":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-module.exports = {"copyright":"copyright__TBGn1"};
-
-/***/ }),
-
-/***/ "tO1d":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-module.exports = {"todo":"todo__5Soco"};
-
-/***/ }),
-
-/***/ "xHuH":
-/***/ (function(module, exports) {
-
-// removed by extract-text-webpack-plugin
-
-/***/ })
-
-/******/ });
-//# sourceMappingURL=ssr-bundle.js.map
\ No newline at end of file
diff --git a/docs/ssr-build/ssr-bundle.js.map b/docs/ssr-build/ssr-bundle.js.map
deleted file mode 100644
index a963b54..0000000
--- a/docs/ssr-build/ssr-bundle.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack:///webpack/bootstrap 5071ce9d411d3d006424","webpack:///./components/latex.css","webpack:///./pages/fisica.css","webpack:///./components/split.css","webpack:///./pages/home.css","webpack:///../node_modules/showdown/dist/showdown.js","webpack:///../node_modules/preact-router/dist/preact-router.es.js","webpack:///./components/panel.js","webpack:///./components/split.js","webpack:///./components/todo.js","webpack:///./pages/home.js","webpack:///./components/latex.js","webpack:///./components/plus.js","webpack:///./components/minus.js","webpack:///./pages/fisica.js","webpack:///./components/markdown.js","webpack:///./pages/vldigeometria.js","webpack:///./pages/mingwinstall.js","webpack:///./components/copyright.js","webpack:///./index.js","webpack:///../node_modules/preact/dist/preact.min.js","webpack:///./components/markdown.css","webpack:///./components/minus.css","webpack:///./components/panel.css","webpack:///./components/plus.css","webpack:///./pages/vldigeometria.css","webpack:///./components/copyright.css","webpack:///./components/todo.css","webpack:///./index.css"],"names":["getDefaultOpts","simple","defaultOptions","omitExtraWLInCodeBlocks","defaultValue","describe","type","noHeaderId","prefixHeaderId","rawPrefixHeaderId","ghCompatibleHeaderId","rawHeaderId","headerLevelStart","parseImgDimensions","simplifiedAutoLink","excludeTrailingPunctuationFromURLs","literalMidWordUnderscores","literalMidWordAsterisks","strikethrough","tables","tablesHeaderId","ghCodeBlocks","tasklists","smoothLivePreview","smartIndentationFix","description","disableForced4SpacesIndentedSublists","simpleLineBreaks","requireSpaceBeforeHeadingText","ghMentions","ghMentionsLink","encodeEmails","openLinksInNewWindow","backslashEscapesHTMLTags","emoji","underline","completeHTMLDocument","metadata","splitAdjacentBlockquotes","JSON","parse","stringify","ret","opt","hasOwnProperty","allOptionsOn","options","showdown","parsers","extensions","globalOptions","setFlavor","flavor","github","original","ghost","vanilla","allOn","helper","setOption","key","value","getOption","getOptions","resetOptions","name","Error","preset","option","getFlavor","getFlavorOptions","getDefaultOptions","subParser","func","isString","extension","ext","stdExtName","isUndefined","isArray","validExtension","validate","valid","error","getAllExtensions","removeExtension","resetExtensions","errMsg","i","length","baseMsg","toLowerCase","listeners","filter","regex","ln","RegExp","replace","validateExtension","console","warn","a","String","isFunction","getType","toString","call","Array","forEach","obj","callback","prop","s","escapeCharactersCallback","wholeMatch","m1","charCodeToEscape","charCodeAt","escapeCharacters","text","charsToEscape","afterBackslash","regexString","unescapeHTMLEntities","txt","rgxFindMatchPos","str","left","right","flags","f","g","indexOf","x","l","pos","t","m","start","end","exec","test","lastIndex","index","match","push","matchRecursiveRegExp","matchPos","results","slice","replaceRecursiveRegExp","replacement","repStr","finalStr","lng","bits","join","regexIndexOf","fromIndex","substring","search","splitAtIndex","encodeEmailAddress","mail","encode","ch","Math","floor","random","r","padEnd","targetLength","padString","repeat","msg","alert","log","regexes","asteriskDashAndColon","emojis","Converter","converterOptions","langExtensions","outputModifiers","setConvFlavor","parsed","raw","format","_constructor","gOpt","_parseExtension","legacyExtensionLoading","validExt","listen","rTrimInputText","rsp","rgx","_dispatch","dispatch","evtName","globals","ei","nText","makeHtml","gHtmlBlocks","gHtmlMdBlocks","gHtmlSpans","gUrls","gTitles","gDimensions","gListLevel","hashLinkCounts","converter","makeMarkdown","makeMd","src","HTMLParser","window","document","doc","createElement","innerHTML","preList","substitutePreCodeTags","clean","nodes","childNodes","mdDoc","node","n","child","nodeType","nodeValue","removeChild","split","pres","querySelectorAll","presPH","childElementCount","firstChild","tagName","content","trim","language","getAttribute","classes","className","c","matches","outerHTML","setAttribute","addExtension","useExtension","extensionName","splice","ii","output","getMetadata","getMetadataFormat","_setMetadataPair","_setMetadataFormat","_setMetadataRaw","writeAnchorTag","linkText","linkId","url","m5","m6","title","result","wm","st","escape","mentions","username","lnk","target","simpleURLRegex","simpleURLRegex2","delimUrlRegex","simpleMailRegex","delimMailRegex","replaceLink","leadingMagicChars","link","m2","m3","trailingPunctuation","trailingMagicChars","lnkTxt","append","lmc","tmc","replaceMail","b","href","bq","pre","pattern","codeblock","nextChar","doctype","doctypeParsed","charset","lang","meta","leadingText","numSpaces","emojiRgx","emojiCode","tags","comments","delim","repFunc","blockText","blockTags","inside","opTagPos","rgx1","patLeft","patRight","subTexts","newSubText1","concat","hashHTMLSpan","html","repText","limit","num","$1","isNaN","parseInt","setextRegexH1","setextRegexH2","spanGamut","hID","headerId","hLevel","hashBlock","matchFound","atxStyle","hText","customizedHeaderId","span","header","prefix","inlineRegExp","crazyRegExp","base64RegExp","referenceRegExp","refShortcutRegExp","writeImageTagBase64","altText","width","height","writeImageTag","gDims","parseInside","lead","processListItems","listStr","trimTrailing","isParagraphed","m4","taskbtn","checked","item","bulletStyle","otp","wm2","styleStartNumber","list","listType","res","parseConsecutiveLists","olRgx","ulRgx","counterRxg","parseCL","style","parseMetadataContents","wholematch","grafs","grafsOut","grafsOutIt","codeFlag","$2","re","base64Regex","replaceFunc","blankLines","tableRgx","singeColTblRgx","parseStyles","sLine","parseHeaders","id","tableHeaderId","parseCells","cell","subText","buildTable","headers","cells","tb","tblLgn","parseTable","rawTable","tableLines","rawHeaders","map","rawStyles","rawCells","styles","shift","row","charCodeToReplace","fromCharCode","hasChildNodes","children","childrenLength","innerTxt","headerLevel","headerMark","hasAttribute","listItems","listItemsLenght","listNum","bullet","listItemTxt","childrenLenght","spansOnly","data","tableArray","headings","rows","headContent","allign","cols","getElementsByTagName","cellContent","cellSpacesCount","strLen","root","define","module","exports","EMPTY$1","assign","props","route","opts","reg","p","decodeURIComponent","segmentize","max","i$1","charAt","param","plus","star","val","default","pathRankSort","rank","prepareVNodeForRanking","vnode","rankChild","attributes","rankSegment","segment","path","customHistory","ROUTERS","subscribers","EMPTY","isPreactElement","__preactattr_","Symbol","for","setUrl","history","getCurrentUrl","location","getCurrentLocation","pathname","canRoute","routeTo","didRoute","routeFromLink","handleLinkClick","e","button","currentTarget","prevent","stopImmediatePropagation","stopPropagation","preventDefault","delegateLinkHandler","ctrlKey","metaKey","altKey","shiftKey","nodeName","toUpperCase","parentNode","eventListenersInitialized","initEventListeners","addEventListener","Router","Component$$1","state","__proto__","prototype","Object","create","constructor","shouldComponentUpdate","static","onChange","getMatchingChildren","_didRoute","setState","updating","forceUpdate","componentWillMount","componentDidMount","this$1","unlisten","componentWillUnmount","componentWillUpdate","componentDidUpdate","invoke","sort","newProps","ref","cloneElement","Boolean","render","ref$1","active","current","previous","previousUrl","router","Component","Link","h","onClick","Route","component","Panel","panel","Split","percent","count","splitchild","element","Todo","todo","Home","Latex","equation","latex","Plus","Minus","minus","Fisica","Markdown","__html","VlDiGeometria","MingwInstall","Copyright","copyright","App","o","W","arguments","P","pop","T","M","__d","V","debounceRendering","D","splitText","_componentConstructor","__n","u","defaultProps","createElementNS","cssText","E","_","removeEventListener","__l","removeAttribute","removeAttributeNS","setAttributeNS","event","A","afterMount","d","H","R","ownerSVGElement","B","appendChild","_component","createTextNode","replaceChild","v","N","nextSibling","dangerouslySetInnerHTML","y","w","C","k","__k","insertBefore","lastChild","previousSibling","F","U","__b","__x","__r","getDerivedStateFromProps","base","componentWillReceiveProps","context","__c","__p","syncComponentUpdates","__s","S","getChildContext","getSnapshotBeforeUpdate","L","__u","afterUpdate","__h","beforeUnmount","Promise","resolve","then","bind","setTimeout","j","createRef","rerender","self","preact"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;;AC7DA;AACA,kBAAkB,wB;;;;;;;ACDlB,yC;;;;;;;ACAA;AACA,kBAAkB,yD;;;;;;;ACDlB,yC;;;;;;;ACAA,mC,CAAC;AACD,CAAC,YAAU;AACX;;;;AAIA,WAASA,cAAT,CAAyBC,MAAzB,EAAiC;AAC/B;;AAEA,QAAIC,iBAAiB;AACnBC,+BAAyB;AACvBC,sBAAc,KADS;AAEvBC,kBAAU,uDAFa;AAGvBC,cAAM;AAHiB,OADN;AAMnBC,kBAAY;AACVH,sBAAc,KADJ;AAEVC,kBAAU,iCAFA;AAGVC,cAAM;AAHI,OANO;AAWnBE,sBAAgB;AACdJ,sBAAc,KADA;AAEdC,kBAAU,6JAFI;AAGdC,cAAM;AAHQ,OAXG;AAgBnBG,yBAAmB;AACjBL,sBAAc,KADG;AAEjBC,kBAAU,sKAFO;AAGjBC,cAAM;AAHW,OAhBA;AAqBnBI,4BAAsB;AACpBN,sBAAc,KADM;AAEpBC,kBAAU,mIAFU;AAGpBC,cAAM;AAHc,OArBH;AA0BnBK,mBAAa;AACXP,sBAAc,KADH;AAEXC,kBAAU,0JAFC;AAGXC,cAAM;AAHK,OA1BM;AA+BnBM,wBAAkB;AAChBR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AAT,EAAW;AAACA,WAAG,KAAKwJ,GAAL,CAASnf,IAAT,CAAc2V,CAAd,CAAH,EAAoBvW,EAAE,IAAF,EAAO,CAAP,CAApB;AAA8B,KAA1N,EAA2NsZ,QAAO,kBAAU,CAAE,CAA9O,EAAd,EAA+P,IAAIgH,IAAE,EAACvG,GAAExD,CAAH,EAAKhR,eAAcgR,CAAnB,EAAqB6C,cAAauC,CAAlC,EAAoC4E,WAAUX,CAA9C,EAAgD/F,WAAUgF,CAA1D,EAA4DvF,QAAOmG,CAAnE,EAAqEe,UAASrjB,CAA9E,EAAgF1C,SAAQwhB,CAAxF,EAAN,CAAiG,QAA2BzI,OAAOC,OAAP,GAAe6M,CAA1C,GAA4CG,KAAKC,MAAL,GAAYJ,CAAxD;AAA0D,CAAvsQ,EAAD;AACA,sC;;;;;;;ACDA,yC;;;;;;;ACAA;AACA,kBAAkB,wB;;;;;;;ACDlB;AACA,kBAAkB,wB;;;;;;;ACDlB;AACA,kBAAkB,sB;;;;;;;ACDlB,yC;;;;;;;ACAA;AACA,kBAAkB,gC;;;;;;;ACDlB;AACA,kBAAkB,sB;;;;;;;ACDlB,yC","file":"ssr-bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"JkW7\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5071ce9d411d3d006424","// removed by extract-text-webpack-plugin\nmodule.exports = {\"latex\":\"latex__34DCT\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/latex.css\n// module id = +uq9\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./pages/fisica.css\n// module id = 0lnO\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"split\":\"split__2Bl8C\",\"splitchild\":\"splitchild__3Ip86\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/split.css\n// module id = 1EpE\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./pages/home.css\n// module id = 36Ou\n// module chunks = 0",";/*! showdown v 1.9.1 - 02-11-2019 */\r\n(function(){\r\n/**\n * Created by Tivie on 13-07-2015.\n */\n\nfunction getDefaultOpts (simple) {\n 'use strict';\n\n var defaultOptions = {\n omitExtraWLInCodeBlocks: {\n defaultValue: false,\n describe: 'Omit the default extra whiteline added to code blocks',\n type: 'boolean'\n },\n noHeaderId: {\n defaultValue: false,\n describe: 'Turn on/off generated header id',\n type: 'boolean'\n },\n prefixHeaderId: {\n defaultValue: false,\n describe: 'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \\'section-\\' prefix',\n type: 'string'\n },\n rawPrefixHeaderId: {\n defaultValue: false,\n describe: 'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the \" char is used in the prefix)',\n type: 'boolean'\n },\n ghCompatibleHeaderId: {\n defaultValue: false,\n describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',\n type: 'boolean'\n },\n rawHeaderId: {\n defaultValue: false,\n describe: 'Remove only spaces, \\' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',\n type: 'boolean'\n },\n headerLevelStart: {\n defaultValue: false,\n describe: 'The header blocks level start',\n type: 'integer'\n },\n parseImgDimensions: {\n defaultValue: false,\n describe: 'Turn on/off image dimension parsing',\n type: 'boolean'\n },\n simplifiedAutoLink: {\n defaultValue: false,\n describe: 'Turn on/off GFM autolink style',\n type: 'boolean'\n },\n excludeTrailingPunctuationFromURLs: {\n defaultValue: false,\n describe: 'Excludes trailing punctuation from links generated with autoLinking',\n type: 'boolean'\n },\n literalMidWordUnderscores: {\n defaultValue: false,\n describe: 'Parse midword underscores as literal underscores',\n type: 'boolean'\n },\n literalMidWordAsterisks: {\n defaultValue: false,\n describe: 'Parse midword asterisks as literal asterisks',\n type: 'boolean'\n },\n strikethrough: {\n defaultValue: false,\n describe: 'Turn on/off strikethrough support',\n type: 'boolean'\n },\n tables: {\n defaultValue: false,\n describe: 'Turn on/off tables support',\n type: 'boolean'\n },\n tablesHeaderId: {\n defaultValue: false,\n describe: 'Add an id to table headers',\n type: 'boolean'\n },\n ghCodeBlocks: {\n defaultValue: true,\n describe: 'Turn on/off GFM fenced code blocks support',\n type: 'boolean'\n },\n tasklists: {\n defaultValue: false,\n describe: 'Turn on/off GFM tasklist support',\n type: 'boolean'\n },\n smoothLivePreview: {\n defaultValue: false,\n describe: 'Prevents weird effects in live previews due to incomplete input',\n type: 'boolean'\n },\n smartIndentationFix: {\n defaultValue: false,\n description: 'Tries to smartly fix indentation in es6 strings',\n type: 'boolean'\n },\n disableForced4SpacesIndentedSublists: {\n defaultValue: false,\n description: 'Disables the requirement of indenting nested sublists by 4 spaces',\n type: 'boolean'\n },\n simpleLineBreaks: {\n defaultValue: false,\n description: 'Parses simple line breaks as
(GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*([^>\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,\n base64Regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*(data:.+?\\/.+?;base64,[A-Za-z0-9+/=\\n]+?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","import { Component, cloneElement, h } from 'preact';\n\nvar EMPTY$1 = {};\n\nfunction assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t\tc = url.match(reg),\n\t\tmatches = {},\n\t\tret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i=0; i b.rank) ? -1 :\n\t\t(a.index - b.index)\n\t);\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0)==':' ? (1 + '*+?'.indexOf(segment.charAt(segment.length-1))) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_!=null || typeof Symbol!=='undefined' && node[Symbol.for('preactattr')]!=null;\n}\n\nfunction setUrl(url, type) {\n\tif ( type === void 0 ) type='push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t}\n\telse if (typeof history!=='undefined' && history[type+'State']) {\n\t\thistory[type+'State'](null, null, url);\n\t}\n}\n\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t}\n\telse if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t}\n\telse {\n\t\turl = typeof location!=='undefined' ? location : EMPTY;\n\t}\n\treturn (\"\" + (url.pathname || '') + (url.search || ''));\n}\n\n\n\nfunction route(url, replace) {\n\tif ( replace === void 0 ) replace=false;\n\n\tif (typeof url!=='string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i=ROUTERS.length; i--; ) {\n\t\tif (ROUTERS[i].canRoute(url)) { return true; }\n\t}\n\treturn false;\n}\n\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i=0; i 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo (url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) { return this.canRoute(url); }\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount () {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount () {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo((\"\" + (location.pathname || '') + (location.search || '')));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount () {\n\t\tif (typeof this.unlisten==='function') { this.unlisten(); }\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate () {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate () {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren (children, url, invoke) {\n\t\treturn children\n\t\t\t.filter(prepareVNodeForRanking)\n\t\t\t.sort(pathRankSort)\n\t\t\t.map( function (vnode) {\n\t\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\t\tif (matches) {\n\t\t\t\t\tif (invoke !== false) {\n\t\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\t\tassign(newProps, matches);\n\t\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\t\treturn cloneElement(vnode, newProps);\n\t\t\t\t\t}\n\t\t\t\t\treturn vnode;\n\t\t\t\t}\n\t\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render (ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url!==previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange==='function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(Component));\n\nvar Link = function (props) { return (\n\th('a', assign({ onClick: handleLinkClick }, props))\n); };\n\nvar Route = function (props) { return h(props.component, props); };\n\nRouter.subscribers = subscribers;\nRouter.getCurrentUrl = getCurrentUrl;\nRouter.route = route;\nRouter.Router = Router;\nRouter.Route = Route;\nRouter.Link = Link;\n\nexport { subscribers, getCurrentUrl, route, Router, Route, Link };export default Router;\n//# sourceMappingURL=preact-router.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-router/dist/preact-router.es.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n let percent = 100 / this.props.children.count;\n let children = null;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return ({element});\n });\n }\n else {\n children = {this.props.children};\n }\n\t\treturn {children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './home.css'\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Todo from '../components/todo';\r\n\r\nexport default class Home extends Component {\r\n render() {\r\n return (\r\n \r\n Appuntiweb di Steffo
\r\n \r\n Argomenti\r\n
\r\n \r\n \r\n \r\n Fisica\r\n
\r\n \r\n Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n \r\n \r\n Sistemi Operativi\r\n
\r\n \r\n Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n \r\n \r\n Algoritmi e Strutture Dati\r\n
\r\n \r\n Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.\r\n
\r\n \r\n \r\n \r\n Videolezioni di Geometria\r\n
\r\n \r\n Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.\r\n
\r\n \r\n \r\n \r\n Come installare MinGW\r\n
\r\n \r\n Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows. \r\n
\r\n \r\n \r\n \r\n Altre collegamenti utili\r\n
\r\n \r\n \r\n \r\n @unimoreinfo\r\n
\r\n \r\n Il gruppo Telegram del corso di Informatica dell'Unimore! \r\n
\r\n \r\n \r\n \r\n Calendario Lezioni\r\n
\r\n \r\n Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.\r\n
\r\n \r\n \r\n \r\n Erre2\r\n
\r\n \r\n Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.\r\n
\r\n \r\n \r\n \r\n vezzalinistefano/Appunti-Algoritmi\r\n
\r\n \r\n Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.\r\n
\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/home.js","import style from \"./latex.css\";\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }` \n\t\treturn ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./plus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Plus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Minus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n \n Fisica
\n Vettori
\n \n \n \n Componenti cartesiane\n
\n \n Usa le regole base della trigonometria:\n
\n \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`} \n
\n \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`} \n
\n \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`} \n
\n \n \n \n Somma\n
\n \n Scomponi in componenti, poi sommali:\n
\n \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`} \n
\n \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n
\n \n \n \n Differenza\n
\n \n Alla fine è sempre una somma:\n
\n \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`} \n
\n \n Produce il vettore che parte da w e arriva a v .\n
\n \n \n \n Prodotto scalare\n
\n \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n
\n \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`} \n
\n \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`} .\n
\n \n \n \n Prodotto vettoriale\n
\n \n Si chiama vettoriale perchè il risultato è un altro vettore.\n
\n \n {r`\\vec{c} = \\vec{a} \\times \\vec{b}`} \n {r`\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)`} \n - Regola della mano destra
\n
\n \n Non è commutativo!\n
\n \n \n \n Leggi di Newton\n
\n \n \n \n 1ᵃ: Inerzia\n
\n \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`} \n
\n \n \n \n 2ᵃ: Proporzionalità\n
\n \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n
\n \n {r`\\Sigma \\vec{F} = m \\vec{a}`} \n
\n \n \n \n 3ᵃ: Azione e reazione\n
\n \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n
\n \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`} \n
\n \n \n \n Forza di gravità\n
\n \n \n \n Tra due corpi\n
\n \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n
\n \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`} \n
\n \n G è la costante di gravitazione universale e vale:\n
\n \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`} \n
\n \n \n \n Verso la Terra\n
\n \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n g è la costante di gravità della Terra, e vale:\n
\n \n {r`g = 9.81 \\frac{m}{s^2}`} \n
\n \n \n \n Su pianeti diversi\n
\n \n Per pianeti diversi dalla Terra vale la stessa regola:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n L'unica differenza è che cambia la costante di gravità:\n
\n \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`} \n
\n \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`} \n
\n \n \n \n Forze di contatto\n
\n \n \n \n Normale\n
\n \n Si oppone alle forze applicate alla superficie di contatto.\n
\n \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n
\n \n \n \n Attrito statico\n
\n \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Attrito dinamico\n
\n \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Tensione\n
\n \n E' forza trasmessa tra due estremi di una fune.\n
\n \n Può essere redirezionata per mezzo di carrucole.\n
\n \n \n \n Elastica\n
\n \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n
\n \n {r`F = -k x`} \n
\n \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n
\n \n \n \n Cinematica\n
\n \n \n \n Spostamento\n
\n \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n
\n \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`} \n
\n \n \n \n Velocità\n
\n \n È un vettore che misura la variazione di posizione nel tempo.\n
\n \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n
\n \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`} \n
\n \n \n \n Accelerazione\n
\n \n È un vettore che misura la variazione di velocità nel tempo.\n
\n \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n
\n \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`} \n
\n \n \n \n Quantità di moto (momento lineare)\n
\n \n La quantità di moto è una proprietà vettoriale dei corpi:\n
\n \n {r`\\vec{p} = m \\vec{v}`} \n
\n \n Se la forza risultante è nulla, la quantità di moto non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`} \n
\n \n \n \n Moto rettilineo uniforme\n
\n \n \n \n Spostamento\n
\n \n La legge oraria è:\n
\n \n {r`s(t) = v \\cdot \\Delta t + s(0)`} \n
\n \n \n \n Velocità\n
\n \n È costante:\n
\n \n {r`v(t) = k`} \n
\n \n \n \n Accelerazione\n
\n \n La velocità non varia:\n
\n \n {r`a(t) = 0`} \n
\n \n \n \n Forze\n
\n \n Si applica la prima legge di Newton:\n
\n \n f(t) = 0 \n
\n \n \n \n Moto rettilineo uniformemente accelerato\n
\n \n \n \n Spostamento\n
\n \n La legge oraria è:\n
\n \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`} \n
\n \n \n \n Velocità\n
\n \n È una retta:\n
\n \n {r`v(t) = a \\Delta t + v(0)`} \n
\n \n \n \n Accelerazione\n
\n \n È costante:\n
\n \n {r`a(t) = k`} \n
\n \n \n \n Forze\n
\n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n Moto armonico semplice\n
\n \n \n \n Ampiezza\n
\n \n E' la distanza dal centro massima che raggiunge il corpo.\n
\n \n (L'ampiezza di una sinusoide.)\n
\n \n \n \n Velocità angolare\n
\n \n Indica quanto in fretta cambia la posizione del corpo. \n
\n \n Dipende dal periodo:\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n Spostamento\n
\n \n E' una sinusoide:\n
\n \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`} \n
\n \n \n \n Velocità\n
\n \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`} :\n
\n \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`} \n
\n \n \n \n Accelerazione\n
\n \n E' la sinusoide della velocità, sfasata di {r`\\pi`} :\n
\n \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`} \n
\n \n \n \n Forze\n
\n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n Moti composti\n
\n \n \n \n Moto parabolico\n
\n \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n
\n \n \n \n Moto circolare uniforme\n
\n \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`} , sull'asse Y.\n
\n \n \n \n Moto circolare uniforme\n
\n \n \n \n Velocità angolare\n
\n \n Quanto cambia la fase nel tempo.\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n Fase\n
\n \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n
\n \n Si indica con {r`\\phi`} , e generalmente si usa in radianti.\n
\n \n \n \n Velocità\n
\n \n Si applicano le formule per la circonferenza:\n
\n \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`} \n
\n \n \n \n Accelerazione\n
\n \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n
\n \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`} \n
\n \n \n \n Forza centripeta\n
\n \n È verso il centro e si calcola con:\n
\n \n {r`F = m \\cdot a`} \n
\n \n \n \n Lavoro ed energia\n
\n \n \n \n Lavoro\n
\n \n E' compiuto da una forza che sposta un corpo.\n
\n \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`} \n
\n \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n
\n \n \n \n Energia cinetica\n
\n \n Un corpo ha energia cinetica in ogni momento uguale a:\n
\n \n {r`E_c = \\frac{1}{2} m v^2`} \n
\n \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n
\n \n {r`\\Delta E_c = W`} \n
\n \n \n \n Energia potenziale gravitazionale\n
\n \n Un corpo ha energia potenziale in ogni momento pari a: \n
\n \n {r`E_{p_g} = m \\cdot g \\cdot h`} \n
\n \n (Con h uguale a un altezza scelta come punto di riferimento.)\n
\n \n \n \n Energia potenziale elastica\n
\n \n Una molla ha sempre energia potenziale elastica pari a:\n
\n \n {r`E_{p_e} = \\frac{1}{2} k x^2`} \n
\n \n \n \n Forze conservative\n
\n \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n
\n \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n
\n \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n
\n \n {r`E = E_k + E_p`} \n
\n \n \n \n Potenza\n
\n \n È la velocità di trasferimento di energia:\n
\n \n {r`P = \\frac{\\Delta E}{\\Delta t}`} \n
\n \n \n \n Elettrostatica\n
\n \n \n \n Carica elettrica\n
\n \n È una proprietà dei corpi che può essere positiva o negativa .\n
\n \n Si conserva: in un sistema chiuso la carica totale è costante.\n
\n \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`} .\n
\n \n Cariche opp oste si attraggono; cariche uguali si respingono.\n
\n \n \n \n Conduttori e isolanti\n
\n \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n
\n \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n
\n \n Il corpo umano è un buon conduttore.\n
\n \n \n \n Polarizzazione\n
\n \n \n \n Polarizzazione\n
\n \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n
\n \n \n \n \n \n Messa a terra\n
\n \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n
\n \n \n \n \n \n Polarizzazione per strofinio\n
\n \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n
\n \n \n \n Polarizzazione per contatto\n
\n \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n
\n \n \n \n Polarizzazione per induzione\n
\n \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n
\n \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n
\n \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n
\n \n \n \n Forza elettrica\n
\n \n \n \n Legge di Coulomb\n
\n \n Due corpi carichi si attraggono tra loro con forza: \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`} \n
\n \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`} .\n
\n \n \n \n Permeabilità dello spazio vuoto\n
\n \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`} , la permeabilità del vuoto.\n
\n \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`} \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`} \n
\n \n \n \n Campo elettrico\n
\n \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n
\n \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`} \n
\n \n \n \n Flusso elettrico\n
\n \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n
\n \n È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo.\n
\n \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)`} \n
\n \n (dove {r`\\vec{S}`} è il vettore dell'area che abbiamo scelto.)\n
\n \n \n \n Legge di Gauss\n
\n \n Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno.\n
\n \n {r`\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}`} \n
\n \n E' equivalente alla Legge di Coulomb.\n
\n \n \n \n Energia elettrica\n
\n \n \n \n Energia potenziale elettrica\n
\n \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`} .\n
\n \n \n \n Circuiti elettrici\n
\n \n \n \n Potenziale elettrico (Tensione)\n
\n \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n
\n \n {r`V = \\frac{E_{elettrica}}{q}`} \n
\n \n La sua unità di misura è il Volt ({r`V`} ).\n
\n \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n
\n \n \n \n Corrente elettrica (Intensità)\n
\n \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n
\n \n {r`I = \\frac{\\Delta q}{\\Delta t}`} \n
\n \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n
\n \n La sua unità di misura è l'Ampere ({r`A`} ).\n
\n \n \n \n Corrente continua (DC)\n
\n \n Quando in un circuito la direzione della corrente è costante.\n
\n \n \n \n Corrente alternata (AC)\n
\n \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n
\n \n \n \n Potenza elettrica\n
\n \n Possiamo calcolare la potenza di un circuito:\n
\n \n {r`P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`} \n
\n \n \n \n Elementi di un circuito\n
\n \n \n \n Resistore\n
\n \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n
\n \n Il potenziale utilizzato è pari a:\n
\n \n {r`V = R \\cdot I`} \n
\n \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`} ).\n
\n \n La resistenza di un conduttore vale:\n
\n \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`} \n
\n \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n
\n \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`} \n
\n \n \n \n Condensatore\n
\n \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n
\n \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n
\n \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n
\n \n {r`C = \\frac{q_{massima}}{\\Delta V}`} \n
\n \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n
\n \n La capacità aumenta se viene messo qualcosa tra le armature:\n
\n \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`} \n
\n \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`d`} la distanza tra le due armature.\n
\n \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n
\n \n La sua unità di misura è il Farad ({r`Fa`} )\n
\n \n \n \n Amperometro\n
\n \n Misura la corrente elettrica se messo in serie.\n
\n \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n
\n \n \n \n Voltmetro\n
\n \n Misura la differenza di potenziale se messo in parallelo.\n
\n \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n
\n \n \n \n Principi di Kirchhoff\n
\n \n \n \n Legge dei nodi\n
\n \n Per nodo si intende un qualsiasi punto del circuito.\n
\n \n Da un nodo entra ed esce la stessa corrente.\n
\n \n \n \n Legge delle maglie\n
\n \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n
\n \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n
\n \n \n \n Serie e Parallelo\n
\n \n \n \n Circuito in serie\n
\n \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n
\n \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n
\n \n \n \n Circuito in parallelo\n
\n \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n
\n \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n
\n \n \n \n Resistenze equivalenti\n
\n \n \n \n Circuiti in serie\n
\n \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:\n
\n \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`} \n
\n \n \n \n Circuiti in parallelo\n
\n \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:\n
\n \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`} \n
\n \n \n \n Condensatori equivalenti\n
\n \n \n \n Circuiti in serie\n
\n \n Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:\n
\n \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`} \n
\n \n \n \n Circuiti in parallelo\n
\n \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacità di tutti quelli sostituiti:\n
\n \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`} \n
\n \n \n \n Magnetismo\n
\n \n \n \n Permeabilità magnetica dello spazio vuoto\n
\n \n E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.\n
\n \n {r`\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}`} ({r`\\frac{N}{A^2}`} )\n
\n \n \n \n Campo magnetico\n
\n \n Come un campo elettrico, ma per i magneti.\n
\n \n Il suo simbolo è {r`B`} , e la sua unità di misura è il Tesla (T ).\n
\n \n \n \n Flusso magnetico\n
\n \n Come il flusso elettrico, ma per campi magnetici.\n
\n \n Il suo simbolo è {r`\\Phi_B`} e la sua unità di misura è il Weber ({r`Wb = T \\cdot m^2`} ).\n
\n \n \n \n Legge di Gauss per il magnetismo\n
\n \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n
\n \n \n \n Forze magnetiche\n
\n \n \n \n Forza magnetica su carica puntiforme (Forza di Lorentz)\n
\n \n I campi magnetici applicano una forza sulle cariche vicine:\n
\n \n {r`\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n
\n \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n
\n \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n
\n \n \n \n Forza magnetica in un filo\n
\n \n I campi magnetici influenzano anche le cariche presenti in un conduttore:\n
\n \n {r`\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente.\n
\n \n Modulo di L? \n
\n \n \n \n Campi magnetici\n
\n \n \n \n Campo magnetico in una spira\n
\n \n Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.\n
\n \n \n \n Campo magnetico di un solenoide\n
\n \n Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.\n
\n \n All'interno del solenoide si crea un campo (quasi) uniforme:\n
\n \n {r`\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}`} \n
\n \n \n \n Legge di Oersted\n
\n \n Caso particolare della Legge di Ampère.\n
\n \n Il modulo del campo magnetico B prodotto da un filo in cui passa una corrente continua I alla distanza s è:\n
\n \n {r`\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}`} \n
\n \n Verso di B? \n
\n \n \n \n Induzione elettromagnetica\n
\n \n \n \n Forza elettromotrice indotta\n
\n \n Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo. \n
\n \n La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore. \n
\n \n Essa vale:\n
\n \n {r`\\Delta V_{indotta} = v \\cdot B \\cdot L`} \n
\n \n Dove v è la velocità del conduttore, B è l'intensità del campo magnetico ed L è la lunghezza del conduttore.\n
\n \n \n \n Flusso magnetico in una spira\n
\n \n In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Farady-Neumann-Lenz:\n
\n \n {r`\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n \n \n Legge di Faraday\n
\n \n Dice che la forza elettromotrice indotta dipende dalla variazione nel tempo del flusso magnetico.\n
\n \n \n \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n return ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class VlDiGeometria extends Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n Videolezioni di Geometria
\r\n \r\n {r`\r\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\r\n\r\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\r\n\r\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\r\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\r\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\r\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\r\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\r\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\r\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\r\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\r\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\r\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\r\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\r\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\r\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\r\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\r\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\r\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\r\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\r\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\r\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\r\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\r\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\r\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\r\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\r\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\r\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\r\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\r\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\r\n\r\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\r\n `} \r\n \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/vldigeometria.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class MingwInstall extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Come installare MinGW
\r\n \r\n\t\t\t\t\t Scaricate l'installer ufficiale,\r\n\t\t\t\t\t\ted eseguitelo.
\r\n\t\t\t\t\t Dovrebbe comparire questa schermata. Cliccate su Install
, poi scegliete una cartella di installazione\r\n\t\t\t\t\t\t(ricordatevela!) e poi Continue
. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate,\r\n\t\t\t\t\t\ttranne For all users
, che dovrebbe essere disattivato.
\r\n\t\t\t\t\t Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto\r\n\t\t\t\t\t\tContinue
. Premetelo.
\r\n\t\t\t\t\t Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo apt
su\r\n\t\t\t\t\t\tUbuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità.
\r\n\t\t\t\t\t Nel nostro caso, dovrebbero servirci mingw32-base-bin
(per il C e alcune librerie C++) e\r\n\t\t\t\t\t\tmingw32-gcc-g++-bin
(per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete\r\n\t\t\t\t\t\tMark for Installation
. Dovrebbe comparire una freccia gialla sul quadratino.
\r\n\t\t\t\t\t Ora, è il momento di installare i pacchetti. Aprite il menù Installation
, poi premete\r\n\t\t\t\t\t\tApply Changes
, e di nuovo Apply
.
\r\n\t\t\t\t\t Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate\r\n\t\t\t\t\t\tdopo circa 10 minuti.
\r\n\t\t\t\t\t Una volta installato, dobbiamo aggiungere g++
ai programmi eseguibili da Prompt dei Comandi: premete il\r\n\t\t\t\t\t\ttasto Windows, e scrivete PATH
. Windows dovrebbe trovarvi automaticamente quell'opzione.
\r\n\t\t\t\t\t\r\n\t\t\t\t\t Dentro la finestra di Proprietà del Sistema, premete Variabili d'ambiente
.
\r\n\t\t\t\t\t Trovate la variabile d'ambiente globale Path
, e fateci doppio click per modificarla.
\r\n\t\t\t\t\t Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere\r\n\t\t\t\t\t\tquella di MinGW! Premete Sfoglia
.
\r\n\t\t\t\t\t Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la\r\n\t\t\t\t\t\tsottocartella bin
e premete OK
su tutte le finestre che avete aperto fino ad ora,\r\n\t\t\t\t\t\tchiudendole.
\r\n\t\t\t\t\t Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione\r\n\t\t\t\t\t\tgcc
e g++
sul Prompt dei Comandi, e potete finalmente creare dei file .exe!
\r\n\t\t\t\t \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/mingwinstall.js","import style from \"./copyright.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Copyright extends Component {\r\n\trender() {\r\n\t\treturn © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente;\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import style from './index.css';\nimport { Component } from 'preact';\nimport Router from 'preact-router';\nimport Home from './pages/home';\nimport Fisica from './pages/fisica';\nimport VlDiGeometria from './pages/vldigeometria';\nimport MingwInstall from './pages/mingwinstall';\nimport Copyright from './components/copyright';\n\nconst r = String.raw;\n\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;Cconduttori, mentre quelli in cui si muove difficilmente sono isolanti.
- Il corpo umano è un buon conduttore.
+ Il corpo umano è un buon conduttore.
@@ -592,27 +592,30 @@ export default class Fisica extends Component {
È la differenza tra "quanto" campo elettrico entra e quanto campo elettrico esce da una certa area.
- È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo.
+ In qualsiasi superficie chiusa, il flusso elettrico è uguale alla componente perpendicolare del campo elettrico moltiplicato per l'area.
+
+
+ {r`\Phi_E = \vec{E} \cdot \vec{A}`}
Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:
- {r`\Phi_E = \vec{E} \cdot \vec{S} = E \cdot S \cdot \cos(\phi)`}
+ {r`\Phi_E = \vec{E} \cdot \vec{A} = E_\perp \cdot A \cdot \cos(\alpha)`}
-
- (dove {r`\vec{S}`} è il vettore dell'area che abbiamo scelto.)
+
+ Circa. E' una specie di integrale...
-
+
- Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno.
+ Il flusso elettrico è direttamente proporzionale alla carica presente all'interno della superficie.
- {r`\Phi_E = \frac{q_{interna}}{\epsilon_0}`}
+ {r`\Phi_E = 4 \pi \cdot k \cdot q = \frac{q}{\epsilon_0}`}
- E' equivalente alla Legge di Coulomb.
+ Ovvero, i campi elettrostatici sono generati dalle cariche elettriche.
@@ -838,16 +841,36 @@ export default class Fisica extends Component {
- Come il flusso elettrico, ma per campi magnetici.
+ È "quanto" campo magnetico attraversa un percorso chiuso.
- Il suo simbolo è {r`\Phi_B`} e la sua unità di misura è il Weber ({r`Wb = T \cdot m^2`} ).
+ Per qualsiasi percorso chiuso, il flusso magnetico è uguale alla componente parallela del campo moltiplicata per la lunghezza del percorso:
+
+
+ {r`\Phi_B = \vec{B} \cdot \vec{L} = B_\parallel \cdot L \cdot \sin(\alpha)`}
+
+
+ La sua unità di misura è il Weber ({r`Wb = T \cdot m^2`} ).
+
+
+ Circa. E' una specie di integrale...
-
+
Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.
+
+ Ovvero, non esistono monopoli magnetici.
+
+
+
+
+ L'intensità di corrente che attraversa un percorso chiuso è direttamente proporzionale al flusso magnetico dello stesso percorso.
+
+
+ \Phi_B = \mu_0 \cdot I
+
@@ -873,16 +896,13 @@ export default class Fisica extends Component {
- I campi magnetici influenzano anche le cariche presenti in un conduttore:
+ I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:
- {r`\vec{F}_{magnetica} = I \cdot (\vec{L} \times \vec{B})`}
+ {r`\vec{F}_{magnetica} = I \cdot (\vec{L} \times \vec{B})`} [1]
- Dove {r`\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente.
-
-
- Modulo di L?
+ Dove {r`I`} è la corrente elettrica, {r`\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore.
@@ -914,7 +934,10 @@ export default class Fisica extends Component {
{r`\left | \vec{B} \right | = \frac{\mu \cdot I}{2 \pi r}`}
- Verso di B?
+ Il campo magnetico così creato gira attorno al filo in senso antiorario.
+
+
+ Due fili attraversati dalla stessa corrente si attraggono, due fili attraversati da corr enti opp oste si respingono.
@@ -938,15 +961,66 @@ export default class Fisica extends Component {
- In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Farady-Neumann-Lenz:
+ In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Faraday-Neumann-Lenz:
{r`\Phi_B = \vec{B} \cdot \vec{A} = B \cdot A \cdot \cos(\alpha)`}
+
+
- Dice che la forza elettromotrice indotta dipende dalla variazione nel tempo del flusso magnetico.
+ Dice che la forza elettromotrice indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso.
+
+
+ {r`\Delta V_{indotta} = - \frac{\Delta \Phi_B}{\Delta t}`}
+
+
+
+
+ In un solenoide, la forza elettromotrice indotta è uguale a:
+
+
+ {r`\Delta V_{indotta} = - N \frac{\Delta \Phi_B}{\Delta t}`}
+
+
+ Dove {r`N`} è il numero delle spire del solenoide.
+
+
+
+
+ Correnti o campi elettrici variabili creano un campo magnetico.
+
+
+
+
+
+
+ Nel vuoto, il campo elettrico E e il campo magnetico B sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo.
+
+
+ Si dice quindi che sono onde elettromagnetiche.
+
+
+ Esse sono legate dalla relazione:
+
+
+ {r`E = c \cdot B`}
+
+
+ Dove {r`c`} è la velocità delle onde (luce) nel vuoto, e a sua volta è uguale a:
+
+
+ {r`c = \frac{1}{\sqrt{\epsilon_0 \cdot \mu_0}} = 3.00 \cdot 10^8 \frac{m}{s}`}
+
+
+
+
+ {r`A(t) = A_{max} \cdot \sin \left ( \frac{2 \pi}{\lambda} - \omega t + \phi \right )`}
+
+
+ Dove {r`A_{max}`} è l'ampiezza massima che può avere l'onda, {r`\frac{2 \pi}{\lambda} = \left | \vec{k} \right |`} è il vettore d'onda, {r`\omega`} la frequenza angolare e {r`\phi`} la fase.