UNPKG

30.1 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.WINDOW = void 0;
7// This file contains compile-time defined variables.
8const WINDOW = "(_=>{var _;(()=>{var e={647:(e,t,n)=>{function r(e){this.options=e||{locator:{}}}function i(){this.cdata=!1}function a(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function o(e){if(e)return\"\\n@\"+(e.systemId||\"\")+\"#[line:\"+e.lineNumber+\",col:\"+e.columnNumber+\"]\"}function s(e,t,n){return\"string\"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+\"\":e}function u(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new h,a=n.domBuilder||new i,s=n.errorHandler,u=n.locator,l=n.xmlns||{},m=/\\/x?html?$/.test(t),p=m?c.entityMap:{lt:\"<\",gt:\">\",amp:\"&\",quot:'\"',apos:\"'\"};return u&&a.setDocumentLocator(u),r.errorHandler=function(e,t,n){if(!e){if(t instanceof i)return t;e=t}var r={},a=e instanceof Function;function s(t){var i=e[t];!i&&a&&(i=2==e.length?function(n){e(t,n)}:e),r[t]=i&&function(e){i(\"[xmldom \"+t+\"]\\t\"+e+o(n))}||function(){}}return n=n||{},s(\"warning\"),s(\"error\"),s(\"fatalError\"),r}(s,a,u),r.domBuilder=n.domBuilder||a,m&&(l[\"\"]=\"http://www.w3.org/1999/xhtml\"),l.xml=l.xml||\"http://www.w3.org/XML/1998/namespace\",e&&\"string\"==typeof e?r.parse(e,l,p):r.errorHandler.error(\"invalid doc source\"),a.doc},i.prototype={startDocument:function(){this.doc=(new p).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),s=r.length;u(this,o),this.currentElement=o,this.locator&&a(this.locator,o);for(var c=0;c<s;c++){e=r.getURI(c);var l=r.getValue(c),h=(n=r.getQName(c),i.createAttributeNS(e,n));this.locator&&a(r.getLocator(c),h),h.value=h.nodeValue=l,o.setAttributeNode(h)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&a(this.locator,n),u(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=s.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&a(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=s.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&a(this.locator,r),u(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&a(this.locator,i),u(this,i)}},warning:function(e){console.warn(\"[xmldom warning]\\t\"+e,o(this.locator))},error:function(e){console.error(\"[xmldom error]\\t\"+e,o(this.locator))},fatalError:function(e){throw new m(e,this.locator)}},\"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl\".replace(/\\w+/g,(function(e){i.prototype[e]=function(){return null}}));var c=n(791),l=n(275),h=l.XMLReader,m=l.ParseError,p=t.DOMImplementation=n(34).DOMImplementation;t.XMLSerializer=n(34).XMLSerializer,t.DOMParser=r,t.__DOMHandler=i},34:(e,t)=>{function n(e,t){for(var n in e)t[n]=e[n]}function r(e,t){var r=e.prototype;if(!(r instanceof t)){function i(){}i.prototype=t.prototype,n(r,i=new i),e.prototype=r=i}r.constructor!=e&&(\"function\"!=typeof e&&console.error(\"unknow Class:\"+e),r.constructor=e)}var i={},a=i.ELEMENT_NODE=1,o=i.ATTRIBUTE_NODE=2,s=i.TEXT_NODE=3,u=i.CDATA_SECTION_NODE=4,c=i.ENTITY_REFERENCE_NODE=5,l=i.ENTITY_NODE=6,h=i.PROCESSING_INSTRUCTION_NODE=7,m=i.COMMENT_NODE=8,p=i.DOCUMENT_NODE=9,d=i.DOCUMENT_TYPE_NODE=10,f=i.DOCUMENT_FRAGMENT_NODE=11,g=i.NOTATION_NODE=12,N={},v={},w=(N.INDEX_SIZE_ERR=(v[1]=\"Index size error\",1),N.DOMSTRING_SIZE_ERR=(v[2]=\"DOMString size error\",2),N.HIERARCHY_REQUEST_ERR=(v[3]=\"Hierarchy request error\",3)),b=(N.WRONG_DOCUMENT_ERR=(v[4]=\"Wrong document\",4),N.INVALID_CHARACTER_ERR=(v[5]=\"Invalid character\",5),N.NO_DATA_ALLOWED_ERR=(v[6]=\"No data allowed\",6),N.NO_MODIFICATION_ALLOWED_ERR=(v[7]=\"No modification allowed\",7),N.NOT_FOUND_ERR=(v[8]=\"Not found\",8)),E=(N.NOT_SUPPORTED_ERR=(v[9]=\"Not supported\",9),N.INUSE_ATTRIBUTE_ERR=(v[10]=\"Attribute in use\",10));function y(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,v[e]),this.message=v[e],Error.captureStackTrace&&Error.captureStackTrace(this,y);return n.code=e,t&&(this.message=this.message+\": \"+t),n}function x(){}function D(e,t){this._node=e,this._refresh=t,T(this)}function T(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);re(e,\"length\",r.length),n(r,e),e._inc=t}}function S(){}function C(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function I(e,t,n,r){if(r?t[C(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&F(i,e,r),function(e,t,n){e&&e._inc++,\"http://www.w3.org/2000/xmlns/\"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:\"\"]=n.value)}(i,e,n))}}function A(e,t,n){var r=C(t,n);if(!(r>=0))throw y(b,new Error(e.tagName+\"@\"+n));for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var a=e.ownerDocument;a&&(F(a,e,n),n.ownerElement=null)}}function _(e){if(this._features={},e)for(var t in e)this._features=e[t]}function R(){}function O(e){return(\"<\"==e?\"&lt;\":\">\"==e&&\"&gt;\")||\"&\"==e&&\"&amp;\"||'\"'==e&&\"&quot;\"||\"&#\"+e.charCodeAt()+\";\"}function M(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(M(e,t))return!0}while(e=e.nextSibling)}function U(){}function F(e,t,n,r){e&&e._inc++,\"http://www.w3.org/2000/xmlns/\"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:\"\"]}function k(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a}}}function P(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,k(e.ownerDocument,e),t}function L(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===f){var i=t.firstChild;if(null==i)return t;var a=t.lastChild}else i=a=t;var o=n?n.previousSibling:e.lastChild;i.previousSibling=o,a.nextSibling=n,o?o.nextSibling=i:e.firstChild=i,null==n?e.lastChild=a:n.previousSibling=a;do{i.parentNode=e}while(i!==a&&(i=i.nextSibling));return k(e.ownerDocument||e,e),t.nodeType==f&&(t.firstChild=t.lastChild=null),t}function q(){this._nsMap={}}function B(){}function $(){}function V(){}function z(){}function H(){}function X(){}function j(){}function Y(){}function G(){}function W(){}function Z(){}function Q(){}function K(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,a=r.namespaceURI;if(a&&null==i&&null==(i=r.lookupPrefix(a)))var o=[{namespace:a,prefix:null}];return ee(this,n,e,t,o),n.join(\"\")}function J(e,t,n){var r=e.prefix||\"\",i=e.namespaceURI;if(!r&&!i)return!1;if(\"xml\"===r&&\"http://www.w3.org/XML/1998/namespace\"===i||\"http://www.w3.org/2000/xmlns/\"==i)return!1;for(var a=n.length;a--;){var o=n[a];if(o.prefix==r)return o.namespace!=i}return!0}function ee(e,t,n,r,i){if(r){if(!(e=r(e)))return;if(\"string\"==typeof e)return void t.push(e)}switch(e.nodeType){case a:i||(i=[]),i.length;var l=e.attributes,g=l.length,N=e.firstChild,v=e.tagName;n=\"http://www.w3.org/1999/xhtml\"===e.namespaceURI||n,t.push(\"<\",v);for(var w=0;w<g;w++)\"xmlns\"==(b=l.item(w)).prefix?i.push({prefix:b.localName,namespace:b.value}):\"xmlns\"==b.nodeName&&i.push({prefix:\"\",namespace:b.value});for(w=0;w<g;w++){var b;if(J(b=l.item(w),0,i)){var E=b.prefix||\"\",y=b.namespaceURI,x=E?\" xmlns:\"+E:\" xmlns\";t.push(x,'=\"',y,'\"'),i.push({prefix:E,namespace:y})}ee(b,t,n,r,i)}if(J(e,0,i)&&(E=e.prefix||\"\",(y=e.namespaceURI)&&(x=E?\" xmlns:\"+E:\" xmlns\",t.push(x,'=\"',y,'\"'),i.push({prefix:E,namespace:y}))),N||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(v)){if(t.push(\">\"),n&&/^script$/i.test(v))for(;N;)N.data?t.push(N.data):ee(N,t,n,r,i),N=N.nextSibling;else for(;N;)ee(N,t,n,r,i),N=N.nextSibling;t.push(\"</\",v,\">\")}else t.push(\"/>\");return;case p:case f:for(N=e.firstChild;N;)ee(N,t,n,r,i),N=N.nextSibling;return;case o:return t.push(\" \",e.name,'=\"',e.value.replace(/[<&\"]/g,O),'\"');case s:return t.push(e.data.replace(/[<&]/g,O).replace(/]]>/g,\"]]&gt;\"));case u:return t.push(\"<![CDATA[\",e.data,\"]]>\");case m:return t.push(\"\\x3c!--\",e.data,\"--\\x3e\");case d:var D=e.publicId,T=e.systemId;if(t.push(\"<!DOCTYPE \",e.name),D)t.push(\" PUBLIC \",D),T&&\".\"!=T&&t.push(\" \",T),t.push(\">\");else if(T&&\".\"!=T)t.push(\" SYSTEM \",T,\">\");else{var S=e.internalSubset;S&&t.push(\" [\",S,\"]\"),t.push(\">\")}return;case h:return t.push(\"<?\",e.target,\" \",e.data,\"?>\");case c:return t.push(\"&\",e.nodeName,\";\");default:t.push(\"??\",e.nodeName)}}function te(e,t,n){var r;switch(t.nodeType){case a:(r=t.cloneNode(!1)).ownerDocument=e;case f:break;case o:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(te(e,i,n)),i=i.nextSibling;return r}function ne(e,t,n){var r=new t.constructor;for(var i in t){var s=t[i];\"object\"!=typeof s&&s!=r[i]&&(r[i]=s)}switch(t.childNodes&&(r.childNodes=new x),r.ownerDocument=e,r.nodeType){case a:var u=t.attributes,c=r.attributes=new S,l=u.length;c._ownerElement=r;for(var h=0;h<l;h++)r.setAttributeNode(ne(e,u.item(h),!0));break;case o:n=!0}if(n)for(var m=t.firstChild;m;)r.appendChild(ne(e,m,n)),m=m.nextSibling;return r}function re(e,t,n){e[t]=n}N.INVALID_STATE_ERR=(v[11]=\"Invalid state\",11),N.SYNTAX_ERR=(v[12]=\"Syntax error\",12),N.INVALID_MODIFICATION_ERR=(v[13]=\"Invalid modification\",13),N.NAMESPACE_ERR=(v[14]=\"Invalid namespace\",14),N.INVALID_ACCESS_ERR=(v[15]=\"Invalid access\",15),y.prototype=Error.prototype,n(N,y),x.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ee(this[r],n,e,t);return n.join(\"\")}},D.prototype.item=function(e){return T(this),this[e]},r(D,x),S.prototype={length:0,item:x.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new y(E);var n=this.getNamedItem(e.nodeName);return I(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new y(E);return t=this.getNamedItemNS(e.namespaceURI,e.localName),I(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return A(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return A(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},_.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var r=new U;if(r.implementation=this,r.childNodes=new x,r.doctype=n,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new X;return r.name=e,r.nodeName=e,r.publicId=t,r.systemId=n,r}},R.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,t){return L(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return P(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ne(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==s&&e.nodeType==s?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(n[r]==e)return r;t=t.nodeType==o?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==o?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(i,R),n(i,R.prototype),U.prototype={nodeName:\"#document\",nodeType:p,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==f){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==a&&(this.documentElement=e),L(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),P(this,e)},importNode:function(e,t){return te(this,e,t)},getElementById:function(e){var t=null;return M(this.documentElement,(function(n){if(n.nodeType==a&&n.getAttribute(\"id\")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=new RegExp(\"(^|\\\\s)\"+e+\"(\\\\s|$)\");return new D(this,(function(e){var n=[];return M(e.documentElement,(function(r){r!==e&&r.nodeType==a&&t.test(r.getAttribute(\"class\"))&&n.push(r)})),n}))},createElement:function(e){var t=new q;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new x,(t.attributes=new S)._ownerElement=t,t},createDocumentFragment:function(){var e=new W;return e.ownerDocument=this,e.childNodes=new x,e},createTextNode:function(e){var t=new V;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new z;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Z;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new B;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new G;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new q,r=t.split(\":\"),i=n.attributes=new S;return n.childNodes=new x,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new B,r=t.split(\":\");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},r(U,R),q.prototype={nodeType:a,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||\"\"},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=\"\"+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===f?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChild(t),r=e.lastChild}return r=e.lastChild,t.parentNode=e,t.previousSibling=r,t.nextSibling=null,r?r.nextSibling=t:e.firstChild=t,e.lastChild=t,k(e.ownerDocument,e,t),t}(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,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||\"\"},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=\"\"+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new D(this,(function(t){var n=[];return M(t,(function(r){r===t||r.nodeType!=a||\"*\"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new D(this,(function(n){var r=[];return M(n,(function(i){i===n||i.nodeType!==a||\"*\"!==e&&i.namespaceURI!==e||\"*\"!==t&&i.localName!=t||r.push(i)})),r}))}},U.prototype.getElementsByTagName=q.prototype.getElementsByTagName,U.prototype.getElementsByTagNameNS=q.prototype.getElementsByTagNameNS,r(q,R),B.prototype.nodeType=o,r(B,R),$.prototype={data:\"\",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(v[w])},deleteData:function(e,t){this.replaceData(e,t,\"\")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},r($,R),V.prototype={nodeName:\"#text\",nodeType:s,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},r(V,$),z.prototype={nodeName:\"#comment\",nodeType:m},r(z,$),H.prototype={nodeName:\"#cdata-section\",nodeType:u},r(H,$),X.prototype.nodeType=d,r(X,R),j.prototype.nodeType=g,r(j,R),Y.prototype.nodeType=l,r(Y,R),G.prototype.nodeType=c,r(G,R),W.prototype.nodeName=\"#document-fragment\",W.prototype.nodeType=f,r(W,R),Z.prototype.nodeType=h,r(Z,R),Q.prototype.serializeToString=function(e,t,n){return K.call(e,t,n)},R.prototype.toString=K;try{if(Object.defineProperty){function ie(e){switch(e.nodeType){case a:case f:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(ie(e)),e=e.nextSibling;return t.join(\"\");default:return e.nodeValue}}Object.defineProperty(D.prototype,\"length\",{get:function(){return T(this),this.$$length}}),Object.defineProperty(R.prototype,\"textContent\",{get:function(){return ie(this)},set:function(e){switch(this.nodeType){case a:case f: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,t,n){e[\"$$\"+t]=n}}}catch(e){}t.DOMImplementation=_,t.XMLSerializer=Q},791:(e,t)=>{t.entityMap={lt:\"<\",gt:\">\",amp:\"&\",quot:'\"',apos:\"'\",Agrave:\"À\",Aacute:\"Á\",Acirc:\"Â\",Atilde:\"Ã\",Auml:\"Ä\",Aring:\"Å\",AElig:\"Æ\",Ccedil:\"Ç\",Egrave:\"È\",Eacute:\"É\",Ecirc:\"Ê\",Euml:\"Ë\",Igrave:\"Ì\",Iacute:\"Í\",Icirc:\"Î\",Iuml:\"Ï\",ETH:\"Ð\",Ntilde:\"Ñ\",Ograve:\"Ò\",Oacute:\"Ó\",Ocirc:\"Ô\",Otilde:\"Õ\",Ouml:\"Ö\",Oslash:\"Ø\",Ugrave:\"Ù\",Uacute:\"Ú\",Ucirc:\"Û\",Uuml:\"Ü\",Yacute:\"Ý\",THORN:\"Þ\",szlig:\"ß\",agrave:\"à\",aacute:\"á\",acirc:\"â\",atilde:\"ã\",auml:\"ä\",aring:\"å\",aelig:\"æ\",ccedil:\"ç\",egrave:\"è\",eacute:\"é\",ecirc:\"ê\",euml:\"ë\",igrave:\"ì\",iacute:\"í\",icirc:\"î\",iuml:\"ï\",eth:\"ð\",ntilde:\"ñ\",ograve:\"ò\",oacute:\"ó\",ocirc:\"ô\",otilde:\"õ\",ouml:\"ö\",oslash:\"ø\",ugrave:\"ù\",uacute:\"ú\",ucirc:\"û\",uuml:\"ü\",yacute:\"ý\",thorn:\"þ\",yuml:\"ÿ\",nbsp:\" \",iexcl:\"¡\",cent:\"¢\",pound:\"£\",curren:\"¤\",yen:\"¥\",brvbar:\"¦\",sect:\"§\",uml:\"¨\",copy:\"©\",ordf:\"ª\",laquo:\"«\",not:\"¬\",shy:\"­­\",reg:\"®\",macr:\"¯\",deg:\"°\",plusmn:\"±\",sup2:\"²\",sup3:\"³\",acute:\"´\",micro:\"µ\",para:\"¶\",middot:\"·\",cedil:\"¸\",sup1:\"¹\",ordm:\"º\",raquo:\"»\",frac14:\"¼\",frac12:\"½\",frac34:\"¾\",iquest:\"¿\",times:\"×\",divide:\"÷\",forall:\"∀\",part:\"∂\",exist:\"∃\",empty:\"∅\",nabla:\"∇\",isin:\"∈\",notin:\"∉\",ni:\"∋\",prod:\"∏\",sum:\"∑\",minus:\"−\",lowast:\"∗\",radic:\"√\",prop:\"∝\",infin:\"∞\",ang:\"∠\",and:\"∧\",or:\"∨\",cap:\"∩\",cup:\"∪\",int:\"∫\",there4:\"∴\",sim:\"∼\",cong:\"≅\",asymp:\"≈\",ne:\"≠\",equiv:\"≡\",le:\"≤\",ge:\"≥\",sub:\"⊂\",sup:\"⊃\",nsub:\"⊄\",sube:\"⊆\",supe:\"⊇\",oplus:\"⊕\",otimes:\"⊗\",perp:\"⊥\",sdot:\"⋅\",Alpha:\"Α\",Beta:\"Β\",Gamma:\"Γ\",Delta:\"Δ\",Epsilon:\"Ε\",Zeta:\"Ζ\",Eta:\"Η\",Theta:\"Θ\",Iota:\"Ι\",Kappa:\"Κ\",Lambda:\"Λ\",Mu:\"Μ\",Nu:\"Ν\",Xi:\"Ξ\",Omicron:\"Ο\",Pi:\"Π\",Rho:\"Ρ\",Sigma:\"Σ\",Tau:\"Τ\",Upsilon:\"Υ\",Phi:\"Φ\",Chi:\"Χ\",Psi:\"Ψ\",Omega:\"Ω\",alpha:\"α\",beta:\"β\",gamma:\"γ\",delta:\"δ\",epsilon:\"ε\",zeta:\"ζ\",eta:\"η\",theta:\"θ\",iota:\"ι\",kappa:\"κ\",lambda:\"λ\",mu:\"μ\",nu:\"ν\",xi:\"ξ\",omicron:\"ο\",pi:\"π\",rho:\"ρ\",sigmaf:\"ς\",sigma:\"σ\",tau:\"τ\",upsilon:\"υ\",phi:\"φ\",chi:\"χ\",psi:\"ψ\",omega:\"ω\",thetasym:\"ϑ\",upsih:\"ϒ\",piv:\"ϖ\",OElig:\"Œ\",oelig:\"œ\",Scaron:\"Š\",scaron:\"š\",Yuml:\"Ÿ\",fnof:\"ƒ\",circ:\"ˆ\",tilde:\"˜\",ensp:\" \",emsp:\" \",thinsp:\" \",zwnj:\"‌\",zwj:\"‍\",lrm:\"‎\",rlm:\"‏\",ndash:\"–\",mdash:\"—\",lsquo:\"‘\",rsquo:\"’\",sbquo:\"‚\",ldquo:\"“\",rdquo:\"”\",bdquo:\"„\",dagger:\"†\",Dagger:\"‡\",bull:\"•\",hellip:\"…\",permil:\"‰\",prime:\"′\",Prime:\"″\",lsaquo:\"‹\",rsaquo:\"›\",oline:\"‾\",euro:\"€\",trade:\"™\",larr:\"←\",uarr:\"↑\",rarr:\"→\",darr:\"↓\",harr:\"↔\",crarr:\"↵\",lceil:\"⌈\",rceil:\"⌉\",lfloor:\"⌊\",rfloor:\"⌋\",loz:\"◊\",spades:\"♠\",clubs:\"♣\",hearts:\"♥\",diams:\"♦\"}},275:(e,t)=>{var n=/[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]/,r=new RegExp(\"[\\\\-\\\\.0-9\"+n.source.slice(1,-1)+\"\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]\"),i=new RegExp(\"^\"+n.source+r.source+\"*(?::\"+n.source+r.source+\"*)?$\");function a(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,a)}function o(){}function s(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function u(e,t,n,r,i,a){function o(e,t,r){e in n.attributeNames&&a.fatalError(\"Attribute \"+e+\" redefined\"),n.addValue(e,t,r)}for(var s,u=++t,c=0;;){var l=e.charAt(u);switch(l){case\"=\":if(1===c)s=e.slice(t,u),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&&(a.warning('attribute value must after \"=\"'),s=e.slice(t,u)),t=u+1,!((u=e.indexOf(l,t))>0))throw new Error(\"attribute value no end '\"+l+\"' match\");o(s,h=e.slice(t,u).replace(/&#?\\w+;/g,i),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after \"=\"');o(s,h=e.slice(t,u).replace(/&#?\\w+;/g,i),t),a.warning('attribute \"'+s+'\" missed start quot('+l+\")!!\"),t=u+1,c=5}break;case\"/\":switch(c){case 0:n.setTagName(e.slice(t,u));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error(\"attribute invalid close char('/')\")}break;case\"\":return a.error(\"unexpected end of input\"),0==c&&n.setTagName(e.slice(t,u)),u;case\">\":switch(c){case 0:n.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:\"/\"===(h=e.slice(t,u)).slice(-1)&&(n.closed=!0,h=h.slice(0,-1));case 2:2===c&&(h=s),4==c?(a.warning('attribute \"'+h+'\" missed quot(\")!'),o(s,h.replace(/&#?\\w+;/g,i),t)):(\"http://www.w3.org/1999/xhtml\"===r[\"\"]&&h.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute \"'+h+'\" missed value!! \"'+h+'\" instead!!'),o(h,h,t));break;case 3:throw new Error(\"attribute value missed!!\")}return u;case\"€\":l=\" \";default:if(l<=\" \")switch(c){case 0:n.setTagName(e.slice(t,u)),c=6;break;case 1:s=e.slice(t,u),c=2;break;case 4:var h=e.slice(t,u).replace(/&#?\\w+;/g,i);a.warning('attribute \"'+h+'\" missed quot(\")!!'),o(s,h,t);case 5:c=6}else switch(c){case 2:n.tagName,\"http://www.w3.org/1999/xhtml\"===r[\"\"]&&s.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute \"'+s+'\" missed value!! \"'+s+'\" instead2!!'),o(s,s,t),t=u,c=1;break;case 5:a.warning('attribute space is required\"'+s+'\"!!');case 6:c=1,t=u;break;case 3:c=4,t=u;break;case 7:throw new Error(\"elements closed character '/' and '>' must be connected to\")}}u++}}function c(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var o=e[a],s=o.qName,u=o.value;if((p=s.indexOf(\":\"))>0)var c=o.prefix=s.slice(0,p),l=s.slice(p+1),h=\"xmlns\"===c&&l;else l=s,c=null,h=\"xmlns\"===s&&\"\";o.localName=l,!1!==h&&(null==i&&(i={},m(n,n={})),n[h]=i[h]=u,o.uri=\"http://www.w3.org/2000/xmlns/\",t.startPrefixMapping(h,u))}for(a=e.length;a--;)(c=(o=e[a]).prefix)&&(\"xml\"===c&&(o.uri=\"http://www.w3.org/XML/1998/namespace\"),\"xmlns\"!==c&&(o.uri=n[c||\"\"]));var p;(p=r.indexOf(\":\"))>0?(c=e.prefix=r.slice(0,p),l=e.localName=r.slice(p+1)):(c=null,l=e.localName=r);var d=e.uri=n[c||\"\"];if(t.startElement(d,l,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(d,l,r),i)for(c in i)t.endPrefixMapping(c)}function l(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var a=e.indexOf(\"</\"+n+\">\",t),o=e.substring(t+1,a);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\\w+;/g,r),i.characters(o,0,o.length),a)}return t+1}function h(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf(\"</\"+n+\">\"))<t&&(i=e.lastIndexOf(\"</\"+n)),r[n]=i),i<t}function m(e,t){for(var n in e)t[n]=e[n]}function p(e,t,n,r){switch(e.charAt(t+2)){case\"-\":return\"-\"===e.charAt(t+3)?(i=e.indexOf(\"--\\x3e\",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error(\"Unclosed comment\"),-1):-1;default:if(\"CDATA[\"==e.substr(t+3,6)){var i=e.indexOf(\"]]>\",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var a=function(e,t){var n,r=[],i=/'[^']+'|\"[^\"]+\"|[^\\s<>\\/=]+=?|(\\/?\\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,c=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var l=a[o-1];return n.startDTD(s,u,c),n.endDTD(),l.index+l[0].length}}return-1}function d(e,t,n){var r=e.indexOf(\"?>\",t);if(r){var i=e.substring(t,r).match(/^<\\?(\\S*)\\s*([\\s\\S]*?)\\s*$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function f(){this.attributeNames={}}a.prototype=new Error,a.prototype.name=a.name,o.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),m(t,t={}),function(e,t,n,r,i){function o(e){var t=e.slice(1,-1);return t in n?n[t]:\"#\"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace(\"x\",\"0x\"))):(i.error(\"entity not found:\"+e),e)}function m(t){if(t>x){var n=e.substring(x,t).replace(/&#?\\w+;/g,o);b&&g(x),r.characters(n,0,t-x),x=t}}function g(t,n){for(;t>=v&&(n=w.exec(e));)N=n.index,v=N+n[0].length,b.lineNumber++;b.columnNumber=t-N+1}for(var N=0,v=0,w=/.*(?:\\r\\n?|\\n)|.*$/g,b=r.locator,E=[{currentNSMap:t}],y={},x=0;;){try{var D=e.indexOf(\"<\",x);if(D<0){if(!e.substr(x).match(/^\\s*$/)){var T=r.doc,S=T.createTextNode(e.substr(x));T.appendChild(S),r.currentElement=S}return}switch(D>x&&m(D),e.charAt(D+1)){case\"/\":var C=e.indexOf(\">\",D+3),I=e.substring(D+2,C),A=E.pop();C<0?(I=e.substring(D+2).replace(/[\\s<].*/,\"\"),i.error(\"end tag name: \"+I+\" is not complete:\"+A.tagName),C=D+1+I.length):I.match(/\\s</)&&(I=I.replace(/[\\s<].*/,\"\"),i.error(\"end tag name: \"+I+\" maybe not complete\"),C=D+1+I.length);var _=A.localNSMap,R=A.tagName==I;if(R||A.tagName&&A.tagName.toLowerCase()==I.toLowerCase()){if(r.endElement(A.uri,A.localName,I),_)for(var O in _)r.endPrefixMapping(O);R||i.fatalError(\"end tag name: \"+I+\" is not match the current start tagName:\"+A.tagName)}else E.push(A);C++;break;case\"?\":b&&g(D),C=d(e,D,r);break;case\"!\":b&&g(D),C=p(e,D,r,i);break;default:b&&g(D);var M=new f,U=E[E.length-1].currentNSMap,F=(C=u(e,D,M,U,o,i),M.length);if(!M.closed&&h(e,C,M.tagName,y)&&(M.closed=!0,n.nbsp||i.warning(\"unclosed xml attribute\")),b&&F){for(var k=s(b,{}),P=0;P<F;P++){var L=M[P];g(L.offset),L.locator=s(b,{})}r.locator=k,c(M,r,U)&&E.push(M),r.locator=b}else c(M,r,U)&&E.push(M);\"http://www.w3.org/1999/xhtml\"!==M.uri||M.closed?C++:C=l(e,C,M.tagName,o,r)}}catch(e){if(e instanceof a)throw e;i.error(\"element parse error: \"+e),C=-1}C>x?x=C:m(Math.max(D,x)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},f.prototype={setTagName:function(e){if(!i.test(e))throw new Error(\"invalid tagName:\"+e);this.tagName=e},addValue:function(e,t,n){if(!i.test(e))throw new Error(\"invalid attribute:\"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},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}},t.XMLReader=o,t.ParseError=a},24:(e,t,n)=>{\"use strict\";var r=n(647),i=function(){};e.exports=function(e,t){e.window=e,e.self=e,e.top=e,e.parent=e;var n=new r.DOMParser({errorHandler:{warning:i,error:i,fatalError:i}}).parseFromString(t,\"text/html\");e.document=n}}},t={},n=function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}(24);_=n})();return _})()";
9exports.WINDOW = WINDOW;
10//# sourceMappingURL=data.js.map