@dotgui/embed 0.1.1 → 0.2.0

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.
package/dist/gui-embed.js CHANGED
@@ -1,9 +1,14 @@
1
- (()=>{var tQ=Object.create;var{getPrototypeOf:eQ,defineProperty:d$,getOwnPropertyNames:J1}=Object;var $1=Object.prototype.hasOwnProperty;var Q1=(J,$,Q)=>{Q=J!=null?tQ(eQ(J)):{};let K=$||!J||!J.__esModule?d$(Q,"default",{value:J,enumerable:!0}):Q;for(let Z of J1(J))if(!$1.call(K,Z))d$(K,Z,{get:()=>J[Z],enumerable:!0});return K};var rJ=(J,$)=>()=>($||J(($={exports:{}}).exports,$),$.exports);var K1=(J,$)=>{for(var Q in $)d$(J,Q,{get:$[Q],enumerable:!0,configurable:!0,set:(K)=>$[Q]=()=>K})};var eJ=rJ((DJ)=>{function v1(J,$,Q){if(Q===void 0)Q=Array.prototype;if(J&&typeof Q.find==="function")return Q.find.call(J,$);for(var K=0;K<J.length;K++)if(tJ(J,K)){var Z=J[K];if($.call(void 0,Z,K,J))return Z}}function X8(J,$){if($===void 0)$=Object;if($&&typeof $.getOwnPropertyDescriptors==="function")J=$.create(null,$.getOwnPropertyDescriptors(J));return $&&typeof $.freeze==="function"?$.freeze(J):J}function tJ(J,$){return Object.prototype.hasOwnProperty.call(J,$)}function g1(J,$){if(J===null||typeof J!=="object")throw TypeError("target is not an object");for(var Q in $)if(tJ($,Q))J[Q]=$[Q];return J}var V0=X8({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});function u1(J){return tJ(V0,J.toLowerCase())}var H0=X8({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function h1(J){return tJ(H0,J.toLowerCase())}var k8=X8({script:!1,style:!1,textarea:!0,title:!0});function f1(J){var $=J.toLowerCase();return tJ(k8,$)&&!k8[$]}function m1(J){var $=J.toLowerCase();return tJ(k8,$)&&k8[$]}function O0(J){return J===x8.HTML}function p1(J){return O0(J)||J===x8.XML_XHTML_APPLICATION}var x8=X8({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),c1=Object.keys(x8).map(function(J){return x8[J]});function n1(J){return c1.indexOf(J)>-1}var r1=X8({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});DJ.assign=g1;DJ.find=v1;DJ.freeze=X8;DJ.HTML_BOOLEAN_ATTRIBUTES=V0;DJ.HTML_RAW_TEXT_ELEMENTS=k8;DJ.HTML_VOID_ELEMENTS=H0;DJ.hasDefaultHTMLNamespace=p1;DJ.hasOwn=tJ;DJ.isHTMLBooleanAttribute=u1;DJ.isHTMLRawTextElement=f1;DJ.isHTMLEscapableRawTextElement=m1;DJ.isHTMLMimeType=O0;DJ.isHTMLVoidElement=h1;DJ.isValidMimeType=n1;DJ.MIME_TYPE=x8;DJ.NAMESPACE=r1});var g8=rJ((v8)=>{var d1=eJ();function M0(J,$){J.prototype=Object.create(Error.prototype,{constructor:{value:J},name:{value:J.name,enumerable:!0,writable:$}})}var y8=d1.freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),I0=Object.keys(y8);function P0(J){return typeof J==="number"&&J>=1&&J<=25}function o1(J){return typeof J==="string"&&J.substring(J.length-y8.Error.length)===y8.Error}function b8(J,$){if(P0(J))this.name=I0[J],this.message=$||"";else this.message=J,this.name=o1($)?$:y8.Error;if(Error.captureStackTrace)Error.captureStackTrace(this,b8)}M0(b8,!0);Object.defineProperties(b8.prototype,{code:{enumerable:!0,get:function(){var J=I0.indexOf(this.name);if(P0(J))return J;return 0}}});var z0={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},F6=Object.entries(z0);for(Y8=0;Y8<F6.length;Y8++)L6=F6[Y8][0],b8[L6]=F6[Y8][1];var L6,Y8;function D6(J,$){if(this.message=J,this.locator=$,Error.captureStackTrace)Error.captureStackTrace(this,D6)}M0(D6);v8.DOMException=b8;v8.DOMExceptionName=y8;v8.ExceptionCode=z0;v8.ParseError=D6});var z6=rJ((p)=>{function w0(J){try{if(typeof J!=="function")J=RegExp;var $=new J("\uD834\uDF06","u").exec("\uD834\uDF06");return!!$&&$[0].length===2}catch(Q){}return!1}var G8=w0();function oJ(J){if(J.source[0]!=="[")throw Error(J+" can not be used with chars");return J.source.slice(1,J.source.lastIndexOf("]"))}function B8(J,$){if(J.source[0]!=="[")throw Error("/"+J.source+"/ can not be used with chars_without");if(!$||typeof $!=="string")throw Error(JSON.stringify($)+" is not a valid search");if(J.source.indexOf($)===-1)throw Error('"'+$+'" is not is /'+J.source+"/");if($==="-"&&J.source.indexOf($)!==1)throw Error('"'+$+'" is not at the first postion of /'+J.source+"/");return new RegExp(J.source.replace($,""),G8?"u":"")}function r(J){var $=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(Q){var K=typeof Q==="string";if(K&&$===void 0&&Q==="|")throw Error("use regg instead of reg to wrap expressions with `|`!");return K?Q:Q.source}).join(""),G8?"mu":"m")}function m(J){if(arguments.length===0)throw Error("no parameters provided");return r.apply(m,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var i1="�",iJ=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;if(G8)iJ=r("[",oJ(iJ),"\\u{10000}-\\u{10FFFF}","]");var s1=new RegExp("[^"+oJ(iJ)+"]",G8?"u":""),H6=/[\x20\x09\x0D\x0A]/,a1=oJ(H6),e=r(H6,"+"),ZJ=r(H6,"*"),u8=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;if(G8)u8=r("[",oJ(u8),"\\u{10000}-\\u{10FFFF}","]");var l1=oJ(u8),O6=r("[",l1,oJ(/[-.0-9\xB7]/),oJ(/[\u0300-\u036F\u203F-\u2040]/),"]"),NJ=r(u8,O6,"*"),R0=r(O6,"+"),t1=r("&",NJ,";"),e1=m(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),h8=m(t1,"|",e1),f8=r("%",NJ,";"),M6=m(r('"',m(/[^%&"]/,"|",f8,"|",h8),"*",'"'),"|",r("'",m(/[^%&']/,"|",f8,"|",h8),"*","'")),JK=m('"',m(/[^<&"]/,"|",h8),"*",'"',"|","'",m(/[^<&']/,"|",h8),"*","'"),$K=B8(u8,":"),QK=B8(O6,":"),A0=r($K,QK,"*"),m8=r(A0,m(":",A0),"?"),KK=r("^",m8,"$"),ZK=r("(",m8,")"),W8=m(/"[^"]*"|'[^']*'/),jK=r(/^<\?/,"(",NJ,")",m(e,"(",iJ,"*?)"),"?",/\?>/),C0=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,p8=m('"',C0,'*"',"|","'",B8(C0,"'"),"*'"),E0="<!--",S0="-->",XK=r(E0,m(B8(iJ,"-"),"|",r("-",B8(iJ,"-"))),"*",S0),T0="#PCDATA",YK=m(r(/\(/,ZJ,T0,m(ZJ,/\|/,ZJ,m8),"*",ZJ,/\)\*/),"|",r(/\(/,ZJ,T0,ZJ,/\)/)),BK=/[?*+]?/,WK=r(/\([^>]+\)/,BK),GK=m("EMPTY","|","ANY","|",YK,"|",WK),qK="<!ELEMENT",UK=r(qK,e,m(m8,"|",f8),e,m(GK,"|",f8),ZJ,">"),FK=r("NOTATION",e,/\(/,ZJ,NJ,m(ZJ,/\|/,ZJ,NJ),"*",ZJ,/\)/),LK=r(/\(/,ZJ,R0,m(ZJ,/\|/,ZJ,R0),"*",ZJ,/\)/),DK=m(FK,"|",LK),VK=m(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",DK),HK=m(/#REQUIRED|#IMPLIED/,"|",m(m("#FIXED",e),"?",JK)),OK=m(e,NJ,e,VK,e,HK),MK="<!ATTLIST",IK=r(MK,e,NJ,OK,"*",ZJ,">"),V6="about:legacy-compat",PK=m('"'+V6+'"',"|","'"+V6+"'"),I6="SYSTEM",U$="PUBLIC",F$=m(m(I6,e,W8),"|",m(U$,e,p8,e,W8)),zK=r("^",m(m(I6,e,"(?<SystemLiteralOnly>",W8,")"),"|",m(U$,e,"(?<PubidLiteral>",p8,")",e,"(?<SystemLiteral>",W8,")"))),RK=r("^",p8,"$"),AK=r("^",W8,"$"),CK=m(e,"NDATA",e,NJ),TK=m(M6,"|",m(F$,CK,"?")),k0="<!ENTITY",_K=r(k0,e,NJ,e,TK,ZJ,">"),NK=m(M6,"|",F$),wK=r(k0,e,"%",e,NJ,e,NK,ZJ,">"),EK=m(_K,"|",wK),SK=r(U$,e,p8),kK=r("<!NOTATION",e,NJ,e,m(F$,"|",SK),ZJ,">"),P6=r(ZJ,"=",ZJ),_0=/1[.]\d+/,xK=r(e,"version",P6,m("'",_0,"'","|",'"',_0,'"')),N0=/[A-Za-z][-A-Za-z0-9._]*/,yK=m(e,"encoding",P6,m('"',N0,'"',"|","'",N0,"'")),bK=m(e,"standalone",P6,m("'",m("yes","|","no"),"'","|",'"',m("yes","|","no"),'"')),vK=r(/^<\?xml/,xK,yK,"?",bK,"?",ZJ,/\?>/),gK="<!DOCTYPE",uK="<![CDATA[",hK="]]>",fK=/<!\[CDATA\[/,mK=/\]\]>/,pK=r(iJ,"*?",mK),cK=r(fK,pK);p.chars=oJ;p.chars_without=B8;p.detectUnicodeSupport=w0;p.reg=r;p.regg=m;p.ABOUT_LEGACY_COMPAT=V6;p.ABOUT_LEGACY_COMPAT_SystemLiteral=PK;p.AttlistDecl=IK;p.CDATA_START=uK;p.CDATA_END=hK;p.CDSect=cK;p.Char=iJ;p.Comment=XK;p.COMMENT_START=E0;p.COMMENT_END=S0;p.DOCTYPE_DECL_START=gK;p.elementdecl=UK;p.EntityDecl=EK;p.EntityValue=M6;p.ExternalID=F$;p.ExternalID_match=zK;p.Name=NJ;p.NotationDecl=kK;p.Reference=h8;p.PEReference=f8;p.PI=jK;p.PUBLIC=U$;p.PubidLiteral=p8;p.PubidLiteral_match=RK;p.QName=m8;p.QName_exact=KK;p.QName_group=ZK;p.S=e;p.SChar_s=a1;p.S_OPT=ZJ;p.SYSTEM=I6;p.SystemLiteral=W8;p.SystemLiteral_match=AK;p.InvalidChar=s1;p.UNICODE_REPLACEMENT_CHARACTER=i1;p.UNICODE_SUPPORT=G8;p.XMLDecl=vK});var E6=rJ((YJ)=>{var SJ=eJ(),hJ=SJ.find,nK=SJ.hasDefaultHTMLNamespace,U8=SJ.hasOwn,rK=SJ.isHTMLMimeType,dK=SJ.isHTMLRawTextElement,oK=SJ.isHTMLVoidElement,c8=SJ.MIME_TYPE,fJ=SJ.NAMESPACE,PJ=Symbol(),h0=g8(),h=h0.DOMException,wJ=h0.DOMExceptionName,VJ=z6();function RJ(J){if(J!==PJ)throw TypeError("Illegal constructor")}function iK(J){return J!==""}function sK(J){return J?J.split(/[\t\n\f\r ]+/).filter(iK):[]}function aK(J,$){if(!U8(J,$))J[$]=!0;return J}function x0(J){if(!J)return[];var $=sK(J);return Object.keys($.reduce(aK,{}))}function lK(J){return function($){return J&&J.indexOf($)!==-1}}function f0(J){if(!VJ.QName_exact.test(J))throw new h(h.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+J+'"')}function A6(J,$){f0($),J=J||null;var Q=null,K=$;if($.indexOf(":")>=0){var Z=$.split(":");Q=Z[0],K=Z[1]}if(Q!==null&&J===null)throw new h(h.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(Q==="xml"&&J!==SJ.NAMESPACE.XML)throw new h(h.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((Q==="xmlns"||$==="xmlns")&&J!==SJ.NAMESPACE.XMLNS)throw new h(h.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(J===SJ.NAMESPACE.XMLNS&&Q!=="xmlns"&&$!=="xmlns")throw new h(h.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[J,Q,K]}function D8(J,$){for(var Q in J)if(U8(J,Q))$[Q]=J[Q]}function AJ(J,$){var Q=J.prototype;if(!(Q instanceof $)){let K=function(){};K.prototype=$.prototype,K=new K,D8(Q,K),J.prototype=Q=K}if(Q.constructor!=J){if(typeof J!="function")console.error("unknown Class:"+J);Q.constructor=J}}var CJ={},EJ=CJ.ELEMENT_NODE=1,F8=CJ.ATTRIBUTE_NODE=2,V$=CJ.TEXT_NODE=3,m0=CJ.CDATA_SECTION_NODE=4,p0=CJ.ENTITY_REFERENCE_NODE=5,tK=CJ.ENTITY_NODE=6,C6=CJ.PROCESSING_INSTRUCTION_NODE=7,T6=CJ.COMMENT_NODE=8,q8=CJ.DOCUMENT_NODE=9,c0=CJ.DOCUMENT_TYPE_NODE=10,sJ=CJ.DOCUMENT_FRAGMENT_NODE=11,eK=CJ.NOTATION_NODE=12,XJ=SJ.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function n0(J,$){if($.length<J.length)return n0($,J);var Q=null;for(var K in J){if(J[K]!==$[K])return Q;Q=J[K]}return Q}function y0(J){if(!J.guid)J.guid=Math.random();return J.guid}function WJ(){}WJ.prototype={length:0,item:function(J){return J>=0&&J<this.length?this[J]:null},toString:function(J){var $;if(typeof J==="function")$={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:J};else if(J)$={requireWellFormed:!!J.requireWellFormed,splitCDATASections:J.splitCDATASections!==!1,nodeFilter:J.nodeFilter||null};else $={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null};for(var Q=[],K=0;K<this.length;K++)w6(this[K],Q,null,$);return Q.join("")},filter:function(J){return Array.prototype.filter.call(this,J)},indexOf:function(J){return Array.prototype.indexOf.call(this,J)}};WJ.prototype[Symbol.iterator]=function(){var J=this,$=0;return{next:function(){if($<J.length)return{value:J[$++],done:!1};else return{done:!0}},return:function(){return{done:!0}}}};function uJ(J,$){this._node=J,this._refresh=$,O$(this)}function O$(J){var $=J._node._inc||J._node.ownerDocument._inc;if(J._inc!==$){var Q=J._refresh(J._node);if(QQ(J,"length",Q.length),!J.$$length||Q.length<J.$$length){for(var K=Q.length;K in J;K++)if(U8(J,K))delete J[K]}D8(Q,J),J._inc=$}}uJ.prototype.item=function(J){return O$(this),this[J]||null};AJ(uJ,WJ);function L8(){}function r0(J,$){var Q=0;while(Q<J.length){if(J[Q]===$)return Q;Q++}}function J4(J,$,Q,K){if(K)$[r0($,K)]=Q;else $[$.length]=Q,$.length++;if(J){Q.ownerElement=J;var Z=J.ownerDocument;if(Z)K&&i0(Z,J,K),$4(Z,J,Q)}}function b0(J,$,Q){var K=r0($,Q);if(K>=0){var Z=$.length-1;while(K<=Z)$[K]=$[++K];if($.length=Z,J){var j=J.ownerDocument;if(j)i0(j,J,Q);Q.ownerElement=null}}}L8.prototype={length:0,item:WJ.prototype.item,getNamedItem:function(J){if(this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace())J=J.toLowerCase();var $=0;while($<this.length){var Q=this[$];if(Q.nodeName===J)return Q;$++}return null},setNamedItem:function(J){var $=J.ownerElement;if($&&$!==this._ownerElement)throw new h(h.INUSE_ATTRIBUTE_ERR);var Q=this.getNamedItemNS(J.namespaceURI,J.localName);if(Q===J)return J;return J4(this._ownerElement,this,J,Q),Q},setNamedItemNS:function(J){return this.setNamedItem(J)},removeNamedItem:function(J){var $=this.getNamedItem(J);if(!$)throw new h(h.NOT_FOUND_ERR,J);return b0(this._ownerElement,this,$),$},removeNamedItemNS:function(J,$){var Q=this.getNamedItemNS(J,$);if(!Q)throw new h(h.NOT_FOUND_ERR,J?J+" : "+$:$);return b0(this._ownerElement,this,Q),Q},getNamedItemNS:function(J,$){if(!J)J=null;var Q=0;while(Q<this.length){var K=this[Q];if(K.localName===$&&K.namespaceURI===J)return K;Q++}return null}};L8.prototype[Symbol.iterator]=function(){var J=this,$=0;return{next:function(){if($<J.length)return{value:J[$++],done:!1};else return{done:!0}},return:function(){return{done:!0}}}};function d0(){}d0.prototype={hasFeature:function(J,$){return!0},createDocument:function(J,$,Q){var K=c8.XML_APPLICATION;if(J===fJ.HTML)K=c8.XML_XHTML_APPLICATION;else if(J===fJ.SVG)K=c8.XML_SVG_IMAGE;var Z=new cJ(PJ,{contentType:K});if(Z.implementation=this,Z.childNodes=new WJ,Z.doctype=Q||null,Q)Z.appendChild(Q);if($){var j=Z.createElementNS(J,$);Z.appendChild(j)}return Z},createDocumentType:function(J,$,Q,K){f0(J);var Z=new P$(PJ);return Z.name=J,Z.nodeName=J,Z.publicId=$||"",Z.systemId=Q||"",Z.internalSubset=K||"",Z.childNodes=new WJ,Z},createHTMLDocument:function(J){var $=new cJ(PJ,{contentType:c8.HTML});if($.implementation=this,$.childNodes=new WJ,J!==!1){$.doctype=this.createDocumentType("html"),$.doctype.ownerDocument=$,$.appendChild($.doctype);var Q=$.createElement("html");$.appendChild(Q);var K=$.createElement("head");if(Q.appendChild(K),typeof J==="string"){var Z=$.createElement("title");Z.appendChild($.createTextNode(J)),K.appendChild(Z)}Q.appendChild($.createElement("body"))}return $}};function i(J){RJ(J)}i.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var J=this.getRootNode();return J&&J.nodeType===J.DOCUMENT_NODE},contains:function(J){if(!J)return!1;var $=J;do{if(this===$)return!0;$=$.parentNode}while($);return!1},getRootNode:function(J){var $=this;do{if(!$.parentNode)return $;$=$.parentNode}while($)},isEqualNode:function(J){if(!J)return!1;var $=[{node:this,other:J}];while($.length>0){var Q=$.pop(),K=Q.node,Z=Q.other;if(K.nodeType!==Z.nodeType)return!1;switch(K.nodeType){case K.DOCUMENT_TYPE_NODE:if(K.name!==Z.name)return!1;if(K.publicId!==Z.publicId)return!1;if(K.systemId!==Z.systemId)return!1;break;case K.ELEMENT_NODE:if(K.namespaceURI!==Z.namespaceURI)return!1;if(K.prefix!==Z.prefix)return!1;if(K.localName!==Z.localName)return!1;if(K.attributes.length!==Z.attributes.length)return!1;for(var j=0;j<K.attributes.length;j++){var X=K.attributes.item(j),W=Z.getAttributeNodeNS(X.namespaceURI,X.localName);if(!W)return!1;$.push({node:X,other:W})}break;case K.ATTRIBUTE_NODE:if(K.namespaceURI!==Z.namespaceURI)return!1;if(K.localName!==Z.localName)return!1;if(K.value!==Z.value)return!1;break;case K.PROCESSING_INSTRUCTION_NODE:if(K.target!==Z.target||K.data!==Z.data)return!1;break;case K.TEXT_NODE:case K.CDATA_SECTION_NODE:case K.COMMENT_NODE:if(K.data!==Z.data)return!1;break}if(K.childNodes.length!==Z.childNodes.length)return!1;for(var j=K.childNodes.length-1;j>=0;j--)$.push({node:K.childNodes[j],other:Z.childNodes[j]})}return!0},isSameNode:function(J){return this===J},insertBefore:function(J,$){return H$(this,J,$)},replaceChild:function(J,$){if(H$(this,J,$,t0),$)this.removeChild($)},removeChild:function(J){return a0(this,J)},appendChild:function(J){return this.insertBefore(J,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(J){return $Q(this.ownerDocument||this,this,J)},normalize:function(){HJ(this,null,{enter:function(J){var $=J.firstChild;while($){var Q=$.nextSibling;if(Q!==null&&Q.nodeType===V$&&$.nodeType===V$)J.removeChild(Q),$.appendData(Q.data);else $=Q}return!0}})},isSupported:function(J,$){return this.ownerDocument.implementation.hasFeature(J,$)},lookupPrefix:function(J){var $=this;while($){var Q=$._nsMap;if(Q){for(var K in Q)if(U8(Q,K)&&Q[K]===J)return K}$=$.nodeType==F8?$.ownerDocument:$.parentNode}return null},lookupNamespaceURI:function(J){var $=this;while($){var Q=$._nsMap;if(Q){if(U8(Q,J))return Q[J]}$=$.nodeType==F8?$.ownerDocument:$.parentNode}return null},isDefaultNamespace:function(J){var $=this.lookupPrefix(J);return $==null},compareDocumentPosition:function(J){if(this===J)return 0;var $=J,Q=this,K=null,Z=null;if($ instanceof J8)K=$,$=K.ownerElement;if(Q instanceof J8){if(Z=Q,Q=Z.ownerElement,K&&$&&Q===$)for(var j=0,X;X=Q.attributes[j];j++){if(X===K)return XJ.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+XJ.DOCUMENT_POSITION_PRECEDING;if(X===Z)return XJ.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+XJ.DOCUMENT_POSITION_FOLLOWING}}if(!$||!Q||Q.ownerDocument!==$.ownerDocument)return XJ.DOCUMENT_POSITION_DISCONNECTED+XJ.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(y0(Q.ownerDocument)>y0($.ownerDocument)?XJ.DOCUMENT_POSITION_FOLLOWING:XJ.DOCUMENT_POSITION_PRECEDING);if(Z&&$===Q)return XJ.DOCUMENT_POSITION_CONTAINS+XJ.DOCUMENT_POSITION_PRECEDING;if(K&&$===Q)return XJ.DOCUMENT_POSITION_CONTAINED_BY+XJ.DOCUMENT_POSITION_FOLLOWING;var W=[],B=$.parentNode;while(B){if(!Z&&B===Q)return XJ.DOCUMENT_POSITION_CONTAINED_BY+XJ.DOCUMENT_POSITION_FOLLOWING;W.push(B),B=B.parentNode}W.reverse();var Y=[],G=Q.parentNode;while(G){if(!K&&G===$)return XJ.DOCUMENT_POSITION_CONTAINS+XJ.DOCUMENT_POSITION_PRECEDING;Y.push(G),G=G.parentNode}Y.reverse();var q=n0(W,Y);for(var U in q.childNodes){var L=q.childNodes[U];if(L===Q)return XJ.DOCUMENT_POSITION_FOLLOWING;if(L===$)return XJ.DOCUMENT_POSITION_PRECEDING;if(Y.indexOf(L)>=0)return XJ.DOCUMENT_POSITION_FOLLOWING;if(W.indexOf(L)>=0)return XJ.DOCUMENT_POSITION_PRECEDING}return 0}};function o0(J){return J=="<"&&"&lt;"||J==">"&&"&gt;"||J=="&"&&"&amp;"||J=='"'&&"&quot;"||"&#"+J.charCodeAt()+";"}D8(CJ,i);D8(CJ,i.prototype);D8(XJ,i);D8(XJ,i.prototype);function D$(J,$){HJ(J,null,{enter:function(Q){return $(Q)?HJ.STOP:!0}})}function HJ(J,$,Q){var K=[{node:J,context:$,phase:HJ.ENTER}];while(K.length>0){var Z=K.pop();if(Z.phase===HJ.ENTER){var j=Q.enter(Z.node,Z.context);if(j===HJ.STOP)return HJ.STOP;if(K.push({node:Z.node,context:j,phase:HJ.EXIT}),j===null||j===void 0)continue;var X=Z.node.lastChild;while(X)K.push({node:X,context:j,phase:HJ.ENTER}),X=X.previousSibling}else if(Q.exit)Q.exit(Z.node,Z.context)}}HJ.STOP=Symbol("walkDOM.STOP");HJ.ENTER=0;HJ.EXIT=1;function cJ(J,$){RJ(J);var Q=$||{};this.ownerDocument=this,this.contentType=Q.contentType||c8.XML_APPLICATION,this.type=rK(this.contentType)?"html":"xml"}function $4(J,$,Q){J&&J._inc++;var K=Q.namespaceURI;if(K===fJ.XMLNS)$._nsMap[Q.prefix?Q.localName:""]=Q.value}function i0(J,$,Q,K){J&&J._inc++;var Z=Q.namespaceURI;if(Z===fJ.XMLNS)delete $._nsMap[Q.prefix?Q.localName:""]}function s0(J,$,Q){if(J&&J._inc){J._inc++;var K=$.childNodes;if(Q&&!Q.nextSibling)K[K.length++]=Q;else{var Z=$.firstChild,j=0;while(Z)K[j++]=Z,Z=Z.nextSibling;K.length=j,delete K[K.length]}}}function a0(J,$){if(J!==$.parentNode)throw new h(h.NOT_FOUND_ERR,"child's parent is not parent");var{previousSibling:Q,nextSibling:K}=$;if(Q)Q.nextSibling=K;else J.firstChild=K;if(K)K.previousSibling=Q;else J.lastChild=Q;return s0(J.ownerDocument,J),$.parentNode=null,$.previousSibling=null,$.nextSibling=null,$}function Q4(J){return J&&(J.nodeType===i.DOCUMENT_NODE||J.nodeType===i.DOCUMENT_FRAGMENT_NODE||J.nodeType===i.ELEMENT_NODE)}function K4(J){return J&&(J.nodeType===i.CDATA_SECTION_NODE||J.nodeType===i.COMMENT_NODE||J.nodeType===i.DOCUMENT_FRAGMENT_NODE||J.nodeType===i.DOCUMENT_TYPE_NODE||J.nodeType===i.ELEMENT_NODE||J.nodeType===i.PROCESSING_INSTRUCTION_NODE||J.nodeType===i.TEXT_NODE)}function aJ(J){return J&&J.nodeType===i.DOCUMENT_TYPE_NODE}function pJ(J){return J&&J.nodeType===i.ELEMENT_NODE}function l0(J){return J&&J.nodeType===i.TEXT_NODE}function v0(J,$){var Q=J.childNodes||[];if(hJ(Q,pJ)||aJ($))return!1;var K=hJ(Q,aJ);return!($&&K&&Q.indexOf(K)>Q.indexOf($))}function g0(J,$){var Q=J.childNodes||[];function K(j){return pJ(j)&&j!==$}if(hJ(Q,K))return!1;var Z=hJ(Q,aJ);return!($&&Z&&Q.indexOf(Z)>Q.indexOf($))}function Z4(J,$,Q){if(!Q4(J))throw new h(h.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+J.nodeType);if(Q&&Q.parentNode!==J)throw new h(h.NOT_FOUND_ERR,"child not in parent");if(!K4($)||aJ($)&&J.nodeType!==i.DOCUMENT_NODE)throw new h(h.HIERARCHY_REQUEST_ERR,"Unexpected node type "+$.nodeType+" for parent node type "+J.nodeType)}function j4(J,$,Q){var K=J.childNodes||[],Z=$.childNodes||[];if($.nodeType===i.DOCUMENT_FRAGMENT_NODE){var j=Z.filter(pJ);if(j.length>1||hJ(Z,l0))throw new h(h.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(j.length===1&&!v0(J,Q))throw new h(h.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(pJ($)){if(!v0(J,Q))throw new h(h.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype")}if(aJ($)){if(hJ(K,aJ))throw new h(h.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var X=hJ(K,pJ);if(Q&&K.indexOf(X)<K.indexOf(Q))throw new h(h.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!Q&&X)throw new h(h.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function t0(J,$,Q){var K=J.childNodes||[],Z=$.childNodes||[];if($.nodeType===i.DOCUMENT_FRAGMENT_NODE){var j=Z.filter(pJ);if(j.length>1||hJ(Z,l0))throw new h(h.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(j.length===1&&!g0(J,Q))throw new h(h.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(pJ($)){if(!g0(J,Q))throw new h(h.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype")}if(aJ($)){if(hJ(K,function(B){return aJ(B)&&B!==Q}))throw new h(h.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var X=hJ(K,pJ);if(Q&&K.indexOf(X)<K.indexOf(Q))throw new h(h.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function H$(J,$,Q,K){if(Z4(J,$,Q),J.nodeType===i.DOCUMENT_NODE)(K||j4)(J,$,Q);var Z=$.parentNode;if(Z)Z.removeChild($);if($.nodeType===sJ){var j=$.firstChild;if(j==null)return $;var X=$.lastChild}else j=X=$;var W=Q?Q.previousSibling:J.lastChild;if(j.previousSibling=W,X.nextSibling=Q,W)W.nextSibling=j;else J.firstChild=j;if(Q==null)J.lastChild=X;else Q.previousSibling=X;do j.parentNode=J;while(j!==X&&(j=j.nextSibling));if(s0(J.ownerDocument||J,J,$),$.nodeType==sJ)$.firstChild=$.lastChild=null;return $}cJ.prototype={implementation:null,nodeName:"#document",nodeType:q8,doctype:null,documentElement:null,_inc:1,insertBefore:function(J,$){if(J.nodeType===sJ){var Q=J.firstChild;while(Q){var K=Q.nextSibling;this.insertBefore(Q,$),Q=K}return J}if(H$(this,J,$),J.ownerDocument=this,this.documentElement===null&&J.nodeType===EJ)this.documentElement=J;return J},removeChild:function(J){var $=a0(this,J);if($===this.documentElement)this.documentElement=null;return $},replaceChild:function(J,$){if(H$(this,J,$,t0),J.ownerDocument=this,$)this.removeChild($);if(pJ(J))this.documentElement=J},importNode:function(J,$){return X4(this,J,$)},getElementById:function(J){var $=null;return D$(this.documentElement,function(Q){if(Q.nodeType==EJ){if(Q.getAttribute("id")==J)return $=Q,!0}}),$},createElement:function(J){var $=new nJ(PJ);if($.ownerDocument=this,this.type==="html")J=J.toLowerCase();if(nK(this.contentType))$.namespaceURI=fJ.HTML;$.nodeName=J,$.tagName=J,$.localName=J,$.childNodes=new WJ;var Q=$.attributes=new L8;return Q._ownerElement=$,$},createDocumentFragment:function(){var J=new H8(PJ);return J.ownerDocument=this,J.childNodes=new WJ,J},createTextNode:function(J){var $=new n8(PJ);return $.ownerDocument=this,$.childNodes=new WJ,$.appendData(J),$},createComment:function(J){var $=new M$(PJ);return $.ownerDocument=this,$.childNodes=new WJ,$.appendData(J),$},createCDATASection:function(J){if(J.indexOf("]]>")!==-1)throw new h(h.INVALID_CHARACTER_ERR,'data contains "]]>"');var $=new I$(PJ);return $.ownerDocument=this,$.childNodes=new WJ,$.appendData(J),$},createProcessingInstruction:function(J,$){var Q=new R$(PJ);return Q.ownerDocument=this,Q.childNodes=new WJ,Q.nodeName=Q.target=J,Q.nodeValue=Q.data=$,Q},createAttribute:function(J){if(!VJ.QName_exact.test(J))throw new h(h.INVALID_CHARACTER_ERR,'invalid character in name "'+J+'"');if(this.type==="html")J=J.toLowerCase();return this._createAttribute(J)},_createAttribute:function(J){var $=new J8(PJ);return $.ownerDocument=this,$.childNodes=new WJ,$.name=J,$.nodeName=J,$.localName=J,$.specified=!0,$},createEntityReference:function(J){if(!VJ.Name.test(J))throw new h(h.INVALID_CHARACTER_ERR,'not a valid xml name "'+J+'"');if(this.type==="html")throw new h("document is an html document",wJ.NotSupportedError);var $=new z$(PJ);return $.ownerDocument=this,$.childNodes=new WJ,$.nodeName=J,$},createElementNS:function(J,$){var Q=A6(J,$),K=new nJ(PJ),Z=K.attributes=new L8;return K.childNodes=new WJ,K.ownerDocument=this,K.nodeName=$,K.tagName=$,K.namespaceURI=Q[0],K.prefix=Q[1],K.localName=Q[2],Z._ownerElement=K,K},createAttributeNS:function(J,$){var Q=A6(J,$),K=new J8(PJ);return K.ownerDocument=this,K.childNodes=new WJ,K.nodeName=$,K.name=$,K.specified=!0,K.namespaceURI=Q[0],K.prefix=Q[1],K.localName=Q[2],K}};AJ(cJ,i);function nJ(J){RJ(J),this._nsMap=Object.create(null)}nJ.prototype={nodeType:EJ,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===fJ.HTML},hasAttributes:function(){return!!(this.attributes&&this.attributes.length)},hasAttribute:function(J){return!!this.getAttributeNode(J)},getAttribute:function(J){var $=this.getAttributeNode(J);return $?$.value:null},getAttributeNode:function(J){if(this._isInHTMLDocumentAndNamespace())J=J.toLowerCase();return this.attributes.getNamedItem(J)},setAttribute:function(J,$){if(this._isInHTMLDocumentAndNamespace())J=J.toLowerCase();var Q=this.getAttributeNode(J);if(Q)Q.value=Q.nodeValue=""+$;else Q=this.ownerDocument._createAttribute(J),Q.value=Q.nodeValue=""+$,this.setAttributeNode(Q)},removeAttribute:function(J){var $=this.getAttributeNode(J);$&&this.removeAttributeNode($)},setAttributeNode:function(J){return this.attributes.setNamedItem(J)},setAttributeNodeNS:function(J){return this.attributes.setNamedItemNS(J)},removeAttributeNode:function(J){return this.attributes.removeNamedItem(J.nodeName)},removeAttributeNS:function(J,$){var Q=this.getAttributeNodeNS(J,$);Q&&this.removeAttributeNode(Q)},hasAttributeNS:function(J,$){return this.getAttributeNodeNS(J,$)!=null},getAttributeNS:function(J,$){var Q=this.getAttributeNodeNS(J,$);return Q?Q.value:null},setAttributeNS:function(J,$,Q){var K=A6(J,$),Z=K[2],j=this.getAttributeNodeNS(J,Z);if(j)j.value=j.nodeValue=""+Q;else j=this.ownerDocument.createAttributeNS(J,$),j.value=j.nodeValue=""+Q,this.setAttributeNode(j)},getAttributeNodeNS:function(J,$){return this.attributes.getNamedItemNS(J,$)},getElementsByClassName:function(J){var $=x0(J);return new uJ(this,function(Q){var K=[];if($.length>0)D$(Q,function(Z){if(Z!==Q&&Z.nodeType===EJ){var j=Z.getAttribute("class");if(j){var X=J===j;if(!X){var W=x0(j);X=$.every(lK(W))}if(X)K.push(Z)}}});return K})},getElementsByTagName:function(J){var $=(this.nodeType===q8?this:this.ownerDocument).type==="html",Q=J.toLowerCase();return new uJ(this,function(K){var Z=[];return D$(K,function(j){if(j===K||j.nodeType!==EJ)return;if(J==="*")Z.push(j);else{var X=j.getQualifiedName(),W=$&&j.namespaceURI===fJ.HTML?Q:J;if(X===W)Z.push(j)}}),Z})},getElementsByTagNameNS:function(J,$){return new uJ(this,function(Q){var K=[];return D$(Q,function(Z){if(Z!==Q&&Z.nodeType===EJ&&(J==="*"||Z.namespaceURI===J)&&($==="*"||Z.localName==$))K.push(Z)}),K})}};cJ.prototype.getElementsByClassName=nJ.prototype.getElementsByClassName;cJ.prototype.getElementsByTagName=nJ.prototype.getElementsByTagName;cJ.prototype.getElementsByTagNameNS=nJ.prototype.getElementsByTagNameNS;AJ(nJ,i);function J8(J){RJ(J),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}J8.prototype.nodeType=F8;AJ(J8,i);function V8(J){RJ(J)}V8.prototype={data:"",substringData:function(J,$){return this.data.substring(J,J+$)},appendData:function(J){J=this.data+J,this.nodeValue=this.data=J,this.length=J.length},insertData:function(J,$){this.replaceData(J,0,$)},deleteData:function(J,$){this.replaceData(J,$,"")},replaceData:function(J,$,Q){var K=this.data.substring(0,J),Z=this.data.substring(J+$);Q=K+Q+Z,this.nodeValue=this.data=Q,this.length=Q.length}};AJ(V8,i);function n8(J){RJ(J)}n8.prototype={nodeName:"#text",nodeType:V$,splitText:function(J){var $=this.data,Q=$.substring(J);$=$.substring(0,J),this.data=this.nodeValue=$,this.length=$.length;var K=this.ownerDocument.createTextNode(Q);if(this.parentNode)this.parentNode.insertBefore(K,this.nextSibling);return K}};AJ(n8,V8);function M$(J){RJ(J)}M$.prototype={nodeName:"#comment",nodeType:T6};AJ(M$,V8);function I$(J){RJ(J)}I$.prototype={nodeName:"#cdata-section",nodeType:m0};AJ(I$,n8);function P$(J){RJ(J)}P$.prototype.nodeType=c0;AJ(P$,i);function _6(J){RJ(J)}_6.prototype.nodeType=eK;AJ(_6,i);function N6(J){RJ(J)}N6.prototype.nodeType=tK;AJ(N6,i);function z$(J){RJ(J)}z$.prototype.nodeType=p0;AJ(z$,i);function H8(J){RJ(J)}H8.prototype.nodeName="#document-fragment";H8.prototype.nodeType=sJ;AJ(H8,i);function R$(J){RJ(J)}R$.prototype.nodeType=C6;AJ(R$,V8);function e0(){}e0.prototype.serializeToString=function(J,$){return JQ.call(J,$)};i.prototype.toString=JQ;function JQ(J){var $;if(typeof J==="function")$={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:J};else if(J!=null)$={requireWellFormed:!!J.requireWellFormed,splitCDATASections:J.splitCDATASections!==!1,nodeFilter:J.nodeFilter||null};else $={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null};var Q=[],K=this.nodeType===q8&&this.documentElement||this,Z=K.prefix,j=K.namespaceURI;if(j&&Z==null){var Z=K.lookupPrefix(j);if(Z==null)var X=[{namespace:j,prefix:null}]}return w6(this,Q,X,$),Q.join("")}function u0(J,$,Q){var K=J.prefix||"",Z=J.namespaceURI;if(!Z)return!1;if(K==="xml"&&Z===fJ.XML||Z===fJ.XMLNS)return!1;var j=Q.length;while(j--){var X=Q[j];if(X.prefix===K)return X.namespace!==Z}return!0}function L$(J,$,Q){J.push(" ",$,'="',Q.replace(/[<>&"\t\n\r]/g,o0),'"')}function w6(J,$,Q,K){if(!Q)Q=[];var{nodeFilter:Z,requireWellFormed:j,splitCDATASections:X}=K,W=J.nodeType===q8?J:J.ownerDocument,B=W.type==="html";HJ(J,{ns:Q},{enter:function(Y,G){var q=G.ns;if(Z)if(Y=Z(Y),Y){if(typeof Y=="string")return $.push(Y),null}else return null;switch(Y.nodeType){case EJ:var U=Y.attributes,L=U.length,D=Y.tagName,H=D;if(!B&&!Y.prefix&&Y.namespaceURI){var O;for(var M=0;M<U.length;M++)if(U.item(M).name==="xmlns"){O=U.item(M).value;break}if(!O)for(var P=q.length-1;P>=0;P--){var I=q[P];if(I.prefix===""&&I.namespace===Y.namespaceURI){O=I.namespace;break}}if(O!==Y.namespaceURI)for(var P=q.length-1;P>=0;P--){var I=q[P];if(I.namespace===Y.namespaceURI){if(I.prefix)H=I.prefix+":"+D;break}}}$.push("<",H);var z=q.slice();for(var k=0;k<L;k++){var x=U.item(k);if(x.prefix=="xmlns")z.push({prefix:x.localName,namespace:x.value});else if(x.nodeName=="xmlns")z.push({prefix:"",namespace:x.value})}for(var k=0;k<L;k++){var x=U.item(k);if(u0(x,B,z)){var E=x.prefix||"",A=x.namespaceURI;L$($,E?"xmlns:"+E:"xmlns",A),z.push({prefix:E,namespace:A})}var R=Z?Z(x):x;if(R)if(typeof R==="string")$.push(R);else L$($,R.name,R.value)}if(D===H&&u0(Y,B,z)){var y=Y.prefix||"",A=Y.namespaceURI;L$($,y?"xmlns:"+y:"xmlns",A),z.push({prefix:y,namespace:A})}var f=!Y.firstChild;if(f&&(B||Y.namespaceURI===fJ.HTML))f=oK(D);if(f)return $.push("/>"),null;if($.push(">"),B&&dK(D)){var w=Y.firstChild;while(w){if(w.data)$.push(w.data);else w6(w,$,z.slice(),K);w=w.nextSibling}return $.push("</",H,">"),null}return{ns:z,tag:H};case q8:case sJ:if(j&&Y.nodeType===q8&&Y.documentElement==null)throw new h("The Document has no documentElement",wJ.InvalidStateError);return{ns:q};case F8:return L$($,Y.name,Y.value),null;case V$:if(j&&VJ.InvalidChar.test(Y.data))throw new h("The Text node data contains characters outside the XML Char production",wJ.InvalidStateError);return $.push(Y.data.replace(/[<&>]/g,o0)),null;case m0:if(j&&Y.data.indexOf("]]>")!==-1)throw new h('The CDATASection data contains "]]>"',wJ.InvalidStateError);if(X)$.push(VJ.CDATA_START,Y.data.replace(/]]>/g,"]]]]><![CDATA[>"),VJ.CDATA_END);else $.push(VJ.CDATA_START,Y.data,VJ.CDATA_END);return null;case T6:if(j){if(VJ.InvalidChar.test(Y.data))throw new h("The comment node data contains characters outside the XML Char production",wJ.InvalidStateError);if(Y.data.indexOf("--")!==-1||Y.data[Y.data.length-1]==="-")throw new h('The comment node data contains "--" or ends with "-"',wJ.InvalidStateError)}return $.push(VJ.COMMENT_START,Y.data,VJ.COMMENT_END),null;case c0:var{publicId:u,systemId:C}=Y;if(j){if(u&&!VJ.PubidLiteral_match.test(u))throw new h("DocumentType publicId is not a valid PubidLiteral",wJ.InvalidStateError);if(C&&C!=="."&&!VJ.SystemLiteral_match.test(C))throw new h("DocumentType systemId is not a valid SystemLiteral",wJ.InvalidStateError);if(Y.internalSubset&&Y.internalSubset.indexOf("]>")!==-1)throw new h('DocumentType internalSubset contains "]>"',wJ.InvalidStateError)}if($.push(VJ.DOCTYPE_DECL_START," ",Y.name),u){if($.push(" ",VJ.PUBLIC," ",u),C&&C!==".")$.push(" ",C)}else if(C&&C!==".")$.push(" ",VJ.SYSTEM," ",C);if(Y.internalSubset)$.push(" [",Y.internalSubset,"]");return $.push(">"),null;case C6:if(j){if(Y.target.indexOf(":")!==-1||Y.target.toLowerCase()==="xml")throw new h("The ProcessingInstruction target is not well-formed",wJ.InvalidStateError);if(VJ.InvalidChar.test(Y.data))throw new h("The ProcessingInstruction data contains characters outside the XML Char production",wJ.InvalidStateError);if(Y.data.indexOf("?>")!==-1)throw new h('The ProcessingInstruction data contains "?>"',wJ.InvalidStateError)}return $.push("<?",Y.target," ",Y.data,"?>"),null;case p0:return $.push("&",Y.nodeName,";"),null;default:return $.push("??",Y.nodeName),null}},exit:function(Y,G){if(G&&G.tag)$.push("</",G.tag,">")}})}function X4(J,$,Q){var K;return HJ($,null,{enter:function(Z,j){var X=Z.cloneNode(!1);if(X.ownerDocument=J,X.parentNode=null,j===null)K=X;else j.appendChild(X);var W=Z.nodeType===F8||Q;return W?X:null}}),K}function $Q(J,$,Q){var K;return HJ($,null,{enter:function(Z,j){var X=new Z.constructor(PJ);for(var W in Z)if(U8(Z,W)){var B=Z[W];if(typeof B!="object"){if(B!=X[W])X[W]=B}}if(Z.childNodes)X.childNodes=new WJ;X.ownerDocument=J;var Y=Q;switch(X.nodeType){case EJ:var G=Z.attributes,q=X.attributes=new L8,U=G.length;q._ownerElement=X;for(var L=0;L<U;L++)X.setAttributeNode($Q(J,G.item(L),!0));break;case F8:Y=!0}if(j!==null)j.appendChild(X);else K=X;return Y?X:null}}),K}function QQ(J,$,Q){J[$]=Q}function R6(J){var $=[],Q=J.firstChild;while(Q){if(Q.nodeType===EJ)$.push(Q);Q=Q.nextSibling}return $}try{if(Object.defineProperty)Object.defineProperty(uJ.prototype,"length",{get:function(){return O$(this),this.$$length}}),Object.defineProperty(i.prototype,"textContent",{get:function(){if(this.nodeType===EJ||this.nodeType===sJ){var J=[];return HJ(this,null,{enter:function($){if($.nodeType===EJ||$.nodeType===sJ)return!0;if($.nodeType===C6||$.nodeType===T6)return null;J.push($.nodeValue)}}),J.join("")}return this.nodeValue},set:function(J){switch(this.nodeType){case EJ:case sJ:while(this.firstChild)this.removeChild(this.firstChild);if(J||String(J))this.appendChild(this.ownerDocument.createTextNode(J));break;default:this.data=J,this.value=J,this.nodeValue=J}}}),Object.defineProperty(nJ.prototype,"children",{get:function(){return new uJ(this,R6)}}),Object.defineProperty(cJ.prototype,"children",{get:function(){return new uJ(this,R6)}}),Object.defineProperty(H8.prototype,"children",{get:function(){return new uJ(this,R6)}}),QQ=function(J,$,Q){J["$$"+$]=Q}}catch(J){}YJ._updateLiveList=O$;YJ.Attr=J8;YJ.CDATASection=I$;YJ.CharacterData=V8;YJ.Comment=M$;YJ.Document=cJ;YJ.DocumentFragment=H8;YJ.DocumentType=P$;YJ.DOMImplementation=d0;YJ.Element=nJ;YJ.Entity=N6;YJ.EntityReference=z$;YJ.LiveNodeList=uJ;YJ.NamedNodeMap=L8;YJ.Node=i;YJ.NodeList=WJ;YJ.Notation=_6;YJ.Text=n8;YJ.ProcessingInstruction=R$;YJ.walkDOM=HJ;YJ.XMLSerializer=e0});var ZQ=rJ((r8)=>{var KQ=eJ().freeze;r8.XML_ENTITIES=KQ({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});r8.HTML_ENTITIES=KQ({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",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:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",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:"\uD835\uDD05",bfr:"\uD835\uDD1F",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:"\uD835\uDD39",bopf:"\uD835\uDD53",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:"\uD835\uDCB7",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:"\uD835\uDD20",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:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",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:"\uD835\uDD07",dfr:"\uD835\uDD21",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:"\uD835\uDD3B",dopf:"\uD835\uDD55",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:"\uD835\uDC9F",dscr:"\uD835\uDCB9",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:"\uD835\uDD08",efr:"\uD835\uDD22",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:"\uD835\uDD3C",eopf:"\uD835\uDD56",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:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",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:"\uD835\uDCBB",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:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",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:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",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:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",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:"\uD835\uDD0F",lfr:"\uD835\uDD29",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:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",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:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",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:`
2
- `,nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",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:"\uD835\uDD5F",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:"\uD835\uDCA9",nscr:"\uD835\uDCC3",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:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",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:"\uD835\uDD13",pfr:"\uD835\uDD2D",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:"\uD835\uDD61",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:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",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:"\uD835\uDD2F",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:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",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:"\uD835\uDD16",sfr:"\uD835\uDD30",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:"\uD835\uDD4A",sopf:"\uD835\uDD64",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:"\uD835\uDCAE",sscr:"\uD835\uDCC8",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:"\uD835\uDD17",tfr:"\uD835\uDD31",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:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",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:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",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:"\uD835\uDCB0",uscr:"\uD835\uDCCA",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:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"});r8.entityMap=r8.HTML_ENTITIES});var DQ=rJ((C$)=>{var P8=eJ(),n=z6(),WQ=g8(),Y4=P8.isHTMLEscapableRawTextElement,B4=P8.isHTMLMimeType,W4=P8.isHTMLRawTextElement,s8=P8.hasOwn,jQ=P8.NAMESPACE,XQ=WQ.ParseError,G4=WQ.DOMException,d8=0,lJ=1,O8=2,o8=3,M8=4,I8=5,i8=6,A$=7;function GQ(){}GQ.prototype={parse:function(J,$,Q){var K=this.domBuilder;K.startDocument(),qQ($,$=Object.create(null)),q4(J,$,Q,K,this.errorHandler),K.endDocument()}};var S6=/&#?\w+;?/g;function q4(J,$,Q,K,Z){var j=B4(K.mimeType);if(J.indexOf(n.UNICODE_REPLACEMENT_CHARACTER)>=0)Z.warning("Unicode replacement character detected, source encoding issues?");function X(V){if(V>65535){V-=65536;var T=55296+(V>>10),g=56320+(V&1023);return String.fromCharCode(T,g)}else return String.fromCharCode(V)}function W(V){var T=V[V.length-1]===";"?V:V+";";if(!j&&T!==V)return Z.error("EntityRef: expecting ;"),V;var g=n.Reference.exec(T);if(!g||g[0].length!==T.length)return Z.error("entity not matching Reference production: "+V),V;var b=T.slice(1,-1);if(s8(Q,b))return Q[b];else if(b.charAt(0)==="#")return X(parseInt(b.substring(1).replace("x","0x")));else return Z.error("entity not found:"+V),V}function B(V){if(V>O){var T=J.substring(O,V).replace(S6,W);U&&L(O),K.characters(T,0,V-O),O=V}}var Y=0,G=0,q=/\r\n?|\n|$/g,U=K.locator;function L(V,T){while(V>=G&&(T=q.exec(J)))Y=G,G=T.index+T[0].length,U.lineNumber++;U.columnNumber=V-Y+1}var D=[{currentNSMap:$}],H=[],O=0;while(!0){try{var M=J.indexOf("<",O);if(M<0){if(!j&&H.length>0)return Z.fatalError("unclosed xml tag(s): "+H.join(", "));if(!J.substring(O).match(/^\s*$/)){var P=K.doc,I=P.createTextNode(J.substring(O));if(P.documentElement)return Z.error("Extra content at the end of the document");P.appendChild(I),K.currentElement=I}return}if(M>O){var z=J.substring(O,M);if(!j&&H.length===0)z=z.replace(new RegExp(n.S_OPT.source,"g"),""),z&&Z.error("Unexpected content outside root element: '"+z+"'");B(M)}switch(J.charAt(M+1)){case"/":var C=J.indexOf(">",M+2),k=J.substring(M+2,C>0?C:void 0);if(!k)return Z.fatalError("end tag name missing");var x=C>0&&n.reg("^",n.QName_group,n.S_OPT,"$").exec(k);if(!x)return Z.fatalError('end tag name contains invalid characters: "'+k+'"');if(!K.currentElement&&!K.doc.documentElement)return;var E=H[H.length-1]||K.currentElement.tagName||K.doc.documentElement.tagName||"";if(E!==x[1]){var A=x[1].toLowerCase();if(!j||E.toLowerCase()!==A)return Z.fatalError('Opening and ending tag mismatch: "'+E+'" != "'+k+'"')}var R=D.pop();H.pop();var y=R.localNSMap;if(K.endElement(R.uri,R.localName,E),y){for(var f in y)if(s8(y,f))K.endPrefixMapping(f)}C++;break;case"?":U&&L(M),C=D4(J,M,K,Z);break;case"!":U&&L(M),C=FQ(J,M,K,Z,j);break;default:U&&L(M);var w=new LQ,u=D[D.length-1].currentNSMap,C=U4(J,M,w,u,W,Z,j),v=w.length;if(!w.closed)if(j&&P8.isHTMLVoidElement(w.tagName))w.closed=!0;else H.push(w.tagName);if(U&&v){var d=YQ(U,{});for(var c=0;c<v;c++){var $J=w[c];L($J.offset),$J.locator=YQ(U,{})}if(K.locator=d,BQ(w,K,u))D.push(w);K.locator=U}else if(BQ(w,K,u))D.push(w);if(j&&!w.closed)C=F4(J,C,w.tagName,W,K);else C++}}catch(V){if(V instanceof XQ)throw V;else if(V instanceof G4)throw new XQ(V.name+": "+V.message,K.locator,V);Z.error("element parse error: "+V),C=-1}if(C>O)O=C;else B(Math.max(M,O)+1)}}function YQ(J,$){return $.lineNumber=J.lineNumber,$.columnNumber=J.columnNumber,$}function U4(J,$,Q,K,Z,j,X){function W(L,D,H){if(s8(Q.attributeNames,L))return j.fatalError("Attribute "+L+" redefined");if(!X&&D.indexOf("<")>=0)return j.fatalError("Unescaped '<' not allowed in attributes values");Q.addValue(L,D.replace(/[\t\n\r]/g," ").replace(S6,Z),H)}var B,Y,G=++$,q=d8;while(!0){var U=J.charAt(G);switch(U){case"=":if(q===lJ)B=J.slice($,G),q=o8;else if(q===O8)q=o8;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(q===o8||q===lJ){if(q===lJ)j.warning('attribute value must after "="'),B=J.slice($,G);if($=G+1,G=J.indexOf(U,$),G>0)Y=J.slice($,G),W(B,Y,$-1),q=I8;else throw Error("attribute value no end '"+U+"' match")}else if(q==M8)Y=J.slice($,G),W(B,Y,$),j.warning('attribute "'+B+'" missed start quot('+U+")!!"),$=G+1,q=I8;else throw Error('attribute value must after "="');break;case"/":switch(q){case d8:Q.setTagName(J.slice($,G));case I8:case i8:case A$:q=A$,Q.closed=!0;case M8:case lJ:break;case O8:Q.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":if(j.error("unexpected end of input"),q==d8)Q.setTagName(J.slice($,G));return G;case">":switch(q){case d8:Q.setTagName(J.slice($,G));case I8:case i8:case A$:break;case M8:case lJ:if(Y=J.slice($,G),Y.slice(-1)==="/")Q.closed=!0,Y=Y.slice(0,-1);case O8:if(q===O8)Y=B;if(q==M8)j.warning('attribute "'+Y+'" missed quot(")!'),W(B,Y,$);else{if(!X)j.warning('attribute "'+Y+'" missed value!! "'+Y+'" instead!!');W(Y,Y,$)}break;case o8:if(!X)return j.fatalError(`AttValue: ' or " expected`)}return G;case"€":U=" ";default:if(U<=" ")switch(q){case d8:Q.setTagName(J.slice($,G)),q=i8;break;case lJ:B=J.slice($,G),q=O8;break;case M8:var Y=J.slice($,G);j.warning('attribute "'+Y+'" missed quot(")!!'),W(B,Y,$);case I8:q=i8;break}else switch(q){case O8:if(!X)j.warning('attribute "'+B+'" missed value!! "'+B+'" instead2!!');W(B,B,$),$=G,q=lJ;break;case I8:j.warning('attribute space is required"'+B+'"!!');case i8:q=lJ,$=G;break;case o8:q=M8,$=G;break;case A$:throw Error("elements closed character '/' and '>' must be connected to")}}G++}}function BQ(J,$,Q){var K=J.tagName,Z=null,q=J.length;while(q--){var j=J[q],X=j.qName,W=j.value,U=X.indexOf(":");if(U>0)var B=j.prefix=X.slice(0,U),Y=X.slice(U+1),G=B==="xmlns"&&Y;else Y=X,B=null,G=X==="xmlns"&&"";if(j.localName=Y,G!==!1){if(Z==null)Z=Object.create(null),qQ(Q,Q=Object.create(null));Q[G]=Z[G]=W,j.uri=jQ.XMLNS,$.startPrefixMapping(G,W)}}var q=J.length;while(q--)if(j=J[q],j.prefix){if(j.prefix==="xml")j.uri=jQ.XML;if(j.prefix!=="xmlns")j.uri=Q[j.prefix]}var U=K.indexOf(":");if(U>0)B=J.prefix=K.slice(0,U),Y=J.localName=K.slice(U+1);else B=null,Y=J.localName=K;var L=J.uri=Q[B||""];if($.startElement(L,Y,K,J),J.closed){if($.endElement(L,Y,K),Z){for(B in Z)if(s8(Z,B))$.endPrefixMapping(B)}}else return J.currentNSMap=Q,J.localNSMap=Z,!0}function F4(J,$,Q,K,Z){var j=Y4(Q);if(j||W4(Q)){var X=J.indexOf("</"+Q+">",$),W=J.substring($+1,X);if(j)W=W.replace(S6,K);return Z.characters(W,0,W.length),X}return $+1}function qQ(J,$){for(var Q in J)if(s8(J,Q))$[Q]=J[Q]}function UQ(J,$){var Q=$;function K(G){return G=G||0,J.charAt(Q+G)}function Z(G){G=G||1,Q+=G}function j(){var G=0;while(Q<J.length){var q=K();if(q!==" "&&q!==`
3
- `&&q!=="\t"&&q!=="\r")return G;G++,Z()}return-1}function X(){return J.substring(Q)}function W(G){return J.substring(Q,Q+G.length)===G}function B(G){return J.substring(Q,Q+G.length).toUpperCase()===G.toUpperCase()}function Y(G){var q=n.reg("^",G),U=q.exec(X());if(U)return Z(U[0].length),U[0];return null}return{char:K,getIndex:function(){return Q},getMatch:Y,getSource:function(){return J},skip:Z,skipBlanks:j,substringFromIndex:X,substringStartsWith:W,substringStartsWithCaseInsensitive:B}}function L4(J,$){function Q(W,B){var Y=n.PI.exec(W.substringFromIndex());if(!Y)return B.fatalError("processing instruction is not well-formed at position "+W.getIndex());if(Y[1].toLowerCase()==="xml")return B.fatalError("xml declaration is only allowed at the start of the document, but found at position "+W.getIndex());return W.skip(Y[0].length),Y[0]}var K=J.getSource();if(J.char()==="["){J.skip(1);var Z=J.getIndex();while(J.getIndex()<K.length){if(J.skipBlanks(),J.char()==="]"){var j=K.substring(Z,J.getIndex());return J.skip(1),j}var X=null;if(J.char()==="<"&&J.char(1)==="!")switch(J.char(2)){case"E":if(J.char(3)==="L")X=J.getMatch(n.elementdecl);else if(J.char(3)==="N")X=J.getMatch(n.EntityDecl);break;case"A":X=J.getMatch(n.AttlistDecl);break;case"N":X=J.getMatch(n.NotationDecl);break;case"-":X=J.getMatch(n.Comment);break}else if(J.char()==="<"&&J.char(1)==="?")X=Q(J,$);else if(J.char()==="%")X=J.getMatch(n.PEReference);else return $.fatalError("Error detected in Markup declaration");if(!X)return $.fatalError("Error in internal subset at position "+J.getIndex())}return $.fatalError("doctype internal subset is not well-formed, missing ]")}}function FQ(J,$,Q,K,Z){var j=UQ(J,$);switch(Z?j.char(2).toUpperCase():j.char(2)){case"-":var X=j.getMatch(n.Comment);if(X)return Q.comment(X,n.COMMENT_START.length,X.length-n.COMMENT_START.length-n.COMMENT_END.length),j.getIndex();else return K.fatalError("comment is not well-formed at position "+j.getIndex());case"[":var W=j.getMatch(n.CDSect);if(W){if(!Z&&!Q.currentElement)return K.fatalError("CDATA outside of element");return Q.startCDATA(),Q.characters(W,n.CDATA_START.length,W.length-n.CDATA_START.length-n.CDATA_END.length),Q.endCDATA(),j.getIndex()}else return K.fatalError("Invalid CDATA starting at position "+$);case"D":{if(Q.doc&&Q.doc.documentElement)return K.fatalError("Doctype not allowed inside or after documentElement at position "+j.getIndex());if(Z?!j.substringStartsWithCaseInsensitive(n.DOCTYPE_DECL_START):!j.substringStartsWith(n.DOCTYPE_DECL_START))return K.fatalError("Expected "+n.DOCTYPE_DECL_START+" at position "+j.getIndex());if(j.skip(n.DOCTYPE_DECL_START.length),j.skipBlanks()<1)return K.fatalError("Expected whitespace after "+n.DOCTYPE_DECL_START+" at position "+j.getIndex());var B={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(B.name=j.getMatch(n.Name),!B.name)return K.fatalError("doctype name missing or contains unexpected characters at position "+j.getIndex());if(Z&&B.name.toLowerCase()!=="html")K.warning("Unexpected DOCTYPE in HTML document at position "+j.getIndex());if(j.skipBlanks(),j.substringStartsWith(n.PUBLIC)||j.substringStartsWith(n.SYSTEM)){var Y=n.ExternalID_match.exec(j.substringFromIndex());if(!Y)return K.fatalError("doctype external id is not well-formed at position "+j.getIndex());if(Y.groups.SystemLiteralOnly!==void 0)B.systemId=Y.groups.SystemLiteralOnly;else B.systemId=Y.groups.SystemLiteral,B.publicId=Y.groups.PubidLiteral;j.skip(Y[0].length)}else if(Z&&j.substringStartsWithCaseInsensitive(n.SYSTEM)){if(j.skip(n.SYSTEM.length),j.skipBlanks()<1)return K.fatalError("Expected whitespace after "+n.SYSTEM+" at position "+j.getIndex());if(B.systemId=j.getMatch(n.ABOUT_LEGACY_COMPAT_SystemLiteral),!B.systemId)return K.fatalError("Expected "+n.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+n.SYSTEM+" at position "+j.getIndex())}if(Z&&B.systemId&&!n.ABOUT_LEGACY_COMPAT_SystemLiteral.test(B.systemId))K.warning("Unexpected doctype.systemId in HTML document at position "+j.getIndex());if(!Z)j.skipBlanks(),B.internalSubset=L4(j,K);if(j.skipBlanks(),j.char()!==">")return K.fatalError("doctype not terminated with > at position "+j.getIndex());return j.skip(1),Q.startDTD(B.name,B.publicId,B.systemId,B.internalSubset),Q.endDTD(),j.getIndex()}default:return K.fatalError('Not well-formed XML starting with "<!" at position '+$)}}function D4(J,$,Q,K){var Z=J.substring($).match(n.PI);if(!Z)return K.fatalError("Invalid processing instruction starting at position "+$);if(Z[1].toLowerCase()==="xml"){if($>0)return K.fatalError("processing instruction at position "+$+" is an xml declaration which is only at the start of the document");if(!n.XMLDecl.test(J.substring($)))return K.fatalError("xml declaration is not well-formed")}return Q.processingInstruction(Z[1],Z[2]),$+Z[0].length}function LQ(){this.attributeNames=Object.create(null)}LQ.prototype={setTagName:function(J){if(!n.QName_exact.test(J))throw Error("invalid tagName:"+J);this.tagName=J},addValue:function(J,$,Q){if(!n.QName_exact.test(J))throw Error("invalid attribute:"+J);this.attributeNames[J]=this.length,this[this.length++]={qName:J,value:$,offset:Q}},length:0,getLocalName:function(J){return this[J].localName},getLocator:function(J){return this[J].locator},getQName:function(J){return this[J].qName},getURI:function(J){return this[J].uri},getValue:function(J){return this[J].value}};C$.XMLReader=GQ;C$.parseUtils=UQ;C$.parseDoctypeCommentOrCData=FQ});var zQ=rJ((R8)=>{var $8=eJ(),V4=E6(),H4=g8(),VQ=ZQ(),O4=DQ(),M4=V4.DOMImplementation,I4=$8.hasDefaultHTMLNamespace,P4=$8.isHTMLMimeType,z4=$8.isValidMimeType,MQ=$8.MIME_TYPE,k6=$8.NAMESPACE,HQ=H4.ParseError,R4=O4.XMLReader;function IQ(J){return J.replace(/\r[\n\u0085]/g,`
1
+ (()=>{var wK=Object.create;var{getPrototypeOf:NK,defineProperty:L0,getOwnPropertyNames:EK}=Object;var SK=Object.prototype.hasOwnProperty;var kK=(J,$,Q)=>{Q=J!=null?wK(NK(J)):{};let K=$||!J||!J.__esModule?L0(Q,"default",{value:J,enumerable:!0}):Q;for(let Z of EK(J))if(!SK.call(K,Z))L0(K,Z,{get:()=>J[Z],enumerable:!0});return K};var T8=(J,$)=>()=>($||J(($={exports:{}}).exports,$),$.exports);var xK=(J,$)=>{for(var Q in $)L0(J,Q,{get:$[Q],enumerable:!0,configurable:!0,set:(K)=>$[Q]=()=>K})};var o8=T8((vJ)=>{function g7(J,$,Q){if(Q===void 0)Q=Array.prototype;if(J&&typeof Q.find==="function")return Q.find.call(J,$);for(var K=0;K<J.length;K++)if(r8(J,K)){var Z=J[K];if($.call(void 0,Z,K,J))return Z}}function B$(J,$){if($===void 0)$=Object;if($&&typeof $.getOwnPropertyDescriptors==="function")J=$.create(null,$.getOwnPropertyDescriptors(J));return $&&typeof $.freeze==="function"?$.freeze(J):J}function r8(J,$){return Object.prototype.hasOwnProperty.call(J,$)}function b7(J,$){if(J===null||typeof J!=="object")throw TypeError("target is not an object");for(var Q in $)if(r8($,Q))J[Q]=$[Q];return J}var U1=B$({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});function v7(J){return r8(U1,J.toLowerCase())}var D1=B$({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function u7(J){return r8(D1,J.toLowerCase())}var a$=B$({script:!1,style:!1,textarea:!0,title:!0});function h7(J){var $=J.toLowerCase();return r8(a$,$)&&!a$[$]}function f7(J){var $=J.toLowerCase();return r8(a$,$)&&a$[$]}function L1(J){return J===l$.HTML}function m7(J){return L1(J)||J===l$.XML_XHTML_APPLICATION}var l$=B$({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),p7=Object.keys(l$).map(function(J){return l$[J]});function c7(J){return p7.indexOf(J)>-1}var n7=B$({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});vJ.assign=b7;vJ.find=g7;vJ.freeze=B$;vJ.HTML_BOOLEAN_ATTRIBUTES=U1;vJ.HTML_RAW_TEXT_ELEMENTS=a$;vJ.HTML_VOID_ELEMENTS=D1;vJ.hasDefaultHTMLNamespace=m7;vJ.hasOwn=r8;vJ.isHTMLBooleanAttribute=v7;vJ.isHTMLRawTextElement=h7;vJ.isHTMLEscapableRawTextElement=f7;vJ.isHTMLMimeType=L1;vJ.isHTMLVoidElement=u7;vJ.isValidMimeType=c7;vJ.MIME_TYPE=l$;vJ.NAMESPACE=n7});var $6=T8((J6)=>{var d7=o8();function V1(J,$){J.prototype=Object.create(Error.prototype,{constructor:{value:J},name:{value:J.name,enumerable:!0,writable:$}})}var t$=d7.freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),O1=Object.keys(t$);function M1(J){return typeof J==="number"&&J>=1&&J<=25}function r7(J){return typeof J==="string"&&J.substring(J.length-t$.Error.length)===t$.Error}function e$(J,$){if(M1(J))this.name=O1[J],this.message=$||"";else this.message=J,this.name=r7($)?$:t$.Error;if(Error.captureStackTrace)Error.captureStackTrace(this,e$)}V1(e$,!0);Object.defineProperties(e$.prototype,{code:{enumerable:!0,get:function(){var J=O1.indexOf(this.name);if(M1(J))return J;return 0}}});var P1={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},a0=Object.entries(P1);for(W$=0;W$<a0.length;W$++)l0=a0[W$][0],e$[l0]=a0[W$][1];var l0,W$;function t0(J,$){if(this.message=J,this.locator=$,Error.captureStackTrace)Error.captureStackTrace(this,t0)}V1(t0);J6.DOMException=e$;J6.DOMExceptionName=t$;J6.ExceptionCode=P1;J6.ParseError=t0});var XQ=T8((KJ)=>{function T1(J){try{if(typeof J!=="function")J=RegExp;var $=new J("\uD834\uDF06","u").exec("\uD834\uDF06");return!!$&&$[0].length===2}catch(Q){}return!1}var U$=T1();function w8(J){if(J.source[0]!=="[")throw Error(J+" can not be used with chars");return J.source.slice(1,J.source.lastIndexOf("]"))}function F$(J,$){if(J.source[0]!=="[")throw Error("/"+J.source+"/ can not be used with chars_without");if(!$||typeof $!=="string")throw Error(JSON.stringify($)+" is not a valid search");if(J.source.indexOf($)===-1)throw Error('"'+$+'" is not is /'+J.source+"/");if($==="-"&&J.source.indexOf($)!==1)throw Error('"'+$+'" is not at the first postion of /'+J.source+"/");return new RegExp(J.source.replace($,""),U$?"u":"")}function XJ(J){var $=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(Q){var K=typeof Q==="string";if(K&&$===void 0&&Q==="|")throw Error("use regg instead of reg to wrap expressions with `|`!");return K?Q:Q.source}).join(""),U$?"mu":"m")}function QJ(J){if(arguments.length===0)throw Error("no parameters provided");return XJ.apply(QJ,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var o7="�",N8=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;if(U$)N8=XJ("[",w8(N8),"\\u{10000}-\\u{10FFFF}","]");var i7=new RegExp("[^"+w8(N8)+"]",U$?"u":""),JQ=/[\x20\x09\x0D\x0A]/,s7=w8(JQ),OJ=XJ(JQ,"+"),CJ=XJ(JQ,"*"),Q6=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;if(U$)Q6=XJ("[",w8(Q6),"\\u{10000}-\\u{10FFFF}","]");var a7=w8(Q6),$Q=XJ("[",a7,w8(/[-.0-9\xB7]/),w8(/[\u0300-\u036F\u203F-\u2040]/),"]"),tJ=XJ(Q6,$Q,"*"),H1=XJ($Q,"+"),l7=XJ("&",tJ,";"),t7=QJ(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),K6=QJ(l7,"|",t7),Z6=XJ("%",tJ,";"),QQ=QJ(XJ('"',QJ(/[^%&"]/,"|",Z6,"|",K6),"*",'"'),"|",XJ("'",QJ(/[^%&']/,"|",Z6,"|",K6),"*","'")),e7=QJ('"',QJ(/[^<&"]/,"|",K6),"*",'"',"|","'",QJ(/[^<&']/,"|",K6),"*","'"),J5=F$(Q6,":"),$5=F$($Q,":"),R1=XJ(J5,$5,"*"),X6=XJ(R1,QJ(":",R1),"?"),Q5=XJ("^",X6,"$"),K5=XJ("(",X6,")"),q$=QJ(/"[^"]*"|'[^']*'/),Z5=XJ(/^<\?/,"(",tJ,")",QJ(OJ,"(",N8,"*?)"),"?",/\?>/),I1=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,Y6=QJ('"',I1,'*"',"|","'",F$(I1,"'"),"*'"),_1="<!--",w1="-->",X5=XJ(_1,QJ(F$(N8,"-"),"|",XJ("-",F$(N8,"-"))),"*",w1),z1="#PCDATA",Y5=QJ(XJ(/\(/,CJ,z1,QJ(CJ,/\|/,CJ,X6),"*",CJ,/\)\*/),"|",XJ(/\(/,CJ,z1,CJ,/\)/)),j5=/[?*+]?/,G5=XJ(/\([^>]+\)/,j5),B5=QJ("EMPTY","|","ANY","|",Y5,"|",G5),W5="<!ELEMENT",F5=XJ(W5,OJ,QJ(X6,"|",Z6),OJ,QJ(B5,"|",Z6),CJ,">"),q5=XJ("NOTATION",OJ,/\(/,CJ,tJ,QJ(CJ,/\|/,CJ,tJ),"*",CJ,/\)/),U5=XJ(/\(/,CJ,H1,QJ(CJ,/\|/,CJ,H1),"*",CJ,/\)/),D5=QJ(q5,"|",U5),L5=QJ(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",D5),V5=QJ(/#REQUIRED|#IMPLIED/,"|",QJ(QJ("#FIXED",OJ),"?",e7)),O5=QJ(OJ,tJ,OJ,L5,OJ,V5),M5="<!ATTLIST",P5=XJ(M5,OJ,tJ,O5,"*",CJ,">"),e0="about:legacy-compat",H5=QJ('"'+e0+'"',"|","'"+e0+"'"),KQ="SYSTEM",p6="PUBLIC",c6=QJ(QJ(KQ,OJ,q$),"|",QJ(p6,OJ,Y6,OJ,q$)),R5=XJ("^",QJ(QJ(KQ,OJ,"(?<SystemLiteralOnly>",q$,")"),"|",QJ(p6,OJ,"(?<PubidLiteral>",Y6,")",OJ,"(?<SystemLiteral>",q$,")"))),I5=XJ("^",Y6,"$"),z5=XJ("^",q$,"$"),C5=QJ(OJ,"NDATA",OJ,tJ),A5=QJ(QQ,"|",QJ(c6,C5,"?")),N1="<!ENTITY",T5=XJ(N1,OJ,tJ,OJ,A5,CJ,">"),_5=QJ(QQ,"|",c6),w5=XJ(N1,OJ,"%",OJ,tJ,OJ,_5,CJ,">"),N5=QJ(T5,"|",w5),E5=XJ(p6,OJ,Y6),S5=XJ("<!NOTATION",OJ,tJ,OJ,QJ(c6,"|",E5),CJ,">"),ZQ=XJ(CJ,"=",CJ),C1=/1[.]\d+/,k5=XJ(OJ,"version",ZQ,QJ("'",C1,"'","|",'"',C1,'"')),A1=/[A-Za-z][-A-Za-z0-9._]*/,x5=QJ(OJ,"encoding",ZQ,QJ('"',A1,'"',"|","'",A1,"'")),y5=QJ(OJ,"standalone",ZQ,QJ("'",QJ("yes","|","no"),"'","|",'"',QJ("yes","|","no"),'"')),g5=XJ(/^<\?xml/,k5,x5,"?",y5,"?",CJ,/\?>/),b5="<!DOCTYPE",v5="<![CDATA[",u5="]]>",h5=/<!\[CDATA\[/,f5=/\]\]>/,m5=XJ(N8,"*?",f5),p5=XJ(h5,m5);KJ.chars=w8;KJ.chars_without=F$;KJ.detectUnicodeSupport=T1;KJ.reg=XJ;KJ.regg=QJ;KJ.ABOUT_LEGACY_COMPAT=e0;KJ.ABOUT_LEGACY_COMPAT_SystemLiteral=H5;KJ.AttlistDecl=P5;KJ.CDATA_START=v5;KJ.CDATA_END=u5;KJ.CDSect=p5;KJ.Char=N8;KJ.Comment=X5;KJ.COMMENT_START=_1;KJ.COMMENT_END=w1;KJ.DOCTYPE_DECL_START=b5;KJ.elementdecl=F5;KJ.EntityDecl=N5;KJ.EntityValue=QQ;KJ.ExternalID=c6;KJ.ExternalID_match=R5;KJ.Name=tJ;KJ.NotationDecl=S5;KJ.Reference=K6;KJ.PEReference=Z6;KJ.PI=Z5;KJ.PUBLIC=p6;KJ.PubidLiteral=Y6;KJ.PubidLiteral_match=I5;KJ.QName=X6;KJ.QName_exact=Q5;KJ.QName_group=K5;KJ.S=OJ;KJ.SChar_s=s7;KJ.S_OPT=CJ;KJ.SYSTEM=KQ;KJ.SystemLiteral=q$;KJ.SystemLiteral_match=z5;KJ.InvalidChar=i7;KJ.UNICODE_REPLACEMENT_CHARACTER=o7;KJ.UNICODE_SUPPORT=U$;KJ.XMLDecl=g5});var UQ=T8((_J)=>{var $8=o8(),D8=$8.find,c5=$8.hasDefaultHTMLNamespace,L$=$8.hasOwn,n5=$8.isHTMLMimeType,d5=$8.isHTMLRawTextElement,r5=$8.isHTMLVoidElement,j6=$8.MIME_TYPE,L8=$8.NAMESPACE,nJ=Symbol(),b1=$6(),t=b1.DOMException,eJ=b1.DOMExceptionName,uJ=XQ();function rJ(J){if(J!==nJ)throw TypeError("Illegal constructor")}function o5(J){return J!==""}function i5(J){return J?J.split(/[\t\n\f\r ]+/).filter(o5):[]}function s5(J,$){if(!L$(J,$))J[$]=!0;return J}function E1(J){if(!J)return[];var $=i5(J);return Object.keys($.reduce(s5,{}))}function a5(J){return function($){return J&&J.indexOf($)!==-1}}function v1(J){if(!uJ.QName_exact.test(J))throw new t(t.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+J+'"')}function jQ(J,$){v1($),J=J||null;var Q=null,K=$;if($.indexOf(":")>=0){var Z=$.split(":");Q=Z[0],K=Z[1]}if(Q!==null&&J===null)throw new t(t.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(Q==="xml"&&J!==$8.NAMESPACE.XML)throw new t(t.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((Q==="xmlns"||$==="xmlns")&&J!==$8.NAMESPACE.XMLNS)throw new t(t.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(J===$8.NAMESPACE.XMLNS&&Q!=="xmlns"&&$!=="xmlns")throw new t(t.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[J,Q,K]}function M$(J,$){for(var Q in J)if(L$(J,Q))$[Q]=J[Q]}function oJ(J,$){var Q=J.prototype;if(!(Q instanceof $)){let K=function(){};K.prototype=$.prototype,K=new K,M$(Q,K),J.prototype=Q=K}if(Q.constructor!=J){if(typeof J!="function")console.error("unknown Class:"+J);Q.constructor=J}}var iJ={},J8=iJ.ELEMENT_NODE=1,V$=iJ.ATTRIBUTE_NODE=2,r6=iJ.TEXT_NODE=3,u1=iJ.CDATA_SECTION_NODE=4,h1=iJ.ENTITY_REFERENCE_NODE=5,l5=iJ.ENTITY_NODE=6,GQ=iJ.PROCESSING_INSTRUCTION_NODE=7,BQ=iJ.COMMENT_NODE=8,D$=iJ.DOCUMENT_NODE=9,f1=iJ.DOCUMENT_TYPE_NODE=10,E8=iJ.DOCUMENT_FRAGMENT_NODE=11,t5=iJ.NOTATION_NODE=12,TJ=$8.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function m1(J,$){if($.length<J.length)return m1($,J);var Q=null;for(var K in J){if(J[K]!==$[K])return Q;Q=J[K]}return Q}function S1(J){if(!J.guid)J.guid=Math.random();return J.guid}function EJ(){}EJ.prototype={length:0,item:function(J){return J>=0&&J<this.length?this[J]:null},toString:function(J){var $;if(typeof J==="function")$={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:J};else if(J)$={requireWellFormed:!!J.requireWellFormed,splitCDATASections:J.splitCDATASections!==!1,nodeFilter:J.nodeFilter||null};else $={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null};for(var Q=[],K=0;K<this.length;K++)qQ(this[K],Q,null,$);return Q.join("")},filter:function(J){return Array.prototype.filter.call(this,J)},indexOf:function(J){return Array.prototype.indexOf.call(this,J)}};EJ.prototype[Symbol.iterator]=function(){var J=this,$=0;return{next:function(){if($<J.length)return{value:J[$++],done:!1};else return{done:!0}},return:function(){return{done:!0}}}};function U8(J,$){this._node=J,this._refresh=$,i6(this)}function i6(J){var $=J._node._inc||J._node.ownerDocument._inc;if(J._inc!==$){var Q=J._refresh(J._node);if(e1(J,"length",Q.length),!J.$$length||Q.length<J.$$length){for(var K=Q.length;K in J;K++)if(L$(J,K))delete J[K]}M$(Q,J),J._inc=$}}U8.prototype.item=function(J){return i6(this),this[J]||null};oJ(U8,EJ);function O$(){}function p1(J,$){var Q=0;while(Q<J.length){if(J[Q]===$)return Q;Q++}}function e5(J,$,Q,K){if(K)$[p1($,K)]=Q;else $[$.length]=Q,$.length++;if(J){Q.ownerElement=J;var Z=J.ownerDocument;if(Z)K&&d1(Z,J,K),JZ(Z,J,Q)}}function k1(J,$,Q){var K=p1($,Q);if(K>=0){var Z=$.length-1;while(K<=Z)$[K]=$[++K];if($.length=Z,J){var X=J.ownerDocument;if(X)d1(X,J,Q);Q.ownerElement=null}}}O$.prototype={length:0,item:EJ.prototype.item,getNamedItem:function(J){if(this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace())J=J.toLowerCase();var $=0;while($<this.length){var Q=this[$];if(Q.nodeName===J)return Q;$++}return null},setNamedItem:function(J){var $=J.ownerElement;if($&&$!==this._ownerElement)throw new t(t.INUSE_ATTRIBUTE_ERR);var Q=this.getNamedItemNS(J.namespaceURI,J.localName);if(Q===J)return J;return e5(this._ownerElement,this,J,Q),Q},setNamedItemNS:function(J){return this.setNamedItem(J)},removeNamedItem:function(J){var $=this.getNamedItem(J);if(!$)throw new t(t.NOT_FOUND_ERR,J);return k1(this._ownerElement,this,$),$},removeNamedItemNS:function(J,$){var Q=this.getNamedItemNS(J,$);if(!Q)throw new t(t.NOT_FOUND_ERR,J?J+" : "+$:$);return k1(this._ownerElement,this,Q),Q},getNamedItemNS:function(J,$){if(!J)J=null;var Q=0;while(Q<this.length){var K=this[Q];if(K.localName===$&&K.namespaceURI===J)return K;Q++}return null}};O$.prototype[Symbol.iterator]=function(){var J=this,$=0;return{next:function(){if($<J.length)return{value:J[$++],done:!1};else return{done:!0}},return:function(){return{done:!0}}}};function c1(){}c1.prototype={hasFeature:function(J,$){return!0},createDocument:function(J,$,Q){var K=j6.XML_APPLICATION;if(J===L8.HTML)K=j6.XML_XHTML_APPLICATION;else if(J===L8.SVG)K=j6.XML_SVG_IMAGE;var Z=new R8(nJ,{contentType:K});if(Z.implementation=this,Z.childNodes=new EJ,Z.doctype=Q||null,Q)Z.appendChild(Q);if($){var X=Z.createElementNS(J,$);Z.appendChild(X)}return Z},createDocumentType:function(J,$,Q,K){v1(J);var Z=new l6(nJ);return Z.name=J,Z.nodeName=J,Z.publicId=$||"",Z.systemId=Q||"",Z.internalSubset=K||"",Z.childNodes=new EJ,Z},createHTMLDocument:function(J){var $=new R8(nJ,{contentType:j6.HTML});if($.implementation=this,$.childNodes=new EJ,J!==!1){$.doctype=this.createDocumentType("html"),$.doctype.ownerDocument=$,$.appendChild($.doctype);var Q=$.createElement("html");$.appendChild(Q);var K=$.createElement("head");if(Q.appendChild(K),typeof J==="string"){var Z=$.createElement("title");Z.appendChild($.createTextNode(J)),K.appendChild(Z)}Q.appendChild($.createElement("body"))}return $}};function WJ(J){rJ(J)}WJ.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var J=this.getRootNode();return J&&J.nodeType===J.DOCUMENT_NODE},contains:function(J){if(!J)return!1;var $=J;do{if(this===$)return!0;$=$.parentNode}while($);return!1},getRootNode:function(J){var $=this;do{if(!$.parentNode)return $;$=$.parentNode}while($)},isEqualNode:function(J){if(!J)return!1;var $=[{node:this,other:J}];while($.length>0){var Q=$.pop(),K=Q.node,Z=Q.other;if(K.nodeType!==Z.nodeType)return!1;switch(K.nodeType){case K.DOCUMENT_TYPE_NODE:if(K.name!==Z.name)return!1;if(K.publicId!==Z.publicId)return!1;if(K.systemId!==Z.systemId)return!1;break;case K.ELEMENT_NODE:if(K.namespaceURI!==Z.namespaceURI)return!1;if(K.prefix!==Z.prefix)return!1;if(K.localName!==Z.localName)return!1;if(K.attributes.length!==Z.attributes.length)return!1;for(var X=0;X<K.attributes.length;X++){var Y=K.attributes.item(X),W=Z.getAttributeNodeNS(Y.namespaceURI,Y.localName);if(!W)return!1;$.push({node:Y,other:W})}break;case K.ATTRIBUTE_NODE:if(K.namespaceURI!==Z.namespaceURI)return!1;if(K.localName!==Z.localName)return!1;if(K.value!==Z.value)return!1;break;case K.PROCESSING_INSTRUCTION_NODE:if(K.target!==Z.target||K.data!==Z.data)return!1;break;case K.TEXT_NODE:case K.CDATA_SECTION_NODE:case K.COMMENT_NODE:if(K.data!==Z.data)return!1;break}if(K.childNodes.length!==Z.childNodes.length)return!1;for(var X=K.childNodes.length-1;X>=0;X--)$.push({node:K.childNodes[X],other:Z.childNodes[X]})}return!0},isSameNode:function(J){return this===J},insertBefore:function(J,$){return o6(this,J,$)},replaceChild:function(J,$){if(o6(this,J,$,s1),$)this.removeChild($)},removeChild:function(J){return o1(this,J)},appendChild:function(J){return this.insertBefore(J,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(J){return t1(this.ownerDocument||this,this,J)},normalize:function(){hJ(this,null,{enter:function(J){var $=J.firstChild;while($){var Q=$.nextSibling;if(Q!==null&&Q.nodeType===r6&&$.nodeType===r6)J.removeChild(Q),$.appendData(Q.data);else $=Q}return!0}})},isSupported:function(J,$){return this.ownerDocument.implementation.hasFeature(J,$)},lookupPrefix:function(J){var $=this;while($){var Q=$._nsMap;if(Q){for(var K in Q)if(L$(Q,K)&&Q[K]===J)return K}$=$.nodeType==V$?$.ownerDocument:$.parentNode}return null},lookupNamespaceURI:function(J){var $=this;while($){var Q=$._nsMap;if(Q){if(L$(Q,J))return Q[J]}$=$.nodeType==V$?$.ownerDocument:$.parentNode}return null},isDefaultNamespace:function(J){var $=this.lookupPrefix(J);return $==null},compareDocumentPosition:function(J){if(this===J)return 0;var $=J,Q=this,K=null,Z=null;if($ instanceof i8)K=$,$=K.ownerElement;if(Q instanceof i8){if(Z=Q,Q=Z.ownerElement,K&&$&&Q===$)for(var X=0,Y;Y=Q.attributes[X];X++){if(Y===K)return TJ.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+TJ.DOCUMENT_POSITION_PRECEDING;if(Y===Z)return TJ.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+TJ.DOCUMENT_POSITION_FOLLOWING}}if(!$||!Q||Q.ownerDocument!==$.ownerDocument)return TJ.DOCUMENT_POSITION_DISCONNECTED+TJ.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(S1(Q.ownerDocument)>S1($.ownerDocument)?TJ.DOCUMENT_POSITION_FOLLOWING:TJ.DOCUMENT_POSITION_PRECEDING);if(Z&&$===Q)return TJ.DOCUMENT_POSITION_CONTAINS+TJ.DOCUMENT_POSITION_PRECEDING;if(K&&$===Q)return TJ.DOCUMENT_POSITION_CONTAINED_BY+TJ.DOCUMENT_POSITION_FOLLOWING;var W=[],B=$.parentNode;while(B){if(!Z&&B===Q)return TJ.DOCUMENT_POSITION_CONTAINED_BY+TJ.DOCUMENT_POSITION_FOLLOWING;W.push(B),B=B.parentNode}W.reverse();var G=[],U=Q.parentNode;while(U){if(!K&&U===$)return TJ.DOCUMENT_POSITION_CONTAINS+TJ.DOCUMENT_POSITION_PRECEDING;G.push(U),U=U.parentNode}G.reverse();var D=m1(W,G);for(var F in D.childNodes){var L=D.childNodes[F];if(L===Q)return TJ.DOCUMENT_POSITION_FOLLOWING;if(L===$)return TJ.DOCUMENT_POSITION_PRECEDING;if(G.indexOf(L)>=0)return TJ.DOCUMENT_POSITION_FOLLOWING;if(W.indexOf(L)>=0)return TJ.DOCUMENT_POSITION_PRECEDING}return 0}};function n1(J){return J=="<"&&"&lt;"||J==">"&&"&gt;"||J=="&"&&"&amp;"||J=='"'&&"&quot;"||"&#"+J.charCodeAt()+";"}M$(iJ,WJ);M$(iJ,WJ.prototype);M$(TJ,WJ);M$(TJ,WJ.prototype);function d6(J,$){hJ(J,null,{enter:function(Q){return $(Q)?hJ.STOP:!0}})}function hJ(J,$,Q){var K=[{node:J,context:$,phase:hJ.ENTER}];while(K.length>0){var Z=K.pop();if(Z.phase===hJ.ENTER){var X=Q.enter(Z.node,Z.context);if(X===hJ.STOP)return hJ.STOP;if(K.push({node:Z.node,context:X,phase:hJ.EXIT}),X===null||X===void 0)continue;var Y=Z.node.lastChild;while(Y)K.push({node:Y,context:X,phase:hJ.ENTER}),Y=Y.previousSibling}else if(Q.exit)Q.exit(Z.node,Z.context)}}hJ.STOP=Symbol("walkDOM.STOP");hJ.ENTER=0;hJ.EXIT=1;function R8(J,$){rJ(J);var Q=$||{};this.ownerDocument=this,this.contentType=Q.contentType||j6.XML_APPLICATION,this.type=n5(this.contentType)?"html":"xml"}function JZ(J,$,Q){J&&J._inc++;var K=Q.namespaceURI;if(K===L8.XMLNS)$._nsMap[Q.prefix?Q.localName:""]=Q.value}function d1(J,$,Q,K){J&&J._inc++;var Z=Q.namespaceURI;if(Z===L8.XMLNS)delete $._nsMap[Q.prefix?Q.localName:""]}function r1(J,$,Q){if(J&&J._inc){J._inc++;var K=$.childNodes;if(Q&&!Q.nextSibling)K[K.length++]=Q;else{var Z=$.firstChild,X=0;while(Z)K[X++]=Z,Z=Z.nextSibling;K.length=X,delete K[K.length]}}}function o1(J,$){if(J!==$.parentNode)throw new t(t.NOT_FOUND_ERR,"child's parent is not parent");var{previousSibling:Q,nextSibling:K}=$;if(Q)Q.nextSibling=K;else J.firstChild=K;if(K)K.previousSibling=Q;else J.lastChild=Q;return r1(J.ownerDocument,J),$.parentNode=null,$.previousSibling=null,$.nextSibling=null,$}function $Z(J){return J&&(J.nodeType===WJ.DOCUMENT_NODE||J.nodeType===WJ.DOCUMENT_FRAGMENT_NODE||J.nodeType===WJ.ELEMENT_NODE)}function QZ(J){return J&&(J.nodeType===WJ.CDATA_SECTION_NODE||J.nodeType===WJ.COMMENT_NODE||J.nodeType===WJ.DOCUMENT_FRAGMENT_NODE||J.nodeType===WJ.DOCUMENT_TYPE_NODE||J.nodeType===WJ.ELEMENT_NODE||J.nodeType===WJ.PROCESSING_INSTRUCTION_NODE||J.nodeType===WJ.TEXT_NODE)}function S8(J){return J&&J.nodeType===WJ.DOCUMENT_TYPE_NODE}function H8(J){return J&&J.nodeType===WJ.ELEMENT_NODE}function i1(J){return J&&J.nodeType===WJ.TEXT_NODE}function x1(J,$){var Q=J.childNodes||[];if(D8(Q,H8)||S8($))return!1;var K=D8(Q,S8);return!($&&K&&Q.indexOf(K)>Q.indexOf($))}function y1(J,$){var Q=J.childNodes||[];function K(X){return H8(X)&&X!==$}if(D8(Q,K))return!1;var Z=D8(Q,S8);return!($&&Z&&Q.indexOf(Z)>Q.indexOf($))}function KZ(J,$,Q){if(!$Z(J))throw new t(t.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+J.nodeType);if(Q&&Q.parentNode!==J)throw new t(t.NOT_FOUND_ERR,"child not in parent");if(!QZ($)||S8($)&&J.nodeType!==WJ.DOCUMENT_NODE)throw new t(t.HIERARCHY_REQUEST_ERR,"Unexpected node type "+$.nodeType+" for parent node type "+J.nodeType)}function ZZ(J,$,Q){var K=J.childNodes||[],Z=$.childNodes||[];if($.nodeType===WJ.DOCUMENT_FRAGMENT_NODE){var X=Z.filter(H8);if(X.length>1||D8(Z,i1))throw new t(t.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(X.length===1&&!x1(J,Q))throw new t(t.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(H8($)){if(!x1(J,Q))throw new t(t.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype")}if(S8($)){if(D8(K,S8))throw new t(t.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var Y=D8(K,H8);if(Q&&K.indexOf(Y)<K.indexOf(Q))throw new t(t.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!Q&&Y)throw new t(t.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function s1(J,$,Q){var K=J.childNodes||[],Z=$.childNodes||[];if($.nodeType===WJ.DOCUMENT_FRAGMENT_NODE){var X=Z.filter(H8);if(X.length>1||D8(Z,i1))throw new t(t.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(X.length===1&&!y1(J,Q))throw new t(t.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(H8($)){if(!y1(J,Q))throw new t(t.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype")}if(S8($)){if(D8(K,function(B){return S8(B)&&B!==Q}))throw new t(t.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var Y=D8(K,H8);if(Q&&K.indexOf(Y)<K.indexOf(Q))throw new t(t.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function o6(J,$,Q,K){if(KZ(J,$,Q),J.nodeType===WJ.DOCUMENT_NODE)(K||ZZ)(J,$,Q);var Z=$.parentNode;if(Z)Z.removeChild($);if($.nodeType===E8){var X=$.firstChild;if(X==null)return $;var Y=$.lastChild}else X=Y=$;var W=Q?Q.previousSibling:J.lastChild;if(X.previousSibling=W,Y.nextSibling=Q,W)W.nextSibling=X;else J.firstChild=X;if(Q==null)J.lastChild=Y;else Q.previousSibling=Y;do X.parentNode=J;while(X!==Y&&(X=X.nextSibling));if(r1(J.ownerDocument||J,J,$),$.nodeType==E8)$.firstChild=$.lastChild=null;return $}R8.prototype={implementation:null,nodeName:"#document",nodeType:D$,doctype:null,documentElement:null,_inc:1,insertBefore:function(J,$){if(J.nodeType===E8){var Q=J.firstChild;while(Q){var K=Q.nextSibling;this.insertBefore(Q,$),Q=K}return J}if(o6(this,J,$),J.ownerDocument=this,this.documentElement===null&&J.nodeType===J8)this.documentElement=J;return J},removeChild:function(J){var $=o1(this,J);if($===this.documentElement)this.documentElement=null;return $},replaceChild:function(J,$){if(o6(this,J,$,s1),J.ownerDocument=this,$)this.removeChild($);if(H8(J))this.documentElement=J},importNode:function(J,$){return XZ(this,J,$)},getElementById:function(J){var $=null;return d6(this.documentElement,function(Q){if(Q.nodeType==J8){if(Q.getAttribute("id")==J)return $=Q,!0}}),$},createElement:function(J){var $=new I8(nJ);if($.ownerDocument=this,this.type==="html")J=J.toLowerCase();if(c5(this.contentType))$.namespaceURI=L8.HTML;$.nodeName=J,$.tagName=J,$.localName=J,$.childNodes=new EJ;var Q=$.attributes=new O$;return Q._ownerElement=$,$},createDocumentFragment:function(){var J=new H$(nJ);return J.ownerDocument=this,J.childNodes=new EJ,J},createTextNode:function(J){var $=new G6(nJ);return $.ownerDocument=this,$.childNodes=new EJ,$.appendData(J),$},createComment:function(J){var $=new s6(nJ);return $.ownerDocument=this,$.childNodes=new EJ,$.appendData(J),$},createCDATASection:function(J){if(J.indexOf("]]>")!==-1)throw new t(t.INVALID_CHARACTER_ERR,'data contains "]]>"');var $=new a6(nJ);return $.ownerDocument=this,$.childNodes=new EJ,$.appendData(J),$},createProcessingInstruction:function(J,$){var Q=new e6(nJ);return Q.ownerDocument=this,Q.childNodes=new EJ,Q.nodeName=Q.target=J,Q.nodeValue=Q.data=$,Q},createAttribute:function(J){if(!uJ.QName_exact.test(J))throw new t(t.INVALID_CHARACTER_ERR,'invalid character in name "'+J+'"');if(this.type==="html")J=J.toLowerCase();return this._createAttribute(J)},_createAttribute:function(J){var $=new i8(nJ);return $.ownerDocument=this,$.childNodes=new EJ,$.name=J,$.nodeName=J,$.localName=J,$.specified=!0,$},createEntityReference:function(J){if(!uJ.Name.test(J))throw new t(t.INVALID_CHARACTER_ERR,'not a valid xml name "'+J+'"');if(this.type==="html")throw new t("document is an html document",eJ.NotSupportedError);var $=new t6(nJ);return $.ownerDocument=this,$.childNodes=new EJ,$.nodeName=J,$},createElementNS:function(J,$){var Q=jQ(J,$),K=new I8(nJ),Z=K.attributes=new O$;return K.childNodes=new EJ,K.ownerDocument=this,K.nodeName=$,K.tagName=$,K.namespaceURI=Q[0],K.prefix=Q[1],K.localName=Q[2],Z._ownerElement=K,K},createAttributeNS:function(J,$){var Q=jQ(J,$),K=new i8(nJ);return K.ownerDocument=this,K.childNodes=new EJ,K.nodeName=$,K.name=$,K.specified=!0,K.namespaceURI=Q[0],K.prefix=Q[1],K.localName=Q[2],K}};oJ(R8,WJ);function I8(J){rJ(J),this._nsMap=Object.create(null)}I8.prototype={nodeType:J8,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===L8.HTML},hasAttributes:function(){return!!(this.attributes&&this.attributes.length)},hasAttribute:function(J){return!!this.getAttributeNode(J)},getAttribute:function(J){var $=this.getAttributeNode(J);return $?$.value:null},getAttributeNode:function(J){if(this._isInHTMLDocumentAndNamespace())J=J.toLowerCase();return this.attributes.getNamedItem(J)},setAttribute:function(J,$){if(this._isInHTMLDocumentAndNamespace())J=J.toLowerCase();var Q=this.getAttributeNode(J);if(Q)Q.value=Q.nodeValue=""+$;else Q=this.ownerDocument._createAttribute(J),Q.value=Q.nodeValue=""+$,this.setAttributeNode(Q)},removeAttribute:function(J){var $=this.getAttributeNode(J);$&&this.removeAttributeNode($)},setAttributeNode:function(J){return this.attributes.setNamedItem(J)},setAttributeNodeNS:function(J){return this.attributes.setNamedItemNS(J)},removeAttributeNode:function(J){return this.attributes.removeNamedItem(J.nodeName)},removeAttributeNS:function(J,$){var Q=this.getAttributeNodeNS(J,$);Q&&this.removeAttributeNode(Q)},hasAttributeNS:function(J,$){return this.getAttributeNodeNS(J,$)!=null},getAttributeNS:function(J,$){var Q=this.getAttributeNodeNS(J,$);return Q?Q.value:null},setAttributeNS:function(J,$,Q){var K=jQ(J,$),Z=K[2],X=this.getAttributeNodeNS(J,Z);if(X)X.value=X.nodeValue=""+Q;else X=this.ownerDocument.createAttributeNS(J,$),X.value=X.nodeValue=""+Q,this.setAttributeNode(X)},getAttributeNodeNS:function(J,$){return this.attributes.getNamedItemNS(J,$)},getElementsByClassName:function(J){var $=E1(J);return new U8(this,function(Q){var K=[];if($.length>0)d6(Q,function(Z){if(Z!==Q&&Z.nodeType===J8){var X=Z.getAttribute("class");if(X){var Y=J===X;if(!Y){var W=E1(X);Y=$.every(a5(W))}if(Y)K.push(Z)}}});return K})},getElementsByTagName:function(J){var $=(this.nodeType===D$?this:this.ownerDocument).type==="html",Q=J.toLowerCase();return new U8(this,function(K){var Z=[];return d6(K,function(X){if(X===K||X.nodeType!==J8)return;if(J==="*")Z.push(X);else{var Y=X.getQualifiedName(),W=$&&X.namespaceURI===L8.HTML?Q:J;if(Y===W)Z.push(X)}}),Z})},getElementsByTagNameNS:function(J,$){return new U8(this,function(Q){var K=[];return d6(Q,function(Z){if(Z!==Q&&Z.nodeType===J8&&(J==="*"||Z.namespaceURI===J)&&($==="*"||Z.localName==$))K.push(Z)}),K})}};R8.prototype.getElementsByClassName=I8.prototype.getElementsByClassName;R8.prototype.getElementsByTagName=I8.prototype.getElementsByTagName;R8.prototype.getElementsByTagNameNS=I8.prototype.getElementsByTagNameNS;oJ(I8,WJ);function i8(J){rJ(J),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}i8.prototype.nodeType=V$;oJ(i8,WJ);function P$(J){rJ(J)}P$.prototype={data:"",substringData:function(J,$){return this.data.substring(J,J+$)},appendData:function(J){J=this.data+J,this.nodeValue=this.data=J,this.length=J.length},insertData:function(J,$){this.replaceData(J,0,$)},deleteData:function(J,$){this.replaceData(J,$,"")},replaceData:function(J,$,Q){var K=this.data.substring(0,J),Z=this.data.substring(J+$);Q=K+Q+Z,this.nodeValue=this.data=Q,this.length=Q.length}};oJ(P$,WJ);function G6(J){rJ(J)}G6.prototype={nodeName:"#text",nodeType:r6,splitText:function(J){var $=this.data,Q=$.substring(J);$=$.substring(0,J),this.data=this.nodeValue=$,this.length=$.length;var K=this.ownerDocument.createTextNode(Q);if(this.parentNode)this.parentNode.insertBefore(K,this.nextSibling);return K}};oJ(G6,P$);function s6(J){rJ(J)}s6.prototype={nodeName:"#comment",nodeType:BQ};oJ(s6,P$);function a6(J){rJ(J)}a6.prototype={nodeName:"#cdata-section",nodeType:u1};oJ(a6,G6);function l6(J){rJ(J)}l6.prototype.nodeType=f1;oJ(l6,WJ);function WQ(J){rJ(J)}WQ.prototype.nodeType=t5;oJ(WQ,WJ);function FQ(J){rJ(J)}FQ.prototype.nodeType=l5;oJ(FQ,WJ);function t6(J){rJ(J)}t6.prototype.nodeType=h1;oJ(t6,WJ);function H$(J){rJ(J)}H$.prototype.nodeName="#document-fragment";H$.prototype.nodeType=E8;oJ(H$,WJ);function e6(J){rJ(J)}e6.prototype.nodeType=GQ;oJ(e6,P$);function a1(){}a1.prototype.serializeToString=function(J,$){return l1.call(J,$)};WJ.prototype.toString=l1;function l1(J){var $;if(typeof J==="function")$={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:J};else if(J!=null)$={requireWellFormed:!!J.requireWellFormed,splitCDATASections:J.splitCDATASections!==!1,nodeFilter:J.nodeFilter||null};else $={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null};var Q=[],K=this.nodeType===D$&&this.documentElement||this,Z=K.prefix,X=K.namespaceURI;if(X&&Z==null){var Z=K.lookupPrefix(X);if(Z==null)var Y=[{namespace:X,prefix:null}]}return qQ(this,Q,Y,$),Q.join("")}function g1(J,$,Q){var K=J.prefix||"",Z=J.namespaceURI;if(!Z)return!1;if(K==="xml"&&Z===L8.XML||Z===L8.XMLNS)return!1;var X=Q.length;while(X--){var Y=Q[X];if(Y.prefix===K)return Y.namespace!==Z}return!0}function n6(J,$,Q){J.push(" ",$,'="',Q.replace(/[<>&"\t\n\r]/g,n1),'"')}function qQ(J,$,Q,K){if(!Q)Q=[];var{nodeFilter:Z,requireWellFormed:X,splitCDATASections:Y}=K,W=J.nodeType===D$?J:J.ownerDocument,B=W.type==="html";hJ(J,{ns:Q},{enter:function(G,U){var D=U.ns;if(Z)if(G=Z(G),G){if(typeof G=="string")return $.push(G),null}else return null;switch(G.nodeType){case J8:var F=G.attributes,L=F.length,V=G.tagName,H=V;if(!B&&!G.prefix&&G.namespaceURI){var I;for(var z=0;z<F.length;z++)if(F.item(z).name==="xmlns"){I=F.item(z).value;break}if(!I)for(var T=D.length-1;T>=0;T--){var _=D[T];if(_.prefix===""&&_.namespace===G.namespaceURI){I=_.namespace;break}}if(I!==G.namespaceURI)for(var T=D.length-1;T>=0;T--){var _=D[T];if(_.namespace===G.namespaceURI){if(_.prefix)H=_.prefix+":"+V;break}}}$.push("<",H);var b=D.slice();for(var n=0;n<L;n++){var d=F.item(n);if(d.prefix=="xmlns")b.push({prefix:d.localName,namespace:d.value});else if(d.nodeName=="xmlns")b.push({prefix:"",namespace:d.value})}for(var n=0;n<L;n++){var d=F.item(n);if(g1(d,B,b)){var C=d.prefix||"",w=d.namespaceURI;n6($,C?"xmlns:"+C:"xmlns",w),b.push({prefix:C,namespace:w})}var S=Z?Z(d):d;if(S)if(typeof S==="string")$.push(S);else n6($,S.name,S.value)}if(V===H&&g1(G,B,b)){var h=G.prefix||"",w=G.namespaceURI;n6($,h?"xmlns:"+h:"xmlns",w),b.push({prefix:h,namespace:w})}var a=!G.firstChild;if(a&&(B||G.namespaceURI===L8.HTML))a=r5(V);if(a)return $.push("/>"),null;if($.push(">"),B&&d5(V)){var f=G.firstChild;while(f){if(f.data)$.push(f.data);else qQ(f,$,b.slice(),K);f=f.nextSibling}return $.push("</",H,">"),null}return{ns:b,tag:H};case D$:case E8:if(X&&G.nodeType===D$&&G.documentElement==null)throw new t("The Document has no documentElement",eJ.InvalidStateError);return{ns:D};case V$:return n6($,G.name,G.value),null;case r6:if(X&&uJ.InvalidChar.test(G.data))throw new t("The Text node data contains characters outside the XML Char production",eJ.InvalidStateError);return $.push(G.data.replace(/[<&>]/g,n1)),null;case u1:if(X&&G.data.indexOf("]]>")!==-1)throw new t('The CDATASection data contains "]]>"',eJ.InvalidStateError);if(Y)$.push(uJ.CDATA_START,G.data.replace(/]]>/g,"]]]]><![CDATA[>"),uJ.CDATA_END);else $.push(uJ.CDATA_START,G.data,uJ.CDATA_END);return null;case BQ:if(X){if(uJ.InvalidChar.test(G.data))throw new t("The comment node data contains characters outside the XML Char production",eJ.InvalidStateError);if(G.data.indexOf("--")!==-1||G.data[G.data.length-1]==="-")throw new t('The comment node data contains "--" or ends with "-"',eJ.InvalidStateError)}return $.push(uJ.COMMENT_START,G.data,uJ.COMMENT_END),null;case f1:var{publicId:s,systemId:m}=G;if(X){if(s&&!uJ.PubidLiteral_match.test(s))throw new t("DocumentType publicId is not a valid PubidLiteral",eJ.InvalidStateError);if(m&&m!=="."&&!uJ.SystemLiteral_match.test(m))throw new t("DocumentType systemId is not a valid SystemLiteral",eJ.InvalidStateError);if(G.internalSubset&&G.internalSubset.indexOf("]>")!==-1)throw new t('DocumentType internalSubset contains "]>"',eJ.InvalidStateError)}if($.push(uJ.DOCTYPE_DECL_START," ",G.name),s){if($.push(" ",uJ.PUBLIC," ",s),m&&m!==".")$.push(" ",m)}else if(m&&m!==".")$.push(" ",uJ.SYSTEM," ",m);if(G.internalSubset)$.push(" [",G.internalSubset,"]");return $.push(">"),null;case GQ:if(X){if(G.target.indexOf(":")!==-1||G.target.toLowerCase()==="xml")throw new t("The ProcessingInstruction target is not well-formed",eJ.InvalidStateError);if(uJ.InvalidChar.test(G.data))throw new t("The ProcessingInstruction data contains characters outside the XML Char production",eJ.InvalidStateError);if(G.data.indexOf("?>")!==-1)throw new t('The ProcessingInstruction data contains "?>"',eJ.InvalidStateError)}return $.push("<?",G.target," ",G.data,"?>"),null;case h1:return $.push("&",G.nodeName,";"),null;default:return $.push("??",G.nodeName),null}},exit:function(G,U){if(U&&U.tag)$.push("</",U.tag,">")}})}function XZ(J,$,Q){var K;return hJ($,null,{enter:function(Z,X){var Y=Z.cloneNode(!1);if(Y.ownerDocument=J,Y.parentNode=null,X===null)K=Y;else X.appendChild(Y);var W=Z.nodeType===V$||Q;return W?Y:null}}),K}function t1(J,$,Q){var K;return hJ($,null,{enter:function(Z,X){var Y=new Z.constructor(nJ);for(var W in Z)if(L$(Z,W)){var B=Z[W];if(typeof B!="object"){if(B!=Y[W])Y[W]=B}}if(Z.childNodes)Y.childNodes=new EJ;Y.ownerDocument=J;var G=Q;switch(Y.nodeType){case J8:var U=Z.attributes,D=Y.attributes=new O$,F=U.length;D._ownerElement=Y;for(var L=0;L<F;L++)Y.setAttributeNode(t1(J,U.item(L),!0));break;case V$:G=!0}if(X!==null)X.appendChild(Y);else K=Y;return G?Y:null}}),K}function e1(J,$,Q){J[$]=Q}function YQ(J){var $=[],Q=J.firstChild;while(Q){if(Q.nodeType===J8)$.push(Q);Q=Q.nextSibling}return $}try{if(Object.defineProperty)Object.defineProperty(U8.prototype,"length",{get:function(){return i6(this),this.$$length}}),Object.defineProperty(WJ.prototype,"textContent",{get:function(){if(this.nodeType===J8||this.nodeType===E8){var J=[];return hJ(this,null,{enter:function($){if($.nodeType===J8||$.nodeType===E8)return!0;if($.nodeType===GQ||$.nodeType===BQ)return null;J.push($.nodeValue)}}),J.join("")}return this.nodeValue},set:function(J){switch(this.nodeType){case J8:case E8:while(this.firstChild)this.removeChild(this.firstChild);if(J||String(J))this.appendChild(this.ownerDocument.createTextNode(J));break;default:this.data=J,this.value=J,this.nodeValue=J}}}),Object.defineProperty(I8.prototype,"children",{get:function(){return new U8(this,YQ)}}),Object.defineProperty(R8.prototype,"children",{get:function(){return new U8(this,YQ)}}),Object.defineProperty(H$.prototype,"children",{get:function(){return new U8(this,YQ)}}),e1=function(J,$,Q){J["$$"+$]=Q}}catch(J){}_J._updateLiveList=i6;_J.Attr=i8;_J.CDATASection=a6;_J.CharacterData=P$;_J.Comment=s6;_J.Document=R8;_J.DocumentFragment=H$;_J.DocumentType=l6;_J.DOMImplementation=c1;_J.Element=I8;_J.Entity=FQ;_J.EntityReference=t6;_J.LiveNodeList=U8;_J.NamedNodeMap=O$;_J.Node=WJ;_J.NodeList=EJ;_J.Notation=WQ;_J.Text=G6;_J.ProcessingInstruction=e6;_J.walkDOM=hJ;_J.XMLSerializer=a1});var $K=T8((B6)=>{var JK=o8().freeze;B6.XML_ENTITIES=JK({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});B6.HTML_ENTITIES=JK({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",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:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",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:"\uD835\uDD05",bfr:"\uD835\uDD1F",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:"\uD835\uDD39",bopf:"\uD835\uDD53",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:"\uD835\uDCB7",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:"\uD835\uDD20",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:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",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:"\uD835\uDD07",dfr:"\uD835\uDD21",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:"\uD835\uDD3B",dopf:"\uD835\uDD55",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:"\uD835\uDC9F",dscr:"\uD835\uDCB9",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:"\uD835\uDD08",efr:"\uD835\uDD22",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:"\uD835\uDD3C",eopf:"\uD835\uDD56",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:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",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:"\uD835\uDCBB",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:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",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:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",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:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",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:"\uD835\uDD0F",lfr:"\uD835\uDD29",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:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",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:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",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:`
2
+ `,nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",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:"\uD835\uDD5F",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:"\uD835\uDCA9",nscr:"\uD835\uDCC3",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:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",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:"\uD835\uDD13",pfr:"\uD835\uDD2D",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:"\uD835\uDD61",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:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",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:"\uD835\uDD2F",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:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",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:"\uD835\uDD16",sfr:"\uD835\uDD30",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:"\uD835\uDD4A",sopf:"\uD835\uDD64",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:"\uD835\uDCAE",sscr:"\uD835\uDCC8",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:"\uD835\uDD17",tfr:"\uD835\uDD31",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:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",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:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",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:"\uD835\uDCB0",uscr:"\uD835\uDCCA",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:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"});B6.entityMap=B6.HTML_ENTITIES});var qK=T8(($0)=>{var C$=o8(),ZJ=XQ(),YK=$6(),YZ=C$.isHTMLEscapableRawTextElement,jZ=C$.isHTMLMimeType,GZ=C$.isHTMLRawTextElement,U6=C$.hasOwn,QK=C$.NAMESPACE,KK=YK.ParseError,BZ=YK.DOMException,W6=0,k8=1,R$=2,F6=3,I$=4,z$=5,q6=6,J0=7;function jK(){}jK.prototype={parse:function(J,$,Q){var K=this.domBuilder;K.startDocument(),GK($,$=Object.create(null)),WZ(J,$,Q,K,this.errorHandler),K.endDocument()}};var DQ=/&#?\w+;?/g;function WZ(J,$,Q,K,Z){var X=jZ(K.mimeType);if(J.indexOf(ZJ.UNICODE_REPLACEMENT_CHARACTER)>=0)Z.warning("Unicode replacement character detected, source encoding issues?");function Y(M){if(M>65535){M-=65536;var E=55296+(M>>10),N=56320+(M&1023);return String.fromCharCode(E,N)}else return String.fromCharCode(M)}function W(M){var E=M[M.length-1]===";"?M:M+";";if(!X&&E!==M)return Z.error("EntityRef: expecting ;"),M;var N=ZJ.Reference.exec(E);if(!N||N[0].length!==E.length)return Z.error("entity not matching Reference production: "+M),M;var y=E.slice(1,-1);if(U6(Q,y))return Q[y];else if(y.charAt(0)==="#")return Y(parseInt(y.substring(1).replace("x","0x")));else return Z.error("entity not found:"+M),M}function B(M){if(M>I){var E=J.substring(I,M).replace(DQ,W);F&&L(I),K.characters(E,0,M-I),I=M}}var G=0,U=0,D=/\r\n?|\n|$/g,F=K.locator;function L(M,E){while(M>=U&&(E=D.exec(J)))G=U,U=E.index+E[0].length,F.lineNumber++;F.columnNumber=M-G+1}var V=[{currentNSMap:$}],H=[],I=0;while(!0){try{var z=J.indexOf("<",I);if(z<0){if(!X&&H.length>0)return Z.fatalError("unclosed xml tag(s): "+H.join(", "));if(!J.substring(I).match(/^\s*$/)){var T=K.doc,_=T.createTextNode(J.substring(I));if(T.documentElement)return Z.error("Extra content at the end of the document");T.appendChild(_),K.currentElement=_}return}if(z>I){var b=J.substring(I,z);if(!X&&H.length===0)b=b.replace(new RegExp(ZJ.S_OPT.source,"g"),""),b&&Z.error("Unexpected content outside root element: '"+b+"'");B(z)}switch(J.charAt(z+1)){case"/":var m=J.indexOf(">",z+2),n=J.substring(z+2,m>0?m:void 0);if(!n)return Z.fatalError("end tag name missing");var d=m>0&&ZJ.reg("^",ZJ.QName_group,ZJ.S_OPT,"$").exec(n);if(!d)return Z.fatalError('end tag name contains invalid characters: "'+n+'"');if(!K.currentElement&&!K.doc.documentElement)return;var C=H[H.length-1]||K.currentElement.tagName||K.doc.documentElement.tagName||"";if(C!==d[1]){var w=d[1].toLowerCase();if(!X||C.toLowerCase()!==w)return Z.fatalError('Opening and ending tag mismatch: "'+C+'" != "'+n+'"')}var S=V.pop();H.pop();var h=S.localNSMap;if(K.endElement(S.uri,S.localName,C),h){for(var a in h)if(U6(h,a))K.endPrefixMapping(a)}m++;break;case"?":F&&L(z),m=DZ(J,z,K,Z);break;case"!":F&&L(z),m=WK(J,z,K,Z,X);break;default:F&&L(z);var f=new FK,s=V[V.length-1].currentNSMap,m=FZ(J,z,f,s,W,Z,X),o=f.length;if(!f.closed)if(X&&C$.isHTMLVoidElement(f.tagName))f.closed=!0;else H.push(f.tagName);if(F&&o){var A=ZK(F,{});for(var v=0;v<o;v++){var c=f[v];L(c.offset),c.locator=ZK(F,{})}if(K.locator=A,XK(f,K,s))V.push(f);K.locator=F}else if(XK(f,K,s))V.push(f);if(X&&!f.closed)m=qZ(J,m,f.tagName,W,K);else m++}}catch(M){if(M instanceof KK)throw M;else if(M instanceof BZ)throw new KK(M.name+": "+M.message,K.locator,M);Z.error("element parse error: "+M),m=-1}if(m>I)I=m;else B(Math.max(z,I)+1)}}function ZK(J,$){return $.lineNumber=J.lineNumber,$.columnNumber=J.columnNumber,$}function FZ(J,$,Q,K,Z,X,Y){function W(L,V,H){if(U6(Q.attributeNames,L))return X.fatalError("Attribute "+L+" redefined");if(!Y&&V.indexOf("<")>=0)return X.fatalError("Unescaped '<' not allowed in attributes values");Q.addValue(L,V.replace(/[\t\n\r]/g," ").replace(DQ,Z),H)}var B,G,U=++$,D=W6;while(!0){var F=J.charAt(U);switch(F){case"=":if(D===k8)B=J.slice($,U),D=F6;else if(D===R$)D=F6;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(D===F6||D===k8){if(D===k8)X.warning('attribute value must after "="'),B=J.slice($,U);if($=U+1,U=J.indexOf(F,$),U>0)G=J.slice($,U),W(B,G,$-1),D=z$;else throw Error("attribute value no end '"+F+"' match")}else if(D==I$)G=J.slice($,U),W(B,G,$),X.warning('attribute "'+B+'" missed start quot('+F+")!!"),$=U+1,D=z$;else throw Error('attribute value must after "="');break;case"/":switch(D){case W6:Q.setTagName(J.slice($,U));case z$:case q6:case J0:D=J0,Q.closed=!0;case I$:case k8:break;case R$:Q.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":if(X.error("unexpected end of input"),D==W6)Q.setTagName(J.slice($,U));return U;case">":switch(D){case W6:Q.setTagName(J.slice($,U));case z$:case q6:case J0:break;case I$:case k8:if(G=J.slice($,U),G.slice(-1)==="/")Q.closed=!0,G=G.slice(0,-1);case R$:if(D===R$)G=B;if(D==I$)X.warning('attribute "'+G+'" missed quot(")!'),W(B,G,$);else{if(!Y)X.warning('attribute "'+G+'" missed value!! "'+G+'" instead!!');W(G,G,$)}break;case F6:if(!Y)return X.fatalError(`AttValue: ' or " expected`)}return U;case"€":F=" ";default:if(F<=" ")switch(D){case W6:Q.setTagName(J.slice($,U)),D=q6;break;case k8:B=J.slice($,U),D=R$;break;case I$:var G=J.slice($,U);X.warning('attribute "'+G+'" missed quot(")!!'),W(B,G,$);case z$:D=q6;break}else switch(D){case R$:if(!Y)X.warning('attribute "'+B+'" missed value!! "'+B+'" instead2!!');W(B,B,$),$=U,D=k8;break;case z$:X.warning('attribute space is required"'+B+'"!!');case q6:D=k8,$=U;break;case F6:D=I$,$=U;break;case J0:throw Error("elements closed character '/' and '>' must be connected to")}}U++}}function XK(J,$,Q){var K=J.tagName,Z=null,D=J.length;while(D--){var X=J[D],Y=X.qName,W=X.value,F=Y.indexOf(":");if(F>0)var B=X.prefix=Y.slice(0,F),G=Y.slice(F+1),U=B==="xmlns"&&G;else G=Y,B=null,U=Y==="xmlns"&&"";if(X.localName=G,U!==!1){if(Z==null)Z=Object.create(null),GK(Q,Q=Object.create(null));Q[U]=Z[U]=W,X.uri=QK.XMLNS,$.startPrefixMapping(U,W)}}var D=J.length;while(D--)if(X=J[D],X.prefix){if(X.prefix==="xml")X.uri=QK.XML;if(X.prefix!=="xmlns")X.uri=Q[X.prefix]}var F=K.indexOf(":");if(F>0)B=J.prefix=K.slice(0,F),G=J.localName=K.slice(F+1);else B=null,G=J.localName=K;var L=J.uri=Q[B||""];if($.startElement(L,G,K,J),J.closed){if($.endElement(L,G,K),Z){for(B in Z)if(U6(Z,B))$.endPrefixMapping(B)}}else return J.currentNSMap=Q,J.localNSMap=Z,!0}function qZ(J,$,Q,K,Z){var X=YZ(Q);if(X||GZ(Q)){var Y=J.indexOf("</"+Q+">",$),W=J.substring($+1,Y);if(X)W=W.replace(DQ,K);return Z.characters(W,0,W.length),Y}return $+1}function GK(J,$){for(var Q in J)if(U6(J,Q))$[Q]=J[Q]}function BK(J,$){var Q=$;function K(U){return U=U||0,J.charAt(Q+U)}function Z(U){U=U||1,Q+=U}function X(){var U=0;while(Q<J.length){var D=K();if(D!==" "&&D!==`
3
+ `&&D!=="\t"&&D!=="\r")return U;U++,Z()}return-1}function Y(){return J.substring(Q)}function W(U){return J.substring(Q,Q+U.length)===U}function B(U){return J.substring(Q,Q+U.length).toUpperCase()===U.toUpperCase()}function G(U){var D=ZJ.reg("^",U),F=D.exec(Y());if(F)return Z(F[0].length),F[0];return null}return{char:K,getIndex:function(){return Q},getMatch:G,getSource:function(){return J},skip:Z,skipBlanks:X,substringFromIndex:Y,substringStartsWith:W,substringStartsWithCaseInsensitive:B}}function UZ(J,$){function Q(W,B){var G=ZJ.PI.exec(W.substringFromIndex());if(!G)return B.fatalError("processing instruction is not well-formed at position "+W.getIndex());if(G[1].toLowerCase()==="xml")return B.fatalError("xml declaration is only allowed at the start of the document, but found at position "+W.getIndex());return W.skip(G[0].length),G[0]}var K=J.getSource();if(J.char()==="["){J.skip(1);var Z=J.getIndex();while(J.getIndex()<K.length){if(J.skipBlanks(),J.char()==="]"){var X=K.substring(Z,J.getIndex());return J.skip(1),X}var Y=null;if(J.char()==="<"&&J.char(1)==="!")switch(J.char(2)){case"E":if(J.char(3)==="L")Y=J.getMatch(ZJ.elementdecl);else if(J.char(3)==="N")Y=J.getMatch(ZJ.EntityDecl);break;case"A":Y=J.getMatch(ZJ.AttlistDecl);break;case"N":Y=J.getMatch(ZJ.NotationDecl);break;case"-":Y=J.getMatch(ZJ.Comment);break}else if(J.char()==="<"&&J.char(1)==="?")Y=Q(J,$);else if(J.char()==="%")Y=J.getMatch(ZJ.PEReference);else return $.fatalError("Error detected in Markup declaration");if(!Y)return $.fatalError("Error in internal subset at position "+J.getIndex())}return $.fatalError("doctype internal subset is not well-formed, missing ]")}}function WK(J,$,Q,K,Z){var X=BK(J,$);switch(Z?X.char(2).toUpperCase():X.char(2)){case"-":var Y=X.getMatch(ZJ.Comment);if(Y)return Q.comment(Y,ZJ.COMMENT_START.length,Y.length-ZJ.COMMENT_START.length-ZJ.COMMENT_END.length),X.getIndex();else return K.fatalError("comment is not well-formed at position "+X.getIndex());case"[":var W=X.getMatch(ZJ.CDSect);if(W){if(!Z&&!Q.currentElement)return K.fatalError("CDATA outside of element");return Q.startCDATA(),Q.characters(W,ZJ.CDATA_START.length,W.length-ZJ.CDATA_START.length-ZJ.CDATA_END.length),Q.endCDATA(),X.getIndex()}else return K.fatalError("Invalid CDATA starting at position "+$);case"D":{if(Q.doc&&Q.doc.documentElement)return K.fatalError("Doctype not allowed inside or after documentElement at position "+X.getIndex());if(Z?!X.substringStartsWithCaseInsensitive(ZJ.DOCTYPE_DECL_START):!X.substringStartsWith(ZJ.DOCTYPE_DECL_START))return K.fatalError("Expected "+ZJ.DOCTYPE_DECL_START+" at position "+X.getIndex());if(X.skip(ZJ.DOCTYPE_DECL_START.length),X.skipBlanks()<1)return K.fatalError("Expected whitespace after "+ZJ.DOCTYPE_DECL_START+" at position "+X.getIndex());var B={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(B.name=X.getMatch(ZJ.Name),!B.name)return K.fatalError("doctype name missing or contains unexpected characters at position "+X.getIndex());if(Z&&B.name.toLowerCase()!=="html")K.warning("Unexpected DOCTYPE in HTML document at position "+X.getIndex());if(X.skipBlanks(),X.substringStartsWith(ZJ.PUBLIC)||X.substringStartsWith(ZJ.SYSTEM)){var G=ZJ.ExternalID_match.exec(X.substringFromIndex());if(!G)return K.fatalError("doctype external id is not well-formed at position "+X.getIndex());if(G.groups.SystemLiteralOnly!==void 0)B.systemId=G.groups.SystemLiteralOnly;else B.systemId=G.groups.SystemLiteral,B.publicId=G.groups.PubidLiteral;X.skip(G[0].length)}else if(Z&&X.substringStartsWithCaseInsensitive(ZJ.SYSTEM)){if(X.skip(ZJ.SYSTEM.length),X.skipBlanks()<1)return K.fatalError("Expected whitespace after "+ZJ.SYSTEM+" at position "+X.getIndex());if(B.systemId=X.getMatch(ZJ.ABOUT_LEGACY_COMPAT_SystemLiteral),!B.systemId)return K.fatalError("Expected "+ZJ.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+ZJ.SYSTEM+" at position "+X.getIndex())}if(Z&&B.systemId&&!ZJ.ABOUT_LEGACY_COMPAT_SystemLiteral.test(B.systemId))K.warning("Unexpected doctype.systemId in HTML document at position "+X.getIndex());if(!Z)X.skipBlanks(),B.internalSubset=UZ(X,K);if(X.skipBlanks(),X.char()!==">")return K.fatalError("doctype not terminated with > at position "+X.getIndex());return X.skip(1),Q.startDTD(B.name,B.publicId,B.systemId,B.internalSubset),Q.endDTD(),X.getIndex()}default:return K.fatalError('Not well-formed XML starting with "<!" at position '+$)}}function DZ(J,$,Q,K){var Z=J.substring($).match(ZJ.PI);if(!Z)return K.fatalError("Invalid processing instruction starting at position "+$);if(Z[1].toLowerCase()==="xml"){if($>0)return K.fatalError("processing instruction at position "+$+" is an xml declaration which is only at the start of the document");if(!ZJ.XMLDecl.test(J.substring($)))return K.fatalError("xml declaration is not well-formed")}return Q.processingInstruction(Z[1],Z[2]),$+Z[0].length}function FK(){this.attributeNames=Object.create(null)}FK.prototype={setTagName:function(J){if(!ZJ.QName_exact.test(J))throw Error("invalid tagName:"+J);this.tagName=J},addValue:function(J,$,Q){if(!ZJ.QName_exact.test(J))throw Error("invalid attribute:"+J);this.attributeNames[J]=this.length,this[this.length++]={qName:J,value:$,offset:Q}},length:0,getLocalName:function(J){return this[J].localName},getLocator:function(J){return this[J].locator},getQName:function(J){return this[J].qName},getURI:function(J){return this[J].uri},getValue:function(J){return this[J].value}};$0.XMLReader=jK;$0.parseUtils=BK;$0.parseDoctypeCommentOrCData=WK});var PK=T8((T$)=>{var s8=o8(),LZ=UQ(),VZ=$6(),UK=$K(),OZ=qK(),MZ=LZ.DOMImplementation,PZ=s8.hasDefaultHTMLNamespace,HZ=s8.isHTMLMimeType,RZ=s8.isValidMimeType,VK=s8.MIME_TYPE,LQ=s8.NAMESPACE,DK=VZ.ParseError,IZ=OZ.XMLReader;function OK(J){return J.replace(/\r[\n\u0085]/g,`
4
4
  `).replace(/[\r\u0085\u2028\u2029]/g,`
5
- `)}function PQ(J){if(J=J||{},J.locator===void 0)J.locator=!0;if(this.assign=J.assign||$8.assign,this.domHandler=J.domHandler||_$,this.onError=J.onError||J.errorHandler,J.errorHandler&&typeof J.errorHandler!=="function")throw TypeError("errorHandler object is no longer supported, switch to onError!");else if(J.errorHandler)J.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this);this.normalizeLineEndings=J.normalizeLineEndings||IQ,this.locator=!!J.locator,this.xmlns=this.assign(Object.create(null),J.xmlns)}PQ.prototype.parseFromString=function(J,$){if(!z4($))throw TypeError('DOMParser.parseFromString: the provided mimeType "'+$+'" is not valid.');var Q=this.assign(Object.create(null),this.xmlns),K=VQ.XML_ENTITIES,Z=Q[""]||null;if(I4($))K=VQ.HTML_ENTITIES,Z=k6.HTML;else if($===MQ.XML_SVG_IMAGE)Z=k6.SVG;Q[""]=Z,Q.xml=Q.xml||k6.XML;var j=new this.domHandler({mimeType:$,defaultNamespace:Z,onError:this.onError}),X=this.locator?{}:void 0;if(this.locator)j.setDocumentLocator(X);var W=new R4;W.errorHandler=j,W.domBuilder=j;var B=!$8.isHTMLMimeType($);if(B&&typeof J!=="string")W.errorHandler.fatalError("source is not a string");if(W.parse(this.normalizeLineEndings(String(J)),Q,K),!j.doc.documentElement)W.errorHandler.fatalError("missing root element");return j.doc};function _$(J){var $=J||{};this.mimeType=$.mimeType||MQ.XML_APPLICATION,this.defaultNamespace=$.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=$.onError}function z8(J,$){$.lineNumber=J.lineNumber,$.columnNumber=J.columnNumber}_$.prototype={startDocument:function(){var J=new M4;this.doc=P4(this.mimeType)?J.createHTMLDocument(!1):J.createDocument(this.defaultNamespace,"")},startElement:function(J,$,Q,K){var Z=this.doc,j=Z.createElementNS(J,Q||$),X=K.length;T$(this,j),this.currentElement=j,this.locator&&z8(this.locator,j);for(var W=0;W<X;W++){var J=K.getURI(W),B=K.getValue(W),Q=K.getQName(W),Y=Z.createAttributeNS(J,Q);this.locator&&z8(K.getLocator(W),Y),Y.value=Y.nodeValue=B,j.setAttributeNode(Y)}},endElement:function(J,$,Q){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(J,$){},endPrefixMapping:function(J){},processingInstruction:function(J,$){var Q=this.doc.createProcessingInstruction(J,$);this.locator&&z8(this.locator,Q),T$(this,Q)},ignorableWhitespace:function(J,$,Q){},characters:function(J,$,Q){if(J=OQ.apply(this,arguments),J){if(this.cdata)var K=this.doc.createCDATASection(J);else var K=this.doc.createTextNode(J);if(this.currentElement)this.currentElement.appendChild(K);else if(/^\s*$/.test(J))this.doc.appendChild(K);this.locator&&z8(this.locator,K)}},skippedEntity:function(J){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(J){if(J)J.lineNumber=0;this.locator=J},comment:function(J,$,Q){J=OQ.apply(this,arguments);var K=this.doc.createComment(J);this.locator&&z8(this.locator,K),T$(this,K)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(J,$,Q,K){var Z=this.doc.implementation;if(Z&&Z.createDocumentType){var j=Z.createDocumentType(J,$,Q,K);this.locator&&z8(this.locator,j),T$(this,j),this.doc.doctype=j}},reportError:function(J,$){if(typeof this.onError==="function")try{this.onError(J,$,this)}catch(Q){throw new HQ("Reporting "+J+' "'+$+'" caused '+Q,this.locator)}else console.error("[xmldom "+J+"]\t"+$,A4(this.locator))},warning:function(J){this.reportError("warning",J)},error:function(J){this.reportError("error",J)},fatalError:function(J){throw this.reportError("fatalError",J),new HQ(J,this.locator)}};function A4(J){if(J)return`
6
- @#[line:`+J.lineNumber+",col:"+J.columnNumber+"]"}function OQ(J,$,Q){if(typeof J=="string")return J.substr($,Q);else{if(J.length>=$+Q||$)return new java.lang.String(J,$,Q)+"";return J}}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(J){_$.prototype[J]=function(){return null}});function T$(J,$){if(!J.currentElement)J.doc.appendChild($);else J.currentElement.appendChild($)}function C4(J){if(J==="error")throw"onErrorStopParsing"}function T4(){throw"onWarningStopParsing"}R8.__DOMHandler=_$;R8.DOMParser=PQ;R8.normalizeLineEndings=IQ;R8.onErrorStopParsing=C4;R8.onWarningStopParsing=T4});var RQ=rJ((s)=>{var A8=eJ();s.assign=A8.assign;s.hasDefaultHTMLNamespace=A8.hasDefaultHTMLNamespace;s.isHTMLMimeType=A8.isHTMLMimeType;s.isValidMimeType=A8.isValidMimeType;s.MIME_TYPE=A8.MIME_TYPE;s.NAMESPACE=A8.NAMESPACE;var N$=g8();s.DOMException=N$.DOMException;s.DOMExceptionName=N$.DOMExceptionName;s.ExceptionCode=N$.ExceptionCode;s.ParseError=N$.ParseError;var GJ=E6();s.Attr=GJ.Attr;s.CDATASection=GJ.CDATASection;s.CharacterData=GJ.CharacterData;s.Comment=GJ.Comment;s.Document=GJ.Document;s.DocumentFragment=GJ.DocumentFragment;s.DocumentType=GJ.DocumentType;s.DOMImplementation=GJ.DOMImplementation;s.Element=GJ.Element;s.Entity=GJ.Entity;s.EntityReference=GJ.EntityReference;s.LiveNodeList=GJ.LiveNodeList;s.NamedNodeMap=GJ.NamedNodeMap;s.Node=GJ.Node;s.NodeList=GJ.NodeList;s.Notation=GJ.Notation;s.ProcessingInstruction=GJ.ProcessingInstruction;s.Text=GJ.Text;s.XMLSerializer=GJ.XMLSerializer;var w$=zQ();s.DOMParser=w$.DOMParser;s.normalizeLineEndings=w$.normalizeLineEndings;s.onErrorStopParsing=w$.onErrorStopParsing;s.onWarningStopParsing=w$.onWarningStopParsing});var a6={};K1(a6,{switchableAxes:()=>p$,install:()=>s6,fetchGui:()=>f$,detectModes:()=>m$,defineGuiEmbed:()=>n$,decodeMarkup:()=>h$,decodeBytes:()=>o6,GuiEmbedElement:()=>c$});if(typeof window<"u"){if(window.NodeList&&!NodeList.prototype.forEach)NodeList.prototype.forEach=Array.prototype.forEach;if(typeof window.CustomEvent!=="function")window.CustomEvent=function($,Q){Q=Q||{bubbles:!1,cancelable:!1,detail:null};var K=document.createEvent("CustomEvent");return K.initCustomEvent($,Q.bubbles,Q.cancelable,Q.detail),K}}var Z1=typeof document<"u"&&!!document.documentMode,o$;function j1(){if(o$)return o$;return o$=document.createElement("div").style}var l6=["webkit","moz","ms"],j$={};function e$(J){if(j$[J])return j$[J];let $=j1();if(J in $)return j$[J]=J;let Q=J[0].toUpperCase()+J.slice(1),K=l6.length;while(K--){let Z=`${l6[K]}${Q}`;if(Z in $)return j$[J]=Z}}function X$(J,$){return parseFloat($[e$(J)])||0}function Y$(J,$,Q=window.getComputedStyle(J)){let K=$==="border"?"Width":"";return{left:X$(`${$}Left${K}`,Q),right:X$(`${$}Right${K}`,Q),top:X$(`${$}Top${K}`,Q),bottom:X$(`${$}Bottom${K}`,Q)}}function j8(J,$,Q){J.style[e$($)]=Q}function X1(J,$){let Q=e$("transform");j8(J,"transition",`${Q} ${$.duration}ms ${$.easing}`)}function Y1(J,{x:$,y:Q,scale:K,isSVG:Z},j){if(j8(J,"transform",`scale(${K}) translate(${$}px, ${Q}px)`),Z&&Z1){let X=window.getComputedStyle(J).getPropertyValue("transform");J.setAttribute("transform",X)}}function i$(J){let $=J.parentNode;if(!$||$.nodeType!==1)$=document.documentElement;let Q=window.getComputedStyle(J),K=window.getComputedStyle($),Z=J.getBoundingClientRect(),j=$.getBoundingClientRect();return{elem:{style:Q,width:Z.width,height:Z.height,top:Z.top,bottom:Z.bottom,left:Z.left,right:Z.right,margin:Y$(J,"margin",Q),border:Y$(J,"border",Q)},parent:{style:K,width:j.width,height:j.height,top:j.top,bottom:j.bottom,left:j.left,right:j.right,padding:Y$($,"padding",K),border:Y$($,"border",K)}}}var _8={down:"mousedown",move:"mousemove",up:"mouseup mouseleave"};if(typeof window<"u"){if(typeof window.PointerEvent==="function")_8={down:"pointerdown",move:"pointermove",up:"pointerup pointerleave pointercancel"};else if(typeof window.TouchEvent==="function")_8={down:"touchstart",move:"touchmove",up:"touchend touchcancel"}}function s$(J,$,Q,K){_8[J].split(" ").forEach((Z)=>{$.addEventListener(Z,Q,K)})}function a$(J,$,Q){_8[J].split(" ").forEach((K)=>{$.removeEventListener(K,Q)})}function e6(J,$){let Q=J.length;while(Q--)if(J[Q].pointerId===$.pointerId)return Q;return-1}function t$(J,$){let Q;if($.touches){Q=0;for(let K of $.touches)K.pointerId=Q++,t$(J,K);return}if(Q=e6(J,$),Q>-1)J.splice(Q,1);J.push($)}function B1(J,$){if($.touches){while(J.length)J.pop();return}let Q=e6(J,$);if(Q>-1)J.splice(Q,1)}function t6(J){J=J.slice(0);let $=J.pop(),Q;while(Q=J.pop())$={clientX:(Q.clientX-$.clientX)/2+$.clientX,clientY:(Q.clientY-$.clientY)/2+$.clientY};return $}function l$(J){if(J.length<2)return 0;let $=J[0],Q=J[1];return Math.sqrt(Math.pow(Math.abs(Q.clientX-$.clientX),2)+Math.pow(Math.abs(Q.clientY-$.clientY),2))}function W1(J){let $=J;while($&&$.parentNode){if($.parentNode===document)return!0;$=$.parentNode instanceof ShadowRoot?$.parentNode.host:$.parentNode}return!1}function G1(J){return(J.getAttribute("class")||"").trim()}function q1(J,$){return J.nodeType===1&&` ${G1(J)} `.indexOf(` ${$} `)>-1}function U1(J,$){for(let Q=J;Q!=null;Q=Q.parentNode)if(q1(Q,$.excludeClass)||$.exclude.indexOf(Q)>-1)return!0;return!1}var F1=/^http:[\w\.\/]+svg$/;function L1(J){return F1.test(J.namespaceURI)&&J.nodeName.toLowerCase()!=="svg"}function D1(J){let $={};for(let Q in J)if(J.hasOwnProperty(Q))$[Q]=J[Q];return $}var J0={animate:!1,canvas:!1,cursor:"move",disablePan:!1,disableZoom:!1,disableXAxis:!1,disableYAxis:!1,duration:200,easing:"ease-in-out",exclude:[],excludeClass:"panzoom-exclude",handleStartEvent:(J)=>{J.preventDefault(),J.stopPropagation()},maxScale:4,minScale:0.125,overflow:"hidden",panOnlyWhenZoomed:!1,pinchAndPan:!1,relative:!1,setTransform:Y1,startX:0,startY:0,startScale:1,step:0.3,touchAction:"none"};function J6(J,$){if(!J)throw Error("Panzoom requires an element as an argument");if(J.nodeType!==1)throw Error("Panzoom requires an element with a nodeType of 1");if(!W1(J))throw Error("Panzoom should be called on elements that have been attached to the DOM");$={...J0,...$};let Q=L1(J),K=J.parentNode;K.style.overflow=$.overflow,K.style.userSelect="none",K.style.touchAction=$.touchAction,($.canvas?K:J).style.cursor=$.cursor,J.style.userSelect="none",J.style.touchAction=$.touchAction,j8(J,"transformOrigin",typeof $.origin==="string"?$.origin:Q?"0 0":"50% 50%");function Z(){K.style.overflow="",K.style.userSelect="",K.style.touchAction="",K.style.cursor="",J.style.cursor="",J.style.userSelect="",J.style.touchAction="",j8(J,"transformOrigin","")}function j(V={}){for(let T in V)if(V.hasOwnProperty(T))$[T]=V[T];if(V.hasOwnProperty("cursor")||V.hasOwnProperty("canvas"))K.style.cursor=J.style.cursor="",($.canvas?K:J).style.cursor=$.cursor;if(V.hasOwnProperty("overflow"))K.style.overflow=V.overflow;if(V.hasOwnProperty("touchAction"))K.style.touchAction=V.touchAction,J.style.touchAction=V.touchAction}let X=0,W=0,B=1,Y=!1;H($.startScale,{animate:!1,force:!0}),setTimeout(()=>{D($.startX,$.startY,{animate:!1,force:!0})});function G(V,T,g){if(g.silent)return;let b=new CustomEvent(V,{detail:T});J.dispatchEvent(b)}function q(V,T,g){let b={x:X,y:W,scale:B,isSVG:Q,originalEvent:g};return requestAnimationFrame(()=>{if(typeof T.animate==="boolean")if(T.animate)X1(J,T);else j8(J,"transition","none");T.setTransform(J,b,T),G(V,b,T),G("panzoomchange",b,T)}),b}function U(V,T,g,b){let N={...$,...b},_={x:X,y:W,opts:N};if(!b?.force&&(N.disablePan||N.panOnlyWhenZoomed&&B===N.startScale))return _;if(V=parseFloat(V),T=parseFloat(T),!N.disableXAxis)_.x=(N.relative?X:0)+V;if(!N.disableYAxis)_.y=(N.relative?W:0)+T;if(N.contain){let S=i$(J),a=S.elem.width/B,QJ=S.elem.height/B,qJ=a*g,IJ=QJ*g,UJ=(qJ-a)/2,BJ=(IJ-QJ)/2;if(N.contain==="inside"){let OJ=(-S.elem.margin.left-S.parent.padding.left+UJ)/g,KJ=(S.parent.width-qJ-S.parent.padding.left-S.elem.margin.left-S.parent.border.left-S.parent.border.right+UJ)/g;_.x=Math.max(Math.min(_.x,KJ),OJ);let FJ=(-S.elem.margin.top-S.parent.padding.top+BJ)/g,zJ=(S.parent.height-IJ-S.parent.padding.top-S.elem.margin.top-S.parent.border.top-S.parent.border.bottom+BJ)/g;_.y=Math.max(Math.min(_.y,zJ),FJ)}else if(N.contain==="outside"){let OJ=(-(qJ-S.parent.width)-S.parent.padding.left-S.parent.border.left-S.parent.border.right+UJ)/g,KJ=(UJ-S.parent.padding.left)/g;_.x=Math.max(Math.min(_.x,KJ),OJ);let FJ=(-(IJ-S.parent.height)-S.parent.padding.top-S.parent.border.top-S.parent.border.bottom+BJ)/g,zJ=(BJ-S.parent.padding.top)/g;_.y=Math.max(Math.min(_.y,zJ),FJ)}}if(N.roundPixels)_.x=Math.round(_.x),_.y=Math.round(_.y);return _}function L(V,T){let g={...$,...T},b={scale:B,opts:g};if(!T?.force&&g.disableZoom)return b;let{minScale:N,maxScale:_}=$;if(g.contain){let S=i$(J),a=S.elem.width/B,QJ=S.elem.height/B;if(a>1&&QJ>1){let qJ=S.parent.width-S.parent.border.left-S.parent.border.right,IJ=S.parent.height-S.parent.border.top-S.parent.border.bottom,UJ=qJ/a,BJ=IJ/QJ;if($.contain==="inside")_=Math.min(_,UJ,BJ);else if($.contain==="outside")N=Math.max(N,UJ,BJ)}}return b.scale=Math.min(Math.max(V,N),_),b}function D(V,T,g,b){let N=U(V,T,B,g);if(X!==N.x||W!==N.y)return X=N.x,W=N.y,q("panzoompan",N.opts,b);return{x:X,y:W,scale:B,isSVG:Q,originalEvent:b}}function H(V,T,g){let b=L(V,T),N=b.opts;if(!T?.force&&N.disableZoom)return;V=b.scale;let _=X,S=W;if(N.focal){let QJ=N.focal;_=(QJ.x/V-QJ.x/B+X*V)/V,S=(QJ.y/V-QJ.y/B+W*V)/V}let a=U(_,S,V,{relative:!1,force:!0});return X=a.x,W=a.y,B=V,q("panzoomzoom",N,g)}function O(V,T){let g={...$,animate:!0,...T};return H(B*Math.exp((V?1:-1)*g.step),g)}function M(V){return O(!0,V)}function P(V){return O(!1,V)}function I(V,T,g,b){let N=i$(J),_={width:N.parent.width-N.parent.padding.left-N.parent.padding.right-N.parent.border.left-N.parent.border.right,height:N.parent.height-N.parent.padding.top-N.parent.padding.bottom-N.parent.border.top-N.parent.border.bottom},S=T.clientX-N.parent.left-N.parent.padding.left-N.parent.border.left-N.elem.margin.left,a=T.clientY-N.parent.top-N.parent.padding.top-N.parent.border.top-N.elem.margin.top;if(!Q)S-=N.elem.width/B/2,a-=N.elem.height/B/2;let QJ={x:S/_.width*(_.width*V),y:a/_.height*(_.height*V)};return H(V,{...g,animate:!1,focal:QJ},b)}function z(V,T){V.preventDefault();let g={...$,...T,animate:!1},N=(V.deltaY===0&&V.deltaX?V.deltaX:V.deltaY)<0?1:-1,_=L(B*Math.exp(N*g.step/3),g).scale;return I(_,V,g,V)}function k(V){let T={...$,animate:!0,force:!0,...V};B=L(T.startScale,T).scale;let g=U(T.startX,T.startY,B,T);return X=g.x,W=g.y,q("panzoomreset",T)}let x,E,A,R,y,f,w=[];function u(V){if(U1(V.target,$))return;t$(w,V),Y=!0,$.handleStartEvent(V),x=X,E=W,G("panzoomstart",{x:X,y:W,scale:B,isSVG:Q,originalEvent:V},$);let T=t6(w);A=T.clientX,R=T.clientY,y=B,f=l$(w)}function C(V){if(!Y||x===void 0||E===void 0||A===void 0||R===void 0)return;t$(w,V);let T=t6(w),g=w.length>1,b=B;if(g){if(f===0)f=l$(w);let N=l$(w)-f;b=L(N*$.step/80+y).scale,I(b,T,{animate:!1},V)}if(!g||$.pinchAndPan)D(x+(T.clientX-A)/b,E+(T.clientY-R)/b,{animate:!1},V)}function v(V){if(w.length===1)G("panzoomend",{x:X,y:W,scale:B,isSVG:Q,originalEvent:V},$);if(B1(w,V),!Y)return;Y=!1,x=E=A=R=void 0}let d=!1;function c(){if(d)return;d=!0,s$("down",$.canvas?K:J,u),s$("move",document,C,{passive:!0}),s$("up",document,v,{passive:!0})}function $J(){d=!1,a$("down",$.canvas?K:J,u),a$("move",document,C),a$("up",document,v)}if(!$.noBind)c();return{bind:c,destroy:$J,eventNames:_8,getPan:()=>({x:X,y:W}),getScale:()=>B,getOptions:()=>D1($),handleDown:u,handleMove:C,handleUp:v,pan:D,reset:k,resetStyle:Z,setOptions:j,setStyle:(V,T)=>j8(J,V,T),zoom:H,zoomIn:M,zoomOut:P,zoomToPoint:I,zoomWithWheel:z}}J6.defaultOptions=J0;var jJ=Uint8Array,TJ=Uint16Array,q6=Int32Array,W$=new jJ([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),G$=new jJ([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),j6=new jJ([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),X0=function(J,$){var Q=new TJ(31);for(var K=0;K<31;++K)Q[K]=$+=1<<J[K-1];var Z=new q6(Q[30]);for(var K=1;K<30;++K)for(var j=Q[K];j<Q[K+1];++j)Z[j]=j-Q[K]<<5|K;return{b:Q,r:Z}},Y0=X0(W$,2),B0=Y0.b,X6=Y0.r;B0[28]=258,X6[258]=28;var W0=X0(G$,0),V1=W0.b,$0=W0.r,Y6=new TJ(32768);for(o=0;o<32768;++o)bJ=(o&43690)>>1|(o&21845)<<1,bJ=(bJ&52428)>>2|(bJ&13107)<<2,bJ=(bJ&61680)>>4|(bJ&3855)<<4,Y6[o]=((bJ&65280)>>8|(bJ&255)<<8)>>1;var bJ,o,gJ=function(J,$,Q){var K=J.length,Z=0,j=new TJ($);for(;Z<K;++Z)if(J[Z])++j[J[Z]-1];var X=new TJ($);for(Z=1;Z<$;++Z)X[Z]=X[Z-1]+j[Z-1]<<1;var W;if(Q){W=new TJ(1<<$);var B=15-$;for(Z=0;Z<K;++Z)if(J[Z]){var Y=Z<<4|J[Z],G=$-J[Z],q=X[J[Z]-1]++<<G;for(var U=q|(1<<G)-1;q<=U;++q)W[Y6[q]>>B]=Y}}else{W=new TJ(K);for(Z=0;Z<K;++Z)if(J[Z])W[Z]=Y6[X[J[Z]-1]++]>>15-J[Z]}return W},dJ=new jJ(288);for(o=0;o<144;++o)dJ[o]=8;var o;for(o=144;o<256;++o)dJ[o]=9;var o;for(o=256;o<280;++o)dJ[o]=7;var o;for(o=280;o<288;++o)dJ[o]=8;var o,E8=new jJ(32);for(o=0;o<32;++o)E8[o]=5;var o,H1=gJ(dJ,9,0),O1=gJ(dJ,9,1),M1=gJ(E8,5,0),I1=gJ(E8,5,1),$6=function(J){var $=J[0];for(var Q=1;Q<J.length;++Q)if(J[Q]>$)$=J[Q];return $},xJ=function(J,$,Q){var K=$/8|0;return(J[K]|J[K+1]<<8)>>($&7)&Q},Q6=function(J,$){var Q=$/8|0;return(J[Q]|J[Q+1]<<8|J[Q+2]<<16)>>($&7)},U6=function(J){return(J+7)/8|0},S8=function(J,$,Q){if($==null||$<0)$=0;if(Q==null||Q>J.length)Q=J.length;return new jJ(J.subarray($,Q))};var P1=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],MJ=function(J,$,Q){var K=Error($||P1[J]);if(K.code=J,Error.captureStackTrace)Error.captureStackTrace(K,MJ);if(!Q)throw K;return K},z1=function(J,$,Q,K){var Z=J.length,j=K?K.length:0;if(!Z||$.f&&!$.l)return Q||new jJ(0);var X=!Q,W=X||$.i!=2,B=$.i;if(X)Q=new jJ(Z*3);var Y=function(BJ){var OJ=Q.length;if(BJ>OJ){var KJ=new jJ(Math.max(OJ*2,BJ));KJ.set(Q),Q=KJ}},G=$.f||0,q=$.p||0,U=$.b||0,L=$.l,D=$.d,H=$.m,O=$.n,M=Z*8;do{if(!L){G=xJ(J,q,1);var P=xJ(J,q+1,3);if(q+=3,!P){var I=U6(q)+4,z=J[I-4]|J[I-3]<<8,k=I+z;if(k>Z){if(B)MJ(0);break}if(W)Y(U+z);Q.set(J.subarray(I,k),U),$.b=U+=z,$.p=q=k*8,$.f=G;continue}else if(P==1)L=O1,D=I1,H=9,O=5;else if(P==2){var x=xJ(J,q,31)+257,E=xJ(J,q+10,15)+4,A=x+xJ(J,q+5,31)+1;q+=14;var R=new jJ(A),y=new jJ(19);for(var f=0;f<E;++f)y[j6[f]]=xJ(J,q+f*3,7);q+=E*3;var w=$6(y),u=(1<<w)-1,C=gJ(y,w,1);for(var f=0;f<A;){var v=C[xJ(J,q,u)];q+=v&15;var I=v>>4;if(I<16)R[f++]=I;else{var d=0,c=0;if(I==16)c=3+xJ(J,q,3),q+=2,d=R[f-1];else if(I==17)c=3+xJ(J,q,7),q+=3;else if(I==18)c=11+xJ(J,q,127),q+=7;while(c--)R[f++]=d}}var $J=R.subarray(0,x),V=R.subarray(x);H=$6($J),O=$6(V),L=gJ($J,H,1),D=gJ(V,O,1)}else MJ(1);if(q>M){if(B)MJ(0);break}}if(W)Y(U+131072);var T=(1<<H)-1,g=(1<<O)-1,b=q;for(;;b=q){var d=L[Q6(J,q)&T],N=d>>4;if(q+=d&15,q>M){if(B)MJ(0);break}if(!d)MJ(2);if(N<256)Q[U++]=N;else if(N==256){b=q,L=null;break}else{var _=N-254;if(N>264){var f=N-257,S=W$[f];_=xJ(J,q,(1<<S)-1)+B0[f],q+=S}var a=D[Q6(J,q)&g],QJ=a>>4;if(!a)MJ(3);q+=a&15;var V=V1[QJ];if(QJ>3){var S=G$[QJ];V+=Q6(J,q)&(1<<S)-1,q+=S}if(q>M){if(B)MJ(0);break}if(W)Y(U+131072);var qJ=U+_;if(U<V){var IJ=j-V,UJ=Math.min(V,qJ);if(IJ+U<0)MJ(3);for(;U<UJ;++U)Q[U]=K[IJ+U]}for(;U<qJ;++U)Q[U]=Q[U-V]}}if($.l=L,$.p=b,$.b=U,$.f=G,L)G=1,$.m=H,$.d=D,$.n=O}while(!G);return U!=Q.length&&X?S8(Q,0,U):Q.subarray(0,U)},mJ=function(J,$,Q){Q<<=$&7;var K=$/8|0;J[K]|=Q,J[K+1]|=Q>>8},N8=function(J,$,Q){Q<<=$&7;var K=$/8|0;J[K]|=Q,J[K+1]|=Q>>8,J[K+2]|=Q>>16},K6=function(J,$){var Q=[];for(var K=0;K<J.length;++K)if(J[K])Q.push({s:K,f:J[K]});var Z=Q.length,j=Q.slice();if(!Z)return{t:q0,l:0};if(Z==1){var X=new jJ(Q[0].s+1);return X[Q[0].s]=1,{t:X,l:1}}Q.sort(function(k,x){return k.f-x.f}),Q.push({s:-1,f:25001});var W=Q[0],B=Q[1],Y=0,G=1,q=2;Q[0]={s:-1,f:W.f+B.f,l:W,r:B};while(G!=Z-1)W=Q[Q[Y].f<Q[q].f?Y++:q++],B=Q[Y!=G&&Q[Y].f<Q[q].f?Y++:q++],Q[G++]={s:-1,f:W.f+B.f,l:W,r:B};var U=j[0].s;for(var K=1;K<Z;++K)if(j[K].s>U)U=j[K].s;var L=new TJ(U+1),D=B6(Q[G-1],L,0);if(D>$){var K=0,H=0,O=D-$,M=1<<O;j.sort(function(x,E){return L[E.s]-L[x.s]||x.f-E.f});for(;K<Z;++K){var P=j[K].s;if(L[P]>$)H+=M-(1<<D-L[P]),L[P]=$;else break}H>>=O;while(H>0){var I=j[K].s;if(L[I]<$)H-=1<<$-L[I]++-1;else++K}for(;K>=0&&H;--K){var z=j[K].s;if(L[z]==$)--L[z],++H}D=$}return{t:new jJ(L),l:D}},B6=function(J,$,Q){return J.s==-1?Math.max(B6(J.l,$,Q+1),B6(J.r,$,Q+1)):$[J.s]=Q},Q0=function(J){var $=J.length;while($&&!J[--$]);var Q=new TJ(++$),K=0,Z=J[0],j=1,X=function(B){Q[K++]=B};for(var W=1;W<=$;++W)if(J[W]==Z&&W!=$)++j;else{if(!Z&&j>2){for(;j>138;j-=138)X(32754);if(j>2)X(j>10?j-11<<5|28690:j-3<<5|12305),j=0}else if(j>3){X(Z),--j;for(;j>6;j-=6)X(8304);if(j>2)X(j-3<<5|8208),j=0}while(j--)X(Z);j=1,Z=J[W]}return{c:Q.subarray(0,K),n:$}},w8=function(J,$){var Q=0;for(var K=0;K<$.length;++K)Q+=J[K]*$[K];return Q},G0=function(J,$,Q){var K=Q.length,Z=U6($+2);J[Z]=K&255,J[Z+1]=K>>8,J[Z+2]=J[Z]^255,J[Z+3]=J[Z+1]^255;for(var j=0;j<K;++j)J[Z+j+4]=Q[j];return(Z+4+K)*8},K0=function(J,$,Q,K,Z,j,X,W,B,Y,G){mJ($,G++,Q),++Z[256];var q=K6(Z,15),U=q.t,L=q.l,D=K6(j,15),H=D.t,O=D.l,M=Q0(U),P=M.c,I=M.n,z=Q0(H),k=z.c,x=z.n,E=new TJ(19);for(var A=0;A<P.length;++A)++E[P[A]&31];for(var A=0;A<k.length;++A)++E[k[A]&31];var R=K6(E,7),y=R.t,f=R.l,w=19;for(;w>4&&!y[j6[w-1]];--w);var u=Y+5<<3,C=w8(Z,dJ)+w8(j,E8)+X,v=w8(Z,U)+w8(j,H)+X+14+3*w+w8(E,y)+2*E[16]+3*E[17]+7*E[18];if(B>=0&&u<=C&&u<=v)return G0($,G,J.subarray(B,B+Y));var d,c,$J,V;if(mJ($,G,1+(v<C)),G+=2,v<C){d=gJ(U,L,0),c=U,$J=gJ(H,O,0),V=H;var T=gJ(y,f,0);mJ($,G,I-257),mJ($,G+5,x-1),mJ($,G+10,w-4),G+=14;for(var A=0;A<w;++A)mJ($,G+3*A,y[j6[A]]);G+=3*w;var g=[P,k];for(var b=0;b<2;++b){var N=g[b];for(var A=0;A<N.length;++A){var _=N[A]&31;if(mJ($,G,T[_]),G+=y[_],_>15)mJ($,G,N[A]>>5&127),G+=N[A]>>12}}}else d=H1,c=dJ,$J=M1,V=E8;for(var A=0;A<W;++A){var S=K[A];if(S>255){var _=S>>18&31;if(N8($,G,d[_+257]),G+=c[_+257],_>7)mJ($,G,S>>23&31),G+=W$[_];var a=S&31;if(N8($,G,$J[a]),G+=V[a],a>3)N8($,G,S>>5&8191),G+=G$[a]}else N8($,G,d[S]),G+=c[S]}return N8($,G,d[256]),G+c[256]},R1=new q6([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),q0=new jJ(0),A1=function(J,$,Q,K,Z,j){var X=j.z||J.length,W=new jJ(K+X+5*(1+Math.ceil(X/7000))+Z),B=W.subarray(K,W.length-Z),Y=j.l,G=(j.r||0)&7;if($){if(G)B[0]=j.r>>3;var q=R1[$-1],U=q>>13,L=q&8191,D=(1<<Q)-1,H=j.p||new TJ(32768),O=j.h||new TJ(D+1),M=Math.ceil(Q/3),P=2*M,I=function(FJ){return(J[FJ]^J[FJ+1]<<M^J[FJ+2]<<P)&D},z=new q6(25000),k=new TJ(288),x=new TJ(32),E=0,A=0,R=j.i||0,y=0,f=j.w||0,w=0;for(;R+2<X;++R){var u=I(R),C=R&32767,v=O[u];if(H[C]=v,O[u]=C,f<=R){var d=X-R;if((E>7000||y>24576)&&(d>423||!Y)){G=K0(J,B,0,z,k,x,A,y,w,R-w,G),y=E=A=0,w=R;for(var c=0;c<286;++c)k[c]=0;for(var c=0;c<30;++c)x[c]=0}var $J=2,V=0,T=L,g=C-v&32767;if(d>2&&u==I(R-g)){var b=Math.min(U,d)-1,N=Math.min(32767,R),_=Math.min(258,d);while(g<=N&&--T&&C!=v){if(J[R+$J]==J[R+$J-g]){var S=0;for(;S<_&&J[R+S]==J[R+S-g];++S);if(S>$J){if($J=S,V=g,S>b)break;var a=Math.min(g,S-2),QJ=0;for(var c=0;c<a;++c){var qJ=R-g+c&32767,IJ=H[qJ],UJ=qJ-IJ&32767;if(UJ>QJ)QJ=UJ,v=qJ}}}C=v,v=H[C],g+=C-v&32767}}if(V){z[y++]=268435456|X6[$J]<<18|$0[V];var BJ=X6[$J]&31,OJ=$0[V]&31;A+=W$[BJ]+G$[OJ],++k[257+BJ],++x[OJ],f=R+$J,++E}else z[y++]=J[R],++k[J[R]]}}for(R=Math.max(R,f);R<X;++R)z[y++]=J[R],++k[J[R]];if(G=K0(J,B,Y,z,k,x,A,y,w,R-w,G),!Y)j.r=G&7|B[G/8|0]<<3,G-=7,j.h=O,j.p=H,j.i=R,j.w=f}else{for(var R=j.w||0;R<X+Y;R+=65535){var KJ=R+65535;if(KJ>=X)B[G/8|0]=Y,KJ=X;G=G0(B,G+1,J.subarray(R,KJ))}j.i=X}return S8(W,0,K+U6(G)+Z)},C1=function(){var J=new Int32Array(256);for(var $=0;$<256;++$){var Q=$,K=9;while(--K)Q=(Q&1&&-306674912)^Q>>>1;J[$]=Q}return J}(),T1=function(){var J=-1;return{p:function($){var Q=J;for(var K=0;K<$.length;++K)Q=C1[Q&255^$[K]]^Q>>>8;J=Q},d:function(){return~J}}};var _1=function(J,$,Q,K,Z){if(!Z){if(Z={l:1},$.dictionary){var j=$.dictionary.subarray(-32768),X=new jJ(j.length+J.length);X.set(j),X.set(J,j.length),J=X,Z.w=j.length}}return A1(J,$.level==null?6:$.level,$.mem==null?Z.l?Math.ceil(Math.max(8,Math.min(13,Math.log(J.length)))*1.5):20:12+$.mem,Q,K,Z)},U0=function(J,$){var Q={};for(var K in J)Q[K]=J[K];for(var K in $)Q[K]=$[K];return Q};var vJ=function(J,$){return J[$]|J[$+1]<<8},_J=function(J,$){return(J[$]|J[$+1]<<8|J[$+2]<<16|J[$+3]<<24)>>>0},Z6=function(J,$){return _J(J,$)+_J(J,$+4)*4294967296},LJ=function(J,$,Q){for(;Q;++$)J[$]=Q,Q>>>=8};function N1(J,$){return _1(J,$||{},0,0)}function w1(J,$){return z1(J,{i:2},$&&$.out,$&&$.dictionary)}var F0=function(J,$,Q,K){for(var Z in J){var j=J[Z],X=$+Z,W=K;if(Array.isArray(j))W=U0(K,j[1]),j=j[0];if(ArrayBuffer.isView(j))Q[X]=[j,W];else Q[X+="/"]=[new jJ(0),W],F0(j,X,Q,K)}},Z0=typeof TextEncoder<"u"&&new TextEncoder,W6=typeof TextDecoder<"u"&&new TextDecoder,E1=0;try{W6.decode(q0,{stream:!0}),E1=1}catch(J){}var S1=function(J){for(var $="",Q=0;;){var K=J[Q++],Z=(K>127)+(K>223)+(K>239);if(Q+Z>J.length)return{s:$,r:S8(J,Q-1)};if(!Z)$+=String.fromCharCode(K);else if(Z==3)K=((K&15)<<18|(J[Q++]&63)<<12|(J[Q++]&63)<<6|J[Q++]&63)-65536,$+=String.fromCharCode(55296|K>>10,56320|K&1023);else if(Z&1)$+=String.fromCharCode((K&31)<<6|J[Q++]&63);else $+=String.fromCharCode((K&15)<<12|(J[Q++]&63)<<6|J[Q++]&63)}};function B$(J,$){if($){var Q=new jJ(J.length);for(var K=0;K<J.length;++K)Q[K]=J.charCodeAt(K);return Q}if(Z0)return Z0.encode(J);var Z=J.length,j=new jJ(J.length+(J.length>>1)),X=0,W=function(G){j[X++]=G};for(var K=0;K<Z;++K){if(X+5>j.length){var B=new jJ(X+8+(Z-K<<1));B.set(j),j=B}var Y=J.charCodeAt(K);if(Y<128||$)W(Y);else if(Y<2048)W(192|Y>>6),W(128|Y&63);else if(Y>55295&&Y<57344)Y=65536+(Y&1047552)|J.charCodeAt(++K)&1023,W(240|Y>>18),W(128|Y>>12&63),W(128|Y>>6&63),W(128|Y&63);else W(224|Y>>12),W(128|Y>>6&63),W(128|Y&63)}return S8(j,0,X)}function q$(J,$){if($){var Q="";for(var K=0;K<J.length;K+=16384)Q+=String.fromCharCode.apply(null,J.subarray(K,K+16384));return Q}else if(W6)return W6.decode(J);else{var Z=S1(J),j=Z.s,Q=Z.r;if(Q.length)MJ(8);return j}}var k1=function(J,$){return $+30+vJ(J,$+26)+vJ(J,$+28)},x1=function(J,$,Q){var K=vJ(J,$+28),Z=vJ(J,$+30),j=q$(J.subarray($+46,$+46+K),!(vJ(J,$+8)&2048)),X=$+46+K,W=y1(J,X,Z,Q,_J(J,$+20),_J(J,$+24),_J(J,$+42)),B=W[0],Y=W[1],G=W[2];return[vJ(J,$+10),B,Y,j,X+Z+vJ(J,$+32),G]},y1=function(J,$,Q,K,Z,j,X){var W=Z==4294967295,B=j==4294967295,Y=X==4294967295,G=$+Q,q=W+B+Y;if(K&&q){for(;$+4<G;$+=4+vJ(J,$+2))if(vJ(J,$)==1)return[W?Z6(J,$+4+8*B):Z,B?Z6(J,$+4):j,Y?Z6(J,$+4+8*(B+W)):X,1];if(K<2)MJ(13)}return[Z,j,X,0]},G6=function(J){var $=0;if(J)for(var Q in J){var K=J[Q].length;if(K>65535)MJ(9);$+=K+4}return $},j0=function(J,$,Q,K,Z,j,X,W){var B=K.length,Y=Q.extra,G=W&&W.length,q=G6(Y);if(LJ(J,$,X!=null?33639248:67324752),$+=4,X!=null)J[$++]=20,J[$++]=Q.os;J[$]=20,$+=2,J[$++]=Q.flag<<1|(j<0&&8),J[$++]=Z&&8,J[$++]=Q.compression&255,J[$++]=Q.compression>>8;var U=new Date(Q.mtime==null?Date.now():Q.mtime),L=U.getFullYear()-1980;if(L<0||L>119)MJ(10);if(LJ(J,$,L<<25|U.getMonth()+1<<21|U.getDate()<<16|U.getHours()<<11|U.getMinutes()<<5|U.getSeconds()>>1),$+=4,j!=-1)LJ(J,$,Q.crc),LJ(J,$+4,j<0?-j-2:j),LJ(J,$+8,Q.size);if(LJ(J,$+12,B),LJ(J,$+14,q),$+=16,X!=null)LJ(J,$,G),LJ(J,$+6,Q.attrs),LJ(J,$+10,X),$+=14;if(J.set(K,$),$+=B,q)for(var D in Y){var H=Y[D],O=H.length;LJ(J,$,+D),LJ(J,$+2,O),J.set(H,$+4),$+=4+O}if(G)J.set(W,$),$+=G;return $},b1=function(J,$,Q,K,Z){LJ(J,$,101010256),LJ(J,$+8,Q),LJ(J,$+10,Q),LJ(J,$+12,K),LJ(J,$+16,Z)};function L0(J,$){if(!$)$={};var Q={},K=[];F0(J,"",Q,$);var Z=0,j=0;for(var X in Q){var W=Q[X],B=W[0],Y=W[1],G=Y.level==0?0:8,q=B$(X),U=q.length,L=Y.comment,D=L&&B$(L),H=D&&D.length,O=G6(Y.extra);if(U>65535)MJ(11);var M=G?N1(B,Y):B,P=M.length,I=T1();I.p(B),K.push(U0(Y,{size:B.length,crc:I.d(),c:M,f:q,m:D,u:U!=X.length||D&&L.length!=H,o:Z,compression:G})),Z+=30+U+O+P,j+=76+2*(U+O)+(H||0)+P}var z=new jJ(j+22),k=Z,x=j-Z;for(var E=0;E<K.length;++E){var q=K[E];j0(z,q.o,q,q.f,q.u,q.c.length);var A=30+q.f.length+G6(q.extra);z.set(q.c,q.o+A),j0(z,Z,q,q.f,q.u,q.c.length,q.o,q.m),Z+=16+A+(q.m?q.m.length:0)}return b1(z,Z,K.length,x,k),z}function D0(J,$){var Q={},K=J.length-22;for(;_J(J,K)!=101010256;--K)if(!K||J.length-K>65558)MJ(13);var Z=vJ(J,K+8);if(!Z)return{};var j=_J(J,K+16),X=_J(J,K-20)==117853008;if(X){var W=_J(J,K-12);if(X=_J(J,W)==101075792,X)Z=_J(J,W+32),j=_J(J,W+48)}var B=$&&$.filter;for(var Y=0;Y<Z;++Y){var G=x1(J,j,X),q=G[0],U=G[1],L=G[2],D=G[3],H=G[4],O=G[5],M=k1(J,O);if(j=H,!B||B({name:D,size:U,originalSize:L,compression:q}))if(!q)Q[D]=S8(J,M,M+U);else if(q==8)Q[D]=w1(J.subarray(M,M+U),{out:new jJ(L)});else MJ(14,"unknown compression type "+q)}return Q}var TQ=Q1(RQ(),1),_4=new Set(["x","y","w","h","opacity","rotation","radius","spread","font-size","font-weight","line-height","letter-spacing","arc-start","arc-end","arc-inner","border-width","min-width","max-width","min-height","max-height","columns","corner-smoothing","paragraph-spacing","paragraph-indent","pt","pr","pb","pl","max-lines","mask-x","mask-y","mask-width","mask-height","miter-limit","unit","col-span","row-span"]),N4=new Set(["wrap","clip","mask","abs","truncate","reverse-z"]);function l8(J,$){if($==="true")return!0;if($==="false")return!1;if(N4.has(J)&&$==="")return!0;if(_4.has(J)){if((J==="w"||J==="h")&&($==="fill"||$==="hug"))return $;let Q=Number($);return Number.isFinite(Q)?Q:$}return $}function AQ(J,$,Q,K){let Z={},j={};for(let B=0;B<J.attributes.length;B++){let{name:Y,value:G}=J.attributes[B],q=C8(G,$);Z[Y]=l8(Y,q);let U=E$(G,$);if(U)j[Y]=U}let X=J.getAttribute("fill-style");if(X&&Q[X]!==void 0)Z.fill=C8(Q[X],$),delete Z["fill-style"],delete j["fill-style"],Z.fillStyle=X;let W=J.getAttribute("text-style");if(W&&K[W]){let B=K[W];for(let Y of Object.keys(B))if(J.getAttribute(Y)===null)Z[Y]=l8(Y,C8(B[Y],$));delete Z["text-style"],delete j["text-style"],Z.textStyle=W}if(Object.keys(j).length)Z.tokens=j;return Z}function C8(J,$){if(!J||J.indexOf("$")===-1)return J;return J.replace(/\$([A-Za-z0-9_.-]+)/g,(Q,K)=>$[K]??Q)}function E$(J,$){if(!J||J.indexOf("$")===-1)return;let Q=J.match(/\$([A-Za-z0-9_.-]+)/g);if(!Q)return;for(let K of Q){let Z=K.slice(1);if($[Z]!==void 0)return Z}return}function x6(J,$,Q){if(J.axis&&J.byValue){let K=$[J.axis]?$[J.axis].default:void 0,Z=Q[J.axis]!==void 0?Q[J.axis]:K;if(Z!==void 0&&J.byValue[Z]!==void 0)return J.byValue[Z];if(K!==void 0&&J.byValue[K]!==void 0)return J.byValue[K]}return J.value}function w4(J,$,Q){let K={};for(let Z of Object.keys(J)){let j=x6(J[Z],$,Q);if(j!==void 0)K[Z]=j}return K}var E4={abs:"true",clip:"true",gap:"auto",mask:"true","reverse-z":"true",truncate:"true",wrap:"true"};function S4(J){let $="",Q=0;while(Q<J.length){let K=J[Q];if(K==='"'||K==="'"){let G=K,q=Q;Q++;while(Q<J.length&&J[Q]!==G)Q++;if(Q<J.length)Q++;$+=J.slice(q,Q);continue}if(!/\s/.test(K)){$+=K,Q++;continue}let j=Q;while(Q<J.length&&/\s/.test(J[Q]))Q++;let X=Q;if(!/[A-Za-z]/.test(J[Q]||"")){$+=J.slice(j,Q+1),Q++;continue}while(Q<J.length&&/[\w-]/.test(J[Q]))Q++;let W=J.slice(X,Q),B=J[Q],Y=E4[W];if(Y&&(/\s/.test(B||"")||B==="/"||B===">"))$+=`${J.slice(j,X)}${W}="${Y}"`;else $+=J.slice(j,Q)}return $}function k4(J){let $="",Q=0;while(Q<J.length){let K=J.indexOf("<",Q);if(K===-1){$+=J.slice(Q);break}if($+=J.slice(Q,K),J.startsWith("<!--",K)){let B=J.indexOf("-->",K+4),Y=B===-1?J.length:B+3;$+=J.slice(K,Y),Q=Y;continue}let Z=K+1,j=null;while(Z<J.length){let B=J[Z];if(j){if(B===j)j=null}else if(B==='"'||B==="'")j=B;else if(B===">")break;Z++}let X=Z<J.length?Z+1:J.length,W=J.slice(K,X);if(/^<\/|^<\?|^<!/.test(W))$+=W;else $+=S4(W);Q=X}return $}function x4(J){let $={},Q=(K)=>{let Z=K.getAttribute("name"),j=K.getAttribute("values");if(!Z||!j)return;let X=j.trim().split(/\s+/).filter(Boolean);if(!X.length)return;let W=K.getAttribute("default"),B=W&&X.indexOf(W)!==-1?W:X[0];$[Z]={values:X,default:B}};for(let K of Array.from(J.children))if(K.tagName==="mode")Q(K);else if(K.tagName==="modes"){for(let Z of Array.from(K.children))if(Z.tagName==="mode")Q(Z)}return $}var y4={color:"color",number:"number",string:"string"};function b4(J,$){let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="tokens")continue;for(let Z of Array.from(K.children)){let j=y4[Z.tagName];if(!j)continue;let X=Z.getAttribute("name");if(!X)continue;let W={type:j},B=Z.getAttribute("value");if(B!==null)W.value=B;let Y,G={};for(let q=0;q<Z.attributes.length;q++){let U=Z.attributes[q],L,D;for(let H of Object.keys($)){let O=H+"-";if(U.name.indexOf(O)!==0)continue;let M=U.name.slice(O.length);if($[H].values.indexOf(M)===-1)continue;if(L===void 0||H.length>L.length)L=H,D=M}if(L===void 0||D===void 0)continue;if(Y===void 0)Y=L;if(L!==Y)continue;G[D]=U.value}if(Y!==void 0&&Object.keys(G).length>0)W.axis=Y,W.byValue=G;Q[X]=W}}return Q}function v4(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="fonts")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="font")continue;let Z=K.getAttribute("family"),j=K.getAttribute("source");if(!Z||!j)continue;$[Z]={source:j,category:K.getAttribute("category")||void 0,weights:K.getAttribute("weights")||void 0,styles:K.getAttribute("styles")||void 0,variants:K.getAttribute("variants")||void 0}}}return $}var g4=["font-family","font-size","font-weight","font-style","font-variation","font-feature","line-height","letter-spacing","decoration","decoration-color","decoration-style","decoration-thickness","text-case"];function u4(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="styles")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="text-style")continue;let Z=K.getAttribute("name");if(!Z)continue;let j={};for(let X of g4){let W=K.getAttribute(X);if(W!==null)j[X]=W}$[Z]=j}}return $}function h4(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="styles")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="fill-style")continue;let Z=K.getAttribute("name"),j=K.getAttribute("value");if(Z&&j!==null)$[Z]=j}}return $}function f4(J,$){let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="styles")continue;for(let Z of Array.from(K.children)){if(Z.tagName!=="effect-style")continue;let j=Z.getAttribute("name");if(!j)continue;Q[j]=Array.from(Z.children).filter((X)=>X.tagName==="effect").map((X)=>_Q(X,$))}}return Q}function m4(J,$){if(Object.keys($).length>0)return $;let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="assets")continue;for(let Z of Array.from(K.children)){if(Z.tagName!=="image")continue;let j=Z.getAttribute("id"),X=Z.getAttribute("format")||"png",W=Z.getAttribute("src")||"";if(!j)continue;let B=X==="svg"?"svg+xml":X;if(W.startsWith("base64:"))Q[`assets/${j}.${X}`]=`data:image/${B};base64,${W.slice(7)}`;else if(W)Q[`assets/${j}.${X}`]=W}}return Q}var p4=new Set(["frame","stack","row","col","grid","group"]),c4=new Set(["text","img","rect","ellipse","line","svg","shape","instance"]),n4=new Set([...p4,...c4]);function _Q(J,$){let Q={};for(let K=0;K<J.attributes.length;K++){let{name:Z,value:j}=J.attributes[K];if(Q[Z]=l8(Z,C8(j,$)),Z==="color"){let X=E$(j,$);if(X)Q.token=X}}return Q}function r4(J,$,Q,K,Z){let j=[],X=[],W=[];for(let B of Array.from(J.children))if(B.tagName==="fill"){let Y={};for(let G=0;G<B.attributes.length;G++){let{name:q,value:U}=B.attributes[G],L=C8(U,$);if(q==="value"){let D=E$(U,$);if(D)Y.token=D}if(q==="src")L=Z[L]||L;Y[q]=l8(q,L)}j.push(Y)}else if(B.tagName==="effect")X.push(_Q(B,$));else if(B.tagName==="border"){let Y={};for(let G=0;G<B.attributes.length;G++){let{name:q,value:U}=B.attributes[G];if(Y[q]=l8(q,C8(U,$)),q==="color"){let L=E$(U,$);if(L)Y.token=L}}W.push(Y)}return{fills:j,effects:X,borders:W}}function a8(J,$,Q,K,Z,j){let X=AQ(J,$,Q,K),W=J.getAttribute("src");if(W&&j[W])X.src=j[W];let B=J.getAttribute("effect-style"),Y={type:J.tagName,...X};if(B)delete Y["effect-style"],Y.effectStyle=B;if(J.tagName==="svg"&&!J.getAttribute("src")){let D=new XMLSerializer,H=Array.from(J.children);if(H.length>0){let O="";for(let M=0;M<H.length;M++)O+=D.serializeToString(H[M]);Y.svgContent=O.replace(/\s+xmlns=""/g,"")}return Y}let G=[],q=[],U=[],L;for(let D of Array.from(J.children))if(D.tagName==="appearance")L=r4(D,$,Q,Z,j);else if(D.tagName==="segment"){let H=AQ(D,$,Q,K);q.push({type:"segment",...H})}else if(D.tagName==="path"){let H=D.getAttribute("d");if(H)U.push(H)}else if(n4.has(D.tagName))G.push(a8(D,$,Q,K,Z,j));if(B&&Z[B]){let D=Z[B];if(!L)L={fills:[],effects:[],borders:[]};L.effects=[...D,...L.effects]}if(L)Y.appearance=L;if(q.length)Y.segments=q;if(U.length)Y.paths=U;if(G.length)Y.children=G;return Y}function d4(J,$,Q,K,Z,j){let X={};for(let W of Array.from(J.children)){if(W.tagName!=="components")continue;for(let B of Array.from(W.children))if(B.tagName==="component"){let Y=B.getAttribute("id");if(!Y)continue;let G=Array.from(B.children).find((U)=>U.tagName==="props"),q=Array.from(B.children).find((U)=>U.tagName!=="props");X[Y]={id:Y,name:B.getAttribute("name")||void 0,props:G?CQ(G):[],body:q?a8(q,$,Q,K,Z,j):null}}else if(B.tagName==="component-set"){let Y=B.getAttribute("id");if(!Y)continue;let G=[];for(let q of Array.from(B.children)){if(q.tagName!=="variant")continue;let U=q.getAttribute("id");if(!U)continue;let L={};for(let O=0;O<q.attributes.length;O++){let{name:M,value:P}=q.attributes[O];if(M!=="id")L[M]=P}let D=Array.from(q.children).find((O)=>O.tagName!=="props");G.push({id:U,attrs:L,body:D?a8(D,$,Q,K,Z,j):null});let H=Array.from(q.children).find((O)=>O.tagName==="props");X[U]={id:U,props:H?CQ(H):[],body:D?a8(D,$,Q,K,Z,j):null}}X[Y]={id:Y,name:B.getAttribute("name")||void 0,props:[],body:null,variants:G}}}return X}function CQ(J){let $=[];for(let Q of Array.from(J.children)){if(Q.tagName!=="prop")continue;let K=Q.getAttribute("name"),Z=Q.getAttribute("type"),j=Q.getAttribute("target"),X=Q.getAttribute("bind");if(!K||!Z||!j)continue;let W={name:K,type:Z,target:j};if(X)W.bind=X;$.push(W)}return $}function S$(J,$){let Q;try{let O=k4(J).replace(/&(?!amp;|lt;|gt;|quot;|apos;|#)/g,"&amp;"),M=globalThis.DOMParser;if(M){if(Q=new M().parseFromString(O,"text/xml"),Q.querySelector?.("parsererror"))return null}else Q=new TQ.DOMParser({onError:(P,I)=>{if(P==="fatalError")throw Error(I)}}).parseFromString(O,"text/xml")}catch{return null}let K=Q.documentElement;if(!K||K.tagName!=="gui")return null;let Z=x4(K),j=b4(K,Z),X=w4(j,Z,{}),W=v4(K),B=u4(K),Y=h4(K),G=f4(K,X),q=m4(K,$||{}),U=d4(K,X,Y,B,G,q),L=new Set(["stack","row","col","grid"]),D=null;for(let O of Array.from(K.children))if(O.tagName==="frame"||L.has(O.tagName)){D=O;break}let H=D?a8(D,X,Y,B,G,q):null;return{version:K.getAttribute("version"),name:K.getAttribute("name"),platform:K.getAttribute("platform"),fonts:W,modes:Z,tokenDefs:j,tokens:X,textStyles:B,styles:B,fillStyles:Y,effectStyles:G,assets:q,components:U,root:H}}var b6={},u6={},yQ={},J$={},bQ={},h6={},K8={},vQ={},gQ=new Map,o4={abs:"true",clip:"true",gap:"auto",mask:"true","reverse-z":"true",truncate:"true",wrap:"true"};function i4(J){let $="",Q=0;while(Q<J.length){let K=J[Q];if(K==='"'||K==="'"){let G=K,q=Q;Q++;while(Q<J.length&&J[Q]!==G)Q++;if(Q<J.length)Q++;$+=J.slice(q,Q);continue}if(!/\s/.test(K)){$+=K,Q++;continue}let j=Q;while(Q<J.length&&/\s/.test(J[Q]))Q++;let X=Q;if(!/[A-Za-z]/.test(J[Q]||"")){$+=J.slice(j,Q+1),Q++;continue}while(Q<J.length&&/[\w-]/.test(J[Q]))Q++;let W=J.slice(X,Q),B=J[Q],Y=o4[W];if(Y&&(/\s/.test(B||"")||B==="/"||B===">"))$+=`${J.slice(j,X)}${W}="${Y}"`;else $+=J.slice(j,Q)}return $}function s4(J){let $="",Q=0;while(Q<J.length){let K=J.indexOf("<",Q);if(K===-1){$+=J.slice(Q);break}if($+=J.slice(Q,K),J.startsWith("<!--",K)){let B=J.indexOf("-->",K+4),Y=B===-1?J.length:B+3;$+=J.slice(K,Y),Q=Y;continue}let Z=K+1,j=null;while(Z<J.length){let B=J[Z];if(j){if(B===j)j=null}else if(B==='"'||B==="'")j=B;else if(B===">")break;Z++}let X=Z<J.length?Z+1:J.length,W=J.slice(K,X);if(/^<\/|^<\?|^<!/.test(W))$+=W;else $+=i4(W);Q=X}return $}function f6(J){if(!J||J.indexOf("$")===-1)return J;return J.replace(/\$([A-Za-z0-9_.-]+)/g,($,Q)=>{let K=yQ[Q];if(K){let Z=x6(K,u6,J$);if(Z!==void 0)return Z}return b6[Q]!==void 0?b6[Q]:$})}function uQ(J,$){let Q=null;for(let K=0;K<J.attributes.length;K++){let Z=J.attributes[K].name;if(Z.indexOf("mode-")!==0)continue;let j=Z.slice(5);if(!u6[j])continue;if(!Q)Q={...$};Q[j]=J.attributes[K].value}return Q||$}function m6(J,$){if(!J)return null;if($[J])return $[J];if(J.startsWith("https://")||J.startsWith("http://")||J.startsWith("data:"))return J;return null}function F(J,$){return f6(J.getAttribute($))}function JJ(J,$){return J.getAttribute($)}function yJ(J){return/^-?\d+(\.\d+)?$/.test(J)?`${J}px`:J}function e8(J){if(!J)return"auto";if(J==="fill")return"100%";if(J==="hug")return"fit-content";return yJ(J)}function NQ(J){let $=parseInt(J.slice(0,2),16),Q=parseInt(J.slice(2,4),16),K=parseInt(J.slice(4,6),16),Z=(parseInt(J.slice(6,8),16)/255).toFixed(3);return`rgba(${$},${Q},${K},${Z})`}function l(J){if(!J)return"transparent";if(J.startsWith("rgba(")||J.startsWith("oklch("))return J;if(J.startsWith("linear-gradient")||J.startsWith("radial-gradient")||J.startsWith("conic-gradient"))return J.replace(/#([0-9a-fA-F]{8})\b/g,($,Q)=>NQ(Q));if(J.length===9&&J[0]==="#")return NQ(J.slice(1));return J}function T8(J){if(!J)return"none";if(J.startsWith("linear-gradient")||J.startsWith("radial-gradient")||J.startsWith("conic-gradient")){let $=J.match(/rgba?\([^)]+\)|#[0-9a-fA-F]{6,8}/);return $?l($[0]):"none"}return l(J)}function y$(J){if(!J)return"0";return J.split(" ").map(yJ).join(" ")}function a4(J){if(!J)return"0";return J.split(" ").map(yJ).join(" ")}function b$(J){if(!J)return null;let $=J.split(" ");if($.length>=5)return`${$[0]}px ${$[1]}px ${$[2]}px ${$[3]}px ${l($[4])}`;return null}function l4(J){if(!/^-?\d+(\.\d+)?$/.test(J))return J;let $=parseFloat(J);if(Number.isFinite($)&&$>0&&$<=4)return String($);return`${J}px`}function t4(J){return`"${J.replace(/\\/g,"\\\\").replace(/"/g,"\\\"")}"`}function e4(J,$){if(J?.source==="system")return'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif';if(J?.category==="serif")return"serif";if(J?.category==="monospace"||/mono|code|console/i.test($))return"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";if(J?.category==="handwriting")return"cursive";return"sans-serif"}function J7(J){return`${t4(J)}, ${e4(bQ[J],J)}`}function $7(J,$,Q){if(Q===null)return null;let K=(Q===""?"auto":Q).trim().split(/\s+/),Z=K[0],j=K[1]||null,X=null;if(Z==="auto")J.style.justifyContent="space-between";else if(/^-\d+(\.\d+)?$/.test(Z))X=parseFloat(Z);else{let W=yJ(Z);if($==="horizontal")J.style.columnGap=W;else J.style.rowGap=W}if(j!==null)if(j==="auto")J.style.alignContent="space-between";else{let W=yJ(j);if($==="horizontal")J.style.rowGap=W;else J.style.columnGap=W}return X}var Q7=`
5
+ `)}function MK(J){if(J=J||{},J.locator===void 0)J.locator=!0;if(this.assign=J.assign||s8.assign,this.domHandler=J.domHandler||K0,this.onError=J.onError||J.errorHandler,J.errorHandler&&typeof J.errorHandler!=="function")throw TypeError("errorHandler object is no longer supported, switch to onError!");else if(J.errorHandler)J.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this);this.normalizeLineEndings=J.normalizeLineEndings||OK,this.locator=!!J.locator,this.xmlns=this.assign(Object.create(null),J.xmlns)}MK.prototype.parseFromString=function(J,$){if(!RZ($))throw TypeError('DOMParser.parseFromString: the provided mimeType "'+$+'" is not valid.');var Q=this.assign(Object.create(null),this.xmlns),K=UK.XML_ENTITIES,Z=Q[""]||null;if(PZ($))K=UK.HTML_ENTITIES,Z=LQ.HTML;else if($===VK.XML_SVG_IMAGE)Z=LQ.SVG;Q[""]=Z,Q.xml=Q.xml||LQ.XML;var X=new this.domHandler({mimeType:$,defaultNamespace:Z,onError:this.onError}),Y=this.locator?{}:void 0;if(this.locator)X.setDocumentLocator(Y);var W=new IZ;W.errorHandler=X,W.domBuilder=X;var B=!s8.isHTMLMimeType($);if(B&&typeof J!=="string")W.errorHandler.fatalError("source is not a string");if(W.parse(this.normalizeLineEndings(String(J)),Q,K),!X.doc.documentElement)W.errorHandler.fatalError("missing root element");return X.doc};function K0(J){var $=J||{};this.mimeType=$.mimeType||VK.XML_APPLICATION,this.defaultNamespace=$.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=$.onError}function A$(J,$){$.lineNumber=J.lineNumber,$.columnNumber=J.columnNumber}K0.prototype={startDocument:function(){var J=new MZ;this.doc=HZ(this.mimeType)?J.createHTMLDocument(!1):J.createDocument(this.defaultNamespace,"")},startElement:function(J,$,Q,K){var Z=this.doc,X=Z.createElementNS(J,Q||$),Y=K.length;Q0(this,X),this.currentElement=X,this.locator&&A$(this.locator,X);for(var W=0;W<Y;W++){var J=K.getURI(W),B=K.getValue(W),Q=K.getQName(W),G=Z.createAttributeNS(J,Q);this.locator&&A$(K.getLocator(W),G),G.value=G.nodeValue=B,X.setAttributeNode(G)}},endElement:function(J,$,Q){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(J,$){},endPrefixMapping:function(J){},processingInstruction:function(J,$){var Q=this.doc.createProcessingInstruction(J,$);this.locator&&A$(this.locator,Q),Q0(this,Q)},ignorableWhitespace:function(J,$,Q){},characters:function(J,$,Q){if(J=LK.apply(this,arguments),J){if(this.cdata)var K=this.doc.createCDATASection(J);else var K=this.doc.createTextNode(J);if(this.currentElement)this.currentElement.appendChild(K);else if(/^\s*$/.test(J))this.doc.appendChild(K);this.locator&&A$(this.locator,K)}},skippedEntity:function(J){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(J){if(J)J.lineNumber=0;this.locator=J},comment:function(J,$,Q){J=LK.apply(this,arguments);var K=this.doc.createComment(J);this.locator&&A$(this.locator,K),Q0(this,K)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(J,$,Q,K){var Z=this.doc.implementation;if(Z&&Z.createDocumentType){var X=Z.createDocumentType(J,$,Q,K);this.locator&&A$(this.locator,X),Q0(this,X),this.doc.doctype=X}},reportError:function(J,$){if(typeof this.onError==="function")try{this.onError(J,$,this)}catch(Q){throw new DK("Reporting "+J+' "'+$+'" caused '+Q,this.locator)}else console.error("[xmldom "+J+"]\t"+$,zZ(this.locator))},warning:function(J){this.reportError("warning",J)},error:function(J){this.reportError("error",J)},fatalError:function(J){throw this.reportError("fatalError",J),new DK(J,this.locator)}};function zZ(J){if(J)return`
6
+ @#[line:`+J.lineNumber+",col:"+J.columnNumber+"]"}function LK(J,$,Q){if(typeof J=="string")return J.substr($,Q);else{if(J.length>=$+Q||$)return new java.lang.String(J,$,Q)+"";return J}}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(J){K0.prototype[J]=function(){return null}});function Q0(J,$){if(!J.currentElement)J.doc.appendChild($);else J.currentElement.appendChild($)}function CZ(J){if(J==="error")throw"onErrorStopParsing"}function AZ(){throw"onWarningStopParsing"}T$.__DOMHandler=K0;T$.DOMParser=MK;T$.normalizeLineEndings=OK;T$.onErrorStopParsing=CZ;T$.onWarningStopParsing=AZ});var HK=T8((FJ)=>{var _$=o8();FJ.assign=_$.assign;FJ.hasDefaultHTMLNamespace=_$.hasDefaultHTMLNamespace;FJ.isHTMLMimeType=_$.isHTMLMimeType;FJ.isValidMimeType=_$.isValidMimeType;FJ.MIME_TYPE=_$.MIME_TYPE;FJ.NAMESPACE=_$.NAMESPACE;var Z0=$6();FJ.DOMException=Z0.DOMException;FJ.DOMExceptionName=Z0.DOMExceptionName;FJ.ExceptionCode=Z0.ExceptionCode;FJ.ParseError=Z0.ParseError;var SJ=UQ();FJ.Attr=SJ.Attr;FJ.CDATASection=SJ.CDATASection;FJ.CharacterData=SJ.CharacterData;FJ.Comment=SJ.Comment;FJ.Document=SJ.Document;FJ.DocumentFragment=SJ.DocumentFragment;FJ.DocumentType=SJ.DocumentType;FJ.DOMImplementation=SJ.DOMImplementation;FJ.Element=SJ.Element;FJ.Entity=SJ.Entity;FJ.EntityReference=SJ.EntityReference;FJ.LiveNodeList=SJ.LiveNodeList;FJ.NamedNodeMap=SJ.NamedNodeMap;FJ.Node=SJ.Node;FJ.NodeList=SJ.NodeList;FJ.Notation=SJ.Notation;FJ.ProcessingInstruction=SJ.ProcessingInstruction;FJ.Text=SJ.Text;FJ.XMLSerializer=SJ.XMLSerializer;var X0=PK();FJ.DOMParser=X0.DOMParser;FJ.normalizeLineEndings=X0.normalizeLineEndings;FJ.onErrorStopParsing=X0.onErrorStopParsing;FJ.onWarningStopParsing=X0.onWarningStopParsing});var OQ={};xK(OQ,{switchableAxes:()=>G0,install:()=>VQ,fetchGui:()=>m6,detectModes:()=>j0,defineGuiEmbed:()=>W0,decodeMarkup:()=>f6,decodeBytes:()=>i0,GuiEmbedElement:()=>B0});var c8=(J,$)=>()=>($||J(($={exports:{}}).exports,$),$.exports),j$=c8((J)=>{function $(T,_,b){if(b===void 0)b=Array.prototype;if(T&&typeof b.find==="function")return b.find.call(T,_);for(var n=0;n<T.length;n++)if(K(T,n)){var d=T[n];if(_.call(void 0,d,n,T))return d}}function Q(T,_){if(_===void 0)_=Object;if(_&&typeof _.getOwnPropertyDescriptors==="function")T=_.create(null,_.getOwnPropertyDescriptors(T));return _&&typeof _.freeze==="function"?_.freeze(T):T}function K(T,_){return Object.prototype.hasOwnProperty.call(T,_)}function Z(T,_){if(T===null||typeof T!=="object")throw TypeError("target is not an object");for(var b in _)if(K(_,b))T[b]=_[b];return T}var X=Q({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});function Y(T){return K(X,T.toLowerCase())}var W=Q({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function B(T){return K(W,T.toLowerCase())}var G=Q({script:!1,style:!1,textarea:!0,title:!0});function U(T){var _=T.toLowerCase();return K(G,_)&&!G[_]}function D(T){var _=T.toLowerCase();return K(G,_)&&G[_]}function F(T){return T===V.HTML}function L(T){return F(T)||T===V.XML_XHTML_APPLICATION}var V=Q({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),H=Object.keys(V).map(function(T){return V[T]});function I(T){return H.indexOf(T)>-1}var z=Q({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});J.assign=Z,J.find=$,J.freeze=Q,J.HTML_BOOLEAN_ATTRIBUTES=X,J.HTML_RAW_TEXT_ELEMENTS=G,J.HTML_VOID_ELEMENTS=W,J.hasDefaultHTMLNamespace=L,J.hasOwn=K,J.isHTMLBooleanAttribute=Y,J.isHTMLRawTextElement=U,J.isHTMLEscapableRawTextElement=D,J.isHTMLMimeType=F,J.isHTMLVoidElement=B,J.isValidMimeType=I,J.MIME_TYPE=V,J.NAMESPACE=z}),w6=c8((J)=>{var $=j$();function Q(L,V){L.prototype=Object.create(Error.prototype,{constructor:{value:L},name:{value:L.name,enumerable:!0,writable:V}})}var K=$.freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),Z=Object.keys(K);function X(L){return typeof L==="number"&&L>=1&&L<=25}function Y(L){return typeof L==="string"&&L.substring(L.length-K.Error.length)===K.Error}function W(L,V){if(X(L))this.name=Z[L],this.message=V||"";else this.message=L,this.name=Y(V)?V:K.Error;if(Error.captureStackTrace)Error.captureStackTrace(this,W)}Q(W,!0),Object.defineProperties(W.prototype,{code:{enumerable:!0,get:function(){var L=Z.indexOf(this.name);if(X(L))return L;return 0}}});var B={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},G=Object.entries(B);for(D=0;D<G.length;D++)U=G[D][0],W[U]=G[D][1];var U,D;function F(L,V){if(this.message=L,this.locator=V,Error.captureStackTrace)Error.captureStackTrace(this,F)}Q(F),J.DOMException=W,J.DOMExceptionName=K,J.ExceptionCode=B,J.ParseError=F}),NQ=c8((J)=>{function $(zJ){try{if(typeof zJ!=="function")zJ=RegExp;var yJ=new zJ("\uD834\uDF06","u").exec("\uD834\uDF06");return!!yJ&&yJ[0].length===2}catch(u8){}return!1}var Q=$();function K(zJ){if(zJ.source[0]!=="[")throw Error(zJ+" can not be used with chars");return zJ.source.slice(1,zJ.source.lastIndexOf("]"))}function Z(zJ,yJ){if(zJ.source[0]!=="[")throw Error("/"+zJ.source+"/ can not be used with chars_without");if(!yJ||typeof yJ!=="string")throw Error(JSON.stringify(yJ)+" is not a valid search");if(zJ.source.indexOf(yJ)===-1)throw Error('"'+yJ+'" is not is /'+zJ.source+"/");if(yJ==="-"&&zJ.source.indexOf(yJ)!==1)throw Error('"'+yJ+'" is not at the first postion of /'+zJ.source+"/");return new RegExp(zJ.source.replace(yJ,""),Q?"u":"")}function X(zJ){var yJ=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(u8){var S$=typeof u8==="string";if(S$&&yJ===void 0&&u8==="|")throw Error("use regg instead of reg to wrap expressions with `|`!");return S$?u8:u8.source}).join(""),Q?"mu":"m")}function Y(zJ){if(arguments.length===0)throw Error("no parameters provided");return X.apply(Y,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var W="�",B=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;if(Q)B=X("[",K(B),"\\u{10000}-\\u{10FFFF}","]");var G=new RegExp("[^"+K(B)+"]",Q?"u":""),U=/[\x20\x09\x0D\x0A]/,D=K(U),F=X(U,"+"),L=X(U,"*"),V=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;if(Q)V=X("[",K(V),"\\u{10000}-\\u{10FFFF}","]");var H=K(V),I=X("[",H,K(/[-.0-9\xB7]/),K(/[\u0300-\u036F\u203F-\u2040]/),"]"),z=X(V,I,"*"),T=X(I,"+"),_=X("&",z,";"),b=Y(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),n=Y(_,"|",b),d=X("%",z,";"),C=Y(X('"',Y(/[^%&"]/,"|",d,"|",n),"*",'"'),"|",X("'",Y(/[^%&']/,"|",d,"|",n),"*","'")),w=Y('"',Y(/[^<&"]/,"|",n),"*",'"',"|","'",Y(/[^<&']/,"|",n),"*","'"),S=Z(V,":"),h=Z(I,":"),a=X(S,h,"*"),f=X(a,Y(":",a),"?"),s=X("^",f,"$"),m=X("(",f,")"),o=Y(/"[^"]*"|'[^']*'/),A=X(/^<\?/,"(",z,")",Y(F,"(",B,"*?)"),"?",/\?>/),v=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,c=Y('"',v,'*"',"|","'",Z(v,"'"),"*'"),M="<!--",E="-->",N=X(M,Y(Z(B,"-"),"|",X("-",Z(B,"-"))),"*",E),y="#PCDATA",u=Y(X(/\(/,L,y,Y(L,/\|/,L,f),"*",L,/\)\*/),"|",X(/\(/,L,y,L,/\)/)),x=/[?*+]?/,k=X(/\([^>]+\)/,x),p=Y("EMPTY","|","ANY","|",u,"|",k),l="<!ELEMENT",e=X(l,F,Y(f,"|",d),F,Y(p,"|",d),L,">"),qJ=X("NOTATION",F,/\(/,L,z,Y(L,/\|/,L,z),"*",L,/\)/),UJ=X(/\(/,L,T,Y(L,/\|/,L,T),"*",L,/\)/),GJ=Y(qJ,"|",UJ),BJ=Y(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",GJ),i=Y(/#REQUIRED|#IMPLIED/,"|",Y(Y("#FIXED",F),"?",w)),PJ=Y(F,z,F,BJ,F,i),RJ="<!ATTLIST",MJ=X(RJ,F,z,PJ,"*",L,">"),kJ="about:legacy-compat",x8=Y('"'+kJ+'"',"|","'"+kJ+"'"),Q8="SYSTEM",V8="PUBLIC",K8=Y(Y(Q8,F,o),"|",Y(V8,F,c,F,o)),y8=X("^",Y(Y(Q8,F,"(?<SystemLiteralOnly>",o,")"),"|",Y(V8,F,"(?<PubidLiteral>",c,")",F,"(?<SystemLiteral>",o,")"))),a8=X("^",c,"$"),IJ=X("^",o,"$"),cJ=Y(F,"NDATA",F,z),xJ=Y(C,"|",Y(K8,cJ,"?")),z8="<!ENTITY",l8=X(z8,F,z,F,xJ,L,">"),g8=Y(C,"|",K8),t8=X(z8,F,"%",F,z,F,g8,L,">"),YJ=Y(l8,"|",t8),wJ=X(V8,F,c),fJ=X("<!NOTATION",F,z,F,Y(K8,"|",wJ),L,">"),mJ=X(L,"=",L),O8=/1[.]\d+/,b8=X(F,"version",mJ,Y("'",O8,"'","|",'"',O8,'"')),v8=/[A-Za-z][-A-Za-z0-9._]*/,e8=Y(F,"encoding",mJ,Y('"',v8,'"',"|","'",v8,"'")),J$=Y(F,"standalone",mJ,Y("'",Y("yes","|","no"),"'","|",'"',Y("yes","|","no"),'"')),N$=X(/^<\?xml/,b8,e8,"?",J$,"?",L,/\?>/),E$="<!DOCTYPE",$$="<![CDATA[",C8="]]>",Q$=/<!\[CDATA\[/,V6=/\]\]>/,O6=X(B,"*?",V6),M6=X(Q$,O6);J.chars=K,J.chars_without=Z,J.detectUnicodeSupport=$,J.reg=X,J.regg=Y,J.ABOUT_LEGACY_COMPAT=kJ,J.ABOUT_LEGACY_COMPAT_SystemLiteral=x8,J.AttlistDecl=MJ,J.CDATA_START=$$,J.CDATA_END=C8,J.CDSect=M6,J.Char=B,J.Comment=N,J.COMMENT_START=M,J.COMMENT_END=E,J.DOCTYPE_DECL_START=E$,J.elementdecl=e,J.EntityDecl=YJ,J.EntityValue=C,J.ExternalID=K8,J.ExternalID_match=y8,J.Name=z,J.NotationDecl=fJ,J.Reference=n,J.PEReference=d,J.PI=A,J.PUBLIC=V8,J.PubidLiteral=c,J.PubidLiteral_match=a8,J.QName=f,J.QName_exact=s,J.QName_group=m,J.S=F,J.SChar_s=D,J.S_OPT=L,J.SYSTEM=Q8,J.SystemLiteral=o,J.SystemLiteral_match=IJ,J.InvalidChar=G,J.UNICODE_REPLACEMENT_CHARACTER=W,J.UNICODE_SUPPORT=Q,J.XMLDecl=N$}),EQ=c8((J)=>{var $=j$(),Q=$.find,K=$.hasDefaultHTMLNamespace,Z=$.hasOwn,X=$.isHTMLMimeType,Y=$.isHTMLRawTextElement,W=$.isHTMLVoidElement,B=$.MIME_TYPE,G=$.NAMESPACE,U=Symbol(),D=w6(),F=D.DOMException,L=D.DOMExceptionName,V=NQ();function H(j){if(j!==U)throw TypeError("Illegal constructor")}function I(j){return j!==""}function z(j){return j?j.split(/[\t\n\f\r ]+/).filter(I):[]}function T(j,q){if(!Z(j,q))j[q]=!0;return j}function _(j){if(!j)return[];var q=z(j);return Object.keys(q.reduce(T,{}))}function b(j){return function(q){return j&&j.indexOf(q)!==-1}}function n(j){if(!V.QName_exact.test(j))throw new F(F.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+j+'"')}function d(j,q){n(q),j=j||null;var O=null,R=q;if(q.indexOf(":")>=0){var g=q.split(":");O=g[0],R=g[1]}if(O!==null&&j===null)throw new F(F.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(O==="xml"&&j!==$.NAMESPACE.XML)throw new F(F.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((O==="xmlns"||q==="xmlns")&&j!==$.NAMESPACE.XMLNS)throw new F(F.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(j===$.NAMESPACE.XMLNS&&O!=="xmlns"&&q!=="xmlns")throw new F(F.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[j,O,R]}function C(j,q){for(var O in j)if(Z(j,O))q[O]=j[O]}function w(j,q){var O=j.prototype;if(!(O instanceof q)){let R=function(){};R.prototype=q.prototype,R=new R,C(O,R),j.prototype=O=R}if(O.constructor!=j){if(typeof j!="function")console.error("unknown Class:"+j);O.constructor=j}}var S={},h=S.ELEMENT_NODE=1,a=S.ATTRIBUTE_NODE=2,f=S.TEXT_NODE=3,s=S.CDATA_SECTION_NODE=4,m=S.ENTITY_REFERENCE_NODE=5,o=S.ENTITY_NODE=6,A=S.PROCESSING_INSTRUCTION_NODE=7,v=S.COMMENT_NODE=8,c=S.DOCUMENT_NODE=9,M=S.DOCUMENT_TYPE_NODE=10,E=S.DOCUMENT_FRAGMENT_NODE=11,N=S.NOTATION_NODE=12,y=$.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function u(j,q){if(q.length<j.length)return u(q,j);var O=null;for(var R in j){if(j[R]!==q[R])return O;O=j[R]}return O}function x(j){if(!j.guid)j.guid=Math.random();return j.guid}function k(){}k.prototype={length:0,item:function(j){return j>=0&&j<this.length?this[j]:null},toString:function(j){var q;if(typeof j==="function")q={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:j};else if(j)q={requireWellFormed:!!j.requireWellFormed,splitCDATASections:j.splitCDATASections!==!1,nodeFilter:j.nodeFilter||null};else q={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null};for(var O=[],R=0;R<this.length;R++)yJ(this[R],O,null,q);return O.join("")},filter:function(j){return Array.prototype.filter.call(this,j)},indexOf:function(j){return Array.prototype.indexOf.call(this,j)}},k.prototype[Symbol.iterator]=function(){var j=this,q=0;return{next:function(){if(q<j.length)return{value:j[q++],done:!1};else return{done:!0}},return:function(){return{done:!0}}}};function p(j,q){this._node=j,this._refresh=q,l(this)}function l(j){var q=j._node._inc||j._node.ownerDocument._inc;if(j._inc!==q){var O=j._refresh(j._node);if(MQ(j,"length",O.length),!j.$$length||O.length<j.$$length){for(var R=O.length;R in j;R++)if(Z(j,R))delete j[R]}C(O,j),j._inc=q}}p.prototype.item=function(j){return l(this),this[j]||null},w(p,k);function e(){}function qJ(j,q){var O=0;while(O<j.length){if(j[O]===q)return O;O++}}function UJ(j,q,O,R){if(R)q[qJ(q,R)]=O;else q[q.length]=O,q.length++;if(j){O.ownerElement=j;var g=j.ownerDocument;if(g)R&&Q8(g,j,R),x8(g,j,O)}}function GJ(j,q,O){var R=qJ(q,O);if(R>=0){var g=q.length-1;while(R<=g)q[R]=q[++R];if(q.length=g,j){var r=j.ownerDocument;if(r)Q8(r,j,O);O.ownerElement=null}}}e.prototype={length:0,item:k.prototype.item,getNamedItem:function(j){if(this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace())j=j.toLowerCase();var q=0;while(q<this.length){var O=this[q];if(O.nodeName===j)return O;q++}return null},setNamedItem:function(j){var q=j.ownerElement;if(q&&q!==this._ownerElement)throw new F(F.INUSE_ATTRIBUTE_ERR);var O=this.getNamedItemNS(j.namespaceURI,j.localName);if(O===j)return j;return UJ(this._ownerElement,this,j,O),O},setNamedItemNS:function(j){return this.setNamedItem(j)},removeNamedItem:function(j){var q=this.getNamedItem(j);if(!q)throw new F(F.NOT_FOUND_ERR,j);return GJ(this._ownerElement,this,q),q},removeNamedItemNS:function(j,q){var O=this.getNamedItemNS(j,q);if(!O)throw new F(F.NOT_FOUND_ERR,j?j+" : "+q:q);return GJ(this._ownerElement,this,O),O},getNamedItemNS:function(j,q){if(!j)j=null;var O=0;while(O<this.length){var R=this[O];if(R.localName===q&&R.namespaceURI===j)return R;O++}return null}},e.prototype[Symbol.iterator]=function(){var j=this,q=0;return{next:function(){if(q<j.length)return{value:j[q++],done:!1};else return{done:!0}},return:function(){return{done:!0}}}};function BJ(){}BJ.prototype={hasFeature:function(j,q){return!0},createDocument:function(j,q,O){var R=B.XML_APPLICATION;if(j===G.HTML)R=B.XML_XHTML_APPLICATION;else if(j===G.SVG)R=B.XML_SVG_IMAGE;var g=new kJ(U,{contentType:R});if(g.implementation=this,g.childNodes=new k,g.doctype=O||null,O)g.appendChild(O);if(q){var r=g.createElementNS(j,q);g.appendChild(r)}return g},createDocumentType:function(j,q,O,R){n(j);var g=new J$(U);return g.name=j,g.nodeName=j,g.publicId=q||"",g.systemId=O||"",g.internalSubset=R||"",g.childNodes=new k,g},createHTMLDocument:function(j){var q=new kJ(U,{contentType:B.HTML});if(q.implementation=this,q.childNodes=new k,j!==!1){q.doctype=this.createDocumentType("html"),q.doctype.ownerDocument=q,q.appendChild(q.doctype);var O=q.createElement("html");q.appendChild(O);var R=q.createElement("head");if(O.appendChild(R),typeof j==="string"){var g=q.createElement("title");g.appendChild(q.createTextNode(j)),R.appendChild(g)}O.appendChild(q.createElement("body"))}return q}};function i(j){H(j)}i.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var j=this.getRootNode();return j&&j.nodeType===j.DOCUMENT_NODE},contains:function(j){if(!j)return!1;var q=j;do{if(this===q)return!0;q=q.parentNode}while(q);return!1},getRootNode:function(j){var q=this;do{if(!q.parentNode)return q;q=q.parentNode}while(q)},isEqualNode:function(j){if(!j)return!1;var q=[{node:this,other:j}];while(q.length>0){var O=q.pop(),R=O.node,g=O.other;if(R.nodeType!==g.nodeType)return!1;switch(R.nodeType){case R.DOCUMENT_TYPE_NODE:if(R.name!==g.name)return!1;if(R.publicId!==g.publicId)return!1;if(R.systemId!==g.systemId)return!1;break;case R.ELEMENT_NODE:if(R.namespaceURI!==g.namespaceURI)return!1;if(R.prefix!==g.prefix)return!1;if(R.localName!==g.localName)return!1;if(R.attributes.length!==g.attributes.length)return!1;for(var r=0;r<R.attributes.length;r++){var $J=R.attributes.item(r),HJ=g.getAttributeNodeNS($J.namespaceURI,$J.localName);if(!HJ)return!1;q.push({node:$J,other:HJ})}break;case R.ATTRIBUTE_NODE:if(R.namespaceURI!==g.namespaceURI)return!1;if(R.localName!==g.localName)return!1;if(R.value!==g.value)return!1;break;case R.PROCESSING_INSTRUCTION_NODE:if(R.target!==g.target||R.data!==g.data)return!1;break;case R.TEXT_NODE:case R.CDATA_SECTION_NODE:case R.COMMENT_NODE:if(R.data!==g.data)return!1;break}if(R.childNodes.length!==g.childNodes.length)return!1;for(var r=R.childNodes.length-1;r>=0;r--)q.push({node:R.childNodes[r],other:g.childNodes[r]})}return!0},isSameNode:function(j){return this===j},insertBefore:function(j,q){return wJ(this,j,q)},replaceChild:function(j,q){if(wJ(this,j,q,YJ),q)this.removeChild(q)},removeChild:function(j){return K8(this,j)},appendChild:function(j){return this.insertBefore(j,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(j){return S$(this.ownerDocument||this,this,j)},normalize:function(){MJ(this,null,{enter:function(j){var q=j.firstChild;while(q){var O=q.nextSibling;if(O!==null&&O.nodeType===f&&q.nodeType===f)j.removeChild(O),q.appendData(O.data);else q=O}return!0}})},isSupported:function(j,q){return this.ownerDocument.implementation.hasFeature(j,q)},lookupPrefix:function(j){var q=this;while(q){var O=q._nsMap;if(O){for(var R in O)if(Z(O,R)&&O[R]===j)return R}q=q.nodeType==a?q.ownerDocument:q.parentNode}return null},lookupNamespaceURI:function(j){var q=this;while(q){var O=q._nsMap;if(O){if(Z(O,j))return O[j]}q=q.nodeType==a?q.ownerDocument:q.parentNode}return null},isDefaultNamespace:function(j){var q=this.lookupPrefix(j);return q==null},compareDocumentPosition:function(j){if(this===j)return 0;var q=j,O=this,R=null,g=null;if(q instanceof mJ)R=q,q=R.ownerElement;if(O instanceof mJ){if(g=O,O=g.ownerElement,R&&q&&O===q)for(var r=0,$J;$J=O.attributes[r];r++){if($J===R)return y.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+y.DOCUMENT_POSITION_PRECEDING;if($J===g)return y.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+y.DOCUMENT_POSITION_FOLLOWING}}if(!q||!O||O.ownerDocument!==q.ownerDocument)return y.DOCUMENT_POSITION_DISCONNECTED+y.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(x(O.ownerDocument)>x(q.ownerDocument)?y.DOCUMENT_POSITION_FOLLOWING:y.DOCUMENT_POSITION_PRECEDING);if(g&&q===O)return y.DOCUMENT_POSITION_CONTAINS+y.DOCUMENT_POSITION_PRECEDING;if(R&&q===O)return y.DOCUMENT_POSITION_CONTAINED_BY+y.DOCUMENT_POSITION_FOLLOWING;var HJ=[],gJ=q.parentNode;while(gJ){if(!g&&gJ===O)return y.DOCUMENT_POSITION_CONTAINED_BY+y.DOCUMENT_POSITION_FOLLOWING;HJ.push(gJ),gJ=gJ.parentNode}HJ.reverse();var JJ=[],dJ=O.parentNode;while(dJ){if(!R&&dJ===q)return y.DOCUMENT_POSITION_CONTAINS+y.DOCUMENT_POSITION_PRECEDING;JJ.push(dJ),dJ=dJ.parentNode}JJ.reverse();var Z8=u(HJ,JJ);for(var B8 in Z8.childNodes){var X8=Z8.childNodes[B8];if(X8===O)return y.DOCUMENT_POSITION_FOLLOWING;if(X8===q)return y.DOCUMENT_POSITION_PRECEDING;if(JJ.indexOf(X8)>=0)return y.DOCUMENT_POSITION_FOLLOWING;if(HJ.indexOf(X8)>=0)return y.DOCUMENT_POSITION_PRECEDING}return 0}};function PJ(j){return j=="<"&&"&lt;"||j==">"&&"&gt;"||j=="&"&&"&amp;"||j=='"'&&"&quot;"||"&#"+j.charCodeAt()+";"}C(S,i),C(S,i.prototype),C(y,i),C(y,i.prototype);function RJ(j,q){MJ(j,null,{enter:function(O){return q(O)?MJ.STOP:!0}})}function MJ(j,q,O){var R=[{node:j,context:q,phase:MJ.ENTER}];while(R.length>0){var g=R.pop();if(g.phase===MJ.ENTER){var r=O.enter(g.node,g.context);if(r===MJ.STOP)return MJ.STOP;if(R.push({node:g.node,context:r,phase:MJ.EXIT}),r===null||r===void 0)continue;var $J=g.node.lastChild;while($J)R.push({node:$J,context:r,phase:MJ.ENTER}),$J=$J.previousSibling}else if(O.exit)O.exit(g.node,g.context)}}MJ.STOP=Symbol("walkDOM.STOP"),MJ.ENTER=0,MJ.EXIT=1;function kJ(j,q){H(j);var O=q||{};this.ownerDocument=this,this.contentType=O.contentType||B.XML_APPLICATION,this.type=X(this.contentType)?"html":"xml"}function x8(j,q,O){j&&j._inc++;var R=O.namespaceURI;if(R===G.XMLNS)q._nsMap[O.prefix?O.localName:""]=O.value}function Q8(j,q,O,R){j&&j._inc++;var g=O.namespaceURI;if(g===G.XMLNS)delete q._nsMap[O.prefix?O.localName:""]}function V8(j,q,O){if(j&&j._inc){j._inc++;var R=q.childNodes;if(O&&!O.nextSibling)R[R.length++]=O;else{var g=q.firstChild,r=0;while(g)R[r++]=g,g=g.nextSibling;R.length=r,delete R[R.length]}}}function K8(j,q){if(j!==q.parentNode)throw new F(F.NOT_FOUND_ERR,"child's parent is not parent");var{previousSibling:O,nextSibling:R}=q;if(O)O.nextSibling=R;else j.firstChild=R;if(R)R.previousSibling=O;else j.lastChild=O;return V8(j.ownerDocument,j),q.parentNode=null,q.previousSibling=null,q.nextSibling=null,q}function y8(j){return j&&(j.nodeType===i.DOCUMENT_NODE||j.nodeType===i.DOCUMENT_FRAGMENT_NODE||j.nodeType===i.ELEMENT_NODE)}function a8(j){return j&&(j.nodeType===i.CDATA_SECTION_NODE||j.nodeType===i.COMMENT_NODE||j.nodeType===i.DOCUMENT_FRAGMENT_NODE||j.nodeType===i.DOCUMENT_TYPE_NODE||j.nodeType===i.ELEMENT_NODE||j.nodeType===i.PROCESSING_INSTRUCTION_NODE||j.nodeType===i.TEXT_NODE)}function IJ(j){return j&&j.nodeType===i.DOCUMENT_TYPE_NODE}function cJ(j){return j&&j.nodeType===i.ELEMENT_NODE}function xJ(j){return j&&j.nodeType===i.TEXT_NODE}function z8(j,q){var O=j.childNodes||[];if(Q(O,cJ)||IJ(q))return!1;var R=Q(O,IJ);return!(q&&R&&O.indexOf(R)>O.indexOf(q))}function l8(j,q){var O=j.childNodes||[];function R(r){return cJ(r)&&r!==q}if(Q(O,R))return!1;var g=Q(O,IJ);return!(q&&g&&O.indexOf(g)>O.indexOf(q))}function g8(j,q,O){if(!y8(j))throw new F(F.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+j.nodeType);if(O&&O.parentNode!==j)throw new F(F.NOT_FOUND_ERR,"child not in parent");if(!a8(q)||IJ(q)&&j.nodeType!==i.DOCUMENT_NODE)throw new F(F.HIERARCHY_REQUEST_ERR,"Unexpected node type "+q.nodeType+" for parent node type "+j.nodeType)}function t8(j,q,O){var R=j.childNodes||[],g=q.childNodes||[];if(q.nodeType===i.DOCUMENT_FRAGMENT_NODE){var r=g.filter(cJ);if(r.length>1||Q(g,xJ))throw new F(F.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(r.length===1&&!z8(j,O))throw new F(F.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(cJ(q)){if(!z8(j,O))throw new F(F.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype")}if(IJ(q)){if(Q(R,IJ))throw new F(F.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var $J=Q(R,cJ);if(O&&R.indexOf($J)<R.indexOf(O))throw new F(F.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!O&&$J)throw new F(F.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function YJ(j,q,O){var R=j.childNodes||[],g=q.childNodes||[];if(q.nodeType===i.DOCUMENT_FRAGMENT_NODE){var r=g.filter(cJ);if(r.length>1||Q(g,xJ))throw new F(F.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(r.length===1&&!l8(j,O))throw new F(F.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(cJ(q)){if(!l8(j,O))throw new F(F.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype")}if(IJ(q)){if(Q(R,function(gJ){return IJ(gJ)&&gJ!==O}))throw new F(F.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var $J=Q(R,cJ);if(O&&R.indexOf($J)<R.indexOf(O))throw new F(F.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function wJ(j,q,O,R){if(g8(j,q,O),j.nodeType===i.DOCUMENT_NODE)(R||t8)(j,q,O);var g=q.parentNode;if(g)g.removeChild(q);if(q.nodeType===E){var r=q.firstChild;if(r==null)return q;var $J=q.lastChild}else r=$J=q;var HJ=O?O.previousSibling:j.lastChild;if(r.previousSibling=HJ,$J.nextSibling=O,HJ)HJ.nextSibling=r;else j.firstChild=r;if(O==null)j.lastChild=$J;else O.previousSibling=$J;do r.parentNode=j;while(r!==$J&&(r=r.nextSibling));if(V8(j.ownerDocument||j,j,q),q.nodeType==E)q.firstChild=q.lastChild=null;return q}kJ.prototype={implementation:null,nodeName:"#document",nodeType:c,doctype:null,documentElement:null,_inc:1,insertBefore:function(j,q){if(j.nodeType===E){var O=j.firstChild;while(O){var R=O.nextSibling;this.insertBefore(O,q),O=R}return j}if(wJ(this,j,q),j.ownerDocument=this,this.documentElement===null&&j.nodeType===h)this.documentElement=j;return j},removeChild:function(j){var q=K8(this,j);if(q===this.documentElement)this.documentElement=null;return q},replaceChild:function(j,q){if(wJ(this,j,q,YJ),j.ownerDocument=this,q)this.removeChild(q);if(cJ(j))this.documentElement=j},importNode:function(j,q){return u8(this,j,q)},getElementById:function(j){var q=null;return RJ(this.documentElement,function(O){if(O.nodeType==h){if(O.getAttribute("id")==j)return q=O,!0}}),q},createElement:function(j){var q=new fJ(U);if(q.ownerDocument=this,this.type==="html")j=j.toLowerCase();if(K(this.contentType))q.namespaceURI=G.HTML;q.nodeName=j,q.tagName=j,q.localName=j,q.childNodes=new k;var O=q.attributes=new e;return O._ownerElement=q,q},createDocumentFragment:function(){var j=new C8(U);return j.ownerDocument=this,j.childNodes=new k,j},createTextNode:function(j){var q=new b8(U);return q.ownerDocument=this,q.childNodes=new k,q.appendData(j),q},createComment:function(j){var q=new v8(U);return q.ownerDocument=this,q.childNodes=new k,q.appendData(j),q},createCDATASection:function(j){if(j.indexOf("]]>")!==-1)throw new F(F.INVALID_CHARACTER_ERR,'data contains "]]>"');var q=new e8(U);return q.ownerDocument=this,q.childNodes=new k,q.appendData(j),q},createProcessingInstruction:function(j,q){var O=new Q$(U);return O.ownerDocument=this,O.childNodes=new k,O.nodeName=O.target=j,O.nodeValue=O.data=q,O},createAttribute:function(j){if(!V.QName_exact.test(j))throw new F(F.INVALID_CHARACTER_ERR,'invalid character in name "'+j+'"');if(this.type==="html")j=j.toLowerCase();return this._createAttribute(j)},_createAttribute:function(j){var q=new mJ(U);return q.ownerDocument=this,q.childNodes=new k,q.name=j,q.nodeName=j,q.localName=j,q.specified=!0,q},createEntityReference:function(j){if(!V.Name.test(j))throw new F(F.INVALID_CHARACTER_ERR,'not a valid xml name "'+j+'"');if(this.type==="html")throw new F("document is an html document",L.NotSupportedError);var q=new $$(U);return q.ownerDocument=this,q.childNodes=new k,q.nodeName=j,q},createElementNS:function(j,q){var O=d(j,q),R=new fJ(U),g=R.attributes=new e;return R.childNodes=new k,R.ownerDocument=this,R.nodeName=q,R.tagName=q,R.namespaceURI=O[0],R.prefix=O[1],R.localName=O[2],g._ownerElement=R,R},createAttributeNS:function(j,q){var O=d(j,q),R=new mJ(U);return R.ownerDocument=this,R.childNodes=new k,R.nodeName=q,R.name=q,R.specified=!0,R.namespaceURI=O[0],R.prefix=O[1],R.localName=O[2],R}},w(kJ,i);function fJ(j){H(j),this._nsMap=Object.create(null)}fJ.prototype={nodeType:h,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===G.HTML},hasAttributes:function(){return!!(this.attributes&&this.attributes.length)},hasAttribute:function(j){return!!this.getAttributeNode(j)},getAttribute:function(j){var q=this.getAttributeNode(j);return q?q.value:null},getAttributeNode:function(j){if(this._isInHTMLDocumentAndNamespace())j=j.toLowerCase();return this.attributes.getNamedItem(j)},setAttribute:function(j,q){if(this._isInHTMLDocumentAndNamespace())j=j.toLowerCase();var O=this.getAttributeNode(j);if(O)O.value=O.nodeValue=""+q;else O=this.ownerDocument._createAttribute(j),O.value=O.nodeValue=""+q,this.setAttributeNode(O)},removeAttribute:function(j){var q=this.getAttributeNode(j);q&&this.removeAttributeNode(q)},setAttributeNode:function(j){return this.attributes.setNamedItem(j)},setAttributeNodeNS:function(j){return this.attributes.setNamedItemNS(j)},removeAttributeNode:function(j){return this.attributes.removeNamedItem(j.nodeName)},removeAttributeNS:function(j,q){var O=this.getAttributeNodeNS(j,q);O&&this.removeAttributeNode(O)},hasAttributeNS:function(j,q){return this.getAttributeNodeNS(j,q)!=null},getAttributeNS:function(j,q){var O=this.getAttributeNodeNS(j,q);return O?O.value:null},setAttributeNS:function(j,q,O){var R=d(j,q),g=R[2],r=this.getAttributeNodeNS(j,g);if(r)r.value=r.nodeValue=""+O;else r=this.ownerDocument.createAttributeNS(j,q),r.value=r.nodeValue=""+O,this.setAttributeNode(r)},getAttributeNodeNS:function(j,q){return this.attributes.getNamedItemNS(j,q)},getElementsByClassName:function(j){var q=_(j);return new p(this,function(O){var R=[];if(q.length>0)RJ(O,function(g){if(g!==O&&g.nodeType===h){var r=g.getAttribute("class");if(r){var $J=j===r;if(!$J){var HJ=_(r);$J=q.every(b(HJ))}if($J)R.push(g)}}});return R})},getElementsByTagName:function(j){var q=(this.nodeType===c?this:this.ownerDocument).type==="html",O=j.toLowerCase();return new p(this,function(R){var g=[];return RJ(R,function(r){if(r===R||r.nodeType!==h)return;if(j==="*")g.push(r);else{var $J=r.getQualifiedName(),HJ=q&&r.namespaceURI===G.HTML?O:j;if($J===HJ)g.push(r)}}),g})},getElementsByTagNameNS:function(j,q){return new p(this,function(O){var R=[];return RJ(O,function(g){if(g!==O&&g.nodeType===h&&(j==="*"||g.namespaceURI===j)&&(q==="*"||g.localName==q))R.push(g)}),R})}},kJ.prototype.getElementsByClassName=fJ.prototype.getElementsByClassName,kJ.prototype.getElementsByTagName=fJ.prototype.getElementsByTagName,kJ.prototype.getElementsByTagNameNS=fJ.prototype.getElementsByTagNameNS,w(fJ,i);function mJ(j){H(j),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}mJ.prototype.nodeType=a,w(mJ,i);function O8(j){H(j)}O8.prototype={data:"",substringData:function(j,q){return this.data.substring(j,j+q)},appendData:function(j){j=this.data+j,this.nodeValue=this.data=j,this.length=j.length},insertData:function(j,q){this.replaceData(j,0,q)},deleteData:function(j,q){this.replaceData(j,q,"")},replaceData:function(j,q,O){var R=this.data.substring(0,j),g=this.data.substring(j+q);O=R+O+g,this.nodeValue=this.data=O,this.length=O.length}},w(O8,i);function b8(j){H(j)}b8.prototype={nodeName:"#text",nodeType:f,splitText:function(j){var q=this.data,O=q.substring(j);q=q.substring(0,j),this.data=this.nodeValue=q,this.length=q.length;var R=this.ownerDocument.createTextNode(O);if(this.parentNode)this.parentNode.insertBefore(R,this.nextSibling);return R}},w(b8,O8);function v8(j){H(j)}v8.prototype={nodeName:"#comment",nodeType:v},w(v8,O8);function e8(j){H(j)}e8.prototype={nodeName:"#cdata-section",nodeType:s},w(e8,b8);function J$(j){H(j)}J$.prototype.nodeType=M,w(J$,i);function N$(j){H(j)}N$.prototype.nodeType=N,w(N$,i);function E$(j){H(j)}E$.prototype.nodeType=o,w(E$,i);function $$(j){H(j)}$$.prototype.nodeType=m,w($$,i);function C8(j){H(j)}C8.prototype.nodeName="#document-fragment",C8.prototype.nodeType=E,w(C8,i);function Q$(j){H(j)}Q$.prototype.nodeType=A,w(Q$,O8);function V6(){}V6.prototype.serializeToString=function(j,q){return O6.call(j,q)},i.prototype.toString=O6;function O6(j){var q;if(typeof j==="function")q={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:j};else if(j!=null)q={requireWellFormed:!!j.requireWellFormed,splitCDATASections:j.splitCDATASections!==!1,nodeFilter:j.nodeFilter||null};else q={requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null};var O=[],R=this.nodeType===c&&this.documentElement||this,g=R.prefix,r=R.namespaceURI;if(r&&g==null){var g=R.lookupPrefix(r);if(g==null)var $J=[{namespace:r,prefix:null}]}return yJ(this,O,$J,q),O.join("")}function M6(j,q,O){var R=j.prefix||"",g=j.namespaceURI;if(!g)return!1;if(R==="xml"&&g===G.XML||g===G.XMLNS)return!1;var r=O.length;while(r--){var $J=O[r];if($J.prefix===R)return $J.namespace!==g}return!0}function zJ(j,q,O){j.push(" ",q,'="',O.replace(/[<>&"\t\n\r]/g,PJ),'"')}function yJ(j,q,O,R){if(!O)O=[];var{nodeFilter:g,requireWellFormed:r,splitCDATASections:$J}=R,HJ=j.nodeType===c?j:j.ownerDocument,gJ=HJ.type==="html";MJ(j,{ns:O},{enter:function(JJ,dJ){var Z8=dJ.ns;if(g)if(JJ=g(JJ),JJ){if(typeof JJ=="string")return q.push(JJ),null}else return null;switch(JJ.nodeType){case h:var B8=JJ.attributes,X8=B8.length,k$=JJ.tagName,x$=k$;if(!gJ&&!JJ.prefix&&JJ.namespaceURI){var P6;for(var H6=0;H6<B8.length;H6++)if(B8.item(H6).name==="xmlns"){P6=B8.item(H6).value;break}if(!P6)for(var h8=Z8.length-1;h8>=0;h8--){var f8=Z8[h8];if(f8.prefix===""&&f8.namespace===JJ.namespaceURI){P6=f8.namespace;break}}if(P6!==JJ.namespaceURI)for(var h8=Z8.length-1;h8>=0;h8--){var f8=Z8[h8];if(f8.namespace===JJ.namespaceURI){if(f8.prefix)x$=f8.prefix+":"+k$;break}}}q.push("<",x$);var A8=Z8.slice();for(var m8=0;m8<X8;m8++){var Y8=B8.item(m8);if(Y8.prefix=="xmlns")A8.push({prefix:Y8.localName,namespace:Y8.value});else if(Y8.nodeName=="xmlns")A8.push({prefix:"",namespace:Y8.value})}for(var m8=0;m8<X8;m8++){var Y8=B8.item(m8);if(M6(Y8,gJ,A8)){var q0=Y8.prefix||"",y$=Y8.namespaceURI;zJ(q,q0?"xmlns:"+q0:"xmlns",y$),A8.push({prefix:q0,namespace:y$})}var g$=g?g(Y8):Y8;if(g$)if(typeof g$==="string")q.push(g$);else zJ(q,g$.name,g$.value)}if(k$===x$&&M6(JJ,gJ,A8)){var U0=JJ.prefix||"",y$=JJ.namespaceURI;zJ(q,U0?"xmlns:"+U0:"xmlns",y$),A8.push({prefix:U0,namespace:y$})}var D0=!JJ.firstChild;if(D0&&(gJ||JJ.namespaceURI===G.HTML))D0=W(k$);if(D0)return q.push("/>"),null;if(q.push(">"),gJ&&Y(k$)){var K$=JJ.firstChild;while(K$){if(K$.data)q.push(K$.data);else yJ(K$,q,A8.slice(),R);K$=K$.nextSibling}return q.push("</",x$,">"),null}return{ns:A8,tag:x$};case c:case E:if(r&&JJ.nodeType===c&&JJ.documentElement==null)throw new F("The Document has no documentElement",L.InvalidStateError);return{ns:Z8};case a:return zJ(q,JJ.name,JJ.value),null;case f:if(r&&V.InvalidChar.test(JJ.data))throw new F("The Text node data contains characters outside the XML Char production",L.InvalidStateError);return q.push(JJ.data.replace(/[<&>]/g,PJ)),null;case s:if(r&&JJ.data.indexOf("]]>")!==-1)throw new F('The CDATASection data contains "]]>"',L.InvalidStateError);if($J)q.push(V.CDATA_START,JJ.data.replace(/]]>/g,"]]]]><![CDATA[>"),V.CDATA_END);else q.push(V.CDATA_START,JJ.data,V.CDATA_END);return null;case v:if(r){if(V.InvalidChar.test(JJ.data))throw new F("The comment node data contains characters outside the XML Char production",L.InvalidStateError);if(JJ.data.indexOf("--")!==-1||JJ.data[JJ.data.length-1]==="-")throw new F('The comment node data contains "--" or ends with "-"',L.InvalidStateError)}return q.push(V.COMMENT_START,JJ.data,V.COMMENT_END),null;case M:var{publicId:R6,systemId:M8}=JJ;if(r){if(R6&&!V.PubidLiteral_match.test(R6))throw new F("DocumentType publicId is not a valid PubidLiteral",L.InvalidStateError);if(M8&&M8!=="."&&!V.SystemLiteral_match.test(M8))throw new F("DocumentType systemId is not a valid SystemLiteral",L.InvalidStateError);if(JJ.internalSubset&&JJ.internalSubset.indexOf("]>")!==-1)throw new F('DocumentType internalSubset contains "]>"',L.InvalidStateError)}if(q.push(V.DOCTYPE_DECL_START," ",JJ.name),R6){if(q.push(" ",V.PUBLIC," ",R6),M8&&M8!==".")q.push(" ",M8)}else if(M8&&M8!==".")q.push(" ",V.SYSTEM," ",M8);if(JJ.internalSubset)q.push(" [",JJ.internalSubset,"]");return q.push(">"),null;case A:if(r){if(JJ.target.indexOf(":")!==-1||JJ.target.toLowerCase()==="xml")throw new F("The ProcessingInstruction target is not well-formed",L.InvalidStateError);if(V.InvalidChar.test(JJ.data))throw new F("The ProcessingInstruction data contains characters outside the XML Char production",L.InvalidStateError);if(JJ.data.indexOf("?>")!==-1)throw new F('The ProcessingInstruction data contains "?>"',L.InvalidStateError)}return q.push("<?",JJ.target," ",JJ.data,"?>"),null;case m:return q.push("&",JJ.nodeName,";"),null;default:return q.push("??",JJ.nodeName),null}},exit:function(JJ,dJ){if(dJ&&dJ.tag)q.push("</",dJ.tag,">")}})}function u8(j,q,O){var R;return MJ(q,null,{enter:function(g,r){var $J=g.cloneNode(!1);if($J.ownerDocument=j,$J.parentNode=null,r===null)R=$J;else r.appendChild($J);var HJ=g.nodeType===a||O;return HJ?$J:null}}),R}function S$(j,q,O){var R;return MJ(q,null,{enter:function(g,r){var $J=new g.constructor(U);for(var HJ in g)if(Z(g,HJ)){var gJ=g[HJ];if(typeof gJ!="object"){if(gJ!=$J[HJ])$J[HJ]=gJ}}if(g.childNodes)$J.childNodes=new k;$J.ownerDocument=j;var JJ=O;switch($J.nodeType){case h:var dJ=g.attributes,Z8=$J.attributes=new e,B8=dJ.length;Z8._ownerElement=$J;for(var X8=0;X8<B8;X8++)$J.setAttributeNode(S$(j,dJ.item(X8),!0));break;case a:JJ=!0}if(r!==null)r.appendChild($J);else R=$J;return JJ?$J:null}}),R}function MQ(j,q,O){j[q]=O}function F0(j){var q=[],O=j.firstChild;while(O){if(O.nodeType===h)q.push(O);O=O.nextSibling}return q}try{if(Object.defineProperty)Object.defineProperty(p.prototype,"length",{get:function(){return l(this),this.$$length}}),Object.defineProperty(i.prototype,"textContent",{get:function(){if(this.nodeType===h||this.nodeType===E){var j=[];return MJ(this,null,{enter:function(q){if(q.nodeType===h||q.nodeType===E)return!0;if(q.nodeType===A||q.nodeType===v)return null;j.push(q.nodeValue)}}),j.join("")}return this.nodeValue},set:function(j){switch(this.nodeType){case h:case E:while(this.firstChild)this.removeChild(this.firstChild);if(j||String(j))this.appendChild(this.ownerDocument.createTextNode(j));break;default:this.data=j,this.value=j,this.nodeValue=j}}}),Object.defineProperty(fJ.prototype,"children",{get:function(){return new p(this,F0)}}),Object.defineProperty(kJ.prototype,"children",{get:function(){return new p(this,F0)}}),Object.defineProperty(C8.prototype,"children",{get:function(){return new p(this,F0)}}),MQ=function(j,q,O){j["$$"+q]=O}}catch(j){}J._updateLiveList=l,J.Attr=mJ,J.CDATASection=e8,J.CharacterData=O8,J.Comment=v8,J.Document=kJ,J.DocumentFragment=C8,J.DocumentType=J$,J.DOMImplementation=BJ,J.Element=fJ,J.Entity=E$,J.EntityReference=$$,J.LiveNodeList=p,J.NamedNodeMap=e,J.Node=i,J.NodeList=k,J.Notation=N$,J.Text=b8,J.ProcessingInstruction=Q$,J.walkDOM=MJ,J.XMLSerializer=V6}),yK=c8((J)=>{var $=j$().freeze;J.XML_ENTITIES=$({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),J.HTML_ENTITIES=$({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",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:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",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:"\uD835\uDD05",bfr:"\uD835\uDD1F",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:"\uD835\uDD39",bopf:"\uD835\uDD53",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:"\uD835\uDCB7",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:"\uD835\uDD20",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:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",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:"\uD835\uDD07",dfr:"\uD835\uDD21",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:"\uD835\uDD3B",dopf:"\uD835\uDD55",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:"\uD835\uDC9F",dscr:"\uD835\uDCB9",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:"\uD835\uDD08",efr:"\uD835\uDD22",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:"\uD835\uDD3C",eopf:"\uD835\uDD56",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:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",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:"\uD835\uDCBB",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:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",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:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",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:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",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:"\uD835\uDD0F",lfr:"\uD835\uDD29",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:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",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:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",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:`
7
+ `,nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",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:"\uD835\uDD5F",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:"\uD835\uDCA9",nscr:"\uD835\uDCC3",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:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",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:"\uD835\uDD13",pfr:"\uD835\uDD2D",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:"\uD835\uDD61",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:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",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:"\uD835\uDD2F",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:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",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:"\uD835\uDD16",sfr:"\uD835\uDD30",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:"\uD835\uDD4A",sopf:"\uD835\uDD64",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:"\uD835\uDCAE",sscr:"\uD835\uDCC8",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:"\uD835\uDD17",tfr:"\uD835\uDD31",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:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",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:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",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:"\uD835\uDCB0",uscr:"\uD835\uDCCA",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:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"}),J.entityMap=J.HTML_ENTITIES}),gK=c8((J)=>{var $=j$(),Q=NQ(),K=w6(),Z=$.isHTMLEscapableRawTextElement,X=$.isHTMLMimeType,Y=$.isHTMLRawTextElement,W=$.hasOwn,B=$.NAMESPACE,G=K.ParseError,U=K.DOMException,D=0,F=1,L=2,V=3,H=4,I=5,z=6,T=7;function _(){}_.prototype={parse:function(A,v,c){var M=this.domBuilder;M.startDocument(),h(v,v=Object.create(null)),n(A,v,c,M,this.errorHandler),M.endDocument()}};var b=/&#?\w+;?/g;function n(A,v,c,M,E){var N=X(M.mimeType);if(A.indexOf(Q.UNICODE_REPLACEMENT_CHARACTER)>=0)E.warning("Unicode replacement character detected, source encoding issues?");function y(YJ){if(YJ>65535){YJ-=65536;var wJ=55296+(YJ>>10),fJ=56320+(YJ&1023);return String.fromCharCode(wJ,fJ)}else return String.fromCharCode(YJ)}function u(YJ){var wJ=YJ[YJ.length-1]===";"?YJ:YJ+";";if(!N&&wJ!==YJ)return E.error("EntityRef: expecting ;"),YJ;var fJ=Q.Reference.exec(wJ);if(!fJ||fJ[0].length!==wJ.length)return E.error("entity not matching Reference production: "+YJ),YJ;var mJ=wJ.slice(1,-1);if(W(c,mJ))return c[mJ];else if(mJ.charAt(0)==="#")return y(parseInt(mJ.substring(1).replace("x","0x")));else return E.error("entity not found:"+YJ),YJ}function x(YJ){if(YJ>BJ){var wJ=A.substring(BJ,YJ).replace(b,u);e&&qJ(BJ),M.characters(wJ,0,YJ-BJ),BJ=YJ}}var k=0,p=0,l=/\r\n?|\n|$/g,e=M.locator;function qJ(YJ,wJ){while(YJ>=p&&(wJ=l.exec(A)))k=p,p=wJ.index+wJ[0].length,e.lineNumber++;e.columnNumber=YJ-k+1}var UJ=[{currentNSMap:v}],GJ=[],BJ=0;while(!0){try{var i=A.indexOf("<",BJ);if(i<0){if(!N&&GJ.length>0)return E.fatalError("unclosed xml tag(s): "+GJ.join(", "));if(!A.substring(BJ).match(/^\s*$/)){var PJ=M.doc,RJ=PJ.createTextNode(A.substring(BJ));if(PJ.documentElement)return E.error("Extra content at the end of the document");PJ.appendChild(RJ),M.currentElement=RJ}return}if(i>BJ){var MJ=A.substring(BJ,i);if(!N&&GJ.length===0)MJ=MJ.replace(new RegExp(Q.S_OPT.source,"g"),""),MJ&&E.error("Unexpected content outside root element: '"+MJ+"'");x(i)}switch(A.charAt(i+1)){case"/":var xJ=A.indexOf(">",i+2),kJ=A.substring(i+2,xJ>0?xJ:void 0);if(!kJ)return E.fatalError("end tag name missing");var x8=xJ>0&&Q.reg("^",Q.QName_group,Q.S_OPT,"$").exec(kJ);if(!x8)return E.fatalError('end tag name contains invalid characters: "'+kJ+'"');if(!M.currentElement&&!M.doc.documentElement)return;var Q8=GJ[GJ.length-1]||M.currentElement.tagName||M.doc.documentElement.tagName||"";if(Q8!==x8[1]){var V8=x8[1].toLowerCase();if(!N||Q8.toLowerCase()!==V8)return E.fatalError('Opening and ending tag mismatch: "'+Q8+'" != "'+kJ+'"')}var K8=UJ.pop();GJ.pop();var y8=K8.localNSMap;if(M.endElement(K8.uri,K8.localName,Q8),y8){for(var a8 in y8)if(W(y8,a8))M.endPrefixMapping(a8)}xJ++;break;case"?":e&&qJ(i),xJ=m(A,i,M,E);break;case"!":e&&qJ(i),xJ=s(A,i,M,E,N);break;default:e&&qJ(i);var IJ=new o,cJ=UJ[UJ.length-1].currentNSMap,xJ=C(A,i,IJ,cJ,u,E,N),z8=IJ.length;if(!IJ.closed)if(N&&$.isHTMLVoidElement(IJ.tagName))IJ.closed=!0;else GJ.push(IJ.tagName);if(e&&z8){var l8=d(e,{});for(var g8=0;g8<z8;g8++){var t8=IJ[g8];qJ(t8.offset),t8.locator=d(e,{})}if(M.locator=l8,w(IJ,M,cJ))UJ.push(IJ);M.locator=e}else if(w(IJ,M,cJ))UJ.push(IJ);if(N&&!IJ.closed)xJ=S(A,xJ,IJ.tagName,u,M);else xJ++}}catch(YJ){if(YJ instanceof G)throw YJ;else if(YJ instanceof U)throw new G(YJ.name+": "+YJ.message,M.locator,YJ);E.error("element parse error: "+YJ),xJ=-1}if(xJ>BJ)BJ=xJ;else x(Math.max(i,BJ)+1)}}function d(A,v){return v.lineNumber=A.lineNumber,v.columnNumber=A.columnNumber,v}function C(A,v,c,M,E,N,y){function u(qJ,UJ,GJ){if(W(c.attributeNames,qJ))return N.fatalError("Attribute "+qJ+" redefined");if(!y&&UJ.indexOf("<")>=0)return N.fatalError("Unescaped '<' not allowed in attributes values");c.addValue(qJ,UJ.replace(/[\t\n\r]/g," ").replace(b,E),GJ)}var x,k,p=++v,l=D;while(!0){var e=A.charAt(p);switch(e){case"=":if(l===F)x=A.slice(v,p),l=V;else if(l===L)l=V;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(l===V||l===F){if(l===F)N.warning('attribute value must after "="'),x=A.slice(v,p);if(v=p+1,p=A.indexOf(e,v),p>0)k=A.slice(v,p),u(x,k,v-1),l=I;else throw Error("attribute value no end '"+e+"' match")}else if(l==H)k=A.slice(v,p),u(x,k,v),N.warning('attribute "'+x+'" missed start quot('+e+")!!"),v=p+1,l=I;else throw Error('attribute value must after "="');break;case"/":switch(l){case D:c.setTagName(A.slice(v,p));case I:case z:case T:l=T,c.closed=!0;case H:case F:break;case L:c.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":if(N.error("unexpected end of input"),l==D)c.setTagName(A.slice(v,p));return p;case">":switch(l){case D:c.setTagName(A.slice(v,p));case I:case z:case T:break;case H:case F:if(k=A.slice(v,p),k.slice(-1)==="/")c.closed=!0,k=k.slice(0,-1);case L:if(l===L)k=x;if(l==H)N.warning('attribute "'+k+'" missed quot(")!'),u(x,k,v);else{if(!y)N.warning('attribute "'+k+'" missed value!! "'+k+'" instead!!');u(k,k,v)}break;case V:if(!y)return N.fatalError(`AttValue: ' or " expected`)}return p;case"€":e=" ";default:if(e<=" ")switch(l){case D:c.setTagName(A.slice(v,p)),l=z;break;case F:x=A.slice(v,p),l=L;break;case H:var k=A.slice(v,p);N.warning('attribute "'+k+'" missed quot(")!!'),u(x,k,v);case I:l=z;break}else switch(l){case L:if(!y)N.warning('attribute "'+x+'" missed value!! "'+x+'" instead2!!');u(x,x,v),v=p,l=F;break;case I:N.warning('attribute space is required"'+x+'"!!');case z:l=F,v=p;break;case V:l=H,v=p;break;case T:throw Error("elements closed character '/' and '>' must be connected to")}}p++}}function w(A,v,c){var M=A.tagName,E=null,l=A.length;while(l--){var N=A[l],y=N.qName,u=N.value,e=y.indexOf(":");if(e>0)var x=N.prefix=y.slice(0,e),k=y.slice(e+1),p=x==="xmlns"&&k;else k=y,x=null,p=y==="xmlns"&&"";if(N.localName=k,p!==!1){if(E==null)E=Object.create(null),h(c,c=Object.create(null));c[p]=E[p]=u,N.uri=B.XMLNS,v.startPrefixMapping(p,u)}}var l=A.length;while(l--)if(N=A[l],N.prefix){if(N.prefix==="xml")N.uri=B.XML;if(N.prefix!=="xmlns")N.uri=c[N.prefix]}var e=M.indexOf(":");if(e>0)x=A.prefix=M.slice(0,e),k=A.localName=M.slice(e+1);else x=null,k=A.localName=M;var qJ=A.uri=c[x||""];if(v.startElement(qJ,k,M,A),A.closed){if(v.endElement(qJ,k,M),E){for(x in E)if(W(E,x))v.endPrefixMapping(x)}}else return A.currentNSMap=c,A.localNSMap=E,!0}function S(A,v,c,M,E){var N=Z(c);if(N||Y(c)){var y=A.indexOf("</"+c+">",v),u=A.substring(v+1,y);if(N)u=u.replace(b,M);return E.characters(u,0,u.length),y}return v+1}function h(A,v){for(var c in A)if(W(A,c))v[c]=A[c]}function a(A,v){var c=v;function M(p){return p=p||0,A.charAt(c+p)}function E(p){p=p||1,c+=p}function N(){var p=0;while(c<A.length){var l=M();if(l!==" "&&l!==`
8
+ `&&l!=="\t"&&l!=="\r")return p;p++,E()}return-1}function y(){return A.substring(c)}function u(p){return A.substring(c,c+p.length)===p}function x(p){return A.substring(c,c+p.length).toUpperCase()===p.toUpperCase()}function k(p){var l=Q.reg("^",p),e=l.exec(y());if(e)return E(e[0].length),e[0];return null}return{char:M,getIndex:function(){return c},getMatch:k,getSource:function(){return A},skip:E,skipBlanks:N,substringFromIndex:y,substringStartsWith:u,substringStartsWithCaseInsensitive:x}}function f(A,v){function c(u,x){var k=Q.PI.exec(u.substringFromIndex());if(!k)return x.fatalError("processing instruction is not well-formed at position "+u.getIndex());if(k[1].toLowerCase()==="xml")return x.fatalError("xml declaration is only allowed at the start of the document, but found at position "+u.getIndex());return u.skip(k[0].length),k[0]}var M=A.getSource();if(A.char()==="["){A.skip(1);var E=A.getIndex();while(A.getIndex()<M.length){if(A.skipBlanks(),A.char()==="]"){var N=M.substring(E,A.getIndex());return A.skip(1),N}var y=null;if(A.char()==="<"&&A.char(1)==="!")switch(A.char(2)){case"E":if(A.char(3)==="L")y=A.getMatch(Q.elementdecl);else if(A.char(3)==="N")y=A.getMatch(Q.EntityDecl);break;case"A":y=A.getMatch(Q.AttlistDecl);break;case"N":y=A.getMatch(Q.NotationDecl);break;case"-":y=A.getMatch(Q.Comment);break}else if(A.char()==="<"&&A.char(1)==="?")y=c(A,v);else if(A.char()==="%")y=A.getMatch(Q.PEReference);else return v.fatalError("Error detected in Markup declaration");if(!y)return v.fatalError("Error in internal subset at position "+A.getIndex())}return v.fatalError("doctype internal subset is not well-formed, missing ]")}}function s(A,v,c,M,E){var N=a(A,v);switch(E?N.char(2).toUpperCase():N.char(2)){case"-":var y=N.getMatch(Q.Comment);if(y)return c.comment(y,Q.COMMENT_START.length,y.length-Q.COMMENT_START.length-Q.COMMENT_END.length),N.getIndex();else return M.fatalError("comment is not well-formed at position "+N.getIndex());case"[":var u=N.getMatch(Q.CDSect);if(u){if(!E&&!c.currentElement)return M.fatalError("CDATA outside of element");return c.startCDATA(),c.characters(u,Q.CDATA_START.length,u.length-Q.CDATA_START.length-Q.CDATA_END.length),c.endCDATA(),N.getIndex()}else return M.fatalError("Invalid CDATA starting at position "+v);case"D":{if(c.doc&&c.doc.documentElement)return M.fatalError("Doctype not allowed inside or after documentElement at position "+N.getIndex());if(E?!N.substringStartsWithCaseInsensitive(Q.DOCTYPE_DECL_START):!N.substringStartsWith(Q.DOCTYPE_DECL_START))return M.fatalError("Expected "+Q.DOCTYPE_DECL_START+" at position "+N.getIndex());if(N.skip(Q.DOCTYPE_DECL_START.length),N.skipBlanks()<1)return M.fatalError("Expected whitespace after "+Q.DOCTYPE_DECL_START+" at position "+N.getIndex());var x={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(x.name=N.getMatch(Q.Name),!x.name)return M.fatalError("doctype name missing or contains unexpected characters at position "+N.getIndex());if(E&&x.name.toLowerCase()!=="html")M.warning("Unexpected DOCTYPE in HTML document at position "+N.getIndex());if(N.skipBlanks(),N.substringStartsWith(Q.PUBLIC)||N.substringStartsWith(Q.SYSTEM)){var k=Q.ExternalID_match.exec(N.substringFromIndex());if(!k)return M.fatalError("doctype external id is not well-formed at position "+N.getIndex());if(k.groups.SystemLiteralOnly!==void 0)x.systemId=k.groups.SystemLiteralOnly;else x.systemId=k.groups.SystemLiteral,x.publicId=k.groups.PubidLiteral;N.skip(k[0].length)}else if(E&&N.substringStartsWithCaseInsensitive(Q.SYSTEM)){if(N.skip(Q.SYSTEM.length),N.skipBlanks()<1)return M.fatalError("Expected whitespace after "+Q.SYSTEM+" at position "+N.getIndex());if(x.systemId=N.getMatch(Q.ABOUT_LEGACY_COMPAT_SystemLiteral),!x.systemId)return M.fatalError("Expected "+Q.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+Q.SYSTEM+" at position "+N.getIndex())}if(E&&x.systemId&&!Q.ABOUT_LEGACY_COMPAT_SystemLiteral.test(x.systemId))M.warning("Unexpected doctype.systemId in HTML document at position "+N.getIndex());if(!E)N.skipBlanks(),x.internalSubset=f(N,M);if(N.skipBlanks(),N.char()!==">")return M.fatalError("doctype not terminated with > at position "+N.getIndex());return N.skip(1),c.startDTD(x.name,x.publicId,x.systemId,x.internalSubset),c.endDTD(),N.getIndex()}default:return M.fatalError('Not well-formed XML starting with "<!" at position '+v)}}function m(A,v,c,M){var E=A.substring(v).match(Q.PI);if(!E)return M.fatalError("Invalid processing instruction starting at position "+v);if(E[1].toLowerCase()==="xml"){if(v>0)return M.fatalError("processing instruction at position "+v+" is an xml declaration which is only at the start of the document");if(!Q.XMLDecl.test(A.substring(v)))return M.fatalError("xml declaration is not well-formed")}return c.processingInstruction(E[1],E[2]),v+E[0].length}function o(){this.attributeNames=Object.create(null)}o.prototype={setTagName:function(A){if(!Q.QName_exact.test(A))throw Error("invalid tagName:"+A);this.tagName=A},addValue:function(A,v,c){if(!Q.QName_exact.test(A))throw Error("invalid attribute:"+A);this.attributeNames[A]=this.length,this[this.length++]={qName:A,value:v,offset:c}},length:0,getLocalName:function(A){return this[A].localName},getLocator:function(A){return this[A].locator},getQName:function(A){return this[A].qName},getURI:function(A){return this[A].uri},getValue:function(A){return this[A].value}},J.XMLReader=_,J.parseUtils=a,J.parseDoctypeCommentOrCData=s}),bK=c8((J)=>{var $=j$(),Q=EQ(),K=w6(),Z=yK(),X=gK(),Y=Q.DOMImplementation,W=$.hasDefaultHTMLNamespace,B=$.isHTMLMimeType,G=$.isValidMimeType,U=$.MIME_TYPE,D=$.NAMESPACE,F=K.ParseError,L=X.XMLReader;function V(C){return C.replace(/\r[\n\u0085]/g,`
9
+ `).replace(/[\r\u0085\u2028\u2029]/g,`
10
+ `)}function H(C){if(C=C||{},C.locator===void 0)C.locator=!0;if(this.assign=C.assign||$.assign,this.domHandler=C.domHandler||I,this.onError=C.onError||C.errorHandler,C.errorHandler&&typeof C.errorHandler!=="function")throw TypeError("errorHandler object is no longer supported, switch to onError!");else if(C.errorHandler)C.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this);this.normalizeLineEndings=C.normalizeLineEndings||V,this.locator=!!C.locator,this.xmlns=this.assign(Object.create(null),C.xmlns)}H.prototype.parseFromString=function(C,w){if(!G(w))throw TypeError('DOMParser.parseFromString: the provided mimeType "'+w+'" is not valid.');var S=this.assign(Object.create(null),this.xmlns),h=Z.XML_ENTITIES,a=S[""]||null;if(W(w))h=Z.HTML_ENTITIES,a=D.HTML;else if(w===U.XML_SVG_IMAGE)a=D.SVG;S[""]=a,S.xml=S.xml||D.XML;var f=new this.domHandler({mimeType:w,defaultNamespace:a,onError:this.onError}),s=this.locator?{}:void 0;if(this.locator)f.setDocumentLocator(s);var m=new L;m.errorHandler=f,m.domBuilder=f;var o=!$.isHTMLMimeType(w);if(o&&typeof C!=="string")m.errorHandler.fatalError("source is not a string");if(m.parse(this.normalizeLineEndings(String(C)),S,h),!f.doc.documentElement)m.errorHandler.fatalError("missing root element");return f.doc};function I(C){var w=C||{};this.mimeType=w.mimeType||U.XML_APPLICATION,this.defaultNamespace=w.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=w.onError}function z(C,w){w.lineNumber=C.lineNumber,w.columnNumber=C.columnNumber}I.prototype={startDocument:function(){var C=new Y;this.doc=B(this.mimeType)?C.createHTMLDocument(!1):C.createDocument(this.defaultNamespace,"")},startElement:function(C,w,S,h){var a=this.doc,f=a.createElementNS(C,S||w),s=h.length;b(this,f),this.currentElement=f,this.locator&&z(this.locator,f);for(var m=0;m<s;m++){var C=h.getURI(m),o=h.getValue(m),S=h.getQName(m),A=a.createAttributeNS(C,S);this.locator&&z(h.getLocator(m),A),A.value=A.nodeValue=o,f.setAttributeNode(A)}},endElement:function(C,w,S){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(C,w){},endPrefixMapping:function(C){},processingInstruction:function(C,w){var S=this.doc.createProcessingInstruction(C,w);this.locator&&z(this.locator,S),b(this,S)},ignorableWhitespace:function(C,w,S){},characters:function(C,w,S){if(C=_.apply(this,arguments),C){if(this.cdata)var h=this.doc.createCDATASection(C);else var h=this.doc.createTextNode(C);if(this.currentElement)this.currentElement.appendChild(h);else if(/^\s*$/.test(C))this.doc.appendChild(h);this.locator&&z(this.locator,h)}},skippedEntity:function(C){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(C){if(C)C.lineNumber=0;this.locator=C},comment:function(C,w,S){C=_.apply(this,arguments);var h=this.doc.createComment(C);this.locator&&z(this.locator,h),b(this,h)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(C,w,S,h){var a=this.doc.implementation;if(a&&a.createDocumentType){var f=a.createDocumentType(C,w,S,h);this.locator&&z(this.locator,f),b(this,f),this.doc.doctype=f}},reportError:function(C,w){if(typeof this.onError==="function")try{this.onError(C,w,this)}catch(S){throw new F("Reporting "+C+' "'+w+'" caused '+S,this.locator)}else console.error("[xmldom "+C+"]\t"+w,T(this.locator))},warning:function(C){this.reportError("warning",C)},error:function(C){this.reportError("error",C)},fatalError:function(C){throw this.reportError("fatalError",C),new F(C,this.locator)}};function T(C){if(C)return`
11
+ @#[line:`+C.lineNumber+",col:"+C.columnNumber+"]"}function _(C,w,S){if(typeof C=="string")return C.substr(w,S);else{if(C.length>=w+S||w)return new java.lang.String(C,w,S)+"";return C}}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(C){I.prototype[C]=function(){return null}});function b(C,w){if(!C.currentElement)C.doc.appendChild(w);else C.currentElement.appendChild(w)}function n(C){if(C==="error")throw"onErrorStopParsing"}function d(){throw"onWarningStopParsing"}J.__DOMHandler=I,J.DOMParser=H,J.normalizeLineEndings=V,J.onErrorStopParsing=n,J.onWarningStopParsing=d});if(typeof window<"u"){if(window.NodeList&&!NodeList.prototype.forEach)NodeList.prototype.forEach=Array.prototype.forEach;if(typeof window.CustomEvent!=="function")window.CustomEvent=function($,Q){Q=Q||{bubbles:!1,cancelable:!1,detail:null};var K=document.createEvent("CustomEvent");return K.initCustomEvent($,Q.bubbles,Q.cancelable,Q.detail),K}}var vK=typeof document<"u"&&!!document.documentMode,V0;function uK(){if(V0)return V0;return V0=document.createElement("div").style}var PQ=["webkit","moz","ms"],I6={};function T0(J){if(I6[J])return I6[J];let $=uK();if(J in $)return I6[J]=J;let Q=J[0].toUpperCase()+J.slice(1),K=PQ.length;while(K--){let Z=`${PQ[K]}${Q}`;if(Z in $)return I6[J]=Z}}function z6(J,$){return parseFloat($[T0(J)])||0}function C6(J,$,Q=window.getComputedStyle(J)){let K=$==="border"?"Width":"";return{left:z6(`${$}Left${K}`,Q),right:z6(`${$}Right${K}`,Q),top:z6(`${$}Top${K}`,Q),bottom:z6(`${$}Bottom${K}`,Q)}}function Z$(J,$,Q){J.style[T0($)]=Q}function hK(J,$){let Q=T0("transform");Z$(J,"transition",`${Q} ${$.duration}ms ${$.easing}`)}function fK(J,{x:$,y:Q,scale:K,isSVG:Z},X){if(Z$(J,"transform",`scale(${K}) translate(${$}px, ${Q}px)`),Z&&vK){let Y=window.getComputedStyle(J).getPropertyValue("transform");J.setAttribute("transform",Y)}}function O0(J){let $=J.parentNode;if(!$||$.nodeType!==1)$=document.documentElement;let Q=window.getComputedStyle(J),K=window.getComputedStyle($),Z=J.getBoundingClientRect(),X=$.getBoundingClientRect();return{elem:{style:Q,width:Z.width,height:Z.height,top:Z.top,bottom:Z.bottom,left:Z.left,right:Z.right,margin:C6(J,"margin",Q),border:C6(J,"border",Q)},parent:{style:K,width:X.width,height:X.height,top:X.top,bottom:X.bottom,left:X.left,right:X.right,padding:C6($,"padding",K),border:C6($,"border",K)}}}var f$={down:"mousedown",move:"mousemove",up:"mouseup mouseleave"};if(typeof window<"u"){if(typeof window.PointerEvent==="function")f$={down:"pointerdown",move:"pointermove",up:"pointerup pointerleave pointercancel"};else if(typeof window.TouchEvent==="function")f$={down:"touchstart",move:"touchmove",up:"touchend touchcancel"}}function M0(J,$,Q,K){f$[J].split(" ").forEach((Z)=>{$.addEventListener(Z,Q,K)})}function P0(J,$,Q){f$[J].split(" ").forEach((K)=>{$.removeEventListener(K,Q)})}function SQ(J,$){let Q=J.length;while(Q--)if(J[Q].pointerId===$.pointerId)return Q;return-1}function I0(J,$){let Q;if($.touches){Q=0;for(let K of $.touches)K.pointerId=Q++,I0(J,K);return}if(Q=SQ(J,$),Q>-1)J.splice(Q,1);J.push($)}function mK(J,$){if($.touches){while(J.length)J.pop();return}let Q=SQ(J,$);if(Q>-1)J.splice(Q,1)}function HQ(J){J=J.slice(0);let $=J.pop(),Q;while(Q=J.pop())$={clientX:(Q.clientX-$.clientX)/2+$.clientX,clientY:(Q.clientY-$.clientY)/2+$.clientY};return $}function H0(J){if(J.length<2)return 0;let $=J[0],Q=J[1];return Math.sqrt(Math.pow(Math.abs(Q.clientX-$.clientX),2)+Math.pow(Math.abs(Q.clientY-$.clientY),2))}function pK(J){let $=J;while($&&$.parentNode){if($.parentNode===document)return!0;$=$.parentNode instanceof ShadowRoot?$.parentNode.host:$.parentNode}return!1}function cK(J){return(J.getAttribute("class")||"").trim()}function nK(J,$){return J.nodeType===1&&` ${cK(J)} `.indexOf(` ${$} `)>-1}function dK(J,$){for(let Q=J;Q!=null;Q=Q.parentNode)if(nK(Q,$.excludeClass)||$.exclude.indexOf(Q)>-1)return!0;return!1}var rK=/^http:[\w\.\/]+svg$/;function oK(J){return rK.test(J.namespaceURI)&&J.nodeName.toLowerCase()!=="svg"}function iK(J){let $={};for(let Q in J)if(J.hasOwnProperty(Q))$[Q]=J[Q];return $}var kQ={animate:!1,canvas:!1,cursor:"move",disablePan:!1,disableZoom:!1,disableXAxis:!1,disableYAxis:!1,duration:200,easing:"ease-in-out",exclude:[],excludeClass:"panzoom-exclude",handleStartEvent:(J)=>{J.preventDefault(),J.stopPropagation()},maxScale:4,minScale:0.125,overflow:"hidden",panOnlyWhenZoomed:!1,pinchAndPan:!1,relative:!1,setTransform:fK,startX:0,startY:0,startScale:1,step:0.3,touchAction:"none"};function xQ(J,$){if(!J)throw Error("Panzoom requires an element as an argument");if(J.nodeType!==1)throw Error("Panzoom requires an element with a nodeType of 1");if(!pK(J))throw Error("Panzoom should be called on elements that have been attached to the DOM");$={...kQ,...$};let Q=oK(J),K=J.parentNode;K.style.overflow=$.overflow,K.style.userSelect="none",K.style.touchAction=$.touchAction,($.canvas?K:J).style.cursor=$.cursor,J.style.userSelect="none",J.style.touchAction=$.touchAction,Z$(J,"transformOrigin",typeof $.origin==="string"?$.origin:Q?"0 0":"50% 50%");function Z(){K.style.overflow="",K.style.userSelect="",K.style.touchAction="",K.style.cursor="",J.style.cursor="",J.style.userSelect="",J.style.touchAction="",Z$(J,"transformOrigin","")}function X(M={}){for(let E in M)if(M.hasOwnProperty(E))$[E]=M[E];if(M.hasOwnProperty("cursor")||M.hasOwnProperty("canvas"))K.style.cursor=J.style.cursor="",($.canvas?K:J).style.cursor=$.cursor;if(M.hasOwnProperty("overflow"))K.style.overflow=M.overflow;if(M.hasOwnProperty("touchAction"))K.style.touchAction=M.touchAction,J.style.touchAction=M.touchAction}let Y=0,W=0,B=1,G=!1;H($.startScale,{animate:!1,force:!0}),setTimeout(()=>{V($.startX,$.startY,{animate:!1,force:!0})});function U(M,E,N){if(N.silent)return;let y=new CustomEvent(M,{detail:E});J.dispatchEvent(y)}function D(M,E,N){let y={x:Y,y:W,scale:B,isSVG:Q,originalEvent:N};return requestAnimationFrame(()=>{if(typeof E.animate==="boolean")if(E.animate)hK(J,E);else Z$(J,"transition","none");E.setTransform(J,y,E),U(M,y,E),U("panzoomchange",y,E)}),y}function F(M,E,N,y){let u={...$,...y},x={x:Y,y:W,opts:u};if(!y?.force&&(u.disablePan||u.panOnlyWhenZoomed&&B===u.startScale))return x;if(M=parseFloat(M),E=parseFloat(E),!u.disableXAxis)x.x=(u.relative?Y:0)+M;if(!u.disableYAxis)x.y=(u.relative?W:0)+E;if(u.contain){let k=O0(J),p=k.elem.width/B,l=k.elem.height/B,e=p*N,qJ=l*N,UJ=(e-p)/2,GJ=(qJ-l)/2;if(u.contain==="inside"){let BJ=(-k.elem.margin.left-k.parent.padding.left+UJ)/N,i=(k.parent.width-e-k.parent.padding.left-k.elem.margin.left-k.parent.border.left-k.parent.border.right+UJ)/N;x.x=Math.max(Math.min(x.x,i),BJ);let PJ=(-k.elem.margin.top-k.parent.padding.top+GJ)/N,RJ=(k.parent.height-qJ-k.parent.padding.top-k.elem.margin.top-k.parent.border.top-k.parent.border.bottom+GJ)/N;x.y=Math.max(Math.min(x.y,RJ),PJ)}else if(u.contain==="outside"){let BJ=(-(e-k.parent.width)-k.parent.padding.left-k.parent.border.left-k.parent.border.right+UJ)/N,i=(UJ-k.parent.padding.left)/N;x.x=Math.max(Math.min(x.x,i),BJ);let PJ=(-(qJ-k.parent.height)-k.parent.padding.top-k.parent.border.top-k.parent.border.bottom+GJ)/N,RJ=(GJ-k.parent.padding.top)/N;x.y=Math.max(Math.min(x.y,RJ),PJ)}}if(u.roundPixels)x.x=Math.round(x.x),x.y=Math.round(x.y);return x}function L(M,E){let N={...$,...E},y={scale:B,opts:N};if(!E?.force&&N.disableZoom)return y;let{minScale:u,maxScale:x}=$;if(N.contain){let k=O0(J),p=k.elem.width/B,l=k.elem.height/B;if(p>1&&l>1){let e=k.parent.width-k.parent.border.left-k.parent.border.right,qJ=k.parent.height-k.parent.border.top-k.parent.border.bottom,UJ=e/p,GJ=qJ/l;if($.contain==="inside")x=Math.min(x,UJ,GJ);else if($.contain==="outside")u=Math.max(u,UJ,GJ)}}return y.scale=Math.min(Math.max(M,u),x),y}function V(M,E,N,y){let u=F(M,E,B,N);if(Y!==u.x||W!==u.y)return Y=u.x,W=u.y,D("panzoompan",u.opts,y);return{x:Y,y:W,scale:B,isSVG:Q,originalEvent:y}}function H(M,E,N){let y=L(M,E),u=y.opts;if(!E?.force&&u.disableZoom)return;M=y.scale;let x=Y,k=W;if(u.focal){let l=u.focal;x=(l.x/M-l.x/B+Y*M)/M,k=(l.y/M-l.y/B+W*M)/M}let p=F(x,k,M,{relative:!1,force:!0});return Y=p.x,W=p.y,B=M,D("panzoomzoom",u,N)}function I(M,E){let N={...$,animate:!0,...E};return H(B*Math.exp((M?1:-1)*N.step),N)}function z(M){return I(!0,M)}function T(M){return I(!1,M)}function _(M,E,N,y){let u=O0(J),x={width:u.parent.width-u.parent.padding.left-u.parent.padding.right-u.parent.border.left-u.parent.border.right,height:u.parent.height-u.parent.padding.top-u.parent.padding.bottom-u.parent.border.top-u.parent.border.bottom},k=E.clientX-u.parent.left-u.parent.padding.left-u.parent.border.left-u.elem.margin.left,p=E.clientY-u.parent.top-u.parent.padding.top-u.parent.border.top-u.elem.margin.top;if(!Q)k-=u.elem.width/B/2,p-=u.elem.height/B/2;let l={x:k/x.width*(x.width*M),y:p/x.height*(x.height*M)};return H(M,{...N,animate:!1,focal:l},y)}function b(M,E){M.preventDefault();let N={...$,...E,animate:!1},u=(M.deltaY===0&&M.deltaX?M.deltaX:M.deltaY)<0?1:-1,x=L(B*Math.exp(u*N.step/3),N).scale;return _(x,M,N,M)}function n(M){let E={...$,animate:!0,force:!0,...M};B=L(E.startScale,E).scale;let N=F(E.startX,E.startY,B,E);return Y=N.x,W=N.y,D("panzoomreset",E)}let d,C,w,S,h,a,f=[];function s(M){if(dK(M.target,$))return;I0(f,M),G=!0,$.handleStartEvent(M),d=Y,C=W,U("panzoomstart",{x:Y,y:W,scale:B,isSVG:Q,originalEvent:M},$);let E=HQ(f);w=E.clientX,S=E.clientY,h=B,a=H0(f)}function m(M){if(!G||d===void 0||C===void 0||w===void 0||S===void 0)return;I0(f,M);let E=HQ(f),N=f.length>1,y=B;if(N){if(a===0)a=H0(f);let u=H0(f)-a;y=L(u*$.step/80+h).scale,_(y,E,{animate:!1},M)}if(!N||$.pinchAndPan)V(d+(E.clientX-w)/y,C+(E.clientY-S)/y,{animate:!1},M)}function o(M){if(f.length===1)U("panzoomend",{x:Y,y:W,scale:B,isSVG:Q,originalEvent:M},$);if(mK(f,M),!G)return;G=!1,d=C=w=S=void 0}let A=!1;function v(){if(A)return;A=!0,M0("down",$.canvas?K:J,s),M0("move",document,m,{passive:!0}),M0("up",document,o,{passive:!0})}function c(){A=!1,P0("down",$.canvas?K:J,s),P0("move",document,m),P0("up",document,o)}if(!$.noBind)v();return{bind:v,destroy:c,eventNames:f$,getPan:()=>({x:Y,y:W}),getScale:()=>B,getOptions:()=>iK($),handleDown:s,handleMove:m,handleUp:o,pan:V,reset:n,resetStyle:Z,setOptions:X,setStyle:(M,E)=>Z$(J,M,E),zoom:H,zoomIn:z,zoomOut:T,zoomToPoint:_,zoomWithWheel:b}}xQ.defaultOptions=kQ;var G$=j$(),iZ=G$.assign,sZ=G$.hasDefaultHTMLNamespace,aZ=G$.isHTMLMimeType,lZ=G$.isValidMimeType,tZ=G$.MIME_TYPE,eZ=G$.NAMESPACE,N6=w6(),J9=N6.DOMException,$9=N6.DOMExceptionName,Q9=N6.ExceptionCode,K9=N6.ParseError,NJ=EQ(),Z9=NJ.Attr,X9=NJ.CDATASection,Y9=NJ.CharacterData,j9=NJ.Comment,G9=NJ.Document,B9=NJ.DocumentFragment,W9=NJ.DocumentType,F9=NJ.DOMImplementation,q9=NJ.Element,U9=NJ.Entity,D9=NJ.EntityReference,L9=NJ.LiveNodeList,V9=NJ.NamedNodeMap,O9=NJ.Node,M9=NJ.NodeList,P9=NJ.Notation,H9=NJ.ProcessingInstruction,R9=NJ.Text,I9=NJ.XMLSerializer,E6=bK(),sK=E6.DOMParser,z9=E6.normalizeLineEndings,C9=E6.onErrorStopParsing,A9=E6.onWarningStopParsing,aK=new Set(["x","y","w","h","opacity","rotation","radius","spread","font-size","font-weight","line-height","letter-spacing","arc-start","arc-end","arc-inner","border-width","min-width","max-width","min-height","max-height","columns","corner-smoothing","paragraph-spacing","paragraph-indent","pt","pr","pb","pl","max-lines","mask-x","mask-y","mask-width","mask-height","miter-limit","unit","col-span","row-span"]),lK=new Set(["wrap","clip","mask","abs","truncate","reverse-z"]);function m$(J,$){if($==="true")return!0;if($==="false")return!1;if(lK.has(J)&&$==="")return!0;if(aK.has(J)){if((J==="w"||J==="h")&&($==="fill"||$==="hug"))return $;let Q=Number($);return Number.isFinite(Q)?Q:$}return $}function RQ(J,$,Q,K){let Z={},X={};for(let B=0;B<J.attributes.length;B++){let{name:G,value:U}=J.attributes[B],D=X$(U,$);Z[G]=m$(G,D);let F=T6(U,$);if(F)X[G]=F}let Y=J.getAttribute("fill-style");if(Y&&Q[Y]!==void 0)Z.fill=X$(Q[Y],$),delete Z["fill-style"],delete X["fill-style"],Z.fillStyle=Y;let W=J.getAttribute("text-style");if(W&&K[W]){let B=K[W];for(let G of Object.keys(B))if(J.getAttribute(G)===null)Z[G]=m$(G,X$(B[G],$));delete Z["text-style"],delete X["text-style"],Z.textStyle=W}if(Object.keys(X).length)Z.tokens=X;return Z}function X$(J,$){if(!J||J.indexOf("$")===-1)return J;return J.replace(/\$([A-Za-z0-9_.-]+)/g,(Q,K)=>$[K]??Q)}function T6(J,$){if(!J||J.indexOf("$")===-1)return;let Q=J.match(/\$([A-Za-z0-9_.-]+)/g);if(!Q)return;for(let K of Q){let Z=K.slice(1);if($[Z]!==void 0)return Z}return}function yQ(J,$,Q){if(J.axis&&J.byValue){let K=$[J.axis]?$[J.axis].default:void 0,Z=Q[J.axis]!==void 0?Q[J.axis]:K;if(Z!==void 0&&J.byValue[Z]!==void 0)return J.byValue[Z];if(K!==void 0&&J.byValue[K]!==void 0)return J.byValue[K]}return J.value}function tK(J,$,Q){let K={};for(let Z of Object.keys(J)){let X=yQ(J[Z],$,Q);if(X!==void 0)K[Z]=X}return K}var eK={abs:"true",clip:"true",gap:"auto",mask:"true","reverse-z":"true",truncate:"true",wrap:"true"};function J4(J){let $="",Q=0;while(Q<J.length){let K=J[Q];if(K==='"'||K==="'"){let U=K,D=Q;Q++;while(Q<J.length&&J[Q]!==U)Q++;if(Q<J.length)Q++;$+=J.slice(D,Q);continue}if(!/\s/.test(K)){$+=K,Q++;continue}let X=Q;while(Q<J.length&&/\s/.test(J[Q]))Q++;let Y=Q;if(!/[A-Za-z]/.test(J[Q]||"")){$+=J.slice(X,Q+1),Q++;continue}while(Q<J.length&&/[\w-]/.test(J[Q]))Q++;let W=J.slice(Y,Q),B=J[Q],G=eK[W];if(G&&(/\s/.test(B||"")||B==="/"||B===">"))$+=`${J.slice(X,Y)}${W}="${G}"`;else $+=J.slice(X,Q)}return $}function $4(J){let $="",Q=0;while(Q<J.length){let K=J.indexOf("<",Q);if(K===-1){$+=J.slice(Q);break}if($+=J.slice(Q,K),J.startsWith("<!--",K)){let B=J.indexOf("-->",K+4),G=B===-1?J.length:B+3;$+=J.slice(K,G),Q=G;continue}let Z=K+1,X=null;while(Z<J.length){let B=J[Z];if(X){if(B===X)X=null}else if(B==='"'||B==="'")X=B;else if(B===">")break;Z++}let Y=Z<J.length?Z+1:J.length,W=J.slice(K,Y);if(/^<\/|^<\?|^<!/.test(W))$+=W;else $+=J4(W);Q=Y}return $}function Q4(J){let $={},Q=(K)=>{let Z=K.getAttribute("name"),X=K.getAttribute("values");if(!Z||!X)return;let Y=X.trim().split(/\s+/).filter(Boolean);if(!Y.length)return;let W=K.getAttribute("default"),B=W&&Y.indexOf(W)!==-1?W:Y[0];$[Z]={values:Y,default:B}};for(let K of Array.from(J.children))if(K.tagName==="mode")Q(K);else if(K.tagName==="modes"){for(let Z of Array.from(K.children))if(Z.tagName==="mode")Q(Z)}return $}var K4={color:"color",number:"number",string:"string"};function Z4(J,$){let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="tokens")continue;for(let Z of Array.from(K.children)){let X=K4[Z.tagName];if(!X)continue;let Y=Z.getAttribute("name");if(!Y)continue;let W={type:X},B=Z.getAttribute("value");if(B!==null)W.value=B;let G,U={};for(let D=0;D<Z.attributes.length;D++){let F=Z.attributes[D],L,V;for(let H of Object.keys($)){let I=H+"-";if(F.name.indexOf(I)!==0)continue;let z=F.name.slice(I.length);if($[H].values.indexOf(z)===-1)continue;if(L===void 0||H.length>L.length)L=H,V=z}if(L===void 0||V===void 0)continue;if(G===void 0)G=L;if(L!==G)continue;U[V]=F.value}if(G!==void 0&&Object.keys(U).length>0)W.axis=G,W.byValue=U;Q[Y]=W}}return Q}function X4(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="fonts")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="font")continue;let Z=K.getAttribute("family"),X=K.getAttribute("source");if(!Z||!X)continue;$[Z]={source:X,category:K.getAttribute("category")||void 0,weights:K.getAttribute("weights")||void 0,styles:K.getAttribute("styles")||void 0,variants:K.getAttribute("variants")||void 0}}}return $}var Y4=["font-family","font-size","font-weight","font-style","font-variation","font-feature","line-height","letter-spacing","decoration","decoration-color","decoration-style","decoration-thickness","text-case"];function j4(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="styles")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="text-style")continue;let Z=K.getAttribute("name");if(!Z)continue;let X={};for(let Y of Y4){let W=K.getAttribute(Y);if(W!==null)X[Y]=W}$[Z]=X}}return $}function G4(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="styles")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="fill-style")continue;let Z=K.getAttribute("name"),X=K.getAttribute("value");if(Z&&X!==null)$[Z]=X}}return $}function B4(J,$){let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="styles")continue;for(let Z of Array.from(K.children)){if(Z.tagName!=="effect-style")continue;let X=Z.getAttribute("name");if(!X)continue;Q[X]=Array.from(Z.children).filter((Y)=>Y.tagName==="effect").map((Y)=>gQ(Y,$))}}return Q}function W4(J,$){if(Object.keys($).length>0)return $;let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="assets")continue;for(let Z of Array.from(K.children)){if(Z.tagName!=="image")continue;let X=Z.getAttribute("id"),Y=Z.getAttribute("format")||"png",W=Z.getAttribute("src")||"";if(!X)continue;let B=Y==="svg"?"svg+xml":Y;if(W.startsWith("base64:"))Q[`assets/${X}.${Y}`]=`data:image/${B};base64,${W.slice(7)}`;else if(W)Q[`assets/${X}.${Y}`]=W}}return Q}var F4=new Set(["frame","stack","row","col","grid","group"]),q4=new Set(["text","img","rect","ellipse","line","svg","shape","instance"]),U4=new Set([...F4,...q4]);function gQ(J,$){let Q={};for(let K=0;K<J.attributes.length;K++){let{name:Z,value:X}=J.attributes[K];if(Q[Z]=m$(Z,X$(X,$)),Z==="color"){let Y=T6(X,$);if(Y)Q.token=Y}}return Q}function D4(J,$,Q,K,Z){let X=[],Y=[],W=[];for(let B of Array.from(J.children))if(B.tagName==="fill"){let G={};for(let U=0;U<B.attributes.length;U++){let{name:D,value:F}=B.attributes[U],L=X$(F,$);if(D==="value"){let V=T6(F,$);if(V)G.token=V}if(D==="src")L=Z[L]||L;G[D]=m$(D,L)}X.push(G)}else if(B.tagName==="effect")Y.push(gQ(B,$));else if(B.tagName==="border"){let G={};for(let U=0;U<B.attributes.length;U++){let{name:D,value:F}=B.attributes[U];if(G[D]=m$(D,X$(F,$)),D==="color"){let L=T6(F,$);if(L)G.token=L}}W.push(G)}return{fills:X,effects:Y,borders:W}}function u$(J,$,Q,K,Z,X){let Y=RQ(J,$,Q,K),W=J.getAttribute("src");if(W&&X[W])Y.src=X[W];let B=J.getAttribute("effect-style"),G={type:J.tagName,...Y};if(B)delete G["effect-style"],G.effectStyle=B;if(J.tagName==="svg"&&!J.getAttribute("src")){let V=new XMLSerializer,H=Array.from(J.children);if(H.length>0){let I="";for(let z=0;z<H.length;z++)I+=V.serializeToString(H[z]);G.svgContent=I.replace(/\s+xmlns=""/g,"")}return G}let U=[],D=[],F=[],L;for(let V of Array.from(J.children))if(V.tagName==="appearance")L=D4(V,$,Q,Z,X);else if(V.tagName==="segment"){let H=RQ(V,$,Q,K);D.push({type:"segment",...H})}else if(V.tagName==="path"){let H=V.getAttribute("d");if(H)F.push(H)}else if(U4.has(V.tagName))U.push(u$(V,$,Q,K,Z,X));if(B&&Z[B]){let V=Z[B];if(!L)L={fills:[],effects:[],borders:[]};L.effects=[...V,...L.effects]}if(L)G.appearance=L;if(D.length)G.segments=D;if(F.length)G.paths=F;if(U.length)G.children=U;return G}function L4(J,$,Q,K,Z,X){let Y={};for(let W of Array.from(J.children)){if(W.tagName!=="components")continue;for(let B of Array.from(W.children))if(B.tagName==="component"){let G=B.getAttribute("id");if(!G)continue;let U=Array.from(B.children).find((F)=>F.tagName==="props"),D=Array.from(B.children).find((F)=>F.tagName!=="props");Y[G]={id:G,name:B.getAttribute("name")||void 0,props:U?IQ(U):[],body:D?u$(D,$,Q,K,Z,X):null}}else if(B.tagName==="component-set"){let G=B.getAttribute("id");if(!G)continue;let U=[];for(let D of Array.from(B.children)){if(D.tagName!=="variant")continue;let F=D.getAttribute("id");if(!F)continue;let L={};for(let I=0;I<D.attributes.length;I++){let{name:z,value:T}=D.attributes[I];if(z!=="id")L[z]=T}let V=Array.from(D.children).find((I)=>I.tagName!=="props");U.push({id:F,attrs:L,body:V?u$(V,$,Q,K,Z,X):null});let H=Array.from(D.children).find((I)=>I.tagName==="props");Y[F]={id:F,props:H?IQ(H):[],body:V?u$(V,$,Q,K,Z,X):null}}Y[G]={id:G,name:B.getAttribute("name")||void 0,props:[],body:null,variants:U}}}return Y}function IQ(J){let $=[];for(let Q of Array.from(J.children)){if(Q.tagName!=="prop")continue;let K=Q.getAttribute("name"),Z=Q.getAttribute("type"),X=Q.getAttribute("target"),Y=Q.getAttribute("bind");if(!K||!Z||!X)continue;let W={name:K,type:Z,target:X};if(Y)W.bind=Y;$.push(W)}return $}function V4(J,$){let Q;try{let I=$4(J).replace(/&(?!amp;|lt;|gt;|quot;|apos;|#)/g,"&amp;"),z=globalThis.DOMParser;if(z){if(Q=new z().parseFromString(I,"text/xml"),Q.querySelector?.("parsererror"))return null}else Q=new sK({onError:(T,_)=>{if(T==="fatalError")throw Error(_)}}).parseFromString(I,"text/xml")}catch{return null}let K=Q.documentElement;if(!K||K.tagName!=="gui")return null;let Z=Q4(K),X=Z4(K,Z),Y=tK(X,Z,{}),W=X4(K),B=j4(K),G=G4(K),U=B4(K,Y),D=W4(K,$||{}),F=L4(K,Y,G,B,U,D),L=new Set(["stack","row","col","grid"]),V=null;for(let I of Array.from(K.children))if(I.tagName==="frame"||L.has(I.tagName)){V=I;break}let H=V?u$(V,Y,G,B,U,D):null;return{version:K.getAttribute("version"),name:K.getAttribute("name"),platform:K.getAttribute("platform"),fonts:W,modes:Z,tokenDefs:X,tokens:Y,textStyles:B,styles:B,fillStyles:G,effectStyles:U,assets:D,components:F,root:H}}var z0={},_0={},bQ={},h$={},vQ={},w0={},n8={},uQ={},hQ=new Map,O4={abs:"true",clip:"true",gap:"auto",mask:"true","reverse-z":"true",truncate:"true",wrap:"true"};function M4(J){let $="",Q=0;while(Q<J.length){let K=J[Q];if(K==='"'||K==="'"){let U=K,D=Q;Q++;while(Q<J.length&&J[Q]!==U)Q++;if(Q<J.length)Q++;$+=J.slice(D,Q);continue}if(!/\s/.test(K)){$+=K,Q++;continue}let X=Q;while(Q<J.length&&/\s/.test(J[Q]))Q++;let Y=Q;if(!/[A-Za-z]/.test(J[Q]||"")){$+=J.slice(X,Q+1),Q++;continue}while(Q<J.length&&/[\w-]/.test(J[Q]))Q++;let W=J.slice(Y,Q),B=J[Q],G=O4[W];if(G&&(/\s/.test(B||"")||B==="/"||B===">"))$+=`${J.slice(X,Y)}${W}="${G}"`;else $+=J.slice(X,Q)}return $}function P4(J){let $="",Q=0;while(Q<J.length){let K=J.indexOf("<",Q);if(K===-1){$+=J.slice(Q);break}if($+=J.slice(Q,K),J.startsWith("<!--",K)){let B=J.indexOf("-->",K+4),G=B===-1?J.length:B+3;$+=J.slice(K,G),Q=G;continue}let Z=K+1,X=null;while(Z<J.length){let B=J[Z];if(X){if(B===X)X=null}else if(B==='"'||B==="'")X=B;else if(B===">")break;Z++}let Y=Z<J.length?Z+1:J.length,W=J.slice(K,Y);if(/^<\/|^<\?|^<!/.test(W))$+=W;else $+=M4(W);Q=Y}return $}function N0(J){if(!J||J.indexOf("$")===-1)return J;return J.replace(/\$([A-Za-z0-9_.-]+)/g,($,Q)=>{let K=bQ[Q];if(K){let Z=yQ(K,_0,h$);if(Z!==void 0)return Z}return z0[Q]!==void 0?z0[Q]:$})}function fQ(J,$){let Q=null;for(let K=0;K<J.attributes.length;K++){let Z=J.attributes[K].name;if(Z.indexOf("mode-")!==0)continue;let X=Z.slice(5);if(!_0[X])continue;if(!Q)Q={...$};Q[X]=J.attributes[K].value}return Q||$}function E0(J,$){if(!J)return null;if($[J])return $[J];if(J.startsWith("https://")||J.startsWith("http://")||J.startsWith("data:"))return J;return null}function P(J,$){return N0(J.getAttribute($))}function VJ(J,$){return J.getAttribute($)}function j8(J){return/^-?\d+(\.\d+)?$/.test(J)?`${J}px`:J}function v$(J){if(!J)return"auto";if(J==="fill")return"100%";if(J==="hug")return"fit-content";return j8(J)}function zQ(J){let $=parseInt(J.slice(0,2),16),Q=parseInt(J.slice(2,4),16),K=parseInt(J.slice(4,6),16),Z=(parseInt(J.slice(6,8),16)/255).toFixed(3);return`rgba(${$},${Q},${K},${Z})`}function DJ(J){if(!J)return"transparent";if(J.startsWith("rgba(")||J.startsWith("oklch("))return J;if(J.startsWith("linear-gradient")||J.startsWith("radial-gradient")||J.startsWith("conic-gradient"))return J.replace(/#([0-9a-fA-F]{8})\b/g,($,Q)=>zQ(Q));if(J.length===9&&J[0]==="#")return zQ(J.slice(1));return J}function Y$(J){if(!J)return"none";if(J.startsWith("linear-gradient")||J.startsWith("radial-gradient")||J.startsWith("conic-gradient")){let $=J.match(/rgba?\([^)]+\)|#[0-9a-fA-F]{6,8}/);return $?DJ($[0]):"none"}return DJ(J)}function S6(J){if(!J)return"0";return J.split(" ").map(j8).join(" ")}function H4(J){if(!J)return"0";return J.split(" ").map(j8).join(" ")}function k6(J){if(!J)return null;let $=J.split(" ");if($.length>=5)return`${$[0]}px ${$[1]}px ${$[2]}px ${$[3]}px ${DJ($[4])}`;return null}function R4(J){if(!/^-?\d+(\.\d+)?$/.test(J))return J;let $=parseFloat(J);if(Number.isFinite($)&&$>0&&$<=4)return String($);return`${J}px`}function I4(J){return`"${J.replace(/\\/g,"\\\\").replace(/"/g,"\\\"")}"`}function z4(J,$){if(J?.source==="system")return'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif';if(J?.category==="serif")return"serif";if(J?.category==="monospace"||/mono|code|console/i.test($))return"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";if(J?.category==="handwriting")return"cursive";return"sans-serif"}function C4(J){return`${I4(J)}, ${z4(vQ[J],J)}`}function A4(J,$,Q){if(Q===null)return null;let K=(Q===""?"auto":Q).trim().split(/\s+/),Z=K[0],X=K[1]||null,Y=null;if(Z==="auto")J.style.justifyContent="space-between";else if(/^-\d+(\.\d+)?$/.test(Z))Y=parseFloat(Z);else{let W=j8(Z);if($==="horizontal")J.style.columnGap=W;else J.style.rowGap=W}if(X!==null)if(X==="auto")J.style.alignContent="space-between";else{let W=j8(X);if($==="horizontal")J.style.rowGap=W;else J.style.columnGap=W}return Y}var T4=`
7
12
  /* ── Base reset ──────────────────────────────────────────────────────────── */
8
13
  gui-frame, gui-stack, gui-row, gui-col, gui-grid,
9
14
  gui-text, gui-img, gui-svg, gui-shape, gui-group {
@@ -112,4 +117,4 @@ gui-stack[gap="auto"], gui-row[gap="auto"], gui-col[gap="auto"] { justify-conten
112
117
  .gui-fit-contain { object-fit: contain; }
113
118
  .gui-fit-none { object-fit: none; }
114
119
  .gui-relative { position: relative; }
115
- `;function K7(){if(typeof document>"u")return;if(document.querySelector("style[data-gui-render-utilities]"))return;let J=document.createElement("style");J.setAttribute("data-gui-render-utilities","true"),J.textContent=Q7,document.head.appendChild(J)}function t(J,$){J.classList.add($)}var p6=0,x$=0;function c6(J,$,Q,K){let Z=(y)=>Math.round(y*1e4)/1e4,j=(y)=>y*Math.PI/180,X=Math.min(J,$)/2,W=Math.min(Math.max(Q,0),X);if(W<=0)return`M 0 0 L ${Z(J)} 0 L ${Z(J)} ${Z($)} L 0 ${Z($)} Z`;let B=Math.min(1,Math.max(0,K)),Y=(1+B)*W,G=X/W-1;B=Math.max(0,Math.min(B,G)),Y=Math.min(Y,X);let q=90*(1-B),U=Math.sin(j(q/2))*W*Math.SQRT2,L=(90-q)/2,D=W*Math.tan(j(L/2)),H=45*B,O=D*Math.cos(j(H)),M=O*Math.tan(j(H)),P=(Y-U-O-M)/3,I=2*P,z=W,k=U,x=`c ${Z(I)} 0 ${Z(I+P)} 0 ${Z(I+P+O)} ${Z(M)} a ${Z(z)} ${Z(z)} 0 0 1 ${Z(k)} ${Z(k)} c ${Z(M)} ${Z(O)} ${Z(M)} ${Z(P+O)} ${Z(M)} ${Z(I+P+O)}`,E=`c 0 ${Z(I)} 0 ${Z(I+P)} ${Z(-M)} ${Z(I+P+O)} a ${Z(z)} ${Z(z)} 0 0 1 ${Z(-k)} ${Z(k)} c ${Z(-O)} ${Z(M)} ${Z(-(P+O))} ${Z(M)} ${Z(-(I+P+O))} ${Z(M)}`,A=`c ${Z(-I)} 0 ${Z(-(I+P))} 0 ${Z(-(I+P+O))} ${Z(-M)} a ${Z(z)} ${Z(z)} 0 0 1 ${Z(-k)} ${Z(-k)} c ${Z(-M)} ${Z(-O)} ${Z(-M)} ${Z(-(P+O))} ${Z(-M)} ${Z(-(I+P+O))}`,R=`c 0 ${Z(-I)} 0 ${Z(-(I+P))} ${Z(M)} ${Z(-(I+P+O))} a ${Z(z)} ${Z(z)} 0 0 1 ${Z(k)} ${Z(-k)} c ${Z(O)} ${Z(-M)} ${Z(P+O)} ${Z(-M)} ${Z(I+P+O)} ${Z(-M)}`;return`M ${Z(J-Y)} 0 ${x} L ${Z(J)} ${Z($-Y)} ${E} L ${Z(Y)} ${Z($)} ${A} L 0 ${Z(Y)} ${R} Z`}function Z7(J,$,Q,K){let Z=`gui-squircle-${++x$}`,j="http://www.w3.org/2000/svg",X=c6(J,$,Q,K),W=document.createElementNS("http://www.w3.org/2000/svg","svg");W.setAttribute("width","0"),W.setAttribute("height","0"),W.style.position="absolute",W.style.pointerEvents="none";let B=document.createElementNS("http://www.w3.org/2000/svg","defs"),Y=document.createElementNS("http://www.w3.org/2000/svg","clipPath");Y.setAttribute("id",Z),Y.setAttribute("clipPathUnits","userSpaceOnUse");let G=document.createElementNS("http://www.w3.org/2000/svg","path");return G.setAttribute("d",X),Y.appendChild(G),B.appendChild(Y),W.appendChild(B),[W,Z]}function j7(J,$,Q,K,Z,j,X,W,B,Y){let q=c6($,Q,K,Z),U=document.createElementNS("http://www.w3.org/2000/svg","svg");if(U.setAttribute("width",String($)),U.setAttribute("height",String(Q)),U.style.position="absolute",U.style.left="0",U.style.top="0",U.style.overflow="visible",U.style.pointerEvents="none",U.style.zIndex="2",B)U.style.opacity=B;if(Y)U.style.mixBlendMode=Y;let L=`gui-ssclip-${++x$}`,D=document.createElementNS("http://www.w3.org/2000/svg","defs"),H=document.createElementNS("http://www.w3.org/2000/svg","clipPath");H.setAttribute("id",L),H.setAttribute("clipPathUnits","userSpaceOnUse");let O=document.createElementNS("http://www.w3.org/2000/svg","path");O.setAttribute("d",q),H.appendChild(O),D.appendChild(H),U.appendChild(D);let M=document.createElementNS("http://www.w3.org/2000/svg","path");if(M.setAttribute("d",q),M.setAttribute("fill","none"),M.setAttribute("stroke",l(X)),W==="inside")M.setAttribute("stroke-width",String(j*2)),M.setAttribute("clip-path",`url(#${L})`);else M.setAttribute("stroke-width",String(j)),M.setAttribute("clip-path",`url(#${L})`);U.appendChild(M),J.appendChild(U)}function hQ(J,$){let Q=F($,"corner-smoothing");if(!Q)return;let K=parseFloat(Q);if(!Number.isFinite(K)||K<=0)return;let Z=F($,"radius");if(!Z)return;let j=parseFloat(Z);if(!Number.isFinite(j)||j<=0)return;let X=F($,"w"),W=F($,"h"),B=X?parseFloat(X):NaN,Y=W?parseFloat(W):NaN;if(!Number.isFinite(B)||!Number.isFinite(Y)||B<=0||Y<=0)return;J.style.borderRadius="";let[G,q]=Z7(B,Y,j,K);J.insertBefore(G,J.firstChild),J.style.clipPath=`url(#${q})`}function kJ(J,$,Q){let K=F($,"w"),Z=F($,"h"),j=K===null||K==="hug"?"hug":K==="fill"?"fill":"fixed",X=Z===null||Z==="hug"?"hug":Z==="fill"?"fill":"fixed";J.setAttribute("data-w-mode",j),J.setAttribute("data-h-mode",X);let W=JJ($,"data-uid");if(W!==null)J.setAttribute("data-uid",W);if(j==="fixed")J.style.setProperty("--gui-w",yJ(K));if(X==="fixed")J.style.setProperty("--gui-h",yJ(Z));if(Q.parentDirection)J.setAttribute("data-parent-dir",Q.parentDirection);let B=F($,"min-width"),Y=F($,"max-width"),G=F($,"min-height"),q=F($,"max-height");if(B)J.style.minWidth=yJ(B);if(Y)J.style.maxWidth=yJ(Y);if(G)J.style.minHeight=yJ(G);if(q)J.style.maxHeight=yJ(q);let U=F($,"opacity");if(U)J.style.opacity=U;let L=F($,"blend");if(L)J.style.mixBlendMode=L;let D=JJ($,"mask");if(D!==null&&D!=="false")J.setAttribute("data-mask","true");B7(J,$);let H=F($,"filter");if(H)J.style.filter=H;let O=F($,"isolation");if(O&&O!=="false")J.style.isolation="isolate";let M=F($,"aspect-ratio");if(M)J.style.aspectRatio=M;let P=F($,"z-index");if(P)J.style.zIndex=P;if(F($,"visible")==="false")J.style.display="none";if(Q.absolute){let z=parseFloat(F($,"x")||"0")-(Q.offsetX||0),k=parseFloat(F($,"y")||"0")-(Q.offsetY||0);J.setAttribute("data-pos","absolute"),J.style.setProperty("--gui-x",`${z}px`),J.style.setProperty("--gui-y",`${k}px`)}}var X7={"top-left":"0% 0%","top-center":"50% 0%","top-right":"100% 0%","middle-left":"0% 50%",center:"50% 50%","middle-center":"50% 50%","middle-right":"100% 50%","bottom-left":"0% 100%","bottom-center":"50% 100%","bottom-right":"100% 100%"};function Y7(J,$){let Q=F($,"rotation"),K=F($,"flip"),Z=F($,"scale-x"),j=F($,"scale-y"),X=F($,"skew-x"),W=F($,"skew-y"),B=[],Y=Q?parseFloat(Q):0;if(Number.isFinite(Y)&&Y!==0)B.push(`rotate(${Y}deg)`);if(K==="h")B.push("scaleX(-1)");else if(K==="v")B.push("scaleY(-1)");else if(K==="both")B.push("scaleX(-1) scaleY(-1)");if(Z!==null){let q=parseFloat(Z);if(Number.isFinite(q))B.push(`scaleX(${q})`)}if(j!==null){let q=parseFloat(j);if(Number.isFinite(q))B.push(`scaleY(${q})`)}if(X!==null){let q=parseFloat(X);if(Number.isFinite(q))B.push(`skewX(${q}deg)`)}if(W!==null){let q=parseFloat(W);if(Number.isFinite(q))B.push(`skewY(${q}deg)`)}if(B.length>0)J.style.transform=B.join(" "),J.style.transformBox="fill-box";let G=F($,"transform-origin");if(G)J.style.transformOrigin=X7[G]||G;else if(B.length>0)J.style.transformOrigin="center"}function B7(J,$){Y7(J,$)}function W7(J){let $=F(J,"rotation"),Q=$?parseFloat($):0;if(!Number.isFinite(Q))return null;let K=(Q%360+360)%360,Z=Math.round(K/90)*90;if(Math.abs(K-Z)>0.001)return null;return Z%360}function n6(J){let $=new Set(["inside","outside","center"]),Q=new Set(["solid","dashed","dotted"]),K="",Z=1,j="solid",X="center";for(let W of J.trim().split(/\s+/))if(W.startsWith("#")||W.startsWith("$")||/^rgba?/.test(W))K=W;else if($.has(W))X=W;else if(Q.has(W))j=W;else if(/^\d/.test(W))Z=parseFloat(W);return K?{color:K,width:Z,style:j,align:X}:null}function G7(J){let $=document.createElement("div");$.style.position="relative";for(let K of["data-w-mode","data-h-mode","data-parent-dir"]){let Z=J.getAttribute(K);if(Z!==null)$.setAttribute(K,Z),J.removeAttribute(K)}let Q=["--gui-w","--gui-h","width","height","flexShrink","flexGrow","alignSelf","justifySelf","marginLeft","marginTop","marginRight","marginBottom","gridColumn","gridRow","zIndex","position","left","top","right","bottom","transform","transformOrigin"];for(let K of Q)if(K.startsWith("--")){let Z=J.style.getPropertyValue(K);if(Z)$.style.setProperty(K,Z),J.style.removeProperty(K)}else{let Z=K,j=J.style[Z];if(j)$.style[K]=j,J.style[K]=""}for(let K of["gui-absolute","gui-relative","gui-fill-w","gui-fill-h"])if(J.classList.contains(K))$.classList.add(K),J.classList.remove(K);return J.style.position="absolute",J.style.inset="0",$.appendChild(J),$}function $$(J,$,Q){if(U7($))return null;let K=F($,"border"),Z,j,X,W;if(K){let I=n6(K);if(!I)return null;Z=I.color,j=I.width,X=I.align,W=I.style}else{let I=F($,"stroke"),z=F($,"stroke-width");if(!I||!z)return null;Z=I,j=parseFloat(z),X=F($,"stroke-position")||"center",W="solid"}if(!Number.isFinite(j)||j<=0)return null;let B=F($,"corner-smoothing"),Y=F($,"radius"),G=F($,"w"),q=F($,"h"),U=B?parseFloat(B):NaN,L=Y?parseFloat(Y):NaN,D=G?parseFloat(G):NaN,H=q?parseFloat(q):NaN;if(Number.isFinite(U)&&U>0&&Number.isFinite(L)&&L>0&&Number.isFinite(D)&&D>0&&Number.isFinite(H)&&H>0&&W==="solid")if(X==="outside"||X==="center"){let I=G7(J),z=X==="outside"?j:j/2,k="http://www.w3.org/2000/svg",x=D+z*2,E=H+z*2,A=document.createElementNS("http://www.w3.org/2000/svg","svg");A.setAttribute("width",String(x)),A.setAttribute("height",String(E)),A.style.position="absolute",A.style.left=`${-z}px`,A.style.top=`${-z}px`,A.style.overflow="visible",A.style.pointerEvents="none",A.style.zIndex="2",t(A,"gui-pointer-events-none");let R=c6(D,H,L,U);if(X==="outside"){let y=`gui-ssclip-${++x$}`,f=document.createElementNS("http://www.w3.org/2000/svg","defs"),w=document.createElementNS("http://www.w3.org/2000/svg","clipPath");w.setAttribute("id",y),w.setAttribute("clipPathUnits","userSpaceOnUse");let u=document.createElementNS("http://www.w3.org/2000/svg","path");u.setAttribute("d",`M -9999 -9999 H 99999 V 99999 H -9999 Z ${R}`),u.setAttribute("fill-rule","evenodd"),w.appendChild(u),f.appendChild(w),A.appendChild(f);let C=document.createElementNS("http://www.w3.org/2000/svg","g");C.setAttribute("transform",`translate(${z},${z})`);let v=document.createElementNS("http://www.w3.org/2000/svg","path");v.setAttribute("d",R),v.setAttribute("fill","none"),v.setAttribute("stroke",l(Z)),v.setAttribute("stroke-width",String(j*2)),v.setAttribute("clip-path",`url(#${y})`),C.appendChild(v),A.appendChild(C)}else{let y=`gui-ssclip-${++x$}`,f=document.createElementNS("http://www.w3.org/2000/svg","defs"),w=document.createElementNS("http://www.w3.org/2000/svg","clipPath");w.setAttribute("id",y),w.setAttribute("clipPathUnits","userSpaceOnUse");let u=document.createElementNS("http://www.w3.org/2000/svg","path");u.setAttribute("d",R),w.appendChild(u),f.appendChild(w),A.appendChild(f);let C=document.createElementNS("http://www.w3.org/2000/svg","g");C.setAttribute("transform",`translate(${z},${z})`);let v=document.createElementNS("http://www.w3.org/2000/svg","path");v.setAttribute("d",R),v.setAttribute("fill","none"),v.setAttribute("stroke",l(Z)),v.setAttribute("stroke-width",String(j)),C.appendChild(v),A.appendChild(C)}return I.appendChild(A),I}else return j7(J,D,H,L,U,j,Z,"inside"),null;if(W==="solid"){let I;if(X==="inside")I=`inset 0 0 0 ${j}px ${l(Z)}`;else if(X==="outside")I=`0 0 0 ${j}px ${l(Z)}`;else I=`inset 0 0 0 ${j/2}px ${l(Z)}, 0 0 0 ${j/2}px ${l(Z)}`;return Z8(J,I),null}let M=X==="outside"?j:X==="center"?j/2:0,P=document.createElement("div");if(P.style.position="absolute",t(P,"gui-pointer-events-none"),P.style.left=`${-M}px`,P.style.top=`${-M}px`,P.style.right=`${-M}px`,P.style.bottom=`${-M}px`,P.style.border=`${j}px ${W} ${l(Z)}`,P.style.boxSizing="border-box",P.style.zIndex="2",Q)P.style.borderRadius=Q;return J.appendChild(P),null}var q7=[{attr:"border-top",prop:"borderTop"},{attr:"border-right",prop:"borderRight"},{attr:"border-bottom",prop:"borderBottom"},{attr:"border-left",prop:"borderLeft"}];function Q$(J,$,Q){let K=q7.filter((j)=>F($,j.attr)!==null);if(!K.length)return;let Z=document.createElement("div");if(Z.style.position="absolute",Z.style.left="0",Z.style.top="0",Z.style.right="0",Z.style.bottom="0",Z.style.boxSizing="border-box",t(Z,"gui-pointer-events-none"),Z.style.zIndex="2",Q)Z.style.borderRadius=Q;for(let{attr:j,prop:X}of K){let W=F($,j);if(!W)continue;let B=n6(W);if(!B)continue;Z.style[X]=`${B.width}px ${B.style} ${l(B.color)}`}J.appendChild(Z)}function Z8(J,$){J.style.boxShadow=J.style.boxShadow?`${J.style.boxShadow}, ${$}`:$}function wQ(J,$,Q){if(J.style[$]=J.style[$]?`${J.style[$]} ${Q}`:Q,$==="backdropFilter")J.style.webkitBackdropFilter=J.style[$]}function K$(J){return Array.from(J.children).find(($)=>$.tagName==="appearance")||null}function fQ(J){return!!K$(J)}function v$(J){let $=K$(J);if(!$)return!1;return Array.from($.children).some((Q)=>Q.tagName==="fill")}function U7(J){let $=K$(J);if(!$)return!1;return Array.from($.children).some((Q)=>Q.tagName==="border")}function mQ(J,$){if(!J)return!1;return J==="linear-gradient"||J==="radial-gradient"||J==="angular-gradient"||J.startsWith("gradient")||J==="color"&&!!$&&($.startsWith("linear-gradient")||$.startsWith("radial-gradient")||$.startsWith("conic-gradient"))}function F7(J){let $=K$(J);if(!$)return null;for(let Q of Array.from($.children)){if(Q.tagName!=="fill")continue;if(F(Q,"visible")==="false")continue;let K=F(Q,"type"),Z=F(Q,"value"),j=F(Q,"gradient");if(mQ(K,Z))return j||Z}return null}function L7(J,$,Q){if(F($,"visible")==="false")return;let K=F($,"color"),Z=F($,"paint"),j=F($,"w")||"1",X=parseFloat(j);if(!Number.isFinite(X)||X<=0)return;let W=K?l(K):Z?T8(Z):null;if(!W)return;let B=F($,"align")||"center",Y=F($,"style")||"solid",G=B==="outside"?X:B==="center"?X/2:0,q=document.createElement("div");if(q.style.position="absolute",t(q,"gui-pointer-events-none"),q.style.left=`${-G}px`,q.style.top=`${-G}px`,q.style.right=`${-G}px`,q.style.bottom=`${-G}px`,q.style.border=`${X}px ${Y} ${W}`,q.style.boxSizing="border-box",q.style.zIndex="2",Q)q.style.borderRadius=Q;let U=F($,"opacity");if(U)q.style.opacity=U;let L=F($,"blend");if(L)q.style.mixBlendMode=L;J.appendChild(q)}function D7(J,$){let Q=J.match(/rgba?\((\d+),(\d+),(\d+)(?:,([0-9.]+))?\)/);if(Q){let K=Q[4]!==void 0?parseFloat(Q[4]):1;return"rgba("+Q[1]+","+Q[2]+","+Q[3]+","+(K*$).toFixed(3)+")"}return J}function pQ(J,$){if($.visible===!1)return;let Q=$.type,K=String($.radius??0),Z=typeof $.opacity==="number"?$.opacity:1;if(Q==="drop-shadow"||Q==="inner-shadow"){let j=String($.x??0),X=String($.y??0),W=String($.spread??0),B=l($.color??null);if(Z!==1&&Number.isFinite(Z))B=D7(B,Z);Z8(J,(Q==="inner-shadow"?"inset ":"")+j+"px "+X+"px "+K+"px "+W+"px "+B)}else if(Q==="layer-blur")wQ(J,"filter","blur("+K+"px)");else if(Q==="background-blur"||Q==="glass"){let j=String($.saturation??180);wQ(J,"backdropFilter","blur("+K+"px) saturate("+j+"%)")}}function V7(J,$){if(F($,"visible")==="false")return;pQ(J,{type:F($,"type")||"",visible:!0,radius:parseFloat(F($,"radius")||"0"),x:parseFloat(F($,"x")||"0"),y:parseFloat(F($,"y")||"0"),spread:parseFloat(F($,"spread")||"0"),color:F($,"color")||void 0,opacity:F($,"opacity")!==null?parseFloat(F($,"opacity")):void 0,blend:F($,"blend")||void 0,...F($,"saturation")!==null?{saturation:parseFloat(F($,"saturation"))}:{}})}function g$(J,$){let Q=vQ[$];if(!Q)return;for(let K=0;K<Q.length;K++)pQ(J,Q[K])}function H7(J,$,Q){if(F($,"visible")==="false")return;let K=F($,"color");if(!K)return;let Z=F($,"width")||"1",j=parseFloat(Z);if(!Number.isFinite(j)||j<=0)return;let X=F($,"dash-array"),W=F($,"dash-offset"),B=F($,"align")||"center",Y=F($,"style")||"solid",G=F($,"opacity"),q=F($,"blend");if(X){let L=document.createElementNS("http://www.w3.org/2000/svg","svg");if(L.setAttribute("width","100%"),L.setAttribute("height","100%"),L.style.position="absolute",L.style.left="0",L.style.top="0",L.style.overflow="visible",L.style.zIndex="2",L.style.pointerEvents="none",G)L.style.opacity=G;if(q)L.style.mixBlendMode=q;let D=document.createElementNS("http://www.w3.org/2000/svg","rect");if(D.setAttribute("x","0"),D.setAttribute("y","0"),D.setAttribute("width","100%"),D.setAttribute("height","100%"),D.setAttribute("fill","none"),D.setAttribute("stroke",l(K)),D.setAttribute("stroke-width",String(j)),D.setAttribute("stroke-dasharray",X),W)D.setAttribute("stroke-dashoffset",W);if(D.setAttribute("vector-effect","non-scaling-stroke"),Q){let H=Q.match(/^([0-9.]+)/);if(H){let O=H[1];D.setAttribute("rx",O),D.setAttribute("ry",O)}}if(B==="inside"){D.setAttribute("stroke-width",String(j*2));let H="gui-sclip-"+ ++p6,O=document.createElementNS("http://www.w3.org/2000/svg","defs"),M=document.createElementNS("http://www.w3.org/2000/svg","clipPath");M.setAttribute("id",H);let P=document.createElementNS("http://www.w3.org/2000/svg","rect");if(P.setAttribute("x","0"),P.setAttribute("y","0"),P.setAttribute("width","100%"),P.setAttribute("height","100%"),Q){let I=Q.match(/^([0-9.]+)/);if(I)P.setAttribute("rx",I[1]),P.setAttribute("ry",I[1])}M.appendChild(P),O.appendChild(M),L.appendChild(O),D.setAttribute("clip-path","url(#"+H+")")}L.appendChild(D),J.appendChild(L)}else if(Y==="solid"&&!G&&!q){let U;if(B==="inside")U=`inset 0 0 0 ${j}px ${l(K)}`;else if(B==="outside")U=`0 0 0 ${j}px ${l(K)}`;else U=`inset 0 0 0 ${j/2}px ${l(K)}, 0 0 0 ${j/2}px ${l(K)}`;Z8(J,U)}else{let U=B==="outside"?j:B==="center"?j/2:0,L=document.createElement("div");if(L.style.position="absolute",t(L,"gui-pointer-events-none"),L.style.left=-U+"px",L.style.top=-U+"px",L.style.right=-U+"px",L.style.bottom=-U+"px",L.style.border=j+"px "+Y+" "+l(K),L.style.boxSizing="border-box",L.style.zIndex="2",Q)L.style.borderRadius=Q;if(G)L.style.opacity=G;if(q)L.style.mixBlendMode=q;J.appendChild(L)}}function Z$(J,$,Q,K,Z){let j=K$(J);if(!j)return;for(let X of Array.from(j.children)){if(X.tagName==="effect"){V7($,X);continue}if(X.tagName==="border"){L7($,X,K);continue}if(X.tagName==="stroke"){H7($,X,K);continue}if(X.tagName!=="fill")continue;if(F(X,"visible")==="false")continue;let W=F(X,"type"),B=F(X,"value");if(Z&&mQ(W,B))continue;let Y=document.createElement("div");if(t(Y,"gui-layer"),K)Y.style.borderRadius=K;let G=F(X,"opacity");if(G)Y.style.opacity=G;let q=F(X,"blend");if(q)Y.style.mixBlendMode=q;if(W==="image"){let U=F(X,"src"),L=m6(U,Q);if(!L)continue;if(F(X,"fit")==="tile"){Y.style.backgroundImage=`url("${L}")`,Y.style.backgroundRepeat="repeat",Y.style.backgroundSize="auto",$.appendChild(Y);continue}let D=document.createElement("img");D.src=L,t(D,"gui-block");let H=F(X,"x")!==null&&F(X,"y")!==null&&F(X,"w")!==null&&F(X,"h")!==null;if(F(X,"fit")==="crop"&&H)t(Y,"gui-overflow-hidden"),D.style.position="absolute",D.style.left=e8(F(X,"x")||"0"),D.style.top=e8(F(X,"y")||"0"),D.style.width=e8(F(X,"w")||"fill"),D.style.height=e8(F(X,"h")||"fill"),t(D,"gui-fit-fill");else t(D,"gui-w-full"),t(D,"gui-h-full"),t(D,`gui-fit-${F(X,"fit")||"cover"}`);if(K)D.style.borderRadius=K;let O=[],M=F(X,"filter-exposure"),P=F(X,"filter-contrast"),I=F(X,"filter-saturation");if(M!==null){let z=parseFloat(M);if(Number.isFinite(z))O.push(`brightness(${1+z})`)}if(P!==null){let z=parseFloat(P);if(Number.isFinite(z))O.push(`contrast(${1+z})`)}if(I!==null){let z=parseFloat(I);if(Number.isFinite(z))O.push(`saturate(${1+z})`)}if(O.length>0)Y.style.filter=O.join(" ");Y.appendChild(D)}else{if(!B)continue;Y.style.background=l(B)}$.appendChild(Y)}}function EQ(J){let $=J.trim();if(/^\d+$/.test($))return`repeat(${$}, 1fr)`;if($.startsWith("fill ")){let Q=$.slice(5).trim();return`repeat(auto-fill, minmax(${/^\d+$/.test(Q)?`${Q}px`:Q}, 1fr))`}return $.split(/\s+/).map((Q)=>/^\d+$/.test(Q)?`${Q}px`:Q).join(" ")}function SQ(J){let $=J.indexOf("/");if($===-1)return J;let Q=J.slice(0,$).trim(),K=J.slice($+1).trim(),Z=parseInt(K,10);if(isNaN(Z)||Z<0)return`${Q} / ${K}`;return`${Q} / ${Z+1}`}function O7(J,$){let Q=$.getAttribute("gc"),K=$.getAttribute("gr"),Z=$.getAttribute("col-span"),j=$.getAttribute("row-span"),X=$.getAttribute("w"),W=$.getAttribute("h");if(Q!==null)if(Q.includes("/")){if(J.style.gridColumn=SQ(Q),X===null)J.style.width="100%",J.setAttribute("data-w-mode","fill")}else if(Z!==null){let B=Z==="all"?"-1":Z;J.style.gridColumn=`${Q} / span ${B}`}else J.style.gridColumn=Q;else if(Z!==null)J.style.gridColumn=Z==="all"?"1 / -1":`span ${Z}`;if(K!==null)if(K.includes("/")){if(J.style.gridRow=SQ(K),W===null)J.style.height="100%",J.setAttribute("data-h-mode","fill")}else if(j!==null)J.style.gridRow=`${K} / span ${j}`;else J.style.gridRow=K;else if(j!==null)J.style.gridRow=`span ${j}`}function v6(J,$,Q,K){let Z=J.tagName,j;if(K)if(Z==="row")j="gui-row";else if(Z==="col")j="gui-col";else if(Z==="grid")j="gui-grid";else j="gui-stack";else j="gui-frame";let X=document.createElement(j);kJ(X,J,Q);let W=fQ(J),B=v$(J),Y=JJ(J,"fill-style"),G=Y?K8[Y]||null:F(J,"fill");if(G&&!B)X.style.background=l(G);let q=F(J,"radius"),U=q?y$(q):null;if(U)X.style.borderRadius=U;hQ(X,J);let L=JJ(J,"clip");if(L!==null&&L!=="false")X.setAttribute("clip","true");let D=b$(F(J,"shadow"));if(D)Z8(X,D);let H=F(J,"clip-path");if(H)X.style.clipPath=H;let O=F(J,"overflow-x");if(O)X.style.overflowX=O;let M=F(J,"overflow-y");if(M)X.style.overflowY=M;let P=F(J,"border-image");if(P)X.style.borderImage=P;let I=F(J,"outline");if(I)if(I.includes("px"))X.style.outline=I;else{let V=n6(I);if(V)X.style.outline=`${V.width}px ${V.style} ${l(V.color)}`}let z=F(J,"outline-offset");if(z)X.style.outlineOffset=`${z}px`;Z$(J,X,$,U);let k=JJ(J,"effect-style");if(k)g$(X,k);let x,E=null,A=!1;if(K){let V=Z==="row"?"horizontal":Z==="col"?"vertical":Z==="grid"?"grid":F(J,"direction")||"vertical",T=F(J,"p")||F(J,"padding");if(T)X.style.padding=a4(T);let g=F(J,"pt");if(g)X.style.paddingTop=`${g}px`;let b=F(J,"pr");if(b)X.style.paddingRight=`${b}px`;let N=F(J,"pb");if(N)X.style.paddingBottom=`${N}px`;let _=F(J,"pl");if(_)X.style.paddingLeft=`${_}px`;if(j==="gui-stack"&&V!=="grid")X.setAttribute("direction",V);let S=JJ(J,"align");if(S)X.setAttribute("align",S);let a=JJ(J,"gap");if(a!==null)X.setAttribute("gap",a);let QJ=JJ(J,"wrap");if(QJ!==null&&QJ!=="false")X.setAttribute("wrap","true");if(V==="grid"){x="grid";let qJ=Z==="grid",IJ=qJ?JJ(J,"gap"):null;if(qJ){let UJ=JJ(J,"unit"),BJ=JJ(J,"cols")||JJ(J,"columns"),OJ=JJ(J,"rows");if(UJ!==null){let KJ=parseFloat(UJ),FJ=parseFloat(F(J,"w")||"0"),zJ=parseFloat(F(J,"h")||"0");if(KJ>0){if(FJ>0)X.style.gridTemplateColumns=`repeat(${Math.round(FJ/KJ)}, ${KJ}px)`;if(zJ>0)X.style.gridTemplateRows=`repeat(${Math.round(zJ/KJ)}, ${KJ}px)`}}else if(BJ!==null||OJ!==null){if(BJ)X.style.gridTemplateColumns=EQ(BJ);if(OJ)X.style.gridTemplateRows=EQ(OJ);if(IJ!==null){let KJ=(IJ||"0").trim().split(/\s+/),FJ=KJ[0],zJ=KJ[1]||KJ[0];if(FJ&&FJ!=="auto")X.style.columnGap=`${FJ}px`;if(zJ&&zJ!=="auto")X.style.rowGap=`${zJ}px`}}else{let KJ=F(J,"columns")||F(J,"cols");if(KJ)X.style.gridTemplateColumns=`repeat(${KJ}, 1fr)`;if(IJ){let FJ=IJ.trim().split(/\s+/),zJ=FJ[0],r$=FJ[1]||FJ[0];if(zJ==="auto")X.style.columnGap="0px";else if(zJ)X.style.columnGap=`${zJ}px`;if(r$==="auto")X.style.rowGap="0px";else if(r$)X.style.rowGap=`${r$}px`}}}else{let UJ=F(J,"grid-columns"),BJ=F(J,"grid-rows"),OJ=F(J,"grid-col-gap"),KJ=F(J,"grid-row-gap");if(UJ)X.style.gridTemplateColumns=`repeat(${UJ}, 1fr)`;if(BJ)X.style.gridTemplateRows=`repeat(${BJ}, 1fr)`;if(OJ)X.style.columnGap=`${OJ}px`;if(KJ)X.style.rowGap=`${KJ}px`}}else{x=V==="horizontal"?"horizontal":"vertical";let qJ=JJ(J,"reverse-z");A=qJ!==null&&qJ!=="false",E=$7(X,x,a)}}cQ(X,J,$);let R=nQ(X,J),y=Array.from(J.children);function f(V){let T=JJ(V,"abs");if(T!==null&&T!=="false")return!0;return JJ(V,"layout-position")==="absolute"}let w=y.filter((V)=>V.tagName!=="appearance"&&!(K&&f(V))).length,C=K&&w>0&&w<y.filter((V)=>V.tagName!=="appearance").length&&E===null&&!A&&!W,v=0,d=0,c=null;for(let V of y){if(V.tagName==="appearance")continue;let T=!K||f(V),b=r6(V,$,{absolute:T,parentDirection:T?void 0:x});if(b){if(V===R)b.style.display="none";if(x==="grid"&&!T)O7(b,V);if(!T&&E!==null){if(!b.classList.contains("gui-absolute"))t(b,"gui-relative");if(b.style.zIndex=String(v),v>0){let N=c?parseFloat(x==="horizontal"?F(c,"w")||"":F(c,"h")||""):NaN,_=!isNaN(N)?Math.max(E,-N):E;if(x==="horizontal")b.style.marginLeft=`${_}px`;else if(x==="vertical")b.style.marginTop=`${_}px`}}if(!T&&A){if(!b.classList.contains("gui-absolute"))t(b,"gui-relative");b.style.zIndex=String(w-v-1)}if(W){if(!T&&!b.classList.contains("gui-absolute"))t(b,"gui-relative");if(!A||T)b.style.zIndex="1"}if(C){if(!T)t(b,"gui-relative");b.style.zIndex=String(d)}if(X.appendChild(b),d++,!T)v++,c=V}}let $J=$$(X,J,U);return Q$(X,J,U),$J||X}function cQ(J,$,Q){let K=F($,"mask-src");if(K&&Q[K]){let Z=F($,"mask-x")||"0",j=F($,"mask-y")||"0",X=F($,"mask-width")||String(F($,"w")||"100%"),W=F($,"mask-height")||String(F($,"h")||"100%"),Y=`url("${Q[K]}")`;J.style.webkitMaskImage=Y,J.style.maskImage=Y,J.style.webkitMaskSize=`${X}px ${W}px`,J.style.maskSize=`${X}px ${W}px`,J.style.webkitMaskPosition=`${Z}px ${j}px`,J.style.maskPosition=`${Z}px ${j}px`,J.style.webkitMaskRepeat="no-repeat",J.style.maskRepeat="no-repeat";let G=F($,"mask-mode");if(G)J.style.maskMode=G,J.style.webkitMaskMode=G;let q=F($,"mask-composite");if(q)J.style.maskComposite=q}}function nQ(J,$){let Q=Array.from($.children);for(let K=0;K<Q.length;K++){let Z=Q[K];if(JJ(Z,"mask")!=="true"&&JJ(Z,"mask")!=="")continue;let j=parseFloat(F(Z,"x")||"0"),X=parseFloat(F(Z,"y")||"0"),W=parseFloat(F(Z,"w")||"0"),B=parseFloat(F(Z,"h")||"0");if(!W||!B)continue;let Y="";if(Z.tagName==="ellipse"){let L=W/2,D=B/2;Y=`<ellipse cx="${L}" cy="${D}" rx="${L}" ry="${D}" fill="white"/>`}else{let L=F(Z,"radius"),D=L?parseFloat(L.split(" ")[0]):0;Y=`<rect width="${W}" height="${B}" rx="${D}" ry="${D}" fill="white"/>`}let G=`<svg xmlns="http://www.w3.org/2000/svg" width="${W}" height="${B}" viewBox="0 0 ${W} ${B}">${Y}</svg>`,U=`url("${"data:image/svg+xml;base64,"+btoa(G)}")`;return J.style.webkitMaskImage=U,J.style.maskImage=U,J.style.webkitMaskSize=`${W}px ${B}px`,J.style.maskSize=`${W}px ${B}px`,J.style.webkitMaskPosition=`${j}px ${X}px`,J.style.maskPosition=`${j}px ${X}px`,J.style.webkitMaskRepeat="no-repeat",J.style.maskRepeat="no-repeat",Z}return null}function M7(J,$,Q){let K=document.createElement("gui-group");kJ(K,J,Q),cQ(K,J,$);let Z=nQ(K,J),j={absolute:!0};for(let X of Array.from(J.children)){let W=r6(X,$,j);if(W){if(X===Z)W.style.display="none";K.appendChild(W)}}return K}function y6(J,$){let Q=JJ($,"text-style"),K=Q?h6[Q]:null;function Z(k){let x=F($,k);if(x!==null)return x;if(K&&K[k]!==void 0)return f6(K[k]);return null}let j=Z("font-family"),X=Z("font-size"),W=Z("font-weight"),B=Z("font-style"),Y=Z("font-variation"),G=Z("font-feature"),q=Z("line-height"),U=Z("letter-spacing"),L=F($,"baseline-shift"),D=JJ($,"fill-style"),H=D?K8[D]||null:F($,"fill")||F($,"color"),O=Z("decoration"),M=Z("decoration-color"),P=Z("decoration-style"),I=Z("decoration-thickness"),z=Z("text-case");if(j)J.style.fontFamily=J7(j);if(X)J.style.fontSize=`${X}px`;if(W)J.style.fontWeight=W;if(B)J.style.fontStyle=B;if(Y)J.style.fontVariationSettings=Y;if(G)J.style.fontFeatureSettings=G;if(q)J.style.lineHeight=l4(q);if(U)J.style.letterSpacing=U.includes("%")?U:`${U}px`;if(L)J.style.verticalAlign=`${L}px`;if(H)J.style.color=l(H);if(O==="underline"||O==="strikethrough"){if(J.style.textDecoration=O==="underline"?"underline":"line-through",M)J.style.textDecorationColor=l(M);if(P)J.style.textDecorationStyle=P;if(I)J.style.textDecorationThickness=`${I}px`}if(z==="small-caps"||z==="small-caps-forced")J.style.fontVariant="small-caps";else if(z)J.style.textTransform=z}function t8(J,$){if(!$)return J;let Q=document.createElement("a");return Q.href=$,Q.style.color="inherit",Q.style.textDecoration="inherit",Q.appendChild(J),Q}var I7=0.01;function kQ(J,$){let Q=F(J,$);if(Q!==null)return Q;let K=JJ(J,"text-style"),Z=K?h6[K]:null;if(Z&&Z[$]!==void 0)return f6(Z[$]);return null}function P7(J,$){let Q=J.trim();if(/^-?\d+(\.\d+)?$/.test(Q)){let K=parseFloat(Q);return K>0&&K<=4?K*$:K}if(Q.endsWith("%"))return parseFloat(Q)/100*$;if(Q.endsWith("px"))return parseFloat(Q);return NaN}function z7(J,$,Q){let K=document.createElement("gui-text");kJ(K,J,Q);let Z=F(J,"align"),j=F(J,"vertical-align"),X=JJ(J,"truncate"),W=X!==null&&X!=="false",B=F(J,"max-lines"),Y=F(J,"overflow"),G=F(J,"leading-trim"),q=F(J,"list"),U=F(J,"list-level"),L=F(J,"list-marker"),D=F(J,"h")!==null,H=F(J,"w"),O=H===null?NaN:parseFloat(H);if(!Number.isNaN(O)&&H!=="hug"&&H!=="fill"&&!(Y==="ellipsis"&&!W&&!B))K.style.setProperty("--gui-w",`${O*(1+I7)}px`);let I=!1;if(D&&!W&&!B){let _=parseFloat(F(J,"h")||""),S=kQ(J,"font-size"),a=kQ(J,"line-height");if(Number.isFinite(_)&&S&&a){let QJ=P7(a,parseFloat(S));if(Number.isFinite(QJ)&&QJ>0)I=Math.round(_/QJ)<=1}}if(Z)K.style.textAlign=Z;if(Y==="ellipsis"&&!W&&!B)K.style.overflow="hidden",K.style.textOverflow="ellipsis",K.style.whiteSpace="nowrap";else if(Y==="clip")K.style.overflow="hidden";if(q&&q!=="none"){let _=U?parseInt(U,10)*16:0;if(K.style.display="list-item",K.style.listStyleType=q==="decimal"?"decimal":"disc",K.style.listStylePosition="inside",_)K.style.paddingLeft=`${_}px`;if(L)K.setAttribute("data-list-marker",L),K.style.listStyleType="none"}if(G&&G!=="none")K.style.textBoxTrim="both",K.style.textBoxEdge="cap alphabetic";let z=F(J,"font-stretch");if(z)K.style.fontStretch=z;let k=F(J,"direction");if(k)K.style.direction=k;let x=F(J,"writing-mode");if(x)K.style.writingMode=x;let E=F(J,"white-space");if(E)K.style.whiteSpace=E;let A=F(J,"word-break");if(A)K.style.wordBreak=A;let R=F(J,"word-spacing");if(R)K.style.wordSpacing=`${R}px`;let y=F(J,"text-underline-offset");if(y)K.style.textUnderlineOffset=`${y}px`;let f=F(J,"text-decoration-skip-ink");if(f!==null)K.style.textDecorationSkipInk=f==="false"?"none":"auto";let w=F(J,"text-wrap");if(w)K.style.textWrap=w;let u=F(J,"font-optical-sizing");if(u)K.style.fontOpticalSizing=u;let C=F(J,"font-smoothing");if(C){if(C==="antialiased")K.style.webkitFontSmoothing="antialiased",K.style.mozOsxFontSmoothing="grayscale";else if(C==="subpixel-antialiased")K.style.webkitFontSmoothing="subpixel-antialiased";else if(C==="none")K.style.webkitFontSmoothing="none"}let v=F(J,"text-rendering");if(v)K.style.textRendering=v;let d=F(J,"paragraph-spacing");if(d)K.style.marginBottom=`${d}px`;let c=F(J,"paragraph-indent");if(c)K.style.textIndent=`${c}px`;let $J=F7(J),V=!!$J;if(Z$(J,K,$,void 0,V),V)K.style.backgroundImage=l($J),K.style.webkitBackgroundClip="text",K.style.backgroundClip="text",K.style.webkitTextFillColor="transparent",K.style.color="transparent";let T=Array.from(J.children).filter((_)=>_.tagName==="segment");if(T.length>0){if(y6(K,J),j&&j!=="top")K.style.display="flex",K.style.alignItems=j==="center"?"center":"flex-end";let _=document.createElement("span");if(!(Y==="ellipsis"&&!W&&!B))t(_,"gui-pre-wrap");for(let S of T){let a=document.createElement("span");a.textContent=F(S,"value")||"",y6(a,S),_.appendChild(t8(a,F(S,"href")))}return K.appendChild(_),K}y6(K,J);let g=F(J,"value")||"",b=F(J,"href"),N=B||(W?"1":null);if(I&&!N)K.style.whiteSpace="nowrap";else if(D||N)t(K,"gui-overflow-hidden");if(j&&j!=="top")if(K.style.display="flex",K.style.alignItems=j==="center"?"center":"flex-end",N){let _=document.createElement("span");_.textContent=g,_.style.display="-webkit-box",_.style.webkitLineClamp=N,_.style.WebkitBoxOrient="vertical",t(_,"gui-overflow-hidden"),_.style.width="100%",K.appendChild(t8(_,b))}else{let _=document.createElement("span");_.textContent=g,K.appendChild(t8(_,b))}else if(N){if(K.textContent=g,K.style.display="-webkit-box",K.style.webkitLineClamp=N,K.style.WebkitBoxOrient="vertical",t(K,"gui-overflow-hidden"),b){t(K,"gui-block"),K.textContent="";let _=document.createElement("span");_.textContent=g,_.style.display="-webkit-box",_.style.webkitLineClamp=N,_.style.WebkitBoxOrient="vertical",t(_,"gui-overflow-hidden"),K.appendChild(t8(_,b))}}else if(b){let _=document.createElement("span");_.textContent=g,K.appendChild(t8(_,b))}else K.textContent=g;return K}function R7(J,$,Q){let K=document.createElement("gui-img");kJ(K,J,Q);let Z=F(J,"fit");if(Z)K.setAttribute("fit",Z);let j=document.createElement("img");t(j,"gui-block");let X=F(J,"src"),W=m6(X,$);if(W)j.src=W;let B=F(J,"radius"),Y=B?y$(B):null;if(Y)K.style.borderRadius=Y,j.style.borderRadius=Y;let G=F(J,"object-position");if(G)j.style.objectPosition=G;let q=F(J,"image-rendering");if(q)j.style.imageRendering=q;K.appendChild(j);let U=$$(K,J,Y);return Q$(K,J,Y),U||K}function A7(J,$,Q){let K=F(J,"src"),Z=document.createElement("gui-svg");kJ(Z,J,Q);let j=document.createElement("img");t(j,"gui-block"),t(j,"gui-fit-fill"),j.style.width="100%",j.style.height="100%";let X=m6(K,$);if(X)j.src=X;return Z.appendChild(j),Z}function C7(J,$,Q,K,Z){let j=parseFloat(F(J,"w")||"24"),X=parseFloat(F(J,"h")||"24"),W=parseFloat(F(J,"arc-start")||"0"),B=parseFloat(F(J,"arc-end")||"360"),Y=parseFloat(F(J,"arc-inner")||"0"),G=parseFloat(Z||"0"),q="http://www.w3.org/2000/svg",U=document.createElementNS("http://www.w3.org/2000/svg","svg");U.setAttribute("viewBox",`0 0 ${j} ${X}`),kJ(U,J,$),t(U,"gui-block"),t(U,"gui-overflow-visible");let L=j/2,D=X/2,H=j/2,O=X/2,M=W*Math.PI/180,P=B*Math.PI/180,z=((B-W+360)%360||360)>180?1:0,k=(R,y)=>L+y*Math.cos(R),x=(R,y)=>D+y*Math.sin(R),E;if(Y>0){let R=H*Y,y=O*Y;E=[`M ${k(M,H)} ${x(M,O)}`,`A ${H} ${O} 0 ${z} 1 ${k(P,H)} ${x(P,O)}`,`L ${k(P,R)} ${x(P,y)}`,`A ${R} ${y} 0 ${z} 0 ${k(M,R)} ${x(M,y)}`,"Z"].join(" ")}else E=[`M ${L} ${D}`,`L ${k(M,H)} ${x(M,O)}`,`A ${H} ${O} 0 ${z} 1 ${k(P,H)} ${x(P,O)}`,"Z"].join(" ");let A=document.createElementNS("http://www.w3.org/2000/svg","path");if(A.setAttribute("d",E),A.setAttribute("fill",Q?T8(Q):"none"),K&&G>0)A.setAttribute("stroke",T8(K)),A.setAttribute("stroke-width",String(G));return U.appendChild(A),U}function T7(J,$,Q){let K=document.createElement("gui-shape");K.setAttribute("type","rect"),kJ(K,J,Q);let Z=v$(J),j=JJ(J,"fill-style"),X=j?K8[j]||null:F(J,"fill");if(X&&!Z)K.style.background=l(X);let W=F(J,"radius");if(W)K.style.borderRadius=y$(W);let B=b$(F(J,"shadow"));if(B)Z8(K,B);Z$(J,K,$,K.style.borderRadius||null);let Y=JJ(J,"effect-style");if(Y)g$(K,Y);let G=$$(K,J,K.style.borderRadius||null);return Q$(K,J,K.style.borderRadius||null),G||K}function _7(J,$,Q){let K=document.createElement("gui-shape");K.setAttribute("type","ellipse"),kJ(K,J,Q);let Z=v$(J),j=JJ(J,"fill-style"),X=j?K8[j]||null:F(J,"fill");if(X&&!Z)K.style.background=l(X);K.style.borderRadius="50%";let W=b$(F(J,"shadow"));if(W)Z8(K,W);Z$(J,K,$,"50%");let B=JJ(J,"effect-style");if(B)g$(K,B);let Y=$$(K,J,"50%");return Q$(K,J,"50%"),Y||K}function N7(J,$){let Q=document.createElement("gui-shape");Q.setAttribute("type","line"),kJ(Q,J,$);let K=F(J,"direction")||"horizontal",Z=F(J,"thickness")||"1",j=JJ(J,"fill-style"),X=j?K8[j]||null:F(J,"fill");if(K==="vertical")Q.style.width=`${Z}px`,Q.style.alignSelf="stretch";else Q.style.height=`${Z}px`,Q.style.alignSelf="stretch";if(X)Q.style.background=l(X);return Q}function w7(J,$,Q){let K=F(J,"type");if(K==="path")return E7(J,Q);if(K==="ellipse"){let U=F(J,"arc-start"),L=F(J,"arc-end"),D=F(J,"arc-inner");if(U!==null||L!==null||D!==null)return C7(J,Q,F(J,"fill"),F(J,"stroke"),F(J,"stroke-width"))}let Z=document.createElement("gui-shape");if(K)Z.setAttribute("type",K);if(kJ(Z,J,Q),K==="line"){let U=F(J,"stroke-width")||"1",L=F(J,"stroke-cap"),D=F(J,"dash-array"),H=F(J,"dash-offset");if(L||D){let I=parseFloat(F(J,"w")||"0"),z=parseFloat(U),k=L==="arrow-lines"||L==="arrow-equilateral"||L==="triangle"||L==="triangle-filled",x=z*3,E=k?x:z,A=document.createElementNS("http://www.w3.org/2000/svg","svg");A.setAttribute("viewBox",-E+" "+-E/2+" "+(I+E*2)+" "+(z+E)),kJ(A,J,Q),t(A,"gui-block"),A.style.width=I+"px",A.style.height=z+"px",A.style.overflow="visible";let R=T8(F(J,"stroke"));if(k){let y=document.createElementNS("http://www.w3.org/2000/svg","defs"),f="gui-arrow-"+ ++p6,w=document.createElementNS("http://www.w3.org/2000/svg","marker");w.setAttribute("id",f),w.setAttribute("markerWidth","6"),w.setAttribute("markerHeight","6"),w.setAttribute("refX","6"),w.setAttribute("refY","3"),w.setAttribute("orient","auto");let u=L==="triangle-filled";if(L==="arrow-lines"){let v=document.createElementNS("http://www.w3.org/2000/svg","path");v.setAttribute("d","M 0 0 L 6 3 L 0 6"),v.setAttribute("fill","none"),v.setAttribute("stroke",R),v.setAttribute("stroke-width","1"),w.appendChild(v)}else{let v=document.createElementNS("http://www.w3.org/2000/svg","polygon");v.setAttribute("points","0 0, 6 3, 0 6"),v.setAttribute("fill",u?R:"none"),v.setAttribute("stroke",R),v.setAttribute("stroke-width","0.5"),w.appendChild(v)}y.appendChild(w),A.appendChild(y);let C=document.createElementNS("http://www.w3.org/2000/svg","line");C.setAttribute("x1","0"),C.setAttribute("y1","0"),C.setAttribute("x2",String(I-z)),C.setAttribute("y2","0"),C.setAttribute("stroke",R),C.setAttribute("stroke-width",U),C.setAttribute("stroke-linecap","butt"),C.setAttribute("marker-end","url(#"+f+")"),A.appendChild(C)}else{let y=document.createElementNS("http://www.w3.org/2000/svg","line");if(y.setAttribute("x1","0"),y.setAttribute("y1","0"),y.setAttribute("x2",String(I)),y.setAttribute("y2","0"),y.setAttribute("stroke",R),y.setAttribute("stroke-width",U),L==="round")y.setAttribute("stroke-linecap","round");else if(L==="square")y.setAttribute("stroke-linecap","square");else y.setAttribute("stroke-linecap","butt");if(D)y.setAttribute("stroke-dasharray",D);if(H)y.setAttribute("stroke-dashoffset",H);A.appendChild(y)}return A}let O=W7(J),M=F(J,"w")||"0";if(O!==null)if(Z.style.transform="",Z.style.transformOrigin="",O===90||O===270)Z.style.width=`${U}px`,Z.style.height=`${M}px`;else Z.style.width=`${M}px`,Z.style.height=`${U}px`;else Z.style.width=e8(F(J,"w")),Z.style.height=`${U}px`;if(Z.style.background=l(F(J,"stroke")),L==="round")Z.style.borderRadius="9999px";return Z}let j=fQ(J),X=v$(J),W=JJ(J,"fill-style"),B=W?K8[W]||null:F(J,"fill");if(B&&!X)Z.style.background=l(B);let Y=b$(F(J,"shadow"));if(Y)Z8(Z,Y);if(K==="ellipse")Z.style.borderRadius="50%";else if(K==="rect"){let U=F(J,"radius");if(U)Z.style.borderRadius=y$(U);hQ(Z,J)}Z$(J,Z,$,Z.style.borderRadius||null);let G=JJ(J,"effect-style");if(G)g$(Z,G);let q=$$(Z,J,Z.style.borderRadius||null);return Q$(Z,J,Z.style.borderRadius||null),q||Z}function E7(J,$){let Q=F(J,"w")||"24",K=F(J,"h")||"24",Z=F(J,"fill"),j=F(J,"stroke"),X=F(J,"stroke-width"),W=F(J,"stroke-position")||"center",B=F(J,"fill-rule"),Y=F(J,"dash-array"),G=F(J,"dash-offset"),q="http://www.w3.org/2000/svg",U=document.createElementNS("http://www.w3.org/2000/svg","svg");U.setAttribute("viewBox",`0 0 ${Q} ${K}`),kJ(U,J,$),t(U,"gui-block");let L=Array.from(J.querySelectorAll("path"));for(let D of L){let H=D.getAttribute("d");if(!H)continue;let O=Z?T8(Z):"none",M=j?T8(j):null;if(!M||!X||W==="center"){let I=Q8("http://www.w3.org/2000/svg",H,O,M,X);if(B)I.setAttribute("fill-rule",B);if(Y)I.setAttribute("stroke-dasharray",Y);if(G)I.setAttribute("stroke-dashoffset",G);U.appendChild(I);continue}let P=parseFloat(X);if(!Number.isFinite(P)||P<=0){let I=Q8("http://www.w3.org/2000/svg",H,O,null,null);if(B)I.setAttribute("fill-rule",B);U.appendChild(I);continue}if(W==="inside"){let I=`gui-clip-${++p6}`,z=document.createElementNS("http://www.w3.org/2000/svg","defs"),k=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),x=Q8("http://www.w3.org/2000/svg",H,"black",null,null);k.setAttribute("id",I),k.appendChild(x),z.appendChild(k),U.appendChild(z);let E=Q8("http://www.w3.org/2000/svg",H,O,null,null);if(B)E.setAttribute("fill-rule",B);let A=Q8("http://www.w3.org/2000/svg",H,"none",M,String(P*2));if(A.setAttribute("clip-path",`url(#${I})`),Y)A.setAttribute("stroke-dasharray",Y);if(G)A.setAttribute("stroke-dashoffset",G);U.appendChild(E),U.appendChild(A)}else{let I=Q8("http://www.w3.org/2000/svg",H,"none",M,String(P*2));if(Y)I.setAttribute("stroke-dasharray",Y);if(G)I.setAttribute("stroke-dashoffset",G);let z=Q8("http://www.w3.org/2000/svg",H,O,null,null);if(B)z.setAttribute("fill-rule",B);U.appendChild(I),U.appendChild(z)}}return U}function Q8(J,$,Q,K,Z){let j=document.createElementNS(J,"path");if(j.setAttribute("d",$),j.setAttribute("fill",Q),K&&Z)j.setAttribute("stroke",K),j.setAttribute("stroke-width",Z);return j}function S7(J){let $=new Map;for(let Q of Array.from(J.children)){if(Q.tagName!=="components")continue;for(let K of Array.from(Q.children))if(K.tagName==="component"){let Z=K.getAttribute("id");if(Z)$.set(Z,K)}else if(K.tagName==="component-set"){for(let Z of Array.from(K.children))if(Z.tagName==="variant"){let j=Z.getAttribute("id");if(j)$.set(j,Z)}}}return $}function k$(J,$){if(J.getAttribute("id")===$)return J;for(let Q of Array.from(J.children)){let K=k$(Q,$);if(K)return K}return null}function g6(J){for(let $ of Array.from(J.children)){if($.tagName==="text")return $;let Q=g6($);if(Q)return Q}return null}var k7=new Set(["component","name","x","y","w","h","constraint-h","constraint-v","abs","rotation","opacity","blend","min-width","max-width","min-height","max-height"]);function x7(J,$,Q){let K={},Z=Array.from(Q.children).find((X)=>X.tagName==="props");if(Z)for(let X of Array.from(Z.children)){if(X.tagName!=="prop")continue;let W=X.getAttribute("name"),B=X.getAttribute("type"),Y=X.getAttribute("target"),G=X.getAttribute("bind");if(!W||!B||!Y)continue;let q=Y.trim().split(/\s+/).filter(Boolean);K[W]={type:B,targets:q,bind:G};let U=$.getAttribute(W);if(U===null)continue;for(let L of q){let D=k$(J,L);if(!D)continue;let O=(B==="string"||B==="text")&&D.tagName!=="text"?g6(D)||D:D;xQ(O,B,U,G)}}let j=[{suffix:"-stroke-style",type:"style",bind:"stroke-style"},{suffix:"-text",type:"style",bind:"text-style"},{suffix:"-fill",type:"style",bind:"fill-style"},{suffix:"-effect",type:"style",bind:"effect-style"},{suffix:"-stroke",type:"color",bind:"stroke"},{suffix:"-radius",type:"number",bind:"radius"},{suffix:"-opacity",type:"number",bind:"opacity"}];for(let X of Array.from($.attributes)){if(k7.has(X.name))continue;if(K[X.name]!==void 0)continue;let W=k$(J,X.name),B="",Y=null;if(W)B=W.tagName==="text"?"string":X.value==="false"||X.value==="true"?"boolean":W.tagName==="instance"?"component":W.getAttribute("src")!==null?"image":"string";else{for(let q of j){if(!X.name.endsWith(q.suffix))continue;let U=X.name.slice(0,X.name.length-q.suffix.length),L=k$(J,U);if(!L)continue;W=L,B=q.type,Y=q.bind;break}if(!W)continue}let G=B==="string"&&W.tagName!=="text"?g6(W)||W:W;xQ(G,B,X.value,Y)}}function xQ(J,$,Q,K){if($==="string"||$==="text")J.setAttribute(K||"value",Q);else if(($==="boolean"||$==="visible")&&Q==="false")J.parentNode&&J.parentNode.removeChild(J);else if($==="color"||$==="fill")J.setAttribute(K||"fill",Q);else if($==="image"||$==="src")J.setAttribute("src",Q);else if($==="component")J.setAttribute("component",Q);else if($==="number"&&K)J.setAttribute(K,Q);else if($==="style"&&K){if(J.setAttribute(K,Q),K==="text-style"){let Z=["font-size","font-weight","font-style","line-height","letter-spacing","font-family","font-postscript","font-style-name","font-stretch","font-variation","font-feature","text-case","decoration"];for(let j=0;j<Z.length;j++)J.removeAttribute(Z[j])}}}function rQ(J,$,Q){for(let K=0;K<J.children.length;K++){let Z=J.children[K],j=Z.getAttribute("constraint-h"),X=Z.getAttribute("constraint-v"),W=j==="scale"||j==="left-right",B=X==="scale"||X==="top-bottom";if(W||B){if(W){let Y=parseFloat(Z.getAttribute("x")||"0"),G=parseFloat(Z.getAttribute("w")||"0");if(G>0)Z.setAttribute("w",String(Math.round(G*$)));if(Y!==0)Z.setAttribute("x",String(Math.round(Y*$)))}if(B){let Y=parseFloat(Z.getAttribute("y")||"0"),G=parseFloat(Z.getAttribute("h")||"0");if(G>0)Z.setAttribute("h",String(Math.round(G*Q)));if(Y!==0)Z.setAttribute("y",String(Math.round(Y*Q)))}}if(Z.children.length>0)rQ(Z,$,Q)}}function y7(J,$,Q){let K=F(J,"component");if(!K)return null;let Z=gQ.get(K);if(!Z)return null;let j=Array.from(Z.children).find((D)=>D.tagName!=="props");if(!j)return null;let X=j.cloneNode(!0);x7(X,J,Z);let W=parseFloat(j.getAttribute("w")||"0"),B=parseFloat(j.getAttribute("h")||"0"),Y=parseFloat(J.getAttribute("w")||"0"),G=parseFloat(J.getAttribute("h")||"0"),q=W>0&&Y>0?Y/W:1,U=B>0&&G>0?G/B:1;for(let D of["x","y","w","h","constraint-h","constraint-v","abs","rotation","opacity","blend","visible","min-width","max-width","min-height","max-height","radius","fill","fill-style","shadow","clip","overflow-x","overflow-y"]){let H=J.getAttribute(D);if(H!==null)X.setAttribute(D,H)}let L=J.getAttribute("radius");if(L!==null){if(X.getAttribute("clip")===null)X.setAttribute("clip","true");for(let D=0;D<X.children.length;D++){let H=X.children[D];if(H.getAttribute("constraint-h")==="scale"&&H.getAttribute("constraint-v")==="scale")H.setAttribute("radius",L)}}if(q!==1||U!==1)rQ(X,q,U);return r6(X,$,Q)}function r6(J,$,Q){let K=J$;J$=uQ(J,K);try{switch(J.tagName){case"frame":return v6(J,$,Q,!1);case"stack":case"row":case"col":case"grid":return v6(J,$,Q,!0);case"group":return M7(J,$,Q);case"text":return z7(J,$,Q);case"img":return R7(J,$,Q);case"rect":return T7(J,$,Q);case"ellipse":return _7(J,$,Q);case"line":return N7(J,Q);case"svg":return A7(J,$,Q);case"shape":return w7(J,$,Q);case"instance":return y7(J,$,Q);default:return null}}finally{J$=K}}function b7(J){let $=J.getAttribute("family");if(!$)return null;let Q=(J.getAttribute("weights")||"400").split(/[\s,]+/).filter(Boolean).sort((B,Y)=>parseInt(B)-parseInt(Y)),K=(J.getAttribute("styles")||"normal").split(/[\s,]+/).filter(Boolean),Z=(J.getAttribute("variants")||"").split(/[\s,]+/).filter(Boolean),j=Z.reduce((B,Y)=>{return B[Y]=!0,B},{}),X=encodeURIComponent($).replace(/%20/g,"+");if(!Q.length)return X;if(K.indexOf("italic")!==-1){let B=[];for(let Y of Q)if(!Z.length||j[Y==="400"?"regular":Y])B.push(`0,${Y}`);for(let Y of Q)if(!Z.length||j[Y==="400"?"italic":`${Y}italic`])B.push(`1,${Y}`);if(!B.length)return X;return`${X}:ital,wght@${B.join(";")}`}let W=Z.length?Q.filter((B)=>j[B==="400"?"regular":B]):Q;if(!W.length)return X;return`${X}:wght@${W.join(";")}`}function v7(J){let $=[];for(let[K,Z]of Object.entries(J)){if(Z.source!=="google")continue;let j=document.createElement("span");if(j.setAttribute("family",K),Z.weights)j.setAttribute("weights",Z.weights);if(Z.styles)j.setAttribute("styles",Z.styles);if(Z.variants)j.setAttribute("variants",Z.variants);let X=b7(j);if(X&&$.indexOf(X)===-1)$.push(X)}if(!$.length||typeof document>"u")return;if(!document.querySelector('link[data-gui-fonts-preconnect="google-fonts"]')){let K=document.createElement("link");K.rel="preconnect",K.href="https://fonts.gstatic.com",K.crossOrigin="anonymous",K.setAttribute("data-gui-fonts-preconnect","google-fonts"),document.head.appendChild(K)}let Q=Array.from(document.querySelectorAll("link[data-gui-fonts]"));for(let K of $){let Z=`https://fonts.googleapis.com/css2?family=${K}&display=swap`;if(Q.some((X)=>X.href===Z||X.getAttribute("href")===Z))continue;let j=document.createElement("link");j.rel="stylesheet",j.href=Z,j.setAttribute("data-gui-fonts",Z),document.head.appendChild(j)}}function u$(J,$,Q,K){K7(),$.innerHTML="";let Z=S$(J,Q);if(!Z)return $.innerHTML='<div style="color:#888;padding:24px;font-size:12px">Invalid .gui</div>',null;b6=Z.tokens,u6=Z.modes,yQ=Z.tokenDefs,bQ=Z.fonts,h6=Z.textStyles,K8=Z.fillStyles,vQ=Z.effectStyles,v7(Z.fonts);let j=Z.assets,X;try{let u=s4(J).replace(/&(?!amp;|lt;|gt;|quot;|apos;|#)/g,"&amp;");if(X=new DOMParser().parseFromString(u,"text/xml"),X.querySelector("parsererror"))throw Error()}catch{return $.innerHTML='<div style="color:#888;padding:24px;font-size:12px">Invalid .gui</div>',null}let W=X.documentElement;gQ=S7(W);let B=new Set(["stack","row","col","grid"]),Y=null;for(let u of Array.from(W.children))if(u.tagName==="frame"||B.has(u.tagName)){Y=u;break}if(!Y)return null;J$=uQ(Y,K&&K.mode?{...K.mode}:{});let G=Y.getAttribute("w"),q=Y.getAttribute("h"),U=G&&G!=="fill"?parseInt(G)||390:390,L=q&&q!=="fill"?parseInt(q):null,D=v6(Y,j,{absolute:!1},B.has(Y.tagName));if(D.style.width=`${U}px`,L!==null)D.style.height=`${L}px`;if(t(D,"gui-relative"),D.style.flexShrink="0",D.style.outline="1px solid #0d99ff",!K?.zoom)return $.appendChild(D),null;let H=document.createElement("div"),O=L!==null?`height:${L}px;`:"";H.style.cssText=`position:absolute;left:0;top:0;width:${U}px;${O}transform-origin:0 0;will-change:transform;`,H.appendChild(D);let M=document.createElement("div");M.style.cssText="position:relative;width:100%;height:100%;overflow:hidden;cursor:default;touch-action:none;user-select:none;",M.appendChild(H),$.appendChild(M);let P=K?.view;function I(){return L!==null?L:D.offsetHeight||D.scrollHeight||844}function z(){let u=I();return Math.min((M.clientWidth-48)/U,(M.clientHeight-48)/u,1)}function k(u){let C=I();return{x:(M.clientWidth-U)/(2*u),y:(M.clientHeight-C)/(2*u)}}function x(u){let C=I();return{x:(M.clientWidth-U*u)/2,y:(M.clientHeight-C*u)/2}}let E=z(),A=1,R=null;if(P?.transform)H.style.transform=P.transform;else if(E>0){let{x:u,y:C}=x(E);H.style.transform=`matrix(${E}, 0, 0, ${E}, ${u}, ${C})`}function y(u){let C=E*u;if(!R){let{x:d,y:c}=x(C);H.style.transform=`matrix(${C}, 0, 0, ${C}, ${d}, ${c})`;return}let v=k(C);R.zoom(C,{animate:!1,force:!0}),R.pan(v.x,v.y,{animate:!1,force:!0})}function f(u,C,v){let d=Math.max(0.1,Math.min(u,16)),c=E*d;if(!c)return;if(C===void 0||v===void 0){A=d,y(d);return}if(A=d,!R){y(d);return}let $J=M.getBoundingClientRect();R.zoomToPoint(c,{clientX:$J.left+C,clientY:$J.top+v},{animate:!1,force:!0})}requestAnimationFrame(()=>{if(!H.isConnected)return;E=z();let u=k(E);R=J6(H,{canvas:!0,cursor:"default",disablePan:!0,maxScale:E*16,minScale:E*0.1,overflow:"hidden",startScale:P?P.scale:E,startX:P?P.x:u.x,startY:P?P.y:u.y,step:0.18,touchAction:"none"})}),M.addEventListener("wheel",(u)=>{if(!R)return;if(u.preventDefault(),u.ctrlKey||u.metaKey){let C=R.getScale(),v=Math.min(Math.max(C*Math.exp(-u.deltaY*0.0125),E*0.1),E*16);R.zoomToPoint(v,u,{animate:!1,force:!0}),A=v/E}else{let C=R.getScale(),v=R.getPan();R.pan(v.x-u.deltaX/C,v.y-u.deltaY/C,{animate:!1,force:!0})}},{passive:!1});let w=f;return w.getView=()=>R?{scale:R.getScale(),x:R.getPan().x,y:R.getPan().y,transform:H.style.transform}:null,w}var g7=new Set(["frame","stack","row","col","grid","group"]);var u7=new Set(["text","img","svg","shape","instance"]),h7=new Set([...g7,...u7]),f7=new Set(["preview","tokens","styles","fonts","assets","meta","components"]),X5=new Set([...h7,...f7,"gui","color","number","string","text-style","fill-style","effect-style","font","image","appearance","fill","effect","segment","path","component","component-set","variant","props","prop"]);var m7="design.guix",dQ="preview.webp",d6="assets/";function p7(J){return J[0]===80&&J[1]===75}function c7(J){return J.startsWith(d6)?J:d6+J}function oQ(J){if(!p7(J))return{xml:q$(J),assets:{}};let $=D0(J),Q=Object.keys($).find((Z)=>Z.endsWith(".guix"));if(!Q)throw Error("no .guix entry inside the .gui package");let K={xml:q$($[Q]),assets:{}};for(let[Z,j]of Object.entries($)){if(Z===Q)continue;if(Z===dQ){K.preview=j;continue}if(Z.startsWith(d6))K.assets[Z]=j}return K}function iQ(J){let $={[m7]:B$(J.xml)};if(J.preview)$[dQ]=J.preview;for(let[Q,K]of Object.entries(J.assets))$[c7(Q)]=K;return L0($)}function n7(J){if(J==="svg")return"image/svg+xml";if(J==="jpg"||J==="jpeg")return"image/jpeg";return`image/${J}`}function o6(J){let $=oQ(J),Q={};for(let[K,Z]of Object.entries($.assets)){let j=K.split(".").pop()||"png",X=new Blob([Z],{type:n7(j)});Q[K]=URL.createObjectURL(X)}return{xml:$.xml,assetMap:Q,pkg:$}}function h$(J){return{xml:J,assetMap:{},pkg:{xml:J,assets:{}}}}async function f$(J){let $=await fetch(J);if(!$.ok)throw Error(`gui-embed: failed to fetch "${J}" (${$.status})`);let Q=new Uint8Array(await $.arrayBuffer());return o6(Q)}function sQ(J){return iQ(J)}function i6(J){for(let $ of Object.values(J))if($.startsWith("blob:"))URL.revokeObjectURL($)}function m$(J){try{return S$(J)?.modes??{}}catch{return{}}}function p$(J){return Object.keys(J).filter(($)=>J[$].values.length>1)}var aQ="gui-embed";class c$ extends HTMLElement{_canvas;_bar;_zoomCtl=null;_decoded=null;_modes={};_mode={};_ro=null;_userZoomed=!1;static get observedAttributes(){return["src"]}connectedCallback(){if(!this._canvas)this._build();this._load()}disconnectedCallback(){if(this._ro?.disconnect(),this._ro=null,this._decoded)i6(this._decoded.assetMap);this._decoded=null}attributeChangedCallback(J){if(J==="src"&&this._canvas)this._load()}_build(){let J=getComputedStyle(this);if(J.position==="static")this.style.position="relative";if(J.display==="inline")this.style.display="block";this.style.overflow="hidden";let $=document.createElement("div");$.className="gui-embed-canvas";let Q=this.getAttribute("grid")!=="false";$.style.cssText=["position:absolute;inset:0","background-color:var(--gui-embed-bg, #fafaf8)",Q?"background-image:radial-gradient(var(--gui-embed-dot, rgba(0,0,0,.14)) 1px, transparent 1.4px);background-size:var(--gui-embed-dot-gap, 18px) var(--gui-embed-dot-gap, 18px);background-position:center":""].filter(Boolean).join(";"),this.appendChild($),this._canvas=$;let K=()=>this._userZoomed=!0;$.addEventListener("wheel",K,{passive:!0}),$.addEventListener("pointerdown",K),this._ro=new ResizeObserver(()=>{if(!this._userZoomed)this._zoomCtl?.(1)}),this._ro.observe(this);let Z=document.createElement("div");Z.className="gui-embed-controls",Z.style.cssText=["position:absolute;top:8px;right:8px;z-index:2","display:flex;gap:4px;padding:4px","border-radius:8px;background:rgba(20,20,20,.55)","backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)","opacity:0;transition:opacity .15s ease"].join(";"),this.appendChild(Z),this._bar=Z,this.addEventListener("pointerenter",()=>Z.style.opacity="1"),this.addEventListener("pointerleave",()=>Z.style.opacity="0")}async _load(){try{let J,$=this.getAttribute("src");if($)J=await f$($);else{let Q=this.querySelector(':scope > script[type="application/gui"]');if(!Q)return;J=h$(Q.textContent??"")}if(this._decoded)i6(this._decoded.assetMap);this._decoded=J,this._userZoomed=!1,this._modes=m$(J.xml),this._mode={};for(let[Q,K]of Object.entries(this._modes))this._mode[Q]=K.default;this._render(),this._buildControls()}catch(J){this._canvas.textContent=String(J?.message??J),this._canvas.style.cssText+=";display:flex;align-items:center;justify-content:center;font:13px system-ui;color:#c00;padding:12px;text-align:center"}}_render(){if(!this._decoded)return;let{xml:J,assetMap:$}=this._decoded,Q=this.getAttribute("zoom")!=="false";if(!this._hasHeight()){u$(J,this._canvas,$,{mode:this._mode});let K=this._canvas.querySelector(".gui-relative"),Z=K?.offsetWidth??0,j=K?.offsetHeight??0;if(Z>0&&j>0)if(this.style.width)this.style.aspectRatio=`${Z} / ${j}`;else this.style.width=`${Z}px`,this.style.height=`${j}px`;requestAnimationFrame(()=>{this._zoomCtl=u$(J,this._canvas,$,{zoom:Q,mode:this._mode})});return}this._zoomCtl=u$(J,this._canvas,$,{zoom:Q,mode:this._mode})}_hasHeight(){if(this.style.height||this.style.aspectRatio)return!0;let J=getComputedStyle(this).height;return!!J&&J!=="auto"&&parseFloat(J)>1}_buildControls(){let J=this._bar;if(J.innerHTML="",this.getAttribute("zoom")!=="false")J.appendChild(this._btn("Fit","Reset zoom",()=>this._zoomCtl?.(1)));let $=p$(this._modes);if(this.hasAttribute("mode-switch")&&$.length)for(let Q of $)J.appendChild(this._modeSelect(Q));if(this.hasAttribute("copy"))J.appendChild(this._btn("Copy","Copy .gui markup",async()=>{if(this._decoded)await navigator.clipboard.writeText(this._decoded.xml)}));if(this.hasAttribute("download"))J.appendChild(this._btn("Download","Download .gui file",()=>this._download()));J.style.display=J.children.length?"flex":"none"}_btn(J,$,Q){let K=document.createElement("button");return K.type="button",K.textContent=J,K.title=$,K.style.cssText=["all:unset;cursor:pointer;font:600 12px/1 system-ui","color:#fff;padding:6px 9px;border-radius:5px"].join(";"),K.addEventListener("pointerenter",()=>K.style.background="rgba(255,255,255,.18)"),K.addEventListener("pointerleave",()=>K.style.background="transparent"),K.addEventListener("click",Q),K}_modeSelect(J){let $=document.createElement("select");$.title=`Mode: ${J}`,$.style.cssText=["all:unset;cursor:pointer;font:600 12px/1 system-ui","color:#fff;padding:6px 9px;border-radius:5px"].join(";");for(let Q of this._modes[J].values){let K=document.createElement("option");if(K.value=Q,K.textContent=Q,K.style.color="#000",Q===this._mode[J])K.selected=!0;$.appendChild(K)}return $.addEventListener("change",()=>{this._mode[J]=$.value,this._render()}),$}_download(){if(!this._decoded)return;let J=sQ(this._decoded.pkg),$=(this.getAttribute("src")?.split("/").pop()||"design.gui").replace(/\.guix$/,".gui"),Q=URL.createObjectURL(new Blob([J],{type:"application/octet-stream"})),K=document.createElement("a");K.href=Q,K.download=$.endsWith(".gui")?$:$+".gui",K.click(),setTimeout(()=>URL.revokeObjectURL(Q),1000)}}function n$(){if(typeof customElements<"u"&&!customElements.get(aQ))customElements.define(aQ,c$)}var lQ=!1;function s6(){if(lQ||typeof window>"u")return;lQ=!0,n$()}s6();globalThis.GuiEmbed=a6;})();
120
+ `;function _4(){if(typeof document>"u")return;if(document.querySelector("style[data-gui-render-utilities]"))return;let J=document.createElement("style");J.setAttribute("data-gui-render-utilities","true"),J.textContent=T4,document.head.appendChild(J)}function LJ(J,$){J.classList.add($)}var S0=0,_6=0;function k0(J,$,Q,K){let Z=(h)=>Math.round(h*1e4)/1e4,X=(h)=>h*Math.PI/180,Y=Math.min(J,$)/2,W=Math.min(Math.max(Q,0),Y);if(W<=0)return`M 0 0 L ${Z(J)} 0 L ${Z(J)} ${Z($)} L 0 ${Z($)} Z`;let B=Math.min(1,Math.max(0,K)),G=(1+B)*W,U=Y/W-1;B=Math.max(0,Math.min(B,U)),G=Math.min(G,Y);let D=90*(1-B),F=Math.sin(X(D/2))*W*Math.SQRT2,L=(90-D)/2,V=W*Math.tan(X(L/2)),H=45*B,I=V*Math.cos(X(H)),z=I*Math.tan(X(H)),T=(G-F-I-z)/3,_=2*T,b=W,n=F,d=`c ${Z(_)} 0 ${Z(_+T)} 0 ${Z(_+T+I)} ${Z(z)} a ${Z(b)} ${Z(b)} 0 0 1 ${Z(n)} ${Z(n)} c ${Z(z)} ${Z(I)} ${Z(z)} ${Z(T+I)} ${Z(z)} ${Z(_+T+I)}`,C=`c 0 ${Z(_)} 0 ${Z(_+T)} ${Z(-z)} ${Z(_+T+I)} a ${Z(b)} ${Z(b)} 0 0 1 ${Z(-n)} ${Z(n)} c ${Z(-I)} ${Z(z)} ${Z(-(T+I))} ${Z(z)} ${Z(-(_+T+I))} ${Z(z)}`,w=`c ${Z(-_)} 0 ${Z(-(_+T))} 0 ${Z(-(_+T+I))} ${Z(-z)} a ${Z(b)} ${Z(b)} 0 0 1 ${Z(-n)} ${Z(-n)} c ${Z(-z)} ${Z(-I)} ${Z(-z)} ${Z(-(T+I))} ${Z(-z)} ${Z(-(_+T+I))}`,S=`c 0 ${Z(-_)} 0 ${Z(-(_+T))} ${Z(z)} ${Z(-(_+T+I))} a ${Z(b)} ${Z(b)} 0 0 1 ${Z(n)} ${Z(-n)} c ${Z(I)} ${Z(-z)} ${Z(T+I)} ${Z(-z)} ${Z(_+T+I)} ${Z(-z)}`;return`M ${Z(J-G)} 0 ${d} L ${Z(J)} ${Z($-G)} ${C} L ${Z(G)} ${Z($)} ${w} L 0 ${Z(G)} ${S} Z`}function w4(J,$,Q,K){let Z=`gui-squircle-${++_6}`,X="http://www.w3.org/2000/svg",Y=k0(J,$,Q,K),W=document.createElementNS("http://www.w3.org/2000/svg","svg");W.setAttribute("width","0"),W.setAttribute("height","0"),W.style.position="absolute",W.style.pointerEvents="none";let B=document.createElementNS("http://www.w3.org/2000/svg","defs"),G=document.createElementNS("http://www.w3.org/2000/svg","clipPath");G.setAttribute("id",Z),G.setAttribute("clipPathUnits","userSpaceOnUse");let U=document.createElementNS("http://www.w3.org/2000/svg","path");return U.setAttribute("d",Y),G.appendChild(U),B.appendChild(G),W.appendChild(B),[W,Z]}function N4(J,$,Q,K,Z,X,Y,W,B,G){let D=k0($,Q,K,Z),F=document.createElementNS("http://www.w3.org/2000/svg","svg");if(F.setAttribute("width",String($)),F.setAttribute("height",String(Q)),F.style.position="absolute",F.style.left="0",F.style.top="0",F.style.overflow="visible",F.style.pointerEvents="none",F.style.zIndex="2",B)F.style.opacity=B;if(G)F.style.mixBlendMode=G;let L=`gui-ssclip-${++_6}`,V=document.createElementNS("http://www.w3.org/2000/svg","defs"),H=document.createElementNS("http://www.w3.org/2000/svg","clipPath");H.setAttribute("id",L),H.setAttribute("clipPathUnits","userSpaceOnUse");let I=document.createElementNS("http://www.w3.org/2000/svg","path");I.setAttribute("d",D),H.appendChild(I),V.appendChild(H),F.appendChild(V);let z=document.createElementNS("http://www.w3.org/2000/svg","path");if(z.setAttribute("d",D),z.setAttribute("fill","none"),z.setAttribute("stroke",DJ(Y)),W==="inside")z.setAttribute("stroke-width",String(X*2)),z.setAttribute("clip-path",`url(#${L})`);else z.setAttribute("stroke-width",String(X)),z.setAttribute("clip-path",`url(#${L})`);F.appendChild(z),J.appendChild(F)}function mQ(J,$){let Q=P($,"corner-smoothing");if(!Q)return;let K=parseFloat(Q);if(!Number.isFinite(K)||K<=0)return;let Z=P($,"radius");if(!Z)return;let X=parseFloat(Z);if(!Number.isFinite(X)||X<=0)return;let Y=P($,"w"),W=P($,"h"),B=Y?parseFloat(Y):NaN,G=W?parseFloat(W):NaN;if(!Number.isFinite(B)||!Number.isFinite(G)||B<=0||G<=0)return;J.style.borderRadius="";let[U,D]=w4(B,G,X,K);J.insertBefore(U,J.firstChild),J.style.clipPath=`url(#${D})`}function aJ(J,$,Q){let K=P($,"w"),Z=P($,"h"),X=K===null||K==="hug"?"hug":K==="fill"?"fill":"fixed",Y=Z===null||Z==="hug"?"hug":Z==="fill"?"fill":"fixed";J.setAttribute("data-w-mode",X),J.setAttribute("data-h-mode",Y);let W=VJ($,"data-uid");if(W!==null)J.setAttribute("data-uid",W);if(X==="fixed")J.style.setProperty("--gui-w",j8(K));if(Y==="fixed")J.style.setProperty("--gui-h",j8(Z));if(Q.parentDirection)J.setAttribute("data-parent-dir",Q.parentDirection);let B=P($,"min-width"),G=P($,"max-width"),U=P($,"min-height"),D=P($,"max-height");if(B)J.style.minWidth=j8(B);if(G)J.style.maxWidth=j8(G);if(U)J.style.minHeight=j8(U);if(D)J.style.maxHeight=j8(D);let F=P($,"opacity");if(F)J.style.opacity=F;let L=P($,"blend");if(L)J.style.mixBlendMode=L;let V=VJ($,"mask");if(V!==null&&V!=="false")J.setAttribute("data-mask","true");k4(J,$);let H=P($,"filter");if(H)J.style.filter=H;let I=P($,"isolation");if(I&&I!=="false")J.style.isolation="isolate";let z=P($,"aspect-ratio");if(z)J.style.aspectRatio=z;let T=P($,"z-index");if(T)J.style.zIndex=T;if(P($,"visible")==="false")J.style.display="none";if(Q.absolute){let b=parseFloat(P($,"x")||"0")-(Q.offsetX||0),n=parseFloat(P($,"y")||"0")-(Q.offsetY||0);J.setAttribute("data-pos","absolute"),J.style.setProperty("--gui-x",`${b}px`),J.style.setProperty("--gui-y",`${n}px`)}}var E4={"top-left":"0% 0%","top-center":"50% 0%","top-right":"100% 0%","middle-left":"0% 50%",center:"50% 50%","middle-center":"50% 50%","middle-right":"100% 50%","bottom-left":"0% 100%","bottom-center":"50% 100%","bottom-right":"100% 100%"};function S4(J,$){let Q=P($,"rotation"),K=P($,"flip"),Z=P($,"scale-x"),X=P($,"scale-y"),Y=P($,"skew-x"),W=P($,"skew-y"),B=[],G=Q?parseFloat(Q):0;if(Number.isFinite(G)&&G!==0)B.push(`rotate(${G}deg)`);if(K==="h")B.push("scaleX(-1)");else if(K==="v")B.push("scaleY(-1)");else if(K==="both")B.push("scaleX(-1) scaleY(-1)");if(Z!==null){let D=parseFloat(Z);if(Number.isFinite(D))B.push(`scaleX(${D})`)}if(X!==null){let D=parseFloat(X);if(Number.isFinite(D))B.push(`scaleY(${D})`)}if(Y!==null){let D=parseFloat(Y);if(Number.isFinite(D))B.push(`skewX(${D}deg)`)}if(W!==null){let D=parseFloat(W);if(Number.isFinite(D))B.push(`skewY(${D}deg)`)}if(B.length>0)J.style.transform=B.join(" "),J.style.transformBox="fill-box";let U=P($,"transform-origin");if(U)J.style.transformOrigin=E4[U]||U;else if(B.length>0)J.style.transformOrigin="center"}function k4(J,$){S4(J,$)}function x4(J){let $=P(J,"rotation"),Q=$?parseFloat($):0;if(!Number.isFinite(Q))return null;let K=(Q%360+360)%360,Z=Math.round(K/90)*90;if(Math.abs(K-Z)>0.001)return null;return Z%360}function x0(J){let $=new Set(["inside","outside","center"]),Q=new Set(["solid","dashed","dotted"]),K="",Z=1,X="solid",Y="center";for(let W of J.trim().split(/\s+/))if(W.startsWith("#")||W.startsWith("$")||/^rgba?/.test(W))K=W;else if($.has(W))Y=W;else if(Q.has(W))X=W;else if(/^\d/.test(W))Z=parseFloat(W);return K?{color:K,width:Z,style:X,align:Y}:null}function y4(J){let $=document.createElement("div");$.style.position="relative";for(let K of["data-w-mode","data-h-mode","data-parent-dir"]){let Z=J.getAttribute(K);if(Z!==null)$.setAttribute(K,Z),J.removeAttribute(K)}let Q=["--gui-w","--gui-h","width","height","flexShrink","flexGrow","alignSelf","justifySelf","marginLeft","marginTop","marginRight","marginBottom","gridColumn","gridRow","zIndex","position","left","top","right","bottom","transform","transformOrigin"];for(let K of Q)if(K.startsWith("--")){let Z=J.style.getPropertyValue(K);if(Z)$.style.setProperty(K,Z),J.style.removeProperty(K)}else{let Z=K,X=J.style[Z];if(X)$.style[K]=X,J.style[K]=""}for(let K of["gui-absolute","gui-relative","gui-fill-w","gui-fill-h"])if(J.classList.contains(K))$.classList.add(K),J.classList.remove(K);return J.style.position="absolute",J.style.inset="0",$.appendChild(J),$}function p$(J,$,Q){if(b4($))return null;let K=P($,"border"),Z,X,Y,W;if(K){let _=x0(K);if(!_)return null;Z=_.color,X=_.width,Y=_.align,W=_.style}else{let _=P($,"stroke"),b=P($,"stroke-width");if(!_||!b)return null;Z=_,X=parseFloat(b),Y=P($,"stroke-position")||"center",W="solid"}if(!Number.isFinite(X)||X<=0)return null;let B=P($,"corner-smoothing"),G=P($,"radius"),U=P($,"w"),D=P($,"h"),F=B?parseFloat(B):NaN,L=G?parseFloat(G):NaN,V=U?parseFloat(U):NaN,H=D?parseFloat(D):NaN;if(Number.isFinite(F)&&F>0&&Number.isFinite(L)&&L>0&&Number.isFinite(V)&&V>0&&Number.isFinite(H)&&H>0&&W==="solid")if(Y==="outside"||Y==="center"){let _=y4(J),b=Y==="outside"?X:X/2,n="http://www.w3.org/2000/svg",d=V+b*2,C=H+b*2,w=document.createElementNS("http://www.w3.org/2000/svg","svg");w.setAttribute("width",String(d)),w.setAttribute("height",String(C)),w.style.position="absolute",w.style.left=`${-b}px`,w.style.top=`${-b}px`,w.style.overflow="visible",w.style.pointerEvents="none",w.style.zIndex="2",LJ(w,"gui-pointer-events-none");let S=k0(V,H,L,F);if(Y==="outside"){let h=`gui-ssclip-${++_6}`,a=document.createElementNS("http://www.w3.org/2000/svg","defs"),f=document.createElementNS("http://www.w3.org/2000/svg","clipPath");f.setAttribute("id",h),f.setAttribute("clipPathUnits","userSpaceOnUse");let s=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("d",`M -9999 -9999 H 99999 V 99999 H -9999 Z ${S}`),s.setAttribute("fill-rule","evenodd"),f.appendChild(s),a.appendChild(f),w.appendChild(a);let m=document.createElementNS("http://www.w3.org/2000/svg","g");m.setAttribute("transform",`translate(${b},${b})`);let o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d",S),o.setAttribute("fill","none"),o.setAttribute("stroke",DJ(Z)),o.setAttribute("stroke-width",String(X*2)),o.setAttribute("clip-path",`url(#${h})`),m.appendChild(o),w.appendChild(m)}else{let h=`gui-ssclip-${++_6}`,a=document.createElementNS("http://www.w3.org/2000/svg","defs"),f=document.createElementNS("http://www.w3.org/2000/svg","clipPath");f.setAttribute("id",h),f.setAttribute("clipPathUnits","userSpaceOnUse");let s=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("d",S),f.appendChild(s),a.appendChild(f),w.appendChild(a);let m=document.createElementNS("http://www.w3.org/2000/svg","g");m.setAttribute("transform",`translate(${b},${b})`);let o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d",S),o.setAttribute("fill","none"),o.setAttribute("stroke",DJ(Z)),o.setAttribute("stroke-width",String(X)),m.appendChild(o),w.appendChild(m)}return _.appendChild(w),_}else return N4(J,V,H,L,F,X,Z,"inside"),null;if(W==="solid"){let _;if(Y==="inside")_=`inset 0 0 0 ${X}px ${DJ(Z)}`;else if(Y==="outside")_=`0 0 0 ${X}px ${DJ(Z)}`;else _=`inset 0 0 0 ${X/2}px ${DJ(Z)}, 0 0 0 ${X/2}px ${DJ(Z)}`;return d8(J,_),null}let z=Y==="outside"?X:Y==="center"?X/2:0,T=document.createElement("div");if(T.style.position="absolute",LJ(T,"gui-pointer-events-none"),T.style.left=`${-z}px`,T.style.top=`${-z}px`,T.style.right=`${-z}px`,T.style.bottom=`${-z}px`,T.style.border=`${X}px ${W} ${DJ(Z)}`,T.style.boxSizing="border-box",T.style.zIndex="2",Q)T.style.borderRadius=Q;return J.appendChild(T),null}var g4=[{attr:"border-top",prop:"borderTop"},{attr:"border-right",prop:"borderRight"},{attr:"border-bottom",prop:"borderBottom"},{attr:"border-left",prop:"borderLeft"}];function c$(J,$,Q){let K=g4.filter((X)=>P($,X.attr)!==null);if(!K.length)return;let Z=document.createElement("div");if(Z.style.position="absolute",Z.style.left="0",Z.style.top="0",Z.style.right="0",Z.style.bottom="0",Z.style.boxSizing="border-box",LJ(Z,"gui-pointer-events-none"),Z.style.zIndex="2",Q)Z.style.borderRadius=Q;for(let{attr:X,prop:Y}of K){let W=P($,X);if(!W)continue;let B=x0(W);if(!B)continue;Z.style[Y]=`${B.width}px ${B.style} ${DJ(B.color)}`}J.appendChild(Z)}function d8(J,$){J.style.boxShadow=J.style.boxShadow?`${J.style.boxShadow}, ${$}`:$}function CQ(J,$,Q){if(J.style[$]=J.style[$]?`${J.style[$]} ${Q}`:Q,$==="backdropFilter")J.style.webkitBackdropFilter=J.style[$]}function n$(J){return Array.from(J.children).find(($)=>$.tagName==="appearance")||null}function pQ(J){return!!n$(J)}function x6(J){let $=n$(J);if(!$)return!1;return Array.from($.children).some((Q)=>Q.tagName==="fill")}function b4(J){let $=n$(J);if(!$)return!1;return Array.from($.children).some((Q)=>Q.tagName==="border")}function cQ(J,$){if(!J)return!1;return J==="linear-gradient"||J==="radial-gradient"||J==="angular-gradient"||J.startsWith("gradient")||J==="color"&&!!$&&($.startsWith("linear-gradient")||$.startsWith("radial-gradient")||$.startsWith("conic-gradient"))}function v4(J){let $=n$(J);if(!$)return null;for(let Q of Array.from($.children)){if(Q.tagName!=="fill")continue;if(P(Q,"visible")==="false")continue;let K=P(Q,"type"),Z=P(Q,"value"),X=P(Q,"gradient");if(cQ(K,Z))return X||Z}return null}function u4(J,$,Q){if(P($,"visible")==="false")return;let K=P($,"color"),Z=P($,"paint"),X=P($,"w")||"1",Y=parseFloat(X);if(!Number.isFinite(Y)||Y<=0)return;let W=K?DJ(K):Z?Y$(Z):null;if(!W)return;let B=P($,"align")||"center",G=P($,"style")||"solid",U=B==="outside"?Y:B==="center"?Y/2:0,D=document.createElement("div");if(D.style.position="absolute",LJ(D,"gui-pointer-events-none"),D.style.left=`${-U}px`,D.style.top=`${-U}px`,D.style.right=`${-U}px`,D.style.bottom=`${-U}px`,D.style.border=`${Y}px ${G} ${W}`,D.style.boxSizing="border-box",D.style.zIndex="2",Q)D.style.borderRadius=Q;let F=P($,"opacity");if(F)D.style.opacity=F;let L=P($,"blend");if(L)D.style.mixBlendMode=L;J.appendChild(D)}function h4(J,$){let Q=J.match(/rgba?\((\d+),(\d+),(\d+)(?:,([0-9.]+))?\)/);if(Q){let K=Q[4]!==void 0?parseFloat(Q[4]):1;return"rgba("+Q[1]+","+Q[2]+","+Q[3]+","+(K*$).toFixed(3)+")"}return J}function nQ(J,$){if($.visible===!1)return;let Q=$.type,K=String($.radius??0),Z=typeof $.opacity==="number"?$.opacity:1;if(Q==="drop-shadow"||Q==="inner-shadow"){let X=String($.x??0),Y=String($.y??0),W=String($.spread??0),B=DJ($.color??null);if(Z!==1&&Number.isFinite(Z))B=h4(B,Z);d8(J,(Q==="inner-shadow"?"inset ":"")+X+"px "+Y+"px "+K+"px "+W+"px "+B)}else if(Q==="layer-blur")CQ(J,"filter","blur("+K+"px)");else if(Q==="background-blur"||Q==="glass"){let X=String($.saturation??180);CQ(J,"backdropFilter","blur("+K+"px) saturate("+X+"%)")}}function f4(J,$){if(P($,"visible")==="false")return;nQ(J,{type:P($,"type")||"",visible:!0,radius:parseFloat(P($,"radius")||"0"),x:parseFloat(P($,"x")||"0"),y:parseFloat(P($,"y")||"0"),spread:parseFloat(P($,"spread")||"0"),color:P($,"color")||void 0,opacity:P($,"opacity")!==null?parseFloat(P($,"opacity")):void 0,blend:P($,"blend")||void 0,...P($,"saturation")!==null?{saturation:parseFloat(P($,"saturation"))}:{}})}function y6(J,$){let Q=uQ[$];if(!Q)return;for(let K=0;K<Q.length;K++)nQ(J,Q[K])}function m4(J,$,Q){if(P($,"visible")==="false")return;let K=P($,"color");if(!K)return;let Z=P($,"width")||"1",X=parseFloat(Z);if(!Number.isFinite(X)||X<=0)return;let Y=P($,"dash-array"),W=P($,"dash-offset"),B=P($,"align")||"center",G=P($,"style")||"solid",U=P($,"opacity"),D=P($,"blend");if(Y){let L=document.createElementNS("http://www.w3.org/2000/svg","svg");if(L.setAttribute("width","100%"),L.setAttribute("height","100%"),L.style.position="absolute",L.style.left="0",L.style.top="0",L.style.overflow="visible",L.style.zIndex="2",L.style.pointerEvents="none",U)L.style.opacity=U;if(D)L.style.mixBlendMode=D;let V=document.createElementNS("http://www.w3.org/2000/svg","rect");if(V.setAttribute("x","0"),V.setAttribute("y","0"),V.setAttribute("width","100%"),V.setAttribute("height","100%"),V.setAttribute("fill","none"),V.setAttribute("stroke",DJ(K)),V.setAttribute("stroke-width",String(X)),V.setAttribute("stroke-dasharray",Y),W)V.setAttribute("stroke-dashoffset",W);if(V.setAttribute("vector-effect","non-scaling-stroke"),Q){let H=Q.match(/^([0-9.]+)/);if(H){let I=H[1];V.setAttribute("rx",I),V.setAttribute("ry",I)}}if(B==="inside"){V.setAttribute("stroke-width",String(X*2));let H="gui-sclip-"+ ++S0,I=document.createElementNS("http://www.w3.org/2000/svg","defs"),z=document.createElementNS("http://www.w3.org/2000/svg","clipPath");z.setAttribute("id",H);let T=document.createElementNS("http://www.w3.org/2000/svg","rect");if(T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("width","100%"),T.setAttribute("height","100%"),Q){let _=Q.match(/^([0-9.]+)/);if(_)T.setAttribute("rx",_[1]),T.setAttribute("ry",_[1])}z.appendChild(T),I.appendChild(z),L.appendChild(I),V.setAttribute("clip-path","url(#"+H+")")}L.appendChild(V),J.appendChild(L)}else if(G==="solid"&&!U&&!D){let F;if(B==="inside")F=`inset 0 0 0 ${X}px ${DJ(K)}`;else if(B==="outside")F=`0 0 0 ${X}px ${DJ(K)}`;else F=`inset 0 0 0 ${X/2}px ${DJ(K)}, 0 0 0 ${X/2}px ${DJ(K)}`;d8(J,F)}else{let F=B==="outside"?X:B==="center"?X/2:0,L=document.createElement("div");if(L.style.position="absolute",LJ(L,"gui-pointer-events-none"),L.style.left=-F+"px",L.style.top=-F+"px",L.style.right=-F+"px",L.style.bottom=-F+"px",L.style.border=X+"px "+G+" "+DJ(K),L.style.boxSizing="border-box",L.style.zIndex="2",Q)L.style.borderRadius=Q;if(U)L.style.opacity=U;if(D)L.style.mixBlendMode=D;J.appendChild(L)}}function d$(J,$,Q,K,Z){let X=n$(J);if(!X)return;for(let Y of Array.from(X.children)){if(Y.tagName==="effect"){f4($,Y);continue}if(Y.tagName==="border"){u4($,Y,K);continue}if(Y.tagName==="stroke"){m4($,Y,K);continue}if(Y.tagName!=="fill")continue;if(P(Y,"visible")==="false")continue;let W=P(Y,"type"),B=P(Y,"value");if(Z&&cQ(W,B))continue;let G=document.createElement("div");if(LJ(G,"gui-layer"),K)G.style.borderRadius=K;let U=P(Y,"opacity");if(U)G.style.opacity=U;let D=P(Y,"blend");if(D)G.style.mixBlendMode=D;if(W==="image"){let F=P(Y,"src"),L=E0(F,Q);if(!L)continue;if(P(Y,"fit")==="tile"){G.style.backgroundImage=`url("${L}")`,G.style.backgroundRepeat="repeat",G.style.backgroundSize="auto",$.appendChild(G);continue}let V=document.createElement("img");V.src=L,LJ(V,"gui-block");let H=P(Y,"x")!==null&&P(Y,"y")!==null&&P(Y,"w")!==null&&P(Y,"h")!==null;if(P(Y,"fit")==="crop"&&H)LJ(G,"gui-overflow-hidden"),V.style.position="absolute",V.style.left=v$(P(Y,"x")||"0"),V.style.top=v$(P(Y,"y")||"0"),V.style.width=v$(P(Y,"w")||"fill"),V.style.height=v$(P(Y,"h")||"fill"),LJ(V,"gui-fit-fill");else LJ(V,"gui-w-full"),LJ(V,"gui-h-full"),LJ(V,`gui-fit-${P(Y,"fit")||"cover"}`);if(K)V.style.borderRadius=K;let I=[],z=P(Y,"filter-exposure"),T=P(Y,"filter-contrast"),_=P(Y,"filter-saturation");if(z!==null){let b=parseFloat(z);if(Number.isFinite(b))I.push(`brightness(${1+b})`)}if(T!==null){let b=parseFloat(T);if(Number.isFinite(b))I.push(`contrast(${1+b})`)}if(_!==null){let b=parseFloat(_);if(Number.isFinite(b))I.push(`saturate(${1+b})`)}if(I.length>0)G.style.filter=I.join(" ");G.appendChild(V)}else{if(!B)continue;G.style.background=DJ(B)}$.appendChild(G)}}function AQ(J){let $=J.trim();if(/^\d+$/.test($))return`repeat(${$}, 1fr)`;if($.startsWith("fill ")){let Q=$.slice(5).trim();return`repeat(auto-fill, minmax(${/^\d+$/.test(Q)?`${Q}px`:Q}, 1fr))`}return $.split(/\s+/).map((Q)=>/^\d+$/.test(Q)?`${Q}px`:Q).join(" ")}function TQ(J){let $=J.indexOf("/");if($===-1)return J;let Q=J.slice(0,$).trim(),K=J.slice($+1).trim(),Z=parseInt(K,10);if(isNaN(Z)||Z<0)return`${Q} / ${K}`;return`${Q} / ${Z+1}`}function p4(J,$){let Q=$.getAttribute("gc"),K=$.getAttribute("gr"),Z=$.getAttribute("col-span"),X=$.getAttribute("row-span"),Y=$.getAttribute("w"),W=$.getAttribute("h");if(Q!==null)if(Q.includes("/")){if(J.style.gridColumn=TQ(Q),Y===null)J.style.width="100%",J.setAttribute("data-w-mode","fill")}else if(Z!==null){let B=Z==="all"?"-1":Z;J.style.gridColumn=`${Q} / span ${B}`}else J.style.gridColumn=Q;else if(Z!==null)J.style.gridColumn=Z==="all"?"1 / -1":`span ${Z}`;if(K!==null)if(K.includes("/")){if(J.style.gridRow=TQ(K),W===null)J.style.height="100%",J.setAttribute("data-h-mode","fill")}else if(X!==null)J.style.gridRow=`${K} / span ${X}`;else J.style.gridRow=K;else if(X!==null)J.style.gridRow=`span ${X}`}function C0(J,$,Q,K){let Z=J.tagName,X;if(K)if(Z==="row")X="gui-row";else if(Z==="col")X="gui-col";else if(Z==="grid")X="gui-grid";else X="gui-stack";else X="gui-frame";let Y=document.createElement(X);aJ(Y,J,Q);let W=pQ(J),B=x6(J),G=VJ(J,"fill-style"),U=G?n8[G]||null:P(J,"fill");if(U&&!B)Y.style.background=DJ(U);let D=P(J,"radius"),F=D?S6(D):null;if(F)Y.style.borderRadius=F;mQ(Y,J);let L=VJ(J,"clip");if(L!==null&&L!=="false")Y.setAttribute("clip","true");let V=k6(P(J,"shadow"));if(V)d8(Y,V);let H=P(J,"clip-path");if(H)Y.style.clipPath=H;let I=P(J,"overflow-x");if(I)Y.style.overflowX=I;let z=P(J,"overflow-y");if(z)Y.style.overflowY=z;let T=P(J,"border-image");if(T)Y.style.borderImage=T;let _=P(J,"outline");if(_)if(_.includes("px"))Y.style.outline=_;else{let M=x0(_);if(M)Y.style.outline=`${M.width}px ${M.style} ${DJ(M.color)}`}let b=P(J,"outline-offset");if(b)Y.style.outlineOffset=`${b}px`;d$(J,Y,$,F);let n=VJ(J,"effect-style");if(n)y6(Y,n);let d,C=null,w=!1;if(K){let M=Z==="row"?"horizontal":Z==="col"?"vertical":Z==="grid"?"grid":P(J,"direction")||"vertical",E=P(J,"p")||P(J,"padding");if(E)Y.style.padding=H4(E);let N=P(J,"pt");if(N)Y.style.paddingTop=`${N}px`;let y=P(J,"pr");if(y)Y.style.paddingRight=`${y}px`;let u=P(J,"pb");if(u)Y.style.paddingBottom=`${u}px`;let x=P(J,"pl");if(x)Y.style.paddingLeft=`${x}px`;if(X==="gui-stack"&&M!=="grid")Y.setAttribute("direction",M);let k=VJ(J,"align");if(k)Y.setAttribute("align",k);let p=VJ(J,"gap");if(p!==null)Y.setAttribute("gap",p);let l=VJ(J,"wrap");if(l!==null&&l!=="false")Y.setAttribute("wrap","true");if(M==="grid"){d="grid";let e=Z==="grid",qJ=e?VJ(J,"gap"):null;if(e){let UJ=VJ(J,"unit"),GJ=VJ(J,"cols")||VJ(J,"columns"),BJ=VJ(J,"rows");if(UJ!==null){let i=parseFloat(UJ),PJ=parseFloat(P(J,"w")||"0"),RJ=parseFloat(P(J,"h")||"0");if(i>0){if(PJ>0)Y.style.gridTemplateColumns=`repeat(${Math.round(PJ/i)}, ${i}px)`;if(RJ>0)Y.style.gridTemplateRows=`repeat(${Math.round(RJ/i)}, ${i}px)`}}else if(GJ!==null||BJ!==null){if(GJ)Y.style.gridTemplateColumns=AQ(GJ);if(BJ)Y.style.gridTemplateRows=AQ(BJ);if(qJ!==null){let i=(qJ||"0").trim().split(/\s+/),PJ=i[0],RJ=i[1]||i[0];if(PJ&&PJ!=="auto")Y.style.columnGap=`${PJ}px`;if(RJ&&RJ!=="auto")Y.style.rowGap=`${RJ}px`}}else{let i=P(J,"columns")||P(J,"cols");if(i)Y.style.gridTemplateColumns=`repeat(${i}, 1fr)`;if(qJ){let PJ=qJ.trim().split(/\s+/),RJ=PJ[0],MJ=PJ[1]||PJ[0];if(RJ==="auto")Y.style.columnGap="0px";else if(RJ)Y.style.columnGap=`${RJ}px`;if(MJ==="auto")Y.style.rowGap="0px";else if(MJ)Y.style.rowGap=`${MJ}px`}}}else{let UJ=P(J,"grid-columns"),GJ=P(J,"grid-rows"),BJ=P(J,"grid-col-gap"),i=P(J,"grid-row-gap");if(UJ)Y.style.gridTemplateColumns=`repeat(${UJ}, 1fr)`;if(GJ)Y.style.gridTemplateRows=`repeat(${GJ}, 1fr)`;if(BJ)Y.style.columnGap=`${BJ}px`;if(i)Y.style.rowGap=`${i}px`}}else{d=M==="horizontal"?"horizontal":"vertical";let e=VJ(J,"reverse-z");w=e!==null&&e!=="false",C=A4(Y,d,p)}}dQ(Y,J,$);let S=rQ(Y,J),h=Array.from(J.children);function a(M){let E=VJ(M,"abs");if(E!==null&&E!=="false")return!0;return VJ(M,"layout-position")==="absolute"}let f=h.filter((M)=>M.tagName!=="appearance"&&!(K&&a(M))).length,m=K&&f>0&&f<h.filter((M)=>M.tagName!=="appearance").length&&C===null&&!w&&!W,o=0,A=0,v=null;for(let M of h){if(M.tagName==="appearance")continue;let E=!K||a(M),y=y0(M,$,{absolute:E,parentDirection:E?void 0:d});if(y){if(M===S)y.style.display="none";if(d==="grid"&&!E)p4(y,M);if(!E&&C!==null){if(!y.classList.contains("gui-absolute"))LJ(y,"gui-relative");if(y.style.zIndex=String(o),o>0){let u=v?parseFloat(d==="horizontal"?P(v,"w")||"":P(v,"h")||""):NaN,x=!isNaN(u)?Math.max(C,-u):C;if(d==="horizontal")y.style.marginLeft=`${x}px`;else if(d==="vertical")y.style.marginTop=`${x}px`}}if(!E&&w){if(!y.classList.contains("gui-absolute"))LJ(y,"gui-relative");y.style.zIndex=String(f-o-1)}if(W){if(!E&&!y.classList.contains("gui-absolute"))LJ(y,"gui-relative");if(!w||E)y.style.zIndex="1"}if(m){if(!E)LJ(y,"gui-relative");y.style.zIndex=String(A)}if(Y.appendChild(y),A++,!E)o++,v=M}}let c=p$(Y,J,F);return c$(Y,J,F),c||Y}function dQ(J,$,Q){let K=P($,"mask-src");if(K&&Q[K]){let Z=P($,"mask-x")||"0",X=P($,"mask-y")||"0",Y=P($,"mask-width")||String(P($,"w")||"100%"),W=P($,"mask-height")||String(P($,"h")||"100%"),G=`url("${Q[K]}")`;J.style.webkitMaskImage=G,J.style.maskImage=G,J.style.webkitMaskSize=`${Y}px ${W}px`,J.style.maskSize=`${Y}px ${W}px`,J.style.webkitMaskPosition=`${Z}px ${X}px`,J.style.maskPosition=`${Z}px ${X}px`,J.style.webkitMaskRepeat="no-repeat",J.style.maskRepeat="no-repeat";let U=P($,"mask-mode");if(U)J.style.maskMode=U,J.style.webkitMaskMode=U;let D=P($,"mask-composite");if(D)J.style.maskComposite=D}}function rQ(J,$){let Q=Array.from($.children);for(let K=0;K<Q.length;K++){let Z=Q[K];if(VJ(Z,"mask")!=="true"&&VJ(Z,"mask")!=="")continue;let X=parseFloat(P(Z,"x")||"0"),Y=parseFloat(P(Z,"y")||"0"),W=parseFloat(P(Z,"w")||"0"),B=parseFloat(P(Z,"h")||"0");if(!W||!B)continue;let G="";if(Z.tagName==="ellipse"){let L=W/2,V=B/2;G=`<ellipse cx="${L}" cy="${V}" rx="${L}" ry="${V}" fill="white"/>`}else{let L=P(Z,"radius"),V=L?parseFloat(L.split(" ")[0]):0;G=`<rect width="${W}" height="${B}" rx="${V}" ry="${V}" fill="white"/>`}let U=`<svg xmlns="http://www.w3.org/2000/svg" width="${W}" height="${B}" viewBox="0 0 ${W} ${B}">${G}</svg>`,F=`url("${"data:image/svg+xml;base64,"+btoa(U)}")`;return J.style.webkitMaskImage=F,J.style.maskImage=F,J.style.webkitMaskSize=`${W}px ${B}px`,J.style.maskSize=`${W}px ${B}px`,J.style.webkitMaskPosition=`${X}px ${Y}px`,J.style.maskPosition=`${X}px ${Y}px`,J.style.webkitMaskRepeat="no-repeat",J.style.maskRepeat="no-repeat",Z}return null}function c4(J,$,Q){let K=document.createElement("gui-group");aJ(K,J,Q),dQ(K,J,$);let Z=rQ(K,J),X={absolute:!0};for(let Y of Array.from(J.children)){let W=y0(Y,$,X);if(W){if(Y===Z)W.style.display="none";K.appendChild(W)}}return K}function R0(J,$){let Q=VJ($,"text-style"),K=Q?w0[Q]:null;function Z(n){let d=P($,n);if(d!==null)return d;if(K&&K[n]!==void 0)return N0(K[n]);return null}let X=Z("font-family"),Y=Z("font-size"),W=Z("font-weight"),B=Z("font-style"),G=Z("font-variation"),U=Z("font-feature"),D=Z("line-height"),F=Z("letter-spacing"),L=P($,"baseline-shift"),V=VJ($,"fill-style"),H=V?n8[V]||null:P($,"fill")||P($,"color"),I=Z("decoration"),z=Z("decoration-color"),T=Z("decoration-style"),_=Z("decoration-thickness"),b=Z("text-case");if(X)J.style.fontFamily=C4(X);if(Y)J.style.fontSize=`${Y}px`;if(W)J.style.fontWeight=W;if(B)J.style.fontStyle=B;if(G)J.style.fontVariationSettings=G;if(U)J.style.fontFeatureSettings=U;if(D)J.style.lineHeight=R4(D);if(F)J.style.letterSpacing=F.includes("%")?F:`${F}px`;if(L)J.style.verticalAlign=`${L}px`;if(H)J.style.color=DJ(H);if(I==="underline"||I==="strikethrough"){if(J.style.textDecoration=I==="underline"?"underline":"line-through",z)J.style.textDecorationColor=DJ(z);if(T)J.style.textDecorationStyle=T;if(_)J.style.textDecorationThickness=`${_}px`}if(b==="small-caps"||b==="small-caps-forced")J.style.fontVariant="small-caps";else if(b)J.style.textTransform=b}function b$(J,$){if(!$)return J;let Q=document.createElement("a");return Q.href=$,Q.style.color="inherit",Q.style.textDecoration="inherit",Q.appendChild(J),Q}var n4=0.01;function _Q(J,$){let Q=P(J,$);if(Q!==null)return Q;let K=VJ(J,"text-style"),Z=K?w0[K]:null;if(Z&&Z[$]!==void 0)return N0(Z[$]);return null}function d4(J,$){let Q=J.trim();if(/^-?\d+(\.\d+)?$/.test(Q)){let K=parseFloat(Q);return K>0&&K<=4?K*$:K}if(Q.endsWith("%"))return parseFloat(Q)/100*$;if(Q.endsWith("px"))return parseFloat(Q);return NaN}function r4(J,$,Q){let K=document.createElement("gui-text");aJ(K,J,Q);let Z=P(J,"align"),X=P(J,"vertical-align"),Y=VJ(J,"truncate"),W=Y!==null&&Y!=="false",B=P(J,"max-lines"),G=P(J,"overflow"),U=P(J,"leading-trim"),D=P(J,"list"),F=P(J,"list-level"),L=P(J,"list-marker"),V=P(J,"h")!==null,H=P(J,"w"),I=H===null?NaN:parseFloat(H);if(!Number.isNaN(I)&&H!=="hug"&&H!=="fill"&&!(G==="ellipsis"&&!W&&!B))K.style.setProperty("--gui-w",`${I*(1+n4)}px`);let _=!1;if(V&&!W&&!B){let x=parseFloat(P(J,"h")||""),k=_Q(J,"font-size"),p=_Q(J,"line-height");if(Number.isFinite(x)&&k&&p){let l=d4(p,parseFloat(k));if(Number.isFinite(l)&&l>0)_=Math.round(x/l)<=1}}if(Z)K.style.textAlign=Z;if(G==="ellipsis"&&!W&&!B)K.style.overflow="hidden",K.style.textOverflow="ellipsis",K.style.whiteSpace="nowrap";else if(G==="clip")K.style.overflow="hidden";if(D&&D!=="none"){let x=F?parseInt(F,10)*16:0;if(K.style.display="list-item",K.style.listStyleType=D==="decimal"?"decimal":"disc",K.style.listStylePosition="inside",x)K.style.paddingLeft=`${x}px`;if(L)K.setAttribute("data-list-marker",L),K.style.listStyleType="none"}if(U&&U!=="none")K.style.textBoxTrim="both",K.style.textBoxEdge="cap alphabetic";let b=P(J,"font-stretch");if(b)K.style.fontStretch=b;let n=P(J,"direction");if(n)K.style.direction=n;let d=P(J,"writing-mode");if(d)K.style.writingMode=d;let C=P(J,"white-space");if(C)K.style.whiteSpace=C;let w=P(J,"word-break");if(w)K.style.wordBreak=w;let S=P(J,"word-spacing");if(S)K.style.wordSpacing=`${S}px`;let h=P(J,"text-underline-offset");if(h)K.style.textUnderlineOffset=`${h}px`;let a=P(J,"text-decoration-skip-ink");if(a!==null)K.style.textDecorationSkipInk=a==="false"?"none":"auto";let f=P(J,"text-wrap");if(f)K.style.textWrap=f;let s=P(J,"font-optical-sizing");if(s)K.style.fontOpticalSizing=s;let m=P(J,"font-smoothing");if(m){if(m==="antialiased")K.style.webkitFontSmoothing="antialiased",K.style.mozOsxFontSmoothing="grayscale";else if(m==="subpixel-antialiased")K.style.webkitFontSmoothing="subpixel-antialiased";else if(m==="none")K.style.webkitFontSmoothing="none"}let o=P(J,"text-rendering");if(o)K.style.textRendering=o;let A=P(J,"paragraph-spacing");if(A)K.style.marginBottom=`${A}px`;let v=P(J,"paragraph-indent");if(v)K.style.textIndent=`${v}px`;let c=v4(J),M=!!c;if(d$(J,K,$,void 0,M),M)K.style.backgroundImage=DJ(c),K.style.webkitBackgroundClip="text",K.style.backgroundClip="text",K.style.webkitTextFillColor="transparent",K.style.color="transparent";let E=Array.from(J.children).filter((x)=>x.tagName==="segment");if(E.length>0){if(R0(K,J),X&&X!=="top")K.style.display="flex",K.style.alignItems=X==="center"?"center":"flex-end";let x=document.createElement("span");if(!(G==="ellipsis"&&!W&&!B))LJ(x,"gui-pre-wrap");for(let k of E){let p=document.createElement("span");p.textContent=P(k,"value")||"",R0(p,k),x.appendChild(b$(p,P(k,"href")))}return K.appendChild(x),K}R0(K,J);let N=P(J,"value")||"",y=P(J,"href"),u=B||(W?"1":null);if(_&&!u)K.style.whiteSpace="nowrap";else if(V||u)LJ(K,"gui-overflow-hidden");if(X&&X!=="top")if(K.style.display="flex",K.style.alignItems=X==="center"?"center":"flex-end",u){let x=document.createElement("span");x.textContent=N,x.style.display="-webkit-box",x.style.webkitLineClamp=u,x.style.WebkitBoxOrient="vertical",LJ(x,"gui-overflow-hidden"),x.style.width="100%",K.appendChild(b$(x,y))}else{let x=document.createElement("span");x.textContent=N,K.appendChild(b$(x,y))}else if(u){if(K.textContent=N,K.style.display="-webkit-box",K.style.webkitLineClamp=u,K.style.WebkitBoxOrient="vertical",LJ(K,"gui-overflow-hidden"),y){LJ(K,"gui-block"),K.textContent="";let x=document.createElement("span");x.textContent=N,x.style.display="-webkit-box",x.style.webkitLineClamp=u,x.style.WebkitBoxOrient="vertical",LJ(x,"gui-overflow-hidden"),K.appendChild(b$(x,y))}}else if(y){let x=document.createElement("span");x.textContent=N,K.appendChild(b$(x,y))}else K.textContent=N;return K}function o4(J,$,Q){let K=document.createElement("gui-img");aJ(K,J,Q);let Z=P(J,"fit");if(Z)K.setAttribute("fit",Z);let X=document.createElement("img");LJ(X,"gui-block");let Y=P(J,"src"),W=E0(Y,$);if(W)X.src=W;let B=P(J,"radius"),G=B?S6(B):null;if(G)K.style.borderRadius=G,X.style.borderRadius=G;let U=P(J,"object-position");if(U)X.style.objectPosition=U;let D=P(J,"image-rendering");if(D)X.style.imageRendering=D;K.appendChild(X);let F=p$(K,J,G);return c$(K,J,G),F||K}function i4(J,$,Q){let K=P(J,"src"),Z=document.createElement("gui-svg");aJ(Z,J,Q);let X=document.createElement("img");LJ(X,"gui-block"),LJ(X,"gui-fit-fill"),X.style.width="100%",X.style.height="100%";let Y=E0(K,$);if(Y)X.src=Y;return Z.appendChild(X),Z}function s4(J,$,Q,K,Z){let X=parseFloat(P(J,"w")||"24"),Y=parseFloat(P(J,"h")||"24"),W=parseFloat(P(J,"arc-start")||"0"),B=parseFloat(P(J,"arc-end")||"360"),G=parseFloat(P(J,"arc-inner")||"0"),U=parseFloat(Z||"0"),D="http://www.w3.org/2000/svg",F=document.createElementNS("http://www.w3.org/2000/svg","svg");F.setAttribute("viewBox",`0 0 ${X} ${Y}`),aJ(F,J,$),LJ(F,"gui-block"),LJ(F,"gui-overflow-visible");let L=X/2,V=Y/2,H=X/2,I=Y/2,z=W*Math.PI/180,T=B*Math.PI/180,b=((B-W+360)%360||360)>180?1:0,n=(S,h)=>L+h*Math.cos(S),d=(S,h)=>V+h*Math.sin(S),C;if(G>0){let S=H*G,h=I*G;C=[`M ${n(z,H)} ${d(z,I)}`,`A ${H} ${I} 0 ${b} 1 ${n(T,H)} ${d(T,I)}`,`L ${n(T,S)} ${d(T,h)}`,`A ${S} ${h} 0 ${b} 0 ${n(z,S)} ${d(z,h)}`,"Z"].join(" ")}else C=[`M ${L} ${V}`,`L ${n(z,H)} ${d(z,I)}`,`A ${H} ${I} 0 ${b} 1 ${n(T,H)} ${d(T,I)}`,"Z"].join(" ");let w=document.createElementNS("http://www.w3.org/2000/svg","path");if(w.setAttribute("d",C),w.setAttribute("fill",Q?Y$(Q):"none"),K&&U>0)w.setAttribute("stroke",Y$(K)),w.setAttribute("stroke-width",String(U));return F.appendChild(w),F}function a4(J,$,Q){let K=document.createElement("gui-shape");K.setAttribute("type","rect"),aJ(K,J,Q);let Z=x6(J),X=VJ(J,"fill-style"),Y=X?n8[X]||null:P(J,"fill");if(Y&&!Z)K.style.background=DJ(Y);let W=P(J,"radius");if(W)K.style.borderRadius=S6(W);let B=k6(P(J,"shadow"));if(B)d8(K,B);d$(J,K,$,K.style.borderRadius||null);let G=VJ(J,"effect-style");if(G)y6(K,G);let U=p$(K,J,K.style.borderRadius||null);return c$(K,J,K.style.borderRadius||null),U||K}function l4(J,$,Q){let K=document.createElement("gui-shape");K.setAttribute("type","ellipse"),aJ(K,J,Q);let Z=x6(J),X=VJ(J,"fill-style"),Y=X?n8[X]||null:P(J,"fill");if(Y&&!Z)K.style.background=DJ(Y);K.style.borderRadius="50%";let W=k6(P(J,"shadow"));if(W)d8(K,W);d$(J,K,$,"50%");let B=VJ(J,"effect-style");if(B)y6(K,B);let G=p$(K,J,"50%");return c$(K,J,"50%"),G||K}function t4(J,$){let Q=document.createElement("gui-shape");Q.setAttribute("type","line"),aJ(Q,J,$);let K=P(J,"direction")||"horizontal",Z=P(J,"thickness")||"1",X=VJ(J,"fill-style"),Y=X?n8[X]||null:P(J,"fill");if(K==="vertical")Q.style.width=`${Z}px`,Q.style.alignSelf="stretch";else Q.style.height=`${Z}px`,Q.style.alignSelf="stretch";if(Y)Q.style.background=DJ(Y);return Q}function e4(J,$,Q){let K=P(J,"type");if(K==="path")return J7(J,Q);if(K==="ellipse"){let F=P(J,"arc-start"),L=P(J,"arc-end"),V=P(J,"arc-inner");if(F!==null||L!==null||V!==null)return s4(J,Q,P(J,"fill"),P(J,"stroke"),P(J,"stroke-width"))}let Z=document.createElement("gui-shape");if(K)Z.setAttribute("type",K);if(aJ(Z,J,Q),K==="line"){let F=P(J,"stroke-width")||"1",L=P(J,"stroke-cap"),V=P(J,"dash-array"),H=P(J,"dash-offset");if(L||V){let _=parseFloat(P(J,"w")||"0"),b=parseFloat(F),n=L==="arrow-lines"||L==="arrow-equilateral"||L==="triangle"||L==="triangle-filled",d=b*3,C=n?d:b,w=document.createElementNS("http://www.w3.org/2000/svg","svg");w.setAttribute("viewBox",-C+" "+-C/2+" "+(_+C*2)+" "+(b+C)),aJ(w,J,Q),LJ(w,"gui-block"),w.style.width=_+"px",w.style.height=b+"px",w.style.overflow="visible";let S=Y$(P(J,"stroke"));if(n){let h=document.createElementNS("http://www.w3.org/2000/svg","defs"),a="gui-arrow-"+ ++S0,f=document.createElementNS("http://www.w3.org/2000/svg","marker");f.setAttribute("id",a),f.setAttribute("markerWidth","6"),f.setAttribute("markerHeight","6"),f.setAttribute("refX","6"),f.setAttribute("refY","3"),f.setAttribute("orient","auto");let s=L==="triangle-filled";if(L==="arrow-lines"){let o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d","M 0 0 L 6 3 L 0 6"),o.setAttribute("fill","none"),o.setAttribute("stroke",S),o.setAttribute("stroke-width","1"),f.appendChild(o)}else{let o=document.createElementNS("http://www.w3.org/2000/svg","polygon");o.setAttribute("points","0 0, 6 3, 0 6"),o.setAttribute("fill",s?S:"none"),o.setAttribute("stroke",S),o.setAttribute("stroke-width","0.5"),f.appendChild(o)}h.appendChild(f),w.appendChild(h);let m=document.createElementNS("http://www.w3.org/2000/svg","line");m.setAttribute("x1","0"),m.setAttribute("y1","0"),m.setAttribute("x2",String(_-b)),m.setAttribute("y2","0"),m.setAttribute("stroke",S),m.setAttribute("stroke-width",F),m.setAttribute("stroke-linecap","butt"),m.setAttribute("marker-end","url(#"+a+")"),w.appendChild(m)}else{let h=document.createElementNS("http://www.w3.org/2000/svg","line");if(h.setAttribute("x1","0"),h.setAttribute("y1","0"),h.setAttribute("x2",String(_)),h.setAttribute("y2","0"),h.setAttribute("stroke",S),h.setAttribute("stroke-width",F),L==="round")h.setAttribute("stroke-linecap","round");else if(L==="square")h.setAttribute("stroke-linecap","square");else h.setAttribute("stroke-linecap","butt");if(V)h.setAttribute("stroke-dasharray",V);if(H)h.setAttribute("stroke-dashoffset",H);w.appendChild(h)}return w}let I=x4(J),z=P(J,"w")||"0";if(I!==null)if(Z.style.transform="",Z.style.transformOrigin="",I===90||I===270)Z.style.width=`${F}px`,Z.style.height=`${z}px`;else Z.style.width=`${z}px`,Z.style.height=`${F}px`;else Z.style.width=v$(P(J,"w")),Z.style.height=`${F}px`;if(Z.style.background=DJ(P(J,"stroke")),L==="round")Z.style.borderRadius="9999px";return Z}let X=pQ(J),Y=x6(J),W=VJ(J,"fill-style"),B=W?n8[W]||null:P(J,"fill");if(B&&!Y)Z.style.background=DJ(B);let G=k6(P(J,"shadow"));if(G)d8(Z,G);if(K==="ellipse")Z.style.borderRadius="50%";else if(K==="rect"){let F=P(J,"radius");if(F)Z.style.borderRadius=S6(F);mQ(Z,J)}d$(J,Z,$,Z.style.borderRadius||null);let U=VJ(J,"effect-style");if(U)y6(Z,U);let D=p$(Z,J,Z.style.borderRadius||null);return c$(Z,J,Z.style.borderRadius||null),D||Z}function J7(J,$){let Q=P(J,"w")||"24",K=P(J,"h")||"24",Z=P(J,"fill"),X=P(J,"stroke"),Y=P(J,"stroke-width"),W=P(J,"stroke-position")||"center",B=P(J,"fill-rule"),G=P(J,"dash-array"),U=P(J,"dash-offset"),D="http://www.w3.org/2000/svg",F=document.createElementNS("http://www.w3.org/2000/svg","svg");F.setAttribute("viewBox",`0 0 ${Q} ${K}`),aJ(F,J,$),LJ(F,"gui-block");let L=Array.from(J.querySelectorAll("path"));for(let V of L){let H=V.getAttribute("d");if(!H)continue;let I=Z?Y$(Z):"none",z=X?Y$(X):null;if(!z||!Y||W==="center"){let _=p8("http://www.w3.org/2000/svg",H,I,z,Y);if(B)_.setAttribute("fill-rule",B);if(G)_.setAttribute("stroke-dasharray",G);if(U)_.setAttribute("stroke-dashoffset",U);F.appendChild(_);continue}let T=parseFloat(Y);if(!Number.isFinite(T)||T<=0){let _=p8("http://www.w3.org/2000/svg",H,I,null,null);if(B)_.setAttribute("fill-rule",B);F.appendChild(_);continue}if(W==="inside"){let _=`gui-clip-${++S0}`,b=document.createElementNS("http://www.w3.org/2000/svg","defs"),n=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),d=p8("http://www.w3.org/2000/svg",H,"black",null,null);n.setAttribute("id",_),n.appendChild(d),b.appendChild(n),F.appendChild(b);let C=p8("http://www.w3.org/2000/svg",H,I,null,null);if(B)C.setAttribute("fill-rule",B);let w=p8("http://www.w3.org/2000/svg",H,"none",z,String(T*2));if(w.setAttribute("clip-path",`url(#${_})`),G)w.setAttribute("stroke-dasharray",G);if(U)w.setAttribute("stroke-dashoffset",U);F.appendChild(C),F.appendChild(w)}else{let _=p8("http://www.w3.org/2000/svg",H,"none",z,String(T*2));if(G)_.setAttribute("stroke-dasharray",G);if(U)_.setAttribute("stroke-dashoffset",U);let b=p8("http://www.w3.org/2000/svg",H,I,null,null);if(B)b.setAttribute("fill-rule",B);F.appendChild(_),F.appendChild(b)}}return F}function p8(J,$,Q,K,Z){let X=document.createElementNS(J,"path");if(X.setAttribute("d",$),X.setAttribute("fill",Q),K&&Z)X.setAttribute("stroke",K),X.setAttribute("stroke-width",Z);return X}function $7(J){let $=new Map;for(let Q of Array.from(J.children)){if(Q.tagName!=="components")continue;for(let K of Array.from(Q.children))if(K.tagName==="component"){let Z=K.getAttribute("id");if(Z)$.set(Z,K)}else if(K.tagName==="component-set"){for(let Z of Array.from(K.children))if(Z.tagName==="variant"){let X=Z.getAttribute("id");if(X)$.set(X,Z)}}}return $}function A6(J,$){if(J.getAttribute("id")===$)return J;for(let Q of Array.from(J.children)){let K=A6(Q,$);if(K)return K}return null}function A0(J){for(let $ of Array.from(J.children)){if($.tagName==="text")return $;let Q=A0($);if(Q)return Q}return null}var Q7=new Set(["component","name","x","y","w","h","constraint-h","constraint-v","abs","rotation","opacity","blend","min-width","max-width","min-height","max-height"]);function K7(J,$,Q){let K={},Z=Array.from(Q.children).find((Y)=>Y.tagName==="props");if(Z)for(let Y of Array.from(Z.children)){if(Y.tagName!=="prop")continue;let W=Y.getAttribute("name"),B=Y.getAttribute("type"),G=Y.getAttribute("target"),U=Y.getAttribute("bind");if(!W||!B||!G)continue;let D=G.trim().split(/\s+/).filter(Boolean);K[W]={type:B,targets:D,bind:U};let F=$.getAttribute(W);if(F===null)continue;for(let L of D){let V=A6(J,L);if(!V)continue;let I=(B==="string"||B==="text")&&V.tagName!=="text"?A0(V)||V:V;wQ(I,B,F,U)}}let X=[{suffix:"-stroke-style",type:"style",bind:"stroke-style"},{suffix:"-text",type:"style",bind:"text-style"},{suffix:"-fill",type:"style",bind:"fill-style"},{suffix:"-effect",type:"style",bind:"effect-style"},{suffix:"-stroke",type:"color",bind:"stroke"},{suffix:"-radius",type:"number",bind:"radius"},{suffix:"-opacity",type:"number",bind:"opacity"}];for(let Y of Array.from($.attributes)){if(Q7.has(Y.name))continue;if(K[Y.name]!==void 0)continue;let W=A6(J,Y.name),B="",G=null;if(W)B=W.tagName==="text"?"string":Y.value==="false"||Y.value==="true"?"boolean":W.tagName==="instance"?"component":W.getAttribute("src")!==null?"image":"string";else{for(let D of X){if(!Y.name.endsWith(D.suffix))continue;let F=Y.name.slice(0,Y.name.length-D.suffix.length),L=A6(J,F);if(!L)continue;W=L,B=D.type,G=D.bind;break}if(!W)continue}let U=B==="string"&&W.tagName!=="text"?A0(W)||W:W;wQ(U,B,Y.value,G)}}function wQ(J,$,Q,K){if($==="string"||$==="text")J.setAttribute(K||"value",Q);else if(($==="boolean"||$==="visible")&&Q==="false")J.parentNode&&J.parentNode.removeChild(J);else if($==="color"||$==="fill")J.setAttribute(K||"fill",Q);else if($==="image"||$==="src")J.setAttribute("src",Q);else if($==="component")J.setAttribute("component",Q);else if($==="number"&&K)J.setAttribute(K,Q);else if($==="style"&&K){if(J.setAttribute(K,Q),K==="text-style"){let Z=["font-size","font-weight","font-style","line-height","letter-spacing","font-family","font-postscript","font-style-name","font-stretch","font-variation","font-feature","text-case","decoration"];for(let X=0;X<Z.length;X++)J.removeAttribute(Z[X])}}}function oQ(J,$,Q){for(let K=0;K<J.children.length;K++){let Z=J.children[K],X=Z.getAttribute("constraint-h"),Y=Z.getAttribute("constraint-v"),W=X==="scale"||X==="left-right",B=Y==="scale"||Y==="top-bottom";if(W||B){if(W){let G=parseFloat(Z.getAttribute("x")||"0"),U=parseFloat(Z.getAttribute("w")||"0");if(U>0)Z.setAttribute("w",String(Math.round(U*$)));if(G!==0)Z.setAttribute("x",String(Math.round(G*$)))}if(B){let G=parseFloat(Z.getAttribute("y")||"0"),U=parseFloat(Z.getAttribute("h")||"0");if(U>0)Z.setAttribute("h",String(Math.round(U*Q)));if(G!==0)Z.setAttribute("y",String(Math.round(G*Q)))}}if(Z.children.length>0)oQ(Z,$,Q)}}function Z7(J,$,Q){let K=P(J,"component");if(!K)return null;let Z=hQ.get(K);if(!Z)return null;let X=Array.from(Z.children).find((V)=>V.tagName!=="props");if(!X)return null;let Y=X.cloneNode(!0);K7(Y,J,Z);let W=parseFloat(X.getAttribute("w")||"0"),B=parseFloat(X.getAttribute("h")||"0"),G=parseFloat(J.getAttribute("w")||"0"),U=parseFloat(J.getAttribute("h")||"0"),D=W>0&&G>0?G/W:1,F=B>0&&U>0?U/B:1;for(let V of["x","y","w","h","constraint-h","constraint-v","abs","rotation","opacity","blend","visible","min-width","max-width","min-height","max-height","radius","fill","fill-style","shadow","clip","overflow-x","overflow-y"]){let H=J.getAttribute(V);if(H!==null)Y.setAttribute(V,H)}let L=J.getAttribute("radius");if(L!==null){if(Y.getAttribute("clip")===null)Y.setAttribute("clip","true");for(let V=0;V<Y.children.length;V++){let H=Y.children[V];if(H.getAttribute("constraint-h")==="scale"&&H.getAttribute("constraint-v")==="scale")H.setAttribute("radius",L)}}if(D!==1||F!==1)oQ(Y,D,F);return y0(Y,$,Q)}function y0(J,$,Q){let K=h$;h$=fQ(J,K);try{switch(J.tagName){case"frame":return C0(J,$,Q,!1);case"stack":case"row":case"col":case"grid":return C0(J,$,Q,!0);case"group":return c4(J,$,Q);case"text":return r4(J,$,Q);case"img":return o4(J,$,Q);case"rect":return a4(J,$,Q);case"ellipse":return l4(J,$,Q);case"line":return t4(J,Q);case"svg":return i4(J,$,Q);case"shape":return e4(J,$,Q);case"instance":return Z7(J,$,Q);default:return null}}finally{h$=K}}function X7(J){let $=J.getAttribute("family");if(!$)return null;let Q=(J.getAttribute("weights")||"400").split(/[\s,]+/).filter(Boolean).sort((B,G)=>parseInt(B)-parseInt(G)),K=(J.getAttribute("styles")||"normal").split(/[\s,]+/).filter(Boolean),Z=(J.getAttribute("variants")||"").split(/[\s,]+/).filter(Boolean),X=Z.reduce((B,G)=>{return B[G]=!0,B},{}),Y=encodeURIComponent($).replace(/%20/g,"+");if(!Q.length)return Y;if(K.indexOf("italic")!==-1){let B=[];for(let G of Q)if(!Z.length||X[G==="400"?"regular":G])B.push(`0,${G}`);for(let G of Q)if(!Z.length||X[G==="400"?"italic":`${G}italic`])B.push(`1,${G}`);if(!B.length)return Y;return`${Y}:ital,wght@${B.join(";")}`}let W=Z.length?Q.filter((B)=>X[B==="400"?"regular":B]):Q;if(!W.length)return Y;return`${Y}:wght@${W.join(";")}`}function Y7(J){let $=[];for(let[K,Z]of Object.entries(J)){if(Z.source!=="google")continue;let X=document.createElement("span");if(X.setAttribute("family",K),Z.weights)X.setAttribute("weights",Z.weights);if(Z.styles)X.setAttribute("styles",Z.styles);if(Z.variants)X.setAttribute("variants",Z.variants);let Y=X7(X);if(Y&&$.indexOf(Y)===-1)$.push(Y)}if(!$.length||typeof document>"u")return;if(!document.querySelector('link[data-gui-fonts-preconnect="google-fonts"]')){let K=document.createElement("link");K.rel="preconnect",K.href="https://fonts.gstatic.com",K.crossOrigin="anonymous",K.setAttribute("data-gui-fonts-preconnect","google-fonts"),document.head.appendChild(K)}let Q=Array.from(document.querySelectorAll("link[data-gui-fonts]"));for(let K of $){let Z=`https://fonts.googleapis.com/css2?family=${K}&display=swap`;if(Q.some((Y)=>Y.href===Z||Y.getAttribute("href")===Z))continue;let X=document.createElement("link");X.rel="stylesheet",X.href=Z,X.setAttribute("data-gui-fonts",Z),document.head.appendChild(X)}}function g6(J,$,Q,K){_4(),$.innerHTML="";let Z=V4(J,Q);if(!Z)return $.innerHTML='<div style="color:#888;padding:24px;font-size:12px">Invalid .gui</div>',null;z0=Z.tokens,_0=Z.modes,bQ=Z.tokenDefs,vQ=Z.fonts,w0=Z.textStyles,n8=Z.fillStyles,uQ=Z.effectStyles,Y7(Z.fonts);let X=Z.assets,Y;try{let s=P4(J).replace(/&(?!amp;|lt;|gt;|quot;|apos;|#)/g,"&amp;");if(Y=new DOMParser().parseFromString(s,"text/xml"),Y.querySelector("parsererror"))throw Error()}catch{return $.innerHTML='<div style="color:#888;padding:24px;font-size:12px">Invalid .gui</div>',null}let W=Y.documentElement;hQ=$7(W);let B=new Set(["stack","row","col","grid"]),G=null;for(let s of Array.from(W.children))if(s.tagName==="frame"||B.has(s.tagName)){G=s;break}if(!G)return null;h$=fQ(G,K&&K.mode?{...K.mode}:{});let U=G.getAttribute("w"),D=G.getAttribute("h"),F=U&&U!=="fill"?parseInt(U)||390:390,L=D&&D!=="fill"?parseInt(D):null,V=C0(G,X,{absolute:!1},B.has(G.tagName));if(V.style.width=`${F}px`,L!==null)V.style.height=`${L}px`;if(LJ(V,"gui-relative"),V.style.flexShrink="0",V.style.outline="1px solid #0d99ff",!K?.zoom)return $.appendChild(V),null;let H=document.createElement("div"),I=L!==null?`height:${L}px;`:"";H.style.cssText=`position:absolute;left:0;top:0;width:${F}px;${I}transform-origin:0 0;will-change:transform;`,H.appendChild(V);let z=document.createElement("div");z.style.cssText="position:relative;width:100%;height:100%;overflow:hidden;cursor:default;touch-action:none;user-select:none;",z.appendChild(H),$.appendChild(z);let T=K?.view;function _(){return L!==null?L:V.offsetHeight||V.scrollHeight||844}function b(){let s=_();return Math.min((z.clientWidth-48)/F,(z.clientHeight-48)/s,1)}function n(s){let m=_();return{x:(z.clientWidth-F)/(2*s),y:(z.clientHeight-m)/(2*s)}}function d(s){let m=_();return{x:(z.clientWidth-F*s)/2,y:(z.clientHeight-m*s)/2}}let C=b(),w=1,S=null;if(T?.transform)H.style.transform=T.transform;else if(C>0){let{x:s,y:m}=d(C);H.style.transform=`matrix(${C}, 0, 0, ${C}, ${s}, ${m})`}function h(s){let m=C*s;if(!S){let{x:A,y:v}=d(m);H.style.transform=`matrix(${m}, 0, 0, ${m}, ${A}, ${v})`;return}let o=n(m);S.zoom(m,{animate:!1,force:!0}),S.pan(o.x,o.y,{animate:!1,force:!0})}function a(s,m,o){let A=Math.max(0.1,Math.min(s,16)),v=C*A;if(!v)return;if(m===void 0||o===void 0){w=A,h(A);return}if(w=A,!S){h(A);return}let c=z.getBoundingClientRect();S.zoomToPoint(v,{clientX:c.left+m,clientY:c.top+o},{animate:!1,force:!0})}requestAnimationFrame(()=>{if(!H.isConnected)return;C=b();let s=n(C);S=xQ(H,{canvas:!0,cursor:"default",disablePan:!0,maxScale:C*16,minScale:C*0.1,overflow:"hidden",startScale:T?T.scale:C,startX:T?T.x:s.x,startY:T?T.y:s.y,step:0.18,touchAction:"none"})}),z.addEventListener("wheel",(s)=>{if(!S)return;if(s.preventDefault(),s.ctrlKey||s.metaKey){let m=S.getScale(),o=Math.min(Math.max(m*Math.exp(-s.deltaY*0.0125),C*0.1),C*16);S.zoomToPoint(o,s,{animate:!1,force:!0}),w=o/C}else{let m=S.getScale(),o=S.getPan();S.pan(o.x-s.deltaX/m,o.y-s.deltaY/m,{animate:!1,force:!0})}},{passive:!1});let f=a;return f.getView=()=>S?{scale:S.getScale(),x:S.getPan().x,y:S.getPan().y,transform:H.style.transform}:null,f}var AJ=Uint8Array,sJ=Uint16Array,d0=Int32Array,v6=new AJ([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),u6=new AJ([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),h0=new AJ([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),eQ=function(J,$){var Q=new sJ(31);for(var K=0;K<31;++K)Q[K]=$+=1<<J[K-1];var Z=new d0(Q[30]);for(var K=1;K<30;++K)for(var X=Q[K];X<Q[K+1];++X)Z[X]=X-Q[K]<<5|K;return{b:Q,r:Z}},J1=eQ(v6,2),$1=J1.b,f0=J1.r;$1[28]=258,f0[258]=28;var Q1=eQ(u6,0),j7=Q1.b,iQ=Q1.r,m0=new sJ(32768);for(jJ=0;jJ<32768;++jJ)W8=(jJ&43690)>>1|(jJ&21845)<<1,W8=(W8&52428)>>2|(W8&13107)<<2,W8=(W8&61680)>>4|(W8&3855)<<4,m0[jJ]=((W8&65280)>>8|(W8&255)<<8)>>1;var W8,jJ,q8=function(J,$,Q){var K=J.length,Z=0,X=new sJ($);for(;Z<K;++Z)if(J[Z])++X[J[Z]-1];var Y=new sJ($);for(Z=1;Z<$;++Z)Y[Z]=Y[Z-1]+X[Z-1]<<1;var W;if(Q){W=new sJ(1<<$);var B=15-$;for(Z=0;Z<K;++Z)if(J[Z]){var G=Z<<4|J[Z],U=$-J[Z],D=Y[J[Z]-1]++<<U;for(var F=D|(1<<U)-1;D<=F;++D)W[m0[D]>>B]=G}}else{W=new sJ(K);for(Z=0;Z<K;++Z)if(J[Z])W[Z]=m0[Y[J[Z]-1]++]>>15-J[Z]}return W},_8=new AJ(288);for(jJ=0;jJ<144;++jJ)_8[jJ]=8;var jJ;for(jJ=144;jJ<256;++jJ)_8[jJ]=9;var jJ;for(jJ=256;jJ<280;++jJ)_8[jJ]=7;var jJ;for(jJ=280;jJ<288;++jJ)_8[jJ]=8;var jJ,i$=new AJ(32);for(jJ=0;jJ<32;++jJ)i$[jJ]=5;var jJ,G7=q8(_8,9,0),B7=q8(_8,9,1),W7=q8(i$,5,0),F7=q8(i$,5,1),g0=function(J){var $=J[0];for(var Q=1;Q<J.length;++Q)if(J[Q]>$)$=J[Q];return $},G8=function(J,$,Q){var K=$/8|0;return(J[K]|J[K+1]<<8)>>($&7)&Q},b0=function(J,$){var Q=$/8|0;return(J[Q]|J[Q+1]<<8|J[Q+2]<<16)>>($&7)},r0=function(J){return(J+7)/8|0},s$=function(J,$,Q){if($==null||$<0)$=0;if(Q==null||Q>J.length)Q=J.length;return new AJ(J.subarray($,Q))};var q7=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],pJ=function(J,$,Q){var K=Error($||q7[J]);if(K.code=J,Error.captureStackTrace)Error.captureStackTrace(K,pJ);if(!Q)throw K;return K},U7=function(J,$,Q,K){var Z=J.length,X=K?K.length:0;if(!Z||$.f&&!$.l)return Q||new AJ(0);var Y=!Q,W=Y||$.i!=2,B=$.i;if(Y)Q=new AJ(Z*3);var G=function(GJ){var BJ=Q.length;if(GJ>BJ){var i=new AJ(Math.max(BJ*2,GJ));i.set(Q),Q=i}},U=$.f||0,D=$.p||0,F=$.b||0,L=$.l,V=$.d,H=$.m,I=$.n,z=Z*8;do{if(!L){U=G8(J,D,1);var T=G8(J,D+1,3);if(D+=3,!T){var _=r0(D)+4,b=J[_-4]|J[_-3]<<8,n=_+b;if(n>Z){if(B)pJ(0);break}if(W)G(F+b);Q.set(J.subarray(_,n),F),$.b=F+=b,$.p=D=n*8,$.f=U;continue}else if(T==1)L=B7,V=F7,H=9,I=5;else if(T==2){var d=G8(J,D,31)+257,C=G8(J,D+10,15)+4,w=d+G8(J,D+5,31)+1;D+=14;var S=new AJ(w),h=new AJ(19);for(var a=0;a<C;++a)h[h0[a]]=G8(J,D+a*3,7);D+=C*3;var f=g0(h),s=(1<<f)-1,m=q8(h,f,1);for(var a=0;a<w;){var o=m[G8(J,D,s)];D+=o&15;var _=o>>4;if(_<16)S[a++]=_;else{var A=0,v=0;if(_==16)v=3+G8(J,D,3),D+=2,A=S[a-1];else if(_==17)v=3+G8(J,D,7),D+=3;else if(_==18)v=11+G8(J,D,127),D+=7;while(v--)S[a++]=A}}var c=S.subarray(0,d),M=S.subarray(d);H=g0(c),I=g0(M),L=q8(c,H,1),V=q8(M,I,1)}else pJ(1);if(D>z){if(B)pJ(0);break}}if(W)G(F+131072);var E=(1<<H)-1,N=(1<<I)-1,y=D;for(;;y=D){var A=L[b0(J,D)&E],u=A>>4;if(D+=A&15,D>z){if(B)pJ(0);break}if(!A)pJ(2);if(u<256)Q[F++]=u;else if(u==256){y=D,L=null;break}else{var x=u-254;if(u>264){var a=u-257,k=v6[a];x=G8(J,D,(1<<k)-1)+$1[a],D+=k}var p=V[b0(J,D)&N],l=p>>4;if(!p)pJ(3);D+=p&15;var M=j7[l];if(l>3){var k=u6[l];M+=b0(J,D)&(1<<k)-1,D+=k}if(D>z){if(B)pJ(0);break}if(W)G(F+131072);var e=F+x;if(F<M){var qJ=X-M,UJ=Math.min(M,e);if(qJ+F<0)pJ(3);for(;F<UJ;++F)Q[F]=K[qJ+F]}for(;F<e;++F)Q[F]=Q[F-M]}}if($.l=L,$.p=y,$.b=F,$.f=U,L)U=1,$.m=H,$.d=V,$.n=I}while(!U);return F!=Q.length&&Y?s$(Q,0,F):Q.subarray(0,F)},P8=function(J,$,Q){Q<<=$&7;var K=$/8|0;J[K]|=Q,J[K+1]|=Q>>8},r$=function(J,$,Q){Q<<=$&7;var K=$/8|0;J[K]|=Q,J[K+1]|=Q>>8,J[K+2]|=Q>>16},v0=function(J,$){var Q=[];for(var K=0;K<J.length;++K)if(J[K])Q.push({s:K,f:J[K]});var Z=Q.length,X=Q.slice();if(!Z)return{t:Z1,l:0};if(Z==1){var Y=new AJ(Q[0].s+1);return Y[Q[0].s]=1,{t:Y,l:1}}Q.sort(function(n,d){return n.f-d.f}),Q.push({s:-1,f:25001});var W=Q[0],B=Q[1],G=0,U=1,D=2;Q[0]={s:-1,f:W.f+B.f,l:W,r:B};while(U!=Z-1)W=Q[Q[G].f<Q[D].f?G++:D++],B=Q[G!=U&&Q[G].f<Q[D].f?G++:D++],Q[U++]={s:-1,f:W.f+B.f,l:W,r:B};var F=X[0].s;for(var K=1;K<Z;++K)if(X[K].s>F)F=X[K].s;var L=new sJ(F+1),V=p0(Q[U-1],L,0);if(V>$){var K=0,H=0,I=V-$,z=1<<I;X.sort(function(d,C){return L[C.s]-L[d.s]||d.f-C.f});for(;K<Z;++K){var T=X[K].s;if(L[T]>$)H+=z-(1<<V-L[T]),L[T]=$;else break}H>>=I;while(H>0){var _=X[K].s;if(L[_]<$)H-=1<<$-L[_]++-1;else++K}for(;K>=0&&H;--K){var b=X[K].s;if(L[b]==$)--L[b],++H}V=$}return{t:new AJ(L),l:V}},p0=function(J,$,Q){return J.s==-1?Math.max(p0(J.l,$,Q+1),p0(J.r,$,Q+1)):$[J.s]=Q},sQ=function(J){var $=J.length;while($&&!J[--$]);var Q=new sJ(++$),K=0,Z=J[0],X=1,Y=function(B){Q[K++]=B};for(var W=1;W<=$;++W)if(J[W]==Z&&W!=$)++X;else{if(!Z&&X>2){for(;X>138;X-=138)Y(32754);if(X>2)Y(X>10?X-11<<5|28690:X-3<<5|12305),X=0}else if(X>3){Y(Z),--X;for(;X>6;X-=6)Y(8304);if(X>2)Y(X-3<<5|8208),X=0}while(X--)Y(Z);X=1,Z=J[W]}return{c:Q.subarray(0,K),n:$}},o$=function(J,$){var Q=0;for(var K=0;K<$.length;++K)Q+=J[K]*$[K];return Q},K1=function(J,$,Q){var K=Q.length,Z=r0($+2);J[Z]=K&255,J[Z+1]=K>>8,J[Z+2]=J[Z]^255,J[Z+3]=J[Z+1]^255;for(var X=0;X<K;++X)J[Z+X+4]=Q[X];return(Z+4+K)*8},aQ=function(J,$,Q,K,Z,X,Y,W,B,G,U){P8($,U++,Q),++Z[256];var D=v0(Z,15),F=D.t,L=D.l,V=v0(X,15),H=V.t,I=V.l,z=sQ(F),T=z.c,_=z.n,b=sQ(H),n=b.c,d=b.n,C=new sJ(19);for(var w=0;w<T.length;++w)++C[T[w]&31];for(var w=0;w<n.length;++w)++C[n[w]&31];var S=v0(C,7),h=S.t,a=S.l,f=19;for(;f>4&&!h[h0[f-1]];--f);var s=G+5<<3,m=o$(Z,_8)+o$(X,i$)+Y,o=o$(Z,F)+o$(X,H)+Y+14+3*f+o$(C,h)+2*C[16]+3*C[17]+7*C[18];if(B>=0&&s<=m&&s<=o)return K1($,U,J.subarray(B,B+G));var A,v,c,M;if(P8($,U,1+(o<m)),U+=2,o<m){A=q8(F,L,0),v=F,c=q8(H,I,0),M=H;var E=q8(h,a,0);P8($,U,_-257),P8($,U+5,d-1),P8($,U+10,f-4),U+=14;for(var w=0;w<f;++w)P8($,U+3*w,h[h0[w]]);U+=3*f;var N=[T,n];for(var y=0;y<2;++y){var u=N[y];for(var w=0;w<u.length;++w){var x=u[w]&31;if(P8($,U,E[x]),U+=h[x],x>15)P8($,U,u[w]>>5&127),U+=u[w]>>12}}}else A=G7,v=_8,c=W7,M=i$;for(var w=0;w<W;++w){var k=K[w];if(k>255){var x=k>>18&31;if(r$($,U,A[x+257]),U+=v[x+257],x>7)P8($,U,k>>23&31),U+=v6[x];var p=k&31;if(r$($,U,c[p]),U+=M[p],p>3)r$($,U,k>>5&8191),U+=u6[p]}else r$($,U,A[k]),U+=v[k]}return r$($,U,A[256]),U+v[256]},D7=new d0([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Z1=new AJ(0),L7=function(J,$,Q,K,Z,X){var Y=X.z||J.length,W=new AJ(K+Y+5*(1+Math.ceil(Y/7000))+Z),B=W.subarray(K,W.length-Z),G=X.l,U=(X.r||0)&7;if($){if(U)B[0]=X.r>>3;var D=D7[$-1],F=D>>13,L=D&8191,V=(1<<Q)-1,H=X.p||new sJ(32768),I=X.h||new sJ(V+1),z=Math.ceil(Q/3),T=2*z,_=function(PJ){return(J[PJ]^J[PJ+1]<<z^J[PJ+2]<<T)&V},b=new d0(25000),n=new sJ(288),d=new sJ(32),C=0,w=0,S=X.i||0,h=0,a=X.w||0,f=0;for(;S+2<Y;++S){var s=_(S),m=S&32767,o=I[s];if(H[m]=o,I[s]=m,a<=S){var A=Y-S;if((C>7000||h>24576)&&(A>423||!G)){U=aQ(J,B,0,b,n,d,w,h,f,S-f,U),h=C=w=0,f=S;for(var v=0;v<286;++v)n[v]=0;for(var v=0;v<30;++v)d[v]=0}var c=2,M=0,E=L,N=m-o&32767;if(A>2&&s==_(S-N)){var y=Math.min(F,A)-1,u=Math.min(32767,S),x=Math.min(258,A);while(N<=u&&--E&&m!=o){if(J[S+c]==J[S+c-N]){var k=0;for(;k<x&&J[S+k]==J[S+k-N];++k);if(k>c){if(c=k,M=N,k>y)break;var p=Math.min(N,k-2),l=0;for(var v=0;v<p;++v){var e=S-N+v&32767,qJ=H[e],UJ=e-qJ&32767;if(UJ>l)l=UJ,o=e}}}m=o,o=H[m],N+=m-o&32767}}if(M){b[h++]=268435456|f0[c]<<18|iQ[M];var GJ=f0[c]&31,BJ=iQ[M]&31;w+=v6[GJ]+u6[BJ],++n[257+GJ],++d[BJ],a=S+c,++C}else b[h++]=J[S],++n[J[S]]}}for(S=Math.max(S,a);S<Y;++S)b[h++]=J[S],++n[J[S]];if(U=aQ(J,B,G,b,n,d,w,h,f,S-f,U),!G)X.r=U&7|B[U/8|0]<<3,U-=7,X.h=I,X.p=H,X.i=S,X.w=a}else{for(var S=X.w||0;S<Y+G;S+=65535){var i=S+65535;if(i>=Y)B[U/8|0]=G,i=Y;U=K1(B,U+1,J.subarray(S,i))}X.i=Y}return s$(W,0,K+r0(U)+Z)},V7=function(){var J=new Int32Array(256);for(var $=0;$<256;++$){var Q=$,K=9;while(--K)Q=(Q&1&&-306674912)^Q>>>1;J[$]=Q}return J}(),O7=function(){var J=-1;return{p:function($){var Q=J;for(var K=0;K<$.length;++K)Q=V7[Q&255^$[K]]^Q>>>8;J=Q},d:function(){return~J}}};var M7=function(J,$,Q,K,Z){if(!Z){if(Z={l:1},$.dictionary){var X=$.dictionary.subarray(-32768),Y=new AJ(X.length+J.length);Y.set(X),Y.set(J,X.length),J=Y,Z.w=X.length}}return L7(J,$.level==null?6:$.level,$.mem==null?Z.l?Math.ceil(Math.max(8,Math.min(13,Math.log(J.length)))*1.5):20:12+$.mem,Q,K,Z)},X1=function(J,$){var Q={};for(var K in J)Q[K]=J[K];for(var K in $)Q[K]=$[K];return Q};var F8=function(J,$){return J[$]|J[$+1]<<8},lJ=function(J,$){return(J[$]|J[$+1]<<8|J[$+2]<<16|J[$+3]<<24)>>>0},u0=function(J,$){return lJ(J,$)+lJ(J,$+4)*4294967296},bJ=function(J,$,Q){for(;Q;++$)J[$]=Q,Q>>>=8};function P7(J,$){return M7(J,$||{},0,0)}function H7(J,$){return U7(J,{i:2},$&&$.out,$&&$.dictionary)}var Y1=function(J,$,Q,K){for(var Z in J){var X=J[Z],Y=$+Z,W=K;if(Array.isArray(X))W=X1(K,X[1]),X=X[0];if(ArrayBuffer.isView(X))Q[Y]=[X,W];else Q[Y+="/"]=[new AJ(0),W],Y1(X,Y,Q,K)}},lQ=typeof TextEncoder<"u"&&new TextEncoder,c0=typeof TextDecoder<"u"&&new TextDecoder,R7=0;try{c0.decode(Z1,{stream:!0}),R7=1}catch(J){}var I7=function(J){for(var $="",Q=0;;){var K=J[Q++],Z=(K>127)+(K>223)+(K>239);if(Q+Z>J.length)return{s:$,r:s$(J,Q-1)};if(!Z)$+=String.fromCharCode(K);else if(Z==3)K=((K&15)<<18|(J[Q++]&63)<<12|(J[Q++]&63)<<6|J[Q++]&63)-65536,$+=String.fromCharCode(55296|K>>10,56320|K&1023);else if(Z&1)$+=String.fromCharCode((K&31)<<6|J[Q++]&63);else $+=String.fromCharCode((K&15)<<12|(J[Q++]&63)<<6|J[Q++]&63)}};function b6(J,$){if($){var Q=new AJ(J.length);for(var K=0;K<J.length;++K)Q[K]=J.charCodeAt(K);return Q}if(lQ)return lQ.encode(J);var Z=J.length,X=new AJ(J.length+(J.length>>1)),Y=0,W=function(U){X[Y++]=U};for(var K=0;K<Z;++K){if(Y+5>X.length){var B=new AJ(Y+8+(Z-K<<1));B.set(X),X=B}var G=J.charCodeAt(K);if(G<128||$)W(G);else if(G<2048)W(192|G>>6),W(128|G&63);else if(G>55295&&G<57344)G=65536+(G&1047552)|J.charCodeAt(++K)&1023,W(240|G>>18),W(128|G>>12&63),W(128|G>>6&63),W(128|G&63);else W(224|G>>12),W(128|G>>6&63),W(128|G&63)}return s$(X,0,Y)}function h6(J,$){if($){var Q="";for(var K=0;K<J.length;K+=16384)Q+=String.fromCharCode.apply(null,J.subarray(K,K+16384));return Q}else if(c0)return c0.decode(J);else{var Z=I7(J),X=Z.s,Q=Z.r;if(Q.length)pJ(8);return X}}var z7=function(J,$){return $+30+F8(J,$+26)+F8(J,$+28)},C7=function(J,$,Q){var K=F8(J,$+28),Z=F8(J,$+30),X=h6(J.subarray($+46,$+46+K),!(F8(J,$+8)&2048)),Y=$+46+K,W=A7(J,Y,Z,Q,lJ(J,$+20),lJ(J,$+24),lJ(J,$+42)),B=W[0],G=W[1],U=W[2];return[F8(J,$+10),B,G,X,Y+Z+F8(J,$+32),U]},A7=function(J,$,Q,K,Z,X,Y){var W=Z==4294967295,B=X==4294967295,G=Y==4294967295,U=$+Q,D=W+B+G;if(K&&D){for(;$+4<U;$+=4+F8(J,$+2))if(F8(J,$)==1)return[W?u0(J,$+4+8*B):Z,B?u0(J,$+4):X,G?u0(J,$+4+8*(B+W)):Y,1];if(K<2)pJ(13)}return[Z,X,Y,0]},n0=function(J){var $=0;if(J)for(var Q in J){var K=J[Q].length;if(K>65535)pJ(9);$+=K+4}return $},tQ=function(J,$,Q,K,Z,X,Y,W){var B=K.length,G=Q.extra,U=W&&W.length,D=n0(G);if(bJ(J,$,Y!=null?33639248:67324752),$+=4,Y!=null)J[$++]=20,J[$++]=Q.os;J[$]=20,$+=2,J[$++]=Q.flag<<1|(X<0&&8),J[$++]=Z&&8,J[$++]=Q.compression&255,J[$++]=Q.compression>>8;var F=new Date(Q.mtime==null?Date.now():Q.mtime),L=F.getFullYear()-1980;if(L<0||L>119)pJ(10);if(bJ(J,$,L<<25|F.getMonth()+1<<21|F.getDate()<<16|F.getHours()<<11|F.getMinutes()<<5|F.getSeconds()>>1),$+=4,X!=-1)bJ(J,$,Q.crc),bJ(J,$+4,X<0?-X-2:X),bJ(J,$+8,Q.size);if(bJ(J,$+12,B),bJ(J,$+14,D),$+=16,Y!=null)bJ(J,$,U),bJ(J,$+6,Q.attrs),bJ(J,$+10,Y),$+=14;if(J.set(K,$),$+=B,D)for(var V in G){var H=G[V],I=H.length;bJ(J,$,+V),bJ(J,$+2,I),J.set(H,$+4),$+=4+I}if(U)J.set(W,$),$+=U;return $},T7=function(J,$,Q,K,Z){bJ(J,$,101010256),bJ(J,$+8,Q),bJ(J,$+10,Q),bJ(J,$+12,K),bJ(J,$+16,Z)};function j1(J,$){if(!$)$={};var Q={},K=[];Y1(J,"",Q,$);var Z=0,X=0;for(var Y in Q){var W=Q[Y],B=W[0],G=W[1],U=G.level==0?0:8,D=b6(Y),F=D.length,L=G.comment,V=L&&b6(L),H=V&&V.length,I=n0(G.extra);if(F>65535)pJ(11);var z=U?P7(B,G):B,T=z.length,_=O7();_.p(B),K.push(X1(G,{size:B.length,crc:_.d(),c:z,f:D,m:V,u:F!=Y.length||V&&L.length!=H,o:Z,compression:U})),Z+=30+F+I+T,X+=76+2*(F+I)+(H||0)+T}var b=new AJ(X+22),n=Z,d=X-Z;for(var C=0;C<K.length;++C){var D=K[C];tQ(b,D.o,D,D.f,D.u,D.c.length);var w=30+D.f.length+n0(D.extra);b.set(D.c,D.o+w),tQ(b,Z,D,D.f,D.u,D.c.length,D.o,D.m),Z+=16+w+(D.m?D.m.length:0)}return T7(b,Z,K.length,d,n),b}function G1(J,$){var Q={},K=J.length-22;for(;lJ(J,K)!=101010256;--K)if(!K||J.length-K>65558)pJ(13);var Z=F8(J,K+8);if(!Z)return{};var X=lJ(J,K+16),Y=lJ(J,K-20)==117853008;if(Y){var W=lJ(J,K-12);if(Y=lJ(J,W)==101075792,Y)Z=lJ(J,W+32),X=lJ(J,W+48)}var B=$&&$.filter;for(var G=0;G<Z;++G){var U=C7(J,X,Y),D=U[0],F=U[1],L=U[2],V=U[3],H=U[4],I=U[5],z=z7(J,I);if(X=H,!B||B({name:V,size:F,originalSize:L,compression:D}))if(!D)Q[V]=s$(J,z,z+F);else if(D==8)Q[V]=H7(J.subarray(z,z+F),{out:new AJ(L)});else pJ(14,"unknown compression type "+D)}return Q}var _7=new Set(["frame","stack","row","col","grid","group"]);var w7=new Set(["text","img","svg","shape","instance"]),N7=new Set([..._7,...w7]),E7=new Set(["preview","tokens","styles","fonts","assets","meta","components"]),w9=new Set([...N7,...E7,"gui","color","number","string","text-style","fill-style","effect-style","font","image","appearance","fill","effect","segment","path","component","component-set","variant","props","prop"]);var S7="design.guix",B1="preview.webp",o0="assets/";function k7(J){return J[0]===80&&J[1]===75}function x7(J){return J.startsWith(o0)?J:o0+J}function W1(J){if(!k7(J))return{xml:h6(J),assets:{}};let $=G1(J),Q=Object.keys($).find((Z)=>Z.endsWith(".guix"));if(!Q)throw Error("no .guix entry inside the .gui package");let K={xml:h6($[Q]),assets:{}};for(let[Z,X]of Object.entries($)){if(Z===Q)continue;if(Z===B1){K.preview=X;continue}if(Z.startsWith(o0))K.assets[Z]=X}return K}function F1(J){let $={[S7]:b6(J.xml)};if(J.preview)$[B1]=J.preview;for(let[Q,K]of Object.entries(J.assets))$[x7(Q)]=K;return j1($)}function y7(J){if(J==="svg")return"image/svg+xml";if(J==="jpg"||J==="jpeg")return"image/jpeg";return`image/${J}`}function i0(J){let $=W1(J),Q={};for(let[K,Z]of Object.entries($.assets)){let X=K.split(".").pop()||"png",Y=new Blob([Z],{type:y7(X)});Q[K]=URL.createObjectURL(Y)}return{xml:$.xml,assetMap:Q,pkg:$}}function f6(J){return{xml:J,assetMap:{},pkg:{xml:J,assets:{}}}}async function m6(J){let $=await fetch(J);if(!$.ok)throw Error(`gui-embed: failed to fetch "${J}" (${$.status})`);let Q=new Uint8Array(await $.arrayBuffer());return i0(Q)}function q1(J){return F1(J)}function s0(J){for(let $ of Object.values(J))if($.startsWith("blob:"))URL.revokeObjectURL($)}var zK=kK(HK(),1),TZ=new Set(["x","y","w","h","opacity","rotation","radius","spread","font-size","font-weight","line-height","letter-spacing","arc-start","arc-end","arc-inner","border-width","min-width","max-width","min-height","max-height","columns","corner-smoothing","paragraph-spacing","paragraph-indent","pt","pr","pb","pl","max-lines","mask-x","mask-y","mask-width","mask-height","miter-limit","unit","col-span","row-span"]),_Z=new Set(["wrap","clip","mask","abs","truncate","reverse-z"]);function L6(J,$){if($==="true")return!0;if($==="false")return!1;if(_Z.has(J)&&$==="")return!0;if(TZ.has(J)){if((J==="w"||J==="h")&&($==="fill"||$==="hug"))return $;let Q=Number($);return Number.isFinite(Q)?Q:$}return $}function RK(J,$,Q,K){let Z={},X={};for(let B=0;B<J.attributes.length;B++){let{name:G,value:U}=J.attributes[B],D=w$(U,$);Z[G]=L6(G,D);let F=Y0(U,$);if(F)X[G]=F}let Y=J.getAttribute("fill-style");if(Y&&Q[Y]!==void 0)Z.fill=w$(Q[Y],$),delete Z["fill-style"],delete X["fill-style"],Z.fillStyle=Y;let W=J.getAttribute("text-style");if(W&&K[W]){let B=K[W];for(let G of Object.keys(B))if(J.getAttribute(G)===null)Z[G]=L6(G,w$(B[G],$));delete Z["text-style"],delete X["text-style"],Z.textStyle=W}if(Object.keys(X).length)Z.tokens=X;return Z}function w$(J,$){if(!J||J.indexOf("$")===-1)return J;return J.replace(/\$([A-Za-z0-9_.-]+)/g,(Q,K)=>$[K]??Q)}function Y0(J,$){if(!J||J.indexOf("$")===-1)return;let Q=J.match(/\$([A-Za-z0-9_.-]+)/g);if(!Q)return;for(let K of Q){let Z=K.slice(1);if($[Z]!==void 0)return Z}return}function wZ(J,$,Q){if(J.axis&&J.byValue){let K=$[J.axis]?$[J.axis].default:void 0,Z=Q[J.axis]!==void 0?Q[J.axis]:K;if(Z!==void 0&&J.byValue[Z]!==void 0)return J.byValue[Z];if(K!==void 0&&J.byValue[K]!==void 0)return J.byValue[K]}return J.value}function NZ(J,$,Q){let K={};for(let Z of Object.keys(J)){let X=wZ(J[Z],$,Q);if(X!==void 0)K[Z]=X}return K}var EZ={abs:"true",clip:"true",gap:"auto",mask:"true","reverse-z":"true",truncate:"true",wrap:"true"};function SZ(J){let $="",Q=0;while(Q<J.length){let K=J[Q];if(K==='"'||K==="'"){let U=K,D=Q;Q++;while(Q<J.length&&J[Q]!==U)Q++;if(Q<J.length)Q++;$+=J.slice(D,Q);continue}if(!/\s/.test(K)){$+=K,Q++;continue}let X=Q;while(Q<J.length&&/\s/.test(J[Q]))Q++;let Y=Q;if(!/[A-Za-z]/.test(J[Q]||"")){$+=J.slice(X,Q+1),Q++;continue}while(Q<J.length&&/[\w-]/.test(J[Q]))Q++;let W=J.slice(Y,Q),B=J[Q],G=EZ[W];if(G&&(/\s/.test(B||"")||B==="/"||B===">"))$+=`${J.slice(X,Y)}${W}="${G}"`;else $+=J.slice(X,Q)}return $}function kZ(J){let $="",Q=0;while(Q<J.length){let K=J.indexOf("<",Q);if(K===-1){$+=J.slice(Q);break}if($+=J.slice(Q,K),J.startsWith("<!--",K)){let B=J.indexOf("-->",K+4),G=B===-1?J.length:B+3;$+=J.slice(K,G),Q=G;continue}let Z=K+1,X=null;while(Z<J.length){let B=J[Z];if(X){if(B===X)X=null}else if(B==='"'||B==="'")X=B;else if(B===">")break;Z++}let Y=Z<J.length?Z+1:J.length,W=J.slice(K,Y);if(/^<\/|^<\?|^<!/.test(W))$+=W;else $+=SZ(W);Q=Y}return $}function xZ(J){let $={},Q=(K)=>{let Z=K.getAttribute("name"),X=K.getAttribute("values");if(!Z||!X)return;let Y=X.trim().split(/\s+/).filter(Boolean);if(!Y.length)return;let W=K.getAttribute("default"),B=W&&Y.indexOf(W)!==-1?W:Y[0];$[Z]={values:Y,default:B}};for(let K of Array.from(J.children))if(K.tagName==="mode")Q(K);else if(K.tagName==="modes"){for(let Z of Array.from(K.children))if(Z.tagName==="mode")Q(Z)}return $}var yZ={color:"color",number:"number",string:"string"};function gZ(J,$){let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="tokens")continue;for(let Z of Array.from(K.children)){let X=yZ[Z.tagName];if(!X)continue;let Y=Z.getAttribute("name");if(!Y)continue;let W={type:X},B=Z.getAttribute("value");if(B!==null)W.value=B;let G,U={};for(let D=0;D<Z.attributes.length;D++){let F=Z.attributes[D],L,V;for(let H of Object.keys($)){let I=H+"-";if(F.name.indexOf(I)!==0)continue;let z=F.name.slice(I.length);if($[H].values.indexOf(z)===-1)continue;if(L===void 0||H.length>L.length)L=H,V=z}if(L===void 0||V===void 0)continue;if(G===void 0)G=L;if(L!==G)continue;U[V]=F.value}if(G!==void 0&&Object.keys(U).length>0)W.axis=G,W.byValue=U;Q[Y]=W}}return Q}function bZ(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="fonts")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="font")continue;let Z=K.getAttribute("family"),X=K.getAttribute("source");if(!Z||!X)continue;$[Z]={source:X,category:K.getAttribute("category")||void 0,weights:K.getAttribute("weights")||void 0,styles:K.getAttribute("styles")||void 0,variants:K.getAttribute("variants")||void 0}}}return $}var vZ=["font-family","font-size","font-weight","font-style","font-variation","font-feature","line-height","letter-spacing","decoration","decoration-color","decoration-style","decoration-thickness","text-case"];function uZ(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="styles")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="text-style")continue;let Z=K.getAttribute("name");if(!Z)continue;let X={};for(let Y of vZ){let W=K.getAttribute(Y);if(W!==null)X[Y]=W}$[Z]=X}}return $}function hZ(J){let $={};for(let Q of Array.from(J.children)){if(Q.tagName!=="styles")continue;for(let K of Array.from(Q.children)){if(K.tagName!=="fill-style")continue;let Z=K.getAttribute("name"),X=K.getAttribute("value");if(Z&&X!==null)$[Z]=X}}return $}function fZ(J,$){let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="styles")continue;for(let Z of Array.from(K.children)){if(Z.tagName!=="effect-style")continue;let X=Z.getAttribute("name");if(!X)continue;Q[X]=Array.from(Z.children).filter((Y)=>Y.tagName==="effect").map((Y)=>CK(Y,$))}}return Q}function mZ(J,$){if(Object.keys($).length>0)return $;let Q={};for(let K of Array.from(J.children)){if(K.tagName!=="assets")continue;for(let Z of Array.from(K.children)){if(Z.tagName!=="image")continue;let X=Z.getAttribute("id"),Y=Z.getAttribute("format")||"png",W=Z.getAttribute("src")||"";if(!X)continue;let B=Y==="svg"?"svg+xml":Y;if(W.startsWith("base64:"))Q[`assets/${X}.${Y}`]=`data:image/${B};base64,${W.slice(7)}`;else if(W)Q[`assets/${X}.${Y}`]=W}}return Q}var pZ=new Set(["frame","stack","row","col","grid","group"]),cZ=new Set(["text","img","rect","ellipse","line","svg","shape","instance"]),nZ=new Set([...pZ,...cZ]);function CK(J,$){let Q={};for(let K=0;K<J.attributes.length;K++){let{name:Z,value:X}=J.attributes[K];if(Q[Z]=L6(Z,w$(X,$)),Z==="color"){let Y=Y0(X,$);if(Y)Q.token=Y}}return Q}function dZ(J,$,Q,K,Z){let X=[],Y=[],W=[];for(let B of Array.from(J.children))if(B.tagName==="fill"){let G={};for(let U=0;U<B.attributes.length;U++){let{name:D,value:F}=B.attributes[U],L=w$(F,$);if(D==="value"){let V=Y0(F,$);if(V)G.token=V}if(D==="src")L=Z[L]||L;G[D]=L6(D,L)}X.push(G)}else if(B.tagName==="effect")Y.push(CK(B,$));else if(B.tagName==="border"){let G={};for(let U=0;U<B.attributes.length;U++){let{name:D,value:F}=B.attributes[U];if(G[D]=L6(D,w$(F,$)),D==="color"){let L=Y0(F,$);if(L)G.token=L}}W.push(G)}return{fills:X,effects:Y,borders:W}}function D6(J,$,Q,K,Z,X){let Y=RK(J,$,Q,K),W=J.getAttribute("src");if(W&&X[W])Y.src=X[W];let B=J.getAttribute("effect-style"),G={type:J.tagName,...Y};if(B)delete G["effect-style"],G.effectStyle=B;if(J.tagName==="svg"&&!J.getAttribute("src")){let V=new XMLSerializer,H=Array.from(J.children);if(H.length>0){let I="";for(let z=0;z<H.length;z++)I+=V.serializeToString(H[z]);G.svgContent=I.replace(/\s+xmlns=""/g,"")}return G}let U=[],D=[],F=[],L;for(let V of Array.from(J.children))if(V.tagName==="appearance")L=dZ(V,$,Q,Z,X);else if(V.tagName==="segment"){let H=RK(V,$,Q,K);D.push({type:"segment",...H})}else if(V.tagName==="path"){let H=V.getAttribute("d");if(H)F.push(H)}else if(nZ.has(V.tagName))U.push(D6(V,$,Q,K,Z,X));if(B&&Z[B]){let V=Z[B];if(!L)L={fills:[],effects:[],borders:[]};L.effects=[...V,...L.effects]}if(L)G.appearance=L;if(D.length)G.segments=D;if(F.length)G.paths=F;if(U.length)G.children=U;return G}function rZ(J,$,Q,K,Z,X){let Y={};for(let W of Array.from(J.children)){if(W.tagName!=="components")continue;for(let B of Array.from(W.children))if(B.tagName==="component"){let G=B.getAttribute("id");if(!G)continue;let U=Array.from(B.children).find((F)=>F.tagName==="props"),D=Array.from(B.children).find((F)=>F.tagName!=="props");Y[G]={id:G,name:B.getAttribute("name")||void 0,props:U?IK(U):[],body:D?D6(D,$,Q,K,Z,X):null}}else if(B.tagName==="component-set"){let G=B.getAttribute("id");if(!G)continue;let U=[];for(let D of Array.from(B.children)){if(D.tagName!=="variant")continue;let F=D.getAttribute("id");if(!F)continue;let L={};for(let I=0;I<D.attributes.length;I++){let{name:z,value:T}=D.attributes[I];if(z!=="id")L[z]=T}let V=Array.from(D.children).find((I)=>I.tagName!=="props");U.push({id:F,attrs:L,body:V?D6(V,$,Q,K,Z,X):null});let H=Array.from(D.children).find((I)=>I.tagName==="props");Y[F]={id:F,props:H?IK(H):[],body:V?D6(V,$,Q,K,Z,X):null}}Y[G]={id:G,name:B.getAttribute("name")||void 0,props:[],body:null,variants:U}}}return Y}function IK(J){let $=[];for(let Q of Array.from(J.children)){if(Q.tagName!=="prop")continue;let K=Q.getAttribute("name"),Z=Q.getAttribute("type"),X=Q.getAttribute("target"),Y=Q.getAttribute("bind");if(!K||!Z||!X)continue;let W={name:K,type:Z,target:X};if(Y)W.bind=Y;$.push(W)}return $}function AK(J,$){let Q;try{let I=kZ(J).replace(/&(?!amp;|lt;|gt;|quot;|apos;|#)/g,"&amp;"),z=globalThis.DOMParser;if(z){if(Q=new z().parseFromString(I,"text/xml"),Q.querySelector?.("parsererror"))return null}else Q=new zK.DOMParser({onError:(T,_)=>{if(T==="fatalError")throw Error(_)}}).parseFromString(I,"text/xml")}catch{return null}let K=Q.documentElement;if(!K||K.tagName!=="gui")return null;let Z=xZ(K),X=gZ(K,Z),Y=NZ(X,Z,{}),W=bZ(K),B=uZ(K),G=hZ(K),U=fZ(K,Y),D=mZ(K,$||{}),F=rZ(K,Y,G,B,U,D),L=new Set(["stack","row","col","grid"]),V=null;for(let I of Array.from(K.children))if(I.tagName==="frame"||L.has(I.tagName)){V=I;break}let H=V?D6(V,Y,G,B,U,D):null;return{version:K.getAttribute("version"),name:K.getAttribute("name"),platform:K.getAttribute("platform"),fonts:W,modes:Z,tokenDefs:X,tokens:Y,textStyles:B,styles:B,fillStyles:G,effectStyles:U,assets:D,components:F,root:H}}function j0(J){try{return AK(J)?.modes??{}}catch{return{}}}function G0(J){return Object.keys(J).filter(($)=>J[$].values.length>1)}var TK="gui-embed";class B0 extends HTMLElement{_canvas;_bar;_zoomCtl=null;_decoded=null;_modes={};_mode={};_ro=null;_userZoomed=!1;static get observedAttributes(){return["src"]}connectedCallback(){if(!this._canvas)this._build();this._load()}disconnectedCallback(){if(this._ro?.disconnect(),this._ro=null,this._decoded)s0(this._decoded.assetMap);this._decoded=null}attributeChangedCallback(J){if(J==="src"&&this._canvas)this._load()}_build(){let J=getComputedStyle(this);if(J.position==="static")this.style.position="relative";if(J.display==="inline")this.style.display="block";this.style.overflow="hidden";let $=document.createElement("div");$.className="gui-embed-canvas";let Q=this.getAttribute("grid")!=="false";$.style.cssText=["position:absolute;inset:0","background-color:var(--gui-embed-bg, #fafaf8)",Q?"background-image:radial-gradient(var(--gui-embed-dot, rgba(0,0,0,.14)) 1px, transparent 1.4px);background-size:var(--gui-embed-dot-gap, 18px) var(--gui-embed-dot-gap, 18px);background-position:center":""].filter(Boolean).join(";"),this.appendChild($),this._canvas=$;let K=()=>this._userZoomed=!0;$.addEventListener("wheel",K,{passive:!0}),$.addEventListener("pointerdown",K),this._ro=new ResizeObserver(()=>{if(!this._userZoomed)this._zoomCtl?.(1)}),this._ro.observe(this);let Z=document.createElement("div");Z.className="gui-embed-controls",Z.style.cssText=["position:absolute;top:8px;right:8px;z-index:2","display:flex;gap:4px;padding:4px","border-radius:8px;background:rgba(20,20,20,.55)","backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)","opacity:0;transition:opacity .15s ease"].join(";"),this.appendChild(Z),this._bar=Z,this.addEventListener("pointerenter",()=>Z.style.opacity="1"),this.addEventListener("pointerleave",()=>Z.style.opacity="0")}async _load(){try{let J,$=this.getAttribute("src");if($)J=await m6($);else{let Q=this.querySelector(':scope > script[type="application/gui"]');if(!Q)return;J=f6(Q.textContent??"")}if(this._decoded)s0(this._decoded.assetMap);this._decoded=J,this._userZoomed=!1,this._modes=j0(J.xml),this._mode={};for(let[Q,K]of Object.entries(this._modes))this._mode[Q]=K.default;this._render(),this._buildControls()}catch(J){this._canvas.textContent=String(J?.message??J),this._canvas.style.cssText+=";display:flex;align-items:center;justify-content:center;font:13px system-ui;color:#c00;padding:12px;text-align:center"}}_render(){if(!this._decoded)return;let{xml:J,assetMap:$}=this._decoded,Q=this.getAttribute("zoom")!=="false";if(!this._hasHeight()){g6(J,this._canvas,$,{mode:this._mode});let K=this._canvas.querySelector(".gui-relative"),Z=K?.offsetWidth??0,X=K?.offsetHeight??0;if(Z>0&&X>0)if(this.style.width)this.style.aspectRatio=`${Z} / ${X}`;else this.style.width=`${Z}px`,this.style.height=`${X}px`;requestAnimationFrame(()=>{this._zoomCtl=g6(J,this._canvas,$,{zoom:Q,mode:this._mode})});return}this._zoomCtl=g6(J,this._canvas,$,{zoom:Q,mode:this._mode})}_hasHeight(){if(this.style.height||this.style.aspectRatio)return!0;let J=getComputedStyle(this).height;return!!J&&J!=="auto"&&parseFloat(J)>1}_buildControls(){let J=this._bar;if(J.innerHTML="",this.getAttribute("zoom")!=="false")J.appendChild(this._btn("Fit","Reset zoom",()=>this._zoomCtl?.(1)));let $=G0(this._modes);if(this.hasAttribute("mode-switch")&&$.length)for(let Q of $)J.appendChild(this._modeSelect(Q));if(this.hasAttribute("copy"))J.appendChild(this._btn("Copy","Copy .gui markup",async()=>{if(this._decoded)await navigator.clipboard.writeText(this._decoded.xml)}));if(this.hasAttribute("download"))J.appendChild(this._btn("Download","Download .gui file",()=>this._download()));J.style.display=J.children.length?"flex":"none"}_btn(J,$,Q){let K=document.createElement("button");return K.type="button",K.textContent=J,K.title=$,K.style.cssText=["all:unset;cursor:pointer;font:600 12px/1 system-ui","color:#fff;padding:6px 9px;border-radius:5px"].join(";"),K.addEventListener("pointerenter",()=>K.style.background="rgba(255,255,255,.18)"),K.addEventListener("pointerleave",()=>K.style.background="transparent"),K.addEventListener("click",Q),K}_modeSelect(J){let $=document.createElement("select");$.title=`Mode: ${J}`,$.style.cssText=["all:unset;cursor:pointer;font:600 12px/1 system-ui","color:#fff;padding:6px 9px;border-radius:5px"].join(";");for(let Q of this._modes[J].values){let K=document.createElement("option");if(K.value=Q,K.textContent=Q,K.style.color="#000",Q===this._mode[J])K.selected=!0;$.appendChild(K)}return $.addEventListener("change",()=>{this._mode[J]=$.value,this._render()}),$}_download(){if(!this._decoded)return;let J=q1(this._decoded.pkg),$=(this.getAttribute("src")?.split("/").pop()||"design.gui").replace(/\.guix$/,".gui"),Q=URL.createObjectURL(new Blob([J],{type:"application/octet-stream"})),K=document.createElement("a");K.href=Q,K.download=$.endsWith(".gui")?$:$+".gui",K.click(),setTimeout(()=>URL.revokeObjectURL(Q),1000)}}function W0(){if(typeof customElements<"u"&&!customElements.get(TK))customElements.define(TK,B0)}var _K=!1;function VQ(){if(_K||typeof window>"u")return;_K=!0,W0()}VQ();globalThis.GuiEmbed=OQ;})();