26 lines
1.7 MiB
26 lines
1.7 MiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-37cf6f14"],{"0908":function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"document",(function(){return Dt})),n.d(r,"contentInitial",(function(){return Ft})),n.d(r,"flowInitial",(function(){return jt})),n.d(r,"flow",(function(){return It})),n.d(r,"string",(function(){return Bt})),n.d(r,"text",(function(){return _t})),n.d(r,"insideSpan",(function(){return qt})),n.d(r,"attentionMarkers",(function(){return Pt})),n.d(r,"disable",(function(){return Ut}));var i=n("08af");n("14d9");const o={};function s(e,t){const n=t||o,r="boolean"!==typeof n.includeImageAlt||n.includeImageAlt,i="boolean"!==typeof n.includeHtml||n.includeHtml;return a(e,r,i)}function a(e,t,n){if(c(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return l(e.children,t,n)}return Array.isArray(e)?l(e,t,n):""}function l(e,t,n){const r=[];let i=-1;while(++i<e.length)r[i]=a(e[i],t,n);return r.join("")}function c(e){return Boolean(e&&"object"===typeof e)}function u(e,t,n,r){const i=e.length;let o,s=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else{n&&e.splice(t,n);while(s<r.length)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}}function h(e,t){return e.length>0?(u(e,e.length,0,t),e):t}const d={}.hasOwnProperty;function f(e){const t={};let n=-1;while(++n<e.length)p(t,e[n]);return t}function p(e,t){let n;for(n in t){const r=d.call(e,n)?e[n]:void 0,i=r||(e[n]={}),o=t[n];let s;if(o)for(s in o){d.call(i,s)||(i[s]=[]);const e=o[s];m(i[s],Array.isArray(e)?e:e?[e]:[])}}}function m(e,t){let n=-1;const r=[];while(++n<t.length)("after"===t[n].add?e:r).push(t[n]);u(e,0,0,r)}const g=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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]/,b=E(/[A-Za-z]/),y=E(/[\dA-Za-z]/),v=E(/[#-'*+\--9=?A-Z^-~]/);function x(e){return null!==e&&(e<32||127===e)}const w=E(/\d/),k=E(/[\dA-Fa-f]/),S=E(/[!-/:-@[-`{-~]/);function C(e){return null!==e&&e<-2}function T(e){return null!==e&&(e<0||32===e)}function z(e){return-2===e||-1===e||32===e}const A=E(g),O=E(/\s/);function E(e){return t;function t(t){return null!==t&&e.test(String.fromCharCode(t))}}function M(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return s;function s(r){return z(r)?(e.enter(n),a(r)):t(r)}function a(r){return z(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}const N={tokenize:R};function R(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),M(e,t,"linePrefix");e.consume(n)}function i(t){return e.enter("paragraph"),o(t)}function o(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,s(t)}function s(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):C(t)?(e.consume(t),e.exit("chunkText"),o):(e.consume(t),s)}}const L={tokenize:F},D={tokenize:j};function F(e){const t=this,n=[];let r,i,o,s=0;return a;function a(r){if(s<n.length){const i=n[s];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let i,o=n;while(o--)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}y(s);let a=n;while(a<t.events.length)t.events[a][1].end=Object.assign({},i),a++;return u(t.events,o+1,0,t.events.slice(n)),t.events.length=a,c(e)}return a(e)}function c(i){if(s===n.length){if(!r)return f(i);if(r.currentConstruct&&r.currentConstruct.concrete)return m(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(D,h,d)(i)}function h(e){return r&&v(),y(s),f(e)}function d(e){return t.parser.lazy[t.now().line]=s!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(D,p,m)(n)}function p(e){return s++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),g(n))}function g(n){return null===n?(b(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):C(n)?(e.consume(n),b(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),g)}function b(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;while(e--)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,a,l=n;while(l--)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){a=t.events[l][1].end;break}i=!0}y(s),e=n;while(e<t.events.length)t.events[e][1].end=Object.assign({},a),e++;u(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let i=n.length;while(i-- >r){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}function j(e,t,n){return M(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const I={tokenize:B,partial:!0};function B(e,t,n){return r;function r(t){return z(t)?M(e,i,"linePrefix")(t):i(t)}function i(e){return null===e||C(e)?t(e):n(e)}}function _(e){const t={};let n,r,i,o,s,a,l,c=-1;while(++c<e.length){while(c in t)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(a=n[1]._tokenizer.events,i=0,i<a.length&&"lineEndingBlank"===a[i][1].type&&(i+=2),i<a.length&&"content"===a[i][1].type))while(++i<a.length){if("content"===a[i][1].type)break;"chunkText"===a[i][1].type&&(a[i][1]._isInFirstContentOfListItem=!0,i++)}if("enter"===n[0])n[1].contentType&&(Object.assign(t,q(e,c)),c=t[c],l=!0);else if(n[1]._container){i=c,r=void 0;while(i--){if(o=e[i],"lineEnding"!==o[1].type&&"lineEndingBlank"!==o[1].type)break;"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i)}r&&(n[1].end=Object.assign({},e[r][1].start),s=e.slice(r,c),s.unshift(n),u(e,r,c-r+1,s))}}return!l}function q(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,l=[],c={};let h,d,f=-1,p=n,m=0,g=0;const b=[g];while(p){while(e[++i][1]!==p);o.push(i),p._tokenizer||(h=r.sliceStream(p),p.next||h.push(null),d&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(h),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}p=n;while(++f<a.length)"exit"===a[f][0]&&"enter"===a[f-1][0]&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(g=f+1,b.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):b.pop(),f=b.length;while(f--){const t=a.slice(b[f],b[f+1]),n=o.pop();l.unshift([n,n+t.length-1]),u(e,n,2,t)}f=-1;while(++f<l.length)c[m+l[f][0]]=m+l[f][1],m+=l[f][1]-l[f][0]-1;return c}const P={tokenize:W,resolve:H},U={tokenize:V,partial:!0};function H(e){return _(e),e}function W(e,t){let n;return r;function r(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(t)}function i(t){return null===t?o(t):C(t)?e.check(U,s,o)(t):(e.consume(t),i)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function s(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function V(e,t,n){const r=this;return i;function i(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M(e,o,"linePrefix")}function o(i){if(null===i||C(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}const G={tokenize:K};function K(e){const t=this,n=e.attempt(I,r,e.attempt(this.parser.constructs.flowInitial,i,M(e,e.attempt(this.parser.constructs.flow,i,e.attempt(P,i)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}function i(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}const X={resolveAll:Q()},Y=J("string"),Z=J("text");function J(e){return{tokenize:t,resolveAll:Q("text"===e?$:void 0)};function t(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return l(e)?i(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)while(++i<t.length){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function Q(e){return t;function t(t,n){let r,i=-1;while(++i<=t.length)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function $(e,t){let n=0;while(++n<=e.length)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,s=i.length,a=-1,l=0;while(s--){const e=i[s];if("string"===typeof e){a=e.length;while(32===e.charCodeAt(a-1))l++,a--;if(a)break;a=-1}else if(-2===e)o=!0,l++;else if(-1!==e){s++;break}}if(l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+s,_bufferIndex:s?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function ee(e,t,n){const r=[];let i=-1;while(++i<e.length){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function te(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let s=[],a=[],l=!0;const c={consume:k,enter:S,exit:T,attempt:O(z),check:O(A),interrupt:O(A,{interrupt:!0})},d={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:b,sliceSerialize:g,now:y,defineSkip:v,write:m};let f,p=t.tokenize.call(d,c);return t.resolveAll&&o.push(t),d;function m(e){return s=h(s,e),x(),null!==s[s.length-1]?[]:(E(t,0),d.events=ee(o,d.events,d),d.events)}function g(e,t){return re(b(e),t)}function b(e){return ne(s,e)}function y(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function v(e){i[e.line]=e.column,N()}function x(){let e;while(r._index<s.length){const t=s[r._index];if("string"===typeof t){e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);while(r._index===e&&r._bufferIndex<t.length)w(t.charCodeAt(r._bufferIndex))}else w(t)}}function w(e){l=void 0,f=e,p=p(e)}function k(e){C(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,N()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),d.previous=e,l=!0}function S(e,t){const n=t||{};return n.type=e,n.start=y(),d.events.push(["enter",n,d]),a.push(n),n}function T(e){const t=a.pop();return t.end=y(),d.events.push(["exit",t,d]),t}function z(e,t){E(e,t.from)}function A(e,t){t.restore()}function O(e,t){return n;function n(n,r,i){let o,s,a,u;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):h(n);function h(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null,i=[...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]];return f(i)(t)}}function f(e){return o=e,s=0,0===e.length?i:p(e[s])}function p(e){return n;function n(n){return u=M(),a=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name)?g(n):e.tokenize.call(t?Object.assign(Object.create(d),t):d,c,m,g)(n)}}function m(t){return l=!0,e(a,u),r}function g(e){return l=!0,u.restore(),++s<o.length?p(o[s]):i}}}function E(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&u(d.events,t,d.events.length-t,e.resolve(d.events.slice(t),d)),e.resolveTo&&(d.events=e.resolveTo(d.events,d))}function M(){const e=y(),t=d.previous,n=d.currentConstruct,i=d.events.length,o=Array.from(a);return{restore:s,from:i};function s(){r=e,d.previous=t,d.currentConstruct=n,d.events.length=i,a=o,N()}}function N(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function ne(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){const e=s[0];"string"===typeof e?s[0]=e.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}function re(e,t){let n=-1;const r=[];let i;while(++n<e.length){const o=e[n];let s;if("string"===typeof o)s=o;else switch(o){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&i)continue;s=" ";break;default:s=String.fromCharCode(o)}i=-2===o,r.push(s)}return r.join("")}const ie={name:"thematicBreak",tokenize:oe};function oe(e,t,n){let r,i=0;return o;function o(t){return e.enter("thematicBreak"),s(t)}function s(e){return r=e,a(e)}function a(o){return o===r?(e.enter("thematicBreakSequence"),l(o)):i>=3&&(null===o||C(o))?(e.exit("thematicBreak"),t(o)):n(o)}function l(t){return t===r?(e.consume(t),i++,l):(e.exit("thematicBreakSequence"),z(t)?M(e,a,"whitespace")(t):a(t))}}const se={name:"list",tokenize:ce,continuation:{tokenize:ue},exit:de},ae={tokenize:fe,partial:!0},le={tokenize:he,partial:!0};function ce(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:w(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ie,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return n(t)}function l(t){return w(t)&&++s<10?(e.consume(t),l):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(I,r.interrupt?n:u,e.attempt(ae,d,h))}function u(e){return r.containerState.initialBlankLine=!0,o++,d(e)}function h(t){return z(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}function ue(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(I,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,M(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!z(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(le,t,s)(n))}function s(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,M(e,e.attempt(se,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}function he(e,t,n){const r=this;return M(e,i,"listItemIndent",r.containerState.size+1);function i(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function de(e){e.exit(this.containerState.type)}function fe(e,t,n){const r=this;return M(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(e){const i=r.events[r.events.length-1];return!z(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}}const pe={name:"blockQuote",tokenize:me,continuation:{tokenize:ge},exit:be};function me(e,t,n){const r=this;return i;function i(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)}function o(n){return z(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}function ge(e,t,n){const r=this;return i;function i(t){return z(t)?M(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)}function o(r){return e.attempt(pe,t,n)(r)}}function be(e){e.exit("blockQuote")}function ye(e,t,n,r,i,o,s,a,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return h;function h(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||x(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(t))}function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),d(t)):null===t||60===t||C(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function m(i){return u||null!==i&&41!==i&&!T(i)?u<c&&40===i?(e.consume(i),u++,m):41===i?(e.consume(i),u--,m):null===i||32===i||40===i||x(i)?n(i):(e.consume(i),92===i?g:m):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i))}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function ve(e,t,n,r,i,o){const s=this;let a,l=0;return c;function c(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u}function u(c){return l>999||null===c||91===c||93===c&&!a||94===c&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(c):93===c?(e.exit(o),e.enter(i),e.consume(c),e.exit(i),e.exit(r),t):C(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),h(c))}function h(t){return null===t||91===t||93===t||C(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!z(t)),92===t?d:h)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,h):h(t)}}function xe(e,t,n,r,i,o){let s;return a;function a(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,l):n(t)}function l(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),c(n))}function c(t){return t===s?(e.exit(o),l(s)):null===t?n(t):C(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===s||null===t||C(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?h:u)}function h(t){return t===s||92===t?(e.consume(t),u):u(t)}}function we(e,t){let n;return r;function r(i){return C(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):z(i)?M(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function ke(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Se={name:"definition",tokenize:Te},Ce={tokenize:ze,partial:!0};function Te(e,t,n){const r=this;let i;return o;function o(t){return e.enter("definition"),s(t)}function s(t){return ve.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}function a(t){return i=ke(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return T(t)?we(e,c)(t):c(t)}function c(t){return ye(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Ce,h,h)(t)}function h(t){return z(t)?M(e,d,"whitespace")(t):d(t)}function d(o){return null===o||C(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}function ze(e,t,n){return r;function r(t){return T(t)?we(e,i)(t):n(t)}function i(t){return xe(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return z(t)?M(e,s,"whitespace")(t):s(t)}function s(e){return null===e||C(e)?t(e):n(e)}}const Ae={name:"codeIndented",tokenize:Ee},Oe={tokenize:Me,partial:!0};function Ee(e,t,n){const r=this;return i;function i(t){return e.enter("codeIndented"),M(e,o,"linePrefix",5)(t)}function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?s(e):n(e)}function s(t){return null===t?l(t):C(t)?e.attempt(Oe,s,l)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||C(t)?(e.exit("codeFlowValue"),s(t)):(e.consume(t),a)}function l(n){return e.exit("codeIndented"),t(n)}}function Me(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):C(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):M(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):C(e)?i(e):n(e)}}const Ne={name:"headingAtx",tokenize:Le,resolve:Re};function Re(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},u(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}function Le(e,t,n){let r=0;return i;function i(t){return e.enter("atxHeading"),o(t)}function o(t){return e.enter("atxHeadingSequence"),s(t)}function s(t){return 35===t&&r++<6?(e.consume(t),s):null===t||T(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),l(n)):null===n||C(n)?(e.exit("atxHeading"),t(n)):z(n)?M(e,a,"whitespace")(n):(e.enter("atxHeadingText"),c(n))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),a(t))}function c(t){return null===t||35===t||T(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),c)}}const De={name:"setextUnderline",tokenize:je,resolveTo:Fe};function Fe(e,t){let n,r,i,o=e.length;while(o--)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function je(e,t,n){const r=this;let i;return o;function o(t){let o,a=r.events.length;while(a--)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!o?n(t):(e.enter("setextHeadingLine"),i=t,s(t))}function s(t){return e.enter("setextHeadingLineSequence"),a(t)}function a(t){return t===i?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),z(t)?M(e,l,"lineSuffix")(t):l(t))}function l(r){return null===r||C(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}const Ie=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Be=["pre","script","style","textarea"],_e={name:"htmlFlow",tokenize:He,resolveTo:Ue,concrete:!0},qe={tokenize:Ve,partial:!0},Pe={tokenize:We,partial:!0};function Ue(e){let t=e.length;while(t--)if("enter"===e[t][0]&&"htmlFlow"===e[t][1].type)break;return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function He(e,t,n){const r=this;let i,o,s,a,l;return c;function c(e){return u(e)}function u(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),h}function h(a){return 33===a?(e.consume(a),d):47===a?(e.consume(a),o=!0,m):63===a?(e.consume(a),i=3,r.interrupt?t:P):b(a)?(e.consume(a),s=String.fromCharCode(a),g):n(a)}function d(o){return 45===o?(e.consume(o),i=2,f):91===o?(e.consume(o),i=5,a=0,p):b(o)?(e.consume(o),i=4,r.interrupt?t:P):n(o)}function f(i){return 45===i?(e.consume(i),r.interrupt?t:P):n(i)}function p(i){const o="CDATA[";return i===o.charCodeAt(a++)?(e.consume(i),a===o.length?r.interrupt?t:L:p):n(i)}function m(t){return b(t)?(e.consume(t),s=String.fromCharCode(t),g):n(t)}function g(a){if(null===a||47===a||62===a||T(a)){const l=47===a,c=s.toLowerCase();return l||o||!Be.includes(c)?Ie.includes(s.toLowerCase())?(i=6,l?(e.consume(a),v):r.interrupt?t(a):L(a)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?x(a):w(a)):(i=1,r.interrupt?t(a):L(a))}return 45===a||y(a)?(e.consume(a),s+=String.fromCharCode(a),g):n(a)}function v(i){return 62===i?(e.consume(i),r.interrupt?t:L):n(i)}function x(t){return z(t)?(e.consume(t),x):N(t)}function w(t){return 47===t?(e.consume(t),N):58===t||95===t||b(t)?(e.consume(t),k):z(t)?(e.consume(t),w):N(t)}function k(t){return 45===t||46===t||58===t||95===t||y(t)?(e.consume(t),k):S(t)}function S(t){return 61===t?(e.consume(t),A):z(t)?(e.consume(t),S):w(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,O):z(t)?(e.consume(t),A):E(t)}function O(t){return t===l?(e.consume(t),l=null,M):null===t||C(t)?n(t):(e.consume(t),O)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||T(t)?S(t):(e.consume(t),E)}function M(e){return 47===e||62===e||z(e)?w(e):n(e)}function N(t){return 62===t?(e.consume(t),R):n(t)}function R(t){return null===t||C(t)?L(t):z(t)?(e.consume(t),R):n(t)}function L(t){return 45===t&&2===i?(e.consume(t),I):60===t&&1===i?(e.consume(t),B):62===t&&4===i?(e.consume(t),U):63===t&&3===i?(e.consume(t),P):93===t&&5===i?(e.consume(t),q):!C(t)||6!==i&&7!==i?null===t||C(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),L):(e.exit("htmlFlowData"),e.check(qe,H,D)(t))}function D(t){return e.check(Pe,F,H)(t)}function F(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),j}function j(t){return null===t||C(t)?D(t):(e.enter("htmlFlowData"),L(t))}function I(t){return 45===t?(e.consume(t),P):L(t)}function B(t){return 47===t?(e.consume(t),s="",_):L(t)}function _(t){if(62===t){const n=s.toLowerCase();return Be.includes(n)?(e.consume(t),U):L(t)}return b(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),_):L(t)}function q(t){return 93===t?(e.consume(t),P):L(t)}function P(t){return 62===t?(e.consume(t),U):45===t&&2===i?(e.consume(t),P):L(t)}function U(t){return null===t||C(t)?(e.exit("htmlFlowData"),H(t)):(e.consume(t),U)}function H(n){return e.exit("htmlFlow"),t(n)}}function We(e,t,n){const r=this;return i;function i(t){return C(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function Ve(e,t,n){return r;function r(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(I,t,n)}}const Ge={tokenize:Ye,partial:!0},Ke={name:"codeFenced",tokenize:Xe,concrete:!0};function Xe(e,t,n){const r=this,i={tokenize:w,partial:!0};let o,s=0,a=0;return l;function l(e){return c(e)}function c(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}function u(t){return t===o?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),z(t)?M(e,h,"whitespace")(t):h(t))}function h(n){return null===n||C(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Ge,m,x)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return null===t||C(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(t)):z(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),M(e,f,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),d)}function f(t){return null===t||C(t)?h(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||C(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(t)):96===t&&t===o?n(t):(e.consume(t),p)}function m(t){return e.attempt(i,x,g)(t)}function g(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),b}function b(t){return s>0&&z(t)?M(e,y,"linePrefix",s+1)(t):y(t)}function y(t){return null===t||C(t)?e.check(Ge,m,x)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||C(t)?(e.exit("codeFlowValue"),y(t)):(e.consume(t),v)}function x(n){return e.exit("codeFenced"),t(n)}function w(e,t,n){let i=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),z(t)?M(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===o?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===o?(i++,e.consume(t),u):i>=a?(e.exit("codeFencedFenceSequence"),z(t)?M(e,h,"whitespace")(t):h(t)):n(t)}function h(r){return null===r||C(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}}function Ye(e,t,n){const r=this;return i;function i(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}const Ze={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""},Je={}.hasOwnProperty;function Qe(e){return!!Je.call(Ze,e)&&Ze[e]}const $e={name:"characterReference",tokenize:et};function et(e,t,n){const r=this;let i,o,s=0;return a;function a(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l}function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,o=y,u(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=k,u):(e.enter("characterReferenceValue"),i=7,o=w,u(t))}function u(a){if(59===a&&s){const i=e.exit("characterReferenceValue");return o!==y||Qe(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return o(a)&&s++<i?(e.consume(a),u):n(a)}}const tt={name:"characterEscape",tokenize:nt};function nt(e,t,n){return r;function r(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i}function i(r){return S(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}const rt={name:"lineEnding",tokenize:it};function it(e,t){return n;function n(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),M(e,t,"linePrefix")}}const ot={name:"labelEnd",tokenize:ht,resolveTo:ut,resolveAll:ct},st={tokenize:dt},at={tokenize:ft},lt={tokenize:pt};function ct(e){let t=-1;while(++t<e.length){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}function ut(e,t){let n,r,i,o,s=e.length,a=0;while(s--)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=s);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},d={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=h(o,e.slice(r+1,r+a+3)),o=h(o,[["enter",d,t]]),o=h(o,ee(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=h(o,[["exit",d,t],e[i-2],e[i-1],["exit",c,t]]),o=h(o,e.slice(i+1)),o=h(o,[["exit",l,t]]),u(e,r,e.length,o),e}function ht(e,t,n){const r=this;let i,o,s=r.events.length;while(s--)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){i=r.events[s][1];break}return a;function a(t){return i?i._inactive?h(t):(o=r.parser.defined.includes(ke(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):n(t)}function l(t){return 40===t?e.attempt(st,u,o?u:h)(t):91===t?e.attempt(at,u,o?c:h)(t):o?u(t):h(t)}function c(t){return e.attempt(lt,u,h)(t)}function u(e){return t(e)}function h(e){return i._balanced=!0,n(e)}}function dt(e,t,n){return r;function r(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),i}function i(t){return T(t)?we(e,o)(t):o(t)}function o(t){return 41===t?u(t):ye(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function s(t){return T(t)?we(e,l)(t):u(t)}function a(e){return n(e)}function l(t){return 34===t||39===t||40===t?xe(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function c(t){return T(t)?we(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}function ft(e,t,n){const r=this;return i;function i(t){return ve.call(r,e,o,s,"reference","referenceMarker","referenceString")(t)}function o(e){return r.parser.defined.includes(ke(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function s(e){return n(e)}}function pt(e,t,n){return r;function r(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),i}function i(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}const mt={name:"labelStartImage",tokenize:gt,resolveAll:ot.resolveAll};function gt(e,t,n){const r=this;return i;function i(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o}function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),s):n(t)}function s(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}function bt(e){return null===e||T(e)||O(e)?1:A(e)?2:void 0}const yt={name:"attention",tokenize:xt,resolveAll:vt};function vt(e,t){let n,r,i,o,s,a,l,c,d=-1;while(++d<e.length)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){n=d;while(n--)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),p=Object.assign({},e[d][1].start);wt(f,-a),wt(p,a),o={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:p},i={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[d][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},o.start),e[d][1].start=Object.assign({},s.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=h(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=h(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=h(l,ee(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),l=h(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(c=2,l=h(l,[["enter",e[d][1],t],["exit",e[d][1],t]])):c=0,u(e,n-1,d-n+3,l),d=n+l.length-c-2;break}}d=-1;while(++d<e.length)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e}function xt(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=bt(r);let o;return s;function s(t){return o=t,e.enter("attentionSequence"),a(t)}function a(s){if(s===o)return e.consume(s),a;const l=e.exit("attentionSequence"),c=bt(s),u=!c||2===c&&i||n.includes(s),h=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!h)),l._close=Boolean(42===o?h:h&&(c||!u)),t(s)}}function wt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const kt={name:"autolink",tokenize:St};function St(e,t,n){let r=0;return i;function i(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(t){return b(t)?(e.consume(t),s):c(t)}function s(e){return 43===e||45===e||46===e||y(e)?(r=1,a(e)):c(e)}function a(t){return 58===t?(e.consume(t),r=0,l):(43===t||45===t||46===t||y(t))&&r++<32?(e.consume(t),a):(r=0,c(t))}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||x(r)?n(r):(e.consume(r),l)}function c(t){return 64===t?(e.consume(t),u):v(t)?(e.consume(t),c):n(t)}function u(e){return y(e)?h(e):n(e)}function h(n){return 46===n?(e.consume(n),r=0,u):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||y(t))&&r++<63){const n=45===t?d:h;return e.consume(t),n}return n(t)}}const Ct={name:"htmlText",tokenize:Tt};function Tt(e,t,n){const r=this;let i,o,s;return a;function a(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l}function l(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),S):63===t?(e.consume(t),w):b(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),o=0,p):b(t)?(e.consume(t),x):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function h(t){return null===t?n(t):45===t?(e.consume(t),d):C(t)?(s=h,_(t)):(e.consume(t),h)}function d(t){return 45===t?(e.consume(t),f):h(t)}function f(e){return 62===e?B(e):45===e?d(e):h(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(o++)?(e.consume(t),o===r.length?m:p):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),g):C(t)?(s=m,_(t)):(e.consume(t),m)}function g(t){return 93===t?(e.consume(t),v):m(t)}function v(t){return 62===t?B(t):93===t?(e.consume(t),v):m(t)}function x(t){return null===t||62===t?B(t):C(t)?(s=x,_(t)):(e.consume(t),x)}function w(t){return null===t?n(t):63===t?(e.consume(t),k):C(t)?(s=w,_(t)):(e.consume(t),w)}function k(e){return 62===e?B(e):w(e)}function S(t){return b(t)?(e.consume(t),A):n(t)}function A(t){return 45===t||y(t)?(e.consume(t),A):O(t)}function O(t){return C(t)?(s=O,_(t)):z(t)?(e.consume(t),O):B(t)}function E(t){return 45===t||y(t)?(e.consume(t),E):47===t||62===t||T(t)?N(t):n(t)}function N(t){return 47===t?(e.consume(t),B):58===t||95===t||b(t)?(e.consume(t),R):C(t)?(s=N,_(t)):z(t)?(e.consume(t),N):B(t)}function R(t){return 45===t||46===t||58===t||95===t||y(t)?(e.consume(t),R):L(t)}function L(t){return 61===t?(e.consume(t),D):C(t)?(s=L,_(t)):z(t)?(e.consume(t),L):N(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,F):C(t)?(s=D,_(t)):z(t)?(e.consume(t),D):(e.consume(t),j)}function F(t){return t===i?(e.consume(t),i=void 0,I):null===t?n(t):C(t)?(s=F,_(t)):(e.consume(t),F)}function j(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||T(t)?N(t):(e.consume(t),j)}function I(e){return 47===e||62===e||T(e)?N(e):n(e)}function B(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function _(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),q}function q(t){return z(t)?M(e,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):P(t)}function P(t){return e.enter("htmlTextData"),s(t)}}const zt={name:"labelStartLink",tokenize:At,resolveAll:ot.resolveAll};function At(e,t,n){const r=this;return i;function i(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}const Ot={name:"hardBreakEscape",tokenize:Et};function Et(e,t,n){return r;function r(t){return e.enter("hardBreakEscape"),e.consume(t),i}function i(r){return C(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}const Mt={name:"codeText",tokenize:Lt,resolve:Nt,previous:Rt};function Nt(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[i][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){t=i;while(++t<r)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}t=i-1,r++;while(++t<=r)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e}function Rt(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}function Lt(e,t,n){let r,i,o=0;return s;function s(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)}function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):96===t?(i=e.enter("codeTextSequence"),r=0,u(t)):C(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||C(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),c)}function u(n){return 96===n?(e.consume(n),r++,u):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",c(n))}}const Dt={[42]:se,[43]:se,[45]:se,[48]:se,[49]:se,[50]:se,[51]:se,[52]:se,[53]:se,[54]:se,[55]:se,[56]:se,[57]:se,[62]:pe},Ft={[91]:Se},jt={[-2]:Ae,[-1]:Ae,[32]:Ae},It={[35]:Ne,[42]:ie,[45]:[De,ie],[60]:_e,[61]:De,[95]:ie,[96]:Ke,[126]:Ke},Bt={[38]:$e,[92]:tt},_t={[-5]:rt,[-4]:rt,[-3]:rt,[33]:mt,[38]:$e,[42]:yt,[60]:[kt,Ct],[91]:zt,[92]:[Ot,tt],[93]:ot,[95]:yt,[96]:Mt},qt={null:[yt,X]},Pt={null:[42,95]},Ut={null:[]};function Ht(e){const t=e||{},n=f([r,...t.extensions||[]]),i={defined:[],lazy:{},constructs:n,content:o(N),document:o(L),flow:o(G),string:o(Y),text:o(Z)};return i;function o(e){return t;function t(t){return te(i,e,t)}}}const Wt=/[\0\t\n\r]/g;function Vt(){let e,t=1,n="",r=!0;return i;function i(i,o,s){const a=[];let l,c,u,h,d;i=n+i.toString(o),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);while(u<i.length){if(Wt.lastIndex=u,l=Wt.exec(i),h=l&&void 0!==l.index?l.index:i.length,d=i.charCodeAt(h),!l){n=i.slice(u);break}if(10===d&&u===h&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),u<h&&(a.push(i.slice(u,h)),t+=h-u),d){case 0:a.push(65533),t++;break;case 9:c=4*Math.ceil(t/4),a.push(-2);while(t++<c)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}u=h+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}function Gt(e){while(!_(e));return e}function Kt(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"<22>":String.fromCharCode(n)}const Xt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Yt(e){return e.replace(Xt,Zt)}function Zt(e,t,n){if(t)return t;const r=n.charCodeAt(0);if(35===r){const e=n.charCodeAt(1),t=120===e||88===e;return Kt(n.slice(t?2:1),t?16:10)}return Qe(n)||e}function Jt(e){return e&&"object"===typeof e?"position"in e||"type"in e?$t(e.position):"start"in e||"end"in e?$t(e):"line"in e||"column"in e?Qt(e):"":""}function Qt(e){return en(e&&e.line)+":"+en(e&&e.column)}function $t(e){return Qt(e&&e.start)+"-"+Qt(e&&e.end)}function en(e){return e&&"number"===typeof e?e:1}const tn={}.hasOwnProperty,nn=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),rn(n)(Gt(Ht(n).document().write(Vt()(e,t,!0))))};function rn(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(re),autolinkProtocol:O,autolinkEmail:O,atxHeading:l($),blockQuote:l(X),characterEscape:O,characterReference:O,codeFenced:l(Y),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(Y,c),codeText:l(Z,c),codeTextData:O,data:O,codeFlowValue:O,definition:l(J),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(Q),hardBreakEscape:l(ee),hardBreakTrailing:l(ee),htmlFlow:l(te,c),htmlFlowData:O,htmlText:l(te,c),htmlTextData:O,image:l(ne),label:c,link:l(re),listItem:l(oe),listItemValue:m,listOrdered:l(ie,p),listUnordered:l(ie),paragraph:l(se),reference:U,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l($),strong:l(ae),thematicBreak:l(ce)},exit:{atxHeading:h(),atxHeadingSequence:C,autolink:h(),autolinkEmail:K,autolinkProtocol:G,blockQuote:h(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:V,codeFenced:h(v),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:E,codeIndented:h(x),codeText:h(D),codeTextData:E,data:E,definition:h(),definitionDestinationString:S,definitionLabelString:w,definitionTitleString:k,emphasis:h(),hardBreakEscape:h(N),hardBreakTrailing:h(N),htmlFlow:h(R),htmlFlowData:E,htmlText:h(L),htmlTextData:E,image:h(j),label:B,labelText:I,lineEnding:M,link:h(F),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:H,resourceDestinationString:_,resourceTitleString:q,resource:P,setextHeading:h(A),setextHeadingLineSequence:z,setextHeadingText:T,strong:h(),thematicBreak:h()}};sn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:u,exit:d,buffer:c,resume:f,setData:o,getData:a},s=[];let l=-1;while(++l<e.length)if("listOrdered"===e[l][1].type||"listUnordered"===e[l][1].type)if("enter"===e[l][0])s.push(l);else{const t=s.pop();l=i(e,t,l)}l=-1;while(++l<e.length){const n=t[e[l][0]];tn.call(n,e[l][1].type)&&n[e[l][1].type].call(Object.assign({sliceSerialize:e[l][2].sliceSerialize},r),e[l][1])}if(r.tokenStack.length>0){const e=r.tokenStack[r.tokenStack.length-1],t=e[1]||ln;t.call(r,void 0,e[0])}n.position={start:on(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:on(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;while(++l<t.transforms.length)n=t.transforms[l](n)||n;return n}function i(e,t,n){let r,i,o,s,a=t-1,l=-1,c=!1;while(++a<=n){const t=e[a];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,s=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||s||l||o||(o=a),s=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(s=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;i=void 0;while(s--){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(a,0,["enter",r,t[2]]),a++,n++,o=void 0,s=!0)}}return e[t][1]._spread=c,n}function o(e,t){n[e]=t}function a(e){return n[e]}function l(e,t){return n;function n(n){u.call(this,e(n),n),t&&t.call(this,n)}}function c(){this.stack.push({type:"fragment",children:[]})}function u(e,t,n){const r=this.stack[this.stack.length-1];return r.children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:on(t.start)},e}function h(e){return t;function t(t){e&&e.call(this,t),d.call(this,t)}}function d(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Jt({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{const t=r[1]||ln;t.call(this,e,r[0])}return n.position.end=on(e.end),n}function f(){return s(this.stack.pop())}function p(){o("expectingFirstListItemValue",!0)}function m(e){if(a("expectingFirstListItemValue")){const t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue")}}function g(){const e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function b(){const e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function y(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function v(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function x(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}function w(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ke(this.sliceSerialize(e)).toLowerCase()}function k(){const e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function S(){const e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function C(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function T(){o("setextHeadingSlurpLineEnding",!0)}function z(e){const t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function A(){o("setextHeadingSlurpLineEnding")}function O(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n=le(),n.position={start:on(e.start)},t.children.push(n)),this.stack.push(n)}function E(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=on(e.end)}function M(e){const n=this.stack[this.stack.length-1];if(a("atHardBreak")){const t=n.children[n.children.length-1];return t.position.end=on(e.end),void o("atHardBreak")}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(O.call(this,e),E.call(this,e))}function N(){o("atHardBreak",!0)}function R(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function L(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function D(){const e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function F(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function j(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function I(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Yt(t),n.identifier=ke(t).toLowerCase()}function B(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(o("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function _(){const e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function q(){const e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function P(){o("inReference")}function U(){o("referenceType","collapsed")}function H(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ke(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")}function W(e){o("characterReferenceType",e.type)}function V(e){const t=this.sliceSerialize(e),n=a("characterReferenceType");let r;if(n)r=Kt(t,"characterReferenceMarkerNumeric"===n?10:16),o("characterReferenceType");else{const e=Qe(t);r=e}const i=this.stack.pop();i.value+=r,i.position.end=on(e.end)}function G(e){E.call(this,e);const t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function K(e){E.call(this,e);const t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)}function X(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function Z(){return{type:"inlineCode",value:""}}function J(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Q(){return{type:"emphasis",children:[]}}function $(){return{type:"heading",depth:void 0,children:[]}}function ee(){return{type:"break"}}function te(){return{type:"html",value:""}}function ne(){return{type:"image",title:null,url:"",alt:null}}function re(){return{type:"link",title:null,url:"",children:[]}}function ie(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function oe(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function se(){return{type:"paragraph",children:[]}}function ae(){return{type:"strong",children:[]}}function le(){return{type:"text",value:""}}function ce(){return{type:"thematicBreak"}}}function on(e){return{line:e.line,column:e.column,offset:e.offset}}function sn(e,t){let n=-1;while(++n<t.length){const r=t[n];Array.isArray(r)?sn(e,r):an(e,r)}}function an(e,t){let n;for(n in t)if(tn.call(t,n))if("canContainEols"===n){const r=t[n];r&&e[n].push(...r)}else if("transforms"===n){const r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){const r=t[n];r&&Object.assign(e[n],r)}}function ln(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Jt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Jt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Jt({start:t.start,end:t.end})+") is still open")}const cn=e=>{if(!e)return"";if("code"===e.type)return(e.value||"").replace(/\s+$/g,"");let t=[];const n=e=>{e&&("string"===typeof e.value&&t.push(e.value),Array.isArray(e.children)&&e.children.forEach(e=>{"html"!==e.type&&n(e)}))};return n(e),t.join(" ").replace(/\s+/g," ").trim()},un=e=>{let t=[],n=(e,t)=>{for(let r=0;r<e.length;r++){let i=e[r],o={};if(o.data={text:cn(i)},o.children=[],t.push(o),i.children&&i.children.length>1)for(let e=1;e<i.children.length;e++){let t=i.children[e];if(t)if("list"===t.type)n(t.children||[],o.children);else if("paragraph"===t.type||"blockquote"===t.type||"code"===t.type){const e=cn(t);e&&o.children.push({data:{text:e},children:[]})}}}};return n(e.children,t),t},hn=e=>{const t=nn(e);let n={children:[]},r=[n.children],i=n.children,o=[-1],s=-1;for(let a=0;a<t.children.length;a++){let e=t.children[a];if("heading"===e.type){if(!e.children[0])continue;let t={};if(t.data={text:cn(e)},t.children=[],e.depth>s)i.push(t),r.push(t.children),i=t.children,o.push(e.depth),s=e.depth;else if(e.depth===s)r.pop(),i=r[r.length-1],o.pop(),s=o[o.length-1],i.push(t),r.push(t.children),i=t.children,o.push(e.depth),s=e.depth;else while(o.length)if(r.pop(),i=r[r.length-1],o.pop(),s=o[o.length-1],s<e.depth){i.push(t),r.push(t.children),i=t.children,o.push(e.depth),s=e.depth;break}}else if("list"===e.type)i.push(...un(e));else if("paragraph"===e.type||"blockquote"===e.type||"code"===e.type){const t=cn(e);if(!t)continue;let n={data:{text:t},children:[]};i.push(n)}}return n.children},dn=e=>{const t=hn(e);return t[0]},fn=(e,t={})=>{const n=hn(e),{rootText:r}=t||{};return r?{data:{text:r},children:n||[]}:n[0]};t["a"]={transformToMarkdown:i["a"],transformMarkdownTo:dn,transformMarkdownToNodeTree:fn}},"0960":function(e,t,n){e.exports=n("b19a")},"09d9":function(e,t,n){var r=n("9a1c").isArray;e.exports={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){e in t&&"boolean"===typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!==typeof e.spaces&&"string"!==typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"===typeof e.alwaysArray||r(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"===typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}},"0cb2":function(e,t,n){"use strict";var r=n("e330"),i=n("7b0b"),o=Math.floor,s=r("".charAt),a=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,h,d){var f=n+e.length,p=r.length,m=u;return void 0!==h&&(h=i(h),m=c),a(d,m,(function(i,a){var c;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=h[l(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>p){var d=o(u/10);return 0===d?i:d<=p?void 0===r[d-1]?s(a,1):r[d-1]+s(a,1):i}c=r[u-1]}return void 0===c?"":c}))}},"0eb9":function(e,t,n){(function(e,n){var r=200,i="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",a="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",h="[object Function]",d="[object GeneratorFunction]",f="[object Map]",p="[object Number]",m="[object Object]",g="[object Promise]",b="[object RegExp]",y="[object Set]",v="[object String]",x="[object Symbol]",w="[object WeakMap]",k="[object ArrayBuffer]",S="[object DataView]",C="[object Float32Array]",T="[object Float64Array]",z="[object Int8Array]",A="[object Int16Array]",O="[object Int32Array]",E="[object Uint8Array]",M="[object Uint8ClampedArray]",N="[object Uint16Array]",R="[object Uint32Array]",L=/[\\^$.*+?()[\]{}|]/g,D=/\w*$/,F=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,I={};I[s]=I[a]=I[k]=I[S]=I[l]=I[c]=I[C]=I[T]=I[z]=I[A]=I[O]=I[f]=I[p]=I[m]=I[b]=I[y]=I[v]=I[x]=I[E]=I[M]=I[N]=I[R]=!0,I[u]=I[h]=I[w]=!1;var B="object"==typeof e&&e&&e.Object===Object&&e,_="object"==typeof self&&self&&self.Object===Object&&self,q=B||_||Function("return this")(),P=t&&!t.nodeType&&t,U=P&&"object"==typeof n&&n&&!n.nodeType&&n,H=U&&U.exports===P;function W(e,t){return e.set(t[0],t[1]),e}function V(e,t){return e.add(t),e}function G(e,t){var n=-1,r=e?e.length:0;while(++n<r)if(!1===t(e[n],n,e))break;return e}function K(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}function X(e,t,n,r){var i=-1,o=e?e.length:0;r&&o&&(n=e[++i]);while(++i<o)n=t(n,e[i],i,e);return n}function Y(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function Z(e,t){return null==e?void 0:e[t]}function J(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function Q(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function $(e,t){return function(n){return e(t(n))}}function ee(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var te=Array.prototype,ne=Function.prototype,re=Object.prototype,ie=q["__core-js_shared__"],oe=function(){var e=/[^.]+$/.exec(ie&&ie.keys&&ie.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),se=ne.toString,ae=re.hasOwnProperty,le=re.toString,ce=RegExp("^"+se.call(ae).replace(L,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ue=H?q.Buffer:void 0,he=q.Symbol,de=q.Uint8Array,fe=$(Object.getPrototypeOf,Object),pe=Object.create,me=re.propertyIsEnumerable,ge=te.splice,be=Object.getOwnPropertySymbols,ye=ue?ue.isBuffer:void 0,ve=$(Object.keys,Object),xe=zt(q,"DataView"),we=zt(q,"Map"),ke=zt(q,"Promise"),Se=zt(q,"Set"),Ce=zt(q,"WeakMap"),Te=zt(Object,"create"),ze=jt(xe),Ae=jt(we),Oe=jt(ke),Ee=jt(Se),Me=jt(Ce),Ne=he?he.prototype:void 0,Re=Ne?Ne.valueOf:void 0;function Le(e){var t=-1,n=e?e.length:0;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function De(){this.__data__=Te?Te(null):{}}function Fe(e){return this.has(e)&&delete this.__data__[e]}function je(e){var t=this.__data__;if(Te){var n=t[e];return n===i?void 0:n}return ae.call(t,e)?t[e]:void 0}function Ie(e){var t=this.__data__;return Te?void 0!==t[e]:ae.call(t,e)}function Be(e,t){var n=this.__data__;return n[e]=Te&&void 0===t?i:t,this}function _e(e){var t=-1,n=e?e.length:0;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function qe(){this.__data__=[]}function Pe(e){var t=this.__data__,n=ot(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():ge.call(t,n,1),!0}function Ue(e){var t=this.__data__,n=ot(t,e);return n<0?void 0:t[n][1]}function He(e){return ot(this.__data__,e)>-1}function We(e,t){var n=this.__data__,r=ot(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function Ve(e){var t=-1,n=e?e.length:0;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Ge(){this.__data__={hash:new Le,map:new(we||_e),string:new Le}}function Ke(e){return Tt(this,e)["delete"](e)}function Xe(e){return Tt(this,e).get(e)}function Ye(e){return Tt(this,e).has(e)}function Ze(e,t){return Tt(this,e).set(e,t),this}function Je(e){this.__data__=new _e(e)}function Qe(){this.__data__=new _e}function $e(e){return this.__data__["delete"](e)}function et(e){return this.__data__.get(e)}function tt(e){return this.__data__.has(e)}function nt(e,t){var n=this.__data__;if(n instanceof _e){var i=n.__data__;if(!we||i.length<r-1)return i.push([e,t]),this;n=this.__data__=new Ve(i)}return n.set(e,t),this}function rt(e,t){var n=qt(e)||_t(e)?Y(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!ae.call(e,o)||i&&("length"==o||Rt(o,r))||n.push(o);return n}function it(e,t,n){var r=e[t];ae.call(e,t)&&Bt(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function ot(e,t){var n=e.length;while(n--)if(Bt(e[n][0],t))return n;return-1}function st(e,t){return e&&kt(t,Xt(t),e)}function at(e,t,n,r,i,o,a){var l;if(r&&(l=o?r(e,i,o,a):r(e)),void 0!==l)return l;if(!Gt(e))return e;var c=qt(e);if(c){if(l=Et(e),!t)return wt(e,l)}else{var u=Ot(e),f=u==h||u==d;if(Ht(e))return ft(e,t);if(u==m||u==s||f&&!o){if(J(e))return o?e:{};if(l=Mt(f?{}:e),!t)return St(e,st(l,e))}else{if(!I[u])return o?e:{};l=Nt(e,u,at,t)}}a||(a=new Je);var p=a.get(e);if(p)return p;if(a.set(e,l),!c)var g=n?Ct(e):Xt(e);return G(g||e,(function(i,o){g&&(o=i,i=e[o]),it(l,o,at(i,t,n,r,o,e,a))})),l}function lt(e){return Gt(e)?pe(e):{}}function ct(e,t,n){var r=t(e);return qt(e)?r:K(r,n(e))}function ut(e){return le.call(e)}function ht(e){if(!Gt(e)||Dt(e))return!1;var t=Wt(e)||J(e)?ce:F;return t.test(jt(e))}function dt(e){if(!Ft(e))return ve(e);var t=[];for(var n in Object(e))ae.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ft(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function pt(e){var t=new e.constructor(e.byteLength);return new de(t).set(new de(e)),t}function mt(e,t){var n=t?pt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function gt(e,t,n){var r=t?n(Q(e),!0):Q(e);return X(r,W,new e.constructor)}function bt(e){var t=new e.constructor(e.source,D.exec(e));return t.lastIndex=e.lastIndex,t}function yt(e,t,n){var r=t?n(ee(e),!0):ee(e);return X(r,V,new e.constructor)}function vt(e){return Re?Object(Re.call(e)):{}}function xt(e,t){var n=t?pt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function wt(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++n<r)t[n]=e[n];return t}function kt(e,t,n,r){n||(n={});var i=-1,o=t.length;while(++i<o){var s=t[i],a=r?r(n[s],e[s],s,n,e):void 0;it(n,s,void 0===a?e[s]:a)}return n}function St(e,t){return kt(e,At(e),t)}function Ct(e){return ct(e,Xt,At)}function Tt(e,t){var n=e.__data__;return Lt(t)?n["string"==typeof t?"string":"hash"]:n.map}function zt(e,t){var n=Z(e,t);return ht(n)?n:void 0}Le.prototype.clear=De,Le.prototype["delete"]=Fe,Le.prototype.get=je,Le.prototype.has=Ie,Le.prototype.set=Be,_e.prototype.clear=qe,_e.prototype["delete"]=Pe,_e.prototype.get=Ue,_e.prototype.has=He,_e.prototype.set=We,Ve.prototype.clear=Ge,Ve.prototype["delete"]=Ke,Ve.prototype.get=Xe,Ve.prototype.has=Ye,Ve.prototype.set=Ze,Je.prototype.clear=Qe,Je.prototype["delete"]=$e,Je.prototype.get=et,Je.prototype.has=tt,Je.prototype.set=nt;var At=be?$(be,Object):Yt,Ot=ut;function Et(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&ae.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Mt(e){return"function"!=typeof e.constructor||Ft(e)?{}:lt(fe(e))}function Nt(e,t,n,r){var i=e.constructor;switch(t){case k:return pt(e);case l:case c:return new i(+e);case S:return mt(e,r);case C:case T:case z:case A:case O:case E:case M:case N:case R:return xt(e,r);case f:return gt(e,r,n);case p:case v:return new i(e);case b:return bt(e);case y:return yt(e,r,n);case x:return vt(e)}}function Rt(e,t){return t=null==t?o:t,!!t&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e<t}function Lt(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Dt(e){return!!oe&&oe in e}function Ft(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||re;return e===n}function jt(e){if(null!=e){try{return se.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function It(e){return at(e,!0,!0)}function Bt(e,t){return e===t||e!==e&&t!==t}function _t(e){return Ut(e)&&ae.call(e,"callee")&&(!me.call(e,"callee")||le.call(e)==s)}(xe&&Ot(new xe(new ArrayBuffer(1)))!=S||we&&Ot(new we)!=f||ke&&Ot(ke.resolve())!=g||Se&&Ot(new Se)!=y||Ce&&Ot(new Ce)!=w)&&(Ot=function(e){var t=le.call(e),n=t==m?e.constructor:void 0,r=n?jt(n):void 0;if(r)switch(r){case ze:return S;case Ae:return f;case Oe:return g;case Ee:return y;case Me:return w}return t});var qt=Array.isArray;function Pt(e){return null!=e&&Vt(e.length)&&!Wt(e)}function Ut(e){return Kt(e)&&Pt(e)}var Ht=ye||Zt;function Wt(e){var t=Gt(e)?le.call(e):"";return t==h||t==d}function Vt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Gt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Kt(e){return!!e&&"object"==typeof e}function Xt(e){return Pt(e)?rt(e):dt(e)}function Yt(){return[]}function Zt(){return!1}n.exports=It}).call(this,n("c8ba"),n("62e4")(e))},1:function(e,t){},"107c":function(e,t,n){"use strict";var r=n("d039"),i=n("da84"),o=i.RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1085:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("0eb9"),i=n("51a1");var o;(function(e){function t(e={},t={},n=!1){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});let i=r(t);n||(i=Object.keys(i).reduce((e,t)=>(null!=i[t]&&(e[t]=i[t]),e),{}));for(const r in e)void 0!==e[r]&&void 0===t[r]&&(i[r]=e[r]);return Object.keys(i).length>0?i:void 0}function n(e={},t={}){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});const n=Object.keys(e).concat(Object.keys(t)).reduce((n,r)=>(i(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n),{});return Object.keys(n).length>0?n:void 0}function o(e={},t={}){e=e||{};const n=Object.keys(t).reduce((n,r)=>(t[r]!==e[r]&&void 0!==e[r]&&(n[r]=t[r]),n),{});return Object.keys(e).reduce((n,r)=>(e[r]!==t[r]&&void 0===t[r]&&(n[r]=null),n),n)}function s(e,t,n=!1){if("object"!==typeof e)return t;if("object"!==typeof t)return;if(!n)return t;const r=Object.keys(t).reduce((n,r)=>(void 0===e[r]&&(n[r]=t[r]),n),{});return Object.keys(r).length>0?r:void 0}e.compose=t,e.diff=n,e.invert=o,e.transform=s})(o||(o={})),t.default=o},"10ad":function(e,t,n){var r,i,o=n("a83d"),s={on:function(){},parse:function(){}},a=n("09d9"),l=n("9a1c").isArray,c=!0;function u(e){return r=a.copyOptions(e),a.ensureFlagExists("ignoreDeclaration",r),a.ensureFlagExists("ignoreInstruction",r),a.ensureFlagExists("ignoreAttributes",r),a.ensureFlagExists("ignoreText",r),a.ensureFlagExists("ignoreComment",r),a.ensureFlagExists("ignoreCdata",r),a.ensureFlagExists("ignoreDoctype",r),a.ensureFlagExists("compact",r),a.ensureFlagExists("alwaysChildren",r),a.ensureFlagExists("addParent",r),a.ensureFlagExists("trim",r),a.ensureFlagExists("nativeType",r),a.ensureFlagExists("nativeTypeAttributes",r),a.ensureFlagExists("sanitize",r),a.ensureFlagExists("instructionHasAttributes",r),a.ensureFlagExists("captureSpacesBetweenElements",r),a.ensureAlwaysArrayExists(r),a.ensureKeyExists("declaration",r),a.ensureKeyExists("instruction",r),a.ensureKeyExists("attributes",r),a.ensureKeyExists("text",r),a.ensureKeyExists("comment",r),a.ensureKeyExists("cdata",r),a.ensureKeyExists("doctype",r),a.ensureKeyExists("type",r),a.ensureKeyExists("name",r),a.ensureKeyExists("elements",r),a.ensureKeyExists("parent",r),a.checkFnExists("doctype",r),a.checkFnExists("instruction",r),a.checkFnExists("cdata",r),a.checkFnExists("comment",r),a.checkFnExists("text",r),a.checkFnExists("instructionName",r),a.checkFnExists("elementName",r),a.checkFnExists("attributeName",r),a.checkFnExists("attributeValue",r),a.checkFnExists("attributes",r),r}function h(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function d(e,t){var n;if(r.compact){if(!i[r[e+"Key"]]&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(r[e+"Key"]):r.alwaysArray)&&(i[r[e+"Key"]]=[]),i[r[e+"Key"]]&&!l(i[r[e+"Key"]])&&(i[r[e+"Key"]]=[i[r[e+"Key"]]]),e+"Fn"in r&&"string"===typeof t&&(t=r[e+"Fn"](t,i)),"instruction"===e&&("instructionFn"in r||"instructionNameFn"in r))for(n in t)if(t.hasOwnProperty(n))if("instructionFn"in r)t[n]=r.instructionFn(t[n],n,i);else{var o=t[n];delete t[n],t[r.instructionNameFn(n,o,i)]=o}l(i[r[e+"Key"]])?i[r[e+"Key"]].push(t):i[r[e+"Key"]]=t}else{i[r.elementsKey]||(i[r.elementsKey]=[]);var s={};if(s[r.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;s[r.nameKey]="instructionNameFn"in r?r.instructionNameFn(n,t,i):n,r.instructionHasAttributes?(s[r.attributesKey]=t[n][r.attributesKey],"instructionFn"in r&&(s[r.attributesKey]=r.instructionFn(s[r.attributesKey],n,i))):("instructionFn"in r&&(t[n]=r.instructionFn(t[n],n,i)),s[r.instructionKey]=t[n])}else e+"Fn"in r&&(t=r[e+"Fn"](t,i)),s[r[e+"Key"]]=t;r.addParent&&(s[r.parentKey]=i),i[r.elementsKey].push(s)}}function f(e){var t;if("attributesFn"in r&&e&&(e=r.attributesFn(e,i)),(r.trim||"attributeValueFn"in r||"attributeNameFn"in r||r.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(r.trim&&(e[t]=e[t].trim()),r.nativeTypeAttributes&&(e[t]=h(e[t])),"attributeValueFn"in r&&(e[t]=r.attributeValueFn(e[t],t,i)),"attributeNameFn"in r)){var n=e[t];delete e[t],e[r.attributeNameFn(t,e[t],i)]=n}return e}function p(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||r.instructionHasAttributes)){var n,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;while(null!==(n=o.exec(e.body)))t[n[1]]=n[2]||n[3]||n[4];t=f(t)}if("xml"===e.name.toLowerCase()){if(r.ignoreDeclaration)return;i[r.declarationKey]={},Object.keys(t).length&&(i[r.declarationKey][r.attributesKey]=t),r.addParent&&(i[r.declarationKey][r.parentKey]=i)}else{if(r.ignoreInstruction)return;r.trim&&(e.body=e.body.trim());var s={};r.instructionHasAttributes&&Object.keys(t).length?(s[e.name]={},s[e.name][r.attributesKey]=t):s[e.name]=e.body,d("instruction",s)}}function m(e,t){var n;if("object"===typeof e&&(t=e.attributes,e=e.name),t=f(t),"elementNameFn"in r&&(e=r.elementNameFn(e,i)),r.compact){var o;if(n={},!r.ignoreAttributes&&t&&Object.keys(t).length)for(o in n[r.attributesKey]={},t)t.hasOwnProperty(o)&&(n[r.attributesKey][o]=t[o]);!(e in i)&&(l(r.alwaysArray)?-1!==r.alwaysArray.indexOf(e):r.alwaysArray)&&(i[e]=[]),i[e]&&!l(i[e])&&(i[e]=[i[e]]),l(i[e])?i[e].push(n):i[e]=n}else i[r.elementsKey]||(i[r.elementsKey]=[]),n={},n[r.typeKey]="element",n[r.nameKey]=e,!r.ignoreAttributes&&t&&Object.keys(t).length&&(n[r.attributesKey]=t),r.alwaysChildren&&(n[r.elementsKey]=[]),i[r.elementsKey].push(n);n[r.parentKey]=i,i=n}function g(e){r.ignoreText||(e.trim()||r.captureSpacesBetweenElements)&&(r.trim&&(e=e.trim()),r.nativeType&&(e=h(e)),r.sanitize&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")),d("text",e))}function b(e){r.ignoreComment||(r.trim&&(e=e.trim()),d("comment",e))}function y(e){var t=i[r.parentKey];r.addParent||delete i[r.parentKey],i=t}function v(e){r.ignoreCdata||(r.trim&&(e=e.trim()),d("cdata",e))}function x(e){r.ignoreDoctype||(e=e.replace(/^ /,""),r.trim&&(e=e.trim()),d("doctype",e))}function w(e){e.note=e}e.exports=function(e,t){var n=c?o.parser(!0,{}):n=new s.Parser("UTF-8"),a={};if(i=a,r=u(t),c?(n.opt={strictEntities:!0},n.onopentag=m,n.ontext=g,n.oncomment=b,n.onclosetag=y,n.onerror=w,n.oncdata=v,n.ondoctype=x,n.onprocessinginstruction=p):(n.on("startElement",m),n.on("text",g),n.on("comment",b),n.on("endElement",y),n.on("error",w)),c)n.write(e).close();else if(!n.parse(e))throw new Error("XML parsing error: "+n.getError());if(a[r.elementsKey]){var l=a[r.elementsKey];delete a[r.elementsKey],a[r.elementsKey]=l,delete a.text}return a}},"10db1":function(e,t,n){"use strict";var r=n("8790");n.d(t,"PDFDocument",(function(){return r["a"]}));n("a935"),n("5d8f"),n("5d9a")},"135f":function(e,t,n){"use strict";var r=n("4013");class i{constructor(e){this.opt=e,this.mindMap=e.mindMap,this.init()}init(){this.updateNodeTree=this.updateNodeTree.bind(this),this.afterExecCommand=this.afterExecCommand.bind(this),this.layoutChange=this.layoutChange.bind(this),this.mindMap.opt.data&&this.isMindMapLayout()&&this.updateNodeTree(this.mindMap.opt.data),this.mindMap.on("layout_change",this.layoutChange),this.mindMap.on("afterExecCommand",this.afterExecCommand),this.mindMap.on("before_update_data",this.updateNodeTree),this.mindMap.on("before_set_data",this.updateNodeTree)}restore(){this.mindMap.off("layout_change",this.layoutChange),this.mindMap.off("afterExecCommand",this.afterExecCommand),this.mindMap.off("before_update_data",this.updateNodeTree),this.mindMap.off("before_set_data",this.updateNodeTree)}afterExecCommand(e){this.isMindMapLayout()&&["BACK","FORWARD","INSERT_NODE","INSERT_MULTI_NODE","INSERT_CHILD_NODE","INSERT_MULTI_CHILD_NODE","INSERT_PARENT_NODE","UP_NODE","DOWN_NODE","MOVE_UP_ONE_LEVEL","INSERT_AFTER","INSERT_BEFORE","MOVE_NODE_TO","REMOVE_NODE","REMOVE_CURRENT_NODE","PASTE_NODE","CUT_NODE"].includes(e)&&this.updateRenderTree()}layoutChange(e){e===r["a"].LAYOUT.MIND_MAP&&this.updateRenderTree()}updateRenderTree(){this.updateNodeTree(this.mindMap.renderer.renderTree)}updateNodeTree(e){if(!this.isMindMapLayout())return;if(!e)return;const t=Array.isArray(e)?e:[e];t.forEach(e=>{const t=Array.isArray(null===e||void 0===e?void 0:e.children)?e.children:[],n=t.length;if(n<=0)return;const i=Math.ceil(n/2);t.forEach((e,t)=>{e.data.dir=t+1<=i?r["a"].LAYOUT_GROW_DIR.RIGHT:r["a"].LAYOUT_GROW_DIR.LEFT})})}isMindMapLayout(){return this.mindMap.opt.layout===r["a"].LAYOUT.MIND_MAP}beforePluginRemove(){this.restore()}beforePluginDestroy(){this.restore()}}i.instanceName="mindMapLayoutPro",t["a"]=i},"14c3":function(e,t,n){"use strict";var r=n("c65b"),i=n("825a"),o=n("1626"),s=n("c6b6"),a=n("9263"),l=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var c=r(n,e,t);return null!==c&&i(c),c}if("RegExp"===s(e))return r(a,e,t);throw new l("RegExp#exec called on incompatible receiver")}},1754:function(e,t,n){"use strict";n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return h})),n.d(t,"b",(function(){return y}));var r,i=n("31fc"),o=function(e,t){void 0===t&&(t=!0);var n=[];t&&n.push(65279);for(var r=0,o=e.length;r<o;){var s=e.codePointAt(r);if(s<65536)n.push(s),r+=1;else{if(!(s<1114112))throw new Error("Invalid code point: 0x"+Object(i["o"])(s));n.push(l(s),c(s)),r+=2}}return new Uint16Array(n)},s=function(e){return e>=0&&e<=65535},a=function(e){return e>=65536&&e<=1114111},l=function(e){return Math.floor((e-65536)/1024)+55296},c=function(e){return(e-65536)%1024+56320};(function(e){e["BigEndian"]="BigEndian",e["LittleEndian"]="LittleEndian"})(r||(r={}));var u="<22>".codePointAt(0),h=function(e,t){if(void 0===t&&(t=!0),e.length<=1)return String.fromCodePoint(u);var n=t?m(e):r.BigEndian,i=t?2:0,o=[];while(e.length-i>=2){var s=p(e[i++],e[i++],n);if(d(s))if(e.length-i<2)o.push(u);else{var a=p(e[i++],e[i++],n);f(a)?o.push(s,a):o.push(u)}else f(s)?(i+=2,o.push(u)):o.push(s)}return i<e.length&&o.push(u),String.fromCodePoint.apply(String,o)},d=function(e){return e>=55296&&e<=56319},f=function(e){return e>=56320&&e<=57343},p=function(e,t,n){if(n===r.LittleEndian)return t<<8|e;if(n===r.BigEndian)return e<<8|t;throw new Error("Invalid byteOrder: "+n)},m=function(e){return g(e)?r.BigEndian:b(e)?r.LittleEndian:r.BigEndian},g=function(e){return 254===e[0]&&255===e[1]},b=function(e){return 255===e[0]&&254===e[1]},y=function(e){return g(e)||b(e)}},"1a7d":function(e){e.exports=JSON.parse('"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"')},"1af0":function(e,t,n){"use strict";(function(e){var r=n("644b"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===i,a=s?r["a"].Buffer:void 0,l=a?a.allocUnsafe:void 0;function c(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}t["a"]=c}).call(this,n("dd40")(e))},"1be4":function(e,t,n){"use strict";var r=n("d066");e.exports=r("document","documentElement")},"1e64":function(e,t,n){"use strict";n("14d9");var r=n("1e42"),i=n("eb04");const o={boxShadowColor:"rgba(0, 0, 0, 0.8)",borderRadius:"5px",transition:"all 0.3s ease-out",zIndex:9999,padding:20,margin:50,openBlankMode:!0};class s{constructor(e){this.mindMap=e.mindMap,this.isInDemonstrate=!1,this.stepList=[],this.currentStepIndex=0,this.currentStepNode=null,this.currentUnderlineTextData=null,this.tmpStyleEl=null,this.highlightEl=null,this.transformState=null,this.renderTree=null,this.config=Object.assign({...o},this.mindMap.opt.demonstrateConfig||{}),this.needRestorePerformanceMode=!1}enter(){this.bindFullscreenEvent(),document.fullscreenElement===this.mindMap.el?this._enter():Object(r["D"])(this.mindMap.el)}_enter(){this.isInDemonstrate=!0,this.pausePerformanceMode(),this.addTmpStyles(),this.transformState=this.mindMap.view.getTransformData(),this.renderTree=this.mindMap.getData(),this.mindMap.command.pause(),this.mindMap.keyCommand.pause(),this.createHighlightEl(),this.getStepList();let e=!1;this.mindMap.renderer.isRendering&&(e=!0),this.mindMap.execCommand("UNEXPAND_ALL",!1);const t=()=>{e?e=!1:(this.mindMap.off("node_tree_render_end",t),this.jump(this.currentStepIndex),this.bindEvent())};this.mindMap.on("node_tree_render_end",t)}exit(){Object(r["z"])(this.mindMap.el),this.mindMap.updateData(this.renderTree),this.mindMap.view.setTransformData(this.transformState),this.renderTree=null,this.transformState=null,this.stepList=[],this.currentStepIndex=0,this.currentStepNode=null,this.currentUnderlineTextData=null,this.unBindEvent(),this.removeTmpStyles(),this.removeHighlightEl(),this.mindMap.command.recovery(),this.mindMap.keyCommand.recovery(),this.restorePerformanceMode(),this.mindMap.emit("exit_demonstrate"),this.isInDemonstrate=!1}pausePerformanceMode(){const{openPerformance:e}=this.mindMap.opt;e&&(this.needRestorePerformanceMode=!0,this.mindMap.opt.openPerformance=!1,this.mindMap.renderer.forceLoadNode())}restorePerformanceMode(){this.needRestorePerformanceMode&&(this.mindMap.opt.openPerformance=!0,this.mindMap.renderer.forceLoadNode())}addTmpStyles(){this.tmpStyleEl=document.createElement("style");let e="\n /* 画布所有元素禁止响应鼠标事件 */\n .smm-mind-map-container {\n pointer-events: none;\n }\n /* 超链接图标允许响应鼠标事件 */\n .smm-node a {\n pointer-events: all;\n }\n /* 备注图标允许响应鼠标事件 */\n .smm-node .smm-node-note {\n pointer-events: all;\n }\n ";this.config.openBlankMode&&(e+="\n /* 带下划线的文本内容全部隐藏 */\n .smm-richtext-node-wrap u {\n opacity: 0;\n }\n "),this.tmpStyleEl.innerText=e,document.head.appendChild(this.tmpStyleEl)}removeTmpStyles(){this.tmpStyleEl&&document.head.removeChild(this.tmpStyleEl)}createHighlightEl(){this.highlightEl||(this.highlightEl=document.createElement("div"),this.highlightEl.style.cssText=`\n position: absolute;\n box-shadow: 0 0 0 5000px ${this.config.boxShadowColor};\n border-radius: ${this.config.borderRadius};\n transition: ${this.config.transition};\n z-index: ${this.config.zIndex+1};\n pointer-events: none;\n `,this.mindMap.el.appendChild(this.highlightEl))}removeHighlightEl(){this.highlightEl&&(this.mindMap.el.removeChild(this.highlightEl),this.highlightEl=null)}updateHighlightEl({left:e,top:t,width:n,height:r}){const i=this.config.padding;e&&(this.highlightEl.style.left=e-i+"px"),t&&(this.highlightEl.style.top=t-i+"px"),n&&(this.highlightEl.style.width=n+2*i+"px"),r&&(this.highlightEl.style.height=r+2*i+"px")}bindEvent(){this.onKeydown=this.onKeydown.bind(this),window.addEventListener("keydown",this.onKeydown)}bindFullscreenEvent(){this.onFullscreenChange=this.onFullscreenChange.bind(this),document.addEventListener(r["E"],this.onFullscreenChange)}unBindEvent(){window.removeEventListener("keydown",this.onKeydown),document.removeEventListener(r["E"],this.onFullscreenChange)}onFullscreenChange(){document.fullscreenElement?document.fullscreenElement===this.mindMap.el&&this._enter():this.exit()}onKeydown(e){e.keyCode===i["a"].Left?this.prev():e.keyCode===i["a"].Right?this.next():e.keyCode===i["a"].Esc?this.exit():e.keyCode===i["a"].Enter&&this.showNextUnderlineText()}prev(){this.currentStepIndex>0&&this.jump(this.currentStepIndex-1)}next(){const e=this.stepList.length;this.currentStepIndex<e-1&&this.jump(this.currentStepIndex+1)}showNextUnderlineText(){if(!this.config.openBlankMode||!this.currentStepNode||!this.currentUnderlineTextData)return;const{index:e,list:t,length:n}=this.currentUnderlineTextData;if(e>=n)return;const r=t[e];this.currentUnderlineTextData.index++,r.node.style.opacity=1}jump(e){this.currentUnderlineTextData&&(this.currentUnderlineTextData.list.forEach(e=>{e.node.style.opacity=""}),this.currentUnderlineTextData=null),this.currentStepNode=null,this.currentStepIndex=e,this.mindMap.emit("demonstrate_jump",this.currentStepIndex,this.stepList.length);const t=this.stepList[e],n=t.node,i=n.data.uid,o=this.mindMap.renderer.findNodeByUid(i);if(o)if("node"===t.type){this.currentStepNode=o;const e=this.config.openBlankMode?o.group.find("u"):null;e&&e.length>0&&(this.currentUnderlineTextData={index:0,list:e,length:e.length}),this.mindMap.view.fit(()=>o.group.rbox(),!0,this.config.padding+this.config.margin);const t=o.group.rbox();this.updateHighlightEl({left:t.x,top:t.y,width:t.width,height:t.height})}else{const e=()=>{n.children.forEach(e=>{e.data.expand=!1}),this.mindMap.render(()=>{this.mindMap.view.fit(()=>{const e=Object(r["N"])(o,0,0,0,0,!0);return{...e,x:e.left,y:e.top}},!0,this.config.padding+this.config.margin);const e=Object(r["N"])(o,0,0,0,0,!0);this.updateHighlightEl(e)})};if(n.data.expand)e();else{this.mindMap.execCommand("SET_NODE_EXPAND",o,!0);const t=()=>{this.mindMap.off("node_tree_render_end",t),e()};this.mindMap.on("node_tree_render_end",t)}}else this.mindMap.renderer.expandToNodeUid(i,()=>{const t=this.mindMap.renderer.findNodeByUid(i);t&&this.jump(e)})}getStepList(){Object(r["Db"])(this.mindMap.renderer.renderTree,null,e=>{this.stepList.push({type:"node",node:e});const t=Object(r["C"])(e.data);t.forEach(e=>{e.uid&&this.stepList.push({type:"node",node:{data:e}})}),e.children.length>1&&this.stepList.push({type:"children",node:e})})}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}s.instanceName="demonstrate",t["a"]=s},"1fb5":function(e,t,n){"use strict";t.byteLength=u,t.toByteArray=d,t.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a<l;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function u(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function h(e,t,n){return 3*(t+n)/4-n}function d(e){var t,n,r=c(e),s=r[0],a=r[1],l=new o(h(e,s,a)),u=0,d=a>0?s-4:s;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l}function f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(f(r));return i.join("")}function m(e){for(var t,n=e.length,i=n%3,o=[],s=16383,a=0,l=n-i;a<l;a+=s)o.push(p(e,a,a+s>l?l:a+s));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},2:function(e,t){},2232:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return D}));for(var r=n("77f5"),i=n.n(r),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(256),a=0;a<o.length;a++)s[o.charCodeAt(a)]=a;var l,c=function(e){var t,n,r,i,o,a=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new Uint8Array(a);for(t=0;t<l;t+=4)n=s[e.charCodeAt(t)],r=s[e.charCodeAt(t+1)],i=s[e.charCodeAt(t+2)],o=s[e.charCodeAt(t+3)],u[c++]=n<<2|r>>4,u[c++]=(15&r)<<4|i>>2,u[c++]=(3&i)<<6|63&o;return u},u=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},h=function(e){return u(i.a.inflate(c(e)))},d=function(e,t,n){for(var r="",i=0,o=t-e.length;i<o;i++)r+=n;return r+e},f=n("de95"),p=n("3454"),m=n("d07c"),g=n("401c"),b=n("a773"),y=n("328e"),v=n("e498"),x=n("e0e0"),w=n("841f"),k=n("7289"),S=n("e1a1"),C=n("955d"),T=n("1a7d"),z=n("995a"),A={Courier:g,"Courier-Bold":f,"Courier-Oblique":m,"Courier-BoldOblique":p,Helvetica:x,"Helvetica-Bold":b,"Helvetica-Oblique":v,"Helvetica-BoldOblique":y,"Times-Roman":C,"Times-Bold":w,"Times-Italic":S,"Times-BoldItalic":k,Symbol:T,ZapfDingbats:z};(function(e){e["Courier"]="Courier",e["CourierBold"]="Courier-Bold",e["CourierOblique"]="Courier-Oblique",e["CourierBoldOblique"]="Courier-BoldOblique",e["Helvetica"]="Helvetica",e["HelveticaBold"]="Helvetica-Bold",e["HelveticaOblique"]="Helvetica-Oblique",e["HelveticaBoldOblique"]="Helvetica-BoldOblique",e["TimesRoman"]="Times-Roman",e["TimesRomanBold"]="Times-Bold",e["TimesRomanItalic"]="Times-Italic",e["TimesRomanBoldItalic"]="Times-BoldItalic",e["Symbol"]="Symbol",e["ZapfDingbats"]="ZapfDingbats"})(l||(l={}));var O={},E=function(){function e(){var e=this;this.getWidthOfGlyph=function(t){return e.CharWidths[t]},this.getXAxisKerningForPair=function(t,n){return(e.KernPairXAmounts[t]||{})[n]}}return e.load=function(t){var n=O[t];if(n)return n;var r=h(A[t]),i=Object.assign(new e,JSON.parse(r));return i.CharWidths=i.CharMetrics.reduce((function(e,t){return e[t.N]=t.WX,e}),{}),i.KernPairXAmounts=i.KernPairs.reduce((function(e,t){var n=t[0],r=t[1],i=t[2];return e[n]||(e[n]={}),e[n][r]=i,e}),{}),O[t]=i,i},e}(),M=n("6db8"),N=h(M),R=JSON.parse(N),L=function(){function e(e,t){var n=this;this.canEncodeUnicodeCodePoint=function(e){return e in n.unicodeMappings},this.encodeUnicodeCodePoint=function(e){var t=n.unicodeMappings[e];if(!t){var r=String.fromCharCode(e),i="0x"+d(e.toString(16),4,"0"),o=n.name+' cannot encode "'+r+'" ('+i+")";throw new Error(o)}return{code:t[0],name:t[1]}},this.name=e,this.supportedCodePoints=Object.keys(t).map(Number).sort((function(e,t){return e-t})),this.unicodeMappings=t}return e}(),D={Symbol:new L("Symbol",R.symbol),ZapfDingbats:new L("ZapfDingbats",R.zapfdingbats),WinAnsi:new L("WinAnsi",R.win1252)}},2364:function(e,t,n){"use strict";var r=n("c4ab"),i=n("6f54"),o=n("7280"),s=n("5d9a"),a=n("f537"),l=function(e){function t(t){var n=e.call(this)||this;return n.value=t,n}return Object(r["c"])(t,e),t.prototype.asBytes=function(){var e=this.value+(this.value.length%2===1?"0":""),t=e.length,n=new Uint8Array(e.length/2),r=0,i=0;while(r<t){var o=parseInt(e.substring(r,r+2),16);n[i]=o,r+=2,i+=1}return n},t.prototype.decodeText=function(){var e=this.asBytes();return Object(s["A"])(e)?Object(s["Y"])(e):Object(s["K"])(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),t=Object(s["J"])(e);if(!t)throw new a["d"](e);return t},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"<"+this.value+">"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LessThan,t+=Object(s["w"])(this.value,e,t),e[t++]=o["a"].GreaterThan,this.value.length+2},t.of=function(e){return new t(e)},t.fromText=function(e){for(var n=Object(s["Z"])(e),r="",i=0,o=n.length;i<o;i++)r+=Object(s["V"])(n[i],4);return new t(r)},t}(i["a"]);t["a"]=l},2733:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){function t(e){return"number"===typeof e.delete?e.delete:"number"===typeof e.retain?e.retain:"object"===typeof e.retain&&null!==e.retain?1:"string"===typeof e.insert?e.insert.length:1}e.length=t}(r||(r={})),t.default=r},"27bf":function(e,t,n){"use strict";e.exports=s;var r=n("b19a"),i=Object.create(n("3a7c"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);r.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",a)}function a(){var e=this;"function"===typeof this._flush?this._flush((function(t,n){l(e,t,n)})):l(this,null,null)}function l(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n("3fb5"),i.inherits(s,r),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},s.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},s.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},"2c63":function(e,t,n){e.exports=n("dc14")},"2cf1":function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t["a"]=n}).call(this,n("c8ba"))},"2d51":function(e,t,n){"use strict";function r(e,t,n,r){var i=65535&e|0,o=e>>>16&65535|0,s=0;while(0!==n){s=n>2e3?2e3:n,n-=s;do{i=i+t[r++]|0,o=o+i|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}e.exports=r},3041:function(e,t,n){"use strict";var r=n("ad8c");class i{constructor(e){this.mindMap=e.mindMap}async xmind(e,t){const n=await r["a"].transformToXmind(e,t);return n}getXmind(){return r["a"]}}i.instanceName="doExportXMind",t["a"]=i},"31fc":function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"n",(function(){return i})),n.d(t,"p",(function(){return o})),n.d(t,"o",(function(){return s})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"i",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return y})),n.d(t,"a",(function(){return x})),n.d(t,"l",(function(){return k})),n.d(t,"h",(function(){return S}));var r=function(e){return e.charCodeAt(0)},i=function(e){return e.codePointAt(0)},o=function(e,t){return c(e.toString(16),t,"0").toUpperCase()},s=function(e){return o(e,2)},a=function(e){return String.fromCharCode(e)},l=function(e){return a(parseInt(e,16))},c=function(e,t,n){for(var r="",i=0,o=t-e.length;i<o;i++)r+=n;return r+e},u=function(e,t,n){for(var r=e.length,i=0;i<r;i++)t[n++]=e.charCodeAt(i);return r},h=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},d=function(e){return e.replace(/\t|\u0085|\u2028|\u2029/g," ").replace(/[\b\v]/g,"")},f=["\\n","\\f","\\r","\\u000B"],p=function(e){return/^[\n\f\r\u000B]$/.test(e)},m=function(e){return e.split(/[\n\f\r\u000B]/)},g=function(e){return e.replace(/[\n\f\r\u000B]/g," ")},b=function(e,t){var n,r=e.charCodeAt(t),i=t+1,o=1;return r>=55296&&r<=56319&&e.length>i&&(n=e.charCodeAt(i),n>=56320&&n<=57343&&(o=2)),[e.slice(t,t+o),o]},y=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=b(e,n),o=i[0],s=i[1];t.push(o),n+=s}return t},v=function(e){for(var t=f.join("|"),n=["$"],r=0,i=e.length;r<i;r++){var o=e[r];if(p(o))throw new TypeError("`wordBreak` must not include "+t);n.push(""===o?".":h(o))}var s=n.join("|");return new RegExp("("+t+")|((.*?)("+s+"))","gm")},x=function(e,t,n,r){for(var i=v(t),o=d(e).match(i),s="",a=0,l=[],c=function(){""!==s&&l.push(s),s="",a=0},u=0,h=o.length;u<h;u++){var f=o[u];if(p(f))c();else{var m=r(f);a+m>n&&c(),s+=f,a+=m}}return c(),l},w=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,k=function(e){var t=e.match(w);if(t){var n=t[1],r=t[2],i=void 0===r?"01":r,o=t[3],s=void 0===o?"01":o,a=t[4],l=void 0===a?"00":a,c=t[5],u=void 0===c?"00":c,h=t[6],d=void 0===h?"00":h,f=t[7],p=void 0===f?"Z":f,m=t[8],g=void 0===m?"00":m,b=t[9],y=void 0===b?"00":b,v="Z"===p?"Z":""+p+g+":"+y,x=new Date(n+"-"+i+"-"+s+"T"+l+":"+u+":"+d+v);return x}},S=function(e,t){var n,r,i=0;while(i<e.length){var o=e.substring(i).match(t);if(!o)return{match:r,pos:i};r=o,i+=(null!==(n=o.index)&&void 0!==n?n:0)+o[0].length}return{match:r,pos:i}}},"328e":function(e){e.exports=JSON.parse('"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"')},"33d1":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),s=n("5926"),a=n("44d2");r({target:"Array",proto:!0},{at:function(e){var t=i(this),n=o(t),r=s(e),a=r>=0?r:n+r;return a<0||a>=n?void 0:t[a]}}),a("at")},3454:function(e){e.exports=JSON.parse('"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"')},"364c":function(e,t,n){"use strict";var r=n("10db1"),i=n("1e42");class o{constructor(e){this.mindMap=e.mindMap}async pdf(e){return new Promise((t,n)=>{const o=new Image;o.onload=async()=>{const n=o.width,s=o.height,a=await r["PDFDocument"].create(),l=a.addPage();l.setSize(n,s);const c=await a.embedPng(e);l.drawImage(c,{x:0,y:0,width:n,height:s});const u=await a.save(),h=new Blob([u]),d=await Object(i["pb"])(h);t(d)},o.onerror=e=>{n(e)},o.src=e})}}o.instanceName="doExportPDF",t["a"]=o},"37e8":function(e,t,n){"use strict";var r=n("83ab"),i=n("aed9"),o=n("9bf2"),s=n("825a"),a=n("fc6a"),l=n("df75");t.f=r&&!i?Object.defineProperties:function(e,t){s(e);var n,r=a(t),i=l(t),c=i.length,u=0;while(c>u)o.f(e,n=i[u++],r[n]);return e}},"3a7c":function(e,t,n){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===b(e)}function i(e){return"boolean"===typeof e}function o(e){return null===e}function s(e){return null==e}function a(e){return"number"===typeof e}function l(e){return"string"===typeof e}function c(e){return"symbol"===typeof e}function u(e){return void 0===e}function h(e){return"[object RegExp]"===b(e)}function d(e){return"object"===typeof e&&null!==e}function f(e){return"[object Date]"===b(e)}function p(e){return"[object Error]"===b(e)||e instanceof Error}function m(e){return"function"===typeof e}function g(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function b(e){return Object.prototype.toString.call(e)}t.isArray=r,t.isBoolean=i,t.isNull=o,t.isNullOrUndefined=s,t.isNumber=a,t.isString=l,t.isSymbol=c,t.isUndefined=u,t.isRegExp=h,t.isObject=d,t.isDate=f,t.isError=p,t.isFunction=m,t.isPrimitive=g,t.isBuffer=n("b639").Buffer.isBuffer},"3b2f":function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(){"use strict";var e={};!function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}}(),function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var t={};e.d(t,{default:function(){return ao}});class n{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let r,i,o="KaTeX parse error: "+e;const s=t&&t.loc;if(s&&s.start<=s.end){const e=s.lexer.input;r=s.start,i=s.end,r===e.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";const t=e.slice(r,i).replace(/[^]/g,"$&̲");let n,a;n=r>15?"…"+e.slice(r-15,r):e.slice(0,r),a=i+15<e.length?e.slice(i,i+15)+"…":e.slice(i),o+=n+t+a}const a=new Error(o);return a.name="ParseError",a.__proto__=n.prototype,a.position=r,null!=r&&null!=i&&(a.length=i-r),a.rawMessage=e,a}}n.prototype.__proto__=Error.prototype;var r=n;const i=function(e,t){return-1!==e.indexOf(t)},o=function(e,t){return void 0===e?t:e},s=/([A-Z])/g,a=function(e){return e.replace(s,"-$1").toLowerCase()},l={"&":"&",">":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function u(e){return String(e).replace(c,e=>l[e])}const h=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?h(e.body[0]):e:"font"===e.type?h(e.body):e},d=function(e){const t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},p=function(e){const t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"};var m={contains:i,deflt:o,escape:u,hyphenate:a,getBaseElem:h,isCharacterBox:d,protocolFromUrl:p};const 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 <type>"},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 <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:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},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:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",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:e=>Math.max(0,e),cli:"-s, --max-size <n>",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:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function b(e){if(e.default)return e.default;const t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class y{constructor(e){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,e=e||{};for(const t in g)if(g.hasOwnProperty(t)){const n=g[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:b(n)}}reportNonstrict(e,t,n){let i=this.strict;if("function"===typeof i&&(i=i(e,t,n)),i&&"ignore"!==i){if(!0===i||"error"===i)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===i?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){let r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){const t=m.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}const t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class v{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return O[E[this.id]]}sub(){return O[M[this.id]]}fracNum(){return O[N[this.id]]}fracDen(){return O[R[this.id]]}cramp(){return O[L[this.id]]}text(){return O[D[this.id]]}isTight(){return this.size>=2}}const x=0,w=1,k=2,S=3,C=4,T=5,z=6,A=7,O=[new v(x,0,!1),new v(w,0,!0),new v(k,1,!1),new v(S,1,!0),new v(C,2,!1),new v(T,2,!0),new v(z,3,!1),new v(A,3,!0)],E=[C,T,C,T,z,A,z,A],M=[T,T,T,T,A,A,A,A],N=[k,S,C,T,z,A,z,A],R=[S,S,T,T,A,A,A,A],L=[w,w,S,S,T,T,A,A],D=[x,w,k,S,k,S,k,S];var F={DISPLAY:O[x],TEXT:O[k],SCRIPT:O[C],SCRIPTSCRIPT:O[z]};const j=[{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 I(e){for(let t=0;t<j.length;t++){const n=j[t];for(let t=0;t<n.blocks.length;t++){const r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}const B=[];function _(e){for(let t=0;t<B.length;t+=2)if(e>=B[t]&&e<=B[t+1])return!0;return!1}j.forEach(e=>e.blocks.forEach(e=>B.push(...e)));const q=80,P=function(e,t){return"M95,"+(622+e+t)+"\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"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"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+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},U=function(e,t){return"M263,"+(601+e+t)+"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"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"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+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},H=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\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+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},W=function(e,t){return"M424,"+(2398+e+t)+"\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"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"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+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},V=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"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+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},G=function(e){const t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},K=function(e,t,n){const r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+r+"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 "+t+"H400000v"+(40+e)+"H742z"},X=function(e,t,n){t*=1e3;let r="";switch(e){case"sqrtMain":r=P(t,q);break;case"sqrtSize1":r=U(t,q);break;case"sqrtSize2":r=H(t,q);break;case"sqrtSize3":r=W(t,q);break;case"sqrtSize4":r=V(t,q);break;case"sqrtTall":r=K(t,q,n)}return r},Y=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}},Z={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(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" 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,"+(t+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,-"+(t+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,"+(t+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,-"+(t+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.")}};class Q{constructor(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){const e=e=>e.toText();return this.children.map(e).join("")}}var $={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const ee={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},te={"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function ne(e,t){$[e]=t}function re(e,t,n){if(!$[t])throw new Error("Font metrics not found for font: "+t+".");let r=e.charCodeAt(0),i=$[t][r];if(!i&&e[0]in te&&(r=te[e[0]].charCodeAt(0),i=$[t][r]),i||"text"!==n||_(r)&&(i=$[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}const ie={};function oe(e){let t;if(t=e>=5?0:e>=3?1:2,!ie[t]){const e=ie[t]={cssEmPerMu:ee.quad[t]/18};for(const n in ee)ee.hasOwnProperty(n)&&(e[n]=ee[n][t])}return ie[t]}const se=[[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]],ae=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],le=function(e,t){return t.size<2?e:se[e-1][t.size-1]};class ce{constructor(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||ce.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=ae[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){const t={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(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new ce(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:le(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ae[e-1]})}havingBaseStyle(e){e=e||this.style.text();const t=le(ce.BASESIZE,e);return this.size===t&&this.textSize===ce.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){let e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ce.BASESIZE?["sizing","reset-size"+this.size,"size"+ce.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=oe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ce.BASESIZE=6;var ue=ce;const he={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},de={ex:!0,em:!0,mu:!0},fe=function(e){return"string"!==typeof e&&(e=e.unit),e in he||e in de||"ex"===e},pe=function(e,t){let n;if(e.unit in he)n=he[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},me=function(e){return+e.toFixed(4)+"em"},ge=function(e){return e.filter(e=>e).join(" ")},be=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},ye=function(e){const t=document.createElement(e);t.className=ge(this.classes);for(const n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(const n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},ve=function(e){let t="<"+e;this.classes.length&&(t+=' class="'+m.escape(ge(this.classes))+'"');let n="";for(const r in this.style)this.style.hasOwnProperty(r)&&(n+=m.hyphenate(r)+":"+this.style[r]+";");n&&(t+=' style="'+m.escape(n)+'"');for(const r in this.attributes)this.attributes.hasOwnProperty(r)&&(t+=" "+r+'="'+m.escape(this.attributes[r])+'"');t+=">";for(let r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+e+">",t};class xe{constructor(e,t,n,r){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,be.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return ye.call(this,"span")}toMarkup(){return ve.call(this,"span")}}class we{constructor(e,t,n,r){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,be.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return ye.call(this,"a")}toMarkup(){return ve.call(this,"a")}}class ke{constructor(e,t,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=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e='<img src="'+m.escape(this.src)+'" alt="'+m.escape(this.alt)+'"',t="";for(const n in this.style)this.style.hasOwnProperty(n)&&(t+=m.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+m.escape(t)+'"'),e+="'/>",e}}const Se={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class Ce{constructor(e,t,n,r,i,o,s,a){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=o||0,this.classes=s||[],this.style=a||{},this.maxFontSize=0;const l=I(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Se[this.text])}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=me(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=ge(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){let e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=m.escape(ge(this.classes)),t+='"');let n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(const i in this.style)this.style.hasOwnProperty(i)&&(n+=m.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,t+=' style="'+m.escape(n)+'"');const r=m.escape(this.text);return e?(t+=">",t+=r,t+="</span>",t):r}}class Te{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){let e='<svg xmlns="http://www.w3.org/2000/svg"';for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+m.escape(this.attributes[t])+'"');e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</svg>",e}}class ze{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",Z[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+m.escape(this.alternate)+'"/>':'<path d="'+m.escape(Z[this.pathName])+'"/>'}}class Ae{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t}toMarkup(){let e="<line";for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+m.escape(this.attributes[t])+'"');return e+="/>",e}}function Oe(e){if(e instanceof Ce)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Ee(e){if(e instanceof xe)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}const Me={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ne={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Re={math:{},text:{}};var Le=Re;function De(e,t,n,r,i,o){Re[e][i]={font:t,group:n,replace:r},o&&r&&(Re[e][r]=Re[e][i])}const Fe="math",je="text",Ie="main",Be="ams",_e="accent-token",qe="bin",Pe="close",Ue="inner",He="mathord",We="op-token",Ve="open",Ge="punct",Ke="rel",Xe="spacing",Ye="textord";De(Fe,Ie,Ke,"≡","\\equiv",!0),De(Fe,Ie,Ke,"≺","\\prec",!0),De(Fe,Ie,Ke,"≻","\\succ",!0),De(Fe,Ie,Ke,"∼","\\sim",!0),De(Fe,Ie,Ke,"⊥","\\perp"),De(Fe,Ie,Ke,"⪯","\\preceq",!0),De(Fe,Ie,Ke,"⪰","\\succeq",!0),De(Fe,Ie,Ke,"≃","\\simeq",!0),De(Fe,Ie,Ke,"∣","\\mid",!0),De(Fe,Ie,Ke,"≪","\\ll",!0),De(Fe,Ie,Ke,"≫","\\gg",!0),De(Fe,Ie,Ke,"≍","\\asymp",!0),De(Fe,Ie,Ke,"∥","\\parallel"),De(Fe,Ie,Ke,"⋈","\\bowtie",!0),De(Fe,Ie,Ke,"⌣","\\smile",!0),De(Fe,Ie,Ke,"⊑","\\sqsubseteq",!0),De(Fe,Ie,Ke,"⊒","\\sqsupseteq",!0),De(Fe,Ie,Ke,"≐","\\doteq",!0),De(Fe,Ie,Ke,"⌢","\\frown",!0),De(Fe,Ie,Ke,"∋","\\ni",!0),De(Fe,Ie,Ke,"∝","\\propto",!0),De(Fe,Ie,Ke,"⊢","\\vdash",!0),De(Fe,Ie,Ke,"⊣","\\dashv",!0),De(Fe,Ie,Ke,"∋","\\owns"),De(Fe,Ie,Ge,".","\\ldotp"),De(Fe,Ie,Ge,"⋅","\\cdotp"),De(Fe,Ie,Ye,"#","\\#"),De(je,Ie,Ye,"#","\\#"),De(Fe,Ie,Ye,"&","\\&"),De(je,Ie,Ye,"&","\\&"),De(Fe,Ie,Ye,"ℵ","\\aleph",!0),De(Fe,Ie,Ye,"∀","\\forall",!0),De(Fe,Ie,Ye,"ℏ","\\hbar",!0),De(Fe,Ie,Ye,"∃","\\exists",!0),De(Fe,Ie,Ye,"∇","\\nabla",!0),De(Fe,Ie,Ye,"♭","\\flat",!0),De(Fe,Ie,Ye,"ℓ","\\ell",!0),De(Fe,Ie,Ye,"♮","\\natural",!0),De(Fe,Ie,Ye,"♣","\\clubsuit",!0),De(Fe,Ie,Ye,"℘","\\wp",!0),De(Fe,Ie,Ye,"♯","\\sharp",!0),De(Fe,Ie,Ye,"♢","\\diamondsuit",!0),De(Fe,Ie,Ye,"ℜ","\\Re",!0),De(Fe,Ie,Ye,"♡","\\heartsuit",!0),De(Fe,Ie,Ye,"ℑ","\\Im",!0),De(Fe,Ie,Ye,"♠","\\spadesuit",!0),De(Fe,Ie,Ye,"§","\\S",!0),De(je,Ie,Ye,"§","\\S"),De(Fe,Ie,Ye,"¶","\\P",!0),De(je,Ie,Ye,"¶","\\P"),De(Fe,Ie,Ye,"†","\\dag"),De(je,Ie,Ye,"†","\\dag"),De(je,Ie,Ye,"†","\\textdagger"),De(Fe,Ie,Ye,"‡","\\ddag"),De(je,Ie,Ye,"‡","\\ddag"),De(je,Ie,Ye,"‡","\\textdaggerdbl"),De(Fe,Ie,Pe,"⎱","\\rmoustache",!0),De(Fe,Ie,Ve,"⎰","\\lmoustache",!0),De(Fe,Ie,Pe,"⟯","\\rgroup",!0),De(Fe,Ie,Ve,"⟮","\\lgroup",!0),De(Fe,Ie,qe,"∓","\\mp",!0),De(Fe,Ie,qe,"⊖","\\ominus",!0),De(Fe,Ie,qe,"⊎","\\uplus",!0),De(Fe,Ie,qe,"⊓","\\sqcap",!0),De(Fe,Ie,qe,"∗","\\ast"),De(Fe,Ie,qe,"⊔","\\sqcup",!0),De(Fe,Ie,qe,"◯","\\bigcirc",!0),De(Fe,Ie,qe,"∙","\\bullet",!0),De(Fe,Ie,qe,"‡","\\ddagger"),De(Fe,Ie,qe,"≀","\\wr",!0),De(Fe,Ie,qe,"⨿","\\amalg"),De(Fe,Ie,qe,"&","\\And"),De(Fe,Ie,Ke,"⟵","\\longleftarrow",!0),De(Fe,Ie,Ke,"⇐","\\Leftarrow",!0),De(Fe,Ie,Ke,"⟸","\\Longleftarrow",!0),De(Fe,Ie,Ke,"⟶","\\longrightarrow",!0),De(Fe,Ie,Ke,"⇒","\\Rightarrow",!0),De(Fe,Ie,Ke,"⟹","\\Longrightarrow",!0),De(Fe,Ie,Ke,"↔","\\leftrightarrow",!0),De(Fe,Ie,Ke,"⟷","\\longleftrightarrow",!0),De(Fe,Ie,Ke,"⇔","\\Leftrightarrow",!0),De(Fe,Ie,Ke,"⟺","\\Longleftrightarrow",!0),De(Fe,Ie,Ke,"↦","\\mapsto",!0),De(Fe,Ie,Ke,"⟼","\\longmapsto",!0),De(Fe,Ie,Ke,"↗","\\nearrow",!0),De(Fe,Ie,Ke,"↩","\\hookleftarrow",!0),De(Fe,Ie,Ke,"↪","\\hookrightarrow",!0),De(Fe,Ie,Ke,"↘","\\searrow",!0),De(Fe,Ie,Ke,"↼","\\leftharpoonup",!0),De(Fe,Ie,Ke,"⇀","\\rightharpoonup",!0),De(Fe,Ie,Ke,"↙","\\swarrow",!0),De(Fe,Ie,Ke,"↽","\\leftharpoondown",!0),De(Fe,Ie,Ke,"⇁","\\rightharpoondown",!0),De(Fe,Ie,Ke,"↖","\\nwarrow",!0),De(Fe,Ie,Ke,"⇌","\\rightleftharpoons",!0),De(Fe,Be,Ke,"≮","\\nless",!0),De(Fe,Be,Ke,"","\\@nleqslant"),De(Fe,Be,Ke,"","\\@nleqq"),De(Fe,Be,Ke,"⪇","\\lneq",!0),De(Fe,Be,Ke,"≨","\\lneqq",!0),De(Fe,Be,Ke,"","\\@lvertneqq"),De(Fe,Be,Ke,"⋦","\\lnsim",!0),De(Fe,Be,Ke,"⪉","\\lnapprox",!0),De(Fe,Be,Ke,"⊀","\\nprec",!0),De(Fe,Be,Ke,"⋠","\\npreceq",!0),De(Fe,Be,Ke,"⋨","\\precnsim",!0),De(Fe,Be,Ke,"⪹","\\precnapprox",!0),De(Fe,Be,Ke,"≁","\\nsim",!0),De(Fe,Be,Ke,"","\\@nshortmid"),De(Fe,Be,Ke,"∤","\\nmid",!0),De(Fe,Be,Ke,"⊬","\\nvdash",!0),De(Fe,Be,Ke,"⊭","\\nvDash",!0),De(Fe,Be,Ke,"⋪","\\ntriangleleft"),De(Fe,Be,Ke,"⋬","\\ntrianglelefteq",!0),De(Fe,Be,Ke,"⊊","\\subsetneq",!0),De(Fe,Be,Ke,"","\\@varsubsetneq"),De(Fe,Be,Ke,"⫋","\\subsetneqq",!0),De(Fe,Be,Ke,"","\\@varsubsetneqq"),De(Fe,Be,Ke,"≯","\\ngtr",!0),De(Fe,Be,Ke,"","\\@ngeqslant"),De(Fe,Be,Ke,"","\\@ngeqq"),De(Fe,Be,Ke,"⪈","\\gneq",!0),De(Fe,Be,Ke,"≩","\\gneqq",!0),De(Fe,Be,Ke,"","\\@gvertneqq"),De(Fe,Be,Ke,"⋧","\\gnsim",!0),De(Fe,Be,Ke,"⪊","\\gnapprox",!0),De(Fe,Be,Ke,"⊁","\\nsucc",!0),De(Fe,Be,Ke,"⋡","\\nsucceq",!0),De(Fe,Be,Ke,"⋩","\\succnsim",!0),De(Fe,Be,Ke,"⪺","\\succnapprox",!0),De(Fe,Be,Ke,"≆","\\ncong",!0),De(Fe,Be,Ke,"","\\@nshortparallel"),De(Fe,Be,Ke,"∦","\\nparallel",!0),De(Fe,Be,Ke,"⊯","\\nVDash",!0),De(Fe,Be,Ke,"⋫","\\ntriangleright"),De(Fe,Be,Ke,"⋭","\\ntrianglerighteq",!0),De(Fe,Be,Ke,"","\\@nsupseteqq"),De(Fe,Be,Ke,"⊋","\\supsetneq",!0),De(Fe,Be,Ke,"","\\@varsupsetneq"),De(Fe,Be,Ke,"⫌","\\supsetneqq",!0),De(Fe,Be,Ke,"","\\@varsupsetneqq"),De(Fe,Be,Ke,"⊮","\\nVdash",!0),De(Fe,Be,Ke,"⪵","\\precneqq",!0),De(Fe,Be,Ke,"⪶","\\succneqq",!0),De(Fe,Be,Ke,"","\\@nsubseteqq"),De(Fe,Be,qe,"⊴","\\unlhd"),De(Fe,Be,qe,"⊵","\\unrhd"),De(Fe,Be,Ke,"↚","\\nleftarrow",!0),De(Fe,Be,Ke,"↛","\\nrightarrow",!0),De(Fe,Be,Ke,"⇍","\\nLeftarrow",!0),De(Fe,Be,Ke,"⇏","\\nRightarrow",!0),De(Fe,Be,Ke,"↮","\\nleftrightarrow",!0),De(Fe,Be,Ke,"⇎","\\nLeftrightarrow",!0),De(Fe,Be,Ke,"△","\\vartriangle"),De(Fe,Be,Ye,"ℏ","\\hslash"),De(Fe,Be,Ye,"▽","\\triangledown"),De(Fe,Be,Ye,"◊","\\lozenge"),De(Fe,Be,Ye,"Ⓢ","\\circledS"),De(Fe,Be,Ye,"®","\\circledR"),De(je,Be,Ye,"®","\\circledR"),De(Fe,Be,Ye,"∡","\\measuredangle",!0),De(Fe,Be,Ye,"∄","\\nexists"),De(Fe,Be,Ye,"℧","\\mho"),De(Fe,Be,Ye,"Ⅎ","\\Finv",!0),De(Fe,Be,Ye,"⅁","\\Game",!0),De(Fe,Be,Ye,"‵","\\backprime"),De(Fe,Be,Ye,"▲","\\blacktriangle"),De(Fe,Be,Ye,"▼","\\blacktriangledown"),De(Fe,Be,Ye,"■","\\blacksquare"),De(Fe,Be,Ye,"⧫","\\blacklozenge"),De(Fe,Be,Ye,"★","\\bigstar"),De(Fe,Be,Ye,"∢","\\sphericalangle",!0),De(Fe,Be,Ye,"∁","\\complement",!0),De(Fe,Be,Ye,"ð","\\eth",!0),De(je,Ie,Ye,"ð","ð"),De(Fe,Be,Ye,"╱","\\diagup"),De(Fe,Be,Ye,"╲","\\diagdown"),De(Fe,Be,Ye,"□","\\square"),De(Fe,Be,Ye,"□","\\Box"),De(Fe,Be,Ye,"◊","\\Diamond"),De(Fe,Be,Ye,"¥","\\yen",!0),De(je,Be,Ye,"¥","\\yen",!0),De(Fe,Be,Ye,"✓","\\checkmark",!0),De(je,Be,Ye,"✓","\\checkmark"),De(Fe,Be,Ye,"ℶ","\\beth",!0),De(Fe,Be,Ye,"ℸ","\\daleth",!0),De(Fe,Be,Ye,"ℷ","\\gimel",!0),De(Fe,Be,Ye,"ϝ","\\digamma",!0),De(Fe,Be,Ye,"ϰ","\\varkappa"),De(Fe,Be,Ve,"┌","\\@ulcorner",!0),De(Fe,Be,Pe,"┐","\\@urcorner",!0),De(Fe,Be,Ve,"└","\\@llcorner",!0),De(Fe,Be,Pe,"┘","\\@lrcorner",!0),De(Fe,Be,Ke,"≦","\\leqq",!0),De(Fe,Be,Ke,"⩽","\\leqslant",!0),De(Fe,Be,Ke,"⪕","\\eqslantless",!0),De(Fe,Be,Ke,"≲","\\lesssim",!0),De(Fe,Be,Ke,"⪅","\\lessapprox",!0),De(Fe,Be,Ke,"≊","\\approxeq",!0),De(Fe,Be,qe,"⋖","\\lessdot"),De(Fe,Be,Ke,"⋘","\\lll",!0),De(Fe,Be,Ke,"≶","\\lessgtr",!0),De(Fe,Be,Ke,"⋚","\\lesseqgtr",!0),De(Fe,Be,Ke,"⪋","\\lesseqqgtr",!0),De(Fe,Be,Ke,"≑","\\doteqdot"),De(Fe,Be,Ke,"≓","\\risingdotseq",!0),De(Fe,Be,Ke,"≒","\\fallingdotseq",!0),De(Fe,Be,Ke,"∽","\\backsim",!0),De(Fe,Be,Ke,"⋍","\\backsimeq",!0),De(Fe,Be,Ke,"⫅","\\subseteqq",!0),De(Fe,Be,Ke,"⋐","\\Subset",!0),De(Fe,Be,Ke,"⊏","\\sqsubset",!0),De(Fe,Be,Ke,"≼","\\preccurlyeq",!0),De(Fe,Be,Ke,"⋞","\\curlyeqprec",!0),De(Fe,Be,Ke,"≾","\\precsim",!0),De(Fe,Be,Ke,"⪷","\\precapprox",!0),De(Fe,Be,Ke,"⊲","\\vartriangleleft"),De(Fe,Be,Ke,"⊴","\\trianglelefteq"),De(Fe,Be,Ke,"⊨","\\vDash",!0),De(Fe,Be,Ke,"⊪","\\Vvdash",!0),De(Fe,Be,Ke,"⌣","\\smallsmile"),De(Fe,Be,Ke,"⌢","\\smallfrown"),De(Fe,Be,Ke,"≏","\\bumpeq",!0),De(Fe,Be,Ke,"≎","\\Bumpeq",!0),De(Fe,Be,Ke,"≧","\\geqq",!0),De(Fe,Be,Ke,"⩾","\\geqslant",!0),De(Fe,Be,Ke,"⪖","\\eqslantgtr",!0),De(Fe,Be,Ke,"≳","\\gtrsim",!0),De(Fe,Be,Ke,"⪆","\\gtrapprox",!0),De(Fe,Be,qe,"⋗","\\gtrdot"),De(Fe,Be,Ke,"⋙","\\ggg",!0),De(Fe,Be,Ke,"≷","\\gtrless",!0),De(Fe,Be,Ke,"⋛","\\gtreqless",!0),De(Fe,Be,Ke,"⪌","\\gtreqqless",!0),De(Fe,Be,Ke,"≖","\\eqcirc",!0),De(Fe,Be,Ke,"≗","\\circeq",!0),De(Fe,Be,Ke,"≜","\\triangleq",!0),De(Fe,Be,Ke,"∼","\\thicksim"),De(Fe,Be,Ke,"≈","\\thickapprox"),De(Fe,Be,Ke,"⫆","\\supseteqq",!0),De(Fe,Be,Ke,"⋑","\\Supset",!0),De(Fe,Be,Ke,"⊐","\\sqsupset",!0),De(Fe,Be,Ke,"≽","\\succcurlyeq",!0),De(Fe,Be,Ke,"⋟","\\curlyeqsucc",!0),De(Fe,Be,Ke,"≿","\\succsim",!0),De(Fe,Be,Ke,"⪸","\\succapprox",!0),De(Fe,Be,Ke,"⊳","\\vartriangleright"),De(Fe,Be,Ke,"⊵","\\trianglerighteq"),De(Fe,Be,Ke,"⊩","\\Vdash",!0),De(Fe,Be,Ke,"∣","\\shortmid"),De(Fe,Be,Ke,"∥","\\shortparallel"),De(Fe,Be,Ke,"≬","\\between",!0),De(Fe,Be,Ke,"⋔","\\pitchfork",!0),De(Fe,Be,Ke,"∝","\\varpropto"),De(Fe,Be,Ke,"◀","\\blacktriangleleft"),De(Fe,Be,Ke,"∴","\\therefore",!0),De(Fe,Be,Ke,"∍","\\backepsilon"),De(Fe,Be,Ke,"▶","\\blacktriangleright"),De(Fe,Be,Ke,"∵","\\because",!0),De(Fe,Be,Ke,"⋘","\\llless"),De(Fe,Be,Ke,"⋙","\\gggtr"),De(Fe,Be,qe,"⊲","\\lhd"),De(Fe,Be,qe,"⊳","\\rhd"),De(Fe,Be,Ke,"≂","\\eqsim",!0),De(Fe,Ie,Ke,"⋈","\\Join"),De(Fe,Be,Ke,"≑","\\Doteq",!0),De(Fe,Be,qe,"∔","\\dotplus",!0),De(Fe,Be,qe,"∖","\\smallsetminus"),De(Fe,Be,qe,"⋒","\\Cap",!0),De(Fe,Be,qe,"⋓","\\Cup",!0),De(Fe,Be,qe,"⩞","\\doublebarwedge",!0),De(Fe,Be,qe,"⊟","\\boxminus",!0),De(Fe,Be,qe,"⊞","\\boxplus",!0),De(Fe,Be,qe,"⋇","\\divideontimes",!0),De(Fe,Be,qe,"⋉","\\ltimes",!0),De(Fe,Be,qe,"⋊","\\rtimes",!0),De(Fe,Be,qe,"⋋","\\leftthreetimes",!0),De(Fe,Be,qe,"⋌","\\rightthreetimes",!0),De(Fe,Be,qe,"⋏","\\curlywedge",!0),De(Fe,Be,qe,"⋎","\\curlyvee",!0),De(Fe,Be,qe,"⊝","\\circleddash",!0),De(Fe,Be,qe,"⊛","\\circledast",!0),De(Fe,Be,qe,"⋅","\\centerdot"),De(Fe,Be,qe,"⊺","\\intercal",!0),De(Fe,Be,qe,"⋒","\\doublecap"),De(Fe,Be,qe,"⋓","\\doublecup"),De(Fe,Be,qe,"⊠","\\boxtimes",!0),De(Fe,Be,Ke,"⇢","\\dashrightarrow",!0),De(Fe,Be,Ke,"⇠","\\dashleftarrow",!0),De(Fe,Be,Ke,"⇇","\\leftleftarrows",!0),De(Fe,Be,Ke,"⇆","\\leftrightarrows",!0),De(Fe,Be,Ke,"⇚","\\Lleftarrow",!0),De(Fe,Be,Ke,"↞","\\twoheadleftarrow",!0),De(Fe,Be,Ke,"↢","\\leftarrowtail",!0),De(Fe,Be,Ke,"↫","\\looparrowleft",!0),De(Fe,Be,Ke,"⇋","\\leftrightharpoons",!0),De(Fe,Be,Ke,"↶","\\curvearrowleft",!0),De(Fe,Be,Ke,"↺","\\circlearrowleft",!0),De(Fe,Be,Ke,"↰","\\Lsh",!0),De(Fe,Be,Ke,"⇈","\\upuparrows",!0),De(Fe,Be,Ke,"↿","\\upharpoonleft",!0),De(Fe,Be,Ke,"⇃","\\downharpoonleft",!0),De(Fe,Ie,Ke,"⊶","\\origof",!0),De(Fe,Ie,Ke,"⊷","\\imageof",!0),De(Fe,Be,Ke,"⊸","\\multimap",!0),De(Fe,Be,Ke,"↭","\\leftrightsquigarrow",!0),De(Fe,Be,Ke,"⇉","\\rightrightarrows",!0),De(Fe,Be,Ke,"⇄","\\rightleftarrows",!0),De(Fe,Be,Ke,"↠","\\twoheadrightarrow",!0),De(Fe,Be,Ke,"↣","\\rightarrowtail",!0),De(Fe,Be,Ke,"↬","\\looparrowright",!0),De(Fe,Be,Ke,"↷","\\curvearrowright",!0),De(Fe,Be,Ke,"↻","\\circlearrowright",!0),De(Fe,Be,Ke,"↱","\\Rsh",!0),De(Fe,Be,Ke,"⇊","\\downdownarrows",!0),De(Fe,Be,Ke,"↾","\\upharpoonright",!0),De(Fe,Be,Ke,"⇂","\\downharpoonright",!0),De(Fe,Be,Ke,"⇝","\\rightsquigarrow",!0),De(Fe,Be,Ke,"⇝","\\leadsto"),De(Fe,Be,Ke,"⇛","\\Rrightarrow",!0),De(Fe,Be,Ke,"↾","\\restriction"),De(Fe,Ie,Ye,"‘","`"),De(Fe,Ie,Ye,"$","\\$"),De(je,Ie,Ye,"$","\\$"),De(je,Ie,Ye,"$","\\textdollar"),De(Fe,Ie,Ye,"%","\\%"),De(je,Ie,Ye,"%","\\%"),De(Fe,Ie,Ye,"_","\\_"),De(je,Ie,Ye,"_","\\_"),De(je,Ie,Ye,"_","\\textunderscore"),De(Fe,Ie,Ye,"∠","\\angle",!0),De(Fe,Ie,Ye,"∞","\\infty",!0),De(Fe,Ie,Ye,"′","\\prime"),De(Fe,Ie,Ye,"△","\\triangle"),De(Fe,Ie,Ye,"Γ","\\Gamma",!0),De(Fe,Ie,Ye,"Δ","\\Delta",!0),De(Fe,Ie,Ye,"Θ","\\Theta",!0),De(Fe,Ie,Ye,"Λ","\\Lambda",!0),De(Fe,Ie,Ye,"Ξ","\\Xi",!0),De(Fe,Ie,Ye,"Π","\\Pi",!0),De(Fe,Ie,Ye,"Σ","\\Sigma",!0),De(Fe,Ie,Ye,"Υ","\\Upsilon",!0),De(Fe,Ie,Ye,"Φ","\\Phi",!0),De(Fe,Ie,Ye,"Ψ","\\Psi",!0),De(Fe,Ie,Ye,"Ω","\\Omega",!0),De(Fe,Ie,Ye,"A","Α"),De(Fe,Ie,Ye,"B","Β"),De(Fe,Ie,Ye,"E","Ε"),De(Fe,Ie,Ye,"Z","Ζ"),De(Fe,Ie,Ye,"H","Η"),De(Fe,Ie,Ye,"I","Ι"),De(Fe,Ie,Ye,"K","Κ"),De(Fe,Ie,Ye,"M","Μ"),De(Fe,Ie,Ye,"N","Ν"),De(Fe,Ie,Ye,"O","Ο"),De(Fe,Ie,Ye,"P","Ρ"),De(Fe,Ie,Ye,"T","Τ"),De(Fe,Ie,Ye,"X","Χ"),De(Fe,Ie,Ye,"¬","\\neg",!0),De(Fe,Ie,Ye,"¬","\\lnot"),De(Fe,Ie,Ye,"⊤","\\top"),De(Fe,Ie,Ye,"⊥","\\bot"),De(Fe,Ie,Ye,"∅","\\emptyset"),De(Fe,Be,Ye,"∅","\\varnothing"),De(Fe,Ie,He,"α","\\alpha",!0),De(Fe,Ie,He,"β","\\beta",!0),De(Fe,Ie,He,"γ","\\gamma",!0),De(Fe,Ie,He,"δ","\\delta",!0),De(Fe,Ie,He,"ϵ","\\epsilon",!0),De(Fe,Ie,He,"ζ","\\zeta",!0),De(Fe,Ie,He,"η","\\eta",!0),De(Fe,Ie,He,"θ","\\theta",!0),De(Fe,Ie,He,"ι","\\iota",!0),De(Fe,Ie,He,"κ","\\kappa",!0),De(Fe,Ie,He,"λ","\\lambda",!0),De(Fe,Ie,He,"μ","\\mu",!0),De(Fe,Ie,He,"ν","\\nu",!0),De(Fe,Ie,He,"ξ","\\xi",!0),De(Fe,Ie,He,"ο","\\omicron",!0),De(Fe,Ie,He,"π","\\pi",!0),De(Fe,Ie,He,"ρ","\\rho",!0),De(Fe,Ie,He,"σ","\\sigma",!0),De(Fe,Ie,He,"τ","\\tau",!0),De(Fe,Ie,He,"υ","\\upsilon",!0),De(Fe,Ie,He,"ϕ","\\phi",!0),De(Fe,Ie,He,"χ","\\chi",!0),De(Fe,Ie,He,"ψ","\\psi",!0),De(Fe,Ie,He,"ω","\\omega",!0),De(Fe,Ie,He,"ε","\\varepsilon",!0),De(Fe,Ie,He,"ϑ","\\vartheta",!0),De(Fe,Ie,He,"ϖ","\\varpi",!0),De(Fe,Ie,He,"ϱ","\\varrho",!0),De(Fe,Ie,He,"ς","\\varsigma",!0),De(Fe,Ie,He,"φ","\\varphi",!0),De(Fe,Ie,qe,"∗","*",!0),De(Fe,Ie,qe,"+","+"),De(Fe,Ie,qe,"−","-",!0),De(Fe,Ie,qe,"⋅","\\cdot",!0),De(Fe,Ie,qe,"∘","\\circ",!0),De(Fe,Ie,qe,"÷","\\div",!0),De(Fe,Ie,qe,"±","\\pm",!0),De(Fe,Ie,qe,"×","\\times",!0),De(Fe,Ie,qe,"∩","\\cap",!0),De(Fe,Ie,qe,"∪","\\cup",!0),De(Fe,Ie,qe,"∖","\\setminus",!0),De(Fe,Ie,qe,"∧","\\land"),De(Fe,Ie,qe,"∨","\\lor"),De(Fe,Ie,qe,"∧","\\wedge",!0),De(Fe,Ie,qe,"∨","\\vee",!0),De(Fe,Ie,Ye,"√","\\surd"),De(Fe,Ie,Ve,"⟨","\\langle",!0),De(Fe,Ie,Ve,"∣","\\lvert"),De(Fe,Ie,Ve,"∥","\\lVert"),De(Fe,Ie,Pe,"?","?"),De(Fe,Ie,Pe,"!","!"),De(Fe,Ie,Pe,"⟩","\\rangle",!0),De(Fe,Ie,Pe,"∣","\\rvert"),De(Fe,Ie,Pe,"∥","\\rVert"),De(Fe,Ie,Ke,"=","="),De(Fe,Ie,Ke,":",":"),De(Fe,Ie,Ke,"≈","\\approx",!0),De(Fe,Ie,Ke,"≅","\\cong",!0),De(Fe,Ie,Ke,"≥","\\ge"),De(Fe,Ie,Ke,"≥","\\geq",!0),De(Fe,Ie,Ke,"←","\\gets"),De(Fe,Ie,Ke,">","\\gt",!0),De(Fe,Ie,Ke,"∈","\\in",!0),De(Fe,Ie,Ke,"","\\@not"),De(Fe,Ie,Ke,"⊂","\\subset",!0),De(Fe,Ie,Ke,"⊃","\\supset",!0),De(Fe,Ie,Ke,"⊆","\\subseteq",!0),De(Fe,Ie,Ke,"⊇","\\supseteq",!0),De(Fe,Be,Ke,"⊈","\\nsubseteq",!0),De(Fe,Be,Ke,"⊉","\\nsupseteq",!0),De(Fe,Ie,Ke,"⊨","\\models"),De(Fe,Ie,Ke,"←","\\leftarrow",!0),De(Fe,Ie,Ke,"≤","\\le"),De(Fe,Ie,Ke,"≤","\\leq",!0),De(Fe,Ie,Ke,"<","\\lt",!0),De(Fe,Ie,Ke,"→","\\rightarrow",!0),De(Fe,Ie,Ke,"→","\\to"),De(Fe,Be,Ke,"≱","\\ngeq",!0),De(Fe,Be,Ke,"≰","\\nleq",!0),De(Fe,Ie,Xe," ","\\ "),De(Fe,Ie,Xe," ","\\space"),De(Fe,Ie,Xe," ","\\nobreakspace"),De(je,Ie,Xe," ","\\ "),De(je,Ie,Xe," "," "),De(je,Ie,Xe," ","\\space"),De(je,Ie,Xe," ","\\nobreakspace"),De(Fe,Ie,Xe,null,"\\nobreak"),De(Fe,Ie,Xe,null,"\\allowbreak"),De(Fe,Ie,Ge,",",","),De(Fe,Ie,Ge,";",";"),De(Fe,Be,qe,"⊼","\\barwedge",!0),De(Fe,Be,qe,"⊻","\\veebar",!0),De(Fe,Ie,qe,"⊙","\\odot",!0),De(Fe,Ie,qe,"⊕","\\oplus",!0),De(Fe,Ie,qe,"⊗","\\otimes",!0),De(Fe,Ie,Ye,"∂","\\partial",!0),De(Fe,Ie,qe,"⊘","\\oslash",!0),De(Fe,Be,qe,"⊚","\\circledcirc",!0),De(Fe,Be,qe,"⊡","\\boxdot",!0),De(Fe,Ie,qe,"△","\\bigtriangleup"),De(Fe,Ie,qe,"▽","\\bigtriangledown"),De(Fe,Ie,qe,"†","\\dagger"),De(Fe,Ie,qe,"⋄","\\diamond"),De(Fe,Ie,qe,"⋆","\\star"),De(Fe,Ie,qe,"◃","\\triangleleft"),De(Fe,Ie,qe,"▹","\\triangleright"),De(Fe,Ie,Ve,"{","\\{"),De(je,Ie,Ye,"{","\\{"),De(je,Ie,Ye,"{","\\textbraceleft"),De(Fe,Ie,Pe,"}","\\}"),De(je,Ie,Ye,"}","\\}"),De(je,Ie,Ye,"}","\\textbraceright"),De(Fe,Ie,Ve,"{","\\lbrace"),De(Fe,Ie,Pe,"}","\\rbrace"),De(Fe,Ie,Ve,"[","\\lbrack",!0),De(je,Ie,Ye,"[","\\lbrack",!0),De(Fe,Ie,Pe,"]","\\rbrack",!0),De(je,Ie,Ye,"]","\\rbrack",!0),De(Fe,Ie,Ve,"(","\\lparen",!0),De(Fe,Ie,Pe,")","\\rparen",!0),De(je,Ie,Ye,"<","\\textless",!0),De(je,Ie,Ye,">","\\textgreater",!0),De(Fe,Ie,Ve,"⌊","\\lfloor",!0),De(Fe,Ie,Pe,"⌋","\\rfloor",!0),De(Fe,Ie,Ve,"⌈","\\lceil",!0),De(Fe,Ie,Pe,"⌉","\\rceil",!0),De(Fe,Ie,Ye,"\\","\\backslash"),De(Fe,Ie,Ye,"∣","|"),De(Fe,Ie,Ye,"∣","\\vert"),De(je,Ie,Ye,"|","\\textbar",!0),De(Fe,Ie,Ye,"∥","\\|"),De(Fe,Ie,Ye,"∥","\\Vert"),De(je,Ie,Ye,"∥","\\textbardbl"),De(je,Ie,Ye,"~","\\textasciitilde"),De(je,Ie,Ye,"\\","\\textbackslash"),De(je,Ie,Ye,"^","\\textasciicircum"),De(Fe,Ie,Ke,"↑","\\uparrow",!0),De(Fe,Ie,Ke,"⇑","\\Uparrow",!0),De(Fe,Ie,Ke,"↓","\\downarrow",!0),De(Fe,Ie,Ke,"⇓","\\Downarrow",!0),De(Fe,Ie,Ke,"↕","\\updownarrow",!0),De(Fe,Ie,Ke,"⇕","\\Updownarrow",!0),De(Fe,Ie,We,"∐","\\coprod"),De(Fe,Ie,We,"⋁","\\bigvee"),De(Fe,Ie,We,"⋀","\\bigwedge"),De(Fe,Ie,We,"⨄","\\biguplus"),De(Fe,Ie,We,"⋂","\\bigcap"),De(Fe,Ie,We,"⋃","\\bigcup"),De(Fe,Ie,We,"∫","\\int"),De(Fe,Ie,We,"∫","\\intop"),De(Fe,Ie,We,"∬","\\iint"),De(Fe,Ie,We,"∭","\\iiint"),De(Fe,Ie,We,"∏","\\prod"),De(Fe,Ie,We,"∑","\\sum"),De(Fe,Ie,We,"⨂","\\bigotimes"),De(Fe,Ie,We,"⨁","\\bigoplus"),De(Fe,Ie,We,"⨀","\\bigodot"),De(Fe,Ie,We,"∮","\\oint"),De(Fe,Ie,We,"∯","\\oiint"),De(Fe,Ie,We,"∰","\\oiiint"),De(Fe,Ie,We,"⨆","\\bigsqcup"),De(Fe,Ie,We,"∫","\\smallint"),De(je,Ie,Ue,"…","\\textellipsis"),De(Fe,Ie,Ue,"…","\\mathellipsis"),De(je,Ie,Ue,"…","\\ldots",!0),De(Fe,Ie,Ue,"…","\\ldots",!0),De(Fe,Ie,Ue,"⋯","\\@cdots",!0),De(Fe,Ie,Ue,"⋱","\\ddots",!0),De(Fe,Ie,Ye,"⋮","\\varvdots"),De(Fe,Ie,_e,"ˊ","\\acute"),De(Fe,Ie,_e,"ˋ","\\grave"),De(Fe,Ie,_e,"¨","\\ddot"),De(Fe,Ie,_e,"~","\\tilde"),De(Fe,Ie,_e,"ˉ","\\bar"),De(Fe,Ie,_e,"˘","\\breve"),De(Fe,Ie,_e,"ˇ","\\check"),De(Fe,Ie,_e,"^","\\hat"),De(Fe,Ie,_e,"⃗","\\vec"),De(Fe,Ie,_e,"˙","\\dot"),De(Fe,Ie,_e,"˚","\\mathring"),De(Fe,Ie,He,"","\\@imath"),De(Fe,Ie,He,"","\\@jmath"),De(Fe,Ie,Ye,"ı","ı"),De(Fe,Ie,Ye,"ȷ","ȷ"),De(je,Ie,Ye,"ı","\\i",!0),De(je,Ie,Ye,"ȷ","\\j",!0),De(je,Ie,Ye,"ß","\\ss",!0),De(je,Ie,Ye,"æ","\\ae",!0),De(je,Ie,Ye,"œ","\\oe",!0),De(je,Ie,Ye,"ø","\\o",!0),De(je,Ie,Ye,"Æ","\\AE",!0),De(je,Ie,Ye,"Œ","\\OE",!0),De(je,Ie,Ye,"Ø","\\O",!0),De(je,Ie,_e,"ˊ","\\'"),De(je,Ie,_e,"ˋ","\\`"),De(je,Ie,_e,"ˆ","\\^"),De(je,Ie,_e,"˜","\\~"),De(je,Ie,_e,"ˉ","\\="),De(je,Ie,_e,"˘","\\u"),De(je,Ie,_e,"˙","\\."),De(je,Ie,_e,"¸","\\c"),De(je,Ie,_e,"˚","\\r"),De(je,Ie,_e,"ˇ","\\v"),De(je,Ie,_e,"¨",'\\"'),De(je,Ie,_e,"˝","\\H"),De(je,Ie,_e,"◯","\\textcircled");const Ze={"--":!0,"---":!0,"``":!0,"''":!0};De(je,Ie,Ye,"–","--",!0),De(je,Ie,Ye,"–","\\textendash"),De(je,Ie,Ye,"—","---",!0),De(je,Ie,Ye,"—","\\textemdash"),De(je,Ie,Ye,"‘","`",!0),De(je,Ie,Ye,"‘","\\textquoteleft"),De(je,Ie,Ye,"’","'",!0),De(je,Ie,Ye,"’","\\textquoteright"),De(je,Ie,Ye,"“","``",!0),De(je,Ie,Ye,"“","\\textquotedblleft"),De(je,Ie,Ye,"”","''",!0),De(je,Ie,Ye,"”","\\textquotedblright"),De(Fe,Ie,Ye,"°","\\degree",!0),De(je,Ie,Ye,"°","\\degree"),De(je,Ie,Ye,"°","\\textdegree",!0),De(Fe,Ie,Ye,"£","\\pounds"),De(Fe,Ie,Ye,"£","\\mathsterling",!0),De(je,Ie,Ye,"£","\\pounds"),De(je,Ie,Ye,"£","\\textsterling",!0),De(Fe,Be,Ye,"✠","\\maltese"),De(je,Be,Ye,"✠","\\maltese");const Je='0123456789/@."';for(let lo=0;lo<Je.length;lo++){const e=Je.charAt(lo);De(Fe,Ie,Ye,e,e)}const Qe='0123456789!@*()-=+";:?/.,';for(let lo=0;lo<Qe.length;lo++){const e=Qe.charAt(lo);De(je,Ie,Ye,e,e)}const $e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let lo=0;lo<$e.length;lo++){const e=$e.charAt(lo);De(Fe,Ie,He,e,e),De(je,Ie,Ye,e,e)}De(Fe,Be,Ye,"C","ℂ"),De(je,Be,Ye,"C","ℂ"),De(Fe,Be,Ye,"H","ℍ"),De(je,Be,Ye,"H","ℍ"),De(Fe,Be,Ye,"N","ℕ"),De(je,Be,Ye,"N","ℕ"),De(Fe,Be,Ye,"P","ℙ"),De(je,Be,Ye,"P","ℙ"),De(Fe,Be,Ye,"Q","ℚ"),De(je,Be,Ye,"Q","ℚ"),De(Fe,Be,Ye,"R","ℝ"),De(je,Be,Ye,"R","ℝ"),De(Fe,Be,Ye,"Z","ℤ"),De(je,Be,Ye,"Z","ℤ"),De(Fe,Ie,He,"h","ℎ"),De(je,Ie,He,"h","ℎ");let et="";for(let lo=0;lo<$e.length;lo++){const e=$e.charAt(lo);et=String.fromCharCode(55349,56320+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56372+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56424+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56580+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56684+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56736+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56788+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56840+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56944+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),lo<26&&(et=String.fromCharCode(55349,56632+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,56476+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et))}et=String.fromCharCode(55349,56668),De(Fe,Ie,He,"k",et),De(je,Ie,Ye,"k",et);for(let lo=0;lo<10;lo++){const e=lo.toString();et=String.fromCharCode(55349,57294+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,57314+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,57324+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et),et=String.fromCharCode(55349,57334+lo),De(Fe,Ie,He,e,et),De(je,Ie,Ye,e,et)}const tt="ÐÞþ";for(let lo=0;lo<tt.length;lo++){const e=tt.charAt(lo);De(Fe,Ie,He,e,e),De(je,Ie,Ye,e,e)}const nt=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],rt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],it=function(e,t){const n=e.charCodeAt(0),i=e.charCodeAt(1),o=1024*(n-55296)+(i-56320)+65536,s="math"===t?0:1;if(119808<=o&&o<120484){const e=Math.floor((o-119808)/26);return[nt[e][2],nt[e][s]]}if(120782<=o&&o<=120831){const e=Math.floor((o-120782)/10);return[rt[e][2],rt[e][s]]}if(120485===o||120486===o)return[nt[0][2],nt[0][s]];if(120486<o&&o<120782)return["",""];throw new r("Unsupported character: "+e)},ot=function(e,t,n){return Le[n][e]&&Le[n][e].replace&&(e=Le[n][e].replace),{value:e,metrics:re(e,t,n)}},st=function(e,t,n,r,i){const o=ot(e,t,n),s=o.metrics;let a;if(e=o.value,s){let t=s.italic;("text"===n||r&&"mathit"===r.font)&&(t=0),a=new Ce(e,s.height,s.depth,t,s.skew,s.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),a=new Ce(e,0,0,0,0,0,i);if(r){a.maxFontSize=r.sizeMultiplier,r.style.isTight()&&a.classes.push("mtight");const e=r.getColor();e&&(a.style.color=e)}return a},at=function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&ot(e,"Main-Bold",t).metrics?st(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===Le[t][e].font?st(e,"Main-Regular",t,n,r):st(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},lt=function(e,t,n,r,i){return"textord"!==i&&ot(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ct=function(e,t,n){const r=e.mode,i=e.text,o=["mord"],s="math"===r||"text"===r&&t.font,a=s?t.font:t.fontFamily;let l="",c="";if(55349===i.charCodeAt(0)&&([l,c]=it(i,r)),l.length>0)return st(i,l,r,t,o.concat(c));if(a){let e,l;if("boldsymbol"===a){const s=lt(i,r,t,o,n);e=s.fontName,l=[s.fontClass]}else s?(e=St[a].fontName,l=[a]):(e=kt(a,t.fontWeight,t.fontShape),l=[a,t.fontWeight,t.fontShape]);if(ot(i,e,r).metrics)return st(i,e,r,t,o.concat(l));if(Ze.hasOwnProperty(i)&&"Typewriter"===e.slice(0,10)){const n=[];for(let s=0;s<i.length;s++)n.push(st(i[s],e,r,t,o.concat(l)));return bt(n)}}if("mathord"===n)return st(i,"Math-Italic",r,t,o.concat(["mathnormal"]));if("textord"===n){const e=Le[r][i]&&Le[r][i].font;if("ams"===e){const e=kt("amsrm",t.fontWeight,t.fontShape);return st(i,e,r,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==e&&e){const n=kt(e,t.fontWeight,t.fontShape);return st(i,n,r,t,o.concat(n,t.fontWeight,t.fontShape))}{const e=kt("textrm",t.fontWeight,t.fontShape);return st(i,e,r,t,o.concat(t.fontWeight,t.fontShape))}}throw new Error("unexpected type: "+n+" in makeOrd")},ut=(e,t)=>{if(ge(e.classes)!==ge(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){const t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},ht=e=>{for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];n instanceof Ce&&r instanceof Ce&&ut(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},dt=function(e){let t=0,n=0,r=0;for(let i=0;i<e.children.length;i++){const o=e.children[i];o.height>t&&(t=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},ft=function(e,t,n,r){const i=new xe(e,t,n,r);return dt(i),i},pt=(e,t,n,r)=>new xe(e,t,n,r),mt=function(e,t,n){const r=ft([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=me(r.height),r.maxFontSize=1,r},gt=function(e,t,n,r){const i=new we(e,t,n,r);return dt(i),i},bt=function(e){const t=new Q(e);return dt(t),t},yt=function(e,t){return e instanceof Q?ft([],[e],t):e},vt=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let i=r;for(let e=1;e<t.length;e++){const r=-t[e].shift-i-t[e].elem.depth,o=r-(t[e-1].elem.height+t[e-1].elem.depth);i+=r,n.push({type:"kern",size:o}),n.push(t[e])}return{children:n,depth:r}}let t;if("top"===e.positionType){let n=e.positionData;for(let t=0;t<e.children.length;t++){const r=e.children[t];n-="kern"===r.type?r.size:r.elem.height+r.elem.depth}t=n}else if("bottom"===e.positionType)t=-e.positionData;else{const n=e.children[0];if("elem"!==n.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)t=-n.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");t=-n.elem.depth}}return{children:e.children,depth:t}},xt=function(e,t){const{children:n,depth:r}=vt(e);let i=0;for(let f=0;f<n.length;f++){const e=n[f];if("elem"===e.type){const t=e.elem;i=Math.max(i,t.maxFontSize,t.height)}}i+=2;const o=ft(["pstrut"],[]);o.style.height=me(i);const s=[];let a=r,l=r,c=r;for(let f=0;f<n.length;f++){const e=n[f];if("kern"===e.type)c+=e.size;else{const t=e.elem,n=e.wrapperClasses||[],r=e.wrapperStyle||{},a=ft(n,[o,t],void 0,r);a.style.top=me(-i-c-t.depth),e.marginLeft&&(a.style.marginLeft=e.marginLeft),e.marginRight&&(a.style.marginRight=e.marginRight),s.push(a),c+=t.height+t.depth}a=Math.min(a,c),l=Math.max(l,c)}const u=ft(["vlist"],s);let h;if(u.style.height=me(l),a<0){const e=ft([],[]),t=ft(["vlist"],[e]);t.style.height=me(-a);const n=ft(["vlist-s"],[new Ce("")]);h=[ft(["vlist-r"],[u,n]),ft(["vlist-r"],[t])]}else h=[ft(["vlist-r"],[u])];const d=ft(["vlist-t"],h);return 2===h.length&&d.classes.push("vlist-t2"),d.height=l,d.depth=-a,d},wt=(e,t)=>{const n=ft(["mspace"],[],t),r=pe(e,t);return n.style.marginRight=me(r),n},kt=function(e,t,n){let r,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+r},St={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ct={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Tt=function(e,t){const[n,r,i]=Ct[e],o=new ze(n),s=new Te([o],{width:me(r),height:me(i),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),a=pt(["overlay"],[s],t);return a.height=i,a.style.height=me(i),a.style.width=me(r),a};var zt={fontMap:St,makeSymbol:st,mathsym:at,makeSpan:ft,makeSvgSpan:pt,makeLineSpan:mt,makeAnchor:gt,makeFragment:bt,wrapFragment:yt,makeVList:xt,makeOrd:ct,makeGlue:wt,staticSvg:Tt,svgData:Ct,tryCombineChars:ht};const At={number:3,unit:"mu"},Ot={number:4,unit:"mu"},Et={number:5,unit:"mu"},Mt={mord:{mop:At,mbin:Ot,mrel:Et,minner:At},mop:{mord:At,mop:At,mrel:Et,minner:At},mbin:{mord:Ot,mop:Ot,mopen:Ot,minner:Ot},mrel:{mord:Et,mop:Et,mopen:Et,minner:Et},mopen:{},mclose:{mop:At,mbin:Ot,mrel:Et,minner:At},mpunct:{mord:At,mop:At,mrel:Et,mopen:At,mclose:At,mpunct:At,minner:At},minner:{mord:At,mop:At,mbin:Ot,mrel:Et,mopen:At,mpunct:At,minner:At}},Nt={mord:{mop:At},mop:{mord:At,mop:At},mbin:{},mrel:{},mopen:{},mclose:{mop:At},mpunct:{},minner:{mop:At}},Rt={},Lt={},Dt={};function Ft(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:s}=e;const a={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i};for(let l=0;l<n.length;++l)Rt[n[l]]=a;t&&(o&&(Lt[t]=o),s&&(Dt[t]=s))}function jt(e){let{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Ft({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}const It=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},Bt=function(e){return"ordgroup"===e.type?e.body:[e]},_t=zt.makeSpan,qt=["leftmost","mbin","mopen","mrel","mop","mpunct"],Pt=["rightmost","mrel","mclose","mpunct"],Ut={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT},Ht={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Wt=function(e,t,n,r){void 0===r&&(r=[null,null]);const i=[];for(let c=0;c<e.length;c++){const n=Zt(e[c],t);if(n instanceof Q){const e=n.children;i.push(...e)}else i.push(n)}if(zt.tryCombineChars(i),!n)return i;let o=t;if(1===e.length){const n=e[0];"sizing"===n.type?o=t.havingSize(n.size):"styling"===n.type&&(o=t.havingStyle(Ut[n.style]))}const s=_t([r[0]||"leftmost"],[],t),a=_t([r[1]||"rightmost"],[],t),l="root"===n;return Vt(i,(e,t)=>{const n=t.classes[0],r=e.classes[0];"mbin"===n&&m.contains(Pt,r)?t.classes[0]="mord":"mbin"===r&&m.contains(qt,n)&&(e.classes[0]="mord")},{node:s},a,l),Vt(i,(e,t)=>{const n=Xt(t),r=Xt(e),i=n&&r?e.hasClass("mtight")?Nt[n][r]:Mt[n][r]:null;if(i)return zt.makeGlue(i,o)},{node:s},a,l),i},Vt=function(e,t,n,r,i){r&&e.push(r);let o=0;for(;o<e.length;o++){const r=e[o],s=Gt(r);if(s){Vt(s.children,t,n,null,i);continue}const a=!r.hasClass("mspace");if(a){const i=t(r,n.node);i&&(n.insertAfter?n.insertAfter(i):(e.unshift(i),o++))}a?n.node=r:i&&r.hasClass("newline")&&(n.node=_t(["leftmost"])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),o++})(o)}r&&e.pop()},Gt=function(e){return e instanceof Q||e instanceof we||e instanceof xe&&e.hasClass("enclosing")?e:null},Kt=function(e,t){const n=Gt(e);if(n){const e=n.children;if(e.length){if("right"===t)return Kt(e[e.length-1],"right");if("left"===t)return Kt(e[0],"left")}}return e},Xt=function(e,t){return e?(t&&(e=Kt(e,t)),Ht[e.classes[0]]||null):null},Yt=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return _t(t.concat(n))},Zt=function(e,t,n){if(!e)return _t();if(Lt[e.type]){let r=Lt[e.type](e,t);if(n&&t.size!==n.size){r=_t(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new r("Got group of unknown type: '"+e.type+"'")};function Jt(e,t){const n=_t(["base"],e,t),r=_t(["strut"]);return r.style.height=me(n.height+n.depth),n.depth&&(r.style.verticalAlign=me(-n.depth)),n.children.unshift(r),n}function Qt(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=Wt(e,t,"root");let i;2===r.length&&r[1].hasClass("tag")&&(i=r.pop());const o=[];let s,a=[];for(let c=0;c<r.length;c++)if(a.push(r[c]),r[c].hasClass("mbin")||r[c].hasClass("mrel")||r[c].hasClass("allowbreak")){let e=!1;while(c<r.length-1&&r[c+1].hasClass("mspace")&&!r[c+1].hasClass("newline"))c++,a.push(r[c]),r[c].hasClass("nobreak")&&(e=!0);e||(o.push(Jt(a,t)),a=[])}else r[c].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(Jt(a,t)),a=[]),o.push(r[c]));a.length>0&&o.push(Jt(a,t)),n?(s=Jt(Wt(n,t,!0)),s.classes=["tag"],o.push(s)):i&&o.push(i);const l=_t(["katex-html"],o);if(l.setAttribute("aria-hidden","true"),s){const e=s.children[0];e.style.height=me(l.height+l.depth),l.depth&&(e.style.verticalAlign=me(-l.depth))}return l}function $t(e){return new Q(e)}class en{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=ge(this.classes));for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="<"+this.type;for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=m.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+m.escape(ge(this.classes))+'"'),e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class tn{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return m.escape(this.toText())}toText(){return this.text}}class nn{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?" ":e>=-.05556&&e<=-.05555?" ":e>=-.1667&&e<=-.1666?" ":e>=-.2223&&e<=-.2222?" ":e>=-.2778&&e<=-.2777?" ":null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",me(this.width)),e}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+me(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var rn={MathNode:en,TextNode:tn,SpaceNode:nn,newDocumentFragment:$t};const on=function(e,t,n){return!Le[t][e]||!Le[t][e].replace||55349===e.charCodeAt(0)||Ze.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=Le[t][e].replace),new rn.TextNode(e)},sn=function(e){return 1===e.length?e[0]:new rn.MathNode("mrow",e)},an=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.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";let i=e.text;if(m.contains(["\\imath","\\jmath"],i))return null;Le[r][i]&&Le[r][i].replace&&(i=Le[r][i].replace);const o=zt.fontMap[n].fontName;return re(i,o,r)?zt.fontMap[n].variant:null},ln=function(e,t,n){if(1===e.length){const r=un(e[0],t);return n&&r instanceof en&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let i;for(let o=0;o<e.length;o++){const n=un(e[o],t);if(n instanceof en&&i instanceof en){if("mtext"===n.type&&"mtext"===i.type&&n.getAttribute("mathvariant")===i.getAttribute("mathvariant")){i.children.push(...n.children);continue}if("mn"===n.type&&"mn"===i.type){i.children.push(...n.children);continue}if("mi"===n.type&&1===n.children.length&&"mn"===i.type){const e=n.children[0];if(e instanceof tn&&"."===e.text){i.children.push(...n.children);continue}}else if("mi"===i.type&&1===i.children.length){const e=i.children[0];if(e instanceof tn&&"̸"===e.text&&("mo"===n.type||"mi"===n.type||"mn"===n.type)){const e=n.children[0];e instanceof tn&&e.text.length>0&&(e.text=e.text.slice(0,1)+"̸"+e.text.slice(1),r.pop())}}}r.push(n),i=n}return r},cn=function(e,t,n){return sn(ln(e,t,n))},un=function(e,t){if(!e)return new rn.MathNode("mrow");if(Dt[e.type]){const n=Dt[e.type](e,t);return n}throw new r("Got group of unknown type: '"+e.type+"'")};function hn(e,t,n,r,i){const o=ln(e,n);let s;s=1===o.length&&o[0]instanceof en&&m.contains(["mrow","mtable"],o[0].type)?o[0]:new rn.MathNode("mrow",o);const a=new rn.MathNode("annotation",[new rn.TextNode(t)]);a.setAttribute("encoding","application/x-tex");const l=new rn.MathNode("semantics",[s,a]),c=new rn.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");const u=i?"katex":"katex-mathml";return zt.makeSpan([u],[c])}const dn=function(e){return new ue({style:e.displayMode?F.DISPLAY:F.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},fn=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=zt.makeSpan(n,[e])}return e},pn=function(e,t,n){const r=dn(n);let i;if("mathml"===n.output)return hn(e,t,r,n.displayMode,!0);if("html"===n.output){const t=Qt(e,r);i=zt.makeSpan(["katex"],[t])}else{const o=hn(e,t,r,n.displayMode,!1),s=Qt(e,r);i=zt.makeSpan(["katex"],[o,s])}return fn(i,n)},mn=function(e,t,n){const r=dn(n),i=Qt(e,r),o=zt.makeSpan(["katex"],[i]);return fn(o,n)};const gn={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":"="},bn=function(e){const t=new rn.MathNode("mo",[new rn.TextNode(gn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},yn={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]},vn=function(e){return"ordgroup"===e.type?e.body.length:1},xn=function(e,t){function n(){let n=4e5;const r=e.label.slice(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],r)){const i=e,o=vn(i.base);let s,a,l;if(o>5)"widehat"===r||"widecheck"===r?(s=420,n=2364,l=.42,a=r+"4"):(s=312,n=2340,l=.34,a="tilde4");else{const e=[1,1,2,2,3,3][o];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],s=[0,239,300,360,420][e],l=[0,.24,.3,.3,.36,.42][e],a=r+e):(n=[0,600,1033,2339,2340][e],s=[0,260,286,306,312][e],l=[0,.26,.286,.3,.306,.34][e],a="tilde"+e)}const c=new ze(a),u=new Te([c],{width:"100%",height:me(l),viewBox:"0 0 "+n+" "+s,preserveAspectRatio:"none"});return{span:zt.makeSvgSpan([],[u],t),minWidth:0,height:l}}{const e=[],i=yn[r],[o,s,a]=i,l=a/1e3,c=o.length;let u,h;if(1===c){const e=i[3];u=["hide-tail"],h=[e]}else if(2===c)u=["halfarrow-left","halfarrow-right"],h=["xMinYMin","xMaxYMin"];else{if(3!==c)throw new Error("Correct katexImagesData or update code here to support\n "+c+" children.");u=["brace-left","brace-center","brace-right"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r<c;r++){const i=new ze(o[r]),d=new Te([i],{width:"400em",height:me(l),viewBox:"0 0 "+n+" "+a,preserveAspectRatio:h[r]+" slice"}),f=zt.makeSvgSpan([u[r]],[d],t);if(1===c)return{span:f,minWidth:s,height:l};f.style.height=me(l),e.push(f)}return{span:zt.makeSpan(["stretchy"],e,t),minWidth:s,height:l}}}const{span:r,minWidth:i,height:o}=n();return r.height=o,r.style.height=me(o),i>0&&(r.style.minWidth=me(i)),r},wn=function(e,t,n,r,i){let o;const s=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(o=zt.makeSpan(["stretchy",t],[],i),"fbox"===t){const e=i.color&&i.getColor();e&&(o.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new Ae({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new Ae({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new Te(e,{width:"100%",height:me(s)});o=zt.makeSvgSpan([],[n],i)}return o.height=s,o.style.height=me(s),o};var kn={encloseSpan:wn,mathMLnode:bn,svgSpan:xn};function Sn(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Cn(e){const t=Tn(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Tn(e){return e&&("atom"===e.type||Ne.hasOwnProperty(e.type))?e:null}const zn=(e,t)=>{let n,r,i;e&&"supsub"===e.type?(r=Sn(e.base,"accent"),n=r.base,e.base=n,i=Ee(Zt(e,t)),e.base=r):(r=Sn(e,"accent"),n=r.base);const o=Zt(n,t.havingCrampedStyle()),s=r.isShifty&&m.isCharacterBox(n);let a=0;if(s){const e=m.getBaseElem(n),r=Zt(e,t.havingCrampedStyle());a=Oe(r).skew}const l="\\c"===r.label;let c,u=l?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight);if(r.isStretchy)c=kn.svgSpan(r,t),c=zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+me(2*a)+")",marginLeft:me(2*a)}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=zt.staticSvg("vec",t),n=zt.svgData.vec[1]):(e=zt.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=Oe(e),e.italic=0,n=e.width,l&&(u+=e.depth)),c=zt.makeSpan(["accent-body"],[e]);const i="\\textcircled"===r.label;i&&(c.classes.push("accent-full"),u=o.height);let s=a;i||(s-=n/2),c.style.left=me(s),"\\textcircled"===r.label&&(c.style.top=".2em"),c=zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-u},{type:"elem",elem:c}]},t)}const h=zt.makeSpan(["mord","accent"],[c],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]="mord",i):h},An=(e,t)=>{const n=e.isStretchy?kn.mathMLnode(e.label):new rn.MathNode("mo",[on(e.label,e.mode)]),r=new rn.MathNode("mover",[un(e.base,t),n]);return r.setAttribute("accent","true"),r},On=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Ft({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:(e,t)=>{const n=It(t[0]),r=!On.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:zn,mathmlBuilder:An}),Ft({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{const n=t[0];let r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:zn,mathmlBuilder:An}),Ft({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{const n=Zt(e.base,t),r=kn.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=zt.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return zt.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:(e,t)=>{const n=kn.mathMLnode(e.label),r=new rn.MathNode("munder",[un(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const En=e=>{const t=new rn.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ft({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(e,t,n){let{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const i=zt.wrapFragment(Zt(e.body,r,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";let s;i.classes.push(o+"-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),s=zt.wrapFragment(Zt(e.below,r,t),t),s.classes.push(o+"-arrow-pad"));const a=kn.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*a.height;let c,u=-t.fontMetrics().axisHeight-.5*a.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),s){const e=-t.fontMetrics().axisHeight+s.height+.5*a.height+.111;c=zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:a,shift:l},{type:"elem",elem:s,shift:e}]},t)}else c=zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:a,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),zt.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){const n=kn.mathMLnode(e.label);let r;if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){const i=En(un(e.body,t));if(e.below){const o=En(un(e.below,t));r=new rn.MathNode("munderover",[n,o,i])}else r=new rn.MathNode("mover",[n,i])}else if(e.below){const i=En(un(e.below,t));r=new rn.MathNode("munder",[n,i])}else r=En(),r=new rn.MathNode("mover",[n,r]);return r}});const Mn=zt.makeSpan;function Nn(e,t){const n=Wt(e.body,t,!0);return Mn([e.mclass],n,t)}function Rn(e,t){let n;const r=ln(e.body,t);return"minner"===e.mclass?n=new rn.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new rn.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new rn.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Ft({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Bt(i),isCharacterBox:m.isCharacterBox(i)}},htmlBuilder:Nn,mathmlBuilder:Rn});const Ln=e=>{const t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Ft({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){let{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Ln(t[0]),body:Bt(t[1]),isCharacterBox:m.isCharacterBox(t[1])}}}),Ft({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let{parser:n,funcName:r}=e;const i=t[1],o=t[0];let s;s="\\stackrel"!==r?Ln(i):"mrel";const a={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Bt(i)},l={type:"supsub",mode:o.mode,base:a,sup:"\\underset"===r?null:o,sub:"\\underset"===r?o:null};return{type:"mclass",mode:n.mode,mclass:s,body:[l],isCharacterBox:m.isCharacterBox(l)}},htmlBuilder:Nn,mathmlBuilder:Rn}),Ft({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Ln(t[0]),body:Bt(t[0])}},htmlBuilder(e,t){const n=Wt(e.body,t,!0),r=zt.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){const n=ln(e.body,t),r=new rn.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});const Dn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Fn=()=>({type:"styling",body:[],mode:"math",style:"display"}),jn=e=>"textord"===e.type&&"@"===e.text,In=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function Bn(e,t,n){const r=Dn[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{const e=n.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[i],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),a={type:"ordgroup",mode:"math",body:[e,o,s]};return n.callFunction("\\\\cdparent",[a],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const e={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[e],[])}default:return{type:"textord",text:" ",mode:"math"}}}function _n(e){const t=[];e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();while(1){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();const n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}let n=[];const i=[n];for(let s=0;s<t.length;s++){const o=t[s];let a=Fn();for(let t=0;t<o.length;t++)if(jn(o[t])){n.push(a),t+=1;const i=Cn(o[t]).text,s=new Array(2);if(s[0]={type:"ordgroup",mode:"math",body:[]},s[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(i)>-1);else{if(!("<>AV".indexOf(i)>-1))throw new r('Expected one of "<>AV=|." after @',o[t]);for(let e=0;e<2;e++){let n=!0;for(let a=t+1;a<o.length;a++){if(In(o[a],i)){n=!1,t=a;break}if(jn(o[a]))throw new r("Missing a "+i+" character to complete a CD arrow.",o[a]);s[e].body.push(o[a])}if(n)throw new r("Missing a "+i+" character to complete a CD arrow.",o[t])}}const l=Bn(i,s,e),c={type:"styling",body:[l],mode:"math",style:"display"};n.push(c),a=Fn()}else a.body.push(o[t]);s%2===0?n.push(a):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();const o=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:o,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}Ft({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){const n=t.havingStyle(t.style.sup()),r=zt.wrapFragment(Zt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=me(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){let n=new rn.MathNode("mrow",[un(e.label,t)]);return n=new rn.MathNode("mpadded",[n]),n.setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new rn.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),Ft({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){let{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){const n=zt.wrapFragment(Zt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new rn.MathNode("mrow",[un(e.fragment,t)])}}),Ft({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;const i=Sn(t[0],"ordgroup"),o=i.body;let s="";for(let r=0;r<o.length;r++){const e=Sn(o[r],"textord");s+=e.text}let a,l=parseInt(s);if(isNaN(l))throw new r("\\@char has non-numeric argument "+s);if(l<0||l>=1114111)throw new r("\\@char with invalid code point "+s);return l<=65535?a=String.fromCharCode(l):(l-=65536,a=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:n.mode,text:a}}});const qn=(e,t)=>{const n=Wt(e.body,t.withColor(e.color),!1);return zt.makeFragment(n)},Pn=(e,t)=>{const n=ln(e.body,t.withColor(e.color)),r=new rn.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Ft({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){let{parser:n}=e;const r=Sn(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Bt(i)}},htmlBuilder:qn,mathmlBuilder:Pn}),Ft({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){let{parser:n,breakOnTokenText:r}=e;const i=Sn(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);const o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:qn,mathmlBuilder:Pn}),Ft({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){let{parser:r}=e;const i="["===r.gullet.future().text?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:i&&Sn(i,"size").value}},htmlBuilder(e,t){const n=zt.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=me(pe(e.size,t)))),n},mathmlBuilder(e,t){const n=new rn.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",me(pe(e.size,t)))),n}});const Un={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Hn=e=>{const t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},Wn=e=>{let t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t},Vn=(e,t,n,r)=>{let i=e.gullet.macros.get(n.text);null==i&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Ft({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t,funcName:n}=e;t.consumeSpaces();const i=t.fetch();if(Un[i.text])return"\\global"!==n&&"\\\\globallong"!==n||(i.text=Un[i.text]),Sn(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",i)}}),Ft({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e,i=t.gullet.popToken();const o=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new r("Expected a control sequence",i);let s,a=0;const l=[[]];while("{"!==t.gullet.future().text)if(i=t.gullet.popToken(),"#"===i.text){if("{"===t.gullet.future().text){s=t.gullet.future(),l[a].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new r('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==a+1)throw new r('Argument number "'+i.text+'" out of order');a++,l.push([])}else{if("EOF"===i.text)throw new r("Expected a macro definition");l[a].push(i.text)}let{tokens:c}=t.gullet.consumeArg();return s&&c.unshift(s),"\\edef"!==n&&"\\xdef"!==n||(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(o,{tokens:c,numArgs:a,delimiters:l},n===Un[n]),{type:"internal",mode:t.mode}}}),Ft({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Hn(t.gullet.popToken());t.gullet.consumeSpaces();const i=Wn(t);return Vn(t,r,i,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Ft({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Hn(t.gullet.popToken()),i=t.gullet.popToken(),o=t.gullet.popToken();return Vn(t,r,o,"\\\\globalfuture"===n),t.gullet.pushToken(o),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});const Gn=function(e,t,n){const r=Le.math[e]&&Le.math[e].replace,i=re(r||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},Kn=function(e,t,n,r){const i=n.havingBaseStyle(t),o=zt.makeSpan(r.concat(i.sizingClasses(n)),[e],n),s=i.sizeMultiplier/n.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=i.sizeMultiplier,o},Xn=function(e,t,n){const r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=me(i),e.height-=i,e.depth+=i},Yn=function(e,t,n,r,i,o){const s=zt.makeSymbol(e,"Main-Regular",i,r),a=Kn(s,t,r,o);return n&&Xn(a,r,t),a},Zn=function(e,t,n,r){return zt.makeSymbol(e,"Size"+t+"-Regular",n,r)},Jn=function(e,t,n,r,i,o){const s=Zn(e,t,i,r),a=Kn(zt.makeSpan(["delimsizing","size"+t],[s],r),F.TEXT,r,o);return n&&Xn(a,r,F.TEXT),a},Qn=function(e,t,n){let r;r="Size1-Regular"===t?"delim-size1":"delim-size4";const i=zt.makeSpan(["delimsizinginner",r],[zt.makeSpan([],[zt.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},$n=function(e,t,n){const r=$["Size4-Regular"][e.charCodeAt(0)]?$["Size4-Regular"][e.charCodeAt(0)][4]:$["Size1-Regular"][e.charCodeAt(0)][4],i=new ze("inner",Y(e,Math.round(1e3*t))),o=new Te([i],{width:me(r),height:me(t),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),s=zt.makeSvgSpan([],[o],n);return s.height=t,s.style.height=me(t),s.style.width=me(r),{type:"elem",elem:s}},er=.008,tr={type:"kern",size:-1*er},nr=["|","\\lvert","\\rvert","\\vert"],rr=["\\|","\\lVert","\\rVert","\\Vert"],ir=function(e,t,n,r,i,o){let s,a,l,c,u="",h=0;s=l=c=e,a=null;let d="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?s=l="⏐":"\\Downarrow"===e?s=l="‖":"\\updownarrow"===e?(s="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(s="\\Uparrow",l="‖",c="\\Downarrow"):m.contains(nr,e)?(l="∣",u="vert",h=333):m.contains(rr,e)?(l="∥",u="doublevert",h=556):"["===e||"\\lbrack"===e?(s="⎡",l="⎢",c="⎣",d="Size4-Regular",u="lbrack",h=667):"]"===e||"\\rbrack"===e?(s="⎤",l="⎥",c="⎦",d="Size4-Regular",u="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(l=s="⎢",c="⎣",d="Size4-Regular",u="lfloor",h=667):"\\lceil"===e||"⌈"===e?(s="⎡",l=c="⎢",d="Size4-Regular",u="lceil",h=667):"\\rfloor"===e||"⌋"===e?(l=s="⎥",c="⎦",d="Size4-Regular",u="rfloor",h=667):"\\rceil"===e||"⌉"===e?(s="⎤",l=c="⎥",d="Size4-Regular",u="rceil",h=667):"("===e||"\\lparen"===e?(s="⎛",l="⎜",c="⎝",d="Size4-Regular",u="lparen",h=875):")"===e||"\\rparen"===e?(s="⎞",l="⎟",c="⎠",d="Size4-Regular",u="rparen",h=875):"\\{"===e||"\\lbrace"===e?(s="⎧",a="⎨",c="⎩",l="⎪",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(s="⎫",a="⎬",c="⎭",l="⎪",d="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(s="⎧",c="⎩",l="⎪",d="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(s="⎫",c="⎭",l="⎪",d="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(s="⎧",c="⎭",l="⎪",d="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(s="⎫",c="⎩",l="⎪",d="Size4-Regular");const f=Gn(s,d,i),p=f.height+f.depth,g=Gn(l,d,i),b=g.height+g.depth,y=Gn(c,d,i),v=y.height+y.depth;let x=0,w=1;if(null!==a){const e=Gn(a,d,i);x=e.height+e.depth,w=2}const k=p+v+x,S=Math.max(0,Math.ceil((t-k)/(w*b))),C=k+S*w*b;let T=r.fontMetrics().axisHeight;n&&(T*=r.sizeMultiplier);const z=C/2-T,A=[];if(u.length>0){const e=C-p-v,t=Math.round(1e3*C),n=J(u,Math.round(1e3*e)),i=new ze(u,n),o=(h/1e3).toFixed(3)+"em",s=(t/1e3).toFixed(3)+"em",a=new Te([i],{width:o,height:s,viewBox:"0 0 "+h+" "+t}),l=zt.makeSvgSpan([],[a],r);l.height=t/1e3,l.style.width=o,l.style.height=s,A.push({type:"elem",elem:l})}else{if(A.push(Qn(c,d,i)),A.push(tr),null===a){const e=C-p-v+2*er;A.push($n(l,e,r))}else{const e=(C-p-v-x)/2+2*er;A.push($n(l,e,r)),A.push(tr),A.push(Qn(a,d,i)),A.push(tr),A.push($n(l,e,r))}A.push(tr),A.push(Qn(s,d,i))}const O=r.havingBaseStyle(F.TEXT),E=zt.makeVList({positionType:"bottom",positionData:z,children:A},O);return Kn(zt.makeSpan(["delimsizing","mult"],[E],O),F.TEXT,r,o)},or=80,sr=.08,ar=function(e,t,n,r,i){const o=X(e,r,n),s=new ze(e,o),a=new Te([s],{width:"400em",height:me(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return zt.makeSvgSpan(["hide-tail"],[a],i)},lr=function(e,t){const n=t.havingBaseSizing(),r=yr("\\surd",e*n.sizeMultiplier,gr,n);let i=n.sizeMultiplier;const o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let s,a,l=0,c=0,u=0;return"small"===r.type?(u=1e3+1e3*o+or,e<1?i=1:e<1.4&&(i=.7),l=(1+o+sr)/i,c=(1+o)/i,s=ar("sqrtMain",l,u,o,t),s.style.minWidth="0.853em",a=.833/i):"large"===r.type?(u=(1e3+or)*dr[r.size],c=(dr[r.size]+o)/i,l=(dr[r.size]+o+sr)/i,s=ar("sqrtSize"+r.size,l,u,o,t),s.style.minWidth="1.02em",a=1/i):(l=e+o+sr,c=e+o,u=Math.floor(1e3*e+o)+or,s=ar("sqrtTall",l,u,o,t),s.style.minWidth="0.742em",a=1.056),s.height=c,s.style.height=me(l),{span:s,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*i}},cr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],ur=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],hr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],dr=[0,1.2,1.8,2.4,3],fr=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m.contains(cr,e)||m.contains(hr,e))return Jn(e,t,!1,n,i,o);if(m.contains(ur,e))return ir(e,dr[t],!1,n,i,o);throw new r("Illegal delimiter: '"+e+"'")},pr=[{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}],mr=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],gr=[{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"}],br=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},yr=function(e,t,n,r){const i=Math.min(2,3-r.style.size);for(let o=i;o<n.length;o++){if("stack"===n[o].type)break;const i=Gn(e,br(n[o]),"math");let s=i.height+i.depth;if("small"===n[o].type){const e=r.havingBaseStyle(n[o].style);s*=e.sizeMultiplier}if(s>t)return n[o]}return n[n.length-1]},vr=function(e,t,n,r,i,o){let s;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),s=m.contains(hr,e)?pr:m.contains(cr,e)?gr:mr;const a=yr(e,t,s,r);return"small"===a.type?Yn(e,a.style,n,r,i,o):"large"===a.type?Jn(e,a.size,n,r,i,o):ir(e,t,n,r,i,o)},xr=function(e,t,n,r,i,o){const s=r.fontMetrics().axisHeight*r.sizeMultiplier,a=901,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-s,n+s),u=Math.max(c/500*a,2*c-l);return vr(e,u,!0,r,i,o)};var wr={sqrtImage:lr,sizedDelim:fr,sizeToMaxHeight:dr,customSizedDelim:vr,leftRightDelim:xr};const kr={"\\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}},Sr=["(","\\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 Cr(e,t){const n=Tn(e);if(n&&m.contains(Sr,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Tr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ft({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:(e,t)=>{const n=Cr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:kr[e.funcName].size,mclass:kr[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?zt.makeSpan([e.mclass]):wr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(on(e.delim,e.mode));const n=new rn.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");const r=me(wr.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),Ft({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Cr(t[0],e).text,color:n}}}),Ft({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Cr(t[0],e),r=e.parser;++r.leftrightDepth;const i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const o=Sn(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,t)=>{Tr(e);const n=Wt(e.body,t,!0,["mopen","mclose"]);let r,i,o=0,s=0,a=!1;for(let l=0;l<n.length;l++)n[l].isMiddle?a=!0:(o=Math.max(n[l].height,o),s=Math.max(n[l].depth,s));if(o*=t.sizeMultiplier,s*=t.sizeMultiplier,r="."===e.left?Yt(t,["mopen"]):wr.leftRightDelim(e.left,o,s,t,e.mode,["mopen"]),n.unshift(r),a)for(let l=1;l<n.length;l++){const t=n[l],r=t.isMiddle;r&&(n[l]=wr.leftRightDelim(r.delim,o,s,r.options,e.mode,[]))}if("."===e.right)i=Yt(t,["mclose"]);else{const n=e.rightColor?t.withColor(e.rightColor):t;i=wr.leftRightDelim(e.right,o,s,n,e.mode,["mclose"])}return n.push(i),zt.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{Tr(e);const n=ln(e.body,t);if("."!==e.left){const t=new rn.MathNode("mo",[on(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new rn.MathNode("mo",[on(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return sn(n)}}),Ft({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=Cr(t[0],e);if(!e.parser.leftrightDepth)throw new r("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=Yt(t,[]);else{n=wr.sizedDelim(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?on("|","text"):on(e.delim,e.mode),r=new rn.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const zr=(e,t)=>{const n=zt.wrapFragment(Zt(e.body,t),t),r=e.label.slice(1);let i,o=t.sizeMultiplier,s=0;const a=m.isCharacterBox(e.body);if("sout"===r)i=zt.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/o,s=-.5*t.fontMetrics().xHeight;else if("phase"===r){const e=pe({number:.6,unit:"pt"},t),r=pe({number:.35,unit:"ex"},t),a=t.havingBaseSizing();o/=a.sizeMultiplier;const l=n.height+n.depth+e+r;n.style.paddingLeft=me(l/2+e);const c=Math.floor(1e3*l*o),u=G(c),h=new Te([new ze("phase",u)],{width:"400em",height:me(c/1e3),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"});i=zt.makeSvgSpan(["hide-tail"],[h],t),i.style.height=me(l),s=n.depth+e+r}else{/cancel/.test(r)?a||n.classes.push("cancel-pad"):"angl"===r?n.classes.push("anglpad"):n.classes.push("boxpad");let o=0,l=0,c=0;/box/.test(r)?(c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),o=t.fontMetrics().fboxsep+("colorbox"===r?0:c),l=o):"angl"===r?(c=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),o=4*c,l=Math.max(0,.25-n.depth)):(o=a?.2:0,l=o),i=kn.encloseSpan(n,r,o,l,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=me(c)):"angl"===r&&.049!==c&&(i.style.borderTopWidth=me(c),i.style.borderRightWidth=me(c)),s=n.depth+l,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}let l;if(e.backgroundColor)l=zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:n,shift:0}]},t);else{const e=/cancel|phase/.test(r)?["svg-align"]:[];l=zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:e}]},t)}return/cancel/.test(r)&&(l.height=n.height,l.depth=n.depth),/cancel/.test(r)&&!a?zt.makeSpan(["mord","cancel-lap"],[l],t):zt.makeSpan(["mord"],[l],t)},Ar=(e,t)=>{let n=0;const r=new rn.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[un(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Ft({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const o=Sn(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:s}},htmlBuilder:zr,mathmlBuilder:Ar}),Ft({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const o=Sn(t[0],"color-token").color,s=Sn(t[1],"color-token").color,a=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:zr,mathmlBuilder:Ar}),Ft({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Ft({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:zr,mathmlBuilder:Ar}),Ft({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});const Or={};function Er(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:s}=e;const a={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i};for(let l=0;l<n.length;++l)Or[n[l]]=a;o&&(Lt[t]=o),s&&(Dt[t]=s)}const Mr={};function Nr(e,t){Mr[e]=t}class Rr{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new Rr(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class Lr{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new Lr(t,Rr.range(this,e))}}function Dr(e){const t=[];e.consumeSpaces();let n=e.fetch().text;"\\relax"===n&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);while("\\hline"===n||"\\hdashline"===n)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}const Fr=e=>{const t=e.parser.settings;if(!t.displayMode)throw new r("{"+e.envName+"} can be used only in display mode.")};function jr(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Ir(e,t,n){let{hskipBeforeAndAfter:i,addJot:o,cols:s,arraystretch:a,colSeparationType:l,autoTag:c,singleRow:u,emptySingleRow:h,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)a=1;else if(a=parseFloat(t),!a||a<0)throw new r("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let p=[];const m=[p],g=[],b=[],y=null!=c?[]:void 0;function v(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new Lr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(c)&&"1"===e.gullet.macros.get("\\@eqnsw")))}v(),b.push(Dr(e));while(1){let t=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),p.push(t);const i=e.fetch().text;if("&"===i){if(d&&p.length===d){if(u||l)throw new r("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===i){x(),1===p.length&&"styling"===t.type&&0===t.body[0].body.length&&(m.length>1||!h)&&m.pop(),b.length<m.length+1&&b.push([]);break}if("\\\\"!==i)throw new r("Expected & or \\\\ or \\cr or \\end",e.nextToken);{let t;e.consume()," "!==e.gullet.future().text&&(t=e.parseSizeGroup(!0)),g.push(t?t.value:null),x(),b.push(Dr(e)),p=[],m.push(p),v()}}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:a,body:m,cols:s,rowGaps:g,hskipBeforeAndAfter:i,hLinesBeforeRow:b,colSeparationType:l,tags:y,leqno:f}}function Br(e){return"d"===e.slice(0,1)?"display":"text"}const _r=function(e,t){let n,i;const o=e.body.length,s=e.hLinesBeforeRow;let a=0,l=new Array(o);const c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),h=1/t.fontMetrics().ptPerEm;let d=5*h;if(e.colSeparationType&&"small"===e.colSeparationType){const e=t.havingStyle(F.SCRIPT).sizeMultiplier;d=e/t.sizeMultiplier*.2778}const f="CD"===e.colSeparationType?pe({number:3,unit:"ex"},t):12*h,p=3*h,g=e.arraystretch*f,b=.7*g,y=.3*g;let v=0;function x(e){for(let t=0;t<e.length;++t)t>0&&(v+=.25),c.push({pos:v,isDashed:e[t]})}for(x(s[0]),n=0;n<e.body.length;++n){const r=e.body[n];let o=b,c=y;a<r.length&&(a=r.length);const u=new Array(r.length);for(i=0;i<r.length;++i){const e=Zt(r[i],t);c<e.depth&&(c=e.depth),o<e.height&&(o=e.height),u[i]=e}const h=e.rowGaps[n];let d=0;h&&(d=pe(h,t),d>0&&(d+=y,c<d&&(c=d),d=0)),e.addJot&&(c+=p),u.height=o,u.depth=c,v+=o,u.pos=v,v+=c+d,l[n]=u,x(s[n+1])}const w=v/2+t.fontMetrics().axisHeight,k=e.cols||[],S=[];let C,T;const z=[];if(e.tags&&e.tags.some(e=>e))for(n=0;n<o;++n){const r=l[n],i=r.pos-w,o=e.tags[n];let s;s=!0===o?zt.makeSpan(["eqn-num"],[],t):!1===o?zt.makeSpan([],[],t):zt.makeSpan([],Wt(o,t,!0),t),s.depth=r.depth,s.height=r.height,z.push({type:"elem",elem:s,shift:i})}for(i=0,T=0;i<a||T<k.length;++i,++T){let s,c=k[T]||{},h=!0;while("separator"===c.type){if(h||(C=zt.makeSpan(["arraycolsep"],[]),C.style.width=me(t.fontMetrics().doubleRuleSep),S.push(C)),"|"!==c.separator&&":"!==c.separator)throw new r("Invalid separator type: "+c.separator);{const e="|"===c.separator?"solid":"dashed",n=zt.makeSpan(["vertical-separator"],[],t);n.style.height=me(v),n.style.borderRightWidth=me(u),n.style.borderRightStyle=e,n.style.margin="0 "+me(-u/2);const r=v-w;r&&(n.style.verticalAlign=me(-r)),S.push(n)}T++,c=k[T]||{},h=!1}if(i>=a)continue;(i>0||e.hskipBeforeAndAfter)&&(s=m.deflt(c.pregap,d),0!==s&&(C=zt.makeSpan(["arraycolsep"],[]),C.style.width=me(s),S.push(C)));let f=[];for(n=0;n<o;++n){const e=l[n],t=e[i];if(!t)continue;const r=e.pos-w;t.depth=e.depth,t.height=e.height,f.push({type:"elem",elem:t,shift:r})}f=zt.makeVList({positionType:"individualShift",children:f},t),f=zt.makeSpan(["col-align-"+(c.align||"c")],[f]),S.push(f),(i<a-1||e.hskipBeforeAndAfter)&&(s=m.deflt(c.postgap,d),0!==s&&(C=zt.makeSpan(["arraycolsep"],[]),C.style.width=me(s),S.push(C)))}if(l=zt.makeSpan(["mtable"],S),c.length>0){const e=zt.makeLineSpan("hline",t,u),n=zt.makeLineSpan("hdashline",t,u),r=[{type:"elem",elem:l,shift:0}];while(c.length>0){const t=c.pop(),i=t.pos-w;t.isDashed?r.push({type:"elem",elem:n,shift:i}):r.push({type:"elem",elem:e,shift:i})}l=zt.makeVList({positionType:"individualShift",children:r},t)}if(0===z.length)return zt.makeSpan(["mord"],[l],t);{let e=zt.makeVList({positionType:"individualShift",children:z},t);return e=zt.makeSpan(["tag"],[e],t),zt.makeFragment([l,e])}},qr={c:"center ",l:"left ",r:"right "},Pr=function(e,t){const n=[],r=new rn.MathNode("mtd",[],["mtr-glue"]),i=new rn.MathNode("mtd",[],["mml-eqn-num"]);for(let h=0;h<e.body.length;h++){const o=e.body[h],s=[];for(let e=0;e<o.length;e++)s.push(new rn.MathNode("mtd",[un(o[e],t)]));e.tags&&e.tags[h]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new rn.MathNode("mtr",s))}let o=new rn.MathNode("mtable",n);const s=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);o.setAttribute("rowspacing",me(s));let a="",l="";if(e.cols&&e.cols.length>0){const t=e.cols;let n="",r=!1,i=0,s=t.length;"separator"===t[0].type&&(a+="top ",i=1),"separator"===t[t.length-1].type&&(a+="bottom ",s-=1);for(let e=i;e<s;e++)"align"===t[e].type?(l+=qr[t[e].align],r&&(n+="none "),r=!0):"separator"===t[e].type&&r&&(n+="|"===t[e].separator?"solid ":"dashed ",r=!1);o.setAttribute("columnalign",l.trim()),/[sd]/.test(n)&&o.setAttribute("columnlines",n.trim())}if("align"===e.colSeparationType){const t=e.cols||[];let n="";for(let e=1;e<t.length;e++)n+=e%2?"0em ":"1em ";o.setAttribute("columnspacing",n.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?o.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?o.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?o.setAttribute("columnspacing","0.5em"):o.setAttribute("columnspacing","1em");let c="";const u=e.hLinesBeforeRow;a+=u[0].length>0?"left ":"",a+=u[u.length-1].length>0?"right ":"";for(let h=1;h<u.length-1;h++)c+=0===u[h].length?"none ":u[h][0]?"dashed ":"solid ";return/[sd]/.test(c)&&o.setAttribute("rowlines",c.trim()),""!==a&&(o=new rn.MathNode("menclose",[o]),o.setAttribute("notation",a.trim())),e.arraystretch&&e.arraystretch<1&&(o=new rn.MathNode("mstyle",[o]),o.setAttribute("scriptlevel","1")),o},Ur=function(e,t){-1===e.envName.indexOf("ed")&&Fr(e);const n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",o="split"===e.envName,s=Ir(e.parser,{cols:n,addJot:!0,autoTag:o?void 0:jr(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display");let a,l=0;const c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){let e="";for(let n=0;n<t[0].body.length;n++){const r=Sn(t[0].body[n],"textord");e+=r.text}a=Number(e),l=2*a}const u=!l;s.body.forEach((function(e){for(let t=1;t<e.length;t+=2){const n=Sn(e[t],"styling"),r=Sn(n.body[0],"ordgroup");r.body.unshift(c)}if(u)l<e.length&&(l=e.length);else{const t=e.length/2;if(a<t)throw new r("Too many math in a row: expected "+a+", but got "+t,e[0])}}));for(let r=0;r<l;++r){let e="r",t=0;r%2===1?e="l":r>0&&u&&(t=1),n[r]={type:"align",align:e,pregap:t,postgap:0}}return s.colSeparationType=u?"align":"alignat",s};Er({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n=Tn(t[0]),i=n?[t[0]]:Sn(t[0],"ordgroup").body,o=i.map((function(e){const t=Cn(e),n=t.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 r("Unknown column alignment: "+n,e)})),s={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return Ir(e.parser,s,Br(e.envName))},htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")];let n="c";const i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){const t=e.parser;if(t.consumeSpaces(),"["===t.fetch().text){if(t.consume(),t.consumeSpaces(),n=t.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",t.nextToken);t.consume(),t.consumeSpaces(),t.expect("]"),t.consume(),i.cols=[{type:"align",align:n}]}}const o=Ir(e.parser,i,Br(e.envName)),s=Math.max(0,...o.body.map(e=>e.length));return o.cols=new Array(s).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t={arraystretch:.5},n=Ir(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=Tn(t[0]),i=n?[t[0]]:Sn(t[0],"ordgroup").body,o=i.map((function(e){const t=Cn(e),n=t.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new r("Unknown column alignment: "+n,e)}));if(o.length>1)throw new r("{subarray} can contain only one column");let s={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=Ir(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new r("{subarray} can contain only one column");return s},htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){const t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Ir(e.parser,t,Br(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ur,htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m.contains(["gather","gather*"],e.envName)&&Fr(e);const t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:jr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Ir(e.parser,t,"display")},htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ur,htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Fr(e);const t={autoTag:jr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Ir(e.parser,t,"display")},htmlBuilder:_r,mathmlBuilder:Pr}),Er({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Fr(e),_n(e.parser)},htmlBuilder:_r,mathmlBuilder:Pr}),Nr("\\nonumber","\\gdef\\@eqnsw{0}"),Nr("\\notag","\\nonumber"),Ft({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new r(e.funcName+" valid only within array environment")}});const Hr=Or;var Wr=Hr;Ft({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let{parser:n,funcName:i}=e;const o=t[0];if("ordgroup"!==o.type)throw new r("Invalid environment name",o);let s="";for(let r=0;r<o.body.length;++r)s+=Sn(o.body[r],"textord").text;if("\\begin"===i){if(!Wr.hasOwnProperty(s))throw new r("No such environment: "+s,o);const e=Wr[s],{args:t,optArgs:i}=n.parseArguments("\\begin{"+s+"}",e),a={mode:n.mode,envName:s,parser:n},l=e.handler(a,t,i);n.expect("\\end",!1);const c=n.nextToken,u=Sn(n.parseFunction(),"environment");if(u.name!==s)throw new r("Mismatch: \\begin{"+s+"} matched by \\end{"+u.name+"}",c);return l}return{type:"environment",mode:n.mode,name:s,nameGroup:o}}});const Vr=(e,t)=>{const n=e.font,r=t.withFont(n);return Zt(e.body,r)},Gr=(e,t)=>{const n=e.font,r=t.withFont(n);return un(e.body,r)},Kr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ft({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=It(t[0]);let o=r;return o in Kr&&(o=Kr[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:Vr,mathmlBuilder:Gr}),Ft({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{let{parser:n}=e;const r=t[0],i=m.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Ln(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),Ft({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r,breakOnTokenText:i}=e;const{mode:o}=n,s=n.parseExpression(!0,i),a="math"+r.slice(1);return{type:"font",mode:o,font:a,body:{type:"ordgroup",mode:n.mode,body:s}}},htmlBuilder:Vr,mathmlBuilder:Gr});const Xr=(e,t)=>{let n=t;return"display"===e?n=n.id>=F.SCRIPT.id?n.text():F.DISPLAY:"text"===e&&n.size===F.DISPLAY.size?n=F.TEXT:"script"===e?n=F.SCRIPT:"scriptscript"===e&&(n=F.SCRIPTSCRIPT),n},Yr=(e,t)=>{const n=Xr(e.size,t.style),r=n.fracNum(),i=n.fracDen();let o;o=t.havingStyle(r);const s=Zt(e.numer,o,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;s.height=s.height<e?e:s.height,s.depth=s.depth<n?n:s.depth}o=t.havingStyle(i);const a=Zt(e.denom,o,t);let l,c,u,h,d,f,p,m,g,b;if(e.hasBarLine?(e.barSize?(c=pe(e.barSize,t),l=zt.makeLineSpan("frac-line",t,c)):l=zt.makeLineSpan("frac-line",t),c=l.height,u=l.height):(l=null,c=0,u=t.fontMetrics().defaultRuleThickness),n.size===F.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,d=c>0?3*u:7*u,f=t.fontMetrics().denom1):(c>0?(h=t.fontMetrics().num2,d=u):(h=t.fontMetrics().num3,d=3*u),f=t.fontMetrics().denom2),l){const e=t.fontMetrics().axisHeight;h-s.depth-(e+.5*c)<d&&(h+=d-(h-s.depth-(e+.5*c))),e-.5*c-(a.height-f)<d&&(f+=d-(e-.5*c-(a.height-f)));const n=-(e-.5*c);p=zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:l,shift:n},{type:"elem",elem:s,shift:-h}]},t)}else{const e=h-s.depth-(a.height-f);e<d&&(h+=.5*(d-e),f+=.5*(d-e)),p=zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:s,shift:-h}]},t)}return o=t.havingStyle(n),p.height*=o.sizeMultiplier/t.sizeMultiplier,p.depth*=o.sizeMultiplier/t.sizeMultiplier,m=n.size===F.DISPLAY.size?t.fontMetrics().delim1:n.size===F.SCRIPTSCRIPT.size?t.havingStyle(F.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,g=null==e.leftDelim?Yt(t,["mopen"]):wr.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),b=e.continued?zt.makeSpan([]):null==e.rightDelim?Yt(t,["mclose"]):wr.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),zt.makeSpan(["mord"].concat(o.sizingClasses(t)),[g,zt.makeSpan(["mfrac"],[p]),b],t)},Zr=(e,t)=>{let n=new rn.MathNode("mfrac",[un(e.numer,t),un(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=pe(e.barSize,t);n.setAttribute("linethickness",me(r))}}else n.setAttribute("linethickness","0px");const r=Xr(e.size,t.style);if(r.size!==t.style.size){n=new rn.MathNode("mstyle",[n]);const e=r.size===F.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new rn.MathNode("mo",[new rn.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new rn.MathNode("mo",[new rn.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return sn(t)}return n};Ft({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=t[1];let s,a=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,a="(",l=")";break;case"\\\\bracefrac":s=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:o,hasBarLine:s,leftDelim:a,rightDelim:l,size:c,barSize:null}},htmlBuilder:Yr,mathmlBuilder:Zr}),Ft({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ft({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,{parser:n,funcName:r,token:i}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:i}}});const Jr=["display","text","script","scriptscript"],Qr=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Ft({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){let{parser:n}=e;const r=t[4],i=t[5],o=It(t[0]),s="atom"===o.type&&"open"===o.family?Qr(o.text):null,a=It(t[1]),l="atom"===a.type&&"close"===a.family?Qr(a.text):null,c=Sn(t[2],"size");let u,h=null;c.isBlank?u=!0:(h=c.value,u=h.number>0);let d="auto",f=t[3];if("ordgroup"===f.type){if(f.body.length>0){const e=Sn(f.body[0],"textord");d=Jr[Number(e.text)]}}else f=Sn(f,"textord"),d=Jr[Number(f.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:h,leftDelim:s,rightDelim:l,size:d}},htmlBuilder:Yr,mathmlBuilder:Zr}),Ft({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Sn(t[0],"size").value,token:i}}}),Ft({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=f(Sn(t[1],"infix").size),s=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Yr,mathmlBuilder:Zr});const $r=(e,t)=>{const n=t.style;let r,i;"supsub"===e.type?(r=e.sup?Zt(e.sup,t.havingStyle(n.sup()),t):Zt(e.sub,t.havingStyle(n.sub()),t),i=Sn(e.base,"horizBrace")):i=Sn(e,"horizBrace");const o=Zt(i.base,t.havingBaseStyle(F.DISPLAY)),s=kn.svgSpan(i,t);let a;if(i.isOver?(a=zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t),a.children[0].children[0].children[1].classes.push("svg-align")):(a=zt.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t),a.children[0].children[0].children[0].classes.push("svg-align")),r){const e=zt.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t);a=i.isOver?zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):zt.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return zt.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t)},ei=(e,t)=>{const n=kn.mathMLnode(e.label);return new rn.MathNode(e.isOver?"mover":"munder",[un(e.base,t),n])};Ft({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:$r,mathmlBuilder:ei}),Ft({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[1],i=Sn(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Bt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=Wt(e.body,t,!1);return zt.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=cn(e.body,t);return n instanceof en||(n=new en("mrow",[n])),n.setAttribute("href",e.href),n}}),Ft({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=Sn(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const i=[];for(let s=0;s<r.length;s++){let e=r[s];"~"===e&&(e="\\textasciitilde"),i.push({type:"textord",mode:"text",text:e})}const o={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:Bt(o)}}}),Ft({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){let{parser:n}=e;return{type:"hbox",mode:n.mode,body:Bt(t[0])}},htmlBuilder(e,t){const n=Wt(e.body,t,!1);return zt.makeFragment(n)},mathmlBuilder(e,t){return new rn.MathNode("mrow",ln(e.body,t))}}),Ft({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:i,token:o}=e;const s=Sn(t[0],"raw").string,a=t[1];let l;n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const c={};switch(i){case"\\htmlClass":c.class=s,l={command:"\\htmlClass",class:s};break;case"\\htmlId":c.id=s,l={command:"\\htmlId",id:s};break;case"\\htmlStyle":c.style=s,l={command:"\\htmlStyle",style:s};break;case"\\htmlData":{const e=s.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2!==n.length)throw new r("Error parsing key-value for \\htmlData");c["data-"+n[0].trim()]=n[1].trim()}l={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(l)?{type:"html",mode:n.mode,attributes:c,body:Bt(a)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{const n=Wt(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));const i=zt.makeSpan(r,n,t);for(const o in e.attributes)"class"!==o&&e.attributes.hasOwnProperty(o)&&i.setAttribute(o,e.attributes[o]);return i},mathmlBuilder:(e,t)=>cn(e.body,t)}),Ft({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Bt(t[0]),mathml:Bt(t[1])}},htmlBuilder:(e,t)=>{const n=Wt(e.html,t,!1);return zt.makeFragment(n)},mathmlBuilder:(e,t)=>cn(e.mathml,t)});const ti=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new r("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]),unit:t[3]};if(!fe(n))throw new r("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Ft({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let{parser:i}=e,o={number:0,unit:"em"},s={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(n[0]){const e=Sn(n[0],"raw").string,t=e.split(",");for(let n=0;n<t.length;n++){const e=t[n].split("=");if(2===e.length){const t=e[1].trim();switch(e[0].trim()){case"alt":l=t;break;case"width":o=ti(t);break;case"height":s=ti(t);break;case"totalheight":a=ti(t);break;default:throw new r("Invalid key: '"+e[0]+"' in \\includegraphics.")}}}}const c=Sn(t[0],"url").url;return""===l&&(l=c,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:c})?{type:"includegraphics",mode:i.mode,alt:l,width:o,height:s,totalheight:a,src:c}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{const n=pe(e.height,t);let r=0;e.totalheight.number>0&&(r=pe(e.totalheight,t)-n);let i=0;e.width.number>0&&(i=pe(e.width,t));const o={height:me(n+r)};i>0&&(o.width=me(i)),r>0&&(o.verticalAlign=me(-r));const s=new ke(e.src,e.alt,o);return s.height=n,s.depth=r,s},mathmlBuilder:(e,t)=>{const n=new rn.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=pe(e.height,t);let i=0;if(e.totalheight.number>0&&(i=pe(e.totalheight,t)-r,n.setAttribute("valign",me(-i))),n.setAttribute("height",me(r+i)),e.width.number>0){const r=pe(e.width,t);n.setAttribute("width",me(r))}return n.setAttribute("src",e.src),n}}),Ft({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=Sn(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===i.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):t&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return zt.makeGlue(e.dimension,t)},mathmlBuilder(e,t){const n=pe(e.dimension,t);return new rn.SpaceNode(n)}}),Ft({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=zt.makeSpan([],[Zt(e.body,t)]),n=zt.makeSpan(["inner"],[n],t)):n=zt.makeSpan(["inner"],[Zt(e.body,t)]);const r=zt.makeSpan(["fix"],[]);let i=zt.makeSpan([e.alignment],[n,r],t);const o=zt.makeSpan(["strut"]);return o.style.height=me(i.height+i.depth),i.depth&&(o.style.verticalAlign=me(-i.depth)),i.children.unshift(o),i=zt.makeSpan(["thinbox"],[i],t),zt.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{const n=new rn.MathNode("mpadded",[un(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Ft({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let{funcName:n,parser:r}=e;const i=r.mode;r.switchMode("math");const o="\\("===n?"\\)":"$",s=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:s}}}),Ft({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new r("Mismatched "+e.funcName)}});const ni=(e,t)=>{switch(t.style.size){case F.DISPLAY.size:return e.display;case F.TEXT.size:return e.text;case F.SCRIPT.size:return e.script;case F.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ft({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Bt(t[0]),text:Bt(t[1]),script:Bt(t[2]),scriptscript:Bt(t[3])}},htmlBuilder:(e,t)=>{const n=ni(e,t),r=Wt(n,t,!1);return zt.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=ni(e,t);return cn(n,t)}});const ri=(e,t,n,r,i,o,s)=>{e=zt.makeSpan([],[e]);const a=n&&m.isCharacterBox(n);let l,c,u;if(t){const e=Zt(t,r.havingStyle(i.sup()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=Zt(n,r.havingStyle(i.sub()),r);l={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(c&&l){const t=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;u=zt.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){const t=e.height-s;u=zt.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;{const t=e.depth+s;u=zt.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}const h=[u];if(l&&0!==o&&!a){const e=zt.makeSpan(["mspace"],[],r);e.style.marginRight=me(o),h.unshift(e)}return zt.makeSpan(["mop","op-limits"],h,r)},ii=["\\smallint"],oi=(e,t)=>{let n,r,i,o=!1;"supsub"===e.type?(n=e.sup,r=e.sub,i=Sn(e.base,"op"),o=!0):i=Sn(e,"op");const s=t.style;let a,l=!1;if(s.size===F.DISPLAY.size&&i.symbol&&!m.contains(ii,i.name)&&(l=!0),i.symbol){const e=l?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(n=i.name.slice(1),i.name="oiint"===n?"\\iint":"\\iiint"),a=zt.makeSymbol(i.name,e,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),n.length>0){const e=a.italic,r=zt.staticSvg(n+"Size"+(l?"2":"1"),t);a=zt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:r,shift:l?.08:0}]},t),i.name="\\"+n,a.classes.unshift("mop"),a.italic=e}}else if(i.body){const e=Wt(i.body,t,!0);1===e.length&&e[0]instanceof Ce?(a=e[0],a.classes[0]="mop"):a=zt.makeSpan(["mop"],e,t)}else{const e=[];for(let n=1;n<i.name.length;n++)e.push(zt.mathsym(i.name[n],i.mode,t));a=zt.makeSpan(["mop"],e,t)}let c=0,u=0;return(a instanceof Ce||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(c=(a.height-a.depth)/2-t.fontMetrics().axisHeight,u=a.italic),o?ri(a,n,r,t,s,u,c):(c&&(a.style.position="relative",a.style.top=me(c)),a)},si=(e,t)=>{let n;if(e.symbol)n=new en("mo",[on(e.name,e.mode)]),m.contains(ii,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new en("mo",ln(e.body,t));else{n=new en("mi",[new tn(e.name.slice(1))]);const t=new en("mo",[on("","text")]);n=e.parentIsSupSub?new en("mrow",[n,t]):$t([n,t])}return n},ai={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ft({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{let{parser:n,funcName:r}=e,i=r;return 1===i.length&&(i=ai[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:oi,mathmlBuilder:si}),Ft({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Bt(r)}},htmlBuilder:oi,mathmlBuilder:si});const li={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ft({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:oi,mathmlBuilder:si}),Ft({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:oi,mathmlBuilder:si}),Ft({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=li[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:oi,mathmlBuilder:si});const ci=(e,t)=>{let n,r,i,o,s=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,i=Sn(e.base,"operatorname"),s=!0):i=Sn(e,"operatorname"),i.body.length>0){const e=i.body.map(e=>{const t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e}),n=Wt(e,t.withFont("mathrm"),!0);for(let t=0;t<n.length;t++){const e=n[t];e instanceof Ce&&(e.text=e.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=zt.makeSpan(["mop"],n,t)}else o=zt.makeSpan(["mop"],[],t);return s?ri(o,n,r,t,t.style,0,0):o},ui=(e,t)=>{let n=ln(e.body,t.withFont("mathrm")),r=!0;for(let s=0;s<n.length;s++){const e=n[s];if(e instanceof rn.SpaceNode);else if(e instanceof rn.MathNode)switch(e.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const t=e.children[0];1===e.children.length&&t instanceof rn.TextNode?t.text=t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){const e=n.map(e=>e.toText()).join("");n=[new rn.TextNode(e)]}const i=new rn.MathNode("mi",n);i.setAttribute("mathvariant","normal");const o=new rn.MathNode("mo",[on("","text")]);return e.parentIsSupSub?new rn.MathNode("mrow",[i,o]):rn.newDocumentFragment([i,o])};function hi(e,t,n){const r=Wt(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier;for(let o=0;o<r.length;o++){const e=r[o].classes.indexOf("sizing");e<0?Array.prototype.push.apply(r[o].classes,t.sizingClasses(n)):r[o].classes[e+1]==="reset-size"+t.size&&(r[o].classes[e+1]="reset-size"+n.size),r[o].height*=i,r[o].depth*=i}return zt.makeFragment(r)}Ft({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"operatorname",mode:n.mode,body:Bt(i),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:ci,mathmlBuilder:ui}),Nr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),jt({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?zt.makeFragment(Wt(e.body,t,!1)):zt.makeSpan(["mord"],Wt(e.body,t,!0),t)},mathmlBuilder(e,t){return cn(e.body,t,!0)}}),Ft({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let{parser:n}=e;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=Zt(e.body,t.havingCrampedStyle()),r=zt.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,o=zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return zt.makeSpan(["mord","overline"],[o],t)},mathmlBuilder(e,t){const n=new rn.MathNode("mo",[new rn.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new rn.MathNode("mover",[un(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Ft({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"phantom",mode:n.mode,body:Bt(r)}},htmlBuilder:(e,t)=>{const n=Wt(e.body,t.withPhantom(),!1);return zt.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=ln(e.body,t);return new rn.MathNode("mphantom",n)}}),Ft({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=zt.makeSpan([],[Zt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),zt.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{const n=ln(Bt(e.body),t),r=new rn.MathNode("mphantom",n),i=new rn.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Ft({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=zt.makeSpan(["inner"],[Zt(e.body,t.withPhantom())]),r=zt.makeSpan(["fix"],[]);return zt.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=ln(Bt(e.body),t),r=new rn.MathNode("mphantom",n),i=new rn.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),Ft({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;const r=Sn(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){const n=Zt(e.body,t),r=pe(e.dy,t);return zt.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new rn.MathNode("mpadded",[un(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Ft({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t}=e;return{type:"internal",mode:t.mode}}}),Ft({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){let{parser:r}=e;const i=n[0],o=Sn(t[0],"size"),s=Sn(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Sn(i,"size").value,width:o.value,height:s.value}},htmlBuilder(e,t){const n=zt.makeSpan(["mord","rule"],[],t),r=pe(e.width,t),i=pe(e.height,t),o=e.shift?pe(e.shift,t):0;return n.style.borderRightWidth=me(r),n.style.borderTopWidth=me(i),n.style.bottom=me(o),n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=1.125*i*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=pe(e.width,t),r=pe(e.height,t),i=e.shift?pe(e.shift,t):0,o=t.color&&t.getColor()||"black",s=new rn.MathNode("mspace");s.setAttribute("mathbackground",o),s.setAttribute("width",me(n)),s.setAttribute("height",me(r));const a=new rn.MathNode("mpadded",[s]);return i>=0?a.setAttribute("height",me(i)):(a.setAttribute("height",me(i)),a.setAttribute("depth",me(-i))),a.setAttribute("voffset",me(i)),a}});const di=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fi=(e,t)=>{const n=t.havingSize(e.size);return hi(e.body,n,t)};Ft({type:"sizing",names:di,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{breakOnTokenText:n,funcName:r,parser:i}=e;const o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:di.indexOf(r)+1,body:o}},htmlBuilder:fi,mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=ln(e.body,n),i=new rn.MathNode("mstyle",r);return i.setAttribute("mathsize",me(n.sizeMultiplier)),i}}),Ft({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let{parser:r}=e,i=!1,o=!1;const s=n[0]&&Sn(n[0],"ordgroup");if(s){let e="";for(let t=0;t<s.body.length;++t){const n=s.body[t];if(e=n.text,"t"===e)i=!0;else{if("b"!==e){i=!1,o=!1;break}o=!0}}}else i=!0,o=!0;const a=t[0];return{type:"smash",mode:r.mode,body:a,smashHeight:i,smashDepth:o}},htmlBuilder:(e,t)=>{const n=zt.makeSpan([],[Zt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].depth=0;const r=zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return zt.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{const n=new rn.MathNode("mpadded",[un(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Ft({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r}=e;const i=n[0],o=t[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder(e,t){let n=Zt(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=zt.wrapFragment(n,t);const r=t.fontMetrics(),i=r.defaultRuleThickness;let o=i;t.style.id<F.TEXT.id&&(o=t.fontMetrics().xHeight);let s=i+o/4;const a=n.height+n.depth+s+i,{span:l,ruleWidth:c,advanceWidth:u}=wr.sqrtImage(a,t),h=l.height-c;h>n.height+n.depth+s&&(s=(s+h-n.height-n.depth)/2);const d=l.height-n.height-s-c;n.style.paddingLeft=me(u);const f=zt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){const n=t.havingStyle(F.SCRIPTSCRIPT),r=Zt(e.index,n,t),i=.6*(f.height-f.depth),o=zt.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},t),s=zt.makeSpan(["root"],[o]);return zt.makeSpan(["mord","sqrt"],[s,f],t)}return zt.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder(e,t){const{body:n,index:r}=e;return r?new rn.MathNode("mroot",[un(n,t),un(r,t)]):new rn.MathNode("msqrt",[un(n,t)])}});const pi={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};Ft({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){let{breakOnTokenText:n,funcName:r,parser:i}=e;const o=i.parseExpression(!0,n),s=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:s,body:o}},htmlBuilder(e,t){const n=pi[e.style],r=t.havingStyle(n).withFont("");return hi(e.body,r,t)},mathmlBuilder(e,t){const n=pi[e.style],r=t.havingStyle(n),i=ln(e.body,r),o=new rn.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[e.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});const mi=function(e,t){const n=e.base;if(n){if("op"===n.type){const e=n.limits&&(t.style.size===F.DISPLAY.size||n.alwaysHandleSupSub);return e?oi:null}if("operatorname"===n.type){const e=n.alwaysHandleSupSub&&(t.style.size===F.DISPLAY.size||n.limits);return e?ci:null}if("accent"===n.type)return m.isCharacterBox(n.base)?zn:null;if("horizBrace"===n.type){const t=!e.sub;return t===n.isOver?$r:null}return null}return null};jt({type:"supsub",htmlBuilder(e,t){const n=mi(e,t);if(n)return n(e,t);const{base:r,sup:i,sub:o}=e,s=Zt(r,t);let a,l;const c=t.fontMetrics();let u=0,h=0;const d=r&&m.isCharacterBox(r);if(i){const e=t.havingStyle(t.style.sup());a=Zt(i,e,t),d||(u=s.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(o){const e=t.havingStyle(t.style.sub());l=Zt(o,e,t),d||(h=s.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let f;f=t.style===F.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;const p=t.sizeMultiplier,g=me(.5/c.ptPerEm/p);let b,y=null;if(l){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(s instanceof Ce||t)&&(y=me(-s.italic))}if(a&&l){u=Math.max(u,f,a.depth+.25*c.xHeight),h=Math.max(h,c.sub2);const e=c.defaultRuleThickness,n=4*e;if(u-a.depth-(l.height-h)<n){h=n-(u-a.depth)+l.height;const e=.8*c.xHeight-(u-a.depth);e>0&&(u+=e,h-=e)}const r=[{type:"elem",elem:l,shift:h,marginRight:g,marginLeft:y},{type:"elem",elem:a,shift:-u,marginRight:g}];b=zt.makeVList({positionType:"individualShift",children:r},t)}else if(l){h=Math.max(h,c.sub1,l.height-.8*c.xHeight);const e=[{type:"elem",elem:l,marginLeft:y,marginRight:g}];b=zt.makeVList({positionType:"shift",positionData:h,children:e},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");u=Math.max(u,f,a.depth+.25*c.xHeight),b=zt.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a,marginRight:g}]},t)}const v=Xt(s,"right")||"mord";return zt.makeSpan([v],[s,zt.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){let n,r,i=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(i=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const o=[un(e.base,t)];let s;if(e.sub&&o.push(un(e.sub,t)),e.sup&&o.push(un(e.sup,t)),i)s=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;s=n&&"op"===n.type&&n.limits&&t.style===F.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===F.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;s=n&&"op"===n.type&&n.limits&&(t.style===F.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===F.DISPLAY)?"munder":"msub"}else{const n=e.base;s=n&&"op"===n.type&&n.limits&&(t.style===F.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===F.DISPLAY)?"mover":"msup"}return new rn.MathNode(s,o)}}),jt({type:"atom",htmlBuilder(e,t){return zt.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){const n=new rn.MathNode("mo",[on(e.text,e.mode)]);if("bin"===e.family){const r=an(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const gi={mi:"italic",mn:"normal",mtext:"normal"};jt({type:"mathord",htmlBuilder(e,t){return zt.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){const n=new rn.MathNode("mi",[on(e.text,e.mode,t)]),r=an(e,t)||"italic";return r!==gi[n.type]&&n.setAttribute("mathvariant",r),n}}),jt({type:"textord",htmlBuilder(e,t){return zt.makeOrd(e,t,"textord")},mathmlBuilder(e,t){const n=on(e.text,e.mode,t),r=an(e,t)||"normal";let i;return i="text"===e.mode?new rn.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new rn.MathNode("mn",[n]):"\\prime"===e.text?new rn.MathNode("mo",[n]):new rn.MathNode("mi",[n]),r!==gi[i.type]&&i.setAttribute("mathvariant",r),i}});const bi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},yi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};jt({type:"spacing",htmlBuilder(e,t){if(yi.hasOwnProperty(e.text)){const n=yi[e.text].className||"";if("text"===e.mode){const r=zt.makeOrd(e,t,"textord");return r.classes.push(n),r}return zt.makeSpan(["mspace",n],[zt.mathsym(e.text,e.mode,t)],t)}if(bi.hasOwnProperty(e.text))return zt.makeSpan(["mspace",bi[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){let n;if(!yi.hasOwnProperty(e.text)){if(bi.hasOwnProperty(e.text))return new rn.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new rn.MathNode("mtext",[new rn.TextNode(" ")]),n}});const vi=()=>{const e=new rn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};jt({type:"tag",mathmlBuilder(e,t){const n=new rn.MathNode("mtable",[new rn.MathNode("mtr",[vi(),new rn.MathNode("mtd",[cn(e.body,t)]),vi(),new rn.MathNode("mtd",[cn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const xi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},wi={"\\textbf":"textbf","\\textmd":"textmd"},ki={"\\textit":"textit","\\textup":"textup"},Si=(e,t)=>{const n=e.font;return n?xi[n]?t.withTextFontFamily(xi[n]):wi[n]?t.withTextFontWeight(wi[n]):"\\emph"===n?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(ki[n]):t};Ft({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"text",mode:n.mode,body:Bt(i),font:r}},htmlBuilder(e,t){const n=Si(e,t),r=Wt(e.body,n,!0);return zt.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){const n=Si(e,t);return cn(e.body,n)}}),Ft({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=Zt(e.body,t),r=zt.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=zt.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return zt.makeSpan(["mord","underline"],[o],t)},mathmlBuilder(e,t){const n=new rn.MathNode("mo",[new rn.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new rn.MathNode("munder",[un(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Ft({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=Zt(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return zt.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new rn.MathNode("mpadded",[un(e.body,t)],["vcenter"])}}),Ft({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=Ci(e),r=[],i=t.havingStyle(t.style.text());for(let o=0;o<n.length;o++){let t=n[o];"~"===t&&(t="\\textasciitilde"),r.push(zt.makeSymbol(t,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return zt.makeSpan(["mord","text"].concat(i.sizingClasses(t)),zt.tryCombineChars(r),i)},mathmlBuilder(e,t){const n=new rn.TextNode(Ci(e)),r=new rn.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});const Ci=e=>e.body.replace(/ /g,e.star?"␣":" "),Ti=Rt;var zi=Ti;const Ai="[ \r\n\t]",Oi="\\\\[a-zA-Z@]+",Ei="\\\\[^\ud800-\udfff]",Mi="("+Oi+")"+Ai+"*",Ni="\\\\(\n|[ \r\t]+\n?)[ \r\t]*",Ri="[̀-ͯ]",Li=new RegExp(Ri+"+$"),Di="("+Ai+"+)|"+Ni+"|([!-\\[\\]-‧-豈-]"+Ri+"*|[\ud800-\udbff][\udc00-\udfff]"+Ri+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Mi+"|"+Ei+")";class Fi{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Di,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Lr("EOF",new Rr(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new r("Unexpected character: '"+e[t]+"'",new Lr(e[t],new Rr(this,t,t+1)));const i=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[i]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=t+1,this.lex()}return new Lr(i,new Rr(this,t,this.tokenRegex.lastIndex))}}class ji{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new r("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){while(this.undefStack.length>0)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(let t=0;t<this.undefStack.length;t++)delete this.undefStack[t][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}const Ii=Mr;var Bi=Ii;Nr("\\noexpand",(function(e){const t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Nr("\\expandafter",(function(e){const t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Nr("\\@firstoftwo",(function(e){const t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Nr("\\@secondoftwo",(function(e){const t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Nr("\\@ifnextchar",(function(e){const t=e.consumeArgs(3);e.consumeSpaces();const n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Nr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Nr("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const _i={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};Nr("\\char",(function(e){let t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(i=_i[n.text],null==i||i>=t)throw new r("Invalid base-"+t+" digit "+n.text);let o;while(null!=(o=_i[e.future().text])&&o<t)i*=t,i+=o,e.popToken()}return"\\@char{"+i+"}"}));const qi=(e,t,n)=>{let i=e.consumeArg().tokens;if(1!==i.length)throw new r("\\newcommand's first argument must be a macro name");const o=i[0].text,s=e.isDefined(o);if(s&&!t)throw new r("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!s&&!n)throw new r("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");let a=0;if(i=e.consumeArg().tokens,1===i.length&&"["===i[0].text){let t="",n=e.expandNextToken();while("]"!==n.text&&"EOF"!==n.text)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new r("Invalid number of arguments: "+t);a=parseInt(t),i=e.consumeArg().tokens}return e.macros.set(o,{tokens:i,numArgs:a}),""};Nr("\\newcommand",e=>qi(e,!1,!0)),Nr("\\renewcommand",e=>qi(e,!0,!1)),Nr("\\providecommand",e=>qi(e,!0,!0)),Nr("\\message",e=>{const t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),Nr("\\errmessage",e=>{const t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),Nr("\\show",e=>{const t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),zi[n],Le.math[n],Le.text[n]),""}),Nr("\\bgroup","{"),Nr("\\egroup","}"),Nr("~","\\nobreakspace"),Nr("\\lq","`"),Nr("\\rq","'"),Nr("\\aa","\\r a"),Nr("\\AA","\\r A"),Nr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Nr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Nr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Nr("ℬ","\\mathscr{B}"),Nr("ℰ","\\mathscr{E}"),Nr("ℱ","\\mathscr{F}"),Nr("ℋ","\\mathscr{H}"),Nr("ℐ","\\mathscr{I}"),Nr("ℒ","\\mathscr{L}"),Nr("ℳ","\\mathscr{M}"),Nr("ℛ","\\mathscr{R}"),Nr("ℭ","\\mathfrak{C}"),Nr("ℌ","\\mathfrak{H}"),Nr("ℨ","\\mathfrak{Z}"),Nr("\\Bbbk","\\Bbb{k}"),Nr("·","\\cdotp"),Nr("\\llap","\\mathllap{\\textrm{#1}}"),Nr("\\rlap","\\mathrlap{\\textrm{#1}}"),Nr("\\clap","\\mathclap{\\textrm{#1}}"),Nr("\\mathstrut","\\vphantom{(}"),Nr("\\underbar","\\underline{\\text{#1}}"),Nr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Nr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Nr("\\ne","\\neq"),Nr("≠","\\neq"),Nr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Nr("∉","\\notin"),Nr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Nr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Nr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Nr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Nr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Nr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Nr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Nr("⟂","\\perp"),Nr("‼","\\mathclose{!\\mkern-0.8mu!}"),Nr("∌","\\notni"),Nr("⌜","\\ulcorner"),Nr("⌝","\\urcorner"),Nr("⌞","\\llcorner"),Nr("⌟","\\lrcorner"),Nr("©","\\copyright"),Nr("®","\\textregistered"),Nr("️","\\textregistered"),Nr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Nr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Nr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Nr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Nr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Nr("⋮","\\vdots"),Nr("\\varGamma","\\mathit{\\Gamma}"),Nr("\\varDelta","\\mathit{\\Delta}"),Nr("\\varTheta","\\mathit{\\Theta}"),Nr("\\varLambda","\\mathit{\\Lambda}"),Nr("\\varXi","\\mathit{\\Xi}"),Nr("\\varPi","\\mathit{\\Pi}"),Nr("\\varSigma","\\mathit{\\Sigma}"),Nr("\\varUpsilon","\\mathit{\\Upsilon}"),Nr("\\varPhi","\\mathit{\\Phi}"),Nr("\\varPsi","\\mathit{\\Psi}"),Nr("\\varOmega","\\mathit{\\Omega}"),Nr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Nr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Nr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Nr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Nr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Nr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");const Pi={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\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"};Nr("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in Pi?t=Pi[n]:("\\not"===n.slice(0,4)||n in Le.math&&m.contains(["bin","rel"],Le.math[n].group))&&(t="\\dotsb"),t}));const Ui={")":!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};Nr("\\dotso",(function(e){const t=e.future().text;return t in Ui?"\\ldots\\,":"\\ldots"})),Nr("\\dotsc",(function(e){const t=e.future().text;return t in Ui&&","!==t?"\\ldots\\,":"\\ldots"})),Nr("\\cdots",(function(e){const t=e.future().text;return t in Ui?"\\@cdots\\,":"\\@cdots"})),Nr("\\dotsb","\\cdots"),Nr("\\dotsm","\\cdots"),Nr("\\dotsi","\\!\\cdots"),Nr("\\dotsx","\\ldots\\,"),Nr("\\DOTSI","\\relax"),Nr("\\DOTSB","\\relax"),Nr("\\DOTSX","\\relax"),Nr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Nr("\\,","\\tmspace+{3mu}{.1667em}"),Nr("\\thinspace","\\,"),Nr("\\>","\\mskip{4mu}"),Nr("\\:","\\tmspace+{4mu}{.2222em}"),Nr("\\medspace","\\:"),Nr("\\;","\\tmspace+{5mu}{.2777em}"),Nr("\\thickspace","\\;"),Nr("\\!","\\tmspace-{3mu}{.1667em}"),Nr("\\negthinspace","\\!"),Nr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Nr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Nr("\\enspace","\\kern.5em "),Nr("\\enskip","\\hskip.5em\\relax"),Nr("\\quad","\\hskip1em\\relax"),Nr("\\qquad","\\hskip2em\\relax"),Nr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Nr("\\tag@paren","\\tag@literal{({#1})}"),Nr("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Nr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Nr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Nr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Nr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Nr("\\newline","\\\\\\relax"),Nr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Hi=me($["Main-Regular"]["T".charCodeAt(0)][1]-.7*$["Main-Regular"]["A".charCodeAt(0)][1]);Nr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Hi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Nr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Hi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Nr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Nr("\\@hspace","\\hskip #1\\relax"),Nr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Nr("\\ordinarycolon",":"),Nr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Nr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Nr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Nr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Nr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Nr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Nr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Nr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Nr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Nr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Nr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Nr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Nr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Nr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Nr("∷","\\dblcolon"),Nr("∹","\\eqcolon"),Nr("≔","\\coloneqq"),Nr("≕","\\eqqcolon"),Nr("⩴","\\Coloneqq"),Nr("\\ratio","\\vcentcolon"),Nr("\\coloncolon","\\dblcolon"),Nr("\\colonequals","\\coloneqq"),Nr("\\coloncolonequals","\\Coloneqq"),Nr("\\equalscolon","\\eqqcolon"),Nr("\\equalscoloncolon","\\Eqqcolon"),Nr("\\colonminus","\\coloneq"),Nr("\\coloncolonminus","\\Coloneq"),Nr("\\minuscolon","\\eqcolon"),Nr("\\minuscoloncolon","\\Eqcolon"),Nr("\\coloncolonapprox","\\Colonapprox"),Nr("\\coloncolonsim","\\Colonsim"),Nr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Nr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Nr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Nr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Nr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Nr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Nr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Nr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Nr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Nr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Nr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Nr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Nr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Nr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Nr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Nr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Nr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Nr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Nr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Nr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Nr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Nr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Nr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Nr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Nr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Nr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Nr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Nr("\\imath","\\html@mathml{\\@imath}{ı}"),Nr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Nr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Nr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Nr("⟦","\\llbracket"),Nr("⟧","\\rrbracket"),Nr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Nr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Nr("⦃","\\lBrace"),Nr("⦄","\\rBrace"),Nr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Nr("⦵","\\minuso"),Nr("\\darr","\\downarrow"),Nr("\\dArr","\\Downarrow"),Nr("\\Darr","\\Downarrow"),Nr("\\lang","\\langle"),Nr("\\rang","\\rangle"),Nr("\\uarr","\\uparrow"),Nr("\\uArr","\\Uparrow"),Nr("\\Uarr","\\Uparrow"),Nr("\\N","\\mathbb{N}"),Nr("\\R","\\mathbb{R}"),Nr("\\Z","\\mathbb{Z}"),Nr("\\alef","\\aleph"),Nr("\\alefsym","\\aleph"),Nr("\\Alpha","\\mathrm{A}"),Nr("\\Beta","\\mathrm{B}"),Nr("\\bull","\\bullet"),Nr("\\Chi","\\mathrm{X}"),Nr("\\clubs","\\clubsuit"),Nr("\\cnums","\\mathbb{C}"),Nr("\\Complex","\\mathbb{C}"),Nr("\\Dagger","\\ddagger"),Nr("\\diamonds","\\diamondsuit"),Nr("\\empty","\\emptyset"),Nr("\\Epsilon","\\mathrm{E}"),Nr("\\Eta","\\mathrm{H}"),Nr("\\exist","\\exists"),Nr("\\harr","\\leftrightarrow"),Nr("\\hArr","\\Leftrightarrow"),Nr("\\Harr","\\Leftrightarrow"),Nr("\\hearts","\\heartsuit"),Nr("\\image","\\Im"),Nr("\\infin","\\infty"),Nr("\\Iota","\\mathrm{I}"),Nr("\\isin","\\in"),Nr("\\Kappa","\\mathrm{K}"),Nr("\\larr","\\leftarrow"),Nr("\\lArr","\\Leftarrow"),Nr("\\Larr","\\Leftarrow"),Nr("\\lrarr","\\leftrightarrow"),Nr("\\lrArr","\\Leftrightarrow"),Nr("\\Lrarr","\\Leftrightarrow"),Nr("\\Mu","\\mathrm{M}"),Nr("\\natnums","\\mathbb{N}"),Nr("\\Nu","\\mathrm{N}"),Nr("\\Omicron","\\mathrm{O}"),Nr("\\plusmn","\\pm"),Nr("\\rarr","\\rightarrow"),Nr("\\rArr","\\Rightarrow"),Nr("\\Rarr","\\Rightarrow"),Nr("\\real","\\Re"),Nr("\\reals","\\mathbb{R}"),Nr("\\Reals","\\mathbb{R}"),Nr("\\Rho","\\mathrm{P}"),Nr("\\sdot","\\cdot"),Nr("\\sect","\\S"),Nr("\\spades","\\spadesuit"),Nr("\\sub","\\subset"),Nr("\\sube","\\subseteq"),Nr("\\supe","\\supseteq"),Nr("\\Tau","\\mathrm{T}"),Nr("\\thetasym","\\vartheta"),Nr("\\weierp","\\wp"),Nr("\\Zeta","\\mathrm{Z}"),Nr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Nr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Nr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Nr("\\bra","\\mathinner{\\langle{#1}|}"),Nr("\\ket","\\mathinner{|{#1}\\rangle}"),Nr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Nr("\\Bra","\\left\\langle#1\\right|"),Nr("\\Ket","\\left|#1\\right\\rangle");const Wi=e=>t=>{const n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.consumeArg().tokens,s=t.macros.get("|"),a=t.macros.get("\\|");t.macros.beginGroup();const l=t=>n=>{e&&(n.macros.set("|",s),i.length&&n.macros.set("\\|",a));let o=t;if(!t&&i.length){const e=n.future();"|"===e.text&&(n.popToken(),o=!0)}return{tokens:o?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));const c=t.consumeArg().tokens,u=t.expandTokens([...o,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Nr("\\bra@ket",Wi(!1)),Nr("\\bra@set",Wi(!0)),Nr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Nr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Nr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Nr("\\angln","{\\angl n}"),Nr("\\blue","\\textcolor{##6495ed}{#1}"),Nr("\\orange","\\textcolor{##ffa500}{#1}"),Nr("\\pink","\\textcolor{##ff00af}{#1}"),Nr("\\red","\\textcolor{##df0030}{#1}"),Nr("\\green","\\textcolor{##28ae7b}{#1}"),Nr("\\gray","\\textcolor{gray}{#1}"),Nr("\\purple","\\textcolor{##9d38bd}{#1}"),Nr("\\blueA","\\textcolor{##ccfaff}{#1}"),Nr("\\blueB","\\textcolor{##80f6ff}{#1}"),Nr("\\blueC","\\textcolor{##63d9ea}{#1}"),Nr("\\blueD","\\textcolor{##11accd}{#1}"),Nr("\\blueE","\\textcolor{##0c7f99}{#1}"),Nr("\\tealA","\\textcolor{##94fff5}{#1}"),Nr("\\tealB","\\textcolor{##26edd5}{#1}"),Nr("\\tealC","\\textcolor{##01d1c1}{#1}"),Nr("\\tealD","\\textcolor{##01a995}{#1}"),Nr("\\tealE","\\textcolor{##208170}{#1}"),Nr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Nr("\\greenB","\\textcolor{##8af281}{#1}"),Nr("\\greenC","\\textcolor{##74cf70}{#1}"),Nr("\\greenD","\\textcolor{##1fab54}{#1}"),Nr("\\greenE","\\textcolor{##0d923f}{#1}"),Nr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Nr("\\goldB","\\textcolor{##ffbb71}{#1}"),Nr("\\goldC","\\textcolor{##ff9c39}{#1}"),Nr("\\goldD","\\textcolor{##e07d10}{#1}"),Nr("\\goldE","\\textcolor{##a75a05}{#1}"),Nr("\\redA","\\textcolor{##fca9a9}{#1}"),Nr("\\redB","\\textcolor{##ff8482}{#1}"),Nr("\\redC","\\textcolor{##f9685d}{#1}"),Nr("\\redD","\\textcolor{##e84d39}{#1}"),Nr("\\redE","\\textcolor{##bc2612}{#1}"),Nr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Nr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Nr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Nr("\\maroonD","\\textcolor{##ca337c}{#1}"),Nr("\\maroonE","\\textcolor{##9e034e}{#1}"),Nr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Nr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Nr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Nr("\\purpleD","\\textcolor{##7854ab}{#1}"),Nr("\\purpleE","\\textcolor{##543b78}{#1}"),Nr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Nr("\\mintB","\\textcolor{##edf2df}{#1}"),Nr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Nr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Nr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Nr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Nr("\\grayD","\\textcolor{##d6d8da}{#1}"),Nr("\\grayE","\\textcolor{##babec2}{#1}"),Nr("\\grayF","\\textcolor{##888d93}{#1}"),Nr("\\grayG","\\textcolor{##626569}{#1}"),Nr("\\grayH","\\textcolor{##3b3e40}{#1}"),Nr("\\grayI","\\textcolor{##21242c}{#1}"),Nr("\\kaBlue","\\textcolor{##314453}{#1}"),Nr("\\kaGreen","\\textcolor{##71B307}{#1}");const Vi={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Gi{constructor(e,t,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=t,this.expansionCount=0,this.feed(e),this.macros=new ji(Bi,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Fi(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){let t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Lr("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;;){const e=this.future();if(" "!==e.text)break;this.stack.pop()}}consumeArg(e){const t=[],n=e&&e.length>0;n||this.consumeSpaces();const i=this.future();let o,s=0,a=0;do{if(o=this.popToken(),t.push(o),"{"===o.text)++s;else if("}"===o.text){if(--s,-1===s)throw new r("Extra }",o)}else if("EOF"===o.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",o);if(e&&n)if((0===s||1===s&&"{"===e[a])&&o.text===e[a]){if(++a,a===e.length){t.splice(-a,a);break}}else a=0}while(0!==s||n);return"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:o}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");const n=t[0];for(let e=0;e<n.length;e++){const t=this.popToken();if(n[e]!==t.text)throw new r("Use of the macro doesn't match its definition",t)}}const n=[];for(let r=0;r<e;r++)n.push(this.consumeArg(t&&t[r+1]).tokens);return n}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){const t=this.popToken(),n=t.text,i=t.noexpand?null:this._getExpansion(n);if(null==i||e&&i.unexpandable){if(e&&null==i&&"\\"===n[0]&&!this.isDefined(n))throw new r("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);let o=i.tokens;const s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){o=o.slice();for(let e=o.length-1;e>=0;--e){let t=o[e];if("#"===t.text){if(0===e)throw new r("Incomplete placeholder at end of macro body",t);if(t=o[--e],"#"===t.text)o.splice(e+1,1);else{if(!/^[1-9]$/.test(t.text))throw new r("Not a valid argument number",t);o.splice(e,2,...s[+t.text-1])}}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Lr(e)]):void 0}expandTokens(e){const t=[],n=this.stack.length;this.pushTokens(e);while(this.stack.length>n)if(!1===this.expandOnce(!0)){const e=this.stack.pop();e.treatAsRelax&&(e.noexpand=!1,e.treatAsRelax=!1),t.push(e)}return this.countExpansion(t.length),t}expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;if(1===e.length){const t=this.lexer.catcodes[e];if(null!=t&&13!==t)return}const n="function"===typeof t?t(this):t;if("string"===typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");while(-1!==t.indexOf("#"+(e+1)))++e}const t=new Fi(n,this.settings),r=[];let i=t.lex();while("EOF"!==i.text)r.push(i),i=t.lex();r.reverse();const o={tokens:r,numArgs:e};return o}return n}isDefined(e){return this.macros.has(e)||zi.hasOwnProperty(e)||Le.math.hasOwnProperty(e)||Le.text.hasOwnProperty(e)||Vi.hasOwnProperty(e)}isExpandable(e){const t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:zi.hasOwnProperty(e)&&!zi[e].primitive}}const Ki=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Yi={"́":{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"}},Zi={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class Ji{constructor(e,t){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 Gi(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new r("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){const t=this.nextToken;this.consume(),this.gullet.pushToken(new Lr("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){const n=[];while(1){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==Ji.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&zi[r.text]&&zi[r.text].infix)break;const i=this.parseAtom(t);if(!i)break;"internal"!==i.type&&n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let t,n=-1;for(let i=0;i<e.length;i++)if("infix"===e[i].type){if(-1!==n)throw new r("only one infix operator per group",e[i].token);n=i,t=e[i].replaceWith}if(-1!==n&&t){let r,i;const o=e.slice(0,n),s=e.slice(n+1);let a;return r=1===o.length&&"ordgroup"===o[0].type?o[0]:{type:"ordgroup",mode:this.mode,body:o},i=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},a="\\\\abovefrac"===t?this.callFunction(t,[r,e[n],i],[]):this.callFunction(t,[r,i],[]),[a]}return e}handleSupSubscript(e){const t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();const i=this.parseGroup(e);if(!i)throw new r("Expected group after '"+n+"'",t);return i}formatUnsupportedCmd(e){const t=[];for(let i=0;i<e.length;i++)t.push({type:"textord",mode:"text",text:e[i]});const n={type:"text",mode:this.mode,body:t},r={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return r}parseAtom(e){const t=this.parseGroup("atom",e);if("text"===this.mode)return t;let n,i;while(1){this.consumeSpaces();const e=this.fetch();if("\\limits"===e.text||"\\nolimits"===e.text){if(t&&"op"===t.type){const n="\\limits"===e.text;t.limits=n,t.alwaysHandleSupSub=!0}else{if(!t||"operatorname"!==t.type)throw new r("Limit controls must follow a math operator",e);t.alwaysHandleSupSub&&(t.limits="\\limits"===e.text)}this.consume()}else if("^"===e.text){if(n)throw new r("Double superscript",e);n=this.handleSupSubscript("superscript")}else if("_"===e.text){if(i)throw new r("Double subscript",e);i=this.handleSupSubscript("subscript")}else if("'"===e.text){if(n)throw new r("Double superscript",e);const t={type:"textord",mode:this.mode,text:"\\prime"},i=[t];this.consume();while("'"===this.fetch().text)i.push(t),this.consume();"^"===this.fetch().text&&i.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:i}}else{if(!Xi[e.text])break;{const t=Ki.test(e.text),r=[];r.push(new Lr(Xi[e.text])),this.consume();while(1){const e=this.fetch().text;if(!Xi[e])break;if(Ki.test(e)!==t)break;r.unshift(new Lr(Xi[e])),this.consume()}const o=this.subparse(r);t?i={type:"ordgroup",mode:"math",body:o}:n={type:"ordgroup",mode:"math",body:o}}}}return n||i?{type:"supsub",mode:this.mode,base:t,sup:n,sub:i}:t}parseFunction(e,t){const n=this.fetch(),i=n.text,o=zi[i];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new r("Got function '"+i+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!o.allowedInText)throw new r("Can't use function '"+i+"' in text mode",n);if("math"===this.mode&&!1===o.allowedInMath)throw new r("Can't use function '"+i+"' in math mode",n);const{args:s,optArgs:a}=this.parseArguments(i,o);return this.callFunction(i,s,a,n,e)}callFunction(e,t,n,i,o){const s={funcName:e,parser:this,token:i,breakOnTokenText:o},a=zi[e];if(a&&a.handler)return a.handler(s,t,n);throw new r("No function handler for "+e)}parseArguments(e,t){const n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};const i=[],o=[];for(let s=0;s<n;s++){let n=t.argTypes&&t.argTypes[s];const a=s<t.numOptionalArgs;(t.primitive&&null==n||"sqrt"===t.type&&1===s&&null==o[0])&&(n="primitive");const l=this.parseGroupOfType("argument to '"+e+"'",n,a);if(a)o.push(l);else{if(null==l)throw new r("Null argument, please report this as a bug");i.push(l)}}return{args:i,optArgs:o}}parseGroupOfType(e,t,n){switch(t){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,t);case"hbox":{const e=this.parseArgumentGroup(n,"text");return null!=e?{type:"styling",mode:e.mode,body:[e],style:"text"}:null}case"raw":{const e=this.parseStringGroup("raw",n);return null!=e?{type:"raw",mode:"text",string:e.text}:null}case"primitive":{if(n)throw new r("A primitive argument cannot be optional");const t=this.parseGroup(e);if(null==t)throw new r("Expected group as "+e,this.fetch());return t}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new r("Unknown group type as "+e,this.fetch())}}consumeSpaces(){while(" "===this.fetch().text)this.consume()}parseStringGroup(e,t){const n=this.gullet.scanArgument(t);if(null==n)return null;let r,i="";while("EOF"!==(r=this.fetch()).text)i+=r.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,t){const n=this.fetch();let i,o=n,s="";while("EOF"!==(i=this.fetch()).text&&e.test(s+i.text))o=i,s+=o.text,this.consume();if(""===s)throw new r("Invalid "+t+": '"+n.text+"'",n);return n.range(o,s)}parseColorGroup(e){const t=this.parseStringGroup("color",e);if(null==t)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new r("Invalid color: '"+t.text+"'",t);let i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){let t,n=!1;if(this.gullet.consumeSpaces(),t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);const i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!i)throw new r("Invalid size: '"+t.text+"'",t);const o={number:+(i[1]+i[2]),unit:i[3]};if(!fe(o))throw new r("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;const n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,t){const n=this.gullet.scanArgument(e);if(null==n)return null;const r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();const i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const o={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),o}parseGroup(e,t){const n=this.fetch(),i=n.text;let o;if("{"===i||"\\begingroup"===i){this.consume();const e="{"===i?"}":"\\endgroup";this.gullet.beginGroup();const t=this.parseExpression(!1,e),r=this.fetch();this.expect(e),this.gullet.endGroup(),o={type:"ordgroup",mode:this.mode,loc:Rr.range(n,r),body:t,semisimple:"\\begingroup"===i||void 0}}else if(o=this.parseFunction(t,e)||this.parseSymbol(),null==o&&"\\"===i[0]&&!Vi.hasOwnProperty(i)){if(this.settings.throwOnError)throw new r("Undefined control sequence: "+i,n);o=this.formatUnsupportedCmd(i),this.consume()}return o}formLigatures(e){let t=e.length-1;for(let n=0;n<t;++n){const r=e[n],i=r.text;"-"===i&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:Rr.range(r,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:Rr.range(r,e[n+1]),text:"--"}),t-=1)),"'"!==i&&"`"!==i||e[n+1].text!==i||(e.splice(n,2,{type:"textord",mode:"text",loc:Rr.range(r,e[n+1]),text:i+i}),t-=1)}}parseSymbol(){const e=this.fetch();let t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();let e=t.slice(5);const n="*"===e.charAt(0);if(n&&(e=e.slice(1)),e.length<2||e.charAt(0)!==e.slice(-1))throw new r("\\verb assertion failed --\n please report what input caused this bug");return e=e.slice(1,-1),{type:"verb",mode:"text",body:e,star:n}}Zi.hasOwnProperty(t[0])&&!Le[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Zi[t[0]]+t.slice(1));const n=Li.exec(t);let i;if(n&&(t=t.substring(0,n.index),"i"===t?t="ı":"j"===t&&(t="ȷ")),Le[this.mode][t]){this.settings.strict&&"math"===this.mode&&tt.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);const n=Le[this.mode][t].group,r=Rr.range(e);let o;if(Me.hasOwnProperty(n)){const e=n;o={type:"atom",mode:this.mode,family:e,loc:r,text:t}}else o={type:n,mode:this.mode,loc:r,text:t};i=o}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(_(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:Rr.range(e),text:t}}if(this.consume(),n)for(let o=0;o<n[0].length;o++){const t=n[0][o];if(!Yi[t])throw new r("Unknown accent ' "+t+"'",e);const s=Yi[t][this.mode]||Yi[t].text;if(!s)throw new r("Accent "+t+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:Rr.range(e),label:s,isStretchy:!1,isShifty:!0,base:i}}return i}}Ji.endOfExpression=["}","\\endgroup","\\end","\\right","&"];const Qi=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const n=new Ji(e,t);delete n.gullet.macros.current["\\df@tag"];let i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new r("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new Lr("\\df@tag")])}]}return i};var $i=Qi;let eo=function(e,t,n){t.textContent="";const r=io(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),eo=function(){throw new r("KaTeX doesn't work in quirks mode.")});const to=function(e,t){const n=io(e,t).toMarkup();return n},no=function(e,t){const n=new y(t);return $i(e,n)},ro=function(e,t,n){if(n.throwOnError||!(e instanceof r))throw e;const i=zt.makeSpan(["katex-error"],[new Ce(t)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},io=function(e,t){const n=new y(t);try{const t=$i(e,n);return pn(t,e,n)}catch(r){return ro(r,e,n)}},oo=function(e,t){const n=new y(t);try{const t=$i(e,n);return mn(t,e,n)}catch(r){return ro(r,e,n)}};var so={version:"0.16.11",render:eo,renderToString:to,ParseError:r,SETTINGS_SCHEMA:g,__parse:no,__renderToDomTree:io,__renderToHTMLTree:oo,__setFontMetrics:ne,__defineSymbol:De,__defineFunction:Ft,__defineMacro:Nr,__domTree:{Span:xe,Anchor:we,SymbolNode:Ce,SvgNode:Te,PathNode:ze,LineNode:Ae}},ao=so;return t=t["default"],t}()}))},"3b44":function(e,t,n){"use strict";n("14d9"),n("13d5"),n("88e6"),n("70cc"),n("eb03"),n("22e5"),n("c01e"),n("fa76"),n("8306");var r=n("1e42");const i={CHILDREN_RANGE:"childrenRange",ROOT_GROUP:"rootGroup"},o={TOP_LEFT:"top-left",TOP:"top",TOP_RIGHT:"top-right",LEFT:"left",CENTER:"center",RIGHT:"right",BOTTOM_LEFT:"bottom-left",BOTTOM:"bottom",BOTTOM_RIGHT:"bottom-right"},s=e=>{e=Object(r["S"])(e);const t={},n={};e.forEach(e=>{const r=e.parent;if(r){const i=r.uid;n[i]=r;const o=e.getIndexInBrothers(),s={node:e,index:o};t[i]?t[i].find(e=>e.index===s.index)||t[i].push(s):t[i]=[s]}});const i=[];return Object.keys(t).forEach(e=>{const r=t[e],o=n[e];if(r.length>1){const e=r.map(e=>e.index).sort((e,t)=>e-t),t=e[0],n=e[e.length-1];let s=-1,a=-1;for(let r=t;r<=n;r++)e.includes(r)?(-1===s&&(s=r),a=r):(-1!==s&&-1!==a&&i.push({node:o,range:[s,a]}),s=-1,a=-1);-1!==s&&-1!==a&&i.push({node:o,range:[s,a]})}else i.push({node:o,range:[r[0].index,r[0].index]})}),i},a=e=>"number"===typeof e&&Number.isFinite(e),l=(e,t,n)=>`${e}:${t}:${n}`,c={radius:5,strokeWidth:2,strokeColor:"#0984e3",strokeDasharray:"5,5",fill:"rgba(9,132,227,0.05)",strokeFlow:!1,strokeFlowDuration:.6,text:"",textColor:"",textFontSize:12,textBackground:"rgba(255,255,255,0.9)",textPadding:4,textPosition:o.TOP_LEFT,textOffsetX:0,textOffsetY:0},u=(e={})=>{const t={...c,...e||{}};t.radius=a(t.radius)?t.radius:c.radius,t.strokeWidth=a(t.strokeWidth)?t.strokeWidth:c.strokeWidth,t.strokeColor=t.strokeColor||c.strokeColor,t.strokeDasharray="none"===t.strokeDasharray?"none":t.strokeDasharray||c.strokeDasharray,t.fill=t.fill||c.fill,t.strokeFlow=!!t.strokeFlow,t.strokeFlowDuration=a(t.strokeFlowDuration)&&t.strokeFlowDuration>0?t.strokeFlowDuration:c.strokeFlowDuration,t.text="string"===typeof t.text?t.text:"",t.textColor=t.textColor||t.strokeColor,t.textFontSize=a(t.textFontSize)?t.textFontSize:c.textFontSize,t.textBackground=t.textBackground||c.textBackground,t.textPadding=a(t.textPadding)?t.textPadding:c.textPadding;const n=t.textPosition;return t.textPosition=Object.values(o).includes(n)?n:c.textPosition,t.textOffsetX=a(t.textOffsetX)?t.textOffsetX:0,t.textOffsetY=a(t.textOffsetY)?t.textOffsetY:0,t},h=e=>{if(!e||"none"===e)return null;const t=Array.isArray(e)||"number"===typeof e?String(e):e;if("string"!==typeof t)return null;const n=t.split(/[\s,]+/).map(e=>e.trim()).filter(Boolean).map(e=>Number(e)).filter(e=>Number.isFinite(e)&&e>0);if(!n.length)return null;const r=n.length%2===1?n.concat(n):n,i=r.reduce((e,t)=>e+t,0);return i>0?i:null},d=e=>{const t={...e||{}};return delete t.groupId,delete t.type,t},f=e=>{const t=e&&e.children?e.children:[];if(!t.length)return[];const n=new Map;t.forEach((e,t)=>{if(!e)return;const r=e.getData("outerFrame");if(!r||!r.groupId)return;if(r.type&&r.type!==i.CHILDREN_RANGE)return;const o=r.groupId,s=n.get(o)||[];s.push({node:e,index:t}),n.set(o,s)});const r=[];return n.forEach((e,t)=>{const n=e.map(e=>e.node),i=e.map(e=>e.index),o=Math.min(...i),s=Math.max(...i);r.push({groupId:t,nodeList:n,range:[o,s]})}),r},p=e=>{const t=e&&e.getRootNodes&&e.getRootNodes()||[];if(!t.length)return[];const n=new Map;t.forEach(e=>{if(!e||!e.isRoot)return;const t=e.getData("outerFrame");if(!t||!t.groupId)return;if(t.type&&t.type!==i.ROOT_GROUP)return;const r=t.groupId,o=n.get(r)||[];o.push(e),n.set(r,o)});const r=[];return n.forEach((e,t)=>{r.push({groupId:t,nodeList:e})}),r};class m{constructor(e={}){this.mindMap=e.mindMap,this.draw=null,this.createDrawContainer(),this.outerFrameElList=[],this.activeOuterFrame=null,this.isNotRenderOuterFrames=!1,this.pendingActiveOuterFrameId=null,this.nodeDragRafId=null,this.nodeDragPendingNode=null,this.nodeDragPreviewGroup=null,this.nodeDragPreviewFrameMap=new Map,this.nodeDragHiddenFrameMap=new Map,this.isDragging=!1,this.dragState=null,this.dragRafId=null,this.dragPendingOffset=null,this.suppressNextClick=!1,this.ensureOuterFrameCss(),this.bindEvent()}ensureOuterFrameCss(){this.mindMap.appendCss("outerFrame","\n @keyframes smm-outer-frame-dash-flow {\n from { stroke-dashoffset: var(--smm-outer-frame-dashoffset-from, 24); }\n to { stroke-dashoffset: 0; }\n }\n .smm-outer-frame--flow .smm-outer-frame__rect {\n animation-name: smm-outer-frame-dash-flow;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n will-change: stroke-dashoffset;\n }\n ")}createDrawContainer(){this.draw=this.mindMap.draw.group(),this.draw.addClass("smm-outer-frame-container"),this.draw.back(),this.draw.forward()}bindEvent(){this.renderOuterFrames=this.renderOuterFrames.bind(this),this.mindMap.on("node_tree_render_end",this.renderOuterFrames),this.mindMap.on("data_change",this.renderOuterFrames),this.clearActiveOuterFrame=this.clearActiveOuterFrame.bind(this),this.mindMap.on("draw_click",this.clearActiveOuterFrame),this.mindMap.on("node_click",this.clearActiveOuterFrame),this.addOuterFrame=this.addOuterFrame.bind(this),this.mindMap.command.add("ADD_OUTER_FRAME",this.addOuterFrame),this.removeActiveOuterFrame=this.removeActiveOuterFrame.bind(this),this.mindMap.keyCommand.addShortcut("Del|Backspace",this.removeActiveOuterFrame),this.onMousemove=this.onMousemove.bind(this),this.onMouseup=this.onMouseup.bind(this),this.mindMap.on("mousemove",this.onMousemove),this.mindMap.on("mouseup",this.onMouseup),this.onNodeDragging=this.onNodeDragging.bind(this),this.onNodeDragend=this.onNodeDragend.bind(this),this.mindMap.on("node_dragging",this.onNodeDragging),this.mindMap.on("node_dragend",this.onNodeDragend)}unBindEvent(){this.cancelRootGroupDrag(),this.clearNodeDragPreview(),this.mindMap.off("node_tree_render_end",this.renderOuterFrames),this.mindMap.off("data_change",this.renderOuterFrames),this.mindMap.off("draw_click",this.clearActiveOuterFrame),this.mindMap.off("node_click",this.clearActiveOuterFrame),this.mindMap.command.remove("ADD_OUTER_FRAME",this.addOuterFrame),this.mindMap.keyCommand.removeShortcut("Del|Backspace",this.removeActiveOuterFrame),this.mindMap.off("mousemove",this.onMousemove),this.mindMap.off("mouseup",this.onMouseup),this.mindMap.off("node_dragging",this.onNodeDragging),this.mindMap.off("node_dragend",this.onNodeDragend)}onNodeDragging(e){this.nodeDragPendingNode=e,this.nodeDragRafId||(this.nodeDragRafId=requestAnimationFrame(()=>{this.nodeDragRafId=null,this.updateNodeDragPreview()}))}onNodeDragend(){this.clearNodeDragPreview()}clearNodeDragPreview(){this.nodeDragRafId&&(cancelAnimationFrame(this.nodeDragRafId),this.nodeDragRafId=null),this.nodeDragPendingNode=null,this.nodeDragHiddenFrameMap&&this.nodeDragHiddenFrameMap.size>0&&(this.nodeDragHiddenFrameMap.forEach(e=>{const t=e&&e.el;if(t)try{t.opacity("number"===typeof e.opacity?e.opacity:1),t.css("pointer-events","")}catch(n){}}),this.nodeDragHiddenFrameMap.clear()),this.nodeDragPreviewGroup&&(this.nodeDragPreviewGroup.remove(),this.nodeDragPreviewGroup=null),this.nodeDragPreviewFrameMap&&this.nodeDragPreviewFrameMap.clear()}ensureNodeDragPreviewGroup(){if(this.nodeDragPreviewGroup)return this.nodeDragPreviewGroup;const e=this.mindMap.otherDraw.group();return e.addClass("smm-outer-frame-node-drag-preview"),e.css("pointer-events","none"),this.nodeDragPreviewGroup=e,e}getNodeShapeRboxFromSvgEl(e){if(!e||"function"!==typeof e.findOne)return null;let t=null;try{t=e.findOne(".smm-node-shape")}catch(n){t=null}if(!t||"function"!==typeof t.rbox)return null;try{const e=t.rbox(),n=a(e.x)?e.x:a(e.left)?e.left:null,r=a(e.y)?e.y:a(e.top)?e.top:null,i=a(e.width)?e.width:a(e.w)?e.w:null,o=a(e.height)?e.height:a(e.h)?e.h:null;return a(n)&&a(r)&&a(i)&&a(o)?{left:n,top:r,width:i,height:o}:null}catch(n){return null}}getDragPreviewBoundingRectForSingleNode(){const e=this.mindMap.drag;if(!e||!e.isDragging)return null;if(!e.clone)return null;if(!e.beingDragNodeList||1!==e.beingDragNodeList.length)return null;const t=[],n=this.getNodeShapeRboxFromSvgEl(e.clone);if(n&&t.push(n),"subtree"===e.dragPreviewMode&&e.previewCloneList&&e.previewCloneList.length&&e.previewCloneList.forEach(e=>{const n=this.getNodeShapeRboxFromSvgEl(e);n&&t.push(n)}),!t.length)return null;let r=1/0,i=1/0,o=-1/0,s=-1/0;return t.forEach(e=>{r=Math.min(r,e.left),i=Math.min(i,e.top),o=Math.max(o,e.left+e.width),s=Math.max(s,e.top+e.height)}),a(r)&&a(i)&&a(o)&&a(s)?{left:r,top:i,width:o-r,height:s-i}:null}getOuterFrameMetaByMemberNode(e){if(!e||!e.getData)return null;const t=e.getData("outerFrame");if(!t||!t.groupId)return null;if(e.isRoot){if(t.type&&t.type!==i.ROOT_GROUP)return null;const e=t.groupId,n="root",r=i.ROOT_GROUP;return{outerFrameId:l(r,n,e),type:r,scopeId:n,groupId:e,style:u(t)}}if(t.type&&t.type!==i.CHILDREN_RANGE)return null;if(!e.parent)return null;const n=t.groupId,r=e.parent.uid,o=i.CHILDREN_RANGE;return{outerFrameId:l(o,r,n),type:o,scopeId:r,groupId:n,style:u(t)}}createOuterFramePreviewEl(e,t,n,r,i,o,s){const a=e.group();a.addClass("smm-outer-frame"),a.addClass("smm-outer-frame--preview"),a.attr("data-outer-frame-id",s.outerFrameId),a.css("pointer-events","none");const l=a.rect().addClass("smm-outer-frame__rect").size(r,i).radius(o.radius).stroke({width:o.strokeWidth,color:o.strokeColor,dasharray:o.strokeDasharray}).fill({color:o.fill}).x(t).y(n);l.css("pointer-events","none"),l.cacheStyle={dasharray:o.strokeDasharray};const c=this.createOuterFrameLabel(a,{x:t,y:n,width:r,height:i},o);return this.applyFlowStyle(a,l,o),{group:a,rect:l,label:c}}updateOuterFramePreviewEl(e,t,n,r,i,o){e&&e.group&&e.rect&&(e.rect.size(r,i).radius(o.radius).stroke({width:o.strokeWidth,color:o.strokeColor,dasharray:o.strokeDasharray}).fill({color:o.fill}).x(t).y(n),e.rect.cacheStyle&&(e.rect.cacheStyle.dasharray=o.strokeDasharray),e.label&&(e.label.remove(),e.label=null),e.label=this.createOuterFrameLabel(e.group,{x:t,y:n,width:r,height:i},o),this.applyFlowStyle(e.group,e.rect,o))}updateNodeDragPreview(){const e=this.mindMap.drag;if(!e||!e.isDragging)return;if(!e.beingDragNodeList||e.beingDragNodeList.length<=0)return;const t=e.beingDragNodeList.map(e=>this.getOuterFrameMetaByMemberNode(e)).filter(Boolean);if(!t.length)return void this.clearNodeDragPreview();const n=e.beingDragNodeList&&1===e.beingDragNodeList.length,i=n?e.beingDragNodeList[0]:null,o=n?this.getDragPreviewBoundingRectForSingleNode():null,s=this.mindMap.draw.transform(),l=s.scaleX||1,c=s.scaleY||1,{outerFramePaddingX:u,outerFramePaddingY:h}=this.mindMap.opt,d=this.ensureNodeDragPreviewGroup(),f=new Set;t.forEach(e=>{if(f.add(e.outerFrameId),!this.nodeDragHiddenFrameMap.has(e.outerFrameId)){const t=this.draw&&"function"===typeof this.draw.findOne?this.draw.findOne(`[data-outer-frame-id="${e.outerFrameId}"]`):null;if(t){let n=1;try{const e=t.opacity();"number"===typeof e&&(n=e)}catch(k){}this.nodeDragHiddenFrameMap.set(e.outerFrameId,{el:t,opacity:n});try{t.opacity(0),t.css("pointer-events","none")}catch(k){}}}if(!i||!o){if(this.nodeDragPreviewFrameMap.has(e.outerFrameId)){const t=this.nodeDragPreviewFrameMap.get(e.outerFrameId);t&&t.group&&"function"===typeof t.group.remove&&t.group.remove(),this.nodeDragPreviewFrameMap.delete(e.outerFrameId)}return}const t=this.getOuterFrameMembers(e);if(!t.length)return;let n=1/0,p=1/0,m=-1/0,g=-1/0;if(t.forEach(e=>{if(!e)return;const t=e.uid===i.uid?o:Object(r["N"])(e,0,0,0,0,!1,!0);t&&a(t.left)&&a(t.top)&&a(t.width)&&a(t.height)&&(n=Math.min(n,t.left),p=Math.min(p,t.top),m=Math.max(m,t.left+t.width),g=Math.max(g,t.top+t.height))}),!a(n)||!a(p)||!a(m)||!a(g))return;const b=(n-u-this.mindMap.elRect.left-s.translateX)/l,y=(p-h-this.mindMap.elRect.top-s.translateY)/c,v=(m-n+2*u)/l,x=(g-p+2*h)/c;if(!a(b)||!a(y)||!a(v)||!a(x))return;let w=this.nodeDragPreviewFrameMap.get(e.outerFrameId);w?this.updateOuterFramePreviewEl(w,b,y,v,x,e.style):(w=this.createOuterFramePreviewEl(d,b,y,v,x,e.style,e),this.nodeDragPreviewFrameMap.set(e.outerFrameId,w))}),this.nodeDragPreviewFrameMap&&this.nodeDragPreviewFrameMap.size>0&&Array.from(this.nodeDragPreviewFrameMap.keys()).forEach(e=>{if(f.has(e))return;const t=this.nodeDragPreviewFrameMap.get(e);t&&t.group&&"function"===typeof t.group.remove&&t.group.remove(),this.nodeDragPreviewFrameMap.delete(e)}),this.nodeDragHiddenFrameMap&&this.nodeDragHiddenFrameMap.size>0&&Array.from(this.nodeDragHiddenFrameMap.keys()).forEach(e=>{if(f.has(e))return;const t=this.nodeDragHiddenFrameMap.get(e),n=t&&t.el;if(n)try{n.opacity("number"===typeof t.opacity?t.opacity:1),n.css("pointer-events","")}catch(r){}this.nodeDragHiddenFrameMap.delete(e)})}cancelRootGroupDrag(){if(this.dragRafId&&(cancelAnimationFrame(this.dragRafId),this.dragRafId=null),this.dragState&&this.dragState.hiddenRoots&&this.dragState.hiddenRoots.forEach(e=>{e&&"function"===typeof e.setOpacity&&e.setOpacity(1)}),this.dragState&&this.dragState.hiddenFrameGroup){const t=this.dragState.hiddenFrameGroup,n="number"===typeof this.dragState.hiddenFrameOpacity?this.dragState.hiddenFrameOpacity:1;try{t.opacity(n),t.css("pointer-events","")}catch(e){}}this.dragState&&this.dragState.previewGroup&&this.dragState.previewGroup.remove(),this.isDragging=!1,this.dragState=null,this.dragPendingOffset=null,this.suppressNextClick=!1}addOuterFrame(e,t={}){if(this.mindMap.opt.readonly)return;e=Object(r["B"])(e);const n=this.mindMap.renderer.activeNodeList;if(n.length<=0&&e.length<=0)return;let o=e.length>0?e:n;o=o.filter(e=>e&&!e.isGeneralization);const a=d(t);let c=!1;this.pendingActiveOuterFrameId=null;const u=o.filter(e=>!e.isRoot),h=s(u);h.forEach(({node:e,range:t})=>{const n=e.children.slice(t[0],t[1]+1);if(!n.length)return;const o=Object(r["u"])();this.pendingActiveOuterFrameId||(this.pendingActiveOuterFrameId=l(i.CHILDREN_RANGE,e.uid,o)),n.forEach(e=>{const t=e.getData("outerFrame")||{},n={...t,...a,groupId:o};n.type&&n.type!==i.CHILDREN_RANGE&&delete n.type,e.nodeData.data.outerFrame=n,c=!0})});const f=this.mindMap.isMultiRoot?o.filter(e=>e&&e.isRoot):[];if(f.length>0){const e=Object(r["u"])();this.pendingActiveOuterFrameId||(this.pendingActiveOuterFrameId=l(i.ROOT_GROUP,"root",e)),f.forEach(t=>{const n=t.getData("outerFrame")||{},r={...n,...a,type:i.ROOT_GROUP,groupId:e};t.nodeData.data.outerFrame=r,c=!0})}c&&this.mindMap.command.originAddHistory()}getActiveOuterFrame(){if(!this.activeOuterFrame)return null;const{meta:e}=this.activeOuterFrame;return e?{...e}:null}removeActiveOuterFrame(){if(!this.activeOuterFrame)return;const{meta:e}=this.activeOuterFrame,t=this.getOuterFrameMembers(e);t.length&&(t.forEach(e=>{e.nodeData.data.outerFrame=null}),this.mindMap.command.originAddHistory(),this.mindMap.emit("outer_frame_delete"))}updateActiveOuterFrame(e={}){if(!this.activeOuterFrame)return;if(this.mindMap.opt.readonly)return;const{meta:t}=this.activeOuterFrame,n=this.getOuterFrameMembers(t);if(!n.length)return;const r=d(e);n.forEach(e=>{const t=e.getData("outerFrame")||{};e.nodeData.data.outerFrame={...t,...r}}),t.style=u({...t.style||{},...r}),this.updateActiveOuterFrameElStyle(t.style),this.isNotRenderOuterFrames=!0,this.mindMap.command.originAddHistory(),this.isNotRenderOuterFrames=!1}getOuterFrameMembers(e){if(!e||!e.groupId)return[];if(e.type===i.ROOT_GROUP){const t=this.mindMap.getRootNodes&&this.mindMap.getRootNodes()||[];return t.filter(t=>{if(!t||!t.isRoot)return!1;const n=t.getData("outerFrame");return!(!n||n.groupId!==e.groupId)&&(!n.type||n.type===i.ROOT_GROUP)})}const t=this.mindMap.renderer&&this.mindMap.renderer.findNodeByUid&&this.mindMap.renderer.findNodeByUid(e.scopeId);return t&&t.children&&t.children.length?t.children.filter(t=>{if(!t)return!1;const n=t.getData("outerFrame");return!(!n||n.groupId!==e.groupId)&&(!n.type||n.type===i.CHILDREN_RANGE)}):[]}renderOuterFrames(){if(this.isDragging)return;if(this.isNotRenderOuterFrames)return void(this.isNotRenderOuterFrames=!1);const e=this.pendingActiveOuterFrameId;this.pendingActiveOuterFrameId=null,this.clearOuterFrameElList();const t=this.mindMap.getRootNodes&&this.mindMap.getRootNodes()||[];if(!t.length)return;const n=this.mindMap.draw.transform(),{outerFramePaddingX:o,outerFramePaddingY:s}=this.mindMap.opt,c=p(this.mindMap);c.forEach(({groupId:t,nodeList:c})=>{const{left:h,top:d,width:f,height:p}=Object(r["L"])(c);if(!a(h)||!a(d)||!a(f)||!a(p))return;const m=u(c[0].getData("outerFrame")),g={outerFrameId:l(i.ROOT_GROUP,"root",t),type:i.ROOT_GROUP,scopeId:"root",groupId:t,memberUids:c.map(e=>e.uid),style:m},b=(h-o-this.mindMap.elRect.left-n.translateX)/n.scaleX,y=(d-s-this.mindMap.elRect.top-n.translateY)/n.scaleY,v=(f+2*o)/n.scaleX,x=(p+2*s)/n.scaleY,w=this.createOuterFrameEl(b,y,v,x,m,g);this.bindOuterFrameEvents(w,null,null,g,c),e&&g.outerFrameId===e&&this.setActiveOuterFrame(w,null,null,g)}),t.forEach(t=>{t&&Object(r["Db"])(t,null,t=>{if(!t)return;const c=f(t);c.length&&c.forEach(({groupId:c,nodeList:h,range:d})=>{const{left:f,top:p,width:m,height:g}=Object(r["L"])(h);if(!a(f)||!a(p)||!a(m)||!a(g))return;const b=u(h[0].getData("outerFrame")),y={outerFrameId:l(i.CHILDREN_RANGE,t.uid,c),type:i.CHILDREN_RANGE,scopeId:t.uid,groupId:c,memberUids:h.map(e=>e.uid),range:d,style:b},v=(f-o-this.mindMap.elRect.left-n.translateX)/n.scaleX,x=(p-s-this.mindMap.elRect.top-n.translateY)/n.scaleY,w=(m+2*o)/n.scaleX,k=(g+2*s)/n.scaleY,S=this.createOuterFrameEl(v,x,w,k,b,y);this.bindOuterFrameEvents(S,t,d,y,h),e&&y.outerFrameId===e&&this.setActiveOuterFrame(S,t,d,y)})},()=>{},!0,0)})}setActiveOuterFrame(e,t,n,r){this.mindMap.execCommand("CLEAR_ACTIVE_NODE"),this.clearActiveOuterFrame();const{rect:i}=e;this.activeOuterFrame={...e,meta:r,frameRef:e},e.activeOutline&&e.activeOutline.opacity(1),this.mindMap.emit("outer_frame_active",i,t,n,r)}clearActiveOuterFrame(){if(!this.activeOuterFrame)return;const{rect:e,activeOutline:t}=this.activeOuterFrame;t&&t.opacity(0),e.stroke({dasharray:e.cacheStyle.dasharray||c.strokeDasharray}),this.activeOuterFrame=null}createOuterFrameEl(e,t,n,r,i,o){const s=this.draw.group();s.addClass("smm-outer-frame"),s.attr("data-outer-frame-id",o.outerFrameId);const a=s.rect().addClass("smm-outer-frame__rect").size(n,r).radius(i.radius).stroke({width:i.strokeWidth,color:i.strokeColor,dasharray:i.strokeDasharray}).fill({color:i.fill}).x(e).y(t);a.css("pointer-events","none"),a.cacheStyle={dasharray:i.strokeDasharray};const l=s.rect().addClass("smm-outer-frame__active-outline").size(n,r).radius(i.radius).stroke({width:2,color:"#409eff",dasharray:"none"}).fill("none").x(e).y(t);l.css("pointer-events","none"),l.opacity(0);const c=Math.max(12,(i.strokeWidth||0)+10),u=s.rect().addClass("smm-outer-frame__hit").size(n,r).radius(i.radius).stroke({width:c,color:"transparent"}).fill("none").x(e).y(t);u.css("pointer-events","stroke");const h=this.createOuterFrameLabel(s,{x:e,y:t,width:n,height:r},i);return this.applyFlowStyle(s,a,i),this.outerFrameElList.push(s),{group:s,rect:a,activeOutline:l,hitArea:u,label:h}}applyFlowStyle(e,t,n){const r=n.strokeFlow&&n.strokeDasharray&&"none"!==n.strokeDasharray;if(r){const r=h(n.strokeDasharray),i=24;let o=i;r&&r>0&&(o=r*Math.max(1,Math.ceil(i/r))),e.addClass("smm-outer-frame--flow"),t.css("animation-duration",n.strokeFlowDuration+"s"),t&&t.node&&t.node.style&&t.node.style.setProperty&&t.node.style.setProperty("--smm-outer-frame-dashoffset-from",String(o)),t.css("stroke-dashoffset",String(o))}else e.removeClass("smm-outer-frame--flow"),t.css("animation-duration",""),t&&t.node&&t.node.style&&("function"===typeof t.node.style.removeProperty?t.node.style.removeProperty("--smm-outer-frame-dashoffset-from"):"function"===typeof t.node.style.setProperty&&t.node.style.setProperty("--smm-outer-frame-dashoffset-from","")),t.css("stroke-dashoffset","")}updateActiveOuterFrameElStyle(e){if(!this.activeOuterFrame)return;const t=this.activeOuterFrame.frameRef||this.activeOuterFrame;if(!t||!t.rect||!t.hitArea||!t.group)return;const{rect:n,hitArea:r,group:i,activeOutline:o}=t;n.radius(e.radius).stroke({width:e.strokeWidth,color:e.strokeColor,dasharray:e.strokeDasharray}).fill({color:e.fill}),n.cacheStyle&&(n.cacheStyle.dasharray=e.strokeDasharray);const s=Math.max(12,(e.strokeWidth||0)+10);r.radius(e.radius).stroke({width:s,color:"transparent"}),o&&o.radius(e.radius).size(n.width(),n.height()).x(n.x()).y(n.y()),t.label&&(t.label.remove(),t.label=null);const a={x:n.x(),y:n.y(),width:n.width(),height:n.height()},l=this.createOuterFrameLabel(i,a,e);t.label=l,this.activeOuterFrame.label=l,l&&t._handlers&&(l.on("click",t._handlers.onClick),l.on("mousedown",t._handlers.onMousedown)),this.applyFlowStyle(i,n,e)}createOuterFrameLabel(e,t,n){if(!n.text||""===n.text.trim())return null;const r=6,i=n.textPadding,s=e.group().addClass("smm-outer-frame__label");s.css("pointer-events","all");const a=s.text(n.text);a.font({family:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',size:n.textFontSize,weight:500}).fill(n.textColor),a.move(0,0);const l=a.bbox(),c=l.width+2*i,u=l.height+2*i,h=s.rect(c,u).radius(4).fill(n.textBackground).stroke({width:0});h.back(),a.move(i,i);const{x:d,y:f,width:p,height:m}=t;let g=d,b=f-u-r;switch(n.textPosition){case o.TOP:g=d+(p-c)/2,b=f-u-r;break;case o.TOP_RIGHT:g=d+p-c,b=f-u-r;break;case o.LEFT:g=d-c-r,b=f+(m-u)/2;break;case o.CENTER:g=d+(p-c)/2,b=f+(m-u)/2;break;case o.RIGHT:g=d+p+r,b=f+(m-u)/2;break;case o.BOTTOM_LEFT:g=d,b=f+m+r;break;case o.BOTTOM:g=d+(p-c)/2,b=f+m+r;break;case o.BOTTOM_RIGHT:g=d+p-c,b=f+m+r;break;case o.TOP_LEFT:default:g=d,b=f-u-r;break}return g+=n.textOffsetX||0,b+=n.textOffsetY||0,s.move(g,b),s}bindOuterFrameEvents(e,t,n,r,o){const s=i=>{i.stopPropagation(),this.suppressNextClick?this.suppressNextClick=!1:this.setActiveOuterFrame(e,t,n,r)},a=s=>{this.mindMap.opt.readonly||(s.preventDefault(),s.stopPropagation(),this.mindMap.emit("svg_mousedown",s),this.suppressNextClick&&(this.suppressNextClick=!1),r.type===i.ROOT_GROUP&&(this.setActiveOuterFrame(e,t,n,r),this.startRootGroupDrag(e,r,o,s)))};e._handlers={onClick:s,onMousedown:a},e.hitArea.on("click",s),e.hitArea.on("mousedown",a),e.label&&(e.label.on("click",s),e.label.on("mousedown",a))}startRootGroupDrag(e,t,n,r){!n||n.length<=0||(this.isDragging=!0,this.dragState={frame:e,meta:t,members:n,startPos:this.mindMap.toPos(r.clientX,r.clientY),dx:0,dy:0,moved:!1,previewGroup:null,previewMode:null,hiddenFrameGroup:null,hiddenFrameOpacity:1})}onMousemove(e){if(!this.isDragging||!this.dragState)return;const{startPos:t}=this.dragState,n=this.mindMap.toPos(e.clientX,e.clientY);if(!a(n.x)||!a(n.y))return;const r=this.mindMap.draw.transform(),i=(n.x-t.x)/(r.scaleX||1),o=(n.y-t.y)/(r.scaleY||1),s=3;if(!(!this.dragState.moved&&Math.abs(n.x-t.x)<=s&&Math.abs(n.y-t.y)<=s)){if(!this.dragState.moved){this.dragState.moved=!0,this.suppressNextClick=!0,this.mindMap.emit("outer_frame_drag_start",this.dragState.meta),this.createRootGroupDragPreview();const e=this.dragState.frame&&this.dragState.frame.group;if(e&&!this.dragState.hiddenFrameGroup){let t=1;try{const n=e.opacity();"number"===typeof n&&(t=n)}catch(l){}this.dragState.hiddenFrameGroup=e,this.dragState.hiddenFrameOpacity=t;try{e.opacity(0),e.css("pointer-events","none")}catch(l){}}}this.dragState.dx=i,this.dragState.dy=o,this.dragPendingOffset={dx:i,dy:o},this.dragRafId||(this.dragRafId=requestAnimationFrame(()=>{if(this.dragRafId=null,!this.dragState||!this.dragPendingOffset)return;const{dx:e,dy:t}=this.dragPendingOffset;this.dragState.previewGroup&&this.dragState.previewGroup.transform({translateX:e,translateY:t})}))}}onMouseup(){if(!this.isDragging||!this.dragState)return;const{moved:e,dx:t,dy:n,members:r}=this.dragState;if(!e)return void this.cancelRootGroupDrag();const{meta:i}=this.dragState;i&&i.outerFrameId&&(this.pendingActiveOuterFrameId=i.outerFrameId),a(t)&&a(n)?(r.forEach(e=>{if(!e||!e.isRoot)return;const r=e.left+t,i=e.top+n;a(r)&&a(i)&&(e.customLeft=r,e.customTop=i,e.nodeData.data.customLeft=r,e.nodeData.data.customTop=i)}),this.isDragging=!1,this.dragPendingOffset=null,this.dragRafId&&(cancelAnimationFrame(this.dragRafId),this.dragRafId=null),this.mindMap.render(()=>{this.isNotRenderOuterFrames=!0,this.mindMap.command.originAddHistory(),this.isNotRenderOuterFrames=!1,Promise.resolve().then(()=>{this.cancelRootGroupDrag()})},"")):this.cancelRootGroupDrag()}createRootGroupDragPreview(){if(!this.dragState||this.dragState.previewGroup)return;const{frame:e,members:t,meta:n}=this.dragState;let r=this.mindMap.opt.outerFrameDragPreviewMode||"frame";["frame","bbox","subtree"].includes(r)||(r="frame");const i="number"===typeof this.mindMap.opt.outerFrameDragPreviewSubtreeMaxNodeCount?this.mindMap.opt.outerFrameDragPreviewSubtreeMaxNodeCount:120;let o=r,s=null;"subtree"===o&&(s=this.collectVisibleSubtreeNodesFromRoots(t,i),s||(o="bbox"));const a=this.mindMap.otherDraw.group();a.addClass("smm-outer-frame-drag-preview"),a.css("pointer-events","none"),"bbox"===o&&this.createRootBBoxGhosts(a,t,n.style),"subtree"===o&&s&&s.length>0&&(this.dragState.hiddenRoots=t,t.forEach(e=>{e&&"function"===typeof e.setOpacity&&e.setOpacity(0)}),this.createSubtreeGhosts(a,s));const l=e.group.clone();l.css("pointer-events","none"),a.add(l),this.dragState.previewGroup=a,this.dragState.previewMode=o}removeRootGroupDragPreview(){this.dragState&&this.dragState.previewGroup&&(this.dragState.previewGroup.remove(),this.dragState.previewGroup=null)}createRootBBoxGhosts(e,t,n){const i=this.mindMap.draw.transform();t.forEach(t=>{if(!t)return;const{left:o,top:s,width:l,height:c}=Object(r["N"])(t,0,0,0,0,!1,!0);if(!a(o)||!a(s)||!a(l)||!a(c))return;const u=(o-this.mindMap.elRect.left-i.translateX)/i.scaleX,h=(s-this.mindMap.elRect.top-i.translateY)/i.scaleY,d=l/i.scaleX,f=c/i.scaleY;e.rect(d,f).move(u,h).fill("none").stroke({color:n.strokeColor,width:1}).opacity(.3).css("pointer-events","none")})}collectVisibleSubtreeNodesFromRoots(e,t=120){const n=[],r=e=>{if(!e||!e.group)return!0;if(n.push(e),t&&n.length>t)return!1;if(e.getData&&!1===e.getData("expand"))return!0;if(e.nodeData&&e.nodeData.data&&e.nodeData.data.isFlowChart)return!0;if(e.children&&e.children.length)for(let i=0;i<e.children.length;i++){if(t&&n.length>t)return!1;const o=r(e.children[i]);if(!o)return!1}return!0};for(let i=0;i<e.length;i++){const t=r(e[i]);if(!t)return null}return t&&n.length>t?null:n}createSubtreeGhosts(e,t){const n=this.mindMap.opt.dragOpacityConfig&&a(this.mindMap.opt.dragOpacityConfig.cloneNodeOpacity)?this.mindMap.opt.dragOpacityConfig.cloneNodeOpacity:.5,r=new Set(t.map(e=>e.uid));t.forEach(t=>{t&&t.children&&t.children.length&&t.children.forEach((i,o)=>{if(!i)return;if(!r.has(i.uid))return;const s=t._lines&&t._lines[o];if(!s)return;const a=s.clone();a.opacity(n),a.css("pointer-events","none"),e.add(a)})}),t.forEach(t=>{if(!t||!t.group)return;const r=t.group.clone(),i=r.findOne(".smm-expand-btn");i&&i.remove(),r.opacity(n),r.css("pointer-events","none"),e.add(r)})}getOuterFrameList(){const e=this.mindMap.getRootNodes&&this.mindMap.getRootNodes()||[];if(!e.length)return[];const t=[];return p(this.mindMap).forEach(({groupId:e,nodeList:n})=>{const r=u(n[0].getData("outerFrame"));t.push({outerFrameId:l(i.ROOT_GROUP,"root",e),type:i.ROOT_GROUP,scopeId:"root",groupId:e,memberUids:n.map(e=>e.uid),style:r})}),e.forEach(e=>{e&&Object(r["Db"])(e,null,e=>{e&&f(e).forEach(({groupId:n,nodeList:r,range:o})=>{const s=u(r[0].getData("outerFrame"));t.push({outerFrameId:l(i.CHILDREN_RANGE,e.uid,n),type:i.CHILDREN_RANGE,scopeId:e.uid,groupId:n,memberUids:r.map(e=>e.uid),range:o,style:s})})},()=>{},!0,0)}),t}clearOuterFrameElList(){this.outerFrameElList.forEach(e=>{e.remove()}),this.outerFrameElList=[],this.activeOuterFrame=null}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}m.instanceName="outerFrame",t["a"]=m},"3f8c":function(e,t,n){"use strict";e.exports={}},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},"401c":function(e){e.exports=JSON.parse('"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"')},"406c":function(e,t,n){"use strict";function r(){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}e.exports=r},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"43cc":function(e,t,n){"use strict";var r=n("8a19"),i=n("1e42"),o=n("682c"),s=n.n(o);class a{constructor(e={}){this.mindMap=e.mindMap,this.lineSpacing=0,this.textSpacing=0,this.angle=0,this.text="",this.textStyle={},this.watermarkDraw=null,this.isInExport=!1,this.maxLong=this.getMaxLong(),this.updateWatermark(this.mindMap.opt.watermarkConfig||{}),this.bindEvent()}getMaxLong(){return Math.sqrt(Math.pow(this.mindMap.width,2)+Math.pow(this.mindMap.height,2))}bindEvent(){this.onResize=this.onResize.bind(this),this.mindMap.on("resize",this.onResize)}unBindEvent(){this.mindMap.off("resize",this.onResize)}onResize(){this.maxLong=this.getMaxLong(),this.draw()}createContainer(){this.watermarkDraw||(this.watermarkDraw=(new r["d"]).css({"pointer-events":"none","user-select":"none"}).addClass("smm-water-mark-container"),this.updateLayer())}updateLayer(){if(!this.watermarkDraw)return;const{belowNode:e}=this.mindMap.opt.watermarkConfig;e?this.watermarkDraw.insertBefore(this.mindMap.draw):this.mindMap.svg.add(this.watermarkDraw)}removeContainer(){this.watermarkDraw&&(this.watermarkDraw.remove(),this.watermarkDraw=null)}hasWatermark(){return!!this.text.trim()}handleConfig({text:e,lineSpacing:t,textSpacing:n,angle:r,textStyle:i}){this.text=void 0===e?"":String(e).trim(),this.lineSpacing="number"===typeof t&&t>0?t:100,this.textSpacing="number"===typeof n&&n>0?n:100,this.angle="number"===typeof r&&r>=0&&r<=90?r:30,this.textStyle=Object.assign(this.textStyle,i||{})}clear(){this.watermarkDraw&&this.watermarkDraw.clear()}draw(){this.clear();const{onlyExport:e}=this.mindMap.opt.watermarkConfig;if(e&&!this.isInExport)return;if(!this.hasWatermark())return void this.removeContainer();this.createContainer();let t=0;while(t<this.mindMap.width)this.drawText(t),t+=this.lineSpacing/Math.sin(Object(i["x"])(this.angle));let n=this.lineSpacing/Math.cos(Object(i["x"])(this.angle))||this.lineSpacing,r=n;while(r<this.mindMap.height)this.drawText(0,r),r+=n}drawText(e,t){let n=Math.min(this.maxLong,(this.mindMap.width-e)/Math.cos(Object(i["x"])(this.angle))),o=new r["d"],s=null,a=0,l=-1;while(a<n){let e=(new r["j"]).text(this.text);o.add(e),e.transform({translateX:a}),this.setTextStyle(e),s=o.bbox(),-1===l&&(l=s.height),a=s.width+this.textSpacing}let c={rotate:this.angle,origin:"top left",translateX:e,translateY:l};void 0!==t&&(c.translateY=t+l),o.transform(c),this.watermarkDraw.add(o)}setTextStyle(e){Object.keys(this.textStyle).forEach(t=>{let n=this.textStyle[t];"color"===t?e.fill(n):e.css(Object(i["e"])(t),n)})}updateWatermark(e){this.mindMap.opt.watermarkConfig=s()(this.mindMap.opt.watermarkConfig,e),this.updateLayer(),this.handleConfig(e),this.draw()}beforePluginRemove(){this.unBindEvent(),this.removeContainer()}beforePluginDestroy(){this.unBindEvent(),this.removeContainer()}}a.instanceName="watermark",t["a"]=a},"44d2":function(e,t,n){"use strict";var r=n("b622"),i=n("7c73"),o=n("9bf2").f,s=r("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},"44e7":function(e,t,n){"use strict";var r=n("861d"),i=n("c6b6"),o=n("b622"),s=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:"RegExp"===i(e))}},4681:function(e,t,n){"use strict";var r=n("966d");function i(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(s,this,e)):r.nextTick(s,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(s,n,e)):r.nextTick(s,n,e):t&&t(e)})),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function s(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:o}},4754:function(e,t,n){"use strict";e.exports=function(e,t){return{value:e,done:t}}},4840:function(e,t,n){"use strict";var r=n("825a"),i=n("5087"),o=n("7234"),s=n("b622"),a=s("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},"48b7":function(e,t,n){"use strict";function r(){return!1}t["a"]=r},"49ee":function(e,t,n){"use strict";var r=n("1e42");class i{constructor({mindMap:e}){this.mindMap=e,this.isInPainter=!1,this.painterNode=null,this.bindEvent()}bindEvent(){this.painterOneNode=this.painterOneNode.bind(this),this.onEndPainter=this.onEndPainter.bind(this),this.mindMap.on("node_click",this.painterOneNode),this.mindMap.on("draw_click",this.onEndPainter)}unBindEvent(){this.mindMap.off("node_click",this.painterOneNode),this.mindMap.off("draw_click",this.onEndPainter)}startPainter(){if(this.mindMap.opt.readonly)return;let e=this.mindMap.renderer.activeNodeList;e.length<=0||(this.painterNode=e[0],this.isInPainter=!0,this.mindMap.emit("painter_start"))}endPainter(){this.painterNode=null,this.isInPainter=!1}onEndPainter(){this.isInPainter&&(this.endPainter(),this.mindMap.emit("painter_end"))}painterOneNode(e){if(!e||!this.isInPainter||!this.painterNode||!e||e.uid===this.painterNode.uid)return;let t={};this.mindMap.opt.onlyPainterNodeCustomStyles||(t={...this.painterNode.effectiveStyles});const n=this.painterNode.getData();Object.keys(n).forEach(e=>{Object(r["g"])(e)&&(t[e]=n[e])}),this.mindMap.renderer._handleRemoveCustomStyles(e.getData()),e.setStyles(t)}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}i.instanceName="painter",t["a"]=i},"4db5":function(e,t,n){"use strict";var r=n("1e42");class i{constructor(e){this.mindMap=e.mindMap,this.isMousedown=!1,this.mousedownPos={x:0,y:0},this.startViewPos={x:0,y:0},this.currentState=null}calculationMiniMap(e,t){let{svg:n,rect:r,origWidth:i,origHeight:o,scaleX:s,scaleY:a}=this.mindMap.getSvgData({ignoreWatermark:!0});const l=this.mindMap.elRect;r.x-=l.left,r.x2-=l.left,r.y-=l.top,r.y2-=l.top;let c=e/t,u=0,h=0;c>r.ratio?(h=t,u=r.ratio*h):(u=e,h=u/r.ratio);let d=u/r.width,f=(e-u)/2,p=(t-h)/2,m=r.width*s,g=r.height*a,b=(m-r.width)/2,y=(g-r.height)/2,v=r.x-b,x=r.x2+b,w=r.y-y,k=r.y2+y,S={left:0,top:0,right:0,bottom:0};S.left=Math.max(0,-v/m*u)+f,S.right=Math.max(0,(x-i)/m*u)+f,S.top=Math.max(0,-w/g*h)+p,S.bottom=Math.max(0,(k-o)/g*h)+p,S.top>p+h&&(S.top=p+h),S.left>f+u&&(S.left=f+u),Object.keys(S).forEach(e=>{S[e]=S[e]+"px"}),this.removeNodeContent(n);const C=n.svg();return this.currentState={viewBoxStyle:{...S},miniMapBoxScale:d,miniMapBoxLeft:f,miniMapBoxTop:p},{getImgUrl:async e=>{const t=await this.mindMap.doExport.fixSvgStrAndToBlob(C);e(t)},svgHTML:C,viewBoxStyle:S,miniMapBoxScale:d,miniMapBoxLeft:f,miniMapBoxTop:p}}removeNodeContent(e){if(e.hasClass("smm-node")){let t=e.findOne(".smm-node-shape"),n=t.attr("fill");return(Object(r["gb"])(n)||Object(r["eb"])(n))&&t.attr("fill",Object(r["U"])(this.mindMap.themeConfig)),e.clear(),void e.add(t)}let t=e.children();t&&t.length>0&&t.forEach(e=>{this.removeNodeContent(e)})}onMousedown(e){this.isMousedown=!0,this.mousedownPos={x:e.clientX,y:e.clientY};let t=this.mindMap.view.getTransformData();this.startViewPos={x:t.state.x,y:t.state.y}}onMousemove(e,t=5){if(!this.isMousedown||this.isViewBoxMousedown)return;let n=e.clientX-this.mousedownPos.x,r=e.clientY-this.mousedownPos.y;this.mindMap.view.translateXTo(n*t+this.startViewPos.x),this.mindMap.view.translateYTo(r*t+this.startViewPos.y)}onMouseup(){this.isMousedown=!1,this.isViewBoxMousedown=!1}onViewBoxMousedown(e){this.isViewBoxMousedown=!0,this.mousedownPos={x:e.clientX,y:e.clientY};let t=this.mindMap.view.getTransformData();this.startViewPos={x:t.state.x,y:t.state.y}}onViewBoxMousemove(e){if(!this.isViewBoxMousedown||!this.currentState||this.isMousedown)return;let t=e.clientX-this.mousedownPos.x,n=e.clientY-this.mousedownPos.y;const{viewBoxStyle:r,miniMapBoxScale:i,miniMapBoxLeft:o,miniMapBoxTop:s}=this.currentState,a=Math.max(o,Number.parseFloat(r.left)+t),l=Math.max(o,Number.parseFloat(r.right)-t),c=Math.max(s,Number.parseFloat(r.top)+n),u=Math.max(s,Number.parseFloat(r.bottom)-n);this.mindMap.emit("mini_map_view_box_position_change",{left:a+"px",right:l+"px",top:c+"px",bottom:u+"px"}),this.mindMap.view.translateXTo(-t/i+this.startViewPos.x),this.mindMap.view.translateYTo(-n/i+this.startViewPos.y)}}i.instanceName="miniMap",t["a"]=i},"4dde":function(e,t,n){"use strict";var r=n("c4ab"),i=n("6f54"),o=n("7280"),s=n("5d9a"),a=n("f537"),l=function(e){function t(t){var n=e.call(this)||this;return n.value=t,n}return Object(r["c"])(t,e),t.prototype.asBytes=function(){for(var e=[],t="",n=!1,r=function(t){void 0!==t&&e.push(t),n=!1},i=0,a=this.value.length;i<a;i++){var l=this.value[i],c=Object(s["S"])(l),u=this.value[i+1];n?c===o["a"].Newline||c===o["a"].CarriageReturn?r():c===o["a"].n?r(o["a"].Newline):c===o["a"].r?r(o["a"].CarriageReturn):c===o["a"].t?r(o["a"].Tab):c===o["a"].b?r(o["a"].Backspace):c===o["a"].f?r(o["a"].FormFeed):c===o["a"].LeftParen?r(o["a"].LeftParen):c===o["a"].RightParen?r(o["a"].RightParen):c===o["a"].Backspace?r(o["a"].BackSlash):c>=o["a"].Zero&&c<=o["a"].Seven?(t+=l,3!==t.length&&u>="0"&&u<="7"||(r(parseInt(t,8)),t="")):r(c):c===o["a"].BackSlash?n=!0:r(c)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return Object(s["A"])(e)?Object(s["Y"])(e):Object(s["K"])(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),t=Object(s["J"])(e);if(!t)throw new a["d"](e);return t},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"("+this.value+")"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(e,t){return e[t++]=o["a"].LeftParen,t+=Object(s["w"])(this.value,e,t),e[t++]=o["a"].RightParen,this.value.length+2},t.of=function(e){return new t(e)},t.fromDate=function(e){var n=Object(s["I"])(String(e.getUTCFullYear()),4,"0"),r=Object(s["I"])(String(e.getUTCMonth()+1),2,"0"),i=Object(s["I"])(String(e.getUTCDate()),2,"0"),o=Object(s["I"])(String(e.getUTCHours()),2,"0"),a=Object(s["I"])(String(e.getUTCMinutes()),2,"0"),l=Object(s["I"])(String(e.getUTCSeconds()),2,"0");return new t("D:"+n+r+i+o+a+l+"Z")},t}(i["a"]);t["a"]=l},5087:function(e,t,n){"use strict";var r=n("68ee"),i=n("0d51"),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(i(e)+" is not a constructor")}},"51a1":function(e,t,n){(function(e,n){var r=200,i="__lodash_hash_undefined__",o=1,s=2,a=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object AsyncFunction]",h="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",b="[object Number]",y="[object Null]",v="[object Object]",x="[object Promise]",w="[object Proxy]",k="[object RegExp]",S="[object Set]",C="[object String]",T="[object Symbol]",z="[object Undefined]",A="[object WeakMap]",O="[object ArrayBuffer]",E="[object DataView]",M="[object Float32Array]",N="[object Float64Array]",R="[object Int8Array]",L="[object Int16Array]",D="[object Int32Array]",F="[object Uint8Array]",j="[object Uint8ClampedArray]",I="[object Uint16Array]",B="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,q=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,U={};U[M]=U[N]=U[R]=U[L]=U[D]=U[F]=U[j]=U[I]=U[B]=!0,U[l]=U[c]=U[O]=U[h]=U[E]=U[d]=U[f]=U[p]=U[g]=U[b]=U[v]=U[k]=U[S]=U[C]=U[A]=!1;var H="object"==typeof e&&e&&e.Object===Object&&e,W="object"==typeof self&&self&&self.Object===Object&&self,V=H||W||Function("return this")(),G=t&&!t.nodeType&&t,K=G&&"object"==typeof n&&n&&!n.nodeType&&n,X=K&&K.exports===G,Y=X&&H.process,Z=function(){try{return Y&&Y.binding&&Y.binding("util")}catch(e){}}(),J=Z&&Z.isTypedArray;function Q(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function $(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}function ee(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}function te(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function ne(e){return function(t){return e(t)}}function re(e,t){return e.has(t)}function ie(e,t){return null==e?void 0:e[t]}function oe(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function se(e,t){return function(n){return e(t(n))}}function ae(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var le=Array.prototype,ce=Function.prototype,ue=Object.prototype,he=V["__core-js_shared__"],de=ce.toString,fe=ue.hasOwnProperty,pe=function(){var e=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),me=ue.toString,ge=RegExp("^"+de.call(fe).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),be=X?V.Buffer:void 0,ye=V.Symbol,ve=V.Uint8Array,xe=ue.propertyIsEnumerable,we=le.splice,ke=ye?ye.toStringTag:void 0,Se=Object.getOwnPropertySymbols,Ce=be?be.isBuffer:void 0,Te=se(Object.keys,Object),ze=At(V,"DataView"),Ae=At(V,"Map"),Oe=At(V,"Promise"),Ee=At(V,"Set"),Me=At(V,"WeakMap"),Ne=At(Object,"create"),Re=jt(ze),Le=jt(Ae),De=jt(Oe),Fe=jt(Ee),je=jt(Me),Ie=ye?ye.prototype:void 0,Be=Ie?Ie.valueOf:void 0;function _e(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function qe(){this.__data__=Ne?Ne(null):{},this.size=0}function Pe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Ue(e){var t=this.__data__;if(Ne){var n=t[e];return n===i?void 0:n}return fe.call(t,e)?t[e]:void 0}function He(e){var t=this.__data__;return Ne?void 0!==t[e]:fe.call(t,e)}function We(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ne&&void 0===t?i:t,this}function Ve(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Ge(){this.__data__=[],this.size=0}function Ke(e){var t=this.__data__,n=ft(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():we.call(t,n,1),--this.size,!0}function Xe(e){var t=this.__data__,n=ft(t,e);return n<0?void 0:t[n][1]}function Ye(e){return ft(this.__data__,e)>-1}function Ze(e,t){var n=this.__data__,r=ft(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Je(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Qe(){this.size=0,this.__data__={hash:new _e,map:new(Ae||Ve),string:new _e}}function $e(e){var t=zt(this,e)["delete"](e);return this.size-=t?1:0,t}function et(e){return zt(this,e).get(e)}function tt(e){return zt(this,e).has(e)}function nt(e,t){var n=zt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function rt(e){var t=-1,n=null==e?0:e.length;this.__data__=new Je;while(++t<n)this.add(e[t])}function it(e){return this.__data__.set(e,i),this}function ot(e){return this.__data__.has(e)}function st(e){var t=this.__data__=new Ve(e);this.size=t.size}function at(){this.__data__=new Ve,this.size=0}function lt(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function ct(e){return this.__data__.get(e)}function ut(e){return this.__data__.has(e)}function ht(e,t){var n=this.__data__;if(n instanceof Ve){var i=n.__data__;if(!Ae||i.length<r-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Je(i)}return n.set(e,t),this.size=n.size,this}function dt(e,t){var n=_t(e),r=!n&&Bt(e),i=!n&&!r&&Pt(e),o=!n&&!r&&!i&&Kt(e),s=n||r||i||o,a=s?te(e.length,String):[],l=a.length;for(var c in e)!t&&!fe.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Nt(c,l))||a.push(c);return a}function ft(e,t){var n=e.length;while(n--)if(It(e[n][0],t))return n;return-1}function pt(e,t,n){var r=t(e);return _t(e)?r:$(r,n(e))}function mt(e){return null==e?void 0===e?z:y:ke&&ke in Object(e)?Ot(e):Ft(e)}function gt(e){return Gt(e)&&mt(e)==l}function bt(e,t,n,r,i){return e===t||(null==e||null==t||!Gt(e)&&!Gt(t)?e!==e&&t!==t:yt(e,t,n,r,bt,i))}function yt(e,t,n,r,i,s){var a=_t(e),u=_t(t),h=a?c:Mt(e),d=u?c:Mt(t);h=h==l?v:h,d=d==l?v:d;var f=h==v,p=d==v,m=h==d;if(m&&Pt(e)){if(!Pt(t))return!1;a=!0,f=!1}if(m&&!f)return s||(s=new st),a||Kt(e)?kt(e,t,n,r,i,s):St(e,t,h,n,r,i,s);if(!(n&o)){var g=f&&fe.call(e,"__wrapped__"),b=p&&fe.call(t,"__wrapped__");if(g||b){var y=g?e.value():e,x=b?t.value():t;return s||(s=new st),i(y,x,n,r,s)}}return!!m&&(s||(s=new st),Ct(e,t,n,r,i,s))}function vt(e){if(!Vt(e)||Lt(e))return!1;var t=Ht(e)?ge:q;return t.test(jt(e))}function xt(e){return Gt(e)&&Wt(e.length)&&!!U[mt(e)]}function wt(e){if(!Dt(e))return Te(e);var t=[];for(var n in Object(e))fe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function kt(e,t,n,r,i,a){var l=n&o,c=e.length,u=t.length;if(c!=u&&!(l&&u>c))return!1;var h=a.get(e);if(h&&a.get(t))return h==t;var d=-1,f=!0,p=n&s?new rt:void 0;a.set(e,t),a.set(t,e);while(++d<c){var m=e[d],g=t[d];if(r)var b=l?r(g,m,d,t,e,a):r(m,g,d,e,t,a);if(void 0!==b){if(b)continue;f=!1;break}if(p){if(!ee(t,(function(e,t){if(!re(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)}))){f=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function St(e,t,n,r,i,a,l){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!a(new ve(e),new ve(t)));case h:case d:case b:return It(+e,+t);case f:return e.name==t.name&&e.message==t.message;case k:case C:return e==t+"";case g:var c=oe;case S:var u=r&o;if(c||(c=ae),e.size!=t.size&&!u)return!1;var p=l.get(e);if(p)return p==t;r|=s,l.set(e,t);var m=kt(c(e),c(t),r,i,a,l);return l["delete"](e),m;case T:if(Be)return Be.call(e)==Be.call(t)}return!1}function Ct(e,t,n,r,i,s){var a=n&o,l=Tt(e),c=l.length,u=Tt(t),h=u.length;if(c!=h&&!a)return!1;var d=c;while(d--){var f=l[d];if(!(a?f in t:fe.call(t,f)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var m=!0;s.set(e,t),s.set(t,e);var g=a;while(++d<c){f=l[d];var b=e[f],y=t[f];if(r)var v=a?r(y,b,f,t,e,s):r(b,y,f,e,t,s);if(!(void 0===v?b===y||i(b,y,n,r,s):v)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return s["delete"](e),s["delete"](t),m}function Tt(e){return pt(e,Xt,Et)}function zt(e,t){var n=e.__data__;return Rt(t)?n["string"==typeof t?"string":"hash"]:n.map}function At(e,t){var n=ie(e,t);return vt(n)?n:void 0}function Ot(e){var t=fe.call(e,ke),n=e[ke];try{e[ke]=void 0;var r=!0}catch(o){}var i=me.call(e);return r&&(t?e[ke]=n:delete e[ke]),i}_e.prototype.clear=qe,_e.prototype["delete"]=Pe,_e.prototype.get=Ue,_e.prototype.has=He,_e.prototype.set=We,Ve.prototype.clear=Ge,Ve.prototype["delete"]=Ke,Ve.prototype.get=Xe,Ve.prototype.has=Ye,Ve.prototype.set=Ze,Je.prototype.clear=Qe,Je.prototype["delete"]=$e,Je.prototype.get=et,Je.prototype.has=tt,Je.prototype.set=nt,rt.prototype.add=rt.prototype.push=it,rt.prototype.has=ot,st.prototype.clear=at,st.prototype["delete"]=lt,st.prototype.get=ct,st.prototype.has=ut,st.prototype.set=ht;var Et=Se?function(e){return null==e?[]:(e=Object(e),Q(Se(e),(function(t){return xe.call(e,t)})))}:Yt,Mt=mt;function Nt(e,t){return t=null==t?a:t,!!t&&("number"==typeof e||P.test(e))&&e>-1&&e%1==0&&e<t}function Rt(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Lt(e){return!!pe&&pe in e}function Dt(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||ue;return e===n}function Ft(e){return me.call(e)}function jt(e){if(null!=e){try{return de.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function It(e,t){return e===t||e!==e&&t!==t}(ze&&Mt(new ze(new ArrayBuffer(1)))!=E||Ae&&Mt(new Ae)!=g||Oe&&Mt(Oe.resolve())!=x||Ee&&Mt(new Ee)!=S||Me&&Mt(new Me)!=A)&&(Mt=function(e){var t=mt(e),n=t==v?e.constructor:void 0,r=n?jt(n):"";if(r)switch(r){case Re:return E;case Le:return g;case De:return x;case Fe:return S;case je:return A}return t});var Bt=gt(function(){return arguments}())?gt:function(e){return Gt(e)&&fe.call(e,"callee")&&!xe.call(e,"callee")},_t=Array.isArray;function qt(e){return null!=e&&Wt(e.length)&&!Ht(e)}var Pt=Ce||Zt;function Ut(e,t){return bt(e,t)}function Ht(e){if(!Vt(e))return!1;var t=mt(e);return t==p||t==m||t==u||t==w}function Wt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function Vt(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Gt(e){return null!=e&&"object"==typeof e}var Kt=J?ne(J):xt;function Xt(e){return qt(e)?dt(e):wt(e)}function Yt(){return[]}function Zt(){return!1}n.exports=Ut}).call(this,n("c8ba"),n("62e4")(e))},5703:function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(){"use strict";var e={};!function(){e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}}(),function(){e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}();var t={};e.d(t,{default:function(){return ho}});class n{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let r,i,o="KaTeX parse error: "+e;const s=t&&t.loc;if(s&&s.start<=s.end){const e=s.lexer.input;r=s.start,i=s.end,r===e.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";const t=e.slice(r,i).replace(/[^]/g,"$&̲");let n,a;n=r>15?"…"+e.slice(r-15,r):e.slice(0,r),a=i+15<e.length?e.slice(i,i+15)+"…":e.slice(i),o+=n+t+a}const a=new Error(o);return a.name="ParseError",a.__proto__=n.prototype,a.position=r,null!=r&&null!=i&&(a.length=i-r),a.rawMessage=e,a}}n.prototype.__proto__=Error.prototype;var r=n;const i=function(e,t){return-1!==e.indexOf(t)},o=function(e,t){return void 0===e?t:e},s=/([A-Z])/g,a=function(e){return e.replace(s,"-$1").toLowerCase()},l={"&":"&",">":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function u(e){return String(e).replace(c,e=>l[e])}const h=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?h(e.body[0]):e:"font"===e.type?h(e.body):e},d=function(e){const t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},p=function(e){const t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"};var m={contains:i,deflt:o,escape:u,hyphenate:a,getBaseElem:h,isCharacterBox:d,protocolFromUrl:p};const 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 <type>"},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 <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:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},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:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",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:e=>Math.max(0,e),cli:"-s, --max-size <n>",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:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function b(e){if(e.default)return e.default;const t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class y{constructor(e){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,e=e||{};for(const t in g)if(g.hasOwnProperty(t)){const n=g[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:b(n)}}reportNonstrict(e,t,n){let i=this.strict;if("function"===typeof i&&(i=i(e,t,n)),i&&"ignore"!==i){if(!0===i||"error"===i)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===i?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+i+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){let r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){const t=m.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}const t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class v{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return O[E[this.id]]}sub(){return O[M[this.id]]}fracNum(){return O[N[this.id]]}fracDen(){return O[R[this.id]]}cramp(){return O[L[this.id]]}text(){return O[D[this.id]]}isTight(){return this.size>=2}}const x=0,w=1,k=2,S=3,C=4,T=5,z=6,A=7,O=[new v(x,0,!1),new v(w,0,!0),new v(k,1,!1),new v(S,1,!0),new v(C,2,!1),new v(T,2,!0),new v(z,3,!1),new v(A,3,!0)],E=[C,T,C,T,z,A,z,A],M=[T,T,T,T,A,A,A,A],N=[k,S,C,T,z,A,z,A],R=[S,S,T,T,A,A,A,A],L=[w,w,S,S,T,T,A,A],D=[x,w,k,S,k,S,k,S];var F={DISPLAY:O[x],TEXT:O[k],SCRIPT:O[C],SCRIPTSCRIPT:O[z]};const j=[{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 I(e){for(let t=0;t<j.length;t++){const n=j[t];for(let t=0;t<n.blocks.length;t++){const r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}const B=[];function _(e){for(let t=0;t<B.length;t+=2)if(e>=B[t]&&e<=B[t+1])return!0;return!1}j.forEach(e=>e.blocks.forEach(e=>B.push(...e)));const q=80,P=function(e,t){return"M95,"+(622+e+t)+"\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"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"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+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},U=function(e,t){return"M263,"+(601+e+t)+"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"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"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+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},H=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\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+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},W=function(e,t){return"M424,"+(2398+e+t)+"\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"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"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+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},V=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"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+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},G=function(e){const t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},K=function(e,t,n){const r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+r+"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 "+t+"H400000v"+(40+e)+"H742z"},X=function(e,t,n){t*=1e3;let r="";switch(e){case"sqrtMain":r=P(t,q);break;case"sqrtSize1":r=U(t,q);break;case"sqrtSize2":r=H(t,q);break;case"sqrtSize3":r=W(t,q);break;case"sqrtSize4":r=V(t,q);break;case"sqrtTall":r=K(t,q,n)}return r},Y=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}},Z={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(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" 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,"+(t+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,-"+(t+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,"+(t+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,-"+(t+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.")}};class Q{constructor(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){const e=e=>e.toText();return this.children.map(e).join("")}}var $={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const ee={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},te={"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function ne(e,t){$[e]=t}function re(e,t,n){if(!$[t])throw new Error("Font metrics not found for font: "+t+".");let r=e.charCodeAt(0),i=$[t][r];if(!i&&e[0]in te&&(r=te[e[0]].charCodeAt(0),i=$[t][r]),i||"text"!==n||_(r)&&(i=$[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}const ie={};function oe(e){let t;if(t=e>=5?0:e>=3?1:2,!ie[t]){const e=ie[t]={cssEmPerMu:ee.quad[t]/18};for(const n in ee)ee.hasOwnProperty(n)&&(e[n]=ee[n][t])}return ie[t]}const se=[[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]],ae=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],le=function(e,t){return t.size<2?e:se[e-1][t.size-1]};class ce{constructor(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||ce.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=ae[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){const t={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(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new ce(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:le(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ae[e-1]})}havingBaseStyle(e){e=e||this.style.text();const t=le(ce.BASESIZE,e);return this.size===t&&this.textSize===ce.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){let e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ce.BASESIZE?["sizing","reset-size"+this.size,"size"+ce.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=oe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ce.BASESIZE=6;var ue=ce;const he={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},de={ex:!0,em:!0,mu:!0},fe=function(e){return"string"!==typeof e&&(e=e.unit),e in he||e in de||"ex"===e},pe=function(e,t){let n;if(e.unit in he)n=he[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},me=function(e){return+e.toFixed(4)+"em"},ge=function(e){return e.filter(e=>e).join(" ")},be=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},ye=function(e){const t=document.createElement(e);t.className=ge(this.classes);for(const n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(const n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},ve=/[\s"'>/=\x00-\x1f]/,xe=function(e){let t="<"+e;this.classes.length&&(t+=' class="'+m.escape(ge(this.classes))+'"');let n="";for(const r in this.style)this.style.hasOwnProperty(r)&&(n+=m.hyphenate(r)+":"+this.style[r]+";");n&&(t+=' style="'+m.escape(n)+'"');for(const i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(ve.test(i))throw new r("Invalid attribute name '"+i+"'");t+=" "+i+'="'+m.escape(this.attributes[i])+'"'}t+=">";for(let r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+e+">",t};class we{constructor(e,t,n,r){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,be.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return ye.call(this,"span")}toMarkup(){return xe.call(this,"span")}}class ke{constructor(e,t,n,r){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,be.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m.contains(this.classes,e)}toNode(){return ye.call(this,"a")}toMarkup(){return xe.call(this,"a")}}class Se{constructor(e,t,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=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e='<img src="'+m.escape(this.src)+'" alt="'+m.escape(this.alt)+'"',t="";for(const n in this.style)this.style.hasOwnProperty(n)&&(t+=m.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+m.escape(t)+'"'),e+="'/>",e}}const Ce={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class Te{constructor(e,t,n,r,i,o,s,a){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=o||0,this.classes=s||[],this.style=a||{},this.maxFontSize=0;const l=I(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Ce[this.text])}hasClass(e){return m.contains(this.classes,e)}toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=me(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=ge(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){let e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=m.escape(ge(this.classes)),t+='"');let n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(const i in this.style)this.style.hasOwnProperty(i)&&(n+=m.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,t+=' style="'+m.escape(n)+'"');const r=m.escape(this.text);return e?(t+=">",t+=r,t+="</span>",t):r}}class ze{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){let e='<svg xmlns="http://www.w3.org/2000/svg"';for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+m.escape(this.attributes[t])+'"');e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</svg>",e}}class Ae{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",Z[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+m.escape(this.alternate)+'"/>':'<path d="'+m.escape(Z[this.pathName])+'"/>'}}class Oe{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(const n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t}toMarkup(){let e="<line";for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+m.escape(this.attributes[t])+'"');return e+="/>",e}}function Ee(e){if(e instanceof Te)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Me(e){if(e instanceof we)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}const Ne={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Re={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Le={math:{},text:{}};var De=Le;function Fe(e,t,n,r,i,o){Le[e][i]={font:t,group:n,replace:r},o&&r&&(Le[e][r]=Le[e][i])}const je="math",Ie="text",Be="main",_e="ams",qe="accent-token",Pe="bin",Ue="close",He="inner",We="mathord",Ve="op-token",Ge="open",Ke="punct",Xe="rel",Ye="spacing",Ze="textord";Fe(je,Be,Xe,"≡","\\equiv",!0),Fe(je,Be,Xe,"≺","\\prec",!0),Fe(je,Be,Xe,"≻","\\succ",!0),Fe(je,Be,Xe,"∼","\\sim",!0),Fe(je,Be,Xe,"⊥","\\perp"),Fe(je,Be,Xe,"⪯","\\preceq",!0),Fe(je,Be,Xe,"⪰","\\succeq",!0),Fe(je,Be,Xe,"≃","\\simeq",!0),Fe(je,Be,Xe,"∣","\\mid",!0),Fe(je,Be,Xe,"≪","\\ll",!0),Fe(je,Be,Xe,"≫","\\gg",!0),Fe(je,Be,Xe,"≍","\\asymp",!0),Fe(je,Be,Xe,"∥","\\parallel"),Fe(je,Be,Xe,"⋈","\\bowtie",!0),Fe(je,Be,Xe,"⌣","\\smile",!0),Fe(je,Be,Xe,"⊑","\\sqsubseteq",!0),Fe(je,Be,Xe,"⊒","\\sqsupseteq",!0),Fe(je,Be,Xe,"≐","\\doteq",!0),Fe(je,Be,Xe,"⌢","\\frown",!0),Fe(je,Be,Xe,"∋","\\ni",!0),Fe(je,Be,Xe,"∝","\\propto",!0),Fe(je,Be,Xe,"⊢","\\vdash",!0),Fe(je,Be,Xe,"⊣","\\dashv",!0),Fe(je,Be,Xe,"∋","\\owns"),Fe(je,Be,Ke,".","\\ldotp"),Fe(je,Be,Ke,"⋅","\\cdotp"),Fe(je,Be,Ze,"#","\\#"),Fe(Ie,Be,Ze,"#","\\#"),Fe(je,Be,Ze,"&","\\&"),Fe(Ie,Be,Ze,"&","\\&"),Fe(je,Be,Ze,"ℵ","\\aleph",!0),Fe(je,Be,Ze,"∀","\\forall",!0),Fe(je,Be,Ze,"ℏ","\\hbar",!0),Fe(je,Be,Ze,"∃","\\exists",!0),Fe(je,Be,Ze,"∇","\\nabla",!0),Fe(je,Be,Ze,"♭","\\flat",!0),Fe(je,Be,Ze,"ℓ","\\ell",!0),Fe(je,Be,Ze,"♮","\\natural",!0),Fe(je,Be,Ze,"♣","\\clubsuit",!0),Fe(je,Be,Ze,"℘","\\wp",!0),Fe(je,Be,Ze,"♯","\\sharp",!0),Fe(je,Be,Ze,"♢","\\diamondsuit",!0),Fe(je,Be,Ze,"ℜ","\\Re",!0),Fe(je,Be,Ze,"♡","\\heartsuit",!0),Fe(je,Be,Ze,"ℑ","\\Im",!0),Fe(je,Be,Ze,"♠","\\spadesuit",!0),Fe(je,Be,Ze,"§","\\S",!0),Fe(Ie,Be,Ze,"§","\\S"),Fe(je,Be,Ze,"¶","\\P",!0),Fe(Ie,Be,Ze,"¶","\\P"),Fe(je,Be,Ze,"†","\\dag"),Fe(Ie,Be,Ze,"†","\\dag"),Fe(Ie,Be,Ze,"†","\\textdagger"),Fe(je,Be,Ze,"‡","\\ddag"),Fe(Ie,Be,Ze,"‡","\\ddag"),Fe(Ie,Be,Ze,"‡","\\textdaggerdbl"),Fe(je,Be,Ue,"⎱","\\rmoustache",!0),Fe(je,Be,Ge,"⎰","\\lmoustache",!0),Fe(je,Be,Ue,"⟯","\\rgroup",!0),Fe(je,Be,Ge,"⟮","\\lgroup",!0),Fe(je,Be,Pe,"∓","\\mp",!0),Fe(je,Be,Pe,"⊖","\\ominus",!0),Fe(je,Be,Pe,"⊎","\\uplus",!0),Fe(je,Be,Pe,"⊓","\\sqcap",!0),Fe(je,Be,Pe,"∗","\\ast"),Fe(je,Be,Pe,"⊔","\\sqcup",!0),Fe(je,Be,Pe,"◯","\\bigcirc",!0),Fe(je,Be,Pe,"∙","\\bullet",!0),Fe(je,Be,Pe,"‡","\\ddagger"),Fe(je,Be,Pe,"≀","\\wr",!0),Fe(je,Be,Pe,"⨿","\\amalg"),Fe(je,Be,Pe,"&","\\And"),Fe(je,Be,Xe,"⟵","\\longleftarrow",!0),Fe(je,Be,Xe,"⇐","\\Leftarrow",!0),Fe(je,Be,Xe,"⟸","\\Longleftarrow",!0),Fe(je,Be,Xe,"⟶","\\longrightarrow",!0),Fe(je,Be,Xe,"⇒","\\Rightarrow",!0),Fe(je,Be,Xe,"⟹","\\Longrightarrow",!0),Fe(je,Be,Xe,"↔","\\leftrightarrow",!0),Fe(je,Be,Xe,"⟷","\\longleftrightarrow",!0),Fe(je,Be,Xe,"⇔","\\Leftrightarrow",!0),Fe(je,Be,Xe,"⟺","\\Longleftrightarrow",!0),Fe(je,Be,Xe,"↦","\\mapsto",!0),Fe(je,Be,Xe,"⟼","\\longmapsto",!0),Fe(je,Be,Xe,"↗","\\nearrow",!0),Fe(je,Be,Xe,"↩","\\hookleftarrow",!0),Fe(je,Be,Xe,"↪","\\hookrightarrow",!0),Fe(je,Be,Xe,"↘","\\searrow",!0),Fe(je,Be,Xe,"↼","\\leftharpoonup",!0),Fe(je,Be,Xe,"⇀","\\rightharpoonup",!0),Fe(je,Be,Xe,"↙","\\swarrow",!0),Fe(je,Be,Xe,"↽","\\leftharpoondown",!0),Fe(je,Be,Xe,"⇁","\\rightharpoondown",!0),Fe(je,Be,Xe,"↖","\\nwarrow",!0),Fe(je,Be,Xe,"⇌","\\rightleftharpoons",!0),Fe(je,_e,Xe,"≮","\\nless",!0),Fe(je,_e,Xe,"","\\@nleqslant"),Fe(je,_e,Xe,"","\\@nleqq"),Fe(je,_e,Xe,"⪇","\\lneq",!0),Fe(je,_e,Xe,"≨","\\lneqq",!0),Fe(je,_e,Xe,"","\\@lvertneqq"),Fe(je,_e,Xe,"⋦","\\lnsim",!0),Fe(je,_e,Xe,"⪉","\\lnapprox",!0),Fe(je,_e,Xe,"⊀","\\nprec",!0),Fe(je,_e,Xe,"⋠","\\npreceq",!0),Fe(je,_e,Xe,"⋨","\\precnsim",!0),Fe(je,_e,Xe,"⪹","\\precnapprox",!0),Fe(je,_e,Xe,"≁","\\nsim",!0),Fe(je,_e,Xe,"","\\@nshortmid"),Fe(je,_e,Xe,"∤","\\nmid",!0),Fe(je,_e,Xe,"⊬","\\nvdash",!0),Fe(je,_e,Xe,"⊭","\\nvDash",!0),Fe(je,_e,Xe,"⋪","\\ntriangleleft"),Fe(je,_e,Xe,"⋬","\\ntrianglelefteq",!0),Fe(je,_e,Xe,"⊊","\\subsetneq",!0),Fe(je,_e,Xe,"","\\@varsubsetneq"),Fe(je,_e,Xe,"⫋","\\subsetneqq",!0),Fe(je,_e,Xe,"","\\@varsubsetneqq"),Fe(je,_e,Xe,"≯","\\ngtr",!0),Fe(je,_e,Xe,"","\\@ngeqslant"),Fe(je,_e,Xe,"","\\@ngeqq"),Fe(je,_e,Xe,"⪈","\\gneq",!0),Fe(je,_e,Xe,"≩","\\gneqq",!0),Fe(je,_e,Xe,"","\\@gvertneqq"),Fe(je,_e,Xe,"⋧","\\gnsim",!0),Fe(je,_e,Xe,"⪊","\\gnapprox",!0),Fe(je,_e,Xe,"⊁","\\nsucc",!0),Fe(je,_e,Xe,"⋡","\\nsucceq",!0),Fe(je,_e,Xe,"⋩","\\succnsim",!0),Fe(je,_e,Xe,"⪺","\\succnapprox",!0),Fe(je,_e,Xe,"≆","\\ncong",!0),Fe(je,_e,Xe,"","\\@nshortparallel"),Fe(je,_e,Xe,"∦","\\nparallel",!0),Fe(je,_e,Xe,"⊯","\\nVDash",!0),Fe(je,_e,Xe,"⋫","\\ntriangleright"),Fe(je,_e,Xe,"⋭","\\ntrianglerighteq",!0),Fe(je,_e,Xe,"","\\@nsupseteqq"),Fe(je,_e,Xe,"⊋","\\supsetneq",!0),Fe(je,_e,Xe,"","\\@varsupsetneq"),Fe(je,_e,Xe,"⫌","\\supsetneqq",!0),Fe(je,_e,Xe,"","\\@varsupsetneqq"),Fe(je,_e,Xe,"⊮","\\nVdash",!0),Fe(je,_e,Xe,"⪵","\\precneqq",!0),Fe(je,_e,Xe,"⪶","\\succneqq",!0),Fe(je,_e,Xe,"","\\@nsubseteqq"),Fe(je,_e,Pe,"⊴","\\unlhd"),Fe(je,_e,Pe,"⊵","\\unrhd"),Fe(je,_e,Xe,"↚","\\nleftarrow",!0),Fe(je,_e,Xe,"↛","\\nrightarrow",!0),Fe(je,_e,Xe,"⇍","\\nLeftarrow",!0),Fe(je,_e,Xe,"⇏","\\nRightarrow",!0),Fe(je,_e,Xe,"↮","\\nleftrightarrow",!0),Fe(je,_e,Xe,"⇎","\\nLeftrightarrow",!0),Fe(je,_e,Xe,"△","\\vartriangle"),Fe(je,_e,Ze,"ℏ","\\hslash"),Fe(je,_e,Ze,"▽","\\triangledown"),Fe(je,_e,Ze,"◊","\\lozenge"),Fe(je,_e,Ze,"Ⓢ","\\circledS"),Fe(je,_e,Ze,"®","\\circledR"),Fe(Ie,_e,Ze,"®","\\circledR"),Fe(je,_e,Ze,"∡","\\measuredangle",!0),Fe(je,_e,Ze,"∄","\\nexists"),Fe(je,_e,Ze,"℧","\\mho"),Fe(je,_e,Ze,"Ⅎ","\\Finv",!0),Fe(je,_e,Ze,"⅁","\\Game",!0),Fe(je,_e,Ze,"‵","\\backprime"),Fe(je,_e,Ze,"▲","\\blacktriangle"),Fe(je,_e,Ze,"▼","\\blacktriangledown"),Fe(je,_e,Ze,"■","\\blacksquare"),Fe(je,_e,Ze,"⧫","\\blacklozenge"),Fe(je,_e,Ze,"★","\\bigstar"),Fe(je,_e,Ze,"∢","\\sphericalangle",!0),Fe(je,_e,Ze,"∁","\\complement",!0),Fe(je,_e,Ze,"ð","\\eth",!0),Fe(Ie,Be,Ze,"ð","ð"),Fe(je,_e,Ze,"╱","\\diagup"),Fe(je,_e,Ze,"╲","\\diagdown"),Fe(je,_e,Ze,"□","\\square"),Fe(je,_e,Ze,"□","\\Box"),Fe(je,_e,Ze,"◊","\\Diamond"),Fe(je,_e,Ze,"¥","\\yen",!0),Fe(Ie,_e,Ze,"¥","\\yen",!0),Fe(je,_e,Ze,"✓","\\checkmark",!0),Fe(Ie,_e,Ze,"✓","\\checkmark"),Fe(je,_e,Ze,"ℶ","\\beth",!0),Fe(je,_e,Ze,"ℸ","\\daleth",!0),Fe(je,_e,Ze,"ℷ","\\gimel",!0),Fe(je,_e,Ze,"ϝ","\\digamma",!0),Fe(je,_e,Ze,"ϰ","\\varkappa"),Fe(je,_e,Ge,"┌","\\@ulcorner",!0),Fe(je,_e,Ue,"┐","\\@urcorner",!0),Fe(je,_e,Ge,"└","\\@llcorner",!0),Fe(je,_e,Ue,"┘","\\@lrcorner",!0),Fe(je,_e,Xe,"≦","\\leqq",!0),Fe(je,_e,Xe,"⩽","\\leqslant",!0),Fe(je,_e,Xe,"⪕","\\eqslantless",!0),Fe(je,_e,Xe,"≲","\\lesssim",!0),Fe(je,_e,Xe,"⪅","\\lessapprox",!0),Fe(je,_e,Xe,"≊","\\approxeq",!0),Fe(je,_e,Pe,"⋖","\\lessdot"),Fe(je,_e,Xe,"⋘","\\lll",!0),Fe(je,_e,Xe,"≶","\\lessgtr",!0),Fe(je,_e,Xe,"⋚","\\lesseqgtr",!0),Fe(je,_e,Xe,"⪋","\\lesseqqgtr",!0),Fe(je,_e,Xe,"≑","\\doteqdot"),Fe(je,_e,Xe,"≓","\\risingdotseq",!0),Fe(je,_e,Xe,"≒","\\fallingdotseq",!0),Fe(je,_e,Xe,"∽","\\backsim",!0),Fe(je,_e,Xe,"⋍","\\backsimeq",!0),Fe(je,_e,Xe,"⫅","\\subseteqq",!0),Fe(je,_e,Xe,"⋐","\\Subset",!0),Fe(je,_e,Xe,"⊏","\\sqsubset",!0),Fe(je,_e,Xe,"≼","\\preccurlyeq",!0),Fe(je,_e,Xe,"⋞","\\curlyeqprec",!0),Fe(je,_e,Xe,"≾","\\precsim",!0),Fe(je,_e,Xe,"⪷","\\precapprox",!0),Fe(je,_e,Xe,"⊲","\\vartriangleleft"),Fe(je,_e,Xe,"⊴","\\trianglelefteq"),Fe(je,_e,Xe,"⊨","\\vDash",!0),Fe(je,_e,Xe,"⊪","\\Vvdash",!0),Fe(je,_e,Xe,"⌣","\\smallsmile"),Fe(je,_e,Xe,"⌢","\\smallfrown"),Fe(je,_e,Xe,"≏","\\bumpeq",!0),Fe(je,_e,Xe,"≎","\\Bumpeq",!0),Fe(je,_e,Xe,"≧","\\geqq",!0),Fe(je,_e,Xe,"⩾","\\geqslant",!0),Fe(je,_e,Xe,"⪖","\\eqslantgtr",!0),Fe(je,_e,Xe,"≳","\\gtrsim",!0),Fe(je,_e,Xe,"⪆","\\gtrapprox",!0),Fe(je,_e,Pe,"⋗","\\gtrdot"),Fe(je,_e,Xe,"⋙","\\ggg",!0),Fe(je,_e,Xe,"≷","\\gtrless",!0),Fe(je,_e,Xe,"⋛","\\gtreqless",!0),Fe(je,_e,Xe,"⪌","\\gtreqqless",!0),Fe(je,_e,Xe,"≖","\\eqcirc",!0),Fe(je,_e,Xe,"≗","\\circeq",!0),Fe(je,_e,Xe,"≜","\\triangleq",!0),Fe(je,_e,Xe,"∼","\\thicksim"),Fe(je,_e,Xe,"≈","\\thickapprox"),Fe(je,_e,Xe,"⫆","\\supseteqq",!0),Fe(je,_e,Xe,"⋑","\\Supset",!0),Fe(je,_e,Xe,"⊐","\\sqsupset",!0),Fe(je,_e,Xe,"≽","\\succcurlyeq",!0),Fe(je,_e,Xe,"⋟","\\curlyeqsucc",!0),Fe(je,_e,Xe,"≿","\\succsim",!0),Fe(je,_e,Xe,"⪸","\\succapprox",!0),Fe(je,_e,Xe,"⊳","\\vartriangleright"),Fe(je,_e,Xe,"⊵","\\trianglerighteq"),Fe(je,_e,Xe,"⊩","\\Vdash",!0),Fe(je,_e,Xe,"∣","\\shortmid"),Fe(je,_e,Xe,"∥","\\shortparallel"),Fe(je,_e,Xe,"≬","\\between",!0),Fe(je,_e,Xe,"⋔","\\pitchfork",!0),Fe(je,_e,Xe,"∝","\\varpropto"),Fe(je,_e,Xe,"◀","\\blacktriangleleft"),Fe(je,_e,Xe,"∴","\\therefore",!0),Fe(je,_e,Xe,"∍","\\backepsilon"),Fe(je,_e,Xe,"▶","\\blacktriangleright"),Fe(je,_e,Xe,"∵","\\because",!0),Fe(je,_e,Xe,"⋘","\\llless"),Fe(je,_e,Xe,"⋙","\\gggtr"),Fe(je,_e,Pe,"⊲","\\lhd"),Fe(je,_e,Pe,"⊳","\\rhd"),Fe(je,_e,Xe,"≂","\\eqsim",!0),Fe(je,Be,Xe,"⋈","\\Join"),Fe(je,_e,Xe,"≑","\\Doteq",!0),Fe(je,_e,Pe,"∔","\\dotplus",!0),Fe(je,_e,Pe,"∖","\\smallsetminus"),Fe(je,_e,Pe,"⋒","\\Cap",!0),Fe(je,_e,Pe,"⋓","\\Cup",!0),Fe(je,_e,Pe,"⩞","\\doublebarwedge",!0),Fe(je,_e,Pe,"⊟","\\boxminus",!0),Fe(je,_e,Pe,"⊞","\\boxplus",!0),Fe(je,_e,Pe,"⋇","\\divideontimes",!0),Fe(je,_e,Pe,"⋉","\\ltimes",!0),Fe(je,_e,Pe,"⋊","\\rtimes",!0),Fe(je,_e,Pe,"⋋","\\leftthreetimes",!0),Fe(je,_e,Pe,"⋌","\\rightthreetimes",!0),Fe(je,_e,Pe,"⋏","\\curlywedge",!0),Fe(je,_e,Pe,"⋎","\\curlyvee",!0),Fe(je,_e,Pe,"⊝","\\circleddash",!0),Fe(je,_e,Pe,"⊛","\\circledast",!0),Fe(je,_e,Pe,"⋅","\\centerdot"),Fe(je,_e,Pe,"⊺","\\intercal",!0),Fe(je,_e,Pe,"⋒","\\doublecap"),Fe(je,_e,Pe,"⋓","\\doublecup"),Fe(je,_e,Pe,"⊠","\\boxtimes",!0),Fe(je,_e,Xe,"⇢","\\dashrightarrow",!0),Fe(je,_e,Xe,"⇠","\\dashleftarrow",!0),Fe(je,_e,Xe,"⇇","\\leftleftarrows",!0),Fe(je,_e,Xe,"⇆","\\leftrightarrows",!0),Fe(je,_e,Xe,"⇚","\\Lleftarrow",!0),Fe(je,_e,Xe,"↞","\\twoheadleftarrow",!0),Fe(je,_e,Xe,"↢","\\leftarrowtail",!0),Fe(je,_e,Xe,"↫","\\looparrowleft",!0),Fe(je,_e,Xe,"⇋","\\leftrightharpoons",!0),Fe(je,_e,Xe,"↶","\\curvearrowleft",!0),Fe(je,_e,Xe,"↺","\\circlearrowleft",!0),Fe(je,_e,Xe,"↰","\\Lsh",!0),Fe(je,_e,Xe,"⇈","\\upuparrows",!0),Fe(je,_e,Xe,"↿","\\upharpoonleft",!0),Fe(je,_e,Xe,"⇃","\\downharpoonleft",!0),Fe(je,Be,Xe,"⊶","\\origof",!0),Fe(je,Be,Xe,"⊷","\\imageof",!0),Fe(je,_e,Xe,"⊸","\\multimap",!0),Fe(je,_e,Xe,"↭","\\leftrightsquigarrow",!0),Fe(je,_e,Xe,"⇉","\\rightrightarrows",!0),Fe(je,_e,Xe,"⇄","\\rightleftarrows",!0),Fe(je,_e,Xe,"↠","\\twoheadrightarrow",!0),Fe(je,_e,Xe,"↣","\\rightarrowtail",!0),Fe(je,_e,Xe,"↬","\\looparrowright",!0),Fe(je,_e,Xe,"↷","\\curvearrowright",!0),Fe(je,_e,Xe,"↻","\\circlearrowright",!0),Fe(je,_e,Xe,"↱","\\Rsh",!0),Fe(je,_e,Xe,"⇊","\\downdownarrows",!0),Fe(je,_e,Xe,"↾","\\upharpoonright",!0),Fe(je,_e,Xe,"⇂","\\downharpoonright",!0),Fe(je,_e,Xe,"⇝","\\rightsquigarrow",!0),Fe(je,_e,Xe,"⇝","\\leadsto"),Fe(je,_e,Xe,"⇛","\\Rrightarrow",!0),Fe(je,_e,Xe,"↾","\\restriction"),Fe(je,Be,Ze,"‘","`"),Fe(je,Be,Ze,"$","\\$"),Fe(Ie,Be,Ze,"$","\\$"),Fe(Ie,Be,Ze,"$","\\textdollar"),Fe(je,Be,Ze,"%","\\%"),Fe(Ie,Be,Ze,"%","\\%"),Fe(je,Be,Ze,"_","\\_"),Fe(Ie,Be,Ze,"_","\\_"),Fe(Ie,Be,Ze,"_","\\textunderscore"),Fe(je,Be,Ze,"∠","\\angle",!0),Fe(je,Be,Ze,"∞","\\infty",!0),Fe(je,Be,Ze,"′","\\prime"),Fe(je,Be,Ze,"△","\\triangle"),Fe(je,Be,Ze,"Γ","\\Gamma",!0),Fe(je,Be,Ze,"Δ","\\Delta",!0),Fe(je,Be,Ze,"Θ","\\Theta",!0),Fe(je,Be,Ze,"Λ","\\Lambda",!0),Fe(je,Be,Ze,"Ξ","\\Xi",!0),Fe(je,Be,Ze,"Π","\\Pi",!0),Fe(je,Be,Ze,"Σ","\\Sigma",!0),Fe(je,Be,Ze,"Υ","\\Upsilon",!0),Fe(je,Be,Ze,"Φ","\\Phi",!0),Fe(je,Be,Ze,"Ψ","\\Psi",!0),Fe(je,Be,Ze,"Ω","\\Omega",!0),Fe(je,Be,Ze,"A","Α"),Fe(je,Be,Ze,"B","Β"),Fe(je,Be,Ze,"E","Ε"),Fe(je,Be,Ze,"Z","Ζ"),Fe(je,Be,Ze,"H","Η"),Fe(je,Be,Ze,"I","Ι"),Fe(je,Be,Ze,"K","Κ"),Fe(je,Be,Ze,"M","Μ"),Fe(je,Be,Ze,"N","Ν"),Fe(je,Be,Ze,"O","Ο"),Fe(je,Be,Ze,"P","Ρ"),Fe(je,Be,Ze,"T","Τ"),Fe(je,Be,Ze,"X","Χ"),Fe(je,Be,Ze,"¬","\\neg",!0),Fe(je,Be,Ze,"¬","\\lnot"),Fe(je,Be,Ze,"⊤","\\top"),Fe(je,Be,Ze,"⊥","\\bot"),Fe(je,Be,Ze,"∅","\\emptyset"),Fe(je,_e,Ze,"∅","\\varnothing"),Fe(je,Be,We,"α","\\alpha",!0),Fe(je,Be,We,"β","\\beta",!0),Fe(je,Be,We,"γ","\\gamma",!0),Fe(je,Be,We,"δ","\\delta",!0),Fe(je,Be,We,"ϵ","\\epsilon",!0),Fe(je,Be,We,"ζ","\\zeta",!0),Fe(je,Be,We,"η","\\eta",!0),Fe(je,Be,We,"θ","\\theta",!0),Fe(je,Be,We,"ι","\\iota",!0),Fe(je,Be,We,"κ","\\kappa",!0),Fe(je,Be,We,"λ","\\lambda",!0),Fe(je,Be,We,"μ","\\mu",!0),Fe(je,Be,We,"ν","\\nu",!0),Fe(je,Be,We,"ξ","\\xi",!0),Fe(je,Be,We,"ο","\\omicron",!0),Fe(je,Be,We,"π","\\pi",!0),Fe(je,Be,We,"ρ","\\rho",!0),Fe(je,Be,We,"σ","\\sigma",!0),Fe(je,Be,We,"τ","\\tau",!0),Fe(je,Be,We,"υ","\\upsilon",!0),Fe(je,Be,We,"ϕ","\\phi",!0),Fe(je,Be,We,"χ","\\chi",!0),Fe(je,Be,We,"ψ","\\psi",!0),Fe(je,Be,We,"ω","\\omega",!0),Fe(je,Be,We,"ε","\\varepsilon",!0),Fe(je,Be,We,"ϑ","\\vartheta",!0),Fe(je,Be,We,"ϖ","\\varpi",!0),Fe(je,Be,We,"ϱ","\\varrho",!0),Fe(je,Be,We,"ς","\\varsigma",!0),Fe(je,Be,We,"φ","\\varphi",!0),Fe(je,Be,Pe,"∗","*",!0),Fe(je,Be,Pe,"+","+"),Fe(je,Be,Pe,"−","-",!0),Fe(je,Be,Pe,"⋅","\\cdot",!0),Fe(je,Be,Pe,"∘","\\circ",!0),Fe(je,Be,Pe,"÷","\\div",!0),Fe(je,Be,Pe,"±","\\pm",!0),Fe(je,Be,Pe,"×","\\times",!0),Fe(je,Be,Pe,"∩","\\cap",!0),Fe(je,Be,Pe,"∪","\\cup",!0),Fe(je,Be,Pe,"∖","\\setminus",!0),Fe(je,Be,Pe,"∧","\\land"),Fe(je,Be,Pe,"∨","\\lor"),Fe(je,Be,Pe,"∧","\\wedge",!0),Fe(je,Be,Pe,"∨","\\vee",!0),Fe(je,Be,Ze,"√","\\surd"),Fe(je,Be,Ge,"⟨","\\langle",!0),Fe(je,Be,Ge,"∣","\\lvert"),Fe(je,Be,Ge,"∥","\\lVert"),Fe(je,Be,Ue,"?","?"),Fe(je,Be,Ue,"!","!"),Fe(je,Be,Ue,"⟩","\\rangle",!0),Fe(je,Be,Ue,"∣","\\rvert"),Fe(je,Be,Ue,"∥","\\rVert"),Fe(je,Be,Xe,"=","="),Fe(je,Be,Xe,":",":"),Fe(je,Be,Xe,"≈","\\approx",!0),Fe(je,Be,Xe,"≅","\\cong",!0),Fe(je,Be,Xe,"≥","\\ge"),Fe(je,Be,Xe,"≥","\\geq",!0),Fe(je,Be,Xe,"←","\\gets"),Fe(je,Be,Xe,">","\\gt",!0),Fe(je,Be,Xe,"∈","\\in",!0),Fe(je,Be,Xe,"","\\@not"),Fe(je,Be,Xe,"⊂","\\subset",!0),Fe(je,Be,Xe,"⊃","\\supset",!0),Fe(je,Be,Xe,"⊆","\\subseteq",!0),Fe(je,Be,Xe,"⊇","\\supseteq",!0),Fe(je,_e,Xe,"⊈","\\nsubseteq",!0),Fe(je,_e,Xe,"⊉","\\nsupseteq",!0),Fe(je,Be,Xe,"⊨","\\models"),Fe(je,Be,Xe,"←","\\leftarrow",!0),Fe(je,Be,Xe,"≤","\\le"),Fe(je,Be,Xe,"≤","\\leq",!0),Fe(je,Be,Xe,"<","\\lt",!0),Fe(je,Be,Xe,"→","\\rightarrow",!0),Fe(je,Be,Xe,"→","\\to"),Fe(je,_e,Xe,"≱","\\ngeq",!0),Fe(je,_e,Xe,"≰","\\nleq",!0),Fe(je,Be,Ye," ","\\ "),Fe(je,Be,Ye," ","\\space"),Fe(je,Be,Ye," ","\\nobreakspace"),Fe(Ie,Be,Ye," ","\\ "),Fe(Ie,Be,Ye," "," "),Fe(Ie,Be,Ye," ","\\space"),Fe(Ie,Be,Ye," ","\\nobreakspace"),Fe(je,Be,Ye,null,"\\nobreak"),Fe(je,Be,Ye,null,"\\allowbreak"),Fe(je,Be,Ke,",",","),Fe(je,Be,Ke,";",";"),Fe(je,_e,Pe,"⊼","\\barwedge",!0),Fe(je,_e,Pe,"⊻","\\veebar",!0),Fe(je,Be,Pe,"⊙","\\odot",!0),Fe(je,Be,Pe,"⊕","\\oplus",!0),Fe(je,Be,Pe,"⊗","\\otimes",!0),Fe(je,Be,Ze,"∂","\\partial",!0),Fe(je,Be,Pe,"⊘","\\oslash",!0),Fe(je,_e,Pe,"⊚","\\circledcirc",!0),Fe(je,_e,Pe,"⊡","\\boxdot",!0),Fe(je,Be,Pe,"△","\\bigtriangleup"),Fe(je,Be,Pe,"▽","\\bigtriangledown"),Fe(je,Be,Pe,"†","\\dagger"),Fe(je,Be,Pe,"⋄","\\diamond"),Fe(je,Be,Pe,"⋆","\\star"),Fe(je,Be,Pe,"◃","\\triangleleft"),Fe(je,Be,Pe,"▹","\\triangleright"),Fe(je,Be,Ge,"{","\\{"),Fe(Ie,Be,Ze,"{","\\{"),Fe(Ie,Be,Ze,"{","\\textbraceleft"),Fe(je,Be,Ue,"}","\\}"),Fe(Ie,Be,Ze,"}","\\}"),Fe(Ie,Be,Ze,"}","\\textbraceright"),Fe(je,Be,Ge,"{","\\lbrace"),Fe(je,Be,Ue,"}","\\rbrace"),Fe(je,Be,Ge,"[","\\lbrack",!0),Fe(Ie,Be,Ze,"[","\\lbrack",!0),Fe(je,Be,Ue,"]","\\rbrack",!0),Fe(Ie,Be,Ze,"]","\\rbrack",!0),Fe(je,Be,Ge,"(","\\lparen",!0),Fe(je,Be,Ue,")","\\rparen",!0),Fe(Ie,Be,Ze,"<","\\textless",!0),Fe(Ie,Be,Ze,">","\\textgreater",!0),Fe(je,Be,Ge,"⌊","\\lfloor",!0),Fe(je,Be,Ue,"⌋","\\rfloor",!0),Fe(je,Be,Ge,"⌈","\\lceil",!0),Fe(je,Be,Ue,"⌉","\\rceil",!0),Fe(je,Be,Ze,"\\","\\backslash"),Fe(je,Be,Ze,"∣","|"),Fe(je,Be,Ze,"∣","\\vert"),Fe(Ie,Be,Ze,"|","\\textbar",!0),Fe(je,Be,Ze,"∥","\\|"),Fe(je,Be,Ze,"∥","\\Vert"),Fe(Ie,Be,Ze,"∥","\\textbardbl"),Fe(Ie,Be,Ze,"~","\\textasciitilde"),Fe(Ie,Be,Ze,"\\","\\textbackslash"),Fe(Ie,Be,Ze,"^","\\textasciicircum"),Fe(je,Be,Xe,"↑","\\uparrow",!0),Fe(je,Be,Xe,"⇑","\\Uparrow",!0),Fe(je,Be,Xe,"↓","\\downarrow",!0),Fe(je,Be,Xe,"⇓","\\Downarrow",!0),Fe(je,Be,Xe,"↕","\\updownarrow",!0),Fe(je,Be,Xe,"⇕","\\Updownarrow",!0),Fe(je,Be,Ve,"∐","\\coprod"),Fe(je,Be,Ve,"⋁","\\bigvee"),Fe(je,Be,Ve,"⋀","\\bigwedge"),Fe(je,Be,Ve,"⨄","\\biguplus"),Fe(je,Be,Ve,"⋂","\\bigcap"),Fe(je,Be,Ve,"⋃","\\bigcup"),Fe(je,Be,Ve,"∫","\\int"),Fe(je,Be,Ve,"∫","\\intop"),Fe(je,Be,Ve,"∬","\\iint"),Fe(je,Be,Ve,"∭","\\iiint"),Fe(je,Be,Ve,"∏","\\prod"),Fe(je,Be,Ve,"∑","\\sum"),Fe(je,Be,Ve,"⨂","\\bigotimes"),Fe(je,Be,Ve,"⨁","\\bigoplus"),Fe(je,Be,Ve,"⨀","\\bigodot"),Fe(je,Be,Ve,"∮","\\oint"),Fe(je,Be,Ve,"∯","\\oiint"),Fe(je,Be,Ve,"∰","\\oiiint"),Fe(je,Be,Ve,"⨆","\\bigsqcup"),Fe(je,Be,Ve,"∫","\\smallint"),Fe(Ie,Be,He,"…","\\textellipsis"),Fe(je,Be,He,"…","\\mathellipsis"),Fe(Ie,Be,He,"…","\\ldots",!0),Fe(je,Be,He,"…","\\ldots",!0),Fe(je,Be,He,"⋯","\\@cdots",!0),Fe(je,Be,He,"⋱","\\ddots",!0),Fe(je,Be,Ze,"⋮","\\varvdots"),Fe(Ie,Be,Ze,"⋮","\\varvdots"),Fe(je,Be,qe,"ˊ","\\acute"),Fe(je,Be,qe,"ˋ","\\grave"),Fe(je,Be,qe,"¨","\\ddot"),Fe(je,Be,qe,"~","\\tilde"),Fe(je,Be,qe,"ˉ","\\bar"),Fe(je,Be,qe,"˘","\\breve"),Fe(je,Be,qe,"ˇ","\\check"),Fe(je,Be,qe,"^","\\hat"),Fe(je,Be,qe,"⃗","\\vec"),Fe(je,Be,qe,"˙","\\dot"),Fe(je,Be,qe,"˚","\\mathring"),Fe(je,Be,We,"","\\@imath"),Fe(je,Be,We,"","\\@jmath"),Fe(je,Be,Ze,"ı","ı"),Fe(je,Be,Ze,"ȷ","ȷ"),Fe(Ie,Be,Ze,"ı","\\i",!0),Fe(Ie,Be,Ze,"ȷ","\\j",!0),Fe(Ie,Be,Ze,"ß","\\ss",!0),Fe(Ie,Be,Ze,"æ","\\ae",!0),Fe(Ie,Be,Ze,"œ","\\oe",!0),Fe(Ie,Be,Ze,"ø","\\o",!0),Fe(Ie,Be,Ze,"Æ","\\AE",!0),Fe(Ie,Be,Ze,"Œ","\\OE",!0),Fe(Ie,Be,Ze,"Ø","\\O",!0),Fe(Ie,Be,qe,"ˊ","\\'"),Fe(Ie,Be,qe,"ˋ","\\`"),Fe(Ie,Be,qe,"ˆ","\\^"),Fe(Ie,Be,qe,"˜","\\~"),Fe(Ie,Be,qe,"ˉ","\\="),Fe(Ie,Be,qe,"˘","\\u"),Fe(Ie,Be,qe,"˙","\\."),Fe(Ie,Be,qe,"¸","\\c"),Fe(Ie,Be,qe,"˚","\\r"),Fe(Ie,Be,qe,"ˇ","\\v"),Fe(Ie,Be,qe,"¨",'\\"'),Fe(Ie,Be,qe,"˝","\\H"),Fe(Ie,Be,qe,"◯","\\textcircled");const Je={"--":!0,"---":!0,"``":!0,"''":!0};Fe(Ie,Be,Ze,"–","--",!0),Fe(Ie,Be,Ze,"–","\\textendash"),Fe(Ie,Be,Ze,"—","---",!0),Fe(Ie,Be,Ze,"—","\\textemdash"),Fe(Ie,Be,Ze,"‘","`",!0),Fe(Ie,Be,Ze,"‘","\\textquoteleft"),Fe(Ie,Be,Ze,"’","'",!0),Fe(Ie,Be,Ze,"’","\\textquoteright"),Fe(Ie,Be,Ze,"“","``",!0),Fe(Ie,Be,Ze,"“","\\textquotedblleft"),Fe(Ie,Be,Ze,"”","''",!0),Fe(Ie,Be,Ze,"”","\\textquotedblright"),Fe(je,Be,Ze,"°","\\degree",!0),Fe(Ie,Be,Ze,"°","\\degree"),Fe(Ie,Be,Ze,"°","\\textdegree",!0),Fe(je,Be,Ze,"£","\\pounds"),Fe(je,Be,Ze,"£","\\mathsterling",!0),Fe(Ie,Be,Ze,"£","\\pounds"),Fe(Ie,Be,Ze,"£","\\textsterling",!0),Fe(je,_e,Ze,"✠","\\maltese"),Fe(Ie,_e,Ze,"✠","\\maltese");const Qe='0123456789/@."';for(let fo=0;fo<Qe.length;fo++){const e=Qe.charAt(fo);Fe(je,Be,Ze,e,e)}const $e='0123456789!@*()-=+";:?/.,';for(let fo=0;fo<$e.length;fo++){const e=$e.charAt(fo);Fe(Ie,Be,Ze,e,e)}const et="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let fo=0;fo<et.length;fo++){const e=et.charAt(fo);Fe(je,Be,We,e,e),Fe(Ie,Be,Ze,e,e)}Fe(je,_e,Ze,"C","ℂ"),Fe(Ie,_e,Ze,"C","ℂ"),Fe(je,_e,Ze,"H","ℍ"),Fe(Ie,_e,Ze,"H","ℍ"),Fe(je,_e,Ze,"N","ℕ"),Fe(Ie,_e,Ze,"N","ℕ"),Fe(je,_e,Ze,"P","ℙ"),Fe(Ie,_e,Ze,"P","ℙ"),Fe(je,_e,Ze,"Q","ℚ"),Fe(Ie,_e,Ze,"Q","ℚ"),Fe(je,_e,Ze,"R","ℝ"),Fe(Ie,_e,Ze,"R","ℝ"),Fe(je,_e,Ze,"Z","ℤ"),Fe(Ie,_e,Ze,"Z","ℤ"),Fe(je,Be,We,"h","ℎ"),Fe(Ie,Be,We,"h","ℎ");let tt="";for(let fo=0;fo<et.length;fo++){const e=et.charAt(fo);tt=String.fromCharCode(55349,56320+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56372+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56424+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56580+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56684+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56736+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56788+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56840+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56944+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),fo<26&&(tt=String.fromCharCode(55349,56632+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,56476+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt))}tt=String.fromCharCode(55349,56668),Fe(je,Be,We,"k",tt),Fe(Ie,Be,Ze,"k",tt);for(let fo=0;fo<10;fo++){const e=fo.toString();tt=String.fromCharCode(55349,57294+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,57314+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,57324+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt),tt=String.fromCharCode(55349,57334+fo),Fe(je,Be,We,e,tt),Fe(Ie,Be,Ze,e,tt)}const nt="ÐÞþ";for(let fo=0;fo<nt.length;fo++){const e=nt.charAt(fo);Fe(je,Be,We,e,e),Fe(Ie,Be,Ze,e,e)}const rt=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],it=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],ot=function(e,t){const n=e.charCodeAt(0),i=e.charCodeAt(1),o=1024*(n-55296)+(i-56320)+65536,s="math"===t?0:1;if(119808<=o&&o<120484){const e=Math.floor((o-119808)/26);return[rt[e][2],rt[e][s]]}if(120782<=o&&o<=120831){const e=Math.floor((o-120782)/10);return[it[e][2],it[e][s]]}if(120485===o||120486===o)return[rt[0][2],rt[0][s]];if(120486<o&&o<120782)return["",""];throw new r("Unsupported character: "+e)},st=function(e,t,n){return De[n][e]&&De[n][e].replace&&(e=De[n][e].replace),{value:e,metrics:re(e,t,n)}},at=function(e,t,n,r,i){const o=st(e,t,n),s=o.metrics;let a;if(e=o.value,s){let t=s.italic;("text"===n||r&&"mathit"===r.font)&&(t=0),a=new Te(e,s.height,s.depth,t,s.skew,s.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),a=new Te(e,0,0,0,0,0,i);if(r){a.maxFontSize=r.sizeMultiplier,r.style.isTight()&&a.classes.push("mtight");const e=r.getColor();e&&(a.style.color=e)}return a},lt=function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&st(e,"Main-Bold",t).metrics?at(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===De[t][e].font?at(e,"Main-Regular",t,n,r):at(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},ct=function(e,t,n,r,i){return"textord"!==i&&st(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ut=function(e,t,n){const r=e.mode,i=e.text,o=["mord"],s="math"===r||"text"===r&&t.font,a=s?t.font:t.fontFamily;let l="",c="";if(55349===i.charCodeAt(0)&&([l,c]=ot(i,r)),l.length>0)return at(i,l,r,t,o.concat(c));if(a){let e,l;if("boldsymbol"===a){const s=ct(i,r,t,o,n);e=s.fontName,l=[s.fontClass]}else s?(e=Ct[a].fontName,l=[a]):(e=St(a,t.fontWeight,t.fontShape),l=[a,t.fontWeight,t.fontShape]);if(st(i,e,r).metrics)return at(i,e,r,t,o.concat(l));if(Je.hasOwnProperty(i)&&"Typewriter"===e.slice(0,10)){const n=[];for(let s=0;s<i.length;s++)n.push(at(i[s],e,r,t,o.concat(l)));return yt(n)}}if("mathord"===n)return at(i,"Math-Italic",r,t,o.concat(["mathnormal"]));if("textord"===n){const e=De[r][i]&&De[r][i].font;if("ams"===e){const e=St("amsrm",t.fontWeight,t.fontShape);return at(i,e,r,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==e&&e){const n=St(e,t.fontWeight,t.fontShape);return at(i,n,r,t,o.concat(n,t.fontWeight,t.fontShape))}{const e=St("textrm",t.fontWeight,t.fontShape);return at(i,e,r,t,o.concat(t.fontWeight,t.fontShape))}}throw new Error("unexpected type: "+n+" in makeOrd")},ht=(e,t)=>{if(ge(e.classes)!==ge(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){const t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},dt=e=>{for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];n instanceof Te&&r instanceof Te&&ht(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},ft=function(e){let t=0,n=0,r=0;for(let i=0;i<e.children.length;i++){const o=e.children[i];o.height>t&&(t=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},pt=function(e,t,n,r){const i=new we(e,t,n,r);return ft(i),i},mt=(e,t,n,r)=>new we(e,t,n,r),gt=function(e,t,n){const r=pt([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=me(r.height),r.maxFontSize=1,r},bt=function(e,t,n,r){const i=new ke(e,t,n,r);return ft(i),i},yt=function(e){const t=new Q(e);return ft(t),t},vt=function(e,t){return e instanceof Q?pt([],[e],t):e},xt=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let i=r;for(let e=1;e<t.length;e++){const r=-t[e].shift-i-t[e].elem.depth,o=r-(t[e-1].elem.height+t[e-1].elem.depth);i+=r,n.push({type:"kern",size:o}),n.push(t[e])}return{children:n,depth:r}}let t;if("top"===e.positionType){let n=e.positionData;for(let t=0;t<e.children.length;t++){const r=e.children[t];n-="kern"===r.type?r.size:r.elem.height+r.elem.depth}t=n}else if("bottom"===e.positionType)t=-e.positionData;else{const n=e.children[0];if("elem"!==n.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)t=-n.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");t=-n.elem.depth}}return{children:e.children,depth:t}},wt=function(e,t){const{children:n,depth:r}=xt(e);let i=0;for(let f=0;f<n.length;f++){const e=n[f];if("elem"===e.type){const t=e.elem;i=Math.max(i,t.maxFontSize,t.height)}}i+=2;const o=pt(["pstrut"],[]);o.style.height=me(i);const s=[];let a=r,l=r,c=r;for(let f=0;f<n.length;f++){const e=n[f];if("kern"===e.type)c+=e.size;else{const t=e.elem,n=e.wrapperClasses||[],r=e.wrapperStyle||{},a=pt(n,[o,t],void 0,r);a.style.top=me(-i-c-t.depth),e.marginLeft&&(a.style.marginLeft=e.marginLeft),e.marginRight&&(a.style.marginRight=e.marginRight),s.push(a),c+=t.height+t.depth}a=Math.min(a,c),l=Math.max(l,c)}const u=pt(["vlist"],s);let h;if(u.style.height=me(l),a<0){const e=pt([],[]),t=pt(["vlist"],[e]);t.style.height=me(-a);const n=pt(["vlist-s"],[new Te("")]);h=[pt(["vlist-r"],[u,n]),pt(["vlist-r"],[t])]}else h=[pt(["vlist-r"],[u])];const d=pt(["vlist-t"],h);return 2===h.length&&d.classes.push("vlist-t2"),d.height=l,d.depth=-a,d},kt=(e,t)=>{const n=pt(["mspace"],[],t),r=pe(e,t);return n.style.marginRight=me(r),n},St=function(e,t,n){let r,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+r},Ct={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Tt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},zt=function(e,t){const[n,r,i]=Tt[e],o=new Ae(n),s=new ze([o],{width:me(r),height:me(i),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),a=mt(["overlay"],[s],t);return a.height=i,a.style.height=me(i),a.style.width=me(r),a};var At={fontMap:Ct,makeSymbol:at,mathsym:lt,makeSpan:pt,makeSvgSpan:mt,makeLineSpan:gt,makeAnchor:bt,makeFragment:yt,wrapFragment:vt,makeVList:wt,makeOrd:ut,makeGlue:kt,staticSvg:zt,svgData:Tt,tryCombineChars:dt};const Ot={number:3,unit:"mu"},Et={number:4,unit:"mu"},Mt={number:5,unit:"mu"},Nt={mord:{mop:Ot,mbin:Et,mrel:Mt,minner:Ot},mop:{mord:Ot,mop:Ot,mrel:Mt,minner:Ot},mbin:{mord:Et,mop:Et,mopen:Et,minner:Et},mrel:{mord:Mt,mop:Mt,mopen:Mt,minner:Mt},mopen:{},mclose:{mop:Ot,mbin:Et,mrel:Mt,minner:Ot},mpunct:{mord:Ot,mop:Ot,mrel:Mt,mopen:Ot,mclose:Ot,mpunct:Ot,minner:Ot},minner:{mord:Ot,mop:Ot,mbin:Et,mrel:Mt,mopen:Ot,mpunct:Ot,minner:Ot}},Rt={mord:{mop:Ot},mop:{mord:Ot,mop:Ot},mbin:{},mrel:{},mopen:{},mclose:{mop:Ot},mpunct:{},minner:{mop:Ot}},Lt={},Dt={},Ft={};function jt(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:s}=e;const a={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i};for(let l=0;l<n.length;++l)Lt[n[l]]=a;t&&(o&&(Dt[t]=o),s&&(Ft[t]=s))}function It(e){let{type:t,htmlBuilder:n,mathmlBuilder:r}=e;jt({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}const Bt=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},_t=function(e){return"ordgroup"===e.type?e.body:[e]},qt=At.makeSpan,Pt=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ut=["rightmost","mrel","mclose","mpunct"],Ht={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT},Wt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Vt=function(e,t,n,r){void 0===r&&(r=[null,null]);const i=[];for(let c=0;c<e.length;c++){const n=Jt(e[c],t);if(n instanceof Q){const e=n.children;i.push(...e)}else i.push(n)}if(At.tryCombineChars(i),!n)return i;let o=t;if(1===e.length){const n=e[0];"sizing"===n.type?o=t.havingSize(n.size):"styling"===n.type&&(o=t.havingStyle(Ht[n.style]))}const s=qt([r[0]||"leftmost"],[],t),a=qt([r[1]||"rightmost"],[],t),l="root"===n;return Gt(i,(e,t)=>{const n=t.classes[0],r=e.classes[0];"mbin"===n&&m.contains(Ut,r)?t.classes[0]="mord":"mbin"===r&&m.contains(Pt,n)&&(e.classes[0]="mord")},{node:s},a,l),Gt(i,(e,t)=>{const n=Yt(t),r=Yt(e),i=n&&r?e.hasClass("mtight")?Rt[n][r]:Nt[n][r]:null;if(i)return At.makeGlue(i,o)},{node:s},a,l),i},Gt=function(e,t,n,r,i){r&&e.push(r);let o=0;for(;o<e.length;o++){const r=e[o],s=Kt(r);if(s){Gt(s.children,t,n,null,i);continue}const a=!r.hasClass("mspace");if(a){const i=t(r,n.node);i&&(n.insertAfter?n.insertAfter(i):(e.unshift(i),o++))}a?n.node=r:i&&r.hasClass("newline")&&(n.node=qt(["leftmost"])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),o++})(o)}r&&e.pop()},Kt=function(e){return e instanceof Q||e instanceof ke||e instanceof we&&e.hasClass("enclosing")?e:null},Xt=function(e,t){const n=Kt(e);if(n){const e=n.children;if(e.length){if("right"===t)return Xt(e[e.length-1],"right");if("left"===t)return Xt(e[0],"left")}}return e},Yt=function(e,t){return e?(t&&(e=Xt(e,t)),Wt[e.classes[0]]||null):null},Zt=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return qt(t.concat(n))},Jt=function(e,t,n){if(!e)return qt();if(Dt[e.type]){let r=Dt[e.type](e,t);if(n&&t.size!==n.size){r=qt(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new r("Got group of unknown type: '"+e.type+"'")};function Qt(e,t){const n=qt(["base"],e,t),r=qt(["strut"]);return r.style.height=me(n.height+n.depth),n.depth&&(r.style.verticalAlign=me(-n.depth)),n.children.unshift(r),n}function $t(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=Vt(e,t,"root");let i;2===r.length&&r[1].hasClass("tag")&&(i=r.pop());const o=[];let s,a=[];for(let c=0;c<r.length;c++)if(a.push(r[c]),r[c].hasClass("mbin")||r[c].hasClass("mrel")||r[c].hasClass("allowbreak")){let e=!1;while(c<r.length-1&&r[c+1].hasClass("mspace")&&!r[c+1].hasClass("newline"))c++,a.push(r[c]),r[c].hasClass("nobreak")&&(e=!0);e||(o.push(Qt(a,t)),a=[])}else r[c].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(Qt(a,t)),a=[]),o.push(r[c]));a.length>0&&o.push(Qt(a,t)),n?(s=Qt(Vt(n,t,!0)),s.classes=["tag"],o.push(s)):i&&o.push(i);const l=qt(["katex-html"],o);if(l.setAttribute("aria-hidden","true"),s){const e=s.children[0];e.style.height=me(l.height+l.depth),l.depth&&(e.style.verticalAlign=me(-l.depth))}return l}function en(e){return new Q(e)}class tn{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=ge(this.classes));for(let t=0;t<this.children.length;t++)if(this.children[t]instanceof nn&&this.children[t+1]instanceof nn){let n=this.children[t].toText()+this.children[++t].toText();while(this.children[t+1]instanceof nn)n+=this.children[++t].toText();e.appendChild(new nn(n).toNode())}else e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="<"+this.type;for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=m.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+m.escape(ge(this.classes))+'"'),e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class nn{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return m.escape(this.toText())}toText(){return this.text}}class rn{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?" ":e>=-.05556&&e<=-.05555?" ":e>=-.1667&&e<=-.1666?" ":e>=-.2223&&e<=-.2222?" ":e>=-.2778&&e<=-.2777?" ":null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",me(this.width)),e}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+me(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var on={MathNode:tn,TextNode:nn,SpaceNode:rn,newDocumentFragment:en};const sn=function(e,t,n){return!De[t][e]||!De[t][e].replace||55349===e.charCodeAt(0)||Je.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=De[t][e].replace),new on.TextNode(e)},an=function(e){return 1===e.length?e[0]:new on.MathNode("mrow",e)},ln=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathsfit"===n)return"sans-serif-italic";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let i=e.text;if(m.contains(["\\imath","\\jmath"],i))return null;De[r][i]&&De[r][i].replace&&(i=De[r][i].replace);const o=At.fontMap[n].fontName;return re(i,o,r)?At.fontMap[n].variant:null};function cn(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){const t=e.children[0];return t instanceof nn&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){const t=e.children[0];return t instanceof nn&&","===t.text}return!1}const un=function(e,t,n){if(1===e.length){const r=dn(e[0],t);return n&&r instanceof tn&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let i;for(let o=0;o<e.length;o++){const n=dn(e[o],t);if(n instanceof tn&&i instanceof tn){if("mtext"===n.type&&"mtext"===i.type&&n.getAttribute("mathvariant")===i.getAttribute("mathvariant")){i.children.push(...n.children);continue}if("mn"===n.type&&"mn"===i.type){i.children.push(...n.children);continue}if(cn(n)&&"mn"===i.type){i.children.push(...n.children);continue}if("mn"===n.type&&cn(i))n.children=[...i.children,...n.children],r.pop();else if(("msup"===n.type||"msub"===n.type)&&n.children.length>=1&&("mn"===i.type||cn(i))){const e=n.children[0];e instanceof tn&&"mn"===e.type&&(e.children=[...i.children,...e.children],r.pop())}else if("mi"===i.type&&1===i.children.length){const e=i.children[0];if(e instanceof nn&&"̸"===e.text&&("mo"===n.type||"mi"===n.type||"mn"===n.type)){const e=n.children[0];e instanceof nn&&e.text.length>0&&(e.text=e.text.slice(0,1)+"̸"+e.text.slice(1),r.pop())}}}r.push(n),i=n}return r},hn=function(e,t,n){return an(un(e,t,n))},dn=function(e,t){if(!e)return new on.MathNode("mrow");if(Ft[e.type]){const n=Ft[e.type](e,t);return n}throw new r("Got group of unknown type: '"+e.type+"'")};function fn(e,t,n,r,i){const o=un(e,n);let s;s=1===o.length&&o[0]instanceof tn&&m.contains(["mrow","mtable"],o[0].type)?o[0]:new on.MathNode("mrow",o);const a=new on.MathNode("annotation",[new on.TextNode(t)]);a.setAttribute("encoding","application/x-tex");const l=new on.MathNode("semantics",[s,a]),c=new on.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");const u=i?"katex":"katex-mathml";return At.makeSpan([u],[c])}const pn=function(e){return new ue({style:e.displayMode?F.DISPLAY:F.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},mn=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=At.makeSpan(n,[e])}return e},gn=function(e,t,n){const r=pn(n);let i;if("mathml"===n.output)return fn(e,t,r,n.displayMode,!0);if("html"===n.output){const t=$t(e,r);i=At.makeSpan(["katex"],[t])}else{const o=fn(e,t,r,n.displayMode,!1),s=$t(e,r);i=At.makeSpan(["katex"],[o,s])}return mn(i,n)},bn=function(e,t,n){const r=pn(n),i=$t(e,r),o=At.makeSpan(["katex"],[i]);return mn(o,n)};const yn={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":"="},vn=function(e){const t=new on.MathNode("mo",[new on.TextNode(yn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},xn={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]},wn=function(e){return"ordgroup"===e.type?e.body.length:1},kn=function(e,t){function n(){let n=4e5;const r=e.label.slice(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],r)){const i=e,o=wn(i.base);let s,a,l;if(o>5)"widehat"===r||"widecheck"===r?(s=420,n=2364,l=.42,a=r+"4"):(s=312,n=2340,l=.34,a="tilde4");else{const e=[1,1,2,2,3,3][o];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],s=[0,239,300,360,420][e],l=[0,.24,.3,.3,.36,.42][e],a=r+e):(n=[0,600,1033,2339,2340][e],s=[0,260,286,306,312][e],l=[0,.26,.286,.3,.306,.34][e],a="tilde"+e)}const c=new Ae(a),u=new ze([c],{width:"100%",height:me(l),viewBox:"0 0 "+n+" "+s,preserveAspectRatio:"none"});return{span:At.makeSvgSpan([],[u],t),minWidth:0,height:l}}{const e=[],i=xn[r],[o,s,a]=i,l=a/1e3,c=o.length;let u,h;if(1===c){const e=i[3];u=["hide-tail"],h=[e]}else if(2===c)u=["halfarrow-left","halfarrow-right"],h=["xMinYMin","xMaxYMin"];else{if(3!==c)throw new Error("Correct katexImagesData or update code here to support\n "+c+" children.");u=["brace-left","brace-center","brace-right"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r<c;r++){const i=new Ae(o[r]),d=new ze([i],{width:"400em",height:me(l),viewBox:"0 0 "+n+" "+a,preserveAspectRatio:h[r]+" slice"}),f=At.makeSvgSpan([u[r]],[d],t);if(1===c)return{span:f,minWidth:s,height:l};f.style.height=me(l),e.push(f)}return{span:At.makeSpan(["stretchy"],e,t),minWidth:s,height:l}}}const{span:r,minWidth:i,height:o}=n();return r.height=o,r.style.height=me(o),i>0&&(r.style.minWidth=me(i)),r},Sn=function(e,t,n,r,i){let o;const s=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(o=At.makeSpan(["stretchy",t],[],i),"fbox"===t){const e=i.color&&i.getColor();e&&(o.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new Oe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new Oe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new ze(e,{width:"100%",height:me(s)});o=At.makeSvgSpan([],[n],i)}return o.height=s,o.style.height=me(s),o};var Cn={encloseSpan:Sn,mathMLnode:vn,svgSpan:kn};function Tn(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function zn(e){const t=An(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function An(e){return e&&("atom"===e.type||Re.hasOwnProperty(e.type))?e:null}const On=(e,t)=>{let n,r,i;e&&"supsub"===e.type?(r=Tn(e.base,"accent"),n=r.base,e.base=n,i=Me(Jt(e,t)),e.base=r):(r=Tn(e,"accent"),n=r.base);const o=Jt(n,t.havingCrampedStyle()),s=r.isShifty&&m.isCharacterBox(n);let a=0;if(s){const e=m.getBaseElem(n),r=Jt(e,t.havingCrampedStyle());a=Ee(r).skew}const l="\\c"===r.label;let c,u=l?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight);if(r.isStretchy)c=Cn.svgSpan(r,t),c=At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+me(2*a)+")",marginLeft:me(2*a)}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=At.staticSvg("vec",t),n=At.svgData.vec[1]):(e=At.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=Ee(e),e.italic=0,n=e.width,l&&(u+=e.depth)),c=At.makeSpan(["accent-body"],[e]);const i="\\textcircled"===r.label;i&&(c.classes.push("accent-full"),u=o.height);let s=a;i||(s-=n/2),c.style.left=me(s),"\\textcircled"===r.label&&(c.style.top=".2em"),c=At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-u},{type:"elem",elem:c}]},t)}const h=At.makeSpan(["mord","accent"],[c],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]="mord",i):h},En=(e,t)=>{const n=e.isStretchy?Cn.mathMLnode(e.label):new on.MathNode("mo",[sn(e.label,e.mode)]),r=new on.MathNode("mover",[dn(e.base,t),n]);return r.setAttribute("accent","true"),r},Mn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));jt({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:(e,t)=>{const n=Bt(t[0]),r=!Mn.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:On,mathmlBuilder:En}),jt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{const n=t[0];let r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:On,mathmlBuilder:En}),jt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{const n=Jt(e.base,t),r=Cn.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=At.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return At.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:(e,t)=>{const n=Cn.mathMLnode(e.label),r=new on.MathNode("munder",[dn(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const Nn=e=>{const t=new on.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};jt({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(e,t,n){let{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const i=At.wrapFragment(Jt(e.body,r,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";let s;i.classes.push(o+"-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),s=At.wrapFragment(Jt(e.below,r,t),t),s.classes.push(o+"-arrow-pad"));const a=Cn.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*a.height;let c,u=-t.fontMetrics().axisHeight-.5*a.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),s){const e=-t.fontMetrics().axisHeight+s.height+.5*a.height+.111;c=At.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:a,shift:l},{type:"elem",elem:s,shift:e}]},t)}else c=At.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:a,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),At.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){const n=Cn.mathMLnode(e.label);let r;if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){const i=Nn(dn(e.body,t));if(e.below){const o=Nn(dn(e.below,t));r=new on.MathNode("munderover",[n,o,i])}else r=new on.MathNode("mover",[n,i])}else if(e.below){const i=Nn(dn(e.below,t));r=new on.MathNode("munder",[n,i])}else r=Nn(),r=new on.MathNode("mover",[n,r]);return r}});const Rn=At.makeSpan;function Ln(e,t){const n=Vt(e.body,t,!0);return Rn([e.mclass],n,t)}function Dn(e,t){let n;const r=un(e.body,t);return"minner"===e.mclass?n=new on.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new on.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new on.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}jt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:_t(i),isCharacterBox:m.isCharacterBox(i)}},htmlBuilder:Ln,mathmlBuilder:Dn});const Fn=e=>{const t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};jt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){let{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Fn(t[0]),body:_t(t[1]),isCharacterBox:m.isCharacterBox(t[1])}}}),jt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let{parser:n,funcName:r}=e;const i=t[1],o=t[0];let s;s="\\stackrel"!==r?Fn(i):"mrel";const a={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:_t(i)},l={type:"supsub",mode:o.mode,base:a,sup:"\\underset"===r?null:o,sub:"\\underset"===r?o:null};return{type:"mclass",mode:n.mode,mclass:s,body:[l],isCharacterBox:m.isCharacterBox(l)}},htmlBuilder:Ln,mathmlBuilder:Dn}),jt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Fn(t[0]),body:_t(t[0])}},htmlBuilder(e,t){const n=Vt(e.body,t,!0),r=At.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){const n=un(e.body,t),r=new on.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});const jn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},In=()=>({type:"styling",body:[],mode:"math",style:"display"}),Bn=e=>"textord"===e.type&&"@"===e.text,_n=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function qn(e,t,n){const r=jn[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{const e=n.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[i],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),a={type:"ordgroup",mode:"math",body:[e,o,s]};return n.callFunction("\\\\cdparent",[a],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const e={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[e],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Pn(e){const t=[];e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();while(1){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();const n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}let n=[];const i=[n];for(let s=0;s<t.length;s++){const o=t[s];let a=In();for(let t=0;t<o.length;t++)if(Bn(o[t])){n.push(a),t+=1;const i=zn(o[t]).text,s=new Array(2);if(s[0]={type:"ordgroup",mode:"math",body:[]},s[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(i)>-1);else{if(!("<>AV".indexOf(i)>-1))throw new r('Expected one of "<>AV=|." after @',o[t]);for(let e=0;e<2;e++){let n=!0;for(let a=t+1;a<o.length;a++){if(_n(o[a],i)){n=!1,t=a;break}if(Bn(o[a]))throw new r("Missing a "+i+" character to complete a CD arrow.",o[a]);s[e].body.push(o[a])}if(n)throw new r("Missing a "+i+" character to complete a CD arrow.",o[t])}}const l=qn(i,s,e),c={type:"styling",body:[l],mode:"math",style:"display"};n.push(c),a=In()}else a.body.push(o[t]);s%2===0?n.push(a):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();const o=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:o,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}jt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){const n=t.havingStyle(t.style.sup()),r=At.wrapFragment(Jt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=me(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){let n=new on.MathNode("mrow",[dn(e.label,t)]);return n=new on.MathNode("mpadded",[n]),n.setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new on.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),jt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){let{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){const n=At.wrapFragment(Jt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new on.MathNode("mrow",[dn(e.fragment,t)])}}),jt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;const i=Tn(t[0],"ordgroup"),o=i.body;let s="";for(let r=0;r<o.length;r++){const e=Tn(o[r],"textord");s+=e.text}let a,l=parseInt(s);if(isNaN(l))throw new r("\\@char has non-numeric argument "+s);if(l<0||l>=1114111)throw new r("\\@char with invalid code point "+s);return l<=65535?a=String.fromCharCode(l):(l-=65536,a=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:n.mode,text:a}}});const Un=(e,t)=>{const n=Vt(e.body,t.withColor(e.color),!1);return At.makeFragment(n)},Hn=(e,t)=>{const n=un(e.body,t.withColor(e.color)),r=new on.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};jt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){let{parser:n}=e;const r=Tn(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:_t(i)}},htmlBuilder:Un,mathmlBuilder:Hn}),jt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){let{parser:n,breakOnTokenText:r}=e;const i=Tn(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);const o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:Un,mathmlBuilder:Hn}),jt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){let{parser:r}=e;const i="["===r.gullet.future().text?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:i&&Tn(i,"size").value}},htmlBuilder(e,t){const n=At.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=me(pe(e.size,t)))),n},mathmlBuilder(e,t){const n=new on.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",me(pe(e.size,t)))),n}});const Wn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Vn=e=>{const t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},Gn=e=>{let t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t},Kn=(e,t,n,r)=>{let i=e.gullet.macros.get(n.text);null==i&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};jt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t,funcName:n}=e;t.consumeSpaces();const i=t.fetch();if(Wn[i.text])return"\\global"!==n&&"\\\\globallong"!==n||(i.text=Wn[i.text]),Tn(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",i)}}),jt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e,i=t.gullet.popToken();const o=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new r("Expected a control sequence",i);let s,a=0;const l=[[]];while("{"!==t.gullet.future().text)if(i=t.gullet.popToken(),"#"===i.text){if("{"===t.gullet.future().text){s=t.gullet.future(),l[a].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new r('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==a+1)throw new r('Argument number "'+i.text+'" out of order');a++,l.push([])}else{if("EOF"===i.text)throw new r("Expected a macro definition");l[a].push(i.text)}let{tokens:c}=t.gullet.consumeArg();return s&&c.unshift(s),"\\edef"!==n&&"\\xdef"!==n||(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(o,{tokens:c,numArgs:a,delimiters:l},n===Wn[n]),{type:"internal",mode:t.mode}}}),jt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Vn(t.gullet.popToken());t.gullet.consumeSpaces();const i=Gn(t);return Kn(t,r,i,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),jt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Vn(t.gullet.popToken()),i=t.gullet.popToken(),o=t.gullet.popToken();return Kn(t,r,o,"\\\\globalfuture"===n),t.gullet.pushToken(o),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});const Xn=function(e,t,n){const r=De.math[e]&&De.math[e].replace,i=re(r||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},Yn=function(e,t,n,r){const i=n.havingBaseStyle(t),o=At.makeSpan(r.concat(i.sizingClasses(n)),[e],n),s=i.sizeMultiplier/n.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=i.sizeMultiplier,o},Zn=function(e,t,n){const r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=me(i),e.height-=i,e.depth+=i},Jn=function(e,t,n,r,i,o){const s=At.makeSymbol(e,"Main-Regular",i,r),a=Yn(s,t,r,o);return n&&Zn(a,r,t),a},Qn=function(e,t,n,r){return At.makeSymbol(e,"Size"+t+"-Regular",n,r)},$n=function(e,t,n,r,i,o){const s=Qn(e,t,i,r),a=Yn(At.makeSpan(["delimsizing","size"+t],[s],r),F.TEXT,r,o);return n&&Zn(a,r,F.TEXT),a},er=function(e,t,n){let r;r="Size1-Regular"===t?"delim-size1":"delim-size4";const i=At.makeSpan(["delimsizinginner",r],[At.makeSpan([],[At.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},tr=function(e,t,n){const r=$["Size4-Regular"][e.charCodeAt(0)]?$["Size4-Regular"][e.charCodeAt(0)][4]:$["Size1-Regular"][e.charCodeAt(0)][4],i=new Ae("inner",Y(e,Math.round(1e3*t))),o=new ze([i],{width:me(r),height:me(t),style:"width:"+me(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),s=At.makeSvgSpan([],[o],n);return s.height=t,s.style.height=me(t),s.style.width=me(r),{type:"elem",elem:s}},nr=.008,rr={type:"kern",size:-1*nr},ir=["|","\\lvert","\\rvert","\\vert"],or=["\\|","\\lVert","\\rVert","\\Vert"],sr=function(e,t,n,r,i,o){let s,a,l,c,u="",h=0;s=l=c=e,a=null;let d="Size1-Regular";"\\uparrow"===e?l=c="⏐":"\\Uparrow"===e?l=c="‖":"\\downarrow"===e?s=l="⏐":"\\Downarrow"===e?s=l="‖":"\\updownarrow"===e?(s="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===e?(s="\\Uparrow",l="‖",c="\\Downarrow"):m.contains(ir,e)?(l="∣",u="vert",h=333):m.contains(or,e)?(l="∥",u="doublevert",h=556):"["===e||"\\lbrack"===e?(s="⎡",l="⎢",c="⎣",d="Size4-Regular",u="lbrack",h=667):"]"===e||"\\rbrack"===e?(s="⎤",l="⎥",c="⎦",d="Size4-Regular",u="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(l=s="⎢",c="⎣",d="Size4-Regular",u="lfloor",h=667):"\\lceil"===e||"⌈"===e?(s="⎡",l=c="⎢",d="Size4-Regular",u="lceil",h=667):"\\rfloor"===e||"⌋"===e?(l=s="⎥",c="⎦",d="Size4-Regular",u="rfloor",h=667):"\\rceil"===e||"⌉"===e?(s="⎤",l=c="⎥",d="Size4-Regular",u="rceil",h=667):"("===e||"\\lparen"===e?(s="⎛",l="⎜",c="⎝",d="Size4-Regular",u="lparen",h=875):")"===e||"\\rparen"===e?(s="⎞",l="⎟",c="⎠",d="Size4-Regular",u="rparen",h=875):"\\{"===e||"\\lbrace"===e?(s="⎧",a="⎨",c="⎩",l="⎪",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(s="⎫",a="⎬",c="⎭",l="⎪",d="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(s="⎧",c="⎩",l="⎪",d="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(s="⎫",c="⎭",l="⎪",d="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(s="⎧",c="⎭",l="⎪",d="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(s="⎫",c="⎩",l="⎪",d="Size4-Regular");const f=Xn(s,d,i),p=f.height+f.depth,g=Xn(l,d,i),b=g.height+g.depth,y=Xn(c,d,i),v=y.height+y.depth;let x=0,w=1;if(null!==a){const e=Xn(a,d,i);x=e.height+e.depth,w=2}const k=p+v+x,S=Math.max(0,Math.ceil((t-k)/(w*b))),C=k+S*w*b;let T=r.fontMetrics().axisHeight;n&&(T*=r.sizeMultiplier);const z=C/2-T,A=[];if(u.length>0){const e=C-p-v,t=Math.round(1e3*C),n=J(u,Math.round(1e3*e)),i=new Ae(u,n),o=(h/1e3).toFixed(3)+"em",s=(t/1e3).toFixed(3)+"em",a=new ze([i],{width:o,height:s,viewBox:"0 0 "+h+" "+t}),l=At.makeSvgSpan([],[a],r);l.height=t/1e3,l.style.width=o,l.style.height=s,A.push({type:"elem",elem:l})}else{if(A.push(er(c,d,i)),A.push(rr),null===a){const e=C-p-v+2*nr;A.push(tr(l,e,r))}else{const e=(C-p-v-x)/2+2*nr;A.push(tr(l,e,r)),A.push(rr),A.push(er(a,d,i)),A.push(rr),A.push(tr(l,e,r))}A.push(rr),A.push(er(s,d,i))}const O=r.havingBaseStyle(F.TEXT),E=At.makeVList({positionType:"bottom",positionData:z,children:A},O);return Yn(At.makeSpan(["delimsizing","mult"],[E],O),F.TEXT,r,o)},ar=80,lr=.08,cr=function(e,t,n,r,i){const o=X(e,r,n),s=new Ae(e,o),a=new ze([s],{width:"400em",height:me(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return At.makeSvgSpan(["hide-tail"],[a],i)},ur=function(e,t){const n=t.havingBaseSizing(),r=xr("\\surd",e*n.sizeMultiplier,yr,n);let i=n.sizeMultiplier;const o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let s,a,l=0,c=0,u=0;return"small"===r.type?(u=1e3+1e3*o+ar,e<1?i=1:e<1.4&&(i=.7),l=(1+o+lr)/i,c=(1+o)/i,s=cr("sqrtMain",l,u,o,t),s.style.minWidth="0.853em",a=.833/i):"large"===r.type?(u=(1e3+ar)*pr[r.size],c=(pr[r.size]+o)/i,l=(pr[r.size]+o+lr)/i,s=cr("sqrtSize"+r.size,l,u,o,t),s.style.minWidth="1.02em",a=1/i):(l=e+o+lr,c=e+o,u=Math.floor(1e3*e+o)+ar,s=cr("sqrtTall",l,u,o,t),s.style.minWidth="0.742em",a=1.056),s.height=c,s.style.height=me(l),{span:s,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*i}},hr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],dr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],fr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],pr=[0,1.2,1.8,2.4,3],mr=function(e,t,n,i,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m.contains(hr,e)||m.contains(fr,e))return $n(e,t,!1,n,i,o);if(m.contains(dr,e))return sr(e,pr[t],!1,n,i,o);throw new r("Illegal delimiter: '"+e+"'")},gr=[{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}],br=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],yr=[{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"}],vr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},xr=function(e,t,n,r){const i=Math.min(2,3-r.style.size);for(let o=i;o<n.length;o++){if("stack"===n[o].type)break;const i=Xn(e,vr(n[o]),"math");let s=i.height+i.depth;if("small"===n[o].type){const e=r.havingBaseStyle(n[o].style);s*=e.sizeMultiplier}if(s>t)return n[o]}return n[n.length-1]},wr=function(e,t,n,r,i,o){let s;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),s=m.contains(fr,e)?gr:m.contains(hr,e)?yr:br;const a=xr(e,t,s,r);return"small"===a.type?Jn(e,a.style,n,r,i,o):"large"===a.type?$n(e,a.size,n,r,i,o):sr(e,t,n,r,i,o)},kr=function(e,t,n,r,i,o){const s=r.fontMetrics().axisHeight*r.sizeMultiplier,a=901,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-s,n+s),u=Math.max(c/500*a,2*c-l);return wr(e,u,!0,r,i,o)};var Sr={sqrtImage:ur,sizedDelim:mr,sizeToMaxHeight:pr,customSizedDelim:wr,leftRightDelim:kr};const Cr={"\\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}},Tr=["(","\\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 zr(e,t){const n=An(e);if(n&&m.contains(Tr,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Ar(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}jt({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:(e,t)=>{const n=zr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Cr[e.funcName].size,mclass:Cr[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?At.makeSpan([e.mclass]):Sr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(sn(e.delim,e.mode));const n=new on.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");const r=me(Sr.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),jt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:zr(t[0],e).text,color:n}}}),jt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=zr(t[0],e),r=e.parser;++r.leftrightDepth;const i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const o=Tn(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,t)=>{Ar(e);const n=Vt(e.body,t,!0,["mopen","mclose"]);let r,i,o=0,s=0,a=!1;for(let l=0;l<n.length;l++)n[l].isMiddle?a=!0:(o=Math.max(n[l].height,o),s=Math.max(n[l].depth,s));if(o*=t.sizeMultiplier,s*=t.sizeMultiplier,r="."===e.left?Zt(t,["mopen"]):Sr.leftRightDelim(e.left,o,s,t,e.mode,["mopen"]),n.unshift(r),a)for(let l=1;l<n.length;l++){const t=n[l],r=t.isMiddle;r&&(n[l]=Sr.leftRightDelim(r.delim,o,s,r.options,e.mode,[]))}if("."===e.right)i=Zt(t,["mclose"]);else{const n=e.rightColor?t.withColor(e.rightColor):t;i=Sr.leftRightDelim(e.right,o,s,n,e.mode,["mclose"])}return n.push(i),At.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{Ar(e);const n=un(e.body,t);if("."!==e.left){const t=new on.MathNode("mo",[sn(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new on.MathNode("mo",[sn(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return an(n)}}),jt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=zr(t[0],e);if(!e.parser.leftrightDepth)throw new r("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=Zt(t,[]);else{n=Sr.sizedDelim(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?sn("|","text"):sn(e.delim,e.mode),r=new on.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const Or=(e,t)=>{const n=At.wrapFragment(Jt(e.body,t),t),r=e.label.slice(1);let i,o=t.sizeMultiplier,s=0;const a=m.isCharacterBox(e.body);if("sout"===r)i=At.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/o,s=-.5*t.fontMetrics().xHeight;else if("phase"===r){const e=pe({number:.6,unit:"pt"},t),r=pe({number:.35,unit:"ex"},t),a=t.havingBaseSizing();o/=a.sizeMultiplier;const l=n.height+n.depth+e+r;n.style.paddingLeft=me(l/2+e);const c=Math.floor(1e3*l*o),u=G(c),h=new ze([new Ae("phase",u)],{width:"400em",height:me(c/1e3),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"});i=At.makeSvgSpan(["hide-tail"],[h],t),i.style.height=me(l),s=n.depth+e+r}else{/cancel/.test(r)?a||n.classes.push("cancel-pad"):"angl"===r?n.classes.push("anglpad"):n.classes.push("boxpad");let o=0,l=0,c=0;/box/.test(r)?(c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),o=t.fontMetrics().fboxsep+("colorbox"===r?0:c),l=o):"angl"===r?(c=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),o=4*c,l=Math.max(0,.25-n.depth)):(o=a?.2:0,l=o),i=Cn.encloseSpan(n,r,o,l,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=me(c)):"angl"===r&&.049!==c&&(i.style.borderTopWidth=me(c),i.style.borderRightWidth=me(c)),s=n.depth+l,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}let l;if(e.backgroundColor)l=At.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:n,shift:0}]},t);else{const e=/cancel|phase/.test(r)?["svg-align"]:[];l=At.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:e}]},t)}return/cancel/.test(r)&&(l.height=n.height,l.depth=n.depth),/cancel/.test(r)&&!a?At.makeSpan(["mord","cancel-lap"],[l],t):At.makeSpan(["mord"],[l],t)},Er=(e,t)=>{let n=0;const r=new on.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[dn(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};jt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const o=Tn(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:s}},htmlBuilder:Or,mathmlBuilder:Er}),jt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const o=Tn(t[0],"color-token").color,s=Tn(t[1],"color-token").color,a=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:Or,mathmlBuilder:Er}),jt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),jt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Or,mathmlBuilder:Er}),jt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});const Mr={};function Nr(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:s}=e;const a={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i};for(let l=0;l<n.length;++l)Mr[n[l]]=a;o&&(Dt[t]=o),s&&(Ft[t]=s)}const Rr={};function Lr(e,t){Rr[e]=t}class Dr{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new Dr(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class Fr{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new Fr(t,Dr.range(this,e))}}function jr(e){const t=[];e.consumeSpaces();let n=e.fetch().text;"\\relax"===n&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);while("\\hline"===n||"\\hdashline"===n)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}const Ir=e=>{const t=e.parser.settings;if(!t.displayMode)throw new r("{"+e.envName+"} can be used only in display mode.")};function Br(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function _r(e,t,n){let{hskipBeforeAndAfter:i,addJot:o,cols:s,arraystretch:a,colSeparationType:l,autoTag:c,singleRow:u,emptySingleRow:h,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)a=1;else if(a=parseFloat(t),!a||a<0)throw new r("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let p=[];const m=[p],g=[],b=[],y=null!=c?[]:void 0;function v(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new Fr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(c)&&"1"===e.gullet.macros.get("\\@eqnsw")))}v(),b.push(jr(e));while(1){let t=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),p.push(t);const i=e.fetch().text;if("&"===i){if(d&&p.length===d){if(u||l)throw new r("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===i){x(),1===p.length&&"styling"===t.type&&0===t.body[0].body.length&&(m.length>1||!h)&&m.pop(),b.length<m.length+1&&b.push([]);break}if("\\\\"!==i)throw new r("Expected & or \\\\ or \\cr or \\end",e.nextToken);{let t;e.consume()," "!==e.gullet.future().text&&(t=e.parseSizeGroup(!0)),g.push(t?t.value:null),x(),b.push(jr(e)),p=[],m.push(p),v()}}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:a,body:m,cols:s,rowGaps:g,hskipBeforeAndAfter:i,hLinesBeforeRow:b,colSeparationType:l,tags:y,leqno:f}}function qr(e){return"d"===e.slice(0,1)?"display":"text"}const Pr=function(e,t){let n,i;const o=e.body.length,s=e.hLinesBeforeRow;let a=0,l=new Array(o);const c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),h=1/t.fontMetrics().ptPerEm;let d=5*h;if(e.colSeparationType&&"small"===e.colSeparationType){const e=t.havingStyle(F.SCRIPT).sizeMultiplier;d=e/t.sizeMultiplier*.2778}const f="CD"===e.colSeparationType?pe({number:3,unit:"ex"},t):12*h,p=3*h,g=e.arraystretch*f,b=.7*g,y=.3*g;let v=0;function x(e){for(let t=0;t<e.length;++t)t>0&&(v+=.25),c.push({pos:v,isDashed:e[t]})}for(x(s[0]),n=0;n<e.body.length;++n){const r=e.body[n];let o=b,c=y;a<r.length&&(a=r.length);const u=new Array(r.length);for(i=0;i<r.length;++i){const e=Jt(r[i],t);c<e.depth&&(c=e.depth),o<e.height&&(o=e.height),u[i]=e}const h=e.rowGaps[n];let d=0;h&&(d=pe(h,t),d>0&&(d+=y,c<d&&(c=d),d=0)),e.addJot&&(c+=p),u.height=o,u.depth=c,v+=o,u.pos=v,v+=c+d,l[n]=u,x(s[n+1])}const w=v/2+t.fontMetrics().axisHeight,k=e.cols||[],S=[];let C,T;const z=[];if(e.tags&&e.tags.some(e=>e))for(n=0;n<o;++n){const r=l[n],i=r.pos-w,o=e.tags[n];let s;s=!0===o?At.makeSpan(["eqn-num"],[],t):!1===o?At.makeSpan([],[],t):At.makeSpan([],Vt(o,t,!0),t),s.depth=r.depth,s.height=r.height,z.push({type:"elem",elem:s,shift:i})}for(i=0,T=0;i<a||T<k.length;++i,++T){let s,c=k[T]||{},h=!0;while("separator"===c.type){if(h||(C=At.makeSpan(["arraycolsep"],[]),C.style.width=me(t.fontMetrics().doubleRuleSep),S.push(C)),"|"!==c.separator&&":"!==c.separator)throw new r("Invalid separator type: "+c.separator);{const e="|"===c.separator?"solid":"dashed",n=At.makeSpan(["vertical-separator"],[],t);n.style.height=me(v),n.style.borderRightWidth=me(u),n.style.borderRightStyle=e,n.style.margin="0 "+me(-u/2);const r=v-w;r&&(n.style.verticalAlign=me(-r)),S.push(n)}T++,c=k[T]||{},h=!1}if(i>=a)continue;(i>0||e.hskipBeforeAndAfter)&&(s=m.deflt(c.pregap,d),0!==s&&(C=At.makeSpan(["arraycolsep"],[]),C.style.width=me(s),S.push(C)));let f=[];for(n=0;n<o;++n){const e=l[n],t=e[i];if(!t)continue;const r=e.pos-w;t.depth=e.depth,t.height=e.height,f.push({type:"elem",elem:t,shift:r})}f=At.makeVList({positionType:"individualShift",children:f},t),f=At.makeSpan(["col-align-"+(c.align||"c")],[f]),S.push(f),(i<a-1||e.hskipBeforeAndAfter)&&(s=m.deflt(c.postgap,d),0!==s&&(C=At.makeSpan(["arraycolsep"],[]),C.style.width=me(s),S.push(C)))}if(l=At.makeSpan(["mtable"],S),c.length>0){const e=At.makeLineSpan("hline",t,u),n=At.makeLineSpan("hdashline",t,u),r=[{type:"elem",elem:l,shift:0}];while(c.length>0){const t=c.pop(),i=t.pos-w;t.isDashed?r.push({type:"elem",elem:n,shift:i}):r.push({type:"elem",elem:e,shift:i})}l=At.makeVList({positionType:"individualShift",children:r},t)}if(0===z.length)return At.makeSpan(["mord"],[l],t);{let e=At.makeVList({positionType:"individualShift",children:z},t);return e=At.makeSpan(["tag"],[e],t),At.makeFragment([l,e])}},Ur={c:"center ",l:"left ",r:"right "},Hr=function(e,t){const n=[],r=new on.MathNode("mtd",[],["mtr-glue"]),i=new on.MathNode("mtd",[],["mml-eqn-num"]);for(let h=0;h<e.body.length;h++){const o=e.body[h],s=[];for(let e=0;e<o.length;e++)s.push(new on.MathNode("mtd",[dn(o[e],t)]));e.tags&&e.tags[h]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new on.MathNode("mtr",s))}let o=new on.MathNode("mtable",n);const s=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);o.setAttribute("rowspacing",me(s));let a="",l="";if(e.cols&&e.cols.length>0){const t=e.cols;let n="",r=!1,i=0,s=t.length;"separator"===t[0].type&&(a+="top ",i=1),"separator"===t[t.length-1].type&&(a+="bottom ",s-=1);for(let e=i;e<s;e++)"align"===t[e].type?(l+=Ur[t[e].align],r&&(n+="none "),r=!0):"separator"===t[e].type&&r&&(n+="|"===t[e].separator?"solid ":"dashed ",r=!1);o.setAttribute("columnalign",l.trim()),/[sd]/.test(n)&&o.setAttribute("columnlines",n.trim())}if("align"===e.colSeparationType){const t=e.cols||[];let n="";for(let e=1;e<t.length;e++)n+=e%2?"0em ":"1em ";o.setAttribute("columnspacing",n.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?o.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?o.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?o.setAttribute("columnspacing","0.5em"):o.setAttribute("columnspacing","1em");let c="";const u=e.hLinesBeforeRow;a+=u[0].length>0?"left ":"",a+=u[u.length-1].length>0?"right ":"";for(let h=1;h<u.length-1;h++)c+=0===u[h].length?"none ":u[h][0]?"dashed ":"solid ";return/[sd]/.test(c)&&o.setAttribute("rowlines",c.trim()),""!==a&&(o=new on.MathNode("menclose",[o]),o.setAttribute("notation",a.trim())),e.arraystretch&&e.arraystretch<1&&(o=new on.MathNode("mstyle",[o]),o.setAttribute("scriptlevel","1")),o},Wr=function(e,t){-1===e.envName.indexOf("ed")&&Ir(e);const n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",o="split"===e.envName,s=_r(e.parser,{cols:n,addJot:!0,autoTag:o?void 0:Br(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display");let a,l=0;const c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){let e="";for(let n=0;n<t[0].body.length;n++){const r=Tn(t[0].body[n],"textord");e+=r.text}a=Number(e),l=2*a}const u=!l;s.body.forEach((function(e){for(let t=1;t<e.length;t+=2){const n=Tn(e[t],"styling"),r=Tn(n.body[0],"ordgroup");r.body.unshift(c)}if(u)l<e.length&&(l=e.length);else{const t=e.length/2;if(a<t)throw new r("Too many math in a row: expected "+a+", but got "+t,e[0])}}));for(let r=0;r<l;++r){let e="r",t=0;r%2===1?e="l":r>0&&u&&(t=1),n[r]={type:"align",align:e,pregap:t,postgap:0}}return s.colSeparationType=u?"align":"alignat",s};Nr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n=An(t[0]),i=n?[t[0]]:Tn(t[0],"ordgroup").body,o=i.map((function(e){const t=zn(e),n=t.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 r("Unknown column alignment: "+n,e)})),s={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return _r(e.parser,s,qr(e.envName))},htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")];let n="c";const i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){const t=e.parser;if(t.consumeSpaces(),"["===t.fetch().text){if(t.consume(),t.consumeSpaces(),n=t.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",t.nextToken);t.consume(),t.consumeSpaces(),t.expect("]"),t.consume(),i.cols=[{type:"align",align:n}]}}const o=_r(e.parser,i,qr(e.envName)),s=Math.max(0,...o.body.map(e=>e.length));return o.cols=new Array(s).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t={arraystretch:.5},n=_r(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=An(t[0]),i=n?[t[0]]:Tn(t[0],"ordgroup").body,o=i.map((function(e){const t=zn(e),n=t.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new r("Unknown column alignment: "+n,e)}));if(o.length>1)throw new r("{subarray} can contain only one column");let s={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=_r(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new r("{subarray} can contain only one column");return s},htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){const t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=_r(e.parser,t,qr(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Wr,htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m.contains(["gather","gather*"],e.envName)&&Ir(e);const t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Br(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return _r(e.parser,t,"display")},htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Wr,htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Ir(e);const t={autoTag:Br(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return _r(e.parser,t,"display")},htmlBuilder:Pr,mathmlBuilder:Hr}),Nr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Ir(e),Pn(e.parser)},htmlBuilder:Pr,mathmlBuilder:Hr}),Lr("\\nonumber","\\gdef\\@eqnsw{0}"),Lr("\\notag","\\nonumber"),jt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new r(e.funcName+" valid only within array environment")}});const Vr=Mr;var Gr=Vr;jt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let{parser:n,funcName:i}=e;const o=t[0];if("ordgroup"!==o.type)throw new r("Invalid environment name",o);let s="";for(let r=0;r<o.body.length;++r)s+=Tn(o.body[r],"textord").text;if("\\begin"===i){if(!Gr.hasOwnProperty(s))throw new r("No such environment: "+s,o);const e=Gr[s],{args:t,optArgs:i}=n.parseArguments("\\begin{"+s+"}",e),a={mode:n.mode,envName:s,parser:n},l=e.handler(a,t,i);n.expect("\\end",!1);const c=n.nextToken,u=Tn(n.parseFunction(),"environment");if(u.name!==s)throw new r("Mismatch: \\begin{"+s+"} matched by \\end{"+u.name+"}",c);return l}return{type:"environment",mode:n.mode,name:s,nameGroup:o}}});const Kr=(e,t)=>{const n=e.font,r=t.withFont(n);return Jt(e.body,r)},Xr=(e,t)=>{const n=e.font,r=t.withFont(n);return dn(e.body,r)},Yr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};jt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=Bt(t[0]);let o=r;return o in Yr&&(o=Yr[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:Kr,mathmlBuilder:Xr}),jt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{let{parser:n}=e;const r=t[0],i=m.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Fn(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),jt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r,breakOnTokenText:i}=e;const{mode:o}=n,s=n.parseExpression(!0,i),a="math"+r.slice(1);return{type:"font",mode:o,font:a,body:{type:"ordgroup",mode:n.mode,body:s}}},htmlBuilder:Kr,mathmlBuilder:Xr});const Zr=(e,t)=>{let n=t;return"display"===e?n=n.id>=F.SCRIPT.id?n.text():F.DISPLAY:"text"===e&&n.size===F.DISPLAY.size?n=F.TEXT:"script"===e?n=F.SCRIPT:"scriptscript"===e&&(n=F.SCRIPTSCRIPT),n},Jr=(e,t)=>{const n=Zr(e.size,t.style),r=n.fracNum(),i=n.fracDen();let o;o=t.havingStyle(r);const s=Jt(e.numer,o,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;s.height=s.height<e?e:s.height,s.depth=s.depth<n?n:s.depth}o=t.havingStyle(i);const a=Jt(e.denom,o,t);let l,c,u,h,d,f,p,m,g,b;if(e.hasBarLine?(e.barSize?(c=pe(e.barSize,t),l=At.makeLineSpan("frac-line",t,c)):l=At.makeLineSpan("frac-line",t),c=l.height,u=l.height):(l=null,c=0,u=t.fontMetrics().defaultRuleThickness),n.size===F.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,d=c>0?3*u:7*u,f=t.fontMetrics().denom1):(c>0?(h=t.fontMetrics().num2,d=u):(h=t.fontMetrics().num3,d=3*u),f=t.fontMetrics().denom2),l){const e=t.fontMetrics().axisHeight;h-s.depth-(e+.5*c)<d&&(h+=d-(h-s.depth-(e+.5*c))),e-.5*c-(a.height-f)<d&&(f+=d-(e-.5*c-(a.height-f)));const n=-(e-.5*c);p=At.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:l,shift:n},{type:"elem",elem:s,shift:-h}]},t)}else{const e=h-s.depth-(a.height-f);e<d&&(h+=.5*(d-e),f+=.5*(d-e)),p=At.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:s,shift:-h}]},t)}return o=t.havingStyle(n),p.height*=o.sizeMultiplier/t.sizeMultiplier,p.depth*=o.sizeMultiplier/t.sizeMultiplier,m=n.size===F.DISPLAY.size?t.fontMetrics().delim1:n.size===F.SCRIPTSCRIPT.size?t.havingStyle(F.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,g=null==e.leftDelim?Zt(t,["mopen"]):Sr.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),b=e.continued?At.makeSpan([]):null==e.rightDelim?Zt(t,["mclose"]):Sr.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),At.makeSpan(["mord"].concat(o.sizingClasses(t)),[g,At.makeSpan(["mfrac"],[p]),b],t)},Qr=(e,t)=>{let n=new on.MathNode("mfrac",[dn(e.numer,t),dn(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=pe(e.barSize,t);n.setAttribute("linethickness",me(r))}}else n.setAttribute("linethickness","0px");const r=Zr(e.size,t.style);if(r.size!==t.style.size){n=new on.MathNode("mstyle",[n]);const e=r.size===F.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new on.MathNode("mo",[new on.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new on.MathNode("mo",[new on.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return an(t)}return n};jt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=t[1];let s,a=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,a="(",l=")";break;case"\\\\bracefrac":s=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:o,hasBarLine:s,leftDelim:a,rightDelim:l,size:c,barSize:null}},htmlBuilder:Jr,mathmlBuilder:Qr}),jt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),jt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,{parser:n,funcName:r,token:i}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:i}}});const $r=["display","text","script","scriptscript"],ei=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};jt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){let{parser:n}=e;const r=t[4],i=t[5],o=Bt(t[0]),s="atom"===o.type&&"open"===o.family?ei(o.text):null,a=Bt(t[1]),l="atom"===a.type&&"close"===a.family?ei(a.text):null,c=Tn(t[2],"size");let u,h=null;c.isBlank?u=!0:(h=c.value,u=h.number>0);let d="auto",f=t[3];if("ordgroup"===f.type){if(f.body.length>0){const e=Tn(f.body[0],"textord");d=$r[Number(e.text)]}}else f=Tn(f,"textord"),d=$r[Number(f.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:h,leftDelim:s,rightDelim:l,size:d}},htmlBuilder:Jr,mathmlBuilder:Qr}),jt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Tn(t[0],"size").value,token:i}}}),jt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],o=f(Tn(t[1],"infix").size),s=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Jr,mathmlBuilder:Qr});const ti=(e,t)=>{const n=t.style;let r,i;"supsub"===e.type?(r=e.sup?Jt(e.sup,t.havingStyle(n.sup()),t):Jt(e.sub,t.havingStyle(n.sub()),t),i=Tn(e.base,"horizBrace")):i=Tn(e,"horizBrace");const o=Jt(i.base,t.havingBaseStyle(F.DISPLAY)),s=Cn.svgSpan(i,t);let a;if(i.isOver?(a=At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t),a.children[0].children[0].children[1].classes.push("svg-align")):(a=At.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t),a.children[0].children[0].children[0].classes.push("svg-align")),r){const e=At.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t);a=i.isOver?At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):At.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return At.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t)},ni=(e,t)=>{const n=Cn.mathMLnode(e.label);return new on.MathNode(e.isOver?"mover":"munder",[dn(e.base,t),n])};jt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:ti,mathmlBuilder:ni}),jt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[1],i=Tn(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:_t(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=Vt(e.body,t,!1);return At.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=hn(e.body,t);return n instanceof tn||(n=new tn("mrow",[n])),n.setAttribute("href",e.href),n}}),jt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=Tn(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const i=[];for(let s=0;s<r.length;s++){let e=r[s];"~"===e&&(e="\\textasciitilde"),i.push({type:"textord",mode:"text",text:e})}const o={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:_t(o)}}}),jt({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){let{parser:n}=e;return{type:"hbox",mode:n.mode,body:_t(t[0])}},htmlBuilder(e,t){const n=Vt(e.body,t,!1);return At.makeFragment(n)},mathmlBuilder(e,t){return new on.MathNode("mrow",un(e.body,t))}}),jt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:i,token:o}=e;const s=Tn(t[0],"raw").string,a=t[1];let l;n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const c={};switch(i){case"\\htmlClass":c.class=s,l={command:"\\htmlClass",class:s};break;case"\\htmlId":c.id=s,l={command:"\\htmlId",id:s};break;case"\\htmlStyle":c.style=s,l={command:"\\htmlStyle",style:s};break;case"\\htmlData":{const e=s.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2!==n.length)throw new r("Error parsing key-value for \\htmlData");c["data-"+n[0].trim()]=n[1].trim()}l={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(l)?{type:"html",mode:n.mode,attributes:c,body:_t(a)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{const n=Vt(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));const i=At.makeSpan(r,n,t);for(const o in e.attributes)"class"!==o&&e.attributes.hasOwnProperty(o)&&i.setAttribute(o,e.attributes[o]);return i},mathmlBuilder:(e,t)=>hn(e.body,t)}),jt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:_t(t[0]),mathml:_t(t[1])}},htmlBuilder:(e,t)=>{const n=Vt(e.html,t,!1);return At.makeFragment(n)},mathmlBuilder:(e,t)=>hn(e.mathml,t)});const ri=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new r("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]),unit:t[3]};if(!fe(n))throw new r("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};jt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let{parser:i}=e,o={number:0,unit:"em"},s={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(n[0]){const e=Tn(n[0],"raw").string,t=e.split(",");for(let n=0;n<t.length;n++){const e=t[n].split("=");if(2===e.length){const t=e[1].trim();switch(e[0].trim()){case"alt":l=t;break;case"width":o=ri(t);break;case"height":s=ri(t);break;case"totalheight":a=ri(t);break;default:throw new r("Invalid key: '"+e[0]+"' in \\includegraphics.")}}}}const c=Tn(t[0],"url").url;return""===l&&(l=c,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:c})?{type:"includegraphics",mode:i.mode,alt:l,width:o,height:s,totalheight:a,src:c}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{const n=pe(e.height,t);let r=0;e.totalheight.number>0&&(r=pe(e.totalheight,t)-n);let i=0;e.width.number>0&&(i=pe(e.width,t));const o={height:me(n+r)};i>0&&(o.width=me(i)),r>0&&(o.verticalAlign=me(-r));const s=new Se(e.src,e.alt,o);return s.height=n,s.depth=r,s},mathmlBuilder:(e,t)=>{const n=new on.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=pe(e.height,t);let i=0;if(e.totalheight.number>0&&(i=pe(e.totalheight,t)-r,n.setAttribute("valign",me(-i))),n.setAttribute("height",me(r+i)),e.width.number>0){const r=pe(e.width,t);n.setAttribute("width",me(r))}return n.setAttribute("src",e.src),n}}),jt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=Tn(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===i.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):t&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return At.makeGlue(e.dimension,t)},mathmlBuilder(e,t){const n=pe(e.dimension,t);return new on.SpaceNode(n)}}),jt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=At.makeSpan([],[Jt(e.body,t)]),n=At.makeSpan(["inner"],[n],t)):n=At.makeSpan(["inner"],[Jt(e.body,t)]);const r=At.makeSpan(["fix"],[]);let i=At.makeSpan([e.alignment],[n,r],t);const o=At.makeSpan(["strut"]);return o.style.height=me(i.height+i.depth),i.depth&&(o.style.verticalAlign=me(-i.depth)),i.children.unshift(o),i=At.makeSpan(["thinbox"],[i],t),At.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{const n=new on.MathNode("mpadded",[dn(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),jt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let{funcName:n,parser:r}=e;const i=r.mode;r.switchMode("math");const o="\\("===n?"\\)":"$",s=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:s}}}),jt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new r("Mismatched "+e.funcName)}});const ii=(e,t)=>{switch(t.style.size){case F.DISPLAY.size:return e.display;case F.TEXT.size:return e.text;case F.SCRIPT.size:return e.script;case F.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};jt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:_t(t[0]),text:_t(t[1]),script:_t(t[2]),scriptscript:_t(t[3])}},htmlBuilder:(e,t)=>{const n=ii(e,t),r=Vt(n,t,!1);return At.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=ii(e,t);return hn(n,t)}});const oi=(e,t,n,r,i,o,s)=>{e=At.makeSpan([],[e]);const a=n&&m.isCharacterBox(n);let l,c,u;if(t){const e=Jt(t,r.havingStyle(i.sup()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=Jt(n,r.havingStyle(i.sub()),r);l={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(c&&l){const t=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;u=At.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){const t=e.height-s;u=At.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:me(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;{const t=e.depth+s;u=At.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:me(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}const h=[u];if(l&&0!==o&&!a){const e=At.makeSpan(["mspace"],[],r);e.style.marginRight=me(o),h.unshift(e)}return At.makeSpan(["mop","op-limits"],h,r)},si=["\\smallint"],ai=(e,t)=>{let n,r,i,o=!1;"supsub"===e.type?(n=e.sup,r=e.sub,i=Tn(e.base,"op"),o=!0):i=Tn(e,"op");const s=t.style;let a,l=!1;if(s.size===F.DISPLAY.size&&i.symbol&&!m.contains(si,i.name)&&(l=!0),i.symbol){const e=l?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(n=i.name.slice(1),i.name="oiint"===n?"\\iint":"\\iiint"),a=At.makeSymbol(i.name,e,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),n.length>0){const e=a.italic,r=At.staticSvg(n+"Size"+(l?"2":"1"),t);a=At.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:r,shift:l?.08:0}]},t),i.name="\\"+n,a.classes.unshift("mop"),a.italic=e}}else if(i.body){const e=Vt(i.body,t,!0);1===e.length&&e[0]instanceof Te?(a=e[0],a.classes[0]="mop"):a=At.makeSpan(["mop"],e,t)}else{const e=[];for(let n=1;n<i.name.length;n++)e.push(At.mathsym(i.name[n],i.mode,t));a=At.makeSpan(["mop"],e,t)}let c=0,u=0;return(a instanceof Te||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(c=(a.height-a.depth)/2-t.fontMetrics().axisHeight,u=a.italic),o?oi(a,n,r,t,s,u,c):(c&&(a.style.position="relative",a.style.top=me(c)),a)},li=(e,t)=>{let n;if(e.symbol)n=new tn("mo",[sn(e.name,e.mode)]),m.contains(si,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new tn("mo",un(e.body,t));else{n=new tn("mi",[new nn(e.name.slice(1))]);const t=new tn("mo",[sn("","text")]);n=e.parentIsSupSub?new tn("mrow",[n,t]):en([n,t])}return n},ci={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};jt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{let{parser:n,funcName:r}=e,i=r;return 1===i.length&&(i=ci[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ai,mathmlBuilder:li}),jt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:_t(r)}},htmlBuilder:ai,mathmlBuilder:li});const ui={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};jt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ai,mathmlBuilder:li}),jt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ai,mathmlBuilder:li}),jt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=ui[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:ai,mathmlBuilder:li});const hi=(e,t)=>{let n,r,i,o,s=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,i=Tn(e.base,"operatorname"),s=!0):i=Tn(e,"operatorname"),i.body.length>0){const e=i.body.map(e=>{const t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e}),n=Vt(e,t.withFont("mathrm"),!0);for(let t=0;t<n.length;t++){const e=n[t];e instanceof Te&&(e.text=e.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=At.makeSpan(["mop"],n,t)}else o=At.makeSpan(["mop"],[],t);return s?oi(o,n,r,t,t.style,0,0):o},di=(e,t)=>{let n=un(e.body,t.withFont("mathrm")),r=!0;for(let s=0;s<n.length;s++){const e=n[s];if(e instanceof on.SpaceNode);else if(e instanceof on.MathNode)switch(e.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const t=e.children[0];1===e.children.length&&t instanceof on.TextNode?t.text=t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){const e=n.map(e=>e.toText()).join("");n=[new on.TextNode(e)]}const i=new on.MathNode("mi",n);i.setAttribute("mathvariant","normal");const o=new on.MathNode("mo",[sn("","text")]);return e.parentIsSupSub?new on.MathNode("mrow",[i,o]):on.newDocumentFragment([i,o])};function fi(e,t,n){const r=Vt(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier;for(let o=0;o<r.length;o++){const e=r[o].classes.indexOf("sizing");e<0?Array.prototype.push.apply(r[o].classes,t.sizingClasses(n)):r[o].classes[e+1]==="reset-size"+t.size&&(r[o].classes[e+1]="reset-size"+n.size),r[o].height*=i,r[o].depth*=i}return At.makeFragment(r)}jt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"operatorname",mode:n.mode,body:_t(i),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:hi,mathmlBuilder:di}),Lr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),It({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?At.makeFragment(Vt(e.body,t,!1)):At.makeSpan(["mord"],Vt(e.body,t,!0),t)},mathmlBuilder(e,t){return hn(e.body,t,!0)}}),jt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let{parser:n}=e;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=Jt(e.body,t.havingCrampedStyle()),r=At.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,o=At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return At.makeSpan(["mord","overline"],[o],t)},mathmlBuilder(e,t){const n=new on.MathNode("mo",[new on.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new on.MathNode("mover",[dn(e.body,t),n]);return r.setAttribute("accent","true"),r}}),jt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"phantom",mode:n.mode,body:_t(r)}},htmlBuilder:(e,t)=>{const n=Vt(e.body,t.withPhantom(),!1);return At.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=un(e.body,t);return new on.MathNode("mphantom",n)}}),jt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=At.makeSpan([],[Jt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),At.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{const n=un(_t(e.body),t),r=new on.MathNode("mphantom",n),i=new on.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),jt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=At.makeSpan(["inner"],[Jt(e.body,t.withPhantom())]),r=At.makeSpan(["fix"],[]);return At.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=un(_t(e.body),t),r=new on.MathNode("mphantom",n),i=new on.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),jt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;const r=Tn(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){const n=Jt(e.body,t),r=pe(e.dy,t);return At.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new on.MathNode("mpadded",[dn(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),jt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){let{parser:t}=e;return{type:"internal",mode:t.mode}}}),jt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){let{parser:r}=e;const i=n[0],o=Tn(t[0],"size"),s=Tn(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Tn(i,"size").value,width:o.value,height:s.value}},htmlBuilder(e,t){const n=At.makeSpan(["mord","rule"],[],t),r=pe(e.width,t),i=pe(e.height,t),o=e.shift?pe(e.shift,t):0;return n.style.borderRightWidth=me(r),n.style.borderTopWidth=me(i),n.style.bottom=me(o),n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=1.125*i*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=pe(e.width,t),r=pe(e.height,t),i=e.shift?pe(e.shift,t):0,o=t.color&&t.getColor()||"black",s=new on.MathNode("mspace");s.setAttribute("mathbackground",o),s.setAttribute("width",me(n)),s.setAttribute("height",me(r));const a=new on.MathNode("mpadded",[s]);return i>=0?a.setAttribute("height",me(i)):(a.setAttribute("height",me(i)),a.setAttribute("depth",me(-i))),a.setAttribute("voffset",me(i)),a}});const pi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],mi=(e,t)=>{const n=t.havingSize(e.size);return fi(e.body,n,t)};jt({type:"sizing",names:pi,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{breakOnTokenText:n,funcName:r,parser:i}=e;const o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:pi.indexOf(r)+1,body:o}},htmlBuilder:mi,mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=un(e.body,n),i=new on.MathNode("mstyle",r);return i.setAttribute("mathsize",me(n.sizeMultiplier)),i}}),jt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let{parser:r}=e,i=!1,o=!1;const s=n[0]&&Tn(n[0],"ordgroup");if(s){let e="";for(let t=0;t<s.body.length;++t){const n=s.body[t];if(e=n.text,"t"===e)i=!0;else{if("b"!==e){i=!1,o=!1;break}o=!0}}}else i=!0,o=!0;const a=t[0];return{type:"smash",mode:r.mode,body:a,smashHeight:i,smashDepth:o}},htmlBuilder:(e,t)=>{const n=At.makeSpan([],[Jt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].depth=0;const r=At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return At.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{const n=new on.MathNode("mpadded",[dn(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),jt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r}=e;const i=n[0],o=t[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder(e,t){let n=Jt(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=At.wrapFragment(n,t);const r=t.fontMetrics(),i=r.defaultRuleThickness;let o=i;t.style.id<F.TEXT.id&&(o=t.fontMetrics().xHeight);let s=i+o/4;const a=n.height+n.depth+s+i,{span:l,ruleWidth:c,advanceWidth:u}=Sr.sqrtImage(a,t),h=l.height-c;h>n.height+n.depth+s&&(s=(s+h-n.height-n.depth)/2);const d=l.height-n.height-s-c;n.style.paddingLeft=me(u);const f=At.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){const n=t.havingStyle(F.SCRIPTSCRIPT),r=Jt(e.index,n,t),i=.6*(f.height-f.depth),o=At.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},t),s=At.makeSpan(["root"],[o]);return At.makeSpan(["mord","sqrt"],[s,f],t)}return At.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder(e,t){const{body:n,index:r}=e;return r?new on.MathNode("mroot",[dn(n,t),dn(r,t)]):new on.MathNode("msqrt",[dn(n,t)])}});const gi={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};jt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){let{breakOnTokenText:n,funcName:r,parser:i}=e;const o=i.parseExpression(!0,n),s=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:s,body:o}},htmlBuilder(e,t){const n=gi[e.style],r=t.havingStyle(n).withFont("");return fi(e.body,r,t)},mathmlBuilder(e,t){const n=gi[e.style],r=t.havingStyle(n),i=un(e.body,r),o=new on.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[e.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});const bi=function(e,t){const n=e.base;if(n){if("op"===n.type){const e=n.limits&&(t.style.size===F.DISPLAY.size||n.alwaysHandleSupSub);return e?ai:null}if("operatorname"===n.type){const e=n.alwaysHandleSupSub&&(t.style.size===F.DISPLAY.size||n.limits);return e?hi:null}if("accent"===n.type)return m.isCharacterBox(n.base)?On:null;if("horizBrace"===n.type){const t=!e.sub;return t===n.isOver?ti:null}return null}return null};It({type:"supsub",htmlBuilder(e,t){const n=bi(e,t);if(n)return n(e,t);const{base:r,sup:i,sub:o}=e,s=Jt(r,t);let a,l;const c=t.fontMetrics();let u=0,h=0;const d=r&&m.isCharacterBox(r);if(i){const e=t.havingStyle(t.style.sup());a=Jt(i,e,t),d||(u=s.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(o){const e=t.havingStyle(t.style.sub());l=Jt(o,e,t),d||(h=s.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let f;f=t.style===F.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;const p=t.sizeMultiplier,g=me(.5/c.ptPerEm/p);let b,y=null;if(l){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(s instanceof Te||t)&&(y=me(-s.italic))}if(a&&l){u=Math.max(u,f,a.depth+.25*c.xHeight),h=Math.max(h,c.sub2);const e=c.defaultRuleThickness,n=4*e;if(u-a.depth-(l.height-h)<n){h=n-(u-a.depth)+l.height;const e=.8*c.xHeight-(u-a.depth);e>0&&(u+=e,h-=e)}const r=[{type:"elem",elem:l,shift:h,marginRight:g,marginLeft:y},{type:"elem",elem:a,shift:-u,marginRight:g}];b=At.makeVList({positionType:"individualShift",children:r},t)}else if(l){h=Math.max(h,c.sub1,l.height-.8*c.xHeight);const e=[{type:"elem",elem:l,marginLeft:y,marginRight:g}];b=At.makeVList({positionType:"shift",positionData:h,children:e},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");u=Math.max(u,f,a.depth+.25*c.xHeight),b=At.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a,marginRight:g}]},t)}const v=Yt(s,"right")||"mord";return At.makeSpan([v],[s,At.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){let n,r,i=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(i=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const o=[dn(e.base,t)];let s;if(e.sub&&o.push(dn(e.sub,t)),e.sup&&o.push(dn(e.sup,t)),i)s=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;s=n&&"op"===n.type&&n.limits&&t.style===F.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===F.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;s=n&&"op"===n.type&&n.limits&&(t.style===F.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===F.DISPLAY)?"munder":"msub"}else{const n=e.base;s=n&&"op"===n.type&&n.limits&&(t.style===F.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===F.DISPLAY)?"mover":"msup"}return new on.MathNode(s,o)}}),It({type:"atom",htmlBuilder(e,t){return At.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){const n=new on.MathNode("mo",[sn(e.text,e.mode)]);if("bin"===e.family){const r=ln(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const yi={mi:"italic",mn:"normal",mtext:"normal"};It({type:"mathord",htmlBuilder(e,t){return At.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){const n=new on.MathNode("mi",[sn(e.text,e.mode,t)]),r=ln(e,t)||"italic";return r!==yi[n.type]&&n.setAttribute("mathvariant",r),n}}),It({type:"textord",htmlBuilder(e,t){return At.makeOrd(e,t,"textord")},mathmlBuilder(e,t){const n=sn(e.text,e.mode,t),r=ln(e,t)||"normal";let i;return i="text"===e.mode?new on.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new on.MathNode("mn",[n]):"\\prime"===e.text?new on.MathNode("mo",[n]):new on.MathNode("mi",[n]),r!==yi[i.type]&&i.setAttribute("mathvariant",r),i}});const vi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};It({type:"spacing",htmlBuilder(e,t){if(xi.hasOwnProperty(e.text)){const n=xi[e.text].className||"";if("text"===e.mode){const r=At.makeOrd(e,t,"textord");return r.classes.push(n),r}return At.makeSpan(["mspace",n],[At.mathsym(e.text,e.mode,t)],t)}if(vi.hasOwnProperty(e.text))return At.makeSpan(["mspace",vi[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){let n;if(!xi.hasOwnProperty(e.text)){if(vi.hasOwnProperty(e.text))return new on.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new on.MathNode("mtext",[new on.TextNode(" ")]),n}});const wi=()=>{const e=new on.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};It({type:"tag",mathmlBuilder(e,t){const n=new on.MathNode("mtable",[new on.MathNode("mtr",[wi(),new on.MathNode("mtd",[hn(e.body,t)]),wi(),new on.MathNode("mtd",[hn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const ki={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Si={"\\textbf":"textbf","\\textmd":"textmd"},Ci={"\\textit":"textit","\\textup":"textup"},Ti=(e,t)=>{const n=e.font;return n?ki[n]?t.withTextFontFamily(ki[n]):Si[n]?t.withTextFontWeight(Si[n]):"\\emph"===n?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(Ci[n]):t};jt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"text",mode:n.mode,body:_t(i),font:r}},htmlBuilder(e,t){const n=Ti(e,t),r=Vt(e.body,n,!0);return At.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){const n=Ti(e,t);return hn(e.body,n)}}),jt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=Jt(e.body,t),r=At.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=At.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return At.makeSpan(["mord","underline"],[o],t)},mathmlBuilder(e,t){const n=new on.MathNode("mo",[new on.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new on.MathNode("munder",[dn(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),jt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=Jt(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return At.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new on.MathNode("mpadded",[dn(e.body,t)],["vcenter"])}}),jt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=zi(e),r=[],i=t.havingStyle(t.style.text());for(let o=0;o<n.length;o++){let t=n[o];"~"===t&&(t="\\textasciitilde"),r.push(At.makeSymbol(t,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return At.makeSpan(["mord","text"].concat(i.sizingClasses(t)),At.tryCombineChars(r),i)},mathmlBuilder(e,t){const n=new on.TextNode(zi(e)),r=new on.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});const zi=e=>e.body.replace(/ /g,e.star?"␣":" "),Ai=Lt;var Oi=Ai;const Ei="[ \r\n\t]",Mi="\\\\[a-zA-Z@]+",Ni="\\\\[^\ud800-\udfff]",Ri="("+Mi+")"+Ei+"*",Li="\\\\(\n|[ \r\t]+\n?)[ \r\t]*",Di="[̀-ͯ]",Fi=new RegExp(Di+"+$"),ji="("+Ei+"+)|"+Li+"|([!-\\[\\]-‧-豈-]"+Di+"*|[\ud800-\udbff][\udc00-\udfff]"+Di+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Ri+"|"+Ni+")";class Ii{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(ji,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Fr("EOF",new Dr(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new r("Unexpected character: '"+e[t]+"'",new Fr(e[t],new Dr(this,t,t+1)));const i=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[i]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=t+1,this.lex()}return new Fr(i,new Dr(this,t,this.tokenRegex.lastIndex))}}class Bi{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new r("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){while(this.undefStack.length>0)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(let t=0;t<this.undefStack.length;t++)delete this.undefStack[t][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}const _i=Rr;var qi=_i;Lr("\\noexpand",(function(e){const t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Lr("\\expandafter",(function(e){const t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Lr("\\@firstoftwo",(function(e){const t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Lr("\\@secondoftwo",(function(e){const t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Lr("\\@ifnextchar",(function(e){const t=e.consumeArgs(3);e.consumeSpaces();const n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Lr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Lr("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const Pi={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};Lr("\\char",(function(e){let t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(i=Pi[n.text],null==i||i>=t)throw new r("Invalid base-"+t+" digit "+n.text);let o;while(null!=(o=Pi[e.future().text])&&o<t)i*=t,i+=o,e.popToken()}return"\\@char{"+i+"}"}));const Ui=(e,t,n,i)=>{let o=e.consumeArg().tokens;if(1!==o.length)throw new r("\\newcommand's first argument must be a macro name");const s=o[0].text,a=e.isDefined(s);if(a&&!t)throw new r("\\newcommand{"+s+"} attempting to redefine "+s+"; use \\renewcommand");if(!a&&!n)throw new r("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");let l=0;if(o=e.consumeArg().tokens,1===o.length&&"["===o[0].text){let t="",n=e.expandNextToken();while("]"!==n.text&&"EOF"!==n.text)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new r("Invalid number of arguments: "+t);l=parseInt(t),o=e.consumeArg().tokens}return a&&i||e.macros.set(s,{tokens:o,numArgs:l}),""};Lr("\\newcommand",e=>Ui(e,!1,!0,!1)),Lr("\\renewcommand",e=>Ui(e,!0,!1,!1)),Lr("\\providecommand",e=>Ui(e,!0,!0,!0)),Lr("\\message",e=>{const t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),Lr("\\errmessage",e=>{const t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),Lr("\\show",e=>{const t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Oi[n],De.math[n],De.text[n]),""}),Lr("\\bgroup","{"),Lr("\\egroup","}"),Lr("~","\\nobreakspace"),Lr("\\lq","`"),Lr("\\rq","'"),Lr("\\aa","\\r a"),Lr("\\AA","\\r A"),Lr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Lr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Lr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Lr("ℬ","\\mathscr{B}"),Lr("ℰ","\\mathscr{E}"),Lr("ℱ","\\mathscr{F}"),Lr("ℋ","\\mathscr{H}"),Lr("ℐ","\\mathscr{I}"),Lr("ℒ","\\mathscr{L}"),Lr("ℳ","\\mathscr{M}"),Lr("ℛ","\\mathscr{R}"),Lr("ℭ","\\mathfrak{C}"),Lr("ℌ","\\mathfrak{H}"),Lr("ℨ","\\mathfrak{Z}"),Lr("\\Bbbk","\\Bbb{k}"),Lr("·","\\cdotp"),Lr("\\llap","\\mathllap{\\textrm{#1}}"),Lr("\\rlap","\\mathrlap{\\textrm{#1}}"),Lr("\\clap","\\mathclap{\\textrm{#1}}"),Lr("\\mathstrut","\\vphantom{(}"),Lr("\\underbar","\\underline{\\text{#1}}"),Lr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Lr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Lr("\\ne","\\neq"),Lr("≠","\\neq"),Lr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Lr("∉","\\notin"),Lr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Lr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Lr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Lr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Lr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Lr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Lr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Lr("⟂","\\perp"),Lr("‼","\\mathclose{!\\mkern-0.8mu!}"),Lr("∌","\\notni"),Lr("⌜","\\ulcorner"),Lr("⌝","\\urcorner"),Lr("⌞","\\llcorner"),Lr("⌟","\\lrcorner"),Lr("©","\\copyright"),Lr("®","\\textregistered"),Lr("️","\\textregistered"),Lr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Lr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Lr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Lr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Lr("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Lr("⋮","\\vdots"),Lr("\\varGamma","\\mathit{\\Gamma}"),Lr("\\varDelta","\\mathit{\\Delta}"),Lr("\\varTheta","\\mathit{\\Theta}"),Lr("\\varLambda","\\mathit{\\Lambda}"),Lr("\\varXi","\\mathit{\\Xi}"),Lr("\\varPi","\\mathit{\\Pi}"),Lr("\\varSigma","\\mathit{\\Sigma}"),Lr("\\varUpsilon","\\mathit{\\Upsilon}"),Lr("\\varPhi","\\mathit{\\Phi}"),Lr("\\varPsi","\\mathit{\\Psi}"),Lr("\\varOmega","\\mathit{\\Omega}"),Lr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Lr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Lr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Lr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Lr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Lr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Lr("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Lr("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Hi={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\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"};Lr("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in Hi?t=Hi[n]:("\\not"===n.slice(0,4)||n in De.math&&m.contains(["bin","rel"],De.math[n].group))&&(t="\\dotsb"),t}));const Wi={")":!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};Lr("\\dotso",(function(e){const t=e.future().text;return t in Wi?"\\ldots\\,":"\\ldots"})),Lr("\\dotsc",(function(e){const t=e.future().text;return t in Wi&&","!==t?"\\ldots\\,":"\\ldots"})),Lr("\\cdots",(function(e){const t=e.future().text;return t in Wi?"\\@cdots\\,":"\\@cdots"})),Lr("\\dotsb","\\cdots"),Lr("\\dotsm","\\cdots"),Lr("\\dotsi","\\!\\cdots"),Lr("\\dotsx","\\ldots\\,"),Lr("\\DOTSI","\\relax"),Lr("\\DOTSB","\\relax"),Lr("\\DOTSX","\\relax"),Lr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Lr("\\,","\\tmspace+{3mu}{.1667em}"),Lr("\\thinspace","\\,"),Lr("\\>","\\mskip{4mu}"),Lr("\\:","\\tmspace+{4mu}{.2222em}"),Lr("\\medspace","\\:"),Lr("\\;","\\tmspace+{5mu}{.2777em}"),Lr("\\thickspace","\\;"),Lr("\\!","\\tmspace-{3mu}{.1667em}"),Lr("\\negthinspace","\\!"),Lr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Lr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Lr("\\enspace","\\kern.5em "),Lr("\\enskip","\\hskip.5em\\relax"),Lr("\\quad","\\hskip1em\\relax"),Lr("\\qquad","\\hskip2em\\relax"),Lr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Lr("\\tag@paren","\\tag@literal{({#1})}"),Lr("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Lr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Lr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Lr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Lr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Lr("\\newline","\\\\\\relax"),Lr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Vi=me($["Main-Regular"]["T".charCodeAt(0)][1]-.7*$["Main-Regular"]["A".charCodeAt(0)][1]);Lr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Vi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Lr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Vi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Lr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Lr("\\@hspace","\\hskip #1\\relax"),Lr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Lr("\\ordinarycolon",":"),Lr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Lr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Lr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Lr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Lr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Lr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Lr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Lr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Lr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Lr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Lr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Lr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Lr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Lr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Lr("∷","\\dblcolon"),Lr("∹","\\eqcolon"),Lr("≔","\\coloneqq"),Lr("≕","\\eqqcolon"),Lr("⩴","\\Coloneqq"),Lr("\\ratio","\\vcentcolon"),Lr("\\coloncolon","\\dblcolon"),Lr("\\colonequals","\\coloneqq"),Lr("\\coloncolonequals","\\Coloneqq"),Lr("\\equalscolon","\\eqqcolon"),Lr("\\equalscoloncolon","\\Eqqcolon"),Lr("\\colonminus","\\coloneq"),Lr("\\coloncolonminus","\\Coloneq"),Lr("\\minuscolon","\\eqcolon"),Lr("\\minuscoloncolon","\\Eqcolon"),Lr("\\coloncolonapprox","\\Colonapprox"),Lr("\\coloncolonsim","\\Colonsim"),Lr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Lr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Lr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Lr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Lr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Lr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Lr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Lr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Lr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Lr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Lr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Lr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Lr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Lr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Lr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Lr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Lr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Lr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Lr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Lr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Lr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Lr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Lr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Lr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Lr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Lr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Lr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Lr("\\imath","\\html@mathml{\\@imath}{ı}"),Lr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Lr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Lr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Lr("⟦","\\llbracket"),Lr("⟧","\\rrbracket"),Lr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Lr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Lr("⦃","\\lBrace"),Lr("⦄","\\rBrace"),Lr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Lr("⦵","\\minuso"),Lr("\\darr","\\downarrow"),Lr("\\dArr","\\Downarrow"),Lr("\\Darr","\\Downarrow"),Lr("\\lang","\\langle"),Lr("\\rang","\\rangle"),Lr("\\uarr","\\uparrow"),Lr("\\uArr","\\Uparrow"),Lr("\\Uarr","\\Uparrow"),Lr("\\N","\\mathbb{N}"),Lr("\\R","\\mathbb{R}"),Lr("\\Z","\\mathbb{Z}"),Lr("\\alef","\\aleph"),Lr("\\alefsym","\\aleph"),Lr("\\Alpha","\\mathrm{A}"),Lr("\\Beta","\\mathrm{B}"),Lr("\\bull","\\bullet"),Lr("\\Chi","\\mathrm{X}"),Lr("\\clubs","\\clubsuit"),Lr("\\cnums","\\mathbb{C}"),Lr("\\Complex","\\mathbb{C}"),Lr("\\Dagger","\\ddagger"),Lr("\\diamonds","\\diamondsuit"),Lr("\\empty","\\emptyset"),Lr("\\Epsilon","\\mathrm{E}"),Lr("\\Eta","\\mathrm{H}"),Lr("\\exist","\\exists"),Lr("\\harr","\\leftrightarrow"),Lr("\\hArr","\\Leftrightarrow"),Lr("\\Harr","\\Leftrightarrow"),Lr("\\hearts","\\heartsuit"),Lr("\\image","\\Im"),Lr("\\infin","\\infty"),Lr("\\Iota","\\mathrm{I}"),Lr("\\isin","\\in"),Lr("\\Kappa","\\mathrm{K}"),Lr("\\larr","\\leftarrow"),Lr("\\lArr","\\Leftarrow"),Lr("\\Larr","\\Leftarrow"),Lr("\\lrarr","\\leftrightarrow"),Lr("\\lrArr","\\Leftrightarrow"),Lr("\\Lrarr","\\Leftrightarrow"),Lr("\\Mu","\\mathrm{M}"),Lr("\\natnums","\\mathbb{N}"),Lr("\\Nu","\\mathrm{N}"),Lr("\\Omicron","\\mathrm{O}"),Lr("\\plusmn","\\pm"),Lr("\\rarr","\\rightarrow"),Lr("\\rArr","\\Rightarrow"),Lr("\\Rarr","\\Rightarrow"),Lr("\\real","\\Re"),Lr("\\reals","\\mathbb{R}"),Lr("\\Reals","\\mathbb{R}"),Lr("\\Rho","\\mathrm{P}"),Lr("\\sdot","\\cdot"),Lr("\\sect","\\S"),Lr("\\spades","\\spadesuit"),Lr("\\sub","\\subset"),Lr("\\sube","\\subseteq"),Lr("\\supe","\\supseteq"),Lr("\\Tau","\\mathrm{T}"),Lr("\\thetasym","\\vartheta"),Lr("\\weierp","\\wp"),Lr("\\Zeta","\\mathrm{Z}"),Lr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Lr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Lr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Lr("\\bra","\\mathinner{\\langle{#1}|}"),Lr("\\ket","\\mathinner{|{#1}\\rangle}"),Lr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Lr("\\Bra","\\left\\langle#1\\right|"),Lr("\\Ket","\\left|#1\\right\\rangle");const Gi=e=>t=>{const n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.consumeArg().tokens,s=t.macros.get("|"),a=t.macros.get("\\|");t.macros.beginGroup();const l=t=>n=>{e&&(n.macros.set("|",s),i.length&&n.macros.set("\\|",a));let o=t;if(!t&&i.length){const e=n.future();"|"===e.text&&(n.popToken(),o=!0)}return{tokens:o?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));const c=t.consumeArg().tokens,u=t.expandTokens([...o,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Lr("\\bra@ket",Gi(!1)),Lr("\\bra@set",Gi(!0)),Lr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Lr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Lr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Lr("\\angln","{\\angl n}"),Lr("\\blue","\\textcolor{##6495ed}{#1}"),Lr("\\orange","\\textcolor{##ffa500}{#1}"),Lr("\\pink","\\textcolor{##ff00af}{#1}"),Lr("\\red","\\textcolor{##df0030}{#1}"),Lr("\\green","\\textcolor{##28ae7b}{#1}"),Lr("\\gray","\\textcolor{gray}{#1}"),Lr("\\purple","\\textcolor{##9d38bd}{#1}"),Lr("\\blueA","\\textcolor{##ccfaff}{#1}"),Lr("\\blueB","\\textcolor{##80f6ff}{#1}"),Lr("\\blueC","\\textcolor{##63d9ea}{#1}"),Lr("\\blueD","\\textcolor{##11accd}{#1}"),Lr("\\blueE","\\textcolor{##0c7f99}{#1}"),Lr("\\tealA","\\textcolor{##94fff5}{#1}"),Lr("\\tealB","\\textcolor{##26edd5}{#1}"),Lr("\\tealC","\\textcolor{##01d1c1}{#1}"),Lr("\\tealD","\\textcolor{##01a995}{#1}"),Lr("\\tealE","\\textcolor{##208170}{#1}"),Lr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Lr("\\greenB","\\textcolor{##8af281}{#1}"),Lr("\\greenC","\\textcolor{##74cf70}{#1}"),Lr("\\greenD","\\textcolor{##1fab54}{#1}"),Lr("\\greenE","\\textcolor{##0d923f}{#1}"),Lr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Lr("\\goldB","\\textcolor{##ffbb71}{#1}"),Lr("\\goldC","\\textcolor{##ff9c39}{#1}"),Lr("\\goldD","\\textcolor{##e07d10}{#1}"),Lr("\\goldE","\\textcolor{##a75a05}{#1}"),Lr("\\redA","\\textcolor{##fca9a9}{#1}"),Lr("\\redB","\\textcolor{##ff8482}{#1}"),Lr("\\redC","\\textcolor{##f9685d}{#1}"),Lr("\\redD","\\textcolor{##e84d39}{#1}"),Lr("\\redE","\\textcolor{##bc2612}{#1}"),Lr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Lr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Lr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Lr("\\maroonD","\\textcolor{##ca337c}{#1}"),Lr("\\maroonE","\\textcolor{##9e034e}{#1}"),Lr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Lr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Lr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Lr("\\purpleD","\\textcolor{##7854ab}{#1}"),Lr("\\purpleE","\\textcolor{##543b78}{#1}"),Lr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Lr("\\mintB","\\textcolor{##edf2df}{#1}"),Lr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Lr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Lr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Lr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Lr("\\grayD","\\textcolor{##d6d8da}{#1}"),Lr("\\grayE","\\textcolor{##babec2}{#1}"),Lr("\\grayF","\\textcolor{##888d93}{#1}"),Lr("\\grayG","\\textcolor{##626569}{#1}"),Lr("\\grayH","\\textcolor{##3b3e40}{#1}"),Lr("\\grayI","\\textcolor{##21242c}{#1}"),Lr("\\kaBlue","\\textcolor{##314453}{#1}"),Lr("\\kaGreen","\\textcolor{##71B307}{#1}");const Ki={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Xi{constructor(e,t,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=t,this.expansionCount=0,this.feed(e),this.macros=new Bi(qi,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Ii(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){let t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Fr("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;;){const e=this.future();if(" "!==e.text)break;this.stack.pop()}}consumeArg(e){const t=[],n=e&&e.length>0;n||this.consumeSpaces();const i=this.future();let o,s=0,a=0;do{if(o=this.popToken(),t.push(o),"{"===o.text)++s;else if("}"===o.text){if(--s,-1===s)throw new r("Extra }",o)}else if("EOF"===o.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",o);if(e&&n)if((0===s||1===s&&"{"===e[a])&&o.text===e[a]){if(++a,a===e.length){t.splice(-a,a);break}}else a=0}while(0!==s||n);return"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:o}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");const n=t[0];for(let e=0;e<n.length;e++){const t=this.popToken();if(n[e]!==t.text)throw new r("Use of the macro doesn't match its definition",t)}}const n=[];for(let r=0;r<e;r++)n.push(this.consumeArg(t&&t[r+1]).tokens);return n}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){const t=this.popToken(),n=t.text,i=t.noexpand?null:this._getExpansion(n);if(null==i||e&&i.unexpandable){if(e&&null==i&&"\\"===n[0]&&!this.isDefined(n))throw new r("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);let o=i.tokens;const s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){o=o.slice();for(let e=o.length-1;e>=0;--e){let t=o[e];if("#"===t.text){if(0===e)throw new r("Incomplete placeholder at end of macro body",t);if(t=o[--e],"#"===t.text)o.splice(e+1,1);else{if(!/^[1-9]$/.test(t.text))throw new r("Not a valid argument number",t);o.splice(e,2,...s[+t.text-1])}}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Fr(e)]):void 0}expandTokens(e){const t=[],n=this.stack.length;this.pushTokens(e);while(this.stack.length>n)if(!1===this.expandOnce(!0)){const e=this.stack.pop();e.treatAsRelax&&(e.noexpand=!1,e.treatAsRelax=!1),t.push(e)}return this.countExpansion(t.length),t}expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;if(1===e.length){const t=this.lexer.catcodes[e];if(null!=t&&13!==t)return}const n="function"===typeof t?t(this):t;if("string"===typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");while(-1!==t.indexOf("#"+(e+1)))++e}const t=new Ii(n,this.settings),r=[];let i=t.lex();while("EOF"!==i.text)r.push(i),i=t.lex();r.reverse();const o={tokens:r,numArgs:e};return o}return n}isDefined(e){return this.macros.has(e)||Oi.hasOwnProperty(e)||De.math.hasOwnProperty(e)||De.text.hasOwnProperty(e)||Ki.hasOwnProperty(e)}isExpandable(e){const t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:Oi.hasOwnProperty(e)&&!Oi[e].primitive}}const Yi=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Zi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Ji={"́":{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"}},Qi={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class $i{constructor(e,t){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 Xi(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new r("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){const t=this.nextToken;this.consume(),this.gullet.pushToken(new Fr("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){const n=[];while(1){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==$i.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&Oi[r.text]&&Oi[r.text].infix)break;const i=this.parseAtom(t);if(!i)break;"internal"!==i.type&&n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let t,n=-1;for(let i=0;i<e.length;i++)if("infix"===e[i].type){if(-1!==n)throw new r("only one infix operator per group",e[i].token);n=i,t=e[i].replaceWith}if(-1!==n&&t){let r,i;const o=e.slice(0,n),s=e.slice(n+1);let a;return r=1===o.length&&"ordgroup"===o[0].type?o[0]:{type:"ordgroup",mode:this.mode,body:o},i=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},a="\\\\abovefrac"===t?this.callFunction(t,[r,e[n],i],[]):this.callFunction(t,[r,i],[]),[a]}return e}handleSupSubscript(e){const t=this.fetch(),n=t.text;let i;this.consume(),this.consumeSpaces();do{var o;i=this.parseGroup(e)}while("internal"===(null==(o=i)?void 0:o.type));if(!i)throw new r("Expected group after '"+n+"'",t);return i}formatUnsupportedCmd(e){const t=[];for(let i=0;i<e.length;i++)t.push({type:"textord",mode:"text",text:e[i]});const n={type:"text",mode:this.mode,body:t},r={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return r}parseAtom(e){const t=this.parseGroup("atom",e);if("internal"===(null==t?void 0:t.type))return t;if("text"===this.mode)return t;let n,i;while(1){this.consumeSpaces();const e=this.fetch();if("\\limits"===e.text||"\\nolimits"===e.text){if(t&&"op"===t.type){const n="\\limits"===e.text;t.limits=n,t.alwaysHandleSupSub=!0}else{if(!t||"operatorname"!==t.type)throw new r("Limit controls must follow a math operator",e);t.alwaysHandleSupSub&&(t.limits="\\limits"===e.text)}this.consume()}else if("^"===e.text){if(n)throw new r("Double superscript",e);n=this.handleSupSubscript("superscript")}else if("_"===e.text){if(i)throw new r("Double subscript",e);i=this.handleSupSubscript("subscript")}else if("'"===e.text){if(n)throw new r("Double superscript",e);const t={type:"textord",mode:this.mode,text:"\\prime"},i=[t];this.consume();while("'"===this.fetch().text)i.push(t),this.consume();"^"===this.fetch().text&&i.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:i}}else{if(!Zi[e.text])break;{const t=Yi.test(e.text),r=[];r.push(new Fr(Zi[e.text])),this.consume();while(1){const e=this.fetch().text;if(!Zi[e])break;if(Yi.test(e)!==t)break;r.unshift(new Fr(Zi[e])),this.consume()}const o=this.subparse(r);t?i={type:"ordgroup",mode:"math",body:o}:n={type:"ordgroup",mode:"math",body:o}}}}return n||i?{type:"supsub",mode:this.mode,base:t,sup:n,sub:i}:t}parseFunction(e,t){const n=this.fetch(),i=n.text,o=Oi[i];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new r("Got function '"+i+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!o.allowedInText)throw new r("Can't use function '"+i+"' in text mode",n);if("math"===this.mode&&!1===o.allowedInMath)throw new r("Can't use function '"+i+"' in math mode",n);const{args:s,optArgs:a}=this.parseArguments(i,o);return this.callFunction(i,s,a,n,e)}callFunction(e,t,n,i,o){const s={funcName:e,parser:this,token:i,breakOnTokenText:o},a=Oi[e];if(a&&a.handler)return a.handler(s,t,n);throw new r("No function handler for "+e)}parseArguments(e,t){const n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};const i=[],o=[];for(let s=0;s<n;s++){let n=t.argTypes&&t.argTypes[s];const a=s<t.numOptionalArgs;(t.primitive&&null==n||"sqrt"===t.type&&1===s&&null==o[0])&&(n="primitive");const l=this.parseGroupOfType("argument to '"+e+"'",n,a);if(a)o.push(l);else{if(null==l)throw new r("Null argument, please report this as a bug");i.push(l)}}return{args:i,optArgs:o}}parseGroupOfType(e,t,n){switch(t){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,t);case"hbox":{const e=this.parseArgumentGroup(n,"text");return null!=e?{type:"styling",mode:e.mode,body:[e],style:"text"}:null}case"raw":{const e=this.parseStringGroup("raw",n);return null!=e?{type:"raw",mode:"text",string:e.text}:null}case"primitive":{if(n)throw new r("A primitive argument cannot be optional");const t=this.parseGroup(e);if(null==t)throw new r("Expected group as "+e,this.fetch());return t}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new r("Unknown group type as "+e,this.fetch())}}consumeSpaces(){while(" "===this.fetch().text)this.consume()}parseStringGroup(e,t){const n=this.gullet.scanArgument(t);if(null==n)return null;let r,i="";while("EOF"!==(r=this.fetch()).text)i+=r.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,t){const n=this.fetch();let i,o=n,s="";while("EOF"!==(i=this.fetch()).text&&e.test(s+i.text))o=i,s+=o.text,this.consume();if(""===s)throw new r("Invalid "+t+": '"+n.text+"'",n);return n.range(o,s)}parseColorGroup(e){const t=this.parseStringGroup("color",e);if(null==t)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new r("Invalid color: '"+t.text+"'",t);let i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){let t,n=!1;if(this.gullet.consumeSpaces(),t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);const i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!i)throw new r("Invalid size: '"+t.text+"'",t);const o={number:+(i[1]+i[2]),unit:i[3]};if(!fe(o))throw new r("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;const n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,t){const n=this.gullet.scanArgument(e);if(null==n)return null;const r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();const i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const o={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),o}parseGroup(e,t){const n=this.fetch(),i=n.text;let o;if("{"===i||"\\begingroup"===i){this.consume();const e="{"===i?"}":"\\endgroup";this.gullet.beginGroup();const t=this.parseExpression(!1,e),r=this.fetch();this.expect(e),this.gullet.endGroup(),o={type:"ordgroup",mode:this.mode,loc:Dr.range(n,r),body:t,semisimple:"\\begingroup"===i||void 0}}else if(o=this.parseFunction(t,e)||this.parseSymbol(),null==o&&"\\"===i[0]&&!Ki.hasOwnProperty(i)){if(this.settings.throwOnError)throw new r("Undefined control sequence: "+i,n);o=this.formatUnsupportedCmd(i),this.consume()}return o}formLigatures(e){let t=e.length-1;for(let n=0;n<t;++n){const r=e[n],i=r.text;"-"===i&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:Dr.range(r,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:Dr.range(r,e[n+1]),text:"--"}),t-=1)),"'"!==i&&"`"!==i||e[n+1].text!==i||(e.splice(n,2,{type:"textord",mode:"text",loc:Dr.range(r,e[n+1]),text:i+i}),t-=1)}}parseSymbol(){const e=this.fetch();let t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();let e=t.slice(5);const n="*"===e.charAt(0);if(n&&(e=e.slice(1)),e.length<2||e.charAt(0)!==e.slice(-1))throw new r("\\verb assertion failed --\n please report what input caused this bug");return e=e.slice(1,-1),{type:"verb",mode:"text",body:e,star:n}}Qi.hasOwnProperty(t[0])&&!De[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Qi[t[0]]+t.slice(1));const n=Fi.exec(t);let i;if(n&&(t=t.substring(0,n.index),"i"===t?t="ı":"j"===t&&(t="ȷ")),De[this.mode][t]){this.settings.strict&&"math"===this.mode&&nt.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);const n=De[this.mode][t].group,r=Dr.range(e);let o;if(Ne.hasOwnProperty(n)){const e=n;o={type:"atom",mode:this.mode,family:e,loc:r,text:t}}else o={type:n,mode:this.mode,loc:r,text:t};i=o}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(_(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:Dr.range(e),text:t}}if(this.consume(),n)for(let o=0;o<n[0].length;o++){const t=n[0][o];if(!Ji[t])throw new r("Unknown accent ' "+t+"'",e);const s=Ji[t][this.mode]||Ji[t].text;if(!s)throw new r("Accent "+t+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:Dr.range(e),label:s,isStretchy:!1,isShifty:!0,base:i}}return i}}$i.endOfExpression=["}","\\endgroup","\\end","\\right","&"];const eo=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const n=new $i(e,t);delete n.gullet.macros.current["\\df@tag"];let i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new r("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new Fr("\\df@tag")])}]}return i};var to=eo;let no=function(e,t,n){t.textContent="";const r=so(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),no=function(){throw new r("KaTeX doesn't work in quirks mode.")});const ro=function(e,t){const n=so(e,t).toMarkup();return n},io=function(e,t){const n=new y(t);return to(e,n)},oo=function(e,t,n){if(n.throwOnError||!(e instanceof r))throw e;const i=At.makeSpan(["katex-error"],[new Te(t)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},so=function(e,t){const n=new y(t);try{const t=to(e,n);return gn(t,e,n)}catch(r){return oo(r,e,n)}},ao=function(e,t){const n=new y(t);try{const t=to(e,n);return bn(t,e,n)}catch(r){return oo(r,e,n)}},lo="0.16.22",co={Span:we,Anchor:ke,SymbolNode:Te,SvgNode:ze,PathNode:Ae,LineNode:Oe};var uo={version:lo,render:no,renderToString:ro,ParseError:r,SETTINGS_SCHEMA:g,__parse:io,__renderToDomTree:so,__renderToHTMLTree:ao,__setFontMetrics:ne,__defineSymbol:Fe,__defineFunction:jt,__defineMacro:Lr,__domTree:co},ho=uo;return t=t["default"],t}()}))},"57a6":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r,i=n("c4ab"),o=n("4dde"),s=n("2364");(function(e){e["Source"]="Source",e["Data"]="Data",e["Alternative"]="Alternative",e["Supplement"]="Supplement",e["EncryptedPayload"]="EncryptedPayload",e["FormData"]="EncryptedPayload",e["Schema"]="Schema",e["Unspecified"]="Unspecified"})(r||(r={}));var a=function(){function e(e,t,n){void 0===n&&(n={}),this.fileData=e,this.fileName=t,this.options=n}return e.for=function(t,n,r){return void 0===r&&(r={}),new e(t,n,r)},e.prototype.embedIntoContext=function(e,t){return Object(i["b"])(this,void 0,void 0,(function(){var n,r,a,l,c,u,h,d,f;return Object(i["d"])(this,(function(i){return n=this.options,r=n.mimeType,a=n.description,l=n.creationDate,c=n.modificationDate,u=n.afRelationship,h=e.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:null!==r&&void 0!==r?r:void 0,Params:{Size:this.fileData.length,CreationDate:l?o["a"].fromDate(l):void 0,ModDate:c?o["a"].fromDate(c):void 0}}),d=e.register(h),f=e.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!==u&&void 0!==u?u:void 0}),t?(e.assign(t,f),[2,t]):[2,e.register(f)]}))}))},e}();t["b"]=a},5838:function(e,t,n){"use strict";e.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"}},"5b13":function(e,t,n){"use strict";class r{constructor(e){this.mindMap=e,this.autoMoveTimer=null}onMove(e,t,n=(()=>{}),r=(()=>{})){n();let i=this.mindMap.opt.selectTranslateStep,o=this.mindMap.opt.selectTranslateLimit,s=0;e<=this.mindMap.elRect.left+o&&(r("left",i),this.mindMap.view.translateX(i),s++),e>=this.mindMap.elRect.right-o&&(r("right",i),this.mindMap.view.translateX(-i),s++),t<=this.mindMap.elRect.top+o&&(r("top",i),this.mindMap.view.translateY(i),s++),t>=this.mindMap.elRect.bottom-o&&(r("bottom",i),this.mindMap.view.translateY(-i),s++),s>0&&this.startAutoMove(e,t,n,r)}startAutoMove(e,t,n,r){this.autoMoveTimer=setTimeout(()=>{this.onMove(e,t,n,r)},20)}clearAutoMoveTimer(){clearTimeout(this.autoMoveTimer)}}t["a"]=r},"5b81":function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("e330"),s=n("1d80"),a=n("1626"),l=n("7234"),c=n("44e7"),u=n("577e"),h=n("dc4a"),d=n("90d8"),f=n("0cb2"),p=n("b622"),m=n("c430"),g=p("replace"),b=TypeError,y=o("".indexOf),v=o("".replace),x=o("".slice),w=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,p,k,S,C,T,z,A=s(this),O=0,E=0,M="";if(!l(e)){if(n=c(e),n&&(r=u(s(d(e))),!~y(r,"g")))throw new b("`.replaceAll` does not allow non-global regexes");if(o=h(e,g),o)return i(o,e,A,t);if(m&&n)return v(u(A),e,t)}p=u(A),k=u(e),S=a(t),S||(t=u(t)),C=k.length,T=w(1,C),O=y(p,k);while(-1!==O)z=S?u(t(k,O,p)):f(k,p,O,[],void 0,t),M+=x(p,E,O)+z,E=O+C,O=O+T>p.length?-1:y(p,k,O+T);return E<p.length&&(M+=x(p,E)),M}})},"5b88":function(e,t,n){"use strict";(function(e){var r=n("644b"),i=n("48b7"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===o,l=a?r["a"].Buffer:void 0,c=l?l.isBuffer:void 0,u=c||i["a"];t["a"]=u}).call(this,n("dd40")(e))},"5d70":function(e,t,n){"use strict";n("14d9");var r=n("1e42"),i=n("0f9c"),o=n("4013");const s=(e,t)=>e.getData("associativeLineTargets").findIndex(e=>e===t.getData("uid")),a=(e,t,n,r)=>{const i=5;let o=e+(n-e)/2,s=t,a=o,l=r;return Math.abs(e-n)<=i&&(o=e+(r-t)/2,a=o),Math.abs(t-r)<=i&&(o=e,s=t-(n-e)/2,a=n,l=s),[{x:o,y:s},{x:a,y:l}]},l=(e,t,n,r)=>`M ${e.x},${e.y} C ${n.x},${n.y} ${r.x},${r.y} ${t.x},${t.y}`,c=(e,t,n,r)=>{const i=[`M ${e.x},${e.y}`],o=[],s=30,a=Math.abs(t.x-e.x),l=Math.abs(t.y-e.y),c=Math.max(s,.3*Math.min(a,l));let u={...e};switch(n){case"left":u.x-=c;break;case"right":u.x+=c;break;case"top":u.y-=c;break;case"bottom":u.y+=c;break}let h={...t};switch(r){case"left":h.x-=c;break;case"right":h.x+=c;break;case"top":h.y-=c;break;case"bottom":h.y+=c;break}if(i.push(`L ${u.x},${u.y}`),o.push(u),"left"!==n&&"right"!==n||"left"!==r&&"right"!==r)if("top"!==n&&"bottom"!==n||"top"!==r&&"bottom"!==r)i.push(`L ${h.x},${u.y}`),o.push({x:h.x,y:u.y});else{const e=(u.y+h.y)/2;i.push(`L ${u.x},${e}`),i.push(`L ${h.x},${e}`),o.push({x:u.x,y:e}),o.push({x:h.x,y:e})}else{const e=(u.x+h.x)/2;i.push(`L ${e},${u.y}`),i.push(`L ${e},${h.y}`),o.push({x:e,y:u.y}),o.push({x:e,y:h.y})}return i.push(`L ${h.x},${h.y}`),o.push(h),i.push(`L ${t.x},${t.y}`),{path:i.join(" "),controlPoints:o}},u=e=>{let{left:t,top:n,width:r,height:i}=e;return{right:t+r,bottom:n+i,left:t,top:n,width:r,height:i}},h=(e,t,n,r)=>{let i=a(e,t,n,r);return l({x:e,y:t},{x:n,y:r},i[0],i[1])},d=(e,t)=>{const{left:n,top:r,translateLeft:i,translateTop:o,width:s,height:a}=e,l=t.clientX,c=t.clientY,u=i+s/2,h=o+a/2,d=n+s/2,f=r+a/2,p=Math.atan(a/s),m=l-u,g=h-c,b=Math.atan2(g,m);let y=n+s,v=r+a;if(b<p&&b>=-p){const e=b*(s/2);return(b<p&&b>=0||b>=-p&&b<0)&&(v=f-e),{x:y,y:v,dir:"right",range:e}}if(b>=p&&b<Math.PI-p){v=r;let e=0;if(b<Math.PI/2-p&&b>=p){const t=a/2/b;e=-t,y=d+t}else if(b>=Math.PI/2-p&&b<Math.PI-p){const t=(u-l)/(h-c),n=a/2*t;e=n,y=d-n}return{x:y,y:v,dir:"top",range:e}}if(b<-p&&b>=p-Math.PI){let e=0;if(b>=p-Math.PI/2&&b<-p){const t=a/2/b;e=t,y=d-t}else if(b<p-Math.PI/2&&b>=p-Math.PI){const t=(u-l)/(h-c),n=a/2*t;e=-n,y=d+n}return{x:y,y:v,dir:"bottom",range:e}}y=n;const x=(h-c)/(u-l),w=x*(s/2);return(b>=-Math.PI&&b<p-Math.PI||b<Math.PI&&b>=Math.PI-p)&&(v=f-w),{x:y,y:v,dir:"left",range:w}},f=(e,t="right",n=0,r=null)=>{let{left:i,top:o,width:s,height:a}=e;if(r)return d(e,r);switch(t){case"left":return{x:i,y:o+a/2-n,dir:t};case"right":return{x:i+s,y:o+a/2-n,dir:t};case"top":return{x:i+s/2-n,y:o,dir:t};case"bottom":return{x:i+s/2-n,y:o+a,dir:t};default:break}},p=(e,t)=>{const n=u(e),i=u(t);let o="",s="";const a=Object(r["P"])({x:n.left,y:n.top,width:n.width,height:n.height},{x:i.left,y:i.top,width:i.width,height:i.height});switch(a){case"left-top":o="right",s="top";break;case"right-top":o="left",s="top";break;case"right-bottom":o="left",s="bottom";break;case"left-bottom":o="right",s="bottom";break;case"left":o="right",s="left";break;case"right":o="left",s="right";break;case"top":o="right",s="right";break;case"bottom":o="left",s="left";break;case"overlap":o="right",s="right";break;default:break}return[f(e,o),f(t,s)]},m=(e,t,n,r)=>{const i=n.getData&&r.getData&&n.getData("isFlowChart")&&r.getData("isFlowChart");if(i){var o,u;const i=s(n,r),a=(n.getData("associativeLinePoint")||[])[i]||{},l=(null===(o=a.startPoint)||void 0===o?void 0:o.dir)||e.dir||"right",h=(null===(u=a.endPoint)||void 0===u?void 0:u.dir)||t.dir||"left";return c(e,t,l,h)}{let i=s(n,r),o=[],c=n.getData("associativeLineTargetControlOffsets");if(c&&c[i]){let n=c[i];o=[{x:e.x+n[0].x,y:e.y+n[0].y},{x:t.x+n[1].x,y:t.y+n[1].y}]}else o=a(e.x,e.y,t.x,t.y);return{path:l(e,t,o[0],o[1]),controlPoints:o}}},g=(e,t)=>{let n=a(e.x,e.y,t.x,t.y);return[{x:n[0].x-e.x,y:n[0].y-e.y},{x:n[1].x-t.x,y:n[1].y-t.y}]};function b(e,t){let{associativeLineActiveColor:n}=this.getStyleConfig(e,t);this.controlLine1=this.associativeLineDraw.line().stroke({color:n,width:2}),this.controlLine2=this.associativeLineDraw.line().stroke({color:n,width:2}),this.controlPoint1=this.createOneControlNode("controlPoint1",e,t),this.controlPoint2=this.createOneControlNode("controlPoint2",e,t)}function y(e,t,n){let{associativeLineActiveColor:r}=this.getStyleConfig(t,n);return this.associativeLineDraw.circle(this.controlPointDiameter).stroke({color:r}).fill({color:"#fff"}).click(e=>{e.stopPropagation()}).mousedown(t=>{this.onControlPointMousedown(t,e)})}function v(e,t){if(this.mindMap.opt.readonly)return e.stopPropagation(),void e.preventDefault();e.stopPropagation(),e.preventDefault(),this.isControlPointMousedown=!0,this.mousedownControlPointKey=t}function x(e){if(this.mindMap.opt.readonly)return;if(!this.isControlPointMousedown||!this.mousedownControlPointKey||!this[this.mousedownControlPointKey])return;e.stopPropagation(),e.preventDefault();let t=this.controlPointDiameter/2,{x:n,y:r}=this.getTransformedEventPos(e);this.controlPointMousemoveState.pos={x:n,y:r},this[this.mousedownControlPointKey].x(n-t).y(r-t);let[,,,i,o]=this.activeLine,a=s(i,o),{associativeLinePoint:l,associativeLineTargetControlOffsets:c}=i.getData();l=l||[];const u=this.getNodePos(i),h=this.getNodePos(o);let[d,p]=this.updateAllLinesPos(i,o,l[a]);this.controlPointMousemoveState.startPoint=d,this.controlPointMousemoveState.endPoint=p,this.controlPointMousemoveState.targetIndex=a;let m=[];m=c?c[a]:g(d,p);let b=null,y=null;const{x:v,y:x}=this.mindMap.toPos(e.clientX,e.clientY),w={clientX:v,clientY:x};"controlPoint1"===this.mousedownControlPointKey?(d=f(u,"",0,w),b={x:n,y:r},y={x:p.x+m[1].x,y:p.y+m[1].y},d&&(this.controlPointMousemoveState.startPoint=d,this.controlLine1.plot(d.x,d.y,b.x,b.y))):(p=f(h,"",0,w),b={x:d.x+m[0].x,y:d.y+m[0].y},y={x:n,y:r},p&&(this.controlPointMousemoveState.endPoint=p,this.controlLine2.plot(p.x,p.y,y.x,y.y))),this.updataAassociativeLine(d,p,b,y,this.activeLine)}function w(e,t,n,r,i){const[o,s,a]=i,c=l(e,t,n,r);o.plot(c),s.plot(c),this.updateTextPos(o,a),this.updateTextEditBoxPos(a)}function k(e){if(!this.isControlPointMousedown)return;if(this.mindMap.opt.readonly)return void this.resetControlPoint();e.stopPropagation(),e.preventDefault();let{pos:t,startPoint:n,endPoint:r,targetIndex:i}=this.controlPointMousemoveState,[,,,o]=this.activeLine,s=[],{associativeLinePoint:a,associativeLineTargetControlOffsets:l}=o.getData();a||(a=[]),a[i]=a[i]||{startPoint:n,endPoint:r},l?s=l:s[i]=g(n,r);let c=null,u=null;"controlPoint1"===this.mousedownControlPointKey?(c={x:t.x-n.x,y:t.y-n.y},u=s[i][1],a[i].startPoint=n):(c=s[i][0],u={x:t.x-r.x,y:t.y-r.y},a[i].endPoint=r),s[i]=[c,u],this.mindMap.execCommand("SET_NODE_DATA",o,{associativeLineTargetControlOffsets:s,associativeLinePoint:a}),this.isNotRenderAllLines=!0,setTimeout(()=>{this.resetControlPoint()},0)}function S(){this.isControlPointMousedown=!1,this.mousedownControlPointKey="",this.controlPointMousemoveState={pos:null,startPoint:null,endPoint:null,targetIndex:""}}function C(e,t,n,r,i,o){if(this.mindMap.opt.readonly)return void this.hideControls();if(!this.mindMap.opt.enableAdjustAssociativeLinePoints)return;const s=i.getData&&o.getData&&i.getData("isFlowChart")&&o.getData("isFlowChart");if(s)return void this.hideControls();this.controlLine1||this.createControlNodes(i,o);let a=this.controlPointDiameter/2;this.controlLine1.plot(e.x,e.y,n.x,n.y),this.controlLine2.plot(t.x,t.y,r.x,r.y),this.controlPoint1.x(n.x-a).y(n.y-a),this.controlPoint2.x(r.x-a).y(r.y-a)}function T(){this.controlLine1&&([this.controlLine1,this.controlLine2,this.controlPoint1,this.controlPoint2].forEach(e=>{e.remove()}),this.controlLine1=null,this.controlLine2=null,this.controlPoint1=null,this.controlPoint2=null)}function z(){this.controlLine1&&[this.controlLine1,this.controlLine2,this.controlPoint1,this.controlPoint2].forEach(e=>{e.hide()})}function A(){this.controlLine1&&[this.controlLine1,this.controlLine2,this.controlPoint1,this.controlPoint2].forEach(e=>{e.show()})}var O={createControlNodes:b,createOneControlNode:y,onControlPointMousedown:v,onControlPointMousemove:x,onControlPointMouseup:k,resetControlPoint:S,renderControls:C,removeControls:T,hideControls:z,showControls:A,updataAassociativeLine:w},E=n("8a19");function M(e){let t=this.associativeLineDraw.group();const n=()=>{this.mindMap.opt.readonly||this.activeLine&&this.activeLine[3]===e.node&&this.activeLine[4]===e.toNode||this.setActiveLine({...e,text:t})};return t.click(e=>{e.stopPropagation(),this.mindMap.opt.readonly||n()}),t.on("dblclick",e=>{e.stopPropagation(),this.mindMap.opt.readonly||(n(),this.activeLine&&this.showEditTextBox(t))}),t}function N(e){if(this.mindMap.opt.readonly)return;if(this.mindMap.emit("before_show_text_edit"),this.mindMap.keyCommand.addShortcut("Enter",()=>{this.hideEditTextBox()}),!this.textEditNode){this.textEditNode=document.createElement("div"),this.textEditNode.className="associative-line-text-edit-warp",this.textEditNode.style.cssText="position:fixed;box-sizing: border-box;background-color:#fff;box-shadow: 0 0 20px rgba(0,0,0,.5);padding: 3px 5px;margin-left: -5px;margin-top: -3px;outline: none; word-break: break-all;",this.textEditNode.setAttribute("contenteditable",!0),this.textEditNode.addEventListener("keyup",e=>{e.stopPropagation()}),this.textEditNode.addEventListener("click",e=>{e.stopPropagation()});const e=this.mindMap.opt.customInnerElsAppendTo||document.body;e.appendChild(this.textEditNode)}let[,,,t,n]=this.activeLine,{associativeLineTextFontSize:i,associativeLineTextFontFamily:o,associativeLineTextLineHeight:s}=this.getStyleConfig(t,n),{defaultAssociativeLineText:a,nodeTextEditZIndex:l}=this.mindMap.opt,c=this.mindMap.view.scale,u=this.getText(t,n),h=(u||a).split(/\n/gim);this.textEditNode.style.fontFamily=o,this.textEditNode.style.fontSize=i*c+"px",this.textEditNode.style.lineHeight=h.length>1?s:"normal",this.textEditNode.style.zIndex=l,this.textEditNode.innerHTML=h.join("<br>"),this.textEditNode.style.display="block",this.updateTextEditBoxPos(e),this.showTextEdit=!0,""===u||u===a?Object(r["wb"])(this.textEditNode):Object(r["A"])(this.textEditNode)}function R(){if(!this.textEditNode)return;const e=this.mindMap.opt.customInnerElsAppendTo||document.body;e.removeChild(this.textEditNode)}function L(){this.hideEditTextBox()}function D(e){let t=e.node.getBoundingClientRect();this.textEditNode&&(this.textEditNode.style.minWidth=t.width+10+"px",this.textEditNode.style.minHeight=t.height+6+"px",this.textEditNode.style.left=t.left+"px",this.textEditNode.style.top=t.top+"px")}function F(){if(!this.showTextEdit)return;let[e,,t,n,i]=this.activeLine;if(!this.mindMap.opt.readonly){let o=Object(r["Q"])(this.textEditNode.innerHTML),s=o===this.mindMap.opt.defaultAssociativeLineText;o=s?"":o,this.mindMap.execCommand("SET_NODE_DATA",n,{associativeLineText:{...n.getData("associativeLineText")||{},[i.getData("uid")]:o}}),this.renderText(o,e,t,n,i)}this.textEditNode.style.display="none",this.textEditNode.innerHTML="",this.showTextEdit=!1,this.mindMap.emit("hide_text_edit")}function j(e,t){let n=e.getData("associativeLineText");return n&&n[t.getData("uid")]||""}function I(e,t,n,r,i){if(!e)return;let{associativeLineTextFontSize:o,associativeLineTextLineHeight:s}=this.getStyleConfig(r,i);n.clear();let a=e.replace(/\n$/g,"").split(/\n/gim);a.forEach((e,t)=>{""===e&&(e="\ufeff");let a=(new E["j"]).text(e);a.y(o*s*t),this.styleText(a,r,i),n.add(a)}),_(t,n)}function B(e,t,n){let{associativeLineTextColor:r,associativeLineTextFontSize:i,associativeLineTextFontFamily:o}=this.getStyleConfig(t,n);e.fill({color:r}).css({"font-family":o,"font-size":i+"px"})}function _(e,t){if(e&&t)try{const n=e.attr&&e.attr("d");if(!n||"string"!==typeof n||""===n.trim())return;const r=e.length();if(!Number.isFinite(r)||r<=0)return;const i=e.pointAt(r/2);if(!i||!Number.isFinite(i.x)||!Number.isFinite(i.y))return;const{width:o,height:s}=t.bbox();if(!Number.isFinite(o)||!Number.isFinite(s))return;t.x(i.x-o/2),t.y(i.y-s/2)}catch(n){}}var q={getText:j,createText:M,styleText:B,onScale:L,showEditTextBox:N,removeTextEditEl:R,hideEditTextBox:F,updateTextEditBoxPos:D,renderText:I,updateTextPos:_};const P=["associativeLineWidth","associativeLineColor","associativeLineActiveWidth","associativeLineActiveColor","associativeLineDasharray","associativeLineTextColor","associativeLineTextFontSize","associativeLineTextLineHeight","associativeLineTextFontFamily"];class U{constructor(e={}){this.mindMap=e.mindMap,this.associativeLineDraw=this.mindMap.associativeLineDraw,this.isNotRenderAllLines=!1,this.lineList=[],this.activeLine=null,this.isCreatingLine=!1,this.creatingStartNode=null,this.creatingLine=null,this.overlapNode=null,this.isNodeDragging=!1,this.dragLineUpdateRaf=null,this.controlLine1=null,this.controlLine2=null,this.controlPoint1=null,this.controlPoint2=null,this.controlPointDiameter=10,this.isControlPointMousedown=!1,this.mousedownControlPointKey="",this.controlPointMousemoveState={pos:null,startPoint:null,endPoint:null,targetIndex:""},this.checkOverlapNode=Object(r["Bb"])(this.checkOverlapNode,100,this),Object.keys(O).forEach(e=>{this[e]=O[e].bind(this)}),Object.keys(q).forEach(e=>{this[e]=q[e].bind(this)}),this.bindEvent()}bindEvent(){this.renderAllLines=this.renderAllLines.bind(this),this.onDrawClick=this.onDrawClick.bind(this),this.onNodeClick=this.onNodeClick.bind(this),this.removeLine=this.removeLine.bind(this),this.addLine=this.addLine.bind(this),this.onMousemove=this.onMousemove.bind(this),this.onNodeDragging=this.onNodeDragging.bind(this),this.onNodeDragend=this.onNodeDragend.bind(this),this.onControlPointMouseup=this.onControlPointMouseup.bind(this),this.onBeforeDestroy=this.onBeforeDestroy.bind(this),this.onModeChange=this.onModeChange.bind(this),this.mindMap.on("node_tree_render_end",this.renderAllLines),this.mindMap.on("data_change",this.renderAllLines),this.mindMap.on("draw_click",this.onDrawClick),this.mindMap.on("node_click",this.onNodeClick),this.mindMap.on("contextmenu",this.onDrawClick),this.mindMap.keyCommand.addShortcut("Del|Backspace",this.removeLine),this.mindMap.keyCommand.addShortcut("Esc",this.cancelCreateLine),this.mindMap.command.add("ADD_ASSOCIATIVE_LINE",this.addLine),this.mindMap.on("mousemove",this.onMousemove),this.mindMap.on("node_dragging",this.onNodeDragging),this.mindMap.on("node_dragend",this.onNodeDragend),this.mindMap.on("mouseup",this.onControlPointMouseup),this.mindMap.on("scale",this.onScale),this.mindMap.on("beforeDestroy",this.onBeforeDestroy),this.mindMap.on("mode_change",this.onModeChange)}unBindEvent(){this.mindMap.off("node_tree_render_end",this.renderAllLines),this.mindMap.off("data_change",this.renderAllLines),this.mindMap.off("draw_click",this.onDrawClick),this.mindMap.off("node_click",this.onNodeClick),this.mindMap.off("contextmenu",this.onDrawClick),this.mindMap.keyCommand.removeShortcut("Del|Backspace",this.removeLine),this.mindMap.keyCommand.removeShortcut("Esc",this.cancelCreateLine),this.mindMap.command.remove("ADD_ASSOCIATIVE_LINE",this.addLine),this.mindMap.off("mousemove",this.onMousemove),this.mindMap.off("node_dragging",this.onNodeDragging),this.mindMap.off("node_dragend",this.onNodeDragend),this.mindMap.off("mouseup",this.onControlPointMouseup),this.mindMap.off("scale",this.onScale),this.mindMap.off("beforeDestroy",this.onBeforeDestroy),this.mindMap.off("mode_change",this.onModeChange)}getStyleConfig(e,t){let n={};if(t){const r=e.getData("associativeLineStyle")||{};n=r[t.getData("uid")]||{}}const r={};return P.forEach(t=>{"undefined"!==typeof n[t]?r[t]=n[t]:r[t]=e.getStyle(t)}),r}onBeforeDestroy(){this.hideEditTextBox(),this.removeTextEditEl()}onModeChange(e){const t=e===o["a"].MODE.READONLY;t&&(this.isCreatingLine&&this.cancelCreateLine(),this.removeControls(),this.clearActiveLine(),this.hideEditTextBox())}onDrawClick(){this.isCreatingLine&&this.cancelCreateLine(),this.isControlPointMousedown||this.clearActiveLine()}onNodeClick(e){this.isCreatingLine?this.completeCreateLine(e):this.clearActiveLine()}createMarker(e=(()=>{})){return this.associativeLineDraw.marker(20,20,t=>{t.ref(12,5),t.size(10,10),t.attr("orient","auto-start-reverse"),e(t.path("M0,0 L2,5 L0,10 L10,5 Z"))})}updateAllLinesPos(e,t,n){n=n||{};let[r,i]=p(e,t),o=0,s="",a=0,l="";return n.startPoint&&(o=n.startPoint.range||0,s=n.startPoint.dir||"right",r=f(e,s,o)),n.endPoint&&(a=n.endPoint.range||0,l=n.endPoint.dir||"right",i=f(t,l,a)),[r,i]}renderAllLines(){if(this.isNotRenderAllLines)return void(this.isNotRenderAllLines=!1);this.removeAllLines(),this.removeControls(),this.clearActiveLine();let e=new Map,t=new Map;const n=n=>{n&&Object(r["Db"])(n,null,n=>{if(!n)return;let r=n.getData();r.associativeLineTargets&&r.associativeLineTargets.length>0&&t.set(n,r.associativeLineTargets),r.uid&&e.set(r.uid,n)},()=>{},!0,0)};this.mindMap.isMultiRoot&&this.mindMap.renderer.roots?this.mindMap.renderer.roots.forEach(e=>{n(e)}):n(this.mindMap.renderer.root),t.forEach((t,n)=>{t.forEach((t,r)=>{let i=e.get(t);if(!n||!i)return;const o=(n.getData("associativeLinePoint")||[])[r],[s,a]=this.updateAllLinesPos(n,i,o);this.drawLine(s,a,n,i)})})}drawLine(e,t,n,r){let{associativeLineWidth:i,associativeLineColor:o,associativeLineActiveWidth:s,associativeLineDasharray:a}=this.getStyleConfig(n,r),l=null;const c=this.createMarker(e=>{l=e});l.stroke({color:o}).fill({color:o});let{path:u,controlPoints:h}=m(e,t,n,r),d=this.associativeLineDraw.path();d.stroke({width:i,color:o,dasharray:a||[6,4]}).fill({color:"none"}),d.plot(u),d.marker("end",c);let f=this.associativeLineDraw.path();f.stroke({width:s,color:"transparent"}).fill({color:"none"}),f.plot(u);let p=this.createText({path:d,clickPath:f,markerPath:l,node:n,toNode:r,startPoint:e,endPoint:t,controlPoints:h});if(f.click(i=>{i.stopPropagation(),this.mindMap.opt.readonly||this.setActiveLine({path:d,clickPath:f,markerPath:l,text:p,node:n,toNode:r,startPoint:e,endPoint:t,controlPoints:h})}),f.dblclick(()=>{this.mindMap.opt.readonly||this.activeLine&&this.showEditTextBox(p)}),this.renderText(this.getText(n,r),d,p,n,r),this.lineList.push([d,f,p,n,r]),this.isNodeDragging){const e=this.getAssociativeLineDragMode();if("hideAll"===e)this.hideLineItem([d,f,p]);else if("hideRelated"===e){const e=this.getDragPlugin();this.isLineRelatedToDragging(n,r,e)&&this.hideLineItem([d,f,p])}}}updateActiveLineStyle(){if(!this.activeLine)return;if(this.mindMap.opt.readonly)return;this.isNotRenderAllLines=!0;const[e,t,n,r,i,o]=this.activeLine,{associativeLineWidth:s,associativeLineColor:a,associativeLineDasharray:l,associativeLineActiveWidth:c,associativeLineActiveColor:u,associativeLineTextColor:h,associativeLineTextFontFamily:d,associativeLineTextFontSize:f}=this.getStyleConfig(r,i);e.stroke({width:s,color:a,dasharray:l||[6,4]}).fill({color:"none"}),t.stroke({width:c,color:u}).fill({color:"none"}),o.stroke({color:a}).fill({color:a}),n.find("text").forEach(e=>{e.fill({color:h}).css({"font-family":d,"font-size":f+"px"})}),this.controlLine1&&this.controlLine1.stroke({color:u}),this.controlLine2&&this.controlLine2.stroke({color:u}),this.controlPoint1&&this.controlPoint1.stroke({color:u}),this.controlPoint2&&this.controlPoint2.stroke({color:u})}setActiveLine({path:e,clickPath:t,markerPath:n,text:r,node:i,toNode:o,startPoint:s,endPoint:a,controlPoints:l}){let{associativeLineActiveColor:c}=this.getStyleConfig(i,o);this.mindMap.execCommand("CLEAR_ACTIVE_NODE"),this.clearActiveLine(),this.activeLine=[e,t,r,i,o,n],t.stroke({color:c}),this.mindMap.opt.readonly||this.getText(i,o)||this.renderText(this.mindMap.opt.defaultAssociativeLineText,e,r,i,o),this.mindMap.opt.readonly?this.hideControls():this.renderControls(s,a,l[0],l[1],i,o),i&&o&&i.getData&&o.getData&&this.mindMap.emit("associative_line_click",e,t,i,o),this.front()}removeAllLines(){this.lineList.forEach(e=>{e[0].remove(),e[1].remove(),e[2].remove()}),this.lineList=[]}createLineFromActiveNode(){if(this.mindMap.opt.readonly)return;if(this.mindMap.renderer.activeNodeList.length<=0)return;let e=this.mindMap.renderer.activeNodeList[0];this.createLine(e)}createLine(e){if(this.mindMap.opt.readonly)return;let{associativeLineWidth:t,associativeLineColor:n,associativeLineDasharray:r}=this.getStyleConfig(e);if(this.isCreatingLine||!e)return;this.front(),this.isCreatingLine=!0,this.creatingStartNode=e,this.creatingLine=this.associativeLineDraw.path(),this.creatingLine.stroke({width:t,color:n,dasharray:r||[6,4]}).fill({color:"none"});let i=null;const o=this.createMarker(e=>{i=e});i.stroke({color:n}).fill({color:n}),this.creatingLine.marker("end",o)}cancelCreateLine(){this.isCreatingLine=!1,this.creatingStartNode=null,this.creatingLine&&this.creatingLine.remove(),this.creatingLine=null,this.overlapNode=null,this.back()}onMousemove(e){this.mindMap.opt.readonly||(this.isNodeDragging&&"follow"===this.getAssociativeLineDragMode()?this.scheduleDragLineUpdate():(this.onControlPointMousemove(e),this.updateCreatingLine(e)))}updateCreatingLine(e){if(this.mindMap.opt.readonly)return;if(!this.isCreatingLine)return;let{x:t,y:n}=this.getTransformedEventPos(e),r=f(this.creatingStartNode),i=t>r.x?-10:10,o=h(r.x,r.y,t+i,n);this.creatingLine.plot(o),this.checkOverlapNode(t,n)}getTransformedEventPos(e){let{x:t,y:n}=this.mindMap.toPos(e.clientX,e.clientY),{scaleX:r,scaleY:i,translateX:o,translateY:s}=this.mindMap.draw.transform();return{x:(t-o)/r,y:(n-s)/i}}getNodePos(e){const{scaleX:t,scaleY:n,translateX:r,translateY:i}=this.mindMap.draw.transform(),{left:o,top:s,width:a,height:l}=e;let c=o*t+r,u=s*n+i;return{left:o,top:s,translateLeft:c,translateTop:u,width:a,height:l}}checkOverlapNode(e,t){this.overlapNode=null;const n=n=>{n&&Object(r["d"])(n,n=>{if(!n)return;if(n.getData("isActive")&&this.mindMap.execCommand("SET_NODE_ACTIVE",n,!1),n.uid===this.creatingStartNode.uid||this.overlapNode)return;let{left:r,top:i,width:o,height:s}=n,a=r+o,l=i+s;e>=r&&e<=a&&t>=i&&t<=l&&(this.overlapNode=n)})};this.mindMap.isMultiRoot&&this.mindMap.renderer.roots?this.mindMap.renderer.roots.forEach(e=>{this.overlapNode||n(e)}):n(this.mindMap.renderer.root),this.overlapNode&&!this.overlapNode.getData("isActive")&&this.mindMap.execCommand("SET_NODE_ACTIVE",this.overlapNode,!0)}completeCreateLine(e){if(this.mindMap.opt.readonly)return;if(this.creatingStartNode.uid===e.uid)return;const{beforeAssociativeLineConnection:t}=this.mindMap.opt;let n=!1;"function"===typeof t&&(n=t(e)),n||(this.addLine(this.creatingStartNode,e),this.overlapNode&&this.overlapNode.getData("isActive")&&this.mindMap.execCommand("SET_NODE_ACTIVE",this.overlapNode,!1),this.cancelCreateLine())}addLine(e,t){if(this.mindMap.opt.readonly)return;if(!e||!t)return;let n=t.getData("uid");n||(n=Object(i["a"])(),this.mindMap.execCommand("SET_NODE_DATA",t,{uid:n}));let r=e.getData("associativeLineTargets")||[];const o=r.some(e=>e===n);if(o)return;r.push(n);let[s,l]=p(e,t),c=a(s.x,s.y,l.x,l.y);const{associativeLineInitPointsPosition:u}=this.mindMap.opt;if(u){const{from:e,to:t}=u;e&&(s.dir=e),t&&(l.dir=t)}let h=e.getData("associativeLineTargetControlOffsets")||[];h[r.length-1]=[{x:c[0].x-s.x,y:c[0].y-s.y},{x:c[1].x-l.x,y:c[1].y-l.y}];let d=e.getData("associativeLinePoint")||[];d[r.length-1]={startPoint:s,endPoint:l},this.mindMap.execCommand("SET_NODE_DATA",e,{associativeLineTargets:r,associativeLineTargetControlOffsets:h,associativeLinePoint:d})}removeLine(){if(this.mindMap.opt.readonly)return;if(!this.activeLine)return;let[,,,e,t]=this.activeLine;this.removeControls();let{associativeLineTargets:n,associativeLinePoint:r,associativeLineTargetControlOffsets:i,associativeLineText:o,associativeLineStyle:a}=e.getData();r=r||[];let l=s(e,t),c={};o&&Object.keys(o).forEach(e=>{e!==t.getData("uid")&&(c[e]=o[e])});let u={};a&&Object.keys(a).forEach(e=>{e!==t.getData("uid")&&(u[e]=a[e])}),this.mindMap.execCommand("SET_NODE_DATA",e,{associativeLineTargets:n.filter((e,t)=>t!==l),associativeLinePoint:r.filter((e,t)=>t!==l),associativeLineTargetControlOffsets:i?i.filter((e,t)=>t!==l):[],associativeLineText:c,associativeLineStyle:u})}clearActiveLine(){if(this.activeLine){let[,e,t,n,r]=this.activeLine;e.stroke({color:"transparent"}),this.hideEditTextBox(),this.getText(n,r)||t.clear(),this.activeLine=null,this.removeControls(),this.back(),this.mindMap.emit("associative_line_deactivate")}}getAssociativeLineDragMode(){const e=this.mindMap.opt.associativeLineDragMode;return"hideRelated"===e||"follow"===e?e:"hideAll"}getDragPlugin(){return this.mindMap&&this.mindMap.drag?this.mindMap.drag:null}isNodeInDragScope(e,t){if(!t||!e)return!1;const n=t.beingDragNodeList||[];return!!n.length&&n.some(t=>!!t&&(t.uid===e.uid||t.isAncestor(e)))}isLineRelatedToDragging(e,t,n){return this.isNodeInDragScope(e,n)||this.isNodeInDragScope(t,n)}hideLineItem(e){e[0]&&e[0].hide&&e[0].hide(),e[1]&&e[1].hide&&e[1].hide(),e[2]&&e[2].hide&&e[2].hide()}showLineItem(e){e[0]&&e[0].show&&e[0].show(),e[1]&&e[1].show&&e[1].show(),e[2]&&e[2].show&&e[2].show()}hideRelatedLinesOnDrag(){const e=this.getDragPlugin();this.lineList.forEach(t=>{const[,,,n,r]=t;this.isLineRelatedToDragging(n,r,e)?this.hideLineItem(t):this.showLineItem(t)})}scheduleDragLineUpdate(){this.dragLineUpdateRaf||(this.dragLineUpdateRaf=requestAnimationFrame(()=>{this.dragLineUpdateRaf=null,this.updateDraggingLines()}))}cancelDragLineUpdate(){this.dragLineUpdateRaf&&(cancelAnimationFrame(this.dragLineUpdateRaf),this.dragLineUpdateRaf=null)}updateDraggingLines(){const e=this.getDragPlugin();if(!e||!e.clone||!e.mousedownNode)return;if(!e.isMousedown||!e.isDragging)return;if(!e.beingDragNodeList||0===e.beingDragNodeList.length)return;if(e.beingDragNodeList.length>1)return;const t=e=>"number"===typeof e&&Number.isFinite(e),n=e=>e&&t(e.x)&&t(e.y);if(!t(e.mousedownNode.left)||!t(e.mousedownNode.top))return;let r=null;try{r=e.clone.transform()}catch(s){return}if(!r||!t(r.translateX)||!t(r.translateY))return;const i=r.translateX-e.mousedownNode.left,o=r.translateY-e.mousedownNode.top;t(i)&&t(o)&&this.lineList.forEach(t=>{try{const[r,s,a,l,c]=t;if(!r||!s||!l||!c)return;const u=this.isNodeInDragScope(l,e),h=this.isNodeInDragScope(c,e);if(!u&&!h)return;let[d,f]=p(l,c);if(!n(d)||!n(f))return;if(u&&(d={...d,x:d.x+i,y:d.y+o}),h&&(f={...f,x:f.x+i,y:f.y+o}),!n(d)||!n(f))return;const g=m(d,f,l,c),b=g&&"string"===typeof g.path?g.path:"";if(!b)return;r.plot(b),s.plot(b),a&&this.updateTextPos(r,a)}catch(s){}})}onNodeDragging(){const e=this.getAssociativeLineDragMode();this.isNodeDragging?"follow"===e&&this.scheduleDragLineUpdate():(this.isNodeDragging=!0,this.hideControls(),"hideAll"===e?this.lineList.forEach(e=>{this.hideLineItem(e)}):"hideRelated"===e?this.hideRelatedLinesOnDrag():"follow"===e&&(this.lineList.forEach(e=>{this.showLineItem(e)}),this.scheduleDragLineUpdate()))}onNodeDragend(){this.isNodeDragging&&(this.cancelDragLineUpdate(),this.lineList.forEach(e=>{this.showLineItem(e)}),this.showControls(),this.isNodeDragging=!1)}front(){this.mindMap.opt.associativeLineIsAlwaysAboveNode||this.associativeLineDraw.front()}back(){this.mindMap.opt.associativeLineIsAlwaysAboveNode||(this.associativeLineDraw.back(),this.associativeLineDraw.forward())}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}U.instanceName="associativeLine";t["a"]=U},"5d8f":function(e,t){},"5d9a":function(e,t,n){"use strict";n.d(t,"C",(function(){return h})),n.d(t,"X",(function(){return d})),n.d(t,"E",(function(){return f})),n.d(t,"G",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"o",(function(){return g})),n.d(t,"Q",(function(){return b})),n.d(t,"O",(function(){return y})),n.d(t,"R",(function(){return v})),n.d(t,"M",(function(){return x})),n.d(t,"L",(function(){return w})),n.d(t,"q",(function(){return k})),n.d(t,"W",(function(){return S})),n.d(t,"ab",(function(){return C})),n.d(t,"S",(function(){return u["m"]})),n.d(t,"T",(function(){return u["n"]})),n.d(t,"V",(function(){return u["p"]})),n.d(t,"U",(function(){return u["o"]})),n.d(t,"s",(function(){return u["c"]})),n.d(t,"t",(function(){return u["d"]})),n.d(t,"I",(function(){return u["k"]})),n.d(t,"w",(function(){return u["g"]})),n.d(t,"v",(function(){return u["f"]})),n.d(t,"D",(function(){return u["i"]})),n.d(t,"F",(function(){return u["j"]})),n.d(t,"r",(function(){return u["b"]})),n.d(t,"u",(function(){return u["e"]})),n.d(t,"n",(function(){return u["a"]})),n.d(t,"J",(function(){return u["l"]})),n.d(t,"z",(function(){return u["h"]})),n.d(t,"Z",(function(){return T["g"]})),n.d(t,"Y",(function(){return T["f"]})),n.d(t,"A",(function(){return T["b"]})),n.d(t,"H",(function(){return z})),n.d(t,"P",(function(){return A})),n.d(t,"p",(function(){return O})),n.d(t,"y",(function(){return E})),n.d(t,"x",(function(){return s})),n.d(t,"B",(function(){return L})),n.d(t,"N",(function(){return D})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return q})),n.d(t,"h",(function(){return P})),n.d(t,"e",(function(){return V})),n.d(t,"j",(function(){return G})),n.d(t,"c",(function(){return K})),n.d(t,"l",(function(){return X})),n.d(t,"m",(function(){return Y})),n.d(t,"i",(function(){return Z})),n.d(t,"d",(function(){return J})),n.d(t,"k",(function(){return Q})),n.d(t,"K",(function(){return te})),n.d(t,"a",(function(){return re}));for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(256),o=0;o<r.length;o++)i[r.charCodeAt(o)]=o;for(var s=function(e){for(var t="",n=e.length,i=0;i<n;i+=3)t+=r[e[i]>>2],t+=r[(3&e[i])<<4|e[i+1]>>4],t+=r[(15&e[i+1])<<2|e[i+2]>>6],t+=r[63&e[i+2]];return n%3===2?t=t.substring(0,t.length-1)+"=":n%3===1&&(t=t.substring(0,t.length-2)+"=="),t},a=function(e){var t,n,r,o,s,a=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new Uint8Array(a);for(t=0;t<l;t+=4)n=i[e.charCodeAt(t)],r=i[e.charCodeAt(t+1)],o=i[e.charCodeAt(t+2)],s=i[e.charCodeAt(t+3)],u[c++]=n<<2|r>>4,u[c++]=(15&r)<<4|o>>2,u[c++]=(3&o)<<6|63&s;return u},l=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,c=function(e){var t=e.trim(),n=t.substring(0,100),r=n.match(l);if(!r)return a(t);var i=r[0],o=t.substring(i.length);return a(o)},u=n("31fc"),h=function(e){return e[e.length-1]},d=function(e){if(e instanceof Uint8Array)return e;for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},f=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e.length,r=[],i=0;i<n;i++){var o=e[i];r[i]=o instanceof Uint8Array?o:d(o)}var s=0;for(i=0;i<n;i++)s+=e[i].length;for(var a=new Uint8Array(s),l=0,c=0;c<n;c++)for(var u=r[c],h=0,f=u.length;h<f;h++)a[l++]=u[h];return a},p=function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;var i=new Uint8Array(t),o=0;for(n=0,r=e.length;n<r;n++){var s=e[n];i.set(s,o),o+=s.length}return i},m=function(e){for(var t="",n=0,r=e.length;n<r;n++)t+=Object(u["c"])(e[n]);return t},g=function(e,t){return e.id-t.id},b=function(e,t){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r],s=e[r-1];0!==r&&t(o)===t(s)||n.push(o)}return n},y=function(e){for(var t=e.length,n=0,r=Math.floor(t/2);n<r;n++){var i=n,o=t-n-1,s=e[n];e[i]=e[o],e[o]=s}return e},v=function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n];return t},x=function(e,t){for(var n=new Array(t-e),r=0,i=n.length;r<i;r++)n[r]=e+r;return n},w=function(e,t){for(var n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e[t[r]];return n},k=function(e){return e instanceof Uint8Array||e instanceof ArrayBuffer||"string"===typeof e},S=function(e){if("string"===typeof e)return c(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(e instanceof Uint8Array)return e;throw new TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")},C=function(){return new Promise((function(e){setTimeout((function(){return e()}),0)}))},T=n("1754"),z=function(e){var t=String(e);if(Math.abs(e)<1){var n=parseInt(e.toString().split("e-")[1]);if(n){var r=e<0;r&&(e*=-1),e*=Math.pow(10,n-1),t="0."+new Array(n).join("0")+e.toString().substring(2),r&&(t="-"+t)}}else{n=parseInt(e.toString().split("+")[1]);n>20&&(n-=20,e/=Math.pow(10,n),t=e.toString()+new Array(n+1).join("0"))}return t},A=function(e){return Math.ceil(e.toString(2).length/8)},O=function(e){for(var t=new Uint8Array(A(e)),n=1;n<=t.length;n++)t[n-1]=e>>8*(t.length-n);return t},E=function(e){throw new Error(e)},M=n("2232"),N=function(e){return Object.keys(e).map((function(t){return e[t]}))},R=N(M["c"]),L=function(e){return R.includes(e)},D=function(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},F=function(e){return"`"+e+"`"},j=function(e){return"'"+e+"'"},I=function(e){var t=typeof e;return"string"===t?j(e):"undefined"===t?F(e):e},B=function(e,t,n){for(var r=new Array(n.length),i=0,o=n.length;i<o;i++){var s=n[i];r[i]=I(s)}var a=r.join(" or ");return F(t)+" must be one of "+a+", but was actually "+I(e)},_=function(e,t,n){Array.isArray(n)||(n=N(n));for(var r=0,i=n.length;r<i;r++)if(e===n[r])return;throw new TypeError(B(e,t,n))},q=function(e,t,n){Array.isArray(n)||(n=N(n)),_(e,t,n.concat(void 0))},P=function(e,t,n){Array.isArray(n)||(n=N(n));for(var r=0,i=e.length;r<i;r++)_(e[r],t,n)},U=function(e){return null===e?"null":void 0===e?"undefined":"string"===typeof e?"string":isNaN(e)?"NaN":"number"===typeof e?"number":"boolean"===typeof e?"boolean":"symbol"===typeof e?"symbol":"bigint"===typeof e?"bigint":e.constructor&&e.constructor.name?e.constructor.name:e.name?e.name:e.constructor?String(e.constructor):String(e)},H=function(e,t){return"null"===t?null===e:"undefined"===t?void 0===e:"string"===t?"string"===typeof e:"number"===t?"number"===typeof e&&!isNaN(e):"boolean"===t?"boolean"===typeof e:"symbol"===t?"symbol"===typeof e:"bigint"===t?"bigint"===typeof e:t===Date?e instanceof Date:t===Array?e instanceof Array:t===Uint8Array?e instanceof Uint8Array:t===ArrayBuffer?e instanceof ArrayBuffer:t===Function?e instanceof Function:e instanceof t[0]},W=function(e,t,n){for(var r=new Array(n.length),i=0,o=n.length;i<o;i++){var s=n[i];"null"===s&&(r[i]=F("null")),"undefined"===s&&(r[i]=F("undefined")),"string"===s?r[i]=F("string"):"number"===s?r[i]=F("number"):"boolean"===s?r[i]=F("boolean"):"symbol"===s?r[i]=F("symbol"):"bigint"===s?r[i]=F("bigint"):s===Array?r[i]=F("Array"):s===Uint8Array?r[i]=F("Uint8Array"):s===ArrayBuffer?r[i]=F("ArrayBuffer"):r[i]=F(s[1])}var a=r.join(" or ");return F(t)+" must be of type "+a+", but was actually of type "+F(U(e))},V=function(e,t,n){for(var r=0,i=n.length;r<i;r++)if(H(e,n[r]))return;throw new TypeError(W(e,t,n))},G=function(e,t,n){V(e,t,n.concat("undefined"))},K=function(e,t,n){for(var r=0,i=e.length;r<i;r++)V(e[r],t,n)},X=function(e,t,n,r){if(V(e,t,["number"]),V(n,"min",["number"]),V(r,"max",["number"]),r=Math.max(n,r),e<n||e>r)throw new Error(F(t)+" must be at least "+n+" and at most "+r+", but was actually "+e)},Y=function(e,t,n,r){V(e,t,["number","undefined"]),"number"===typeof e&&X(e,t,n,r)},Z=function(e,t,n){if(V(e,t,["number"]),e%n!==0)throw new Error(F(t)+" must be a multiple of "+n+", but was actually "+e)},J=function(e,t){if(!Number.isInteger(e))throw new Error(F(t)+" must be an integer, but was actually "+e)},Q=function(e,t){if(![1,0].includes(Math.sign(e)))throw new Error(F(t)+" must be a positive number or 0, but was actually "+e)},$=new Uint16Array(256),ee=0;ee<256;ee++)$[ee]=ee;$[22]=Object(u["m"])(""),$[24]=Object(u["m"])("˘"),$[25]=Object(u["m"])("ˇ"),$[26]=Object(u["m"])("ˆ"),$[27]=Object(u["m"])("˙"),$[28]=Object(u["m"])("˝"),$[29]=Object(u["m"])("˛"),$[30]=Object(u["m"])("˚"),$[31]=Object(u["m"])("˜"),$[127]=Object(u["m"])("<22>"),$[128]=Object(u["m"])("•"),$[129]=Object(u["m"])("†"),$[130]=Object(u["m"])("‡"),$[131]=Object(u["m"])("…"),$[132]=Object(u["m"])("—"),$[133]=Object(u["m"])("–"),$[134]=Object(u["m"])("ƒ"),$[135]=Object(u["m"])("⁄"),$[136]=Object(u["m"])("‹"),$[137]=Object(u["m"])("›"),$[138]=Object(u["m"])("−"),$[139]=Object(u["m"])("‰"),$[140]=Object(u["m"])("„"),$[141]=Object(u["m"])("“"),$[142]=Object(u["m"])("”"),$[143]=Object(u["m"])("‘"),$[144]=Object(u["m"])("’"),$[145]=Object(u["m"])("‚"),$[146]=Object(u["m"])("™"),$[147]=Object(u["m"])("fi"),$[148]=Object(u["m"])("fl"),$[149]=Object(u["m"])("Ł"),$[150]=Object(u["m"])("Œ"),$[151]=Object(u["m"])("Š"),$[152]=Object(u["m"])("Ÿ"),$[153]=Object(u["m"])("Ž"),$[154]=Object(u["m"])("ı"),$[155]=Object(u["m"])("ł"),$[156]=Object(u["m"])("œ"),$[157]=Object(u["m"])("š"),$[158]=Object(u["m"])("ž"),$[159]=Object(u["m"])("<22>"),$[160]=Object(u["m"])("€"),$[173]=Object(u["m"])("<22>");var te=function(e){for(var t=new Array(e.length),n=0,r=e.length;n<r;n++)t[n]=$[e[n]];return String.fromCodePoint.apply(String,t)},ne=function(){function e(e){this.populate=e,this.value=void 0}return e.prototype.getValue=function(){return this.value},e.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},e.prototype.invalidate=function(){this.value=void 0},e.populatedBy=function(t){return new e(t)},e}(),re=ne},"5da7":function(e,t,n){"use strict";var r=n("9aae"),i=4,o=0,s=1,a=2;function l(e){var t=e.length;while(--t>=0)e[t]=0}var c=0,u=1,h=2,d=3,f=258,p=29,m=256,g=m+1+p,b=30,y=19,v=2*g+1,x=15,w=16,k=7,S=256,C=16,T=17,z=18,A=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],O=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=512,R=new Array(2*(g+2));l(R);var L=new Array(2*b);l(L);var D=new Array(N);l(D);var F=new Array(f-d+1);l(F);var j=new Array(p);l(j);var I,B,_,q=new Array(b);function P(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function U(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function H(e){return e<256?D[e]:D[256+(e>>>7)]}function W(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function V(e,t,n){e.bi_valid>w-n?(e.bi_buf|=t<<e.bi_valid&65535,W(e,e.bi_buf),e.bi_buf=t>>w-e.bi_valid,e.bi_valid+=n-w):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function G(e,t,n){V(e,n[2*t],n[2*t+1])}function K(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function X(e){16===e.bi_valid?(W(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function Y(e,t){var n,r,i,o,s,a,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(o=0;o<=x;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<v;n++)r=e.heap[n],o=l[2*l[2*r+1]+1]+1,o>p&&(o=p,m++),l[2*r+1]=o,r>c||(e.bl_count[o]++,s=0,r>=f&&(s=d[r-f]),a=l[2*r],e.opt_len+=a*(o+s),h&&(e.static_len+=a*(u[2*r+1]+s)));if(0!==m){do{o=p-1;while(0===e.bl_count[o])o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--){r=e.bl_count[o];while(0!==r)i=e.heap[--n],i>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}}function Z(e,t,n){var r,i,o=new Array(x+1),s=0;for(r=1;r<=x;r++)o[r]=s=s+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=K(o[a]++,a))}}function J(){var e,t,n,r,i,o=new Array(x+1);for(n=0,r=0;r<p-1;r++)for(j[r]=n,e=0;e<1<<A[r];e++)F[n++]=r;for(F[n-1]=r,i=0,r=0;r<16;r++)for(q[r]=i,e=0;e<1<<O[r];e++)D[i++]=r;for(i>>=7;r<b;r++)for(q[r]=i<<7,e=0;e<1<<O[r]-7;e++)D[256+i++]=r;for(t=0;t<=x;t++)o[t]=0;e=0;while(e<=143)R[2*e+1]=8,e++,o[8]++;while(e<=255)R[2*e+1]=9,e++,o[9]++;while(e<=279)R[2*e+1]=7,e++,o[7]++;while(e<=287)R[2*e+1]=8,e++,o[8]++;for(Z(R,g+1,o),e=0;e<b;e++)L[2*e+1]=5,L[2*e]=K(e,5);I=new P(R,A,m+1,g,x),B=new P(L,O,0,b,x),_=new P(new Array(0),E,0,y,k)}function Q(e){var t;for(t=0;t<g;t++)e.dyn_ltree[2*t]=0;for(t=0;t<b;t++)e.dyn_dtree[2*t]=0;for(t=0;t<y;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*S]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function $(e){e.bi_valid>8?W(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function ee(e,t,n,i){$(e),i&&(W(e,n),W(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function te(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function ne(e,t,n){var r=e.heap[n],i=n<<1;while(i<=e.heap_len){if(i<e.heap_len&&te(t,e.heap[i+1],e.heap[i],e.depth)&&i++,te(t,r,e.heap[i],e.depth))break;e.heap[n]=e.heap[i],n=i,i<<=1}e.heap[n]=r}function re(e,t,n){var r,i,o,s,a=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*a]<<8|e.pending_buf[e.d_buf+2*a+1],i=e.pending_buf[e.l_buf+a],a++,0===r?G(e,i,t):(o=F[i],G(e,o+m+1,t),s=A[o],0!==s&&(i-=j[o],V(e,i,s)),r--,o=H(r),G(e,o,n),s=O[o],0!==s&&(r-=q[o],V(e,r,s)))}while(a<e.last_lit);G(e,S,t)}function ie(e,t){var n,r,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=v,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=c<2?++c:0,o[2*i]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)ne(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ne(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,ne(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Y(e,t),Z(o,c,e.bl_count)}function oe(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a<l&&i===s||(a<c?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*C]++):a<=10?e.bl_tree[2*T]++:e.bl_tree[2*z]++,a=0,o=i,0===s?(l=138,c=3):i===s?(l=6,c=3):(l=7,c=4))}function se(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a<l&&i===s)){if(a<c)do{G(e,i,e.bl_tree)}while(0!==--a);else 0!==i?(i!==o&&(G(e,i,e.bl_tree),a--),G(e,C,e.bl_tree),V(e,a-3,2)):a<=10?(G(e,T,e.bl_tree),V(e,a-3,3)):(G(e,z,e.bl_tree),V(e,a-11,7));a=0,o=i,0===s?(l=138,c=3):i===s?(l=6,c=3):(l=7,c=4)}}function ae(e){var t;for(oe(e,e.dyn_ltree,e.l_desc.max_code),oe(e,e.dyn_dtree,e.d_desc.max_code),ie(e,e.bl_desc),t=y-1;t>=3;t--)if(0!==e.bl_tree[2*M[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,n,r){var i;for(V(e,t-257,5),V(e,n-1,5),V(e,r-4,4),i=0;i<r;i++)V(e,e.bl_tree[2*M[i]+1],3);se(e,e.dyn_ltree,t-1),se(e,e.dyn_dtree,n-1)}function ce(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return s;for(t=32;t<m;t++)if(0!==e.dyn_ltree[2*t])return s;return o}l(q);var ue=!1;function he(e){ue||(J(),ue=!0),e.l_desc=new U(e.dyn_ltree,I),e.d_desc=new U(e.dyn_dtree,B),e.bl_desc=new U(e.bl_tree,_),e.bi_buf=0,e.bi_valid=0,Q(e)}function de(e,t,n,r){V(e,(c<<1)+(r?1:0),3),ee(e,t,n,!0)}function fe(e){V(e,u<<1,3),G(e,S,R),X(e)}function pe(e,t,n,r){var o,s,l=0;e.level>0?(e.strm.data_type===a&&(e.strm.data_type=ce(e)),ie(e,e.l_desc),ie(e,e.d_desc),l=ae(e),o=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=o&&(o=s)):o=s=n+5,n+4<=o&&-1!==t?de(e,t,n,r):e.strategy===i||s===o?(V(e,(u<<1)+(r?1:0),3),re(e,R,L)):(V(e,(h<<1)+(r?1:0),3),le(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),re(e,e.dyn_ltree,e.dyn_dtree)),Q(e),r&&$(e)}function me(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(F[n]+m+1)]++,e.dyn_dtree[2*H(t)]++),e.last_lit===e.lit_bufsize-1}t._tr_init=he,t._tr_stored_block=de,t._tr_flush_block=pe,t._tr_tally=me,t._tr_align=fe},"5e1a":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n("8707").Buffer,o=n(2);function s(e,t,n){e.copy(t,n)}e.exports=function(){function e(){r(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);var t=i.allocUnsafe(e>>>0),n=this.head,r=0;while(n)s(n.data,t,r),r+=n.data.length,n=n.next;return t},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},"5e89":function(e,t,n){(function(t,n,r){var i;!function(t){e.exports=t()}((function(){return function e(t,n,r){function o(a,l){if(!n[a]){if(!t[a]){var c="function"==typeof i&&i;if(!l&&c)return i(a,!0);if(s)return s(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var h=n[a]={exports:{}};t[a][0].call(h.exports,(function(e){var n=t[a][1][e];return o(n||e)}),h,h.exports,e,t,n,r)}return n[a].exports}for(var s="function"==typeof i&&i,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,s,a,l,c,u=[],h=0,d=e.length,f=d,p="string"!==r.getTypeOf(e);h<e.length;)f=d-h,i=p?(t=e[h++],n=h<d?e[h++]:0,h<d?e[h++]:0):(t=e.charCodeAt(h++),n=h<d?e.charCodeAt(h++):0,h<d?e.charCodeAt(h++):0),s=t>>2,a=(3&t)<<4|n>>4,l=1<f?(15&n)<<2|i>>6:64,c=2<f?63&i:64,u.push(o.charAt(s)+o.charAt(a)+o.charAt(l)+o.charAt(c));return u.join("")},n.decode=function(e){var t,n,r,s,a,l,c=0,u=0,h="data:";if(e.substr(0,h.length)===h)throw new Error("Invalid base64 input, it looks like a data url.");var d,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&f--,e.charAt(e.length-2)===o.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=i.uint8array?new Uint8Array(0|f):new Array(0|f);c<e.length;)t=o.indexOf(e.charAt(c++))<<2|(s=o.indexOf(e.charAt(c++)))>>4,n=(15&s)<<4|(a=o.indexOf(e.charAt(c++)))>>2,r=(3&a)<<6|(l=o.indexOf(e.charAt(c++))),d[u++]=t,64!==a&&(d[u++]=n),64!==l&&(d[u++]=r);return d}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function a(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}a.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=r?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,s,u){var h,d,f=e.file,p=e.compression,m=u!==a.utf8encode,g=o.transformTo("string",u(f.name)),b=o.transformTo("string",a.utf8encode(f.name)),y=f.comment,v=o.transformTo("string",u(y)),x=o.transformTo("string",a.utf8encode(y)),w=b.length!==f.name.length,k=x.length!==y.length,S="",C="",T="",z=f.dir,A=f.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var E=0;t&&(E|=8),m||!w&&!k||(E|=2048);var M=0,N=0;z&&(M|=16),"UNIX"===s?(N=798,M|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(f.unixPermissions,z)):(N=20,M|=function(e){return 63&(e||0)}(f.dosPermissions)),h=A.getUTCHours(),h<<=6,h|=A.getUTCMinutes(),h<<=5,h|=A.getUTCSeconds()/2,d=A.getUTCFullYear()-1980,d<<=4,d|=A.getUTCMonth()+1,d<<=5,d|=A.getUTCDate(),w&&(C=r(1,1)+r(l(g),4)+b,S+="up"+r(C.length,2)+C),k&&(T=r(1,1)+r(l(v),4)+x,S+="uc"+r(T.length,2)+T);var R="";return R+="\n\0",R+=r(E,2),R+=p.magic,R+=r(h,2),R+=r(d,2),R+=r(O.crc32,4),R+=r(O.compressedSize,4),R+=r(O.uncompressedSize,4),R+=r(g.length,2),R+=r(S.length,2),{fileRecord:c.LOCAL_FILE_HEADER+R+g+S,dirRecord:c.CENTRAL_FILE_HEADER+r(N,2)+R+r(v.length,2)+"\0\0\0\0"+r(M,4)+r(i,4)+g+S+v}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,n,r){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,s),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,s){var a=o.transformTo("string",s(i));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(a.length,2)+a}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!s.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},u.prototype.lock=function(){s.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new i(t.streamFiles,n,t.platform,t.encodeFileName),s=0;try{e.forEach((function(e,n){s++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),a=n.options.compressionOptions||t.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(i,a).withStreamInfo("file",{name:e,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=s}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./external"),o=e("./utf8"),s=e("./zipEntries"),a=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new i.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new a);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new s(t);return n.load(e),n})).then((function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(c(r[o]));return i.Promise.all(n)})).then((function(e){for(var i=e.shift(),o=i.files,s=0;s<o.length;s++){var a=o[s],l=a.fileNameStr,c=r.resolve(a.fileNameStr);n.file(c,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders}),a.dir||(n.file(c).unsafeOriginalName=l)}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(o,i),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),n&&n(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,n,r){"use strict";n.exports={isNode:"undefined"!=typeof t,newBufferFrom:function(e,n){if(t.from&&t.from!==Uint8Array.from)return t.from(e,n);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,n)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var n=new t(e);return n.fill(0),n},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";function r(e,t,n){var r,i=o.getTypeOf(t),a=o.extend(n||{},l);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=m(e)),a.createFolders&&(r=p(e))&&g.call(this,r,!0);var h="string"===i&&!1===a.binary&&!1===a.base64;n&&void 0!==n.binary||(a.binary=!h),(t instanceof c&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var b=null;b=t instanceof c||t instanceof s?t:d.isNode&&d.isStream(t)?new f(e,t):o.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var y=new u(e,b,a);this.files[e]=y}var i=e("./utf8"),o=e("./utils"),s=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),u=e("./zipObject"),h=e("./generate"),d=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function b(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(b(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(b(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=h.generateWorker(this,n,r)}catch(e){(t=new s("error")).error(e)}return new a(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var r=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new a(e):i.uint8array?new l(r.transformTo("uint8array",e)):new o(r.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../utils");function o(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,r),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,r),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,n,r){"use strict";var i=e("../utils"),o=e("./ConvertWorker"),s=e("./GenericWorker"),a=e("../base64"),l=e("../support"),c=e("../external"),u=null;if(l.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function h(e,n){return new c.Promise((function(r,o){var s=[],l=e._internalType,c=e._outputType,u=e._mimeType;e.on("data",(function(e,t){s.push(e),n&&n(t)})).on("error",(function(e){s=[],o(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return a.encode(t);default:return i.transformTo(e,t)}}(c,function(e,n){var r,i=0,o=null,s=0;for(r=0;r<n.length;r++)s+=n[r].length;switch(e){case"string":return n.join("");case"array":return Array.prototype.concat.apply([],n);case"uint8array":for(o=new Uint8Array(s),r=0;r<n.length;r++)o.set(n[r],i),i+=n[r].length;return o;case"nodebuffer":return t.concat(n);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,s),u);r(e)}catch(e){o(e)}s=[]})).resume()}))}function d(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new o(r)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return h(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,n)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},n.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,n,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof t,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var i=new ArrayBuffer(0);try{r.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),r.blob=0===o.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),s=e("./stream/GenericWorker"),a=new Array(256),l=0;l<256;l++)a[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){s.call(this,"utf-8 decode"),this.leftOver=null}function u(){s.call(this,"utf-8 encode")}a[254]=a[254]=1,n.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,r,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),o=s=0;s<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,o,s=e.length,l=new Array(2*s);for(t=n=0;t<s;)if((i=e[t++])<128)l[n++]=i;else if(4<(o=a[i]))l[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<s;)i=i<<6|63&e[t++],o--;1<o?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(c,s),c.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}(t),l=t;s!==t.length&&(i.uint8array?(l=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(l=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(u,s),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),s=e("./external");function a(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(t,r){n.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=c.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return c.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function h(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var d={};d.string={string:a,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,o.allocBuffer(e.length))}},d.array={string:u,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},d.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:u,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return o.newBufferFrom(e)}},d.nodebuffer={string:u,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:a},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return d[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var i=t[r];"."===i||""===i&&0!==r&&r!==t.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,a,c){return s.Promise.resolve(t).then((function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new s.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var u=n.getTypeOf(t);return u?("arraybuffer"===u?t=n.transformTo("uint8array",t):"string"===u&&(c?t=i.decode(t):o&&!0!==a&&(t=function(e){return l(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):s.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),s=e("./zipEntry"),a=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=a.uint8array?"uint8array":"array",n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),s=e("./crc32"),a=e("./utf8"),l=e("./compressions"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||s(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||s(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),s=e("./utf8"),a=e("./compressedObject"),l=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new s.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new i(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<c.length;h++)r.prototype[c[h]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(u),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}t.exports=function(e){1!==c.push(e)||r||n()}}).call(this,"undefined"!=typeof n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var r=e("immediate");function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function h(e,t,n){r((function(){var r;try{r=t(n)}catch(r){return o.reject(e,r)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}function d(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var s=p((function(){t(i,r)}));"error"===s.status&&r(s.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(i);return this.state!==l?h(n,this.state===a?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){h(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){h(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=p(d,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)f(e,r);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},c.reject=function(e){var t=new this(i);return o.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,l=-1,c=new this(i);++l<n;)u(e[l],l);return c;function u(e,i){t.resolve(e).then((function(e){s[i]=e,++a!==n||r||(r=!0,o.resolve(c,s))}),(function(e){r||(r=!0,o.reject(c,e))}))}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s,a=-1,l=new this(i);++a<n;)s=e[a],t.resolve(s).then((function(e){r||(r=!0,o.resolve(l,e))}),(function(e){r||(r=!0,o.reject(l,e))}));return l}},{immediate:36}],38:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/messages"),a=e("./zlib/zstream"),l=Object.prototype.toString,c=0,u=-1,h=0,d=8;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({level:u,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==c)throw new Error(s[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==c)throw new Error(s[n]);this._dict_set=!0}}function p(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(e,t){var n,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(u),a.next_out=0,a.avail_out=u),1!==(n=r.deflate(a,s))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((0<a.avail_in||0===a.avail_out)&&1!==n);return 4===s?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==s||(this.onEnd(c),!(a.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=f,n.deflate=p,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/constants"),a=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=Object.prototype.toString;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(a[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function d(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}h.prototype.push=function(e,t){var n,a,l,c,h,d,f=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?f.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(p),f.next_out=0,f.avail_out=p),(n=r.inflate(f,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&m&&(d="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,d)),n===s.Z_BUF_ERROR&&!0===g&&(n=s.Z_OK,g=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&n!==s.Z_STREAM_END&&(0!==f.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(f.output,f.next_out),c=f.next_out-l,h=o.buf2string(f.output,l),f.next_out=c,f.avail_out=p-c,c&&i.arraySet(f.output,f.output,l,c,0),this.onData(h)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(f.avail_out=0))},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=h,n.inflate=d,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},n.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new r.Buf8(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,n.string2buf=function(e){var t,n,i,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),o=s=0;s<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,a=t||e.length,c=new Array(2*a);for(n=r=0;n<a;)if((i=e[n++])<128)c[r++]=i;else if(4<(o=s[i]))c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<a;)i=i<<6|63&e[n++],o--;1<o?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,s=0;0!==n;){for(n-=s=2e3<n?2e3:n;o=o+(i=i+t[r++]|0)|0,--s;);i%=65521,o%=65521}return i|o<<16|0}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,s=i+n;e^=-1;for(var a=i;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,n){"use strict";var r,i=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages"),c=0,u=4,h=0,d=-2,f=-1,p=4,m=2,g=8,b=9,y=286,v=30,x=19,w=2*y+1,k=15,S=3,C=258,T=C+S+1,z=42,A=113,O=1,E=2,M=3,N=4;function R(e,t){return e.msg=l[t],t}function L(e){return(e<<1)-(4<e?9:0)}function D(e){for(var t=e.length;0<=--t;)e[t]=0}function F(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function j(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function I(e,t){e.pending_buf[e.pending++]=t}function B(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function _(e,t){var n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,c=e.window,u=e.w_mask,h=e.prev,d=e.strstart+C,f=c[o+s-1],p=c[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(c[(n=t)+s]===p&&c[n+s-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=C-(d-o),o=d-C,s<r){if(e.match_start=t,a<=(s=r))break;f=c[o+s-1],p=c[o+s]}}}while((t=h[t&u])>l&&0!=--i);return s<=e.lookahead?s:e.lookahead}function q(e){var t,n,r,o,l,c,u,h,d,f,p=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-T)){for(i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;r=e.head[--t],e.head[t]=p<=r?r-p:0,--n;);for(t=n=p;r=e.prev[--t],e.prev[t]=p<=r?r-p:0,--n;);o+=p}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,h=e.strstart+e.lookahead,d=o,f=void 0,f=c.avail_in,d<f&&(f=d),n=0===f?0:(c.avail_in-=f,i.arraySet(u,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=s(c.adler,u,f,h):2===c.state.wrap&&(c.adler=a(c.adler,u,f,h)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=S)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+S-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<S)););}while(e.lookahead<T&&0!==e.strm.avail_in)}function P(e,t){for(var n,r;;){if(e.lookahead<T){if(q(e),e.lookahead<T&&t===c)return O;if(0===e.lookahead)break}if(n=0,e.lookahead>=S&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-T&&(e.match_length=_(e,n)),e.match_length>=S)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-S),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=S){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(j(e,!1),0===e.strm.avail_out))return O}return e.insert=e.strstart<S-1?e.strstart:S-1,t===u?(j(e,!0),0===e.strm.avail_out?M:N):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?O:E}function U(e,t){for(var n,r,i;;){if(e.lookahead<T){if(q(e),e.lookahead<T&&t===c)return O;if(0===e.lookahead)break}if(n=0,e.lookahead>=S&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=S-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-T&&(e.match_length=_(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===S&&4096<e.strstart-e.match_start)&&(e.match_length=S-1)),e.prev_length>=S&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-S,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-S),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=S-1,e.strstart++,r&&(j(e,!1),0===e.strm.avail_out))return O}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&j(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<S-1?e.strstart:S-1,t===u?(j(e,!0),0===e.strm.avail_out?M:N):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?O:E}function H(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function W(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*w),this.dyn_dtree=new i.Buf16(2*(2*v+1)),this.bl_tree=new i.Buf16(2*(2*x+1)),D(this.dyn_ltree),D(this.dyn_dtree),D(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(k+1),this.heap=new i.Buf16(2*y+1),D(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*y+1),D(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function V(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?z:A,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),h):R(e,d)}function G(e){var t=V(e);return t===h&&function(e){e.window_size=2*e.w_size,D(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=S-1,e.match_available=0,e.ins_h=0}(e.state),t}function K(e,t,n,r,o,s){if(!e)return d;var a=1;if(t===f&&(t=6),r<0?(a=0,r=-r):15<r&&(a=2,r-=16),o<1||b<o||n!==g||r<8||15<r||t<0||9<t||s<0||p<s)return R(e,d);8===r&&(r=9);var l=new W;return(e.state=l).strm=e,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+S-1)/S),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=s,l.method=n,G(e)}r=[new H(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(q(e),0===e.lookahead&&t===c)return O;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,j(e,!1),0===e.strm.avail_out))return O;if(e.strstart-e.block_start>=e.w_size-T&&(j(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===u?(j(e,!0),0===e.strm.avail_out?M:N):(e.strstart>e.block_start&&(j(e,!1),e.strm.avail_out),O)})),new H(4,4,8,4,P),new H(4,5,16,8,P),new H(4,6,32,32,P),new H(4,4,16,16,U),new H(8,16,32,32,U),new H(8,16,128,128,U),new H(8,32,128,256,U),new H(32,128,258,1024,U),new H(32,258,258,4096,U)],n.deflateInit=function(e,t){return K(e,t,g,15,8,0)},n.deflateInit2=K,n.deflateReset=G,n.deflateResetKeep=V,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?d:(e.state.gzhead=t,h):d},n.deflate=function(e,t){var n,i,s,l;if(!e||!e.state||5<t||t<0)return e?R(e,d):d;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==u)return R(e,0===e.avail_out?-5:d);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===z)if(2===i.wrap)e.adler=0,I(i,31),I(i,139),I(i,8),i.gzhead?(I(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),I(i,255&i.gzhead.time),I(i,i.gzhead.time>>8&255),I(i,i.gzhead.time>>16&255),I(i,i.gzhead.time>>24&255),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(I(i,255&i.gzhead.extra.length),I(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=a(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(I(i,0),I(i,0),I(i,0),I(i,0),I(i,0),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,3),i.status=A);else{var f=g+(i.w_bits-8<<4)<<8;f|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=A,B(i,f),0!==i.strstart&&(B(i,e.adler>>>16),B(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),F(e),s=i.pending,i.pending!==i.pending_buf_size));)I(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),F(e),s=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,I(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),F(e),s=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,I(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(e),i.pending+2<=i.pending_buf_size&&(I(i,255&e.adler),I(i,e.adler>>8&255),e.adler=0,i.status=A)):i.status=A),0!==i.pending){if(F(e),0===e.avail_out)return i.last_flush=-1,h}else if(0===e.avail_in&&L(t)<=L(n)&&t!==u)return R(e,-5);if(666===i.status&&0!==e.avail_in)return R(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==c&&666!==i.status){var p=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(q(e),0===e.lookahead)){if(t===c)return O;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(j(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===u?(j(e,!0),0===e.strm.avail_out?M:N):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?O:E}(i,t):3===i.strategy?function(e,t){for(var n,r,i,s,a=e.window;;){if(e.lookahead<=C){if(q(e),e.lookahead<=C&&t===c)return O;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=S&&0<e.strstart&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){s=e.strstart+C;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<s);e.match_length=C-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=S?(n=o._tr_tally(e,1,e.match_length-S),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(j(e,!1),0===e.strm.avail_out))return O}return e.insert=0,t===u?(j(e,!0),0===e.strm.avail_out?M:N):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?O:E}(i,t):r[i.level].func(i,t);if(p!==M&&p!==N||(i.status=666),p===O||p===M)return 0===e.avail_out&&(i.last_flush=-1),h;if(p===E&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(D(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),F(e),0===e.avail_out))return i.last_flush=-1,h}return t!==u?h:i.wrap<=0?1:(2===i.wrap?(I(i,255&e.adler),I(i,e.adler>>8&255),I(i,e.adler>>16&255),I(i,e.adler>>24&255),I(i,255&e.total_in),I(i,e.total_in>>8&255),I(i,e.total_in>>16&255),I(i,e.total_in>>24&255)):(B(i,e.adler>>>16),B(i,65535&e.adler)),F(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?h:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==z&&69!==t&&73!==t&&91!==t&&103!==t&&t!==A&&666!==t?R(e,d):(e.state=null,t===A?R(e,-3):h):d},n.deflateSetDictionary=function(e,t){var n,r,o,a,l,c,u,f,p=t.length;if(!e||!e.state)return d;if(2===(a=(n=e.state).wrap)||1===a&&n.status!==z||n.lookahead)return d;for(1===a&&(e.adler=s(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===a&&(D(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new i.Buf8(n.w_size),i.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=p,e.next_in=0,e.input=t,q(n);n.lookahead>=S;){for(r=n.strstart,o=n.lookahead-(S-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+S-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=S-1,q(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=S-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=a,h},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){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}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,s,a,l,c,u,h,d,f,p,m,g,b,y,v,x,w,k,S,C,T,z;n=e.state,r=e.next_in,T=e.input,i=r+(e.avail_in-5),o=e.next_out,z=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,d=n.window,f=n.hold,p=n.bits,m=n.lencode,g=n.distcode,b=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),v=m[f&b];t:for(;;){if(f>>>=x=v>>>24,p-=x,0===(x=v>>>16&255))z[o++]=65535&v;else{if(!(16&x)){if(0==(64&x)){v=m[(65535&v)+(f&(1<<x)-1)];continue t}if(32&x){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&v,(x&=15)&&(p<x&&(f+=T[r++]<<p,p+=8),w+=f&(1<<x)-1,f>>>=x,p-=x),p<15&&(f+=T[r++]<<p,p+=8,f+=T[r++]<<p,p+=8),v=g[f&y];n:for(;;){if(f>>>=x=v>>>24,p-=x,!(16&(x=v>>>16&255))){if(0==(64&x)){v=g[(65535&v)+(f&(1<<x)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(k=65535&v,p<(x&=15)&&(f+=T[r++]<<p,(p+=8)<x&&(f+=T[r++]<<p,p+=8)),l<(k+=f&(1<<x)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=x,p-=x,(x=o-s)<k){if(u<(x=k-x)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=d,(S=0)===h){if(S+=c-x,x<w){for(w-=x;z[o++]=d[S++],--x;);S=o-k,C=z}}else if(h<x){if(S+=c+h-x,(x-=h)<w){for(w-=x;z[o++]=d[S++],--x;);if(S=0,h<w){for(w-=x=h;z[o++]=d[S++],--x;);S=o-k,C=z}}}else if(S+=h-x,x<w){for(w-=x;z[o++]=d[S++],--x;);S=o-k,C=z}for(;2<w;)z[o++]=C[S++],z[o++]=C[S++],z[o++]=C[S++],w-=3;w&&(z[o++]=C[S++],1<w&&(z[o++]=C[S++]))}else{for(S=o-k;z[o++]=z[S++],z[o++]=z[S++],z[o++]=z[S++],2<(w-=3););w&&(z[o++]=z[S++],1<w&&(z[o++]=z[S++]))}break}}break}}while(r<i&&o<a);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<a?a-o+257:257-(o-a),n.hold=f,n.bits=p}},{}],49:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),s=e("./inffast"),a=e("./inftrees"),l=1,c=2,u=0,h=-2,d=1,f=852,p=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=d,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(f),t.distcode=t.distdyn=new r.Buf32(p),t.sane=1,t.back=-1,u):h}function y(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):h}function v(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?h:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,y(e))):h}function x(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=v(e,t))!==u&&(e.state=null),n):h}var w,k,S=!0;function C(e){if(S){var t;for(w=new r.Buf32(512),k=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(l,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(c,e.lens,0,32,k,0,e.work,{bits:5}),S=!1}e.lencode=w,e.lenbits=9,e.distcode=k,e.distbits=5}function T(e,t,n,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),i>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(o=s.wsize-s.wnext)&&(o=i),r.arraySet(s.window,t,n-i,o,s.wnext),(i-=o)?(r.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}n.inflateReset=y,n.inflateReset2=v,n.inflateResetKeep=b,n.inflateInit=function(e){return x(e,15)},n.inflateInit2=x,n.inflate=function(e,t){var n,f,p,g,b,y,v,x,w,k,S,z,A,O,E,M,N,R,L,D,F,j,I,B,_=0,q=new r.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return h;12===(n=e.state).mode&&(n.mode=13),b=e.next_out,p=e.output,v=e.avail_out,g=e.next_in,f=e.input,y=e.avail_in,x=n.hold,w=n.bits,k=y,S=v,j=u;e:for(;;)switch(n.mode){case d:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(2&n.wrap&&35615===x){q[n.check=0]=255&x,q[1]=x>>>8&255,n.check=o(n.check,q,2,0),w=x=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&x)<<8)+(x>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&x)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,F=8+(15&(x>>>=4)),0===n.wbits)n.wbits=F;else if(F>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=512&x?10:12,w=x=0;break;case 2:for(;w<16;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(n.flags=x,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=x>>8&1),512&n.flags&&(q[0]=255&x,q[1]=x>>>8&255,n.check=o(n.check,q,2,0)),w=x=0,n.mode=3;case 3:for(;w<32;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}n.head&&(n.head.time=x),512&n.flags&&(q[0]=255&x,q[1]=x>>>8&255,q[2]=x>>>16&255,q[3]=x>>>24&255,n.check=o(n.check,q,4,0)),w=x=0,n.mode=4;case 4:for(;w<16;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}n.head&&(n.head.xflags=255&x,n.head.os=x>>8),512&n.flags&&(q[0]=255&x,q[1]=x>>>8&255,n.check=o(n.check,q,2,0)),w=x=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}n.length=x,n.head&&(n.head.extra_len=x),512&n.flags&&(q[0]=255&x,q[1]=x>>>8&255,n.check=o(n.check,q,2,0)),w=x=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(y<(z=n.length)&&(z=y),z&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,f,g,z,F)),512&n.flags&&(n.check=o(n.check,f,z,g)),y-=z,g+=z,n.length-=z),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===y)break e;for(z=0;F=f[g+z++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&z<y;);if(512&n.flags&&(n.check=o(n.check,f,z,g)),y-=z,g+=z,F)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===y)break e;for(z=0;F=f[g+z++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F)),F&&z<y;);if(512&n.flags&&(n.check=o(n.check,f,z,g)),y-=z,g+=z,F)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(x!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}w=x=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}e.adler=n.check=m(x),w=x=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=b,e.avail_out=v,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=w,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){x>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}switch(n.last=1&x,w-=1,3&(x>>>=1)){case 0:n.mode=14;break;case 1:if(C(n),n.mode=20,6!==t)break;x>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}x>>>=2,w-=2;break;case 14:for(x>>>=7&w,w-=7&w;w<32;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if((65535&x)!=(x>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&x,w=x=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(z=n.length){if(y<z&&(z=y),v<z&&(z=v),0===z)break e;r.arraySet(p,f,g,z,b),y-=z,g+=z,v-=z,b+=z,n.length-=z;break}n.mode=12;break;case 17:for(;w<14;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(n.nlen=257+(31&x),x>>>=5,w-=5,n.ndist=1+(31&x),x>>>=5,w-=5,n.ncode=4+(15&x),x>>>=4,w-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}n.lens[P[n.have++]]=7&x,x>>>=3,w-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,I={bits:n.lenbits},j=a(0,n.lens,0,19,n.lencode,0,n.work,I),n.lenbits=I.bits,j){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;M=(_=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,N=65535&_,!((E=_>>>24)<=w);){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(N<16)x>>>=E,w-=E,n.lens[n.have++]=N;else{if(16===N){for(B=E+2;w<B;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(x>>>=E,w-=E,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}F=n.lens[n.have-1],z=3+(3&x),x>>>=2,w-=2}else if(17===N){for(B=E+3;w<B;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}w-=E,F=0,z=3+(7&(x>>>=E)),x>>>=3,w-=3}else{for(B=E+7;w<B;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}w-=E,F=0,z=11+(127&(x>>>=E)),x>>>=7,w-=7}if(n.have+z>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;z--;)n.lens[n.have++]=F}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,I={bits:n.lenbits},j=a(l,n.lens,0,n.nlen,n.lencode,0,n.work,I),n.lenbits=I.bits,j){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,I={bits:n.distbits},j=a(c,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,I),n.distbits=I.bits,j){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=y&&258<=v){e.next_out=b,e.avail_out=v,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=w,s(e,S),b=e.next_out,p=e.output,v=e.avail_out,g=e.next_in,f=e.input,y=e.avail_in,x=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;M=(_=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,N=65535&_,!((E=_>>>24)<=w);){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(M&&0==(240&M)){for(R=E,L=M,D=N;M=(_=n.lencode[D+((x&(1<<R+L)-1)>>R)])>>>16&255,N=65535&_,!(R+(E=_>>>24)<=w);){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}x>>>=R,w-=R,n.back+=R}if(x>>>=E,w-=E,n.back+=E,n.length=N,0===M){n.mode=26;break}if(32&M){n.back=-1,n.mode=12;break}if(64&M){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&M,n.mode=22;case 22:if(n.extra){for(B=n.extra;w<B;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}n.length+=x&(1<<n.extra)-1,x>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;M=(_=n.distcode[x&(1<<n.distbits)-1])>>>16&255,N=65535&_,!((E=_>>>24)<=w);){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(0==(240&M)){for(R=E,L=M,D=N;M=(_=n.distcode[D+((x&(1<<R+L)-1)>>R)])>>>16&255,N=65535&_,!(R+(E=_>>>24)<=w);){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}x>>>=R,w-=R,n.back+=R}if(x>>>=E,w-=E,n.back+=E,64&M){e.msg="invalid distance code",n.mode=30;break}n.offset=N,n.extra=15&M,n.mode=24;case 24:if(n.extra){for(B=n.extra;w<B;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}n.offset+=x&(1<<n.extra)-1,x>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===v)break e;if(z=S-v,n.offset>z){if((z=n.offset-z)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}A=z>n.wnext?(z-=n.wnext,n.wsize-z):n.wnext-z,z>n.length&&(z=n.length),O=n.window}else O=p,A=b-n.offset,z=n.length;for(v<z&&(z=v),v-=z,n.length-=z;p[b++]=O[A++],--z;);0===n.length&&(n.mode=21);break;case 26:if(0===v)break e;p[b++]=n.length,v--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===y)break e;y--,x|=f[g++]<<w,w+=8}if(S-=v,e.total_out+=S,n.total+=S,S&&(e.adler=n.check=n.flags?o(n.check,p,S,b-S):i(n.check,p,S,b-S)),S=v,(n.flags?x:m(x))!==n.check){e.msg="incorrect data check",n.mode=30;break}w=x=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===y)break e;y--,x+=f[g++]<<w,w+=8}if(x!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}w=x=0}n.mode=29;case 29:j=1;break e;case 30:j=-3;break e;case 31:return-4;case 32:default:return h}return e.next_out=b,e.avail_out=v,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=w,(n.wsize||S!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&T(e,e.output,e.next_out,S-e.avail_out)?(n.mode=31,-4):(k-=e.avail_in,S-=e.avail_out,e.total_in+=k,e.total_out+=S,n.total+=S,n.wrap&&S&&(e.adler=n.check=n.flags?o(n.check,p,S,e.next_out-S):i(n.check,p,S,e.next_out-S)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==k&&0===S||4===t)&&j===u&&(j=-5),j)},n.inflateEnd=function(e){if(!e||!e.state)return h;var t=e.state;return t.window&&(t.window=null),e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?h:((n.head=t).done=!1,u):h},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?h:11===n.mode&&i(1,t,r,0)!==n.check?-3:T(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):h},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var r=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,u,h,d){var f,p,m,g,b,y,v,x,w,k=d.bits,S=0,C=0,T=0,z=0,A=0,O=0,E=0,M=0,N=0,R=0,L=null,D=0,F=new r.Buf16(16),j=new r.Buf16(16),I=null,B=0;for(S=0;S<=15;S++)F[S]=0;for(C=0;C<l;C++)F[t[n+C]]++;for(A=k,z=15;1<=z&&0===F[z];z--);if(z<A&&(A=z),0===z)return c[u++]=20971520,c[u++]=20971520,d.bits=1,0;for(T=1;T<z&&0===F[T];T++);for(A<T&&(A=T),S=M=1;S<=15;S++)if(M<<=1,(M-=F[S])<0)return-1;if(0<M&&(0===e||1!==z))return-1;for(j[1]=0,S=1;S<15;S++)j[S+1]=j[S]+F[S];for(C=0;C<l;C++)0!==t[n+C]&&(h[j[t[n+C]]++]=C);if(y=0===e?(L=I=h,19):1===e?(L=i,D-=257,I=o,B-=257,256):(L=s,I=a,-1),S=T,b=u,E=C=R=0,m=-1,g=(N=1<<(O=A))-1,1===e&&852<N||2===e&&592<N)return 1;for(;;){for(v=S-E,w=h[C]<y?(x=0,h[C]):h[C]>y?(x=I[B+h[C]],L[D+h[C]]):(x=96,0),f=1<<S-E,T=p=1<<O;c[b+(R>>E)+(p-=f)]=v<<24|x<<16|w|0,0!==p;);for(f=1<<S-1;R&f;)f>>=1;if(0!==f?(R&=f-1,R+=f):R=0,C++,0==--F[S]){if(S===z)break;S=t[n+h[C]]}if(A<S&&(R&g)!==m){for(0===E&&(E=A),b+=T,M=1<<(O=S-E);O+E<z&&!((M-=F[O+E])<=0);)O++,M<<=1;if(N+=1<<O,1===e&&852<N||2===e&&592<N)return 1;c[m=R&g]=A<<24|O<<16|b-u|0}}return 0!==R&&(c[b+R]=S-E<<24|64<<16|0),d.bits=A,0}},{"../utils/common":41}],51:[function(e,t,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"}},{}],52:[function(e,t,n){"use strict";var r=e("../utils/common"),i=0,o=1;function s(e){for(var t=e.length;0<=--t;)e[t]=0}var a=0,l=29,c=256,u=c+1+l,h=30,d=19,f=2*u+1,p=15,m=16,g=7,b=256,y=16,v=17,x=18,w=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=new Array(2*(u+2));s(T);var z=new Array(2*h);s(z);var A=new Array(512);s(A);var O=new Array(256);s(O);var E=new Array(l);s(E);var M,N,R,L=new Array(h);function D(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function F(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function j(e){return e<256?A[e]:A[256+(e>>>7)]}function I(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function B(e,t,n){e.bi_valid>m-n?(e.bi_buf|=t<<e.bi_valid&65535,I(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=n-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function _(e,t,n){B(e,n[2*t],n[2*t+1])}function q(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function P(e,t,n){var r,i,o=new Array(p+1),s=0;for(r=1;r<=p;r++)o[r]=s=s+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=q(o[a]++,a))}}function U(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<h;t++)e.dyn_dtree[2*t]=0;for(t=0;t<d;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function H(e){8<e.bi_valid?I(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function W(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function V(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&W(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!W(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function G(e,t,n){var r,i,o,s,a=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*a]<<8|e.pending_buf[e.d_buf+2*a+1],i=e.pending_buf[e.l_buf+a],a++,0===r?_(e,i,t):(_(e,(o=O[i])+c+1,t),0!==(s=w[o])&&B(e,i-=E[o],s),_(e,o=j(--r),n),0!==(s=k[o])&&B(e,r-=L[o],s)),a<e.last_lit;);_(e,b,t)}function K(e,t){var n,r,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=f,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)V(e,o,n);for(i=l;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],V(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,V(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,s,a,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,b=0;for(o=0;o<=p;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<f;n++)g<(o=l[2*l[2*(r=e.heap[n])+1]+1]+1)&&(o=g,b++),l[2*r+1]=o,c<r||(e.bl_count[o]++,s=0,m<=r&&(s=d[r-m]),a=l[2*r],e.opt_len+=a*(o+s),h&&(e.static_len+=a*(u[2*r+1]+s)));if(0!==b){do{for(o=g-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[g]--,b-=2}while(0<b);for(o=g;0!==o;o--)for(r=e.bl_count[o];0!==r;)c<(i=e.heap[--n])||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}(e,t),P(o,c,e.bl_count)}function X(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a<l&&i===s||(a<c?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*y]++):a<=10?e.bl_tree[2*v]++:e.bl_tree[2*x]++,o=i,c=(a=0)===s?(l=138,3):i===s?(l=6,3):(l=7,4))}function Y(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a<l&&i===s)){if(a<c)for(;_(e,i,e.bl_tree),0!=--a;);else 0!==i?(i!==o&&(_(e,i,e.bl_tree),a--),_(e,y,e.bl_tree),B(e,a-3,2)):a<=10?(_(e,v,e.bl_tree),B(e,a-3,3)):(_(e,x,e.bl_tree),B(e,a-11,7));o=i,c=(a=0)===s?(l=138,3):i===s?(l=6,3):(l=7,4)}}s(L);var Z=!1;function J(e,t,n,i){B(e,(a<<1)+(i?1:0),3),function(e,t,n,i){H(e),i&&(I(e,n),I(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){Z||(function(){var e,t,n,r,i,o=new Array(p+1);for(r=n=0;r<l-1;r++)for(E[r]=n,e=0;e<1<<w[r];e++)O[n++]=r;for(O[n-1]=r,r=i=0;r<16;r++)for(L[r]=i,e=0;e<1<<k[r];e++)A[i++]=r;for(i>>=7;r<h;r++)for(L[r]=i<<7,e=0;e<1<<k[r]-7;e++)A[256+i++]=r;for(t=0;t<=p;t++)o[t]=0;for(e=0;e<=143;)T[2*e+1]=8,e++,o[8]++;for(;e<=255;)T[2*e+1]=9,e++,o[9]++;for(;e<=279;)T[2*e+1]=7,e++,o[7]++;for(;e<=287;)T[2*e+1]=8,e++,o[8]++;for(P(T,u+1,o),e=0;e<h;e++)z[2*e+1]=5,z[2*e]=q(e,5);M=new D(T,w,c+1,u,p),N=new D(z,k,0,h,p),R=new D(new Array(0),S,0,d,g)}(),Z=!0),e.l_desc=new F(e.dyn_ltree,M),e.d_desc=new F(e.dyn_dtree,N),e.bl_desc=new F(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,U(e)},n._tr_stored_block=J,n._tr_flush_block=function(e,t,n,r){var s,a,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return o;return i}(e)),K(e,e.l_desc),K(e,e.d_desc),l=function(e){var t;for(X(e,e.dyn_ltree,e.l_desc.max_code),X(e,e.dyn_dtree,e.d_desc.max_code),K(e,e.bl_desc),t=d-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),s=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=s&&(s=a)):s=a=n+5,n+4<=s&&-1!==t?J(e,t,n,r):4===e.strategy||a===s?(B(e,2+(r?1:0),3),G(e,T,z)):(B(e,4+(r?1:0),3),function(e,t,n,r){var i;for(B(e,t-257,5),B(e,n-1,5),B(e,r-4,4),i=0;i<r;i++)B(e,e.bl_tree[2*C[i]+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),G(e,e.dyn_ltree,e.dyn_dtree)),U(e),r&&H(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+c+1)]++,e.dyn_dtree[2*j(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){B(e,2,3),_(e,b,T),function(e){16===e.bi_valid?(I(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,i){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var n,i,o,s,a=1,l={},c=!1,u=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,n="[object process]"==={}.toString.call(e.process)?function(e){r.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(s="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){o.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(f,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return l[a]=i,n(a),a++},h.clearImmediate=d}function d(e){delete l[e]}function f(e){if(c)setTimeout(f,0,e);else{var n=l[e];if(n){c=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{d(e),c=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&f(+t.data.slice(s.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))}).call(this,n("b639").Buffer,n("c8ba"),n("4362"))},"644b":function(e,t,n){"use strict";var r=n("2cf1"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r["a"]||i||Function("return this")();t["a"]=o},6547:function(e,t,n){"use strict";var r=n("e330"),i=n("5926"),o=n("577e"),s=n("1d80"),a=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,h=o(s(t)),d=i(n),f=h.length;return d<0||d>=f?e?"":void 0:(r=l(h,d),r<55296||r>56319||d+1===f||(u=l(h,d+1))<56320||u>57343?e?a(h,d):r:e?c(h,d,d+2):u-56320+(r-55296<<10)+65536)}};e.exports={codeAt:u(!1),charAt:u(!0)}},"68b3":function(e,t,n){"use strict";var r=n("bd04"),i=n("c4ea");t["a"]=[...r["a"],...i["a"]]},"68ee":function(e,t,n){"use strict";var r=n("e330"),i=n("d039"),o=n("1626"),s=n("f5df"),a=n("d066"),l=n("8925"),c=function(){},u=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=r(h.exec),f=!h.test(c),p=function(e){if(!o(e))return!1;try{return u(c,[],e),!0}catch(t){return!1}},m=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!d(h,l(e))}catch(t){return!0}};m.sham=!0,e.exports=!u||i((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?m:p},"6db8":function(e){e.exports=JSON.parse('"eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuPmZ3/f5HHzs7/k8WlzvXS7fvPXp02eqyR/2vRfd2N3gqhUUfm0Od9P236+DoczxLWK66fNpZ93/fkGWaOy5mnTnUR67c57lRaZSItM/tnN/XnsX/DfIqg0JOk8HI4UK4BCAFzG+xWCQgXF02Y3nU4dJJVKKrx5mPgKBVMImOvYXY+QKJRCoHzXzxMErQrap810hqaloioF1e0L5kvFUwqe23Hu+Q+1TinWeZnuMwSKrRRsL8Nn/kOxlYLtOnzFWE1Viqmu/eceVioVaylYe1OwVKilQD0PCYgiLRtVcJz4kEItW13mNLi0UsCVAB77KyxTKeJKEPff3rsREkVcCeLD3He3HqArBV0J6G/v/fU2cK1WH23l0e3c7T71N9uUVv/c5i73bWlVs1Y0u5/3srO7aQb2EPUB+eUTva0TYgG5mGbbzZSUkJTpn75ygF4PThhq1SMGMds4HYZdN54n/rdWc8rv02bfH9I2hbqGsKbPnIYzHSc0qmTIxI6nuwpiAIQmU8F4Gy7jK8RwntAI1v3wedj39FmFECp508s4zUOyGmwpKrwbL8eOIlVU//Yf/S1J9C212Pa/uuSwbVDYlWzxf/aj/UtfWgm258t1GG1X1BVawfdnX0xdoRbjPCdBVGs1svo3R/tPVD1r2YL3k0kUfC04f9ldLkmk0NVwv+pO232SKXa126/vHAO5wPxNGivsRsZ/HDhWzLVg/iBuOSfMUTGrTX+b/qSIG0H8u+NEl1J4jcD7/XBI9kDcUYN/0/FNCDuNAP64skYOeLrykUsjElWC9+cmAEAB9NtrEijCplaE/YHvKuC5Iup8zxBAWtFrayakC2QC8uCbhggSskx9zXYNQSRkeuZWQBFKQowabNIfS/qeqOgSOFTINcC4DKcnE70H2zqElJAJ3k++dwgrIRPA47J5iCwr724RWELINFBTAAWiCL7SOogrIQj6abWBOH8hCPoL/4a4EoJgn9MWIq40lcY52cJAGbCHMgkpA3g9t7e0sRWgB1HnvjJYRez6yrSTlYJvRZmdCQhe80Pa24roNYL75uLo10WyKYHVeFLjYnImilM0qPDOJOKWNGlFCJsIrw/qsNv7OPY3SnNYSQ9DP46DLHylvGCcEFU08Nz6JIVx9Chd+93ENNhEWroSuC8SAi0WNznNpqH9+c5k1RQ0nIbi9/LnTzdmoKZAaAwaib/0g0Ti29wxG8gUgLey/O8eHmmqt4eiKTNYo416LPrLkcIWa2u06eZ5+mLBXCaoTp4m7pckBm41P8Qe0mUG6DUCYWY/fTmnCQbwkCa2043vrhA2gqakncwM3aGfe9GAj1Vw9qiuzPW2o4Or4PcxhmUu4atwAGKMy8wCscJhiDFfJh1lhY2K6mo250DrTJXOC82EUgVIkTMmOd0moqC5Dd24H15e0hRKJS0Cvg7Xm9RKgz9ErdWrTpfb6zV5Wx2ytwlDZLplUQ/8Ye72Qyq5RI5kqY4t6fe0iHOItdCYbo8zKOi0vLjvjrdjZ2IYRAPUZZ72910SI7vEiL9LaHSvrZFkipKOf02y8gc9vEbmKHQjRP95uH6ShZI9c9pao41otTPLICMETXSC5jLNupbP8bxo2Dy/DOfh9prk8BKNk935MPIo1jiKUSNQqiVSVSozBWYan5nmNMGz1+r6AleO8KJJwXdk2H8XwgVVP31AticBhdvqIZPwNPcvqWhqah74iIB6GsYuvbdGeYFS93yY775hPNh6giUlzNNXr/eaJmNYKrnLKznOt4ZsEQ6f5ZCfWVvJFK2Xs5BcP8ND23r5uJqDyaPmM90Oscl9a87aIC3HLCxz+uOzNFgOhA+P4XRq8hPTjP3Xhzn4oiYIm1svybSpOX03zDuJX4kqyAx3rrKZdZ3XNMggGh9lsUt/Fm+7m+1bGCxqOttPN/fOFiExKh+xnb1d0gz8qiiXmS0r5YxLaaULN/TaOsu4WEgTS3Fd1TCvlsvj9F1/PvQpPzHAZqiN9yZEntcyaDfet0mGOKLl5LGX6EMhU5ZGkf3QnVIWqvJA5FoG7KbLK1BcBcyLTfNYZGr7g8ar+WEWm63VgmSefX/q5k+r6Rplrdo/Heb+q00gKzcWUiVy3pY5RkGL7kept7/zSRS8Uc+Kw+nOV5ukqeu1KqtZ2Ds2a6yrWZghX/NS7q3OwQZ5WM0tgGCBPK7muPM6B2fP8wditayKMKG5YzW7rIvzkJcPs8vKOBGaRJxo+boMocrFfe407G0SJlJS7pO+KOrwqKkAcw4lp28Xi28vU7AM2Lfz9gUITKM8fJlcnoRtlJIvkwsSRtD2kXkuC8M2ytbX08vSME4ZHqd9cTQgojL5hXr60uhDxDJfTy7WQ3kXy2I9q+t+L7V+d3nZD+fDtrtdf7iZ8gPUNhVNSLOdFKmrqgg5UGR5ktUWkERW4ETnYSnQpK5PsqU2k3I5yZbCTGhJki0lmbJ2ypxOd8rYKXM23Slnp6yxclZkVZK1li1EVlMWmY0yyJokC5bIRdYm6sDCW/9X54knZEYnurpKJCEzNtHVdYqTmdGJrm6SiJRMsdWJmTS1MYWuSZwAHg3D5dSJO6tnpqPiNXIHapSQHkL9WNCyDwEZymTtQzyGcfx/rQVukWUP4RgGS29oG5RieEMSVKm67GISoHZUs0g6TKImlZMdbde2cDMFUCZBSBWevKlNIlRrBNQkEVpt0CXUSYTWGvzG1q5TldeFIklgFfiMvQ6tNXgMtk5IM+qSAjbJSpOh4wdUtYnQYgOqxkRosgFVayK02SJsYCJ02tRw9HkVodUG00UTodcG4+UmQrdN0dPhVYR2m8KPBhX1t/bkumgaofzWplwXDT2Oo9K2Lhp6dogUvT+HBpGC98fQxlDs/lSVCr/OVGZ7CGY3lXEIKyD3fylyrQS63P4VjTl0uRkGJxB+l5th2CBS5LkZhg0iRZ6bYdgPUqC5aYMEh8CSmzrsCinU3PRBKkNYyQ0qTgSiSmFQcSAQVAqDimSFmFIYVPaKFGphUNktUqiFQUVaUvLVFbaHSEZK47vC0LNfpOgLQ8+OkaIvDD2SjZbOXWHokWBQgJeGHkmlwaEz9EglKHFKQ48og8qmNPQgJEp0u9LQg4mAjJeGnm0rRV8aeratFH1p6EE8tBnQlYYebSutwLrS0KNrhRZYZegRbpV3dpWhR8tKSU9XGXr2rJTsdJXBTz0ruLjhT00rVaAyBVLTSjWoTIPUs1IVKlOBbSulAV1lOrBzpZS2q0wJNq8yhH7TovIOb1cb5tSXUny14Ut9KUYQUyS1phRgbaDZmEIiFrKThCnpIMMYGrZh0JBo7M01e+H65sZeUpPp6ZsbX4+dcH1xa1YgxYsIAWYF9rXBI1p/L9tiiL6ZmYGtrYpZybaz8caUCA1iA4iIPcEN0ZAQIuq70g2ZPCOQ7R+yE5riIjTojfMRESbsge1zHMhgsSlk5PR4u0WnQDraMOdEE7JTj7dbhAqpw4K3W4wKGZv3eHtempBkA+nHQldgrwXHM1jwCgj0pB7BwlcIbI7BnhbAAmsvHNJgISyw+MIxDRbEAqsvHNRgYSyw/GqZSE0j1l84rMFCWWABhuMaLJgFVmA4sMHCWUi8CRpZQAvkSzizwUJaIE/CoQ0W1ALpEU5tsLDGDzqg6yI0jaKzfxGaRuRBOLjBglsgAcpYHZhG5D04usECXCDdQd0WLMQFshwc6GBBLqQOETSyMBdIa3DMgwW6QD6Dcx4s1AXyDpSRYmoTsrpmzWKQyDJw0GWjTci2GCBZIAtkFDj+wSJZIJPA+Q8WygIJRCQkw8meFCJAsGAWCu8BiNAsjzTAXkKwEBfYg2IQqM3y7EFFauT/ZAcUGlk0DAU7nyzETPeSHBIa1aZmSe4IjWpTsyRphEa1qVmSTFMjU7Mki4ZGreEsSZ+hUWO6s7+bc4/8cdJlaNSYQdjTRbEbM3+c5BgaWTgOSA7stkSLiqFiCwbgLUiHinQX4C1Kh4pEl+BN94oEl+DNdBWJLcH74yS0AG8RPeCjRmRZ3JiR0ZWKrItbW7MmZWVlbG+vSVWxHY2tyW+lJTUy0yEVgdTKmmYlNplKagSDCMFlTIaH8GmVMWkpIj6sMsQv+Ae3UmUIX3AP6q0yRC94x/IOBC84B4+VyhC7yHTIELQRhGgM32hchmAM14hMRCpEMIZrNC6DJvAMWkxl0ASOQYOpDJqACrX+EmgCX9EQ8f3T5stwlggXf/otCfss8O19uvX7LfqmP3Z1AiRPP2JPY2pA/vTbFIhHqhFedB2s0/2v3bIAG1z14yH8CVcvwJFFoePr5cgbDv9/G+Pfvo2BUIP6ix0r8EO9ZYARuKFeMMAIvFA/gWMESqifiTACG9QrBTpCBFGK9wuMQKz0UgJGoH+C7L8xAvPTL40Y4au7gPkfjEAB9SYBRmB/eokAIxA/vT6AETifXh7ACHRPrwroqAFX0i/5GIEmCZb/xQj8Tu8LYARqp5cFMAKr03sCGIHQ6SUBjMDlBMsfMLIP//+HERicXlzACORNsPxJR2iW4I4FRj92EQa8TTuGInY3/vHrMSBwuoPX3TDot4c7osKPXJtBm0XLvsPc0XfRZkHNhxE4nLZsMQJ902/jDOQIkriXkAL7JhEyNh1ZemtZ98IxCZvebeCYZE3AHjkmUdMPGRyTpAm6v3FMgqY3EjgmOdPPZhyTmOlFBIwZxHEPgWNeJ9BbBxyz+af9c45J2PRMcEyyph8EOSZP03PMMTmaXjLgmN0+vWLAMfBpFfeZY7838AVjNilxLYJj4NOy7ZVjUju9zcHxv3/FiVcKULCpf9yGcb9qEOPL/6pp7GyO2cU+S7N2AaOzDMHKBXxO4/goyYBiZ3S7+yxxf0fNKud0r31a0gnddp4+9WfTpHJOt/r4yfIlfVDq5z7dgWABg8amf4SBnLxZQ9A0718keFqMZSGDNurhPoxjf5r84LGeQY/77d0vb3QvyYc1DTrd9nWo56movd196uyqy792faz2prfkJHyAHPiBONTe+kZ2ephrlhb4Ll0HSRfRNOLxqk5onB1LWu4kCPAGRmicIDOZ6j67Ro0T5V2/F6t1lDpTlkz6iMTpspj/JI53H83+jZNmt/+ybY2TZ1lRctmcUldonEDLxLEbGV5aZ9AwRnqAJmydSFu6c2dunU6/8yDIL5Og0+8W67VOp98xsL6kr1H8FglO/W45Uq1z6ncPXto6rX432zlpnVW/e6bAGfXPV0aOmXPqZwcbM+fUzw42Zs6pnx/BxsyJ9fMaV8ycW79fre3c+v1qbefW79+u7QT7/ePazrGf+UE7Zk6wf+Mmi8EJ9ocFQnCC/WGBEJxgf3gDgddNNIp/WC3Mb12i24cHXIEfkcs3FzGDM/UPnnJjcKb+cQXOmfrHFThn6h/fgItO1z8+4IjO2P+0LBOdsX9znHgBKUYn7Id+Pkklvh3TCgtpX9DFhbSvll1I+1t0C3NfTBcX5v4IeSHv5sYxX7g7H86dt+/Wbpw7c+8XsLkz934Bmztz79+AzZ2+9w+4cmfww2ptZ/DDam1n8MPbtZ3GDw9rs9ui3KZPblw4tz8vJiuc208LhMK5/bRAKJzbT28gFE7wp9XCTvCnR1zO8ZeLw7Fwjj8tTlw4x78v0Ern+PcFWukc//4GWulE//6AonSu/7paxrn+zZ2YnRclRK/rBXJsCAjxh2cKEAWVJ02ku/wOoFv2+12XkmnODwHgW4uQGVbZ0uM7mAJ1b/68/JlpUMnWdy5MF6/Vd5eL19YYSPd6FqPwBkNQo/h2NQxdQQ3bn/dpCxrGrqCW7U8rKZl/mfi0Xytk3Am66ZhYbg4y+KAVslDwbXdNL2d5qU5hnYBlTZaa6hs2t1qWdaeeTptcLco+hl5R7w4H5uOGcQbtEkpT18GusOI2xT9dYcVJf7zCSjmbD+Iud2s1NPRb9E+0UICmizb8ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA=="')},"6f54":function(e,t,n){"use strict";var r=n("f537"),i=function(){function e(){}return e.prototype.clone=function(e){throw new r["f"](this.constructor.name,"clone")},e.prototype.toString=function(){throw new r["f"](this.constructor.name,"toString")},e.prototype.sizeInBytes=function(){throw new r["f"](this.constructor.name,"sizeInBytes")},e.prototype.copyBytesInto=function(e,t){throw new r["f"](this.constructor.name,"copyBytesInto")},e}();t["a"]=i},7280:function(e,t,n){"use strict";var r;(function(e){e[e["Null"]=0]="Null",e[e["Backspace"]=8]="Backspace",e[e["Tab"]=9]="Tab",e[e["Newline"]=10]="Newline",e[e["FormFeed"]=12]="FormFeed",e[e["CarriageReturn"]=13]="CarriageReturn",e[e["Space"]=32]="Space",e[e["ExclamationPoint"]=33]="ExclamationPoint",e[e["Hash"]=35]="Hash",e[e["Percent"]=37]="Percent",e[e["LeftParen"]=40]="LeftParen",e[e["RightParen"]=41]="RightParen",e[e["Plus"]=43]="Plus",e[e["Minus"]=45]="Minus",e[e["Dash"]=45]="Dash",e[e["Period"]=46]="Period",e[e["ForwardSlash"]=47]="ForwardSlash",e[e["Zero"]=48]="Zero",e[e["One"]=49]="One",e[e["Two"]=50]="Two",e[e["Three"]=51]="Three",e[e["Four"]=52]="Four",e[e["Five"]=53]="Five",e[e["Six"]=54]="Six",e[e["Seven"]=55]="Seven",e[e["Eight"]=56]="Eight",e[e["Nine"]=57]="Nine",e[e["LessThan"]=60]="LessThan",e[e["GreaterThan"]=62]="GreaterThan",e[e["A"]=65]="A",e[e["D"]=68]="D",e[e["E"]=69]="E",e[e["F"]=70]="F",e[e["O"]=79]="O",e[e["P"]=80]="P",e[e["R"]=82]="R",e[e["LeftSquareBracket"]=91]="LeftSquareBracket",e[e["BackSlash"]=92]="BackSlash",e[e["RightSquareBracket"]=93]="RightSquareBracket",e[e["a"]=97]="a",e[e["b"]=98]="b",e[e["d"]=100]="d",e[e["e"]=101]="e",e[e["f"]=102]="f",e[e["i"]=105]="i",e[e["j"]=106]="j",e[e["l"]=108]="l",e[e["m"]=109]="m",e[e["n"]=110]="n",e[e["o"]=111]="o",e[e["r"]=114]="r",e[e["s"]=115]="s",e[e["t"]=116]="t",e[e["u"]=117]="u",e[e["x"]=120]="x",e[e["LeftCurly"]=123]="LeftCurly",e[e["RightCurly"]=125]="RightCurly",e[e["Tilde"]=126]="Tilde"})(r||(r={})),t["a"]=r},7289:function(e){e.exports=JSON.parse('"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"')},"73c1":function(e,t,n){"use strict";n("14d9");var r=n("1e42"),i=n("108f"),o=n("4013");class s{constructor({mindMap:e}){this.mindMap=e,this.isSearching=!1,this.searchText="",this.matchNodeList=[],this.currentIndex=-1,this.notResetSearchText=!1,this.isJumpNext=!1,this.bindEvent()}bindEvent(){this.onDataChange=this.onDataChange.bind(this),this.onModeChange=this.onModeChange.bind(this),this.mindMap.on("data_change",this.onDataChange),this.mindMap.on("mode_change",this.onModeChange)}unBindEvent(){this.mindMap.off("data_change",this.onDataChange),this.mindMap.off("mode_change",this.onModeChange)}onDataChange(){if(this.isJumpNext)return this.isJumpNext=!1,void this.search(this.searchText);this.notResetSearchText?this.notResetSearchText=!1:this.searchText=""}onModeChange(e){const t=e===o["a"].MODE.READONLY;!t&&this.isSearching&&this.matchNodeList[this.currentIndex]&&this.matchNodeList[this.currentIndex].closeHighlight()}search(e,t=(()=>{})){if(Object(r["fb"])(e))return this.endSearch();e=String(e),this.isSearching=!0,this.searchText===e||(this.searchText=e,this.doSearch()),this.searchNext(t),this.emitEvent()}updateMatchNodeList(e){this.matchNodeList=e,this.mindMap.emit("search_match_node_list_change",e)}endSearch(){this.isSearching&&(this.mindMap.opt.readonly&&this.matchNodeList[this.currentIndex]&&this.matchNodeList[this.currentIndex].closeHighlight(),this.searchText="",this.updateMatchNodeList([]),this.currentIndex=-1,this.notResetSearchText=!1,this.isSearching=!1,this.emitEvent())}doSearch(){this.clearHighlightOnReadonly(),this.updateMatchNodeList([]),this.currentIndex=-1;const{isOnlySearchCurrentRenderNodes:e}=this.mindMap.opt,t=this.mindMap.getRootNodes&&this.mindMap.getRootNodes()||(this.mindMap.renderer.roots&&this.mindMap.renderer.roots.length?this.mindMap.renderer.roots:this.mindMap.renderer.root?[this.mindMap.renderer.root]:[]);if(!t.length)return;const n=[];t.filter(Boolean).forEach(t=>{Object(r["d"])(t,t=>{if(!t)return;const i=e&&t.getData&&t.getData()||t.data||t.nodeData&&t.nodeData.data;if(!i)return;let{richText:o,text:s,generalization:a}=i;o&&(s=Object(r["R"])(s)),s=s||"",s.includes(this.searchText)&&n.push(t);const l=Object(r["C"])({generalization:a})||[];l.forEach(t=>{if(!t)return;let{richText:i,text:o,uid:s}=t;e&&!this.mindMap.renderer.findNodeByUid(s)||(i&&(o=Object(r["R"])(o)),o=o||"",o.includes(this.searchText)&&n.push({data:t}))})})}),this.updateMatchNodeList(n)}isNodeInstance(e){return e instanceof i["a"]}searchNext(e,t){if(!this.isSearching||this.matchNodeList.length<=0)return;void 0!==t&&Number.isInteger(t)&&t>=0&&t<this.matchNodeList.length?this.currentIndex=t:this.currentIndex<this.matchNodeList.length-1?this.currentIndex++:this.currentIndex=0;const{readonly:n}=this.mindMap.opt;this.clearHighlightOnReadonly();const r=this.matchNodeList[this.currentIndex];this.notResetSearchText=!0;const i=this.isNodeInstance(r)?r.getData("uid"):r.data.uid;if(!i)return void e();const o=this.mindMap.renderer.findNodeByUid(i);this.mindMap.execCommand("GO_TARGET_NODE",i,t=>{this.isNodeInstance(r)||(this.matchNodeList[this.currentIndex]=t,this.updateMatchNodeList(this.matchNodeList)),e(),n&&t.highlight(),o&&(this.notResetSearchText=!1)})}clearHighlightOnReadonly(){const{readonly:e}=this.mindMap.opt;e&&this.matchNodeList.forEach(e=>{this.isNodeInstance(e)&&e.closeHighlight()})}jump(e,t=(()=>{})){this.searchNext(t,e)}replace(e,t=!1){if(null===e||void 0===e||!this.isSearching||this.matchNodeList.length<=0)return;this.isJumpNext=t,e=String(e);let n=this.matchNodeList[this.currentIndex];if(!n)return;const r=e.includes(this.searchText),i=this.getReplacedText(n,this.searchText,e);if(this.notResetSearchText=!0,n.setText(i,n.getData("richText")),r)return void this.updateMatchNodeList(this.matchNodeList);const o=this.matchNodeList.filter(e=>n!==e);this.updateMatchNodeList(o),this.currentIndex>this.matchNodeList.length-1?this.currentIndex=-1:this.currentIndex--,this.emitEvent()}replaceAll(e){if(null===e||void 0===e||!this.isSearching||this.matchNodeList.length<=0)return;e=String(e);const t=e.includes(this.searchText);this.notResetSearchText=!0,this.matchNodeList.forEach(t=>{const n=this.getReplacedText(t,this.searchText,e);if(this.isNodeInstance(t)){const e={text:n};this.mindMap.renderer.setNodeDataRender(t,e,!0)}else t.data.text=n}),this.mindMap.render(),this.mindMap.command.addHistory(),t?this.updateMatchNodeList(this.matchNodeList):this.endSearch()}getReplacedText(e,t,n){let{richText:i,text:o}=this.isNodeInstance(e)?e.getData():e.data;return i?Object(r["tb"])(o,t,n):o.replace(new RegExp(t,"g"),n)}emitEvent(){this.mindMap.emit("search_info_change",{currentIndex:this.currentIndex,total:this.matchNodeList.length})}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}s.instanceName="search",t["a"]=s},"77f5":function(e,t,n){"use strict";var r=n("9aae").assign,i=n("e220"),o=n("8289"),s=n("c36e"),a={};r(a,i,o,s),e.exports=a},"780f":function(e,t,n){"use strict";e.exports=o;var r=n("27bf"),i=Object.create(n("3a7c"));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n("3fb5"),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},7992:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("2733");class i{constructor(e){this.ops=e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(e){e||(e=1/0);const t=this.ops[this.index];if(t){const n=this.offset,i=r.default.length(t);if(e>=i-n?(e=i-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t.delete)return{delete:e};{const r={};return t.attributes&&(r.attributes=t.attributes),"number"===typeof t.retain?r.retain=e:"object"===typeof t.retain&&null!==t.retain?r.retain=t.retain:"string"===typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}}return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const e=this.ops[this.index];return e?"number"===typeof e.delete?"delete":"number"===typeof e.retain||"object"===typeof e.retain&&null!==e.retain?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);{const e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}}return[]}}t.default=i},"7c73":function(e,t,n){"use strict";var r,i=n("825a"),o=n("37e8"),s=n("7839"),a=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),h=">",d="<",f="prototype",p="script",m=u("IE_PROTO"),g=function(){},b=function(e){return d+p+h+e+d+"/"+p+h},y=function(e){e.write(b("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){var e,t=c("iframe"),n="java"+p+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(b("document.F=Object")),e.close(),e.F},x=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}x="undefined"!=typeof document?document.domain&&r?y(r):v():y(r);var e=s.length;while(e--)delete x[f][s[e]];return x()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[f]=i(e),n=new g,g[f]=null,n[m]=e):n=x(),void 0===t?n:o.f(n,t)}},"7d72":function(e,t,n){"use strict";var r=n("8707").Buffer,i=r.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function s(e){var t=o(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function a(e){var t;switch(this.encoding=s(e),this.encoding){case"utf16le":this.text=p,this.end=m,t=4;break;case"utf8":this.fillLast=h,t=4;break;case"base64":this.text=g,this.end=b,t=3;break;default:return this.write=y,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function c(e,t,n){var r=t.length-1;if(r<n)return 0;var i=l(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function u(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"<22>";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"<22>";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"<22>"}}function h(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function d(e,t){var n=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"<22>":t}function p(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function m(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function g(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function b(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function y(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=f,a.prototype.text=d,a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},"7dd8":function(e,t,n){"use strict";(function(e){var r=n("2cf1"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===i,a=s&&r["a"].process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();t["a"]=l}).call(this,n("dd40")(e))},8289:function(e,t,n){"use strict";var r=n("f37f"),i=n("9aae"),o=n("f2b5"),s=n("c36e"),a=n("5838"),l=n("aa68"),c=n("406c"),u=Object.prototype.toString;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(a[n]);if(this.header=new c,r.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"===typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=r.inflateSetDictionary(this.strm,t.dictionary),n!==s.Z_OK)))throw new Error(a[n])}function d(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}function f(e,t){return t=t||{},t.raw=!0,d(e,t)}h.prototype.push=function(e,t){var n,a,l,c,h,d=this.strm,f=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"===typeof e?d.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(f),d.next_out=0,d.avail_out=f),n=r.inflate(d,s.Z_NO_FLUSH),n===s.Z_NEED_DICT&&p&&(n=r.inflateSetDictionary(this.strm,p)),n===s.Z_BUF_ERROR&&!0===m&&(n=s.Z_OK,m=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==s.Z_STREAM_END&&(0!==d.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(d.output,d.next_out),c=d.next_out-l,h=o.buf2string(d.output,l),d.next_out=c,d.avail_out=f-c,c&&i.arraySet(d.output,d.output,l,c,0),this.onData(h)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(m=!0)}while((d.avail_in>0||0===d.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),d.avail_out=0,!0)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=h,t.inflate=d,t.inflateRaw=f,t.ungzip=d},"841f":function(e){e.exports=JSON.parse('"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"')},"84b5":function(e,t,n){"use strict";var r=n("9aae"),i=15,o=852,s=592,a=0,l=1,c=2,u=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],h=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],f=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,n,p,m,g,b,y){var v,x,w,k,S,C,T,z,A,O=y.bits,E=0,M=0,N=0,R=0,L=0,D=0,F=0,j=0,I=0,B=0,_=null,q=0,P=new r.Buf16(i+1),U=new r.Buf16(i+1),H=null,W=0;for(E=0;E<=i;E++)P[E]=0;for(M=0;M<p;M++)P[t[n+M]]++;for(L=O,R=i;R>=1;R--)if(0!==P[R])break;if(L>R&&(L=R),0===R)return m[g++]=20971520,m[g++]=20971520,y.bits=1,0;for(N=1;N<R;N++)if(0!==P[N])break;for(L<N&&(L=N),j=1,E=1;E<=i;E++)if(j<<=1,j-=P[E],j<0)return-1;if(j>0&&(e===a||1!==R))return-1;for(U[1]=0,E=1;E<i;E++)U[E+1]=U[E]+P[E];for(M=0;M<p;M++)0!==t[n+M]&&(b[U[t[n+M]]++]=M);if(e===a?(_=H=b,C=19):e===l?(_=u,q-=257,H=h,W-=257,C=256):(_=d,H=f,C=-1),B=0,M=0,E=N,S=g,D=L,F=0,w=-1,I=1<<L,k=I-1,e===l&&I>o||e===c&&I>s)return 1;for(;;){T=E-F,b[M]<C?(z=0,A=b[M]):b[M]>C?(z=H[W+b[M]],A=_[q+b[M]]):(z=96,A=0),v=1<<E-F,x=1<<D,N=x;do{x-=v,m[S+(B>>F)+x]=T<<24|z<<16|A|0}while(0!==x);v=1<<E-1;while(B&v)v>>=1;if(0!==v?(B&=v-1,B+=v):B=0,M++,0===--P[E]){if(E===R)break;E=t[n+b[M]]}if(E>L&&(B&k)!==w){0===F&&(F=L),S+=N,D=E-F,j=1<<D;while(D+F<R){if(j-=P[D+F],j<=0)break;D++,j<<=1}if(I+=1<<D,e===l&&I>o||e===c&&I>s)return 1;w=B&k,m[w]=L<<24|D<<16|S-g|0}}return 0!==B&&(m[S+B]=E-F<<24|64<<16|0),y.bits=L,0}},8707:function(e,t,n){var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),o(i,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},8790:function(e,t,n){"use strict";n.d(t,"a",(function(){return wn}));var r,i=n("c4ab"),o=n("a935"),s=function(e){return e instanceof o["z"]?e:o["z"].of(e)},a=function(e){return e instanceof o["A"]?e:o["A"].of(e)},l=function(e){return e instanceof o["A"]?e.asNumber():e},c=n("5d9a");(function(e){e["Degrees"]="degrees",e["Radians"]="radians"})(r||(r={}));var u,h=function(e){return Object(c["e"])(e,"degreeAngle",["number"]),{type:r.Degrees,angle:e}},d=r.Radians,f=r.Degrees,p=function(e){return e*Math.PI/180},m=function(e){return 180*e/Math.PI},g=function(e){return e.type===d?e.angle:e.type===f?p(e.angle):Object(c["y"])("Invalid rotation: "+JSON.stringify(e))},b=function(e){return e.type===d?m(e.angle):e.type===f?e.angle:Object(c["y"])("Invalid rotation: "+JSON.stringify(e))},y=function(e){void 0===e&&(e=0);var t=e/90%4;return 0===t?0:1===t?90:2===t?180:3===t?270:0},v=function(e,t){void 0===t&&(t=0);var n=y(t);return 90===n||270===n?{width:e.height,height:e.width}:{width:e.width,height:e.height}},x=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=0);var r=e.x,i=e.y,o=e.width,s=e.height,a=y(n),l=t/2;return 0===a?{x:r-l,y:i-l,width:o,height:s}:90===a?{x:r-s+l,y:i-l,width:s,height:o}:180===a?{x:r-o+l,y:i-s+l,width:o,height:s}:270===a?{x:r-l,y:i-o+l,width:s,height:o}:{x:r-l,y:i-l,width:o,height:s}},w=function(){return o["C"].of(o["D"].ClipNonZero)},k=Math.cos,S=Math.sin,C=Math.tan,T=function(e,t,n,r,i,s){return o["C"].of(o["D"].ConcatTransformationMatrix,[a(e),a(t),a(n),a(r),a(i),a(s)])},z=function(e,t){return T(1,0,0,1,e,t)},A=function(e,t){return T(e,0,0,t,0,0)},O=function(e){return T(k(l(e)),S(l(e)),-S(l(e)),k(l(e)),0,0)},E=function(e){return O(p(l(e)))},M=function(e,t){return T(1,C(l(e)),C(l(t)),1,0,0)},N=function(e,t){return o["C"].of(o["D"].SetLineDashPattern,["["+e.map(a).join(" ")+"]",a(t)])};(function(e){e[e["Butt"]=0]="Butt",e[e["Round"]=1]="Round",e[e["Projecting"]=2]="Projecting"})(u||(u={}));var R,L=function(e){return o["C"].of(o["D"].SetLineCapStyle,[a(e)])};(function(e){e[e["Miter"]=0]="Miter",e[e["Round"]=1]="Round",e[e["Bevel"]=2]="Bevel"})(R||(R={}));var D,F=function(e){return o["C"].of(o["D"].SetGraphicsStateParams,[s(e)])},j=function(){return o["C"].of(o["D"].PushGraphicsState)},I=function(){return o["C"].of(o["D"].PopGraphicsState)},B=function(e){return o["C"].of(o["D"].SetLineWidth,[a(e)])},_=function(e,t,n,r,i,s){return o["C"].of(o["D"].AppendBezierCurve,[a(e),a(t),a(n),a(r),a(i),a(s)])},q=function(e,t,n,r){return o["C"].of(o["D"].CurveToReplicateInitialPoint,[a(e),a(t),a(n),a(r)])},P=function(){return o["C"].of(o["D"].ClosePath)},U=function(e,t){return o["C"].of(o["D"].MoveTo,[a(e),a(t)])},H=function(e,t){return o["C"].of(o["D"].LineTo,[a(e),a(t)])},W=function(){return o["C"].of(o["D"].StrokePath)},V=function(){return o["C"].of(o["D"].FillNonZero)},G=function(){return o["C"].of(o["D"].FillNonZeroAndStroke)},K=function(){return o["C"].of(o["D"].EndPath)},X=function(){return o["C"].of(o["D"].NextLine)},Y=function(e){return o["C"].of(o["D"].ShowText,[e])},Z=function(){return o["C"].of(o["D"].BeginText)},J=function(){return o["C"].of(o["D"].EndText)},Q=function(e,t){return o["C"].of(o["D"].SetFontAndSize,[s(e),a(t)])},$=function(e){return o["C"].of(o["D"].SetTextLineHeight,[a(e)])};(function(e){e[e["Fill"]=0]="Fill",e[e["Outline"]=1]="Outline",e[e["FillAndOutline"]=2]="FillAndOutline",e[e["Invisible"]=3]="Invisible",e[e["FillAndClip"]=4]="FillAndClip",e[e["OutlineAndClip"]=5]="OutlineAndClip",e[e["FillAndOutlineAndClip"]=6]="FillAndOutlineAndClip",e[e["Clip"]=7]="Clip"})(D||(D={}));var ee,te=function(e,t,n,r,i,s){return o["C"].of(o["D"].SetTextMatrix,[a(e),a(t),a(n),a(r),a(i),a(s)])},ne=function(e,t,n,r,i){return te(k(l(e)),S(l(e))+C(l(t)),-S(l(e))+C(l(n)),k(l(e)),r,i)},re=function(e){return o["C"].of(o["D"].DrawObject,[s(e)])},ie=function(e){return o["C"].of(o["D"].NonStrokingColorGray,[a(e)])},oe=function(e){return o["C"].of(o["D"].StrokingColorGray,[a(e)])},se=function(e,t,n){return o["C"].of(o["D"].NonStrokingColorRgb,[a(e),a(t),a(n)])},ae=function(e,t,n){return o["C"].of(o["D"].StrokingColorRgb,[a(e),a(t),a(n)])},le=function(e,t,n,r){return o["C"].of(o["D"].NonStrokingColorCmyk,[a(e),a(t),a(n),a(r)])},ce=function(e,t,n,r){return o["C"].of(o["D"].StrokingColorCmyk,[a(e),a(t),a(n),a(r)])},ue=function(e){return o["C"].of(o["D"].BeginMarkedContent,[s(e)])},he=function(){return o["C"].of(o["D"].EndMarkedContent)};(function(e){e["Grayscale"]="Grayscale",e["RGB"]="RGB",e["CMYK"]="CMYK"})(ee||(ee={}));var de,fe=function(e){return Object(c["l"])(e,"gray",0,1),{type:ee.Grayscale,gray:e}},pe=function(e,t,n){return Object(c["l"])(e,"red",0,1),Object(c["l"])(t,"green",0,1),Object(c["l"])(n,"blue",0,1),{type:ee.RGB,red:e,green:t,blue:n}},me=function(e,t,n,r){return Object(c["l"])(e,"cyan",0,1),Object(c["l"])(t,"magenta",0,1),Object(c["l"])(n,"yellow",0,1),Object(c["l"])(r,"key",0,1),{type:ee.CMYK,cyan:e,magenta:t,yellow:n,key:r}},ge=ee.Grayscale,be=ee.RGB,ye=ee.CMYK,ve=function(e){return e.type===ge?ie(e.gray):e.type===be?se(e.red,e.green,e.blue):e.type===ye?le(e.cyan,e.magenta,e.yellow,e.key):Object(c["y"])("Invalid color: "+JSON.stringify(e))},xe=function(e){return e.type===ge?oe(e.gray):e.type===be?ae(e.red,e.green,e.blue):e.type===ye?ce(e.cyan,e.magenta,e.yellow,e.key):Object(c["y"])("Invalid color: "+JSON.stringify(e))},we=function(e,t){return void 0===t&&(t=1),1===(null===e||void 0===e?void 0:e.length)?fe(e[0]*t):3===(null===e||void 0===e?void 0:e.length)?pe(e[0]*t,e[1]*t,e[2]*t):4===(null===e||void 0===e?void 0:e.length)?me(e[0]*t,e[1]*t,e[2]*t,e[3]*t):void 0},ke=function(e){return e.type===ge?[e.gray]:e.type===be?[e.red,e.green,e.blue]:e.type===ye?[e.cyan,e.magenta,e.yellow,e.key]:Object(c["y"])("Invalid color: "+JSON.stringify(e))},Se=0,Ce=0,Te=0,ze=0,Ae=0,Oe=0,Ee=new Map([["A",7],["a",7],["C",6],["c",6],["H",1],["h",1],["L",2],["l",2],["M",2],["m",2],["Q",4],["q",4],["S",4],["s",4],["T",2],["t",2],["V",1],["v",1],["Z",0],["z",0]]),Me=function(e){for(var t,n=[],r=[],i="",o=!1,s=0,a=0,l=e;a<l.length;a++){var c=l[a];if(Ee.has(c))s=Ee.get(c),t&&(i.length>0&&(r[r.length]=+i),n[n.length]={cmd:t,args:r},r=[],i="",o=!1),t=c;else if([" ",","].includes(c)||"-"===c&&i.length>0&&"e"!==i[i.length-1]||"."===c&&o){if(0===i.length)continue;r.length===s?(n[n.length]={cmd:t,args:r},r=[+i],"M"===t&&(t="L"),"m"===t&&(t="l")):r[r.length]=+i,o="."===c,i=["-","."].includes(c)?c:""}else i+=c,"."===c&&(o=!0)}return i.length>0&&(r.length===s?(n[n.length]={cmd:t,args:r},r=[+i],"M"===t&&(t="L"),"m"===t&&(t="l")):r[r.length]=+i),n[n.length]={cmd:t,args:r},n},Ne=function(e){Se=Ce=Te=ze=Ae=Oe=0;for(var t=[],n=0;n<e.length;n++){var r=e[n];if(r.cmd&&"function"===typeof Re[r.cmd]){var i=Re[r.cmd](r.args);Array.isArray(i)?t=t.concat(i):t.push(i)}}return t},Re={M:function(e){return Se=e[0],Ce=e[1],Te=ze=null,Ae=Se,Oe=Ce,U(Se,Ce)},m:function(e){return Se+=e[0],Ce+=e[1],Te=ze=null,Ae=Se,Oe=Ce,U(Se,Ce)},C:function(e){return Se=e[4],Ce=e[5],Te=e[2],ze=e[3],_(e[0],e[1],e[2],e[3],e[4],e[5])},c:function(e){var t=_(e[0]+Se,e[1]+Ce,e[2]+Se,e[3]+Ce,e[4]+Se,e[5]+Ce);return Te=Se+e[2],ze=Ce+e[3],Se+=e[4],Ce+=e[5],t},S:function(e){null!==Te&&null!==ze||(Te=Se,ze=Ce);var t=_(Se-(Te-Se),Ce-(ze-Ce),e[0],e[1],e[2],e[3]);return Te=e[0],ze=e[1],Se=e[2],Ce=e[3],t},s:function(e){null!==Te&&null!==ze||(Te=Se,ze=Ce);var t=_(Se-(Te-Se),Ce-(ze-Ce),Se+e[0],Ce+e[1],Se+e[2],Ce+e[3]);return Te=Se+e[0],ze=Ce+e[1],Se+=e[2],Ce+=e[3],t},Q:function(e){return Te=e[0],ze=e[1],Se=e[2],Ce=e[3],q(e[0],e[1],Se,Ce)},q:function(e){var t=q(e[0]+Se,e[1]+Ce,e[2]+Se,e[3]+Ce);return Te=Se+e[0],ze=Ce+e[1],Se+=e[2],Ce+=e[3],t},T:function(e){null===Te||null===ze?(Te=Se,ze=Ce):(Te=Se-(Te-Se),ze=Ce-(ze-Ce));var t=q(Te,ze,e[0],e[1]);return Te=Se-(Te-Se),ze=Ce-(ze-Ce),Se=e[0],Ce=e[1],t},t:function(e){null===Te||null===ze?(Te=Se,ze=Ce):(Te=Se-(Te-Se),ze=Ce-(ze-Ce));var t=q(Te,ze,Se+e[0],Ce+e[1]);return Se+=e[0],Ce+=e[1],t},A:function(e){var t=Le(Se,Ce,e);return Se=e[5],Ce=e[6],t},a:function(e){e[5]+=Se,e[6]+=Ce;var t=Le(Se,Ce,e);return Se=e[5],Ce=e[6],t},L:function(e){return Se=e[0],Ce=e[1],Te=ze=null,H(Se,Ce)},l:function(e){return Se+=e[0],Ce+=e[1],Te=ze=null,H(Se,Ce)},H:function(e){return Se=e[0],Te=ze=null,H(Se,Ce)},h:function(e){return Se+=e[0],Te=ze=null,H(Se,Ce)},V:function(e){return Ce=e[0],Te=ze=null,H(Se,Ce)},v:function(e){return Ce+=e[0],Te=ze=null,H(Se,Ce)},Z:function(){var e=P();return Se=Ae,Ce=Oe,e},z:function(){var e=P();return Se=Ae,Ce=Oe,e}},Le=function(e,t,n){for(var r=n[0],i=n[1],o=n[2],s=n[3],a=n[4],l=n[5],c=n[6],u=De(l,c,r,i,s,a,o,e,t),h=[],d=0,f=u;d<f.length;d++){var p=f[d],m=Fe.apply(void 0,p);h.push(_.apply(void 0,m))}return h},De=function(e,t,n,r,i,o,s,a,l){var c=s*(Math.PI/180),u=Math.sin(c),h=Math.cos(c);n=Math.abs(n),r=Math.abs(r),Te=h*(a-e)*.5+u*(l-t)*.5,ze=h*(l-t)*.5-u*(a-e)*.5;var d=Te*Te/(n*n)+ze*ze/(r*r);d>1&&(d=Math.sqrt(d),n*=d,r*=d);var f=h/n,p=u/n,m=-u/r,g=h/r,b=f*a+p*l,y=m*a+g*l,v=f*e+p*t,x=m*e+g*t,w=(v-b)*(v-b)+(x-y)*(x-y),k=1/w-.25;k<0&&(k=0);var S=Math.sqrt(k);o===i&&(S=-S);var C=.5*(b+v)-S*(x-y),T=.5*(y+x)+S*(v-b),z=Math.atan2(y-T,b-C),A=Math.atan2(x-T,v-C),O=A-z;O<0&&1===o?O+=2*Math.PI:O>0&&0===o&&(O-=2*Math.PI);for(var E=Math.ceil(Math.abs(O/(.5*Math.PI+.001))),M=[],N=0;N<E;N++){var R=z+N*O/E,L=z+(N+1)*O/E;M[N]=[C,T,R,L,n,r,u,h]}return M},Fe=function(e,t,n,r,i,o,s,a){var l=a*i,c=-s*o,u=s*i,h=a*o,d=.5*(r-n),f=8/3*Math.sin(.5*d)*Math.sin(.5*d)/Math.sin(d),p=e+Math.cos(n)-f*Math.sin(n),m=t+Math.sin(n)+f*Math.cos(n),g=e+Math.cos(r),b=t+Math.sin(r),y=g+f*Math.sin(r),v=b-f*Math.cos(r),x=[l*p+c*m,u*p+h*m,l*y+c*v,u*y+h*v,l*g+c*b,u*g+h*b];return x},je=function(e){return Ne(Me(e))},Ie=function(e,t){for(var n=[j(),t.graphicsState&&F(t.graphicsState),Z(),ve(t.color),Q(t.font,t.size),$(t.lineHeight),ne(g(t.rotate),g(t.xSkew),g(t.ySkew),t.x,t.y)].filter(Boolean),r=0,i=e.length;r<i;r++)n.push(Y(e[r]),X());return n.push(J(),I()),n},Be=function(e,t){return[j(),t.graphicsState&&F(t.graphicsState),z(t.x,t.y),O(g(t.rotate)),A(t.width,t.height),M(g(t.xSkew),g(t.ySkew)),re(e),I()].filter(Boolean)},_e=function(e,t){return[j(),t.graphicsState&&F(t.graphicsState),z(t.x,t.y),O(g(t.rotate)),A(t.xScale,t.yScale),M(g(t.xSkew),g(t.ySkew)),re(e),I()].filter(Boolean)},qe=function(e){var t,n;return[j(),e.graphicsState&&F(e.graphicsState),e.color&&xe(e.color),B(e.thickness),N(null!==(t=e.dashArray)&&void 0!==t?t:[],null!==(n=e.dashPhase)&&void 0!==n?n:0),U(e.start.x,e.start.y),e.lineCap&&L(e.lineCap),U(e.start.x,e.start.y),H(e.end.x,e.end.y),W(),I()].filter(Boolean)},Pe=function(e){var t,n;return[j(),e.graphicsState&&F(e.graphicsState),e.color&&ve(e.color),e.borderColor&&xe(e.borderColor),B(e.borderWidth),e.borderLineCap&&L(e.borderLineCap),N(null!==(t=e.borderDashArray)&&void 0!==t?t:[],null!==(n=e.borderDashPhase)&&void 0!==n?n:0),z(e.x,e.y),O(g(e.rotate)),M(g(e.xSkew),g(e.ySkew)),U(0,0),H(0,e.height),H(e.width,e.height),H(e.width,0),P(),e.color&&e.borderWidth?G():e.color?V():e.borderColor?W():P(),I()].filter(Boolean)},Ue=(Math.sqrt(2)-1)/3*4,He=function(e){var t=l(e.x),n=l(e.y),r=l(e.xScale),i=l(e.yScale);t-=r,n-=i;var o=r*Ue,s=i*Ue,a=t+2*r,c=n+2*i,u=t+r,h=n+i;return[j(),U(t,h),_(t,h-s,u-o,n,u,n),_(u+o,n,a,h-s,a,h),_(a,h+s,u+o,c,u,c),_(u-o,c,t,h+s,t,h),I()]},We=function(e){var t=l(e.x),n=l(e.y),r=l(e.xScale),i=l(e.yScale),o=-r,s=-i,a=r*Ue,c=i*Ue,u=o+2*r,h=s+2*i,d=o+r,f=s+i;return[z(t,n),O(g(e.rotate)),U(o,f),_(o,f-c,d-a,s,d,s),_(d+a,s,u,f-c,u,f),_(u,f+c,d+a,h,d,h),_(d-a,h,o,f+c,o,f)]},Ve=function(e){var t,n,r;return Object(i["f"])([j(),e.graphicsState&&F(e.graphicsState),e.color&&ve(e.color),e.borderColor&&xe(e.borderColor),B(e.borderWidth),e.borderLineCap&&L(e.borderLineCap),N(null!==(t=e.borderDashArray)&&void 0!==t?t:[],null!==(n=e.borderDashPhase)&&void 0!==n?n:0)],void 0===e.rotate?He({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale}):We({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale,rotate:null!==(r=e.rotate)&&void 0!==r?r:h(0)}),[e.color&&e.borderWidth?G():e.color?V():e.borderColor?W():P(),I()]).filter(Boolean)},Ge=function(e,t){var n,r,o;return Object(i["f"])([j(),t.graphicsState&&F(t.graphicsState),z(t.x,t.y),O(g(null!==(n=t.rotate)&&void 0!==n?n:h(0))),t.scale?A(t.scale,-t.scale):A(1,-1),t.color&&ve(t.color),t.borderColor&&xe(t.borderColor),t.borderWidth&&B(t.borderWidth),t.borderLineCap&&L(t.borderLineCap),N(null!==(r=t.borderDashArray)&&void 0!==r?r:[],null!==(o=t.borderDashPhase)&&void 0!==o?o:0)],je(e),[t.color&&t.borderWidth?G():t.color?V():t.borderColor?W():P(),I()]).filter(Boolean)},Ke=function(e){var t=l(e.size),n=-.25,r=-.49,i=.475,o=.69,s=-.675,a=-(s-n)*(o-n)/(i-r)+r;return[j(),e.color&&xe(e.color),B(e.thickness),z(e.x,e.y),U(s*t,a*t),H(n*t,r*t),H(o*t,i*t),W(),I()].filter(Boolean)},Xe=function(e){return 0===e.rotation?[z(0,0),E(0)]:90===e.rotation?[z(e.width,0),E(90)]:180===e.rotation?[z(e.width,e.height),E(180)]:270===e.rotation?[z(0,e.height),E(270)]:[]},Ye=function(e){var t=Pe({x:e.x,y:e.y,width:e.width,height:e.height,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:h(0),xSkew:h(0),ySkew:h(0)});if(!e.filled)return t;var n=l(e.width),r=l(e.height),o=Math.min(n,r)/2,s=Ke({x:n/2,y:r/2,size:o,thickness:e.thickness,color:e.markColor});return Object(i["f"])([j()],t,s,[I()])},Ze=function(e){var t=l(e.width),n=l(e.height),r=Math.min(t,n)/2,o=Ve({x:e.x,y:e.y,xScale:r,yScale:r,color:e.color,borderColor:e.borderColor,borderWidth:e.borderWidth});if(!e.filled)return o;var s=Ve({x:e.x,y:e.y,xScale:.45*r,yScale:.45*r,color:e.dotColor,borderColor:void 0,borderWidth:0});return Object(i["f"])([j()],o,s,[I()])},Je=function(e){var t=l(e.x),n=l(e.y),r=l(e.width),o=l(e.height),s=Pe({x:t,y:n,width:r,height:o,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:h(0),xSkew:h(0),ySkew:h(0)}),a=Qe(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:h(0),xSkew:h(0),ySkew:h(0)});return Object(i["f"])([j()],s,a,[I()])},Qe=function(e,t){for(var n=[Z(),ve(t.color),Q(t.font,t.size)],r=0,i=e.length;r<i;r++){var o=e[r],s=o.encoded,a=o.x,l=o.y;n.push(ne(g(t.rotate),g(t.xSkew),g(t.ySkew),a,l),Y(s))}return n.push(J()),n},$e=function(e){var t=l(e.x),n=l(e.y),r=l(e.width),o=l(e.height),s=l(e.borderWidth),a=l(e.padding),c=t+s/2+a,u=n+s/2+a,d=r-2*(s/2+a),f=o-2*(s/2+a),p=[U(c,u),H(c,u+f),H(c+d,u+f),H(c+d,u),P(),w(),K()],m=Pe({x:t,y:n,width:r,height:o,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:h(0),xSkew:h(0),ySkew:h(0)}),g=Qe(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:h(0),xSkew:h(0),ySkew:h(0)}),b=Object(i["f"])([ue("Tx"),j()],g,[I(),he()]);return Object(i["f"])([j()],m,p,b,[I()])},et=function(e){for(var t=l(e.x),n=l(e.y),r=l(e.width),o=l(e.height),s=l(e.lineHeight),a=l(e.borderWidth),c=l(e.padding),u=t+a/2+c,d=n+a/2+c,f=r-2*(a/2+c),p=o-2*(a/2+c),m=[U(u,d),H(u,d+p),H(u+f,d+p),H(u+f,d),P(),w(),K()],g=Pe({x:t,y:n,width:r,height:o,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:h(0),xSkew:h(0),ySkew:h(0)}),b=[],y=0,v=e.selectedLines.length;y<v;y++){var x=e.textLines[e.selectedLines[y]];b.push.apply(b,Pe({x:x.x-c,y:x.y-(s-x.height)/2,width:r-a,height:x.height+(s-x.height)/2,borderWidth:0,color:e.selectedColor,borderColor:void 0,rotate:h(0),xSkew:h(0),ySkew:h(0)}))}var k=Qe(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:h(0),xSkew:h(0),ySkew:h(0)}),S=Object(i["f"])([ue("Tx"),j()],k,[I(),he()]);return Object(i["f"])([j()],g,b,m,S,[I()])},tt=function(e){function t(){var t=this,n="Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.";return t=e.call(this,n)||this,t}return Object(i["c"])(t,e),t}(Error),nt=function(e){function t(){var t=this,n="Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts.";return t=e.call(this,n)||this,t}return Object(i["c"])(t,e),t}(Error),rt=function(e){function t(){var t=this,n="A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them.";return t=e.call(this,n)||this,t}return Object(i["c"])(t,e),t}(Error),it=function(e){function t(){var t=this,n="PDFDocument has no pages so `PDFDocument.removePage` cannot be called";return t=e.call(this,n)||this,t}return Object(i["c"])(t,e),t}(Error),ot=function(e){function t(t){var n=this,r='PDFDocument has no form field with the name "'+t+'"';return n=e.call(this,r)||this,n}return Object(i["c"])(t,e),t}(Error),st=function(e){function t(t,n,r){var i,o,s=this,a=null===n||void 0===n?void 0:n.name,l=null!==(o=null===(i=null===r||void 0===r?void 0:r.constructor)||void 0===i?void 0:i.name)&&void 0!==o?o:r,c='Expected field "'+t+'" to be of type '+a+", but it is actually of type "+l;return s=e.call(this,c)||this,s}return Object(i["c"])(t,e),t}(Error),at=(function(e){function t(t){var n=this,r='Failed to select check box due to missing onValue: "'+t+'"';return n=e.call(this,r)||this,n}Object(i["c"])(t,e)}(Error),function(e){function t(t){var n=this,r='A field already exists with the specified name: "'+t+'"';return n=e.call(this,r)||this,n}return Object(i["c"])(t,e),t}(Error)),lt=function(e){function t(t){var n=this,r='Field name contains invalid component: "'+t+'"';return n=e.call(this,r)||this,n}return Object(i["c"])(t,e),t}(Error),ct=(function(e){function t(t){var n=this,r='A non-terminal field already exists with the specified name: "'+t+'"';return n=e.call(this,r)||this,n}Object(i["c"])(t,e)}(Error),function(e){function t(t){var n=this,r="Reading rich text fields is not supported: Attempted to read rich text field: "+t;return n=e.call(this,r)||this,n}return Object(i["c"])(t,e),t}(Error)),ut=function(e){function t(t,n){var r=this,i="Failed to layout combed text as lineLength="+t+" is greater than cellCount="+n;return r=e.call(this,i)||this,r}return Object(i["c"])(t,e),t}(Error),ht=function(e){function t(t,n,r){var i=this,o="Attempted to set text with length="+t+" for TextField with maxLength="+n+" and name="+r;return i=e.call(this,o)||this,i}return Object(i["c"])(t,e),t}(Error),dt=function(e){function t(t,n,r){var i=this,o="Attempted to set maxLength="+n+", which is less than "+t+", the length of this field's current value (name="+r+")";return i=e.call(this,o)||this,i}return Object(i["c"])(t,e),t}(Error);(function(e){e[e["Left"]=0]="Left",e[e["Center"]=1]="Center",e[e["Right"]=2]="Right"})(de||(de={}));var ft,pt=4,mt=500,gt=function(e,t,n,r){void 0===r&&(r=!1);var i=pt;while(i<mt){for(var o=0,s=0,a=e.length;s<a;s++){o+=1;for(var l=e[s],c=l.split(" "),u=n.width,h=0,d=c.length;h<d;h++){var f=h===d-1,p=f?c[h]:c[h]+" ",m=t.widthOfTextAtSize(p,i);u-=m,u<=0&&(o+=1,u=n.width-m)}}if(!r&&o>e.length)return i-1;var g=t.heightAtSize(i),b=g+.2*g,y=b*o;if(y>Math.abs(n.height))return i-1;i+=1}return i},bt=function(e,t,n,r){var i=n.width/r,o=n.height,s=pt,a=Object(c["u"])(e);while(s<mt){for(var l=0,u=a.length;l<u;l++){var h=a[l],d=t.widthOfTextAtSize(h,s)>.75*i;if(d)return s-1}var f=t.heightAtSize(s,{descender:!1});if(f>o)return s-1;s+=1}return s},yt=function(e){for(var t=e.length;t>0;t--)if(/\s/.test(e[t]))return t},vt=function(e,t,n,r){var i,o=e.length;while(o>0){var s=e.substring(0,o),a=n.encodeText(s),l=n.widthOfTextAtSize(s,r);if(l<t){var c=e.substring(o)||void 0;return{line:s,encoded:a,width:l,remainder:c}}o=null!==(i=yt(s))&&void 0!==i?i:0}return{line:e,encoded:n.encodeText(e),width:n.widthOfTextAtSize(e,r),remainder:void 0}},xt=function(e,t){var n=t.alignment,r=t.fontSize,i=t.font,o=t.bounds,s=Object(c["D"])(Object(c["v"])(e));void 0!==r&&0!==r||(r=gt(s,i,o,!0));for(var a=i.heightAtSize(r),l=a+.2*a,u=[],h=o.x,d=o.y,f=o.x+o.width,p=o.y+o.height,m=o.y+o.height,g=0,b=s.length;g<b;g++){var y=s[g];while(void 0!==y){var v=vt(y,o.width,i,r),x=v.line,w=v.encoded,k=v.width,S=v.remainder,C=n===de.Left?o.x:n===de.Center?o.x+o.width/2-k/2:n===de.Right?o.x+o.width-k:o.x;m-=l,C<h&&(h=C),m<d&&(d=m),C+k>f&&(f=C+k),m+a>p&&(p=m+a),u.push({text:x,encoded:w,width:k,height:a,x:C,y:m}),y=null===S||void 0===S?void 0:S.trim()}}return{fontSize:r,lineHeight:l,lines:u,bounds:{x:h,y:d,width:f-h,height:p-d}}},wt=function(e,t){var n=t.fontSize,r=t.font,i=t.bounds,o=t.cellCount,s=Object(c["F"])(Object(c["v"])(e));if(s.length>o)throw new ut(s.length,o);void 0!==n&&0!==n||(n=bt(s,r,i,o));var a=i.width/o,l=r.heightAtSize(n,{descender:!1}),u=i.y+(i.height/2-l/2),h=[],d=i.x,f=i.y,p=i.x+i.width,m=i.y+i.height,g=0,b=0;while(g<o){var y=Object(c["r"])(s,b),v=y[0],x=y[1],w=r.encodeText(v),k=r.widthOfTextAtSize(v,n),S=i.x+(a*g+a/2),C=S-k/2;C<d&&(d=C),u<f&&(f=u),C+k>p&&(p=C+k),u+l>m&&(m=u+l),h.push({text:s,encoded:w,width:k,height:l,x:C,y:u}),g+=1,b+=x}return{fontSize:n,cells:h,bounds:{x:d,y:f,width:p-d,height:m-f}}},kt=function(e,t){var n=t.alignment,r=t.fontSize,i=t.font,o=t.bounds,s=Object(c["F"])(Object(c["v"])(e));void 0!==r&&0!==r||(r=gt([s],i,o));var a=i.encodeText(s),l=i.widthOfTextAtSize(s,r),u=i.heightAtSize(r,{descender:!1}),h=n===de.Left?o.x:n===de.Center?o.x+o.width/2-l/2:n===de.Right?o.x+o.width-l:o.x,d=o.y+(o.height/2-u/2);return{fontSize:r,line:{text:s,encoded:a,width:l,height:u,x:h,y:d},bounds:{x:h,y:d,width:l,height:u}}},St=function(e){return"normal"in e?e:{normal:e}},Ct=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,Tt=function(e){var t,n,r=null!==(t=e.getDefaultAppearance())&&void 0!==t?t:"",i=null!==(n=Object(c["z"])(r,Ct).match)&&void 0!==n?n:[],o=Number(i[2]);return isFinite(o)?o:void 0},zt=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,At=function(e){var t,n=null!==(t=e.getDefaultAppearance())&&void 0!==t?t:"",r=Object(c["z"])(n,zt).match,i=null!==r&&void 0!==r?r:[],o=i[1],s=i[2],a=i[3],l=i[4],u=i[5];return"g"===u&&o?fe(Number(o)):"rg"===u&&o&&s&&a?pe(Number(o),Number(s),Number(a)):"k"===u&&o&&s&&a&&l?me(Number(o),Number(s),Number(a),Number(l)):void 0},Ot=function(e,t,n,r){var i;void 0===r&&(r=0);var o=[ve(t).toString(),Q(null!==(i=null===n||void 0===n?void 0:n.name)&&void 0!==i?i:"dummy__noop",r).toString()].join("\n");e.setDefaultAppearance(o)},Et=function(e,t){var n,r,o,s=At(t),a=At(e.acroField),l=t.getRectangle(),c=t.getAppearanceCharacteristics(),u=t.getBorderStyle(),h=null!==(n=null===u||void 0===u?void 0:u.getWidth())&&void 0!==n?n:0,d=y(null===c||void 0===c?void 0:c.getRotation()),f=v(l,d),p=f.width,m=f.height,g=Xe(Object(i["a"])(Object(i["a"])({},l),{rotation:d})),b=pe(0,0,0),x=null!==(r=we(null===c||void 0===c?void 0:c.getBorderColor()))&&void 0!==r?r:b,w=we(null===c||void 0===c?void 0:c.getBackgroundColor()),k=we(null===c||void 0===c?void 0:c.getBackgroundColor(),.8),S=null!==(o=null!==s&&void 0!==s?s:a)&&void 0!==o?o:b;Ot(s?t:e.acroField,S);var C={x:0+h/2,y:0+h/2,width:p-h,height:m-h,thickness:1.5,borderWidth:h,borderColor:x,markColor:S};return{normal:{on:Object(i["f"])(g,Ye(Object(i["a"])(Object(i["a"])({},C),{color:w,filled:!0}))),off:Object(i["f"])(g,Ye(Object(i["a"])(Object(i["a"])({},C),{color:w,filled:!1})))},down:{on:Object(i["f"])(g,Ye(Object(i["a"])(Object(i["a"])({},C),{color:k,filled:!0}))),off:Object(i["f"])(g,Ye(Object(i["a"])(Object(i["a"])({},C),{color:k,filled:!1})))}}},Mt=function(e,t){var n,r,o,s=At(t),a=At(e.acroField),l=t.getRectangle(),c=t.getAppearanceCharacteristics(),u=t.getBorderStyle(),h=null!==(n=null===u||void 0===u?void 0:u.getWidth())&&void 0!==n?n:0,d=y(null===c||void 0===c?void 0:c.getRotation()),f=v(l,d),p=f.width,m=f.height,g=Xe(Object(i["a"])(Object(i["a"])({},l),{rotation:d})),b=pe(0,0,0),x=null!==(r=we(null===c||void 0===c?void 0:c.getBorderColor()))&&void 0!==r?r:b,w=we(null===c||void 0===c?void 0:c.getBackgroundColor()),k=we(null===c||void 0===c?void 0:c.getBackgroundColor(),.8),S=null!==(o=null!==s&&void 0!==s?s:a)&&void 0!==o?o:b;Ot(s?t:e.acroField,S);var C={x:p/2,y:m/2,width:p-h,height:m-h,borderWidth:h,borderColor:x,dotColor:S};return{normal:{on:Object(i["f"])(g,Ze(Object(i["a"])(Object(i["a"])({},C),{color:w,filled:!0}))),off:Object(i["f"])(g,Ze(Object(i["a"])(Object(i["a"])({},C),{color:w,filled:!1})))},down:{on:Object(i["f"])(g,Ze(Object(i["a"])(Object(i["a"])({},C),{color:k,filled:!0}))),off:Object(i["f"])(g,Ze(Object(i["a"])(Object(i["a"])({},C),{color:k,filled:!1})))}}},Nt=function(e,t,n){var r,o,s,a,l,c=At(t),u=At(e.acroField),h=Tt(t),d=Tt(e.acroField),f=t.getRectangle(),p=t.getAppearanceCharacteristics(),m=t.getBorderStyle(),g=null===p||void 0===p?void 0:p.getCaptions(),b=null!==(r=null===g||void 0===g?void 0:g.normal)&&void 0!==r?r:"",x=null!==(s=null!==(o=null===g||void 0===g?void 0:g.down)&&void 0!==o?o:b)&&void 0!==s?s:"",w=null!==(a=null===m||void 0===m?void 0:m.getWidth())&&void 0!==a?a:0,k=y(null===p||void 0===p?void 0:p.getRotation()),S=v(f,k),C=S.width,T=S.height,z=Xe(Object(i["a"])(Object(i["a"])({},f),{rotation:k})),A=pe(0,0,0),O=we(null===p||void 0===p?void 0:p.getBorderColor()),E=we(null===p||void 0===p?void 0:p.getBackgroundColor()),M=we(null===p||void 0===p?void 0:p.getBackgroundColor(),.8),N={x:w,y:w,width:C-2*w,height:T-2*w},R=kt(b,{alignment:de.Center,fontSize:null!==h&&void 0!==h?h:d,font:n,bounds:N}),L=kt(x,{alignment:de.Center,fontSize:null!==h&&void 0!==h?h:d,font:n,bounds:N}),D=Math.min(R.fontSize,L.fontSize),F=null!==(l=null!==c&&void 0!==c?c:u)&&void 0!==l?l:A;Ot(c||void 0!==h?t:e.acroField,F,n,D);var j={x:0+w/2,y:0+w/2,width:C-w,height:T-w,borderWidth:w,borderColor:O,textColor:F,font:n.name,fontSize:D};return{normal:Object(i["f"])(z,Je(Object(i["a"])(Object(i["a"])({},j),{color:E,textLines:[R.line]}))),down:Object(i["f"])(z,Je(Object(i["a"])(Object(i["a"])({},j),{color:M,textLines:[L.line]})))}},Rt=function(e,t,n){var r,o,s,a,l,c,u=At(t),h=At(e.acroField),d=Tt(t),f=Tt(e.acroField),p=t.getRectangle(),m=t.getAppearanceCharacteristics(),g=t.getBorderStyle(),b=null!==(r=e.getText())&&void 0!==r?r:"",x=null!==(o=null===g||void 0===g?void 0:g.getWidth())&&void 0!==o?o:0,w=y(null===m||void 0===m?void 0:m.getRotation()),k=v(p,w),S=k.width,C=k.height,T=Xe(Object(i["a"])(Object(i["a"])({},p),{rotation:w})),z=pe(0,0,0),A=we(null===m||void 0===m?void 0:m.getBorderColor()),O=we(null===m||void 0===m?void 0:m.getBackgroundColor()),E=e.isCombed()?0:1,M={x:x+E,y:x+E,width:S-2*(x+E),height:C-2*(x+E)};if(e.isMultiline()){var N=xt(b,{alignment:e.getAlignment(),fontSize:null!==d&&void 0!==d?d:f,font:n,bounds:M});l=N.lines,c=N.fontSize}else if(e.isCombed()){N=wt(b,{fontSize:null!==d&&void 0!==d?d:f,font:n,bounds:M,cellCount:null!==(s=e.getMaxLength())&&void 0!==s?s:0});l=N.cells,c=N.fontSize}else{N=kt(b,{alignment:e.getAlignment(),fontSize:null!==d&&void 0!==d?d:f,font:n,bounds:M});l=[N.line],c=N.fontSize}var R=null!==(a=null!==u&&void 0!==u?u:h)&&void 0!==a?a:z;Ot(u||void 0!==d?t:e.acroField,R,n,c);var L={x:0+x/2,y:0+x/2,width:S-x,height:C-x,borderWidth:null!==x&&void 0!==x?x:0,borderColor:A,textColor:R,font:n.name,fontSize:c,color:O,textLines:l,padding:E};return Object(i["f"])(T,$e(L))},Lt=function(e,t,n){var r,o,s,a=At(t),l=At(e.acroField),c=Tt(t),u=Tt(e.acroField),h=t.getRectangle(),d=t.getAppearanceCharacteristics(),f=t.getBorderStyle(),p=null!==(r=e.getSelected()[0])&&void 0!==r?r:"",m=null!==(o=null===f||void 0===f?void 0:f.getWidth())&&void 0!==o?o:0,g=y(null===d||void 0===d?void 0:d.getRotation()),b=v(h,g),x=b.width,w=b.height,k=Xe(Object(i["a"])(Object(i["a"])({},h),{rotation:g})),S=pe(0,0,0),C=we(null===d||void 0===d?void 0:d.getBorderColor()),T=we(null===d||void 0===d?void 0:d.getBackgroundColor()),z=1,A={x:m+z,y:m+z,width:x-2*(m+z),height:w-2*(m+z)},O=kt(p,{alignment:de.Left,fontSize:null!==c&&void 0!==c?c:u,font:n,bounds:A}),E=O.line,M=O.fontSize,N=null!==(s=null!==a&&void 0!==a?a:l)&&void 0!==s?s:S;Ot(a||void 0!==c?t:e.acroField,N,n,M);var R={x:0+m/2,y:0+m/2,width:x-m,height:w-m,borderWidth:null!==m&&void 0!==m?m:0,borderColor:C,textColor:N,font:n.name,fontSize:M,color:T,textLines:[E],padding:z};return Object(i["f"])(k,$e(R))},Dt=function(e,t,n){var r,o,s=At(t),a=At(e.acroField),l=Tt(t),c=Tt(e.acroField),u=t.getRectangle(),h=t.getAppearanceCharacteristics(),d=t.getBorderStyle(),f=null!==(r=null===d||void 0===d?void 0:d.getWidth())&&void 0!==r?r:0,p=y(null===h||void 0===h?void 0:h.getRotation()),m=v(u,p),g=m.width,b=m.height,x=Xe(Object(i["a"])(Object(i["a"])({},u),{rotation:p})),w=pe(0,0,0),k=we(null===h||void 0===h?void 0:h.getBorderColor()),S=we(null===h||void 0===h?void 0:h.getBackgroundColor()),C=e.getOptions(),T=e.getSelected();e.isSorted()&&C.sort();for(var z="",A=0,O=C.length;A<O;A++)z+=C[A],A<O-1&&(z+="\n");var E=1,M={x:f+E,y:f+E,width:g-2*(f+E),height:b-2*(f+E)},N=xt(z,{alignment:de.Left,fontSize:null!==l&&void 0!==l?l:c,font:n,bounds:M}),R=N.lines,L=N.fontSize,D=N.lineHeight,F=[];for(A=0,O=R.length;A<O;A++){var j=R[A];T.includes(j.text)&&F.push(A)}var I=pe(.6,193/255,218/255),B=null!==(o=null!==s&&void 0!==s?s:a)&&void 0!==o?o:w;return Ot(s||void 0!==l?t:e.acroField,B,n,L),Object(i["f"])(x,et({x:0+f/2,y:0+f/2,width:g-f,height:b-f,borderWidth:null!==f&&void 0!==f?f:0,borderColor:k,textColor:B,font:n.name,fontSize:L,color:S,textLines:R,lineHeight:D,selectedColor:I,selectedLines:F,padding:E}))},Ft=function(){function e(e,t,n){this.alreadyEmbedded=!1,Object(c["e"])(e,"ref",[[o["I"],"PDFRef"]]),Object(c["e"])(t,"doc",[[wn,"PDFDocument"]]),Object(c["e"])(n,"embedder",[[o["E"],"PDFPageEmbedder"]]),this.ref=e,this.doc=t,this.width=n.width,this.height=n.height,this.embedder=n}return e.prototype.scale=function(e){return Object(c["e"])(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return Object(i["b"])(this,void 0,void 0,(function(){return Object(i["d"])(this,(function(e){switch(e.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e.sent(),this.alreadyEmbedded=!0,e.label=2;case 2:return[2]}}))}))},e.of=function(t,n,r){return new e(t,n,r)},e}(),jt=Ft,It=function(){function e(e,t,n){this.modified=!0,Object(c["e"])(e,"ref",[[o["I"],"PDFRef"]]),Object(c["e"])(t,"doc",[[wn,"PDFDocument"]]),Object(c["e"])(n,"embedder",[[o["f"],"CustomFontEmbedder"],[o["Q"],"StandardFontEmbedder"]]),this.ref=e,this.doc=t,this.name=n.fontName,this.embedder=n}return e.prototype.encodeText=function(e){return Object(c["e"])(e,"text",["string"]),this.modified=!0,this.embedder.encodeText(e)},e.prototype.widthOfTextAtSize=function(e,t){return Object(c["e"])(e,"text",["string"]),Object(c["e"])(t,"size",["number"]),this.embedder.widthOfTextAtSize(e,t)},e.prototype.heightAtSize=function(e,t){var n;return Object(c["e"])(e,"size",["number"]),Object(c["j"])(null===t||void 0===t?void 0:t.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(e,{descender:null===(n=null===t||void 0===t?void 0:t.descender)||void 0===n||n})},e.prototype.sizeAtHeight=function(e){return Object(c["e"])(e,"height",["number"]),this.embedder.sizeOfFontAtHeight(e)},e.prototype.getCharacterSet=function(){return this.embedder instanceof o["Q"]?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},e.prototype.embed=function(){return Object(i["b"])(this,void 0,void 0,(function(){return Object(i["d"])(this,(function(e){switch(e.label){case 0:return this.modified?[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]:[3,2];case 1:e.sent(),this.modified=!1,e.label=2;case 2:return[2]}}))}))},e.of=function(t,n,r){return new e(t,n,r)},e}(),Bt=It,_t=function(){function e(e,t,n){Object(c["e"])(e,"ref",[[o["I"],"PDFRef"]]),Object(c["e"])(t,"doc",[[wn,"PDFDocument"]]),Object(c["e"])(n,"embedder",[[o["h"],"JpegEmbedder"],[o["P"],"PngEmbedder"]]),this.ref=e,this.doc=t,this.width=n.width,this.height=n.height,this.embedder=n}return e.prototype.scale=function(e){return Object(c["e"])(e,"factor",["number"]),{width:this.width*e,height:this.height*e}},e.prototype.scaleToFit=function(e,t){Object(c["e"])(e,"width",["number"]),Object(c["e"])(t,"height",["number"]);var n=e/this.width,r=t/this.height,i=Math.min(n,r);return this.scale(i)},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return Object(i["b"])(this,void 0,void 0,(function(){var e,t,n;return Object(i["d"])(this,(function(r){switch(r.label){case 0:return this.embedder?(this.embedTask||(e=this,t=e.doc,n=e.ref,this.embedTask=this.embedder.embedIntoContext(t.context,n)),[4,this.embedTask]):[2];case 1:return r.sent(),this.embedder=void 0,[2]}}))}))},e.of=function(t,n,r){return new e(t,n,r)},e}(),qt=_t;(function(e){e[e["Left"]=0]="Left",e[e["Center"]=1]="Center",e[e["Right"]=2]="Right"})(ft||(ft={}));var Pt,Ut=function(e){Object(c["j"])(null===e||void 0===e?void 0:e.x,"options.x",["number"]),Object(c["j"])(null===e||void 0===e?void 0:e.y,"options.y",["number"]),Object(c["j"])(null===e||void 0===e?void 0:e.width,"options.width",["number"]),Object(c["j"])(null===e||void 0===e?void 0:e.height,"options.height",["number"]),Object(c["j"])(null===e||void 0===e?void 0:e.textColor,"options.textColor",[[Object,"Color"]]),Object(c["j"])(null===e||void 0===e?void 0:e.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),Object(c["j"])(null===e||void 0===e?void 0:e.borderColor,"options.borderColor",[[Object,"Color"]]),Object(c["j"])(null===e||void 0===e?void 0:e.borderWidth,"options.borderWidth",["number"]),Object(c["j"])(null===e||void 0===e?void 0:e.rotate,"options.rotate",[[Object,"Rotation"]])},Ht=function(){function e(e,t,n){Object(c["e"])(e,"acroField",[[o["r"],"PDFAcroTerminal"]]),Object(c["e"])(t,"ref",[[o["I"],"PDFRef"]]),Object(c["e"])(n,"doc",[[wn,"PDFDocument"]]),this.acroField=e,this.ref=t,this.doc=n}return e.prototype.getName=function(){var e;return null!==(e=this.acroField.getFullyQualifiedName())&&void 0!==e?e:""},e.prototype.isReadOnly=function(){return this.acroField.hasFlag(o["c"].ReadOnly)},e.prototype.enableReadOnly=function(){this.acroField.setFlagTo(o["c"].ReadOnly,!0)},e.prototype.disableReadOnly=function(){this.acroField.setFlagTo(o["c"].ReadOnly,!1)},e.prototype.isRequired=function(){return this.acroField.hasFlag(o["c"].Required)},e.prototype.enableRequired=function(){this.acroField.setFlagTo(o["c"].Required,!0)},e.prototype.disableRequired=function(){this.acroField.setFlagTo(o["c"].Required,!1)},e.prototype.isExported=function(){return!this.acroField.hasFlag(o["c"].NoExport)},e.prototype.enableExporting=function(){this.acroField.setFlagTo(o["c"].NoExport,!1)},e.prototype.disableExporting=function(){this.acroField.setFlagTo(o["c"].NoExport,!0)},e.prototype.needsAppearancesUpdate=function(){throw new o["i"](this.constructor.name,"needsAppearancesUpdate")},e.prototype.defaultUpdateAppearances=function(e){throw new o["i"](this.constructor.name,"defaultUpdateAppearances")},e.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},e.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},e.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},e.prototype.createWidget=function(e){var t,n=e.textColor,r=e.backgroundColor,i=e.borderColor,s=e.borderWidth,a=b(e.rotate),l=e.caption,u=e.x,h=e.y,d=e.width+s,f=e.height+s,p=Boolean(e.hidden),m=e.page;Object(c["i"])(a,"degreesAngle",90);var g=o["M"].create(this.doc.context,this.ref),y=x({x:u,y:h,width:d,height:f},s,a);g.setRectangle(y),m&&g.setP(m);var v=g.getOrCreateAppearanceCharacteristics();r&&v.setBackgroundColor(ke(r)),v.setRotation(a),l&&v.setCaptions({normal:l}),i&&v.setBorderColor(ke(i));var w=g.getOrCreateBorderStyle();if(void 0!==s&&w.setWidth(s),g.setFlagTo(o["e"].Print,!0),g.setFlagTo(o["e"].Hidden,p),g.setFlagTo(o["e"].Invisible,!1),n){var k=null!==(t=this.acroField.getDefaultAppearance())&&void 0!==t?t:"",S=k+"\n"+ve(n).toString();this.acroField.setDefaultAppearance(S)}return g},e.prototype.updateWidgetAppearanceWithFont=function(e,t,n){var r=n.normal,i=n.rollover,o=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceStream(e,r,t),rollover:i&&this.createAppearanceStream(e,i,t),down:o&&this.createAppearanceStream(e,o,t)})},e.prototype.updateOnOffWidgetAppearance=function(e,t,n){var r=n.normal,i=n.rollover,o=n.down;this.updateWidgetAppearances(e,{normal:this.createAppearanceDict(e,r,t),rollover:i&&this.createAppearanceDict(e,i,t),down:o&&this.createAppearanceDict(e,o,t)})},e.prototype.updateWidgetAppearances=function(e,t){var n=t.normal,r=t.rollover,i=t.down;e.setNormalAppearance(n),r?e.setRolloverAppearance(r):e.removeRolloverAppearance(),i?e.setDownAppearance(i):e.removeDownAppearance()},e.prototype.createAppearanceStream=function(e,t,n){var r,i=this.acroField.dict.context,o=e.getRectangle(),s=o.width,a=o.height,l=n&&{Font:(r={},r[n.name]=n.ref,r)},c=i.formXObject(t,{Resources:l,BBox:i.obj([0,0,s,a]),Matrix:i.obj([1,0,0,1,0,0])}),u=i.register(c);return u},e.prototype.createImageAppearanceStream=function(e,t,n){var r,o,s=this.acroField.dict.context,a=e.getRectangle(),l=e.getAppearanceCharacteristics(),c=e.getBorderStyle(),u=null!==(o=null===c||void 0===c?void 0:c.getWidth())&&void 0!==o?o:0,d=y(null===l||void 0===l?void 0:l.getRotation()),f=Xe(Object(i["a"])(Object(i["a"])({},a),{rotation:d})),p=v(a,d),m=t.scaleToFit(p.width-2*u,p.height-2*u),g={x:u,y:u,width:m.width,height:m.height,rotate:h(0),xSkew:h(0),ySkew:h(0)};n===ft.Center?(g.x+=(p.width-2*u)/2-m.width/2,g.y+=(p.height-2*u)/2-m.height/2):n===ft.Right&&(g.x=p.width-u-m.width,g.y=p.height-u-m.height);var b=this.doc.context.addRandomSuffix("Image",10),x=Object(i["f"])(f,Be(b,g)),w={XObject:(r={},r[b]=t.ref,r)},k=s.formXObject(x,{Resources:w,BBox:s.obj([0,0,a.width,a.height]),Matrix:s.obj([1,0,0,1,0,0])});return s.register(k)},e.prototype.createAppearanceDict=function(e,t,n){var r=this.acroField.dict.context,i=this.createAppearanceStream(e,t.on),s=this.createAppearanceStream(e,t.off),a=r.obj({});return a.set(n,i),a.set(o["z"].of("Off"),s),a},e}(),Wt=Ht,Vt=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return Object(c["e"])(t,"acroCheckBox",[[o["j"],"PDFAcroCheckBox"]]),i.acroField=t,i}return Object(i["c"])(t,e),t.prototype.check=function(){var e,t=null!==(e=this.acroField.getOnValue())&&void 0!==e?e:o["z"].of("Yes");this.markAsDirty(),this.acroField.setValue(t)},t.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(o["z"].of("Off"))},t.prototype.isChecked=function(){var e=this.acroField.getOnValue();return!!e&&e===this.acroField.getValue()},t.prototype.addToPage=function(e,t){var n,r,i,s,a,l;Object(c["e"])(e,"page",[[Cn,"PDFPage"]]),Ut(t),t||(t={}),"textColor"in t||(t.textColor=pe(0,0,0)),"backgroundColor"in t||(t.backgroundColor=pe(1,1,1)),"borderColor"in t||(t.borderColor=pe(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var u=this.createWidget({x:null!==(n=t.x)&&void 0!==n?n:0,y:null!==(r=t.y)&&void 0!==r?r:0,width:null!==(i=t.width)&&void 0!==i?i:50,height:null!==(s=t.height)&&void 0!==s?s:50,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!==(a=t.borderWidth)&&void 0!==a?a:0,rotate:null!==(l=t.rotate)&&void 0!==l?l:h(0),hidden:t.hidden,page:e.ref}),d=this.doc.context.register(u.dict);this.acroField.addWidget(d),u.setAppearanceState(o["z"].of("Off")),this.updateWidgetAppearance(u,o["z"].of("Yes")),e.node.addAnnot(d)},t.prototype.needsAppearancesUpdate=function(){for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],s=i.getAppearanceState(),a=null===(e=i.getAppearances())||void 0===e?void 0:e.normal;if(!(a instanceof o["x"]))return!0;if(s&&!a.has(s))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(e){var t;Object(c["j"])(e,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var s=n[r],a=null!==(t=s.getOnValue())&&void 0!==t?t:o["z"].of("Yes");a&&this.updateWidgetAppearance(s,a,e)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=null!==n&&void 0!==n?n:Et,i=St(r(this,e));this.updateOnOffWidgetAppearance(e,t,i)},t.of=function(e,n,r){return new t(e,n,r)},t}(Wt),Gt=Vt,Kt=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return Object(c["e"])(t,"acroComboBox",[[o["k"],"PDFAcroComboBox"]]),i.acroField=t,i}return Object(i["c"])(t,e),t.prototype.getOptions=function(){for(var e=this.acroField.getOptions(),t=new Array(e.length),n=0,r=t.length;n<r;n++){var i=e[n],o=i.display,s=i.value;t[n]=(null!==o&&void 0!==o?o:s).decodeText()}return t},t.prototype.getSelected=function(){for(var e=this.acroField.getValues(),t=new Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e[n].decodeText();return t},t.prototype.setOptions=function(e){Object(c["e"])(e,"options",[Array]);for(var t=new Array(e.length),n=0,r=e.length;n<r;n++)t[n]={value:o["y"].fromText(e[n])};this.acroField.setOptions(t)},t.prototype.addOptions=function(e){Object(c["e"])(e,"options",["string",Array]);for(var t=Array.isArray(e)?e:[e],n=this.acroField.getOptions(),r=new Array(t.length),i=0,s=t.length;i<s;i++)r[i]={value:o["y"].fromText(t[i])};this.acroField.setOptions(n.concat(r))},t.prototype.select=function(e,t){void 0===t&&(t=!1),Object(c["e"])(e,"options",["string",Array]),Object(c["e"])(t,"merge",["boolean"]);var n=Array.isArray(e)?e:[e],r=this.getOptions(),i=n.find((function(e){return!r.includes(e)}));i&&this.enableEditing(),this.markAsDirty(),(n.length>1||1===n.length&&t)&&this.enableMultiselect();for(var s=new Array(n.length),a=0,l=n.length;a<l;a++)s[a]=o["y"].fromText(n[a]);if(t){var u=this.acroField.getValues();this.acroField.setValues(u.concat(s))}else this.acroField.setValues(s)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(e){Object(c["k"])(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isEditable=function(){return this.acroField.hasFlag(o["b"].Edit)},t.prototype.enableEditing=function(){this.acroField.setFlagTo(o["b"].Edit,!0)},t.prototype.disableEditing=function(){this.acroField.setFlagTo(o["b"].Edit,!1)},t.prototype.isSorted=function(){return this.acroField.hasFlag(o["b"].Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(o["b"].Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(o["b"].Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(o["b"].MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(o["b"].MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(o["b"].MultiSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(o["b"].DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(o["b"].DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(o["b"].DoNotSpellCheck,!0)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(o["b"].CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(o["b"].CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(o["b"].CommitOnSelChange,!1)},t.prototype.addToPage=function(e,t){var n,r,i,o,s,a,l;Object(c["e"])(e,"page",[[Cn,"PDFPage"]]),Ut(t),t||(t={}),"textColor"in t||(t.textColor=pe(0,0,0)),"backgroundColor"in t||(t.backgroundColor=pe(1,1,1)),"borderColor"in t||(t.borderColor=pe(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var u=this.createWidget({x:null!==(n=t.x)&&void 0!==n?n:0,y:null!==(r=t.y)&&void 0!==r?r:0,width:null!==(i=t.width)&&void 0!==i?i:200,height:null!==(o=t.height)&&void 0!==o?o:50,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!==(s=t.borderWidth)&&void 0!==s?s:0,rotate:null!==(a=t.rotate)&&void 0!==a?a:h(0),hidden:t.hidden,page:e.ref}),d=this.doc.context.register(u.dict);this.acroField.addWidget(d);var f=null!==(l=t.font)&&void 0!==l?l:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(u,f),e.node.addAnnot(d)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],s=(null===(e=i.getAppearances())||void 0===e?void 0:e.normal)instanceof o["J"];if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),Object(c["j"])(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var o=n[r];this.updateWidgetAppearance(o,e,t)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=null!==n&&void 0!==n?n:Lt,i=St(r(this,e,t));this.updateWidgetAppearanceWithFont(e,t,i)},t.of=function(e,n,r){return new t(e,n,r)},t}(Wt),Xt=Kt,Yt=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return Object(c["e"])(t,"acroListBox",[[o["m"],"PDFAcroListBox"]]),i.acroField=t,i}return Object(i["c"])(t,e),t.prototype.getOptions=function(){for(var e=this.acroField.getOptions(),t=new Array(e.length),n=0,r=t.length;n<r;n++){var i=e[n],o=i.display,s=i.value;t[n]=(null!==o&&void 0!==o?o:s).decodeText()}return t},t.prototype.getSelected=function(){for(var e=this.acroField.getValues(),t=new Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e[n].decodeText();return t},t.prototype.setOptions=function(e){Object(c["e"])(e,"options",[Array]),this.markAsDirty();for(var t=new Array(e.length),n=0,r=e.length;n<r;n++)t[n]={value:o["y"].fromText(e[n])};this.acroField.setOptions(t)},t.prototype.addOptions=function(e){Object(c["e"])(e,"options",["string",Array]),this.markAsDirty();for(var t=Array.isArray(e)?e:[e],n=this.acroField.getOptions(),r=new Array(t.length),i=0,s=t.length;i<s;i++)r[i]={value:o["y"].fromText(t[i])};this.acroField.setOptions(n.concat(r))},t.prototype.select=function(e,t){void 0===t&&(t=!1),Object(c["e"])(e,"options",["string",Array]),Object(c["e"])(t,"merge",["boolean"]);var n=Array.isArray(e)?e:[e],r=this.getOptions();Object(c["h"])(n,"option",r),this.markAsDirty(),(n.length>1||1===n.length&&t)&&this.enableMultiselect();for(var i=new Array(n.length),s=0,a=n.length;s<a;s++)i[s]=o["y"].fromText(n[s]);if(t){var l=this.acroField.getValues();this.acroField.setValues(l.concat(i))}else this.acroField.setValues(i)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(e){Object(c["k"])(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isSorted=function(){return this.acroField.hasFlag(o["b"].Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(o["b"].Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(o["b"].Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(o["b"].MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(o["b"].MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(o["b"].MultiSelect,!1)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(o["b"].CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(o["b"].CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(o["b"].CommitOnSelChange,!1)},t.prototype.addToPage=function(e,t){var n,r,i,o,s,a,l;Object(c["e"])(e,"page",[[Cn,"PDFPage"]]),Ut(t),t||(t={}),"textColor"in t||(t.textColor=pe(0,0,0)),"backgroundColor"in t||(t.backgroundColor=pe(1,1,1)),"borderColor"in t||(t.borderColor=pe(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var u=this.createWidget({x:null!==(n=t.x)&&void 0!==n?n:0,y:null!==(r=t.y)&&void 0!==r?r:0,width:null!==(i=t.width)&&void 0!==i?i:200,height:null!==(o=t.height)&&void 0!==o?o:100,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!==(s=t.borderWidth)&&void 0!==s?s:0,rotate:null!==(a=t.rotate)&&void 0!==a?a:h(0),hidden:t.hidden,page:e.ref}),d=this.doc.context.register(u.dict);this.acroField.addWidget(d);var f=null!==(l=t.font)&&void 0!==l?l:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(u,f),e.node.addAnnot(d)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],s=(null===(e=i.getAppearances())||void 0===e?void 0:e.normal)instanceof o["J"];if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),Object(c["j"])(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var o=n[r];this.updateWidgetAppearance(o,e,t)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=null!==n&&void 0!==n?n:Dt,i=St(r(this,e,t));this.updateWidgetAppearanceWithFont(e,t,i)},t.of=function(e,n,r){return new t(e,n,r)},t}(Wt),Zt=Yt,Jt=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return Object(c["e"])(t,"acroRadioButton",[[o["p"],"PDFAcroRadioButton"]]),i.acroField=t,i}return Object(i["c"])(t,e),t.prototype.getOptions=function(){var e=this.acroField.getExportValues();if(e){for(var t=new Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e[n].decodeText();return t}var i=this.acroField.getOnValues(),o=new Array(i.length);for(n=0,r=o.length;n<r;n++)o[n]=i[n].decodeText();return o},t.prototype.getSelected=function(){var e=this.acroField.getValue();if(e!==o["z"].of("Off")){var t=this.acroField.getExportValues();if(t)for(var n=this.acroField.getOnValues(),r=0,i=n.length;r<i;r++)if(n[r]===e)return t[r].decodeText();return e.decodeText()}},t.prototype.select=function(e){Object(c["e"])(e,"option",["string"]);var t=this.getOptions();Object(c["f"])(e,"option",t),this.markAsDirty();var n=this.acroField.getOnValues(),r=this.acroField.getExportValues();if(r)for(var i=0,o=r.length;i<o;i++)r[i].decodeText()===e&&this.acroField.setValue(n[i]);else for(i=0,o=n.length;i<o;i++){var s=n[i];s.decodeText()===e&&this.acroField.setValue(s)}},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(o["z"].of("Off"))},t.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(o["a"].NoToggleToOff)},t.prototype.enableOffToggling=function(){this.acroField.setFlagTo(o["a"].NoToggleToOff,!1)},t.prototype.disableOffToggling=function(){this.acroField.setFlagTo(o["a"].NoToggleToOff,!0)},t.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(o["a"].RadiosInUnison)},t.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(o["a"].RadiosInUnison,!1)},t.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(o["a"].RadiosInUnison,!0)},t.prototype.addOptionToPage=function(e,t,n){var r,i,s,a,l,u,d,f,p;Object(c["e"])(e,"option",["string"]),Object(c["e"])(t,"page",[[Cn,"PDFPage"]]),Ut(n);var m=this.createWidget({x:null!==(r=null===n||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===n||void 0===n?void 0:n.y)&&void 0!==i?i:0,width:null!==(s=null===n||void 0===n?void 0:n.width)&&void 0!==s?s:50,height:null!==(a=null===n||void 0===n?void 0:n.height)&&void 0!==a?a:50,textColor:null!==(l=null===n||void 0===n?void 0:n.textColor)&&void 0!==l?l:pe(0,0,0),backgroundColor:null!==(u=null===n||void 0===n?void 0:n.backgroundColor)&&void 0!==u?u:pe(1,1,1),borderColor:null!==(d=null===n||void 0===n?void 0:n.borderColor)&&void 0!==d?d:pe(0,0,0),borderWidth:null!==(f=null===n||void 0===n?void 0:n.borderWidth)&&void 0!==f?f:1,rotate:null!==(p=null===n||void 0===n?void 0:n.rotate)&&void 0!==p?p:h(0),hidden:null===n||void 0===n?void 0:n.hidden,page:t.ref}),g=this.doc.context.register(m.dict),b=this.acroField.addWidgetWithOpt(g,o["y"].fromText(e),!this.isMutuallyExclusive());m.setAppearanceState(o["z"].of("Off")),this.updateWidgetAppearance(m,b),t.node.addAnnot(g)},t.prototype.needsAppearancesUpdate=function(){for(var e,t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],s=i.getAppearanceState(),a=null===(e=i.getAppearances())||void 0===e?void 0:e.normal;if(!(a instanceof o["x"]))return!0;if(s&&!a.has(s))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(e){Object(c["j"])(e,"provider",[Function]);for(var t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],o=i.getOnValue();o&&this.updateWidgetAppearance(i,o,e)}},t.prototype.updateWidgetAppearance=function(e,t,n){var r=null!==n&&void 0!==n?n:Mt,i=St(r(this,e));this.updateOnOffWidgetAppearance(e,t,i)},t.of=function(e,n,r){return new t(e,n,r)},t}(Wt),Qt=Jt,$t=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return Object(c["e"])(t,"acroSignature",[[o["q"],"PDFAcroSignature"]]),i.acroField=t,i}return Object(i["c"])(t,e),t.prototype.needsAppearancesUpdate=function(){return!1},t.of=function(e,n,r){return new t(e,n,r)},t}(Wt),en=$t,tn=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return Object(c["e"])(t,"acroText",[[o["s"],"PDFAcroText"]]),i.acroField=t,i}return Object(i["c"])(t,e),t.prototype.getText=function(){var e=this.acroField.getValue();if(!e&&this.isRichFormatted())throw new ct(this.getName());return null===e||void 0===e?void 0:e.decodeText()},t.prototype.setText=function(e){Object(c["j"])(e,"text",["string"]);var t=this.getMaxLength();if(void 0!==t&&e&&e.length>t)throw new ht(e.length,t,this.getName());this.markAsDirty(),this.disableRichFormatting(),e?this.acroField.setValue(o["y"].fromText(e)):this.acroField.removeValue()},t.prototype.getAlignment=function(){var e=this.acroField.getQuadding();return 0===e?de.Left:1===e?de.Center:2===e?de.Right:de.Left},t.prototype.setAlignment=function(e){Object(c["f"])(e,"alignment",de),this.markAsDirty(),this.acroField.setQuadding(e)},t.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},t.prototype.setMaxLength=function(e){if(Object(c["m"])(e,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),void 0===e)this.acroField.removeMaxLength();else{var t=this.getText();if(t&&t.length>e)throw new dt(t.length,e,this.getName());this.acroField.setMaxLength(e)}},t.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},t.prototype.setImage=function(e){for(var t=this.getAlignment(),n=t===de.Center?ft.Center:t===de.Right?ft.Right:ft.Left,r=this.acroField.getWidgets(),i=0,o=r.length;i<o;i++){var s=r[i],a=this.createImageAppearanceStream(s,e,n);this.updateWidgetAppearances(s,{normal:a})}this.markAsClean()},t.prototype.setFontSize=function(e){Object(c["k"])(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isMultiline=function(){return this.acroField.hasFlag(o["d"].Multiline)},t.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(o["d"].Multiline,!0)},t.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(o["d"].Multiline,!1)},t.prototype.isPassword=function(){return this.acroField.hasFlag(o["d"].Password)},t.prototype.enablePassword=function(){this.acroField.setFlagTo(o["d"].Password,!0)},t.prototype.disablePassword=function(){this.acroField.setFlagTo(o["d"].Password,!1)},t.prototype.isFileSelector=function(){return this.acroField.hasFlag(o["d"].FileSelect)},t.prototype.enableFileSelection=function(){this.acroField.setFlagTo(o["d"].FileSelect,!0)},t.prototype.disableFileSelection=function(){this.acroField.setFlagTo(o["d"].FileSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(o["d"].DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(o["d"].DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(o["d"].DoNotSpellCheck,!0)},t.prototype.isScrollable=function(){return!this.acroField.hasFlag(o["d"].DoNotScroll)},t.prototype.enableScrolling=function(){this.acroField.setFlagTo(o["d"].DoNotScroll,!1)},t.prototype.disableScrolling=function(){this.acroField.setFlagTo(o["d"].DoNotScroll,!0)},t.prototype.isCombed=function(){return this.acroField.hasFlag(o["d"].Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&void 0!==this.getMaxLength()},t.prototype.enableCombing=function(){if(void 0===this.getMaxLength()){var e="PDFTextFields must have a max length in order to be combed";console.warn(e)}this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(o["d"].Comb,!0)},t.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(o["d"].Comb,!1)},t.prototype.isRichFormatted=function(){return this.acroField.hasFlag(o["d"].RichText)},t.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(o["d"].RichText,!0)},t.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(o["d"].RichText,!1)},t.prototype.addToPage=function(e,t){var n,r,i,o,s,a,l;Object(c["e"])(e,"page",[[Cn,"PDFPage"]]),Ut(t),t||(t={}),"textColor"in t||(t.textColor=pe(0,0,0)),"backgroundColor"in t||(t.backgroundColor=pe(1,1,1)),"borderColor"in t||(t.borderColor=pe(0,0,0)),"borderWidth"in t||(t.borderWidth=1);var u=this.createWidget({x:null!==(n=t.x)&&void 0!==n?n:0,y:null!==(r=t.y)&&void 0!==r?r:0,width:null!==(i=t.width)&&void 0!==i?i:200,height:null!==(o=t.height)&&void 0!==o?o:50,textColor:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:null!==(s=t.borderWidth)&&void 0!==s?s:0,rotate:null!==(a=t.rotate)&&void 0!==a?a:h(0),hidden:t.hidden,page:e.ref}),d=this.doc.context.register(u.dict);this.acroField.addWidget(d);var f=null!==(l=t.font)&&void 0!==l?l:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(u,f),e.node.addAnnot(d)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],s=(null===(e=i.getAppearances())||void 0===e?void 0:e.normal)instanceof o["J"];if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),Object(c["j"])(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var o=n[r];this.updateWidgetAppearance(o,e,t)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,t,n){var r=null!==n&&void 0!==n?n:Rt,i=St(r(this,e,t));this.updateWidgetAppearanceWithFont(e,t,i)},t.of=function(e,n,r){return new t(e,n,r)},t}(Wt),nn=tn;(function(e){e["Courier"]="Courier",e["CourierBold"]="Courier-Bold",e["CourierOblique"]="Courier-Oblique",e["CourierBoldOblique"]="Courier-BoldOblique",e["Helvetica"]="Helvetica",e["HelveticaBold"]="Helvetica-Bold",e["HelveticaOblique"]="Helvetica-Oblique",e["HelveticaBoldOblique"]="Helvetica-BoldOblique",e["TimesRoman"]="Times-Roman",e["TimesRomanBold"]="Times-Bold",e["TimesRomanItalic"]="Times-Italic",e["TimesRomanBoldItalic"]="Times-BoldItalic",e["Symbol"]="Symbol",e["ZapfDingbats"]="ZapfDingbats"})(Pt||(Pt={}));var rn,on=function(){function e(e,t){var n=this;this.embedDefaultFont=function(){return n.doc.embedStandardFont(Pt.Helvetica)},Object(c["e"])(e,"acroForm",[[o["l"],"PDFAcroForm"]]),Object(c["e"])(t,"doc",[[wn,"PDFDocument"]]),this.acroForm=e,this.doc=t,this.dirtyFields=new Set,this.defaultFontCache=c["a"].populatedBy(this.embedDefaultFont)}return e.prototype.hasXFA=function(){return this.acroForm.dict.has(o["z"].of("XFA"))},e.prototype.deleteXFA=function(){this.acroForm.dict.delete(o["z"].of("XFA"))},e.prototype.getFields=function(){for(var e=this.acroForm.getAllFields(),t=[],n=0,r=e.length;n<r;n++){var i=e[n],o=i[0],s=i[1],a=an(o,s,this.doc);a&&t.push(a)}return t},e.prototype.getFieldMaybe=function(e){Object(c["e"])(e,"name",["string"]);for(var t=this.getFields(),n=0,r=t.length;n<r;n++){var i=t[n];if(i.getName()===e)return i}},e.prototype.getField=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getFieldMaybe(e);if(t)return t;throw new ot(e)},e.prototype.getButton=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getField(e);if(t instanceof zn)return t;throw new st(e,zn,t)},e.prototype.getCheckBox=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getField(e);if(t instanceof Gt)return t;throw new st(e,Gt,t)},e.prototype.getDropdown=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getField(e);if(t instanceof Xt)return t;throw new st(e,Xt,t)},e.prototype.getOptionList=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getField(e);if(t instanceof Zt)return t;throw new st(e,Zt,t)},e.prototype.getRadioGroup=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getField(e);if(t instanceof Qt)return t;throw new st(e,Qt,t)},e.prototype.getSignature=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getField(e);if(t instanceof en)return t;throw new st(e,en,t)},e.prototype.getTextField=function(e){Object(c["e"])(e,"name",["string"]);var t=this.getField(e);if(t instanceof nn)return t;throw new st(e,nn,t)},e.prototype.createButton=function(e){Object(c["e"])(e,"name",["string"]);var t=ln(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=o["o"].create(this.doc.context);return r.setPartialName(t.terminal),cn(n,[r,r.ref],t.terminal),zn.of(r,r.ref,this.doc)},e.prototype.createCheckBox=function(e){Object(c["e"])(e,"name",["string"]);var t=ln(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=o["j"].create(this.doc.context);return r.setPartialName(t.terminal),cn(n,[r,r.ref],t.terminal),Gt.of(r,r.ref,this.doc)},e.prototype.createDropdown=function(e){Object(c["e"])(e,"name",["string"]);var t=ln(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=o["k"].create(this.doc.context);return r.setPartialName(t.terminal),cn(n,[r,r.ref],t.terminal),Xt.of(r,r.ref,this.doc)},e.prototype.createOptionList=function(e){Object(c["e"])(e,"name",["string"]);var t=ln(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=o["m"].create(this.doc.context);return r.setPartialName(t.terminal),cn(n,[r,r.ref],t.terminal),Zt.of(r,r.ref,this.doc)},e.prototype.createRadioGroup=function(e){Object(c["e"])(e,"name",["string"]);var t=ln(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=o["p"].create(this.doc.context);return r.setPartialName(t.terminal),cn(n,[r,r.ref],t.terminal),Qt.of(r,r.ref,this.doc)},e.prototype.createTextField=function(e){Object(c["e"])(e,"name",["string"]);var t=ln(e),n=this.findOrCreateNonTerminals(t.nonTerminal),r=o["s"].create(this.doc.context);return r.setPartialName(t.terminal),cn(n,[r,r.ref],t.terminal),nn.of(r,r.ref,this.doc)},e.prototype.flatten=function(e){void 0===e&&(e={updateFieldAppearances:!0}),e.updateFieldAppearances&&this.updateFieldAppearances();for(var t=this.getFields(),n=0,r=t.length;n<r;n++){for(var o=t[n],s=o.acroField.getWidgets(),a=0,l=s.length;a<l;a++){var c=s[a],u=this.findWidgetPage(c),h=this.findWidgetAppearanceRef(o,c),d=u.node.newXObject("FlatWidget",h),f=c.getRectangle(),p=Object(i["f"])([j(),z(f.x,f.y)],Xe(Object(i["a"])(Object(i["a"])({},f),{rotation:0})),[re(d),I()]).filter(Boolean);u.pushOperators.apply(u,p)}this.removeField(o)}},e.prototype.removeField=function(e){for(var t=e.acroField.getWidgets(),n=new Set,r=0,i=t.length;r<i;r++){var s=t[r],a=this.findWidgetAppearanceRef(e,s),l=this.findWidgetPage(s);n.add(l),l.node.removeAnnot(a)}n.forEach((function(t){return t.node.removeAnnot(e.ref)})),this.acroForm.removeField(e.acroField);for(var c=e.acroField.normalizedEntries().Kids,u=c.size(),h=0;h<u;h++){var d=c.get(h);d instanceof o["I"]&&this.doc.context.delete(d)}this.doc.context.delete(e.ref)},e.prototype.updateFieldAppearances=function(e){Object(c["j"])(e,"font",[[Bt,"PDFFont"]]),e=null!==e&&void 0!==e?e:this.getDefaultFont();for(var t=this.getFields(),n=0,r=t.length;n<r;n++){var i=t[n];i.needsAppearancesUpdate()&&i.defaultUpdateAppearances(e)}},e.prototype.markFieldAsDirty=function(e){Object(c["j"])(e,"fieldRef",[[o["I"],"PDFRef"]]),this.dirtyFields.add(e)},e.prototype.markFieldAsClean=function(e){Object(c["j"])(e,"fieldRef",[[o["I"],"PDFRef"]]),this.dirtyFields.delete(e)},e.prototype.fieldIsDirty=function(e){return Object(c["j"])(e,"fieldRef",[[o["I"],"PDFRef"]]),this.dirtyFields.has(e)},e.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},e.prototype.findWidgetPage=function(e){var t=e.P(),n=this.doc.getPages().find((function(e){return e.ref===t}));if(void 0===n){var r=this.doc.context.getObjectRef(e.dict);if(void 0===r)throw new Error("Could not find PDFRef for PDFObject");if(n=this.doc.findPageForAnnotationRef(r),void 0===n)throw new Error("Could not find page for PDFRef "+r)}return n},e.prototype.findWidgetAppearanceRef=function(e,t){var n,r=t.getNormalAppearance();if(r instanceof o["x"]&&(e instanceof Gt||e instanceof Qt)){var i=e.acroField.getValue(),s=null!==(n=r.get(i))&&void 0!==n?n:r.get(o["z"].of("Off"));s instanceof o["I"]&&(r=s)}if(!(r instanceof o["I"])){var a=e.getName();throw new Error("Failed to extract appearance ref for: "+a)}return r},e.prototype.findOrCreateNonTerminals=function(e){for(var t=[this.acroForm],n=0,r=e.length;n<r;n++){var i=e[n];if(!i)throw new lt(i);var s=t[0],a=t[1],l=this.findNonTerminal(i,s);if(l)t=l;else{var c=o["n"].create(this.doc.context);c.setPartialName(i),c.setParent(a);var u=this.doc.context.register(c.dict);s.addField(u),t=[c,u]}}return t},e.prototype.findNonTerminal=function(e,t){for(var n=t instanceof o["l"]?this.acroForm.getFields():Object(o["S"])(t.Kids()),r=0,i=n.length;r<i;r++){var s=n[r],a=s[0],l=s[1];if(a.getPartialName()===e){if(a instanceof o["n"])return[a,l];throw new at(e)}}},e.of=function(t,n){return new e(t,n)},e}(),sn=on,an=function(e,t,n){return e instanceof o["o"]?zn.of(e,t,n):e instanceof o["j"]?Gt.of(e,t,n):e instanceof o["k"]?Xt.of(e,t,n):e instanceof o["m"]?Zt.of(e,t,n):e instanceof o["s"]?nn.of(e,t,n):e instanceof o["p"]?Qt.of(e,t,n):e instanceof o["q"]?en.of(e,t,n):void 0},ln=function(e){if(0===e.length)throw new Error("PDF field names must not be empty strings");for(var t=e.split("."),n=0,r=t.length;n<r;n++)if(""===t[n])throw new Error('Periods in PDF field names must be separated by at least one character: "'+e+'"');return 1===t.length?{nonTerminal:[],terminal:t[0]}:{nonTerminal:t.slice(0,t.length-1),terminal:t[t.length-1]}},cn=function(e,t,n){for(var r=e[0],i=e[1],s=t[0],a=t[1],l=r.normalizedEntries(),c=(Object(o["S"])("Kids"in l?l.Kids:l.Fields)),u=0,h=c.length;u<h;u++)if(c[u][0].getPartialName()===n)throw new at(n);r.addField(a),s.setParent(i)},un={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],Executive:[521.86,756],Folio:[612,936],Legal:[612,1008],Letter:[612,792],Tabloid:[792,1224]};(function(e){e[e["Fastest"]=1/0]="Fastest",e[e["Fast"]=1500]="Fast",e[e["Medium"]=500]="Medium",e[e["Slow"]=100]="Slow"})(rn||(rn={}));var hn,dn=n("57a6"),fn=function(){function e(e,t,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=t,this.embedder=n}return e.prototype.embed=function(){return Object(i["b"])(this,void 0,void 0,(function(){var e,t,n,r,s;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:e=i.sent(),this.doc.catalog.has(o["z"].of("Names"))||this.doc.catalog.set(o["z"].of("Names"),this.doc.context.obj({})),t=this.doc.catalog.lookup(o["z"].of("Names"),o["x"]),t.has(o["z"].of("EmbeddedFiles"))||t.set(o["z"].of("EmbeddedFiles"),this.doc.context.obj({})),n=t.lookup(o["z"].of("EmbeddedFiles"),o["x"]),n.has(o["z"].of("Names"))||n.set(o["z"].of("Names"),this.doc.context.obj([])),r=n.lookup(o["z"].of("Names"),o["t"]),r.push(o["y"].fromText(this.embedder.fileName)),r.push(e),this.doc.catalog.has(o["z"].of("AF"))||this.doc.catalog.set(o["z"].of("AF"),this.doc.context.obj([])),s=this.doc.catalog.lookup(o["z"].of("AF"),o["t"]),s.push(e),this.alreadyEmbedded=!0,i.label=2;case 2:return[2]}}))}))},e.of=function(t,n,r){return new e(t,n,r)},e}(),pn=fn,mn=function(){function e(e,t,n){this.alreadyEmbedded=!1,this.ref=e,this.doc=t,this.embedder=n}return e.prototype.embed=function(){return Object(i["b"])(this,void 0,void 0,(function(){var e,t,n,r,s,a,l;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return this.alreadyEmbedded?[3,2]:(e=this.doc,t=e.catalog,n=e.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]);case 1:r=i.sent(),t.has(o["z"].of("Names"))||t.set(o["z"].of("Names"),n.obj({})),s=t.lookup(o["z"].of("Names"),o["x"]),s.has(o["z"].of("JavaScript"))||s.set(o["z"].of("JavaScript"),n.obj({})),a=s.lookup(o["z"].of("JavaScript"),o["x"]),a.has(o["z"].of("Names"))||a.set(o["z"].of("Names"),n.obj([])),l=a.lookup(o["z"].of("Names"),o["t"]),l.push(o["y"].fromText(this.embedder.scriptName)),l.push(r),this.alreadyEmbedded=!0,i.label=2;case 2:return[2]}}))}))},e.of=function(t,n,r){return new e(t,n,r)},e}(),gn=mn,bn=n("2364"),yn=function(){function e(e,t){this.script=e,this.scriptName=t}return e.for=function(t,n){return new e(t,n)},e.prototype.embedIntoContext=function(e,t){return Object(i["b"])(this,void 0,void 0,(function(){var n;return Object(i["d"])(this,(function(r){return n=e.obj({Type:"Action",S:"JavaScript",JS:bn["a"].fromText(this.script)}),t?(e.assign(t,n),[2,t]):[2,e.register(n)]}))}))},e}(),vn=yn,xn=function(){function e(e,t,n){var r=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var e=[];return r.catalog.Pages().traverse((function(t,n){if(t instanceof o["F"]){var i=r.pageMap.get(t);i||(i=Cn.of(t,n,r),r.pageMap.set(t,i)),e.push(i)}})),e},this.getOrCreateForm=function(){var e=r.catalog.getOrCreateAcroForm();return sn.of(e,r)},Object(c["e"])(e,"context",[[o["w"],"PDFContext"]]),Object(c["e"])(t,"ignoreEncryption",["boolean"]),this.context=e,this.catalog=e.lookup(e.trailerInfo.Root),this.isEncrypted=!!e.lookup(e.trailerInfo.Encrypt),this.pageCache=c["a"].populatedBy(this.computePages),this.pageMap=new Map,this.formCache=c["a"].populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!t&&this.isEncrypted)throw new tt;n&&this.updateInfoDict()}return e.load=function(t,n){return void 0===n&&(n={}),Object(i["b"])(this,void 0,void 0,(function(){var r,s,a,l,u,h,d,f,p,m,g,b;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return r=n.ignoreEncryption,s=void 0!==r&&r,a=n.parseSpeed,l=void 0===a?rn.Slow:a,u=n.throwOnInvalidObject,h=void 0!==u&&u,d=n.updateMetadata,f=void 0===d||d,p=n.capNumbers,m=void 0!==p&&p,Object(c["e"])(t,"pdf",["string",Uint8Array,ArrayBuffer]),Object(c["e"])(s,"ignoreEncryption",["boolean"]),Object(c["e"])(l,"parseSpeed",["number"]),Object(c["e"])(h,"throwOnInvalidObject",["boolean"]),g=Object(c["W"])(t),[4,o["H"].forBytesWithOptions(g,l,h,m).parseDocument()];case 1:return b=i.sent(),[2,new e(b,s,f)]}}))}))},e.create=function(t){return void 0===t&&(t={}),Object(i["b"])(this,void 0,void 0,(function(){var n,r,s,a,l,c;return Object(i["d"])(this,(function(i){return n=t.updateMetadata,r=void 0===n||n,s=o["w"].create(),a=o["G"].withContext(s),l=s.register(a),c=o["u"].withContextAndPages(s,l),s.trailerInfo.Root=s.register(c),[2,new e(s,!1,r)]}))}))},e.prototype.registerFontkit=function(e){this.fontkit=e},e.prototype.getForm=function(){var e=this.formCache.access();return e.hasXFA()&&(console.warn("Removing XFA form data as pdf-lib does not support reading or writing XFA"),e.deleteXFA()),e},e.prototype.getTitle=function(){var e=this.getInfoDict().lookup(o["z"].Title);if(e)return kn(e),e.decodeText()},e.prototype.getAuthor=function(){var e=this.getInfoDict().lookup(o["z"].Author);if(e)return kn(e),e.decodeText()},e.prototype.getSubject=function(){var e=this.getInfoDict().lookup(o["z"].Subject);if(e)return kn(e),e.decodeText()},e.prototype.getKeywords=function(){var e=this.getInfoDict().lookup(o["z"].Keywords);if(e)return kn(e),e.decodeText()},e.prototype.getCreator=function(){var e=this.getInfoDict().lookup(o["z"].Creator);if(e)return kn(e),e.decodeText()},e.prototype.getProducer=function(){var e=this.getInfoDict().lookup(o["z"].Producer);if(e)return kn(e),e.decodeText()},e.prototype.getCreationDate=function(){var e=this.getInfoDict().lookup(o["z"].CreationDate);if(e)return kn(e),e.decodeDate()},e.prototype.getModificationDate=function(){var e=this.getInfoDict().lookup(o["z"].ModDate);if(e)return kn(e),e.decodeDate()},e.prototype.setTitle=function(e,t){Object(c["e"])(e,"title",["string"]);var n=o["z"].of("Title");if(this.getInfoDict().set(n,o["y"].fromText(e)),null===t||void 0===t?void 0:t.showInWindowTitleBar){var r=this.catalog.getOrCreateViewerPreferences();r.setDisplayDocTitle(!0)}},e.prototype.setAuthor=function(e){Object(c["e"])(e,"author",["string"]);var t=o["z"].of("Author");this.getInfoDict().set(t,o["y"].fromText(e))},e.prototype.setSubject=function(e){Object(c["e"])(e,"author",["string"]);var t=o["z"].of("Subject");this.getInfoDict().set(t,o["y"].fromText(e))},e.prototype.setKeywords=function(e){Object(c["e"])(e,"keywords",[Array]);var t=o["z"].of("Keywords");this.getInfoDict().set(t,o["y"].fromText(e.join(" ")))},e.prototype.setCreator=function(e){Object(c["e"])(e,"creator",["string"]);var t=o["z"].of("Creator");this.getInfoDict().set(t,o["y"].fromText(e))},e.prototype.setProducer=function(e){Object(c["e"])(e,"creator",["string"]);var t=o["z"].of("Producer");this.getInfoDict().set(t,o["y"].fromText(e))},e.prototype.setLanguage=function(e){Object(c["e"])(e,"language",["string"]);var t=o["z"].of("Lang");this.catalog.set(t,o["L"].of(e))},e.prototype.setCreationDate=function(e){Object(c["e"])(e,"creationDate",[[Date,"Date"]]);var t=o["z"].of("CreationDate");this.getInfoDict().set(t,o["L"].fromDate(e))},e.prototype.setModificationDate=function(e){Object(c["e"])(e,"modificationDate",[[Date,"Date"]]);var t=o["z"].of("ModDate");this.getInfoDict().set(t,o["L"].fromDate(e))},e.prototype.getPageCount=function(){return void 0===this.pageCount&&(this.pageCount=this.getPages().length),this.pageCount},e.prototype.getPages=function(){return this.pageCache.access()},e.prototype.getPage=function(e){var t=this.getPages();return Object(c["l"])(e,"index",0,t.length-1),t[e]},e.prototype.getPageIndices=function(){return Object(c["M"])(0,this.getPageCount())},e.prototype.removePage=function(e){var t=this.getPageCount();if(0===this.pageCount)throw new it;Object(c["l"])(e,"index",0,t-1),this.catalog.removeLeafNode(e),this.pageCount=t-1},e.prototype.addPage=function(e){return Object(c["e"])(e,"page",["undefined",[Cn,"PDFPage"],Array]),this.insertPage(this.getPageCount(),e)},e.prototype.insertPage=function(e,t){var n=this.getPageCount();if(Object(c["l"])(e,"index",0,n),Object(c["e"])(t,"page",["undefined",[Cn,"PDFPage"],Array]),!t||Array.isArray(t)){var r=Array.isArray(t)?t:un.A4;t=Cn.create(this),t.setSize.apply(t,r)}else if(t.doc!==this)throw new rt;var i=this.catalog.insertLeafNode(t.ref,e);return t.node.setParent(i),this.pageMap.set(t.node,t),this.pageCache.invalidate(),this.pageCount=n+1,t},e.prototype.copyPages=function(t,n){return Object(i["b"])(this,void 0,void 0,(function(){var r,s,a,l,u,h,d,f;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return Object(c["e"])(t,"srcDoc",[[e,"PDFDocument"]]),Object(c["e"])(n,"indices",[Array]),[4,t.flush()];case 1:for(i.sent(),r=o["B"].for(t.context,this.context),s=t.getPages(),a=new Array(n.length),l=0,u=n.length;l<u;l++)h=s[n[l]],d=r.copy(h.node),f=this.context.register(d),a[l]=Cn.of(d,f,this);return[2,a]}}))}))},e.prototype.copy=function(){return Object(i["b"])(this,void 0,void 0,(function(){var t,n,r,o;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return[4,e.create()];case 1:return t=i.sent(),[4,t.copyPages(this,this.getPageIndices())];case 2:for(n=i.sent(),r=0,o=n.length;r<o;r++)t.addPage(n[r]);return void 0!==this.getAuthor()&&t.setAuthor(this.getAuthor()),void 0!==this.getCreationDate()&&t.setCreationDate(this.getCreationDate()),void 0!==this.getCreator()&&t.setCreator(this.getCreator()),void 0!==this.getModificationDate()&&t.setModificationDate(this.getModificationDate()),void 0!==this.getProducer()&&t.setProducer(this.getProducer()),void 0!==this.getSubject()&&t.setSubject(this.getSubject()),void 0!==this.getTitle()&&t.setTitle(this.getTitle()),t.defaultWordBreaks=this.defaultWordBreaks,[2,t]}}))}))},e.prototype.addJavaScript=function(e,t){Object(c["e"])(e,"name",["string"]),Object(c["e"])(t,"script",["string"]);var n=vn.for(t,e),r=this.context.nextRef(),i=gn.of(r,this,n);this.javaScripts.push(i)},e.prototype.attach=function(e,t,n){return void 0===n&&(n={}),Object(i["b"])(this,void 0,void 0,(function(){var r,o,s,a;return Object(i["d"])(this,(function(i){return Object(c["e"])(e,"attachment",["string",Uint8Array,ArrayBuffer]),Object(c["e"])(t,"name",["string"]),Object(c["j"])(n.mimeType,"mimeType",["string"]),Object(c["j"])(n.description,"description",["string"]),Object(c["j"])(n.creationDate,"options.creationDate",[Date]),Object(c["j"])(n.modificationDate,"options.modificationDate",[Date]),Object(c["g"])(n.afRelationship,"options.afRelationship",dn["a"]),r=Object(c["W"])(e),o=dn["b"].for(r,t,n),s=this.context.nextRef(),a=pn.of(s,this,o),this.embeddedFiles.push(a),[2]}))}))},e.prototype.embedFont=function(e,t){return void 0===t&&(t={}),Object(i["b"])(this,void 0,void 0,(function(){var n,r,s,a,l,u,h,d,f,p;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return n=t.subset,r=void 0!==n&&n,s=t.customName,a=t.features,Object(c["e"])(e,"font",["string",Uint8Array,ArrayBuffer]),Object(c["e"])(r,"subset",["boolean"]),Object(c["B"])(e)?(l=o["Q"].for(e,s),[3,7]):[3,1];case 1:return Object(c["q"])(e)?(u=Object(c["W"])(e),h=this.assertFontkit(),r?[4,o["g"].for(h,u,s,a)]:[3,3]):[3,6];case 2:return d=i.sent(),[3,5];case 3:return[4,o["f"].for(h,u,s,a)];case 4:d=i.sent(),i.label=5;case 5:return l=d,[3,7];case 6:throw new TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return f=this.context.nextRef(),p=Bt.of(f,this,l),this.fonts.push(p),[2,p]}}))}))},e.prototype.embedStandardFont=function(e,t){if(Object(c["e"])(e,"font",["string"]),!Object(c["B"])(e))throw new TypeError("`font` must be one of type `StandardFonts`");var n=o["Q"].for(e,t),r=this.context.nextRef(),i=Bt.of(r,this,n);return this.fonts.push(i),i},e.prototype.embedJpg=function(e){return Object(i["b"])(this,void 0,void 0,(function(){var t,n,r,s;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return Object(c["e"])(e,"jpg",["string",Uint8Array,ArrayBuffer]),t=Object(c["W"])(e),[4,o["h"].for(t)];case 1:return n=i.sent(),r=this.context.nextRef(),s=qt.of(r,this,n),this.images.push(s),[2,s]}}))}))},e.prototype.embedPng=function(e){return Object(i["b"])(this,void 0,void 0,(function(){var t,n,r,s;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return Object(c["e"])(e,"png",["string",Uint8Array,ArrayBuffer]),t=Object(c["W"])(e),[4,o["P"].for(t)];case 1:return n=i.sent(),r=this.context.nextRef(),s=qt.of(r,this,n),this.images.push(s),[2,s]}}))}))},e.prototype.embedPdf=function(t,n){return void 0===n&&(n=[0]),Object(i["b"])(this,void 0,void 0,(function(){var r,o,s;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return Object(c["e"])(t,"pdf",["string",Uint8Array,ArrayBuffer,[e,"PDFDocument"]]),Object(c["e"])(n,"indices",[Array]),t instanceof e?(o=t,[3,3]):[3,1];case 1:return[4,e.load(t)];case 2:o=i.sent(),i.label=3;case 3:return r=o,s=Object(c["L"])(r.getPages(),n),[2,this.embedPages(s)]}}))}))},e.prototype.embedPage=function(e,t,n){return Object(i["b"])(this,void 0,void 0,(function(){var r;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return Object(c["e"])(e,"page",[[Cn,"PDFPage"]]),[4,this.embedPages([e],[t],[n])];case 1:return r=i.sent()[0],[2,r]}}))}))},e.prototype.embedPages=function(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=[]),Object(i["b"])(this,void 0,void 0,(function(){var r,s,a,l,c,u,h,d,f,p,m,g,b;return Object(i["d"])(this,(function(i){switch(i.label){case 0:if(0===e.length)return[2,[]];for(u=0,h=e.length-1;u<h;u++)if(r=e[u],s=e[u+1],r.node.context!==s.node.context)throw new o["O"];a=e[0].node.context,l=a===this.context?function(e){return e}:o["B"].for(a,this.context).copy,c=new Array(e.length),u=0,h=e.length,i.label=1;case 1:return u<h?(d=l(e[u].node),f=t[u],p=n[u],[4,o["E"].for(d,f,p)]):[3,4];case 2:m=i.sent(),g=this.context.nextRef(),c[u]=jt.of(g,this,m),i.label=3;case 3:return u++,[3,1];case 4:return(b=this.embeddedPages).push.apply(b,c),[2,c]}}))}))},e.prototype.flush=function(){return Object(i["b"])(this,void 0,void 0,(function(){return Object(i["d"])(this,(function(e){switch(e.label){case 0:return[4,this.embedAll(this.fonts)];case 1:return e.sent(),[4,this.embedAll(this.images)];case 2:return e.sent(),[4,this.embedAll(this.embeddedPages)];case 3:return e.sent(),[4,this.embedAll(this.embeddedFiles)];case 4:return e.sent(),[4,this.embedAll(this.javaScripts)];case 5:return e.sent(),[2]}}))}))},e.prototype.save=function(e){return void 0===e&&(e={}),Object(i["b"])(this,void 0,void 0,(function(){var t,n,r,s,a,l,u,h,d,f;return Object(i["d"])(this,(function(i){switch(i.label){case 0:return t=e.useObjectStreams,n=void 0===t||t,r=e.addDefaultPage,s=void 0===r||r,a=e.objectsPerTick,l=void 0===a?50:a,u=e.updateFieldAppearances,h=void 0===u||u,Object(c["e"])(n,"useObjectStreams",["boolean"]),Object(c["e"])(s,"addDefaultPage",["boolean"]),Object(c["e"])(l,"objectsPerTick",["number"]),Object(c["e"])(h,"updateFieldAppearances",["boolean"]),s&&0===this.getPageCount()&&this.addPage(),h&&(d=this.formCache.getValue(),d&&d.updateFieldAppearances()),[4,this.flush()];case 1:return i.sent(),f=n?o["K"]:o["N"],[2,f.forContext(this.context,l).serializeToBuffer()]}}))}))},e.prototype.saveAsBase64=function(e){return void 0===e&&(e={}),Object(i["b"])(this,void 0,void 0,(function(){var t,n,r,o,s;return Object(i["d"])(this,(function(a){switch(a.label){case 0:return t=e.dataUri,n=void 0!==t&&t,r=Object(i["e"])(e,["dataUri"]),Object(c["e"])(n,"dataUri",["boolean"]),[4,this.save(r)];case 1:return o=a.sent(),s=Object(c["x"])(o),[2,n?"data:application/pdf;base64,"+s:s]}}))}))},e.prototype.findPageForAnnotationRef=function(e){for(var t=this.getPages(),n=0,r=t.length;n<r;n++){var i=t[n],o=i.node.Annots();if(void 0!==(null===o||void 0===o?void 0:o.indexOf(e)))return i}},e.prototype.embedAll=function(e){return Object(i["b"])(this,void 0,void 0,(function(){var t,n;return Object(i["d"])(this,(function(r){switch(r.label){case 0:t=0,n=e.length,r.label=1;case 1:return t<n?[4,e[t].embed()]:[3,4];case 2:r.sent(),r.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}))},e.prototype.updateInfoDict=function(){var e="pdf-lib (https://github.com/Hopding/pdf-lib)",t=new Date,n=this.getInfoDict();this.setProducer(e),this.setModificationDate(t),n.get(o["z"].of("Creator"))||this.setCreator(e),n.get(o["z"].of("CreationDate"))||this.setCreationDate(t)},e.prototype.getInfoDict=function(){var e=this.context.lookup(this.context.trailerInfo.Info);if(e instanceof o["x"])return e;var t=this.context.obj({});return this.context.trailerInfo.Info=this.context.register(t),t},e.prototype.assertFontkit=function(){if(!this.fontkit)throw new nt;return this.fontkit},e}(),wn=xn;function kn(e){if(!(e instanceof o["y"])&&!(e instanceof o["L"]))throw new o["R"]([o["y"],o["L"]],e)}(function(e){e["Normal"]="Normal",e["Multiply"]="Multiply",e["Screen"]="Screen",e["Overlay"]="Overlay",e["Darken"]="Darken",e["Lighten"]="Lighten",e["ColorDodge"]="ColorDodge",e["ColorBurn"]="ColorBurn",e["HardLight"]="HardLight",e["SoftLight"]="SoftLight",e["Difference"]="Difference",e["Exclusion"]="Exclusion"})(hn||(hn={}));var Sn=function(){function e(e,t,n){this.fontSize=24,this.fontColor=pe(0,0,0),this.lineHeight=24,this.x=0,this.y=0,Object(c["e"])(e,"leafNode",[[o["F"],"PDFPageLeaf"]]),Object(c["e"])(t,"ref",[[o["I"],"PDFRef"]]),Object(c["e"])(n,"doc",[[wn,"PDFDocument"]]),this.node=e,this.ref=t,this.doc=n}return e.prototype.setRotation=function(e){var t=b(e);Object(c["i"])(t,"degreesAngle",90),this.node.set(o["z"].of("Rotate"),this.doc.context.obj(t))},e.prototype.getRotation=function(){var e=this.node.Rotate();return h(e?e.asNumber():0)},e.prototype.setSize=function(e,t){Object(c["e"])(e,"width",["number"]),Object(c["e"])(t,"height",["number"]);var n=this.getMediaBox();this.setMediaBox(n.x,n.y,e,t);var r=this.getCropBox(),i=this.getBleedBox(),o=this.getTrimBox(),s=this.getArtBox(),a=this.node.CropBox(),l=this.node.BleedBox(),u=this.node.TrimBox(),h=this.node.ArtBox();a&&Object(c["N"])(r,n)&&this.setCropBox(n.x,n.y,e,t),l&&Object(c["N"])(i,n)&&this.setBleedBox(n.x,n.y,e,t),u&&Object(c["N"])(o,n)&&this.setTrimBox(n.x,n.y,e,t),h&&Object(c["N"])(s,n)&&this.setArtBox(n.x,n.y,e,t)},e.prototype.setWidth=function(e){Object(c["e"])(e,"width",["number"]),this.setSize(e,this.getSize().height)},e.prototype.setHeight=function(e){Object(c["e"])(e,"height",["number"]),this.setSize(this.getSize().width,e)},e.prototype.setMediaBox=function(e,t,n,r){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),Object(c["e"])(n,"width",["number"]),Object(c["e"])(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(o["z"].MediaBox,i)},e.prototype.setCropBox=function(e,t,n,r){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),Object(c["e"])(n,"width",["number"]),Object(c["e"])(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(o["z"].CropBox,i)},e.prototype.setBleedBox=function(e,t,n,r){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),Object(c["e"])(n,"width",["number"]),Object(c["e"])(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(o["z"].BleedBox,i)},e.prototype.setTrimBox=function(e,t,n,r){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),Object(c["e"])(n,"width",["number"]),Object(c["e"])(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(o["z"].TrimBox,i)},e.prototype.setArtBox=function(e,t,n,r){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),Object(c["e"])(n,"width",["number"]),Object(c["e"])(r,"height",["number"]);var i=this.doc.context.obj([e,t,e+n,t+r]);this.node.set(o["z"].ArtBox,i)},e.prototype.getSize=function(){var e=this.getMediaBox(),t=e.width,n=e.height;return{width:t,height:n}},e.prototype.getWidth=function(){return this.getSize().width},e.prototype.getHeight=function(){return this.getSize().height},e.prototype.getMediaBox=function(){var e=this.node.MediaBox();return e.asRectangle()},e.prototype.getCropBox=function(){var e,t=this.node.CropBox();return null!==(e=null===t||void 0===t?void 0:t.asRectangle())&&void 0!==e?e:this.getMediaBox()},e.prototype.getBleedBox=function(){var e,t=this.node.BleedBox();return null!==(e=null===t||void 0===t?void 0:t.asRectangle())&&void 0!==e?e:this.getCropBox()},e.prototype.getTrimBox=function(){var e,t=this.node.TrimBox();return null!==(e=null===t||void 0===t?void 0:t.asRectangle())&&void 0!==e?e:this.getCropBox()},e.prototype.getArtBox=function(){var e,t=this.node.ArtBox();return null!==(e=null===t||void 0===t?void 0:t.asRectangle())&&void 0!==e?e:this.getCropBox()},e.prototype.translateContent=function(e,t){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(j(),z(e,t)),r=this.doc.context.register(n),i=this.createContentStream(I()),o=this.doc.context.register(i);this.node.wrapContentStreams(r,o)},e.prototype.scale=function(e,t){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),this.setSize(this.getWidth()*e,this.getHeight()*t),this.scaleContent(e,t),this.scaleAnnotations(e,t)},e.prototype.scaleContent=function(e,t){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(j(),A(e,t)),r=this.doc.context.register(n),i=this.createContentStream(I()),o=this.doc.context.register(i);this.node.wrapContentStreams(r,o)},e.prototype.scaleAnnotations=function(e,t){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]);var n=this.node.Annots();if(n)for(var r=0;r<n.size();r++){var i=n.lookup(r);i instanceof o["x"]&&this.scaleAnnot(i,e,t)}},e.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},e.prototype.setFont=function(e){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),this.font=e,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},e.prototype.setFontSize=function(e){Object(c["e"])(e,"fontSize",["number"]),this.fontSize=e},e.prototype.setFontColor=function(e){Object(c["e"])(e,"fontColor",[[Object,"Color"]]),this.fontColor=e},e.prototype.setLineHeight=function(e){Object(c["e"])(e,"lineHeight",["number"]),this.lineHeight=e},e.prototype.getPosition=function(){return{x:this.x,y:this.y}},e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.moveTo=function(e,t){Object(c["e"])(e,"x",["number"]),Object(c["e"])(t,"y",["number"]),this.x=e,this.y=t},e.prototype.moveDown=function(e){Object(c["e"])(e,"yDecrease",["number"]),this.y-=e},e.prototype.moveUp=function(e){Object(c["e"])(e,"yIncrease",["number"]),this.y+=e},e.prototype.moveLeft=function(e){Object(c["e"])(e,"xDecrease",["number"]),this.x-=e},e.prototype.moveRight=function(e){Object(c["e"])(e,"xIncrease",["number"]),this.x+=e},e.prototype.pushOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];Object(c["c"])(e,"operator",[[o["C"],"PDFOperator"]]);var n=this.getContentStream();n.push.apply(n,e)},e.prototype.drawText=function(e,t){var n,r,i,o,s,a,l;void 0===t&&(t={}),Object(c["e"])(e,"text",["string"]),Object(c["j"])(t.color,"options.color",[[Object,"Color"]]),Object(c["m"])(t.opacity,"opacity.opacity",0,1),Object(c["j"])(t.font,"options.font",[[Bt,"PDFFont"]]),Object(c["j"])(t.size,"options.size",["number"]),Object(c["j"])(t.rotate,"options.rotate",[[Object,"Rotation"]]),Object(c["j"])(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),Object(c["j"])(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),Object(c["j"])(t.x,"options.x",["number"]),Object(c["j"])(t.y,"options.y",["number"]),Object(c["j"])(t.lineHeight,"options.lineHeight",["number"]),Object(c["j"])(t.maxWidth,"options.maxWidth",["number"]),Object(c["j"])(t.wordBreaks,"options.wordBreaks",[Array]),Object(c["g"])(t.blendMode,"options.blendMode",hn);for(var u=this.setOrEmbedFont(t.font),d=u.oldFont,f=u.newFont,p=u.newFontKey,m=t.size||this.fontSize,g=t.wordBreaks||this.doc.defaultWordBreaks,b=function(e){return f.widthOfTextAtSize(e,m)},y=void 0===t.maxWidth?Object(c["D"])(Object(c["v"])(e)):Object(c["n"])(e,g,t.maxWidth,b),v=new Array(y.length),x=0,w=y.length;x<w;x++)v[x]=f.encodeText(y[x]);var k=this.maybeEmbedGraphicsState({opacity:t.opacity,blendMode:t.blendMode}),S=this.getContentStream();S.push.apply(S,Ie(v,{color:null!==(n=t.color)&&void 0!==n?n:this.fontColor,font:p,size:m,rotate:null!==(r=t.rotate)&&void 0!==r?r:h(0),xSkew:null!==(i=t.xSkew)&&void 0!==i?i:h(0),ySkew:null!==(o=t.ySkew)&&void 0!==o?o:h(0),x:null!==(s=t.x)&&void 0!==s?s:this.x,y:null!==(a=t.y)&&void 0!==a?a:this.y,lineHeight:null!==(l=t.lineHeight)&&void 0!==l?l:this.lineHeight,graphicsState:k})),t.font&&(d?this.setFont(d):this.resetFont())},e.prototype.drawImage=function(e,t){var n,r,i,o,s,a,l;void 0===t&&(t={}),Object(c["e"])(e,"image",[[qt,"PDFImage"]]),Object(c["j"])(t.x,"options.x",["number"]),Object(c["j"])(t.y,"options.y",["number"]),Object(c["j"])(t.width,"options.width",["number"]),Object(c["j"])(t.height,"options.height",["number"]),Object(c["j"])(t.rotate,"options.rotate",[[Object,"Rotation"]]),Object(c["j"])(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),Object(c["j"])(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),Object(c["m"])(t.opacity,"opacity.opacity",0,1),Object(c["g"])(t.blendMode,"options.blendMode",hn);var u=this.node.newXObject("Image",e.ref),d=this.maybeEmbedGraphicsState({opacity:t.opacity,blendMode:t.blendMode}),f=this.getContentStream();f.push.apply(f,Be(u,{x:null!==(n=t.x)&&void 0!==n?n:this.x,y:null!==(r=t.y)&&void 0!==r?r:this.y,width:null!==(i=t.width)&&void 0!==i?i:e.size().width,height:null!==(o=t.height)&&void 0!==o?o:e.size().height,rotate:null!==(s=t.rotate)&&void 0!==s?s:h(0),xSkew:null!==(a=t.xSkew)&&void 0!==a?a:h(0),ySkew:null!==(l=t.ySkew)&&void 0!==l?l:h(0),graphicsState:d}))},e.prototype.drawPage=function(e,t){var n,r,i,o,s;void 0===t&&(t={}),Object(c["e"])(e,"embeddedPage",[[jt,"PDFEmbeddedPage"]]),Object(c["j"])(t.x,"options.x",["number"]),Object(c["j"])(t.y,"options.y",["number"]),Object(c["j"])(t.xScale,"options.xScale",["number"]),Object(c["j"])(t.yScale,"options.yScale",["number"]),Object(c["j"])(t.width,"options.width",["number"]),Object(c["j"])(t.height,"options.height",["number"]),Object(c["j"])(t.rotate,"options.rotate",[[Object,"Rotation"]]),Object(c["j"])(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),Object(c["j"])(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),Object(c["m"])(t.opacity,"opacity.opacity",0,1),Object(c["g"])(t.blendMode,"options.blendMode",hn);var a=this.node.newXObject("EmbeddedPdfPage",e.ref),l=this.maybeEmbedGraphicsState({opacity:t.opacity,blendMode:t.blendMode}),u=void 0!==t.width?t.width/e.width:void 0!==t.xScale?t.xScale:1,d=void 0!==t.height?t.height/e.height:void 0!==t.yScale?t.yScale:1,f=this.getContentStream();f.push.apply(f,_e(a,{x:null!==(n=t.x)&&void 0!==n?n:this.x,y:null!==(r=t.y)&&void 0!==r?r:this.y,xScale:u,yScale:d,rotate:null!==(i=t.rotate)&&void 0!==i?i:h(0),xSkew:null!==(o=t.xSkew)&&void 0!==o?o:h(0),ySkew:null!==(s=t.ySkew)&&void 0!==s?s:h(0),graphicsState:l}))},e.prototype.drawSvgPath=function(e,t){var n,r,i,o,s,a,l,d,f;void 0===t&&(t={}),Object(c["e"])(e,"path",["string"]),Object(c["j"])(t.x,"options.x",["number"]),Object(c["j"])(t.y,"options.y",["number"]),Object(c["j"])(t.scale,"options.scale",["number"]),Object(c["j"])(t.rotate,"options.rotate",[[Object,"Rotation"]]),Object(c["j"])(t.borderWidth,"options.borderWidth",["number"]),Object(c["j"])(t.color,"options.color",[[Object,"Color"]]),Object(c["m"])(t.opacity,"opacity.opacity",0,1),Object(c["j"])(t.borderColor,"options.borderColor",[[Object,"Color"]]),Object(c["j"])(t.borderDashArray,"options.borderDashArray",[Array]),Object(c["j"])(t.borderDashPhase,"options.borderDashPhase",["number"]),Object(c["g"])(t.borderLineCap,"options.borderLineCap",u),Object(c["m"])(t.borderOpacity,"options.borderOpacity",0,1),Object(c["g"])(t.blendMode,"options.blendMode",hn);var p=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.borderColor=pe(0,0,0));var m=this.getContentStream();m.push.apply(m,Ge(e,{x:null!==(n=t.x)&&void 0!==n?n:this.x,y:null!==(r=t.y)&&void 0!==r?r:this.y,scale:t.scale,rotate:null!==(i=t.rotate)&&void 0!==i?i:h(0),color:null!==(o=t.color)&&void 0!==o?o:void 0,borderColor:null!==(s=t.borderColor)&&void 0!==s?s:void 0,borderWidth:null!==(a=t.borderWidth)&&void 0!==a?a:0,borderDashArray:null!==(l=t.borderDashArray)&&void 0!==l?l:void 0,borderDashPhase:null!==(d=t.borderDashPhase)&&void 0!==d?d:void 0,borderLineCap:null!==(f=t.borderLineCap)&&void 0!==f?f:void 0,graphicsState:p}))},e.prototype.drawLine=function(e){var t,n,r,i,o;Object(c["e"])(e.start,"options.start",[[Object,"{ x: number, y: number }"]]),Object(c["e"])(e.end,"options.end",[[Object,"{ x: number, y: number }"]]),Object(c["e"])(e.start.x,"options.start.x",["number"]),Object(c["e"])(e.start.y,"options.start.y",["number"]),Object(c["e"])(e.end.x,"options.end.x",["number"]),Object(c["e"])(e.end.y,"options.end.y",["number"]),Object(c["j"])(e.thickness,"options.thickness",["number"]),Object(c["j"])(e.color,"options.color",[[Object,"Color"]]),Object(c["j"])(e.dashArray,"options.dashArray",[Array]),Object(c["j"])(e.dashPhase,"options.dashPhase",["number"]),Object(c["g"])(e.lineCap,"options.lineCap",u),Object(c["m"])(e.opacity,"opacity.opacity",0,1),Object(c["g"])(e.blendMode,"options.blendMode",hn);var s=this.maybeEmbedGraphicsState({borderOpacity:e.opacity,blendMode:e.blendMode});"color"in e||(e.color=pe(0,0,0));var a=this.getContentStream();a.push.apply(a,qe({start:e.start,end:e.end,thickness:null!==(t=e.thickness)&&void 0!==t?t:1,color:null!==(n=e.color)&&void 0!==n?n:void 0,dashArray:null!==(r=e.dashArray)&&void 0!==r?r:void 0,dashPhase:null!==(i=e.dashPhase)&&void 0!==i?i:void 0,lineCap:null!==(o=e.lineCap)&&void 0!==o?o:void 0,graphicsState:s}))},e.prototype.drawRectangle=function(e){var t,n,r,i,o,s,a,l,d,f,p,m,g;void 0===e&&(e={}),Object(c["j"])(e.x,"options.x",["number"]),Object(c["j"])(e.y,"options.y",["number"]),Object(c["j"])(e.width,"options.width",["number"]),Object(c["j"])(e.height,"options.height",["number"]),Object(c["j"])(e.rotate,"options.rotate",[[Object,"Rotation"]]),Object(c["j"])(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),Object(c["j"])(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),Object(c["j"])(e.borderWidth,"options.borderWidth",["number"]),Object(c["j"])(e.color,"options.color",[[Object,"Color"]]),Object(c["m"])(e.opacity,"opacity.opacity",0,1),Object(c["j"])(e.borderColor,"options.borderColor",[[Object,"Color"]]),Object(c["j"])(e.borderDashArray,"options.borderDashArray",[Array]),Object(c["j"])(e.borderDashPhase,"options.borderDashPhase",["number"]),Object(c["g"])(e.borderLineCap,"options.borderLineCap",u),Object(c["m"])(e.borderOpacity,"options.borderOpacity",0,1),Object(c["g"])(e.blendMode,"options.blendMode",hn);var b=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});"color"in e||"borderColor"in e||(e.color=pe(0,0,0));var y=this.getContentStream();y.push.apply(y,Pe({x:null!==(t=e.x)&&void 0!==t?t:this.x,y:null!==(n=e.y)&&void 0!==n?n:this.y,width:null!==(r=e.width)&&void 0!==r?r:150,height:null!==(i=e.height)&&void 0!==i?i:100,rotate:null!==(o=e.rotate)&&void 0!==o?o:h(0),xSkew:null!==(s=e.xSkew)&&void 0!==s?s:h(0),ySkew:null!==(a=e.ySkew)&&void 0!==a?a:h(0),borderWidth:null!==(l=e.borderWidth)&&void 0!==l?l:0,color:null!==(d=e.color)&&void 0!==d?d:void 0,borderColor:null!==(f=e.borderColor)&&void 0!==f?f:void 0,borderDashArray:null!==(p=e.borderDashArray)&&void 0!==p?p:void 0,borderDashPhase:null!==(m=e.borderDashPhase)&&void 0!==m?m:void 0,graphicsState:b,borderLineCap:null!==(g=e.borderLineCap)&&void 0!==g?g:void 0}))},e.prototype.drawSquare=function(e){void 0===e&&(e={});var t=e.size;Object(c["j"])(t,"size",["number"]),this.drawRectangle(Object(i["a"])(Object(i["a"])({},e),{width:t,height:t}))},e.prototype.drawEllipse=function(e){var t,n,r,i,o,s,a,l,h,d,f;void 0===e&&(e={}),Object(c["j"])(e.x,"options.x",["number"]),Object(c["j"])(e.y,"options.y",["number"]),Object(c["j"])(e.xScale,"options.xScale",["number"]),Object(c["j"])(e.yScale,"options.yScale",["number"]),Object(c["j"])(e.rotate,"options.rotate",[[Object,"Rotation"]]),Object(c["j"])(e.color,"options.color",[[Object,"Color"]]),Object(c["m"])(e.opacity,"opacity.opacity",0,1),Object(c["j"])(e.borderColor,"options.borderColor",[[Object,"Color"]]),Object(c["m"])(e.borderOpacity,"options.borderOpacity",0,1),Object(c["j"])(e.borderWidth,"options.borderWidth",["number"]),Object(c["j"])(e.borderDashArray,"options.borderDashArray",[Array]),Object(c["j"])(e.borderDashPhase,"options.borderDashPhase",["number"]),Object(c["g"])(e.borderLineCap,"options.borderLineCap",u),Object(c["g"])(e.blendMode,"options.blendMode",hn);var p=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});"color"in e||"borderColor"in e||(e.color=pe(0,0,0));var m=this.getContentStream();m.push.apply(m,Ve({x:null!==(t=e.x)&&void 0!==t?t:this.x,y:null!==(n=e.y)&&void 0!==n?n:this.y,xScale:null!==(r=e.xScale)&&void 0!==r?r:100,yScale:null!==(i=e.yScale)&&void 0!==i?i:100,rotate:null!==(o=e.rotate)&&void 0!==o?o:void 0,color:null!==(s=e.color)&&void 0!==s?s:void 0,borderColor:null!==(a=e.borderColor)&&void 0!==a?a:void 0,borderWidth:null!==(l=e.borderWidth)&&void 0!==l?l:0,borderDashArray:null!==(h=e.borderDashArray)&&void 0!==h?h:void 0,borderDashPhase:null!==(d=e.borderDashPhase)&&void 0!==d?d:void 0,borderLineCap:null!==(f=e.borderLineCap)&&void 0!==f?f:void 0,graphicsState:p}))},e.prototype.drawCircle=function(e){void 0===e&&(e={});var t=e.size,n=void 0===t?100:t;Object(c["j"])(n,"size",["number"]),this.drawEllipse(Object(i["a"])(Object(i["a"])({},e),{xScale:n,yScale:n}))},e.prototype.setOrEmbedFont=function(e){var t=this.font,n=this.fontKey;e?this.setFont(e):this.getFont();var r=this.font,i=this.fontKey;return{oldFont:t,oldFontKey:n,newFont:r,newFontKey:i}},e.prototype.getFont=function(){if(!this.font||!this.fontKey){var e=this.doc.embedStandardFont(Pt.Helvetica);this.setFont(e)}return[this.font,this.fontKey]},e.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},e.prototype.getContentStream=function(e){return void 0===e&&(e=!0),e&&this.contentStream||(this.contentStream=this.createContentStream(),this.contentStreamRef=this.doc.context.register(this.contentStream),this.node.addContentStream(this.contentStreamRef)),this.contentStream},e.prototype.createContentStream=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.doc.context.obj({}),r=o["v"].of(n,e);return r},e.prototype.maybeEmbedGraphicsState=function(e){var t=e.opacity,n=e.borderOpacity,r=e.blendMode;if(void 0!==t||void 0!==n||void 0!==r){var i=this.doc.context.obj({Type:"ExtGState",ca:t,CA:n,BM:r}),o=this.node.newExtGState("GS",i);return o}},e.prototype.scaleAnnot=function(e,t,n){for(var r=["RD","CL","Vertices","QuadPoints","L","Rect"],i=0,s=r.length;i<s;i++){var a=e.lookup(o["z"].of(r[i]));a instanceof o["t"]&&a.scalePDFNumbers(t,n)}var l=e.lookup(o["z"].of("InkList"));if(l instanceof o["t"])for(i=0,s=l.size();i<s;i++){var c=l.lookup(i);c instanceof o["t"]&&c.scalePDFNumbers(t,n)}},e.of=function(t,n,r){return new e(t,n,r)},e.create=function(t){Object(c["e"])(t,"doc",[[wn,"PDFDocument"]]);var n=o["I"].of(-1),r=o["F"].withContextAndParent(t.context,n),i=t.context.register(r);return new e(r,i,t)},e}(),Cn=Sn,Tn=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return Object(c["e"])(t,"acroButton",[[o["o"],"PDFAcroPushButton"]]),i.acroField=t,i}return Object(i["c"])(t,e),t.prototype.setImage=function(e,t){void 0===t&&(t=ft.Center);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var o=n[r],s=this.createImageAppearanceStream(o,e,t);this.updateWidgetAppearances(o,{normal:s})}this.markAsClean()},t.prototype.setFontSize=function(e){Object(c["k"])(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.addToPage=function(e,t,n){var r,i,o,s,a,l,u,d,f,p,m;Object(c["j"])(e,"text",["string"]),Object(c["j"])(t,"page",[[Cn,"PDFPage"]]),Ut(n);var g=this.createWidget({x:(null!==(r=null===n||void 0===n?void 0:n.x)&&void 0!==r?r:0)-(null!==(i=null===n||void 0===n?void 0:n.borderWidth)&&void 0!==i?i:0)/2,y:(null!==(o=null===n||void 0===n?void 0:n.y)&&void 0!==o?o:0)-(null!==(s=null===n||void 0===n?void 0:n.borderWidth)&&void 0!==s?s:0)/2,width:null!==(a=null===n||void 0===n?void 0:n.width)&&void 0!==a?a:100,height:null!==(l=null===n||void 0===n?void 0:n.height)&&void 0!==l?l:50,textColor:null!==(u=null===n||void 0===n?void 0:n.textColor)&&void 0!==u?u:pe(0,0,0),backgroundColor:null!==(d=null===n||void 0===n?void 0:n.backgroundColor)&&void 0!==d?d:pe(.75,.75,.75),borderColor:null===n||void 0===n?void 0:n.borderColor,borderWidth:null!==(f=null===n||void 0===n?void 0:n.borderWidth)&&void 0!==f?f:0,rotate:null!==(p=null===n||void 0===n?void 0:n.rotate)&&void 0!==p?p:h(0),caption:e,hidden:null===n||void 0===n?void 0:n.hidden,page:t.ref}),b=this.doc.context.register(g.dict);this.acroField.addWidget(b);var y=null!==(m=null===n||void 0===n?void 0:n.font)&&void 0!==m?m:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(g,y),t.node.addAnnot(b)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var t=this.acroField.getWidgets(),n=0,r=t.length;n<r;n++){var i=t[n],s=(null===(e=i.getAppearances())||void 0===e?void 0:e.normal)instanceof o["J"];if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,t){Object(c["e"])(e,"font",[[Bt,"PDFFont"]]),Object(c["j"])(t,"provider",[Function]);for(var n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var o=n[r];this.updateWidgetAppearance(o,e,t)}},t.prototype.updateWidgetAppearance=function(e,t,n){var r=null!==n&&void 0!==n?n:Nt,i=St(r(this,e,t));this.updateWidgetAppearanceWithFont(e,t,i)},t.of=function(e,n,r){return new t(e,n,r)},t}(Wt),zn=Tn},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"90d8":function(e,t,n){"use strict";var r=n("c65b"),i=n("1a2d"),o=n("3a9b"),s=n("ad6d"),a=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in a||i(e,"flags")||!o(a,e)?t:r(s,e)}},9152:function(e,t){
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,c=l>>1,u=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];for(h+=d,o=f&(1<<-u)-1,f>>=-u,u+=a;u>0;o=256*o+e[t+h],h+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+e[t+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),t+=s+h>=1?d/l:d*Math.pow(2,1-h),t*l>=2&&(s++,l/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(t*l-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[n+f]=255&a,f+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[n+f]=255&s,f+=p,s/=256,c-=8);e[n+f-p]|=128*m}},9263:function(e,t,n){"use strict";var r=n("c65b"),i=n("e330"),o=n("577e"),s=n("ad6d"),a=n("9f7f"),l=n("5692"),c=n("7c73"),u=n("69f3").get,h=n("fce3"),d=n("107c"),f=l("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,m=p,g=i("".charAt),b=i("".indexOf),y=i("".replace),v=i("".slice),x=function(){var e=/a/,t=/b*/g;return r(p,e,"a"),r(p,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=a.BROKEN_CARET,k=void 0!==/()??/.exec("")[1],S=x||k||w||h||d;S&&(m=function(e){var t,n,i,a,l,h,d,S=this,C=u(S),T=o(e),z=C.raw;if(z)return z.lastIndex=S.lastIndex,t=r(m,z,T),S.lastIndex=z.lastIndex,t;var A=C.groups,O=w&&S.sticky,E=r(s,S),M=S.source,N=0,R=T;if(O&&(E=y(E,"y",""),-1===b(E,"g")&&(E+="g"),R=v(T,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==g(T,S.lastIndex-1))&&(M="(?: "+M+")",R=" "+R,N++),n=new RegExp("^(?:"+M+")",E)),k&&(n=new RegExp("^"+M+"$(?!\\s)",E)),x&&(i=S.lastIndex),a=r(p,O?n:S,R),O?a?(a.input=v(a.input,N),a[0]=v(a[0],N),a.index=S.lastIndex,S.lastIndex+=a[0].length):S.lastIndex=0:x&&a&&(S.lastIndex=S.global?a.index+a[0].length:i),k&&a&&a.length>1&&r(f,a[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a&&A)for(a.groups=h=c(null),l=0;l<A.length;l++)d=A[l],h[d[0]]=a[d[1]];return a}),e.exports=m},"92ee":function(e,t,n){"use strict";n.d(t,"a",(function(){return r["a"]})),n.d(t,"b",(function(){return s}));var r=n("2a15"),i=n("ade3");class o{static getInstance(){return this.instance||(this.instance=new o),this.instance}static destroy(){this.instance&&(this.instance.destroy(),this.instance=null)}constructor(){Object(i["a"])(this,"messageHandler",null),this.logger=r["a"].getInstance(),this.isIframe="undefined"!==typeof window&&window.parent!==window,this.setupBridge()}setupBridge(){this.isIframe?this.setupIframeMode():this.setupHostMode()}setupIframeMode(){const e=this.logger.log.bind(this.logger);this.logger.log=(t,n,r,i)=>{e(t,n,r,i);const o=this.logger.query({limit:1});o.length>0&&this.sendToParent({type:"kmind-logger-entry",payload:o[0]})},this.messageHandler=e=>{if(!e.data||"object"!==typeof e.data)return;const t=e.data;switch(t.type){case"kmind-logger-config":t.payload&&this.logger.updateConfig(t.payload);break;case"kmind-logger-query":const e=this.logger.query(t.payload);this.sendToParent({type:"kmind-logger-query-response",payload:e});break}},window.addEventListener("message",this.messageHandler),this.sendToParent({type:"kmind-logger-entry",payload:{timestamp:Date.now(),level:0,type:"logger",message:"Logger bridge initialized in iframe",source:"iframe-app"}})}setupHostMode(){this.messageHandler=e=>{if(!e.data||"object"!==typeof e.data)return;const t=e.data;switch(t.type){case"kmind-logger-entry":if(t.payload){const e=t.payload,n=this.logger.getConfig();n.handlers&&n.handlers.length>0&&n.handlers.forEach(t=>{try{t.handle(e)}catch(n){console.error("Logger handler error:",n)}})}break;case"kmind-logger-query-response":break}},window.addEventListener("message",this.messageHandler)}sendToParent(e){this.isIframe&&window.parent&&window.parent.postMessage(e,"*")}broadcastConfig(e){if(!this.isIframe){const t=document.querySelectorAll("iframe");t.forEach(t=>{t.contentWindow&&t.contentWindow.postMessage({type:"kmind-logger-config",payload:e},"*")})}}async queryFromIframe(e,t){return new Promise(n=>{var r;const i=setTimeout(()=>{n([])},1e3),o=t=>{var r;t.source===e.contentWindow&&"kmind-logger-query-response"===(null===(r=t.data)||void 0===r?void 0:r.type)&&(clearTimeout(i),window.removeEventListener("message",o),n(t.data.payload||[]))};window.addEventListener("message",o),null===(r=e.contentWindow)||void 0===r||r.postMessage({type:"kmind-logger-query",payload:t},"*")})}destroy(){this.messageHandler&&(window.removeEventListener("message",this.messageHandler),this.messageHandler=null)}}Object(i["a"])(o,"instance",null);o.getInstance();n("0485"),n("14d9"),n("13d5"),n("88a7"),n("271a"),n("5494");n("2278");const s=r["a"].getInstance(),{debug:a,info:l,warn:c,error:u}=s},"955d":function(e){e.exports=JSON.parse('"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"')},"966d":function(e,t,n){"use strict";(function(t){function n(e,n,r,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:o=new Array(a-1),s=0;while(s<o.length)o[s++]=arguments[s];return t.nextTick((function(){e.apply(null,o)}))}}"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:n}:e.exports=t}).call(this,n("4362"))},9826:function(e,t,n){var r,i,o=n("09d9"),s=n("9a1c").isArray;function a(e){var t=o.copyOptions(e);return o.ensureFlagExists("ignoreDeclaration",t),o.ensureFlagExists("ignoreInstruction",t),o.ensureFlagExists("ignoreAttributes",t),o.ensureFlagExists("ignoreText",t),o.ensureFlagExists("ignoreComment",t),o.ensureFlagExists("ignoreCdata",t),o.ensureFlagExists("ignoreDoctype",t),o.ensureFlagExists("compact",t),o.ensureFlagExists("indentText",t),o.ensureFlagExists("indentCdata",t),o.ensureFlagExists("indentAttributes",t),o.ensureFlagExists("indentInstruction",t),o.ensureFlagExists("fullTagEmptyElement",t),o.ensureFlagExists("noQuotesForNativeAttributes",t),o.ensureSpacesExists(t),"number"===typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),o.ensureKeyExists("declaration",t),o.ensureKeyExists("instruction",t),o.ensureKeyExists("attributes",t),o.ensureKeyExists("text",t),o.ensureKeyExists("comment",t),o.ensureKeyExists("cdata",t),o.ensureKeyExists("doctype",t),o.ensureKeyExists("type",t),o.ensureKeyExists("name",t),o.ensureKeyExists("elements",t),o.checkFnExists("doctype",t),o.checkFnExists("instruction",t),o.checkFnExists("cdata",t),o.checkFnExists("comment",t),o.checkFnExists("text",t),o.checkFnExists("instructionName",t),o.checkFnExists("elementName",t),o.checkFnExists("attributeName",t),o.checkFnExists("attributeValue",t),o.checkFnExists("attributes",t),o.checkFnExists("fullTagEmptyElement",t),t}function l(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function c(e,t,n){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,i,r));var o,s,a,c,u=[];for(o in e)e.hasOwnProperty(o)&&null!==e[o]&&void 0!==e[o]&&(c=t.noQuotesForNativeAttributes&&"string"!==typeof e[o]?"":'"',s=""+e[o],s=s.replace(/"/g,"""),a="attributeNameFn"in t?t.attributeNameFn(o,s,i,r):o,u.push(t.spaces&&t.indentAttributes?l(t,n+1,!1):" "),u.push(a+"="+c+("attributeValueFn"in t?t.attributeValueFn(s,o,i,r):s)+c));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&u.push(l(t,n,!1)),u.join("")}function u(e,t,n){return r=e,i="xml",t.ignoreDeclaration?"":"<?xml"+c(e[t.attributesKey],t,n)+"?>"}function h(e,t,n){if(t.ignoreInstruction)return"";var o;for(o in e)if(e.hasOwnProperty(o))break;var s="instructionNameFn"in t?t.instructionNameFn(o,e[o],i,r):o;if("object"===typeof e[o])return r=e,i=s,"<?"+s+c(e[o][t.attributesKey],t,n)+"?>";var a=e[o]?e[o]:"";return"instructionFn"in t&&(a=t.instructionFn(a,o,i,r)),"<?"+s+(a?" "+a:"")+"?>"}function d(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,i,r):e)+"--\x3e"}function f(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,i,r):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function p(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,i,r):e)+">"}function m(e,t){return t.ignoreText?"":(e=""+e,e=e.replace(/&/g,"&"),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in t?t.textFn(e,i,r):e)}function g(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n<e.elements.length;++n)switch(e.elements[n][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;case"doctype":case"comment":case"element":return!0;default:return!0}return!1}function b(e,t,n){r=e,i=e.name;var o=[],s="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;o.push("<"+s),e[t.attributesKey]&&o.push(c(e[t.attributesKey],t,n));var a=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return a||(a="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),a?(o.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(o.push(y(e[t.elementsKey],t,n+1)),r=e,i=e.name),o.push(t.spaces&&g(e,t)?"\n"+Array(n+1).join(t.spaces):""),o.push("</"+s+">")):o.push("/>"),o.join("")}function y(e,t,n,r){return e.reduce((function(e,i){var o=l(t,n,r&&!e);switch(i.type){case"element":return e+o+b(i,t,n);case"comment":return e+o+d(i[t.commentKey],t);case"doctype":return e+o+p(i[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?o:"")+f(i[t.cdataKey],t);case"text":return e+(t.indentText?o:"")+m(i[t.textKey],t);case"instruction":var s={};return s[i[t.nameKey]]=i[t.attributesKey]?i:i[t.instructionKey],e+(t.indentInstruction?o:"")+h(s,t,n)}}),"")}function v(e,t,n){var r;for(r in e)if(e.hasOwnProperty(r))switch(r){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:return!0;default:return!0}return!1}function x(e,t,n,o,s){r=e,i=t;var a="elementNameFn"in n?n.elementNameFn(t,e):t;if("undefined"===typeof e||null===e||""===e)return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(t,e)||n.fullTagEmptyElement?"<"+a+"></"+a+">":"<"+a+"/>";var u=[];if(t){if(u.push("<"+a),"object"!==typeof e)return u.push(">"+m(e,n)+"</"+a+">"),u.join("");e[n.attributesKey]&&u.push(c(e[n.attributesKey],n,o));var h=v(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(h||(h="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!h)return u.push("/>"),u.join("");u.push(">")}return u.push(w(e,n,o+1,!1)),r=e,i=t,t&&u.push((s?l(n,o,!1):"")+"</"+a+">"),u.join("")}function w(e,t,n,r){var i,o,a,c=[];for(o in e)if(e.hasOwnProperty(o))for(a=s(e[o])?e[o]:[e[o]],i=0;i<a.length;++i){switch(o){case t.declarationKey:c.push(u(a[i],t,n));break;case t.instructionKey:c.push((t.indentInstruction?l(t,n,r):"")+h(a[i],t,n));break;case t.attributesKey:case t.parentKey:break;case t.textKey:c.push((t.indentText?l(t,n,r):"")+m(a[i],t));break;case t.cdataKey:c.push((t.indentCdata?l(t,n,r):"")+f(a[i],t));break;case t.doctypeKey:c.push(l(t,n,r)+p(a[i],t));break;case t.commentKey:c.push(l(t,n,r)+d(a[i],t));break;default:c.push(l(t,n,r)+x(a[i],o,t,n,v(a[i],t)))}r=r&&!c.length}return c.join("")}e.exports=function(e,t){t=a(t);var n=[];return r=e,i="_root_",t.compact?n.push(w(e,t,0,!0)):(e[t.declarationKey]&&n.push(u(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(y(e[t.elementsKey],t,0,!n.length))),n.join("")}},"995a":function(e){e.exports=JSON.parse('"eJxtmNtu20YQhl+F4FULyMGeD7pz3AY1ChtG7NpFA18w1NomIlECSRcxgrx7SVk7+wOdG8H5OJydf2Z2d5gf9cV+t0v9VK/r+6vXsXlOlbHe28paq229qj/t++m62aXZ4J/m8PRb1z9/baZxefK63Z6eXN5dVMvTCh83u277xr/6kLrnl2XNq7TpXnczuZyabdee98/b2VzM/x4/dd/T5qab2pd6PQ2vaVVfvDRD005puE3Lu7eH1HbN9hTjx4/77/X6y5lcnUmjVzHIVVDicVX/1W/SsO36dLMfu6nb9/X6TAoBD+5euvZbn8axXtuZ36dhPJrVQqgPQoh5hev91LWLkIv94W1Ygq9+aX+tZAx2tfz64284/sblN/rqfLP/mqrbt3FKu7G67Nv9cNgPzZQ2H6rz7bb6vLgZq89pTMO/M/xfEqturJpqSM/d7GJIm2oamk3aNcO3av80O5xh3yyKmm1193ZIT02bqovTKjP+MAf++7zsZvZ3276kYyWWXB0z99S18/PbafPHQ71W4fjn/fxnFO+ZvkrT0LVzTr78qB/+nk38bHM9exgP8zr1z9U7jt6840YW5uSJKcZOCaBBnKgm5mU8MVNYyMwWFvO7Ukagkmgg6sDWQ5yFFqjzUrLEaQ3BEmiwNsMSaZS0vgWfOkPHWQowNeTUc0kumnxZvsgPxlGai6VTGUqAVCTQ6QkWnc77DKEiLktSUBJKqHIQZ86d8gCpHYoiEzMsb1ubYy8vW50DChB5ZhGqrijD0EqUIeiaEHIfCg5Kpuu0ApiToaGPSY0uaQsyr65L2oKi1yFt1PLaQ3lzfXTgXodGoJYzglndSLDMPg1sTPJpQJHJigw0QrGERqD9YhyTOgONQDUyuF1zaxuokc/BW2ztXCMrGZ9WMW1oQZHIXWNBkSCfRZEL5BMUiZw6CzVSFCfUSGZFNjIldoKDkonTKQiJIGzWmFd3BizJJ9SINoLDriOfUCOZS+zg+KGD1qGiLNMLxtJD1/ns00ON6EzyUCM6vbxhoBKaqbG3DFQCNiL1iHccBPV0DHhQH/JW8EW90dkyFKGywCJU0WkVSvSGeiSUODWFFD0HYdPQVoiRgfPMA+/nnRgiAyNYSjpWNQcNSMrtFCUH4ZIRpSCWocFCSuhCEY6hoUClc0WC52BJlCYYLQdhN+hygRRRlo5BKRRLS6oihSqh+ZzzRGG1Mo4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w=="')},"99e0":function(e,t,n){"use strict";n("14d9"),n("f4dd"),n("88e6"),n("70cc"),n("eb03"),n("22e5"),n("c01e"),n("fa76"),n("8306");var r=n("1e42"),i=n("7c25"),o=n("4013"),s=n("5b13");class a extends i["a"]{constructor({mindMap:e}){super(e.renderer),this.mindMap=e,this.autoMove=new s["a"](e),this.reset(),this.bindEvent()}reset(){this.isDragging=!1,this.dragPreviewMode="node",this.mousedownNode=null,this.beingDragNodeList=[],this.nodeList=[],this.overlapNode=null,this.prevNode=null,this.nextNode=null,this.drawTransform=null,this.clone=null,this.previewCloneList=[],this.previewHiddenLineList=[],this.placeholder=null,this.placeholderWidth=50,this.placeholderHeight=10,this.placeHolderLine=null,this.placeHolderExtraLines=[],this.offsetX=0,this.offsetY=0,this.isMousedown=!1,this.mouseDownX=0,this.mouseDownY=0,this.mouseMoveX=0,this.mouseMoveY=0,this.checkDragOffset=10,this.minOffset=10,this.createRootTimer=null,this.createRootStartTime=null,this.isInEmptySpace=!1,this.isCreateRootHintVisible=!1}hideParentLineOnSubtreePreview(e){if(!e||!e.parent||!e.parent._lines||!e.parent.children)return;const t=e.parent.children.indexOf(e);if(t<0)return;const n=e.parent._lines[t];if(!n||"function"!==typeof n.opacity)return;const r=n.opacity();this.previewHiddenLineList.push({line:n,opacity:"number"===typeof r?r:1}),n.opacity(0)}restoreHiddenLinesOnSubtreePreview(){this.previewHiddenLineList&&0!==this.previewHiddenLineList.length&&(this.previewHiddenLineList.forEach(e=>{if(e&&e.line&&"function"===typeof e.line.opacity)try{e.line.opacity(e.opacity)}catch(t){}}),this.previewHiddenLineList=[])}bindEvent(){this.onNodeMousedown=this.onNodeMousedown.bind(this),this.onMousemove=this.onMousemove.bind(this),this.onMouseup=this.onMouseup.bind(this),this.checkOverlapNode=Object(r["Bb"])(this.checkOverlapNode,300,this),this.mindMap.on("node_mousedown",this.onNodeMousedown),this.mindMap.on("mousemove",this.onMousemove),this.mindMap.on("node_mouseup",this.onMouseup),this.mindMap.on("mouseup",this.onMouseup)}unBindEvent(){this.mindMap.off("node_mousedown",this.onNodeMousedown),this.mindMap.off("mousemove",this.onMousemove),this.mindMap.off("node_mouseup",this.onMouseup),this.mindMap.off("mouseup",this.onMouseup)}onNodeMousedown(e,t){if(this.isDragging)return t.preventDefault(),void t.stopPropagation();if(this.mindMap.opt.readonly||1!==t.which||e.isGeneralization||e.isRoot&&!this.mindMap.isMultiRoot)return;t.preventDefault(),t.stopPropagation(),this.isMousedown=!0,this.mousedownNode=e;const{x:n,y:r}=this.mindMap.toPos(t.clientX,t.clientY);this.mouseDownX=n,this.mouseDownY=r}onMousemove(e){if(this.mindMap.opt.readonly||!this.isMousedown)return;e.preventDefault();const{x:t,y:n}=this.mindMap.toPos(e.clientX,e.clientY);this.mouseMoveX=t,this.mouseMoveY=n,!this.isDragging&&Math.abs(t-this.mouseDownX)<=this.checkDragOffset&&Math.abs(n-this.mouseDownY)<=this.checkDragOffset||(this.mindMap.emit("node_dragging",this.mousedownNode),this.handleStartMove(),this.onMove(t,n,e))}async onMouseup(...e){if(!this.isMousedown)return;let t=e&&e.length?e[0]:null;if(!t||"number"!==typeof t.clientX||"number"!==typeof t.clientY){const n=e&&e.length>1?e[1]:null;n&&"number"===typeof n.clientX&&"number"===typeof n.clientY?t=n:this.mindMap&&this.mindMap.elRect&&(t={clientX:this.mindMap.elRect.left+this.mouseMoveX,clientY:this.mindMap.elRect.top+this.mouseMoveY})}const{autoMoveWhenMouseInEdgeOnDrag:n,enableFreeDrag:r,beforeDragEnd:i}=this.mindMap.opt;if(n&&this.mindMap.select&&this.autoMove.clearAutoMoveTimer(),this.isMousedown=!1,!this.isDragging)return this.clearCreateRootTimer(),void this.reset();const o=this.isInEmptySpace&&this.mindMap.isMultiRoot&&this.mousedownNode&&!this.mousedownNode.isRoot&&1===this.beingDragNodeList.length&&this.createRootStartTime,s=this.createRootStartTime;this.clearCreateRootTimer();const a=this.overlapNode?this.overlapNode.getData("uid"):"",l=this.prevNode?this.prevNode.getData("uid"):"",c=this.nextNode?this.nextNode.getData("uid"):"";if("function"===typeof i){const e=await i({overlapNodeUid:a,prevNodeUid:l,nextNodeUid:c,beingDragNodeList:[...this.beingDragNodeList]});if(e)return this.restoreDraggingNodes(),this.removeCloneNode(),void this.reset()}const u=()=>{this.restoreDraggingNodes(),this.removeCloneNode(),this.mindMap.emit("node_dragend",{overlapNodeUid:a,prevNodeUid:l,nextNodeUid:c}),this.reset()},h=e=>"number"===typeof e&&Number.isFinite(e);if(this.overlapNode)return this.removeNodeActive(this.overlapNode),this.mindMap.execCommand("MOVE_NODE_TO",this.beingDragNodeList,this.overlapNode),void this.mindMap.render(u,"");if(this.prevNode)return this.removeNodeActive(this.prevNode),this.mindMap.execCommand("INSERT_AFTER",this.beingDragNodeList,this.prevNode),void this.mindMap.render(u,"");if(this.nextNode)return this.removeNodeActive(this.nextNode),this.mindMap.execCommand("INSERT_BEFORE",this.beingDragNodeList,this.nextNode),void this.mindMap.render(u,"");if(this.clone&&r&&1===this.beingDragNodeList.length){if(!t||!h(t.clientX)||!h(t.clientY))return void u();let{x:e,y:n}=this.mindMap.toPos(t.clientX-this.offsetX,t.clientY-this.offsetY),{scaleX:r,scaleY:i,translateX:o,translateY:s}=this.drawTransform;return e=(e-o)/r,n=(n-s)/i,h(e)&&h(n)?(this.mousedownNode.left=e,this.mousedownNode.top=n,this.mousedownNode.customLeft=e,this.mousedownNode.customTop=n,this.mindMap.execCommand("SET_NODE_CUSTOM_POSITION",this.mousedownNode,e,n),void this.mindMap.render(u,"")):void u()}if(this.mindMap.isMultiRoot&&this.mousedownNode.isRoot&&1===this.beingDragNodeList.length&&this.clone){if(!t||!h(t.clientX)||!h(t.clientY))return void u();let{x:e,y:n}=this.mindMap.toPos(t.clientX-this.offsetX,t.clientY-this.offsetY),{scaleX:r,scaleY:i,translateX:o,translateY:s}=this.drawTransform;return e=(e-o)/r,n=(n-s)/i,h(e)&&h(n)?(this.mousedownNode.left=e,this.mousedownNode.top=n,this.mousedownNode.customLeft=e,this.mousedownNode.customTop=n,this.mousedownNode.nodeData.data.customLeft=e,this.mousedownNode.nodeData.data.customTop=n,void this.mindMap.render(()=>{this.mindMap.emit("node_dragged",this.mousedownNode),u()},"")):void u()}if(o){const e=this.mindMap.opt.dragToEmptySpaceCreateRootTime||2e3,n=Date.now()-s;if(n>=e)return t&&h(t.clientX)&&h(t.clientY)?void this.convertToRootNodeOnMouseUp(t,()=>{u()}):void u()}u()}removeNodeActive(e){e.getData("isActive")&&this.mindMap.execCommand("SET_NODE_ACTIVE",e,!1)}onMove(e,t,n){if(!this.isMousedown||!this.isDragging)return;let{scaleX:r,scaleY:i,translateX:o,translateY:s}=this.drawTransform,a=e-this.offsetX,l=t-this.offsetY;e=(a-o)/r,t=(l-s)/i;let c=this.clone.transform();const u=e-c.translateX,h=t-c.translateY;this.clone.translate(u,h),this.previewCloneList&&this.previewCloneList.length>0&&this.previewCloneList.forEach(e=>{e&&e.translate&&e.translate(u,h)}),this.checkOverlapNode(),this.checkEmptySpaceForNewRoot(),this.updateCreateRootHintPosition(),this.drawTransform=this.mindMap.draw.transform(),this.autoMove.clearAutoMoveTimer(),this.autoMove.onMove(n.clientX,n.clientY)}checkEmptySpaceForNewRoot(){if(!this.mindMap.isMultiRoot||!this.mousedownNode||this.mousedownNode.isRoot||1!==this.beingDragNodeList.length)return void this.clearCreateRootTimer();const e=this.overlapNode||this.prevNode||this.nextNode;if(e)this.clearCreateRootTimer();else if(!this.isInEmptySpace){this.isInEmptySpace=!0,this.createRootStartTime=Date.now();const e=this.getCreateRootWaitTime();0===e?this.showCreateRootHint():this.createRootTimer=setTimeout(()=>{this.showCreateRootHint()},e)}}clearCreateRootTimer(){this.createRootTimer&&(clearTimeout(this.createRootTimer),this.createRootTimer=null),this.isInEmptySpace=!1,this.createRootStartTime=null,this.hideCreateRootHint()}getCloneNodeRect(){if(!this.clone)return null;const e=this.clone.bbox(),t=this.clone.transform();return{x:e.x+t.translateX,y:e.y+t.translateY,width:e.width,height:e.height}}getCreateRootTipConfig(){const e={borderColor:"#667eea",borderWidth:2,borderDasharray:"8 4",borderAnimationDuration:.6,textColor:"#667eea",textSize:12,padding:8,borderRadius:8};return{...e,...this.mindMap.opt.dragCreateRootTipConfig}}showCreateRootHint(){if(!this.clone)return;const e=this.getCloneNodeRect();if(!e)return;const t=this.getCreateRootTipConfig(),{padding:n,borderRadius:r,borderColor:i,borderWidth:o,borderDasharray:s,textColor:a,textSize:l}=t;this.createRootHintBorder||(this.createRootHintBorder=this.mindMap.otherDraw.rect(),this.createRootHintBorder.fill("none")),this.createRootHintText||(this.createRootHintText=this.mindMap.otherDraw.text("")),this.ensureCreateRootHintStyles();const c=e.x-n,u=e.y-n,h=e.width+2*n,d=e.height+2*n;this.createRootHintBorder.size(h,d).move(c,u).radius(r).stroke({color:i,width:o,dasharray:s}).addClass("smm-create-root-hint-border");const f=this.mindMap.opt.dragCreateRootHintText||"松手即可创建新根节点";this.createRootHintText.text(f).font({family:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',size:l,weight:500}).fill(a).addClass("smm-create-root-hint-text");const p=this.createRootHintText.bbox(),m=c+(h-p.width)/2,g=u+d+8;this.createRootHintText.move(m,g),this.createRootHintBorder.show(),this.createRootHintText.show(),this.isCreateRootHintVisible=!0}updateCreateRootHintPosition(){if(!this.isCreateRootHintVisible||!this.clone)return;const e=this.getCloneNodeRect();if(!e)return;const t=this.getCreateRootTipConfig(),{padding:n}=t,r=e.x-n,i=e.y-n,o=e.width+2*n,s=e.height+2*n;if(this.createRootHintBorder&&this.createRootHintBorder.size(o,s).move(r,i),this.createRootHintText){const e=this.createRootHintText.bbox(),t=r+(o-e.width)/2,n=i+s+8;this.createRootHintText.move(t,n)}}ensureCreateRootHintStyles(){const e=this.getCreateRootTipConfig(),{borderAnimationDuration:t}=e,n="smm-create-root-hint-styles",r=document.querySelector("#"+n);r&&r.remove();const i=document.createElement("style");i.id=n,i.textContent=`\n @keyframes smm-dash-flow {\n from { stroke-dashoffset: 24; }\n to { stroke-dashoffset: 0; }\n }\n .smm-create-root-hint-border {\n animation: smm-dash-flow ${t}s linear infinite;\n }\n @keyframes smm-text-pulse {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.6; }\n }\n .smm-create-root-hint-text {\n animation: smm-text-pulse 1.5s ease-in-out infinite;\n }\n `,document.head.appendChild(i)}hideCreateRootHint(){this.createRootHintBorder&&this.createRootHintBorder.hide(),this.createRootHintText&&this.createRootHintText.hide(),this.isCreateRootHintVisible=!1}removeCreateRootHintElements(){this.createRootHintBorder&&(this.createRootHintBorder.remove(),this.createRootHintBorder=null),this.createRootHintText&&(this.createRootHintText.remove(),this.createRootHintText=null),this.isCreateRootHintVisible=!1}convertToRootNode(){if(!this.mousedownNode||this.mousedownNode.isRoot)return;let{x:e,y:t}=this.mindMap.toPos(this.mouseMoveX+this.offsetX,this.mouseMoveY+this.offsetY),{scaleX:n,scaleY:r,translateX:i,translateY:o}=this.drawTransform;e=(e-i)/n,t=(t-o)/r,this.createRootNodeAtPosition(e,t)}convertToRootNodeOnMouseUp(e,t){if(!this.mousedownNode||this.mousedownNode.isRoot)return;let{x:n,y:r}=this.mindMap.toPos(e.clientX,e.clientY),{scaleX:i,scaleY:o,translateX:s,translateY:a}=this.mindMap.draw.transform();n=(n-s)/i,r=(r-a)/o;const l=this.mousedownNode.width||100,c=this.mousedownNode.height||30;n-=l/2,r-=c/2,this.createRootNodeAtPosition(n,r,t),this.clearCreateRootTimer()}createRootNodeAtPosition(e,t,n){if(!this.mousedownNode||this.mousedownNode.isRoot)return;const i=this.mousedownNode.nodeData;this.mindMap.renderer.removeNodeFromActiveList(this.mousedownNode),Object(r["qb"])(this.mousedownNode);const o={data:{...i.data,expand:!0,customLeft:e,customTop:t,left:e,top:t},children:i.children||[]};this.mindMap.addRootNode(o,-1,r=>{r&&(r.left=e,r.top=t,r.customLeft=e,r.customTop=t,this.mindMap.renderer.addNodeToActiveList(r),r.updateNodeByActive(!0),this.mindMap.emit("node_dragged",r)),this.hideCreateRootHint(),"function"===typeof n&&n(r)})}getCreateRootWaitTime(){const e=this.mindMap.opt.dragToEmptySpaceCreateRootTime;return 0===e?0:"number"===typeof e&&e>=0?e:2e3}async handleStartMove(){if(!this.isDragging){let e=this.mousedownNode;this.drawTransform=this.mindMap.draw.transform();let{scaleX:t,scaleY:n,translateX:i,translateY:o}=this.drawTransform;this.offsetX=this.mouseDownX-(e.left*t+i),this.offsetY=this.mouseDownY-(e.top*n+o),e.getData("isActive")?this.beingDragNodeList=Object(r["zb"])(Object(r["S"])(this.mindMap.renderer.activeNodeList.filter(e=>!e.isGeneralization&&!(e.isRoot&&!this.mindMap.isMultiRoot)))):this.beingDragNodeList=[e];const{beforeDragStart:s}=this.mindMap.opt;if("function"===typeof s){const e=await s([...this.beingDragNodeList]);if(e)return}this.nodeTreeToList(),this.createCloneNode(),this.mindMap.execCommand("CLEAR_ACTIVE_NODE"),this.isDragging=!0}}nodeTreeToList(){const e=[];this.mindMap.isMultiRoot&&this.mindMap.renderer.roots?this.mindMap.renderer.roots.forEach(t=>{t&&Object(r["d"])(t,t=>{this.checkIsInBeingDragNodeList(t)||(e[t.layerIndex]||(e[t.layerIndex]=[]),e[t.layerIndex].push(t))})}):Object(r["d"])(this.mindMap.renderer.root,t=>{this.checkIsInBeingDragNodeList(t)||(e[t.layerIndex]||(e[t.layerIndex]=[]),e[t.layerIndex].push(t))}),this.nodeList=e.reduceRight((e,t)=>[...e,...t],[])}collectVisibleSubtreeNodes(e,t=120){if(!e)return[];const n=[],r=e=>{e&&e.group&&(n.push(e),t&&n.length>t||e.getData&&!1===e.getData("expand")||e.nodeData&&e.nodeData.data&&e.nodeData.data.isFlowChart||e.children&&e.children.length&&e.children.forEach(e=>{t&&n.length>t||r(e)}))};return r(e),t&&n.length>t?null:n}createCloneNode(){if(!this.clone){const{dragMultiNodeRectConfig:e,dragPlaceholderRectFill:t,dragPlaceholderLineConfig:n,dragOpacityConfig:r,handleDragCloneNode:i,dragPreviewMode:o,dragPreviewSubtreeMaxNodeCount:s}=this.mindMap.opt,{width:a,height:l,fill:c}=e,u=this.beingDragNodeList[0],h=u.style.merge("lineColor",!0);if(this.dragPreviewMode="subtree"===o&&1===this.beingDragNodeList.length?"subtree":"node",this.beingDragNodeList.length>1)this.clone=this.mindMap.otherDraw.rect().size(a,l).radius(l/2).fill({color:c||h}),this.offsetX=a/2,this.offsetY=l/2;else{this.clone=u.group.clone();const e=this.clone.findOne(".smm-expand-btn");e&&e.remove()}if(this.clone.opacity(r.cloneNodeOpacity),this.clone.css("z-index",99999),this.clone.css("pointer-events","none"),"subtree"===this.dragPreviewMode){const e="number"===typeof s?s:120,t=this.collectVisibleSubtreeNodes(u,e);if(t&&t.length>0){const e=new Set(t.map(e=>e.uid));t.forEach(t=>{t&&t.children&&t.children.length&&t.children.forEach((n,i)=>{if(!n)return;if(!e.has(n.uid))return;const o=t._lines&&t._lines[i];if(!o)return;const s=o.clone();s.opacity(r.cloneNodeOpacity),s.css("z-index",99998),s.css("pointer-events","none"),this.mindMap.otherDraw.add(s),this.previewCloneList.push(s)})}),t.forEach(e=>{if(e===u)return;if(!e.group)return;const t=e.group.clone(),n=t.findOne(".smm-expand-btn");n&&n.remove(),t.opacity(r.cloneNodeOpacity),t.css("z-index",99999),t.css("pointer-events","none"),this.mindMap.otherDraw.add(t),this.previewCloneList.push(t)})}else this.dragPreviewMode="node"}1===this.beingDragNodeList.length&&(this.mindMap.otherDraw.add(this.clone),"function"===typeof i&&i(this.clone)),this.placeholder=this.mindMap.otherDraw.rect().fill({color:t||h}).radius(5),this.placeHolderLine=this.mindMap.otherDraw.path().stroke({color:n.color||h,width:n.width}).fill({color:"none"}),this.beingDragNodeList.forEach(e=>{e.startDrag(),"subtree"===this.dragPreviewMode?(e.setOpacity(0),this.hideParentLineOnSubtreePreview(e)):(e.setOpacity(r.beingDragNodeOpacity),e.hideChildren())})}}removeCloneNode(){this.clone&&(this.clone.remove(),this.clone=null,this.previewCloneList&&this.previewCloneList.length>0&&(this.previewCloneList.forEach(e=>{e&&e.remove&&e.remove()}),this.previewCloneList=[]),this.placeholder&&(this.placeholder.remove(),this.placeholder=null),this.placeHolderLine&&(this.placeHolderLine.remove(),this.placeHolderLine=null),this.removeExtraLines(),this.removeCreateRootHintElements())}removeExtraLines(){this.placeHolderExtraLines.forEach(e=>{e.remove()}),this.placeHolderExtraLines=[]}restoreDraggingNodes(){this.restoreHiddenLinesOnSubtreePreview(),this.beingDragNodeList.forEach(e=>{e&&(e.setOpacity(1),"subtree"===this.dragPreviewMode||e.showChildren(),e.endDrag())})}checkOverlapNode(){if(!this.drawTransform||!this.placeholder)return;const e=this.beingDragNodeList.some(e=>e.nodeData.data.isFlowChart);if(e)return;const{LOGICAL_STRUCTURE:t,LOGICAL_STRUCTURE_LEFT:n,MIND_MAP:r,ORGANIZATION_STRUCTURE:i,CATALOG_ORGANIZATION:s,TIMELINE:a,TIMELINE2:l,VERTICAL_TIMELINE:c,FISHBONE:u}=o["a"].LAYOUT;this.overlapNode=null,this.prevNode=null,this.nextNode=null,this.placeholder.size(0,0),this.placeHolderLine.hide(),this.removeExtraLines(),this.nodeList.forEach(e=>{if(e.getData("isActive")&&this.mindMap.execCommand("SET_NODE_ACTIVE",e,!1),!(this.overlapNode||this.prevNode&&this.nextNode))switch(this.mindMap.opt.layout){case t:case n:this.handleLogicalStructure(e);break;case r:this.handleMindMap(e);break;case i:this.handleOrganizationStructure(e);break;case s:this.handleCatalogOrganization(e);break;case a:this.handleTimeLine(e);break;case l:this.handleTimeLine2(e);break;case c:this.handleLogicalStructure(e);break;case u:this.handleFishbone(e);break;default:this.handleLogicalStructure(e)}}),this.overlapNode&&this.handleOverlapNode()}handleOverlapNode(){const{LOGICAL_STRUCTURE:e,LOGICAL_STRUCTURE_LEFT:t,MIND_MAP:n,ORGANIZATION_STRUCTURE:r,CATALOG_ORGANIZATION:i,TIMELINE:s,TIMELINE2:a,VERTICAL_TIMELINE:l,FISHBONE:c}=o["a"].LAYOUT,{LEFT:u,TOP:h,RIGHT:d,BOTTOM:f}=o["a"].LAYOUT_GROW_DIR,p=this.overlapNode.layerIndex,m=this.overlapNode.children,g=this.mindMap.renderer.layout.getMarginX(p+1),b=this.mindMap.renderer.layout.getMarginY(p+1),y=this.placeholderWidth/2,v=this.placeholderHeight/2;let x="",w="",k="",S=!1,C=!1;if(m.length>0){const o=m[m.length-1],f=this.getNodeRect(o);switch(x=this.getNewChildNodeDir(o),this.mindMap.opt.layout){case e:case n:w=x===u?f.originRight-this.placeholderWidth:f.originLeft,k=f.originBottom+this.minOffset-v;break;case t:w=f.originRight-this.placeholderWidth,k=f.originBottom+this.minOffset-v;break;case r:S=!0,w=f.originRight+this.minOffset-v,k=f.originTop;break;case i:0===p?(S=!0,w=f.originRight+this.minOffset-v,k=f.originTop):(w=f.originLeft,k=f.originBottom+this.minOffset-v);break;case s:0===p?(S=!0,w=f.originRight+this.minOffset-v,k=f.originTop+f.originHeight/2-y):(w=f.originLeft,k=f.originBottom+this.minOffset-v);break;case a:0===p?(S=!0,w=f.originRight+this.minOffset-v,k=f.originTop+f.originHeight/2-y):(w=f.originLeft,k=1===p&&x===h?f.originTop-this.placeholderHeight-this.minOffset+v:f.originBottom+this.minOffset-v);break;case l:0===p?(w=f.originLeft+f.originWidth/2-y,k=f.originBottom+this.minOffset-v):(w=x===d?f.originLeft:f.originRight-this.placeholderWidth,k=f.originBottom+this.minOffset-v);break;case c:p<=1?(C=!0,this.mindMap.execCommand("SET_NODE_ACTIVE",this.overlapNode,!0)):(w=f.originLeft,k=x===h?f.originBottom+this.minOffset-v:f.originTop-this.placeholderHeight-this.minOffset+v);break;default:}}else{const o=this.getNodeRect(this.overlapNode);switch(x=this.getNewChildNodeDir(this.overlapNode),this.mindMap.opt.layout){case e:case n:w=x===d?o.originRight+g:o.originLeft-this.placeholderWidth-g,k=o.originTop+(o.originHeight-this.placeholderHeight)/2;break;case t:w=o.originLeft-this.placeholderWidth-g,k=o.originTop+(o.originHeight-this.placeholderHeight)/2;break;case r:S=!0,w=o.originLeft+(o.originWidth-this.placeholderHeight)/2,k=o.originBottom+g;break;case i:0===p&&(S=!0),w=o.originLeft+.5*o.originWidth,k=o.originBottom+g;break;case s:0===p&&(S=!0),w=o.originLeft+.5*o.originWidth,k=o.originBottom+b;break;case a:0===p&&(S=!0),w=o.originLeft+.5*o.originWidth,k=1===p&&x===h?o.originTop-this.placeholderHeight-g:o.originBottom+g;break;case l:0===p&&(S=!0),w=x===d?o.originRight+g:o.originLeft-this.placeholderWidth-g,k=o.originTop+o.originHeight/2-v;break;case c:p<=1?(C=!0,this.mindMap.execCommand("SET_NODE_ACTIVE",this.overlapNode,!0)):(w=o.originLeft+.5*o.originWidth,k=x===f?o.originTop-this.placeholderHeight-this.minOffset+v:o.originBottom+this.minOffset-v);break;default:}}C||this.setPlaceholderRect({x:w,y:k,dir:x,rotate:S})}getNewChildNodeDir(e){const{LOGICAL_STRUCTURE:t,LOGICAL_STRUCTURE_LEFT:n,MIND_MAP:r,TIMELINE2:i,VERTICAL_TIMELINE:s,FISHBONE:a}=o["a"].LAYOUT;switch(this.mindMap.opt.layout){case t:return o["a"].LAYOUT_GROW_DIR.RIGHT;case n:return o["a"].LAYOUT_GROW_DIR.LEFT;case r:case i:case s:case a:return e.dir;default:return""}}handleVerticalCheck(e,t,n=!1){const{layout:r}=this.mindMap.opt,{LAYOUT:i,LAYOUT_GROW_DIR:s}=o["a"],{VERTICAL_TIMELINE:a,FISHBONE:l}=i,{BOTTOM:c,LEFT:u}=s,h=this.mouseMoveX,d=this.mouseMoveY,f=this.getNodeRect(e),p=this.getNewChildNodeDir(e),m=e.layerIndex;(n||r===l&&p===c&&m>=3)&&(t=t.reverse());let g=f.originHeight/4,{prevBrotherOffset:b,nextBrotherOffset:y}=this.getNodeDistanceToSiblingNode(t,e,f,"v");if(f.left<=h&&f.right>=h){if(!this.overlapNode&&!this.prevNode&&!this.nextNode&&!e.isRoot){let t=y>0?d>f.bottom&&d<=f.bottom+y:d>=f.bottom-g&&d<=f.bottom,i=b>0?d<f.top&&d>=f.top-b:d>=f.top&&d<=f.top+g;const{scaleY:o}=this.drawTransform;let s=p===u?f.originRight-this.placeholderWidth:f.originLeft,c=!1;switch(r){case a:1===m&&(s=f.originLeft+f.originWidth/2-this.placeholderWidth/2);break;default:}if(t){n?this.nextNode=e:this.prevNode=e;let t=f.originBottom+y/o-this.placeholderHeight/2;switch(r){case l:2===m&&(c=!0,t=f.originBottom+this.minOffset-this.placeholderHeight/2);break;default:}this.setPlaceholderRect({x:s,y:t,dir:p,notRenderLine:c})}else if(i){n?this.prevNode=e:this.nextNode=e;let t=f.originTop-this.placeholderHeight-b/o+this.placeholderHeight/2;switch(r){case l:2===m&&(c=!0,t=f.originTop-this.placeholderHeight-this.minOffset+this.placeholderHeight/2);break;default:}this.setPlaceholderRect({x:s,y:t,dir:p,notRenderLine:c})}}this.checkIsOverlap({node:e,dir:"v",prevBrotherOffset:b,nextBrotherOffset:y,size:g,pos:d,nodeRect:f})}}handleHorizontalCheck(e,t){const{layout:n}=this.mindMap.opt,{LAYOUT:r}=o["a"],{FISHBONE:i,TIMELINE:s,TIMELINE2:a}=r;let l=this.mouseMoveX,c=this.mouseMoveY,u=this.getNodeRect(e),h=u.originWidth/4,{prevBrotherOffset:d,nextBrotherOffset:f}=this.getNodeDistanceToSiblingNode(t,e,u,"h");if(u.top<=c&&u.bottom>=c){if(!this.overlapNode&&!this.prevNode&&!this.nextNode&&!e.isRoot){let t=f>0?l<u.right+f&&l>=u.right:l<=u.right&&l>=u.right-h,r=d>0?l>u.left-d&&l<=u.left:l<=u.left+h&&l>=u.left;const{scaleX:o}=this.drawTransform,c=e.layerIndex;let p=u.originTop,m=!1;switch(n){case s:case a:p=u.originTop+u.originHeight/2-this.placeholderWidth/2;break;case i:1===c&&(m=!0,p=u.originTop+u.originHeight/2-this.placeholderWidth/2);break;default:}t?(this.prevNode=e,this.setPlaceholderRect({x:u.originRight+f/o-this.placeholderHeight/2,y:p,rotate:!0,notRenderLine:m})):r&&(this.nextNode=e,this.setPlaceholderRect({x:u.originLeft-this.placeholderHeight-d/o+this.placeholderHeight/2,y:p,rotate:!0,notRenderLine:m}))}this.checkIsOverlap({node:e,dir:"h",prevBrotherOffset:d,nextBrotherOffset:f,size:h,pos:l,nodeRect:u})}}getNodeDistanceToSiblingNode(e,t,n,i){const{TOP:s,LEFT:a,BOTTOM:l,RIGHT:c}=o["a"].LAYOUT_GROW_DIR;let{scaleX:u,scaleY:h}=this.drawTransform,d="v"===i?s:a,f="v"===i?l:c,p="v"===i?h:u,m=this.minOffset*p,g=Object(r["K"])(t,e),b=null,y=null;-1!==g&&(g-1>=0&&(b=e[g-1]),g+1<=e.length-1&&(y=e[g+1]));let v=0;if(b){let e=this.getNodeRect(b);v=n[d]-e[f],v=v>=m?v/2:0}else v=m;let x=0;if(y){let e=this.getNodeRect(y);x=e[d]-n[f],x=x>=m?x/2:0}else x=m;return{prevBrother:b,prevBrotherOffset:v,nextBrother:y,nextBrotherOffset:x}}setPlaceholderRect({x:e,y:t,dir:n,rotate:r,notRenderLine:i}){let o=this.placeholderWidth,s=this.placeholderHeight;if(r){const e=o;o=s,s=e}if(this.placeholder.size(o,s).move(e,t),i)return;const{dragPlaceholderLineConfig:a}=this.mindMap.opt;let l=null,c=null;if(this.overlapNode)l=this.overlapNode,c=this.overlapNode;else if(l=this.prevNode||this.nextNode,c=l.parent,!c)return this.placeHolderNode.hide(),void this.placeHolderLine.hide();c=c.fakeClone(),l=l.fakeClone();const u=this.beingDragNodeList[0].fakeClone();u.dir=n,u.left=e,u.top=t,u.width=o,u.height=s,c.children=[u],c._lines=[],this.placeHolderLine.show(),this.mindMap.renderer.layout.renderLine(c,[this.placeHolderLine],()=>{},l.style.getStyle("lineStyle",!0)),this.placeHolderExtraLines=[...c._lines],this.placeHolderExtraLines.forEach(e=>{this.mindMap.otherDraw.add(e),e.stroke({color:a.color,width:a.width}).fill({color:"none"})})}checkIsOverlap({node:e,dir:t,prevBrotherOffset:n,nextBrotherOffset:r,size:i,pos:s,nodeRect:a}){const{TOP:l,LEFT:c,BOTTOM:u,RIGHT:h}=o["a"].LAYOUT_GROW_DIR;let d="v"===t?l:c,f="v"===t?u:h;this.overlapNode||this.prevNode||this.nextNode||a[d]+(n>0?0:i)<=s&&a[f]-(r>0?0:i)>=s&&(e.nodeData.data.isFlowChart||(this.overlapNode=e))}handleLogicalStructure(e){const t=this.commonGetNodeCheckList(e);this.handleVerticalCheck(e,t)}handleMindMap(e){const t=e.parent?e.parent.children.filter(t=>{let n=!0;return 1===e.layerIndex&&(n=t.dir===e.dir),n&&!this.checkIsInBeingDragNodeList(t)}):[];this.handleVerticalCheck(e,t)}handleOrganizationStructure(e){const t=this.commonGetNodeCheckList(e);this.handleHorizontalCheck(e,t)}handleCatalogOrganization(e){const t=this.commonGetNodeCheckList(e);1===e.layerIndex?this.handleHorizontalCheck(e,t):this.handleVerticalCheck(e,t)}handleTimeLine(e){let t=this.commonGetNodeCheckList(e);1===e.layerIndex?this.handleHorizontalCheck(e,t):this.handleVerticalCheck(e,t)}handleTimeLine2(e){let t=this.commonGetNodeCheckList(e);1===e.layerIndex?this.handleHorizontalCheck(e,t):e.dir===o["a"].LAYOUT_GROW_DIR.TOP&&2===e.layerIndex?this.handleVerticalCheck(e,t,!0):this.handleVerticalCheck(e,t)}handleFishbone(e){let t=e.parent?e.parent.children.filter(e=>e.layerIndex>1&&!this.checkIsInBeingDragNodeList(e)):[];1===e.layerIndex?this.handleHorizontalCheck(e,t):e.dir===o["a"].LAYOUT_GROW_DIR.TOP&&2===e.layerIndex?this.handleVerticalCheck(e,t,!0):this.handleVerticalCheck(e,t)}commonGetNodeCheckList(e){return e.parent?[...e.parent.children].filter(e=>!this.checkIsInBeingDragNodeList(e)):[]}getNodeRect(e){let{scaleX:t,scaleY:n,translateX:r,translateY:i}=this.drawTransform,{left:o,top:s,width:a,height:l}=e,c=a,u=l,h=o,d=s,f=s+l,p=o+a,m=(o+a)*t+r,g=(s+l)*n+i;return o=o*t+r,s=s*n+i,{left:o,top:s,right:m,bottom:g,originWidth:c,originHeight:u,originLeft:h,originTop:d,originBottom:f,originRight:p}}checkIsInBeingDragNodeList(e){return!!this.beingDragNodeList.find(t=>t.uid===e.uid||t.isAncestor(e))}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}a.instanceName="drag",t["a"]=a},"9a1c":function(e,t){e.exports={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}}},"9aae":function(e,t,n){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var n=t.shift();if(n){if("object"!==typeof n)throw new TypeError(n+"must be non-object");for(var r in n)i(n,r)&&(e[r]=n[r])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},s={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,o)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,s))},t.setTyped(r)},"9f7f":function(e,t,n){"use strict";var r=n("d039"),i=n("da84"),o=i.RegExp,s=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=s||r((function(){return!o("a","y").sticky})),l=s||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:s}},a1f0:function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("4625"),s=n("dcc3"),a=n("4754"),l=n("1d80"),c=n("50c4"),u=n("577e"),h=n("825a"),d=n("7234"),f=n("c6b6"),p=n("44e7"),m=n("90d8"),g=n("dc4a"),b=n("cb2d"),y=n("d039"),v=n("b622"),x=n("4840"),w=n("8aa5"),k=n("14c3"),S=n("69f3"),C=n("c430"),T=v("matchAll"),z="RegExp String",A=z+" Iterator",O=S.set,E=S.getterFor(A),M=RegExp.prototype,N=TypeError,R=o("".indexOf),L=o("".matchAll),D=!!L&&!y((function(){L("a",/./)})),F=s((function(e,t,n,r){O(this,{type:A,regexp:e,string:t,global:n,unicode:r,done:!1})}),z,(function(){var e=E(this);if(e.done)return a(void 0,!0);var t=e.regexp,n=e.string,r=k(t,n);return null===r?(e.done=!0,a(void 0,!0)):e.global?(""===u(r[0])&&(t.lastIndex=w(n,c(t.lastIndex),e.unicode)),a(r,!1)):(e.done=!0,a(r,!1))})),j=function(e){var t,n,r,i=h(this),o=u(e),s=x(i,RegExp),a=u(m(i));return t=new s(s===RegExp?i.source:i,a),n=!!~R(a,"g"),r=!!~R(a,"u"),t.lastIndex=c(i.lastIndex),new F(t,o,n,r)};r({target:"String",proto:!0,forced:D},{matchAll:function(e){var t,n,r,o,s=l(this);if(d(e)){if(D)return L(s,e)}else{if(p(e)&&(t=u(l(m(e))),!~R(t,"g")))throw new N("`.matchAll` does not allow non-global regexes");if(D)return L(s,e);if(r=g(e,T),void 0===r&&C&&"RegExp"===f(e)&&(r=j),r)return i(r,e,s)}return n=u(s),o=new RegExp(e,"g"),C?i(j,o,n):o[T](n)}}),C||T in M||b(M,T,j)},a212:function(e,t,n){"use strict";var r=30,i=12;e.exports=function(e,t){var n,o,s,a,l,c,u,h,d,f,p,m,g,b,y,v,x,w,k,S,C,T,z,A,O;n=e.state,o=e.next_in,A=e.input,s=o+(e.avail_in-5),a=e.next_out,O=e.output,l=a-(t-e.avail_out),c=a+(e.avail_out-257),u=n.dmax,h=n.wsize,d=n.whave,f=n.wnext,p=n.window,m=n.hold,g=n.bits,b=n.lencode,y=n.distcode,v=(1<<n.lenbits)-1,x=(1<<n.distbits)-1;e:do{g<15&&(m+=A[o++]<<g,g+=8,m+=A[o++]<<g,g+=8),w=b[m&v];t:for(;;){if(k=w>>>24,m>>>=k,g-=k,k=w>>>16&255,0===k)O[a++]=65535&w;else{if(!(16&k)){if(0===(64&k)){w=b[(65535&w)+(m&(1<<k)-1)];continue t}if(32&k){n.mode=i;break e}e.msg="invalid literal/length code",n.mode=r;break e}S=65535&w,k&=15,k&&(g<k&&(m+=A[o++]<<g,g+=8),S+=m&(1<<k)-1,m>>>=k,g-=k),g<15&&(m+=A[o++]<<g,g+=8,m+=A[o++]<<g,g+=8),w=y[m&x];n:for(;;){if(k=w>>>24,m>>>=k,g-=k,k=w>>>16&255,!(16&k)){if(0===(64&k)){w=y[(65535&w)+(m&(1<<k)-1)];continue n}e.msg="invalid distance code",n.mode=r;break e}if(C=65535&w,k&=15,g<k&&(m+=A[o++]<<g,g+=8,g<k&&(m+=A[o++]<<g,g+=8)),C+=m&(1<<k)-1,C>u){e.msg="invalid distance too far back",n.mode=r;break e}if(m>>>=k,g-=k,k=a-l,C>k){if(k=C-k,k>d&&n.sane){e.msg="invalid distance too far back",n.mode=r;break e}if(T=0,z=p,0===f){if(T+=h-k,k<S){S-=k;do{O[a++]=p[T++]}while(--k);T=a-C,z=O}}else if(f<k){if(T+=h+f-k,k-=f,k<S){S-=k;do{O[a++]=p[T++]}while(--k);if(T=0,f<S){k=f,S-=k;do{O[a++]=p[T++]}while(--k);T=a-C,z=O}}}else if(T+=f-k,k<S){S-=k;do{O[a++]=p[T++]}while(--k);T=a-C,z=O}while(S>2)O[a++]=z[T++],O[a++]=z[T++],O[a++]=z[T++],S-=3;S&&(O[a++]=z[T++],S>1&&(O[a++]=z[T++]))}else{T=a-C;do{O[a++]=O[T++],O[a++]=O[T++],O[a++]=O[T++],S-=3}while(S>2);S&&(O[a++]=O[T++],S>1&&(O[a++]=O[T++]))}break}}break}}while(o<s&&a<c);S=g>>3,o-=S,g-=S<<3,m&=(1<<g)-1,e.next_in=o,e.next_out=a,e.avail_in=o<s?s-o+5:5-(o-s),e.avail_out=a<c?c-a+257:257-(a-c),n.hold=m,n.bits=g}},a773:function(e){e.exports=JSON.parse('"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"')},a832:function(e,t,n){"use strict";var r=n("1e42"),i=n("4013");class o{constructor(e){this.opt=e,this.mindMap=e.mindMap,this.addShortcut()}addShortcut(){this.onLeftKeyUp=this.onLeftKeyUp.bind(this),this.onUpKeyUp=this.onUpKeyUp.bind(this),this.onRightKeyUp=this.onRightKeyUp.bind(this),this.onDownKeyUp=this.onDownKeyUp.bind(this),this.mindMap.keyCommand.addShortcut(i["a"].KEY_DIR.LEFT,this.onLeftKeyUp),this.mindMap.keyCommand.addShortcut(i["a"].KEY_DIR.UP,this.onUpKeyUp),this.mindMap.keyCommand.addShortcut(i["a"].KEY_DIR.RIGHT,this.onRightKeyUp),this.mindMap.keyCommand.addShortcut(i["a"].KEY_DIR.DOWN,this.onDownKeyUp)}removeShortcut(){this.mindMap.keyCommand.removeShortcut(i["a"].KEY_DIR.LEFT,this.onLeftKeyUp),this.mindMap.keyCommand.removeShortcut(i["a"].KEY_DIR.UP,this.onUpKeyUp),this.mindMap.keyCommand.removeShortcut(i["a"].KEY_DIR.RIGHT,this.onRightKeyUp),this.mindMap.keyCommand.removeShortcut(i["a"].KEY_DIR.DOWN,this.onDownKeyUp)}forEachNode(e){const t=this.mindMap.getRootNodes&&this.mindMap.getRootNodes().length?this.mindMap.getRootNodes():this.mindMap.renderer.root?[this.mindMap.renderer.root]:[];t.forEach(t=>{Object(r["d"])(t,e)})}onLeftKeyUp(){this.onKeyup(i["a"].KEY_DIR.LEFT)}onUpKeyUp(){this.onKeyup(i["a"].KEY_DIR.UP)}onRightKeyUp(){this.onKeyup(i["a"].KEY_DIR.RIGHT)}onDownKeyUp(){this.onKeyup(i["a"].KEY_DIR.DOWN)}onKeyup(e){if(this.mindMap.renderer.activeNodeList.length>0)this.focus(e);else{let e=this.mindMap.renderer.root;this.mindMap.execCommand("GO_TARGET_NODE",e)}}focus(e){let t=this.mindMap.renderer.activeNodeList[0],n=this.getNodeRect(t),r=null,i=1/0,o=(e,t)=>{let o=this.getDistance(n,e);o<i&&(r=t,i=o)};this.getFocusNodeByShadowAlgorithm({currentActiveNode:t,currentActiveNodeRect:n,dir:e,checkNodeDis:o}),r||this.getFocusNodeByAreaAlgorithm({currentActiveNode:t,currentActiveNodeRect:n,dir:e,checkNodeDis:o}),r||this.getFocusNodeBySimpleAlgorithm({currentActiveNode:t,currentActiveNodeRect:n,dir:e,checkNodeDis:o}),r&&r.active()}getFocusNodeBySimpleAlgorithm({currentActiveNode:e,currentActiveNodeRect:t,dir:n,checkNodeDis:r}){this.forEachNode(o=>{if(o.uid===e.uid)return;let s=this.getNodeRect(o),{left:a,top:l,right:c,bottom:u}=s,h=!1;n===i["a"].KEY_DIR.LEFT?h=c<=t.left:n===i["a"].KEY_DIR.RIGHT?h=a>=t.right:n===i["a"].KEY_DIR.UP?h=u<=t.top:n===i["a"].KEY_DIR.DOWN&&(h=l>=t.bottom),h&&r(s,o)})}getFocusNodeByShadowAlgorithm({currentActiveNode:e,currentActiveNodeRect:t,dir:n,checkNodeDis:r}){this.forEachNode(o=>{if(o.uid===e.uid)return;let s=this.getNodeRect(o),{left:a,top:l,right:c,bottom:u}=s,h=!1;n===i["a"].KEY_DIR.LEFT?h=a<t.left&&l<t.bottom&&u>t.top:n===i["a"].KEY_DIR.RIGHT?h=c>t.right&&l<t.bottom&&u>t.top:n===i["a"].KEY_DIR.UP?h=l<t.top&&a<t.right&&c>t.left:n===i["a"].KEY_DIR.DOWN&&(h=u>t.bottom&&a<t.right&&c>t.left),h&&r(s,o)})}getFocusNodeByAreaAlgorithm({currentActiveNode:e,currentActiveNodeRect:t,dir:n,checkNodeDis:r}){let o=(t.right+t.left)/2,s=(t.bottom+t.top)/2;this.forEachNode(t=>{if(t.uid===e.uid)return;let a=this.getNodeRect(t),{left:l,top:c,right:u,bottom:h}=a,d=(u+l)/2,f=(h+c)/2,p=d-o,m=f-s;if(0===p&&0===m)return;let g=!1;n===i["a"].KEY_DIR.LEFT?g=p<=0&&p<=m&&p<=-m:n===i["a"].KEY_DIR.RIGHT?g=p>0&&p>=-m&&p>=m:n===i["a"].KEY_DIR.UP?g=m<=0&&m<p&&m<-p:n===i["a"].KEY_DIR.DOWN&&(g=m>0&&-m<p&&m>p),g&&r(a,t)})}getNodeRect(e){let{scaleX:t,scaleY:n,translateX:r,translateY:i}=this.mindMap.draw.transform(),{left:o,top:s,width:a,height:l}=e;return{right:(o+a)*t+r,bottom:(s+l)*n+i,left:o*t+r,top:s*n+i}}getDistance(e,t){let n=this.getCenter(e),r=this.getCenter(t);return Math.sqrt(Math.pow(n.x-r.x,2)+Math.pow(n.y-r.y,2))}getCenter({left:e,right:t,top:n,bottom:r}){return{x:(e+t)/2,y:(n+r)/2}}beforePluginRemove(){this.removeShortcut()}beforePluginDestroy(){this.removeShortcut()}}o.instanceName="keyboardNavigation",t["a"]=o},a83d:function(e,t,n){(function(e){(function(t){t.parser=function(e,t){return new o(e,t)},t.SAXParser=o,t.SAXStream=h,t.createStream=u,t.MAX_BUFFER_LENGTH=65536;var r,i=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function o(e,n){if(!(this instanceof o))return new o(e,n);var r=this;a(r),r.q=r.c="",r.bufferCheckPosition=t.MAX_BUFFER_LENGTH,r.opt=n||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?"toLowerCase":"toUpperCase",r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!e,r.noscript=!(!e&&!r.opt.noscript),r.state=z.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(g)),void 0===r.opt.unquotedAttributeValues&&(r.opt.unquotedAttributeValues=!e),r.trackPosition=!1!==r.opt.position,r.trackPosition&&(r.position=r.line=r.column=0),O(r,"onready")}function s(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),r=0,o=0,s=i.length;o<s;o++){var a=e[i[o]].length;if(a>n)switch(i[o]){case"textNode":M(e);break;case"cdata":E(e,"oncdata",e.cdata),e.cdata="";break;case"script":E(e,"onscript",e.script),e.script="";break;default:R(e,"Max buffer length exceeded: "+i[o])}r=Math.max(r,a)}var l=t.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=l+e.position}function a(e){for(var t=0,n=i.length;t<n;t++)e[i[t]]=""}function l(e){M(e),""!==e.cdata&&(E(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(E(e,"onscript",e.script),e.script="")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}t.prototype=e;var n=new t;return n}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),o.prototype={end:function(){L(this)},write:H,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){l(this)}};try{r=n("d485").Stream}catch(W){r=function(){}}r||(r=function(){});var c=t.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function u(e,t){return new h(e,t)}function h(e,t){if(!(this instanceof h))return new h(e,t);r.apply(this),this._parser=new o(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,c.forEach((function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}h.prototype=Object.create(r.prototype,{constructor:{value:h}}),h.prototype.write=function(t){if("function"===typeof e&&"function"===typeof e.isBuffer&&e.isBuffer(t)){if(!this._decoder){var r=n("7d72").StringDecoder;this._decoder=new r("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},h.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},h.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||-1===c.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),r.prototype.on.call(n,e,t)};var d="[CDATA[",f="DOCTYPE",p="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",g={xml:p,xmlns:m},b=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,y=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,v=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,x=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function w(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function k(e){return'"'===e||"'"===e}function S(e){return">"===e||w(e)}function C(e,t){return e.test(t)}function T(e,t){return!C(e,t)}var z=0;for(var A in t.STATE={BEGIN:z++,BEGIN_WHITESPACE:z++,TEXT:z++,TEXT_ENTITY:z++,OPEN_WAKA:z++,SGML_DECL:z++,SGML_DECL_QUOTED:z++,DOCTYPE:z++,DOCTYPE_QUOTED:z++,DOCTYPE_DTD:z++,DOCTYPE_DTD_QUOTED:z++,COMMENT_STARTING:z++,COMMENT:z++,COMMENT_ENDING:z++,COMMENT_ENDED:z++,CDATA:z++,CDATA_ENDING:z++,CDATA_ENDING_2:z++,PROC_INST:z++,PROC_INST_BODY:z++,PROC_INST_ENDING:z++,OPEN_TAG:z++,OPEN_TAG_SLASH:z++,ATTRIB:z++,ATTRIB_NAME:z++,ATTRIB_NAME_SAW_WHITE:z++,ATTRIB_VALUE:z++,ATTRIB_VALUE_QUOTED:z++,ATTRIB_VALUE_CLOSED:z++,ATTRIB_VALUE_UNQUOTED:z++,ATTRIB_VALUE_ENTITY_Q:z++,ATTRIB_VALUE_ENTITY_U:z++,CLOSE_TAG:z++,CLOSE_TAG_SAW_WHITE:z++,SCRIPT:z++,SCRIPT_ENDING:z++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach((function(e){var n=t.ENTITIES[e],r="number"===typeof n?String.fromCharCode(n):n;t.ENTITIES[e]=r})),t.STATE)t.STATE[t.STATE[A]]=A;function O(e,t,n){e[t]&&e[t](n)}function E(e,t,n){e.textNode&&M(e),O(e,t,n)}function M(e){e.textNode=N(e.opt,e.textNode),e.textNode&&O(e,"ontext",e.textNode),e.textNode=""}function N(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function R(e,t){return M(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,O(e,"onerror",t),e}function L(e){return e.sawRoot&&!e.closedRoot&&D(e,"Unclosed root tag"),e.state!==z.BEGIN&&e.state!==z.BEGIN_WHITESPACE&&e.state!==z.TEXT&&R(e,"Unexpected end"),M(e),e.c="",e.closed=!0,O(e,"onend"),o.call(e,e.strict,e.opt),e}function D(e,t){if("object"!==typeof e||!(e instanceof o))throw new Error("bad call to strictFail");e.strict&&R(e,t)}function F(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,E(e,"onopentagstart",n)}function j(e,t){var n=e.indexOf(":"),r=n<0?["",e]:e.split(":"),i=r[0],o=r[1];return t&&"xmlns"===e&&(i="xmlns",o=""),{prefix:i,local:o}}function I(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=j(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==p)D(e,"xml: prefix must be bound to "+p+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==m)D(e,"xmlns: prefix must be bound to "+m+"\nActual: "+e.attribValue);else{var i=e.tag,o=e.tags[e.tags.length-1]||e;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,E(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function B(e,t){if(e.opt.xmlns){var n=e.tag,r=j(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(D(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var i=e.tags[e.tags.length-1]||e;n.ns&&i.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){E(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var o=0,s=e.attribList.length;o<s;o++){var a=e.attribList[o],l=a[0],c=a[1],u=j(l,!0),h=u.prefix,d=u.local,f=""===h?"":n.ns[h]||"",p={name:l,value:c,prefix:h,local:d,uri:f};h&&"xmlns"!==h&&!f&&(D(e,"Unbound namespace prefix: "+JSON.stringify(h)),p.uri=h),e.tag.attributes[l]=p,E(e,"onattribute",p)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),E(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=z.TEXT:e.state=z.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function _(e){if(!e.tagName)return D(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=z.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=z.SCRIPT);E(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());var r=n;while(t--){var i=e.tags[t];if(i.name===r)break;D(e,"Unexpected close tag")}if(t<0)return D(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=z.TEXT);e.tagName=n;var o=e.tags.length;while(o-- >t){var s=e.tag=e.tags.pop();e.tagName=e.tag.name,E(e,"onclosetag",e.tagName);var a={};for(var l in s.ns)a[l]=s.ns[l];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&s.ns!==c.ns&&Object.keys(s.ns).forEach((function(t){var n=s.ns[t];E(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=z.TEXT}function q(e){var t,n=e.entity,r=n.toLowerCase(),i="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:(n=r,"#"===n.charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),t=parseInt(n,16),i=t.toString(16)):(n=n.slice(1),t=parseInt(n,10),i=t.toString(10))),n=n.replace(/^0+/,""),isNaN(t)||i.toLowerCase()!==n?(D(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function P(e,t){"<"===t?(e.state=z.OPEN_WAKA,e.startTagPosition=e.position):w(t)||(D(e,"Non-whitespace before first tag."),e.textNode=t,e.state=z.TEXT)}function U(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}function H(e){var n=this;if(this.error)throw this.error;if(n.closed)return R(n,"Cannot write after close. Assign an onready handler.");if(null===e)return L(n);"object"===typeof e&&(e=e.toString());var r=0,i="";while(1){if(i=U(e,r++),n.c=i,!i)break;switch(n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++),n.state){case z.BEGIN:if(n.state=z.BEGIN_WHITESPACE,"\ufeff"===i)continue;P(n,i);continue;case z.BEGIN_WHITESPACE:P(n,i);continue;case z.TEXT:if(n.sawRoot&&!n.closedRoot){var o=r-1;while(i&&"<"!==i&&"&"!==i)i=U(e,r++),i&&n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++);n.textNode+=e.substring(o,r-1)}"<"!==i||n.sawRoot&&n.closedRoot&&!n.strict?(w(i)||n.sawRoot&&!n.closedRoot||D(n,"Text data outside of root node."),"&"===i?n.state=z.TEXT_ENTITY:n.textNode+=i):(n.state=z.OPEN_WAKA,n.startTagPosition=n.position);continue;case z.SCRIPT:"<"===i?n.state=z.SCRIPT_ENDING:n.script+=i;continue;case z.SCRIPT_ENDING:"/"===i?n.state=z.CLOSE_TAG:(n.script+="<"+i,n.state=z.SCRIPT);continue;case z.OPEN_WAKA:if("!"===i)n.state=z.SGML_DECL,n.sgmlDecl="";else if(w(i));else if(C(b,i))n.state=z.OPEN_TAG,n.tagName=i;else if("/"===i)n.state=z.CLOSE_TAG,n.tagName="";else if("?"===i)n.state=z.PROC_INST,n.procInstName=n.procInstBody="";else{if(D(n,"Unencoded <"),n.startTagPosition+1<n.position){var a=n.position-n.startTagPosition;i=new Array(a).join(" ")+i}n.textNode+="<"+i,n.state=z.TEXT}continue;case z.SGML_DECL:if(n.sgmlDecl+i==="--"){n.state=z.COMMENT,n.comment="",n.sgmlDecl="";continue}n.doctype&&!0!==n.doctype&&n.sgmlDecl?(n.state=z.DOCTYPE_DTD,n.doctype+="<!"+n.sgmlDecl+i,n.sgmlDecl=""):(n.sgmlDecl+i).toUpperCase()===d?(E(n,"onopencdata"),n.state=z.CDATA,n.sgmlDecl="",n.cdata=""):(n.sgmlDecl+i).toUpperCase()===f?(n.state=z.DOCTYPE,(n.doctype||n.sawRoot)&&D(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===i?(E(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=z.TEXT):k(i)?(n.state=z.SGML_DECL_QUOTED,n.sgmlDecl+=i):n.sgmlDecl+=i;continue;case z.SGML_DECL_QUOTED:i===n.q&&(n.state=z.SGML_DECL,n.q=""),n.sgmlDecl+=i;continue;case z.DOCTYPE:">"===i?(n.state=z.TEXT,E(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=i,"["===i?n.state=z.DOCTYPE_DTD:k(i)&&(n.state=z.DOCTYPE_QUOTED,n.q=i));continue;case z.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q="",n.state=z.DOCTYPE);continue;case z.DOCTYPE_DTD:"]"===i?(n.doctype+=i,n.state=z.DOCTYPE):"<"===i?(n.state=z.OPEN_WAKA,n.startTagPosition=n.position):k(i)?(n.doctype+=i,n.state=z.DOCTYPE_DTD_QUOTED,n.q=i):n.doctype+=i;continue;case z.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=z.DOCTYPE_DTD,n.q="");continue;case z.COMMENT:"-"===i?n.state=z.COMMENT_ENDING:n.comment+=i;continue;case z.COMMENT_ENDING:"-"===i?(n.state=z.COMMENT_ENDED,n.comment=N(n.opt,n.comment),n.comment&&E(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+i,n.state=z.COMMENT);continue;case z.COMMENT_ENDED:">"!==i?(D(n,"Malformed comment"),n.comment+="--"+i,n.state=z.COMMENT):n.doctype&&!0!==n.doctype?n.state=z.DOCTYPE_DTD:n.state=z.TEXT;continue;case z.CDATA:"]"===i?n.state=z.CDATA_ENDING:n.cdata+=i;continue;case z.CDATA_ENDING:"]"===i?n.state=z.CDATA_ENDING_2:(n.cdata+="]"+i,n.state=z.CDATA);continue;case z.CDATA_ENDING_2:">"===i?(n.cdata&&E(n,"oncdata",n.cdata),E(n,"onclosecdata"),n.cdata="",n.state=z.TEXT):"]"===i?n.cdata+="]":(n.cdata+="]]"+i,n.state=z.CDATA);continue;case z.PROC_INST:"?"===i?n.state=z.PROC_INST_ENDING:w(i)?n.state=z.PROC_INST_BODY:n.procInstName+=i;continue;case z.PROC_INST_BODY:if(!n.procInstBody&&w(i))continue;"?"===i?n.state=z.PROC_INST_ENDING:n.procInstBody+=i;continue;case z.PROC_INST_ENDING:">"===i?(E(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=z.TEXT):(n.procInstBody+="?"+i,n.state=z.PROC_INST_BODY);continue;case z.OPEN_TAG:C(y,i)?n.tagName+=i:(F(n),">"===i?B(n):"/"===i?n.state=z.OPEN_TAG_SLASH:(w(i)||D(n,"Invalid character in tag name"),n.state=z.ATTRIB));continue;case z.OPEN_TAG_SLASH:">"===i?(B(n,!0),_(n)):(D(n,"Forward-slash in opening tag not followed by >"),n.state=z.ATTRIB);continue;case z.ATTRIB:if(w(i))continue;">"===i?B(n):"/"===i?n.state=z.OPEN_TAG_SLASH:C(b,i)?(n.attribName=i,n.attribValue="",n.state=z.ATTRIB_NAME):D(n,"Invalid attribute name");continue;case z.ATTRIB_NAME:"="===i?n.state=z.ATTRIB_VALUE:">"===i?(D(n,"Attribute without value"),n.attribValue=n.attribName,I(n),B(n)):w(i)?n.state=z.ATTRIB_NAME_SAW_WHITE:C(y,i)?n.attribName+=i:D(n,"Invalid attribute name");continue;case z.ATTRIB_NAME_SAW_WHITE:if("="===i)n.state=z.ATTRIB_VALUE;else{if(w(i))continue;D(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",E(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===i?B(n):C(b,i)?(n.attribName=i,n.state=z.ATTRIB_NAME):(D(n,"Invalid attribute name"),n.state=z.ATTRIB)}continue;case z.ATTRIB_VALUE:if(w(i))continue;k(i)?(n.q=i,n.state=z.ATTRIB_VALUE_QUOTED):(n.opt.unquotedAttributeValues||R(n,"Unquoted attribute value"),n.state=z.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case z.ATTRIB_VALUE_QUOTED:if(i!==n.q){"&"===i?n.state=z.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}I(n),n.q="",n.state=z.ATTRIB_VALUE_CLOSED;continue;case z.ATTRIB_VALUE_CLOSED:w(i)?n.state=z.ATTRIB:">"===i?B(n):"/"===i?n.state=z.OPEN_TAG_SLASH:C(b,i)?(D(n,"No whitespace between attributes"),n.attribName=i,n.attribValue="",n.state=z.ATTRIB_NAME):D(n,"Invalid attribute name");continue;case z.ATTRIB_VALUE_UNQUOTED:if(!S(i)){"&"===i?n.state=z.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}I(n),">"===i?B(n):n.state=z.ATTRIB;continue;case z.CLOSE_TAG:if(n.tagName)">"===i?_(n):C(y,i)?n.tagName+=i:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=z.SCRIPT):(w(i)||D(n,"Invalid tagname in closing tag"),n.state=z.CLOSE_TAG_SAW_WHITE);else{if(w(i))continue;T(b,i)?n.script?(n.script+="</"+i,n.state=z.SCRIPT):D(n,"Invalid tagname in closing tag."):n.tagName=i}continue;case z.CLOSE_TAG_SAW_WHITE:if(w(i))continue;">"===i?_(n):D(n,"Invalid characters in closing tag");continue;case z.TEXT_ENTITY:case z.ATTRIB_VALUE_ENTITY_Q:case z.ATTRIB_VALUE_ENTITY_U:var l,c;switch(n.state){case z.TEXT_ENTITY:l=z.TEXT,c="textNode";break;case z.ATTRIB_VALUE_ENTITY_Q:l=z.ATTRIB_VALUE_QUOTED,c="attribValue";break;case z.ATTRIB_VALUE_ENTITY_U:l=z.ATTRIB_VALUE_UNQUOTED,c="attribValue";break}if(";"===i){var u=q(n);n.opt.unparsedEntities&&!Object.values(t.XML_ENTITIES).includes(u)?(n.entity="",n.state=l,n.write(u)):(n[c]+=u,n.entity="",n.state=l)}else C(n.entity.length?x:v,i)?n.entity+=i:(D(n,"Invalid character in entity name"),n[c]+="&"+n.entity+i,n.entity="",n.state=l);continue;default:throw new Error(n,"Unknown state: "+n.state)}}return n.position>=n.bufferCheckPosition&&s(n),n}
|
||
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */z=t.STATE,String.fromCodePoint||function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n,r,i=16384,o=[],s=-1,a=arguments.length;if(!a)return"";var l="";while(++s<a){var c=Number(arguments[s]);if(!isFinite(c)||c<0||c>1114111||t(c)!==c)throw RangeError("Invalid code point: "+c);c<=65535?o.push(c):(c-=65536,n=55296+(c>>10),r=c%1024+56320,o.push(n,r)),(s+1===a||o.length>i)&&(l+=e.apply(null,o),o.length=0)}return l};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()})(t)}).call(this,n("b639").Buffer)},a87c:function(e,t,n){"use strict";var r=n("1e42");class i{constructor({mindMap:e}){this.mindMap=e,this.touchesNum=0,this.singleTouchstartEvent=null,this.clickNum=0,this.touchStartScaleView=null,this.lastTouchStartPosition=null,this.lastTouchStartDistance=0,this.bindEvent()}bindEvent(){this.onTouchstart=this.onTouchstart.bind(this),this.onTouchmove=this.onTouchmove.bind(this),this.onTouchcancel=this.onTouchcancel.bind(this),this.onTouchend=this.onTouchend.bind(this),window.addEventListener("touchstart",this.onTouchstart,{passive:!1}),window.addEventListener("touchmove",this.onTouchmove,{passive:!1}),window.addEventListener("touchcancel",this.onTouchcancel,{passive:!1}),window.addEventListener("touchend",this.onTouchend,{passive:!1})}unBindEvent(){window.removeEventListener("touchstart",this.onTouchstart),window.removeEventListener("touchmove",this.onTouchmove),window.removeEventListener("touchcancel",this.onTouchcancel),window.removeEventListener("touchend",this.onTouchend)}onTouchstart(e){if(this.touchesNum=e.touches.length,this.touchStartScaleView=null,1===this.touchesNum){let t=e.touches[0];this.lastTouchStartPosition&&(this.lastTouchStartDistance=Object(r["T"])(this.lastTouchStartPosition.x,this.lastTouchStartPosition.y,t.clientX,t.clientY)),this.lastTouchStartPosition={x:t.clientX,y:t.clientY},this.singleTouchstartEvent=t,this.dispatchMouseEvent("mousedown",t.target,t)}}onTouchmove(e){let t=e.touches.length;if(1===t){let t=e.touches[0];this.dispatchMouseEvent("mousemove",t.target,t)}else if(2===t){let{disableTouchZoom:t,minTouchZoomScale:n,maxTouchZoomScale:r}=this.mindMap.opt;if(t)return;n=-1===n?-1/0:n/100,r=-1===r?1/0:r/100;let i=e.touches[0],o=e.touches[1],s=i.clientX-o.clientX,a=i.clientY-o.clientY,l=Math.sqrt(Math.pow(s,2)+Math.pow(a,2)),{x:c,y:u}=this.mindMap.toPos(i.clientX,i.clientY),{x:h,y:d}=this.mindMap.toPos(o.clientX,o.clientY),f=(c+h)/2,p=(u+d)/2;const m=this.mindMap.view;if(!this.touchStartScaleView)return void(this.touchStartScaleView={distance:l,scale:m.scale,x:m.x,y:m.y,cx:f,cy:p});const g=this.touchStartScaleView;let b=g.scale*(l/g.distance);Math.abs(l-g.distance)<=10&&(b=g.scale),b=b<n?n:b>r?r:b;const y=1-b/g.scale;m.scale=b,m.x=g.x+(f-g.x)*y+(f-g.cx)*b,m.y=g.y+(p-g.y)*y+(p-g.cy)*b,m.transform(),this.mindMap.emit("scale",b)}}onTouchcancel(e){}onTouchend(e){if(this.dispatchMouseEvent("mouseup",e.target),1===this.touchesNum){this.clickNum++,setTimeout(()=>{this.clickNum=0,this.lastTouchStartPosition=null,this.lastTouchStartDistance=0},300);let e=this.singleTouchstartEvent;this.clickNum>1&&this.lastTouchStartDistance<=5&&(this.clickNum=0,this.dispatchMouseEvent("dblclick",e.target,e))}this.touchesNum=0,this.singleTouchstartEvent=null,this.touchStartScaleView=null}dispatchMouseEvent(e,t,n){let r={};n&&(r={screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY,which:1});let i=new MouseEvent(e,{view:document.defaultView,bubbles:!0,cancelable:!0,...r});t.dispatchEvent(i)}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}i.instanceName="touchEvent",t["a"]=i},a935:function(e,t,n){"use strict";n.d(t,"i",(function(){return r["f"]})),n.d(t,"R",(function(){return r["x"]})),n.d(t,"O",(function(){return r["s"]})),n.d(t,"w",(function(){return ee})),n.d(t,"B",(function(){return ie})),n.d(t,"N",(function(){return pe})),n.d(t,"K",(function(){return we})),n.d(t,"Q",(function(){return Te})),n.d(t,"f",(function(){return je})),n.d(t,"g",(function(){return Be})),n.d(t,"h",(function(){return Ue})),n.d(t,"P",(function(){return et})),n.d(t,"E",(function(){return At})),n.d(t,"A",(function(){return f})),n.d(t,"L",(function(){return De["a"]})),n.d(t,"y",(function(){return Se["a"]})),n.d(t,"z",(function(){return M})),n.d(t,"t",(function(){return m})),n.d(t,"x",(function(){return D})),n.d(t,"I",(function(){return U})),n.d(t,"J",(function(){return j})),n.d(t,"u",(function(){return On})),n.d(t,"v",(function(){return Z})),n.d(t,"G",(function(){return Mn})),n.d(t,"F",(function(){return ne})),n.d(t,"C",(function(){return W})),n.d(t,"D",(function(){return G})),n.d(t,"H",(function(){return nr})),n.d(t,"M",(function(){return Vt})),n.d(t,"e",(function(){return jn})),n.d(t,"j",(function(){return Jt})),n.d(t,"k",(function(){return nn})),n.d(t,"l",(function(){return zn})),n.d(t,"m",(function(){return mn})),n.d(t,"n",(function(){return on})),n.d(t,"o",(function(){return hn})),n.d(t,"p",(function(){return fn})),n.d(t,"q",(function(){return an})),n.d(t,"r",(function(){return Kt})),n.d(t,"s",(function(){return cn})),n.d(t,"c",(function(){return Et})),n.d(t,"a",(function(){return Mt})),n.d(t,"d",(function(){return Nt})),n.d(t,"b",(function(){return Rt})),n.d(t,"S",(function(){return gn}));var r=n("f537"),i=n("7280"),o=n("c4ab"),s=n("77f5"),a=n.n(s),l=n("5d9a"),c=function(){function e(e,t){this.major=String(e),this.minor=String(t)}return e.prototype.toString=function(){var e=Object(l["s"])(129);return"%PDF-"+this.major+"."+this.minor+"\n%"+e+e+e+e},e.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=i["a"].Percent,e[t++]=i["a"].P,e[t++]=i["a"].D,e[t++]=i["a"].F,e[t++]=i["a"].Dash,t+=Object(l["w"])(this.major,e,t),e[t++]=i["a"].Period,t+=Object(l["w"])(this.minor,e,t),e[t++]=i["a"].Newline,e[t++]=i["a"].Percent,e[t++]=129,e[t++]=129,e[t++]=129,e[t++]=129,t-n},e.forVersion=function(t,n){return new e(t,n)},e}(),u=c,h=n("6f54"),d=function(e){function t(t){var n=e.call(this)||this;return n.numberValue=t,n.stringValue=Object(l["H"])(t),n}return Object(o["c"])(t,e),t.prototype.asNumber=function(){return this.numberValue},t.prototype.value=function(){return this.numberValue},t.prototype.clone=function(){return t.of(this.numberValue)},t.prototype.toString=function(){return this.stringValue},t.prototype.sizeInBytes=function(){return this.stringValue.length},t.prototype.copyBytesInto=function(e,t){return t+=Object(l["w"])(this.stringValue,e,t),this.stringValue.length},t.of=function(e){return new t(e)},t}(h["a"]),f=d,p=function(e){function t(t){var n=e.call(this)||this;return n.array=[],n.context=t,n}return Object(o["c"])(t,e),t.prototype.size=function(){return this.array.length},t.prototype.push=function(e){this.array.push(e)},t.prototype.insert=function(e,t){this.array.splice(e,0,t)},t.prototype.indexOf=function(e){var t=this.array.indexOf(e);return-1===t?void 0:t},t.prototype.remove=function(e){this.array.splice(e,1)},t.prototype.set=function(e,t){this.array[e]=t},t.prototype.get=function(e){return this.array[e]},t.prototype.lookupMaybe=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(t=this.context).lookupMaybe.apply(t,Object(o["f"])([this.get(e)],n))},t.prototype.lookup=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(t=this.context).lookup.apply(t,Object(o["f"])([this.get(e)],n))},t.prototype.asRectangle=function(){if(4!==this.size())throw new r["o"](this.size());var e=this.lookup(0,f).asNumber(),t=this.lookup(1,f).asNumber(),n=this.lookup(2,f).asNumber(),i=this.lookup(3,f).asNumber(),o=e,s=t,a=n-e,l=i-t;return{x:o,y:s,width:a,height:l}},t.prototype.asArray=function(){return this.array.slice()},t.prototype.clone=function(e){for(var n=t.withContext(e||this.context),r=0,i=this.size();r<i;r++)n.push(this.array[r]);return n},t.prototype.toString=function(){for(var e="[ ",t=0,n=this.size();t<n;t++)e+=this.get(t).toString(),e+=" ";return e+="]",e},t.prototype.sizeInBytes=function(){for(var e=3,t=0,n=this.size();t<n;t++)e+=this.get(t).sizeInBytes()+1;return e},t.prototype.copyBytesInto=function(e,t){var n=t;e[t++]=i["a"].LeftSquareBracket,e[t++]=i["a"].Space;for(var r=0,o=this.size();r<o;r++)t+=this.get(r).copyBytesInto(e,t),e[t++]=i["a"].Space;return e[t++]=i["a"].RightSquareBracket,t-n},t.prototype.scalePDFNumbers=function(e,t){for(var n=0,r=this.size();n<r;n++){var i=this.lookup(n);if(i instanceof f){var o=n%2===0?e:t;this.set(n,f.of(i.asNumber()*o))}}},t.withContext=function(e){return new t(e)},t}(h["a"]),m=p,g={},b=function(e){function t(t,n){var i=this;if(t!==g)throw new r["t"]("PDFBool");return i=e.call(this)||this,i.value=n,i}return Object(o["c"])(t,e),t.prototype.asBoolean=function(){return this.value},t.prototype.clone=function(){return this},t.prototype.toString=function(){return String(this.value)},t.prototype.sizeInBytes=function(){return this.value?4:5},t.prototype.copyBytesInto=function(e,t){return this.value?(e[t++]=i["a"].t,e[t++]=i["a"].r,e[t++]=i["a"].u,e[t++]=i["a"].e,4):(e[t++]=i["a"].f,e[t++]=i["a"].a,e[t++]=i["a"].l,e[t++]=i["a"].s,e[t++]=i["a"].e,5)},t.True=new t(g,!0),t.False=new t(g,!1),t}(h["a"]),y=b,v=new Uint8Array(256);v[i["a"].LeftParen]=1,v[i["a"].RightParen]=1,v[i["a"].LessThan]=1,v[i["a"].GreaterThan]=1,v[i["a"].LeftSquareBracket]=1,v[i["a"].RightSquareBracket]=1,v[i["a"].LeftCurly]=1,v[i["a"].RightCurly]=1,v[i["a"].ForwardSlash]=1,v[i["a"].Percent]=1;var x=new Uint8Array(256);x[i["a"].Null]=1,x[i["a"].Tab]=1,x[i["a"].Newline]=1,x[i["a"].FormFeed]=1,x[i["a"].CarriageReturn]=1,x[i["a"].Space]=1;for(var w=new Uint8Array(256),k=0,S=256;k<S;k++)w[k]=x[k]||v[k]?1:0;w[i["a"].Hash]=1;var C,T=function(e){return e.replace(/#([\dABCDEF]{2})/g,(function(e,t){return Object(l["t"])(t)}))},z=function(e){return e>=i["a"].ExclamationPoint&&e<=i["a"].Tilde&&!w[e]},A={},O=new Map,E=function(e){function t(t,n){var i=this;if(t!==A)throw new r["t"]("PDFName");i=e.call(this)||this;for(var o="/",s=0,a=n.length;s<a;s++){var c=n[s],u=Object(l["S"])(c);o+=z(u)?c:"#"+Object(l["U"])(u)}return i.encodedName=o,i}return Object(o["c"])(t,e),t.prototype.asBytes=function(){for(var e=[],t="",n=!1,r=function(t){void 0!==t&&e.push(t),n=!1},o=1,s=this.encodedName.length;o<s;o++){var a=this.encodedName[o],c=Object(l["S"])(a),u=this.encodedName[o+1];n?c>=i["a"].Zero&&c<=i["a"].Nine||c>=i["a"].a&&c<=i["a"].f||c>=i["a"].A&&c<=i["a"].F?(t+=a,2!==t.length&&(u>="0"&&u<="9"||u>="a"&&u<="f"||u>="A"&&u<="F")||(r(parseInt(t,16)),t="")):r(c):c===i["a"].Hash?n=!0:r(c)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return String.fromCharCode.apply(String,Array.from(e))},t.prototype.asString=function(){return this.encodedName},t.prototype.value=function(){return this.encodedName},t.prototype.clone=function(){return this},t.prototype.toString=function(){return this.encodedName},t.prototype.sizeInBytes=function(){return this.encodedName.length},t.prototype.copyBytesInto=function(e,t){return t+=Object(l["w"])(this.encodedName,e,t),this.encodedName.length},t.of=function(e){var n=T(e),r=O.get(n);return r||(r=new t(A,n),O.set(n,r)),r},t.Length=t.of("Length"),t.FlateDecode=t.of("FlateDecode"),t.Resources=t.of("Resources"),t.Font=t.of("Font"),t.XObject=t.of("XObject"),t.ExtGState=t.of("ExtGState"),t.Contents=t.of("Contents"),t.Type=t.of("Type"),t.Parent=t.of("Parent"),t.MediaBox=t.of("MediaBox"),t.Page=t.of("Page"),t.Annots=t.of("Annots"),t.TrimBox=t.of("TrimBox"),t.ArtBox=t.of("ArtBox"),t.BleedBox=t.of("BleedBox"),t.CropBox=t.of("CropBox"),t.Rotate=t.of("Rotate"),t.Title=t.of("Title"),t.Author=t.of("Author"),t.Subject=t.of("Subject"),t.Creator=t.of("Creator"),t.Keywords=t.of("Keywords"),t.Producer=t.of("Producer"),t.CreationDate=t.of("CreationDate"),t.ModDate=t.of("ModDate"),t}(h["a"]),M=E,N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.asNull=function(){return null},t.prototype.clone=function(){return this},t.prototype.toString=function(){return"null"},t.prototype.sizeInBytes=function(){return 4},t.prototype.copyBytesInto=function(e,t){return e[t++]=i["a"].n,e[t++]=i["a"].u,e[t++]=i["a"].l,e[t++]=i["a"].l,4},t}(h["a"]),R=new N,L=function(e){function t(t,n){var r=e.call(this)||this;return r.dict=t,r.context=n,r}return Object(o["c"])(t,e),t.prototype.keys=function(){return Array.from(this.dict.keys())},t.prototype.values=function(){return Array.from(this.dict.values())},t.prototype.entries=function(){return Array.from(this.dict.entries())},t.prototype.set=function(e,t){this.dict.set(e,t)},t.prototype.get=function(e,t){void 0===t&&(t=!1);var n=this.dict.get(e);if(n!==R||t)return n},t.prototype.has=function(e){var t=this.dict.get(e);return void 0!==t&&t!==R},t.prototype.lookupMaybe=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n.includes(R),s=(t=this.context).lookupMaybe.apply(t,Object(o["f"])([this.get(e,i)],n));if(s!==R||i)return s},t.prototype.lookup=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n.includes(R),s=(t=this.context).lookup.apply(t,Object(o["f"])([this.get(e,i)],n));if(s!==R||i)return s},t.prototype.delete=function(e){return this.dict.delete(e)},t.prototype.asMap=function(){return new Map(this.dict)},t.prototype.uniqueKey=function(e){void 0===e&&(e="");var t=this.keys(),n=M.of(this.context.addRandomSuffix(e,10));while(t.includes(n))n=M.of(this.context.addRandomSuffix(e,10));return n},t.prototype.clone=function(e){for(var n=t.withContext(e||this.context),r=this.entries(),i=0,o=r.length;i<o;i++){var s=r[i],a=s[0],l=s[1];n.set(a,l)}return n},t.prototype.toString=function(){for(var e="<<\n",t=this.entries(),n=0,r=t.length;n<r;n++){var i=t[n],o=i[0],s=i[1];e+=o.toString()+" "+s.toString()+"\n"}return e+=">>",e},t.prototype.sizeInBytes=function(){for(var e=5,t=this.entries(),n=0,r=t.length;n<r;n++){var i=t[n],o=i[0],s=i[1];e+=o.sizeInBytes()+s.sizeInBytes()+2}return e},t.prototype.copyBytesInto=function(e,t){var n=t;e[t++]=i["a"].LessThan,e[t++]=i["a"].LessThan,e[t++]=i["a"].Newline;for(var r=this.entries(),o=0,s=r.length;o<s;o++){var a=r[o],l=a[0],c=a[1];t+=l.copyBytesInto(e,t),e[t++]=i["a"].Space,t+=c.copyBytesInto(e,t),e[t++]=i["a"].Newline}return e[t++]=i["a"].GreaterThan,e[t++]=i["a"].GreaterThan,t-n},t.withContext=function(e){return new t(new Map,e)},t.fromMapWithContext=function(e,n){return new t(e,n)},t}(h["a"]),D=L,F=function(e){function t(t){var n=e.call(this)||this;return n.dict=t,n}return Object(o["c"])(t,e),t.prototype.clone=function(e){throw new r["f"](this.constructor.name,"clone")},t.prototype.getContentsString=function(){throw new r["f"](this.constructor.name,"getContentsString")},t.prototype.getContents=function(){throw new r["f"](this.constructor.name,"getContents")},t.prototype.getContentsSize=function(){throw new r["f"](this.constructor.name,"getContentsSize")},t.prototype.updateDict=function(){var e=this.getContentsSize();this.dict.set(M.Length,f.of(e))},t.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},t.prototype.toString=function(){this.updateDict();var e=this.dict.toString();return e+="\nstream\n",e+=this.getContentsString(),e+="\nendstream",e},t.prototype.copyBytesInto=function(e,t){this.updateDict();var n=t;t+=this.dict.copyBytesInto(e,t),e[t++]=i["a"].Newline,e[t++]=i["a"].s,e[t++]=i["a"].t,e[t++]=i["a"].r,e[t++]=i["a"].e,e[t++]=i["a"].a,e[t++]=i["a"].m,e[t++]=i["a"].Newline;for(var r=this.getContents(),o=0,s=r.length;o<s;o++)e[t++]=r[o];return e[t++]=i["a"].Newline,e[t++]=i["a"].e,e[t++]=i["a"].n,e[t++]=i["a"].d,e[t++]=i["a"].s,e[t++]=i["a"].t,e[t++]=i["a"].r,e[t++]=i["a"].e,e[t++]=i["a"].a,e[t++]=i["a"].m,t-n},t}(h["a"]),j=F,I=function(e){function t(t,n){var r=e.call(this,t)||this;return r.contents=n,r}return Object(o["c"])(t,e),t.prototype.asUint8Array=function(){return this.contents.slice()},t.prototype.clone=function(e){return t.of(this.dict.clone(e),this.contents.slice())},t.prototype.getContentsString=function(){return Object(l["b"])(this.contents)},t.prototype.getContents=function(){return this.contents},t.prototype.getContentsSize=function(){return this.contents.length},t.of=function(e,n){return new t(e,n)},t}(j),B=I,_={},q=new Map,P=function(e){function t(t,n,i){var o=this;if(t!==_)throw new r["t"]("PDFRef");return o=e.call(this)||this,o.objectNumber=n,o.generationNumber=i,o.tag=n+" "+i+" R",o}return Object(o["c"])(t,e),t.prototype.clone=function(){return this},t.prototype.toString=function(){return this.tag},t.prototype.sizeInBytes=function(){return this.tag.length},t.prototype.copyBytesInto=function(e,t){return t+=Object(l["w"])(this.tag,e,t),this.tag.length},t.of=function(e,n){void 0===n&&(n=0);var r=e+" "+n+" R",i=q.get(r);return i||(i=new t(_,e,n),q.set(r,i)),i},t}(h["a"]),U=P,H=function(){function e(e,t){this.name=e,this.args=t||[]}return e.prototype.clone=function(t){for(var n=new Array(this.args.length),r=0,i=n.length;r<i;r++){var o=this.args[r];n[r]=o instanceof h["a"]?o.clone(t):o}return e.of(this.name,n)},e.prototype.toString=function(){for(var e="",t=0,n=this.args.length;t<n;t++)e+=String(this.args[t])+" ";return e+=this.name,e},e.prototype.sizeInBytes=function(){for(var e=0,t=0,n=this.args.length;t<n;t++){var r=this.args[t];e+=(r instanceof h["a"]?r.sizeInBytes():r.length)+1}return e+=this.name.length,e},e.prototype.copyBytesInto=function(e,t){for(var n=t,r=0,o=this.args.length;r<o;r++){var s=this.args[r];s instanceof h["a"]?t+=s.copyBytesInto(e,t):t+=Object(l["w"])(s,e,t),e[t++]=i["a"].Space}return t+=Object(l["w"])(this.name,e,t),t-n},e.of=function(t,n){return new e(t,n)},e}(),W=H;(function(e){e["NonStrokingColor"]="sc",e["NonStrokingColorN"]="scn",e["NonStrokingColorRgb"]="rg",e["NonStrokingColorGray"]="g",e["NonStrokingColorCmyk"]="k",e["NonStrokingColorspace"]="cs",e["StrokingColor"]="SC",e["StrokingColorN"]="SCN",e["StrokingColorRgb"]="RG",e["StrokingColorGray"]="G",e["StrokingColorCmyk"]="K",e["StrokingColorspace"]="CS",e["BeginMarkedContentSequence"]="BDC",e["BeginMarkedContent"]="BMC",e["EndMarkedContent"]="EMC",e["MarkedContentPointWithProps"]="DP",e["MarkedContentPoint"]="MP",e["DrawObject"]="Do",e["ConcatTransformationMatrix"]="cm",e["PopGraphicsState"]="Q",e["PushGraphicsState"]="q",e["SetFlatness"]="i",e["SetGraphicsStateParams"]="gs",e["SetLineCapStyle"]="J",e["SetLineDashPattern"]="d",e["SetLineJoinStyle"]="j",e["SetLineMiterLimit"]="M",e["SetLineWidth"]="w",e["SetTextMatrix"]="Tm",e["SetRenderingIntent"]="ri",e["AppendRectangle"]="re",e["BeginInlineImage"]="BI",e["BeginInlineImageData"]="ID",e["EndInlineImage"]="EI",e["ClipEvenOdd"]="W*",e["ClipNonZero"]="W",e["CloseAndStroke"]="s",e["CloseFillEvenOddAndStroke"]="b*",e["CloseFillNonZeroAndStroke"]="b",e["ClosePath"]="h",e["AppendBezierCurve"]="c",e["CurveToReplicateFinalPoint"]="y",e["CurveToReplicateInitialPoint"]="v",e["EndPath"]="n",e["FillEvenOddAndStroke"]="B*",e["FillEvenOdd"]="f*",e["FillNonZeroAndStroke"]="B",e["FillNonZero"]="f",e["LegacyFillNonZero"]="F",e["LineTo"]="l",e["MoveTo"]="m",e["ShadingFill"]="sh",e["StrokePath"]="S",e["BeginText"]="BT",e["EndText"]="ET",e["MoveText"]="Td",e["MoveTextSetLeading"]="TD",e["NextLine"]="T*",e["SetCharacterSpacing"]="Tc",e["SetFontAndSize"]="Tf",e["SetTextHorizontalScaling"]="Tz",e["SetTextLineHeight"]="TL",e["SetTextRenderingMode"]="Tr",e["SetTextRise"]="Ts",e["SetWordSpacing"]="Tw",e["ShowText"]="Tj",e["ShowTextAdjusted"]="TJ",e["ShowTextLine"]="'",e["ShowTextLineAndSpace"]='"',e["Type3D0"]="d0",e["Type3D1"]="d1",e["BeginCompatibilitySection"]="BX",e["EndCompatibilitySection"]="EX"})(C||(C={}));var V,G=C,K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.computeContents=function(){var e=r.getUnencodedContents();return r.encode?a.a.deflate(e):e},r.encode=n,n&&t.set(M.of("Filter"),M.of("FlateDecode")),r.contentsCache=l["a"].populatedBy(r.computeContents),r}return Object(o["c"])(t,e),t.prototype.getContents=function(){return this.contentsCache.access()},t.prototype.getContentsSize=function(){return this.contentsCache.access().length},t.prototype.getUnencodedContents=function(){throw new r["f"](this.constructor.name,"getUnencodedContents")},t}(j),X=K,Y=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t,r)||this;return i.operators=n,i}return Object(o["c"])(t,e),t.prototype.push=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this.operators).push.apply(e,t)},t.prototype.clone=function(e){for(var n=new Array(this.operators.length),r=0,i=this.operators.length;r<i;r++)n[r]=this.operators[r].clone(e);var o=this,s=o.dict,a=o.encode;return t.of(s.clone(e),n,a)},t.prototype.getContentsString=function(){for(var e="",t=0,n=this.operators.length;t<n;t++)e+=this.operators[t]+"\n";return e},t.prototype.getUnencodedContents=function(){for(var e=new Uint8Array(this.getUnencodedContentsSize()),t=0,n=0,r=this.operators.length;n<r;n++)t+=this.operators[n].copyBytesInto(e,t),e[t++]=i["a"].Newline;return e},t.prototype.getUnencodedContentsSize=function(){for(var e=0,t=0,n=this.operators.length;t<n;t++)e+=this.operators[t].sizeInBytes()+1;return e},t.of=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(X),Z=Y,J=function(){function e(e){this.seed=e}return e.prototype.nextInt=function(){var e=1e4*Math.sin(this.seed++);return e-Math.floor(e)},e.withSeed=function(t){return new e(t)},e}(),Q=function(e,t){var n=e[0],r=t[0];return n.objectNumber-r.objectNumber},$=function(){function e(){this.largestObjectNumber=0,this.header=u.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=J.withSeed(1)}return e.prototype.assign=function(e,t){this.indirectObjects.set(e,t),e.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=e.objectNumber)},e.prototype.nextRef=function(){return this.largestObjectNumber+=1,U.of(this.largestObjectNumber)},e.prototype.register=function(e){var t=this.nextRef();return this.assign(t,e),t},e.prototype.delete=function(e){return this.indirectObjects.delete(e)},e.prototype.lookupMaybe=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=t.includes(R),o=e instanceof U?this.indirectObjects.get(e):e;if(o&&(o!==R||i)){for(var s=0,a=t.length;s<a;s++){var l=t[s];if(l===R){if(o===R)return o}else if(o instanceof l)return o}throw new r["x"](t,o)}},e.prototype.lookup=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=e instanceof U?this.indirectObjects.get(e):e;if(0===t.length)return i;for(var o=0,s=t.length;o<s;o++){var a=t[o];if(a===R){if(i===R)return i}else if(i instanceof a)return i}throw new r["x"](t,i)},e.prototype.getObjectRef=function(e){for(var t=Array.from(this.indirectObjects.entries()),n=0,r=t.length;n<r;n++){var i=t[n],o=i[0],s=i[1];if(s===e)return o}},e.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(Q)},e.prototype.obj=function(e){if(e instanceof h["a"])return e;if(null===e||void 0===e)return R;if("string"===typeof e)return M.of(e);if("number"===typeof e)return f.of(e);if("boolean"===typeof e)return e?y.True:y.False;if(Array.isArray(e)){for(var t=m.withContext(this),n=0,r=e.length;n<r;n++)t.push(this.obj(e[n]));return t}var i=D.withContext(this),o=Object.keys(e);for(n=0,r=o.length;n<r;n++){var s=o[n],a=e[s];void 0!==a&&i.set(M.of(s),this.obj(a))}return i},e.prototype.stream=function(e,t){return void 0===t&&(t={}),B.of(this.obj(t),Object(l["X"])(e))},e.prototype.flateStream=function(e,t){return void 0===t&&(t={}),this.stream(a.a.deflate(Object(l["X"])(e)),Object(o["a"])(Object(o["a"])({},t),{Filter:"FlateDecode"}))},e.prototype.contentStream=function(e,t){return void 0===t&&(t={}),Z.of(this.obj(t),e)},e.prototype.formXObject=function(e,t){return void 0===t&&(t={}),this.contentStream(e,Object(o["a"])(Object(o["a"])({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},t),{Type:"XObject",Subtype:"Form"}))},e.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var e=this.obj({}),t=W.of(G.PushGraphicsState),n=Z.of(e,[t]);return this.pushGraphicsStateContentStreamRef=this.register(n),this.pushGraphicsStateContentStreamRef},e.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var e=this.obj({}),t=W.of(G.PopGraphicsState),n=Z.of(e,[t]);return this.popGraphicsStateContentStreamRef=this.register(n),this.popGraphicsStateContentStreamRef},e.prototype.addRandomSuffix=function(e,t){return void 0===t&&(t=4),e+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,t))},e.create=function(){return new e},e}(),ee=$,te=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t,n)||this;return i.normalized=!1,i.autoNormalizeCTM=r,i}return Object(o["c"])(t,e),t.prototype.clone=function(e){for(var n=t.fromMapWithContext(new Map,e||this.context,this.autoNormalizeCTM),r=this.entries(),i=0,o=r.length;i<o;i++){var s=r[i],a=s[0],l=s[1];n.set(a,l)}return n},t.prototype.Parent=function(){return this.lookupMaybe(M.Parent,D)},t.prototype.Contents=function(){return this.lookup(M.of("Contents"))},t.prototype.Annots=function(){return this.lookupMaybe(M.Annots,m)},t.prototype.BleedBox=function(){return this.lookupMaybe(M.BleedBox,m)},t.prototype.TrimBox=function(){return this.lookupMaybe(M.TrimBox,m)},t.prototype.ArtBox=function(){return this.lookupMaybe(M.ArtBox,m)},t.prototype.Resources=function(){var e=this.getInheritableAttribute(M.Resources);return this.context.lookupMaybe(e,D)},t.prototype.MediaBox=function(){var e=this.getInheritableAttribute(M.MediaBox);return this.context.lookup(e,m)},t.prototype.CropBox=function(){var e=this.getInheritableAttribute(M.CropBox);return this.context.lookupMaybe(e,m)},t.prototype.Rotate=function(){var e=this.getInheritableAttribute(M.Rotate);return this.context.lookupMaybe(e,f)},t.prototype.getInheritableAttribute=function(e){var t;return this.ascend((function(n){t||(t=n.get(e))})),t},t.prototype.setParent=function(e){this.set(M.Parent,e)},t.prototype.addContentStream=function(e){var t=this.normalizedEntries().Contents||this.context.obj([]);this.set(M.Contents,t),t.push(e)},t.prototype.wrapContentStreams=function(e,t){var n=this.Contents();return n instanceof m&&(n.insert(0,e),n.push(t),!0)},t.prototype.addAnnot=function(e){var t=this.normalizedEntries().Annots;t.push(e)},t.prototype.removeAnnot=function(e){var t=this.normalizedEntries().Annots,n=t.indexOf(e);void 0!==n&&t.remove(n)},t.prototype.setFontDictionary=function(e,t){var n=this.normalizedEntries().Font;n.set(e,t)},t.prototype.newFontDictionaryKey=function(e){var t=this.normalizedEntries().Font;return t.uniqueKey(e)},t.prototype.newFontDictionary=function(e,t){var n=this.newFontDictionaryKey(e);return this.setFontDictionary(n,t),n},t.prototype.setXObject=function(e,t){var n=this.normalizedEntries().XObject;n.set(e,t)},t.prototype.newXObjectKey=function(e){var t=this.normalizedEntries().XObject;return t.uniqueKey(e)},t.prototype.newXObject=function(e,t){var n=this.newXObjectKey(e);return this.setXObject(n,t),n},t.prototype.setExtGState=function(e,t){var n=this.normalizedEntries().ExtGState;n.set(e,t)},t.prototype.newExtGStateKey=function(e){var t=this.normalizedEntries().ExtGState;return t.uniqueKey(e)},t.prototype.newExtGState=function(e,t){var n=this.newExtGStateKey(e);return this.setExtGState(n,t),n},t.prototype.ascend=function(e){e(this);var t=this.Parent();t&&t.ascend(e)},t.prototype.normalize=function(){if(!this.normalized){var e=this.context,t=this.get(M.Contents),n=this.context.lookup(t);n instanceof j&&this.set(M.Contents,e.obj([t])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var r=this.getInheritableAttribute(M.Resources),i=e.lookupMaybe(r,D)||e.obj({});this.set(M.Resources,i);var o=i.lookupMaybe(M.Font,D)||e.obj({});i.set(M.Font,o);var s=i.lookupMaybe(M.XObject,D)||e.obj({});i.set(M.XObject,s);var a=i.lookupMaybe(M.ExtGState,D)||e.obj({});i.set(M.ExtGState,a);var l=this.Annots()||e.obj([]);this.set(M.Annots,l),this.normalized=!0}},t.prototype.normalizedEntries=function(){this.normalize();var e=this.Annots(),t=this.Resources(),n=this.Contents();return{Annots:e,Resources:t,Contents:n,Font:t.lookup(M.Font,D),XObject:t.lookup(M.XObject,D),ExtGState:t.lookup(M.ExtGState,D)}},t.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],t.withContextAndParent=function(e,n){var r=new Map;return r.set(M.Type,M.Page),r.set(M.Parent,n),r.set(M.Resources,e.obj({})),r.set(M.MediaBox,e.obj([0,0,612,792])),new t(r,e,!1)},t.fromMapWithContext=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(D),ne=te,re=function(){function e(e,t){var n=this;this.traversedObjects=new Map,this.copy=function(e){return e instanceof ne?n.copyPDFPage(e):e instanceof D?n.copyPDFDict(e):e instanceof m?n.copyPDFArray(e):e instanceof j?n.copyPDFStream(e):e instanceof U?n.copyPDFIndirectObject(e):e.clone()},this.copyPDFPage=function(e){for(var t=e.clone(),r=ne.InheritableEntries,i=0,o=r.length;i<o;i++){var s=M.of(r[i]),a=t.getInheritableAttribute(s);!t.get(s)&&a&&t.set(s,a)}return t.delete(M.of("Parent")),n.copyPDFDict(t)},this.copyPDFDict=function(e){if(n.traversedObjects.has(e))return n.traversedObjects.get(e);var t=e.clone(n.dest);n.traversedObjects.set(e,t);for(var r=e.entries(),i=0,o=r.length;i<o;i++){var s=r[i],a=s[0],l=s[1];t.set(a,n.copy(l))}return t},this.copyPDFArray=function(e){if(n.traversedObjects.has(e))return n.traversedObjects.get(e);var t=e.clone(n.dest);n.traversedObjects.set(e,t);for(var r=0,i=e.size();r<i;r++){var o=e.get(r);t.set(r,n.copy(o))}return t},this.copyPDFStream=function(e){if(n.traversedObjects.has(e))return n.traversedObjects.get(e);var t=e.clone(n.dest);n.traversedObjects.set(e,t);for(var r=e.dict.entries(),i=0,o=r.length;i<o;i++){var s=r[i],a=s[0],l=s[1];t.dict.set(a,n.copy(l))}return t},this.copyPDFIndirectObject=function(e){var t=n.traversedObjects.has(e);if(!t){var r=n.dest.nextRef();n.traversedObjects.set(e,r);var i=n.src.lookup(e);if(i){var o=n.copy(i);n.dest.assign(r,o)}}return n.traversedObjects.get(e)},this.src=e,this.dest=t}return e.for=function(t,n){return new e(t,n)},e}(),ie=re,oe=function(){function e(e){this.subsections=e?[[e]]:[],this.chunkIdx=0,this.chunkLength=e?1:0}return e.prototype.addEntry=function(e,t){this.append({ref:e,offset:t,deleted:!1})},e.prototype.addDeletedEntry=function(e,t){this.append({ref:e,offset:t,deleted:!0})},e.prototype.toString=function(){for(var e="xref\n",t=0,n=this.subsections.length;t<n;t++){var r=this.subsections[t];e+=r[0].ref.objectNumber+" "+r.length+"\n";for(var i=0,o=r.length;i<o;i++){var s=r[i];e+=Object(l["I"])(String(s.offset),10,"0"),e+=" ",e+=Object(l["I"])(String(s.ref.generationNumber),5,"0"),e+=" ",e+=s.deleted?"f":"n",e+=" \n"}}return e},e.prototype.sizeInBytes=function(){for(var e=5,t=0,n=this.subsections.length;t<n;t++){var r=this.subsections[t],i=r.length,o=r[0];e+=2,e+=String(o.ref.objectNumber).length,e+=String(i).length,e+=20*i}return e},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=i["a"].x,e[t++]=i["a"].r,e[t++]=i["a"].e,e[t++]=i["a"].f,e[t++]=i["a"].Newline,t+=this.copySubsectionsIntoBuffer(this.subsections,e,t),t-n},e.prototype.copySubsectionsIntoBuffer=function(e,t,n){for(var r=n,o=e.length,s=0;s<o;s++){var a=this.subsections[s],c=String(a[0].ref.objectNumber);n+=Object(l["w"])(c,t,n),t[n++]=i["a"].Space;var u=String(a.length);n+=Object(l["w"])(u,t,n),t[n++]=i["a"].Newline,n+=this.copyEntriesIntoBuffer(a,t,n)}return n-r},e.prototype.copyEntriesIntoBuffer=function(e,t,n){for(var r=e.length,o=0;o<r;o++){var s=e[o],a=Object(l["I"])(String(s.offset),10,"0");n+=Object(l["w"])(a,t,n),t[n++]=i["a"].Space;var c=Object(l["I"])(String(s.ref.generationNumber),5,"0");n+=Object(l["w"])(c,t,n),t[n++]=i["a"].Space,t[n++]=s.deleted?i["a"].f:i["a"].n,t[n++]=i["a"].Space,t[n++]=i["a"].Newline}return 20*r},e.prototype.append=function(e){if(0===this.chunkLength)return this.subsections.push([e]),this.chunkIdx=0,void(this.chunkLength=1);var t=this.subsections[this.chunkIdx],n=t[this.chunkLength-1];e.ref.objectNumber-n.ref.objectNumber>1?(this.subsections.push([e]),this.chunkIdx+=1,this.chunkLength=1):(t.push(e),this.chunkLength+=1)},e.create=function(){return new e({ref:U.of(0,65535),offset:0,deleted:!0})},e.createEmpty=function(){return new e},e}(),se=oe,ae=function(){function e(e){this.lastXRefOffset=String(e)}return e.prototype.toString=function(){return"startxref\n"+this.lastXRefOffset+"\n%%EOF"},e.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=i["a"].s,e[t++]=i["a"].t,e[t++]=i["a"].a,e[t++]=i["a"].r,e[t++]=i["a"].t,e[t++]=i["a"].x,e[t++]=i["a"].r,e[t++]=i["a"].e,e[t++]=i["a"].f,e[t++]=i["a"].Newline,t+=Object(l["w"])(this.lastXRefOffset,e,t),e[t++]=i["a"].Newline,e[t++]=i["a"].Percent,e[t++]=i["a"].Percent,e[t++]=i["a"].E,e[t++]=i["a"].O,e[t++]=i["a"].F,t-n},e.forLastCrossRefSectionOffset=function(t){return new e(t)},e}(),le=ae,ce=function(){function e(e){this.dict=e}return e.prototype.toString=function(){return"trailer\n"+this.dict.toString()},e.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},e.prototype.copyBytesInto=function(e,t){var n=t;return e[t++]=i["a"].t,e[t++]=i["a"].r,e[t++]=i["a"].a,e[t++]=i["a"].i,e[t++]=i["a"].l,e[t++]=i["a"].e,e[t++]=i["a"].r,e[t++]=i["a"].Newline,t+=this.dict.copyBytesInto(e,t),t-n},e.of=function(t){return new e(t)},e}(),ue=ce,he=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t.obj({}),r)||this;return i.objects=n,i.offsets=i.computeObjectOffsets(),i.offsetsString=i.computeOffsetsString(),i.dict.set(M.of("Type"),M.of("ObjStm")),i.dict.set(M.of("N"),f.of(i.objects.length)),i.dict.set(M.of("First"),f.of(i.offsetsString.length)),i}return Object(o["c"])(t,e),t.prototype.getObjectsCount=function(){return this.objects.length},t.prototype.clone=function(e){return t.withContextAndObjects(e||this.dict.context,this.objects.slice(),this.encode)},t.prototype.getContentsString=function(){for(var e=this.offsetsString,t=0,n=this.objects.length;t<n;t++){var r=this.objects[t],i=r[1];e+=i+"\n"}return e},t.prototype.getUnencodedContents=function(){for(var e=new Uint8Array(this.getUnencodedContentsSize()),t=Object(l["w"])(this.offsetsString,e,0),n=0,r=this.objects.length;n<r;n++){var o=this.objects[n],s=o[1];t+=s.copyBytesInto(e,t),e[t++]=i["a"].Newline}return e},t.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+Object(l["C"])(this.offsets)[1]+Object(l["C"])(this.objects)[1].sizeInBytes()+1},t.prototype.computeOffsetsString=function(){for(var e="",t=0,n=this.offsets.length;t<n;t++){var r=this.offsets[t],i=r[0],o=r[1];e+=i+" "+o+" "}return e},t.prototype.computeObjectOffsets=function(){for(var e=0,t=new Array(this.objects.length),n=0,r=this.objects.length;n<r;n++){var i=this.objects[n],o=i[0],s=i[1];t[n]=[o.objectNumber,e],e+=s.sizeInBytes()+1}return t},t.withContextAndObjects=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(X),de=he,fe=function(){function e(e,t){var n=this;this.parsedObjects=0,this.shouldWaitForTick=function(e){return n.parsedObjects+=e,n.parsedObjects%n.objectsPerTick===0},this.context=e,this.objectsPerTick=t}return e.prototype.serializeToBuffer=function(){return Object(o["b"])(this,void 0,void 0,(function(){var e,t,n,r,s,a,c,u,h,d,f,p,m,g,b,y,v;return Object(o["d"])(this,(function(o){switch(o.label){case 0:return[4,this.computeBufferSize()];case 1:e=o.sent(),t=e.size,n=e.header,r=e.indirectObjects,s=e.xref,a=e.trailerDict,c=e.trailer,u=0,h=new Uint8Array(t),u+=n.copyBytesInto(h,u),h[u++]=i["a"].Newline,h[u++]=i["a"].Newline,d=0,f=r.length,o.label=2;case 2:return d<f?(p=r[d],m=p[0],g=p[1],b=String(m.objectNumber),u+=Object(l["w"])(b,h,u),h[u++]=i["a"].Space,y=String(m.generationNumber),u+=Object(l["w"])(y,h,u),h[u++]=i["a"].Space,h[u++]=i["a"].o,h[u++]=i["a"].b,h[u++]=i["a"].j,h[u++]=i["a"].Newline,u+=g.copyBytesInto(h,u),h[u++]=i["a"].Newline,h[u++]=i["a"].e,h[u++]=i["a"].n,h[u++]=i["a"].d,h[u++]=i["a"].o,h[u++]=i["a"].b,h[u++]=i["a"].j,h[u++]=i["a"].Newline,h[u++]=i["a"].Newline,v=g instanceof de?g.getObjectsCount():1,this.shouldWaitForTick(v)?[4,Object(l["ab"])()]:[3,4]):[3,5];case 3:o.sent(),o.label=4;case 4:return d++,[3,2];case 5:return s&&(u+=s.copyBytesInto(h,u),h[u++]=i["a"].Newline),a&&(u+=a.copyBytesInto(h,u),h[u++]=i["a"].Newline,h[u++]=i["a"].Newline),u+=c.copyBytesInto(h,u),[2,h]}}))}))},e.prototype.computeIndirectObjectSize=function(e){var t=e[0],n=e[1],r=t.sizeInBytes()+3,i=n.sizeInBytes()+9;return r+i},e.prototype.createTrailerDict=function(){return this.context.obj({Size:this.context.largestObjectNumber+1,Root:this.context.trailerInfo.Root,Encrypt:this.context.trailerInfo.Encrypt,Info:this.context.trailerInfo.Info,ID:this.context.trailerInfo.ID})},e.prototype.computeBufferSize=function(){return Object(o["b"])(this,void 0,void 0,(function(){var e,t,n,r,i,s,a,c,h,d,f;return Object(o["d"])(this,(function(o){switch(o.label){case 0:e=u.forVersion(1,7),t=e.sizeInBytes()+2,n=se.create(),r=this.context.enumerateIndirectObjects(),i=0,s=r.length,o.label=1;case 1:return i<s?(a=r[i],c=a[0],n.addEntry(c,t),t+=this.computeIndirectObjectSize(a),this.shouldWaitForTick(1)?[4,Object(l["ab"])()]:[3,3]):[3,4];case 2:o.sent(),o.label=3;case 3:return i++,[3,1];case 4:return h=t,t+=n.sizeInBytes()+1,d=ue.of(this.createTrailerDict()),t+=d.sizeInBytes()+2,f=le.forLastCrossRefSectionOffset(h),t+=f.sizeInBytes(),[2,{size:t,header:e,indirectObjects:r,xref:n,trailerDict:d,trailer:f}]}}))}))},e.forContext=function(t,n){return new e(t,n)},e}(),pe=fe,me=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return Object(o["c"])(t,e),t.prototype.clone=function(){return t.of(this.data.slice())},t.prototype.toString=function(){return"PDFInvalidObject("+this.data.length+" bytes)"},t.prototype.sizeInBytes=function(){return this.data.length},t.prototype.copyBytesInto=function(e,t){for(var n=this.data.length,r=0;r<n;r++)e[t++]=this.data[r];return n},t.of=function(e){return new t(e)},t}(h["a"]),ge=me;(function(e){e[e["Deleted"]=0]="Deleted",e[e["Uncompressed"]=1]="Uncompressed",e[e["Compressed"]=2]="Compressed"})(V||(V={}));var be,ye=function(e){function t(t,n,r){void 0===r&&(r=!0);var i=e.call(this,t,r)||this;return i.computeIndex=function(){for(var e=[],t=0,n=0,r=i.entries.length;n<r;n++){var o=i.entries[n],s=i.entries[n-1];0===n?e.push(o.ref.objectNumber):o.ref.objectNumber-s.ref.objectNumber>1&&(e.push(t),e.push(o.ref.objectNumber),t=0),t+=1}return e.push(t),e},i.computeEntryTuples=function(){for(var e=new Array(i.entries.length),t=0,n=i.entries.length;t<n;t++){var r=i.entries[t];if(r.type===V.Deleted){var o=r.type,s=r.nextFreeObjectNumber,a=r.ref;e[t]=[o,s,a.generationNumber]}if(r.type===V.Uncompressed){o=r.type;var l=r.offset;a=r.ref;e[t]=[o,l,a.generationNumber]}if(r.type===V.Compressed){o=r.type;var c=r.objectStreamRef,u=r.index;e[t]=[o,c.objectNumber,u]}}return e},i.computeMaxEntryByteWidths=function(){for(var e=i.entryTuplesCache.access(),t=[0,0,0],n=0,r=e.length;n<r;n++){var o=e[n],s=o[0],a=o[1],c=o[2],u=Object(l["P"])(s),h=Object(l["P"])(a),d=Object(l["P"])(c);u>t[0]&&(t[0]=u),h>t[1]&&(t[1]=h),d>t[2]&&(t[2]=d)}return t},i.entries=n||[],i.entryTuplesCache=l["a"].populatedBy(i.computeEntryTuples),i.maxByteWidthsCache=l["a"].populatedBy(i.computeMaxEntryByteWidths),i.indexCache=l["a"].populatedBy(i.computeIndex),t.set(M.of("Type"),M.of("XRef")),i}return Object(o["c"])(t,e),t.prototype.addDeletedEntry=function(e,t){var n=V.Deleted;this.entries.push({type:n,ref:e,nextFreeObjectNumber:t}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addUncompressedEntry=function(e,t){var n=V.Uncompressed;this.entries.push({type:n,ref:e,offset:t}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addCompressedEntry=function(e,t,n){var r=V.Compressed;this.entries.push({type:r,ref:e,objectStreamRef:t,index:n}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.clone=function(e){var n=this,r=n.dict,i=n.entries,o=n.encode;return t.of(r.clone(e),i.slice(),o)},t.prototype.getContentsString=function(){for(var e=this.entryTuplesCache.access(),t=this.maxByteWidthsCache.access(),n="",r=0,i=e.length;r<i;r++){for(var o=e[r],s=o[0],a=o[1],c=o[2],u=Object(l["O"])(Object(l["p"])(s)),h=Object(l["O"])(Object(l["p"])(a)),d=Object(l["O"])(Object(l["p"])(c)),f=t[0]-1;f>=0;f--)n+=(u[f]||0).toString(2);for(f=t[1]-1;f>=0;f--)n+=(h[f]||0).toString(2);for(f=t[2]-1;f>=0;f--)n+=(d[f]||0).toString(2)}return n},t.prototype.getUnencodedContents=function(){for(var e=this.entryTuplesCache.access(),t=this.maxByteWidthsCache.access(),n=new Uint8Array(this.getUnencodedContentsSize()),r=0,i=0,o=e.length;i<o;i++){for(var s=e[i],a=s[0],c=s[1],u=s[2],h=Object(l["O"])(Object(l["p"])(a)),d=Object(l["O"])(Object(l["p"])(c)),f=Object(l["O"])(Object(l["p"])(u)),p=t[0]-1;p>=0;p--)n[r++]=h[p]||0;for(p=t[1]-1;p>=0;p--)n[r++]=d[p]||0;for(p=t[2]-1;p>=0;p--)n[r++]=f[p]||0}return n},t.prototype.getUnencodedContentsSize=function(){var e=this.maxByteWidthsCache.access(),t=Object(l["R"])(e);return t*this.entries.length},t.prototype.updateDict=function(){e.prototype.updateDict.call(this);var t=this.maxByteWidthsCache.access(),n=this.indexCache.access(),r=this.dict.context;this.dict.set(M.of("W"),r.obj(t)),this.dict.set(M.of("Index"),r.obj(n))},t.create=function(e,n){void 0===n&&(n=!0);var r=new t(e,[],n);return r.addDeletedEntry(U.of(0,65535),0),r},t.of=function(e,n,r){return void 0===r&&(r=!0),new t(e,n,r)},t}(X),ve=ye,xe=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.encodeStreams=r,o.objectsPerStream=i,o}return Object(o["c"])(t,e),t.prototype.computeBufferSize=function(){return Object(o["b"])(this,void 0,void 0,(function(){var e,t,n,r,i,s,a,c,h,d,p,m,g,b,y,v,x,w,k,S;return Object(o["d"])(this,(function(o){switch(o.label){case 0:e=this.context.largestObjectNumber+1,t=u.forVersion(1,7),n=t.sizeInBytes()+2,r=ve.create(this.createTrailerDict(),this.encodeStreams),i=[],s=[],a=[],c=this.context.enumerateIndirectObjects(),g=0,b=c.length,o.label=1;case 1:return g<b?(h=c[g],v=h[0],d=h[1],p=v===this.context.trailerInfo.Encrypt||d instanceof j||d instanceof ge||0!==v.generationNumber,p?(i.push(h),r.addUncompressedEntry(v,n),n+=this.computeIndirectObjectSize(h),this.shouldWaitForTick(1)?[4,Object(l["ab"])()]:[3,3]):[3,4]):[3,6];case 2:o.sent(),o.label=3;case 3:return[3,5];case 4:y=Object(l["C"])(s),m=Object(l["C"])(a),y&&y.length%this.objectsPerStream!==0||(y=[],s.push(y),m=U.of(e++),a.push(m)),r.addCompressedEntry(v,m,y.length),y.push(h),o.label=5;case 5:return g++,[3,1];case 6:g=0,b=s.length,o.label=7;case 7:return g<b?(y=s[g],v=a[g],x=de.withContextAndObjects(this.context,y,this.encodeStreams),r.addUncompressedEntry(v,n),n+=this.computeIndirectObjectSize([v,x]),i.push([v,x]),this.shouldWaitForTick(y.length)?[4,Object(l["ab"])()]:[3,9]):[3,10];case 8:o.sent(),o.label=9;case 9:return g++,[3,7];case 10:return w=U.of(e++),r.dict.set(M.of("Size"),f.of(e)),r.addUncompressedEntry(w,n),k=n,n+=this.computeIndirectObjectSize([w,r]),i.push([w,r]),S=le.forLastCrossRefSectionOffset(k),n+=S.sizeInBytes(),[2,{size:n,header:t,indirectObjects:i,trailer:S}]}}))}))},t.forContext=function(e,n,r,i){return void 0===r&&(r=!0),void 0===i&&(i=50),new t(e,n,r,i)},t}(pe),we=xe,ke=n("2232"),Se=n("2364"),Ce=function(){function e(e,t){this.encoding=e===ke["c"].ZapfDingbats?ke["a"].ZapfDingbats:e===ke["c"].Symbol?ke["a"].Symbol:ke["a"].WinAnsi,this.font=ke["b"].load(e),this.fontName=this.font.FontName,this.customName=t}return e.prototype.encodeText=function(e){for(var t=this.encodeTextAsGlyphs(e),n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=Object(l["U"])(t[r].code);return Se["a"].of(n.join(""))},e.prototype.widthOfTextAtSize=function(e,t){for(var n=this.encodeTextAsGlyphs(e),r=0,i=0,o=n.length;i<o;i++){var s=n[i].name,a=(n[i+1]||{}).name,l=this.font.getXAxisKerningForPair(s,a)||0;r+=this.widthOfGlyph(s)+l}var c=t/1e3;return r*c},e.prototype.heightOfFontAtSize=function(e,t){void 0===t&&(t={});var n=t.descender,r=void 0===n||n,i=this.font,o=i.Ascender,s=i.Descender,a=i.FontBBox,l=o||a[3],c=s||a[1],u=l-c;return r||(u+=s||0),u/1e3*e},e.prototype.sizeOfFontAtHeight=function(e){var t=this.font,n=t.Ascender,r=t.Descender,i=t.FontBBox,o=n||i[3],s=r||i[1];return 1e3*e/(o-s)},e.prototype.embedIntoContext=function(e,t){var n=e.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===ke["a"].WinAnsi?"WinAnsiEncoding":void 0});return t?(e.assign(t,n),t):e.register(n)},e.prototype.widthOfGlyph=function(e){return this.font.getWidthOfGlyph(e)||250},e.prototype.encodeTextAsGlyphs=function(e){for(var t=Array.from(e),n=new Array(t.length),r=0,i=t.length;r<i;r++){var o=Object(l["T"])(t[r]);n[r]=this.encoding.encodeUnicodeCodePoint(o)}return n},e.for=function(t,n){return new e(t,n)},e}(),Te=Ce,ze=n("1754"),Ae=function(e,t){for(var n=new Array(e.length),r=0,i=e.length;r<i;r++){var o=e[r],s=Ee(Me(t(o))),a=Ee.apply(void 0,o.codePoints.map(Ne));n[r]=[s,a]}return Oe(n)},Oe=function(e){return"/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange\n"+e.length+" beginbfchar\n"+e.map((function(e){var t=e[0],n=e[1];return t+" "+n})).join("\n")+"\nendbfchar\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},Ee=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"<"+e.join("")+">"},Me=function(e){return Object(l["V"])(e,4)},Ne=function(e){if(Object(ze["d"])(e))return Me(e);if(Object(ze["a"])(e)){var t=Object(ze["c"])(e),n=Object(ze["e"])(e);return""+Me(t)+Me(n)}var r=Object(l["U"])(e),i="0x"+r+" is not a valid UTF-8 or UTF-16 codepoint.";throw new Error(i)},Re=function(e){var t=0,n=function(e){t|=1<<e-1};return e.fixedPitch&&n(1),e.serif&&n(2),e.symbolic&&n(3),e.script&&n(4),e.nonsymbolic&&n(6),e.italic&&n(7),e.allCap&&n(17),e.smallCap&&n(18),e.forceBold&&n(19),t},Le=function(e){var t=e["OS/2"]?e["OS/2"].sFamilyClass:0,n=Re({fixedPitch:e.post.isFixedPitch,serif:1<=t&&t<=7,symbolic:!0,script:10===t,italic:e.head.macStyle.italic});return n},De=n("4dde"),Fe=function(){function e(e,t,n,r){var i=this;this.allGlyphsInFontSortedById=function(){for(var e=new Array(i.font.characterSet.length),t=0,n=e.length;t<n;t++){var r=i.font.characterSet[t];e[t]=i.font.glyphForCodePoint(r)}return Object(l["Q"])(e.sort(l["o"]),(function(e){return e.id}))},this.font=e,this.scale=1e3/this.font.unitsPerEm,this.fontData=t,this.fontName=this.font.postscriptName||"Font",this.customName=n,this.fontFeatures=r,this.baseFontName="",this.glyphCache=l["a"].populatedBy(this.allGlyphsInFontSortedById)}return e.for=function(t,n,r,i){return Object(o["b"])(this,void 0,void 0,(function(){var s;return Object(o["d"])(this,(function(o){switch(o.label){case 0:return[4,t.create(n)];case 1:return s=o.sent(),[2,new e(s,n,r,i)]}}))}))},e.prototype.encodeText=function(e){for(var t=this.font.layout(e,this.fontFeatures).glyphs,n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=Object(l["V"])(t[r].id,4);return Se["a"].of(n.join(""))},e.prototype.widthOfTextAtSize=function(e,t){for(var n=this.font.layout(e,this.fontFeatures).glyphs,r=0,i=0,o=n.length;i<o;i++)r+=n[i].advanceWidth*this.scale;var s=t/1e3;return r*s},e.prototype.heightOfFontAtSize=function(e,t){void 0===t&&(t={});var n=t.descender,r=void 0===n||n,i=this.font,o=i.ascent,s=i.descent,a=i.bbox,l=(o||a.maxY)*this.scale,c=(s||a.minY)*this.scale,u=l-c;return r||(u-=Math.abs(s)||0),u/1e3*e},e.prototype.sizeOfFontAtHeight=function(e){var t=this.font,n=t.ascent,r=t.descent,i=t.bbox,o=(n||i.maxY)*this.scale,s=(r||i.minY)*this.scale;return 1e3*e/(o-s)},e.prototype.embedIntoContext=function(e,t){return this.baseFontName=this.customName||e.addRandomSuffix(this.fontName),this.embedFontDict(e,t)},e.prototype.embedFontDict=function(e,t){return Object(o["b"])(this,void 0,void 0,(function(){var n,r,i;return Object(o["d"])(this,(function(o){switch(o.label){case 0:return[4,this.embedCIDFontDict(e)];case 1:return n=o.sent(),r=this.embedUnicodeCmap(e),i=e.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[n],ToUnicode:r}),t?(e.assign(t,i),[2,t]):[2,e.register(i)]}}))}))},e.prototype.isCFF=function(){return this.font.cff},e.prototype.embedCIDFontDict=function(e){return Object(o["b"])(this,void 0,void 0,(function(){var t,n;return Object(o["d"])(this,(function(r){switch(r.label){case 0:return[4,this.embedFontDescriptor(e)];case 1:return t=r.sent(),n=e.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:De["a"].of("Adobe"),Ordering:De["a"].of("Identity"),Supplement:0},FontDescriptor:t,W:this.computeWidths()}),[2,e.register(n)]}}))}))},e.prototype.embedFontDescriptor=function(e){return Object(o["b"])(this,void 0,void 0,(function(){var t,n,r,i,s,a,l,c,u,h,d,f,p,m,g;return Object(o["d"])(this,(function(o){switch(o.label){case 0:return[4,this.embedFontStream(e)];case 1:return t=o.sent(),n=this.scale,r=this.font,i=r.italicAngle,s=r.ascent,a=r.descent,l=r.capHeight,c=r.xHeight,u=this.font.bbox,h=u.minX,d=u.minY,f=u.maxX,p=u.maxY,m=e.obj((g={Type:"FontDescriptor",FontName:this.baseFontName,Flags:Le(this.font),FontBBox:[h*n,d*n,f*n,p*n],ItalicAngle:i,Ascent:s*n,Descent:a*n,CapHeight:(l||s)*n,XHeight:(c||0)*n,StemV:0},g[this.isCFF()?"FontFile3":"FontFile2"]=t,g)),[2,e.register(m)]}}))}))},e.prototype.serializeFont=function(){return Object(o["b"])(this,void 0,void 0,(function(){return Object(o["d"])(this,(function(e){return[2,this.fontData]}))}))},e.prototype.embedFontStream=function(e){return Object(o["b"])(this,void 0,void 0,(function(){var t,n,r;return Object(o["d"])(this,(function(i){switch(i.label){case 0:return r=(n=e).flateStream,[4,this.serializeFont()];case 1:return t=r.apply(n,[i.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,e.register(t)]}}))}))},e.prototype.embedUnicodeCmap=function(e){var t=Ae(this.glyphCache.access(),this.glyphId.bind(this)),n=e.flateStream(t);return e.register(n)},e.prototype.glyphId=function(e){return e?e.id:-1},e.prototype.computeWidths=function(){for(var e=this.glyphCache.access(),t=[],n=[],r=0,i=e.length;r<i;r++){var o=e[r],s=e[r-1],a=this.glyphId(o),l=this.glyphId(s);0===r?t.push(a):a-l!==1&&(t.push(n),t.push(a),n=[]),n.push(o.advanceWidth*this.scale)}return t.push(n),t},e}(),je=Fe,Ie=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.subset=o.font.createSubset(),o.glyphs=[],o.glyphCache=l["a"].populatedBy((function(){return o.glyphs})),o.glyphIdMap=new Map,o}return Object(o["c"])(t,e),t.for=function(e,n,r,i){return Object(o["b"])(this,void 0,void 0,(function(){var s;return Object(o["d"])(this,(function(o){switch(o.label){case 0:return[4,e.create(n)];case 1:return s=o.sent(),[2,new t(s,n,r,i)]}}))}))},t.prototype.encodeText=function(e){for(var t=this.font.layout(e,this.fontFeatures).glyphs,n=new Array(t.length),r=0,i=t.length;r<i;r++){var o=t[r],s=this.subset.includeGlyph(o);this.glyphs[s-1]=o,this.glyphIdMap.set(o.id,s),n[r]=Object(l["V"])(s,4)}return this.glyphCache.invalidate(),Se["a"].of(n.join(""))},t.prototype.isCFF=function(){return this.subset.cff},t.prototype.glyphId=function(e){return e?this.glyphIdMap.get(e.id):-1},t.prototype.serializeFont=function(){var e=this;return new Promise((function(t,n){var r=[];e.subset.encodeStream().on("data",(function(e){return r.push(e)})).on("end",(function(){return t(Object(l["G"])(r))})).on("error",(function(e){return n(e)}))}))},t}(je),Be=Ie,_e=(n("57a6"),[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487]);(function(e){e["DeviceGray"]="DeviceGray",e["DeviceRGB"]="DeviceRGB",e["DeviceCMYK"]="DeviceCMYK"})(be||(be={}));var qe={1:be.DeviceGray,3:be.DeviceRGB,4:be.DeviceCMYK},Pe=function(){function e(e,t,n,r,i){this.imageData=e,this.bitsPerComponent=t,this.width=n,this.height=r,this.colorSpace=i}return e.for=function(t){return Object(o["b"])(this,void 0,void 0,(function(){var n,r,i,s,a,l,c,u,h,d;return Object(o["d"])(this,(function(o){if(n=new DataView(t.buffer),r=n.getUint16(0),65496!==r)throw new Error("SOI not found in JPEG");i=2;while(i<n.byteLength){if(s=n.getUint16(i),i+=2,_e.includes(s))break;i+=n.getUint16(i)}if(!_e.includes(s))throw new Error("Invalid JPEG");if(i+=2,a=n.getUint8(i++),l=n.getUint16(i),i+=2,c=n.getUint16(i),i+=2,u=n.getUint8(i++),h=qe[u],!h)throw new Error("Unknown JPEG channel.");return d=h,[2,new e(t,a,c,l,d)]}))}))},e.prototype.embedIntoContext=function(e,t){return Object(o["b"])(this,void 0,void 0,(function(){var n;return Object(o["d"])(this,(function(r){return n=e.stream(this.imageData,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.bitsPerComponent,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode",Decode:this.colorSpace===be.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),t?(e.assign(t,n),[2,t]):[2,e.register(n)]}))}))},e}(),Ue=Pe,He={toRGBA8:function(e){var t=e.width,n=e.height;if(null==e.tabs.acTL)return[He.toRGBA8.decodeImage(e.data,t,n,e).buffer];var r=[];null==e.frames[0].data&&(e.frames[0].data=e.data);for(var i=t*n*4,o=new Uint8Array(i),s=new Uint8Array(i),a=new Uint8Array(i),l=0;l<e.frames.length;l++){var c=e.frames[l],u=c.rect.x,h=c.rect.y,d=c.rect.width,f=c.rect.height,p=He.toRGBA8.decodeImage(c.data,d,f,e);if(0!=l)for(var m=0;m<i;m++)a[m]=o[m];if(0==c.blend?He._copyTile(p,d,f,o,t,n,u,h,0):1==c.blend&&He._copyTile(p,d,f,o,t,n,u,h,1),r.push(o.buffer.slice(0)),0==c.dispose);else if(1==c.dispose)He._copyTile(s,d,f,o,t,n,u,h,0);else if(2==c.dispose)for(m=0;m<i;m++)o[m]=a[m]}return r}};He.toRGBA8.decodeImage=function(e,t,n,r){var i=t*n,o=He.decode._getBPP(r),s=Math.ceil(t*o/8),a=new Uint8Array(4*i),l=new Uint32Array(a.buffer),c=r.ctype,u=r.depth,h=He._bin.readUshort;Date.now();if(6==c){var d=i<<2;if(8==u)for(var f=0;f<d;f+=4)a[f]=e[f],a[f+1]=e[f+1],a[f+2]=e[f+2],a[f+3]=e[f+3];if(16==u)for(f=0;f<d;f++)a[f]=e[f<<1]}else if(2==c){var p=r.tabs["tRNS"];if(null==p){if(8==u)for(f=0;f<i;f++){var m=3*f;l[f]=255<<24|e[m+2]<<16|e[m+1]<<8|e[m]}if(16==u)for(f=0;f<i;f++){m=6*f;l[f]=255<<24|e[m+4]<<16|e[m+2]<<8|e[m]}}else{var g=p[0],b=p[1],y=p[2];if(8==u)for(f=0;f<i;f++){var v=f<<2;m=3*f;l[f]=255<<24|e[m+2]<<16|e[m+1]<<8|e[m],e[m]==g&&e[m+1]==b&&e[m+2]==y&&(a[v+3]=0)}if(16==u)for(f=0;f<i;f++){v=f<<2,m=6*f;l[f]=255<<24|e[m+4]<<16|e[m+2]<<8|e[m],h(e,m)==g&&h(e,m+2)==b&&h(e,m+4)==y&&(a[v+3]=0)}}}else if(3==c){var x=r.tabs["PLTE"],w=r.tabs["tRNS"],k=w?w.length:0;if(1==u)for(var S=0;S<n;S++){var C=S*s,T=S*t;for(f=0;f<t;f++){v=T+f<<2;var z=e[C+(f>>3)]>>7-((7&f)<<0)&1,A=3*z;a[v]=x[A],a[v+1]=x[A+1],a[v+2]=x[A+2],a[v+3]=z<k?w[z]:255}}if(2==u)for(S=0;S<n;S++)for(C=S*s,T=S*t,f=0;f<t;f++){v=T+f<<2,z=e[C+(f>>2)]>>6-((3&f)<<1)&3,A=3*z;a[v]=x[A],a[v+1]=x[A+1],a[v+2]=x[A+2],a[v+3]=z<k?w[z]:255}if(4==u)for(S=0;S<n;S++)for(C=S*s,T=S*t,f=0;f<t;f++){v=T+f<<2,z=e[C+(f>>1)]>>4-((1&f)<<2)&15,A=3*z;a[v]=x[A],a[v+1]=x[A+1],a[v+2]=x[A+2],a[v+3]=z<k?w[z]:255}if(8==u)for(f=0;f<i;f++){v=f<<2,z=e[f],A=3*z;a[v]=x[A],a[v+1]=x[A+1],a[v+2]=x[A+2],a[v+3]=z<k?w[z]:255}}else if(4==c){if(8==u)for(f=0;f<i;f++){v=f<<2;var O=f<<1,E=e[O];a[v]=E,a[v+1]=E,a[v+2]=E,a[v+3]=e[O+1]}if(16==u)for(f=0;f<i;f++){v=f<<2,O=f<<2,E=e[O];a[v]=E,a[v+1]=E,a[v+2]=E,a[v+3]=e[O+2]}}else if(0==c)for(g=r.tabs["tRNS"]?r.tabs["tRNS"]:-1,S=0;S<n;S++){var M=S*s,N=S*t;if(1==u)for(var R=0;R<t;R++){E=255*(e[M+(R>>>3)]>>>7-(7&R)&1);var L=E==255*g?0:255;l[N+R]=L<<24|E<<16|E<<8|E}else if(2==u)for(R=0;R<t;R++){E=85*(e[M+(R>>>2)]>>>6-((3&R)<<1)&3),L=E==85*g?0:255;l[N+R]=L<<24|E<<16|E<<8|E}else if(4==u)for(R=0;R<t;R++){E=17*(e[M+(R>>>1)]>>>4-((1&R)<<2)&15),L=E==17*g?0:255;l[N+R]=L<<24|E<<16|E<<8|E}else if(8==u)for(R=0;R<t;R++){E=e[M+R],L=E==g?0:255;l[N+R]=L<<24|E<<16|E<<8|E}else if(16==u)for(R=0;R<t;R++){E=e[M+(R<<1)],L=h(e,M+(R<<f))==g?0:255;l[N+R]=L<<24|E<<16|E<<8|E}}return a},He.decode=function(e){for(var t,n=new Uint8Array(e),r=8,i=He._bin,o=i.readUshort,s=i.readUint,a={tabs:{},frames:[]},l=new Uint8Array(n.length),c=0,u=0,h=[137,80,78,71,13,10,26,10],d=0;d<8;d++)if(n[d]!=h[d])throw"The input is not a PNG file!";while(r<n.length){var f=i.readUint(n,r);r+=4;var p=i.readASCII(n,r,4);if(r+=4,"IHDR"==p)He.decode._IHDR(n,r,a);else if("IDAT"==p){for(d=0;d<f;d++)l[c+d]=n[r+d];c+=f}else if("acTL"==p)a.tabs[p]={num_frames:s(n,r),num_plays:s(n,r+4)},t=new Uint8Array(n.length);else if("fcTL"==p){if(0!=u){var m=a.frames[a.frames.length-1];m.data=He.decode._decompress(a,t.slice(0,u),m.rect.width,m.rect.height),u=0}var g={x:s(n,r+12),y:s(n,r+16),width:s(n,r+4),height:s(n,r+8)},b=o(n,r+22);b=o(n,r+20)/(0==b?100:b);var y={rect:g,delay:Math.round(1e3*b),dispose:n[r+24],blend:n[r+25]};a.frames.push(y)}else if("fdAT"==p){for(d=0;d<f-4;d++)t[u+d]=n[r+d+4];u+=f-4}else if("pHYs"==p)a.tabs[p]=[i.readUint(n,r),i.readUint(n,r+4),n[r+8]];else if("cHRM"==p){a.tabs[p]=[];for(d=0;d<8;d++)a.tabs[p].push(i.readUint(n,r+4*d))}else if("tEXt"==p){null==a.tabs[p]&&(a.tabs[p]={});var v=i.nextZero(n,r),x=i.readASCII(n,r,v-r),w=i.readASCII(n,v+1,r+f-v-1);a.tabs[p][x]=w}else if("iTXt"==p){null==a.tabs[p]&&(a.tabs[p]={});v=0;var k=r;v=i.nextZero(n,k);x=i.readASCII(n,k,v-k);k=v+1;n[k],n[k+1];k+=2,v=i.nextZero(n,k);i.readASCII(n,k,v-k);k=v+1,v=i.nextZero(n,k);i.readUTF8(n,k,v-k);k=v+1;w=i.readUTF8(n,k,f-(k-r));a.tabs[p][x]=w}else if("PLTE"==p)a.tabs[p]=i.readBytes(n,r,f);else if("hIST"==p){var S=a.tabs["PLTE"].length/3;a.tabs[p]=[];for(d=0;d<S;d++)a.tabs[p].push(o(n,r+2*d))}else if("tRNS"==p)3==a.ctype?a.tabs[p]=i.readBytes(n,r,f):0==a.ctype?a.tabs[p]=o(n,r):2==a.ctype&&(a.tabs[p]=[o(n,r),o(n,r+2),o(n,r+4)]);else if("gAMA"==p)a.tabs[p]=i.readUint(n,r)/1e5;else if("sRGB"==p)a.tabs[p]=n[r];else if("bKGD"==p)0==a.ctype||4==a.ctype?a.tabs[p]=[o(n,r)]:2==a.ctype||6==a.ctype?a.tabs[p]=[o(n,r),o(n,r+2),o(n,r+4)]:3==a.ctype&&(a.tabs[p]=n[r]);else if("IEND"==p)break;r+=f;i.readUint(n,r);r+=4}if(0!=u){m=a.frames[a.frames.length-1];m.data=He.decode._decompress(a,t.slice(0,u),m.rect.width,m.rect.height),u=0}return a.data=He.decode._decompress(a,l,a.width,a.height),delete a.compress,delete a.interlace,delete a.filter,a},He.decode._decompress=function(e,t,n,r){Date.now();var i=He.decode._getBPP(e),o=Math.ceil(n*i/8),s=new Uint8Array((o+1+e.interlace)*r);t=He.decode._inflate(t,s);Date.now();return 0==e.interlace?t=He.decode._filterZero(t,e,0,n,r):1==e.interlace&&(t=He.decode._readInterlace(t,e)),t},He.decode._inflate=function(e,t){var n=He["inflateRaw"](new Uint8Array(e.buffer,2,e.length-6),t);return n},He.inflateRaw=function(){var e={H:{}};return e.H.N=function(t,n){var r,i,o=Uint8Array,s=0,a=0,l=0,c=0,u=0,h=0,d=0,f=0,p=0;if(3==t[0]&&0==t[1])return n||new o(0);var m=e.H,g=m.b,b=m.e,y=m.R,v=m.n,x=m.A,w=m.Z,k=m.m,S=null==n;S&&(n=new o(t.length>>>2<<3));while(0==s)if(s=g(t,p,1),a=g(t,p+1,2),p+=3,0!=a){if(S&&(n=e.H.W(n,f+(1<<17))),1==a&&(r=k.J,i=k.h,h=511,d=31),2==a){l=b(t,p,5)+257,c=b(t,p+5,5)+1,u=b(t,p+10,4)+4,p+=14;for(var C=1,T=0;T<38;T+=2)k.Q[T]=0,k.Q[T+1]=0;for(T=0;T<u;T++){var z=b(t,p+3*T,3);k.Q[1+(k.X[T]<<1)]=z,z>C&&(C=z)}p+=3*u,v(k.Q,C),x(k.Q,C,k.u),r=k.w,i=k.d,p=y(k.u,(1<<C)-1,l+c,t,p,k.v);var A=m.V(k.v,0,l,k.C);h=(1<<A)-1;var O=m.V(k.v,l,c,k.D);d=(1<<O)-1,v(k.C,A),x(k.C,A,r),v(k.D,O),x(k.D,O,i)}while(1){var E=r[w(t,p)&h];p+=15&E;var M=E>>>4;if(M>>>8==0)n[f++]=M;else{if(256==M)break;var N=f+M-254;if(M>264){var R=k.q[M-257];N=f+(R>>>3)+b(t,p,7&R),p+=7&R}var L=i[w(t,p)&d];p+=15&L;var D=L>>>4,F=k.c[D],j=(F>>>4)+g(t,p,15&F);p+=15&F;while(f<N)n[f]=n[f++-j],n[f]=n[f++-j],n[f]=n[f++-j],n[f]=n[f++-j];f=N}}}else{0!=(7&p)&&(p+=8-(7&p));var I=4+(p>>>3),B=t[I-4]|t[I-3]<<8;S&&(n=e.H.W(n,f+B)),n.set(new o(t.buffer,t.byteOffset+I,B),f),p=I+B<<3,f+=B}return n.length==f?n:n.slice(0,f)},e.H.W=function(e,t){var n=e.length;if(t<=n)return e;var r=new Uint8Array(n<<1);return r.set(e,0),r},e.H.R=function(t,n,r,i,o,s){var a=e.H.e,l=e.H.Z,c=0;while(c<r){var u=t[l(i,o)&n];o+=15&u;var h=u>>>4;if(h<=15)s[c]=h,c++;else{var d=0,f=0;16==h?(f=3+a(i,o,2),o+=2,d=s[c-1]):17==h?(f=3+a(i,o,3),o+=3):18==h&&(f=11+a(i,o,7),o+=7);var p=c+f;while(c<p)s[c]=d,c++}}return o},e.H.V=function(e,t,n,r){var i=0,o=0,s=r.length>>>1;while(o<n){var a=e[o+t];r[o<<1]=0,r[1+(o<<1)]=a,a>i&&(i=a),o++}while(o<s)r[o<<1]=0,r[1+(o<<1)]=0,o++;return i},e.H.n=function(t,n){for(var r,i,o,s,a=e.H.m,l=t.length,c=a.j,u=0;u<=n;u++)c[u]=0;for(u=1;u<l;u+=2)c[t[u]]++;var h=a.K;for(r=0,c[0]=0,i=1;i<=n;i++)r=r+c[i-1]<<1,h[i]=r;for(o=0;o<l;o+=2)s=t[o+1],0!=s&&(t[o]=h[s],h[s]++)},e.H.A=function(t,n,r){for(var i=t.length,o=e.H.m,s=o.r,a=0;a<i;a+=2)if(0!=t[a+1]){var l=a>>1,c=t[a+1],u=l<<4|c,h=n-c,d=t[a]<<h,f=d+(1<<h);while(d!=f){var p=s[d]>>>15-n;r[p]=u,d++}}},e.H.l=function(t,n){for(var r=e.H.m.r,i=15-n,o=0;o<t.length;o+=2){var s=t[o]<<n-t[o+1];t[o]=r[s]>>>i}},e.H.M=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8},e.H.I=function(e,t,n){n<<=7&t;var r=t>>>3;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},e.H.e=function(e,t,n){return(e[t>>>3]|e[1+(t>>>3)]<<8)>>>(7&t)&(1<<n)-1},e.H.b=function(e,t,n){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)&(1<<n)-1},e.H.Z=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16)>>>(7&t)},e.H.i=function(e,t){return(e[t>>>3]|e[1+(t>>>3)]<<8|e[2+(t>>>3)]<<16|e[3+(t>>>3)]<<24)>>>(7&t)},e.H.m=function(){var e=Uint16Array,t=Uint32Array;return{K:new e(16),j:new e(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new e(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new t(32),J:new e(512),_:[],h:new e(32),$:[],w:new e(32768),C:[],v:[],d:new e(32768),D:[],u:new e(512),Q:[],r:new e(32768),s:new t(286),Y:new t(30),a:new t(19),t:new t(15e3),k:new e(65536),g:new e(32768)}}(),function(){for(var t=e.H.m,n=32768,r=0;r<n;r++){var i=r;i=(2863311530&i)>>>1|(1431655765&i)<<1,i=(3435973836&i)>>>2|(858993459&i)<<2,i=(4042322160&i)>>>4|(252645135&i)<<4,i=(4278255360&i)>>>8|(16711935&i)<<8,t.r[r]=(i>>>16|i<<16)>>>17}function o(e,t,n){while(0!=t--)e.push(0,n)}for(r=0;r<32;r++)t.q[r]=t.S[r]<<3|t.T[r],t.c[r]=t.p[r]<<4|t.z[r];o(t._,144,8),o(t._,112,9),o(t._,24,7),o(t._,8,8),e.H.n(t._,9),e.H.A(t._,9,t.J),e.H.l(t._,9),o(t.$,32,5),e.H.n(t.$,5),e.H.A(t.$,5,t.h),e.H.l(t.$,5),o(t.Q,19,0),o(t.C,286,0),o(t.D,30,0),o(t.v,320,0)}(),e.H.N}(),He.decode._readInterlace=function(e,t){var n=t.width,r=t.height,i=He.decode._getBPP(t),o=i>>3,s=Math.ceil(n*i/8),a=new Uint8Array(r*s),l=0,c=[0,0,4,0,2,0,1],u=[0,4,0,2,0,1,0],h=[8,8,8,4,4,2,2],d=[8,8,4,4,2,2,1],f=0;while(f<7){var p=h[f],m=d[f],g=0,b=0,y=c[f];while(y<r)y+=p,b++;var v=u[f];while(v<n)v+=m,g++;var x=Math.ceil(g*i/8);He.decode._filterZero(e,t,l,g,b);var w=0,k=c[f];while(k<r){var S=u[f],C=l+w*x<<3;while(S<n){if(1==i){var T=e[C>>3];T=T>>7-(7&C)&1,a[k*s+(S>>3)]|=T<<7-((7&S)<<0)}if(2==i){T=e[C>>3];T=T>>6-(7&C)&3,a[k*s+(S>>2)]|=T<<6-((3&S)<<1)}if(4==i){T=e[C>>3];T=T>>4-(7&C)&15,a[k*s+(S>>1)]|=T<<4-((1&S)<<2)}if(i>=8)for(var z=k*s+S*o,A=0;A<o;A++)a[z+A]=e[(C>>3)+A];C+=i,S+=m}w++,k+=p}g*b!=0&&(l+=b*(1+x)),f+=1}return a},He.decode._getBPP=function(e){var t=[1,null,3,1,2,null,4][e.ctype];return t*e.depth},He.decode._filterZero=function(e,t,n,r,i){var o=He.decode._getBPP(t),s=Math.ceil(r*o/8),a=He.decode._paeth;o=Math.ceil(o/8);var l=0,c=1,u=e[n],h=0;if(u>1&&(e[n]=[0,0,1][u-2]),3==u)for(h=o;h<s;h++)e[h+1]=e[h+1]+(e[h+1-o]>>>1)&255;for(var d=0;d<i;d++)if(l=n+d*s,c=l+d+1,u=e[c-1],h=0,0==u)for(;h<s;h++)e[l+h]=e[c+h];else if(1==u){for(;h<o;h++)e[l+h]=e[c+h];for(;h<s;h++)e[l+h]=e[c+h]+e[l+h-o]}else if(2==u)for(;h<s;h++)e[l+h]=e[c+h]+e[l+h-s];else if(3==u){for(;h<o;h++)e[l+h]=e[c+h]+(e[l+h-s]>>>1);for(;h<s;h++)e[l+h]=e[c+h]+(e[l+h-s]+e[l+h-o]>>>1)}else{for(;h<o;h++)e[l+h]=e[c+h]+a(0,e[l+h-s],0);for(;h<s;h++)e[l+h]=e[c+h]+a(e[l+h-o],e[l+h-s],e[l+h-o-s])}return e},He.decode._paeth=function(e,t,n){var r=e+t-n,i=r-e,o=r-t,s=r-n;return i*i<=o*o&&i*i<=s*s?e:o*o<=s*s?t:n},He.decode._IHDR=function(e,t,n){var r=He._bin;n.width=r.readUint(e,t),t+=4,n.height=r.readUint(e,t),t+=4,n.depth=e[t],t++,n.ctype=e[t],t++,n.compress=e[t],t++,n.filter=e[t],t++,n.interlace=e[t],t++},He._bin={nextZero:function(e,t){while(0!=e[t])t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},writeUshort:function(e,t,n){e[t]=n>>8&255,e[t+1]=255&n},readUint:function(e,t){return 16777216*e[t]+(e[t+1]<<16|e[t+2]<<8|e[t+3])},writeUint:function(e,t,n){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n},readASCII:function(e,t,n){for(var r="",i=0;i<n;i++)r+=String.fromCharCode(e[t+i]);return r},writeASCII:function(e,t,n){for(var r=0;r<n.length;r++)e[t+r]=n.charCodeAt(r)},readBytes:function(e,t,n){for(var r=[],i=0;i<n;i++)r.push(e[t+i]);return r},pad:function(e){return e.length<2?"0"+e:e},readUTF8:function(e,t,n){for(var r,i="",o=0;o<n;o++)i+="%"+He._bin.pad(e[t+o].toString(16));try{r=decodeURIComponent(i)}catch(s){return He._bin.readASCII(e,t,n)}return r}},He._copyTile=function(e,t,n,r,i,o,s,a,l){for(var c=Math.min(t,i),u=Math.min(n,o),h=0,d=0,f=0;f<u;f++)for(var p=0;p<c;p++)if(s>=0&&a>=0?(h=f*t+p<<2,d=(a+f)*i+s+p<<2):(h=(-a+f)*t-s+p<<2,d=f*i+p<<2),0==l)r[d]=e[h],r[d+1]=e[h+1],r[d+2]=e[h+2],r[d+3]=e[h+3];else if(1==l){var m=e[h+3]*(1/255),g=e[h]*m,b=e[h+1]*m,y=e[h+2]*m,v=r[d+3]*(1/255),x=r[d]*v,w=r[d+1]*v,k=r[d+2]*v,S=1-m,C=m+v*S,T=0==C?0:1/C;r[d+3]=255*C,r[d+0]=(g+x*S)*T,r[d+1]=(b+w*S)*T,r[d+2]=(y+k*S)*T}else if(2==l){m=e[h+3],g=e[h],b=e[h+1],y=e[h+2],v=r[d+3],x=r[d],w=r[d+1],k=r[d+2];m==v&&g==x&&b==w&&y==k?(r[d]=0,r[d+1]=0,r[d+2]=0,r[d+3]=0):(r[d]=g,r[d+1]=b,r[d+2]=y,r[d+3]=m)}else if(3==l){m=e[h+3],g=e[h],b=e[h+1],y=e[h+2],v=r[d+3],x=r[d],w=r[d+1],k=r[d+2];if(m==v&&g==x&&b==w&&y==k)continue;if(m<220&&v>20)return!1}return!0},He.encode=function(e,t,n,r,i,o,s){null==r&&(r=0),null==s&&(s=!1);var a=He.encode.compress(e,t,n,r,[!1,!1,!1,0,s]);return He.encode.compressPNG(a,-1),He.encode._main(a,t,n,i,o)},He.encodeLL=function(e,t,n,r,i,o,s,a){for(var l={ctype:0+(1==r?0:2)+(0==i?0:4),depth:o,frames:[]},c=(Date.now(),(r+i)*o),u=c*t,h=0;h<e.length;h++)l.frames.push({rect:{x:0,y:0,width:t,height:n},img:new Uint8Array(e[h]),blend:0,dispose:1,bpp:Math.ceil(c/8),bpl:Math.ceil(u/8)});He.encode.compressPNG(l,0,!0);var d=He.encode._main(l,t,n,s,a);return d},He.encode._main=function(e,t,n,r,i){null==i&&(i={});var o=He.crc.crc,s=He._bin.writeUint,a=He._bin.writeUshort,l=He._bin.writeASCII,c=8,u=e.frames.length>1,h=!1,d=33+(u?20:0);if(null!=i["sRGB"]&&(d+=13),null!=i["pHYs"]&&(d+=21),3==e.ctype){for(var f=e.plte.length,p=0;p<f;p++)e.plte[p]>>>24!=255&&(h=!0);d+=8+3*f+4+(h?8+1*f+4:0)}for(var m=0;m<e.frames.length;m++){var g=e.frames[m];u&&(d+=38),d+=g.cimg.length+12,0!=m&&(d+=4)}d+=12;var b=new Uint8Array(d),y=[137,80,78,71,13,10,26,10];for(p=0;p<8;p++)b[p]=y[p];if(s(b,c,13),c+=4,l(b,c,"IHDR"),c+=4,s(b,c,t),c+=4,s(b,c,n),c+=4,b[c]=e.depth,c++,b[c]=e.ctype,c++,b[c]=0,c++,b[c]=0,c++,b[c]=0,c++,s(b,c,o(b,c-17,17)),c+=4,null!=i["sRGB"]&&(s(b,c,1),c+=4,l(b,c,"sRGB"),c+=4,b[c]=i["sRGB"],c++,s(b,c,o(b,c-5,5)),c+=4),null!=i["pHYs"]&&(s(b,c,9),c+=4,l(b,c,"pHYs"),c+=4,s(b,c,i["pHYs"][0]),c+=4,s(b,c,i["pHYs"][1]),c+=4,b[c]=i["pHYs"][2],c++,s(b,c,o(b,c-13,13)),c+=4),u&&(s(b,c,8),c+=4,l(b,c,"acTL"),c+=4,s(b,c,e.frames.length),c+=4,s(b,c,null!=i["loop"]?i["loop"]:0),c+=4,s(b,c,o(b,c-12,12)),c+=4),3==e.ctype){f=e.plte.length;s(b,c,3*f),c+=4,l(b,c,"PLTE"),c+=4;for(p=0;p<f;p++){var v=3*p,x=e.plte[p],w=255&x,k=x>>>8&255,S=x>>>16&255;b[c+v+0]=w,b[c+v+1]=k,b[c+v+2]=S}if(c+=3*f,s(b,c,o(b,c-3*f-4,3*f+4)),c+=4,h){s(b,c,f),c+=4,l(b,c,"tRNS"),c+=4;for(p=0;p<f;p++)b[c+p]=e.plte[p]>>>24&255;c+=f,s(b,c,o(b,c-f-4,f+4)),c+=4}}var C=0;for(m=0;m<e.frames.length;m++){g=e.frames[m];u&&(s(b,c,26),c+=4,l(b,c,"fcTL"),c+=4,s(b,c,C++),c+=4,s(b,c,g.rect.width),c+=4,s(b,c,g.rect.height),c+=4,s(b,c,g.rect.x),c+=4,s(b,c,g.rect.y),c+=4,a(b,c,r[m]),c+=2,a(b,c,1e3),c+=2,b[c]=g.dispose,c++,b[c]=g.blend,c++,s(b,c,o(b,c-30,30)),c+=4);var T=g.cimg;f=T.length;s(b,c,f+(0==m?0:4)),c+=4;var z=c;l(b,c,0==m?"IDAT":"fdAT"),c+=4,0!=m&&(s(b,c,C++),c+=4),b.set(T,c),c+=f,s(b,c,o(b,z,c-z)),c+=4}return s(b,c,0),c+=4,l(b,c,"IEND"),c+=4,s(b,c,o(b,c-4,4)),c+=4,b.buffer},He.encode.compressPNG=function(e,t,n){for(var r=0;r<e.frames.length;r++){var i=e.frames[r],o=(i.rect.width,i.rect.height),s=new Uint8Array(o*i.bpl+o);i.cimg=He.encode._filterZero(i.img,o,i.bpp,i.bpl,s,t,n)}},He.encode.compress=function(e,t,n,r,i){for(var o=i[0],s=i[1],a=i[2],l=i[3],c=i[4],u=6,h=8,d=255,f=0;f<e.length;f++)for(var p=new Uint8Array(e[f]),m=p.length,g=0;g<m;g+=4)d&=p[g+3];var b=255!=d,y=He.encode.framize(e,t,n,o,s,a),v={},x=[],w=[];if(0!=r){var k=[];for(g=0;g<y.length;g++)k.push(y[g].img.buffer);var S=He.encode.concatRGBA(k),C=He.quantize(S,r),T=0,z=new Uint8Array(C.abuf);for(g=0;g<y.length;g++){var A=y[g].img,O=A.length;w.push(new Uint8Array(C.inds.buffer,T>>2,O>>2));for(f=0;f<O;f+=4)A[f]=z[T+f],A[f+1]=z[T+f+1],A[f+2]=z[T+f+2],A[f+3]=z[T+f+3];T+=O}for(g=0;g<C.plte.length;g++)x.push(C.plte[g].est.rgba)}else for(f=0;f<y.length;f++){var E=y[f],M=new Uint32Array(E.img.buffer),N=E.rect.width,R=(m=M.length,new Uint8Array(m));w.push(R);for(g=0;g<m;g++){var L=M[g];if(0!=g&&L==M[g-1])R[g]=R[g-1];else if(g>N&&L==M[g-N])R[g]=R[g-N];else{var D=v[L];if(null==D&&(v[L]=D=x.length,x.push(L),x.length>=300))break;R[g]=D}}}var F=x.length;F<=256&&0==c&&(h=F<=2?1:F<=4?2:F<=16?4:8,h=Math.max(h,l));for(f=0;f<y.length;f++){E=y[f],E.rect.x,E.rect.y,N=E.rect.width;var j=E.rect.height,I=E.img,B=(new Uint32Array(I.buffer),4*N),_=4;if(F<=256&&0==c){B=Math.ceil(h*N/8);for(var q=new Uint8Array(B*j),P=w[f],U=0;U<j;U++){g=U*B;var H=U*N;if(8==h)for(var W=0;W<N;W++)q[g+W]=P[H+W];else if(4==h)for(W=0;W<N;W++)q[g+(W>>1)]|=P[H+W]<<4-4*(1&W);else if(2==h)for(W=0;W<N;W++)q[g+(W>>2)]|=P[H+W]<<6-2*(3&W);else if(1==h)for(W=0;W<N;W++)q[g+(W>>3)]|=P[H+W]<<7-1*(7&W)}I=q,u=3,_=1}else if(0==b&&1==y.length){q=new Uint8Array(N*j*3);var V=N*j;for(g=0;g<V;g++){A=3*g;var G=4*g;q[A]=I[G],q[A+1]=I[G+1],q[A+2]=I[G+2]}I=q,u=2,_=3,B=3*N}E.img=I,E.bpl=B,E.bpp=_}return{ctype:u,depth:h,plte:x,frames:y}},He.encode.framize=function(e,t,n,r,i,o){for(var s=[],a=0;a<e.length;a++){var l,c=new Uint8Array(e[a]),u=new Uint32Array(c.buffer),h=0,d=0,f=t,p=n,m=r?1:0;if(0!=a){for(var g=o||r||1==a||0!=s[a-2].dispose?1:2,b=0,y=1e9,v=0;v<g;v++){for(var x=new Uint8Array(e[a-1-v]),w=new Uint32Array(e[a-1-v]),k=t,S=n,C=-1,T=-1,z=0;z<n;z++)for(var A=0;A<t;A++){var O=z*t+A;u[O]!=w[O]&&(A<k&&(k=A),A>C&&(C=A),z<S&&(S=z),z>T&&(T=z))}-1==C&&(k=S=C=T=0),i&&(1==(1&k)&&k--,1==(1&S)&&S--);var E=(C-k+1)*(T-S+1);E<y&&(y=E,b=v,h=k,d=S,f=C-k+1,p=T-S+1)}x=new Uint8Array(e[a-1-b]);1==b&&(s[a-1].dispose=2),l=new Uint8Array(f*p*4),He._copyTile(x,t,n,l,f,p,-h,-d,0),m=He._copyTile(c,t,n,l,f,p,-h,-d,3)?1:0,1==m?He.encode._prepareDiff(c,t,n,l,{x:h,y:d,width:f,height:p}):He._copyTile(c,t,n,l,f,p,-h,-d,0)}else l=c.slice(0);s.push({rect:{x:h,y:d,width:f,height:p},img:l,blend:m,dispose:0})}if(r)for(a=0;a<s.length;a++){var M=s[a];if(1!=M.blend){var N=M.rect,R=s[a-1].rect,L=Math.min(N.x,R.x),D=Math.min(N.y,R.y),F=Math.max(N.x+N.width,R.x+R.width),j=Math.max(N.y+N.height,R.y+R.height),I={x:L,y:D,width:F-L,height:j-D};s[a-1].dispose=1,a-1!=0&&He.encode._updateFrame(e,t,n,s,a-1,I,i),He.encode._updateFrame(e,t,n,s,a,I,i)}}if(1!=e.length)for(O=0;O<s.length;O++){M=s[O];M.rect.width*M.rect.height}return s},He.encode._updateFrame=function(e,t,n,r,i,o,s){for(var a=Uint8Array,l=Uint32Array,c=new a(e[i-1]),u=new l(e[i-1]),h=i+1<e.length?new a(e[i+1]):null,d=new a(e[i]),f=new l(d.buffer),p=t,m=n,g=-1,b=-1,y=0;y<o.height;y++)for(var v=0;v<o.width;v++){var x=o.x+v,w=o.y+y,k=w*t+x,S=f[k];0==S||0==r[i-1].dispose&&u[k]==S&&(null==h||0!=h[4*k+3])||(x<p&&(p=x),x>g&&(g=x),w<m&&(m=w),w>b&&(b=w))}-1==g&&(p=m=g=b=0),s&&(1==(1&p)&&p--,1==(1&m)&&m--),o={x:p,y:m,width:g-p+1,height:b-m+1};var C=r[i];C.rect=o,C.blend=1,C.img=new Uint8Array(o.width*o.height*4),0==r[i-1].dispose?(He._copyTile(c,t,n,C.img,o.width,o.height,-o.x,-o.y,0),He.encode._prepareDiff(d,t,n,C.img,o)):He._copyTile(d,t,n,C.img,o.width,o.height,-o.x,-o.y,0)},He.encode._prepareDiff=function(e,t,n,r,i){He._copyTile(e,t,n,r,i.width,i.height,-i.x,-i.y,2)},He.encode._filterZero=function(e,t,n,r,i,o,s){var l,c=[],u=[0,1,2,3,4];-1!=o?u=[o]:(t*r>5e5||1==n)&&(u=[0]),s&&(l={level:0});for(var h=s&&null!=UZIP?UZIP:a.a,d=0;d<u.length;d++){for(var f=0;f<t;f++)He.encode._filterLine(i,e,f,r,n,u[d]);c.push(h["deflate"](i,l))}var p,m=1e9;for(d=0;d<c.length;d++)c[d].length<m&&(p=d,m=c[d].length);return c[p]},He.encode._filterLine=function(e,t,n,r,i,o){var s=n*r,a=s+n,l=He.decode._paeth;if(e[a]=o,a++,0==o)if(r<500)for(var c=0;c<r;c++)e[a+c]=t[s+c];else e.set(new Uint8Array(t.buffer,s,r),a);else if(1==o){for(c=0;c<i;c++)e[a+c]=t[s+c];for(c=i;c<r;c++)e[a+c]=t[s+c]-t[s+c-i]+256&255}else if(0==n){for(c=0;c<i;c++)e[a+c]=t[s+c];if(2==o)for(c=i;c<r;c++)e[a+c]=t[s+c];if(3==o)for(c=i;c<r;c++)e[a+c]=t[s+c]-(t[s+c-i]>>1)+256&255;if(4==o)for(c=i;c<r;c++)e[a+c]=t[s+c]-l(t[s+c-i],0,0)+256&255}else{if(2==o)for(c=0;c<r;c++)e[a+c]=t[s+c]+256-t[s+c-r]&255;if(3==o){for(c=0;c<i;c++)e[a+c]=t[s+c]+256-(t[s+c-r]>>1)&255;for(c=i;c<r;c++)e[a+c]=t[s+c]+256-(t[s+c-r]+t[s+c-i]>>1)&255}if(4==o){for(c=0;c<i;c++)e[a+c]=t[s+c]+256-l(0,t[s+c-r],0)&255;for(c=i;c<r;c++)e[a+c]=t[s+c]+256-l(t[s+c-i],t[s+c-r],t[s+c-i-r])&255}}},He.crc={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var n=t,r=0;r<8;r++)1&n?n=3988292384^n>>>1:n>>>=1;e[t]=n}return e}(),update:function(e,t,n,r){for(var i=0;i<r;i++)e=He.crc.table[255&(e^t[n+i])]^e>>>8;return e},crc:function(e,t,n){return 4294967295^He.crc.update(4294967295,e,t,n)}},He.quantize=function(e,t){for(var n=new Uint8Array(e),r=n.slice(0),i=new Uint32Array(r.buffer),o=He.quantize.getKDtree(r,t),s=o[0],a=o[1],l=(He.quantize.planeDst,n),c=i,u=l.length,h=new Uint8Array(n.length>>2),d=0;d<u;d+=4){var f=l[d]*(1/255),p=l[d+1]*(1/255),m=l[d+2]*(1/255),g=l[d+3]*(1/255),b=He.quantize.getNearest(s,f,p,m,g);h[d>>2]=b.ind,c[d>>2]=b.est.rgba}return{abuf:r.buffer,inds:h,plte:a}},He.quantize.getKDtree=function(e,t,n){null==n&&(n=1e-4);var r=new Uint32Array(e.buffer),i={i0:0,i1:e.length,bst:null,est:null,tdst:0,left:null,right:null};i.bst=He.quantize.stats(e,i.i0,i.i1),i.est=He.quantize.estats(i.bst);var o=[i];while(o.length<t){for(var s=0,a=0,l=0;l<o.length;l++)o[l].est.L>s&&(s=o[l].est.L,a=l);if(s<n)break;var c=o[a],u=He.quantize.splitPixels(e,r,c.i0,c.i1,c.est.e,c.est.eMq255),h=c.i0>=u||c.i1<=u;if(h)c.est.L=0;else{var d={i0:c.i0,i1:u,bst:null,est:null,tdst:0,left:null,right:null};d.bst=He.quantize.stats(e,d.i0,d.i1),d.est=He.quantize.estats(d.bst);var f={i0:u,i1:c.i1,bst:null,est:null,tdst:0,left:null,right:null};f.bst={R:[],m:[],N:c.bst.N-d.bst.N};for(l=0;l<16;l++)f.bst.R[l]=c.bst.R[l]-d.bst.R[l];for(l=0;l<4;l++)f.bst.m[l]=c.bst.m[l]-d.bst.m[l];f.est=He.quantize.estats(f.bst),c.left=d,c.right=f,o[a]=d,o.push(f)}}o.sort((function(e,t){return t.bst.N-e.bst.N}));for(l=0;l<o.length;l++)o[l].ind=l;return[i,o]},He.quantize.getNearest=function(e,t,n,r,i){if(null==e.left)return e.tdst=He.quantize.dist(e.est.q,t,n,r,i),e;var o=He.quantize.planeDst(e.est,t,n,r,i),s=e.left,a=e.right;o>0&&(s=e.right,a=e.left);var l=He.quantize.getNearest(s,t,n,r,i);if(l.tdst<=o*o)return l;var c=He.quantize.getNearest(a,t,n,r,i);return c.tdst<l.tdst?c:l},He.quantize.planeDst=function(e,t,n,r,i){var o=e.e;return o[0]*t+o[1]*n+o[2]*r+o[3]*i-e.eMq},He.quantize.dist=function(e,t,n,r,i){var o=t-e[0],s=n-e[1],a=r-e[2],l=i-e[3];return o*o+s*s+a*a+l*l},He.quantize.splitPixels=function(e,t,n,r,i,o){var s=He.quantize.vecDot;r-=4;while(n<r){while(s(e,n,i)<=o)n+=4;while(s(e,r,i)>o)r-=4;if(n>=r)break;var a=t[n>>2];t[n>>2]=t[r>>2],t[r>>2]=a,n+=4,r-=4}while(s(e,n,i)>o)n-=4;return n+4},He.quantize.vecDot=function(e,t,n){return e[t]*n[0]+e[t+1]*n[1]+e[t+2]*n[2]+e[t+3]*n[3]},He.quantize.stats=function(e,t,n){for(var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],i=[0,0,0,0],o=n-t>>2,s=t;s<n;s+=4){var a=e[s]*(1/255),l=e[s+1]*(1/255),c=e[s+2]*(1/255),u=e[s+3]*(1/255);i[0]+=a,i[1]+=l,i[2]+=c,i[3]+=u,r[0]+=a*a,r[1]+=a*l,r[2]+=a*c,r[3]+=a*u,r[5]+=l*l,r[6]+=l*c,r[7]+=l*u,r[10]+=c*c,r[11]+=c*u,r[15]+=u*u}return r[4]=r[1],r[8]=r[2],r[9]=r[6],r[12]=r[3],r[13]=r[7],r[14]=r[11],{R:r,m:i,N:o}},He.quantize.estats=function(e){var t=e.R,n=e.m,r=e.N,i=n[0],o=n[1],s=n[2],a=n[3],l=0==r?0:1/r,c=[t[0]-i*i*l,t[1]-i*o*l,t[2]-i*s*l,t[3]-i*a*l,t[4]-o*i*l,t[5]-o*o*l,t[6]-o*s*l,t[7]-o*a*l,t[8]-s*i*l,t[9]-s*o*l,t[10]-s*s*l,t[11]-s*a*l,t[12]-a*i*l,t[13]-a*o*l,t[14]-a*s*l,t[15]-a*a*l],u=c,h=He.M4,d=[.5,.5,.5,.5],f=0,p=0;if(0!=r)for(var m=0;m<10;m++){if(d=h.multVec(u,d),p=Math.sqrt(h.dot(d,d)),d=h.sml(1/p,d),Math.abs(p-f)<1e-9)break;f=p}var g=[i*l,o*l,s*l,a*l],b=h.dot(h.sml(255,g),d);return{Cov:c,q:g,e:d,L:f,eMq255:b,eMq:h.dot(d,g),rgba:(Math.round(255*g[3])<<24|Math.round(255*g[2])<<16|Math.round(255*g[1])<<8|Math.round(255*g[0])<<0)>>>0}},He.M4={multVec:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3],e[4]*t[0]+e[5]*t[1]+e[6]*t[2]+e[7]*t[3],e[8]*t[0]+e[9]*t[1]+e[10]*t[2]+e[11]*t[3],e[12]*t[0]+e[13]*t[1]+e[14]*t[2]+e[15]*t[3]]},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},sml:function(e,t){return[e*t[0],e*t[1],e*t[2],e*t[3]]}},He.encode.concatRGBA=function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].byteLength;var r=new Uint8Array(t),i=0;for(n=0;n<e.length;n++){for(var o=new Uint8Array(e[n]),s=o.length,a=0;a<s;a+=4){var l=o[a],c=o[a+1],u=o[a+2],h=o[a+3];0==h&&(l=c=u=0),r[i+a]=l,r[i+a+1]=c,r[i+a+2]=u,r[i+a+3]=h}i+=s}return r.buffer};var We,Ve=He,Ge=function(e){if(0===e)return We.Greyscale;if(2===e)return We.Truecolour;if(3===e)return We.IndexedColour;if(4===e)return We.GreyscaleWithAlpha;if(6===e)return We.TruecolourWithAlpha;throw new Error("Unknown color type: "+e)},Ke=function(e){var t=Math.floor(e.length/4),n=new Uint8Array(3*t),r=new Uint8Array(1*t),i=0,o=0,s=0;while(i<e.length)n[o++]=e[i++],n[o++]=e[i++],n[o++]=e[i++],r[s++]=e[i++];return{rgbChannel:n,alphaChannel:r}};(function(e){e["Greyscale"]="Greyscale",e["Truecolour"]="Truecolour",e["IndexedColour"]="IndexedColour",e["GreyscaleWithAlpha"]="GreyscaleWithAlpha",e["TruecolourWithAlpha"]="TruecolourWithAlpha"})(We||(We={}));var Xe,Ye,Ze,Je,Qe=function(){function e(e){var t=Ve.decode(e),n=Ve.toRGBA8(t);if(n.length>1)throw new Error("Animated PNGs are not supported");var r=new Uint8Array(n[0]),i=Ke(r),o=i.rgbChannel,s=i.alphaChannel;this.rgbChannel=o;var a=s.some((function(e){return e<255}));a&&(this.alphaChannel=s),this.type=Ge(t.ctype),this.width=t.width,this.height=t.height,this.bitsPerComponent=8}return e.load=function(t){return new e(t)},e}(),$e=function(){function e(e){this.image=e,this.bitsPerComponent=e.bitsPerComponent,this.width=e.width,this.height=e.height,this.colorSpace="DeviceRGB"}return e.for=function(t){return Object(o["b"])(this,void 0,void 0,(function(){var n;return Object(o["d"])(this,(function(r){return n=Qe.load(t),[2,new e(n)]}))}))},e.prototype.embedIntoContext=function(e,t){return Object(o["b"])(this,void 0,void 0,(function(){var n,r;return Object(o["d"])(this,(function(i){return n=this.embedAlphaChannel(e),r=e.flateStream(this.image.rgbChannel,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bitsPerComponent,Width:this.image.width,Height:this.image.height,ColorSpace:this.colorSpace,SMask:n}),t?(e.assign(t,r),[2,t]):[2,e.register(r)]}))}))},e.prototype.embedAlphaChannel=function(e){if(this.image.alphaChannel){var t=e.flateStream(this.image.alphaChannel,{Type:"XObject",Subtype:"Image",Height:this.image.height,Width:this.image.width,BitsPerComponent:this.image.bitsPerComponent,ColorSpace:"DeviceGray",Decode:[0,1]});return e.register(t)}},e}(),et=$e,tt=function(){function e(e,t,n){this.bytes=e,this.start=t||0,this.pos=this.start,this.end=t&&n?t+n:this.bytes.length}return Object.defineProperty(e.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.length},enumerable:!1,configurable:!0}),e.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},e.prototype.getUint16=function(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t},e.prototype.getInt32=function(){var e=this.getByte(),t=this.getByte(),n=this.getByte(),r=this.getByte();return(e<<24)+(t<<16)+(n<<8)+r},e.prototype.getBytes=function(e,t){void 0===t&&(t=!1);var n=this.bytes,r=this.pos,i=this.end;if(e){var o=r+e;o>i&&(o=i),this.pos=o;s=n.subarray(r,o);return t?new Uint8ClampedArray(s):s}var s=n.subarray(r,i);return t?new Uint8ClampedArray(s):s},e.prototype.peekByte=function(){var e=this.getByte();return this.pos--,e},e.prototype.peekBytes=function(e,t){void 0===t&&(t=!1);var n=this.getBytes(e,t);return this.pos-=n.length,n},e.prototype.skip=function(e){e||(e=1),this.pos+=e},e.prototype.reset=function(){this.pos=this.start},e.prototype.moveStart=function(){this.start=this.pos},e.prototype.makeSubStream=function(t,n){return new e(this.bytes,t,n)},e.prototype.decode=function(){return this.bytes},e}(),nt=tt,rt=new Uint8Array(0),it=function(){function e(e){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=rt,this.minBufferLength=512,e)while(this.minBufferLength<e)this.minBufferLength*=2}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){while(!this.eof&&0===this.bufferLength)this.readBlock();return 0===this.bufferLength},enumerable:!1,configurable:!0}),e.prototype.getByte=function(){var e=this.pos;while(this.bufferLength<=e){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},e.prototype.getUint16=function(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t},e.prototype.getInt32=function(){var e=this.getByte(),t=this.getByte(),n=this.getByte(),r=this.getByte();return(e<<24)+(t<<16)+(n<<8)+r},e.prototype.getBytes=function(e,t){var n;void 0===t&&(t=!1);var r=this.pos;if(e){this.ensureBuffer(r+e),n=r+e;while(!this.eof&&this.bufferLength<n)this.readBlock();var i=this.bufferLength;n>i&&(n=i)}else{while(!this.eof)this.readBlock();n=this.bufferLength}this.pos=n;var o=this.buffer.subarray(r,n);return!t||o instanceof Uint8ClampedArray?o:new Uint8ClampedArray(o)},e.prototype.peekByte=function(){var e=this.getByte();return this.pos--,e},e.prototype.peekBytes=function(e,t){void 0===t&&(t=!1);var n=this.getBytes(e,t);return this.pos-=n.length,n},e.prototype.skip=function(e){e||(e=1),this.pos+=e},e.prototype.reset=function(){this.pos=0},e.prototype.makeSubStream=function(e,t){var n=e+t;while(this.bufferLength<=n&&!this.eof)this.readBlock();return new nt(this.buffer,e,t)},e.prototype.decode=function(){while(!this.eof)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},e.prototype.readBlock=function(){throw new r["f"](this.constructor.name,"readBlock")},e.prototype.ensureBuffer=function(e){var t=this.buffer;if(e<=t.byteLength)return t;var n=this.minBufferLength;while(n<e)n*=2;var r=new Uint8Array(n);return r.set(t),this.buffer=r},e}(),ot=it,st=function(e){return 32===e||9===e||13===e||10===e},at=function(e){function t(t,n){var r=e.call(this,n)||this;return r.stream=t,r.input=new Uint8Array(5),n&&(n*=.8),r}return Object(o["c"])(t,e),t.prototype.readBlock=function(){var e=126,t=122,n=-1,r=this.stream,i=r.getByte();while(st(i))i=r.getByte();if(i!==n&&i!==e){var o,s,a=this.bufferLength;if(i===t){for(o=this.ensureBuffer(a+4),s=0;s<4;++s)o[a+s]=0;this.bufferLength+=4}else{var l=this.input;for(l[0]=i,s=1;s<5;++s){i=r.getByte();while(st(i))i=r.getByte();if(l[s]=i,i===n||i===e)break}if(o=this.ensureBuffer(a+s-1),this.bufferLength+=s-1,s<5){for(;s<5;++s)l[s]=117;this.eof=!0}var c=0;for(s=0;s<5;++s)c=85*c+(l[s]-33);for(s=3;s>=0;--s)o[a+s]=255&c,c>>=8}}else this.eof=!0},t}(ot),lt=at,ct=function(e){function t(t,n){var r=e.call(this,n)||this;return r.stream=t,r.firstDigit=-1,n&&(n*=.5),r}return Object(o["c"])(t,e),t.prototype.readBlock=function(){var e=8e3,t=this.stream.getBytes(e);if(t.length){for(var n=t.length+1>>1,r=this.ensureBuffer(this.bufferLength+n),i=this.bufferLength,o=this.firstDigit,s=0,a=t.length;s<a;s++){var l=t[s],c=void 0;if(l>=48&&l<=57)c=15&l;else{if(!(l>=65&&l<=70||l>=97&&l<=102)){if(62===l){this.eof=!0;break}continue}c=9+(15&l)}o<0?o=c:(r[i++]=o<<4|c,o=-1)}o>=0&&this.eof&&(r[i++]=o<<4,o=-1),this.firstDigit=o,this.bufferLength=i}else this.eof=!0},t}(ot),ut=ct,ht=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),dt=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),ft=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),pt=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],mt=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],gt=function(e){function t(t,n){var r=e.call(this,n)||this;r.stream=t;var i=t.getByte(),o=t.getByte();if(-1===i||-1===o)throw new Error("Invalid header in flate stream: "+i+", "+o);if(8!==(15&i))throw new Error("Unknown compression method in flate stream: "+i+", "+o);if(((i<<8)+o)%31!==0)throw new Error("Bad FCHECK in flate stream: "+i+", "+o);if(32&o)throw new Error("FDICT bit set in flate stream: "+i+", "+o);return r.codeSize=0,r.codeBuf=0,r}return Object(o["c"])(t,e),t.prototype.readBlock=function(){var e,t,n=this.stream,r=this.getBits(3);if(1&r&&(this.eof=!0),r>>=1,0!==r){var i,o;if(1===r)i=pt,o=mt;else{if(2!==r)throw new Error("Unknown block type in flate stream");var s=this.getBits(5)+257,a=this.getBits(5)+1,l=this.getBits(4)+4,c=new Uint8Array(ht.length),u=void 0;for(u=0;u<l;++u)c[ht[u]]=this.getBits(3);var h=this.generateHuffmanTable(c);t=0,u=0;var d=s+a,f=new Uint8Array(d),p=void 0,m=void 0,g=void 0;while(u<d){var b=this.getCode(h);if(16===b)p=2,m=3,g=t;else if(17===b)p=3,m=3,g=t=0;else{if(18!==b){f[u++]=t=b;continue}p=7,m=11,g=t=0}var y=this.getBits(p)+m;while(y-- >0)f[u++]=g}i=this.generateHuffmanTable(f.subarray(0,s)),o=this.generateHuffmanTable(f.subarray(s,d))}e=this.buffer;var v=e?e.length:0,x=this.bufferLength;while(1){var w=this.getCode(i);if(w<256)x+1>=v&&(e=this.ensureBuffer(x+1),v=e.length),e[x++]=w;else{if(256===w)return void(this.bufferLength=x);w-=257,w=dt[w];var k=w>>16;k>0&&(k=this.getBits(k)),t=(65535&w)+k,w=this.getCode(o),w=ft[w],k=w>>16,k>0&&(k=this.getBits(k));var S=(65535&w)+k;x+t>=v&&(e=this.ensureBuffer(x+t),v=e.length);for(var C=0;C<t;++C,++x)e[x]=e[x-S]}}}else{var T=void 0;if(-1===(T=n.getByte()))throw new Error("Bad block header in flate stream");var z=T;if(-1===(T=n.getByte()))throw new Error("Bad block header in flate stream");if(z|=T<<8,-1===(T=n.getByte()))throw new Error("Bad block header in flate stream");var A=T;if(-1===(T=n.getByte()))throw new Error("Bad block header in flate stream");if(A|=T<<8,A!==(65535&~z)&&(0!==z||0!==A))throw new Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var O=this.bufferLength;e=this.ensureBuffer(O+z);var E=O+z;if(this.bufferLength=E,0===z)-1===n.peekByte()&&(this.eof=!0);else for(var M=O;M<E;++M){if(-1===(T=n.getByte())){this.eof=!0;break}e[M]=T}}},t.prototype.getBits=function(e){var t,n=this.stream,r=this.codeSize,i=this.codeBuf;while(r<e){if(-1===(t=n.getByte()))throw new Error("Bad encoding in flate stream");i|=t<<r,r+=8}return t=i&(1<<e)-1,this.codeBuf=i>>e,this.codeSize=r-=e,t},t.prototype.getCode=function(e){var t,n=this.stream,r=e[0],i=e[1],o=this.codeSize,s=this.codeBuf;while(o<i){if(-1===(t=n.getByte()))break;s|=t<<o,o+=8}var a=r[s&(1<<i)-1];"number"===typeof r&&console.log("FLATE:",a);var l=a>>16,c=65535&a;if(l<1||o<l)throw new Error("Bad encoding in flate stream");return this.codeBuf=s>>l,this.codeSize=o-l,c},t.prototype.generateHuffmanTable=function(e){var t,n=e.length,r=0;for(t=0;t<n;++t)e[t]>r&&(r=e[t]);for(var i=1<<r,o=new Int32Array(i),s=1,a=0,l=2;s<=r;++s,a<<=1,l<<=1)for(var c=0;c<n;++c)if(e[c]===s){var u=0,h=a;for(t=0;t<s;++t)u=u<<1|1&h,h>>=1;for(t=u;t<i;t+=l)o[t]=s<<16|c;++a}return[o,r]},t}(ot),bt=gt,yt=function(e){function t(t,n,r){var i=e.call(this,n)||this;i.stream=t,i.cachedData=0,i.bitsCached=0;for(var o=4096,s={earlyChange:r,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(o),dictionaryLengths:new Uint16Array(o),dictionaryPrevCodes:new Uint16Array(o),currentSequence:new Uint8Array(o),currentSequenceLength:0},a=0;a<256;++a)s.dictionaryValues[a]=a,s.dictionaryLengths[a]=1;return i.lzwState=s,i}return Object(o["c"])(t,e),t.prototype.readBlock=function(){var e,t,n,r=512,i=2*r,o=r,s=this.lzwState;if(s){var a=s.earlyChange,l=s.nextCode,c=s.dictionaryValues,u=s.dictionaryLengths,h=s.dictionaryPrevCodes,d=s.codeLength,f=s.prevCode,p=s.currentSequence,m=s.currentSequenceLength,g=0,b=this.bufferLength,y=this.ensureBuffer(this.bufferLength+i);for(e=0;e<r;e++){var v=this.readBits(d),x=m>0;if(!v||v<256)p[0]=v,m=1;else{if(!(v>=258)){if(256===v){d=9,l=258,m=0;continue}this.eof=!0,delete this.lzwState;break}if(v<l)for(m=u[v],t=m-1,n=v;t>=0;t--)p[t]=c[n],n=h[n];else p[m++]=p[0]}if(x&&(h[l]=f,u[l]=u[f]+1,c[l]=p[0],l++,d=l+a&l+a-1?d:0|Math.min(Math.log(l+a)/.6931471805599453+1,12)),f=v,g+=m,i<g){do{i+=o}while(i<g);y=this.ensureBuffer(this.bufferLength+i)}for(t=0;t<m;t++)y[b++]=p[t]}s.nextCode=l,s.codeLength=d,s.prevCode=f,s.currentSequenceLength=m,this.bufferLength=b}},t.prototype.readBits=function(e){var t=this.bitsCached,n=this.cachedData;while(t<e){var r=this.stream.getByte();if(-1===r)return this.eof=!0,null;n=n<<8|r,t+=8}return this.bitsCached=t-=e,this.cachedData=n,n>>>t&(1<<e)-1},t}(ot),vt=yt,xt=function(e){function t(t,n){var r=e.call(this,n)||this;return r.stream=t,r}return Object(o["c"])(t,e),t.prototype.readBlock=function(){var e=this.stream.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{var t,n=this.bufferLength,r=e[0];if(r<128){if(t=this.ensureBuffer(n+r+1),t[n++]=e[1],r>0){var i=this.stream.getBytes(r);t.set(i,n),n+=r}}else{r=257-r;var o=e[1];t=this.ensureBuffer(n+r+1);for(var s=0;s<r;s++)t[n++]=o}this.bufferLength=n}},t}(ot),wt=xt,kt=function(e,t,n){if(t===M.of("FlateDecode"))return new bt(e);if(t===M.of("LZWDecode")){var i=1;if(n instanceof D){var o=n.lookup(M.of("EarlyChange"));o instanceof f&&(i=o.asNumber())}return new vt(e,void 0,i)}if(t===M.of("ASCII85Decode"))return new lt(e);if(t===M.of("ASCIIHexDecode"))return new ut(e);if(t===M.of("RunLengthDecode"))return new wt(e);throw new r["z"](t.asString())},St=function(e){var t=e.dict,n=e.contents,i=new nt(n),o=t.lookup(M.of("Filter")),s=t.lookup(M.of("DecodeParms"));if(o instanceof M)i=kt(i,o,s);else if(o instanceof m)for(var a=0,l=o.size();a<l;a++)i=kt(i,o.lookup(a,M),s&&s.lookupMaybe(a,D));else if(o)throw new r["x"]([M,m],o);return i},Ct=function(e){var t=e.MediaBox(),n=t.lookup(2,f).asNumber()-t.lookup(0,f).asNumber(),r=t.lookup(3,f).asNumber()-t.lookup(1,f).asNumber();return{left:0,bottom:0,right:n,top:r}},Tt=function(e){return[1,0,0,1,-e.left,-e.bottom]},zt=function(){function e(e,t,n){this.page=e;var r=null!==t&&void 0!==t?t:Ct(e);this.width=r.right-r.left,this.height=r.top-r.bottom,this.boundingBox=r,this.transformationMatrix=null!==n&&void 0!==n?n:Tt(r)}return e.for=function(t,n,r){return Object(o["b"])(this,void 0,void 0,(function(){return Object(o["d"])(this,(function(i){return[2,new e(t,n,r)]}))}))},e.prototype.embedIntoContext=function(e,t){return Object(o["b"])(this,void 0,void 0,(function(){var n,i,s,a,l,c,u,h,d,f;return Object(o["d"])(this,(function(o){if(n=this.page.normalizedEntries(),i=n.Contents,s=n.Resources,!i)throw new r["j"];return a=this.decodeContents(i),l=this.boundingBox,c=l.left,u=l.bottom,h=l.right,d=l.top,f=e.flateStream(a,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[c,u,h,d],Matrix:this.transformationMatrix,Resources:s}),t?(e.assign(t,f),[2,t]):[2,e.register(f)]}))}))},e.prototype.decodeContents=function(e){for(var t=Uint8Array.of(i["a"].Newline),n=[],o=0,s=e.size();o<s;o++){var a=e.lookup(o,j),c=void 0;if(a instanceof B)c=St(a).decode();else{if(!(a instanceof Z))throw new r["y"](a);c=a.getUnencodedContents()}n.push(c,t)}return l["E"].apply(void 0,n)},e}(),At=zt,Ot=function(e,t){if(void 0!==e)return t[e]};(function(e){e["UseNone"]="UseNone",e["UseOutlines"]="UseOutlines",e["UseThumbs"]="UseThumbs",e["UseOC"]="UseOC"})(Xe||(Xe={})),function(e){e["L2R"]="L2R",e["R2L"]="R2L"}(Ye||(Ye={})),function(e){e["None"]="None",e["AppDefault"]="AppDefault"}(Ze||(Ze={})),function(e){e["Simplex"]="Simplex",e["DuplexFlipShortEdge"]="DuplexFlipShortEdge",e["DuplexFlipLongEdge"]="DuplexFlipLongEdge"}(Je||(Je={}));var Et,Mt,Nt,Rt,Lt=function(){function e(e){this.dict=e}return e.prototype.lookupBool=function(e){var t=this.dict.lookup(M.of(e));if(t instanceof y)return t},e.prototype.lookupName=function(e){var t=this.dict.lookup(M.of(e));if(t instanceof M)return t},e.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},e.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},e.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},e.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},e.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},e.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},e.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},e.prototype.Direction=function(){return this.lookupName("Direction")},e.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},e.prototype.Duplex=function(){return this.lookupName("Duplex")},e.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},e.prototype.PrintPageRange=function(){var e=this.dict.lookup(M.of("PrintPageRange"));if(e instanceof m)return e},e.prototype.NumCopies=function(){var e=this.dict.lookup(M.of("NumCopies"));if(e instanceof f)return e},e.prototype.getHideToolbar=function(){var e,t;return null!==(t=null===(e=this.HideToolbar())||void 0===e?void 0:e.asBoolean())&&void 0!==t&&t},e.prototype.getHideMenubar=function(){var e,t;return null!==(t=null===(e=this.HideMenubar())||void 0===e?void 0:e.asBoolean())&&void 0!==t&&t},e.prototype.getHideWindowUI=function(){var e,t;return null!==(t=null===(e=this.HideWindowUI())||void 0===e?void 0:e.asBoolean())&&void 0!==t&&t},e.prototype.getFitWindow=function(){var e,t;return null!==(t=null===(e=this.FitWindow())||void 0===e?void 0:e.asBoolean())&&void 0!==t&&t},e.prototype.getCenterWindow=function(){var e,t;return null!==(t=null===(e=this.CenterWindow())||void 0===e?void 0:e.asBoolean())&&void 0!==t&&t},e.prototype.getDisplayDocTitle=function(){var e,t;return null!==(t=null===(e=this.DisplayDocTitle())||void 0===e?void 0:e.asBoolean())&&void 0!==t&&t},e.prototype.getNonFullScreenPageMode=function(){var e,t,n=null===(e=this.NonFullScreenPageMode())||void 0===e?void 0:e.decodeText();return null!==(t=Ot(n,Xe))&&void 0!==t?t:Xe.UseNone},e.prototype.getReadingDirection=function(){var e,t,n=null===(e=this.Direction())||void 0===e?void 0:e.decodeText();return null!==(t=Ot(n,Ye))&&void 0!==t?t:Ye.L2R},e.prototype.getPrintScaling=function(){var e,t,n=null===(e=this.PrintScaling())||void 0===e?void 0:e.decodeText();return null!==(t=Ot(n,Ze))&&void 0!==t?t:Ze.AppDefault},e.prototype.getDuplex=function(){var e,t=null===(e=this.Duplex())||void 0===e?void 0:e.decodeText();return Ot(t,Je)},e.prototype.getPickTrayByPDFSize=function(){var e;return null===(e=this.PickTrayByPDFSize())||void 0===e?void 0:e.asBoolean()},e.prototype.getPrintPageRange=function(){var e=this.PrintPageRange();if(!e)return[];for(var t=[],n=0;n<e.size();n+=2){var r=e.lookup(n,f).asNumber(),i=e.lookup(n+1,f).asNumber();t.push({start:r,end:i})}return t},e.prototype.getNumCopies=function(){var e,t;return null!==(t=null===(e=this.NumCopies())||void 0===e?void 0:e.asNumber())&&void 0!==t?t:1},e.prototype.setHideToolbar=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("HideToolbar"),t)},e.prototype.setHideMenubar=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("HideMenubar"),t)},e.prototype.setHideWindowUI=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("HideWindowUI"),t)},e.prototype.setFitWindow=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("FitWindow"),t)},e.prototype.setCenterWindow=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("CenterWindow"),t)},e.prototype.setDisplayDocTitle=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("DisplayDocTitle"),t)},e.prototype.setNonFullScreenPageMode=function(e){Object(l["f"])(e,"nonFullScreenPageMode",Xe);var t=M.of(e);this.dict.set(M.of("NonFullScreenPageMode"),t)},e.prototype.setReadingDirection=function(e){Object(l["f"])(e,"readingDirection",Ye);var t=M.of(e);this.dict.set(M.of("Direction"),t)},e.prototype.setPrintScaling=function(e){Object(l["f"])(e,"printScaling",Ze);var t=M.of(e);this.dict.set(M.of("PrintScaling"),t)},e.prototype.setDuplex=function(e){Object(l["f"])(e,"duplex",Je);var t=M.of(e);this.dict.set(M.of("Duplex"),t)},e.prototype.setPickTrayByPDFSize=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("PickTrayByPDFSize"),t)},e.prototype.setPrintPageRange=function(e){Array.isArray(e)||(e=[e]);for(var t=[],n=0,r=e.length;n<r;n++)t.push(e[n].start),t.push(e[n].end);Object(l["c"])(t,"printPageRange",["number"]);var i=this.dict.context.obj(t);this.dict.set(M.of("PrintPageRange"),i)},e.prototype.setNumCopies=function(e){Object(l["l"])(e,"numCopies",1,Number.MAX_VALUE),Object(l["d"])(e,"numCopies");var t=this.dict.context.obj(e);this.dict.set(M.of("NumCopies"),t)},e.fromDict=function(t){return new e(t)},e.create=function(t){var n=t.obj({});return new e(n)},e}(),Dt=Lt,Ft=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,jt=function(){function e(e,t){this.dict=e,this.ref=t}return e.prototype.T=function(){return this.dict.lookupMaybe(M.of("T"),De["a"],Se["a"])},e.prototype.Ff=function(){var e=this.getInheritableAttribute(M.of("Ff"));return this.dict.context.lookupMaybe(e,f)},e.prototype.V=function(){var e=this.getInheritableAttribute(M.of("V"));return this.dict.context.lookup(e)},e.prototype.Kids=function(){return this.dict.lookupMaybe(M.of("Kids"),m)},e.prototype.DA=function(){var e=this.dict.lookup(M.of("DA"));if(e instanceof De["a"]||e instanceof Se["a"])return e},e.prototype.setKids=function(e){this.dict.set(M.of("Kids"),this.dict.context.obj(e))},e.prototype.getParent=function(){var t=this.dict.get(M.of("Parent"));if(t instanceof U){var n=this.dict.lookup(M.of("Parent"),D);return new e(n,t)}},e.prototype.setParent=function(e){e?this.dict.set(M.of("Parent"),e):this.dict.delete(M.of("Parent"))},e.prototype.getFullyQualifiedName=function(){var e=this.getParent();return e?e.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},e.prototype.getPartialName=function(){var e;return null===(e=this.T())||void 0===e?void 0:e.decodeText()},e.prototype.setPartialName=function(e){e?this.dict.set(M.of("T"),Se["a"].fromText(e)):this.dict.delete(M.of("T"))},e.prototype.setDefaultAppearance=function(e){this.dict.set(M.of("DA"),De["a"].of(e))},e.prototype.getDefaultAppearance=function(){var e=this.DA();return e instanceof Se["a"]?e.decodeText():null===e||void 0===e?void 0:e.asString()},e.prototype.setFontSize=function(e){var t,n=null!==(t=this.getFullyQualifiedName())&&void 0!==t?t:"",i=this.getDefaultAppearance();if(!i)throw new r["g"](n);var o=Object(l["z"])(i,Ft);if(!o.match)throw new r["k"](n);var s=i.slice(0,o.pos-o.match[0].length),a=o.pos<=i.length?i.slice(o.pos):"",c=o.match[1],u=s+" /"+c+" "+e+" Tf "+a;this.setDefaultAppearance(u)},e.prototype.getFlags=function(){var e,t;return null!==(t=null===(e=this.Ff())||void 0===e?void 0:e.asNumber())&&void 0!==t?t:0},e.prototype.setFlags=function(e){this.dict.set(M.of("Ff"),f.of(e))},e.prototype.hasFlag=function(e){var t=this.getFlags();return 0!==(t&e)},e.prototype.setFlag=function(e){var t=this.getFlags();this.setFlags(t|e)},e.prototype.clearFlag=function(e){var t=this.getFlags();this.setFlags(t&~e)},e.prototype.setFlagTo=function(e,t){t?this.setFlag(e):this.clearFlag(e)},e.prototype.getInheritableAttribute=function(e){var t;return this.ascend((function(n){t||(t=n.dict.get(e))})),t},e.prototype.ascend=function(e){e(this);var t=this.getParent();t&&t.ascend(e)},e}(),It=jt,Bt=function(){function e(e){this.dict=e}return e.prototype.W=function(){var e=this.dict.lookup(M.of("W"));if(e instanceof f)return e},e.prototype.getWidth=function(){var e,t;return null!==(t=null===(e=this.W())||void 0===e?void 0:e.asNumber())&&void 0!==t?t:1},e.prototype.setWidth=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("W"),t)},e.fromDict=function(t){return new e(t)},e}(),_t=Bt,qt=function(){function e(e){this.dict=e}return e.prototype.Rect=function(){return this.dict.lookup(M.of("Rect"),m)},e.prototype.AP=function(){return this.dict.lookupMaybe(M.of("AP"),D)},e.prototype.F=function(){var e=this.dict.lookup(M.of("F"));return this.dict.context.lookupMaybe(e,f)},e.prototype.getRectangle=function(){var e,t=this.Rect();return null!==(e=null===t||void 0===t?void 0:t.asRectangle())&&void 0!==e?e:{x:0,y:0,width:0,height:0}},e.prototype.setRectangle=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=this.dict.context.obj([t,n,t+r,n+i]);this.dict.set(M.of("Rect"),o)},e.prototype.getAppearanceState=function(){var e=this.dict.lookup(M.of("AS"));if(e instanceof M)return e},e.prototype.setAppearanceState=function(e){this.dict.set(M.of("AS"),e)},e.prototype.setAppearances=function(e){this.dict.set(M.of("AP"),e)},e.prototype.ensureAP=function(){var e=this.AP();return e||(e=this.dict.context.obj({}),this.dict.set(M.of("AP"),e)),e},e.prototype.getNormalAppearance=function(){var e=this.ensureAP(),t=e.get(M.of("N"));if(t instanceof U||t instanceof D)return t;throw new Error("Unexpected N type: "+(null===t||void 0===t?void 0:t.constructor.name))},e.prototype.setNormalAppearance=function(e){var t=this.ensureAP();t.set(M.of("N"),e)},e.prototype.setRolloverAppearance=function(e){var t=this.ensureAP();t.set(M.of("R"),e)},e.prototype.setDownAppearance=function(e){var t=this.ensureAP();t.set(M.of("D"),e)},e.prototype.removeRolloverAppearance=function(){var e=this.AP();null===e||void 0===e||e.delete(M.of("R"))},e.prototype.removeDownAppearance=function(){var e=this.AP();null===e||void 0===e||e.delete(M.of("D"))},e.prototype.getAppearances=function(){var e=this.AP();if(e){var t=e.lookup(M.of("N"),D,j),n=e.lookupMaybe(M.of("R"),D,j),r=e.lookupMaybe(M.of("D"),D,j);return{normal:t,rollover:n,down:r}}},e.prototype.getFlags=function(){var e,t;return null!==(t=null===(e=this.F())||void 0===e?void 0:e.asNumber())&&void 0!==t?t:0},e.prototype.setFlags=function(e){this.dict.set(M.of("F"),f.of(e))},e.prototype.hasFlag=function(e){var t=this.getFlags();return 0!==(t&e)},e.prototype.setFlag=function(e){var t=this.getFlags();this.setFlags(t|e)},e.prototype.clearFlag=function(e){var t=this.getFlags();this.setFlags(t&~e)},e.prototype.setFlagTo=function(e,t){t?this.setFlag(e):this.clearFlag(e)},e.fromDict=function(t){return new e(t)},e}(),Pt=qt,Ut=function(){function e(e){this.dict=e}return e.prototype.R=function(){var e=this.dict.lookup(M.of("R"));if(e instanceof f)return e},e.prototype.BC=function(){var e=this.dict.lookup(M.of("BC"));if(e instanceof m)return e},e.prototype.BG=function(){var e=this.dict.lookup(M.of("BG"));if(e instanceof m)return e},e.prototype.CA=function(){var e=this.dict.lookup(M.of("CA"));if(e instanceof Se["a"]||e instanceof De["a"])return e},e.prototype.RC=function(){var e=this.dict.lookup(M.of("RC"));if(e instanceof Se["a"]||e instanceof De["a"])return e},e.prototype.AC=function(){var e=this.dict.lookup(M.of("AC"));if(e instanceof Se["a"]||e instanceof De["a"])return e},e.prototype.getRotation=function(){var e;return null===(e=this.R())||void 0===e?void 0:e.asNumber()},e.prototype.getBorderColor=function(){var e=this.BC();if(e){for(var t=[],n=0,r=null===e||void 0===e?void 0:e.size();n<r;n++){var i=e.get(n);i instanceof f&&t.push(i.asNumber())}return t}},e.prototype.getBackgroundColor=function(){var e=this.BG();if(e){for(var t=[],n=0,r=null===e||void 0===e?void 0:e.size();n<r;n++){var i=e.get(n);i instanceof f&&t.push(i.asNumber())}return t}},e.prototype.getCaptions=function(){var e=this.CA(),t=this.RC(),n=this.AC();return{normal:null===e||void 0===e?void 0:e.decodeText(),rollover:null===t||void 0===t?void 0:t.decodeText(),down:null===n||void 0===n?void 0:n.decodeText()}},e.prototype.setRotation=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("R"),t)},e.prototype.setBorderColor=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("BC"),t)},e.prototype.setBackgroundColor=function(e){var t=this.dict.context.obj(e);this.dict.set(M.of("BG"),t)},e.prototype.setCaptions=function(e){var t=Se["a"].fromText(e.normal);if(this.dict.set(M.of("CA"),t),e.rollover){var n=Se["a"].fromText(e.rollover);this.dict.set(M.of("RC"),n)}else this.dict.delete(M.of("RC"));if(e.down){var r=Se["a"].fromText(e.down);this.dict.set(M.of("AC"),r)}else this.dict.delete(M.of("AC"))},e.fromDict=function(t){return new e(t)},e}(),Ht=Ut,Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.MK=function(){var e=this.dict.lookup(M.of("MK"));if(e instanceof D)return e},t.prototype.BS=function(){var e=this.dict.lookup(M.of("BS"));if(e instanceof D)return e},t.prototype.DA=function(){var e=this.dict.lookup(M.of("DA"));if(e instanceof De["a"]||e instanceof Se["a"])return e},t.prototype.P=function(){var e=this.dict.get(M.of("P"));if(e instanceof U)return e},t.prototype.setP=function(e){this.dict.set(M.of("P"),e)},t.prototype.setDefaultAppearance=function(e){this.dict.set(M.of("DA"),De["a"].of(e))},t.prototype.getDefaultAppearance=function(){var e=this.DA();return e instanceof Se["a"]?e.decodeText():null===e||void 0===e?void 0:e.asString()},t.prototype.getAppearanceCharacteristics=function(){var e=this.MK();if(e)return Ht.fromDict(e)},t.prototype.getOrCreateAppearanceCharacteristics=function(){var e=this.MK();if(e)return Ht.fromDict(e);var t=Ht.fromDict(this.dict.context.obj({}));return this.dict.set(M.of("MK"),t.dict),t},t.prototype.getBorderStyle=function(){var e=this.BS();if(e)return _t.fromDict(e)},t.prototype.getOrCreateBorderStyle=function(){var e=this.BS();if(e)return _t.fromDict(e);var t=_t.fromDict(this.dict.context.obj({}));return this.dict.set(M.of("BS"),t.dict),t},t.prototype.getOnValue=function(){var e,t=null===(e=this.getAppearances())||void 0===e?void 0:e.normal;if(t instanceof D)for(var n=t.keys(),r=0,i=n.length;r<i;r++){var o=n[r];if(o!==M.of("Off"))return o}},t.fromDict=function(e){return new t(e)},t.create=function(e,n){var r=e.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:n});return new t(r)},t}(Pt),Vt=Wt,Gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.FT=function(){var e=this.getInheritableAttribute(M.of("FT"));return this.dict.context.lookup(e,M)},t.prototype.getWidgets=function(){var e=this.Kids();if(!e)return[Vt.fromDict(this.dict)];for(var t=new Array(e.size()),n=0,r=e.size();n<r;n++){var i=e.lookup(n,D);t[n]=Vt.fromDict(i)}return t},t.prototype.addWidget=function(e){var t=this.normalizedEntries().Kids;t.push(e)},t.prototype.removeWidget=function(e){var t=this.Kids();if(t){if(e<0||e>t.size())throw new r["b"](e,0,t.size());t.remove(e)}else{if(0!==e)throw new r["b"](e,0,0);this.setKids([])}},t.prototype.normalizedEntries=function(){var e=this.Kids();return e||(e=this.dict.context.obj([this.ref]),this.dict.set(M.of("Kids"),e)),{Kids:e}},t.fromDict=function(e,n){return new t(e,n)},t}(It),Kt=Gt,Xt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.Opt=function(){return this.dict.lookupMaybe(M.of("Opt"),De["a"],Se["a"],m)},t.prototype.setOpt=function(e){this.dict.set(M.of("Opt"),this.dict.context.obj(e))},t.prototype.getExportValues=function(){var e=this.Opt();if(e){if(e instanceof De["a"]||e instanceof Se["a"])return[e];for(var t=[],n=0,r=e.size();n<r;n++){var i=e.lookup(n);(i instanceof De["a"]||i instanceof Se["a"])&&t.push(i)}return t}},t.prototype.removeExportValue=function(e){var t=this.Opt();if(t)if(t instanceof De["a"]||t instanceof Se["a"]){if(0!==e)throw new r["b"](e,0,0);this.setOpt([])}else{if(e<0||e>t.size())throw new r["b"](e,0,t.size());t.remove(e)}},t.prototype.normalizeExportValues=function(){for(var e,t,n,r,i=null!==(e=this.getExportValues())&&void 0!==e?e:[],o=[],s=this.getWidgets(),a=0,l=s.length;a<l;a++){var c=s[a],u=null!==(t=i[a])&&void 0!==t?t:Se["a"].fromText(null!==(r=null===(n=c.getOnValue())||void 0===n?void 0:n.decodeText())&&void 0!==r?r:"");o.push(u)}this.setOpt(o)},t.prototype.addOpt=function(e,t){var n;this.normalizeExportValues();var r,i=e.decodeText();if(t)for(var o=null!==(n=this.getExportValues())&&void 0!==n?n:[],s=0,a=o.length;s<a;s++){var l=o[s];l.decodeText()===i&&(r=s)}var c=this.Opt();return c.push(e),null!==r&&void 0!==r?r:c.size()-1},t.prototype.addWidgetWithOpt=function(e,t,n){var r=this.addOpt(t,n),i=M.of(String(r));return this.addWidget(e),i},t}(Kt),Yt=Xt,Zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.setValue=function(e){var t,n=null!==(t=this.getOnValue())&&void 0!==t?t:M.of("Yes");if(e!==n&&e!==M.of("Off"))throw new r["c"];this.dict.set(M.of("V"),e);for(var i=this.getWidgets(),o=0,s=i.length;o<s;o++){var a=i[o],l=a.getOnValue()===e?e:M.of("Off");a.setAppearanceState(l)}},t.prototype.getValue=function(){var e=this.V();return e instanceof M?e:M.of("Off")},t.prototype.getOnValue=function(){var e=this.getWidgets()[0];return null===e||void 0===e?void 0:e.getOnValue()},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Btn",Kids:[]}),r=e.register(n);return new t(n,r)},t}(Yt),Jt=Zt,Qt=function(e){return 1<<e};(function(e){e[e["ReadOnly"]=Qt(0)]="ReadOnly",e[e["Required"]=Qt(1)]="Required",e[e["NoExport"]=Qt(2)]="NoExport"})(Et||(Et={})),function(e){e[e["NoToggleToOff"]=Qt(14)]="NoToggleToOff",e[e["Radio"]=Qt(15)]="Radio",e[e["PushButton"]=Qt(16)]="PushButton",e[e["RadiosInUnison"]=Qt(25)]="RadiosInUnison"}(Mt||(Mt={})),function(e){e[e["Multiline"]=Qt(12)]="Multiline",e[e["Password"]=Qt(13)]="Password",e[e["FileSelect"]=Qt(20)]="FileSelect",e[e["DoNotSpellCheck"]=Qt(22)]="DoNotSpellCheck",e[e["DoNotScroll"]=Qt(23)]="DoNotScroll",e[e["Comb"]=Qt(24)]="Comb",e[e["RichText"]=Qt(25)]="RichText"}(Nt||(Nt={})),function(e){e[e["Combo"]=Qt(17)]="Combo",e[e["Edit"]=Qt(18)]="Edit",e[e["Sort"]=Qt(19)]="Sort",e[e["MultiSelect"]=Qt(21)]="MultiSelect",e[e["DoNotSpellCheck"]=Qt(22)]="DoNotSpellCheck",e[e["CommitOnSelChange"]=Qt(26)]="CommitOnSelChange"}(Rt||(Rt={}));var $t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.setValues=function(e){if(this.hasFlag(Rt.Combo)&&!this.hasFlag(Rt.Edit)&&!this.valuesAreValid(e))throw new r["c"];if(0===e.length&&this.dict.delete(M.of("V")),1===e.length&&this.dict.set(M.of("V"),e[0]),e.length>1){if(!this.hasFlag(Rt.MultiSelect))throw new r["l"];this.dict.set(M.of("V"),this.dict.context.obj(e))}this.updateSelectedIndices(e)},t.prototype.valuesAreValid=function(e){for(var t=this.getOptions(),n=function(n,r){var i=e[n].decodeText();if(!t.find((function(e){return i===(e.display||e.value).decodeText()})))return{value:!1}},r=0,i=e.length;r<i;r++){var o=n(r,i);if("object"===typeof o)return o.value}return!0},t.prototype.updateSelectedIndices=function(e){if(e.length>1){for(var t=new Array(e.length),n=this.getOptions(),r=function(r,i){var o=e[r].decodeText();t[r]=n.findIndex((function(e){return o===(e.display||e.value).decodeText()}))},i=0,o=e.length;i<o;i++)r(i,o);this.dict.set(M.of("I"),this.dict.context.obj(t.sort()))}else this.dict.delete(M.of("I"))},t.prototype.getValues=function(){var e=this.V();if(e instanceof De["a"]||e instanceof Se["a"])return[e];if(e instanceof m){for(var t=[],n=0,r=e.size();n<r;n++){var i=e.lookup(n);(i instanceof De["a"]||i instanceof Se["a"])&&t.push(i)}return t}return[]},t.prototype.Opt=function(){return this.dict.lookupMaybe(M.of("Opt"),De["a"],Se["a"],m)},t.prototype.setOptions=function(e){for(var t=new Array(e.length),n=0,r=e.length;n<r;n++){var i=e[n],o=i.value,s=i.display;t[n]=this.dict.context.obj([o,s||o])}this.dict.set(M.of("Opt"),this.dict.context.obj(t))},t.prototype.getOptions=function(){var e=this.Opt();if(e instanceof De["a"]||e instanceof Se["a"])return[{value:e,display:e}];if(e instanceof m){for(var t=[],n=0,r=e.size();n<r;n++){var i=e.lookup(n);if((i instanceof De["a"]||i instanceof Se["a"])&&t.push({value:i,display:i}),i instanceof m&&i.size()>0){var o=i.lookup(0,De["a"],Se["a"]),s=i.lookupMaybe(1,De["a"],Se["a"]);t.push({value:o,display:s||o})}}return t}return[]},t}(Kt),en=$t,tn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Ch",Ff:Rt.Combo,Kids:[]}),r=e.register(n);return new t(n,r)},t}(en),nn=tn,rn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.addField=function(e){var t=this.normalizedEntries().Kids;null===t||void 0===t||t.push(e)},t.prototype.normalizedEntries=function(){var e=this.Kids();return e||(e=this.dict.context.obj([]),this.dict.set(M.of("Kids"),e)),{Kids:e}},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({}),r=e.register(n);return new t(n,r)},t}(It),on=rn,sn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.fromDict=function(e,n){return new t(e,n)},t}(Kt),an=sn,ln=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.MaxLen=function(){var e=this.dict.lookup(M.of("MaxLen"));if(e instanceof f)return e},t.prototype.Q=function(){var e=this.dict.lookup(M.of("Q"));if(e instanceof f)return e},t.prototype.setMaxLength=function(e){this.dict.set(M.of("MaxLen"),f.of(e))},t.prototype.removeMaxLength=function(){this.dict.delete(M.of("MaxLen"))},t.prototype.getMaxLength=function(){var e;return null===(e=this.MaxLen())||void 0===e?void 0:e.asNumber()},t.prototype.setQuadding=function(e){this.dict.set(M.of("Q"),f.of(e))},t.prototype.getQuadding=function(){var e;return null===(e=this.Q())||void 0===e?void 0:e.asNumber()},t.prototype.setValue=function(e){this.dict.set(M.of("V"),e)},t.prototype.removeValue=function(){this.dict.delete(M.of("V"))},t.prototype.getValue=function(){var e=this.V();if(e instanceof De["a"]||e instanceof Se["a"])return e},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Tx",Kids:[]}),r=e.register(n);return new t(n,r)},t}(Kt),cn=ln,un=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Btn",Ff:Mt.PushButton,Kids:[]}),r=e.register(n);return new t(n,r)},t}(Yt),hn=un,dn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.setValue=function(e){var t=this.getOnValues();if(!t.includes(e)&&e!==M.of("Off"))throw new r["c"];this.dict.set(M.of("V"),e);for(var n=this.getWidgets(),i=0,o=n.length;i<o;i++){var s=n[i],a=s.getOnValue()===e?e:M.of("Off");s.setAppearanceState(a)}},t.prototype.getValue=function(){var e=this.V();return e instanceof M?e:M.of("Off")},t.prototype.getOnValues=function(){for(var e=this.getWidgets(),t=[],n=0,r=e.length;n<r;n++){var i=e[n].getOnValue();i&&t.push(i)}return t},t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Btn",Ff:Mt.Radio,Kids:[]}),r=e.register(n);return new t(n,r)},t}(Yt),fn=dn,pn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.fromDict=function(e,n){return new t(e,n)},t.create=function(e){var n=e.obj({FT:"Ch",Kids:[]}),r=e.register(n);return new t(n,r)},t}(en),mn=pn,gn=function(e){if(!e)return[];for(var t=[],n=0,r=e.size();n<r;n++){var i=e.get(n),o=e.lookup(n);i instanceof U&&o instanceof D&&t.push([bn(o,i),i])}return t},bn=function(e,t){var n=yn(e);return n?on.fromDict(e,t):vn(e,t)},yn=function(e){var t=e.lookup(M.of("Kids"));if(t instanceof m)for(var n=0,r=t.size();n<r;n++){var i=t.lookup(n),o=i instanceof D&&i.has(M.of("T"));if(o)return!0}return!1},vn=function(e,t){var n=Sn(e,M.of("FT")),r=e.context.lookup(n,M);return r===M.of("Btn")?xn(e,t):r===M.of("Ch")?wn(e,t):r===M.of("Tx")?cn.fromDict(e,t):r===M.of("Sig")?an.fromDict(e,t):Kt.fromDict(e,t)},xn=function(e,t){var n,r=Sn(e,M.of("Ff")),i=e.context.lookupMaybe(r,f),o=null!==(n=null===i||void 0===i?void 0:i.asNumber())&&void 0!==n?n:0;return kn(o,Mt.PushButton)?hn.fromDict(e,t):kn(o,Mt.Radio)?fn.fromDict(e,t):Jt.fromDict(e,t)},wn=function(e,t){var n,r=Sn(e,M.of("Ff")),i=e.context.lookupMaybe(r,f),o=null!==(n=null===i||void 0===i?void 0:i.asNumber())&&void 0!==n?n:0;return kn(o,Rt.Combo)?nn.fromDict(e,t):mn.fromDict(e,t)},kn=function(e,t){return 0!==(e&t)},Sn=function(e,t){var n;return Cn(e,(function(e){n||(n=e.get(t))})),n},Cn=function(e,t){t(e);var n=e.lookupMaybe(M.of("Parent"),D);n&&Cn(n,t)},Tn=function(){function e(e){this.dict=e}return e.prototype.Fields=function(){var e=this.dict.lookup(M.of("Fields"));if(e instanceof m)return e},e.prototype.getFields=function(){for(var e=this.normalizedEntries().Fields,t=new Array(e.size()),n=0,r=e.size();n<r;n++){var i=e.get(n),o=e.lookup(n,D);t[n]=[bn(o,i),i]}return t},e.prototype.getAllFields=function(){var e=[],t=function(n){if(n)for(var r=0,i=n.length;r<i;r++){var o=n[r];e.push(o);var s=o[0];s instanceof on&&t(gn(s.Kids()))}};return t(this.getFields()),e},e.prototype.addField=function(e){var t=this.normalizedEntries().Fields;null===t||void 0===t||t.push(e)},e.prototype.removeField=function(e){var t=e.getParent(),n=void 0===t?this.normalizedEntries().Fields:t.Kids(),r=null===n||void 0===n?void 0:n.indexOf(e.ref);if(void 0===n||void 0===r)throw new Error("Tried to remove inexistent field "+e.getFullyQualifiedName());n.remove(r),void 0!==t&&0===n.size()&&this.removeField(t)},e.prototype.normalizedEntries=function(){var e=this.Fields();return e||(e=this.dict.context.obj([]),this.dict.set(M.of("Fields"),e)),{Fields:e}},e.fromDict=function(t){return new e(t)},e.create=function(t){var n=t.obj({Fields:[]});return new e(n)},e}(),zn=Tn,An=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.Pages=function(){return this.lookup(M.of("Pages"),D)},t.prototype.AcroForm=function(){return this.lookupMaybe(M.of("AcroForm"),D)},t.prototype.getAcroForm=function(){var e=this.AcroForm();if(e)return zn.fromDict(e)},t.prototype.getOrCreateAcroForm=function(){var e=this.getAcroForm();if(!e){e=zn.create(this.context);var t=this.context.register(e.dict);this.set(M.of("AcroForm"),t)}return e},t.prototype.ViewerPreferences=function(){return this.lookupMaybe(M.of("ViewerPreferences"),D)},t.prototype.getViewerPreferences=function(){var e=this.ViewerPreferences();if(e)return Dt.fromDict(e)},t.prototype.getOrCreateViewerPreferences=function(){var e=this.getViewerPreferences();if(!e){e=Dt.create(this.context);var t=this.context.register(e.dict);this.set(M.of("ViewerPreferences"),t)}return e},t.prototype.insertLeafNode=function(e,t){var n=this.get(M.of("Pages")),r=this.Pages().insertLeafNode(e,t);return r||n},t.prototype.removeLeafNode=function(e){this.Pages().removeLeafNode(e)},t.withContextAndPages=function(e,n){var r=new Map;return r.set(M.of("Type"),M.of("Catalog")),r.set(M.of("Pages"),n),new t(r,e)},t.fromMapWithContext=function(e,n){return new t(e,n)},t}(D),On=An,En=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o["c"])(t,e),t.prototype.Parent=function(){return this.lookup(M.of("Parent"))},t.prototype.Kids=function(){return this.lookup(M.of("Kids"),m)},t.prototype.Count=function(){return this.lookup(M.of("Count"),f)},t.prototype.pushTreeNode=function(e){var t=this.Kids();t.push(e)},t.prototype.pushLeafNode=function(e){var t=this.Kids();this.insertLeafKid(t.size(),e)},t.prototype.insertLeafNode=function(e,n){var i=this.Kids(),o=this.Count().asNumber();if(n>o)throw new r["e"](n,o);for(var s=n,a=0,l=i.size();a<l;a++){if(0===s)return void this.insertLeafKid(a,e);var c=i.get(a),u=this.context.lookup(c);if(u instanceof t){if(u.Count().asNumber()>s)return u.insertLeafNode(e,s)||c;s-=u.Count().asNumber()}u instanceof ne&&(s-=1)}if(0!==s)throw new r["a"](n,"insertLeafNode");this.insertLeafKid(i.size(),e)},t.prototype.removeLeafNode=function(e,n){void 0===n&&(n=!0);var i=this.Kids(),o=this.Count().asNumber();if(e>=o)throw new r["e"](e,o);for(var s=e,a=0,l=i.size();a<l;a++){var c=i.get(a),u=this.context.lookup(c);if(u instanceof t){if(u.Count().asNumber()>s)return u.removeLeafNode(s,n),void(n&&0===u.Kids().size()&&i.remove(a));s-=u.Count().asNumber()}if(u instanceof ne){if(0===s)return void this.removeKid(a);s-=1}}throw new r["a"](e,"removeLeafNode")},t.prototype.ascend=function(e){e(this);var t=this.Parent();t&&t.ascend(e)},t.prototype.traverse=function(e){for(var n=this.Kids(),r=0,i=n.size();r<i;r++){var o=n.get(r),s=this.context.lookup(o);s instanceof t&&s.traverse(e),e(s,o)}},t.prototype.insertLeafKid=function(e,t){var n=this.Kids();this.ascend((function(e){var t=e.Count().asNumber()+1;e.set(M.of("Count"),f.of(t))})),n.insert(e,t)},t.prototype.removeKid=function(e){var t=this.Kids(),n=t.lookup(e);n instanceof ne&&this.ascend((function(e){var t=e.Count().asNumber()-1;e.set(M.of("Count"),f.of(t))})),t.remove(e)},t.withContext=function(e,n){var r=new Map;return r.set(M.of("Type"),M.of("Pages")),r.set(M.of("Kids"),e.obj([])),r.set(M.of("Count"),e.obj(0)),n&&r.set(M.of("Parent"),n),new t(r,e)},t.fromMapWithContext=function(e,n){return new t(e,n)},t}(D),Mn=En,Nn=new Uint8Array(256);Nn[i["a"].Zero]=1,Nn[i["a"].One]=1,Nn[i["a"].Two]=1,Nn[i["a"].Three]=1,Nn[i["a"].Four]=1,Nn[i["a"].Five]=1,Nn[i["a"].Six]=1,Nn[i["a"].Seven]=1,Nn[i["a"].Eight]=1,Nn[i["a"].Nine]=1;var Rn=new Uint8Array(256);Rn[i["a"].Period]=1,Rn[i["a"].Plus]=1,Rn[i["a"].Minus]=1;for(var Ln=new Uint8Array(256),Dn=0,Fn=256;Dn<Fn;Dn++)Ln[Dn]=Nn[Dn]||Rn[Dn]?1:0;var jn,In=i["a"].Newline,Bn=i["a"].CarriageReturn,_n=function(){function e(e,t){void 0===t&&(t=!1),this.bytes=e,this.capNumbers=t}return e.prototype.parseRawInt=function(){var e="";while(!this.bytes.done()){var t=this.bytes.peek();if(!Nn[t])break;e+=Object(l["s"])(this.bytes.next())}var n=Number(e);if(!e||!isFinite(n))throw new r["n"](this.bytes.position(),e);return n},e.prototype.parseRawNumber=function(){var e="";while(!this.bytes.done()){var t=this.bytes.peek();if(!Ln[t])break;if(e+=Object(l["s"])(this.bytes.next()),t===i["a"].Period)break}while(!this.bytes.done()){t=this.bytes.peek();if(!Nn[t])break;e+=Object(l["s"])(this.bytes.next())}var n=Number(e);if(!e||!isFinite(n))throw new r["n"](this.bytes.position(),e);if(n>Number.MAX_SAFE_INTEGER){if(this.capNumbers){var o="Parsed number that is too large for some PDF readers: "+e+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(o),Number.MAX_SAFE_INTEGER}o="Parsed number that is too large for some PDF readers: "+e+", not capping.";console.warn(o)}return n},e.prototype.skipWhitespace=function(){while(!this.bytes.done()&&x[this.bytes.peek()])this.bytes.next()},e.prototype.skipLine=function(){while(!this.bytes.done()){var e=this.bytes.peek();if(e===In||e===Bn)return;this.bytes.next()}},e.prototype.skipComment=function(){if(this.bytes.peek()!==i["a"].Percent)return!1;while(!this.bytes.done()){var e=this.bytes.peek();if(e===In||e===Bn)return!0;this.bytes.next()}return!0},e.prototype.skipWhitespaceAndComments=function(){this.skipWhitespace();while(this.skipComment())this.skipWhitespace()},e.prototype.matchKeyword=function(e){for(var t=this.bytes.offset(),n=0,r=e.length;n<r;n++)if(this.bytes.done()||this.bytes.next()!==e[n])return this.bytes.moveTo(t),!1;return!0},e}(),qn=_n,Pn=function(){function e(e){this.idx=0,this.line=0,this.column=0,this.bytes=e,this.length=this.bytes.length}return e.prototype.moveTo=function(e){this.idx=e},e.prototype.next=function(){var e=this.bytes[this.idx++];return e===i["a"].Newline?(this.line+=1,this.column=0):this.column+=1,e},e.prototype.assertNext=function(e){if(this.peek()!==e)throw new r["m"](this.position(),e,this.peek());return this.next()},e.prototype.peek=function(){return this.bytes[this.idx]},e.prototype.peekAhead=function(e){return this.bytes[this.idx+e]},e.prototype.peekAt=function(e){return this.bytes[e]},e.prototype.done=function(){return this.idx>=this.length},e.prototype.offset=function(){return this.idx},e.prototype.slice=function(e,t){return this.bytes.slice(e,t)},e.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},e.of=function(t){return new e(t)},e.fromPDFRawStream=function(t){return e.of(St(t).decode())},e}(),Un=Pn,Hn=i["a"].Space,Wn=i["a"].CarriageReturn,Vn=i["a"].Newline,Gn=[i["a"].s,i["a"].t,i["a"].r,i["a"].e,i["a"].a,i["a"].m],Kn=[i["a"].e,i["a"].n,i["a"].d,i["a"].s,i["a"].t,i["a"].r,i["a"].e,i["a"].a,i["a"].m],Xn={header:[i["a"].Percent,i["a"].P,i["a"].D,i["a"].F,i["a"].Dash],eof:[i["a"].Percent,i["a"].Percent,i["a"].E,i["a"].O,i["a"].F],obj:[i["a"].o,i["a"].b,i["a"].j],endobj:[i["a"].e,i["a"].n,i["a"].d,i["a"].o,i["a"].b,i["a"].j],xref:[i["a"].x,i["a"].r,i["a"].e,i["a"].f],trailer:[i["a"].t,i["a"].r,i["a"].a,i["a"].i,i["a"].l,i["a"].e,i["a"].r],startxref:[i["a"].s,i["a"].t,i["a"].a,i["a"].r,i["a"].t,i["a"].x,i["a"].r,i["a"].e,i["a"].f],true:[i["a"].t,i["a"].r,i["a"].u,i["a"].e],false:[i["a"].f,i["a"].a,i["a"].l,i["a"].s,i["a"].e],null:[i["a"].n,i["a"].u,i["a"].l,i["a"].l],stream:Gn,streamEOF1:Object(o["f"])(Gn,[Hn,Wn,Vn]),streamEOF2:Object(o["f"])(Gn,[Wn,Vn]),streamEOF3:Object(o["f"])(Gn,[Wn]),streamEOF4:Object(o["f"])(Gn,[Vn]),endstream:Kn,EOF1endstream:Object(o["f"])([Wn,Vn],Kn),EOF2endstream:Object(o["f"])([Wn],Kn),EOF3endstream:Object(o["f"])([Vn],Kn)},Yn=function(e){function t(t,n,r){void 0===r&&(r=!1);var i=e.call(this,t,r)||this;return i.context=n,i}return Object(o["c"])(t,e),t.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(Xn.true))return y.True;if(this.matchKeyword(Xn.false))return y.False;if(this.matchKeyword(Xn.null))return R;var e=this.bytes.peek();if(e===i["a"].LessThan&&this.bytes.peekAhead(1)===i["a"].LessThan)return this.parseDictOrStream();if(e===i["a"].LessThan)return this.parseHexString();if(e===i["a"].LeftParen)return this.parseString();if(e===i["a"].ForwardSlash)return this.parseName();if(e===i["a"].LeftSquareBracket)return this.parseArray();if(Ln[e])return this.parseNumberOrRef();throw new r["q"](this.bytes.position(),e)},t.prototype.parseNumberOrRef=function(){var e=this.parseRawNumber();this.skipWhitespaceAndComments();var t=this.bytes.offset();if(Nn[this.bytes.peek()]){var n=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===i["a"].R)return this.bytes.assertNext(i["a"].R),U.of(e,n)}return this.bytes.moveTo(t),f.of(e)},t.prototype.parseHexString=function(){var e="";this.bytes.assertNext(i["a"].LessThan);while(!this.bytes.done()&&this.bytes.peek()!==i["a"].GreaterThan)e+=Object(l["s"])(this.bytes.next());return this.bytes.assertNext(i["a"].GreaterThan),Se["a"].of(e)},t.prototype.parseString=function(){var e=0,t=!1,n="";while(!this.bytes.done()){var o=this.bytes.next();if(n+=Object(l["s"])(o),t||(o===i["a"].LeftParen&&(e+=1),o===i["a"].RightParen&&(e-=1)),o===i["a"].BackSlash?t=!t:t&&(t=!1),0===e)return De["a"].of(n.substring(1,n.length-1))}throw new r["w"](this.bytes.position())},t.prototype.parseName=function(){this.bytes.assertNext(i["a"].ForwardSlash);var e="";while(!this.bytes.done()){var t=this.bytes.peek();if(x[t]||v[t])break;e+=Object(l["s"])(t),this.bytes.next()}return M.of(e)},t.prototype.parseArray=function(){this.bytes.assertNext(i["a"].LeftSquareBracket),this.skipWhitespaceAndComments();var e=m.withContext(this.context);while(this.bytes.peek()!==i["a"].RightSquareBracket){var t=this.parseObject();e.push(t),this.skipWhitespaceAndComments()}return this.bytes.assertNext(i["a"].RightSquareBracket),e},t.prototype.parseDict=function(){this.bytes.assertNext(i["a"].LessThan),this.bytes.assertNext(i["a"].LessThan),this.skipWhitespaceAndComments();var e=new Map;while(!this.bytes.done()&&this.bytes.peek()!==i["a"].GreaterThan&&this.bytes.peekAhead(1)!==i["a"].GreaterThan){var t=this.parseName(),n=this.parseObject();e.set(t,n),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(i["a"].GreaterThan),this.bytes.assertNext(i["a"].GreaterThan);var r=e.get(M.of("Type"));return r===M.of("Catalog")?On.fromMapWithContext(e,this.context):r===M.of("Pages")?Mn.fromMapWithContext(e,this.context):r===M.of("Page")?ne.fromMapWithContext(e,this.context):D.fromMapWithContext(e,this.context)},t.prototype.parseDictOrStream=function(){var e=this.bytes.position(),t=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(Xn.streamEOF1)&&!this.matchKeyword(Xn.streamEOF2)&&!this.matchKeyword(Xn.streamEOF3)&&!this.matchKeyword(Xn.streamEOF4)&&!this.matchKeyword(Xn.stream))return t;var n,r=this.bytes.offset(),i=t.get(M.of("Length"));i instanceof f?(n=r+i.asNumber(),this.bytes.moveTo(n),this.skipWhitespaceAndComments(),this.matchKeyword(Xn.endstream)||(this.bytes.moveTo(r),n=this.findEndOfStreamFallback(e))):n=this.findEndOfStreamFallback(e);var o=this.bytes.slice(r,n);return B.of(t,o)},t.prototype.findEndOfStreamFallback=function(e){var t=1,n=this.bytes.offset();while(!this.bytes.done())if(n=this.bytes.offset(),this.matchKeyword(Xn.stream)?t+=1:this.matchKeyword(Xn.EOF1endstream)||this.matchKeyword(Xn.EOF2endstream)||this.matchKeyword(Xn.EOF3endstream)||this.matchKeyword(Xn.endstream)?t-=1:this.bytes.next(),0===t)break;if(0!==t)throw new r["r"](e);return n},t.forBytes=function(e,n,r){return new t(Un.of(e),n,r)},t.forByteStream=function(e,n,r){return void 0===r&&(r=!1),new t(e,n,r)},t}(qn),Zn=Yn,Jn=function(e){function t(t,n){var r=e.call(this,Un.fromPDFRawStream(t),t.dict.context)||this,i=t.dict;return r.alreadyParsed=!1,r.shouldWaitForTick=n||function(){return!1},r.firstOffset=i.lookup(M.of("First"),f).asNumber(),r.objectCount=i.lookup(M.of("N"),f).asNumber(),r}return Object(o["c"])(t,e),t.prototype.parseIntoContext=function(){return Object(o["b"])(this,void 0,void 0,(function(){var e,t,n,i,s,a,c,u;return Object(o["d"])(this,(function(o){switch(o.label){case 0:if(this.alreadyParsed)throw new r["u"]("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,e=this.parseOffsetsAndObjectNumbers(),t=0,n=e.length,o.label=1;case 1:return t<n?(i=e[t],s=i.objectNumber,a=i.offset,this.bytes.moveTo(this.firstOffset+a),c=this.parseObject(),u=U.of(s,0),this.context.assign(u,c),this.shouldWaitForTick()?[4,Object(l["ab"])()]:[3,3]):[3,4];case 2:o.sent(),o.label=3;case 3:return t++,[3,1];case 4:return[2]}}))}))},t.prototype.parseOffsetsAndObjectNumbers=function(){for(var e=[],t=0,n=this.objectCount;t<n;t++){this.skipWhitespaceAndComments();var r=this.parseRawInt();this.skipWhitespaceAndComments();var i=this.parseRawInt();e.push({objectNumber:r,offset:i})}return e},t.forStream=function(e,n){return new t(e,n)},t}(Zn),Qn=Jn,$n=function(){function e(e){this.alreadyParsed=!1,this.dict=e.dict,this.bytes=Un.fromPDFRawStream(e),this.context=this.dict.context;var t=this.dict.lookup(M.of("Size"),f),n=this.dict.lookup(M.of("Index"));if(n instanceof m){this.subsections=[];for(var r=0,i=n.size();r<i;r+=2){var o=n.lookup(r+0,f).asNumber(),s=n.lookup(r+1,f).asNumber();this.subsections.push({firstObjectNumber:o,length:s})}}else this.subsections=[{firstObjectNumber:0,length:t.asNumber()}];var a=this.dict.lookup(M.of("W"),m);this.byteWidths=[-1,-1,-1];for(r=0,i=a.size();r<i;r++)this.byteWidths[r]=a.lookup(r,f).asNumber()}return e.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new r["u"]("PDFXRefStreamParser","parseIntoContext");this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(M.of("Root")),Encrypt:this.dict.get(M.of("Encrypt")),Info:this.dict.get(M.of("Info")),ID:this.dict.get(M.of("ID"))};var e=this.parseEntries();return e},e.prototype.parseEntries=function(){for(var e=[],t=this.byteWidths,n=t[0],r=t[1],i=t[2],o=0,s=this.subsections.length;o<s;o++)for(var a=this.subsections[o],l=a.firstObjectNumber,c=a.length,u=0;u<c;u++){for(var h=0,d=0,f=n;d<f;d++)h=h<<8|this.bytes.next();var p=0;for(d=0,f=r;d<f;d++)p=p<<8|this.bytes.next();var m=0;for(d=0,f=i;d<f;d++)m=m<<8|this.bytes.next();0===n&&(h=1);var g=l+u,b={ref:U.of(g,m),offset:p,deleted:0===h,inObjectStream:2===h};e.push(b)}return e},e.forStream=function(t){return new e(t)},e}(),er=$n,tr=function(e){function t(t,n,r,i){void 0===n&&(n=1/0),void 0===r&&(r=!1),void 0===i&&(i=!1);var o=e.call(this,Un.of(t),ee.create(),i)||this;return o.alreadyParsed=!1,o.parsedObjects=0,o.shouldWaitForTick=function(){return o.parsedObjects+=1,o.parsedObjects%o.objectsPerTick===0},o.objectsPerTick=n,o.throwOnInvalidObject=r,o}return Object(o["c"])(t,e),t.prototype.parseDocument=function(){return Object(o["b"])(this,void 0,void 0,(function(){var e,t;return Object(o["d"])(this,(function(n){switch(n.label){case 0:if(this.alreadyParsed)throw new r["u"]("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),n.label=1;case 1:return this.bytes.done()?[3,3]:[4,this.parseDocumentSection()];case 2:if(n.sent(),t=this.bytes.offset(),t===e)throw new r["v"](this.bytes.position());return e=t,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(U.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(U.of(0))),[2,this.context]}}))}))},t.prototype.maybeRecoverRoot=function(){var e=function(e){return e instanceof D&&e.lookup(M.of("Type"))===M.of("Catalog")},t=this.context.lookup(this.context.trailerInfo.Root);if(!e(t))for(var n=this.context.enumerateIndirectObjects(),r=0,i=n.length;r<i;r++){var o=n[r],s=o[0],a=o[1];e(a)&&(this.context.trailerInfo.Root=s)}},t.prototype.parseHeader=function(){while(!this.bytes.done()){if(this.matchKeyword(Xn.header)){var e=this.parseRawInt();this.bytes.assertNext(i["a"].Period);var t=this.parseRawInt(),n=u.forVersion(e,t);return this.skipBinaryHeaderComment(),n}this.bytes.next()}throw new r["i"](this.bytes.position())},t.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var e=this.parseRawInt();this.skipWhitespaceAndComments();var t=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(Xn.obj))throw new r["h"](this.bytes.position(),Xn.obj);return U.of(e,t)},t.prototype.matchIndirectObjectHeader=function(){var e=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch(t){return this.bytes.moveTo(e),!1}},t.prototype.parseIndirectObject=function(){return Object(o["b"])(this,void 0,void 0,(function(){var e,t;return Object(o["d"])(this,(function(n){switch(n.label){case 0:return e=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),t=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(Xn.endobj),t instanceof B&&t.dict.lookup(M.of("Type"))===M.of("ObjStm")?[4,Qn.forStream(t,this.shouldWaitForTick).parseIntoContext()]:[3,2];case 1:return n.sent(),[3,3];case 2:t instanceof B&&t.dict.lookup(M.of("Type"))===M.of("XRef")?er.forStream(t).parseIntoContext():this.context.assign(e,t),n.label=3;case 3:return[2,e]}}))}))},t.prototype.tryToParseInvalidIndirectObject=function(){var e=this.bytes.position(),t="Trying to parse invalid object: "+JSON.stringify(e)+")";if(this.throwOnInvalidObject)throw new Error(t);console.warn(t);var n=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+n),this.skipWhitespaceAndComments();var i=this.bytes.offset(),o=!0;while(!this.bytes.done()){if(this.matchKeyword(Xn.endobj)&&(o=!1),!o)break;this.bytes.next()}if(o)throw new r["p"](e);var s=this.bytes.offset()-Xn.endobj.length,a=ge.of(this.bytes.slice(i,s));return this.context.assign(n,a),n},t.prototype.parseIndirectObjects=function(){return Object(o["b"])(this,void 0,void 0,(function(){var e;return Object(o["d"])(this,(function(t){switch(t.label){case 0:this.skipWhitespaceAndComments(),t.label=1;case 1:if(this.bytes.done()||!Nn[this.bytes.peek()])return[3,8];e=this.bytes.offset(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return t.sent(),[3,5];case 4:return t.sent(),this.bytes.moveTo(e),this.tryToParseInvalidIndirectObject(),[3,5];case 5:return this.skipWhitespaceAndComments(),this.skipJibberish(),this.shouldWaitForTick()?[4,Object(l["ab"])()]:[3,7];case 6:t.sent(),t.label=7;case 7:return[3,1];case 8:return[2]}}))}))},t.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(Xn.xref)){this.skipWhitespaceAndComments();var e=-1,t=se.createEmpty();while(!this.bytes.done()&&Nn[this.bytes.peek()]){var n=this.parseRawInt();this.skipWhitespaceAndComments();var r=this.parseRawInt();this.skipWhitespaceAndComments();var o=this.bytes.peek();if(o===i["a"].n||o===i["a"].f){var s=U.of(e,r);this.bytes.next()===i["a"].n?t.addEntry(s,n):t.addDeletedEntry(s,n),e+=1}else e=n;this.skipWhitespaceAndComments()}return t}},t.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(Xn.trailer)){this.skipWhitespaceAndComments();var e=this.parseDict(),t=this.context;t.trailerInfo={Root:e.get(M.of("Root"))||t.trailerInfo.Root,Encrypt:e.get(M.of("Encrypt"))||t.trailerInfo.Encrypt,Info:e.get(M.of("Info"))||t.trailerInfo.Info,ID:e.get(M.of("ID"))||t.trailerInfo.ID}}},t.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(Xn.startxref)){this.skipWhitespaceAndComments();var e=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(Xn.eof),this.skipWhitespaceAndComments(),this.matchKeyword(Xn.eof),this.skipWhitespaceAndComments(),le.forLastCrossRefSectionOffset(e)}},t.prototype.parseDocumentSection=function(){return Object(o["b"])(this,void 0,void 0,(function(){return Object(o["d"])(this,(function(e){switch(e.label){case 0:return[4,this.parseIndirectObjects()];case 1:return e.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}}))}))},t.prototype.skipJibberish=function(){this.skipWhitespaceAndComments();while(!this.bytes.done()){var e=this.bytes.offset(),t=this.bytes.peek(),n=t>=i["a"].Space&&t<=i["a"].Tilde;if(n&&(this.matchKeyword(Xn.xref)||this.matchKeyword(Xn.trailer)||this.matchKeyword(Xn.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(e);break}this.bytes.next()}},t.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var e=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(e)}catch(t){this.bytes.next(),this.skipWhitespaceAndComments()}},t.forBytesWithOptions=function(e,n,r,i){return new t(e,n,r,i)},t}(Zn),nr=tr,rr=function(e){return 1<<e};(function(e){e[e["Invisible"]=rr(0)]="Invisible",e[e["Hidden"]=rr(1)]="Hidden",e[e["Print"]=rr(2)]="Print",e[e["NoZoom"]=rr(3)]="NoZoom",e[e["NoRotate"]=rr(4)]="NoRotate",e[e["NoView"]=rr(5)]="NoView",e[e["ReadOnly"]=rr(6)]="ReadOnly",e[e["Locked"]=rr(7)]="Locked",e[e["ToggleNoView"]=rr(8)]="ToggleNoView",e[e["LockedContents"]=rr(9)]="LockedContents"})(jn||(jn={}))},aa68:function(e,t,n){"use strict";function r(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=r},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},ad71:function(e,t,n){"use strict";(function(t,r){var i=n("966d");e.exports=k;var o,s=n("e3db");k.ReadableState=w;n("faa1").EventEmitter;var a=function(e,t){return e.listeners(t).length},l=n("429b"),c=n("8707").Buffer,u=("undefined"!==typeof t?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function h(e){return c.from(e)}function d(e){return c.isBuffer(e)||e instanceof u}var f=Object.create(n("3a7c"));f.inherits=n("3fb5");var p=n(1),m=void 0;m=p&&p.debuglog?p.debuglog("stream"):function(){};var g,b=n("5e1a"),y=n("4681");f.inherits(k,l);var v=["error","close","destroy","pause","resume"];function x(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function w(e,t){o=o||n("b19a"),e=e||{};var r=t instanceof o;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=n("7d72").StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function k(e){if(o=o||n("b19a"),!(this instanceof k))return new k(e);this._readableState=new w(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function S(e,t,n,r,i){var o,s=e._readableState;null===t?(s.reading=!1,M(e,s)):(i||(o=T(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=h(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):C(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?C(e,s,t,!1):L(e,s)):C(e,s,t,!1))):r||(s.reading=!1));return z(s)}function C(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&N(e)),L(e,t)}function T(e,t){var n;return d(t)||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function z(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(k.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=y.destroy,k.prototype._undestroy=y.undestroy,k.prototype._destroy=function(e,t){this.push(null),t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof e&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=c.from(e,t),t=""),n=!0),S(this,e,t,!1,n)},k.prototype.unshift=function(e){return S(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){return g||(g=n("7d72").StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var A=8388608;function O(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function E(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=O(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function M(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,N(e)}}function N(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(m("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(R,e):R(e))}function R(e){m("emit readable"),e.emit("readable"),_(e)}function L(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(D,e,t))}function D(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(m("maybeReadMore read 0"),e.read(0),n===t.length)break;n=t.length}t.readingMore=!1}function F(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,_(e))}}function j(e){m("readable nexttick read 0"),e.read(0)}function I(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(B,e,t))}function B(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;m("flow",t.flowing);while(t.flowing&&null!==e.read());}function q(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=P(e,t.buffer,t.decoder),n);var n}function P(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?U(e,t):H(e,t),r}function U(e,t){var n=t.head,r=1,i=n.data;e-=i.length;while(n=n.next){var o=n.data,s=e>o.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),e-=s,0===e){s===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++r}return t.length-=r,i}function H(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;while(r=r.next){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),e-=s,0===e){s===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++i}return t.length-=i,n}function W(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(V,t,e))}function V(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function G(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}k.prototype.read=function(e){m("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return m("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?W(this):N(this),null;if(e=E(e,t),0===e&&t.ended)return 0===t.length&&W(this),null;var r,i=t.needReadable;return m("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,m("length less than watermark",i)),t.ended||t.reading?(i=!1,m("reading or ended",i)):i&&(m("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=E(n,t))),r=e>0?q(e,t):null,null===r?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&W(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},k.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e);break}o.pipesCount+=1,m("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,l=s?u:w;function c(e,t){m("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function u(){m("onend"),e.end()}o.endEmitted?i.nextTick(l):n.once("end",l),e.on("unpipe",c);var h=F(n);e.on("drain",h);var d=!1;function f(){m("cleanup"),e.removeListener("close",y),e.removeListener("finish",v),e.removeListener("drain",h),e.removeListener("error",b),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",w),n.removeListener("data",g),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||h()}var p=!1;function g(t){m("ondata"),p=!1;var r=e.write(t);!1!==r||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==G(o.pipes,e))&&!d&&(m("false write response, pause",o.awaitDrain),o.awaitDrain++,p=!0),n.pause())}function b(t){m("onerror",t),w(),e.removeListener("error",b),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",v),w()}function v(){m("onfinish"),e.removeListener("close",y),w()}function w(){m("unpipe"),n.unpipe(e)}return n.on("data",g),x(e,"error",b),e.once("close",y),e.once("finish",v),e.emit("pipe",n),o.flowing||(m("pipe resume"),n.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=G(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},k.prototype.on=function(e,t){var n=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&N(this):i.nextTick(j,this))}return n},k.prototype.addListener=k.prototype.on,k.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,I(this,e)),this},k.prototype.pause=function(){return m("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(m("pause"),this._readableState.flowing=!1,this.emit("pause")),this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(m("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(m("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<v.length;o++)e.on(v[o],this.emit.bind(this,v[o]));return this._read=function(t){m("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),k._fromList=q}).call(this,n("c8ba"),n("4362"))},ad8c:function(e,t,n){"use strict";n("d9e2"),n("14d9");var r=n("5e89"),i=n.n(r),o=n("b7ba"),s=n.n(o),a=n("1e42");const l=(e,t)=>{if(e.children.summary&&e.children.summary.length>0)for(let n=0;n<e.children.summary.length;n++){const r=e.children.summary[n];if(r.id===t)return r.title}},c=(e,t)=>{const n=d(e.elements,"summary");if(n&&n&&n.length>0)for(let r=0;r<n.length;r++){const e=n[r];if(e.attributes.id===t)return e.elements&&e.elements[0]&&e.elements[0].elements&&e.elements[0].elements[0]?e.elements[0].elements[0].text:""}return""},u=e=>{let t=null;const n=e=>{if(e){for(let n=0;n<e.length;n++)if(!t&&"topic"===e[n].name)return void(t=e[n]);e.forEach(e=>{n(e.elements)})}};return n(e),t},h=(e,t)=>e.find(e=>e.name===t),d=(e,t)=>e.find(e=>e.attributes.type===t).elements,f=(e,t,n,r)=>{const i={expand:!0,isActive:!1,text:n(),range:null},o=r.match(/\((\d+),(\d+)\)/);if(o){const n=Number(o[1]),r=Number(o[2]);n===r?t[n]=i:(i.range=[n,r],e.push(i))}else e.push(i)},p=async(e,t,n,r)=>{if(e.image&&/\.(jpg|jpeg|png|gif|webp)$/.test(e.image.src)){let o=null;const s=new Promise(e=>{o=e});n.push(s);try{const n=/\.([^.]+)$/.exec(e.image.src)[1],i=`data:image/${n};base64,`+await r["resources/"+e.image.src.split("/")[1]].async("base64");if(t.data.image=i,e.image.width||e.image.height)t.data.imageSize={width:e.image.width,height:e.image.height};else{const e=await Object(a["I"])(i);t.data.imageSize={width:e.width,height:e.height}}o()}catch(i){console.log(i),o()}}},m=async(e,t,n,r)=>{if(e.data.image){let o=null,s=new Promise(e=>{o=e});n.push(s);try{let n="",i=e.data.image;/^data:/.test(e.data.image)||(i=await Object(a["Z"])(e.data.image));let s=Object(a["ob"])(i);n="image_"+r.length+"."+s.type,r.push({name:n,data:s.base64}),t.image={src:"xap:resources/"+n,width:e.data.imageSize.width,height:e.data.imageSize.height},o()}catch(i){console.log(i),o()}}},g=()=>'<?xml version="1.0" encoding="UTF-8" standalone="no"?><xmap-content xmlns="urn:xmind:xmap:xmlns:content:2.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" modified-by="bruce" timestamp="1503058545540" version="2.0"> <sheet id="7abtd0ssc7n4pi1nu6i7b6lsdh" modified-by="bruce" theme="0kdeemiijde6nuk97e4t0vpp54" timestamp="1503058545540"> <topic id="1vr0lcte2og4t2sopiogvdmifc" modified-by="bruce" structure-class="org.xmind.ui.logic.right" timestamp="1503058545417"> <title>Warning 警告 Attention Warnung 경고</title> <children> <topics type="attached"> <topic id="71h1aip2t1o8vvm0a41nausaar" modified-by="bruce" timestamp="1503058545423"> <title svg:width="500">This file can not be opened normally, please do not modify and save, otherwise the contents will be permanently lost!</title> <children> <topics type="attached"> <topic id="428akmkh9a0tog6c91qj995qdl" modified-by="bruce" timestamp="1503058545427"> <title>You can try using XMind 8 Update 3 or later version to open</title> </topic> </topics> </children> </topic> <topic id="2kb87f8m38b3hnfhp450c7q35e" modified-by="bruce" timestamp="1503058545434"> <title svg:width="500">该文件无法正常打开,请勿修改并保存,否则文件内容将会永久性丢失!</title> <children> <topics type="attached"> <topic id="3m9hoo4a09n53ofl6fohdun99f" modified-by="bruce" timestamp="1503058545438"> <title>你可以尝试使用 XMind 8 Update 3 或更新版本打开</title> </topic> </topics> </children> </topic> <topic id="7r3r4617hvh931ot9obi595r8f" modified-by="bruce" timestamp="1503058545444"> <title svg:width="500">該文件無法正常打開,請勿修改並保存,否則文件內容將會永久性丟失!</title> <children> <topics type="attached"> <topic id="691pgka6gmgpgkacaa0h3f1hjb" modified-by="bruce" timestamp="1503058545448"> <title>你可以嘗試使用 XMind 8 Update 3 或更新版本打開</title> </topic> </topics> </children> </topic> <topic id="0f2e3rpkfahg4spg4nda946r0b" modified-by="bruce" timestamp="1503058545453"> <title svg:width="500">この文書は正常に開かないので、修正して保存しないようにしてください。そうでないと、書類の内容が永久に失われます。!</title> <children> <topics type="attached"> <topic id="4vuubta53ksc1falk46mevge0t" modified-by="bruce" timestamp="1503058545457"> <title>XMind 8 Update 3 や更新版を使って開くこともできます</title> </topic> </topics> </children> </topic> <topic id="70n9i4u3lb89sq9l1m1bs255j5" modified-by="bruce" timestamp="1503058545463"> <title svg:width="500">Datei kann nicht richtig geöffnet werden. Bitte ändern Sie diese Datei nicht und speichern Sie sie, sonst wird die Datei endgültig gelöscht werden.</title> <children> <topics type="attached"> <topic id="1qpc5ee298p2sqeqbinpca46b7" modified-by="bruce" timestamp="1503058545466"> <title svg:width="500">Bitte versuchen Sie, diese Datei mit XMind 8 Update 3 oder später zu öffnen.</title> </topic> </topics> </children> </topic> <topic id="4dmes10uc19pq7enu8sc4bmvif" modified-by="bruce" timestamp="1503058545473"> <title svg:width="500">Ce fichier ne peut pas ouvert normalement, veuillez le rédiger et sauvegarder, sinon le fichier sera perdu en permanence. </title> <children> <topics type="attached"> <topic id="5f0rivgubii2launodiln7sdkt" modified-by="bruce" timestamp="1503058545476"> <title svg:width="500">Vous pouvez essayer d\'ouvrir avec XMind 8 Update 3 ou avec une version plus récente.</title> </topic> </topics> </children> </topic> <topic id="10pn1os1sgfsnqa8akabom5pej" modified-by="bruce" timestamp="1503058545481"> <title svg:width="500">파일을 정상적으로 열 수 없으며, 수정 및 저장하지 마십시오. 그렇지 않으면 파일의 내용이 영구적으로 손실됩니다!</title> <children> <topics type="attached"> <topic id="0l2nr0fq3em22rctapkj46ue58" modified-by="bruce" timestamp="1503058545484"> <title svg:width="500">XMind 8 Update 3 또는 이후 버전을 사용하여</title> </topic> </topics> </children> </topic> </topics> </children> <extensions> <extension provider="org.xmind.ui.map.unbalanced"> <content> <right-number>-1</right-number> </content> </extension> </extensions> </topic> <title>Sheet 1</title> </sheet></xmap-content>',b=e=>{const t=Object(a["C"])(e);return t.filter(e=>!e.range||e.range.length<=0)},y=e=>{const t=Object(a["C"])(e);return t.filter(e=>e.range&&e.range.length>0)},v=e=>{const t=[],n=[],r=(e,r,i)=>{const o=Object(a["u"])(),s=Object(a["R"])(e.text);t.push({id:o,title:s,attributedTitle:[{text:s}]}),n.push({id:Object(a["u"])(),range:"("+r+","+i+")",topicId:o})},i=y(e.data);return i.forEach(e=>{r(e,e.range[0],e.range[1])}),(e.children||[]).forEach((e,t)=>{const n=b(e.data);n.forEach(e=>{r(e,t,t)})}),{summary:t,summaries:n}},x=(e,t)=>new Promise((n,r)=>{i.a.loadAsync(e).then(async e=>{try{let i="",o=e.files["content.json"],a=e.files["content.xml"]||e.files["/content.xml"];if(o){let n=await o.async("string");i=await w(n,e.files,t)}else if(a){let e=await a.async("string"),t=s.a.xml2json(e);i=k(t)}i?n(i):r(new Error("解析失败"))}catch(i){r(i)}},e=>{r(e)})}),w=async(e,t,n)=>{e=JSON.parse(e);let r=null;e.length>1&&"function"===typeof n&&(r=await n(e)),r||(r=e[0]);const i=r.rootTopic,o={},s=[],c=async(e,n)=>{if(n.data={text:Object(a["fb"])(e.title)?"":e.title},e.notes){const t=e.notes.realHTML||e.notes.plain;n.data.note=t&&t.content||""}e.href&&/^https?:\/\//.test(e.href)&&(n.data.hyperlink=e.href),e.labels&&e.labels.length>0&&(n.data.tag=e.labels),p(e,n,s,t);const r=[],i=[];n._summary&&r.push(n._summary),Array.isArray(e.summaries)&&e.summaries.length>0&&e.summaries.forEach(t=>{f(r,i,()=>l(e,t.topicId),t.range)}),n.data.generalization=r,n.children=[],e.children&&e.children.attached&&e.children.attached.length>0&&e.children.attached.forEach((e,t)=>{const r={};n.children.push(r),i[t]&&(r._summary=i[t]),c(e,r)})};return c(i,o),await Promise.all(s),o},k=e=>{const t=JSON.parse(e),n=t.elements,r=u(n),i={},o=(e,t)=>{const n=e.elements;let r=h(n,"title");r=r&&r.elements&&r.elements[0].text,t.data={text:Object(a["fb"])(r)?"":r};try{const e=h(n,"notes");e&&(t.data.note=e.elements[0].elements[0].elements[0].text)}catch(u){console.log(u)}try{e.attributes&&e.attributes["xlink:href"]&&/^https?:\/\//.test(e.attributes["xlink:href"])&&(t.data.hyperlink=e.attributes["xlink:href"])}catch(u){console.log(u)}try{const e=h(n,"labels");e&&(t.data.tag=e.elements.map(e=>e.elements[0].text))}catch(u){console.log(u)}const i=h(n,"children"),s=[],l=[];try{t._summary&&s.push(t._summary);const e=h(n,"summaries");e&&Array.isArray(e.elements)&&e.elements.length>0&&e.elements.forEach(e=>{f(s,l,()=>c(i,e.attributes["topic-id"]),e.attributes.range)})}catch(u){console.log(u)}if(t.data.generalization=s,t.children=[],i&&i.elements&&i.elements.length>0){const e=d(i.elements,"attached");(e||[]).forEach((e,n)=>{const r={};t.children.push(r),l[n]&&(r._summary=l[n]),o(e,r)})}};return o(r,i),i},S=async(e,t)=>{const n=Object(a["mb"])(e).filter(e=>e&&e.data);if(n.length<=0)throw new Error("没有可导出的节点");const r="simpleMindMap_"+Date.now(),o=[],s=[],l=[],c=e=>n.length>1?`${r}_${e}`:r,u=(e,r)=>{const i=Object(a["R"])(e.data&&e.data.text||"");return 1===n.length?t||i||"Sheet":i||(t?`${t}-${r+1}`:"Sheet "+(r+1))},h=(e,t,n)=>{let r={},i=async(e,r,l)=>{if(!e||!e.data)return;let c={id:e.data.uid,structureClass:"org.xmind.ui.logic.right",title:Object(a["R"])(e.data.text||""),children:{attached:[]}};void 0!==e.data.note&&(c.notes={realHTML:{content:e.data.note},plain:{content:e.data.note}}),void 0!==e.data.hyperlink&&(c.href=e.data.hyperlink),void 0!==e.data.tag&&(c.labels=(e.data.tag||[]).map(e=>"object"===typeof e&&null!==e?e.text:e)),m(e,r,s,o),l?(c.class="topic",r.id=t,r.class="sheet",r.title=n,r.extensions=[],r.topicPositioning="fixed",r.topicOverlapping="overlap",r.coreVersion="2.100.0",r.rootTopic=c):Object.keys(c).forEach(e=>{r[e]=c[e]});const{summary:u,summaries:h}=v(e);l?h.length>0&&(r.rootTopic.children.summary=u,r.rootTopic.summaries=h):h.length>0&&(r.children.summary=u,r.summaries=h),e.children&&e.children.length>0&&e.children.forEach(e=>{let t={};i(e,t),c.children.attached.push(t)})};return i(e,r,!0),r};n.forEach((e,t)=>{const n=c(t),r=u(e,t);l.push(h(e,n,r))}),await Promise.all(s);const d=l[0]&&l[0].id?l[0].id:c(0),f=new i.a;f.file("content.json",JSON.stringify(l)),f.file("metadata.json",JSON.stringify({modifier:"",dataStructureVersion:"2",creator:{name:"mind-map"},layoutEngineVersion:"3",activeSheetId:d})),f.file("content.xml",g());const p={"file-entries":{"content.json":{},"metadata.json":{},"Thumbnails/thumbnail.png":{}}};o.length>0&&o.forEach(e=>{p["file-entries"]["resources/"+e.name]={};const t=f.folder("resources");t.file(e.name,e.data,{base64:!0})}),f.file("manifest.json",JSON.stringify(p));const b=await f.generateAsync({type:"blob"});return b};t["a"]={parseXmindFile:x,transformXmind:w,transformOldXmind:k,transformToXmind:S}},ae93:function(e,t,n){"use strict";var r,i,o,s=n("d039"),a=n("1626"),l=n("861d"),c=n("7c73"),u=n("e163"),h=n("cb2d"),d=n("b622"),f=n("c430"),p=d("iterator"),m=!1;[].keys&&(o=[].keys(),"next"in o?(i=u(u(o)),i!==Object.prototype&&(r=i)):m=!0);var g=!l(r)||s((function(){var e={};return r[p].call(e)!==e}));g?r={}:f&&(r=c(r)),a(r[p])||h(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},b19a:function(e,t,n){"use strict";var r=n("966d"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=h;var o=Object.create(n("3a7c"));o.inherits=n("3fb5");var s=n("ad71"),a=n("dc14");o.inherits(h,s);for(var l=i(a.prototype),c=0;c<l.length;c++){var u=l[c];h.prototype[u]||(h.prototype[u]=a.prototype[u])}function h(e){if(!(this instanceof h))return new h(e);s.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),h.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},b639:function(e,t,n){"use strict";(function(e){
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <http://feross.org>
|
||
* @license MIT
|
||
*/
|
||
var r=n("1fb5"),i=n("9152"),o=n("e3db");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return u(this,e,t,n)}function u(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,n,r):"string"===typeof t?p(e,t,n):b(e,t)}function h(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t,n,r){return h(t),t<=0?l(e,t):void 0!==n?"string"===typeof r?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}function f(e,t){if(h(t),e=l(e,t<0?0:0|y(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|x(t,n);e=l(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function m(e,t){var n=t.length<0?0:0|y(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function g(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=m(e,t),e}function b(e,t){if(c.isBuffer(t)){var n=0|y(t.length);return e=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),c.alloc(+e)}function x(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(r)return Z(e).length;t=(""+t).toLowerCase(),r=!0}}function w(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return R(this,t,n);case"ascii":return F(this,t,n);case"latin1":case"binary":return j(this,t,n);case"base64":return N(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function k(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function S(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:C(e,t,n,r,i);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):C(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function C(e,t,n,r,i){var o,s=1,a=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var u=-1;for(o=n;o<a;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){for(var h=!0,d=0;d<l;d++)if(c(e,o+d)!==c(t,d)){h=!1;break}if(h)return o}return-1}function T(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function z(e,t,n,r){return ee(Z(t,e.length-n),e,n,r)}function A(e,t,n,r){return ee(J(t),e,n,r)}function O(e,t,n,r){return A(e,t,n,r)}function E(e,t,n,r){return ee($(t),e,n,r)}function M(e,t,n,r){return ee(Q(t,e.length-n),e,n,r)}function N(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function R(e,t,n){n=Math.min(e.length,n);var r=[],i=t;while(i<n){var o,s,a,l,c=e[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:o=e[i+1],128===(192&o)&&(l=(31&c)<<6|63&o,l>127&&(u=l));break;case 3:o=e[i+1],s=e[i+2],128===(192&o)&&128===(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return D(r)}t.Buffer=c,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:s(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return u(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return d(null,e,t,n)},c.allocUnsafe=function(e){return f(null,e)},c.allocUnsafeSlow=function(e){return f(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var s=e[n];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},c.byteLength=x,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)k(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)k(this,t,t+3),k(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)k(this,t,t+7),k(this,t+1,t+6),k(this,t+2,t+5),k(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?R(this,0,e):w.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,s=n-t,a=Math.min(o,s),l=this.slice(r,i),u=e.slice(t,n),h=0;h<a;++h)if(l[h]!==u[h]){o=l[h],s=u[h];break}return o<s?-1:s<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return S(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return S(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return T(this,e,t,n);case"utf8":case"utf-8":return z(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function D(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var n="",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=L));return n}function F(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function j(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function I(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=Y(e[o]);return i}function B(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function _(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function q(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function U(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function H(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(e,t,n,r,o){return o||H(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function V(e,t,n,r,o){return o||H(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);var r=this[e+--t],i=1;while(t>0&&(i*=256))r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||_(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||_(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||_(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||_(e,t,this.length);var r=t,i=1,o=this[e+--r];while(r>0&&(i*=256))o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||_(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||_(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||_(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||_(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||_(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||_(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||_(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;q(this,e,t,n,i,0)}var o=1,s=0;this[t]=255&e;while(++s<n&&(o*=256))this[t+s]=e/o&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;q(this,e,t,n,i,0)}var o=n-1,s=1;this[t+o]=255&e;while(--o>=0&&(s*=256))this[t+o]=e/s&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):U(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);q(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;this[t]=255&e;while(++o<n&&(s*=256))e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);q(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;this[t+o]=255&e;while(--o>=0&&(s*=256))e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):U(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||q(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return W(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return W(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return V(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return V(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},c.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var s=c.isBuffer(e)?e:Z(new c(e,r).toString()),a=s.length;for(o=0;o<n-t;++o)this[o+t]=s[o%a]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function K(e){if(e=X(e).replace(G,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function X(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Y(e){return e<16?"0"+e.toString(16):e.toString(16)}function Z(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],s=0;s<r;++s){if(n=e.charCodeAt(s),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function J(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function Q(e,t){for(var n,r,i,o=[],s=0;s<e.length;++s){if((t-=2)<0)break;n=e.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function $(e){return r.toByteArray(K(e))}function ee(e,t,n,r){for(var i=0;i<r;++i){if(i+n>=t.length||i>=e.length)break;t[i+n]=e[i]}return i}function te(e){return e!==e}}).call(this,n("c8ba"))},b7ba:function(e,t,n){var r=n("10ad"),i=n("fb24"),o=n("9826"),s=n("eec5");e.exports={xml2js:r,xml2json:i,js2xml:o,json2xml:s}},b7d1:function(e,t,n){(function(t){function n(e,t){if(r("noDeprecation"))return e;var n=!1;function i(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return i}function r(e){try{if(!t.localStorage)return!1}catch(r){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(this,n("c8ba"))},bd04:function(e,t,n){"use strict";var r={backgroundColor:"rgb(17, 17, 84)",lineColor:"rgb(255, 0, 214)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(255, 181, 0)",associativeLineColor:"rgb(255, 255, 255)",associativeLineTextColor:"rgb(255, 255, 255)",root:{fillColor:"rgb(251, 233, 248)",color:"rgb(208, 5, 176)",borderColor:"rgb(255, 0, 214)",borderWidth:3,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"transparent",color:"rgb(248, 177, 237)",borderColor:"",borderWidth:3,fontSize:18},node:{fontSize:14,color:"#fff"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"rgb(255, 181, 0)",borderWidth:2,color:"rgb(17, 17, 84)"}},i={backgroundColor:"rgb(0, 21, 21)",lineColor:"rgb(0, 139, 146)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgba(2, 167, 240, 0.5)",associativeLineColor:"rgb(255, 255, 255)",associativeLineTextColor:"rgb(255, 255, 255)",root:{fillColor:"rgb(0, 243, 255)",color:"rgb(0, 21, 21)",borderColor:"#fff",borderWidth:3,fontSize:24,shape:"parallelogram"},second:{fillColor:"rgb(0, 21, 21)",color:"#fff",borderColor:"#fff",borderWidth:3,fontSize:18,shape:"diamond"},node:{fontSize:14,color:"#fff"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"rgb(0, 117, 255)",borderWidth:2,color:"rgb(0, 21, 21)"}},o={backgroundColor:"rgb(0, 0, 0)",lineColor:"rgb(172, 172, 172)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"rgb(172, 172, 172)",associativeLineColor:"rgb(57, 130, 252)",associativeLineTextColor:"rgb(68, 68, 68)",root:{fillColor:"#fff",color:"rgb(241, 79, 81)",borderColor:"",borderWidth:0,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"rgb(241, 79, 81)",color:"#fff",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"#fff"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"",borderWidth:0,color:"rgb(241, 79, 81)"}},s={backgroundColor:"rgb(32, 34, 43)",lineColor:"rgb(90, 136, 116)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"rgb(90, 136, 116)",associativeLineColor:"rgb(57, 130, 252)",associativeLineTextColor:"rgb(68, 68, 68)",root:{fillColor:"rgb(1, 192, 116)",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(48, 51, 63)",color:"#fff",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"#fff"},generalization:{fontSize:14,fillColor:"rgb(1, 192, 116)",borderColor:"",borderWidth:0,color:"#fff"}},a={lineColor:"rgb(75, 81, 78)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(255, 119, 34)",backgroundColor:"rgb(27, 31, 34)",root:{fillColor:"rgb(36, 179, 96)",color:"#fff",borderColor:"",borderWidth:0},second:{fillColor:"rgb(254, 199, 13)",color:"rgb(0, 0, 0)",borderColor:"",borderWidth:0,fontSize:14},node:{fontSize:12,color:"rgb(204, 204, 204)"},generalization:{fillColor:"transparent",borderColor:"rgb(255, 119, 34)",borderWidth:2,color:"rgb(204, 204, 204)"}},l={lineColor:"rgb(17, 68, 23)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#fff",backgroundColor:"rgb(15, 16, 17)",root:{fillColor:"rgb(28, 178, 43)",color:"#fff",fontSize:24,borderRadius:10},second:{fillColor:"rgb(55, 56, 58)",color:"rgb(147,148,149)",fontSize:18,borderRadius:10,borderWidth:0},node:{fontSize:14,color:"rgb(147, 148, 149)"},generalization:{fillColor:"#fff",borderColor:"transparent",color:"#333"}},c={lineColor:"#fff",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"#fff",backgroundColor:"rgb(58, 65, 68)",backgroundImage:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAIAAAACDbGyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowQzg5QTQ0NDhENzgxMUUzOENGREE4QTg0RDgzRTZDNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowQzg5QTQ0NThENzgxMUUzOENGREE4QTg0RDgzRTZDNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkMwOEQ1NDRGOEQ3NzExRTM4Q0ZEQThBODREODNFNkM3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkMwOEQ1NDUwOEQ3NzExRTM4Q0ZEQThBODREODNFNkM3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+e9P33AAAACVJREFUeNpisXJ0YUACTAyoAMr/+eM7EGGRZ4FQ7BycEAZAgAEAHbEGtkoQm/wAAAAASUVORK5CYII=",backgroundRepeat:"repeat",backgroundSize:"auto",root:{fillColor:"rgb(233, 223, 152)",color:"#333",fontSize:24,borderRadius:21},second:{fillColor:"rgb(164, 197, 192)",borderColor:"transparent",color:"#333",fontSize:16,borderRadius:10},node:{fontSize:12,color:"#fff",fontWeight:"bold"},generalization:{fillColor:"#fff",borderColor:"transparent",color:"#333"}},u={backgroundColor:"rgb(27, 31, 34)",lineColor:"rgb(75, 81, 78)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(255, 119, 34)",root:{fillColor:"rgb(36, 179, 96)",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(254, 199, 13)",color:"rgb(0, 0, 0)",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"rgb(204, 204, 204)"},generalization:{fontSize:14,fillColor:"rgb(27, 31, 34)",borderColor:"rgb(255, 119, 34)",borderWidth:2,color:"rgb(204, 204, 204)"}},h={backgroundColor:"rgb(32, 37, 49)",lineColor:"rgb(137, 167, 196)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(255, 119, 34)",root:{fillColor:"rgb(23, 153, 243)",color:"rgb(255, 255, 255)",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(70, 78, 94)",color:"rgb(209, 210, 210)",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"rgb(204, 204, 204)"},generalization:{fontSize:14,fillColor:"rgb(255, 119, 34)",borderColor:"",borderWidth:2,color:"#fff"}},d={backgroundColor:"rgb(18, 20, 20)",lineColor:"rgb(205, 186, 156)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(245, 224, 191)",root:{fillColor:"rgb(255, 208, 124)",color:"rgb(111, 61, 6)",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(66, 57, 46)",color:"rgb(225, 201, 158)",borderColor:"rgb(245, 224, 191)",borderWidth:2,fontSize:18},node:{fontSize:14,color:"rgb(231, 203, 155)"},generalization:{fontSize:14,fillColor:"rgb(56, 45, 34)",borderColor:"rgb(104, 84, 61)",borderWidth:2,color:"rgb(242, 216, 176)"}},f={backgroundColor:"#070616",lineColor:"#fff",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"#fff",root:{fillColor:"#ff6811",color:"#110501",borderColor:"#ff6811",borderWidth:0,fontSize:24},second:{fillColor:"#070616",color:"#a9a4a9",borderColor:"#ff6811",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#a9a4a9"},generalization:{fontSize:14,fillColor:"",borderColor:"#ff6811",borderWidth:2,color:"#a9a4a9"}},p={backgroundColor:"#16181d",lineColor:"#7da578",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#7da578",associativeLineColor:"#7da578",associativeLineTextColor:"#9ce81d",associativeLineActiveColor:"#9ce81d",root:{fillColor:"#9ce81d",color:"#15521b",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#24272f",color:"#97b65e",borderColor:"#80a97a",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#789e73"},generalization:{fontSize:14,fillColor:"#9ce81d",borderColor:"",borderWidth:0,color:"#13501b"}},m={backgroundColor:"#051422",lineColor:"#55dff3",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#55dff3",associativeLineColor:"#55dff3",associativeLineTextColor:"#78b3ff",associativeLineActiveColor:"#78b3ff",root:{fillColor:"#55dff3",color:"#0f4956",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#0b1632",color:"#fff",borderColor:"#78b3ff",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#78b3ff"},generalization:{fontSize:14,fillColor:"#55dff3",borderColor:"",borderWidth:0,color:"#0f4956"}},g={backgroundColor:"#192b3b",lineColor:"#4986bc",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#4986bc",associativeLineColor:"#4986bc",associativeLineTextColor:"#679fba",associativeLineActiveColor:"#679fba",root:{fillColor:"#3462b0",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#679fba",color:"#fff",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"#679fba"},generalization:{fontSize:14,fillColor:"#3462b0",borderColor:"",borderWidth:0,color:"#fff"}};t["a"]=[{name:"脑图经典",value:"classic",theme:c},{name:"黑色幽默",value:"blackHumour",theme:u},{name:"深夜办公室",value:"lateNightOffice",theme:h},{name:"黑金",value:"blackGold",theme:d},{name:"橙汁",value:"orangeJuice",theme:f},{name:"霓虹灯",value:"neonLamp",theme:r},{name:"暗夜冰刃",value:"darkNightLceBlade",theme:i},{name:"暗色",value:"dark",theme:l},{name:"暗色2",value:"dark2",theme:a},{name:"暗色3",value:"dark3",theme:o},{name:"暗色4",value:"dark4",theme:s},{name:"暗色5",value:"dark5",theme:p},{name:"暗色6",value:"dark6",theme:m},{name:"暗色7",value:"dark7",theme:g}].map(e=>({...e,dark:!0}))},c12f:function(e,t,n){"use strict";function r(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}var i=r();function o(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}e.exports=o},c2ae:function(e,t,n){e.exports=n("e372").PassThrough},c36e:function(e,t,n){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},c4ab:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return c}));
|
||
/*! *****************************************************************************
|
||
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.
|
||
***************************************************************************** */
|
||
var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function l(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}function c(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}},c4ea:function(e,t,n){"use strict";var r={lineColor:"rgb(51, 51, 51)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(51, 51, 51)",root:{fillColor:"rgb(22, 22, 22)",color:"#fff",borderColor:"rgb(22, 22, 22)",borderWidth:3,fontSize:24},second:{fillColor:"rgb(244, 246, 253)",color:"rgb(0, 0, 0)",borderColor:"",borderWidth:3,fontSize:18,shape:"roundedRectangle"},node:{fontSize:14,color:"rgb(0, 0, 0)"},generalization:{fontSize:14,fillColor:"transparent",borderColor:"rgb(34, 34, 34)",borderWidth:2,color:"rgb(34, 34, 34)"}},i={backgroundColor:"rgb(187, 241, 250)",lineColor:"rgb(74, 139, 170)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(255, 168, 101)",root:{fillColor:"rgb(51, 149, 255)",color:"#fff",borderColor:"rgb(51, 149, 255)",borderWidth:3,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"rgb(74, 139, 170)",color:"#fff",borderColor:"",borderWidth:3,fontSize:18},node:{fontSize:14,color:"rgb(0, 0, 0)"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"rgb(255, 168, 101)",borderWidth:2,color:"#000"}},o={backgroundColor:"rgb(236, 254, 255)",lineColor:"rgb(51, 51, 51)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(51, 51, 51)",root:{fillColor:"rgb(39, 222, 232)",color:"rgb(26, 26, 26)",borderColor:"rgb(26, 26, 26)",borderWidth:3,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"rgb(235, 255, 187)",color:"rgb(0, 0, 0)",borderColor:"rgb(51, 51, 51)",borderWidth:3,fontSize:18,shape:"roundedRectangle"},node:{fontSize:14,color:"rgb(0, 0, 0)"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"rgb(26, 26, 26)",borderWidth:2,color:"rgb(26, 26, 26)"}},s={backgroundColor:"rgb(255, 251, 231)",lineColor:"rgb(110, 165, 79)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(136, 100, 0)",root:{fillColor:"rgb(254, 92, 92)",color:"#fff",borderColor:"rgb(18, 187, 55)",borderWidth:3,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"rgb(209, 237, 176)",color:"rgb(85, 136, 55)",borderColor:"",borderWidth:3,fontSize:18,shape:"roundedRectangle"},node:{fontSize:14,color:"rgb(26, 26, 26)"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"rgb(136, 100, 0)",borderWidth:2,color:"rgb(136, 100, 0)"}},a={backgroundColor:"rgb(231, 245, 255)",lineColor:"rgb(96, 189, 255)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(0, 155, 255)",root:{fillColor:"rgb(96, 189, 255)",color:"#fff",borderColor:"#fff",borderWidth:3,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"#fff",color:"rgb(0, 149, 255)",borderColor:"",borderWidth:3,fontSize:18,shape:"roundedRectangle"},node:{fontSize:14,color:"rgb(0, 66, 157)"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"rgb(0, 155, 255)",borderWidth:2,color:"rgb(0, 155, 255)"}},l={backgroundColor:"rgb(252, 245, 241)",lineColor:"rgb(144, 114, 110)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(128, 154, 151)",associativeLineColor:"rgb(166, 124, 106)",associativeLineTextColor:"rgb(166, 124, 106)",root:{fillColor:"rgb(207, 121, 105)",color:"#fff",borderColor:"rgb(207, 121, 105)",borderWidth:3,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"rgb(239, 210, 207)",color:"rgb(144, 79, 68)",borderColor:"rgb(222, 186, 183)",borderWidth:3,fontSize:18,shape:"roundedRectangle"},node:{fontSize:14,color:"rgb(131, 90, 64)"},generalization:{fontSize:14,fillColor:"rgb(172, 202, 199)",borderColor:"rgb(172, 202, 199)",borderWidth:2,color:"rgb(91, 102, 97)"}},c={backgroundColor:"rgb(233, 245, 241)",lineColor:"rgb(34, 34, 34)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"rgb(34, 34, 34)",associativeLineColor:"rgb(56, 44, 116)",associativeLineTextColor:"rgb(68, 68, 68)",root:{fillColor:"rgb(56, 44, 116)",color:"#fff",borderColor:"rgb(56, 44, 116)",borderWidth:0,fontSize:24},second:{fillColor:"rgb(161, 213, 188)",color:"rgb(0, 0, 0)",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"rgb(0, 0, 0)"},generalization:{fontSize:14,fillColor:"rgb(56, 44, 116)",borderColor:"",borderWidth:0,color:"#fff"}},u={backgroundColor:"rgb(255, 255, 255)",lineColor:"rgb(0, 0, 0)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"rgb(0, 0, 0)",associativeLineColor:"rgb(152, 162, 171)",associativeLineTextColor:"rgb(68, 68, 68)",root:{fillColor:"rgb(237, 182, 72)",color:"rgb(0, 0, 0)",borderColor:"rgb(0, 0, 0)",borderWidth:2,fontSize:24},second:{fillColor:"rgb(114, 158, 28)",color:"#fff",borderColor:"rgb(0, 0, 0)",borderWidth:2,fontSize:18},node:{fontSize:14,color:"rgb(10, 2, 2)"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"",borderWidth:0,color:"rgb(10, 2, 2)"}},h={backgroundColor:"rgb(255, 255, 255)",lineColor:"rgb(237, 185, 81)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"rgb(226, 90, 64)",associativeLineColor:"rgb(152, 162, 171)",associativeLineTextColor:"rgb(68, 68, 68)",root:{fillColor:"rgb(226, 90, 64)",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(43, 118, 239)",color:"#fff",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"rgb(43, 118, 239)"},generalization:{fontSize:14,fillColor:"#fff",borderColor:"",borderWidth:0,color:"rgb(43, 118, 239)"}},d={backgroundColor:"rgb(219, 255, 211)",lineColor:"rgb(51, 51, 51)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(255, 127, 71)",associativeLineColor:"rgb(160, 220, 63)",associativeLineTextColor:"rgb(160, 220, 63)",root:{fillColor:"rgb(15, 198, 113)",color:"#fff",borderColor:"",borderWidth:0,fontSize:24,shape:"roundedRectangle"},second:{fillColor:"#fff",color:"rgb(26, 26, 26)",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"rgb(0, 0, 0)"},generalization:{fontSize:14,fillColor:"rgb(255, 127, 71)",borderColor:"",borderWidth:0,color:"#fff"}},f={lineColor:"#fff",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"#fff",backgroundColor:"rgb(80, 156, 170)",root:{fillColor:"#fff",borderColor:"",borderWidth:0,color:"rgb(65, 89, 158)"},second:{fillColor:"rgb(251, 227, 188)",color:"rgb(65, 89, 158)",borderColor:"",borderWidth:0,fontSize:14},node:{fontSize:12,color:"rgb(65, 89, 158)"},generalization:{fillColor:"#fff",borderColor:"transparent",color:"rgb(65, 89, 158)"}},p={lineColor:"rgb(51, 51, 51)",lineWidth:2,generalizationLineWidth:3,generalizationLineColor:"rgb(51, 51, 51)",backgroundColor:"#fff",root:{fillColor:"rgb(18, 187, 55)",color:"#fff",fontSize:24,borderRadius:10},second:{fillColor:"rgb(241, 242, 241)",borderColor:"transparent",color:"#1a1a1a",fontSize:18,borderRadius:10},node:{fontSize:14,color:"#1a1a1a"},generalization:{fillColor:"#fff",borderColor:"rgb(51, 51, 51)",borderWidth:2,color:"#1a1a1a"}},m={lineColor:"rgb(94, 202, 110)",lineWidth:2,generalizationLineWidth:3,generalizationLineColor:"#1a1a1a",backgroundColor:"rgb(241, 241, 241)",root:{fillColor:"rgb(255, 245, 214)",color:"#1a1a1a",fontSize:24,borderRadius:10,borderColor:"rgb(249, 199, 84)",borderWidth:1},second:{fillColor:"rgb(255, 245, 214)",borderColor:"rgb(249, 199, 84)",borderWidth:1,color:"#1a1a1a",fontSize:18,borderRadius:10},node:{fontSize:14,color:"#1a1a1a"},generalization:{fillColor:"#fff",borderColor:"#1a1a1a",color:"#1a1a1a",borderWidth:2}},g={lineColor:"rgb(123, 199, 120)",backgroundColor:"rgb(236, 245, 231)",generalizationLineWidth:2,generalizationLineColor:"rgb(123, 199, 120)",root:{fillColor:"rgb(253, 244, 217)",color:"#222"},second:{fillColor:"rgb(253, 244, 217)",color:"#222",borderColor:"rgb(242, 200, 104)",borderWidth:1,fontSize:14},node:{fontSize:12,color:"#333"},generalization:{fillColor:"rgb(123, 199, 120)",borderColor:"transparent",borderWidth:2,color:"#fff"}},b={lineColor:"rgb(51, 51, 51)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"rgb(51, 51, 51)",backgroundColor:"rgb(239, 248, 250)",root:{fillColor:"rgb(255, 255, 255)",color:"#222"},second:{fillColor:"rgb(255, 255, 255)",color:"#222",borderColor:"rgb(255, 255, 255)",borderWidth:1,fontSize:14},node:{fontSize:12,color:"#333"},generalization:{fillColor:"#fff",borderColor:"rgb(51, 51, 51)",color:"#333"}},y={lineColor:"rgb(115, 161, 191)",backgroundColor:"rgb(251, 251, 251)",generalizationLineWidth:1,generalizationLineColor:"#333",root:{fillColor:"rgb(115, 161, 191)"},second:{fillColor:"rgb(238, 243, 246)",color:"#333",borderColor:"rgb(115, 161, 191)",borderWidth:1,fontSize:14},node:{fontSize:12,color:"#333"},generalization:{fillColor:"#fff",borderColor:"#333",color:"#333"}},v={lineColor:"rgb(191, 115, 148)",backgroundColor:"rgb(251, 251, 251)",generalizationLineWidth:1,generalizationLineColor:"#333",root:{fillColor:"rgb(191, 115, 148)"},second:{fillColor:"rgb(246, 238, 242)",color:"#333",borderColor:"rgb(191, 115, 148)",borderWidth:1,fontSize:14},node:{fontSize:12,color:"#333"},generalization:{fillColor:"#fff",borderColor:"#333",color:"#333"}},x={lineColor:"rgb(191, 147, 115)",backgroundColor:"rgb(251, 251, 251)",generalizationLineWidth:1,generalizationLineColor:"#333",root:{fillColor:"rgb(191, 147, 115)"},second:{fillColor:"rgb(246, 242, 238)",color:"#333",borderColor:"rgb(191, 147, 115)",borderWidth:1,fontSize:14},node:{fontSize:12,color:"#333"},generalization:{fillColor:"#fff",borderColor:"#333",color:"#333"}},w={lineColor:"#333",backgroundColor:"#d1f6ec",generalizationLineWidth:1,generalizationLineColor:"#333",root:{fillColor:"#1fb27d"},second:{fillColor:"#fff",color:"#565656",borderColor:"transparent",borderWidth:0},generalization:{fillColor:"#fff",borderColor:"#333",color:"#333"}},k={lineColor:"rgb(191, 115, 115)",backgroundColor:"rgb(251, 251, 251)",generalizationLineWidth:1,generalizationLineColor:"#333",root:{fillColor:"rgb(191, 115, 115)"},second:{fillColor:"rgb(246, 238, 238)",color:"#333",borderColor:"rgb(191, 115, 115)",borderWidth:1,fontSize:14},node:{fontSize:12,color:"#333"},generalization:{fillColor:"#fff",borderColor:"#333",color:"#333"}},S={lineColor:"rgb(123, 115, 191)",backgroundColor:"rgb(251, 251, 251)",generalizationLineWidth:1,generalizationLineColor:"#333",root:{fillColor:"rgb(123, 115, 191)"},second:{fillColor:"rgb(239, 238, 246)",color:"#333",borderColor:"rgb(123, 115, 191)",borderWidth:1,fontSize:14},node:{fontSize:12,color:"#333"},generalization:{fillColor:"#fff",borderColor:"#333",color:"#333"}},C={lineColor:"rgb(166, 101, 106)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"#fff",backgroundColor:"rgb(255, 208, 211)",root:{fillColor:"rgb(139, 109, 225)",borderColor:"",borderWidth:0},second:{fillColor:"rgb(243, 104, 138)",color:"#fff",borderColor:"",borderWidth:0,fontSize:14},node:{fontSize:12,color:"#222"},generalization:{fillColor:"#fff",borderColor:"transparent",color:"#222"}},T={lineColor:"rgb(104, 204, 202)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(90, 206, 241)",backgroundColor:"rgb(239, 255, 255)",root:{fillColor:"rgb(0, 192, 184)",borderColor:"",borderWidth:0},second:{fillColor:"#fff",color:"#222",borderColor:"rgb(184, 235, 233)",borderWidth:2,fontSize:14},node:{fontSize:12,color:"#222"},generalization:{fillColor:"rgb(90, 206, 241)",borderColor:"transparent",color:"#fff"}},z={lineColor:"rgb(51, 56, 62)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(127, 93, 64)",backgroundColor:"#fff",root:{fillColor:"rgb(51, 56, 62)",color:"rgb(247, 208, 160)",borderColor:"",borderWidth:0},second:{fillColor:"rgb(239, 209, 176)",color:"rgb(81, 58, 42)",borderColor:"",borderWidth:0,fontSize:14},node:{fontSize:12,color:"#222"},generalization:{fillColor:"rgb(127, 93, 64)",borderColor:"transparent",color:"rgb(255, 214, 175)"}},A={lineColor:"rgb(254, 146, 0)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(255, 222, 69)",backgroundColor:"rgb(255, 246, 243)",root:{fillColor:"rgb(255, 112, 52)",color:"#fff",borderColor:"",borderWidth:0},second:{fillColor:"#fff",color:"rgb(51, 51, 51)",borderColor:"",borderWidth:0,fontSize:14},node:{fontSize:12,color:"#222"},generalization:{fillColor:"rgb(255, 222, 69)",borderColor:"transparent",color:"rgb(51, 51, 51)"}},O={lineColor:"rgb(40, 193, 84)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(251, 158, 0)",backgroundColor:"rgb(238, 255, 243)",root:{fillColor:"rgb(25, 193, 73)",color:"#fff",borderColor:"",borderWidth:0},second:{fillColor:"#fff",color:"rgb(69, 149, 96)",borderColor:"",borderWidth:0,fontSize:14},node:{fontSize:12,color:"#222"},generalization:{fillColor:"#fff",borderColor:"rgb(251, 158, 0)",borderWidth:2,color:"rgb(51, 51, 51)"}},E={lineColor:"rgb(30, 53, 86)",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"rgb(56, 123, 233)",backgroundColor:"rgb(241, 241, 241)",root:{fillColor:"rgb(30, 53, 86)",color:"#fff",fontSize:24,borderRadius:10,borderColor:"rgb(189, 197, 201)",borderWidth:2},second:{fillColor:"rgb(169, 218, 218)",borderColor:"rgb(30, 53, 86)",borderWidth:2,color:"#fff",fontSize:18,borderRadius:10},node:{fontSize:14,color:"rgb(30, 53, 86)",borderColor:"rgb(30, 53, 86)",borderWidth:1,marginY:20},generalization:{fillColor:"rgb(56, 123, 233)",borderColor:"rgb(56, 123, 233)",color:"#fff",borderWidth:0}},M={lineColor:"rgb(51, 51, 51)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"#222",backgroundColor:"rgb(248, 215, 49)",root:{fillColor:"rgb(55, 165, 255)",borderColor:"rgb(51, 51, 51)",borderWidth:3},second:{fillColor:"rgb(255, 160, 36)",color:"#222",borderColor:"rgb(51, 51, 51)",borderWidth:3,fontSize:14},node:{fontSize:12,color:"#222"},generalization:{borderColor:"#222",borderWidth:3,color:"#222"}},N={lineColor:"rgb(34, 34, 34)",lineWidth:4,generalizationLineWidth:4,generalizationLineColor:"rgb(34, 34, 34)",root:{fillColor:"#fff",color:"rgb(34, 34, 34)",borderColor:"rgb(34, 34, 34)",borderWidth:3,fontSize:24},second:{fillColor:"rgb(241, 246, 248)",color:"rgb(34, 34, 34)",borderColor:"rgb(34, 34, 34)",borderWidth:3,fontSize:18},node:{fontSize:14,color:"rgb(34, 34, 34)"},generalization:{fontSize:14,fillColor:"transparent",borderColor:"rgb(34, 34, 34)",borderWidth:2,color:"rgb(34, 34, 34)"}},R={lineColor:"rgb(113, 195, 169)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(113, 195, 169)",root:{fillColor:"rgb(16, 160, 121)",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(240, 252, 249)",color:"rgb(50, 113, 96)",borderColor:"rgb(113, 195, 169)",borderWidth:2,fontSize:18},node:{fontSize:14,color:"rgb(10, 59, 43)"},generalization:{fontSize:14,fillColor:"rgb(246, 238, 211)",borderColor:"",borderWidth:0,color:"rgb(173, 91, 12)"}},L={lineColor:"rgb(173, 123, 91)",lineWidth:4,generalizationLineWidth:4,generalizationLineColor:"rgb(173, 123, 91)",root:{fillColor:"rgb(202, 117, 79)",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(245, 231, 216)",color:"rgb(125, 86, 42)",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"rgb(96, 71, 47)"},generalization:{fontSize:14,fillColor:"rgb(255, 249, 239)",borderColor:"rgb(173, 123, 91)",borderWidth:2,color:"rgb(122, 83, 44)"}},D={backgroundColor:"rgb(255, 238, 228)",lineColor:"rgb(230, 138, 131)",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"rgb(222, 101, 85)",root:{fillColor:"rgb(207, 44, 44)",color:"rgb(255, 233, 157)",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"rgb(255, 255, 255)",color:"rgb(211, 58, 21)",borderColor:"rgb(222, 101, 85)",borderWidth:2,fontSize:18},node:{fontSize:14,color:"rgb(144, 71, 43)"},generalization:{fontSize:14,fillColor:"rgb(255, 247, 211)",borderColor:"rgb(255, 202, 162)",borderWidth:2,color:"rgb(187, 101, 69)"}},F={backgroundColor:"#e6f1de",lineColor:"#f5ffad",lineWidth:4,generalizationLineWidth:3,generalizationLineColor:"#749336",root:{fillColor:"#94c143",color:"#fff",borderColor:"#94c143",borderWidth:0,fontSize:24},second:{fillColor:"#cee498",color:"#749336",borderColor:"#aec668",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#749336"},generalization:{fontSize:14,fillColor:"#cee498",borderColor:"#aec668",borderWidth:2,color:"#749336"}},j={backgroundColor:"#fff2df",lineColor:"#b0bc47",lineWidth:3,generalizationLineWidth:3,generalizationLineColor:"#b0bc47",root:{fillColor:"#e68112",color:"#fff",borderColor:"#e68112",borderWidth:0,fontSize:24},second:{fillColor:"#ffd683",color:"#8c5416",borderColor:"#b0bc47",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#8c5416"},generalization:{fontSize:14,fillColor:"#ffd683",borderColor:"#b0bc47",borderWidth:2,color:"#8c5416"}},I={backgroundColor:"#fff",lineColor:"#36aaa9",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#36aaa9",associativeLineColor:"#3e58ea",associativeLineTextColor:"#679fba",associativeLineActiveColor:"#50a4b4",root:{fillColor:"#3e58ea",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#e3fbff",color:"#58aabc",borderColor:"#50a4b4",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#50a4b4"},generalization:{fontSize:14,fillColor:"#3e58ea",borderColor:"",borderWidth:0,color:"#fff"}},B={backgroundColor:"#fffcf2",lineColor:"#333333",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#ffda60",associativeLineColor:"#ffda60",associativeLineTextColor:"#333333",associativeLineActiveColor:"#333333",root:{fillColor:"#ffda60",color:"#3b3a37",borderColor:"#343334",borderWidth:2,fontSize:24},second:{fillColor:"#fff",color:"#131312",borderColor:"",borderWidth:0,fontSize:18},node:{fontSize:14,color:"#131312"},generalization:{fontSize:14,fillColor:"#ffda60",borderColor:"",borderWidth:0,color:"#464339"}},_={backgroundColor:"#fffef6",lineColor:"#273d62",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#273d62",associativeLineColor:"#9edeee",associativeLineTextColor:"#395c85",associativeLineActiveColor:"#273d62",root:{fillColor:"#273d62",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#9edeee",color:"#406080",borderColor:"#395c85",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#395c85"},generalization:{fontSize:14,fillColor:"#273d62",borderColor:"",borderWidth:0,color:"#fff"}},q={backgroundColor:"#ffffff",lineColor:"#333333",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#2176ef",associativeLineColor:"#2176ef",associativeLineTextColor:"#343433",associativeLineActiveColor:"#343433",root:{fillColor:"#2176ef",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#fff9e4",color:"#4c4b46",borderColor:"#343433",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#343433"},generalization:{fontSize:14,fillColor:"#2176ef",borderColor:"",borderWidth:0,color:"#fff"}},P={backgroundColor:"#ffffff",lineColor:"#35b398",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#21c384",associativeLineColor:"#21c384",associativeLineTextColor:"#4d754b",associativeLineActiveColor:"#f5ffe6",root:{fillColor:"#21c384",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#f5ffe6",color:"#386437",borderColor:"#35b398",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#326032"},generalization:{fontSize:14,fillColor:"#21c384",borderColor:"",borderWidth:0,color:"#fff"}},U={backgroundColor:"#ffffff",lineColor:"#333333",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#ffd613",associativeLineColor:"#ffd613",associativeLineTextColor:"#2d2b23",associativeLineActiveColor:"#d1ebf8",root:{fillColor:"#ffd613",color:"#2d2b23",borderColor:"#1f2021",borderWidth:2,fontSize:24},second:{fillColor:"#d1ebf8",color:"#717b80",borderColor:"#333333",borderWidth:2,fontSize:18,borderRadius:5},node:{fontSize:14,color:"#333333"},generalization:{fontSize:14,fillColor:"#ffd613",borderColor:"",borderWidth:0,color:"#2d2b23"}},H={backgroundColor:"#ffeed2",lineColor:"#976a43",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#19807e",associativeLineColor:"#19807e",associativeLineTextColor:"#764014",associativeLineActiveColor:"#976a43",root:{fillColor:"#19807e",color:"#f3f0b8",borderColor:"",borderWidth:0,fontSize:24,shape:"circle"},second:{fillColor:"#eacdb3",color:"#7f4d1f",borderColor:"#764014",borderWidth:2,fontSize:18,shape:"roundedRectangle"},node:{fontSize:14,color:"#764014"},generalization:{fontSize:14,fillColor:"#19807e",borderColor:"",borderWidth:0,color:"#f3f0b8"}},W={backgroundColor:"#c8e4ea",lineColor:"#3e416c",lineWidth:2,generalizationLineWidth:2,generalizationLineColor:"#3e416c",associativeLineColor:"#ffdb9c",associativeLineTextColor:"#383b70",associativeLineActiveColor:"#3e416c",root:{fillColor:"#383b70",color:"#fff",borderColor:"",borderWidth:0,fontSize:24},second:{fillColor:"#ffdb9c",color:"#5e5c76",borderColor:"#3e416c",borderWidth:2,fontSize:18},node:{fontSize:14,color:"#3e416c"},generalization:{fontSize:14,fillColor:"#383b70",borderColor:"",borderWidth:0,color:"#fff"}};t["a"]=[{name:"天清绿",value:"skyGreen",theme:f},{name:"经典绿",value:"classicGreen",theme:g},{name:"经典蓝",value:"classicBlue",theme:b},{name:"天空蓝",value:"blueSky",theme:y},{name:"脑残粉",value:"brainImpairedPink",theme:v},{name:"泥土黄",value:"earthYellow",theme:x},{name:"清新绿",value:"freshGreen",theme:w},{name:"清新红",value:"freshRed",theme:k},{name:"浪漫紫",value:"romanticPurple",theme:S},{name:"粉红葡萄",value:"pinkGrape",theme:C},{name:"薄荷",value:"mint",theme:T},{name:"金色vip",value:"gold",theme:z},{name:"活力橙",value:"vitalityOrange",theme:A},{name:"绿叶",value:"greenLeaf",theme:O},{name:"小黄人",value:"minions",theme:M},{name:"简约黑",value:"simpleBlack",theme:N},{name:"课程绿",value:"courseGreen",theme:R},{name:"咖啡",value:"coffee",theme:L},{name:"红色精神",value:"redSpirit",theme:D},{name:"牛油果",value:"avocado",theme:F},{name:"秋天",value:"autumn",theme:j},{name:"奥利奥",value:"oreo",theme:r},{name:"浅海",value:"shallowSea",theme:i},{name:"柠檬气泡",value:"lemonBubbles",theme:o},{name:"玫瑰",value:"rose",theme:s},{name:"海蓝线",value:"seaBlueLine",theme:a},{name:"莫兰迪",value:"morandi",theme:l},{name:"仙人掌",value:"cactus",theme:d},{name:"脑图经典2",value:"classic2",theme:p},{name:"脑图经典3",value:"classic3",theme:m},{name:"脑图经典4",value:"classic4",theme:E},{name:"脑图经典5",value:"classic5",theme:c},{name:"脑图经典6",value:"classic6",theme:u},{name:"脑图经典7",value:"classic7",theme:h},{name:"脑图经典8",value:"classic8",theme:I},{name:"脑图经典9",value:"classic9",theme:B},{name:"脑图经典10",value:"classic10",theme:_},{name:"脑图经典11",value:"classic11",theme:q},{name:"脑图经典12",value:"classic12",theme:P},{name:"脑图经典13",value:"classic13",theme:U},{name:"脑图经典14",value:"classic14",theme:H},{name:"脑图经典15",value:"classic15",theme:W}].map(e=>({...e,dark:!1}))},c922:function(e,t,n){"use strict";var r,i=n("9aae"),o=n("5da7"),s=n("2d51"),a=n("c12f"),l=n("5838"),c=0,u=1,h=3,d=4,f=5,p=0,m=1,g=-2,b=-3,y=-5,v=-1,x=1,w=2,k=3,S=4,C=0,T=2,z=8,A=9,O=15,E=8,M=29,N=256,R=N+1+M,L=30,D=19,F=2*R+1,j=15,I=3,B=258,_=B+I+1,q=32,P=42,U=69,H=73,W=91,V=103,G=113,K=666,X=1,Y=2,Z=3,J=4,Q=3;function $(e,t){return e.msg=l[t],t}function ee(e){return(e<<1)-(e>4?9:0)}function te(e){var t=e.length;while(--t>=0)e[t]=0}function ne(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function re(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ne(e.strm)}function ie(e,t){e.pending_buf[e.pending++]=t}function oe(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function se(e,t,n,r){var o=e.avail_in;return o>r&&(o=r),0===o?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,n),1===e.state.wrap?e.adler=s(e.adler,t,o,n):2===e.state.wrap&&(e.adler=a(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)}function ae(e,t){var n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-_?e.strstart-(e.w_size-_):0,c=e.window,u=e.w_mask,h=e.prev,d=e.strstart+B,f=c[o+s-1],p=c[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(n=t,c[n+s]===p&&c[n+s-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=B-(d-o),o=d-B,r>s){if(e.match_start=t,s=r,r>=a)break;f=c[o+s-1],p=c[o+s]}}}while((t=h[t&u])>l&&0!==--i);return s<=e.lookahead?s:e.lookahead}function le(e){var t,n,r,o,s,a=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-_)){i.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,n=e.hash_size,t=n;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);n=a,t=n;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);o+=a}if(0===e.strm.avail_in)break;if(n=se(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=I){s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+I-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,e.lookahead+e.insert<I)break}}while(e.lookahead<_&&0!==e.strm.avail_in)}function ce(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(le(e),0===e.lookahead&&t===c)return X;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,re(e,!1),0===e.strm.avail_out))return X;if(e.strstart-e.block_start>=e.w_size-_&&(re(e,!1),0===e.strm.avail_out))return X}return e.insert=0,t===d?(re(e,!0),0===e.strm.avail_out?Z:J):(e.strstart>e.block_start&&(re(e,!1),e.strm.avail_out),X)}function ue(e,t){for(var n,r;;){if(e.lookahead<_){if(le(e),e.lookahead<_&&t===c)return X;if(0===e.lookahead)break}if(n=0,e.lookahead>=I&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+I-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-_&&(e.match_length=ae(e,n)),e.match_length>=I)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-I),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=I){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+I-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(re(e,!1),0===e.strm.avail_out))return X}return e.insert=e.strstart<I-1?e.strstart:I-1,t===d?(re(e,!0),0===e.strm.avail_out?Z:J):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?X:Y}function he(e,t){for(var n,r,i;;){if(e.lookahead<_){if(le(e),e.lookahead<_&&t===c)return X;if(0===e.lookahead)break}if(n=0,e.lookahead>=I&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+I-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=I-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-_&&(e.match_length=ae(e,n),e.match_length<=5&&(e.strategy===x||e.match_length===I&&e.strstart-e.match_start>4096)&&(e.match_length=I-1)),e.prev_length>=I&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-I,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-I),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+I-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=I-1,e.strstart++,r&&(re(e,!1),0===e.strm.avail_out))return X}else if(e.match_available){if(r=o._tr_tally(e,0,e.window[e.strstart-1]),r&&re(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return X}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<I-1?e.strstart:I-1,t===d?(re(e,!0),0===e.strm.avail_out?Z:J):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?X:Y}function de(e,t){for(var n,r,i,s,a=e.window;;){if(e.lookahead<=B){if(le(e),e.lookahead<=B&&t===c)return X;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=I&&e.strstart>0&&(i=e.strstart-1,r=a[i],r===a[++i]&&r===a[++i]&&r===a[++i])){s=e.strstart+B;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<s);e.match_length=B-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=I?(n=o._tr_tally(e,1,e.match_length-I),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(re(e,!1),0===e.strm.avail_out))return X}return e.insert=0,t===d?(re(e,!0),0===e.strm.avail_out?Z:J):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?X:Y}function fe(e,t){for(var n;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===c)return X;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(re(e,!1),0===e.strm.avail_out))return X}return e.insert=0,t===d?(re(e,!0),0===e.strm.avail_out?Z:J):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?X:Y}function pe(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function me(e){e.window_size=2*e.w_size,te(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=I-1,e.match_available=0,e.ins_h=0}function ge(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=z,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*F),this.dyn_dtree=new i.Buf16(2*(2*L+1)),this.bl_tree=new i.Buf16(2*(2*D+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(j+1),this.heap=new i.Buf16(2*R+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*R+1),te(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function be(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=T,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?P:G,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),p):$(e,g)}function ye(e){var t=be(e);return t===p&&me(e.state),t}function ve(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,p):g}function xe(e,t,n,r,o,s){if(!e)return g;var a=1;if(t===v&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>A||n!==z||r<8||r>15||t<0||t>9||s<0||s>S)return $(e,g);8===r&&(r=9);var l=new ge;return e.state=l,l.strm=e,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+I-1)/I),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=s,l.method=n,ye(e)}function we(e,t){return xe(e,t,z,O,E,C)}function ke(e,t){var n,i,s,l;if(!e||!e.state||t>f||t<0)return e?$(e,g):g;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===K&&t!==d)return $(e,0===e.avail_out?y:g);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===P)if(2===i.wrap)e.adler=0,ie(i,31),ie(i,139),ie(i,8),i.gzhead?(ie(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ie(i,255&i.gzhead.time),ie(i,i.gzhead.time>>8&255),ie(i,i.gzhead.time>>16&255),ie(i,i.gzhead.time>>24&255),ie(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),ie(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ie(i,255&i.gzhead.extra.length),ie(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=a(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=U):(ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,0),ie(i,9===i.level?2:i.strategy>=w||i.level<2?4:0),ie(i,Q),i.status=G);else{var b=z+(i.w_bits-8<<4)<<8,v=-1;v=i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3,b|=v<<6,0!==i.strstart&&(b|=q),b+=31-b%31,i.status=G,oe(i,b),0!==i.strstart&&(oe(i,e.adler>>>16),oe(i,65535&e.adler)),e.adler=1}if(i.status===U)if(i.gzhead.extra){s=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=i.pending,i.pending===i.pending_buf_size))break;ie(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=H)}else i.status=H;if(i.status===H)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.gzindex=0,i.status=W)}else i.status=W;if(i.status===W)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ie(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.status=V)}else i.status=V;if(i.status===V&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ne(e),i.pending+2<=i.pending_buf_size&&(ie(i,255&e.adler),ie(i,e.adler>>8&255),e.adler=0,i.status=G)):i.status=G),0!==i.pending){if(ne(e),0===e.avail_out)return i.last_flush=-1,p}else if(0===e.avail_in&&ee(t)<=ee(n)&&t!==d)return $(e,y);if(i.status===K&&0!==e.avail_in)return $(e,y);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==K){var x=i.strategy===w?fe(i,t):i.strategy===k?de(i,t):r[i.level].func(i,t);if(x!==Z&&x!==J||(i.status=K),x===X||x===Z)return 0===e.avail_out&&(i.last_flush=-1),p;if(x===Y&&(t===u?o._tr_align(i):t!==f&&(o._tr_stored_block(i,0,0,!1),t===h&&(te(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),ne(e),0===e.avail_out))return i.last_flush=-1,p}return t!==d?p:i.wrap<=0?m:(2===i.wrap?(ie(i,255&e.adler),ie(i,e.adler>>8&255),ie(i,e.adler>>16&255),ie(i,e.adler>>24&255),ie(i,255&e.total_in),ie(i,e.total_in>>8&255),ie(i,e.total_in>>16&255),ie(i,e.total_in>>24&255)):(oe(i,e.adler>>>16),oe(i,65535&e.adler)),ne(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?p:m)}function Se(e){var t;return e&&e.state?(t=e.state.status,t!==P&&t!==U&&t!==H&&t!==W&&t!==V&&t!==G&&t!==K?$(e,g):(e.state=null,t===G?$(e,b):p)):g}function Ce(e,t){var n,r,o,a,l,c,u,h,d=t.length;if(!e||!e.state)return g;if(n=e.state,a=n.wrap,2===a||1===a&&n.status!==P||n.lookahead)return g;1===a&&(e.adler=s(e.adler,t,d,0)),n.wrap=0,d>=n.w_size&&(0===a&&(te(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,t,d-n.w_size,n.w_size,0),t=h,d=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=d,e.next_in=0,e.input=t,le(n);while(n.lookahead>=I){r=n.strstart,o=n.lookahead-(I-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+I-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=I-1,le(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=I-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=a,p}r=[new pe(0,0,0,0,ce),new pe(4,4,8,4,ue),new pe(4,5,16,8,ue),new pe(4,6,32,32,ue),new pe(4,4,16,16,he),new pe(8,16,32,32,he),new pe(8,16,128,128,he),new pe(8,32,128,256,he),new pe(32,128,258,1024,he),new pe(32,258,258,4096,he)],t.deflateInit=we,t.deflateInit2=xe,t.deflateReset=ye,t.deflateResetKeep=be,t.deflateSetHeader=ve,t.deflate=ke,t.deflateEnd=Se,t.deflateSetDictionary=Ce,t.deflateInfo="pako deflate (from Nodeca project)"},cbc1:function(e,t,n){"use strict";var r=n("1e42"),i=n("5b13");class o{constructor({mindMap:e}){this.mindMap=e,this.rect=null,this.isMousedown=!1,this.mouseDownX=0,this.mouseDownY=0,this.mouseMoveX=0,this.mouseMoveY=0,this.isSelecting=!1,this.cacheActiveList=[],this.autoMove=new i["a"](e),this.bindEvent()}bindEvent(){this.onMousedown=this.onMousedown.bind(this),this.onMousemove=this.onMousemove.bind(this),this.onMouseup=this.onMouseup.bind(this),this.checkInNodes=Object(r["Bb"])(this.checkInNodes,300,this),this.mindMap.on("mousedown",this.onMousedown),this.mindMap.on("mousemove",this.onMousemove),this.mindMap.on("mouseup",this.onMouseup),this.mindMap.on("node_mouseup",this.onMouseup)}unBindEvent(){this.mindMap.off("mousedown",this.onMousedown),this.mindMap.off("mousemove",this.onMousemove),this.mindMap.off("mouseup",this.onMouseup),this.mindMap.off("node_mouseup",this.onMouseup)}onMousedown(e){const{readonly:t,mousedownEventPreventDefault:n}=this.mindMap.opt;if(t)return;let{useLeftKeySelectionRightKeyDrag:r}=this.mindMap.opt;if(!e.ctrlKey&&!e.metaKey&&(r?1!==e.which:3!==e.which))return;n&&e.preventDefault(),this.isMousedown=!0,this.cacheActiveList=[...this.mindMap.renderer.activeNodeList];let{x:i,y:o}=this.mindMap.toPos(e.clientX,e.clientY);this.mouseDownX=i,this.mouseDownY=o,this.createRect(i,o)}onMousemove(e){if(this.mindMap.opt.readonly)return;if(!this.isMousedown)return;let{x:t,y:n}=this.mindMap.toPos(e.clientX,e.clientY);this.mouseMoveX=t,this.mouseMoveY=n,Math.abs(t-this.mouseDownX)<=10&&Math.abs(n-this.mouseDownY)<=10||(this.autoMove.clearAutoMoveTimer(),this.autoMove.onMove(e.clientX,e.clientY,()=>{this.isSelecting=!0,this.rect&&this.rect.plot([[this.mouseDownX,this.mouseDownY],[this.mouseMoveX,this.mouseDownY],[this.mouseMoveX,this.mouseMoveY],[this.mouseDownX,this.mouseMoveY]]),this.checkInNodes()},(e,t)=>{switch(e){case"left":this.mouseDownX+=t;break;case"top":this.mouseDownY+=t;break;case"right":this.mouseDownX-=t;break;case"bottom":this.mouseDownY-=t;break;default:break}}))}onMouseup(){this.mindMap.opt.readonly||this.isMousedown&&(this.checkTriggerNodeActiveEvent(),this.autoMove.clearAutoMoveTimer(),this.isMousedown=!1,this.cacheActiveList=[],this.rect&&this.rect.remove(),this.rect=null,setTimeout(()=>{this.isSelecting=!1},0))}checkTriggerNodeActiveEvent(){let e=this.cacheActiveList.length!==this.mindMap.renderer.activeNodeList.length,t=!1;if(!e)for(let n=0;n<this.cacheActiveList.length;n++){let e=this.cacheActiveList[n];if(!this.mindMap.renderer.activeNodeList.find(t=>t.getData("uid")===e.getData("uid"))){t=!0;break}}(e||t)&&this.mindMap.renderer.emitNodeActiveEvent()}createRect(e,t){this.rect&&this.rect.remove(),this.rect=this.mindMap.svg.polygon().stroke({color:"#0984e3"}).fill({color:"rgba(9,132,227,0.3)"}).plot([[e,t]])}checkInNodes(){let{scaleX:e,scaleY:t,translateX:n,translateY:i}=this.mindMap.draw.transform(),o=Math.min(this.mouseDownX,this.mouseMoveX),s=Math.min(this.mouseDownY,this.mouseMoveY),a=Math.max(this.mouseDownX,this.mouseMoveX),l=Math.max(this.mouseDownY,this.mouseMoveY);const c=c=>{let{left:u,top:h,width:d,height:f}=c,p=(u+d)*e+n,m=(h+f)*t+i;if(u=u*e+n,h=h*t+i,Object(r["o"])(o,a,s,l,u,p,h,m)){if(c.getData("isActive"))return;this.mindMap.renderer.addNodeToActiveList(c),this.mindMap.renderer.emitNodeActiveEvent()}else if(c.getData("isActive")){if(!c.getData("isActive"))return;this.mindMap.renderer.removeNodeFromActiveList(c),this.mindMap.renderer.emitNodeActiveEvent()}},u=this.mindMap.getRootNodes&&this.mindMap.getRootNodes().length?this.mindMap.getRootNodes():this.mindMap.renderer.root?[this.mindMap.renderer.root]:[];u.forEach(e=>{Object(r["d"])(e,e=>{c(e),e._generalizationList&&e._generalizationList.length>0&&e._generalizationList.forEach(e=>{c(e.generalizationNode)})})})}hasSelectRange(){return this.isSelecting}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}o.instanceName="select",t["a"]=o},d07c:function(e){e.exports=JSON.parse('"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"')},d17b:function(e,t,n){e.exports=n("e372").Transform},d44e:function(e,t,n){"use strict";var r=n("9bf2").f,i=n("1a2d"),o=n("b622"),s=o("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,s)&&r(e,s,{configurable:!0,value:t})}},d485:function(e,t,n){e.exports=o;var r=n("faa1").EventEmitter,i=n("3fb5");function o(){r.call(this)}i(o,r),o.Readable=n("e372"),o.Writable=n("2c63"),o.Duplex=n("0960"),o.Transform=n("d17b"),o.PassThrough=n("c2ae"),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",l));var s=!1;function a(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},dc14:function(e,t,n){"use strict";(function(t,r){var i=n("966d");function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){j(t,e)}}e.exports=v;var s,a=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;v.WritableState=y;var l=Object.create(n("3a7c"));l.inherits=n("3fb5");var c={deprecate:n("b7d1")},u=n("429b"),h=n("8707").Buffer,d=("undefined"!==typeof r?r:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function f(e){return h.from(e)}function p(e){return h.isBuffer(e)||e instanceof d}var m,g=n("4681");function b(){}function y(e,t){s=s||n("b19a"),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,a=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===e.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){A(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function v(e){if(s=s||n("b19a"),!m.call(v,this)&&!(this instanceof s))return new v(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),u.call(this)}function x(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}function w(e,t,n,r){var o=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),i.nextTick(r,s),o=!1),o}function k(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=h.from(t,n)),t}function S(e,t,n,r,i,o){if(!n){var s=k(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,a,r,i,o);return l}function C(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function T(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(D,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),D(e,t))}function z(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function A(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(z(n),t)T(e,n,r,t,i);else{var o=N(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||M(e,n),r?a(O,e,n,o,i):O(e,n,o,i)}}function O(e,t,n,r){n||E(e,t),t.pendingcb--,r(),D(e,t)}function E(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function M(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),s=t.corkedRequestsFree;s.entry=n;var a=0,l=!0;while(n)i[a]=n,n.isBuf||(l=!1),n=n.next,a+=1;i.allBuffers=l,C(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{while(n){var c=n.chunk,u=n.encoding,h=n.callback,d=t.objectMode?1:c.length;if(C(e,t,!1,d,c,u,h),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function N(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),D(e,t)}))}function L(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(R,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function D(e,t){var n=N(t);return n&&(L(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}function F(e,t,n){t.ending=!0,D(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function j(e,t,n){var r=e.entry;e.entry=null;while(r){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}l.inherits(v,u),y.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===v&&(e&&e._writableState instanceof y)}})):m=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&p(e);return o&&!h.isBuffer(e)&&(e=f(e)),"function"===typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!==typeof n&&(n=b),r.ended?x(this,n):(o||w(this,r,e,n))&&(r.pendingcb++,i=S(this,r,o,e,t,n)),i},v.prototype.cork=function(){var e=this._writableState;e.corked++},v.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||M(this,e))},v.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||F(this,r,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("4362"),n("c8ba"))},dcc3:function(e,t,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),s=n("d44e"),a=n("3f8c"),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),s(e,u,!1,!0),a[u]=l,e}},de95:function(e){e.exports=JSON.parse('"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"')},df75:function(e,t,n){"use strict";var r=n("ca84"),i=n("7839");e.exports=Object.keys||function(e){return r(e,i)}},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,r="/"===s.charAt(0))}return t=n(i(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===o(e,-1);return e=n(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&s&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),a=s,l=0;l<s;l++)if(i[l]!==o[l]){a=l;break}var c=[];for(l=a;l<i.length;l++)c.push("..");return c=c.concat(o.slice(a)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},df95:function(e,t,n){"use strict";var r=n("ade3");n("d9e2"),n("13d5");function i(){this.__data__=[],this.size=0}var o=i;function s(e,t){return e===t||e!==e&&t!==t}var a=s;function l(e,t){var n=e.length;while(n--)if(a(e[n][0],t))return n;return-1}var c=l,u=Array.prototype,h=u.splice;function d(e){var t=this.__data__,n=c(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():h.call(t,n,1),--this.size,!0}var f=d;function p(e){var t=this.__data__,n=c(t,e);return n<0?void 0:t[n][1]}var m=p;function g(e){return c(this.__data__,e)>-1}var b=g;function y(e,t){var n=this.__data__,r=c(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var v=y;function x(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}x.prototype.clear=o,x.prototype["delete"]=f,x.prototype.get=m,x.prototype.has=b,x.prototype.set=v;var w=x;function k(){this.__data__=new w,this.size=0}var S=k;function C(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}var T=C;function z(e){return this.__data__.get(e)}var A=z;function O(e){return this.__data__.has(e)}var E=O,M=n("644b"),N=M["a"].Symbol,R=N,L=Object.prototype,D=L.hasOwnProperty,F=L.toString,j=R?R.toStringTag:void 0;function I(e){var t=D.call(e,j),n=e[j];try{e[j]=void 0;var r=!0}catch(o){}var i=F.call(e);return r&&(t?e[j]=n:delete e[j]),i}var B=I,_=Object.prototype,q=_.toString;function P(e){return q.call(e)}var U=P,H="[object Null]",W="[object Undefined]",V=R?R.toStringTag:void 0;function G(e){return null==e?void 0===e?W:H:V&&V in Object(e)?B(e):U(e)}var K=G;function X(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Y=X,Z="[object AsyncFunction]",J="[object Function]",Q="[object GeneratorFunction]",$="[object Proxy]";function ee(e){if(!Y(e))return!1;var t=K(e);return t==J||t==Q||t==Z||t==$}var te=ee,ne=M["a"]["__core-js_shared__"],re=ne,ie=function(){var e=/[^.]+$/.exec(re&&re.keys&&re.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function oe(e){return!!ie&&ie in e}var se=oe,ae=Function.prototype,le=ae.toString;function ce(e){if(null!=e){try{return le.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var ue=ce,he=/[\\^$.*+?()[\]{}|]/g,de=/^\[object .+?Constructor\]$/,fe=Function.prototype,pe=Object.prototype,me=fe.toString,ge=pe.hasOwnProperty,be=RegExp("^"+me.call(ge).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ye(e){if(!Y(e)||se(e))return!1;var t=te(e)?be:de;return t.test(ue(e))}var ve=ye;function xe(e,t){return null==e?void 0:e[t]}var we=xe;function ke(e,t){var n=we(e,t);return ve(n)?n:void 0}var Se=ke,Ce=Se(M["a"],"Map"),Te=Ce,ze=Se(Object,"create"),Ae=ze;function Oe(){this.__data__=Ae?Ae(null):{},this.size=0}var Ee=Oe;function Me(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Ne=Me,Re="__lodash_hash_undefined__",Le=Object.prototype,De=Le.hasOwnProperty;function Fe(e){var t=this.__data__;if(Ae){var n=t[e];return n===Re?void 0:n}return De.call(t,e)?t[e]:void 0}var je=Fe,Ie=Object.prototype,Be=Ie.hasOwnProperty;function _e(e){var t=this.__data__;return Ae?void 0!==t[e]:Be.call(t,e)}var qe=_e,Pe="__lodash_hash_undefined__";function Ue(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ae&&void 0===t?Pe:t,this}var He=Ue;function We(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}We.prototype.clear=Ee,We.prototype["delete"]=Ne,We.prototype.get=je,We.prototype.has=qe,We.prototype.set=He;var Ve=We;function Ge(){this.size=0,this.__data__={hash:new Ve,map:new(Te||w),string:new Ve}}var Ke=Ge;function Xe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var Ye=Xe;function Ze(e,t){var n=e.__data__;return Ye(t)?n["string"==typeof t?"string":"hash"]:n.map}var Je=Ze;function Qe(e){var t=Je(this,e)["delete"](e);return this.size-=t?1:0,t}var $e=Qe;function et(e){return Je(this,e).get(e)}var tt=et;function nt(e){return Je(this,e).has(e)}var rt=nt;function it(e,t){var n=Je(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var ot=it;function st(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}st.prototype.clear=Ke,st.prototype["delete"]=$e,st.prototype.get=tt,st.prototype.has=rt,st.prototype.set=ot;var at=st,lt=200;function ct(e,t){var n=this.__data__;if(n instanceof w){var r=n.__data__;if(!Te||r.length<lt-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new at(r)}return n.set(e,t),this.size=n.size,this}var ut=ct;function ht(e){var t=this.__data__=new w(e);this.size=t.size}ht.prototype.clear=S,ht.prototype["delete"]=T,ht.prototype.get=A,ht.prototype.has=E,ht.prototype.set=ut;var dt=ht,ft=function(){try{var e=Se(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),pt=ft;function mt(e,t,n){"__proto__"==t&&pt?pt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var gt=mt;function bt(e,t,n){(void 0!==n&&!a(e[t],n)||void 0===n&&!(t in e))&>(e,t,n)}var yt=bt;function vt(e){return function(t,n,r){var i=-1,o=Object(t),s=r(t),a=s.length;while(a--){var l=s[e?a:++i];if(!1===n(o[l],l,o))break}return t}}var xt=vt,wt=xt(),kt=wt,St=n("1af0"),Ct=M["a"].Uint8Array,Tt=Ct;function zt(e){var t=new e.constructor(e.byteLength);return new Tt(t).set(new Tt(e)),t}var At=zt;function Ot(e,t){var n=t?At(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Et=Ot;function Mt(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++n<r)t[n]=e[n];return t}var Nt=Mt,Rt=Object.create,Lt=function(){function e(){}return function(t){if(!Y(t))return{};if(Rt)return Rt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Dt=Lt;function Ft(e,t){return function(n){return e(t(n))}}var jt=Ft,It=jt(Object.getPrototypeOf,Object),Bt=It,_t=Object.prototype;function qt(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||_t;return e===n}var Pt=qt;function Ut(e){return"function"!=typeof e.constructor||Pt(e)?{}:Dt(Bt(e))}var Ht=Ut;function Wt(e){return null!=e&&"object"==typeof e}var Vt=Wt,Gt="[object Arguments]";function Kt(e){return Vt(e)&&K(e)==Gt}var Xt=Kt,Yt=Object.prototype,Zt=Yt.hasOwnProperty,Jt=Yt.propertyIsEnumerable,Qt=Xt(function(){return arguments}())?Xt:function(e){return Vt(e)&&Zt.call(e,"callee")&&!Jt.call(e,"callee")},$t=Qt,en=Array.isArray,tn=en,nn=9007199254740991;function rn(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=nn}var on=rn;function sn(e){return null!=e&&on(e.length)&&!te(e)}var an=sn;function ln(e){return Vt(e)&&an(e)}var cn=ln,un=n("5b88"),hn="[object Object]",dn=Function.prototype,fn=Object.prototype,pn=dn.toString,mn=fn.hasOwnProperty,gn=pn.call(Object);function bn(e){if(!Vt(e)||K(e)!=hn)return!1;var t=Bt(e);if(null===t)return!0;var n=mn.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&pn.call(n)==gn}var yn=bn,vn="[object Arguments]",xn="[object Array]",wn="[object Boolean]",kn="[object Date]",Sn="[object Error]",Cn="[object Function]",Tn="[object Map]",zn="[object Number]",An="[object Object]",On="[object RegExp]",En="[object Set]",Mn="[object String]",Nn="[object WeakMap]",Rn="[object ArrayBuffer]",Ln="[object DataView]",Dn="[object Float32Array]",Fn="[object Float64Array]",jn="[object Int8Array]",In="[object Int16Array]",Bn="[object Int32Array]",_n="[object Uint8Array]",qn="[object Uint8ClampedArray]",Pn="[object Uint16Array]",Un="[object Uint32Array]",Hn={};function Wn(e){return Vt(e)&&on(e.length)&&!!Hn[K(e)]}Hn[Dn]=Hn[Fn]=Hn[jn]=Hn[In]=Hn[Bn]=Hn[_n]=Hn[qn]=Hn[Pn]=Hn[Un]=!0,Hn[vn]=Hn[xn]=Hn[Rn]=Hn[wn]=Hn[Ln]=Hn[kn]=Hn[Sn]=Hn[Cn]=Hn[Tn]=Hn[zn]=Hn[An]=Hn[On]=Hn[En]=Hn[Mn]=Hn[Nn]=!1;var Vn=Wn;function Gn(e){return function(t){return e(t)}}var Kn=Gn,Xn=n("7dd8"),Yn=Xn["a"]&&Xn["a"].isTypedArray,Zn=Yn?Kn(Yn):Vn,Jn=Zn;function Qn(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var $n=Qn,er=Object.prototype,tr=er.hasOwnProperty;function nr(e,t,n){var r=e[t];tr.call(e,t)&&a(r,n)&&(void 0!==n||t in e)||gt(e,t,n)}var rr=nr;function ir(e,t,n,r){var i=!n;n||(n={});var o=-1,s=t.length;while(++o<s){var a=t[o],l=r?r(n[a],e[a],a,n,e):void 0;void 0===l&&(l=e[a]),i?gt(n,a,l):rr(n,a,l)}return n}var or=ir;function sr(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}var ar=sr,lr=9007199254740991,cr=/^(?:0|[1-9]\d*)$/;function ur(e,t){var n=typeof e;return t=null==t?lr:t,!!t&&("number"==n||"symbol"!=n&&cr.test(e))&&e>-1&&e%1==0&&e<t}var hr=ur,dr=Object.prototype,fr=dr.hasOwnProperty;function pr(e,t){var n=tn(e),r=!n&&$t(e),i=!n&&!r&&Object(un["a"])(e),o=!n&&!r&&!i&&Jn(e),s=n||r||i||o,a=s?ar(e.length,String):[],l=a.length;for(var c in e)!t&&!fr.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||hr(c,l))||a.push(c);return a}var mr=pr;function gr(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var br=gr,yr=Object.prototype,vr=yr.hasOwnProperty;function xr(e){if(!Y(e))return br(e);var t=Pt(e),n=[];for(var r in e)("constructor"!=r||!t&&vr.call(e,r))&&n.push(r);return n}var wr=xr;function kr(e){return an(e)?mr(e,!0):wr(e)}var Sr=kr;function Cr(e){return or(e,Sr(e))}var Tr=Cr;function zr(e,t,n,r,i,o,s){var a=$n(e,n),l=$n(t,n),c=s.get(l);if(c)yt(e,n,c);else{var u=o?o(a,l,n+"",e,t,s):void 0,h=void 0===u;if(h){var d=tn(l),f=!d&&Object(un["a"])(l),p=!d&&!f&&Jn(l);u=l,d||f||p?tn(a)?u=a:cn(a)?u=Nt(a):f?(h=!1,u=Object(St["a"])(l,!0)):p?(h=!1,u=Et(l,!0)):u=[]:yn(l)||$t(l)?(u=a,$t(a)?u=Tr(a):Y(a)&&!te(a)||(u=Ht(l))):h=!1}h&&(s.set(l,u),i(u,l,r,o,s),s["delete"](l)),yt(e,n,u)}}var Ar=zr;function Or(e,t,n,r,i){e!==t&&kt(t,(function(o,s){if(i||(i=new dt),Y(o))Ar(e,t,s,n,Or,r,i);else{var a=r?r($n(e,s),o,s+"",e,t,i):void 0;void 0===a&&(a=o),yt(e,s,a)}}),Sr)}var Er=Or;function Mr(e){return e}var Nr=Mr;function Rr(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Lr=Rr,Dr=Math.max;function Fr(e,t,n){return t=Dr(void 0===t?e.length-1:t,0),function(){var r=arguments,i=-1,o=Dr(r.length-t,0),s=Array(o);while(++i<o)s[i]=r[t+i];i=-1;var a=Array(t+1);while(++i<t)a[i]=r[i];return a[t]=n(s),Lr(e,this,a)}}var jr=Fr;function Ir(e){return function(){return e}}var Br=Ir,_r=pt?function(e,t){return pt(e,"toString",{configurable:!0,enumerable:!1,value:Br(t),writable:!0})}:Nr,qr=_r,Pr=800,Ur=16,Hr=Date.now;function Wr(e){var t=0,n=0;return function(){var r=Hr(),i=Ur-(r-n);if(n=r,i>0){if(++t>=Pr)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Vr=Wr,Gr=Vr(qr),Kr=Gr;function Xr(e,t){return Kr(jr(e,t,Nr),e+"")}var Yr=Xr;function Zr(e,t,n){if(!Y(n))return!1;var r=typeof t;return!!("number"==r?an(n)&&hr(t,n.length):"string"==r&&t in n)&&a(n[t],e)}var Jr=Zr;function Qr(e){return Yr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(i--,o):void 0,s&&Jr(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);while(++r<i){var a=n[r];a&&e(t,a,r,o)}return t}))}var $r=Qr,ei=$r((function(e,t,n){Er(e,t,n)})),ti=ei,ni=n("f5f0"),ri=n("e2b2"),ii=n.n(ri);n("14d9"),n("5b81");function oi(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}var si=oi,ai=jt(Object.keys,Object),li=ai,ci=Object.prototype,ui=ci.hasOwnProperty;function hi(e){if(!Pt(e))return li(e);var t=[];for(var n in Object(e))ui.call(e,n)&&"constructor"!=n&&t.push(n);return t}var di=hi;function fi(e){return an(e)?mr(e):di(e)}var pi=fi;function mi(e,t){return e&&or(t,pi(t),e)}var gi=mi;function bi(e,t){return e&&or(t,Sr(t),e)}var yi=bi;function vi(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}var xi=vi;function wi(){return[]}var ki=wi,Si=Object.prototype,Ci=Si.propertyIsEnumerable,Ti=Object.getOwnPropertySymbols,zi=Ti?function(e){return null==e?[]:(e=Object(e),xi(Ti(e),(function(t){return Ci.call(e,t)})))}:ki,Ai=zi;function Oi(e,t){return or(e,Ai(e),t)}var Ei=Oi;function Mi(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}var Ni=Mi,Ri=Object.getOwnPropertySymbols,Li=Ri?function(e){var t=[];while(e)Ni(t,Ai(e)),e=Bt(e);return t}:ki,Di=Li;function Fi(e,t){return or(e,Di(e),t)}var ji=Fi;function Ii(e,t,n){var r=t(e);return tn(e)?r:Ni(r,n(e))}var Bi=Ii;function _i(e){return Bi(e,pi,Ai)}var qi=_i;function Pi(e){return Bi(e,Sr,Di)}var Ui=Pi,Hi=Se(M["a"],"DataView"),Wi=Hi,Vi=Se(M["a"],"Promise"),Gi=Vi,Ki=Se(M["a"],"Set"),Xi=Ki,Yi=Se(M["a"],"WeakMap"),Zi=Yi,Ji="[object Map]",Qi="[object Object]",$i="[object Promise]",eo="[object Set]",to="[object WeakMap]",no="[object DataView]",ro=ue(Wi),io=ue(Te),oo=ue(Gi),so=ue(Xi),ao=ue(Zi),lo=K;(Wi&&lo(new Wi(new ArrayBuffer(1)))!=no||Te&&lo(new Te)!=Ji||Gi&&lo(Gi.resolve())!=$i||Xi&&lo(new Xi)!=eo||Zi&&lo(new Zi)!=to)&&(lo=function(e){var t=K(e),n=t==Qi?e.constructor:void 0,r=n?ue(n):"";if(r)switch(r){case ro:return no;case io:return Ji;case oo:return $i;case so:return eo;case ao:return to}return t});var co=lo,uo=Object.prototype,ho=uo.hasOwnProperty;function fo(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ho.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var po=fo;function mo(e,t){var n=t?At(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var go=mo,bo=/\w*$/;function yo(e){var t=new e.constructor(e.source,bo.exec(e));return t.lastIndex=e.lastIndex,t}var vo=yo,xo=R?R.prototype:void 0,wo=xo?xo.valueOf:void 0;function ko(e){return wo?Object(wo.call(e)):{}}var So=ko,Co="[object Boolean]",To="[object Date]",zo="[object Map]",Ao="[object Number]",Oo="[object RegExp]",Eo="[object Set]",Mo="[object String]",No="[object Symbol]",Ro="[object ArrayBuffer]",Lo="[object DataView]",Do="[object Float32Array]",Fo="[object Float64Array]",jo="[object Int8Array]",Io="[object Int16Array]",Bo="[object Int32Array]",_o="[object Uint8Array]",qo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Uo="[object Uint32Array]";function Ho(e,t,n){var r=e.constructor;switch(t){case Ro:return At(e);case Co:case To:return new r(+e);case Lo:return go(e,n);case Do:case Fo:case jo:case Io:case Bo:case _o:case qo:case Po:case Uo:return Et(e,n);case zo:return new r;case Ao:case Mo:return new r(e);case Oo:return vo(e);case Eo:return new r;case No:return So(e)}}var Wo=Ho,Vo="[object Map]";function Go(e){return Vt(e)&&co(e)==Vo}var Ko=Go,Xo=Xn["a"]&&Xn["a"].isMap,Yo=Xo?Kn(Xo):Ko,Zo=Yo,Jo="[object Set]";function Qo(e){return Vt(e)&&co(e)==Jo}var $o=Qo,es=Xn["a"]&&Xn["a"].isSet,ts=es?Kn(es):$o,ns=ts,rs=1,is=2,os=4,ss="[object Arguments]",as="[object Array]",ls="[object Boolean]",cs="[object Date]",us="[object Error]",hs="[object Function]",ds="[object GeneratorFunction]",fs="[object Map]",ps="[object Number]",ms="[object Object]",gs="[object RegExp]",bs="[object Set]",ys="[object String]",vs="[object Symbol]",xs="[object WeakMap]",ws="[object ArrayBuffer]",ks="[object DataView]",Ss="[object Float32Array]",Cs="[object Float64Array]",Ts="[object Int8Array]",zs="[object Int16Array]",As="[object Int32Array]",Os="[object Uint8Array]",Es="[object Uint8ClampedArray]",Ms="[object Uint16Array]",Ns="[object Uint32Array]",Rs={};function Ls(e,t,n,r,i,o){var s,a=t&rs,l=t&is,c=t&os;if(n&&(s=i?n(e,r,i,o):n(e)),void 0!==s)return s;if(!Y(e))return e;var u=tn(e);if(u){if(s=po(e),!a)return Nt(e,s)}else{var h=co(e),d=h==hs||h==ds;if(Object(un["a"])(e))return Object(St["a"])(e,a);if(h==ms||h==ss||d&&!i){if(s=l||d?{}:Ht(e),!a)return l?ji(e,yi(s,e)):Ei(e,gi(s,e))}else{if(!Rs[h])return i?e:{};s=Wo(e,h,a)}}o||(o=new dt);var f=o.get(e);if(f)return f;o.set(e,s),ns(e)?e.forEach((function(r){s.add(Ls(r,t,n,r,e,o))})):Zo(e)&&e.forEach((function(r,i){s.set(i,Ls(r,t,n,i,e,o))}));var p=c?l?Ui:qi:l?Sr:pi,m=u?void 0:p(e);return si(m||e,(function(r,i){m&&(i=r,r=e[i]),rr(s,i,Ls(r,t,n,i,e,o))})),s}Rs[ss]=Rs[as]=Rs[ws]=Rs[ks]=Rs[ls]=Rs[cs]=Rs[Ss]=Rs[Cs]=Rs[Ts]=Rs[zs]=Rs[As]=Rs[fs]=Rs[ps]=Rs[ms]=Rs[gs]=Rs[bs]=Rs[ys]=Rs[vs]=Rs[Os]=Rs[Es]=Rs[Ms]=Rs[Ns]=!0,Rs[us]=Rs[hs]=Rs[xs]=!1;var Ds=Ls,Fs=1,js=4;function Is(e){return Ds(e,Fs|js)}var Bs=Is,_s="__lodash_hash_undefined__";function qs(e){return this.__data__.set(e,_s),this}var Ps=qs;function Us(e){return this.__data__.has(e)}var Hs=Us;function Ws(e){var t=-1,n=null==e?0:e.length;this.__data__=new at;while(++t<n)this.add(e[t])}Ws.prototype.add=Ws.prototype.push=Ps,Ws.prototype.has=Hs;var Vs=Ws;function Gs(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var Ks=Gs;function Xs(e,t){return e.has(t)}var Ys=Xs,Zs=1,Js=2;function Qs(e,t,n,r,i,o){var s=n&Zs,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var h=-1,d=!0,f=n&Js?new Vs:void 0;o.set(e,t),o.set(t,e);while(++h<a){var p=e[h],m=t[h];if(r)var g=s?r(m,p,h,t,e,o):r(p,m,h,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!Ks(t,(function(e,t){if(!Ys(f,t)&&(p===e||i(p,e,n,r,o)))return f.push(t)}))){d=!1;break}}else if(p!==m&&!i(p,m,n,r,o)){d=!1;break}}return o["delete"](e),o["delete"](t),d}var $s=Qs;function ea(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}var ta=ea;function na(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var ra=na,ia=1,oa=2,sa="[object Boolean]",aa="[object Date]",la="[object Error]",ca="[object Map]",ua="[object Number]",ha="[object RegExp]",da="[object Set]",fa="[object String]",pa="[object Symbol]",ma="[object ArrayBuffer]",ga="[object DataView]",ba=R?R.prototype:void 0,ya=ba?ba.valueOf:void 0;function va(e,t,n,r,i,o,s){switch(n){case ga:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ma:return!(e.byteLength!=t.byteLength||!o(new Tt(e),new Tt(t)));case sa:case aa:case ua:return a(+e,+t);case la:return e.name==t.name&&e.message==t.message;case ha:case fa:return e==t+"";case ca:var l=ta;case da:var c=r&ia;if(l||(l=ra),e.size!=t.size&&!c)return!1;var u=s.get(e);if(u)return u==t;r|=oa,s.set(e,t);var h=$s(l(e),l(t),r,i,o,s);return s["delete"](e),h;case pa:if(ya)return ya.call(e)==ya.call(t)}return!1}var xa=va,wa=1,ka=Object.prototype,Sa=ka.hasOwnProperty;function Ca(e,t,n,r,i,o){var s=n&wa,a=qi(e),l=a.length,c=qi(t),u=c.length;if(l!=u&&!s)return!1;var h=l;while(h--){var d=a[h];if(!(s?d in t:Sa.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);var g=s;while(++h<l){d=a[h];var b=e[d],y=t[d];if(r)var v=s?r(y,b,d,t,e,o):r(b,y,d,e,t,o);if(!(void 0===v?b===y||i(b,y,n,r,o):v)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(m=!1)}return o["delete"](e),o["delete"](t),m}var Ta=Ca,za=1,Aa="[object Arguments]",Oa="[object Array]",Ea="[object Object]",Ma=Object.prototype,Na=Ma.hasOwnProperty;function Ra(e,t,n,r,i,o){var s=tn(e),a=tn(t),l=s?Oa:co(e),c=a?Oa:co(t);l=l==Aa?Ea:l,c=c==Aa?Ea:c;var u=l==Ea,h=c==Ea,d=l==c;if(d&&Object(un["a"])(e)){if(!Object(un["a"])(t))return!1;s=!0,u=!1}if(d&&!u)return o||(o=new dt),s||Jn(e)?$s(e,t,n,r,i,o):xa(e,t,l,n,r,i,o);if(!(n&za)){var f=u&&Na.call(e,"__wrapped__"),p=h&&Na.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,g=p?t.value():t;return o||(o=new dt),i(m,g,n,r,o)}}return!!d&&(o||(o=new dt),Ta(e,t,n,r,i,o))}var La=Ra;function Da(e,t,n,r,i){return e===t||(null==e||null==t||!Vt(e)&&!Vt(t)?e!==e&&t!==t:La(e,t,n,r,Da,i))}var Fa=Da;function ja(e,t){return Fa(e,t)}var Ia=ja;class Ba extends ni["EmbedBlot"]{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}Ba.blotName="break",Ba.tagName="BR";var _a=Ba;class qa extends ni["TextBlot"]{}const Pa={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ua(e){return e.replace(/[&<>"']/g,e=>Pa[e])}var Ha;class Wa extends ni["InlineBlot"]{static compare(e,t){const n=Wa.order.indexOf(e),r=Wa.order.indexOf(t);return n>=0||r>=0?n-r:e===t?0:e<t?-1:1}formatAt(e,t,n,r){if(Wa.compare(this.statics.blotName,n)<0&&this.scroll.query(n,ni["Scope"].BLOT)){const i=this.isolate(e,t);r&&i.wrap(n,r)}else super.formatAt(e,t,n,r)}optimize(e){if(super.optimize(e),this.parent instanceof Wa&&Wa.compare(this.statics.blotName,this.parent.statics.blotName)>0){const e=this.parent.isolate(this.offset(),this.length());this.moveChildren(e),e.wrap(this)}}}Ha=Wa,Object(r["a"])(Wa,"allowedChildren",[Ha,_a,ni["EmbedBlot"],qa]),Object(r["a"])(Wa,"order",["cursor","inline","link","underline","strike","italic","bold","script","code"]);var Va=Wa;const Ga=1;class Ka extends ni["BlockBlot"]{constructor(...e){super(...e),Object(r["a"])(this,"cache",{})}delta(){return null==this.cache.delta&&(this.cache.delta=Ya(this)),this.cache.delta}deleteAt(e,t){super.deleteAt(e,t),this.cache={}}formatAt(e,t,n,r){t<=0||(this.scroll.query(n,ni["Scope"].BLOCK)?e+t===this.length()&&this.format(n,r):super.formatAt(e,Math.min(t,this.length()-e-1),n,r),this.cache={})}insertAt(e,t,n){if(null!=n)return super.insertAt(e,t,n),void(this.cache={});if(0===t.length)return;const r=t.split("\n"),i=r.shift();i.length>0&&(e<this.length()-1||null==this.children.tail?super.insertAt(Math.min(e,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});let o=this;r.reduce((e,t)=>(o=o.split(e,!0),o.insertAt(0,t),t.length),e+i.length)}insertBefore(e,t){const{head:n}=this.children;super.insertBefore(e,t),n instanceof _a&&n.remove(),this.cache={}}length(){return null==this.cache.length&&(this.cache.length=super.length()+Ga),this.cache.length}moveChildren(e,t){super.moveChildren(e,t),this.cache={}}optimize(e){super.optimize(e),this.cache={}}path(e){return super.path(e,!0)}removeChild(e){super.removeChild(e),this.cache={}}split(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&(0===e||e>=this.length()-Ga)){const t=this.clone();return 0===e?(this.parent.insertBefore(t,this),this):(this.parent.insertBefore(t,this.next),t)}const n=super.split(e,t);return this.cache={},n}}Ka.blotName="block",Ka.tagName="P",Ka.defaultChild=_a,Ka.allowedChildren=[_a,Va,ni["EmbedBlot"],qa];class Xa extends ni["EmbedBlot"]{attach(){super.attach(),this.attributes=new ni["AttributorStore"](this.domNode)}delta(){return(new ii.a).insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,ni["Scope"].BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}formatAt(e,t,n,r){this.format(n,r)}insertAt(e,t,n){if(null!=n)return void super.insertAt(e,t,n);const r=t.split("\n"),i=r.pop(),o=r.map(e=>{const t=this.scroll.create(Ka.blotName);return t.insertAt(0,e),t}),s=this.split(e);o.forEach(e=>{this.parent.insertBefore(e,s)}),i&&this.parent.insertBefore(this.scroll.create("text",i),s)}}function Ya(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.descendants(ni["LeafBlot"]).reduce((e,n)=>0===n.length()?e:e.insert(n.value(),Za(n,{},t)),new ii.a).insert("\n",Za(e))}function Za(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return null==e?t:("formats"in e&&"function"===typeof e.formats&&(t={...t,...e.formats()},n&&delete t["code-token"]),null==e.parent||"scroll"===e.parent.statics.blotName||e.parent.statics.scope!==e.statics.scope?t:Za(e.parent,t,n))}Xa.scope=ni["Scope"].BLOCK_BLOT;class Ja extends ni["EmbedBlot"]{static value(){}constructor(e,t,n){super(e,t),this.selection=n,this.textNode=document.createTextNode(Ja.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){null!=this.parent&&this.parent.removeChild(this)}format(e,t){if(0!==this.savedLength)return void super.format(e,t);let n=this,r=0;while(null!=n&&n.statics.scope!==ni["Scope"].BLOCK_BLOT)r+=n.offset(n.parent),n=n.parent;null!=n&&(this.savedLength=Ja.CONTENTS.length,n.optimize(),n.formatAt(r,Ja.CONTENTS.length,e,t),this.savedLength=0)}index(e,t){return e===this.textNode?0:super.index(e,t)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){if(this.selection.composing||null==this.parent)return null;const e=this.selection.getNativeRange();while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);const t=this.prev instanceof qa?this.prev:null,n=t?t.length():0,r=this.next instanceof qa?this.next:null,i=r?r.text:"",{textNode:o}=this,s=o.data.split(Ja.CONTENTS).join("");let a;if(o.data=Ja.CONTENTS,t)a=t,(s||r)&&(t.insertAt(t.length(),s+i),r&&r.remove());else if(r)a=r,r.insertAt(0,s);else{const e=document.createTextNode(s);a=this.scroll.create(e),this.parent.insertBefore(a,this)}if(this.remove(),e){const i=(e,i)=>t&&e===t.domNode?i:e===o?n+i-1:r&&e===r.domNode?n+s.length+i:null,l=i(e.start.node,e.start.offset),c=i(e.end.node,e.end.offset);if(null!==l&&null!==c)return{startNode:a.domNode,startOffset:l,endNode:a.domNode,endOffset:c}}return null}update(e,t){if(e.some(e=>"characterData"===e.type&&e.target===this.textNode)){const e=this.restore();e&&(t.range=e)}}optimize(e){super.optimize(e);let{parent:t}=this;while(t){if("A"===t.domNode.tagName){this.savedLength=Ja.CONTENTS.length,t.isolate(this.offset(t),this.length()).unwrap(),this.savedLength=0;break}t=t.parent}}value(){return""}}Object(r["a"])(Ja,"blotName","cursor"),Object(r["a"])(Ja,"className","ql-cursor"),Object(r["a"])(Ja,"tagName","span"),Object(r["a"])(Ja,"CONTENTS","\ufeff");var Qa=Ja,$a=n("fb43"),el=new WeakMap;const tl=["error","warn","log","info"];let nl="warn";function rl(e){if(nl&&tl.indexOf(e)<=tl.indexOf(nl)){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console[e](...n)}}function il(e){return tl.reduce((t,n)=>(t[n]=rl.bind(console,n,e),t),{})}il.level=e=>{nl=e},rl.level=il.level;var ol=il;const sl=ol("quill:events"),al=["selectionchange","mousedown","mouseup","click"];al.forEach(e=>{document.addEventListener(e,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.from(document.querySelectorAll(".ql-container")).forEach(e=>{const n=el.get(e);n&&n.emitter&&n.emitter.handleDOM(...t)})}))});class ll extends $a["EventEmitter"]{constructor(){super(),this.domListeners={},this.on("error",sl.error)}emit(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return sl.log.call(sl,...t),super.emit(...t)}handleDOM(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.domListeners[e.type]||[]).forEach(t=>{let{node:r,handler:i}=t;(e.target===r||r.contains(e.target))&&i(e,...n)})}listenDOM(e,t,n){this.domListeners[e]||(this.domListeners[e]=[]),this.domListeners[e].push({node:t,handler:n})}}Object(r["a"])(ll,"events",{EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"}),Object(r["a"])(ll,"sources",{API:"api",SILENT:"silent",USER:"user"});var cl=ll;const ul=ol("quill:selection");class hl{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.index=e,this.length=t}}class dl{constructor(e,t){this.emitter=t,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new hl(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,()=>{this.mouseDown||this.composing||setTimeout(this.update.bind(this,cl.sources.USER),1)}),this.emitter.on(cl.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;const e=this.getNativeRange();null!=e&&e.start.node!==this.cursor.textNode&&this.emitter.once(cl.events.SCROLL_UPDATE,(t,n)=>{try{this.root.contains(e.start.node)&&this.root.contains(e.end.node)&&this.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset);const r=n.some(e=>"characterData"===e.type||"childList"===e.type||"attributes"===e.type&&e.target===this.root);this.update(r?cl.sources.SILENT:t)}catch(r){}})}),this.emitter.on(cl.events.SCROLL_OPTIMIZE,(e,t)=>{if(t.range){const{startNode:e,startOffset:n,endNode:r,endOffset:i}=t.range;this.setNativeRange(e,n,r,i),this.update(cl.sources.SILENT)}}),this.update(cl.sources.SILENT)}handleComposition(){this.emitter.on(cl.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(cl.events.COMPOSITION_END,()=>{if(this.composing=!1,this.cursor.parent){const e=this.cursor.restore();if(!e)return;setTimeout(()=>{this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}handleDragging(){this.emitter.listenDOM("mousedown",document.body,()=>{this.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,()=>{this.mouseDown=!1,this.update(cl.sources.USER)})}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(e,t){this.scroll.update();const n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!this.scroll.query(e,ni["Scope"].BLOCK)){if(n.start.node!==this.cursor.textNode){const e=this.scroll.find(n.start.node,!1);if(null==e)return;if(e instanceof ni["LeafBlot"]){const t=e.split(n.start.offset);e.parent.insertBefore(this.cursor,t)}else e.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this.scroll.length();let r;e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;let[i,o]=this.scroll.leaf(e);if(null==i)return null;if(t>0&&o===i.length()){const[t]=this.scroll.leaf(e+1);if(t){const[n]=this.scroll.line(e),[r]=this.scroll.line(e+1);n===r&&(i=t,o=0)}}[r,o]=i.position(o,!0);const s=document.createRange();if(t>0)return s.setStart(r,o),[i,o]=this.scroll.leaf(e+t),null==i?null:([r,o]=i.position(o,!0),s.setEnd(r,o),s.getBoundingClientRect());let a,l="left";if(r instanceof Text){if(!r.data.length)return null;o<r.data.length?(s.setStart(r,o),s.setEnd(r,o+1)):(s.setStart(r,o-1),s.setEnd(r,o),l="right"),a=s.getBoundingClientRect()}else{if(!(i.domNode instanceof Element))return null;a=i.domNode.getBoundingClientRect(),o>0&&(l="right")}return{bottom:a.top+a.height,height:a.height,left:a[l],right:a[l],top:a.top,width:0}}getNativeRange(){const e=document.getSelection();if(null==e||e.rangeCount<=0)return null;const t=e.getRangeAt(0);if(null==t)return null;const n=this.normalizeNative(t);return ul.info("getNativeRange",n),n}getRange(){const e=this.scroll.domNode;if("isConnected"in e&&!e.isConnected)return[null,null];const t=this.getNativeRange();if(null==t)return[null,null];const n=this.normalizedToRange(t);return[n,t]}hasFocus(){return document.activeElement===this.root||null!=document.activeElement&&fl(this.root,document.activeElement)}normalizedToRange(e){const t=[[e.start.node,e.start.offset]];e.native.collapsed||t.push([e.end.node,e.end.offset]);const n=t.map(e=>{const[t,n]=e,r=this.scroll.find(t,!0),i=r.offset(this.scroll);return 0===n?i:r instanceof ni["LeafBlot"]?i+r.index(t,n):i+r.length()}),r=Math.min(Math.max(...n),this.scroll.length()-1),i=Math.min(r,...n);return new hl(i,r-i)}normalizeNative(e){if(!fl(this.root,e.startContainer)||!e.collapsed&&!fl(this.root,e.endContainer))return null;const t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach(e=>{let{node:t,offset:n}=e;while(!(t instanceof Text)&&t.childNodes.length>0)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length>0?t.childNodes.length:t.childNodes.length+1}e.node=t,e.offset=n}),t}rangeToNative(e){const t=this.scroll.length(),n=(e,n)=>{e=Math.min(t-1,e);const[r,i]=this.scroll.leaf(e);return r?r.position(i,n):[null,-1]};return[...n(e.index,!1),...n(e.index+e.length,!0)]}setNativeRange(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(ul.info("setNativeRange",e,t,n,r),null!=e&&(null==this.root.parentNode||null==e.parentNode||null==n.parentNode))return;const o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus({preventScroll:!0});const{native:s}=this.getNativeRange()||{};if(null==s||i||e!==s.startContainer||t!==s.startOffset||n!==s.endContainer||r!==s.endOffset){e instanceof Element&&"BR"===e.tagName&&(t=Array.from(e.parentNode.childNodes).indexOf(e),e=e.parentNode),n instanceof Element&&"BR"===n.tagName&&(r=Array.from(n.parentNode.childNodes).indexOf(n),n=n.parentNode);const i=document.createRange();i.setStart(e,t),i.setEnd(n,r),o.removeAllRanges(),o.addRange(i)}}else o.removeAllRanges(),this.root.blur()}setRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:cl.sources.API;if("string"===typeof t&&(n=t,t=!1),ul.info("setRange",e),null!=e){const n=this.rangeToNative(e);this.setNativeRange(...n,t)}else this.setNativeRange(null);this.update(n)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cl.sources.USER;const t=this.lastRange,[n,r]=this.getRange();if(this.lastRange=n,this.lastNative=r,null!=this.lastRange&&(this.savedRange=this.lastRange),!Ia(t,this.lastRange)){if(!this.composing&&null!=r&&r.native.collapsed&&r.start.node!==this.cursor.textNode){const e=this.cursor.restore();e&&this.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}const n=[cl.events.SELECTION_CHANGE,Bs(this.lastRange),Bs(t),e];this.emitter.emit(cl.events.EDITOR_CHANGE,...n),e!==cl.sources.SILENT&&this.emitter.emit(...n)}}}function fl(e,t){try{t.parentNode}catch(n){return!1}return e.contains(t)}var pl=dl;const ml=/^[ -~]*$/;class gl{constructor(e){this.scroll=e,this.delta=this.getDelta()}applyDelta(e){this.scroll.update();let t=this.scroll.length();this.scroll.batchStart();const n=wl(e),r=new ii.a,i=Sl(n.ops.slice());return i.reduce((e,n)=>{const i=ri["Op"].length(n);let o=n.attributes||{},s=!1,a=!1;if(null!=n.insert){if(r.retain(i),"string"===typeof n.insert){const r=n.insert;a=!r.endsWith("\n")&&(t<=e||!!this.scroll.descendant(Xa,e)[0]),this.scroll.insertAt(e,r);const[i,s]=this.scroll.line(e);let l=ti({},Za(i));if(i instanceof Ka){const[e]=i.descendant(ni["LeafBlot"],s);e&&(l=ti(l,Za(e)))}o=ri["AttributeMap"].diff(l,o)||{}}else if("object"===typeof n.insert){const r=Object.keys(n.insert)[0];if(null==r)return e;const i=null!=this.scroll.query(r,ni["Scope"].INLINE);if(i)(t<=e||this.scroll.descendant(Xa,e)[0])&&(a=!0);else if(e>0){const[t,n]=this.scroll.descendant(ni["LeafBlot"],e-1);if(t instanceof qa){const e=t.value();"\n"!==e[n]&&(s=!0)}else t instanceof ni["EmbedBlot"]&&t.statics.scope===ni["Scope"].INLINE_BLOT&&(s=!0)}if(this.scroll.insertAt(e,r,n.insert[r]),i){const[t]=this.scroll.descendant(ni["LeafBlot"],e);if(t){const e=ti({},Za(t));o=ri["AttributeMap"].diff(e,o)||{}}}}t+=i}else if(r.push(n),null!==n.retain&&"object"===typeof n.retain){const t=Object.keys(n.retain)[0];if(null==t)return e;this.scroll.updateEmbedAt(e,t,n.retain[t])}Object.keys(o).forEach(t=>{this.scroll.formatAt(e,i,t,o[t])});const l=s?1:0,c=a?1:0;return t+=l+c,r.retain(l),r.delete(c),e+i+l+c},0),r.reduce((e,t)=>"number"===typeof t.delete?(this.scroll.deleteAt(e,t.delete),e):e+ri["Op"].length(t),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(n)}deleteText(e,t){return this.scroll.deleteAt(e,t),this.update((new ii.a).retain(e).delete(t))}formatLine(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scroll.update(),Object.keys(n).forEach(r=>{this.scroll.lines(e,Math.max(t,1)).forEach(e=>{e.format(r,n[r])})}),this.scroll.optimize();const r=(new ii.a).retain(e).retain(t,Bs(n));return this.update(r)}formatText(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.keys(n).forEach(r=>{this.scroll.formatAt(e,t,r,n[r])});const r=(new ii.a).retain(e).retain(t,Bs(n));return this.update(r)}getContents(e,t){return this.delta.slice(e,e+t)}getDelta(){return this.scroll.lines().reduce((e,t)=>e.concat(t.delta()),new ii.a)}getFormat(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach(e=>{const[t]=e;t instanceof Ka?n.push(t):t instanceof ni["LeafBlot"]&&r.push(t)}):(n=this.scroll.lines(e,t),r=this.scroll.descendants(ni["LeafBlot"],e,t));const[i,o]=[n,r].map(e=>{const t=e.shift();if(null==t)return{};let n=Za(t);while(Object.keys(n).length>0){const t=e.shift();if(null==t)return n;n=vl(Za(t),n)}return n});return{...i,...o}}getHTML(e,t){const[n,r]=this.scroll.line(e);if(n){const i=n.length(),o=n.length()>=r+t;return!o||0===r&&t===i?yl(this.scroll,e,t,!0):yl(n,r,t,!0)}return""}getText(e,t){return this.getContents(e,t).filter(e=>"string"===typeof e.insert).map(e=>e.insert).join("")}insertContents(e,t){const n=wl(t),r=(new ii.a).retain(e).concat(n);return this.scroll.insertContents(e,n),this.update(r)}insertEmbed(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new ii.a).retain(e).insert({[t]:n}))}insertText(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(n).forEach(r=>{this.scroll.formatAt(e,t.length,r,n[r])}),this.update((new ii.a).retain(e).insert(t,Bs(n)))}isBlank(){if(0===this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;const e=this.scroll.children.head;if((null===e||void 0===e?void 0:e.statics.blotName)!==Ka.blotName)return!1;const t=e;return!(t.children.length>1)&&t.children.head instanceof _a}removeFormat(e,t){const n=this.getText(e,t),[r,i]=this.scroll.line(e+t);let o=0,s=new ii.a;null!=r&&(o=r.length()-i,s=r.delta().slice(i,i+o-1).insert("\n"));const a=this.getContents(e,t+o),l=a.diff((new ii.a).insert(n).concat(s)),c=(new ii.a).retain(e).concat(l);return this.applyDelta(c)}update(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(ml)&&this.scroll.find(t[0].target)){const i=this.scroll.find(t[0].target),o=Za(i),s=i.offset(this.scroll),a=t[0].oldValue.replace(Qa.CONTENTS,""),l=(new ii.a).insert(a),c=(new ii.a).insert(i.value()),u=n&&{oldRange:kl(n.oldRange,-s),newRange:kl(n.newRange,-s)},h=(new ii.a).retain(s).concat(l.diff(c,u));e=h.reduce((e,t)=>t.insert?e.insert(t.insert,o):e.push(t),new ii.a),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&Ia(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}function bl(e,t,n){if(0===e.length){const[e]=xl(n.pop());return t<=0?`</li></${e}>`:`</li></${e}>${bl([],t-1,n)}`}const[{child:r,offset:i,length:o,indent:s,type:a},...l]=e,[c,u]=xl(a);if(s>t)return n.push(a),s===t+1?`<${c}><li${u}>${yl(r,i,o)}${bl(l,s,n)}`:`<${c}><li>${bl(e,t+1,n)}`;const h=n[n.length-1];if(s===t&&a===h)return`</li><li${u}>${yl(r,i,o)}${bl(l,s,n)}`;const[d]=xl(n.pop());return`</li></${d}>${bl(e,t-1,n)}`}function yl(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("html"in e&&"function"===typeof e.html)return e.html(t,n);if(e instanceof qa){const r=Ua(e.value().slice(t,t+n));return r.replaceAll(" "," ")}if(e instanceof ni["ParentBlot"]){if("list-container"===e.statics.blotName){const r=[];return e.children.forEachAt(t,n,(e,t,n)=>{const i="formats"in e&&"function"===typeof e.formats?e.formats():{};r.push({child:e,offset:t,length:n,indent:i.indent||0,type:i.list})}),bl(r,-1,[])}const i=[];if(e.children.forEachAt(t,n,(e,t,n)=>{i.push(yl(e,t,n))}),r||"list"===e.statics.blotName)return i.join("");const{outerHTML:o,innerHTML:s}=e.domNode,[a,l]=o.split(`>${s}<`);return"<table"===a?`<table style="border: 1px solid #000;">${i.join("")}<${l}`:`${a}>${i.join("")}<${l}`}return e.domNode instanceof Element?e.domNode.outerHTML:""}function vl(e,t){return Object.keys(t).reduce((n,r)=>{if(null==e[r])return n;const i=t[r];return i===e[r]?n[r]=i:Array.isArray(i)?i.indexOf(e[r])<0?n[r]=i.concat([e[r]]):n[r]=i:n[r]=[i,e[r]],n},{})}function xl(e){const t="ordered"===e?"ol":"ul";switch(e){case"checked":return[t,' data-list="checked"'];case"unchecked":return[t,' data-list="unchecked"'];default:return[t,""]}}function wl(e){return e.reduce((e,t)=>{if("string"===typeof t.insert){const n=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(n,t.attributes)}return e.push(t)},new ii.a)}function kl(e,t){let{index:n,length:r}=e;return new hl(n+t,r)}function Sl(e){const t=[];return e.forEach(e=>{if("string"===typeof e.insert){const n=e.insert.split("\n");n.forEach((n,r)=>{r&&t.push({insert:"\n",attributes:e.attributes}),n&&t.push({insert:n,attributes:e.attributes})})}else t.push(e)}),t}var Cl=gl;class Tl{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.quill=e,this.options=t}}Object(r["a"])(Tl,"DEFAULTS",{});var zl=Tl;const Al="\ufeff";class Ol extends ni["EmbedBlot"]{constructor(e,t){super(e,t),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach(e=>{this.contentNode.appendChild(e)}),this.leftGuard=document.createTextNode(Al),this.rightGuard=document.createTextNode(Al),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(e,t){return e===this.leftGuard?0:e===this.rightGuard?1:super.index(e,t)}restore(e){let t,n=null;const r=e.data.split(Al).join("");if(e===this.leftGuard)if(this.prev instanceof qa){const e=this.prev.length();this.prev.insertAt(e,r),n={startNode:this.prev.domNode,startOffset:e+r.length}}else t=document.createTextNode(r),this.parent.insertBefore(this.scroll.create(t),this),n={startNode:t,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof qa?(this.next.insertAt(0,r),n={startNode:this.next.domNode,startOffset:r.length}):(t=document.createTextNode(r),this.parent.insertBefore(this.scroll.create(t),this.next),n={startNode:t,startOffset:r.length}));return e.data=Al,n}update(e,t){e.forEach(e=>{if("characterData"===e.type&&(e.target===this.leftGuard||e.target===this.rightGuard)){const n=this.restore(e.target);n&&(t.range=n)}})}}var El=Ol;class Ml{constructor(e,t){Object(r["a"])(this,"isComposing",!1),this.scroll=e,this.emitter=t,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",e=>{this.isComposing||this.handleCompositionStart(e)}),this.scroll.domNode.addEventListener("compositionend",e=>{this.isComposing&&queueMicrotask(()=>{this.handleCompositionEnd(e)})})}handleCompositionStart(e){const t=e.target instanceof Node?this.scroll.find(e.target,!0):null;!t||t instanceof El||(this.emitter.emit(cl.events.COMPOSITION_BEFORE_START,e),this.scroll.batchStart(),this.emitter.emit(cl.events.COMPOSITION_START,e),this.isComposing=!0)}handleCompositionEnd(e){this.emitter.emit(cl.events.COMPOSITION_BEFORE_END,e),this.scroll.batchEnd(),this.emitter.emit(cl.events.COMPOSITION_END,e),this.isComposing=!1}}var Nl,Rl=Ml;class Ll{constructor(e,t){Object(r["a"])(this,"modules",{}),this.quill=e,this.options=t}init(){Object.keys(this.options.modules).forEach(e=>{null==this.modules[e]&&this.addModule(e)})}addModule(e){const t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}Nl=Ll,Object(r["a"])(Ll,"DEFAULTS",{modules:{}}),Object(r["a"])(Ll,"themes",{default:Nl});var Dl=Ll;const Fl=e=>e.parentElement||e.getRootNode().host||null,jl=e=>{const t=e.getBoundingClientRect(),n="offsetWidth"in e&&Math.abs(t.width)/e.offsetWidth||1,r="offsetHeight"in e&&Math.abs(t.height)/e.offsetHeight||1;return{top:t.top,right:t.left+e.clientWidth*n,bottom:t.top+e.clientHeight*r,left:t.left}},Il=e=>{const t=parseInt(e,10);return Number.isNaN(t)?0:t},Bl=(e,t,n,r,i,o)=>e<n&&t>r?0:e<n?-(n-e+i):t>r?t-e>r-n?e+i-n:t-r+o:0,_l=(e,t)=>{const n=e.ownerDocument;let r=t,i=e;while(i){var o,s,a,l;const e=i===n.body,t=e?{top:0,right:null!==(o=null===(s=window.visualViewport)||void 0===s?void 0:s.width)&&void 0!==o?o:n.documentElement.clientWidth,bottom:null!==(a=null===(l=window.visualViewport)||void 0===l?void 0:l.height)&&void 0!==a?a:n.documentElement.clientHeight,left:0}:jl(i),u=getComputedStyle(i),h=Bl(r.left,r.right,t.left,t.right,Il(u.scrollPaddingLeft),Il(u.scrollPaddingRight)),d=Bl(r.top,r.bottom,t.top,t.bottom,Il(u.scrollPaddingTop),Il(u.scrollPaddingBottom));if(h||d)if(e){var c;null===(c=n.defaultView)||void 0===c||c.scrollBy(h,d)}else{const{scrollLeft:e,scrollTop:t}=i;d&&(i.scrollTop+=d),h&&(i.scrollLeft+=h);const n=i.scrollLeft-e,o=i.scrollTop-t;r={left:r.left-n,top:r.top-o,right:r.right-n,bottom:r.bottom-o}}i=e||"fixed"===u.position?null:Fl(i)}};var ql=_l;const Pl=100,Ul=["block","break","cursor","inline","scroll","text"],Hl=(e,t,n)=>{const r=new ni["Registry"];return Ul.forEach(e=>{const n=t.query(e);n&&r.register(n)}),e.forEach(e=>{let i=t.query(e);i||n.error(`Cannot register "${e}" specified in "formats" config. Are you sure it was registered?`);let o=0;while(i){var s;if(r.register(i),i="blotName"in i&&null!==(s=i.requiredContainer)&&void 0!==s?s:null,o+=1,o>Pl){n.error(`Cycle detected in registering blot requiredContainer: "${e}"`);break}}}),r};var Wl=Hl;const Vl=ol("quill"),Gl=new ni["Registry"];ni["ParentBlot"].uiClass="ql-ui";class Kl{static debug(e){!0===e&&(e="log"),ol.level(e)}static find(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return el.get(e)||Gl.find(e,t)}static import(e){return null==this.imports[e]&&Vl.error(`Cannot import ${e}. Are you sure it was registered?`),this.imports[e]}static register(){if("string"!==typeof(arguments.length<=0?void 0:arguments[0])){const e=arguments.length<=0?void 0:arguments[0],t=!!(arguments.length<=1?void 0:arguments[1]),n="attrName"in e?e.attrName:e.blotName;"string"===typeof n?this.register("formats/"+n,e,t):Object.keys(e).forEach(n=>{this.register(n,e[n],t)})}else{const e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=!!(arguments.length<=2?void 0:arguments[2]);null==this.imports[e]||n||Vl.warn(`Overwriting ${e} with`,t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&t&&"boolean"!==typeof t&&"abstract"!==t.blotName&&Gl.register(t),"function"===typeof t.register&&t.register(Gl)}}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.options=Jl(e,t),this.container=this.options.container,null==this.container)return void Vl.error("Invalid Quill container",e);this.options.debug&&Kl.debug(this.options.debug);const n=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",el.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new cl;const r=ni["ScrollBlot"].blotName,i=this.options.registry.query(r);if(!i||!("blotName"in i))throw new Error(`Cannot initialize Quill without "${r}" blot`);if(this.scroll=new i(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new Cl(this.scroll),this.selection=new pl(this.scroll,this.emitter),this.composition=new Rl(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(cl.events.EDITOR_CHANGE,e=>{e===cl.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())}),this.emitter.on(cl.events.SCROLL_UPDATE,(e,t)=>{const n=this.selection.lastRange,[r]=this.selection.getRange(),i=n&&r?{oldRange:n,newRange:r}:void 0;Ql.call(this,()=>this.editor.update(null,t,i),e)}),this.emitter.on(cl.events.SCROLL_EMBED_UPDATE,(e,t)=>{const n=this.selection.lastRange,[r]=this.selection.getRange(),i=n&&r?{oldRange:n,newRange:r}:void 0;Ql.call(this,()=>{const n=(new ii.a).retain(e.offset(this)).retain({[e.statics.blotName]:t});return this.editor.update(n,[],i)},Kl.sources.USER)}),n){const e=this.clipboard.convert({html:n+"<p><br></p>",text:"\n"});this.setContents(e)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){const t=e;e=document.createElement("div"),e.classList.add(t)}return this.container.insertBefore(e,t),e}blur(){this.selection.setRange(null)}deleteText(e,t,n){return[e,t,,n]=$l(e,t,n),Ql.call(this,()=>this.editor.deleteText(e,t),n,e,-1*t)}disable(){this.enable(!1)}editReadOnly(e){this.allowReadOnlyEdits=!0;const t=e();return this.allowReadOnlyEdits=!1,t}enable(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}focus(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.selection.focus(),e.preventScroll||this.scrollSelectionIntoView()}format(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:cl.sources.API;return Ql.call(this,()=>{const n=this.getSelection(!0);let r=new ii.a;if(null==n)return r;if(this.scroll.query(e,ni["Scope"].BLOCK))r=this.editor.formatLine(n.index,n.length,{[e]:t});else{if(0===n.length)return this.selection.format(e,t),r;r=this.editor.formatText(n.index,n.length,{[e]:t})}return this.setSelection(n,cl.sources.SILENT),r},n)}formatLine(e,t,n,r,i){let o;return[e,t,o,i]=$l(e,t,n,r,i),Ql.call(this,()=>this.editor.formatLine(e,t,o),i,e,0)}formatText(e,t,n,r,i){let o;return[e,t,o,i]=$l(e,t,n,r,i),Ql.call(this,()=>this.editor.formatText(e,t,o),i,e,0)}getBounds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=null;if(n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length),!n)return null;const r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}getContents(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e;return[e,t]=$l(e,t),this.editor.getContents(e,t)}getFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}getIndex(e){return e.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(e){return this.scroll.leaf(e)}getLine(e){return this.scroll.line(e)}getLines(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}getModule(e){return this.theme.modules[e]}getSelection(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;var n;"number"===typeof e&&(t=null!==(n=t)&&void 0!==n?n:this.getLength()-e);return[e,t]=$l(e,t),this.editor.getHTML(e,t)}getText(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;var n;"number"===typeof e&&(t=null!==(n=t)&&void 0!==n?n:this.getLength()-e);return[e,t]=$l(e,t),this.editor.getText(e,t)}hasFocus(){return this.selection.hasFocus()}insertEmbed(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Kl.sources.API;return Ql.call(this,()=>this.editor.insertEmbed(e,t,n),r,e)}insertText(e,t,n,r,i){let o;return[e,,o,i]=$l(e,0,n,r,i),Ql.call(this,()=>this.editor.insertText(e,t,o),i,e,t.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(e,t,n){return[e,t,,n]=$l(e,t,n),Ql.call(this,()=>this.editor.removeFormat(e,t),n,e)}scrollRectIntoView(e){ql(this.root,e)}scrollIntoView(){console.warn("Quill#scrollIntoView() has been deprecated and will be removed in the near future. Please use Quill#scrollSelectionIntoView() instead."),this.scrollSelectionIntoView()}scrollSelectionIntoView(){const e=this.selection.lastRange,t=e&&this.selection.getBounds(e.index,e.length);t&&this.scrollRectIntoView(t)}setContents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cl.sources.API;return Ql.call(this,()=>{e=new ii.a(e);const t=this.getLength(),n=this.editor.deleteText(0,t),r=this.editor.insertContents(0,e),i=this.editor.deleteText(this.getLength()-1,1);return n.compose(r).compose(i)},t)}setSelection(e,t,n){null==e?this.selection.setRange(null,t||Kl.sources.API):([e,t,,n]=$l(e,t,n),this.selection.setRange(new hl(Math.max(0,e),t),n),n!==cl.sources.SILENT&&this.scrollSelectionIntoView())}setText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cl.sources.API;const n=(new ii.a).insert(e);return this.setContents(n,t)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cl.sources.USER;const t=this.scroll.update(e);return this.selection.update(e),t}updateContents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cl.sources.API;return Ql.call(this,()=>(e=new ii.a(e),this.editor.applyDelta(e)),t,!0)}}function Xl(e){return"string"===typeof e?document.querySelector(e):e}function Yl(e){return Object.entries(null!==e&&void 0!==e?e:{}).reduce((e,t)=>{let[n,r]=t;return{...e,[n]:!0===r?{}:r}},{})}function Zl(e){return Object.fromEntries(Object.entries(e).filter(e=>void 0!==e[1]))}function Jl(e,t){const n=Xl(e);if(!n)throw new Error("Invalid Quill container");const r=!t.theme||t.theme===Kl.DEFAULTS.theme,i=r?Dl:Kl.import("themes/"+t.theme);if(!i)throw new Error(`Invalid theme ${t.theme}. Did you register it?`);const{modules:o,...s}=Kl.DEFAULTS,{modules:a,...l}=i.DEFAULTS;let c=Yl(t.modules);null!=c&&c.toolbar&&c.toolbar.constructor!==Object&&(c={...c,toolbar:{container:c.toolbar}});const u=ti({},Yl(o),Yl(a),c),h={...s,...Zl(l),...Zl(t)};let d=t.registry;return d?t.formats&&Vl.warn('Ignoring "formats" option because "registry" is specified'):d=t.formats?Wl(t.formats,h.registry,Vl):h.registry,{...h,registry:d,container:n,theme:i,modules:Object.entries(u).reduce((e,t)=>{let[n,r]=t;if(!r)return e;const i=Kl.import("modules/"+n);return null==i?(Vl.error(`Cannot load ${n} module. Are you sure you registered it?`),e):{...e,[n]:ti({},i.DEFAULTS||{},r)}},{}),bounds:Xl(h.bounds)}}function Ql(e,t,n,r){if(!this.isEnabled()&&t===cl.sources.USER&&!this.allowReadOnlyEdits)return new ii.a;let i=null==n?null:this.getSelection();const o=this.editor.delta,s=e();if(null!=i&&(!0===n&&(n=i.index),null==r?i=ec(i,s,t):0!==r&&(i=ec(i,n,r,t)),this.setSelection(i,cl.sources.SILENT)),s.length()>0){const e=[cl.events.TEXT_CHANGE,s,o,t];this.emitter.emit(cl.events.EDITOR_CHANGE,...e),t!==cl.sources.SILENT&&this.emitter.emit(...e)}return s}function $l(e,t,n,r,i){let o={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(i=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(i=r,r=n,n=t,t=0),"object"===typeof n?(o=n,i=r):"string"===typeof n&&(null!=r?o[n]=r:i=n),i=i||cl.sources.API,[e,t,o,i]}function ec(e,t,n,r){const i="number"===typeof n?n:0;if(null==e)return null;let o,s;return t&&"function"===typeof t.transformPosition?[o,s]=[e.index,e.index+e.length].map(e=>t.transformPosition(e,r!==cl.sources.USER)):[o,s]=[e.index,e.index+e.length].map(e=>e<t||e===t&&r===cl.sources.USER?e:i>=0?e+i:Math.max(t,e+i)),new hl(o,s-o)}Object(r["a"])(Kl,"DEFAULTS",{bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:Gl,theme:"default"}),Object(r["a"])(Kl,"events",cl.events),Object(r["a"])(Kl,"sources",cl.sources),Object(r["a"])(Kl,"version","2.0.3"),Object(r["a"])(Kl,"imports",{delta:ii.a,parchment:ni,"core/module":zl,"core/theme":Dl});class tc extends ni["ContainerBlot"]{}var nc=tc;function rc(e){return e instanceof Ka||e instanceof Xa}function ic(e){return"function"===typeof e.updateContent}class oc extends ni["ScrollBlot"]{constructor(e,t,n){let{emitter:r}=n;super(e,t),this.emitter=r,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",e=>this.handleDragStart(e))}batchStart(){Array.isArray(this.batch)||(this.batch=[])}batchEnd(){if(!this.batch)return;const e=this.batch;this.batch=!1,this.update(e)}emitMount(e){this.emitter.emit(cl.events.SCROLL_BLOT_MOUNT,e)}emitUnmount(e){this.emitter.emit(cl.events.SCROLL_BLOT_UNMOUNT,e)}emitEmbedUpdate(e,t){this.emitter.emit(cl.events.SCROLL_EMBED_UPDATE,e,t)}deleteAt(e,t){const[n,r]=this.line(e),[i]=this.line(e+t);if(super.deleteAt(e,t),null!=i&&n!==i&&r>0){if(n instanceof Xa||i instanceof Xa)return void this.optimize();const e=i.children.head instanceof _a?null:i.children.head;n.moveChildren(i,e),n.remove()}this.optimize()}enable(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e?"true":"false")}formatAt(e,t,n,r){super.formatAt(e,t,n,r),this.optimize()}insertAt(e,t,n){if(e>=this.length())if(null==n||null==this.scroll.query(t,ni["Scope"].BLOCK)){const e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e),null==n&&t.endsWith("\n")?e.insertAt(0,t.slice(0,-1),n):e.insertAt(0,t,n)}else{const e=this.scroll.create(t,n);this.appendChild(e)}else super.insertAt(e,t,n);this.optimize()}insertBefore(e,t){if(e.statics.scope===ni["Scope"].INLINE_BLOT){const n=this.scroll.create(this.statics.defaultChild.blotName);n.appendChild(e),super.insertBefore(n,t)}else super.insertBefore(e,t)}insertContents(e,t){const n=this.deltaToRenderBlocks(t.concat((new ii.a).insert("\n"))),r=n.pop();if(null==r)return;this.batchStart();const i=n.shift();if(i){const t="block"===i.type&&(0===i.delta.length()||!this.descendant(Xa,e)[0]&&e<this.length()),n="block"===i.type?i.delta:(new ii.a).insert({[i.key]:i.value});sc(this,e,n);const r="block"===i.type?1:0,o=e+n.length()+r;t&&this.insertAt(o-1,"\n");const s=Za(this.line(e)[0]),a=ri["AttributeMap"].diff(s,i.attributes)||{};Object.keys(a).forEach(e=>{this.formatAt(o-1,1,e,a[e])}),e=o}let[o,s]=this.children.find(e);if(n.length&&(o&&(o=o.split(s),s=0),n.forEach(e=>{if("block"===e.type){const t=this.createBlock(e.attributes,o||void 0);sc(t,0,e.delta)}else{const t=this.create(e.key,e.value);this.insertBefore(t,o||void 0),Object.keys(e.attributes).forEach(n=>{t.format(n,e.attributes[n])})}})),"block"===r.type&&r.delta.length()){const e=o?o.offset(o.scroll)+s:this.length();sc(this,e,r.delta)}this.batchEnd(),this.optimize()}isEnabled(){return"true"===this.domNode.getAttribute("contenteditable")}leaf(e){const t=this.path(e).pop();if(!t)return[null,-1];const[n,r]=t;return n instanceof ni["LeafBlot"]?[n,r]:[null,-1]}line(e){return e===this.length()?this.line(e-1):this.descendant(rc,e)}lines(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;const n=(e,t,r)=>{let i=[],o=r;return e.children.forEachAt(t,r,(e,t,r)=>{rc(e)?i.push(e):e instanceof ni["ContainerBlot"]&&(i=i.concat(n(e,t,o))),o-=r}),i};return n(this,e,t)}optimize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.batch||(super.optimize(e,t),e.length>0&&this.emitter.emit(cl.events.SCROLL_OPTIMIZE,e,t))}path(e){return super.path(e).slice(1)}remove(){}update(e){if(this.batch)return void(Array.isArray(e)&&(this.batch=this.batch.concat(e)));let t=cl.sources.USER;"string"===typeof e&&(t=e),Array.isArray(e)||(e=this.observer.takeRecords()),e=e.filter(e=>{let{target:t}=e;const n=this.find(t,!0);return n&&!ic(n)}),e.length>0&&this.emitter.emit(cl.events.SCROLL_BEFORE_UPDATE,t,e),super.update(e.concat([])),e.length>0&&this.emitter.emit(cl.events.SCROLL_UPDATE,t,e)}updateEmbedAt(e,t,n){const[r]=this.descendant(e=>e instanceof Xa,e);r&&r.statics.blotName===t&&ic(r)&&r.updateContent(n)}handleDragStart(e){e.preventDefault()}deltaToRenderBlocks(e){const t=[];let n=new ii.a;return e.forEach(e=>{const r=null===e||void 0===e?void 0:e.insert;if(r)if("string"===typeof r){const i=r.split("\n");i.slice(0,-1).forEach(r=>{var i;n.insert(r,e.attributes),t.push({type:"block",delta:n,attributes:null!==(i=e.attributes)&&void 0!==i?i:{}}),n=new ii.a});const o=i[i.length-1];o&&n.insert(o,e.attributes)}else{const o=Object.keys(r)[0];if(!o)return;var i;if(this.query(o,ni["Scope"].INLINE))n.push(e);else n.length()&&t.push({type:"block",delta:n,attributes:{}}),n=new ii.a,t.push({type:"blockEmbed",key:o,value:r[o],attributes:null!==(i=e.attributes)&&void 0!==i?i:{}})}}),n.length()&&t.push({type:"block",delta:n,attributes:{}}),t}createBlock(e,t){let n;const r={};Object.entries(e).forEach(e=>{let[t,i]=e;const o=null!=this.query(t,ni["Scope"].BLOCK&ni["Scope"].BLOT);o?n=t:r[t]=i});const i=this.create(n||this.statics.defaultChild.blotName,n?e[n]:void 0);this.insertBefore(i,t||void 0);const o=i.length();return Object.entries(r).forEach(e=>{let[t,n]=e;i.formatAt(0,o,t,n)}),i}}function sc(e,t,n){n.reduce((t,n)=>{const r=ri["Op"].length(n);let i=n.attributes||{};if(null!=n.insert)if("string"===typeof n.insert){const r=n.insert;e.insertAt(t,r);const[o]=e.descendant(ni["LeafBlot"],t),s=Za(o);i=ri["AttributeMap"].diff(s,i)||{}}else if("object"===typeof n.insert){const r=Object.keys(n.insert)[0];if(null==r)return t;e.insertAt(t,r,n.insert[r]);const o=null!=e.scroll.query(r,ni["Scope"].INLINE);if(o){const[n]=e.descendant(ni["LeafBlot"],t),r=Za(n);i=ri["AttributeMap"].diff(r,i)||{}}}return Object.keys(i).forEach(n=>{e.formatAt(t,r,n,i[n])}),t+r},t)}Object(r["a"])(oc,"blotName","scroll"),Object(r["a"])(oc,"className","ql-editor"),Object(r["a"])(oc,"tagName","DIV"),Object(r["a"])(oc,"defaultChild",Ka),Object(r["a"])(oc,"allowedChildren",[Ka,Xa,nc]);var ac=oc;const lc={scope:ni["Scope"].BLOCK,whitelist:["right","center","justify"]},cc=new ni["Attributor"]("align","align",lc),uc=new ni["ClassAttributor"]("align","ql-align",lc),hc=new ni["StyleAttributor"]("align","text-align",lc);class dc extends ni["StyleAttributor"]{value(e){let t=super.value(e);if(!t.startsWith("rgb("))return t;t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"");const n=t.split(",").map(e=>("00"+parseInt(e,10).toString(16)).slice(-2)).join("");return"#"+n}}const fc=new ni["ClassAttributor"]("color","ql-color",{scope:ni["Scope"].INLINE}),pc=new dc("color","color",{scope:ni["Scope"].INLINE}),mc=new ni["ClassAttributor"]("background","ql-bg",{scope:ni["Scope"].INLINE}),gc=new dc("background","background-color",{scope:ni["Scope"].INLINE});class bc extends nc{static create(e){const t=super.create(e);return t.setAttribute("spellcheck","false"),t}code(e,t){return this.children.map(e=>e.length()<=1?"":e.domNode.innerText).join("\n").slice(e,e+t)}html(e,t){return`<pre>\n${Ua(this.code(e,t))}\n</pre>`}}class yc extends Ka{static register(){Kl.register(bc)}}Object(r["a"])(yc,"TAB"," ");class vc extends Va{}vc.blotName="code",vc.tagName="CODE",yc.blotName="code-block",yc.className="ql-code-block",yc.tagName="DIV",bc.blotName="code-block-container",bc.className="ql-code-block-container",bc.tagName="DIV",bc.allowedChildren=[yc],yc.allowedChildren=[qa,_a,Qa],yc.requiredContainer=bc;const xc={scope:ni["Scope"].BLOCK,whitelist:["rtl"]},wc=new ni["Attributor"]("direction","dir",xc),kc=new ni["ClassAttributor"]("direction","ql-direction",xc),Sc=new ni["StyleAttributor"]("direction","direction",xc),Cc={scope:ni["Scope"].INLINE,whitelist:["serif","monospace"]},Tc=new ni["ClassAttributor"]("font","ql-font",Cc);class zc extends ni["StyleAttributor"]{value(e){return super.value(e).replace(/["']/g,"")}}const Ac=new zc("font","font-family",Cc),Oc=new ni["ClassAttributor"]("size","ql-size",{scope:ni["Scope"].INLINE,whitelist:["small","large","huge"]}),Ec=new ni["StyleAttributor"]("size","font-size",{scope:ni["Scope"].INLINE,whitelist:["10px","18px","32px"]}),Mc=ol("quill:keyboard"),Nc=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class Rc extends zl{static match(e,t){return!["altKey","ctrlKey","metaKey","shiftKey"].some(n=>!!t[n]!==e[n]&&null!==t[n])&&(t.key===e.key||t.key===e.which)}constructor(e,t){super(e,t),this.bindings={},Object.keys(this.options.bindings).forEach(e=>{this.options.bindings[e]&&this.addBinding(this.options.bindings[e])}),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},()=>{}),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Bc(e);if(null==r)return void Mc.warn("Attempted to add invalid keyboard binding",r);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n});const i=Array.isArray(r.key)?r.key:[r.key];i.forEach(e=>{const i={...r,key:e,...t,...n};this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)})}listen(){this.quill.root.addEventListener("keydown",e=>{if(e.defaultPrevented||e.isComposing)return;const t=229===e.keyCode&&("Enter"===e.key||"Backspace"===e.key);if(t)return;const n=(this.bindings[e.key]||[]).concat(this.bindings[e.which]||[]),r=n.filter(t=>Rc.match(e,t));if(0===r.length)return;const i=Kl.find(e.target,!0);if(i&&i.scroll!==this.quill.scroll)return;const o=this.quill.getSelection();if(null==o||!this.quill.hasFocus())return;const[s,a]=this.quill.getLine(o.index),[l,c]=this.quill.getLeaf(o.index),[u,h]=0===o.length?[l,c]:this.quill.getLeaf(o.index+o.length),d=l instanceof ni["TextBlot"]?l.value().slice(0,c):"",f=u instanceof ni["TextBlot"]?u.value().slice(h):"",p={collapsed:0===o.length,empty:0===o.length&&s.length()<=1,format:this.quill.getFormat(o),line:s,offset:a,prefix:d,suffix:f,event:e},m=r.some(e=>{if(null!=e.collapsed&&e.collapsed!==p.collapsed)return!1;if(null!=e.empty&&e.empty!==p.empty)return!1;if(null!=e.offset&&e.offset!==p.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(e=>null==p.format[e]))return!1}else if("object"===typeof e.format&&!Object.keys(e.format).every(t=>!0===e.format[t]?null!=p.format[t]:!1===e.format[t]?null==p.format[t]:Ia(e.format[t],p.format[t])))return!1;return!(null!=e.prefix&&!e.prefix.test(p.prefix))&&(!(null!=e.suffix&&!e.suffix.test(p.suffix))&&!0!==e.handler.call(this,o,p,e))});m&&e.preventDefault()})}handleBackspace(e,t){const n=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;if(0===e.index||this.quill.getLength()<=1)return;let r={};const[i]=this.quill.getLine(e.index);let o=(new ii.a).retain(e.index-n).delete(n);if(0===t.offset){const[t]=this.quill.getLine(e.index-1);if(t){const n="block"===t.statics.blotName&&t.length()<=1;if(!n){const t=i.formats(),n=this.quill.getFormat(e.index-1,1);if(r=ri["AttributeMap"].diff(t,n)||{},Object.keys(r).length>0){const t=(new ii.a).retain(e.index+i.length()-2).retain(1,r);o=o.compose(t)}}}}this.quill.updateContents(o,Kl.sources.USER),this.quill.focus()}handleDelete(e,t){const n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(e.index>=this.quill.getLength()-n)return;let r={};const[i]=this.quill.getLine(e.index);let o=(new ii.a).retain(e.index).delete(n);if(t.offset>=i.length()-1){const[t]=this.quill.getLine(e.index+1);if(t){const n=i.formats(),s=this.quill.getFormat(e.index,1);r=ri["AttributeMap"].diff(n,s)||{},Object.keys(r).length>0&&(o=o.retain(t.length()-1).retain(1,r))}}this.quill.updateContents(o,Kl.sources.USER),this.quill.focus()}handleDeleteRange(e){_c({range:e,quill:this.quill}),this.quill.focus()}handleEnter(e,t){const n=Object.keys(t.format).reduce((e,n)=>(this.quill.scroll.query(n,ni["Scope"].BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e),{}),r=(new ii.a).retain(e.index).delete(e.length).insert("\n",n);this.quill.updateContents(r,Kl.sources.USER),this.quill.setSelection(e.index+1,Kl.sources.SILENT),this.quill.focus()}}const Lc={bindings:{bold:jc("bold"),italic:jc("italic"),underline:jc("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(e,t){return!(!t.collapsed||0===t.offset)||(this.quill.format("indent","+1",Kl.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(e,t){return!(!t.collapsed||0===t.offset)||(this.quill.format("indent","-1",Kl.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(e,t){null!=t.format.indent?this.quill.format("indent","-1",Kl.sources.USER):null!=t.format.list&&this.quill.format("list",!1,Kl.sources.USER)}},"indent code-block":Dc(!0),"outdent code-block":Dc(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(e){this.quill.deleteText(e.index-1,1,Kl.sources.USER)}},tab:{key:"Tab",handler(e,t){if(t.format.table)return!0;this.quill.history.cutoff();const n=(new ii.a).retain(e.index).delete(e.length).insert("\t");return this.quill.updateContents(n,Kl.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,Kl.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,Kl.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(e,t){const n={list:!1};t.format.indent&&(n.indent=!1),this.quill.formatLine(e.index,e.length,n,Kl.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(e){const[t,n]=this.quill.getLine(e.index),r={...t.formats(),list:"checked"},i=(new ii.a).retain(e.index).insert("\n",r).retain(t.length()-n-1).retain(1,{list:"unchecked"});this.quill.updateContents(i,Kl.sources.USER),this.quill.setSelection(e.index+1,Kl.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(e,t){const[n,r]=this.quill.getLine(e.index),i=(new ii.a).retain(e.index).insert("\n",t.format).retain(n.length()-r-1).retain(1,{header:null});this.quill.updateContents(i,Kl.sources.USER),this.quill.setSelection(e.index+1,Kl.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(e){const t=this.quill.getModule("table");if(t){const[n,r,i,o]=t.getTable(e),s=qc(n,r,i,o);if(null==s)return;let a=n.offset();if(s<0){const t=(new ii.a).retain(a).insert("\n");this.quill.updateContents(t,Kl.sources.USER),this.quill.setSelection(e.index+1,e.length,Kl.sources.SILENT)}else if(s>0){a+=n.length();const e=(new ii.a).retain(a).insert("\n");this.quill.updateContents(e,Kl.sources.USER),this.quill.setSelection(a,Kl.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(e,t){const{event:n,line:r}=t,i=r.offset(this.quill.scroll);n.shiftKey?this.quill.setSelection(i-1,Kl.sources.USER):this.quill.setSelection(i+r.length(),Kl.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(e,t){if(null==this.quill.scroll.query("list"))return!0;const{length:n}=t.prefix,[r,i]=this.quill.getLine(e.index);if(i>n)return!0;let o;switch(t.prefix.trim()){case"[]":case"[ ]":o="unchecked";break;case"[x]":o="checked";break;case"-":case"*":o="bullet";break;default:o="ordered"}this.quill.insertText(e.index," ",Kl.sources.USER),this.quill.history.cutoff();const s=(new ii.a).retain(e.index-i).delete(n+1).retain(r.length()-2-i).retain(1,{list:o});return this.quill.updateContents(s,Kl.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,Kl.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(e){const[t,n]=this.quill.getLine(e.index);let r=2,i=t;while(null!=i&&i.length()<=1&&i.formats()["code-block"])if(i=i.prev,r-=1,r<=0){const r=(new ii.a).retain(e.index+t.length()-n-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(r,Kl.sources.USER),this.quill.setSelection(e.index-1,Kl.sources.SILENT),!1}return!0}},"embed left":Fc("ArrowLeft",!1),"embed left shift":Fc("ArrowLeft",!0),"embed right":Fc("ArrowRight",!1),"embed right shift":Fc("ArrowRight",!0),"table down":Ic(!1),"table up":Ic(!0)}};function Dc(e){return{key:"Tab",shiftKey:!e,format:{"code-block":!0},handler(t,n){let{event:r}=n;const i=this.quill.scroll.query("code-block"),{TAB:o}=i;if(0===t.length&&!r.shiftKey)return this.quill.insertText(t.index,o,Kl.sources.USER),void this.quill.setSelection(t.index+o.length,Kl.sources.SILENT);const s=0===t.length?this.quill.getLines(t.index,1):this.quill.getLines(t);let{index:a,length:l}=t;s.forEach((t,n)=>{e?(t.insertAt(0,o),0===n?a+=o.length:l+=o.length):t.domNode.textContent.startsWith(o)&&(t.deleteAt(0,o.length),0===n?a-=o.length:l-=o.length)}),this.quill.update(Kl.sources.USER),this.quill.setSelection(a,l,Kl.sources.SILENT)}}}function Fc(e,t){const n="ArrowLeft"===e?"prefix":"suffix";return{key:e,shiftKey:t,altKey:null,[n]:/^$/,handler(n){let{index:r}=n;"ArrowRight"===e&&(r+=n.length+1);const[i]=this.quill.getLeaf(r);return!(i instanceof ni["EmbedBlot"])||("ArrowLeft"===e?t?this.quill.setSelection(n.index-1,n.length+1,Kl.sources.USER):this.quill.setSelection(n.index-1,Kl.sources.USER):t?this.quill.setSelection(n.index,n.length+1,Kl.sources.USER):this.quill.setSelection(n.index+n.length+1,Kl.sources.USER),!1)}}}function jc(e){return{key:e[0],shortKey:!0,handler(t,n){this.quill.format(e,!n.format[e],Kl.sources.USER)}}}function Ic(e){return{key:e?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(t,n){const r=e?"prev":"next",i=n.line,o=i.parent[r];if(null!=o){if("table-row"===o.statics.blotName){let e=o.children.head,t=i;while(null!=t.prev)t=t.prev,e=e.next;const r=e.offset(this.quill.scroll)+Math.min(n.offset,e.length()-1);this.quill.setSelection(r,0,Kl.sources.USER)}}else{const t=i.table()[r];null!=t&&(e?this.quill.setSelection(t.offset(this.quill.scroll)+t.length()-1,0,Kl.sources.USER):this.quill.setSelection(t.offset(this.quill.scroll),0,Kl.sources.USER))}return!1}}}function Bc(e){if("string"===typeof e||"number"===typeof e)e={key:e};else{if("object"!==typeof e)return null;e=Bs(e)}return e.shortKey&&(e[Nc]=e.shortKey,delete e.shortKey),e}function _c(e){let{quill:t,range:n}=e;const r=t.getLines(n);let i={};if(r.length>1){const e=r[0].formats(),t=r[r.length-1].formats();i=ri["AttributeMap"].diff(t,e)||{}}t.deleteText(n,Kl.sources.USER),Object.keys(i).length>0&&t.formatLine(n.index,1,i,Kl.sources.USER),t.setSelection(n.index,Kl.sources.SILENT)}function qc(e,t,n,r){return null==t.prev&&null==t.next?null==n.prev&&null==n.next?0===r?-1:1:null==n.prev?-1:1:null==t.prev?-1:null==t.next?1:null}Rc.DEFAULTS=Lc;const Pc=/font-weight:\s*normal/,Uc=["P","OL","UL"],Hc=e=>e&&Uc.includes(e.tagName),Wc=e=>{Array.from(e.querySelectorAll("br")).filter(e=>Hc(e.previousElementSibling)&&Hc(e.nextElementSibling)).forEach(e=>{var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)})},Vc=e=>{Array.from(e.querySelectorAll('b[style*="font-weight"]')).filter(e=>{var t;return null===(t=e.getAttribute("style"))||void 0===t?void 0:t.match(Pc)}).forEach(t=>{var n;const r=e.createDocumentFragment();r.append(...t.childNodes),null===(n=t.parentNode)||void 0===n||n.replaceChild(r,t)})};function Gc(e){e.querySelector('[id^="docs-internal-guid-"]')&&(Vc(e),Wc(e))}const Kc=/\bmso-list:[^;]*ignore/i,Xc=/\bmso-list:[^;]*\bl(\d+)/i,Yc=/\bmso-list:[^;]*\blevel(\d+)/i,Zc=(e,t)=>{const n=e.getAttribute("style"),r=null===n||void 0===n?void 0:n.match(Xc);if(!r)return null;const i=Number(r[1]),o=null===n||void 0===n?void 0:n.match(Yc),s=o?Number(o[1]):1,a=new RegExp(`@list l${i}:level${s}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),l=t.match(a),c=l&&"bullet"===l[1]?"bullet":"ordered";return{id:i,indent:s,type:c,element:e}},Jc=e=>{const t=Array.from(e.querySelectorAll("[style*=mso-list]")),n=[],r=[];t.forEach(e=>{const t=(e.getAttribute("style")||"").match(Kc);t?n.push(e):r.push(e)}),n.forEach(e=>{var t;return null===(t=e.parentNode)||void 0===t?void 0:t.removeChild(e)});const i=e.documentElement.innerHTML,o=r.map(e=>Zc(e,i)).filter(e=>e);while(o.length){var s;const e=[];let t=o.shift();while(t){var a;e.push(t),t=o.length&&(null===(a=o[0])||void 0===a?void 0:a.element)===t.element.nextElementSibling&&o[0].id===t.id?o.shift():null}const n=document.createElement("ul");e.forEach(e=>{const t=document.createElement("li");t.setAttribute("data-list",e.type),e.indent>1&&t.setAttribute("class","ql-indent-"+(e.indent-1)),t.innerHTML=e.element.innerHTML,n.appendChild(t)});const r=null===(s=e[0])||void 0===s?void 0:s.element,{parentNode:i}=null!==r&&void 0!==r?r:{};r&&(null===i||void 0===i||i.replaceChild(n,r)),e.slice(1).forEach(e=>{let{element:t}=e;null===i||void 0===i||i.removeChild(t)})}};function Qc(e){"urn:schemas-microsoft-com:office:word"===e.documentElement.getAttribute("xmlns:w")&&Jc(e)}const $c=[Qc,Gc],eu=e=>{e.documentElement&&$c.forEach(t=>{t(e)})};var tu=eu;const nu=ol("quill:clipboard"),ru=[[Node.TEXT_NODE,Tu],[Node.TEXT_NODE,ku],["br",bu],[Node.ELEMENT_NODE,ku],[Node.ELEMENT_NODE,gu],[Node.ELEMENT_NODE,mu],[Node.ELEMENT_NODE,Su],["li",xu],["ol, ul",wu],["pre",yu],["tr",Cu],["b",pu("bold")],["i",pu("italic")],["strike",pu("strike")],["style",vu]],iu=[cc,wc].reduce((e,t)=>(e[t.keyName]=t,e),{}),ou=[hc,gc,pc,Sc,Ac,Ec].reduce((e,t)=>(e[t.keyName]=t,e),{});class su extends zl{constructor(e,t){var n;super(e,t),this.quill.root.addEventListener("copy",e=>this.onCaptureCopy(e,!1)),this.quill.root.addEventListener("cut",e=>this.onCaptureCopy(e,!0)),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],ru.concat(null!==(n=this.options.matchers)&&void 0!==n?n:[]).forEach(e=>{let[t,n]=e;this.addMatcher(t,n)})}addMatcher(e,t){this.matchers.push([e,t])}convert(e){let{html:t,text:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r[yc.blotName])return(new ii.a).insert(n||"",{[yc.blotName]:r[yc.blotName]});if(!t)return(new ii.a).insert(n||"",r);const i=this.convertHTML(t);return lu(i,"\n")&&(null==i.ops[i.ops.length-1].attributes||r.table)?i.compose((new ii.a).retain(i.length()-1).delete(1)):i}normalizeHTML(e){tu(e)}convertHTML(e){const t=(new DOMParser).parseFromString(e,"text/html");this.normalizeHTML(t);const n=t.body,r=new WeakMap,[i,o]=this.prepareMatching(n,r);return fu(this.quill.scroll,n,i,o,r)}dangerouslyPasteHTML(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kl.sources.API;if("string"===typeof e){const n=this.convert({html:e,text:""});this.quill.setContents(n,t),this.quill.setSelection(0,Kl.sources.SILENT)}else{const r=this.convert({html:t,text:""});this.quill.updateContents((new ii.a).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),Kl.sources.SILENT)}}onCaptureCopy(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.defaultPrevented)return;e.preventDefault();const[i]=this.quill.selection.getRange();if(null==i)return;const{html:o,text:s}=this.onCopy(i,r);null===(t=e.clipboardData)||void 0===t||t.setData("text/plain",s),null===(n=e.clipboardData)||void 0===n||n.setData("text/html",o),r&&_c({range:i,quill:this.quill})}normalizeURIList(e){return e.split(/\r?\n/).filter(e=>"#"!==e[0]).join("\n")}onCapturePaste(e){var t,n,r;if(e.defaultPrevented||!this.quill.isEnabled())return;e.preventDefault();const i=this.quill.getSelection(!0);if(null==i)return;const o=null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text/html");let s=null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/plain");if(!o&&!s){var a;const t=null===(a=e.clipboardData)||void 0===a?void 0:a.getData("text/uri-list");t&&(s=this.normalizeURIList(t))}const l=Array.from((null===(r=e.clipboardData)||void 0===r?void 0:r.files)||[]);if(!o&&l.length>0)this.quill.uploader.upload(i,l);else{if(o&&l.length>0){var c;const e=(new DOMParser).parseFromString(o,"text/html");if(1===e.body.childElementCount&&"IMG"===(null===(c=e.body.firstElementChild)||void 0===c?void 0:c.tagName))return void this.quill.uploader.upload(i,l)}this.onPaste(i,{html:o,text:s})}}onCopy(e){const t=this.quill.getText(e),n=this.quill.getSemanticHTML(e);return{html:n,text:t}}onPaste(e,t){let{text:n,html:r}=t;const i=this.quill.getFormat(e.index),o=this.convert({text:n,html:r},i);nu.log("onPaste",o,{text:n,html:r});const s=(new ii.a).retain(e.index).delete(e.length).concat(o);this.quill.updateContents(s,Kl.sources.USER),this.quill.setSelection(s.length()-e.length,Kl.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(e,t){const n=[],r=[];return this.matchers.forEach(i=>{const[o,s]=i;switch(o){case Node.TEXT_NODE:r.push(s);break;case Node.ELEMENT_NODE:n.push(s);break;default:Array.from(e.querySelectorAll(o)).forEach(e=>{if(t.has(e)){const n=t.get(e);null===n||void 0===n||n.push(s)}else t.set(e,[s])});break}}),[n,r]}}function au(e,t,n,r){return r.query(t)?e.reduce((e,r)=>{if(!r.insert)return e;if(r.attributes&&r.attributes[t])return e.push(r);const i=n?{[t]:n}:{};return e.insert(r.insert,{...i,...r.attributes})},new ii.a):e}function lu(e,t){let n="";for(let r=e.ops.length-1;r>=0&&n.length<t.length;--r){const t=e.ops[r];if("string"!==typeof t.insert)break;n=t.insert+n}return n.slice(-1*t.length)===t}function cu(e,t){if(!(e instanceof Element))return!1;const n=t.query(e);return!(n&&n.prototype instanceof ni["EmbedBlot"])&&["address","article","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","iframe","li","main","nav","ol","output","p","pre","section","table","td","tr","ul","video"].includes(e.tagName.toLowerCase())}function uu(e,t){return e.previousElementSibling&&e.nextElementSibling&&!cu(e.previousElementSibling,t)&&!cu(e.nextElementSibling,t)}Object(r["a"])(su,"DEFAULTS",{matchers:[]});const hu=new WeakMap;function du(e){return null!=e&&(hu.has(e)||("PRE"===e.tagName?hu.set(e,!0):hu.set(e,du(e.parentNode))),hu.get(e))}function fu(e,t,n,r,i){return t.nodeType===t.TEXT_NODE?r.reduce((n,r)=>r(t,n,e),new ii.a):t.nodeType===t.ELEMENT_NODE?Array.from(t.childNodes||[]).reduce((o,s)=>{let a=fu(e,s,n,r,i);return s.nodeType===t.ELEMENT_NODE&&(a=n.reduce((t,n)=>n(s,t,e),a),a=(i.get(s)||[]).reduce((t,n)=>n(s,t,e),a)),o.concat(a)},new ii.a):new ii.a}function pu(e){return(t,n,r)=>au(n,e,!0,r)}function mu(e,t,n){const r=ni["Attributor"].keys(e),i=ni["ClassAttributor"].keys(e),o=ni["StyleAttributor"].keys(e),s={};return r.concat(i).concat(o).forEach(t=>{let r=n.query(t,ni["Scope"].ATTRIBUTE);null!=r&&(s[r.attrName]=r.value(e),s[r.attrName])||(r=iu[t],null==r||r.attrName!==t&&r.keyName!==t||(s[r.attrName]=r.value(e)||void 0),r=ou[t],null==r||r.attrName!==t&&r.keyName!==t||(r=ou[t],s[r.attrName]=r.value(e)||void 0))}),Object.entries(s).reduce((e,t)=>{let[r,i]=t;return au(e,r,i,n)},t)}function gu(e,t,n){const r=n.query(e);if(null==r)return t;if(r.prototype instanceof ni["EmbedBlot"]){const t={},i=r.value(e);if(null!=i)return t[r.blotName]=i,(new ii.a).insert(t,r.formats(e,n))}else if(r.prototype instanceof ni["BlockBlot"]&&!lu(t,"\n")&&t.insert("\n"),"blotName"in r&&"formats"in r&&"function"===typeof r.formats)return au(t,r.blotName,r.formats(e,n),n);return t}function bu(e,t){return lu(t,"\n")||t.insert("\n"),t}function yu(e,t,n){const r=n.query("code-block"),i=!r||!("formats"in r)||"function"!==typeof r.formats||r.formats(e,n);return au(t,"code-block",i,n)}function vu(){return new ii.a}function xu(e,t,n){const r=n.query(e);if(null==r||"list"!==r.blotName||!lu(t,"\n"))return t;let i=-1,o=e.parentNode;while(null!=o)["OL","UL"].includes(o.tagName)&&(i+=1),o=o.parentNode;return i<=0?t:t.reduce((e,t)=>t.insert?t.attributes&&"number"===typeof t.attributes.indent?e.push(t):e.insert(t.insert,{indent:i,...t.attributes||{}}):e,new ii.a)}function wu(e,t,n){const r=e;let i="OL"===r.tagName?"ordered":"bullet";const o=r.getAttribute("data-checked");return o&&(i="true"===o?"checked":"unchecked"),au(t,"list",i,n)}function ku(e,t,n){if(!lu(t,"\n")){if(cu(e,n)&&(e.childNodes.length>0||e instanceof HTMLParagraphElement))return t.insert("\n");if(t.length()>0&&e.nextSibling){let r=e.nextSibling;while(null!=r){if(cu(r,n))return t.insert("\n");const e=n.query(r);if(e&&e.prototype instanceof Xa)return t.insert("\n");r=r.firstChild}}}return t}function Su(e,t,n){var r;const i={},o=e.style||{};return"italic"===o.fontStyle&&(i.italic=!0),"underline"===o.textDecoration&&(i.underline=!0),"line-through"===o.textDecoration&&(i.strike=!0),(null!==(r=o.fontWeight)&&void 0!==r&&r.startsWith("bold")||parseInt(o.fontWeight,10)>=700)&&(i.bold=!0),t=Object.entries(i).reduce((e,t)=>{let[r,i]=t;return au(e,r,i,n)},t),parseFloat(o.textIndent||0)>0?(new ii.a).insert("\t").concat(t):t}function Cu(e,t,n){var r,i;const o="TABLE"===(null===(r=e.parentElement)||void 0===r?void 0:r.tagName)?e.parentElement:null===(i=e.parentElement)||void 0===i?void 0:i.parentElement;if(null!=o){const r=Array.from(o.querySelectorAll("tr")),i=r.indexOf(e)+1;return au(t,"table",i,n)}return t}function Tu(e,t,n){var r;let i=e.data;if("O:P"===(null===(r=e.parentElement)||void 0===r?void 0:r.tagName))return t.insert(i.trim());if(!du(e)){if(0===i.trim().length&&i.includes("\n")&&!uu(e,n))return t;i=i.replace(/[^\S\u00a0]/g," "),i=i.replace(/ {2,}/g," "),(null==e.previousSibling&&null!=e.parentElement&&cu(e.parentElement,n)||e.previousSibling instanceof Element&&cu(e.previousSibling,n))&&(i=i.replace(/^ /,"")),(null==e.nextSibling&&null!=e.parentElement&&cu(e.parentElement,n)||e.nextSibling instanceof Element&&cu(e.nextSibling,n))&&(i=i.replace(/ $/,"")),i=i.replaceAll(" "," ")}return t.insert(i)}class zu extends zl{constructor(e,t){super(e,t),Object(r["a"])(this,"lastRecorded",0),Object(r["a"])(this,"ignoreChange",!1),Object(r["a"])(this,"stack",{undo:[],redo:[]}),Object(r["a"])(this,"currentRange",null),this.quill.on(Kl.events.EDITOR_CHANGE,(e,t,n,r)=>{e===Kl.events.SELECTION_CHANGE?t&&r!==Kl.sources.SILENT&&(this.currentRange=t):e===Kl.events.TEXT_CHANGE&&(this.ignoreChange||(this.options.userOnly&&r!==Kl.sources.USER?this.transform(t):this.record(t,n)),this.currentRange=Mu(this.currentRange,t))}),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",e=>{"historyUndo"===e.inputType?(this.undo(),e.preventDefault()):"historyRedo"===e.inputType&&(this.redo(),e.preventDefault())})}change(e,t){if(0===this.stack[e].length)return;const n=this.stack[e].pop();if(!n)return;const r=this.quill.getContents(),i=n.delta.invert(r);this.stack[t].push({delta:i,range:Mu(n.range,i)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n.delta,Kl.sources.USER),this.ignoreChange=!1,this.restoreSelection(n)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(e,t){if(0===e.ops.length)return;this.stack.redo=[];let n=e.invert(t),r=this.currentRange;const i=Date.now();if(this.lastRecorded+this.options.delay>i&&this.stack.undo.length>0){const e=this.stack.undo.pop();e&&(n=n.compose(e.delta),r=e.range)}else this.lastRecorded=i;0!==n.length()&&(this.stack.undo.push({delta:n,range:r}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(e){Au(this.stack.undo,e),Au(this.stack.redo,e)}undo(){this.change("undo","redo")}restoreSelection(e){if(e.range)this.quill.setSelection(e.range,Kl.sources.USER);else{const t=Eu(this.quill.scroll,e.delta);this.quill.setSelection(t,Kl.sources.USER)}}}function Au(e,t){let n=t;for(let r=e.length-1;r>=0;r-=1){const t=e[r];e[r]={delta:n.transform(t.delta,!0),range:t.range&&Mu(t.range,n)},n=t.delta.transform(n),0===e[r].delta.length()&&e.splice(r,1)}}function Ou(e,t){const n=t.ops[t.ops.length-1];return null!=n&&(null!=n.insert?"string"===typeof n.insert&&n.insert.endsWith("\n"):null!=n.attributes&&Object.keys(n.attributes).some(t=>null!=e.query(t,ni["Scope"].BLOCK)))}function Eu(e,t){const n=t.reduce((e,t)=>e+(t.delete||0),0);let r=t.length()-n;return Ou(e,t)&&(r-=1),r}function Mu(e,t){if(!e)return e;const n=t.transformPosition(e.index),r=t.transformPosition(e.index+e.length);return{index:n,length:r-n}}Object(r["a"])(zu,"DEFAULTS",{delay:1e3,maxStack:100,userOnly:!1});class Nu extends zl{constructor(e,t){super(e,t),e.root.addEventListener("drop",t=>{t.preventDefault();let n=null;if(document.caretRangeFromPoint)n=document.caretRangeFromPoint(t.clientX,t.clientY);else if(document.caretPositionFromPoint){const e=document.caretPositionFromPoint(t.clientX,t.clientY);n=document.createRange(),n.setStart(e.offsetNode,e.offset),n.setEnd(e.offsetNode,e.offset)}const r=n&&e.selection.normalizeNative(n);if(r){var i;const n=e.selection.normalizedToRange(r);null!==(i=t.dataTransfer)&&void 0!==i&&i.files&&this.upload(n,t.dataTransfer.files)}})}upload(e,t){const n=[];Array.from(t).forEach(e=>{var t;e&&null!==(t=this.options.mimetypes)&&void 0!==t&&t.includes(e.type)&&n.push(e)}),n.length>0&&this.options.handler.call(this,e,n)}}Nu.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(e,t){if(!this.quill.scroll.query("image"))return;const n=t.map(e=>new Promise(t=>{const n=new FileReader;n.onload=()=>{t(n.result)},n.readAsDataURL(e)}));Promise.all(n).then(t=>{const n=t.reduce((e,t)=>e.insert({image:t}),(new ii.a).retain(e.index).delete(e.length));this.quill.updateContents(n,cl.sources.USER),this.quill.setSelection(e.index+t.length,cl.sources.SILENT)})}};var Ru=Nu;const Lu=["insertText","insertReplacementText"];class Du extends zl{constructor(e,t){super(e,t),e.root.addEventListener("beforeinput",e=>{this.handleBeforeInput(e)}),/Android/i.test(navigator.userAgent)||e.on(Kl.events.COMPOSITION_BEFORE_START,()=>{this.handleCompositionStart()})}deleteRange(e){_c({range:e,quill:this.quill})}replaceText(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===e.length)return!1;if(t){const n=this.quill.getFormat(e.index,1);this.deleteRange(e),this.quill.updateContents((new ii.a).retain(e.index).insert(t,n),Kl.sources.USER)}else this.deleteRange(e);return this.quill.setSelection(e.index+t.length,0,Kl.sources.SILENT),!0}handleBeforeInput(e){if(this.quill.composition.isComposing||e.defaultPrevented||!Lu.includes(e.inputType))return;const t=e.getTargetRanges?e.getTargetRanges()[0]:null;if(!t||!0===t.collapsed)return;const n=Fu(e);if(null==n)return;const r=this.quill.selection.normalizeNative(t),i=r?this.quill.selection.normalizedToRange(r):null;i&&this.replaceText(i,n)&&e.preventDefault()}handleCompositionStart(){const e=this.quill.getSelection();e&&this.replaceText(e)}}function Fu(e){var t;return"string"===typeof e.data?e.data:null!==(t=e.dataTransfer)&&void 0!==t&&t.types.includes("text/plain")?e.dataTransfer.getData("text/plain"):null}var ju=Du;const Iu=/Mac/i.test(navigator.platform),Bu=100,_u=e=>"ArrowLeft"===e.key||"ArrowRight"===e.key||"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||!(!Iu||"a"!==e.key||!0!==e.ctrlKey);class qu extends zl{constructor(e,t){super(e,t),Object(r["a"])(this,"isListening",!1),Object(r["a"])(this,"selectionChangeDeadline",0),this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(e,t){let{line:n,event:r}=t;if(!(n instanceof ni["ParentBlot"])||!n.uiNode)return!0;const i="rtl"===getComputedStyle(n.domNode)["direction"];return!!(i&&"ArrowRight"!==r.key||!i&&"ArrowLeft"!==r.key)||(this.quill.setSelection(e.index-1,e.length+(r.shiftKey?1:0),Kl.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",e=>{!e.defaultPrevented&&_u(e)&&this.ensureListeningToSelectionChange()})}ensureListeningToSelectionChange(){if(this.selectionChangeDeadline=Date.now()+Bu,this.isListening)return;this.isListening=!0;const e=()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()};document.addEventListener("selectionchange",e,{once:!0})}handleSelectionChange(){const e=document.getSelection();if(!e)return;const t=e.getRangeAt(0);if(!0!==t.collapsed||0!==t.startOffset)return;const n=this.quill.scroll.find(t.startContainer);if(!(n instanceof ni["ParentBlot"])||!n.uiNode)return;const r=document.createRange();r.setStartAfter(n.uiNode),r.setEndAfter(n.uiNode),e.removeAllRanges(),e.addRange(r)}}var Pu=qu;Kl.register({"blots/block":Ka,"blots/block/embed":Xa,"blots/break":_a,"blots/container":nc,"blots/cursor":Qa,"blots/embed":El,"blots/inline":Va,"blots/scroll":ac,"blots/text":qa,"modules/clipboard":su,"modules/history":zu,"modules/keyboard":Rc,"modules/uploader":Ru,"modules/input":ju,"modules/uiNode":Pu});var Uu=Kl;class Hu extends ni["ClassAttributor"]{add(e,t){let n=0;if("+1"===t||"-1"===t){const r=this.value(e)||0;n="+1"===t?r+1:r-1}else"number"===typeof t&&(n=t);return 0===n?(this.remove(e),!0):super.add(e,n.toString())}canAdd(e,t){return super.canAdd(e,t)||super.canAdd(e,parseInt(t,10))}value(e){return parseInt(super.value(e),10)||void 0}}const Wu=new Hu("indent","ql-indent",{scope:ni["Scope"].BLOCK,whitelist:[1,2,3,4,5,6,7,8]});var Vu=Wu;class Gu extends Ka{}Object(r["a"])(Gu,"blotName","blockquote"),Object(r["a"])(Gu,"tagName","blockquote");var Ku=Gu;class Xu extends Ka{static formats(e){return this.tagName.indexOf(e.tagName)+1}}Object(r["a"])(Xu,"blotName","header"),Object(r["a"])(Xu,"tagName",["H1","H2","H3","H4","H5","H6"]);var Yu=Xu;class Zu extends nc{}Zu.blotName="list-container",Zu.tagName="OL";class Ju extends Ka{static create(e){const t=super.create();return t.setAttribute("data-list",e),t}static formats(e){return e.getAttribute("data-list")||void 0}static register(){Kl.register(Zu)}constructor(e,t){super(e,t);const n=t.ownerDocument.createElement("span"),r=n=>{if(!e.isEnabled())return;const r=this.statics.formats(t,e);"checked"===r?(this.format("list","unchecked"),n.preventDefault()):"unchecked"===r&&(this.format("list","checked"),n.preventDefault())};n.addEventListener("mousedown",r),n.addEventListener("touchstart",r),this.attachUI(n)}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-list",t):super.format(e,t)}}Ju.blotName="list",Ju.tagName="LI",Zu.allowedChildren=[Ju],Ju.requiredContainer=Zu;class Qu extends Va{static create(){return super.create()}static formats(){return!0}optimize(e){super.optimize(e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}Object(r["a"])(Qu,"blotName","bold"),Object(r["a"])(Qu,"tagName",["STRONG","B"]);var $u=Qu;class eh extends $u{}Object(r["a"])(eh,"blotName","italic"),Object(r["a"])(eh,"tagName",["EM","I"]);var th=eh;class nh extends Va{static create(e){const t=super.create(e);return t.setAttribute("href",this.sanitize(e)),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t}static formats(e){return e.getAttribute("href")}static sanitize(e){return rh(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("href",this.constructor.sanitize(t)):super.format(e,t)}}function rh(e,t){const n=document.createElement("a");n.href=e;const r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}Object(r["a"])(nh,"blotName","link"),Object(r["a"])(nh,"tagName","A"),Object(r["a"])(nh,"SANITIZED_URL","about:blank"),Object(r["a"])(nh,"PROTOCOL_WHITELIST",["http","https","mailto","tel","sms"]);class ih extends Va{static create(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):super.create(e)}static formats(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}Object(r["a"])(ih,"blotName","script"),Object(r["a"])(ih,"tagName",["SUB","SUP"]);var oh=ih;class sh extends $u{}Object(r["a"])(sh,"blotName","strike"),Object(r["a"])(sh,"tagName",["S","STRIKE"]);var ah=sh;class lh extends Va{}Object(r["a"])(lh,"blotName","underline"),Object(r["a"])(lh,"tagName","U");var ch=lh;class uh extends El{static create(e){if(null==window.katex)throw new Error("Formula module requires KaTeX.");const t=super.create(e);return"string"===typeof e&&(window.katex.render(e,t,{throwOnError:!1,errorColor:"#f00"}),t.setAttribute("data-value",e)),t}static value(e){return e.getAttribute("data-value")}html(){const{formula:e}=this.value();return`<span>${e}</span>`}}Object(r["a"])(uh,"blotName","formula"),Object(r["a"])(uh,"className","ql-formula"),Object(r["a"])(uh,"tagName","SPAN");var hh=uh;const dh=["alt","height","width"];class fh extends ni["EmbedBlot"]{static create(e){const t=super.create(e);return"string"===typeof e&&t.setAttribute("src",this.sanitize(e)),t}static formats(e){return dh.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static match(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}static sanitize(e){return rh(e,["http","https","data"])?e:"//:0"}static value(e){return e.getAttribute("src")}format(e,t){dh.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}}Object(r["a"])(fh,"blotName","image"),Object(r["a"])(fh,"tagName","IMG");var ph=fh;const mh=["height","width"];class gh extends Xa{static create(e){const t=super.create(e);return t.setAttribute("frameborder","0"),t.setAttribute("allowfullscreen","true"),t.setAttribute("src",this.sanitize(e)),t}static formats(e){return mh.reduce((t,n)=>(e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t),{})}static sanitize(e){return nh.sanitize(e)}static value(e){return e.getAttribute("src")}format(e,t){mh.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):super.format(e,t)}html(){const{video:e}=this.value();return`<a href="${e}">${e}</a>`}}Object(r["a"])(gh,"blotName","video"),Object(r["a"])(gh,"className","ql-video"),Object(r["a"])(gh,"tagName","IFRAME");var bh=gh;const yh=new ni["ClassAttributor"]("code-token","hljs",{scope:ni["Scope"].INLINE});class vh extends Va{static formats(e,t){while(null!=e&&e!==t.domNode){if(e.classList&&e.classList.contains(yc.className))return super.formats(e,t);e=e.parentNode}}constructor(e,t,n){super(e,t,n),yh.add(this.domNode,n)}format(e,t){e!==vh.blotName?super.format(e,t):t?yh.add(this.domNode,t):(yh.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),yh.value(this.domNode)||this.unwrap()}}vh.blotName="code-token",vh.className="ql-token";class xh extends yc{static create(e){const t=super.create(e);return"string"===typeof e&&t.setAttribute("data-language",e),t}static formats(e){return e.getAttribute("data-language")||"plain"}static register(){}format(e,t){e===this.statics.blotName&&t?this.domNode.setAttribute("data-language",t):super.format(e,t)}replaceWith(e,t){return this.formatAt(0,this.length(),vh.blotName,!1),super.replaceWith(e,t)}}class wh extends bc{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(e,t){e===xh.blotName&&(this.forceNext=!0,this.children.forEach(n=>{n.format(e,t)}))}formatAt(e,t,n,r){n===xh.blotName&&(this.forceNext=!0),super.formatAt(e,t,n,r)}highlight(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==this.children.head)return;const n=Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode),r=n.map(e=>e.textContent).join("\n")+"\n",i=xh.formats(this.children.head.domNode);if(t||this.forceNext||this.cachedText!==r){if(r.trim().length>0||null==this.cachedText){const t=this.children.reduce((e,t)=>e.concat(Ya(t,!1)),new ii.a),n=e(r,i);t.diff(n).reduce((e,t)=>{let{retain:n,attributes:r}=t;return n?(r&&Object.keys(r).forEach(t=>{[xh.blotName,vh.blotName].includes(t)&&this.formatAt(e,n,t,r[t])}),e+n):e},0)}this.cachedText=r,this.forceNext=!1}}html(e,t){const[n]=this.children.find(e),r=n?xh.formats(n.domNode):"plain";return`<pre data-language="${r}">\n${Ua(this.code(e,t))}\n</pre>`}optimize(e){if(super.optimize(e),null!=this.parent&&null!=this.children.head&&null!=this.uiNode){const e=xh.formats(this.children.head.domNode);e!==this.uiNode.value&&(this.uiNode.value=e)}}}wh.allowedChildren=[xh],xh.requiredContainer=wh,xh.allowedChildren=[vh,Qa,qa,_a];const kh=(e,t,n)=>{if("string"===typeof e.versionString){const r=e.versionString.split(".")[0];if(parseInt(r,10)>=11)return e.highlight(n,{language:t}).value}return e.highlight(t,n).value};class Sh extends zl{static register(){Kl.register(vh,!0),Kl.register(xh,!0),Kl.register(wh,!0)}constructor(e,t){if(super(e,t),null==this.options.hljs)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce((e,t)=>{let{key:n}=t;return e[n]=!0,e},{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(Kl.events.SCROLL_BLOT_MOUNT,e=>{if(!(e instanceof wh))return;const t=this.quill.root.ownerDocument.createElement("select");this.options.languages.forEach(e=>{let{key:n,label:r}=e;const i=t.ownerDocument.createElement("option");i.textContent=r,i.setAttribute("value",n),t.appendChild(i)}),t.addEventListener("change",()=>{e.format(xh.blotName,t.value),this.quill.root.focus(),this.highlight(e,!0)}),null==e.uiNode&&(e.attachUI(t),e.children.head&&(t.value=xh.formats(e.children.head.domNode)))})}initTimer(){let e=null;this.quill.on(Kl.events.SCROLL_OPTIMIZE,()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.highlight(),e=null},this.options.interval)})}highlight(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.quill.selection.composing)return;this.quill.update(Kl.sources.USER);const n=this.quill.getSelection(),r=null==e?this.quill.scroll.descendants(wh):[e];r.forEach(e=>{e.highlight(this.highlightBlot,t)}),this.quill.update(Kl.sources.SILENT),null!=n&&this.quill.setSelection(n,Kl.sources.SILENT)}highlightBlot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if(t=this.languages[t]?t:"plain","plain"===t)return Ua(e).split("\n").reduce((e,n,r)=>(0!==r&&e.insert("\n",{[yc.blotName]:t}),e.insert(n)),new ii.a);const n=this.quill.root.ownerDocument.createElement("div");return n.classList.add(yc.className),n.innerHTML=kh(this.options.hljs,t,e),fu(this.quill.scroll,n,[(e,t)=>{const n=yh.value(e);return n?t.compose((new ii.a).retain(t.length(),{[vh.blotName]:n})):t}],[(e,n)=>e.data.split("\n").reduce((e,n,r)=>(0!==r&&e.insert("\n",{[yc.blotName]:t}),e.insert(n)),n)],new WeakMap)}}Sh.DEFAULTS={hljs:(()=>window.hljs)(),interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};n("33d1"),n("ea98");class Ch extends Ka{static create(e){const t=super.create();return e?t.setAttribute("data-row",e):t.setAttribute("data-row",Oh()),t}static formats(e){if(e.hasAttribute("data-row"))return e.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(e,t){e===Ch.blotName&&t?this.domNode.setAttribute("data-row",t):super.format(e,t)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}Object(r["a"])(Ch,"blotName","table"),Object(r["a"])(Ch,"tagName","TD");class Th extends nc{checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){const e=this.children.head.formats(),t=this.children.tail.formats(),n=this.next.children.head.formats(),r=this.next.children.tail.formats();return e.table===t.table&&e.table===n.table&&e.table===r.table}return!1}optimize(e){super.optimize(e),this.children.forEach(e=>{if(null==e.next)return;const t=e.formats(),n=e.next.formats();if(t.table!==n.table){const t=this.splitAfter(e);t&&t.optimize(),this.prev&&this.prev.optimize()}})}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}Object(r["a"])(Th,"blotName","table-row"),Object(r["a"])(Th,"tagName","TR");class zh extends nc{}Object(r["a"])(zh,"blotName","table-body"),Object(r["a"])(zh,"tagName","TBODY");class Ah extends nc{balanceCells(){const e=this.descendants(Th),t=e.reduce((e,t)=>Math.max(t.children.length,e),0);e.forEach(e=>{new Array(t-e.children.length).fill(0).forEach(()=>{let t;null!=e.children.head&&(t=Ch.formats(e.children.head.domNode));const n=this.scroll.create(Ch.blotName,t);e.appendChild(n),n.optimize()})})}cells(e){return this.rows().map(t=>t.children.at(e))}deleteColumn(e){const[t]=this.descendant(zh);null!=t&&null!=t.children.head&&t.children.forEach(t=>{const n=t.children.at(e);null!=n&&n.remove()})}insertColumn(e){const[t]=this.descendant(zh);null!=t&&null!=t.children.head&&t.children.forEach(t=>{const n=t.children.at(e),r=Ch.formats(t.children.head.domNode),i=this.scroll.create(Ch.blotName,r);t.insertBefore(i,n)})}insertRow(e){const[t]=this.descendant(zh);if(null==t||null==t.children.head)return;const n=Oh(),r=this.scroll.create(Th.blotName);t.children.head.children.forEach(()=>{const e=this.scroll.create(Ch.blotName,n);r.appendChild(e)});const i=t.children.at(e);t.insertBefore(r,i)}rows(){const e=this.children.head;return null==e?[]:e.children.map(e=>e)}}function Oh(){const e=Math.random().toString(36).slice(2,6);return"row-"+e}Object(r["a"])(Ah,"blotName","table-container"),Object(r["a"])(Ah,"tagName","TABLE"),Ah.allowedChildren=[zh],zh.requiredContainer=Ah,zh.allowedChildren=[Th],Th.requiredContainer=zh,Th.allowedChildren=[Ch],Ch.requiredContainer=Th;class Eh extends zl{static register(){Kl.register(Ch),Kl.register(Th),Kl.register(zh),Kl.register(Ah)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(Ah).forEach(e=>{e.balanceCells()})}deleteColumn(){const[e,,t]=this.getTable();null!=t&&(e.deleteColumn(t.cellOffset()),this.quill.update(Kl.sources.USER))}deleteRow(){const[,e]=this.getTable();null!=e&&(e.remove(),this.quill.update(Kl.sources.USER))}deleteTable(){const[e]=this.getTable();if(null==e)return;const t=e.offset();e.remove(),this.quill.update(Kl.sources.USER),this.quill.setSelection(t,Kl.sources.SILENT)}getTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(null==e)return[null,null,null,-1];const[t,n]=this.quill.getLine(e.index);if(null==t||t.statics.blotName!==Ch.blotName)return[null,null,null,-1];const r=t.parent,i=r.parent.parent;return[i,r,t,n]}insertColumn(e){const t=this.quill.getSelection();if(!t)return;const[n,r,i]=this.getTable(t);if(null==i)return;const o=i.cellOffset();n.insertColumn(o+e),this.quill.update(Kl.sources.USER);let s=r.rowOffset();0===e&&(s+=1),this.quill.setSelection(t.index+s,t.length,Kl.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(e){const t=this.quill.getSelection();if(!t)return;const[n,r,i]=this.getTable(t);if(null==i)return;const o=r.rowOffset();n.insertRow(o+e),this.quill.update(Kl.sources.USER),e>0?this.quill.setSelection(t,Kl.sources.SILENT):this.quill.setSelection(t.index+r.children.length,t.length,Kl.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(e,t){const n=this.quill.getSelection();if(null==n)return;const r=new Array(e).fill(0).reduce(e=>{const n=new Array(t).fill("\n").join("");return e.insert(n,{table:Oh()})},(new ii.a).retain(n.index));this.quill.updateContents(r,Kl.sources.USER),this.quill.setSelection(n.index,Kl.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(Kl.events.SCROLL_OPTIMIZE,e=>{e.some(e=>!!["TD","TR","TBODY","TABLE"].includes(e.target.tagName)&&(this.quill.once(Kl.events.TEXT_CHANGE,(e,t,n)=>{n===Kl.sources.USER&&this.balanceTables()}),!0))})}}var Mh=Eh;const Nh=ol("quill:toolbar");class Rh extends zl{constructor(e,t){if(super(e,t),Array.isArray(this.options.container)){var n;const t=document.createElement("div");t.setAttribute("role","toolbar"),Dh(t,this.options.container),null===(n=e.container)||void 0===n||null===(n=n.parentNode)||void 0===n||n.insertBefore(t,e.container),this.container=t}else"string"===typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container;this.container instanceof HTMLElement?(this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(e=>{var t;const n=null===(t=this.options.handlers)||void 0===t?void 0:t[e];n&&this.addHandler(e,n)}),Array.from(this.container.querySelectorAll("button, select")).forEach(e=>{this.attach(e)}),this.quill.on(Kl.events.EDITOR_CHANGE,()=>{const[e]=this.quill.selection.getRange();this.update(e)})):Nh.error("Container required for toolbar",this.options)}addHandler(e,t){this.handlers[e]=t}attach(e){let t=Array.from(e.classList).find(e=>0===e.indexOf("ql-"));if(!t)return;if(t=t.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[t]&&null==this.quill.scroll.query(t))return void Nh.warn("ignoring attaching to nonexistent format",t,e);const n="SELECT"===e.tagName?"change":"click";e.addEventListener(n,n=>{let r;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;const t=e.options[e.selectedIndex];r=!t.hasAttribute("selected")&&(t.value||!1)}else r=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),n.preventDefault();this.quill.focus();const[i]=this.quill.selection.getRange();if(null!=this.handlers[t])this.handlers[t].call(this,r);else if(this.quill.scroll.query(t).prototype instanceof ni["EmbedBlot"]){if(r=prompt("Enter "+t),!r)return;this.quill.updateContents((new ii.a).retain(i.index).delete(i.length).insert({[t]:r}),Kl.sources.USER)}else this.quill.format(t,r,Kl.sources.USER);this.update(i)}),this.controls.push([t,e])}update(e){const t=null==e?{}:this.quill.getFormat(e);this.controls.forEach(n=>{const[r,i]=n;if("SELECT"===i.tagName){let n=null;if(null==e)n=null;else if(null==t[r])n=i.querySelector("option[selected]");else if(!Array.isArray(t[r])){let e=t[r];"string"===typeof e&&(e=e.replace(/"/g,'\\"')),n=i.querySelector(`option[value="${e}"]`)}null==n?(i.value="",i.selectedIndex=-1):n.selected=!0}else if(null==e)i.classList.remove("ql-active"),i.setAttribute("aria-pressed","false");else if(i.hasAttribute("value")){const e=t[r],n=e===i.getAttribute("value")||null!=e&&e.toString()===i.getAttribute("value")||null==e&&!i.getAttribute("value");i.classList.toggle("ql-active",n),i.setAttribute("aria-pressed",n.toString())}else{const e=null!=t[r];i.classList.toggle("ql-active",e),i.setAttribute("aria-pressed",e.toString())}})}}function Lh(e,t,n){const r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+t),r.setAttribute("aria-pressed","false"),null!=n?(r.value=n,r.setAttribute("aria-label",`${t}: ${n}`)):r.setAttribute("aria-label",t),e.appendChild(r)}function Dh(e,t){Array.isArray(t[0])||(t=[t]),t.forEach(t=>{const n=document.createElement("span");n.classList.add("ql-formats"),t.forEach(e=>{if("string"===typeof e)Lh(n,e);else{const t=Object.keys(e)[0],r=e[t];Array.isArray(r)?Fh(n,t,r):Lh(n,t,r)}}),e.appendChild(n)})}function Fh(e,t,n){const r=document.createElement("select");r.classList.add("ql-"+t),n.forEach(e=>{const t=document.createElement("option");!1!==e?t.setAttribute("value",String(e)):t.setAttribute("selected","selected"),r.appendChild(t)}),e.appendChild(r)}Rh.DEFAULTS={},Rh.DEFAULTS={container:null,handlers:{clean(){const e=this.quill.getSelection();if(null!=e)if(0===e.length){const e=this.quill.getFormat();Object.keys(e).forEach(e=>{null!=this.quill.scroll.query(e,ni["Scope"].INLINE)&&this.quill.format(e,!1,Kl.sources.USER)})}else this.quill.removeFormat(e.index,e.length,Kl.sources.USER)},direction(e){const{align:t}=this.quill.getFormat();"rtl"===e&&null==t?this.quill.format("align","right",Kl.sources.USER):e||"right"!==t||this.quill.format("align",!1,Kl.sources.USER),this.quill.format("direction",e,Kl.sources.USER)},indent(e){const t=this.quill.getSelection(),n=this.quill.getFormat(t),r=parseInt(n.indent||0,10);if("+1"===e||"-1"===e){let t="+1"===e?1:-1;"rtl"===n.direction&&(t*=-1),this.quill.format("indent",r+t,Kl.sources.USER)}},link(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,Kl.sources.USER)},list(e){const t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,Kl.sources.USER):this.quill.format("list","unchecked",Kl.sources.USER):this.quill.format("list",e,Kl.sources.USER)}}};const jh='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"/></svg>',Ih='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"/><line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"/></svg>',Bh='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"/></svg>',_h='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="15" x2="3" y1="14" y2="14"/><line class="ql-stroke" x1="15" x2="3" y1="4" y2="4"/></svg>',qh='<svg viewbox="0 0 18 18"><g class="ql-fill ql-color-label"><polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"/><rect height="1" width="1" x="4" y="4"/><polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"/><rect height="1" width="1" x="2" y="6"/><rect height="1" width="1" x="3" y="5"/><rect height="1" width="1" x="4" y="7"/><polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"/><rect height="1" width="1" x="2" y="12"/><rect height="1" width="1" x="2" y="9"/><rect height="1" width="1" x="2" y="15"/><polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"/><rect height="1" width="1" x="3" y="8"/><path d="M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z"/><path d="M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z"/><path d="M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z"/><rect height="1" width="1" x="12" y="2"/><rect height="1" width="1" x="11" y="3"/><path d="M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z"/><rect height="1" width="1" x="2" y="3"/><rect height="1" width="1" x="6" y="2"/><rect height="1" width="1" x="3" y="2"/><rect height="1" width="1" x="5" y="3"/><rect height="1" width="1" x="9" y="2"/><rect height="1" width="1" x="15" y="14"/><polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"/><rect height="1" width="1" x="13" y="7"/><rect height="1" width="1" x="15" y="5"/><rect height="1" width="1" x="14" y="6"/><rect height="1" width="1" x="15" y="8"/><rect height="1" width="1" x="14" y="9"/><path d="M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z"/><rect height="1" width="1" x="14" y="3"/><polygon points="12 6.868 12 6 11.62 6 12 6.868"/><rect height="1" width="1" x="15" y="2"/><rect height="1" width="1" x="12" y="5"/><rect height="1" width="1" x="13" y="4"/><polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"/><rect height="1" width="1" x="9" y="14"/><rect height="1" width="1" x="8" y="15"/><path d="M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z"/><rect height="1" width="1" x="5" y="15"/><path d="M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z"/><rect height="1" width="1" x="11" y="15"/><path d="M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z"/><rect height="1" width="1" x="14" y="15"/><rect height="1" width="1" x="15" y="11"/></g><polyline class="ql-stroke" points="5.5 13 9 5 12.5 13"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="11" y2="11"/></svg>',Ph='<svg viewbox="0 0 18 18"><rect class="ql-fill ql-stroke" height="3" width="3" x="4" y="5"/><rect class="ql-fill ql-stroke" height="3" width="3" x="11" y="5"/><path class="ql-even ql-fill ql-stroke" d="M7,8c0,4.031-3,5-3,5"/><path class="ql-even ql-fill ql-stroke" d="M14,8c0,4.031-3,5-3,5"/></svg>',Uh='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z"/><path class="ql-stroke" d="M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z"/></svg>',Hh='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="5" x2="13" y1="3" y2="3"/><line class="ql-stroke" x1="6" x2="9.35" y1="12" y2="3"/><line class="ql-stroke" x1="11" x2="15" y1="11" y2="15"/><line class="ql-stroke" x1="15" x2="11" y1="11" y2="15"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="7" x="2" y="14"/></svg>',Wh='<svg viewbox="0 0 18 18"><polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"/><polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"/><line class="ql-stroke" x1="10" x2="8" y1="5" y2="13"/></svg>',Vh='<svg viewbox="0 0 18 18"><line class="ql-color-label ql-stroke ql-transparent" x1="3" x2="15" y1="15" y2="15"/><polyline class="ql-stroke" points="5.5 11 9 3 12.5 11"/><line class="ql-stroke" x1="11.63" x2="6.38" y1="9" y2="9"/></svg>',Gh='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"/><line class="ql-stroke ql-fill" x1="15" x2="11" y1="4" y2="4"/><path class="ql-fill" d="M11,3a3,3,0,0,0,0,6h1V3H11Z"/><rect class="ql-fill" height="11" width="1" x="11" y="4"/><rect class="ql-fill" height="11" width="1" x="13" y="4"/></svg>',Kh='<svg viewbox="0 0 18 18"><polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"/><line class="ql-stroke ql-fill" x1="9" x2="5" y1="4" y2="4"/><path class="ql-fill" d="M5,3A3,3,0,0,0,5,9H6V3H5Z"/><rect class="ql-fill" height="11" width="1" x="5" y="4"/><rect class="ql-fill" height="11" width="1" x="7" y="4"/></svg>',Xh='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z"/><rect class="ql-fill" height="1.6" rx="0.8" ry="0.8" width="5" x="5.15" y="6.2"/><path class="ql-fill" d="M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z"/></svg>',Yh='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z"/></svg>',Zh='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',Jh='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.65186,12.30664a2.6742,2.6742,0,0,1-2.915,2.68457,3.96592,3.96592,0,0,1-2.25537-.6709.56007.56007,0,0,1-.13232-.83594L11.64648,13c.209-.34082.48389-.36328.82471-.1543a2.32654,2.32654,0,0,0,1.12256.33008c.71484,0,1.12207-.35156,1.12207-.78125,0-.61523-.61621-.86816-1.46338-.86816H13.2085a.65159.65159,0,0,1-.68213-.41895l-.05518-.10937a.67114.67114,0,0,1,.14307-.78125l.71533-.86914a8.55289,8.55289,0,0,1,.68213-.7373V8.58887a3.93913,3.93913,0,0,1-.748.05469H11.9873a.54085.54085,0,0,1-.605-.60547V7.59863a.54085.54085,0,0,1,.605-.60547h3.75146a.53773.53773,0,0,1,.60547.59375v.17676a1.03723,1.03723,0,0,1-.27539.748L14.74854,10.0293A2.31132,2.31132,0,0,1,16.65186,12.30664ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',Qh='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm7.05371,7.96582v.38477c0,.39648-.165.60547-.46191.60547h-.47314v1.29785a.54085.54085,0,0,1-.605.60547h-.69336a.54085.54085,0,0,1-.605-.60547V12.95605H11.333a.5412.5412,0,0,1-.60547-.60547v-.15332a1.199,1.199,0,0,1,.22021-.748l2.56348-4.05957a.7819.7819,0,0,1,.72607-.39648h1.27637a.54085.54085,0,0,1,.605.60547v3.7627h.33008A.54055.54055,0,0,1,17.05371,11.96582ZM14.28125,8.7207h-.022a4.18969,4.18969,0,0,1-.38525.81348l-1.188,1.80469v.02246h1.5293V9.60059A7.04058,7.04058,0,0,1,14.28125,8.7207Z"/></svg>',$h='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M16.74023,12.18555a2.75131,2.75131,0,0,1-2.91553,2.80566,3.908,3.908,0,0,1-2.25537-.68164.54809.54809,0,0,1-.13184-.8252L11.73438,13c.209-.34082.48389-.36328.8252-.1543a2.23757,2.23757,0,0,0,1.1001.33008,1.01827,1.01827,0,0,0,1.1001-.96777c0-.61621-.53906-.97949-1.25439-.97949a2.15554,2.15554,0,0,0-.64893.09961,1.15209,1.15209,0,0,1-.814.01074l-.12109-.04395a.64116.64116,0,0,1-.45117-.71484l.231-3.00391a.56666.56666,0,0,1,.62744-.583H15.541a.54085.54085,0,0,1,.605.60547v.43945a.54085.54085,0,0,1-.605.60547H13.41748l-.04395.72559a1.29306,1.29306,0,0,1-.04395.30859h.022a2.39776,2.39776,0,0,1,.57227-.07715A2.53266,2.53266,0,0,1,16.74023,12.18555ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z"/></svg>',ed='<svg viewBox="0 0 18 18"><path class="ql-fill" d="M14.51758,9.64453a1.85627,1.85627,0,0,0-1.24316.38477H13.252a1.73532,1.73532,0,0,1,1.72754-1.4082,2.66491,2.66491,0,0,1,.5498.06641c.35254.05469.57227.01074.70508-.40723l.16406-.5166a.53393.53393,0,0,0-.373-.75977,4.83723,4.83723,0,0,0-1.17773-.14258c-2.43164,0-3.7627,2.17773-3.7627,4.43359,0,2.47559,1.60645,3.69629,3.19043,3.69629A2.70585,2.70585,0,0,0,16.96,12.19727,2.43861,2.43861,0,0,0,14.51758,9.64453Zm-.23047,3.58691c-.67187,0-1.22168-.81445-1.22168-1.45215,0-.47363.30762-.583.72559-.583.96875,0,1.27734.59375,1.27734,1.12207A.82182.82182,0,0,1,14.28711,13.23145ZM10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Z"/></svg>',td='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="13" y1="4" y2="4"/><line class="ql-stroke" x1="5" x2="11" y1="14" y2="14"/><line class="ql-stroke" x1="8" x2="10" y1="14" y2="4"/></svg>',nd='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="10" width="12" x="3" y="4"/><circle class="ql-fill" cx="6" cy="7" r="1"/><polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"/></svg>',rd='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"/></svg>',id='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="3" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="5 7 5 11 3 9 5 7"/></svg>',od='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="11" y1="7" y2="11"/><path class="ql-even ql-stroke" d="M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z"/><path class="ql-even ql-stroke" d="M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z"/></svg>',sd='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="6" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="6" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="6" x2="15" y1="14" y2="14"/><line class="ql-stroke" x1="3" x2="3" y1="4" y2="4"/><line class="ql-stroke" x1="3" x2="3" y1="9" y2="9"/><line class="ql-stroke" x1="3" x2="3" y1="14" y2="14"/></svg>',ad='<svg class="" viewbox="0 0 18 18"><line class="ql-stroke" x1="9" x2="15" y1="4" y2="4"/><polyline class="ql-stroke" points="3 4 4 5 6 3"/><line class="ql-stroke" x1="9" x2="15" y1="14" y2="14"/><polyline class="ql-stroke" points="3 14 4 15 6 13"/><line class="ql-stroke" x1="9" x2="15" y1="9" y2="9"/><polyline class="ql-stroke" points="3 9 4 10 6 8"/></svg>',ld='<svg viewbox="0 0 18 18"><line class="ql-stroke" x1="7" x2="15" y1="4" y2="4"/><line class="ql-stroke" x1="7" x2="15" y1="9" y2="9"/><line class="ql-stroke" x1="7" x2="15" y1="14" y2="14"/><line class="ql-stroke ql-thin" x1="2.5" x2="4.5" y1="5.5" y2="5.5"/><path class="ql-fill" d="M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z"/><path class="ql-stroke ql-thin" d="M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156"/><path class="ql-stroke ql-thin" d="M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109"/></svg>',cd='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z"/><path class="ql-fill" d="M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z"/></svg>',ud='<svg viewbox="0 0 18 18"><path class="ql-fill" d="M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z"/><path class="ql-fill" d="M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z"/></svg>',hd='<svg viewbox="0 0 18 18"><line class="ql-stroke ql-thin" x1="15.5" x2="2.5" y1="8.5" y2="9.5"/><path class="ql-fill" d="M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z"/><path class="ql-fill" d="M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z"/></svg>',dd='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="2" width="3" x="5" y="5"/><rect class="ql-fill" height="2" width="4" x="9" y="5"/><g class="ql-fill ql-transparent"><rect height="2" width="3" x="5" y="8"/><rect height="2" width="4" x="9" y="8"/><rect height="2" width="3" x="5" y="11"/><rect height="2" width="4" x="9" y="11"/></g></svg>',fd='<svg viewbox="0 0 18 18"><path class="ql-stroke" d="M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3"/><rect class="ql-fill" height="1" rx="0.5" ry="0.5" width="12" x="3" y="15"/></svg>',pd='<svg viewbox="0 0 18 18"><rect class="ql-stroke" height="12" width="12" x="3" y="3"/><rect class="ql-fill" height="12" width="1" x="5" y="3"/><rect class="ql-fill" height="12" width="1" x="12" y="3"/><rect class="ql-fill" height="2" width="8" x="5" y="8"/><rect class="ql-fill" height="1" width="3" x="3" y="5"/><rect class="ql-fill" height="1" width="3" x="3" y="7"/><rect class="ql-fill" height="1" width="3" x="3" y="10"/><rect class="ql-fill" height="1" width="3" x="3" y="12"/><rect class="ql-fill" height="1" width="3" x="12" y="5"/><rect class="ql-fill" height="1" width="3" x="12" y="7"/><rect class="ql-fill" height="1" width="3" x="12" y="10"/><rect class="ql-fill" height="1" width="3" x="12" y="12"/></svg>';var md={align:{"":jh,center:Ih,right:Bh,justify:_h},background:qh,blockquote:Ph,bold:Uh,clean:Hh,code:Wh,"code-block":Wh,color:Vh,direction:{"":Gh,rtl:Kh},formula:Xh,header:{1:Yh,2:Zh,3:Jh,4:Qh,5:$h,6:ed},italic:td,image:nd,indent:{"+1":rd,"-1":id},link:od,list:{bullet:sd,check:ad,ordered:ld},script:{sub:cd,super:ud},strike:hd,table:dd,underline:fd,video:pd};const gd='<svg viewbox="0 0 18 18"><polygon class="ql-stroke" points="7 11 9 13 11 11 7 11"/><polygon class="ql-stroke" points="7 7 9 5 11 7 7 7"/></svg>';let bd=0;function yd(e,t){e.setAttribute(t,""+!("true"===e.getAttribute(t)))}class vd{constructor(e){this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",e=>{switch(e.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),e.preventDefault();break;default:}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),yd(this.label,"aria-expanded"),yd(this.options,"aria-hidden")}buildItem(e){const t=document.createElement("span");t.tabIndex="0",t.setAttribute("role","button"),t.classList.add("ql-picker-item");const n=e.getAttribute("value");return n&&t.setAttribute("data-value",n),e.textContent&&t.setAttribute("data-label",e.textContent),t.addEventListener("click",()=>{this.selectItem(t,!0)}),t.addEventListener("keydown",e=>{switch(e.key){case"Enter":this.selectItem(t,!0),e.preventDefault();break;case"Escape":this.escape(),e.preventDefault();break;default:}}),t}buildLabel(){const e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=gd,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}buildOptions(){const e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+bd,bd+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,Array.from(this.select.options).forEach(t=>{const n=this.buildItem(t);e.appendChild(n),!0===t.selected&&this.selectItem(n)}),this.container.appendChild(e)}buildPicker(){Array.from(this.select.attributes).forEach(e=>{this.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.container.querySelector(".ql-selected");e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=Array.from(e.parentNode.children).indexOf(e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let e;if(this.select.selectedIndex>-1){const t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);const t=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",t)}}var xd=vd;class wd extends xd{constructor(e,t){super(e),this.label.innerHTML=t,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(e=>{e.classList.add("ql-primary")})}buildItem(e){const t=super.buildItem(e);return t.style.backgroundColor=e.getAttribute("value")||"",t}selectItem(e,t){super.selectItem(e,t);const n=this.label.querySelector(".ql-color-label"),r=e&&e.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=r:n.style.fill=r)}}var kd=wd;class Sd extends xd{constructor(e,t){super(e),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(e=>{e.innerHTML=t[e.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(e,t){super.selectItem(e,t);const n=e||this.defaultItem;if(null!=n){if(this.label.innerHTML===n.innerHTML)return;this.label.innerHTML=n.innerHTML}}}var Cd=Sd;const Td=e=>{const{overflowY:t}=getComputedStyle(e,null);return"visible"!==t&&"clip"!==t};class zd{constructor(e,t){this.quill=e,this.boundsContainer=t||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,Td(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=-1*this.quill.root.scrollTop+"px"}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(e){const t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");const r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect();let o=0;if(i.right>r.right&&(o=r.right-i.right,this.root.style.left=t+o+"px"),i.left<r.left&&(o=r.left-i.left,this.root.style.left=t+o+"px"),i.bottom>r.bottom){const t=i.bottom-i.top,r=e.bottom-e.top+t;this.root.style.top=n-r+"px",this.root.classList.add("ql-flip")}return o}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}var Ad=zd;const Od=[!1,"center","right","justify"],Ed=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],Md=[!1,"serif","monospace"],Nd=["1","2","3",!1],Rd=["small",!1,"large","huge"];class Ld extends Dl{constructor(e,t){super(e,t);const n=t=>{document.body.contains(e.root)?(null==this.tooltip||this.tooltip.root.contains(t.target)||document.activeElement===this.tooltip.textbox||this.quill.hasFocus()||this.tooltip.hide(),null!=this.pickers&&this.pickers.forEach(e=>{e.container.contains(t.target)||e.close()})):document.body.removeEventListener("click",n)};e.emitter.listenDOM("click",document.body,n)}addModule(e){const t=super.addModule(e);return"toolbar"===e&&this.extendToolbar(t),t}buildButtons(e,t){Array.from(e).forEach(e=>{const n=e.getAttribute("class")||"";n.split(/\s+/).forEach(n=>{if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"===typeof t[n])e.innerHTML=t[n];else{const r=e.value||"";null!=r&&t[n][r]&&(e.innerHTML=t[n][r])}})})}buildPickers(e,t){this.pickers=Array.from(e).map(e=>{if(e.classList.contains("ql-align")&&(null==e.querySelector("option")&&jd(e,Od),"object"===typeof t.align))return new Cd(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){const n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&jd(e,Ed,"background"===n?"#ffffff":"#000000"),new kd(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?jd(e,Md):e.classList.contains("ql-header")?jd(e,Nd):e.classList.contains("ql-size")&&jd(e,Rd)),new xd(e)});const n=()=>{this.pickers.forEach(e=>{e.update()})};this.quill.on(cl.events.EDITOR_CHANGE,n)}}Ld.DEFAULTS=ti({},Dl.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let e=this.container.querySelector("input.ql-image[type=file]");null==e&&(e=document.createElement("input"),e.setAttribute("type","file"),e.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),e.classList.add("ql-image"),e.addEventListener("change",()=>{const t=this.quill.getSelection(!0);this.quill.uploader.upload(t,e.files),e.value=""}),this.container.appendChild(e)),e.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class Dd extends Ad{constructor(e,t){super(e,t),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",e=>{"Enter"===e.key?(this.save(),e.preventDefault()):"Escape"===e.key&&(this.cancel(),e.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null==this.textbox)return;null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value="");const n=this.quill.getBounds(this.quill.selection.savedRange);null!=n&&this.position(n),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:e}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{const{scrollTop:t}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,cl.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,cl.sources.USER)),this.quill.root.scrollTop=t;break}case"video":e=Fd(e);case"formula":{if(!e)break;const t=this.quill.getSelection(!0);if(null!=t){const n=t.index+t.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),e,cl.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",cl.sources.USER),this.quill.setSelection(n+2,cl.sources.USER)}break}default:}this.textbox.value="",this.hide()}}function Fd(e){let t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?`${t[1]||"https"}://www.youtube.com/embed/${t[2]}?showinfo=0`:(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${t[1]||"https"}://player.vimeo.com/video/${t[2]}/`:e}function jd(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(t=>{const r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",String(t)),e.appendChild(r)})}const Id=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class Bd extends Dd{constructor(e,t){super(e,t),this.quill.on(cl.events.EDITOR_CHANGE,(e,t,n,r)=>{if(e===cl.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&r===cl.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=this.root.offsetWidth+"px";const e=this.quill.getLines(t.index,t.length);if(1===e.length){const e=this.quill.getBounds(t);null!=e&&this.position(e)}else{const n=e[e.length-1],r=this.quill.getIndex(n),i=Math.min(n.length()-1,t.index+t.length-r),o=this.quill.getBounds(new hl(r,i));null!=o&&this.position(o)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(cl.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;const e=this.quill.getSelection();if(null!=e){const t=this.quill.getBounds(e);null!=t&&this.position(t)}},1)})}cancel(){this.show()}position(e){const t=super.position(e),n=this.root.querySelector(".ql-tooltip-arrow");return n.style.marginLeft="",0!==t&&(n.style.marginLeft=-1*t-n.offsetWidth/2+"px"),t}}Object(r["a"])(Bd,"TEMPLATE",['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""));class _d extends Ld{constructor(e,t){null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=Id),super(e,t),this.quill.container.classList.add("ql-bubble")}extendToolbar(e){this.tooltip=new Bd(this.quill,this.options.bounds),null!=e.container&&(this.tooltip.root.appendChild(e.container),this.buildButtons(e.container.querySelectorAll("button"),md),this.buildPickers(e.container.querySelectorAll("select"),md))}}_d.DEFAULTS=ti({},Ld.DEFAULTS,{modules:{toolbar:{handlers:{link(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1,Kl.sources.USER)}}}}});const qd=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class Pd extends Dd{constructor(...e){super(...e),Object(r["a"])(this,"preview",this.root.querySelector("a.ql-preview"))}listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",e=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",e=>{if(null!=this.linkRange){const e=this.linkRange;this.restoreFocus(),this.quill.formatText(e,"link",!1,cl.sources.USER),delete this.linkRange}e.preventDefault(),this.hide()}),this.quill.on(cl.events.SELECTION_CHANGE,(e,t,n)=>{if(null!=e){if(0===e.length&&n===cl.sources.USER){const[t,n]=this.quill.scroll.descendant(nh,e.index);if(null!=t){this.linkRange=new hl(e.index-n,t.length());const r=nh.formats(t.domNode);this.preview.textContent=r,this.preview.setAttribute("href",r),this.show();const i=this.quill.getBounds(this.linkRange);return void(null!=i&&this.position(i))}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}Object(r["a"])(Pd,"TEMPLATE",['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""));class Ud extends Ld{constructor(e,t){null!=t.modules.toolbar&&null==t.modules.toolbar.container&&(t.modules.toolbar.container=qd),super(e,t),this.quill.container.classList.add("ql-snow")}extendToolbar(e){null!=e.container&&(e.container.classList.add("ql-snow"),this.buildButtons(e.container.querySelectorAll("button"),md),this.buildPickers(e.container.querySelectorAll("select"),md),this.tooltip=new Pd(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(t,n)=>{e.handlers.link.call(e,!n.format.link)}))}}Ud.DEFAULTS=ti({},Ld.DEFAULTS,{modules:{toolbar:{handlers:{link(e){if(e){const e=this.quill.getSelection();if(null==e||0===e.length)return;let t=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(t)&&0!==t.indexOf("mailto:")&&(t="mailto:"+t);const{tooltip:n}=this.quill.theme;n.edit("link",t)}else this.quill.format("link",!1,Kl.sources.USER)}}}}});var Hd=Ud;Uu.register({"attributors/attribute/direction":wc,"attributors/class/align":uc,"attributors/class/background":mc,"attributors/class/color":fc,"attributors/class/direction":kc,"attributors/class/font":Tc,"attributors/class/size":Oc,"attributors/style/align":hc,"attributors/style/background":gc,"attributors/style/color":pc,"attributors/style/direction":Sc,"attributors/style/font":Ac,"attributors/style/size":Ec},!0),Uu.register({"formats/align":uc,"formats/direction":kc,"formats/indent":Vu,"formats/background":gc,"formats/color":pc,"formats/font":Tc,"formats/size":Oc,"formats/blockquote":Ku,"formats/code-block":yc,"formats/header":Yu,"formats/list":Ju,"formats/bold":$u,"formats/code":vc,"formats/italic":th,"formats/link":nh,"formats/script":oh,"formats/strike":ah,"formats/underline":ch,"formats/formula":hh,"formats/image":ph,"formats/video":bh,"modules/syntax":Sh,"modules/table":Mh,"modules/toolbar":Rh,"themes/bubble":_d,"themes/snow":Hd,"ui/icons":md,"ui/picker":xd,"ui/icon-picker":Cd,"ui/color-picker":kd,"ui/tooltip":Ad},!0);t["a"]=Uu},e0e0:function(e){e.exports=JSON.parse('"eJyNnVtzG8mxrf+KAk/nRGh8eBWleZPnItsaj0ZXWNvhB5BsUdgE0TLAFgjt2P/9AI2uzJUrV7X8olB/q4CuyspaVX0p8H8mP7V3d83yfvLj5MPfu/Xspnl0enH05Nmjs6dHz84mjye/tsv732d3za7AX5rF1+Z+fjXb426xUHh2N19shTBt5jef92f5e3M97+525K/3s8X86vnyZrEre7Q7Xv86f2iu/5jfX32e/Hi/6prHk58+z1azq/tm9bbZf/aXh/tmed1cv2nvZsuhbn/+c/sw+fGfPxw/efL4h5OT88fHR0dHj5+dHv/r8eT9rvBqMV82f7Tr+f28XU5+/GEng/Du8/zqdtms15Mfz3f8Q7Na98UmR0cnf9p90e4kv7e7Juyb81P7Zbvat+LR/7n6v4+Onz09f7z/96L/99n+32dH/b8Xj55ft5fNo7fb9X1zt3701+VVu/rSrmb3zfWfHj16vlg8erP/nvWjN826WX3dUQvVo/n60ezR/Wp23dzNVreP2k+Pfpsv2/vtl+aHXaHFo+cvHs2W1/+vXT2a775g3V2u59fz2WrerP+0q+wvu1Ndz5c3b68+N30f9DV5e7/7yGx1XdRdwZ9mX/4ydMnF8dPHk3+Uo/OT08eT5+urfaBXg/hzY8c/nBxdPJ68vb/+y3QnPun/+2H336dPD7319+Z+Nb/ahfOf/zOZ/mPy48nFTvh9V5H1l9kuiv/7mHDzcLWY3Rk/PT8/8H937S5alwtTzs+fHJRld3e576abZdau28VitjL+dNctPf/SrK72SV6EJ08uDsLsbietd9Hxmp2cQA36/vbanZ4O3zdbNctF86km0cdKNWbr/Teub73iT8+GTy26dQ7O1W5szvIpPm+/fG6WufiuKfP2OvP1Yrb+nIP1rVm1mbbLJsP7jSh5/3nViLKf2m4l6PyrKLuePwjYfG1E3zYhpp4O86VIq6t20YoIrZu7eZSsBxZ7E0i0+Xc3W2R8s2p2g1k0899ds+6NpijHR8dDRs9E+j3P6M+GLkom/pTRz/mDvzg6Pj6gX/2DJQIv8nf9Jcfpr96yvV3u0d/yGV/m9v/mY69k69/zGX/P9XqVv/6PXOp1/q43+YNvcyTe5Q++zx/8YOjZ2dDT01zqHxl9zGf8rxzVy91cdtvcB99wcafFgcqfi6Zy9sRM5Wo+v5qvrrq73B/d3rXXu+kHxkgwuFAZ+9gso8ucElfCgMW4zQ36lEvdZPQ5V3me0X/net3mUouclyJawnWE730Rwz6b9CrXSzi8iH2XP/g1Z+8ml3rIaJvRN6jqmedXTISTJ0clK1eV8jEbzRn7bLyfL66bHJLDXH/dbkScw/TsU8F9v0zz5DguI+7Tfl2IRmuf2arJ49OiXc0FXzeVb7nqVrt5/MoDePzsGIbNet6vW1MTy7JFD6ubbr5T7tp7vXTYy/0Xf0em0Jee/TQXTCygdis5uR64nt3cqDntwHEtRiuOfd81qwbG/umFLYZmN6vZFz/b6XnJrN0FRAMZF1ypb+blbD0S4XF1pRcL1gFR7y8ZDrFZLOZf1vO1kHZtvf/cdmGxaG5f5v2Q3N5zq9lXUdnZVXcv8MHLPy2ah6xVRtbd7GrVihNfrhp14uv2fnYVRpxL811PYgDc0HAcemV3l3O7NbdYpHbLm9mqu1vMOnGa9ma3zrwVXzdbhcWT9ctdyFkXnvuyZ3fdOnz56vrTbqEXVoa+QomTrC9AIvczvIIzPDm3M9ztnK5b4CnsamMmprzr/aBfr8UEtogntpRqI7cVSdvksrvxubsi3uW9mGL+mrrUnSBmoE//MW98apKd6l8Xe89XR7kGZbq4nn+dQ0L7R2LNfMEsBodXO37IV3rqQzZFUgxssu4vvmiYQFPzV/r5wlBxXO+IGY0H/0ylhzr6gF8FpJP4NcPOI+Ai5KQ4sWroRXHwq3LTQ5yKXMfXhTEPvJU6Lr+rCvjwqOVoNFVf6cvm2KVU7duisUI4k1VChsxk89fsiTYU5/HsZxdDnRftt2Z5IzL3TTyFX8WNJmc3OkiE6MOrNpGsKm294rb69U+OnJ3m3ed2JVr1is7uYai4wVviZ2USo7DZaOKMtYjpya2/w7Hu+lXOStSXUtCiWONkq8UE77rF/fzLYivqRQ30JA8NPLsolyaz1f18trief/qU+2pbt4bf43k8YceS5ZfRNBuZdbJk6VQZnsuaDdYy5vcYIJ8M6Yvw/ttuxYA34ewSaNXeNku8EDJzXDU383Vc+voQjZ0N03EeF+Yc3W5Uh+sRD3ZlDbmqRKalyPi4rKTUf9EIP3tW1q79ra54I8zi/Mv95wx/SgZoZq586/R4aON9Zd5oqrNjbRZ8Xls+jGRlDLBfL9PQsFsRXClzhVqP1Kae2jS6rg3KPI7t3KPLEp4xy7qgWdyLGz73waTdEzftiCPW43vXiZZQzC1Ucp3pY4FC71eqcYXztNyw6H18l8CrXSKv8/e9Tfn67FnJV72ifTk6//4WO84vJeyxjjLFZAtuGTFMzmvT2W+x2haHXdQ+zxYwNZRBvr80oVvd1hdjLr+MyyZPte90YGUoNLUG3UQzxQYN3ap6VffdW7lAtAyWNT8rPXi9swn10KONXQRWqC2ti+XPzs3Or+dXymh/jl8EC7Ox5e7vsX+8upV+ezOe10p1b60soZ9XTTpeDlgPUJ3NiEcWlL/Upnt2CrtFLBtqC7K4ErBvGx0KlSrcj55p0d7s+3vZinC3dTPtslSG8u6rKiP5ZvyKFmZyj3klfZdyHrebO8u8aHbPr43xX7r948h/PZ68bFbLP2bz1f4h8j8nz/cPqyePfzg9+tfj4ejgHgEd6hnRYOoIX8Sjg6sEhA1D4VU8ylXAqTdw66pAD+M/oOA8QRlCFtjh7lBAh4GD6HU4erc7Oj7xwxK0wEL7QXm/Ozz3oxIAQCEAwCEAQEsAAFEAQLEAABuGdmC9oyD5sDu6sKNp0D7uG3jkh6VJyKDugLsQ1i4nQ1dJhk4mQ5eToasmQyeSobNYABti4eTr7ujMjjbhaBuPSosAQc0HOhTC0WmIQmKcxqlzHqxFeSEQDVvjcuwW9ZVAlVrKoWxi7kKTqB+N6840mXvUBBrjxmmgF/46IxzyxnjcuyAHf5HBAQyRDRhXXmBiNgSTyBWMa2swmf3BBDYJE6JTFAx2UdA0l0LjMMbuYYKwkKJ1ucPYTIyP5aSwFZMqOVkxGJNrOZmsxoToNwWD6RS0yWgrEHmQ8WxEgx+gERmicBonI3LORlSUFwKRERmXRlTUVwJVaimNyMTc6SZRpxvXnW4yd7oJZETGyYgKf50RGpExNiIXpBEVGYzIEBmRcWVEJmYjMomMyLg2IpPZiExgIzIhGlHBYEQFTXMpNCJjbEQmCCMqWpc7jI3I+FhOCiMyqZKTFSMyuZaTyYhMiEZUMBhRQZuMtgKRERnPRoShQTeKnAIbRfIlEtmcgvyixsmmoii9KhR5VeNjDZHWFUvkXIk6JUwUddbEMpw6USVPiyIZWxBfVzhaXBTY50iVZhfKgONFTrYXReV9sUQ2wKiTC0ZRW2Esw34YVTbFqEZnDBrYY+DTSnk0yiiwW0ZVWGYo0FVSgc0zit8dGsJGoz42NCqGGsuMDo1krVGN/ho0MNnANxW+rXHy3Chm43WCtouUOgQlstwgseGC+EJTMluUpNVCgVea1qsuTRb1nEeoUhahpHMIS3AGoUbWihIZK0ivJUVTRcyWGjRpqFAC7BQpmSlKykpRz0aKKtkoStpEsQRbKGpsoKhF+wQFzBPoVJZF40TMtomaME2QO9nNbJgofSfJhVmiWk/yilFiiZEkTyaJWrRIUMAggW4k3WpK1ohSNsah9eiKhijkxskPnbMZFuWFQGSDxqUHFvWVQJVaSuszMaeESZQPxnUymMyZYAJ5nXEyusJfZ4QWZ4z9zQVpbkUGZzNEtmZceZqJ2dBMIjczrq3MZPYxE9jETIgOVjDYV0HTXAqNyxi7lgnCsorW5Q5jszI+lpPCpkyq5GTFoEyu5WSyJhOiLxUMplTQJqOtQORFxrMRlbqiEzmjgLpAXgQCm5FJLxQjO3JB+pHJrxSrVVZakqu5/12jBHBBZ4DrnAKukC+5QMZkwmvB0JocsjeBIs3JdHAnZ2RPLih/cjUblGvkUC5oi3KdPcoVNilXoksZB5syNhXl0KgcslO5IqzKxE50IZuVC6PpKuzKtVq6VgzL9Wq6JstyJXqWcTAtYxvBtoqRb7mQjatUDI3LGQXXBTIuENi4THqhGBmXC9K4TH6lWK2y0rhczZngGmWCCzoTXOdMcIWMywUyLhNeC4bG5ZCNCxRpXKaDcTkj43JBGZer2bhcI+NyQRuX62xcrrBxuRKNyzgYl7GpKIfG5ZCNyxVhXCZ2ogvZuFwYTVdhXK7V0rViXK5X0zUZlyvRuIyDcRnbCLZVjIzLhWxcq+GHPrwKhVBgCybLMsyGNQgvMiGzKlha1SC+ykRXT5pU0XKfF4V6vGDd30Xl3i6crKlgMqYBv04ETakgtiTj0pAGFeyoEDKjgpUVFS0bUVHIhgrWJlRUtqDC2YAKj/YzUDCfgUxTGTSegth2ChemM0hd6h42nIJHEk+YTVF04lWMpqiVxEsmU3i0mIGCwQxkk8g2E7KWgrOxDOmOzmKIQmicvMU5m0tRXghE9mJc+ktRXwlUqaW0GBNzV5tEfW1cd7bJ3NsmkM8YJ6Mp/HVGaDXG2GtckGZTZHAbQ2Q3xpXfmJgNxyRyHOPackxmzzGBTceE6DoFg+0UNM2l0HiMsfOYIKynaF3uMDYf42M5KezHpEpOVgzI5FpOJgsyIXpQwWBCBW0y2gpEPmQ8GdGfh9w89iPvDEMhfsBD9xgtUQNEAQPFYgXMwgRsiJCTw+96Pf7hxMjw010F/QSFTo1YoQGVV+KoZMFcfBj+XLzgVLxYc/qACfSRn3fouXVPfxQ7s0fFxQGFPgKeurynpY8AWU8As54ANvQEkGKpjtwLfh5swLW9Azzzo9I6QFBlpyWA/rUWuQGVToDwGaIYGqdAGlfRNDGH1CSKq3EOrgkcYRNimA1TrAv/kMMwzaUg9IYo/sZzJ3Du0/lSd/T7CGN3FMTdUTh3R+GyO4oouqNI3B2Fp+4oQuqOIlB3FMzdMfAPOQzTXAq7oyDujsJFdwwSd8eAqTt+HXriqR+VUwEq8QcUQg8cKgS0BByQxRqYhRnYEGEgJbiOZrag6I/iCqpHpQWAxHqq52kp1dO4iuoRrZB6RoujnoV1UU9KCxyV3jp25CuM/iguYnoUV/4HlJc0PU+rmQO1bX8Bx/VNj2jt0jNatuxZG49yndtKBVtZwTbXpJWLrF4RdWzjcr9HcaX/K44JiP5qPy7P7cicyVGJPqKw2D8IfxtG2GH18TccYYBKfgIKkQIOkQJaIgXI4gHM+gzYkJ9ASogczeJRbsEst2BWacFMtmCWWzATLZiJFsxSC2a5BXGl9be8xNqjLnyky83sKm3qZJu63Ca+SABFtLYTre1Ca19ODtfh534U7a9Hwut6nryup9HreiQvFnuFXLBnZdQBipb3cvC3Mz+Kc/9L9DdEecZ/Sf6GFPwNcJz+XwZ/A0aT/svB3+Ao17mtVLCVFWxzTdjfQBF1NH8DFNceLyd4Tfxyki6HX6asBp5c+eUkXf++FFkNCrnyy0m+4H054WvdPdmGbNnmrN7m7A0GjOOCBPoyUtVooSLfPTWNIVL1cKJCPLJIpkFGKo23qEJ6kEAZTSoNSFZF6lORPAq4QB6xVIKGDKk8RkjmIR3ltiqMhkWOeSryvYazE5CqTYEKjbedrYJUco2ogoGQQF5CqrIVKpIdhgqQ2ZCqfYcKsQWRzG5EcjSmKG5rI4ztitRkH79NhhvLx35o95SRxdvJrnyIh/vLygs76u+unvmh3csDhjftHMcffc2S8SfGtxas3zAQgFKf/xb2VB8T4zjU9lST/EEwCEvYcXxGjAMkdxyTVgtV0DleuEuXYsGRU7t0B6nca8HwGePwuSDDh7eOmEH48N5RaWm6eZQEEb6i1cIXdA5fEbc5Fhw+4yJ8YXCGIEYlhZJkHdBQ6ENVweAGIYQ4KinQUVbhDiWqQc+lUuiTEcpopm6oGuFQYJimQjcY4w5wQYa+yB8Eg3AXhIE2xiE2QQS3aLWwBp0DWsRtjgUH0XgK327JC3cb+qN4EdujeK3eI3Fd2/N0XdvTeF3bI7p67RldvfYsXL32JF6rvxr6/syP4rLzVe5vFz7YjPpq6GOPyz92R0/s6KP1/yvsZkDQdKflNoKf0m4jDKj4NHSDIeoL49QhxlWvmJi7xiTqH+PcSSZwT5kQu8sw9RnO3xQG7r3K7E0q9CPO3acRQY/idH5BiPpWTeYkUS+nx34DD3snob8jp06PIvV8FFX3xxI5B6JOiRBFzoaockpENeZF1Cg50k5uFT1Ok7F93KoIJEzatnwqOKRO2s58oTglUXUzs9IpnYLGOQWbziCjkFI+oUTZhJLKJdRzJqFKeYQSZxFqnEOoxQxChfKHtqzmOHHu1Des5gKQN7Rj8zRRyBnax3mRKeVLZRdnVilXQOFMKVuCIE0MUY4YpwQxrrLDxJwaJlFeGOekMIEzwoSYDoYpF3BjH4WBs6CyrY9U6H/c8nYaEfQ87oK7IER9rvbAkUS9XTB3dbzNgT3OCnU8y9T/LKs04DI5G7gEJQXLnBusc4qwHjOFVUoYkt9VY8rpk2SVRVQIkokUyClSILVIgQxjhRKN5ZxvVILSjlTOPtvDA3nnjDLOBco1F1SWuZrzyzXKLBc4p1zhbHIl5pFzyqCwY48jwllT26/HMmRK2MJ2SgyyI2xru2BGGSE3tbFGWWCc+79cbkL3G6LeN06db1z1vYm5602injfOHW8C97sJsdsNU6/jbQgKA/d55SYEqdDjeAviNCLob7wrcUGIelvdkyCJ+rpg7urySih0tSHqauPU1cZVV5uYu9ok6mrj3NUmcFebELvaMHU1vthNYeCurrzWTSp0Nb7yfBoRdDW+BX1BiLpavQNNEnV1wdTVfwy9PLyS/gf2MLLSu8jii78g4D0xwPbqLzB/wxegv+ILsLzjC6j0ILBZaJm9oQIovkXYI/HkrufpcV1P4zO6HtEzt57RQ8aehfcEexIfuP0B/Xb81FBjmdQfxYdKPSoJiig/vu55euh0oPDEFXB8ft0jeh7dM3rfbc/aeJTr3FYq2MoKtrkm/DgUFFFHe/AJKD4d/wNHxxD91xN8A74/im/A90i8Ad/z9AZ8T+Mb8D2Sb8D3Cr0B3zN6A75n4Q34N5PDWw8nfhRdu0fCmHuePLmn0Y57JN9h6hXy6J6V+AOKDvxmMN9TP4qvNr7JluvCextEb7CXAIlR/oZ6CWgc5W9EL4FC4/9N6CVgYfy/CXPEmzA9vBmmAdc+xhH0hsx/oOUWJfS+IUoB4yoPTMzJYBJlhHGdFiZzbphACWKcsgRvMp8Sonyp3GQmFTLHEKWPcZVDJuZEMomyybhOKZM5r0zg5DIhZli+j25omgPxMZfirFM3zQepPFmF1DNEqWdcpZ6JOfVMotQzrlPPZE49Eyj1jFPq4QP2U0KUepXH66RC6hmi1DOuUs/EnHomUeoZ16lnMqeeCZx6JsTUwxcIKEOmORAfcylOPfX2QJHS+34nUuA0HHnfTxcRKanf99NqJT0r7/tpmVNVv+8nVUxb/UZDRZUpHMpgIkeB0zmqMqljEZHasQAneFQraR4LpWSPckr5KFPipxc9ZJZOa6H8WPtEGhDVtzwOBd5OeB/k20naB/mWn3US5uK8zYtwKp62OCYhfSQ0iz8WRProLr/xWrY/pGvZntG1bM/UtWwv5GvZHtO1bM/4WraHfC3bw3gt2yO6ln03GNmZH8WR9C5ZFvA0Zt6hOQGSo+NdsCFg8d3Rd2g4jmaxETPRA3YN/sRRrQNmugNmogP8Mhy+V8V/luNvF+L+0at2AT78DpIRPkdVaERr7eI8sEpzG93ccH2OvITBq92IKDQqCp+3Xz43fb2889pYpBXNaWtVb3XVW9FTfOmOkqi+XbtjudxhfvHuxVZ0KBq0Ev1De7hAWTd385wZXSzUidN0tbh1Om6diBu/6IySiFunur3Lyb+Jh1s6FI3BV86G8+EG61Iy7bBOAnux3mOdVBGytMs6Ccmf8z7rpFCw0k5rFsCz09UPc+Xe6uqHJfLx2tUPy+zo6eqHOXl74TPR7OTyJpDVGx/tX2X6ptX6N9m/CdXu5YnAOJmLr3rCwOfFEH+NqmWaIUxgG3JhLFRqwnBNzBom0tRhvBbGPIkUJc0kRWhF4TSnmDDaTjW7mFZLido8Y3qtrWnGMaGSGWnuKcJKsVoI0lTkgpyPiiwmpSJ1oniankwY7QI1UZlW64LalGV6rQvy5GVKZdRuBNsqVmu+mtXCBUeY26KSvjPKaZ6Lso57LKOiH0ukPohynv+ingMedQ57VNOMmG7KnEmBZ8eRmzK6iJgp9U0ZrVZmzcpNGS3zDKpvykh1Vg1ZnlOjzDNrVP+DjJKzbCwxnlF5xo3ydxIqzb5RZael+wLR7eRNA/3F9fbkuTnKyZ1J/n7I5WxNJdScHYvwzB3V8U4Rs3jQ81we5Lb6wTyvR/k/iI6c42OJ8YSszvex1HiE8twf5dG8zOuAIK/qynj48sqAZL0+CIXUKiEU6KofzSuGKP8HnStXD7HEeOdWVxKx1HjnilVF1Ec9aVNVtnVlPHR5zfF+WGic+VGcI9/jggKQmCvf08IBaJwV34cFAjC69/0eFgJA4hT3fsKvH72fpDePypMBbGvaIcWcWq13SLGY2592SDHnSOQdUizEmKQdUsQpOpWdReHxCMZJ7yySIkVsZGeRLJFjp3cWSZGjWNlZJNUYT72zSIkU2bFNNvBoCYOrNtkIiQJb3WQj9BxUtclGSBxQuclGaDGYapNNliiQ9R0o5QEcxjDtQGFO0dM7UFjMcUs7UJhzxPIOFBZirNIOFOIUpcrOjfe8PaGuUMBqOzcqsgrfyM6NSgkKZnXnRkXn0FZ2blRUCvTolgVWOexhy0JiFOq8ZSEJKrxyy0LSKKRiy0JSOIxpy0LiFLrKG/7OOVz2xw6eK0bhcoHC5YIKl6s5XK5RuFzgcLnC4XIlhss5hcsECpdxDtfwA+7PM6FQFUyBKliFqWg5SEWhEBXMASqcw1N4DE6hFJoBU2AGSmH5MITkqR+VcACKvyX6IYUBePot0Q/YfED0W6IfQrOBhd8S/YDNdfQitOdF7LkexSsuF17Fo5gKPRL93fPU1z2N/dwjecuqV6j3exZvTvUodu8e+W/E9kdxu0GPSggAhYYAT5sSeloaAsiqC8x6DNjQY0BKCxyVK9szIOU20HlBsZObnJh2jweRTsxGJma4fwM452sj8rUR+Wp3ZBy18Sg3o63UuZV1bnPl+E4KKKLadssEUB5TcG/EOgTvSXjPdaFnu5yNXSX1Opl6XU49vpkAikjKTiRlF5JyOrjeuR/F17Wm6HqAxC6IKbke0LgLYhpcDxjtx5iC6wGJ2x+mE3x1coreBUi8JDkl7wIaX4ecCu8ChV58nKJ3AYqvOE4nuOdnit4FKNr3NHkX8GTCU/QuQGS10+BdwMIEO0XvclSc6qmRvX7qR6VNgOI7m9NkVMDT7wNN2agAx1/amwajAkY/lzdFo/KGtaFAm5uhfgl6SkYFNFdO/xL0NBgVsPhL0FM0KkdmVN4fXSjQ5YaoXzmckiMBzQ3RP2I4DY4ETMQ//kbhnmzDONnm8bxN4/bjYGTDD2V9RCdDZg80gcW7wCDgrV/Adr8XmD+kBOg3bQGWO7WA7Bmks72lPT23I5sqHcWp0jlOlU5tqnTEU6UrPlU6s6nSkU2Vhvply5k1wh8FAosLso/J1LBs/pWyj2hryGj6+xh8DQuW+AOy+Dsrk/sTIMOyzAvRZxrRXH/4hqzS3ka3Nz5bAy7i0Ig4NCoO/MBsz+ZhOM3juOsRbVb+OHglfEcrgtDWGtzqBreiYekZGUg++ADa4zBgoqN9decMV3eeAF0coZ2wl65mJZ22kk5YSXpeBJJymU65TEcugw8tEuOGpMcWSZDNVA8uksYNzo8ukpLaxw8vEmc/xe2Fg1ml7YXMlb2q7YUskdHWtheyzJabthcyJ/MtHB3KGA9JE8iLjcvxaqoYtKbxyDWBfcmEZE6mkFMbjxfRxmnE8jMr/hpVy+TgJrCNuzAWKmXorglXN7EWx+TvJlTjmJy+CGD3hsjzjbPxF6EV35umABNGg6UmA9Nq8ahNC6bX4pXmBxN4kkhPOVkQ00WRcM4wVvNbPXuYOmKraR4xoTKZmF613TytmEK2S48jFeYWqweSSpMBqTySVDKHRT6UVGJqvHgsqSSeeUCDyQcpzT8oqSkI9TwLoUoTEUp6LsISPB2hRjMSSjQpgYQOjJitAjWanVCSRoIFhJegzHaCGjsGaslkUaT5CiWassLz6mAc4km2+L5K1dP0hRrPYEH7TjjVPBZkMZWhPhLuNKGhNhbuNK2BBjMbUprcUOL5DbRWnyPNcqh9L6BqrkN5JGC1GQ+LpAsiFHniQ43nPvX6hNDEDAgqToKIR2YFPRVigXHnTxMiapU5EYuMTQ55ZkQxTg77ncJfLav2R5tw5D+X3h/F+3M9SvfhimXi9xa0yWibP8inMZ7PNVgwnqugTUbb/EE+l/F8rvDOE5ww8E2Fbyvfw+ePYq4EdCVUAehG0q38Bj45SvnU5SUcOG9Bm4y2+YN8OuP5XPYuBZzM2Eawrfgsn8+FfEJ7GwFOaGwj2FZ8lk/oQj4h/M37k0A2iWzTp/hE4m/eDwr+WeuTiDYZbfMH+VTqz1ofpMsdvdxbix3FFxv2ZGHn7I/ihNej+PwfhPjM6nKS3pC4nOCfGLxEBwcknrRdkl8DjU/aLoU7g0JP2i6DFwMLP5x4GTrncoJPFy4x/oBSXa9wOXZeyG3Qb1Vkr9JdiPOAb3NJ/T1pz+Z5wLe5ZOV70i9blG8y4VaV1t92mPIn6y+zq30Izwfaf3H+OyJHWSYtRypeeBv6aqMijrT90UPQtkGj3uaBNlDdaYa5Pjghn8Zv2OQvfciltrkUV1TN0YOkU8Mw17ZwqC3uRKQvfciltrkU11btTCySeuu5VE2+9axErLxeHkT+UCm/rZRPDaotGwZdXbads8ItorXGafqqjTzBgyy7lWW5HZUVSFH9Mi41A6TUDtCwIYA3+iQPuvRWl06NQS23ht91Hmqb3nUmDi3Iyy9DD7nUNpfiGqsV2SClt16HauW3XlmACoslnLMHUW4rynGl5bJu0NLLp0Pl8sunLECtxTrQ2YMotxXluNZybXjQPk0O96NO/SguwnpU7j4BEu9K9Dwt1Xoa35XoEb0R0TN6I6Jn4Y2InsS3PT5BxJ3sxsOiWa/7mx9PC4wfanJD6Y2cA9INzW/kHGh6I6fHuf38Rk7PRPvbeJTrrF6/6bmsYJtrol+/6RVRR3r9pke5Q+gvcn/KS6AnURjoYdW0v77ot1n6kd0fcWQ38QDFLZQHoVxmrwSirzVO3+1cnUDsD5UCnay2O1Sr4sTxb8yJPy+n/7Lc7TASTvwo+sUtjgRE+XLmlkYCUhgJgONVzm0YCcDoWuZ2GAlwlOvcVirYygq2uSY8EkARdWzjVeItjoQB5V3rWqC2VPasV1TR6PqO9UqB3FeV/epa5ejU9qtLua0Ko2GRvV3fjK4LjDarkg61nehapiSpbEQ/qHeT4QaxH0XP6JH4qfKe411gp/Gnynskf6q8V+inyntGP1Xes/BT5XeDDR1WNXdoQ4Cwdj1dhsYuc2OXlcYuZWOXubHLamOXorFL0dhlamy8T7gMTV/mpvNScaDhkfhRRBSEygNxEnM48uNw4jow4mE4CRyi9Cg8YggWXuJTIDhs6hJ/kMKvIh1FRLGr/CYSiTl2+ReRiOvY5d9DYoFjl34OKWKIXfgxpBgIjp264VCk/FsRR0rgOI79UoQsImJa+Z0IqVbiW/mVCC2nWOsfiVAixj3/RIQKZeqD6g9EDAXKrW3oA0MUfeMq7ibmiJtEsTauo2wyx9cEjqwJMab5ccAS7/1TIDiC6t7/QdqtF+hu/57QDfp2OLF/ZBOO/FqpDavoNq+iW7mKLosTrkq6MUocKoU3Rgk95PNsBaKK1h9etvJW45nQuN7pVuNQ03SrUfGHSgW2NU4N+s4TSljfcZvUrcYsQXvoVmOmD/K0W02pHaMPO1u+OXcWMdcfb84N1cSbc4Qe8nm2AlGF649L29Hd/Kxy3UmGJpCyqSoP1aps6wo1j+XcysrG+zbfgmQB2hRuQTJ7ECfbKkZ1H3myXC42+jt65+cRla9hbhsaicddjSTCqVmy/Y3EfZMjCb7TkYSy3ZGw7XmM/DKjK4EqYSiPCjMvj/2SMiTGs4ivc8nrXcNn95mLajSV6jWV6jVjvdTUeyn+sTDSKj3Y1HqwqfXgp4xEh95UMjDeAmP1c0ZzgSrxnI/FbV6P27wSm3ktNvNabP47I1HqdjQGC4EqDV6Mf5H9ZbXI7zISbVxWzrmsJO1ytC7LyvhuBaqcuB3r3bbeu22ld9OfqSO51vltJaxtpYlfBCrTDNnMv3PRlUCVAK0qPbMa7RkRsXXlBOvKCdZVO12Pnlqh0Q90AlXq2o1lS1fPlq6SLXxdxXItW7qaVXR6ItwvNC7ivL/JyN+XN7TNpWyRwRyaT9K3XKNvlQh/q2TDNzEL6b99apiXXXiReRy/YZMRrLnya2ht5TW0tv4a2heo6Ol5If7wy9A2fIRO8EV/9/AttXeHol4Ty+tIh8dt9FWmnrm6aD7dly89/P+H8wtTywf7Vc5RxrbSyVqopvjKlf6YW5jQLK+UFu0hl1hX8MgJ1yMnRGtT6nerM/TFYZithlX8sR/F20IrXLsDEjeJVrRiBxpvDa3COh0Y3fFZweociL0wb2h4Ke4UwGGwnBvZLdoOg3QFyzUg2B7A3hyAQ2uAlMYAKm1xFA9CRzlfhINUz0XtY4PXOdmtqU7sYBkOhm8FMuQbEjwP8CH4Tr5g3M2SPPCwT8HL7b7zzA/CuZx32JwuhaLTXdapLutSl9HsCULuyy735TBXOviKzduGg6HmQLyKAyx31GAoGqLxaJwGpXE1Mk3Mw9MkGqPGeaCawKPVhDhkDdO49RubmBx8u/M8Yh/GRmJiGBbZYVpKEVNinhimnDBOiQGvGDNR47aIi0x0o+ToNzFaQMHuA4UsM4mOYDjagmPhDSZGg7Db1KmD2SoKz35RFDcHI8o54KEnhaLTUVVGIp54sqJTRftKetzJvJJI0Wbg3j6FZptJdB1xy35Qwt9qIkTWk/5SE3NlPfIPNZFE1pP/TBMLbD3przQRJuuhP9J0yjRYT8FuPUZiPhkW+WRayidTYj4ZpowxThkDuxKYKNMo4iIT3ShpPSZG6ynYraeQZSbRegxH63EsrMfEaD32Mn7qYLYe8beR6BPuLkaU9cA7AxSKTkdVWY94YYAVnSraetLbAswriRStB14VoNBsM4nWI94TKEp4eo0GFAW2oaiyGUVVWlIsIowpFmB7imoyqSgnq4oyGVYU2baCSplKWrSwIIKRRU45GkWVqbFEzteoU9ZGkbMzqpyjQa1yaVmhyKLGx0KhrTAWIUMMIthi4MsaJ4uMIhklicouYxEyzSB+qaRXMtCgChsNOvhl5NJS+VUiGVK21/qLRLrEd1KXDXfsLSJdZjS9kwWrV4ik9rUS4m2NkzXXXh866HlrldhSVd5kGD7C129DobTqJw7foPfWrdPkTRy/obLhci3+lHhS8Hukp5ZP6BEhVfhOHxu0hXM42v/NXCbxbqBjcauviB8Smdr910L2fz7+WSRlpiUMM2RUyo3e4Q7uaRYH5XBf+OswzR/M5ivO7YDKhA4ovoPtHF+8dmpvWzvyt6ed+evizso+Zif26rShkghPrU1Rb3Kb/N16QLpNjWxTfHXecW5qI5raiKa28SjXua1UsJUVbHNN0nvtrog6+hvsjnLs6fd2N2XdeG5H8f2+TVghOorLQufpLcBNWAA68lWfM1/qOSvrOye2qDNUEuqJtckXfRtMKEBxG88mJRTwtL7dcEIBjmvdTUgoYLSq3QwJBUe5zm2lgq2sYJtrkn6GxxVRR//RHUdxQb3BhDoE/2GC2/ceMPiA4va9hxR84Ol52wMHH3DcNPcQgg+Mtu9ti6v6kY1mR+aqjsTOli27qtO4h2UbXdUZbcLZoqs6iRtStji9HhmKBZrcKNqytM226lw2SuxI2gZbdSTayhuOtsVW/SjXWe0n2rKtOs010duFttFWncWNQdtgq4Z8+TJEHx9InBCiNqUHEsxVg9UDCZao6fmBBAvcHfxAgjHFIS1dKRaiKOekcUpM5yOxECnqUs5T0ypxShlrQi1OrUCVBsosNrHeEM5n4zqpTa61hdPbeKVvU6LDK9OQ60gpAihRxqOk4oN6DhGqFCWUOBKocceiFscAKhQq9bsaOVj6AzweUKIhEaTxYImBEdQ8NlCuxzKNENRGYtlqWm+7HC2ojzaQxwxKethgiZE28uBBqZ4UPIS+lfXquR3FNfi3sF4FlNfg33i9ChTXq47j0vxbXK86o6X5t7Je9aNc57ZSwVZWsM01SetVV0Qdfb3qKF4rfMOZiBHVP81EiYvGqZkoSbkf0kzEnFubZyISWoEqDZS9pGYiliqVrXRanolYoO5LM9HAy/0qhaiJxqkPnYumm5ib7lLuQ9MoLMa53SZwHxahFajSQNmHJtYbwn1oXPehybW2cB8apz7EX0GqYWpq0Kg/oyZCEQrkcEQ5923QKWRB47gEkfsZxbaCR4Ig+zwUGG8o933QdP+HImNt5TwIGuTCv/73/wO+9kRf"')},e1a1:function(e){e.exports=JSON.parse('"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"')},e220:function(e,t,n){"use strict";var r=n("c922"),i=n("9aae"),o=n("f2b5"),s=n("5838"),a=n("aa68"),l=Object.prototype.toString,c=0,u=4,h=0,d=1,f=2,p=-1,m=0,g=8;function b(e){if(!(this instanceof b))return new b(e);this.options=i.assign({level:p,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==h)throw new Error(s[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"===typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,n=r.deflateSetDictionary(this.strm,c),n!==h)throw new Error(s[n]);this._dict_set=!0}}function y(e,t){var n=new b(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}function v(e,t){return t=t||{},t.raw=!0,y(e,t)}function x(e,t){return t=t||{},t.gzip=!0,y(e,t)}b.prototype.push=function(e,t){var n,s,a=this.strm,p=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?u:c,"string"===typeof e?a.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(p),a.next_out=0,a.avail_out=p),n=r.deflate(a,s),n!==d&&n!==h)return this.onEnd(n),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||s!==u&&s!==f)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&n!==d);return s===u?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===h):s!==f||(this.onEnd(h),a.avail_out=0,!0)},b.prototype.onData=function(e){this.chunks.push(e)},b.prototype.onEnd=function(e){e===h&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=b,t.deflate=y,t.deflateRaw=v,t.gzip=x},e2b2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeMap=t.OpIterator=t.Op=void 0;const r=n("e71d"),i=n("0eb9"),o=n("51a1"),s=n("1085");t.AttributeMap=s.default;const a=n("2733");t.Op=a.default;const l=n("7992");t.OpIterator=l.default;const c=String.fromCharCode(0),u=(e,t)=>{if("object"!==typeof e||null===e)throw new Error("cannot retain a "+typeof e);if("object"!==typeof t||null===t)throw new Error("cannot retain a "+typeof t);const n=Object.keys(e)[0];if(!n||n!==Object.keys(t)[0])throw new Error(`embed types not matched: ${n} != ${Object.keys(t)[0]}`);return[n,e[n],t[n]]};class h{constructor(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]}static registerEmbed(e,t){this.handlers[e]=t}static unregisterEmbed(e){delete this.handlers[e]}static getHandler(e){const t=this.handlers[e];if(!t)throw new Error(`no handlers for embed type "${e}"`);return t}insert(e,t){const n={};return"string"===typeof e&&0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))}delete(e){return e<=0?this:this.push({delete:e})}retain(e,t){if("number"===typeof e&&e<=0)return this;const n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)}push(e){let t=this.ops.length,n=this.ops[t-1];if(e=i(e),"object"===typeof n){if("number"===typeof e.delete&&"number"===typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"===typeof n.delete&&null!=e.insert&&(t-=1,n=this.ops[t-1],"object"!==typeof n))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this}chop(){const e=this.ops[this.ops.length-1];return e&&"number"===typeof e.retain&&!e.attributes&&this.ops.pop(),this}filter(e){return this.ops.filter(e)}forEach(e){this.ops.forEach(e)}map(e){return this.ops.map(e)}partition(e){const t=[],n=[];return this.forEach(r=>{const i=e(r)?t:n;i.push(r)}),[t,n]}reduce(e,t){return this.ops.reduce(e,t)}changeLength(){return this.reduce((e,t)=>t.insert?e+a.default.length(t):t.delete?e-t.delete:e,0)}length(){return this.reduce((e,t)=>e+a.default.length(t),0)}slice(e=0,t=1/0){const n=[],r=new l.default(this.ops);let i=0;while(i<t&&r.hasNext()){let o;i<e?o=r.next(e-i):(o=r.next(t-i),n.push(o)),i+=a.default.length(o)}return new h(n)}compose(e){const t=new l.default(this.ops),n=new l.default(e.ops),r=[],i=n.peek();if(null!=i&&"number"===typeof i.retain&&null==i.attributes){let e=i.retain;while("insert"===t.peekType()&&t.peekLength()<=e)e-=t.peekLength(),r.push(t.next());i.retain-e>0&&n.next(i.retain-e)}const a=new h(r);while(t.hasNext()||n.hasNext())if("insert"===n.peekType())a.push(n.next());else if("delete"===t.peekType())a.push(t.next());else{const e=Math.min(t.peekLength(),n.peekLength()),r=t.next(e),i=n.next(e);if(i.retain){const l={};if("number"===typeof r.retain)l.retain="number"===typeof i.retain?e:i.retain;else if("number"===typeof i.retain)null==r.retain?l.insert=r.insert:l.retain=r.retain;else{const e=null==r.retain?"insert":"retain",[t,n,o]=u(r[e],i.retain),s=h.getHandler(t);l[e]={[t]:s.compose(n,o,"retain"===e)}}const c=s.default.compose(r.attributes,i.attributes,"number"===typeof r.retain);if(c&&(l.attributes=c),a.push(l),!n.hasNext()&&o(a.ops[a.ops.length-1],l)){const e=new h(t.rest());return a.concat(e).chop()}}else"number"===typeof i.delete&&("number"===typeof r.retain||"object"===typeof r.retain&&null!==r.retain)&&a.push(i)}return a.chop()}concat(e){const t=new h(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t}diff(e,t){if(this.ops===e.ops)return new h;const n=[this,e].map(t=>t.map(n=>{if(null!=n.insert)return"string"===typeof n.insert?n.insert:c;const r=t===e?"on":"with";throw new Error("diff() called "+r+" non-document")}).join("")),i=new h,a=r(n[0],n[1],t,!0),u=new l.default(this.ops),d=new l.default(e.ops);return a.forEach(e=>{let t=e[1].length;while(t>0){let n=0;switch(e[0]){case r.INSERT:n=Math.min(d.peekLength(),t),i.push(d.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);const e=u.next(n),a=d.next(n);o(e.insert,a.insert)?i.retain(n,s.default.diff(e.attributes,a.attributes)):i.push(a).delete(n);break}t-=n}}),i.chop()}eachLine(e,t="\n"){const n=new l.default(this.ops);let r=new h,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;const o=n.peek(),s=a.default.length(o)-n.peekLength(),l="string"===typeof o.insert?o.insert.indexOf(t,s)-s:-1;if(l<0)r.push(n.next());else if(l>0)r.push(n.next(l));else{if(!1===e(r,n.next(1).attributes||{},i))return;i+=1,r=new h}}r.length()>0&&e(r,{},i)}invert(e){const t=new h;return this.reduce((n,r)=>{if(r.insert)t.delete(a.default.length(r));else{if("number"===typeof r.retain&&null==r.attributes)return t.retain(r.retain),n+r.retain;if(r.delete||"number"===typeof r.retain){const i=r.delete||r.retain,o=e.slice(n,n+i);return o.forEach(e=>{r.delete?t.push(e):r.retain&&r.attributes&&t.retain(a.default.length(e),s.default.invert(r.attributes,e.attributes))}),n+i}if("object"===typeof r.retain&&null!==r.retain){const i=e.slice(n,n+1),o=new l.default(i.ops).next(),[a,c,d]=u(r.retain,o.insert),f=h.getHandler(a);return t.retain({[a]:f.invert(c,d)},s.default.invert(r.attributes,o.attributes)),n+1}}return n},0),t.chop()}transform(e,t=!1){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);const n=e,r=new l.default(this.ops),i=new l.default(n.ops),o=new h;while(r.hasNext()||i.hasNext())if("insert"!==r.peekType()||!t&&"insert"===i.peekType())if("insert"===i.peekType())o.push(i.next());else{const e=Math.min(r.peekLength(),i.peekLength()),n=r.next(e),a=i.next(e);if(n.delete)continue;if(a.delete)o.push(a);else{const r=n.retain,i=a.retain;let l="object"===typeof i&&null!==i?i:e;if("object"===typeof r&&null!==r&&"object"===typeof i&&null!==i){const e=Object.keys(r)[0];if(e===Object.keys(i)[0]){const n=h.getHandler(e);n&&(l={[e]:n.transform(r[e],i[e],t)})}}o.retain(l,s.default.transform(n.attributes,a.attributes,t))}}else o.retain(a.default.length(r.next()));return o.chop()}transformPosition(e,t=!1){t=!!t;const n=new l.default(this.ops);let r=0;while(n.hasNext()&&r<=e){const i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r<e||!t)&&(e+=i),r+=i):e-=Math.min(i,e-r)}return e}}h.Op=a.default,h.OpIterator=l.default,h.AttributeMap=s.default,h.handlers={},t.default=h,e.exports=h,e.exports.default=h},e372:function(e,t,n){t=e.exports=n("ad71"),t.Stream=t,t.Readable=t,t.Writable=n("dc14"),t.Duplex=n("b19a"),t.Transform=n("27bf"),t.PassThrough=n("780f")},e3db:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},e498:function(e){e.exports=JSON.parse('"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"')},e71d:function(e,t){var n=-1,r=1,i=0;function o(e,t,n,r,o){if(e===t)return e?[[i,e]]:[];if(null!=n){var a=A(e,t,n);if(a)return a}var l=c(e,t),u=e.substring(0,l);e=e.substring(l),t=t.substring(l),l=h(e,t);var d=e.substring(e.length-l);e=e.substring(0,e.length-l),t=t.substring(0,t.length-l);var p=s(e,t);return u&&p.unshift([i,u]),d&&p.push([i,d]),x(p,o),r&&f(p),p}function s(e,t){var s;if(!e)return[[r,t]];if(!t)return[[n,e]];var l=e.length>t.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!==u)return s=[[r,l.substring(0,u)],[i,c],[r,l.substring(u+c.length)]],e.length>t.length&&(s[0][0]=s[2][0]=n),s;if(1===c.length)return[[n,e],[r,t]];var h=d(e,t);if(h){var f=h[0],p=h[1],m=h[2],g=h[3],b=h[4],y=o(f,m),v=o(p,g);return y.concat([[i,b]],v)}return a(e,t)}function a(e,t){for(var i=e.length,o=t.length,s=Math.ceil((i+o)/2),a=s,c=2*s,u=new Array(c),h=new Array(c),d=0;d<c;d++)u[d]=-1,h[d]=-1;u[a+1]=0,h[a+1]=0;for(var f=i-o,p=f%2!==0,m=0,g=0,b=0,y=0,v=0;v<s;v++){for(var x=-v+m;x<=v-g;x+=2){var w=a+x;A=x===-v||x!==v&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1;var k=A-x;while(A<i&&k<o&&e.charAt(A)===t.charAt(k))A++,k++;if(u[w]=A,A>i)g+=2;else if(k>o)m+=2;else if(p){var S=a+f-x;if(S>=0&&S<c&&-1!==h[S]){var C=i-h[S];if(A>=C)return l(e,t,A,k)}}}for(var T=-v+b;T<=v-y;T+=2){S=a+T;C=T===-v||T!==v&&h[S-1]<h[S+1]?h[S+1]:h[S-1]+1;var z=C-T;while(C<i&&z<o&&e.charAt(i-C-1)===t.charAt(o-z-1))C++,z++;if(h[S]=C,C>i)y+=2;else if(z>o)b+=2;else if(!p){w=a+f-T;if(w>=0&&w<c&&-1!==u[w]){var A=u[w];k=a+A-w;if(C=i-C,A>=C)return l(e,t,A,k)}}}}return[[n,e],[r,t]]}function l(e,t,n,r){var i=e.substring(0,n),s=t.substring(0,r),a=e.substring(n),l=t.substring(r),c=o(i,s),u=o(a,l);return c.concat(u)}function c(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(n<i)e.substring(o,i)==t.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return w(e.charCodeAt(i-1))&&i--,i}function u(e,t){var n=e.length,r=t.length;if(0==n||0==r)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));var i=Math.min(n,r);if(e==t)return i;var o=0,s=1;while(1){var a=e.substring(i-s),l=t.indexOf(a);if(-1==l)return o;s+=l,0!=l&&e.substring(i-s)!=t.substring(0,s)||(o=s,s++)}}function h(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(n<i)e.substring(e.length-i,e.length-o)==t.substring(t.length-i,t.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return k(e.charCodeAt(e.length-i))&&i--,i}function d(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function i(e,t,n){var r,i,o,s,a=e.substring(n,n+Math.floor(e.length/4)),l=-1,u="";while(-1!==(l=t.indexOf(a,l+1))){var d=c(e.substring(n),t.substring(l)),f=h(e.substring(0,n),t.substring(0,l));u.length<f+d&&(u=t.substring(l-f,l)+t.substring(l,l+d),r=e.substring(0,n-f),i=e.substring(n+d),o=t.substring(0,l-f),s=t.substring(l+d))}return 2*u.length>=e.length?[r,i,o,s,u]:null}var o,s,a,l,u,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));if(!d&&!f)return null;o=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(s=o[0],a=o[1],l=o[2],u=o[3]):(l=o[0],u=o[1],s=o[2],a=o[3]);var p=o[4];return[s,a,l,u,p]}function f(e){var t=!1,o=[],s=0,a=null,l=0,c=0,h=0,d=0,f=0;while(l<e.length)e[l][0]==i?(o[s++]=l,c=d,h=f,d=0,f=0,a=e[l][1]):(e[l][0]==r?d+=e[l][1].length:f+=e[l][1].length,a&&a.length<=Math.max(c,h)&&a.length<=Math.max(d,f)&&(e.splice(o[s-1],0,[n,a]),e[o[s-1]+1][0]=r,s--,s--,l=s>0?o[s-1]:-1,c=0,h=0,d=0,f=0,a=null,t=!0)),l++;t&&x(e),v(e),l=1;while(l<e.length){if(e[l-1][0]==n&&e[l][0]==r){var p=e[l-1][1],m=e[l][1],g=u(p,m),b=u(m,p);g>=b?(g>=p.length/2||g>=m.length/2)&&(e.splice(l,0,[i,m.substring(0,g)]),e[l-1][1]=p.substring(0,p.length-g),e[l+1][1]=m.substring(g),l++):(b>=p.length/2||b>=m.length/2)&&(e.splice(l,0,[i,p.substring(0,b)]),e[l-1][0]=r,e[l-1][1]=m.substring(0,m.length-b),e[l+1][0]=n,e[l+1][1]=p.substring(b),l++),l++}l++}}var p=/[^a-zA-Z0-9]/,m=/\s/,g=/[\r\n]/,b=/\n\r?\n$/,y=/^\r?\n\r?\n/;function v(e){function t(e,t){if(!e||!t)return 6;var n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(p),o=r.match(p),s=i&&n.match(m),a=o&&r.match(m),l=s&&n.match(g),c=a&&r.match(g),u=l&&e.match(b),h=c&&t.match(y);return u||h?5:l||c?4:i&&!s&&a?3:s||a?2:i||o?1:0}var n=1;while(n<e.length-1){if(e[n-1][0]==i&&e[n+1][0]==i){var r=e[n-1][1],o=e[n][1],s=e[n+1][1],a=h(r,o);if(a){var l=o.substring(o.length-a);r=r.substring(0,r.length-a),o=l+o.substring(0,o.length-a),s=l+s}var c=r,u=o,d=s,f=t(r,o)+t(o,s);while(o.charAt(0)===s.charAt(0)){r+=o.charAt(0),o=o.substring(1)+s.charAt(0),s=s.substring(1);var v=t(r,o)+t(o,s);v>=f&&(f=v,c=r,u=o,d=s)}e[n-1][1]!=c&&(c?e[n-1][1]=c:(e.splice(n-1,1),n--),e[n][1]=u,d?e[n+1][1]=d:(e.splice(n+1,1),n--))}n++}}function x(e,t){e.push([i,""]);var o,s=0,a=0,l=0,u="",d="";while(s<e.length)if(s<e.length-1&&!e[s][1])e.splice(s,1);else switch(e[s][0]){case r:l++,d+=e[s][1],s++;break;case n:a++,u+=e[s][1],s++;break;case i:var f=s-l-a-1;if(t){if(f>=0&&C(e[f][1])){var p=e[f][1].slice(-1);if(e[f][1]=e[f][1].slice(0,-1),u=p+u,d=p+d,!e[f][1]){e.splice(f,1),s--;var m=f-1;e[m]&&e[m][0]===r&&(l++,d=e[m][1]+d,m--),e[m]&&e[m][0]===n&&(a++,u=e[m][1]+u,m--),f=m}}if(S(e[s][1])){p=e[s][1].charAt(0);e[s][1]=e[s][1].slice(1),u+=p,d+=p}}if(s<e.length-1&&!e[s][1]){e.splice(s,1);break}if(u.length>0||d.length>0){u.length>0&&d.length>0&&(o=c(d,u),0!==o&&(f>=0?e[f][1]+=d.substring(0,o):(e.splice(0,0,[i,d.substring(0,o)]),s++),d=d.substring(o),u=u.substring(o)),o=h(d,u),0!==o&&(e[s][1]=d.substring(d.length-o)+e[s][1],d=d.substring(0,d.length-o),u=u.substring(0,u.length-o)));var g=l+a;0===u.length&&0===d.length?(e.splice(s-g,g),s-=g):0===u.length?(e.splice(s-g,g,[r,d]),s=s-g+1):0===d.length?(e.splice(s-g,g,[n,u]),s=s-g+1):(e.splice(s-g,g,[n,u],[r,d]),s=s-g+2)}0!==s&&e[s-1][0]===i?(e[s-1][1]+=e[s][1],e.splice(s,1)):s++,l=0,a=0,u="",d="";break}""===e[e.length-1][1]&&e.pop();var b=!1;s=1;while(s<e.length-1)e[s-1][0]===i&&e[s+1][0]===i&&(e[s][1].substring(e[s][1].length-e[s-1][1].length)===e[s-1][1]?(e[s][1]=e[s-1][1]+e[s][1].substring(0,e[s][1].length-e[s-1][1].length),e[s+1][1]=e[s-1][1]+e[s+1][1],e.splice(s-1,1),b=!0):e[s][1].substring(0,e[s+1][1].length)==e[s+1][1]&&(e[s-1][1]+=e[s+1][1],e[s][1]=e[s][1].substring(e[s+1][1].length)+e[s+1][1],e.splice(s+1,1),b=!0)),s++;b&&x(e,t)}function w(e){return e>=55296&&e<=56319}function k(e){return e>=56320&&e<=57343}function S(e){return k(e.charCodeAt(0))}function C(e){return w(e.charCodeAt(e.length-1))}function T(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}function z(e,t,o,s){return C(e)||S(s)?null:T([[i,e],[n,t],[r,o],[i,s]])}function A(e,t,n){var r="number"===typeof n?{index:n,length:0}:n.oldRange,i="number"===typeof n?null:n.newRange,o=e.length,s=t.length;if(0===r.length&&(null===i||0===i.length)){var a=r.index,l=e.slice(0,a),c=e.slice(a),u=i?i.index:null,h=a+s-o;if((null===u||u===h)&&!(h<0||h>s)){var d=t.slice(0,h),f=t.slice(h);if(f===c){var p=Math.min(a,h),m=l.slice(0,p),g=d.slice(0,p);if(m===g){var b=l.slice(p),y=d.slice(p);return z(m,b,y,c)}}}if(null===u||u===a){var v=a;d=t.slice(0,v),f=t.slice(v);if(d===l){var x=Math.min(o-v,s-v),w=c.slice(c.length-x),k=f.slice(f.length-x);if(w===k){b=c.slice(0,c.length-x),y=f.slice(0,f.length-x);return z(l,b,y,w)}}}}if(r.length>0&&i&&0===i.length){m=e.slice(0,r.index),w=e.slice(r.index+r.length),p=m.length,x=w.length;if(!(s<p+x)){g=t.slice(0,p),k=t.slice(s-x);if(m===g&&w===k){b=e.slice(p,o-x),y=t.slice(p,s-x);return z(m,b,y,w)}}}return null}function O(e,t,n,r){return o(e,t,n,r,!0)}O.INSERT=r,O.DELETE=n,O.EQUAL=i,e.exports=O},ea98:function(e,t,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("1d80"),s=n("5926"),a=n("577e"),l=n("d039"),c=i("".charAt),u=l((function(){return"\ud842"!=="𠮷".at(-2)}));r({target:"String",proto:!0,forced:u},{at:function(e){var t=a(o(this)),n=t.length,r=s(e),i=r>=0?r:n+r;return i<0||i>=n?void 0:c(t,i)}})},eec5:function(e,t,n){(function(t){var r=n("9826");e.exports=function(e,n){e instanceof t&&(e=e.toString());var i=null;if("string"===typeof e)try{i=JSON.parse(e)}catch(o){throw new Error("The JSON structure is invalid")}else i=e;return r(i,n)}}).call(this,n("b639").Buffer)},f136:function(e,t,n){"use strict";var r=n("1e42");const i=["rgb(255, 213, 73)","rgb(255, 136, 126)","rgb(107, 225, 141)","rgb(151, 171, 255)","rgb(129, 220, 242)","rgb(255, 163, 125)","rgb(152, 132, 234)"];class o{constructor({mindMap:e}){this.mindMap=e}updateRainLinesConfig(e={}){const t=this.mindMap.opt.rainbowLinesConfig||{};t.open=!!e.open,t.colorsList=Array.isArray(e.colorsList)?e.colorsList:[],this.mindMap.opt.rainbowLinesConfig.open&&this.removeNodeLineColor(),this.mindMap.render()}removeNodeLineColor(){const e=this.mindMap.renderer.renderTree;if(!e)return;const t=e=>{e&&Object(r["Db"])(e,null,e=>{e&&e.data&&delete e.data.lineColor},null,!0)};Array.isArray(e)?e.forEach(e=>t(e)):t(e),this.mindMap.command.addHistory()}getSecondLayerAncestor(e){if(0===e.layerIndex)return null;if(1===e.layerIndex)return e;{let t=null,n=e.parent;while(n){if(1===n.layerIndex)return n;n=n.parent}return t}}getColorsList(){const{rainbowLinesConfig:e}=this.mindMap.opt;return e&&Array.isArray(e.colorsList)&&e.colorsList.length>0?e.colorsList:[...i]}getNodeColor(e){const{rainbowLinesConfig:t}=this.mindMap.opt;if(!t||!t.open)return"";const n=this.getSecondLayerAncestor(e);if(!n)return;const i=Object(r["J"])(n),o=this.getColorsList();return o[i%o.length]}}o.instanceName="rainbowLines",t["a"]=o},f2b5:function(e,t,n){"use strict";var r=n("9aae"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(c){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){o=!1}for(var s=new r.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function l(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,t.string2buf=function(e){var t,n,i,o,s,a=e.length,l=0;for(o=0;o<a;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<a&&(i=e.charCodeAt(o+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),o++)),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),s=0,o=0;s<l;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<a&&(i=e.charCodeAt(o+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),o++)),n<128?t[s++]=n:n<2048?(t[s++]=192|n>>>6,t[s++]=128|63&n):n<65536?(t[s++]=224|n>>>12,t[s++]=128|n>>>6&63,t[s++]=128|63&n):(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63,t[s++]=128|n>>>6&63,t[s++]=128|63&n);return t},t.buf2binstring=function(e){return l(e,e.length)},t.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},t.buf2string=function(e,t){var n,r,i,o,a=t||e.length,c=new Array(2*a);for(r=0,n=0;n<a;)if(i=e[n++],i<128)c[r++]=i;else if(o=s[i],o>4)c[r++]=65533,n+=o-1;else{i&=2===o?31:3===o?15:7;while(o>1&&n<a)i=i<<6|63&e[n++],o--;o>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},t.utf8border=function(e,t){var n;t=t||e.length,t>e.length&&(t=e.length),n=t-1;while(n>=0&&128===(192&e[n]))n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},f37f:function(e,t,n){"use strict";var r=n("9aae"),i=n("2d51"),o=n("c12f"),s=n("a212"),a=n("84b5"),l=0,c=1,u=2,h=4,d=5,f=6,p=0,m=1,g=2,b=-2,y=-3,v=-4,x=-5,w=8,k=1,S=2,C=3,T=4,z=5,A=6,O=7,E=8,M=9,N=10,R=11,L=12,D=13,F=14,j=15,I=16,B=17,_=18,q=19,P=20,U=21,H=22,W=23,V=24,G=25,K=26,X=27,Y=28,Z=29,J=30,Q=31,$=32,ee=852,te=592,ne=15,re=ne;function ie(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function oe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function se(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=k,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,p):b}function ae(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,se(e)):b}function le(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?b:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,ae(e))):b}function ce(e,t){var n,r;return e?(r=new oe,e.state=r,r.window=null,n=le(e,t),n!==p&&(e.state=null),n):b}function ue(e){return ce(e,re)}var he,de,fe=!0;function pe(e){if(fe){var t;he=new r.Buf32(512),de=new r.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;a(c,e.lens,0,288,he,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;a(u,e.lens,0,32,de,0,e.work,{bits:5}),fe=!1}e.lencode=he,e.lenbits=9,e.distcode=de,e.distbits=5}function me(e,t,n,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),i>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(o=s.wsize-s.wnext,o>i&&(o=i),r.arraySet(s.window,t,n-i,o,s.wnext),i-=o,i?(r.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}function ge(e,t){var n,ee,te,ne,re,oe,se,ae,le,ce,ue,he,de,fe,ge,be,ye,ve,xe,we,ke,Se,Ce,Te,ze=0,Ae=new r.Buf8(4),Oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return b;n=e.state,n.mode===L&&(n.mode=D),re=e.next_out,te=e.output,se=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,ae=n.hold,le=n.bits,ce=oe,ue=se,Se=p;e:for(;;)switch(n.mode){case k:if(0===n.wrap){n.mode=D;break}while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(2&n.wrap&&35615===ae){n.check=0,Ae[0]=255&ae,Ae[1]=ae>>>8&255,n.check=o(n.check,Ae,2,0),ae=0,le=0,n.mode=S;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&ae)<<8)+(ae>>8))%31){e.msg="incorrect header check",n.mode=J;break}if((15&ae)!==w){e.msg="unknown compression method",n.mode=J;break}if(ae>>>=4,le-=4,ke=8+(15&ae),0===n.wbits)n.wbits=ke;else if(ke>n.wbits){e.msg="invalid window size",n.mode=J;break}n.dmax=1<<ke,e.adler=n.check=1,n.mode=512&ae?N:L,ae=0,le=0;break;case S:while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(n.flags=ae,(255&n.flags)!==w){e.msg="unknown compression method",n.mode=J;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=J;break}n.head&&(n.head.text=ae>>8&1),512&n.flags&&(Ae[0]=255&ae,Ae[1]=ae>>>8&255,n.check=o(n.check,Ae,2,0)),ae=0,le=0,n.mode=C;case C:while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.head&&(n.head.time=ae),512&n.flags&&(Ae[0]=255&ae,Ae[1]=ae>>>8&255,Ae[2]=ae>>>16&255,Ae[3]=ae>>>24&255,n.check=o(n.check,Ae,4,0)),ae=0,le=0,n.mode=T;case T:while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.head&&(n.head.xflags=255&ae,n.head.os=ae>>8),512&n.flags&&(Ae[0]=255&ae,Ae[1]=ae>>>8&255,n.check=o(n.check,Ae,2,0)),ae=0,le=0,n.mode=z;case z:if(1024&n.flags){while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.length=ae,n.head&&(n.head.extra_len=ae),512&n.flags&&(Ae[0]=255&ae,Ae[1]=ae>>>8&255,n.check=o(n.check,Ae,2,0)),ae=0,le=0}else n.head&&(n.head.extra=null);n.mode=A;case A:if(1024&n.flags&&(he=n.length,he>oe&&(he=oe),he&&(n.head&&(ke=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,ee,ne,he,ke)),512&n.flags&&(n.check=o(n.check,ee,he,ne)),oe-=he,ne+=he,n.length-=he),n.length))break e;n.length=0,n.mode=O;case O:if(2048&n.flags){if(0===oe)break e;he=0;do{ke=ee[ne+he++],n.head&&ke&&n.length<65536&&(n.head.name+=String.fromCharCode(ke))}while(ke&&he<oe);if(512&n.flags&&(n.check=o(n.check,ee,he,ne)),oe-=he,ne+=he,ke)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=E;case E:if(4096&n.flags){if(0===oe)break e;he=0;do{ke=ee[ne+he++],n.head&&ke&&n.length<65536&&(n.head.comment+=String.fromCharCode(ke))}while(ke&&he<oe);if(512&n.flags&&(n.check=o(n.check,ee,he,ne)),oe-=he,ne+=he,ke)break e}else n.head&&(n.head.comment=null);n.mode=M;case M:if(512&n.flags){while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae!==(65535&n.check)){e.msg="header crc mismatch",n.mode=J;break}ae=0,le=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=L;break;case N:while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}e.adler=n.check=ie(ae),ae=0,le=0,n.mode=R;case R:if(0===n.havedict)return e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,g;e.adler=n.check=1,n.mode=L;case L:if(t===d||t===f)break e;case D:if(n.last){ae>>>=7&le,le-=7&le,n.mode=X;break}while(le<3){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}switch(n.last=1&ae,ae>>>=1,le-=1,3&ae){case 0:n.mode=F;break;case 1:if(pe(n),n.mode=P,t===f){ae>>>=2,le-=2;break e}break;case 2:n.mode=B;break;case 3:e.msg="invalid block type",n.mode=J}ae>>>=2,le-=2;break;case F:ae>>>=7&le,le-=7≤while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if((65535&ae)!==(ae>>>16^65535)){e.msg="invalid stored block lengths",n.mode=J;break}if(n.length=65535&ae,ae=0,le=0,n.mode=j,t===f)break e;case j:n.mode=I;case I:if(he=n.length,he){if(he>oe&&(he=oe),he>se&&(he=se),0===he)break e;r.arraySet(te,ee,ne,he,re),oe-=he,ne+=he,se-=he,re+=he,n.length-=he;break}n.mode=L;break;case B:while(le<14){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(n.nlen=257+(31&ae),ae>>>=5,le-=5,n.ndist=1+(31&ae),ae>>>=5,le-=5,n.ncode=4+(15&ae),ae>>>=4,le-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=J;break}n.have=0,n.mode=_;case _:while(n.have<n.ncode){while(le<3){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.lens[Oe[n.have++]]=7&ae,ae>>>=3,le-=3}while(n.have<19)n.lens[Oe[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Ce={bits:n.lenbits},Se=a(l,n.lens,0,19,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,Se){e.msg="invalid code lengths set",n.mode=J;break}n.have=0,n.mode=q;case q:while(n.have<n.nlen+n.ndist){for(;;){if(ze=n.lencode[ae&(1<<n.lenbits)-1],ge=ze>>>24,be=ze>>>16&255,ye=65535&ze,ge<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ye<16)ae>>>=ge,le-=ge,n.lens[n.have++]=ye;else{if(16===ye){Te=ge+2;while(le<Te){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae>>>=ge,le-=ge,0===n.have){e.msg="invalid bit length repeat",n.mode=J;break}ke=n.lens[n.have-1],he=3+(3&ae),ae>>>=2,le-=2}else if(17===ye){Te=ge+3;while(le<Te){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=ge,le-=ge,ke=0,he=3+(7&ae),ae>>>=3,le-=3}else{Te=ge+7;while(le<Te){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=ge,le-=ge,ke=0,he=11+(127&ae),ae>>>=7,le-=7}if(n.have+he>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=J;break}while(he--)n.lens[n.have++]=ke}}if(n.mode===J)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=J;break}if(n.lenbits=9,Ce={bits:n.lenbits},Se=a(c,n.lens,0,n.nlen,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,Se){e.msg="invalid literal/lengths set",n.mode=J;break}if(n.distbits=6,n.distcode=n.distdyn,Ce={bits:n.distbits},Se=a(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Ce),n.distbits=Ce.bits,Se){e.msg="invalid distances set",n.mode=J;break}if(n.mode=P,t===f)break e;case P:n.mode=U;case U:if(oe>=6&&se>=258){e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,s(e,ue),re=e.next_out,te=e.output,se=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,ae=n.hold,le=n.bits,n.mode===L&&(n.back=-1);break}for(n.back=0;;){if(ze=n.lencode[ae&(1<<n.lenbits)-1],ge=ze>>>24,be=ze>>>16&255,ye=65535&ze,ge<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(be&&0===(240&be)){for(ve=ge,xe=be,we=ye;;){if(ze=n.lencode[we+((ae&(1<<ve+xe)-1)>>ve)],ge=ze>>>24,be=ze>>>16&255,ye=65535&ze,ve+ge<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=ve,le-=ve,n.back+=ve}if(ae>>>=ge,le-=ge,n.back+=ge,n.length=ye,0===be){n.mode=K;break}if(32&be){n.back=-1,n.mode=L;break}if(64&be){e.msg="invalid literal/length code",n.mode=J;break}n.extra=15&be,n.mode=H;case H:if(n.extra){Te=n.extra;while(le<Te){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.length+=ae&(1<<n.extra)-1,ae>>>=n.extra,le-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=W;case W:for(;;){if(ze=n.distcode[ae&(1<<n.distbits)-1],ge=ze>>>24,be=ze>>>16&255,ye=65535&ze,ge<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(0===(240&be)){for(ve=ge,xe=be,we=ye;;){if(ze=n.distcode[we+((ae&(1<<ve+xe)-1)>>ve)],ge=ze>>>24,be=ze>>>16&255,ye=65535&ze,ve+ge<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=ve,le-=ve,n.back+=ve}if(ae>>>=ge,le-=ge,n.back+=ge,64&be){e.msg="invalid distance code",n.mode=J;break}n.offset=ye,n.extra=15&be,n.mode=V;case V:if(n.extra){Te=n.extra;while(le<Te){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.offset+=ae&(1<<n.extra)-1,ae>>>=n.extra,le-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=J;break}n.mode=G;case G:if(0===se)break e;if(he=ue-se,n.offset>he){if(he=n.offset-he,he>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=J;break}he>n.wnext?(he-=n.wnext,de=n.wsize-he):de=n.wnext-he,he>n.length&&(he=n.length),fe=n.window}else fe=te,de=re-n.offset,he=n.length;he>se&&(he=se),se-=he,n.length-=he;do{te[re++]=fe[de++]}while(--he);0===n.length&&(n.mode=U);break;case K:if(0===se)break e;te[re++]=n.length,se--,n.mode=U;break;case X:if(n.wrap){while(le<32){if(0===oe)break e;oe--,ae|=ee[ne++]<<le,le+=8}if(ue-=se,e.total_out+=ue,n.total+=ue,ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,re-ue):i(n.check,te,ue,re-ue)),ue=se,(n.flags?ae:ie(ae))!==n.check){e.msg="incorrect data check",n.mode=J;break}ae=0,le=0}n.mode=Y;case Y:if(n.wrap&&n.flags){while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=J;break}ae=0,le=0}n.mode=Z;case Z:Se=m;break e;case J:Se=y;break e;case Q:return v;case $:default:return b}return e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,(n.wsize||ue!==e.avail_out&&n.mode<J&&(n.mode<X||t!==h))&&me(e,e.output,e.next_out,ue-e.avail_out)?(n.mode=Q,v):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,n.total+=ue,n.wrap&&ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,e.next_out-ue):i(n.check,te,ue,e.next_out-ue)),e.data_type=n.bits+(n.last?64:0)+(n.mode===L?128:0)+(n.mode===P||n.mode===j?256:0),(0===ce&&0===ue||t===h)&&Se===p&&(Se=x),Se)}function be(e){if(!e||!e.state)return b;var t=e.state;return t.window&&(t.window=null),e.state=null,p}function ye(e,t){var n;return e&&e.state?(n=e.state,0===(2&n.wrap)?b:(n.head=t,t.done=!1,p)):b}function ve(e,t){var n,r,o,s=t.length;return e&&e.state?(n=e.state,0!==n.wrap&&n.mode!==R?b:n.mode===R&&(r=1,r=i(r,t,s,0),r!==n.check)?y:(o=me(e,t,s,s),o?(n.mode=Q,v):(n.havedict=1,p))):b}t.inflateReset=ae,t.inflateReset2=le,t.inflateResetKeep=se,t.inflateInit=ue,t.inflateInit2=ce,t.inflate=ge,t.inflateEnd=be,t.inflateGetHeader=ye,t.inflateSetDictionary=ve,t.inflateInfo="pako inflate (from Nodeca project)"},f4dd:function(e,t,n){"use strict";var r=n("23e7"),i=n("d58f").right,o=n("a640"),s=n("2d00"),a=n("605d"),l=!a&&s>79&&s<83,c=l||!o("reduceRight");r({target:"Array",proto:!0,forced:c},{reduceRight:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},f537:function(e,t,n){"use strict";n.d(t,"f",(function(){return o})),n.d(t,"t",(function(){return s})),n.d(t,"x",(function(){return a})),n.d(t,"z",(function(){return l})),n.d(t,"u",(function(){return c})),n.d(t,"j",(function(){return u})),n.d(t,"y",(function(){return h})),n.d(t,"s",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"l",(function(){return v})),n.d(t,"g",(function(){return x})),n.d(t,"k",(function(){return w})),n.d(t,"n",(function(){return k})),n.d(t,"m",(function(){return C})),n.d(t,"q",(function(){return T})),n.d(t,"p",(function(){return z})),n.d(t,"r",(function(){return A})),n.d(t,"w",(function(){return O})),n.d(t,"v",(function(){return E})),n.d(t,"i",(function(){return M})),n.d(t,"h",(function(){return N}));var r=n("c4ab"),i=n("5d9a"),o=function(e){function t(t,n){var r=this,i="Method "+t+"."+n+"() not implemented";return r=e.call(this,i)||this,r}return Object(r["c"])(t,e),t}(Error),s=function(e){function t(t){var n=this,r="Cannot construct "+t+" - it has a private constructor";return n=e.call(this,r)||this,n}return Object(r["c"])(t,e),t}(Error),a=function(e){function t(t,n){var r=this,i=function(e){var t,n;return null!==(t=null===e||void 0===e?void 0:e.name)&&void 0!==t?t:null===(n=null===e||void 0===e?void 0:e.constructor)||void 0===n?void 0:n.name},o=Array.isArray(t)?t.map(i):[i(t)],s="Expected instance of "+o.join(" or ")+", but got instance of "+(n?i(n):n);return r=e.call(this,s)||this,r}return Object(r["c"])(t,e),t}(Error),l=function(e){function t(t){var n=this,r=t+" stream encoding not supported";return n=e.call(this,r)||this,n}return Object(r["c"])(t,e),t}(Error),c=function(e){function t(t,n){var r=this,i="Cannot call "+t+"."+n+"() more than once";return r=e.call(this,i)||this,r}return Object(r["c"])(t,e),t}(Error),u=(function(e){function t(t){var n=this,r="Missing catalog (ref="+t+")";return n=e.call(this,r)||this,n}Object(r["c"])(t,e)}(Error),function(e){function t(){var t=this,n="Can't embed page with missing Contents";return t=e.call(this,n)||this,t}return Object(r["c"])(t,e),t}(Error)),h=function(e){function t(t){var n,r,i,o=this,s=null!==(i=null!==(r=null===(n=null===t||void 0===t?void 0:t.contructor)||void 0===n?void 0:n.name)&&void 0!==r?r:null===t||void 0===t?void 0:t.name)&&void 0!==i?i:t,a="Unrecognized stream type: "+s;return o=e.call(this,a)||this,o}return Object(r["c"])(t,e),t}(Error),d=function(e){function t(){var t=this,n="Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.";return t=e.call(this,n)||this,t}return Object(r["c"])(t,e),t}(Error),f=function(e){function t(t){var n=this,r="Attempted to convert PDFArray with "+t+" elements to rectangle, but must have exactly 4 elements.";return n=e.call(this,r)||this,n}return Object(r["c"])(t,e),t}(Error),p=function(e){function t(t){var n=this,r='Attempted to convert "'+t+'" to a date, but it does not match the PDF date string format.';return n=e.call(this,r)||this,n}return Object(r["c"])(t,e),t}(Error),m=function(e){function t(t,n){var r=this,i="Invalid targetIndex specified: targetIndex="+t+" must be less than Count="+n;return r=e.call(this,i)||this,r}return Object(r["c"])(t,e),t}(Error),g=function(e){function t(t,n){var r=this,i="Failed to "+n+" at targetIndex="+t+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid";return r=e.call(this,i)||this,r}return Object(r["c"])(t,e),t}(Error),b=function(e){function t(t,n,r){var i=this,o="index should be at least "+n+" and at most "+r+", but was actually "+t;return i=e.call(this,o)||this,i}return Object(r["c"])(t,e),t}(Error),y=function(e){function t(){var t=this,n="Attempted to set invalid field value";return t=e.call(this,n)||this,t}return Object(r["c"])(t,e),t}(Error),v=function(e){function t(){var t=this,n="Attempted to select multiple values for single-select field";return t=e.call(this,n)||this,t}return Object(r["c"])(t,e),t}(Error),x=function(e){function t(t){var n=this,r="No /DA (default appearance) entry found for field: "+t;return n=e.call(this,r)||this,n}return Object(r["c"])(t,e),t}(Error),w=function(e){function t(t){var n=this,r="No Tf operator found for DA of field: "+t;return n=e.call(this,r)||this,n}return Object(r["c"])(t,e),t}(Error),k=function(e){function t(t,n){var r=this,i="Failed to parse number (line:"+t.line+" col:"+t.column+" offset="+t.offset+'): "'+n+'"';return r=e.call(this,i)||this,r}return Object(r["c"])(t,e),t}(Error),S=function(e){function t(t,n){var r=this,i="Failed to parse PDF document (line:"+t.line+" col:"+t.column+" offset="+t.offset+"): "+n;return r=e.call(this,i)||this,r}return Object(r["c"])(t,e),t}(Error),C=function(e){function t(t,n,r){var i=this,o="Expected next byte to be "+n+" but it was actually "+r;return i=e.call(this,t,o)||this,i}return Object(r["c"])(t,e),t}(S),T=function(e){function t(t,n){var r=this,i="Failed to parse PDF object starting with the following byte: "+n;return r=e.call(this,t,i)||this,r}return Object(r["c"])(t,e),t}(S),z=function(e){function t(t){var n=this,r="Failed to parse invalid PDF object";return n=e.call(this,t,r)||this,n}return Object(r["c"])(t,e),t}(S),A=function(e){function t(t){var n=this,r="Failed to parse PDF stream";return n=e.call(this,t,r)||this,n}return Object(r["c"])(t,e),t}(S),O=function(e){function t(t){var n=this,r="Failed to parse PDF literal string due to unbalanced parenthesis";return n=e.call(this,t,r)||this,n}return Object(r["c"])(t,e),t}(S),E=function(e){function t(t){var n=this,r="Parser stalled";return n=e.call(this,t,r)||this,n}return Object(r["c"])(t,e),t}(S),M=function(e){function t(t){var n=this,r="No PDF header found";return n=e.call(this,t,r)||this,n}return Object(r["c"])(t,e),t}(S),N=function(e){function t(t,n){var r=this,o="Did not find expected keyword '"+Object(i["b"])(n)+"'";return r=e.call(this,t,o)||this,r}return Object(r["c"])(t,e),t}(S)},f5f0:function(e,t,n){"use strict";n.r(t),n.d(t,"Attributor",(function(){return i})),n.d(t,"AttributorStore",(function(){return m})),n.d(t,"BlockBlot",(function(){return R})),n.d(t,"ClassAttributor",(function(){return u})),n.d(t,"ContainerBlot",(function(){return F})),n.d(t,"EmbedBlot",(function(){return I})),n.d(t,"InlineBlot",(function(){return E})),n.d(t,"LeafBlot",(function(){return x})),n.d(t,"ParentBlot",(function(){return T})),n.d(t,"Registry",(function(){return a})),n.d(t,"Scope",(function(){return r})),n.d(t,"ScrollBlot",(function(){return U})),n.d(t,"StyleAttributor",(function(){return f})),n.d(t,"TextBlot",(function(){return V}));var r=(e=>(e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY",e))(r||{});class i{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const i=r.TYPE&r.ATTRIBUTE;this.scope=null!=n.scope?n.scope&r.LEVEL|i:r.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(e=>e.name)}add(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)}canAdd(e,t){return null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1)}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class o extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const s=class e{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(null==e)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(t,n,r){const i=this.query(n);if(null==i)throw new o(`Unable to create ${n} blot`);const s=i,a=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:s.create(r),l=new s(t,a,r);return e.blots.set(l.domNode,l),l}find(t,n=!1){return e.find(t,n)}query(e,t=r.ANY){let n;return"string"==typeof e?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:"number"==typeof e?e&r.LEVEL&r.BLOCK?n=this.types.block:e&r.LEVEL&r.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(e=>(n=this.classes[e],!!n)),n=n||this.tags[e.tagName]),null==n?null:"scope"in n&&t&r.LEVEL&n.scope&&t&r.TYPE&n.scope?n:null}register(...e){return e.map(e=>{const t="blotName"in e,n="attrName"in e;if(!t&&!n)throw new o("Invalid definition");if(t&&"abstract"===e.blotName)throw new o("Cannot register abstract class");const r=t?e.blotName:n?e.attrName:void 0;return this.types[r]=e,n?"string"==typeof e.keyName&&(this.attributes[e.keyName]=e):t&&(e.className&&(this.classes[e.className]=e),e.tagName&&(Array.isArray(e.tagName)?e.tagName=e.tagName.map(e=>e.toUpperCase()):e.tagName=e.tagName.toUpperCase(),(Array.isArray(e.tagName)?e.tagName:[e.tagName]).forEach(t=>{(null==this.tags[t]||null==e.className)&&(this.tags[t]=e)}))),e})}};s.blots=new WeakMap;let a=s;function l(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter(e=>0===e.indexOf(t+"-"))}class c extends i{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(e=>e.split("-").slice(0,-1).join("-"))}add(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0)}remove(e){l(e,this.keyName).forEach(t=>{e.classList.remove(t)}),0===e.classList.length&&e.removeAttribute("class")}value(e){const t=(l(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const u=c;function h(e){const t=e.split("-"),n=t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("");return t[0]+n}class d extends i{static keys(e){return(e.getAttribute("style")||"").split(";").map(e=>e.split(":")[0].trim())}add(e,t){return!!this.canAdd(e,t)&&(e.style[h(this.keyName)]=t,!0)}remove(e){e.style[h(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[h(this.keyName)];return this.canAdd(e,t)?t:""}}const f=d;class p{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=a.find(this.domNode);if(null==e)return;const t=i.keys(this.domNode),n=u.keys(this.domNode),o=f.keys(this.domNode);t.concat(n).concat(o).forEach(t=>{const n=e.scroll.query(t,r.ATTRIBUTE);n instanceof i&&(this.attributes[n.attrName]=n)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(e=>{this.attributes[e].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const m=p,g=class{constructor(e,t){this.scroll=e,this.domNode=t,a.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(null==this.tagName)throw new o("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?("string"==typeof e?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):"number"==typeof e&&(n=e),t="number"==typeof n?document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?document.createElement(n):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){null!=this.parent&&this.parent.removeChild(this),a.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,i){const o=this.isolate(e,t);if(null!=this.scroll.query(n,r.BLOT)&&i)o.wrap(n,i);else if(null!=this.scroll.query(n,r.ATTRIBUTE)){const e=this.scroll.create(this.statics.scope);o.wrap(e),e.format(n,i)}}insertAt(e,t,n){const r=null==n?this.scroll.create("text",t):this.scroll.create(t,n),i=this.split(e);this.parent.insertBefore(r,i||void 0)}isolate(e,t){const n=this.split(e);if(null==n)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return null==this.parent||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n="string"==typeof e?this.scroll.create(e,t):e;return null!=this.parent&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return 0===e?this:this.next}update(e,t){}wrap(e,t){const n="string"==typeof e?this.scroll.create(e,t):e;if(null!=this.parent&&this.parent.insertBefore(n,this.next||void 0),"function"!=typeof n.appendChild)throw new o("Cannot wrap "+e);return n.appendChild(this),n}};g.blotName="abstract";let b=g;const y=class extends b{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};y.scope=r.INLINE_BLOT;let v=y;const x=v;class w{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),r=0;for(;n;){if(n===e)return r;r+=1,n=t()}return-1}insertBefore(e,t){null!=e&&(this.remove(e),e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return null!=e&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let r=n();for(;r;){const i=r.length();if(e<i||t&&e===i&&(null==r.next||0!==r.next.length()))return[r,e];e-=i,r=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[r,i]=this.find(e);let o=e-i;const s=this.iterator(r);let a=s();for(;a&&o<e+t;){const r=a.length();e>o?n(a,e-o,Math.min(t,o+r-e)):n(a,0,Math.min(r,e+t-o)),o+=r,a=s()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let r=n();for(;r;)t=e(t,r),r=n();return t}}function k(e,t){const n=t.find(e);if(n)return n;try{return t.create(e)}catch{const n=t.create(r.INLINE);return Array.from(e.childNodes).forEach(e=>{n.domNode.appendChild(e)}),e.parentNode&&e.parentNode.replaceChild(n.domNode,e),n.attach(),n}}const S=class e extends b{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(t){null!=this.uiNode&&this.uiNode.remove(),this.uiNode=t,e.uiClass&&this.uiNode.classList.add(e.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new w,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=k(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof o)return;throw t}})}deleteAt(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(e,t,n)=>{e.deleteAt(t,n)})}descendant(t,n=0){const[r,i]=this.children.find(n);return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,i]:r instanceof e?r.descendant(t,i):[null,-1]}descendants(t,n=0,r=Number.MAX_VALUE){let i=[],o=r;return this.children.forEachAt(n,r,(n,r,s)=>{(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&i.push(n),n instanceof e&&(i=i.concat(n.descendants(t,r,o))),o-=s}),i}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let t=!1;this.children.forEach(n=>{t||this.statics.allowedChildren.some(e=>n instanceof e)||(n.statics.scope===r.BLOCK_BLOT?(null!=n.next&&this.splitAfter(n),null!=n.prev&&this.splitAfter(n.prev),n.parent.unwrap(),t=!0):n instanceof e?n.unwrap():n.remove())})}formatAt(e,t,n,r){this.children.forEachAt(e,t,(e,t,i)=>{e.formatAt(t,i,n,r)})}insertAt(e,t,n){const[r,i]=this.children.find(e);if(r)r.insertAt(i,t,n);else{const e=null==n?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(e)}}insertBefore(e,t){null!=e.parent&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,null!=t&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length)if(null!=this.statics.defaultChild){const e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e)}else this.remove()}path(t,n=!1){const[r,i]=this.children.find(t,n),o=[[this,t]];return r instanceof e?o.concat(r.path(i,n)):(null!=r&&o.push([r,i]),o)}removeChild(e){this.children.remove(e)}replaceWith(t,n){const r="string"==typeof t?this.scroll.create(t,n):t;return r instanceof e&&this.moveChildren(r),super.replaceWith(r)}split(e,t=!1){if(!t){if(0===e)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(e,r,i)=>{const o=e.split(r,t);null!=o&&n.appendChild(o)}),n}splitAfter(e){const t=this.clone();for(;null!=e.next;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],r=[];e.forEach(e=>{e.target===this.domNode&&"childList"===e.type&&(n.push(...e.addedNodes),r.push(...e.removedNodes))}),r.forEach(e=>{if(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const t=this.scroll.find(e);null!=t&&(null==t.domNode.parentNode||t.domNode.parentNode===this.domNode)&&t.detach()}),n.filter(e=>e.parentNode===this.domNode&&e!==this.uiNode).sort((e,t)=>e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(e=>{let t=null;null!=e.nextSibling&&(t=this.scroll.find(e.nextSibling));const n=k(e,this.scroll);(n.next!==t||null==n.next)&&(null!=n.parent&&n.parent.removeChild(this),this.insertBefore(n,t||void 0))}),this.enforceAllowedChildren()}};S.uiClass="";let C=S;const T=C;function z(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}const A=class e extends T{static create(e){return super.create(e)}static formats(t,n){const r=n.query(e.blotName);if(null==r||t.tagName!==r.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new m(this.domNode)}format(t,n){if(t!==this.statics.blotName||n){const e=this.scroll.query(t,r.INLINE);if(null==e)return;e instanceof i?this.attributes.attribute(e,n):n&&(t!==this.statics.blotName||this.formats()[t]!==n)&&this.replaceWith(t,n)}else this.children.forEach(t=>{t instanceof e||(t=t.wrap(e.blotName,!0)),this.attributes.copy(t)}),this.unwrap()}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){null!=this.formats()[n]||this.scroll.query(n,r.ATTRIBUTE)?this.isolate(e,t).format(n,i):super.formatAt(e,t,n,i)}optimize(t){super.optimize(t);const n=this.formats();if(0===Object.keys(n).length)return this.unwrap();const r=this.next;r instanceof e&&r.prev===this&&z(n,r.formats())&&(r.moveChildren(this),r.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(e=>e.target===this.domNode&&"attributes"===e.type)&&this.attributes.build()}wrap(t,n){const r=super.wrap(t,n);return r instanceof e&&this.attributes.move(r),r}};A.allowedChildren=[A,x],A.blotName="inline",A.scope=r.INLINE_BLOT,A.tagName="SPAN";let O=A;const E=O,M=class e extends T{static create(e){return super.create(e)}static formats(t,n){const r=n.query(e.blotName);if(null==r||t.tagName!==r.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new m(this.domNode)}format(t,n){const o=this.scroll.query(t,r.BLOCK);null!=o&&(o instanceof i?this.attributes.attribute(o,n):t!==this.statics.blotName||n?n&&(t!==this.statics.blotName||this.formats()[t]!==n)&&this.replaceWith(t,n):this.replaceWith(e.blotName))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return null!=t&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,i){null!=this.scroll.query(n,r.BLOCK)?this.format(n,i):super.formatAt(e,t,n,i)}insertAt(e,t,n){if(null==n||null!=this.scroll.query(t,r.INLINE))super.insertAt(e,t,n);else{const r=this.split(e);if(null==r)throw new Error("Attempt to insertAt after block boundaries");{const e=this.scroll.create(t,n);r.parent.insertBefore(e,r)}}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(e=>e.target===this.domNode&&"attributes"===e.type)&&this.attributes.build()}};M.blotName="block",M.scope=r.BLOCK_BLOT,M.tagName="P",M.allowedChildren=[E,M,x];let N=M;const R=N,L=class extends T{checkMerge(){return null!==this.next&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,r){super.formatAt(e,t,n,r),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};L.blotName="container",L.scope=r.BLOCK_BLOT;let D=L;const F=D;class j extends x{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,r){0===e&&t===this.length()?this.format(n,r):super.formatAt(e,t,n,r)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const I=j,B={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},_=100,q=class extends T{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(e=>{this.update(e)}),this.observer.observe(this.domNode,B),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=r.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){null!=this.scroll&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),0===e&&t===this.length()?this.children.forEach(e=>{e.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,r){this.update(),super.formatAt(e,t,n,r)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let r=Array.from(this.observer.takeRecords());for(;r.length>0;)e.push(r.pop());const i=(e,t=!0)=>{null==e||e===this||null!=e.domNode.parentNode&&(n.has(e.domNode)||n.set(e.domNode,[]),t&&i(e.parent))},o=e=>{n.has(e.domNode)&&(e instanceof T&&e.children.forEach(o),n.delete(e.domNode),e.optimize(t))};let s=e;for(let a=0;s.length>0;a+=1){if(a>=_)throw new Error("[Parchment] Maximum optimize iterations reached");for(s.forEach(e=>{const t=this.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(i(this.find(e.previousSibling,!1)),Array.from(e.addedNodes).forEach(e=>{const t=this.find(e,!1);i(t,!1),t instanceof T&&t.children.forEach(e=>{i(e,!1)})})):"attributes"===e.type&&i(t.prev)),i(t))}),this.children.forEach(o),s=Array.from(this.observer.takeRecords()),r=s.slice();r.length>0;)e.push(r.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(e=>{const t=this.find(e.target,!0);return null==t?null:n.has(t.domNode)?(n.get(t.domNode).push(e),null):(n.set(t.domNode,[e]),t)}).forEach(e=>{null!=e&&e!==this&&n.has(e.domNode)&&e.update(n.get(e.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};q.blotName="scroll",q.defaultChild=R,q.allowedChildren=[R,F],q.scope=r.BLOCK_BLOT,q.tagName="DIV";let P=q;const U=P,H=class e extends x{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){null==n?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(t){super.optimize(t),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(0===e)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(e=>"characterData"===e.type&&e.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};H.blotName="text",H.scope=r.INLINE_BLOT;let W=H;const V=W},f904:function(e,t,n){"use strict";n("a1f0");var r=n("5703"),i=n.n(r);i.a.__defineMacro("\\ce",(function(e){return o(e.consumeArgs(1)[0],"ce")})),i.a.__defineMacro("\\pu",(function(e){return o(e.consumeArgs(1)[0],"pu")})),i.a.__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var o=function(e,t){for(var n="",r=e.length&&e[e.length-1].loc.start,i=e.length-1;i>=0;i--)e[i].loc.start>r&&(n+=" ",r=e[i].loc.start),n+=e[i].text,r+=e[i].text.length;var o=a.go(s.go(n,t));return o},s={go:function(e,t){if(!e)return[];void 0===t&&(t="ce");var n,r="0",i={};i["parenthesisLevel"]=0,e=e.replace(/\n/g," "),e=e.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),e=e.replace(/[\u2026]/g,"...");var o=10,a=[];while(1){n!==e?(o=10,n=e):o--;var l=s.stateMachines[t],c=l.transitions[r]||l.transitions["*"];e:for(var u=0;u<c.length;u++){var h=s.patterns.match_(c[u].pattern,e);if(h){for(var d=c[u].task,f=0;f<d.action_.length;f++){var p;if(l.actions[d.action_[f].type_])p=l.actions[d.action_[f].type_](i,h.match_,d.action_[f].option);else{if(!s.actions[d.action_[f].type_])throw["MhchemBugA","mhchem bug A. Please report. ("+d.action_[f].type_+")"];p=s.actions[d.action_[f].type_](i,h.match_,d.action_[f].option)}s.concatArray(a,p)}if(r=d.nextState||r,!(e.length>0))return a;if(d.revisit||(e=h.remainder),!d.toContinue)break e}}if(o<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(e,t){if(t)if(Array.isArray(t))for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(e){var t=e.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return t&&t[0]?{match_:t.splice(1),remainder:e.substr(t[0].length)}:null},"(-)(9)^(-9)":function(e){var t=e.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return t&&t[0]?{match_:t.splice(1),remainder:e.substr(t[0].length)}:null},"state of aggregation $":function(e){var t=s.patterns.findObserveGroups(e,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(t&&t.remainder.match(/^($|[\s,;\)\]\}])/))return t;var n=e.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return n?{match_:n[0],remainder:e.substr(n[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(e){return s.patterns.findObserveGroups(e,"^{","","","}")},"^($...$)":function(e){return s.patterns.findObserveGroups(e,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(e){return s.patterns.findObserveGroups(e,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(e){return s.patterns.findObserveGroups(e,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(e){return s.patterns.findObserveGroups(e,"_{","","","}")},"_($...$)":function(e){return s.patterns.findObserveGroups(e,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(e){return s.patterns.findObserveGroups(e,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(e){return s.patterns.findObserveGroups(e,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(e){return s.patterns.findObserveGroups(e,"","{","}","")},"{(...)}":function(e){return s.patterns.findObserveGroups(e,"{","","","}")},"$...$":function(e){return s.patterns.findObserveGroups(e,"","$","$","")},"${(...)}$":function(e){return s.patterns.findObserveGroups(e,"${","","","}$")},"$(...)$":function(e){return s.patterns.findObserveGroups(e,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(e){return s.patterns.findObserveGroups(e,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(e){return s.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(e){return s.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(e){return s.patterns.findObserveGroups(e,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(e){return s.patterns.findObserveGroups(e,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(e){return s.patterns.findObserveGroups(e,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(e){var t;if(t=e.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),t)return{match_:t[0],remainder:e.substr(t[0].length)};var n=s.patterns.findObserveGroups(e,"","$","$","");return n&&(t=n.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),t)?{match_:t[0],remainder:e.substr(t[0].length)}:null},amount2:function(e){return this["amount"](e)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(e){if(e.match(/^\([a-z]+\)$/))return null;var t=e.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return t?{match_:t[0],remainder:e.substr(t[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(e,t,n,r,i,o,s,a,l,c){var u=function(e,t){if("string"===typeof t)return 0!==e.indexOf(t)?null:t;var n=e.match(t);return n?n[0]:null},h=function(e,t,n){var r=0;while(t<e.length){var i=e.charAt(t),o=u(e.substr(t),n);if(null!==o&&0===r)return{endMatchBegin:t,endMatchEnd:t+o.length};if("{"===i)r++;else if("}"===i){if(0===r)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];r--}t++}return null},d=u(e,t);if(null===d)return null;if(e=e.substr(d.length),d=u(e,n),null===d)return null;var f=h(e,d.length,r||i);if(null===f)return null;var p=e.substring(0,r?f.endMatchEnd:f.endMatchBegin);if(o||s){var m=this.findObserveGroups(e.substr(f.endMatchEnd),o,s,a,l);if(null===m)return null;var g=[p,m.match_];return{match_:c?g.join(""):g,remainder:m.remainder}}return{match_:p,remainder:e.substr(f.endMatchEnd)}},match_:function(e,t){var n=s.patterns.patterns[e];if(void 0===n)throw["MhchemBugP","mhchem bug P. Please report. ("+e+")"];if("function"===typeof n)return s.patterns.patterns[e](t);var r,i=t.match(n);return i?(r=i[2]?[i[1],i[2]]:i[1]?i[1]:i[0],{match_:r,remainder:t.substr(i[0].length)}):null}},actions:{"a=":function(e,t){e.a=(e.a||"")+t},"b=":function(e,t){e.b=(e.b||"")+t},"p=":function(e,t){e.p=(e.p||"")+t},"o=":function(e,t){e.o=(e.o||"")+t},"q=":function(e,t){e.q=(e.q||"")+t},"d=":function(e,t){e.d=(e.d||"")+t},"rm=":function(e,t){e.rm=(e.rm||"")+t},"text=":function(e,t){e.text_=(e.text_||"")+t},insert:function(e,t,n){return{type_:n}},"insert+p1":function(e,t,n){return{type_:n,p1:t}},"insert+p1+p2":function(e,t,n){return{type_:n,p1:t[0],p2:t[1]}},copy:function(e,t){return t},rm:function(e,t){return{type_:"rm",p1:t||""}},text:function(e,t){return s.go(t,"text")},"{text}":function(e,t){var n=["{"];return s.concatArray(n,s.go(t,"text")),n.push("}"),n},"tex-math":function(e,t){return s.go(t,"tex-math")},"tex-math tight":function(e,t){return s.go(t,"tex-math tight")},bond:function(e,t,n){return{type_:"bond",kind_:n||t}},"color0-output":function(e,t){return{type_:"color0",color:t[0]}},ce:function(e,t){return s.go(t)},"1/2":function(e,t){var n=[];t.match(/^[+\-]/)&&(n.push(t.substr(0,1)),t=t.substr(1));var r=t.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return r[1]=r[1].replace(/\$/g,""),n.push({type_:"frac",p1:r[1],p2:r[2]}),r[3]&&(r[3]=r[3].replace(/\$/g,""),n.push({type_:"tex-math",p1:r[3]})),n},"9,9":function(e,t){return s.go(t,"9,9")}},createTransitions:function(e){var t,n,r,i,o={};for(t in e)for(n in e[t])for(r=n.split("|"),e[t][n].stateArray=r,i=0;i<r.length;i++)o[r[i]]=[];for(t in e)for(n in e[t])for(r=e[t][n].stateArray||[],i=0;i<r.length;i++){var s=e[t][n];if(s.action_){s.action_=[].concat(s.action_);for(var a=0;a<s.action_.length;a++)"string"===typeof s.action_[a]&&(s.action_[a]={type_:s.action_[a]})}else s.action_=[];for(var l=t.split("|"),c=0;c<l.length;c++)if("*"===r[i])for(var u in o)o[u].push({pattern:l[c],task:s});else o[r[i]].push({pattern:l[c],task:s})}return o},stateMachines:{}};s.stateMachines={ce:{transitions:s.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(e,t){var n;if((e.d||"").match(/^[0-9]+$/)){var r=e.d;e.d=void 0,n=this["output"](e),e.b=r}else n=this["output"](e);return s.actions["o="](e,t),n},"d= kv":function(e,t){e.d=t,e.dType="kv"},"charge or bond":function(e,t){if(e["beginsWithBond"]){var n=[];return s.concatArray(n,this["output"](e)),s.concatArray(n,s.actions["bond"](e,t,"-")),n}e.d=t},"- after o/d":function(e,t,n){var r=s.patterns.match_("orbital",e.o||""),i=s.patterns.match_("one lowercase greek letter $",e.o||""),o=s.patterns.match_("one lowercase latin letter $",e.o||""),a=s.patterns.match_("$one lowercase latin letter$ $",e.o||""),l="-"===t&&(r&&""===r.remainder||i||o||a);!l||e.a||e.b||e.p||e.d||e.q||r||!o||(e.o="$"+e.o+"$");var c=[];return l?(s.concatArray(c,this["output"](e)),c.push({type_:"hyphen"})):(r=s.patterns.match_("digits",e.d||""),n&&r&&""===r.remainder?(s.concatArray(c,s.actions["d="](e,t)),s.concatArray(c,this["output"](e))):(s.concatArray(c,this["output"](e)),s.concatArray(c,s.actions["bond"](e,t,"-")))),c},"a to o":function(e){e.o=e.a,e.a=void 0},"sb=true":function(e){e.sb=!0},"sb=false":function(e){e.sb=!1},"beginsWithBond=true":function(e){e["beginsWithBond"]=!0},"beginsWithBond=false":function(e){e["beginsWithBond"]=!1},"parenthesisLevel++":function(e){e["parenthesisLevel"]++},"parenthesisLevel--":function(e){e["parenthesisLevel"]--},"state of aggregation":function(e,t){return{type_:"state of aggregation",p1:s.go(t,"o")}},comma:function(e,t){var n=t.replace(/\s*$/,""),r=n!==t;return r&&0===e["parenthesisLevel"]?{type_:"comma enumeration L",p1:n}:{type_:"comma enumeration M",p1:n}},output:function(e,t,n){var r,i,o;e.r?(i="M"===e.rdt?s.go(e.rd,"tex-math"):"T"===e.rdt?[{type_:"text",p1:e.rd||""}]:s.go(e.rd),o="M"===e.rqt?s.go(e.rq,"tex-math"):"T"===e.rqt?[{type_:"text",p1:e.rq||""}]:s.go(e.rq),r={type_:"arrow",r:e.r,rd:i,rq:o}):(r=[],(e.a||e.b||e.p||e.o||e.q||e.d||n)&&(e.sb&&r.push({type_:"entitySkip"}),e.o||e.q||e.d||e.b||e.p||2===n?e.o||e.q||e.d||!e.b&&!e.p?e.o&&"kv"===e.dType&&s.patterns.match_("d-oxidation$",e.d||"")?e.dType="oxidation":e.o&&"kv"===e.dType&&!e.q&&(e.dType=void 0):(e.o=e.a,e.d=e.b,e.q=e.p,e.a=e.b=e.p=void 0):(e.o=e.a,e.a=void 0),r.push({type_:"chemfive",a:s.go(e.a,"a"),b:s.go(e.b,"bd"),p:s.go(e.p,"pq"),o:s.go(e.o,"o"),q:s.go(e.q,"pq"),d:s.go(e.d,"oxidation"===e.dType?"oxidation":"bd"),dType:e.dType})));for(var a in e)"parenthesisLevel"!==a&&"beginsWithBond"!==a&&delete e[a];return r},"oxidation-output":function(e,t){var n=["{"];return s.concatArray(n,s.go(t,"oxidation")),n.push("}"),n},"frac-output":function(e,t){return{type_:"frac-ce",p1:s.go(t[0]),p2:s.go(t[1])}},"overset-output":function(e,t){return{type_:"overset",p1:s.go(t[0]),p2:s.go(t[1])}},"underset-output":function(e,t){return{type_:"underset",p1:s.go(t[0]),p2:s.go(t[1])}},"underbrace-output":function(e,t){return{type_:"underbrace",p1:s.go(t[0]),p2:s.go(t[1])}},"color-output":function(e,t){return{type_:"color",color1:t[0],color2:s.go(t[1])}},"r=":function(e,t){e.r=t},"rdt=":function(e,t){e.rdt=t},"rd=":function(e,t){e.rd=t},"rqt=":function(e,t){e.rqt=t},"rq=":function(e,t){e.rq=t},operator:function(e,t,n){return{type_:"operator",kind_:n||t}}}},a:{transitions:s.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:s.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(e){if(e.text_){var t={type_:"text",p1:e.text_};for(var n in e)delete e[n];return t}}}},pq:{transitions:s.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(e,t){return{type_:"state of aggregation subscript",p1:s.go(t,"o")}},"color-output":function(e,t){return{type_:"color",color1:t[0],color2:s.go(t[1],"pq")}}}},bd:{transitions:s.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(e,t){return{type_:"color",color1:t[0],color2:s.go(t[1],"bd")}}}},oxidation:{transitions:s.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(e,t){return{type_:"roman numeral",p1:t||""}}}},"tex-math":{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(e){if(e.o){var t={type_:"tex-math",p1:e.o};for(var n in e)delete e[n];return t}}}},"tex-math tight":{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(e,t){e.o=(e.o||"")+"{"+t+"}"},output:function(e){if(e.o){var t={type_:"tex-math",p1:e.o};for(var n in e)delete e[n];return t}}}},"9,9":{transitions:s.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:s.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(e,t){var n=[];return"+-"===t[0]||"+/-"===t[0]?n.push("\\pm "):t[0]&&n.push(t[0]),t[1]&&(s.concatArray(n,s.go(t[1],"pu-9,9")),t[2]&&(t[2].match(/[,.]/)?s.concatArray(n,s.go(t[2],"pu-9,9")):n.push(t[2])),t[3]=t[4]||t[3],t[3]&&(t[3]=t[3].trim(),"e"===t[3]||"*"===t[3].substr(0,1)?n.push({type_:"cdot"}):n.push({type_:"times"}))),t[3]&&n.push("10^{"+t[5]+"}"),n},"number^":function(e,t){var n=[];return"+-"===t[0]||"+/-"===t[0]?n.push("\\pm "):t[0]&&n.push(t[0]),s.concatArray(n,s.go(t[1],"pu-9,9")),n.push("^{"+t[2]+"}"),n},operator:function(e,t,n){return{type_:"operator",kind_:n||t}},space:function(){return{type_:"pu-space-1"}},output:function(e){var t,n=s.patterns.match_("{(...)}",e.d||"");n&&""===n.remainder&&(e.d=n.match_);var r=s.patterns.match_("{(...)}",e.q||"");if(r&&""===r.remainder&&(e.q=r.match_),e.d&&(e.d=e.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.d=e.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),e.q){e.q=e.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.q=e.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var i={d:s.go(e.d,"pu"),q:s.go(e.q,"pu")};"//"===e.o?t={type_:"pu-frac",p1:i.d,p2:i.q}:(t=i.d,i.d.length>1||i.q.length>1?t.push({type_:" / "}):t.push({type_:"/"}),s.concatArray(t,i.q))}else t=s.go(e.d,"pu-2");for(var o in e)delete e[o];return t}}},"pu-2":{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(e,t){e.rm+="^{"+t+"}"},space:function(){return{type_:"pu-space-2"}},output:function(e){var t=[];if(e.rm){var n=s.patterns.match_("{(...)}",e.rm||"");t=n&&""===n.remainder?s.go(n.match_,"pu"):{type_:"rm",p1:e.rm}}for(var r in e)delete e[r];return t}}},"pu-9,9":{transitions:s.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(e){var t=[];if(e.text_=e.text_||"",e.text_.length>4){var n=e.text_.length%3;0===n&&(n=3);for(var r=e.text_.length-3;r>0;r-=3)t.push(e.text_.substr(r,3)),t.push({type_:"1000 separator"});t.push(e.text_.substr(0,n)),t.reverse()}else t.push(e.text_);for(var i in e)delete e[i];return t},"output-o":function(e){var t=[];if(e.text_=e.text_||"",e.text_.length>4){for(var n=e.text_.length-3,r=0;r<n;r+=3)t.push(e.text_.substr(r,3)),t.push({type_:"1000 separator"});t.push(e.text_.substr(r))}else t.push(e.text_);for(var i in e)delete e[i];return t}}}};var a={go:function(e,t){if(!e)return"";for(var n="",r=!1,i=0;i<e.length;i++){var o=e[i];"string"===typeof o?n+=o:(n+=a._go2(o),"1st-level escape"===o.type_&&(r=!0))}return t||r||!n||(n="{"+n+"}"),n},_goInner:function(e){return e?a.go(e,!0):e},_go2:function(e){var t;switch(e.type_){case"chemfive":t="";var n={a:a._goInner(e.a),b:a._goInner(e.b),p:a._goInner(e.p),o:a._goInner(e.o),q:a._goInner(e.q),d:a._goInner(e.d)};n.a&&(n.a.match(/^[+\-]/)&&(n.a="{"+n.a+"}"),t+=n.a+"\\,"),(n.b||n.p)&&(t+="{\\vphantom{X}}",t+="^{\\hphantom{"+(n.b||"")+"}}_{\\hphantom{"+(n.p||"")+"}}",t+="{\\vphantom{X}}",t+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(n.b||"")+"}}",t+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(n.p||"")+"}}}"),n.o&&(n.o.match(/^[+\-]/)&&(n.o="{"+n.o+"}"),t+=n.o),"kv"===e.dType?((n.d||n.q)&&(t+="{\\vphantom{X}}"),n.d&&(t+="^{"+n.d+"}"),n.q&&(t+="_{\\smash[t]{"+n.q+"}}")):"oxidation"===e.dType?(n.d&&(t+="{\\vphantom{X}}",t+="^{"+n.d+"}"),n.q&&(t+="{\\vphantom{X}}",t+="_{\\smash[t]{"+n.q+"}}")):(n.q&&(t+="{\\vphantom{X}}",t+="_{\\smash[t]{"+n.q+"}}"),n.d&&(t+="{\\vphantom{X}}",t+="^{"+n.d+"}"));break;case"rm":t="\\mathrm{"+e.p1+"}";break;case"text":e.p1.match(/[\^_]/)?(e.p1=e.p1.replace(" ","~").replace("-","\\text{-}"),t="\\mathrm{"+e.p1+"}"):t="\\text{"+e.p1+"}";break;case"roman numeral":t="\\mathrm{"+e.p1+"}";break;case"state of aggregation":t="\\mskip2mu "+a._goInner(e.p1);break;case"state of aggregation subscript":t="\\mskip1mu "+a._goInner(e.p1);break;case"bond":if(t=a._getBond(e.kind_),!t)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+e.kind_+")"];break;case"frac":var r="\\frac{"+e.p1+"}{"+e.p2+"}";t="\\mathchoice{\\textstyle"+r+"}{"+r+"}{"+r+"}{"+r+"}";break;case"pu-frac":var i="\\frac{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";t="\\mathchoice{\\textstyle"+i+"}{"+i+"}{"+i+"}{"+i+"}";break;case"tex-math":t=e.p1+" ";break;case"frac-ce":t="\\frac{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";break;case"overset":t="\\overset{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";break;case"underset":t="\\underset{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";break;case"underbrace":t="\\underbrace{"+a._goInner(e.p1)+"}_{"+a._goInner(e.p2)+"}";break;case"color":t="{\\color{"+e.color1+"}{"+a._goInner(e.color2)+"}}";break;case"color0":t="\\color{"+e.color+"}";break;case"arrow":var o={rd:a._goInner(e.rd),rq:a._goInner(e.rq)},s="\\x"+a._getArrow(e.r);o.rq&&(s+="[{"+o.rq+"}]"),o.rd?s+="{"+o.rd+"}":s+="{}",t=s;break;case"operator":t=a._getOperator(e.kind_);break;case"1st-level escape":t=e.p1+" ";break;case"space":t=" ";break;case"entitySkip":t="~";break;case"pu-space-1":t="~";break;case"pu-space-2":t="\\mkern3mu ";break;case"1000 separator":t="\\mkern2mu ";break;case"commaDecimal":t="{,}";break;case"comma enumeration L":t="{"+e.p1+"}\\mkern6mu ";break;case"comma enumeration M":t="{"+e.p1+"}\\mkern3mu ";break;case"comma enumeration S":t="{"+e.p1+"}\\mkern1mu ";break;case"hyphen":t="\\text{-}";break;case"addition compound":t="\\,{\\cdot}\\,";break;case"electron dot":t="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":t="{\\times}";break;case"prime":t="\\prime ";break;case"cdot":t="\\cdot ";break;case"tight cdot":t="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":t="\\times ";break;case"circa":t="{\\sim}";break;case"^":t="uparrow";break;case"v":t="downarrow";break;case"ellipsis":t="\\ldots ";break;case"/":t="/";break;case" / ":t="\\,/\\,";break;default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}return c(t),t},_getArrow:function(e){switch(e){case"->":return"rightarrow";case"→":return"rightarrow";case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<--\x3e":return"rightleftarrows";case"<=>":return"rightleftharpoons";case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(e){switch(e){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(e){switch(e){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}}};function l(e){}function c(e){}var u=n("df95"),h=n("1e42");const d=e=>`\n@font-face {\n font-family: 'KaTeX_AMS';\n src: url(${e}fonts/KaTeX_AMS-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_AMS-Regular.woff) format('woff'), url(${e}fonts/KaTeX_AMS-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Caligraphic';\n src: url(${e}fonts/KaTeX_Caligraphic-Bold.woff2) format('woff2'), url(${e}fonts/KaTeX_Caligraphic-Bold.woff) format('woff'), url(${e}fonts/KaTeX_Caligraphic-Bold.ttf) format('truetype');\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Caligraphic';\n src: url(${e}fonts/KaTeX_Caligraphic-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Caligraphic-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Caligraphic-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Fraktur';\n src: url(${e}fonts/KaTeX_Fraktur-Bold.woff2) format('woff2'), url(${e}fonts/KaTeX_Fraktur-Bold.woff) format('woff'), url(${e}fonts/KaTeX_Fraktur-Bold.ttf) format('truetype');\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Fraktur';\n src: url(${e}fonts/KaTeX_Fraktur-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Fraktur-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Fraktur-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Main';\n src: url(${e}fonts/KaTeX_Main-Bold.woff2) format('woff2'), url(${e}fonts/KaTeX_Main-Bold.woff) format('woff'), url(${e}fonts/KaTeX_Main-Bold.ttf) format('truetype');\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Main';\n src: url(${e}fonts/KaTeX_Main-BoldItalic.woff2) format('woff2'), url(${e}fonts/KaTeX_Main-BoldItalic.woff) format('woff'), url(${e}fonts/KaTeX_Main-BoldItalic.ttf) format('truetype');\n font-weight: bold;\n font-style: italic;\n}\n@font-face {\n font-family: 'KaTeX_Main';\n src: url(${e}fonts/KaTeX_Main-Italic.woff2) format('woff2'), url(${e}fonts/KaTeX_Main-Italic.woff) format('woff'), url(${e}fonts/KaTeX_Main-Italic.ttf) format('truetype');\n font-weight: normal;\n font-style: italic;\n}\n@font-face {\n font-family: 'KaTeX_Main';\n src: url(${e}fonts/KaTeX_Main-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Main-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Main-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Math';\n src: url(${e}fonts/KaTeX_Math-BoldItalic.woff2) format('woff2'), url(${e}fonts/KaTeX_Math-BoldItalic.woff) format('woff'), url(${e}fonts/KaTeX_Math-BoldItalic.ttf) format('truetype');\n font-weight: bold;\n font-style: italic;\n}\n@font-face {\n font-family: 'KaTeX_Math';\n src: url(${e}fonts/KaTeX_Math-Italic.woff2) format('woff2'), url(${e}fonts/KaTeX_Math-Italic.woff) format('woff'), url(${e}fonts/KaTeX_Math-Italic.ttf) format('truetype');\n font-weight: normal;\n font-style: italic;\n}\n@font-face {\n font-family: 'KaTeX_SansSerif';\n src: url(${e}fonts/KaTeX_SansSerif-Bold.woff2) format('woff2'), url(${e}fonts/KaTeX_SansSerif-Bold.woff) format('woff'), url(${e}fonts/KaTeX_SansSerif-Bold.ttf) format('truetype');\n font-weight: bold;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_SansSerif';\n src: url(${e}fonts/KaTeX_SansSerif-Italic.woff2) format('woff2'), url(${e}fonts/KaTeX_SansSerif-Italic.woff) format('woff'), url(${e}fonts/KaTeX_SansSerif-Italic.ttf) format('truetype');\n font-weight: normal;\n font-style: italic;\n}\n@font-face {\n font-family: 'KaTeX_SansSerif';\n src: url(${e}fonts/KaTeX_SansSerif-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_SansSerif-Regular.woff) format('woff'), url(${e}fonts/KaTeX_SansSerif-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Script';\n src: url(${e}fonts/KaTeX_Script-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Script-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Script-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Size1';\n src: url(${e}fonts/KaTeX_Size1-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Size1-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Size1-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Size2';\n src: url(${e}fonts/KaTeX_Size2-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Size2-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Size2-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Size3';\n src: url(${e}fonts/KaTeX_Size3-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Size3-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Size3-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Size4';\n src: url(${e}fonts/KaTeX_Size4-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Size4-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Size4-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'KaTeX_Typewriter';\n src: url(${e}fonts/KaTeX_Typewriter-Regular.woff2) format('woff2'), url(${e}fonts/KaTeX_Typewriter-Regular.woff) format('woff'), url(${e}fonts/KaTeX_Typewriter-Regular.ttf) format('truetype');\n font-weight: normal;\n font-style: normal;\n}\n `,f=()=>'\n.katex {\n font: normal 1.21em KaTeX_Main, Times New Roman, serif;\n line-height: 1.2;\n text-indent: 0;\n text-rendering: auto;\n}\n.katex * {\n -ms-high-contrast-adjust: none !important;\n}\n.katex * {\n border-color: currentColor;\n}\n.katex .katex-version::after {\n content: "0.16.9";\n}\n.katex .katex-mathml {\n /* Accessibility hack to only show to screen readers\n Found at: http://a11yproject.com/posts/how-to-hide-content/ */\n position: absolute;\n clip: rect(1px, 1px, 1px, 1px);\n padding: 0;\n border: 0;\n height: 1px;\n width: 1px;\n overflow: hidden;\n}\n.katex .katex-html {\n /* \newline is an empty block at top level, between .base elements */\n}\n.katex .katex-html > .newline {\n display: block;\n}\n.katex .base {\n position: relative;\n display: inline-block;\n white-space: nowrap;\n width: -webkit-min-content;\n width: -moz-min-content;\n width: min-content;\n}\n.katex .strut {\n display: inline-block;\n}\n.katex .textbf {\n font-weight: bold;\n}\n.katex .textit {\n font-style: italic;\n}\n.katex .textrm {\n font-family: KaTeX_Main;\n}\n.katex .textsf {\n font-family: KaTeX_SansSerif;\n}\n.katex .texttt {\n font-family: KaTeX_Typewriter;\n}\n.katex .mathnormal {\n font-family: KaTeX_Math;\n font-style: italic;\n}\n.katex .mathit {\n font-family: KaTeX_Main;\n font-style: italic;\n}\n.katex .mathrm {\n font-style: normal;\n}\n.katex .mathbf {\n font-family: KaTeX_Main;\n font-weight: bold;\n}\n.katex .boldsymbol {\n font-family: KaTeX_Math;\n font-weight: bold;\n font-style: italic;\n}\n.katex .amsrm {\n font-family: KaTeX_AMS;\n}\n.katex .mathbb,\n.katex .textbb {\n font-family: KaTeX_AMS;\n}\n.katex .mathcal {\n font-family: KaTeX_Caligraphic;\n}\n.katex .mathfrak,\n.katex .textfrak {\n font-family: KaTeX_Fraktur;\n}\n.katex .mathboldfrak,\n.katex .textboldfrak {\n font-family: KaTeX_Fraktur;\n font-weight: bold;\n}\n.katex .mathtt {\n font-family: KaTeX_Typewriter;\n}\n.katex .mathscr,\n.katex .textscr {\n font-family: KaTeX_Script;\n}\n.katex .mathsf,\n.katex .textsf {\n font-family: KaTeX_SansSerif;\n}\n.katex .mathboldsf,\n.katex .textboldsf {\n font-family: KaTeX_SansSerif;\n font-weight: bold;\n}\n.katex .mathitsf,\n.katex .textitsf {\n font-family: KaTeX_SansSerif;\n font-style: italic;\n}\n.katex .mainrm {\n font-family: KaTeX_Main;\n font-style: normal;\n}\n.katex .vlist-t {\n display: inline-table;\n table-layout: fixed;\n border-collapse: collapse;\n}\n.katex .vlist-r {\n display: table-row;\n}\n.katex .vlist {\n display: table-cell;\n vertical-align: bottom;\n position: relative;\n}\n.katex .vlist > span {\n display: block;\n height: 0;\n position: relative;\n}\n.katex .vlist > span > span {\n display: inline-block;\n}\n.katex .vlist > span > .pstrut {\n overflow: hidden;\n width: 0;\n}\n.katex .vlist-t2 {\n margin-right: -2px;\n}\n.katex .vlist-s {\n display: table-cell;\n vertical-align: bottom;\n font-size: 1px;\n width: 2px;\n min-width: 2px;\n}\n.katex .vbox {\n display: inline-flex;\n flex-direction: column;\n align-items: baseline;\n}\n.katex .hbox {\n display: inline-flex;\n flex-direction: row;\n width: 100%;\n}\n.katex .thinbox {\n display: inline-flex;\n flex-direction: row;\n width: 0;\n max-width: 0;\n}\n.katex .msupsub {\n text-align: left;\n}\n.katex .mfrac > span > span {\n text-align: center;\n}\n.katex .mfrac .frac-line {\n display: inline-block;\n width: 100%;\n border-bottom-style: solid;\n}\n.katex .mfrac .frac-line,\n.katex .overline .overline-line,\n.katex .underline .underline-line,\n.katex .hline,\n.katex .hdashline,\n.katex .rule {\n min-height: 1px;\n}\n.katex .mspace {\n display: inline-block;\n}\n.katex .llap,\n.katex .rlap,\n.katex .clap {\n width: 0;\n position: relative;\n}\n.katex .llap > .inner,\n.katex .rlap > .inner,\n.katex .clap > .inner {\n position: absolute;\n}\n.katex .llap > .fix,\n.katex .rlap > .fix,\n.katex .clap > .fix {\n display: inline-block;\n}\n.katex .llap > .inner {\n right: 0;\n}\n.katex .rlap > .inner,\n.katex .clap > .inner {\n left: 0;\n}\n.katex .clap > .inner > span {\n margin-left: -50%;\n margin-right: 50%;\n}\n.katex .rule {\n display: inline-block;\n border: solid 0;\n position: relative;\n}\n.katex .overline .overline-line,\n.katex .underline .underline-line,\n.katex .hline {\n display: inline-block;\n width: 100%;\n border-bottom-style: solid;\n}\n.katex .hdashline {\n display: inline-block;\n width: 100%;\n border-bottom-style: dashed;\n}\n.katex .sqrt > .root {\n margin-left: 0.27777778em;\n margin-right: -0.55555556em;\n}\n.katex .sizing.reset-size1.size1,\n.katex .fontsize-ensurer.reset-size1.size1 {\n font-size: 1em;\n}\n.katex .sizing.reset-size1.size2,\n.katex .fontsize-ensurer.reset-size1.size2 {\n font-size: 1.2em;\n}\n.katex .sizing.reset-size1.size3,\n.katex .fontsize-ensurer.reset-size1.size3 {\n font-size: 1.4em;\n}\n.katex .sizing.reset-size1.size4,\n.katex .fontsize-ensurer.reset-size1.size4 {\n font-size: 1.6em;\n}\n.katex .sizing.reset-size1.size5,\n.katex .fontsize-ensurer.reset-size1.size5 {\n font-size: 1.8em;\n}\n.katex .sizing.reset-size1.size6,\n.katex .fontsize-ensurer.reset-size1.size6 {\n font-size: 2em;\n}\n.katex .sizing.reset-size1.size7,\n.katex .fontsize-ensurer.reset-size1.size7 {\n font-size: 2.4em;\n}\n.katex .sizing.reset-size1.size8,\n.katex .fontsize-ensurer.reset-size1.size8 {\n font-size: 2.88em;\n}\n.katex .sizing.reset-size1.size9,\n.katex .fontsize-ensurer.reset-size1.size9 {\n font-size: 3.456em;\n}\n.katex .sizing.reset-size1.size10,\n.katex .fontsize-ensurer.reset-size1.size10 {\n font-size: 4.148em;\n}\n.katex .sizing.reset-size1.size11,\n.katex .fontsize-ensurer.reset-size1.size11 {\n font-size: 4.976em;\n}\n.katex .sizing.reset-size2.size1,\n.katex .fontsize-ensurer.reset-size2.size1 {\n font-size: 0.83333333em;\n}\n.katex .sizing.reset-size2.size2,\n.katex .fontsize-ensurer.reset-size2.size2 {\n font-size: 1em;\n}\n.katex .sizing.reset-size2.size3,\n.katex .fontsize-ensurer.reset-size2.size3 {\n font-size: 1.16666667em;\n}\n.katex .sizing.reset-size2.size4,\n.katex .fontsize-ensurer.reset-size2.size4 {\n font-size: 1.33333333em;\n}\n.katex .sizing.reset-size2.size5,\n.katex .fontsize-ensurer.reset-size2.size5 {\n font-size: 1.5em;\n}\n.katex .sizing.reset-size2.size6,\n.katex .fontsize-ensurer.reset-size2.size6 {\n font-size: 1.66666667em;\n}\n.katex .sizing.reset-size2.size7,\n.katex .fontsize-ensurer.reset-size2.size7 {\n font-size: 2em;\n}\n.katex .sizing.reset-size2.size8,\n.katex .fontsize-ensurer.reset-size2.size8 {\n font-size: 2.4em;\n}\n.katex .sizing.reset-size2.size9,\n.katex .fontsize-ensurer.reset-size2.size9 {\n font-size: 2.88em;\n}\n.katex .sizing.reset-size2.size10,\n.katex .fontsize-ensurer.reset-size2.size10 {\n font-size: 3.45666667em;\n}\n.katex .sizing.reset-size2.size11,\n.katex .fontsize-ensurer.reset-size2.size11 {\n font-size: 4.14666667em;\n}\n.katex .sizing.reset-size3.size1,\n.katex .fontsize-ensurer.reset-size3.size1 {\n font-size: 0.71428571em;\n}\n.katex .sizing.reset-size3.size2,\n.katex .fontsize-ensurer.reset-size3.size2 {\n font-size: 0.85714286em;\n}\n.katex .sizing.reset-size3.size3,\n.katex .fontsize-ensurer.reset-size3.size3 {\n font-size: 1em;\n}\n.katex .sizing.reset-size3.size4,\n.katex .fontsize-ensurer.reset-size3.size4 {\n font-size: 1.14285714em;\n}\n.katex .sizing.reset-size3.size5,\n.katex .fontsize-ensurer.reset-size3.size5 {\n font-size: 1.28571429em;\n}\n.katex .sizing.reset-size3.size6,\n.katex .fontsize-ensurer.reset-size3.size6 {\n font-size: 1.42857143em;\n}\n.katex .sizing.reset-size3.size7,\n.katex .fontsize-ensurer.reset-size3.size7 {\n font-size: 1.71428571em;\n}\n.katex .sizing.reset-size3.size8,\n.katex .fontsize-ensurer.reset-size3.size8 {\n font-size: 2.05714286em;\n}\n.katex .sizing.reset-size3.size9,\n.katex .fontsize-ensurer.reset-size3.size9 {\n font-size: 2.46857143em;\n}\n.katex .sizing.reset-size3.size10,\n.katex .fontsize-ensurer.reset-size3.size10 {\n font-size: 2.96285714em;\n}\n.katex .sizing.reset-size3.size11,\n.katex .fontsize-ensurer.reset-size3.size11 {\n font-size: 3.55428571em;\n}\n.katex .sizing.reset-size4.size1,\n.katex .fontsize-ensurer.reset-size4.size1 {\n font-size: 0.625em;\n}\n.katex .sizing.reset-size4.size2,\n.katex .fontsize-ensurer.reset-size4.size2 {\n font-size: 0.75em;\n}\n.katex .sizing.reset-size4.size3,\n.katex .fontsize-ensurer.reset-size4.size3 {\n font-size: 0.875em;\n}\n.katex .sizing.reset-size4.size4,\n.katex .fontsize-ensurer.reset-size4.size4 {\n font-size: 1em;\n}\n.katex .sizing.reset-size4.size5,\n.katex .fontsize-ensurer.reset-size4.size5 {\n font-size: 1.125em;\n}\n.katex .sizing.reset-size4.size6,\n.katex .fontsize-ensurer.reset-size4.size6 {\n font-size: 1.25em;\n}\n.katex .sizing.reset-size4.size7,\n.katex .fontsize-ensurer.reset-size4.size7 {\n font-size: 1.5em;\n}\n.katex .sizing.reset-size4.size8,\n.katex .fontsize-ensurer.reset-size4.size8 {\n font-size: 1.8em;\n}\n.katex .sizing.reset-size4.size9,\n.katex .fontsize-ensurer.reset-size4.size9 {\n font-size: 2.16em;\n}\n.katex .sizing.reset-size4.size10,\n.katex .fontsize-ensurer.reset-size4.size10 {\n font-size: 2.5925em;\n}\n.katex .sizing.reset-size4.size11,\n.katex .fontsize-ensurer.reset-size4.size11 {\n font-size: 3.11em;\n}\n.katex .sizing.reset-size5.size1,\n.katex .fontsize-ensurer.reset-size5.size1 {\n font-size: 0.55555556em;\n}\n.katex .sizing.reset-size5.size2,\n.katex .fontsize-ensurer.reset-size5.size2 {\n font-size: 0.66666667em;\n}\n.katex .sizing.reset-size5.size3,\n.katex .fontsize-ensurer.reset-size5.size3 {\n font-size: 0.77777778em;\n}\n.katex .sizing.reset-size5.size4,\n.katex .fontsize-ensurer.reset-size5.size4 {\n font-size: 0.88888889em;\n}\n.katex .sizing.reset-size5.size5,\n.katex .fontsize-ensurer.reset-size5.size5 {\n font-size: 1em;\n}\n.katex .sizing.reset-size5.size6,\n.katex .fontsize-ensurer.reset-size5.size6 {\n font-size: 1.11111111em;\n}\n.katex .sizing.reset-size5.size7,\n.katex .fontsize-ensurer.reset-size5.size7 {\n font-size: 1.33333333em;\n}\n.katex .sizing.reset-size5.size8,\n.katex .fontsize-ensurer.reset-size5.size8 {\n font-size: 1.6em;\n}\n.katex .sizing.reset-size5.size9,\n.katex .fontsize-ensurer.reset-size5.size9 {\n font-size: 1.92em;\n}\n.katex .sizing.reset-size5.size10,\n.katex .fontsize-ensurer.reset-size5.size10 {\n font-size: 2.30444444em;\n}\n.katex .sizing.reset-size5.size11,\n.katex .fontsize-ensurer.reset-size5.size11 {\n font-size: 2.76444444em;\n}\n.katex .sizing.reset-size6.size1,\n.katex .fontsize-ensurer.reset-size6.size1 {\n font-size: 0.5em;\n}\n.katex .sizing.reset-size6.size2,\n.katex .fontsize-ensurer.reset-size6.size2 {\n font-size: 0.6em;\n}\n.katex .sizing.reset-size6.size3,\n.katex .fontsize-ensurer.reset-size6.size3 {\n font-size: 0.7em;\n}\n.katex .sizing.reset-size6.size4,\n.katex .fontsize-ensurer.reset-size6.size4 {\n font-size: 0.8em;\n}\n.katex .sizing.reset-size6.size5,\n.katex .fontsize-ensurer.reset-size6.size5 {\n font-size: 0.9em;\n}\n.katex .sizing.reset-size6.size6,\n.katex .fontsize-ensurer.reset-size6.size6 {\n font-size: 1em;\n}\n.katex .sizing.reset-size6.size7,\n.katex .fontsize-ensurer.reset-size6.size7 {\n font-size: 1.2em;\n}\n.katex .sizing.reset-size6.size8,\n.katex .fontsize-ensurer.reset-size6.size8 {\n font-size: 1.44em;\n}\n.katex .sizing.reset-size6.size9,\n.katex .fontsize-ensurer.reset-size6.size9 {\n font-size: 1.728em;\n}\n.katex .sizing.reset-size6.size10,\n.katex .fontsize-ensurer.reset-size6.size10 {\n font-size: 2.074em;\n}\n.katex .sizing.reset-size6.size11,\n.katex .fontsize-ensurer.reset-size6.size11 {\n font-size: 2.488em;\n}\n.katex .sizing.reset-size7.size1,\n.katex .fontsize-ensurer.reset-size7.size1 {\n font-size: 0.41666667em;\n}\n.katex .sizing.reset-size7.size2,\n.katex .fontsize-ensurer.reset-size7.size2 {\n font-size: 0.5em;\n}\n.katex .sizing.reset-size7.size3,\n.katex .fontsize-ensurer.reset-size7.size3 {\n font-size: 0.58333333em;\n}\n.katex .sizing.reset-size7.size4,\n.katex .fontsize-ensurer.reset-size7.size4 {\n font-size: 0.66666667em;\n}\n.katex .sizing.reset-size7.size5,\n.katex .fontsize-ensurer.reset-size7.size5 {\n font-size: 0.75em;\n}\n.katex .sizing.reset-size7.size6,\n.katex .fontsize-ensurer.reset-size7.size6 {\n font-size: 0.83333333em;\n}\n.katex .sizing.reset-size7.size7,\n.katex .fontsize-ensurer.reset-size7.size7 {\n font-size: 1em;\n}\n.katex .sizing.reset-size7.size8,\n.katex .fontsize-ensurer.reset-size7.size8 {\n font-size: 1.2em;\n}\n.katex .sizing.reset-size7.size9,\n.katex .fontsize-ensurer.reset-size7.size9 {\n font-size: 1.44em;\n}\n.katex .sizing.reset-size7.size10,\n.katex .fontsize-ensurer.reset-size7.size10 {\n font-size: 1.72833333em;\n}\n.katex .sizing.reset-size7.size11,\n.katex .fontsize-ensurer.reset-size7.size11 {\n font-size: 2.07333333em;\n}\n.katex .sizing.reset-size8.size1,\n.katex .fontsize-ensurer.reset-size8.size1 {\n font-size: 0.34722222em;\n}\n.katex .sizing.reset-size8.size2,\n.katex .fontsize-ensurer.reset-size8.size2 {\n font-size: 0.41666667em;\n}\n.katex .sizing.reset-size8.size3,\n.katex .fontsize-ensurer.reset-size8.size3 {\n font-size: 0.48611111em;\n}\n.katex .sizing.reset-size8.size4,\n.katex .fontsize-ensurer.reset-size8.size4 {\n font-size: 0.55555556em;\n}\n.katex .sizing.reset-size8.size5,\n.katex .fontsize-ensurer.reset-size8.size5 {\n font-size: 0.625em;\n}\n.katex .sizing.reset-size8.size6,\n.katex .fontsize-ensurer.reset-size8.size6 {\n font-size: 0.69444444em;\n}\n.katex .sizing.reset-size8.size7,\n.katex .fontsize-ensurer.reset-size8.size7 {\n font-size: 0.83333333em;\n}\n.katex .sizing.reset-size8.size8,\n.katex .fontsize-ensurer.reset-size8.size8 {\n font-size: 1em;\n}\n.katex .sizing.reset-size8.size9,\n.katex .fontsize-ensurer.reset-size8.size9 {\n font-size: 1.2em;\n}\n.katex .sizing.reset-size8.size10,\n.katex .fontsize-ensurer.reset-size8.size10 {\n font-size: 1.44027778em;\n}\n.katex .sizing.reset-size8.size11,\n.katex .fontsize-ensurer.reset-size8.size11 {\n font-size: 1.72777778em;\n}\n.katex .sizing.reset-size9.size1,\n.katex .fontsize-ensurer.reset-size9.size1 {\n font-size: 0.28935185em;\n}\n.katex .sizing.reset-size9.size2,\n.katex .fontsize-ensurer.reset-size9.size2 {\n font-size: 0.34722222em;\n}\n.katex .sizing.reset-size9.size3,\n.katex .fontsize-ensurer.reset-size9.size3 {\n font-size: 0.40509259em;\n}\n.katex .sizing.reset-size9.size4,\n.katex .fontsize-ensurer.reset-size9.size4 {\n font-size: 0.46296296em;\n}\n.katex .sizing.reset-size9.size5,\n.katex .fontsize-ensurer.reset-size9.size5 {\n font-size: 0.52083333em;\n}\n.katex .sizing.reset-size9.size6,\n.katex .fontsize-ensurer.reset-size9.size6 {\n font-size: 0.5787037em;\n}\n.katex .sizing.reset-size9.size7,\n.katex .fontsize-ensurer.reset-size9.size7 {\n font-size: 0.69444444em;\n}\n.katex .sizing.reset-size9.size8,\n.katex .fontsize-ensurer.reset-size9.size8 {\n font-size: 0.83333333em;\n}\n.katex .sizing.reset-size9.size9,\n.katex .fontsize-ensurer.reset-size9.size9 {\n font-size: 1em;\n}\n.katex .sizing.reset-size9.size10,\n.katex .fontsize-ensurer.reset-size9.size10 {\n font-size: 1.20023148em;\n}\n.katex .sizing.reset-size9.size11,\n.katex .fontsize-ensurer.reset-size9.size11 {\n font-size: 1.43981481em;\n}\n.katex .sizing.reset-size10.size1,\n.katex .fontsize-ensurer.reset-size10.size1 {\n font-size: 0.24108004em;\n}\n.katex .sizing.reset-size10.size2,\n.katex .fontsize-ensurer.reset-size10.size2 {\n font-size: 0.28929605em;\n}\n.katex .sizing.reset-size10.size3,\n.katex .fontsize-ensurer.reset-size10.size3 {\n font-size: 0.33751205em;\n}\n.katex .sizing.reset-size10.size4,\n.katex .fontsize-ensurer.reset-size10.size4 {\n font-size: 0.38572806em;\n}\n.katex .sizing.reset-size10.size5,\n.katex .fontsize-ensurer.reset-size10.size5 {\n font-size: 0.43394407em;\n}\n.katex .sizing.reset-size10.size6,\n.katex .fontsize-ensurer.reset-size10.size6 {\n font-size: 0.48216008em;\n}\n.katex .sizing.reset-size10.size7,\n.katex .fontsize-ensurer.reset-size10.size7 {\n font-size: 0.57859209em;\n}\n.katex .sizing.reset-size10.size8,\n.katex .fontsize-ensurer.reset-size10.size8 {\n font-size: 0.69431051em;\n}\n.katex .sizing.reset-size10.size9,\n.katex .fontsize-ensurer.reset-size10.size9 {\n font-size: 0.83317261em;\n}\n.katex .sizing.reset-size10.size10,\n.katex .fontsize-ensurer.reset-size10.size10 {\n font-size: 1em;\n}\n.katex .sizing.reset-size10.size11,\n.katex .fontsize-ensurer.reset-size10.size11 {\n font-size: 1.19961427em;\n}\n.katex .sizing.reset-size11.size1,\n.katex .fontsize-ensurer.reset-size11.size1 {\n font-size: 0.20096463em;\n}\n.katex .sizing.reset-size11.size2,\n.katex .fontsize-ensurer.reset-size11.size2 {\n font-size: 0.24115756em;\n}\n.katex .sizing.reset-size11.size3,\n.katex .fontsize-ensurer.reset-size11.size3 {\n font-size: 0.28135048em;\n}\n.katex .sizing.reset-size11.size4,\n.katex .fontsize-ensurer.reset-size11.size4 {\n font-size: 0.32154341em;\n}\n.katex .sizing.reset-size11.size5,\n.katex .fontsize-ensurer.reset-size11.size5 {\n font-size: 0.36173633em;\n}\n.katex .sizing.reset-size11.size6,\n.katex .fontsize-ensurer.reset-size11.size6 {\n font-size: 0.40192926em;\n}\n.katex .sizing.reset-size11.size7,\n.katex .fontsize-ensurer.reset-size11.size7 {\n font-size: 0.48231511em;\n}\n.katex .sizing.reset-size11.size8,\n.katex .fontsize-ensurer.reset-size11.size8 {\n font-size: 0.57877814em;\n}\n.katex .sizing.reset-size11.size9,\n.katex .fontsize-ensurer.reset-size11.size9 {\n font-size: 0.69453376em;\n}\n.katex .sizing.reset-size11.size10,\n.katex .fontsize-ensurer.reset-size11.size10 {\n font-size: 0.83360129em;\n}\n.katex .sizing.reset-size11.size11,\n.katex .fontsize-ensurer.reset-size11.size11 {\n font-size: 1em;\n}\n.katex .delimsizing.size1 {\n font-family: KaTeX_Size1;\n}\n.katex .delimsizing.size2 {\n font-family: KaTeX_Size2;\n}\n.katex .delimsizing.size3 {\n font-family: KaTeX_Size3;\n}\n.katex .delimsizing.size4 {\n font-family: KaTeX_Size4;\n}\n.katex .delimsizing.mult .delim-size1 > span {\n font-family: KaTeX_Size1;\n}\n.katex .delimsizing.mult .delim-size4 > span {\n font-family: KaTeX_Size4;\n}\n.katex .nulldelimiter {\n display: inline-block;\n width: 0.12em;\n}\n.katex .delimcenter {\n position: relative;\n}\n.katex .op-symbol {\n position: relative;\n}\n.katex .op-symbol.small-op {\n font-family: KaTeX_Size1;\n}\n.katex .op-symbol.large-op {\n font-family: KaTeX_Size2;\n}\n.katex .op-limits > .vlist-t {\n text-align: center;\n}\n.katex .accent > .vlist-t {\n text-align: center;\n}\n.katex .accent .accent-body {\n position: relative;\n}\n.katex .accent .accent-body:not(.accent-full) {\n width: 0;\n}\n.katex .overlay {\n display: block;\n}\n.katex .mtable .vertical-separator {\n display: inline-block;\n min-width: 1px;\n}\n.katex .mtable .arraycolsep {\n display: inline-block;\n}\n.katex .mtable .col-align-c > .vlist-t {\n text-align: center;\n}\n.katex .mtable .col-align-l > .vlist-t {\n text-align: left;\n}\n.katex .mtable .col-align-r > .vlist-t {\n text-align: right;\n}\n.katex .svg-align {\n text-align: left;\n}\n.katex svg {\n display: block;\n position: absolute;\n width: 100%;\n height: inherit;\n fill: currentColor;\n stroke: currentColor;\n fill-rule: nonzero;\n fill-opacity: 1;\n stroke-width: 1;\n stroke-linecap: butt;\n stroke-linejoin: miter;\n stroke-miterlimit: 4;\n stroke-dasharray: none;\n stroke-dashoffset: 0;\n stroke-opacity: 1;\n}\n.katex svg path {\n stroke: none;\n}\n.katex img {\n border-style: none;\n min-width: 0;\n min-height: 0;\n max-width: none;\n max-height: none;\n}\n.katex .stretchy {\n width: 100%;\n display: block;\n position: relative;\n overflow: hidden;\n}\n.katex .stretchy::before,\n.katex .stretchy::after {\n content: "";\n}\n.katex .hide-tail {\n width: 100%;\n position: relative;\n overflow: hidden;\n}\n.katex .halfarrow-left {\n position: absolute;\n left: 0;\n width: 50.2%;\n overflow: hidden;\n}\n.katex .halfarrow-right {\n position: absolute;\n right: 0;\n width: 50.2%;\n overflow: hidden;\n}\n.katex .brace-left {\n position: absolute;\n left: 0;\n width: 25.1%;\n overflow: hidden;\n}\n.katex .brace-center {\n position: absolute;\n left: 25%;\n width: 50%;\n overflow: hidden;\n}\n.katex .brace-right {\n position: absolute;\n right: 0;\n width: 25.1%;\n overflow: hidden;\n}\n.katex .x-arrow-pad {\n padding: 0 0.5em;\n}\n.katex .cd-arrow-pad {\n padding: 0 0.55556em 0 0.27778em;\n}\n.katex .x-arrow,\n.katex .mover,\n.katex .munder {\n text-align: center;\n}\n.katex .boxpad {\n padding: 0 0.3em;\n}\n.katex .fbox,\n.katex .fcolorbox {\n box-sizing: border-box;\n border: 0.04em solid;\n}\n.katex .cancel-pad {\n padding: 0 0.2em;\n}\n.katex .cancel-lap {\n margin-left: -0.2em;\n margin-right: -0.2em;\n}\n.katex .sout {\n border-bottom-style: solid;\n border-bottom-width: 0.08em;\n}\n.katex .angl {\n box-sizing: border-box;\n border-top: 0.049em solid;\n border-right: 0.049em solid;\n margin-right: 0.03889em;\n}\n.katex .anglpad {\n padding: 0 0.03889em;\n}\n.katex .eqn-num::before {\n counter-increment: katexEqnNo;\n content: "(" counter(katexEqnNo) ")";\n}\n.katex .mml-eqn-num::before {\n counter-increment: mmlEqnNo;\n content: "(" counter(mmlEqnNo) ")";\n}\n.katex .mtr-glue {\n width: 50%;\n}\n.katex .cd-vert-arrow {\n display: inline-block;\n position: relative;\n}\n.katex .cd-label-left {\n display: inline-block;\n position: absolute;\n right: calc(50% + 0.3em);\n text-align: left;\n}\n.katex .cd-label-right {\n display: inline-block;\n position: absolute;\n left: calc(50% + 0.3em);\n text-align: right;\n}\n.katex-display {\n display: block;\n margin: 1em 0;\n text-align: center;\n}\n.katex-display > .katex {\n display: block;\n text-align: center;\n white-space: nowrap;\n}\n.katex-display > .katex > .katex-html {\n display: block;\n position: relative;\n}\n.katex-display > .katex > .katex-html > .tag {\n position: absolute;\n right: 0;\n}\n.katex-display.leqno > .katex > .katex-html > .tag {\n left: 0;\n right: auto;\n}\n.katex-display.fleqn > .katex {\n text-align: left;\n padding-left: 2em;\n}\nbody {\n counter-reset: katexEqnNo mmlEqnNo;\n}\n';let p=!1;const m=u["a"].import("formats/formula");class g{constructor(e){this.opt=e,this.mindMap=e.mindMap,window.katex=i.a,this.init(),this.config=this.getKatexConfig(),this.cssEl=null,this.addStyle(),this.extendQuill(),this.onDestroy=this.onDestroy.bind(this),this.mindMap.on("beforeDestroy",this.onDestroy)}onDestroy(){const e=Object.getPrototypeOf(this.mindMap).constructor.instanceCount;e<=1&&(p=!1,u["a"].register("formats/formula",m,!0))}init(){this.mindMap.opt.enableEditFormulaInRichTextEdit&&(this.mindMap.opt.transformRichTextOnEnterEdit=this.latexRichToText.bind(this),this.mindMap.opt.beforeHideRichTextEdit=this.formatLatex.bind(this))}getKatexConfig(){const e={throwOnError:!1,errorColor:"#f00",output:"mathml"};let{getKatexOutputType:t}=this.mindMap.opt;t=t||function(){const e=Object(h["G"])();if(e&&e<=100)return"html"};const n=t()||"mathml";return e.output=["mathml","html"].includes(n)?n:"mathml",e}extendQuill(){if(p)return;p=!0;const e=this;class t extends m{static create(t){let n=super.create(t);return"string"===typeof t&&(i.a.render(t,n,e.config),n.setAttribute("data-value",Object(h["Y"])(t))),n}}u["a"].register("formats/formula",t,!0)}getStyleText(){const{katexFontPath:e}=this.mindMap.opt;let t="";return"html"===this.config.output&&(t=d(e)),t+=f(),t}addStyle(){this.cssEl=document.createElement("style"),this.cssEl.type="text/css",this.cssEl.innerHTML=this.getStyleText(),document.head.appendChild(this.cssEl)}removeStyle(){document.head.removeChild(this.cssEl)}insertFormulaToNode(e,t){const n=this.mindMap.richText;n.showEditText({node:e}),n.quill.insertEmbed(n.quill.getLength()-1,"formula",t),n.hideEditText([e])}latexRichToText(e){if(-1!==e.indexOf('class="ql-formula"')){const t=new DOMParser,n=t.parseFromString(e,"text/html"),r=n.getElementsByClassName("ql-formula");for(const i of r)e=e.replace(i.outerHTML,`$${i.getAttribute("data-value")}$`);this.mindMap.opt.openRealtimeRenderOnNodeTextEdit&&setTimeout(()=>{this.mindMap.emit("node_text_edit_change",{node:this.mindMap.richText.node,text:this.mindMap.richText.getEditText(),richText:!0})},0)}return e}formatLatex(e){const t=e.quill.getContents(),n=t.ops;let r=!1;for(let i=n.length-1;i>=0;i--){const e=n[i],t=e.insert;if(t&&"object"!==typeof t&&"\n"!==t&&/\$.+?\$/g.test(t)){const e=[...t.matchAll(/\$.+?\$/g)],o=t.split(/\$.+?\$/g);for(let t=e.length-1;t>=0;t--){const n=e[t]&&e[t][0]&&e[t][0].slice(1,-1)||null;if(null!==n&&n.trim().length>0){const e=this.checkFormulaIsLegal(n);e?(o.splice(t+1,0,{insert:{formula:n}}),r=!0):o.splice(t+1,0,"")}else o.splice(t+1,0,"")}while(o.length>0){let e=o.pop();if("string"===typeof e){if(e.length<1)continue;e={insert:e}}e["attributes"]=n[i]["attributes"],n.splice(i+1,0,e)}n.splice(i,1)}}r&&e.quill.setContents(t)}checkFormulaIsLegal(e){try{return i.a.renderToString(e),!0}catch(t){return!1}}beforePluginRemove(){this.removeStyle(),this.mindMap.off("beforeDestroy",this.onDestroy)}beforePluginDestroy(){this.removeStyle(),this.mindMap.off("beforeDestroy",this.onDestroy)}}g.instanceName="formula";t["a"]=g},fa22:function(e,t,n){"use strict";var r=n("1e42"),i=n("3887");class o{constructor({mindMap:e}){this.mindMap=e,this.handleEl=null,this.isShowHandleEl=!1,this.node=null,this.img=null,this.rect=null,this.isMousedown=!1,this.mousedownDrawTransform=null,this.mousedownOffset={x:0,y:0},this.currentImgWidth=0,this.currentImgHeight=0,this.isAdjusted=!1,this.bindEvent()}bindEvent(){this.onNodeImgMouseleave=this.onNodeImgMouseleave.bind(this),this.onNodeImgMousemove=this.onNodeImgMousemove.bind(this),this.onMousemove=this.onMousemove.bind(this),this.onMouseup=this.onMouseup.bind(this),this.onRenderEnd=this.onRenderEnd.bind(this),this.mindMap.on("node_img_mouseleave",this.onNodeImgMouseleave),this.mindMap.on("node_img_mousemove",this.onNodeImgMousemove),this.mindMap.on("mousemove",this.onMousemove),this.mindMap.on("mouseup",this.onMouseup),this.mindMap.on("node_mouseup",this.onMouseup),this.mindMap.on("node_tree_render_end",this.onRenderEnd)}unBindEvent(){this.mindMap.off("node_img_mouseleave",this.onNodeImgMouseleave),this.mindMap.off("node_img_mousemove",this.onNodeImgMousemove),this.mindMap.off("mousemove",this.onMousemove),this.mindMap.off("mouseup",this.onMouseup),this.mindMap.off("node_mouseup",this.onMouseup),this.mindMap.off("node_tree_render_end",this.onRenderEnd)}onNodeImgMousemove(e,t){this.isMousedown||this.isAdjusted||this.mindMap.opt.readonly||this.node&&this.node.uid===e.uid&&this.isShowHandleEl||(this.node=e,this.img=t,this.rect=this.img.rbox(),this.showHandleEl())}onNodeImgMouseleave(){this.isMousedown||this.hideHandleEl()}hideNodeImage(){this.img&&this.img.hide()}showNodeImage(){this.img&&this.img.show()}showHandleEl(){this.isShowHandleEl||(this.handleEl||this.createResizeBtnEl(),this.setHandleElRect(),this.handleEl.style.display="block",this.isShowHandleEl=!0)}hideHandleEl(){this.isShowHandleEl&&(this.isShowHandleEl=!1,this.handleEl.style.display="none",this.handleEl.style.backgroundImage="",this.handleEl.style.width=0,this.handleEl.style.height=0,this.handleEl.style.left=0,this.handleEl.style.top=0)}setHandleElRect(){let{width:e,height:t,x:n,y:r}=this.rect;this.handleEl.style.left=n+"px",this.handleEl.style.top=r+"px",this.currentImgWidth=e,this.currentImgHeight=t,this.updateHandleElSize()}updateHandleElSize(){this.handleEl.style.width=this.currentImgWidth+"px",this.handleEl.style.height=this.currentImgHeight+"px"}createResizeBtnEl(){const{imgResizeBtnSize:e,customResizeBtnInnerHTML:t,customDeleteBtnInnerHTML:n}=this.mindMap.opt;this.handleEl=document.createElement("div"),this.handleEl.style.cssText="\n pointer-events: none;\n position: fixed;\n\t display:none;\n background-size: cover;\n ",this.handleEl.className="node-img-handle";const r=document.createElement("div");r.innerHTML=t||i["a"].imgAdjust,r.style.cssText=`\n position: absolute;\n right: 0;\n bottom: 0;\n pointer-events: auto;\n background-color: rgba(0, 0, 0, 0.3);\n width: ${e}px;\n height: ${e}px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: nwse-resize;\n `,r.className="node-image-resize",r.addEventListener("mouseenter",()=>{this.showHandleEl()}),r.addEventListener("mouseleave",()=>{this.isMousedown||this.hideHandleEl()}),r.addEventListener("mousedown",e=>{e.stopPropagation(),e.preventDefault(),this.onMousedown(e)}),r.addEventListener("mouseup",e=>{setTimeout(()=>{this.hideHandleEl(),this.isAdjusted=!1},0)}),r.addEventListener("click",e=>{e.stopPropagation()}),this.handleEl.appendChild(r);const o=document.createElement("div");this.handleEl.prepend(o),o.className="node-image-remove",o.innerHTML=n||i["a"].remove,o.style.cssText=`\n position: absolute;\n right: 0;top:0;color:#fff;\n pointer-events: auto;\n background-color: rgba(0, 0, 0, 0.3);\n width: ${e}px;\n height: ${e}px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n `,o.addEventListener("mouseenter",e=>{this.showHandleEl()}),o.addEventListener("mouseleave",e=>{this.isMousedown||this.hideHandleEl()}),o.addEventListener("click",async e=>{let t=!1;"function"===typeof this.mindMap.opt.beforeDeleteNodeImg&&(t=await this.mindMap.opt.beforeDeleteNodeImg(this.node)),t||this.mindMap.execCommand("SET_NODE_IMAGE",this.node,{url:null})});const s=this.mindMap.opt.customInnerElsAppendTo||document.body;s.appendChild(this.handleEl)}onMousedown(e){this.isMousedown=!0,this.mousedownDrawTransform=this.mindMap.draw.transform(),this.hideNodeImage(),this.mousedownOffset.x=e.clientX-this.rect.x2,this.mousedownOffset.y=e.clientY-this.rect.y2,this.handleEl.style.backgroundImage=`url(${this.node.getData("image")})`}onMousemove(e){if(!this.isMousedown)return;e.preventDefault();const{scaleX:t,scaleY:n}=this.mousedownDrawTransform,{width:i,height:o}=this.node.getData("imageSize");let{minImgResizeWidth:s,minImgResizeHeight:a,maxImgResizeWidthInheritTheme:l,maxImgResizeWidth:c,maxImgResizeHeight:u}=this.mindMap.opt;const h=s/a,d=i/o;let f,p;h>d?a=s/d:s=a*d,l?(f=this.mindMap.getThemeConfig("imgMaxWidth"),p=this.mindMap.getThemeConfig("imgMaxHeight")):(f=c,p=u),f*=t,p*=n;let m=Math.abs(e.clientX-this.rect.x-this.mousedownOffset.x),g=Math.abs(e.clientY-this.rect.y-this.mousedownOffset.y);m<s&&(m=s),g<a&&(g=a),m>f&&(m=f),g>p&&(g=p);const[b,y]=Object(r["vb"])(i,o,m,g);this.currentImgWidth=b,this.currentImgHeight=y,this.updateHandleElSize()}onMouseup(){if(!this.isMousedown)return;this.showNodeImage(),this.hideHandleEl();const{image:e,imageTitle:t}=this.node.getData(),{scaleX:n,scaleY:r}=this.mousedownDrawTransform,i=this.currentImgWidth/n,o=this.currentImgHeight/r;(Math.abs(i-this.rect.width)>1||Math.abs(o-this.rect.height)>1)&&(this.mindMap.execCommand("SET_NODE_IMAGE",this.node,{url:e,title:t,width:i,height:o,custom:!0}),this.isAdjusted=!0),this.isMousedown=!1,this.mousedownDrawTransform=null,this.mousedownOffset.x=0,this.mousedownOffset.y=0}onRenderEnd(){this.isAdjusted?this.isAdjusted=!1:this.hideHandleEl()}beforePluginRemove(){this.unBindEvent()}beforePluginDestroy(){this.unBindEvent()}}o.instanceName="nodeImgAdjust",t["a"]=o},faa1:function(e,t,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function s(e){console&&console.warn&&console.warn(e)}r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function l(){l.init.call(this)}e.exports=l,e.exports.once=x,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function h(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var i,o,a;if(u(n),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),i=h(e),i>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s(l)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}function m(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?v(i):b(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function b(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function y(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function x(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}k(e,t,o,{once:!0}),"error"!==t&&w(e,i,{once:!0})}))}function w(e,t,n){"function"===typeof e.on&&k(e,"error",t,n)}function k(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return h(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)o(l,this,t);else{var c=l.length,u=b(l,c);for(n=0;n<c;++n)o(u[n],this,t)}return!0},l.prototype.addListener=function(e,t){return d(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return d(this,e,t,!0)},l.prototype.once=function(e,t){return u(t),this.on(e,p(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,p(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,i,o,s;if(u(t),r=this._events,void 0===r)return this;if(n=r[e],void 0===n)return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():y(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)i=o[r],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return m(this,e,!0)},l.prototype.rawListeners=function(e){return m(this,e,!1)},l.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},l.prototype.listenerCount=g,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},fb24:function(e,t,n){var r=n("09d9"),i=n("10ad");function o(e){var t=r.copyOptions(e);return r.ensureSpacesExists(t),t}e.exports=function(e,t){var n,r,s,a;return n=o(t),r=i(e,n),a="compact"in n&&n.compact?"_parent":"parent",s="addParent"in n&&n.addParent?JSON.stringify(r,(function(e,t){return e===a?"_":t}),n.spaces):JSON.stringify(r,null,n.spaces),s.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}},fb43:function(e,t,n){"use strict";n("d9e2"),n("14d9");var r=Object.prototype.hasOwnProperty,i="~";function o(){}function s(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,n,r,o){if("function"!==typeof n)throw new TypeError("The listener must be a function");var a=new s(n,r||e,o),l=i?i+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function l(e,t){0===--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,s=new Array(o);r<o;r++)s[r]=n[r].fn;return s},c.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,r,o,s){var a=i?i+e:e;if(!this._events[a])return!1;var l,c,u=this._events[a],h=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),h){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,r),!0;case 5:return u.fn.call(u.context,t,n,r,o),!0;case 6:return u.fn.call(u.context,t,n,r,o,s),!0}for(c=1,l=new Array(h-1);c<h;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var d,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),h){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,r);break;default:if(!l)for(d=1,l=new Array(h-1);d<h;d++)l[d-1]=arguments[d];u[c].fn.apply(u[c].context,l)}}return!0},c.prototype.on=function(e,t,n){return a(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return a(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return l(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||r&&!s.once||n&&s.context!==n||l(this,o);else{for(var a=0,c=[],u=s.length;a<u;a++)(s[a].fn!==t||r&&!s[a].once||n&&s[a].context!==n)&&c.push(s[a]);c.length?this._events[o]=1===c.length?c[0]:c:l(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&l(this,t)):(this._events=new o,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=i,c.EventEmitter=c,e.exports=c},fbbc:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));n("14d9"),n("88e6"),n("70cc"),n("eb03"),n("22e5"),n("c01e"),n("fa76"),n("8306");var r=n("3b2f"),i=n.n(r);i.a.__defineMacro("\\ce",(function(e){return o(e.consumeArgs(1)[0],"ce")})),i.a.__defineMacro("\\pu",(function(e){return o(e.consumeArgs(1)[0],"pu")})),i.a.__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var o=function(e,t){for(var n="",r=e.length&&e[e.length-1].loc.start,i=e.length-1;i>=0;i--)e[i].loc.start>r&&(n+=" ",r=e[i].loc.start),n+=e[i].text,r+=e[i].text.length;var o=a.go(s.go(n,t));return o},s={go:function(e,t){if(!e)return[];void 0===t&&(t="ce");var n,r="0",i={};i["parenthesisLevel"]=0,e=e.replace(/\n/g," "),e=e.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),e=e.replace(/[\u2026]/g,"...");var o=10,a=[];while(1){n!==e?(o=10,n=e):o--;var l=s.stateMachines[t],c=l.transitions[r]||l.transitions["*"];e:for(var u=0;u<c.length;u++){var h=s.patterns.match_(c[u].pattern,e);if(h){for(var d=c[u].task,f=0;f<d.action_.length;f++){var p;if(l.actions[d.action_[f].type_])p=l.actions[d.action_[f].type_](i,h.match_,d.action_[f].option);else{if(!s.actions[d.action_[f].type_])throw["MhchemBugA","mhchem bug A. Please report. ("+d.action_[f].type_+")"];p=s.actions[d.action_[f].type_](i,h.match_,d.action_[f].option)}s.concatArray(a,p)}if(r=d.nextState||r,!(e.length>0))return a;if(d.revisit||(e=h.remainder),!d.toContinue)break e}}if(o<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(e,t){if(t)if(Array.isArray(t))for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(e){var t=e.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return t&&t[0]?{match_:t.splice(1),remainder:e.substr(t[0].length)}:null},"(-)(9)^(-9)":function(e){var t=e.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return t&&t[0]?{match_:t.splice(1),remainder:e.substr(t[0].length)}:null},"state of aggregation $":function(e){var t=s.patterns.findObserveGroups(e,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(t&&t.remainder.match(/^($|[\s,;\)\]\}])/))return t;var n=e.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return n?{match_:n[0],remainder:e.substr(n[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(e){return s.patterns.findObserveGroups(e,"^{","","","}")},"^($...$)":function(e){return s.patterns.findObserveGroups(e,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(e){return s.patterns.findObserveGroups(e,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(e){return s.patterns.findObserveGroups(e,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(e){return s.patterns.findObserveGroups(e,"_{","","","}")},"_($...$)":function(e){return s.patterns.findObserveGroups(e,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(e){return s.patterns.findObserveGroups(e,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(e){return s.patterns.findObserveGroups(e,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(e){return s.patterns.findObserveGroups(e,"","{","}","")},"{(...)}":function(e){return s.patterns.findObserveGroups(e,"{","","","}")},"$...$":function(e){return s.patterns.findObserveGroups(e,"","$","$","")},"${(...)}$":function(e){return s.patterns.findObserveGroups(e,"${","","","}$")},"$(...)$":function(e){return s.patterns.findObserveGroups(e,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(e){return s.patterns.findObserveGroups(e,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(e){return s.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(e){return s.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(e){return s.patterns.findObserveGroups(e,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(e){return s.patterns.findObserveGroups(e,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(e){return s.patterns.findObserveGroups(e,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(e){return s.patterns.findObserveGroups(e,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(e){var t;if(t=e.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),t)return{match_:t[0],remainder:e.substr(t[0].length)};var n=s.patterns.findObserveGroups(e,"","$","$","");return n&&(t=n.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),t)?{match_:t[0],remainder:e.substr(t[0].length)}:null},amount2:function(e){return this["amount"](e)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(e){if(e.match(/^\([a-z]+\)$/))return null;var t=e.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return t?{match_:t[0],remainder:e.substr(t[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(e,t,n,r,i,o,s,a,l,c){var u=function(e,t){if("string"===typeof t)return 0!==e.indexOf(t)?null:t;var n=e.match(t);return n?n[0]:null},h=function(e,t,n){var r=0;while(t<e.length){var i=e.charAt(t),o=u(e.substr(t),n);if(null!==o&&0===r)return{endMatchBegin:t,endMatchEnd:t+o.length};if("{"===i)r++;else if("}"===i){if(0===r)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];r--}t++}return null},d=u(e,t);if(null===d)return null;if(e=e.substr(d.length),d=u(e,n),null===d)return null;var f=h(e,d.length,r||i);if(null===f)return null;var p=e.substring(0,r?f.endMatchEnd:f.endMatchBegin);if(o||s){var m=this.findObserveGroups(e.substr(f.endMatchEnd),o,s,a,l);if(null===m)return null;var g=[p,m.match_];return{match_:c?g.join(""):g,remainder:m.remainder}}return{match_:p,remainder:e.substr(f.endMatchEnd)}},match_:function(e,t){var n=s.patterns.patterns[e];if(void 0===n)throw["MhchemBugP","mhchem bug P. Please report. ("+e+")"];if("function"===typeof n)return s.patterns.patterns[e](t);var r,i=t.match(n);return i?(r=i[2]?[i[1],i[2]]:i[1]?i[1]:i[0],{match_:r,remainder:t.substr(i[0].length)}):null}},actions:{"a=":function(e,t){e.a=(e.a||"")+t},"b=":function(e,t){e.b=(e.b||"")+t},"p=":function(e,t){e.p=(e.p||"")+t},"o=":function(e,t){e.o=(e.o||"")+t},"q=":function(e,t){e.q=(e.q||"")+t},"d=":function(e,t){e.d=(e.d||"")+t},"rm=":function(e,t){e.rm=(e.rm||"")+t},"text=":function(e,t){e.text_=(e.text_||"")+t},insert:function(e,t,n){return{type_:n}},"insert+p1":function(e,t,n){return{type_:n,p1:t}},"insert+p1+p2":function(e,t,n){return{type_:n,p1:t[0],p2:t[1]}},copy:function(e,t){return t},rm:function(e,t){return{type_:"rm",p1:t||""}},text:function(e,t){return s.go(t,"text")},"{text}":function(e,t){var n=["{"];return s.concatArray(n,s.go(t,"text")),n.push("}"),n},"tex-math":function(e,t){return s.go(t,"tex-math")},"tex-math tight":function(e,t){return s.go(t,"tex-math tight")},bond:function(e,t,n){return{type_:"bond",kind_:n||t}},"color0-output":function(e,t){return{type_:"color0",color:t[0]}},ce:function(e,t){return s.go(t)},"1/2":function(e,t){var n=[];t.match(/^[+\-]/)&&(n.push(t.substr(0,1)),t=t.substr(1));var r=t.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return r[1]=r[1].replace(/\$/g,""),n.push({type_:"frac",p1:r[1],p2:r[2]}),r[3]&&(r[3]=r[3].replace(/\$/g,""),n.push({type_:"tex-math",p1:r[3]})),n},"9,9":function(e,t){return s.go(t,"9,9")}},createTransitions:function(e){var t,n,r,i,o={};for(t in e)for(n in e[t])for(r=n.split("|"),e[t][n].stateArray=r,i=0;i<r.length;i++)o[r[i]]=[];for(t in e)for(n in e[t])for(r=e[t][n].stateArray||[],i=0;i<r.length;i++){var s=e[t][n];if(s.action_){s.action_=[].concat(s.action_);for(var a=0;a<s.action_.length;a++)"string"===typeof s.action_[a]&&(s.action_[a]={type_:s.action_[a]})}else s.action_=[];for(var l=t.split("|"),c=0;c<l.length;c++)if("*"===r[i])for(var u in o)o[u].push({pattern:l[c],task:s});else o[r[i]].push({pattern:l[c],task:s})}return o},stateMachines:{}};s.stateMachines={ce:{transitions:s.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(e,t){var n;if((e.d||"").match(/^[0-9]+$/)){var r=e.d;e.d=void 0,n=this["output"](e),e.b=r}else n=this["output"](e);return s.actions["o="](e,t),n},"d= kv":function(e,t){e.d=t,e.dType="kv"},"charge or bond":function(e,t){if(e["beginsWithBond"]){var n=[];return s.concatArray(n,this["output"](e)),s.concatArray(n,s.actions["bond"](e,t,"-")),n}e.d=t},"- after o/d":function(e,t,n){var r=s.patterns.match_("orbital",e.o||""),i=s.patterns.match_("one lowercase greek letter $",e.o||""),o=s.patterns.match_("one lowercase latin letter $",e.o||""),a=s.patterns.match_("$one lowercase latin letter$ $",e.o||""),l="-"===t&&(r&&""===r.remainder||i||o||a);!l||e.a||e.b||e.p||e.d||e.q||r||!o||(e.o="$"+e.o+"$");var c=[];return l?(s.concatArray(c,this["output"](e)),c.push({type_:"hyphen"})):(r=s.patterns.match_("digits",e.d||""),n&&r&&""===r.remainder?(s.concatArray(c,s.actions["d="](e,t)),s.concatArray(c,this["output"](e))):(s.concatArray(c,this["output"](e)),s.concatArray(c,s.actions["bond"](e,t,"-")))),c},"a to o":function(e){e.o=e.a,e.a=void 0},"sb=true":function(e){e.sb=!0},"sb=false":function(e){e.sb=!1},"beginsWithBond=true":function(e){e["beginsWithBond"]=!0},"beginsWithBond=false":function(e){e["beginsWithBond"]=!1},"parenthesisLevel++":function(e){e["parenthesisLevel"]++},"parenthesisLevel--":function(e){e["parenthesisLevel"]--},"state of aggregation":function(e,t){return{type_:"state of aggregation",p1:s.go(t,"o")}},comma:function(e,t){var n=t.replace(/\s*$/,""),r=n!==t;return r&&0===e["parenthesisLevel"]?{type_:"comma enumeration L",p1:n}:{type_:"comma enumeration M",p1:n}},output:function(e,t,n){var r,i,o;e.r?(i="M"===e.rdt?s.go(e.rd,"tex-math"):"T"===e.rdt?[{type_:"text",p1:e.rd||""}]:s.go(e.rd),o="M"===e.rqt?s.go(e.rq,"tex-math"):"T"===e.rqt?[{type_:"text",p1:e.rq||""}]:s.go(e.rq),r={type_:"arrow",r:e.r,rd:i,rq:o}):(r=[],(e.a||e.b||e.p||e.o||e.q||e.d||n)&&(e.sb&&r.push({type_:"entitySkip"}),e.o||e.q||e.d||e.b||e.p||2===n?e.o||e.q||e.d||!e.b&&!e.p?e.o&&"kv"===e.dType&&s.patterns.match_("d-oxidation$",e.d||"")?e.dType="oxidation":e.o&&"kv"===e.dType&&!e.q&&(e.dType=void 0):(e.o=e.a,e.d=e.b,e.q=e.p,e.a=e.b=e.p=void 0):(e.o=e.a,e.a=void 0),r.push({type_:"chemfive",a:s.go(e.a,"a"),b:s.go(e.b,"bd"),p:s.go(e.p,"pq"),o:s.go(e.o,"o"),q:s.go(e.q,"pq"),d:s.go(e.d,"oxidation"===e.dType?"oxidation":"bd"),dType:e.dType})));for(var a in e)"parenthesisLevel"!==a&&"beginsWithBond"!==a&&delete e[a];return r},"oxidation-output":function(e,t){var n=["{"];return s.concatArray(n,s.go(t,"oxidation")),n.push("}"),n},"frac-output":function(e,t){return{type_:"frac-ce",p1:s.go(t[0]),p2:s.go(t[1])}},"overset-output":function(e,t){return{type_:"overset",p1:s.go(t[0]),p2:s.go(t[1])}},"underset-output":function(e,t){return{type_:"underset",p1:s.go(t[0]),p2:s.go(t[1])}},"underbrace-output":function(e,t){return{type_:"underbrace",p1:s.go(t[0]),p2:s.go(t[1])}},"color-output":function(e,t){return{type_:"color",color1:t[0],color2:s.go(t[1])}},"r=":function(e,t){e.r=t},"rdt=":function(e,t){e.rdt=t},"rd=":function(e,t){e.rd=t},"rqt=":function(e,t){e.rqt=t},"rq=":function(e,t){e.rq=t},operator:function(e,t,n){return{type_:"operator",kind_:n||t}}}},a:{transitions:s.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:s.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(e){if(e.text_){var t={type_:"text",p1:e.text_};for(var n in e)delete e[n];return t}}}},pq:{transitions:s.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(e,t){return{type_:"state of aggregation subscript",p1:s.go(t,"o")}},"color-output":function(e,t){return{type_:"color",color1:t[0],color2:s.go(t[1],"pq")}}}},bd:{transitions:s.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(e,t){return{type_:"color",color1:t[0],color2:s.go(t[1],"bd")}}}},oxidation:{transitions:s.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(e,t){return{type_:"roman numeral",p1:t||""}}}},"tex-math":{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(e){if(e.o){var t={type_:"tex-math",p1:e.o};for(var n in e)delete e[n];return t}}}},"tex-math tight":{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(e,t){e.o=(e.o||"")+"{"+t+"}"},output:function(e){if(e.o){var t={type_:"tex-math",p1:e.o};for(var n in e)delete e[n];return t}}}},"9,9":{transitions:s.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:s.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(e,t){var n=[];return"+-"===t[0]||"+/-"===t[0]?n.push("\\pm "):t[0]&&n.push(t[0]),t[1]&&(s.concatArray(n,s.go(t[1],"pu-9,9")),t[2]&&(t[2].match(/[,.]/)?s.concatArray(n,s.go(t[2],"pu-9,9")):n.push(t[2])),t[3]=t[4]||t[3],t[3]&&(t[3]=t[3].trim(),"e"===t[3]||"*"===t[3].substr(0,1)?n.push({type_:"cdot"}):n.push({type_:"times"}))),t[3]&&n.push("10^{"+t[5]+"}"),n},"number^":function(e,t){var n=[];return"+-"===t[0]||"+/-"===t[0]?n.push("\\pm "):t[0]&&n.push(t[0]),s.concatArray(n,s.go(t[1],"pu-9,9")),n.push("^{"+t[2]+"}"),n},operator:function(e,t,n){return{type_:"operator",kind_:n||t}},space:function(){return{type_:"pu-space-1"}},output:function(e){var t,n=s.patterns.match_("{(...)}",e.d||"");n&&""===n.remainder&&(e.d=n.match_);var r=s.patterns.match_("{(...)}",e.q||"");if(r&&""===r.remainder&&(e.q=r.match_),e.d&&(e.d=e.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.d=e.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),e.q){e.q=e.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.q=e.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var i={d:s.go(e.d,"pu"),q:s.go(e.q,"pu")};"//"===e.o?t={type_:"pu-frac",p1:i.d,p2:i.q}:(t=i.d,i.d.length>1||i.q.length>1?t.push({type_:" / "}):t.push({type_:"/"}),s.concatArray(t,i.q))}else t=s.go(e.d,"pu-2");for(var o in e)delete e[o];return t}}},"pu-2":{transitions:s.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(e,t){e.rm+="^{"+t+"}"},space:function(){return{type_:"pu-space-2"}},output:function(e){var t=[];if(e.rm){var n=s.patterns.match_("{(...)}",e.rm||"");t=n&&""===n.remainder?s.go(n.match_,"pu"):{type_:"rm",p1:e.rm}}for(var r in e)delete e[r];return t}}},"pu-9,9":{transitions:s.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(e){var t=[];if(e.text_=e.text_||"",e.text_.length>4){var n=e.text_.length%3;0===n&&(n=3);for(var r=e.text_.length-3;r>0;r-=3)t.push(e.text_.substr(r,3)),t.push({type_:"1000 separator"});t.push(e.text_.substr(0,n)),t.reverse()}else t.push(e.text_);for(var i in e)delete e[i];return t},"output-o":function(e){var t=[];if(e.text_=e.text_||"",e.text_.length>4){for(var n=e.text_.length-3,r=0;r<n;r+=3)t.push(e.text_.substr(r,3)),t.push({type_:"1000 separator"});t.push(e.text_.substr(r))}else t.push(e.text_);for(var i in e)delete e[i];return t}}}};var a={go:function(e,t){if(!e)return"";for(var n="",r=!1,i=0;i<e.length;i++){var o=e[i];"string"===typeof o?n+=o:(n+=a._go2(o),"1st-level escape"===o.type_&&(r=!0))}return t||r||!n||(n="{"+n+"}"),n},_goInner:function(e){return e?a.go(e,!0):e},_go2:function(e){var t;switch(e.type_){case"chemfive":t="";var n={a:a._goInner(e.a),b:a._goInner(e.b),p:a._goInner(e.p),o:a._goInner(e.o),q:a._goInner(e.q),d:a._goInner(e.d)};n.a&&(n.a.match(/^[+\-]/)&&(n.a="{"+n.a+"}"),t+=n.a+"\\,"),(n.b||n.p)&&(t+="{\\vphantom{X}}",t+="^{\\hphantom{"+(n.b||"")+"}}_{\\hphantom{"+(n.p||"")+"}}",t+="{\\vphantom{X}}",t+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(n.b||"")+"}}",t+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(n.p||"")+"}}}"),n.o&&(n.o.match(/^[+\-]/)&&(n.o="{"+n.o+"}"),t+=n.o),"kv"===e.dType?((n.d||n.q)&&(t+="{\\vphantom{X}}"),n.d&&(t+="^{"+n.d+"}"),n.q&&(t+="_{\\smash[t]{"+n.q+"}}")):"oxidation"===e.dType?(n.d&&(t+="{\\vphantom{X}}",t+="^{"+n.d+"}"),n.q&&(t+="{\\vphantom{X}}",t+="_{\\smash[t]{"+n.q+"}}")):(n.q&&(t+="{\\vphantom{X}}",t+="_{\\smash[t]{"+n.q+"}}"),n.d&&(t+="{\\vphantom{X}}",t+="^{"+n.d+"}"));break;case"rm":t="\\mathrm{"+e.p1+"}";break;case"text":e.p1.match(/[\^_]/)?(e.p1=e.p1.replace(" ","~").replace("-","\\text{-}"),t="\\mathrm{"+e.p1+"}"):t="\\text{"+e.p1+"}";break;case"roman numeral":t="\\mathrm{"+e.p1+"}";break;case"state of aggregation":t="\\mskip2mu "+a._goInner(e.p1);break;case"state of aggregation subscript":t="\\mskip1mu "+a._goInner(e.p1);break;case"bond":if(t=a._getBond(e.kind_),!t)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+e.kind_+")"];break;case"frac":var r="\\frac{"+e.p1+"}{"+e.p2+"}";t="\\mathchoice{\\textstyle"+r+"}{"+r+"}{"+r+"}{"+r+"}";break;case"pu-frac":var i="\\frac{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";t="\\mathchoice{\\textstyle"+i+"}{"+i+"}{"+i+"}{"+i+"}";break;case"tex-math":t=e.p1+" ";break;case"frac-ce":t="\\frac{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";break;case"overset":t="\\overset{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";break;case"underset":t="\\underset{"+a._goInner(e.p1)+"}{"+a._goInner(e.p2)+"}";break;case"underbrace":t="\\underbrace{"+a._goInner(e.p1)+"}_{"+a._goInner(e.p2)+"}";break;case"color":t="{\\color{"+e.color1+"}{"+a._goInner(e.color2)+"}}";break;case"color0":t="\\color{"+e.color+"}";break;case"arrow":var o={rd:a._goInner(e.rd),rq:a._goInner(e.rq)},s="\\x"+a._getArrow(e.r);o.rq&&(s+="[{"+o.rq+"}]"),o.rd?s+="{"+o.rd+"}":s+="{}",t=s;break;case"operator":t=a._getOperator(e.kind_);break;case"1st-level escape":t=e.p1+" ";break;case"space":t=" ";break;case"entitySkip":t="~";break;case"pu-space-1":t="~";break;case"pu-space-2":t="\\mkern3mu ";break;case"1000 separator":t="\\mkern2mu ";break;case"commaDecimal":t="{,}";break;case"comma enumeration L":t="{"+e.p1+"}\\mkern6mu ";break;case"comma enumeration M":t="{"+e.p1+"}\\mkern3mu ";break;case"comma enumeration S":t="{"+e.p1+"}\\mkern1mu ";break;case"hyphen":t="\\text{-}";break;case"addition compound":t="\\,{\\cdot}\\,";break;case"electron dot":t="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":t="{\\times}";break;case"prime":t="\\prime ";break;case"cdot":t="\\cdot ";break;case"tight cdot":t="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":t="\\times ";break;case"circa":t="{\\sim}";break;case"^":t="uparrow";break;case"v":t="downarrow";break;case"ellipsis":t="\\ldots ";break;case"/":t="/";break;case" / ":t="\\,/\\,";break;default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}return c(t),t},_getArrow:function(e){switch(e){case"->":return"rightarrow";case"→":return"rightarrow";case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<--\x3e":return"rightleftarrows";case"<=>":return"rightleftharpoons";case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(e){switch(e){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(e){switch(e){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw l(e),["MhchemBugT","mhchem bug T. Please report."]}}};function l(e){}function c(e){}var u=n("1e42");const h=e=>{if(e&&e.trim())return e.trim();try{const e=globalThis.location;if(e&&"string"===typeof e.host)return e.host}catch{}return""};function d(){const e=e=>{function t(e){function t(e){const t={data:{text:n(e),uid:e.ID},children:[]};return e.Children&&e.Children.some(e=>e.ID)&&(t.children=r(e.Children)),t}function n(e){return e.Properties&&e.Properties.title?e.Properties.title:e.Children&&!e.Children.some(e=>e.ID)?e.Children.map(e=>"NodeText"===e.Type?e.Data:"NodeTextMark"===e.Type?e.TextMarkTextContent:"").join(""):e.Type.replace("Node","容器块啊啊")}function r(e){const n=[];let r=null,s=0;return e.forEach(e=>{if("NodeHeading"===e.Type){e.HeadingLevel<=s&&(r=null),s=e.HeadingLevel;const i=t(e);r&&r.children?r.children.push(i):n.push(i),r=i}else if(i(e)){const t=o(e);r&&r.children?r.children.push(...t):n.push(...t)}else{const i=t(e);r&&r.children?r.children.push(i):n.push(i)}}),n}function i(e){return["NodeList","NodeBlockquote","NodeSuperBlock"].includes(e.Type)}function o(e){return"NodeList"===e.Type?s(e):"NodeBlockquote"===e.Type||"NodeSuperBlock"===e.Type?r(e.Children.filter(e=>e.ID)):[]}function s(e){return e.Children.map(e=>{const n=t(e);return e.Children&&(n.children=r(e.Children.filter(e=>e.ID))),n})}const a={data:{text:e.Properties.title,uid:e.ID},children:r(e.Children)};return a}return t(e)},t=e=>{function t(e){function t(e,t=null){const i={data:{text:n(e),uid:e.ID,syData:{type:e.Type,id:e.ID,properties:e.Properties||{},listData:e.ListData||{}}},children:[]};return t&&(i.data.outerFrame=t),"NodeHeading"===e.Type&&(i.data.syData.headingLevel=e.HeadingLevel),e.Children&&e.Children.some(e=>e.ID)&&(i.children=r(e.Children,t)),i}function n(e){return e.Properties&&e.Properties.title?e.Properties.title:e.Children&&!e.Children.some(e=>e.ID)?e.Children.map(e=>"NodeText"===e.Type?e.Data:"NodeTextMark"===e.Type?e.TextMarkTextContent:"").join(""):e.Type}function r(e,n=null){const r=[];let s=null,a=0;return e.forEach(e=>{const l=t(e,n);if("NodeHeading"===e.Type)e.HeadingLevel<=a&&(s=null),a=e.HeadingLevel,s&&s.children?s.children.push(l):r.push(l),s=l;else if(i(e)){const t=o(e,n);s&&s.children?s.children.push(...t):r.push(...t)}else s&&s.children?s.children.push(l):r.push(l)}),r}function i(e){return["NodeList","NodeBlockquote","NodeSuperBlock"].includes(e.Type)}function o(e,t=null){if("NodeList"===e.Type)return s(e,t);if("NodeBlockquote"===e.Type){const t={groupId:e.ID,strokeWidth:4,strokeColor:"#A4DD00"};return r(e.Children.filter(e=>e.ID),t)}return"NodeSuperBlock"===e.Type?r(e.Children.filter(e=>e.ID),t):[]}function s(e,n=null){return e.Children.map(e=>{if("NodeListItem"===e.Type){const i=e.Children.filter(e=>e.ID);if(i.length>0){const o=t(i[0],n);return o.data.syData.listItemData={listData:e.ListData,properties:e.Properties},i.length>1&&(o.children=r(i.slice(1),n)),o}}return t(e,n)}).flat()}const a={data:{text:e.Properties.title,uid:e.ID,syData:{type:e.Type,id:e.ID,properties:e.Properties||{},spec:e.Spec}},children:r(e.Children)};return a}return t(e)},n=async(e,t)=>{const n=h(t),r="__KMIND_SEG__",o="__KMIND_IMG_START__",s="__KMIND_IMG_END__",a="__KMIND_IMATH_START__",l="__KMIND_IMATH_END__",c=e=>{let t=String(e||"").replace(/[\u200B-\u200D\uFEFF]/g,""),n=Object(u["Y"])(t);try{const e=i.a.renderToString(t,{throwOnError:!1,errorColor:"#f00"}),r=Object(u["Y"])(t);n=`<span class="ql-formula" data-value="${r}">${e}</span>`}catch(r){}return n};function d(e){function t(e){const t=[],n=(null===e||void 0===e?void 0:e.Properties)||{};return Array.isArray(n.tags)?n.tags.forEach(e=>{"string"===typeof e&&e.trim()&&t.push(e.trim())}):"string"===typeof n.tags&&n.tags.trim()&&n.tags.split(/[;,,、\s]+/).map(e=>e.trim()).forEach(e=>{e&&t.push(e)}),e.Children&&!e.Children.some(e=>e.ID)&&e.Children.forEach(e=>{"NodeTextMark"===e.Type&&"tag"===e.TextMarkType&&e.TextMarkTextContent&&t.push(String(e.TextMarkTextContent).trim())}),Array.from(new Set(t.filter(Boolean)))}function i(e){if(!e)return"";let t="";try{e.split("-").forEach(e=>{if(!e)return;const n=e.length<5?parseInt("0"+e,16):parseInt(e,16);Number.isNaN(n)||(t+=String.fromCodePoint(n))})}catch(n){return""}return t}function h(e){if(!e.Children||e.Children.some(e=>e.ID))return null;let t=null,n=!1;return e.Children.forEach(e=>{if("NodeTextMark"===e.Type&&"block-ref"===e.TextMarkType&&e.TextMarkBlockRefID)t?t!==e.TextMarkBlockRefID&&(n=!0):t=e.TextMarkBlockRefID;else if("NodeText"===e.Type){const t=String(e.Data||"").trim();t&&(n=!0)}}),t&&!n?t:null}function d(e){const d={data:{uid:e.ID,syData:{type:e.Type,id:e.ID,properties:e.Properties||{},listData:e.ListData||{}}},children:[]};if("NodeMathBlock"===e.Type){const t=e.Children&&e.Children.find(e=>"NodeMathBlockContent"===e.Type),n=t&&t.Data||"",r=c(n);d.data.text=`<p>${r}</p>`,d.data.richText=!0}else if("NodeCodeBlock"===e.Type){const t=e.Children&&e.Children.find(e=>"NodeCodeBlockCode"===e.Type),n=t&&t.Data||"",r=Object(u["Y"])(String(n||"").replace(/[\u200B-\u200D\uFEFF]/g,""));d.data.text=`<pre><code>${r}</code></pre>`,d.data.richText=!0}else{let t=f(e).replace(/[\u200B-\u200D\uFEFF]/g,"");const i=null===t||void 0===t?void 0:t.includes(o),u=null===t||void 0===t?void 0:t.includes(a);if(i||u){const e=t.split(r).map(e=>{if(e.startsWith(o)){const t=e.replace(o,"").replace(s,"");let r=t;return t&&t.startsWith("assets/")&&(r=n?`http://${n}/${t}`:t),`<img src="${r}" height="24" width="24" />`}if(e.startsWith(a)){const t=e.replace(a,"").replace(l,"");return c(t)}return""+e}).join("");d.data.text=`<p>${e}</p>`,d.data.richText=!0}else d.data.text=t.split(r).join("")}"NodeHeading"===e.Type&&(d.data.syData.headingLevel=e.HeadingLevel),e.Children&&e.Children.some(e=>e.ID)&&(d.children=p(e.Children));const m=t(e);m.length&&(d.data.tag=m);const g=e&&e.Properties||{},b=i(g.icon);b&&"string"===typeof d.data.text&&d.data.text&&(d.data.text=`${b} ${d.data.text}`,d.data.syIconEmoji=b);const y=h(e);return y&&(d.data.siyuanHyperlink="siyuan://blocks/"+y,d.data.syData={...d.data.syData||{},blockRefId:y}),d}function f(e){if(e.Properties&&e.Properties.title)return e.Properties.title;if("NodeBlockQueryEmbed"===e.Type){const t=e.Children&&e.Children.find(e=>"NodeBlockQueryEmbedScript"===e.Type),n=t&&t.Data||e.Data||"";return"BlockQuery: "+n}return e.Children&&!e.Children.some(e=>e.ID)?e.Children.map(e=>{if("NodeText"===e.Type)return e.Data;if("NodeImage"===e.Type){const t=e.Children&&e.Children.find(e=>"NodeLinkDest"===e.Type),n=t&&t.Data||"";return n?`${o}${n}${s}`:(console.warn("[KMind][SYToKMind] NodeImage missing NodeLinkDest or url",e),"")}return"NodeTextMark"===e.Type?"inline-math"===e.TextMarkType&&e.TextMarkInlineMathContent?`${a}${e.TextMarkInlineMathContent}${l}`:"block-ref"===e.TextMarkType&&e.TextMarkBlockRefID?e.TextMarkTextContent||e.TextMarkBlockRefID:e.TextMarkTextContent:""}).join(r):""}function p(e){const t=[],n=[{level:0,node:{children:t,data:{}}}];return e.forEach(e=>{const t=d(e);if("NodeHeading"===e.Type){while(n.length>1&&n[n.length-1].level>=e.HeadingLevel)n.pop();n[n.length-1].node.children.push(t),n.push({level:e.HeadingLevel,node:t})}else if(m(e)){const t=g(e);n[n.length-1].node.children.push(...t)}else{const e=!(!t.data||!t.data.text),r=!!t.children&&t.children.length>0;if(!e&&!r)return;n[n.length-1].node.children.push(t)}}),t}function m(e){return["NodeList","NodeBlockquote","NodeSuperBlock"].includes(e.Type)}function g(e){return"NodeList"===e.Type?b(e):"NodeBlockquote"===e.Type||"NodeSuperBlock"===e.Type?p(e.Children.filter(e=>e.ID)):[]}function b(e){return e.Children.map(e=>{if("NodeListItem"===e.Type){const t=e.Children.filter(e=>e.ID);if(t.length>0){const n=d(t[0]);return n.data.syData.listItemData={listData:e.ListData,properties:e.Properties},t.length>1&&(n.children=p(t.slice(1))),n}}return d(e)}).flat()}const y={data:{text:e.Properties.title,uid:e.ID,syData:{type:e.Type,id:e.ID,properties:e.Properties||{},spec:e.Spec}},children:p(e.Children),smmVersion:"0.13.1"};return y}const f=d(e),p=e=>{const t=[],n=e=>{if(e&&e.data&&e.data.richText&&"string"===typeof e.data.text&&e.data.text.includes("<img")){const n=document.createElement("div");n.innerHTML=e.data.text;const r=n.querySelectorAll("img"),i=Array.from(r).map(e=>{const t=e.getAttribute("src");return t?new Promise(n=>{const r=new Image;r.onload=()=>{e.setAttribute("width",String(r.width)),e.setAttribute("height",String(r.height)),n()},r.onerror=()=>n(),r.src=t}):Promise.resolve()});t.push(Promise.all(i).then(()=>{e.data.text=n.innerHTML}))}e.children&&e.children.length>0&&e.children.forEach(e=>n(e))};return n(e),Promise.all(t)};return await p(f),f};return{handleSYToKMind2:e,handleSYToKMind4:t,handleSYToKMind5:n}}},fce3:function(e,t,n){"use strict";var r=n("d039"),i=n("da84"),o=i.RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))}}]); |