archgine 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1 @@
1
1
  var e,r,t=Object.defineProperty,n=Object.getOwnPropertyNames,a=(e,r,n)=>((e,r,n)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n)(e,"symbol"!=typeof r?r+"":r,n),o=(e,r,t)=>new Promise(((n,a)=>{var o=e=>{try{s(t.next(e))}catch(e){a(e)}},i=e=>{try{s(t.throw(e))}catch(e){a(e)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,i);s((t=t.apply(e,r)).next())})),i=(e={"environment.worker.js"(e){function r(e,r){const t=e.x*Math.cos(r)-e.y*Math.sin(r),n=e.y*Math.cos(r)+e.x*Math.sin(r);e.x=t,e.y=n}function t(e,r){e.x*=r,e.y*=r}class n{constructor(e){a(this,"commands"),this.commands=[],e&&e instanceof n?this.commands.push(...e.commands):e&&(this.commands=function(e){const r=[],t=String(e).trim();return"M"!==t[0]&&"m"!==t[0]||t.replace(l,((e,t,n)=>{const a=function(e){const r=e.match(c);return r?r.map(Number):[]}(n);let o=t.toLowerCase(),i=t;if("m"===o&&a.length>2&&(r.push([i,...a.splice(0,2)]),o="l",i="m"===i?"l":"L"),a.length<s[o])return"";for(r.push([i,...a.splice(0,s[o])]);a.length>=s[o]&&a.length&&s[o];)r.push([i,...a.splice(0,s[o])]);return""})),r}(e))}addPath(e){e&&e instanceof n&&this.commands.push(...e.commands)}moveTo(e,r){this.commands.push(["M",e,r])}lineTo(e,r){this.commands.push(["L",e,r])}arc(e,r,t,n,a,o){this.commands.push(["AC",e,r,t,n,a,!!o])}arcTo(e,r,t,n,a){this.commands.push(["AT",e,r,t,n,a])}ellipse(e,r,t,n,a,o,i,s){this.commands.push(["E",e,r,t,n,a,o,i,!!s])}closePath(){this.commands.push(["Z"])}bezierCurveTo(e,r,t,n,a,o){this.commands.push(["C",e,r,t,n,a,o])}quadraticCurveTo(e,r,t,n){this.commands.push(["Q",e,r,t,n])}rect(e,r,t,n){this.commands.push(["R",e,r,t,n])}roundRect(e,r,t,n,a){void 0===a?this.commands.push(["RR",e,r,t,n,0]):this.commands.push(["RR",e,r,t,n,a])}}function i(e,n){let a,o,i,s,l,c,u,p,d,h,f,m,g,b,w,v,y,N,E,T,x,D=0,q=0,S=null,A=null,L=null,C=null,R=null,O=null;e.beginPath();for(let P=0;P<n.length;++P){let _;switch(N=n[P][0],"S"!==N&&"s"!==N&&"C"!==N&&"c"!==N&&(S=null,A=null),"T"!==N&&"t"!==N&&"Q"!==N&&"q"!==N&&(L=null,C=null),N){case"m":case"M":_=n[P],"m"===N?(D+=_[1],q+=_[2]):(D=_[1],q=_[2]),"M"!==N&&R||(R={x:D,y:q}),e.moveTo(D,q);break;case"l":_=n[P],D+=_[1],q+=_[2],e.lineTo(D,q);break;case"L":_=n[P],D=_[1],q=_[2],e.lineTo(D,q);break;case"H":_=n[P],D=_[1],e.lineTo(D,q);break;case"h":_=n[P],D+=_[1],e.lineTo(D,q);break;case"V":_=n[P],q=_[1],e.lineTo(D,q);break;case"v":_=n[P],q+=_[1],e.lineTo(D,q);break;case"a":case"A":if(_=n[P],null===O)throw new Error("This should never happen");"a"===N?(D+=_[6],q+=_[7]):(D=_[6],q=_[7]),b=_[1],w=_[2],u=_[3]*Math.PI/180,i=!!_[4],s=!!_[5],l={x:D,y:q},c={x:(O.x-l.x)/2,y:(O.y-l.y)/2},r(c,-u),p=c.x*c.x/(b*b)+c.y*c.y/(w*w),p>1&&(p=Math.sqrt(p),b*=p,w*=p),E={x:b*c.y/w,y:-w*c.x/b},d=b*b*w*w,h=b*b*c.y*c.y+w*w*c.x*c.x,t(E,s!==i?Math.sqrt((d-h)/h)||0:-Math.sqrt((d-h)/h)||0),o=Math.atan2((c.y-E.y)/w,(c.x-E.x)/b),a=Math.atan2(-(c.y+E.y)/w,-(c.x+E.x)/b),r(E,u),k=E,I=(l.x+O.x)/2,M=(l.y+O.y)/2,k.x+=I,k.y+=M,e.save(),e.translate(E.x,E.y),e.rotate(u),e.scale(b,w),e.arc(0,0,1,o,a,!s),e.restore();break;case"C":_=n[P],S=_[3],A=_[4],D=_[5],q=_[6],e.bezierCurveTo(_[1],_[2],S,A,D,q);break;case"c":_=n[P],e.bezierCurveTo(_[1]+D,_[2]+q,_[3]+D,_[4]+q,_[5]+D,_[6]+q),S=_[3]+D,A=_[4]+q,D+=_[5],q+=_[6];break;case"S":_=n[P],null!==S&&null!==A||(S=D,A=q),e.bezierCurveTo(2*D-S,2*q-A,_[1],_[2],_[3],_[4]),S=_[1],A=_[2],D=_[3],q=_[4];break;case"s":_=n[P],null!==S&&null!==A||(S=D,A=q),e.bezierCurveTo(2*D-S,2*q-A,_[1]+D,_[2]+q,_[3]+D,_[4]+q),S=_[1]+D,A=_[2]+q,D+=_[3],q+=_[4];break;case"Q":_=n[P],L=_[1],C=_[2],D=_[3],q=_[4],e.quadraticCurveTo(L,C,D,q);break;case"q":_=n[P],L=_[1]+D,C=_[2]+q,D+=_[3],q+=_[4],e.quadraticCurveTo(L,C,D,q);break;case"T":_=n[P],null!==L&&null!==C||(L=D,C=q),L=2*D-L,C=2*q-C,D=_[1],q=_[2],e.quadraticCurveTo(L,C,D,q);break;case"t":_=n[P],null!==L&&null!==C||(L=D,C=q),L=2*D-L,C=2*q-C,D+=_[1],q+=_[2],e.quadraticCurveTo(L,C,D,q);break;case"z":case"Z":R&&(D=R.x,q=R.y),R=null,e.closePath();break;case"AC":_=n[P],D=_[1],q=_[2],g=_[3],o=_[4],a=_[5],T=_[6],e.arc(D,q,g,o,a,T);break;case"AT":_=n[P],f=_[1],m=_[2],D=_[3],q=_[4],g=_[5],e.arcTo(f,m,D,q,g);break;case"E":_=n[P],D=_[1],q=_[2],b=_[3],w=_[4],u=_[5],o=_[6],a=_[7],T=_[8],e.save(),e.translate(D,q),e.rotate(u),e.scale(b,w),e.arc(0,0,1,o,a,T),e.restore();break;case"R":_=n[P],D=_[1],q=_[2],v=_[3],y=_[4],R={x:D,y:q},e.rect(D,q,v,y);break;case"RR":_=n[P],D=_[1],q=_[2],v=_[3],y=_[4],x=_[5],R={x:D,y:q},e.roundRect(D,q,v,y,x)}O?(O.x=D,O.y=q):O={x:D,y:q}}var k,I,M}const s={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},l=/([astvzqmhlc])([^astvzqmhlc]*)/gi,c=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi;var u={},p={};function d(e,r){return void 0===r&&(r=Object),r&&"function"==typeof r.freeze?r.freeze(e):e}var h=d({HTML:"text/html",isHTML:function(e){return e===h.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),f=d({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===f.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});p.assign=function(e,r){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e},p.find=function(e,r,t){if(void 0===t&&(t=Array.prototype),e&&"function"==typeof t.find)return t.find.call(e,r);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var a=e[n];if(r.call(void 0,a,n,e))return a}},p.freeze=d,p.MIME_TYPE=h,p.NAMESPACE=f;var m=p,g=m.find,b=m.NAMESPACE;function w(e){return""!==e}function v(e,r){return e.hasOwnProperty(r)||(e[r]=!0),e}function y(e){if(!e)return[];var r=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(w):[]}(e);return Object.keys(r.reduce(v,{}))}function N(e,r){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}function E(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,n=new n,N(t,n),e.prototype=t=n}t.constructor!=e&&(t.constructor=e)}var T={},x=T.ELEMENT_NODE=1,D=T.ATTRIBUTE_NODE=2,q=T.TEXT_NODE=3,S=T.CDATA_SECTION_NODE=4,A=T.ENTITY_REFERENCE_NODE=5,L=T.ENTITY_NODE=6,C=T.PROCESSING_INSTRUCTION_NODE=7,R=T.COMMENT_NODE=8,O=T.DOCUMENT_NODE=9,k=T.DOCUMENT_TYPE_NODE=10,I=T.DOCUMENT_FRAGMENT_NODE=11,M=T.NOTATION_NODE=12,P={},_={};P.INDEX_SIZE_ERR=(_[1]="Index size error",1),P.DOMSTRING_SIZE_ERR=(_[2]="DOMString size error",2);var U=P.HIERARCHY_REQUEST_ERR=(_[3]="Hierarchy request error",3);P.WRONG_DOCUMENT_ERR=(_[4]="Wrong document",4),P.INVALID_CHARACTER_ERR=(_[5]="Invalid character",5),P.NO_DATA_ALLOWED_ERR=(_[6]="No data allowed",6),P.NO_MODIFICATION_ALLOWED_ERR=(_[7]="No modification allowed",7);var V=P.NOT_FOUND_ERR=(_[8]="Not found",8);P.NOT_SUPPORTED_ERR=(_[9]="Not supported",9);var B=P.INUSE_ATTRIBUTE_ERR=(_[10]="Attribute in use",10);function H(e,r){if(r instanceof Error)var t=r;else t=this,Error.call(this,_[e]),this.message=_[e],Error.captureStackTrace&&Error.captureStackTrace(this,H);return t.code=e,r&&(this.message=this.message+": "+r),t}function F(){}function G(e,r){this._node=e,this._refresh=r,z(this)}function z(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(Re(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];N(t,e),e._inc=r}}function j(){}function X(e,r){for(var t=e.length;t--;)if(e[t]===r)return t}function $(e,r,t,n){if(n?r[X(r,n)]=t:r[r.length++]=t,e){t.ownerElement=e;var a=e.ownerDocument;a&&(n&&ee(a,e,n),function(e,r,t){e&&e._inc++;var n=t.namespaceURI;n===b.XMLNS&&(r._nsMap[t.prefix?t.localName:""]=t.value)}(a,e,t))}}function Y(e,r,t){var n=X(r,t);if(!(n>=0))throw new H(V,new Error(e.tagName+"@"+t));for(var a=r.length-1;n<a;)r[n]=r[++n];if(r.length=a,e){var o=e.ownerDocument;o&&(ee(o,e,t),t.ownerElement=null)}}function W(){}function Z(){}function Q(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function J(e,r){if(r(e))return!0;if(e=e.firstChild)do{if(J(e,r))return!0}while(e=e.nextSibling)}function K(){this.ownerDocument=this}function ee(e,r,t,n){e&&e._inc++,t.namespaceURI===b.XMLNS&&delete r._nsMap[t.prefix?t.localName:""]}function re(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t)n[n.length++]=t;else{for(var a=r.firstChild,o=0;a;)n[o++]=a,a=a.nextSibling;n.length=o,delete n[n.length]}}}function te(e,r){var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,r.parentNode=null,r.previousSibling=null,r.nextSibling=null,re(e.ownerDocument,e),r}function ne(e){return e&&e.nodeType===Z.DOCUMENT_TYPE_NODE}function ae(e){return e&&e.nodeType===Z.ELEMENT_NODE}function oe(e){return e&&e.nodeType===Z.TEXT_NODE}function ie(e,r){var t=e.childNodes||[];if(g(t,ae)||ne(r))return!1;var n=g(t,ne);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function se(e,r){var t=e.childNodes||[];if(g(t,(function(e){return ae(e)&&e!==r})))return!1;var n=g(t,ne);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function le(e,r,t){if(!function(e){return e&&(e.nodeType===Z.DOCUMENT_NODE||e.nodeType===Z.DOCUMENT_FRAGMENT_NODE||e.nodeType===Z.ELEMENT_NODE)}(e))throw new H(U,"Unexpected parent node type "+e.nodeType);if(t&&t.parentNode!==e)throw new H(V,"child not in parent");if(!function(e){return e&&(ae(e)||oe(e)||ne(e)||e.nodeType===Z.DOCUMENT_FRAGMENT_NODE||e.nodeType===Z.COMMENT_NODE||e.nodeType===Z.PROCESSING_INSTRUCTION_NODE)}(r)||ne(r)&&e.nodeType!==Z.DOCUMENT_NODE)throw new H(U,"Unexpected node type "+r.nodeType+" for parent node type "+e.nodeType)}function ce(e,r,t){var n=e.childNodes||[],a=r.childNodes||[];if(r.nodeType===Z.DOCUMENT_FRAGMENT_NODE){var o=a.filter(ae);if(o.length>1||g(a,oe))throw new H(U,"More than one element or text in fragment");if(1===o.length&&!ie(e,t))throw new H(U,"Element in fragment can not be inserted before doctype")}if(ae(r)&&!ie(e,t))throw new H(U,"Only one element can be added and only after doctype");if(ne(r)){if(g(n,ne))throw new H(U,"Only one doctype is allowed");var i=g(n,ae);if(t&&n.indexOf(i)<n.indexOf(t))throw new H(U,"Doctype can only be inserted before an element");if(!t&&i)throw new H(U,"Doctype can not be appended since element is present")}}function ue(e,r,t){var n=e.childNodes||[],a=r.childNodes||[];if(r.nodeType===Z.DOCUMENT_FRAGMENT_NODE){var o=a.filter(ae);if(o.length>1||g(a,oe))throw new H(U,"More than one element or text in fragment");if(1===o.length&&!se(e,t))throw new H(U,"Element in fragment can not be inserted before doctype")}if(ae(r)&&!se(e,t))throw new H(U,"Only one element can be added and only after doctype");if(ne(r)){let e=function(e){return ne(e)&&e!==t};if(g(n,e))throw new H(U,"Only one doctype is allowed");var i=g(n,ae);if(t&&n.indexOf(i)<n.indexOf(t))throw new H(U,"Doctype can only be inserted before an element")}}function pe(e,r,t,n){le(e,r,t),e.nodeType===Z.DOCUMENT_NODE&&(n||ce)(e,r,t);var a=r.parentNode;if(a&&a.removeChild(r),r.nodeType===I){var o=r.firstChild;if(null==o)return r;var i=r.lastChild}else o=i=r;var s=t?t.previousSibling:e.lastChild;o.previousSibling=s,i.nextSibling=t,s?s.nextSibling=o:e.firstChild=o,null==t?e.lastChild=i:t.previousSibling=i;do{o.parentNode=e}while(o!==i&&(o=o.nextSibling));return re(e.ownerDocument||e,e),r.nodeType==I&&(r.firstChild=r.lastChild=null),r}function de(){this._nsMap={}}function he(){}function fe(){}function me(){}function ge(){}function be(){}function we(){}function ve(){}function ye(){}function Ne(){}function Ee(){}function Te(){}function xe(){}function De(e,r){var t=[],n=9==this.nodeType&&this.documentElement||this,a=n.prefix,o=n.namespaceURI;if(o&&null==a&&null==(a=n.lookupPrefix(o)))var i=[{namespace:o,prefix:null}];return Ae(this,t,e,r,i),t.join("")}function qe(e,r,t){var n=e.prefix||"",a=e.namespaceURI;if(!a)return!1;if("xml"===n&&a===b.XML||a===b.XMLNS)return!1;for(var o=t.length;o--;){var i=t[o];if(i.prefix===n)return i.namespace!==a}return!0}function Se(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,Q),'"')}function Ae(e,r,t,n,a){if(a||(a=[]),n){if(!(e=n(e)))return;if("string"==typeof e)return void r.push(e)}switch(e.nodeType){case x:var o=e.attributes,i=o.length,s=e.firstChild,l=e.tagName,c=l;if(!(t=b.isHTML(e.namespaceURI)||t)&&!e.prefix&&e.namespaceURI){for(var u,p=0;p<o.length;p++)if("xmlns"===o.item(p).name){u=o.item(p).value;break}if(!u)for(var d=a.length-1;d>=0;d--)if(""===(h=a[d]).prefix&&h.namespace===e.namespaceURI){u=h.namespace;break}if(u!==e.namespaceURI)for(d=a.length-1;d>=0;d--){var h;if((h=a[d]).namespace===e.namespaceURI){h.prefix&&(c=h.prefix+":"+l);break}}}r.push("<",c);for(var f=0;f<i;f++)"xmlns"==(m=o.item(f)).prefix?a.push({prefix:m.localName,namespace:m.value}):"xmlns"==m.nodeName&&a.push({prefix:"",namespace:m.value});for(f=0;f<i;f++){var m,g,w;qe(m=o.item(f),0,a)&&(Se(r,(g=m.prefix||"")?"xmlns:"+g:"xmlns",w=m.namespaceURI),a.push({prefix:g,namespace:w})),Ae(m,r,t,n,a)}if(l===c&&qe(e,0,a)&&(Se(r,(g=e.prefix||"")?"xmlns:"+g:"xmlns",w=e.namespaceURI),a.push({prefix:g,namespace:w})),s||t&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(r.push(">"),t&&/^script$/i.test(l))for(;s;)s.data?r.push(s.data):Ae(s,r,t,n,a.slice()),s=s.nextSibling;else for(;s;)Ae(s,r,t,n,a.slice()),s=s.nextSibling;r.push("</",c,">")}else r.push("/>");return;case O:case I:for(s=e.firstChild;s;)Ae(s,r,t,n,a.slice()),s=s.nextSibling;return;case D:return Se(r,e.name,e.value);case q:return r.push(e.data.replace(/[<&>]/g,Q));case S:return r.push("<![CDATA[",e.data,"]]>");case R:return r.push("\x3c!--",e.data,"--\x3e");case k:var v=e.publicId,y=e.systemId;if(r.push("<!DOCTYPE ",e.name),v)r.push(" PUBLIC ",v),y&&"."!=y&&r.push(" ",y),r.push(">");else if(y&&"."!=y)r.push(" SYSTEM ",y,">");else{var N=e.internalSubset;N&&r.push(" [",N,"]"),r.push(">")}return;case C:return r.push("<?",e.target," ",e.data,"?>");case A:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName)}}function Le(e,r,t){var n;switch(r.nodeType){case x:(n=r.cloneNode(!1)).ownerDocument=e;case I:break;case D:t=!0}if(n||(n=r.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,t)for(var a=r.firstChild;a;)n.appendChild(Le(e,a,t)),a=a.nextSibling;return n}function Ce(e,r,t){var n=new r.constructor;for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a)){var o=r[a];"object"!=typeof o&&o!=n[a]&&(n[a]=o)}switch(r.childNodes&&(n.childNodes=new F),n.ownerDocument=e,n.nodeType){case x:var i=r.attributes,s=n.attributes=new j,l=i.length;s._ownerElement=n;for(var c=0;c<l;c++)n.setAttributeNode(Ce(e,i.item(c),!0));break;case D:t=!0}if(t)for(var u=r.firstChild;u;)n.appendChild(Ce(e,u,t)),u=u.nextSibling;return n}function Re(e,r,t){e[r]=t}P.INVALID_STATE_ERR=(_[11]="Invalid state",11),P.SYNTAX_ERR=(_[12]="Syntax error",12),P.INVALID_MODIFICATION_ERR=(_[13]="Invalid modification",13),P.NAMESPACE_ERR=(_[14]="Invalid namespace",14),P.INVALID_ACCESS_ERR=(_[15]="Invalid access",15),H.prototype=Error.prototype,N(P,H),F.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,r){for(var t=[],n=0;n<this.length;n++)Ae(this[n],t,e,r);return t.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},G.prototype.item=function(e){return z(this),this[e]||null},E(G,F),j.prototype={length:0,item:F.prototype.item,getNamedItem:function(e){for(var r=this.length;r--;){var t=this[r];if(t.nodeName==e)return t}},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!=this._ownerElement)throw new H(B);var t=this.getNamedItem(e.nodeName);return $(this._ownerElement,this,e,t),t},setNamedItemNS:function(e){var r,t=e.ownerElement;if(t&&t!=this._ownerElement)throw new H(B);return r=this.getNamedItemNS(e.namespaceURI,e.localName),$(this._ownerElement,this,e,r),r},removeNamedItem:function(e){var r=this.getNamedItem(e);return Y(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);return Y(this._ownerElement,this,t),t},getNamedItemNS:function(e,r){for(var t=this.length;t--;){var n=this[t];if(n.localName==r&&n.namespaceURI==e)return n}return null}},W.prototype={hasFeature:function(e,r){return!0},createDocument:function(e,r,t){var n=new K;if(n.implementation=this,n.childNodes=new F,n.doctype=t||null,t&&n.appendChild(t),r){var a=n.createElementNS(e,r);n.appendChild(a)}return n},createDocumentType:function(e,r,t){var n=new we;return n.name=e,n.nodeName=e,n.publicId=r||"",n.systemId=t||"",n}},Z.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,r){return pe(this,e,r)},replaceChild:function(e,r){pe(this,e,r,ue),r&&this.removeChild(r)},removeChild:function(e){return te(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Ce(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==q&&e.nodeType==q?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r)}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&t[n]===e)return n;r=r.nodeType==D?r.ownerDocument:r.parentNode}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e];r=r.nodeType==D?r.ownerDocument:r.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},N(T,Z),N(T,Z.prototype),K.prototype={nodeName:"#document",nodeType:O,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType==I){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n}return e}return pe(this,e,r),e.ownerDocument=this,null===this.documentElement&&e.nodeType===x&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),te(this,e)},replaceChild:function(e,r){pe(this,e,r,ue),e.ownerDocument=this,r&&this.removeChild(r),ae(e)&&(this.documentElement=e)},importNode:function(e,r){return Le(this,e,r)},getElementById:function(e){var r=null;return J(this.documentElement,(function(t){if(t.nodeType==x&&t.getAttribute("id")==e)return r=t,!0})),r},getElementsByClassName:function(e){var r=y(e);return new G(this,(function(t){var n=[];return r.length>0&&J(t.documentElement,(function(a){if(a!==t&&a.nodeType===x){var o=a.getAttribute("class");if(o){var i=e===o;if(!i){var s=y(o);i=r.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}i&&n.push(a)}}var l})),n}))},createElement:function(e){var r=new de;return r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new F,(r.attributes=new j)._ownerElement=r,r},createDocumentFragment:function(){var e=new Ee;return e.ownerDocument=this,e.childNodes=new F,e},createTextNode:function(e){var r=new me;return r.ownerDocument=this,r.appendData(e),r},createComment:function(e){var r=new ge;return r.ownerDocument=this,r.appendData(e),r},createCDATASection:function(e){var r=new be;return r.ownerDocument=this,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Te;return t.ownerDocument=this,t.tagName=t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){var r=new he;return r.ownerDocument=this,r.name=e,r.nodeName=e,r.localName=e,r.specified=!0,r},createEntityReference:function(e){var r=new Ne;return r.ownerDocument=this,r.nodeName=e,r},createElementNS:function(e,r){var t=new de,n=r.split(":"),a=t.attributes=new j;return t.childNodes=new F,t.ownerDocument=this,t.nodeName=r,t.tagName=r,t.namespaceURI=e,2==n.length?(t.prefix=n[0],t.localName=n[1]):t.localName=r,a._ownerElement=t,t},createAttributeNS:function(e,r){var t=new he,n=r.split(":");return t.ownerDocument=this,t.nodeName=r,t.name=r,t.namespaceURI=e,t.specified=!0,2==n.length?(t.prefix=n[0],t.localName=n[1]):t.localName=r,t}},E(K,Z),de.prototype={nodeType:x,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var r=this.getAttributeNode(e);return r&&r.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,r){var t=this.ownerDocument.createAttribute(e);t.value=t.nodeValue=""+r,this.setAttributeNode(t)},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r)},appendChild:function(e){return e.nodeType===I?this.insertBefore(e,null):function(e,r){return r.parentNode&&r.parentNode.removeChild(r),r.parentNode=e,r.previousSibling=e.lastChild,r.nextSibling=null,r.previousSibling?r.previousSibling.nextSibling=r:e.firstChild=r,e.lastChild=r,re(e.ownerDocument,e,r),r}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t)},hasAttributeNS:function(e,r){return null!=this.getAttributeNodeNS(e,r)},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t&&t.value||""},setAttributeNS:function(e,r,t){var n=this.ownerDocument.createAttributeNS(e,r);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByTagName:function(e){return new G(this,(function(r){var t=[];return J(r,(function(n){n===r||n.nodeType!=x||"*"!==e&&n.tagName!=e||t.push(n)})),t}))},getElementsByTagNameNS:function(e,r){return new G(this,(function(t){var n=[];return J(t,(function(a){a===t||a.nodeType!==x||"*"!==e&&a.namespaceURI!==e||"*"!==r&&a.localName!=r||n.push(a)})),n}))}},K.prototype.getElementsByTagName=de.prototype.getElementsByTagName,K.prototype.getElementsByTagNameNS=de.prototype.getElementsByTagNameNS,E(de,Z),he.prototype.nodeType=D,E(he,Z),fe.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,r){this.replaceData(e,0,r)},appendChild:function(e){throw new Error(_[U])},deleteData:function(e,r){this.replaceData(e,r,"")},replaceData:function(e,r,t){t=this.data.substring(0,e)+t+this.data.substring(e+r),this.nodeValue=this.data=t,this.length=t.length}},E(fe,Z),me.prototype={nodeName:"#text",nodeType:q,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},E(me,fe),ge.prototype={nodeName:"#comment",nodeType:R},E(ge,fe),be.prototype={nodeName:"#cdata-section",nodeType:S},E(be,fe),we.prototype.nodeType=k,E(we,Z),ve.prototype.nodeType=M,E(ve,Z),ye.prototype.nodeType=L,E(ye,Z),Ne.prototype.nodeType=A,E(Ne,Z),Ee.prototype.nodeName="#document-fragment",Ee.prototype.nodeType=I,E(Ee,Z),Te.prototype.nodeType=C,E(Te,Z),xe.prototype.serializeToString=function(e,r,t){return De.call(e,r,t)},Z.prototype.toString=De;try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case x:case I:var t=[];for(r=r.firstChild;r;)7!==r.nodeType&&8!==r.nodeType&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(G.prototype,"length",{get:function(){return z(this),this.$$length}}),Object.defineProperty(Z.prototype,"textContent",{get:function(){return e(this)},set:function(e){switch(this.nodeType){case x:case I:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Re=function(e,r,t){e["$$"+r]=t}}}catch(e){}u.DocumentType=we,u.DOMException=H,u.DOMImplementation=W,u.Element=de,u.Node=Z,u.NodeList=F,u.XMLSerializer=xe;var Oe,ke,Ie={},Me={};Oe=Me,ke=p.freeze,Oe.XML_ENTITIES=ke({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),Oe.HTML_ENTITIES=ke({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),Oe.entityMap=Oe.HTML_ENTITIES;var Pe={},_e=p.NAMESPACE,Ue=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Ve=new RegExp("[\\-\\.0-9"+Ue.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),Be=new RegExp("^"+Ue.source+Ve.source+"*(?::"+Ue.source+Ve.source+"*)?$");function He(e,r){this.message=e,this.locator=r,Error.captureStackTrace&&Error.captureStackTrace(this,He)}function Fe(){}function Ge(e,r){return r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber,r}function ze(e,r,t,n,a,o){function i(e,r,n){t.attributeNames.hasOwnProperty(e)&&o.fatalError("Attribute "+e+" redefined"),t.addValue(e,r.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n)}for(var s,l=++r,c=0;;){var u=e.charAt(l);switch(u){case"=":if(1===c)s=e.slice(r,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(o.warning('attribute value must after "="'),s=e.slice(r,l)),r=l+1,!((l=e.indexOf(u,r))>0))throw new Error("attribute value no end '"+u+"' match");i(s,p=e.slice(r,l),r-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');i(s,p=e.slice(r,l),r),o.warning('attribute "'+s+'" missed start quot('+u+")!!"),r=l+1,c=5}break;case"/":switch(c){case 0:t.setTagName(e.slice(r,l));case 5:case 6:case 7:c=7,t.closed=!0;case 4:case 1:break;case 2:t.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==c&&t.setTagName(e.slice(r,l)),l;case">":switch(c){case 0:t.setTagName(e.slice(r,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(r,l)).slice(-1)&&(t.closed=!0,p=p.slice(0,-1));case 2:2===c&&(p=s),4==c?(o.warning('attribute "'+p+'" missed quot(")!'),i(s,p,r)):(_e.isHTML(n[""])&&p.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),i(p,p,r));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":u=" ";default:if(u<=" ")switch(c){case 0:t.setTagName(e.slice(r,l)),c=6;break;case 1:s=e.slice(r,l),c=2;break;case 4:var p=e.slice(r,l);o.warning('attribute "'+p+'" missed quot(")!!'),i(s,p,r);case 5:c=6}else switch(c){case 2:t.tagName,_e.isHTML(n[""])&&s.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),i(s,s,r),r=l,c=1;break;case 5:o.warning('attribute space is required"'+s+'"!!');case 6:c=1,r=l;break;case 3:c=4,r=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function je(e,r,t){for(var n=e.tagName,a=null,o=e.length;o--;){var i=e[o],s=i.qName,l=i.value;if((d=s.indexOf(":"))>0)var c=i.prefix=s.slice(0,d),u=s.slice(d+1),p="xmlns"===c&&u;else u=s,c=null,p="xmlns"===s&&"";i.localName=u,!1!==p&&(null==a&&(a={},Ye(t,t={})),t[p]=a[p]=l,i.uri=_e.XMLNS,r.startPrefixMapping(p,l))}for(o=e.length;o--;)(c=(i=e[o]).prefix)&&("xml"===c&&(i.uri=_e.XML),"xmlns"!==c&&(i.uri=t[c||""]));var d;(d=n.indexOf(":"))>0?(c=e.prefix=n.slice(0,d),u=e.localName=n.slice(d+1)):(c=null,u=e.localName=n);var h=e.uri=t[c||""];if(r.startElement(h,u,n,e),!e.closed)return e.currentNSMap=t,e.localNSMap=a,!0;if(r.endElement(h,u,n),a)for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&r.endPrefixMapping(c)}function Xe(e,r,t,n,a){if(/^(?:script|textarea)$/i.test(t)){var o=e.indexOf("</"+t+">",r),i=e.substring(r+1,o);if(/[&<]/.test(i))return/^script$/i.test(t)?(a.characters(i,0,i.length),o):(i=i.replace(/&#?\w+;/g,n),a.characters(i,0,i.length),o)}return r+1}function $e(e,r,t,n){var a=n[t];return null==a&&((a=e.lastIndexOf("</"+t+">"))<r&&(a=e.lastIndexOf("</"+t)),n[t]=a),a<r}function Ye(e,r){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}function We(e,r,t,n){if("-"===e.charAt(r+2))return"-"===e.charAt(r+3)?(a=e.indexOf("--\x3e",r+4))>r?(t.comment(e,r+4,a-r-4),a+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(r+3,6)){var a=e.indexOf("]]>",r+9);return t.startCDATA(),t.characters(e,r+9,a-r-9),t.endCDATA(),a+3}var o=function(e,r){var t,n=[],a=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(a.lastIndex=r,a.exec(e);t=a.exec(e);)if(n.push(t),t[1])return n}(e,r),i=o.length;if(i>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],l=!1,c=!1;i>3&&(/^public$/i.test(o[2][0])?(l=o[3][0],c=i>4&&o[4][0]):/^system$/i.test(o[2][0])&&(c=o[3][0]));var u=o[i-1];return t.startDTD(s,l,c),t.endDTD(),u.index+u[0].length}return-1}function Ze(e,r,t){var n=e.indexOf("?>",r);if(n){var a=e.substring(r,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return a?(a[0].length,t.processingInstruction(a[1],a[2]),n+2):-1}return-1}function Qe(){this.attributeNames={}}He.prototype=new Error,He.prototype.name=He.name,Fe.prototype={parse:function(e,r,t){var n=this.domBuilder;n.startDocument(),Ye(r,r={}),function(e,r,t,n,a){function o(e){if(e>65535){var r=55296+((e-=65536)>>10),t=56320+(1023&e);return String.fromCharCode(r,t)}return String.fromCharCode(e)}function i(e){var r=e.slice(1,-1);return Object.hasOwnProperty.call(t,r)?t[r]:"#"===r.charAt(0)?o(parseInt(r.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function s(r){if(r>m){var t=e.substring(m,r).replace(/&#?\w+;/g,i);d&&l(m),n.characters(t,0,r-m),m=r}}function l(r,t){for(;r>=u&&(t=p.exec(e));)c=t.index,u=c+t[0].length,d.lineNumber++;d.columnNumber=r-c+1}for(var c=0,u=0,p=/.*(?:\r\n?|\n)|.*$/g,d=n.locator,h=[{currentNSMap:r}],f={},m=0;;){try{var g=e.indexOf("<",m);if(g<0){if(!e.substr(m).match(/^\s*$/)){var b=n.doc,w=b.createTextNode(e.substr(m));b.appendChild(w),n.currentElement=w}return}switch(g>m&&s(g),e.charAt(g+1)){case"/":var v=e.indexOf(">",g+3),y=e.substring(g+2,v).replace(/[ \t\n\r]+$/g,""),N=h.pop();v<0?(y=e.substring(g+2).replace(/[\s<].*/,""),a.error("end tag name: "+y+" is not complete:"+N.tagName),v=g+1+y.length):y.match(/\s</)&&(y=y.replace(/[\s<].*/,""),a.error("end tag name: "+y+" maybe not complete"),v=g+1+y.length);var E=N.localNSMap,T=N.tagName==y;if(T||N.tagName&&N.tagName.toLowerCase()==y.toLowerCase()){if(n.endElement(N.uri,N.localName,y),E)for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&n.endPrefixMapping(x);T||a.fatalError("end tag name: "+y+" is not match the current start tagName:"+N.tagName)}else h.push(N);v++;break;case"?":d&&l(g),v=Ze(e,g,n);break;case"!":d&&l(g),v=We(e,g,n,a);break;default:d&&l(g);var D=new Qe,q=h[h.length-1].currentNSMap,S=(v=ze(e,g,D,q,i,a),D.length);if(!D.closed&&$e(e,v,D.tagName,f)&&(D.closed=!0,t.nbsp||a.warning("unclosed xml attribute")),d&&S){for(var A=Ge(d,{}),L=0;L<S;L++){var C=D[L];l(C.offset),C.locator=Ge(d,{})}n.locator=A,je(D,n,q)&&h.push(D),n.locator=d}else je(D,n,q)&&h.push(D);_e.isHTML(D.uri)&&!D.closed?v=Xe(e,v,D.tagName,i,n):v++}}catch(e){if(e instanceof He)throw e;a.error("element parse error: "+e),v=-1}v>m?m=v:s(Math.max(g,m)+1)}}(e,r,t,n,this.errorHandler),n.endDocument()}},Qe.prototype={setTagName:function(e){if(!Be.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,r,t){if(!Be.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:r,offset:t}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},Pe.XMLReader=Fe,Pe.ParseError=He;var Je=p,Ke=Me,er=Pe,rr=u.DOMImplementation,tr=Je.NAMESPACE,nr=er.ParseError,ar=er.XMLReader;function or(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function ir(e){this.options=e||{locator:{}}}function sr(){this.cdata=!1}function lr(e,r){r.lineNumber=e.lineNumber,r.columnNumber=e.columnNumber}function cr(e,r,t){return"string"==typeof e?e.substr(r,t):e.length>=r+t||r?new java.lang.String(e,r,t)+"":e}function ur(e,r){e.currentElement?e.currentElement.appendChild(r):e.doc.appendChild(r)}ir.prototype.parseFromString=function(e,r){var t=this.options,n=new ar,a=t.domBuilder||new sr,o=t.errorHandler,i=t.locator,s=t.xmlns||{},l=/\/x?html?$/.test(r),c=l?Ke.HTML_ENTITIES:Ke.XML_ENTITIES;i&&a.setDocumentLocator(i),n.errorHandler=function(e,r,t){if(!e){if(r instanceof sr)return r;e=r}var n={},a=e instanceof Function;function o(r){var o=e[r];!o&&a&&(o=2==e.length?function(t){e(r,t)}:e),n[r]=o&&function(e){o("[xmldom "+r+"]\t"+e+function(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}(t))}||function(){}}return t=t||{},o("warning"),o("error"),o("fatalError"),n}(o,a,i),n.domBuilder=t.domBuilder||a,l&&(s[""]=tr.HTML),s.xml=s.xml||tr.XML;var u=t.normalizeLineEndings||or;return e&&"string"==typeof e?n.parse(u(e),s,c):n.errorHandler.error("invalid doc source"),a.doc},sr.prototype={startDocument:function(){this.doc=(new rr).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,r,t,n){var a=this.doc,o=a.createElementNS(e,t||r),i=n.length;ur(this,o),this.currentElement=o,this.locator&&lr(this.locator,o);for(var s=0;s<i;s++){e=n.getURI(s);var l=n.getValue(s),c=(t=n.getQName(s),a.createAttributeNS(e,t));this.locator&&lr(n.getLocator(s),c),c.value=c.nodeValue=l,o.setAttributeNode(c)}},endElement:function(e,r,t){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,r){},endPrefixMapping:function(e){},processingInstruction:function(e,r){var t=this.doc.createProcessingInstruction(e,r);this.locator&&lr(this.locator,t),ur(this,t)},ignorableWhitespace:function(e,r,t){},characters:function(e,r,t){if(e=cr.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&lr(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,r,t){e=cr.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&lr(this.locator,n),ur(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,r,t){var n=this.doc.implementation;if(n&&n.createDocumentType){var a=n.createDocumentType(e,r,t);this.locator&&lr(this.locator,a),ur(this,a),this.doc.doctype=a}},warning:function(e){},error:function(e){},fatalError:function(e){throw new nr(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){sr.prototype[e]=function(){return null}})),Ie.__DOMHandler=sr,Ie.normalizeLineEndings=or,Ie.DOMParser=ir;var pr=Ie.DOMParser;const dr="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:{};dr.Path2D||function(e){if(!e||!e.CanvasRenderingContext2D||e.Path2D)return;const{CanvasRenderingContext2D:r}=e,t=null==r?void 0:r.prototype.fill,a=null==r?void 0:r.prototype.stroke,o=null==r?void 0:r.prototype.isPointInPath;r.prototype.fill=function(...e){if(!(e[0]instanceof n)){const r=e[0]||"nonzero";return t.apply(this,[r])}{const r=e[0],n=e[1]||"nonzero";i(this,r.commands),t.apply(this,[n])}},r.prototype.stroke=function(e){e&&i(this,e.commands),a.apply(this)},r.prototype.isPointInPath=function(...e){if(e[0]instanceof n){const r=e[0],t=e[1],n=e[2],a=e[3]||"nonzero";return i(this,r.commands),o.apply(this,[t,n,a])}return o.apply(this,e)},e.Path2D=n}(dr),dr.DOMParser||(dr.DOMParser=pr);const hr={window:dr,isBrowser:"undefined"!=typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window))},fr={enabled:!1,files:{},add:function(e,r){this.enabled&&(this.files[e]=r)},get:function(e){if(this.enabled)return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}},mr=new class{constructor(e,r,t){a(this,"isLoading",!1),a(this,"itemsLoaded",0),a(this,"itemsTotal",0),a(this,"urlModifier"),a(this,"handlers",[]),a(this,"onStart"),a(this,"onLoad"),a(this,"onProgress"),a(this,"onError"),this.onLoad=e,this.onProgress=r,this.onError=t}itemStart(e){this.itemsTotal++,this.isLoading||void 0!==this.onStart&&this.onStart(e,this.itemsLoaded,this.itemsTotal),this.isLoading=!0}itemEnd(e){this.itemsLoaded++,void 0!==this.onProgress&&this.onProgress(e,this.itemsLoaded,this.itemsTotal),this.itemsLoaded===this.itemsTotal&&(this.isLoading=!1,void 0!==this.onLoad&&this.onLoad())}itemError(e){void 0!==this.onError&&this.onError(e)}resolveURL(e){return void 0!==this.urlModifier?this.urlModifier(e):e}setURLModifier(e){return this.urlModifier=e,this}addHandler(e,r){return this.handlers.push(e,r),this}removeHandler(e){const r=this.handlers.indexOf(e);return-1!==r&&this.handlers.splice(r,2),this}getHandler(e){for(let r=0,t=this.handlers.length;r<t;r+=2){const t=this.handlers[r],n=this.handlers[r+1];if(t.global&&(t.lastIndex=0),t.test(e))return n}return null}};class gr{constructor(e=mr){a(this,"manager"),a(this,"crossOrigin","anonymous"),a(this,"withCredentials",!1),a(this,"path",""),a(this,"resourcePath",""),a(this,"requestHeader",{}),this.manager=e}loadAsync(e,r){const t=this;return new Promise((function(n,a){t.load(e,n,r,a)}))}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}}const br={};class wr extends Error{constructor(e,r){super(e),a(this,"response"),this.response=r}}class vr extends gr{constructor(e){super(e),a(this,"mimeType"),a(this,"responseType")}load(e,r,t,n){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const a=fr.get(e);if(void 0!==a)return this.manager.itemStart(e),setTimeout((()=>{r&&r(a),this.manager.itemEnd(e)}),0),a;if(void 0!==br[e])return void br[e].push({onLoad:r,onProgress:t,onError:n});br[e]=[],br[e].push({onLoad:r,onProgress:t,onError:n});const o=new hr.window.Request(e,{headers:new hr.window.Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),i=this.mimeType,s=this.responseType;fetch(o).then((r=>{if(200===r.status||0===r.status){if(r.status,"undefined"==typeof ReadableStream||void 0===r.body||void 0===r.body.getReader)return r;const t=br[e],n=r.body.getReader(),a=r.headers.get("Content-Length")||r.headers.get("X-File-Size"),o=a?parseInt(a):0,i=0!==o;let s=0;const l=new ReadableStream({start(e){!function r(){n.read().then((({done:n,value:a})=>{if(n)e.close();else{s+=a.byteLength;const n=new ProgressEvent("progress",{lengthComputable:i,loaded:s,total:o});for(let e=0,r=t.length;e<r;e++){const r=t[e];r.onProgress&&r.onProgress(n)}e.enqueue(a),r()}}))}()}});return new Response(l)}throw new wr(`fetch for "${r.url}" responded with ${r.status}: ${r.statusText}`,r)})).then((e=>{switch(s){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then((e=>(new DOMParser).parseFromString(e,i)));case"json":return e.json();default:if(void 0===i)return e.text();{const r=/charset="?([^;"\s]*)"?/i.exec(i),t=r&&r[1]?r[1].toLowerCase():void 0,n=new TextDecoder(t);return e.arrayBuffer().then((e=>n.decode(e)))}}})).then((r=>{fr.add(e,r);const t=br[e];delete br[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n.onLoad&&n.onLoad(r)}})).catch((r=>{const t=br[e];if(void 0===t)throw this.manager.itemError(e),r;delete br[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n.onError&&n.onError(r)}this.manager.itemError(e)})).finally((()=>{this.manager.itemEnd(e)})),this.manager.itemStart(e)}setMimeType(e){return this.mimeType=e,this}setResponseType(e){return this.responseType=e,this}}class yr extends gr{constructor(e){super(e)}load(e,r,t,n){const a=this,o=new vr(a.manager);o.setPath(a.path),o.setRequestHeader(a.requestHeader),o.setWithCredentials(a.withCredentials),o.load(e,(function(t){try{r&&r(t)}catch(r){n&&n(r),a.manager.itemError(e)}}),t,n)}}onmessage=r=>o(e,null,(function*(){"detection"===r.data.cmd&&function(){let e="";(new hr.window.DOMParser).parseFromString('<xml xmlns="a" xmlns:c="./lite">\n\t<child>test</child>\n\t<child></child>\n\t<child/>\n</xml>',"text/xml"),function(e){o(this,null,(function*(){let r=yield(new yr).loadAsync(e);(new hr.window.DOMParser).parseFromString(r,"image/svg+xml").documentElement}))}("../../examples/assets/nc05-02.svg"),e+="- Web Animation: "+!!hr.window.Animation+"\r\n",e+="- OffscreenCanvas: "+!!hr.window.OffscreenCanvas+"\r\n",e+="- DOMParser: "+!!hr.window.DOMParser+"\r\n",postMessage({cmd:"echo",data:{msg:e}})}(r.data.data)}))}},function(){return r||(0,e[n(e)[0]])((r={exports:{}}).exports,r),r.exports});export default i();
2
- //# sourceMappingURL=environment.worker.js.map