(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c8ebd342"],{"000f":function(t,e,n){t.exports=n.p+"img/classic11.png"},"0010":function(t,e,n){t.exports=n.p+"img/lemonBubbles.jpg"},"0068":function(t,e,n){"use strict";function i(t){return Object.prototype.toString.call(t)}function r(t){return"[object String]"===i(t)}var o=Object.prototype.hasOwnProperty;function s(t,e){return o.call(t,e)}function a(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach((function(e){if(e){if("object"!==typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function l(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function c(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!==(65535&t)&&65534!==(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function h(t){if(t>65535){t-=65536;var e=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,p=new RegExp(u.source+"|"+d.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,m=n("bd68");function g(t,e){var n;return s(m,e)?m[e]:35===e.charCodeAt(0)&&f.test(e)&&(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10),c(n))?h(n):t}function v(t){return t.indexOf("\\")<0?t:t.replace(u,"$1")}function b(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(p,(function(t,e,n){return e||g(t,n)}))}var y=/[&<>"]/,w=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function C(t){return x[t]}function k(t){return y.test(t)?t.replace(w,C):t}var A=/[.?*+^$[\]\\(){}|-]/g;function S(t){return t.replace(A,"\\$&")}function T(t){switch(t){case 9:case 32:return!0}return!1}function E(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var M=n("7ca0");function N(t){return M.test(t)}function O(t){switch(t){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!0;default:return!1}}function z(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=n("d8a6"),e.lib.ucmicro=n("d5d1"),e.assign=a,e.isString=r,e.has=s,e.unescapeMd=v,e.unescapeAll=b,e.isValidEntityCode=c,e.fromCodePoint=h,e.escapeHtml=k,e.arrayReplaceAt=l,e.isSpace=T,e.isWhiteSpace=E,e.isMdAsciiPunct=O,e.isPunctChar=N,e.escapeRE=S,e.normalizeReference=z},"0082":function(t,e,n){t.exports=n.p+"img/ditu.svg"},"00ee":function(t,e,n){"use strict";var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"01da":function(t,e,n){t.exports=n.p+"img/autumn.jpg"},"027d":function(t,e,n){t.exports=n.p+"img/zhongyangjie.svg"},"02a0":function(t,e,n){t.exports=n.p+"img/a-18-xiguan.svg"},"030b":function(t,e,n){"use strict";n("4928")},"0455":function(t,e,n){t.exports=n.p+"img/zhongqiujie.svg"},"0469":function(t,e,n){t.exports=n.p+"img/vitalityOrange.jpg"},"048e":function(t,e,n){t.exports=n.p+"img/mint.jpg"},"049e":function(t,e,n){t.exports=n.p+"img/shiyan.svg"},"0613":function(t,e,n){t.exports=n.p+"img/a-6-jiancebi.svg"},"0719":function(t,e,n){t.exports=n.p+"img/blueSky.jpg"},"0758":function(t,e,n){"use strict";var i=n("0068").isSpace;t.exports=function(t,e,n,r){var o,s,a,l,c=t.bMarks[e]+t.tShift[e],h=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(o=t.src.charCodeAt(c),35!==o||c>=h)return!1;s=1,o=t.src.charCodeAt(++c);while(35===o&&c6||cc&&i(t.src.charCodeAt(a-1))&&(h=a),t.line=e+1,l=t.push("heading_open","h"+String(s),1),l.markup="########".slice(0,s),l.map=[e,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,h).trim(),l.map=[e,t.line],l.children=[],l=t.push("heading_close","h"+String(s),-1),l.markup="########".slice(0,s)),!0)}},"07f3":function(t,e,n){t.exports=n.p+"img/duanwujie.svg"},"08ae":function(t,e,n){"use strict";var i=n("0068"),r=n("565b"),o=n("7cc2"),s=n("a915"),a=n("7696"),l=n("4cb4"),c=n("fbcd"),h=n("d8a6"),u=n("1985"),d={default:n("8a31"),zero:n("1caa"),commonmark:n("428d")},p=/^(vbscript|javascript|file|data):/,f=/^data:image\/(gif|png|jpeg|webp);/;function m(t){var e=t.trim().toLowerCase();return!p.test(e)||!!f.test(e)}var g=["http:","https:","mailto:"];function v(t){var e=h.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=u.toASCII(e.hostname)}catch(n){}return h.encode(h.format(e))}function b(t){var e=h.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=u.toUnicode(e.hostname)}catch(n){}return h.decode(h.format(e),h.decode.defaultChars+"%")}function y(t,e){if(!(this instanceof y))return new y(t,e);e||i.isString(t)||(e=t||{},t="default"),this.inline=new l,this.block=new a,this.core=new s,this.renderer=new o,this.linkify=new c,this.validateLink=m,this.normalizeLink=v,this.normalizeLinkText=b,this.utils=i,this.helpers=i.assign({},r),this.options={},this.configure(t),e&&this.set(e)}y.prototype.set=function(t){return i.assign(this.options,t),this},y.prototype.configure=function(t){var e,n=this;if(i.isString(t)&&(e=t,t=d[e],!t))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach((function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)})),this},y.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0));var i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},y.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0));var i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},y.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},y.prototype.parse=function(t,e){if("string"!==typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},y.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},y.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=y},"0914":function(t,e,n){t.exports=n.p+"img/tiyu.svg"},"0960":function(t,e,n){t.exports=n("b19a")},"096b":function(t,e,n){"use strict";function i(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}i.prototype.attrIndex=function(t){var e,n,i;if(!this.attrs)return-1;for(e=this.attrs,n=0,i=e.length;n=0&&(n=this.attrs[e][1]),n},i.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=i},"097b":function(t,e,n){"use strict";var i=n("096b"),r=n("0068").isWhiteSpace,o=n("0068").isPunctChar,s=n("0068").isMdAsciiPunct;function a(t,e,n,i){this.src=t,this.env=n,this.md=e,this.tokens=i,this.tokens_meta=Array(i.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}a.prototype.pushPending=function(){var t=new i("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},a.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new i(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r},a.prototype.scanDelims=function(t,e){var n,i,a,l,c,h,u,d,p,f=t,m=!0,g=!0,v=this.posMax,b=this.src.charCodeAt(t);n=t>0?this.src.charCodeAt(t-1):32;while(f]*>)/g,h=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,u,d){var p=n+t.length,f=i.length,m=h;return void 0!==u&&(u=r(u),m=c),a(d,m,(function(r,a){var c;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,p);case"<":c=u[l(a,1,-1)];break;default:var h=+a;if(0===h)return r;if(h>f){var d=o(h/10);return 0===d?r:d<=f?void 0===i[d-1]?s(a,1):i[d-1]+s(a,1):r}c=i[h-1]}return void 0===c?"":c}))}},"0ced":function(t,e,n){"use strict";n("2a70")},"0d15":function(t,e,n){t.exports=n.p+"img/fishbone2.jpg"},"0d26":function(t,e,n){"use strict";var i=n("e330"),r=Error,o=i("".replace),s=function(t){return String(new r(t).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(s);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)while(e--)t=o(t,a,"");return t}},"0d8b":function(t,e,n){t.exports=n.p+"img/classic14.png"},"0e08":function(t,e,n){t.exports=n.p+"img/dark2.jpg"},"0e25":function(t,e,n){t.exports=n.p+"img/a-13-xiguan.svg"},"0e50":function(t,e,n){t.exports=n.p+"img/ziyuan_2.svg"},"0e5f":function(t,e,n){t.exports=n.p+"img/a-9-tizhongcheng.svg"},"0eb9":function(t,e,n){(function(t,n){var i=200,r="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",a="[object Array]",l="[object Boolean]",c="[object Date]",h="[object Error]",u="[object Function]",d="[object GeneratorFunction]",p="[object Map]",f="[object Number]",m="[object Object]",g="[object Promise]",v="[object RegExp]",b="[object Set]",y="[object String]",w="[object Symbol]",x="[object WeakMap]",C="[object ArrayBuffer]",k="[object DataView]",A="[object Float32Array]",S="[object Float64Array]",T="[object Int8Array]",E="[object Int16Array]",M="[object Int32Array]",N="[object Uint8Array]",O="[object Uint8ClampedArray]",z="[object Uint16Array]",D="[object Uint32Array]",L=/[\\^$.*+?()[\]{}|]/g,I=/\w*$/,F=/^\[object .+?Constructor\]$/,R=/^(?:0|[1-9]\d*)$/,P={};P[s]=P[a]=P[C]=P[k]=P[l]=P[c]=P[A]=P[S]=P[T]=P[E]=P[M]=P[p]=P[f]=P[m]=P[v]=P[b]=P[y]=P[w]=P[N]=P[O]=P[z]=P[D]=!0,P[h]=P[u]=P[x]=!1;var B="object"==typeof t&&t&&t.Object===Object&&t,j="object"==typeof self&&self&&self.Object===Object&&self,q=B||j||Function("return this")(),H=e&&!e.nodeType&&e,U=H&&"object"==typeof n&&n&&!n.nodeType&&n,W=U&&U.exports===H;function G(t,e){return t.set(e[0],e[1]),t}function V(t,e){return t.add(e),t}function K(t,e){var n=-1,i=t?t.length:0;while(++n-1}function Gt(t,e){var n=this.__data__,i=oe(n,t);return i<0?n.push([t,e]):n[i][1]=e,this}function Vt(t){var e=-1,n=t?t.length:0;this.clear();while(++e-1&&t%1==0&&t-1&&t%1==0&&t<=o}function Ke(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Ye(t){return!!t&&"object"==typeof t}function Ze(t){return He(t)?ie(t):de(t)}function Xe(){return[]}function Qe(){return!1}n.exports=Pe}).call(this,n("c8ba"),n("62e4")(t))},"0fb5":function(t,e,n){t.exports=n.p+"img/muqinjie.svg"},"0fdb":function(t,e,n){"use strict";n("868c")},1:function(t,e){},"103a":function(t,e,n){t.exports=n.p+"img/paishe.svg"},"103c":function(t,e,n){"use strict";n("3045")},1069:function(t,e,n){},"107c":function(t,e,n){"use strict";var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},1085:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const i=n("0eb9"),r=n("51a1");var o;(function(t){function e(t={},e={},n=!1){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});let r=i(e);n||(r=Object.keys(r).reduce((t,e)=>(null!=r[e]&&(t[e]=r[e]),t),{}));for(const i in t)void 0!==t[i]&&void 0===e[i]&&(r[i]=t[i]);return Object.keys(r).length>0?r:void 0}function n(t={},e={}){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});const n=Object.keys(t).concat(Object.keys(e)).reduce((n,i)=>(r(t[i],e[i])||(n[i]=void 0===e[i]?null:e[i]),n),{});return Object.keys(n).length>0?n:void 0}function o(t={},e={}){t=t||{};const n=Object.keys(e).reduce((n,i)=>(e[i]!==t[i]&&void 0!==t[i]&&(n[i]=e[i]),n),{});return Object.keys(t).reduce((n,i)=>(t[i]!==e[i]&&void 0===e[i]&&(n[i]=null),n),n)}function s(t,e,n=!1){if("object"!==typeof t)return e;if("object"!==typeof e)return;if(!n)return e;const i=Object.keys(e).reduce((n,i)=>(void 0===t[i]&&(n[i]=e[i]),n),{});return Object.keys(i).length>0?i:void 0}t.compose=e,t.diff=n,t.invert=o,t.transform=s})(o||(o={})),e.default=o},"10ad":function(t,e,n){var i,r,o=n("a83d"),s={on:function(){},parse:function(){}},a=n("09d9"),l=n("9a1c").isArray,c=!0;function h(t){return i=a.copyOptions(t),a.ensureFlagExists("ignoreDeclaration",i),a.ensureFlagExists("ignoreInstruction",i),a.ensureFlagExists("ignoreAttributes",i),a.ensureFlagExists("ignoreText",i),a.ensureFlagExists("ignoreComment",i),a.ensureFlagExists("ignoreCdata",i),a.ensureFlagExists("ignoreDoctype",i),a.ensureFlagExists("compact",i),a.ensureFlagExists("alwaysChildren",i),a.ensureFlagExists("addParent",i),a.ensureFlagExists("trim",i),a.ensureFlagExists("nativeType",i),a.ensureFlagExists("nativeTypeAttributes",i),a.ensureFlagExists("sanitize",i),a.ensureFlagExists("instructionHasAttributes",i),a.ensureFlagExists("captureSpacesBetweenElements",i),a.ensureAlwaysArrayExists(i),a.ensureKeyExists("declaration",i),a.ensureKeyExists("instruction",i),a.ensureKeyExists("attributes",i),a.ensureKeyExists("text",i),a.ensureKeyExists("comment",i),a.ensureKeyExists("cdata",i),a.ensureKeyExists("doctype",i),a.ensureKeyExists("type",i),a.ensureKeyExists("name",i),a.ensureKeyExists("elements",i),a.ensureKeyExists("parent",i),a.checkFnExists("doctype",i),a.checkFnExists("instruction",i),a.checkFnExists("cdata",i),a.checkFnExists("comment",i),a.checkFnExists("text",i),a.checkFnExists("instructionName",i),a.checkFnExists("elementName",i),a.checkFnExists("attributeName",i),a.checkFnExists("attributeValue",i),a.checkFnExists("attributes",i),i}function u(t){var e=Number(t);if(!isNaN(e))return e;var n=t.toLowerCase();return"true"===n||"false"!==n&&t}function d(t,e){var n;if(i.compact){if(!r[i[t+"Key"]]&&(l(i.alwaysArray)?-1!==i.alwaysArray.indexOf(i[t+"Key"]):i.alwaysArray)&&(r[i[t+"Key"]]=[]),r[i[t+"Key"]]&&!l(r[i[t+"Key"]])&&(r[i[t+"Key"]]=[r[i[t+"Key"]]]),t+"Fn"in i&&"string"===typeof e&&(e=i[t+"Fn"](e,r)),"instruction"===t&&("instructionFn"in i||"instructionNameFn"in i))for(n in e)if(e.hasOwnProperty(n))if("instructionFn"in i)e[n]=i.instructionFn(e[n],n,r);else{var o=e[n];delete e[n],e[i.instructionNameFn(n,o,r)]=o}l(r[i[t+"Key"]])?r[i[t+"Key"]].push(e):r[i[t+"Key"]]=e}else{r[i.elementsKey]||(r[i.elementsKey]=[]);var s={};if(s[i.typeKey]=t,"instruction"===t){for(n in e)if(e.hasOwnProperty(n))break;s[i.nameKey]="instructionNameFn"in i?i.instructionNameFn(n,e,r):n,i.instructionHasAttributes?(s[i.attributesKey]=e[n][i.attributesKey],"instructionFn"in i&&(s[i.attributesKey]=i.instructionFn(s[i.attributesKey],n,r))):("instructionFn"in i&&(e[n]=i.instructionFn(e[n],n,r)),s[i.instructionKey]=e[n])}else t+"Fn"in i&&(e=i[t+"Fn"](e,r)),s[i[t+"Key"]]=e;i.addParent&&(s[i.parentKey]=r),r[i.elementsKey].push(s)}}function p(t){var e;if("attributesFn"in i&&t&&(t=i.attributesFn(t,r)),(i.trim||"attributeValueFn"in i||"attributeNameFn"in i||i.nativeTypeAttributes)&&t)for(e in t)if(t.hasOwnProperty(e)&&(i.trim&&(t[e]=t[e].trim()),i.nativeTypeAttributes&&(t[e]=u(t[e])),"attributeValueFn"in i&&(t[e]=i.attributeValueFn(t[e],e,r)),"attributeNameFn"in i)){var n=t[e];delete t[e],t[i.attributeNameFn(e,t[e],r)]=n}return t}function f(t){var e={};if(t.body&&("xml"===t.name.toLowerCase()||i.instructionHasAttributes)){var n,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;while(null!==(n=o.exec(t.body)))e[n[1]]=n[2]||n[3]||n[4];e=p(e)}if("xml"===t.name.toLowerCase()){if(i.ignoreDeclaration)return;r[i.declarationKey]={},Object.keys(e).length&&(r[i.declarationKey][i.attributesKey]=e),i.addParent&&(r[i.declarationKey][i.parentKey]=r)}else{if(i.ignoreInstruction)return;i.trim&&(t.body=t.body.trim());var s={};i.instructionHasAttributes&&Object.keys(e).length?(s[t.name]={},s[t.name][i.attributesKey]=e):s[t.name]=t.body,d("instruction",s)}}function m(t,e){var n;if("object"===typeof t&&(e=t.attributes,t=t.name),e=p(e),"elementNameFn"in i&&(t=i.elementNameFn(t,r)),i.compact){var o;if(n={},!i.ignoreAttributes&&e&&Object.keys(e).length)for(o in n[i.attributesKey]={},e)e.hasOwnProperty(o)&&(n[i.attributesKey][o]=e[o]);!(t in r)&&(l(i.alwaysArray)?-1!==i.alwaysArray.indexOf(t):i.alwaysArray)&&(r[t]=[]),r[t]&&!l(r[t])&&(r[t]=[r[t]]),l(r[t])?r[t].push(n):r[t]=n}else r[i.elementsKey]||(r[i.elementsKey]=[]),n={},n[i.typeKey]="element",n[i.nameKey]=t,!i.ignoreAttributes&&e&&Object.keys(e).length&&(n[i.attributesKey]=e),i.alwaysChildren&&(n[i.elementsKey]=[]),r[i.elementsKey].push(n);n[i.parentKey]=r,r=n}function g(t){i.ignoreText||(t.trim()||i.captureSpacesBetweenElements)&&(i.trim&&(t=t.trim()),i.nativeType&&(t=u(t)),i.sanitize&&(t=t.replace(/&/g,"&").replace(//g,">")),d("text",t))}function v(t){i.ignoreComment||(i.trim&&(t=t.trim()),d("comment",t))}function b(t){var e=r[i.parentKey];i.addParent||delete r[i.parentKey],r=e}function y(t){i.ignoreCdata||(i.trim&&(t=t.trim()),d("cdata",t))}function w(t){i.ignoreDoctype||(t=t.replace(/^ /,""),i.trim&&(t=t.trim()),d("doctype",t))}function x(t){t.note=t}t.exports=function(t,e){var n=c?o.parser(!0,{}):n=new s.Parser("UTF-8"),a={};if(r=a,i=h(e),c?(n.opt={strictEntities:!0},n.onopentag=m,n.ontext=g,n.oncomment=v,n.onclosetag=b,n.onerror=x,n.oncdata=y,n.ondoctype=w,n.onprocessinginstruction=f):(n.on("startElement",m),n.on("text",g),n.on("comment",v),n.on("endElement",b),n.on("error",x)),c)n.write(t).close();else if(!n.parse(t))throw new Error("XML parsing error: "+n.getError());if(a[i.elementsKey]){var l=a[i.elementsKey];delete a[i.elementsKey],a[i.elementsKey]=l,delete a.text}return a}},"10db1":function(t,e,n){"use strict";var i=n("8790");n.d(e,"PDFDocument",(function(){return i["a"]}));n("a935"),n("5d8f"),n("5d9a")},1142:function(t,e,n){"use strict";n("c562")},"121b":function(t,e,n){},"12a6":function(t,e,n){t.exports=n.p+"img/ziyuan.svg"},"12b7":function(t,e,n){t.exports=n.p+"img/a-7-xinzang.svg"},1367:function(t,e,n){"use strict";n("494d")},"13a8":function(t,e,n){t.exports=n.p+"img/classic2.jpg"},"145c":function(t,e,n){"use strict";n("a7a7")},1485:function(t,e,n){t.exports=n.p+"img/pisa.svg"},"14bd":function(t,e,n){t.exports=n.p+"img/ziyuan_10.svg"},"14c3":function(t,e,n){"use strict";var i=n("c65b"),r=n("825a"),o=n("1626"),s=n("c6b6"),a=n("9263"),l=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var c=i(n,t,e);return null!==c&&r(c),c}if("RegExp"===s(t))return i(a,t,e);throw new l("RegExp#exec called on incompatible receiver")}},"14cb":function(t,e,n){t.exports=n.p+"img/timeline.jpg"},"14d4":function(t,e,n){t.exports=n.p+"img/tianqi.svg"},1524:function(t,e,n){"use strict";n("ea1b")},1659:function(t,e,n){t.exports=n.p+"img/pinkGrape.jpg"},1703:function(t,e,n){t.exports=n.p+"img/dark7.png"},1754:function(t,e,n){"use strict";n.d(e,"g",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return u})),n.d(e,"b",(function(){return b}));var i,r=n("31fc"),o=function(t,e){void 0===e&&(e=!0);var n=[];e&&n.push(65279);for(var i=0,o=t.length;i=0&&t<=65535},a=function(t){return t>=65536&&t<=1114111},l=function(t){return Math.floor((t-65536)/1024)+55296},c=function(t){return(t-65536)%1024+56320};(function(t){t["BigEndian"]="BigEndian",t["LittleEndian"]="LittleEndian"})(i||(i={}));var h="�".codePointAt(0),u=function(t,e){if(void 0===e&&(e=!0),t.length<=1)return String.fromCodePoint(h);var n=e?m(t):i.BigEndian,r=e?2:0,o=[];while(t.length-r>=2){var s=f(t[r++],t[r++],n);if(d(s))if(t.length-r<2)o.push(h);else{var a=f(t[r++],t[r++],n);p(a)?o.push(s,a):o.push(h)}else p(s)?(r+=2,o.push(h)):o.push(s)}return r=55296&&t<=56319},p=function(t){return t>=56320&&t<=57343},f=function(t,e,n){if(n===i.LittleEndian)return e<<8|t;if(n===i.BigEndian)return t<<8|e;throw new Error("Invalid byteOrder: "+n)},m=function(t){return g(t)?i.BigEndian:v(t)?i.LittleEndian:i.BigEndian},g=function(t){return 254===t[0]&&255===t[1]},v=function(t){return 255===t[0]&&254===t[1]},b=function(t){return g(t)||v(t)}},1787:function(t,e,n){"use strict";var i=n("861d");t.exports=function(t){return i(t)||null===t}},"17f2":function(t,e,n){t.exports=n.p+"img/jisuanqi.svg"},1801:function(t,e,n){"use strict";n("e720")},"18ef":function(t,e,n){"use strict";n("9ac0")},1985:function(t,e,n){(function(t,i){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof i&&i;s.global!==s&&s.window!==s&&s.self;var a,l=2147483647,c=36,h=1,u=26,d=38,p=700,f=72,m=128,g="-",v=/^xn--/,b=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=c-h,C=Math.floor,k=String.fromCharCode;function A(t){throw new RangeError(w[t])}function S(t,e){var n=t.length,i=[];while(n--)i[n]=e(t[n]);return i}function T(t,e){var n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]),t=t.replace(y,".");var r=t.split("."),o=S(r,e).join(".");return i+o}function E(t){var e,n,i=[],r=0,o=t.length;while(r=55296&&e<=56319&&r65535&&(t-=65536,e+=k(t>>>10&1023|55296),t=56320|1023&t),e+=k(t),e})).join("")}function N(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c}function O(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function z(t,e,n){var i=0;for(t=n?C(t/p):t>>1,t+=C(t/e);t>x*u>>1;i+=c)t=C(t/x);return C(i+(x+1)*t/(t+d))}function D(t){var e,n,i,r,o,s,a,d,p,v,b=[],y=t.length,w=0,x=m,k=f;for(n=t.lastIndexOf(g),n<0&&(n=0),i=0;i=128&&A("not-basic"),b.push(t.charCodeAt(i));for(r=n>0?n+1:0;r=y&&A("invalid-input"),d=N(t.charCodeAt(r++)),(d>=c||d>C((l-w)/s))&&A("overflow"),w+=d*s,p=a<=k?h:a>=k+u?u:a-k,dC(l/v)&&A("overflow"),s*=v}e=b.length+1,k=z(w-o,e,0==o),C(w/e)>l-x&&A("overflow"),x+=C(w/e),w%=e,b.splice(w++,0,x)}return M(b)}function L(t){var e,n,i,r,o,s,a,d,p,v,b,y,w,x,S,T=[];for(t=E(t),y=t.length,e=m,n=0,o=f,s=0;s=e&&bC((l-n)/w)&&A("overflow"),n+=(a-e)*w,e=a,s=0;sl&&A("overflow"),b==e){for(d=n,p=c;;p+=c){if(v=p<=o?h:p>=o+u?u:p-o,d=4)return!1;for(d=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(l=t.bMarks[p]+t.tShift[p],c=t.eMarks[p],l=c)))){h=61===u?1:2;break}if(!(t.sCount[p]<0)){for(r=!1,o=0,s=f.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function h(t){var e=c(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function u(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,i=c(t),s=i[0],a=i[1],l=new o(u(t,s,a)),h=0,d=a>0?s-4:s;for(n=0;n>16&255,l[h++]=e>>8&255,l[h++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[h++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[h++]=e>>8&255,l[h++]=255&e),l}function p(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function f(t,e,n){for(var i,r=[],o=e;ol?l:a+s));return 1===r?(e=t[n-1],o.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},2:function(t,e){},"207f":function(t,e,n){"use strict";n("bbbc")},2136:function(t,e,n){"use strict";n("7125")},"21cd":function(t,e,n){t.exports=n.p+"img/qixi.svg"},"222a":function(t,e,n){t.exports=n.p+"img/hangli.svg"},2232:function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return N})),n.d(e,"a",(function(){return I}));for(var i=n("77f5"),r=n.n(i),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(256),a=0;a>4,h[c++]=(15&i)<<4|r>>2,h[c++]=(3&r)<<6|63&o;return h},h=function(t){for(var e="",n=0;n"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=o["a"].LessThan,e+=Object(s["w"])(this.value,t,e),t[e++]=o["a"].GreaterThan,this.value.length+2},e.of=function(t){return new e(t)},e.fromText=function(t){for(var n=Object(s["Z"])(t),i="",r=0,o=n.length;r\x00-\x20]*)$/;t.exports=function(t,e){var n,o,s,a,l,c,h=t.pos;if(60!==t.src.charCodeAt(h))return!1;for(l=t.pos,c=t.posMax;;){if(++h>=c)return!1;if(a=t.src.charCodeAt(h),60===a)return!1;if(62===a)break}return n=t.src.slice(l+1,h),r.test(n)?(o=t.md.normalizeLink(n),!!t.md.validateLink(o)&&(e||(s=t.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(n),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=n.length+2,!0)):!!i.test(n)&&(o=t.md.normalizeLink("mailto:"+n),!!t.md.validateLink(o)&&(e||(s=t.push("link_open","a",1),s.attrs=[["href",o]],s.markup="autolink",s.info="auto",s=t.push("text","",0),s.content=t.md.normalizeLinkText(n),s=t.push("link_close","a",-1),s.markup="autolink",s.info="auto"),t.pos+=n.length+2,!0))}},"290f":function(t,e,n){t.exports=n.p+"img/a-19guaizhang.svg"},"299e":function(t,e,n){t.exports=n.p+"img/gudingzichan.svg"},"29dc":function(t,e,n){t.exports=n.p+"img/a-15-bingdu.svg"},"2a43":function(t,e,n){t.exports=n.p+"img/a-20-shuye.svg"},"2a70":function(t,e,n){},"2b93":function(t,e,n){t.exports=n.p+"img/catalogOrganization.jpg"},"2ba4":function(t,e,n){"use strict";var i=n("40d5"),r=Function.prototype,o=r.apply,s=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?s.bind(o):function(){return s.apply(o,arguments)})},"2c41":function(t,e,n){t.exports=n.p+"img/yumi.svg"},"2c63":function(t,e,n){t.exports=n("dc14")},"2ce1":function(t,e,n){"use strict";n("5d71")},"2cf1":function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e["a"]=n}).call(this,n("c8ba"))},"2d51":function(t,e,n){"use strict";function i(t,e,n,i){var r=65535&t|0,o=t>>>16&65535|0,s=0;while(0!==n){s=n>2e3?2e3:n,n-=s;do{r=r+e[i++]|0,o=o+r|0}while(--s);r%=65521,o%=65521}return r|o<<16|0}t.exports=i},"2d6b":function(t,e,n){"use strict";n("93aa")},3045:function(t,e,n){},3075:function(t,e,n){"use strict";n("d67c")},3100:function(t,e,n){},"318a":function(t,e,n){t.exports=n.p+"img/jisuan.svg"},"31fc":function(t,e,n){"use strict";n.d(e,"m",(function(){return i})),n.d(e,"n",(function(){return r})),n.d(e,"p",(function(){return o})),n.d(e,"o",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return l})),n.d(e,"k",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"f",(function(){return d})),n.d(e,"i",(function(){return m})),n.d(e,"j",(function(){return g})),n.d(e,"b",(function(){return v})),n.d(e,"e",(function(){return b})),n.d(e,"a",(function(){return w})),n.d(e,"l",(function(){return C})),n.d(e,"h",(function(){return k}));var i=function(t){return t.charCodeAt(0)},r=function(t){return t.codePointAt(0)},o=function(t,e){return c(t.toString(16),e,"0").toUpperCase()},s=function(t){return o(t,2)},a=function(t){return String.fromCharCode(t)},l=function(t){return a(parseInt(t,16))},c=function(t,e,n){for(var i="",r=0,o=e-t.length;r=55296&&i<=56319&&t.length>r&&(n=t.charCodeAt(r),n>=56320&&n<=57343&&(o=2)),[t.slice(e,e+o),o]},b=function(t){for(var e=[],n=0,i=t.length;nn&&c(),s+=p,a+=m}}return c(),l},x=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,C=function(t){var e=t.match(x);if(e){var n=e[1],i=e[2],r=void 0===i?"01":i,o=e[3],s=void 0===o?"01":o,a=e[4],l=void 0===a?"00":a,c=e[5],h=void 0===c?"00":c,u=e[6],d=void 0===u?"00":u,p=e[7],f=void 0===p?"Z":p,m=e[8],g=void 0===m?"00":m,v=e[9],b=void 0===v?"00":v,y="Z"===f?"Z":""+f+g+":"+b,w=new Date(n+"-"+r+"-"+s+"T"+l+":"+h+":"+d+y);return w}},k=function(t,e){var n,i,r=0;while(r0&&i++,"text"===r[e].type&&e+1=0?i:n+i;return a<0||a>=n?void 0:e[a]}}),a("at")},"33d7":function(t,e,n){t.exports=n.p+"img/a-1-shilibiao.svg"},3408:function(t,e,n){"use strict";t.exports=function(t){var e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}},3454:function(t){t.exports=JSON.parse('"eJyFWdtyGjkQ/RVqnnarcAo7vuE3jEnCxgEvGDtxKg9iRgxaa0ZEF9s4lX/fnrGdTVZ9lBcKTmvU96PW8C0bmqqStc9OsqsPwYlSdnaPDvb6naP+3v5+1s3emNpPRCVpwdAEq6TdOTW6mC61+hpksyBo/euCTrOg89MKUSm9/XUNwddSletGcbOcfo+90Cof1KWmdTu7e4S4N+pBFhfK5+vsxNsgu9lwLazIvbRz2Tw7evCyLmQxM5Won809PTUP2cnnnYOj7s7eQa97fNjvHvd2v3SzBS21WtXywjjllakbRb3eT4LLtcpva+lcdkJPZlfSunZZ1uu9ftXr9UjFxHiVP7my2drGh84f+Z+d3f5xv0uf/V77udt+vm4/jzqDwixlZ751XlauM65zYzfGCi+LV53OQOvOrNnHdWbSSXtHKOkZ0apC1eU8X8s2dO0mcy/qQtjiRUoLh2Lz7jmWB4cUto8vv/Zf97vZwOVNhGx2crhHP8/kj987uxShbO6Ld9fZyfF++/WKvu72Dp/i/EF6q3IKxedv2fVH2qAJ1YQscRtBEfje/R8sH3Itqhj/Ggx5utSxpA7VsglxWceywmgtbIxvpM2bio0EoiKRo/AAC9pcMfsJK2stV0gEHhOu2dHdMk/p4GI0p0YTMbzebtaS8Z5cUYbxxGnh1jH8KK2JUVMzWfL3zEq/tpJZu6JuZVB1x6x16oEB5R3nneRjWivO4Nxow+zhZKWASDcNHCv9GgRTg6WV1IiMm8ReriWJOPeM7YMYOo2hYQydxdAoht7E0NsYehdD4xj6K4bex9B5DH2IoUkMTWPoIob+jqFZDM1j6DKGFjF0FUPXMfQxhj7F0E0MLekQupWep40lyUCfPj8HOSVXKlc2DwyLhoa1HZ0cTIu0/MYbw3DOkukxhn+ZDmK4gGkohuViSMXQPzHE0CvTwky0mK5laG/DhDKGGG5g6IWJfYihuxi6jyGGSbcM6fP1BQphyR2m7fpUNXqlC3jUF+aeiTN/OjfHpW4GlriEmoGO5dktd3astLGKPQ/ALnmwdIznTADbtnGqHTnh1MJHswyKJJUBFNCI241/IwahXzHdsWIKnyY5lmYKUZbckfaEs6PY08DR5E5ayfQ+zUKitGLDkRpdASTjxX/hXQqXiHBaCkL0IwFALrVWG6eYRiVP/doENCk+Hfp8aVMAuNFH5MFzg0vL5CstmXYGfVWJ3HI1vLSSU1wYL3K+3wq6ZUnWf8t2YS4LCig3oYa6FDZUWgRGjSlpyGRYOhesH7LiC3bAjDzGFiua8fih8BwcsFOE8woqIrmgWQ2Cj3czWzLdqYFeg3Bmd2pNusVSyTNJG+N8SlB+AhRNSGdUgtR9whYU6k5x1fwJWDZIdYYADy1SD23BQ669dqEekaktF3yfLHAYBGqGBbAuoAdGWMkZEQR3/0g6mr+8qmBUIcrJQR0IPi6TpAEa1Shg1MvkbkO0G2DVUYInHXDTQUJUQLs2j7IuGcEMqHibdDIkmyQlHKCUWmBIDn29SUTucm0ss9kUaZ+BuM0BXgBrF0hB4CuzfbfhQjvgMDPRFJTgAOGAVqugvdpoZswMwMFL4CCNWl4JXagVc7vaYmqYAD0qVSyjZJklTh0syoEdNaJBlNAJCNAYbNS8eaOBgXv9trTmVtbsHcjKUjkw9b4FyR6nGCVQV/NXkRGoKQscMigyN+CBGxCx55dc4BXYyDMTyhCSgk7ylkejHzwdkWCAxodEVYIAP6LWQLqnKCPo6EGZckgzdmKaHEuAh2dSeyZXnidpf28SjIhNq5hXGgpYZNJz5giFvgATTsvjVMCWCpkxbZ6oV74i3yfr+BwkzltRyEpYxnKZYIUxiNIYFc45sJqCthaaORmamwlocJOqqBpMTYvf5A/ERyKHSsCl5NBzVrmk8kGYJ1M3TVteEEtw/3YYkKIhMCJANi9UzqXhDGxkk95MQH4MwGfpsk5KB2DPAeRofuaagn0eEx0yQqc90n2bdAUMAuNkKwATfPpyY8om37Xh3o9gLg1YRFuhf6vSF1ruIH8ETtXJrSjk+IRQqMdHofkf8ks3ey9tfSGUbf49/vL9XxrnGMA="')},3469:function(t,e,n){t.exports=n.p+"img/a-3-chuangkoutie.svg"},"347b":function(t,e,n){t.exports=n.p+"img/OAxitong.svg"},"35aa":function(t,e,n){t.exports=n.p+"img/shengdanjie.svg"},"35ae":function(t,e,n){t.exports=n.p+"img/menpiao.svg"},"35d8":function(t,e,n){t.exports=n.p+"img/fishbone.jpg"},"369f":function(t,e,n){t.exports=n.p+"img/sousuo.svg"},"36b7":function(t,e,n){"use strict";n("c018")},3752:function(t,e,n){t.exports=n.p+"img/gongju.svg"},"37e8":function(t,e,n){"use strict";var i=n("83ab"),r=n("aed9"),o=n("9bf2"),s=n("825a"),a=n("fc6a"),l=n("df75");e.f=i&&!r?Object.defineProperties:function(t,e){s(t);var n,i=a(e),r=l(e),c=r.length,h=0;while(c>h)o.f(t,n=r[h++],i[n]);return t}},"37fa":function(t,e,n){t.exports=n.p+"img/logicalStructureLeft.jpg"},3819:function(t,e,n){t.exports=n.p+"img/timeline2.jpg"},"38b0":function(t,e,n){},"3a7c":function(t,e,n){function i(t){return Array.isArray?Array.isArray(t):"[object Array]"===v(t)}function r(t){return"boolean"===typeof t}function o(t){return null===t}function s(t){return null==t}function a(t){return"number"===typeof t}function l(t){return"string"===typeof t}function c(t){return"symbol"===typeof t}function h(t){return void 0===t}function u(t){return"[object RegExp]"===v(t)}function d(t){return"object"===typeof t&&null!==t}function p(t){return"[object Date]"===v(t)}function f(t){return"[object Error]"===v(t)||t instanceof Error}function m(t){return"function"===typeof t}function g(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t}function v(t){return Object.prototype.toString.call(t)}e.isArray=i,e.isBoolean=r,e.isNull=o,e.isNullOrUndefined=s,e.isNumber=a,e.isString=l,e.isSymbol=c,e.isUndefined=h,e.isRegExp=u,e.isObject=d,e.isDate=p,e.isError=f,e.isFunction=m,e.isPrimitive=g,e.isBuffer=n("b639").Buffer.isBuffer},"3acd":function(t,e,n){t.exports=n.p+"img/fanwendengji.svg"},"3b39":function(t,e,n){t.exports=n.p+"img/dark5.png"},"3b50":function(t,e,n){t.exports=n.p+"img/jiandan.svg"},"3b78":function(t,e,n){},"3bbe":function(t,e,n){"use strict";var i=n("1787"),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw new o("Can't set "+r(t)+" as a prototype")}},"3bd3":function(t,e,n){t.exports=n.p+"img/jiaoxuelou.svg"},"3d18":function(t,e,n){t.exports=n.p+"img/jiangbei.svg"},"3ec8":function(t,e,n){t.exports=n.p+"img/a-19guaizhang.svg"},"3f8c":function(t,e,n){"use strict";t.exports={}},"3fb5":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},"401c":function(t){t.exports=JSON.parse('"eJyFWdtSGzkQ/RXXPO1WmZSBEAJvjnESb8AmGENCKg+ypj3Wohk5ugAmlX9fzUCyW6s+ysuUfVqXvh61Zr4XI1PX1PjiuLg6C05U1Ns/Ojx42TsYHB4eFf3irWn8VNQUB4xMsIpsCwatU1DUSm8T+JpUtW7XP6NShToiEy+0ksOm0nHkIP53b9UDlefKy3Vx7G2gfjFaCyukJzundu74wVNTUnlhatE8a/XmjXkojr/s7O33d/YOBv3D3YP+68HB136xiEOtVg2dG6e8Mk1xvLM7GPxHcLlW8rYh54rjOLO4Iuu6YcVgsP9iMBjELabGK/lkymZrWxt6f8g/e7tHr4/68Xk06J673XOve+53z8PesDRL6s23zlPtepNGGrsxVngqX/R6Q617F+1qrndBjuxdRONu4ziqVE01l2vqHNgtMveiKYUtf0rjwJHYvH/26MGrvX7x6ee/l3uv+sXQydZPtjh+tXfUL07o1/+d3YPDfjH35fvrOHO3+3n1/LN19hl5q2T0x5fvxfWnOL/11zQq4jYiuuFH/38wPUgt6hT/Fkw0dKlTSRPqZevnqkllpdFa2BTfkJVtdiYCUUeRi94BGnQBY9YTlhpNKyQC04RrV3S3zCwdXIrKWFQihdfbzZoY66MpyjCWOC3cOoUfyZoUNQ0TJX/PjPRrS8zYVSxZBlV3zFinHhiQ7jjriPdpoziFpdGGWcNRrYBIt1WcbvotCCYHK0uxDhkzvwVyHVOksWd0H6bQmxQapdBJCo1T6G0KvUuh9yk0SaG/UuhDCp2m0FkKTVNolkLnKfQxhS5SaJ5Clym0SKGrFLpOoU8p9DmFblJoGU+iW/I8bSyjDNTp8zzIKVIpqawMDIuGlrRdPDiYEun4jVeG4ZwlU2MM/zIVxHABU1AMy6WQSqG/U4ihV6aEGW8xVcvQ3oZxZQox3MDQC+P7kEJ3KXSfQgyTbhnS5/MLJMKSO0y78bls9EqX8KgvzT3jZ/50bo9L3fYraQq1XR3Ls1vu7FhpYxV7HoBVZLDxGJeMA7uycarrOmHXwnuzCipKagMooBV3C/9GDFy/YqpjxSR+bORYmilFVXFH2hPOtmJPDUcbO7LE1H7shURlxYYjtdj6E2PFv+5dCpfxcF4KXPQrAEBOWquNU0yhRkv92gTUKT4d+nxqRwdwrY+QwXONS8fkK01MOYO6qoW0XA4vLXEbl8YLyddbGa9axNpv2SqU8SoWG26Gu0NTCRtqLQKzjalik8mwtBSsHVTzCTtkWh5jy1Xs8fim8BQcsDOE8xvUkeSCZncQvL/b3pKpTg32NQhnVo+lGa+yMeWZoE1wPAmknwBJE/IRJRC6z1iDUt0pLps/A82GucoQYNIiN2kLJrnu2oVqhHJLLvg6WWA3CFQMC6BdQBPGeJOTSBDc/SNrqPz5voLZClGOBHkgeL9MswpolKOAUS+zq43QaoBVxxmedMBMBwlRgd21eaSmYgQXYIt3WSNDtkhywiEKqQWKSGjrTcZzl2tjmcVmaPcL4Lc5wEug7QJtEPjM7N5tuNA1OExPNAMpOEQ4oNU6aK82mmkzAzDwEhgYWy2vhC7VirldbTE1TME+Kpcs42yaZU4dLJJAjwbRIAroFDhoAhZq37zFhoF7/ba05pYa9g5kqVIOdL3vQLAnOUYJsar5q8gY5JQFBhnkmRsw4QZ47PklF3gFNvZMhzKCpKCzvOVR6wdPRyQYovYhk5XAwY+oNNDeMxQRdPSgSDm0MzZilm1LgIUnpD0TK8+TtL83GUbEqtXMKw0FNDL5PnOMXF+CDqfj8ZjANiYyo9o8k698Rn7I5vEpCJy3oqRaWEZzyrDCBHhpghLnFGgdnbYWmjkZ2psJKHCTy6gGdE2L38QP+IeQQRXg0mjQc1S5oPJOmGdDN8trXkaW4L52GBCiEVAiQDYvleTCcAIWsllrpiA+BuAX+bTOSodgzSHkaL7nmoF1HjMVMkanPdr7NmsKaAQm2VIAKvj85cZUbbwbw70fwVwasCguhb5W5S+03EH+CIxqsktFl+MTQqEaH4f2O+TXfvGBbHMulG2/Hn/98Q/b2xEO"')},"406c":function(t,e,n){"use strict";function i(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}t.exports=i},"41b8":function(t,e,n){t.exports=n.p+"img/dark4.jpg"},"41c5":function(t,e,n){t.exports=n.p+"img/-_12.svg"},4236:function(t,e,n){"use strict";var i=n("0068").isSpace;t.exports=function(t,e){var n,r,o,s=t.pos;if(10!==t.src.charCodeAt(s))return!1;if(n=t.pending.length-1,r=t.posMax,!e)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){o=n-1;while(o>=1&&32===t.pending.charCodeAt(o-1))o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);s++;while(s!t.selection.empty&&(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function a(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const l=(t,e,n)=>{let s=a(t,n);if(!s)return!1;let l=u(s);if(!l){let n=s.blockRange(),r=n&&Object(i["k"])(n);return null!=r&&(e&&e(t.tr.lift(n,r).scrollIntoView()),!0)}let h=l.nodeBefore;if(!h.type.spec.isolating&&S(t,l,e))return!0;if(0==s.parent.content.size&&(c(h,"end")||o["NodeSelection"].isSelectable(h))){let n=Object(i["l"])(t.doc,s.before(),s.after(),r["Slice"].empty);if(n&&n.slice.size{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):i.parentOffset>0)return!1;s=u(i)}let a=s&&s.nodeBefore;return!(!a||!o["NodeSelection"].isSelectable(a))&&(e&&e(t.tr.setSelection(o["NodeSelection"].create(t.doc,s.pos-a.nodeSize)).scrollIntoView()),!0)};function u(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function d(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let s=d(t,n);if(!s)return!1;let a=m(s);if(!a)return!1;let l=a.nodeAfter;if(S(t,a,e))return!0;if(0==s.parent.content.size&&(c(l,"start")||o["NodeSelection"].isSelectable(l))){let n=Object(i["l"])(t.doc,s.before(),s.after(),r["Slice"].empty);if(n&&n.slice.size{let{$head:i,empty:r}=t.selection,s=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):i.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let{$head:n,$anchor:i}=t.selection;return!(!n.parent.type.spec.code||!n.sameParent(i))&&(e&&e(t.tr.insertText("\n").scrollIntoView()),!0)};function v(t){for(let e=0;e{let{$head:n,$anchor:i}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let r=n.node(-1),s=n.indexAfter(-1),a=v(r.contentMatchAt(s));if(!a||!r.canReplaceWith(s,s,a))return!1;if(e){let i=n.after(),r=t.tr.replaceWith(i,i,a.createAndFill());r.setSelection(o["Selection"].near(r.doc.resolve(i),1)),e(r.scrollIntoView())}return!0},y=(t,e)=>{let n=t.selection,{$from:i,$to:r}=n;if(n instanceof o["AllSelection"]||i.parent.inlineContent||r.parent.inlineContent)return!1;let s=v(r.parent.contentMatchAt(r.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let n=(!i.parentOffset&&r.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(Object(i["g"])(t.doc,r))return e&&e(t.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),o=r&&Object(i["k"])(r);return null!=o&&(e&&e(t.tr.lift(r,o).scrollIntoView()),!0)};function x(t){return(e,n)=>{let{$from:r,$to:s}=e.selection;if(e.selection instanceof o["NodeSelection"]&&e.selection.node.isBlock)return!(!r.parentOffset||!Object(i["g"])(e.doc,r.pos))&&(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let a=s.parentOffset==s.parent.content.size,l=e.tr;(e.selection instanceof o["TextSelection"]||e.selection instanceof o["AllSelection"])&&l.deleteSelection();let c=0==r.depth?null:v(r.node(-1).contentMatchAt(r.indexAfter(-1))),h=t&&t(s.parent,a),u=h?[h]:a&&c?[{type:c}]:void 0,d=Object(i["g"])(l.doc,l.mapping.map(r.pos),1,u);if(u||d||!Object(i["g"])(l.doc,l.mapping.map(r.pos),1,c?[{type:c}]:void 0)||(c&&(u=[{type:c}]),d=!0),d&&(l.split(l.mapping.map(r.pos),1,u),!a&&!r.parentOffset&&r.parent.type!=c)){let t=l.mapping.map(r.before()),e=l.doc.resolve(t);c&&r.node(-1).canReplaceWith(e.index(),e.index()+1,c)&&l.setNodeMarkup(l.mapping.map(r.before()),c)}n(l.scrollIntoView())}return!0}}const C=x(),k=(t,e)=>(e&&e(t.tr.setSelection(new o["AllSelection"](t.doc))),!0);function A(t,e,n){let r=e.nodeBefore,o=e.nodeAfter,s=e.index();return!!(r&&o&&r.type.compatibleContent(o.type))&&(!r.content.size&&e.parent.canReplace(s-1,s)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!(!e.parent.canReplace(s,s+1)||!o.isTextblock&&!Object(i["f"])(t.doc,e.pos))&&(n&&n(t.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0))}function S(t,e,n){let s,a,l=e.nodeBefore,h=e.nodeAfter;if(l.type.spec.isolating||h.type.spec.isolating)return!1;if(A(t,e,n))return!0;let u=e.parent.canReplace(e.index(),e.index()+1);if(u&&(s=(a=l.contentMatchAt(l.childCount)).findWrapping(h.type))&&a.matchType(s[0]||h.type).validEnd){if(n){let o=e.pos+h.nodeSize,a=r["Fragment"].empty;for(let t=s.length-1;t>=0;t--)a=r["Fragment"].from(s[t].create(null,a));a=r["Fragment"].from(l.copy(a));let c=t.tr.step(new i["b"](e.pos-1,o,e.pos,o,new r["Slice"](a,1,0),s.length,!0)),u=o+2*s.length;Object(i["f"])(c.doc,u)&&c.join(u),n(c.scrollIntoView())}return!0}let d=o["Selection"].findFrom(e,1),p=d&&d.$from.blockRange(d.$to),f=p&&Object(i["k"])(p);if(null!=f&&f>=e.depth)return n&&n(t.tr.lift(p,f).scrollIntoView()),!0;if(u&&c(h,"start",!0)&&c(l,"end")){let o=l,s=[];for(;;){if(s.push(o),o.isTextblock)break;o=o.lastChild}let a=h,c=1;for(;!a.isTextblock;a=a.firstChild)c++;if(o.canReplace(o.childCount,o.childCount,a.content)){if(n){let o=r["Fragment"].empty;for(let t=s.length-1;t>=0;t--)o=r["Fragment"].from(s[t].copy(o));let a=t.tr.step(new i["b"](e.pos-s.length,e.pos+h.nodeSize,e.pos+c,e.pos+h.nodeSize-c,new r["Slice"](o,s.length,0),0,!0));n(a.scrollIntoView())}return!0}}return!1}function T(t){return function(e,n){let i=e.selection,r=t<0?i.$from:i.$to,s=r.depth;while(r.node(s).isInline){if(!s)return!1;s--}return!!r.node(s).isTextblock&&(n&&n(e.tr.setSelection(o["TextSelection"].create(e.doc,t<0?r.start(s):r.end(s)))),!0)}}const E=T(-1),M=T(1);function N(t,e=null){return function(n,r){let{$from:o,$to:s}=n.selection,a=o.blockRange(s),l=a&&Object(i["i"])(a,t,e);return!!l&&(r&&r(n.tr.wrap(a,l).scrollIntoView()),!0)}}function O(t,e=null){return function(n,i){let r=!1;for(let o=0;o{if(r)return!1;if(i.isTextblock&&!i.hasMarkup(t,e))if(i.type==t)r=!0;else{let e=n.doc.resolve(o),i=e.index();r=e.parent.canReplaceWith(i,i+1,t)}})}if(!r)return!1;if(i){let r=n.tr;for(let i=0;i{if(s)return!1;s=t.inlineContent&&t.type.allowsMarkType(n)}),s)return!0}return!1}function D(t,e=null){return function(n,i){let{empty:r,$cursor:o,ranges:s}=n.selection;if(r&&!o||!z(n.doc,s,t))return!1;if(i)if(o)t.isInSet(n.storedMarks||o.marks())?i(n.tr.removeStoredMark(t)):i(n.tr.addStoredMark(t.create(e)));else{let r=!1,o=n.tr;for(let e=0;!r&&e3)&&!(t.sCount[c]<0)){for(r=!1,o=0,s=h.length;o=s)return-1;if(n=t.src.charCodeAt(o++),n<48||n>57)return-1;for(;;){if(o>=s)return-1;if(n=t.src.charCodeAt(o++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}return o=4)return!1;if(t.listIndent>=0&&t.sCount[I]-t.listIndent>=4&&t.sCount[I]=t.blkIndent&&(F=!0),(M=o(t,I))>=0){if(p=!0,O=t.bMarks[I]+t.tShift[I],y=Number(t.src.slice(O,M-1)),F&&1!==y)return!1}else{if(!((M=r(t,I))>=0))return!1;p=!1}if(F&&t.skipSpaces(M)>=t.eMarks[I])return!1;if(i)return!0;b=t.src.charCodeAt(M-1),v=t.tokens.length,p?(L=t.push("ordered_list_open","ol",1),1!==y&&(L.attrs=[["start",y]])):L=t.push("bullet_list_open","ul",1),L.map=g=[I,0],L.markup=String.fromCharCode(b),N=!1,D=t.md.block.ruler.getRules("list"),k=t.parentType,t.parentType="list";while(I=w?1:x-d,u>4&&(u=1),h=d+u,L=t.push("list_item_open","li",1),L.markup=String.fromCharCode(b),L.map=f=[I,0],p&&(L.info=t.src.slice(O,M-1)),T=t.tight,S=t.tShift[I],A=t.sCount[I],C=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=h,t.tight=!0,t.tShift[I]=l-t.bMarks[I],t.sCount[I]=x,l>=w&&t.isEmpty(I+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,I,n,!0),t.tight&&!N||(R=!1),N=t.line-I>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=C,t.tShift[I]=S,t.sCount[I]=A,t.tight=T,L=t.push("list_item_close","li",-1),L.markup=String.fromCharCode(b),I=t.line,f[1]=I,I>=n)break;if(t.sCount[I]=4)break;for(z=!1,c=0,m=D.length;c=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,a[i]=t.pos}else t.pos=a[i]},s.prototype.tokenize=function(t){var e,n,i,r=this.ruler.getRules(""),o=r.length,s=t.posMax,a=t.md.options.maxNesting;while(t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(e){if(t.pos>=s)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},s.prototype.parse=function(t,e,n,i){var r,o,s,a=new this.State(t,e,n,i);for(this.tokenize(a),o=this.ruler2.getRules(""),s=o.length,r=0;r=o["a"].Zero&&c<=o["a"].Seven?(e+=l,3!==e.length&&h>="0"&&h<="7"||(i(parseInt(e,8)),e="")):i(c):c===o["a"].BackSlash?n=!0:i(c)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return Object(s["A"])(t)?Object(s["Y"])(t):Object(s["K"])(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=Object(s["J"])(t);if(!e)throw new a["d"](t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"("+this.value+")"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=o["a"].LeftParen,e+=Object(s["w"])(this.value,t,e),t[e++]=o["a"].RightParen,this.value.length+2},e.of=function(t){return new e(t)},e.fromDate=function(t){var n=Object(s["I"])(String(t.getUTCFullYear()),4,"0"),i=Object(s["I"])(String(t.getUTCMonth()+1),2,"0"),r=Object(s["I"])(String(t.getUTCDate()),2,"0"),o=Object(s["I"])(String(t.getUTCHours()),2,"0"),a=Object(s["I"])(String(t.getUTCMinutes()),2,"0"),l=Object(s["I"])(String(t.getUTCSeconds()),2,"0");return new e("D:"+n+i+r+o+a+l+"Z")},e}(r["a"]);e["a"]=l},"4f5a":function(t,e,n){t.exports=n.p+"img/-_14.svg"},"4fc2":function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},5023:function(t,e,n){t.exports=n.p+"img/ertongjie.svg"},5071:function(t,e,n){},5082:function(t,e,n){t.exports=n.p+"img/a-10-yiliaoxiang.svg"},5087:function(t,e,n){"use strict";var i=n("68ee"),r=n("0d51"),o=TypeError;t.exports=function(t){if(i(t))return t;throw new o(r(t)+" is not a constructor")}},"51a1":function(t,e,n){(function(t,n){var i=200,r="__lodash_hash_undefined__",o=1,s=2,a=9007199254740991,l="[object Arguments]",c="[object Array]",h="[object AsyncFunction]",u="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Function]",m="[object GeneratorFunction]",g="[object Map]",v="[object Number]",b="[object Null]",y="[object Object]",w="[object Promise]",x="[object Proxy]",C="[object RegExp]",k="[object Set]",A="[object String]",S="[object Symbol]",T="[object Undefined]",E="[object WeakMap]",M="[object ArrayBuffer]",N="[object DataView]",O="[object Float32Array]",z="[object Float64Array]",D="[object Int8Array]",L="[object Int16Array]",I="[object Int32Array]",F="[object Uint8Array]",R="[object Uint8ClampedArray]",P="[object Uint16Array]",B="[object Uint32Array]",j=/[\\^$.*+?()[\]{}|]/g,q=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,U={};U[O]=U[z]=U[D]=U[L]=U[I]=U[F]=U[R]=U[P]=U[B]=!0,U[l]=U[c]=U[M]=U[u]=U[N]=U[d]=U[p]=U[f]=U[g]=U[v]=U[y]=U[C]=U[k]=U[A]=U[E]=!1;var W="object"==typeof t&&t&&t.Object===Object&&t,G="object"==typeof self&&self&&self.Object===Object&&self,V=W||G||Function("return this")(),K=e&&!e.nodeType&&e,Y=K&&"object"==typeof n&&n&&!n.nodeType&&n,Z=Y&&Y.exports===K,X=Z&&W.process,Q=function(){try{return X&&X.binding&&X.binding("util")}catch(t){}}(),J=Q&&Q.isTypedArray;function _(t,e){var n=-1,i=null==t?0:t.length,r=0,o=[];while(++n-1}function Qt(t,e){var n=this.__data__,i=pe(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function Jt(t){var e=-1,n=null==t?0:t.length;this.clear();while(++ec))return!1;var u=a.get(t);if(u&&a.get(e))return u==e;var d=-1,p=!0,f=n&s?new ie:void 0;a.set(t,e),a.set(e,t);while(++d-1&&t%1==0&&t-1&&t%1==0&&t<=a}function Ve(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ke(t){return null!=t&&"object"==typeof t}var Ye=J?nt(J):we;function Ze(t){return qe(t)?de(t):xe(t)}function Xe(){return[]}function Qe(){return!1}n.exports=Ue}).call(this,n("c8ba"),n("62e4")(t))},5227:function(t,e,n){t.exports=n.p+"img/zuche.svg"},5262:function(t,e,n){t.exports=n.p+"img/brainImpairedPink.jpg"},"528d":function(t,e,n){t.exports=n.p+"img/xiaoheiban.svg"},"52f2":function(t,e,n){"use strict";n("542e")},"542e":function(t,e,n){},5440:function(t,e,n){t.exports=n.p+"img/blackHumour.jpg"},5471:function(t,e,n){"use strict";n("7591")},"559d":function(t,e,n){t.exports=n.p+"img/simpleBlack.jpg"},"565b":function(t,e,n){"use strict";e.parseLinkLabel=n("df56"),e.parseLinkDestination=n("e4ca"),e.parseLinkTitle=n("7d91")},"56d3":function(t,e,n){t.exports=n.p+"img/ziyuan_4.svg"},5703:function(t,e,n){(function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(){"use strict";var t={};!function(){t.d=function(e,n){for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})}}(),function(){t.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}();var e={};t.d(e,{default:function(){return wo}});var n=function t(e,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var i,r,o="KaTeX parse error: "+e,s=n&&n.loc;if(s&&s.start<=s.end){var a=s.lexer.input;i=s.start,r=s.end,i===a.length?o+=" at end of input: ":o+=" at position "+(i+1)+": ";var l,c,h=a.slice(i,r).replace(/[^]/g,"$&̲");l=i>15?"…"+a.slice(i-15,i):a.slice(0,i),c=r+15":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function h(t){return String(t).replace(c,(function(t){return l[t]}))}var u=function t(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?t(e.body[0]):e:"font"===e.type?t(e.body):e},d=function(t){var e=u(t);return"mathord"===e.type||"textord"===e.type||"atom"===e.type},p=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},f=function(t){var e=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);return null!=e?e[1]:"_relative"},m={contains:r,deflt:o,escape:h,hyphenate:a,getBaseElem:u,isCharacterBox:d,protocolFromUrl:f},g={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(t){return"#"+t}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(t,e){return e.push(t),e}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(t){return Math.max(0,t)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(t){return Math.max(0,t)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(t){return Math.max(0,t)},cli:"-e, --max-expand ",cliProcessor:function(t){return"Infinity"===t?1/0:parseInt(t)}},globalGroup:{type:"boolean",cli:!1}};function v(t){if(t.default)return t.default;var e=t.type,n=Array.isArray(e)?e[0]:e;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var b=function(){function t(t){for(var e in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{},g)if(g.hasOwnProperty(e)){var n=g[e];this[e]=void 0!==t[e]?n.processor?n.processor(t[e]):t[e]:v(n)}}var e=t.prototype;return e.reportNonstrict=function(t,e,n){var r=this.strict;if("function"===typeof r&&(r=r(t,e,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+e+" ["+t+"]",n);"warn"===r?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+e+" ["+t+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+e+" ["+t+"]")}},e.useStrictBehavior=function(t,e,n){var i=this.strict;if("function"===typeof i)try{i=i(t,e,n)}catch(r){i="error"}return!(!i||"ignore"===i)&&(!0===i||"error"===i||("warn"===i?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+e+" ["+t+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+e+" ["+t+"]"),!1)))},e.isTrusted=function(t){t.url&&!t.protocol&&(t.protocol=m.protocolFromUrl(t.url));var e="function"===typeof this.trust?this.trust(t):this.trust;return Boolean(e)},t}(),y=function(){function t(t,e,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=e,this.cramped=n}var e=t.prototype;return e.sup=function(){return M[N[this.id]]},e.sub=function(){return M[O[this.id]]},e.fracNum=function(){return M[z[this.id]]},e.fracDen=function(){return M[D[this.id]]},e.cramp=function(){return M[L[this.id]]},e.text=function(){return M[I[this.id]]},e.isTight=function(){return this.size>=2},t}(),w=0,x=1,C=2,k=3,A=4,S=5,T=6,E=7,M=[new y(w,0,!1),new y(x,0,!0),new y(C,1,!1),new y(k,1,!0),new y(A,2,!1),new y(S,2,!0),new y(T,3,!1),new y(E,3,!0)],N=[A,S,A,S,T,E,T,E],O=[S,S,S,S,E,E,E,E],z=[C,k,A,S,T,E,T,E],D=[k,k,S,S,E,E,E,E],L=[x,x,k,k,S,S,E,E],I=[w,x,C,k,C,k,C,k],F={DISPLAY:M[w],TEXT:M[C],SCRIPT:M[A],SCRIPTSCRIPT:M[T]},R=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function P(t){for(var e=0;e=r[0]&&t<=r[1])return n.name}return null}var B=[];function j(t){for(var e=0;e=B[e]&&t<=B[e+1])return!0;return!1}R.forEach((function(t){return t.blocks.forEach((function(t){return B.push.apply(B,t)}))}));var q=80,H=function(t,e){return"M95,"+(622+t+e)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+t/2.075+" -"+t+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+t)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},U=function(t,e){return"M263,"+(601+t+e)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+t/2.084+" -"+t+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+t)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},W=function(t,e){return"M983 "+(10+t+e)+"\nl"+t/3.13+" -"+t+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+t)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},G=function(t,e){return"M424,"+(2398+t+e)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+t/4.223+" -"+t+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+t)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+t)+" "+e+"\nh400000v"+(40+t)+"h-400000z"},V=function(t,e){return"M473,"+(2713+t+e)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+t/5.298+" -"+t+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+t)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+t)+" "+e+"h400000v"+(40+t)+"H1017.7z"},K=function(t){var e=t/2;return"M400000 "+t+" H0 L"+e+" 0 l65 45 L145 "+(t-80)+" H400000z"},Y=function(t,e,n){var i=n-54-e-t;return"M702 "+(t+e)+"H400000"+(40+t)+"\nH742v"+i+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+e+"H400000v"+(40+t)+"H742z"},Z=function(t,e,n){e*=1e3;var i="";switch(t){case"sqrtMain":i=H(e,q);break;case"sqrtSize1":i=U(e,q);break;case"sqrtSize2":i=W(e,q);break;case"sqrtSize3":i=G(e,q);break;case"sqrtSize4":i=V(e,q);break;case"sqrtTall":i=Y(e,q,n)}return i},X=function(t,e){switch(t){case"⎜":return"M291 0 H417 V"+e+" H291z M291 0 H417 V"+e+" H291z";case"∣":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145z";case"∥":return"M145 0 H188 V"+e+" H145z M145 0 H188 V"+e+" H145zM367 0 H410 V"+e+" H367z M367 0 H410 V"+e+" H367z";case"⎟":return"M457 0 H583 V"+e+" H457z M457 0 H583 V"+e+" H457z";case"⎢":return"M319 0 H403 V"+e+" H319z M319 0 H403 V"+e+" H319z";case"⎥":return"M263 0 H347 V"+e+" H263z M263 0 H347 V"+e+" H263z";case"⎪":return"M384 0 H504 V"+e+" H384z M384 0 H504 V"+e+" H384z";case"⏐":return"M312 0 H355 V"+e+" H312z M312 0 H355 V"+e+" H312z";case"‖":return"M257 0 H300 V"+e+" H257z M257 0 H300 V"+e+" H257zM478 0 H521 V"+e+" H478z M478 0 H521 V"+e+" H478z";default:return""}},Q={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},J=function(t,e){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+e+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+e+" v1759 h84z";case"vert":return"M145 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+e+" v585 h43z";case"doublevert":return"M145 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+e+" v585 h43z\nM367 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+e+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+e+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+e+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+e+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+e+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+" v602 h84z\nM403 1759 V0 H319 V1759 v"+e+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+e+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(e+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(e+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(e+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(e+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}},_=function(){function t(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var e=t.prototype;return e.hasClass=function(t){return m.contains(this.classes,t)},e.toNode=function(){for(var t=document.createDocumentFragment(),e=0;e=5?0:t>=3?1:2,!rt[e]){var n=rt[e]={cssEmPerMu:tt.quad[e]/18};for(var i in tt)tt.hasOwnProperty(i)&&(n[i]=tt[i][e])}return rt[e]}var st=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],at=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],lt=function(t,e){return e.size<2?t:st[t-1][e.size-1]},ct=function(){function t(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=at[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}var e=t.prototype;return e.extend=function(e){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return new t(n)},e.havingStyle=function(t){return this.style===t?this:this.extend({style:t,size:lt(this.textSize,t)})},e.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},e.havingSize=function(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:at[t-1]})},e.havingBaseStyle=function(e){e=e||this.style.text();var n=lt(t.BASESIZE,e);return this.size===n&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:n})},e.havingBaseSizing=function(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})},e.withColor=function(t){return this.extend({color:t})},e.withPhantom=function(){return this.extend({phantom:!0})},e.withFont=function(t){return this.extend({font:t})},e.withTextFontFamily=function(t){return this.extend({fontFamily:t,font:""})},e.withTextFontWeight=function(t){return this.extend({fontWeight:t,font:""})},e.withTextFontShape=function(t){return this.extend({fontShape:t,font:""})},e.sizingClasses=function(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]},e.baseSizingClasses=function(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]},e.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=ot(this.size)),this._fontMetrics},e.getColor=function(){return this.phantom?"transparent":this.color},t}();ct.BASESIZE=6;var ht=ct,ut={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},dt={ex:!0,em:!0,mu:!0},pt=function(t){return"string"!==typeof t&&(t=t.unit),t in ut||t in dt||"ex"===t},ft=function(t,e){var n;if(t.unit in ut)n=ut[t.unit]/e.fontMetrics().ptPerEm/e.sizeMultiplier;else if("mu"===t.unit)n=e.fontMetrics().cssEmPerMu;else{var r;if(r=e.style.isTight()?e.havingStyle(e.style.text()):e,"ex"===t.unit)n=r.fontMetrics().xHeight;else{if("em"!==t.unit)throw new i("Invalid unit: '"+t.unit+"'");n=r.fontMetrics().quad}r!==e&&(n*=r.sizeMultiplier/e.sizeMultiplier)}return Math.min(t.number*n,e.maxSize)},mt=function(t){return+t.toFixed(4)+"em"},gt=function(t){return t.filter((function(t){return t})).join(" ")},vt=function(t,e,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},e){e.style.isTight()&&this.classes.push("mtight");var i=e.getColor();i&&(this.style.color=i)}},bt=function(t){var e=document.createElement(t);for(var n in e.className=gt(this.classes),this.style)this.style.hasOwnProperty(n)&&(e.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&e.setAttribute(i,this.attributes[i]);for(var r=0;r",e},wt=function(){function t(t,e,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,vt.call(this,t,n,i),this.children=e||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return m.contains(this.classes,t)},e.toNode=function(){return bt.call(this,"span")},e.toMarkup=function(){return yt.call(this,"span")},t}(),xt=function(){function t(t,e,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,vt.call(this,e,i),this.children=n||[],this.setAttribute("href",t)}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return m.contains(this.classes,t)},e.toNode=function(){return bt.call(this,"a")},e.toMarkup=function(){return yt.call(this,"a")},t}(),Ct=function(){function t(t,e,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=e,this.src=t,this.classes=["mord"],this.style=n}var e=t.prototype;return e.hasClass=function(t){return m.contains(this.classes,t)},e.toNode=function(){var t=document.createElement("img");for(var e in t.src=this.src,t.alt=this.alt,t.className="mord",this.style)this.style.hasOwnProperty(e)&&(t.style[e]=this.style[e]);return t},e.toMarkup=function(){var t=""+this.alt+"0&&(e=document.createElement("span"),e.style.marginRight=mt(this.italic)),this.classes.length>0&&(e=e||document.createElement("span"),e.className=gt(this.classes)),this.style)this.style.hasOwnProperty(n)&&(e=e||document.createElement("span"),e.style[n]=this.style[n]);return e?(e.appendChild(t),e):t},e.toMarkup=function(){var t=!1,e="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(i)&&(n+=m.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,e+=' style="'+m.escape(n)+'"');var r=m.escape(this.text);return t?(e+=">",e+=r,e+="",e):r},t}(),St=function(){function t(t,e){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=e||{}}var e=t.prototype;return e.toNode=function(){var t="http://www.w3.org/2000/svg",e=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var i=0;i":""},t}(),Et=function(){function t(t){this.attributes=void 0,this.attributes=t||{}}var e=t.prototype;return e.toNode=function(){var t="http://www.w3.org/2000/svg",e=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);return e},e.toMarkup=function(){var t=" but got "+String(t)+".")}var Ot={bin:1,close:1,inner:1,open:1,punct:1,rel:1},zt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dt={math:{},text:{}},Lt=Dt;function It(t,e,n,i,r,o){Dt[t][r]={font:e,group:n,replace:i},o&&i&&(Dt[t][i]=Dt[t][r])}var Ft="math",Rt="text",Pt="main",Bt="ams",jt="accent-token",qt="bin",Ht="close",Ut="inner",Wt="mathord",Gt="op-token",Vt="open",Kt="punct",Yt="rel",Zt="spacing",Xt="textord";It(Ft,Pt,Yt,"≡","\\equiv",!0),It(Ft,Pt,Yt,"≺","\\prec",!0),It(Ft,Pt,Yt,"≻","\\succ",!0),It(Ft,Pt,Yt,"∼","\\sim",!0),It(Ft,Pt,Yt,"⊥","\\perp"),It(Ft,Pt,Yt,"⪯","\\preceq",!0),It(Ft,Pt,Yt,"⪰","\\succeq",!0),It(Ft,Pt,Yt,"≃","\\simeq",!0),It(Ft,Pt,Yt,"∣","\\mid",!0),It(Ft,Pt,Yt,"≪","\\ll",!0),It(Ft,Pt,Yt,"≫","\\gg",!0),It(Ft,Pt,Yt,"≍","\\asymp",!0),It(Ft,Pt,Yt,"∥","\\parallel"),It(Ft,Pt,Yt,"⋈","\\bowtie",!0),It(Ft,Pt,Yt,"⌣","\\smile",!0),It(Ft,Pt,Yt,"⊑","\\sqsubseteq",!0),It(Ft,Pt,Yt,"⊒","\\sqsupseteq",!0),It(Ft,Pt,Yt,"≐","\\doteq",!0),It(Ft,Pt,Yt,"⌢","\\frown",!0),It(Ft,Pt,Yt,"∋","\\ni",!0),It(Ft,Pt,Yt,"∝","\\propto",!0),It(Ft,Pt,Yt,"⊢","\\vdash",!0),It(Ft,Pt,Yt,"⊣","\\dashv",!0),It(Ft,Pt,Yt,"∋","\\owns"),It(Ft,Pt,Kt,".","\\ldotp"),It(Ft,Pt,Kt,"⋅","\\cdotp"),It(Ft,Pt,Xt,"#","\\#"),It(Rt,Pt,Xt,"#","\\#"),It(Ft,Pt,Xt,"&","\\&"),It(Rt,Pt,Xt,"&","\\&"),It(Ft,Pt,Xt,"ℵ","\\aleph",!0),It(Ft,Pt,Xt,"∀","\\forall",!0),It(Ft,Pt,Xt,"ℏ","\\hbar",!0),It(Ft,Pt,Xt,"∃","\\exists",!0),It(Ft,Pt,Xt,"∇","\\nabla",!0),It(Ft,Pt,Xt,"♭","\\flat",!0),It(Ft,Pt,Xt,"ℓ","\\ell",!0),It(Ft,Pt,Xt,"♮","\\natural",!0),It(Ft,Pt,Xt,"♣","\\clubsuit",!0),It(Ft,Pt,Xt,"℘","\\wp",!0),It(Ft,Pt,Xt,"♯","\\sharp",!0),It(Ft,Pt,Xt,"♢","\\diamondsuit",!0),It(Ft,Pt,Xt,"ℜ","\\Re",!0),It(Ft,Pt,Xt,"♡","\\heartsuit",!0),It(Ft,Pt,Xt,"ℑ","\\Im",!0),It(Ft,Pt,Xt,"♠","\\spadesuit",!0),It(Ft,Pt,Xt,"§","\\S",!0),It(Rt,Pt,Xt,"§","\\S"),It(Ft,Pt,Xt,"¶","\\P",!0),It(Rt,Pt,Xt,"¶","\\P"),It(Ft,Pt,Xt,"†","\\dag"),It(Rt,Pt,Xt,"†","\\dag"),It(Rt,Pt,Xt,"†","\\textdagger"),It(Ft,Pt,Xt,"‡","\\ddag"),It(Rt,Pt,Xt,"‡","\\ddag"),It(Rt,Pt,Xt,"‡","\\textdaggerdbl"),It(Ft,Pt,Ht,"⎱","\\rmoustache",!0),It(Ft,Pt,Vt,"⎰","\\lmoustache",!0),It(Ft,Pt,Ht,"⟯","\\rgroup",!0),It(Ft,Pt,Vt,"⟮","\\lgroup",!0),It(Ft,Pt,qt,"∓","\\mp",!0),It(Ft,Pt,qt,"⊖","\\ominus",!0),It(Ft,Pt,qt,"⊎","\\uplus",!0),It(Ft,Pt,qt,"⊓","\\sqcap",!0),It(Ft,Pt,qt,"∗","\\ast"),It(Ft,Pt,qt,"⊔","\\sqcup",!0),It(Ft,Pt,qt,"◯","\\bigcirc",!0),It(Ft,Pt,qt,"∙","\\bullet",!0),It(Ft,Pt,qt,"‡","\\ddagger"),It(Ft,Pt,qt,"≀","\\wr",!0),It(Ft,Pt,qt,"⨿","\\amalg"),It(Ft,Pt,qt,"&","\\And"),It(Ft,Pt,Yt,"⟵","\\longleftarrow",!0),It(Ft,Pt,Yt,"⇐","\\Leftarrow",!0),It(Ft,Pt,Yt,"⟸","\\Longleftarrow",!0),It(Ft,Pt,Yt,"⟶","\\longrightarrow",!0),It(Ft,Pt,Yt,"⇒","\\Rightarrow",!0),It(Ft,Pt,Yt,"⟹","\\Longrightarrow",!0),It(Ft,Pt,Yt,"↔","\\leftrightarrow",!0),It(Ft,Pt,Yt,"⟷","\\longleftrightarrow",!0),It(Ft,Pt,Yt,"⇔","\\Leftrightarrow",!0),It(Ft,Pt,Yt,"⟺","\\Longleftrightarrow",!0),It(Ft,Pt,Yt,"↦","\\mapsto",!0),It(Ft,Pt,Yt,"⟼","\\longmapsto",!0),It(Ft,Pt,Yt,"↗","\\nearrow",!0),It(Ft,Pt,Yt,"↩","\\hookleftarrow",!0),It(Ft,Pt,Yt,"↪","\\hookrightarrow",!0),It(Ft,Pt,Yt,"↘","\\searrow",!0),It(Ft,Pt,Yt,"↼","\\leftharpoonup",!0),It(Ft,Pt,Yt,"⇀","\\rightharpoonup",!0),It(Ft,Pt,Yt,"↙","\\swarrow",!0),It(Ft,Pt,Yt,"↽","\\leftharpoondown",!0),It(Ft,Pt,Yt,"⇁","\\rightharpoondown",!0),It(Ft,Pt,Yt,"↖","\\nwarrow",!0),It(Ft,Pt,Yt,"⇌","\\rightleftharpoons",!0),It(Ft,Bt,Yt,"≮","\\nless",!0),It(Ft,Bt,Yt,"","\\@nleqslant"),It(Ft,Bt,Yt,"","\\@nleqq"),It(Ft,Bt,Yt,"⪇","\\lneq",!0),It(Ft,Bt,Yt,"≨","\\lneqq",!0),It(Ft,Bt,Yt,"","\\@lvertneqq"),It(Ft,Bt,Yt,"⋦","\\lnsim",!0),It(Ft,Bt,Yt,"⪉","\\lnapprox",!0),It(Ft,Bt,Yt,"⊀","\\nprec",!0),It(Ft,Bt,Yt,"⋠","\\npreceq",!0),It(Ft,Bt,Yt,"⋨","\\precnsim",!0),It(Ft,Bt,Yt,"⪹","\\precnapprox",!0),It(Ft,Bt,Yt,"≁","\\nsim",!0),It(Ft,Bt,Yt,"","\\@nshortmid"),It(Ft,Bt,Yt,"∤","\\nmid",!0),It(Ft,Bt,Yt,"⊬","\\nvdash",!0),It(Ft,Bt,Yt,"⊭","\\nvDash",!0),It(Ft,Bt,Yt,"⋪","\\ntriangleleft"),It(Ft,Bt,Yt,"⋬","\\ntrianglelefteq",!0),It(Ft,Bt,Yt,"⊊","\\subsetneq",!0),It(Ft,Bt,Yt,"","\\@varsubsetneq"),It(Ft,Bt,Yt,"⫋","\\subsetneqq",!0),It(Ft,Bt,Yt,"","\\@varsubsetneqq"),It(Ft,Bt,Yt,"≯","\\ngtr",!0),It(Ft,Bt,Yt,"","\\@ngeqslant"),It(Ft,Bt,Yt,"","\\@ngeqq"),It(Ft,Bt,Yt,"⪈","\\gneq",!0),It(Ft,Bt,Yt,"≩","\\gneqq",!0),It(Ft,Bt,Yt,"","\\@gvertneqq"),It(Ft,Bt,Yt,"⋧","\\gnsim",!0),It(Ft,Bt,Yt,"⪊","\\gnapprox",!0),It(Ft,Bt,Yt,"⊁","\\nsucc",!0),It(Ft,Bt,Yt,"⋡","\\nsucceq",!0),It(Ft,Bt,Yt,"⋩","\\succnsim",!0),It(Ft,Bt,Yt,"⪺","\\succnapprox",!0),It(Ft,Bt,Yt,"≆","\\ncong",!0),It(Ft,Bt,Yt,"","\\@nshortparallel"),It(Ft,Bt,Yt,"∦","\\nparallel",!0),It(Ft,Bt,Yt,"⊯","\\nVDash",!0),It(Ft,Bt,Yt,"⋫","\\ntriangleright"),It(Ft,Bt,Yt,"⋭","\\ntrianglerighteq",!0),It(Ft,Bt,Yt,"","\\@nsupseteqq"),It(Ft,Bt,Yt,"⊋","\\supsetneq",!0),It(Ft,Bt,Yt,"","\\@varsupsetneq"),It(Ft,Bt,Yt,"⫌","\\supsetneqq",!0),It(Ft,Bt,Yt,"","\\@varsupsetneqq"),It(Ft,Bt,Yt,"⊮","\\nVdash",!0),It(Ft,Bt,Yt,"⪵","\\precneqq",!0),It(Ft,Bt,Yt,"⪶","\\succneqq",!0),It(Ft,Bt,Yt,"","\\@nsubseteqq"),It(Ft,Bt,qt,"⊴","\\unlhd"),It(Ft,Bt,qt,"⊵","\\unrhd"),It(Ft,Bt,Yt,"↚","\\nleftarrow",!0),It(Ft,Bt,Yt,"↛","\\nrightarrow",!0),It(Ft,Bt,Yt,"⇍","\\nLeftarrow",!0),It(Ft,Bt,Yt,"⇏","\\nRightarrow",!0),It(Ft,Bt,Yt,"↮","\\nleftrightarrow",!0),It(Ft,Bt,Yt,"⇎","\\nLeftrightarrow",!0),It(Ft,Bt,Yt,"△","\\vartriangle"),It(Ft,Bt,Xt,"ℏ","\\hslash"),It(Ft,Bt,Xt,"▽","\\triangledown"),It(Ft,Bt,Xt,"◊","\\lozenge"),It(Ft,Bt,Xt,"Ⓢ","\\circledS"),It(Ft,Bt,Xt,"®","\\circledR"),It(Rt,Bt,Xt,"®","\\circledR"),It(Ft,Bt,Xt,"∡","\\measuredangle",!0),It(Ft,Bt,Xt,"∄","\\nexists"),It(Ft,Bt,Xt,"℧","\\mho"),It(Ft,Bt,Xt,"Ⅎ","\\Finv",!0),It(Ft,Bt,Xt,"⅁","\\Game",!0),It(Ft,Bt,Xt,"‵","\\backprime"),It(Ft,Bt,Xt,"▲","\\blacktriangle"),It(Ft,Bt,Xt,"▼","\\blacktriangledown"),It(Ft,Bt,Xt,"■","\\blacksquare"),It(Ft,Bt,Xt,"⧫","\\blacklozenge"),It(Ft,Bt,Xt,"★","\\bigstar"),It(Ft,Bt,Xt,"∢","\\sphericalangle",!0),It(Ft,Bt,Xt,"∁","\\complement",!0),It(Ft,Bt,Xt,"ð","\\eth",!0),It(Rt,Pt,Xt,"ð","ð"),It(Ft,Bt,Xt,"╱","\\diagup"),It(Ft,Bt,Xt,"╲","\\diagdown"),It(Ft,Bt,Xt,"□","\\square"),It(Ft,Bt,Xt,"□","\\Box"),It(Ft,Bt,Xt,"◊","\\Diamond"),It(Ft,Bt,Xt,"¥","\\yen",!0),It(Rt,Bt,Xt,"¥","\\yen",!0),It(Ft,Bt,Xt,"✓","\\checkmark",!0),It(Rt,Bt,Xt,"✓","\\checkmark"),It(Ft,Bt,Xt,"ℶ","\\beth",!0),It(Ft,Bt,Xt,"ℸ","\\daleth",!0),It(Ft,Bt,Xt,"ℷ","\\gimel",!0),It(Ft,Bt,Xt,"ϝ","\\digamma",!0),It(Ft,Bt,Xt,"ϰ","\\varkappa"),It(Ft,Bt,Vt,"┌","\\@ulcorner",!0),It(Ft,Bt,Ht,"┐","\\@urcorner",!0),It(Ft,Bt,Vt,"└","\\@llcorner",!0),It(Ft,Bt,Ht,"┘","\\@lrcorner",!0),It(Ft,Bt,Yt,"≦","\\leqq",!0),It(Ft,Bt,Yt,"⩽","\\leqslant",!0),It(Ft,Bt,Yt,"⪕","\\eqslantless",!0),It(Ft,Bt,Yt,"≲","\\lesssim",!0),It(Ft,Bt,Yt,"⪅","\\lessapprox",!0),It(Ft,Bt,Yt,"≊","\\approxeq",!0),It(Ft,Bt,qt,"⋖","\\lessdot"),It(Ft,Bt,Yt,"⋘","\\lll",!0),It(Ft,Bt,Yt,"≶","\\lessgtr",!0),It(Ft,Bt,Yt,"⋚","\\lesseqgtr",!0),It(Ft,Bt,Yt,"⪋","\\lesseqqgtr",!0),It(Ft,Bt,Yt,"≑","\\doteqdot"),It(Ft,Bt,Yt,"≓","\\risingdotseq",!0),It(Ft,Bt,Yt,"≒","\\fallingdotseq",!0),It(Ft,Bt,Yt,"∽","\\backsim",!0),It(Ft,Bt,Yt,"⋍","\\backsimeq",!0),It(Ft,Bt,Yt,"⫅","\\subseteqq",!0),It(Ft,Bt,Yt,"⋐","\\Subset",!0),It(Ft,Bt,Yt,"⊏","\\sqsubset",!0),It(Ft,Bt,Yt,"≼","\\preccurlyeq",!0),It(Ft,Bt,Yt,"⋞","\\curlyeqprec",!0),It(Ft,Bt,Yt,"≾","\\precsim",!0),It(Ft,Bt,Yt,"⪷","\\precapprox",!0),It(Ft,Bt,Yt,"⊲","\\vartriangleleft"),It(Ft,Bt,Yt,"⊴","\\trianglelefteq"),It(Ft,Bt,Yt,"⊨","\\vDash",!0),It(Ft,Bt,Yt,"⊪","\\Vvdash",!0),It(Ft,Bt,Yt,"⌣","\\smallsmile"),It(Ft,Bt,Yt,"⌢","\\smallfrown"),It(Ft,Bt,Yt,"≏","\\bumpeq",!0),It(Ft,Bt,Yt,"≎","\\Bumpeq",!0),It(Ft,Bt,Yt,"≧","\\geqq",!0),It(Ft,Bt,Yt,"⩾","\\geqslant",!0),It(Ft,Bt,Yt,"⪖","\\eqslantgtr",!0),It(Ft,Bt,Yt,"≳","\\gtrsim",!0),It(Ft,Bt,Yt,"⪆","\\gtrapprox",!0),It(Ft,Bt,qt,"⋗","\\gtrdot"),It(Ft,Bt,Yt,"⋙","\\ggg",!0),It(Ft,Bt,Yt,"≷","\\gtrless",!0),It(Ft,Bt,Yt,"⋛","\\gtreqless",!0),It(Ft,Bt,Yt,"⪌","\\gtreqqless",!0),It(Ft,Bt,Yt,"≖","\\eqcirc",!0),It(Ft,Bt,Yt,"≗","\\circeq",!0),It(Ft,Bt,Yt,"≜","\\triangleq",!0),It(Ft,Bt,Yt,"∼","\\thicksim"),It(Ft,Bt,Yt,"≈","\\thickapprox"),It(Ft,Bt,Yt,"⫆","\\supseteqq",!0),It(Ft,Bt,Yt,"⋑","\\Supset",!0),It(Ft,Bt,Yt,"⊐","\\sqsupset",!0),It(Ft,Bt,Yt,"≽","\\succcurlyeq",!0),It(Ft,Bt,Yt,"⋟","\\curlyeqsucc",!0),It(Ft,Bt,Yt,"≿","\\succsim",!0),It(Ft,Bt,Yt,"⪸","\\succapprox",!0),It(Ft,Bt,Yt,"⊳","\\vartriangleright"),It(Ft,Bt,Yt,"⊵","\\trianglerighteq"),It(Ft,Bt,Yt,"⊩","\\Vdash",!0),It(Ft,Bt,Yt,"∣","\\shortmid"),It(Ft,Bt,Yt,"∥","\\shortparallel"),It(Ft,Bt,Yt,"≬","\\between",!0),It(Ft,Bt,Yt,"⋔","\\pitchfork",!0),It(Ft,Bt,Yt,"∝","\\varpropto"),It(Ft,Bt,Yt,"◀","\\blacktriangleleft"),It(Ft,Bt,Yt,"∴","\\therefore",!0),It(Ft,Bt,Yt,"∍","\\backepsilon"),It(Ft,Bt,Yt,"▶","\\blacktriangleright"),It(Ft,Bt,Yt,"∵","\\because",!0),It(Ft,Bt,Yt,"⋘","\\llless"),It(Ft,Bt,Yt,"⋙","\\gggtr"),It(Ft,Bt,qt,"⊲","\\lhd"),It(Ft,Bt,qt,"⊳","\\rhd"),It(Ft,Bt,Yt,"≂","\\eqsim",!0),It(Ft,Pt,Yt,"⋈","\\Join"),It(Ft,Bt,Yt,"≑","\\Doteq",!0),It(Ft,Bt,qt,"∔","\\dotplus",!0),It(Ft,Bt,qt,"∖","\\smallsetminus"),It(Ft,Bt,qt,"⋒","\\Cap",!0),It(Ft,Bt,qt,"⋓","\\Cup",!0),It(Ft,Bt,qt,"⩞","\\doublebarwedge",!0),It(Ft,Bt,qt,"⊟","\\boxminus",!0),It(Ft,Bt,qt,"⊞","\\boxplus",!0),It(Ft,Bt,qt,"⋇","\\divideontimes",!0),It(Ft,Bt,qt,"⋉","\\ltimes",!0),It(Ft,Bt,qt,"⋊","\\rtimes",!0),It(Ft,Bt,qt,"⋋","\\leftthreetimes",!0),It(Ft,Bt,qt,"⋌","\\rightthreetimes",!0),It(Ft,Bt,qt,"⋏","\\curlywedge",!0),It(Ft,Bt,qt,"⋎","\\curlyvee",!0),It(Ft,Bt,qt,"⊝","\\circleddash",!0),It(Ft,Bt,qt,"⊛","\\circledast",!0),It(Ft,Bt,qt,"⋅","\\centerdot"),It(Ft,Bt,qt,"⊺","\\intercal",!0),It(Ft,Bt,qt,"⋒","\\doublecap"),It(Ft,Bt,qt,"⋓","\\doublecup"),It(Ft,Bt,qt,"⊠","\\boxtimes",!0),It(Ft,Bt,Yt,"⇢","\\dashrightarrow",!0),It(Ft,Bt,Yt,"⇠","\\dashleftarrow",!0),It(Ft,Bt,Yt,"⇇","\\leftleftarrows",!0),It(Ft,Bt,Yt,"⇆","\\leftrightarrows",!0),It(Ft,Bt,Yt,"⇚","\\Lleftarrow",!0),It(Ft,Bt,Yt,"↞","\\twoheadleftarrow",!0),It(Ft,Bt,Yt,"↢","\\leftarrowtail",!0),It(Ft,Bt,Yt,"↫","\\looparrowleft",!0),It(Ft,Bt,Yt,"⇋","\\leftrightharpoons",!0),It(Ft,Bt,Yt,"↶","\\curvearrowleft",!0),It(Ft,Bt,Yt,"↺","\\circlearrowleft",!0),It(Ft,Bt,Yt,"↰","\\Lsh",!0),It(Ft,Bt,Yt,"⇈","\\upuparrows",!0),It(Ft,Bt,Yt,"↿","\\upharpoonleft",!0),It(Ft,Bt,Yt,"⇃","\\downharpoonleft",!0),It(Ft,Pt,Yt,"⊶","\\origof",!0),It(Ft,Pt,Yt,"⊷","\\imageof",!0),It(Ft,Bt,Yt,"⊸","\\multimap",!0),It(Ft,Bt,Yt,"↭","\\leftrightsquigarrow",!0),It(Ft,Bt,Yt,"⇉","\\rightrightarrows",!0),It(Ft,Bt,Yt,"⇄","\\rightleftarrows",!0),It(Ft,Bt,Yt,"↠","\\twoheadrightarrow",!0),It(Ft,Bt,Yt,"↣","\\rightarrowtail",!0),It(Ft,Bt,Yt,"↬","\\looparrowright",!0),It(Ft,Bt,Yt,"↷","\\curvearrowright",!0),It(Ft,Bt,Yt,"↻","\\circlearrowright",!0),It(Ft,Bt,Yt,"↱","\\Rsh",!0),It(Ft,Bt,Yt,"⇊","\\downdownarrows",!0),It(Ft,Bt,Yt,"↾","\\upharpoonright",!0),It(Ft,Bt,Yt,"⇂","\\downharpoonright",!0),It(Ft,Bt,Yt,"⇝","\\rightsquigarrow",!0),It(Ft,Bt,Yt,"⇝","\\leadsto"),It(Ft,Bt,Yt,"⇛","\\Rrightarrow",!0),It(Ft,Bt,Yt,"↾","\\restriction"),It(Ft,Pt,Xt,"‘","`"),It(Ft,Pt,Xt,"$","\\$"),It(Rt,Pt,Xt,"$","\\$"),It(Rt,Pt,Xt,"$","\\textdollar"),It(Ft,Pt,Xt,"%","\\%"),It(Rt,Pt,Xt,"%","\\%"),It(Ft,Pt,Xt,"_","\\_"),It(Rt,Pt,Xt,"_","\\_"),It(Rt,Pt,Xt,"_","\\textunderscore"),It(Ft,Pt,Xt,"∠","\\angle",!0),It(Ft,Pt,Xt,"∞","\\infty",!0),It(Ft,Pt,Xt,"′","\\prime"),It(Ft,Pt,Xt,"△","\\triangle"),It(Ft,Pt,Xt,"Γ","\\Gamma",!0),It(Ft,Pt,Xt,"Δ","\\Delta",!0),It(Ft,Pt,Xt,"Θ","\\Theta",!0),It(Ft,Pt,Xt,"Λ","\\Lambda",!0),It(Ft,Pt,Xt,"Ξ","\\Xi",!0),It(Ft,Pt,Xt,"Π","\\Pi",!0),It(Ft,Pt,Xt,"Σ","\\Sigma",!0),It(Ft,Pt,Xt,"Υ","\\Upsilon",!0),It(Ft,Pt,Xt,"Φ","\\Phi",!0),It(Ft,Pt,Xt,"Ψ","\\Psi",!0),It(Ft,Pt,Xt,"Ω","\\Omega",!0),It(Ft,Pt,Xt,"A","Α"),It(Ft,Pt,Xt,"B","Β"),It(Ft,Pt,Xt,"E","Ε"),It(Ft,Pt,Xt,"Z","Ζ"),It(Ft,Pt,Xt,"H","Η"),It(Ft,Pt,Xt,"I","Ι"),It(Ft,Pt,Xt,"K","Κ"),It(Ft,Pt,Xt,"M","Μ"),It(Ft,Pt,Xt,"N","Ν"),It(Ft,Pt,Xt,"O","Ο"),It(Ft,Pt,Xt,"P","Ρ"),It(Ft,Pt,Xt,"T","Τ"),It(Ft,Pt,Xt,"X","Χ"),It(Ft,Pt,Xt,"¬","\\neg",!0),It(Ft,Pt,Xt,"¬","\\lnot"),It(Ft,Pt,Xt,"⊤","\\top"),It(Ft,Pt,Xt,"⊥","\\bot"),It(Ft,Pt,Xt,"∅","\\emptyset"),It(Ft,Bt,Xt,"∅","\\varnothing"),It(Ft,Pt,Wt,"α","\\alpha",!0),It(Ft,Pt,Wt,"β","\\beta",!0),It(Ft,Pt,Wt,"γ","\\gamma",!0),It(Ft,Pt,Wt,"δ","\\delta",!0),It(Ft,Pt,Wt,"ϵ","\\epsilon",!0),It(Ft,Pt,Wt,"ζ","\\zeta",!0),It(Ft,Pt,Wt,"η","\\eta",!0),It(Ft,Pt,Wt,"θ","\\theta",!0),It(Ft,Pt,Wt,"ι","\\iota",!0),It(Ft,Pt,Wt,"κ","\\kappa",!0),It(Ft,Pt,Wt,"λ","\\lambda",!0),It(Ft,Pt,Wt,"μ","\\mu",!0),It(Ft,Pt,Wt,"ν","\\nu",!0),It(Ft,Pt,Wt,"ξ","\\xi",!0),It(Ft,Pt,Wt,"ο","\\omicron",!0),It(Ft,Pt,Wt,"π","\\pi",!0),It(Ft,Pt,Wt,"ρ","\\rho",!0),It(Ft,Pt,Wt,"σ","\\sigma",!0),It(Ft,Pt,Wt,"τ","\\tau",!0),It(Ft,Pt,Wt,"υ","\\upsilon",!0),It(Ft,Pt,Wt,"ϕ","\\phi",!0),It(Ft,Pt,Wt,"χ","\\chi",!0),It(Ft,Pt,Wt,"ψ","\\psi",!0),It(Ft,Pt,Wt,"ω","\\omega",!0),It(Ft,Pt,Wt,"ε","\\varepsilon",!0),It(Ft,Pt,Wt,"ϑ","\\vartheta",!0),It(Ft,Pt,Wt,"ϖ","\\varpi",!0),It(Ft,Pt,Wt,"ϱ","\\varrho",!0),It(Ft,Pt,Wt,"ς","\\varsigma",!0),It(Ft,Pt,Wt,"φ","\\varphi",!0),It(Ft,Pt,qt,"∗","*",!0),It(Ft,Pt,qt,"+","+"),It(Ft,Pt,qt,"−","-",!0),It(Ft,Pt,qt,"⋅","\\cdot",!0),It(Ft,Pt,qt,"∘","\\circ",!0),It(Ft,Pt,qt,"÷","\\div",!0),It(Ft,Pt,qt,"±","\\pm",!0),It(Ft,Pt,qt,"×","\\times",!0),It(Ft,Pt,qt,"∩","\\cap",!0),It(Ft,Pt,qt,"∪","\\cup",!0),It(Ft,Pt,qt,"∖","\\setminus",!0),It(Ft,Pt,qt,"∧","\\land"),It(Ft,Pt,qt,"∨","\\lor"),It(Ft,Pt,qt,"∧","\\wedge",!0),It(Ft,Pt,qt,"∨","\\vee",!0),It(Ft,Pt,Xt,"√","\\surd"),It(Ft,Pt,Vt,"⟨","\\langle",!0),It(Ft,Pt,Vt,"∣","\\lvert"),It(Ft,Pt,Vt,"∥","\\lVert"),It(Ft,Pt,Ht,"?","?"),It(Ft,Pt,Ht,"!","!"),It(Ft,Pt,Ht,"⟩","\\rangle",!0),It(Ft,Pt,Ht,"∣","\\rvert"),It(Ft,Pt,Ht,"∥","\\rVert"),It(Ft,Pt,Yt,"=","="),It(Ft,Pt,Yt,":",":"),It(Ft,Pt,Yt,"≈","\\approx",!0),It(Ft,Pt,Yt,"≅","\\cong",!0),It(Ft,Pt,Yt,"≥","\\ge"),It(Ft,Pt,Yt,"≥","\\geq",!0),It(Ft,Pt,Yt,"←","\\gets"),It(Ft,Pt,Yt,">","\\gt",!0),It(Ft,Pt,Yt,"∈","\\in",!0),It(Ft,Pt,Yt,"","\\@not"),It(Ft,Pt,Yt,"⊂","\\subset",!0),It(Ft,Pt,Yt,"⊃","\\supset",!0),It(Ft,Pt,Yt,"⊆","\\subseteq",!0),It(Ft,Pt,Yt,"⊇","\\supseteq",!0),It(Ft,Bt,Yt,"⊈","\\nsubseteq",!0),It(Ft,Bt,Yt,"⊉","\\nsupseteq",!0),It(Ft,Pt,Yt,"⊨","\\models"),It(Ft,Pt,Yt,"←","\\leftarrow",!0),It(Ft,Pt,Yt,"≤","\\le"),It(Ft,Pt,Yt,"≤","\\leq",!0),It(Ft,Pt,Yt,"<","\\lt",!0),It(Ft,Pt,Yt,"→","\\rightarrow",!0),It(Ft,Pt,Yt,"→","\\to"),It(Ft,Bt,Yt,"≱","\\ngeq",!0),It(Ft,Bt,Yt,"≰","\\nleq",!0),It(Ft,Pt,Zt," ","\\ "),It(Ft,Pt,Zt," ","\\space"),It(Ft,Pt,Zt," ","\\nobreakspace"),It(Rt,Pt,Zt," ","\\ "),It(Rt,Pt,Zt," "," "),It(Rt,Pt,Zt," ","\\space"),It(Rt,Pt,Zt," ","\\nobreakspace"),It(Ft,Pt,Zt,null,"\\nobreak"),It(Ft,Pt,Zt,null,"\\allowbreak"),It(Ft,Pt,Kt,",",","),It(Ft,Pt,Kt,";",";"),It(Ft,Bt,qt,"⊼","\\barwedge",!0),It(Ft,Bt,qt,"⊻","\\veebar",!0),It(Ft,Pt,qt,"⊙","\\odot",!0),It(Ft,Pt,qt,"⊕","\\oplus",!0),It(Ft,Pt,qt,"⊗","\\otimes",!0),It(Ft,Pt,Xt,"∂","\\partial",!0),It(Ft,Pt,qt,"⊘","\\oslash",!0),It(Ft,Bt,qt,"⊚","\\circledcirc",!0),It(Ft,Bt,qt,"⊡","\\boxdot",!0),It(Ft,Pt,qt,"△","\\bigtriangleup"),It(Ft,Pt,qt,"▽","\\bigtriangledown"),It(Ft,Pt,qt,"†","\\dagger"),It(Ft,Pt,qt,"⋄","\\diamond"),It(Ft,Pt,qt,"⋆","\\star"),It(Ft,Pt,qt,"◃","\\triangleleft"),It(Ft,Pt,qt,"▹","\\triangleright"),It(Ft,Pt,Vt,"{","\\{"),It(Rt,Pt,Xt,"{","\\{"),It(Rt,Pt,Xt,"{","\\textbraceleft"),It(Ft,Pt,Ht,"}","\\}"),It(Rt,Pt,Xt,"}","\\}"),It(Rt,Pt,Xt,"}","\\textbraceright"),It(Ft,Pt,Vt,"{","\\lbrace"),It(Ft,Pt,Ht,"}","\\rbrace"),It(Ft,Pt,Vt,"[","\\lbrack",!0),It(Rt,Pt,Xt,"[","\\lbrack",!0),It(Ft,Pt,Ht,"]","\\rbrack",!0),It(Rt,Pt,Xt,"]","\\rbrack",!0),It(Ft,Pt,Vt,"(","\\lparen",!0),It(Ft,Pt,Ht,")","\\rparen",!0),It(Rt,Pt,Xt,"<","\\textless",!0),It(Rt,Pt,Xt,">","\\textgreater",!0),It(Ft,Pt,Vt,"⌊","\\lfloor",!0),It(Ft,Pt,Ht,"⌋","\\rfloor",!0),It(Ft,Pt,Vt,"⌈","\\lceil",!0),It(Ft,Pt,Ht,"⌉","\\rceil",!0),It(Ft,Pt,Xt,"\\","\\backslash"),It(Ft,Pt,Xt,"∣","|"),It(Ft,Pt,Xt,"∣","\\vert"),It(Rt,Pt,Xt,"|","\\textbar",!0),It(Ft,Pt,Xt,"∥","\\|"),It(Ft,Pt,Xt,"∥","\\Vert"),It(Rt,Pt,Xt,"∥","\\textbardbl"),It(Rt,Pt,Xt,"~","\\textasciitilde"),It(Rt,Pt,Xt,"\\","\\textbackslash"),It(Rt,Pt,Xt,"^","\\textasciicircum"),It(Ft,Pt,Yt,"↑","\\uparrow",!0),It(Ft,Pt,Yt,"⇑","\\Uparrow",!0),It(Ft,Pt,Yt,"↓","\\downarrow",!0),It(Ft,Pt,Yt,"⇓","\\Downarrow",!0),It(Ft,Pt,Yt,"↕","\\updownarrow",!0),It(Ft,Pt,Yt,"⇕","\\Updownarrow",!0),It(Ft,Pt,Gt,"∐","\\coprod"),It(Ft,Pt,Gt,"⋁","\\bigvee"),It(Ft,Pt,Gt,"⋀","\\bigwedge"),It(Ft,Pt,Gt,"⨄","\\biguplus"),It(Ft,Pt,Gt,"⋂","\\bigcap"),It(Ft,Pt,Gt,"⋃","\\bigcup"),It(Ft,Pt,Gt,"∫","\\int"),It(Ft,Pt,Gt,"∫","\\intop"),It(Ft,Pt,Gt,"∬","\\iint"),It(Ft,Pt,Gt,"∭","\\iiint"),It(Ft,Pt,Gt,"∏","\\prod"),It(Ft,Pt,Gt,"∑","\\sum"),It(Ft,Pt,Gt,"⨂","\\bigotimes"),It(Ft,Pt,Gt,"⨁","\\bigoplus"),It(Ft,Pt,Gt,"⨀","\\bigodot"),It(Ft,Pt,Gt,"∮","\\oint"),It(Ft,Pt,Gt,"∯","\\oiint"),It(Ft,Pt,Gt,"∰","\\oiiint"),It(Ft,Pt,Gt,"⨆","\\bigsqcup"),It(Ft,Pt,Gt,"∫","\\smallint"),It(Rt,Pt,Ut,"…","\\textellipsis"),It(Ft,Pt,Ut,"…","\\mathellipsis"),It(Rt,Pt,Ut,"…","\\ldots",!0),It(Ft,Pt,Ut,"…","\\ldots",!0),It(Ft,Pt,Ut,"⋯","\\@cdots",!0),It(Ft,Pt,Ut,"⋱","\\ddots",!0),It(Ft,Pt,Xt,"⋮","\\varvdots"),It(Ft,Pt,jt,"ˊ","\\acute"),It(Ft,Pt,jt,"ˋ","\\grave"),It(Ft,Pt,jt,"¨","\\ddot"),It(Ft,Pt,jt,"~","\\tilde"),It(Ft,Pt,jt,"ˉ","\\bar"),It(Ft,Pt,jt,"˘","\\breve"),It(Ft,Pt,jt,"ˇ","\\check"),It(Ft,Pt,jt,"^","\\hat"),It(Ft,Pt,jt,"⃗","\\vec"),It(Ft,Pt,jt,"˙","\\dot"),It(Ft,Pt,jt,"˚","\\mathring"),It(Ft,Pt,Wt,"","\\@imath"),It(Ft,Pt,Wt,"","\\@jmath"),It(Ft,Pt,Xt,"ı","ı"),It(Ft,Pt,Xt,"ȷ","ȷ"),It(Rt,Pt,Xt,"ı","\\i",!0),It(Rt,Pt,Xt,"ȷ","\\j",!0),It(Rt,Pt,Xt,"ß","\\ss",!0),It(Rt,Pt,Xt,"æ","\\ae",!0),It(Rt,Pt,Xt,"œ","\\oe",!0),It(Rt,Pt,Xt,"ø","\\o",!0),It(Rt,Pt,Xt,"Æ","\\AE",!0),It(Rt,Pt,Xt,"Œ","\\OE",!0),It(Rt,Pt,Xt,"Ø","\\O",!0),It(Rt,Pt,jt,"ˊ","\\'"),It(Rt,Pt,jt,"ˋ","\\`"),It(Rt,Pt,jt,"ˆ","\\^"),It(Rt,Pt,jt,"˜","\\~"),It(Rt,Pt,jt,"ˉ","\\="),It(Rt,Pt,jt,"˘","\\u"),It(Rt,Pt,jt,"˙","\\."),It(Rt,Pt,jt,"¸","\\c"),It(Rt,Pt,jt,"˚","\\r"),It(Rt,Pt,jt,"ˇ","\\v"),It(Rt,Pt,jt,"¨",'\\"'),It(Rt,Pt,jt,"˝","\\H"),It(Rt,Pt,jt,"◯","\\textcircled");var Qt={"--":!0,"---":!0,"``":!0,"''":!0};It(Rt,Pt,Xt,"–","--",!0),It(Rt,Pt,Xt,"–","\\textendash"),It(Rt,Pt,Xt,"—","---",!0),It(Rt,Pt,Xt,"—","\\textemdash"),It(Rt,Pt,Xt,"‘","`",!0),It(Rt,Pt,Xt,"‘","\\textquoteleft"),It(Rt,Pt,Xt,"’","'",!0),It(Rt,Pt,Xt,"’","\\textquoteright"),It(Rt,Pt,Xt,"“","``",!0),It(Rt,Pt,Xt,"“","\\textquotedblleft"),It(Rt,Pt,Xt,"”","''",!0),It(Rt,Pt,Xt,"”","\\textquotedblright"),It(Ft,Pt,Xt,"°","\\degree",!0),It(Rt,Pt,Xt,"°","\\degree"),It(Rt,Pt,Xt,"°","\\textdegree",!0),It(Ft,Pt,Xt,"£","\\pounds"),It(Ft,Pt,Xt,"£","\\mathsterling",!0),It(Rt,Pt,Xt,"£","\\pounds"),It(Rt,Pt,Xt,"£","\\textsterling",!0),It(Ft,Bt,Xt,"✠","\\maltese"),It(Rt,Bt,Xt,"✠","\\maltese");for(var Jt='0123456789/@."',_t=0;_t0)return be(r,l,i,e,o.concat(c));if(a){var u,d;if("boldsymbol"===a){var p=we(r,i,e,o,n);u=p.fontName,d=[p.fontClass]}else s?(u=Fe[a].fontName,d=[a]):(u=Ie(a,e.fontWeight,e.fontShape),d=[a,e.fontWeight,e.fontShape]);if(ve(r,u,i).metrics)return be(r,u,i,e,o.concat(d));if(Qt.hasOwnProperty(r)&&"Typewriter"===u.slice(0,10)){for(var f=[],m=0;me&&(e=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>i&&(i=o.maxFontSize)}t.height=e,t.depth=n,t.maxFontSize=i},Se=function(t,e,n,i){var r=new wt(t,e,n,i);return Ae(r),r},Te=function(t,e,n,i){return new wt(t,e,n,i)},Ee=function(t,e,n){var i=Se([t],[],e);return i.height=Math.max(n||e.fontMetrics().defaultRuleThickness,e.minRuleThickness),i.style.borderBottomWidth=mt(i.height),i.maxFontSize=1,i},Me=function(t,e,n,i){var r=new xt(t,e,n,i);return Ae(r),r},Ne=function(t){var e=new _(t);return Ae(e),e},Oe=function(t,e){return t instanceof _?Se([],[t],e):t},ze=function(t){if("individualShift"===t.positionType){for(var e=t.children,n=[e[0]],i=-e[0].shift-e[0].elem.depth,r=i,o=1;o0&&(s.push(hn(a,e)),a=[]),s.push(r[l]));a.length>0&&s.push(hn(a,e)),n?(o=hn(nn(n,e,!0)),o.classes=["tag"],s.push(o)):i&&s.push(i);var h=Je(["katex-html"],s);if(h.setAttribute("aria-hidden","true"),o){var u=o.children[0];u.style.height=mt(h.height+h.depth),h.depth&&(u.style.verticalAlign=mt(-h.depth))}return h}function dn(t){return new _(t)}var pn=function(){function t(t,e,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=e||[],this.classes=n||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.getAttribute=function(t){return this.attributes[t]},e.toNode=function(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);this.classes.length>0&&(t.className=gt(this.classes));for(var n=0;n0&&(t+=' class ="'+m.escape(gt(this.classes))+'"'),t+=">";for(var n=0;n",t},e.toText=function(){return this.children.map((function(t){return t.toText()})).join("")},t}(),fn=function(){function t(t){this.text=void 0,this.text=t}var e=t.prototype;return e.toNode=function(){return document.createTextNode(this.text)},e.toMarkup=function(){return m.escape(this.toText())},e.toText=function(){return this.text},t}(),mn=function(){function t(t){this.width=void 0,this.character=void 0,this.width=t,this.character=t>=.05555&&t<=.05556?" ":t>=.1666&&t<=.1667?" ":t>=.2222&&t<=.2223?" ":t>=.2777&&t<=.2778?"  ":t>=-.05556&&t<=-.05555?" ⁣":t>=-.1667&&t<=-.1666?" ⁣":t>=-.2223&&t<=-.2222?" ⁣":t>=-.2778&&t<=-.2777?" ⁣":null}var e=t.prototype;return e.toNode=function(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",mt(this.width)),t},e.toMarkup=function(){return this.character?""+this.character+"":''},e.toText=function(){return this.character?this.character:" "},t}(),gn={MathNode:pn,TextNode:fn,SpaceNode:mn,newDocumentFragment:dn},vn=function(t,e,n){return!Lt[e][t]||!Lt[e][t].replace||55349===t.charCodeAt(0)||Qt.hasOwnProperty(t)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(t=Lt[e][t].replace),new gn.TextNode(t)},bn=function(t){return 1===t.length?t[0]:new gn.MathNode("mrow",t)},yn=function(t,e){if("texttt"===e.fontFamily)return"monospace";if("textsf"===e.fontFamily)return"textit"===e.fontShape&&"textbf"===e.fontWeight?"sans-serif-bold-italic":"textit"===e.fontShape?"sans-serif-italic":"textbf"===e.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===e.fontShape&&"textbf"===e.fontWeight)return"bold-italic";if("textit"===e.fontShape)return"italic";if("textbf"===e.fontWeight)return"bold";var n=e.font;if(!n||"mathnormal"===n)return null;var i=t.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===t.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var r=t.text;if(m.contains(["\\imath","\\jmath"],r))return null;Lt[i][r]&&Lt[i][r].replace&&(r=Lt[i][r].replace);var o=Be.fontMap[n].fontName;return it(r,o,i)?Be.fontMap[n].variant:null},wn=function(t,e,n){if(1===t.length){var i=Cn(t[0],e);return n&&i instanceof pn&&"mo"===i.type&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var r,o=[],s=0;s0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),o.pop())}}}o.push(a),r=a}return o},xn=function(t,e,n){return bn(wn(t,e,n))},Cn=function(t,e){if(!t)return new gn.MathNode("mrow");if(Ke[t.type]){var n=Ke[t.type](t,e);return n}throw new i("Got group of unknown type: '"+t.type+"'")};function kn(t,e,n,i,r){var o,s=wn(t,n);o=1===s.length&&s[0]instanceof pn&&m.contains(["mrow","mtable"],s[0].type)?s[0]:new gn.MathNode("mrow",s);var a=new gn.MathNode("annotation",[new gn.TextNode(e)]);a.setAttribute("encoding","application/x-tex");var l=new gn.MathNode("semantics",[o,a]),c=new gn.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&c.setAttribute("display","block");var h=r?"katex":"katex-mathml";return Be.makeSpan([h],[c])}var An=function(t){return new ht({style:t.displayMode?F.DISPLAY:F.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Sn=function(t,e){if(e.displayMode){var n=["katex-display"];e.leqno&&n.push("leqno"),e.fleqn&&n.push("fleqn"),t=Be.makeSpan(n,[t])}return t},Tn=function(t,e,n){var i,r=An(n);if("mathml"===n.output)return kn(t,e,r,n.displayMode,!0);if("html"===n.output){var o=un(t,r);i=Be.makeSpan(["katex"],[o])}else{var s=kn(t,e,r,n.displayMode,!1),a=un(t,r);i=Be.makeSpan(["katex"],[s,a])}return Sn(i,n)},En=function(t,e,n){var i=An(n),r=un(t,i),o=Be.makeSpan(["katex"],[r]);return Sn(o,n)},Mn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Nn=function(t){var e=new gn.MathNode("mo",[new gn.TextNode(Mn[t.replace(/^\\/,"")])]);return e.setAttribute("stretchy","true"),e},On={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},zn=function(t){return"ordgroup"===t.type?t.body.length:1},Dn=function(t,e){function n(){var n=4e5,i=t.label.slice(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],i)){var r,o,s,a=t,l=zn(a.base);if(l>5)"widehat"===i||"widecheck"===i?(r=420,n=2364,s=.42,o=i+"4"):(r=312,n=2340,s=.34,o="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===i||"widecheck"===i?(n=[0,1062,2364,2364,2364][c],r=[0,239,300,360,420][c],s=[0,.24,.3,.3,.36,.42][c],o=i+c):(n=[0,600,1033,2339,2340][c],r=[0,260,286,306,312][c],s=[0,.26,.286,.3,.306,.34][c],o="tilde"+c)}var h=new Tt(o),u=new St([h],{width:"100%",height:mt(s),viewBox:"0 0 "+n+" "+r,preserveAspectRatio:"none"});return{span:Be.makeSvgSpan([],[u],e),minWidth:0,height:s}}var d,p,f=[],g=On[i],v=g[0],b=g[1],y=g[2],w=y/1e3,x=v.length;if(1===x){var C=g[3];d=["hide-tail"],p=[C]}else if(2===x)d=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");d=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(r.style.minWidth=mt(o)),r},Ln=function(t,e,n,i,r){var o,s=t.height+t.depth+n+i;if(/fbox|color|angl/.test(e)){if(o=Be.makeSpan(["stretchy",e],[],r),"fbox"===e){var a=r.color&&r.getColor();a&&(o.style.borderColor=a)}}else{var l=[];/^[bx]cancel$/.test(e)&&l.push(new Et({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(e)&&l.push(new Et({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new St(l,{width:"100%",height:mt(s)});o=Be.makeSvgSpan([],[c],r)}return o.height=s,o.style.height=mt(s),o},In={encloseSpan:Ln,mathMLnode:Nn,svgSpan:Dn};function Fn(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function Rn(t){var e=Pn(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Pn(t){return t&&("atom"===t.type||zt.hasOwnProperty(t.type))?t:null}var Bn=function(t,e){var n,i,r;t&&"supsub"===t.type?(i=Fn(t.base,"accent"),n=i.base,t.base=n,r=Nt(cn(t,e)),t.base=i):(i=Fn(t,"accent"),n=i.base);var o=cn(n,e.havingCrampedStyle()),s=i.isShifty&&m.isCharacterBox(n),a=0;if(s){var l=m.getBaseElem(n),c=cn(l,e.havingCrampedStyle());a=Mt(c).skew}var h,u="\\c"===i.label,d=u?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight);if(i.isStretchy)h=In.svgSpan(i,e),h=Be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:h,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+mt(2*a)+")",marginLeft:mt(2*a)}:void 0}]},e);else{var p,f;"\\vec"===i.label?(p=Be.staticSvg("vec",e),f=Be.svgData.vec[1]):(p=Be.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=Mt(p),p.italic=0,f=p.width,u&&(d+=p.depth)),h=Be.makeSpan(["accent-body"],[p]);var g="\\textcircled"===i.label;g&&(h.classes.push("accent-full"),d=o.height);var v=a;g||(v-=f/2),h.style.left=mt(v),"\\textcircled"===i.label&&(h.style.top=".2em"),h=Be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-d},{type:"elem",elem:h}]},e)}var b=Be.makeSpan(["mord","accent"],[h],e);return r?(r.children[0]=b,r.height=Math.max(b.height,r.height),r.classes[0]="mord",r):b},jn=function(t,e){var n=t.isStretchy?In.mathMLnode(t.label):new gn.MathNode("mo",[vn(t.label,t.mode)]),i=new gn.MathNode("mover",[Cn(t.base,e),n]);return i.setAttribute("accent","true"),i},qn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(t){return"\\"+t})).join("|"));Ye({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(t,e){var n=Xe(e[0]),i=!qn.test(t.funcName),r=!i||"\\widehat"===t.funcName||"\\widetilde"===t.funcName||"\\widecheck"===t.funcName;return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:i,isShifty:r,base:n}},htmlBuilder:Bn,mathmlBuilder:jn}),Ye({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(t,e){var n=e[0],i=t.parser.mode;return"math"===i&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:t.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Bn,mathmlBuilder:jn}),Ye({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(t,e){var n=t.parser,i=t.funcName,r=e[0];return{type:"accentUnder",mode:n.mode,label:i,base:r}},htmlBuilder:function(t,e){var n=cn(t.base,e),i=In.svgSpan(t,e),r="\\utilde"===t.label?.12:0,o=Be.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:n}]},e);return Be.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:function(t,e){var n=In.mathMLnode(t.label),i=new gn.MathNode("munder",[Cn(t.base,e),n]);return i.setAttribute("accentunder","true"),i}});var Hn=function(t){var e=new gn.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ye({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(t,e,n){var i=t.parser,r=t.funcName;return{type:"xArrow",mode:i.mode,label:r,body:e[0],below:n[0]}},htmlBuilder:function(t,e){var n,i=e.style,r=e.havingStyle(i.sup()),o=Be.wrapFragment(cn(t.body,r,e),e),s="\\x"===t.label.slice(0,2)?"x":"cd";o.classes.push(s+"-arrow-pad"),t.below&&(r=e.havingStyle(i.sub()),n=Be.wrapFragment(cn(t.below,r,e),e),n.classes.push(s+"-arrow-pad"));var a,l=In.svgSpan(t,e),c=-e.fontMetrics().axisHeight+.5*l.height,h=-e.fontMetrics().axisHeight-.5*l.height-.111;if((o.depth>.25||"\\xleftequilibrium"===t.label)&&(h-=o.depth),n){var u=-e.fontMetrics().axisHeight+n.height+.5*l.height+.111;a=Be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:h},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:u}]},e)}else a=Be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:h},{type:"elem",elem:l,shift:c}]},e);return a.children[0].children[0].children[1].classes.push("svg-align"),Be.makeSpan(["mrel","x-arrow"],[a],e)},mathmlBuilder:function(t,e){var n,i=In.mathMLnode(t.label);if(i.setAttribute("minsize","x"===t.label.charAt(0)?"1.75em":"3.0em"),t.body){var r=Hn(Cn(t.body,e));if(t.below){var o=Hn(Cn(t.below,e));n=new gn.MathNode("munderover",[i,o,r])}else n=new gn.MathNode("mover",[i,r])}else if(t.below){var s=Hn(Cn(t.below,e));n=new gn.MathNode("munder",[i,s])}else n=Hn(),n=new gn.MathNode("mover",[i,n]);return n}});var Un=Be.makeSpan;function Wn(t,e){var n=nn(t.body,e,!0);return Un([t.mclass],n,e)}function Gn(t,e){var n,i=wn(t.body,e);return"minner"===t.mclass?n=new gn.MathNode("mpadded",i):"mord"===t.mclass?t.isCharacterBox?(n=i[0],n.type="mi"):n=new gn.MathNode("mi",i):(t.isCharacterBox?(n=i[0],n.type="mo"):n=new gn.MathNode("mo",i),"mbin"===t.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===t.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===t.mclass||"mclose"===t.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===t.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Ye({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(t,e){var n=t.parser,i=t.funcName,r=e[0];return{type:"mclass",mode:n.mode,mclass:"m"+i.slice(5),body:Qe(r),isCharacterBox:m.isCharacterBox(r)}},htmlBuilder:Wn,mathmlBuilder:Gn});var Vn=function(t){var e="ordgroup"===t.type&&t.body.length?t.body[0]:t;return"atom"!==e.type||"bin"!==e.family&&"rel"!==e.family?"mord":"m"+e.family};Ye({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(t,e){var n=t.parser;return{type:"mclass",mode:n.mode,mclass:Vn(e[0]),body:Qe(e[1]),isCharacterBox:m.isCharacterBox(e[1])}}}),Ye({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(t,e){var n,i=t.parser,r=t.funcName,o=e[1],s=e[0];n="\\stackrel"!==r?Vn(o):"mrel";var a={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Qe(o)},l={type:"supsub",mode:s.mode,base:a,sup:"\\underset"===r?null:s,sub:"\\underset"===r?s:null};return{type:"mclass",mode:i.mode,mclass:n,body:[l],isCharacterBox:m.isCharacterBox(l)}},htmlBuilder:Wn,mathmlBuilder:Gn}),Ye({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser;return{type:"pmb",mode:n.mode,mclass:Vn(e[0]),body:Qe(e[0])}},htmlBuilder:function(t,e){var n=nn(t.body,e,!0),i=Be.makeSpan([t.mclass],n,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder:function(t,e){var n=wn(t.body,e),i=new gn.MathNode("mstyle",n);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var Kn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Yn=function(){return{type:"styling",body:[],mode:"math",style:"display"}},Zn=function(t){return"textord"===t.type&&"@"===t.text},Xn=function(t,e){return("mathord"===t.type||"atom"===t.type)&&t.text===e};function Qn(t,e,n){var i=Kn[t];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(i,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":var r=n.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:i,mode:"math",family:"rel"},s=n.callFunction("\\Big",[o],[]),a=n.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[r,s,a]};return n.callFunction("\\\\cdparent",[l],[]);case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[]);default:return{type:"textord",text:" ",mode:"math"}}}function Jn(t){var e=[];t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();while(1){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var n=t.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===e[e.length-1].length&&e.pop();break}throw new i("Expected \\\\ or \\cr or \\end",t.nextToken)}t.consume()}for(var r=[],o=[r],s=0;s-1);else{if(!("<>AV".indexOf(h)>-1))throw new i('Expected one of "<>AV=|." after @',a[c]);for(var d=0;d<2;d++){for(var p=!0,f=c+1;f=1114111)throw new i("\\@char with invalid code point "+s);return h<=65535?c=String.fromCharCode(h):(h-=65536,c=String.fromCharCode(55296+(h>>10),56320+(1023&h))),{type:"textord",mode:n.mode,text:c}}});var _n=function(t,e){var n=nn(t.body,e.withColor(t.color),!1);return Be.makeFragment(n)},$n=function(t,e){var n=wn(t.body,e.withColor(t.color)),i=new gn.MathNode("mstyle",n);return i.setAttribute("mathcolor",t.color),i};Ye({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(t,e){var n=t.parser,i=Fn(e[0],"color-token").color,r=e[1];return{type:"color",mode:n.mode,color:i,body:Qe(r)}},htmlBuilder:_n,mathmlBuilder:$n}),Ye({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(t,e){var n=t.parser,i=t.breakOnTokenText,r=Fn(e[0],"color-token").color;n.gullet.macros.set("\\current@color",r);var o=n.parseExpression(!0,i);return{type:"color",mode:n.mode,color:r,body:o}},htmlBuilder:_n,mathmlBuilder:$n}),Ye({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(t,e,n){var i=t.parser,r="["===i.gullet.future().text?i.parseSizeGroup(!0):null,o=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:o,size:r&&Fn(r,"size").value}},htmlBuilder:function(t,e){var n=Be.makeSpan(["mspace"],[],e);return t.newLine&&(n.classes.push("newline"),t.size&&(n.style.marginTop=mt(ft(t.size,e)))),n},mathmlBuilder:function(t,e){var n=new gn.MathNode("mspace");return t.newLine&&(n.setAttribute("linebreak","newline"),t.size&&n.setAttribute("height",mt(ft(t.size,e)))),n}});var ti={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ei=function(t){var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new i("Expected a control sequence",t);return e},ni=function(t){var e=t.gullet.popToken();return"="===e.text&&(e=t.gullet.popToken()," "===e.text&&(e=t.gullet.popToken())),e},ii=function(t,e,n,i){var r=t.gullet.macros.get(n.text);null==r&&(n.noexpand=!0,r={tokens:[n],numArgs:0,unexpandable:!t.gullet.isExpandable(n.text)}),t.gullet.macros.set(e,r,i)};Ye({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(t){var e=t.parser,n=t.funcName;e.consumeSpaces();var r=e.fetch();if(ti[r.text])return"\\global"!==n&&"\\\\globallong"!==n||(r.text=ti[r.text]),Fn(e.parseFunction(),"internal");throw new i("Invalid token after macro prefix",r)}}),Ye({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(t){var e=t.parser,n=t.funcName,r=e.gullet.popToken(),o=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new i("Expected a control sequence",r);var s,a=0,l=[[]];while("{"!==e.gullet.future().text)if(r=e.gullet.popToken(),"#"===r.text){if("{"===e.gullet.future().text){s=e.gullet.future(),l[a].push("{");break}if(r=e.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new i('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new i('Argument number "'+r.text+'" out of order');a++,l.push([])}else{if("EOF"===r.text)throw new i("Expected a macro definition");l[a].push(r.text)}var c=e.gullet.consumeArg(),h=c.tokens;return s&&h.unshift(s),"\\edef"!==n&&"\\xdef"!==n||(h=e.gullet.expandTokens(h),h.reverse()),e.gullet.macros.set(o,{tokens:h,numArgs:a,delimiters:l},n===ti[n]),{type:"internal",mode:e.mode}}}),Ye({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(t){var e=t.parser,n=t.funcName,i=ei(e.gullet.popToken());e.gullet.consumeSpaces();var r=ni(e);return ii(e,i,r,"\\\\globallet"===n),{type:"internal",mode:e.mode}}}),Ye({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(t){var e=t.parser,n=t.funcName,i=ei(e.gullet.popToken()),r=e.gullet.popToken(),o=e.gullet.popToken();return ii(e,i,o,"\\\\globalfuture"===n),e.gullet.pushToken(o),e.gullet.pushToken(r),{type:"internal",mode:e.mode}}});var ri=function(t,e,n){var i=Lt.math[t]&&Lt.math[t].replace,r=it(i||t,e,n);if(!r)throw new Error("Unsupported symbol "+t+" and font size "+e+".");return r},oi=function(t,e,n,i){var r=n.havingBaseStyle(e),o=Be.makeSpan(i.concat(r.sizingClasses(n)),[t],n),s=r.sizeMultiplier/n.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=r.sizeMultiplier,o},si=function(t,e,n){var i=e.havingBaseStyle(n),r=(1-e.sizeMultiplier/i.sizeMultiplier)*e.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=mt(r),t.height-=r,t.depth+=r},ai=function(t,e,n,i,r,o){var s=Be.makeSymbol(t,"Main-Regular",r,i),a=oi(s,e,i,o);return n&&si(a,i,e),a},li=function(t,e,n,i){return Be.makeSymbol(t,"Size"+e+"-Regular",n,i)},ci=function(t,e,n,i,r,o){var s=li(t,e,r,i),a=oi(Be.makeSpan(["delimsizing","size"+e],[s],i),F.TEXT,i,o);return n&&si(a,i,F.TEXT),a},hi=function(t,e,n){var i;i="Size1-Regular"===e?"delim-size1":"delim-size4";var r=Be.makeSpan(["delimsizinginner",i],[Be.makeSpan([],[Be.makeSymbol(t,e,n)])]);return{type:"elem",elem:r}},ui=function(t,e,n){var i=$["Size4-Regular"][t.charCodeAt(0)]?$["Size4-Regular"][t.charCodeAt(0)][4]:$["Size1-Regular"][t.charCodeAt(0)][4],r=new Tt("inner",X(t,Math.round(1e3*e))),o=new St([r],{width:mt(i),height:mt(e),style:"width:"+mt(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*e),preserveAspectRatio:"xMinYMin"}),s=Be.makeSvgSpan([],[o],n);return s.height=e,s.style.height=mt(e),s.style.width=mt(i),{type:"elem",elem:s}},di=.008,pi={type:"kern",size:-1*di},fi=["|","\\lvert","\\rvert","\\vert"],mi=["\\|","\\lVert","\\rVert","\\Vert"],gi=function(t,e,n,i,r,o){var s,a,l,c,h="",u=0;s=l=c=t,a=null;var d="Size1-Regular";"\\uparrow"===t?l=c="⏐":"\\Uparrow"===t?l=c="‖":"\\downarrow"===t?s=l="⏐":"\\Downarrow"===t?s=l="‖":"\\updownarrow"===t?(s="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===t?(s="\\Uparrow",l="‖",c="\\Downarrow"):m.contains(fi,t)?(l="∣",h="vert",u=333):m.contains(mi,t)?(l="∥",h="doublevert",u=556):"["===t||"\\lbrack"===t?(s="⎡",l="⎢",c="⎣",d="Size4-Regular",h="lbrack",u=667):"]"===t||"\\rbrack"===t?(s="⎤",l="⎥",c="⎦",d="Size4-Regular",h="rbrack",u=667):"\\lfloor"===t||"⌊"===t?(l=s="⎢",c="⎣",d="Size4-Regular",h="lfloor",u=667):"\\lceil"===t||"⌈"===t?(s="⎡",l=c="⎢",d="Size4-Regular",h="lceil",u=667):"\\rfloor"===t||"⌋"===t?(l=s="⎥",c="⎦",d="Size4-Regular",h="rfloor",u=667):"\\rceil"===t||"⌉"===t?(s="⎤",l=c="⎥",d="Size4-Regular",h="rceil",u=667):"("===t||"\\lparen"===t?(s="⎛",l="⎜",c="⎝",d="Size4-Regular",h="lparen",u=875):")"===t||"\\rparen"===t?(s="⎞",l="⎟",c="⎠",d="Size4-Regular",h="rparen",u=875):"\\{"===t||"\\lbrace"===t?(s="⎧",a="⎨",c="⎩",l="⎪",d="Size4-Regular"):"\\}"===t||"\\rbrace"===t?(s="⎫",a="⎬",c="⎭",l="⎪",d="Size4-Regular"):"\\lgroup"===t||"⟮"===t?(s="⎧",c="⎩",l="⎪",d="Size4-Regular"):"\\rgroup"===t||"⟯"===t?(s="⎫",c="⎭",l="⎪",d="Size4-Regular"):"\\lmoustache"===t||"⎰"===t?(s="⎧",c="⎭",l="⎪",d="Size4-Regular"):"\\rmoustache"!==t&&"⎱"!==t||(s="⎫",c="⎩",l="⎪",d="Size4-Regular");var p=ri(s,d,r),f=p.height+p.depth,g=ri(l,d,r),v=g.height+g.depth,b=ri(c,d,r),y=b.height+b.depth,w=0,x=1;if(null!==a){var C=ri(a,d,r);w=C.height+C.depth,x=2}var k=f+y+w,A=Math.max(0,Math.ceil((e-k)/(x*v))),S=k+A*x*v,T=i.fontMetrics().axisHeight;n&&(T*=i.sizeMultiplier);var E=S/2-T,M=[];if(h.length>0){var N=S-f-y,O=Math.round(1e3*S),z=J(h,Math.round(1e3*N)),D=new Tt(h,z),L=(u/1e3).toFixed(3)+"em",I=(O/1e3).toFixed(3)+"em",R=new St([D],{width:L,height:I,viewBox:"0 0 "+u+" "+O}),P=Be.makeSvgSpan([],[R],i);P.height=O/1e3,P.style.width=L,P.style.height=I,M.push({type:"elem",elem:P})}else{if(M.push(hi(c,d,r)),M.push(pi),null===a){var B=S-f-y+2*di;M.push(ui(l,B,i))}else{var j=(S-f-y-w)/2+2*di;M.push(ui(l,j,i)),M.push(pi),M.push(hi(a,d,r)),M.push(pi),M.push(ui(l,j,i))}M.push(pi),M.push(hi(s,d,r))}var q=i.havingBaseStyle(F.TEXT),H=Be.makeVList({positionType:"bottom",positionData:E,children:M},q);return oi(Be.makeSpan(["delimsizing","mult"],[H],q),F.TEXT,i,o)},vi=80,bi=.08,yi=function(t,e,n,i,r){var o=Z(t,i,n),s=new Tt(t,o),a=new St([s],{width:"400em",height:mt(e),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Be.makeSvgSpan(["hide-tail"],[a],r)},wi=function(t,e){var n,i,r=e.havingBaseSizing(),o=Oi("\\surd",t*r.sizeMultiplier,Mi,r),s=r.sizeMultiplier,a=Math.max(0,e.minRuleThickness-e.fontMetrics().sqrtRuleThickness),l=0,c=0,h=0;return"small"===o.type?(h=1e3+1e3*a+vi,t<1?s=1:t<1.4&&(s=.7),l=(1+a+bi)/s,c=(1+a)/s,n=yi("sqrtMain",l,h,a,e),n.style.minWidth="0.853em",i=.833/s):"large"===o.type?(h=(1e3+vi)*Ai[o.size],c=(Ai[o.size]+a)/s,l=(Ai[o.size]+a+bi)/s,n=yi("sqrtSize"+o.size,l,h,a,e),n.style.minWidth="1.02em",i=1/s):(l=t+a+bi,c=t+a,h=Math.floor(1e3*t+a)+vi,n=yi("sqrtTall",l,h,a,e),n.style.minWidth="0.742em",i=1.056),n.height=c,n.style.height=mt(l),{span:n,advanceWidth:i,ruleWidth:(e.fontMetrics().sqrtRuleThickness+a)*s}},xi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Ci=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],ki=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ai=[0,1.2,1.8,2.4,3],Si=function(t,e,n,r,o){if("<"===t||"\\lt"===t||"⟨"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"⟩"!==t||(t="\\rangle"),m.contains(xi,t)||m.contains(ki,t))return ci(t,e,!1,n,r,o);if(m.contains(Ci,t))return gi(t,Ai[e],!1,n,r,o);throw new i("Illegal delimiter: '"+t+"'")},Ti=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ei=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],Mi=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ni=function(t){if("small"===t.type)return"Main-Regular";if("large"===t.type)return"Size"+t.size+"-Regular";if("stack"===t.type)return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Oi=function(t,e,n,i){for(var r=Math.min(2,3-i.style.size),o=r;oe)return n[o]}return n[n.length-1]},zi=function(t,e,n,i,r,o){var s;"<"===t||"\\lt"===t||"⟨"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"⟩"!==t||(t="\\rangle"),s=m.contains(ki,t)?Ti:m.contains(xi,t)?Mi:Ei;var a=Oi(t,e,s,i);return"small"===a.type?ai(t,a.style,n,i,r,o):"large"===a.type?ci(t,a.size,n,i,r,o):gi(t,e,n,i,r,o)},Di=function(t,e,n,i,r,o){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,a=901,l=5/i.fontMetrics().ptPerEm,c=Math.max(e-s,n+s),h=Math.max(c/500*a,2*c-l);return zi(t,h,!0,i,r,o)},Li={sqrtImage:wi,sizedDelim:Si,sizeToMaxHeight:Ai,customSizedDelim:zi,leftRightDelim:Di},Ii={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Fi=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ri(t,e){var n=Pn(t);if(n&&m.contains(Fi,n.text))return n;throw new i(n?"Invalid delimiter '"+n.text+"' after '"+e.funcName+"'":"Invalid delimiter type '"+t.type+"'",t)}function Pi(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ye({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(t,e){var n=Ri(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Ii[t.funcName].size,mclass:Ii[t.funcName].mclass,delim:n.text}},htmlBuilder:function(t,e){return"."===t.delim?Be.makeSpan([t.mclass]):Li.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass])},mathmlBuilder:function(t){var e=[];"."!==t.delim&&e.push(vn(t.delim,t.mode));var n=new gn.MathNode("mo",e);"mopen"===t.mclass||"mclose"===t.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var i=mt(Li.sizeToMaxHeight[t.size]);return n.setAttribute("minsize",i),n.setAttribute("maxsize",i),n}}),Ye({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(t,e){var n=t.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Ri(e[0],t).text,color:n}}}),Ye({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(t,e){var n=Ri(e[0],t),i=t.parser;++i.leftrightDepth;var r=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=Fn(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:r,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:function(t,e){Pi(t);for(var n,i,r=nn(t.body,e,!0,["mopen","mclose"]),o=0,s=0,a=!1,l=0;l-1?"mpadded":"menclose",[Cn(t.body,e)]);switch(t.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*n+"pt"),i.setAttribute("height","+"+2*n+"pt"),i.setAttribute("lspace",n+"pt"),i.setAttribute("voffset",n+"pt"),"\\fcolorbox"===t.label){var r=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);i.setAttribute("style","border: "+r+"em solid "+String(t.borderColor))}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&i.setAttribute("mathbackground",t.backgroundColor),i};Ye({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(t,e,n){var i=t.parser,r=t.funcName,o=Fn(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:i.mode,label:r,backgroundColor:o,body:s}},htmlBuilder:Bi,mathmlBuilder:ji}),Ye({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(t,e,n){var i=t.parser,r=t.funcName,o=Fn(e[0],"color-token").color,s=Fn(e[1],"color-token").color,a=e[2];return{type:"enclose",mode:i.mode,label:r,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:Bi,mathmlBuilder:ji}),Ye({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(t,e){var n=t.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:e[0]}}}),Ye({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(t,e){var n=t.parser,i=t.funcName,r=e[0];return{type:"enclose",mode:n.mode,label:i,body:r}},htmlBuilder:Bi,mathmlBuilder:ji}),Ye({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(t,e){var n=t.parser;return{type:"enclose",mode:n.mode,label:"\\angl",body:e[0]}}});var qi={};function Hi(t){for(var e=t.type,n=t.names,i=t.props,r=t.handler,o=t.htmlBuilder,s=t.mathmlBuilder,a={type:e,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:r},l=0;l1||!u)&&g.pop(),b.length0&&(w+=.25),c.push({pos:w,isDashed:t[e]})}for(x(s[0]),n=0;n0&&(M+=y,A=a)){var V=void 0;(r>0||t.hskipBeforeAndAfter)&&(V=m.deflt(q.pregap,d),0!==V&&(N=Be.makeSpan(["arraycolsep"],[]),N.style.width=mt(V),L.push(N)));var K=[];for(n=0;n0){var Q=Be.makeLineSpan("hline",e,h),J=Be.makeLineSpan("hdashline",e,h),_=[{type:"elem",elem:l,shift:0}];while(c.length>0){var $=c.pop(),tt=$.pos-z;$.isDashed?_.push({type:"elem",elem:J,shift:tt}):_.push({type:"elem",elem:Q,shift:tt})}l=Be.makeVList({positionType:"individualShift",children:_},e)}if(0===I.length)return Be.makeSpan(["mord"],[l],e);var et=Be.makeVList({positionType:"individualShift",children:I},e);return et=Be.makeSpan(["tag"],[et],e),Be.makeFragment([l,et])},_i={c:"center ",l:"left ",r:"right "},$i=function(t,e){for(var n=[],i=new gn.MathNode("mtd",[],["mtr-glue"]),r=new gn.MathNode("mtd",[],["mml-eqn-num"]),o=0;o0){var p=t.cols,f="",m=!1,g=0,v=p.length;"separator"===p[0].type&&(u+="top ",g=1),"separator"===p[p.length-1].type&&(u+="bottom ",v-=1);for(var b=g;b0?"left ":"",u+=k[k.length-1].length>0?"right ":"";for(var A=1;A-1?"alignat":"align",s="split"===t.envName,a=Xi(t.parser,{cols:r,addJot:!0,autoTag:s?void 0:Zi(t.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display"),l=0,c={type:"ordgroup",mode:t.mode,body:[]};if(e[0]&&"ordgroup"===e[0].type){for(var h="",u=0;u0&&p&&(g=1),r[f]={type:"align",align:m,pregap:g,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};Hi({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(t,e){var n=Pn(e[0]),r=n?[e[0]]:Fn(e[0],"ordgroup").body,o=r.map((function(t){var e=Rn(t),n=e.text;if(-1!=="lcr".indexOf(n))return{type:"align",align:n};if("|"===n)return{type:"separator",separator:"|"};if(":"===n)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+n,t)})),s={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return Xi(t.parser,s,Qi(t.envName))},htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===t.envName.charAt(t.envName.length-1)){var o=t.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,-1==="lcr".indexOf(n))throw new i("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),r.cols=[{type:"align",align:n}]}}var s=Xi(t.parser,r,Qi(t.envName)),a=Math.max.apply(Math,[0].concat(s.body.map((function(t){return t.length}))));return s.cols=new Array(a).fill({type:"align",align:n}),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(t){var e={arraystretch:.5},n=Xi(t.parser,e,"script");return n.colSeparationType="small",n},htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["subarray"],props:{numArgs:1},handler:function(t,e){var n=Pn(e[0]),r=n?[e[0]]:Fn(e[0],"ordgroup").body,o=r.map((function(t){var e=Rn(t),n=e.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new i("Unknown column alignment: "+n,t)}));if(o.length>1)throw new i("{subarray} can contain only one column");var s={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=Xi(t.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new i("{subarray} can contain only one column");return s},htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Xi(t.parser,e,Qi(t.envName));return{type:"leftright",mode:t.mode,body:[n],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:tr,htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(t){m.contains(["gather","gather*"],t.envName)&&Yi(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Zi(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Xi(t.parser,e,"display")},htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:tr,htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(t){Yi(t);var e={autoTag:Zi(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Xi(t.parser,e,"display")},htmlBuilder:Ji,mathmlBuilder:$i}),Hi({type:"array",names:["CD"],props:{numArgs:0},handler:function(t){return Yi(t),Jn(t.parser)},htmlBuilder:Ji,mathmlBuilder:$i}),Wi("\\nonumber","\\gdef\\@eqnsw{0}"),Wi("\\notag","\\nonumber"),Ye({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(t,e){throw new i(t.funcName+" valid only within array environment")}});var er=qi,nr=er;Ye({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(t,e){var n=t.parser,r=t.funcName,o=e[0];if("ordgroup"!==o.type)throw new i("Invalid environment name",o);for(var s="",a=0;a=F.SCRIPT.id?n.text():F.DISPLAY:"text"===t&&n.size===F.DISPLAY.size?n=F.TEXT:"script"===t?n=F.SCRIPT:"scriptscript"===t&&(n=F.SCRIPTSCRIPT),n},ar=function(t,e){var n,i=sr(t.size,e.style),r=i.fracNum(),o=i.fracDen();n=e.havingStyle(r);var s=cn(t.numer,n,e);if(t.continued){var a=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?3*u:7*u,f=e.fontMetrics().denom1):(h>0?(d=e.fontMetrics().num2,p=u):(d=e.fontMetrics().num3,p=3*u),f=e.fontMetrics().denom2),c){var w=e.fontMetrics().axisHeight;d-s.depth-(w+.5*h)0&&(e=t,e="."===e?null:e),e};Ye({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(t,e){var n,i=t.parser,r=e[4],o=e[5],s=Xe(e[0]),a="atom"===s.type&&"open"===s.family?hr(s.text):null,l=Xe(e[1]),c="atom"===l.type&&"close"===l.family?hr(l.text):null,h=Fn(e[2],"size"),u=null;h.isBlank?n=!0:(u=h.value,n=u.number>0);var d="auto",p=e[3];if("ordgroup"===p.type){if(p.body.length>0){var f=Fn(p.body[0],"textord");d=cr[Number(f.text)]}}else p=Fn(p,"textord"),d=cr[Number(p.text)];return{type:"genfrac",mode:i.mode,numer:r,denom:o,continued:!1,hasBarLine:n,barSize:u,leftDelim:a,rightDelim:c,size:d}},htmlBuilder:ar,mathmlBuilder:lr}),Ye({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(t,e){var n=t.parser,i=(t.funcName,t.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Fn(e[0],"size").value,token:i}}}),Ye({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(t,e){var n=t.parser,i=(t.funcName,e[0]),r=p(Fn(e[1],"infix").size),o=e[2],s=r.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:r,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ar,mathmlBuilder:lr});var ur=function(t,e){var n,i,r=e.style;"supsub"===t.type?(n=t.sup?cn(t.sup,e.havingStyle(r.sup()),e):cn(t.sub,e.havingStyle(r.sub()),e),i=Fn(t.base,"horizBrace")):i=Fn(t,"horizBrace");var o,s=cn(i.base,e.havingBaseStyle(F.DISPLAY)),a=In.svgSpan(i,e);if(i.isOver?(o=Be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},e),o.children[0].children[0].children[1].classes.push("svg-align")):(o=Be.makeVList({positionType:"bottom",positionData:s.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},e),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=Be.makeSpan(["mord",i.isOver?"mover":"munder"],[o],e);o=i.isOver?Be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},e):Be.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return Be.makeSpan(["mord",i.isOver?"mover":"munder"],[o],e)},dr=function(t,e){var n=In.mathMLnode(t.label);return new gn.MathNode(t.isOver?"mover":"munder",[Cn(t.base,e),n])};Ye({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(t,e){var n=t.parser,i=t.funcName;return{type:"horizBrace",mode:n.mode,label:i,isOver:/^\\over/.test(i),base:e[0]}},htmlBuilder:ur,mathmlBuilder:dr}),Ye({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(t,e){var n=t.parser,i=e[1],r=Fn(e[0],"url").url;return n.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:n.mode,href:r,body:Qe(i)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(t,e){var n=nn(t.body,e,!1);return Be.makeAnchor(t.href,[],n,e)},mathmlBuilder:function(t,e){var n=xn(t.body,e);return n instanceof pn||(n=new pn("mrow",[n])),n.setAttribute("href",t.href),n}}),Ye({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(t,e){var n=t.parser,i=Fn(e[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:i}))return n.formatUnsupportedCmd("\\url");for(var r=[],o=0;o0&&(i=ft(t.totalheight,e)-n);var r=0;t.width.number>0&&(r=ft(t.width,e));var o={height:mt(n+i)};r>0&&(o.width=mt(r)),i>0&&(o.verticalAlign=mt(-i));var s=new Ct(t.src,t.alt,o);return s.height=n,s.depth=i,s},mathmlBuilder:function(t,e){var n=new gn.MathNode("mglyph",[]);n.setAttribute("alt",t.alt);var i=ft(t.height,e),r=0;if(t.totalheight.number>0&&(r=ft(t.totalheight,e)-i,n.setAttribute("valign",mt(-r))),n.setAttribute("height",mt(i+r)),t.width.number>0){var o=ft(t.width,e);n.setAttribute("width",mt(o))}return n.setAttribute("src",t.src),n}}),Ye({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(t,e){var n=t.parser,i=t.funcName,r=Fn(e[0],"size");if(n.settings.strict){var o="m"===i[1],s="mu"===r.value.unit;o?(s||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, not "+r.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):s&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:r.value}},htmlBuilder:function(t,e){return Be.makeGlue(t.dimension,e)},mathmlBuilder:function(t,e){var n=ft(t.dimension,e);return new gn.SpaceNode(n)}}),Ye({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser,i=t.funcName,r=e[0];return{type:"lap",mode:n.mode,alignment:i.slice(5),body:r}},htmlBuilder:function(t,e){var n;"clap"===t.alignment?(n=Be.makeSpan([],[cn(t.body,e)]),n=Be.makeSpan(["inner"],[n],e)):n=Be.makeSpan(["inner"],[cn(t.body,e)]);var i=Be.makeSpan(["fix"],[]),r=Be.makeSpan([t.alignment],[n,i],e),o=Be.makeSpan(["strut"]);return o.style.height=mt(r.height+r.depth),r.depth&&(o.style.verticalAlign=mt(-r.depth)),r.children.unshift(o),r=Be.makeSpan(["thinbox"],[r],e),Be.makeSpan(["mord","vbox"],[r],e)},mathmlBuilder:function(t,e){var n=new gn.MathNode("mpadded",[Cn(t.body,e)]);if("rlap"!==t.alignment){var i="llap"===t.alignment?"-1":"-0.5";n.setAttribute("lspace",i+"width")}return n.setAttribute("width","0px"),n}}),Ye({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t,e){var n=t.funcName,i=t.parser,r=i.mode;i.switchMode("math");var o="\\("===n?"\\)":"$",s=i.parseExpression(!1,o);return i.expect(o),i.switchMode(r),{type:"styling",mode:i.mode,style:"text",body:s}}}),Ye({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t,e){throw new i("Mismatched "+t.funcName)}});var fr=function(t,e){switch(e.style.size){case F.DISPLAY.size:return t.display;case F.TEXT.size:return t.text;case F.SCRIPT.size:return t.script;case F.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};Ye({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(t,e){var n=t.parser;return{type:"mathchoice",mode:n.mode,display:Qe(e[0]),text:Qe(e[1]),script:Qe(e[2]),scriptscript:Qe(e[3])}},htmlBuilder:function(t,e){var n=fr(t,e),i=nn(n,e,!1);return Be.makeFragment(i)},mathmlBuilder:function(t,e){var n=fr(t,e);return xn(n,e)}});var mr=function(t,e,n,i,r,o,s){t=Be.makeSpan([],[t]);var a,l,c,h=n&&m.isCharacterBox(n);if(e){var u=cn(e,i.havingStyle(r.sup()),i);l={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=cn(n,i.havingStyle(r.sub()),i);a={elem:d,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-d.height)}}if(l&&a){var p=i.fontMetrics().bigOpSpacing5+a.elem.height+a.elem.depth+a.kern+t.depth+s;c=Be.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:a.elem,marginLeft:mt(-o)},{type:"kern",size:a.kern},{type:"elem",elem:t},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:mt(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(a){var f=t.height-s;c=Be.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:a.elem,marginLeft:mt(-o)},{type:"kern",size:a.kern},{type:"elem",elem:t}]},i)}else{if(!l)return t;var g=t.depth+s;c=Be.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:t},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:mt(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}var v=[c];if(a&&0!==o&&!h){var b=Be.makeSpan(["mspace"],[],i);b.style.marginRight=mt(o),v.unshift(b)}return Be.makeSpan(["mop","op-limits"],v,i)},gr=["\\smallint"],vr=function(t,e){var n,i,r,o=!1;"supsub"===t.type?(n=t.sup,i=t.sub,r=Fn(t.base,"op"),o=!0):r=Fn(t,"op");var s,a=e.style,l=!1;if(a.size===F.DISPLAY.size&&r.symbol&&!m.contains(gr,r.name)&&(l=!0),r.symbol){var c=l?"Size2-Regular":"Size1-Regular",h="";if("\\oiint"!==r.name&&"\\oiiint"!==r.name||(h=r.name.slice(1),r.name="oiint"===h?"\\iint":"\\iiint"),s=Be.makeSymbol(r.name,c,"math",e,["mop","op-symbol",l?"large-op":"small-op"]),h.length>0){var u=s.italic,d=Be.staticSvg(h+"Size"+(l?"2":"1"),e);s=Be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:d,shift:l?.08:0}]},e),r.name="\\"+h,s.classes.unshift("mop"),s.italic=u}}else if(r.body){var p=nn(r.body,e,!0);1===p.length&&p[0]instanceof At?(s=p[0],s.classes[0]="mop"):s=Be.makeSpan(["mop"],p,e)}else{for(var f=[],g=1;g0){for(var a=r.body.map((function(t){var e=t.text;return"string"===typeof e?{type:"textord",mode:t.mode,text:e}:t})),l=nn(a,e.withFont("mathrm"),!0),c=0;c=0?a.setAttribute("height",mt(r)):(a.setAttribute("height",mt(r)),a.setAttribute("depth",mt(-r))),a.setAttribute("voffset",mt(r)),a}});var Ar=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Sr=function(t,e){var n=e.havingSize(t.size);return kr(t.body,n,e)};Ye({type:"sizing",names:Ar,props:{numArgs:0,allowedInText:!0},handler:function(t,e){var n=t.breakOnTokenText,i=t.funcName,r=t.parser,o=r.parseExpression(!1,n);return{type:"sizing",mode:r.mode,size:Ar.indexOf(i)+1,body:o}},htmlBuilder:Sr,mathmlBuilder:function(t,e){var n=e.havingSize(t.size),i=wn(t.body,n),r=new gn.MathNode("mstyle",i);return r.setAttribute("mathsize",mt(n.sizeMultiplier)),r}}),Ye({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(t,e,n){var i=t.parser,r=!1,o=!1,s=n[0]&&Fn(n[0],"ordgroup");if(s)for(var a="",l=0;ln.height+n.depth+s&&(s=(s+d-n.height-n.depth)/2);var p=c.height-n.height-s-h;n.style.paddingLeft=mt(u);var f=Be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+p)},{type:"elem",elem:c},{type:"kern",size:h}]},e);if(t.index){var m=e.havingStyle(F.SCRIPTSCRIPT),g=cn(t.index,m,e),v=.6*(f.height-f.depth),b=Be.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:g}]},e),y=Be.makeSpan(["root"],[b]);return Be.makeSpan(["mord","sqrt"],[y,f],e)}return Be.makeSpan(["mord","sqrt"],[f],e)},mathmlBuilder:function(t,e){var n=t.body,i=t.index;return i?new gn.MathNode("mroot",[Cn(n,e),Cn(i,e)]):new gn.MathNode("msqrt",[Cn(n,e)])}});var Tr={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};Ye({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(t,e){var n=t.breakOnTokenText,i=t.funcName,r=t.parser,o=r.parseExpression(!0,n),s=i.slice(1,i.length-5);return{type:"styling",mode:r.mode,style:s,body:o}},htmlBuilder:function(t,e){var n=Tr[t.style],i=e.havingStyle(n).withFont("");return kr(t.body,i,e)},mathmlBuilder:function(t,e){var n=Tr[t.style],i=e.havingStyle(n),r=wn(t.body,i),o=new gn.MathNode("mstyle",r),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[t.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});var Er=function(t,e){var n=t.base;if(n){if("op"===n.type){var i=n.limits&&(e.style.size===F.DISPLAY.size||n.alwaysHandleSupSub);return i?vr:null}if("operatorname"===n.type){var r=n.alwaysHandleSupSub&&(e.style.size===F.DISPLAY.size||n.limits);return r?xr:null}if("accent"===n.type)return m.isCharacterBox(n.base)?Bn:null;if("horizBrace"===n.type){var o=!t.sub;return o===n.isOver?ur:null}return null}return null};Ze({type:"supsub",htmlBuilder:function(t,e){var n=Er(t,e);if(n)return n(t,e);var i,r,o,s=t.base,a=t.sup,l=t.sub,c=cn(s,e),h=e.fontMetrics(),u=0,d=0,p=s&&m.isCharacterBox(s);if(a){var f=e.havingStyle(e.style.sup());i=cn(a,f,e),p||(u=c.height-f.fontMetrics().supDrop*f.sizeMultiplier/e.sizeMultiplier)}if(l){var g=e.havingStyle(e.style.sub());r=cn(l,g,e),p||(d=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/e.sizeMultiplier)}o=e.style===F.DISPLAY?h.sup1:e.style.cramped?h.sup3:h.sup2;var v,b=e.sizeMultiplier,y=mt(.5/h.ptPerEm/b),w=null;if(r){var x=t.base&&"op"===t.base.type&&t.base.name&&("\\oiint"===t.base.name||"\\oiiint"===t.base.name);(c instanceof At||x)&&(w=mt(-c.italic))}if(i&&r){u=Math.max(u,o,i.depth+.25*h.xHeight),d=Math.max(d,h.sub2);var C=h.defaultRuleThickness,k=4*C;if(u-i.depth-(r.height-d)0&&(u+=A,d-=A)}var S=[{type:"elem",elem:r,shift:d,marginRight:y,marginLeft:w},{type:"elem",elem:i,shift:-u,marginRight:y}];v=Be.makeVList({positionType:"individualShift",children:S},e)}else if(r){d=Math.max(d,h.sub1,r.height-.8*h.xHeight);var T=[{type:"elem",elem:r,marginLeft:w,marginRight:y}];v=Be.makeVList({positionType:"shift",positionData:d,children:T},e)}else{if(!i)throw new Error("supsub must have either sup or sub.");u=Math.max(u,o,i.depth+.25*h.xHeight),v=Be.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:i,marginRight:y}]},e)}var E=an(c,"right")||"mord";return Be.makeSpan([E],[c,Be.makeSpan(["msupsub"],[v])],e)},mathmlBuilder:function(t,e){var n,i,r=!1;t.base&&"horizBrace"===t.base.type&&(i=!!t.sup,i===t.base.isOver&&(r=!0,n=t.base.isOver)),!t.base||"op"!==t.base.type&&"operatorname"!==t.base.type||(t.base.parentIsSupSub=!0);var o,s=[Cn(t.base,e)];if(t.sub&&s.push(Cn(t.sub,e)),t.sup&&s.push(Cn(t.sup,e)),r)o=n?"mover":"munder";else if(t.sub)if(t.sup){var a=t.base;o=a&&"op"===a.type&&a.limits&&e.style===F.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(e.style===F.DISPLAY||a.limits)?"munderover":"msubsup"}else{var l=t.base;o=l&&"op"===l.type&&l.limits&&(e.style===F.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||e.style===F.DISPLAY)?"munder":"msub"}else{var c=t.base;o=c&&"op"===c.type&&c.limits&&(e.style===F.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||e.style===F.DISPLAY)?"mover":"msup"}return new gn.MathNode(o,s)}}),Ze({type:"atom",htmlBuilder:function(t,e){return Be.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder:function(t,e){var n=new gn.MathNode("mo",[vn(t.text,t.mode)]);if("bin"===t.family){var i=yn(t,e);"bold-italic"===i&&n.setAttribute("mathvariant",i)}else"punct"===t.family?n.setAttribute("separator","true"):"open"!==t.family&&"close"!==t.family||n.setAttribute("stretchy","false");return n}});var Mr={mi:"italic",mn:"normal",mtext:"normal"};Ze({type:"mathord",htmlBuilder:function(t,e){return Be.makeOrd(t,e,"mathord")},mathmlBuilder:function(t,e){var n=new gn.MathNode("mi",[vn(t.text,t.mode,e)]),i=yn(t,e)||"italic";return i!==Mr[n.type]&&n.setAttribute("mathvariant",i),n}}),Ze({type:"textord",htmlBuilder:function(t,e){return Be.makeOrd(t,e,"textord")},mathmlBuilder:function(t,e){var n,i=vn(t.text,t.mode,e),r=yn(t,e)||"normal";return n="text"===t.mode?new gn.MathNode("mtext",[i]):/[0-9]/.test(t.text)?new gn.MathNode("mn",[i]):"\\prime"===t.text?new gn.MathNode("mo",[i]):new gn.MathNode("mi",[i]),r!==Mr[n.type]&&n.setAttribute("mathvariant",r),n}});var Nr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Or={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ze({type:"spacing",htmlBuilder:function(t,e){if(Or.hasOwnProperty(t.text)){var n=Or[t.text].className||"";if("text"===t.mode){var r=Be.makeOrd(t,e,"textord");return r.classes.push(n),r}return Be.makeSpan(["mspace",n],[Be.mathsym(t.text,t.mode,e)],e)}if(Nr.hasOwnProperty(t.text))return Be.makeSpan(["mspace",Nr[t.text]],[],e);throw new i('Unknown type of space "'+t.text+'"')},mathmlBuilder:function(t,e){var n;if(!Or.hasOwnProperty(t.text)){if(Nr.hasOwnProperty(t.text))return new gn.MathNode("mspace");throw new i('Unknown type of space "'+t.text+'"')}return n=new gn.MathNode("mtext",[new gn.TextNode(" ")]),n}});var zr=function(){var t=new gn.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Ze({type:"tag",mathmlBuilder:function(t,e){var n=new gn.MathNode("mtable",[new gn.MathNode("mtr",[zr(),new gn.MathNode("mtd",[xn(t.body,e)]),zr(),new gn.MathNode("mtd",[xn(t.tag,e)])])]);return n.setAttribute("width","100%"),n}});var Dr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Lr={"\\textbf":"textbf","\\textmd":"textmd"},Ir={"\\textit":"textit","\\textup":"textup"},Fr=function(t,e){var n=t.font;return n?Dr[n]?e.withTextFontFamily(Dr[n]):Lr[n]?e.withTextFontWeight(Lr[n]):e.withTextFontShape(Ir[n]):e};Ye({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(t,e){var n=t.parser,i=t.funcName,r=e[0];return{type:"text",mode:n.mode,body:Qe(r),font:i}},htmlBuilder:function(t,e){var n=Fr(t,e),i=nn(t.body,n,!0);return Be.makeSpan(["mord","text"],i,n)},mathmlBuilder:function(t,e){var n=Fr(t,e);return xn(t.body,n)}}),Ye({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser;return{type:"underline",mode:n.mode,body:e[0]}},htmlBuilder:function(t,e){var n=cn(t.body,e),i=Be.makeLineSpan("underline-line",e),r=e.fontMetrics().defaultRuleThickness,o=Be.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:r},{type:"elem",elem:i},{type:"kern",size:3*r},{type:"elem",elem:n}]},e);return Be.makeSpan(["mord","underline"],[o],e)},mathmlBuilder:function(t,e){var n=new gn.MathNode("mo",[new gn.TextNode("‾")]);n.setAttribute("stretchy","true");var i=new gn.MathNode("munder",[Cn(t.body,e),n]);return i.setAttribute("accentunder","true"),i}}),Ye({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(t,e){var n=t.parser;return{type:"vcenter",mode:n.mode,body:e[0]}},htmlBuilder:function(t,e){var n=cn(t.body,e),i=e.fontMetrics().axisHeight,r=.5*(n.height-i-(n.depth+i));return Be.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:n}]},e)},mathmlBuilder:function(t,e){return new gn.MathNode("mpadded",[Cn(t.body,e)],["vcenter"])}}),Ye({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(t,e,n){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(t,e){for(var n=Rr(t),i=[],r=e.havingStyle(e.style.text()),o=0;o0)this.endGroup()},e.has=function(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)},e.get=function(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]},e.set=function(t,e,n){if(void 0===n&&(n=!1),n){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][t]=e)}else{var r=this.undefStack[this.undefStack.length-1];r&&!r.hasOwnProperty(t)&&(r[t]=this.current[t])}null==e?delete this.current[t]:this.current[t]=e},t}(),Xr=Ui,Qr=Xr;Wi("\\noexpand",(function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}})),Wi("\\expandafter",(function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}})),Wi("\\@firstoftwo",(function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}})),Wi("\\@secondoftwo",(function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}})),Wi("\\@ifnextchar",(function(t){var e=t.consumeArgs(3);t.consumeSpaces();var n=t.future();return 1===e[0].length&&e[0][0].text===n.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}})),Wi("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Wi("\\TextOrMath",(function(t){var e=t.consumeArgs(2);return"text"===t.mode?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}}));var Jr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Wi("\\char",(function(t){var e,n=t.popToken(),r="";if("'"===n.text)e=8,n=t.popToken();else if('"'===n.text)e=16,n=t.popToken();else if("`"===n.text)if(n=t.popToken(),"\\"===n.text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new i("\\char` missing argument");r=n.text.charCodeAt(0)}else e=10;if(e){if(r=Jr[n.text],null==r||r>=e)throw new i("Invalid base-"+e+" digit "+n.text);var o;while(null!=(o=Jr[t.future().text])&&o":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Wi("\\dots",(function(t){var e="\\dotso",n=t.expandAfterFuture().text;return n in $r?e=$r[n]:("\\not"===n.slice(0,4)||n in Lt.math&&m.contains(["bin","rel"],Lt.math[n].group))&&(e="\\dotsb"),e}));var to={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Wi("\\dotso",(function(t){var e=t.future().text;return e in to?"\\ldots\\,":"\\ldots"})),Wi("\\dotsc",(function(t){var e=t.future().text;return e in to&&","!==e?"\\ldots\\,":"\\ldots"})),Wi("\\cdots",(function(t){var e=t.future().text;return e in to?"\\@cdots\\,":"\\@cdots"})),Wi("\\dotsb","\\cdots"),Wi("\\dotsm","\\cdots"),Wi("\\dotsi","\\!\\cdots"),Wi("\\dotsx","\\ldots\\,"),Wi("\\DOTSI","\\relax"),Wi("\\DOTSB","\\relax"),Wi("\\DOTSX","\\relax"),Wi("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Wi("\\,","\\tmspace+{3mu}{.1667em}"),Wi("\\thinspace","\\,"),Wi("\\>","\\mskip{4mu}"),Wi("\\:","\\tmspace+{4mu}{.2222em}"),Wi("\\medspace","\\:"),Wi("\\;","\\tmspace+{5mu}{.2777em}"),Wi("\\thickspace","\\;"),Wi("\\!","\\tmspace-{3mu}{.1667em}"),Wi("\\negthinspace","\\!"),Wi("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Wi("\\negthickspace","\\tmspace-{5mu}{.277em}"),Wi("\\enspace","\\kern.5em "),Wi("\\enskip","\\hskip.5em\\relax"),Wi("\\quad","\\hskip1em\\relax"),Wi("\\qquad","\\hskip2em\\relax"),Wi("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Wi("\\tag@paren","\\tag@literal{({#1})}"),Wi("\\tag@literal",(function(t){if(t.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Wi("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Wi("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Wi("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Wi("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Wi("\\newline","\\\\\\relax"),Wi("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var eo=mt($["Main-Regular"]["T".charCodeAt(0)][1]-.7*$["Main-Regular"]["A".charCodeAt(0)][1]);Wi("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+eo+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Wi("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+eo+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Wi("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Wi("\\@hspace","\\hskip #1\\relax"),Wi("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Wi("\\ordinarycolon",":"),Wi("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Wi("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Wi("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Wi("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Wi("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Wi("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Wi("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Wi("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Wi("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Wi("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Wi("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Wi("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Wi("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Wi("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Wi("∷","\\dblcolon"),Wi("∹","\\eqcolon"),Wi("≔","\\coloneqq"),Wi("≕","\\eqqcolon"),Wi("⩴","\\Coloneqq"),Wi("\\ratio","\\vcentcolon"),Wi("\\coloncolon","\\dblcolon"),Wi("\\colonequals","\\coloneqq"),Wi("\\coloncolonequals","\\Coloneqq"),Wi("\\equalscolon","\\eqqcolon"),Wi("\\equalscoloncolon","\\Eqqcolon"),Wi("\\colonminus","\\coloneq"),Wi("\\coloncolonminus","\\Coloneq"),Wi("\\minuscolon","\\eqcolon"),Wi("\\minuscoloncolon","\\Eqcolon"),Wi("\\coloncolonapprox","\\Colonapprox"),Wi("\\coloncolonsim","\\Colonsim"),Wi("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wi("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wi("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Wi("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Wi("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Wi("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Wi("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Wi("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Wi("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Wi("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Wi("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Wi("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Wi("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Wi("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Wi("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Wi("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Wi("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Wi("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Wi("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Wi("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Wi("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Wi("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Wi("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Wi("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Wi("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Wi("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Wi("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Wi("\\imath","\\html@mathml{\\@imath}{ı}"),Wi("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Wi("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Wi("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Wi("⟦","\\llbracket"),Wi("⟧","\\rrbracket"),Wi("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Wi("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Wi("⦃","\\lBrace"),Wi("⦄","\\rBrace"),Wi("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Wi("⦵","\\minuso"),Wi("\\darr","\\downarrow"),Wi("\\dArr","\\Downarrow"),Wi("\\Darr","\\Downarrow"),Wi("\\lang","\\langle"),Wi("\\rang","\\rangle"),Wi("\\uarr","\\uparrow"),Wi("\\uArr","\\Uparrow"),Wi("\\Uarr","\\Uparrow"),Wi("\\N","\\mathbb{N}"),Wi("\\R","\\mathbb{R}"),Wi("\\Z","\\mathbb{Z}"),Wi("\\alef","\\aleph"),Wi("\\alefsym","\\aleph"),Wi("\\Alpha","\\mathrm{A}"),Wi("\\Beta","\\mathrm{B}"),Wi("\\bull","\\bullet"),Wi("\\Chi","\\mathrm{X}"),Wi("\\clubs","\\clubsuit"),Wi("\\cnums","\\mathbb{C}"),Wi("\\Complex","\\mathbb{C}"),Wi("\\Dagger","\\ddagger"),Wi("\\diamonds","\\diamondsuit"),Wi("\\empty","\\emptyset"),Wi("\\Epsilon","\\mathrm{E}"),Wi("\\Eta","\\mathrm{H}"),Wi("\\exist","\\exists"),Wi("\\harr","\\leftrightarrow"),Wi("\\hArr","\\Leftrightarrow"),Wi("\\Harr","\\Leftrightarrow"),Wi("\\hearts","\\heartsuit"),Wi("\\image","\\Im"),Wi("\\infin","\\infty"),Wi("\\Iota","\\mathrm{I}"),Wi("\\isin","\\in"),Wi("\\Kappa","\\mathrm{K}"),Wi("\\larr","\\leftarrow"),Wi("\\lArr","\\Leftarrow"),Wi("\\Larr","\\Leftarrow"),Wi("\\lrarr","\\leftrightarrow"),Wi("\\lrArr","\\Leftrightarrow"),Wi("\\Lrarr","\\Leftrightarrow"),Wi("\\Mu","\\mathrm{M}"),Wi("\\natnums","\\mathbb{N}"),Wi("\\Nu","\\mathrm{N}"),Wi("\\Omicron","\\mathrm{O}"),Wi("\\plusmn","\\pm"),Wi("\\rarr","\\rightarrow"),Wi("\\rArr","\\Rightarrow"),Wi("\\Rarr","\\Rightarrow"),Wi("\\real","\\Re"),Wi("\\reals","\\mathbb{R}"),Wi("\\Reals","\\mathbb{R}"),Wi("\\Rho","\\mathrm{P}"),Wi("\\sdot","\\cdot"),Wi("\\sect","\\S"),Wi("\\spades","\\spadesuit"),Wi("\\sub","\\subset"),Wi("\\sube","\\subseteq"),Wi("\\supe","\\supseteq"),Wi("\\Tau","\\mathrm{T}"),Wi("\\thetasym","\\vartheta"),Wi("\\weierp","\\wp"),Wi("\\Zeta","\\mathrm{Z}"),Wi("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Wi("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Wi("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Wi("\\bra","\\mathinner{\\langle{#1}|}"),Wi("\\ket","\\mathinner{|{#1}\\rangle}"),Wi("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Wi("\\Bra","\\left\\langle#1\\right|"),Wi("\\Ket","\\left|#1\\right\\rangle");var no=function(t){return function(e){var n=e.consumeArg().tokens,i=e.consumeArg().tokens,r=e.consumeArg().tokens,o=e.consumeArg().tokens,s=e.macros.get("|"),a=e.macros.get("\\|");e.macros.beginGroup();var l=function(e){return function(n){t&&(n.macros.set("|",s),r.length&&n.macros.set("\\|",a));var o=e;if(!e&&r.length){var l=n.future();"|"===l.text&&(n.popToken(),o=!0)}return{tokens:o?r:i,numArgs:0}}};e.macros.set("|",l(!1)),r.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,h=e.expandTokens([].concat(o,c,n));return e.macros.endGroup(),{tokens:h.reverse(),numArgs:0}}};Wi("\\bra@ket",no(!1)),Wi("\\bra@set",no(!0)),Wi("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Wi("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Wi("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Wi("\\angln","{\\angl n}"),Wi("\\blue","\\textcolor{##6495ed}{#1}"),Wi("\\orange","\\textcolor{##ffa500}{#1}"),Wi("\\pink","\\textcolor{##ff00af}{#1}"),Wi("\\red","\\textcolor{##df0030}{#1}"),Wi("\\green","\\textcolor{##28ae7b}{#1}"),Wi("\\gray","\\textcolor{gray}{#1}"),Wi("\\purple","\\textcolor{##9d38bd}{#1}"),Wi("\\blueA","\\textcolor{##ccfaff}{#1}"),Wi("\\blueB","\\textcolor{##80f6ff}{#1}"),Wi("\\blueC","\\textcolor{##63d9ea}{#1}"),Wi("\\blueD","\\textcolor{##11accd}{#1}"),Wi("\\blueE","\\textcolor{##0c7f99}{#1}"),Wi("\\tealA","\\textcolor{##94fff5}{#1}"),Wi("\\tealB","\\textcolor{##26edd5}{#1}"),Wi("\\tealC","\\textcolor{##01d1c1}{#1}"),Wi("\\tealD","\\textcolor{##01a995}{#1}"),Wi("\\tealE","\\textcolor{##208170}{#1}"),Wi("\\greenA","\\textcolor{##b6ffb0}{#1}"),Wi("\\greenB","\\textcolor{##8af281}{#1}"),Wi("\\greenC","\\textcolor{##74cf70}{#1}"),Wi("\\greenD","\\textcolor{##1fab54}{#1}"),Wi("\\greenE","\\textcolor{##0d923f}{#1}"),Wi("\\goldA","\\textcolor{##ffd0a9}{#1}"),Wi("\\goldB","\\textcolor{##ffbb71}{#1}"),Wi("\\goldC","\\textcolor{##ff9c39}{#1}"),Wi("\\goldD","\\textcolor{##e07d10}{#1}"),Wi("\\goldE","\\textcolor{##a75a05}{#1}"),Wi("\\redA","\\textcolor{##fca9a9}{#1}"),Wi("\\redB","\\textcolor{##ff8482}{#1}"),Wi("\\redC","\\textcolor{##f9685d}{#1}"),Wi("\\redD","\\textcolor{##e84d39}{#1}"),Wi("\\redE","\\textcolor{##bc2612}{#1}"),Wi("\\maroonA","\\textcolor{##ffbde0}{#1}"),Wi("\\maroonB","\\textcolor{##ff92c6}{#1}"),Wi("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Wi("\\maroonD","\\textcolor{##ca337c}{#1}"),Wi("\\maroonE","\\textcolor{##9e034e}{#1}"),Wi("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Wi("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Wi("\\purpleC","\\textcolor{##aa87ff}{#1}"),Wi("\\purpleD","\\textcolor{##7854ab}{#1}"),Wi("\\purpleE","\\textcolor{##543b78}{#1}"),Wi("\\mintA","\\textcolor{##f5f9e8}{#1}"),Wi("\\mintB","\\textcolor{##edf2df}{#1}"),Wi("\\mintC","\\textcolor{##e0e5cc}{#1}"),Wi("\\grayA","\\textcolor{##f6f7f7}{#1}"),Wi("\\grayB","\\textcolor{##f0f1f2}{#1}"),Wi("\\grayC","\\textcolor{##e3e5e6}{#1}"),Wi("\\grayD","\\textcolor{##d6d8da}{#1}"),Wi("\\grayE","\\textcolor{##babec2}{#1}"),Wi("\\grayF","\\textcolor{##888d93}{#1}"),Wi("\\grayG","\\textcolor{##626569}{#1}"),Wi("\\grayH","\\textcolor{##3b3e40}{#1}"),Wi("\\grayI","\\textcolor{##21242c}{#1}"),Wi("\\kaBlue","\\textcolor{##314453}{#1}"),Wi("\\kaGreen","\\textcolor{##71B307}{#1}");var io={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ro=function(){function t(t,e,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=e,this.expansionCount=0,this.feed(t),this.macros=new Zr(Qr,e.macros),this.mode=n,this.stack=[]}var e=t.prototype;return e.feed=function(t){this.lexer=new Yr(t,this.settings)},e.switchMode=function(t){this.mode=t},e.beginGroup=function(){this.macros.beginGroup()},e.endGroup=function(){this.macros.endGroup()},e.endGroups=function(){this.macros.endGroups()},e.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},e.popToken=function(){return this.future(),this.stack.pop()},e.pushToken=function(t){this.stack.push(t)},e.pushTokens=function(t){var e;(e=this.stack).push.apply(e,t)},e.scanArgument=function(t){var e,n,i;if(t){if(this.consumeSpaces(),"["!==this.future().text)return null;e=this.popToken();var r=this.consumeArg(["]"]);i=r.tokens,n=r.end}else{var o=this.consumeArg();i=o.tokens,e=o.start,n=o.end}return this.pushToken(new Vi("EOF",n.loc)),this.pushTokens(i),e.range(n,"")},e.consumeSpaces=function(){for(;;){var t=this.future();if(" "!==t.text)break;this.stack.pop()}},e.consumeArg=function(t){var e=[],n=t&&t.length>0;n||this.consumeSpaces();var r,o=this.future(),s=0,a=0;do{if(r=this.popToken(),e.push(r),"{"===r.text)++s;else if("}"===r.text){if(--s,-1===s)throw new i("Extra }",r)}else if("EOF"===r.text)throw new i("Unexpected end of input in a macro argument, expected '"+(t&&n?t[a]:"}")+"'",r);if(t&&n)if((0===s||1===s&&"{"===t[a])&&r.text===t[a]){if(++a,a===t.length){e.splice(-a,a);break}}else a=0}while(0!==s||n);return"{"===o.text&&"}"===e[e.length-1].text&&(e.pop(),e.shift()),e.reverse(),{tokens:e,start:o,end:r}},e.consumeArgs=function(t,e){if(e){if(e.length!==t+1)throw new i("The length of delimiters doesn't match the number of args!");for(var n=e[0],r=0;rthis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting");var o=r.tokens,s=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){o=o.slice();for(var a=o.length-1;a>=0;--a){var l=o[a];if("#"===l.text){if(0===a)throw new i("Incomplete placeholder at end of macro body",l);if(l=o[--a],"#"===l.text)o.splice(a+1,1);else{if(!/^[1-9]$/.test(l.text))throw new i("Not a valid argument number",l);var c;(c=o).splice.apply(c,[a,2].concat(s[+l.text-1]))}}}}return this.pushTokens(o),o.length},e.expandAfterFuture=function(){return this.expandOnce(),this.future()},e.expandNextToken=function(){for(;;)if(!1===this.expandOnce()){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error},e.expandMacro=function(t){return this.macros.has(t)?this.expandTokens([new Vi(t)]):void 0},e.expandTokens=function(t){var e=[],n=this.stack.length;this.pushTokens(t);while(this.stack.length>n)if(!1===this.expandOnce(!0)){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),e.push(i)}return e},e.expandMacroAsText=function(t){var e=this.expandMacro(t);return e?e.map((function(t){return t.text})).join(""):e},e._getExpansion=function(t){var e=this.macros.get(t);if(null==e)return e;if(1===t.length){var n=this.lexer.catcodes[t];if(null!=n&&13!==n)return}var i="function"===typeof e?e(this):e;if("string"===typeof i){var r=0;if(-1!==i.indexOf("#")){var o=i.replace(/##/g,"");while(-1!==o.indexOf("#"+(r+1)))++r}var s=new Yr(i,this.settings),a=[],l=s.lex();while("EOF"!==l.text)a.push(l),l=s.lex();a.reverse();var c={tokens:a,numArgs:r};return c}return i},e.isDefined=function(t){return this.macros.has(t)||Br.hasOwnProperty(t)||Lt.math.hasOwnProperty(t)||Lt.text.hasOwnProperty(t)||io.hasOwnProperty(t)},e.isExpandable=function(t){var e=this.macros.get(t);return null!=e?"string"===typeof e||"function"===typeof e||!e.unexpandable:Br.hasOwnProperty(t)&&!Br[t].primitive},t}(),oo=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,so=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),ao={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},lo={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},co=function(){function t(t,e){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ro(t,e,this.mode),this.settings=e,this.leftrightDepth=0}var e=t.prototype;return e.expect=function(t,e){if(void 0===e&&(e=!0),this.fetch().text!==t)throw new i("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());e&&this.consume()},e.consume=function(){this.nextToken=null},e.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},e.switchMode=function(t){this.mode=t,this.gullet.switchMode(t)},e.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}},e.subparse=function(t){var e=this.nextToken;this.consume(),this.gullet.pushToken(new Vi("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=e,n},e.parseExpression=function(e,n){var i=[];while(1){"math"===this.mode&&this.consumeSpaces();var r=this.fetch();if(-1!==t.endOfExpression.indexOf(r.text))break;if(n&&r.text===n)break;if(e&&Br[r.text]&&Br[r.text].infix)break;var o=this.parseAtom(n);if(!o)break;"internal"!==o.type&&i.push(o)}return"text"===this.mode&&this.formLigatures(i),this.handleInfixNodes(i)},e.handleInfixNodes=function(t){for(var e,n=-1,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',t);var a,l=Lt[this.mode][e].group,c=Gi.range(t);if(Ot.hasOwnProperty(l)){var h=l;a={type:"atom",mode:this.mode,family:h,loc:c,text:e}}else a={type:l,mode:this.mode,loc:c,text:e};o=a}else{if(!(e.charCodeAt(0)>=128))return null;this.settings.strict&&(j(e.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+e[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+e[0]+'" ('+e.charCodeAt(0)+")",t)),o={type:"textord",mode:"text",loc:Gi.range(t),text:e}}if(this.consume(),s)for(var u=0;u`\\x00-\\x20]+",o="'[^']*'",s='"[^"]*"',a="(?:"+r+"|"+o+"|"+s+")",l="(?:\\s+"+i+"(?:\\s*=\\s*"+a+")?)",c="<[A-Za-z][A-Za-z0-9\\-]*"+l+"*\\s*\\/?>",h="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",u="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",d="<[?][\\s\\S]*?[?]>",p="]*>",f="",m=new RegExp("^(?:"+c+"|"+h+"|"+u+"|"+d+"|"+p+"|"+f+")"),g=new RegExp("^(?:"+c+"|"+h+")");t.exports.HTML_TAG_RE=m,t.exports.HTML_OPEN_CLOSE_TAG_RE=g},"577e":function(t,e,n){"use strict";var i=n("f5df"),r=String;t.exports=function(t){if("Symbol"===i(t))throw new TypeError("Cannot convert a Symbol value to a string");return r(t)}},"577e6":function(t,e,n){t.exports=n.p+"img/changyongziyuan.svg"},"57a6":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i,r=n("c4ab"),o=n("4dde"),s=n("2364");(function(t){t["Source"]="Source",t["Data"]="Data",t["Alternative"]="Alternative",t["Supplement"]="Supplement",t["EncryptedPayload"]="EncryptedPayload",t["FormData"]="EncryptedPayload",t["Schema"]="Schema",t["Unspecified"]="Unspecified"})(i||(i={}));var a=function(){function t(t,e,n){void 0===n&&(n={}),this.fileData=t,this.fileName=e,this.options=n}return t.for=function(e,n,i){return void 0===i&&(i={}),new t(e,n,i)},t.prototype.embedIntoContext=function(t,e){return Object(r["b"])(this,void 0,void 0,(function(){var n,i,a,l,c,h,u,d,p;return Object(r["d"])(this,(function(r){return n=this.options,i=n.mimeType,a=n.description,l=n.creationDate,c=n.modificationDate,h=n.afRelationship,u=t.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:null!==i&&void 0!==i?i:void 0,Params:{Size:this.fileData.length,CreationDate:l?o["a"].fromDate(l):void 0,ModDate:c?o["a"].fromDate(c):void 0}}),d=t.register(u),p=t.obj({Type:"Filespec",F:o["a"].of(this.fileName),UF:s["a"].fromText(this.fileName),EF:{F:d},Desc:a?s["a"].fromText(a):void 0,AFRelationship:null!==h&&void 0!==h?h:void 0}),e?(t.assign(e,p),[2,e]):[2,t.register(p)]}))}))},t}();e["b"]=a},"57e0":function(t,e,n){},5838:function(t,e,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},5865:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u5}));var i=n("6f27"),r=n("703f"),o=n("b923"),s=n("6ffb"),a=n("e3da"),l=n("442c"),c=n("72a8"),h=n("f201"),u=function(t,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},u(t,e)};function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var p=function(){return p=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=0&&ift}function gt(t,e){var n="https://www.google-analytics.com/collect",i=location.hostname,r="event",o="use",s="TOAST UI "+t+" for "+i+": Statistics",a=window.localStorage.getItem(s);(dt(window.tui)||!1!==window.tui.usageStatistics)&&(a&&!mt(a)||(window.localStorage.setItem(s,(new Date).getTime()),setTimeout((function(){"interactive"!==document.readyState&&"complete"!==document.readyState||pt(n,{v:1,t:r,tid:e,cid:i,dp:i,dh:t,el:t,ec:o})}),1e3)))}var vt=gt;/Mac/.test(navigator.platform);var bt=/[\u0020]+/g,yt=/[>(){}[\]+-.!#|]/g,wt=/<([a-zA-Z_][a-zA-Z0-9\-._]*)(\s|[^\\>])*\/?>|<(\/)([a-zA-Z_][a-zA-Z0-9\-._]*)\s*\/?>||<([a-zA-Z_][a-zA-Z0-9\-.:/]*)>/g,xt=/\\[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~\\]/g,Ct=/[*_~`]/g,kt=/!\[.*\]\(.*\)/g,At=/[[\]]/g,St=/(?:^|[^\\])\\(?!\\)/g,Tt='[&<>"]',Et=new RegExp(Tt,"g");function Mt(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return t}}function Nt(t){return Et.test(t)?t.replace(Et,Mt):t}function Ot(){vt("editor","UA-129966929-1")}function zt(t,e){return-1!==t.indexOf(e)}var Dt=["rel","target","hreflang","type"],Lt={codeblock:/(^ {4}[^\n]+\n*)+/,thematicBreak:/^ *((\* *){3,}|(- *){3,} *|(_ *){3,}) */,atxHeading:/^(#{1,6}) +[\s\S]+/,seTextheading:/^([^\n]+)\n *(=|-){2,} */,blockquote:/^( *>[^\n]+.*)+/,list:/^ *(\*+|-+|\d+\.) [\s\S]+/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? */,link:/!?\[.*\]\(.*\)/,reflink:/!?\[.*\]\s*\[([^\]]*)\]/,verticalBar:/\u007C/,fencedCodeblock:/^((`|~){3,})/};function It(t){if(!t)return null;var e={};return Dt.forEach((function(n){j(t[n])||(e[n]=t[n])})),e}function Ft(t,e){for(var n="",i=0;it[0]&&n=e&&t<=n}function Gt(t){return"object"===typeof t&&null!==t}function Vt(t,e){var n=p({},t);return t&&e&&Object.keys(e).forEach((function(t){Gt(n[t])?Array.isArray(e[t])?n[t]=Kt(e[t]):n.hasOwnProperty(t)?n[t]=Vt(n[t],e[t]):n[t]=Yt(e[t]):n[t]=e[t]})),n}function Kt(t){return t.map((function(t){return Gt(t)?Array.isArray(t)?Kt(t):Yt(t):t}))}function Yt(t){var e=Object.keys(t);return e.length?e.reduce((function(e,n){return Gt(t[n])?e[n]=Array.isArray(t[n])?Kt(t[n]):Yt(t[n]):e[n]=t[n],e}),{}):t}function Zt(t,e){return void 0===e&&(e={}),Object.keys(e).forEach((function(n){t.hasOwnProperty(n)&&"object"===typeof t[n]?Array.isArray(e[n])?t[n]=e[n]:Zt(t[n],e[n]):t[n]=e[n]})),t}function Xt(t,e){return t>e?[e,t]:[t,e]}var Qt=S;function Jt(t){var e;try{e=Array.prototype.slice.call(t)}catch(n){e=[],Qt(t,(function(t){e.push(t)}))}return e}var _t=Jt;function $t(t,e){var n=t.nodes.paragraph;return e?n.create(null,x(e)?t.text(e):e):n.createAndFill()}function te(t,e,n){return t.text(e,n)}function ee(t,e,n){void 0===n&&(n=e);var i=t.doc.content.size,r=i>0?i-1:1;return s["TextSelection"].create(t.doc,Math.min(e,r),Math.min(n,r))}function ne(t,e,n){var i=e.pos;return t.replaceWith(i,i,$t(n)),t.setSelection(ee(t,i+1))}function ie(t){for(var e=t.state,n=t.from,r=t.startIndex,o=t.endIndex,s=t.createText,a=e.tr,l=e.doc,c=e.schema,h=r;h<=o;h+=1){var u=l.child(h),d=u.nodeSize,p=u.textContent,f=u.content,m=s(p),g=m?te(c,m):i["Fragment"].empty,v=a.mapping.map(n),b=v+f.size;a.replaceWith(v,b,g),n+=d}return a}function re(t,e,n,i){var r=n.length;t.split(e).delete(e-r,e).insert(t.mapping.map(e),i).setSelection(ee(t,t.mapping.map(e)-r))}function oe(t){return t.sourcepos[0][0]}function se(t){return t.sourcepos[1][0]}function ae(t){return t.sourcepos[0][1]}function le(t){return t.sourcepos[1][1]}function ce(t){var e=t.type;return"htmlBlock"===e||"htmlInline"===e}function he(t){var e=t.type;return"strike"===e||"strong"===e||"emph"===e||"code"===e||"link"===e||"image"===e}function ue(t){return t&&"codeBlock"===t.type}function de(t){return t&&("item"===t.type||"list"===t.type)}function pe(t){return de(t)&&"ordered"===t.listData.type}function fe(t){return de(t)&&"ordered"!==t.listData.type}function me(t){return t&&("tableCell"===t.type||"tableDelimCell"===t.type)}function ge(t){switch(t.type){case"code":case"text":case"emph":case"strong":case"strike":case"link":case"image":case"htmlInline":case"linebreak":case"softbreak":case"customInline":return!0;default:return!1}}function ve(t,e,n){void 0===n&&(n=!0),t=n?t:t.parent;while(t&&"document"!==t.type){if(e(t))return t;t=t.parent}return null}function be(t,e,n){void 0===n&&(n=!0),t=n?t:t.parent;while(t&&"document"!==t.type)e(t),t=t.parent}function ye(t,e){return[t[0],t[1]+e]}function we(t,e){return[t[0],e]}function xe(t){var e=t.firstChild.literal;switch(t.type){case"emph":return"*"+e+"*";case"strong":return"**"+e+"**";case"strike":return"~~"+e+"~~";case"code":return"`"+e+"`";case"link":case"image":var n=t,i=n.destination,r=n.title,o="link"===t.type?"":"!";return o+"["+e+"]("+i+(r?' "'+r+'"':"")+")";default:return null}}function Ce(t){switch(t.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}function ke(t){var e=[],n=t.walker(),i=null;while(i=n.next()){var r=i.node;"text"===r.type&&e.push(r.literal)}return e.join("")}var Ae=[],Se={},Te=/\$\$widget\d+\s/;function Ee(t){var e=t.search(Te);if(-1!==e){var n=t.substring(e),i=n.replace(Te,"").replace("$$","");t=t.substring(0,e),t+=Ee(i)}return t}function Me(t,e){return"$$"+t+" "+e+"$$"}function Ne(t,e){var n=Se[t],i=n.rule,r=n.toDOM,o=Ee(e).match(i);return o&&(e=o[0]),r(e)}function Oe(){return Ae}function ze(t){Ae=t,Ae.forEach((function(t,e){Se["widget"+e]=t}))}function De(t,e,n,i){return t.concat(Le(e,n,i))}function Le(t,e,n){void 0===n&&(n=0);var i=[],r=(Ae[n]||{}).rule,o=n+1;if(t=Ee(t),r&&r.test(t)){var s=void 0;while(-1!==(s=t.search(r))){var a=t.substring(0,s);a&&(i=De(i,a,e,o)),t=t.substring(s);var l=t.match(r)[0],c="widget"+n;i.push(e.nodes.widget.create({info:c},e.text(Me(c,l)))),t=t.substring(l.length)}t&&(i=De(i,t,e,o))}else t&&(i=n-1)}var qe=je,He=P,Ue=_t,We=Element.prototype,Ge=We.matches||We.webkitMatchesSelector||We.mozMatchesSelector||We.msMatchesSelector||function(t){var e=this.document||this.ownerDocument;return He(this,Ue(e.querySelectorAll(t)))>-1};function Ve(t,e){return Ge.call(t,e)}var Ke=Ve,Ye="[A-Za-z][A-Za-z0-9-]*",Ze="[a-zA-Z_:][a-zA-Z0-9:._-]*",Xe="[^\"'=<>`\\x00-\\x20]+",Qe="'[^']*'",Je='"[^"]*"',_e="(?:"+Xe+"|"+Qe+"|"+Je+")",$e="(?:\\s*=\\s*"+_e+")",tn="(?:\\s+"+Ze+$e+"?)",en="<("+Ye+")("+tn+")*\\s*/?>",nn="]",rn="(?:"+en+"|"+nn+")",on=new RegExp("^"+rn,"i"),sn=//i,an=/|/,ln="

";function cn(t,e,n){var i=parseInt(t.left,10),r=parseInt(t.top,10),o=parseInt(t.width,10)+parseInt(t.paddingLeft,10)+parseInt(t.paddingRight,10),s=parseInt(t.height,10)+parseInt(t.paddingTop,10)+parseInt(t.paddingBottom,10);return e>=i&&e<=i+o&&n>=r&&n<=r+s}var hn="toastui-editor-";function un(){for(var t=[],e=0;e<\/p>/gi,"

"),n=new RegExp(rn,"ig"),i=e.match(n);return null===i||void 0===i||i.forEach((function(t,n){if(sn.test(t)){var r=ln;if(n){var o=i[n-1],s=o.match(en);if(s&&!/br/i.test(s[1])){var a=s[1];r="<"+a+">"}}e=e.replace(sn,r)}})),e}function En(t){var e=//g,n=/ class="ProseMirror-trailingBreak"/g,i=t;return i=i.replace(e,""),i=i.replace(n,""),i}var Mn=new s["PluginKey"]("widget"),Nn=5,On=function(){function t(t,e){var n=this;this.popup=null,this.removeWidget=function(){n.popup&&(n.rootEl.removeChild(n.popup),n.popup=null)},this.rootEl=t.dom.parentElement,this.eventEmitter=e,this.eventEmitter.listen("blur",this.removeWidget),this.eventEmitter.listen("loadUI",(function(){n.rootEl=kn(t.dom.parentElement,"."+un("defaultUI"))})),this.eventEmitter.listen("removePopupWidget",this.removeWidget)}return t.prototype.update=function(t){var e=Mn.getState(t.state);if(this.removeWidget(),e){var n=e.node,i=e.style,r=t.coordsAtPos(e.pos),o=r.top,s=r.left,a=r.bottom,l=a-o,c=this.rootEl.getBoundingClientRect(),h=o-c.top;I(n,{opacity:"0"}),this.rootEl.appendChild(n),I(n,{position:"absolute",left:s-c.left+Nn+"px",top:("bottom"===i?h+l-Nn:h-l)+"px",opacity:"1"}),this.popup=n,t.focus()}},t.prototype.destroy=function(){this.eventEmitter.removeEventHandler("blur",this.removeWidget)},t}();function zn(t){return new s["Plugin"]({key:Mn,state:{init:function(){return null},apply:function(t){return t.getMeta("widget")}},view:function(e){return new On(e,t)}})}function Dn(t){t.listen("addImageBlobHook",(function(t,e){var n=new FileReader;n.onload=function(t){var n=t.target;return e(n.result)},n.readAsDataURL(t)}))}function Ln(t,e,n){var i=function(n,i){t.emit("command","addImage",{imageUrl:n,altText:i||e.name||"image"})};t.emit("addImageBlobHook",e,i,n)}function In(t){var e=_t(t).filter((function(t){var e=t.type;return-1!==e.indexOf("image")}));if(1===e.length){var n=e[0];if(n)return n.getAsFile()}return null}function Fn(t){var e=t.eventEmitter;return new s["Plugin"]({props:{handleDOMEvents:{drop:function(t,n){var i,r=null===(i=n.dataTransfer)||void 0===i?void 0:i.files;return r&&S(r,(function(t){return-1===t.type.indexOf("image")||(n.preventDefault(),n.stopPropagation(),Ln(e,t,n.type),!1)})),!0}}}})}var Rn=function(){function t(){}return Object.defineProperty(t.prototype,"type",{get:function(){return"node"},enumerable:!1,configurable:!0}),t.prototype.setContext=function(t){this.context=t},t}();function Pn(t){var e=document.createElement("span"),n=Ne(t.attrs.info,t.textContent);return e.className="tui-widget",e.appendChild(n),{dom:e}}function Bn(t){return"widget"===t.type.name}var jn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"widget"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"schema",{get:function(){return{attrs:{info:{default:null}},group:"inline",inline:!0,content:"text*",selectable:!1,atom:!0,toDOM:function(){return["span",{class:"tui-widget"},0]},parseDOM:[{tag:"span.tui-widget",getAttrs:function(t){var e=t.textContent,n=e.match(/\$\$(widget\d+)/),i=n[1];return{info:i}}}]}},enumerable:!1,configurable:!0}),e}(Rn),qn=function(){function t(t){this.timer=null,this.el=document.createElement("div"),this.el.className="toastui-editor",this.eventEmitter=t,this.placeholder={text:""}}return t.prototype.createState=function(){return s["EditorState"].create({schema:this.schema,plugins:this.createPlugins()})},t.prototype.initEvent=function(){var t=this,e=t.eventEmitter,n=t.view,i=t.editorType;n.dom.addEventListener("focus",(function(){return e.emit("focus",i)})),n.dom.addEventListener("blur",(function(){return e.emit("blur",i)}))},t.prototype.emitChangeEvent=function(t){this.eventEmitter.emit("caretChange",this.editorType),t.docChanged&&this.eventEmitter.emit("change",this.editorType)},Object.defineProperty(t.prototype,"defaultPlugins",{get:function(){var t=this.createInputRules(),e=f(f([],this.keymaps),[Object(a["keymap"])(p({"Shift-Enter":l["a"].Enter},l["a"])),Object(h["a"])(),Re(this.placeholder),zn(this.eventEmitter),Fn(this.context)]);return t?e.concat(t):e},enumerable:!1,configurable:!0}),t.prototype.createInputRules=function(){var t=Oe(),e=t.map((function(t){var e=t.rule;return new c["InputRule"](e,(function(t,n,i,r){var o=t.schema,s=t.tr,a=t.doc,l=n.input.match(new RegExp(e,"g")),c=a.resolve(i),h=c.parent,u=0;if(Bn(h)&&(h=c.node(c.depth-1)),h.forEach((function(t){return Bn(t)&&(u+=1)})),l.length>u){var d=Ut(l),p=Le(d,o);return s.replaceWith(r-d.length+1,r,p)}return null}))}));return e.length?Object(c["inputRules"])({rules:e}):null},t.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},t.prototype.createSchema=function(){return new i["Schema"]({nodes:this.specs.nodes,marks:this.specs.marks})},t.prototype.createKeymaps=function(t){var e=Fe(),n=e.undo,i=e.redo,r=this.specs.keymaps(t),o={"Mod-z":n(),"Shift-Mod-z":i()};return t?r.concat(Object(a["keymap"])(o)):r},t.prototype.createCommands=function(){return this.specs.commands(this.view)},t.prototype.createPluginProps=function(){var t=this;return this.extraPlugins.map((function(e){return e(t.eventEmitter)}))},t.prototype.focus=function(){var t=this;this.clearTimer(),this.timer=setTimeout((function(){t.view.focus(),t.view.dispatch(t.view.state.tr.scrollIntoView())}))},t.prototype.blur=function(){this.view.dom.blur()},t.prototype.destroy=function(){var t=this;this.clearTimer(),this.view.destroy(),Object.keys(this).forEach((function(e){delete t[e]}))},t.prototype.moveCursorToStart=function(t){var e=this.view.state.tr;this.view.dispatch(e.setSelection(ee(e,1)).scrollIntoView()),t&&this.focus()},t.prototype.moveCursorToEnd=function(t){var e=this.view.state.tr;this.view.dispatch(e.setSelection(ee(e,e.doc.content.size-1)).scrollIntoView()),t&&this.focus()},t.prototype.setScrollTop=function(t){this.view.dom.scrollTop=t},t.prototype.getScrollTop=function(){return this.view.dom.scrollTop},t.prototype.setPlaceholder=function(t){this.placeholder.text=t,this.view.dispatch(this.view.state.tr.scrollIntoView())},t.prototype.setHeight=function(t){I(this.el,{height:t+"px"})},t.prototype.setMinHeight=function(t){I(this.el,{minHeight:t+"px"})},t.prototype.getElement=function(){return this.el},t}();function Hn(t){return t instanceof Function}var Un=Hn,Wn=["Enter","Shift-Enter","Mod-Enter","Tab","Shift-Tab","Delete","Backspace","Mod-Delete","Mod-Backspace","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Mod-d","Mod-D","Alt-ArrowUp","Alt-ArrowDown"];function Gn(t,e,n){return t.focus(),e(n)(t.state,t.dispatch,t)}var Vn=function(){function t(t){this.specs=t}return Object.defineProperty(t.prototype,"nodes",{get:function(){return this.specs.filter((function(t){return"node"===t.type})).reduce((function(t,e){var n,i=e.name,r=e.schema;return p(p({},t),(n={},n[i]=r,n))}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"marks",{get:function(){return this.specs.filter((function(t){return"mark"===t.type})).reduce((function(t,e){var n,i=e.name,r=e.schema;return p(p({},t),(n={},n[i]=r,n))}),{})},enumerable:!1,configurable:!0}),t.prototype.commands=function(t,e){var n=this.specs.filter((function(t){var e=t.commands;return e})).reduce((function(e,n){var i={},r=n.commands();return Un(r)?i[n.name]=function(e){return Gn(t,r,e)}:Object.keys(r).forEach((function(e){i[e]=function(n){return Gn(t,r[e],n)}})),p(p({},e),i)}),{}),i=Fe();return Object.keys(i).forEach((function(e){n[e]=function(n){return Gn(t,i[e],n)}})),e&&Object.keys(e).forEach((function(i){n[i]=function(n){return Gn(t,e[i],n)}})),n},t.prototype.keymaps=function(t){var e=this.specs.filter((function(t){return t.keymaps})).map((function(t){return t.keymaps()}));return e.map((function(e){return t||Object.keys(e).forEach((function(t){zt(Wn,t)||delete e[t]})),Object(a["keymap"])(e)}))},t.prototype.setContext=function(t){this.specs.forEach((function(e){e.setContext(t)}))},t}();function Kn(t){var e=t.from,n=t.to;return t instanceof s["AllSelection"]?[e+1,n-1]:[e,n]}function Yn(t){return t.index(0)+1}function Zn(t,e,n){void 0===n&&(n=1);var i=0;return t.forEach((function(t,r){Bn(t)&&r+2 ?/,_i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"blockQuote"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:dn("block-quote")},0]}}},enumerable:!1,configurable:!0}),e.prototype.createBlockQuoteText=function(t,e){return e?t.replace(Ji,"").trim():"> "+t.trim()},e.prototype.extendBlockQuote=function(){var t=this;return function(e,n){var i=e.selection,r=e.doc,o=e.tr,s=e.schema,a=_n(i),l=a.endFromOffset,c=a.endToOffset,h=a.endIndex,u=a.to,d=Qi(r,h),p=Ji.test(d);if(p&&u>l&&i.empty){var f=!d.replace(Ji,"").trim();if(f)o.deleteRange(l,c).split(o.mapping.map(c));else{var m=d.slice(u-l).trim(),g=te(s,t.createBlockQuoteText(m));re(o,c,m,g)}return n(o),!0}return!1}},e.prototype.commands=function(){var t=this;return function(){return function(e,n){var i=e.selection,r=e.doc,o=_n(i),s=o.startFromOffset,a=o.endToOffset,l=o.startIndex,c=o.endIndex,h=Ji.test(Qi(r,l)),u=ie({state:e,startIndex:l,endIndex:c,from:s,createText:function(e){return t.createBlockQuoteText(e,h)}});return n(u.setSelection(ee(u,u.mapping.map(a)))),!0}}},e.prototype.keymaps=function(){var t=this.commands()();return{"alt-q":t,"alt-Q":t,Enter:this.extendBlockQuote()}},e}(Zi),$i=/(^\s*)([-*+] |[\d]+\. )/,tr=/(^\s*)([\d])+\.( \[[ xX]])? /,er=/^(\s*)((\d+)([.)]\s(?:\[(?:x|\s)\]\s)?))(.*)/,nr=/(^\s*)([-*+]|[\d]+\.)( \[[ xX]])? /,ir=/^(\s*)([-*+]+(\s(?:\[(?:x|\s)\]\s)?))(.*)/,rr=/(^\s*)([-*+] |[\d]+\. )(\[[ xX]] )/,or=/(^\s*)([-*+])( \[[ xX]]) /;function sr(t){return tr.test(t)?"ordered":"bullet"}function ar(t){var e=0;while(t&&"document"!==t.type)"list"===t.type&&(e+=1),t=t.parent;return e}function lr(t,e,n,i){var r=t.getLineTexts(),o=r.length,s=[],a=e;while(i?a1){a=i?a+1:a-1;var l=t.findFirstNodeAtLine(a),c=ar(l);if(c===n)s.push({line:a,depth:n,mdNode:l});else if(c0;c-=1){var h=e.findFirstNodeAtLine(c),u=Xi(n,c),d=u&&!!ve(h,(function(t){return de(t)})),p=er.exec(Xi(n,c));if(!p&&!d)break;if(p||!d){var f=p,m=f[1],g=f[3];if(!m){s=Number(g),a=c;break}}else l+=1}var v=s+i-a-l,b=[{text:v+". "+o,line:i}];return{changedResults:b}},task:function(t){var e=t.doc,n=t.line,i=Xi(e,n),r=[{text:"* [ ] "+i,line:n}];return{changedResults:r}}},gr={bullet:function(t){var e=t.line,n=t.doc,i=Xi(n,e),r=ir.exec(i),o=r[1],s=r[2];return{listSyntax:""+o+s}},ordered:function(t){var e=t.toastMark,n=t.line,i=t.mdNode,r=t.doc,o=ar(i),s=Xi(r,n),a=er.exec(s),l=a[1],c=a[3],h=a[4],u=Number(c)+1,d=""+l+u+h,f=lr(e,n,o,!0),m=f.filter((function(t){var e=er.exec(Xi(r,t.line));return e&&e[1].length===l.length&&!!ve(t.mdNode,(function(t){return pe(t)}))}));return p({listSyntax:d},dr(r,m,"ordered",u))}};function vr(t,e,n,i,r){var o=[],s=Xi(t,n),a=er.exec(s);while(a){var l=a[1],c=a[4],h=a[5],u=l.length;if(u===r)o.push(te(e,""+l+i+c+h)),i+=1,n+=1;else if(u>r){var d=vr(t,e,n,1,u);n=d.line,o=o.concat(d.nodes)}if(ut.childCount)break;s=Xi(t,n),a=er.exec(s)}return{nodes:o,line:n}}var br=/(^\s{1,4})(.*)/;function yr(t,e,n){return t0){var h=i.child(c-1),u=h.nodeSize,d=h.textContent;return n.delete(a-u,a).split(n.mapping.map(l)).insert(n.mapping.map(l),te(o,d)),e(n),!0}return!1}},e.prototype.commands=function(){return{indent:this.indent(),outdent:this.outdent()}},e.prototype.keymaps=function(){return{Tab:this.indent(!0)(),"Shift-Tab":this.outdent(!0)(),"Mod-d":this.deleteLines(),"Mod-D":this.deleteLines(),"Alt-ArrowUp":this.moveUp(),"Alt-ArrowDown":this.moveDown()}},e}(Rn),kr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"text"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"schema",{get:function(){return{group:"inline"}},enumerable:!1,configurable:!0}),e}(Rn),Ar=/^#{1,6}\s/,Sr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"heading"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"schema",{get:function(){return{attrs:{level:{default:1},seText:{default:!1}},toDOM:function(t){var e=t.attrs,n=e.level,i=e.seText,r="heading|heading"+n;return i&&(r+="|delimiter|setext"),["span",{class:dn.apply(void 0,r.split("|"))},0]}}},enumerable:!1,configurable:!0}),e.prototype.createHeadingText=function(t,e,n){var i=e.replace(n,"").trim(),r="";while(t>0)r+="#",t-=1;return r+" "+i},e.prototype.commands=function(){var t=this;return function(e){return function(n,i){var r=e.level,o=_n(n.selection),s=o.startFromOffset,a=o.endToOffset,l=o.startIndex,c=o.endIndex,h=ie({state:n,from:s,startIndex:l,endIndex:c,createText:function(e){var n=e.match(Ar),i=n?n[0]:"";return t.createHeadingText(r,e,i)}});return i(h.setSelection(ee(h,h.mapping.map(a)))),!0}}},e}(Zi),Tr="```",Er=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"codeBlock"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"schema",{get:function(){return{toDOM:function(){return["span",{class:dn("code-block")},0]}}},enumerable:!1,configurable:!0}),e.prototype.commands=function(){return function(){return function(t,e){var n=t.selection,i=t.schema,r=t.tr,o=_n(n),s=o.startFromOffset,a=o.endToOffset,l=te(i,Tr);return r.insert(s,l).split(s+Tr.length),r.split(r.mapping.map(a)).insert(r.mapping.map(a),l),e(r.setSelection(ee(r,r.mapping.map(a)-(Tr.length+2)))),!0}}},e.prototype.keepIndentation=function(){var t=this;return function(e,n){var i=e.selection,r=e.tr,o=e.doc,s=e.schema,a=t.context.toastMark,l=_n(i),c=l.startFromOffset,h=l.endToOffset,u=l.endIndex,d=l.from,p=l.to,f=Qi(o,u);if(d===p&&f.trim()){var m=f.match(/^\s+/),g=a.findFirstNodeAtLine(u+1);if(ue(g)&&m){var v=m[0],b=f.slice(p-c),y=te(s,v+b);return re(r,h,b,y),n(r),!0}}return!1}},e.prototype.keymaps=function(){var t=this.commands()();return{"Shift-Mod-p":t,"Shift-Mod-P":t,Enter:this.keepIndentation()}},e}(Zi),Mr=/\||\s/g;function Nr(t){return[zr(t),zr(t,!0)]}function Or(t,e){for(var n=[],i=0;i0&&(e+="\n")})),e},e.prototype.setSelection=function(t,e){void 0===e&&(e=t);var n=this.view.state.tr,i=Jn(n.doc,t,e),r=i[0],o=i[1];this.view.dispatch(n.setSelection(ee(n,r,o)).scrollIntoView())},e.prototype.replaceSelection=function(t,e,n){var r,o=this.view.state,s=o.tr,a=o.schema,l=o.doc,c=t.split(ho),h=c.map((function(t){return $t(a,Le(t,a))})),u=new i["Slice"](i["Fragment"].from(h),1,1);if(this.focus(),e&&n){var d=Jn(l,e,n),p=d[0],f=d[1];r=s.replaceRange(p,f,u)}else r=s.replaceSelection(u);this.view.dispatch(r.scrollIntoView())},e.prototype.deleteSelection=function(t,e){var n,i=this.view.state,r=i.tr,o=i.doc;if(t&&e){var s=Jn(o,t,e),a=s[0],l=s[1];n=r.deleteRange(a,l)}else n=r.deleteSelection();this.view.dispatch(n.scrollIntoView())},e.prototype.getSelectedText=function(t,e){var n=this.view.state,i=n.doc,r=n.selection,o=r.from,s=r.to;if(t&&e){var a=Jn(i,t,e);o=a[0],s=a[1]}return i.textBetween(o,s,"\n")},e.prototype.getSelection=function(){var t=this.view.state.selection,e=t.from,n=t.to;return Xn(this.view.state.tr.doc,e,n)},e.prototype.setMarkdown=function(t,e){void 0===e&&(e=!0);var n=t.split(ho),i=this.view.state,r=i.tr,o=i.doc,s=i.schema,a=n.map((function(t){return $t(s,Le(t,s))}));this.view.dispatch(r.replaceWith(0,o.content.size,a)),e&&this.moveCursorToEnd(!0)},e.prototype.addWidget=function(t,e,n){var i=this.view.state,r=i.tr,o=i.doc,s=i.selection,a=n?Jn(o,n,n)[0]:s.to;this.view.dispatch(r.setMeta("widget",{pos:a,node:t,style:e}))},e.prototype.replaceWithWidget=function(t,e,n){var i=this.view.state,r=i.tr,o=i.schema,s=i.doc,a=Jn(s,t,e),l=Le(n,o);this.view.dispatch(r.replaceWith(a[0],a[1],l))},e.prototype.getRangeInfoOfNode=function(t){var e=this.view.state,n=e.doc,i=e.selection,r=t||Xn(n,i.from)[0],o=this.toastMark.findNodeAtPosition(r);return"text"===o.type&&"paragraph"!==o.parent.type&&(o=o.parent),o.sourcepos[1][1]+=1,{range:o.sourcepos,type:o.type}},e.prototype.getMarkdown=function(){return this.toastMark.getLineTexts().map((function(t){return Ee(t)})).join("\n")},e.prototype.getToastMark=function(){return this.toastMark},e}(qn),po="_feEventKey";function fo(t,e){var n,i=t[po];return i||(i=t[po]={}),n=i[e],n||(n=i[e]=[]),n}var mo=fo,go=x,vo=O,bo=mo;function yo(t,e,n){go(e)?vo(e.split(/\s+/g),(function(e){wo(t,e,n)})):vo(e,(function(e,n){wo(t,n,e)}))}function wo(t,e,n){var i,r=bo(t,e);n?(vo(r,(function(r,o){return n!==r.handler||(xo(t,e,r.wrappedHandler),i=o,!1)})),r.splice(i,1)):(vo(r,(function(n){xo(t,e,n.wrappedHandler)})),r.splice(0,r.length))}function xo(t,e,n){"removeEventListener"in t?t.removeEventListener(e,n):"detachEvent"in t&&t.detachEvent("on"+e,n)}var Co=yo,ko=x,Ao=O,So=mo;function To(t,e,n,i){ko(e)?Ao(e.split(/\s+/g),(function(e){Eo(t,e,n,i)})):Ao(e,(function(e,i){Eo(t,i,e,n)}))}function Eo(t,e,n,i){function r(e){n.call(i||t,e||window.event)}"addEventListener"in t?t.addEventListener(e,r):"attachEvent"in t&&t.attachEvent("on"+e,r),Mo(t,e,n,r)}function Mo(t,e,n,i){var r=So(t,e),o=!1;Ao(r,(function(t){return t.handler!==n||(o=!0,!1)})),o||r.push({handler:n,wrappedHandler:i})}var No=To,Oo=function(t,e){return Oo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Oo(t,e)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */function zo(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Oo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Do=function(){return Do=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=55296&&o<=57343){if(o>=55296&&o<=56319&&i+1=56320&&s<=57343)){l+=encodeURIComponent(t[i]+t[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[i]);return l}Po.defaultChars=";/?:@&=+$,-_.!~*'()#",Po.componentChars="-_.!~*'()";var Bo=Po,jo={},qo={},Ho="Á",Uo="á",Wo="Ă",Go="ă",Vo="∾",Ko="∿",Yo="∾̳",Zo="Â",Xo="â",Qo="´",Jo="А",_o="а",$o="Æ",ts="æ",es="⁡",ns="𝔄",is="𝔞",rs="À",os="à",ss="ℵ",as="ℵ",ls="Α",cs="α",hs="Ā",us="ā",ds="⨿",ps="&",fs="&",ms="⩕",gs="⩓",vs="∧",bs="⩜",ys="⩘",ws="⩚",xs="∠",Cs="⦤",ks="∠",As="⦨",Ss="⦩",Ts="⦪",Es="⦫",Ms="⦬",Ns="⦭",Os="⦮",zs="⦯",Ds="∡",Ls="∟",Is="⊾",Fs="⦝",Rs="∢",Ps="Å",Bs="⍼",js="Ą",qs="ą",Hs="𝔸",Us="𝕒",Ws="⩯",Gs="≈",Vs="⩰",Ks="≊",Ys="≋",Zs="'",Xs="⁡",Qs="≈",Js="≊",_s="Å",$s="å",ta="𝒜",ea="𝒶",na="≔",ia="*",ra="≈",oa="≍",sa="Ã",aa="ã",la="Ä",ca="ä",ha="∳",ua="⨑",da="≌",pa="϶",fa="‵",ma="∽",ga="⋍",va="∖",ba="⫧",ya="⊽",wa="⌅",xa="⌆",Ca="⌅",ka="⎵",Aa="⎶",Sa="≌",Ta="Б",Ea="б",Ma="„",Na="∵",Oa="∵",za="∵",Da="⦰",La="϶",Ia="ℬ",Fa="ℬ",Ra="Β",Pa="β",Ba="ℶ",ja="≬",qa="𝔅",Ha="𝔟",Ua="⋂",Wa="◯",Ga="⋃",Va="⨀",Ka="⨁",Ya="⨂",Za="⨆",Xa="★",Qa="▽",Ja="△",_a="⨄",$a="⋁",tl="⋀",el="⤍",nl="⧫",il="▪",rl="▴",ol="▾",sl="◂",al="▸",ll="␣",cl="▒",hl="░",ul="▓",dl="█",pl="=⃥",fl="≡⃥",ml="⫭",gl="⌐",vl="𝔹",bl="𝕓",yl="⊥",wl="⊥",xl="⋈",Cl="⧉",kl="┐",Al="╕",Sl="╖",Tl="╗",El="┌",Ml="╒",Nl="╓",Ol="╔",zl="─",Dl="═",Ll="┬",Il="╤",Fl="╥",Rl="╦",Pl="┴",Bl="╧",jl="╨",ql="╩",Hl="⊟",Ul="⊞",Wl="⊠",Gl="┘",Vl="╛",Kl="╜",Yl="╝",Zl="└",Xl="╘",Ql="╙",Jl="╚",_l="│",$l="║",tc="┼",ec="╪",nc="╫",ic="╬",rc="┤",oc="╡",sc="╢",ac="╣",lc="├",cc="╞",hc="╟",uc="╠",dc="‵",pc="˘",fc="˘",mc="¦",gc="𝒷",vc="ℬ",bc="⁏",yc="∽",wc="⋍",xc="⧅",Cc="\\",kc="⟈",Ac="•",Sc="•",Tc="≎",Ec="⪮",Mc="≏",Nc="≎",Oc="≏",zc="Ć",Dc="ć",Lc="⩄",Ic="⩉",Fc="⩋",Rc="∩",Pc="⋒",Bc="⩇",jc="⩀",qc="ⅅ",Hc="∩︀",Uc="⁁",Wc="ˇ",Gc="ℭ",Vc="⩍",Kc="Č",Yc="č",Zc="Ç",Xc="ç",Qc="Ĉ",Jc="ĉ",_c="∰",$c="⩌",th="⩐",eh="Ċ",nh="ċ",ih="¸",rh="¸",oh="⦲",sh="¢",ah="·",lh="·",ch="𝔠",hh="ℭ",uh="Ч",dh="ч",ph="✓",fh="✓",mh="Χ",gh="χ",vh="ˆ",bh="≗",yh="↺",wh="↻",xh="⊛",Ch="⊚",kh="⊝",Ah="⊙",Sh="®",Th="Ⓢ",Eh="⊖",Mh="⊕",Nh="⊗",Oh="○",zh="⧃",Dh="≗",Lh="⨐",Ih="⫯",Fh="⧂",Rh="∲",Ph="”",Bh="’",jh="♣",qh="♣",Hh=":",Uh="∷",Wh="⩴",Gh="≔",Vh="≔",Kh=",",Yh="@",Zh="∁",Xh="∘",Qh="∁",Jh="ℂ",_h="≅",$h="⩭",tu="≡",eu="∮",nu="∯",iu="∮",ru="𝕔",ou="ℂ",su="∐",au="∐",lu="©",cu="©",hu="℗",uu="∳",du="↵",pu="✗",fu="⨯",mu="𝒞",gu="𝒸",vu="⫏",bu="⫑",yu="⫐",wu="⫒",xu="⋯",Cu="⤸",ku="⤵",Au="⋞",Su="⋟",Tu="↶",Eu="⤽",Mu="⩈",Nu="⩆",Ou="≍",zu="∪",Du="⋓",Lu="⩊",Iu="⊍",Fu="⩅",Ru="∪︀",Pu="↷",Bu="⤼",ju="⋞",qu="⋟",Hu="⋎",Uu="⋏",Wu="¤",Gu="↶",Vu="↷",Ku="⋎",Yu="⋏",Zu="∲",Xu="∱",Qu="⌭",Ju="†",_u="‡",$u="ℸ",td="↓",ed="↡",nd="⇓",id="‐",rd="⫤",od="⊣",sd="⤏",ad="˝",ld="Ď",cd="ď",hd="Д",ud="д",dd="‡",pd="⇊",fd="ⅅ",md="ⅆ",gd="⤑",vd="⩷",bd="°",yd="∇",wd="Δ",xd="δ",Cd="⦱",kd="⥿",Ad="𝔇",Sd="𝔡",Td="⥥",Ed="⇃",Md="⇂",Nd="´",Od="˙",zd="˝",Dd="`",Ld="˜",Id="⋄",Fd="⋄",Rd="⋄",Pd="♦",Bd="♦",jd="¨",qd="ⅆ",Hd="ϝ",Ud="⋲",Wd="÷",Gd="÷",Vd="⋇",Kd="⋇",Yd="Ђ",Zd="ђ",Xd="⌞",Qd="⌍",Jd="$",_d="𝔻",$d="𝕕",tp="¨",ep="˙",np="⃜",ip="≐",rp="≑",op="≐",sp="∸",ap="∔",lp="⊡",cp="⌆",hp="∯",up="¨",dp="⇓",pp="⇐",fp="⇔",mp="⫤",gp="⟸",vp="⟺",bp="⟹",yp="⇒",wp="⊨",xp="⇑",Cp="⇕",kp="∥",Ap="⤓",Sp="↓",Tp="↓",Ep="⇓",Mp="⇵",Np="̑",Op="⇊",zp="⇃",Dp="⇂",Lp="⥐",Ip="⥞",Fp="⥖",Rp="↽",Pp="⥟",Bp="⥗",jp="⇁",qp="↧",Hp="⊤",Up="⤐",Wp="⌟",Gp="⌌",Vp="𝒟",Kp="𝒹",Yp="Ѕ",Zp="ѕ",Xp="⧶",Qp="Đ",Jp="đ",_p="⋱",$p="▿",tf="▾",ef="⇵",nf="⥯",rf="⦦",of="Џ",sf="џ",af="⟿",lf="É",cf="é",hf="⩮",uf="Ě",df="ě",pf="Ê",ff="ê",mf="≖",gf="≕",vf="Э",bf="э",yf="⩷",wf="Ė",xf="ė",Cf="≑",kf="ⅇ",Af="≒",Sf="𝔈",Tf="𝔢",Ef="⪚",Mf="È",Nf="è",Of="⪖",zf="⪘",Df="⪙",Lf="∈",If="⏧",Ff="ℓ",Rf="⪕",Pf="⪗",Bf="Ē",jf="ē",qf="∅",Hf="∅",Uf="◻",Wf="∅",Gf="▫",Vf=" ",Kf=" ",Yf=" ",Zf="Ŋ",Xf="ŋ",Qf=" ",Jf="Ę",_f="ę",$f="𝔼",tm="𝕖",em="⋕",nm="⧣",im="⩱",rm="ε",om="Ε",sm="ε",am="ϵ",lm="≖",cm="≕",hm="≂",um="⪖",dm="⪕",pm="⩵",fm="=",mm="≂",gm="≟",vm="⇌",bm="≡",ym="⩸",wm="⧥",xm="⥱",Cm="≓",km="ℯ",Am="ℰ",Sm="≐",Tm="⩳",Em="≂",Mm="Η",Nm="η",Om="Ð",zm="ð",Dm="Ë",Lm="ë",Im="€",Fm="!",Rm="∃",Pm="∃",Bm="ℰ",jm="ⅇ",qm="ⅇ",Hm="≒",Um="Ф",Wm="ф",Gm="♀",Vm="ffi",Km="ff",Ym="ffl",Zm="𝔉",Xm="𝔣",Qm="fi",Jm="◼",_m="▪",$m="fj",tg="♭",eg="fl",ng="▱",ig="ƒ",rg="𝔽",og="𝕗",sg="∀",ag="∀",lg="⋔",cg="⫙",hg="ℱ",ug="⨍",dg="½",pg="⅓",fg="¼",mg="⅕",gg="⅙",vg="⅛",bg="⅔",yg="⅖",wg="¾",xg="⅗",Cg="⅜",kg="⅘",Ag="⅚",Sg="⅝",Tg="⅞",Eg="⁄",Mg="⌢",Ng="𝒻",Og="ℱ",zg="ǵ",Dg="Γ",Lg="γ",Ig="Ϝ",Fg="ϝ",Rg="⪆",Pg="Ğ",Bg="ğ",jg="Ģ",qg="Ĝ",Hg="ĝ",Ug="Г",Wg="г",Gg="Ġ",Vg="ġ",Kg="≥",Yg="≧",Zg="⪌",Xg="⋛",Qg="≥",Jg="≧",_g="⩾",$g="⪩",tv="⩾",ev="⪀",nv="⪂",iv="⪄",rv="⋛︀",ov="⪔",sv="𝔊",av="𝔤",lv="≫",cv="⋙",hv="⋙",uv="ℷ",dv="Ѓ",pv="ѓ",fv="⪥",mv="≷",gv="⪒",vv="⪤",bv="⪊",yv="⪊",wv="⪈",xv="≩",Cv="⪈",kv="≩",Av="⋧",Sv="𝔾",Tv="𝕘",Ev="`",Mv="≥",Nv="⋛",Ov="≧",zv="⪢",Dv="≷",Lv="⩾",Iv="≳",Fv="𝒢",Rv="ℊ",Pv="≳",Bv="⪎",jv="⪐",qv="⪧",Hv="⩺",Uv=">",Wv=">",Gv="≫",Vv="⋗",Kv="⦕",Yv="⩼",Zv="⪆",Xv="⥸",Qv="⋗",Jv="⋛",_v="⪌",$v="≷",tb="≳",eb="≩︀",nb="≩︀",ib="ˇ",rb=" ",ob="½",sb="ℋ",ab="Ъ",lb="ъ",cb="⥈",hb="↔",ub="⇔",db="↭",pb="^",fb="ℏ",mb="Ĥ",gb="ĥ",vb="♥",bb="♥",yb="…",wb="⊹",xb="𝔥",Cb="ℌ",kb="ℋ",Ab="⤥",Sb="⤦",Tb="⇿",Eb="∻",Mb="↩",Nb="↪",Ob="𝕙",zb="ℍ",Db="―",Lb="─",Ib="𝒽",Fb="ℋ",Rb="ℏ",Pb="Ħ",Bb="ħ",jb="≎",qb="≏",Hb="⁃",Ub="‐",Wb="Í",Gb="í",Vb="⁣",Kb="Î",Yb="î",Zb="И",Xb="и",Qb="İ",Jb="Е",_b="е",$b="¡",ty="⇔",ey="𝔦",ny="ℑ",iy="Ì",ry="ì",oy="ⅈ",sy="⨌",ay="∭",ly="⧜",cy="℩",hy="IJ",uy="ij",dy="Ī",py="ī",fy="ℑ",my="ⅈ",gy="ℐ",vy="ℑ",by="ı",yy="ℑ",wy="⊷",xy="Ƶ",Cy="⇒",ky="℅",Ay="∞",Sy="⧝",Ty="ı",Ey="⊺",My="∫",Ny="∬",Oy="ℤ",zy="∫",Dy="⊺",Ly="⋂",Iy="⨗",Fy="⨼",Ry="⁣",Py="⁢",By="Ё",jy="ё",qy="Į",Hy="į",Uy="𝕀",Wy="𝕚",Gy="Ι",Vy="ι",Ky="⨼",Yy="¿",Zy="𝒾",Xy="ℐ",Qy="∈",Jy="⋵",_y="⋹",$y="⋴",tw="⋳",ew="∈",nw="⁢",iw="Ĩ",rw="ĩ",ow="І",sw="і",aw="Ï",lw="ï",cw="Ĵ",hw="ĵ",uw="Й",dw="й",pw="𝔍",fw="𝔧",mw="ȷ",gw="𝕁",vw="𝕛",bw="𝒥",yw="𝒿",ww="Ј",xw="ј",Cw="Є",kw="є",Aw="Κ",Sw="κ",Tw="ϰ",Ew="Ķ",Mw="ķ",Nw="К",Ow="к",zw="𝔎",Dw="𝔨",Lw="ĸ",Iw="Х",Fw="х",Rw="Ќ",Pw="ќ",Bw="𝕂",jw="𝕜",qw="𝒦",Hw="𝓀",Uw="⇚",Ww="Ĺ",Gw="ĺ",Vw="⦴",Kw="ℒ",Yw="Λ",Zw="λ",Xw="⟨",Qw="⟪",Jw="⦑",_w="⟨",$w="⪅",tx="ℒ",ex="«",nx="⇤",ix="⤟",rx="←",ox="↞",sx="⇐",ax="⤝",lx="↩",cx="↫",hx="⤹",ux="⥳",dx="↢",px="⤙",fx="⤛",mx="⪫",gx="⪭",vx="⪭︀",bx="⤌",yx="⤎",wx="❲",xx="{",Cx="[",kx="⦋",Ax="⦏",Sx="⦍",Tx="Ľ",Ex="ľ",Mx="Ļ",Nx="ļ",Ox="⌈",zx="{",Dx="Л",Lx="л",Ix="⤶",Fx="“",Rx="„",Px="⥧",Bx="⥋",jx="↲",qx="≤",Hx="≦",Ux="⟨",Wx="⇤",Gx="←",Vx="←",Kx="⇐",Yx="⇆",Zx="↢",Xx="⌈",Qx="⟦",Jx="⥡",_x="⥙",$x="⇃",tC="⌊",eC="↽",nC="↼",iC="⇇",rC="↔",oC="↔",sC="⇔",aC="⇆",lC="⇋",cC="↭",hC="⥎",uC="↤",dC="⊣",pC="⥚",fC="⋋",mC="⧏",gC="⊲",vC="⊴",bC="⥑",yC="⥠",wC="⥘",xC="↿",CC="⥒",kC="↼",AC="⪋",SC="⋚",TC="≤",EC="≦",MC="⩽",NC="⪨",OC="⩽",zC="⩿",DC="⪁",LC="⪃",IC="⋚︀",FC="⪓",RC="⪅",PC="⋖",BC="⋚",jC="⪋",qC="⋚",HC="≦",UC="≶",WC="≶",GC="⪡",VC="≲",KC="⩽",YC="≲",ZC="⥼",XC="⌊",QC="𝔏",JC="𝔩",_C="≶",$C="⪑",tk="⥢",ek="↽",nk="↼",ik="⥪",rk="▄",ok="Љ",sk="љ",ak="⇇",lk="≪",ck="⋘",hk="⌞",uk="⇚",dk="⥫",pk="◺",fk="Ŀ",mk="ŀ",gk="⎰",vk="⎰",bk="⪉",yk="⪉",wk="⪇",xk="≨",Ck="⪇",kk="≨",Ak="⋦",Sk="⟬",Tk="⇽",Ek="⟦",Mk="⟵",Nk="⟵",Ok="⟸",zk="⟷",Dk="⟷",Lk="⟺",Ik="⟼",Fk="⟶",Rk="⟶",Pk="⟹",Bk="↫",jk="↬",qk="⦅",Hk="𝕃",Uk="𝕝",Wk="⨭",Gk="⨴",Vk="∗",Kk="_",Yk="↙",Zk="↘",Xk="◊",Qk="◊",Jk="⧫",_k="(",$k="⦓",tA="⇆",eA="⌟",nA="⇋",iA="⥭",rA="‎",oA="⊿",sA="‹",aA="𝓁",lA="ℒ",cA="↰",hA="↰",uA="≲",dA="⪍",pA="⪏",fA="[",mA="‘",gA="‚",vA="Ł",bA="ł",yA="⪦",wA="⩹",xA="<",CA="<",kA="≪",AA="⋖",SA="⋋",TA="⋉",EA="⥶",MA="⩻",NA="◃",OA="⊴",zA="◂",DA="⦖",LA="⥊",IA="⥦",FA="≨︀",RA="≨︀",PA="¯",BA="♂",jA="✠",qA="✠",HA="↦",UA="↦",WA="↧",GA="↤",VA="↥",KA="▮",YA="⨩",ZA="М",XA="м",QA="—",JA="∺",_A="∡",$A=" ",tS="ℳ",eS="𝔐",nS="𝔪",iS="℧",rS="µ",oS="*",sS="⫰",aS="∣",lS="·",cS="⊟",hS="−",uS="∸",dS="⨪",pS="∓",fS="⫛",mS="…",gS="∓",vS="⊧",bS="𝕄",yS="𝕞",wS="∓",xS="𝓂",CS="ℳ",kS="∾",AS="Μ",SS="μ",TS="⊸",ES="⊸",MS="∇",NS="Ń",OS="ń",zS="∠⃒",DS="≉",LS="⩰̸",IS="≋̸",FS="ʼn",RS="≉",PS="♮",BS="ℕ",jS="♮",qS=" ",HS="≎̸",US="≏̸",WS="⩃",GS="Ň",VS="ň",KS="Ņ",YS="ņ",ZS="≇",XS="⩭̸",QS="⩂",JS="Н",_S="н",$S="–",tT="⤤",eT="↗",nT="⇗",iT="↗",rT="≠",oT="≐̸",sT="​",aT="​",lT="​",cT="​",hT="≢",uT="⤨",dT="≂̸",pT="≫",fT="≪",mT="\n",gT="∄",vT="∄",bT="𝔑",yT="𝔫",wT="≧̸",xT="≱",CT="≱",kT="≧̸",AT="⩾̸",ST="⩾̸",TT="⋙̸",ET="≵",MT="≫⃒",NT="≯",OT="≯",zT="≫̸",DT="↮",LT="⇎",IT="⫲",FT="∋",RT="⋼",PT="⋺",BT="∋",jT="Њ",qT="њ",HT="↚",UT="⇍",WT="‥",GT="≦̸",VT="≰",KT="↚",YT="⇍",ZT="↮",XT="⇎",QT="≰",JT="≦̸",_T="⩽̸",$T="⩽̸",tE="≮",eE="⋘̸",nE="≴",iE="≪⃒",rE="≮",oE="⋪",sE="⋬",aE="≪̸",lE="∤",cE="⁠",hE=" ",uE="𝕟",dE="ℕ",pE="⫬",fE="¬",mE="≢",gE="≭",vE="∦",bE="∉",yE="≠",wE="≂̸",xE="∄",CE="≯",kE="≱",AE="≧̸",SE="≫̸",TE="≹",EE="⩾̸",ME="≵",NE="≎̸",OE="≏̸",zE="∉",DE="⋵̸",LE="⋹̸",IE="∉",FE="⋷",RE="⋶",PE="⧏̸",BE="⋪",jE="⋬",qE="≮",HE="≰",UE="≸",WE="≪̸",GE="⩽̸",VE="≴",KE="⪢̸",YE="⪡̸",ZE="∌",XE="∌",QE="⋾",JE="⋽",_E="⊀",$E="⪯̸",tM="⋠",eM="∌",nM="⧐̸",iM="⋫",rM="⋭",oM="⊏̸",sM="⋢",aM="⊐̸",lM="⋣",cM="⊂⃒",hM="⊈",uM="⊁",dM="⪰̸",pM="⋡",fM="≿̸",mM="⊃⃒",gM="⊉",vM="≁",bM="≄",yM="≇",wM="≉",xM="∤",CM="∦",kM="∦",AM="⫽⃥",SM="∂̸",TM="⨔",EM="⊀",MM="⋠",NM="⊀",OM="⪯̸",zM="⪯̸",DM="⤳̸",LM="↛",IM="⇏",FM="↝̸",RM="↛",PM="⇏",BM="⋫",jM="⋭",qM="⊁",HM="⋡",UM="⪰̸",WM="𝒩",GM="𝓃",VM="∤",KM="∦",YM="≁",ZM="≄",XM="≄",QM="∤",JM="∦",_M="⋢",$M="⋣",tN="⊄",eN="⫅̸",nN="⊈",iN="⊂⃒",rN="⊈",oN="⫅̸",sN="⊁",aN="⪰̸",lN="⊅",cN="⫆̸",hN="⊉",uN="⊃⃒",dN="⊉",pN="⫆̸",fN="≹",mN="Ñ",gN="ñ",vN="≸",bN="⋪",yN="⋬",wN="⋫",xN="⋭",CN="Ν",kN="ν",AN="#",SN="№",TN=" ",EN="≍⃒",MN="⊬",NN="⊭",ON="⊮",zN="⊯",DN="≥⃒",LN=">⃒",IN="⤄",FN="⧞",RN="⤂",PN="≤⃒",BN="<⃒",jN="⊴⃒",qN="⤃",HN="⊵⃒",UN="∼⃒",WN="⤣",GN="↖",VN="⇖",KN="↖",YN="⤧",ZN="Ó",XN="ó",QN="⊛",JN="Ô",_N="ô",$N="⊚",tO="О",eO="о",nO="⊝",iO="Ő",rO="ő",oO="⨸",sO="⊙",aO="⦼",lO="Œ",cO="œ",hO="⦿",uO="𝔒",dO="𝔬",pO="˛",fO="Ò",mO="ò",gO="⧁",vO="⦵",bO="Ω",yO="∮",wO="↺",xO="⦾",CO="⦻",kO="‾",AO="⧀",SO="Ō",TO="ō",EO="Ω",MO="ω",NO="Ο",OO="ο",zO="⦶",DO="⊖",LO="𝕆",IO="𝕠",FO="⦷",RO="“",PO="‘",BO="⦹",jO="⊕",qO="↻",HO="⩔",UO="∨",WO="⩝",GO="ℴ",VO="ℴ",KO="ª",YO="º",ZO="⊶",XO="⩖",QO="⩗",JO="⩛",_O="Ⓢ",$O="𝒪",tz="ℴ",ez="Ø",nz="ø",iz="⊘",rz="Õ",oz="õ",sz="⨶",az="⨷",lz="⊗",cz="Ö",hz="ö",uz="⌽",dz="‾",pz="⏞",fz="⎴",mz="⏜",gz="¶",vz="∥",bz="∥",yz="⫳",wz="⫽",xz="∂",Cz="∂",kz="П",Az="п",Sz="%",Tz=".",Ez="‰",Mz="⊥",Nz="‱",Oz="𝔓",zz="𝔭",Dz="Φ",Lz="φ",Iz="ϕ",Fz="ℳ",Rz="☎",Pz="Π",Bz="π",jz="⋔",qz="ϖ",Hz="ℏ",Uz="ℎ",Wz="ℏ",Gz="⨣",Vz="⊞",Kz="⨢",Yz="+",Zz="∔",Xz="⨥",Qz="⩲",Jz="±",_z="±",$z="⨦",tD="⨧",eD="±",nD="ℌ",iD="⨕",rD="𝕡",oD="ℙ",sD="£",aD="⪷",lD="⪻",cD="≺",hD="≼",uD="⪷",dD="≺",pD="≼",fD="≺",mD="⪯",gD="≼",vD="≾",bD="⪯",yD="⪹",wD="⪵",xD="⋨",CD="⪯",kD="⪳",AD="≾",SD="′",TD="″",ED="ℙ",MD="⪹",ND="⪵",OD="⋨",zD="∏",DD="∏",LD="⌮",ID="⌒",FD="⌓",RD="∝",PD="∝",BD="∷",jD="∝",qD="≾",HD="⊰",UD="𝒫",WD="𝓅",GD="Ψ",VD="ψ",KD=" ",YD="𝔔",ZD="𝔮",XD="⨌",QD="𝕢",JD="ℚ",_D="⁗",$D="𝒬",tL="𝓆",eL="ℍ",nL="⨖",iL="?",rL="≟",oL='"',sL='"',aL="⇛",lL="∽̱",cL="Ŕ",hL="ŕ",uL="√",dL="⦳",pL="⟩",fL="⟫",mL="⦒",gL="⦥",vL="⟩",bL="»",yL="⥵",wL="⇥",xL="⤠",CL="⤳",kL="→",AL="↠",SL="⇒",TL="⤞",EL="↪",ML="↬",NL="⥅",OL="⥴",zL="⤖",DL="↣",LL="↝",IL="⤚",FL="⤜",RL="∶",PL="ℚ",BL="⤍",jL="⤏",qL="⤐",HL="❳",UL="}",WL="]",GL="⦌",VL="⦎",KL="⦐",YL="Ř",ZL="ř",XL="Ŗ",QL="ŗ",JL="⌉",_L="}",$L="Р",tI="р",eI="⤷",nI="⥩",iI="”",rI="”",oI="↳",sI="ℜ",aI="ℛ",lI="ℜ",cI="ℝ",hI="ℜ",uI="▭",dI="®",pI="®",fI="∋",mI="⇋",gI="⥯",vI="⥽",bI="⌋",yI="𝔯",wI="ℜ",xI="⥤",CI="⇁",kI="⇀",AI="⥬",SI="Ρ",TI="ρ",EI="ϱ",MI="⟩",NI="⇥",OI="→",zI="→",DI="⇒",LI="⇄",II="↣",FI="⌉",RI="⟧",PI="⥝",BI="⥕",jI="⇂",qI="⌋",HI="⇁",UI="⇀",WI="⇄",GI="⇌",VI="⇉",KI="↝",YI="↦",ZI="⊢",XI="⥛",QI="⋌",JI="⧐",_I="⊳",$I="⊵",tF="⥏",eF="⥜",nF="⥔",iF="↾",rF="⥓",oF="⇀",sF="˚",aF="≓",lF="⇄",cF="⇌",hF="‏",uF="⎱",dF="⎱",pF="⫮",fF="⟭",mF="⇾",gF="⟧",vF="⦆",bF="𝕣",yF="ℝ",wF="⨮",xF="⨵",CF="⥰",kF=")",AF="⦔",SF="⨒",TF="⇉",EF="⇛",MF="›",NF="𝓇",OF="ℛ",zF="↱",DF="↱",LF="]",IF="’",FF="’",RF="⋌",PF="⋊",BF="▹",jF="⊵",qF="▸",HF="⧎",UF="⧴",WF="⥨",GF="℞",VF="Ś",KF="ś",YF="‚",ZF="⪸",XF="Š",QF="š",JF="⪼",_F="≻",$F="≽",tR="⪰",eR="⪴",nR="Ş",iR="ş",rR="Ŝ",oR="ŝ",sR="⪺",aR="⪶",lR="⋩",cR="⨓",hR="≿",uR="С",dR="с",pR="⊡",fR="⋅",mR="⩦",gR="⤥",vR="↘",bR="⇘",yR="↘",wR="§",xR=";",CR="⤩",kR="∖",AR="∖",SR="✶",TR="𝔖",ER="𝔰",MR="⌢",NR="♯",OR="Щ",zR="щ",DR="Ш",LR="ш",IR="↓",FR="←",RR="∣",PR="∥",BR="→",jR="↑",qR="­",HR="Σ",UR="σ",WR="ς",GR="ς",VR="∼",KR="⩪",YR="≃",ZR="≃",XR="⪞",QR="⪠",JR="⪝",_R="⪟",$R="≆",tP="⨤",eP="⥲",nP="←",iP="∘",rP="∖",oP="⨳",sP="⧤",aP="∣",lP="⌣",cP="⪪",hP="⪬",uP="⪬︀",dP="Ь",pP="ь",fP="⌿",mP="⧄",gP="/",vP="𝕊",bP="𝕤",yP="♠",wP="♠",xP="∥",CP="⊓",kP="⊓︀",AP="⊔",SP="⊔︀",TP="√",EP="⊏",MP="⊑",NP="⊏",OP="⊑",zP="⊐",DP="⊒",LP="⊐",IP="⊒",FP="□",RP="□",PP="⊓",BP="⊏",jP="⊑",qP="⊐",HP="⊒",UP="⊔",WP="▪",GP="□",VP="▪",KP="→",YP="𝒮",ZP="𝓈",XP="∖",QP="⌣",JP="⋆",_P="⋆",$P="☆",tB="★",eB="ϵ",nB="ϕ",iB="¯",rB="⊂",oB="⋐",sB="⪽",aB="⫅",lB="⊆",cB="⫃",hB="⫁",uB="⫋",dB="⊊",pB="⪿",fB="⥹",mB="⊂",gB="⋐",vB="⊆",bB="⫅",yB="⊆",wB="⊊",xB="⫋",CB="⫇",kB="⫕",AB="⫓",SB="⪸",TB="≻",EB="≽",MB="≻",NB="⪰",OB="≽",zB="≿",DB="⪰",LB="⪺",IB="⪶",FB="⋩",RB="≿",PB="∋",BB="∑",jB="∑",qB="♪",HB="¹",UB="²",WB="³",GB="⊃",VB="⋑",KB="⪾",YB="⫘",ZB="⫆",XB="⊇",QB="⫄",JB="⊃",_B="⊇",$B="⟉",tj="⫗",ej="⥻",nj="⫂",ij="⫌",rj="⊋",oj="⫀",sj="⊃",aj="⋑",lj="⊇",cj="⫆",hj="⊋",uj="⫌",dj="⫈",pj="⫔",fj="⫖",mj="⤦",gj="↙",vj="⇙",bj="↙",yj="⤪",wj="ß",xj="\t",Cj="⌖",kj="Τ",Aj="τ",Sj="⎴",Tj="Ť",Ej="ť",Mj="Ţ",Nj="ţ",Oj="Т",zj="т",Dj="⃛",Lj="⌕",Ij="𝔗",Fj="𝔱",Rj="∴",Pj="∴",Bj="∴",jj="Θ",qj="θ",Hj="ϑ",Uj="ϑ",Wj="≈",Gj="∼",Vj="  ",Kj=" ",Yj=" ",Zj="≈",Xj="∼",Qj="Þ",Jj="þ",_j="˜",$j="∼",tq="≃",eq="≅",nq="≈",iq="⨱",rq="⊠",oq="×",sq="⨰",aq="∭",lq="⤨",cq="⌶",hq="⫱",uq="⊤",dq="𝕋",pq="𝕥",fq="⫚",mq="⤩",gq="‴",vq="™",bq="™",yq="▵",wq="▿",xq="◃",Cq="⊴",kq="≜",Aq="▹",Sq="⊵",Tq="◬",Eq="≜",Mq="⨺",Nq="⃛",Oq="⨹",zq="⧍",Dq="⨻",Lq="⏢",Iq="𝒯",Fq="𝓉",Rq="Ц",Pq="ц",Bq="Ћ",jq="ћ",qq="Ŧ",Hq="ŧ",Uq="≬",Wq="↞",Gq="↠",Vq="Ú",Kq="ú",Yq="↑",Zq="↟",Xq="⇑",Qq="⥉",Jq="Ў",_q="ў",$q="Ŭ",tH="ŭ",eH="Û",nH="û",iH="У",rH="у",oH="⇅",sH="Ű",aH="ű",lH="⥮",cH="⥾",hH="𝔘",uH="𝔲",dH="Ù",pH="ù",fH="⥣",mH="↿",gH="↾",vH="▀",bH="⌜",yH="⌜",wH="⌏",xH="◸",CH="Ū",kH="ū",AH="¨",SH="_",TH="⏟",EH="⎵",MH="⏝",NH="⋃",OH="⊎",zH="Ų",DH="ų",LH="𝕌",IH="𝕦",FH="⤒",RH="↑",PH="↑",BH="⇑",jH="⇅",qH="↕",HH="↕",UH="⇕",WH="⥮",GH="↿",VH="↾",KH="⊎",YH="↖",ZH="↗",XH="υ",QH="ϒ",JH="ϒ",_H="Υ",$H="υ",tU="↥",eU="⊥",nU="⇈",iU="⌝",rU="⌝",oU="⌎",sU="Ů",aU="ů",lU="◹",cU="𝒰",hU="𝓊",uU="⋰",dU="Ũ",pU="ũ",fU="▵",mU="▴",gU="⇈",vU="Ü",bU="ü",yU="⦧",wU="⦜",xU="ϵ",CU="ϰ",kU="∅",AU="ϕ",SU="ϖ",TU="∝",EU="↕",MU="⇕",NU="ϱ",OU="ς",zU="⊊︀",DU="⫋︀",LU="⊋︀",IU="⫌︀",FU="ϑ",RU="⊲",PU="⊳",BU="⫨",jU="⫫",qU="⫩",HU="В",UU="в",WU="⊢",GU="⊨",VU="⊩",KU="⊫",YU="⫦",ZU="⊻",XU="∨",QU="⋁",JU="≚",_U="⋮",$U="|",tW="‖",eW="|",nW="‖",iW="∣",rW="|",oW="❘",sW="≀",aW=" ",lW="𝔙",cW="𝔳",hW="⊲",uW="⊂⃒",dW="⊃⃒",pW="𝕍",fW="𝕧",mW="∝",gW="⊳",vW="𝒱",bW="𝓋",yW="⫋︀",wW="⊊︀",xW="⫌︀",CW="⊋︀",kW="⊪",AW="⦚",SW="Ŵ",TW="ŵ",EW="⩟",MW="∧",NW="⋀",OW="≙",zW="℘",DW="𝔚",LW="𝔴",IW="𝕎",FW="𝕨",RW="℘",PW="≀",BW="≀",jW="𝒲",qW="𝓌",HW="⋂",UW="◯",WW="⋃",GW="▽",VW="𝔛",KW="𝔵",YW="⟷",ZW="⟺",XW="Ξ",QW="ξ",JW="⟵",_W="⟸",$W="⟼",tG="⋻",eG="⨀",nG="𝕏",iG="𝕩",rG="⨁",oG="⨂",sG="⟶",aG="⟹",lG="𝒳",cG="𝓍",hG="⨆",uG="⨄",dG="△",pG="⋁",fG="⋀",mG="Ý",gG="ý",vG="Я",bG="я",yG="Ŷ",wG="ŷ",xG="Ы",CG="ы",kG="¥",AG="𝔜",SG="𝔶",TG="Ї",EG="ї",MG="𝕐",NG="𝕪",OG="𝒴",zG="𝓎",DG="Ю",LG="ю",IG="ÿ",FG="Ÿ",RG="Ź",PG="ź",BG="Ž",jG="ž",qG="З",HG="з",UG="Ż",WG="ż",GG="ℨ",VG="​",KG="Ζ",YG="ζ",ZG="𝔷",XG="ℨ",QG="Ж",JG="ж",_G="⇝",$G="𝕫",tV="ℤ",eV="𝒵",nV="𝓏",iV="‍",rV="‌",oV={Aacute:Ho,aacute:Uo,Abreve:Wo,abreve:Go,ac:Vo,acd:Ko,acE:Yo,Acirc:Zo,acirc:Xo,acute:Qo,Acy:Jo,acy:_o,AElig:$o,aelig:ts,af:es,Afr:ns,afr:is,Agrave:rs,agrave:os,alefsym:ss,aleph:as,Alpha:ls,alpha:cs,Amacr:hs,amacr:us,amalg:ds,amp:ps,AMP:fs,andand:ms,And:gs,and:vs,andd:bs,andslope:ys,andv:ws,ang:xs,ange:Cs,angle:ks,angmsdaa:As,angmsdab:Ss,angmsdac:Ts,angmsdad:Es,angmsdae:Ms,angmsdaf:Ns,angmsdag:Os,angmsdah:zs,angmsd:Ds,angrt:Ls,angrtvb:Is,angrtvbd:Fs,angsph:Rs,angst:Ps,angzarr:Bs,Aogon:js,aogon:qs,Aopf:Hs,aopf:Us,apacir:Ws,ap:Gs,apE:Vs,ape:Ks,apid:Ys,apos:Zs,ApplyFunction:Xs,approx:Qs,approxeq:Js,Aring:_s,aring:$s,Ascr:ta,ascr:ea,Assign:na,ast:ia,asymp:ra,asympeq:oa,Atilde:sa,atilde:aa,Auml:la,auml:ca,awconint:ha,awint:ua,backcong:da,backepsilon:pa,backprime:fa,backsim:ma,backsimeq:ga,Backslash:va,Barv:ba,barvee:ya,barwed:wa,Barwed:xa,barwedge:Ca,bbrk:ka,bbrktbrk:Aa,bcong:Sa,Bcy:Ta,bcy:Ea,bdquo:Ma,becaus:Na,because:Oa,Because:za,bemptyv:Da,bepsi:La,bernou:Ia,Bernoullis:Fa,Beta:Ra,beta:Pa,beth:Ba,between:ja,Bfr:qa,bfr:Ha,bigcap:Ua,bigcirc:Wa,bigcup:Ga,bigodot:Va,bigoplus:Ka,bigotimes:Ya,bigsqcup:Za,bigstar:Xa,bigtriangledown:Qa,bigtriangleup:Ja,biguplus:_a,bigvee:$a,bigwedge:tl,bkarow:el,blacklozenge:nl,blacksquare:il,blacktriangle:rl,blacktriangledown:ol,blacktriangleleft:sl,blacktriangleright:al,blank:ll,blk12:cl,blk14:hl,blk34:ul,block:dl,bne:pl,bnequiv:fl,bNot:ml,bnot:gl,Bopf:vl,bopf:bl,bot:yl,bottom:wl,bowtie:xl,boxbox:Cl,boxdl:kl,boxdL:Al,boxDl:Sl,boxDL:Tl,boxdr:El,boxdR:Ml,boxDr:Nl,boxDR:Ol,boxh:zl,boxH:Dl,boxhd:Ll,boxHd:Il,boxhD:Fl,boxHD:Rl,boxhu:Pl,boxHu:Bl,boxhU:jl,boxHU:ql,boxminus:Hl,boxplus:Ul,boxtimes:Wl,boxul:Gl,boxuL:Vl,boxUl:Kl,boxUL:Yl,boxur:Zl,boxuR:Xl,boxUr:Ql,boxUR:Jl,boxv:_l,boxV:$l,boxvh:tc,boxvH:ec,boxVh:nc,boxVH:ic,boxvl:rc,boxvL:oc,boxVl:sc,boxVL:ac,boxvr:lc,boxvR:cc,boxVr:hc,boxVR:uc,bprime:dc,breve:pc,Breve:fc,brvbar:mc,bscr:gc,Bscr:vc,bsemi:bc,bsim:yc,bsime:wc,bsolb:xc,bsol:Cc,bsolhsub:kc,bull:Ac,bullet:Sc,bump:Tc,bumpE:Ec,bumpe:Mc,Bumpeq:Nc,bumpeq:Oc,Cacute:zc,cacute:Dc,capand:Lc,capbrcup:Ic,capcap:Fc,cap:Rc,Cap:Pc,capcup:Bc,capdot:jc,CapitalDifferentialD:qc,caps:Hc,caret:Uc,caron:Wc,Cayleys:Gc,ccaps:Vc,Ccaron:Kc,ccaron:Yc,Ccedil:Zc,ccedil:Xc,Ccirc:Qc,ccirc:Jc,Cconint:_c,ccups:$c,ccupssm:th,Cdot:eh,cdot:nh,cedil:ih,Cedilla:rh,cemptyv:oh,cent:sh,centerdot:ah,CenterDot:lh,cfr:ch,Cfr:hh,CHcy:uh,chcy:dh,check:ph,checkmark:fh,Chi:mh,chi:gh,circ:vh,circeq:bh,circlearrowleft:yh,circlearrowright:wh,circledast:xh,circledcirc:Ch,circleddash:kh,CircleDot:Ah,circledR:Sh,circledS:Th,CircleMinus:Eh,CirclePlus:Mh,CircleTimes:Nh,cir:Oh,cirE:zh,cire:Dh,cirfnint:Lh,cirmid:Ih,cirscir:Fh,ClockwiseContourIntegral:Rh,CloseCurlyDoubleQuote:Ph,CloseCurlyQuote:Bh,clubs:jh,clubsuit:qh,colon:Hh,Colon:Uh,Colone:Wh,colone:Gh,coloneq:Vh,comma:Kh,commat:Yh,comp:Zh,compfn:Xh,complement:Qh,complexes:Jh,cong:_h,congdot:$h,Congruent:tu,conint:eu,Conint:nu,ContourIntegral:iu,copf:ru,Copf:ou,coprod:su,Coproduct:au,copy:lu,COPY:cu,copysr:hu,CounterClockwiseContourIntegral:uu,crarr:du,cross:pu,Cross:fu,Cscr:mu,cscr:gu,csub:vu,csube:bu,csup:yu,csupe:wu,ctdot:xu,cudarrl:Cu,cudarrr:ku,cuepr:Au,cuesc:Su,cularr:Tu,cularrp:Eu,cupbrcap:Mu,cupcap:Nu,CupCap:Ou,cup:zu,Cup:Du,cupcup:Lu,cupdot:Iu,cupor:Fu,cups:Ru,curarr:Pu,curarrm:Bu,curlyeqprec:ju,curlyeqsucc:qu,curlyvee:Hu,curlywedge:Uu,curren:Wu,curvearrowleft:Gu,curvearrowright:Vu,cuvee:Ku,cuwed:Yu,cwconint:Zu,cwint:Xu,cylcty:Qu,dagger:Ju,Dagger:_u,daleth:$u,darr:td,Darr:ed,dArr:nd,dash:id,Dashv:rd,dashv:od,dbkarow:sd,dblac:ad,Dcaron:ld,dcaron:cd,Dcy:hd,dcy:ud,ddagger:dd,ddarr:pd,DD:fd,dd:md,DDotrahd:gd,ddotseq:vd,deg:bd,Del:yd,Delta:wd,delta:xd,demptyv:Cd,dfisht:kd,Dfr:Ad,dfr:Sd,dHar:Td,dharl:Ed,dharr:Md,DiacriticalAcute:Nd,DiacriticalDot:Od,DiacriticalDoubleAcute:zd,DiacriticalGrave:Dd,DiacriticalTilde:Ld,diam:Id,diamond:Fd,Diamond:Rd,diamondsuit:Pd,diams:Bd,die:jd,DifferentialD:qd,digamma:Hd,disin:Ud,div:Wd,divide:Gd,divideontimes:Vd,divonx:Kd,DJcy:Yd,djcy:Zd,dlcorn:Xd,dlcrop:Qd,dollar:Jd,Dopf:_d,dopf:$d,Dot:tp,dot:ep,DotDot:np,doteq:ip,doteqdot:rp,DotEqual:op,dotminus:sp,dotplus:ap,dotsquare:lp,doublebarwedge:cp,DoubleContourIntegral:hp,DoubleDot:up,DoubleDownArrow:dp,DoubleLeftArrow:pp,DoubleLeftRightArrow:fp,DoubleLeftTee:mp,DoubleLongLeftArrow:gp,DoubleLongLeftRightArrow:vp,DoubleLongRightArrow:bp,DoubleRightArrow:yp,DoubleRightTee:wp,DoubleUpArrow:xp,DoubleUpDownArrow:Cp,DoubleVerticalBar:kp,DownArrowBar:Ap,downarrow:Sp,DownArrow:Tp,Downarrow:Ep,DownArrowUpArrow:Mp,DownBreve:Np,downdownarrows:Op,downharpoonleft:zp,downharpoonright:Dp,DownLeftRightVector:Lp,DownLeftTeeVector:Ip,DownLeftVectorBar:Fp,DownLeftVector:Rp,DownRightTeeVector:Pp,DownRightVectorBar:Bp,DownRightVector:jp,DownTeeArrow:qp,DownTee:Hp,drbkarow:Up,drcorn:Wp,drcrop:Gp,Dscr:Vp,dscr:Kp,DScy:Yp,dscy:Zp,dsol:Xp,Dstrok:Qp,dstrok:Jp,dtdot:_p,dtri:$p,dtrif:tf,duarr:ef,duhar:nf,dwangle:rf,DZcy:of,dzcy:sf,dzigrarr:af,Eacute:lf,eacute:cf,easter:hf,Ecaron:uf,ecaron:df,Ecirc:pf,ecirc:ff,ecir:mf,ecolon:gf,Ecy:vf,ecy:bf,eDDot:yf,Edot:wf,edot:xf,eDot:Cf,ee:kf,efDot:Af,Efr:Sf,efr:Tf,eg:Ef,Egrave:Mf,egrave:Nf,egs:Of,egsdot:zf,el:Df,Element:Lf,elinters:If,ell:Ff,els:Rf,elsdot:Pf,Emacr:Bf,emacr:jf,empty:qf,emptyset:Hf,EmptySmallSquare:Uf,emptyv:Wf,EmptyVerySmallSquare:Gf,emsp13:Vf,emsp14:Kf,emsp:Yf,ENG:Zf,eng:Xf,ensp:Qf,Eogon:Jf,eogon:_f,Eopf:$f,eopf:tm,epar:em,eparsl:nm,eplus:im,epsi:rm,Epsilon:om,epsilon:sm,epsiv:am,eqcirc:lm,eqcolon:cm,eqsim:hm,eqslantgtr:um,eqslantless:dm,Equal:pm,equals:fm,EqualTilde:mm,equest:gm,Equilibrium:vm,equiv:bm,equivDD:ym,eqvparsl:wm,erarr:xm,erDot:Cm,escr:km,Escr:Am,esdot:Sm,Esim:Tm,esim:Em,Eta:Mm,eta:Nm,ETH:Om,eth:zm,Euml:Dm,euml:Lm,euro:Im,excl:Fm,exist:Rm,Exists:Pm,expectation:Bm,exponentiale:jm,ExponentialE:qm,fallingdotseq:Hm,Fcy:Um,fcy:Wm,female:Gm,ffilig:Vm,fflig:Km,ffllig:Ym,Ffr:Zm,ffr:Xm,filig:Qm,FilledSmallSquare:Jm,FilledVerySmallSquare:_m,fjlig:$m,flat:tg,fllig:eg,fltns:ng,fnof:ig,Fopf:rg,fopf:og,forall:sg,ForAll:ag,fork:lg,forkv:cg,Fouriertrf:hg,fpartint:ug,frac12:dg,frac13:pg,frac14:fg,frac15:mg,frac16:gg,frac18:vg,frac23:bg,frac25:yg,frac34:wg,frac35:xg,frac38:Cg,frac45:kg,frac56:Ag,frac58:Sg,frac78:Tg,frasl:Eg,frown:Mg,fscr:Ng,Fscr:Og,gacute:zg,Gamma:Dg,gamma:Lg,Gammad:Ig,gammad:Fg,gap:Rg,Gbreve:Pg,gbreve:Bg,Gcedil:jg,Gcirc:qg,gcirc:Hg,Gcy:Ug,gcy:Wg,Gdot:Gg,gdot:Vg,ge:Kg,gE:Yg,gEl:Zg,gel:Xg,geq:Qg,geqq:Jg,geqslant:_g,gescc:$g,ges:tv,gesdot:ev,gesdoto:nv,gesdotol:iv,gesl:rv,gesles:ov,Gfr:sv,gfr:av,gg:lv,Gg:cv,ggg:hv,gimel:uv,GJcy:dv,gjcy:pv,gla:fv,gl:mv,glE:gv,glj:vv,gnap:bv,gnapprox:yv,gne:wv,gnE:xv,gneq:Cv,gneqq:kv,gnsim:Av,Gopf:Sv,gopf:Tv,grave:Ev,GreaterEqual:Mv,GreaterEqualLess:Nv,GreaterFullEqual:Ov,GreaterGreater:zv,GreaterLess:Dv,GreaterSlantEqual:Lv,GreaterTilde:Iv,Gscr:Fv,gscr:Rv,gsim:Pv,gsime:Bv,gsiml:jv,gtcc:qv,gtcir:Hv,gt:Uv,GT:Wv,Gt:Gv,gtdot:Vv,gtlPar:Kv,gtquest:Yv,gtrapprox:Zv,gtrarr:Xv,gtrdot:Qv,gtreqless:Jv,gtreqqless:_v,gtrless:$v,gtrsim:tb,gvertneqq:eb,gvnE:nb,Hacek:ib,hairsp:rb,half:ob,hamilt:sb,HARDcy:ab,hardcy:lb,harrcir:cb,harr:hb,hArr:ub,harrw:db,Hat:pb,hbar:fb,Hcirc:mb,hcirc:gb,hearts:vb,heartsuit:bb,hellip:yb,hercon:wb,hfr:xb,Hfr:Cb,HilbertSpace:kb,hksearow:Ab,hkswarow:Sb,hoarr:Tb,homtht:Eb,hookleftarrow:Mb,hookrightarrow:Nb,hopf:Ob,Hopf:zb,horbar:Db,HorizontalLine:Lb,hscr:Ib,Hscr:Fb,hslash:Rb,Hstrok:Pb,hstrok:Bb,HumpDownHump:jb,HumpEqual:qb,hybull:Hb,hyphen:Ub,Iacute:Wb,iacute:Gb,ic:Vb,Icirc:Kb,icirc:Yb,Icy:Zb,icy:Xb,Idot:Qb,IEcy:Jb,iecy:_b,iexcl:$b,iff:ty,ifr:ey,Ifr:ny,Igrave:iy,igrave:ry,ii:oy,iiiint:sy,iiint:ay,iinfin:ly,iiota:cy,IJlig:hy,ijlig:uy,Imacr:dy,imacr:py,image:fy,ImaginaryI:my,imagline:gy,imagpart:vy,imath:by,Im:yy,imof:wy,imped:xy,Implies:Cy,incare:ky,in:"∈",infin:Ay,infintie:Sy,inodot:Ty,intcal:Ey,int:My,Int:Ny,integers:Oy,Integral:zy,intercal:Dy,Intersection:Ly,intlarhk:Iy,intprod:Fy,InvisibleComma:Ry,InvisibleTimes:Py,IOcy:By,iocy:jy,Iogon:qy,iogon:Hy,Iopf:Uy,iopf:Wy,Iota:Gy,iota:Vy,iprod:Ky,iquest:Yy,iscr:Zy,Iscr:Xy,isin:Qy,isindot:Jy,isinE:_y,isins:$y,isinsv:tw,isinv:ew,it:nw,Itilde:iw,itilde:rw,Iukcy:ow,iukcy:sw,Iuml:aw,iuml:lw,Jcirc:cw,jcirc:hw,Jcy:uw,jcy:dw,Jfr:pw,jfr:fw,jmath:mw,Jopf:gw,jopf:vw,Jscr:bw,jscr:yw,Jsercy:ww,jsercy:xw,Jukcy:Cw,jukcy:kw,Kappa:Aw,kappa:Sw,kappav:Tw,Kcedil:Ew,kcedil:Mw,Kcy:Nw,kcy:Ow,Kfr:zw,kfr:Dw,kgreen:Lw,KHcy:Iw,khcy:Fw,KJcy:Rw,kjcy:Pw,Kopf:Bw,kopf:jw,Kscr:qw,kscr:Hw,lAarr:Uw,Lacute:Ww,lacute:Gw,laemptyv:Vw,lagran:Kw,Lambda:Yw,lambda:Zw,lang:Xw,Lang:Qw,langd:Jw,langle:_w,lap:$w,Laplacetrf:tx,laquo:ex,larrb:nx,larrbfs:ix,larr:rx,Larr:ox,lArr:sx,larrfs:ax,larrhk:lx,larrlp:cx,larrpl:hx,larrsim:ux,larrtl:dx,latail:px,lAtail:fx,lat:mx,late:gx,lates:vx,lbarr:bx,lBarr:yx,lbbrk:wx,lbrace:xx,lbrack:Cx,lbrke:kx,lbrksld:Ax,lbrkslu:Sx,Lcaron:Tx,lcaron:Ex,Lcedil:Mx,lcedil:Nx,lceil:Ox,lcub:zx,Lcy:Dx,lcy:Lx,ldca:Ix,ldquo:Fx,ldquor:Rx,ldrdhar:Px,ldrushar:Bx,ldsh:jx,le:qx,lE:Hx,LeftAngleBracket:Ux,LeftArrowBar:Wx,leftarrow:Gx,LeftArrow:Vx,Leftarrow:Kx,LeftArrowRightArrow:Yx,leftarrowtail:Zx,LeftCeiling:Xx,LeftDoubleBracket:Qx,LeftDownTeeVector:Jx,LeftDownVectorBar:_x,LeftDownVector:$x,LeftFloor:tC,leftharpoondown:eC,leftharpoonup:nC,leftleftarrows:iC,leftrightarrow:rC,LeftRightArrow:oC,Leftrightarrow:sC,leftrightarrows:aC,leftrightharpoons:lC,leftrightsquigarrow:cC,LeftRightVector:hC,LeftTeeArrow:uC,LeftTee:dC,LeftTeeVector:pC,leftthreetimes:fC,LeftTriangleBar:mC,LeftTriangle:gC,LeftTriangleEqual:vC,LeftUpDownVector:bC,LeftUpTeeVector:yC,LeftUpVectorBar:wC,LeftUpVector:xC,LeftVectorBar:CC,LeftVector:kC,lEg:AC,leg:SC,leq:TC,leqq:EC,leqslant:MC,lescc:NC,les:OC,lesdot:zC,lesdoto:DC,lesdotor:LC,lesg:IC,lesges:FC,lessapprox:RC,lessdot:PC,lesseqgtr:BC,lesseqqgtr:jC,LessEqualGreater:qC,LessFullEqual:HC,LessGreater:UC,lessgtr:WC,LessLess:GC,lesssim:VC,LessSlantEqual:KC,LessTilde:YC,lfisht:ZC,lfloor:XC,Lfr:QC,lfr:JC,lg:_C,lgE:$C,lHar:tk,lhard:ek,lharu:nk,lharul:ik,lhblk:rk,LJcy:ok,ljcy:sk,llarr:ak,ll:lk,Ll:ck,llcorner:hk,Lleftarrow:uk,llhard:dk,lltri:pk,Lmidot:fk,lmidot:mk,lmoustache:gk,lmoust:vk,lnap:bk,lnapprox:yk,lne:wk,lnE:xk,lneq:Ck,lneqq:kk,lnsim:Ak,loang:Sk,loarr:Tk,lobrk:Ek,longleftarrow:Mk,LongLeftArrow:Nk,Longleftarrow:Ok,longleftrightarrow:zk,LongLeftRightArrow:Dk,Longleftrightarrow:Lk,longmapsto:Ik,longrightarrow:Fk,LongRightArrow:Rk,Longrightarrow:Pk,looparrowleft:Bk,looparrowright:jk,lopar:qk,Lopf:Hk,lopf:Uk,loplus:Wk,lotimes:Gk,lowast:Vk,lowbar:Kk,LowerLeftArrow:Yk,LowerRightArrow:Zk,loz:Xk,lozenge:Qk,lozf:Jk,lpar:_k,lparlt:$k,lrarr:tA,lrcorner:eA,lrhar:nA,lrhard:iA,lrm:rA,lrtri:oA,lsaquo:sA,lscr:aA,Lscr:lA,lsh:cA,Lsh:hA,lsim:uA,lsime:dA,lsimg:pA,lsqb:fA,lsquo:mA,lsquor:gA,Lstrok:vA,lstrok:bA,ltcc:yA,ltcir:wA,lt:xA,LT:CA,Lt:kA,ltdot:AA,lthree:SA,ltimes:TA,ltlarr:EA,ltquest:MA,ltri:NA,ltrie:OA,ltrif:zA,ltrPar:DA,lurdshar:LA,luruhar:IA,lvertneqq:FA,lvnE:RA,macr:PA,male:BA,malt:jA,maltese:qA,Map:"⤅",map:HA,mapsto:UA,mapstodown:WA,mapstoleft:GA,mapstoup:VA,marker:KA,mcomma:YA,Mcy:ZA,mcy:XA,mdash:QA,mDDot:JA,measuredangle:_A,MediumSpace:$A,Mellintrf:tS,Mfr:eS,mfr:nS,mho:iS,micro:rS,midast:oS,midcir:sS,mid:aS,middot:lS,minusb:cS,minus:hS,minusd:uS,minusdu:dS,MinusPlus:pS,mlcp:fS,mldr:mS,mnplus:gS,models:vS,Mopf:bS,mopf:yS,mp:wS,mscr:xS,Mscr:CS,mstpos:kS,Mu:AS,mu:SS,multimap:TS,mumap:ES,nabla:MS,Nacute:NS,nacute:OS,nang:zS,nap:DS,napE:LS,napid:IS,napos:FS,napprox:RS,natural:PS,naturals:BS,natur:jS,nbsp:qS,nbump:HS,nbumpe:US,ncap:WS,Ncaron:GS,ncaron:VS,Ncedil:KS,ncedil:YS,ncong:ZS,ncongdot:XS,ncup:QS,Ncy:JS,ncy:_S,ndash:$S,nearhk:tT,nearr:eT,neArr:nT,nearrow:iT,ne:rT,nedot:oT,NegativeMediumSpace:sT,NegativeThickSpace:aT,NegativeThinSpace:lT,NegativeVeryThinSpace:cT,nequiv:hT,nesear:uT,nesim:dT,NestedGreaterGreater:pT,NestedLessLess:fT,NewLine:mT,nexist:gT,nexists:vT,Nfr:bT,nfr:yT,ngE:wT,nge:xT,ngeq:CT,ngeqq:kT,ngeqslant:AT,nges:ST,nGg:TT,ngsim:ET,nGt:MT,ngt:NT,ngtr:OT,nGtv:zT,nharr:DT,nhArr:LT,nhpar:IT,ni:FT,nis:RT,nisd:PT,niv:BT,NJcy:jT,njcy:qT,nlarr:HT,nlArr:UT,nldr:WT,nlE:GT,nle:VT,nleftarrow:KT,nLeftarrow:YT,nleftrightarrow:ZT,nLeftrightarrow:XT,nleq:QT,nleqq:JT,nleqslant:_T,nles:$T,nless:tE,nLl:eE,nlsim:nE,nLt:iE,nlt:rE,nltri:oE,nltrie:sE,nLtv:aE,nmid:lE,NoBreak:cE,NonBreakingSpace:hE,nopf:uE,Nopf:dE,Not:pE,not:fE,NotCongruent:mE,NotCupCap:gE,NotDoubleVerticalBar:vE,NotElement:bE,NotEqual:yE,NotEqualTilde:wE,NotExists:xE,NotGreater:CE,NotGreaterEqual:kE,NotGreaterFullEqual:AE,NotGreaterGreater:SE,NotGreaterLess:TE,NotGreaterSlantEqual:EE,NotGreaterTilde:ME,NotHumpDownHump:NE,NotHumpEqual:OE,notin:zE,notindot:DE,notinE:LE,notinva:IE,notinvb:FE,notinvc:RE,NotLeftTriangleBar:PE,NotLeftTriangle:BE,NotLeftTriangleEqual:jE,NotLess:qE,NotLessEqual:HE,NotLessGreater:UE,NotLessLess:WE,NotLessSlantEqual:GE,NotLessTilde:VE,NotNestedGreaterGreater:KE,NotNestedLessLess:YE,notni:ZE,notniva:XE,notnivb:QE,notnivc:JE,NotPrecedes:_E,NotPrecedesEqual:$E,NotPrecedesSlantEqual:tM,NotReverseElement:eM,NotRightTriangleBar:nM,NotRightTriangle:iM,NotRightTriangleEqual:rM,NotSquareSubset:oM,NotSquareSubsetEqual:sM,NotSquareSuperset:aM,NotSquareSupersetEqual:lM,NotSubset:cM,NotSubsetEqual:hM,NotSucceeds:uM,NotSucceedsEqual:dM,NotSucceedsSlantEqual:pM,NotSucceedsTilde:fM,NotSuperset:mM,NotSupersetEqual:gM,NotTilde:vM,NotTildeEqual:bM,NotTildeFullEqual:yM,NotTildeTilde:wM,NotVerticalBar:xM,nparallel:CM,npar:kM,nparsl:AM,npart:SM,npolint:TM,npr:EM,nprcue:MM,nprec:NM,npreceq:OM,npre:zM,nrarrc:DM,nrarr:LM,nrArr:IM,nrarrw:FM,nrightarrow:RM,nRightarrow:PM,nrtri:BM,nrtrie:jM,nsc:qM,nsccue:HM,nsce:UM,Nscr:WM,nscr:GM,nshortmid:VM,nshortparallel:KM,nsim:YM,nsime:ZM,nsimeq:XM,nsmid:QM,nspar:JM,nsqsube:_M,nsqsupe:$M,nsub:tN,nsubE:eN,nsube:nN,nsubset:iN,nsubseteq:rN,nsubseteqq:oN,nsucc:sN,nsucceq:aN,nsup:lN,nsupE:cN,nsupe:hN,nsupset:uN,nsupseteq:dN,nsupseteqq:pN,ntgl:fN,Ntilde:mN,ntilde:gN,ntlg:vN,ntriangleleft:bN,ntrianglelefteq:yN,ntriangleright:wN,ntrianglerighteq:xN,Nu:CN,nu:kN,num:AN,numero:SN,numsp:TN,nvap:EN,nvdash:MN,nvDash:NN,nVdash:ON,nVDash:zN,nvge:DN,nvgt:LN,nvHarr:IN,nvinfin:FN,nvlArr:RN,nvle:PN,nvlt:BN,nvltrie:jN,nvrArr:qN,nvrtrie:HN,nvsim:UN,nwarhk:WN,nwarr:GN,nwArr:VN,nwarrow:KN,nwnear:YN,Oacute:ZN,oacute:XN,oast:QN,Ocirc:JN,ocirc:_N,ocir:$N,Ocy:tO,ocy:eO,odash:nO,Odblac:iO,odblac:rO,odiv:oO,odot:sO,odsold:aO,OElig:lO,oelig:cO,ofcir:hO,Ofr:uO,ofr:dO,ogon:pO,Ograve:fO,ograve:mO,ogt:gO,ohbar:vO,ohm:bO,oint:yO,olarr:wO,olcir:xO,olcross:CO,oline:kO,olt:AO,Omacr:SO,omacr:TO,Omega:EO,omega:MO,Omicron:NO,omicron:OO,omid:zO,ominus:DO,Oopf:LO,oopf:IO,opar:FO,OpenCurlyDoubleQuote:RO,OpenCurlyQuote:PO,operp:BO,oplus:jO,orarr:qO,Or:HO,or:UO,ord:WO,order:GO,orderof:VO,ordf:KO,ordm:YO,origof:ZO,oror:XO,orslope:QO,orv:JO,oS:_O,Oscr:$O,oscr:tz,Oslash:ez,oslash:nz,osol:iz,Otilde:rz,otilde:oz,otimesas:sz,Otimes:az,otimes:lz,Ouml:cz,ouml:hz,ovbar:uz,OverBar:dz,OverBrace:pz,OverBracket:fz,OverParenthesis:mz,para:gz,parallel:vz,par:bz,parsim:yz,parsl:wz,part:xz,PartialD:Cz,Pcy:kz,pcy:Az,percnt:Sz,period:Tz,permil:Ez,perp:Mz,pertenk:Nz,Pfr:Oz,pfr:zz,Phi:Dz,phi:Lz,phiv:Iz,phmmat:Fz,phone:Rz,Pi:Pz,pi:Bz,pitchfork:jz,piv:qz,planck:Hz,planckh:Uz,plankv:Wz,plusacir:Gz,plusb:Vz,pluscir:Kz,plus:Yz,plusdo:Zz,plusdu:Xz,pluse:Qz,PlusMinus:Jz,plusmn:_z,plussim:$z,plustwo:tD,pm:eD,Poincareplane:nD,pointint:iD,popf:rD,Popf:oD,pound:sD,prap:aD,Pr:lD,pr:cD,prcue:hD,precapprox:uD,prec:dD,preccurlyeq:pD,Precedes:fD,PrecedesEqual:mD,PrecedesSlantEqual:gD,PrecedesTilde:vD,preceq:bD,precnapprox:yD,precneqq:wD,precnsim:xD,pre:CD,prE:kD,precsim:AD,prime:SD,Prime:TD,primes:ED,prnap:MD,prnE:ND,prnsim:OD,prod:zD,Product:DD,profalar:LD,profline:ID,profsurf:FD,prop:RD,Proportional:PD,Proportion:BD,propto:jD,prsim:qD,prurel:HD,Pscr:UD,pscr:WD,Psi:GD,psi:VD,puncsp:KD,Qfr:YD,qfr:ZD,qint:XD,qopf:QD,Qopf:JD,qprime:_D,Qscr:$D,qscr:tL,quaternions:eL,quatint:nL,quest:iL,questeq:rL,quot:oL,QUOT:sL,rAarr:aL,race:lL,Racute:cL,racute:hL,radic:uL,raemptyv:dL,rang:pL,Rang:fL,rangd:mL,range:gL,rangle:vL,raquo:bL,rarrap:yL,rarrb:wL,rarrbfs:xL,rarrc:CL,rarr:kL,Rarr:AL,rArr:SL,rarrfs:TL,rarrhk:EL,rarrlp:ML,rarrpl:NL,rarrsim:OL,Rarrtl:zL,rarrtl:DL,rarrw:LL,ratail:IL,rAtail:FL,ratio:RL,rationals:PL,rbarr:BL,rBarr:jL,RBarr:qL,rbbrk:HL,rbrace:UL,rbrack:WL,rbrke:GL,rbrksld:VL,rbrkslu:KL,Rcaron:YL,rcaron:ZL,Rcedil:XL,rcedil:QL,rceil:JL,rcub:_L,Rcy:$L,rcy:tI,rdca:eI,rdldhar:nI,rdquo:iI,rdquor:rI,rdsh:oI,real:sI,realine:aI,realpart:lI,reals:cI,Re:hI,rect:uI,reg:dI,REG:pI,ReverseElement:fI,ReverseEquilibrium:mI,ReverseUpEquilibrium:gI,rfisht:vI,rfloor:bI,rfr:yI,Rfr:wI,rHar:xI,rhard:CI,rharu:kI,rharul:AI,Rho:SI,rho:TI,rhov:EI,RightAngleBracket:MI,RightArrowBar:NI,rightarrow:OI,RightArrow:zI,Rightarrow:DI,RightArrowLeftArrow:LI,rightarrowtail:II,RightCeiling:FI,RightDoubleBracket:RI,RightDownTeeVector:PI,RightDownVectorBar:BI,RightDownVector:jI,RightFloor:qI,rightharpoondown:HI,rightharpoonup:UI,rightleftarrows:WI,rightleftharpoons:GI,rightrightarrows:VI,rightsquigarrow:KI,RightTeeArrow:YI,RightTee:ZI,RightTeeVector:XI,rightthreetimes:QI,RightTriangleBar:JI,RightTriangle:_I,RightTriangleEqual:$I,RightUpDownVector:tF,RightUpTeeVector:eF,RightUpVectorBar:nF,RightUpVector:iF,RightVectorBar:rF,RightVector:oF,ring:sF,risingdotseq:aF,rlarr:lF,rlhar:cF,rlm:hF,rmoustache:uF,rmoust:dF,rnmid:pF,roang:fF,roarr:mF,robrk:gF,ropar:vF,ropf:bF,Ropf:yF,roplus:wF,rotimes:xF,RoundImplies:CF,rpar:kF,rpargt:AF,rppolint:SF,rrarr:TF,Rrightarrow:EF,rsaquo:MF,rscr:NF,Rscr:OF,rsh:zF,Rsh:DF,rsqb:LF,rsquo:IF,rsquor:FF,rthree:RF,rtimes:PF,rtri:BF,rtrie:jF,rtrif:qF,rtriltri:HF,RuleDelayed:UF,ruluhar:WF,rx:GF,Sacute:VF,sacute:KF,sbquo:YF,scap:ZF,Scaron:XF,scaron:QF,Sc:JF,sc:_F,sccue:$F,sce:tR,scE:eR,Scedil:nR,scedil:iR,Scirc:rR,scirc:oR,scnap:sR,scnE:aR,scnsim:lR,scpolint:cR,scsim:hR,Scy:uR,scy:dR,sdotb:pR,sdot:fR,sdote:mR,searhk:gR,searr:vR,seArr:bR,searrow:yR,sect:wR,semi:xR,seswar:CR,setminus:kR,setmn:AR,sext:SR,Sfr:TR,sfr:ER,sfrown:MR,sharp:NR,SHCHcy:OR,shchcy:zR,SHcy:DR,shcy:LR,ShortDownArrow:IR,ShortLeftArrow:FR,shortmid:RR,shortparallel:PR,ShortRightArrow:BR,ShortUpArrow:jR,shy:qR,Sigma:HR,sigma:UR,sigmaf:WR,sigmav:GR,sim:VR,simdot:KR,sime:YR,simeq:ZR,simg:XR,simgE:QR,siml:JR,simlE:_R,simne:$R,simplus:tP,simrarr:eP,slarr:nP,SmallCircle:iP,smallsetminus:rP,smashp:oP,smeparsl:sP,smid:aP,smile:lP,smt:cP,smte:hP,smtes:uP,SOFTcy:dP,softcy:pP,solbar:fP,solb:mP,sol:gP,Sopf:vP,sopf:bP,spades:yP,spadesuit:wP,spar:xP,sqcap:CP,sqcaps:kP,sqcup:AP,sqcups:SP,Sqrt:TP,sqsub:EP,sqsube:MP,sqsubset:NP,sqsubseteq:OP,sqsup:zP,sqsupe:DP,sqsupset:LP,sqsupseteq:IP,square:FP,Square:RP,SquareIntersection:PP,SquareSubset:BP,SquareSubsetEqual:jP,SquareSuperset:qP,SquareSupersetEqual:HP,SquareUnion:UP,squarf:WP,squ:GP,squf:VP,srarr:KP,Sscr:YP,sscr:ZP,ssetmn:XP,ssmile:QP,sstarf:JP,Star:_P,star:$P,starf:tB,straightepsilon:eB,straightphi:nB,strns:iB,sub:rB,Sub:oB,subdot:sB,subE:aB,sube:lB,subedot:cB,submult:hB,subnE:uB,subne:dB,subplus:pB,subrarr:fB,subset:mB,Subset:gB,subseteq:vB,subseteqq:bB,SubsetEqual:yB,subsetneq:wB,subsetneqq:xB,subsim:CB,subsub:kB,subsup:AB,succapprox:SB,succ:TB,succcurlyeq:EB,Succeeds:MB,SucceedsEqual:NB,SucceedsSlantEqual:OB,SucceedsTilde:zB,succeq:DB,succnapprox:LB,succneqq:IB,succnsim:FB,succsim:RB,SuchThat:PB,sum:BB,Sum:jB,sung:qB,sup1:HB,sup2:UB,sup3:WB,sup:GB,Sup:VB,supdot:KB,supdsub:YB,supE:ZB,supe:XB,supedot:QB,Superset:JB,SupersetEqual:_B,suphsol:$B,suphsub:tj,suplarr:ej,supmult:nj,supnE:ij,supne:rj,supplus:oj,supset:sj,Supset:aj,supseteq:lj,supseteqq:cj,supsetneq:hj,supsetneqq:uj,supsim:dj,supsub:pj,supsup:fj,swarhk:mj,swarr:gj,swArr:vj,swarrow:bj,swnwar:yj,szlig:wj,Tab:xj,target:Cj,Tau:kj,tau:Aj,tbrk:Sj,Tcaron:Tj,tcaron:Ej,Tcedil:Mj,tcedil:Nj,Tcy:Oj,tcy:zj,tdot:Dj,telrec:Lj,Tfr:Ij,tfr:Fj,there4:Rj,therefore:Pj,Therefore:Bj,Theta:jj,theta:qj,thetasym:Hj,thetav:Uj,thickapprox:Wj,thicksim:Gj,ThickSpace:Vj,ThinSpace:Kj,thinsp:Yj,thkap:Zj,thksim:Xj,THORN:Qj,thorn:Jj,tilde:_j,Tilde:$j,TildeEqual:tq,TildeFullEqual:eq,TildeTilde:nq,timesbar:iq,timesb:rq,times:oq,timesd:sq,tint:aq,toea:lq,topbot:cq,topcir:hq,top:uq,Topf:dq,topf:pq,topfork:fq,tosa:mq,tprime:gq,trade:vq,TRADE:bq,triangle:yq,triangledown:wq,triangleleft:xq,trianglelefteq:Cq,triangleq:kq,triangleright:Aq,trianglerighteq:Sq,tridot:Tq,trie:Eq,triminus:Mq,TripleDot:Nq,triplus:Oq,trisb:zq,tritime:Dq,trpezium:Lq,Tscr:Iq,tscr:Fq,TScy:Rq,tscy:Pq,TSHcy:Bq,tshcy:jq,Tstrok:qq,tstrok:Hq,twixt:Uq,twoheadleftarrow:Wq,twoheadrightarrow:Gq,Uacute:Vq,uacute:Kq,uarr:Yq,Uarr:Zq,uArr:Xq,Uarrocir:Qq,Ubrcy:Jq,ubrcy:_q,Ubreve:$q,ubreve:tH,Ucirc:eH,ucirc:nH,Ucy:iH,ucy:rH,udarr:oH,Udblac:sH,udblac:aH,udhar:lH,ufisht:cH,Ufr:hH,ufr:uH,Ugrave:dH,ugrave:pH,uHar:fH,uharl:mH,uharr:gH,uhblk:vH,ulcorn:bH,ulcorner:yH,ulcrop:wH,ultri:xH,Umacr:CH,umacr:kH,uml:AH,UnderBar:SH,UnderBrace:TH,UnderBracket:EH,UnderParenthesis:MH,Union:NH,UnionPlus:OH,Uogon:zH,uogon:DH,Uopf:LH,uopf:IH,UpArrowBar:FH,uparrow:RH,UpArrow:PH,Uparrow:BH,UpArrowDownArrow:jH,updownarrow:qH,UpDownArrow:HH,Updownarrow:UH,UpEquilibrium:WH,upharpoonleft:GH,upharpoonright:VH,uplus:KH,UpperLeftArrow:YH,UpperRightArrow:ZH,upsi:XH,Upsi:QH,upsih:JH,Upsilon:_H,upsilon:$H,UpTeeArrow:tU,UpTee:eU,upuparrows:nU,urcorn:iU,urcorner:rU,urcrop:oU,Uring:sU,uring:aU,urtri:lU,Uscr:cU,uscr:hU,utdot:uU,Utilde:dU,utilde:pU,utri:fU,utrif:mU,uuarr:gU,Uuml:vU,uuml:bU,uwangle:yU,vangrt:wU,varepsilon:xU,varkappa:CU,varnothing:kU,varphi:AU,varpi:SU,varpropto:TU,varr:EU,vArr:MU,varrho:NU,varsigma:OU,varsubsetneq:zU,varsubsetneqq:DU,varsupsetneq:LU,varsupsetneqq:IU,vartheta:FU,vartriangleleft:RU,vartriangleright:PU,vBar:BU,Vbar:jU,vBarv:qU,Vcy:HU,vcy:UU,vdash:WU,vDash:GU,Vdash:VU,VDash:KU,Vdashl:YU,veebar:ZU,vee:XU,Vee:QU,veeeq:JU,vellip:_U,verbar:$U,Verbar:tW,vert:eW,Vert:nW,VerticalBar:iW,VerticalLine:rW,VerticalSeparator:oW,VerticalTilde:sW,VeryThinSpace:aW,Vfr:lW,vfr:cW,vltri:hW,vnsub:uW,vnsup:dW,Vopf:pW,vopf:fW,vprop:mW,vrtri:gW,Vscr:vW,vscr:bW,vsubnE:yW,vsubne:wW,vsupnE:xW,vsupne:CW,Vvdash:kW,vzigzag:AW,Wcirc:SW,wcirc:TW,wedbar:EW,wedge:MW,Wedge:NW,wedgeq:OW,weierp:zW,Wfr:DW,wfr:LW,Wopf:IW,wopf:FW,wp:RW,wr:PW,wreath:BW,Wscr:jW,wscr:qW,xcap:HW,xcirc:UW,xcup:WW,xdtri:GW,Xfr:VW,xfr:KW,xharr:YW,xhArr:ZW,Xi:XW,xi:QW,xlarr:JW,xlArr:_W,xmap:$W,xnis:tG,xodot:eG,Xopf:nG,xopf:iG,xoplus:rG,xotime:oG,xrarr:sG,xrArr:aG,Xscr:lG,xscr:cG,xsqcup:hG,xuplus:uG,xutri:dG,xvee:pG,xwedge:fG,Yacute:mG,yacute:gG,YAcy:vG,yacy:bG,Ycirc:yG,ycirc:wG,Ycy:xG,ycy:CG,yen:kG,Yfr:AG,yfr:SG,YIcy:TG,yicy:EG,Yopf:MG,yopf:NG,Yscr:OG,yscr:zG,YUcy:DG,yucy:LG,yuml:IG,Yuml:FG,Zacute:RG,zacute:PG,Zcaron:BG,zcaron:jG,Zcy:qG,zcy:HG,Zdot:UG,zdot:WG,zeetrf:GG,ZeroWidthSpace:VG,Zeta:KG,zeta:YG,zfr:ZG,Zfr:XG,ZHcy:QG,zhcy:JG,zigrarr:_G,zopf:$G,Zopf:tV,Zscr:eV,zscr:nV,zwj:iV,zwnj:rV},sV="Á",aV="á",lV="Â",cV="â",hV="´",uV="Æ",dV="æ",pV="À",fV="à",mV="&",gV="&",vV="Å",bV="å",yV="Ã",wV="ã",xV="Ä",CV="ä",kV="¦",AV="Ç",SV="ç",TV="¸",EV="¢",MV="©",NV="©",OV="¤",zV="°",DV="÷",LV="É",IV="é",FV="Ê",RV="ê",PV="È",BV="è",jV="Ð",qV="ð",HV="Ë",UV="ë",WV="½",GV="¼",VV="¾",KV=">",YV=">",ZV="Í",XV="í",QV="Î",JV="î",_V="¡",$V="Ì",tK="ì",eK="¿",nK="Ï",iK="ï",rK="«",oK="<",sK="<",aK="¯",lK="µ",cK="·",hK=" ",uK="¬",dK="Ñ",pK="ñ",fK="Ó",mK="ó",gK="Ô",vK="ô",bK="Ò",yK="ò",wK="ª",xK="º",CK="Ø",kK="ø",AK="Õ",SK="õ",TK="Ö",EK="ö",MK="¶",NK="±",OK="£",zK='"',DK='"',LK="»",IK="®",FK="®",RK="§",PK="­",BK="¹",jK="²",qK="³",HK="ß",UK="Þ",WK="þ",GK="×",VK="Ú",KK="ú",YK="Û",ZK="û",XK="Ù",QK="ù",JK="¨",_K="Ü",$K="ü",tY="Ý",eY="ý",nY="¥",iY="ÿ",rY={Aacute:sV,aacute:aV,Acirc:lV,acirc:cV,acute:hV,AElig:uV,aelig:dV,Agrave:pV,agrave:fV,amp:mV,AMP:gV,Aring:vV,aring:bV,Atilde:yV,atilde:wV,Auml:xV,auml:CV,brvbar:kV,Ccedil:AV,ccedil:SV,cedil:TV,cent:EV,copy:MV,COPY:NV,curren:OV,deg:zV,divide:DV,Eacute:LV,eacute:IV,Ecirc:FV,ecirc:RV,Egrave:PV,egrave:BV,ETH:jV,eth:qV,Euml:HV,euml:UV,frac12:WV,frac14:GV,frac34:VV,gt:KV,GT:YV,Iacute:ZV,iacute:XV,Icirc:QV,icirc:JV,iexcl:_V,Igrave:$V,igrave:tK,iquest:eK,Iuml:nK,iuml:iK,laquo:rK,lt:oK,LT:sK,macr:aK,micro:lK,middot:cK,nbsp:hK,not:uK,Ntilde:dK,ntilde:pK,Oacute:fK,oacute:mK,Ocirc:gK,ocirc:vK,Ograve:bK,ograve:yK,ordf:wK,ordm:xK,Oslash:CK,oslash:kK,Otilde:AK,otilde:SK,Ouml:TK,ouml:EK,para:MK,plusmn:NK,pound:OK,quot:zK,QUOT:DK,raquo:LK,reg:IK,REG:FK,sect:RK,shy:PK,sup1:BK,sup2:jK,sup3:qK,szlig:HK,THORN:UK,thorn:WK,times:GK,Uacute:VK,uacute:KK,Ucirc:YK,ucirc:ZK,Ugrave:XK,ugrave:QK,uml:JK,Uuml:_K,uuml:$K,Yacute:tY,yacute:eY,yen:nY,yuml:iY},oY="&",sY="'",aY=">",lY="<",cY='"',hY={amp:oY,apos:sY,gt:aY,lt:lY,quot:cY},uY={},dY={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},pY=Io&&Io.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(uY,"__esModule",{value:!0});var fY=pY(dY),mY=String.fromCodePoint||function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};function gY(t){return t>=55296&&t<=57343||t>1114111?"�":(t in fY.default&&(t=fY.default[t]),mY(t))}uY.default=gY;var vY=Io&&Io.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qo,"__esModule",{value:!0}),qo.decodeHTML=qo.decodeHTMLStrict=qo.decodeXML=void 0;var bY=vY(oV),yY=vY(rY),wY=vY(hY),xY=vY(uY),CY=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function kY(t){var e=SY(t);return function(t){return String(t).replace(CY,e)}}qo.decodeXML=kY(wY.default),qo.decodeHTMLStrict=kY(bY.default);var AY=function(t,e){return t1?PY(t):t.charCodeAt(0)).toString(16).toUpperCase()+";"}function jY(t,e){return function(n){return n.replace(e,(function(e){return t[e]})).replace(RY,BY)}}var qY=new RegExp(OY.source+"|"+RY.source,"g");function HY(t){return t.replace(qY,BY)}function UY(t){return t.replace(OY,BY)}function WY(t){return function(e){return e.replace(qY,(function(e){return t[e]||BY(e)}))}}TY.escape=HY,TY.escapeUTF8=UY,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=qo,n=TY;function i(t,n){return(!n||n<=0?e.decodeXML:e.decodeHTML)(t)}function r(t,n){return(!n||n<=0?e.decodeXML:e.decodeHTMLStrict)(t)}function o(t,e){return(!e||e<=0?n.encodeXML:n.encodeHTML)(t)}t.decode=i,t.decodeStrict=r,t.encode=o;var s=TY;Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return s.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return s.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return s.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return s.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return s.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return s.encodeHTML}});var a=qo;Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})}(jo);var GY="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",VY=92,KY=/[\\&]/,YY="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",ZY=new RegExp("\\\\"+YY+"|"+GY,"gi"),XY='[&<>"]',QY=new RegExp(XY,"g"),JY=function(t){return t.charCodeAt(0)===VY?t.charAt(1):jo.decodeHTML(t)};function _Y(t){return KY.test(t)?t.replace(ZY,JY):t}function $Y(t){try{return Bo(t)}catch(e){return t}}function tZ(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return t}}function eZ(t){return QY.test(t)?t.replace(QY,tZ):t}function nZ(t,e){for(var n=[],i=0;i`\\x00-\\x20]+",BZ="'[^']*'",jZ='"[^"]*"',qZ="(?:"+PZ+"|"+BZ+"|"+jZ+")",HZ="(?:\\s*=\\s*"+qZ+")",UZ="(?:\\s+"+RZ+HZ+"?)",WZ="<"+FZ+UZ+"*\\s*/?>",GZ="]",VZ="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",KZ="[<][?].*?[?][>]",YZ="]*>",ZZ="",XZ="(?:"+WZ+"|"+GZ+"|"+VZ+"|"+KZ+"|"+YZ+"|"+ZZ+")",QZ=new RegExp("^"+XZ,"i");if(String.fromCodePoint)IZ=function(t){try{return String.fromCodePoint(t)}catch(e){if(e instanceof RangeError)return String.fromCharCode(65533);throw e}};else{var JZ=String.fromCharCode,_Z=Math.floor;IZ=function(){for(var t=[],e=0;e1114111||_Z(c)!==c)return String.fromCharCode(65533);c<=65535?o.push(c):(c-=65536,n=55296+(c>>10),i=c%1024+56320,o.push(n,i)),(s+1===a||o.length>r)&&(l+=JZ.apply(void 0,o),o.length=0)}return l}}var $Z=IZ,tX="(?:[w-]+.)*[A-Za-z0-9-]+.[A-Za-z0-9-]+",eX="[^<\\s]*[^s&&u.push(LZ(r.substring(s,m[0]),h(s,m[0]-1)));var b=AZ("link",h.apply(void 0,m));b.appendChild(LZ(v,h.apply(void 0,m))),b.destination=g,b.extendedAutolink=!0,u.push(b),s=m[1]+1}s?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),IX=new RegExp('^(?:"('+DX+'|[^"\\x00])*"|\'('+DX+"|[^'\\x00])*'|\\(("+DX+"|[^()\\x00])*\\))"),FX=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,RX=new RegExp("^"+YY),PX=new RegExp("^"+GY,"i"),BX=/`+/,jX=/^`+/,qX=/\.\.\./g,HX=/--+/g,UX=/^<([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])?)*)>/,WX=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,GX=/^ *(?:\n *)?/,VX=/^[ \t\n\x0b\x0c\x0d]/,KX=/^\s/,YX=/ *$/,ZX=/^ */,XX=/^ *(?:\n|$)/,QX=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,JX=/^[^\n`\[\]\\!<&*_'"~$]+/m,_X=function(){function t(t){this.subject="",this.delimiters=null,this.brackets=null,this.pos=0,this.lineStartNum=0,this.lineIdx=0,this.lineOffsets=[0],this.linePosOffset=0,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.options=t}return t.prototype.sourcepos=function(t,e){var n=this.linePosOffset+this.lineOffsets[this.lineIdx],i=this.lineStartNum+this.lineIdx,r=[i,t+n];return"number"===typeof e?[r,[i,e+n]]:r},t.prototype.nextLine=function(){this.lineIdx+=1,this.linePosOffset=-this.pos},t.prototype.match=function(t){var e=t.exec(this.subject.slice(this.pos));return null===e?null:(this.pos+=e.index+e[0].length,e[0])},t.prototype.peek=function(){return this.pos1){var l=cX(a);this.lineIdx+=a.length-1,this.linePosOffset=-(this.pos-l.length-n.length),s[1]=this.sourcepos(this.pos),o=a.join(" ")}var c=AZ("code",s);return o.length>0&&null!==o.match(/[^ ]/)&&" "==o[0]&&" "==o[o.length-1]?c.literal=o.slice(1,o.length-1):c.literal=o,c.tickCount=n.length,t.appendChild(c),!0}return this.pos=r,t.appendChild(LZ(n,this.sourcepos(e,this.pos-1))),!0},t.prototype.parseBackslash=function(t){var e,n=this.subject;this.pos+=1;var i=this.pos;return this.peek()===mX?(this.pos+=1,e=AZ("linebreak",this.sourcepos(this.pos-1,this.pos)),t.appendChild(e),this.nextLine()):RX.test(n.charAt(this.pos))?(t.appendChild(LZ(n.charAt(this.pos),this.sourcepos(i,this.pos))),this.pos+=1):t.appendChild(LZ("\\",this.sourcepos(i,i))),!0},t.prototype.parseAutolink=function(t){var e,n,i,r=this.pos+1;return(e=this.match(UX))?(n=e.slice(1,e.length-1),i=AZ("link",this.sourcepos(r,this.pos)),i.destination=$Y("mailto:"+n),i.title="",i.appendChild(LZ(n,this.sourcepos(r+1,this.pos-1))),t.appendChild(i),!0):!!(e=this.match(WX))&&(n=e.slice(1,e.length-1),i=AZ("link",this.sourcepos(r,this.pos)),i.destination=$Y(n),i.title="",i.appendChild(LZ(n,this.sourcepos(r+1,this.pos-1))),t.appendChild(i),!0)},t.prototype.parseHtmlTag=function(t){var e=this.pos+1,n=this.match(QZ);if(null===n)return!1;var i=AZ("htmlInline",this.sourcepos(e,this.pos));return i.literal=n,t.appendChild(i),!0},t.prototype.scanDelims=function(t){var e=0,n=this.pos;if(t===NX||t===OX)e++,this.pos++;else while(this.peek()===t)e++,this.pos++;if(0===e||e<2&&(t===xX||t===zX))return this.pos=n,null;var i,r=0===n?"\n":this.subject.charAt(n-1),o=this.peek();i=-1===o?"\n":$Z(o);var s,a,l=KX.test(i),c=LX.test(i),h=KX.test(r),u=LX.test(r),d=!l&&(!c||h||u),p=!h&&(!u||l||c);return t===vX?(s=d&&(!p||u),a=p&&(!d||c)):t===NX||t===OX?(s=d&&!p,a=p):t===zX?(s=!l,a=!h):(s=d,a=p),this.pos=n,{numdelims:e,canOpen:s,canClose:a}},t.prototype.handleDelim=function(t,e){var n=this.scanDelims(t);if(!n)return!1;var i,r=n.numdelims,o=this.pos+1;this.pos+=r,i=t===NX?"’":t===OX?"“":this.subject.slice(o-1,this.pos);var s=LZ(i,this.sourcepos(o,this.pos));return e.appendChild(s),(n.canOpen||n.canClose)&&(this.options.smart||t!==NX&&t!==OX)&&(this.delimiters={cc:t,numdelims:r,origdelims:r,node:s,previous:this.delimiters,next:null,canOpen:n.canOpen,canClose:n.canClose},this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0},t.prototype.removeDelimiter=function(t){null!==t.previous&&(t.previous.next=t.next),null===t.next?this.delimiters=t.previous:t.next.previous=t.previous},t.prototype.removeDelimitersBetween=function(t,e){t.next!==e&&(t.next=e,e.previous=t)},t.prototype.processEmphasis=function(t){var e,n,i,r,o,s,a,l=!1,c=(e={},e[vX]=[t,t,t],e[gX]=[t,t,t],e[NX]=[t],e[OX]=[t],e[xX]=[t],e[zX]=[t],e);i=this.delimiters;while(null!==i&&i.previous!==t)i=i.previous;while(null!==i){var h=i.cc,u=h===vX||h===gX;if(i.canClose){n=i.previous,a=!1;while(null!==n&&n!==t&&n!==c[h][u?i.origdelims%3:0]){if(l=u&&(i.canOpen||n.canClose)&&i.origdelims%3!==0&&(n.origdelims+i.origdelims)%3===0,n.cc===i.cc&&n.canOpen&&!l){a=!0;break}n=n.previous}if(r=i,u||h===xX||h===zX)if(a){if(n){var d=i.numdelims>=2&&n.numdelims>=2?2:1,p=u?0:1;o=n.node,s=i.node;var f=u?1===d?"emph":"strong":"strike";h===zX&&(f="customInline");var m=AZ(f),g=o.sourcepos[1],v=s.sourcepos[0];m.sourcepos=[[g[0],g[1]-d+1],[v[0],v[1]+d-1]],o.sourcepos[1][1]-=d,s.sourcepos[0][1]+=d,o.literal=o.literal.slice(d),s.literal=s.literal.slice(d),n.numdelims-=d,i.numdelims-=d;var b=o.next,y=void 0;while(b&&b!==s)y=b.next,b.unlink(),m.appendChild(b),b=y;if(h===zX){var w=m.firstChild,x=w.literal||"",C=x.split(/\s/)[0];m.info=C,x.length<=C.length?w.unlink():(w.sourcepos[0][1]+=C.length,w.literal=x.replace(C+" ",""))}if(o.insertAfter(m),this.removeDelimitersBetween(n,i),n.numdelims<=p&&(0===n.numdelims&&o.unlink(),this.removeDelimiter(n)),i.numdelims<=p){0===i.numdelims&&s.unlink();var k=i.next;this.removeDelimiter(i),i=k}}}else i=i.next;else h===NX?(i.node.literal="’",a&&(n.node.literal="‘"),i=i.next):h===OX&&(i.node.literal="”",a&&(n.node.literal="“"),i=i.next);a||(c[h][u?r.origdelims%3:0]=r.previous,r.canOpen||this.removeDelimiter(r))}else i=i.next}while(null!==this.delimiters&&this.delimiters!==t)this.removeDelimiter(this.delimiters)},t.prototype.parseLinkTitle=function(){var t=this.match(IX);return null===t?null:_Y(t.substr(1,t.length-2))},t.prototype.parseLinkDestination=function(){var t=this.match(FX);if(null===t){if(this.peek()===CX)return null;var e=this.pos,n=0,i=void 0;while(-1!==(i=this.peek()))if(i===AX&&RX.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(i===TX)this.pos+=1,n+=1;else if(i===EX){if(n<1)break;this.pos+=1,n-=1}else{if(null!==VX.exec($Z(i)))break;this.pos+=1}return this.pos===e&&i!==EX||0!==n?null:(t=this.subject.substr(e,this.pos-e),$Y(_Y(t)))}return $Y(_Y(t.substr(1,t.length-2)))},t.prototype.parseLinkLabel=function(){var t=this.match(QX);return null===t||t.length>1001?0:t.length},t.prototype.parseOpenBracket=function(t){var e=this.pos;this.pos+=1;var n=LZ("[",this.sourcepos(this.pos,this.pos));return t.appendChild(n),this.addBracket(n,e,!1),!0},t.prototype.parseBang=function(t){var e=this.pos;if(this.pos+=1,this.peek()===yX){this.pos+=1;var n=LZ("![",this.sourcepos(this.pos-1,this.pos));t.appendChild(n),this.addBracket(n,e+1,!0)}else{n=LZ("!",this.sourcepos(this.pos,this.pos));t.appendChild(n)}return!0},t.prototype.parseCloseBracket=function(t){var e=null,n=null,i=!1;this.pos+=1;var r=this.pos,o=this.brackets;if(null===o)return t.appendChild(LZ("]",this.sourcepos(r,r))),!0;if(!o.active)return t.appendChild(LZ("]",this.sourcepos(r,r))),this.removeBracket(),!0;var s=o.image,a=this.pos;this.peek()===TX&&(this.pos++,this.spnl()&&null!==(e=this.parseLinkDestination())&&this.spnl()&&(VX.test(this.subject.charAt(this.pos-1))&&(n=this.parseLinkTitle()),1)&&this.spnl()&&this.peek()===EX?(this.pos+=1,i=!0):this.pos=a);var l="";if(!i){var c=this.pos,h=this.parseLinkLabel();if(h>2?l=this.subject.slice(c,c+h):o.bracketAfter||(l=this.subject.slice(o.index,r)),0===h&&(this.pos=a),l){l=hX(l);var u=this.refMap[l];u&&(e=u.destination,n=u.title,i=!0)}}if(i){var d=AZ(s?"image":"link");d.destination=e,d.title=n||"",d.sourcepos=[o.startpos,this.sourcepos(this.pos)];var p=o.node.next,f=void 0;while(p)f=p.next,p.unlink(),d.appendChild(p),p=f;if(t.appendChild(d),this.processEmphasis(o.previousDelimiter),this.removeBracket(),o.node.unlink(),!s){o=this.brackets;while(null!==o)o.image||(o.active=!1),o=o.previous}return this.options.referenceDefinition&&(this.refLinkCandidateMap[t.id]={node:t,refLabel:l}),!0}return this.removeBracket(),this.pos=r,t.appendChild(LZ("]",this.sourcepos(r,r))),this.options.referenceDefinition&&(this.refLinkCandidateMap[t.id]={node:t,refLabel:l}),!0},t.prototype.addBracket=function(t,e,n){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:t,startpos:this.sourcepos(e+(n?0:1)),previous:this.brackets,previousDelimiter:this.delimiters,index:e,image:n,active:!0}},t.prototype.removeBracket=function(){this.brackets&&(this.brackets=this.brackets.previous)},t.prototype.parseEntity=function(t){var e,n=this.pos+1;return!!(e=this.match(PX))&&(t.appendChild(LZ(jo.decodeHTML(e),this.sourcepos(n,this.pos))),!0)},t.prototype.parseString=function(t){var e,n=this.pos+1;if(e=this.match(JX)){if(this.options.smart){var i=e.replace(qX,"…").replace(HX,(function(t){var e=0,n=0;return t.length%3===0?n=t.length/3:t.length%2===0?e=t.length/2:t.length%3===2?(e=1,n=(t.length-2)/3):(e=2,n=(t.length-4)/3),nZ("—",n)+nZ("–",e)}));t.appendChild(LZ(i,this.sourcepos(n,this.pos)))}else{var r=LZ(e,this.sourcepos(n,this.pos));t.appendChild(r)}return!0}return!1},t.prototype.parseNewline=function(t){this.pos+=1;var e=t.lastChild;if(e&&"text"===e.type&&" "===e.literal[e.literal.length-1]){var n=" "===e.literal[e.literal.length-2],i=e.literal.length;e.literal=e.literal.replace(YX,"");var r=i-e.literal.length;e.sourcepos[1][1]-=r,t.appendChild(AZ(n?"linebreak":"softbreak",this.sourcepos(this.pos-r,this.pos)))}else t.appendChild(AZ("softbreak",this.sourcepos(this.pos,this.pos)));return this.nextLine(),this.match(ZX),!0},t.prototype.parseReference=function(t,e){if(!this.options.referenceDefinition)return 0;this.subject=t.stringContent,this.pos=0;var n=null,i=this.pos,r=this.parseLinkLabel();if(0===r)return 0;var o=this.subject.substr(0,r);if(this.peek()!==MX)return this.pos=i,0;this.pos++,this.spnl();var s=this.parseLinkDestination();if(null===s)return this.pos=i,0;var a=this.pos;this.spnl(),this.pos!==a&&(n=this.parseLinkTitle()),null===n&&(n="",this.pos=a);var l=!0;if(null===this.match(XX)&&(""===n?l=!1:(n="",this.pos=a,l=null!==this.match(XX))),!l)return this.pos=i,0;var c=hX(o);if(""===c)return this.pos=i,0;var h=this.getReferenceDefSourcepos(t);t.sourcepos[0][0]=h[1][0]+1;var u=AZ("refDef",h);return u.title=n,u.dest=s,u.label=c,t.insertBefore(u),e[c]?this.refDefCandidateMap[u.id]=u:e[c]=RJ(u),this.pos-i},t.prototype.mergeTextNodes=function(t){var e,n=[];while(e=t.next()){var i=e.entering,r=e.node;if(i&&"text"===r.type)n.push(r);else if(1===n.length)n=[];else if(n.length>1){var o=n[0],s=n[n.length-1];o.sourcepos&&s.sourcepos&&(o.sourcepos[1]=s.sourcepos[1]),o.next=s.next,o.next&&(o.next.prev=o);for(var a=1;a0&&yQ(vQ(n,t.offset)))t.advanceOffset(1,!0),r--;return 0},finalize:function(t,e){if(null!==e.stringContent){var n=e.stringContent,i=n.indexOf("\n"),r=n.slice(0,i),o=n.slice(i+1),s=r.match(/^(\s*)(.*)/);e.info=_Y(s[2].trim()),e.literal=o,e.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},CQ={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!0},kQ={continue:function(){return 0},finalize:function(){},canContain:function(t){return"item"!==t},acceptsLines:!1},AQ={continue:function(){return 0},finalize:function(t,e){var n=e.firstChild;while(n){if(gQ(n)&&n.next){e.listData.tight=!1;break}var i=n.firstChild;while(i){if(gQ(i)&&(n.next||i.next)){e.listData.tight=!1;break}i=i.next}n=n.next}},canContain:function(t){return"item"===t},acceptsLines:!1},SQ={continue:function(t){var e=t.currentLine;return t.indented||vQ(e,t.nextNonspace)!==hQ?1:(t.advanceNextNonspace(),t.advanceOffset(1,!1),yQ(vQ(e,t.offset))&&t.advanceOffset(1,!0),0)},finalize:function(){},canContain:function(t){return"item"!==t},acceptsLines:!1},TQ={continue:function(t,e){if(t.blank){if(null===e.firstChild)return 1;t.advanceNextNonspace()}else{if(!(t.indent>=e.listData.markerOffset+e.listData.padding))return 1;t.advanceOffset(e.listData.markerOffset+e.listData.padding,!0)}return 0},finalize:tQ,canContain:function(t){return"item"!==t},acceptsLines:!1},EQ={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},MQ={continue:function(){return 1},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},NQ={continue:function(t,e){var n=t.currentLine,i=t.indent;if(e.isFenced){var r=i<=3&&n.charAt(t.nextNonspace)===e.fenceChar&&n.slice(t.nextNonspace).match(mQ);if(r&&r[0].length>=e.fenceLength)return t.lastLineLength=t.offset+i+r[0].length,t.finalize(e,t.lineNumber),2;var o=e.fenceOffset;while(o>0&&yQ(vQ(n,t.offset)))t.advanceOffset(1,!0),o--}else if(i>=lQ)t.advanceOffset(lQ,!0);else{if(!t.blank)return 1;t.advanceNextNonspace()}return 0},finalize:function(t,e){var n;if(null!==e.stringContent){if(e.isFenced){var i=e.stringContent,r=i.indexOf("\n"),o=i.slice(0,r),s=i.slice(r+1),a=o.match(/^(\s*)(.*)/);e.infoPadding=a[1].length,e.info=_Y(a[2].trim()),e.literal=s}else e.literal=null===(n=e.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,"\n");e.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},OQ={continue:function(t,e){return!t.blank||6!==e.htmlBlockType&&7!==e.htmlBlockType?0:1},finalize:function(t,e){var n;e.literal=(null===(n=e.stringContent)||void 0===n?void 0:n.replace(/(\n *)+$/,""))||null,e.stringContent=null},canContain:function(){return!1},acceptsLines:!0},zQ={continue:function(t){return t.blank?1:0},finalize:function(t,e){if(null!==e.stringContent){var n,i=!1;while(vQ(e.stringContent,0)===pQ&&(n=t.inlineParser.parseReference(e,t.refMap)))e.stringContent=e.stringContent.slice(n),i=!0;i&&bQ(e.stringContent)&&e.unlink()}},canContain:function(){return!1},acceptsLines:!0},DQ=CQ,LQ=CQ,IQ={document:kQ,list:AQ,blockQuote:SQ,item:TQ,heading:EQ,thematicBreak:MQ,codeBlock:NQ,htmlBlock:OQ,paragraph:zQ,table:eQ,tableBody:nQ,tableHead:iQ,tableRow:sQ,tableCell:aQ,tableDelimRow:rQ,tableDelimCell:oQ,refDef:DQ,customBlock:xQ,frontMatter:LQ};function FQ(t){for(var e=0,n=0,i=[],r=0;r=o.columns.length&&(t.ignored=!0),r.appendChild(t)})),2},qQ=/^(\$\$)(\s*[a-zA-Z])+/,HQ=/^(\$\$)(\s*[a-zA-Z])+.*(\$\$)/,UQ=function(t){var e;if(!t.indented&&!HQ.test(t.currentLine)&&(e=t.currentLine.match(qQ))){var n=e[1].length;t.closeUnmatchedBlocks();var i=t.addChild("customBlock",t.nextNonspace);return i.syntaxLength=n,i.offset=t.indent,t.advanceNextNonspace(),t.advanceOffset(n,!1),2}return 0},WQ=/^`{3,}(?!.*`)|^~{3,}/,GQ=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^/,/\?>/,/>/,/\]\]>/],dJ=/^[#`~*+_=<>0-9-;$]/,pJ=/\r\n|\n|\r/;function fJ(){return AZ("document",[[1,1],[0,0]])}var mJ={smart:!1,tagFilter:!1,extendedAutolinks:!1,disallowedHtmlBlockTags:[],referenceDefinition:!1,disallowDeepHeading:!1,customParser:null,frontMatter:!1},gJ=function(){function t(t){this.options=Do(Do({},mJ),t),this.doc=fJ(),this.tip=this.doc,this.oldtip=this.doc,this.lineNumber=0,this.offset=0,this.column=0,this.nextNonspace=0,this.nextNonspaceColumn=0,this.indent=0,this.currentLine="",this.indented=!1,this.blank=!1,this.partiallyConsumedTab=!1,this.allClosed=!0,this.lastMatchedContainer=this.doc,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.lastLineLength=0,this.lines=[],this.options.frontMatter&&(IQ.frontMatter=hJ,aJ.unshift(cJ)),this.inlineParser=new _X(this.options)}return t.prototype.advanceOffset=function(t,e){void 0===e&&(e=!1);var n,i,r,o=this.currentLine;while(t>0&&(r=o[this.offset]))"\t"===r?(n=4-this.column%4,e?(this.partiallyConsumedTab=n>t,i=n>t?t:n,this.column+=i,this.offset+=this.partiallyConsumedTab?0:1,t-=i):(this.partiallyConsumedTab=!1,this.column+=n,this.offset+=1,t-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,t-=1)},t.prototype.advanceNextNonspace=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},t.prototype.findNextNonspace=function(){var t,e=this.currentLine,n=this.offset,i=this.column;while(""!==(t=e.charAt(n)))if(" "===t)n++,i++;else{if("\t"!==t)break;n++,i+=4-i%4}this.blank="\n"===t||"\r"===t||""===t,this.nextNonspace=n,this.nextNonspaceColumn=i,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=lQ},t.prototype.addLine=function(){if(this.partiallyConsumedTab){this.offset+=1;var t=4-this.column%4;this.tip.stringContent+=nZ(" ",t)}this.tip.lineOffsets?this.tip.lineOffsets.push(this.offset):this.tip.lineOffsets=[this.offset],this.tip.stringContent+=this.currentLine.slice(this.offset)+"\n"},t.prototype.addChild=function(t,e){while(!IQ[this.tip.type].canContain(t))this.finalize(this.tip,this.lineNumber-1);var n=e+1,i=AZ(t,[[this.lineNumber,n],[0,0]]);return i.stringContent="",this.tip.appendChild(i),this.tip=i,i},t.prototype.closeUnmatchedBlocks=function(){if(!this.allClosed){while(this.oldtip!==this.lastMatchedContainer){var t=this.oldtip.parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=t}this.allClosed=!0}},t.prototype.finalize=function(t,e){var n=t.parent;t.open=!1,t.sourcepos[1]=[e,this.lastLineLength],IQ[t.type].finalize(this,t),this.tip=n},t.prototype.processInlines=function(t){var e,n=this.options.customParser,i=t.walker();this.inlineParser.refMap=this.refMap,this.inlineParser.refLinkCandidateMap=this.refLinkCandidateMap,this.inlineParser.refDefCandidateMap=this.refDefCandidateMap,this.inlineParser.options=this.options;while(e=i.next()){var r=e.node,o=e.entering,s=r.type;n&&n[s]&&n[s](r,{entering:o,options:this.options}),o||"paragraph"!==s&&"heading"!==s&&("tableCell"!==s||r.ignored)||this.inlineParser.parse(r)}},t.prototype.incorporateLine=function(t){var e=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==t.indexOf("\0")&&(t=t.replace(/\0/g,"�")),this.currentLine=t;var n,i=!0;while((n=e.lastChild)&&n.open){switch(e=n,this.findNextNonspace(),IQ[e.type]["continue"](this,e)){case 0:break;case 1:i=!1;break;case 2:return void(this.lastLineLength=t.length);default:throw new Error("continue returned illegal value, must be 0, 1, or 2")}if(!i){e=e.parent;break}}this.allClosed=e===this.oldtip,this.lastMatchedContainer=e;var r="paragraph"!==e.type&&IQ[e.type].acceptsLines,o=aJ.length;while(!r){if(this.findNextNonspace(),"table"!==e.type&&"tableBody"!==e.type&&"paragraph"!==e.type&&!this.indented&&!dJ.test(t.slice(this.nextNonspace))){this.advanceNextNonspace();break}var s=0;while(s=1&&e.htmlBlockType<=5&&uJ[e.htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=t.length,this.finalize(e,this.lineNumber))):this.offsete[0]?-1:t[1]e[1]?-1:0}function bJ(t,e){var n=t[0],i=t[1];return 1===vJ(i,e)?1:-1===vJ(n,e)?-1:0}function yJ(t,e){if(t.parent===e.parent&&t!==e){var n=t.next;while(n&&n!==e){for(var i=n.next,r=0,o=["parent","prev","next"];r=0;n-=1)t.prependChild(e[n])}function kJ(t,e){if(t&&t.parent&&0!==e){var n,i=t.parent.walker();i.resumeAt(t,!0);while(n=i.next()){var r=n.node,o=n.entering;o&&(r.sourcepos[0][0]+=e,r.sourcepos[1][0]+=e)}}}function AJ(t,e){var n=t[0],i=t[1];return i[0]e?-1:0}function SJ(t,e){var n=t.firstChild;while(n){var i=AJ(n.sourcepos,e);if(0===i)return n;if(-1===i)return n.prev||n;n=n.next}return t.lastChild}function TJ(t){while(t.lastChild)t=t.lastChild;return t}function EJ(t){while(t.parent&&"document"!==t.parent.type&&t.parent.sourcepos[0][0]===t.sourcepos[0][0])t=t.parent;return t}function MJ(t,e){var n=t.firstChild,i=null;while(n){var r=AJ(n.sourcepos,e);if(0===r){if(n.sourcepos[0][0]===e||!n.firstChild)return n;i=n,n=n.firstChild}else{if(-1===r)break;i=n,n=n.next}}return i?EJ(TJ(i)):null}function NJ(t,e){var n=t,i=null;while(n){var r=bJ(n.sourcepos,e);if(0===r){if(!n.firstChild)return n;i=n,n=n.firstChild}else{if(-1===r)return i;if(!n.next)return i;n=n.next}}return n}function OJ(t){return lZ(t)||null}function zJ(t,e,n){if(void 0===n&&(n=null),e){var i=e.walker();while(e&&e!==n){t(e);var r=i.next();if(!r)break;e=r.node}}}function DJ(t){var e=OJ(t);if(!e)return!0;while(e&&"document"!==e.type){if(!e.parent&&!e.prev&&!e.next)return!0;e=e.parent}return!1}var LJ=/\r\n|\n|\r/;function IJ(t){var e=t.match(/^[ \t]+/);if(e&&(e[0].length>=2||/\t/.test(e[0])))return!0;var n=e?t.slice(e.length):t;return ZQ.test(n)||XQ.test(n)}function FJ(t){return!bQ(t)&&-1!==t.indexOf("|")}function RJ(t){var e=t.id,n=t.title,i=t.sourcepos,r=t.dest;return{id:e,title:n,sourcepos:i,unlinked:!1,destination:r}}var PJ=function(){function t(t,e){this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.referenceDefinition=!!(null===e||void 0===e?void 0:e.referenceDefinition),this.parser=new gJ(e),this.parser.setRefMaps(this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap),this.eventHandlerMap={change:[]},t=t||"",this.lineTexts=t.split(LJ),this.root=this.parser.parse(t,this.lineTexts)}return t.prototype.updateLineTexts=function(t,e,n){var i,r=t[0],o=t[1],s=e[0],a=e[1],l=n.split(LJ),c=l.length,h=this.lineTexts[r-1],u=this.lineTexts[s-1];l[0]=h.slice(0,o-1)+l[0],l[c-1]=l[c-1]+u.slice(a-1);var d=s-r+1;return(i=this.lineTexts).splice.apply(i,Lo([r-1,d],l)),c-d},t.prototype.updateRootNodeState=function(){if(1===this.lineTexts.length&&""===this.lineTexts[0])return this.root.lastLineBlank=!0,void(this.root.sourcepos=[[1,1],[1,0]]);this.root.lastChild&&(this.root.lastLineBlank=this.root.lastChild.lastLineBlank);var t=this.lineTexts,e=t.length-1;while(""===t[e])e-=1;t.length-2>e&&(e+=1),this.root.sourcepos[1]=[e+1,t[e].length]},t.prototype.replaceRangeNodes=function(t,e,n){t?(xJ(t,n),yJ(t,e),[t.id,e.id].forEach((function(t){return cZ(t)})),t.unlink()):e?(xJ(e,n),cZ(e.id),e.unlink()):CJ(this.root,n)},t.prototype.getNodeRange=function(t,e){var n=SJ(this.root,t[0]),i=SJ(this.root,e[0]);return i&&i.next&&e[0]+1===i.next.sourcepos[0][0]&&(i=i.next),[n,i]},t.prototype.trigger=function(t,e){this.eventHandlerMap[t].forEach((function(t){t(e)}))},t.prototype.extendEndLine=function(t){while(""===this.lineTexts[t])t+=1;return t},t.prototype.parseRange=function(t,e,n,i){t&&t.prev&&(MZ(t.prev)&&IJ(this.lineTexts[n-1])||NZ(t.prev)&&FJ(this.lineTexts[n-1]))&&(t=t.prev,n=t.sourcepos[0][0]);var r=this.lineTexts.slice(n-1,i),o=this.parser.partialParseStart(n,r),s=e?e.next:this.root.firstChild,a=o.lastChild,l=a&&SZ(a)&&a.open,c=a&&zZ(a)&&a.open,h=a&&MZ(a);while((l||c)&&s||h&&s&&("list"===s.type||s.sourcepos[0][1]>=2)){var u=this.extendEndLine(s.sourcepos[1][0]);this.parser.partialParseExtends(this.lineTexts.slice(i,u)),t||(t=e),e=s,i=u,s=s.next}this.parser.partialParseFinish();var d=wJ(o);return{newNodes:d,extStartNode:t,extEndNode:e}},t.prototype.getRemovedNodeRange=function(t,e){return!t||t&&OZ(t)||e&&OZ(e)?null:{id:[t.id,e.id],line:[t.sourcepos[0][0]-1,e.sourcepos[1][0]-1]}},t.prototype.markDeletedRefMap=function(t,e){var n=this;if(!pX(this.refMap)){var i=function(t){if(OZ(t)){var e=n.refMap[t.label];e&&t.id===e.id&&(e.unlinked=!0)}};t&&zJ(i,t.parent,e),e&&zJ(i,e)}},t.prototype.replaceWithNewRefDefState=function(t){var e=this;if(!pX(this.refMap)){var n=function(t){if(OZ(t)){var n=t.label,i=e.refMap[n];i&&!i.unlinked||(e.refMap[n]=RJ(t))}};t.forEach((function(t){zJ(n,t)}))}},t.prototype.replaceWithRefDefCandidate=function(){var t=this;pX(this.refDefCandidateMap)||uX(this.refDefCandidateMap,(function(e,n){var i=n.label,r=n.sourcepos,o=t.refMap[i];(!o||o.unlinked||o.sourcepos[0][0]>r[0][0])&&(t.refMap[i]=RJ(n))}))},t.prototype.getRangeWithRefDef=function(t,e,n,i,r){if(this.referenceDefinition&&!pX(this.refMap)){var o=SJ(this.root,t-1),s=SJ(this.root,e+1);o&&OZ(o)&&o!==n&&o!==i&&(n=o,t=n.sourcepos[0][0]),s&&OZ(s)&&s!==n&&s!==i&&(i=s,e=this.extendEndLine(i.sourcepos[1][0]+r))}return[n,i,t,e]},t.prototype.parse=function(t,e,n){void 0===n&&(n=0);var i=this.getNodeRange(t,e),r=i[0],o=i[1],s=r?Math.min(r.sourcepos[0][0],t[0]):t[0],a=this.extendEndLine((o?Math.max(o.sourcepos[1][0],e[0]):e[0])+n),l=this.parseRange.apply(this,this.getRangeWithRefDef(s,a,r,o,n)),c=l.newNodes,h=l.extStartNode,u=l.extEndNode,d=this.getRemovedNodeRange(h,u),p=u?u.next:this.root.firstChild;return this.referenceDefinition?(this.markDeletedRefMap(h,u),this.replaceRangeNodes(h,u,c),this.replaceWithNewRefDefState(c)):this.replaceRangeNodes(h,u,c),{nodes:c,removedNodeRange:d,nextNode:p}},t.prototype.parseRefLink=function(){var t=this,e=[];return pX(this.refMap)||uX(this.refMap,(function(n,i){i.unlinked&&delete t.refMap[n],uX(t.refLinkCandidateMap,(function(i,r){var o=r.node,s=r.refLabel;s===n&&e.push(t.parse(o.sourcepos[0],o.sourcepos[1]))}))})),e},t.prototype.removeUnlinkedCandidate=function(){pX(this.refDefCandidateMap)||[this.refLinkCandidateMap,this.refDefCandidateMap].forEach((function(t){uX(t,(function(e){DJ(e)&&delete t[e]}))}))},t.prototype.editMarkdown=function(t,e,n){var i=this.updateLineTexts(t,e,n),r=this.parse(t,e,i),o=dX(r,"nextNode");kJ(r.nextNode,i),this.updateRootNodeState();var s=[o];return this.referenceDefinition&&(this.removeUnlinkedCandidate(),this.replaceWithRefDefCandidate(),s=s.concat(this.parseRefLink())),this.trigger("change",s),s},t.prototype.getLineTexts=function(){return this.lineTexts},t.prototype.getRootNode=function(){return this.root},t.prototype.findNodeAtPosition=function(t){var e=NJ(this.root,t);return e&&e!==this.root?e:null},t.prototype.findFirstNodeAtLine=function(t){return MJ(this.root,t)},t.prototype.on=function(t,e){this.eventHandlerMap[t].push(e)},t.prototype.off=function(t,e){var n=this.eventHandlerMap[t],i=n.indexOf(e);n.splice(i,1)},t.prototype.findNodeById=function(t){return OJ(t)},t.prototype.removeAllNode=function(){hZ()},t}(),BJ=["title","textarea","style","xmp","iframe","noembed","noframes","script","plaintext"],jJ=new RegExp("<(/?(?:"+BJ.join("|")+")[^>]*>)","ig");function qJ(t){return jJ.test(t)?t.replace(jJ,(function(t,e){return"<"+e})):t}var HJ={heading:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"h"+t.level,outerNewLine:!0}},text:function(t){return{type:"text",content:t.literal}},softbreak:function(t,e){var n=e.options;return{type:"html",content:n.softbreak}},linebreak:function(){return{type:"html",content:"
\n"}},emph:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"em"}},strong:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"strong"}},paragraph:function(t,e){var n,i=e.entering,r=null===(n=t.parent)||void 0===n?void 0:n.parent;return r&&"list"===r.type&&r.listData.tight?null:{type:i?"openTag":"closeTag",tagName:"p",outerNewLine:!0}},thematicBreak:function(){return{type:"openTag",tagName:"hr",outerNewLine:!0,selfClose:!0}},blockQuote:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"blockquote",outerNewLine:!0,innerNewLine:!0}},list:function(t,e){var n=e.entering,i=t.listData,r=i.type,o=i.start,s="bullet"===r?"ul":"ol",a={};return"ol"===s&&null!==o&&1!==o&&(a.start=o.toString()),{type:n?"openTag":"closeTag",tagName:s,attributes:a,outerNewLine:!0}},item:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"li",outerNewLine:!0}},htmlInline:function(t,e){var n=e.options,i=n.tagFilter?qJ(t.literal):t.literal;return{type:"html",content:i}},htmlBlock:function(t,e){var n=e.options,i=n.tagFilter?qJ(t.literal):t.literal;return n.nodeId?[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"html",content:i},{type:"closeTag",tagName:"div",outerNewLine:!0}]:{type:"html",content:i,outerNewLine:!0}},code:function(t){return[{type:"openTag",tagName:"code"},{type:"text",content:t.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(t){var e=t.info,n=e?e.split(/\s+/):[],i=[];return n.length>0&&n[0].length>0&&i.push("language-"+eZ(n[0])),[{type:"openTag",tagName:"pre",outerNewLine:!0},{type:"openTag",tagName:"code",classNames:i},{type:"text",content:t.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre",outerNewLine:!0}]},link:function(t,e){var n=e.entering;if(n){var i=t,r=i.title,o=i.destination;return{type:"openTag",tagName:"a",attributes:Do({href:eZ(o)},r&&{title:eZ(r)})}}return{type:"closeTag",tagName:"a"}},image:function(t,e){var n=e.getChildrenText,i=e.skipChildren,r=t,o=r.title,s=r.destination;return i(),{type:"openTag",tagName:"img",selfClose:!0,attributes:Do({src:eZ(s),alt:n(t)},o&&{title:eZ(o)})}},customBlock:function(t,e,n){var i=t.info.trim().toLowerCase(),r=n[i];if(r)try{return r(t,e)}catch(o){console.warn("[@toast-ui/editor] - The error occurred when "+i+" block node was parsed in markdown renderer: "+o)}return[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"text",content:t.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},frontMatter:function(t){return[{type:"openTag",tagName:"div",outerNewLine:!0,attributes:{style:"white-space: pre; display: none;"}},{type:"text",content:t.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},customInline:function(t,e,n){var i=t,r=i.info,o=i.firstChild,s=r.trim().toLowerCase(),a=n[s],l=e.entering;if(a)try{return a(t,e)}catch(c){console.warn("[@toast-ui/editor] - The error occurred when "+s+" inline node was parsed in markdown renderer: "+c)}return l?[{type:"openTag",tagName:"span"},{type:"text",content:"$$"+r+(o?" ":"")}]:[{type:"text",content:"$$"},{type:"closeTag",tagName:"span"}]}},UJ={strike:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"del"}},item:function(t,e){var n=e.entering,i=t.listData,r=i.checked,o=i.task;if(n){var s={type:"openTag",tagName:"li",outerNewLine:!0};return o?[s,{type:"openTag",tagName:"input",selfClose:!0,attributes:Do(Do({},r&&{checked:""}),{disabled:"",type:"checkbox"})},{type:"text",content:" "}]:s}return{type:"closeTag",tagName:"li",outerNewLine:!0}},table:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"table",outerNewLine:!0}},tableHead:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"thead",outerNewLine:!0}},tableBody:function(t,e){var n=e.entering;return{type:n?"openTag":"closeTag",tagName:"tbody",outerNewLine:!0}},tableRow:function(t,e){var n=e.entering;if(n)return{type:"openTag",tagName:"tr",outerNewLine:!0};var i=[];if(t.lastChild)for(var r=t.parent.parent.columns.length,o=t.lastChild.endIdx,s=o+1;s0&&this.buffer.push(' class="'+i.join(" ")+'"'),r&&Object.keys(r).forEach((function(t){var n=r[t];e.buffer.push(" "+t+'="'+n+'"')})),t.selfClose&&this.buffer.push(" /"),this.buffer.push(">")},t.prototype.generateCloseTagString=function(t){var e=t.tagName;this.buffer.push("")},t.prototype.addNewLine=function(){this.buffer.length&&"\n"!==cX(cX(this.buffer))&&this.buffer.push("\n")},t.prototype.addOuterNewLine=function(t){t.outerNewLine&&this.addNewLine()},t.prototype.addInnerNewLine=function(t){t.innerNewLine&&this.addNewLine()},t.prototype.renderTextNode=function(t){this.buffer.push(eZ(t.content))},t.prototype.renderRawHtmlNode=function(t){this.addOuterNewLine(t),this.buffer.push(t.content),this.addOuterNewLine(t)},t.prototype.renderElementNode=function(t){"openTag"===t.type?(this.addOuterNewLine(t),this.generateOpenTagString(t),t.selfClose?this.addOuterNewLine(t):this.addInnerNewLine(t)):(this.addInnerNewLine(t),this.generateCloseTagString(t),this.addOuterNewLine(t))},t}(); /*! @license DOMPurify 2.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.3/LICENSE */function KJ(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1?n-1:0),r=1;r/gm),D_=$J(/^data-[\-\w.\u00B7-\uFFFF]/),L_=$J(/^aria-[\-\w]+$/),I_=$J(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F_=$J(/^(?:\w+script|data):/i),R_=$J(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),P_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function B_(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:j_(),e=function(t){return H_(t)};if(e.version="2.3.3",e.removed=[],!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var n=t.document,i=t.document,r=t.DocumentFragment,o=t.HTMLTemplateElement,s=t.Node,a=t.Element,l=t.NodeFilter,c=t.NamedNodeMap,h=void 0===c?t.NamedNodeMap||t.MozNamedAttrMap:c,u=t.Text,d=t.Comment,p=t.DOMParser,f=t.trustedTypes,m=a.prototype,g=b_(m,"cloneNode"),v=b_(m,"nextSibling"),b=b_(m,"childNodes"),y=b_(m,"parentNode");if("function"===typeof o){var w=i.createElement("template");w.content&&w.content.ownerDocument&&(i=w.content.ownerDocument)}var x=q_(f,n),C=x&&tt?x.createHTML(""):"",k=i,A=k.implementation,S=k.createNodeIterator,T=k.createDocumentFragment,E=k.getElementsByTagName,M=n.importNode,N={};try{N=v_(i).documentMode?i.documentMode:{}}catch(jt){}var O={};e.isSupported="function"===typeof y&&A&&"undefined"!==typeof A.createHTMLDocument&&9!==N;var z=O_,D=z_,L=D_,I=L_,F=F_,R=R_,P=I_,B=null,j=g_({},[].concat(B_(y_),B_(w_),B_(x_),B_(k_),B_(S_))),q=null,H=g_({},[].concat(B_(T_),B_(E_),B_(M_),B_(N_))),U=null,W=null,G=!0,V=!0,K=!1,Y=!1,Z=!1,X=!1,Q=!1,J=!1,_=!1,$=!0,tt=!1,et=!0,nt=!0,it=!1,rt={},ot=null,st=g_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),at=null,lt=g_({},["audio","video","img","source","image","track"]),ct=null,ht=g_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ut="http://www.w3.org/1998/Math/MathML",dt="http://www.w3.org/2000/svg",pt="http://www.w3.org/1999/xhtml",ft=pt,mt=!1,gt=void 0,vt=["application/xhtml+xml","text/html"],bt="text/html",yt=void 0,wt=null,xt=i.createElement("form"),Ct=function(t){wt&&wt===t||(t&&"object"===("undefined"===typeof t?"undefined":P_(t))||(t={}),t=v_(t),B="ALLOWED_TAGS"in t?g_({},t.ALLOWED_TAGS):j,q="ALLOWED_ATTR"in t?g_({},t.ALLOWED_ATTR):H,ct="ADD_URI_SAFE_ATTR"in t?g_(v_(ht),t.ADD_URI_SAFE_ATTR):ht,at="ADD_DATA_URI_TAGS"in t?g_(v_(lt),t.ADD_DATA_URI_TAGS):lt,ot="FORBID_CONTENTS"in t?g_({},t.FORBID_CONTENTS):st,U="FORBID_TAGS"in t?g_({},t.FORBID_TAGS):{},W="FORBID_ATTR"in t?g_({},t.FORBID_ATTR):{},rt="USE_PROFILES"in t&&t.USE_PROFILES,G=!1!==t.ALLOW_ARIA_ATTR,V=!1!==t.ALLOW_DATA_ATTR,K=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=t.SAFE_FOR_TEMPLATES||!1,Z=t.WHOLE_DOCUMENT||!1,J=t.RETURN_DOM||!1,_=t.RETURN_DOM_FRAGMENT||!1,$=!1!==t.RETURN_DOM_IMPORT,tt=t.RETURN_TRUSTED_TYPE||!1,Q=t.FORCE_BODY||!1,et=!1!==t.SANITIZE_DOM,nt=!1!==t.KEEP_CONTENT,it=t.IN_PLACE||!1,P=t.ALLOWED_URI_REGEXP||P,ft=t.NAMESPACE||pt,gt=gt=-1===vt.indexOf(t.PARSER_MEDIA_TYPE)?bt:t.PARSER_MEDIA_TYPE,yt="application/xhtml+xml"===gt?function(t){return t}:a_,Y&&(V=!1),_&&(J=!0),rt&&(B=g_({},[].concat(B_(S_))),q=[],!0===rt.html&&(g_(B,y_),g_(q,T_)),!0===rt.svg&&(g_(B,w_),g_(q,E_),g_(q,N_)),!0===rt.svgFilters&&(g_(B,x_),g_(q,E_),g_(q,N_)),!0===rt.mathMl&&(g_(B,k_),g_(q,M_),g_(q,N_))),t.ADD_TAGS&&(B===j&&(B=v_(B)),g_(B,t.ADD_TAGS)),t.ADD_ATTR&&(q===H&&(q=v_(q)),g_(q,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&g_(ct,t.ADD_URI_SAFE_ATTR),t.FORBID_CONTENTS&&(ot===st&&(ot=v_(ot)),g_(ot,t.FORBID_CONTENTS)),nt&&(B["#text"]=!0),Z&&g_(B,["html","head","body"]),B.table&&(g_(B,["tbody"]),delete U.tbody),_J&&_J(t),wt=t)},kt=g_({},["mi","mo","mn","ms","mtext"]),At=g_({},["foreignobject","desc","title","annotation-xml"]),St=g_({},w_);g_(St,x_),g_(St,C_);var Tt=g_({},k_);g_(Tt,A_);var Et=function(t){var e=y(t);e&&e.tagName||(e={namespaceURI:pt,tagName:"template"});var n=a_(t.tagName),i=a_(e.tagName);if(t.namespaceURI===dt)return e.namespaceURI===pt?"svg"===n:e.namespaceURI===ut?"svg"===n&&("annotation-xml"===i||kt[i]):Boolean(St[n]);if(t.namespaceURI===ut)return e.namespaceURI===pt?"math"===n:e.namespaceURI===dt?"math"===n&&At[i]:Boolean(Tt[n]);if(t.namespaceURI===pt){if(e.namespaceURI===dt&&!At[i])return!1;if(e.namespaceURI===ut&&!kt[i])return!1;var r=g_({},["title","style","font","a","script"]);return!Tt[n]&&(r[n]||!St[n])}return!1},Mt=function(t){s_(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch(jt){try{t.outerHTML=C}catch(jt){t.remove()}}},Nt=function(t,n){try{s_(e.removed,{attribute:n.getAttributeNode(t),from:n})}catch(jt){s_(e.removed,{attribute:null,from:n})}if(n.removeAttribute(t),"is"===t&&!q[t])if(J||_)try{Mt(n)}catch(jt){}else try{n.setAttribute(t,"")}catch(jt){}},Ot=function(t){var e=void 0,n=void 0;if(Q)t=""+t;else{var r=l_(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===gt&&(t=''+t+"");var o=x?x.createHTML(t):t;if(ft===pt)try{e=(new p).parseFromString(o,gt)}catch(jt){}if(!e||!e.documentElement){e=A.createDocument(ft,"template",null);try{e.documentElement.innerHTML=mt?"":o}catch(jt){}}var s=e.body||e.documentElement;return t&&n&&s.insertBefore(i.createTextNode(n),s.childNodes[0]||null),ft===pt?E.call(e,Z?"html":"body")[0]:Z?e.documentElement:s},zt=function(t){return S.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},Dt=function(t){return!(t instanceof u||t instanceof d)&&!("string"===typeof t.nodeName&&"string"===typeof t.textContent&&"function"===typeof t.removeChild&&t.attributes instanceof h&&"function"===typeof t.removeAttribute&&"function"===typeof t.setAttribute&&"string"===typeof t.namespaceURI&&"function"===typeof t.insertBefore)},Lt=function(t){return"object"===("undefined"===typeof s?"undefined":P_(s))?t instanceof s:t&&"object"===("undefined"===typeof t?"undefined":P_(t))&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},It=function(t,n,i){O[t]&&r_(O[t],(function(t){t.call(e,n,i,wt)}))},Ft=function(t){var n=void 0;if(It("beforeSanitizeElements",t,null),Dt(t))return Mt(t),!0;if(l_(t.nodeName,/[\u0080-\uFFFF]/))return Mt(t),!0;var i=yt(t.nodeName);if(It("uponSanitizeElement",t,{tagName:i,allowedTags:B}),!Lt(t.firstElementChild)&&(!Lt(t.content)||!Lt(t.content.firstElementChild))&&d_(/<[/\w]/g,t.innerHTML)&&d_(/<[/\w]/g,t.textContent))return Mt(t),!0;if("select"===i&&d_(/