@gisce/ooui 0.17.2 → 0.17.4

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/ooui.umd.js CHANGED
@@ -1,22 +1,21 @@
1
- (function(T,Fe){typeof exports=="object"&&typeof module<"u"?Fe(exports,require("moment")):typeof define=="function"&&define.amd?define(["exports","moment"],Fe):(T=typeof globalThis<"u"?globalThis:T||self,Fe(T.ooui={},T.moment))})(this,function(T,Fe){"use strict";const Oe=(r=>r&&typeof r=="object"&&"default"in r?r:{default:r})(Fe),Ye=class{constructor(r){if(this._type="",this._parsedWidgetProps={},this._colspan=Ye._defaultColspan,this._readOnly=!1,this._invisible=!1,r&&(r.colspan&&(this._colspan=+r.colspan),r.readonly&&(r.readonly==="1"||r.readonly===1||r.readonly===!0)&&(this._readOnly=!0),r.invisible&&(r.invisible===1||r.invisible==="1"||r.invisible===!0)&&(this._invisible=!0),r.type&&(this._type=r.type),r.context&&(this._context=r.context),r.domain&&typeof r.domain=="string"&&(this._domain=r.domain),r.widget_props))try{this._parsedWidgetProps=JSON.parse(r.widget_props.replace(/'/g,'"'))}catch{throw new Error("Error parsing widget_props")}}static get defaultColspan(){return Ye._defaultColspan}static set defaultColspan(r){Ye._defaultColspan=r}get readOnly(){return this._readOnly}set readOnly(r){this._readOnly=r}get colspan(){return this._colspan}set colspan(r){this._colspan=+r}get invisible(){return this._invisible}set invisible(r){this._invisible=r}get type(){return this._type}set type(r){this._type=r}get context(){return this._context}set context(r){this._context=r}get domain(){return this._domain}set domain(r){this._domain=r}get parsedWidgetProps(){return this._parsedWidgetProps}set parsedWidgetProps(r){this._parsedWidgetProps=r}};let de=Ye;de._defaultColspan=1;var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Er(r){var e=r.default;if(typeof e=="function"){var t=function(){return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var n=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:function(){return r[i]}})}),t}var We={},He={};Object.defineProperty(He,"__esModule",{value:!0}),He.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},He.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":"\xA0","&nbsp;":"\xA0","&iexcl":"\xA1","&iexcl;":"\xA1","&cent":"\xA2","&cent;":"\xA2","&pound":"\xA3","&pound;":"\xA3","&curren":"\xA4","&curren;":"\xA4","&yen":"\xA5","&yen;":"\xA5","&brvbar":"\xA6","&brvbar;":"\xA6","&sect":"\xA7","&sect;":"\xA7","&uml":"\xA8","&uml;":"\xA8","&copy":"\xA9","&copy;":"\xA9","&ordf":"\xAA","&ordf;":"\xAA","&laquo":"\xAB","&laquo;":"\xAB","&not":"\xAC","&not;":"\xAC","&shy":"\xAD","&shy;":"\xAD","&reg":"\xAE","&reg;":"\xAE","&macr":"\xAF","&macr;":"\xAF","&deg":"\xB0","&deg;":"\xB0","&plusmn":"\xB1","&plusmn;":"\xB1","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&sup3;":"\xB3","&acute":"\xB4","&acute;":"\xB4","&micro":"\xB5","&micro;":"\xB5","&para":"\xB6","&para;":"\xB6","&middot":"\xB7","&middot;":"\xB7","&cedil":"\xB8","&cedil;":"\xB8","&sup1":"\xB9","&sup1;":"\xB9","&ordm":"\xBA","&ordm;":"\xBA","&raquo":"\xBB","&raquo;":"\xBB","&frac14":"\xBC","&frac14;":"\xBC","&frac12":"\xBD","&frac12;":"\xBD","&frac34":"\xBE","&frac34;":"\xBE","&iquest":"\xBF","&iquest;":"\xBF","&Agrave":"\xC0","&Agrave;":"\xC0","&Aacute":"\xC1","&Aacute;":"\xC1","&Acirc":"\xC2","&Acirc;":"\xC2","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&Auml;":"\xC4","&Aring":"\xC5","&Aring;":"\xC5","&AElig":"\xC6","&AElig;":"\xC6","&Ccedil":"\xC7","&Ccedil;":"\xC7","&Egrave":"\xC8","&Egrave;":"\xC8","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Euml":"\xCB","&Euml;":"\xCB","&Igrave":"\xCC","&Igrave;":"\xCC","&Iacute":"\xCD","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Iuml":"\xCF","&Iuml;":"\xCF","&ETH":"\xD0","&ETH;":"\xD0","&Ntilde":"\xD1","&Ntilde;":"\xD1","&Ograve":"\xD2","&Ograve;":"\xD2","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Otilde":"\xD5","&Otilde;":"\xD5","&Ouml":"\xD6","&Ouml;":"\xD6","&times":"\xD7","&times;":"\xD7","&Oslash":"\xD8","&Oslash;":"\xD8","&Ugrave":"\xD9","&Ugrave;":"\xD9","&Uacute":"\xDA","&Uacute;":"\xDA","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Uuml":"\xDC","&Uuml;":"\xDC","&Yacute":"\xDD","&Yacute;":"\xDD","&THORN":"\xDE","&THORN;":"\xDE","&szlig":"\xDF","&szlig;":"\xDF","&agrave":"\xE0","&agrave;":"\xE0","&aacute":"\xE1","&aacute;":"\xE1","&acirc":"\xE2","&acirc;":"\xE2","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&auml;":"\xE4","&aring":"\xE5","&aring;":"\xE5","&aelig":"\xE6","&aelig;":"\xE6","&ccedil":"\xE7","&ccedil;":"\xE7","&egrave":"\xE8","&egrave;":"\xE8","&eacute":"\xE9","&eacute;":"\xE9","&ecirc":"\xEA","&ecirc;":"\xEA","&euml":"\xEB","&euml;":"\xEB","&igrave":"\xEC","&igrave;":"\xEC","&iacute":"\xED","&iacute;":"\xED","&icirc":"\xEE","&icirc;":"\xEE","&iuml":"\xEF","&iuml;":"\xEF","&eth":"\xF0","&eth;":"\xF0","&ntilde":"\xF1","&ntilde;":"\xF1","&ograve":"\xF2","&ograve;":"\xF2","&oacute":"\xF3","&oacute;":"\xF3","&ocirc":"\xF4","&ocirc;":"\xF4","&otilde":"\xF5","&otilde;":"\xF5","&ouml":"\xF6","&ouml;":"\xF6","&divide":"\xF7","&divide;":"\xF7","&oslash":"\xF8","&oslash;":"\xF8","&ugrave":"\xF9","&ugrave;":"\xF9","&uacute":"\xFA","&uacute;":"\xFA","&ucirc":"\xFB","&ucirc;":"\xFB","&uuml":"\xFC","&uuml;":"\xFC","&yacute":"\xFD","&yacute;":"\xFD","&thorn":"\xFE","&thorn;":"\xFE","&yuml":"\xFF","&yuml;":"\xFF","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"\u0152","&oelig;":"\u0153","&Scaron;":"\u0160","&scaron;":"\u0161","&Yuml;":"\u0178","&circ;":"\u02C6","&tilde;":"\u02DC","&ensp;":"\u2002","&emsp;":"\u2003","&thinsp;":"\u2009","&zwnj;":"\u200C","&zwj;":"\u200D","&lrm;":"\u200E","&rlm;":"\u200F","&ndash;":"\u2013","&mdash;":"\u2014","&lsquo;":"\u2018","&rsquo;":"\u2019","&sbquo;":"\u201A","&ldquo;":"\u201C","&rdquo;":"\u201D","&bdquo;":"\u201E","&dagger;":"\u2020","&Dagger;":"\u2021","&permil;":"\u2030","&lsaquo;":"\u2039","&rsaquo;":"\u203A","&euro;":"\u20AC","&fnof;":"\u0192","&Alpha;":"\u0391","&Beta;":"\u0392","&Gamma;":"\u0393","&Delta;":"\u0394","&Epsilon;":"\u0395","&Zeta;":"\u0396","&Eta;":"\u0397","&Theta;":"\u0398","&Iota;":"\u0399","&Kappa;":"\u039A","&Lambda;":"\u039B","&Mu;":"\u039C","&Nu;":"\u039D","&Xi;":"\u039E","&Omicron;":"\u039F","&Pi;":"\u03A0","&Rho;":"\u03A1","&Sigma;":"\u03A3","&Tau;":"\u03A4","&Upsilon;":"\u03A5","&Phi;":"\u03A6","&Chi;":"\u03A7","&Psi;":"\u03A8","&Omega;":"\u03A9","&alpha;":"\u03B1","&beta;":"\u03B2","&gamma;":"\u03B3","&delta;":"\u03B4","&epsilon;":"\u03B5","&zeta;":"\u03B6","&eta;":"\u03B7","&theta;":"\u03B8","&iota;":"\u03B9","&kappa;":"\u03BA","&lambda;":"\u03BB","&mu;":"\u03BC","&nu;":"\u03BD","&xi;":"\u03BE","&omicron;":"\u03BF","&pi;":"\u03C0","&rho;":"\u03C1","&sigmaf;":"\u03C2","&sigma;":"\u03C3","&tau;":"\u03C4","&upsilon;":"\u03C5","&phi;":"\u03C6","&chi;":"\u03C7","&psi;":"\u03C8","&omega;":"\u03C9","&thetasym;":"\u03D1","&upsih;":"\u03D2","&piv;":"\u03D6","&bull;":"\u2022","&hellip;":"\u2026","&prime;":"\u2032","&Prime;":"\u2033","&oline;":"\u203E","&frasl;":"\u2044","&weierp;":"\u2118","&image;":"\u2111","&real;":"\u211C","&trade;":"\u2122","&alefsym;":"\u2135","&larr;":"\u2190","&uarr;":"\u2191","&rarr;":"\u2192","&darr;":"\u2193","&harr;":"\u2194","&crarr;":"\u21B5","&lArr;":"\u21D0","&uArr;":"\u21D1","&rArr;":"\u21D2","&dArr;":"\u21D3","&hArr;":"\u21D4","&forall;":"\u2200","&part;":"\u2202","&exist;":"\u2203","&empty;":"\u2205","&nabla;":"\u2207","&isin;":"\u2208","&notin;":"\u2209","&ni;":"\u220B","&prod;":"\u220F","&sum;":"\u2211","&minus;":"\u2212","&lowast;":"\u2217","&radic;":"\u221A","&prop;":"\u221D","&infin;":"\u221E","&ang;":"\u2220","&and;":"\u2227","&or;":"\u2228","&cap;":"\u2229","&cup;":"\u222A","&int;":"\u222B","&there4;":"\u2234","&sim;":"\u223C","&cong;":"\u2245","&asymp;":"\u2248","&ne;":"\u2260","&equiv;":"\u2261","&le;":"\u2264","&ge;":"\u2265","&sub;":"\u2282","&sup;":"\u2283","&nsub;":"\u2284","&sube;":"\u2286","&supe;":"\u2287","&oplus;":"\u2295","&otimes;":"\u2297","&perp;":"\u22A5","&sdot;":"\u22C5","&lceil;":"\u2308","&rceil;":"\u2309","&lfloor;":"\u230A","&rfloor;":"\u230B","&lang;":"\u2329","&rang;":"\u232A","&loz;":"\u25CA","&spades;":"\u2660","&clubs;":"\u2663","&hearts;":"\u2665","&diams;":"\u2666"},characters:{"'":"&apos;","\xA0":"&nbsp;","\xA1":"&iexcl;","\xA2":"&cent;","\xA3":"&pound;","\xA4":"&curren;","\xA5":"&yen;","\xA6":"&brvbar;","\xA7":"&sect;","\xA8":"&uml;","\xA9":"&copy;",\u00AA:"&ordf;","\xAB":"&laquo;","\xAC":"&not;","\xAD":"&shy;","\xAE":"&reg;","\xAF":"&macr;","\xB0":"&deg;","\xB1":"&plusmn;","\xB2":"&sup2;","\xB3":"&sup3;","\xB4":"&acute;",\u00B5:"&micro;","\xB6":"&para;","\xB7":"&middot;","\xB8":"&cedil;","\xB9":"&sup1;",\u00BA:"&ordm;","\xBB":"&raquo;","\xBC":"&frac14;","\xBD":"&frac12;","\xBE":"&frac34;","\xBF":"&iquest;",\u00C0:"&Agrave;",\u00C1:"&Aacute;",\u00C2:"&Acirc;",\u00C3:"&Atilde;",\u00C4:"&Auml;",\u00C5:"&Aring;",\u00C6:"&AElig;",\u00C7:"&Ccedil;",\u00C8:"&Egrave;",\u00C9:"&Eacute;",\u00CA:"&Ecirc;",\u00CB:"&Euml;",\u00CC:"&Igrave;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u00CF:"&Iuml;",\u00D0:"&ETH;",\u00D1:"&Ntilde;",\u00D2:"&Ograve;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u00D5:"&Otilde;",\u00D6:"&Ouml;","\xD7":"&times;",\u00D8:"&Oslash;",\u00D9:"&Ugrave;",\u00DA:"&Uacute;",\u00DB:"&Ucirc;",\u00DC:"&Uuml;",\u00DD:"&Yacute;",\u00DE:"&THORN;",\u00DF:"&szlig;",\u00E0:"&agrave;",\u00E1:"&aacute;",\u00E2:"&acirc;",\u00E3:"&atilde;",\u00E4:"&auml;",\u00E5:"&aring;",\u00E6:"&aelig;",\u00E7:"&ccedil;",\u00E8:"&egrave;",\u00E9:"&eacute;",\u00EA:"&ecirc;",\u00EB:"&euml;",\u00EC:"&igrave;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u00EF:"&iuml;",\u00F0:"&eth;",\u00F1:"&ntilde;",\u00F2:"&ograve;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u00F5:"&otilde;",\u00F6:"&ouml;","\xF7":"&divide;",\u00F8:"&oslash;",\u00F9:"&ugrave;",\u00FA:"&uacute;",\u00FB:"&ucirc;",\u00FC:"&uuml;",\u00FD:"&yacute;",\u00FE:"&thorn;",\u00FF:"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;",\u0152:"&OElig;",\u0153:"&oelig;",\u0160:"&Scaron;",\u0161:"&scaron;",\u0178:"&Yuml;","\u02C6":"&circ;","\u02DC":"&tilde;","\u2002":"&ensp;","\u2003":"&emsp;","\u2009":"&thinsp;","\u200C":"&zwnj;","\u200D":"&zwj;","\u200E":"&lrm;","\u200F":"&rlm;","\u2013":"&ndash;","\u2014":"&mdash;","\u2018":"&lsquo;","\u2019":"&rsquo;","\u201A":"&sbquo;","\u201C":"&ldquo;","\u201D":"&rdquo;","\u201E":"&bdquo;","\u2020":"&dagger;","\u2021":"&Dagger;","\u2030":"&permil;","\u2039":"&lsaquo;","\u203A":"&rsaquo;","\u20AC":"&euro;",\u0192:"&fnof;",\u0391:"&Alpha;",\u0392:"&Beta;",\u0393:"&Gamma;",\u0394:"&Delta;",\u0395:"&Epsilon;",\u0396:"&Zeta;",\u0397:"&Eta;",\u0398:"&Theta;",\u0399:"&Iota;",\u039A:"&Kappa;",\u039B:"&Lambda;",\u039C:"&Mu;",\u039D:"&Nu;",\u039E:"&Xi;",\u039F:"&Omicron;",\u03A0:"&Pi;",\u03A1:"&Rho;",\u03A3:"&Sigma;",\u03A4:"&Tau;",\u03A5:"&Upsilon;",\u03A6:"&Phi;",\u03A7:"&Chi;",\u03A8:"&Psi;",\u03A9:"&Omega;",\u03B1:"&alpha;",\u03B2:"&beta;",\u03B3:"&gamma;",\u03B4:"&delta;",\u03B5:"&epsilon;",\u03B6:"&zeta;",\u03B7:"&eta;",\u03B8:"&theta;",\u03B9:"&iota;",\u03BA:"&kappa;",\u03BB:"&lambda;",\u03BC:"&mu;",\u03BD:"&nu;",\u03BE:"&xi;",\u03BF:"&omicron;",\u03C0:"&pi;",\u03C1:"&rho;",\u03C2:"&sigmaf;",\u03C3:"&sigma;",\u03C4:"&tau;",\u03C5:"&upsilon;",\u03C6:"&phi;",\u03C7:"&chi;",\u03C8:"&psi;",\u03C9:"&omega;",\u03D1:"&thetasym;",\u03D2:"&upsih;",\u03D6:"&piv;","\u2022":"&bull;","\u2026":"&hellip;","\u2032":"&prime;","\u2033":"&Prime;","\u203E":"&oline;","\u2044":"&frasl;","\u2118":"&weierp;",\u2111:"&image;",\u211C:"&real;","\u2122":"&trade;",\u2135:"&alefsym;","\u2190":"&larr;","\u2191":"&uarr;","\u2192":"&rarr;","\u2193":"&darr;","\u2194":"&harr;","\u21B5":"&crarr;","\u21D0":"&lArr;","\u21D1":"&uArr;","\u21D2":"&rArr;","\u21D3":"&dArr;","\u21D4":"&hArr;","\u2200":"&forall;","\u2202":"&part;","\u2203":"&exist;","\u2205":"&empty;","\u2207":"&nabla;","\u2208":"&isin;","\u2209":"&notin;","\u220B":"&ni;","\u220F":"&prod;","\u2211":"&sum;","\u2212":"&minus;","\u2217":"&lowast;","\u221A":"&radic;","\u221D":"&prop;","\u221E":"&infin;","\u2220":"&ang;","\u2227":"&and;","\u2228":"&or;","\u2229":"&cap;","\u222A":"&cup;","\u222B":"&int;","\u2234":"&there4;","\u223C":"&sim;","\u2245":"&cong;","\u2248":"&asymp;","\u2260":"&ne;","\u2261":"&equiv;","\u2264":"&le;","\u2265":"&ge;","\u2282":"&sub;","\u2283":"&sup;","\u2284":"&nsub;","\u2286":"&sube;","\u2287":"&supe;","\u2295":"&oplus;","\u2297":"&otimes;","\u22A5":"&perp;","\u22C5":"&sdot;","\u2308":"&lceil;","\u2309":"&rceil;","\u230A":"&lfloor;","\u230B":"&rfloor;","\u2329":"&lang;","\u232A":"&rang;","\u25CA":"&loz;","\u2660":"&spades;","\u2663":"&clubs;","\u2665":"&hearts;","\u2666":"&diams;"}},html5:{entities:{"&AElig":"\xC6","&AElig;":"\xC6","&AMP":"&","&AMP;":"&","&Aacute":"\xC1","&Aacute;":"\xC1","&Abreve;":"\u0102","&Acirc":"\xC2","&Acirc;":"\xC2","&Acy;":"\u0410","&Afr;":"\u{1D504}","&Agrave":"\xC0","&Agrave;":"\xC0","&Alpha;":"\u0391","&Amacr;":"\u0100","&And;":"\u2A53","&Aogon;":"\u0104","&Aopf;":"\u{1D538}","&ApplyFunction;":"\u2061","&Aring":"\xC5","&Aring;":"\xC5","&Ascr;":"\u{1D49C}","&Assign;":"\u2254","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&Auml;":"\xC4","&Backslash;":"\u2216","&Barv;":"\u2AE7","&Barwed;":"\u2306","&Bcy;":"\u0411","&Because;":"\u2235","&Bernoullis;":"\u212C","&Beta;":"\u0392","&Bfr;":"\u{1D505}","&Bopf;":"\u{1D539}","&Breve;":"\u02D8","&Bscr;":"\u212C","&Bumpeq;":"\u224E","&CHcy;":"\u0427","&COPY":"\xA9","&COPY;":"\xA9","&Cacute;":"\u0106","&Cap;":"\u22D2","&CapitalDifferentialD;":"\u2145","&Cayleys;":"\u212D","&Ccaron;":"\u010C","&Ccedil":"\xC7","&Ccedil;":"\xC7","&Ccirc;":"\u0108","&Cconint;":"\u2230","&Cdot;":"\u010A","&Cedilla;":"\xB8","&CenterDot;":"\xB7","&Cfr;":"\u212D","&Chi;":"\u03A7","&CircleDot;":"\u2299","&CircleMinus;":"\u2296","&CirclePlus;":"\u2295","&CircleTimes;":"\u2297","&ClockwiseContourIntegral;":"\u2232","&CloseCurlyDoubleQuote;":"\u201D","&CloseCurlyQuote;":"\u2019","&Colon;":"\u2237","&Colone;":"\u2A74","&Congruent;":"\u2261","&Conint;":"\u222F","&ContourIntegral;":"\u222E","&Copf;":"\u2102","&Coproduct;":"\u2210","&CounterClockwiseContourIntegral;":"\u2233","&Cross;":"\u2A2F","&Cscr;":"\u{1D49E}","&Cup;":"\u22D3","&CupCap;":"\u224D","&DD;":"\u2145","&DDotrahd;":"\u2911","&DJcy;":"\u0402","&DScy;":"\u0405","&DZcy;":"\u040F","&Dagger;":"\u2021","&Darr;":"\u21A1","&Dashv;":"\u2AE4","&Dcaron;":"\u010E","&Dcy;":"\u0414","&Del;":"\u2207","&Delta;":"\u0394","&Dfr;":"\u{1D507}","&DiacriticalAcute;":"\xB4","&DiacriticalDot;":"\u02D9","&DiacriticalDoubleAcute;":"\u02DD","&DiacriticalGrave;":"`","&DiacriticalTilde;":"\u02DC","&Diamond;":"\u22C4","&DifferentialD;":"\u2146","&Dopf;":"\u{1D53B}","&Dot;":"\xA8","&DotDot;":"\u20DC","&DotEqual;":"\u2250","&DoubleContourIntegral;":"\u222F","&DoubleDot;":"\xA8","&DoubleDownArrow;":"\u21D3","&DoubleLeftArrow;":"\u21D0","&DoubleLeftRightArrow;":"\u21D4","&DoubleLeftTee;":"\u2AE4","&DoubleLongLeftArrow;":"\u27F8","&DoubleLongLeftRightArrow;":"\u27FA","&DoubleLongRightArrow;":"\u27F9","&DoubleRightArrow;":"\u21D2","&DoubleRightTee;":"\u22A8","&DoubleUpArrow;":"\u21D1","&DoubleUpDownArrow;":"\u21D5","&DoubleVerticalBar;":"\u2225","&DownArrow;":"\u2193","&DownArrowBar;":"\u2913","&DownArrowUpArrow;":"\u21F5","&DownBreve;":"\u0311","&DownLeftRightVector;":"\u2950","&DownLeftTeeVector;":"\u295E","&DownLeftVector;":"\u21BD","&DownLeftVectorBar;":"\u2956","&DownRightTeeVector;":"\u295F","&DownRightVector;":"\u21C1","&DownRightVectorBar;":"\u2957","&DownTee;":"\u22A4","&DownTeeArrow;":"\u21A7","&Downarrow;":"\u21D3","&Dscr;":"\u{1D49F}","&Dstrok;":"\u0110","&ENG;":"\u014A","&ETH":"\xD0","&ETH;":"\xD0","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecaron;":"\u011A","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Ecy;":"\u042D","&Edot;":"\u0116","&Efr;":"\u{1D508}","&Egrave":"\xC8","&Egrave;":"\xC8","&Element;":"\u2208","&Emacr;":"\u0112","&EmptySmallSquare;":"\u25FB","&EmptyVerySmallSquare;":"\u25AB","&Eogon;":"\u0118","&Eopf;":"\u{1D53C}","&Epsilon;":"\u0395","&Equal;":"\u2A75","&EqualTilde;":"\u2242","&Equilibrium;":"\u21CC","&Escr;":"\u2130","&Esim;":"\u2A73","&Eta;":"\u0397","&Euml":"\xCB","&Euml;":"\xCB","&Exists;":"\u2203","&ExponentialE;":"\u2147","&Fcy;":"\u0424","&Ffr;":"\u{1D509}","&FilledSmallSquare;":"\u25FC","&FilledVerySmallSquare;":"\u25AA","&Fopf;":"\u{1D53D}","&ForAll;":"\u2200","&Fouriertrf;":"\u2131","&Fscr;":"\u2131","&GJcy;":"\u0403","&GT":">","&GT;":">","&Gamma;":"\u0393","&Gammad;":"\u03DC","&Gbreve;":"\u011E","&Gcedil;":"\u0122","&Gcirc;":"\u011C","&Gcy;":"\u0413","&Gdot;":"\u0120","&Gfr;":"\u{1D50A}","&Gg;":"\u22D9","&Gopf;":"\u{1D53E}","&GreaterEqual;":"\u2265","&GreaterEqualLess;":"\u22DB","&GreaterFullEqual;":"\u2267","&GreaterGreater;":"\u2AA2","&GreaterLess;":"\u2277","&GreaterSlantEqual;":"\u2A7E","&GreaterTilde;":"\u2273","&Gscr;":"\u{1D4A2}","&Gt;":"\u226B","&HARDcy;":"\u042A","&Hacek;":"\u02C7","&Hat;":"^","&Hcirc;":"\u0124","&Hfr;":"\u210C","&HilbertSpace;":"\u210B","&Hopf;":"\u210D","&HorizontalLine;":"\u2500","&Hscr;":"\u210B","&Hstrok;":"\u0126","&HumpDownHump;":"\u224E","&HumpEqual;":"\u224F","&IEcy;":"\u0415","&IJlig;":"\u0132","&IOcy;":"\u0401","&Iacute":"\xCD","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Icy;":"\u0418","&Idot;":"\u0130","&Ifr;":"\u2111","&Igrave":"\xCC","&Igrave;":"\xCC","&Im;":"\u2111","&Imacr;":"\u012A","&ImaginaryI;":"\u2148","&Implies;":"\u21D2","&Int;":"\u222C","&Integral;":"\u222B","&Intersection;":"\u22C2","&InvisibleComma;":"\u2063","&InvisibleTimes;":"\u2062","&Iogon;":"\u012E","&Iopf;":"\u{1D540}","&Iota;":"\u0399","&Iscr;":"\u2110","&Itilde;":"\u0128","&Iukcy;":"\u0406","&Iuml":"\xCF","&Iuml;":"\xCF","&Jcirc;":"\u0134","&Jcy;":"\u0419","&Jfr;":"\u{1D50D}","&Jopf;":"\u{1D541}","&Jscr;":"\u{1D4A5}","&Jsercy;":"\u0408","&Jukcy;":"\u0404","&KHcy;":"\u0425","&KJcy;":"\u040C","&Kappa;":"\u039A","&Kcedil;":"\u0136","&Kcy;":"\u041A","&Kfr;":"\u{1D50E}","&Kopf;":"\u{1D542}","&Kscr;":"\u{1D4A6}","&LJcy;":"\u0409","&LT":"<","&LT;":"<","&Lacute;":"\u0139","&Lambda;":"\u039B","&Lang;":"\u27EA","&Laplacetrf;":"\u2112","&Larr;":"\u219E","&Lcaron;":"\u013D","&Lcedil;":"\u013B","&Lcy;":"\u041B","&LeftAngleBracket;":"\u27E8","&LeftArrow;":"\u2190","&LeftArrowBar;":"\u21E4","&LeftArrowRightArrow;":"\u21C6","&LeftCeiling;":"\u2308","&LeftDoubleBracket;":"\u27E6","&LeftDownTeeVector;":"\u2961","&LeftDownVector;":"\u21C3","&LeftDownVectorBar;":"\u2959","&LeftFloor;":"\u230A","&LeftRightArrow;":"\u2194","&LeftRightVector;":"\u294E","&LeftTee;":"\u22A3","&LeftTeeArrow;":"\u21A4","&LeftTeeVector;":"\u295A","&LeftTriangle;":"\u22B2","&LeftTriangleBar;":"\u29CF","&LeftTriangleEqual;":"\u22B4","&LeftUpDownVector;":"\u2951","&LeftUpTeeVector;":"\u2960","&LeftUpVector;":"\u21BF","&LeftUpVectorBar;":"\u2958","&LeftVector;":"\u21BC","&LeftVectorBar;":"\u2952","&Leftarrow;":"\u21D0","&Leftrightarrow;":"\u21D4","&LessEqualGreater;":"\u22DA","&LessFullEqual;":"\u2266","&LessGreater;":"\u2276","&LessLess;":"\u2AA1","&LessSlantEqual;":"\u2A7D","&LessTilde;":"\u2272","&Lfr;":"\u{1D50F}","&Ll;":"\u22D8","&Lleftarrow;":"\u21DA","&Lmidot;":"\u013F","&LongLeftArrow;":"\u27F5","&LongLeftRightArrow;":"\u27F7","&LongRightArrow;":"\u27F6","&Longleftarrow;":"\u27F8","&Longleftrightarrow;":"\u27FA","&Longrightarrow;":"\u27F9","&Lopf;":"\u{1D543}","&LowerLeftArrow;":"\u2199","&LowerRightArrow;":"\u2198","&Lscr;":"\u2112","&Lsh;":"\u21B0","&Lstrok;":"\u0141","&Lt;":"\u226A","&Map;":"\u2905","&Mcy;":"\u041C","&MediumSpace;":"\u205F","&Mellintrf;":"\u2133","&Mfr;":"\u{1D510}","&MinusPlus;":"\u2213","&Mopf;":"\u{1D544}","&Mscr;":"\u2133","&Mu;":"\u039C","&NJcy;":"\u040A","&Nacute;":"\u0143","&Ncaron;":"\u0147","&Ncedil;":"\u0145","&Ncy;":"\u041D","&NegativeMediumSpace;":"\u200B","&NegativeThickSpace;":"\u200B","&NegativeThinSpace;":"\u200B","&NegativeVeryThinSpace;":"\u200B","&NestedGreaterGreater;":"\u226B","&NestedLessLess;":"\u226A","&NewLine;":`
2
- `,"&Nfr;":"\u{1D511}","&NoBreak;":"\u2060","&NonBreakingSpace;":"\xA0","&Nopf;":"\u2115","&Not;":"\u2AEC","&NotCongruent;":"\u2262","&NotCupCap;":"\u226D","&NotDoubleVerticalBar;":"\u2226","&NotElement;":"\u2209","&NotEqual;":"\u2260","&NotEqualTilde;":"\u2242\u0338","&NotExists;":"\u2204","&NotGreater;":"\u226F","&NotGreaterEqual;":"\u2271","&NotGreaterFullEqual;":"\u2267\u0338","&NotGreaterGreater;":"\u226B\u0338","&NotGreaterLess;":"\u2279","&NotGreaterSlantEqual;":"\u2A7E\u0338","&NotGreaterTilde;":"\u2275","&NotHumpDownHump;":"\u224E\u0338","&NotHumpEqual;":"\u224F\u0338","&NotLeftTriangle;":"\u22EA","&NotLeftTriangleBar;":"\u29CF\u0338","&NotLeftTriangleEqual;":"\u22EC","&NotLess;":"\u226E","&NotLessEqual;":"\u2270","&NotLessGreater;":"\u2278","&NotLessLess;":"\u226A\u0338","&NotLessSlantEqual;":"\u2A7D\u0338","&NotLessTilde;":"\u2274","&NotNestedGreaterGreater;":"\u2AA2\u0338","&NotNestedLessLess;":"\u2AA1\u0338","&NotPrecedes;":"\u2280","&NotPrecedesEqual;":"\u2AAF\u0338","&NotPrecedesSlantEqual;":"\u22E0","&NotReverseElement;":"\u220C","&NotRightTriangle;":"\u22EB","&NotRightTriangleBar;":"\u29D0\u0338","&NotRightTriangleEqual;":"\u22ED","&NotSquareSubset;":"\u228F\u0338","&NotSquareSubsetEqual;":"\u22E2","&NotSquareSuperset;":"\u2290\u0338","&NotSquareSupersetEqual;":"\u22E3","&NotSubset;":"\u2282\u20D2","&NotSubsetEqual;":"\u2288","&NotSucceeds;":"\u2281","&NotSucceedsEqual;":"\u2AB0\u0338","&NotSucceedsSlantEqual;":"\u22E1","&NotSucceedsTilde;":"\u227F\u0338","&NotSuperset;":"\u2283\u20D2","&NotSupersetEqual;":"\u2289","&NotTilde;":"\u2241","&NotTildeEqual;":"\u2244","&NotTildeFullEqual;":"\u2247","&NotTildeTilde;":"\u2249","&NotVerticalBar;":"\u2224","&Nscr;":"\u{1D4A9}","&Ntilde":"\xD1","&Ntilde;":"\xD1","&Nu;":"\u039D","&OElig;":"\u0152","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Ocy;":"\u041E","&Odblac;":"\u0150","&Ofr;":"\u{1D512}","&Ograve":"\xD2","&Ograve;":"\xD2","&Omacr;":"\u014C","&Omega;":"\u03A9","&Omicron;":"\u039F","&Oopf;":"\u{1D546}","&OpenCurlyDoubleQuote;":"\u201C","&OpenCurlyQuote;":"\u2018","&Or;":"\u2A54","&Oscr;":"\u{1D4AA}","&Oslash":"\xD8","&Oslash;":"\xD8","&Otilde":"\xD5","&Otilde;":"\xD5","&Otimes;":"\u2A37","&Ouml":"\xD6","&Ouml;":"\xD6","&OverBar;":"\u203E","&OverBrace;":"\u23DE","&OverBracket;":"\u23B4","&OverParenthesis;":"\u23DC","&PartialD;":"\u2202","&Pcy;":"\u041F","&Pfr;":"\u{1D513}","&Phi;":"\u03A6","&Pi;":"\u03A0","&PlusMinus;":"\xB1","&Poincareplane;":"\u210C","&Popf;":"\u2119","&Pr;":"\u2ABB","&Precedes;":"\u227A","&PrecedesEqual;":"\u2AAF","&PrecedesSlantEqual;":"\u227C","&PrecedesTilde;":"\u227E","&Prime;":"\u2033","&Product;":"\u220F","&Proportion;":"\u2237","&Proportional;":"\u221D","&Pscr;":"\u{1D4AB}","&Psi;":"\u03A8","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"\u{1D514}","&Qopf;":"\u211A","&Qscr;":"\u{1D4AC}","&RBarr;":"\u2910","&REG":"\xAE","&REG;":"\xAE","&Racute;":"\u0154","&Rang;":"\u27EB","&Rarr;":"\u21A0","&Rarrtl;":"\u2916","&Rcaron;":"\u0158","&Rcedil;":"\u0156","&Rcy;":"\u0420","&Re;":"\u211C","&ReverseElement;":"\u220B","&ReverseEquilibrium;":"\u21CB","&ReverseUpEquilibrium;":"\u296F","&Rfr;":"\u211C","&Rho;":"\u03A1","&RightAngleBracket;":"\u27E9","&RightArrow;":"\u2192","&RightArrowBar;":"\u21E5","&RightArrowLeftArrow;":"\u21C4","&RightCeiling;":"\u2309","&RightDoubleBracket;":"\u27E7","&RightDownTeeVector;":"\u295D","&RightDownVector;":"\u21C2","&RightDownVectorBar;":"\u2955","&RightFloor;":"\u230B","&RightTee;":"\u22A2","&RightTeeArrow;":"\u21A6","&RightTeeVector;":"\u295B","&RightTriangle;":"\u22B3","&RightTriangleBar;":"\u29D0","&RightTriangleEqual;":"\u22B5","&RightUpDownVector;":"\u294F","&RightUpTeeVector;":"\u295C","&RightUpVector;":"\u21BE","&RightUpVectorBar;":"\u2954","&RightVector;":"\u21C0","&RightVectorBar;":"\u2953","&Rightarrow;":"\u21D2","&Ropf;":"\u211D","&RoundImplies;":"\u2970","&Rrightarrow;":"\u21DB","&Rscr;":"\u211B","&Rsh;":"\u21B1","&RuleDelayed;":"\u29F4","&SHCHcy;":"\u0429","&SHcy;":"\u0428","&SOFTcy;":"\u042C","&Sacute;":"\u015A","&Sc;":"\u2ABC","&Scaron;":"\u0160","&Scedil;":"\u015E","&Scirc;":"\u015C","&Scy;":"\u0421","&Sfr;":"\u{1D516}","&ShortDownArrow;":"\u2193","&ShortLeftArrow;":"\u2190","&ShortRightArrow;":"\u2192","&ShortUpArrow;":"\u2191","&Sigma;":"\u03A3","&SmallCircle;":"\u2218","&Sopf;":"\u{1D54A}","&Sqrt;":"\u221A","&Square;":"\u25A1","&SquareIntersection;":"\u2293","&SquareSubset;":"\u228F","&SquareSubsetEqual;":"\u2291","&SquareSuperset;":"\u2290","&SquareSupersetEqual;":"\u2292","&SquareUnion;":"\u2294","&Sscr;":"\u{1D4AE}","&Star;":"\u22C6","&Sub;":"\u22D0","&Subset;":"\u22D0","&SubsetEqual;":"\u2286","&Succeeds;":"\u227B","&SucceedsEqual;":"\u2AB0","&SucceedsSlantEqual;":"\u227D","&SucceedsTilde;":"\u227F","&SuchThat;":"\u220B","&Sum;":"\u2211","&Sup;":"\u22D1","&Superset;":"\u2283","&SupersetEqual;":"\u2287","&Supset;":"\u22D1","&THORN":"\xDE","&THORN;":"\xDE","&TRADE;":"\u2122","&TSHcy;":"\u040B","&TScy;":"\u0426","&Tab;":" ","&Tau;":"\u03A4","&Tcaron;":"\u0164","&Tcedil;":"\u0162","&Tcy;":"\u0422","&Tfr;":"\u{1D517}","&Therefore;":"\u2234","&Theta;":"\u0398","&ThickSpace;":"\u205F\u200A","&ThinSpace;":"\u2009","&Tilde;":"\u223C","&TildeEqual;":"\u2243","&TildeFullEqual;":"\u2245","&TildeTilde;":"\u2248","&Topf;":"\u{1D54B}","&TripleDot;":"\u20DB","&Tscr;":"\u{1D4AF}","&Tstrok;":"\u0166","&Uacute":"\xDA","&Uacute;":"\xDA","&Uarr;":"\u219F","&Uarrocir;":"\u2949","&Ubrcy;":"\u040E","&Ubreve;":"\u016C","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Ucy;":"\u0423","&Udblac;":"\u0170","&Ufr;":"\u{1D518}","&Ugrave":"\xD9","&Ugrave;":"\xD9","&Umacr;":"\u016A","&UnderBar;":"_","&UnderBrace;":"\u23DF","&UnderBracket;":"\u23B5","&UnderParenthesis;":"\u23DD","&Union;":"\u22C3","&UnionPlus;":"\u228E","&Uogon;":"\u0172","&Uopf;":"\u{1D54C}","&UpArrow;":"\u2191","&UpArrowBar;":"\u2912","&UpArrowDownArrow;":"\u21C5","&UpDownArrow;":"\u2195","&UpEquilibrium;":"\u296E","&UpTee;":"\u22A5","&UpTeeArrow;":"\u21A5","&Uparrow;":"\u21D1","&Updownarrow;":"\u21D5","&UpperLeftArrow;":"\u2196","&UpperRightArrow;":"\u2197","&Upsi;":"\u03D2","&Upsilon;":"\u03A5","&Uring;":"\u016E","&Uscr;":"\u{1D4B0}","&Utilde;":"\u0168","&Uuml":"\xDC","&Uuml;":"\xDC","&VDash;":"\u22AB","&Vbar;":"\u2AEB","&Vcy;":"\u0412","&Vdash;":"\u22A9","&Vdashl;":"\u2AE6","&Vee;":"\u22C1","&Verbar;":"\u2016","&Vert;":"\u2016","&VerticalBar;":"\u2223","&VerticalLine;":"|","&VerticalSeparator;":"\u2758","&VerticalTilde;":"\u2240","&VeryThinSpace;":"\u200A","&Vfr;":"\u{1D519}","&Vopf;":"\u{1D54D}","&Vscr;":"\u{1D4B1}","&Vvdash;":"\u22AA","&Wcirc;":"\u0174","&Wedge;":"\u22C0","&Wfr;":"\u{1D51A}","&Wopf;":"\u{1D54E}","&Wscr;":"\u{1D4B2}","&Xfr;":"\u{1D51B}","&Xi;":"\u039E","&Xopf;":"\u{1D54F}","&Xscr;":"\u{1D4B3}","&YAcy;":"\u042F","&YIcy;":"\u0407","&YUcy;":"\u042E","&Yacute":"\xDD","&Yacute;":"\xDD","&Ycirc;":"\u0176","&Ycy;":"\u042B","&Yfr;":"\u{1D51C}","&Yopf;":"\u{1D550}","&Yscr;":"\u{1D4B4}","&Yuml;":"\u0178","&ZHcy;":"\u0416","&Zacute;":"\u0179","&Zcaron;":"\u017D","&Zcy;":"\u0417","&Zdot;":"\u017B","&ZeroWidthSpace;":"\u200B","&Zeta;":"\u0396","&Zfr;":"\u2128","&Zopf;":"\u2124","&Zscr;":"\u{1D4B5}","&aacute":"\xE1","&aacute;":"\xE1","&abreve;":"\u0103","&ac;":"\u223E","&acE;":"\u223E\u0333","&acd;":"\u223F","&acirc":"\xE2","&acirc;":"\xE2","&acute":"\xB4","&acute;":"\xB4","&acy;":"\u0430","&aelig":"\xE6","&aelig;":"\xE6","&af;":"\u2061","&afr;":"\u{1D51E}","&agrave":"\xE0","&agrave;":"\xE0","&alefsym;":"\u2135","&aleph;":"\u2135","&alpha;":"\u03B1","&amacr;":"\u0101","&amalg;":"\u2A3F","&amp":"&","&amp;":"&","&and;":"\u2227","&andand;":"\u2A55","&andd;":"\u2A5C","&andslope;":"\u2A58","&andv;":"\u2A5A","&ang;":"\u2220","&ange;":"\u29A4","&angle;":"\u2220","&angmsd;":"\u2221","&angmsdaa;":"\u29A8","&angmsdab;":"\u29A9","&angmsdac;":"\u29AA","&angmsdad;":"\u29AB","&angmsdae;":"\u29AC","&angmsdaf;":"\u29AD","&angmsdag;":"\u29AE","&angmsdah;":"\u29AF","&angrt;":"\u221F","&angrtvb;":"\u22BE","&angrtvbd;":"\u299D","&angsph;":"\u2222","&angst;":"\xC5","&angzarr;":"\u237C","&aogon;":"\u0105","&aopf;":"\u{1D552}","&ap;":"\u2248","&apE;":"\u2A70","&apacir;":"\u2A6F","&ape;":"\u224A","&apid;":"\u224B","&apos;":"'","&approx;":"\u2248","&approxeq;":"\u224A","&aring":"\xE5","&aring;":"\xE5","&ascr;":"\u{1D4B6}","&ast;":"*","&asymp;":"\u2248","&asympeq;":"\u224D","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&auml;":"\xE4","&awconint;":"\u2233","&awint;":"\u2A11","&bNot;":"\u2AED","&backcong;":"\u224C","&backepsilon;":"\u03F6","&backprime;":"\u2035","&backsim;":"\u223D","&backsimeq;":"\u22CD","&barvee;":"\u22BD","&barwed;":"\u2305","&barwedge;":"\u2305","&bbrk;":"\u23B5","&bbrktbrk;":"\u23B6","&bcong;":"\u224C","&bcy;":"\u0431","&bdquo;":"\u201E","&becaus;":"\u2235","&because;":"\u2235","&bemptyv;":"\u29B0","&bepsi;":"\u03F6","&bernou;":"\u212C","&beta;":"\u03B2","&beth;":"\u2136","&between;":"\u226C","&bfr;":"\u{1D51F}","&bigcap;":"\u22C2","&bigcirc;":"\u25EF","&bigcup;":"\u22C3","&bigodot;":"\u2A00","&bigoplus;":"\u2A01","&bigotimes;":"\u2A02","&bigsqcup;":"\u2A06","&bigstar;":"\u2605","&bigtriangledown;":"\u25BD","&bigtriangleup;":"\u25B3","&biguplus;":"\u2A04","&bigvee;":"\u22C1","&bigwedge;":"\u22C0","&bkarow;":"\u290D","&blacklozenge;":"\u29EB","&blacksquare;":"\u25AA","&blacktriangle;":"\u25B4","&blacktriangledown;":"\u25BE","&blacktriangleleft;":"\u25C2","&blacktriangleright;":"\u25B8","&blank;":"\u2423","&blk12;":"\u2592","&blk14;":"\u2591","&blk34;":"\u2593","&block;":"\u2588","&bne;":"=\u20E5","&bnequiv;":"\u2261\u20E5","&bnot;":"\u2310","&bopf;":"\u{1D553}","&bot;":"\u22A5","&bottom;":"\u22A5","&bowtie;":"\u22C8","&boxDL;":"\u2557","&boxDR;":"\u2554","&boxDl;":"\u2556","&boxDr;":"\u2553","&boxH;":"\u2550","&boxHD;":"\u2566","&boxHU;":"\u2569","&boxHd;":"\u2564","&boxHu;":"\u2567","&boxUL;":"\u255D","&boxUR;":"\u255A","&boxUl;":"\u255C","&boxUr;":"\u2559","&boxV;":"\u2551","&boxVH;":"\u256C","&boxVL;":"\u2563","&boxVR;":"\u2560","&boxVh;":"\u256B","&boxVl;":"\u2562","&boxVr;":"\u255F","&boxbox;":"\u29C9","&boxdL;":"\u2555","&boxdR;":"\u2552","&boxdl;":"\u2510","&boxdr;":"\u250C","&boxh;":"\u2500","&boxhD;":"\u2565","&boxhU;":"\u2568","&boxhd;":"\u252C","&boxhu;":"\u2534","&boxminus;":"\u229F","&boxplus;":"\u229E","&boxtimes;":"\u22A0","&boxuL;":"\u255B","&boxuR;":"\u2558","&boxul;":"\u2518","&boxur;":"\u2514","&boxv;":"\u2502","&boxvH;":"\u256A","&boxvL;":"\u2561","&boxvR;":"\u255E","&boxvh;":"\u253C","&boxvl;":"\u2524","&boxvr;":"\u251C","&bprime;":"\u2035","&breve;":"\u02D8","&brvbar":"\xA6","&brvbar;":"\xA6","&bscr;":"\u{1D4B7}","&bsemi;":"\u204F","&bsim;":"\u223D","&bsime;":"\u22CD","&bsol;":"\\","&bsolb;":"\u29C5","&bsolhsub;":"\u27C8","&bull;":"\u2022","&bullet;":"\u2022","&bump;":"\u224E","&bumpE;":"\u2AAE","&bumpe;":"\u224F","&bumpeq;":"\u224F","&cacute;":"\u0107","&cap;":"\u2229","&capand;":"\u2A44","&capbrcup;":"\u2A49","&capcap;":"\u2A4B","&capcup;":"\u2A47","&capdot;":"\u2A40","&caps;":"\u2229\uFE00","&caret;":"\u2041","&caron;":"\u02C7","&ccaps;":"\u2A4D","&ccaron;":"\u010D","&ccedil":"\xE7","&ccedil;":"\xE7","&ccirc;":"\u0109","&ccups;":"\u2A4C","&ccupssm;":"\u2A50","&cdot;":"\u010B","&cedil":"\xB8","&cedil;":"\xB8","&cemptyv;":"\u29B2","&cent":"\xA2","&cent;":"\xA2","&centerdot;":"\xB7","&cfr;":"\u{1D520}","&chcy;":"\u0447","&check;":"\u2713","&checkmark;":"\u2713","&chi;":"\u03C7","&cir;":"\u25CB","&cirE;":"\u29C3","&circ;":"\u02C6","&circeq;":"\u2257","&circlearrowleft;":"\u21BA","&circlearrowright;":"\u21BB","&circledR;":"\xAE","&circledS;":"\u24C8","&circledast;":"\u229B","&circledcirc;":"\u229A","&circleddash;":"\u229D","&cire;":"\u2257","&cirfnint;":"\u2A10","&cirmid;":"\u2AEF","&cirscir;":"\u29C2","&clubs;":"\u2663","&clubsuit;":"\u2663","&colon;":":","&colone;":"\u2254","&coloneq;":"\u2254","&comma;":",","&commat;":"@","&comp;":"\u2201","&compfn;":"\u2218","&complement;":"\u2201","&complexes;":"\u2102","&cong;":"\u2245","&congdot;":"\u2A6D","&conint;":"\u222E","&copf;":"\u{1D554}","&coprod;":"\u2210","&copy":"\xA9","&copy;":"\xA9","&copysr;":"\u2117","&crarr;":"\u21B5","&cross;":"\u2717","&cscr;":"\u{1D4B8}","&csub;":"\u2ACF","&csube;":"\u2AD1","&csup;":"\u2AD0","&csupe;":"\u2AD2","&ctdot;":"\u22EF","&cudarrl;":"\u2938","&cudarrr;":"\u2935","&cuepr;":"\u22DE","&cuesc;":"\u22DF","&cularr;":"\u21B6","&cularrp;":"\u293D","&cup;":"\u222A","&cupbrcap;":"\u2A48","&cupcap;":"\u2A46","&cupcup;":"\u2A4A","&cupdot;":"\u228D","&cupor;":"\u2A45","&cups;":"\u222A\uFE00","&curarr;":"\u21B7","&curarrm;":"\u293C","&curlyeqprec;":"\u22DE","&curlyeqsucc;":"\u22DF","&curlyvee;":"\u22CE","&curlywedge;":"\u22CF","&curren":"\xA4","&curren;":"\xA4","&curvearrowleft;":"\u21B6","&curvearrowright;":"\u21B7","&cuvee;":"\u22CE","&cuwed;":"\u22CF","&cwconint;":"\u2232","&cwint;":"\u2231","&cylcty;":"\u232D","&dArr;":"\u21D3","&dHar;":"\u2965","&dagger;":"\u2020","&daleth;":"\u2138","&darr;":"\u2193","&dash;":"\u2010","&dashv;":"\u22A3","&dbkarow;":"\u290F","&dblac;":"\u02DD","&dcaron;":"\u010F","&dcy;":"\u0434","&dd;":"\u2146","&ddagger;":"\u2021","&ddarr;":"\u21CA","&ddotseq;":"\u2A77","&deg":"\xB0","&deg;":"\xB0","&delta;":"\u03B4","&demptyv;":"\u29B1","&dfisht;":"\u297F","&dfr;":"\u{1D521}","&dharl;":"\u21C3","&dharr;":"\u21C2","&diam;":"\u22C4","&diamond;":"\u22C4","&diamondsuit;":"\u2666","&diams;":"\u2666","&die;":"\xA8","&digamma;":"\u03DD","&disin;":"\u22F2","&div;":"\xF7","&divide":"\xF7","&divide;":"\xF7","&divideontimes;":"\u22C7","&divonx;":"\u22C7","&djcy;":"\u0452","&dlcorn;":"\u231E","&dlcrop;":"\u230D","&dollar;":"$","&dopf;":"\u{1D555}","&dot;":"\u02D9","&doteq;":"\u2250","&doteqdot;":"\u2251","&dotminus;":"\u2238","&dotplus;":"\u2214","&dotsquare;":"\u22A1","&doublebarwedge;":"\u2306","&downarrow;":"\u2193","&downdownarrows;":"\u21CA","&downharpoonleft;":"\u21C3","&downharpoonright;":"\u21C2","&drbkarow;":"\u2910","&drcorn;":"\u231F","&drcrop;":"\u230C","&dscr;":"\u{1D4B9}","&dscy;":"\u0455","&dsol;":"\u29F6","&dstrok;":"\u0111","&dtdot;":"\u22F1","&dtri;":"\u25BF","&dtrif;":"\u25BE","&duarr;":"\u21F5","&duhar;":"\u296F","&dwangle;":"\u29A6","&dzcy;":"\u045F","&dzigrarr;":"\u27FF","&eDDot;":"\u2A77","&eDot;":"\u2251","&eacute":"\xE9","&eacute;":"\xE9","&easter;":"\u2A6E","&ecaron;":"\u011B","&ecir;":"\u2256","&ecirc":"\xEA","&ecirc;":"\xEA","&ecolon;":"\u2255","&ecy;":"\u044D","&edot;":"\u0117","&ee;":"\u2147","&efDot;":"\u2252","&efr;":"\u{1D522}","&eg;":"\u2A9A","&egrave":"\xE8","&egrave;":"\xE8","&egs;":"\u2A96","&egsdot;":"\u2A98","&el;":"\u2A99","&elinters;":"\u23E7","&ell;":"\u2113","&els;":"\u2A95","&elsdot;":"\u2A97","&emacr;":"\u0113","&empty;":"\u2205","&emptyset;":"\u2205","&emptyv;":"\u2205","&emsp13;":"\u2004","&emsp14;":"\u2005","&emsp;":"\u2003","&eng;":"\u014B","&ensp;":"\u2002","&eogon;":"\u0119","&eopf;":"\u{1D556}","&epar;":"\u22D5","&eparsl;":"\u29E3","&eplus;":"\u2A71","&epsi;":"\u03B5","&epsilon;":"\u03B5","&epsiv;":"\u03F5","&eqcirc;":"\u2256","&eqcolon;":"\u2255","&eqsim;":"\u2242","&eqslantgtr;":"\u2A96","&eqslantless;":"\u2A95","&equals;":"=","&equest;":"\u225F","&equiv;":"\u2261","&equivDD;":"\u2A78","&eqvparsl;":"\u29E5","&erDot;":"\u2253","&erarr;":"\u2971","&escr;":"\u212F","&esdot;":"\u2250","&esim;":"\u2242","&eta;":"\u03B7","&eth":"\xF0","&eth;":"\xF0","&euml":"\xEB","&euml;":"\xEB","&euro;":"\u20AC","&excl;":"!","&exist;":"\u2203","&expectation;":"\u2130","&exponentiale;":"\u2147","&fallingdotseq;":"\u2252","&fcy;":"\u0444","&female;":"\u2640","&ffilig;":"\uFB03","&fflig;":"\uFB00","&ffllig;":"\uFB04","&ffr;":"\u{1D523}","&filig;":"\uFB01","&fjlig;":"fj","&flat;":"\u266D","&fllig;":"\uFB02","&fltns;":"\u25B1","&fnof;":"\u0192","&fopf;":"\u{1D557}","&forall;":"\u2200","&fork;":"\u22D4","&forkv;":"\u2AD9","&fpartint;":"\u2A0D","&frac12":"\xBD","&frac12;":"\xBD","&frac13;":"\u2153","&frac14":"\xBC","&frac14;":"\xBC","&frac15;":"\u2155","&frac16;":"\u2159","&frac18;":"\u215B","&frac23;":"\u2154","&frac25;":"\u2156","&frac34":"\xBE","&frac34;":"\xBE","&frac35;":"\u2157","&frac38;":"\u215C","&frac45;":"\u2158","&frac56;":"\u215A","&frac58;":"\u215D","&frac78;":"\u215E","&frasl;":"\u2044","&frown;":"\u2322","&fscr;":"\u{1D4BB}","&gE;":"\u2267","&gEl;":"\u2A8C","&gacute;":"\u01F5","&gamma;":"\u03B3","&gammad;":"\u03DD","&gap;":"\u2A86","&gbreve;":"\u011F","&gcirc;":"\u011D","&gcy;":"\u0433","&gdot;":"\u0121","&ge;":"\u2265","&gel;":"\u22DB","&geq;":"\u2265","&geqq;":"\u2267","&geqslant;":"\u2A7E","&ges;":"\u2A7E","&gescc;":"\u2AA9","&gesdot;":"\u2A80","&gesdoto;":"\u2A82","&gesdotol;":"\u2A84","&gesl;":"\u22DB\uFE00","&gesles;":"\u2A94","&gfr;":"\u{1D524}","&gg;":"\u226B","&ggg;":"\u22D9","&gimel;":"\u2137","&gjcy;":"\u0453","&gl;":"\u2277","&glE;":"\u2A92","&gla;":"\u2AA5","&glj;":"\u2AA4","&gnE;":"\u2269","&gnap;":"\u2A8A","&gnapprox;":"\u2A8A","&gne;":"\u2A88","&gneq;":"\u2A88","&gneqq;":"\u2269","&gnsim;":"\u22E7","&gopf;":"\u{1D558}","&grave;":"`","&gscr;":"\u210A","&gsim;":"\u2273","&gsime;":"\u2A8E","&gsiml;":"\u2A90","&gt":">","&gt;":">","&gtcc;":"\u2AA7","&gtcir;":"\u2A7A","&gtdot;":"\u22D7","&gtlPar;":"\u2995","&gtquest;":"\u2A7C","&gtrapprox;":"\u2A86","&gtrarr;":"\u2978","&gtrdot;":"\u22D7","&gtreqless;":"\u22DB","&gtreqqless;":"\u2A8C","&gtrless;":"\u2277","&gtrsim;":"\u2273","&gvertneqq;":"\u2269\uFE00","&gvnE;":"\u2269\uFE00","&hArr;":"\u21D4","&hairsp;":"\u200A","&half;":"\xBD","&hamilt;":"\u210B","&hardcy;":"\u044A","&harr;":"\u2194","&harrcir;":"\u2948","&harrw;":"\u21AD","&hbar;":"\u210F","&hcirc;":"\u0125","&hearts;":"\u2665","&heartsuit;":"\u2665","&hellip;":"\u2026","&hercon;":"\u22B9","&hfr;":"\u{1D525}","&hksearow;":"\u2925","&hkswarow;":"\u2926","&hoarr;":"\u21FF","&homtht;":"\u223B","&hookleftarrow;":"\u21A9","&hookrightarrow;":"\u21AA","&hopf;":"\u{1D559}","&horbar;":"\u2015","&hscr;":"\u{1D4BD}","&hslash;":"\u210F","&hstrok;":"\u0127","&hybull;":"\u2043","&hyphen;":"\u2010","&iacute":"\xED","&iacute;":"\xED","&ic;":"\u2063","&icirc":"\xEE","&icirc;":"\xEE","&icy;":"\u0438","&iecy;":"\u0435","&iexcl":"\xA1","&iexcl;":"\xA1","&iff;":"\u21D4","&ifr;":"\u{1D526}","&igrave":"\xEC","&igrave;":"\xEC","&ii;":"\u2148","&iiiint;":"\u2A0C","&iiint;":"\u222D","&iinfin;":"\u29DC","&iiota;":"\u2129","&ijlig;":"\u0133","&imacr;":"\u012B","&image;":"\u2111","&imagline;":"\u2110","&imagpart;":"\u2111","&imath;":"\u0131","&imof;":"\u22B7","&imped;":"\u01B5","&in;":"\u2208","&incare;":"\u2105","&infin;":"\u221E","&infintie;":"\u29DD","&inodot;":"\u0131","&int;":"\u222B","&intcal;":"\u22BA","&integers;":"\u2124","&intercal;":"\u22BA","&intlarhk;":"\u2A17","&intprod;":"\u2A3C","&iocy;":"\u0451","&iogon;":"\u012F","&iopf;":"\u{1D55A}","&iota;":"\u03B9","&iprod;":"\u2A3C","&iquest":"\xBF","&iquest;":"\xBF","&iscr;":"\u{1D4BE}","&isin;":"\u2208","&isinE;":"\u22F9","&isindot;":"\u22F5","&isins;":"\u22F4","&isinsv;":"\u22F3","&isinv;":"\u2208","&it;":"\u2062","&itilde;":"\u0129","&iukcy;":"\u0456","&iuml":"\xEF","&iuml;":"\xEF","&jcirc;":"\u0135","&jcy;":"\u0439","&jfr;":"\u{1D527}","&jmath;":"\u0237","&jopf;":"\u{1D55B}","&jscr;":"\u{1D4BF}","&jsercy;":"\u0458","&jukcy;":"\u0454","&kappa;":"\u03BA","&kappav;":"\u03F0","&kcedil;":"\u0137","&kcy;":"\u043A","&kfr;":"\u{1D528}","&kgreen;":"\u0138","&khcy;":"\u0445","&kjcy;":"\u045C","&kopf;":"\u{1D55C}","&kscr;":"\u{1D4C0}","&lAarr;":"\u21DA","&lArr;":"\u21D0","&lAtail;":"\u291B","&lBarr;":"\u290E","&lE;":"\u2266","&lEg;":"\u2A8B","&lHar;":"\u2962","&lacute;":"\u013A","&laemptyv;":"\u29B4","&lagran;":"\u2112","&lambda;":"\u03BB","&lang;":"\u27E8","&langd;":"\u2991","&langle;":"\u27E8","&lap;":"\u2A85","&laquo":"\xAB","&laquo;":"\xAB","&larr;":"\u2190","&larrb;":"\u21E4","&larrbfs;":"\u291F","&larrfs;":"\u291D","&larrhk;":"\u21A9","&larrlp;":"\u21AB","&larrpl;":"\u2939","&larrsim;":"\u2973","&larrtl;":"\u21A2","&lat;":"\u2AAB","&latail;":"\u2919","&late;":"\u2AAD","&lates;":"\u2AAD\uFE00","&lbarr;":"\u290C","&lbbrk;":"\u2772","&lbrace;":"{","&lbrack;":"[","&lbrke;":"\u298B","&lbrksld;":"\u298F","&lbrkslu;":"\u298D","&lcaron;":"\u013E","&lcedil;":"\u013C","&lceil;":"\u2308","&lcub;":"{","&lcy;":"\u043B","&ldca;":"\u2936","&ldquo;":"\u201C","&ldquor;":"\u201E","&ldrdhar;":"\u2967","&ldrushar;":"\u294B","&ldsh;":"\u21B2","&le;":"\u2264","&leftarrow;":"\u2190","&leftarrowtail;":"\u21A2","&leftharpoondown;":"\u21BD","&leftharpoonup;":"\u21BC","&leftleftarrows;":"\u21C7","&leftrightarrow;":"\u2194","&leftrightarrows;":"\u21C6","&leftrightharpoons;":"\u21CB","&leftrightsquigarrow;":"\u21AD","&leftthreetimes;":"\u22CB","&leg;":"\u22DA","&leq;":"\u2264","&leqq;":"\u2266","&leqslant;":"\u2A7D","&les;":"\u2A7D","&lescc;":"\u2AA8","&lesdot;":"\u2A7F","&lesdoto;":"\u2A81","&lesdotor;":"\u2A83","&lesg;":"\u22DA\uFE00","&lesges;":"\u2A93","&lessapprox;":"\u2A85","&lessdot;":"\u22D6","&lesseqgtr;":"\u22DA","&lesseqqgtr;":"\u2A8B","&lessgtr;":"\u2276","&lesssim;":"\u2272","&lfisht;":"\u297C","&lfloor;":"\u230A","&lfr;":"\u{1D529}","&lg;":"\u2276","&lgE;":"\u2A91","&lhard;":"\u21BD","&lharu;":"\u21BC","&lharul;":"\u296A","&lhblk;":"\u2584","&ljcy;":"\u0459","&ll;":"\u226A","&llarr;":"\u21C7","&llcorner;":"\u231E","&llhard;":"\u296B","&lltri;":"\u25FA","&lmidot;":"\u0140","&lmoust;":"\u23B0","&lmoustache;":"\u23B0","&lnE;":"\u2268","&lnap;":"\u2A89","&lnapprox;":"\u2A89","&lne;":"\u2A87","&lneq;":"\u2A87","&lneqq;":"\u2268","&lnsim;":"\u22E6","&loang;":"\u27EC","&loarr;":"\u21FD","&lobrk;":"\u27E6","&longleftarrow;":"\u27F5","&longleftrightarrow;":"\u27F7","&longmapsto;":"\u27FC","&longrightarrow;":"\u27F6","&looparrowleft;":"\u21AB","&looparrowright;":"\u21AC","&lopar;":"\u2985","&lopf;":"\u{1D55D}","&loplus;":"\u2A2D","&lotimes;":"\u2A34","&lowast;":"\u2217","&lowbar;":"_","&loz;":"\u25CA","&lozenge;":"\u25CA","&lozf;":"\u29EB","&lpar;":"(","&lparlt;":"\u2993","&lrarr;":"\u21C6","&lrcorner;":"\u231F","&lrhar;":"\u21CB","&lrhard;":"\u296D","&lrm;":"\u200E","&lrtri;":"\u22BF","&lsaquo;":"\u2039","&lscr;":"\u{1D4C1}","&lsh;":"\u21B0","&lsim;":"\u2272","&lsime;":"\u2A8D","&lsimg;":"\u2A8F","&lsqb;":"[","&lsquo;":"\u2018","&lsquor;":"\u201A","&lstrok;":"\u0142","&lt":"<","&lt;":"<","&ltcc;":"\u2AA6","&ltcir;":"\u2A79","&ltdot;":"\u22D6","&lthree;":"\u22CB","&ltimes;":"\u22C9","&ltlarr;":"\u2976","&ltquest;":"\u2A7B","&ltrPar;":"\u2996","&ltri;":"\u25C3","&ltrie;":"\u22B4","&ltrif;":"\u25C2","&lurdshar;":"\u294A","&luruhar;":"\u2966","&lvertneqq;":"\u2268\uFE00","&lvnE;":"\u2268\uFE00","&mDDot;":"\u223A","&macr":"\xAF","&macr;":"\xAF","&male;":"\u2642","&malt;":"\u2720","&maltese;":"\u2720","&map;":"\u21A6","&mapsto;":"\u21A6","&mapstodown;":"\u21A7","&mapstoleft;":"\u21A4","&mapstoup;":"\u21A5","&marker;":"\u25AE","&mcomma;":"\u2A29","&mcy;":"\u043C","&mdash;":"\u2014","&measuredangle;":"\u2221","&mfr;":"\u{1D52A}","&mho;":"\u2127","&micro":"\xB5","&micro;":"\xB5","&mid;":"\u2223","&midast;":"*","&midcir;":"\u2AF0","&middot":"\xB7","&middot;":"\xB7","&minus;":"\u2212","&minusb;":"\u229F","&minusd;":"\u2238","&minusdu;":"\u2A2A","&mlcp;":"\u2ADB","&mldr;":"\u2026","&mnplus;":"\u2213","&models;":"\u22A7","&mopf;":"\u{1D55E}","&mp;":"\u2213","&mscr;":"\u{1D4C2}","&mstpos;":"\u223E","&mu;":"\u03BC","&multimap;":"\u22B8","&mumap;":"\u22B8","&nGg;":"\u22D9\u0338","&nGt;":"\u226B\u20D2","&nGtv;":"\u226B\u0338","&nLeftarrow;":"\u21CD","&nLeftrightarrow;":"\u21CE","&nLl;":"\u22D8\u0338","&nLt;":"\u226A\u20D2","&nLtv;":"\u226A\u0338","&nRightarrow;":"\u21CF","&nVDash;":"\u22AF","&nVdash;":"\u22AE","&nabla;":"\u2207","&nacute;":"\u0144","&nang;":"\u2220\u20D2","&nap;":"\u2249","&napE;":"\u2A70\u0338","&napid;":"\u224B\u0338","&napos;":"\u0149","&napprox;":"\u2249","&natur;":"\u266E","&natural;":"\u266E","&naturals;":"\u2115","&nbsp":"\xA0","&nbsp;":"\xA0","&nbump;":"\u224E\u0338","&nbumpe;":"\u224F\u0338","&ncap;":"\u2A43","&ncaron;":"\u0148","&ncedil;":"\u0146","&ncong;":"\u2247","&ncongdot;":"\u2A6D\u0338","&ncup;":"\u2A42","&ncy;":"\u043D","&ndash;":"\u2013","&ne;":"\u2260","&neArr;":"\u21D7","&nearhk;":"\u2924","&nearr;":"\u2197","&nearrow;":"\u2197","&nedot;":"\u2250\u0338","&nequiv;":"\u2262","&nesear;":"\u2928","&nesim;":"\u2242\u0338","&nexist;":"\u2204","&nexists;":"\u2204","&nfr;":"\u{1D52B}","&ngE;":"\u2267\u0338","&nge;":"\u2271","&ngeq;":"\u2271","&ngeqq;":"\u2267\u0338","&ngeqslant;":"\u2A7E\u0338","&nges;":"\u2A7E\u0338","&ngsim;":"\u2275","&ngt;":"\u226F","&ngtr;":"\u226F","&nhArr;":"\u21CE","&nharr;":"\u21AE","&nhpar;":"\u2AF2","&ni;":"\u220B","&nis;":"\u22FC","&nisd;":"\u22FA","&niv;":"\u220B","&njcy;":"\u045A","&nlArr;":"\u21CD","&nlE;":"\u2266\u0338","&nlarr;":"\u219A","&nldr;":"\u2025","&nle;":"\u2270","&nleftarrow;":"\u219A","&nleftrightarrow;":"\u21AE","&nleq;":"\u2270","&nleqq;":"\u2266\u0338","&nleqslant;":"\u2A7D\u0338","&nles;":"\u2A7D\u0338","&nless;":"\u226E","&nlsim;":"\u2274","&nlt;":"\u226E","&nltri;":"\u22EA","&nltrie;":"\u22EC","&nmid;":"\u2224","&nopf;":"\u{1D55F}","&not":"\xAC","&not;":"\xAC","&notin;":"\u2209","&notinE;":"\u22F9\u0338","&notindot;":"\u22F5\u0338","&notinva;":"\u2209","&notinvb;":"\u22F7","&notinvc;":"\u22F6","&notni;":"\u220C","&notniva;":"\u220C","&notnivb;":"\u22FE","&notnivc;":"\u22FD","&npar;":"\u2226","&nparallel;":"\u2226","&nparsl;":"\u2AFD\u20E5","&npart;":"\u2202\u0338","&npolint;":"\u2A14","&npr;":"\u2280","&nprcue;":"\u22E0","&npre;":"\u2AAF\u0338","&nprec;":"\u2280","&npreceq;":"\u2AAF\u0338","&nrArr;":"\u21CF","&nrarr;":"\u219B","&nrarrc;":"\u2933\u0338","&nrarrw;":"\u219D\u0338","&nrightarrow;":"\u219B","&nrtri;":"\u22EB","&nrtrie;":"\u22ED","&nsc;":"\u2281","&nsccue;":"\u22E1","&nsce;":"\u2AB0\u0338","&nscr;":"\u{1D4C3}","&nshortmid;":"\u2224","&nshortparallel;":"\u2226","&nsim;":"\u2241","&nsime;":"\u2244","&nsimeq;":"\u2244","&nsmid;":"\u2224","&nspar;":"\u2226","&nsqsube;":"\u22E2","&nsqsupe;":"\u22E3","&nsub;":"\u2284","&nsubE;":"\u2AC5\u0338","&nsube;":"\u2288","&nsubset;":"\u2282\u20D2","&nsubseteq;":"\u2288","&nsubseteqq;":"\u2AC5\u0338","&nsucc;":"\u2281","&nsucceq;":"\u2AB0\u0338","&nsup;":"\u2285","&nsupE;":"\u2AC6\u0338","&nsupe;":"\u2289","&nsupset;":"\u2283\u20D2","&nsupseteq;":"\u2289","&nsupseteqq;":"\u2AC6\u0338","&ntgl;":"\u2279","&ntilde":"\xF1","&ntilde;":"\xF1","&ntlg;":"\u2278","&ntriangleleft;":"\u22EA","&ntrianglelefteq;":"\u22EC","&ntriangleright;":"\u22EB","&ntrianglerighteq;":"\u22ED","&nu;":"\u03BD","&num;":"#","&numero;":"\u2116","&numsp;":"\u2007","&nvDash;":"\u22AD","&nvHarr;":"\u2904","&nvap;":"\u224D\u20D2","&nvdash;":"\u22AC","&nvge;":"\u2265\u20D2","&nvgt;":">\u20D2","&nvinfin;":"\u29DE","&nvlArr;":"\u2902","&nvle;":"\u2264\u20D2","&nvlt;":"<\u20D2","&nvltrie;":"\u22B4\u20D2","&nvrArr;":"\u2903","&nvrtrie;":"\u22B5\u20D2","&nvsim;":"\u223C\u20D2","&nwArr;":"\u21D6","&nwarhk;":"\u2923","&nwarr;":"\u2196","&nwarrow;":"\u2196","&nwnear;":"\u2927","&oS;":"\u24C8","&oacute":"\xF3","&oacute;":"\xF3","&oast;":"\u229B","&ocir;":"\u229A","&ocirc":"\xF4","&ocirc;":"\xF4","&ocy;":"\u043E","&odash;":"\u229D","&odblac;":"\u0151","&odiv;":"\u2A38","&odot;":"\u2299","&odsold;":"\u29BC","&oelig;":"\u0153","&ofcir;":"\u29BF","&ofr;":"\u{1D52C}","&ogon;":"\u02DB","&ograve":"\xF2","&ograve;":"\xF2","&ogt;":"\u29C1","&ohbar;":"\u29B5","&ohm;":"\u03A9","&oint;":"\u222E","&olarr;":"\u21BA","&olcir;":"\u29BE","&olcross;":"\u29BB","&oline;":"\u203E","&olt;":"\u29C0","&omacr;":"\u014D","&omega;":"\u03C9","&omicron;":"\u03BF","&omid;":"\u29B6","&ominus;":"\u2296","&oopf;":"\u{1D560}","&opar;":"\u29B7","&operp;":"\u29B9","&oplus;":"\u2295","&or;":"\u2228","&orarr;":"\u21BB","&ord;":"\u2A5D","&order;":"\u2134","&orderof;":"\u2134","&ordf":"\xAA","&ordf;":"\xAA","&ordm":"\xBA","&ordm;":"\xBA","&origof;":"\u22B6","&oror;":"\u2A56","&orslope;":"\u2A57","&orv;":"\u2A5B","&oscr;":"\u2134","&oslash":"\xF8","&oslash;":"\xF8","&osol;":"\u2298","&otilde":"\xF5","&otilde;":"\xF5","&otimes;":"\u2297","&otimesas;":"\u2A36","&ouml":"\xF6","&ouml;":"\xF6","&ovbar;":"\u233D","&par;":"\u2225","&para":"\xB6","&para;":"\xB6","&parallel;":"\u2225","&parsim;":"\u2AF3","&parsl;":"\u2AFD","&part;":"\u2202","&pcy;":"\u043F","&percnt;":"%","&period;":".","&permil;":"\u2030","&perp;":"\u22A5","&pertenk;":"\u2031","&pfr;":"\u{1D52D}","&phi;":"\u03C6","&phiv;":"\u03D5","&phmmat;":"\u2133","&phone;":"\u260E","&pi;":"\u03C0","&pitchfork;":"\u22D4","&piv;":"\u03D6","&planck;":"\u210F","&planckh;":"\u210E","&plankv;":"\u210F","&plus;":"+","&plusacir;":"\u2A23","&plusb;":"\u229E","&pluscir;":"\u2A22","&plusdo;":"\u2214","&plusdu;":"\u2A25","&pluse;":"\u2A72","&plusmn":"\xB1","&plusmn;":"\xB1","&plussim;":"\u2A26","&plustwo;":"\u2A27","&pm;":"\xB1","&pointint;":"\u2A15","&popf;":"\u{1D561}","&pound":"\xA3","&pound;":"\xA3","&pr;":"\u227A","&prE;":"\u2AB3","&prap;":"\u2AB7","&prcue;":"\u227C","&pre;":"\u2AAF","&prec;":"\u227A","&precapprox;":"\u2AB7","&preccurlyeq;":"\u227C","&preceq;":"\u2AAF","&precnapprox;":"\u2AB9","&precneqq;":"\u2AB5","&precnsim;":"\u22E8","&precsim;":"\u227E","&prime;":"\u2032","&primes;":"\u2119","&prnE;":"\u2AB5","&prnap;":"\u2AB9","&prnsim;":"\u22E8","&prod;":"\u220F","&profalar;":"\u232E","&profline;":"\u2312","&profsurf;":"\u2313","&prop;":"\u221D","&propto;":"\u221D","&prsim;":"\u227E","&prurel;":"\u22B0","&pscr;":"\u{1D4C5}","&psi;":"\u03C8","&puncsp;":"\u2008","&qfr;":"\u{1D52E}","&qint;":"\u2A0C","&qopf;":"\u{1D562}","&qprime;":"\u2057","&qscr;":"\u{1D4C6}","&quaternions;":"\u210D","&quatint;":"\u2A16","&quest;":"?","&questeq;":"\u225F","&quot":'"',"&quot;":'"',"&rAarr;":"\u21DB","&rArr;":"\u21D2","&rAtail;":"\u291C","&rBarr;":"\u290F","&rHar;":"\u2964","&race;":"\u223D\u0331","&racute;":"\u0155","&radic;":"\u221A","&raemptyv;":"\u29B3","&rang;":"\u27E9","&rangd;":"\u2992","&range;":"\u29A5","&rangle;":"\u27E9","&raquo":"\xBB","&raquo;":"\xBB","&rarr;":"\u2192","&rarrap;":"\u2975","&rarrb;":"\u21E5","&rarrbfs;":"\u2920","&rarrc;":"\u2933","&rarrfs;":"\u291E","&rarrhk;":"\u21AA","&rarrlp;":"\u21AC","&rarrpl;":"\u2945","&rarrsim;":"\u2974","&rarrtl;":"\u21A3","&rarrw;":"\u219D","&ratail;":"\u291A","&ratio;":"\u2236","&rationals;":"\u211A","&rbarr;":"\u290D","&rbbrk;":"\u2773","&rbrace;":"}","&rbrack;":"]","&rbrke;":"\u298C","&rbrksld;":"\u298E","&rbrkslu;":"\u2990","&rcaron;":"\u0159","&rcedil;":"\u0157","&rceil;":"\u2309","&rcub;":"}","&rcy;":"\u0440","&rdca;":"\u2937","&rdldhar;":"\u2969","&rdquo;":"\u201D","&rdquor;":"\u201D","&rdsh;":"\u21B3","&real;":"\u211C","&realine;":"\u211B","&realpart;":"\u211C","&reals;":"\u211D","&rect;":"\u25AD","&reg":"\xAE","&reg;":"\xAE","&rfisht;":"\u297D","&rfloor;":"\u230B","&rfr;":"\u{1D52F}","&rhard;":"\u21C1","&rharu;":"\u21C0","&rharul;":"\u296C","&rho;":"\u03C1","&rhov;":"\u03F1","&rightarrow;":"\u2192","&rightarrowtail;":"\u21A3","&rightharpoondown;":"\u21C1","&rightharpoonup;":"\u21C0","&rightleftarrows;":"\u21C4","&rightleftharpoons;":"\u21CC","&rightrightarrows;":"\u21C9","&rightsquigarrow;":"\u219D","&rightthreetimes;":"\u22CC","&ring;":"\u02DA","&risingdotseq;":"\u2253","&rlarr;":"\u21C4","&rlhar;":"\u21CC","&rlm;":"\u200F","&rmoust;":"\u23B1","&rmoustache;":"\u23B1","&rnmid;":"\u2AEE","&roang;":"\u27ED","&roarr;":"\u21FE","&robrk;":"\u27E7","&ropar;":"\u2986","&ropf;":"\u{1D563}","&roplus;":"\u2A2E","&rotimes;":"\u2A35","&rpar;":")","&rpargt;":"\u2994","&rppolint;":"\u2A12","&rrarr;":"\u21C9","&rsaquo;":"\u203A","&rscr;":"\u{1D4C7}","&rsh;":"\u21B1","&rsqb;":"]","&rsquo;":"\u2019","&rsquor;":"\u2019","&rthree;":"\u22CC","&rtimes;":"\u22CA","&rtri;":"\u25B9","&rtrie;":"\u22B5","&rtrif;":"\u25B8","&rtriltri;":"\u29CE","&ruluhar;":"\u2968","&rx;":"\u211E","&sacute;":"\u015B","&sbquo;":"\u201A","&sc;":"\u227B","&scE;":"\u2AB4","&scap;":"\u2AB8","&scaron;":"\u0161","&sccue;":"\u227D","&sce;":"\u2AB0","&scedil;":"\u015F","&scirc;":"\u015D","&scnE;":"\u2AB6","&scnap;":"\u2ABA","&scnsim;":"\u22E9","&scpolint;":"\u2A13","&scsim;":"\u227F","&scy;":"\u0441","&sdot;":"\u22C5","&sdotb;":"\u22A1","&sdote;":"\u2A66","&seArr;":"\u21D8","&searhk;":"\u2925","&searr;":"\u2198","&searrow;":"\u2198","&sect":"\xA7","&sect;":"\xA7","&semi;":";","&seswar;":"\u2929","&setminus;":"\u2216","&setmn;":"\u2216","&sext;":"\u2736","&sfr;":"\u{1D530}","&sfrown;":"\u2322","&sharp;":"\u266F","&shchcy;":"\u0449","&shcy;":"\u0448","&shortmid;":"\u2223","&shortparallel;":"\u2225","&shy":"\xAD","&shy;":"\xAD","&sigma;":"\u03C3","&sigmaf;":"\u03C2","&sigmav;":"\u03C2","&sim;":"\u223C","&simdot;":"\u2A6A","&sime;":"\u2243","&simeq;":"\u2243","&simg;":"\u2A9E","&simgE;":"\u2AA0","&siml;":"\u2A9D","&simlE;":"\u2A9F","&simne;":"\u2246","&simplus;":"\u2A24","&simrarr;":"\u2972","&slarr;":"\u2190","&smallsetminus;":"\u2216","&smashp;":"\u2A33","&smeparsl;":"\u29E4","&smid;":"\u2223","&smile;":"\u2323","&smt;":"\u2AAA","&smte;":"\u2AAC","&smtes;":"\u2AAC\uFE00","&softcy;":"\u044C","&sol;":"/","&solb;":"\u29C4","&solbar;":"\u233F","&sopf;":"\u{1D564}","&spades;":"\u2660","&spadesuit;":"\u2660","&spar;":"\u2225","&sqcap;":"\u2293","&sqcaps;":"\u2293\uFE00","&sqcup;":"\u2294","&sqcups;":"\u2294\uFE00","&sqsub;":"\u228F","&sqsube;":"\u2291","&sqsubset;":"\u228F","&sqsubseteq;":"\u2291","&sqsup;":"\u2290","&sqsupe;":"\u2292","&sqsupset;":"\u2290","&sqsupseteq;":"\u2292","&squ;":"\u25A1","&square;":"\u25A1","&squarf;":"\u25AA","&squf;":"\u25AA","&srarr;":"\u2192","&sscr;":"\u{1D4C8}","&ssetmn;":"\u2216","&ssmile;":"\u2323","&sstarf;":"\u22C6","&star;":"\u2606","&starf;":"\u2605","&straightepsilon;":"\u03F5","&straightphi;":"\u03D5","&strns;":"\xAF","&sub;":"\u2282","&subE;":"\u2AC5","&subdot;":"\u2ABD","&sube;":"\u2286","&subedot;":"\u2AC3","&submult;":"\u2AC1","&subnE;":"\u2ACB","&subne;":"\u228A","&subplus;":"\u2ABF","&subrarr;":"\u2979","&subset;":"\u2282","&subseteq;":"\u2286","&subseteqq;":"\u2AC5","&subsetneq;":"\u228A","&subsetneqq;":"\u2ACB","&subsim;":"\u2AC7","&subsub;":"\u2AD5","&subsup;":"\u2AD3","&succ;":"\u227B","&succapprox;":"\u2AB8","&succcurlyeq;":"\u227D","&succeq;":"\u2AB0","&succnapprox;":"\u2ABA","&succneqq;":"\u2AB6","&succnsim;":"\u22E9","&succsim;":"\u227F","&sum;":"\u2211","&sung;":"\u266A","&sup1":"\xB9","&sup1;":"\xB9","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&sup3;":"\xB3","&sup;":"\u2283","&supE;":"\u2AC6","&supdot;":"\u2ABE","&supdsub;":"\u2AD8","&supe;":"\u2287","&supedot;":"\u2AC4","&suphsol;":"\u27C9","&suphsub;":"\u2AD7","&suplarr;":"\u297B","&supmult;":"\u2AC2","&supnE;":"\u2ACC","&supne;":"\u228B","&supplus;":"\u2AC0","&supset;":"\u2283","&supseteq;":"\u2287","&supseteqq;":"\u2AC6","&supsetneq;":"\u228B","&supsetneqq;":"\u2ACC","&supsim;":"\u2AC8","&supsub;":"\u2AD4","&supsup;":"\u2AD6","&swArr;":"\u21D9","&swarhk;":"\u2926","&swarr;":"\u2199","&swarrow;":"\u2199","&swnwar;":"\u292A","&szlig":"\xDF","&szlig;":"\xDF","&target;":"\u2316","&tau;":"\u03C4","&tbrk;":"\u23B4","&tcaron;":"\u0165","&tcedil;":"\u0163","&tcy;":"\u0442","&tdot;":"\u20DB","&telrec;":"\u2315","&tfr;":"\u{1D531}","&there4;":"\u2234","&therefore;":"\u2234","&theta;":"\u03B8","&thetasym;":"\u03D1","&thetav;":"\u03D1","&thickapprox;":"\u2248","&thicksim;":"\u223C","&thinsp;":"\u2009","&thkap;":"\u2248","&thksim;":"\u223C","&thorn":"\xFE","&thorn;":"\xFE","&tilde;":"\u02DC","&times":"\xD7","&times;":"\xD7","&timesb;":"\u22A0","&timesbar;":"\u2A31","&timesd;":"\u2A30","&tint;":"\u222D","&toea;":"\u2928","&top;":"\u22A4","&topbot;":"\u2336","&topcir;":"\u2AF1","&topf;":"\u{1D565}","&topfork;":"\u2ADA","&tosa;":"\u2929","&tprime;":"\u2034","&trade;":"\u2122","&triangle;":"\u25B5","&triangledown;":"\u25BF","&triangleleft;":"\u25C3","&trianglelefteq;":"\u22B4","&triangleq;":"\u225C","&triangleright;":"\u25B9","&trianglerighteq;":"\u22B5","&tridot;":"\u25EC","&trie;":"\u225C","&triminus;":"\u2A3A","&triplus;":"\u2A39","&trisb;":"\u29CD","&tritime;":"\u2A3B","&trpezium;":"\u23E2","&tscr;":"\u{1D4C9}","&tscy;":"\u0446","&tshcy;":"\u045B","&tstrok;":"\u0167","&twixt;":"\u226C","&twoheadleftarrow;":"\u219E","&twoheadrightarrow;":"\u21A0","&uArr;":"\u21D1","&uHar;":"\u2963","&uacute":"\xFA","&uacute;":"\xFA","&uarr;":"\u2191","&ubrcy;":"\u045E","&ubreve;":"\u016D","&ucirc":"\xFB","&ucirc;":"\xFB","&ucy;":"\u0443","&udarr;":"\u21C5","&udblac;":"\u0171","&udhar;":"\u296E","&ufisht;":"\u297E","&ufr;":"\u{1D532}","&ugrave":"\xF9","&ugrave;":"\xF9","&uharl;":"\u21BF","&uharr;":"\u21BE","&uhblk;":"\u2580","&ulcorn;":"\u231C","&ulcorner;":"\u231C","&ulcrop;":"\u230F","&ultri;":"\u25F8","&umacr;":"\u016B","&uml":"\xA8","&uml;":"\xA8","&uogon;":"\u0173","&uopf;":"\u{1D566}","&uparrow;":"\u2191","&updownarrow;":"\u2195","&upharpoonleft;":"\u21BF","&upharpoonright;":"\u21BE","&uplus;":"\u228E","&upsi;":"\u03C5","&upsih;":"\u03D2","&upsilon;":"\u03C5","&upuparrows;":"\u21C8","&urcorn;":"\u231D","&urcorner;":"\u231D","&urcrop;":"\u230E","&uring;":"\u016F","&urtri;":"\u25F9","&uscr;":"\u{1D4CA}","&utdot;":"\u22F0","&utilde;":"\u0169","&utri;":"\u25B5","&utrif;":"\u25B4","&uuarr;":"\u21C8","&uuml":"\xFC","&uuml;":"\xFC","&uwangle;":"\u29A7","&vArr;":"\u21D5","&vBar;":"\u2AE8","&vBarv;":"\u2AE9","&vDash;":"\u22A8","&vangrt;":"\u299C","&varepsilon;":"\u03F5","&varkappa;":"\u03F0","&varnothing;":"\u2205","&varphi;":"\u03D5","&varpi;":"\u03D6","&varpropto;":"\u221D","&varr;":"\u2195","&varrho;":"\u03F1","&varsigma;":"\u03C2","&varsubsetneq;":"\u228A\uFE00","&varsubsetneqq;":"\u2ACB\uFE00","&varsupsetneq;":"\u228B\uFE00","&varsupsetneqq;":"\u2ACC\uFE00","&vartheta;":"\u03D1","&vartriangleleft;":"\u22B2","&vartriangleright;":"\u22B3","&vcy;":"\u0432","&vdash;":"\u22A2","&vee;":"\u2228","&veebar;":"\u22BB","&veeeq;":"\u225A","&vellip;":"\u22EE","&verbar;":"|","&vert;":"|","&vfr;":"\u{1D533}","&vltri;":"\u22B2","&vnsub;":"\u2282\u20D2","&vnsup;":"\u2283\u20D2","&vopf;":"\u{1D567}","&vprop;":"\u221D","&vrtri;":"\u22B3","&vscr;":"\u{1D4CB}","&vsubnE;":"\u2ACB\uFE00","&vsubne;":"\u228A\uFE00","&vsupnE;":"\u2ACC\uFE00","&vsupne;":"\u228B\uFE00","&vzigzag;":"\u299A","&wcirc;":"\u0175","&wedbar;":"\u2A5F","&wedge;":"\u2227","&wedgeq;":"\u2259","&weierp;":"\u2118","&wfr;":"\u{1D534}","&wopf;":"\u{1D568}","&wp;":"\u2118","&wr;":"\u2240","&wreath;":"\u2240","&wscr;":"\u{1D4CC}","&xcap;":"\u22C2","&xcirc;":"\u25EF","&xcup;":"\u22C3","&xdtri;":"\u25BD","&xfr;":"\u{1D535}","&xhArr;":"\u27FA","&xharr;":"\u27F7","&xi;":"\u03BE","&xlArr;":"\u27F8","&xlarr;":"\u27F5","&xmap;":"\u27FC","&xnis;":"\u22FB","&xodot;":"\u2A00","&xopf;":"\u{1D569}","&xoplus;":"\u2A01","&xotime;":"\u2A02","&xrArr;":"\u27F9","&xrarr;":"\u27F6","&xscr;":"\u{1D4CD}","&xsqcup;":"\u2A06","&xuplus;":"\u2A04","&xutri;":"\u25B3","&xvee;":"\u22C1","&xwedge;":"\u22C0","&yacute":"\xFD","&yacute;":"\xFD","&yacy;":"\u044F","&ycirc;":"\u0177","&ycy;":"\u044B","&yen":"\xA5","&yen;":"\xA5","&yfr;":"\u{1D536}","&yicy;":"\u0457","&yopf;":"\u{1D56A}","&yscr;":"\u{1D4CE}","&yucy;":"\u044E","&yuml":"\xFF","&yuml;":"\xFF","&zacute;":"\u017A","&zcaron;":"\u017E","&zcy;":"\u0437","&zdot;":"\u017C","&zeetrf;":"\u2128","&zeta;":"\u03B6","&zfr;":"\u{1D537}","&zhcy;":"\u0436","&zigrarr;":"\u21DD","&zopf;":"\u{1D56B}","&zscr;":"\u{1D4CF}","&zwj;":"\u200D","&zwnj;":"\u200C"},characters:{\u00C6:"&AElig;","&":"&amp;",\u00C1:"&Aacute;",\u0102:"&Abreve;",\u00C2:"&Acirc;",\u0410:"&Acy;","\u{1D504}":"&Afr;",\u00C0:"&Agrave;",\u0391:"&Alpha;",\u0100:"&Amacr;","\u2A53":"&And;",\u0104:"&Aogon;","\u{1D538}":"&Aopf;","\u2061":"&af;",\u00C5:"&angst;","\u{1D49C}":"&Ascr;","\u2254":"&coloneq;",\u00C3:"&Atilde;",\u00C4:"&Auml;","\u2216":"&ssetmn;","\u2AE7":"&Barv;","\u2306":"&doublebarwedge;",\u0411:"&Bcy;","\u2235":"&because;",\u212C:"&bernou;",\u0392:"&Beta;","\u{1D505}":"&Bfr;","\u{1D539}":"&Bopf;","\u02D8":"&breve;","\u224E":"&bump;",\u0427:"&CHcy;","\xA9":"&copy;",\u0106:"&Cacute;","\u22D2":"&Cap;","\u2145":"&DD;",\u212D:"&Cfr;",\u010C:"&Ccaron;",\u00C7:"&Ccedil;",\u0108:"&Ccirc;","\u2230":"&Cconint;",\u010A:"&Cdot;","\xB8":"&cedil;","\xB7":"&middot;",\u03A7:"&Chi;","\u2299":"&odot;","\u2296":"&ominus;","\u2295":"&oplus;","\u2297":"&otimes;","\u2232":"&cwconint;","\u201D":"&rdquor;","\u2019":"&rsquor;","\u2237":"&Proportion;","\u2A74":"&Colone;","\u2261":"&equiv;","\u222F":"&DoubleContourIntegral;","\u222E":"&oint;",\u2102:"&complexes;","\u2210":"&coprod;","\u2233":"&awconint;","\u2A2F":"&Cross;","\u{1D49E}":"&Cscr;","\u22D3":"&Cup;","\u224D":"&asympeq;","\u2911":"&DDotrahd;",\u0402:"&DJcy;",\u0405:"&DScy;",\u040F:"&DZcy;","\u2021":"&ddagger;","\u21A1":"&Darr;","\u2AE4":"&DoubleLeftTee;",\u010E:"&Dcaron;",\u0414:"&Dcy;","\u2207":"&nabla;",\u0394:"&Delta;","\u{1D507}":"&Dfr;","\xB4":"&acute;","\u02D9":"&dot;","\u02DD":"&dblac;","`":"&grave;","\u02DC":"&tilde;","\u22C4":"&diamond;","\u2146":"&dd;","\u{1D53B}":"&Dopf;","\xA8":"&uml;","\u20DC":"&DotDot;","\u2250":"&esdot;","\u21D3":"&dArr;","\u21D0":"&lArr;","\u21D4":"&iff;","\u27F8":"&xlArr;","\u27FA":"&xhArr;","\u27F9":"&xrArr;","\u21D2":"&rArr;","\u22A8":"&vDash;","\u21D1":"&uArr;","\u21D5":"&vArr;","\u2225":"&spar;","\u2193":"&downarrow;","\u2913":"&DownArrowBar;","\u21F5":"&duarr;","\u0311":"&DownBreve;","\u2950":"&DownLeftRightVector;","\u295E":"&DownLeftTeeVector;","\u21BD":"&lhard;","\u2956":"&DownLeftVectorBar;","\u295F":"&DownRightTeeVector;","\u21C1":"&rightharpoondown;","\u2957":"&DownRightVectorBar;","\u22A4":"&top;","\u21A7":"&mapstodown;","\u{1D49F}":"&Dscr;",\u0110:"&Dstrok;",\u014A:"&ENG;",\u00D0:"&ETH;",\u00C9:"&Eacute;",\u011A:"&Ecaron;",\u00CA:"&Ecirc;",\u042D:"&Ecy;",\u0116:"&Edot;","\u{1D508}":"&Efr;",\u00C8:"&Egrave;","\u2208":"&isinv;",\u0112:"&Emacr;","\u25FB":"&EmptySmallSquare;","\u25AB":"&EmptyVerySmallSquare;",\u0118:"&Eogon;","\u{1D53C}":"&Eopf;",\u0395:"&Epsilon;","\u2A75":"&Equal;","\u2242":"&esim;","\u21CC":"&rlhar;",\u2130:"&expectation;","\u2A73":"&Esim;",\u0397:"&Eta;",\u00CB:"&Euml;","\u2203":"&exist;","\u2147":"&exponentiale;",\u0424:"&Fcy;","\u{1D509}":"&Ffr;","\u25FC":"&FilledSmallSquare;","\u25AA":"&squf;","\u{1D53D}":"&Fopf;","\u2200":"&forall;",\u2131:"&Fscr;",\u0403:"&GJcy;",">":"&gt;",\u0393:"&Gamma;",\u03DC:"&Gammad;",\u011E:"&Gbreve;",\u0122:"&Gcedil;",\u011C:"&Gcirc;",\u0413:"&Gcy;",\u0120:"&Gdot;","\u{1D50A}":"&Gfr;","\u22D9":"&ggg;","\u{1D53E}":"&Gopf;","\u2265":"&geq;","\u22DB":"&gtreqless;","\u2267":"&geqq;","\u2AA2":"&GreaterGreater;","\u2277":"&gtrless;","\u2A7E":"&ges;","\u2273":"&gtrsim;","\u{1D4A2}":"&Gscr;","\u226B":"&gg;",\u042A:"&HARDcy;","\u02C7":"&caron;","^":"&Hat;",\u0124:"&Hcirc;",\u210C:"&Poincareplane;",\u210B:"&hamilt;",\u210D:"&quaternions;","\u2500":"&boxh;",\u0126:"&Hstrok;","\u224F":"&bumpeq;",\u0415:"&IEcy;",\u0132:"&IJlig;",\u0401:"&IOcy;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u0418:"&Icy;",\u0130:"&Idot;",\u2111:"&imagpart;",\u00CC:"&Igrave;",\u012A:"&Imacr;","\u2148":"&ii;","\u222C":"&Int;","\u222B":"&int;","\u22C2":"&xcap;","\u2063":"&ic;","\u2062":"&it;",\u012E:"&Iogon;","\u{1D540}":"&Iopf;",\u0399:"&Iota;",\u2110:"&imagline;",\u0128:"&Itilde;",\u0406:"&Iukcy;",\u00CF:"&Iuml;",\u0134:"&Jcirc;",\u0419:"&Jcy;","\u{1D50D}":"&Jfr;","\u{1D541}":"&Jopf;","\u{1D4A5}":"&Jscr;",\u0408:"&Jsercy;",\u0404:"&Jukcy;",\u0425:"&KHcy;",\u040C:"&KJcy;",\u039A:"&Kappa;",\u0136:"&Kcedil;",\u041A:"&Kcy;","\u{1D50E}":"&Kfr;","\u{1D542}":"&Kopf;","\u{1D4A6}":"&Kscr;",\u0409:"&LJcy;","<":"&lt;",\u0139:"&Lacute;",\u039B:"&Lambda;","\u27EA":"&Lang;",\u2112:"&lagran;","\u219E":"&twoheadleftarrow;",\u013D:"&Lcaron;",\u013B:"&Lcedil;",\u041B:"&Lcy;","\u27E8":"&langle;","\u2190":"&slarr;","\u21E4":"&larrb;","\u21C6":"&lrarr;","\u2308":"&lceil;","\u27E6":"&lobrk;","\u2961":"&LeftDownTeeVector;","\u21C3":"&downharpoonleft;","\u2959":"&LeftDownVectorBar;","\u230A":"&lfloor;","\u2194":"&leftrightarrow;","\u294E":"&LeftRightVector;","\u22A3":"&dashv;","\u21A4":"&mapstoleft;","\u295A":"&LeftTeeVector;","\u22B2":"&vltri;","\u29CF":"&LeftTriangleBar;","\u22B4":"&trianglelefteq;","\u2951":"&LeftUpDownVector;","\u2960":"&LeftUpTeeVector;","\u21BF":"&upharpoonleft;","\u2958":"&LeftUpVectorBar;","\u21BC":"&lharu;","\u2952":"&LeftVectorBar;","\u22DA":"&lesseqgtr;","\u2266":"&leqq;","\u2276":"&lg;","\u2AA1":"&LessLess;","\u2A7D":"&les;","\u2272":"&lsim;","\u{1D50F}":"&Lfr;","\u22D8":"&Ll;","\u21DA":"&lAarr;",\u013F:"&Lmidot;","\u27F5":"&xlarr;","\u27F7":"&xharr;","\u27F6":"&xrarr;","\u{1D543}":"&Lopf;","\u2199":"&swarrow;","\u2198":"&searrow;","\u21B0":"&lsh;",\u0141:"&Lstrok;","\u226A":"&ll;","\u2905":"&Map;",\u041C:"&Mcy;","\u205F":"&MediumSpace;",\u2133:"&phmmat;","\u{1D510}":"&Mfr;","\u2213":"&mp;","\u{1D544}":"&Mopf;",\u039C:"&Mu;",\u040A:"&NJcy;",\u0143:"&Nacute;",\u0147:"&Ncaron;",\u0145:"&Ncedil;",\u041D:"&Ncy;","\u200B":"&ZeroWidthSpace;","\n":"&NewLine;","\u{1D511}":"&Nfr;","\u2060":"&NoBreak;","\xA0":"&nbsp;",\u2115:"&naturals;","\u2AEC":"&Not;","\u2262":"&nequiv;","\u226D":"&NotCupCap;","\u2226":"&nspar;","\u2209":"&notinva;","\u2260":"&ne;","\u2242\u0338":"&nesim;","\u2204":"&nexists;","\u226F":"&ngtr;","\u2271":"&ngeq;","\u2267\u0338":"&ngeqq;","\u226B\u0338":"&nGtv;","\u2279":"&ntgl;","\u2A7E\u0338":"&nges;","\u2275":"&ngsim;","\u224E\u0338":"&nbump;","\u224F\u0338":"&nbumpe;","\u22EA":"&ntriangleleft;","\u29CF\u0338":"&NotLeftTriangleBar;","\u22EC":"&ntrianglelefteq;","\u226E":"&nlt;","\u2270":"&nleq;","\u2278":"&ntlg;","\u226A\u0338":"&nLtv;","\u2A7D\u0338":"&nles;","\u2274":"&nlsim;","\u2AA2\u0338":"&NotNestedGreaterGreater;","\u2AA1\u0338":"&NotNestedLessLess;","\u2280":"&nprec;","\u2AAF\u0338":"&npreceq;","\u22E0":"&nprcue;","\u220C":"&notniva;","\u22EB":"&ntriangleright;","\u29D0\u0338":"&NotRightTriangleBar;","\u22ED":"&ntrianglerighteq;","\u228F\u0338":"&NotSquareSubset;","\u22E2":"&nsqsube;","\u2290\u0338":"&NotSquareSuperset;","\u22E3":"&nsqsupe;","\u2282\u20D2":"&vnsub;","\u2288":"&nsubseteq;","\u2281":"&nsucc;","\u2AB0\u0338":"&nsucceq;","\u22E1":"&nsccue;","\u227F\u0338":"&NotSucceedsTilde;","\u2283\u20D2":"&vnsup;","\u2289":"&nsupseteq;","\u2241":"&nsim;","\u2244":"&nsimeq;","\u2247":"&ncong;","\u2249":"&napprox;","\u2224":"&nsmid;","\u{1D4A9}":"&Nscr;",\u00D1:"&Ntilde;",\u039D:"&Nu;",\u0152:"&OElig;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u041E:"&Ocy;",\u0150:"&Odblac;","\u{1D512}":"&Ofr;",\u00D2:"&Ograve;",\u014C:"&Omacr;",\u03A9:"&ohm;",\u039F:"&Omicron;","\u{1D546}":"&Oopf;","\u201C":"&ldquo;","\u2018":"&lsquo;","\u2A54":"&Or;","\u{1D4AA}":"&Oscr;",\u00D8:"&Oslash;",\u00D5:"&Otilde;","\u2A37":"&Otimes;",\u00D6:"&Ouml;","\u203E":"&oline;","\u23DE":"&OverBrace;","\u23B4":"&tbrk;","\u23DC":"&OverParenthesis;","\u2202":"&part;",\u041F:"&Pcy;","\u{1D513}":"&Pfr;",\u03A6:"&Phi;",\u03A0:"&Pi;","\xB1":"&pm;",\u2119:"&primes;","\u2ABB":"&Pr;","\u227A":"&prec;","\u2AAF":"&preceq;","\u227C":"&preccurlyeq;","\u227E":"&prsim;","\u2033":"&Prime;","\u220F":"&prod;","\u221D":"&vprop;","\u{1D4AB}":"&Pscr;",\u03A8:"&Psi;",'"':"&quot;","\u{1D514}":"&Qfr;",\u211A:"&rationals;","\u{1D4AC}":"&Qscr;","\u2910":"&drbkarow;","\xAE":"&reg;",\u0154:"&Racute;","\u27EB":"&Rang;","\u21A0":"&twoheadrightarrow;","\u2916":"&Rarrtl;",\u0158:"&Rcaron;",\u0156:"&Rcedil;",\u0420:"&Rcy;",\u211C:"&realpart;","\u220B":"&niv;","\u21CB":"&lrhar;","\u296F":"&duhar;",\u03A1:"&Rho;","\u27E9":"&rangle;","\u2192":"&srarr;","\u21E5":"&rarrb;","\u21C4":"&rlarr;","\u2309":"&rceil;","\u27E7":"&robrk;","\u295D":"&RightDownTeeVector;","\u21C2":"&downharpoonright;","\u2955":"&RightDownVectorBar;","\u230B":"&rfloor;","\u22A2":"&vdash;","\u21A6":"&mapsto;","\u295B":"&RightTeeVector;","\u22B3":"&vrtri;","\u29D0":"&RightTriangleBar;","\u22B5":"&trianglerighteq;","\u294F":"&RightUpDownVector;","\u295C":"&RightUpTeeVector;","\u21BE":"&upharpoonright;","\u2954":"&RightUpVectorBar;","\u21C0":"&rightharpoonup;","\u2953":"&RightVectorBar;",\u211D:"&reals;","\u2970":"&RoundImplies;","\u21DB":"&rAarr;",\u211B:"&realine;","\u21B1":"&rsh;","\u29F4":"&RuleDelayed;",\u0429:"&SHCHcy;",\u0428:"&SHcy;",\u042C:"&SOFTcy;",\u015A:"&Sacute;","\u2ABC":"&Sc;",\u0160:"&Scaron;",\u015E:"&Scedil;",\u015C:"&Scirc;",\u0421:"&Scy;","\u{1D516}":"&Sfr;","\u2191":"&uparrow;",\u03A3:"&Sigma;","\u2218":"&compfn;","\u{1D54A}":"&Sopf;","\u221A":"&radic;","\u25A1":"&square;","\u2293":"&sqcap;","\u228F":"&sqsubset;","\u2291":"&sqsubseteq;","\u2290":"&sqsupset;","\u2292":"&sqsupseteq;","\u2294":"&sqcup;","\u{1D4AE}":"&Sscr;","\u22C6":"&sstarf;","\u22D0":"&Subset;","\u2286":"&subseteq;","\u227B":"&succ;","\u2AB0":"&succeq;","\u227D":"&succcurlyeq;","\u227F":"&succsim;","\u2211":"&sum;","\u22D1":"&Supset;","\u2283":"&supset;","\u2287":"&supseteq;",\u00DE:"&THORN;","\u2122":"&trade;",\u040B:"&TSHcy;",\u0426:"&TScy;"," ":"&Tab;",\u03A4:"&Tau;",\u0164:"&Tcaron;",\u0162:"&Tcedil;",\u0422:"&Tcy;","\u{1D517}":"&Tfr;","\u2234":"&therefore;",\u0398:"&Theta;","\u205F\u200A":"&ThickSpace;","\u2009":"&thinsp;","\u223C":"&thksim;","\u2243":"&simeq;","\u2245":"&cong;","\u2248":"&thkap;","\u{1D54B}":"&Topf;","\u20DB":"&tdot;","\u{1D4AF}":"&Tscr;",\u0166:"&Tstrok;",\u00DA:"&Uacute;","\u219F":"&Uarr;","\u2949":"&Uarrocir;",\u040E:"&Ubrcy;",\u016C:"&Ubreve;",\u00DB:"&Ucirc;",\u0423:"&Ucy;",\u0170:"&Udblac;","\u{1D518}":"&Ufr;",\u00D9:"&Ugrave;",\u016A:"&Umacr;",_:"&lowbar;","\u23DF":"&UnderBrace;","\u23B5":"&bbrk;","\u23DD":"&UnderParenthesis;","\u22C3":"&xcup;","\u228E":"&uplus;",\u0172:"&Uogon;","\u{1D54C}":"&Uopf;","\u2912":"&UpArrowBar;","\u21C5":"&udarr;","\u2195":"&varr;","\u296E":"&udhar;","\u22A5":"&perp;","\u21A5":"&mapstoup;","\u2196":"&nwarrow;","\u2197":"&nearrow;",\u03D2:"&upsih;",\u03A5:"&Upsilon;",\u016E:"&Uring;","\u{1D4B0}":"&Uscr;",\u0168:"&Utilde;",\u00DC:"&Uuml;","\u22AB":"&VDash;","\u2AEB":"&Vbar;",\u0412:"&Vcy;","\u22A9":"&Vdash;","\u2AE6":"&Vdashl;","\u22C1":"&xvee;","\u2016":"&Vert;","\u2223":"&smid;","|":"&vert;","\u2758":"&VerticalSeparator;","\u2240":"&wreath;","\u200A":"&hairsp;","\u{1D519}":"&Vfr;","\u{1D54D}":"&Vopf;","\u{1D4B1}":"&Vscr;","\u22AA":"&Vvdash;",\u0174:"&Wcirc;","\u22C0":"&xwedge;","\u{1D51A}":"&Wfr;","\u{1D54E}":"&Wopf;","\u{1D4B2}":"&Wscr;","\u{1D51B}":"&Xfr;",\u039E:"&Xi;","\u{1D54F}":"&Xopf;","\u{1D4B3}":"&Xscr;",\u042F:"&YAcy;",\u0407:"&YIcy;",\u042E:"&YUcy;",\u00DD:"&Yacute;",\u0176:"&Ycirc;",\u042B:"&Ycy;","\u{1D51C}":"&Yfr;","\u{1D550}":"&Yopf;","\u{1D4B4}":"&Yscr;",\u0178:"&Yuml;",\u0416:"&ZHcy;",\u0179:"&Zacute;",\u017D:"&Zcaron;",\u0417:"&Zcy;",\u017B:"&Zdot;",\u0396:"&Zeta;",\u2128:"&zeetrf;",\u2124:"&integers;","\u{1D4B5}":"&Zscr;",\u00E1:"&aacute;",\u0103:"&abreve;","\u223E":"&mstpos;","\u223E\u0333":"&acE;","\u223F":"&acd;",\u00E2:"&acirc;",\u0430:"&acy;",\u00E6:"&aelig;","\u{1D51E}":"&afr;",\u00E0:"&agrave;",\u2135:"&aleph;",\u03B1:"&alpha;",\u0101:"&amacr;","\u2A3F":"&amalg;","\u2227":"&wedge;","\u2A55":"&andand;","\u2A5C":"&andd;","\u2A58":"&andslope;","\u2A5A":"&andv;","\u2220":"&angle;","\u29A4":"&ange;","\u2221":"&measuredangle;","\u29A8":"&angmsdaa;","\u29A9":"&angmsdab;","\u29AA":"&angmsdac;","\u29AB":"&angmsdad;","\u29AC":"&angmsdae;","\u29AD":"&angmsdaf;","\u29AE":"&angmsdag;","\u29AF":"&angmsdah;","\u221F":"&angrt;","\u22BE":"&angrtvb;","\u299D":"&angrtvbd;","\u2222":"&angsph;","\u237C":"&angzarr;",\u0105:"&aogon;","\u{1D552}":"&aopf;","\u2A70":"&apE;","\u2A6F":"&apacir;","\u224A":"&approxeq;","\u224B":"&apid;","'":"&apos;",\u00E5:"&aring;","\u{1D4B6}":"&ascr;","*":"&midast;",\u00E3:"&atilde;",\u00E4:"&auml;","\u2A11":"&awint;","\u2AED":"&bNot;","\u224C":"&bcong;","\u03F6":"&bepsi;","\u2035":"&bprime;","\u223D":"&bsim;","\u22CD":"&bsime;","\u22BD":"&barvee;","\u2305":"&barwedge;","\u23B6":"&bbrktbrk;",\u0431:"&bcy;","\u201E":"&ldquor;","\u29B0":"&bemptyv;",\u03B2:"&beta;",\u2136:"&beth;","\u226C":"&twixt;","\u{1D51F}":"&bfr;","\u25EF":"&xcirc;","\u2A00":"&xodot;","\u2A01":"&xoplus;","\u2A02":"&xotime;","\u2A06":"&xsqcup;","\u2605":"&starf;","\u25BD":"&xdtri;","\u25B3":"&xutri;","\u2A04":"&xuplus;","\u290D":"&rbarr;","\u29EB":"&lozf;","\u25B4":"&utrif;","\u25BE":"&dtrif;","\u25C2":"&ltrif;","\u25B8":"&rtrif;","\u2423":"&blank;","\u2592":"&blk12;","\u2591":"&blk14;","\u2593":"&blk34;","\u2588":"&block;","=\u20E5":"&bne;","\u2261\u20E5":"&bnequiv;","\u2310":"&bnot;","\u{1D553}":"&bopf;","\u22C8":"&bowtie;","\u2557":"&boxDL;","\u2554":"&boxDR;","\u2556":"&boxDl;","\u2553":"&boxDr;","\u2550":"&boxH;","\u2566":"&boxHD;","\u2569":"&boxHU;","\u2564":"&boxHd;","\u2567":"&boxHu;","\u255D":"&boxUL;","\u255A":"&boxUR;","\u255C":"&boxUl;","\u2559":"&boxUr;","\u2551":"&boxV;","\u256C":"&boxVH;","\u2563":"&boxVL;","\u2560":"&boxVR;","\u256B":"&boxVh;","\u2562":"&boxVl;","\u255F":"&boxVr;","\u29C9":"&boxbox;","\u2555":"&boxdL;","\u2552":"&boxdR;","\u2510":"&boxdl;","\u250C":"&boxdr;","\u2565":"&boxhD;","\u2568":"&boxhU;","\u252C":"&boxhd;","\u2534":"&boxhu;","\u229F":"&minusb;","\u229E":"&plusb;","\u22A0":"&timesb;","\u255B":"&boxuL;","\u2558":"&boxuR;","\u2518":"&boxul;","\u2514":"&boxur;","\u2502":"&boxv;","\u256A":"&boxvH;","\u2561":"&boxvL;","\u255E":"&boxvR;","\u253C":"&boxvh;","\u2524":"&boxvl;","\u251C":"&boxvr;","\xA6":"&brvbar;","\u{1D4B7}":"&bscr;","\u204F":"&bsemi;","\\":"&bsol;","\u29C5":"&bsolb;","\u27C8":"&bsolhsub;","\u2022":"&bullet;","\u2AAE":"&bumpE;",\u0107:"&cacute;","\u2229":"&cap;","\u2A44":"&capand;","\u2A49":"&capbrcup;","\u2A4B":"&capcap;","\u2A47":"&capcup;","\u2A40":"&capdot;","\u2229\uFE00":"&caps;","\u2041":"&caret;","\u2A4D":"&ccaps;",\u010D:"&ccaron;",\u00E7:"&ccedil;",\u0109:"&ccirc;","\u2A4C":"&ccups;","\u2A50":"&ccupssm;",\u010B:"&cdot;","\u29B2":"&cemptyv;","\xA2":"&cent;","\u{1D520}":"&cfr;",\u0447:"&chcy;","\u2713":"&checkmark;",\u03C7:"&chi;","\u25CB":"&cir;","\u29C3":"&cirE;","\u02C6":"&circ;","\u2257":"&cire;","\u21BA":"&olarr;","\u21BB":"&orarr;","\u24C8":"&oS;","\u229B":"&oast;","\u229A":"&ocir;","\u229D":"&odash;","\u2A10":"&cirfnint;","\u2AEF":"&cirmid;","\u29C2":"&cirscir;","\u2663":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","\u2201":"&complement;","\u2A6D":"&congdot;","\u{1D554}":"&copf;","\u2117":"&copysr;","\u21B5":"&crarr;","\u2717":"&cross;","\u{1D4B8}":"&cscr;","\u2ACF":"&csub;","\u2AD1":"&csube;","\u2AD0":"&csup;","\u2AD2":"&csupe;","\u22EF":"&ctdot;","\u2938":"&cudarrl;","\u2935":"&cudarrr;","\u22DE":"&curlyeqprec;","\u22DF":"&curlyeqsucc;","\u21B6":"&curvearrowleft;","\u293D":"&cularrp;","\u222A":"&cup;","\u2A48":"&cupbrcap;","\u2A46":"&cupcap;","\u2A4A":"&cupcup;","\u228D":"&cupdot;","\u2A45":"&cupor;","\u222A\uFE00":"&cups;","\u21B7":"&curvearrowright;","\u293C":"&curarrm;","\u22CE":"&cuvee;","\u22CF":"&cuwed;","\xA4":"&curren;","\u2231":"&cwint;","\u232D":"&cylcty;","\u2965":"&dHar;","\u2020":"&dagger;",\u2138:"&daleth;","\u2010":"&hyphen;","\u290F":"&rBarr;",\u010F:"&dcaron;",\u0434:"&dcy;","\u21CA":"&downdownarrows;","\u2A77":"&eDDot;","\xB0":"&deg;",\u03B4:"&delta;","\u29B1":"&demptyv;","\u297F":"&dfisht;","\u{1D521}":"&dfr;","\u2666":"&diams;",\u03DD:"&gammad;","\u22F2":"&disin;","\xF7":"&divide;","\u22C7":"&divonx;",\u0452:"&djcy;","\u231E":"&llcorner;","\u230D":"&dlcrop;",$:"&dollar;","\u{1D555}":"&dopf;","\u2251":"&eDot;","\u2238":"&minusd;","\u2214":"&plusdo;","\u22A1":"&sdotb;","\u231F":"&lrcorner;","\u230C":"&drcrop;","\u{1D4B9}":"&dscr;",\u0455:"&dscy;","\u29F6":"&dsol;",\u0111:"&dstrok;","\u22F1":"&dtdot;","\u25BF":"&triangledown;","\u29A6":"&dwangle;",\u045F:"&dzcy;","\u27FF":"&dzigrarr;",\u00E9:"&eacute;","\u2A6E":"&easter;",\u011B:"&ecaron;","\u2256":"&eqcirc;",\u00EA:"&ecirc;","\u2255":"&eqcolon;",\u044D:"&ecy;",\u0117:"&edot;","\u2252":"&fallingdotseq;","\u{1D522}":"&efr;","\u2A9A":"&eg;",\u00E8:"&egrave;","\u2A96":"&eqslantgtr;","\u2A98":"&egsdot;","\u2A99":"&el;","\u23E7":"&elinters;",\u2113:"&ell;","\u2A95":"&eqslantless;","\u2A97":"&elsdot;",\u0113:"&emacr;","\u2205":"&varnothing;","\u2004":"&emsp13;","\u2005":"&emsp14;","\u2003":"&emsp;",\u014B:"&eng;","\u2002":"&ensp;",\u0119:"&eogon;","\u{1D556}":"&eopf;","\u22D5":"&epar;","\u29E3":"&eparsl;","\u2A71":"&eplus;",\u03B5:"&epsilon;","\u03F5":"&varepsilon;","=":"&equals;","\u225F":"&questeq;","\u2A78":"&equivDD;","\u29E5":"&eqvparsl;","\u2253":"&risingdotseq;","\u2971":"&erarr;",\u212F:"&escr;",\u03B7:"&eta;",\u00F0:"&eth;",\u00EB:"&euml;","\u20AC":"&euro;","!":"&excl;",\u0444:"&fcy;","\u2640":"&female;",\uFB03:"&ffilig;",\uFB00:"&fflig;",\uFB04:"&ffllig;","\u{1D523}":"&ffr;",\uFB01:"&filig;",fj:"&fjlig;","\u266D":"&flat;",\uFB02:"&fllig;","\u25B1":"&fltns;",\u0192:"&fnof;","\u{1D557}":"&fopf;","\u22D4":"&pitchfork;","\u2AD9":"&forkv;","\u2A0D":"&fpartint;","\xBD":"&half;","\u2153":"&frac13;","\xBC":"&frac14;","\u2155":"&frac15;","\u2159":"&frac16;","\u215B":"&frac18;","\u2154":"&frac23;","\u2156":"&frac25;","\xBE":"&frac34;","\u2157":"&frac35;","\u215C":"&frac38;","\u2158":"&frac45;","\u215A":"&frac56;","\u215D":"&frac58;","\u215E":"&frac78;","\u2044":"&frasl;","\u2322":"&sfrown;","\u{1D4BB}":"&fscr;","\u2A8C":"&gtreqqless;",\u01F5:"&gacute;",\u03B3:"&gamma;","\u2A86":"&gtrapprox;",\u011F:"&gbreve;",\u011D:"&gcirc;",\u0433:"&gcy;",\u0121:"&gdot;","\u2AA9":"&gescc;","\u2A80":"&gesdot;","\u2A82":"&gesdoto;","\u2A84":"&gesdotol;","\u22DB\uFE00":"&gesl;","\u2A94":"&gesles;","\u{1D524}":"&gfr;",\u2137:"&gimel;",\u0453:"&gjcy;","\u2A92":"&glE;","\u2AA5":"&gla;","\u2AA4":"&glj;","\u2269":"&gneqq;","\u2A8A":"&gnapprox;","\u2A88":"&gneq;","\u22E7":"&gnsim;","\u{1D558}":"&gopf;",\u210A:"&gscr;","\u2A8E":"&gsime;","\u2A90":"&gsiml;","\u2AA7":"&gtcc;","\u2A7A":"&gtcir;","\u22D7":"&gtrdot;","\u2995":"&gtlPar;","\u2A7C":"&gtquest;","\u2978":"&gtrarr;","\u2269\uFE00":"&gvnE;",\u044A:"&hardcy;","\u2948":"&harrcir;","\u21AD":"&leftrightsquigarrow;",\u210F:"&plankv;",\u0125:"&hcirc;","\u2665":"&heartsuit;","\u2026":"&mldr;","\u22B9":"&hercon;","\u{1D525}":"&hfr;","\u2925":"&searhk;","\u2926":"&swarhk;","\u21FF":"&hoarr;","\u223B":"&homtht;","\u21A9":"&larrhk;","\u21AA":"&rarrhk;","\u{1D559}":"&hopf;","\u2015":"&horbar;","\u{1D4BD}":"&hscr;",\u0127:"&hstrok;","\u2043":"&hybull;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u0438:"&icy;",\u0435:"&iecy;","\xA1":"&iexcl;","\u{1D526}":"&ifr;",\u00EC:"&igrave;","\u2A0C":"&qint;","\u222D":"&tint;","\u29DC":"&iinfin;","\u2129":"&iiota;",\u0133:"&ijlig;",\u012B:"&imacr;",\u0131:"&inodot;","\u22B7":"&imof;",\u01B5:"&imped;","\u2105":"&incare;","\u221E":"&infin;","\u29DD":"&infintie;","\u22BA":"&intercal;","\u2A17":"&intlarhk;","\u2A3C":"&iprod;",\u0451:"&iocy;",\u012F:"&iogon;","\u{1D55A}":"&iopf;",\u03B9:"&iota;","\xBF":"&iquest;","\u{1D4BE}":"&iscr;","\u22F9":"&isinE;","\u22F5":"&isindot;","\u22F4":"&isins;","\u22F3":"&isinsv;",\u0129:"&itilde;",\u0456:"&iukcy;",\u00EF:"&iuml;",\u0135:"&jcirc;",\u0439:"&jcy;","\u{1D527}":"&jfr;","\u0237":"&jmath;","\u{1D55B}":"&jopf;","\u{1D4BF}":"&jscr;",\u0458:"&jsercy;",\u0454:"&jukcy;",\u03BA:"&kappa;",\u03F0:"&varkappa;",\u0137:"&kcedil;",\u043A:"&kcy;","\u{1D528}":"&kfr;",\u0138:"&kgreen;",\u0445:"&khcy;",\u045C:"&kjcy;","\u{1D55C}":"&kopf;","\u{1D4C0}":"&kscr;","\u291B":"&lAtail;","\u290E":"&lBarr;","\u2A8B":"&lesseqqgtr;","\u2962":"&lHar;",\u013A:"&lacute;","\u29B4":"&laemptyv;",\u03BB:"&lambda;","\u2991":"&langd;","\u2A85":"&lessapprox;","\xAB":"&laquo;","\u291F":"&larrbfs;","\u291D":"&larrfs;","\u21AB":"&looparrowleft;","\u2939":"&larrpl;","\u2973":"&larrsim;","\u21A2":"&leftarrowtail;","\u2AAB":"&lat;","\u2919":"&latail;","\u2AAD":"&late;","\u2AAD\uFE00":"&lates;","\u290C":"&lbarr;","\u2772":"&lbbrk;","{":"&lcub;","[":"&lsqb;","\u298B":"&lbrke;","\u298F":"&lbrksld;","\u298D":"&lbrkslu;",\u013E:"&lcaron;",\u013C:"&lcedil;",\u043B:"&lcy;","\u2936":"&ldca;","\u2967":"&ldrdhar;","\u294B":"&ldrushar;","\u21B2":"&ldsh;","\u2264":"&leq;","\u21C7":"&llarr;","\u22CB":"&lthree;","\u2AA8":"&lescc;","\u2A7F":"&lesdot;","\u2A81":"&lesdoto;","\u2A83":"&lesdotor;","\u22DA\uFE00":"&lesg;","\u2A93":"&lesges;","\u22D6":"&ltdot;","\u297C":"&lfisht;","\u{1D529}":"&lfr;","\u2A91":"&lgE;","\u296A":"&lharul;","\u2584":"&lhblk;",\u0459:"&ljcy;","\u296B":"&llhard;","\u25FA":"&lltri;",\u0140:"&lmidot;","\u23B0":"&lmoustache;","\u2268":"&lneqq;","\u2A89":"&lnapprox;","\u2A87":"&lneq;","\u22E6":"&lnsim;","\u27EC":"&loang;","\u21FD":"&loarr;","\u27FC":"&xmap;","\u21AC":"&rarrlp;","\u2985":"&lopar;","\u{1D55D}":"&lopf;","\u2A2D":"&loplus;","\u2A34":"&lotimes;","\u2217":"&lowast;","\u25CA":"&lozenge;","(":"&lpar;","\u2993":"&lparlt;","\u296D":"&lrhard;","\u200E":"&lrm;","\u22BF":"&lrtri;","\u2039":"&lsaquo;","\u{1D4C1}":"&lscr;","\u2A8D":"&lsime;","\u2A8F":"&lsimg;","\u201A":"&sbquo;",\u0142:"&lstrok;","\u2AA6":"&ltcc;","\u2A79":"&ltcir;","\u22C9":"&ltimes;","\u2976":"&ltlarr;","\u2A7B":"&ltquest;","\u2996":"&ltrPar;","\u25C3":"&triangleleft;","\u294A":"&lurdshar;","\u2966":"&luruhar;","\u2268\uFE00":"&lvnE;","\u223A":"&mDDot;","\xAF":"&strns;","\u2642":"&male;","\u2720":"&maltese;","\u25AE":"&marker;","\u2A29":"&mcomma;",\u043C:"&mcy;","\u2014":"&mdash;","\u{1D52A}":"&mfr;","\u2127":"&mho;",\u00B5:"&micro;","\u2AF0":"&midcir;","\u2212":"&minus;","\u2A2A":"&minusdu;","\u2ADB":"&mlcp;","\u22A7":"&models;","\u{1D55E}":"&mopf;","\u{1D4C2}":"&mscr;",\u03BC:"&mu;","\u22B8":"&mumap;","\u22D9\u0338":"&nGg;","\u226B\u20D2":"&nGt;","\u21CD":"&nlArr;","\u21CE":"&nhArr;","\u22D8\u0338":"&nLl;","\u226A\u20D2":"&nLt;","\u21CF":"&nrArr;","\u22AF":"&nVDash;","\u22AE":"&nVdash;",\u0144:"&nacute;","\u2220\u20D2":"&nang;","\u2A70\u0338":"&napE;","\u224B\u0338":"&napid;",\u0149:"&napos;","\u266E":"&natural;","\u2A43":"&ncap;",\u0148:"&ncaron;",\u0146:"&ncedil;","\u2A6D\u0338":"&ncongdot;","\u2A42":"&ncup;",\u043D:"&ncy;","\u2013":"&ndash;","\u21D7":"&neArr;","\u2924":"&nearhk;","\u2250\u0338":"&nedot;","\u2928":"&toea;","\u{1D52B}":"&nfr;","\u21AE":"&nleftrightarrow;","\u2AF2":"&nhpar;","\u22FC":"&nis;","\u22FA":"&nisd;",\u045A:"&njcy;","\u2266\u0338":"&nleqq;","\u219A":"&nleftarrow;","\u2025":"&nldr;","\u{1D55F}":"&nopf;","\xAC":"&not;","\u22F9\u0338":"&notinE;","\u22F5\u0338":"&notindot;","\u22F7":"&notinvb;","\u22F6":"&notinvc;","\u22FE":"&notnivb;","\u22FD":"&notnivc;","\u2AFD\u20E5":"&nparsl;","\u2202\u0338":"&npart;","\u2A14":"&npolint;","\u219B":"&nrightarrow;","\u2933\u0338":"&nrarrc;","\u219D\u0338":"&nrarrw;","\u{1D4C3}":"&nscr;","\u2284":"&nsub;","\u2AC5\u0338":"&nsubseteqq;","\u2285":"&nsup;","\u2AC6\u0338":"&nsupseteqq;",\u00F1:"&ntilde;",\u03BD:"&nu;","#":"&num;","\u2116":"&numero;","\u2007":"&numsp;","\u22AD":"&nvDash;","\u2904":"&nvHarr;","\u224D\u20D2":"&nvap;","\u22AC":"&nvdash;","\u2265\u20D2":"&nvge;",">\u20D2":"&nvgt;","\u29DE":"&nvinfin;","\u2902":"&nvlArr;","\u2264\u20D2":"&nvle;","<\u20D2":"&nvlt;","\u22B4\u20D2":"&nvltrie;","\u2903":"&nvrArr;","\u22B5\u20D2":"&nvrtrie;","\u223C\u20D2":"&nvsim;","\u21D6":"&nwArr;","\u2923":"&nwarhk;","\u2927":"&nwnear;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u043E:"&ocy;",\u0151:"&odblac;","\u2A38":"&odiv;","\u29BC":"&odsold;",\u0153:"&oelig;","\u29BF":"&ofcir;","\u{1D52C}":"&ofr;","\u02DB":"&ogon;",\u00F2:"&ograve;","\u29C1":"&ogt;","\u29B5":"&ohbar;","\u29BE":"&olcir;","\u29BB":"&olcross;","\u29C0":"&olt;",\u014D:"&omacr;",\u03C9:"&omega;",\u03BF:"&omicron;","\u29B6":"&omid;","\u{1D560}":"&oopf;","\u29B7":"&opar;","\u29B9":"&operp;","\u2228":"&vee;","\u2A5D":"&ord;",\u2134:"&oscr;",\u00AA:"&ordf;",\u00BA:"&ordm;","\u22B6":"&origof;","\u2A56":"&oror;","\u2A57":"&orslope;","\u2A5B":"&orv;",\u00F8:"&oslash;","\u2298":"&osol;",\u00F5:"&otilde;","\u2A36":"&otimesas;",\u00F6:"&ouml;","\u233D":"&ovbar;","\xB6":"&para;","\u2AF3":"&parsim;","\u2AFD":"&parsl;",\u043F:"&pcy;","%":"&percnt;",".":"&period;","\u2030":"&permil;","\u2031":"&pertenk;","\u{1D52D}":"&pfr;",\u03C6:"&phi;",\u03D5:"&varphi;","\u260E":"&phone;",\u03C0:"&pi;",\u03D6:"&varpi;",\u210E:"&planckh;","+":"&plus;","\u2A23":"&plusacir;","\u2A22":"&pluscir;","\u2A25":"&plusdu;","\u2A72":"&pluse;","\u2A26":"&plussim;","\u2A27":"&plustwo;","\u2A15":"&pointint;","\u{1D561}":"&popf;","\xA3":"&pound;","\u2AB3":"&prE;","\u2AB7":"&precapprox;","\u2AB9":"&prnap;","\u2AB5":"&prnE;","\u22E8":"&prnsim;","\u2032":"&prime;","\u232E":"&profalar;","\u2312":"&profline;","\u2313":"&profsurf;","\u22B0":"&prurel;","\u{1D4C5}":"&pscr;",\u03C8:"&psi;","\u2008":"&puncsp;","\u{1D52E}":"&qfr;","\u{1D562}":"&qopf;","\u2057":"&qprime;","\u{1D4C6}":"&qscr;","\u2A16":"&quatint;","?":"&quest;","\u291C":"&rAtail;","\u2964":"&rHar;","\u223D\u0331":"&race;",\u0155:"&racute;","\u29B3":"&raemptyv;","\u2992":"&rangd;","\u29A5":"&range;","\xBB":"&raquo;","\u2975":"&rarrap;","\u2920":"&rarrbfs;","\u2933":"&rarrc;","\u291E":"&rarrfs;","\u2945":"&rarrpl;","\u2974":"&rarrsim;","\u21A3":"&rightarrowtail;","\u219D":"&rightsquigarrow;","\u291A":"&ratail;","\u2236":"&ratio;","\u2773":"&rbbrk;","}":"&rcub;","]":"&rsqb;","\u298C":"&rbrke;","\u298E":"&rbrksld;","\u2990":"&rbrkslu;",\u0159:"&rcaron;",\u0157:"&rcedil;",\u0440:"&rcy;","\u2937":"&rdca;","\u2969":"&rdldhar;","\u21B3":"&rdsh;","\u25AD":"&rect;","\u297D":"&rfisht;","\u{1D52F}":"&rfr;","\u296C":"&rharul;",\u03C1:"&rho;",\u03F1:"&varrho;","\u21C9":"&rrarr;","\u22CC":"&rthree;","\u02DA":"&ring;","\u200F":"&rlm;","\u23B1":"&rmoustache;","\u2AEE":"&rnmid;","\u27ED":"&roang;","\u21FE":"&roarr;","\u2986":"&ropar;","\u{1D563}":"&ropf;","\u2A2E":"&roplus;","\u2A35":"&rotimes;",")":"&rpar;","\u2994":"&rpargt;","\u2A12":"&rppolint;","\u203A":"&rsaquo;","\u{1D4C7}":"&rscr;","\u22CA":"&rtimes;","\u25B9":"&triangleright;","\u29CE":"&rtriltri;","\u2968":"&ruluhar;","\u211E":"&rx;",\u015B:"&sacute;","\u2AB4":"&scE;","\u2AB8":"&succapprox;",\u0161:"&scaron;",\u015F:"&scedil;",\u015D:"&scirc;","\u2AB6":"&succneqq;","\u2ABA":"&succnapprox;","\u22E9":"&succnsim;","\u2A13":"&scpolint;",\u0441:"&scy;","\u22C5":"&sdot;","\u2A66":"&sdote;","\u21D8":"&seArr;","\xA7":"&sect;",";":"&semi;","\u2929":"&tosa;","\u2736":"&sext;","\u{1D530}":"&sfr;","\u266F":"&sharp;",\u0449:"&shchcy;",\u0448:"&shcy;","\xAD":"&shy;",\u03C3:"&sigma;",\u03C2:"&varsigma;","\u2A6A":"&simdot;","\u2A9E":"&simg;","\u2AA0":"&simgE;","\u2A9D":"&siml;","\u2A9F":"&simlE;","\u2246":"&simne;","\u2A24":"&simplus;","\u2972":"&simrarr;","\u2A33":"&smashp;","\u29E4":"&smeparsl;","\u2323":"&ssmile;","\u2AAA":"&smt;","\u2AAC":"&smte;","\u2AAC\uFE00":"&smtes;",\u044C:"&softcy;","/":"&sol;","\u29C4":"&solb;","\u233F":"&solbar;","\u{1D564}":"&sopf;","\u2660":"&spadesuit;","\u2293\uFE00":"&sqcaps;","\u2294\uFE00":"&sqcups;","\u{1D4C8}":"&sscr;","\u2606":"&star;","\u2282":"&subset;","\u2AC5":"&subseteqq;","\u2ABD":"&subdot;","\u2AC3":"&subedot;","\u2AC1":"&submult;","\u2ACB":"&subsetneqq;","\u228A":"&subsetneq;","\u2ABF":"&subplus;","\u2979":"&subrarr;","\u2AC7":"&subsim;","\u2AD5":"&subsub;","\u2AD3":"&subsup;","\u266A":"&sung;","\xB9":"&sup1;","\xB2":"&sup2;","\xB3":"&sup3;","\u2AC6":"&supseteqq;","\u2ABE":"&supdot;","\u2AD8":"&supdsub;","\u2AC4":"&supedot;","\u27C9":"&suphsol;","\u2AD7":"&suphsub;","\u297B":"&suplarr;","\u2AC2":"&supmult;","\u2ACC":"&supsetneqq;","\u228B":"&supsetneq;","\u2AC0":"&supplus;","\u2AC8":"&supsim;","\u2AD4":"&supsub;","\u2AD6":"&supsup;","\u21D9":"&swArr;","\u292A":"&swnwar;",\u00DF:"&szlig;","\u2316":"&target;",\u03C4:"&tau;",\u0165:"&tcaron;",\u0163:"&tcedil;",\u0442:"&tcy;","\u2315":"&telrec;","\u{1D531}":"&tfr;",\u03B8:"&theta;",\u03D1:"&vartheta;",\u00FE:"&thorn;","\xD7":"&times;","\u2A31":"&timesbar;","\u2A30":"&timesd;","\u2336":"&topbot;","\u2AF1":"&topcir;","\u{1D565}":"&topf;","\u2ADA":"&topfork;","\u2034":"&tprime;","\u25B5":"&utri;","\u225C":"&trie;","\u25EC":"&tridot;","\u2A3A":"&triminus;","\u2A39":"&triplus;","\u29CD":"&trisb;","\u2A3B":"&tritime;","\u23E2":"&trpezium;","\u{1D4C9}":"&tscr;",\u0446:"&tscy;",\u045B:"&tshcy;",\u0167:"&tstrok;","\u2963":"&uHar;",\u00FA:"&uacute;",\u045E:"&ubrcy;",\u016D:"&ubreve;",\u00FB:"&ucirc;",\u0443:"&ucy;",\u0171:"&udblac;","\u297E":"&ufisht;","\u{1D532}":"&ufr;",\u00F9:"&ugrave;","\u2580":"&uhblk;","\u231C":"&ulcorner;","\u230F":"&ulcrop;","\u25F8":"&ultri;",\u016B:"&umacr;",\u0173:"&uogon;","\u{1D566}":"&uopf;",\u03C5:"&upsilon;","\u21C8":"&uuarr;","\u231D":"&urcorner;","\u230E":"&urcrop;",\u016F:"&uring;","\u25F9":"&urtri;","\u{1D4CA}":"&uscr;","\u22F0":"&utdot;",\u0169:"&utilde;",\u00FC:"&uuml;","\u29A7":"&uwangle;","\u2AE8":"&vBar;","\u2AE9":"&vBarv;","\u299C":"&vangrt;","\u228A\uFE00":"&vsubne;","\u2ACB\uFE00":"&vsubnE;","\u228B\uFE00":"&vsupne;","\u2ACC\uFE00":"&vsupnE;",\u0432:"&vcy;","\u22BB":"&veebar;","\u225A":"&veeeq;","\u22EE":"&vellip;","\u{1D533}":"&vfr;","\u{1D567}":"&vopf;","\u{1D4CB}":"&vscr;","\u299A":"&vzigzag;",\u0175:"&wcirc;","\u2A5F":"&wedbar;","\u2259":"&wedgeq;","\u2118":"&wp;","\u{1D534}":"&wfr;","\u{1D568}":"&wopf;","\u{1D4CC}":"&wscr;","\u{1D535}":"&xfr;",\u03BE:"&xi;","\u22FB":"&xnis;","\u{1D569}":"&xopf;","\u{1D4CD}":"&xscr;",\u00FD:"&yacute;",\u044F:"&yacy;",\u0177:"&ycirc;",\u044B:"&ycy;","\xA5":"&yen;","\u{1D536}":"&yfr;",\u0457:"&yicy;","\u{1D56A}":"&yopf;","\u{1D4CE}":"&yscr;",\u044E:"&yucy;",\u00FF:"&yuml;",\u017A:"&zacute;",\u017E:"&zcaron;",\u0437:"&zcy;",\u017C:"&zdot;",\u03B6:"&zeta;","\u{1D537}":"&zfr;",\u0436:"&zhcy;","\u21DD":"&zigrarr;","\u{1D56B}":"&zopf;","\u{1D4CF}":"&zscr;","\u200D":"&zwj;","\u200C":"&zwnj;"}}};var xr={};Object.defineProperty(xr,"__esModule",{value:!0}),xr.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var Ee={};Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.fromCodePoint=String.fromCodePoint||function(r){return String.fromCharCode(Math.floor((r-65536)/1024)+55296,(r-65536)%1024+56320)},Ee.getCodePoint=String.prototype.codePointAt?function(r,e){return r.codePointAt(e)}:function(r,e){return(r.charCodeAt(e)-55296)*1024+r.charCodeAt(e+1)-56320+65536},Ee.highSurrogateFrom=55296,Ee.highSurrogateTo=56319;var xe=we&&we.__assign||function(){return xe=Object.assign||function(r){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r},xe.apply(this,arguments)};Object.defineProperty(We,"__esModule",{value:!0});var Ne=He,xt=xr,Ar=Ee,Rr=xe(xe({},Ne.namedReferences),{all:Ne.namedReferences.html5}),gn={specialChars:/[<>'"&]/g,nonAscii:/(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,nonAsciiPrintable:/(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,extensive:/(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g},mn={mode:"specialChars",level:"all",numeric:"decimal"};function bn(r,e){var m=e===void 0?mn:e,b=m.mode,t=b===void 0?"specialChars":b,i=m.numeric,n=i===void 0?"decimal":i,s=m.level,a=s===void 0?"all":s;if(!r)return"";var u=gn[t],c=Rr[a].characters,g=n==="hexadecimal";u.lastIndex=0;var m=u.exec(r),b;if(m){b="";var i=0;do{i!==m.index&&(b+=r.substring(i,m.index));var s=m[0],p=c[s];if(!p){var w=s.length>1?Ar.getCodePoint(s,0):s.charCodeAt(0);p=(g?"&#x"+w.toString(16):"&#"+w)+";"}b+=p,i=m.index+s.length}while(m=u.exec(r));i!==r.length&&(b+=r.substring(i))}else b=r;return b}We.encode=bn;var _n={scope:"body",level:"all"},Sr=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,Tr=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,At={xml:{strict:Sr,attribute:Tr,body:Ne.bodyRegExps.xml},html4:{strict:Sr,attribute:Tr,body:Ne.bodyRegExps.html4},html5:{strict:Sr,attribute:Tr,body:Ne.bodyRegExps.html5}},yn=xe(xe({},At),{all:At.html5}),qr=String.fromCharCode,Rt=qr(65533),vn={level:"all"};function wn(r,e){var i=(e===void 0?vn:e).level,t=i===void 0?"all":i;if(!r)return"";var i=r;r[r.length-1];{var n=Rr[t].entities[r];if(n)i=n;else if(r[0]==="&"&&r[1]==="#"){var s=r[2],a=s=="x"||s=="X"?parseInt(r.substr(3),16):parseInt(r.substr(2));i=a>=1114111?Rt:a>65535?Ar.fromCodePoint(a):qr(xt.numericUnicodeMap[a]||a)}}return i}We.decodeEntity=wn;function En(r,e){var t=e===void 0?_n:e,i=t.level,n=i===void 0?"all":i,s=t.scope,a=s===void 0?n==="xml"?"strict":"body":s;if(!r)return"";var u=yn[n][a],c=Rr[n].entities,g=a==="attribute",m=a==="strict";u.lastIndex=0;var b=u.exec(r),p;if(b){p="";var w=0;do{w!==b.index&&(p+=r.substring(w,b.index));var y=b[0],R=y,q=y[y.length-1];if(g&&q==="=")R=y;else if(m&&q!==";")R=y;else{var f=c[y];if(f)R=f;else if(y[0]==="&"&&y[1]==="#"){var _=y[2],A=_=="x"||_=="X"?parseInt(y.substr(3),16):parseInt(y.substr(2));R=A>=1114111?Rt:A>65535?Ar.fromCodePoint(A):qr(xt.numericUnicodeMap[A]||A)}}p+=R,w=b.index+y.length}while(b=u.exec(r));w!==r.length&&(p+=r.substring(w))}else p=r;return p}var xn=We.decode=En;const An=({entry:r,values:e,fields:t})=>{const[i,n,s]=r;if(t[i]===void 0||e[i]===void 0&&t[i].type!=="boolean"&&t[i].type!=="many2one")return!1;let a=s;t[i].type==="many2one"&&s===!1&&e[i]===void 0&&(a=void 0),t[i].type==="boolean"&&(s===0||s===1)&&(a=s!==0);const u=t[i].type==="boolean"?!!e[i]:e[i];switch(n.toLowerCase()){case"=":case"==":return u===a;case"<>":case"!=":return u!==a;case">":return u>a;case">=":return u>=a;case"<":return u<a;case"<=":return u<=a;case"in":return a.includes(u);case"not in":return!a.includes(u);default:return!1}},H=r=>xn(r,{level:"xml"}),Rn=({attrs:r,values:e,fields:t})=>{const u=r.replace(/\(/g,"[").replace(/\)/g,"]").replace(/\'/g,'"').replace(/True/g,"true").replace(/False/g,"false"),c=H(u),g=JSON.parse(c),m={};for(const b of Object.keys(g)){const w=g[b].map(y=>An({entry:y,values:e,fields:t}));m[b]=w.every(y=>y===!0)}return m},Sn=({tagAttributes:r,values:e,fields:t})=>{const i=r.attrs?Rn({attrs:r.attrs,values:e,fields:t}):{};return{...r,...i,attrs:void 0}};class I extends de{constructor(e){super(e),this._id="",this._label="",this._nolabel=!1,this._required=!1,this._activated=!0,this._selectionValues=new Map([]),this._activated=!0,e&&(e.name&&(this._id=e.name),e.activated&&(this._activated=e.activated),e.string&&(this._label=H(e.string)),e.help&&(this._tooltip=H(e.help)),e.nolabel&&(e.nolabel==="1"||typeof e.nolabel=="boolean"&&e.nolabel===!0)&&(this._nolabel=!0),e.required&&(e.required==="1"||e.required===!0||e.required==="True")&&(this._required=!0),e.sum&&(this._sum=e.sum),e.selection&&(this._selectionValues=new Map(e.selection)))}get id(){return this._id}set id(e){this._id=e}get label(){return this._label}set label(e){this._label=e}get nolabel(){return this._nolabel}set nolabel(e){this._nolabel=e}get required(){return this._required}set required(e){this._required=e}get tooltip(){return this._tooltip}set tooltip(e){this._tooltip=e}get activated(){return this._activated}set activated(e){this._activated=e}get sum(){return this._sum}set sum(e){this._sum=e}get selectionValues(){return this._selectionValues}set selectionValues(e){this._selectionValues=e}findById(e){let t=null;return this._id===e&&(t=this),t}}class Dr extends de{findById(e){return null}}class Cr extends I{constructor(e){super({...e,nolabel:!0}),this._text="",this._align="left",this._labelType="default",this._labelSize="text",this._fieldForLabel=null,e!=null&&e.fieldForLabel&&(this._fieldForLabel=e.fieldForLabel),e.widget_props&&(this.parsedWidgetProps.label_type&&(this.labelType=this.parsedWidgetProps.label_type),this.parsedWidgetProps.label_size&&(this.labelSize=this.parsedWidgetProps.label_size))}get text(){return this._text}set text(e){this._text=e}get align(){return this._align}set align(e){this._align=e}get labelType(){return this._labelType}set labelType(e){this._labelType=e}get labelSize(){return this._labelSize}set labelSize(e){this._labelSize=e}get fieldForLabel(){return this._fieldForLabel}set fieldForLabel(e){this._fieldForLabel=e}}class Le{get columns(){return this._columns}set columns(e){this._columns=e}get colspan(){return this._colspan}set colspan(e){this._colspan=e}get rows(){return this._rows}set rows(e){this._rows=e}get index(){return this._index}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=e}constructor(e=4,t=6,i=!1){this._columns=e,this._colspan=t,this._rows=[[]],this._index=0,this._readOnly=i}freePosition(){const e=this._rows[this._index].filter(t=>!t.invisible).reduce((t,i)=>t+i.colspan,0);return this._columns-e}addWidget(e,t){const i=[],n=t?t.addLabel:!0;if(e instanceof Dr){this._rows.push([]),this._index++;return}if(e.colspan>this._columns&&(e.colspan=this._columns),e.readOnly=e.readOnly||this.readOnly,n&&e instanceof I&&!e.nolabel){e.colspan>1&&(e.colspan-=1);const a=new Cr({name:e.id+"_label",string:e.label,invisible:e.invisible,help:e.tooltip,fieldForLabel:e.id});a.type="label",i.push(a),i.push(e)}else i.push(e);i.reduce((a,u)=>a+u.colspan,0)>this.freePosition()&&(this._rows.push([]),this._index++),this._rows[this._index]=this._rows[this._index].concat(i)}findById(e){let t=null;return this._rows&&this._rows.length&&this._rows.forEach(i=>{t||i&&i.length&&i.forEach(n=>{t||n&&(t=n.findById(e))})}),t}}const Ge=class extends de{constructor(r){super(r),this._id="",this._mustExpand=!1,this._label="",this._container=new Le(r&&r.col,Ge._defaultColspan,this.readOnly),r&&(r.name&&(this._id=r.name),r.colspan?this._container.colspan=+r.colspan:this._mustExpand=!0,r.string&&(this._label=H(r.string)))}get id(){return this._id}set id(r){this._id=r}static get defaultColspan(){return Ge._defaultColspan}static set defaultColspan(r){Ge._defaultColspan=r}get container(){return this._container}set container(r){this._container=r}get colspan(){return this._container.colspan}set colspan(r){this._container.colspan=+r}get mustExpand(){return this._mustExpand}set mustExpand(r){this._mustExpand=r}get label(){return this._label}set label(r){this._label=r}findById(r){return r===this.id?this:this.container.findById(r)}};let he=Ge;he._defaultColspan=6;const $e=class extends he{constructor(r){super(r),this._tabPosition="top",this._pages=[],this.colspan=$e._defaultColspan,r&&(r.colspan&&(this.colspan=r.colspan),r.tabpos&&(this._tabPosition=r.tabpos))}static get defaultColspan(){return $e._defaultColspan}static set defaultColspan(r){$e._defaultColspan=r}get tabPosition(){return this._tabPosition}set tabPosition(r){this._tabPosition=r}get pages(){return[].concat.apply([],this._container.rows)}};let kr=$e;kr._defaultColspan=3;class St extends he{constructor(e){super(e),this._icon=null,e.icon&&(this._icon=e.icon)}get icon(){return this._icon}set icon(e){this._icon=e}}class Tt extends he{constructor(e){super(e)}}class qt extends I{constructor(e){if(super({...e,nolabel:(e==null?void 0:e.nolabel)!==void 0?e.nolabel:!0}),this._buttonType="workflow",this._caption="",this._confirmMessage="",this._primary=!1,this._danger=!1,e){if(e.string&&(this._caption=H(e.string)),e.buttonType&&(this._buttonType=e.buttonType),e.confirm&&(this._confirmMessage=H(e.confirm)),e.special&&e.special==="cancel"&&(this._buttonType="cancel"),e.icon&&(this._icon=e.icon),e.primary){const t=e.primary;(t==="1"||t===1||t===!0)&&(this._primary=!0)}if(e.danger){const t=e.danger;(t==="1"||t===1||t===!0)&&(this._danger=!0)}}}get buttonType(){return this._buttonType}set buttonType(e){this._buttonType=e}get caption(){return this._caption}set caption(e){this._caption=e}get icon(){return this._icon}set icon(e){this._icon=e}get confirmMessage(){return this._confirmMessage}set confirm(e){this._confirmMessage=e}get primary(){return this._primary}set primary(e){this._primary=e}get danger(){return this._danger}set danger(e){this._danger=e}}class Dt extends he{constructor(e){super(e),this._defaultName="",e.default&&(this._defaultName=e.default)}get defaultName(){return this._defaultName}get defaultButton(){return this.buttons.find(e=>e.id===this.defaultName)}get secondaryButtons(){return this.buttons.filter(e=>e.id!==this.defaultName)}get buttons(){return this._container.rows[0]}}class Je extends I{constructor(e){super(e),this._placeholder="",this._isPassword=!1,this._translatable=!1,e&&(e.size&&(this._size=e.size),e.password&&(this.isPassword=e.password==="True"),e.translate&&(this.translatable=e.translate==="True"||e.translate===!0))}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e}get size(){return this._size}set size(e){this._size=e}get isPassword(){return this._isPassword}set isPassword(e){this._isPassword=e}get translatable(){return this._translatable}set translatable(e){this._translatable=e}}class Fr extends I{constructor(e){if(super(e),this._placeholder="",this._mustExpand=!1,this._translatable=!1,e){if(e.placeholder&&(this._placeholder=H(e.placeholder)),e.colspan||(this._mustExpand=!0),e.height)try{this._height=parseInt(e.height)}catch{this._height=void 0}e.translate&&(this.translatable=e.translate==="True"||e.translate===!0)}}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e}get mustExpand(){return this._mustExpand}set mustExpand(e){this._mustExpand=e}get height(){return this._height}set height(e){this._height=e}get translatable(){return this._translatable}set translatable(e){this._translatable=e}}class Pe extends I{constructor(e){super(e),this._size=150,e&&e.size&&(this._size=e.size)}get size(){return this._size}set size(e){this._size=e}}class Ct extends I{constructor(e){super(e),this._size=150,this._relation="",e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}}class Or extends I{constructor(e){super(e)}}class kt extends I{constructor(e){super(e)}}class Ke extends I{constructor(e){if(super(e),this._integerDigits=16,this._decimalDigits=2,e!=null&&e.digits){const[t,i]=e.digits;this._integerDigits=t,this._decimalDigits=i}}get integerDigits(){return this._integerDigits}set integerDigits(e){this._integerDigits=e}get decimalDigits(){return this._decimalDigits}set decimalDigits(e){this._decimalDigits=e}}class Ft extends Ke{}class Ot extends Ke{}class Nt extends I{constructor(e){super(e)}}class Lt extends I{constructor(e){super(e)}}class Pt extends I{constructor(e){super(e),this._size=150,this._relation="",this._mustExpand=!1,e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation),e.colspan||(this._mustExpand=!0))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}get mustExpand(){return this._mustExpand}set mustExpand(e){this._mustExpand=e}}class Nr extends I{constructor(e){super(e),this._size=150,this._relation="",this._views=null,this._mode=[],this._mustExpand=!1,e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation),e.mode&&(this._mode=e.mode.split(",")),e.views&&(this._views=e.views),e.colspan?this.colspan=e.colspan:this._mustExpand=!0,e.inv_field&&(this._inv_field=e.inv_field))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}get inv_field(){return this._inv_field}set inv_field(e){this._inv_field=e}get views(){return this._views}set views(e){this._views=e}get mode(){return this._mode}set mode(e){this._mode=e}get mustExpand(){return this._mustExpand}set mustExpand(e){this._mustExpand=e}}class Bt extends de{constructor(e){super(e),this._label="",e&&e.string&&(this._label=H(e.string))}get label(){return this._label}set label(e){this._label=e}findById(e){return null}}class Mt extends Pe{}class Ut extends I{constructor(e){super(e),this._filenameField="",e&&e.filename&&(this._filenameField=e.filename)}get filenameField(){return this._filenameField}set filenameField(e){this._filenameField=e}}class It extends I{}class Tn extends I{constructor(e){super(e)}}class jt extends Nr{constructor(e){super(e),this._titleField="",this._summaryField="",this._parsedWidgetProps&&(this._titleField=this._parsedWidgetProps.titleField,this._summaryField=this.parsedWidgetProps.summaryField)}get titleField(){return this._titleField}set titleField(e){this._titleField=e}get summaryField(){return this._summaryField}set summaryField(e){this._summaryField=e}}class Vt extends Pe{constructor(e){super(e),this._nolabel=!0,this._card=!1,this._icon="",this._suffix="",this._parsedWidgetProps&&(this._card=this._parsedWidgetProps.card||!1,this._icon=this._parsedWidgetProps.icon||"",this._suffix=this._parsedWidgetProps.suffix||"")}get card(){return this._card}set card(e){this._card=e}get icon(){return this._icon}set icon(e){this._icon=e}get suffix(){return this._suffix}set suffix(e){this._suffix=e}}class Lr extends I{constructor(e){super(e),this._size=150,this._relation="",this._field="name",this._columns=4,e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation),e.inv_field&&(this._inv_field=e.inv_field),this.parsedWidgetProps.hasOwnProperty("field")&&(this._field=this.parsedWidgetProps.field),this.parsedWidgetProps.columns&&(this._columns=this.parsedWidgetProps.columns))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}get inv_field(){return this._inv_field}set inv_field(e){this._inv_field=e}get field(){return this._field}set field(e){this._field=e}get columns(){return this._columns}set columns(e){this._columns=e}}class zt extends Lr{}class Yt extends Pe{constructor(e){super(e),this._direction="horizontal",e&&this.parsedWidgetProps.hasOwnProperty("direction")&&(this._direction=this.parsedWidgetProps.direction)}get direction(){return this._direction}set direction(e){this._direction=e}}class Wt extends Or{}class Ht extends I{constructor(e){super(e),this._relation="",this._errorField=null,e&&(e.relation&&(this._relation=e.relation),this.parsedWidgetProps.hasOwnProperty("error_field")&&(this._errorField=this.parsedWidgetProps.error_field))}get relation(){return this._relation}set relation(e){this._relation=e}get errorField(){return this._errorField}set errorField(e){this._errorField=e}}class Gt extends Fr{constructor(e){super(e),this._lang=null,e&&this.parsedWidgetProps.lang&&(this._lang=this.parsedWidgetProps.lang)}get lang(){return this._lang}set lang(e){this._lang=e}}class Pr{setWidgetClass(e){switch(e){case"notebook":this._widgetClass=kr;break;case"page":this._widgetClass=St;break;case"group":this._widgetClass=Tt;break;case"label":this._widgetClass=Cr;break;case"char":this._widgetClass=Je;break;case"text":this._widgetClass=Fr;break;case"button":this._widgetClass=qt;break;case"buttonGroup":this._widgetClass=Dt;break;case"selection":this._widgetClass=Pe;break;case"many2one":this._widgetClass=Ct;break;case"boolean":this._widgetClass=Or;break;case"integer":this._widgetClass=kt;break;case"float":this._widgetClass=Ke;break;case"float_time":this._widgetClass=Ft;break;case"date":this._widgetClass=Nt;break;case"datetime":this._widgetClass=Lt;break;case"progressbar":this._widgetClass=Ot;break;case"many2many":this._widgetClass=Pt;break;case"one2many":case"one2many_list":this._widgetClass=Nr;break;case"newline":this._widgetClass=Dr;break;case"separator":this._widgetClass=Bt;break;case"url":this._widgetClass=Je;break;case"email":this._widgetClass=Je;break;case"reference":this._widgetClass=Mt;break;case"binary":this._widgetClass=Ut;break;case"image":this._widgetClass=It;break;case"fiber_grid":this._widgetClass=Tn;break;case"timeline":this._widgetClass=jt;break;case"indicator":this._widgetClass=Vt;break;case"tags":this._widgetClass=zt;break;case"radio":this._widgetClass=Yt;break;case"multicheckbox":this._widgetClass=Lr;break;case"switch":this._widgetClass=Wt;break;case"steps":this._widgetClass=Ht;break;case"codeeditor":this._widgetClass=Gt;break}}createWidget(e,t){let i=e;switch(this.setWidgetClass(e),this._widgetClass===void 0&&(i=t.fieldsWidgetType,this.setWidgetClass(t.fieldsWidgetType)),this._widgetClass===void 0&&(this._widgetClass=de),e){case"notebook":case"page":case"group":return new this._widgetClass({...t,type:i});case"button":return new this._widgetClass({...t,type:e,buttonType:t.type});default:return new this._widgetClass({...t,type:i})}}}const qn=({fieldName:r,values:e,fields:t})=>{var i;if(!r)return{};const n=(i=t[r])==null?void 0:i.states;if(!n)return{};const s={},a={};for(const u of Object.keys(n))if(e.state===u){const c=n[u];for(const g of c){const[m,b]=g;a[m]||(a[m]=[]),a[m].push(b)}}for(const u of Object.keys(a)){const c=a[u];s[u]=c.some(g=>g===!0)}return s},Dn=({states:r,values:e})=>{if(!(e!=null&&e.state))return{};const t=r.split(",");return t.length===0?{}:t.includes(e.state)?{}:{invisible:!0}};function Cn({values:r={},fieldName:e,fields:t={}}){var i;const n=((i=t[e])==null?void 0:i.type)||"passthrough";return n==="many2one"?r[e]?r[e][0]||null:!1:n==="one2many"||n==="many2many"?r[e].map(s=>s.id):r!=null&&r[e]?r==null?void 0:r[e]:e.indexOf("'")!==-1?e:parseInt(e)}const $t=({context:r,values:e,fields:t})=>{try{if(!r||r.trim().length===0)return;var i=r.replace(/\"/g,"'").replace(/\s/g,"").replace(/True/g,"true"),n=i.replace(/False/g,"false");const m=n.replace(/\{/g,"").replace(/\}/g,"").split(",").map(p=>p.split(":")),b={};return m.forEach(p=>{const w=p[1];if(p[1].indexOf("'")===-1&&p[1]!=="true"&&p[1]!=="false"){const y=Cn({values:e,fields:t,fieldName:w==="active_id"?"id":w});b[p[0].replace(/'/g,"")]=y||void 0}else p[1]==="true"?b[p[0].replace(/'/g,"")]=!0:p[1]==="false"?b[p[0].replace(/'/g,"")]=!1:b[p[0].replace(/'/g,"")]=p[1].replace(/'/g,"")}),b}catch{return}},kn=r=>{const e=r.replace(/\s/g,"").replace(")","").split("("),t=e[0],n=e[1].split(",");return{method:t,args:n}};function Ze(r,e){e=e||{};var t=e.pos||0,i=!!e.keepComments,n=!!e.keepWhitespace,s="<",a="<".charCodeAt(0),u=">",c=">".charCodeAt(0),g="-".charCodeAt(0),m="/".charCodeAt(0),b="!".charCodeAt(0),p="'".charCodeAt(0),w='"'.charCodeAt(0),y="[".charCodeAt(0),R="]".charCodeAt(0);function q(C){for(var M=[];r[t];)if(r.charCodeAt(t)==a){if(r.charCodeAt(t+1)===m){var G=t+2;t=r.indexOf(u,t);var ne=r.substring(G,t);if(ne.indexOf(C)==-1){var K=r.substring(0,t).split(`
1
+ (function(C,Fe){typeof exports=="object"&&typeof module<"u"?Fe(exports,require("html-entities"),require("moment")):typeof define=="function"&&define.amd?define(["exports","html-entities","moment"],Fe):(C=typeof globalThis<"u"?globalThis:C||self,Fe(C.ooui={},C.htmlEntities,C.moment))})(this,function(C,Fe,Zi){"use strict";const De=(t=>t&&typeof t=="object"&&"default"in t?t:{default:t})(Zi),We=class{constructor(t){if(this._type="",this._parsedWidgetProps={},this._colspan=We._defaultColspan,this._readOnly=!1,this._invisible=!1,t&&(t.colspan&&(this._colspan=+t.colspan),t.readonly&&(t.readonly==="1"||t.readonly===1||t.readonly===!0)&&(this._readOnly=!0),t.invisible&&(t.invisible===1||t.invisible==="1"||t.invisible===!0)&&(this._invisible=!0),t.type&&(this._type=t.type),t.context&&(this._context=t.context),t.domain&&typeof t.domain=="string"&&(this._domain=t.domain),t.widget_props))try{this._parsedWidgetProps=JSON.parse(t.widget_props.replace(/'/g,'"'))}catch{throw new Error("Error parsing widget_props")}}static get defaultColspan(){return We._defaultColspan}static set defaultColspan(t){We._defaultColspan=t}get readOnly(){return this._readOnly}set readOnly(t){this._readOnly=t}get colspan(){return this._colspan}set colspan(t){this._colspan=+t}get invisible(){return this._invisible}set invisible(t){this._invisible=t}get type(){return this._type}set type(t){this._type=t}get context(){return this._context}set context(t){this._context=t}get domain(){return this._domain}set domain(t){this._domain=t}get parsedWidgetProps(){return this._parsedWidgetProps}set parsedWidgetProps(t){this._parsedWidgetProps=t}};let he=We;he._defaultColspan=1;const en=({entry:t,values:e,fields:r})=>{const[i,n,s]=t;if(r[i]===void 0||e[i]===void 0&&r[i].type!=="boolean"&&r[i].type!=="many2one")return!1;let a=s;r[i].type==="many2one"&&s===!1&&e[i]===void 0&&(a=void 0),r[i].type==="boolean"&&(s===0||s===1)&&(a=s!==0);const u=r[i].type==="boolean"?!!e[i]:e[i];switch(n.toLowerCase()){case"=":case"==":return u===a;case"<>":case"!=":return u!==a;case">":return u>a;case">=":return u>=a;case"<":return u<a;case"<=":return u<=a;case"in":return a.includes(u);case"not in":return!a.includes(u);default:return!1}},$=t=>Fe.decode(t,{level:"xml"}),tn=({attrs:t,values:e,fields:r})=>{const u=t.replace(/\(/g,"[").replace(/\)/g,"]").replace(/\'/g,'"').replace(/True/g,"true").replace(/False/g,"false"),f=$(u),g=JSON.parse(f),b={};for(const _ of Object.keys(g)){const E=g[_].map(v=>en({entry:v,values:e,fields:r}));b[_]=E.every(v=>v===!0)}return b},rn=({tagAttributes:t,values:e,fields:r})=>{const i=t.attrs?tn({attrs:t.attrs,values:e,fields:r}):{};return{...t,...i,attrs:void 0}};class W extends he{constructor(e){super(e),this._id="",this._label="",this._nolabel=!1,this._required=!1,this._activated=!0,this._selectionValues=new Map([]),this._activated=!0,e&&(e.name&&(this._id=e.name),e.activated&&(this._activated=e.activated),e.string&&(this._label=$(e.string)),e.help&&(this._tooltip=$(e.help)),e.nolabel&&(e.nolabel==="1"||typeof e.nolabel=="boolean"&&e.nolabel===!0)&&(this._nolabel=!0),e.required&&(e.required==="1"||e.required===!0||e.required==="True")&&(this._required=!0),e.sum&&(this._sum=e.sum),e.selection&&(this._selectionValues=new Map(e.selection)))}get id(){return this._id}set id(e){this._id=e}get label(){return this._label}set label(e){this._label=e}get nolabel(){return this._nolabel}set nolabel(e){this._nolabel=e}get required(){return this._required}set required(e){this._required=e}get tooltip(){return this._tooltip}set tooltip(e){this._tooltip=e}get activated(){return this._activated}set activated(e){this._activated=e}get sum(){return this._sum}set sum(e){this._sum=e}get selectionValues(){return this._selectionValues}set selectionValues(e){this._selectionValues=e}findById(e){let r=null;return this._id===e&&(r=this),r}}class yt extends he{findById(e){return null}}class wt extends W{constructor(e){super({...e,nolabel:!0}),this._text="",this._align="left",this._labelType="default",this._labelSize="text",this._fieldForLabel=null,e!=null&&e.fieldForLabel&&(this._fieldForLabel=e.fieldForLabel),e.widget_props&&(this.parsedWidgetProps.label_type&&(this.labelType=this.parsedWidgetProps.label_type),this.parsedWidgetProps.label_size&&(this.labelSize=this.parsedWidgetProps.label_size))}get text(){return this._text}set text(e){this._text=e}get align(){return this._align}set align(e){this._align=e}get labelType(){return this._labelType}set labelType(e){this._labelType=e}get labelSize(){return this._labelSize}set labelSize(e){this._labelSize=e}get fieldForLabel(){return this._fieldForLabel}set fieldForLabel(e){this._fieldForLabel=e}}class Me{get columns(){return this._columns}set columns(e){this._columns=e}get colspan(){return this._colspan}set colspan(e){this._colspan=e}get rows(){return this._rows}set rows(e){this._rows=e}get index(){return this._index}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=e}constructor(e=4,r=6,i=!1){this._columns=e,this._colspan=r,this._rows=[[]],this._index=0,this._readOnly=i}freePosition(){const e=this._rows[this._index].filter(r=>!r.invisible).reduce((r,i)=>r+i.colspan,0);return this._columns-e}addWidget(e,r){const i=[],n=r?r.addLabel:!0;if(e instanceof yt){this._rows.push([]),this._index++;return}if(e.colspan>this._columns&&(e.colspan=this._columns),e.readOnly=e.readOnly||this.readOnly,n&&e instanceof W&&!e.nolabel){e.colspan>1&&(e.colspan-=1);const a=new wt({name:e.id+"_label",string:e.label,invisible:e.invisible,help:e.tooltip,fieldForLabel:e.id});a.type="label",i.push(a),i.push(e)}else i.push(e);i.reduce((a,u)=>a+u.colspan,0)>this.freePosition()&&(this._rows.push([]),this._index++),this._rows[this._index]=this._rows[this._index].concat(i)}findById(e){let r=null;return this._rows&&this._rows.length&&this._rows.forEach(i=>{r||i&&i.length&&i.forEach(n=>{r||n&&(r=n.findById(e))})}),r}}const je=class extends he{constructor(t){super(t),this._id="",this._mustExpand=!1,this._label="",this._container=new Me(t&&t.col,je._defaultColspan,this.readOnly),t&&(t.name&&(this._id=t.name),t.colspan?this._container.colspan=+t.colspan:this._mustExpand=!0,t.string&&(this._label=$(t.string)))}get id(){return this._id}set id(t){this._id=t}static get defaultColspan(){return je._defaultColspan}static set defaultColspan(t){je._defaultColspan=t}get container(){return this._container}set container(t){this._container=t}get colspan(){return this._container.colspan}set colspan(t){this._container.colspan=+t}get mustExpand(){return this._mustExpand}set mustExpand(t){this._mustExpand=t}get label(){return this._label}set label(t){this._label=t}findById(t){return t===this.id?this:this.container.findById(t)}};let de=je;de._defaultColspan=6;const Ye=class extends de{constructor(t){super(t),this._tabPosition="top",this._pages=[],this.colspan=Ye._defaultColspan,t&&(t.colspan&&(this.colspan=t.colspan),t.tabpos&&(this._tabPosition=t.tabpos))}static get defaultColspan(){return Ye._defaultColspan}static set defaultColspan(t){Ye._defaultColspan=t}get tabPosition(){return this._tabPosition}set tabPosition(t){this._tabPosition=t}get pages(){return[].concat.apply([],this._container.rows)}};let bt=Ye;bt._defaultColspan=3;class hr extends de{constructor(e){super(e),this._icon=null,e.icon&&(this._icon=e.icon)}get icon(){return this._icon}set icon(e){this._icon=e}}class dr extends de{constructor(e){super(e)}}class gr extends W{constructor(e){if(super({...e,nolabel:(e==null?void 0:e.nolabel)!==void 0?e.nolabel:!0}),this._buttonType="workflow",this._caption="",this._confirmMessage="",this._primary=!1,this._danger=!1,e){if(e.string&&(this._caption=$(e.string)),e.buttonType&&(this._buttonType=e.buttonType),e.confirm&&(this._confirmMessage=$(e.confirm)),e.special&&e.special==="cancel"&&(this._buttonType="cancel"),e.icon&&(this._icon=e.icon),e.primary){const r=e.primary;(r==="1"||r===1||r===!0)&&(this._primary=!0)}if(e.danger){const r=e.danger;(r==="1"||r===1||r===!0)&&(this._danger=!0)}}}get buttonType(){return this._buttonType}set buttonType(e){this._buttonType=e}get caption(){return this._caption}set caption(e){this._caption=e}get icon(){return this._icon}set icon(e){this._icon=e}get confirmMessage(){return this._confirmMessage}set confirm(e){this._confirmMessage=e}get primary(){return this._primary}set primary(e){this._primary=e}get danger(){return this._danger}set danger(e){this._danger=e}}class _r extends de{constructor(e){super(e),this._defaultName="",e.default&&(this._defaultName=e.default)}get defaultName(){return this._defaultName}get defaultButton(){return this.buttons.find(e=>e.id===this.defaultName)}get secondaryButtons(){return this.buttons.filter(e=>e.id!==this.defaultName)}get buttons(){return this._container.rows[0]}}class ze extends W{constructor(e){super(e),this._placeholder="",this._isPassword=!1,this._translatable=!1,e&&(e.size&&(this._size=e.size),e.password&&(this.isPassword=e.password==="True"),e.translate&&(this.translatable=e.translate==="True"||e.translate===!0))}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e}get size(){return this._size}set size(e){this._size=e}get isPassword(){return this._isPassword}set isPassword(e){this._isPassword=e}get translatable(){return this._translatable}set translatable(e){this._translatable=e}}class mt extends W{constructor(e){if(super(e),this._placeholder="",this._mustExpand=!1,this._translatable=!1,e){if(e.placeholder&&(this._placeholder=$(e.placeholder)),e.colspan||(this._mustExpand=!0),e.height)try{this._height=parseInt(e.height)}catch{this._height=void 0}e.translate&&(this.translatable=e.translate==="True"||e.translate===!0)}}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e}get mustExpand(){return this._mustExpand}set mustExpand(e){this._mustExpand=e}get height(){return this._height}set height(e){this._height=e}get translatable(){return this._translatable}set translatable(e){this._translatable=e}}class Oe extends W{constructor(e){super(e),this._size=150,e&&e.size&&(this._size=e.size)}get size(){return this._size}set size(e){this._size=e}}class pr extends W{constructor(e){super(e),this._size=150,this._relation="",e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}}class vt extends W{constructor(e){super(e)}}class yr extends W{constructor(e){super(e)}}class qe extends W{constructor(e){if(super(e),this._integerDigits=16,this._decimalDigits=2,e!=null&&e.digits){const[r,i]=e.digits;this._integerDigits=r,this._decimalDigits=i}}get integerDigits(){return this._integerDigits}set integerDigits(e){this._integerDigits=e}get decimalDigits(){return this._decimalDigits}set decimalDigits(e){this._decimalDigits=e}}class wr extends qe{}class br extends qe{}class mr extends W{constructor(e){super(e)}}class vr extends W{constructor(e){super(e)}}class Er extends W{constructor(e){super(e),this._size=150,this._relation="",this._mustExpand=!1,e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation),e.colspan||(this._mustExpand=!0))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}get mustExpand(){return this._mustExpand}set mustExpand(e){this._mustExpand=e}}class Et extends W{constructor(e){super(e),this._size=150,this._relation="",this._views=null,this._mode=[],this._mustExpand=!1,e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation),e.mode&&(this._mode=e.mode.split(",")),e.views&&(this._views=e.views),e.colspan?this.colspan=e.colspan:this._mustExpand=!0,e.inv_field&&(this._inv_field=e.inv_field))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}get inv_field(){return this._inv_field}set inv_field(e){this._inv_field=e}get views(){return this._views}set views(e){this._views=e}get mode(){return this._mode}set mode(e){this._mode=e}get mustExpand(){return this._mustExpand}set mustExpand(e){this._mustExpand=e}}class xr extends he{constructor(e){super(e),this._label="",e&&e.string&&(this._label=$(e.string))}get label(){return this._label}set label(e){this._label=e}findById(e){return null}}class Rr extends Oe{}class Tr extends W{constructor(e){super(e),this._filenameField="",e&&e.filename&&(this._filenameField=e.filename)}get filenameField(){return this._filenameField}set filenameField(e){this._filenameField=e}}class Sr extends W{}class nn extends W{constructor(e){super(e)}}class Cr extends Et{constructor(e){super(e),this._titleField="",this._summaryField="",this._parsedWidgetProps&&(this._titleField=this._parsedWidgetProps.titleField,this._summaryField=this.parsedWidgetProps.summaryField)}get titleField(){return this._titleField}set titleField(e){this._titleField=e}get summaryField(){return this._summaryField}set summaryField(e){this._summaryField=e}}class Ar extends Oe{constructor(e){super(e),this._nolabel=!0,this._card=!1,this._icon="",this._suffix="",this._parsedWidgetProps&&(this._card=this._parsedWidgetProps.card||!1,this._icon=this._parsedWidgetProps.icon||"",this._suffix=this._parsedWidgetProps.suffix||"")}get card(){return this._card}set card(e){this._card=e}get icon(){return this._icon}set icon(e){this._icon=e}get suffix(){return this._suffix}set suffix(e){this._suffix=e}}class xt extends W{constructor(e){super(e),this._size=150,this._relation="",this._field="name",this._columns=4,e&&(e.size&&(this._size=e.size),e.relation&&(this._relation=e.relation),e.inv_field&&(this._inv_field=e.inv_field),this.parsedWidgetProps.hasOwnProperty("field")&&(this._field=this.parsedWidgetProps.field),this.parsedWidgetProps.columns&&(this._columns=this.parsedWidgetProps.columns))}get size(){return this._size}set size(e){this._size=e}get relation(){return this._relation}set relation(e){this._relation=e}get inv_field(){return this._inv_field}set inv_field(e){this._inv_field=e}get field(){return this._field}set field(e){this._field=e}get columns(){return this._columns}set columns(e){this._columns=e}}class Fr extends xt{}class Dr extends Oe{constructor(e){super(e),this._direction="horizontal",e&&this.parsedWidgetProps.hasOwnProperty("direction")&&(this._direction=this.parsedWidgetProps.direction)}get direction(){return this._direction}set direction(e){this._direction=e}}class Mr extends vt{}class Or extends W{constructor(e){super(e),this._relation="",this._errorField=null,e&&(e.relation&&(this._relation=e.relation),this.parsedWidgetProps.hasOwnProperty("error_field")&&(this._errorField=this.parsedWidgetProps.error_field))}get relation(){return this._relation}set relation(e){this._relation=e}get errorField(){return this._errorField}set errorField(e){this._errorField=e}}class Pr extends mt{constructor(e){super(e),this._lang=null,e&&this.parsedWidgetProps.lang&&(this._lang=this.parsedWidgetProps.lang)}get lang(){return this._lang}set lang(e){this._lang=e}}class Rt{setWidgetClass(e){switch(e){case"notebook":this._widgetClass=bt;break;case"page":this._widgetClass=hr;break;case"group":this._widgetClass=dr;break;case"label":this._widgetClass=wt;break;case"char":this._widgetClass=ze;break;case"text":this._widgetClass=mt;break;case"button":this._widgetClass=gr;break;case"buttonGroup":this._widgetClass=_r;break;case"selection":this._widgetClass=Oe;break;case"many2one":this._widgetClass=pr;break;case"boolean":this._widgetClass=vt;break;case"integer":this._widgetClass=yr;break;case"float":this._widgetClass=qe;break;case"float_time":this._widgetClass=wr;break;case"date":this._widgetClass=mr;break;case"datetime":this._widgetClass=vr;break;case"progressbar":this._widgetClass=br;break;case"many2many":this._widgetClass=Er;break;case"one2many":case"one2many_list":this._widgetClass=Et;break;case"newline":this._widgetClass=yt;break;case"separator":this._widgetClass=xr;break;case"url":this._widgetClass=ze;break;case"email":this._widgetClass=ze;break;case"reference":this._widgetClass=Rr;break;case"binary":this._widgetClass=Tr;break;case"image":this._widgetClass=Sr;break;case"fiber_grid":this._widgetClass=nn;break;case"timeline":this._widgetClass=Cr;break;case"indicator":this._widgetClass=Ar;break;case"tags":this._widgetClass=Fr;break;case"radio":this._widgetClass=Dr;break;case"multicheckbox":this._widgetClass=xt;break;case"switch":this._widgetClass=Mr;break;case"steps":this._widgetClass=Or;break;case"codeeditor":this._widgetClass=Pr;break}}createWidget(e,r){let i=e;switch(this.setWidgetClass(e),this._widgetClass===void 0&&(i=r.fieldsWidgetType,this.setWidgetClass(r.fieldsWidgetType)),this._widgetClass===void 0&&(this._widgetClass=he),e){case"notebook":case"page":case"group":return new this._widgetClass({...r,type:i});case"button":return new this._widgetClass({...r,type:e,buttonType:r.type});default:return new this._widgetClass({...r,type:i})}}}const an=({fieldName:t,values:e,fields:r})=>{var i;if(!t)return{};const n=(i=r[t])==null?void 0:i.states;if(!n)return{};const s={},a={};for(const u of Object.keys(n))if(e.state===u){const f=n[u];for(const g of f){const[b,_]=g;a[b]||(a[b]=[]),a[b].push(_)}}for(const u of Object.keys(a)){const f=a[u];s[u]=f.some(g=>g===!0)}return s},sn=({states:t,values:e})=>{if(!(e!=null&&e.state))return{};const r=t.split(",");return r.length===0?{}:r.includes(e.state)?{}:{invisible:!0}};function on({values:t={},fieldName:e,fields:r={}}){var i;const n=((i=r[e])==null?void 0:i.type)||"passthrough";return n==="many2one"?t[e]?t[e][0]||null:!1:n==="one2many"||n==="many2many"?t[e].map(s=>s.id):t!=null&&t[e]?t==null?void 0:t[e]:e.indexOf("'")!==-1?e:parseInt(e)}const Nr=({context:t,values:e,fields:r})=>{try{if(!t||t.trim().length===0)return;var i=t.replace(/\"/g,"'").replace(/\s/g,"").replace(/True/g,"true"),n=i.replace(/False/g,"false");const b=n.replace(/\{/g,"").replace(/\}/g,"").split(",").map(p=>p.split(":")),_={};return b.forEach(p=>{const E=p[1];if(p[1].indexOf("'")===-1&&p[1]!=="true"&&p[1]!=="false"){const v=on({values:e,fields:r,fieldName:E==="active_id"?"id":E});_[p[0].replace(/'/g,"")]=v||void 0}else p[1]==="true"?_[p[0].replace(/'/g,"")]=!0:p[1]==="false"?_[p[0].replace(/'/g,"")]=!1:_[p[0].replace(/'/g,"")]=p[1].replace(/'/g,"")}),_}catch{return}},ln=t=>{const e=t.replace(/\s/g,"").replace(")","").split("("),r=e[0],n=e[1].split(",");return{method:r,args:n}};function Ge(t,e){e=e||{};var r=e.pos||0,i=!!e.keepComments,n=!!e.keepWhitespace,s="<",a="<".charCodeAt(0),u=">",f=">".charCodeAt(0),g="-".charCodeAt(0),b="/".charCodeAt(0),_="!".charCodeAt(0),p="'".charCodeAt(0),E='"'.charCodeAt(0),v="[".charCodeAt(0),T="]".charCodeAt(0);function D(F){for(var L=[];t[r];)if(t.charCodeAt(r)==a){if(t.charCodeAt(r+1)===b){var V=r+2;r=t.indexOf(u,r);var ne=t.substring(V,r);if(ne.indexOf(F)==-1){var J=t.substring(0,r).split(`
3
2
  `);throw new Error(`Unexpected close tag
4
- Line: `+(K.length-1)+`
5
- Column: `+(K[K.length-1].length+1)+`
6
- Char: `+r[t])}return t+1&&(t+=1),M}else if(r.charCodeAt(t+1)===b){if(r.charCodeAt(t+2)==g){const ae=t;for(;t!==-1&&!(r.charCodeAt(t)===c&&r.charCodeAt(t-1)==g&&r.charCodeAt(t-2)==g&&t!=-1);)t=r.indexOf(u,t+1);t===-1&&(t=r.length),i&&M.push(r.substring(ae,t+1))}else if(r.charCodeAt(t+2)===y&&r.charCodeAt(t+8)===y&&r.substr(t+3,5).toLowerCase()==="cdata"){var V=r.indexOf("]]>",t);V==-1?(M.push(r.substr(t+9)),t=r.length):(M.push(r.substring(t+9,V)),t=V+3);continue}else{const ae=t+1;t+=2;for(var Z=!1;(r.charCodeAt(t)!==c||Z===!0)&&r[t];)r.charCodeAt(t)===y?Z=!0:Z===!0&&r.charCodeAt(t)===R&&(Z=!1),t++;M.push(r.substring(ae,t))}t++;continue}var X=F();M.push(X),X.tagName[0]==="?"&&(M.push(...X.children),X.children=[])}else{var Q=f();if(n)Q.length>0&&M.push(Q);else{var ye=Q.trim();ye.length>0&&M.push(ye)}t++}return M}function f(){var C=t;return t=r.indexOf(s,t)-1,t===-2&&(t=r.length),r.slice(C,t+1)}var _=`\r
7
- >/= `;function A(){for(var C=t;_.indexOf(r[t])===-1&&r[t];)t++;return r.slice(C,t)}var D=e.noChildNodes||["img","br","input","meta","link","hr"];function F(){t++;const C=A(),M={};let G=[];for(;r.charCodeAt(t)!==c&&r[t];){var ne=r.charCodeAt(t);if(ne>64&&ne<91||ne>96&&ne<123){for(var K=A(),V=r.charCodeAt(t);V&&V!==p&&V!==w&&!(V>64&&V<91||V>96&&V<123)&&V!==c;)t++,V=r.charCodeAt(t);if(V===p||V===w){var Z=j();if(t===-1)return{tagName:C,attributes:M,children:G}}else Z=null,t--;M[K]=Z}t++}if(r.charCodeAt(t-1)!==m)if(C=="script"){var X=t+1;t=r.indexOf("<\/script>",t),G=[r.slice(X,t)],t+=9}else if(C=="style"){var X=t+1;t=r.indexOf("</style>",t),G=[r.slice(X,t)],t+=8}else D.indexOf(C)===-1?(t++,G=q(C)):t++;else t++;return{tagName:C,attributes:M,children:G}}function j(){var C=r[t],M=t+1;return t=r.indexOf(C,M),r.slice(M,t)}function Y(){var C=new RegExp("\\s"+e.attrName+`\\s*=['"]`+e.attrValue+`['"]`).exec(r);return C?C.index:-1}var O=null;if(e.attrValue!==void 0){e.attrName=e.attrName||"id";for(var O=[];(t=Y())!==-1;)t=r.lastIndexOf("<",t),t!==-1&&O.push(F()),r=r.substr(t),t=0}else e.parseNode?O=F():O=q("");return e.filter&&(O=Kt(O,e.filter)),e.simplify?Jt(Array.isArray(O)?O:[O]):(e.setPos&&(O.pos=t),O)}function Jt(r){var e={};if(!r.length)return"";if(r.length===1&&typeof r[0]=="string")return r[0];r.forEach(function(i){if(typeof i=="object"){e[i.tagName]||(e[i.tagName]=[]);var n=Jt(i.children);e[i.tagName].push(n),Object.keys(i.attributes).length&&typeof n!="string"&&(n._attributes=i.attributes)}});for(var t in e)e[t].length==1&&(e[t]=e[t][0]);return e}function Kt(r,e,t=0,i=""){var n=[];return r.forEach(function(s,a){if(typeof s=="object"&&e(s,a,t,i)&&n.push(s),s.children){var u=Kt(s.children,e,t+1,(i?i+".":"")+a+"."+s.tagName);n=n.concat(u)}}),n}const Ae=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function Zt(){throw new Error("setTimeout has not been defined")}function Xt(){throw new Error("clearTimeout has not been defined")}var ue=Zt,ce=Xt;typeof Ae.setTimeout=="function"&&(ue=setTimeout),typeof Ae.clearTimeout=="function"&&(ce=clearTimeout);function Qt(r){if(ue===setTimeout)return setTimeout(r,0);if((ue===Zt||!ue)&&setTimeout)return ue=setTimeout,setTimeout(r,0);try{return ue(r,0)}catch{try{return ue.call(null,r,0)}catch{return ue.call(this,r,0)}}}function Fn(r){if(ce===clearTimeout)return clearTimeout(r);if((ce===Xt||!ce)&&clearTimeout)return ce=clearTimeout,clearTimeout(r);try{return ce(r)}catch{try{return ce.call(null,r)}catch{return ce.call(this,r)}}}var se=[],Re=!1,pe,Xe=-1;function On(){!Re||!pe||(Re=!1,pe.length?se=pe.concat(se):Xe=-1,se.length&&ei())}function ei(){if(!Re){var r=Qt(On);Re=!0;for(var e=se.length;e;){for(pe=se,se=[];++Xe<e;)pe&&pe[Xe].run();Xe=-1,e=se.length}pe=null,Re=!1,Fn(r)}}function Nn(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];se.push(new ri(r,e)),se.length===1&&!Re&&Qt(ei)}function ri(r,e){this.fun=r,this.array=e}ri.prototype.run=function(){this.fun.apply(null,this.array)};var Ln="browser",Pn="browser",Bn=!0,Mn={},Un=[],In="",jn={},Vn={},zn={};function ge(){}var Yn=ge,Wn=ge,Hn=ge,Gn=ge,$n=ge,Jn=ge,Kn=ge;function Zn(r){throw new Error("process.binding is not supported")}function Xn(){return"/"}function Qn(r){throw new Error("process.chdir is not supported")}function ea(){return 0}var Se=Ae.performance||{},ra=Se.now||Se.mozNow||Se.msNow||Se.oNow||Se.webkitNow||function(){return new Date().getTime()};function ta(r){var e=ra.call(Se)*.001,t=Math.floor(e),i=Math.floor(e%1*1e9);return r&&(t=t-r[0],i=i-r[1],i<0&&(t--,i+=1e9)),[t,i]}var ia=new Date;function na(){var r=new Date,e=r-ia;return e/1e3}var P={nextTick:Nn,title:Ln,browser:Bn,env:Mn,argv:Un,version:In,versions:jn,on:Yn,addListener:Wn,once:Hn,off:Gn,removeListener:$n,removeAllListeners:Jn,emit:Kn,binding:Zn,cwd:Xn,chdir:Qn,umask:ea,hrtime:ta,platform:Pn,release:Vn,config:zn,uptime:na},Br={exports:{}},Mr={exports:{}};const ti=Er(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ii=ti.EventEmitter,ee=[],$=[],aa=typeof Uint8Array<"u"?Uint8Array:Array,Ur=!1;function ni(){Ur=!0;for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=r.length;e<t;++e)ee[e]=r[e],$[r.charCodeAt(e)]=e;$["-".charCodeAt(0)]=62,$["_".charCodeAt(0)]=63}function sa(r){Ur||ni();var e,t,i,n,s,a,u=r.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");s=r[u-2]==="="?2:r[u-1]==="="?1:0,a=new aa(u*3/4-s),i=s>0?u-4:u;var c=0;for(e=0,t=0;e<i;e+=4,t+=3)n=$[r.charCodeAt(e)]<<18|$[r.charCodeAt(e+1)]<<12|$[r.charCodeAt(e+2)]<<6|$[r.charCodeAt(e+3)],a[c++]=n>>16&255,a[c++]=n>>8&255,a[c++]=n&255;return s===2?(n=$[r.charCodeAt(e)]<<2|$[r.charCodeAt(e+1)]>>4,a[c++]=n&255):s===1&&(n=$[r.charCodeAt(e)]<<10|$[r.charCodeAt(e+1)]<<4|$[r.charCodeAt(e+2)]>>2,a[c++]=n>>8&255,a[c++]=n&255),a}function oa(r){return ee[r>>18&63]+ee[r>>12&63]+ee[r>>6&63]+ee[r&63]}function la(r,e,t){for(var i,n=[],s=e;s<t;s+=3)i=(r[s]<<16)+(r[s+1]<<8)+r[s+2],n.push(oa(i));return n.join("")}function ai(r){Ur||ni();for(var e,t=r.length,i=t%3,n="",s=[],a=16383,u=0,c=t-i;u<c;u+=a)s.push(la(r,u,u+a>c?c:u+a));return i===1?(e=r[t-1],n+=ee[e>>2],n+=ee[e<<4&63],n+="=="):i===2&&(e=(r[t-2]<<8)+r[t-1],n+=ee[e>>10],n+=ee[e>>4&63],n+=ee[e<<2&63],n+="="),s.push(n),s.join("")}function Qe(r,e,t,i,n){var s,a,u=n*8-i-1,c=(1<<u)-1,g=c>>1,m=-7,b=t?n-1:0,p=t?-1:1,w=r[e+b];for(b+=p,s=w&(1<<-m)-1,w>>=-m,m+=u;m>0;s=s*256+r[e+b],b+=p,m-=8);for(a=s&(1<<-m)-1,s>>=-m,m+=i;m>0;a=a*256+r[e+b],b+=p,m-=8);if(s===0)s=1-g;else{if(s===c)return a?NaN:(w?-1:1)*(1/0);a=a+Math.pow(2,i),s=s-g}return(w?-1:1)*a*Math.pow(2,s-i)}function si(r,e,t,i,n,s){var a,u,c,g=s*8-n-1,m=(1<<g)-1,b=m>>1,p=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=i?0:s-1,y=i?1:-1,R=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=m):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+b>=1?e+=p/c:e+=p*Math.pow(2,1-b),e*c>=2&&(a++,c/=2),a+b>=m?(u=0,a=m):a+b>=1?(u=(e*c-1)*Math.pow(2,n),a=a+b):(u=e*Math.pow(2,b-1)*Math.pow(2,n),a=0));n>=8;r[t+w]=u&255,w+=y,u/=256,n-=8);for(a=a<<n|u,g+=n;g>0;r[t+w]=a&255,w+=y,a/=256,g-=8);r[t+w-y]|=R*128}var ua={}.toString,oi=Array.isArray||function(r){return ua.call(r)=="[object Array]"};/*!
3
+ Line: `+(J.length-1)+`
4
+ Column: `+(J[J.length-1].length+1)+`
5
+ Char: `+t[r])}return r+1&&(r+=1),L}else if(t.charCodeAt(r+1)===_){if(t.charCodeAt(r+2)==g){const ae=r;for(;r!==-1&&!(t.charCodeAt(r)===f&&t.charCodeAt(r-1)==g&&t.charCodeAt(r-2)==g&&r!=-1);)r=t.indexOf(u,r+1);r===-1&&(r=t.length),i&&L.push(t.substring(ae,r+1))}else if(t.charCodeAt(r+2)===v&&t.charCodeAt(r+8)===v&&t.substr(r+3,5).toLowerCase()==="cdata"){var Y=t.indexOf("]]>",r);Y==-1?(L.push(t.substr(r+9)),r=t.length):(L.push(t.substring(r+9,Y)),r=Y+3);continue}else{const ae=r+1;r+=2;for(var X=!1;(t.charCodeAt(r)!==f||X===!0)&&t[r];)t.charCodeAt(r)===v?X=!0:X===!0&&t.charCodeAt(r)===T&&(X=!1),r++;L.push(t.substring(ae,r))}r++;continue}var Q=O();L.push(Q),Q.tagName[0]==="?"&&(L.push(...Q.children),Q.children=[])}else{var Z=c();if(n)Z.length>0&&L.push(Z);else{var be=Z.trim();be.length>0&&L.push(be)}r++}return L}function c(){var F=r;return r=t.indexOf(s,r)-1,r===-2&&(r=t.length),t.slice(F,r+1)}var w=`\r
6
+ >/= `;function R(){for(var F=r;w.indexOf(t[r])===-1&&t[r];)r++;return t.slice(F,r)}var A=e.noChildNodes||["img","br","input","meta","link","hr"];function O(){r++;const F=R(),L={};let V=[];for(;t.charCodeAt(r)!==f&&t[r];){var ne=t.charCodeAt(r);if(ne>64&&ne<91||ne>96&&ne<123){for(var J=R(),Y=t.charCodeAt(r);Y&&Y!==p&&Y!==E&&!(Y>64&&Y<91||Y>96&&Y<123)&&Y!==f;)r++,Y=t.charCodeAt(r);if(Y===p||Y===E){var X=j();if(r===-1)return{tagName:F,attributes:L,children:V}}else X=null,r--;L[J]=X}r++}if(t.charCodeAt(r-1)!==b)if(F=="script"){var Q=r+1;r=t.indexOf("<\/script>",r),V=[t.slice(Q,r)],r+=9}else if(F=="style"){var Q=r+1;r=t.indexOf("</style>",r),V=[t.slice(Q,r)],r+=8}else A.indexOf(F)===-1?(r++,V=D(F)):r++;else r++;return{tagName:F,attributes:L,children:V}}function j(){var F=t[r],L=r+1;return r=t.indexOf(F,L),t.slice(L,r)}function q(){var F=new RegExp("\\s"+e.attrName+`\\s*=['"]`+e.attrValue+`['"]`).exec(t);return F?F.index:-1}var P=null;if(e.attrValue!==void 0){e.attrName=e.attrName||"id";for(var P=[];(r=q())!==-1;)r=t.lastIndexOf("<",r),r!==-1&&P.push(O()),t=t.substr(r),r=0}else e.parseNode?P=O():P=D("");return e.filter&&(P=Br(P,e.filter)),e.simplify?kr(Array.isArray(P)?P:[P]):(e.setPos&&(P.pos=r),P)}function kr(t){var e={};if(!t.length)return"";if(t.length===1&&typeof t[0]=="string")return t[0];t.forEach(function(i){if(typeof i=="object"){e[i.tagName]||(e[i.tagName]=[]);var n=kr(i.children);e[i.tagName].push(n),Object.keys(i.attributes).length&&typeof n!="string"&&(n._attributes=i.attributes)}});for(var r in e)e[r].length==1&&(e[r]=e[r][0]);return e}function Br(t,e,r=0,i=""){var n=[];return t.forEach(function(s,a){if(typeof s=="object"&&e(s,a,r,i)&&n.push(s),s.children){var u=Br(s.children,e,r+1,(i?i+".":"")+a+"."+s.tagName);n=n.concat(u)}}),n}const ve=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function Ir(){throw new Error("setTimeout has not been defined")}function Lr(){throw new Error("clearTimeout has not been defined")}var ue=Ir,fe=Lr;typeof ve.setTimeout=="function"&&(ue=setTimeout),typeof ve.clearTimeout=="function"&&(fe=clearTimeout);function Ur(t){if(ue===setTimeout)return setTimeout(t,0);if((ue===Ir||!ue)&&setTimeout)return ue=setTimeout,setTimeout(t,0);try{return ue(t,0)}catch{try{return ue.call(null,t,0)}catch{return ue.call(this,t,0)}}}function un(t){if(fe===clearTimeout)return clearTimeout(t);if((fe===Lr||!fe)&&clearTimeout)return fe=clearTimeout,clearTimeout(t);try{return fe(t)}catch{try{return fe.call(null,t)}catch{return fe.call(this,t)}}}var se=[],Ee=!1,ge,$e=-1;function fn(){!Ee||!ge||(Ee=!1,ge.length?se=ge.concat(se):$e=-1,se.length&&Wr())}function Wr(){if(!Ee){var t=Ur(fn);Ee=!0;for(var e=se.length;e;){for(ge=se,se=[];++$e<e;)ge&&ge[$e].run();$e=-1,e=se.length}ge=null,Ee=!1,un(t)}}function cn(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];se.push(new jr(t,e)),se.length===1&&!Ee&&Ur(Wr)}function jr(t,e){this.fun=t,this.array=e}jr.prototype.run=function(){this.fun.apply(null,this.array)};var hn="browser",dn="browser",gn=!0,_n={},pn=[],yn="",wn={},bn={},mn={};function _e(){}var vn=_e,En=_e,xn=_e,Rn=_e,Tn=_e,Sn=_e,Cn=_e;function An(t){throw new Error("process.binding is not supported")}function Fn(){return"/"}function Dn(t){throw new Error("process.chdir is not supported")}function Mn(){return 0}var xe=ve.performance||{},On=xe.now||xe.mozNow||xe.msNow||xe.oNow||xe.webkitNow||function(){return new Date().getTime()};function Pn(t){var e=On.call(xe)*.001,r=Math.floor(e),i=Math.floor(e%1*1e9);return t&&(r=r-t[0],i=i-t[1],i<0&&(r--,i+=1e9)),[r,i]}var Nn=new Date;function kn(){var t=new Date,e=t-Nn;return e/1e3}var B={nextTick:cn,title:hn,browser:gn,env:_n,argv:pn,version:yn,versions:wn,on:vn,addListener:En,once:xn,off:Rn,removeListener:Tn,removeAllListeners:Sn,emit:Cn,binding:An,cwd:Fn,chdir:Dn,umask:Mn,hrtime:Pn,platform:dn,release:bn,config:mn,uptime:kn},Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tt(t){var e=t.default;if(typeof e=="function"){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}),r}var St={exports:{}},Ct={exports:{}};const Yr=Tt(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var zr=Yr.EventEmitter,ee=[],H=[],Bn=typeof Uint8Array<"u"?Uint8Array:Array,At=!1;function qr(){At=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)ee[e]=t[e],H[t.charCodeAt(e)]=e;H["-".charCodeAt(0)]=62,H["_".charCodeAt(0)]=63}function In(t){At||qr();var e,r,i,n,s,a,u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");s=t[u-2]==="="?2:t[u-1]==="="?1:0,a=new Bn(u*3/4-s),i=s>0?u-4:u;var f=0;for(e=0,r=0;e<i;e+=4,r+=3)n=H[t.charCodeAt(e)]<<18|H[t.charCodeAt(e+1)]<<12|H[t.charCodeAt(e+2)]<<6|H[t.charCodeAt(e+3)],a[f++]=n>>16&255,a[f++]=n>>8&255,a[f++]=n&255;return s===2?(n=H[t.charCodeAt(e)]<<2|H[t.charCodeAt(e+1)]>>4,a[f++]=n&255):s===1&&(n=H[t.charCodeAt(e)]<<10|H[t.charCodeAt(e+1)]<<4|H[t.charCodeAt(e+2)]>>2,a[f++]=n>>8&255,a[f++]=n&255),a}function Ln(t){return ee[t>>18&63]+ee[t>>12&63]+ee[t>>6&63]+ee[t&63]}function Un(t,e,r){for(var i,n=[],s=e;s<r;s+=3)i=(t[s]<<16)+(t[s+1]<<8)+t[s+2],n.push(Ln(i));return n.join("")}function Gr(t){At||qr();for(var e,r=t.length,i=r%3,n="",s=[],a=16383,u=0,f=r-i;u<f;u+=a)s.push(Un(t,u,u+a>f?f:u+a));return i===1?(e=t[r-1],n+=ee[e>>2],n+=ee[e<<4&63],n+="=="):i===2&&(e=(t[r-2]<<8)+t[r-1],n+=ee[e>>10],n+=ee[e>>4&63],n+=ee[e<<2&63],n+="="),s.push(n),s.join("")}function He(t,e,r,i,n){var s,a,u=n*8-i-1,f=(1<<u)-1,g=f>>1,b=-7,_=r?n-1:0,p=r?-1:1,E=t[e+_];for(_+=p,s=E&(1<<-b)-1,E>>=-b,b+=u;b>0;s=s*256+t[e+_],_+=p,b-=8);for(a=s&(1<<-b)-1,s>>=-b,b+=i;b>0;a=a*256+t[e+_],_+=p,b-=8);if(s===0)s=1-g;else{if(s===f)return a?NaN:(E?-1:1)*(1/0);a=a+Math.pow(2,i),s=s-g}return(E?-1:1)*a*Math.pow(2,s-i)}function $r(t,e,r,i,n,s){var a,u,f,g=s*8-n-1,b=(1<<g)-1,_=b>>1,p=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=i?0:s-1,v=i?1:-1,T=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=b):(a=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-a))<1&&(a--,f*=2),a+_>=1?e+=p/f:e+=p*Math.pow(2,1-_),e*f>=2&&(a++,f/=2),a+_>=b?(u=0,a=b):a+_>=1?(u=(e*f-1)*Math.pow(2,n),a=a+_):(u=e*Math.pow(2,_-1)*Math.pow(2,n),a=0));n>=8;t[r+E]=u&255,E+=v,u/=256,n-=8);for(a=a<<n|u,g+=n;g>0;t[r+E]=a&255,E+=v,a/=256,g-=8);t[r+E-v]|=T*128}var Wn={}.toString,Vr=Array.isArray||function(t){return Wn.call(t)=="[object Array]"};/*!
8
7
  * The buffer module from node.js, for the browser.
9
8
  *
10
9
  * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
11
10
  * @license MIT
12
- */var li=50;v.TYPED_ARRAY_SUPPORT=Ae.TYPED_ARRAY_SUPPORT!==void 0?Ae.TYPED_ARRAY_SUPPORT:!0;var ca=er();function er(){return v.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function oe(r,e){if(er()<e)throw new RangeError("Invalid typed array length");return v.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e),r.__proto__=v.prototype):(r===null&&(r=new v(e)),r.length=e),r}function v(r,e,t){if(!v.TYPED_ARRAY_SUPPORT&&!(this instanceof v))return new v(r,e,t);if(typeof r=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return Ir(this,r)}return ui(this,r,e,t)}v.poolSize=8192,v._augment=function(r){return r.__proto__=v.prototype,r};function ui(r,e,t,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?ha(r,e,t,i):typeof e=="string"?da(r,e,t):pa(r,e)}v.from=function(r,e,t){return ui(null,r,e,t)},v.TYPED_ARRAY_SUPPORT&&(v.prototype.__proto__=Uint8Array.prototype,v.__proto__=Uint8Array);function ci(r){if(typeof r!="number")throw new TypeError('"size" argument must be a number');if(r<0)throw new RangeError('"size" argument must not be negative')}function fa(r,e,t,i){return ci(e),e<=0?oe(r,e):t!==void 0?typeof i=="string"?oe(r,e).fill(t,i):oe(r,e).fill(t):oe(r,e)}v.alloc=function(r,e,t){return fa(null,r,e,t)};function Ir(r,e){if(ci(e),r=oe(r,e<0?0:Vr(e)|0),!v.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)r[t]=0;return r}v.allocUnsafe=function(r){return Ir(null,r)},v.allocUnsafeSlow=function(r){return Ir(null,r)};function da(r,e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!v.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var i=fi(e,t)|0;r=oe(r,i);var n=r.write(e,t);return n!==i&&(r=r.slice(0,n)),r}function jr(r,e){var t=e.length<0?0:Vr(e.length)|0;r=oe(r,t);for(var i=0;i<t;i+=1)r[i]=e[i]&255;return r}function ha(r,e,t,i){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(i||0))throw new RangeError("'length' is out of bounds");return t===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,t):e=new Uint8Array(e,t,i),v.TYPED_ARRAY_SUPPORT?(r=e,r.__proto__=v.prototype):r=jr(r,e),r}function pa(r,e){if(re(e)){var t=Vr(e.length)|0;return r=oe(r,t),r.length===0||e.copy(r,0,0,t),r}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||Na(e.length)?oe(r,0):jr(r,e);if(e.type==="Buffer"&&oi(e.data))return jr(r,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Vr(r){if(r>=er())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+er().toString(16)+" bytes");return r|0}function ga(r){return+r!=r&&(r=0),v.alloc(+r)}v.isBuffer=wi;function re(r){return!!(r!=null&&r._isBuffer)}v.compare=function(e,t){if(!re(e)||!re(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,s=0,a=Math.min(i,n);s<a;++s)if(e[s]!==t[s]){i=e[s],n=t[s];break}return i<n?-1:n<i?1:0},v.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},v.concat=function(e,t){if(!oi(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return v.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=v.allocUnsafe(t),s=0;for(i=0;i<e.length;++i){var a=e[i];if(!re(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,s),s+=a.length}return n};function fi(r,e){if(re(r))return r.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;typeof r!="string"&&(r=""+r);var t=r.length;if(t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return ir(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return vi(r).length;default:if(i)return ir(r).length;e=(""+e).toLowerCase(),i=!0}}v.byteLength=fi;function ma(r,e,t){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Sa(this,e,t);case"utf8":case"utf-8":return gi(this,e,t);case"ascii":return Aa(this,e,t);case"latin1":case"binary":return Ra(this,e,t);case"base64":return Ea(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ta(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),i=!0}}v.prototype._isBuffer=!0;function me(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}v.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)me(this,t,t+1);return this},v.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)me(this,t,t+3),me(this,t+1,t+2);return this},v.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)me(this,t,t+7),me(this,t+1,t+6),me(this,t+2,t+5),me(this,t+3,t+4);return this},v.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?gi(this,0,e):ma.apply(this,arguments)},v.prototype.equals=function(e){if(!re(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:v.compare(this,e)===0},v.prototype.inspect=function(){var e="",t=li;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},v.prototype.compare=function(e,t,i,n,s){if(!re(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),i===void 0&&(i=e?e.length:0),n===void 0&&(n=0),s===void 0&&(s=this.length),t<0||i>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&t>=i)return 0;if(n>=s)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,s>>>=0,this===e)return 0;for(var a=s-n,u=i-t,c=Math.min(a,u),g=this.slice(n,s),m=e.slice(t,i),b=0;b<c;++b)if(g[b]!==m[b]){a=g[b],u=m[b];break}return a<u?-1:u<a?1:0};function di(r,e,t,i,n){if(r.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof e=="string"&&(e=v.from(e,i)),re(e))return e.length===0?-1:hi(r,e,t,i,n);if(typeof e=="number")return e=e&255,v.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):hi(r,[e],t,i,n);throw new TypeError("val must be string, number or Buffer")}function hi(r,e,t,i,n){var s=1,a=r.length,u=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(r.length<2||e.length<2)return-1;s=2,a/=2,u/=2,t/=2}function c(w,y){return s===1?w[y]:w.readUInt16BE(y*s)}var g;if(n){var m=-1;for(g=t;g<a;g++)if(c(r,g)===c(e,m===-1?0:g-m)){if(m===-1&&(m=g),g-m+1===u)return m*s}else m!==-1&&(g-=g-m),m=-1}else for(t+u>a&&(t=a-u),g=t;g>=0;g--){for(var b=!0,p=0;p<u;p++)if(c(r,g+p)!==c(e,p)){b=!1;break}if(b)return g}return-1}v.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1},v.prototype.indexOf=function(e,t,i){return di(this,e,t,i,!0)},v.prototype.lastIndexOf=function(e,t,i){return di(this,e,t,i,!1)};function ba(r,e,t,i){t=Number(t)||0;var n=r.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var s=e.length;if(s%2!==0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var a=0;a<i;++a){var u=parseInt(e.substr(a*2,2),16);if(isNaN(u))return a;r[t+a]=u}return a}function _a(r,e,t,i){return nr(ir(e,r.length-t),r,t,i)}function pi(r,e,t,i){return nr(Fa(e),r,t,i)}function ya(r,e,t,i){return pi(r,e,t,i)}function va(r,e,t,i){return nr(vi(e),r,t,i)}function wa(r,e,t,i){return nr(Oa(e,r.length-t),r,t,i)}v.prototype.write=function(e,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t|0,isFinite(i)?(i=i|0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s=this.length-t;if((i===void 0||i>s)&&(i=s),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return ba(this,e,t,i);case"utf8":case"utf-8":return _a(this,e,t,i);case"ascii":return pi(this,e,t,i);case"latin1":case"binary":return ya(this,e,t,i);case"base64":return va(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wa(this,e,t,i);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ea(r,e,t){return e===0&&t===r.length?ai(r):ai(r.slice(e,t))}function gi(r,e,t){t=Math.min(r.length,t);for(var i=[],n=e;n<t;){var s=r[n],a=null,u=s>239?4:s>223?3:s>191?2:1;if(n+u<=t){var c,g,m,b;switch(u){case 1:s<128&&(a=s);break;case 2:c=r[n+1],(c&192)===128&&(b=(s&31)<<6|c&63,b>127&&(a=b));break;case 3:c=r[n+1],g=r[n+2],(c&192)===128&&(g&192)===128&&(b=(s&15)<<12|(c&63)<<6|g&63,b>2047&&(b<55296||b>57343)&&(a=b));break;case 4:c=r[n+1],g=r[n+2],m=r[n+3],(c&192)===128&&(g&192)===128&&(m&192)===128&&(b=(s&15)<<18|(c&63)<<12|(g&63)<<6|m&63,b>65535&&b<1114112&&(a=b))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|a&1023),i.push(a),n+=u}return xa(i)}var mi=4096;function xa(r){var e=r.length;if(e<=mi)return String.fromCharCode.apply(String,r);for(var t="",i=0;i<e;)t+=String.fromCharCode.apply(String,r.slice(i,i+=mi));return t}function Aa(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]&127);return i}function Ra(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]);return i}function Sa(r,e,t){var i=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var n="",s=e;s<t;++s)n+=ka(r[s]);return n}function Ta(r,e,t){for(var i=r.slice(e,t),n="",s=0;s<i.length;s+=2)n+=String.fromCharCode(i[s]+i[s+1]*256);return n}v.prototype.slice=function(e,t){var i=this.length;e=~~e,t=t===void 0?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<e&&(t=e);var n;if(v.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=v.prototype;else{var s=t-e;n=new v(s,void 0);for(var a=0;a<s;++a)n[a]=this[a+e]}return n};function z(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}v.prototype.readUIntLE=function(e,t,i){e=e|0,t=t|0,i||z(e,t,this.length);for(var n=this[e],s=1,a=0;++a<t&&(s*=256);)n+=this[e+a]*s;return n},v.prototype.readUIntBE=function(e,t,i){e=e|0,t=t|0,i||z(e,t,this.length);for(var n=this[e+--t],s=1;t>0&&(s*=256);)n+=this[e+--t]*s;return n},v.prototype.readUInt8=function(e,t){return t||z(e,1,this.length),this[e]},v.prototype.readUInt16LE=function(e,t){return t||z(e,2,this.length),this[e]|this[e+1]<<8},v.prototype.readUInt16BE=function(e,t){return t||z(e,2,this.length),this[e]<<8|this[e+1]},v.prototype.readUInt32LE=function(e,t){return t||z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},v.prototype.readUInt32BE=function(e,t){return t||z(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},v.prototype.readIntLE=function(e,t,i){e=e|0,t=t|0,i||z(e,t,this.length);for(var n=this[e],s=1,a=0;++a<t&&(s*=256);)n+=this[e+a]*s;return s*=128,n>=s&&(n-=Math.pow(2,8*t)),n},v.prototype.readIntBE=function(e,t,i){e=e|0,t=t|0,i||z(e,t,this.length);for(var n=t,s=1,a=this[e+--n];n>0&&(s*=256);)a+=this[e+--n]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*t)),a},v.prototype.readInt8=function(e,t){return t||z(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},v.prototype.readInt16LE=function(e,t){t||z(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i},v.prototype.readInt16BE=function(e,t){t||z(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i},v.prototype.readInt32LE=function(e,t){return t||z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},v.prototype.readInt32BE=function(e,t){return t||z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},v.prototype.readFloatLE=function(e,t){return t||z(e,4,this.length),Qe(this,e,!0,23,4)},v.prototype.readFloatBE=function(e,t){return t||z(e,4,this.length),Qe(this,e,!1,23,4)},v.prototype.readDoubleLE=function(e,t){return t||z(e,8,this.length),Qe(this,e,!0,52,8)},v.prototype.readDoubleBE=function(e,t){return t||z(e,8,this.length),Qe(this,e,!1,52,8)};function W(r,e,t,i,n,s){if(!re(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<s)throw new RangeError('"value" argument is out of bounds');if(t+i>r.length)throw new RangeError("Index out of range")}v.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t=t|0,i=i|0,!n){var s=Math.pow(2,8*i)-1;W(this,e,t,i,s,0)}var a=1,u=0;for(this[t]=e&255;++u<i&&(a*=256);)this[t+u]=e/a&255;return t+i},v.prototype.writeUIntBE=function(e,t,i,n){if(e=+e,t=t|0,i=i|0,!n){var s=Math.pow(2,8*i)-1;W(this,e,t,i,s,0)}var a=i-1,u=1;for(this[t+a]=e&255;--a>=0&&(u*=256);)this[t+a]=e/u&255;return t+i},v.prototype.writeUInt8=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,1,255,0),v.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function rr(r,e,t,i){e<0&&(e=65535+e+1);for(var n=0,s=Math.min(r.length-t,2);n<s;++n)r[t+n]=(e&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}v.prototype.writeUInt16LE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,2,65535,0),v.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):rr(this,e,t,!0),t+2},v.prototype.writeUInt16BE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,2,65535,0),v.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):rr(this,e,t,!1),t+2};function tr(r,e,t,i){e<0&&(e=4294967295+e+1);for(var n=0,s=Math.min(r.length-t,4);n<s;++n)r[t+n]=e>>>(i?n:3-n)*8&255}v.prototype.writeUInt32LE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,4,4294967295,0),v.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):tr(this,e,t,!0),t+4},v.prototype.writeUInt32BE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,4,4294967295,0),v.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):tr(this,e,t,!1),t+4},v.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t=t|0,!n){var s=Math.pow(2,8*i-1);W(this,e,t,i,s-1,-s)}var a=0,u=1,c=0;for(this[t]=e&255;++a<i&&(u*=256);)e<0&&c===0&&this[t+a-1]!==0&&(c=1),this[t+a]=(e/u>>0)-c&255;return t+i},v.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t=t|0,!n){var s=Math.pow(2,8*i-1);W(this,e,t,i,s-1,-s)}var a=i-1,u=1,c=0;for(this[t+a]=e&255;--a>=0&&(u*=256);)e<0&&c===0&&this[t+a+1]!==0&&(c=1),this[t+a]=(e/u>>0)-c&255;return t+i},v.prototype.writeInt8=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,1,127,-128),v.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1},v.prototype.writeInt16LE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,2,32767,-32768),v.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):rr(this,e,t,!0),t+2},v.prototype.writeInt16BE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,2,32767,-32768),v.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):rr(this,e,t,!1),t+2},v.prototype.writeInt32LE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,4,2147483647,-2147483648),v.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):tr(this,e,t,!0),t+4},v.prototype.writeInt32BE=function(e,t,i){return e=+e,t=t|0,i||W(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),v.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):tr(this,e,t,!1),t+4};function bi(r,e,t,i,n,s){if(t+i>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function _i(r,e,t,i,n){return n||bi(r,e,t,4),si(r,e,t,i,23,4),t+4}v.prototype.writeFloatLE=function(e,t,i){return _i(this,e,t,!0,i)},v.prototype.writeFloatBE=function(e,t,i){return _i(this,e,t,!1,i)};function yi(r,e,t,i,n){return n||bi(r,e,t,8),si(r,e,t,i,52,8),t+8}v.prototype.writeDoubleLE=function(e,t,i){return yi(this,e,t,!0,i)},v.prototype.writeDoubleBE=function(e,t,i){return yi(this,e,t,!1,i)},v.prototype.copy=function(e,t,i,n){if(i||(i=0),!n&&n!==0&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<i&&(n=i),n===i||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-i&&(n=e.length-t+i);var s=n-i,a;if(this===e&&i<t&&t<n)for(a=s-1;a>=0;--a)e[a+t]=this[a+i];else if(s<1e3||!v.TYPED_ARRAY_SUPPORT)for(a=0;a<s;++a)e[a+t]=this[a+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+s),t);return s},v.prototype.fill=function(e,t,i,n){if(typeof e=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),e.length===1){var s=e.charCodeAt(0);s<256&&(e=s)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!v.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof e=="number"&&(e=e&255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var a;if(typeof e=="number")for(a=t;a<i;++a)this[a]=e;else{var u=re(e)?e:ir(new v(e,n).toString()),c=u.length;for(a=0;a<i-t;++a)this[a+t]=u[a%c]}return this};var qa=/[^+\/0-9A-Za-z-_]/g;function Da(r){if(r=Ca(r).replace(qa,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Ca(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")}function ka(r){return r<16?"0"+r.toString(16):r.toString(16)}function ir(r,e){e=e||1/0;for(var t,i=r.length,n=null,s=[],a=0;a<i;++a){if(t=r.charCodeAt(a),t>55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&s.push(239,191,189);continue}else if(a+1===i){(e-=3)>-1&&s.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&s.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;s.push(t)}else if(t<2048){if((e-=2)<0)break;s.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;s.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;s.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return s}function Fa(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Oa(r,e){for(var t,i,n,s=[],a=0;a<r.length&&!((e-=2)<0);++a)t=r.charCodeAt(a),i=t>>8,n=t%256,s.push(n),s.push(i);return s}function vi(r){return sa(Da(r))}function nr(r,e,t,i){for(var n=0;n<i&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function Na(r){return r!==r}function wi(r){return r!=null&&(!!r._isBuffer||Ei(r)||La(r))}function Ei(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function La(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&Ei(r.slice(0,0))}const ar=Er(Object.freeze(Object.defineProperty({__proto__:null,Buffer:v,INSPECT_MAX_BYTES:li,SlowBuffer:ga,isBuffer:wi,kMaxLength:ca},Symbol.toStringTag,{value:"Module"})));var zr;typeof Object.create=="function"?zr=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:zr=function(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e};const xi=zr;var Pa=/%[sdj%]/g;function sr(r){if(!Me(r)){for(var e=[],t=0;t<arguments.length;t++)e.push(te(arguments[t]));return e.join(" ")}for(var t=1,i=arguments,n=i.length,s=String(r).replace(Pa,function(u){if(u==="%%")return"%";if(t>=n)return u;switch(u){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch{return"[Circular]"}default:return u}}),a=i[t];t<n;a=i[++t])Be(a)||!be(a)?s+=" "+a:s+=" "+te(a);return s}function Yr(r,e){if(ie(Ae.process))return function(){return Yr(r,e).apply(this,arguments)};if(P.noDeprecation===!0)return r;var t=!1;function i(){if(!t){if(P.throwDeprecation)throw new Error(e);P.traceDeprecation?console.trace(e):console.error(e),t=!0}return r.apply(this,arguments)}return i}var or={},Wr;function Ai(r){if(ie(Wr)&&(Wr=P.env.NODE_DEBUG||""),r=r.toUpperCase(),!or[r])if(new RegExp("\\b"+r+"\\b","i").test(Wr)){var e=0;or[r]=function(){var t=sr.apply(null,arguments);console.error("%s %d: %s",r,e,t)}}else or[r]=function(){};return or[r]}function te(r,e){var t={seen:[],stylize:Ma};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),ur(e)?t.showHidden=e:e&&Xr(t,e),ie(t.showHidden)&&(t.showHidden=!1),ie(t.depth)&&(t.depth=2),ie(t.colors)&&(t.colors=!1),ie(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=Ba),lr(t,r,t.depth)}te.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},te.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Ba(r,e){var t=te.styles[e];return t?"\x1B["+te.colors[t][0]+"m"+r+"\x1B["+te.colors[t][1]+"m":r}function Ma(r,e){return r}function Ua(r){var e={};return r.forEach(function(t,i){e[t]=!0}),e}function lr(r,e,t){if(r.customInspect&&e&&je(e.inspect)&&e.inspect!==te&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(t,r);return Me(i)||(i=lr(r,i,t)),i}var n=Ia(r,e);if(n)return n;var s=Object.keys(e),a=Ua(s);if(r.showHidden&&(s=Object.getOwnPropertyNames(e)),Ie(e)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return Hr(e);if(s.length===0){if(je(e)){var u=e.name?": "+e.name:"";return r.stylize("[Function"+u+"]","special")}if(Ue(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(cr(e))return r.stylize(Date.prototype.toString.call(e),"date");if(Ie(e))return Hr(e)}var c="",g=!1,m=["{","}"];if($r(e)&&(g=!0,m=["[","]"]),je(e)){var b=e.name?": "+e.name:"";c=" [Function"+b+"]"}if(Ue(e)&&(c=" "+RegExp.prototype.toString.call(e)),cr(e)&&(c=" "+Date.prototype.toUTCString.call(e)),Ie(e)&&(c=" "+Hr(e)),s.length===0&&(!g||e.length==0))return m[0]+c+m[1];if(t<0)return Ue(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special");r.seen.push(e);var p;return g?p=ja(r,e,t,a,s):p=s.map(function(w){return Gr(r,e,t,a,w,g)}),r.seen.pop(),Va(p,c,m)}function Ia(r,e){if(ie(e))return r.stylize("undefined","undefined");if(Me(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return r.stylize(t,"string")}if(Jr(e))return r.stylize(""+e,"number");if(ur(e))return r.stylize(""+e,"boolean");if(Be(e))return r.stylize("null","null")}function Hr(r){return"["+Error.prototype.toString.call(r)+"]"}function ja(r,e,t,i,n){for(var s=[],a=0,u=e.length;a<u;++a)Ci(e,String(a))?s.push(Gr(r,e,t,i,String(a),!0)):s.push("");return n.forEach(function(c){c.match(/^\d+$/)||s.push(Gr(r,e,t,i,c,!0))}),s}function Gr(r,e,t,i,n,s){var a,u,c;if(c=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},c.get?c.set?u=r.stylize("[Getter/Setter]","special"):u=r.stylize("[Getter]","special"):c.set&&(u=r.stylize("[Setter]","special")),Ci(i,n)||(a="["+n+"]"),u||(r.seen.indexOf(c.value)<0?(Be(t)?u=lr(r,c.value,null):u=lr(r,c.value,t-1),u.indexOf(`
11
+ */var Hr=50;y.TYPED_ARRAY_SUPPORT=ve.TYPED_ARRAY_SUPPORT!==void 0?ve.TYPED_ARRAY_SUPPORT:!0;var jn=Ke();function Ke(){return y.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function oe(t,e){if(Ke()<e)throw new RangeError("Invalid typed array length");return y.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=y.prototype):(t===null&&(t=new y(e)),t.length=e),t}function y(t,e,r){if(!y.TYPED_ARRAY_SUPPORT&&!(this instanceof y))return new y(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return Ft(this,t)}return Kr(this,t,e,r)}y.poolSize=8192,y._augment=function(t){return t.__proto__=y.prototype,t};function Kr(t,e,r,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?qn(t,e,r,i):typeof e=="string"?zn(t,e,r):Gn(t,e)}y.from=function(t,e,r){return Kr(null,t,e,r)},y.TYPED_ARRAY_SUPPORT&&(y.prototype.__proto__=Uint8Array.prototype,y.__proto__=Uint8Array);function Jr(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Yn(t,e,r,i){return Jr(e),e<=0?oe(t,e):r!==void 0?typeof i=="string"?oe(t,e).fill(r,i):oe(t,e).fill(r):oe(t,e)}y.alloc=function(t,e,r){return Yn(null,t,e,r)};function Ft(t,e){if(Jr(e),t=oe(t,e<0?0:Mt(e)|0),!y.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}y.allocUnsafe=function(t){return Ft(null,t)},y.allocUnsafeSlow=function(t){return Ft(null,t)};function zn(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!y.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=Xr(e,r)|0;t=oe(t,i);var n=t.write(e,r);return n!==i&&(t=t.slice(0,n)),t}function Dt(t,e){var r=e.length<0?0:Mt(e.length)|0;t=oe(t,r);for(var i=0;i<r;i+=1)t[i]=e[i]&255;return t}function qn(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return r===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,i),y.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=y.prototype):t=Dt(t,e),t}function Gn(t,e){if(te(e)){var r=Mt(e.length)|0;return t=oe(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||ca(e.length)?oe(t,0):Dt(t,e);if(e.type==="Buffer"&&Vr(e.data))return Dt(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Mt(t){if(t>=Ke())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ke().toString(16)+" bytes");return t|0}function $n(t){return+t!=t&&(t=0),y.alloc(+t)}y.isBuffer=oi;function te(t){return!!(t!=null&&t._isBuffer)}y.compare=function(e,r){if(!te(e)||!te(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var i=e.length,n=r.length,s=0,a=Math.min(i,n);s<a;++s)if(e[s]!==r[s]){i=e[s],n=r[s];break}return i<n?-1:n<i?1:0},y.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(e,r){if(!Vr(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return y.alloc(0);var i;if(r===void 0)for(r=0,i=0;i<e.length;++i)r+=e[i].length;var n=y.allocUnsafe(r),s=0;for(i=0;i<e.length;++i){var a=e[i];if(!te(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,s),s+=a.length}return n};function Xr(t,e){if(te(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Qe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return si(t).length;default:if(i)return Qe(t).length;e=(""+e).toLowerCase(),i=!0}}y.byteLength=Xr;function Vn(t,e,r){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return ia(this,e,r);case"utf8":case"utf-8":return ti(this,e,r);case"ascii":return ta(this,e,r);case"latin1":case"binary":return ra(this,e,r);case"base64":return Zn(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return na(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}y.prototype._isBuffer=!0;function pe(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}y.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)pe(this,r,r+1);return this},y.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)pe(this,r,r+3),pe(this,r+1,r+2);return this},y.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)pe(this,r,r+7),pe(this,r+1,r+6),pe(this,r+2,r+5),pe(this,r+3,r+4);return this},y.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?ti(this,0,e):Vn.apply(this,arguments)},y.prototype.equals=function(e){if(!te(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:y.compare(this,e)===0},y.prototype.inspect=function(){var e="",r=Hr;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},y.prototype.compare=function(e,r,i,n,s){if(!te(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),i===void 0&&(i=e?e.length:0),n===void 0&&(n=0),s===void 0&&(s=this.length),r<0||i>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&r>=i)return 0;if(n>=s)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,n>>>=0,s>>>=0,this===e)return 0;for(var a=s-n,u=i-r,f=Math.min(a,u),g=this.slice(n,s),b=e.slice(r,i),_=0;_<f;++_)if(g[_]!==b[_]){a=g[_],u=b[_];break}return a<u?-1:u<a?1:0};function Qr(t,e,r,i,n){if(t.length===0)return-1;if(typeof r=="string"?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return-1;r=t.length-1}else if(r<0)if(n)r=0;else return-1;if(typeof e=="string"&&(e=y.from(e,i)),te(e))return e.length===0?-1:Zr(t,e,r,i,n);if(typeof e=="number")return e=e&255,y.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Zr(t,[e],r,i,n);throw new TypeError("val must be string, number or Buffer")}function Zr(t,e,r,i,n){var s=1,a=t.length,u=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,r/=2}function f(E,v){return s===1?E[v]:E.readUInt16BE(v*s)}var g;if(n){var b=-1;for(g=r;g<a;g++)if(f(t,g)===f(e,b===-1?0:g-b)){if(b===-1&&(b=g),g-b+1===u)return b*s}else b!==-1&&(g-=g-b),b=-1}else for(r+u>a&&(r=a-u),g=r;g>=0;g--){for(var _=!0,p=0;p<u;p++)if(f(t,g+p)!==f(e,p)){_=!1;break}if(_)return g}return-1}y.prototype.includes=function(e,r,i){return this.indexOf(e,r,i)!==-1},y.prototype.indexOf=function(e,r,i){return Qr(this,e,r,i,!0)},y.prototype.lastIndexOf=function(e,r,i){return Qr(this,e,r,i,!1)};function Hn(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i),i>n&&(i=n)):i=n;var s=e.length;if(s%2!==0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var a=0;a<i;++a){var u=parseInt(e.substr(a*2,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function Kn(t,e,r,i){return Ze(Qe(e,t.length-r),t,r,i)}function ei(t,e,r,i){return Ze(ua(e),t,r,i)}function Jn(t,e,r,i){return ei(t,e,r,i)}function Xn(t,e,r,i){return Ze(si(e),t,r,i)}function Qn(t,e,r,i){return Ze(fa(e,t.length-r),t,r,i)}y.prototype.write=function(e,r,i,n){if(r===void 0)n="utf8",i=this.length,r=0;else if(i===void 0&&typeof r=="string")n=r,i=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(i)?(i=i|0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s=this.length-r;if((i===void 0||i>s)&&(i=s),e.length>0&&(i<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return Hn(this,e,r,i);case"utf8":case"utf-8":return Kn(this,e,r,i);case"ascii":return ei(this,e,r,i);case"latin1":case"binary":return Jn(this,e,r,i);case"base64":return Xn(this,e,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qn(this,e,r,i);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zn(t,e,r){return e===0&&r===t.length?Gr(t):Gr(t.slice(e,r))}function ti(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var s=t[n],a=null,u=s>239?4:s>223?3:s>191?2:1;if(n+u<=r){var f,g,b,_;switch(u){case 1:s<128&&(a=s);break;case 2:f=t[n+1],(f&192)===128&&(_=(s&31)<<6|f&63,_>127&&(a=_));break;case 3:f=t[n+1],g=t[n+2],(f&192)===128&&(g&192)===128&&(_=(s&15)<<12|(f&63)<<6|g&63,_>2047&&(_<55296||_>57343)&&(a=_));break;case 4:f=t[n+1],g=t[n+2],b=t[n+3],(f&192)===128&&(g&192)===128&&(b&192)===128&&(_=(s&15)<<18|(f&63)<<12|(g&63)<<6|b&63,_>65535&&_<1114112&&(a=_))}}a===null?(a=65533,u=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|a&1023),i.push(a),n+=u}return ea(i)}var ri=4096;function ea(t){var e=t.length;if(e<=ri)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=ri));return r}function ta(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]&127);return i}function ra(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}function ia(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",s=e;s<r;++s)n+=la(t[s]);return n}function na(t,e,r){for(var i=t.slice(e,r),n="",s=0;s<i.length;s+=2)n+=String.fromCharCode(i[s]+i[s+1]*256);return n}y.prototype.slice=function(e,r){var i=this.length;e=~~e,r=r===void 0?i:~~r,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),r<e&&(r=e);var n;if(y.TYPED_ARRAY_SUPPORT)n=this.subarray(e,r),n.__proto__=y.prototype;else{var s=r-e;n=new y(s,void 0);for(var a=0;a<s;++a)n[a]=this[a+e]}return n};function z(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUIntLE=function(e,r,i){e=e|0,r=r|0,i||z(e,r,this.length);for(var n=this[e],s=1,a=0;++a<r&&(s*=256);)n+=this[e+a]*s;return n},y.prototype.readUIntBE=function(e,r,i){e=e|0,r=r|0,i||z(e,r,this.length);for(var n=this[e+--r],s=1;r>0&&(s*=256);)n+=this[e+--r]*s;return n},y.prototype.readUInt8=function(e,r){return r||z(e,1,this.length),this[e]},y.prototype.readUInt16LE=function(e,r){return r||z(e,2,this.length),this[e]|this[e+1]<<8},y.prototype.readUInt16BE=function(e,r){return r||z(e,2,this.length),this[e]<<8|this[e+1]},y.prototype.readUInt32LE=function(e,r){return r||z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},y.prototype.readUInt32BE=function(e,r){return r||z(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},y.prototype.readIntLE=function(e,r,i){e=e|0,r=r|0,i||z(e,r,this.length);for(var n=this[e],s=1,a=0;++a<r&&(s*=256);)n+=this[e+a]*s;return s*=128,n>=s&&(n-=Math.pow(2,8*r)),n},y.prototype.readIntBE=function(e,r,i){e=e|0,r=r|0,i||z(e,r,this.length);for(var n=r,s=1,a=this[e+--n];n>0&&(s*=256);)a+=this[e+--n]*s;return s*=128,a>=s&&(a-=Math.pow(2,8*r)),a},y.prototype.readInt8=function(e,r){return r||z(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},y.prototype.readInt16LE=function(e,r){r||z(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i},y.prototype.readInt16BE=function(e,r){r||z(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i},y.prototype.readInt32LE=function(e,r){return r||z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},y.prototype.readInt32BE=function(e,r){return r||z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},y.prototype.readFloatLE=function(e,r){return r||z(e,4,this.length),He(this,e,!0,23,4)},y.prototype.readFloatBE=function(e,r){return r||z(e,4,this.length),He(this,e,!1,23,4)},y.prototype.readDoubleLE=function(e,r){return r||z(e,8,this.length),He(this,e,!0,52,8)},y.prototype.readDoubleBE=function(e,r){return r||z(e,8,this.length),He(this,e,!1,52,8)};function G(t,e,r,i,n,s){if(!te(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<s)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}y.prototype.writeUIntLE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var s=Math.pow(2,8*i)-1;G(this,e,r,i,s,0)}var a=1,u=0;for(this[r]=e&255;++u<i&&(a*=256);)this[r+u]=e/a&255;return r+i},y.prototype.writeUIntBE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var s=Math.pow(2,8*i)-1;G(this,e,r,i,s,0)}var a=i-1,u=1;for(this[r+a]=e&255;--a>=0&&(u*=256);)this[r+a]=e/u&255;return r+i},y.prototype.writeUInt8=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,1,255,0),y.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};function Je(t,e,r,i){e<0&&(e=65535+e+1);for(var n=0,s=Math.min(t.length-r,2);n<s;++n)t[r+n]=(e&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}y.prototype.writeUInt16LE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):Je(this,e,r,!0),r+2},y.prototype.writeUInt16BE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,2,65535,0),y.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):Je(this,e,r,!1),r+2};function Xe(t,e,r,i){e<0&&(e=4294967295+e+1);for(var n=0,s=Math.min(t.length-r,4);n<s;++n)t[r+n]=e>>>(i?n:3-n)*8&255}y.prototype.writeUInt32LE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):Xe(this,e,r,!0),r+4},y.prototype.writeUInt32BE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,4,4294967295,0),y.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Xe(this,e,r,!1),r+4},y.prototype.writeIntLE=function(e,r,i,n){if(e=+e,r=r|0,!n){var s=Math.pow(2,8*i-1);G(this,e,r,i,s-1,-s)}var a=0,u=1,f=0;for(this[r]=e&255;++a<i&&(u*=256);)e<0&&f===0&&this[r+a-1]!==0&&(f=1),this[r+a]=(e/u>>0)-f&255;return r+i},y.prototype.writeIntBE=function(e,r,i,n){if(e=+e,r=r|0,!n){var s=Math.pow(2,8*i-1);G(this,e,r,i,s-1,-s)}var a=i-1,u=1,f=0;for(this[r+a]=e&255;--a>=0&&(u*=256);)e<0&&f===0&&this[r+a+1]!==0&&(f=1),this[r+a]=(e/u>>0)-f&255;return r+i},y.prototype.writeInt8=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,1,127,-128),y.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1},y.prototype.writeInt16LE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):Je(this,e,r,!0),r+2},y.prototype.writeInt16BE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,2,32767,-32768),y.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):Je(this,e,r,!1),r+2},y.prototype.writeInt32LE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,4,2147483647,-2147483648),y.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):Xe(this,e,r,!0),r+4},y.prototype.writeInt32BE=function(e,r,i){return e=+e,r=r|0,i||G(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),y.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):Xe(this,e,r,!1),r+4};function ii(t,e,r,i,n,s){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ni(t,e,r,i,n){return n||ii(t,e,r,4),$r(t,e,r,i,23,4),r+4}y.prototype.writeFloatLE=function(e,r,i){return ni(this,e,r,!0,i)},y.prototype.writeFloatBE=function(e,r,i){return ni(this,e,r,!1,i)};function ai(t,e,r,i,n){return n||ii(t,e,r,8),$r(t,e,r,i,52,8),r+8}y.prototype.writeDoubleLE=function(e,r,i){return ai(this,e,r,!0,i)},y.prototype.writeDoubleBE=function(e,r,i){return ai(this,e,r,!1,i)},y.prototype.copy=function(e,r,i,n){if(i||(i=0),!n&&n!==0&&(n=this.length),r>=e.length&&(r=e.length),r||(r=0),n>0&&n<i&&(n=i),n===i||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-r<n-i&&(n=e.length-r+i);var s=n-i,a;if(this===e&&i<r&&r<n)for(a=s-1;a>=0;--a)e[a+r]=this[a+i];else if(s<1e3||!y.TYPED_ARRAY_SUPPORT)for(a=0;a<s;++a)e[a+r]=this[a+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+s),r);return s},y.prototype.fill=function(e,r,i,n){if(typeof e=="string"){if(typeof r=="string"?(n=r,r=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),e.length===1){var s=e.charCodeAt(0);s<256&&(e=s)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!y.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof e=="number"&&(e=e&255);if(r<0||this.length<r||this.length<i)throw new RangeError("Out of range index");if(i<=r)return this;r=r>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<i;++a)this[a]=e;else{var u=te(e)?e:Qe(new y(e,n).toString()),f=u.length;for(a=0;a<i-r;++a)this[a+r]=u[a%f]}return this};var aa=/[^+\/0-9A-Za-z-_]/g;function sa(t){if(t=oa(t).replace(aa,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function oa(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function la(t){return t<16?"0"+t.toString(16):t.toString(16)}function Qe(t,e){e=e||1/0;for(var r,i=t.length,n=null,s=[],a=0;a<i;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&s.push(239,191,189);continue}else if(a+1===i){(e-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&s.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;s.push(r)}else if(r<2048){if((e-=2)<0)break;s.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;s.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return s}function ua(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function fa(t,e){for(var r,i,n,s=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),i=r>>8,n=r%256,s.push(n),s.push(i);return s}function si(t){return In(sa(t))}function Ze(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length||n>=t.length);++n)e[n+r]=t[n];return n}function ca(t){return t!==t}function oi(t){return t!=null&&(!!t._isBuffer||li(t)||ha(t))}function li(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function ha(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&li(t.slice(0,0))}const et=Tt(Object.freeze(Object.defineProperty({__proto__:null,Buffer:y,INSPECT_MAX_BYTES:Hr,SlowBuffer:$n,isBuffer:oi,kMaxLength:jn},Symbol.toStringTag,{value:"Module"})));var Ot;typeof Object.create=="function"?Ot=function(e,r){e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:Ot=function(e,r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e};const ui=Ot;var da=/%[sdj%]/g;function tt(t){if(!Ne(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(re(arguments[r]));return e.join(" ")}for(var r=1,i=arguments,n=i.length,s=String(t).replace(da,function(u){if(u==="%%")return"%";if(r>=n)return u;switch(u){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch{return"[Circular]"}default:return u}}),a=i[r];r<n;a=i[++r])Pe(a)||!ye(a)?s+=" "+a:s+=" "+re(a);return s}function Pt(t,e){if(ie(ve.process))return function(){return Pt(t,e).apply(this,arguments)};if(B.noDeprecation===!0)return t;var r=!1;function i(){if(!r){if(B.throwDeprecation)throw new Error(e);B.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}return i}var rt={},Nt;function fi(t){if(ie(Nt)&&(Nt=B.env.NODE_DEBUG||""),t=t.toUpperCase(),!rt[t])if(new RegExp("\\b"+t+"\\b","i").test(Nt)){var e=0;rt[t]=function(){var r=tt.apply(null,arguments);console.error("%s %d: %s",t,e,r)}}else rt[t]=function(){};return rt[t]}function re(t,e){var r={seen:[],stylize:_a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),nt(e)?r.showHidden=e:e&&jt(r,e),ie(r.showHidden)&&(r.showHidden=!1),ie(r.depth)&&(r.depth=2),ie(r.colors)&&(r.colors=!1),ie(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=ga),it(r,t,r.depth)}re.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ga(t,e){var r=re.styles[e];return r?"\x1B["+re.colors[r][0]+"m"+t+"\x1B["+re.colors[r][1]+"m":t}function _a(t,e){return t}function pa(t){var e={};return t.forEach(function(r,i){e[r]=!0}),e}function it(t,e,r){if(t.customInspect&&e&&Ie(e.inspect)&&e.inspect!==re&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(r,t);return Ne(i)||(i=it(t,i,r)),i}var n=ya(t,e);if(n)return n;var s=Object.keys(e),a=pa(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(e)),Be(e)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return kt(e);if(s.length===0){if(Ie(e)){var u=e.name?": "+e.name:"";return t.stylize("[Function"+u+"]","special")}if(ke(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(at(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Be(e))return kt(e)}var f="",g=!1,b=["{","}"];if(It(e)&&(g=!0,b=["[","]"]),Ie(e)){var _=e.name?": "+e.name:"";f=" [Function"+_+"]"}if(ke(e)&&(f=" "+RegExp.prototype.toString.call(e)),at(e)&&(f=" "+Date.prototype.toUTCString.call(e)),Be(e)&&(f=" "+kt(e)),s.length===0&&(!g||e.length==0))return b[0]+f+b[1];if(r<0)return ke(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var p;return g?p=wa(t,e,r,a,s):p=s.map(function(E){return Bt(t,e,r,a,E,g)}),t.seen.pop(),ba(p,f,b)}function ya(t,e){if(ie(e))return t.stylize("undefined","undefined");if(Ne(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(Lt(e))return t.stylize(""+e,"number");if(nt(e))return t.stylize(""+e,"boolean");if(Pe(e))return t.stylize("null","null")}function kt(t){return"["+Error.prototype.toString.call(t)+"]"}function wa(t,e,r,i,n){for(var s=[],a=0,u=e.length;a<u;++a)pi(e,String(a))?s.push(Bt(t,e,r,i,String(a),!0)):s.push("");return n.forEach(function(f){f.match(/^\d+$/)||s.push(Bt(t,e,r,i,f,!0))}),s}function Bt(t,e,r,i,n,s){var a,u,f;if(f=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},f.get?f.set?u=t.stylize("[Getter/Setter]","special"):u=t.stylize("[Getter]","special"):f.set&&(u=t.stylize("[Setter]","special")),pi(i,n)||(a="["+n+"]"),u||(t.seen.indexOf(f.value)<0?(Pe(r)?u=it(t,f.value,null):u=it(t,f.value,r-1),u.indexOf(`
13
12
  `)>-1&&(s?u=u.split(`
14
13
  `).map(function(g){return" "+g}).join(`
15
14
  `).substr(2):u=`
16
15
  `+u.split(`
17
16
  `).map(function(g){return" "+g}).join(`
18
- `))):u=r.stylize("[Circular]","special")),ie(a)){if(s&&n.match(/^\d+$/))return u;a=JSON.stringify(""+n),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=r.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=r.stylize(a,"string"))}return a+": "+u}function Va(r,e,t){var i=r.reduce(function(n,s){return s.indexOf(`
19
- `)>=0,n+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?t[0]+(e===""?"":e+`
20
- `)+" "+r.join(`,
21
- `)+" "+t[1]:t[0]+e+" "+r.join(", ")+" "+t[1]}function $r(r){return Array.isArray(r)}function ur(r){return typeof r=="boolean"}function Be(r){return r===null}function Ri(r){return r==null}function Jr(r){return typeof r=="number"}function Me(r){return typeof r=="string"}function Si(r){return typeof r=="symbol"}function ie(r){return r===void 0}function Ue(r){return be(r)&&Kr(r)==="[object RegExp]"}function be(r){return typeof r=="object"&&r!==null}function cr(r){return be(r)&&Kr(r)==="[object Date]"}function Ie(r){return be(r)&&(Kr(r)==="[object Error]"||r instanceof Error)}function je(r){return typeof r=="function"}function Ti(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||typeof r>"u"}function qi(r){return v.isBuffer(r)}function Kr(r){return Object.prototype.toString.call(r)}function Zr(r){return r<10?"0"+r.toString(10):r.toString(10)}var za=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ya(){var r=new Date,e=[Zr(r.getHours()),Zr(r.getMinutes()),Zr(r.getSeconds())].join(":");return[r.getDate(),za[r.getMonth()],e].join(" ")}function Di(){console.log("%s - %s",Ya(),sr.apply(null,arguments))}function Xr(r,e){if(!e||!be(e))return r;for(var t=Object.keys(e),i=t.length;i--;)r[t[i]]=e[t[i]];return r}function Ci(r,e){return Object.prototype.hasOwnProperty.call(r,e)}const ki=Er(Object.freeze(Object.defineProperty({__proto__:null,format:sr,deprecate:Yr,debuglog:Ai,inspect:te,isArray:$r,isBoolean:ur,isNull:Be,isNullOrUndefined:Ri,isNumber:Jr,isString:Me,isSymbol:Si,isUndefined:ie,isRegExp:Ue,isObject:be,isDate:cr,isError:Ie,isFunction:je,isPrimitive:Ti,isBuffer:qi,log:Di,inherits:xi,_extend:Xr,default:{inherits:xi,_extend:Xr,log:Di,isBuffer:qi,isPrimitive:Ti,isFunction:je,isError:Ie,isDate:cr,isObject:be,isRegExp:Ue,isUndefined:ie,isSymbol:Si,isString:Me,isNumber:Jr,isNullOrUndefined:Ri,isNull:Be,isBoolean:ur,isArray:$r,inspect:te,deprecate:Yr,format:sr,debuglog:Ai}},Symbol.toStringTag,{value:"Module"})));var Qr,Fi;function Wa(){if(Fi)return Qr;Fi=1;function r(p,w){var y=Object.keys(p);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(p);w&&(R=R.filter(function(q){return Object.getOwnPropertyDescriptor(p,q).enumerable})),y.push.apply(y,R)}return y}function e(p){for(var w=1;w<arguments.length;w++){var y=arguments[w]!=null?arguments[w]:{};w%2?r(Object(y),!0).forEach(function(R){t(p,R,y[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(y)):r(Object(y)).forEach(function(R){Object.defineProperty(p,R,Object.getOwnPropertyDescriptor(y,R))})}return p}function t(p,w,y){return w in p?Object.defineProperty(p,w,{value:y,enumerable:!0,configurable:!0,writable:!0}):p[w]=y,p}function i(p,w){if(!(p instanceof w))throw new TypeError("Cannot call a class as a function")}function n(p,w){for(var y=0;y<w.length;y++){var R=w[y];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(p,R.key,R)}}function s(p,w,y){return w&&n(p.prototype,w),y&&n(p,y),p}var a=ar,u=a.Buffer,c=ki,g=c.inspect,m=g&&g.custom||"inspect";function b(p,w,y){u.prototype.copy.call(p,w,y)}return Qr=function(){function p(){i(this,p),this.head=null,this.tail=null,this.length=0}return s(p,[{key:"push",value:function(y){var R={data:y,next:null};this.length>0?this.tail.next=R:this.head=R,this.tail=R,++this.length}},{key:"unshift",value:function(y){var R={data:y,next:this.head};this.length===0&&(this.tail=R),this.head=R,++this.length}},{key:"shift",value:function(){if(this.length!==0){var y=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,y}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(y){if(this.length===0)return"";for(var R=this.head,q=""+R.data;R=R.next;)q+=y+R.data;return q}},{key:"concat",value:function(y){if(this.length===0)return u.alloc(0);for(var R=u.allocUnsafe(y>>>0),q=this.head,f=0;q;)b(q.data,R,f),f+=q.data.length,q=q.next;return R}},{key:"consume",value:function(y,R){var q;return y<this.head.data.length?(q=this.head.data.slice(0,y),this.head.data=this.head.data.slice(y)):y===this.head.data.length?q=this.shift():q=R?this._getString(y):this._getBuffer(y),q}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(y){var R=this.head,q=1,f=R.data;for(y-=f.length;R=R.next;){var _=R.data,A=y>_.length?_.length:y;if(A===_.length?f+=_:f+=_.slice(0,y),y-=A,y===0){A===_.length?(++q,R.next?this.head=R.next:this.head=this.tail=null):(this.head=R,R.data=_.slice(A));break}++q}return this.length-=q,f}},{key:"_getBuffer",value:function(y){var R=u.allocUnsafe(y),q=this.head,f=1;for(q.data.copy(R),y-=q.data.length;q=q.next;){var _=q.data,A=y>_.length?_.length:y;if(_.copy(R,R.length-y,0,A),y-=A,y===0){A===_.length?(++f,q.next?this.head=q.next:this.head=this.tail=null):(this.head=q,q.data=_.slice(A));break}++f}return this.length-=f,R}},{key:m,value:function(y,R){return g(this,e({},R,{depth:0,customInspect:!1}))}}]),p}(),Qr}function Ha(r,e){var t=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(e?e(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,P.nextTick(et,this,r)):P.nextTick(et,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,function(s){!e&&s?t._writableState?t._writableState.errorEmitted?P.nextTick(fr,t):(t._writableState.errorEmitted=!0,P.nextTick(Oi,t,s)):P.nextTick(Oi,t,s):e?(P.nextTick(fr,t),e(s)):P.nextTick(fr,t)}),this)}function Oi(r,e){et(r,e),fr(r)}function fr(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit("close")}function Ga(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function et(r,e){r.emit("error",e)}function $a(r,e){var t=r._readableState,i=r._writableState;t&&t.autoDestroy||i&&i.autoDestroy?r.destroy(e):r.emit("error",e)}var Ni={destroy:Ha,undestroy:Ga,errorOrDestroy:$a},_e={};function Ja(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}var Li={};function J(r,e,t){t||(t=Error);function i(s,a,u){return typeof e=="string"?e:e(s,a,u)}var n=function(s){Ja(a,s);function a(u,c,g){return s.call(this,i(u,c,g))||this}return a}(t);n.prototype.name=t.name,n.prototype.code=r,Li[r]=n}function Pi(r,e){if(Array.isArray(r)){var t=r.length;return r=r.map(function(i){return String(i)}),t>2?"one of ".concat(e," ").concat(r.slice(0,t-1).join(", "),", or ")+r[t-1]:t===2?"one of ".concat(e," ").concat(r[0]," or ").concat(r[1]):"of ".concat(e," ").concat(r[0])}else return"of ".concat(e," ").concat(String(r))}function Ka(r,e,t){return r.substr(!t||t<0?0:+t,e.length)===e}function Za(r,e,t){return(t===void 0||t>r.length)&&(t=r.length),r.substring(t-e.length,t)===e}function Xa(r,e,t){return typeof t!="number"&&(t=0),t+e.length>r.length?!1:r.indexOf(e,t)!==-1}J("ERR_INVALID_OPT_VALUE",function(r,e){return'The value "'+e+'" is invalid for option "'+r+'"'},TypeError),J("ERR_INVALID_ARG_TYPE",function(r,e,t){var i;typeof e=="string"&&Ka(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";var n;if(Za(r," argument"))n="The ".concat(r," ").concat(i," ").concat(Pi(e,"type"));else{var s=Xa(r,".")?"property":"argument";n='The "'.concat(r,'" ').concat(s," ").concat(i," ").concat(Pi(e,"type"))}return n+=". Received type ".concat(typeof t),n},TypeError),J("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),J("ERR_METHOD_NOT_IMPLEMENTED",function(r){return"The "+r+" method is not implemented"}),J("ERR_STREAM_PREMATURE_CLOSE","Premature close"),J("ERR_STREAM_DESTROYED",function(r){return"Cannot call "+r+" after a stream was destroyed"}),J("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),J("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),J("ERR_STREAM_WRITE_AFTER_END","write after end"),J("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),J("ERR_UNKNOWN_ENCODING",function(r){return"Unknown encoding: "+r},TypeError),J("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),_e.codes=Li;var Qa=_e.codes.ERR_INVALID_OPT_VALUE;function es(r,e,t){return r.highWaterMark!=null?r.highWaterMark:e?r[t]:null}function rs(r,e,t,i){var n=es(e,i,t);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var s=i?t:"highWaterMark";throw new Qa(s,n)}return Math.floor(n)}return r.objectMode?16:16*1024}var Bi={getHighWaterMark:rs},fe={exports:{}};typeof Object.create=="function"?fe.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:fe.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}};var ts=is;function is(r,e){if(rt("noDeprecation"))return r;var t=!1;function i(){if(!t){if(rt("throwDeprecation"))throw new Error(e);rt("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return i}function rt(r){try{if(!we.localStorage)return!1}catch{return!1}var e=we.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}var tt,Mi;function Ui(){if(Mi)return tt;Mi=1,tt=O;function r(h){var d=this;this.next=null,this.entry=null,this.finish=function(){yt(d,h)}}var e;O.WritableState=j;var t={deprecate:ts},i=ii,n=ar.Buffer,s=we.Uint8Array||function(){};function a(h){return n.from(h)}function u(h){return n.isBuffer(h)||h instanceof s}var c=Ni,g=Bi,m=g.getHighWaterMark,b=_e.codes,p=b.ERR_INVALID_ARG_TYPE,w=b.ERR_METHOD_NOT_IMPLEMENTED,y=b.ERR_MULTIPLE_CALLBACK,R=b.ERR_STREAM_CANNOT_PIPE,q=b.ERR_STREAM_DESTROYED,f=b.ERR_STREAM_NULL_VALUES,_=b.ERR_STREAM_WRITE_AFTER_END,A=b.ERR_UNKNOWN_ENCODING,D=c.errorOrDestroy;fe.exports(O,i);function F(){}function j(h,d,x){e=e||Te(),h=h||{},typeof x!="boolean"&&(x=d instanceof e),this.objectMode=!!h.objectMode,x&&(this.objectMode=this.objectMode||!!h.writableObjectMode),this.highWaterMark=m(this,h,"writableHighWaterMark",x),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var k=h.decodeStrings===!1;this.decodeStrings=!k,this.defaultEncoding=h.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(L){X(d,L)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=h.emitClose!==!1,this.autoDestroy=!!h.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}j.prototype.getBuffer=function(){for(var d=this.bufferedRequest,x=[];d;)x.push(d),d=d.next;return x},function(){try{Object.defineProperty(j.prototype,"buffer",{get:t.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var Y;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Y=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(d){return Y.call(this,d)?!0:this!==O?!1:d&&d._writableState instanceof j}})):Y=function(d){return d instanceof this};function O(h){e=e||Te();var d=this instanceof e;if(!d&&!Y.call(O,this))return new O(h);this._writableState=new j(h,this,d),this.writable=!0,h&&(typeof h.write=="function"&&(this._write=h.write),typeof h.writev=="function"&&(this._writev=h.writev),typeof h.destroy=="function"&&(this._destroy=h.destroy),typeof h.final=="function"&&(this._final=h.final)),i.call(this)}O.prototype.pipe=function(){D(this,new R)};function C(h,d){var x=new _;D(h,x),P.nextTick(d,x)}function M(h,d,x,k){var L;return x===null?L=new f:typeof x!="string"&&!d.objectMode&&(L=new p("chunk",["string","Buffer"],x)),L?(D(h,L),P.nextTick(k,L),!1):!0}O.prototype.write=function(h,d,x){var k=this._writableState,L=!1,o=!k.objectMode&&u(h);return o&&!n.isBuffer(h)&&(h=a(h)),typeof d=="function"&&(x=d,d=null),o?d="buffer":d||(d=k.defaultEncoding),typeof x!="function"&&(x=F),k.ending?C(this,x):(o||M(this,k,h,x))&&(k.pendingcb++,L=ne(this,k,o,h,d,x)),L},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var h=this._writableState;h.corked&&(h.corked--,!h.writing&&!h.corked&&!h.bufferProcessing&&h.bufferedRequest&&ae(this,h))},O.prototype.setDefaultEncoding=function(d){if(typeof d=="string"&&(d=d.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((d+"").toLowerCase())>-1))throw new A(d);return this._writableState.defaultEncoding=d,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function G(h,d,x){return!h.objectMode&&h.decodeStrings!==!1&&typeof d=="string"&&(d=n.from(d,x)),d}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ne(h,d,x,k,L,o){if(!x){var l=G(d,k,L);k!==l&&(x=!0,L="buffer",k=l)}var E=d.objectMode?1:k.length;d.length+=E;var S=d.length<d.highWaterMark;if(S||(d.needDrain=!0),d.writing||d.corked){var U=d.lastBufferedRequest;d.lastBufferedRequest={chunk:k,encoding:L,isBuf:x,callback:o,next:null},U?U.next=d.lastBufferedRequest:d.bufferedRequest=d.lastBufferedRequest,d.bufferedRequestCount+=1}else K(h,d,!1,E,k,L,o);return S}function K(h,d,x,k,L,o,l){d.writelen=k,d.writecb=l,d.writing=!0,d.sync=!0,d.destroyed?d.onwrite(new q("write")):x?h._writev(L,d.onwrite):h._write(L,o,d.onwrite),d.sync=!1}function V(h,d,x,k,L){--d.pendingcb,x?(P.nextTick(L,k),P.nextTick(ve,h,d),h._writableState.errorEmitted=!0,D(h,k)):(L(k),h._writableState.errorEmitted=!0,D(h,k),ve(h,d))}function Z(h){h.writing=!1,h.writecb=null,h.length-=h.writelen,h.writelen=0}function X(h,d){var x=h._writableState,k=x.sync,L=x.writecb;if(typeof L!="function")throw new y;if(Z(x),d)V(h,x,k,d,L);else{var o=yr(x)||h.destroyed;!o&&!x.corked&&!x.bufferProcessing&&x.bufferedRequest&&ae(h,x),k?P.nextTick(Q,h,x,o,L):Q(h,x,o,L)}}function Q(h,d,x,k){x||ye(h,d),d.pendingcb--,k(),ve(h,d)}function ye(h,d){d.length===0&&d.needDrain&&(d.needDrain=!1,h.emit("drain"))}function ae(h,d){d.bufferProcessing=!0;var x=d.bufferedRequest;if(h._writev&&x&&x.next){var k=d.bufferedRequestCount,L=new Array(k),o=d.corkedRequestsFree;o.entry=x;for(var l=0,E=!0;x;)L[l]=x,x.isBuf||(E=!1),x=x.next,l+=1;L.allBuffers=E,K(h,d,!0,d.length,L,"",o.finish),d.pendingcb++,d.lastBufferedRequest=null,o.next?(d.corkedRequestsFree=o.next,o.next=null):d.corkedRequestsFree=new r(d),d.bufferedRequestCount=0}else{for(;x;){var S=x.chunk,U=x.encoding,N=x.callback,B=d.objectMode?1:S.length;if(K(h,d,!1,B,S,U,N),x=x.next,d.bufferedRequestCount--,d.writing)break}x===null&&(d.lastBufferedRequest=null)}d.bufferedRequest=x,d.bufferProcessing=!1}O.prototype._write=function(h,d,x){x(new w("_write()"))},O.prototype._writev=null,O.prototype.end=function(h,d,x){var k=this._writableState;return typeof h=="function"?(x=h,h=null,d=null):typeof d=="function"&&(x=d,d=null),h!=null&&this.write(h,d),k.corked&&(k.corked=1,this.uncork()),k.ending||_t(this,k,x),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function yr(h){return h.ending&&h.length===0&&h.bufferedRequest===null&&!h.finished&&!h.writing}function bt(h,d){h._final(function(x){d.pendingcb--,x&&D(h,x),d.prefinished=!0,h.emit("prefinish"),ve(h,d)})}function vr(h,d){!d.prefinished&&!d.finalCalled&&(typeof h._final=="function"&&!d.destroyed?(d.pendingcb++,d.finalCalled=!0,P.nextTick(bt,h,d)):(d.prefinished=!0,h.emit("prefinish")))}function ve(h,d){var x=yr(d);if(x&&(vr(h,d),d.pendingcb===0&&(d.finished=!0,h.emit("finish"),d.autoDestroy))){var k=h._readableState;(!k||k.autoDestroy&&k.endEmitted)&&h.destroy()}return x}function _t(h,d,x){d.ending=!0,ve(h,d),x&&(d.finished?P.nextTick(x):h.once("finish",x)),d.ended=!0,h.writable=!1}function yt(h,d,x){var k=h.entry;for(h.entry=null;k;){var L=k.callback;d.pendingcb--,L(x),k=k.next}d.corkedRequestsFree.next=h}return Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(d){!this._writableState||(this._writableState.destroyed=d)}}),O.prototype.destroy=c.destroy,O.prototype._undestroy=c.undestroy,O.prototype._destroy=function(h,d){d(h)},tt}var it,Ii;function Te(){if(Ii)return it;Ii=1;var r=Object.keys||function(g){var m=[];for(var b in g)m.push(b);return m};it=a;var e=Ji(),t=Ui();fe.exports(a,e);for(var i=r(t.prototype),n=0;n<i.length;n++){var s=i[n];a.prototype[s]||(a.prototype[s]=t.prototype[s])}function a(g){if(!(this instanceof a))return new a(g);e.call(this,g),t.call(this,g),this.allowHalfOpen=!0,g&&(g.readable===!1&&(this.readable=!1),g.writable===!1&&(this.writable=!1),g.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",u)))}Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function u(){this._writableState.ended||P.nextTick(c,this)}function c(g){g.end()}return Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(m){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=m,this._writableState.destroyed=m)}}),it}var nt={},dr={exports:{}},ji;function ns(){return ji||(ji=1,function(r,e){var t=ar,i=t.Buffer;function n(a,u){for(var c in a)u[c]=a[c]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?r.exports=t:(n(t,e),e.Buffer=s);function s(a,u,c){return i(a,u,c)}n(i,s),s.from=function(a,u,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return i(a,u,c)},s.alloc=function(a,u,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var g=i(a);return u!==void 0?typeof c=="string"?g.fill(u,c):g.fill(u):g.fill(0),g},s.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return i(a)},s.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(a)}}(dr,dr.exports)),dr.exports}var Vi;function zi(){if(Vi)return nt;Vi=1;var r=ns().Buffer,e=r.isEncoding||function(f){switch(f=""+f,f&&f.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(f){if(!f)return"utf8";for(var _;;)switch(f){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return f;default:if(_)return;f=(""+f).toLowerCase(),_=!0}}function i(f){var _=t(f);if(typeof _!="string"&&(r.isEncoding===e||!e(f)))throw new Error("Unknown encoding: "+f);return _||f}nt.StringDecoder=n;function n(f){this.encoding=i(f);var _;switch(this.encoding){case"utf16le":this.text=b,this.end=p,_=4;break;case"utf8":this.fillLast=c,_=4;break;case"base64":this.text=w,this.end=y,_=3;break;default:this.write=R,this.end=q;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(_)}n.prototype.write=function(f){if(f.length===0)return"";var _,A;if(this.lastNeed){if(_=this.fillLast(f),_===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<f.length?_?_+this.text(f,A):this.text(f,A):_||""},n.prototype.end=m,n.prototype.text=g,n.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length};function s(f){return f<=127?0:f>>5===6?2:f>>4===14?3:f>>3===30?4:f>>6===2?-1:-2}function a(f,_,A){var D=_.length-1;if(D<A)return 0;var F=s(_[D]);return F>=0?(F>0&&(f.lastNeed=F-1),F):--D<A||F===-2?0:(F=s(_[D]),F>=0?(F>0&&(f.lastNeed=F-2),F):--D<A||F===-2?0:(F=s(_[D]),F>=0?(F>0&&(F===2?F=0:f.lastNeed=F-3),F):0))}function u(f,_,A){if((_[0]&192)!==128)return f.lastNeed=0,"\uFFFD";if(f.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return f.lastNeed=1,"\uFFFD";if(f.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return f.lastNeed=2,"\uFFFD"}}function c(f){var _=this.lastTotal-this.lastNeed,A=u(this,f);if(A!==void 0)return A;if(this.lastNeed<=f.length)return f.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,_,0,f.length),this.lastNeed-=f.length}function g(f,_){var A=a(this,f,_);if(!this.lastNeed)return f.toString("utf8",_);this.lastTotal=A;var D=f.length-(A-this.lastNeed);return f.copy(this.lastChar,0,D),f.toString("utf8",_,D)}function m(f){var _=f&&f.length?this.write(f):"";return this.lastNeed?_+"\uFFFD":_}function b(f,_){if((f.length-_)%2===0){var A=f.toString("utf16le",_);if(A){var D=A.charCodeAt(A.length-1);if(D>=55296&&D<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",_,f.length-1)}function p(f){var _=f&&f.length?this.write(f):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,A)}return _}function w(f,_){var A=(f.length-_)%3;return A===0?f.toString("base64",_):(this.lastNeed=3-A,this.lastTotal=3,A===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",_,f.length-A))}function y(f){var _=f&&f.length?this.write(f):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function R(f){return f.toString(this.encoding)}function q(f){return f&&f.length?this.write(f):""}return nt}var Yi=_e.codes.ERR_STREAM_PREMATURE_CLOSE;function as(r){var e=!1;return function(){if(!e){e=!0;for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];r.apply(this,i)}}}function ss(){}function os(r){return r.setHeader&&typeof r.abort=="function"}function Wi(r,e,t){if(typeof e=="function")return Wi(r,null,e);e||(e={}),t=as(t||ss);var i=e.readable||e.readable!==!1&&r.readable,n=e.writable||e.writable!==!1&&r.writable,s=function(){r.writable||u()},a=r._writableState&&r._writableState.finished,u=function(){n=!1,a=!0,i||t.call(r)},c=r._readableState&&r._readableState.endEmitted,g=function(){i=!1,c=!0,n||t.call(r)},m=function(y){t.call(r,y)},b=function(){var y;if(i&&!c)return(!r._readableState||!r._readableState.ended)&&(y=new Yi),t.call(r,y);if(n&&!a)return(!r._writableState||!r._writableState.ended)&&(y=new Yi),t.call(r,y)},p=function(){r.req.on("finish",u)};return os(r)?(r.on("complete",u),r.on("abort",b),r.req?p():r.on("request",p)):n&&!r._writableState&&(r.on("end",s),r.on("close",s)),r.on("end",g),r.on("finish",u),e.error!==!1&&r.on("error",m),r.on("close",b),function(){r.removeListener("complete",u),r.removeListener("abort",b),r.removeListener("request",p),r.req&&r.req.removeListener("finish",u),r.removeListener("end",s),r.removeListener("close",s),r.removeListener("finish",u),r.removeListener("end",g),r.removeListener("error",m),r.removeListener("close",b)}}var at=Wi,st,Hi;function ls(){if(Hi)return st;Hi=1;var r;function e(f,_,A){return _ in f?Object.defineProperty(f,_,{value:A,enumerable:!0,configurable:!0,writable:!0}):f[_]=A,f}var t=at,i=Symbol("lastResolve"),n=Symbol("lastReject"),s=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),c=Symbol("handlePromise"),g=Symbol("stream");function m(f,_){return{value:f,done:_}}function b(f){var _=f[i];if(_!==null){var A=f[g].read();A!==null&&(f[u]=null,f[i]=null,f[n]=null,_(m(A,!1)))}}function p(f){P.nextTick(b,f)}function w(f,_){return function(A,D){f.then(function(){if(_[a]){A(m(void 0,!0));return}_[c](A,D)},D)}}var y=Object.getPrototypeOf(function(){}),R=Object.setPrototypeOf((r={get stream(){return this[g]},next:function(){var _=this,A=this[s];if(A!==null)return Promise.reject(A);if(this[a])return Promise.resolve(m(void 0,!0));if(this[g].destroyed)return new Promise(function(Y,O){P.nextTick(function(){_[s]?O(_[s]):Y(m(void 0,!0))})});var D=this[u],F;if(D)F=new Promise(w(D,this));else{var j=this[g].read();if(j!==null)return Promise.resolve(m(j,!1));F=new Promise(this[c])}return this[u]=F,F}},e(r,Symbol.asyncIterator,function(){return this}),e(r,"return",function(){var _=this;return new Promise(function(A,D){_[g].destroy(null,function(F){if(F){D(F);return}A(m(void 0,!0))})})}),r),y),q=function(_){var A,D=Object.create(R,(A={},e(A,g,{value:_,writable:!0}),e(A,i,{value:null,writable:!0}),e(A,n,{value:null,writable:!0}),e(A,s,{value:null,writable:!0}),e(A,a,{value:_._readableState.endEmitted,writable:!0}),e(A,c,{value:function(j,Y){var O=D[g].read();O?(D[u]=null,D[i]=null,D[n]=null,j(m(O,!1))):(D[i]=j,D[n]=Y)},writable:!0}),A));return D[u]=null,t(_,function(F){if(F&&F.code!=="ERR_STREAM_PREMATURE_CLOSE"){var j=D[n];j!==null&&(D[u]=null,D[i]=null,D[n]=null,j(F)),D[s]=F;return}var Y=D[i];Y!==null&&(D[u]=null,D[i]=null,D[n]=null,Y(m(void 0,!0))),D[a]=!0}),_.on("readable",p.bind(null,D)),D};return st=q,st}var ot,Gi;function us(){return Gi||(Gi=1,ot=function(){throw new Error("Readable.from is not available in the browser")}),ot}var lt,$i;function Ji(){if($i)return lt;$i=1,lt=C;var r;C.ReadableState=O,ti.EventEmitter;var e=function(l,E){return l.listeners(E).length},t=ii,i=ar.Buffer,n=we.Uint8Array||function(){};function s(o){return i.from(o)}function a(o){return i.isBuffer(o)||o instanceof n}var u=ki,c;u&&u.debuglog?c=u.debuglog("stream"):c=function(){};var g=Wa(),m=Ni,b=Bi,p=b.getHighWaterMark,w=_e.codes,y=w.ERR_INVALID_ARG_TYPE,R=w.ERR_STREAM_PUSH_AFTER_EOF,q=w.ERR_METHOD_NOT_IMPLEMENTED,f=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,A,D;fe.exports(C,t);var F=m.errorOrDestroy,j=["error","close","destroy","pause","resume"];function Y(o,l,E){if(typeof o.prependListener=="function")return o.prependListener(l,E);!o._events||!o._events[l]?o.on(l,E):Array.isArray(o._events[l])?o._events[l].unshift(E):o._events[l]=[E,o._events[l]]}function O(o,l,E){r=r||Te(),o=o||{},typeof E!="boolean"&&(E=l instanceof r),this.objectMode=!!o.objectMode,E&&(this.objectMode=this.objectMode||!!o.readableObjectMode),this.highWaterMark=p(this,o,"readableHighWaterMark",E),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=o.emitClose!==!1,this.autoDestroy=!!o.autoDestroy,this.destroyed=!1,this.defaultEncoding=o.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,o.encoding&&(_||(_=zi().StringDecoder),this.decoder=new _(o.encoding),this.encoding=o.encoding)}function C(o){if(r=r||Te(),!(this instanceof C))return new C(o);var l=this instanceof r;this._readableState=new O(o,this,l),this.readable=!0,o&&(typeof o.read=="function"&&(this._read=o.read),typeof o.destroy=="function"&&(this._destroy=o.destroy)),t.call(this)}Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(l){!this._readableState||(this._readableState.destroyed=l)}}),C.prototype.destroy=m.destroy,C.prototype._undestroy=m.undestroy,C.prototype._destroy=function(o,l){l(o)},C.prototype.push=function(o,l){var E=this._readableState,S;return E.objectMode?S=!0:typeof o=="string"&&(l=l||E.defaultEncoding,l!==E.encoding&&(o=i.from(o,l),l=""),S=!0),M(this,o,l,!1,S)},C.prototype.unshift=function(o){return M(this,o,null,!0,!1)};function M(o,l,E,S,U){c("readableAddChunk",l);var N=o._readableState;if(l===null)N.reading=!1,X(o,N);else{var B;if(U||(B=ne(N,l)),B)F(o,B);else if(N.objectMode||l&&l.length>0)if(typeof l!="string"&&!N.objectMode&&Object.getPrototypeOf(l)!==i.prototype&&(l=s(l)),S)N.endEmitted?F(o,new f):G(o,N,l,!0);else if(N.ended)F(o,new R);else{if(N.destroyed)return!1;N.reading=!1,N.decoder&&!E?(l=N.decoder.write(l),N.objectMode||l.length!==0?G(o,N,l,!1):ae(o,N)):G(o,N,l,!1)}else S||(N.reading=!1,ae(o,N))}return!N.ended&&(N.length<N.highWaterMark||N.length===0)}function G(o,l,E,S){l.flowing&&l.length===0&&!l.sync?(l.awaitDrain=0,o.emit("data",E)):(l.length+=l.objectMode?1:E.length,S?l.buffer.unshift(E):l.buffer.push(E),l.needReadable&&Q(o)),ae(o,l)}function ne(o,l){var E;return!a(l)&&typeof l!="string"&&l!==void 0&&!o.objectMode&&(E=new y("chunk",["string","Buffer","Uint8Array"],l)),E}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(o){_||(_=zi().StringDecoder);var l=new _(o);this._readableState.decoder=l,this._readableState.encoding=this._readableState.decoder.encoding;for(var E=this._readableState.buffer.head,S="";E!==null;)S+=l.write(E.data),E=E.next;return this._readableState.buffer.clear(),S!==""&&this._readableState.buffer.push(S),this._readableState.length=S.length,this};var K=1073741824;function V(o){return o>=K?o=K:(o--,o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,o|=o>>>16,o++),o}function Z(o,l){return o<=0||l.length===0&&l.ended?0:l.objectMode?1:o!==o?l.flowing&&l.length?l.buffer.head.data.length:l.length:(o>l.highWaterMark&&(l.highWaterMark=V(o)),o<=l.length?o:l.ended?l.length:(l.needReadable=!0,0))}C.prototype.read=function(o){c("read",o),o=parseInt(o,10);var l=this._readableState,E=o;if(o!==0&&(l.emittedReadable=!1),o===0&&l.needReadable&&((l.highWaterMark!==0?l.length>=l.highWaterMark:l.length>0)||l.ended))return c("read: emitReadable",l.length,l.ended),l.length===0&&l.ended?x(this):Q(this),null;if(o=Z(o,l),o===0&&l.ended)return l.length===0&&x(this),null;var S=l.needReadable;c("need readable",S),(l.length===0||l.length-o<l.highWaterMark)&&(S=!0,c("length less than watermark",S)),l.ended||l.reading?(S=!1,c("reading or ended",S)):S&&(c("do read"),l.reading=!0,l.sync=!0,l.length===0&&(l.needReadable=!0),this._read(l.highWaterMark),l.sync=!1,l.reading||(o=Z(E,l)));var U;return o>0?U=d(o,l):U=null,U===null?(l.needReadable=l.length<=l.highWaterMark,o=0):(l.length-=o,l.awaitDrain=0),l.length===0&&(l.ended||(l.needReadable=!0),E!==o&&l.ended&&x(this)),U!==null&&this.emit("data",U),U};function X(o,l){if(c("onEofChunk"),!l.ended){if(l.decoder){var E=l.decoder.end();E&&E.length&&(l.buffer.push(E),l.length+=l.objectMode?1:E.length)}l.ended=!0,l.sync?Q(o):(l.needReadable=!1,l.emittedReadable||(l.emittedReadable=!0,ye(o)))}}function Q(o){var l=o._readableState;c("emitReadable",l.needReadable,l.emittedReadable),l.needReadable=!1,l.emittedReadable||(c("emitReadable",l.flowing),l.emittedReadable=!0,P.nextTick(ye,o))}function ye(o){var l=o._readableState;c("emitReadable_",l.destroyed,l.length,l.ended),!l.destroyed&&(l.length||l.ended)&&(o.emit("readable"),l.emittedReadable=!1),l.needReadable=!l.flowing&&!l.ended&&l.length<=l.highWaterMark,h(o)}function ae(o,l){l.readingMore||(l.readingMore=!0,P.nextTick(yr,o,l))}function yr(o,l){for(;!l.reading&&!l.ended&&(l.length<l.highWaterMark||l.flowing&&l.length===0);){var E=l.length;if(c("maybeReadMore read 0"),o.read(0),E===l.length)break}l.readingMore=!1}C.prototype._read=function(o){F(this,new q("_read()"))},C.prototype.pipe=function(o,l){var E=this,S=this._readableState;switch(S.pipesCount){case 0:S.pipes=o;break;case 1:S.pipes=[S.pipes,o];break;default:S.pipes.push(o);break}S.pipesCount+=1,c("pipe count=%d opts=%j",S.pipesCount,l);var U=(!l||l.end!==!1)&&o!==P.stdout&&o!==P.stderr,N=U?De:ze;S.endEmitted?P.nextTick(N):E.once("end",N),o.on("unpipe",B);function B(Ce,ke){c("onunpipe"),Ce===E&&ke&&ke.hasUnpiped===!1&&(ke.hasUnpiped=!0,$s())}function De(){c("onend"),o.end()}var wr=bt(E);o.on("drain",wr);var hn=!1;function $s(){c("cleanup"),o.removeListener("close",wt),o.removeListener("finish",Et),o.removeListener("drain",wr),o.removeListener("error",vt),o.removeListener("unpipe",B),E.removeListener("end",De),E.removeListener("end",ze),E.removeListener("data",pn),hn=!0,S.awaitDrain&&(!o._writableState||o._writableState.needDrain)&&wr()}E.on("data",pn);function pn(Ce){c("ondata");var ke=o.write(Ce);c("dest.write",ke),ke===!1&&((S.pipesCount===1&&S.pipes===o||S.pipesCount>1&&L(S.pipes,o)!==-1)&&!hn&&(c("false write response, pause",S.awaitDrain),S.awaitDrain++),E.pause())}function vt(Ce){c("onerror",Ce),ze(),o.removeListener("error",vt),e(o,"error")===0&&F(o,Ce)}Y(o,"error",vt);function wt(){o.removeListener("finish",Et),ze()}o.once("close",wt);function Et(){c("onfinish"),o.removeListener("close",wt),ze()}o.once("finish",Et);function ze(){c("unpipe"),E.unpipe(o)}return o.emit("pipe",E),S.flowing||(c("pipe resume"),E.resume()),o};function bt(o){return function(){var E=o._readableState;c("pipeOnDrain",E.awaitDrain),E.awaitDrain&&E.awaitDrain--,E.awaitDrain===0&&e(o,"data")&&(E.flowing=!0,h(o))}}C.prototype.unpipe=function(o){var l=this._readableState,E={hasUnpiped:!1};if(l.pipesCount===0)return this;if(l.pipesCount===1)return o&&o!==l.pipes?this:(o||(o=l.pipes),l.pipes=null,l.pipesCount=0,l.flowing=!1,o&&o.emit("unpipe",this,E),this);if(!o){var S=l.pipes,U=l.pipesCount;l.pipes=null,l.pipesCount=0,l.flowing=!1;for(var N=0;N<U;N++)S[N].emit("unpipe",this,{hasUnpiped:!1});return this}var B=L(l.pipes,o);return B===-1?this:(l.pipes.splice(B,1),l.pipesCount-=1,l.pipesCount===1&&(l.pipes=l.pipes[0]),o.emit("unpipe",this,E),this)},C.prototype.on=function(o,l){var E=t.prototype.on.call(this,o,l),S=this._readableState;return o==="data"?(S.readableListening=this.listenerCount("readable")>0,S.flowing!==!1&&this.resume()):o==="readable"&&!S.endEmitted&&!S.readableListening&&(S.readableListening=S.needReadable=!0,S.flowing=!1,S.emittedReadable=!1,c("on readable",S.length,S.reading),S.length?Q(this):S.reading||P.nextTick(ve,this)),E},C.prototype.addListener=C.prototype.on,C.prototype.removeListener=function(o,l){var E=t.prototype.removeListener.call(this,o,l);return o==="readable"&&P.nextTick(vr,this),E},C.prototype.removeAllListeners=function(o){var l=t.prototype.removeAllListeners.apply(this,arguments);return(o==="readable"||o===void 0)&&P.nextTick(vr,this),l};function vr(o){var l=o._readableState;l.readableListening=o.listenerCount("readable")>0,l.resumeScheduled&&!l.paused?l.flowing=!0:o.listenerCount("data")>0&&o.resume()}function ve(o){c("readable nexttick read 0"),o.read(0)}C.prototype.resume=function(){var o=this._readableState;return o.flowing||(c("resume"),o.flowing=!o.readableListening,_t(this,o)),o.paused=!1,this};function _t(o,l){l.resumeScheduled||(l.resumeScheduled=!0,P.nextTick(yt,o,l))}function yt(o,l){c("resume",l.reading),l.reading||o.read(0),l.resumeScheduled=!1,o.emit("resume"),h(o),l.flowing&&!l.reading&&o.read(0)}C.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function h(o){var l=o._readableState;for(c("flow",l.flowing);l.flowing&&o.read()!==null;);}C.prototype.wrap=function(o){var l=this,E=this._readableState,S=!1;o.on("end",function(){if(c("wrapped end"),E.decoder&&!E.ended){var B=E.decoder.end();B&&B.length&&l.push(B)}l.push(null)}),o.on("data",function(B){if(c("wrapped data"),E.decoder&&(B=E.decoder.write(B)),!(E.objectMode&&B==null)&&!(!E.objectMode&&(!B||!B.length))){var De=l.push(B);De||(S=!0,o.pause())}});for(var U in o)this[U]===void 0&&typeof o[U]=="function"&&(this[U]=function(De){return function(){return o[De].apply(o,arguments)}}(U));for(var N=0;N<j.length;N++)o.on(j[N],this.emit.bind(this,j[N]));return this._read=function(B){c("wrapped _read",B),S&&(S=!1,o.resume())},this},typeof Symbol=="function"&&(C.prototype[Symbol.asyncIterator]=function(){return A===void 0&&(A=ls()),A(this)}),Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(C.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(C.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(l){this._readableState&&(this._readableState.flowing=l)}}),C._fromList=d,Object.defineProperty(C.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function d(o,l){if(l.length===0)return null;var E;return l.objectMode?E=l.buffer.shift():!o||o>=l.length?(l.decoder?E=l.buffer.join(""):l.buffer.length===1?E=l.buffer.first():E=l.buffer.concat(l.length),l.buffer.clear()):E=l.buffer.consume(o,l.decoder),E}function x(o){var l=o._readableState;c("endReadable",l.endEmitted),l.endEmitted||(l.ended=!0,P.nextTick(k,l,o))}function k(o,l){if(c("endReadableNT",o.endEmitted,o.length),!o.endEmitted&&o.length===0&&(o.endEmitted=!0,l.readable=!1,l.emit("end"),o.autoDestroy)){var E=l._writableState;(!E||E.autoDestroy&&E.finished)&&l.destroy()}}typeof Symbol=="function"&&(C.from=function(o,l){return D===void 0&&(D=us()),D(C,o,l)});function L(o,l){for(var E=0,S=o.length;E<S;E++)if(o[E]===l)return E;return-1}return lt}var Ki=le,hr=_e.codes,cs=hr.ERR_METHOD_NOT_IMPLEMENTED,fs=hr.ERR_MULTIPLE_CALLBACK,ds=hr.ERR_TRANSFORM_ALREADY_TRANSFORMING,hs=hr.ERR_TRANSFORM_WITH_LENGTH_0,pr=Te();fe.exports(le,pr);function ps(r,e){var t=this._transformState;t.transforming=!1;var i=t.writecb;if(i===null)return this.emit("error",new fs);t.writechunk=null,t.writecb=null,e!=null&&this.push(e),i(r);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function le(r){if(!(this instanceof le))return new le(r);pr.call(this,r),this._transformState={afterTransform:ps.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,r&&(typeof r.transform=="function"&&(this._transform=r.transform),typeof r.flush=="function"&&(this._flush=r.flush)),this.on("prefinish",gs)}function gs(){var r=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,t){Zi(r,e,t)}):Zi(this,null,null)}le.prototype.push=function(r,e){return this._transformState.needTransform=!1,pr.prototype.push.call(this,r,e)},le.prototype._transform=function(r,e,t){t(new cs("_transform()"))},le.prototype._write=function(r,e,t){var i=this._transformState;if(i.writecb=t,i.writechunk=r,i.writeencoding=e,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}},le.prototype._read=function(r){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},le.prototype._destroy=function(r,e){pr.prototype._destroy.call(this,r,function(t){e(t)})};function Zi(r,e,t){if(e)return r.emit("error",e);if(t!=null&&r.push(t),r._writableState.length)throw new hs;if(r._transformState.transforming)throw new ds;return r.push(null)}var ms=Ve,Xi=Ki;fe.exports(Ve,Xi);function Ve(r){if(!(this instanceof Ve))return new Ve(r);Xi.call(this,r)}Ve.prototype._transform=function(r,e,t){t(null,r)};var ut;function bs(r){var e=!1;return function(){e||(e=!0,r.apply(void 0,arguments))}}var Qi=_e.codes,_s=Qi.ERR_MISSING_ARGS,ys=Qi.ERR_STREAM_DESTROYED;function en(r){if(r)throw r}function vs(r){return r.setHeader&&typeof r.abort=="function"}function ws(r,e,t,i){i=bs(i);var n=!1;r.on("close",function(){n=!0}),ut===void 0&&(ut=at),ut(r,{readable:e,writable:t},function(a){if(a)return i(a);n=!0,i()});var s=!1;return function(a){if(!n&&!s){if(s=!0,vs(r))return r.abort();if(typeof r.destroy=="function")return r.destroy();i(a||new ys("pipe"))}}}function rn(r){r()}function Es(r,e){return r.pipe(e)}function xs(r){return!r.length||typeof r[r.length-1]!="function"?en:r.pop()}function As(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];var i=xs(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new _s("streams");var n,s=e.map(function(a,u){var c=u<e.length-1,g=u>0;return ws(a,c,g,function(m){n||(n=m),m&&s.forEach(rn),!c&&(s.forEach(rn),i(n))})});return e.reduce(Es)}var Rs=As;(function(r,e){e=r.exports=Ji(),e.Stream=e,e.Readable=e,e.Writable=Ui(),e.Duplex=Te(),e.Transform=Ki,e.PassThrough=ms,e.finished=at,e.pipeline=Rs})(Mr,Mr.exports);var tn=Mr.exports.Transform,nn=fe.exports;function qe(r){tn.call(this,r),this._destroyed=!1}nn(qe,tn),qe.prototype.destroy=function(r){if(!this._destroyed){this._destroyed=!0;var e=this;P.nextTick(function(){r&&e.emit("error",r),e.emit("close")})}};function Ss(r,e,t){t(null,r)}function ct(r){return function(e,t,i){return typeof e=="function"&&(i=t,t=e,e={}),typeof t!="function"&&(t=Ss),typeof i!="function"&&(i=null),r(e,t,i)}}Br.exports=ct(function(r,e,t){var i=new qe(r);return i._transform=e,t&&(i._flush=t),i}),Br.exports.ctor=ct(function(r,e,t){function i(n){if(!(this instanceof i))return new i(n);this.options=Object.assign({},r,n),qe.call(this,this.options)}return nn(i,qe),i.prototype._transform=e,t&&(i.prototype._flush=t),i}),Br.exports.obj=ct(function(r,e,t){var i=new qe(Object.assign({objectMode:!0,highWaterMark:16},r));return i._transform=e,t&&(i._flush=t),i});class Ts{constructor(e,t=4){this._string=null,this._type="form",this._readOnly=!1,this._context={},this._onChangeFields={},this._fields=e,this._container=new Le(t)}get fields(){return this._fields}get container(){return this._container}get string(){return this._string}get type(){return this._type}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=e}get context(){return this._context}set context(e){this._context=e}get onChangeFields(){return this._onChangeFields}set onChangeFields(e){this._onChangeFields=e}parse(e,t){var i;const{values:n={},readOnly:s=!1}=t||{},a=Ze(e).filter(u=>u.tagName==="form")[0];this._string=((i=a.attributes)==null?void 0:i.string)||null,this._string&&(this._string=H(this._string)),this._readOnly=s,this._context=n.id?{active_id:n.id,active_ids:[n.id]}:{},this.parseNode({fields:a.children,container:this._container,values:n})}parseNode({fields:e,container:t,values:i}){const n=new Pr;e.forEach(s=>{var a;const{tagName:u,attributes:c,children:g}=s;let m=u,b=c;if(u==="field"){const{name:f,widget:_}=c;if(_)m=_;else if(f){if(!this._fields[f])throw new Error(`Field ${f} doesn't exist in fields defintion`);m=this._fields[f].type}b={...this._fields[f],...c,fieldsWidgetType:this._fields[f].type}}const p=Sn({tagAttributes:b,values:i,fields:this._fields});let w;u==="button"&&b.states?w=Dn({states:b.states,values:i}):w=qn({fieldName:b.name,values:i,fields:this._fields});const y=$t({context:b.context||((a=this._fields[b.name])==null?void 0:a.context),values:i,fields:this._fields});b.on_change&&(this._onChangeFields[b.name]=kn(b.on_change));let R;b.domain&&b.domain!==""&&b.domain!=="[]"&&(R=b.domain),this._fields[b.name]&&this._fields[b.name].domain&&this._fields[b.name].domain!==""&&this._fields[b.name].domain!=="[]"&&(R=this._fields[b.name].domain);const q=n.createWidget(m,{...p,...w,context:y,domain:R});q instanceof he&&this.parseNode({fields:g,container:q.container,values:i}),q.readOnly=q.readOnly||this.readOnly,t.addWidget(q)})}findById(e){return this.container.findById(e)}}const an=r=>r===1||r==="1"||r===!0||r==="True";class qs{constructor(e){this._columns=[],this._string=null,this._type="tree",this._colors=null,this._editable=null,this._fields=e}get fields(){return this._fields}get columns(){return this._columns}get string(){return this._string}get type(){return this._type}get colors(){return this._colors}get editable(){return this._editable}parse(e){const t=Ze(e).filter(n=>n.tagName==="tree")[0];this._string=t.attributes.string||null,this._string&&(this._string=H(this._string)),this._colors=t.attributes.colors||null,this._colors&&(this._colors=H(this._colors)),this._editable=t.attributes.editable||null;const i=new Pr;t.children.forEach(n=>{const{tagName:s,attributes:a}=n;let u=null;if(s==="field"){const{name:c,widget:g}=a;if(g)u=g;else if(c){if(!this._fields[c])throw new Error(`Field ${c} doesn't exist in fields defintion`);const m=this._fields[c];u=m.type;const b=an(a.invisible||(m==null?void 0:m.invisible));(Array.isArray(m==null?void 0:m.domain)&&(m==null?void 0:m.domain.length)===0||(m==null?void 0:m.domain)===!1)&&a.domain&&a.domain.length>0&&delete m.domain;const p={...m,...a,fieldsWidgetType:m==null?void 0:m.type};if(!b){const w=i.createWidget(u,p);this._columns.push(w)}}}})}findById(e){return this._columns.find(t=>{if(t.findById)return t.findById(e)})}}class Ds{get searchFields(){return this._searchFields}get fields(){return this._fields}get simpleSearchContainer(){return this._simpleSearchContainer}get advancedSearchContainer(){return this._advancedSearchContainer}constructor(e,t,i=8){this._searchFields=e,this._fields=t,this._simpleSearchContainer=new Le(i),this._advancedSearchContainer=new Le(i)}parse(){const e=new Pr;this.parseFields(this.searchFields.primary,e).forEach(n=>{this.simpleSearchContainer.addWidget(n,{addLabel:!1}),this.advancedSearchContainer.addWidget(n,{addLabel:!1})}),this.parseFields(this.searchFields.secondary,e).forEach(n=>{this.advancedSearchContainer.addWidget(n,{addLabel:!1})})}parseFields(e,t){return e.map(i=>{const n={...this.fields[i],name:i,colspan:2},{type:s}=n;return t.createWidget(s,n)})}findById(e){return this.advancedSearchContainer.findById(e)}}const Cs=({domain:r,widgetFieldName:e})=>{const t=[];return r.forEach(i=>{if(!Array.isArray(i))return;const[n,s,a]=i;let u,c;n.indexOf(".")!==-1?(u=n.substr(0,n.indexOf(".")),c=n.substr(n.indexOf(".")+1,n.length-1)):(u=n,c="id"),u===e&&t.push([c,s,a])}),t};class sn{constructor(e){this._action_id=null,this._position=null,e.action_id&&(this._action_id=e.action_id),e.position&&(this._position=e.position)}get action_id(){return this._action_id}get position(){return this._position}}class ks{constructor(e){this._string=null,this._items=[];const t=Ze(e).filter(n=>n.tagName==="dashboard")[0];this._string=t.attributes.string||null;const{children:i}=t;i.forEach(n=>{n.tagName==="dashboard_item"&&this._items.push(new sn(n.attributes))})}get string(){return this._string}get items(){return this._items}}class ft{constructor(e){this._string=null,this._timerange=null,this._string=e.attributes.string||null,this._timerange=e.attributes.timerange||null}get string(){return this._string}get type(){return this._type}get timerange(){return this._timerange}}class dt extends ft{constructor(e,t){super(t),this._color=null,this._icon=null,this._totalDomain=null,this._showPercent=!1,this._suffix=null,this._type=e,this._color=t.attributes.color||null,this._color&&(this._color=H(this._color)),this._icon=t.attributes.icon||null,this._icon&&(this._icon=H(this._icon)),this._suffix=t.attributes.suffix||null,this._totalDomain=t.attributes.totalDomain||null,this._showPercent=an(t.attributes.showPercent)}get color(){return this._color}get icon(){return this._icon}get totalDomain(){return this._totalDomain}get showPercent(){return this._showPercent}get suffix(){return this._suffix}}class on extends dt{constructor(e,t){super(e,t);const{children:i}=t;i.forEach(n=>{if(n.tagName==="field"){const s=n.attributes.name,a=n.attributes.operator;this._field=s||void 0,this._operator=a}})}get field(){return this._field}get operator(){return this._operator}}const Fs=r=>{const e=[];let t;if(r.forEach(i=>{if(i.tagName==="field"){const n=i.attributes.axis,s=i.attributes.operator,a=i.attributes.name,u=i.attributes.label||void 0,c=i.attributes.stacked||void 0;if(!n)throw new Error(`Field ${a} doesn't have an axis`);if(!a)throw new Error("Missing name attribute for field");n==="x"?t=new un({name:a}):n==="y"&&e.push(new ln({name:a,operator:s,label:u,stacked:c}))}}),!t)throw new Error("No x axis found");if(!e.length)throw new Error("No y axis found. At least we need one y axis");return{x:t,y:e}};class gr extends ft{constructor(e,t){super(t),this._type=e;const i=Fs(t.children);this._x=i.x,this._y=i.y}get x(){return this._x}get y(){return this._y}}const Os={indicator:dt,indicatorField:on,line:gr,bar:gr,pie:gr},Ns=r=>{const e=Ze(r).filter(n=>n.tagName==="graph")[0],t=e.attributes.type;if(!t)throw new Error(`${t} is not a valid graph`);const i=Os[t];if(!i)throw new Error(`${t} not found as a GraphModel`);return new i(t,e)};class ht{get name(){return this._name}get axis(){return this._axis}constructor({name:e,axis:t}){this._name=e,this._axis=t}}class ln extends ht{constructor({name:e,operator:t,label:i,stacked:n}){super({name:e,axis:"y"}),this._operator=t,this._label=i,this._stacked=n}get operator(){return this._operator}get label(){return this._label}get stacked(){return this._stacked}}class un extends ht{constructor({name:e}){super({name:e,axis:"x"})}}const Ls=({ooui:r})=>{const t=[r.x.name];return r.y?(r.y.forEach(i=>{i.operator!=="count"&&!t.includes(i.name)&&t.push(i.name),i.label&&!t.includes(i.label)&&t.push(i.label)}),t):[]};function pt({fields:r,values:e,fieldName:t}){const i=r[t],n=e[t];if(!i)throw new Error(`Field ${t} not found`);if(i.type==="many2one")return n?{value:n[0],label:n[1]}:{value:!1,label:void 0};if(i.type==="selection"){const a=i.selection.find(u=>u[0]===n);return a?{value:n,label:a[1]}:{value:!1,label:void 0}}return{value:n,label:n}}const Ps=Object.freeze(Object.defineProperty({__proto__:null,getFieldsToRetrieve:Ls,getValueAndLabelForField:pt},Symbol.toStringTag,{value:"Module"}));function Bs({values:r,timerange:e}){const t=Is({values:r,timerange:e});return Ms({values:t,timerange:e})}function Ms({values:r,timerange:e}){let t=[];const i=fn({values:r,groupBy:"type-stacked"}),n=`${e}s`;return Object.keys(i).forEach(a=>{const u=i[a];for(let c=0;c<u.length;c++){const g=u[c];if(t.push(g),c===u.length-1)return;const m=g.x,b=u[c+1].x;if(!cn([m,b],n)){const p=Us({dates:[m,b],timerange:e});t=t.concat(p.map(w=>({x:w,value:0,type:g.type,stacked:g.stacked})))}}}),t.sort((a,u)=>a.x<u.x?-1:a.x>u.x?1:0)}function Us({dates:r,timerange:e}){const t=[],i=`${e}s`;if(r.length===1)return r;const n=r.sort((s,a)=>s<a?-1:s>a?1:0);for(let s=0;s<n.length-1;s++){const a=n[s],u=n[s+1];if(!cn([a,u],i)){let c=Oe.default(a,mr(i)).add(1,i),g=Oe.default(u,mr(i));for(;c.isBefore(g);)t.push(c.format(mr(i))),c.add(1,i)}}return t}function Is({values:r,timerange:e}){const t=js({values:r,timerange:e});let i=[];const n=fn({values:t,groupBy:"all"});return Object.keys(n).forEach(s=>{const a=n[s],u=a[0].operator==="count"?"+":a[0].operator,c=br({values:a.map(g=>g.value),operator:u});i.push({...a[0],value:c})}),i}function js({values:r,timerange:e}){return r.map(t=>({...t,x:Vs({date:t.x,timerange:e})}))}function Vs({date:r,timerange:e}){let t=zs(r);const i=Oe.default(r,t);switch(e){case"hour":{t="YYYY-MM-DD HH:00";break}case"day":{t="YYYY-MM-DD";break}case"week":{t="YYYY-WW";break}case"month":{t="YYYY-MM";break}case"year":{t="YYYY";break}}return i.format(t)}function zs(r){return r.indexOf(":")?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}function cn(r,e){let t=!1;const i=mr(e);if(r.length===0)return!1;if(r.length===1)return!0;for(let n=0;n<r.length-1;n++){const s=Oe.default(r[n],i),u=Oe.default(r[n+1],i).diff(s,e);Math.abs(u)===1?t=!0:t=!1}return t}function fn({values:r,groupBy:e}){const t={};return r.forEach(i=>{const n=i.x,s=i.type,a=i.stacked,u=e==="all"?`${n}-${s}-${a}`:`${s}-${a}`;t[u]||(t[u]=[]),t[u].push(i)}),t}function mr(r){switch(r){default:case"hours":return"YYYY-MM-DD HH:mm";case"days":return"YYYY-MM-DD";case"weeks":return"YYYY-WW";case"months":return"YYYY-MM";case"years":return"YYYY"}}const Ys={count:"count","+":"sum","-":"subtract","*":"multiply",avg:"average",min:"min",max:"max"},Ws=({ooui:r,values:e,fields:t,options:i})=>{const n=mt({fieldName:r.x.name,values:e,fields:t}),s=[];r.y.forEach(p=>{Object.keys(n).forEach(w=>{const y=n[w].label,R=n[w].entries;if(p.label){const q=mt({fieldName:p.label,values:R,fields:t});Object.keys(q).forEach(f=>{const _=q[f].entries,A=q[f].label,D=gt({entries:_,fields:t,fieldName:p.name}),F=br({values:D,operator:p.operator});s.push({x:y||!1,value:F,type:A,operator:p.operator,stacked:p.stacked})})}else{const q=gt({entries:R,fields:t,fieldName:p.name}),f=br({values:q,operator:p.operator});s.push({x:y||!1,value:f,type:dn({yAxis:p,fields:t}),operator:p.operator,stacked:p.stacked})}})});const a=r.y.some(p=>p.label!==void 0),u=r.y.some(p=>p.stacked!==void 0);let g=[...s.sort((p,w)=>p.x<w.x?-1:p.x>w.x?1:0)];u&&r.y.filter(p=>p.stacked!==void 0).length>1&&(g=g.map(p=>({...p,type:`${p.type} - ${p.stacked}`})));let m=[...g];r.type==="pie"&&m.some(p=>p.x===!1)?m=m.map(p=>p.x===!1?{...p,x:(i==null?void 0:i.uninformedString)||"Not informed"}:p):g.some(p=>p.x===!1)&&(m=m.filter(p=>p.x!==!1));let b=m;return r.timerange&&(b=Bs({values:b,timerange:r.timerange})),{data:b,isGroup:u||a,isStack:u}};function gt({entries:r,fieldName:e,fields:t}){return r.map(i=>pt({fieldName:e,values:i,fields:t})).map(({value:i,label:n})=>n)}function br({operator:r,values:e}){switch(r){case"count":return e.length;case"+":return _r(e.reduce(function(t,i){return t+i}));case"-":return _r(e.reduce(function(t,i){return t-i}));case"*":return _r(e.reduce(function(t,i){return t*i}));case"avg":{const i=e.reduce((n,s)=>n+s,0)/e.length||0;return _r(i)}case"min":return Math.min(...e);case"max":return Math.max(...e)}}function _r(r){return Math.round((r+Number.EPSILON)*100)/100}function mt({fieldName:r,fields:e,values:t}){const i={};return t.forEach(n=>{const{value:s,label:a}=pt({fields:e,values:n,fieldName:r});i[s]||(i[s]={label:a,entries:[]}),i[s].entries.push(n)}),i}function Hs(r){let e=[];return Object.keys(r).forEach(t=>{const i=r[t];e=e.concat(i.entries)}),e}function dn({yAxis:r,fields:e}){const t=e[r.name];return t&&t.string?t.string:r.name}const Gs=Object.freeze(Object.defineProperty({__proto__:null,labelsForOperator:Ys,processGraphData:Ws,getValuesForYField:gt,getValueForOperator:br,getValuesGroupedByField:mt,getAllObjectsInGroupedValues:Hs,getYAxisFieldname:dn},Symbol.toStringTag,{value:"Module"}));T.Binary=Ut,T.Boolean=Or,T.Button=qt,T.ButtonGroup=Dt,T.Char=Je,T.CodeEditor=Gt,T.Container=Le,T.ContainerWidget=he,T.Dashboard=ks,T.DashboardItem=sn,T.Date=Nt,T.DateTime=Lt,T.Field=I,T.Float=Ke,T.FloatTime=Ft,T.Form=Ts,T.Graph=ft,T.GraphAxis=ht,T.GraphChart=gr,T.GraphIndicator=dt,T.GraphIndicatorField=on,T.GraphXAxis=un,T.GraphYAxis=ln,T.Group=Tt,T.Image=It,T.Indicator=Vt,T.Integer=kt,T.Label=Cr,T.Many2many=Pt,T.Many2one=Ct,T.MultiCheckbox=Lr,T.NewLine=Dr,T.Notebook=kr,T.One2many=Nr,T.Page=St,T.ProgressBar=Ot,T.Radio=Yt,T.Reference=Mt,T.SearchFilter=Ds,T.Selection=Pe,T.Separator=Bt,T.Steps=Ht,T.Switch=Wt,T.Tags=zt,T.Text=Fr,T.Timeline=jt,T.Tree=qs,T.Widget=de,T.graphFieldUtils=Ps,T.graphProcessor=Gs,T.parseContext=$t,T.parseGraph=Ns,T.transformDomainForChildWidget=Cs,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
17
+ `))):u=t.stylize("[Circular]","special")),ie(a)){if(s&&n.match(/^\d+$/))return u;a=JSON.stringify(""+n),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function ba(t,e,r){var i=t.reduce(function(n,s){return s.indexOf(`
18
+ `)>=0,n+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(e===""?"":e+`
19
+ `)+" "+t.join(`,
20
+ `)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function It(t){return Array.isArray(t)}function nt(t){return typeof t=="boolean"}function Pe(t){return t===null}function ci(t){return t==null}function Lt(t){return typeof t=="number"}function Ne(t){return typeof t=="string"}function hi(t){return typeof t=="symbol"}function ie(t){return t===void 0}function ke(t){return ye(t)&&Ut(t)==="[object RegExp]"}function ye(t){return typeof t=="object"&&t!==null}function at(t){return ye(t)&&Ut(t)==="[object Date]"}function Be(t){return ye(t)&&(Ut(t)==="[object Error]"||t instanceof Error)}function Ie(t){return typeof t=="function"}function di(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}function gi(t){return y.isBuffer(t)}function Ut(t){return Object.prototype.toString.call(t)}function Wt(t){return t<10?"0"+t.toString(10):t.toString(10)}var ma=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function va(){var t=new Date,e=[Wt(t.getHours()),Wt(t.getMinutes()),Wt(t.getSeconds())].join(":");return[t.getDate(),ma[t.getMonth()],e].join(" ")}function _i(){console.log("%s - %s",va(),tt.apply(null,arguments))}function jt(t,e){if(!e||!ye(e))return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t}function pi(t,e){return Object.prototype.hasOwnProperty.call(t,e)}const yi=Tt(Object.freeze(Object.defineProperty({__proto__:null,format:tt,deprecate:Pt,debuglog:fi,inspect:re,isArray:It,isBoolean:nt,isNull:Pe,isNullOrUndefined:ci,isNumber:Lt,isString:Ne,isSymbol:hi,isUndefined:ie,isRegExp:ke,isObject:ye,isDate:at,isError:Be,isFunction:Ie,isPrimitive:di,isBuffer:gi,log:_i,inherits:ui,_extend:jt,default:{inherits:ui,_extend:jt,log:_i,isBuffer:gi,isPrimitive:di,isFunction:Ie,isError:Be,isDate:at,isObject:ye,isRegExp:ke,isUndefined:ie,isSymbol:hi,isString:Ne,isNumber:Lt,isNullOrUndefined:ci,isNull:Pe,isBoolean:nt,isArray:It,inspect:re,deprecate:Pt,format:tt,debuglog:fi}},Symbol.toStringTag,{value:"Module"})));var Yt,wi;function Ea(){if(wi)return Yt;wi=1;function t(p,E){var v=Object.keys(p);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(p);E&&(T=T.filter(function(D){return Object.getOwnPropertyDescriptor(p,D).enumerable})),v.push.apply(v,T)}return v}function e(p){for(var E=1;E<arguments.length;E++){var v=arguments[E]!=null?arguments[E]:{};E%2?t(Object(v),!0).forEach(function(T){r(p,T,v[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(v)):t(Object(v)).forEach(function(T){Object.defineProperty(p,T,Object.getOwnPropertyDescriptor(v,T))})}return p}function r(p,E,v){return E in p?Object.defineProperty(p,E,{value:v,enumerable:!0,configurable:!0,writable:!0}):p[E]=v,p}function i(p,E){if(!(p instanceof E))throw new TypeError("Cannot call a class as a function")}function n(p,E){for(var v=0;v<E.length;v++){var T=E[v];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}function s(p,E,v){return E&&n(p.prototype,E),v&&n(p,v),p}var a=et,u=a.Buffer,f=yi,g=f.inspect,b=g&&g.custom||"inspect";function _(p,E,v){u.prototype.copy.call(p,E,v)}return Yt=function(){function p(){i(this,p),this.head=null,this.tail=null,this.length=0}return s(p,[{key:"push",value:function(v){var T={data:v,next:null};this.length>0?this.tail.next=T:this.head=T,this.tail=T,++this.length}},{key:"unshift",value:function(v){var T={data:v,next:this.head};this.length===0&&(this.tail=T),this.head=T,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var T=this.head,D=""+T.data;T=T.next;)D+=v+T.data;return D}},{key:"concat",value:function(v){if(this.length===0)return u.alloc(0);for(var T=u.allocUnsafe(v>>>0),D=this.head,c=0;D;)_(D.data,T,c),c+=D.data.length,D=D.next;return T}},{key:"consume",value:function(v,T){var D;return v<this.head.data.length?(D=this.head.data.slice(0,v),this.head.data=this.head.data.slice(v)):v===this.head.data.length?D=this.shift():D=T?this._getString(v):this._getBuffer(v),D}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(v){var T=this.head,D=1,c=T.data;for(v-=c.length;T=T.next;){var w=T.data,R=v>w.length?w.length:v;if(R===w.length?c+=w:c+=w.slice(0,v),v-=R,v===0){R===w.length?(++D,T.next?this.head=T.next:this.head=this.tail=null):(this.head=T,T.data=w.slice(R));break}++D}return this.length-=D,c}},{key:"_getBuffer",value:function(v){var T=u.allocUnsafe(v),D=this.head,c=1;for(D.data.copy(T),v-=D.data.length;D=D.next;){var w=D.data,R=v>w.length?w.length:v;if(w.copy(T,T.length-v,0,R),v-=R,v===0){R===w.length?(++c,D.next?this.head=D.next:this.head=this.tail=null):(this.head=D,D.data=w.slice(R));break}++c}return this.length-=c,T}},{key:b,value:function(v,T){return g(this,e({},T,{depth:0,customInspect:!1}))}}]),p}(),Yt}function xa(t,e){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,B.nextTick(zt,this,t)):B.nextTick(zt,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted?B.nextTick(st,r):(r._writableState.errorEmitted=!0,B.nextTick(bi,r,s)):B.nextTick(bi,r,s):e?(B.nextTick(st,r),e(s)):B.nextTick(st,r)}),this)}function bi(t,e){zt(t,e),st(t)}function st(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function Ra(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function zt(t,e){t.emit("error",e)}function Ta(t,e){var r=t._readableState,i=t._writableState;r&&r.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}var mi={destroy:xa,undestroy:Ra,errorOrDestroy:Ta},we={};function Sa(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var vi={};function K(t,e,r){r||(r=Error);function i(s,a,u){return typeof e=="string"?e:e(s,a,u)}var n=function(s){Sa(a,s);function a(u,f,g){return s.call(this,i(u,f,g))||this}return a}(r);n.prototype.name=r.name,n.prototype.code=t,vi[t]=n}function Ei(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(i){return String(i)}),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:r===2?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}else return"of ".concat(e," ").concat(String(t))}function Ca(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function Aa(t,e,r){return(r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function Fa(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?!1:t.indexOf(e,r)!==-1}K("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),K("ERR_INVALID_ARG_TYPE",function(t,e,r){var i;typeof e=="string"&&Ca(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";var n;if(Aa(t," argument"))n="The ".concat(t," ").concat(i," ").concat(Ei(e,"type"));else{var s=Fa(t,".")?"property":"argument";n='The "'.concat(t,'" ').concat(s," ").concat(i," ").concat(Ei(e,"type"))}return n+=". Received type ".concat(typeof r),n},TypeError),K("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),K("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),K("ERR_STREAM_PREMATURE_CLOSE","Premature close"),K("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),K("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),K("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),K("ERR_STREAM_WRITE_AFTER_END","write after end"),K("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),K("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),K("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),we.codes=vi;var Da=we.codes.ERR_INVALID_OPT_VALUE;function Ma(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function Oa(t,e,r,i){var n=Ma(e,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var s=i?r:"highWaterMark";throw new Da(s,n)}return Math.floor(n)}return t.objectMode?16:16*1024}var xi={getHighWaterMark:Oa},ce={exports:{}};typeof Object.create=="function"?ce.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:ce.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}};var Pa=Na;function Na(t,e){if(qt("noDeprecation"))return t;var r=!1;function i(){if(!r){if(qt("throwDeprecation"))throw new Error(e);qt("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return i}function qt(t){try{if(!Ve.localStorage)return!1}catch{return!1}var e=Ve.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}var Gt,Ri;function Ti(){if(Ri)return Gt;Ri=1,Gt=P;function t(d){var h=this;this.next=null,this.entry=null,this.finish=function(){lr(h,d)}}var e;P.WritableState=j;var r={deprecate:Pa},i=zr,n=et.Buffer,s=Ve.Uint8Array||function(){};function a(d){return n.from(d)}function u(d){return n.isBuffer(d)||d instanceof s}var f=mi,g=xi,b=g.getHighWaterMark,_=we.codes,p=_.ERR_INVALID_ARG_TYPE,E=_.ERR_METHOD_NOT_IMPLEMENTED,v=_.ERR_MULTIPLE_CALLBACK,T=_.ERR_STREAM_CANNOT_PIPE,D=_.ERR_STREAM_DESTROYED,c=_.ERR_STREAM_NULL_VALUES,w=_.ERR_STREAM_WRITE_AFTER_END,R=_.ERR_UNKNOWN_ENCODING,A=f.errorOrDestroy;ce.exports(P,i);function O(){}function j(d,h,x){e=e||Re(),d=d||{},typeof x!="boolean"&&(x=h instanceof e),this.objectMode=!!d.objectMode,x&&(this.objectMode=this.objectMode||!!d.writableObjectMode),this.highWaterMark=b(this,d,"writableHighWaterMark",x),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var M=d.decodeStrings===!1;this.decodeStrings=!M,this.defaultEncoding=d.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(k){Q(h,k)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=d.emitClose!==!1,this.autoDestroy=!!d.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}j.prototype.getBuffer=function(){for(var h=this.bufferedRequest,x=[];h;)x.push(h),h=h.next;return x},function(){try{Object.defineProperty(j.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var q;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(q=Function.prototype[Symbol.hasInstance],Object.defineProperty(P,Symbol.hasInstance,{value:function(h){return q.call(this,h)?!0:this!==P?!1:h&&h._writableState instanceof j}})):q=function(h){return h instanceof this};function P(d){e=e||Re();var h=this instanceof e;if(!h&&!q.call(P,this))return new P(d);this._writableState=new j(d,this,h),this.writable=!0,d&&(typeof d.write=="function"&&(this._write=d.write),typeof d.writev=="function"&&(this._writev=d.writev),typeof d.destroy=="function"&&(this._destroy=d.destroy),typeof d.final=="function"&&(this._final=d.final)),i.call(this)}P.prototype.pipe=function(){A(this,new T)};function F(d,h){var x=new w;A(d,x),B.nextTick(h,x)}function L(d,h,x,M){var k;return x===null?k=new c:typeof x!="string"&&!h.objectMode&&(k=new p("chunk",["string","Buffer"],x)),k?(A(d,k),B.nextTick(M,k),!1):!0}P.prototype.write=function(d,h,x){var M=this._writableState,k=!1,o=!M.objectMode&&u(d);return o&&!n.isBuffer(d)&&(d=a(d)),typeof h=="function"&&(x=h,h=null),o?h="buffer":h||(h=M.defaultEncoding),typeof x!="function"&&(x=O),M.ending?F(this,x):(o||L(this,M,d,x))&&(M.pendingcb++,k=ne(this,M,o,d,h,x)),k},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){var d=this._writableState;d.corked&&(d.corked--,!d.writing&&!d.corked&&!d.bufferProcessing&&d.bufferedRequest&&ae(this,d))},P.prototype.setDefaultEncoding=function(h){if(typeof h=="string"&&(h=h.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((h+"").toLowerCase())>-1))throw new R(h);return this._writableState.defaultEncoding=h,this},Object.defineProperty(P.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function V(d,h,x){return!d.objectMode&&d.decodeStrings!==!1&&typeof h=="string"&&(h=n.from(h,x)),h}Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ne(d,h,x,M,k,o){if(!x){var l=V(h,M,k);M!==l&&(x=!0,k="buffer",M=l)}var m=h.objectMode?1:M.length;h.length+=m;var S=h.length<h.highWaterMark;if(S||(h.needDrain=!0),h.writing||h.corked){var U=h.lastBufferedRequest;h.lastBufferedRequest={chunk:M,encoding:k,isBuf:x,callback:o,next:null},U?U.next=h.lastBufferedRequest:h.bufferedRequest=h.lastBufferedRequest,h.bufferedRequestCount+=1}else J(d,h,!1,m,M,k,o);return S}function J(d,h,x,M,k,o,l){h.writelen=M,h.writecb=l,h.writing=!0,h.sync=!0,h.destroyed?h.onwrite(new D("write")):x?d._writev(k,h.onwrite):d._write(k,o,h.onwrite),h.sync=!1}function Y(d,h,x,M,k){--h.pendingcb,x?(B.nextTick(k,M),B.nextTick(me,d,h),d._writableState.errorEmitted=!0,A(d,M)):(k(M),d._writableState.errorEmitted=!0,A(d,M),me(d,h))}function X(d){d.writing=!1,d.writecb=null,d.length-=d.writelen,d.writelen=0}function Q(d,h){var x=d._writableState,M=x.sync,k=x.writecb;if(typeof k!="function")throw new v;if(X(x),h)Y(d,x,M,h,k);else{var o=gt(x)||d.destroyed;!o&&!x.corked&&!x.bufferProcessing&&x.bufferedRequest&&ae(d,x),M?B.nextTick(Z,d,x,o,k):Z(d,x,o,k)}}function Z(d,h,x,M){x||be(d,h),h.pendingcb--,M(),me(d,h)}function be(d,h){h.length===0&&h.needDrain&&(h.needDrain=!1,d.emit("drain"))}function ae(d,h){h.bufferProcessing=!0;var x=h.bufferedRequest;if(d._writev&&x&&x.next){var M=h.bufferedRequestCount,k=new Array(M),o=h.corkedRequestsFree;o.entry=x;for(var l=0,m=!0;x;)k[l]=x,x.isBuf||(m=!1),x=x.next,l+=1;k.allBuffers=m,J(d,h,!0,h.length,k,"",o.finish),h.pendingcb++,h.lastBufferedRequest=null,o.next?(h.corkedRequestsFree=o.next,o.next=null):h.corkedRequestsFree=new t(h),h.bufferedRequestCount=0}else{for(;x;){var S=x.chunk,U=x.encoding,N=x.callback,I=h.objectMode?1:S.length;if(J(d,h,!1,I,S,U,N),x=x.next,h.bufferedRequestCount--,h.writing)break}x===null&&(h.lastBufferedRequest=null)}h.bufferedRequest=x,h.bufferProcessing=!1}P.prototype._write=function(d,h,x){x(new E("_write()"))},P.prototype._writev=null,P.prototype.end=function(d,h,x){var M=this._writableState;return typeof d=="function"?(x=d,d=null,h=null):typeof h=="function"&&(x=h,h=null),d!=null&&this.write(d,h),M.corked&&(M.corked=1,this.uncork()),M.ending||or(this,M,x),this},Object.defineProperty(P.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function gt(d){return d.ending&&d.length===0&&d.bufferedRequest===null&&!d.finished&&!d.writing}function sr(d,h){d._final(function(x){h.pendingcb--,x&&A(d,x),h.prefinished=!0,d.emit("prefinish"),me(d,h)})}function _t(d,h){!h.prefinished&&!h.finalCalled&&(typeof d._final=="function"&&!h.destroyed?(h.pendingcb++,h.finalCalled=!0,B.nextTick(sr,d,h)):(h.prefinished=!0,d.emit("prefinish")))}function me(d,h){var x=gt(h);if(x&&(_t(d,h),h.pendingcb===0&&(h.finished=!0,d.emit("finish"),h.autoDestroy))){var M=d._readableState;(!M||M.autoDestroy&&M.endEmitted)&&d.destroy()}return x}function or(d,h,x){h.ending=!0,me(d,h),x&&(h.finished?B.nextTick(x):d.once("finish",x)),h.ended=!0,d.writable=!1}function lr(d,h,x){var M=d.entry;for(d.entry=null;M;){var k=M.callback;h.pendingcb--,k(x),M=M.next}h.corkedRequestsFree.next=d}return Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(h){!this._writableState||(this._writableState.destroyed=h)}}),P.prototype.destroy=f.destroy,P.prototype._undestroy=f.undestroy,P.prototype._destroy=function(d,h){h(d)},Gt}var $t,Si;function Re(){if(Si)return $t;Si=1;var t=Object.keys||function(g){var b=[];for(var _ in g)b.push(_);return b};$t=a;var e=ki(),r=Ti();ce.exports(a,e);for(var i=t(r.prototype),n=0;n<i.length;n++){var s=i[n];a.prototype[s]||(a.prototype[s]=r.prototype[s])}function a(g){if(!(this instanceof a))return new a(g);e.call(this,g),r.call(this,g),this.allowHalfOpen=!0,g&&(g.readable===!1&&(this.readable=!1),g.writable===!1&&(this.writable=!1),g.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",u)))}Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function u(){this._writableState.ended||B.nextTick(f,this)}function f(g){g.end()}return Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(b){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=b,this._writableState.destroyed=b)}}),$t}var Vt={},ot={exports:{}},Ci;function ka(){return Ci||(Ci=1,function(t,e){var r=et,i=r.Buffer;function n(a,u){for(var f in a)u[f]=a[f]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(n(r,e),e.Buffer=s);function s(a,u,f){return i(a,u,f)}n(i,s),s.from=function(a,u,f){if(typeof a=="number")throw new TypeError("Argument must not be a number");return i(a,u,f)},s.alloc=function(a,u,f){if(typeof a!="number")throw new TypeError("Argument must be a number");var g=i(a);return u!==void 0?typeof f=="string"?g.fill(u,f):g.fill(u):g.fill(0),g},s.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return i(a)},s.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(a)}}(ot,ot.exports)),ot.exports}var Ai;function Fi(){if(Ai)return Vt;Ai=1;var t=ka().Buffer,e=t.isEncoding||function(c){switch(c=""+c,c&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(c){if(!c)return"utf8";for(var w;;)switch(c){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return c;default:if(w)return;c=(""+c).toLowerCase(),w=!0}}function i(c){var w=r(c);if(typeof w!="string"&&(t.isEncoding===e||!e(c)))throw new Error("Unknown encoding: "+c);return w||c}Vt.StringDecoder=n;function n(c){this.encoding=i(c);var w;switch(this.encoding){case"utf16le":this.text=_,this.end=p,w=4;break;case"utf8":this.fillLast=f,w=4;break;case"base64":this.text=E,this.end=v,w=3;break;default:this.write=T,this.end=D;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(w)}n.prototype.write=function(c){if(c.length===0)return"";var w,R;if(this.lastNeed){if(w=this.fillLast(c),w===void 0)return"";R=this.lastNeed,this.lastNeed=0}else R=0;return R<c.length?w?w+this.text(c,R):this.text(c,R):w||""},n.prototype.end=b,n.prototype.text=g,n.prototype.fillLast=function(c){if(this.lastNeed<=c.length)return c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,c.length),this.lastNeed-=c.length};function s(c){return c<=127?0:c>>5===6?2:c>>4===14?3:c>>3===30?4:c>>6===2?-1:-2}function a(c,w,R){var A=w.length-1;if(A<R)return 0;var O=s(w[A]);return O>=0?(O>0&&(c.lastNeed=O-1),O):--A<R||O===-2?0:(O=s(w[A]),O>=0?(O>0&&(c.lastNeed=O-2),O):--A<R||O===-2?0:(O=s(w[A]),O>=0?(O>0&&(O===2?O=0:c.lastNeed=O-3),O):0))}function u(c,w,R){if((w[0]&192)!==128)return c.lastNeed=0,"\uFFFD";if(c.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return c.lastNeed=1,"\uFFFD";if(c.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return c.lastNeed=2,"\uFFFD"}}function f(c){var w=this.lastTotal-this.lastNeed,R=u(this,c);if(R!==void 0)return R;if(this.lastNeed<=c.length)return c.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,w,0,c.length),this.lastNeed-=c.length}function g(c,w){var R=a(this,c,w);if(!this.lastNeed)return c.toString("utf8",w);this.lastTotal=R;var A=c.length-(R-this.lastNeed);return c.copy(this.lastChar,0,A),c.toString("utf8",w,A)}function b(c){var w=c&&c.length?this.write(c):"";return this.lastNeed?w+"\uFFFD":w}function _(c,w){if((c.length-w)%2===0){var R=c.toString("utf16le",w);if(R){var A=R.charCodeAt(R.length-1);if(A>=55296&&A<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1],R.slice(0,-1)}return R}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=c[c.length-1],c.toString("utf16le",w,c.length-1)}function p(c){var w=c&&c.length?this.write(c):"";if(this.lastNeed){var R=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,R)}return w}function E(c,w){var R=(c.length-w)%3;return R===0?c.toString("base64",w):(this.lastNeed=3-R,this.lastTotal=3,R===1?this.lastChar[0]=c[c.length-1]:(this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1]),c.toString("base64",w,c.length-R))}function v(c){var w=c&&c.length?this.write(c):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}function T(c){return c.toString(this.encoding)}function D(c){return c&&c.length?this.write(c):""}return Vt}var Di=we.codes.ERR_STREAM_PREMATURE_CLOSE;function Ba(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];t.apply(this,i)}}}function Ia(){}function La(t){return t.setHeader&&typeof t.abort=="function"}function Mi(t,e,r){if(typeof e=="function")return Mi(t,null,e);e||(e={}),r=Ba(r||Ia);var i=e.readable||e.readable!==!1&&t.readable,n=e.writable||e.writable!==!1&&t.writable,s=function(){t.writable||u()},a=t._writableState&&t._writableState.finished,u=function(){n=!1,a=!0,i||r.call(t)},f=t._readableState&&t._readableState.endEmitted,g=function(){i=!1,f=!0,n||r.call(t)},b=function(v){r.call(t,v)},_=function(){var v;if(i&&!f)return(!t._readableState||!t._readableState.ended)&&(v=new Di),r.call(t,v);if(n&&!a)return(!t._writableState||!t._writableState.ended)&&(v=new Di),r.call(t,v)},p=function(){t.req.on("finish",u)};return La(t)?(t.on("complete",u),t.on("abort",_),t.req?p():t.on("request",p)):n&&!t._writableState&&(t.on("end",s),t.on("close",s)),t.on("end",g),t.on("finish",u),e.error!==!1&&t.on("error",b),t.on("close",_),function(){t.removeListener("complete",u),t.removeListener("abort",_),t.removeListener("request",p),t.req&&t.req.removeListener("finish",u),t.removeListener("end",s),t.removeListener("close",s),t.removeListener("finish",u),t.removeListener("end",g),t.removeListener("error",b),t.removeListener("close",_)}}var Ht=Mi,Kt,Oi;function Ua(){if(Oi)return Kt;Oi=1;var t;function e(c,w,R){return w in c?Object.defineProperty(c,w,{value:R,enumerable:!0,configurable:!0,writable:!0}):c[w]=R,c}var r=Ht,i=Symbol("lastResolve"),n=Symbol("lastReject"),s=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),f=Symbol("handlePromise"),g=Symbol("stream");function b(c,w){return{value:c,done:w}}function _(c){var w=c[i];if(w!==null){var R=c[g].read();R!==null&&(c[u]=null,c[i]=null,c[n]=null,w(b(R,!1)))}}function p(c){B.nextTick(_,c)}function E(c,w){return function(R,A){c.then(function(){if(w[a]){R(b(void 0,!0));return}w[f](R,A)},A)}}var v=Object.getPrototypeOf(function(){}),T=Object.setPrototypeOf((t={get stream(){return this[g]},next:function(){var w=this,R=this[s];if(R!==null)return Promise.reject(R);if(this[a])return Promise.resolve(b(void 0,!0));if(this[g].destroyed)return new Promise(function(q,P){B.nextTick(function(){w[s]?P(w[s]):q(b(void 0,!0))})});var A=this[u],O;if(A)O=new Promise(E(A,this));else{var j=this[g].read();if(j!==null)return Promise.resolve(b(j,!1));O=new Promise(this[f])}return this[u]=O,O}},e(t,Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var w=this;return new Promise(function(R,A){w[g].destroy(null,function(O){if(O){A(O);return}R(b(void 0,!0))})})}),t),v),D=function(w){var R,A=Object.create(T,(R={},e(R,g,{value:w,writable:!0}),e(R,i,{value:null,writable:!0}),e(R,n,{value:null,writable:!0}),e(R,s,{value:null,writable:!0}),e(R,a,{value:w._readableState.endEmitted,writable:!0}),e(R,f,{value:function(j,q){var P=A[g].read();P?(A[u]=null,A[i]=null,A[n]=null,j(b(P,!1))):(A[i]=j,A[n]=q)},writable:!0}),R));return A[u]=null,r(w,function(O){if(O&&O.code!=="ERR_STREAM_PREMATURE_CLOSE"){var j=A[n];j!==null&&(A[u]=null,A[i]=null,A[n]=null,j(O)),A[s]=O;return}var q=A[i];q!==null&&(A[u]=null,A[i]=null,A[n]=null,q(b(void 0,!0))),A[a]=!0}),w.on("readable",p.bind(null,A)),A};return Kt=D,Kt}var Jt,Pi;function Wa(){return Pi||(Pi=1,Jt=function(){throw new Error("Readable.from is not available in the browser")}),Jt}var Xt,Ni;function ki(){if(Ni)return Xt;Ni=1,Xt=F;var t;F.ReadableState=P,Yr.EventEmitter;var e=function(l,m){return l.listeners(m).length},r=zr,i=et.Buffer,n=Ve.Uint8Array||function(){};function s(o){return i.from(o)}function a(o){return i.isBuffer(o)||o instanceof n}var u=yi,f;u&&u.debuglog?f=u.debuglog("stream"):f=function(){};var g=Ea(),b=mi,_=xi,p=_.getHighWaterMark,E=we.codes,v=E.ERR_INVALID_ARG_TYPE,T=E.ERR_STREAM_PUSH_AFTER_EOF,D=E.ERR_METHOD_NOT_IMPLEMENTED,c=E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,w,R,A;ce.exports(F,r);var O=b.errorOrDestroy,j=["error","close","destroy","pause","resume"];function q(o,l,m){if(typeof o.prependListener=="function")return o.prependListener(l,m);!o._events||!o._events[l]?o.on(l,m):Array.isArray(o._events[l])?o._events[l].unshift(m):o._events[l]=[m,o._events[l]]}function P(o,l,m){t=t||Re(),o=o||{},typeof m!="boolean"&&(m=l instanceof t),this.objectMode=!!o.objectMode,m&&(this.objectMode=this.objectMode||!!o.readableObjectMode),this.highWaterMark=p(this,o,"readableHighWaterMark",m),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=o.emitClose!==!1,this.autoDestroy=!!o.autoDestroy,this.destroyed=!1,this.defaultEncoding=o.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,o.encoding&&(w||(w=Fi().StringDecoder),this.decoder=new w(o.encoding),this.encoding=o.encoding)}function F(o){if(t=t||Re(),!(this instanceof F))return new F(o);var l=this instanceof t;this._readableState=new P(o,this,l),this.readable=!0,o&&(typeof o.read=="function"&&(this._read=o.read),typeof o.destroy=="function"&&(this._destroy=o.destroy)),r.call(this)}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(l){!this._readableState||(this._readableState.destroyed=l)}}),F.prototype.destroy=b.destroy,F.prototype._undestroy=b.undestroy,F.prototype._destroy=function(o,l){l(o)},F.prototype.push=function(o,l){var m=this._readableState,S;return m.objectMode?S=!0:typeof o=="string"&&(l=l||m.defaultEncoding,l!==m.encoding&&(o=i.from(o,l),l=""),S=!0),L(this,o,l,!1,S)},F.prototype.unshift=function(o){return L(this,o,null,!0,!1)};function L(o,l,m,S,U){f("readableAddChunk",l);var N=o._readableState;if(l===null)N.reading=!1,Q(o,N);else{var I;if(U||(I=ne(N,l)),I)O(o,I);else if(N.objectMode||l&&l.length>0)if(typeof l!="string"&&!N.objectMode&&Object.getPrototypeOf(l)!==i.prototype&&(l=s(l)),S)N.endEmitted?O(o,new c):V(o,N,l,!0);else if(N.ended)O(o,new T);else{if(N.destroyed)return!1;N.reading=!1,N.decoder&&!m?(l=N.decoder.write(l),N.objectMode||l.length!==0?V(o,N,l,!1):ae(o,N)):V(o,N,l,!1)}else S||(N.reading=!1,ae(o,N))}return!N.ended&&(N.length<N.highWaterMark||N.length===0)}function V(o,l,m,S){l.flowing&&l.length===0&&!l.sync?(l.awaitDrain=0,o.emit("data",m)):(l.length+=l.objectMode?1:m.length,S?l.buffer.unshift(m):l.buffer.push(m),l.needReadable&&Z(o)),ae(o,l)}function ne(o,l){var m;return!a(l)&&typeof l!="string"&&l!==void 0&&!o.objectMode&&(m=new v("chunk",["string","Buffer","Uint8Array"],l)),m}F.prototype.isPaused=function(){return this._readableState.flowing===!1},F.prototype.setEncoding=function(o){w||(w=Fi().StringDecoder);var l=new w(o);this._readableState.decoder=l,this._readableState.encoding=this._readableState.decoder.encoding;for(var m=this._readableState.buffer.head,S="";m!==null;)S+=l.write(m.data),m=m.next;return this._readableState.buffer.clear(),S!==""&&this._readableState.buffer.push(S),this._readableState.length=S.length,this};var J=1073741824;function Y(o){return o>=J?o=J:(o--,o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,o|=o>>>16,o++),o}function X(o,l){return o<=0||l.length===0&&l.ended?0:l.objectMode?1:o!==o?l.flowing&&l.length?l.buffer.head.data.length:l.length:(o>l.highWaterMark&&(l.highWaterMark=Y(o)),o<=l.length?o:l.ended?l.length:(l.needReadable=!0,0))}F.prototype.read=function(o){f("read",o),o=parseInt(o,10);var l=this._readableState,m=o;if(o!==0&&(l.emittedReadable=!1),o===0&&l.needReadable&&((l.highWaterMark!==0?l.length>=l.highWaterMark:l.length>0)||l.ended))return f("read: emitReadable",l.length,l.ended),l.length===0&&l.ended?x(this):Z(this),null;if(o=X(o,l),o===0&&l.ended)return l.length===0&&x(this),null;var S=l.needReadable;f("need readable",S),(l.length===0||l.length-o<l.highWaterMark)&&(S=!0,f("length less than watermark",S)),l.ended||l.reading?(S=!1,f("reading or ended",S)):S&&(f("do read"),l.reading=!0,l.sync=!0,l.length===0&&(l.needReadable=!0),this._read(l.highWaterMark),l.sync=!1,l.reading||(o=X(m,l)));var U;return o>0?U=h(o,l):U=null,U===null?(l.needReadable=l.length<=l.highWaterMark,o=0):(l.length-=o,l.awaitDrain=0),l.length===0&&(l.ended||(l.needReadable=!0),m!==o&&l.ended&&x(this)),U!==null&&this.emit("data",U),U};function Q(o,l){if(f("onEofChunk"),!l.ended){if(l.decoder){var m=l.decoder.end();m&&m.length&&(l.buffer.push(m),l.length+=l.objectMode?1:m.length)}l.ended=!0,l.sync?Z(o):(l.needReadable=!1,l.emittedReadable||(l.emittedReadable=!0,be(o)))}}function Z(o){var l=o._readableState;f("emitReadable",l.needReadable,l.emittedReadable),l.needReadable=!1,l.emittedReadable||(f("emitReadable",l.flowing),l.emittedReadable=!0,B.nextTick(be,o))}function be(o){var l=o._readableState;f("emitReadable_",l.destroyed,l.length,l.ended),!l.destroyed&&(l.length||l.ended)&&(o.emit("readable"),l.emittedReadable=!1),l.needReadable=!l.flowing&&!l.ended&&l.length<=l.highWaterMark,d(o)}function ae(o,l){l.readingMore||(l.readingMore=!0,B.nextTick(gt,o,l))}function gt(o,l){for(;!l.reading&&!l.ended&&(l.length<l.highWaterMark||l.flowing&&l.length===0);){var m=l.length;if(f("maybeReadMore read 0"),o.read(0),m===l.length)break}l.readingMore=!1}F.prototype._read=function(o){O(this,new D("_read()"))},F.prototype.pipe=function(o,l){var m=this,S=this._readableState;switch(S.pipesCount){case 0:S.pipes=o;break;case 1:S.pipes=[S.pipes,o];break;default:S.pipes.push(o);break}S.pipesCount+=1,f("pipe count=%d opts=%j",S.pipesCount,l);var U=(!l||l.end!==!1)&&o!==B.stdout&&o!==B.stderr,N=U?Se:Ue;S.endEmitted?B.nextTick(N):m.once("end",N),o.on("unpipe",I);function I(Ce,Ae){f("onunpipe"),Ce===m&&Ae&&Ae.hasUnpiped===!1&&(Ae.hasUnpiped=!0,Ss())}function Se(){f("onend"),o.end()}var pt=sr(m);o.on("drain",pt);var Xi=!1;function Ss(){f("cleanup"),o.removeListener("close",fr),o.removeListener("finish",cr),o.removeListener("drain",pt),o.removeListener("error",ur),o.removeListener("unpipe",I),m.removeListener("end",Se),m.removeListener("end",Ue),m.removeListener("data",Qi),Xi=!0,S.awaitDrain&&(!o._writableState||o._writableState.needDrain)&&pt()}m.on("data",Qi);function Qi(Ce){f("ondata");var Ae=o.write(Ce);f("dest.write",Ae),Ae===!1&&((S.pipesCount===1&&S.pipes===o||S.pipesCount>1&&k(S.pipes,o)!==-1)&&!Xi&&(f("false write response, pause",S.awaitDrain),S.awaitDrain++),m.pause())}function ur(Ce){f("onerror",Ce),Ue(),o.removeListener("error",ur),e(o,"error")===0&&O(o,Ce)}q(o,"error",ur);function fr(){o.removeListener("finish",cr),Ue()}o.once("close",fr);function cr(){f("onfinish"),o.removeListener("close",fr),Ue()}o.once("finish",cr);function Ue(){f("unpipe"),m.unpipe(o)}return o.emit("pipe",m),S.flowing||(f("pipe resume"),m.resume()),o};function sr(o){return function(){var m=o._readableState;f("pipeOnDrain",m.awaitDrain),m.awaitDrain&&m.awaitDrain--,m.awaitDrain===0&&e(o,"data")&&(m.flowing=!0,d(o))}}F.prototype.unpipe=function(o){var l=this._readableState,m={hasUnpiped:!1};if(l.pipesCount===0)return this;if(l.pipesCount===1)return o&&o!==l.pipes?this:(o||(o=l.pipes),l.pipes=null,l.pipesCount=0,l.flowing=!1,o&&o.emit("unpipe",this,m),this);if(!o){var S=l.pipes,U=l.pipesCount;l.pipes=null,l.pipesCount=0,l.flowing=!1;for(var N=0;N<U;N++)S[N].emit("unpipe",this,{hasUnpiped:!1});return this}var I=k(l.pipes,o);return I===-1?this:(l.pipes.splice(I,1),l.pipesCount-=1,l.pipesCount===1&&(l.pipes=l.pipes[0]),o.emit("unpipe",this,m),this)},F.prototype.on=function(o,l){var m=r.prototype.on.call(this,o,l),S=this._readableState;return o==="data"?(S.readableListening=this.listenerCount("readable")>0,S.flowing!==!1&&this.resume()):o==="readable"&&!S.endEmitted&&!S.readableListening&&(S.readableListening=S.needReadable=!0,S.flowing=!1,S.emittedReadable=!1,f("on readable",S.length,S.reading),S.length?Z(this):S.reading||B.nextTick(me,this)),m},F.prototype.addListener=F.prototype.on,F.prototype.removeListener=function(o,l){var m=r.prototype.removeListener.call(this,o,l);return o==="readable"&&B.nextTick(_t,this),m},F.prototype.removeAllListeners=function(o){var l=r.prototype.removeAllListeners.apply(this,arguments);return(o==="readable"||o===void 0)&&B.nextTick(_t,this),l};function _t(o){var l=o._readableState;l.readableListening=o.listenerCount("readable")>0,l.resumeScheduled&&!l.paused?l.flowing=!0:o.listenerCount("data")>0&&o.resume()}function me(o){f("readable nexttick read 0"),o.read(0)}F.prototype.resume=function(){var o=this._readableState;return o.flowing||(f("resume"),o.flowing=!o.readableListening,or(this,o)),o.paused=!1,this};function or(o,l){l.resumeScheduled||(l.resumeScheduled=!0,B.nextTick(lr,o,l))}function lr(o,l){f("resume",l.reading),l.reading||o.read(0),l.resumeScheduled=!1,o.emit("resume"),d(o),l.flowing&&!l.reading&&o.read(0)}F.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function d(o){var l=o._readableState;for(f("flow",l.flowing);l.flowing&&o.read()!==null;);}F.prototype.wrap=function(o){var l=this,m=this._readableState,S=!1;o.on("end",function(){if(f("wrapped end"),m.decoder&&!m.ended){var I=m.decoder.end();I&&I.length&&l.push(I)}l.push(null)}),o.on("data",function(I){if(f("wrapped data"),m.decoder&&(I=m.decoder.write(I)),!(m.objectMode&&I==null)&&!(!m.objectMode&&(!I||!I.length))){var Se=l.push(I);Se||(S=!0,o.pause())}});for(var U in o)this[U]===void 0&&typeof o[U]=="function"&&(this[U]=function(Se){return function(){return o[Se].apply(o,arguments)}}(U));for(var N=0;N<j.length;N++)o.on(j[N],this.emit.bind(this,j[N]));return this._read=function(I){f("wrapped _read",I),S&&(S=!1,o.resume())},this},typeof Symbol=="function"&&(F.prototype[Symbol.asyncIterator]=function(){return R===void 0&&(R=Ua()),R(this)}),Object.defineProperty(F.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(F.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(F.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(l){this._readableState&&(this._readableState.flowing=l)}}),F._fromList=h,Object.defineProperty(F.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function h(o,l){if(l.length===0)return null;var m;return l.objectMode?m=l.buffer.shift():!o||o>=l.length?(l.decoder?m=l.buffer.join(""):l.buffer.length===1?m=l.buffer.first():m=l.buffer.concat(l.length),l.buffer.clear()):m=l.buffer.consume(o,l.decoder),m}function x(o){var l=o._readableState;f("endReadable",l.endEmitted),l.endEmitted||(l.ended=!0,B.nextTick(M,l,o))}function M(o,l){if(f("endReadableNT",o.endEmitted,o.length),!o.endEmitted&&o.length===0&&(o.endEmitted=!0,l.readable=!1,l.emit("end"),o.autoDestroy)){var m=l._writableState;(!m||m.autoDestroy&&m.finished)&&l.destroy()}}typeof Symbol=="function"&&(F.from=function(o,l){return A===void 0&&(A=Wa()),A(F,o,l)});function k(o,l){for(var m=0,S=o.length;m<S;m++)if(o[m]===l)return m;return-1}return Xt}var Bi=le,lt=we.codes,ja=lt.ERR_METHOD_NOT_IMPLEMENTED,Ya=lt.ERR_MULTIPLE_CALLBACK,za=lt.ERR_TRANSFORM_ALREADY_TRANSFORMING,qa=lt.ERR_TRANSFORM_WITH_LENGTH_0,ut=Re();ce.exports(le,ut);function Ga(t,e){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new Ya);r.writechunk=null,r.writecb=null,e!=null&&this.push(e),i(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function le(t){if(!(this instanceof le))return new le(t);ut.call(this,t),this._transformState={afterTransform:Ga.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",$a)}function $a(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,r){Ii(t,e,r)}):Ii(this,null,null)}le.prototype.push=function(t,e){return this._transformState.needTransform=!1,ut.prototype.push.call(this,t,e)},le.prototype._transform=function(t,e,r){r(new ja("_transform()"))},le.prototype._write=function(t,e,r){var i=this._transformState;if(i.writecb=r,i.writechunk=t,i.writeencoding=e,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}},le.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},le.prototype._destroy=function(t,e){ut.prototype._destroy.call(this,t,function(r){e(r)})};function Ii(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new qa;if(t._transformState.transforming)throw new za;return t.push(null)}var Va=Le,Li=Bi;ce.exports(Le,Li);function Le(t){if(!(this instanceof Le))return new Le(t);Li.call(this,t)}Le.prototype._transform=function(t,e,r){r(null,t)};var Qt;function Ha(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var Ui=we.codes,Ka=Ui.ERR_MISSING_ARGS,Ja=Ui.ERR_STREAM_DESTROYED;function Wi(t){if(t)throw t}function Xa(t){return t.setHeader&&typeof t.abort=="function"}function Qa(t,e,r,i){i=Ha(i);var n=!1;t.on("close",function(){n=!0}),Qt===void 0&&(Qt=Ht),Qt(t,{readable:e,writable:r},function(a){if(a)return i(a);n=!0,i()});var s=!1;return function(a){if(!n&&!s){if(s=!0,Xa(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();i(a||new Ja("pipe"))}}}function ji(t){t()}function Za(t,e){return t.pipe(e)}function es(t){return!t.length||typeof t[t.length-1]!="function"?Wi:t.pop()}function ts(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=es(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new Ka("streams");var n,s=e.map(function(a,u){var f=u<e.length-1,g=u>0;return Qa(a,f,g,function(b){n||(n=b),b&&s.forEach(ji),!f&&(s.forEach(ji),i(n))})});return e.reduce(Za)}var rs=ts;(function(t,e){e=t.exports=ki(),e.Stream=e,e.Readable=e,e.Writable=Ti(),e.Duplex=Re(),e.Transform=Bi,e.PassThrough=Va,e.finished=Ht,e.pipeline=rs})(Ct,Ct.exports);var Yi=Ct.exports.Transform,zi=ce.exports;function Te(t){Yi.call(this,t),this._destroyed=!1}zi(Te,Yi),Te.prototype.destroy=function(t){if(!this._destroyed){this._destroyed=!0;var e=this;B.nextTick(function(){t&&e.emit("error",t),e.emit("close")})}};function is(t,e,r){r(null,t)}function Zt(t){return function(e,r,i){return typeof e=="function"&&(i=r,r=e,e={}),typeof r!="function"&&(r=is),typeof i!="function"&&(i=null),t(e,r,i)}}St.exports=Zt(function(t,e,r){var i=new Te(t);return i._transform=e,r&&(i._flush=r),i}),St.exports.ctor=Zt(function(t,e,r){function i(n){if(!(this instanceof i))return new i(n);this.options=Object.assign({},t,n),Te.call(this,this.options)}return zi(i,Te),i.prototype._transform=e,r&&(i.prototype._flush=r),i}),St.exports.obj=Zt(function(t,e,r){var i=new Te(Object.assign({objectMode:!0,highWaterMark:16},t));return i._transform=e,r&&(i._flush=r),i});class ns{constructor(e,r=4){this._string=null,this._type="form",this._readOnly=!1,this._context={},this._onChangeFields={},this._fields=e,this._container=new Me(r)}get fields(){return this._fields}get container(){return this._container}get string(){return this._string}get type(){return this._type}get readOnly(){return this._readOnly}set readOnly(e){this._readOnly=e}get context(){return this._context}set context(e){this._context=e}get onChangeFields(){return this._onChangeFields}set onChangeFields(e){this._onChangeFields=e}parse(e,r){var i;const{values:n={},readOnly:s=!1}=r||{},a=Ge(e).filter(u=>u.tagName==="form")[0];this._string=((i=a.attributes)==null?void 0:i.string)||null,this._string&&(this._string=$(this._string)),this._readOnly=s,this._context=n.id?{active_id:n.id,active_ids:[n.id]}:{},this.parseNode({fields:a.children,container:this._container,values:n})}parseNode({fields:e,container:r,values:i}){const n=new Rt;e.forEach(s=>{var a;const{tagName:u,attributes:f,children:g}=s;let b=u,_=f;if(u==="field"){const{name:c,widget:w}=f;if(w)b=w;else if(c){if(!this._fields[c])throw new Error(`Field ${c} doesn't exist in fields defintion`);b=this._fields[c].type}_={...this._fields[c],...f,fieldsWidgetType:this._fields[c].type}}const p=rn({tagAttributes:_,values:i,fields:this._fields});let E;u==="button"&&_.states?E=sn({states:_.states,values:i}):E=an({fieldName:_.name,values:i,fields:this._fields});const v=Nr({context:_.context||((a=this._fields[_.name])==null?void 0:a.context),values:i,fields:this._fields});_.on_change&&(this._onChangeFields[_.name]=ln(_.on_change));let T;_.domain&&_.domain!==""&&_.domain!=="[]"&&(T=_.domain),this._fields[_.name]&&this._fields[_.name].domain&&this._fields[_.name].domain!==""&&this._fields[_.name].domain!=="[]"&&(T=this._fields[_.name].domain);const D=n.createWidget(b,{...p,...E,context:v,domain:T});D instanceof de&&this.parseNode({fields:g,container:D.container,values:i}),D.readOnly=D.readOnly||this.readOnly,r.addWidget(D)})}findById(e){return this.container.findById(e)}}class as{constructor(e){this._columns=[],this._string=null,this._type="tree",this._colors=null,this._editable=null,this._fields=e}get fields(){return this._fields}get columns(){return this._columns}get string(){return this._string}get type(){return this._type}get colors(){return this._colors}get editable(){return this._editable}parse(e){const r=Ge(e).filter(n=>n.tagName==="tree")[0];this._string=r.attributes.string||null,this._string&&(this._string=$(this._string)),this._colors=r.attributes.colors||null,this._colors&&(this._colors=$(this._colors)),this._editable=r.attributes.editable||null;const i=new Rt;r.children.forEach(n=>{const{tagName:s,attributes:a}=n;let u=null;if(s==="field"){const{name:f,widget:g}=a;let b=a;if(f){if(!this._fields[f])throw new Error(`Field ${f} doesn't exist in fields defintion`);const _=this._fields[f];u=_.type,(Array.isArray(_==null?void 0:_.domain)&&(_==null?void 0:_.domain.length)===0||(_==null?void 0:_.domain)===!1)&&a.domain&&a.domain.length>0&&delete _.domain,b={..._,...a,fieldsWidgetType:_==null?void 0:_.type}}if(g&&(u=g),!b.invisible){const _=i.createWidget(u,b);this._columns.push(_)}}})}findById(e){return this._columns.find(r=>{if(r.findById)return r.findById(e)})}}class ss{get searchFields(){return this._searchFields}get fields(){return this._fields}get simpleSearchContainer(){return this._simpleSearchContainer}get advancedSearchContainer(){return this._advancedSearchContainer}constructor(e,r,i=8){this._searchFields=e,this._fields=r,this._simpleSearchContainer=new Me(i),this._advancedSearchContainer=new Me(i)}parse(){const e=new Rt;this.parseFields(this.searchFields.primary,e).forEach(n=>{this.simpleSearchContainer.addWidget(n,{addLabel:!1}),this.advancedSearchContainer.addWidget(n,{addLabel:!1})}),this.parseFields(this.searchFields.secondary,e).forEach(n=>{this.advancedSearchContainer.addWidget(n,{addLabel:!1})})}parseFields(e,r){return e.map(i=>{const n={...this.fields[i],name:i,colspan:2},{type:s}=n;return r.createWidget(s,n)})}findById(e){return this.advancedSearchContainer.findById(e)}}const os=({domain:t,widgetFieldName:e})=>{const r=[];return t.forEach(i=>{if(!Array.isArray(i))return;const[n,s,a]=i;let u,f;n.indexOf(".")!==-1?(u=n.substr(0,n.indexOf(".")),f=n.substr(n.indexOf(".")+1,n.length-1)):(u=n,f="id"),u===e&&r.push([f,s,a])}),r};class qi{constructor(e){this._action_id=null,this._position=null,e.action_id&&(this._action_id=e.action_id),e.position&&(this._position=e.position)}get action_id(){return this._action_id}get position(){return this._position}}class ls{constructor(e){this._string=null,this._items=[];const r=Ge(e).filter(n=>n.tagName==="dashboard")[0];this._string=r.attributes.string||null;const{children:i}=r;i.forEach(n=>{n.tagName==="dashboard_item"&&this._items.push(new qi(n.attributes))})}get string(){return this._string}get items(){return this._items}}class er{constructor(e){this._string=null,this._timerange=null,this._string=e.attributes.string||null,this._timerange=e.attributes.timerange||null}get string(){return this._string}get type(){return this._type}get timerange(){return this._timerange}}const us=t=>t===1||t==="1"||t===!0||t==="True";class tr extends er{constructor(e,r){super(r),this._color=null,this._icon=null,this._totalDomain=null,this._showPercent=!1,this._suffix=null,this._type=e,this._color=r.attributes.color||null,this._color&&(this._color=$(this._color)),this._icon=r.attributes.icon||null,this._icon&&(this._icon=$(this._icon)),this._suffix=r.attributes.suffix||null,this._totalDomain=r.attributes.totalDomain||null,this._showPercent=us(r.attributes.showPercent)}get color(){return this._color}get icon(){return this._icon}get totalDomain(){return this._totalDomain}get showPercent(){return this._showPercent}get suffix(){return this._suffix}}class Gi extends tr{constructor(e,r){super(e,r);const{children:i}=r;i.forEach(n=>{if(n.tagName==="field"){const s=n.attributes.name,a=n.attributes.operator;this._field=s||void 0,this._operator=a}})}get field(){return this._field}get operator(){return this._operator}}const fs=t=>{const e=[];let r;if(t.forEach(i=>{if(i.tagName==="field"){const n=i.attributes.axis,s=i.attributes.operator,a=i.attributes.name,u=i.attributes.label||void 0,f=i.attributes.stacked||void 0;if(!n)throw new Error(`Field ${a} doesn't have an axis`);if(!a)throw new Error("Missing name attribute for field");n==="x"?r=new Vi({name:a}):n==="y"&&e.push(new $i({name:a,operator:s,label:u,stacked:f}))}}),!r)throw new Error("No x axis found");if(!e.length)throw new Error("No y axis found. At least we need one y axis");return{x:r,y:e}};class ft extends er{constructor(e,r){super(r),this._type=e;const i=fs(r.children);this._x=i.x,this._y=i.y}get x(){return this._x}get y(){return this._y}}const cs={indicator:tr,indicatorField:Gi,line:ft,bar:ft,pie:ft},hs=t=>{const e=Ge(t).filter(n=>n.tagName==="graph")[0],r=e.attributes.type;if(!r)throw new Error(`${r} is not a valid graph`);const i=cs[r];if(!i)throw new Error(`${r} not found as a GraphModel`);return new i(r,e)};class rr{get name(){return this._name}get axis(){return this._axis}constructor({name:e,axis:r}){this._name=e,this._axis=r}}class $i extends rr{constructor({name:e,operator:r,label:i,stacked:n}){super({name:e,axis:"y"}),this._operator=r,this._label=i,this._stacked=n}get operator(){return this._operator}get label(){return this._label}get stacked(){return this._stacked}}class Vi extends rr{constructor({name:e}){super({name:e,axis:"x"})}}const ds=({ooui:t})=>{const r=[t.x.name];return t.y?(t.y.forEach(i=>{i.operator!=="count"&&!r.includes(i.name)&&r.push(i.name),i.label&&!r.includes(i.label)&&r.push(i.label)}),r):[]};function ir({fields:t,values:e,fieldName:r}){const i=t[r],n=e[r];if(!i)throw new Error(`Field ${r} not found`);if(i.type==="many2one")return n?{value:n[0],label:n[1]}:{value:!1,label:void 0};if(i.type==="selection"){const a=i.selection.find(u=>u[0]===n);return a?{value:n,label:a[1]}:{value:!1,label:void 0}}return{value:n,label:n}}const gs=Object.freeze(Object.defineProperty({__proto__:null,getFieldsToRetrieve:ds,getValueAndLabelForField:ir},Symbol.toStringTag,{value:"Module"}));function _s({values:t,timerange:e}){const r=ws({values:t,timerange:e});return ps({values:r,timerange:e})}function ps({values:t,timerange:e}){let r=[];const i=Ki({values:t,groupBy:"type-stacked"}),n=`${e}s`;return Object.keys(i).forEach(a=>{const u=i[a];for(let f=0;f<u.length;f++){const g=u[f];if(r.push(g),f===u.length-1)return;const b=g.x,_=u[f+1].x;if(!Hi([b,_],n)){const p=ys({dates:[b,_],timerange:e});r=r.concat(p.map(E=>({x:E,value:0,type:g.type,stacked:g.stacked})))}}}),r.sort((a,u)=>a.x<u.x?-1:a.x>u.x?1:0)}function ys({dates:t,timerange:e}){const r=[],i=`${e}s`;if(t.length===1)return t;const n=t.sort((s,a)=>s<a?-1:s>a?1:0);for(let s=0;s<n.length-1;s++){const a=n[s],u=n[s+1];if(!Hi([a,u],i)){let f=De.default(a,ct(i)).add(1,i),g=De.default(u,ct(i));for(;f.isBefore(g);)r.push(f.format(ct(i))),f.add(1,i)}}return r}function ws({values:t,timerange:e}){const r=bs({values:t,timerange:e});let i=[];const n=Ki({values:r,groupBy:"all"});return Object.keys(n).forEach(s=>{const a=n[s],u=a[0].operator==="count"?"+":a[0].operator,f=ht({values:a.map(g=>g.value),operator:u});i.push({...a[0],value:f})}),i}function bs({values:t,timerange:e}){return t.map(r=>({...r,x:ms({date:r.x,timerange:e})}))}function ms({date:t,timerange:e}){let r=vs(t);const i=De.default(t,r);switch(e){case"hour":{r="YYYY-MM-DD HH:00";break}case"day":{r="YYYY-MM-DD";break}case"week":{r="YYYY-WW";break}case"month":{r="YYYY-MM";break}case"year":{r="YYYY";break}}return i.format(r)}function vs(t){return t.indexOf(":")?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}function Hi(t,e){let r=!1;const i=ct(e);if(t.length===0)return!1;if(t.length===1)return!0;for(let n=0;n<t.length-1;n++){const s=De.default(t[n],i),u=De.default(t[n+1],i).diff(s,e);Math.abs(u)===1?r=!0:r=!1}return r}function Ki({values:t,groupBy:e}){const r={};return t.forEach(i=>{const n=i.x,s=i.type,a=i.stacked,u=e==="all"?`${n}-${s}-${a}`:`${s}-${a}`;r[u]||(r[u]=[]),r[u].push(i)}),r}function ct(t){switch(t){default:case"hours":return"YYYY-MM-DD HH:mm";case"days":return"YYYY-MM-DD";case"weeks":return"YYYY-WW";case"months":return"YYYY-MM";case"years":return"YYYY"}}const Es={count:"count","+":"sum","-":"subtract","*":"multiply",avg:"average",min:"min",max:"max"},xs=({ooui:t,values:e,fields:r,options:i})=>{const n=ar({fieldName:t.x.name,values:e,fields:r}),s=[];t.y.forEach(p=>{Object.keys(n).forEach(E=>{const v=n[E].label,T=n[E].entries;if(p.label){const D=ar({fieldName:p.label,values:T,fields:r});Object.keys(D).forEach(c=>{const w=D[c].entries,R=D[c].label,A=nr({entries:w,fields:r,fieldName:p.name}),O=ht({values:A,operator:p.operator});s.push({x:v||!1,value:O,type:R,operator:p.operator,stacked:p.stacked})})}else{const D=nr({entries:T,fields:r,fieldName:p.name}),c=ht({values:D,operator:p.operator});s.push({x:v||!1,value:c,type:Ji({yAxis:p,fields:r}),operator:p.operator,stacked:p.stacked})}})});const a=t.y.some(p=>p.label!==void 0),u=t.y.some(p=>p.stacked!==void 0);let g=[...s.sort((p,E)=>p.x<E.x?-1:p.x>E.x?1:0)];u&&t.y.filter(p=>p.stacked!==void 0).length>1&&(g=g.map(p=>({...p,type:`${p.type} - ${p.stacked}`})));let b=[...g];t.type==="pie"&&b.some(p=>p.x===!1)?b=b.map(p=>p.x===!1?{...p,x:(i==null?void 0:i.uninformedString)||"Not informed"}:p):g.some(p=>p.x===!1)&&(b=b.filter(p=>p.x!==!1));let _=b;return t.timerange&&(_=_s({values:_,timerange:t.timerange})),{data:_,isGroup:u||a,isStack:u}};function nr({entries:t,fieldName:e,fields:r}){return t.map(i=>ir({fieldName:e,values:i,fields:r})).map(({value:i,label:n})=>n)}function ht({operator:t,values:e}){switch(t){case"count":return e.length;case"+":return dt(e.reduce(function(r,i){return r+i}));case"-":return dt(e.reduce(function(r,i){return r-i}));case"*":return dt(e.reduce(function(r,i){return r*i}));case"avg":{const i=e.reduce((n,s)=>n+s,0)/e.length||0;return dt(i)}case"min":return Math.min(...e);case"max":return Math.max(...e)}}function dt(t){return Math.round((t+Number.EPSILON)*100)/100}function ar({fieldName:t,fields:e,values:r}){const i={};return r.forEach(n=>{const{value:s,label:a}=ir({fields:e,values:n,fieldName:t});i[s]||(i[s]={label:a,entries:[]}),i[s].entries.push(n)}),i}function Rs(t){let e=[];return Object.keys(t).forEach(r=>{const i=t[r];e=e.concat(i.entries)}),e}function Ji({yAxis:t,fields:e}){const r=e[t.name];return r&&r.string?r.string:t.name}const Ts=Object.freeze(Object.defineProperty({__proto__:null,labelsForOperator:Es,processGraphData:xs,getValuesForYField:nr,getValueForOperator:ht,getValuesGroupedByField:ar,getAllObjectsInGroupedValues:Rs,getYAxisFieldname:Ji},Symbol.toStringTag,{value:"Module"}));C.Binary=Tr,C.Boolean=vt,C.Button=gr,C.ButtonGroup=_r,C.Char=ze,C.CodeEditor=Pr,C.Container=Me,C.ContainerWidget=de,C.Dashboard=ls,C.DashboardItem=qi,C.Date=mr,C.DateTime=vr,C.Field=W,C.Float=qe,C.FloatTime=wr,C.Form=ns,C.Graph=er,C.GraphAxis=rr,C.GraphChart=ft,C.GraphIndicator=tr,C.GraphIndicatorField=Gi,C.GraphXAxis=Vi,C.GraphYAxis=$i,C.Group=dr,C.Image=Sr,C.Indicator=Ar,C.Integer=yr,C.Label=wt,C.Many2many=Er,C.Many2one=pr,C.MultiCheckbox=xt,C.NewLine=yt,C.Notebook=bt,C.One2many=Et,C.Page=hr,C.ProgressBar=br,C.Radio=Dr,C.Reference=Rr,C.SearchFilter=ss,C.Selection=Oe,C.Separator=xr,C.Steps=Or,C.Switch=Mr,C.Tags=Fr,C.Text=mt,C.Timeline=Cr,C.Tree=as,C.Widget=he,C.graphFieldUtils=gs,C.graphProcessor=Ts,C.parseContext=Nr,C.parseGraph=hs,C.transformDomainForChildWidget=os,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
22
21
  //# sourceMappingURL=ooui.umd.js.map