main.js 150 KB

12
  1. (function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:false,exports:{}};e[n].call(i.exports,i,i.exports,r);i.l=true;return i.exports}r.m=e;r.c=t;r.d=function(e,t,n){if(!r.o(e,t))Object.defineProperty(e,t,{configurable:false,enumerable:true,get:n})};r.n=function(e){var t=e&&e.__esModule?function t(){return e["default"]}:function t(){return e};r.d(t,"a",t);return t};r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};r.p="";return r(r.s=21)})([function(e,t,r){"use strict";function n(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===n(e)}var s=Object.prototype.hasOwnProperty;function a(e,t){return s.call(e,t)}function o(e){var t=Array.prototype.slice.call(arguments,1);t.forEach(function(t){if(!t)return;if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})});return e}function l(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function u(e){if(e>=55296&&e<=57343)return false;if(e>=64976&&e<=65007)return false;if(65535===(65535&e)||65534===(65535&e))return false;if(e>=0&&e<=8)return false;if(11===e)return false;if(e>=14&&e<=31)return false;if(e>=127&&e<=159)return false;if(e>1114111)return false;return true}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var f=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g;var p=/&([a-z#][a-z0-9]{1,31});/gi;var h=new RegExp(f.source+"|"+p.source,"gi");var d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var m=r(11);function v(e,t){var r=0;if(a(m,t))return m[t];if(35===t.charCodeAt(0)&&d.test(t)){r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10);if(u(r))return c(r)}return e}function g(e){if(e.indexOf("\\")<0)return e;return e.replace(f,"$1")}function _(e){if(e.indexOf("\\")<0&&e.indexOf("&")<0)return e;return e.replace(h,function(e,t,r){if(t)return t;return v(e,r)})}var b=/[&<>"]/;var y=/[&<>"]/g;var k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function x(e){return k[e]}function w(e){if(b.test(e))return e.replace(y,x);return e}var C=/[.?*+^$[\]\\(){}|-]/g;function A(e){return e.replace(C,"\\$&")}function D(e){switch(e){case 9:case 32:return true}return false}function E(e){if(e>=8192&&e<=8202)return true;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return true}return false}var S=r(5);function q(e){return S.test(e)}function T(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return true;default:return false}}function L(e){return e.trim().replace(/\s+/g," ").toUpperCase()}t.lib={};t.lib.mdurl=r(12);t.lib.ucmicro=r(36);t.assign=o;t.isString=i;t.has=a;t.unescapeMd=g;t.unescapeAll=_;t.isValidEntityCode=u;t.fromCodePoint=c;t.escapeHtml=w;t.arrayReplaceAt=l;t.isSpace=D;t.isWhiteSpace=E;t.isMdAsciiPunct=T;t.isPunctChar=q;t.escapeRE=A;t.normalizeReference=L},function(e,t,r){(function(t,r){(function(){"use strict";function n(e,t,r,n,i,s){return{tag:e,key:t,attrs:r,children:n,text:i,dom:s,domSize:void 0,state:void 0,_state:void 0,events:void 0,instance:void 0,skip:false}}n.normalize=function(e){if(Array.isArray(e))return n("[",void 0,void 0,n.normalizeChildren(e),void 0,void 0);if(null!=e&&"object"!==typeof e)return n("#",void 0,void 0,false===e?"":e,void 0,void 0);return e};n.normalizeChildren=function e(t){for(var r=0;r<t.length;r++)t[r]=n.normalize(t[r]);return t};var i=/(?:(^|#|\.)([^#\.\[\]]+))|(\[(.+?)(?:\s*=\s*("|'|)((?:\\["'\]]|.)*?)\5)?\])/g;var s={};var a={}.hasOwnProperty;function o(e){for(var t in e)if(a.call(e,t))return false;return true}function l(e){var t,r="div",n=[],a={};while(t=i.exec(e)){var o=t[1],l=t[2];if(""===o&&""!==l)r=l;else if("#"===o)a.id=l;else if("."===o)n.push(l);else if("["===t[3][0]){var u=t[6];if(u)u=u.replace(/\\(["'])/g,"$1").replace(/\\\\/g,"\\");if("class"===t[4])n.push(u);else a[t[4]]=""===u?u:u||true}}if(n.length>0)a.className=n.join(" ");return s[e]={tag:r,attrs:a}}function u(e,t,r){var i=false,s,l;var u=t.className||t.class;if(!o(e.attrs)&&!o(t)){var c={};for(var f in t)if(a.call(t,f))c[f]=t[f];t=c}for(var f in e.attrs)if(a.call(e.attrs,f))t[f]=e.attrs[f];if(void 0!==u){if(void 0!==t.class){t.class=void 0;t.className=u}if(null!=e.attrs.className)t.className=e.attrs.className+" "+u}for(var f in t)if(a.call(t,f)&&"key"!==f){i=true;break}if(Array.isArray(r)&&1===r.length&&null!=r[0]&&"#"===r[0].tag)l=r[0].children;else s=r;return n(e.tag,t.key,i?t:void 0,s,l)}function c(e){var t=arguments[1],r=2,i;if(null==e||"string"!==typeof e&&"function"!==typeof e&&"function"!==typeof e.view)throw Error("The selector must be either a string or a component.");if("string"===typeof e)var a=s[e]||l(e);if(null==t)t={};else if("object"!==typeof t||null!=t.tag||Array.isArray(t)){t={};r=1}if(arguments.length===r+1){i=arguments[r];if(!Array.isArray(i))i=[i]}else{i=[];while(r<arguments.length)i.push(arguments[r++])}var o=n.normalizeChildren(i);if("string"===typeof e)return u(a,t,o);else return n(e,t.key,t,o)}c.trust=function(e){if(null==e)e="";return n("<",void 0,void 0,e,void 0,void 0)};c.fragment=function(e,t){return n("[",e.key,e,n.normalizeChildren(t),void 0,void 0)};var f=c;var p=function(e){if(!(this instanceof p))throw new Error("Promise must be called with `new`");if("function"!==typeof e)throw new TypeError("executor must be a function");var r=this,n=[],i=[],s=u(n,true),a=u(i,false);var o=r._instance={resolvers:n,rejectors:i};var l="function"===typeof t?t:setTimeout;function u(e,t){return function s(u){var f;try{if(t&&null!=u&&("object"===typeof u||"function"===typeof u)&&"function"===typeof(f=u.then)){if(u===r)throw new TypeError("Promise can't be resolved w/ itself");c(f.bind(u))}else l(function(){if(!t&&0===e.length)console.error("Possible unhandled promise rejection:",u);for(var r=0;r<e.length;r++)e[r](u);n.length=0,i.length=0;o.state=t;o.retry=function(){s(u)}})}catch(e){a(e)}}}function c(e){var t=0;function r(e){return function(r){if(t++>0)return;e(r)}}var n=r(a);try{e(r(s),n)}catch(e){n(e)}}c(e)};p.prototype.then=function(e,t){var r=this,n=r._instance;function i(e,t,r,i){t.push(function(t){if("function"!==typeof e)r(t);else try{s(e(t))}catch(e){if(a)a(e)}});if("function"===typeof n.retry&&i===n.state)n.retry()}var s,a;var o=new p(function(e,t){s=e,a=t});i(e,n.resolvers,s,true),i(t,n.rejectors,a,false);return o};p.prototype.catch=function(e){return this.then(null,e)};p.resolve=function(e){if(e instanceof p)return e;return new p(function(t){t(e)})};p.reject=function(e){return new p(function(t,r){r(e)})};p.all=function(e){return new p(function(t,r){var n=e.length,i=0,s=[];if(0===e.length)t([]);else for(var a=0;a<e.length;a++)(function(a){function o(e){i++;s[a]=e;if(i===n)t(s)}if(null!=e[a]&&("object"===typeof e[a]||"function"===typeof e[a])&&"function"===typeof e[a].then)e[a].then(o,r);else o(e[a])})(a)})};p.race=function(e){return new p(function(t,r){for(var n=0;n<e.length;n++)e[n].then(t,r)})};if("undefined"!==typeof window){if("undefined"===typeof window.Promise)window.Promise=p;var p=window.Promise}else if("undefined"!==typeof r){if("undefined"===typeof r.Promise)r.Promise=p;var p=r.Promise}var h=function(e){if("[object Object]"!==Object.prototype.toString.call(e))return"";var t=[];for(var r in e)n(r,e[r]);return t.join("&");function n(e,r){if(Array.isArray(r))for(var i=0;i<r.length;i++)n(e+"["+i+"]",r[i]);else if("[object Object]"===Object.prototype.toString.call(r))for(var i in r)n(e+"["+i+"]",r[i]);else t.push(encodeURIComponent(e)+(null!=r&&""!==r?"="+encodeURIComponent(r):""))}};var d=new RegExp("^file://","i");var m=function(e,t){var r=0;var n;function i(e){n=e}function s(){var e=0;function t(){if(0===--e&&"function"===typeof n)n()}return function r(n){var i=n.then;n.then=function(){e++;var s=i.apply(n,arguments);s.then(t,function(r){t();if(0===e)throw r});return r(s)};return n}}function a(e,t){if("string"===typeof e){var r=e;e=t||{};if(null==e.url)e.url=r}return e}function o(r,n){var i=s();r=a(r,n);var o=new t(function(t,n){if(null==r.method)r.method="GET";r.method=r.method.toUpperCase();var i="GET"===r.method||"TRACE"===r.method?false:"boolean"===typeof r.useBody?r.useBody:true;if("function"!==typeof r.serialize)r.serialize="undefined"!==typeof FormData&&r.data instanceof FormData?function(e){return e}:JSON.stringify;if("function"!==typeof r.deserialize)r.deserialize=f;if("function"!==typeof r.extract)r.extract=p;r.url=u(r.url,r.data);if(i)r.data=r.serialize(r.data);else r.url=c(r.url,r.data);var s=new e.XMLHttpRequest,a=false,o=s.abort;s.abort=function e(){a=true;o.call(s)};s.open(r.method,r.url,"boolean"===typeof r.async?r.async:true,"string"===typeof r.user?r.user:void 0,"string"===typeof r.password?r.password:void 0);if(r.serialize===JSON.stringify&&i&&!(r.headers&&r.headers.hasOwnProperty("Content-Type")))s.setRequestHeader("Content-Type","application/json; charset=utf-8");if(r.deserialize===f&&!(r.headers&&r.headers.hasOwnProperty("Accept")))s.setRequestHeader("Accept","application/json, text/*");if(r.withCredentials)s.withCredentials=r.withCredentials;for(var l in r.headers)if({}.hasOwnProperty.call(r.headers,l))s.setRequestHeader(l,r.headers[l]);if("function"===typeof r.config)s=r.config(s,r)||s;s.onreadystatechange=function(){if(a)return;if(4===s.readyState)try{var e=r.extract!==p?r.extract(s,r):r.deserialize(r.extract(s,r));if(s.status>=200&&s.status<300||304===s.status||d.test(r.url))t(m(r.type,e));else{var i=new Error(s.responseText);for(var o in e)i[o]=e[o];n(i)}}catch(e){n(e)}};if(i&&null!=r.data)s.send(r.data);else s.send()});return true===r.background?o:i(o)}function l(n,i){var o=s();n=a(n,i);var l=new t(function(t,i){var s=n.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+r++;var a=e.document.createElement("script");e[s]=function(r){a.parentNode.removeChild(a);t(m(n.type,r));delete e[s]};a.onerror=function(){a.parentNode.removeChild(a);i(new Error("JSONP request failed"));delete e[s]};if(null==n.data)n.data={};n.url=u(n.url,n.data);n.data[n.callbackKey||"callback"]=s;a.src=c(n.url,n.data);e.document.documentElement.appendChild(a)});return true===n.background?l:o(l)}function u(e,t){if(null==t)return e;var r=e.match(/:[^\/]+/gi)||[];for(var n=0;n<r.length;n++){var i=r[n].slice(1);if(null!=t[i])e=e.replace(r[n],t[i])}return e}function c(e,t){var r=h(t);if(""!==r){var n=e.indexOf("?")<0?"?":"&";e+=n+r}return e}function f(e){try{return""!==e?JSON.parse(e):null}catch(t){throw new Error(e)}}function p(e){return e.responseText}function m(e,t){if("function"===typeof e)if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=new e(t[r]);else return new e(t);return t}return{request:o,jsonp:l,setCompletionCallback:i}};var v=m(window,p);var g=function(e){var t=e.document;var r=t.createDocumentFragment();var i={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"};var s;function a(e){return s=e}function o(e){return e.attrs&&e.attrs.xmlns||i[e.tag]}function l(e,t,r,n,i,s,a){for(var o=r;o<n;o++){var l=t[o];if(null!=l)u(e,l,i,a,s)}}function u(e,t,r,n,i){var s=t.tag;if("string"===typeof s){t.state={};if(null!=t.attrs)V(t.attrs,t,r);switch(s){case"#":return c(e,t,i);case"<":return f(e,t,i);case"[":return p(e,t,r,n,i);default:return h(e,t,r,n,i)}}else return m(e,t,r,n,i)}function c(e,r,n){r.dom=t.createTextNode(r.children);E(e,r.dom,n);return r.dom}function f(e,r,n){var i=r.children.match(/^\s*?<(\w+)/im)||[];var s={caption:"table",thead:"table",tbody:"table",tfoot:"table",tr:"tbody",th:"tr",td:"tr",colgroup:"table",col:"colgroup"}[i[1]]||"div";var a=t.createElement(s);a.innerHTML=r.children;r.dom=a.firstChild;r.domSize=a.childNodes.length;var o=t.createDocumentFragment();var l;while(l=a.firstChild)o.appendChild(l);E(e,o,n);return o}function p(e,r,n,i,s){var a=t.createDocumentFragment();if(null!=r.children){var o=r.children;l(a,o,0,o.length,n,null,i)}r.dom=a.firstChild;r.domSize=a.childNodes.length;E(e,a,s);return a}function h(e,r,i,s,a){var u=r.tag;var c=r.attrs;var f=c&&c.is;s=o(r)||s;var p=s?f?t.createElementNS(s,u,{is:f}):t.createElementNS(s,u):f?t.createElement(u,{is:f}):t.createElement(u);r.dom=p;if(null!=c)z(r,c,s);E(e,p,a);if(null!=r.attrs&&null!=r.attrs.contenteditable)S(r);else{if(null!=r.text)if(""!==r.text)p.textContent=r.text;else r.children=[n("#",void 0,void 0,r.text,void 0,void 0)];if(null!=r.children){var h=r.children;l(p,h,0,h.length,i,null,s);M(r)}}return p}function d(e,t){var i;if("function"===typeof e.tag.view){e.state=Object.create(e.tag);i=e.state.view;if(null!=i.$$reentrantLock$$)return r;i.$$reentrantLock$$=true}else{e.state=void 0;i=e.tag;if(null!=i.$$reentrantLock$$)return r;i.$$reentrantLock$$=true;e.state=null!=e.tag.prototype&&"function"===typeof e.tag.prototype.view?new e.tag(e):e.tag(e)}e._state=e.state;if(null!=e.attrs)V(e.attrs,e,t);V(e._state,e,t);e.instance=n.normalize(e._state.view.call(e.state,e));if(e.instance===e)throw Error("A view cannot return the vnode it received as argument");i.$$reentrantLock$$=null}function m(e,t,n,i,s){d(t,n);if(null!=t.instance){var a=u(e,t.instance,n,i,s);t.dom=t.instance.dom;t.domSize=null!=t.dom?t.instance.domSize:0;E(e,a,s);return a}else{t.domSize=0;return r}}function v(e,t,r,n,i,s,a){if(t===r||null==t&&null==r)return;else if(null==t)l(e,r,0,r.length,i,s,a);else if(null==r)q(t,0,t.length,r);else{if(t.length===r.length){var o=false;for(var c=0;c<r.length;c++)if(null!=r[c]&&null!=t[c]){o=null==r[c].key&&null==t[c].key;break}if(o){for(var c=0;c<t.length;c++)if(t[c]===r[c])continue;else if(null==t[c]&&null!=r[c])u(e,r[c],i,a,D(t,c+1,s));else if(null==r[c])q(t,c,c+1,r);else g(e,t[c],r[c],i,D(t,c+1,s),n,a);return}}n=n||w(t,r);if(n){var f=t.pool;t=t.concat(t.pool)}var p=0,h=0,d=t.length-1,m=r.length-1,v;while(d>=p&&m>=h){var _=t[p],b=r[h];if(_===b&&!n)p++,h++;else if(null==_)p++;else if(null==b)h++;else if(_.key===b.key){var y=null!=f&&p>=t.length-f.length||null==f&&n;p++,h++;g(e,_,b,i,D(t,p,s),y,a);if(n&&_.tag===b.tag)E(e,A(_),s)}else{var _=t[d];if(_===b&&!n)d--,h++;else if(null==_)d--;else if(null==b)h++;else if(_.key===b.key){var y=null!=f&&d>=t.length-f.length||null==f&&n;g(e,_,b,i,D(t,d+1,s),y,a);if(n||h<m)E(e,A(_),D(t,p,s));d--,h++}else break}}while(d>=p&&m>=h){var _=t[d],b=r[m];if(_===b&&!n)d--,m--;else if(null==_)d--;else if(null==b)m--;else if(_.key===b.key){var y=null!=f&&d>=t.length-f.length||null==f&&n;g(e,_,b,i,D(t,d+1,s),y,a);if(n&&_.tag===b.tag)E(e,A(_),s);if(null!=_.dom)s=_.dom;d--,m--}else{if(!v)v=C(t,d);if(null!=b){var k=v[b.key];if(null!=k){var x=t[k];var y=null!=f&&k>=t.length-f.length||null==f&&n;g(e,x,b,i,D(t,d+1,s),n,a);E(e,A(x),s);t[k].skip=true;if(null!=x.dom)s=x.dom}else{var S=u(e,b,i,a,s);s=S}}m--}if(m<h)break}l(e,r,h,m+1,i,s,a);q(t,p,d+1,r)}}function g(e,t,r,n,i,s,a){var o=t.tag,l=r.tag;if(o===l){r.state=t.state;r._state=t._state;r.events=t.events;if(!s&&Z(r,t))return;if("string"===typeof o){if(null!=r.attrs)if(s){r.state={};V(r.attrs,r,n)}else H(r.attrs,r,n);switch(o){case"#":_(t,r);break;case"<":b(e,t,r,i);break;case"[":y(e,t,r,s,n,i,a);break;default:k(t,r,s,n,a)}}else x(e,t,r,n,i,s,a)}else{T(t,null);u(e,r,n,a,i)}}function _(e,t){if(e.children.toString()!==t.children.toString())e.dom.nodeValue=t.children;t.dom=e.dom}function b(e,t,r,n){if(t.children!==r.children){A(t);f(e,r,n)}else r.dom=t.dom,r.domSize=t.domSize}function y(e,t,r,n,i,s,a){v(e,t.children,r.children,n,i,s,a);var o=0,l=r.children;r.dom=null;if(null!=l){for(var u=0;u<l.length;u++){var c=l[u];if(null!=c&&null!=c.dom){if(null==r.dom)r.dom=c.dom;o+=c.domSize||1}}if(1!==o)r.domSize=o}}function k(e,t,r,i,s){var a=t.dom=e.dom;s=o(t)||s;if("textarea"===t.tag){if(null==t.attrs)t.attrs={};if(null!=t.text){t.attrs.value=t.text;t.text=void 0}}R(t,e.attrs,t.attrs,s);if(null!=t.attrs&&null!=t.attrs.contenteditable)S(t);else if(null!=e.text&&null!=t.text&&""!==t.text){if(e.text.toString()!==t.text.toString())e.dom.firstChild.nodeValue=t.text}else{if(null!=e.text)e.children=[n("#",void 0,void 0,e.text,void 0,e.dom.firstChild)];if(null!=t.text)t.children=[n("#",void 0,void 0,t.text,void 0,void 0)];v(a,e.children,t.children,r,i,null,s)}}function x(e,t,r,i,s,a,o){if(a)d(r,i);else{r.instance=n.normalize(r._state.view.call(r.state,r));if(r.instance===r)throw Error("A view cannot return the vnode it received as argument");if(null!=r.attrs)H(r.attrs,r,i);H(r._state,r,i)}if(null!=r.instance){if(null==t.instance)u(e,r.instance,i,o,s);else g(e,t.instance,r.instance,i,s,a,o);r.dom=r.instance.dom;r.domSize=r.instance.domSize}else if(null!=t.instance){T(t.instance,null);r.dom=void 0;r.domSize=0}else{r.dom=t.dom;r.domSize=t.domSize}}function w(e,t){if(null!=e.pool&&Math.abs(e.pool.length-t.length)<=Math.abs(e.length-t.length)){var r=e[0]&&e[0].children&&e[0].children.length||0;var n=e.pool[0]&&e.pool[0].children&&e.pool[0].children.length||0;var i=t[0]&&t[0].children&&t[0].children.length||0;if(Math.abs(n-i)<=Math.abs(r-i))return true}return false}function C(e,t){var r={},n=0;for(var n=0;n<t;n++){var i=e[n];if(null!=i){var s=i.key;if(null!=s)r[s]=n}}return r}function A(e){var r=e.domSize;if(null!=r||null==e.dom){var n=t.createDocumentFragment();if(r>0){var i=e.dom;while(--r)n.appendChild(i.nextSibling);n.insertBefore(i,n.firstChild)}return n}else return e.dom}function D(e,t,r){for(;t<e.length;t++)if(null!=e[t]&&null!=e[t].dom)return e[t].dom;return r}function E(e,t,r){if(r&&r.parentNode)e.insertBefore(t,r);else e.appendChild(t)}function S(e){var t=e.children;if(null!=t&&1===t.length&&"<"===t[0].tag){var r=t[0].children;if(e.dom.innerHTML!==r)e.dom.innerHTML=r}else if(null!=e.text||null!=t&&0!==t.length)throw new Error("Child node of a contenteditable must be trusted")}function q(e,t,r,n){for(var i=t;i<r;i++){var s=e[i];if(null!=s)if(s.skip)s.skip=false;else T(s,n)}}function T(e,t){var r=1,n=0;if(e.attrs&&"function"===typeof e.attrs.onbeforeremove){var i=e.attrs.onbeforeremove.call(e.state,e);if(null!=i&&"function"===typeof i.then){r++;i.then(s,s)}}if("string"!==typeof e.tag&&"function"===typeof e._state.onbeforeremove){var i=e._state.onbeforeremove.call(e.state,e);if(null!=i&&"function"===typeof i.then){r++;i.then(s,s)}}s();function s(){if(++n===r){F(e);if(e.dom){var i=e.domSize||1;if(i>1){var s=e.dom;while(--i)L(s.nextSibling)}L(e.dom);if(null!=t&&null==e.domSize&&!j(e.attrs)&&"string"===typeof e.tag)if(!t.pool)t.pool=[e];else t.pool.push(e)}}}}function L(e){var t=e.parentNode;if(null!=t)t.removeChild(e)}function F(e){if(e.attrs&&"function"===typeof e.attrs.onremove)e.attrs.onremove.call(e.state,e);if("string"!==typeof e.tag){if("function"===typeof e._state.onremove)e._state.onremove.call(e.state,e);if(null!=e.instance)F(e.instance)}else{var t=e.children;if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(null!=n)F(n)}}}function z(e,t,r){for(var n in t)I(e,n,null,t[n],r)}function I(e,r,n,i,s){var a=e.dom;if("key"===r||"is"===r||n===i&&!N(e,r)&&"object"!==typeof i||"undefined"===typeof i||O(r))return;var o=r.indexOf(":");if(o>-1&&"xlink"===r.substr(0,o))a.setAttributeNS("http://www.w3.org/1999/xlink",r.slice(o+1),i);else if("o"===r[0]&&"n"===r[1]&&"function"===typeof i)U(e,r,i);else if("style"===r)$(a,n,i);else if(r in a&&!P(r)&&void 0===s&&!B(e)){if("value"===r){var l=""+i;if(("input"===e.tag||"textarea"===e.tag)&&e.dom.value===l&&e.dom===t.activeElement)return;if("select"===e.tag)if(null===i){if(-1===e.dom.selectedIndex&&e.dom===t.activeElement)return}else if(null!==n&&e.dom.value===l&&e.dom===t.activeElement)return;if("option"===e.tag&&null!=n&&e.dom.value===l)return}if("input"===e.tag&&"type"===r){a.setAttribute(r,i);return}a[r]=i}else if("boolean"===typeof i)if(i)a.setAttribute(r,"");else a.removeAttribute(r);else a.setAttribute("className"===r?"class":r,i)}function M(e){var t=e.attrs;if("select"===e.tag&&null!=t){if("value"in t)I(e,"value",null,t.value,void 0);if("selectedIndex"in t)I(e,"selectedIndex",null,t.selectedIndex,void 0)}}function R(e,t,r,n){if(null!=r)for(var i in r)I(e,i,t&&t[i],r[i],n);if(null!=t)for(var i in t)if(null==r||!(i in r)){if("className"===i)i="class";if("o"===i[0]&&"n"===i[1]&&!O(i))U(e,i,void 0);else if("key"!==i)e.dom.removeAttribute(i)}}function N(e,r){return"value"===r||"checked"===r||"selectedIndex"===r||"selected"===r&&e.dom===t.activeElement}function O(e){return"oninit"===e||"oncreate"===e||"onupdate"===e||"onremove"===e||"onbeforeremove"===e||"onbeforeupdate"===e}function P(e){return"href"===e||"list"===e||"form"===e||"width"===e||"height"===e}function B(e){return e.attrs.is||e.tag.indexOf("-")>-1}function j(e){return null!=e&&(e.oncreate||e.onupdate||e.onbeforeremove||e.onremove)}function $(e,t,r){if(t===r)e.style.cssText="",t=null;if(null==r)e.style.cssText="";else if("string"===typeof r)e.style.cssText=r;else{if("string"===typeof t)e.style.cssText="";for(var n in r)e.style[n]=r[n];if(null!=t&&"string"!==typeof t)for(var n in t)if(!(n in r))e.style[n]=""}}function U(e,t,r){var n=e.dom;var i="function"!==typeof s?r:function(e){var t=r.call(n,e);s.call(n,e);return t};if(t in n)n[t]="function"===typeof r?i:null;else{var a=t.slice(2);if(void 0===e.events)e.events={};if(e.events[t]===i)return;if(null!=e.events[t])n.removeEventListener(a,e.events[t],false);if("function"===typeof r){e.events[t]=i;n.addEventListener(a,e.events[t],false)}}}function V(e,t,r){if("function"===typeof e.oninit)e.oninit.call(t.state,t);if("function"===typeof e.oncreate)r.push(e.oncreate.bind(t.state,t))}function H(e,t,r){if("function"===typeof e.onupdate)r.push(e.onupdate.bind(t.state,t))}function Z(e,t){var r,n;if(null!=e.attrs&&"function"===typeof e.attrs.onbeforeupdate)r=e.attrs.onbeforeupdate.call(e.state,e,t);if("string"!==typeof e.tag&&"function"===typeof e._state.onbeforeupdate)n=e._state.onbeforeupdate.call(e.state,e,t);if(!(void 0===r&&void 0===n)&&!r&&!n){e.dom=t.dom;e.domSize=t.domSize;e.instance=t.instance;return true}return false}function G(e,r){if(!e)throw new Error("Ensure the DOM element being passed to m.route/m.mount/m.render is not undefined.");var i=[];var s=t.activeElement;var a=e.namespaceURI;if(null==e.vnodes)e.textContent="";if(!Array.isArray(r))r=[r];v(e,e.vnodes,n.normalizeChildren(r),false,i,null,"http://www.w3.org/1999/xhtml"===a?void 0:a);e.vnodes=r;if(null!=s&&t.activeElement!==s)s.focus();for(var o=0;o<i.length;o++)i[o]()}return{render:G,setEventCallback:a}};function _(e){var t=16;var r=0,n=null;var i="function"===typeof requestAnimationFrame?requestAnimationFrame:setTimeout;return function(){var s=Date.now();if(0===r||s-r>=t){r=s;e()}else if(null===n)n=i(function(){n=null;e();r=Date.now()},t-(s-r))}}var b=function(e){var t=g(e);t.setEventCallback(function(e){if(false===e.redraw)e.redraw=void 0;else s()});var r=[];function n(e,t){i(e);r.push(e,_(t))}function i(e){var t=r.indexOf(e);if(t>-1)r.splice(t,2)}function s(){for(var e=1;e<r.length;e+=2)r[e]()}return{subscribe:n,unsubscribe:i,redraw:s,render:t.render}};var y=b(window);v.setCompletionCallback(y.redraw);var k=function(e){return function(t,r){if(null===r){e.render(t,[]);e.unsubscribe(t);return}if(null==r.view&&"function"!==typeof r)throw new Error("m.mount(element, component) expects a component, not a vnode");var i=function(){e.render(t,n(r))};e.subscribe(t,i);e.redraw()}};f.mount=k(y);var x=p;var w=function(e){if(""===e||null==e)return{};if("?"===e.charAt(0))e=e.slice(1);var t=e.split("&"),r={},n={};for(var i=0;i<t.length;i++){var s=t[i].split("=");var a=decodeURIComponent(s[0]);var o=2===s.length?decodeURIComponent(s[1]):"";if("true"===o)o=true;else if("false"===o)o=false;var l=a.split(/\]\[?|\[/);var u=r;if(a.indexOf("[")>-1)l.pop();for(var c=0;c<l.length;c++){var f=l[c],p=l[c+1];var h=""==p||!isNaN(parseInt(p,10));var d=c===l.length-1;if(""===f){var a=l.slice(0,c).join();if(null==n[a])n[a]=0;f=n[a]++}if(null==u[f])u[f]=d?o:h?[]:{};u=u[f]}}return r};var C=function(e){var r="function"===typeof e.history.pushState;var n="function"===typeof t?t:setTimeout;function i(t){var r=e.location[t].replace(/(?:%[a-f89][a-f0-9])+/gim,decodeURIComponent);if("pathname"===t&&"/"!==r[0])r="/"+r;return r}var s;function a(e){return function(){if(null!=s)return;s=n(function(){s=null;e()})}}function o(e,t,r){var n=e.indexOf("?");var i=e.indexOf("#");var s=n>-1?n:i>-1?i:e.length;if(n>-1){var a=i>-1?i:e.length;var o=w(e.slice(n+1,a));for(var l in o)t[l]=o[l]}if(i>-1){var u=w(e.slice(i+1));for(var l in u)r[l]=u[l]}return e.slice(0,s)}var l={prefix:"#!"};l.getPath=function(){var e=l.prefix.charAt(0);switch(e){case"#":return i("hash").slice(l.prefix.length);case"?":return i("search").slice(l.prefix.length)+i("hash");default:return i("pathname").slice(l.prefix.length)+i("search")+i("hash")}};l.setPath=function(t,n,i){var s={},a={};t=o(t,s,a);if(null!=n){for(var u in n)s[u]=n[u];t=t.replace(/:([^\/]+)/g,function(e,t){delete s[t];return n[t]})}var c=h(s);if(c)t+="?"+c;var f=h(a);if(f)t+="#"+f;if(r){var p=i?i.state:null;var d=i?i.title:null;e.onpopstate();if(i&&i.replace)e.history.replaceState(p,d,l.prefix+t);else e.history.pushState(p,d,l.prefix+t)}else e.location.href=l.prefix+t};l.defineRoutes=function(t,n,i){function s(){var r=l.getPath();var s={};var a=o(r,s,s);var u=e.history.state;if(null!=u)for(var c in u)s[c]=u[c];for(var f in t){var p=new RegExp("^"+f.replace(/:[^\/]+?\.{3}/g,"(.*?)").replace(/:[^\/]+/g,"([^\\/]+)")+"/?$");if(p.test(a)){a.replace(p,function(){var e=f.match(/:[^\/]+/g)||[];var i=[].slice.call(arguments,1,-2);for(var a=0;a<e.length;a++)s[e[a].replace(/:|\./g,"")]=decodeURIComponent(i[a]);n(t[f],s,r,f)});return}}i(r,s)}if(r)e.onpopstate=a(s);else if("#"===l.prefix.charAt(0))e.onhashchange=s;s()};return l};var A=function(e,t){var r=C(e);var i=function(e){return e};var s,a,o,l,u;var c=function(e,c,f){if(null==e)throw new Error("Ensure the DOM element that was passed to `m.route` is not undefined");var p=function(){if(null!=s)t.render(e,s(n(a,o.key,o)))};var h=function(e){if(e!==c)r.setPath(c,null,{replace:true});else throw new Error("Could not resolve default route "+c)};r.defineRoutes(f,function(e,t,r){var n=u=function(e,c){if(n!==u)return;a=null!=c&&("function"===typeof c.view||"function"===typeof c)?c:"div";o=t,l=r,u=null;s=(e.render||i).bind(e);p()};if(e.view||"function"===typeof e)n({},e);else if(e.onmatch)x.resolve(e.onmatch(t,r)).then(function(t){n(e,t)},h);else n(e,"div")},h);t.subscribe(e,p)};c.set=function(e,t,n){if(null!=u){n=n||{};n.replace=true}u=null;r.setPath(e,t,n)};c.get=function(){return l};c.prefix=function(e){r.prefix=e};c.link=function(e){e.dom.setAttribute("href",r.prefix+e.attrs.href);e.dom.onclick=function(e){if(e.ctrlKey||e.metaKey||e.shiftKey||2===e.which)return;e.preventDefault();e.redraw=false;var t=this.getAttribute("href");if(0===t.indexOf(r.prefix))t=t.slice(r.prefix.length);c.set(t,void 0,void 0)}};c.param=function(e){if("undefined"!==typeof o&&"undefined"!==typeof e)return o[e];return o};return c};f.route=A(window,y);f.withAttr=function(e,t,r){return function(n){t.call(r||this,e in n.currentTarget?n.currentTarget[e]:n.currentTarget.getAttribute(e))}};var D=g(window);f.render=D.render;f.redraw=y.redraw;f.request=v.request;f.jsonp=v.jsonp;f.parseQueryString=w;f.buildQueryString=h;f.version="1.1.6";f.vnode=n;if(true)e["exports"]=f;else window.m=f})()}).call(t,r(27).setImmediate,r(2))},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(1,eval)("this")}catch(e){if("object"===typeof window)r=window}e.exports=r},function(e,t,r){"use strict";e.exports={langs:[{lc:"lat",label:"Latin (Carl Gebhardt)",db:"spinoza-ethica-lat-gebhardt.json"},{lc:"fr",label:"Français (Traduction par Charles Appuhn)",db:"spinoza-ethica-fr-appuhn.json"},{lc:"bra",label:"Brazilian (Tradução Roberto Brandão)",db:"spinoza-ethica-bra-brandao.json"},{lc:"en",label:"English (Translated by R. H. M. Elwes)",db:"spinoza-ethica-en-elwes.json"}],data:[],loaded_dbs:0,data_byid:[],data_bytype:[],types:[],active_type_filter:null,data_strct:{},rx_id:/^(\d)(app|agd|\d\d|pr|ad|ap|c|p|d|a)(cd|sc|\d\d|d|c|a|l|p|\d)?(e|\d|sc)?(d|c|a|sc)?$/,id_strct:[{full:"Partie",dim:"Part."},{prop:{full:"Proposition",dim:"Prop."},app:{full:"Appendice",dim:"App."},agd:{full:"Definition generale des affections"},pr:{full:"Preface",dim:"Pref."},ad:{full:"Definiton des affections"},ap:{full:"Appendice",dim:"App."},c:{full:"Corollaire",dim:"Cor."},p:{full:"Postulat",dim:"Post."},d:{full:"Definition",dim:"Def."},a:{full:"Axiome",dim:"Ax."}},{cd:{full:"Corollaire Demonstration"},sc:{full:"Scolie",dim:"Scol."},d:{full:"Demonstration",dim:"Demo."},c:{full:"Corollaire",dim:"Cor."},a:{full:"Axiome",dim:"Ax."},l:{full:"Lemme",dim:"Lem."},p:{full:"Postulat",dim:"Post."},e:{full:"Explication",dim:"Exp."}},{e:{full:"Explication",dim:"Exp."},sc:{full:"Scolie",dim:"Scol."},c:{full:"Corollaire",dim:"Cor."}},{d:{full:"Demonstration",dim:"Demo."},c:{full:"Corollaire",dim:"Cor."},a:{full:"Axiome",dim:"Ax."},sc:{full:"Scolie",dim:"Scol."}}],loaded_by_file:{},loader:document.getElementById("db-loaded"),load:function e(t){for(var r=0;r<this.langs.length;r++){this.loaded_by_file[this.langs[r].lc]=0;this.loadJSON(this.langs[r].lc,"/assets/jsondb/"+this.langs[r].db,t)}},loadJSON:function e(t,r,n){var i=new XMLHttpRequest;i.overrideMimeType("application/json");i.addEventListener("progress",function(e){if(e.lengthComputable){var r=e.loaded/e.total*100;this.loaded_by_file[t]=r;var n=0;for(var i=0;i<this.langs.length;i++)n+=this.loaded_by_file[this.langs[i].lc];this.loader.style.width=n/this.langs.length+"%"}else console.log("no progress")}.bind(this));i.onreadystatechange=function(){switch(i.readyState){case 3:break;case 4:if(200===i.status)this.onJSONLoaded(t,i.responseText,n);else console.log("Status de la réponse: %d (%s)",i.status,i.statusText);break}}.bind(this);i.open("GET",r,true);i.send(null)},onJSONLoaded:function e(t,r,n){this.data[t]=JSON.parse(r);this.loaded_dbs++;if(this.loaded_dbs==this.langs.length)this.parseByID(n)},parseByID:function e(t){var r,n,i,s;for(var a in this.data){this.data_byid[a]={};this.data_bytype[a]={};this.types[a]=[];for(var o in this.data[a])if("intro"!==this.data[a][o].type)for(var l in this.data[a][o].enonces){if(this.data[a][o].enonces[l].id){r=this.data[a][o].enonces[l].id;s=this.setupType(r);this.data[a][o].enonces[l].dottype=s;this.data[a][o].enonces[l].breadcrumb=this.setupBreadcrumb(r);this.data_byid[a][r]=this.data[a][o].enonces[l];if(s){if("undefined"==typeof this.data_bytype[a][s])this.data_bytype[a][s]={};if(-1==this.types[a].indexOf(s))this.types[a].push(s);this.data_bytype[a][s][r]=this.data[a][o].enonces[l]}}for(var u in this.data[a][o].enonces[l].childs){if(this.data[a][o].enonces[l].childs[u].id){n=this.data[a][o].enonces[l].childs[u].id;s=this.setupType(n);this.data[a][o].enonces[l].childs[u].dottype=s;this.data[a][o].enonces[l].childs[u].breadcrumb=this.setupBreadcrumb(n);this.data_byid[a][n]=this.data[a][o].enonces[l].childs[u];if(s){if("undefined"==typeof this.data_bytype[a][s])this.data_bytype[a][s]={};if(-1==this.types[a].indexOf(s))this.types[a].push(s);this.data_bytype[a][s][n]=this.data[a][o].enonces[l].childs[u]}}for(var c in this.data[a][o].enonces[l].childs[u].childs)if(this.data[a][o].enonces[l].childs[u].childs[c].id){i=this.data[a][o].enonces[l].childs[u].childs[c].id;s=this.setupType(i);this.data[a][o].enonces[l].childs[u].childs[c].dottype=s;this.data[a][o].enonces[l].childs[u].childs[c].breadcrumb=this.setupBreadcrumb(i);this.data_byid[a][i]=this.data[a][o].enonces[l].childs[u].childs[c];if(s){if("undefined"==typeof this.data_bytype[a][s])this.data_bytype[a][s]={};if(-1==this.types[a].indexOf(s))this.types[a].push(s);this.data_bytype[a][s][i]=this.data[a][o].enonces[l].childs[u].childs[c]}}}}}this.parseStrct(t)},setupBreadcrumb:function e(t){var r=[];var n=t.match(this.rx_id);var i="full";if(n){n.shift();var s=[];for(var a=0;a<n.length;a++)if("undefined"!==typeof n[a])s.push(n[a]);for(var o=0;o<s.length;o++)if(0==o)r.unshift(this.id_strct[o]["dim"]+" "+s[o]);else{i=o!==s.length-1?"dim":"full";if(isNaN(s[o]))r.unshift(""+this.id_strct[o][s[o]][i]);else if(1==o)r.unshift(this.id_strct[o]["prop"][i]+" "+s[o]);else r.splice(1,0,""+s[o])}}return r.join(" ")},setupType:function e(t){var r=t.match(this.rx_id);if(r)switch(true){case/^\d{2}$/.test(r[2]):switch(true){case/^cd$/.test(r[3]):return"corollaire-demo";case/^sc$/.test(r[3]):return"scolie";case/^d$/.test(r[3]):return"demonstration";case/^c$/.test(r[3]):switch(true){case/^sc$/.test(r[4]):return"scolie";case/^d$/.test(r[4]):return"demonstration";case/^sc$/.test(r[5]):return"scolie";case/^\d$/.test(r[4]):return"corollaire";case!r[4]:return"corollaire"}case/^a$/.test(r[3]):return"prop-axiom";case/^l$/.test(r[3]):switch(true){case/^d$/.test(r[5]):return"lemme-demonstration";case/^sc$/.test(r[5]):return"lemme-scolie";case/^c$/.test(r[5]):return"lemme-corrollaire";case!r[5]:return"lemme"}case/^p$/.test(r[3]):return"postulat";case/^\d$/.test(r[3]):return"??";case/^\d{2}$/.test(r[3]):return"??";case!r[3]:return"proposition"}case/^app|ap$/.test(r[2]):return"appendice";case/^agd$/.test(r[2]):return"def-gen-affect";case/^pr$/.test(r[2]):return"preface";case/^ad$/.test(r[2]):switch(true){case/^e$/.test(r[4]):return"explication";case!r[4]:return"def-affect"}case/^c$/.test(r[2]):return"chapitre";case/^p$/.test(r[2]):return"postulat";case/^d$/.test(r[2]):switch(true){case/^e$/.test(r[4]):return"explication";case!r[4]:return"definition"}case/^a$/.test(r[2]):return"axiom"}},parseStrct:function e(t){var r,n,i,s,a,o;for(r in this.data_byid[this.langs[0].lc]){n=this.data_byid[this.langs[0].lc][r];if("title"==n.type)continue;i={to:[],from:[]};s=n.text.match(/\[[^\]]+\]\([^\)]+\)/g);if(s){var l=true;var u=false;var c=void 0;try{for(var f=s[Symbol.iterator](),p;!(l=(p=f.next()).done);l=true){a=p.value;o=a.match(/\((.+)\)/)[1];if(-1==i.to.indexOf(o))i.to.push(o);if("undefined"!==typeof this.data_strct[o])if(-1==this.data_strct[o].from.indexOf(o))this.data_strct[o].from.push(r)}}catch(e){u=true;c=e}finally{try{if(!l&&f.return)f.return()}finally{if(u)throw c}}}this.data_strct[r]=i}t()}}},function(e,t,r){"use strict";e.exports=r(30)},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[];this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};n.prototype.__compile__=function(){var e=this;var t=[""];e.__rules__.forEach(function(e){if(!e.enabled)return;e.alt.forEach(function(e){if(t.indexOf(e)<0)t.push(e)})});e.__cache__={};t.forEach(function(t){e.__cache__[t]=[];e.__rules__.forEach(function(r){if(!r.enabled)return;if(t&&r.alt.indexOf(t)<0)return;e.__cache__[t].push(r.fn)})})};n.prototype.at=function(e,t,r){var n=this.__find__(e);var i=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t;this.__rules__[n].alt=i.alt||[];this.__cache__=null};n.prototype.before=function(e,t,r,n){var i=this.__find__(e);var s=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:true,fn:r,alt:s.alt||[]});this.__cache__=null};n.prototype.after=function(e,t,r,n){var i=this.__find__(e);var s=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:true,fn:r,alt:s.alt||[]});this.__cache__=null};n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:true,fn:t,alt:n.alt||[]});this.__cache__=null};n.prototype.enable=function(e,t){if(!Array.isArray(e))e=[e];var r=[];e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=true;r.push(e)},this);this.__cache__=null;return r};n.prototype.enableOnly=function(e,t){if(!Array.isArray(e))e=[e];this.__rules__.forEach(function(e){e.enabled=false});this.enable(e,t)};n.prototype.disable=function(e,t){if(!Array.isArray(e))e=[e];var r=[];e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=false;r.push(e)},this);this.__cache__=null;return r};n.prototype.getRules=function(e){if(null===this.__cache__)this.__compile__();return this.__cache__[e]||[]};e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e;this.tag=t;this.attrs=null;this.map=null;this.nesting=r;this.level=0;this.children=null;this.content="";this.markup="";this.info="";this.meta=null;this.block=false;this.hidden=false}n.prototype.attrIndex=function e(t){var r,n,i;if(!this.attrs)return-1;r=this.attrs;for(n=0,i=r.length;n<i;n++)if(r[n][0]===t)return n;return-1};n.prototype.attrPush=function e(t){if(this.attrs)this.attrs.push(t);else this.attrs=[t]};n.prototype.attrSet=function e(t,r){var n=this.attrIndex(t),i=[t,r];if(n<0)this.attrPush(i);else this.attrs[n]=i};n.prototype.attrGet=function e(t){var r=this.attrIndex(t),n=null;if(r>=0)n=this.attrs[r][1];return n};n.prototype.attrJoin=function e(t,r){var n=this.attrIndex(t);if(n<0)this.attrPush([t,r]);else this.attrs[n][1]=this.attrs[n][1]+" "+r};e.exports=n},function(e,t,r){"use strict";function n(e,t,r,n){var i=Number(e[t].meta.id+1).toString();var s="";if("string"===typeof n.docId)s="-"+n.docId+"-";return s+i}function i(e,t){var r=Number(e[t].meta.id+1).toString();if(e[t].meta.subId>0)r+=":"+e[t].meta.subId;return"["+r+"]"}function s(e,t,r,n,i){var s=i.rules.footnote_anchor_name(e,t,r,n,i);var a=i.rules.footnote_caption(e,t,r,n,i);var o=s;if(e[t].meta.subId>0)o+=":"+e[t].meta.subId;return'<sup class="footnote-ref"><a href="#fn'+s+'" id="fnref'+o+'">'+a+"</a></sup>"}function a(e,t,r){return(r.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n'+'<ol class="footnotes-list">\n'}function o(){return"</ol>\n</section>\n"}function l(e,t,r,n,i){var s=i.rules.footnote_anchor_name(e,t,r,n,i);if(e[t].meta.subId>0)s+=":"+e[t].meta.subId;return'<li id="fn'+s+'" class="footnote-item">'}function u(){return"</li>\n"}function c(e,t,r,n,i){var s=i.rules.footnote_anchor_name(e,t,r,n,i);if(e[t].meta.subId>0)s+=":"+e[t].meta.subId;return' <a href="#fnref'+s+'" class="footnote-backref">↩︎</a>'}e.exports=function e(t){var r=t.helpers.parseLinkLabel,f=t.utils.isSpace;t.renderer.rules.footnote_ref=s;t.renderer.rules.footnote_block_open=a;t.renderer.rules.footnote_block_close=o;t.renderer.rules.footnote_open=l;t.renderer.rules.footnote_close=u;t.renderer.rules.footnote_anchor=c;t.renderer.rules.footnote_caption=i;t.renderer.rules.footnote_anchor_name=n;function p(e,t,r,n){var i,s,a,o,l,u,c,p,h,d,m,v=e.bMarks[t]+e.tShift[t],g=e.eMarks[t];if(v+4>g)return false;if(91!==e.src.charCodeAt(v))return false;if(94!==e.src.charCodeAt(v+1))return false;for(l=v+2;l<g;l++){if(32===e.src.charCodeAt(l))return false;if(93===e.src.charCodeAt(l))break}if(l===v+2)return false;if(l+1>=g||58!==e.src.charCodeAt(++l))return false;if(n)return true;l++;if(!e.env.footnotes)e.env.footnotes={};if(!e.env.footnotes.refs)e.env.footnotes.refs={};u=e.src.slice(v+2,l-2);e.env.footnotes.refs[":"+u]=-1;c=new e.Token("footnote_reference_open","",1);c.meta={label:u};c.level=e.level++;e.tokens.push(c);i=e.bMarks[t];s=e.tShift[t];a=e.sCount[t];o=e.parentType;m=l;p=h=e.sCount[t]+l-(e.bMarks[t]+e.tShift[t]);while(l<g){d=e.src.charCodeAt(l);if(f(d))if(9===d)h+=4-h%4;else h++;else break;l++}e.tShift[t]=l-m;e.sCount[t]=h-p;e.bMarks[t]=m;e.blkIndent+=4;e.parentType="footnote";if(e.sCount[t]<e.blkIndent)e.sCount[t]+=e.blkIndent;e.md.block.tokenize(e,t,r,true);e.parentType=o;e.blkIndent-=4;e.tShift[t]=s;e.sCount[t]=a;e.bMarks[t]=i;c=new e.Token("footnote_reference_close","",-1);c.level=--e.level;e.tokens.push(c);return true}function h(e,t){var n,i,s,a,o,l=e.posMax,u=e.pos;if(u+2>=l)return false;if(94!==e.src.charCodeAt(u))return false;if(91!==e.src.charCodeAt(u+1))return false;n=u+2;i=r(e,u+1);if(i<0)return false;if(!t){if(!e.env.footnotes)e.env.footnotes={};if(!e.env.footnotes.list)e.env.footnotes.list=[];s=e.env.footnotes.list.length;e.md.inline.parse(e.src.slice(n,i),e.md,e.env,o=[]);a=e.push("footnote_ref","",0);a.meta={id:s};e.env.footnotes.list[s]={tokens:o}}e.pos=i+1;e.posMax=l;return true}function d(e,t){var r,n,i,s,a,o=e.posMax,l=e.pos;if(l+3>o)return false;if(!e.env.footnotes||!e.env.footnotes.refs)return false;if(91!==e.src.charCodeAt(l))return false;if(94!==e.src.charCodeAt(l+1))return false;for(n=l+2;n<o;n++){if(32===e.src.charCodeAt(n))return false;if(10===e.src.charCodeAt(n))return false;if(93===e.src.charCodeAt(n))break}if(n===l+2)return false;if(n>=o)return false;n++;r=e.src.slice(l+2,n-1);if("undefined"===typeof e.env.footnotes.refs[":"+r])return false;if(!t){if(!e.env.footnotes.list)e.env.footnotes.list=[];if(e.env.footnotes.refs[":"+r]<0){i=e.env.footnotes.list.length;e.env.footnotes.list[i]={label:r,count:0};e.env.footnotes.refs[":"+r]=i}else i=e.env.footnotes.refs[":"+r];s=e.env.footnotes.list[i].count;e.env.footnotes.list[i].count++;a=e.push("footnote_ref","",0);a.meta={id:i,subId:s,label:r}}e.pos=n;e.posMax=o;return true}function m(e){var t,r,n,i,s,a,o,l,u,c,f=false,p={};if(!e.env.footnotes)return;e.tokens=e.tokens.filter(function(e){if("footnote_reference_open"===e.type){f=true;u=[];c=e.meta.label;return false}if("footnote_reference_close"===e.type){f=false;p[":"+c]=u;return false}if(f)u.push(e);return!f});if(!e.env.footnotes.list)return;a=e.env.footnotes.list;o=new e.Token("footnote_block_open","",1);e.tokens.push(o);for(t=0,r=a.length;t<r;t++){o=new e.Token("footnote_open","",1);o.meta={id:t,label:a[t].label};e.tokens.push(o);if(a[t].tokens){l=[];o=new e.Token("paragraph_open","p",1);o.block=true;l.push(o);o=new e.Token("inline","",0);o.children=a[t].tokens;o.content="";l.push(o);o=new e.Token("paragraph_close","p",-1);o.block=true;l.push(o)}else if(a[t].label)l=p[":"+a[t].label];e.tokens=e.tokens.concat(l);if("paragraph_close"===e.tokens[e.tokens.length-1].type)s=e.tokens.pop();else s=null;i=a[t].count>0?a[t].count:1;for(n=0;n<i;n++){o=new e.Token("footnote_anchor","",0);o.meta={id:t,subId:n,label:a[t].label};e.tokens.push(o)}if(s)e.tokens.push(s);o=new e.Token("footnote_close","",-1);e.tokens.push(o)}o=new e.Token("footnote_block_close","",-1);e.tokens.push(o)}t.block.ruler.before("reference","footnote_def",p,{alt:["paragraph","reference"]});t.inline.ruler.after("image","footnote_inline",h);t.inline.ruler.after("footnote_inline","footnote_ref",d);t.core.ruler.after("inline","footnote_tail",m)}},function(e,t,r){"use strict";e.exports={t:function e(t){if(this.locales[t])if(this.lang)if(this.locales[t][this.lang])return this.locales[t][this.lang];else this.log('Key "'+t+'" does not exists for language '+this.lang);else if(this.locales[t][this.fallback])return this.locales[t][this.fallback];else this.log('Key "'+t+'" does not exists for fallback language '+this.fallback);else this.log('Key "'+t+'" does not exists.');return t},setLang:function e(t){this.lang=t},log:function e(t){console.warn("i18n : "+t)},fallback:"en",lang:null,locales:{Parts:{en:"Parts",fr:"Parties",bra:"Peças",lat:"Pars"},Mode:{en:"Mode",fr:"Mode",bra:"Modo",lat:"Modus"},Language:{en:"Language",fr:"Langue",bra:"Língua",lat:"Lingua"},Text:{en:"Text",fr:"Texte",bra:"Texto",lat:"Illud"},Connections:{en:"Connections",fr:"Connections",bra:"Conexões",lat:"Hospites"},Filters:{en:"Filters",fr:"Filtres",bra:"Filtros",lat:"Filtra"}}}},function(e,t,r){"use strict";var n=r(1);var i=r(3);var s=r(9);var a=r(4)().use(r(8));e.exports={view:function e(t){return n("header",[n("hgroup",[n("h1","Ethica"),n("h2","Spinoza (1632-1677)")]),n("div",{id:"menus"},[n(o),n(l),n(u),n(c)])])}};var o={view:function e(t){var r=n.route.param("lang");return n("nav",{id:"parts-nav"},[n("h3",s.t("Parts")),n("ul",i.data[r].map(function(e){if("intro"!==e.id)return n("li",[n("a",{href:"#"+e.id},n.trust(a.renderInline(e.title)))])}))])}};var l={view:function e(t){var r=n.route.param("lang");return n("nav",{id:"filters"},[n("h3",s.t("Filters")),n("ul",i.types[r].map(function(e){return n("li",[n("a",{href:"#filter-"+e,type:""+e,onclick:function e(t){t.preventDefault();if(t.target.parentNode.classList.contains("active")){t.target.parentNode.classList.remove("active");i.active_type_filter=null}else{t.target.parentNode.classList.add("active");var r=t.target.getAttribute("type");i.active_type_filter=r}return false}},e)])}))])}};var u={view:function e(){var t=n.route.param("lang");var r=n.route.get().match(/^(\/[^\/]+)(\/[^\/|#]+)(.*)$/);return n("nav",{id:"routes"},[n("h3",s.t("Mode")),n("ul",[n("li",n("a",{href:"/"+t+"/text"+r[3],oncreate:n.route.link,onupdate:n.route.link},s.t("Text"))),n("li",n("a",{href:"/"+t+"/connections"+r[3],oncreate:n.route.link,onupdate:n.route.link},s.t("Connections")))])])}};var c={view:function e(){var t=n.route.get().match(/^\/[^\/]+(.+)$/);return n("nav",{id:"languages"},[n("h3",s.t("Language")),n("ul",i.langs.map(function(e){return n("li",n("a",{lang:e.lc,href:"/"+e.lc+t[1],oncreate:n.route.link,onupdate:n.route.link},e.label))}))])}}},function(e,t,r){"use strict";e.exports=r(31)},function(e,t,r){"use strict";e.exports.encode=r(32);e.exports.decode=r(33);e.exports.format=r(34);e.exports.parse=r(35)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="[a-zA-Z_:][a-zA-Z0-9:._-]*";var i="[^\"'=<>`\\x00-\\x20]+";var s="'[^']*'";var a='"[^"]*"';var o="(?:"+i+"|"+s+"|"+a+")";var l="(?:\\s+"+n+"(?:\\s*=\\s*"+o+")?)";var u="<[A-Za-z][A-Za-z0-9\\-]*"+l+"*\\s*\\/?>";var c="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";var f="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e";var p="<[?].*?[?]>";var h="<![A-Z]+\\s+[^>]*>";var d="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";var m=new RegExp("^(?:"+u+"|"+c+"|"+f+"|"+p+"|"+h+"|"+d+")");var v=new RegExp("^(?:"+u+"|"+c+")");e.exports.HTML_TAG_RE=m;e.exports.HTML_OPEN_CLOSE_TAG_RE=v},function(e,t,r){"use strict";e.exports.tokenize=function e(t,r){var n,i,s,a,o,l=t.pos,u=t.src.charCodeAt(l);if(r)return false;if(126!==u)return false;i=t.scanDelims(t.pos,true);a=i.length;o=String.fromCharCode(u);if(a<2)return false;if(a%2){s=t.push("text","",0);s.content=o;a--}for(n=0;n<a;n+=2){s=t.push("text","",0);s.content=o+o;t.delimiters.push({marker:u,jump:n,token:t.tokens.length-1,level:t.level,end:-1,open:i.can_open,close:i.can_close})}t.pos+=i.length;return true};e.exports.postProcess=function e(t){var r,n,i,s,a,o=[],l=t.delimiters,u=t.delimiters.length;for(r=0;r<u;r++){i=l[r];if(126!==i.marker)continue;if(-1===i.end)continue;s=l[i.end];a=t.tokens[i.token];a.type="s_open";a.tag="s";a.nesting=1;a.markup="~~";a.content="";a=t.tokens[s.token];a.type="s_close";a.tag="s";a.nesting=-1;a.markup="~~";a.content="";if("text"===t.tokens[s.token-1].type&&"~"===t.tokens[s.token-1].content)o.push(s.token-1)}while(o.length){r=o.pop();n=r+1;while(n<t.tokens.length&&"s_close"===t.tokens[n].type)n++;n--;if(r!==n){a=t.tokens[n];t.tokens[n]=t.tokens[r];t.tokens[r]=a}}}},function(e,t,r){"use strict";e.exports.tokenize=function e(t,r){var n,i,s,a=t.pos,o=t.src.charCodeAt(a);if(r)return false;if(95!==o&&42!==o)return false;i=t.scanDelims(t.pos,42===o);for(n=0;n<i.length;n++){s=t.push("text","",0);s.content=String.fromCharCode(o);t.delimiters.push({marker:o,length:i.length,jump:n,token:t.tokens.length-1,level:t.level,end:-1,open:i.can_open,close:i.can_close})}t.pos+=i.length;return true};e.exports.postProcess=function e(t){var r,n,i,s,a,o,l=t.delimiters,u=t.delimiters.length;for(r=u-1;r>=0;r--){n=l[r];if(95!==n.marker&&42!==n.marker)continue;if(-1===n.end)continue;i=l[n.end];o=r>0&&l[r-1].end===n.end+1&&l[r-1].token===n.token-1&&l[n.end+1].token===i.token+1&&l[r-1].marker===n.marker;a=String.fromCharCode(n.marker);s=t.tokens[n.token];s.type=o?"strong_open":"em_open";s.tag=o?"strong":"em";s.nesting=1;s.markup=o?a+a:a;s.content="";s=t.tokens[i.token];s.type=o?"strong_close":"em_close";s.tag=o?"strong":"em";s.nesting=-1;s.markup=o?a+a:a;s.content="";if(o){t.tokens[l[r-1].token].content="";t.tokens[l[n.end+1].token].content="";r--}}}},function(e,t,r){"use strict";var n=r(1);e.exports={view:function e(t){return n("footer",[n("p",n.trust('© 2017 <a href="./">Ethica Spinoza</a>'))])}}},function(e,t,r){"use strict";e.exports={init:function e(){this.initStickyTitles()},initStickyTitles:function e(){var t=document.getElementsByTagName("header")[0].clientHeight;var r=document.querySelector(".sticky-clone-wrapper");if(!r){var r=document.createElement("div");r.classList.add("sticky-clone-wrapper");document.body.append(r)}var n=new Array;Array.from(document.querySelectorAll("h1.part-title")).forEach(function(e){e._part=e.getAttribute("part");n.push(e)});var i,s=false,a,o,l=false,u;var c=function e(a){i=false;for(var o=n.length-1;o>=0;o--)if(n[o].getBoundingClientRect().top<t){i=n[o];break}if(i){if(i._part!==s._part){u=i.cloneNode(true);r.innerHTML="";r.appendChild(u);s=i}}else{r.innerHTML="";i=s=false}};window.onscroll=c}}},function(e,t,r){r(22);e.exports=r(87)},function(e,t,r){"use strict";r(23);r(24);r(25);r(26);var n=r(1);var i=r(3);var s=r(9);var a=r(10);var o=r(19);var l=r(85);var u=r(86);var c={view:function e(t){s.setLang(t.attrs.lang);return[n(a,t.attrs),t.children,n(o,t.attrs)]}};function f(){i.load(function(){console.log("init dbs callback");console.log("Init _dbs.data",i.data);console.log("Init _dbs.data_byid",i.data_byid);console.log("Init _dbs.data_strct",i.data_strct);console.log("Init _dbs.types",i.types);console.log("Init _dbs.data_bytype",i.data_bytype);n.route.prefix("");n.route(document.body,"/fr/connections",{"/:lang/text":{render:function e(t){return n(c,t.attrs,n(l,t.attrs))}},"/:lang/connections":{render:function e(t){return n(c,t.attrs,n(u,t.attrs))}}})})}f()},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,r){(function(e){var n="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window;var i=Function.prototype.apply;t.setTimeout=function(){return new s(i.call(setTimeout,n,arguments),clearTimeout)};t.setInterval=function(){return new s(i.call(setInterval,n,arguments),clearInterval)};t.clearTimeout=t.clearInterval=function(e){if(e)e.close()};function s(e,t){this._id=e;this._clearFn=t}s.prototype.unref=s.prototype.ref=function(){};s.prototype.close=function(){this._clearFn.call(n,this._id)};t.enroll=function(e,t){clearTimeout(e._idleTimeoutId);e._idleTimeout=t};t.unenroll=function(e){clearTimeout(e._idleTimeoutId);e._idleTimeout=-1};t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;if(t>=0)e._idleTimeoutId=setTimeout(function t(){if(e._onTimeout)e._onTimeout()},t)};r(28);t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate;t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(t,r(2))},function(e,t,r){(function(e,t){(function(e,r){"use strict";if(e.setImmediate)return;var n=1;var i={};var s=false;var a=e.document;var o;function l(e){if("function"!==typeof e)e=new Function(""+e);var t=new Array(arguments.length-1);for(var r=0;r<t.length;r++)t[r]=arguments[r+1];var s={callback:e,args:t};i[n]=s;o(n);return n++}function u(e){delete i[e]}function c(e){var t=e.callback;var n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n);break}}function f(e){if(s)setTimeout(f,0,e);else{var t=i[e];if(t){s=true;try{c(t)}finally{u(e);s=false}}}}function p(){o=function(e){t.nextTick(function(){f(e)})}}function h(){if(e.postMessage&&!e.importScripts){var t=true;var r=e.onmessage;e.onmessage=function(){t=false};e.postMessage("","*");e.onmessage=r;return t}}function d(){var t="setImmediate$"+Math.random()+"$";var r=function(r){if(r.source===e&&"string"===typeof r.data&&0===r.data.indexOf(t))f(+r.data.slice(t.length))};if(e.addEventListener)e.addEventListener("message",r,false);else e.attachEvent("onmessage",r);o=function(r){e.postMessage(t+r,"*")}}function m(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;f(t)};o=function(t){e.port2.postMessage(t)}}function v(){var e=a.documentElement;o=function(t){var r=a.createElement("script");r.onreadystatechange=function(){f(t);r.onreadystatechange=null;e.removeChild(r);r=null};e.appendChild(r)}}function g(){o=function(e){setTimeout(f,0,e)}}var _=Object.getPrototypeOf&&Object.getPrototypeOf(e);_=_&&_.setTimeout?_:e;if("[object process]"==={}.toString.call(e.process))p();else if(h())d();else if(e.MessageChannel)m();else if(a&&"onreadystatechange"in a.createElement("script"))v();else g();_.setImmediate=l;_.clearImmediate=u})("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(t,r(2),r(29))},function(e,t){var r=e.exports={};var n;var i;function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{if("function"===typeof setTimeout)n=setTimeout;else n=s}catch(e){n=s}try{if("function"===typeof clearTimeout)i=clearTimeout;else i=a}catch(e){i=a}})();function o(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout){n=setTimeout;return setTimeout(e,0)}try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function l(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout){i=clearTimeout;return clearTimeout(e)}try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}var u=[];var c=false;var f;var p=-1;function h(){if(!c||!f)return;c=false;if(f.length)u=f.concat(u);else p=-1;if(u.length)d()}function d(){if(c)return;var e=o(h);c=true;var t=u.length;while(t){f=u;u=[];while(++p<t)if(f)f[p].run();p=-1;t=u.length}f=null;c=false;l(e)}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new m(e,t));if(1===u.length&&!c)o(d)};function m(e,t){this.fun=e;this.array=t}m.prototype.run=function(){this.fun.apply(null,this.array)};r.title="browser";r.browser=true;r.env={};r.argv=[];r.version="";r.versions={};function v(){}r.on=v;r.addListener=v;r.once=v;r.off=v;r.removeListener=v;r.removeAllListeners=v;r.emit=v;r.prependListener=v;r.prependOnceListener=v;r.listeners=function(e){return[]};r.binding=function(e){throw new Error("process.binding is not supported")};r.cwd=function(){return"/"};r.chdir=function(e){throw new Error("process.chdir is not supported")};r.umask=function(){return 0}},function(e,t,r){"use strict";var n=r(0);var i=r(38);var s=r(42);var a=r(43);var o=r(51);var l=r(65);var u=r(78);var c=r(12);var f=r(80);var p={default:r(82),zero:r(83),commonmark:r(84)};var h=/^(vbscript|javascript|file|data):/;var d=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return h.test(t)?d.test(t)?true:false:true}var v=["http:","https:","mailto:"];function g(e){var t=c.parse(e,true);if(t.hostname)if(!t.protocol||v.indexOf(t.protocol)>=0)try{t.hostname=f.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function _(e){var t=c.parse(e,true);if(t.hostname)if(!t.protocol||v.indexOf(t.protocol)>=0)try{t.hostname=f.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);if(!t)if(!n.isString(e)){t=e||{};e="default"}this.inline=new l;this.block=new o;this.core=new a;this.renderer=new s;this.linkify=new u;this.validateLink=m;this.normalizeLink=g;this.normalizeLinkText=_;this.utils=n;this.helpers=n.assign({},i);this.options={};this.configure(e);if(t)this.set(t)}b.prototype.set=function(e){n.assign(this.options,e);return this};b.prototype.configure=function(e){var t=this,r;if(n.isString(e)){r=e;e=p[r];if(!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");if(e.options)t.set(e.options);if(e.components)Object.keys(e.components).forEach(function(r){if(e.components[r].rules)t[r].ruler.enableOnly(e.components[r].rules);if(e.components[r].rules2)t[r].ruler2.enableOnly(e.components[r].rules2)});return this};b.prototype.enable=function(e,t){var r=[];if(!Array.isArray(e))e=[e];["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,true))},this);r=r.concat(this.inline.ruler2.enable(e,true));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};b.prototype.disable=function(e,t){var r=[];if(!Array.isArray(e))e=[e];["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,true))},this);r=r.concat(this.inline.ruler2.disable(e,true));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));e.apply(e,t);return this};b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);this.core.process(r);return r.tokens};b.prototype.render=function(e,t){t=t||{};return this.renderer.render(this.parse(e,t),this.options,t)};b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);r.inlineMode=true;this.core.process(r);return r.tokens};b.prototype.renderInline=function(e,t){t=t||{};return this.renderer.render(this.parseInline(e,t),this.options,t)};e.exports=b},function(e,t){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,r){"use strict";var n={};function i(e){var t,r,i=n[e];if(i)return i;i=n[e]=[];for(t=0;t<128;t++){r=String.fromCharCode(t);if(/^[0-9a-z]$/i.test(r))i.push(r);else i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}function s(e,t,r){var n,a,o,l,u,c="";if("string"!==typeof t){r=t;t=s.defaultChars}if("undefined"===typeof r)r=true;u=i(t);for(n=0,a=e.length;n<a;n++){o=e.charCodeAt(n);if(r&&37===o&&n+2<a)if(/^[0-9a-f]{2}$/i.test(e.slice(n+1,n+3))){c+=e.slice(n,n+3);n+=2;continue}if(o<128){c+=u[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1<a){l=e.charCodeAt(n+1);if(l>=56320&&l<=57343){c+=encodeURIComponent(e[n]+e[n+1]);n++;continue}}c+="%EF%BF%BD";continue}c+=encodeURIComponent(e[n])}return c}s.defaultChars=";/?:@&=+$,-_.!~*'()#";s.componentChars="-_.!~*'()";e.exports=s},function(e,t,r){"use strict";var n={};function i(e){var t,r,i=n[e];if(i)return i;i=n[e]=[];for(t=0;t<128;t++){r=String.fromCharCode(t);i.push(r)}for(t=0;t<e.length;t++){r=e.charCodeAt(t);i[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return i}function s(e,t){var r;if("string"!==typeof t)t=s.defaultChars;r=i(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,i,s,a,o,l,u="";for(t=0,n=e.length;t<n;t+=3){i=parseInt(e.slice(t+1,t+3),16);if(i<128){u+=r[i];continue}if(192===(224&i)&&t+3<n){s=parseInt(e.slice(t+4,t+6),16);if(128===(192&s)){l=i<<6&1984|63&s;if(l<128)u+="��";else u+=String.fromCharCode(l);t+=3;continue}}if(224===(240&i)&&t+6<n){s=parseInt(e.slice(t+4,t+6),16);a=parseInt(e.slice(t+7,t+9),16);if(128===(192&s)&&128===(192&a)){l=i<<12&61440|s<<6&4032|63&a;if(l<2048||l>=55296&&l<=57343)u+="���";else u+=String.fromCharCode(l);t+=6;continue}}if(240===(248&i)&&t+9<n){s=parseInt(e.slice(t+4,t+6),16);a=parseInt(e.slice(t+7,t+9),16);o=parseInt(e.slice(t+10,t+12),16);if(128===(192&s)&&128===(192&a)&&128===(192&o)){l=i<<18&1835008|s<<12&258048|a<<6&4032|63&o;if(l<65536||l>1114111)u+="����";else{l-=65536;u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))}t+=9;continue}}u+="�"}return u})}s.defaultChars=";/?:@&=+$,#";s.componentChars="";e.exports=s},function(e,t,r){"use strict";e.exports=function e(t){var r="";r+=t.protocol||"";r+=t.slashes?"//":"";r+=t.auth?t.auth+"@":"";if(t.hostname&&-1!==t.hostname.indexOf(":"))r+="["+t.hostname+"]";else r+=t.hostname||"";r+=t.port?":"+t.port:"";r+=t.pathname||"";r+=t.search||"";r+=t.hash||"";return r}},function(e,t,r){"use strict";function n(){this.protocol=null;this.slashes=null;this.auth=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(o),u=["'"].concat(l),c=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=255,h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:true,"javascript:":true},v={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true};function g(e,t){if(e&&e instanceof n)return e;var r=new n;r.parse(e,t);return r}n.prototype.parse=function(e,t){var r,n,s,o,l,u=e;u=u.trim();if(!t&&1===e.split("#").length){var g=a.exec(u);if(g){this.pathname=g[1];if(g[2])this.search=g[2];return this}}var _=i.exec(u);if(_){_=_[0];s=_.toLowerCase();this.protocol=_;u=u.substr(_.length)}if(t||_||u.match(/^\/\/[^@\/]+@[^@\/]+/)){l="//"===u.substr(0,2);if(l&&!(_&&m[_])){u=u.substr(2);this.slashes=true}}if(!m[_]&&(l||_&&!v[_])){var b=-1;for(r=0;r<f.length;r++){o=u.indexOf(f[r]);if(-1!==o&&(-1===b||o<b))b=o}var y,k;if(-1===b)k=u.lastIndexOf("@");else k=u.lastIndexOf("@",b);if(-1!==k){y=u.slice(0,k);u=u.slice(k+1);this.auth=y}b=-1;for(r=0;r<c.length;r++){o=u.indexOf(c[r]);if(-1!==o&&(-1===b||o<b))b=o}if(-1===b)b=u.length;if(":"===u[b-1])b--;var x=u.slice(0,b);u=u.slice(b);this.parseHost(x);this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var C=this.hostname.split(/\./);for(r=0,n=C.length;r<n;r++){var A=C[r];if(!A)continue;if(!A.match(h)){var D="";for(var E=0,S=A.length;E<S;E++)if(A.charCodeAt(E)>127)D+="x";else D+=A[E];if(!D.match(h)){var q=C.slice(0,r);var T=C.slice(r+1);var L=A.match(d);if(L){q.push(L[1]);T.unshift(L[2])}if(T.length)u=T.join(".")+u;this.hostname=q.join(".");break}}}}if(this.hostname.length>p)this.hostname="";if(w)this.hostname=this.hostname.substr(1,this.hostname.length-2)}var F=u.indexOf("#");if(-1!==F){this.hash=u.substr(F);u=u.slice(0,F)}var z=u.indexOf("?");if(-1!==z){this.search=u.substr(z);u=u.slice(0,z)}if(u)this.pathname=u;if(v[s]&&this.hostname&&!this.pathname)this.pathname="";return this};n.prototype.parseHost=function(e){var t=s.exec(e);if(t){t=t[0];if(":"!==t)this.port=t.substr(1);e=e.substr(0,e.length-t.length)}if(e)this.hostname=e};e.exports=g},function(e,t,r){"use strict";t.Any=r(13);t.Cc=r(14);t.Cf=r(37);t.P=r(5);t.Z=r(15)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(39);t.parseLinkDestination=r(40);t.parseLinkTitle=r(41)},function(e,t,r){"use strict";e.exports=function e(t,r,n){var i,s,a,o,l=-1,u=t.posMax,c=t.pos;t.pos=r+1;i=1;while(t.pos<u){a=t.src.charCodeAt(t.pos);if(93===a){i--;if(0===i){s=true;break}}o=t.pos;t.md.inline.skipToken(t);if(91===a)if(o===t.pos-1)i++;else if(n){t.pos=c;return-1}}if(s)l=t.pos;t.pos=c;return l}},function(e,t,r){"use strict";var n=r(0).isSpace;var i=r(0).unescapeAll;e.exports=function e(t,r,s){var a,o,l=0,u=r,c={ok:false,pos:0,lines:0,str:""};if(60===t.charCodeAt(r)){r++;while(r<s){a=t.charCodeAt(r);if(10===a||n(a))return c;if(62===a){c.pos=r+1;c.str=i(t.slice(u+1,r));c.ok=true;return c}if(92===a&&r+1<s){r+=2;continue}r++}return c}o=0;while(r<s){a=t.charCodeAt(r);if(32===a)break;if(a<32||127===a)break;if(92===a&&r+1<s){r+=2;continue}if(40===a)o++;if(41===a){if(0===o)break;o--}r++}if(u===r)return c;if(0!==o)return c;c.str=i(t.slice(u,r));c.lines=l;c.pos=r;c.ok=true;return c}},function(e,t,r){"use strict";var n=r(0).unescapeAll;e.exports=function e(t,r,i){var s,a,o=0,l=r,u={ok:false,pos:0,lines:0,str:""};if(r>=i)return u;a=t.charCodeAt(r);if(34!==a&&39!==a&&40!==a)return u;r++;if(40===a)a=41;while(r<i){s=t.charCodeAt(r);if(s===a){u.pos=r+1;u.lines=o;u.str=n(t.slice(l+1,r));u.ok=true;return u}else if(10===s)o++;else if(92===s&&r+1<i){r++;if(10===t.charCodeAt(r))o++}r++}return u}},function(e,t,r){"use strict";var n=r(0).assign;var i=r(0).unescapeAll;var s=r(0).escapeHtml;var a={};a.code_inline=function(e,t,r,n,i){var a=e[t];return"<code"+i.renderAttrs(a)+">"+s(e[t].content)+"</code>"};a.code_block=function(e,t,r,n,i){var a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+s(e[t].content)+"</code></pre>\n"};a.fence=function(e,t,r,n,a){var o=e[t],l=o.info?i(o.info).trim():"",u="",c,f,p,h;if(l)u=l.split(/\s+/g)[0];if(r.highlight)c=r.highlight(o.content,u)||s(o.content);else c=s(o.content);if(0===c.indexOf("<pre"))return c+"\n";if(l){f=o.attrIndex("class");p=o.attrs?o.attrs.slice():[];if(f<0)p.push(["class",r.langPrefix+u]);else p[f][1]+=" "+r.langPrefix+u;h={attrs:p};return"<pre><code"+a.renderAttrs(h)+">"+c+"</code></pre>\n"}return"<pre><code"+a.renderAttrs(o)+">"+c+"</code></pre>\n"};a.image=function(e,t,r,n,i){var s=e[t];s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,r,n);return i.renderToken(e,t,r)};a.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"};a.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"};a.text=function(e,t){return s(e[t].content)};a.html_block=function(e,t){return e[t].content};a.html_inline=function(e,t){return e[t].content};function o(){this.rules=n({},a)}o.prototype.renderAttrs=function e(t){var r,n,i;if(!t.attrs)return"";i="";for(r=0,n=t.attrs.length;r<n;r++)i+=" "+s(t.attrs[r][0])+'="'+s(t.attrs[r][1])+'"';return i};o.prototype.renderToken=function e(t,r,n){var i,s="",a=false,o=t[r];if(o.hidden)return"";if(o.block&&-1!==o.nesting&&r&&t[r-1].hidden)s+="\n";s+=(-1===o.nesting?"</":"<")+o.tag;s+=this.renderAttrs(o);if(0===o.nesting&&n.xhtmlOut)s+=" /";if(o.block){a=true;if(1===o.nesting)if(r+1<t.length){i=t[r+1];if("inline"===i.type||i.hidden)a=false;else if(-1===i.nesting&&i.tag===o.tag)a=false}}s+=a?">\n":">";return s};o.prototype.renderInline=function(e,t,r){var n,i="",s=this.rules;for(var a=0,o=e.length;a<o;a++){n=e[a].type;if("undefined"!==typeof s[n])i+=s[n](e,a,t,r,this);else i+=this.renderToken(e,a,t)}return i};o.prototype.renderInlineAsText=function(e,t,r){var n="";for(var i=0,s=e.length;i<s;i++)if("text"===e[i].type)n+=e[i].content;else if("image"===e[i].type)n+=this.renderInlineAsText(e[i].children,t,r);return n};o.prototype.render=function(e,t,r){var n,i,s,a="",o=this.rules;for(n=0,i=e.length;n<i;n++){s=e[n].type;if("inline"===s)a+=this.renderInline(e[n].children,t,r);else if("undefined"!==typeof o[s])a+=o[e[n].type](e,n,t,r,this);else a+=this.renderToken(e,n,t,r)}return a};e.exports=o},function(e,t,r){"use strict";var n=r(6);var i=[["normalize",r(44)],["block",r(45)],["inline",r(46)],["linkify",r(47)],["replacements",r(48)],["smartquotes",r(49)]];function s(){this.ruler=new n;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}s.prototype.process=function(e){var t,r,n;n=this.ruler.getRules("");for(t=0,r=n.length;t<r;t++)n[t](e)};s.prototype.State=r(50);e.exports=s},function(e,t,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g;var i=/\u0000/g;e.exports=function e(t){var r;r=t.src.replace(n,"\n");r=r.replace(i,"�");t.src=r}},function(e,t,r){"use strict";e.exports=function e(t){var r;if(t.inlineMode){r=new t.Token("inline","",0);r.content=t.src;r.map=[0,1];r.children=[];t.tokens.push(r)}else t.md.block.parse(t.src,t.md,t.env,t.tokens)}},function(e,t,r){"use strict";e.exports=function e(t){var r=t.tokens,n,i,s;for(i=0,s=r.length;i<s;i++){n=r[i];if("inline"===n.type)t.md.inline.parse(n.content,t.md,t.env,n.children)}}},function(e,t,r){"use strict";var n=r(0).arrayReplaceAt;function i(e){return/^<a[>\s]/i.test(e)}function s(e){return/^<\/a\s*>/i.test(e)}e.exports=function e(t){var r,a,o,l,u,c,f,p,h,d,m,v,g,_,b,y,k=t.tokens,x;if(!t.md.options.linkify)return;for(a=0,o=k.length;a<o;a++){if("inline"!==k[a].type||!t.md.linkify.pretest(k[a].content))continue;l=k[a].children;g=0;for(r=l.length-1;r>=0;r--){c=l[r];if("link_close"===c.type){r--;while(l[r].level!==c.level&&"link_open"!==l[r].type)r--;continue}if("html_inline"===c.type){if(i(c.content)&&g>0)g--;if(s(c.content))g++}if(g>0)continue;if("text"===c.type&&t.md.linkify.test(c.content)){h=c.content;x=t.md.linkify.match(h);f=[];v=c.level;m=0;for(p=0;p<x.length;p++){_=x[p].url;b=t.md.normalizeLink(_);if(!t.md.validateLink(b))continue;y=x[p].text;if(!x[p].schema)y=t.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,"");else if("mailto:"===x[p].schema&&!/^mailto:/i.test(y))y=t.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,"");else y=t.md.normalizeLinkText(y);d=x[p].index;if(d>m){u=new t.Token("text","",0);u.content=h.slice(m,d);u.level=v;f.push(u)}u=new t.Token("link_open","a",1);u.attrs=[["href",b]];u.level=v++;u.markup="linkify";u.info="auto";f.push(u);u=new t.Token("text","",0);u.content=y;u.level=v;f.push(u);u=new t.Token("link_close","a",-1);u.level=--v;u.markup="linkify";u.info="auto";f.push(u);m=x[p].lastIndex}if(m<h.length){u=new t.Token("text","",0);u.content=h.slice(m);u.level=v;f.push(u)}k[a].children=l=n(l,r,f)}}}}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/;var i=/\((c|tm|r|p)\)/i;var s=/\((c|tm|r|p)\)/gi;var a={c:"©",r:"®",p:"§",tm:"™"};function o(e,t){return a[t.toLowerCase()]}function l(e){var t,r,n=0;for(t=e.length-1;t>=0;t--){r=e[t];if("text"===r.type&&!n)r.content=r.content.replace(s,o);if("link_open"===r.type&&"auto"===r.info)n--;if("link_close"===r.type&&"auto"===r.info)n++}}function u(e){var t,r,i=0;for(t=e.length-1;t>=0;t--){r=e[t];if("text"===r.type&&!i)if(n.test(r.content))r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2");if("link_open"===r.type&&"auto"===r.info)i--;if("link_close"===r.type&&"auto"===r.info)i++}}e.exports=function e(t){var r;if(!t.md.options.typographer)return;for(r=t.tokens.length-1;r>=0;r--){if("inline"!==t.tokens[r].type)continue;if(i.test(t.tokens[r].content))l(t.tokens[r].children);if(n.test(t.tokens[r].content))u(t.tokens[r].children)}}},function(e,t,r){"use strict";var n=r(0).isWhiteSpace;var i=r(0).isPunctChar;var s=r(0).isMdAsciiPunct;var a=/['"]/;var o=/['"]/g;var l="’";function u(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function c(e,t){var r,a,c,f,p,h,d,m,v,g,_,b,y,k,x,w,C,A,D,E,S;D=[];for(r=0;r<e.length;r++){a=e[r];d=e[r].level;for(C=D.length-1;C>=0;C--)if(D[C].level<=d)break;D.length=C+1;if("text"!==a.type)continue;c=a.content;p=0;h=c.length;e:while(p<h){o.lastIndex=p;f=o.exec(c);if(!f)break;x=w=true;p=f.index+1;A="'"===f[0];v=32;if(f.index-1>=0)v=c.charCodeAt(f.index-1);else for(C=r-1;C>=0;C--){if("softbreak"===e[C].type||"hardbreak"===e[C].type)break;if("text"!==e[C].type)continue;v=e[C].content.charCodeAt(e[C].content.length-1);break}g=32;if(p<h)g=c.charCodeAt(p);else for(C=r+1;C<e.length;C++){if("softbreak"===e[C].type||"hardbreak"===e[C].type)break;if("text"!==e[C].type)continue;g=e[C].content.charCodeAt(0);break}_=s(v)||i(String.fromCharCode(v));b=s(g)||i(String.fromCharCode(g));y=n(v);k=n(g);if(k)x=false;else if(b)if(!(y||_))x=false;if(y)w=false;else if(_)if(!(k||b))w=false;if(34===g&&'"'===f[0])if(v>=48&&v<=57)w=x=false;if(x&&w){x=false;w=b}if(!x&&!w){if(A)a.content=u(a.content,f.index,l);continue}if(w)for(C=D.length-1;C>=0;C--){m=D[C];if(D[C].level<d)break;if(m.single===A&&D[C].level===d){m=D[C];if(A){E=t.md.options.quotes[2];S=t.md.options.quotes[3]}else{E=t.md.options.quotes[0];S=t.md.options.quotes[1]}a.content=u(a.content,f.index,S);e[m.token].content=u(e[m.token].content,m.pos,E);p+=S.length-1;if(m.token===r)p+=E.length-1;c=a.content;h=c.length;D.length=C;continue e}}if(x)D.push({token:r,pos:f.index,single:A,level:d});else if(w&&A)a.content=u(a.content,f.index,l)}}}e.exports=function e(t){var r;if(!t.md.options.typographer)return;for(r=t.tokens.length-1;r>=0;r--){if("inline"!==t.tokens[r].type||!a.test(t.tokens[r].content))continue;c(t.tokens[r].children,t)}}},function(e,t,r){"use strict";var n=r(7);function i(e,t,r){this.src=e;this.env=r;this.tokens=[];this.inlineMode=false;this.md=t}i.prototype.Token=n;e.exports=i},function(e,t,r){"use strict";var n=r(6);var i=[["table",r(52),["paragraph","reference"]],["code",r(53)],["fence",r(54),["paragraph","reference","blockquote","list"]],["blockquote",r(55),["paragraph","reference","blockquote","list"]],["hr",r(56),["paragraph","reference","blockquote","list"]],["list",r(57),["paragraph","reference","blockquote"]],["reference",r(58)],["heading",r(59),["paragraph","reference","blockquote"]],["lheading",r(60)],["html_block",r(61),["paragraph","reference","blockquote"]],["paragraph",r(63)]];function s(){this.ruler=new n;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}s.prototype.tokenize=function(e,t,r){var n,i,s=this.ruler.getRules(""),a=s.length,o=t,l=false,u=e.md.options.maxNesting;while(o<r){e.line=o=e.skipEmptyLines(o);if(o>=r)break;if(e.sCount[o]<e.blkIndent)break;if(e.level>=u){e.line=r;break}for(i=0;i<a;i++){n=s[i](e,o,r,false);if(n)break}e.tight=!l;if(e.isEmpty(e.line-1))l=true;o=e.line;if(o<r&&e.isEmpty(o)){l=true;o++;e.line=o}}};s.prototype.parse=function(e,t,r,n){var i;if(!e)return;i=new this.State(e,t,r,n);this.tokenize(i,i.line,i.lineMax)};s.prototype.State=r(64);e.exports=s},function(e,t,r){"use strict";var n=r(0).isSpace;function i(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function s(e){var t=[],r=0,n=e.length,i,s=0,a=0,o=false,l=0;i=e.charCodeAt(r);while(r<n){if(96===i){if(o){o=false;l=r}else if(s%2===0){o=true;l=r}}else if(124===i&&s%2===0&&!o){t.push(e.substring(a,r));a=r+1}if(92===i)s++;else s=0;r++;if(r===n&&o){o=false;r=l+1}i=e.charCodeAt(r)}t.push(e.substring(a));return t}e.exports=function e(t,r,a,o){var l,u,c,f,p,h,d,m,v,g,_,b;if(r+2>a)return false;p=r+1;if(t.sCount[p]<t.blkIndent)return false;if(t.sCount[p]-t.blkIndent>=4)return false;c=t.bMarks[p]+t.tShift[p];if(c>=t.eMarks[p])return false;l=t.src.charCodeAt(c++);if(124!==l&&45!==l&&58!==l)return false;while(c<t.eMarks[p]){l=t.src.charCodeAt(c);if(124!==l&&45!==l&&58!==l&&!n(l))return false;c++}u=i(t,r+1);h=u.split("|");v=[];for(f=0;f<h.length;f++){g=h[f].trim();if(!g)if(0===f||f===h.length-1)continue;else return false;if(!/^:?-+:?$/.test(g))return false;if(58===g.charCodeAt(g.length-1))v.push(58===g.charCodeAt(0)?"center":"right");else if(58===g.charCodeAt(0))v.push("left");else v.push("")}u=i(t,r).trim();if(-1===u.indexOf("|"))return false;if(t.sCount[r]-t.blkIndent>=4)return false;h=s(u.replace(/^\||\|$/g,""));d=h.length;if(d>v.length)return false;if(o)return true;m=t.push("table_open","table",1);m.map=_=[r,0];m=t.push("thead_open","thead",1);m.map=[r,r+1];m=t.push("tr_open","tr",1);m.map=[r,r+1];for(f=0;f<h.length;f++){m=t.push("th_open","th",1);m.map=[r,r+1];if(v[f])m.attrs=[["style","text-align:"+v[f]]];m=t.push("inline","",0);m.content=h[f].trim();m.map=[r,r+1];m.children=[];m=t.push("th_close","th",-1)}m=t.push("tr_close","tr",-1);m=t.push("thead_close","thead",-1);m=t.push("tbody_open","tbody",1);m.map=b=[r+2,0];for(p=r+2;p<a;p++){if(t.sCount[p]<t.blkIndent)break;u=i(t,p).trim();if(-1===u.indexOf("|"))break;if(t.sCount[p]-t.blkIndent>=4)break;h=s(u.replace(/^\||\|$/g,""));m=t.push("tr_open","tr",1);for(f=0;f<d;f++){m=t.push("td_open","td",1);if(v[f])m.attrs=[["style","text-align:"+v[f]]];m=t.push("inline","",0);m.content=h[f]?h[f].trim():"";m.children=[];m=t.push("td_close","td",-1)}m=t.push("tr_close","tr",-1)}m=t.push("tbody_close","tbody",-1);m=t.push("table_close","table",-1);_[1]=b[1]=p;t.line=p;return true}},function(e,t,r){"use strict";e.exports=function e(t,r,n){var i,s,a;if(t.sCount[r]-t.blkIndent<4)return false;s=i=r+1;while(i<n){if(t.isEmpty(i)){i++;continue}if(t.sCount[i]-t.blkIndent>=4){i++;s=i;continue}break}t.line=s;a=t.push("code_block","code",0);a.content=t.getLines(r,s,4+t.blkIndent,true);a.map=[r,t.line];return true}},function(e,t,r){"use strict";e.exports=function e(t,r,n,i){var s,a,o,l,u,c,f,p=false,h=t.bMarks[r]+t.tShift[r],d=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;if(h+3>d)return false;s=t.src.charCodeAt(h);if(126!==s&&96!==s)return false;u=h;h=t.skipChars(h,s);a=h-u;if(a<3)return false;f=t.src.slice(u,h);o=t.src.slice(h,d);if(o.indexOf(String.fromCharCode(s))>=0)return false;if(i)return true;l=r;for(;;){l++;if(l>=n)break;h=u=t.bMarks[l]+t.tShift[l];d=t.eMarks[l];if(h<d&&t.sCount[l]<t.blkIndent)break;if(t.src.charCodeAt(h)!==s)continue;if(t.sCount[l]-t.blkIndent>=4)continue;h=t.skipChars(h,s);if(h-u<a)continue;h=t.skipSpaces(h);if(h<d)continue;p=true;break}a=t.sCount[r];t.line=l+(p?1:0);c=t.push("fence","code",0);c.info=o;c.content=t.getLines(r+1,l,a,true);c.markup=f;c.map=[r,t.line];return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r,i,s){var a,o,l,u,c,f,p,h,d,m,v,g,_,b,y,k,x,w,C,A,D=t.lineMax,E=t.bMarks[r]+t.tShift[r],S=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;if(62!==t.src.charCodeAt(E++))return false;if(s)return true;u=d=t.sCount[r]+E-(t.bMarks[r]+t.tShift[r]);if(32===t.src.charCodeAt(E)){E++;u++;d++;a=false;k=true}else if(9===t.src.charCodeAt(E)){k=true;if((t.bsCount[r]+d)%4===3){E++;u++;d++;a=false}else a=true}else k=false;m=[t.bMarks[r]];t.bMarks[r]=E;while(E<S){o=t.src.charCodeAt(E);if(n(o))if(9===o)d+=4-(d+t.bsCount[r]+(a?1:0))%4;else d++;else break;E++}v=[t.bsCount[r]];t.bsCount[r]=t.sCount[r]+1+(k?1:0);f=E>=S;b=[t.sCount[r]];t.sCount[r]=d-u;y=[t.tShift[r]];t.tShift[r]=E-t.bMarks[r];w=t.md.block.ruler.getRules("blockquote");_=t.parentType;t.parentType="blockquote";A=false;for(h=r+1;h<i;h++){if(t.sCount[h]<t.blkIndent)A=true;E=t.bMarks[h]+t.tShift[h];S=t.eMarks[h];if(E>=S)break;if(62===t.src.charCodeAt(E++)&&!A){u=d=t.sCount[h]+E-(t.bMarks[h]+t.tShift[h]);if(32===t.src.charCodeAt(E)){E++;u++;d++;a=false;k=true}else if(9===t.src.charCodeAt(E)){k=true;if((t.bsCount[h]+d)%4===3){E++;u++;d++;a=false}else a=true}else k=false;m.push(t.bMarks[h]);t.bMarks[h]=E;while(E<S){o=t.src.charCodeAt(E);if(n(o))if(9===o)d+=4-(d+t.bsCount[h]+(a?1:0))%4;else d++;else break;E++}f=E>=S;v.push(t.bsCount[h]);t.bsCount[h]=t.sCount[h]+1+(k?1:0);b.push(t.sCount[h]);t.sCount[h]=d-u;y.push(t.tShift[h]);t.tShift[h]=E-t.bMarks[h];continue}if(f)break;x=false;for(l=0,c=w.length;l<c;l++)if(w[l](t,h,i,true)){x=true;break}if(x){t.lineMax=h;if(0!==t.blkIndent){m.push(t.bMarks[h]);v.push(t.bsCount[h]);y.push(t.tShift[h]);b.push(t.sCount[h]);t.sCount[h]-=t.blkIndent}break}m.push(t.bMarks[h]);v.push(t.bsCount[h]);y.push(t.tShift[h]);b.push(t.sCount[h]);t.sCount[h]=-1}g=t.blkIndent;t.blkIndent=0;C=t.push("blockquote_open","blockquote",1);C.markup=">";C.map=p=[r,0];t.md.block.tokenize(t,r,h);C=t.push("blockquote_close","blockquote",-1);C.markup=">";t.lineMax=D;t.parentType=_;p[1]=t.line;for(l=0;l<y.length;l++){t.bMarks[l+r]=m[l];t.tShift[l+r]=y[l];t.sCount[l+r]=b[l];t.bsCount[l+r]=v[l]}t.blkIndent=g;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r,i,s){var a,o,l,u,c=t.bMarks[r]+t.tShift[r],f=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;a=t.src.charCodeAt(c++);if(42!==a&&45!==a&&95!==a)return false;o=1;while(c<f){l=t.src.charCodeAt(c++);if(l!==a&&!n(l))return false;if(l===a)o++}if(o<3)return false;if(s)return true;t.line=r+1;u=t.push("hr","hr",0);u.map=[r,t.line];u.markup=Array(o+1).join(String.fromCharCode(a));return true}},function(e,t,r){"use strict";var n=r(0).isSpace;function i(e,t){var r,i,s,a;i=e.bMarks[t]+e.tShift[t];s=e.eMarks[t];r=e.src.charCodeAt(i++);if(42!==r&&45!==r&&43!==r)return-1;if(i<s){a=e.src.charCodeAt(i);if(!n(a))return-1}return i}function s(e,t){var r,i=e.bMarks[t]+e.tShift[t],s=i,a=e.eMarks[t];if(s+1>=a)return-1;r=e.src.charCodeAt(s++);if(r<48||r>57)return-1;for(;;){if(s>=a)return-1;r=e.src.charCodeAt(s++);if(r>=48&&r<=57){if(s-i>=10)return-1;continue}if(41===r||46===r)break;return-1}if(s<a){r=e.src.charCodeAt(s);if(!n(r))return-1}return s}function a(e,t){var r,n,i=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)if(e.tokens[r].level===i&&"paragraph_open"===e.tokens[r].type){e.tokens[r+2].hidden=true;e.tokens[r].hidden=true;r+=2}}e.exports=function e(t,r,n,o){var l,u,c,f,p,h,d,m,v,g,_,b,y,k,x,w,C,A,D,E,S,q,T,L,F,z,I,M,R=false,N=true;if(t.sCount[r]-t.blkIndent>=4)return false;if(o&&"paragraph"===t.parentType)if(t.tShift[r]>=t.blkIndent)R=true;if((T=s(t,r))>=0){d=true;F=t.bMarks[r]+t.tShift[r];y=Number(t.src.substr(F,T-F-1));if(R&&1!==y)return false}else if((T=i(t,r))>=0)d=false;else return false;if(R)if(t.skipSpaces(T)>=t.eMarks[r])return false;b=t.src.charCodeAt(T-1);if(o)return true;_=t.tokens.length;if(d){M=t.push("ordered_list_open","ol",1);if(1!==y)M.attrs=[["start",y]]}else M=t.push("bullet_list_open","ul",1);M.map=g=[r,0];M.markup=String.fromCharCode(b);x=r;L=false;I=t.md.block.ruler.getRules("list");D=t.parentType;t.parentType="list";while(x<n){q=T;k=t.eMarks[x];h=w=t.sCount[x]+T-(t.bMarks[r]+t.tShift[r]);while(q<k){l=t.src.charCodeAt(q);if(9===l)w+=4-(w+t.bsCount[x])%4;else if(32===l)w++;else break;q++}u=q;if(u>=k)p=1;else p=w-h;if(p>4)p=1;f=h+p;M=t.push("list_item_open","li",1);M.markup=String.fromCharCode(b);M.map=m=[r,0];C=t.blkIndent;S=t.tight;E=t.tShift[r];A=t.sCount[r];t.blkIndent=f;t.tight=true;t.tShift[r]=u-t.bMarks[r];t.sCount[r]=w;if(u>=k&&t.isEmpty(r+1))t.line=Math.min(t.line+2,n);else t.md.block.tokenize(t,r,n,true);if(!t.tight||L)N=false;L=t.line-r>1&&t.isEmpty(t.line-1);t.blkIndent=C;t.tShift[r]=E;t.sCount[r]=A;t.tight=S;M=t.push("list_item_close","li",-1);M.markup=String.fromCharCode(b);x=r=t.line;m[1]=x;u=t.bMarks[r];if(x>=n)break;if(t.sCount[x]<t.blkIndent)break;z=false;for(c=0,v=I.length;c<v;c++)if(I[c](t,x,n,true)){z=true;break}if(z)break;if(d){T=s(t,x);if(T<0)break}else{T=i(t,x);if(T<0)break}if(b!==t.src.charCodeAt(T-1))break}if(d)M=t.push("ordered_list_close","ol",-1);else M=t.push("bullet_list_close","ul",-1);M.markup=String.fromCharCode(b);g[1]=x;t.line=x;t.parentType=D;if(N)a(t,_);return true}},function(e,t,r){"use strict";var n=r(0).normalizeReference;var i=r(0).isSpace;e.exports=function e(t,r,s,a){var o,l,u,c,f,p,h,d,m,v,g,_,b,y,k,x,w=0,C=t.bMarks[r]+t.tShift[r],A=t.eMarks[r],D=r+1;if(t.sCount[r]-t.blkIndent>=4)return false;if(91!==t.src.charCodeAt(C))return false;while(++C<A)if(93===t.src.charCodeAt(C)&&92!==t.src.charCodeAt(C-1)){if(C+1===A)return false;if(58!==t.src.charCodeAt(C+1))return false;break}c=t.lineMax;k=t.md.block.ruler.getRules("reference");v=t.parentType;t.parentType="reference";for(;D<c&&!t.isEmpty(D);D++){if(t.sCount[D]-t.blkIndent>3)continue;if(t.sCount[D]<0)continue;y=false;for(p=0,h=k.length;p<h;p++)if(k[p](t,D,c,true)){y=true;break}if(y)break}b=t.getLines(r,D,t.blkIndent,false).trim();A=b.length;for(C=1;C<A;C++){o=b.charCodeAt(C);if(91===o)return false;else if(93===o){m=C;break}else if(10===o)w++;else if(92===o){C++;if(C<A&&10===b.charCodeAt(C))w++}}if(m<0||58!==b.charCodeAt(m+1))return false;for(C=m+2;C<A;C++){o=b.charCodeAt(C);if(10===o)w++;else if(i(o));else break}g=t.md.helpers.parseLinkDestination(b,C,A);if(!g.ok)return false;f=t.md.normalizeLink(g.str);if(!t.md.validateLink(f))return false;C=g.pos;w+=g.lines;l=C;u=w;_=C;for(;C<A;C++){o=b.charCodeAt(C);if(10===o)w++;else if(i(o));else break}g=t.md.helpers.parseLinkTitle(b,C,A);if(C<A&&_!==C&&g.ok){x=g.str;C=g.pos;w+=g.lines}else{x="";C=l;w=u}while(C<A){o=b.charCodeAt(C);if(!i(o))break;C++}if(C<A&&10!==b.charCodeAt(C))if(x){x="";C=l;w=u;while(C<A){o=b.charCodeAt(C);if(!i(o))break;C++}}if(C<A&&10!==b.charCodeAt(C))return false;d=n(b.slice(1,m));if(!d)return false;if(a)return true;if("undefined"===typeof t.env.references)t.env.references={};if("undefined"===typeof t.env.references[d])t.env.references[d]={title:x,href:f};t.parentType=v;t.line=r+w+1;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r,i,s){var a,o,l,u,c=t.bMarks[r]+t.tShift[r],f=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;a=t.src.charCodeAt(c);if(35!==a||c>=f)return false;o=1;a=t.src.charCodeAt(++c);while(35===a&&c<f&&o<=6){o++;a=t.src.charCodeAt(++c)}if(o>6||c<f&&!n(a))return false;if(s)return true;f=t.skipSpacesBack(f,c);l=t.skipCharsBack(f,35,c);if(l>c&&n(t.src.charCodeAt(l-1)))f=l;t.line=r+1;u=t.push("heading_open","h"+String(o),1);u.markup="########".slice(0,o);u.map=[r,t.line];u=t.push("inline","",0);u.content=t.src.slice(c,f).trim();u.map=[r,t.line];u.children=[];u=t.push("heading_close","h"+String(o),-1);u.markup="########".slice(0,o);return true}},function(e,t,r){"use strict";e.exports=function e(t,r,n){var i,s,a,o,l,u,c,f,p,h=r+1,d,m=t.md.block.ruler.getRules("paragraph");if(t.sCount[r]-t.blkIndent>=4)return false;d=t.parentType;t.parentType="paragraph";for(;h<n&&!t.isEmpty(h);h++){if(t.sCount[h]-t.blkIndent>3)continue;if(t.sCount[h]>=t.blkIndent){u=t.bMarks[h]+t.tShift[h];c=t.eMarks[h];if(u<c){p=t.src.charCodeAt(u);if(45===p||61===p){u=t.skipChars(u,p);u=t.skipSpaces(u);if(u>=c){f=61===p?1:2;break}}}}if(t.sCount[h]<0)continue;s=false;for(a=0,o=m.length;a<o;a++)if(m[a](t,h,n,true)){s=true;break}if(s)break}if(!f)return false;i=t.getLines(r,h,t.blkIndent,false).trim();t.line=h+1;l=t.push("heading_open","h"+String(f),1);l.markup=String.fromCharCode(p);l.map=[r,t.line];l=t.push("inline","",0);l.content=i;l.map=[r,t.line-1];l.children=[];l=t.push("heading_close","h"+String(f),-1);l.markup=String.fromCharCode(p);t.parentType=d;return true}},function(e,t,r){"use strict";var n=r(62);var i=r(16).HTML_OPEN_CLOSE_TAG_RE;var s=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,true],[/^<!--/,/-->/,true],[/^<\?/,/\?>/,true],[/^<![A-Z]/,/>/,true],[/^<!\[CDATA\[/,/\]\]>/,true],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,true],[new RegExp(i.source+"\\s*$"),/^$/,false]];e.exports=function e(t,r,n,i){var a,o,l,u,c=t.bMarks[r]+t.tShift[r],f=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4)return false;if(!t.md.options.html)return false;if(60!==t.src.charCodeAt(c))return false;u=t.src.slice(c,f);for(a=0;a<s.length;a++)if(s[a][0].test(u))break;if(a===s.length)return false;if(i)return s[a][2];o=r+1;if(!s[a][1].test(u))for(;o<n;o++){if(t.sCount[o]<t.blkIndent)break;c=t.bMarks[o]+t.tShift[o];f=t.eMarks[o];u=t.src.slice(c,f);if(s[a][1].test(u)){if(0!==u.length)o++;break}}t.line=o;l=t.push("html_block","",0);l.map=[r,o];l.content=t.getLines(r,o,t.blkIndent,true);return true}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";e.exports=function e(t,r){var n,i,s,a,o,l,u=r+1,c=t.md.block.ruler.getRules("paragraph"),f=t.lineMax;l=t.parentType;t.parentType="paragraph";for(;u<f&&!t.isEmpty(u);u++){if(t.sCount[u]-t.blkIndent>3)continue;if(t.sCount[u]<0)continue;i=false;for(s=0,a=c.length;s<a;s++)if(c[s](t,u,f,true)){i=true;break}if(i)break}n=t.getLines(r,u,t.blkIndent,false).trim();t.line=u;o=t.push("paragraph_open","p",1);o.map=[r,t.line];o=t.push("inline","",0);o.content=n;o.map=[r,t.line];o.children=[];o=t.push("paragraph_close","p",-1);t.parentType=l;return true}},function(e,t,r){"use strict";var n=r(7);var i=r(0).isSpace;function s(e,t,r,n){var s,a,o,l,u,c,f,p;this.src=e;this.md=t;this.env=r;this.tokens=n;this.bMarks=[];this.eMarks=[];this.tShift=[];this.sCount=[];this.bsCount=[];this.blkIndent=0;this.line=0;this.lineMax=0;this.tight=false;this.ddIndent=-1;this.parentType="root";this.level=0;this.result="";a=this.src;p=false;for(o=l=c=f=0,u=a.length;l<u;l++){s=a.charCodeAt(l);if(!p)if(i(s)){c++;if(9===s)f+=4-f%4;else f++;continue}else p=true;if(10===s||l===u-1){if(10!==s)l++;this.bMarks.push(o);this.eMarks.push(l);this.tShift.push(c);this.sCount.push(f);this.bsCount.push(0);p=false;c=0;f=0;o=l+1}}this.bMarks.push(a.length);this.eMarks.push(a.length);this.tShift.push(0);this.sCount.push(0);this.bsCount.push(0);this.lineMax=this.bMarks.length-1}s.prototype.push=function(e,t,r){var i=new n(e,t,r);i.block=true;if(r<0)this.level--;i.level=this.level;if(r>0)this.level++;this.tokens.push(i);return i};s.prototype.isEmpty=function e(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};s.prototype.skipEmptyLines=function e(t){for(var r=this.lineMax;t<r;t++)if(this.bMarks[t]+this.tShift[t]<this.eMarks[t])break;return t};s.prototype.skipSpaces=function e(t){var r;for(var n=this.src.length;t<n;t++){r=this.src.charCodeAt(t);if(!i(r))break}return t};s.prototype.skipSpacesBack=function e(t,r){if(t<=r)return t;while(t>r)if(!i(this.src.charCodeAt(--t)))return t+1;return t};s.prototype.skipChars=function e(t,r){for(var n=this.src.length;t<n;t++)if(this.src.charCodeAt(t)!==r)break;return t};s.prototype.skipCharsBack=function e(t,r,n){if(t<=n)return t;while(t>n)if(r!==this.src.charCodeAt(--t))return t+1;return t};s.prototype.getLines=function e(t,r,n,s){var a,o,l,u,c,f,p,h=t;if(t>=r)return"";f=new Array(r-t);for(a=0;h<r;h++,a++){o=0;p=u=this.bMarks[h];if(h+1<r||s)c=this.eMarks[h]+1;else c=this.eMarks[h];while(u<c&&o<n){l=this.src.charCodeAt(u);if(i(l))if(9===l)o+=4-(o+this.bsCount[h])%4;else o++;else if(u-p<this.tShift[h])o++;else break;u++}if(o>n)f[a]=new Array(o-n+1).join(" ")+this.src.slice(u,c);else f[a]=this.src.slice(u,c)}return f.join("")};s.prototype.Token=n;e.exports=s},function(e,t,r){"use strict";var n=r(6);var i=[["text",r(66)],["newline",r(67)],["escape",r(68)],["backticks",r(69)],["strikethrough",r(17).tokenize],["emphasis",r(18).tokenize],["link",r(70)],["image",r(71)],["autolink",r(72)],["html_inline",r(73)],["entity",r(74)]];var s=[["balance_pairs",r(75)],["strikethrough",r(17).postProcess],["emphasis",r(18).postProcess],["text_collapse",r(76)]];function a(){var e;this.ruler=new n;for(e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);this.ruler2=new n;for(e=0;e<s.length;e++)this.ruler2.push(s[e][0],s[e][1])}a.prototype.skipToken=function(e){var t,r,n=e.pos,i=this.ruler.getRules(""),s=i.length,a=e.md.options.maxNesting,o=e.cache;if("undefined"!==typeof o[n]){e.pos=o[n];return}if(e.level<a)for(r=0;r<s;r++){e.level++;t=i[r](e,true);e.level--;if(t)break}else e.pos=e.posMax;if(!t)e.pos++;o[n]=e.pos};a.prototype.tokenize=function(e){var t,r,n=this.ruler.getRules(""),i=n.length,s=e.posMax,a=e.md.options.maxNesting;while(e.pos<s){if(e.level<a)for(r=0;r<i;r++){t=n[r](e,false);if(t)break}if(t){if(e.pos>=s)break;continue}e.pending+=e.src[e.pos++]}if(e.pending)e.pushPending()};a.prototype.parse=function(e,t,r,n){var i,s,a;var o=new this.State(e,t,r,n);this.tokenize(o);s=this.ruler2.getRules("");a=s.length;for(i=0;i<a;i++)s[i](o)};a.prototype.State=r(77);e.exports=a},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return true;default:return false}}e.exports=function e(t,r){var i=t.pos;while(i<t.posMax&&!n(t.src.charCodeAt(i)))i++;if(i===t.pos)return false;if(!r)t.pending+=t.src.slice(t.pos,i);t.pos=i;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function e(t,r){var i,s,a=t.pos;if(10!==t.src.charCodeAt(a))return false;i=t.pending.length-1;s=t.posMax;if(!r)if(i>=0&&32===t.pending.charCodeAt(i))if(i>=1&&32===t.pending.charCodeAt(i-1)){t.pending=t.pending.replace(/ +$/,"");t.push("hardbreak","br",0)}else{t.pending=t.pending.slice(0,-1);t.push("softbreak","br",0)}else t.push("softbreak","br",0);a++;while(a<s&&n(t.src.charCodeAt(a)))a++;t.pos=a;return true}},function(e,t,r){"use strict";var n=r(0).isSpace;var i=[];for(var s=0;s<256;s++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1});e.exports=function e(t,r){var s,a=t.pos,o=t.posMax;if(92!==t.src.charCodeAt(a))return false;a++;if(a<o){s=t.src.charCodeAt(a);if(s<256&&0!==i[s]){if(!r)t.pending+=t.src[a];t.pos+=2;return true}if(10===s){if(!r)t.push("hardbreak","br",0);a++;while(a<o){s=t.src.charCodeAt(a);if(!n(s))break;a++}t.pos=a;return true}}if(!r)t.pending+="\\";t.pos++;return true}},function(e,t,r){"use strict";e.exports=function e(t,r){var n,i,s,a,o,l,u=t.pos,c=t.src.charCodeAt(u);if(96!==c)return false;n=u;u++;i=t.posMax;while(u<i&&96===t.src.charCodeAt(u))u++;s=t.src.slice(n,u);a=o=u;while(-1!==(a=t.src.indexOf("`",o))){o=a+1;while(o<i&&96===t.src.charCodeAt(o))o++;if(o-a===s.length){if(!r){l=t.push("code_inline","code",0);l.markup=s;l.content=t.src.slice(u,a).replace(/[ \n]+/g," ").trim()}t.pos=o;return true}}if(!r)t.pending+=s;t.pos+=s.length;return true}},function(e,t,r){"use strict";var n=r(0).normalizeReference;var i=r(0).isSpace;e.exports=function e(t,r){var s,a,o,l,u,c,f,p,h,d,m="",v=t.pos,g=t.posMax,_=t.pos,b=true;if(91!==t.src.charCodeAt(t.pos))return false;u=t.pos+1;l=t.md.helpers.parseLinkLabel(t,t.pos,true);if(l<0)return false;c=l+1;if(c<g&&40===t.src.charCodeAt(c)){b=false;c++;for(;c<g;c++){a=t.src.charCodeAt(c);if(!i(a)&&10!==a)break}if(c>=g)return false;_=c;f=t.md.helpers.parseLinkDestination(t.src,c,t.posMax);if(f.ok){m=t.md.normalizeLink(f.str);if(t.md.validateLink(m))c=f.pos;else m=""}_=c;for(;c<g;c++){a=t.src.charCodeAt(c);if(!i(a)&&10!==a)break}f=t.md.helpers.parseLinkTitle(t.src,c,t.posMax);if(c<g&&_!==c&&f.ok){h=f.str;c=f.pos;for(;c<g;c++){a=t.src.charCodeAt(c);if(!i(a)&&10!==a)break}}else h="";if(c>=g||41!==t.src.charCodeAt(c))b=true;c++}if(b){if("undefined"===typeof t.env.references)return false;if(c<g&&91===t.src.charCodeAt(c)){_=c+1;c=t.md.helpers.parseLinkLabel(t,c);if(c>=0)o=t.src.slice(_,c++);else c=l+1}else c=l+1;if(!o)o=t.src.slice(u,l);p=t.env.references[n(o)];if(!p){t.pos=v;return false}m=p.href;h=p.title}if(!r){t.pos=u;t.posMax=l;d=t.push("link_open","a",1);d.attrs=s=[["href",m]];if(h)s.push(["title",h]);t.md.inline.tokenize(t);d=t.push("link_close","a",-1)}t.pos=c;t.posMax=g;return true}},function(e,t,r){"use strict";var n=r(0).normalizeReference;var i=r(0).isSpace;e.exports=function e(t,r){var s,a,o,l,u,c,f,p,h,d,m,v,g,_="",b=t.pos,y=t.posMax;if(33!==t.src.charCodeAt(t.pos))return false;if(91!==t.src.charCodeAt(t.pos+1))return false;c=t.pos+2;u=t.md.helpers.parseLinkLabel(t,t.pos+1,false);if(u<0)return false;f=u+1;if(f<y&&40===t.src.charCodeAt(f)){f++;for(;f<y;f++){a=t.src.charCodeAt(f);if(!i(a)&&10!==a)break}if(f>=y)return false;g=f;h=t.md.helpers.parseLinkDestination(t.src,f,t.posMax);if(h.ok){_=t.md.normalizeLink(h.str);if(t.md.validateLink(_))f=h.pos;else _=""}g=f;for(;f<y;f++){a=t.src.charCodeAt(f);if(!i(a)&&10!==a)break}h=t.md.helpers.parseLinkTitle(t.src,f,t.posMax);if(f<y&&g!==f&&h.ok){d=h.str;f=h.pos;for(;f<y;f++){a=t.src.charCodeAt(f);if(!i(a)&&10!==a)break}}else d="";if(f>=y||41!==t.src.charCodeAt(f)){t.pos=b;return false}f++}else{if("undefined"===typeof t.env.references)return false;if(f<y&&91===t.src.charCodeAt(f)){g=f+1;f=t.md.helpers.parseLinkLabel(t,f);if(f>=0)l=t.src.slice(g,f++);else f=u+1}else f=u+1;if(!l)l=t.src.slice(c,u);p=t.env.references[n(l)];if(!p){t.pos=b;return false}_=p.href;d=p.title}if(!r){o=t.src.slice(c,u);t.md.inline.parse(o,t.md,t.env,v=[]);m=t.push("image","img",0);m.attrs=s=[["src",_],["alt",""]];m.children=v;m.content=o;if(d)s.push(["title",d])}t.pos=f;t.posMax=y;return true}},function(e,t,r){"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/;var i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function e(t,r){var s,a,o,l,u,c,f=t.pos;if(60!==t.src.charCodeAt(f))return false;s=t.src.slice(f);if(s.indexOf(">")<0)return false;if(i.test(s)){a=s.match(i);l=a[0].slice(1,-1);u=t.md.normalizeLink(l);if(!t.md.validateLink(u))return false;if(!r){c=t.push("link_open","a",1);c.attrs=[["href",u]];c.markup="autolink";c.info="auto";c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);c=t.push("link_close","a",-1);c.markup="autolink";c.info="auto"}t.pos+=a[0].length;return true}if(n.test(s)){o=s.match(n);l=o[0].slice(1,-1);u=t.md.normalizeLink("mailto:"+l);if(!t.md.validateLink(u))return false;if(!r){c=t.push("link_open","a",1);c.attrs=[["href",u]];c.markup="autolink";c.info="auto";c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);c=t.push("link_close","a",-1);c.markup="autolink";c.info="auto"}t.pos+=o[0].length;return true}return false}},function(e,t,r){"use strict";var n=r(16).HTML_TAG_RE;function i(e){var t=32|e;return t>=97&&t<=122}e.exports=function e(t,r){var s,a,o,l,u=t.pos;if(!t.md.options.html)return false;o=t.posMax;if(60!==t.src.charCodeAt(u)||u+2>=o)return false;s=t.src.charCodeAt(u+1);if(33!==s&&63!==s&&47!==s&&!i(s))return false;a=t.src.slice(u).match(n);if(!a)return false;if(!r){l=t.push("html_inline","",0);l.content=t.src.slice(u,u+a[0].length)}t.pos+=a[0].length;return true}},function(e,t,r){"use strict";var n=r(11);var i=r(0).has;var s=r(0).isValidEntityCode;var a=r(0).fromCodePoint;var o=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i;var l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function e(t,r){var u,c,f,p=t.pos,h=t.posMax;if(38!==t.src.charCodeAt(p))return false;if(p+1<h){u=t.src.charCodeAt(p+1);if(35===u){f=t.src.slice(p).match(o);if(f){if(!r){c="x"===f[1][0].toLowerCase()?parseInt(f[1].slice(1),16):parseInt(f[1],10);t.pending+=s(c)?a(c):a(65533)}t.pos+=f[0].length;return true}}else{f=t.src.slice(p).match(l);if(f)if(i(n,f[1])){if(!r)t.pending+=n[f[1]];t.pos+=f[0].length;return true}}}if(!r)t.pending+="&";t.pos++;return true}},function(e,t,r){"use strict";e.exports=function e(t){var r,n,i,s,a=t.delimiters,o=t.delimiters.length;for(r=0;r<o;r++){i=a[r];if(!i.close)continue;n=r-i.jump-1;while(n>=0){s=a[n];if(s.open&&s.marker===i.marker&&s.end<0&&s.level===i.level){var l=(s.close||i.open)&&"undefined"!==typeof s.length&&"undefined"!==typeof i.length&&(s.length+i.length)%3===0;if(!l){i.jump=r-n;i.open=false;s.end=r;s.jump=0;break}}n-=s.jump+1}}}},function(e,t,r){"use strict";e.exports=function e(t){var r,n,i=0,s=t.tokens,a=t.tokens.length;for(r=n=0;r<a;r++){i+=s[r].nesting;s[r].level=i;if("text"===s[r].type&&r+1<a&&"text"===s[r+1].type)s[r+1].content=s[r].content+s[r+1].content;else{if(r!==n)s[n]=s[r];n++}}if(r!==n)s.length=n}},function(e,t,r){"use strict";var n=r(7);var i=r(0).isWhiteSpace;var s=r(0).isPunctChar;var a=r(0).isMdAsciiPunct;function o(e,t,r,n){this.src=e;this.env=r;this.md=t;this.tokens=n;this.pos=0;this.posMax=this.src.length;this.level=0;this.pending="";this.pendingLevel=0;this.cache={};this.delimiters=[]}o.prototype.pushPending=function(){var e=new n("text","",0);e.content=this.pending;e.level=this.pendingLevel;this.tokens.push(e);this.pending="";return e};o.prototype.push=function(e,t,r){if(this.pending)this.pushPending();var i=new n(e,t,r);if(r<0)this.level--;i.level=this.level;if(r>0)this.level++;this.pendingLevel=this.level;this.tokens.push(i);return i};o.prototype.scanDelims=function(e,t){var r=e,n,o,l,u,c,f,p,h,d,m=true,v=true,g=this.posMax,_=this.src.charCodeAt(e);n=e>0?this.src.charCodeAt(e-1):32;while(r<g&&this.src.charCodeAt(r)===_)r++;l=r-e;o=r<g?this.src.charCodeAt(r):32;p=a(n)||s(String.fromCharCode(n));d=a(o)||s(String.fromCharCode(o));f=i(n);h=i(o);if(h)m=false;else if(d)if(!(f||p))m=false;if(f)v=false;else if(p)if(!(h||d))v=false;if(!t){u=m&&(!v||p);c=v&&(!m||d)}else{u=m;c=v}return{can_open:u,can_close:c,length:l}};o.prototype.Token=n;e.exports=o},function(e,t,r){"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);t.forEach(function(t){if(!t)return;Object.keys(t).forEach(function(r){e[r]=t[r]})});return e}function i(e){return Object.prototype.toString.call(e)}function s(e){return"[object String]"===i(e)}function a(e){return"[object Object]"===i(e)}function o(e){return"[object RegExp]"===i(e)}function l(e){return"[object Function]"===i(e)}function u(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:true,fuzzyEmail:true,fuzzyIP:false};function f(e){return Object.keys(e||{}).reduce(function(e,t){return e||c.hasOwnProperty(t)},false)}var p={"http:":{validate:function(e,t,r){var n=e.slice(t);if(!r.re.http)r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i");if(r.re.http.test(n))return n.match(r.re.http)[0].length;return 0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);if(!r.re.no_http)r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i");if(r.re.no_http.test(n)){if(t>=3&&":"===e[t-3])return 0;if(t>=3&&"/"===e[t-3])return 0;return n.match(r.re.no_http)[0].length}return 0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);if(!r.re.mailto)r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i");if(r.re.mailto.test(n))return n.match(r.re.mailto)[0].length;return 0}}};var h="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]";var d="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function m(e){e.__index__=-1;e.__text_cache__=""}function v(e){return function(t,r){var n=t.slice(r);if(e.test(n))return n.match(e)[0].length;return 0}}function g(){return function(e,t){t.normalize(e)}}function _(e){var t=e.re=r(79)(e.__opts__);var n=e.__tlds__.slice();e.onCompile();if(!e.__tlds_replaced__)n.push(h);n.push(t.src_xn);t.src_tlds=n.join("|");function i(e){return e.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i");t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i");t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i");t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var c=[];e.__compiled__={};function f(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null===r)return;var n={validate:null,link:null};e.__compiled__[t]=n;if(a(r)){if(o(r.validate))n.validate=v(r.validate);else if(l(r.validate))n.validate=r.validate;else f(t,r);if(l(r.normalize))n.normalize=r.normalize;else if(!r.normalize)n.normalize=g();else f(t,r);return}if(s(r)){c.push(t);return}f(t,r)});c.forEach(function(t){if(!e.__compiled__[e.__schemas__[t]])return;e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate;e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize});e.__compiled__[""]={validate:null,normalize:g()};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(u).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i");e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig");e.re.pretest=RegExp("("+e.re.schema_test.source+")|"+"("+e.re.host_fuzzy_test.source+")|"+"@","i");m(e)}function b(e,t){var r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase();this.index=r+t;this.lastIndex=n+t;this.raw=i;this.text=i;this.url=i}function y(e,t){var r=new b(e,t);e.__compiled__[r.schema].normalize(r,e);return r}function k(e,t){if(!(this instanceof k))return new k(e,t);if(!t)if(f(e)){t=e;e={}}this.__opts__=n({},c,t);this.__index__=-1;this.__last_index__=-1;this.__schema__="";this.__text_cache__="";this.__schemas__=n({},p,e);this.__compiled__={};this.__tlds__=d;this.__tlds_replaced__=false;this.re={};_(this)}k.prototype.add=function e(t,r){this.__schemas__[t]=r;_(this);return this};k.prototype.set=function e(t){this.__opts__=n(this.__opts__,t);return this};k.prototype.test=function e(t){this.__text_cache__=t;this.__index__=-1;if(!t.length)return false;var r,n,i,s,a,o,l,u,c;if(this.re.schema_test.test(t)){l=this.re.schema_search;l.lastIndex=0;while(null!==(r=l.exec(t))){s=this.testSchemaAt(t,r[2],l.lastIndex);if(s){this.__schema__=r[2];this.__index__=r.index+r[1].length;this.__last_index__=r.index+r[0].length+s;break}}}if(this.__opts__.fuzzyLink&&this.__compiled__["http:"]){u=t.search(this.re.host_fuzzy_test);if(u>=0)if(this.__index__<0||u<this.__index__)if(null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))){a=n.index+n[1].length;if(this.__index__<0||a<this.__index__){this.__schema__="";this.__index__=a;this.__last_index__=n.index+n[0].length}}}if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]){c=t.indexOf("@");if(c>=0)if(null!==(i=t.match(this.re.email_fuzzy))){a=i.index+i[1].length;o=i.index+i[0].length;if(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__){this.__schema__="mailto:";this.__index__=a;this.__last_index__=o}}}return this.__index__>=0};k.prototype.pretest=function e(t){return this.re.pretest.test(t)};k.prototype.testSchemaAt=function e(t,r,n){if(!this.__compiled__[r.toLowerCase()])return 0;return this.__compiled__[r.toLowerCase()].validate(t,n,this)};k.prototype.match=function e(t){var r=0,n=[];if(this.__index__>=0&&this.__text_cache__===t){n.push(y(this,r));r=this.__last_index__}var i=r?t.slice(r):t;while(this.test(i)){n.push(y(this,r));i=i.slice(this.__last_index__);r+=this.__last_index__}if(n.length)return n;return null};k.prototype.tlds=function e(t,r){t=Array.isArray(t)?t:[t];if(!r){this.__tlds__=t.slice();this.__tlds_replaced__=true;_(this);return this}this.__tlds__=this.__tlds__.concat(t).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse();_(this);return this};k.prototype.normalize=function e(t){if(!t.schema)t.url="http://"+t.url;if("mailto:"===t.schema&&!/^mailto:/i.test(t.url))t.url="mailto:"+t.url};k.prototype.onCompile=function e(){};e.exports=k},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(13).source;t.src_Cc=r(14).source;t.src_Z=r(15).source;t.src_P=r(5).source;t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|");t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")";t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)";t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?";t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?";t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))";t.src_path="(?:"+"[/?#]"+"(?:"+"(?!"+t.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-]).|"+"\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|"+"\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|"+"\\{(?:(?!"+t.src_ZCc+"|[}]).)*\\}|"+'\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|'+"\\'(?:(?!"+t.src_ZCc+"|[']).)+\\'|"+"\\'(?="+t.src_pseudo_letter+"|[-]).|"+"\\.{2,3}[a-zA-Z0-9%/]|"+"\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|"+"\\!(?!"+t.src_ZCc+"|[!]).|"+"\\?(?!"+t.src_ZCc+"|[?])."+")+"+"|\\/"+")?";t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+';t.src_xn="xn--[a-z0-9\\-]{1,59}";t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63}"+")";t.src_domain="(?:"+t.src_xn+"|"+"(?:"+t.src_pseudo_letter+")"+"|"+"(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+")"+")";t.src_host="(?:"+"(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+")"+")";t.tpl_host_fuzzy="(?:"+t.src_ip4+"|"+"(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))"+")";t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))";t.src_host_strict=t.src_host+t.src_host_terminator;t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator;t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator;t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator;t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator;t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))";t.tpl_email_fuzzy="(^|"+n+"|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")";t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))"+"((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")";t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))"+"((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")";return t}},function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(s){var a="object"==typeof t&&t&&!t.nodeType&&t;var o="object"==typeof e&&e&&!e.nodeType&&e;var l="object"==typeof n&&n;if(l.global===l||l.window===l||l.self===l)s=l;var u,c=2147483647,f=36,p=1,h=26,d=38,m=700,v=72,g=128,_="-",b=/^xn--/,y=/[^\x20-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=f-p,C=Math.floor,A=String.fromCharCode,D;function E(e){throw new RangeError(x[e])}function S(e,t){var r=e.length;var n=[];while(r--)n[r]=t(e[r]);return n}function q(e,t){var r=e.split("@");var n="";if(r.length>1){n=r[0]+"@";e=r[1]}e=e.replace(k,".");var i=e.split(".");var s=S(i,t).join(".");return n+s}function T(e){var t=[],r=0,n=e.length,i,s;while(r<n){i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){s=e.charCodeAt(r++);if(56320==(64512&s))t.push(((1023&i)<<10)+(1023&s)+65536);else{t.push(i);r--}}else t.push(i)}return t}function L(e){return S(e,function(e){var t="";if(e>65535){e-=65536;t+=A(e>>>10&1023|55296);e=56320|1023&e}t+=A(e);return t}).join("")}function F(e){if(e-48<10)return e-22;if(e-65<26)return e-65;if(e-97<26)return e-97;return f}function z(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,r){var n=0;e=r?C(e/m):e>>1;e+=C(e/t);for(;e>w*h>>1;n+=f)e=C(e/w);return C(n+(w+1)*e/(e+d))}function M(e){var t=[],r=e.length,n,i=0,s=g,a=v,o,l,u,d,m,b,y,k,x;o=e.lastIndexOf(_);if(o<0)o=0;for(l=0;l<o;++l){if(e.charCodeAt(l)>=128)E("not-basic");t.push(e.charCodeAt(l))}for(u=o>0?o+1:0;u<r;){for(d=i,m=1,b=f;;b+=f){if(u>=r)E("invalid-input");y=F(e.charCodeAt(u++));if(y>=f||y>C((c-i)/m))E("overflow");i+=y*m;k=b<=a?p:b>=a+h?h:b-a;if(y<k)break;x=f-k;if(m>C(c/x))E("overflow");m*=x}n=t.length+1;a=I(i-d,n,0==d);if(C(i/n)>c-s)E("overflow");s+=C(i/n);i%=n;t.splice(i++,0,s)}return L(t)}function R(e){var t,r,n,i,s,a,o,l,u,d,m,b=[],y,k,x,w;e=T(e);y=e.length;t=g;r=0;s=v;for(a=0;a<y;++a){m=e[a];if(m<128)b.push(A(m))}n=i=b.length;if(i)b.push(_);while(n<y){for(o=c,a=0;a<y;++a){m=e[a];if(m>=t&&m<o)o=m}k=n+1;if(o-t>C((c-r)/k))E("overflow");r+=(o-t)*k;t=o;for(a=0;a<y;++a){m=e[a];if(m<t&&++r>c)E("overflow");if(m==t){for(l=r,u=f;;u+=f){d=u<=s?p:u>=s+h?h:u-s;if(l<d)break;w=l-d;x=f-d;b.push(A(z(d+w%x,0)));l=C(w/x)}b.push(A(z(l,0)));s=I(r,k,n==i);r=0;++n}}++r;++t}return b.join("")}function N(e){return q(e,function(e){return b.test(e)?M(e.slice(4).toLowerCase()):e})}function O(e){return q(e,function(e){return y.test(e)?"xn--"+R(e):e})}u={version:"1.4.1",ucs2:{decode:T,encode:L},decode:M,encode:R,toASCII:O,toUnicode:N};if(true)!(i=function(){return u}.call(t,r,t,e),void 0!==i&&(e.exports=i));else if(a&&o)if(e.exports==a)o.exports=u;else for(D in u)u.hasOwnProperty(D)&&(a[D]=u[D]);else s.punycode=u})(this)}).call(t,r(81)(e),r(2))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){e.deprecate=function(){};e.paths=[];if(!e.children)e.children=[];Object.defineProperty(e,"loaded",{enumerable:true,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:true,get:function(){return e.i}});e.webpackPolyfill=1}return e}},function(e,t,r){"use strict";e.exports={options:{html:false,xhtmlOut:false,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:false,xhtmlOut:false,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:true,xhtmlOut:true,breaks:false,langPrefix:"language-",linkify:false,typographer:false,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){"use strict";var n=r(1);var i=r(4)().use(r(8));var s=r(3);var a=r(20);var o={parent_id:null,tid:"",opened:false,oninit:function e(t){this.tid=t.attrs.href},onbeforeupdate:function e(t){this.tid=t.attrs.href},view:function e(t){this.tid_known="undefined"===typeof t.attrs.lang?false:"undefined"===typeof s.data_byid[t.attrs.lang][this.tid]?false:true;if(!this.tid_known);if(this.opened&&this.tid_known){console.log("link vn.state",t.state);this.tob=Object.assign({nested:true},s.data_byid[t.attrs.lang][this.tid]);console.log("this.tob",this.tob);return n("div",{class:"opened-link"},[n("span",{class:"link text"},t.children),n("div",{class:"close-link-btn",onclick:function e(r){console.log("click close btn",this);t.state.opened=false}}),"undefined"!==typeof this.tob.childs?n(p,this.tob):n(f,this.tob)])}else return n("a",{class:"link",href:"#"+this.tid,rel:this.tid,onclick:function e(r){r.preventDefault();console.log("click",this);t.state.opened=true;return false}},t.children)}};function l(e){var t=[];for(var r=0;r<e.length;r++){var n={};if("undefined"!=typeof e[r].localName){n.tag=e[r].localName;if("p"==n.tag){n.tag="div";n.attrs={class:"paragraph"}}if("a"==n.tag)n.attrs={href:e[r].attributes.href.value};if("img"==n.tag)n.attrs={src:e[r].attributes.src.value,alt:e[r].attributes.alt.value};if(e[r].childNodes.length)n.childs=l(e[r].childNodes)}else if(e[r].textContent.length>0){n.tag="#text";n.text=e[r].textContent}if("undefined"!=typeof n.tag)t.push(n)}return t}function u(e){return"#text"==e.tag?n.trust(e.text):n("a"!=e.tag?e.tag:o,"undefined"!=typeof e.attrs?Object.assign({lang:this.attrs.lang},e.attrs):{},"undefined"!=typeof e.childs?e.childs.map(u,this):"undefined"!=typeof e.text?n.trust(e.text):null)}var c={id:null,text:"",texthtml:"",textdom:null,textchilds:[],parsetext:function e(t){this.texthtml=i.render(this.text);this.textdom=(new DOMParser).parseFromString(this.texthtml,"text/html");this.textchilds=l(this.textdom.getElementsByTagName("body")[0].childNodes)},oninit:function e(t){this.id=t.attrs.id;this.text=t.attrs.text||"";this.parsetext(t)},onbeforeupdate:function e(t,r){this.text=t.attrs.text;this.parsetext(t)},view:function e(t){return n("div",{class:"text"},this.textchilds.map(u,t))}};var f={id:null,part:null,type:null,nested:false,oninit:function e(t){this.id=t.attrs.id;this.type=t.attrs.type;this.text=t.attrs.text;this.nested=t.attrs.nested||false;this.dottype=t.attrs.dottype||null},onbeforeupdate:function e(t,r){this.nested=t.attrs.nested||false;this.type=t.attrs.type;this.text=t.attrs.text},view:function e(t){return n("section",{id:this.id,class:"item"+(this.nested?" nested":"")+" "+this.dottype},!s.active_type_filter||s.active_type_filter==t.attrs.dottype?[!this.nested?n("h3",{},n.trust(i.renderInline(this.type))):null,"undefined"!==typeof t.attrs.text?n(c,{text:this.text,id:this.id,lang:t.attrs.lang}):null]:null)}};var p={partid:null,title:null,oninit:function e(t){this.partid=t.attrs.partid;this.title=t.attrs.title||"";this.dottype=t.attrs.dottype||"no-dottype"},onbeforeupdate:function e(t,r){this.title=t.attrs.title||""},view:function e(t){return n("section",{id:t.attrs.id,class:"enonce"+(t.attrs.nested?" nested":"")+" "+this.dottype},[!s.active_type_filter||s.active_type_filter==t.attrs.dottype?!t.attrs.nested?n("h2",{},n.trust(i.renderInline(this.title))):null:null,!s.active_type_filter||s.active_type_filter==t.attrs.dottype?n(c,{text:t.attrs.text,id:t.attrs.id,nested:t.attrs.nested}):null,"undefined"!==typeof t.attrs.childs&&!t.attrs.nested?t.attrs.childs.map(function(e){e.lang=t.attrs.lang;return n(f,e)}):null])}};var h={oninit:function e(t){},onbeforeupdate:function e(t,r){},view:function e(t){return n("section",{id:t.attrs.id,class:"part"},[n("h1",{class:"part-title",part:t.attrs.id},n.trust(i.renderInline(t.attrs.title))),t.attrs.enonces.map(function(e){switch(e.type){case"title":return!s.active_type_filter?n("h2",{class:"title"},n.trust(i.renderInline(e.title))):null;case"filet":return n("h4",{class:"filet"},n.trust(i.renderInline(e.title)));default:e.lang=t.attrs.lang;return n(p,Object.assign({partid:t.attrs.id},e))}})])}};var d={oninit:function e(t){this.id=t.attrs.id;this.text=t.attrs.text||""},onbeforeupdate:function e(t,r){this.id=t.attrs.id;this.text=t.attrs.text||""},view:function e(t){return n("section",{class:"intro"},n("p",n.trust(i.renderInline(this.text))))}};e.exports={oncreate:function e(t){document.body.classList.add("mode-text");a.init()},view:function e(t){console.log("_dbs.active_type_filter : ",s.active_type_filter);return n("main",{id:"content",class:"mode-text"},s.data[t.attrs.lang].map(function(e){e.lang=t.attrs.lang;if("intro"==e.id)return n(d,e);else return n(h,e)}))}}},function(e,t,r){"use strict";var n=r(1);var i=r(4)().use(r(8));var s=r(3);var a=r(10);var o=r(19);var l=r(20);var u={id:null,dottype:null,type:"",title:"",breadcrumb:"",text:"",summary:"",active:true,opened:0,nested:false,links:null,parents:[],lang:null,setupTitle:function e(t){this.title=t.attrs.title;if(!this.title)this.title=this.type;if(this.title)this.title=i.renderInline(this.title)},setuptext:function e(t){this.text=t.attrs.text||"";this.rendered_text=i.render(this.text);if("preface"==this.dottype)this.summary=this.rendered_text;else{this.summary=this.text.replace(/!\[[^\]]+\]\([^\)]+\)/g,"");this.summary=this.summary.match("([^ ]*[ ]{0,1}){1,6}")[0];this.summary=this.summary.trim().replace(/_([^_]+)$/g,"_$1_");this.summary=this.summary.replace(/\[([^\]]+)$/g,"$1");this.summary=i.renderInline(this.summary)+"&nbsp;…"}},oninit:function e(t){this.id=t.attrs.id;this.type=t.attrs.type;this.level=t.attrs.level;this.dottype=t.attrs.dottype;this.breadcrumb=t.attrs.breadcrumb;if("undefined"!==typeof t.attrs.active)this.active=t.attrs.active;this.links=s.data_strct[this.id];if(t.attrs.parents)this.parents=this.parents.concat(t.attrs.parents);this.nested=this.parents.length?true:false;this.lang=t.attrs.lang;this.setupTitle(t);this.setuptext(t)},oncreate:function e(t){if(this.active)t.dom.classList.remove("disabled");else t.dom.classList.add("disabled")},onbeforeupdate:function e(t){if(this.lang!=t.attrs.lang){this.lang=t.attrs.lang;this.breadcrumb=t.attrs.breadcrumb;this.type=t.attrs.type;this.setuptext(t);this.setupTitle(t)}},onupdate:function e(t){if(this.active)if(this.opened){t.dom.classList.add("opened");if(this.links.to.length)t.dom.classList.add("to-links");if(this.links.from.length)t.dom.classList.add("from-links")}else t.dom.classList.remove("opened")},setupLinks:function e(t,r,i){var a=this;return n("nav",{class:"links "+r},i.map(function(e){if("undefined"!==typeof s.data_byid[a.lang][e]){var r=s.data_byid[a.lang][e];return n(u,{id:e,title:r.title,breadcrumb:r.breadcrumb,text:r.text,dottype:r.dottype,type:r.type,parents:t.state.parents.concat([t.state.id]),active:-1==t.state.parents.indexOf(e)?true:false,lang:a.lang})}}))},viewOpenedContent:function e(t){return n("div",{uid:this.id,class:"dot "+this.dottype+(this.nested?" nested":"")},[this.links.to.length?this.setupLinks(t,"to",this.links.to):null,n("div",{class:"close-link-btn",onclick:function e(r){t.state.opened=0}}),n("span",{class:"title"},n.trust(this.nested?this.breadcrumb:this.title)),n("section",{class:"text",onmouseover:function e(r){r.preventDefault();if("A"==r.target.nodeName){var n=r.target.getAttribute("href");t.dom.querySelector('nav.links>div[uid="'+n+'"]').classList.add("highlight")}else{var i=true;var s=false;var a=void 0;try{for(var o=t.dom.querySelectorAll("nav.links>div.dot")[Symbol.iterator](),l;!(i=(l=o.next()).done);i=true){var u=l.value;u.classList.remove("highlight")}}catch(e){s=true;a=e}finally{try{if(!i&&o.return)o.return()}finally{if(s)throw a}}}},onclick:function e(r){r.preventDefault();if("A"==r.target.nodeName){var n=r.target.getAttribute("href");t.dom.querySelector('nav.links>div[uid="'+n+'"]>.title').click()}}},n.trust(this.rendered_text)),this.links.from.length?this.setupLinks(t,"from",this.links.from):null])},viewPreviewContent:function e(t){return n("div",{uid:this.id,class:"dot "+this.dottype+(this.nested?" nested":"")},[n("div",{class:"bullet"},n("span",n.trust("&#9899;"))),n("span",{class:"title",onclick:function e(r){if(!t.state.opened)t.state.opened=1}},n.trust(this.nested?this.breadcrumb:this.title)),n("p",{class:"summary",onclick:function e(r){if(!t.state.opened)t.state.opened=1}},n.trust(this.summary))])},view:function e(t){return this.active&&t.state.opened?this.viewOpenedContent(t):this.viewPreviewContent(t)}};var c={view:function e(t){return[!s.active_type_filter||s.active_type_filter==t.attrs.dottype?n(u,t.attrs):null,"undefined"!==typeof t.attrs.childs?t.attrs.childs.map(function(e){e.lang=t.attrs.lang;e.level=t.attrs.level+1;return n(c,e)}):null]}};var f={view:function e(t){t.attrs.level=0;return[!s.active_type_filter||s.active_type_filter==t.attrs.dottype?n(u,t.attrs):null,t.attrs.childs.map(function(e){e.lang=t.attrs.lang;e.level=1;return n(c,e)})]}};var p={oninit:function e(t){this.id=t.attrs.id;this.title=t.attrs.title||""},onbeforeupdate:function e(t,r){this.title=t.attrs.title||""},view:function e(t){var r=this;return n("section",{id:this.id,class:"part"},[n("h1",{class:"part-title",part:this.id},n.trust(i.renderInline(this.title))),t.attrs.enonces.map(function(e){e.lang=t.attrs.lang;switch(e.type){case"title":return!s.active_type_filter?n("h2",{class:"title"},n.trust(i.renderInline(e.title))):null;case"filet":return n("h4",{class:"filet"},n.trust(i.renderInline(e.title)));default:return n(f,Object.assign({partid:r.id},e))}})])}};var h={oninit:function e(t){console.log("_Intro : oninit : vn",t);this.id=t.attrs.id;this.text=t.attrs.text||""},onbeforeupdate:function e(t,r){this.id=t.attrs.id;this.text=t.attrs.text||""},view:function e(t){return n("section",{class:"intro"},n("p",n.trust(i.renderInline(this.text))))}};e.exports={oncreate:function e(t){document.body.classList.add("mode-connections");l.init()},onbeforeupdate:function e(t,r){console.log("Connection, onbeforeupdate old",r,"vn",t)},view:function e(t){console.log("_dbs.active_type_filter : ",s.active_type_filter);return n("main",{id:"content",class:"mode-connections"},s.data[t.attrs.lang].map(function(e){e.lang=t.attrs.lang;if("intro"==e.id)return n(h,e);else return n(p,e)}))}}},function(e,t){}]);
  2. //# sourceMappingURL=main.js.map