!function(){"use strict";vart,e,n,r,o,i,a,l,u,s={244:function(t,e,n){varr,o=this&&this.__extends||(r=function(t,e){returnr=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varnine)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Class extends value "+String(e)+" is not a constructor or null");functionn(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,newn)}),i=this&&this.__assign||function(){returni=Object.assign||function(t){for(vare,n=1,r=arguments.length;n<r;n++)for(varoine=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);returnt},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.NodeMixin=e.NodeMixinOptions=void0;vara=n(77);e.NodeMixinOptions={badCSS:!0,badSizes:!0},e.NodeMixin=function(t,n){varr;returnvoid0===n&&(n={}),n=(0,a.userOptions)((0,a.defaultOptions)({},e.NodeMixinOptions),n),r=function(t){functione(){for(vare=[],n=0;n<arguments.length;n++)e[n]=arguments[n];varr=t.call(this,e[0])||this,o=r.constructor;returnr.options=(0,a.userOptions)((0,a.defaultOptions)({},o.OPTIONS),e[1]),r}returno(e,t),e.prototype.fontSize=function(e){returnn.badCSS?this.options.fontSize:t.prototype.fontSize.call(this,e)},e.prototype.fontFamily=function(e){returnn.badCSS?this.options.fontFamily:t.prototype.fontFamily.call(this,e)},e.prototype.nodeSize=function(r,o,i){if(void0===o&&(o=1),void0===i&&(i=null),!n.badSizes)returnt.prototype.nodeSize.call(this,r,o,i);vara=this.textContent(r),l=Array.from(a.replace(e.cjkPattern,"")).length;return[(Array.from(a).length-l)*this.options.cjkCharWidth+l*this.options.unknownCharWidth,this.options.unknownCharHeight]},e.prototype.nodeBBox=function(e){returnn.badSizes?{left:0,right:0,top:0,bottom:0}:t.prototype.nodeBBox.call(this,e)},e}(t),r.OPTIONS=i(i({},n.badCSS?{fontSize:16,fontFamily:"Times"}:{}),n.badSizes?{cjkCharWidth:1,unknownCharWidth:.6,unknownCharHeight:.8}:{}),r.cjkPattern=newRegExp(["[","\u1100-\u115f","\u2329\u232a","\u2e80-\u303e","\u3040-\u3247","\u3250-\u4dbf","\u4e00-\ua4c6","\ua960-\ua97c","\uac00-\ud7a3","\uf900-\ufaff","\ufe10-\ufe19","\ufe30-\ufe6b","\uff01-\uff60\uffe0-\uffe6","\ud82c\udc00-\ud82c\udc01","\ud83c\ude00-\ud83c\ude51","\ud840\udc00-\ud8bf\udffd","]"].join(""),"gu"),r}},877:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.LiteDocument=void0;varr=n(946),o=function(){functiont(){this.root=newr.LiteElement("html",{},[this.head=newr.LiteElement("head"),this.body=newr.LiteElement("body")]),this.type=""}returnObject.defineProperty(t.prototype,"kind",{get:function(){return"#document"},enumerable:!1,configurable:!0}),t}();e.LiteDocument=o},946:function(t,e){varn=this&&this.__assign||function(){returnn=Object.assign||function(t){for(vare,n=1,r=arguments.length;n<r;n++)for(varoine=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);returnt},n.apply(this,arguments)},r=this&&this.__read||function(t,e){varn="function"==typeofSymbol&&t[Symbol.iterator];if(!n)returnt;varr,o,i=n.call(t),a=[];try{for(;(void0===e||e-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throwo.error}}returna},o=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(varr,o=0,i=e.length;o<i;o++)!r&&oine||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);returnt.concat(r||Array.prototype.slice.call(e))},i=this&&this.__values||function(t){vare="function"==typeofSymbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)returnn.call(t);if(t&&"number"==typeoft.length)return{next:function(){returnt&&r>=t.length&&(t=void0),{value:t&&t[r++],done:!t}}};thrownewTypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.LiteElement=void0;vara=function(t,e,a){varl,u;void0===e&&(e={}),void0===a&&(a=[]),this.kind=t,this.attributes=n({},e),this.children=o([],r(a),!1);try{for(vars=i(this.children),c=s.next();!c.done;c=s.next())c.value.parent=this}catch(t){l={error:t}}finally{try{c&&!c.done&&(u=s.return)&&u.call(s)}finally{if(l)throwl.error}}this.styles=null};e.LiteElement=a},6:function(t,e){varn=this&&this.__read||function(t,e){varn="function"==typeofSymbol&&t[Symbol.iterator];if(!n)returnt;varr,o,i=n.call(t),a=[];try{for(;(void0===e||e-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throwo.error}}returna},r=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(varr,o=0,i=e.length;o<i;o++)!r&&oine||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);returnt.concat(r||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.LiteList=void0;varo=function(){functiont(t){this.nodes=[],this.nodes=r([],n(t),!1)}returnt.prototype.append=function(t){this.nodes.push(t)},t.prototype[Symbol.iterator]=function(){vart=0;return{next:function(){returnt===this.nodes.length?{value:null,done:!0}:{value:this.nodes[t++],done:!1}}}},t}();e.LiteList=o},246:function(t,e,n){varr=this&&this.__createBinding||(Object.create?function(t,e,n,r){void0===r&&(r=n);varo=Object.getOwnPropertyDescriptor(e,n);o&&!("get"ino?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){returne[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);returno(e,t),e},a=this&&this.__read||function(t,e){varn="function"==typeofSymbol&&t[Symbol.iterator];if(!n)returnt;varr,o,i=n.call(t),a=[];try{for(;(void0===e||e-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throwo.error}}returna},l=this&&this.__values||function(t){vare="function"==typeofSymbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)returnn.call(t);if(t&&"number"==typeoft.length)return{next:function(){returnt&&r>=t.length&&(t=void0),{value:t&&t[r++],done:!t}}};thrownewTypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.LiteParser=e.PATTERNS=void0;varu,s=i(n(29)),c=n(946),p=n(735);!function(t){t.TAGNAME="[a-z][^\\s\\n>]*",t.ATTNAME="[a-z][^\\s\\n>=]*",t.VALUE="(?:'[^']*'|\"[^\"]*\"|[^\\s\\n]+)",t.VALUESPLIT="(?:'([^']*)'|\"([^\"]*)\"|([^\\s\\n]+))",t.SPACE="(?:\\s|\\n)+",t.OPTIONALSPACE="(?:\\s|\\n)*",t.ATTRIBUTE=t.ATTNAME+"(?:"+t.OPTIONALSPACE+"="+t.OPTIONALSPACE+t.VALUE+")?",t.ATTRIBUTESPLIT="("+t.ATTNAME+")(?:"+t.OPTIONALSPACE+"="+t.OPTIONALSPACE+t.VALUESPLIT+")?",t.TAG="(<(?:"+t.TAGNAME+"(?:"+t.SPACE+t.ATTRIBUTE+")*"+t.OPTIONALSPACE+"/?|/"+t.TAGNAME+"|!--[^]*?--|![^]*?)(?:>|$))",t.tag=newRegExp(t.TAG,"i"),t.attr=newRegExp(t.ATTRIBUTE,"i"),t.attrsplit=newRegExp(t.ATTRIBUTESPLIT,"i")}(u=e.PATTERNS||(e.PATTERNS={}));varf=function(){functiont(){}returnt.prototype.parseFromString=function(t,e,n){void0===e&&(e="text/html"),void0===n&&(n=null);for(varr=n.createDocument(),o=n.body(r),i=t.replace(/<\?.*?\?>/g,"").split(u.tag);i.length;){vara=i.shift(),l=i.shift();a&&this.addText(n,o,a),l&&">"===l.charAt(l.length-1)&&("!"===l.charAt(1)?this.addComment(n,o,l):o="/"===l.charAt(1)?this.closeTag(n,o,l):this.openTag(n,o,l,i))}returnthis.checkDocument(n,r),r},t.prototype.addText=function(t,e,n){returnn=s.translate(n),t.append(e,t.text(n))},t.prototype.addComment=function(t,e,n){returnt.append(e,newp.LiteComment(n))},t.prototype.closeTag=function(t,e,n){for(varr=n.slice(2,n.length-1).toLowerCase();t.parent(e)&&t.kind(e)!==r;)e=t.parent(e);returnt.parent(e)},t.prototype.openTag=function(t,e,n,r){varo=this.constructor.PCDATA,i=this.constructor.SELF_CLOSING,a=n.match(/<(.*?)[\s\n>\/]/)[1].toLowerCase(),l=t.node(a),s=n.replace(/^<.*?[\s\n>]/,"").split(u.attrsplit);return(s.pop().match(/>$/)||s.length<5)&&(this.addAttributes(t,l,s),t.append(e,l),i[a]||n.match(/\/>$/)||(o[a]?this.handlePCDATA(t,l,a,r):e=l)),e},t.prototype.addAttributes=function(t,e,n){for(varr=this.constructor.CDATA_ATTR;n.length;){varo=a(n.splice(0,5),5),i=o[1],l=o[2],u=o[3],c=o[4],p=l||u||c||"";r[i]||(p=s.translate(p)),t.setAttribute(e,i,p)}},t.prototype.handlePCDATA=function(t,e,n,r){for(varo=[],i="</"+n+">",a="";r.length&&a!==i;)o.push(a),o.push(r.shift()),a=r.shift();t.append(e,t.text(o.join("")))},t.prototype.checkDocument=function(t,e){varn,r,o,i,a=this.getOnlyChild(t,t.body(e));if(a){try{for(varu=l(t.childNodes(t.body(e))),s=u.next();!s.done;s=u.next()){if((h=s.value)===a)break;hinstanceofp.LiteComment&&h.value.match(/^<!DOCTYPE/)&&(e.type=h.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(n)thrown.error}}switch(t.kind(a)){case"html":try{for(varc=l(a.children),f=c.next();!f.done;f=c.next()){varh=f.value;switch(t.kind(h)){case"head":e.head=h;break;case"body":e.body=h}}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(o)throwo.error}}e.root=a,t.remove(a),t.parent(e.body)!==a&&t.append(a,e.body),t.parent(e.head)!==a&&t.insert(e.head,e.body);break;case"head":e.head=t.replace(a,e.head);break;case"body":e.body=t.replace(a,e.body)}}},t.prototype.getOnlyChild=function(t,e){varn,r,o=null;try{for(vari=l(t.childNodes(e)),a=i.next();!a.done;a=i.next()){varu=a.value;if(uinstanceofc.LiteElement){if(o)returnnull;o=u}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)thrown.error}}returno},t.prototype.serialize=function(t,e,n){varr=this;void0===n&&(n=!1);varo=this.constructor.SELF_CLOSING,i=this.constructor.CDATA_ATTR,a=t.kind(e),l=t.allAttributes(e).map((function(t){returnt.name+'="'+(i[t.name]?t.value:r.protectAttribute(t.value))+'"'})).join(" "),u=this.serializeInner(t,e,n);return"<"+a+(l?" "+l:"")+(n&&!u||o[a]?n?"/>":">":">".concat(u,"</").concat(a,">"))},t.prototype.serializeInner=function(t,e,n){varr=this;returnvoid0===n&&(n=!1),this.constructor.PCDATA.hasOwnProperty(e.kind)?t.childNodes(e).map((function(e){returnt.value(e)})).join(""):t.childNodes(e).map((function(e){varo=t.kind(e);return"#text"===o?r.protectHTML(t.value(e)):"#comment"===o?e.value:r.serialize(t,e,n)})).join("")},t.prototype.protectAttribute=function(t){return"string"!=typeoft&&(t=String(t)),t.replace(/"/g,""")},t.prototype.protectHTML=function(t){returnt.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},t.SELF_CLOSING={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},t.PCDATA={option:!0,textarea:!0,fieldset:!0,title:!0,style:!0,script:!0},t.CDATA_ATTR={style:!0,datafld:!0,datasrc:!0,href:!0,src:!0,longdesc:!0,usemap:!0,cite:!0,datetime:!0,action:!0,axis:!0,profile:!0,content:!0,scheme:!0},t}();e.LiteParser=f},735:function(t,e){varn,r=this&&this.__extends||(n=function(t,e){returnn=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varnine)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},n(t,e)},function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Class extends value "+String(e)+" is not a constructor or null");functionr(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,newr)});Object.defineProperty(e,"__esModule",{value:!0}),e.LiteComment=e.LiteText=void0;varo=function(){functiont(t){void0===t&&(t=""),this.value=t}returnObject.defineProperty(t.prototype,"kind",{get:function(){return"#text"},enumerable:!1,configurable:!0}),t}();e.LiteText=o;vari=function(t){functione(){returnnull!==t&&t.apply(this,arguments)||this}returnr(e,t),Object.defineProperty(e.prototype,"kind",{get:function(){return"#comment"},enumerable:!1,configurable:!0}),e}(o);e.LiteComment=i},492:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.LiteWindow=void0;varr=n(946),o=n(877),i=n(6),a=n(246),l=function(){this.DOMParser=a.LiteParser,this.NodeList=i.LiteList,this.HTMLCollection=i.LiteList,this.HTMLElement=r.LiteElement,this.DocumentFragment=i.LiteList,this.Document=o.LiteDocument,this.document=newo.LiteDocument};e.LiteWindow=l},250:function(t,e,n){varr,o=this&&this.__extends||(r=function(t,e){returnr=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varnine)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Class extends value "+String(e)+" is not a constructor or null");functionn(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,newn)}),i=this&&this.__assign||function(){returni=Object.assign||function(t){for(vare,n=1,r=arguments.length;n<r;n++)for(varoine=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);returnt},i.apply(this,arguments)},a=this&&this.__values||function(t){vare="function"==typeofSymbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)returnn.call(t);if(t&&"number"==typeoft.length)return{next:function(){returnt&&r>=t.length&&(t=void0),{value:t&&t[r++],done:!t}}};thrownewTypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__read||function(t,e){varn="function"==typeofSymbol&&t[Symbol.iterator];if(!n)returnt;varr,o,i=n.call(t),a=[];try{for(;(void0===e||e-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throwo.error}}returna},u=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(varr,o=0,i=e.length;o<i;o++)!r&&oine||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);returnt.concat(r||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.liteAdaptor=e.LiteAdaptor=e.LiteBase=void0;vars=n(857),c=n(244),p=n(877),f=n(946),h=n(735),d=n(492),y=n(246),v=n(878),b=function(t){functione(){vare=t.call(this)||this;returne.parser=newy.LiteParser,e.window=newd.LiteWindow,e}returno(e,t),e.prototype.parse=function(t,e){returnthis.parser.parseFromString(t,e,this)},e.prototype.create=function(t,e){returnvoid0===e&&(e=null),newf.LiteElement(t)},e.prototype.text=function(t){returnnewh.LiteText(t)},e.prototype.comment=function(t){returnnewh.LiteComment(t)},e.prototype.createDocument=function(){returnnewp.LiteDocument},e.prototype.head=function(t){returnt.head},e.prototype.body=function(t){returnt.body},e.prototype.root=function(t){returnt.root},e.prototype.doctype=function(t){returnt.type},e.prototype.tags=function(t,e,n){void0===n&&(n=null);varr=[],o=[];if(n)returno;for(vari=t;i;){vara=i.kind;"#text"!==a&&"#comment"!==a&&(i=i,a===e&&o.push(i),i.children.length&&(r=i.children.concat(r))),i=r.shift()}returno},e.prototype.elementById=function(t,e){for(varn=[],r=t;r;){if("#text"!==r.kind&&"#comment"!==r.kind){if((r=r).attributes.id===e)returnr;r.children.length&&(n=r.children.concat(n))}r=n.shift()}returnnull},e.prototype.elementsByClass=function(t,e){for(varn=[],r=[],o=t;o;){if("#text"!==o.kind&&"#comment"!==o.kind)((o=o).attributes.class||"").trim().split(/ +/).includes(e)&&r.push(o),o.children.length&&(n=o.children.concat(n));o=n.shift()}returnr},e.prototype.getElements=function(t,e){varn,r,o=[],i=this.body(e);try{for(varl=a(t),u=l.next();!u.done;u=l.next()){vars=u.value;if("string"==typeofs)if("#"===s.charAt(0)){varc=this.elementById(i,s.slice(1));c&&o.push(c)}else"."===s.charAt(0)?o=o.concat(this.elementsByClass(i,s.slice(1))):s.match(/^[-a-z][-a-z0-9]*$/i)&&(o=o.concat(this.tags(i,s)));elseArray.isArray(s)?o=o.concat(s):sinstanceofthis.window.NodeList||sinstanceofthis.window.HTMLCollection?o=o.concat(s.nodes):o.push(s)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)thrown.error}}returno},e.prototype.contains=function(t,e){for(;e&&e!==t;)e=this.parent(e);return!!e},e.prototype.parent=function(t){returnt.parent},e.prototype.childIndex=function(t){returnt.parent?t.parent.children.findIndex((function(e){returne===t})):-1},e.prototype.append=function(t,e){returne.parent&&this.remove(e),t.children.push(e),e.parent=t,e},e.prototype.insert=function(t,e){if(t.parent&&this.remove(t),e&&e.parent){varn=this.childIndex(e);e.parent.children.splice(n,0,t),t.parent=e.parent}},e.prototype.remove=function(t){vare=this.childIndex(t);returne>=0&&t.parent.children.splice(e,1),t.parent=null,t},e.prototype.replace=function(t,e){varn=this.childIndex(e);returnn>=0&&(e.parent.children[n]=t,t.parent=e.parent,e.parent=null),e},e.prototype.clone=function(t){vare=this,n=newf.LiteElement(t.kind);returnn.attributes=i({},t.attributes),n.children=t.children.map((function(t){if("#text"===t.kind)returnnewh.LiteText(t.value);if("#comment"===t.kind)returnnewh.LiteComment(t.value);varr=e.clone(t);returnr.parent=n,r})),n},e.prototype.split=function(t,e){varn=newh.LiteText(t.value.slice(e));returnt.value=t.value.slice(0,e),t.parent.children.splice(this.childIndex(t)+1,0,n),n.parent=t.parent,n},e.prototype.next=function(t){vare=t.parent;if(!e)returnnull;varn=this.childIndex(t)+1;returnn>=0&&n<e.children.length?e.children[n]:null},e.prototype.previous=function(t){vare=t.parent;if(!e)returnnull;varn=this.childIndex(t)-1;returnn>=0?e.children[n]:null},e.prototype.firstChild=function(t){returnt.children[0]},e.prototype.lastChild=function(t){returnt.children[t.children.length-1]},e.prototype.childNodes=function(t){returnu([],l(t.children),!1)},e.prototype.childNode=function(t,e){returnt.children[e]},e.prototype.kind=function(t){returnt.kind},e.prototype.value=function(t){return"#text"===t.kind?t.value:"#comment"===t.kind?t.value.replace(/^<!(--)?((?:.|\n)*)\1>$/,"$2"):""},e.prototype.textContent=function(t){vare=this;returnt.children.reduce((function(t,n){returnt+("#text"===n.kind?n.value:"#comment"===n.kind?"":e.textContent(n))}),"")},e.prototype.innerHTML=function(t){returnthis.parser.serializeInner(this,t)},e.prototype.outerHTML=function(t){returnthis.parser.serialize(this,t)},e.prototype.serializeXML=function(t){returnthis.parser.serialize(this,t,!0)},e.prototype.setAttribute=function(t,e,n,r){void0===r&&(r=null),"string"!=typeofn&&(n=String(n)),r&&(e=r.replace(/.*\//,"")+":"+e.replace(/^.*:/,"")),t.attributes[e]=n,"style"===e&&(t.styles=null)},e.prototype.getAttribute=function(t,e){returnt.attributes[e]},e.prototype.removeAttribute=function(t,e){deletet.attributes[e]},e.prototype.hasAttribute=function(t,e){returnt.attributes.hasOwnProperty(e)},e.prototype.allAttributes=function(t){vare,n,r=t.attributes,o=[];try{for(vari=a(Object.keys(r)),l=i.next();!l.done;l=i.next()){varu=l.value;o.push({name:u,value:r[u]})}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(e)throwe.error}}returno},e.prototype.addClass=function(t,e){varn=(t.attributes.class||"").split(/ /);n.find((function(t){returnt===e}))||(n.push(e),t.attributes.class=n.join(" "))},e.prototype.removeClass=function(t,e){varn=(t.attributes.class||"").split(/ /),r=n.findIndex((function(t){returnt===e}));r>=0&&(n.splice(r,1),t.attributes.class=n.join(" "))},e.prototype.hasClass=function(t,e){return!!(t.attributes.class||"").split(/ /).find((function(t){returnt===e}))},e.prototype.setStyle=function(t,e,n){t.styles||(t.styles=newv.Styles(this.getAttribute(t,"style"))),t.styles.set(e,n),t.attributes.style=t.styles.cssText},e.prototype.getStyle=function(t,e){if(!t.styles){varn=this.getAttribute(t,"style");if(!n)return"";t.styles=newv.Styles(n)}returnt.styles.get(e)},e.prototype.allStyles=function(t){returnthis.getAttribute(t,"style")},e.prototype.insertRules=function(t,e){t.children=[this.text(e.join("\n\n")+"\n\n"+this.textContent(t))]},e.prototype.fontSize=function(t){return0},e.prototype.fontFamily=function(t){return""},e.prototype.nodeSize=function(t,e,n){returnvoid0===e&&(e=1),void0===n&&(n=null),[0,0]},e.prototype.nodeBBox=function(t){return{left:0,right:0,top:0,bottom:0}},e}(s.AbstractDOMAdaptor);e.LiteBase=b;varm=function(t){functione(){returnnull!==t&&t.apply(this,arguments)||this}returno(e,t),e}((0,c.NodeMixin)(b));e.LiteAdaptor=m,e.liteAdaptor=function(t){returnvoid0===t&&(t=null),newm(null,t)}},306:function(t,e){e.q=void0,e.q="3.2.2"},723:function(t,e){MathJax._.components.global.isObject,MathJax._.components.global.combineConfig,MathJax._.components.global.combineDefaults,e.r8=MathJax._.components.global.combineWithMathJax,MathJax._.components.global.MathJax},857:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractDOMAdaptor=MathJax._.core.DOMAdaptor.AbstractDOMAdaptor},29:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.options=MathJax._.util.Entities.options,e.entities=MathJax._.util.Entities.entities,e.add=MathJax._.util.Entities.add,e.remove=MathJax._.util.Entities.remove,e.translate=MathJax._.util.Entities.translate,e.numeric=MathJax._.util.Entities.numeric},77:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=MathJax._.util.Options.isObject,e.APPEND=MathJax._.util.Options.APPEND,e.REMOVE=MathJax._.util.Options.REMOVE,e.OPTIONS=MathJax._.util.Options.OPTIONS,e.Expandable=MathJax._.util.Options.Expandable,e.expandable=MathJax._.util.Options.expandable,e.makeArray=MathJax._.util.Options.makeArray,e.keys=MathJax._.util.Options.keys,e.copy=MathJax._.util.Options.copy,e.insert=MathJax._.util.Options.insert,e.defaultOptions=MathJax._.util.Options.defaultOptions,e.userOptions=MathJax._.util.Options.userOptions,e.selectOptions=MathJax._.util.Options.selectOptions,e.selectOptionsFromKeys=MathJax._.util.Options.selectOptionsFromKeys,e.separateOptions=MathJax._.util.Options.separateOptions,e.lookup=MathJax._.util.Options.lookup},878:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Styles=MathJax._.util.Styles.Styles}},c={};functionp(t){vare=c[t];if(void0!==e)returne.exports;varn=c[t]={exports:{}};returns[t].call(n.exports,n,n.exports,p),n.exports}t=p(723),e=p(306),n=p(250),r=p(877),o=p(946),i=p(6),a=p(246),l=p(735),u=p(492),MathJax.loader&&MathJax.loader.checkVersion("adaptors/liteDOM",e.q,"adaptors"),(0,t.r8)({_:{adaptors:{liteAdaptor:n,lite:{Document:r,Element:o,List:i,Parser:a,Text:l,Window:u}}}}),MathJax.startup&&(MathJax.startup.registerConstructor("liteAdaptor",n.liteAdaptor),MathJax.startup.useAdaptor("liteAdaptor",!0))}();