@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/Tree.d.ts.map +1 -1
- package/dist/ooui.es.js +2333 -2476
- package/dist/ooui.es.js.map +1 -1
- package/dist/ooui.umd.js +10 -11
- package/dist/ooui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/Tree.ts +10 -9
- package/src/spec/Tree.spec.ts +77 -0
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:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":"\xA0"," ":"\xA0","¡":"\xA1","¡":"\xA1","¢":"\xA2","¢":"\xA2","£":"\xA3","£":"\xA3","¤":"\xA4","¤":"\xA4","¥":"\xA5","¥":"\xA5","¦":"\xA6","¦":"\xA6","§":"\xA7","§":"\xA7","¨":"\xA8","¨":"\xA8","©":"\xA9","©":"\xA9","ª":"\xAA","ª":"\xAA","«":"\xAB","«":"\xAB","¬":"\xAC","¬":"\xAC","­":"\xAD","­":"\xAD","®":"\xAE","®":"\xAE","¯":"\xAF","¯":"\xAF","°":"\xB0","°":"\xB0","±":"\xB1","±":"\xB1","²":"\xB2","²":"\xB2","³":"\xB3","³":"\xB3","´":"\xB4","´":"\xB4","µ":"\xB5","µ":"\xB5","¶":"\xB6","¶":"\xB6","·":"\xB7","·":"\xB7","¸":"\xB8","¸":"\xB8","¹":"\xB9","¹":"\xB9","º":"\xBA","º":"\xBA","»":"\xBB","»":"\xBB","¼":"\xBC","¼":"\xBC","½":"\xBD","½":"\xBD","¾":"\xBE","¾":"\xBE","¿":"\xBF","¿":"\xBF","À":"\xC0","À":"\xC0","Á":"\xC1","Á":"\xC1","Â":"\xC2","Â":"\xC2","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","Å":"\xC5","Å":"\xC5","Æ":"\xC6","Æ":"\xC6","Ç":"\xC7","Ç":"\xC7","È":"\xC8","È":"\xC8","É":"\xC9","É":"\xC9","Ê":"\xCA","Ê":"\xCA","Ë":"\xCB","Ë":"\xCB","Ì":"\xCC","Ì":"\xCC","Í":"\xCD","Í":"\xCD","Î":"\xCE","Î":"\xCE","Ï":"\xCF","Ï":"\xCF","Ð":"\xD0","Ð":"\xD0","Ñ":"\xD1","Ñ":"\xD1","Ò":"\xD2","Ò":"\xD2","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","Õ":"\xD5","Õ":"\xD5","Ö":"\xD6","Ö":"\xD6","×":"\xD7","×":"\xD7","Ø":"\xD8","Ø":"\xD8","Ù":"\xD9","Ù":"\xD9","Ú":"\xDA","Ú":"\xDA","Û":"\xDB","Û":"\xDB","Ü":"\xDC","Ü":"\xDC","Ý":"\xDD","Ý":"\xDD","Þ":"\xDE","Þ":"\xDE","ß":"\xDF","ß":"\xDF","à":"\xE0","à":"\xE0","á":"\xE1","á":"\xE1","â":"\xE2","â":"\xE2","ã":"\xE3","ã":"\xE3","ä":"\xE4","ä":"\xE4","å":"\xE5","å":"\xE5","æ":"\xE6","æ":"\xE6","ç":"\xE7","ç":"\xE7","è":"\xE8","è":"\xE8","é":"\xE9","é":"\xE9","ê":"\xEA","ê":"\xEA","ë":"\xEB","ë":"\xEB","ì":"\xEC","ì":"\xEC","í":"\xED","í":"\xED","î":"\xEE","î":"\xEE","ï":"\xEF","ï":"\xEF","ð":"\xF0","ð":"\xF0","ñ":"\xF1","ñ":"\xF1","ò":"\xF2","ò":"\xF2","ó":"\xF3","ó":"\xF3","ô":"\xF4","ô":"\xF4","õ":"\xF5","õ":"\xF5","ö":"\xF6","ö":"\xF6","÷":"\xF7","÷":"\xF7","ø":"\xF8","ø":"\xF8","ù":"\xF9","ù":"\xF9","ú":"\xFA","ú":"\xFA","û":"\xFB","û":"\xFB","ü":"\xFC","ü":"\xFC","ý":"\xFD","ý":"\xFD","þ":"\xFE","þ":"\xFE","ÿ":"\xFF","ÿ":"\xFF",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"\u0152","œ":"\u0153","Š":"\u0160","š":"\u0161","Ÿ":"\u0178","ˆ":"\u02C6","˜":"\u02DC"," ":"\u2002"," ":"\u2003"," ":"\u2009","‌":"\u200C","‍":"\u200D","‎":"\u200E","‏":"\u200F","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","‚":"\u201A","“":"\u201C","”":"\u201D","„":"\u201E","†":"\u2020","‡":"\u2021","‰":"\u2030","‹":"\u2039","›":"\u203A","€":"\u20AC","ƒ":"\u0192","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","ς":"\u03C2","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\u03C9","ϑ":"\u03D1","ϒ":"\u03D2","ϖ":"\u03D6","•":"\u2022","…":"\u2026","′":"\u2032","″":"\u2033","‾":"\u203E","⁄":"\u2044","℘":"\u2118","ℑ":"\u2111","ℜ":"\u211C","™":"\u2122","ℵ":"\u2135","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","∀":"\u2200","∂":"\u2202","∃":"\u2203","∅":"\u2205","∇":"\u2207","∈":"\u2208","∉":"\u2209","∋":"\u220B","∏":"\u220F","∑":"\u2211","−":"\u2212","∗":"\u2217","√":"\u221A","∝":"\u221D","∞":"\u221E","∠":"\u2220","∧":"\u2227","∨":"\u2228","∩":"\u2229","∪":"\u222A","∫":"\u222B","∴":"\u2234","∼":"\u223C","≅":"\u2245","≈":"\u2248","≠":"\u2260","≡":"\u2261","≤":"\u2264","≥":"\u2265","⊂":"\u2282","⊃":"\u2283","⊄":"\u2284","⊆":"\u2286","⊇":"\u2287","⊕":"\u2295","⊗":"\u2297","⊥":"\u22A5","⋅":"\u22C5","⌈":"\u2308","⌉":"\u2309","⌊":"\u230A","⌋":"\u230B","⟨":"\u2329","⟩":"\u232A","◊":"\u25CA","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666"},characters:{"'":"'","\xA0":" ","\xA1":"¡","\xA2":"¢","\xA3":"£","\xA4":"¤","\xA5":"¥","\xA6":"¦","\xA7":"§","\xA8":"¨","\xA9":"©",\u00AA:"ª","\xAB":"«","\xAC":"¬","\xAD":"­","\xAE":"®","\xAF":"¯","\xB0":"°","\xB1":"±","\xB2":"²","\xB3":"³","\xB4":"´",\u00B5:"µ","\xB6":"¶","\xB7":"·","\xB8":"¸","\xB9":"¹",\u00BA:"º","\xBB":"»","\xBC":"¼","\xBD":"½","\xBE":"¾","\xBF":"¿",\u00C0:"À",\u00C1:"Á",\u00C2:"Â",\u00C3:"Ã",\u00C4:"Ä",\u00C5:"Å",\u00C6:"Æ",\u00C7:"Ç",\u00C8:"È",\u00C9:"É",\u00CA:"Ê",\u00CB:"Ë",\u00CC:"Ì",\u00CD:"Í",\u00CE:"Î",\u00CF:"Ï",\u00D0:"Ð",\u00D1:"Ñ",\u00D2:"Ò",\u00D3:"Ó",\u00D4:"Ô",\u00D5:"Õ",\u00D6:"Ö","\xD7":"×",\u00D8:"Ø",\u00D9:"Ù",\u00DA:"Ú",\u00DB:"Û",\u00DC:"Ü",\u00DD:"Ý",\u00DE:"Þ",\u00DF:"ß",\u00E0:"à",\u00E1:"á",\u00E2:"â",\u00E3:"ã",\u00E4:"ä",\u00E5:"å",\u00E6:"æ",\u00E7:"ç",\u00E8:"è",\u00E9:"é",\u00EA:"ê",\u00EB:"ë",\u00EC:"ì",\u00ED:"í",\u00EE:"î",\u00EF:"ï",\u00F0:"ð",\u00F1:"ñ",\u00F2:"ò",\u00F3:"ó",\u00F4:"ô",\u00F5:"õ",\u00F6:"ö","\xF7":"÷",\u00F8:"ø",\u00F9:"ù",\u00FA:"ú",\u00FB:"û",\u00FC:"ü",\u00FD:"ý",\u00FE:"þ",\u00FF:"ÿ",'"':""","&":"&","<":"<",">":">",\u0152:"Œ",\u0153:"œ",\u0160:"Š",\u0161:"š",\u0178:"Ÿ","\u02C6":"ˆ","\u02DC":"˜","\u2002":" ","\u2003":" ","\u2009":" ","\u200C":"‌","\u200D":"‍","\u200E":"‎","\u200F":"‏","\u2013":"–","\u2014":"—","\u2018":"‘","\u2019":"’","\u201A":"‚","\u201C":"“","\u201D":"”","\u201E":"„","\u2020":"†","\u2021":"‡","\u2030":"‰","\u2039":"‹","\u203A":"›","\u20AC":"€",\u0192:"ƒ",\u0391:"Α",\u0392:"Β",\u0393:"Γ",\u0394:"Δ",\u0395:"Ε",\u0396:"Ζ",\u0397:"Η",\u0398:"Θ",\u0399:"Ι",\u039A:"Κ",\u039B:"Λ",\u039C:"Μ",\u039D:"Ν",\u039E:"Ξ",\u039F:"Ο",\u03A0:"Π",\u03A1:"Ρ",\u03A3:"Σ",\u03A4:"Τ",\u03A5:"Υ",\u03A6:"Φ",\u03A7:"Χ",\u03A8:"Ψ",\u03A9:"Ω",\u03B1:"α",\u03B2:"β",\u03B3:"γ",\u03B4:"δ",\u03B5:"ε",\u03B6:"ζ",\u03B7:"η",\u03B8:"θ",\u03B9:"ι",\u03BA:"κ",\u03BB:"λ",\u03BC:"μ",\u03BD:"ν",\u03BE:"ξ",\u03BF:"ο",\u03C0:"π",\u03C1:"ρ",\u03C2:"ς",\u03C3:"σ",\u03C4:"τ",\u03C5:"υ",\u03C6:"φ",\u03C7:"χ",\u03C8:"ψ",\u03C9:"ω",\u03D1:"ϑ",\u03D2:"ϒ",\u03D6:"ϖ","\u2022":"•","\u2026":"…","\u2032":"′","\u2033":"″","\u203E":"‾","\u2044":"⁄","\u2118":"℘",\u2111:"ℑ",\u211C:"ℜ","\u2122":"™",\u2135:"ℵ","\u2190":"←","\u2191":"↑","\u2192":"→","\u2193":"↓","\u2194":"↔","\u21B5":"↵","\u21D0":"⇐","\u21D1":"⇑","\u21D2":"⇒","\u21D3":"⇓","\u21D4":"⇔","\u2200":"∀","\u2202":"∂","\u2203":"∃","\u2205":"∅","\u2207":"∇","\u2208":"∈","\u2209":"∉","\u220B":"∋","\u220F":"∏","\u2211":"∑","\u2212":"−","\u2217":"∗","\u221A":"√","\u221D":"∝","\u221E":"∞","\u2220":"∠","\u2227":"∧","\u2228":"∨","\u2229":"∩","\u222A":"∪","\u222B":"∫","\u2234":"∴","\u223C":"∼","\u2245":"≅","\u2248":"≈","\u2260":"≠","\u2261":"≡","\u2264":"≤","\u2265":"≥","\u2282":"⊂","\u2283":"⊃","\u2284":"⊄","\u2286":"⊆","\u2287":"⊇","\u2295":"⊕","\u2297":"⊗","\u22A5":"⊥","\u22C5":"⋅","\u2308":"⌈","\u2309":"⌉","\u230A":"⌊","\u230B":"⌋","\u2329":"⟨","\u232A":"⟩","\u25CA":"◊","\u2660":"♠","\u2663":"♣","\u2665":"♥","\u2666":"♦"}},html5:{entities:{"Æ":"\xC6","Æ":"\xC6","&":"&","&":"&","Á":"\xC1","Á":"\xC1","Ă":"\u0102","Â":"\xC2","Â":"\xC2","А":"\u0410","𝔄":"\u{1D504}","À":"\xC0","À":"\xC0","Α":"\u0391","Ā":"\u0100","⩓":"\u2A53","Ą":"\u0104","𝔸":"\u{1D538}","⁡":"\u2061","Å":"\xC5","Å":"\xC5","𝒜":"\u{1D49C}","≔":"\u2254","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","∖":"\u2216","⫧":"\u2AE7","⌆":"\u2306","Б":"\u0411","∵":"\u2235","ℬ":"\u212C","Β":"\u0392","𝔅":"\u{1D505}","𝔹":"\u{1D539}","˘":"\u02D8","ℬ":"\u212C","≎":"\u224E","Ч":"\u0427","©":"\xA9","©":"\xA9","Ć":"\u0106","⋒":"\u22D2","ⅅ":"\u2145","ℭ":"\u212D","Č":"\u010C","Ç":"\xC7","Ç":"\xC7","Ĉ":"\u0108","∰":"\u2230","Ċ":"\u010A","¸":"\xB8","·":"\xB7","ℭ":"\u212D","Χ":"\u03A7","⊙":"\u2299","⊖":"\u2296","⊕":"\u2295","⊗":"\u2297","∲":"\u2232","”":"\u201D","’":"\u2019","∷":"\u2237","⩴":"\u2A74","≡":"\u2261","∯":"\u222F","∮":"\u222E","ℂ":"\u2102","∐":"\u2210","∳":"\u2233","⨯":"\u2A2F","𝒞":"\u{1D49E}","⋓":"\u22D3","≍":"\u224D","ⅅ":"\u2145","⤑":"\u2911","Ђ":"\u0402","Ѕ":"\u0405","Џ":"\u040F","‡":"\u2021","↡":"\u21A1","⫤":"\u2AE4","Ď":"\u010E","Д":"\u0414","∇":"\u2207","Δ":"\u0394","𝔇":"\u{1D507}","´":"\xB4","˙":"\u02D9","˝":"\u02DD","`":"`","˜":"\u02DC","⋄":"\u22C4","ⅆ":"\u2146","𝔻":"\u{1D53B}","¨":"\xA8","⃜":"\u20DC","≐":"\u2250","∯":"\u222F","¨":"\xA8","⇓":"\u21D3","⇐":"\u21D0","⇔":"\u21D4","⫤":"\u2AE4","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","⇒":"\u21D2","⊨":"\u22A8","⇑":"\u21D1","⇕":"\u21D5","∥":"\u2225","↓":"\u2193","⤓":"\u2913","⇵":"\u21F5","̑":"\u0311","⥐":"\u2950","⥞":"\u295E","↽":"\u21BD","⥖":"\u2956","⥟":"\u295F","⇁":"\u21C1","⥗":"\u2957","⊤":"\u22A4","↧":"\u21A7","⇓":"\u21D3","𝒟":"\u{1D49F}","Đ":"\u0110","Ŋ":"\u014A","Ð":"\xD0","Ð":"\xD0","É":"\xC9","É":"\xC9","Ě":"\u011A","Ê":"\xCA","Ê":"\xCA","Э":"\u042D","Ė":"\u0116","𝔈":"\u{1D508}","È":"\xC8","È":"\xC8","∈":"\u2208","Ē":"\u0112","◻":"\u25FB","▫":"\u25AB","Ę":"\u0118","𝔼":"\u{1D53C}","Ε":"\u0395","⩵":"\u2A75","≂":"\u2242","⇌":"\u21CC","ℰ":"\u2130","⩳":"\u2A73","Η":"\u0397","Ë":"\xCB","Ë":"\xCB","∃":"\u2203","ⅇ":"\u2147","Ф":"\u0424","𝔉":"\u{1D509}","◼":"\u25FC","▪":"\u25AA","𝔽":"\u{1D53D}","∀":"\u2200","ℱ":"\u2131","ℱ":"\u2131","Ѓ":"\u0403",">":">",">":">","Γ":"\u0393","Ϝ":"\u03DC","Ğ":"\u011E","Ģ":"\u0122","Ĝ":"\u011C","Г":"\u0413","Ġ":"\u0120","𝔊":"\u{1D50A}","⋙":"\u22D9","𝔾":"\u{1D53E}","≥":"\u2265","⋛":"\u22DB","≧":"\u2267","⪢":"\u2AA2","≷":"\u2277","⩾":"\u2A7E","≳":"\u2273","𝒢":"\u{1D4A2}","≫":"\u226B","Ъ":"\u042A","ˇ":"\u02C7","^":"^","Ĥ":"\u0124","ℌ":"\u210C","ℋ":"\u210B","ℍ":"\u210D","─":"\u2500","ℋ":"\u210B","Ħ":"\u0126","≎":"\u224E","≏":"\u224F","Е":"\u0415","IJ":"\u0132","Ё":"\u0401","Í":"\xCD","Í":"\xCD","Î":"\xCE","Î":"\xCE","И":"\u0418","İ":"\u0130","ℑ":"\u2111","Ì":"\xCC","Ì":"\xCC","ℑ":"\u2111","Ī":"\u012A","ⅈ":"\u2148","⇒":"\u21D2","∬":"\u222C","∫":"\u222B","⋂":"\u22C2","⁣":"\u2063","⁢":"\u2062","Į":"\u012E","𝕀":"\u{1D540}","Ι":"\u0399","ℐ":"\u2110","Ĩ":"\u0128","І":"\u0406","Ï":"\xCF","Ï":"\xCF","Ĵ":"\u0134","Й":"\u0419","𝔍":"\u{1D50D}","𝕁":"\u{1D541}","𝒥":"\u{1D4A5}","Ј":"\u0408","Є":"\u0404","Х":"\u0425","Ќ":"\u040C","Κ":"\u039A","Ķ":"\u0136","К":"\u041A","𝔎":"\u{1D50E}","𝕂":"\u{1D542}","𝒦":"\u{1D4A6}","Љ":"\u0409","<":"<","<":"<","Ĺ":"\u0139","Λ":"\u039B","⟪":"\u27EA","ℒ":"\u2112","↞":"\u219E","Ľ":"\u013D","Ļ":"\u013B","Л":"\u041B","⟨":"\u27E8","←":"\u2190","⇤":"\u21E4","⇆":"\u21C6","⌈":"\u2308","⟦":"\u27E6","⥡":"\u2961","⇃":"\u21C3","⥙":"\u2959","⌊":"\u230A","↔":"\u2194","⥎":"\u294E","⊣":"\u22A3","↤":"\u21A4","⥚":"\u295A","⊲":"\u22B2","⧏":"\u29CF","⊴":"\u22B4","⥑":"\u2951","⥠":"\u2960","↿":"\u21BF","⥘":"\u2958","↼":"\u21BC","⥒":"\u2952","⇐":"\u21D0","⇔":"\u21D4","⋚":"\u22DA","≦":"\u2266","≶":"\u2276","⪡":"\u2AA1","⩽":"\u2A7D","≲":"\u2272","𝔏":"\u{1D50F}","⋘":"\u22D8","⇚":"\u21DA","Ŀ":"\u013F","⟵":"\u27F5","⟷":"\u27F7","⟶":"\u27F6","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","𝕃":"\u{1D543}","↙":"\u2199","↘":"\u2198","ℒ":"\u2112","↰":"\u21B0","Ł":"\u0141","≪":"\u226A","⤅":"\u2905","М":"\u041C"," ":"\u205F","ℳ":"\u2133","𝔐":"\u{1D510}","∓":"\u2213","𝕄":"\u{1D544}","ℳ":"\u2133","Μ":"\u039C","Њ":"\u040A","Ń":"\u0143","Ň":"\u0147","Ņ":"\u0145","Н":"\u041D","​":"\u200B","​":"\u200B","​":"\u200B","​":"\u200B","≫":"\u226B","≪":"\u226A","
":`
|
|
2
|
-
`,"𝔑":"\u{1D511}","⁠":"\u2060"," ":"\xA0","ℕ":"\u2115","⫬":"\u2AEC","≢":"\u2262","≭":"\u226D","∦":"\u2226","∉":"\u2209","≠":"\u2260","≂̸":"\u2242\u0338","∄":"\u2204","≯":"\u226F","≱":"\u2271","≧̸":"\u2267\u0338","≫̸":"\u226B\u0338","≹":"\u2279","⩾̸":"\u2A7E\u0338","≵":"\u2275","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⋪":"\u22EA","⧏̸":"\u29CF\u0338","⋬":"\u22EC","≮":"\u226E","≰":"\u2270","≸":"\u2278","≪̸":"\u226A\u0338","⩽̸":"\u2A7D\u0338","≴":"\u2274","⪢̸":"\u2AA2\u0338","⪡̸":"\u2AA1\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⋠":"\u22E0","∌":"\u220C","⋫":"\u22EB","⧐̸":"\u29D0\u0338","⋭":"\u22ED","⊏̸":"\u228F\u0338","⋢":"\u22E2","⊐̸":"\u2290\u0338","⋣":"\u22E3","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⋡":"\u22E1","≿̸":"\u227F\u0338","⊃⃒":"\u2283\u20D2","⊉":"\u2289","≁":"\u2241","≄":"\u2244","≇":"\u2247","≉":"\u2249","∤":"\u2224","𝒩":"\u{1D4A9}","Ñ":"\xD1","Ñ":"\xD1","Ν":"\u039D","Œ":"\u0152","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","О":"\u041E","Ő":"\u0150","𝔒":"\u{1D512}","Ò":"\xD2","Ò":"\xD2","Ō":"\u014C","Ω":"\u03A9","Ο":"\u039F","𝕆":"\u{1D546}","“":"\u201C","‘":"\u2018","⩔":"\u2A54","𝒪":"\u{1D4AA}","Ø":"\xD8","Ø":"\xD8","Õ":"\xD5","Õ":"\xD5","⨷":"\u2A37","Ö":"\xD6","Ö":"\xD6","‾":"\u203E","⏞":"\u23DE","⎴":"\u23B4","⏜":"\u23DC","∂":"\u2202","П":"\u041F","𝔓":"\u{1D513}","Φ":"\u03A6","Π":"\u03A0","±":"\xB1","ℌ":"\u210C","ℙ":"\u2119","⪻":"\u2ABB","≺":"\u227A","⪯":"\u2AAF","≼":"\u227C","≾":"\u227E","″":"\u2033","∏":"\u220F","∷":"\u2237","∝":"\u221D","𝒫":"\u{1D4AB}","Ψ":"\u03A8",""":'"',""":'"',"𝔔":"\u{1D514}","ℚ":"\u211A","𝒬":"\u{1D4AC}","⤐":"\u2910","®":"\xAE","®":"\xAE","Ŕ":"\u0154","⟫":"\u27EB","↠":"\u21A0","⤖":"\u2916","Ř":"\u0158","Ŗ":"\u0156","Р":"\u0420","ℜ":"\u211C","∋":"\u220B","⇋":"\u21CB","⥯":"\u296F","ℜ":"\u211C","Ρ":"\u03A1","⟩":"\u27E9","→":"\u2192","⇥":"\u21E5","⇄":"\u21C4","⌉":"\u2309","⟧":"\u27E7","⥝":"\u295D","⇂":"\u21C2","⥕":"\u2955","⌋":"\u230B","⊢":"\u22A2","↦":"\u21A6","⥛":"\u295B","⊳":"\u22B3","⧐":"\u29D0","⊵":"\u22B5","⥏":"\u294F","⥜":"\u295C","↾":"\u21BE","⥔":"\u2954","⇀":"\u21C0","⥓":"\u2953","⇒":"\u21D2","ℝ":"\u211D","⥰":"\u2970","⇛":"\u21DB","ℛ":"\u211B","↱":"\u21B1","⧴":"\u29F4","Щ":"\u0429","Ш":"\u0428","Ь":"\u042C","Ś":"\u015A","⪼":"\u2ABC","Š":"\u0160","Ş":"\u015E","Ŝ":"\u015C","С":"\u0421","𝔖":"\u{1D516}","↓":"\u2193","←":"\u2190","→":"\u2192","↑":"\u2191","Σ":"\u03A3","∘":"\u2218","𝕊":"\u{1D54A}","√":"\u221A","□":"\u25A1","⊓":"\u2293","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊔":"\u2294","𝒮":"\u{1D4AE}","⋆":"\u22C6","⋐":"\u22D0","⋐":"\u22D0","⊆":"\u2286","≻":"\u227B","⪰":"\u2AB0","≽":"\u227D","≿":"\u227F","∋":"\u220B","∑":"\u2211","⋑":"\u22D1","⊃":"\u2283","⊇":"\u2287","⋑":"\u22D1","Þ":"\xDE","Þ":"\xDE","™":"\u2122","Ћ":"\u040B","Ц":"\u0426","	":" ","Τ":"\u03A4","Ť":"\u0164","Ţ":"\u0162","Т":"\u0422","𝔗":"\u{1D517}","∴":"\u2234","Θ":"\u0398","  ":"\u205F\u200A"," ":"\u2009","∼":"\u223C","≃":"\u2243","≅":"\u2245","≈":"\u2248","𝕋":"\u{1D54B}","⃛":"\u20DB","𝒯":"\u{1D4AF}","Ŧ":"\u0166","Ú":"\xDA","Ú":"\xDA","↟":"\u219F","⥉":"\u2949","Ў":"\u040E","Ŭ":"\u016C","Û":"\xDB","Û":"\xDB","У":"\u0423","Ű":"\u0170","𝔘":"\u{1D518}","Ù":"\xD9","Ù":"\xD9","Ū":"\u016A","_":"_","⏟":"\u23DF","⎵":"\u23B5","⏝":"\u23DD","⋃":"\u22C3","⊎":"\u228E","Ų":"\u0172","𝕌":"\u{1D54C}","↑":"\u2191","⤒":"\u2912","⇅":"\u21C5","↕":"\u2195","⥮":"\u296E","⊥":"\u22A5","↥":"\u21A5","⇑":"\u21D1","⇕":"\u21D5","↖":"\u2196","↗":"\u2197","ϒ":"\u03D2","Υ":"\u03A5","Ů":"\u016E","𝒰":"\u{1D4B0}","Ũ":"\u0168","Ü":"\xDC","Ü":"\xDC","⊫":"\u22AB","⫫":"\u2AEB","В":"\u0412","⊩":"\u22A9","⫦":"\u2AE6","⋁":"\u22C1","‖":"\u2016","‖":"\u2016","∣":"\u2223","|":"|","❘":"\u2758","≀":"\u2240"," ":"\u200A","𝔙":"\u{1D519}","𝕍":"\u{1D54D}","𝒱":"\u{1D4B1}","⊪":"\u22AA","Ŵ":"\u0174","⋀":"\u22C0","𝔚":"\u{1D51A}","𝕎":"\u{1D54E}","𝒲":"\u{1D4B2}","𝔛":"\u{1D51B}","Ξ":"\u039E","𝕏":"\u{1D54F}","𝒳":"\u{1D4B3}","Я":"\u042F","Ї":"\u0407","Ю":"\u042E","Ý":"\xDD","Ý":"\xDD","Ŷ":"\u0176","Ы":"\u042B","𝔜":"\u{1D51C}","𝕐":"\u{1D550}","𝒴":"\u{1D4B4}","Ÿ":"\u0178","Ж":"\u0416","Ź":"\u0179","Ž":"\u017D","З":"\u0417","Ż":"\u017B","​":"\u200B","Ζ":"\u0396","ℨ":"\u2128","ℤ":"\u2124","𝒵":"\u{1D4B5}","á":"\xE1","á":"\xE1","ă":"\u0103","∾":"\u223E","∾̳":"\u223E\u0333","∿":"\u223F","â":"\xE2","â":"\xE2","´":"\xB4","´":"\xB4","а":"\u0430","æ":"\xE6","æ":"\xE6","⁡":"\u2061","𝔞":"\u{1D51E}","à":"\xE0","à":"\xE0","ℵ":"\u2135","ℵ":"\u2135","α":"\u03B1","ā":"\u0101","⨿":"\u2A3F","&":"&","&":"&","∧":"\u2227","⩕":"\u2A55","⩜":"\u2A5C","⩘":"\u2A58","⩚":"\u2A5A","∠":"\u2220","⦤":"\u29A4","∠":"\u2220","∡":"\u2221","⦨":"\u29A8","⦩":"\u29A9","⦪":"\u29AA","⦫":"\u29AB","⦬":"\u29AC","⦭":"\u29AD","⦮":"\u29AE","⦯":"\u29AF","∟":"\u221F","⊾":"\u22BE","⦝":"\u299D","∢":"\u2222","Å":"\xC5","⍼":"\u237C","ą":"\u0105","𝕒":"\u{1D552}","≈":"\u2248","⩰":"\u2A70","⩯":"\u2A6F","≊":"\u224A","≋":"\u224B","'":"'","≈":"\u2248","≊":"\u224A","å":"\xE5","å":"\xE5","𝒶":"\u{1D4B6}","*":"*","≈":"\u2248","≍":"\u224D","ã":"\xE3","ã":"\xE3","ä":"\xE4","ä":"\xE4","∳":"\u2233","⨑":"\u2A11","⫭":"\u2AED","≌":"\u224C","϶":"\u03F6","‵":"\u2035","∽":"\u223D","⋍":"\u22CD","⊽":"\u22BD","⌅":"\u2305","⌅":"\u2305","⎵":"\u23B5","⎶":"\u23B6","≌":"\u224C","б":"\u0431","„":"\u201E","∵":"\u2235","∵":"\u2235","⦰":"\u29B0","϶":"\u03F6","ℬ":"\u212C","β":"\u03B2","ℶ":"\u2136","≬":"\u226C","𝔟":"\u{1D51F}","⋂":"\u22C2","◯":"\u25EF","⋃":"\u22C3","⨀":"\u2A00","⨁":"\u2A01","⨂":"\u2A02","⨆":"\u2A06","★":"\u2605","▽":"\u25BD","△":"\u25B3","⨄":"\u2A04","⋁":"\u22C1","⋀":"\u22C0","⤍":"\u290D","⧫":"\u29EB","▪":"\u25AA","▴":"\u25B4","▾":"\u25BE","◂":"\u25C2","▸":"\u25B8","␣":"\u2423","▒":"\u2592","░":"\u2591","▓":"\u2593","█":"\u2588","=⃥":"=\u20E5","≡⃥":"\u2261\u20E5","⌐":"\u2310","𝕓":"\u{1D553}","⊥":"\u22A5","⊥":"\u22A5","⋈":"\u22C8","╗":"\u2557","╔":"\u2554","╖":"\u2556","╓":"\u2553","═":"\u2550","╦":"\u2566","╩":"\u2569","╤":"\u2564","╧":"\u2567","╝":"\u255D","╚":"\u255A","╜":"\u255C","╙":"\u2559","║":"\u2551","╬":"\u256C","╣":"\u2563","╠":"\u2560","╫":"\u256B","╢":"\u2562","╟":"\u255F","⧉":"\u29C9","╕":"\u2555","╒":"\u2552","┐":"\u2510","┌":"\u250C","─":"\u2500","╥":"\u2565","╨":"\u2568","┬":"\u252C","┴":"\u2534","⊟":"\u229F","⊞":"\u229E","⊠":"\u22A0","╛":"\u255B","╘":"\u2558","┘":"\u2518","└":"\u2514","│":"\u2502","╪":"\u256A","╡":"\u2561","╞":"\u255E","┼":"\u253C","┤":"\u2524","├":"\u251C","‵":"\u2035","˘":"\u02D8","¦":"\xA6","¦":"\xA6","𝒷":"\u{1D4B7}","⁏":"\u204F","∽":"\u223D","⋍":"\u22CD","\":"\\","⧅":"\u29C5","⟈":"\u27C8","•":"\u2022","•":"\u2022","≎":"\u224E","⪮":"\u2AAE","≏":"\u224F","≏":"\u224F","ć":"\u0107","∩":"\u2229","⩄":"\u2A44","⩉":"\u2A49","⩋":"\u2A4B","⩇":"\u2A47","⩀":"\u2A40","∩︀":"\u2229\uFE00","⁁":"\u2041","ˇ":"\u02C7","⩍":"\u2A4D","č":"\u010D","ç":"\xE7","ç":"\xE7","ĉ":"\u0109","⩌":"\u2A4C","⩐":"\u2A50","ċ":"\u010B","¸":"\xB8","¸":"\xB8","⦲":"\u29B2","¢":"\xA2","¢":"\xA2","·":"\xB7","𝔠":"\u{1D520}","ч":"\u0447","✓":"\u2713","✓":"\u2713","χ":"\u03C7","○":"\u25CB","⧃":"\u29C3","ˆ":"\u02C6","≗":"\u2257","↺":"\u21BA","↻":"\u21BB","®":"\xAE","Ⓢ":"\u24C8","⊛":"\u229B","⊚":"\u229A","⊝":"\u229D","≗":"\u2257","⨐":"\u2A10","⫯":"\u2AEF","⧂":"\u29C2","♣":"\u2663","♣":"\u2663",":":":","≔":"\u2254","≔":"\u2254",",":",","@":"@","∁":"\u2201","∘":"\u2218","∁":"\u2201","ℂ":"\u2102","≅":"\u2245","⩭":"\u2A6D","∮":"\u222E","𝕔":"\u{1D554}","∐":"\u2210","©":"\xA9","©":"\xA9","℗":"\u2117","↵":"\u21B5","✗":"\u2717","𝒸":"\u{1D4B8}","⫏":"\u2ACF","⫑":"\u2AD1","⫐":"\u2AD0","⫒":"\u2AD2","⋯":"\u22EF","⤸":"\u2938","⤵":"\u2935","⋞":"\u22DE","⋟":"\u22DF","↶":"\u21B6","⤽":"\u293D","∪":"\u222A","⩈":"\u2A48","⩆":"\u2A46","⩊":"\u2A4A","⊍":"\u228D","⩅":"\u2A45","∪︀":"\u222A\uFE00","↷":"\u21B7","⤼":"\u293C","⋞":"\u22DE","⋟":"\u22DF","⋎":"\u22CE","⋏":"\u22CF","¤":"\xA4","¤":"\xA4","↶":"\u21B6","↷":"\u21B7","⋎":"\u22CE","⋏":"\u22CF","∲":"\u2232","∱":"\u2231","⌭":"\u232D","⇓":"\u21D3","⥥":"\u2965","†":"\u2020","ℸ":"\u2138","↓":"\u2193","‐":"\u2010","⊣":"\u22A3","⤏":"\u290F","˝":"\u02DD","ď":"\u010F","д":"\u0434","ⅆ":"\u2146","‡":"\u2021","⇊":"\u21CA","⩷":"\u2A77","°":"\xB0","°":"\xB0","δ":"\u03B4","⦱":"\u29B1","⥿":"\u297F","𝔡":"\u{1D521}","⇃":"\u21C3","⇂":"\u21C2","⋄":"\u22C4","⋄":"\u22C4","♦":"\u2666","♦":"\u2666","¨":"\xA8","ϝ":"\u03DD","⋲":"\u22F2","÷":"\xF7","÷":"\xF7","÷":"\xF7","⋇":"\u22C7","⋇":"\u22C7","ђ":"\u0452","⌞":"\u231E","⌍":"\u230D","$":"$","𝕕":"\u{1D555}","˙":"\u02D9","≐":"\u2250","≑":"\u2251","∸":"\u2238","∔":"\u2214","⊡":"\u22A1","⌆":"\u2306","↓":"\u2193","⇊":"\u21CA","⇃":"\u21C3","⇂":"\u21C2","⤐":"\u2910","⌟":"\u231F","⌌":"\u230C","𝒹":"\u{1D4B9}","ѕ":"\u0455","⧶":"\u29F6","đ":"\u0111","⋱":"\u22F1","▿":"\u25BF","▾":"\u25BE","⇵":"\u21F5","⥯":"\u296F","⦦":"\u29A6","џ":"\u045F","⟿":"\u27FF","⩷":"\u2A77","≑":"\u2251","é":"\xE9","é":"\xE9","⩮":"\u2A6E","ě":"\u011B","≖":"\u2256","ê":"\xEA","ê":"\xEA","≕":"\u2255","э":"\u044D","ė":"\u0117","ⅇ":"\u2147","≒":"\u2252","𝔢":"\u{1D522}","⪚":"\u2A9A","è":"\xE8","è":"\xE8","⪖":"\u2A96","⪘":"\u2A98","⪙":"\u2A99","⏧":"\u23E7","ℓ":"\u2113","⪕":"\u2A95","⪗":"\u2A97","ē":"\u0113","∅":"\u2205","∅":"\u2205","∅":"\u2205"," ":"\u2004"," ":"\u2005"," ":"\u2003","ŋ":"\u014B"," ":"\u2002","ę":"\u0119","𝕖":"\u{1D556}","⋕":"\u22D5","⧣":"\u29E3","⩱":"\u2A71","ε":"\u03B5","ε":"\u03B5","ϵ":"\u03F5","≖":"\u2256","≕":"\u2255","≂":"\u2242","⪖":"\u2A96","⪕":"\u2A95","=":"=","≟":"\u225F","≡":"\u2261","⩸":"\u2A78","⧥":"\u29E5","≓":"\u2253","⥱":"\u2971","ℯ":"\u212F","≐":"\u2250","≂":"\u2242","η":"\u03B7","ð":"\xF0","ð":"\xF0","ë":"\xEB","ë":"\xEB","€":"\u20AC","!":"!","∃":"\u2203","ℰ":"\u2130","ⅇ":"\u2147","≒":"\u2252","ф":"\u0444","♀":"\u2640","ffi":"\uFB03","ff":"\uFB00","ffl":"\uFB04","𝔣":"\u{1D523}","fi":"\uFB01","fj":"fj","♭":"\u266D","fl":"\uFB02","▱":"\u25B1","ƒ":"\u0192","𝕗":"\u{1D557}","∀":"\u2200","⋔":"\u22D4","⫙":"\u2AD9","⨍":"\u2A0D","½":"\xBD","½":"\xBD","⅓":"\u2153","¼":"\xBC","¼":"\xBC","⅕":"\u2155","⅙":"\u2159","⅛":"\u215B","⅔":"\u2154","⅖":"\u2156","¾":"\xBE","¾":"\xBE","⅗":"\u2157","⅜":"\u215C","⅘":"\u2158","⅚":"\u215A","⅝":"\u215D","⅞":"\u215E","⁄":"\u2044","⌢":"\u2322","𝒻":"\u{1D4BB}","≧":"\u2267","⪌":"\u2A8C","ǵ":"\u01F5","γ":"\u03B3","ϝ":"\u03DD","⪆":"\u2A86","ğ":"\u011F","ĝ":"\u011D","г":"\u0433","ġ":"\u0121","≥":"\u2265","⋛":"\u22DB","≥":"\u2265","≧":"\u2267","⩾":"\u2A7E","⩾":"\u2A7E","⪩":"\u2AA9","⪀":"\u2A80","⪂":"\u2A82","⪄":"\u2A84","⋛︀":"\u22DB\uFE00","⪔":"\u2A94","𝔤":"\u{1D524}","≫":"\u226B","⋙":"\u22D9","ℷ":"\u2137","ѓ":"\u0453","≷":"\u2277","⪒":"\u2A92","⪥":"\u2AA5","⪤":"\u2AA4","≩":"\u2269","⪊":"\u2A8A","⪊":"\u2A8A","⪈":"\u2A88","⪈":"\u2A88","≩":"\u2269","⋧":"\u22E7","𝕘":"\u{1D558}","`":"`","ℊ":"\u210A","≳":"\u2273","⪎":"\u2A8E","⪐":"\u2A90",">":">",">":">","⪧":"\u2AA7","⩺":"\u2A7A","⋗":"\u22D7","⦕":"\u2995","⩼":"\u2A7C","⪆":"\u2A86","⥸":"\u2978","⋗":"\u22D7","⋛":"\u22DB","⪌":"\u2A8C","≷":"\u2277","≳":"\u2273","≩︀":"\u2269\uFE00","≩︀":"\u2269\uFE00","⇔":"\u21D4"," ":"\u200A","½":"\xBD","ℋ":"\u210B","ъ":"\u044A","↔":"\u2194","⥈":"\u2948","↭":"\u21AD","ℏ":"\u210F","ĥ":"\u0125","♥":"\u2665","♥":"\u2665","…":"\u2026","⊹":"\u22B9","𝔥":"\u{1D525}","⤥":"\u2925","⤦":"\u2926","⇿":"\u21FF","∻":"\u223B","↩":"\u21A9","↪":"\u21AA","𝕙":"\u{1D559}","―":"\u2015","𝒽":"\u{1D4BD}","ℏ":"\u210F","ħ":"\u0127","⁃":"\u2043","‐":"\u2010","í":"\xED","í":"\xED","⁣":"\u2063","î":"\xEE","î":"\xEE","и":"\u0438","е":"\u0435","¡":"\xA1","¡":"\xA1","⇔":"\u21D4","𝔦":"\u{1D526}","ì":"\xEC","ì":"\xEC","ⅈ":"\u2148","⨌":"\u2A0C","∭":"\u222D","⧜":"\u29DC","℩":"\u2129","ij":"\u0133","ī":"\u012B","ℑ":"\u2111","ℐ":"\u2110","ℑ":"\u2111","ı":"\u0131","⊷":"\u22B7","Ƶ":"\u01B5","∈":"\u2208","℅":"\u2105","∞":"\u221E","⧝":"\u29DD","ı":"\u0131","∫":"\u222B","⊺":"\u22BA","ℤ":"\u2124","⊺":"\u22BA","⨗":"\u2A17","⨼":"\u2A3C","ё":"\u0451","į":"\u012F","𝕚":"\u{1D55A}","ι":"\u03B9","⨼":"\u2A3C","¿":"\xBF","¿":"\xBF","𝒾":"\u{1D4BE}","∈":"\u2208","⋹":"\u22F9","⋵":"\u22F5","⋴":"\u22F4","⋳":"\u22F3","∈":"\u2208","⁢":"\u2062","ĩ":"\u0129","і":"\u0456","ï":"\xEF","ï":"\xEF","ĵ":"\u0135","й":"\u0439","𝔧":"\u{1D527}","ȷ":"\u0237","𝕛":"\u{1D55B}","𝒿":"\u{1D4BF}","ј":"\u0458","є":"\u0454","κ":"\u03BA","ϰ":"\u03F0","ķ":"\u0137","к":"\u043A","𝔨":"\u{1D528}","ĸ":"\u0138","х":"\u0445","ќ":"\u045C","𝕜":"\u{1D55C}","𝓀":"\u{1D4C0}","⇚":"\u21DA","⇐":"\u21D0","⤛":"\u291B","⤎":"\u290E","≦":"\u2266","⪋":"\u2A8B","⥢":"\u2962","ĺ":"\u013A","⦴":"\u29B4","ℒ":"\u2112","λ":"\u03BB","⟨":"\u27E8","⦑":"\u2991","⟨":"\u27E8","⪅":"\u2A85","«":"\xAB","«":"\xAB","←":"\u2190","⇤":"\u21E4","⤟":"\u291F","⤝":"\u291D","↩":"\u21A9","↫":"\u21AB","⤹":"\u2939","⥳":"\u2973","↢":"\u21A2","⪫":"\u2AAB","⤙":"\u2919","⪭":"\u2AAD","⪭︀":"\u2AAD\uFE00","⤌":"\u290C","❲":"\u2772","{":"{","[":"[","⦋":"\u298B","⦏":"\u298F","⦍":"\u298D","ľ":"\u013E","ļ":"\u013C","⌈":"\u2308","{":"{","л":"\u043B","⤶":"\u2936","“":"\u201C","„":"\u201E","⥧":"\u2967","⥋":"\u294B","↲":"\u21B2","≤":"\u2264","←":"\u2190","↢":"\u21A2","↽":"\u21BD","↼":"\u21BC","⇇":"\u21C7","↔":"\u2194","⇆":"\u21C6","⇋":"\u21CB","↭":"\u21AD","⋋":"\u22CB","⋚":"\u22DA","≤":"\u2264","≦":"\u2266","⩽":"\u2A7D","⩽":"\u2A7D","⪨":"\u2AA8","⩿":"\u2A7F","⪁":"\u2A81","⪃":"\u2A83","⋚︀":"\u22DA\uFE00","⪓":"\u2A93","⪅":"\u2A85","⋖":"\u22D6","⋚":"\u22DA","⪋":"\u2A8B","≶":"\u2276","≲":"\u2272","⥼":"\u297C","⌊":"\u230A","𝔩":"\u{1D529}","≶":"\u2276","⪑":"\u2A91","↽":"\u21BD","↼":"\u21BC","⥪":"\u296A","▄":"\u2584","љ":"\u0459","≪":"\u226A","⇇":"\u21C7","⌞":"\u231E","⥫":"\u296B","◺":"\u25FA","ŀ":"\u0140","⎰":"\u23B0","⎰":"\u23B0","≨":"\u2268","⪉":"\u2A89","⪉":"\u2A89","⪇":"\u2A87","⪇":"\u2A87","≨":"\u2268","⋦":"\u22E6","⟬":"\u27EC","⇽":"\u21FD","⟦":"\u27E6","⟵":"\u27F5","⟷":"\u27F7","⟼":"\u27FC","⟶":"\u27F6","↫":"\u21AB","↬":"\u21AC","⦅":"\u2985","𝕝":"\u{1D55D}","⨭":"\u2A2D","⨴":"\u2A34","∗":"\u2217","_":"_","◊":"\u25CA","◊":"\u25CA","⧫":"\u29EB","(":"(","⦓":"\u2993","⇆":"\u21C6","⌟":"\u231F","⇋":"\u21CB","⥭":"\u296D","‎":"\u200E","⊿":"\u22BF","‹":"\u2039","𝓁":"\u{1D4C1}","↰":"\u21B0","≲":"\u2272","⪍":"\u2A8D","⪏":"\u2A8F","[":"[","‘":"\u2018","‚":"\u201A","ł":"\u0142","<":"<","<":"<","⪦":"\u2AA6","⩹":"\u2A79","⋖":"\u22D6","⋋":"\u22CB","⋉":"\u22C9","⥶":"\u2976","⩻":"\u2A7B","⦖":"\u2996","◃":"\u25C3","⊴":"\u22B4","◂":"\u25C2","⥊":"\u294A","⥦":"\u2966","≨︀":"\u2268\uFE00","≨︀":"\u2268\uFE00","∺":"\u223A","¯":"\xAF","¯":"\xAF","♂":"\u2642","✠":"\u2720","✠":"\u2720","↦":"\u21A6","↦":"\u21A6","↧":"\u21A7","↤":"\u21A4","↥":"\u21A5","▮":"\u25AE","⨩":"\u2A29","м":"\u043C","—":"\u2014","∡":"\u2221","𝔪":"\u{1D52A}","℧":"\u2127","µ":"\xB5","µ":"\xB5","∣":"\u2223","*":"*","⫰":"\u2AF0","·":"\xB7","·":"\xB7","−":"\u2212","⊟":"\u229F","∸":"\u2238","⨪":"\u2A2A","⫛":"\u2ADB","…":"\u2026","∓":"\u2213","⊧":"\u22A7","𝕞":"\u{1D55E}","∓":"\u2213","𝓂":"\u{1D4C2}","∾":"\u223E","μ":"\u03BC","⊸":"\u22B8","⊸":"\u22B8","⋙̸":"\u22D9\u0338","≫⃒":"\u226B\u20D2","≫̸":"\u226B\u0338","⇍":"\u21CD","⇎":"\u21CE","⋘̸":"\u22D8\u0338","≪⃒":"\u226A\u20D2","≪̸":"\u226A\u0338","⇏":"\u21CF","⊯":"\u22AF","⊮":"\u22AE","∇":"\u2207","ń":"\u0144","∠⃒":"\u2220\u20D2","≉":"\u2249","⩰̸":"\u2A70\u0338","≋̸":"\u224B\u0338","ʼn":"\u0149","≉":"\u2249","♮":"\u266E","♮":"\u266E","ℕ":"\u2115"," ":"\xA0"," ":"\xA0","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⩃":"\u2A43","ň":"\u0148","ņ":"\u0146","≇":"\u2247","⩭̸":"\u2A6D\u0338","⩂":"\u2A42","н":"\u043D","–":"\u2013","≠":"\u2260","⇗":"\u21D7","⤤":"\u2924","↗":"\u2197","↗":"\u2197","≐̸":"\u2250\u0338","≢":"\u2262","⤨":"\u2928","≂̸":"\u2242\u0338","∄":"\u2204","∄":"\u2204","𝔫":"\u{1D52B}","≧̸":"\u2267\u0338","≱":"\u2271","≱":"\u2271","≧̸":"\u2267\u0338","⩾̸":"\u2A7E\u0338","⩾̸":"\u2A7E\u0338","≵":"\u2275","≯":"\u226F","≯":"\u226F","⇎":"\u21CE","↮":"\u21AE","⫲":"\u2AF2","∋":"\u220B","⋼":"\u22FC","⋺":"\u22FA","∋":"\u220B","њ":"\u045A","⇍":"\u21CD","≦̸":"\u2266\u0338","↚":"\u219A","‥":"\u2025","≰":"\u2270","↚":"\u219A","↮":"\u21AE","≰":"\u2270","≦̸":"\u2266\u0338","⩽̸":"\u2A7D\u0338","⩽̸":"\u2A7D\u0338","≮":"\u226E","≴":"\u2274","≮":"\u226E","⋪":"\u22EA","⋬":"\u22EC","∤":"\u2224","𝕟":"\u{1D55F}","¬":"\xAC","¬":"\xAC","∉":"\u2209","⋹̸":"\u22F9\u0338","⋵̸":"\u22F5\u0338","∉":"\u2209","⋷":"\u22F7","⋶":"\u22F6","∌":"\u220C","∌":"\u220C","⋾":"\u22FE","⋽":"\u22FD","∦":"\u2226","∦":"\u2226","⫽⃥":"\u2AFD\u20E5","∂̸":"\u2202\u0338","⨔":"\u2A14","⊀":"\u2280","⋠":"\u22E0","⪯̸":"\u2AAF\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⇏":"\u21CF","↛":"\u219B","⤳̸":"\u2933\u0338","↝̸":"\u219D\u0338","↛":"\u219B","⋫":"\u22EB","⋭":"\u22ED","⊁":"\u2281","⋡":"\u22E1","⪰̸":"\u2AB0\u0338","𝓃":"\u{1D4C3}","∤":"\u2224","∦":"\u2226","≁":"\u2241","≄":"\u2244","≄":"\u2244","∤":"\u2224","∦":"\u2226","⋢":"\u22E2","⋣":"\u22E3","⊄":"\u2284","⫅̸":"\u2AC5\u0338","⊈":"\u2288","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⫅̸":"\u2AC5\u0338","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⊅":"\u2285","⫆̸":"\u2AC6\u0338","⊉":"\u2289","⊃⃒":"\u2283\u20D2","⊉":"\u2289","⫆̸":"\u2AC6\u0338","≹":"\u2279","ñ":"\xF1","ñ":"\xF1","≸":"\u2278","⋪":"\u22EA","⋬":"\u22EC","⋫":"\u22EB","⋭":"\u22ED","ν":"\u03BD","#":"#","№":"\u2116"," ":"\u2007","⊭":"\u22AD","⤄":"\u2904","≍⃒":"\u224D\u20D2","⊬":"\u22AC","≥⃒":"\u2265\u20D2",">⃒":">\u20D2","⧞":"\u29DE","⤂":"\u2902","≤⃒":"\u2264\u20D2","<⃒":"<\u20D2","⊴⃒":"\u22B4\u20D2","⤃":"\u2903","⊵⃒":"\u22B5\u20D2","∼⃒":"\u223C\u20D2","⇖":"\u21D6","⤣":"\u2923","↖":"\u2196","↖":"\u2196","⤧":"\u2927","Ⓢ":"\u24C8","ó":"\xF3","ó":"\xF3","⊛":"\u229B","⊚":"\u229A","ô":"\xF4","ô":"\xF4","о":"\u043E","⊝":"\u229D","ő":"\u0151","⨸":"\u2A38","⊙":"\u2299","⦼":"\u29BC","œ":"\u0153","⦿":"\u29BF","𝔬":"\u{1D52C}","˛":"\u02DB","ò":"\xF2","ò":"\xF2","⧁":"\u29C1","⦵":"\u29B5","Ω":"\u03A9","∮":"\u222E","↺":"\u21BA","⦾":"\u29BE","⦻":"\u29BB","‾":"\u203E","⧀":"\u29C0","ō":"\u014D","ω":"\u03C9","ο":"\u03BF","⦶":"\u29B6","⊖":"\u2296","𝕠":"\u{1D560}","⦷":"\u29B7","⦹":"\u29B9","⊕":"\u2295","∨":"\u2228","↻":"\u21BB","⩝":"\u2A5D","ℴ":"\u2134","ℴ":"\u2134","ª":"\xAA","ª":"\xAA","º":"\xBA","º":"\xBA","⊶":"\u22B6","⩖":"\u2A56","⩗":"\u2A57","⩛":"\u2A5B","ℴ":"\u2134","ø":"\xF8","ø":"\xF8","⊘":"\u2298","õ":"\xF5","õ":"\xF5","⊗":"\u2297","⨶":"\u2A36","ö":"\xF6","ö":"\xF6","⌽":"\u233D","∥":"\u2225","¶":"\xB6","¶":"\xB6","∥":"\u2225","⫳":"\u2AF3","⫽":"\u2AFD","∂":"\u2202","п":"\u043F","%":"%",".":".","‰":"\u2030","⊥":"\u22A5","‱":"\u2031","𝔭":"\u{1D52D}","φ":"\u03C6","ϕ":"\u03D5","ℳ":"\u2133","☎":"\u260E","π":"\u03C0","⋔":"\u22D4","ϖ":"\u03D6","ℏ":"\u210F","ℎ":"\u210E","ℏ":"\u210F","+":"+","⨣":"\u2A23","⊞":"\u229E","⨢":"\u2A22","∔":"\u2214","⨥":"\u2A25","⩲":"\u2A72","±":"\xB1","±":"\xB1","⨦":"\u2A26","⨧":"\u2A27","±":"\xB1","⨕":"\u2A15","𝕡":"\u{1D561}","£":"\xA3","£":"\xA3","≺":"\u227A","⪳":"\u2AB3","⪷":"\u2AB7","≼":"\u227C","⪯":"\u2AAF","≺":"\u227A","⪷":"\u2AB7","≼":"\u227C","⪯":"\u2AAF","⪹":"\u2AB9","⪵":"\u2AB5","⋨":"\u22E8","≾":"\u227E","′":"\u2032","ℙ":"\u2119","⪵":"\u2AB5","⪹":"\u2AB9","⋨":"\u22E8","∏":"\u220F","⌮":"\u232E","⌒":"\u2312","⌓":"\u2313","∝":"\u221D","∝":"\u221D","≾":"\u227E","⊰":"\u22B0","𝓅":"\u{1D4C5}","ψ":"\u03C8"," ":"\u2008","𝔮":"\u{1D52E}","⨌":"\u2A0C","𝕢":"\u{1D562}","⁗":"\u2057","𝓆":"\u{1D4C6}","ℍ":"\u210D","⨖":"\u2A16","?":"?","≟":"\u225F",""":'"',""":'"',"⇛":"\u21DB","⇒":"\u21D2","⤜":"\u291C","⤏":"\u290F","⥤":"\u2964","∽̱":"\u223D\u0331","ŕ":"\u0155","√":"\u221A","⦳":"\u29B3","⟩":"\u27E9","⦒":"\u2992","⦥":"\u29A5","⟩":"\u27E9","»":"\xBB","»":"\xBB","→":"\u2192","⥵":"\u2975","⇥":"\u21E5","⤠":"\u2920","⤳":"\u2933","⤞":"\u291E","↪":"\u21AA","↬":"\u21AC","⥅":"\u2945","⥴":"\u2974","↣":"\u21A3","↝":"\u219D","⤚":"\u291A","∶":"\u2236","ℚ":"\u211A","⤍":"\u290D","❳":"\u2773","}":"}","]":"]","⦌":"\u298C","⦎":"\u298E","⦐":"\u2990","ř":"\u0159","ŗ":"\u0157","⌉":"\u2309","}":"}","р":"\u0440","⤷":"\u2937","⥩":"\u2969","”":"\u201D","”":"\u201D","↳":"\u21B3","ℜ":"\u211C","ℛ":"\u211B","ℜ":"\u211C","ℝ":"\u211D","▭":"\u25AD","®":"\xAE","®":"\xAE","⥽":"\u297D","⌋":"\u230B","𝔯":"\u{1D52F}","⇁":"\u21C1","⇀":"\u21C0","⥬":"\u296C","ρ":"\u03C1","ϱ":"\u03F1","→":"\u2192","↣":"\u21A3","⇁":"\u21C1","⇀":"\u21C0","⇄":"\u21C4","⇌":"\u21CC","⇉":"\u21C9","↝":"\u219D","⋌":"\u22CC","˚":"\u02DA","≓":"\u2253","⇄":"\u21C4","⇌":"\u21CC","‏":"\u200F","⎱":"\u23B1","⎱":"\u23B1","⫮":"\u2AEE","⟭":"\u27ED","⇾":"\u21FE","⟧":"\u27E7","⦆":"\u2986","𝕣":"\u{1D563}","⨮":"\u2A2E","⨵":"\u2A35",")":")","⦔":"\u2994","⨒":"\u2A12","⇉":"\u21C9","›":"\u203A","𝓇":"\u{1D4C7}","↱":"\u21B1","]":"]","’":"\u2019","’":"\u2019","⋌":"\u22CC","⋊":"\u22CA","▹":"\u25B9","⊵":"\u22B5","▸":"\u25B8","⧎":"\u29CE","⥨":"\u2968","℞":"\u211E","ś":"\u015B","‚":"\u201A","≻":"\u227B","⪴":"\u2AB4","⪸":"\u2AB8","š":"\u0161","≽":"\u227D","⪰":"\u2AB0","ş":"\u015F","ŝ":"\u015D","⪶":"\u2AB6","⪺":"\u2ABA","⋩":"\u22E9","⨓":"\u2A13","≿":"\u227F","с":"\u0441","⋅":"\u22C5","⊡":"\u22A1","⩦":"\u2A66","⇘":"\u21D8","⤥":"\u2925","↘":"\u2198","↘":"\u2198","§":"\xA7","§":"\xA7",";":";","⤩":"\u2929","∖":"\u2216","∖":"\u2216","✶":"\u2736","𝔰":"\u{1D530}","⌢":"\u2322","♯":"\u266F","щ":"\u0449","ш":"\u0448","∣":"\u2223","∥":"\u2225","­":"\xAD","­":"\xAD","σ":"\u03C3","ς":"\u03C2","ς":"\u03C2","∼":"\u223C","⩪":"\u2A6A","≃":"\u2243","≃":"\u2243","⪞":"\u2A9E","⪠":"\u2AA0","⪝":"\u2A9D","⪟":"\u2A9F","≆":"\u2246","⨤":"\u2A24","⥲":"\u2972","←":"\u2190","∖":"\u2216","⨳":"\u2A33","⧤":"\u29E4","∣":"\u2223","⌣":"\u2323","⪪":"\u2AAA","⪬":"\u2AAC","⪬︀":"\u2AAC\uFE00","ь":"\u044C","/":"/","⧄":"\u29C4","⌿":"\u233F","𝕤":"\u{1D564}","♠":"\u2660","♠":"\u2660","∥":"\u2225","⊓":"\u2293","⊓︀":"\u2293\uFE00","⊔":"\u2294","⊔︀":"\u2294\uFE00","⊏":"\u228F","⊑":"\u2291","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊐":"\u2290","⊒":"\u2292","□":"\u25A1","□":"\u25A1","▪":"\u25AA","▪":"\u25AA","→":"\u2192","𝓈":"\u{1D4C8}","∖":"\u2216","⌣":"\u2323","⋆":"\u22C6","☆":"\u2606","★":"\u2605","ϵ":"\u03F5","ϕ":"\u03D5","¯":"\xAF","⊂":"\u2282","⫅":"\u2AC5","⪽":"\u2ABD","⊆":"\u2286","⫃":"\u2AC3","⫁":"\u2AC1","⫋":"\u2ACB","⊊":"\u228A","⪿":"\u2ABF","⥹":"\u2979","⊂":"\u2282","⊆":"\u2286","⫅":"\u2AC5","⊊":"\u228A","⫋":"\u2ACB","⫇":"\u2AC7","⫕":"\u2AD5","⫓":"\u2AD3","≻":"\u227B","⪸":"\u2AB8","≽":"\u227D","⪰":"\u2AB0","⪺":"\u2ABA","⪶":"\u2AB6","⋩":"\u22E9","≿":"\u227F","∑":"\u2211","♪":"\u266A","¹":"\xB9","¹":"\xB9","²":"\xB2","²":"\xB2","³":"\xB3","³":"\xB3","⊃":"\u2283","⫆":"\u2AC6","⪾":"\u2ABE","⫘":"\u2AD8","⊇":"\u2287","⫄":"\u2AC4","⟉":"\u27C9","⫗":"\u2AD7","⥻":"\u297B","⫂":"\u2AC2","⫌":"\u2ACC","⊋":"\u228B","⫀":"\u2AC0","⊃":"\u2283","⊇":"\u2287","⫆":"\u2AC6","⊋":"\u228B","⫌":"\u2ACC","⫈":"\u2AC8","⫔":"\u2AD4","⫖":"\u2AD6","⇙":"\u21D9","⤦":"\u2926","↙":"\u2199","↙":"\u2199","⤪":"\u292A","ß":"\xDF","ß":"\xDF","⌖":"\u2316","τ":"\u03C4","⎴":"\u23B4","ť":"\u0165","ţ":"\u0163","т":"\u0442","⃛":"\u20DB","⌕":"\u2315","𝔱":"\u{1D531}","∴":"\u2234","∴":"\u2234","θ":"\u03B8","ϑ":"\u03D1","ϑ":"\u03D1","≈":"\u2248","∼":"\u223C"," ":"\u2009","≈":"\u2248","∼":"\u223C","þ":"\xFE","þ":"\xFE","˜":"\u02DC","×":"\xD7","×":"\xD7","⊠":"\u22A0","⨱":"\u2A31","⨰":"\u2A30","∭":"\u222D","⤨":"\u2928","⊤":"\u22A4","⌶":"\u2336","⫱":"\u2AF1","𝕥":"\u{1D565}","⫚":"\u2ADA","⤩":"\u2929","‴":"\u2034","™":"\u2122","▵":"\u25B5","▿":"\u25BF","◃":"\u25C3","⊴":"\u22B4","≜":"\u225C","▹":"\u25B9","⊵":"\u22B5","◬":"\u25EC","≜":"\u225C","⨺":"\u2A3A","⨹":"\u2A39","⧍":"\u29CD","⨻":"\u2A3B","⏢":"\u23E2","𝓉":"\u{1D4C9}","ц":"\u0446","ћ":"\u045B","ŧ":"\u0167","≬":"\u226C","↞":"\u219E","↠":"\u21A0","⇑":"\u21D1","⥣":"\u2963","ú":"\xFA","ú":"\xFA","↑":"\u2191","ў":"\u045E","ŭ":"\u016D","û":"\xFB","û":"\xFB","у":"\u0443","⇅":"\u21C5","ű":"\u0171","⥮":"\u296E","⥾":"\u297E","𝔲":"\u{1D532}","ù":"\xF9","ù":"\xF9","↿":"\u21BF","↾":"\u21BE","▀":"\u2580","⌜":"\u231C","⌜":"\u231C","⌏":"\u230F","◸":"\u25F8","ū":"\u016B","¨":"\xA8","¨":"\xA8","ų":"\u0173","𝕦":"\u{1D566}","↑":"\u2191","↕":"\u2195","↿":"\u21BF","↾":"\u21BE","⊎":"\u228E","υ":"\u03C5","ϒ":"\u03D2","υ":"\u03C5","⇈":"\u21C8","⌝":"\u231D","⌝":"\u231D","⌎":"\u230E","ů":"\u016F","◹":"\u25F9","𝓊":"\u{1D4CA}","⋰":"\u22F0","ũ":"\u0169","▵":"\u25B5","▴":"\u25B4","⇈":"\u21C8","ü":"\xFC","ü":"\xFC","⦧":"\u29A7","⇕":"\u21D5","⫨":"\u2AE8","⫩":"\u2AE9","⊨":"\u22A8","⦜":"\u299C","ϵ":"\u03F5","ϰ":"\u03F0","∅":"\u2205","ϕ":"\u03D5","ϖ":"\u03D6","∝":"\u221D","↕":"\u2195","ϱ":"\u03F1","ς":"\u03C2","⊊︀":"\u228A\uFE00","⫋︀":"\u2ACB\uFE00","⊋︀":"\u228B\uFE00","⫌︀":"\u2ACC\uFE00","ϑ":"\u03D1","⊲":"\u22B2","⊳":"\u22B3","в":"\u0432","⊢":"\u22A2","∨":"\u2228","⊻":"\u22BB","≚":"\u225A","⋮":"\u22EE","|":"|","|":"|","𝔳":"\u{1D533}","⊲":"\u22B2","⊂⃒":"\u2282\u20D2","⊃⃒":"\u2283\u20D2","𝕧":"\u{1D567}","∝":"\u221D","⊳":"\u22B3","𝓋":"\u{1D4CB}","⫋︀":"\u2ACB\uFE00","⊊︀":"\u228A\uFE00","⫌︀":"\u2ACC\uFE00","⊋︀":"\u228B\uFE00","⦚":"\u299A","ŵ":"\u0175","⩟":"\u2A5F","∧":"\u2227","≙":"\u2259","℘":"\u2118","𝔴":"\u{1D534}","𝕨":"\u{1D568}","℘":"\u2118","≀":"\u2240","≀":"\u2240","𝓌":"\u{1D4CC}","⋂":"\u22C2","◯":"\u25EF","⋃":"\u22C3","▽":"\u25BD","𝔵":"\u{1D535}","⟺":"\u27FA","⟷":"\u27F7","ξ":"\u03BE","⟸":"\u27F8","⟵":"\u27F5","⟼":"\u27FC","⋻":"\u22FB","⨀":"\u2A00","𝕩":"\u{1D569}","⨁":"\u2A01","⨂":"\u2A02","⟹":"\u27F9","⟶":"\u27F6","𝓍":"\u{1D4CD}","⨆":"\u2A06","⨄":"\u2A04","△":"\u25B3","⋁":"\u22C1","⋀":"\u22C0","ý":"\xFD","ý":"\xFD","я":"\u044F","ŷ":"\u0177","ы":"\u044B","¥":"\xA5","¥":"\xA5","𝔶":"\u{1D536}","ї":"\u0457","𝕪":"\u{1D56A}","𝓎":"\u{1D4CE}","ю":"\u044E","ÿ":"\xFF","ÿ":"\xFF","ź":"\u017A","ž":"\u017E","з":"\u0437","ż":"\u017C","ℨ":"\u2128","ζ":"\u03B6","𝔷":"\u{1D537}","ж":"\u0436","⇝":"\u21DD","𝕫":"\u{1D56B}","𝓏":"\u{1D4CF}","‍":"\u200D","‌":"\u200C"},characters:{\u00C6:"Æ","&":"&",\u00C1:"Á",\u0102:"Ă",\u00C2:"Â",\u0410:"А","\u{1D504}":"𝔄",\u00C0:"À",\u0391:"Α",\u0100:"Ā","\u2A53":"⩓",\u0104:"Ą","\u{1D538}":"𝔸","\u2061":"⁡",\u00C5:"Å","\u{1D49C}":"𝒜","\u2254":"≔",\u00C3:"Ã",\u00C4:"Ä","\u2216":"∖","\u2AE7":"⫧","\u2306":"⌆",\u0411:"Б","\u2235":"∵",\u212C:"ℬ",\u0392:"Β","\u{1D505}":"𝔅","\u{1D539}":"𝔹","\u02D8":"˘","\u224E":"≎",\u0427:"Ч","\xA9":"©",\u0106:"Ć","\u22D2":"⋒","\u2145":"ⅅ",\u212D:"ℭ",\u010C:"Č",\u00C7:"Ç",\u0108:"Ĉ","\u2230":"∰",\u010A:"Ċ","\xB8":"¸","\xB7":"·",\u03A7:"Χ","\u2299":"⊙","\u2296":"⊖","\u2295":"⊕","\u2297":"⊗","\u2232":"∲","\u201D":"”","\u2019":"’","\u2237":"∷","\u2A74":"⩴","\u2261":"≡","\u222F":"∯","\u222E":"∮",\u2102:"ℂ","\u2210":"∐","\u2233":"∳","\u2A2F":"⨯","\u{1D49E}":"𝒞","\u22D3":"⋓","\u224D":"≍","\u2911":"⤑",\u0402:"Ђ",\u0405:"Ѕ",\u040F:"Џ","\u2021":"‡","\u21A1":"↡","\u2AE4":"⫤",\u010E:"Ď",\u0414:"Д","\u2207":"∇",\u0394:"Δ","\u{1D507}":"𝔇","\xB4":"´","\u02D9":"˙","\u02DD":"˝","`":"`","\u02DC":"˜","\u22C4":"⋄","\u2146":"ⅆ","\u{1D53B}":"𝔻","\xA8":"¨","\u20DC":"⃜","\u2250":"≐","\u21D3":"⇓","\u21D0":"⇐","\u21D4":"⇔","\u27F8":"⟸","\u27FA":"⟺","\u27F9":"⟹","\u21D2":"⇒","\u22A8":"⊨","\u21D1":"⇑","\u21D5":"⇕","\u2225":"∥","\u2193":"↓","\u2913":"⤓","\u21F5":"⇵","\u0311":"̑","\u2950":"⥐","\u295E":"⥞","\u21BD":"↽","\u2956":"⥖","\u295F":"⥟","\u21C1":"⇁","\u2957":"⥗","\u22A4":"⊤","\u21A7":"↧","\u{1D49F}":"𝒟",\u0110:"Đ",\u014A:"Ŋ",\u00D0:"Ð",\u00C9:"É",\u011A:"Ě",\u00CA:"Ê",\u042D:"Э",\u0116:"Ė","\u{1D508}":"𝔈",\u00C8:"È","\u2208":"∈",\u0112:"Ē","\u25FB":"◻","\u25AB":"▫",\u0118:"Ę","\u{1D53C}":"𝔼",\u0395:"Ε","\u2A75":"⩵","\u2242":"≂","\u21CC":"⇌",\u2130:"ℰ","\u2A73":"⩳",\u0397:"Η",\u00CB:"Ë","\u2203":"∃","\u2147":"ⅇ",\u0424:"Ф","\u{1D509}":"𝔉","\u25FC":"◼","\u25AA":"▪","\u{1D53D}":"𝔽","\u2200":"∀",\u2131:"ℱ",\u0403:"Ѓ",">":">",\u0393:"Γ",\u03DC:"Ϝ",\u011E:"Ğ",\u0122:"Ģ",\u011C:"Ĝ",\u0413:"Г",\u0120:"Ġ","\u{1D50A}":"𝔊","\u22D9":"⋙","\u{1D53E}":"𝔾","\u2265":"≥","\u22DB":"⋛","\u2267":"≧","\u2AA2":"⪢","\u2277":"≷","\u2A7E":"⩾","\u2273":"≳","\u{1D4A2}":"𝒢","\u226B":"≫",\u042A:"Ъ","\u02C7":"ˇ","^":"^",\u0124:"Ĥ",\u210C:"ℌ",\u210B:"ℋ",\u210D:"ℍ","\u2500":"─",\u0126:"Ħ","\u224F":"≏",\u0415:"Е",\u0132:"IJ",\u0401:"Ё",\u00CD:"Í",\u00CE:"Î",\u0418:"И",\u0130:"İ",\u2111:"ℑ",\u00CC:"Ì",\u012A:"Ī","\u2148":"ⅈ","\u222C":"∬","\u222B":"∫","\u22C2":"⋂","\u2063":"⁣","\u2062":"⁢",\u012E:"Į","\u{1D540}":"𝕀",\u0399:"Ι",\u2110:"ℐ",\u0128:"Ĩ",\u0406:"І",\u00CF:"Ï",\u0134:"Ĵ",\u0419:"Й","\u{1D50D}":"𝔍","\u{1D541}":"𝕁","\u{1D4A5}":"𝒥",\u0408:"Ј",\u0404:"Є",\u0425:"Х",\u040C:"Ќ",\u039A:"Κ",\u0136:"Ķ",\u041A:"К","\u{1D50E}":"𝔎","\u{1D542}":"𝕂","\u{1D4A6}":"𝒦",\u0409:"Љ","<":"<",\u0139:"Ĺ",\u039B:"Λ","\u27EA":"⟪",\u2112:"ℒ","\u219E":"↞",\u013D:"Ľ",\u013B:"Ļ",\u041B:"Л","\u27E8":"⟨","\u2190":"←","\u21E4":"⇤","\u21C6":"⇆","\u2308":"⌈","\u27E6":"⟦","\u2961":"⥡","\u21C3":"⇃","\u2959":"⥙","\u230A":"⌊","\u2194":"↔","\u294E":"⥎","\u22A3":"⊣","\u21A4":"↤","\u295A":"⥚","\u22B2":"⊲","\u29CF":"⧏","\u22B4":"⊴","\u2951":"⥑","\u2960":"⥠","\u21BF":"↿","\u2958":"⥘","\u21BC":"↼","\u2952":"⥒","\u22DA":"⋚","\u2266":"≦","\u2276":"≶","\u2AA1":"⪡","\u2A7D":"⩽","\u2272":"≲","\u{1D50F}":"𝔏","\u22D8":"⋘","\u21DA":"⇚",\u013F:"Ŀ","\u27F5":"⟵","\u27F7":"⟷","\u27F6":"⟶","\u{1D543}":"𝕃","\u2199":"↙","\u2198":"↘","\u21B0":"↰",\u0141:"Ł","\u226A":"≪","\u2905":"⤅",\u041C:"М","\u205F":" ",\u2133:"ℳ","\u{1D510}":"𝔐","\u2213":"∓","\u{1D544}":"𝕄",\u039C:"Μ",\u040A:"Њ",\u0143:"Ń",\u0147:"Ň",\u0145:"Ņ",\u041D:"Н","\u200B":"​","\n":"
","\u{1D511}":"𝔑","\u2060":"⁠","\xA0":" ",\u2115:"ℕ","\u2AEC":"⫬","\u2262":"≢","\u226D":"≭","\u2226":"∦","\u2209":"∉","\u2260":"≠","\u2242\u0338":"≂̸","\u2204":"∄","\u226F":"≯","\u2271":"≱","\u2267\u0338":"≧̸","\u226B\u0338":"≫̸","\u2279":"≹","\u2A7E\u0338":"⩾̸","\u2275":"≵","\u224E\u0338":"≎̸","\u224F\u0338":"≏̸","\u22EA":"⋪","\u29CF\u0338":"⧏̸","\u22EC":"⋬","\u226E":"≮","\u2270":"≰","\u2278":"≸","\u226A\u0338":"≪̸","\u2A7D\u0338":"⩽̸","\u2274":"≴","\u2AA2\u0338":"⪢̸","\u2AA1\u0338":"⪡̸","\u2280":"⊀","\u2AAF\u0338":"⪯̸","\u22E0":"⋠","\u220C":"∌","\u22EB":"⋫","\u29D0\u0338":"⧐̸","\u22ED":"⋭","\u228F\u0338":"⊏̸","\u22E2":"⋢","\u2290\u0338":"⊐̸","\u22E3":"⋣","\u2282\u20D2":"⊂⃒","\u2288":"⊈","\u2281":"⊁","\u2AB0\u0338":"⪰̸","\u22E1":"⋡","\u227F\u0338":"≿̸","\u2283\u20D2":"⊃⃒","\u2289":"⊉","\u2241":"≁","\u2244":"≄","\u2247":"≇","\u2249":"≉","\u2224":"∤","\u{1D4A9}":"𝒩",\u00D1:"Ñ",\u039D:"Ν",\u0152:"Œ",\u00D3:"Ó",\u00D4:"Ô",\u041E:"О",\u0150:"Ő","\u{1D512}":"𝔒",\u00D2:"Ò",\u014C:"Ō",\u03A9:"Ω",\u039F:"Ο","\u{1D546}":"𝕆","\u201C":"“","\u2018":"‘","\u2A54":"⩔","\u{1D4AA}":"𝒪",\u00D8:"Ø",\u00D5:"Õ","\u2A37":"⨷",\u00D6:"Ö","\u203E":"‾","\u23DE":"⏞","\u23B4":"⎴","\u23DC":"⏜","\u2202":"∂",\u041F:"П","\u{1D513}":"𝔓",\u03A6:"Φ",\u03A0:"Π","\xB1":"±",\u2119:"ℙ","\u2ABB":"⪻","\u227A":"≺","\u2AAF":"⪯","\u227C":"≼","\u227E":"≾","\u2033":"″","\u220F":"∏","\u221D":"∝","\u{1D4AB}":"𝒫",\u03A8:"Ψ",'"':""","\u{1D514}":"𝔔",\u211A:"ℚ","\u{1D4AC}":"𝒬","\u2910":"⤐","\xAE":"®",\u0154:"Ŕ","\u27EB":"⟫","\u21A0":"↠","\u2916":"⤖",\u0158:"Ř",\u0156:"Ŗ",\u0420:"Р",\u211C:"ℜ","\u220B":"∋","\u21CB":"⇋","\u296F":"⥯",\u03A1:"Ρ","\u27E9":"⟩","\u2192":"→","\u21E5":"⇥","\u21C4":"⇄","\u2309":"⌉","\u27E7":"⟧","\u295D":"⥝","\u21C2":"⇂","\u2955":"⥕","\u230B":"⌋","\u22A2":"⊢","\u21A6":"↦","\u295B":"⥛","\u22B3":"⊳","\u29D0":"⧐","\u22B5":"⊵","\u294F":"⥏","\u295C":"⥜","\u21BE":"↾","\u2954":"⥔","\u21C0":"⇀","\u2953":"⥓",\u211D:"ℝ","\u2970":"⥰","\u21DB":"⇛",\u211B:"ℛ","\u21B1":"↱","\u29F4":"⧴",\u0429:"Щ",\u0428:"Ш",\u042C:"Ь",\u015A:"Ś","\u2ABC":"⪼",\u0160:"Š",\u015E:"Ş",\u015C:"Ŝ",\u0421:"С","\u{1D516}":"𝔖","\u2191":"↑",\u03A3:"Σ","\u2218":"∘","\u{1D54A}":"𝕊","\u221A":"√","\u25A1":"□","\u2293":"⊓","\u228F":"⊏","\u2291":"⊑","\u2290":"⊐","\u2292":"⊒","\u2294":"⊔","\u{1D4AE}":"𝒮","\u22C6":"⋆","\u22D0":"⋐","\u2286":"⊆","\u227B":"≻","\u2AB0":"⪰","\u227D":"≽","\u227F":"≿","\u2211":"∑","\u22D1":"⋑","\u2283":"⊃","\u2287":"⊇",\u00DE:"Þ","\u2122":"™",\u040B:"Ћ",\u0426:"Ц"," ":"	",\u03A4:"Τ",\u0164:"Ť",\u0162:"Ţ",\u0422:"Т","\u{1D517}":"𝔗","\u2234":"∴",\u0398:"Θ","\u205F\u200A":"  ","\u2009":" ","\u223C":"∼","\u2243":"≃","\u2245":"≅","\u2248":"≈","\u{1D54B}":"𝕋","\u20DB":"⃛","\u{1D4AF}":"𝒯",\u0166:"Ŧ",\u00DA:"Ú","\u219F":"↟","\u2949":"⥉",\u040E:"Ў",\u016C:"Ŭ",\u00DB:"Û",\u0423:"У",\u0170:"Ű","\u{1D518}":"𝔘",\u00D9:"Ù",\u016A:"Ū",_:"_","\u23DF":"⏟","\u23B5":"⎵","\u23DD":"⏝","\u22C3":"⋃","\u228E":"⊎",\u0172:"Ų","\u{1D54C}":"𝕌","\u2912":"⤒","\u21C5":"⇅","\u2195":"↕","\u296E":"⥮","\u22A5":"⊥","\u21A5":"↥","\u2196":"↖","\u2197":"↗",\u03D2:"ϒ",\u03A5:"Υ",\u016E:"Ů","\u{1D4B0}":"𝒰",\u0168:"Ũ",\u00DC:"Ü","\u22AB":"⊫","\u2AEB":"⫫",\u0412:"В","\u22A9":"⊩","\u2AE6":"⫦","\u22C1":"⋁","\u2016":"‖","\u2223":"∣","|":"|","\u2758":"❘","\u2240":"≀","\u200A":" ","\u{1D519}":"𝔙","\u{1D54D}":"𝕍","\u{1D4B1}":"𝒱","\u22AA":"⊪",\u0174:"Ŵ","\u22C0":"⋀","\u{1D51A}":"𝔚","\u{1D54E}":"𝕎","\u{1D4B2}":"𝒲","\u{1D51B}":"𝔛",\u039E:"Ξ","\u{1D54F}":"𝕏","\u{1D4B3}":"𝒳",\u042F:"Я",\u0407:"Ї",\u042E:"Ю",\u00DD:"Ý",\u0176:"Ŷ",\u042B:"Ы","\u{1D51C}":"𝔜","\u{1D550}":"𝕐","\u{1D4B4}":"𝒴",\u0178:"Ÿ",\u0416:"Ж",\u0179:"Ź",\u017D:"Ž",\u0417:"З",\u017B:"Ż",\u0396:"Ζ",\u2128:"ℨ",\u2124:"ℤ","\u{1D4B5}":"𝒵",\u00E1:"á",\u0103:"ă","\u223E":"∾","\u223E\u0333":"∾̳","\u223F":"∿",\u00E2:"â",\u0430:"а",\u00E6:"æ","\u{1D51E}":"𝔞",\u00E0:"à",\u2135:"ℵ",\u03B1:"α",\u0101:"ā","\u2A3F":"⨿","\u2227":"∧","\u2A55":"⩕","\u2A5C":"⩜","\u2A58":"⩘","\u2A5A":"⩚","\u2220":"∠","\u29A4":"⦤","\u2221":"∡","\u29A8":"⦨","\u29A9":"⦩","\u29AA":"⦪","\u29AB":"⦫","\u29AC":"⦬","\u29AD":"⦭","\u29AE":"⦮","\u29AF":"⦯","\u221F":"∟","\u22BE":"⊾","\u299D":"⦝","\u2222":"∢","\u237C":"⍼",\u0105:"ą","\u{1D552}":"𝕒","\u2A70":"⩰","\u2A6F":"⩯","\u224A":"≊","\u224B":"≋","'":"'",\u00E5:"å","\u{1D4B6}":"𝒶","*":"*",\u00E3:"ã",\u00E4:"ä","\u2A11":"⨑","\u2AED":"⫭","\u224C":"≌","\u03F6":"϶","\u2035":"‵","\u223D":"∽","\u22CD":"⋍","\u22BD":"⊽","\u2305":"⌅","\u23B6":"⎶",\u0431:"б","\u201E":"„","\u29B0":"⦰",\u03B2:"β",\u2136:"ℶ","\u226C":"≬","\u{1D51F}":"𝔟","\u25EF":"◯","\u2A00":"⨀","\u2A01":"⨁","\u2A02":"⨂","\u2A06":"⨆","\u2605":"★","\u25BD":"▽","\u25B3":"△","\u2A04":"⨄","\u290D":"⤍","\u29EB":"⧫","\u25B4":"▴","\u25BE":"▾","\u25C2":"◂","\u25B8":"▸","\u2423":"␣","\u2592":"▒","\u2591":"░","\u2593":"▓","\u2588":"█","=\u20E5":"=⃥","\u2261\u20E5":"≡⃥","\u2310":"⌐","\u{1D553}":"𝕓","\u22C8":"⋈","\u2557":"╗","\u2554":"╔","\u2556":"╖","\u2553":"╓","\u2550":"═","\u2566":"╦","\u2569":"╩","\u2564":"╤","\u2567":"╧","\u255D":"╝","\u255A":"╚","\u255C":"╜","\u2559":"╙","\u2551":"║","\u256C":"╬","\u2563":"╣","\u2560":"╠","\u256B":"╫","\u2562":"╢","\u255F":"╟","\u29C9":"⧉","\u2555":"╕","\u2552":"╒","\u2510":"┐","\u250C":"┌","\u2565":"╥","\u2568":"╨","\u252C":"┬","\u2534":"┴","\u229F":"⊟","\u229E":"⊞","\u22A0":"⊠","\u255B":"╛","\u2558":"╘","\u2518":"┘","\u2514":"└","\u2502":"│","\u256A":"╪","\u2561":"╡","\u255E":"╞","\u253C":"┼","\u2524":"┤","\u251C":"├","\xA6":"¦","\u{1D4B7}":"𝒷","\u204F":"⁏","\\":"\","\u29C5":"⧅","\u27C8":"⟈","\u2022":"•","\u2AAE":"⪮",\u0107:"ć","\u2229":"∩","\u2A44":"⩄","\u2A49":"⩉","\u2A4B":"⩋","\u2A47":"⩇","\u2A40":"⩀","\u2229\uFE00":"∩︀","\u2041":"⁁","\u2A4D":"⩍",\u010D:"č",\u00E7:"ç",\u0109:"ĉ","\u2A4C":"⩌","\u2A50":"⩐",\u010B:"ċ","\u29B2":"⦲","\xA2":"¢","\u{1D520}":"𝔠",\u0447:"ч","\u2713":"✓",\u03C7:"χ","\u25CB":"○","\u29C3":"⧃","\u02C6":"ˆ","\u2257":"≗","\u21BA":"↺","\u21BB":"↻","\u24C8":"Ⓢ","\u229B":"⊛","\u229A":"⊚","\u229D":"⊝","\u2A10":"⨐","\u2AEF":"⫯","\u29C2":"⧂","\u2663":"♣",":":":",",":",","@":"@","\u2201":"∁","\u2A6D":"⩭","\u{1D554}":"𝕔","\u2117":"℗","\u21B5":"↵","\u2717":"✗","\u{1D4B8}":"𝒸","\u2ACF":"⫏","\u2AD1":"⫑","\u2AD0":"⫐","\u2AD2":"⫒","\u22EF":"⋯","\u2938":"⤸","\u2935":"⤵","\u22DE":"⋞","\u22DF":"⋟","\u21B6":"↶","\u293D":"⤽","\u222A":"∪","\u2A48":"⩈","\u2A46":"⩆","\u2A4A":"⩊","\u228D":"⊍","\u2A45":"⩅","\u222A\uFE00":"∪︀","\u21B7":"↷","\u293C":"⤼","\u22CE":"⋎","\u22CF":"⋏","\xA4":"¤","\u2231":"∱","\u232D":"⌭","\u2965":"⥥","\u2020":"†",\u2138:"ℸ","\u2010":"‐","\u290F":"⤏",\u010F:"ď",\u0434:"д","\u21CA":"⇊","\u2A77":"⩷","\xB0":"°",\u03B4:"δ","\u29B1":"⦱","\u297F":"⥿","\u{1D521}":"𝔡","\u2666":"♦",\u03DD:"ϝ","\u22F2":"⋲","\xF7":"÷","\u22C7":"⋇",\u0452:"ђ","\u231E":"⌞","\u230D":"⌍",$:"$","\u{1D555}":"𝕕","\u2251":"≑","\u2238":"∸","\u2214":"∔","\u22A1":"⊡","\u231F":"⌟","\u230C":"⌌","\u{1D4B9}":"𝒹",\u0455:"ѕ","\u29F6":"⧶",\u0111:"đ","\u22F1":"⋱","\u25BF":"▿","\u29A6":"⦦",\u045F:"џ","\u27FF":"⟿",\u00E9:"é","\u2A6E":"⩮",\u011B:"ě","\u2256":"≖",\u00EA:"ê","\u2255":"≕",\u044D:"э",\u0117:"ė","\u2252":"≒","\u{1D522}":"𝔢","\u2A9A":"⪚",\u00E8:"è","\u2A96":"⪖","\u2A98":"⪘","\u2A99":"⪙","\u23E7":"⏧",\u2113:"ℓ","\u2A95":"⪕","\u2A97":"⪗",\u0113:"ē","\u2205":"∅","\u2004":" ","\u2005":" ","\u2003":" ",\u014B:"ŋ","\u2002":" ",\u0119:"ę","\u{1D556}":"𝕖","\u22D5":"⋕","\u29E3":"⧣","\u2A71":"⩱",\u03B5:"ε","\u03F5":"ϵ","=":"=","\u225F":"≟","\u2A78":"⩸","\u29E5":"⧥","\u2253":"≓","\u2971":"⥱",\u212F:"ℯ",\u03B7:"η",\u00F0:"ð",\u00EB:"ë","\u20AC":"€","!":"!",\u0444:"ф","\u2640":"♀",\uFB03:"ffi",\uFB00:"ff",\uFB04:"ffl","\u{1D523}":"𝔣",\uFB01:"fi",fj:"fj","\u266D":"♭",\uFB02:"fl","\u25B1":"▱",\u0192:"ƒ","\u{1D557}":"𝕗","\u22D4":"⋔","\u2AD9":"⫙","\u2A0D":"⨍","\xBD":"½","\u2153":"⅓","\xBC":"¼","\u2155":"⅕","\u2159":"⅙","\u215B":"⅛","\u2154":"⅔","\u2156":"⅖","\xBE":"¾","\u2157":"⅗","\u215C":"⅜","\u2158":"⅘","\u215A":"⅚","\u215D":"⅝","\u215E":"⅞","\u2044":"⁄","\u2322":"⌢","\u{1D4BB}":"𝒻","\u2A8C":"⪌",\u01F5:"ǵ",\u03B3:"γ","\u2A86":"⪆",\u011F:"ğ",\u011D:"ĝ",\u0433:"г",\u0121:"ġ","\u2AA9":"⪩","\u2A80":"⪀","\u2A82":"⪂","\u2A84":"⪄","\u22DB\uFE00":"⋛︀","\u2A94":"⪔","\u{1D524}":"𝔤",\u2137:"ℷ",\u0453:"ѓ","\u2A92":"⪒","\u2AA5":"⪥","\u2AA4":"⪤","\u2269":"≩","\u2A8A":"⪊","\u2A88":"⪈","\u22E7":"⋧","\u{1D558}":"𝕘",\u210A:"ℊ","\u2A8E":"⪎","\u2A90":"⪐","\u2AA7":"⪧","\u2A7A":"⩺","\u22D7":"⋗","\u2995":"⦕","\u2A7C":"⩼","\u2978":"⥸","\u2269\uFE00":"≩︀",\u044A:"ъ","\u2948":"⥈","\u21AD":"↭",\u210F:"ℏ",\u0125:"ĥ","\u2665":"♥","\u2026":"…","\u22B9":"⊹","\u{1D525}":"𝔥","\u2925":"⤥","\u2926":"⤦","\u21FF":"⇿","\u223B":"∻","\u21A9":"↩","\u21AA":"↪","\u{1D559}":"𝕙","\u2015":"―","\u{1D4BD}":"𝒽",\u0127:"ħ","\u2043":"⁃",\u00ED:"í",\u00EE:"î",\u0438:"и",\u0435:"е","\xA1":"¡","\u{1D526}":"𝔦",\u00EC:"ì","\u2A0C":"⨌","\u222D":"∭","\u29DC":"⧜","\u2129":"℩",\u0133:"ij",\u012B:"ī",\u0131:"ı","\u22B7":"⊷",\u01B5:"Ƶ","\u2105":"℅","\u221E":"∞","\u29DD":"⧝","\u22BA":"⊺","\u2A17":"⨗","\u2A3C":"⨼",\u0451:"ё",\u012F:"į","\u{1D55A}":"𝕚",\u03B9:"ι","\xBF":"¿","\u{1D4BE}":"𝒾","\u22F9":"⋹","\u22F5":"⋵","\u22F4":"⋴","\u22F3":"⋳",\u0129:"ĩ",\u0456:"і",\u00EF:"ï",\u0135:"ĵ",\u0439:"й","\u{1D527}":"𝔧","\u0237":"ȷ","\u{1D55B}":"𝕛","\u{1D4BF}":"𝒿",\u0458:"ј",\u0454:"є",\u03BA:"κ",\u03F0:"ϰ",\u0137:"ķ",\u043A:"к","\u{1D528}":"𝔨",\u0138:"ĸ",\u0445:"х",\u045C:"ќ","\u{1D55C}":"𝕜","\u{1D4C0}":"𝓀","\u291B":"⤛","\u290E":"⤎","\u2A8B":"⪋","\u2962":"⥢",\u013A:"ĺ","\u29B4":"⦴",\u03BB:"λ","\u2991":"⦑","\u2A85":"⪅","\xAB":"«","\u291F":"⤟","\u291D":"⤝","\u21AB":"↫","\u2939":"⤹","\u2973":"⥳","\u21A2":"↢","\u2AAB":"⪫","\u2919":"⤙","\u2AAD":"⪭","\u2AAD\uFE00":"⪭︀","\u290C":"⤌","\u2772":"❲","{":"{","[":"[","\u298B":"⦋","\u298F":"⦏","\u298D":"⦍",\u013E:"ľ",\u013C:"ļ",\u043B:"л","\u2936":"⤶","\u2967":"⥧","\u294B":"⥋","\u21B2":"↲","\u2264":"≤","\u21C7":"⇇","\u22CB":"⋋","\u2AA8":"⪨","\u2A7F":"⩿","\u2A81":"⪁","\u2A83":"⪃","\u22DA\uFE00":"⋚︀","\u2A93":"⪓","\u22D6":"⋖","\u297C":"⥼","\u{1D529}":"𝔩","\u2A91":"⪑","\u296A":"⥪","\u2584":"▄",\u0459:"љ","\u296B":"⥫","\u25FA":"◺",\u0140:"ŀ","\u23B0":"⎰","\u2268":"≨","\u2A89":"⪉","\u2A87":"⪇","\u22E6":"⋦","\u27EC":"⟬","\u21FD":"⇽","\u27FC":"⟼","\u21AC":"↬","\u2985":"⦅","\u{1D55D}":"𝕝","\u2A2D":"⨭","\u2A34":"⨴","\u2217":"∗","\u25CA":"◊","(":"(","\u2993":"⦓","\u296D":"⥭","\u200E":"‎","\u22BF":"⊿","\u2039":"‹","\u{1D4C1}":"𝓁","\u2A8D":"⪍","\u2A8F":"⪏","\u201A":"‚",\u0142:"ł","\u2AA6":"⪦","\u2A79":"⩹","\u22C9":"⋉","\u2976":"⥶","\u2A7B":"⩻","\u2996":"⦖","\u25C3":"◃","\u294A":"⥊","\u2966":"⥦","\u2268\uFE00":"≨︀","\u223A":"∺","\xAF":"¯","\u2642":"♂","\u2720":"✠","\u25AE":"▮","\u2A29":"⨩",\u043C:"м","\u2014":"—","\u{1D52A}":"𝔪","\u2127":"℧",\u00B5:"µ","\u2AF0":"⫰","\u2212":"−","\u2A2A":"⨪","\u2ADB":"⫛","\u22A7":"⊧","\u{1D55E}":"𝕞","\u{1D4C2}":"𝓂",\u03BC:"μ","\u22B8":"⊸","\u22D9\u0338":"⋙̸","\u226B\u20D2":"≫⃒","\u21CD":"⇍","\u21CE":"⇎","\u22D8\u0338":"⋘̸","\u226A\u20D2":"≪⃒","\u21CF":"⇏","\u22AF":"⊯","\u22AE":"⊮",\u0144:"ń","\u2220\u20D2":"∠⃒","\u2A70\u0338":"⩰̸","\u224B\u0338":"≋̸",\u0149:"ʼn","\u266E":"♮","\u2A43":"⩃",\u0148:"ň",\u0146:"ņ","\u2A6D\u0338":"⩭̸","\u2A42":"⩂",\u043D:"н","\u2013":"–","\u21D7":"⇗","\u2924":"⤤","\u2250\u0338":"≐̸","\u2928":"⤨","\u{1D52B}":"𝔫","\u21AE":"↮","\u2AF2":"⫲","\u22FC":"⋼","\u22FA":"⋺",\u045A:"њ","\u2266\u0338":"≦̸","\u219A":"↚","\u2025":"‥","\u{1D55F}":"𝕟","\xAC":"¬","\u22F9\u0338":"⋹̸","\u22F5\u0338":"⋵̸","\u22F7":"⋷","\u22F6":"⋶","\u22FE":"⋾","\u22FD":"⋽","\u2AFD\u20E5":"⫽⃥","\u2202\u0338":"∂̸","\u2A14":"⨔","\u219B":"↛","\u2933\u0338":"⤳̸","\u219D\u0338":"↝̸","\u{1D4C3}":"𝓃","\u2284":"⊄","\u2AC5\u0338":"⫅̸","\u2285":"⊅","\u2AC6\u0338":"⫆̸",\u00F1:"ñ",\u03BD:"ν","#":"#","\u2116":"№","\u2007":" ","\u22AD":"⊭","\u2904":"⤄","\u224D\u20D2":"≍⃒","\u22AC":"⊬","\u2265\u20D2":"≥⃒",">\u20D2":">⃒","\u29DE":"⧞","\u2902":"⤂","\u2264\u20D2":"≤⃒","<\u20D2":"<⃒","\u22B4\u20D2":"⊴⃒","\u2903":"⤃","\u22B5\u20D2":"⊵⃒","\u223C\u20D2":"∼⃒","\u21D6":"⇖","\u2923":"⤣","\u2927":"⤧",\u00F3:"ó",\u00F4:"ô",\u043E:"о",\u0151:"ő","\u2A38":"⨸","\u29BC":"⦼",\u0153:"œ","\u29BF":"⦿","\u{1D52C}":"𝔬","\u02DB":"˛",\u00F2:"ò","\u29C1":"⧁","\u29B5":"⦵","\u29BE":"⦾","\u29BB":"⦻","\u29C0":"⧀",\u014D:"ō",\u03C9:"ω",\u03BF:"ο","\u29B6":"⦶","\u{1D560}":"𝕠","\u29B7":"⦷","\u29B9":"⦹","\u2228":"∨","\u2A5D":"⩝",\u2134:"ℴ",\u00AA:"ª",\u00BA:"º","\u22B6":"⊶","\u2A56":"⩖","\u2A57":"⩗","\u2A5B":"⩛",\u00F8:"ø","\u2298":"⊘",\u00F5:"õ","\u2A36":"⨶",\u00F6:"ö","\u233D":"⌽","\xB6":"¶","\u2AF3":"⫳","\u2AFD":"⫽",\u043F:"п","%":"%",".":".","\u2030":"‰","\u2031":"‱","\u{1D52D}":"𝔭",\u03C6:"φ",\u03D5:"ϕ","\u260E":"☎",\u03C0:"π",\u03D6:"ϖ",\u210E:"ℎ","+":"+","\u2A23":"⨣","\u2A22":"⨢","\u2A25":"⨥","\u2A72":"⩲","\u2A26":"⨦","\u2A27":"⨧","\u2A15":"⨕","\u{1D561}":"𝕡","\xA3":"£","\u2AB3":"⪳","\u2AB7":"⪷","\u2AB9":"⪹","\u2AB5":"⪵","\u22E8":"⋨","\u2032":"′","\u232E":"⌮","\u2312":"⌒","\u2313":"⌓","\u22B0":"⊰","\u{1D4C5}":"𝓅",\u03C8:"ψ","\u2008":" ","\u{1D52E}":"𝔮","\u{1D562}":"𝕢","\u2057":"⁗","\u{1D4C6}":"𝓆","\u2A16":"⨖","?":"?","\u291C":"⤜","\u2964":"⥤","\u223D\u0331":"∽̱",\u0155:"ŕ","\u29B3":"⦳","\u2992":"⦒","\u29A5":"⦥","\xBB":"»","\u2975":"⥵","\u2920":"⤠","\u2933":"⤳","\u291E":"⤞","\u2945":"⥅","\u2974":"⥴","\u21A3":"↣","\u219D":"↝","\u291A":"⤚","\u2236":"∶","\u2773":"❳","}":"}","]":"]","\u298C":"⦌","\u298E":"⦎","\u2990":"⦐",\u0159:"ř",\u0157:"ŗ",\u0440:"р","\u2937":"⤷","\u2969":"⥩","\u21B3":"↳","\u25AD":"▭","\u297D":"⥽","\u{1D52F}":"𝔯","\u296C":"⥬",\u03C1:"ρ",\u03F1:"ϱ","\u21C9":"⇉","\u22CC":"⋌","\u02DA":"˚","\u200F":"‏","\u23B1":"⎱","\u2AEE":"⫮","\u27ED":"⟭","\u21FE":"⇾","\u2986":"⦆","\u{1D563}":"𝕣","\u2A2E":"⨮","\u2A35":"⨵",")":")","\u2994":"⦔","\u2A12":"⨒","\u203A":"›","\u{1D4C7}":"𝓇","\u22CA":"⋊","\u25B9":"▹","\u29CE":"⧎","\u2968":"⥨","\u211E":"℞",\u015B:"ś","\u2AB4":"⪴","\u2AB8":"⪸",\u0161:"š",\u015F:"ş",\u015D:"ŝ","\u2AB6":"⪶","\u2ABA":"⪺","\u22E9":"⋩","\u2A13":"⨓",\u0441:"с","\u22C5":"⋅","\u2A66":"⩦","\u21D8":"⇘","\xA7":"§",";":";","\u2929":"⤩","\u2736":"✶","\u{1D530}":"𝔰","\u266F":"♯",\u0449:"щ",\u0448:"ш","\xAD":"­",\u03C3:"σ",\u03C2:"ς","\u2A6A":"⩪","\u2A9E":"⪞","\u2AA0":"⪠","\u2A9D":"⪝","\u2A9F":"⪟","\u2246":"≆","\u2A24":"⨤","\u2972":"⥲","\u2A33":"⨳","\u29E4":"⧤","\u2323":"⌣","\u2AAA":"⪪","\u2AAC":"⪬","\u2AAC\uFE00":"⪬︀",\u044C:"ь","/":"/","\u29C4":"⧄","\u233F":"⌿","\u{1D564}":"𝕤","\u2660":"♠","\u2293\uFE00":"⊓︀","\u2294\uFE00":"⊔︀","\u{1D4C8}":"𝓈","\u2606":"☆","\u2282":"⊂","\u2AC5":"⫅","\u2ABD":"⪽","\u2AC3":"⫃","\u2AC1":"⫁","\u2ACB":"⫋","\u228A":"⊊","\u2ABF":"⪿","\u2979":"⥹","\u2AC7":"⫇","\u2AD5":"⫕","\u2AD3":"⫓","\u266A":"♪","\xB9":"¹","\xB2":"²","\xB3":"³","\u2AC6":"⫆","\u2ABE":"⪾","\u2AD8":"⫘","\u2AC4":"⫄","\u27C9":"⟉","\u2AD7":"⫗","\u297B":"⥻","\u2AC2":"⫂","\u2ACC":"⫌","\u228B":"⊋","\u2AC0":"⫀","\u2AC8":"⫈","\u2AD4":"⫔","\u2AD6":"⫖","\u21D9":"⇙","\u292A":"⤪",\u00DF:"ß","\u2316":"⌖",\u03C4:"τ",\u0165:"ť",\u0163:"ţ",\u0442:"т","\u2315":"⌕","\u{1D531}":"𝔱",\u03B8:"θ",\u03D1:"ϑ",\u00FE:"þ","\xD7":"×","\u2A31":"⨱","\u2A30":"⨰","\u2336":"⌶","\u2AF1":"⫱","\u{1D565}":"𝕥","\u2ADA":"⫚","\u2034":"‴","\u25B5":"▵","\u225C":"≜","\u25EC":"◬","\u2A3A":"⨺","\u2A39":"⨹","\u29CD":"⧍","\u2A3B":"⨻","\u23E2":"⏢","\u{1D4C9}":"𝓉",\u0446:"ц",\u045B:"ћ",\u0167:"ŧ","\u2963":"⥣",\u00FA:"ú",\u045E:"ў",\u016D:"ŭ",\u00FB:"û",\u0443:"у",\u0171:"ű","\u297E":"⥾","\u{1D532}":"𝔲",\u00F9:"ù","\u2580":"▀","\u231C":"⌜","\u230F":"⌏","\u25F8":"◸",\u016B:"ū",\u0173:"ų","\u{1D566}":"𝕦",\u03C5:"υ","\u21C8":"⇈","\u231D":"⌝","\u230E":"⌎",\u016F:"ů","\u25F9":"◹","\u{1D4CA}":"𝓊","\u22F0":"⋰",\u0169:"ũ",\u00FC:"ü","\u29A7":"⦧","\u2AE8":"⫨","\u2AE9":"⫩","\u299C":"⦜","\u228A\uFE00":"⊊︀","\u2ACB\uFE00":"⫋︀","\u228B\uFE00":"⊋︀","\u2ACC\uFE00":"⫌︀",\u0432:"в","\u22BB":"⊻","\u225A":"≚","\u22EE":"⋮","\u{1D533}":"𝔳","\u{1D567}":"𝕧","\u{1D4CB}":"𝓋","\u299A":"⦚",\u0175:"ŵ","\u2A5F":"⩟","\u2259":"≙","\u2118":"℘","\u{1D534}":"𝔴","\u{1D568}":"𝕨","\u{1D4CC}":"𝓌","\u{1D535}":"𝔵",\u03BE:"ξ","\u22FB":"⋻","\u{1D569}":"𝕩","\u{1D4CD}":"𝓍",\u00FD:"ý",\u044F:"я",\u0177:"ŷ",\u044B:"ы","\xA5":"¥","\u{1D536}":"𝔶",\u0457:"ї","\u{1D56A}":"𝕪","\u{1D4CE}":"𝓎",\u044E:"ю",\u00FF:"ÿ",\u017A:"ź",\u017E:"ž",\u0437:"з",\u017C:"ż",\u03B6:"ζ","\u{1D537}":"𝔷",\u0436:"ж","\u21DD":"⇝","\u{1D56B}":"𝕫","\u{1D4CF}":"𝓏","\u200D":"‍","\u200C":"‌"}}};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: `+(
|
|
5
|
-
Column: `+(
|
|
6
|
-
Char: `+r
|
|
7
|
-
>/= `;function
|
|
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=
|
|
19
|
-
`)>=0,n+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?
|
|
20
|
-
`)+" "+
|
|
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
|